/*
 *             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 _0x13517b,Command as _0x15bad7,ContextPlugin as _0x13e428,Editor as _0xadff6a,PendingActions as _0x204cf0,Context as _0x2a94d7,ElementApiMixin as _0x2e191a}from'ckeditor5';import{uid as _0x5c5c0c,CKEditorError as _0x37fbfa,ObservableMixin as _0x20f52a,global as _0x4cdc9d,isVisible as _0x29b829,Rect as _0x1faa00,Collection as _0x4711ed,FocusTracker as _0x2c5be9,KeystrokeHandler as _0x5e251c,first as _0x556601,logWarning as _0xd86012,logError as _0x4b942a,toArray as _0x1cc600,EmitterMixin as _0x199f48,scrollViewportToShowTarget as _0x3cfeda,scrollAncestorsToShowTarget as _0x5a102d,ResizeObserver as _0x2e8e7a,_isMotionReduced as _0x4c714a,getConstrainedViewportRect as _0x2ea8a4,DomEmitterMixin as _0xa9fff4,diff as _0x367f1c,priorities as _0x244365,getEnvKeystrokeText as _0x37fc5a,toUnit as _0x4b9c16,keyCodes as _0x2faf62,diffToChanges as _0x129c48,collectStylesheets as _0x5e52ee,createElement as _0x2df385,env as _0x3ff8da,version as _0x4225cd,ElementReplacer as _0x333b5e,formatHtml as _0x4e540a,insertToPriorityArray as _0x24b377,getAncestors as _0x56e620}from'ckeditor5';import{ToolbarView as _0x1421bf,ButtonView as _0x2e803a,View as _0x3989d4,SpinnerView as _0x4341e6,IconView as _0x1bf0d6,AutocompleteView as _0xf4da9f,ListView as _0x3523c8,ListItemGroupView as _0x3a6dc5,ListItemView as _0x5d952b,ButtonLabelView as _0x2794a5,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 It,ButtonLabelWithHighlightView as St,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 _0x5071d2,IconError as _0xf250d9,IconSubmit as _0x108f32,IconAIHistory as _0x307ef9,IconMagicWand as _0x7b402a,IconRobotPencil as _0x53e4a9,IconMaximize as _0x3ff389,IconMinimize as _0x4066b2,IconNotification as _0x54c311,IconCancel as _0xfcb135,IconShowChangesOn as _0x1ddc5d,IconShowChangesOff as _0x5b7b98,IconDocument as _0x5312e4,IconBoxWithCross as _0xe1b286,IconBoxWithCheck as _0x9afa8a,IconBoxWithMarker as _0x454940,IconInfo as _0x5dd267,IconLoupe as _0xd1f022,IconStop as _0x4633c3,IconAIChat as _0x5956d6,IconPlus as _0x550d95,IconPin as _0xb7edeb,IconThreeHorizontalDots as _0x560ba7,IconChevronDown as _0x41df2a,IconChevronUp as _0x400d02,IconOutdated as _0x2a48ee,IconEye as _0x3e2118,IconEyeCrossedOut as _0x50a5cf,IconChevronRight as _0x6157f9,IconAIReview as _0x2c61e2,IconAITranslate as _0x5654e3,IconCaseChange as _0x3968cb,IconUndo as _0x108932,IconPencil as _0xdfd020,IconRemoveComment as _0x809ae0,IconThreeVerticalDots as _0x4d4368,IconAddComment as _0x45f4d3,IconCommentsArchive as _0x17a9cd,IconTableOfContents as _0x20010a,IconExportPdf as _0x49c938,IconExportWord as _0x38acca,IconFootnote as _0x4514b7,IconListStyleDecimal as _0x2840f3,IconListStyleDecimalLeadingZero as _0x2676b4,IconListStyleLowerRoman as _0x35fdfc,IconListStyleUpperRoman as _0x50a51a,IconListStyleLowerLatin as _0x2fb2d2,IconListStyleUpperLatin as _0x5553a0,IconPaintRoller as _0x16bc6a,IconImportWord as _0x237197,IconLineHeight as _0x2067a2,IconMultiLevelList as _0x996915,IconWarning as _0x14772e,IconInsertMergeField as ti,IconPreviewMergeFields as _0x46c28a,IconArrowDown as _0x5c43c2,IconArrowUp as _0x2e300f,IconHistory as _0x508169,IconUser as _0x132267,IconQuote as _0x2977b6,IconBulletedList as _0x31bc86,IconCodeBlock as _0x28e1b3,IconBrowseFiles as _0x4a50b2,IconEmoji as _0xce0b2d,IconHeading1 as _0x47a65b,IconHeading2 as _0x1df2b5,IconHeading3 as _0x4cb27b,IconHeading4 as _0x3b2e76,IconHeading5 as _0x580ed5,IconHeading6 as _0x582971,IconHorizontalLine as _0x3dd380,IconHtml as _0x30ec99,IconIndent as _0x1a9b66,IconTable as _0x4a7eeb,IconNumberedList as _0x3944cf,IconOutdent as _0x3ceabe,IconParagraph as _0x71061d,IconTodoList as _0x2dc865,IconPlay as _0x2ccb5d,IconSource as _0x247a61,IconTemplateGeneric as _0x4248c5,IconTemplate as _0x343174,IconTrackChanges as _0x159729,IconOneDrive as _0x514d48,IconGooglePhotos as _0x5d20df,IconGoogleDrive as _0x59f899,IconFacebook as _0xa95a7f,IconDropbox as _0x487398,IconUploadcareLink as _0x2d41f6,IconUploadcareImageUpload as _0xfaa207,IconUploadcareImageEdit as _0x5024b2}from'ckeditor5';import{setHighlightHandling as _0x50d3a3,toWidget as _0xc2ea3,Widget as _0x328795,isWidget as _0x398c4a,toWidgetEditable as _0x484d34,WidgetToolbarRepository as _0x2f3ac1,findOptimalInsertionRange as _0x32e69b,viewToModelPositionOutsideModelElement as _0x4ee198}from'ckeditor5';import{ViewDocumentDomEventData as _0x443eb2,ViewDataTransfer as _0x340090,ViewUpcastWriter as _0x1c5733,Matcher as _0x3ed30c,InsertOperation as _0x30aab9,MoveOperation as _0x5c8596,ModelPosition as _0xf95af9,ModelRange as _0x2ec072,MarkerOperation as ts,MergeOperation as _0xeeb5ef,SplitOperation as _0x48ab51,RenameOperation as _0x26c88b,AttributeOperation as _0x552d64,ModelTreeWalker as _0x4c94f6,ModelText as _0x57414b,_DetachOperation as _0x4cb24c,_insertIntoModelNodeList as _0x188ab1,_removeFromModelNodeList as _0x492918,transformOperationSets as _0x3c2044,ViewDowncastWriter as _0x12d7ae,ModelDocumentFragment as _0x507bef,disableViewPlaceholder as _0xd04637,enableViewPlaceholder as _0x25eb42,MouseObserver as _0x47c528,StylesMap as _0x20bc63,addMarginStylesRules as _0x497d06,addPaddingStylesRules as _0x95b6a2,PointerObserver as _0x2ed1f7,ClickObserver as _0x440095,isPercentageStyleValue as _0x419b17,ViewDocument as _0x49dc7a,ViewDomConverter as _0x42eed5,ModelLiveRange as _0x19f373,History as _0x139706,NoOperation as _0x3a8aa4,RootAttributeOperation as _0x5591ba,OperationFactory as _0x299295,ViewContainerElement as _0x22f8cc,ViewAttributeElement as _0x5b02b1,ViewEmptyElement as _0x5b7dc3,ViewRawElement as _0x249daf,ViewUIElement as _0x32095c,ViewDocumentFragment as _0x96933,ViewText as _0x3a30ad,ViewElement as _0x790716,ModelElement as _0x23e369,ModelLivePosition as _0x4ec256}from'ckeditor5';import{ClipboardPipeline as _0x3c05db,ClipboardMarkersUtils as _0x5708d5,Clipboard as _0x470e90}from'ckeditor5';import{Enter as _0x42baeb,ShiftEnter as _0x34a1a7}from'ckeditor5';import{SelectAll as _0x1561d9}from'ckeditor5';import{Typing as _0x27fd0a,Delete as _0x229d51,Input as _0xa89161}from'ckeditor5';import{Undo as _0x428d48}from'ckeditor5';import{Paragraph as _0x27f403}from'ckeditor5';import{PasteFromOfficeMSWordNormalizer as _0x573809,parsePasteOfficeHtml as _0x34fb9f}from'ckeditor5';import{MarkdownGfmMdToHtml as _0x44790a}from'ckeditor5';import{IconWeb as _0x26db1d,IconClose as tn,IconDocument as _0x434c49,IconSelection as _0x7b31dd,IconFileUpload as _0x1045db,IconLink as _0x339631,IconBulb as _0x5f199c,IconAI as _0xe2047f,IconPreviousArrow as _0xf6132a,IconCheck as _0x44439c,IconDocumentOutline as _0x2dfe3b,IconPaperClip as _0x10af27,IconBrowseFiles as _0x3eb467,IconDropdownArrow as _0x2ccc03,IconAIChat as _0x1e9dba,IconAIReview as _0x3e6f85,IconAITranslate as _0xf8d126,IconAIAskAI as _0x1e1b88,IconThumbUp as _0x898be2,IconThumbDown as _0x502cd6,IconCopy as _0x35c576,IconShowChangesOff as _0x4fa939,IconShowChangesOn as _0x229bfa,IconAIQuickActions as _0x1ec297,IconAIChatCommands as _0x21bf3f,IconAIImproveWriting as _0x4ccc2c,IconAIContinueWriting as _0x35e76f,IconAIGrammarCheck as _0x1b6b07,IconAIAdjustLength as _0x24ad34,IconAIChangeTone as _0x3b7dcc,IconAIOther as _0x14003b,IconRefresh as _0x327cfc,IconNextArrow as _0x2dccf8}from'ckeditor5';import{EmitterMixin as _0xf8084e,ObservableMixin as _0x487f8a,priorities as _0x1a48f1,global as _0x17b04c,Collection as _0x28887d}from'ckeditor5';import{FileRepository as _0x5d9236}from'ckeditor5';const Vn='_ungrouppedCommands';function Un(_0x467406,_0x2fb469){const _0x484422=(0x0,_0x2fb469['t'])('Other');return _0x467406['length']?'groupId'in _0x467406[0x0]?_0x467406:[{'groupId':Vn,'groupLabel':_0x484422,'order':0x1/0x0,'commands':_0x467406}]:[{'groupId':Vn,'groupLabel':_0x484422,'order':0x1/0x0,'commands':[]}];}const Bn=globalThis['DataTransfer'],Fn='ai-ui';class AIAssistantEditing extends _0x13517b{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x272c3e}=this,_0x463ffa=['ck-fake-ai-selection'];_0x272c3e['config']['get']('ai.assistant.useTheme')&&_0x463ffa['push']('ck-ai-assistant-ui_theme'),_0x272c3e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Fn,'view':{'classes':_0x463ffa,'priority':0xc}}),_0x272c3e['conversion']['for']('editingDowncast')['markerToElement']({'model':Fn,'view':(_0x38a9aa,{writer:_0x9805ed})=>{if(!_0x38a9aa['markerRange']['isCollapsed'])return null;const _0x1d46e0=_0x9805ed['createUIElement']('span');return _0x9805ed['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x1d46e0),_0x1d46e0;}});}['afterInit'](){!async function(_0x56de9c){const _0xdb6431=_0x4ca645([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]),_0x454295=0x3dffc4e1,_0x35e9ce=0x3df84b21^_0x454295,_0x3b5d04=window[_0x4ca645([0x44,0x61,0x74,0x65])][_0x4ca645([0x6e,0x6f,0x77])](),_0x2bd7a6=_0x56de9c[_0x4ca645([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5442c9=new window[(_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xebc27f=>{_0x2bd7a6[_0x4ca645([0x6f,0x6e,0x63,0x65])](_0x4ca645([0x72,0x65,0x61,0x64,0x79]),_0xebc27f);}),_0x348402={[_0x4ca645([0x6b,0x74,0x79])]:_0x4ca645([0x45,0x43]),[_0x4ca645([0x75,0x73,0x65])]:_0x4ca645([0x73,0x69,0x67]),[_0x4ca645([0x63,0x72,0x76])]:_0x4ca645([0x50,0x2d,0x32,0x35,0x36]),[_0x4ca645([0x78])]:_0x4ca645([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]),[_0x4ca645([0x79])]:_0x4ca645([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]),[_0x4ca645([0x61,0x6c,0x67])]:_0x4ca645([0x45,0x53,0x32,0x35,0x36])},_0x5b9dc7=_0x2bd7a6[_0x4ca645([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ca645([0x67,0x65,0x74])](_0x4ca645([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6c711d(){let _0x51cb42,_0x130e62=null,_0x378447=null;try{if(_0x5b9dc7==_0x4ca645([0x47,0x50,0x4c]))return _0x4ca645([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51cb42=_0x1ec356(),!_0x51cb42)return _0x4ca645([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51cb42[_0x4ca645([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x378447=_0x2b653e(_0x51cb42[_0x4ca645([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51cb42[_0x4ca645([0x6a,0x74,0x69])])),await _0x47b960()?_0x8b9b70()?_0xea53cb()?_0x4ca645([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36bf3d()?(_0x51cb42[_0x4ca645([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ca645([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x130e62=_0x209db8(_0x4ca645([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48c759()):_0x4ca645([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ca645([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ca645([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ca645([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xea53cb(){const _0x1ff920=[_0x4ca645([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ca645([0x74,0x72,0x69,0x61,0x6c])][_0x4ca645([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51cb42[_0x4ca645([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b5d04/0x3e8:0xe10*_0x35e9ce;return _0x51cb42[_0x4ca645([0x65,0x78,0x70])]<_0x1ff920;}function _0x8b9b70(){const _0x30b266=_0x51cb42[_0x4ca645([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30b266&&(!!_0x30b266[_0x4ca645([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca645([0x2a]))||!!_0x30b266[_0x4ca645([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca645([0x41,0x49])));}function _0x36bf3d(){const _0xb2c500=_0x51cb42[_0x4ca645([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb2c500||0x0==_0xb2c500[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b6c7}=new URL(window[_0x4ca645([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb2c500[_0x4ca645([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b6c7))return!0x0;const _0x5371ee=_0x35b6c7[_0x4ca645([0x73,0x70,0x6c,0x69,0x74])](_0x4ca645([0x2e]));return _0xb2c500[_0x4ca645([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43dc62=>_0x43dc62[_0x4ca645([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ca645([0x2a])))[_0x4ca645([0x6d,0x61,0x70])](_0x4fba85=>_0x4fba85[_0x4ca645([0x73,0x70,0x6c,0x69,0x74])](_0x4ca645([0x2e])))[_0x4ca645([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44d8ff=>_0x44d8ff[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5371ee[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ca645([0x6d,0x61,0x70])](_0x425fa6=>Array(_0x5371ee[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x425fa6[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ca645([0x66,0x69,0x6c,0x6c])](_0x425fa6[0x0]===_0x4ca645([0x2a])?_0x4ca645([0x2a]):'')[_0x4ca645([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x425fa6))[_0x4ca645([0x73,0x6f,0x6d,0x65])](_0x313f50=>_0x5371ee[_0x4ca645([0x65,0x76,0x65,0x72,0x79])]((_0x195d4a,_0x1846c4)=>_0x313f50[_0x1846c4]===_0x195d4a||_0x313f50[_0x1846c4]===_0x4ca645([0x2a])));}function _0x48c759(){return _0x130e62&&_0x378447?new window[(_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ef5af,_0x555326)=>{_0x130e62[_0x4ca645([0x74,0x68,0x65,0x6e])](_0x3ef5af,_0x555326),_0x378447[_0x4ca645([0x74,0x68,0x65,0x6e])](_0x5c87b3=>{_0x5c87b3!=_0x4ca645([0x56,0x61,0x6c,0x69,0x64])&&_0x3ef5af(_0x5c87b3);},_0x555326);}):_0x130e62||_0x378447||_0x4ca645([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b653e(_0x5f22dd,_0x1bec65){return new window[(_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3fd9=>{if(_0x5a0489())return _0x2a3fd9(_0x4ca645([0x56,0x61,0x6c,0x69,0x64]));_0x3a32b9(),_0x2bd7a6[_0x4ca645([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ca645([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x436608=!0x1;const _0x3a7e6c=_0x5c5c0c();function _0x49193f(_0x25e5b1){return!!_0x25e5b1&&(typeof _0x25e5b1===_0x4ca645([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25e5b1===_0x4ca645([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25e5b1[_0x4ca645([0x74,0x68,0x65,0x6e])]===_0x4ca645([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25e5b1[_0x4ca645([0x63,0x61,0x74,0x63,0x68])]===_0x4ca645([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a5834(_0x561f84){_0x143fbe(_0x561f84)[_0x4ca645([0x74,0x68,0x65,0x6e])](_0x4d2abd=>{if(!_0x4d2abd||_0x4d2abd[_0x4ca645([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ca645([0x6f,0x6b]))return _0x4ca645([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22e4be(_0x7638cb(_0x3a7e6c+_0x1bec65))!=_0x4d2abd[_0x4ca645([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ca645([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ca645([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ca645([0x74,0x68,0x65,0x6e])](_0x31202b=>(_0x34cabb(),_0x31202b),()=>{const _0x2b44ec=_0x4eadfd();return null==_0x2b44ec?(_0x34cabb(),_0x4ca645([0x56,0x61,0x6c,0x69,0x64])):_0x4ca645(_0x3b5d04-_0x2b44ec>(0x19f340e1^_0x454295)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ca645([0x74,0x68,0x65,0x6e])](_0x2a3fd9)[_0x4ca645([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a3fd9(_0x4ca645([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a462e=0x3dc92a61^_0x454295;function _0x34cabb(){const _0x18e3ab=_0x4ca645([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e4be(_0x7638cb(_0x5f22dd)),_0x59516a=_0x48710f(_0x22e4be(window[_0x4ca645([0x4d,0x61,0x74,0x68])][_0x4ca645([0x63,0x65,0x69,0x6c])](_0x3b5d04/_0x3a462e)));window[_0x4ca645([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ca645([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18e3ab,_0x59516a);}function _0x4eadfd(){const _0x3c07f6=_0x4ca645([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e4be(_0x7638cb(_0x5f22dd)),_0x3a1ebb=window[_0x4ca645([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ca645([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c07f6);return _0x3a1ebb?window[_0x4ca645([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48710f(_0x3a1ebb),0x10)*_0x3a462e:null;}function _0x143fbe(_0x3a4e30){return new window[(_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x465406,_0x51daaf)=>{_0x3a4e30[_0x4ca645([0x74,0x68,0x65,0x6e])](_0x465406,_0x51daaf),window[_0x4ca645([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51daaf,0x3dfe1021^_0x454295);});}}_0x2bd7a6[_0x4ca645([0x6f,0x6e])](_0x4ca645([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2edf35,_0xcd2d36)=>{if(_0xcd2d36[0x0]!=_0x5f22dd)return _0x2a3fd9(_0x4ca645([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xcd2d36[0x1]={..._0xcd2d36[0x1],[_0x4ca645([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a7e6c};},{[_0x4ca645([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ca645([0x68,0x69,0x67,0x68])}),_0x2bd7a6[_0x4ca645([0x6f,0x6e])](_0x4ca645([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2346ff=>{_0x49193f(_0x2346ff[_0x4ca645([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x436608=!0x0,_0x2a5834(_0x2346ff[_0x4ca645([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ca645([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ca645([0x6c,0x6f,0x77])}),_0x5442c9[_0x4ca645([0x74,0x68,0x65,0x6e])](()=>{_0x436608||_0x2a3fd9(_0x4ca645([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a0489(){return _0x2bd7a6[_0x4ca645([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ca645([0x76,0x69,0x65,0x77])][_0x4ca645([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ca645([0x61,0x75,0x74,0x6f]);}function _0x3a32b9(){_0x2bd7a6[_0x4ca645([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ca645([0x76,0x69,0x65,0x77])][_0x4ca645([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ca645([0x61,0x75,0x74,0x6f]);}}function _0x209db8(_0x5d6920){const _0x1635e3=[new window[(_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ed49f=>setTimeout(_0x2ed49f,0x3df6fa2d^_0x454295)),_0x5442c9[_0x4ca645([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cb064=>{let _0x13b003=0x0;_0x2bd7a6[_0x4ca645([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ca645([0x6f,0x6e])](_0x4ca645([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c9e4d,_0x112790)=>{_0x112790[0x0][_0x4ca645([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13b003++,_0x13b003==(0x3dffc109^_0x454295)&&(_0x1cb064(),_0x3c9e4d[_0x4ca645([0x6f,0x66,0x66])]());});}))];return window[_0x4ca645([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ca645([0x72,0x61,0x63,0x65])](_0x1635e3)[_0x4ca645([0x74,0x68,0x65,0x6e])](()=>_0x5d6920);}async function _0x57f534(){await _0x5442c9,_0x2bd7a6[_0x4ca645([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ca645([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38a660,_0x2bd7a6[_0x4ca645([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ca645([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38a660,_0x2bd7a6[_0x4ca645([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ca645([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43a3a6(_0x7e5368){const _0x1d88ae=_0x3c85e5();_0x2bd7a6[_0x1d88ae]=_0x4ca645([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7e5368,_0x7e5368!=_0x4ca645([0x56,0x61,0x6c,0x69,0x64])&&_0x57f534();}function _0x3c85e5(){const _0xee74df=window[_0x4ca645([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ca645([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ca645([0x6e,0x6f,0x77])]())[_0x4ca645([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ca645([0x2e]),'');let _0x5c232d=_0x4ca645([0x6e]);for(let _0xb49d9a=0x0;_0xb49d9a<_0xee74df[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb49d9a+=0x2){let _0x21c3c5=window[_0x4ca645([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xee74df[_0x4ca645([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb49d9a,_0xb49d9a+0x2));_0x21c3c5>=_0xdb6431[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21c3c5-=_0xdb6431[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c232d+=_0xdb6431[_0x21c3c5];}return _0x5c232d;}function _0x1ec356(){const _0x40c0fc=_0x5b9dc7[_0x4ca645([0x73,0x70,0x6c,0x69,0x74])](_0x4ca645([0x2e]));if(0x3!=_0x40c0fc[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd3706b(_0x40c0fc[0x1]);function _0xd3706b(_0x406acc){const _0x34545b=_0x2a9ac7(_0x406acc);return _0x34545b&&_0x3a0f5a()?_0x34545b:null;function _0x3a0f5a(){const _0x52e1ab=_0x34545b[_0x4ca645([0x6a,0x74,0x69])],_0x158c8f=window[_0x4ca645([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52e1ab[_0x4ca645([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52e1ab[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x578f4c={..._0x34545b,[_0x4ca645([0x6a,0x74,0x69])]:_0x52e1ab[_0x4ca645([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52e1ab[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x578f4c[_0x4ca645([0x76,0x63])],_0x7638cb(_0x578f4c)==_0x158c8f;}}}async function _0x47b960(){let _0x29cdda=!0x0;try{const _0x365ec7=_0x5b9dc7[_0x4ca645([0x73,0x70,0x6c,0x69,0x74])](_0x4ca645([0x2e])),[_0x12b2bf,_0x2bb7e2,_0x82ae5b]=_0x365ec7;return _0x540bb3(_0x12b2bf),await _0x48ff45(_0x12b2bf,_0x2bb7e2,_0x82ae5b),_0x29cdda;}catch{return!0x1;}function _0x540bb3(_0x612048){const _0x5b11ea=_0x2a9ac7(_0x612048);_0x5b11ea&&_0x5b11ea[_0x4ca645([0x61,0x6c,0x67])]==_0x4ca645([0x45,0x53,0x32,0x35,0x36])||(_0x29cdda=!0x1);}async function _0x48ff45(_0x3e2d20,_0x509b9e,_0x21976d){const _0x1a931c=window[_0x4ca645([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ca645([0x66,0x72,0x6f,0x6d])](_0x541a15(_0x21976d),_0x18bb6a=>_0x18bb6a[_0x4ca645([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53dcf0=new window[(_0x4ca645([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ca645([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e2d20+_0x4ca645([0x2e])+_0x509b9e),_0x555c81=window[_0x4ca645([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ca645([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x555c81)return;const _0x409829=await _0x555c81[_0x4ca645([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ca645([0x6a,0x77,0x6b]),_0x348402,{[_0x4ca645([0x6e,0x61,0x6d,0x65])]:_0x4ca645([0x45,0x43,0x44,0x53,0x41]),[_0x4ca645([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ca645([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ca645([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x555c81[_0x4ca645([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ca645([0x6e,0x61,0x6d,0x65])]:_0x4ca645([0x45,0x43,0x44,0x53,0x41]),[_0x4ca645([0x68,0x61,0x73,0x68])]:{[_0x4ca645([0x6e,0x61,0x6d,0x65])]:_0x4ca645([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x409829,_0x1a931c,_0x53dcf0)||(_0x29cdda=!0x1);}}function _0x2a9ac7(_0x24f578){return _0x24f578[_0x4ca645([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ca645([0x65,0x79]))?JSON[_0x4ca645([0x70,0x61,0x72,0x73,0x65])](_0x541a15(_0x24f578)):null;}function _0x541a15(_0x557c26){return window[_0x4ca645([0x61,0x74,0x6f,0x62])](_0x557c26[_0x4ca645([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ca645([0x2b]))[_0x4ca645([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ca645([0x2f])));}function _0x7638cb(_0x112616){let _0x826a06=0x1505;function _0x2265dc(_0x2f3fe5){for(let _0x57f34d=0x0;_0x57f34d<_0x2f3fe5[_0x4ca645([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57f34d++){const _0x2dcecb=_0x2f3fe5[_0x4ca645([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57f34d);_0x826a06=(_0x826a06<<0x5)+_0x826a06+_0x2dcecb,_0x826a06&=_0x826a06;}}function _0x57c7f5(_0x43310b){Array[_0x4ca645([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43310b)?_0x43310b[_0x4ca645([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57c7f5):_0x43310b&&typeof _0x43310b==_0x4ca645([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ca645([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43310b)[_0x4ca645([0x73,0x6f,0x72,0x74])]()[_0x4ca645([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x575ef9,_0x15a6a3])=>{_0x2265dc(_0x575ef9),_0x57c7f5(_0x15a6a3);}):_0x2265dc(window[_0x4ca645([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43310b));}return _0x57c7f5(_0x112616),_0x826a06>>>0x0;}function _0x22e4be(_0x2c7596){return _0x2c7596[_0x4ca645([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ca645([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ca645([0x30]));}function _0x48710f(_0x300b20){return _0x300b20[_0x4ca645([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ca645([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ca645([0x6a,0x6f,0x69,0x6e])]('');}function _0x38a660(){}function _0x4ca645(_0x22ce1b){return _0x22ce1b['map'](_0x47e3bc=>String['fromCharCode'](_0x47e3bc))['join']('');}_0x43a3a6(await _0x6c711d());}(this);}['showFakeVisualSelection'](){const _0x42ac71=this['editor']['model'];_0x42ac71['change'](_0x476eb4=>{const _0x517b7b=_0x42ac71['document']['selection']['getRanges']();let _0x1ef24c=0x0;for(const _0x503a72 of _0x517b7b){const _0x4f76b6=Fn+':'+_0x1ef24c;if(_0x42ac71['markers']['has'](_0x4f76b6))_0x476eb4['updateMarker'](_0x4f76b6,{'range':_0x503a72});else{if(_0x503a72['start']['isAtEnd']){const _0x29629a=_0x503a72['start']['getLastMatchingPosition'](({item:_0x1f5b3c})=>!_0x42ac71['schema']['isContent'](_0x1f5b3c),{'boundaries':_0x503a72});_0x476eb4['addMarker'](_0x4f76b6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x476eb4['createRange'](_0x29629a,_0x503a72['end'])});}else _0x476eb4['addMarker'](_0x4f76b6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x503a72});}_0x1ef24c++;}});}['hideFakeVisualSelection'](){const _0x23d2d8=this['editor']['model'],_0x45c097=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](Fn));_0x45c097['length']&&_0x23d2d8['change'](_0x5784e3=>{_0x45c097['forEach'](_0x378648=>{_0x5784e3['removeMarker'](_0x378648);});});}['insertContent'](_0x4d8180,_0x540195){const _0x51f36b=this['_getAISelection'](),_0x1da689=_0x540195||_0x51f36b['getFirstRange']();this['editor']['model']['canEditAt'](_0x1da689)&&this['editor']['model']['change'](_0xbaddad=>{this['hideFakeVisualSelection'](),_0x540195||this['_resetContentOfSelectedTableCells'](_0xbaddad,_0x51f36b),this['_pasteHTMLUsingClipboard']({'insertAt':_0x1da689,'writer':_0xbaddad,'html':_0x4d8180});});}['insertContentBelow'](_0x31be8a){const {model:_0x49e9d5}=this['editor'],_0xf39ce1=this['_getAISelection']();_0x49e9d5['change'](()=>{const _0x1e471d=this['_prepareTableInsertBelowPosition'](_0x31be8a,_0xf39ce1)||this['_getDefaultInsertBelowPosition'](_0xf39ce1);this['insertContent'](_0x31be8a,_0x1e471d);});}['_getAISelection'](){const _0x5abb86=this['editor']['model'],_0x504a7c=Array['from'](_0x5abb86['markers']['getMarkersGroup'](Fn))['map'](_0x532d13=>_0x532d13['getRange']());return _0x5abb86['createSelection'](_0x504a7c);}['_pasteHTMLUsingClipboard']({writer:_0x51befa,html:_0x5cb4b3,insertAt:_0x3935fc}){const {view:_0x7b1e61}=this['editor']['editing'],_0x5b89d4=this['editor']['plugins']['get'](_0x3c05db),_0x5ac473=new Bn();_0x5ac473['setData']('text/html',_0x5cb4b3);const _0x2e4679=new ClipboardEvent('paste',{'clipboardData':_0x5ac473}),_0x3a8cfc=new _0x443eb2(_0x7b1e61,_0x2e4679,{'dataTransfer':new _0x340090(_0x5ac473)});_0x51befa['setSelection'](_0x3935fc);const _0x27f71d=(_0x2ff735,_0x204bf5)=>{_0x204bf5['resultRange']&&_0x51befa['setSelection'](_0x204bf5['resultRange']);};_0x5b89d4['once']('contentInsertion',_0x27f71d,{'priority':'lowest'}),_0x7b1e61['document']['fire']('paste',_0x3a8cfc),_0x5b89d4['off']('contentInsertion',_0x27f71d);}['_getDefaultInsertBelowPosition'](_0x104b0a){const {model:_0x2fca67}=this['editor'],_0x44faed=Array['from'](_0x104b0a['getSelectedBlocks']());return _0x44faed['length']?_0x2fca67['createPositionAfter'](_0x44faed['pop']()):_0x104b0a['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x4192fd,_0x4c9cd9){const {model:_0x21b446,plugins:_0x1ec53f}=this['editor'];if(_0x1ec53f['has']('TableUtils')){const _0x115c49=_0x1ec53f['get']('TableUtils')['getSelectedTableCells'](_0x4c9cd9);if(_0x115c49['length']){const _0x4574de=this['_getTableRowCountFromContent'](_0x4192fd),_0x578f28=this['_createEmptyTableRows'](_0x115c49,_0x4574de);return _0x21b446['createPositionAt'](_0x578f28,0x0);}}return null;}['_getTableRowCountFromContent'](_0x1bb8a1){const _0x4c55d4=this['editor']['plugins']['get']('TableUtils'),_0x3e5acd=this['editor']['data']['parse'](_0x1bb8a1),_0x6d0231=Array['from'](_0x3e5acd['getChildren']())['filter'](_0x366e85=>_0x366e85['is']('element','table'));let _0x417f73=0x0;return _0x6d0231['forEach'](_0x439396=>{_0x417f73+=_0x4c55d4['getRows'](_0x439396);}),_0x417f73;}['_createEmptyTableRows'](_0x2fa15c,_0x6a6f8){const _0x44ba94=this['editor']['plugins']['get']('TableUtils'),_0x11a838=_0x44ba94['getRowIndexes'](_0x2fa15c),_0x4e5195=_0x44ba94['getColumnIndexes'](_0x2fa15c),_0x189810=_0x11a838['last']+0x1,_0xa48d47=_0x4e5195['first'],_0x5996b1=_0x2fa15c[0x0]['findAncestor']('table');for(let _0x173752=0x0;_0x173752<_0x6a6f8;_0x173752++)_0x44ba94['insertRows'](_0x5996b1,{'at':_0x189810});return _0x5996b1['getChild'](_0x189810)['getChild'](_0xa48d47);}['_resetContentOfSelectedTableCells'](_0x30ec24,_0x5274d5){const {plugins:_0x25c0e0}=this['editor'],{model:_0x14ec8b}=_0x30ec24;if(!_0x25c0e0['has']('TableUtils'))return;_0x25c0e0['get']('TableUtils')['getSelectedTableCells'](_0x5274d5)['length']&&_0x14ec8b['deleteContent'](_0x5274d5);}}class AIAdapter extends _0x13517b{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x37fbfa('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x468de2){super(_0x468de2),this['name']='AIRequestError';}}function jn(_0x128da6,_0x51d6db,_0x1376dd){const t=_0x128da6['t'];switch(_0x51d6db){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',_0x1376dd);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1376dd);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'},_0x1376dd);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 _0x51d6db;}}class ShowAIAssistantCommand extends _0x15bad7{['_commandDefinitions'];constructor(_0x17d582,_0x1b211e){super(_0x17d582),this['_commandDefinitions']=_0x1b211e,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x5f3551,_0x225c53,_0x2272a8)=>{this['isEnabled']&&(this['enabledCommandsIds']=Hn(this['_commandDefinitions'],_0x2272a8));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x1e880b,_0x5c34a0,_0x3c05b9)=>{this['enabledCommandsIds']=_0x3c05b9?Hn(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x385ae5=this['editor']['model'];this['_hasContext']=function(_0x19ce83){const _0x424460=_0x19ce83['document']['selection'];return _0x424460['isCollapsed']?0x0!==[..._0x424460['getSelectedBlocks']()]['length']&&![..._0x424460['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x19ce83['hasContent'](_0x424460['getFirstRange']());}(_0x385ae5);const _0x1d13a0=_0x385ae5['document']['selection'],_0x350743=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x1eaa5c of _0x1d13a0['getRanges']())for(const _0x447b7b of _0x1eaa5c['getItems']())if(_0x447b7b['is']('element')&&_0x350743['includes'](_0x447b7b['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x25ff33='',_0x5671e0='',_0x1ba249='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x25ff33,_0x5671e0,_0x1ba249);}}function Hn(_0x1f0829,_0xf486f9){const _0x4e68e0=new Set();for(const _0x32ff47 of _0x1f0829['values']())(_0xf486f9||!0x1===_0x32ff47['requiresContent'])&&_0x4e68e0['add'](_0x32ff47['id']);return Array['from'](_0x4e68e0);}const Gn=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x20f52a(){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x380271,_0x5c4f82,_0x133b4f){super(),this['editor']=_0x380271,this['textAdapter']=_0x5c4f82,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x133b4f,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0xa1be4f,_0x1d9f4d,_0x501cd9)=>{this['view']['value']=this['_sanitizeHTML'](_0x501cd9);}),this['listenTo'](this['view'],'submitPrompt',(_0x52f78e,_0x5dc5d9)=>{const _0xcab2fc=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x5dc5d9,_0xcab2fc,'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:_0x2f489b,query:_0x163f8c,htmlContent:_0x2dc70b,label:_0x176782,mainActionLabel:_0x8a13ed}){this['view']['prompt']=_0x176782,this['view']['mainAction']=_0x8a13ed,this['initialContext']=_0x2dc70b,_0x163f8c&&(this['view']['isRendered']?this['_handleQuery'](_0x163f8c,_0x2dc70b,_0x2f489b,_0x176782):this['view']['once']('render',()=>{this['_handleQuery'](_0x163f8c,_0x2dc70b,_0x2f489b,_0x176782);}));}['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'](_0x426b29,_0x389e1a,_0x37e755,_0x3513c6){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x389e1a,this['previousQuery']=_0x426b29,this['previousLabel']=_0x3513c6||_0x426b29,this['previousActionId']=_0x37e755,new Promise(_0x33d50a=>{this['textAdapter']['makeRequest']({'query':_0x426b29,'context':_0x389e1a,'onData':_0x2f4ba8=>{this['currentResponse']=_0x2f4ba8,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x37e755})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x52fdb7=>{_0x52fdb7 instanceof AIRequestError?this['view']['handleError'](_0x52fdb7['message']):this['view']['handleError'](),_0x33d50a();})['finally'](()=>{this['stopProcessing'](),_0x33d50a();});});}['_parseAndNormalizeContent'](_0x45c9be,_0x511122=!0x1){const _0x519e96=Gn['exec'](_0x45c9be);_0x45c9be=_0x519e96?_0x45c9be['substring'](_0x519e96[0x1]['length']):_0x45c9be['length']<0x64&&!_0x511122?'':this['_stripMarkdownSyntax'](_0x45c9be);const _0x5083cb=this['_domParser']['parseFromString'](_0x45c9be,'text/html');if(_0x519e96){const _0x28543b=Array['from'](_0x5083cb['body']['childNodes']);_0x28543b['reverse']();for(const _0x1c3c1e of _0x28543b){if(_0x1c3c1e['nodeType']==Node['ELEMENT_NODE'])break;_0x1c3c1e['remove']();}}const _0x12bcb8=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x5083cb['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x12bcb8);const _0x443d53=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x5285d9=this['editor']['data']['toModel'](_0x12bcb8);return _0x443d53||_0x5285d9['markers']['clear'](),this['editor']['data']['stringify'](_0x5285d9);}['_normalizeResponseHeadings'](_0x2cbdf9){const _0x5f42e3=new _0x1c5733(this['editor']['editing']['view']['document']),_0x2bc725=new _0x3ed30c({'name':/^h[1-5]$/}),_0x72f74b=[];let _0x54d9a9=!0x1;for(const _0x33bbda of _0x2cbdf9)_0x33bbda['is']('element')&&_0x2bc725['match'](_0x33bbda)&&(_0x72f74b['push'](_0x33bbda),'h1'==_0x33bbda['name']&&(_0x54d9a9=!0x0));if(_0x54d9a9){for(const _0x33be5c of _0x72f74b)_0x5f42e3['rename']('h'+(parseInt(_0x33be5c['name'][0x1])+0x1),_0x33be5c);}}['_isH1TagSupportEnabled'](){const {data:_0x1c8f09,editing:_0x29617a}=this['editor'],_0x59be04=_0x1c8f09['htmlProcessor']['toView']('<h1></h1>'),_0x42a332=_0x1c8f09['toView'](_0x1c8f09['toModel'](_0x59be04));return!!_0x29617a['view']['domConverter']['viewToDom'](_0x42a332)['querySelector']('h1');}['_sanitizeHTML'](_0x563653){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x563653),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x4e018e){const _0x35c228=_0x4e018e['trim']();return _0x35c228['startsWith']('```html')?_0x35c228['endsWith']('```')?_0x35c228['substring'](0x7,_0x35c228['length']-0x3):_0x35c228['substring'](0x7):_0x4e018e;}}const Zn={'REPLACE':'replace','INSERT':'insert'};class AIFormToolbarView extends _0x1421bf{constructor(_0x4df304){super(_0x4df304),this['set']('isVisible',!0x1),this['set']('mainAction',Zn['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x3f4726=>jn(_0x4df304,'AI_'+_0x3f4726['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](jn(_0x4df304,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](jn(_0x4df304,'Try\x20again')),this['stopButton']=this['_createButton'](jn(_0x4df304,'Stop'));const _0x2a5526=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x2a5526['if']('isVisible','ck-hidden',_0x17fa75=>!_0x17fa75)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x388c6e,_0xd694e5){const _0x4ece8c=new _0x2e803a(this['locale']);return _0x4ece8c['set']({'label':_0x388c6e,'class':_0xd694e5||'','isVisible':!0x0,'withText':!0x0}),_0x4ece8c;}}class AIFormContentArea extends _0x3989d4{['contentFieldView'];['copyButtonView'];constructor(_0x53e86d,_0x576438=''){super(_0x53e86d),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4061eb=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x53e86d,_0x576438),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x4061eb['if']('isVisible','ck-hidden',_0x2e9a7f=>!_0x2e9a7f)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x4061eb['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 _0x22244d=!0x1;this['on']('change:value',(_0x53b67f,_0x2d90e1,_0x260464)=>{const _0x1e7d2f=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x260464),this['isProcessing']&&_0x1e7d2f&&!_0x22244d&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x28dc20,_0x3ddff4,_0x42ec9c)=>{_0x22244d=!0x1,_0x42ec9c?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x22244d=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x22244d=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0xdb5f9=this['locale'],_0x1ee271=new _0x2e803a(this['locale']),_0x27aad5='ck-ai-form__copy-button';return _0x1ee271['set']({'label':jn(_0xdb5f9,'Copy'),'icon':te,'class':_0x27aad5,'tooltip':!0x0}),_0x1ee271['bind']('isVisible')['to'](this,'value',_0x324af4=>!!_0x324af4),_0x1ee271['bind']('isEnabled')['to'](this,'isProcessing',_0x30f598=>!_0x30f598),_0x1ee271['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x1ee271['icon']=_0x5071d2,_0x1ee271['class']=_0x27aad5+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x1ee271['icon']=te,_0x1ee271['class']=_0x27aad5;},0x3e8);}),_0x1ee271;}['_copyHTMLToClipboard'](_0x577f8b){const {window:_0x20052f,document:_0x18ef1f}=_0x4cdc9d;if(_0x20052f['ClipboardItem']){const {Blob:_0x13e722,ClipboardItem:_0x4c1099}=_0x20052f,_0xd5b454=[new _0x4c1099({'text/html':new _0x13e722([_0x577f8b['innerHTML']],{'type':'text/html'}),'text/plain':new _0x13e722([_0x577f8b['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0xd5b454);}else{const _0xb9fcce=_0x18ef1f['createElement']('div');_0xb9fcce['style']['position']='absolute',_0xb9fcce['style']['left']='-9999px',_0xb9fcce['innerHTML']='<span>[</span>'+_0x577f8b['innerHTML']+'<span>]</span>',_0x18ef1f['body']['appendChild'](_0xb9fcce);const _0x3890e6=_0x18ef1f['createRange']();_0x3890e6['setStartAfter'](_0xb9fcce['firstElementChild']),_0x3890e6['setEndBefore'](_0xb9fcce['lastElementChild']);const _0x4955ee=_0x20052f['getSelection']();_0x4955ee['removeAllRanges'](),_0x4955ee['addRange'](_0x3890e6),_0x18ef1f['execCommand']('copy'),_0xb9fcce['remove']();}}}class ContentFieldView extends _0x3989d4{constructor(_0x3a2896,_0x112abd=''){super(_0x3a2896),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x112abd,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x52a97f){this['element']['innerHTML']=_0x52a97f;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x2de82b=new _0x3989d4(),_0xe9561=this['locale'],_0x73fbfd=new _0x4341e6();return _0x73fbfd['isVisible']=!0x0,_0x2de82b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x73fbfd,{'text':jn(_0xe9561,'AI\x20is\x20writing...')}]}),_0x2de82b['render'](),_0x2de82b;}}class AIFormErrorView extends _0x3989d4{constructor(_0x2f721d,_0x45dfe4=''){super(_0x2f721d);const _0x1e6c1f=new _0x1bf0d6(),_0xa8bbe7=this['bindTemplate'];this['set']('text',_0x45dfe4),_0x1e6c1f['content']=_0xf250d9,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x1e6c1f,{'text':_0xa8bbe7['to']('text')}]});}}class AIFormPromptView extends _0xf4da9f{['submitButtonView'];['showHistoryButtonView'];constructor(_0x5119be,_0x3daff9){super(_0x5119be,_0x3daff9),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',(_0x2c0f53,_0x48e6f0)=>{_0x2c0f53['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x48e6f0());});}['_createSubmitButton'](){const _0x41235c=new _0x2e803a(this['locale']),_0x8c5551=this['locale'];return _0x41235c['set']({'icon':_0x108f32,'label':jn(_0x8c5551,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x41235c['on']('execute',()=>{this['submit']();}),_0x41235c['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x5a0537,_0x295f6e)=>!_0x5a0537&&_0x295f6e),_0x41235c;}['_createShowHistoryButton'](){const _0x451d51=new _0x2e803a(this['locale']),_0x4b597b=this['resultsView'],_0x1894a5=this['locale'];_0x451d51['set']({'label':jn(_0x1894a5,'History'),'withText':!0x1,'icon':_0x307ef9,'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x451d51['bind']('isOn')['to'](_0x4b597b,'isVisible'),_0x451d51['bind']('isEnabled')['to'](this,'isEnabled'),_0x451d51['on']('execute',()=>{_0x4b597b['isVisible']=!_0x4b597b['isVisible'],_0x4b597b['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x575c7f=()=>{_0x4cdc9d['window']['requestAnimationFrame'](()=>{if(_0x29b829(this['element'])){const _0x485a04=new _0x1faa00(this['queryView']['fieldView']['element']),_0x5efc3f=_0x485a04['width'],_0x19d53d='rtl'===_0x1894a5['uiLanguageDirection']?'left':'right';_0x485a04['excludeScrollbarsAndBorders'](),_0x451d51['element']['style'][_0x19d53d]=_0x5efc3f-_0x485a04['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x575c7f),this['on']('render',_0x575c7f),_0x451d51;}['submit'](){const _0x42e8ba=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x42e8ba);}['focus'](_0x59a851){-0x1===_0x59a851?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0x3523c8{['historyGroupView'];['clearHistoryButton'];constructor(_0x3b830c){super(_0x3b830c),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x3a6dc5(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=jn(_0x3b830c,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x2c2e42=0x0;for(const _0x37cf92 of this['items'])_0x2c2e42+=_0x37cf92['items']['length'];return{'resultsCount':_0x2c2e42,'totalItemsCount':_0x2c2e42};}['_createClearHistoryButton'](){const _0x381854=this['locale'],_0x97490b=new _0x2e803a(this['locale']);return _0x97490b['set']({'label':'('+jn(_0x381854,'Clear')+')','withText':!0x0}),_0x97490b['on']('execute',()=>this['fire']('clearHistory')),_0x97490b;}}function Xn(_0x827e81){return'__proto__'===_0x827e81;}function qn(_0x1ef279){switch(typeof _0x1ef279){case'number':case'symbol':return!0x1;case'string':return _0x1ef279['includes']('.')||_0x1ef279['includes']('[')||_0x1ef279['includes'](']');}}function Wn(_0x103c08){return'string'==typeof _0x103c08||'symbol'==typeof _0x103c08?_0x103c08:Object['is'](_0x103c08?.['valueOf']?.(),-0x0)?'-0':String(_0x103c08);}function zn(_0x414d1f){const _0x2a37d4=[],_0x5a47e2=_0x414d1f['length'];if(0x0===_0x5a47e2)return _0x2a37d4;let _0x5dd026=0x0,_0x15bb94='',_0x3cbc40='',_0x460223=!0x1;for(0x2e===_0x414d1f['charCodeAt'](0x0)&&(_0x2a37d4['push'](''),_0x5dd026++);_0x5dd026<_0x5a47e2;){const _0x256000=_0x414d1f[_0x5dd026];_0x3cbc40?'\x5c'===_0x256000&&_0x5dd026+0x1<_0x5a47e2?(_0x5dd026++,_0x15bb94+=_0x414d1f[_0x5dd026]):_0x256000===_0x3cbc40?_0x3cbc40='':_0x15bb94+=_0x256000:_0x460223?'\x22'===_0x256000||'\x27'===_0x256000?_0x3cbc40=_0x256000:']'===_0x256000?(_0x460223=!0x1,_0x2a37d4['push'](_0x15bb94),_0x15bb94=''):_0x15bb94+=_0x256000:'['===_0x256000?(_0x460223=!0x0,_0x15bb94&&(_0x2a37d4['push'](_0x15bb94),_0x15bb94='')):'.'===_0x256000?_0x15bb94&&(_0x2a37d4['push'](_0x15bb94),_0x15bb94=''):_0x15bb94+=_0x256000,_0x5dd026++;}return _0x15bb94&&_0x2a37d4['push'](_0x15bb94),_0x2a37d4;}function Yn(_0x6ff65c,_0x50c290,_0x5be996){if(null==_0x6ff65c)return _0x5be996;switch(typeof _0x50c290){case'string':{if(Xn(_0x50c290))return _0x5be996;const _0x4c09fd=_0x6ff65c[_0x50c290];return void 0x0===_0x4c09fd?qn(_0x50c290)?Yn(_0x6ff65c,zn(_0x50c290),_0x5be996):_0x5be996:_0x4c09fd;}case'number':case'symbol':{'number'==typeof _0x50c290&&(_0x50c290=Wn(_0x50c290));const _0x575d02=_0x6ff65c[_0x50c290];return void 0x0===_0x575d02?_0x5be996:_0x575d02;}default:{if(Array['isArray'](_0x50c290))return function(_0x4cf975,_0x130c85,_0x3f96e0){if(0x0===_0x130c85['length'])return _0x3f96e0;let _0x30d872=_0x4cf975;for(let _0x31a190=0x0;_0x31a190<_0x130c85['length'];_0x31a190++){if(null==_0x30d872)return _0x3f96e0;if(Xn(_0x130c85[_0x31a190]))return _0x3f96e0;_0x30d872=_0x30d872[_0x130c85[_0x31a190]];}if(void 0x0===_0x30d872)return _0x3f96e0;return _0x30d872;}(_0x6ff65c,_0x50c290,_0x5be996);if(Xn(_0x50c290=Object['is'](_0x50c290?.['valueOf'](),-0x0)?'-0':String(_0x50c290)))return _0x5be996;const _0x4c13aa=_0x6ff65c[_0x50c290];return void 0x0===_0x4c13aa?_0x5be996:_0x4c13aa;}}}function Kn(_0x3a1e7e){return null!==_0x3a1e7e&&('object'==typeof _0x3a1e7e||'function'==typeof _0x3a1e7e);}function Jn(_0xf83bca,_0x172950){return _0xf83bca===_0x172950||Number['isNaN'](_0xf83bca)&&Number['isNaN'](_0x172950);}function tr(_0x1ae7c1){return Object['getOwnPropertySymbols'](_0x1ae7c1)['filter'](_0x21da1d=>Object['prototype']['propertyIsEnumerable']['call'](_0x1ae7c1,_0x21da1d));}function er(_0x6a9cb1){return null==_0x6a9cb1?void 0x0===_0x6a9cb1?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x6a9cb1);}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(_0x526778,_0x1b8e9a,_0x3de297,_0xfb5a38=new Map(),_0x516dad=void 0x0){const _0x23b587=_0x516dad?.(_0x526778,_0x1b8e9a,_0x3de297,_0xfb5a38);if(null!=_0x23b587)return _0x23b587;if(function(_0x135ae3){return null==_0x135ae3||'object'!=typeof _0x135ae3&&'function'!=typeof _0x135ae3;}(_0x526778))return _0x526778;if(_0xfb5a38['has'](_0x526778))return _0xfb5a38['get'](_0x526778);if(Array['isArray'](_0x526778)){const _0x373612=new Array(_0x526778['length']);_0xfb5a38['set'](_0x526778,_0x373612);for(let _0x2bcb6f=0x0;_0x2bcb6f<_0x526778['length'];_0x2bcb6f++)_0x373612[_0x2bcb6f]=Er(_0x526778[_0x2bcb6f],_0x2bcb6f,_0x3de297,_0xfb5a38,_0x516dad);return Object['hasOwn'](_0x526778,'index')&&(_0x373612['index']=_0x526778['index']),Object['hasOwn'](_0x526778,'input')&&(_0x373612['input']=_0x526778['input']),_0x373612;}if(_0x526778 instanceof Date)return new Date(_0x526778['getTime']());if(_0x526778 instanceof RegExp){const _0x29a601=new RegExp(_0x526778['source'],_0x526778['flags']);return _0x29a601['lastIndex']=_0x526778['lastIndex'],_0x29a601;}if(_0x526778 instanceof Map){const _0x1b8877=new Map();_0xfb5a38['set'](_0x526778,_0x1b8877);for(const [_0xd51523,_0x5b0e7c]of _0x526778)_0x1b8877['set'](_0xd51523,Er(_0x5b0e7c,_0xd51523,_0x3de297,_0xfb5a38,_0x516dad));return _0x1b8877;}if(_0x526778 instanceof Set){const _0x50421d=new Set();_0xfb5a38['set'](_0x526778,_0x50421d);for(const _0x8a2550 of _0x526778)_0x50421d['add'](Er(_0x8a2550,void 0x0,_0x3de297,_0xfb5a38,_0x516dad));return _0x50421d;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x526778))return _0x526778['subarray']();if(_0x411972=_0x526778,ArrayBuffer['isView'](_0x411972)&&!(_0x411972 instanceof DataView)){const _0x5760d3=new(Object['getPrototypeOf'](_0x526778))['constructor'](_0x526778['length']);_0xfb5a38['set'](_0x526778,_0x5760d3);for(let _0x3ddddf=0x0;_0x3ddddf<_0x526778['length'];_0x3ddddf++)_0x5760d3[_0x3ddddf]=Er(_0x526778[_0x3ddddf],_0x3ddddf,_0x3de297,_0xfb5a38,_0x516dad);return _0x5760d3;}var _0x411972;if(_0x526778 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x526778 instanceof SharedArrayBuffer)return _0x526778['slice'](0x0);if(_0x526778 instanceof DataView){const _0xe16c0b=new DataView(_0x526778['buffer']['slice'](0x0),_0x526778['byteOffset'],_0x526778['byteLength']);return _0xfb5a38['set'](_0x526778,_0xe16c0b),Ar(_0xe16c0b,_0x526778,_0x3de297,_0xfb5a38,_0x516dad),_0xe16c0b;}if('undefined'!=typeof File&&_0x526778 instanceof File){const _0x335ae6=new File([_0x526778],_0x526778['name'],{'type':_0x526778['type']});return _0xfb5a38['set'](_0x526778,_0x335ae6),Ar(_0x335ae6,_0x526778,_0x3de297,_0xfb5a38,_0x516dad),_0x335ae6;}if(_0x526778 instanceof Blob){const _0x293ed9=new Blob([_0x526778],{'type':_0x526778['type']});return _0xfb5a38['set'](_0x526778,_0x293ed9),Ar(_0x293ed9,_0x526778,_0x3de297,_0xfb5a38,_0x516dad),_0x293ed9;}if(_0x526778 instanceof Error){const _0x51fa80=new _0x526778['constructor']();return _0xfb5a38['set'](_0x526778,_0x51fa80),_0x51fa80['message']=_0x526778['message'],_0x51fa80['name']=_0x526778['name'],_0x51fa80['stack']=_0x526778['stack'],_0x51fa80['cause']=_0x526778['cause'],Ar(_0x51fa80,_0x526778,_0x3de297,_0xfb5a38,_0x516dad),_0x51fa80;}if('object'==typeof _0x526778&&function(_0x1d774b){switch(er(_0x1d774b)){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;}}(_0x526778)){const _0x5f188e=Object['create'](Object['getPrototypeOf'](_0x526778));return _0xfb5a38['set'](_0x526778,_0x5f188e),Ar(_0x5f188e,_0x526778,_0x3de297,_0xfb5a38,_0x516dad),_0x5f188e;}return _0x526778;}function Ar(_0x225806,_0x46a89f,_0x63f9e4=_0x225806,_0x367640,_0x47e35a){const _0x56996e=[...Object['keys'](_0x46a89f),...tr(_0x46a89f)];for(let _0x25beed=0x0;_0x25beed<_0x56996e['length'];_0x25beed++){const _0x2158f2=_0x56996e[_0x25beed],_0x373ef6=Object['getOwnPropertyDescriptor'](_0x225806,_0x2158f2);(null==_0x373ef6||_0x373ef6['writable'])&&(_0x225806[_0x2158f2]=Er(_0x46a89f[_0x2158f2],_0x2158f2,_0x63f9e4,_0x367640,_0x47e35a));}}function Ir(_0x5b3a36){return Er(_0x5b3a36,void 0x0,_0x5b3a36,new Map(),void 0x0);}function Sr(_0x3206ed,_0x427bb9){return function(_0x150f3e,_0xf0068f){return Er(_0x150f3e,void 0x0,_0x150f3e,new Map(),_0xf0068f);}(_0x3206ed,(_0x585ea2,_0xb4ead1,_0x4278fc,_0x159fbb)=>{if('object'==typeof _0x3206ed)switch(Object['prototype']['toString']['call'](_0x3206ed)){case nr:case sr:case rr:{const _0x49167a=new _0x3206ed['constructor'](_0x3206ed?.['valueOf']());return Ar(_0x49167a,_0x3206ed),_0x49167a;}case or:{const _0x2c6e6a={};return Ar(_0x2c6e6a,_0x3206ed),_0x2c6e6a['length']=_0x3206ed['length'],_0x2c6e6a[Symbol['iterator']]=_0x3206ed[Symbol['iterator']],_0x2c6e6a;}default:return;}});}function Cr(_0x47879b){return Sr(_0x47879b);}const kr=/^(?:0|[1-9]\d*)$/;function xr(_0x120723,_0x2cd1bf=Number['MAX_SAFE_INTEGER']){switch(typeof _0x120723){case'number':return Number['isInteger'](_0x120723)&&_0x120723>=0x0&&_0x120723<_0x2cd1bf;case'symbol':return!0x1;case'string':return kr['test'](_0x120723);}}const Rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/;function Mr(_0x37fced,_0x13b2b0){return!Array['isArray'](_0x37fced)&&(!('number'!=typeof _0x37fced&&'boolean'!=typeof _0x37fced&&null!=_0x37fced&&!function(_0x5ed2aa){return'symbol'==typeof _0x5ed2aa||_0x5ed2aa instanceof Symbol;}(_0x37fced))||('string'==typeof _0x37fced&&(Pr['test'](_0x37fced)||!Rr['test'](_0x37fced))||null!=_0x13b2b0&&Object['hasOwn'](_0x13b2b0,_0x37fced)));}function Nr(_0x5b8f35,_0x31b271){if(null==_0x5b8f35)return!0x0;switch(typeof _0x31b271){case'symbol':case'number':case'object':if(Array['isArray'](_0x31b271))return Lr(_0x5b8f35,_0x31b271);if('number'==typeof _0x31b271?_0x31b271=Wn(_0x31b271):'object'==typeof _0x31b271&&(_0x31b271=Object['is'](_0x31b271?.['valueOf'](),-0x0)?'-0':String(_0x31b271)),Xn(_0x31b271))return!0x1;if(void 0x0===_0x5b8f35?.[_0x31b271])return!0x0;try{return delete _0x5b8f35[_0x31b271],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x5b8f35?.[_0x31b271]&&qn(_0x31b271))return Lr(_0x5b8f35,zn(_0x31b271));if(Xn(_0x31b271))return!0x1;try{return delete _0x5b8f35[_0x31b271],!0x0;}catch{return!0x1;}}}function Lr(_0x49c3ea,_0x57e5fc){const _0x40d67b=Yn(_0x49c3ea,_0x57e5fc['slice'](0x0,-0x1),_0x49c3ea),_0x16d4d2=_0x57e5fc[_0x57e5fc['length']-0x1];if(void 0x0===_0x40d67b?.[_0x16d4d2])return!0x0;if(Xn(_0x16d4d2))return!0x1;try{return delete _0x40d67b[_0x16d4d2],!0x0;}catch{return!0x1;}}const Dr=(_0x1a95ba,_0x1d8575,_0x31a871)=>{const _0xdaf802=_0x1a95ba[_0x1d8575];Object['hasOwn'](_0x1a95ba,_0x1d8575)&&Jn(_0xdaf802,_0x31a871)&&(void 0x0!==_0x31a871||_0x1d8575 in _0x1a95ba)||(_0x1a95ba[_0x1d8575]=_0x31a871);};function Qr(_0x240038,_0x4c7190,_0x198ce0){return function(_0x225f38,_0x28a236,_0x4bcda7,_0x26e48f){if(null==_0x225f38&&!Kn(_0x225f38))return _0x225f38;const _0xa2bc44=Mr(_0x28a236,_0x225f38)?[_0x28a236]:Array['isArray'](_0x28a236)?_0x28a236:'string'==typeof _0x28a236?zn(_0x28a236):[_0x28a236];let _0x444fe9=_0x225f38;for(let _0x52113e=0x0;_0x52113e<_0xa2bc44['length']&&null!=_0x444fe9;_0x52113e++){const _0x312a5e=Wn(_0xa2bc44[_0x52113e]);if(Xn(_0x312a5e))continue;let _0x1798b4;if(_0x52113e===_0xa2bc44['length']-0x1)_0x1798b4=_0x4bcda7(_0x444fe9[_0x312a5e]);else{const _0x24076d=_0x444fe9[_0x312a5e],_0x27064b=_0x26e48f?.(_0x24076d,_0x312a5e,_0x225f38);_0x1798b4=void 0x0!==_0x27064b?_0x27064b:Kn(_0x24076d)?_0x24076d:xr(_0xa2bc44[_0x52113e+0x1])?[]:{};}Dr(_0x444fe9,_0x312a5e,_0x1798b4),_0x444fe9=_0x444fe9[_0x312a5e];}return _0x225f38;}(_0x240038,_0x4c7190,()=>_0x198ce0,()=>{});}function $r(_0x13682a,_0x1efa57,{signal:_0x494b92,edges:_0x39946d}={}){let _0x5eca03,_0x3358dd=null;const _0x225bd8=null!=_0x39946d&&_0x39946d['includes']('leading'),_0x290ae8=null==_0x39946d||_0x39946d['includes']('trailing'),_0x35e900=()=>{null!==_0x3358dd&&(_0x13682a['apply'](_0x5eca03,_0x3358dd),_0x5eca03=void 0x0,_0x3358dd=null);};let _0x8bea01=null;const _0x344267=()=>{null!=_0x8bea01&&clearTimeout(_0x8bea01),_0x8bea01=setTimeout(()=>{_0x8bea01=null,_0x290ae8&&_0x35e900(),_0x3a14fb();},_0x1efa57);},_0x36c09d=()=>{null!==_0x8bea01&&(clearTimeout(_0x8bea01),_0x8bea01=null);},_0x3a14fb=()=>{_0x36c09d(),_0x5eca03=void 0x0,_0x3358dd=null;},_0x4a2e8b=function(..._0x143544){if(_0x494b92?.['aborted'])return;_0x5eca03=this,_0x3358dd=_0x143544;const _0x23a046=null==_0x8bea01;_0x344267(),_0x225bd8&&_0x23a046&&_0x35e900();};return _0x4a2e8b['schedule']=_0x344267,_0x4a2e8b['cancel']=_0x3a14fb,_0x4a2e8b['flush']=()=>{_0x36c09d(),_0x35e900();},_0x494b92?.['addEventListener']('abort',_0x3a14fb,{'once':!0x0}),_0x4a2e8b;}function Vr(_0x1344a3,_0xc9736c=0x0,_0x4ce0f4={}){'object'!=typeof _0x4ce0f4&&(_0x4ce0f4={});const {leading:_0x460865=!0x1,trailing:_0x57f161=!0x0,maxWait:_0x4dca4c}=_0x4ce0f4,_0xbc988b=Array(0x2);let _0x5d8a11;_0x460865&&(_0xbc988b[0x0]='leading'),_0x57f161&&(_0xbc988b[0x1]='trailing');let _0x12013a=null;const _0x23ddf1=$r(function(..._0x119212){_0x5d8a11=_0x1344a3['apply'](this,_0x119212),_0x12013a=null;},_0xc9736c,{'edges':_0xbc988b}),_0x186bc9=function(..._0x1e20bb){return null!=_0x4dca4c&&(null===_0x12013a&&(_0x12013a=Date['now']()),Date['now']()-_0x12013a>=_0x4dca4c)?(_0x5d8a11=_0x1344a3['apply'](this,_0x1e20bb),_0x12013a=Date['now'](),_0x23ddf1['cancel'](),_0x23ddf1['schedule'](),_0x5d8a11):(_0x23ddf1['apply'](this,_0x1e20bb),_0x5d8a11);};return _0x186bc9['cancel']=_0x23ddf1['cancel'],_0x186bc9['flush']=()=>(_0x23ddf1['flush'](),_0x5d8a11),_0x186bc9;}function Ur(_0x19423f,_0x1cf9ac=0x0,_0x21cc8a={}){'object'!=typeof _0x21cc8a&&(_0x21cc8a={});const {leading:_0x46a219=!0x0,trailing:_0x44216c=!0x0}=_0x21cc8a;return Vr(_0x19423f,_0x1cf9ac,{'leading':_0x46a219,'trailing':_0x44216c,'maxWait':_0x1cf9ac});}function Br(_0x43c1ff){if(null==_0x43c1ff)return'';if('string'==typeof _0x43c1ff)return _0x43c1ff;if(Array['isArray'](_0x43c1ff))return _0x43c1ff['map'](Br)['join'](',');const _0x5d6095=String(_0x43c1ff);return'0'===_0x5d6095&&Object['is'](Number(_0x43c1ff),-0x0)?'-0':_0x5d6095;}function Fr(_0x259189){if(!_0x259189||'object'!=typeof _0x259189)return!0x1;const _0x30f5ae=Object['getPrototypeOf'](_0x259189);return!(null!==_0x30f5ae&&_0x30f5ae!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x30f5ae))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x259189);}function jr(_0x2e5a6e,_0x2e7997,_0x5c57d3,_0x155aa5,_0x4a681b,_0x41831b,_0x1ecb63){const _0x17da94=_0x1ecb63(_0x2e5a6e,_0x2e7997,_0x5c57d3,_0x155aa5,_0x4a681b,_0x41831b);if(void 0x0!==_0x17da94)return _0x17da94;if(typeof _0x2e5a6e==typeof _0x2e7997)switch(typeof _0x2e5a6e){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x2e5a6e===_0x2e7997;case'number':return _0x2e5a6e===_0x2e7997||Object['is'](_0x2e5a6e,_0x2e7997);case'object':return Hr(_0x2e5a6e,_0x2e7997,_0x41831b,_0x1ecb63);}return Hr(_0x2e5a6e,_0x2e7997,_0x41831b,_0x1ecb63);}function Hr(_0x164ace,_0x5c179e,_0x53eefa,_0x1d88b5){if(Object['is'](_0x164ace,_0x5c179e))return!0x0;let _0x235c1f=er(_0x164ace),_0x943350=er(_0x5c179e);if(_0x235c1f===or&&(_0x235c1f=fr),_0x943350===or&&(_0x943350=fr),_0x235c1f!==_0x943350)return!0x1;switch(_0x235c1f){case sr:return _0x164ace['toString']()===_0x5c179e['toString']();case nr:return Jn(_0x164ace['valueOf'](),_0x5c179e['valueOf']());case rr:case cr:case ar:return Object['is'](_0x164ace['valueOf'](),_0x5c179e['valueOf']());case ir:return _0x164ace['source']===_0x5c179e['source']&&_0x164ace['flags']===_0x5c179e['flags'];case'[object\x20Function]':return _0x164ace===_0x5c179e;}const _0x36735f=(_0x53eefa=_0x53eefa??new Map())['get'](_0x164ace),_0x5e12fc=_0x53eefa['get'](_0x5c179e);if(null!=_0x36735f&&null!=_0x5e12fc)return _0x36735f===_0x5c179e;_0x53eefa['set'](_0x164ace,_0x5c179e),_0x53eefa['set'](_0x5c179e,_0x164ace);try{switch(_0x235c1f){case lr:if(_0x164ace['size']!==_0x5c179e['size'])return!0x1;for(const [_0x39b171,_0x406a28]of _0x164ace['entries']())if(!_0x5c179e['has'](_0x39b171)||!jr(_0x406a28,_0x5c179e['get'](_0x39b171),_0x39b171,_0x164ace,_0x5c179e,_0x53eefa,_0x1d88b5))return!0x1;return!0x0;case hr:{if(_0x164ace['size']!==_0x5c179e['size'])return!0x1;const _0x576cf3=Array['from'](_0x164ace['values']()),_0x55af50=Array['from'](_0x5c179e['values']());for(let _0x19ba4a=0x0;_0x19ba4a<_0x576cf3['length'];_0x19ba4a++){const _0x32664f=_0x576cf3[_0x19ba4a],_0x56daf8=_0x55af50['findIndex'](_0x297b65=>jr(_0x32664f,_0x297b65,void 0x0,_0x164ace,_0x5c179e,_0x53eefa,_0x1d88b5));if(-0x1===_0x56daf8)return!0x1;_0x55af50['splice'](_0x56daf8,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'](_0x164ace)!==Buffer['isBuffer'](_0x5c179e))return!0x1;if(_0x164ace['length']!==_0x5c179e['length'])return!0x1;for(let _0x36c165=0x0;_0x36c165<_0x164ace['length'];_0x36c165++)if(!jr(_0x164ace[_0x36c165],_0x5c179e[_0x36c165],_0x36c165,_0x164ace,_0x5c179e,_0x53eefa,_0x1d88b5))return!0x1;return!0x0;case dr:return _0x164ace['byteLength']===_0x5c179e['byteLength']&&Hr(new Uint8Array(_0x164ace),new Uint8Array(_0x5c179e),_0x53eefa,_0x1d88b5);case mr:return _0x164ace['byteLength']===_0x5c179e['byteLength']&&_0x164ace['byteOffset']===_0x5c179e['byteOffset']&&Hr(new Uint8Array(_0x164ace),new Uint8Array(_0x5c179e),_0x53eefa,_0x1d88b5);case'[object\x20Error]':return _0x164ace['name']===_0x5c179e['name']&&_0x164ace['message']===_0x5c179e['message'];case fr:{if(!(Hr(_0x164ace['constructor'],_0x5c179e['constructor'],_0x53eefa,_0x1d88b5)||Fr(_0x164ace)&&Fr(_0x5c179e)))return!0x1;const _0x265a37=[...Object['keys'](_0x164ace),...tr(_0x164ace)],_0x6786b7=[...Object['keys'](_0x5c179e),...tr(_0x5c179e)];if(_0x265a37['length']!==_0x6786b7['length'])return!0x1;for(let _0x400861=0x0;_0x400861<_0x265a37['length'];_0x400861++){const _0x461ef2=_0x265a37[_0x400861],_0x3ec7df=_0x164ace[_0x461ef2];if(!Object['hasOwn'](_0x5c179e,_0x461ef2))return!0x1;if(!jr(_0x3ec7df,_0x5c179e[_0x461ef2],_0x461ef2,_0x164ace,_0x5c179e,_0x53eefa,_0x1d88b5))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x53eefa['delete'](_0x164ace),_0x53eefa['delete'](_0x5c179e);}}function Gr(){}function Zr(_0x1f9d83,_0x1a0c5e){return function(_0x62297b,_0x2c98b0,_0x1c4724){return jr(_0x62297b,_0x2c98b0,void 0x0,void 0x0,void 0x0,void 0x0,_0x1c4724);}(_0x1f9d83,_0x1a0c5e,Gr);}function Xr(_0x207e6b,..._0x1bb162){if(null==_0x207e6b)return{};const _0x1b5d7c=Ir(_0x207e6b);for(let _0x4f0819=0x0;_0x4f0819<_0x1bb162['length'];_0x4f0819++){let _0x28ec31=_0x1bb162[_0x4f0819];switch(typeof _0x28ec31){case'object':Array['isArray'](_0x28ec31)||(_0x28ec31=Array['from'](_0x28ec31));for(let _0x1e4b97=0x0;_0x1e4b97<_0x28ec31['length'];_0x1e4b97++){Nr(_0x1b5d7c,_0x28ec31[_0x1e4b97]);}break;case'string':case'symbol':case'number':Nr(_0x1b5d7c,_0x28ec31);}}return _0x1b5d7c;}function qr(_0x39b8d8){return function(_0x4e7831){return'object'==typeof _0x4e7831&&null!==_0x4e7831;}(_0x39b8d8)&&0x1===_0x39b8d8['nodeType']&&!function(_0x26cc12){if('object'!=typeof _0x26cc12)return!0x1;if(null==_0x26cc12)return!0x1;if(null===Object['getPrototypeOf'](_0x26cc12))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x26cc12)){const _0x1053cd=_0x26cc12[Symbol['toStringTag']];return null!=_0x1053cd&&(!!Object['getOwnPropertyDescriptor'](_0x26cc12,Symbol['toStringTag'])?.['writable']&&_0x26cc12['toString']()==='[object\x20'+_0x1053cd+']');}let _0x50e1a9=_0x26cc12;for(;null!==Object['getPrototypeOf'](_0x50e1a9);)_0x50e1a9=Object['getPrototypeOf'](_0x50e1a9);return Object['getPrototypeOf'](_0x26cc12)===_0x50e1a9;}(_0x39b8d8);}const Wr={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function zr(_0x3b229f){return Br(_0x3b229f)['replace'](/[&<>"']/g,_0x13de97=>Wr[_0x13de97]);}function Yr(_0xee51a9){return function(_0x108883){return _0x108883['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(Br(_0xee51a9));}const Kr={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function Jr(_0x2c0761){return function(_0x5bdf74){return _0x5bdf74['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x2a0010=>Kr[_0x2a0010]||'\x27');}(Br(_0x2c0761));}class AIHistoryListItemView extends _0x5d952b{constructor(_0x5ec710){super();const _0x137c9e=new _0x2794a5(),_0x39022a=new _0x2e803a(this['locale'],_0x137c9e);this['children']['add'](_0x39022a),_0x39022a['set']({'label':_0x5ec710['prompt'],'withText':!0x0}),_0x39022a['on']('execute',()=>{this['fire']('execute',{'value':Jr(_0x5ec710['prompt'])});});}}const to='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0x4711ed{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x354d3f,_0x143ce9)=>{const _0x189977=eo(_0x143ce9['prompt']);for(const _0x5ebb82 of this)if(_0x5ebb82!=_0x143ce9&&eo(_0x5ebb82['prompt'])===_0x189977){this['remove'](_0x5ebb82);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x30b186=sessionStorage['getItem'](to)||'[]';this['addMany'](JSON['parse'](_0x30b186));}['_saveToSessionStorage'](){sessionStorage['setItem'](to,JSON['stringify'](this['map'](_0xdd8271=>_0xdd8271)));}}function eo(_0x327ed9){return _0x327ed9['toLowerCase']()['trim']();}class AIFormView extends _0x3989d4{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x4ac056,_0x5551da,_0xf8a3ae=''){super(_0x4ac056),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(_0x4ac056),this['contentArea']=new AIFormContentArea(_0x4ac056,_0xf8a3ae),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 _0x2c5be9(),this['keystrokes']=new _0x5e251c(),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 _0x1053e1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x5551da],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x1053e1['if']('isError','ck-hidden',_0x516449=>!_0x516449)]},'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'](_0x5ea072=0x1){-0x1===_0x5ea072?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 _0x5e4b33=this['locale'],_0x4f2bba=new AIFormPromptView(_0x5e4b33,{'queryView':{'label':jn(_0x5e4b33,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':et,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':jn(_0x5e4b33,'Empty\x20history'),'secondary':jn(_0x5e4b33,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4f2bba['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x290285,_0x45afc6)=>_0x290285&&!_0x45afc6),this['listenTo'](_0x4f2bba,'submit',(_0xf82ec2,_0xa31ba1)=>{this['prompt']=_0xa31ba1;const _0x45a275=zr(_0xa31ba1);this['fire']('submitPrompt',_0x45a275),_0xa31ba1['trim']()&&this['_promptHistory']['add']({'prompt':_0x45a275},0x0);},{'priority':'high'}),_0x4f2bba;}['_createHistoryView'](){const _0x1b342d=new AIHistoryListView(this['locale']);return _0x1b342d['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x1b342d['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x1b342d;}['_createToolbar'](){const _0x45051e=new AIFormToolbarView(this['locale']);return _0x45051e['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x27da91,_0x744d84,_0x41b559)=>_0x27da91&&!_0x744d84&&!!_0x41b559),_0x45051e['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x45051e['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x5784a4,_0x4ed66b,_0x4f340a)=>_0x5784a4&&!_0x4ed66b&&!!_0x4f340a),_0x45051e['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x45051e['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x415660,_0x3df389)=>_0x415660&&!_0x3df389),_0x45051e['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x45051e['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x45051e['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x45051e;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x32161f=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=jn(_0x32161f,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x36dff7){const _0x54e618=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x36dff7||jn(_0x54e618,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const io=globalThis['DataTransfer'];class AIAssistantUI extends _0x13517b{['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[_0x5708d5,AIAssistantEditing,AIAdapter,it];}constructor(_0x1cff26){super(_0x1cff26),_0x1cff26['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x1cff26['config']['define']('ai.assistant.contentAreaCssClass',''),_0x1cff26['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x1cff26['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x282b6d}=this;this['_aiAdapter']=_0x282b6d['plugins']['get'](AIAdapter),this['_dialog']=_0x282b6d['plugins']['get'](it),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x5479e6=new ShowAIAssistantCommand(_0x282b6d,Array['from'](this['_commandDefinitions']['values']()));_0x282b6d['commands']['add']('showAIAssistant',_0x5479e6),_0x282b6d['ui']['componentFactory']['add']('aiCommands',_0x3817a8=>{const _0x2a930b=st(_0x3817a8);return _0x2a930b['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x2a930b['buttonView']['set']({'label':jn(_0x3817a8,'AI\x20Commands'),'icon':_0x7b402a,'tooltip':!0x0}),_0x2a930b['on']('execute',_0x78d358=>this['_onExecute'](_0x78d358['source']['id'])),nt(_0x2a930b,_0x282b6d['ui']['view']['body'],function(_0x1960c7){const _0x200942=Un(_0x1960c7['config']['get']('ai.assistant.commands'),_0x1960c7['locale']),_0x1cd96c=no(_0x1960c7,_0x200942)['filter'](_0x21dc8b=>_0x21dc8b['commands']['length']);if(0x1===_0x1cd96c['length'])return no(_0x1960c7,_0x1cd96c[0x0]['commands'])['map'](_0x1d14c3=>({'id':_0x1d14c3['id'],'label':_0x1d14c3['label']}));return _0x1cd96c['map'](_0x5a35fd=>{const {groupId:_0x277a8d,groupLabel:_0x4f4d98,commands:_0x1c430c}=_0x5a35fd,_0xa9d34d=no(_0x1960c7,_0x1c430c)['map'](_0x2ddae9=>({'id':_0x2ddae9['id'],'label':_0x2ddae9['label']}));return{'id':_0x277a8d,'menu':_0x4f4d98||_0x277a8d,'children':_0xa9d34d};});}(_0x282b6d),{'ariaLabel':jn(_0x3817a8,'AI\x20Commands')}),_0x2a930b['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x5479e6['on']('change:enabledCommandsIds',_0x2bc09b),_0x2a930b['menuView']['once']('render',_0x2bc09b),_0x2a930b;function _0x2bc09b(){_0x2a930b['isEnabled']=_0x5479e6['enabledCommandsIds']['length']>0x0;for(const _0x1b02ab of _0x2a930b['menuView']['buttons'])_0x1b02ab['isEnabled']=_0x5479e6['enabledCommandsIds']['includes'](_0x1b02ab['id']);}}),_0x282b6d['ui']['componentFactory']['add']('menuBar:aiCommands',_0x6cc77b=>{const _0x25ac1a=new rt(_0x6cc77b);_0x25ac1a['buttonView']['set']({'label':jn(_0x6cc77b,'AI\x20Commands'),'icon':_0x7b402a}),_0x25ac1a['bind']('isEnabled')['to'](_0x5479e6,'enabledCommandsIds',_0x4b369d=>_0x4b369d['length']>0x0);const _0xb7bba1=Un(_0x282b6d['config']['get']('ai.assistant.commands'),_0x6cc77b);return this['_populateMenuBarMenu'](_0x5479e6,_0x25ac1a,_0xb7bba1,_0x398769=>this['_onExecute'](_0x398769)),_0x25ac1a;}),_0x282b6d['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x506493=this['_createAIAssistantUIButton'](_0x2e803a);return _0x506493['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x506493;}),_0x282b6d['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x1b36ac=this['_createAIAssistantUIButton'](ot);return _0x1b36ac['set']({'role':'menuitemcheckbox'}),_0x1b36ac;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6fc933=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x224689;for(const _0x424d43 in _0x6fc933){const _0x4fa047=_0x424d43,_0x12dc3b=_0x6fc933[_0x4fa047];if('aiLicenseKeyValid'==_0x12dc3b||'aiLicenseKeyInvalid'==_0x12dc3b||'aiLicenseKeyExpired'==_0x12dc3b||'aiLicenseKeyDomainLimit'==_0x12dc3b||'aiLicenseKeyNotAllowed'==_0x12dc3b||'aiLicenseKeyEvaluationLimit'==_0x12dc3b||'aiLicenseKeyUsageLimit'==_0x12dc3b){delete _0x6fc933[_0x4fa047],_0x224689=_0x12dc3b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x224689&&_0x6fc933['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x224689&&_0x6fc933['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x224689&&_0x6fc933['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x224689&&_0x6fc933['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x224689&&_0x6fc933['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x224689&&_0x6fc933['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x36d0f0='',_0xbaa524='',_0x4690b8='custom'){const _0x469d25=this['editor'],_0xdd9662=_0x469d25['editing']['view'],_0x7348d4=_0x469d25['plugins']['get'](AIAssistantEditing),_0x139569=_0x469d25['plugins']['get'](_0x5708d5);_0x7348d4['showFakeVisualSelection']();const _0x21dd95=new io(),_0x4a897c=new ClipboardEvent('copy',{'clipboardData':_0x21dd95}),_0x5e9b1c=new _0x340090(_0x21dd95),_0x5d9655=new _0x443eb2(_0xdd9662,_0x4a897c,{'dataTransfer':_0x5e9b1c});_0x139569['_forceMarkersCopy']('comment',()=>{_0xdd9662['document']['fire']('copy',_0x5d9655);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x469d25,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x2d6936=_0x5e9b1c['getData']('text/html');const _0x505b3e=_0x469d25['model']['document']['selection'],_0x434fc5=Array['from'](_0x505b3e['getRanges']());0x1===_0x434fc5['length']&&_0x434fc5[0x0]['isFlat']&&!_0x505b3e['getSelectedElement']()&&''!==_0x2d6936['replace'](/&nbsp;/g,'')['trim']()&&(_0x2d6936='<p>'+_0x2d6936+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x4690b8,'query':_0x36d0f0,'htmlContent':_0x2d6936,'label':_0xbaa524,'mainActionLabel':Zn[_0x469d25['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x53e4a9,'title':jn(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':at['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x7348d4['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x1dff6b=new Map(),_0x3c75c0=Un(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x303276 of _0x3c75c0)for(const _0x4db18a of _0x303276['commands'])_0x1dff6b['set'](_0x4db18a['id'],{..._0x4db18a,'groupId':_0x303276['groupId'],'groupLabel':_0x303276['groupLabel']||_0x303276['groupId']});return _0x1dff6b;}['_createAIAssistantUIButton'](_0x383418){const _0x247678=this['editor'],_0x5a855f=_0x247678['commands']['get']('showAIAssistant'),_0x12ba4a=new _0x383418(_0x247678['locale']);return _0x12ba4a['set']({'label':jn(_0x247678['locale'],'AI\x20Assistant'),'icon':_0x53e4a9,'isToggleable':!0x0}),_0x12ba4a['bind']('isEnabled')['to'](_0x5a855f),_0x12ba4a['bind']('isOn')['to'](this['_dialog'],'id',_0x11d64a=>'aiAssistant'===_0x11d64a),this['listenTo'](_0x12ba4a,'execute',()=>{_0x12ba4a['isOn']?this['hideUI']():_0x5a855f['execute']();}),_0x12ba4a;}['_initView'](){const _0x18f0b2=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',()=>{_0x18f0b2['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x18f0b2['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x3fd69f,ui:{ariaLiveAnnouncer:_0xf1203a}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x51b035,_0x336991,_0x3371e0)=>{const _0x361354=this['_aiAssistantController']['currentContext'];_0x3371e0?_0xf1203a['announce'](jn(_0x3fd69f,'AI\x20is\x20writing')):_0x361354&&_0xf1203a['announce'](jn(_0x3fd69f,'Generated\x20content:\x20%0',_0x361354),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x12c747,_0x19dd88,_0x201c9c)=>{if(_0x201c9c){const _0x2d59f8=this['_formView']['errorView']['text'];_0xf1203a['announce'](jn(_0x3fd69f,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2d59f8));}});}['_onExecute'](_0x41e887){const _0x19a8aa=this['_commandDefinitions']['get'](_0x41e887),_0x3e55aa=this['editor'],_0x40b872=_0x3e55aa['model']['document']['selection'],_0x1e7f0c=_0x3e55aa['commands']['get']('showAIAssistant'),_0x39d81b=_0x3e55aa['plugins']['get'](AIAssistantEditing),_0x2a76c6=''+(_0x19a8aa['groupId']!==Vn?_0x19a8aa['groupLabel']+':\x20':'')+_0x19a8aa['label'];if(!0x1!==_0x19a8aa['requiresContent']&&_0x40b872['isCollapsed']){const _0x594e6b=_0x556601(_0x40b872['getSelectedBlocks']())||_0x3e55aa['model']['schema']['getLimitElement'](_0x40b872);_0x3e55aa['model']['change'](_0x17a99b=>{_0x17a99b['setSelection'](_0x594e6b,'in');});}_0x39d81b['showFakeVisualSelection'](),_0x1e7f0c['execute'](_0x19a8aa['prompt'],_0x2a76c6,'command:'+_0x41e887);}['_populateMenuBarMenu'](_0x3a1575,_0x565262,_0x479f8c,_0x480658){const _0x431c69=this['editor'],_0x474ba6=_0x431c69['locale'],_0x4353a9=new ct(_0x474ba6),_0x260b83=no(_0x431c69,_0x479f8c)['filter'](_0x166bdd=>_0x166bdd['commands']['length']);0x1===_0x260b83['length']?this['_getMenuBarGroupButtons']({'command':_0x3a1575,'commands':_0x260b83[0x0]['commands'],'parentMenuView':_0x565262,'onExecute':_0x480658})['forEach'](_0x34595e=>_0x4353a9['items']['add'](_0x34595e)):_0x260b83['forEach'](({groupId:_0x3b9436,groupLabel:_0x128152,commands:_0x9e4c0b})=>{const _0x1ec36d=new lt(_0x474ba6,_0x565262),_0x1e0cce=new rt(_0x474ba6),_0x2a2985=new ct(_0x474ba6),_0x4b7c12=this['_getMenuBarGroupButtons']({'command':_0x3a1575,'commands':_0x9e4c0b,'parentMenuView':_0x1e0cce,'onExecute':_0x480658});_0x1e0cce['buttonView']['set']({'label':_0x128152||_0x3b9436}),_0x1e0cce['delegate']('execute')['to'](_0x565262),_0x2a2985['items']['addMany'](_0x4b7c12),_0x1e0cce['panelView']['children']['add'](_0x2a2985),_0x1ec36d['children']['add'](_0x1e0cce),_0x4353a9['items']['add'](_0x1ec36d);}),_0x565262['panelView']['children']['add'](_0x4353a9);}['_getMenuBarGroupButtons']({command:_0x16f544,commands:_0x4c0d04,parentMenuView:_0x1fa963,onExecute:_0x3143e1}){const _0x58a329=this['editor'],_0x2922ba=_0x58a329['locale'];return no(_0x58a329,_0x4c0d04)['map'](_0x34dece=>{const _0x2560b8=new lt(_0x2922ba,_0x1fa963),_0x51a8bd=new ot(_0x2922ba);return _0x51a8bd['set']({'label':_0x34dece['label']}),_0x51a8bd['delegate']('execute')['to'](_0x1fa963),_0x51a8bd['on']('execute',()=>_0x3143e1(_0x34dece['id'])),_0x51a8bd['bind']('isEnabled')['to'](_0x16f544,'enabledCommandsIds',_0x56f958=>_0x56f958['includes'](_0x34dece['id'])),_0x2560b8['children']['add'](_0x51a8bd),_0x2560b8;});}}function so(_0x590830,_0xf90960){return void 0x0!==_0x590830['order']&&void 0x0===_0xf90960['order']?0x1:void 0x0===_0x590830['order']&&void 0x0!==_0xf90960['order']?-0x1:void 0x0!==_0x590830['order']&&void 0x0!==_0xf90960['order']?_0x590830['order']-_0xf90960['order']:0x0;}function no(_0x99add0,_0x27b811){_0x27b811['sort'](so);const _0x1c5da4={},_0x3e32d0=[];for(const _0x471225 of _0x27b811)if(void 0x0!==_0x471225['order']){if(_0x471225['order']in _0x1c5da4)throw new _0x37fbfa('ai-commands-config-order-collision',_0x99add0,{'conflictingDefinitions':[_0x471225,_0x1c5da4[_0x471225['order']]]});_0x1c5da4[_0x471225['order']]=_0x471225,_0x3e32d0['splice'](_0x471225['order'],0x0,_0x471225);}else _0x3e32d0['push'](_0x471225);return _0x3e32d0;}class AIAssistant extends _0x13517b{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x12da70){super(_0x12da70);const _0x39606e=_0x12da70['config'],_0x59c56c=_0x12da70['locale'];_0x39606e['define']('ai.assistant.preserveComments',!0x0),_0x39606e['define']('ai.assistant.commands',ro(_0x59c56c)),_0x39606e['define']('ai.assistant.extraCommandGroups',[]),_0x39606e['define']('ai.assistant.removeCommands',[]);let _0x2d489b=Un(_0x39606e['get']('ai.assistant.commands'),_0x59c56c);const _0x115064=_0x39606e['get']('ai.assistant.extraCommandGroups'),_0x3a56f2=_0x39606e['get']('ai.assistant.removeCommands');_0x115064['forEach'](_0x5af589=>{const _0x186d9f=_0x2d489b['find'](_0x51d3e3=>_0x51d3e3['groupId']===_0x5af589['groupId']);_0x186d9f?_0x186d9f['commands']=_0x186d9f['commands']['concat'](_0x5af589['commands']):_0x2d489b['push'](_0x5af589);}),_0x2d489b=_0x2d489b['filter'](_0x236eb4=>!_0x3a56f2['includes'](_0x236eb4['groupId'])),_0x2d489b['forEach'](_0x187d33=>{_0x187d33['commands']=_0x187d33['commands']['filter'](_0x4d4a2a=>!_0x3a56f2['includes'](_0x4d4a2a['id']));}),_0x39606e['set']('ai.assistant.commands',_0x2d489b);}}function ro(_0x5a5d21){return[{'groupId':'editOrReview','groupLabel':jn(_0x5a5d21,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':jn(_0x5a5d21,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':jn(_0x5a5d21,'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(_0x5a5d21,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':jn(_0x5a5d21,'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(_0x5a5d21,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':jn(_0x5a5d21,'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(_0x5a5d21,'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(_0x5a5d21,'Change\x20tone'),'commands':[{'id':'professional','label':jn(_0x5a5d21,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':jn(_0x5a5d21,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':jn(_0x5a5d21,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':jn(_0x5a5d21,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':jn(_0x5a5d21,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':jn(_0x5a5d21,'Change\x20style'),'commands':[{'id':'business','label':jn(_0x5a5d21,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':jn(_0x5a5d21,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':jn(_0x5a5d21,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':jn(_0x5a5d21,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':jn(_0x5a5d21,'Translate'),'commands':[{'id':'translateEnglish','label':jn(_0x5a5d21,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':jn(_0x5a5d21,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':jn(_0x5a5d21,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':jn(_0x5a5d21,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':jn(_0x5a5d21,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':jn(_0x5a5d21,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':jn(_0x5a5d21,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':jn(_0x5a5d21,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x13517b{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0xd384e){super(_0xd384e),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'](_0x4577fa){return this['sendRequest'](_0x4577fa)['catch'](_0x788322=>{if(_0x788322 instanceof AIRequestError)return Promise['reject'](_0x788322);if('AbortError'==_0x788322['name'])return Promise['resolve']();throw console['error'](_0x788322),new _0x37fbfa('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x1789ea,_0x3e9698){const _0x16848e=this['editor']['locale'],_0x1dc4cd={'Content-Type':'application/json'};if('object'==typeof _0x1789ea)Object['assign'](_0x1dc4cd,_0x1789ea);else{if(_0x1789ea)try{const _0x78f71a=await _0x1789ea(_0x3e9698);Object['assign'](_0x1dc4cd,_0x78f71a);}catch{return Promise['reject'](new AIRequestError(jn(_0x16848e,'AI_ERROR_GET_HEADERS')));}}return _0x1dc4cd;}async['_prepareRequestParameters'](_0x2cabc9,_0x1d1663){const _0x34b979=this['editor']['locale'];if('object'==typeof _0x2cabc9)return _0x2cabc9;try{return await _0x2cabc9(_0x1d1663);}catch{return Promise['reject'](new AIRequestError(jn(_0x34b979,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x2d4b3a){super(_0x2d4b3a),_0x2d4b3a['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x2d4b3a['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x2d4b3a['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x2d4b3a['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x2d4b3a['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x2d4b3a['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x31fe63,context:_0x9265ba,onData:_0x48ab83,actionId:_0x261d3c}){const _0x2c06fa=this['editor']['locale'],_0x20e332=await this['prepareMessages'](_0x31fe63,_0x9265ba,_0x261d3c),_0x1419df=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x261d3c),_0x4de4c3=await this['_prepareRequestParameters'](this['_requestParameters'],_0x261d3c),_0x474adf={'messages':_0x20e332,..._0x4de4c3},_0x1186db={'method':'POST','headers':_0x1419df,'body':JSON['stringify'](_0x474adf),'signal':this['abortController']['signal']},_0xc872bc=await fetch(this['_apiUrl'],_0x1186db);if(_0xc872bc['ok'])return _0x4de4c3['stream']?await this['_readStreamableResponse'](_0xc872bc,_0x48ab83):await this['_readStaticResponse'](_0xc872bc,_0x48ab83),Promise['resolve']();{const _0x32de82=await _0xc872bc['text']();return _0x32de82['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(jn(_0x2c06fa,'AI_ERROR_CONTEXT_LENGTH'))):_0x32de82['includes']('Moderation')?Promise['reject'](new AIRequestError(jn(_0x2c06fa,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x32de82));}}async['prepareMessages'](_0x5d3935,_0x9d81ae,_0x9b1ff5){let _0x17c86a,_0x1acb53;return _0x9d81ae?(_0x17c86a='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.',_0x1acb53='Instruction:\x0a'+_0x5d3935+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x9d81ae):(_0x17c86a='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.',_0x1acb53=_0x5d3935),[{'role':'system','content':_0x17c86a},{'role':'user','content':_0x1acb53}];}async['_readStreamableResponse'](_0x3763eb,_0xbddfb7){const _0x3b0e4c=_0x3763eb['body']['getReader'](),_0x2e558d=new TextDecoder();let _0x4f33c4='',_0x1923c1='',_0x3a19eb='',_0x21f4fb=!0x1;for(;!_0x21f4fb;){const {done:_0x19ef95,value:_0x415495}=await _0x3b0e4c['read'](),_0xc5794e=_0x4f33c4+_0x2e558d['decode'](_0x415495);let _0x4b9754='';_0x21f4fb=_0x19ef95;try{_0x4b9754=this['_cleanUpData'](_0xc5794e),_0x4f33c4='';}catch{_0x4f33c4=_0xc5794e;continue;}_0x1923c1+=_0x4b9754,!_0x21f4fb&&this['_isBufferIncomplete'](_0x1923c1)||_0x1923c1&&(_0x3a19eb+=_0x1923c1,_0x1923c1='',_0xbddfb7(_0x3a19eb));}return Promise['resolve']();}async['_readStaticResponse'](_0x232ac4,_0x2ed7de){return _0x2ed7de((await _0x232ac4['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x5d55c6){const _0x4c0a9b=_0x5d55c6['split']('<')['length']!==_0x5d55c6['split']('>')['length'],_0x29c564=_0x5d55c6['length']<0x1e;return _0x4c0a9b&&_0x29c564;}['_cleanUpData'](_0xb9ca5c){return _0xb9ca5c['split'](/\n(?![^{]*\})/g)['map'](_0x3cf064=>_0x3cf064['replace']('data:\x20',''))['filter'](_0x3bd2ef=>_0x3bd2ef&&_0x3bd2ef['length']>0x0&&'[DONE]'!==_0x3bd2ef)['map'](_0x246c2b=>{const {choices:_0x162a0d}=JSON['parse'](_0x246c2b);if(_0x162a0d[0x0]?.['delta']?.['content'])return _0x162a0d[0x0]['delta']['content'];})['filter'](_0x28363e=>_0x28363e)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0xd86012('ai-aws-adapter-not-supported');}async['sendRequest'](_0x3b835d){throw _0x4b942a('ai-aws-adapter-not-supported'),new AIRequestError(jn(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}}class TabButtonView extends _0x2e803a{constructor(_0x5311d4,_0x3e753f={}){super(_0x5311d4),this['isToggleable']=!0x0,this['set']('side',_0x3e753f['side']||'top');const _0x270e7a=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x1cc600(_0x3e753f['class']||[]),_0x270e7a['to']('side',_0x49dd7b=>'ck-tab-button_'+_0x49dd7b),_0x270e7a['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class TabPanelView extends _0x3989d4{['children'];constructor(_0x1cc003,_0xaefcb5={}){super(_0x1cc003);const _0x4d0767=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',..._0x1cc600(_0xaefcb5['class']||[]),_0x4d0767['to']('class'),_0x4d0767['if']('isVisible','ck-hidden',_0x48bf2f=>!_0x48bf2f)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class AITabsView extends _0x3989d4{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x384d6f,_0x473a36={}){super(_0x384d6f),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x473a36['side']||'top'),this['set']('isMaximized',!0x1);const _0x29f1cd=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x1cc600(_0x473a36['class']||[]),_0x29f1cd['to']('side',_0x18b697=>'ck-tabs_'+_0x18b697),_0x29f1cd['to']('class'),_0x29f1cd['to']('isMaximized',_0x114498=>_0x114498?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x29f1cd['to']('side',_0x4788ad=>'ck-tabs__buttons-container_'+_0x4788ad)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x29f1cd['to']('side',_0x5d900c=>'ck-tabs__panels-container_'+_0x5d900c)]},'children':this['panelViews']},..._0x1cc600(_0x473a36['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x648e6b){const _0x2c9fda=this['_tabs']['get'](_0x648e6b);return _0x2c9fda||null;}['addTab'](_0x503b3f){const _0x3648c1=this['_setupButton']({'id':_0x503b3f['id'],'label':_0x503b3f['buttonLabel'],'icon':_0x503b3f['buttonIcon'],'order':_0x503b3f['order']}),_0x4464b3=new TabPanelView(this['locale']);return _0x4464b3['render'](),_0x503b3f['content']&&_0x4464b3['children']['add'](_0x503b3f['content']),this['panelViews']['add'](_0x4464b3),this['_tabs']['set'](_0x503b3f['id'],{'button':_0x3648c1,'panel':_0x4464b3,'order':void 0x0!==_0x503b3f['order']?_0x503b3f['order']:null}),this['fire']('addTab:'+_0x503b3f['id'],{'id':_0x503b3f['id'],'button':_0x3648c1,'panel':_0x4464b3}),null===this['activeTab']?this['activateTab'](_0x503b3f['id']):this['_hidePanel'](_0x503b3f['id']),{'button':_0x3648c1,'panel':_0x4464b3};}['activateTab'](_0x628a5c){if(null!==_0x628a5c&&!this['getTab'](_0x628a5c))throw new _0x37fbfa('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x628a5c});this['activeTab']!==_0x628a5c&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x628a5c,_0x628a5c&&this['_showPanel'](_0x628a5c),this['fire']('activateTab:'+_0x628a5c,_0x628a5c));}['showTab'](_0x3328e7){if(!this['getTab'](_0x3328e7))throw new _0x37fbfa('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x3328e7});this['_showPanel'](_0x3328e7),this['_showButton'](_0x3328e7),this['fire']('show:'+_0x3328e7,_0x3328e7);}['hideTab'](_0x5519ef){if(!this['getTab'](_0x5519ef))throw new _0x37fbfa('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x5519ef});const _0x8ab1c6=this['activeTab'];this['_hidePanel'](_0x5519ef),this['_hideButton'](_0x5519ef);const _0x1deaee=this['getTabIds']();_0x8ab1c6===_0x5519ef&&_0x1deaee['length']>0x1&&this['activateTab'](_0x1deaee['find'](_0x297785=>_0x297785!==_0x5519ef)),this['fire']('hide:'+_0x5519ef,_0x5519ef);}['_getPanel'](_0x4015fe){const _0x575905=this['_tabs']['get'](_0x4015fe);return _0x575905?_0x575905['panel']:null;}['_showPanel'](_0x457e40){null!==this['activeTab']&&this['activeTab']!==_0x457e40||this['_getPanel'](_0x457e40)['show']();}['_hidePanel'](_0x57ebbb){const _0x4d6b1d=this['_getPanel'](_0x57ebbb);_0x4d6b1d['isVisible']&&(this['activeTab']===_0x57ebbb&&(this['activeTab']=null),_0x4d6b1d['hide']());}['_getButton'](_0x3f1975){const _0x52450c=this['_tabs']['get'](_0x3f1975);return _0x52450c?_0x52450c['button']:null;}['_showButton'](_0x4ce06a){this['_getButton'](_0x4ce06a)['show']();}['_hideButton'](_0x5955ba){this['_getButton'](_0x5955ba)['hide']();}['_setupButton'](_0x1c319c){const _0x22f8f8=new TabButtonView(this['locale'],{'side':this['side']}),_0x330e8a=this['buttonViews'];if(_0x22f8f8['set']({'label':_0x1c319c['label'],'icon':_0x1c319c['icon'],'tooltip':!0x0,'withText':!0x0}),_0x22f8f8['bind']('isOn')['to'](this,'activeTab',_0x571b0f=>_0x571b0f===_0x1c319c['id']),_0x22f8f8['bind']('side')['to'](this,'side'),_0x1c319c['order']){const _0x517706=[...this['_tabs']]['reduce']((_0xf7ce0,_0x4ad3b5)=>{const _0x10aa32=_0x4ad3b5[0x0],{order:_0x1847be}=_0x4ad3b5[0x1];return!_0x1847be||_0x1847be>_0x1c319c['order']?_0xf7ce0:_0x1847be>=_0xf7ce0['order']?{'id':_0x10aa32,'order':_0x1847be}:_0xf7ce0;},{'id':'','order':0x0}),_0x12bacf=_0x330e8a['getIndex'](this['_getButton'](_0x517706['id']));_0x330e8a['add'](_0x22f8f8,_0x12bacf+0x1);}else _0x330e8a['add'](_0x22f8f8);return _0x22f8f8['on']('execute',()=>{this['activateTab'](_0x1c319c['id']);}),_0x22f8f8;}}const oo=['overlay','sidebar','custom'],ao=['left','right'];class AITabsMainView extends AITabsView{constructor(_0x3cb240,_0x376cda={}){super(_0x3cb240,_0x376cda),this['set']('type',_0x376cda['type']||'sidebar'),this['set']('side',_0x376cda['side']||'right'),this['set']('isVisible',_0x376cda['visibleByDefault']??!0x0);const _0x69278c=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x69278c['if']('type','ck-ai-tabs__overlay',_0x4109a1=>'overlay'===_0x4109a1),_0x69278c['if']('type','ck-ai-tabs__sidebar',_0x43b813=>'sidebar'===_0x43b813),_0x69278c['if']('isVisible','ck-hidden',_0x29732d=>!_0x29732d)]}}),this['buttonViews']['on']('add',(_0x35050a,_0x3db698)=>{_0x3db698['set']('withText',!0x1);});}}class AITabs extends _0x13e428{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1735ac){super(_0x1735ac);const _0x3d8853=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x3d8853)throw new _0x37fbfa('ai-tabs-configuration-not-found');if(void 0x0!==_0x3d8853['showResizeButton']&&(this['showResizeButton']=_0x3d8853['showResizeButton']),'sidebar'!==_0x3d8853['type']&&'overlay'!==_0x3d8853['type']||_0x3d8853['side']&&(this['side']=_0x3d8853['side']),'sidebar'===_0x3d8853['type']){if(this['container']=_0x3d8853['element'],this['set']('type','sidebar'),!this['container'])throw new _0x37fbfa('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x3d8853['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===_0x3d8853['visibleByDefault']||_0x3d8853['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 _0xadff6a&&this['context']['ui']['focusTracker']['add'](this['view']['element']);}['switchType'](_0x3acca4){if(_0x3acca4&&this['type']!==_0x3acca4){if(!oo['includes'](_0x3acca4))throw new _0x37fbfa('ai-tabs-unsupported-ui-type');this['type']=_0x3acca4;}}['switchSide'](_0x3211df){if(_0x3211df&&this['side']!==_0x3211df){if(!ao['includes'](_0x3211df))throw new _0x37fbfa('ai-tabs-unsupported-ui-side');this['side']=_0x3211df;}}['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(_0x117b45,_0x3773bb){super(_0x117b45),this['name']='ParseError',this['type']=_0x3773bb['type'],this['field']=_0x3773bb['field'],this['value']=_0x3773bb['value'],this['line']=_0x3773bb['line'];}}function co(_0x6f45ad){}function lo(_0x35f26b){if('function'==typeof _0x35f26b)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x4f2de0=co,onError:_0x25595c=co,onRetry:_0x49b3ab=co,onComment:_0x2c45cd}=_0x35f26b;let _0x3f745c,_0x5036bd='',_0x52272c=!0x0,_0x5e166a='',_0x5e47e6='';function _0x2a9f86(_0x542068){if(''===_0x542068)return _0x5e166a['length']>0x0&&_0x4f2de0({'id':_0x3f745c,'event':_0x5e47e6||void 0x0,'data':_0x5e166a['endsWith']('\x0a')?_0x5e166a['slice'](0x0,-0x1):_0x5e166a}),_0x3f745c=void 0x0,_0x5e166a='',void(_0x5e47e6='');if(_0x542068['startsWith'](':'))return void(_0x2c45cd&&_0x2c45cd(_0x542068['slice'](_0x542068['startsWith'](':\x20')?0x2:0x1)));const _0x5d479b=_0x542068['indexOf'](':');if(-0x1!==_0x5d479b){const _0x2ab03f=_0x542068['slice'](0x0,_0x5d479b),_0x14200b='\x20'===_0x542068[_0x5d479b+0x1]?0x2:0x1;return void _0x5a78fb(_0x2ab03f,_0x542068['slice'](_0x5d479b+_0x14200b),_0x542068);}_0x5a78fb(_0x542068,'',_0x542068);}function _0x5a78fb(_0x46c86e,_0x3146df,_0x170d1b){switch(_0x46c86e){case'event':_0x5e47e6=_0x3146df;break;case'data':_0x5e166a=''+_0x5e166a+_0x3146df+'\x0a';break;case'id':_0x3f745c=_0x3146df['includes']('\x00')?void 0x0:_0x3146df;break;case'retry':/^\d+$/['test'](_0x3146df)?_0x49b3ab(parseInt(_0x3146df,0xa)):_0x25595c(new ParseError('Invalid\x20`retry`\x20value:\x20\x22'+_0x3146df+'\x22',{'type':'invalid-retry','value':_0x3146df,'line':_0x170d1b}));break;default:_0x25595c(new ParseError('Unknown\x20field\x20\x22'+(_0x46c86e['length']>0x14?_0x46c86e['slice'](0x0,0x14)+'…':_0x46c86e)+'\x22',{'type':'unknown-field','field':_0x46c86e,'value':_0x3146df,'line':_0x170d1b}));}}return{'feed':function(_0x151114){const _0x3d444e=_0x52272c?_0x151114['replace'](/^\xEF\xBB\xBF/,''):_0x151114,[_0x19d93a,_0x27b200]=function(_0x1b6927){const _0x415461=[];let _0x475f50='',_0x444d51=0x0;for(;_0x444d51<_0x1b6927['length'];){const _0x42c7d3=_0x1b6927['indexOf']('\x0d',_0x444d51),_0x35bae1=_0x1b6927['indexOf']('\x0a',_0x444d51);let _0x1d2add=-0x1;if(-0x1!==_0x42c7d3&&-0x1!==_0x35bae1?_0x1d2add=Math['min'](_0x42c7d3,_0x35bae1):-0x1!==_0x42c7d3?_0x1d2add=_0x42c7d3:-0x1!==_0x35bae1&&(_0x1d2add=_0x35bae1),-0x1===_0x1d2add){_0x475f50=_0x1b6927['slice'](_0x444d51);break;}{const _0x2f0545=_0x1b6927['slice'](_0x444d51,_0x1d2add);_0x415461['push'](_0x2f0545),_0x444d51=_0x1d2add+0x1,'\x0d'===_0x1b6927[_0x444d51-0x1]&&'\x0a'===_0x1b6927[_0x444d51]&&_0x444d51++;}}return[_0x415461,_0x475f50];}(''+_0x5036bd+_0x3d444e);for(const _0x4d4539 of _0x19d93a)_0x2a9f86(_0x4d4539);_0x5036bd=_0x27b200,_0x52272c=!0x1;},'reset':function(_0x34c190={}){_0x5036bd&&_0x34c190['consume']&&_0x2a9f86(_0x5036bd),_0x52272c=!0x0,_0x3f745c=void 0x0,_0x5e166a='',_0x5e47e6='',_0x5036bd='';}};}class AIConnector extends _0x13e428{['_apiUrl'];['_token'];['_decoder'];static get['requires'](){return['CloudServices'];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3556a4){super(_0x3556a4),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 _0x266772=this['context']['plugins']['get']('CloudServices');if(!_0x266772['token'])throw new _0x37fbfa('ai-missing-token',this);this['_token']=_0x266772['token'];}['startConversation'](_0x631ca6,_0x5c8e8d){const _0x457415=this['_sendApiRequest']('/conversations','POST',{'id':_0x631ca6,'group':_0x5c8e8d});return{'getConversation':async()=>(await _0x457415['request'])['json'](),'abortController':_0x457415['abortController']};}['queryAssistant']({message:_0x48a01c,conversationId:_0x3834f0,parts:_0x33c530,capabilities:_0x456701,model:_0x37ff08,attributes:_0x211c9f}){const _0x289dac={'prompt':_0x48a01c,'content':_0x33c530,'model':_0x37ff08,..._0x456701&&{'capabilities':_0x456701},..._0x211c9f&&{'attributes':_0x211c9f}},_0x199990=this['_sendApiRequest']('/conversations/'+_0x3834f0+'/messages','POST',_0x289dac);return{'getStream':async()=>{const _0xdf9089=(await _0x199990['request'])['body'];return this['_getStreamReader'](_0xdf9089);},'abortController':_0x199990['abortController']};}['executeCustomAction']({content:_0x2a5350,message:_0x3d8eea,model:_0x46dbff,outputFormat:_0x194576}){const _0xbade93={'content':[{'type':'text','content':_0x2a5350}],'prompt':_0x3d8eea,'model':_0x46dbff,'outputFormat':_0x194576},_0x456c89=this['_sendApiRequest']('/actions/custom/calls','POST',_0xbade93);return{'getStream':async()=>{const _0x4a1d=(await _0x456c89['request'])['body'];return this['_getStreamReader'](_0x4a1d);},'abortController':_0x456c89['abortController']};}['executeAction']({actionName:_0x37e116,content:_0x3e6eec,args:_0x51826f}){const _0x3e593a={'content':[{'type':'text','content':_0x3e6eec}],'args':_0x51826f},_0x2ddca5=this['_sendApiRequest']('/actions/system/'+_0x37e116+'/calls','POST',_0x3e593a);return{'getStream':async()=>{const _0x15a4eb=(await _0x2ddca5['request'])['body'];return this['_getStreamReader'](_0x15a4eb);},'abortController':_0x2ddca5['abortController']};}['uploadFile'](_0x1a2b19,_0x525ec3,_0x3a5d89){const _0x36583c=new FormData();_0x36583c['append']('file',_0x525ec3,_0x525ec3['name']),_0x3a5d89&&_0x36583c['append']('attributes',JSON['stringify'](_0x3a5d89));const _0x25c9fd=this['_sendApiRequest']('/conversations/'+_0x1a2b19+'/files','POST',_0x36583c);return{'getId':async()=>(await _0x25c9fd['request'])['json'](),'abortController':_0x25c9fd['abortController']};}['fetchDocument'](_0x30a087,_0x6ef1c2){const _0x5e333f=this['_sendApiRequest']('/conversations/'+_0x30a087+'/documents/'+_0x6ef1c2,'GET');return{'getDocument':async()=>(await _0x5e333f['request'])['json'](),'abortController':_0x5e333f['abortController']};}['uploadDocument'](_0x1f9d03,_0x2a52fe,_0x3bd643){const _0xb6dda7={'content':_0x2a52fe};_0x3bd643&&(_0xb6dda7['attributes']=_0x3bd643);const _0x233ffd=this['_sendApiRequest']('/conversations/'+_0x1f9d03+'/documents','POST',_0xb6dda7);return{'getId':async()=>(await _0x233ffd['request'])['json'](),'abortController':_0x233ffd['abortController']};}['fetchConversations'](_0x2eb038,_0x23bb25={}){const _0x5a4330=new URLSearchParams();_0x5a4330['append']('group',_0x2eb038),_0x5a4330['append']('excludeEmpty',!0x1!==_0x23bb25['excludeEmpty']?'true':'false'),_0x5a4330['append']('limit',_0x23bb25['limit']?_0x23bb25['limit']['toString']():'100'),_0x5a4330['append']('sortBy',_0x23bb25['sortBy']?_0x23bb25['sortBy']:'createdAt'),_0x5a4330['append']('order',_0x23bb25['order']?_0x23bb25['order']:'desc');const _0x5cbe4e=this['_sendApiRequest']('/conversations?'+_0x5a4330['toString'](),'GET');return{'getConversations':async()=>{const _0x536bae=await _0x5cbe4e['request'];return(await _0x536bae['json']())['items'];},'abortController':_0x5cbe4e['abortController']};}['deleteConversation'](_0x268a79){const _0xf471a3=this['_sendApiRequest']('/conversations/'+_0x268a79,'DELETE');return{'execute':async()=>{await _0xf471a3['request'];},'abortController':_0xf471a3['abortController']};}['updateConversation'](_0x18deaf,_0x4c270f){const _0x50de4f=this['_sendApiRequest']('/conversations/'+_0x18deaf,'PATCH',_0x4c270f);return{'getResult':async()=>(await _0x50de4f['request'],_0x4c270f),'abortController':_0x50de4f['abortController']};}['fetchConversation'](_0x300e03){const _0x3f267f=this['_sendApiRequest']('/conversations/'+_0x300e03,'GET');return{'getConversation':async()=>(await _0x3f267f['request'])['json'](),'abortController':_0x3f267f['abortController']};}['fetchConversationMessages'](_0x27fa3f){const _0x583807=this['_sendApiRequest']('/conversations/'+_0x27fa3f+'/messages','GET');return{'getMessages':async()=>{const _0x3f14dc=await _0x583807['request'];return(await _0x3f14dc['json']())['items'];},'abortController':_0x583807['abortController']};}['uploadUrl'](_0x350067,_0x446ae7,_0x1f23bd){const _0x1d4f4c=this['_sendApiRequest']('/conversations/'+_0x350067+'/web-resources','POST',{'url':_0x446ae7,'attributes':_0x1f23bd});return{'getId':async()=>(await _0x1d4f4c['request'])['json'](),'abortController':_0x1d4f4c['abortController']};}['getModels'](_0x5e9ab2='en'){const _0x330de0=new URLSearchParams();_0x330de0['append']('language',_0x5e9ab2);const _0x5434b1='/models/1?'+_0x330de0['toString'](),_0x2b6eb5=this['_sendApiRequest'](_0x5434b1,'GET');return{'list':async()=>await(await _0x2b6eb5['request'])['json'](),'abortController':_0x2b6eb5['abortController']};}['deleteFile'](_0x3b4236,_0xadf1c5){const _0x4adab6=this['_sendApiRequest']('/conversations/'+_0x3b4236+'/files/'+_0xadf1c5,'DELETE');return{'execute':async()=>{await _0x4adab6['request'];},'abortController':_0x4adab6['abortController']};}['deleteDocument'](_0x2fbfce,_0x20dbe9){const _0x4145db=this['_sendApiRequest']('/conversations/'+_0x2fbfce+'/documents/'+_0x20dbe9,'DELETE');return{'execute':async()=>{await _0x4145db['request'];},'abortController':_0x4145db['abortController']};}['deleteWebResource'](_0x3db798,_0x67c65a){const _0x408193=this['_sendApiRequest']('/conversations/'+_0x3db798+'/web-resources/'+_0x67c65a,'DELETE');return{'execute':async()=>{await _0x408193['request'];},'abortController':_0x408193['abortController']};}['callSystemReview']({reviewName:_0x2b4139,content:_0x1d9f75,args:_0x5a6964}){const _0x58c808=this['_sendApiRequest']('/reviews/system/'+_0x2b4139+'/calls','POST',{'content':[{'type':'text','content':_0x1d9f75}],'args':_0x5a6964});return{'getStream':async()=>{const _0x12d4a1=(await _0x58c808['request'])['body'];return this['_getStreamReader'](_0x12d4a1);},'abortController':_0x58c808['abortController']};}['callCustomReview']({content:_0x1a8d87,prompt:_0x5c3fa1,model:_0x5498fe}){const _0x2999ff=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x1a8d87}],'prompt':_0x5c3fa1,'model':_0x5498fe});return{'getStream':async()=>{const _0x50429a=(await _0x2999ff['request'])['body'];return this['_getStreamReader'](_0x50429a);},'abortController':_0x2999ff['abortController']};}['upsertAIChatRating'](_0x412ee2,_0xa73acb,_0x170654){const _0x1ff64c=this['_sendApiRequest']('/conversations/'+_0x412ee2+'/messages/'+_0xa73acb+'/ratings','PUT',{'positiveCount':_0x170654['positiveCount'],'totalCount':_0x170654['totalCount'],'modificationId':_0x170654['modificationId']});return{'execute':async()=>{await _0x1ff64c['request'];},'abortController':_0x1ff64c['abortController']};}['upsertAIActionRating'](_0x1ad1f4,_0x5a7659,_0x2ecace){const _0x29b41f=this['_sendApiRequest']('/actions/system/'+_0x1ad1f4+'/calls/'+_0x5a7659+'/ratings','PUT',{'positiveCount':_0x2ecace['positiveCount'],'totalCount':_0x2ecace['totalCount']});return{'execute':async()=>{await _0x29b41f['request'];},'abortController':_0x29b41f['abortController']};}['upsertCustomAIActionRating'](_0x1652ab,_0x3334bd){const _0x32701c=this['_sendApiRequest']('/actions/custom/calls/'+_0x1652ab+'/ratings','PUT',{'positiveCount':_0x3334bd['positiveCount'],'totalCount':_0x3334bd['totalCount']});return{'execute':async()=>{await _0x32701c['request'];},'abortController':_0x32701c['abortController']};}['upsertAIReviewRating'](_0x554952,_0x4ff096,_0x3854be,_0x3bcbc4){const _0x5824e1=this['_sendApiRequest']('/reviews/system/'+_0x554952+'/calls/'+_0x4ff096+'/ratings','PUT',{'positiveCount':_0x3854be['positiveCount'],'totalCount':_0x3854be['totalCount'],'dataId':_0x3bcbc4});return{'execute':async()=>{await _0x5824e1['request'];},'abortController':_0x5824e1['abortController']};}['upsertCustomAIReviewRating'](_0x4aa6fd,_0x1dfe3b,_0x10a7f6){const _0x575d49=this['_sendApiRequest']('/reviews/custom/calls/'+_0x4aa6fd+'/ratings','PUT',{'positiveCount':_0x1dfe3b['positiveCount'],'totalCount':_0x1dfe3b['totalCount'],'dataId':_0x10a7f6});return{'execute':async()=>{await _0x575d49['request'];},'abortController':_0x575d49['abortController']};}['_sendApiRequest'](_0x3507d3,_0x43edf3,_0x4be8e7){const _0x1ebbe7=new AbortController(),_0x57e064=_0x4be8e7 instanceof FormData,_0x464d0b={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x4be8e7&&!_0x57e064&&(_0x464d0b['Content-Type']='application/json');const _0x1efc9d={'method':_0x43edf3,'headers':_0x464d0b,'signal':_0x1ebbe7['signal']};_0x4be8e7&&(_0x1efc9d['body']=_0x57e064?_0x4be8e7:JSON['stringify'](_0x4be8e7));const _0x465677=fetch(''+this['_apiUrl']+_0x3507d3,_0x1efc9d)['catch'](_0x7e064d=>{this['_handleError'](_0x7e064d);})['then'](_0xb5860d=>_0xb5860d['ok']?_0xb5860d:_0xb5860d['json']()['then'](_0x2f3e92=>{throw{'url':this['_apiUrl'],'path':_0x3507d3,'method':_0x43edf3,'body':_0x4be8e7,'status':(_0xb5860d||{})['status'],'statusText':(_0xb5860d||{})['statusText'],'code':_0x2f3e92['code'],'message':_0x2f3e92['message'],'traceId':_0x2f3e92['traceId']};}));return{'request':_0x465677,'abortController':_0x1ebbe7};}async*['_getStreamReader'](_0xfeca84){const _0x4fef59=[],_0x4f59ba=_0xfeca84['getReader'](),_0x5515ae=lo({'onError':_0x9add8c=>{this['_handleError'](_0x9add8c);},'onEvent':_0xcc42ad=>{_0xcc42ad['data']=JSON['parse'](_0xcc42ad['data']),_0x4fef59['push'](_0xcc42ad);}});try{let _0x3ad520=!0x1;for(;!_0x3ad520;){const {done:_0x2d91df,value:_0x4ac6ac}=await _0x4f59ba['read']();_0x2d91df&&(_0x3ad520=!0x0),_0x5515ae['feed'](this['_decoder']['decode'](_0x4ac6ac,{'stream':!0x0})),yield*_0x4fef59,_0x4fef59['length']=0x0;}}catch(_0x188793){this['_handleError'](_0x188793);}finally{_0x4f59ba['releaseLock'](),_0x5515ae['reset']();}}['_handleError'](_0x1bece5){if(_0x1bece5 instanceof _0x37fbfa)throw _0x1bece5;if(_0x1bece5 instanceof Error&&'AbortError'===_0x1bece5['name'])throw new _0x37fbfa('ai-request-aborted',this,{'originalError':_0x1bece5});throw new _0x37fbfa('ai-request-failed',this,{'originalError':_0x1bece5});}}function ho(_0x24c87f,_0x33957b,_0x2c7ff2){const t=_0x24c87f['t'];switch(_0x33957b){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'},_0x2c7ff2);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.'},_0x2c7ff2);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.'},_0x2c7ff2);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.'},_0x2c7ff2);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'},_0x2c7ff2);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x2c7ff2);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'},_0x2c7ff2);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.'},_0x2c7ff2);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.'},_0x2c7ff2);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.'},_0x2c7ff2);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.'},_0x2c7ff2);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'},_0x2c7ff2);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.'},_0x2c7ff2);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 _0x33957b;}}function uo(_0x3a1bb0,_0x526b4f){const _0xb46948=new _0x2e803a(_0x3a1bb0),_0x5ab322=ho(_0x3a1bb0,'AI_TABS_LABEL_MINIMIZE'),_0x3e22dd=ho(_0x3a1bb0,'AI_TABS_LABEL_MAXIMIZE');return _0xb46948['set']({'withText':!0x1,'icon':_0x3ff389,'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0xb46948['bind']('label')['to'](_0x526b4f,'isMaximized',_0x4bed70=>_0x4bed70?_0x5ab322:_0x3e22dd),_0xb46948['bind']('icon')['to'](_0x526b4f,'isMaximized',_0x162e45=>_0x162e45?_0x4066b2:_0x3ff389),_0xb46948['bind']('isOn')['to'](_0x526b4f,'isMaximized'),_0xb46948['on']('execute',()=>{_0x526b4f['fire']('resizeTabs');}),_0xb46948;}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'](_0x32f34e=>_0x32f34e['charCodeAt'](0x0))),mo=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x34cad8=>_0x34cad8['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(_0x2f56d3){let _0x1e038e='';return _0x2f56d3>0xffff&&(_0x2f56d3-=0x10000,_0x1e038e+=String['fromCharCode'](_0x2f56d3>>>0xa&0x3ff|0xd800),_0x2f56d3=0xdc00|0x3ff&_0x2f56d3),_0x1e038e+=String['fromCharCode'](_0x2f56d3),_0x1e038e;};var wo;!function(_0x2c7315){_0x2c7315[_0x2c7315['NUM']=0x23]='NUM',_0x2c7315[_0x2c7315['SEMI']=0x3b]='SEMI',_0x2c7315[_0x2c7315['EQUALS']=0x3d]='EQUALS',_0x2c7315[_0x2c7315['ZERO']=0x30]='ZERO',_0x2c7315[_0x2c7315['NINE']=0x39]='NINE',_0x2c7315[_0x2c7315['LOWER_A']=0x61]='LOWER_A',_0x2c7315[_0x2c7315['LOWER_F']=0x66]='LOWER_F',_0x2c7315[_0x2c7315['LOWER_X']=0x78]='LOWER_X',_0x2c7315[_0x2c7315['LOWER_Z']=0x7a]='LOWER_Z',_0x2c7315[_0x2c7315['UPPER_A']=0x41]='UPPER_A',_0x2c7315[_0x2c7315['UPPER_F']=0x46]='UPPER_F',_0x2c7315[_0x2c7315['UPPER_Z']=0x5a]='UPPER_Z';}(wo||(wo={}));var bo,yo,_o,vo,To,Eo;function Ao(_0x425299){return _0x425299>=wo['ZERO']&&_0x425299<=wo['NINE'];}function Io(_0x309dbd){return _0x309dbd>=wo['UPPER_A']&&_0x309dbd<=wo['UPPER_F']||_0x309dbd>=wo['LOWER_A']&&_0x309dbd<=wo['LOWER_F'];}function So(_0x3f61cf){return _0x3f61cf===wo['EQUALS']||function(_0x58190c){return _0x58190c>=wo['UPPER_A']&&_0x58190c<=wo['UPPER_Z']||_0x58190c>=wo['LOWER_A']&&_0x58190c<=wo['LOWER_Z']||Ao(_0x58190c);}(_0x3f61cf);}!function(_0x22bc44){_0x22bc44[_0x22bc44['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x22bc44[_0x22bc44['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x22bc44[_0x22bc44['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(bo||(bo={})),function(_0x224c26){_0x224c26[_0x224c26['EntityStart']=0x0]='EntityStart',_0x224c26[_0x224c26['NumericStart']=0x1]='NumericStart',_0x224c26[_0x224c26['NumericDecimal']=0x2]='NumericDecimal',_0x224c26[_0x224c26['NumericHex']=0x3]='NumericHex',_0x224c26[_0x224c26['NamedEntity']=0x4]='NamedEntity';}(yo||(yo={})),function(_0x3df0aa){_0x3df0aa[_0x3df0aa['Legacy']=0x0]='Legacy',_0x3df0aa[_0x3df0aa['Strict']=0x1]='Strict',_0x3df0aa[_0x3df0aa['Attribute']=0x2]='Attribute';}(_o||(_o={}));class EntityDecoder{constructor(_0x412f46,_0x29f234,_0x255ddf){this['decodeTree']=_0x412f46,this['emitCodePoint']=_0x29f234,this['errors']=_0x255ddf,this['state']=yo['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_o['Strict'];}['startEntity'](_0x3beb3d){this['decodeMode']=_0x3beb3d,this['state']=yo['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x3f510c,_0x18435f){switch(this['state']){case yo['EntityStart']:return _0x3f510c['charCodeAt'](_0x18435f)===wo['NUM']?(this['state']=yo['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x3f510c,_0x18435f+0x1)):(this['state']=yo['NamedEntity'],this['stateNamedEntity'](_0x3f510c,_0x18435f));case yo['NumericStart']:return this['stateNumericStart'](_0x3f510c,_0x18435f);case yo['NumericDecimal']:return this['stateNumericDecimal'](_0x3f510c,_0x18435f);case yo['NumericHex']:return this['stateNumericHex'](_0x3f510c,_0x18435f);case yo['NamedEntity']:return this['stateNamedEntity'](_0x3f510c,_0x18435f);}}['stateNumericStart'](_0x11444d,_0x5da897){return _0x5da897>=_0x11444d['length']?-0x1:(0x20|_0x11444d['charCodeAt'](_0x5da897))===wo['LOWER_X']?(this['state']=yo['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x11444d,_0x5da897+0x1)):(this['state']=yo['NumericDecimal'],this['stateNumericDecimal'](_0x11444d,_0x5da897));}['addToNumericResult'](_0x21cf67,_0x5633c1,_0x2a92d5,_0x3a64c3){if(_0x5633c1!==_0x2a92d5){const _0x50d922=_0x2a92d5-_0x5633c1;this['result']=this['result']*Math['pow'](_0x3a64c3,_0x50d922)+Number['parseInt'](_0x21cf67['substr'](_0x5633c1,_0x50d922),_0x3a64c3),this['consumed']+=_0x50d922;}}['stateNumericHex'](_0x23991c,_0x27fdfe){const _0x1d2365=_0x27fdfe;for(;_0x27fdfe<_0x23991c['length'];){const _0x4dc907=_0x23991c['charCodeAt'](_0x27fdfe);if(!Ao(_0x4dc907)&&!Io(_0x4dc907))return this['addToNumericResult'](_0x23991c,_0x1d2365,_0x27fdfe,0x10),this['emitNumericEntity'](_0x4dc907,0x3);_0x27fdfe+=0x1;}return this['addToNumericResult'](_0x23991c,_0x1d2365,_0x27fdfe,0x10),-0x1;}['stateNumericDecimal'](_0x1c6196,_0x1eb5cb){const _0xaa8b74=_0x1eb5cb;for(;_0x1eb5cb<_0x1c6196['length'];){const _0x2140de=_0x1c6196['charCodeAt'](_0x1eb5cb);if(!Ao(_0x2140de))return this['addToNumericResult'](_0x1c6196,_0xaa8b74,_0x1eb5cb,0xa),this['emitNumericEntity'](_0x2140de,0x2);_0x1eb5cb+=0x1;}return this['addToNumericResult'](_0x1c6196,_0xaa8b74,_0x1eb5cb,0xa),-0x1;}['emitNumericEntity'](_0x424c81,_0x4a71d5){var _0x2b7422;if(this['consumed']<=_0x4a71d5)return null===(_0x2b7422=this['errors'])||void 0x0===_0x2b7422||_0x2b7422['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x424c81===wo['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_o['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x21a491){var _0x39aa9d;return _0x21a491>=0xd800&&_0x21a491<=0xdfff||_0x21a491>0x10ffff?0xfffd:null!==(_0x39aa9d=po['get'](_0x21a491))&&void 0x0!==_0x39aa9d?_0x39aa9d:_0x21a491;}(this['result']),this['consumed']),this['errors']&&(_0x424c81!==wo['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x2f83e5,_0x43c2ab){const {decodeTree:_0xec4fca}=this;let _0x1225e9=_0xec4fca[this['treeIndex']],_0x1716d1=(_0x1225e9&bo['VALUE_LENGTH'])>>0xe;for(;_0x43c2ab<_0x2f83e5['length'];_0x43c2ab++,this['excess']++){const _0x52a504=_0x2f83e5['charCodeAt'](_0x43c2ab);if(this['treeIndex']=Co(_0xec4fca,_0x1225e9,this['treeIndex']+Math['max'](0x1,_0x1716d1),_0x52a504),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_o['Attribute']&&(0x0===_0x1716d1||So(_0x52a504))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x1225e9=_0xec4fca[this['treeIndex']],_0x1716d1=(_0x1225e9&bo['VALUE_LENGTH'])>>0xe,0x0!==_0x1716d1){if(_0x52a504===wo['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x1716d1,this['consumed']+this['excess']);this['decodeMode']!==_o['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x2b4400;const {result:_0x462a46,decodeTree:_0x1a0c54}=this,_0x39a1ff=(_0x1a0c54[_0x462a46]&bo['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x462a46,_0x39a1ff,this['consumed']),null===(_0x2b4400=this['errors'])||void 0x0===_0x2b4400||_0x2b4400['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x4ec255,_0x5db4c5,_0x12b8a2){const {decodeTree:_0x35fb83}=this;return this['emitCodePoint'](0x1===_0x5db4c5?_0x35fb83[_0x4ec255]&~bo['VALUE_LENGTH']:_0x35fb83[_0x4ec255+0x1],_0x12b8a2),0x3===_0x5db4c5&&this['emitCodePoint'](_0x35fb83[_0x4ec255+0x2],_0x12b8a2),_0x12b8a2;}['end'](){var _0x484ab3;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===(_0x484ab3=this['errors'])||void 0x0===_0x484ab3||_0x484ab3['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case yo['EntityStart']:return 0x0;}}}function Co(_0x2deb6d,_0x259c41,_0x563cfc,_0x48073a){const _0x543a13=(_0x259c41&bo['BRANCH_LENGTH'])>>0x7,_0x26d68a=_0x259c41&bo['JUMP_TABLE'];if(0x0===_0x543a13)return 0x0!==_0x26d68a&&_0x48073a===_0x26d68a?_0x563cfc:-0x1;if(_0x26d68a){const _0x4a818d=_0x48073a-_0x26d68a;return _0x4a818d<0x0||_0x4a818d>=_0x543a13?-0x1:_0x2deb6d[_0x563cfc+_0x4a818d]-0x1;}let _0x48ecc7=_0x563cfc,_0x35e4b5=_0x48ecc7+_0x543a13-0x1;for(;_0x48ecc7<=_0x35e4b5;){const _0x10505e=_0x48ecc7+_0x35e4b5>>>0x1,_0x5059ac=_0x2deb6d[_0x10505e];if(_0x5059ac<_0x48073a)_0x48ecc7=_0x10505e+0x1;else{if(!(_0x5059ac>_0x48073a))return _0x2deb6d[_0x10505e+_0x543a13];_0x35e4b5=_0x10505e-0x1;}}return-0x1;}function ko(_0x4970f9){return _0x4970f9===vo['Space']||_0x4970f9===vo['NewLine']||_0x4970f9===vo['Tab']||_0x4970f9===vo['FormFeed']||_0x4970f9===vo['CarriageReturn'];}function xo(_0x33049f){return _0x33049f===vo['Slash']||_0x33049f===vo['Gt']||ko(_0x33049f);}!function(_0x5bd130){_0x5bd130[_0x5bd130['Tab']=0x9]='Tab',_0x5bd130[_0x5bd130['NewLine']=0xa]='NewLine',_0x5bd130[_0x5bd130['FormFeed']=0xc]='FormFeed',_0x5bd130[_0x5bd130['CarriageReturn']=0xd]='CarriageReturn',_0x5bd130[_0x5bd130['Space']=0x20]='Space',_0x5bd130[_0x5bd130['ExclamationMark']=0x21]='ExclamationMark',_0x5bd130[_0x5bd130['Number']=0x23]='Number',_0x5bd130[_0x5bd130['Amp']=0x26]='Amp',_0x5bd130[_0x5bd130['SingleQuote']=0x27]='SingleQuote',_0x5bd130[_0x5bd130['DoubleQuote']=0x22]='DoubleQuote',_0x5bd130[_0x5bd130['Dash']=0x2d]='Dash',_0x5bd130[_0x5bd130['Slash']=0x2f]='Slash',_0x5bd130[_0x5bd130['Zero']=0x30]='Zero',_0x5bd130[_0x5bd130['Nine']=0x39]='Nine',_0x5bd130[_0x5bd130['Semi']=0x3b]='Semi',_0x5bd130[_0x5bd130['Lt']=0x3c]='Lt',_0x5bd130[_0x5bd130['Eq']=0x3d]='Eq',_0x5bd130[_0x5bd130['Gt']=0x3e]='Gt',_0x5bd130[_0x5bd130['Questionmark']=0x3f]='Questionmark',_0x5bd130[_0x5bd130['UpperA']=0x41]='UpperA',_0x5bd130[_0x5bd130['LowerA']=0x61]='LowerA',_0x5bd130[_0x5bd130['UpperF']=0x46]='UpperF',_0x5bd130[_0x5bd130['LowerF']=0x66]='LowerF',_0x5bd130[_0x5bd130['UpperZ']=0x5a]='UpperZ',_0x5bd130[_0x5bd130['LowerZ']=0x7a]='LowerZ',_0x5bd130[_0x5bd130['LowerX']=0x78]='LowerX',_0x5bd130[_0x5bd130['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(vo||(vo={})),function(_0x11a848){_0x11a848[_0x11a848['Text']=0x1]='Text',_0x11a848[_0x11a848['BeforeTagName']=0x2]='BeforeTagName',_0x11a848[_0x11a848['InTagName']=0x3]='InTagName',_0x11a848[_0x11a848['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x11a848[_0x11a848['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x11a848[_0x11a848['InClosingTagName']=0x6]='InClosingTagName',_0x11a848[_0x11a848['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x11a848[_0x11a848['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x11a848[_0x11a848['InAttributeName']=0x9]='InAttributeName',_0x11a848[_0x11a848['AfterAttributeName']=0xa]='AfterAttributeName',_0x11a848[_0x11a848['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x11a848[_0x11a848['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x11a848[_0x11a848['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x11a848[_0x11a848['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x11a848[_0x11a848['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x11a848[_0x11a848['InDeclaration']=0x10]='InDeclaration',_0x11a848[_0x11a848['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x11a848[_0x11a848['BeforeComment']=0x12]='BeforeComment',_0x11a848[_0x11a848['CDATASequence']=0x13]='CDATASequence',_0x11a848[_0x11a848['InSpecialComment']=0x14]='InSpecialComment',_0x11a848[_0x11a848['InCommentLike']=0x15]='InCommentLike',_0x11a848[_0x11a848['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x11a848[_0x11a848['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x11a848[_0x11a848['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x11a848[_0x11a848['InSpecialTag']=0x19]='InSpecialTag',_0x11a848[_0x11a848['InEntity']=0x1a]='InEntity';}(To||(To={})),function(_0x425f26){_0x425f26[_0x425f26['NoValue']=0x0]='NoValue',_0x425f26[_0x425f26['Unquoted']=0x1]='Unquoted',_0x425f26[_0x425f26['Single']=0x2]='Single',_0x425f26[_0x425f26['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:_0x51ff7c=!0x1,decodeEntities:_0x59bfd1=!0x0},_0x44ed4b){this['cbs']=_0x44ed4b,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']=_0x51ff7c,this['decodeEntities']=_0x59bfd1,this['entityDecoder']=new EntityDecoder(_0x51ff7c?mo:fo,(_0x89c855,_0x3d4999)=>this['emitCodePoint'](_0x89c855,_0x3d4999));}['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'](_0x2492ce){this['offset']+=this['buffer']['length'],this['buffer']=_0x2492ce,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'](_0x1c7645){_0x1c7645===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']&&_0x1c7645===vo['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x5be0c6){const _0x4d7685=this['sequenceIndex']===this['currentSequence']['length'];if(_0x4d7685?xo(_0x5be0c6):(0x20|_0x5be0c6)===this['currentSequence'][this['sequenceIndex']]){if(!_0x4d7685)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=To['InTagName'],this['stateInTagName'](_0x5be0c6);}['stateInSpecialTag'](_0x26b1d0){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x26b1d0===vo['Gt']||ko(_0x26b1d0)){const _0xf62f79=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0xf62f79){const _0x6f9a04=this['index'];this['index']=_0xf62f79,this['cbs']['ontext'](this['sectionStart'],_0xf62f79),this['index']=_0x6f9a04;}return this['isSpecial']=!0x1,this['sectionStart']=_0xf62f79+0x2,void this['stateInClosingTagName'](_0x26b1d0);}this['sequenceIndex']=0x0;}(0x20|_0x26b1d0)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===Ro['TitleEnd']?this['decodeEntities']&&_0x26b1d0===vo['Amp']&&this['startEntity']():this['fastForwardTo'](vo['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x26b1d0===vo['Lt']);}['stateCDATASequence'](_0x2027fc){_0x2027fc===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'](_0x2027fc));}['fastForwardTo'](_0x21b352){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x21b352)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x178571){_0x178571===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):_0x178571!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x442040){return this['xmlMode']?!xo(_0x442040):function(_0x12d48f){return _0x12d48f>=vo['LowerA']&&_0x12d48f<=vo['LowerZ']||_0x12d48f>=vo['UpperA']&&_0x12d48f<=vo['UpperZ'];}(_0x442040);}['startSpecial'](_0x5cae17,_0xbe426b){this['isSpecial']=!0x0,this['currentSequence']=_0x5cae17,this['sequenceIndex']=_0xbe426b,this['state']=To['SpecialStartSequence'];}['stateBeforeTagName'](_0xef8fc4){if(_0xef8fc4===vo['ExclamationMark'])this['state']=To['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0xef8fc4===vo['Questionmark'])this['state']=To['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0xef8fc4)){const _0xa85778=0x20|_0xef8fc4;this['sectionStart']=this['index'],this['xmlMode']?this['state']=To['InTagName']:_0xa85778===Ro['ScriptEnd'][0x2]?this['state']=To['BeforeSpecialS']:_0xa85778===Ro['TitleEnd'][0x2]||_0xa85778===Ro['XmpEnd'][0x2]?this['state']=To['BeforeSpecialT']:this['state']=To['InTagName'];}else _0xef8fc4===vo['Slash']?this['state']=To['BeforeClosingTagName']:(this['state']=To['Text'],this['stateText'](_0xef8fc4));}}}['stateInTagName'](_0x57258c){xo(_0x57258c)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x57258c));}['stateBeforeClosingTagName'](_0x3b97dc){ko(_0x3b97dc)||(_0x3b97dc===vo['Gt']?this['state']=To['Text']:(this['state']=this['isTagStartChar'](_0x3b97dc)?To['InClosingTagName']:To['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x5ca492){(_0x5ca492===vo['Gt']||ko(_0x5ca492))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=To['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x5ca492));}['stateAfterClosingTagName'](_0x41ab14){(_0x41ab14===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x27e0fc){_0x27e0fc===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):_0x27e0fc===vo['Slash']?this['state']=To['InSelfClosingTag']:ko(_0x27e0fc)||(this['state']=To['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x20a3c7){_0x20a3c7===vo['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=To['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):ko(_0x20a3c7)||(this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x20a3c7));}['stateInAttributeName'](_0x3d2614){(_0x3d2614===vo['Eq']||xo(_0x3d2614))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=To['AfterAttributeName'],this['stateAfterAttributeName'](_0x3d2614));}['stateAfterAttributeName'](_0x512916){_0x512916===vo['Eq']?this['state']=To['BeforeAttributeValue']:_0x512916===vo['Slash']||_0x512916===vo['Gt']?(this['cbs']['onattribend'](Eo['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=To['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x512916)):ko(_0x512916)||(this['cbs']['onattribend'](Eo['NoValue'],this['sectionStart']),this['state']=To['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x504f5c){_0x504f5c===vo['DoubleQuote']?(this['state']=To['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x504f5c===vo['SingleQuote']?(this['state']=To['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):ko(_0x504f5c)||(this['sectionStart']=this['index'],this['state']=To['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x504f5c));}['handleInAttributeValue'](_0x1def3a,_0x47848d){_0x1def3a===_0x47848d||!this['decodeEntities']&&this['fastForwardTo'](_0x47848d)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x47848d===vo['DoubleQuote']?Eo['Double']:Eo['Single'],this['index']+0x1),this['state']=To['BeforeAttributeName']):this['decodeEntities']&&_0x1def3a===vo['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0xdb0fe1){this['handleInAttributeValue'](_0xdb0fe1,vo['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x14e6a3){this['handleInAttributeValue'](_0x14e6a3,vo['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x476c4a){ko(_0x476c4a)||_0x476c4a===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'](_0x476c4a)):this['decodeEntities']&&_0x476c4a===vo['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x2744a1){_0x2744a1===vo['OpeningSquareBracket']?(this['state']=To['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x2744a1===vo['Dash']?To['BeforeComment']:To['InDeclaration'];}['stateInDeclaration'](_0x4fb98e){(_0x4fb98e===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x20db00){(_0x20db00===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x415659){_0x415659===vo['Dash']?(this['state']=To['InCommentLike'],this['currentSequence']=Ro['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=To['InDeclaration'];}['stateInSpecialComment'](_0x2be57c){(_0x2be57c===vo['Gt']||this['fastForwardTo'](vo['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=To['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x5666c7){const _0x535f7b=0x20|_0x5666c7;_0x535f7b===Ro['ScriptEnd'][0x3]?this['startSpecial'](Ro['ScriptEnd'],0x4):_0x535f7b===Ro['StyleEnd'][0x3]?this['startSpecial'](Ro['StyleEnd'],0x4):(this['state']=To['InTagName'],this['stateInTagName'](_0x5666c7));}['stateBeforeSpecialT'](_0x2a86c5){switch(0x20|_0x2a86c5){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'](_0x2a86c5);}}['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 _0x956e17=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x956e17>=0x0?(this['state']=this['baseState'],0x0===_0x956e17&&(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 _0xaaf431=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case To['Text']:this['stateText'](_0xaaf431);break;case To['SpecialStartSequence']:this['stateSpecialStartSequence'](_0xaaf431);break;case To['InSpecialTag']:this['stateInSpecialTag'](_0xaaf431);break;case To['CDATASequence']:this['stateCDATASequence'](_0xaaf431);break;case To['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0xaaf431);break;case To['InAttributeName']:this['stateInAttributeName'](_0xaaf431);break;case To['InCommentLike']:this['stateInCommentLike'](_0xaaf431);break;case To['InSpecialComment']:this['stateInSpecialComment'](_0xaaf431);break;case To['BeforeAttributeName']:this['stateBeforeAttributeName'](_0xaaf431);break;case To['InTagName']:this['stateInTagName'](_0xaaf431);break;case To['InClosingTagName']:this['stateInClosingTagName'](_0xaaf431);break;case To['BeforeTagName']:this['stateBeforeTagName'](_0xaaf431);break;case To['AfterAttributeName']:this['stateAfterAttributeName'](_0xaaf431);break;case To['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0xaaf431);break;case To['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0xaaf431);break;case To['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0xaaf431);break;case To['AfterClosingTagName']:this['stateAfterClosingTagName'](_0xaaf431);break;case To['BeforeSpecialS']:this['stateBeforeSpecialS'](_0xaaf431);break;case To['BeforeSpecialT']:this['stateBeforeSpecialT'](_0xaaf431);break;case To['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0xaaf431);break;case To['InSelfClosingTag']:this['stateInSelfClosingTag'](_0xaaf431);break;case To['InDeclaration']:this['stateInDeclaration'](_0xaaf431);break;case To['BeforeDeclaration']:this['stateBeforeDeclaration'](_0xaaf431);break;case To['BeforeComment']:this['stateBeforeComment'](_0xaaf431);break;case To['InProcessingInstruction']:this['stateInProcessingInstruction'](_0xaaf431);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 _0x139790=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x139790||(this['state']===To['InCommentLike']?this['currentSequence']===Ro['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x139790,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x139790,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'],_0x139790));}['emitCodePoint'](_0x4e9622,_0x235eff){this['baseState']!==To['Text']&&this['baseState']!==To['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x235eff,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x4e9622)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x235eff,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x4e9622,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(_0x387e63,_0x38aaa2={}){var _0x2f3fd4,_0xaf0a68,_0x1af510,_0xa119d0,_0x146543,_0x564b55;this['options']=_0x38aaa2,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!=_0x387e63?_0x387e63:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x2f3fd4=_0x38aaa2['lowerCaseTags'])&&void 0x0!==_0x2f3fd4?_0x2f3fd4:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0xaf0a68=_0x38aaa2['lowerCaseAttributeNames'])&&void 0x0!==_0xaf0a68?_0xaf0a68:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x1af510=_0x38aaa2['recognizeSelfClosing'])&&void 0x0!==_0x1af510?_0x1af510:!this['htmlMode'],this['tokenizer']=new(null!==(_0xa119d0=_0x38aaa2['Tokenizer'])&&void 0x0!==_0xa119d0?_0xa119d0:Tokenizer)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x564b55=(_0x146543=this['cbs'])['onparserinit'])||void 0x0===_0x564b55||_0x564b55['call'](_0x146543,this);}['ontext'](_0x3af6dc,_0xbf5a12){var _0xd4cc7b,_0x5585c4;const _0x5590c5=this['getSlice'](_0x3af6dc,_0xbf5a12);this['endIndex']=_0xbf5a12-0x1,null===(_0x5585c4=(_0xd4cc7b=this['cbs'])['ontext'])||void 0x0===_0x5585c4||_0x5585c4['call'](_0xd4cc7b,_0x5590c5),this['startIndex']=_0xbf5a12;}['ontextentity'](_0x4ee28e,_0x1fd87b){var _0x7c682f,_0x1bad66;this['endIndex']=_0x1fd87b-0x1,null===(_0x1bad66=(_0x7c682f=this['cbs'])['ontext'])||void 0x0===_0x1bad66||_0x1bad66['call'](_0x7c682f,Oo(_0x4ee28e)),this['startIndex']=_0x1fd87b;}['isVoidElement'](_0x1743b9){return this['htmlMode']&&$o['has'](_0x1743b9);}['onopentagname'](_0xf460fa,_0x187a41){this['endIndex']=_0x187a41;let _0x514be2=this['getSlice'](_0xf460fa,_0x187a41);this['lowerCaseTagNames']&&(_0x514be2=_0x514be2['toLowerCase']()),this['emitOpenTag'](_0x514be2);}['emitOpenTag'](_0x590b50){var _0x22fbef,_0x5d5d68,_0x469cc2,_0xaef908;this['openTagStart']=this['startIndex'],this['tagname']=_0x590b50;const _0x4be0ca=this['htmlMode']&&Qo['get'](_0x590b50);if(_0x4be0ca)for(;this['stack']['length']>0x0&&_0x4be0ca['has'](this['stack'][0x0]);){const _0x169d61=this['stack']['shift']();null===(_0x5d5d68=(_0x22fbef=this['cbs'])['onclosetag'])||void 0x0===_0x5d5d68||_0x5d5d68['call'](_0x22fbef,_0x169d61,!0x0);}this['isVoidElement'](_0x590b50)||(this['stack']['unshift'](_0x590b50),this['htmlMode']&&(Vo['has'](_0x590b50)?this['foreignContext']['unshift'](!0x0):Uo['has'](_0x590b50)&&this['foreignContext']['unshift'](!0x1))),null===(_0xaef908=(_0x469cc2=this['cbs'])['onopentagname'])||void 0x0===_0xaef908||_0xaef908['call'](_0x469cc2,_0x590b50),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x3d62bf){var _0x2efff4,_0x495fd8;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x495fd8=(_0x2efff4=this['cbs'])['onopentag'])||void 0x0===_0x495fd8||_0x495fd8['call'](_0x2efff4,this['tagname'],this['attribs'],_0x3d62bf),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x4dcb50){this['endIndex']=_0x4dcb50,this['endOpenTag'](!0x1),this['startIndex']=_0x4dcb50+0x1;}['onclosetag'](_0x32e741,_0x3552a0){var _0x319b23,_0x14f82b,_0x1edb0e,_0x113bd3,_0x57eebd,_0x276811,_0x1be99f,_0x4faafd;this['endIndex']=_0x3552a0;let _0x3a62c6=this['getSlice'](_0x32e741,_0x3552a0);if(this['lowerCaseTagNames']&&(_0x3a62c6=_0x3a62c6['toLowerCase']()),this['htmlMode']&&(Vo['has'](_0x3a62c6)||Uo['has'](_0x3a62c6))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x3a62c6))this['htmlMode']&&'br'===_0x3a62c6&&(null===(_0x113bd3=(_0x1edb0e=this['cbs'])['onopentagname'])||void 0x0===_0x113bd3||_0x113bd3['call'](_0x1edb0e,'br'),null===(_0x276811=(_0x57eebd=this['cbs'])['onopentag'])||void 0x0===_0x276811||_0x276811['call'](_0x57eebd,'br',{},!0x0),null===(_0x4faafd=(_0x1be99f=this['cbs'])['onclosetag'])||void 0x0===_0x4faafd||_0x4faafd['call'](_0x1be99f,'br',!0x1));else{const _0x27bd0e=this['stack']['indexOf'](_0x3a62c6);if(-0x1!==_0x27bd0e)for(let _0x30db25=0x0;_0x30db25<=_0x27bd0e;_0x30db25++){const _0x11e1eb=this['stack']['shift']();null===(_0x14f82b=(_0x319b23=this['cbs'])['onclosetag'])||void 0x0===_0x14f82b||_0x14f82b['call'](_0x319b23,_0x11e1eb,_0x30db25!==_0x27bd0e);}else this['htmlMode']&&'p'===_0x3a62c6&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x3552a0+0x1;}['onselfclosingtag'](_0x2052a0){this['endIndex']=_0x2052a0,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x2052a0+0x1):this['onopentagend'](_0x2052a0);}['closeCurrentTag'](_0x3d1285){var _0x200fdf,_0x242ac6;const _0x325e7a=this['tagname'];this['endOpenTag'](_0x3d1285),this['stack'][0x0]===_0x325e7a&&(null===(_0x242ac6=(_0x200fdf=this['cbs'])['onclosetag'])||void 0x0===_0x242ac6||_0x242ac6['call'](_0x200fdf,_0x325e7a,!_0x3d1285),this['stack']['shift']());}['onattribname'](_0x271bd7,_0x172b78){this['startIndex']=_0x271bd7;const _0x3137fa=this['getSlice'](_0x271bd7,_0x172b78);this['attribname']=this['lowerCaseAttributeNames']?_0x3137fa['toLowerCase']():_0x3137fa;}['onattribdata'](_0x39ba19,_0x41008d){this['attribvalue']+=this['getSlice'](_0x39ba19,_0x41008d);}['onattribentity'](_0x261714){this['attribvalue']+=Oo(_0x261714);}['onattribend'](_0x1a3fd7,_0x428746){var _0x545e86,_0x377b6a;this['endIndex']=_0x428746,null===(_0x377b6a=(_0x545e86=this['cbs'])['onattribute'])||void 0x0===_0x377b6a||_0x377b6a['call'](_0x545e86,this['attribname'],this['attribvalue'],_0x1a3fd7===Eo['Double']?'\x22':_0x1a3fd7===Eo['Single']?'\x27':_0x1a3fd7===Eo['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x560350){const _0x2637d9=_0x560350['search'](Bo);let _0xf2865e=_0x2637d9<0x0?_0x560350:_0x560350['substr'](0x0,_0x2637d9);return this['lowerCaseTagNames']&&(_0xf2865e=_0xf2865e['toLowerCase']()),_0xf2865e;}['ondeclaration'](_0x417e24,_0xed2580){this['endIndex']=_0xed2580;const _0x7aa378=this['getSlice'](_0x417e24,_0xed2580);if(this['cbs']['onprocessinginstruction']){const _0x1550d0=this['getInstructionName'](_0x7aa378);this['cbs']['onprocessinginstruction']('!'+_0x1550d0,'!'+_0x7aa378);}this['startIndex']=_0xed2580+0x1;}['onprocessinginstruction'](_0x5a5955,_0x5e3f9e){this['endIndex']=_0x5e3f9e;const _0x3505e2=this['getSlice'](_0x5a5955,_0x5e3f9e);if(this['cbs']['onprocessinginstruction']){const _0x3d7006=this['getInstructionName'](_0x3505e2);this['cbs']['onprocessinginstruction']('?'+_0x3d7006,'?'+_0x3505e2);}this['startIndex']=_0x5e3f9e+0x1;}['oncomment'](_0xf616f3,_0x5a7cc9,_0x17a3c9){var _0x14384c,_0x305315,_0x4a369d,_0x171251;this['endIndex']=_0x5a7cc9,null===(_0x305315=(_0x14384c=this['cbs'])['oncomment'])||void 0x0===_0x305315||_0x305315['call'](_0x14384c,this['getSlice'](_0xf616f3,_0x5a7cc9-_0x17a3c9)),null===(_0x171251=(_0x4a369d=this['cbs'])['oncommentend'])||void 0x0===_0x171251||_0x171251['call'](_0x4a369d),this['startIndex']=_0x5a7cc9+0x1;}['oncdata'](_0x38ba7e,_0x5bc6fe,_0x3bb134){var _0x430323,_0x421f7d,_0x38c682,_0x957d11,_0x1f719a,_0x35b88a,_0x537bfe,_0x5854ce,_0x37c3a7,_0x500f31;this['endIndex']=_0x5bc6fe;const _0x4a0d56=this['getSlice'](_0x38ba7e,_0x5bc6fe-_0x3bb134);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x421f7d=(_0x430323=this['cbs'])['oncdatastart'])||void 0x0===_0x421f7d||_0x421f7d['call'](_0x430323),null===(_0x957d11=(_0x38c682=this['cbs'])['ontext'])||void 0x0===_0x957d11||_0x957d11['call'](_0x38c682,_0x4a0d56),null===(_0x35b88a=(_0x1f719a=this['cbs'])['oncdataend'])||void 0x0===_0x35b88a||_0x35b88a['call'](_0x1f719a)):(null===(_0x5854ce=(_0x537bfe=this['cbs'])['oncomment'])||void 0x0===_0x5854ce||_0x5854ce['call'](_0x537bfe,'[CDATA['+_0x4a0d56+']]'),null===(_0x500f31=(_0x37c3a7=this['cbs'])['oncommentend'])||void 0x0===_0x500f31||_0x500f31['call'](_0x37c3a7)),this['startIndex']=_0x5bc6fe+0x1;}['onend'](){var _0x4f3474,_0x4a7ac3;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x475f86=0x0;_0x475f86<this['stack']['length'];_0x475f86++)this['cbs']['onclosetag'](this['stack'][_0x475f86],!0x0);}null===(_0x4a7ac3=(_0x4f3474=this['cbs'])['onend'])||void 0x0===_0x4a7ac3||_0x4a7ac3['call'](_0x4f3474);}['reset'](){var _0x3c30e0,_0x4e7301,_0x40b684,_0x251ba5;null===(_0x4e7301=(_0x3c30e0=this['cbs'])['onreset'])||void 0x0===_0x4e7301||_0x4e7301['call'](_0x3c30e0),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x251ba5=(_0x40b684=this['cbs'])['onparserinit'])||void 0x0===_0x251ba5||_0x251ba5['call'](_0x40b684,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x4abf1c){this['reset'](),this['end'](_0x4abf1c);}['getSlice'](_0x4ca8ac,_0x52df6b){for(;_0x4ca8ac-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x346321=this['buffers'][0x0]['slice'](_0x4ca8ac-this['bufferOffset'],_0x52df6b-this['bufferOffset']);for(;_0x52df6b-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x346321+=this['buffers'][0x0]['slice'](0x0,_0x52df6b-this['bufferOffset']);return _0x346321;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x5230d7){var _0x30da47,_0x58d575;this['ended']?null===(_0x58d575=(_0x30da47=this['cbs'])['onerror'])||void 0x0===_0x58d575||_0x58d575['call'](_0x30da47,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x5230d7),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x5230d7),this['writeIndex']++));}['end'](_0x2809d7){var _0xec60c1,_0x3cd473;this['ended']?null===(_0x3cd473=(_0xec60c1=this['cbs'])['onerror'])||void 0x0===_0x3cd473||_0x3cd473['call'](_0xec60c1,new Error('.end()\x20after\x20done!')):(_0x2809d7&&this['write'](_0x2809d7),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'](_0x49d623){this['write'](_0x49d623);}['done'](_0x39d781){this['end'](_0x39d781);}};var jo;!function(_0x4d66fd){_0x4d66fd['Root']='root',_0x4d66fd['Text']='text',_0x4d66fd['Directive']='directive',_0x4d66fd['Comment']='comment',_0x4d66fd['Script']='script',_0x4d66fd['Style']='style',_0x4d66fd['Tag']='tag',_0x4d66fd['CDATA']='cdata',_0x4d66fd['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'](_0x15f521){this['parent']=_0x15f521;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x5bf694){this['prev']=_0x5bf694;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x460c55){this['next']=_0x460c55;}['cloneNode'](_0x8fa421=!0x1){return ca(this,_0x8fa421);}};class DataNode extends Jo{constructor(_0x528a4e){super(),this['data']=_0x528a4e;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x2e3fb2){this['data']=_0x2e3fb2;}}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(_0x48d245,_0x2df175){super(_0x2df175),this['name']=_0x48d245,this['type']=jo['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends Jo{constructor(_0x24c22e){super(),this['children']=_0x24c22e;}get['firstChild'](){var _0x341d70;return null!==(_0x341d70=this['children'][0x0])&&void 0x0!==_0x341d70?_0x341d70:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x20e414){this['children']=_0x20e414;}}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(_0x26ed29,_0x22e9d0,_0x2fa1e8=[],_0x13a15a='script'===_0x26ed29?jo['Script']:'style'===_0x26ed29?jo['Style']:jo['Tag']){super(_0x2fa1e8),this['name']=_0x26ed29,this['attribs']=_0x22e9d0,this['type']=_0x13a15a;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x57c0fd){this['name']=_0x57c0fd;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x424555=>{var _0xc9ed4d,_0x58d5e4;return{'name':_0x424555,'value':this['attribs'][_0x424555],'namespace':null===(_0xc9ed4d=this['x-attribsNamespace'])||void 0x0===_0xc9ed4d?void 0x0:_0xc9ed4d[_0x424555],'prefix':null===(_0x58d5e4=this['x-attribsPrefix'])||void 0x0===_0x58d5e4?void 0x0:_0x58d5e4[_0x424555]};});}};function sa(_0x2d7321){return(_0x2f442e=_0x2d7321)['type']===jo['Tag']||_0x2f442e['type']===jo['Script']||_0x2f442e['type']===jo['Style'];var _0x2f442e;}function na(_0xb0bc70){return _0xb0bc70['type']===jo['Text'];}function ra(_0x25760d){return _0x25760d['type']===jo['Comment'];}function oa(_0x530ff3){return _0x530ff3['type']===jo['Root'];}function aa(_0x4126cd){return Object['prototype']['hasOwnProperty']['call'](_0x4126cd,'children');}function ca(_0x5437d1,_0x148cab=!0x1){let _0x253854;if(na(_0x5437d1))_0x253854=new ta(_0x5437d1['data']);else{if(ra(_0x5437d1))_0x253854=new ea(_0x5437d1['data']);else{if(sa(_0x5437d1)){const _0xc656c2=_0x148cab?la(_0x5437d1['children']):[],_0x492089=new ia(_0x5437d1['name'],{..._0x5437d1['attribs']},_0xc656c2);_0xc656c2['forEach'](_0x165af7=>_0x165af7['parent']=_0x492089),null!=_0x5437d1['namespace']&&(_0x492089['namespace']=_0x5437d1['namespace']),_0x5437d1['x-attribsNamespace']&&(_0x492089['x-attribsNamespace']={..._0x5437d1['x-attribsNamespace']}),_0x5437d1['x-attribsPrefix']&&(_0x492089['x-attribsPrefix']={..._0x5437d1['x-attribsPrefix']}),_0x253854=_0x492089;}else{if(function(_0x4c7621){return _0x4c7621['type']===jo['CDATA'];}(_0x5437d1)){const _0x5a9d66=_0x148cab?la(_0x5437d1['children']):[],_0x23a0a3=new CDATA(_0x5a9d66);_0x5a9d66['forEach'](_0x2e4fa8=>_0x2e4fa8['parent']=_0x23a0a3),_0x253854=_0x23a0a3;}else{if(oa(_0x5437d1)){const _0x18c953=_0x148cab?la(_0x5437d1['children']):[],_0x2bae9e=new Document(_0x18c953);_0x18c953['forEach'](_0xdcff00=>_0xdcff00['parent']=_0x2bae9e),_0x5437d1['x-mode']&&(_0x2bae9e['x-mode']=_0x5437d1['x-mode']),_0x253854=_0x2bae9e;}else{if(!function(_0x178455){return _0x178455['type']===jo['Directive'];}(_0x5437d1))throw new Error('Not\x20implemented\x20yet:\x20'+_0x5437d1['type']);{const _0xe72253=new ProcessingInstruction(_0x5437d1['name'],_0x5437d1['data']);null!=_0x5437d1['x-name']&&(_0xe72253['x-name']=_0x5437d1['x-name'],_0xe72253['x-publicId']=_0x5437d1['x-publicId'],_0xe72253['x-systemId']=_0x5437d1['x-systemId']),_0x253854=_0xe72253;}}}}}}return _0x253854['startIndex']=_0x5437d1['startIndex'],_0x253854['endIndex']=_0x5437d1['endIndex'],null!=_0x5437d1['sourceCodeLocation']&&(_0x253854['sourceCodeLocation']=_0x5437d1['sourceCodeLocation']),_0x253854;}function la(_0x479e66){const _0x552cae=_0x479e66['map'](_0x2531f2=>ca(_0x2531f2,!0x0));for(let _0x444b44=0x1;_0x444b44<_0x552cae['length'];_0x444b44++)_0x552cae[_0x444b44]['prev']=_0x552cae[_0x444b44-0x1],_0x552cae[_0x444b44-0x1]['next']=_0x552cae[_0x444b44];return _0x552cae;}const ha={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class DomHandler{constructor(_0x381c48,_0x4a18df,_0x9267){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x4a18df&&(_0x9267=_0x4a18df,_0x4a18df=ha),'object'==typeof _0x381c48&&(_0x4a18df=_0x381c48,_0x381c48=void 0x0),this['callback']=null!=_0x381c48?_0x381c48:null,this['options']=null!=_0x4a18df?_0x4a18df:ha,this['elementCB']=null!=_0x9267?_0x9267:null;}['onparserinit'](_0x31b669){this['parser']=_0x31b669;}['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'](_0x2c93e3){this['handleCallback'](_0x2c93e3);}['onclosetag'](){this['lastNode']=null;const _0x692e32=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x692e32['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x692e32);}['onopentag'](_0x347cc7,_0xdd9322){const _0x466953=this['options']['xmlMode']?jo['Tag']:void 0x0,_0x4889d2=new ia(_0x347cc7,_0xdd9322,void 0x0,_0x466953);this['addNode'](_0x4889d2),this['tagStack']['push'](_0x4889d2);}['ontext'](_0x5d2265){const {lastNode:_0x49b653}=this;if(_0x49b653&&_0x49b653['type']===jo['Text'])_0x49b653['data']+=_0x5d2265,this['options']['withEndIndices']&&(_0x49b653['endIndex']=this['parser']['endIndex']);else{const _0xacbb9b=new ta(_0x5d2265);this['addNode'](_0xacbb9b),this['lastNode']=_0xacbb9b;}}['oncomment'](_0x4b9524){if(this['lastNode']&&this['lastNode']['type']===jo['Comment'])return void(this['lastNode']['data']+=_0x4b9524);const _0x3d8d1f=new ea(_0x4b9524);this['addNode'](_0x3d8d1f),this['lastNode']=_0x3d8d1f;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x1baa56=new ta(''),_0xaffa6c=new CDATA([_0x1baa56]);this['addNode'](_0xaffa6c),_0x1baa56['parent']=_0xaffa6c,this['lastNode']=_0x1baa56;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x2bb656,_0x2ef2cf){const _0x415dca=new ProcessingInstruction(_0x2bb656,_0x2ef2cf);this['addNode'](_0x415dca);}['handleCallback'](_0x26f336){if('function'==typeof this['callback'])this['callback'](_0x26f336,this['dom']);else{if(_0x26f336)throw _0x26f336;}}['addNode'](_0x8117c4){const _0x1a4da3=this['tagStack'][this['tagStack']['length']-0x1],_0x507426=_0x1a4da3['children'][_0x1a4da3['children']['length']-0x1];this['options']['withStartIndices']&&(_0x8117c4['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x8117c4['endIndex']=this['parser']['endIndex']),_0x1a4da3['children']['push'](_0x8117c4),_0x507426&&(_0x8117c4['prev']=_0x507426,_0x507426['next']=_0x8117c4),_0x8117c4['parent']=_0x1a4da3,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']?(_0x8e6216,_0x392b36)=>_0x8e6216['codePointAt'](_0x392b36):(_0x51b8cf,_0x596e2f)=>0xd800==(0xfc00&_0x51b8cf['charCodeAt'](_0x596e2f))?0x400*(_0x51b8cf['charCodeAt'](_0x596e2f)-0xd800)+_0x51b8cf['charCodeAt'](_0x596e2f+0x1)-0xdc00+0x10000:_0x51b8cf['charCodeAt'](_0x596e2f);function ma(_0x505857){let _0x5f1fde,_0x13e8ba='',_0xa83213=0x0;for(;null!==(_0x5f1fde=ua['exec'](_0x505857));){const _0x8e6707=_0x5f1fde['index'],_0x4ede3d=_0x505857['charCodeAt'](_0x8e6707),_0x1757e9=da['get'](_0x4ede3d);void 0x0!==_0x1757e9?(_0x13e8ba+=_0x505857['substring'](_0xa83213,_0x8e6707)+_0x1757e9,_0xa83213=_0x8e6707+0x1):(_0x13e8ba+=_0x505857['substring'](_0xa83213,_0x8e6707)+'&#x'+fa(_0x505857,_0x8e6707)['toString'](0x10)+';',_0xa83213=ua['lastIndex']+=Number(0xd800==(0xfc00&_0x4ede3d)));}return _0x13e8ba+_0x505857['substr'](_0xa83213);}function ga(_0x27349e,_0x2038bd){return function(_0x303068){let _0x429cba,_0x1b8e4e=0x0,_0x51c4c2='';for(;_0x429cba=_0x27349e['exec'](_0x303068);)_0x1b8e4e!==_0x429cba['index']&&(_0x51c4c2+=_0x303068['substring'](_0x1b8e4e,_0x429cba['index'])),_0x51c4c2+=_0x2038bd['get'](_0x429cba[0x0]['charCodeAt'](0x0)),_0x1b8e4e=_0x429cba['index']+0x1;return _0x51c4c2+_0x303068['substring'](_0x1b8e4e);};}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'](_0x253a51=>[_0x253a51['toLowerCase'](),_0x253a51])),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'](_0x4c3cc2=>[_0x4c3cc2['toLowerCase'](),_0x4c3cc2])),ya=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _a(_0x43ba38){return _0x43ba38['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(_0x59553e,_0x36068f={}){const _0x51be15='length'in _0x59553e?_0x59553e:[_0x59553e];let _0x49ca52='';for(let _0x900586=0x0;_0x900586<_0x51be15['length'];_0x900586++)_0x49ca52+=Ea(_0x51be15[_0x900586],_0x36068f);return _0x49ca52;}function Ea(_0x133494,_0x489e4d){switch(_0x133494['type']){case Ho:return Ta(_0x133494['children'],_0x489e4d);case Ko:case Zo:return'<'+_0x133494['data']+'>';case Xo:return function(_0x8f68a7){return'<!--'+_0x8f68a7['data']+'-->';}(_0x133494);case Yo:return function(_0x2c728e){return'<![CDATA['+_0x2c728e['children'][0x0]['data']+']]>';}(_0x133494);case qo:case Wo:case zo:return function(_0x155896,_0x4b8dfd){var _0x26c967;'foreign'===_0x4b8dfd['xmlMode']&&(_0x155896['name']=null!==(_0x26c967=wa['get'](_0x155896['name']))&&void 0x0!==_0x26c967?_0x26c967:_0x155896['name'],_0x155896['parent']&&Aa['has'](_0x155896['parent']['name'])&&(_0x4b8dfd={..._0x4b8dfd,'xmlMode':!0x1})),!_0x4b8dfd['xmlMode']&&Ia['has'](_0x155896['name'])&&(_0x4b8dfd={..._0x4b8dfd,'xmlMode':'foreign'});let _0x58a77a='<'+_0x155896['name'];const _0x6cebaa=function(_0xe2297b,_0x1dd393){var _0x2b4528;if(!_0xe2297b)return;const _0x12794d=!0x1===(null!==(_0x2b4528=_0x1dd393['encodeEntities'])&&void 0x0!==_0x2b4528?_0x2b4528:_0x1dd393['decodeEntities'])?_a:_0x1dd393['xmlMode']||'utf8'!==_0x1dd393['encodeEntities']?ma:pa;return Object['keys'](_0xe2297b)['map'](_0x3c9122=>{var _0x40d5b9,_0x5b65af;const _0x1ccaf0=null!==(_0x40d5b9=_0xe2297b[_0x3c9122])&&void 0x0!==_0x40d5b9?_0x40d5b9:'';return'foreign'===_0x1dd393['xmlMode']&&(_0x3c9122=null!==(_0x5b65af=ba['get'](_0x3c9122))&&void 0x0!==_0x5b65af?_0x5b65af:_0x3c9122),_0x1dd393['emptyAttrs']||_0x1dd393['xmlMode']||''!==_0x1ccaf0?_0x3c9122+'=\x22'+_0x12794d(_0x1ccaf0)+'\x22':_0x3c9122;})['join']('\x20');}(_0x155896['attribs'],_0x4b8dfd);return _0x6cebaa&&(_0x58a77a+='\x20'+_0x6cebaa),0x0===_0x155896['children']['length']&&(_0x4b8dfd['xmlMode']?!0x1!==_0x4b8dfd['selfClosingTags']:_0x4b8dfd['selfClosingTags']&&va['has'](_0x155896['name']))?(_0x4b8dfd['xmlMode']||(_0x58a77a+='\x20'),_0x58a77a+='/>'):(_0x58a77a+='>',_0x155896['children']['length']>0x0&&(_0x58a77a+=Ta(_0x155896['children'],_0x4b8dfd)),!_0x4b8dfd['xmlMode']&&va['has'](_0x155896['name'])||(_0x58a77a+='</'+_0x155896['name']+'>')),_0x58a77a;}(_0x133494,_0x489e4d);case Go:return function(_0x246e14,_0x2e6596){var _0x40137b;let _0x40ccde=_0x246e14['data']||'';return!0x1===(null!==(_0x40137b=_0x2e6596['encodeEntities'])&&void 0x0!==_0x40137b?_0x40137b:_0x2e6596['decodeEntities'])||!_0x2e6596['xmlMode']&&_0x246e14['parent']&&ya['has'](_0x246e14['parent']['name'])||(_0x40ccde=_0x2e6596['xmlMode']||'utf8'!==_0x2e6596['encodeEntities']?ma(_0x40ccde):Oa(_0x40ccde)),_0x40ccde;}(_0x133494,_0x489e4d);}}const Aa=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),Ia=new Set(['svg','math']);function Sa(_0x492c89){return Array['isArray'](_0x492c89)?_0x492c89['map'](Sa)['join'](''):aa(_0x492c89)&&!ra(_0x492c89)?Sa(_0x492c89['children']):na(_0x492c89)?_0x492c89['data']:'';}function Ca(_0x5ae790){return _0x5ae790['parent']||null;}function ka(_0x3e0803){if(_0x3e0803['prev']&&(_0x3e0803['prev']['next']=_0x3e0803['next']),_0x3e0803['next']&&(_0x3e0803['next']['prev']=_0x3e0803['prev']),_0x3e0803['parent']){const _0x1cc9fa=_0x3e0803['parent']['children'],_0x3e6e70=_0x1cc9fa['lastIndexOf'](_0x3e0803);_0x3e6e70>=0x0&&_0x1cc9fa['splice'](_0x3e6e70,0x1);}_0x3e0803['next']=null,_0x3e0803['prev']=null,_0x3e0803['parent']=null;}function xa(_0x3962a7,_0x68f203){const _0x171451=_0x68f203['prev']=_0x3962a7['prev'];_0x171451&&(_0x171451['next']=_0x68f203);const _0x5b619e=_0x68f203['next']=_0x3962a7['next'];_0x5b619e&&(_0x5b619e['prev']=_0x68f203);const _0x3b42e5=_0x68f203['parent']=_0x3962a7['parent'];if(_0x3b42e5){const _0x107e71=_0x3b42e5['children'];_0x107e71[_0x107e71['lastIndexOf'](_0x3962a7)]=_0x68f203,_0x3962a7['parent']=null;}}function Ra(_0x4c634c,_0xab9ee7){ka(_0xab9ee7);const {parent:_0x325b77}=_0x4c634c,_0x3390e4=_0x4c634c['next'];if(_0xab9ee7['next']=_0x3390e4,_0xab9ee7['prev']=_0x4c634c,_0x4c634c['next']=_0xab9ee7,_0xab9ee7['parent']=_0x325b77,_0x3390e4){if(_0x3390e4['prev']=_0xab9ee7,_0x325b77){const _0x1b2aa3=_0x325b77['children'];_0x1b2aa3['splice'](_0x1b2aa3['lastIndexOf'](_0x3390e4),0x0,_0xab9ee7);}}else _0x325b77&&_0x325b77['children']['push'](_0xab9ee7);}function Pa(_0x51d73f,_0x52033a){if(ka(_0x52033a),_0x52033a['parent']=_0x51d73f,_0x52033a['prev']=null,0x1!==_0x51d73f['children']['unshift'](_0x52033a)){const _0x106aa2=_0x51d73f['children'][0x1];_0x106aa2['prev']=_0x52033a,_0x52033a['next']=_0x106aa2;}else _0x52033a['next']=null;}function Ma(_0x2cb17b,_0x1041b9){ka(_0x1041b9);const {parent:_0xd6586b}=_0x2cb17b;if(_0xd6586b){const _0x19e815=_0xd6586b['children'];_0x19e815['splice'](_0x19e815['indexOf'](_0x2cb17b),0x0,_0x1041b9);}_0x2cb17b['prev']&&(_0x2cb17b['prev']['next']=_0x1041b9),_0x1041b9['parent']=_0xd6586b,_0x1041b9['prev']=_0x2cb17b['prev'],_0x1041b9['next']=_0x2cb17b,_0x2cb17b['prev']=_0x1041b9;}function Na(_0x5932f7,_0x23eb7e,_0x49c909=!0x0){const _0x5a566f=Array['isArray'](_0x23eb7e)?_0x23eb7e:[_0x23eb7e];for(let _0x246099=0x0;_0x246099<_0x5a566f['length'];_0x246099++){const _0x13b8f7=_0x5a566f[_0x246099];if(sa(_0x13b8f7)&&_0x5932f7(_0x13b8f7))return _0x13b8f7;if(_0x49c909&&aa(_0x13b8f7)&&_0x13b8f7['children']['length']>0x0){const _0x2f8321=Na(_0x5932f7,_0x13b8f7['children'],!0x0);if(_0x2f8321)return _0x2f8321;}}return null;}function La(_0x2a7e16,_0x8cfc07){const _0x499eab=[],_0x134227=[Array['isArray'](_0x8cfc07)?_0x8cfc07:[_0x8cfc07]],_0x454259=[0x0];for(;;){if(_0x454259[0x0]>=_0x134227[0x0]['length']){if(0x1===_0x134227['length'])return _0x499eab;_0x134227['shift'](),_0x454259['shift']();continue;}const _0x2082a0=_0x134227[0x0][_0x454259[0x0]++];sa(_0x2082a0)&&_0x2a7e16(_0x2082a0)&&_0x499eab['push'](_0x2082a0),aa(_0x2082a0)&&_0x2082a0['children']['length']>0x0&&(_0x454259['unshift'](0x0),_0x134227['unshift'](_0x2082a0['children']));}}function Da(_0x5b6fe2){return function(_0x4d93fc,_0x1eb309){const _0x576fc7=new DomHandler(void 0x0,_0x1eb309);return new Fo(_0x576fc7,_0x1eb309)['end'](_0x4d93fc),_0x576fc7['root'];}(_0x5b6fe2);}function Qa(_0x4da4ed){return Ta(_0x4da4ed);}function $a(_0x5c0138,_0x464d75,_0x15d3f3){const _0x3da30d=null!==_0x464d75?_0x458d55=>_0x458d55['attribs'][_0x5c0138]===_0x464d75:_0x5dc840=>Boolean(_0x5dc840['attribs'][_0x5c0138]);return Na(_0x2c1f27=>sa(_0x2c1f27)&&_0x3da30d(_0x2c1f27),_0x15d3f3);}function Va(_0x393baf,_0x1579fb,_0x2b0ed5){const _0x589b88=null!==_0x1579fb?_0x59a0eb=>_0x59a0eb['attribs'][_0x393baf]===_0x1579fb:_0x5948b1=>Boolean(_0x5948b1['attribs'][_0x393baf]);return La(_0x408cac=>sa(_0x408cac)&&_0x589b88(_0x408cac),_0x2b0ed5);}function Ua(_0x5baede){return function(_0x1776a7,_0x43a61d,_0x4a11c8,_0x332f29){const _0x1b37d2=[],_0x270bf4=[Array['isArray'](_0x43a61d)?_0x43a61d:[_0x43a61d]],_0x4b3134=[0x0];for(;;){if(_0x4b3134[0x0]>=_0x270bf4[0x0]['length']){if(0x1===_0x4b3134['length'])return _0x1b37d2;_0x270bf4['shift'](),_0x4b3134['shift']();continue;}const _0xd271db=_0x270bf4[0x0][_0x4b3134[0x0]++];if(_0x1776a7(_0xd271db)&&(_0x1b37d2['push'](_0xd271db),--_0x332f29<=0x0))return _0x1b37d2;aa(_0xd271db)&&_0xd271db['children']['length']>0x0&&(_0x4b3134['unshift'](0x0),_0x270bf4['unshift'](_0xd271db['children']));}}(_0x273be4=>ra(_0x273be4),_0x5baede,0x0,0x1/0x0);}function Ba(_0x2684dd,_0x5eb5b8){return _0x2684dd&&sa(_0x2684dd)?_0x2684dd['attribs'][_0x5eb5b8]:null;}function Fa(_0x141c0b,_0x5a8f06,_0x192cd6){sa(_0x141c0b)&&(null===_0x192cd6?delete _0x141c0b['attribs'][_0x5a8f06]:_0x141c0b['attribs'][_0x5a8f06]=_0x192cd6);}function ja(_0x1d95b5,_0x1a50dc,_0x508fa9){const _0x4f4aa7=_0x1a50dc['cloneNode'](!0x0);'beforebegin'===_0x508fa9?Ma(_0x1d95b5,_0x4f4aa7):'afterbegin'===_0x508fa9?Pa(_0x1d95b5,_0x4f4aa7):'beforeend'===_0x508fa9?function(_0x559145,_0x3d6abb){if(ka(_0x3d6abb),_0x3d6abb['next']=null,_0x3d6abb['parent']=_0x559145,_0x559145['children']['push'](_0x3d6abb)>0x1){const _0x500faf=_0x559145['children'][_0x559145['children']['length']-0x2];_0x500faf['next']=_0x3d6abb,_0x3d6abb['prev']=_0x500faf;}else _0x3d6abb['prev']=null;}(_0x1d95b5,_0x4f4aa7):'afterend'===_0x508fa9&&Ra(_0x1d95b5,_0x4f4aa7);}function Ha(_0x409138){const _0x18099=[];let _0x52fe52=_0x409138;for(;_0x52fe52;)_0x52fe52=Ca(_0x52fe52),_0x52fe52&&_0x18099['push'](_0x52fe52);return _0x18099;}function Ga(_0x430fb4){return _0x430fb4['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function Za(_0x22099d){let _0x57d922=0x0;for(;_0x22099d['parentNode'];)_0x22099d=_0x22099d['parentNode'],_0x57d922++;return _0x57d922;}function Xa(_0x5b6c31){const _0x4ca0eb=[];let _0x53c9f4=_0x5b6c31['nextSibling'];for(;_0x53c9f4;)_0x4ca0eb['push'](_0x53c9f4),_0x53c9f4=_0x53c9f4['nextSibling'];_0x4ca0eb['forEach'](_0x374180=>{ka(_0x374180);});}class AIResponseParser extends/* #__PURE__ -- @preserve */
_0x20f52a(){['_m2html'];constructor(){super(),this['_m2html']=new _0x44790a();}['convertMarkdownToHTML'](_0x5265ba){const _0x11917c=this['_m2html']['parse'](_0x5265ba);return this['parseAndNormalizeHTML'](_0x11917c);}['parseAndNormalizeHTML'](_0x4c1130){return this['_parseHTML'](_0x4c1130);}['_parseHTML'](_0x2cdf03){const _0x51bc37=Da('<dummy>'+_0x2cdf03['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x51bc37['children']=_0x51bc37['children'][0x0]['children'],_0x51bc37;}}class AIResponseApplier extends/* #__PURE__ -- @preserve */
_0x20f52a(){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x59a64d){super(),this['_generateUid']=_0x59a64d||_0x5c5c0c;}['merge'](_0x2666ba,_0x377192,_0x41b2e9){const _0x36cb9f=_0x2666ba['cloneNode'](!0x0);if(0x0===_0x377192['childNodes']['length']){const _0x5397f3=[];return Va('data-id','new-element',_0x36cb9f)['forEach'](_0x1c7251=>{const _0x153dfb=this['_generateUid']();Fa(_0x1c7251,'data-id',_0x153dfb),_0x5397f3['push'](_0x153dfb);}),this['_removeSpecialComments'](_0x36cb9f),{'parsedContent':_0x36cb9f,'newNodeIds':_0x5397f3,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x41b2e9&&_0x41b2e9['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x36cb9f),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(Va('data-id',null,_0x377192)['map'](_0x9af25f=>Ba(_0x9af25f,'data-id'))['filter'](_0x1ac25b=>!!_0x1ac25b));let _0x20d952=-0x1,_0x3054b6=!0x1;const _0xe4ee23=_0x36cb9f['childNodes'],_0x33e794=Array['from'](_0xe4ee23)['filter'](_0x13d594=>!(0x3===_0x13d594['nodeType']&&''===Qa(_0x13d594)['trim']())),_0x600597=_0x33e794['length'];for(let _0x4e9611=0x0;_0x4e9611<_0x600597;_0x4e9611++){const _0x5e2e3c=_0x33e794[_0x4e9611],_0x23ec88=_0x33e794[_0x4e9611+0x1];if(this['_isNewNode'](_0x5e2e3c)){if(-0x1===_0x20d952&&(_0x20d952=_0x4e9611),this['_markWrappedElements'](_0x5e2e3c),!this['_isNewNode'](_0x23ec88)){const [_0x20d19e,_0x328730]=this['_findReferenceNode'](_0x5e2e3c,_0x3054b6,_0x377192);if(_0x20d19e){const _0x596b20=Array['from'](_0x33e794)['slice'](_0x20d952,_0x4e9611+0x1);this['_insertNodes'](_0x20d19e,_0x596b20,_0x328730),_0x20d952=-0x1;}}}else{if(this['_isExistingContentComment'](_0x5e2e3c))_0x3054b6=!0x0;else{if(this['_isExistingNode'](_0x5e2e3c)){const _0x14cf11=Ba(_0x5e2e3c,'data-id');if(_0x14cf11&&this['_existingDataIds']['has'](_0x14cf11)){const _0x55e6eb=$a('data-id',_0x14cf11,_0x377192);this['_replaceNode'](_0x55e6eb,_0x5e2e3c);}if(this['_touchedNodesState']['removedIds']['includes'](_0x14cf11)){const _0x26f94f=this['_touchedNodesState']['removedIds']['indexOf'](_0x14cf11);this['_touchedNodesState']['removedIds']['splice'](_0x26f94f,0x1);}}else{if(this['_isDelNode'](_0x5e2e3c)){const _0x275785=Ba(_0x5e2e3c,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x275785)||this['_storeDeletedElementIds'](_0x5e2e3c);}}}}}for(const _0x358a12 of this['_touchedNodesState']['removedIds']){const _0x39889d=$a('data-id',_0x358a12,_0x377192);if(_0x39889d){if(_0x41b2e9&&_0x41b2e9['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x358a12;const _0x6b5162=_0x41b2e9['replaceRemovedWith']['cloneNode'](!0x0);Fa(_0x6b5162,'data-id',_0x358a12),Fa(_0x6b5162,'data-removed','true'),xa(_0x39889d,_0x6b5162);}else ka(_0x39889d);}}if(Va('data-wrapped-id',null,_0x377192)['forEach'](_0x2f0ed1=>{const _0x50042e=$a('data-id',Ba(_0x2f0ed1,'data-wrapped-id'),_0x377192);var _0x16d9fd,_0x47fb81;_0x50042e&&(_0x47fb81=_0x2f0ed1,ka(_0x16d9fd=_0x50042e),xa(_0x47fb81,_0x16d9fd));}),Va('data-id','new-element',_0x377192)['forEach'](_0x271fd3=>{const _0x5a0d26=this['_getUid'](_0x271fd3);Fa(_0x271fd3,'data-id',_0x5a0d26),this['_touchedNodesState']['newIds']['push'](_0x5a0d26);}),this['_removeSpecialComments'](_0x377192),_0x41b2e9&&_0x41b2e9['markUnstableElements']&&this['_markUnstableElements'](_0x377192,_0x41b2e9['markUnstableElementsDepth']||0x0),_0x41b2e9&&_0x41b2e9['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x1a84df=$a('data-id',this['_touchedNodesState']['lastTouchedId'],_0x377192);for(;_0x1a84df;)Xa(_0x1a84df),_0x1a84df=_0x1a84df['parentNode'];}return{'parsedContent':_0x377192,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x4ca52c,_0x5020ae,_0x275971){for(const _0x26517e of _0x5020ae){const _0x1a8cca=this['_getUid'](_0x26517e);Fa(_0x26517e,'data-id',_0x1a8cca),this['_touchedNodesState']['newIds']['push'](_0x1a8cca),this['_touchedNodesState']['lastTouchedId']=_0x1a8cca;}const _0x42f1d1='afterbegin'===_0x275971||'afterend'===_0x275971?_0x5020ae['reverse']():_0x5020ae;for(const _0xdde66c of _0x42f1d1)ja(_0x4ca52c,_0xdde66c,_0x275971);}['_replaceNode'](_0x3e695f,_0xb4bf3b){if(!_0x3e695f)return;if(_0x16904d=_0xb4bf3b,Ga(Qa(_0x3e695f))===Ga(Qa(_0x16904d)))return;var _0x16904d;const _0x13a556=this['_getUid'](_0x3e695f);Fa(_0xb4bf3b,'data-id',_0x13a556),this['_touchedNodesState']['modifiedIds']['push'](_0x13a556),this['_touchedNodesState']['lastTouchedId']=_0x13a556,xa(_0x3e695f,_0xb4bf3b['cloneNode'](!0x0));}['_findReferenceNode'](_0x1cda68,_0x3b6fd5,_0x56b502){const _0x3c685d=this['_findPrevElementWithDataId'](_0x1cda68,!0x1);if(_0x3c685d){const _0x26e3f8=this['_getNodeDataId'](_0x3c685d),_0x1df2f4=$a('data-id',_0x26e3f8,_0x56b502);if(_0x1df2f4)return[_0x1df2f4,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x26e3f8);}const _0x2379cc=this['_findNextElementWithDataId'](_0x1cda68,!0x1);if(_0x2379cc){const _0x8554d1=this['_getNodeDataId'](_0x2379cc),_0x48b29a=$a('data-id',_0x8554d1,_0x56b502);if(_0x48b29a)return[_0x48b29a,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x8554d1);}return _0x3b6fd5?_0x1cda68['nextSibling']?this['_findFallbackReferenceNode'](_0x1cda68,_0x56b502):[_0x56b502['childNodes'][_0x56b502['childNodes']['length']-0x1],'afterend']:[_0x56b502['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x188265,_0x4cd039){const _0x55acac=[],_0x4e99bd=this['_findPrevElementWithDataId'](_0x188265,!0x0);if(_0x4e99bd){const _0x1dd5f5=$a('data-id',this['_getNodeDataId'](_0x4e99bd),_0x4cd039);_0x1dd5f5&&_0x55acac['push']([_0x1dd5f5,'afterend']);}const _0x3f9c7e=this['_findNextElementWithDataId'](_0x188265,!0x0);if(_0x3f9c7e){const _0x252d13=$a('data-id',this['_getNodeDataId'](_0x3f9c7e),_0x4cd039);_0x252d13&&_0x55acac['push']([_0x252d13,'beforebegin']);}if(_0x55acac['length']>0x1)return Za(_0x55acac[0x0][0x0])<=Za(_0x55acac[0x1][0x0])?_0x55acac[0x0]:_0x55acac[0x1];return 0x1===_0x55acac['length']?_0x55acac[0x0]:[_0x4cd039['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x3415c3,_0x1a5de3){let _0x46d85a=_0x3415c3['nextSibling'],_0x2869b7=null,_0x13c727=!0x1;for(;_0x46d85a;){if(ra(_0x46d85a)){if(this['_isDelNode'](_0x46d85a)&&(_0x2869b7=_0x46d85a),this['_isExistingContentComment'](_0x46d85a)&&_0x1a5de3&&!_0x13c727){_0x13c727=!0x0,_0x46d85a=_0x46d85a['nextSibling'];continue;}break;}const _0x497d34=Ba(_0x46d85a,'data-id');if(_0x497d34&&'new-element'!==_0x497d34&&this['_existingDataIds']['has'](_0x497d34)){_0x2869b7=_0x46d85a;break;}_0x46d85a=_0x46d85a['nextSibling'];}return _0x2869b7;}['_findPrevElementWithDataId'](_0x129859,_0x1a8dc7){let _0x1c8666=_0x129859['previousSibling'],_0x506de6=null,_0x2877e5=!0x1;for(;_0x1c8666;){if(ra(_0x1c8666)){if(this['_isDelNode'](_0x1c8666)&&(_0x506de6=_0x1c8666),this['_isExistingContentComment'](_0x1c8666)&&_0x1a8dc7&&!_0x2877e5){_0x2877e5=!0x0,_0x1c8666=_0x1c8666['previousSibling'];continue;}break;}const _0x446f4c=Ba(_0x1c8666,'data-id');if(_0x446f4c&&'new-element'!==_0x446f4c&&this['_existingDataIds']['has'](_0x446f4c)){_0x506de6=_0x1c8666;break;}_0x1c8666=_0x1c8666['previousSibling'];}return _0x506de6;}['_markWrappedElements'](_0x2b067e){sa(_0x2b067e)&&Va('data-id',null,_0x2b067e)['forEach'](_0x52e096=>{this['_isExistingNode'](_0x52e096)&&!this['_hasWrappedParent'](_0x52e096)&&(Fa(_0x52e096,'data-wrapped-id',Ba(_0x52e096,'data-id')),Fa(_0x52e096,'data-id',null));});}['_getNodeDataId'](_0x55dfd6){if(!_0x55dfd6)return null;if(sa(_0x55dfd6))return Ba(_0x55dfd6,'data-id');if(ra(_0x55dfd6)){const _0x17b614=Qa(_0x55dfd6)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x17b614&&_0x17b614[0x1])return _0x17b614[0x1];}return null;}['_storeDeletedElementIds'](_0x3867b0){if(ra(_0x3867b0)){const _0x1fdfd5=Qa(_0x3867b0)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x1fdfd5&&_0x1fdfd5[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x1fdfd5[0x1]);}}['_getUid'](_0x22e682){return this['_isExistingNode'](_0x22e682)?Ba(_0x22e682,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x5cbc3a){Ua(_0x5cbc3a)['filter'](_0x4ae6b6=>this['_isDelNode'](_0x4ae6b6)||this['_isExistingContentComment'](_0x4ae6b6))['forEach'](_0x144adb=>{ka(_0x144adb);});}['_markLastTagElementUnstable'](_0x1f0b05){const _0x397362=_0x1f0b05['childNodes'],_0x15904e=_0x397362[_0x397362['length']-0x1];_0x15904e&&sa(_0x15904e)&&Fa(_0x15904e,'data-unstable','true');}['_markUnstableElements'](_0x1a21aa,_0x53c510){const _0x2aaac6=$a('data-unstable','true',_0x1a21aa);if(!_0x2aaac6)return;const _0x14f398=Ha(_0x2aaac6)['slice'](0x0,-0x1),_0x142966=_0x14f398['length'];let _0x22d73a=_0x2aaac6;if(_0x142966>_0x53c510){let _0x472dc0=_0x142966,_0x5530c6=null;for(;_0x472dc0>_0x53c510&&_0x472dc0>=0x0;)_0x472dc0--,_0x5530c6=_0x14f398[_0x472dc0];_0x5530c6&&(_0x22d73a=_0x5530c6,Fa(_0x2aaac6,'data-unstable',null),Fa(_0x5530c6,'data-unstable','true'));}else{if(_0x142966<_0x53c510){let _0x4f2de6=_0x142966,_0x47208a=_0x2aaac6;for(;_0x4f2de6<_0x53c510;){const _0x899fb8=_0x47208a['childNodes']['filter'](_0x231c76=>sa(_0x231c76));if(0x0===_0x899fb8['length'])break;_0x4f2de6++,_0x47208a=_0x899fb8[_0x899fb8['length']-0x1];}_0x47208a&&(_0x22d73a=_0x47208a,Fa(_0x2aaac6,'data-unstable',null),Fa(_0x47208a,'data-unstable','true'));}}let _0x226ac8=_0x22d73a;for(;_0x226ac8;){for(;_0x226ac8['nextSibling'];)_0x226ac8=_0x226ac8['nextSibling'],sa(_0x226ac8)&&Fa(_0x226ac8,'data-unstable','true');_0x226ac8=_0x226ac8['parentNode'];}}['_isNewNode'](_0x108317){return Boolean('new-element'===Ba(_0x108317,'data-id'));}['_isExistingNode'](_0x4b190d){return Boolean((Ba(_0x4b190d,'data-id')||'')['length']>0x0&&'new-element'!==Ba(_0x4b190d,'data-id'));}['_isDelNode'](_0x4c1760){return!!_0x4c1760&&Boolean(ra(_0x4c1760)&&Qa(_0x4c1760)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x259bea){let _0x3258ff=_0x259bea['parentNode'];for(;_0x3258ff;){if(Ba(_0x3258ff,'data-wrapped-id'))return!0x0;_0x3258ff=_0x3258ff['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x3be141){return Boolean(ra(_0x3be141)&&Qa(_0x3be141)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class Permissions extends _0x13e428{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x175e25,_0x127c05){let _0x4d5195;if(_0x127c05||(_0x127c05=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x127c05?_0x4d5195=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4d5195=this['context']['editors']['find'](_0x1e97d8=>_0x1e97d8['config']['get']('collaboration.channelId')==_0x127c05)),!_0x4d5195)throw new _0x37fbfa('permissions-set-permissions-invalid-channel-id',null);const _0x128f32=_0x4d5195['plugins'],_0x1fe62a=_0x128f32['has']('CommentsRepository')?_0x128f32['get']('CommentsRepository'):void 0x0,_0x25dffd=_0x128f32['has']('CommentsOnly')&&_0x128f32['get']('CommentsOnly'),_0x46e51c=_0x175e25['includes']('document:write'),_0x5aeb47=_0x175e25['includes']('comment:modify_all'),_0x2901d4=_0x175e25['includes']('comment:admin'),_0x529a95=_0x175e25['includes']('comment:write'),_0x243f2e=_0x529a95||_0x2901d4,_0x22bc22=_0x243f2e||_0x5aeb47,_0x5d81c9=_0x46e51c||_0x243f2e;(_0x25dffd&&(_0x25dffd['isEnabled']=!_0x46e51c&&_0x22bc22),_0x4d5195 instanceof _0xadff6a)&&(!(_0x46e51c||_0x22bc22&&_0x1fe62a)?_0x4d5195['enableReadOnlyMode']('no-permissions'):_0x4d5195['disableReadOnlyMode']('no-permissions'));if(_0x1fe62a){_0x1fe62a['setPermissions']({'admin':_0x2901d4,'modifyAll':_0x5aeb47,'write':_0x529a95,'resolve':_0x5d81c9},_0x127c05);const _0x1f5d8e=_0x4d5195 instanceof _0xadff6a&&_0x4d5195['commands']['get']('addCommentThread');_0x1f5d8e&&(_0x243f2e?_0x1f5d8e['clearForceDisabled']('noPermissions'):_0x1f5d8e['forceDisabled']('noPermissions'));}}}function qa(_0xdc094f,_0x3b015f){const t=_0xdc094f['t'];switch(_0x3b015f){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 _0x13e428{['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(_0x44bb66){super(_0x44bb66),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x4711ed(),this['_locale']=_0x44bb66['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:_0x13613b,name:_0x579b69,..._0x3ad427}){if(!_0x13613b||'string'!=typeof _0x13613b)throw new _0x37fbfa('users-add-invalid-id');if(this['users']['has'](_0x13613b))throw new _0x37fbfa('users-add-duplicated-id',null,{'id':_0x13613b});const _0x4cda04=this['context']['config']['get']('users.getInitialsCallback'),_0x1678bc={..._0x3ad427,'id':_0x13613b,'name':za(this['_locale'],_0x579b69),'color':this['_getNextColor']()};_0x1678bc['name']=za(this['_locale'],_0x1678bc['name']);const _0x400ca3=new Wa(_0x1678bc,_0x4cda04);return this['users']['add'](_0x400ca3),_0x400ca3;}['getUser'](_0x37b3ca){return this['users']['get'](_0x37b3ca);}['useAnonymousUser'](){const _0x369b8f=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x369b8f);}['defineMe'](_0x6d448c){if(this['_myId'])throw new _0x37fbfa('users-me-already-defined',null);const _0x1d1cd2=this['getUser'](_0x6d448c);if(!_0x1d1cd2)throw new _0x37fbfa('users-me-missing-user',null);this['_myId']=_0x6d448c,_0x1d1cd2['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x55eb68=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x55eb68&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1edec4=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1edec4,'name':qa(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let Wa=class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x12d26a,_0x2ca1d5){this['id']=_0x12d26a['id'],this['color']=_0x12d26a['color'],this['name']=_0x12d26a['name'],this['initials']=_0x2ca1d5?_0x2ca1d5(this['name']):this['_computeInitials'](),this['avatar']=_0x12d26a['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x22941f=this['name']['split']('\x20')['filter'](_0x4dce62=>/^[\p{Letter}]/u['test'](_0x4dce62));return 0x1===_0x22941f['length']?this['_getInitial'](_0x22941f[0x0]):0x0===_0x22941f['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x22941f[0x0])+this['_getInitial'](_0x22941f[_0x22941f['length']-0x1]);}['_getInitial'](_0x2d9926){return String['fromCodePoint'](_0x2d9926['codePointAt'](0x0))['toUpperCase']();}};function za(_0x4c1984,_0x3b70ef=''){return''==(_0x3b70ef=_0x3b70ef['trim']())?qa(_0x4c1984,'Anonymous'):_0x3b70ef;}class CollaborationUserColor{['_id'];constructor(_0x3570ee){this['_id']=_0x3570ee;}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 _0x3989d4{['name'];['notificationView'];constructor(_0x5850b0,_0x39402a,_0x18d938){super(_0x5850b0),this['name']=_0x39402a['name'],this['notificationView']=null;const _0x520455=['ck','ck-user'],_0x214c1b=['ck','ck-user__img'];if(_0x39402a['isAnonymous']&&_0x214c1b['push']('ck-user__anonymous'),!_0x39402a['isAnonymous']&&_0x39402a['isMe']&&_0x520455['push']('ck-user_me'),_0x39402a['avatar']&&_0x214c1b['push']('ck-user__avatar'),_0x18d938){const _0x32e46a=new _0x1bf0d6();_0x32e46a['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x32e46a['content']=_0x54c311,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x18d938},'children':[_0x32e46a]};}const _0x4de4a8=[{'tag':'div','attributes':{'class':_0x214c1b,'style':{'background-image':_0x39402a['avatar']?'url(\x27'+_0x39402a['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x39402a['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x39402a['name']},'children':[{'text':_0x39402a['initials']}]}];this['notificationView']&&_0x4de4a8['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x520455,'data-user-id':_0x39402a['id']},'children':_0x4de4a8});}}class AriaDescriptionView extends _0x3989d4{['id'];constructor(_0x43f824,_0x40d10){super(_0x43f824),this['id']='ck-aria-description-'+_0x5c5c0c(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x40d10}]});}}class LateFocusButtonView extends _0x2e803a{['render'](){super['render'](),Ya(this);}}class LateFocusDropdownButtonView extends ht{['render'](){super['render'](),Ya(this);}}function Ya(_0x1c5f98){_0x1c5f98['listenTo'](_0x1c5f98['element'],'mousedown',(_0x40a7f6,_0x3c9f97)=>{_0x3c9f97['stopPropagation'](),_0x3c9f97['preventDefault']();}),_0x1c5f98['listenTo'](_0x1c5f98['element'],'mouseup',()=>{_0x1c5f98['element']['focus']();});}function Ka(_0x3c19a9){const _0x4e7576=_0x3c19a9['split'](':');return{'group':_0x4e7576[0x0],'type':_0x4e7576[0x1],'subType':_0x4e7576['length']>=0x5?_0x4e7576[0x2]:null,'id':_0x4e7576['length']<0x5?_0x4e7576[0x2]:_0x4e7576[0x3],'authorId':_0x4e7576['length']<0x5?_0x4e7576[0x3]:_0x4e7576[0x4],'markerCount':0x6==_0x4e7576['length']?_0x4e7576[0x5]:null};}function Ja(_0x422484,_0x2b278f){const _0x2f81eb=_0x422484['end']['nodeBefore'];if(_0x2f81eb&&_0x2f81eb['is']('element')&&_0x2b278f['schema']['isBlock'](_0x2f81eb)&&!_0x2b278f['schema']['isObject'](_0x2f81eb)){const _0x176280=_0x2b278f['createPositionAt'](_0x2f81eb,'end');return _0x2b278f['createRange'](_0x422484['start'],_0x176280);}return _0x422484;}class SuggestionsConversionAlignment extends _0x13517b{['afterInit'](){const _0xea19c0=this['editor'];if(!_0xea19c0['plugins']['has']('AlignmentEditing'))return;_0xea19c0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const tc=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x13517b{['afterInit'](){const _0x2b6af3=this['editor'],_0x219180=_0x2b6af3['plugins']['get']('SuggestionsConversion');for(const _0x3a84bc of tc){if(!_0x2b6af3['plugins']['has'](_0x3a84bc))continue;const _0x2d8d59=_0x3a84bc['slice'](0x0,-0x7)['toLowerCase']();_0x219180['registerInlineAttribute'](_0x2d8d59);}}}class SuggestionsConversionBookmark extends _0x13517b{['afterInit'](){const _0x3ed333=this['editor'],_0x392614=_0x3ed333['plugins']['get']('SuggestionsConversion');_0x3ed333['plugins']['has']('BookmarkEditing')&&_0x392614['registerBlockAttribute']('bookmarkId');}}const ec=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x13517b{['afterInit'](){const _0x45e89c=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x2d44fb,commandName:_0xe430bf}of ec)this['editor']['plugins']['has'](_0x2d44fb)&&_0x45e89c['registerInlineAttribute'](_0xe430bf);}}class SuggestionsConversionFootnotes extends _0x13517b{['afterInit'](){const {editor:_0x538cea}=this;if(!_0x538cea['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x545548=_0x538cea['plugins']['get']('SuggestionsConversion');_0x545548['registerBlockAttribute']('footnotesListStyle'),_0x545548['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends _0x13517b{['afterInit'](){const _0x4ce4f1=this['editor'];if(!_0x4ce4f1['plugins']['has']('HighlightEditing'))return;_0x4ce4f1['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x13517b{['afterInit'](){const _0x2fcba3=this['editor'];if(!_0x2fcba3['plugins']['has']('HtmlEmbed'))return;_0x2fcba3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x13517b{['afterInit'](){const _0x530246=this['editor'];if(!_0x530246['plugins']['has']('ImageEditing'))return;const _0x385748=_0x530246['plugins']['get']('SuggestionsConversion');_0x385748['registerBlockAttribute']('src'),_0x530246['plugins']['has']('ImageResize')&&_0x385748['registerBlockAttribute']('resizedWidth'),_0x530246['plugins']['has']('ImageTextAlternativeEditing')&&_0x385748['registerBlockAttribute']('alt'),_0x530246['plugins']['has']('PictureEditing')&&_0x385748['registerBlockAttribute']('sources'),_0x530246['plugins']['has']('ImageSizeAttributes')&&(_0x385748['registerBlockAttribute']('width'),_0x385748['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x13517b{['afterInit'](){const _0x3bd7cf=this['editor'],_0x112daf=_0x3bd7cf['plugins']['get']('SuggestionsConversion');_0x3bd7cf['plugins']['has']('IndentBlock')&&(_0x112daf['registerBlockAttribute']('blockIndent'),_0x3bd7cf['plugins']['has']('ListEditing')&&(_0x112daf['registerBlockAttribute']('blockIndentList'),_0x112daf['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x13517b{['afterInit'](){const _0x2eff7d=this['editor'];if(!_0x2eff7d['plugins']['has']('LineHeight'))return;_0x2eff7d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x13517b{['afterInit'](){const _0x1c5d9e=this['editor'];if(!_0x1c5d9e['plugins']['has']('LinkEditing'))return;const _0x4c01ab=_0x1c5d9e['plugins']['get']('SuggestionsConversion'),_0x5e8303=_0x1c5d9e['commands']['get']('link');_0x4c01ab['registerInlineAttribute']('linkHref');for(const _0x636847 of _0x5e8303['manualDecorators'])_0x4c01ab['registerInlineAttribute'](_0x636847['id']);}}class SuggestionsConversionList extends _0x13517b{['afterInit'](){const _0x120fc9=this['editor'];if(!_0x120fc9['plugins']['has']('ListEditing'))return;const _0x54ac7b=_0x120fc9['plugins']['get']('SuggestionsConversion'),_0xa58826=_0x120fc9['plugins']['has']('TodoListEditing');_0x54ac7b['registerBlockAttribute']('listItemId'),_0x54ac7b['registerBlockAttribute']('listType'),_0x54ac7b['registerBlockAttribute']('listIndent'),_0xa58826&&_0x54ac7b['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x13517b{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x5a6d0b=this['editor']['config']['get']('list.properties'),_0x530883=this['editor']['plugins']['get']('SuggestionsConversion');_0x5a6d0b['styles']&&_0x530883['registerBlockAttribute']('listStyle'),_0x5a6d0b['reversed']&&_0x530883['registerBlockAttribute']('listReversed'),_0x5a6d0b['startIndex']&&_0x530883['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x13517b{['afterInit'](){const _0x3e6487=this['editor'],_0x212e88=_0x3e6487['plugins']['get']('SuggestionsConversion');_0x3e6487['plugins']['has']('MultiLevelList')&&_0x212e88['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends _0x13517b{['afterInit'](){const _0x14a7a0=this['editor'];if(!_0x14a7a0['plugins']['has']('Style')||!_0x14a7a0['plugins']['has']('DataSchema')||!_0x14a7a0['config']['get']('style.definitions'))return;const _0x3319f8=_0x14a7a0['plugins']['get']('SuggestionsConversion'),_0x14ca30=_0x14a7a0['config']['get']('style.definitions'),_0x32a08d=_0x14a7a0['plugins']['get']('GeneralHtmlSupport'),_0x224bd4=_0x14a7a0['plugins']['get']('StyleUtils')['normalizeConfig'](_0x14a7a0['plugins']['get']('DataSchema'),_0x14ca30),_0x39457b=new Set();for(const _0x397f1d of _0x224bd4['block']){const _0xb443e6=_0x32a08d['getGhsAttributeNameForElement'](_0x397f1d['element']);_0x39457b['add'](_0xb443e6);}const _0x544938=new Set();for(const _0x1115f0 of _0x224bd4['inline']){const _0x117da6=_0x32a08d['getGhsAttributeNameForElement'](_0x1115f0['element']);_0x544938['add'](_0x117da6);for(const _0x3a80b9 of _0x1115f0['ghsAttributes'])_0x544938['add'](_0x3a80b9);}for(const _0x1a5e9a of _0x39457b)_0x3319f8['registerBlockAttribute'](_0x1a5e9a);for(const _0x3b09aa of _0x544938)_0x3319f8['registerInlineAttribute'](_0x3b09aa);}}class SuggestionsConversionTableHeadings extends _0x13517b{['afterInit'](){const _0x5366c0=this['editor'];if(!_0x5366c0['plugins']['has']('TableEditing'))return;const _0x392be1=_0x5366c0['plugins']['get']('SuggestionsConversion');_0x392be1['registerBlockAttribute']('headingRows'),_0x392be1['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x13517b{['afterInit'](){const {plugins:_0xf2aa4d}=this['editor'];if(!_0xf2aa4d['has']('TablePropertiesEditing'))return;const _0x780336=_0xf2aa4d['get']('SuggestionsConversion'),_0xb8a639=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x174ec4 of _0xb8a639)_0x780336['registerBlockAttribute'](_0x174ec4);}}class SuggestionsConversionTableLayout extends _0x13517b{['afterInit'](){const _0x347207=this['editor'],_0x2c137b=_0x347207['plugins']['get']('SuggestionsConversion');_0x347207['plugins']['has']('TableLayout')&&_0x2c137b['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x13517b{['afterInit'](){const _0x21b696=this['editor'],_0x33cba9=this['editor']['plugins']['get']('SuggestionsConversion');_0x21b696['plugins']['has']('Uploadcare')&&_0x21b696['plugins']['has']('UploadcareImageEdit')&&_0x33cba9['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x13517b{['afterInit'](){const _0x11d100=this['editor'];if(!_0x11d100['plugins']['has']('ShiftEnter'))return;const _0x192842=_0x11d100['plugins']['get']('SuggestionsConversion'),_0x1d5cec=(_0x1fafc7,_0x2029e6,_0x28392a,_0x1d69aa)=>{if(_0x1d69aa&&!_0x28392a['options']['showSuggestionHighlights'])return;if(!_0x28392a['consumable']['test'](_0x2029e6['markerRange'],_0x1fafc7['name']))return;const _0x94803e=_0x11d100['model'];for(const _0x165c1f of _0x2029e6['markerRange']['getItems']()){if(!_0x165c1f['is']('element','softBreak'))continue;const _0x1fd73d='deletion'==_0x2029e6['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x2a310c,authorId:_0x2eb4c5}=Ka(_0x2029e6['markerName']),_0x35931a=_0x28392a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1fd73d,'data-suggestion':_0x2a310c,'data-author-id':_0x2eb4c5}),_0x409600=_0x28392a['mapper']['toViewPosition'](_0x94803e['createPositionBefore'](_0x165c1f));!_0x1d69aa&&_0x192842['_activeMarkers']['includes'](_0x2029e6['markerName'])&&_0x28392a['writer']['addClass']('ck-suggestion-marker--active',_0x35931a),_0x28392a['writer']['insert'](_0x409600,_0x35931a),_0x28392a['mapper']['bindElementToMarker'](_0x35931a,_0x2029e6['markerName']);}};_0x11d100['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x43659d,_0x37c683,_0x3a95d5)=>{_0x1d5cec(_0x43659d,_0x37c683,_0x3a95d5,!0x1);},{'priority':'high'}),_0x11d100['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4f6070,_0x5b7aea,_0x2ad79a)=>{_0x1d5cec(_0x4f6070,_0x5b7aea,_0x2ad79a,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x13517b{['afterInit'](){const _0x19c5f1=this['editor'];_0x19c5f1['plugins']['has']('MediaEmbedEditing')&&(_0x19c5f1['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0xa79854,{writer:_0x18adc2,options:_0x40d3dd})=>{if(_0x40d3dd['showSuggestionHighlights'])return _0x18adc2['createEmptyElement']('div');},'converterPriority':'high'}),_0x19c5f1['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2bdc98,_0x287ed4,_0x2cd9db)=>{_0x2cd9db['options']['showSuggestionHighlights']&&_0x2bdc98['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends _0x13517b{['afterInit'](){const _0x4f9562=this['editor'];if(!_0x4f9562['plugins']['has']('Table'))return;_0x4f9562['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x8d049e,_0x194e84,_0x496a4d)=>{((_0x5cb157,_0xf23d82,_0x2b082f)=>{if(!_0x2b082f['options']['showSuggestionHighlights'])return;const _0x32d185=_0xf23d82['item'];if(!_0x32d185||!_0x32d185['is']('element','tableCell'))return;const _0x1c4bd8=_0x2b082f['mapper']['toViewElement'](_0x32d185);if(_0x1c4bd8){const {id:_0xc7615c,authorId:_0x2241e5}=Ka(_0xf23d82['markerName']);_0x50d3a3(_0x1c4bd8,_0x2b082f['writer'],(_0x553b01,_0x18aafd,_0x44dc1c)=>{_0x44dc1c['addClass'](_0x1cc600(_0x18aafd['classes']),_0x553b01),_0x44dc1c['setAttribute']('data-suggestion-id',_0xc7615c,_0x553b01),_0x44dc1c['setAttribute']('data-author-id',_0x2241e5,_0x553b01);});}})(0x0,_0x194e84,_0x496a4d);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x13517b{['afterInit'](){const _0x146c3f=this['editor'];_0x146c3f['plugins']['has']('HorizontalLineEditing')&&_0x146c3f['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x10c1c4,{writer:_0x48f9e7,options:_0x510c55})=>{if(!_0x510c55['showSuggestionHighlights'])return null;const _0x201187=_0x48f9e7['createContainerElement']('div'),_0x49903e=_0x48f9e7['createEmptyElement']('hr');return _0x48f9e7['addClass']('ck-horizontal-line',_0x201187),_0x48f9e7['insert'](_0x48f9e7['createPositionAt'](_0x201187,0x0),_0x49903e),_0x201187;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x13517b{['afterInit'](){const {plugins:_0x21a8d1,model:_0xa353ef}=this['editor'];if(!_0x21a8d1['has']('TableCellPropertiesEditing'))return;const _0x1d0103=_0x21a8d1['get']('SuggestionsConversion'),_0x2ac8a1=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x40b4ab of _0x2ac8a1)_0x1d0103['registerBlockAttribute'](_0x40b4ab);_0xa353ef['schema']['checkAttribute']('tableCell','tableCellType')&&_0x1d0103['registerBlockAttribute']('tableCellType');}}class SuggestionsConversion extends _0x13517b{['_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 _0x222978=this['editor'],_0x5c4c71=(_0x1f4351,_0x294f49,_0x308922)=>{const {id:_0x30c4c6,authorId:_0x3b1563,type:_0x264a4c,subType:_0xdc9d95}=Ka(_0x1f4351['markerName']),_0x3cc93d=['ck-suggestion-marker',this['_getClassName'](_0x264a4c,_0xdc9d95)];let _0xbb9f4f=0xbb8;return!_0x308922&&(this['_activeMarkers']['includes'](_0x1f4351['markerName'])&&(_0x3cc93d['push']('ck-suggestion-marker--active'),_0xbb9f4f=0xbc2)),('deletion'==_0x264a4c&&(_0xbb9f4f+=0x5),{'classes':_0x3cc93d,'attributes':{'data-suggestion':_0x30c4c6,'data-author-id':_0x3b1563},'priority':_0xbb9f4f});};_0x222978['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x549993,_0x462b02)=>_0x5c4c71(_0x549993,0x0,!0x1)}),_0x222978['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x59abc7,_0x29fbc5)=>_0x5c4c71(_0x59abc7,0x0,!0x0)}),_0x222978['conversion']['for']('dataDowncast')['add'](_0x59cfea=>{_0x59cfea['on']('addMarker:suggestion',(_0x449cd8,_0xa3a0e0,_0x54bc5a)=>{if(!_0x54bc5a['options']['showSuggestionHighlights'])return;const _0x10d669=_0xa3a0e0['item'];if(!_0x10d669)return;const _0x1ae7a8=_0x54bc5a['mapper']['toViewElement'](_0x10d669);_0x222978['model']['schema']['isObject'](_0x10d669)&&_0x1ae7a8&&!_0x1ae7a8['getCustomProperty']('widget')&&_0x1ae7a8['is']('containerElement')&&_0xc2ea3(_0x1ae7a8,_0x54bc5a['writer']);},{'priority':'high'});});const _0x1cbc1d=(_0x358277,_0x17de81,_0x68da0f,_0x5a3b31,_0x18aca9)=>{if(_0x5a3b31&&!_0x68da0f['options']['showSuggestionHighlights'])return;if(!_0x17de81['item'])return;const {id:_0x59973a,authorId:_0x15e6cf,subType:_0x367d11}=Ka(_0x17de81['markerName']);if(_0x18aca9){const _0xd093b0=_0x367d11['split']('|')[0x0];if(!this['isBlockAttribute'](_0xd093b0))return;}if(_0x17de81['item']['is']('selection'))return void _0x68da0f['consumable']['consume'](_0x17de81['item'],_0x358277['name']);const _0x375f97=_0x68da0f['mapper']['toViewElement'](_0x17de81['item']);if(_0x17de81['item']['is']('element')&&_0x222978['model']['schema']['isBlock'](_0x17de81['item'])&&!_0x375f97['getCustomProperty']('addHighlight')){_0x68da0f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x375f97),_0x68da0f['writer']['setAttribute']('data-suggestion',_0x59973a,_0x375f97),_0x68da0f['writer']['setAttribute']('data-author-id',_0x15e6cf,_0x375f97),_0x68da0f['mapper']['bindElementToMarker'](_0x375f97,_0x17de81['markerName']),_0x5a3b31||(this['_activeMarkers']['includes'](_0x17de81['markerName'])?_0x68da0f['writer']['addClass']('ck-suggestion-marker--active',_0x375f97):_0x68da0f['writer']['removeClass']('ck-suggestion-marker--active',_0x375f97));for(const _0xb445a1 of _0x222978['model']['createRangeIn'](_0x17de81['item'])['getItems']())_0x68da0f['consumable']['consume'](_0xb445a1,_0x358277['name']);_0x68da0f['consumable']['consume'](_0x17de81['item'],_0x358277['name']);}},_0x318667=(_0x4d8108,_0x40abc9,_0x58875d,_0x50b522)=>{const _0x12df13=_0x58875d['mapper']['markerNameToElements'](_0x40abc9['markerName']);if(_0x12df13){if(_0x50b522){const {subType:_0x454d90}=Ka(_0x40abc9['markerName']),_0x44d30c=_0x454d90['split']('|')[0x0];if(!this['isBlockAttribute'](_0x44d30c))return;}for(const _0x37b06d of _0x12df13)_0x37b06d['getCustomProperty']('addHighlight')||(_0x58875d['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x37b06d),_0x58875d['writer']['removeAttribute']('data-suggestion',_0x37b06d),_0x58875d['writer']['removeAttribute']('data-author-id',_0x37b06d),_0x58875d['mapper']['unbindElementFromMarkerName'](_0x37b06d,_0x40abc9['markerName']));}};_0x222978['conversion']['for']('editingDowncast')['add'](_0x3fecba=>{_0x3fecba['on']('addMarker:suggestion:formatBlock',(_0x152de1,_0x1b23c8,_0x42f908)=>{_0x1cbc1d(_0x152de1,_0x1b23c8,_0x42f908,!0x1,!0x1);},{'priority':'high'});}),_0x222978['conversion']['for']('editingDowncast')['add'](_0x2ee5a7=>{_0x2ee5a7['on']('addMarker:suggestion:attribute',(_0x4ed622,_0x46c627,_0x309c07)=>{_0x1cbc1d(_0x4ed622,_0x46c627,_0x309c07,!0x1,!0x0);},{'priority':'high'});}),_0x222978['conversion']['for']('editingDowncast')['add'](_0x557207=>{_0x557207['on']('removeMarker:suggestion:formatBlock',(_0x5846dd,_0x1efff6,_0x1dd88b)=>{_0x318667(0x0,_0x1efff6,_0x1dd88b,!0x1);},{'priority':'high'});}),_0x222978['conversion']['for']('editingDowncast')['add'](_0x13a05e=>{_0x13a05e['on']('removeMarker:suggestion:attribute',(_0x3b00ec,_0x5c78a5,_0xe68699)=>{_0x318667(0x0,_0x5c78a5,_0xe68699,!0x0);},{'priority':'high'});}),_0x222978['conversion']['for']('dataDowncast')['add'](_0x534cb9=>{_0x534cb9['on']('addMarker:suggestion:formatBlock',(_0x5bdb94,_0xb9a035,_0x1d2436)=>{_0x1cbc1d(_0x5bdb94,_0xb9a035,_0x1d2436,!0x0,!0x1);},{'priority':'highest'});}),_0x222978['conversion']['for']('dataDowncast')['add'](_0x16429f=>{_0x16429f['on']('addMarker:suggestion:attribute',(_0x6b3f99,_0x78bc0f,_0x213a03)=>{_0x1cbc1d(_0x6b3f99,_0x78bc0f,_0x213a03,!0x0,!0x0);},{'priority':'highest'});}),_0x222978['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0xa718ae,_0x1eeeba)=>{if(_0x1eeeba['options']['showSuggestionHighlights']){const {id:_0x4cdb39,authorId:_0x8f1b8d}=Ka(_0xa718ae);return _0xa718ae['includes'](':split')||_0xa718ae['includes'](':merge')?{'group':'suggestion','name':_0xa718ae['substr'](0xb),'attributes':{'data-suggestion':_0x4cdb39,'data-author-id':_0x8f1b8d}}:null;}return{'group':'suggestion','name':_0xa718ae['substr'](0xb)};}});const _0x3d55af=(_0x5ddc0b,_0x34f5a0,_0x443237,_0x1b1b8a,_0x288554)=>{if(_0x1b1b8a&&!_0x443237['options']['showSuggestionHighlights'])return;if(!_0x443237['consumable']['test'](_0x34f5a0['markerRange'],_0x5ddc0b['name']))return;const _0x369dab=this['_activeMarkers'],_0x2f09c8=_0x34f5a0['markerRange']['getWalker'](),_0x972b3f=_0x34f5a0['markerRange']['start'],_0x4ad940=_0x222978['model']['schema'];let _0x44c632=null,_0x10f448=null,_0x49a222=!0x1,_0x2ab83f=!0x1;for(const _0x25933c of _0x2f09c8){const _0x433789=_0x25933c['item'];_0x49a222=_0x49a222||_0x4ad940['isContent'](_0x433789);const _0x3b61df=_0x443237['mapper']['toViewElement'](_0x433789);if(_0x3b61df&&_0x3b61df['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x25933c['type']&&(_0x4ad940['isBlock'](_0x433789)&&!_0x4ad940['isLimit'](_0x433789)&&(_0x433789['nextSibling']||_0x972b3f['isAtEnd']?_0x44c632&&_0x44c632['parent']==_0x433789||(_0x44c632=_0x433789,_0x580594(_0x25933c['previousPosition']),_0x2ab83f=!0x0):_0x10f448=_0x10f448||_0x25933c['previousPosition']));}function _0x580594(_0x5b238c){const {id:_0x401fd2,authorId:_0x1f60e}=Ka(_0x34f5a0['markerName']),_0x4ac540=_0x443237['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x288554,'data-suggestion':_0x401fd2,'data-author-id':_0x1f60e}),_0x283be0=_0x443237['mapper']['toViewPosition'](_0x5b238c);!_0x1b1b8a&&_0x369dab['includes'](_0x34f5a0['markerName'])&&_0x443237['writer']['addClass']('ck-suggestion-marker--active',_0x4ac540),_0x443237['writer']['insert'](_0x283be0,_0x4ac540),_0x443237['mapper']['bindElementToMarker'](_0x4ac540,_0x34f5a0['markerName']);}_0x49a222||_0x2ab83f||!_0x10f448||_0x580594(_0x10f448);};_0x222978['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1eac7e,_0x5c342c,_0x4c7edd)=>{_0x3d55af(_0x1eac7e,_0x5c342c,_0x4c7edd,!0x1,'merge');},{'priority':'high'}),_0x222978['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x22ab79,_0x27199b,_0x1c4d37)=>{_0x3d55af(_0x22ab79,_0x27199b,_0x1c4d37,!0x0,'merge');},{'priority':'high'}),_0x222978['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x50bcef,_0xed9d43,_0x49c00b)=>{_0x3d55af(_0x50bcef,_0xed9d43,_0x49c00b,!0x1,'split');},{'priority':'high'}),_0x222978['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x6c48fc,_0x4bb45f,_0x1c2b15)=>{_0x3d55af(_0x6c48fc,_0x4bb45f,_0x1c2b15,!0x0,'split');},{'priority':'high'}),_0x222978['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x283c94,_0x37d28e,_0x4531ef)=>{((_0x96bb0f,_0x468acc,_0x312133)=>{const _0x50dd9c=_0x312133['mapper']['markerNameToElements'](_0x468acc['markerName']);if(_0x50dd9c){for(const _0x119d79 of _0x50dd9c)(_0x119d79['hasClass']('ck-suggestion-marker-split')||_0x119d79['hasClass']('ck-suggestion-marker-merge'))&&(_0x312133['mapper']['unbindElementFromMarkerName'](_0x119d79,_0x468acc['markerName']),_0x312133['writer']['remove'](_0x119d79));}})(0x0,_0x37d28e,_0x4531ef);},{'priority':'high'});const _0x174ba2=(_0x2835fe,_0x2bd02e,_0x27209d,_0x26b18a)=>{if(_0x26b18a&&!_0x27209d['options']['showSuggestionHighlights'])return;const _0xed3d5d=_0x2bd02e['markerRange']['start'],_0xfc8e72=_0x2bd02e['markerRange']['end'],_0x34b04a=_0x222978['model']['schema'];if(!_0xed3d5d['isTouching'](_0xfc8e72)||!_0xed3d5d['nodeAfter'])return;const _0x431dae=_0xed3d5d['nodeAfter'];if(_0x34b04a['isBlock'](_0x431dae)&&!_0x34b04a['isLimit'](_0x431dae)&&_0x34b04a['checkChild'](_0x431dae,'$text')){if(!_0x27209d['consumable']['consume'](_0x2bd02e['markerRange'],_0x2835fe['name']))return;const {id:_0x2a023d,authorId:_0x4cc129}=Ka(_0x2bd02e['markerName']),_0x4737ab=_0x27209d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2a023d,'data-author-id':_0x4cc129}),_0x35ed28=_0x27209d['mapper']['toViewPosition'](_0xfc8e72);!_0x26b18a&&this['_activeMarkers']['includes'](_0x2bd02e['markerName'])&&_0x27209d['writer']['addClass']('ck-suggestion-marker--active',_0x4737ab),_0x27209d['writer']['insert'](_0x35ed28,_0x4737ab),_0x27209d['mapper']['bindElementToMarker'](_0x4737ab,_0x2bd02e['markerName']);}};_0x222978['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3e5504,_0x268320,_0x47458f)=>{_0x174ba2(_0x3e5504,_0x268320,_0x47458f,!0x1);},{'priority':'high'}),_0x222978['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xd49c83,_0x4705cf,_0x43b0bf)=>{_0x174ba2(_0xd49c83,_0x4705cf,_0x43b0bf,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x484e0e,_0x295c6d,_0x419b23)=>{this['_activeMarkers']=_0x419b23['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x538ab4){this['_blockAttributeKeys']['add'](_0x538ab4);}['registerInlineAttribute'](_0x4df887){this['_inlineAttributeKeys']['add'](_0x4df887);}['isBlockAttribute'](_0x5867fc){return this['_blockAttributeKeys']['has'](_0x5867fc);}['isInlineAttribute'](_0x59bd2a){return this['_inlineAttributeKeys']['has'](_0x59bd2a);}['isRegisteredAttribute'](_0x647507){return this['isInlineAttribute'](_0x647507)||this['isBlockAttribute'](_0x647507);}['_getClassName'](_0x114794,_0x10687b){if('attribute'!=_0x114794)return'ck-suggestion-marker-'+_0x114794;const _0x123a9d=_0x10687b['split']('|')[0x0];return this['isBlockAttribute'](_0x123a9d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(_0x2b0659){super('Invalid\x20DateTime:\x20'+_0x2b0659['toMessage']());}}class InvalidIntervalError extends LuxonError{constructor(_0x3d90d6){super('Invalid\x20Interval:\x20'+_0x3d90d6['toMessage']());}}class InvalidDurationError extends LuxonError{constructor(_0x21d730){super('Invalid\x20Duration:\x20'+_0x21d730['toMessage']());}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(_0x2693fe){super('Invalid\x20unit\x20'+_0x2693fe);}}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},Ic={'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'](_0x31ad3d,_0x9e6526){throw new ZoneIsAbstractError();}['formatOffset'](_0xc12646,_0x5562ef){throw new ZoneIsAbstractError();}['offset'](_0x1a7080){throw new ZoneIsAbstractError();}['equals'](_0x57bc30){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let Sc=null;class SystemZone extends Zone{static get['instance'](){return null===Sc&&(Sc=new SystemZone()),Sc;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0xc1429a,{format:_0x5456e3,locale:_0xe471a0}){return $l(_0xc1429a,_0x5456e3,_0xe471a0);}['formatOffset'](_0x269d9e,_0x451365){return Fl(this['offset'](_0x269d9e),_0x451365);}['offset'](_0x4afb41){return-new Date(_0x4afb41)['getTimezoneOffset']();}['equals'](_0x1e627e){return'system'===_0x1e627e['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'](_0x5bba4c){let _0x3d2788=xc['get'](_0x5bba4c);return void 0x0===_0x3d2788&&xc['set'](_0x5bba4c,_0x3d2788=new IANAZone(_0x5bba4c)),_0x3d2788;}static['resetCache'](){xc['clear'](),Cc['clear']();}static['isValidSpecifier'](_0x6db98){return this['isValidZone'](_0x6db98);}static['isValidZone'](_0x498db7){if(!_0x498db7)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x498db7})['format'](),!0x0;}catch(_0x4a72cc){return!0x1;}}constructor(_0x2d2131){super(),this['zoneName']=_0x2d2131,this['valid']=IANAZone['isValidZone'](_0x2d2131);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x3aa4b2,{format:_0x267297,locale:_0x1b3af8}){return $l(_0x3aa4b2,_0x267297,_0x1b3af8,this['name']);}['formatOffset'](_0x415382,_0x279880){return Fl(this['offset'](_0x415382),_0x279880);}['offset'](_0x40d42f){if(!this['valid'])return NaN;const _0x5d614d=new Date(_0x40d42f);if(isNaN(_0x5d614d))return NaN;const _0x4d67ae=function(_0x45df74){let _0x5cb320=Cc['get'](_0x45df74);return void 0x0===_0x5cb320&&(_0x5cb320=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x45df74,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),Cc['set'](_0x45df74,_0x5cb320)),_0x5cb320;}(this['name']);let [_0x402133,_0xdd44d9,_0x94f5ab,_0x174af2,_0x37f025,_0x1e1351,_0x5131a3]=_0x4d67ae['formatToParts']?function(_0x10fc26,_0x10a866){const _0x2022fe=_0x10fc26['formatToParts'](_0x10a866),_0x30c931=[];for(let _0x42c67c=0x0;_0x42c67c<_0x2022fe['length'];_0x42c67c++){const {type:_0x5d95b5,value:_0x384ed6}=_0x2022fe[_0x42c67c],_0x172411=kc[_0x5d95b5];'era'===_0x5d95b5?_0x30c931[_0x172411]=_0x384ed6:Ol(_0x172411)||(_0x30c931[_0x172411]=parseInt(_0x384ed6,0xa));}return _0x30c931;}(_0x4d67ae,_0x5d614d):function(_0x1ed3b2,_0x24ec51){const _0x169b50=_0x1ed3b2['format'](_0x24ec51)['replace'](/\u200E/g,''),_0x187fac=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x169b50),[,_0x4444ba,_0x53a7f5,_0x58e8c7,_0x1d44d9,_0x200cb8,_0x3feda0,_0xdc1f6c]=_0x187fac;return[_0x58e8c7,_0x4444ba,_0x53a7f5,_0x1d44d9,_0x200cb8,_0x3feda0,_0xdc1f6c];}(_0x4d67ae,_0x5d614d);'BC'===_0x174af2&&(_0x402133=0x1-Math['abs'](_0x402133));let _0x4802ec=+_0x5d614d;const _0x46460a=_0x4802ec%0x3e8;return _0x4802ec-=_0x46460a>=0x0?_0x46460a:0x3e8+_0x46460a,(Nl({'year':_0x402133,'month':_0xdd44d9,'day':_0x94f5ab,'hour':0x18===_0x37f025?0x0:_0x37f025,'minute':_0x1e1351,'second':_0x5131a3,'millisecond':0x0})-_0x4802ec)/0xea60;}['equals'](_0x5d3174){return'iana'===_0x5d3174['type']&&_0x5d3174['name']===this['name'];}get['isValid'](){return this['valid'];}}let Rc={};const Pc=new Map();function Mc(_0x248729,_0x2b8125={}){const _0xe43439=JSON['stringify']([_0x248729,_0x2b8125]);let _0x2163c1=Pc['get'](_0xe43439);return void 0x0===_0x2163c1&&(_0x2163c1=new Intl['DateTimeFormat'](_0x248729,_0x2b8125),Pc['set'](_0xe43439,_0x2163c1)),_0x2163c1;}const Nc=new Map(),Lc=new Map();let Dc=null;const Qc=new Map();function $c(_0xf5a2fc){let _0x1bc664=Qc['get'](_0xf5a2fc);return void 0x0===_0x1bc664&&(_0x1bc664=new Intl['DateTimeFormat'](_0xf5a2fc)['resolvedOptions'](),Qc['set'](_0xf5a2fc,_0x1bc664)),_0x1bc664;}const Vc=new Map();function Uc(_0x687b6,_0x58a453,_0x473ee4,_0x58d06a){const _0x3e0e4c=_0x687b6['listingMode']();return'error'===_0x3e0e4c?null:'en'===_0x3e0e4c?_0x473ee4(_0x58a453):_0x58d06a(_0x58a453);}class PolyNumberFormatter{constructor(_0x5e5289,_0x20efd4,_0x22466e){this['padTo']=_0x22466e['padTo']||0x0,this['floor']=_0x22466e['floor']||!0x1;const {padTo:_0x230547,floor:_0x437de0,..._0x25d758}=_0x22466e;if(!_0x20efd4||Object['keys'](_0x25d758)['length']>0x0){const _0x4b1dec={'useGrouping':!0x1,..._0x22466e};_0x22466e['padTo']>0x0&&(_0x4b1dec['minimumIntegerDigits']=_0x22466e['padTo']),this['inf']=function(_0x261206,_0xa8d9e3={}){const _0x302cc4=JSON['stringify']([_0x261206,_0xa8d9e3]);let _0x181b77=Nc['get'](_0x302cc4);return void 0x0===_0x181b77&&(_0x181b77=new Intl['NumberFormat'](_0x261206,_0xa8d9e3),Nc['set'](_0x302cc4,_0x181b77)),_0x181b77;}(_0x5e5289,_0x4b1dec);}}['format'](_0x326a84){if(this['inf']){const _0x1e8f46=this['floor']?Math['floor'](_0x326a84):_0x326a84;return this['inf']['format'](_0x1e8f46);}return Il(this['floor']?Math['floor'](_0x326a84):xl(_0x326a84,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x236207,_0x2151b2,_0x4ad292){let _0xb5f1d0;if(this['opts']=_0x4ad292,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x236207;else{if('fixed'===_0x236207['zone']['type']){const _0x371e61=_0x236207['offset']/0x3c*-0x1,_0x356795=_0x371e61>=0x0?'Etc/GMT+'+_0x371e61:'Etc/GMT'+_0x371e61;0x0!==_0x236207['offset']&&IANAZone['create'](_0x356795)['valid']?(_0xb5f1d0=_0x356795,this['dt']=_0x236207):(_0xb5f1d0='UTC',this['dt']=0x0===_0x236207['offset']?_0x236207:_0x236207['setZone']('UTC')['plus']({'minutes':_0x236207['offset']}),this['originalZone']=_0x236207['zone']);}else'system'===_0x236207['zone']['type']?this['dt']=_0x236207:'iana'===_0x236207['zone']['type']?(this['dt']=_0x236207,_0xb5f1d0=_0x236207['zone']['name']):(_0xb5f1d0='UTC',this['dt']=_0x236207['setZone']('UTC')['plus']({'minutes':_0x236207['offset']}),this['originalZone']=_0x236207['zone']);}const _0x16e2fa={...this['opts']};_0x16e2fa['timeZone']=_0x16e2fa['timeZone']||_0xb5f1d0,this['dtf']=Mc(_0x2151b2,_0x16e2fa);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x5c6127})=>_0x5c6127)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x53ff70=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x53ff70['map'](_0x22318a=>{if('timeZoneName'===_0x22318a['type']){const _0x3add34=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x22318a,'value':_0x3add34};}return _0x22318a;}):_0x53ff70;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x4d4657,_0x48d02d,_0x171daf){this['opts']={'style':'long',..._0x171daf},!_0x48d02d&&yl()&&(this['rtf']=function(_0x3d82df,_0x4aff46={}){const {base:_0x29bfd8,..._0x56a4e2}=_0x4aff46,_0x698e5=JSON['stringify']([_0x3d82df,_0x56a4e2]);let _0xd0485=Lc['get'](_0x698e5);return void 0x0===_0xd0485&&(_0xd0485=new Intl['RelativeTimeFormat'](_0x3d82df,_0x4aff46),Lc['set'](_0x698e5,_0xd0485)),_0xd0485;}(_0x4d4657,_0x171daf));}['format'](_0x506fe5,_0x27ae0b){return this['rtf']?this['rtf']['format'](_0x506fe5,_0x27ae0b):function(_0xe1b567,_0x5f43d1,_0x7fdd3f='always',_0x3bbda2=!0x1){const _0x757623={'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.']},_0x6014cd=-0x1===['hours','minutes','seconds']['indexOf'](_0xe1b567);if('auto'===_0x7fdd3f&&_0x6014cd){const _0x1dea88='days'===_0xe1b567;switch(_0x5f43d1){case 0x1:return _0x1dea88?'tomorrow':'next\x20'+_0x757623[_0xe1b567][0x0];case-0x1:return _0x1dea88?'yesterday':'last\x20'+_0x757623[_0xe1b567][0x0];case 0x0:return _0x1dea88?'today':'this\x20'+_0x757623[_0xe1b567][0x0];}}const _0x19ce2d=Object['is'](_0x5f43d1,-0x0)||_0x5f43d1<0x0,_0xbdf459=Math['abs'](_0x5f43d1),_0x372c62=0x1===_0xbdf459,_0xe36093=_0x757623[_0xe1b567],_0x430836=_0x3bbda2?_0x372c62?_0xe36093[0x1]:_0xe36093[0x2]||_0xe36093[0x1]:_0x372c62?_0x757623[_0xe1b567][0x0]:_0xe1b567;return _0x19ce2d?_0xbdf459+'\x20'+_0x430836+'\x20ago':'in\x20'+_0xbdf459+'\x20'+_0x430836;}(_0x27ae0b,_0x506fe5,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x57ca6c,_0x536c76){return this['rtf']?this['rtf']['formatToParts'](_0x57ca6c,_0x536c76):[];}}const Bc={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class Locale{static['fromOpts'](_0x45c660){return Locale['create'](_0x45c660['locale'],_0x45c660['numberingSystem'],_0x45c660['outputCalendar'],_0x45c660['weekSettings'],_0x45c660['defaultToEN']);}static['create'](_0x1f99ba,_0x139adb,_0x67b30d,_0x29b9f2,_0x3e0f2b=!0x1){const _0x5822c1=_0x1f99ba||Settings['defaultLocale'],_0x5c65da=_0x5822c1||(_0x3e0f2b?'en-US':Dc||(Dc=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],Dc)),_0x45990d=_0x139adb||Settings['defaultNumberingSystem'],_0x76fac2=_0x67b30d||Settings['defaultOutputCalendar'],_0x197b35=El(_0x29b9f2)||Settings['defaultWeekSettings'];return new Locale(_0x5c65da,_0x45990d,_0x76fac2,_0x197b35,_0x5822c1);}static['resetCache'](){Dc=null,Pc['clear'](),Nc['clear'](),Lc['clear'](),Qc['clear'](),Vc['clear']();}static['fromObject']({locale:_0x5871cc,numberingSystem:_0x21a7b9,outputCalendar:_0x354c5f,weekSettings:_0x2ec635}={}){return Locale['create'](_0x5871cc,_0x21a7b9,_0x354c5f,_0x2ec635);}constructor(_0x16c804,_0xa88918,_0x4f1007,_0x2e46e9,_0x34eb70){const [_0x53fdee,_0x239592,_0x4ecd47]=function(_0x387171){const _0x46696a=_0x387171['indexOf']('-x-');-0x1!==_0x46696a&&(_0x387171=_0x387171['substring'](0x0,_0x46696a));const _0x247a12=_0x387171['indexOf']('-u-');if(-0x1===_0x247a12)return[_0x387171];{let _0x3d3a28,_0x54260e;try{_0x3d3a28=Mc(_0x387171)['resolvedOptions'](),_0x54260e=_0x387171;}catch(_0x1b03cf){const _0x53d68a=_0x387171['substring'](0x0,_0x247a12);_0x3d3a28=Mc(_0x53d68a)['resolvedOptions'](),_0x54260e=_0x53d68a;}const {numberingSystem:_0x43b5f2,calendar:_0x46fbdf}=_0x3d3a28;return[_0x54260e,_0x43b5f2,_0x46fbdf];}}(_0x16c804);this['locale']=_0x53fdee,this['numberingSystem']=_0xa88918||_0x239592||null,this['outputCalendar']=_0x4f1007||_0x4ecd47||null,this['weekSettings']=_0x2e46e9,this['intl']=function(_0x27ad4c,_0x17a20e,_0x46d516){return _0x46d516||_0x17a20e?(_0x27ad4c['includes']('-u-')||(_0x27ad4c+='-u'),_0x46d516&&(_0x27ad4c+='-ca-'+_0x46d516),_0x17a20e&&(_0x27ad4c+='-nu-'+_0x17a20e),_0x27ad4c):_0x27ad4c;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x34eb70,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x45dd8b;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x45dd8b=this)['numberingSystem']||'latn'===_0x45dd8b['numberingSystem'])&&('latn'===_0x45dd8b['numberingSystem']||!_0x45dd8b['locale']||_0x45dd8b['locale']['startsWith']('en')||'latn'===$c(_0x45dd8b['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x212541=this['isEnglish'](),_0x225bc7=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x212541&&_0x225bc7?'en':'intl';}['clone'](_0x2d38ab){return _0x2d38ab&&0x0!==Object['getOwnPropertyNames'](_0x2d38ab)['length']?Locale['create'](_0x2d38ab['locale']||this['specifiedLocale'],_0x2d38ab['numberingSystem']||this['numberingSystem'],_0x2d38ab['outputCalendar']||this['outputCalendar'],El(_0x2d38ab['weekSettings'])||this['weekSettings'],_0x2d38ab['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x25726b={}){return this['clone']({..._0x25726b,'defaultToEN':!0x0});}['redefaultToSystem'](_0x3e0dfa={}){return this['clone']({..._0x3e0dfa,'defaultToEN':!0x1});}['months'](_0x5d29f7,_0x33e9a8=!0x1){return Uc(this,_0x5d29f7,Xl,()=>{const _0x1eb583=_0x33e9a8?{'month':_0x5d29f7,'day':'numeric'}:{'month':_0x5d29f7},_0x8575f1=_0x33e9a8?'format':'standalone';return this['monthsCache'][_0x8575f1][_0x5d29f7]||(this['monthsCache'][_0x8575f1][_0x5d29f7]=function(_0x32bcd1){const _0x5d4c91=[];for(let _0x3c81c7=0x1;_0x3c81c7<=0xc;_0x3c81c7++){const _0x105bcd=DateTime['utc'](0x7d9,_0x3c81c7,0x1);_0x5d4c91['push'](_0x32bcd1(_0x105bcd));}return _0x5d4c91;}(_0x2914ad=>this['extract'](_0x2914ad,_0x1eb583,'month'))),this['monthsCache'][_0x8575f1][_0x5d29f7];});}['weekdays'](_0xab61a1,_0x14b8df=!0x1){return Uc(this,_0xab61a1,Yl,()=>{const _0x1e42e2=_0x14b8df?{'weekday':_0xab61a1,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0xab61a1},_0x1fbb04=_0x14b8df?'format':'standalone';return this['weekdaysCache'][_0x1fbb04][_0xab61a1]||(this['weekdaysCache'][_0x1fbb04][_0xab61a1]=function(_0x2b7c29){const _0x453b0f=[];for(let _0x2564e0=0x1;_0x2564e0<=0x7;_0x2564e0++){const _0x4ed769=DateTime['utc'](0x7e0,0xb,0xd+_0x2564e0);_0x453b0f['push'](_0x2b7c29(_0x4ed769));}return _0x453b0f;}(_0x3abaf1=>this['extract'](_0x3abaf1,_0x1e42e2,'weekday'))),this['weekdaysCache'][_0x1fbb04][_0xab61a1];});}['meridiems'](){return Uc(this,void 0x0,()=>Kl,()=>{if(!this['meridiemCache']){const _0x40b754={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0xf0454f=>this['extract'](_0xf0454f,_0x40b754,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x4472ba){return Uc(this,_0x4472ba,ih,()=>{const _0x58e699={'era':_0x4472ba};return this['eraCache'][_0x4472ba]||(this['eraCache'][_0x4472ba]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x51aacd=>this['extract'](_0x51aacd,_0x58e699,'era'))),this['eraCache'][_0x4472ba];});}['extract'](_0x4df76b,_0x181314,_0x424041){const _0x355042=this['dtFormatter'](_0x4df76b,_0x181314)['formatToParts']()['find'](_0x99b391=>_0x99b391['type']['toLowerCase']()===_0x424041);return _0x355042?_0x355042['value']:null;}['numberFormatter'](_0x42dff1={}){return new PolyNumberFormatter(this['intl'],_0x42dff1['forceSimple']||this['fastNumbers'],_0x42dff1);}['dtFormatter'](_0x1eb08c,_0x20af74={}){return new PolyDateFormatter(_0x1eb08c,this['intl'],_0x20af74);}['relFormatter'](_0x2107e8={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x2107e8);}['listFormatter'](_0x320433={}){return function(_0x1393e5,_0x22804c={}){const _0x8ee9f=JSON['stringify']([_0x1393e5,_0x22804c]);let _0x450ee4=Rc[_0x8ee9f];return _0x450ee4||(_0x450ee4=new Intl['ListFormat'](_0x1393e5,_0x22804c),Rc[_0x8ee9f]=_0x450ee4),_0x450ee4;}(this['intl'],_0x320433);}['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(_0x592b46){let _0x2d0335=Vc['get'](_0x592b46);if(!_0x2d0335){const _0x88c6d=new Intl['Locale'](_0x592b46);_0x2d0335='getWeekInfo'in _0x88c6d?_0x88c6d['getWeekInfo']():_0x88c6d['weekInfo'],'minimalDays'in _0x2d0335||(_0x2d0335={...Bc,..._0x2d0335}),Vc['set'](_0x592b46,_0x2d0335);}return _0x2d0335;}(this['locale']):Bc;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x4ba1d3){return this['locale']===_0x4ba1d3['locale']&&this['numberingSystem']===_0x4ba1d3['numberingSystem']&&this['outputCalendar']===_0x4ba1d3['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'](_0x542d5e){return 0x0===_0x542d5e?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x542d5e);}static['parseSpecifier'](_0x2a6888){if(_0x2a6888){const _0x2c9fc6=_0x2a6888['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x2c9fc6)return new FixedOffsetZone(Vl(_0x2c9fc6[0x1],_0x2c9fc6[0x2]));}return null;}constructor(_0x1f972d){super(),this['fixed']=_0x1f972d;}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'](_0x79e07c,_0x1688ec){return Fl(this['fixed'],_0x1688ec);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x68ebf2){return'fixed'===_0x68ebf2['type']&&_0x68ebf2['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class InvalidZone extends Zone{constructor(_0x28c9cb){super(),this['zoneName']=_0x28c9cb;}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(_0x235d60,_0x57e07c){if(Ol(_0x235d60)||null===_0x235d60)return _0x57e07c;if(_0x235d60 instanceof Zone)return _0x235d60;if(function(_0x18f3d4){return'string'==typeof _0x18f3d4;}(_0x235d60)){const _0x2b3b29=_0x235d60['toLowerCase']();return'default'===_0x2b3b29?_0x57e07c:'local'===_0x2b3b29||'system'===_0x2b3b29?SystemZone['instance']:'utc'===_0x2b3b29||'gmt'===_0x2b3b29?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x2b3b29)||IANAZone['create'](_0x235d60);}return wl(_0x235d60)?FixedOffsetZone['instance'](_0x235d60):'object'==typeof _0x235d60&&'offset'in _0x235d60&&'function'==typeof _0x235d60['offset']?_0x235d60:new InvalidZone(_0x235d60);}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:_0x40e45d},_0x2b70ff=''){const _0x1fecc0=_0x40e45d||'latn';let _0x543cdc=Xc['get'](_0x1fecc0);void 0x0===_0x543cdc&&(_0x543cdc=new Map(),Xc['set'](_0x1fecc0,_0x543cdc));let _0x231097=_0x543cdc['get'](_0x2b70ff);return void 0x0===_0x231097&&(_0x231097=new RegExp(''+Hc[_0x1fecc0]+_0x2b70ff),_0x543cdc['set'](_0x2b70ff,_0x231097)),_0x231097;}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'](_0x57e25b){zc=_0x57e25b;}static set['defaultZone'](_0x1e0e03){Yc=_0x1e0e03;}static get['defaultZone'](){return jc(Yc,SystemZone['instance']);}static get['defaultLocale'](){return Kc;}static set['defaultLocale'](_0x53e153){Kc=_0x53e153;}static get['defaultNumberingSystem'](){return Jc;}static set['defaultNumberingSystem'](_0x54f886){Jc=_0x54f886;}static get['defaultOutputCalendar'](){return tl;}static set['defaultOutputCalendar'](_0x3fc6d0){tl=_0x3fc6d0;}static get['defaultWeekSettings'](){return il;}static set['defaultWeekSettings'](_0x392373){il=El(_0x392373);}static get['twoDigitCutoffYear'](){return el;}static set['twoDigitCutoffYear'](_0xeba220){el=_0xeba220%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(_0x405920,_0x581a6f){this['reason']=_0x405920,this['explanation']=_0x581a6f;}['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(_0x431e9e,_0x394056){return new Invalid('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x394056+'\x20(of\x20type\x20'+typeof _0x394056+')\x20as\x20a\x20'+_0x431e9e+',\x20which\x20is\x20invalid');}function ol(_0xcbfcd5,_0x3a9cea,_0x3164de){const _0x5bdc36=new Date(Date['UTC'](_0xcbfcd5,_0x3a9cea-0x1,_0x3164de));_0xcbfcd5<0x64&&_0xcbfcd5>=0x0&&_0x5bdc36['setUTCFullYear'](_0x5bdc36['getUTCFullYear']()-0x76c);const _0x1c407e=_0x5bdc36['getUTCDay']();return 0x0===_0x1c407e?0x7:_0x1c407e;}function al(_0x2dfe24,_0x41e7ba,_0x25aab7){return _0x25aab7+(Rl(_0x2dfe24)?nl:sl)[_0x41e7ba-0x1];}function cl(_0x40c2c4,_0x465e7b){const _0x261c3e=Rl(_0x40c2c4)?nl:sl,_0x36b46e=_0x261c3e['findIndex'](_0x5b43ca=>_0x5b43ca<_0x465e7b);return{'month':_0x36b46e+0x1,'day':_0x465e7b-_0x261c3e[_0x36b46e]};}function ll(_0x2932bb,_0xf726c8){return(_0x2932bb-_0xf726c8+0x7)%0x7+0x1;}function hl(_0x3bf7d9,_0x2419cf=0x4,_0x53c68f=0x1){const {year:_0x176f98,month:_0x16a7d8,day:_0x14b5db}=_0x3bf7d9,_0x3a4819=al(_0x176f98,_0x16a7d8,_0x14b5db),_0xfe77a5=ll(ol(_0x176f98,_0x16a7d8,_0x14b5db),_0x53c68f);let _0x203d01,_0x8572bc=Math['floor']((_0x3a4819-_0xfe77a5+0xe-_0x2419cf)/0x7);return _0x8572bc<0x1?(_0x203d01=_0x176f98-0x1,_0x8572bc=Dl(_0x203d01,_0x2419cf,_0x53c68f)):_0x8572bc>Dl(_0x176f98,_0x2419cf,_0x53c68f)?(_0x203d01=_0x176f98+0x1,_0x8572bc=0x1):_0x203d01=_0x176f98,{'weekYear':_0x203d01,'weekNumber':_0x8572bc,'weekday':_0xfe77a5,...jl(_0x3bf7d9)};}function ul(_0x23e412,_0x5cccdd=0x4,_0x1db02a=0x1){const {weekYear:_0x490508,weekNumber:_0x55c850,weekday:_0x3fea65}=_0x23e412,_0x57006d=ll(ol(_0x490508,0x1,_0x5cccdd),_0x1db02a),_0xe7e4fd=Pl(_0x490508);let _0x1e0ddd,_0x530cb1=0x7*_0x55c850+_0x3fea65-_0x57006d-0x7+_0x5cccdd;_0x530cb1<0x1?(_0x1e0ddd=_0x490508-0x1,_0x530cb1+=Pl(_0x1e0ddd)):_0x530cb1>_0xe7e4fd?(_0x1e0ddd=_0x490508+0x1,_0x530cb1-=Pl(_0x490508)):_0x1e0ddd=_0x490508;const {month:_0x4ef159,day:_0x25eaef}=cl(_0x1e0ddd,_0x530cb1);return{'year':_0x1e0ddd,'month':_0x4ef159,'day':_0x25eaef,...jl(_0x23e412)};}function dl(_0x4f3f11){const {year:_0x142384,month:_0x7fea61,day:_0x55acc0}=_0x4f3f11;return{'year':_0x142384,'ordinal':al(_0x142384,_0x7fea61,_0x55acc0),...jl(_0x4f3f11)};}function fl(_0x3bfb15){const {year:_0x583ecc,ordinal:_0xf44509}=_0x3bfb15,{month:_0x39f03f,day:_0x1419bf}=cl(_0x583ecc,_0xf44509);return{'year':_0x583ecc,'month':_0x39f03f,'day':_0x1419bf,...jl(_0x3bfb15)};}function ml(_0x2d1dd1,_0x334371){if(!Ol(_0x2d1dd1['localWeekday'])||!Ol(_0x2d1dd1['localWeekNumber'])||!Ol(_0x2d1dd1['localWeekYear'])){if(!Ol(_0x2d1dd1['weekday'])||!Ol(_0x2d1dd1['weekNumber'])||!Ol(_0x2d1dd1['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return Ol(_0x2d1dd1['localWeekday'])||(_0x2d1dd1['weekday']=_0x2d1dd1['localWeekday']),Ol(_0x2d1dd1['localWeekNumber'])||(_0x2d1dd1['weekNumber']=_0x2d1dd1['localWeekNumber']),Ol(_0x2d1dd1['localWeekYear'])||(_0x2d1dd1['weekYear']=_0x2d1dd1['localWeekYear']),delete _0x2d1dd1['localWeekday'],delete _0x2d1dd1['localWeekNumber'],delete _0x2d1dd1['localWeekYear'],{'minDaysInFirstWeek':_0x334371['getMinDaysInFirstWeek'](),'startOfWeek':_0x334371['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function gl(_0x414ad6){const _0x3ef99b=bl(_0x414ad6['year']),_0x2ffb98=Al(_0x414ad6['month'],0x1,0xc),_0x382a55=Al(_0x414ad6['day'],0x1,Ml(_0x414ad6['year'],_0x414ad6['month']));return _0x3ef99b?_0x2ffb98?!_0x382a55&&rl('day',_0x414ad6['day']):rl('month',_0x414ad6['month']):rl('year',_0x414ad6['year']);}function pl(_0x23b59f){const {hour:_0x336f13,minute:_0x412bcc,second:_0x240d49,millisecond:_0x1d4eb2}=_0x23b59f,_0x1bc9b4=Al(_0x336f13,0x0,0x17)||0x18===_0x336f13&&0x0===_0x412bcc&&0x0===_0x240d49&&0x0===_0x1d4eb2,_0x167dda=Al(_0x412bcc,0x0,0x3b),_0x54b6b6=Al(_0x240d49,0x0,0x3b),_0x2c0dbd=Al(_0x1d4eb2,0x0,0x3e7);return _0x1bc9b4?_0x167dda?_0x54b6b6?!_0x2c0dbd&&rl('millisecond',_0x1d4eb2):rl('second',_0x240d49):rl('minute',_0x412bcc):rl('hour',_0x336f13);}function Ol(_0x1654f4){return void 0x0===_0x1654f4;}function wl(_0x10633d){return'number'==typeof _0x10633d;}function bl(_0x18cdb9){return'number'==typeof _0x18cdb9&&_0x18cdb9%0x1==0x0;}function yl(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x1fc8d6){return!0x1;}}function _l(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x4be486){return!0x1;}}function vl(_0x28983d,_0x45f7df,_0x74da90){if(0x0!==_0x28983d['length'])return _0x28983d['reduce']((_0x2abb58,_0x5a65c2)=>{const _0x2cc555=[_0x45f7df(_0x5a65c2),_0x5a65c2];return _0x2abb58&&_0x74da90(_0x2abb58[0x0],_0x2cc555[0x0])===_0x2abb58[0x0]?_0x2abb58:_0x2cc555;},null)[0x1];}function Tl(_0xe0bcd3,_0x2d4651){return Object['prototype']['hasOwnProperty']['call'](_0xe0bcd3,_0x2d4651);}function El(_0x3f8b9f){if(null==_0x3f8b9f)return null;if('object'!=typeof _0x3f8b9f)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!Al(_0x3f8b9f['firstDay'],0x1,0x7)||!Al(_0x3f8b9f['minimalDays'],0x1,0x7)||!Array['isArray'](_0x3f8b9f['weekend'])||_0x3f8b9f['weekend']['some'](_0x23c796=>!Al(_0x23c796,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x3f8b9f['firstDay'],'minimalDays':_0x3f8b9f['minimalDays'],'weekend':Array['from'](_0x3f8b9f['weekend'])};}function Al(_0x59a41c,_0x155218,_0x50e12a){return bl(_0x59a41c)&&_0x59a41c>=_0x155218&&_0x59a41c<=_0x50e12a;}function Il(_0x25d02c,_0x2633eb=0x2){let _0xe5b269;return _0xe5b269=_0x25d02c<0x0?'-'+(''+-_0x25d02c)['padStart'](_0x2633eb,'0'):(''+_0x25d02c)['padStart'](_0x2633eb,'0'),_0xe5b269;}function Sl(_0x54f43d){return Ol(_0x54f43d)||null===_0x54f43d||''===_0x54f43d?void 0x0:parseInt(_0x54f43d,0xa);}function Cl(_0x11f73e){return Ol(_0x11f73e)||null===_0x11f73e||''===_0x11f73e?void 0x0:parseFloat(_0x11f73e);}function kl(_0x307b2f){if(!Ol(_0x307b2f)&&null!==_0x307b2f&&''!==_0x307b2f){const _0x1559e9=0x3e8*parseFloat('0.'+_0x307b2f);return Math['floor'](_0x1559e9);}}function xl(_0x50120d,_0x116925,_0x350bac=!0x1){const _0x1e3d31=0xa**_0x116925;return(_0x350bac?Math['trunc']:Math['round'])(_0x50120d*_0x1e3d31)/_0x1e3d31;}function Rl(_0x376cc5){return _0x376cc5%0x4==0x0&&(_0x376cc5%0x64!=0x0||_0x376cc5%0x190==0x0);}function Pl(_0x2c4e32){return Rl(_0x2c4e32)?0x16e:0x16d;}function Ml(_0x34cbd1,_0x4543a4){const _0x312739=function(_0x2fae37,_0x5e5aa0){return _0x2fae37-_0x5e5aa0*Math['floor'](_0x2fae37/_0x5e5aa0);}(_0x4543a4-0x1,0xc)+0x1;return 0x2===_0x312739?Rl(_0x34cbd1+(_0x4543a4-_0x312739)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x312739-0x1];}function Nl(_0x22ea70){let _0x2c8c3c=Date['UTC'](_0x22ea70['year'],_0x22ea70['month']-0x1,_0x22ea70['day'],_0x22ea70['hour'],_0x22ea70['minute'],_0x22ea70['second'],_0x22ea70['millisecond']);return _0x22ea70['year']<0x64&&_0x22ea70['year']>=0x0&&(_0x2c8c3c=new Date(_0x2c8c3c),_0x2c8c3c['setUTCFullYear'](_0x22ea70['year'],_0x22ea70['month']-0x1,_0x22ea70['day'])),+_0x2c8c3c;}function Ll(_0x5c016a,_0x4a4792,_0x2486fa){return-ll(ol(_0x5c016a,0x1,_0x4a4792),_0x2486fa)+_0x4a4792-0x1;}function Dl(_0x3bc348,_0x480675=0x4,_0x4f725b=0x1){const _0x183cfe=Ll(_0x3bc348,_0x480675,_0x4f725b),_0xd4b574=Ll(_0x3bc348+0x1,_0x480675,_0x4f725b);return(Pl(_0x3bc348)-_0x183cfe+_0xd4b574)/0x7;}function Ql(_0x446183){return _0x446183>0x63?_0x446183:_0x446183>Settings['twoDigitCutoffYear']?0x76c+_0x446183:0x7d0+_0x446183;}function $l(_0x1d2304,_0x5ce6da,_0x539810,_0x2c17f6=null){const _0x5b37e2=new Date(_0x1d2304),_0x1d896a={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x2c17f6&&(_0x1d896a['timeZone']=_0x2c17f6);const _0x5036a2={'timeZoneName':_0x5ce6da,..._0x1d896a},_0x4e3323=new Intl['DateTimeFormat'](_0x539810,_0x5036a2)['formatToParts'](_0x5b37e2)['find'](_0x3c1ec0=>'timezonename'===_0x3c1ec0['type']['toLowerCase']());return _0x4e3323?_0x4e3323['value']:null;}function Vl(_0x26937c,_0x581111){let _0x3b1e15=parseInt(_0x26937c,0xa);Number['isNaN'](_0x3b1e15)&&(_0x3b1e15=0x0);const _0x2e0304=parseInt(_0x581111,0xa)||0x0;return 0x3c*_0x3b1e15+(_0x3b1e15<0x0||Object['is'](_0x3b1e15,-0x0)?-_0x2e0304:_0x2e0304);}function Ul(_0x58033f){const _0x4fa592=Number(_0x58033f);if('boolean'==typeof _0x58033f||''===_0x58033f||Number['isNaN'](_0x4fa592))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x58033f);return _0x4fa592;}function Bl(_0xf73631,_0x1e3c99){const _0x5c5fa6={};for(const _0x2b826c in _0xf73631)if(Tl(_0xf73631,_0x2b826c)){const _0x34bd77=_0xf73631[_0x2b826c];if(null==_0x34bd77)continue;_0x5c5fa6[_0x1e3c99(_0x2b826c)]=Ul(_0x34bd77);}return _0x5c5fa6;}function Fl(_0x5a413a,_0x59b6ce){const _0x19513a=Math['trunc'](Math['abs'](_0x5a413a/0x3c)),_0x3018bd=Math['trunc'](Math['abs'](_0x5a413a%0x3c)),_0x52d87f=_0x5a413a>=0x0?'+':'-';switch(_0x59b6ce){case'short':return''+_0x52d87f+Il(_0x19513a,0x2)+':'+Il(_0x3018bd,0x2);case'narrow':return''+_0x52d87f+_0x19513a+(_0x3018bd>0x0?':'+_0x3018bd:'');case'techie':return''+_0x52d87f+Il(_0x19513a,0x2)+Il(_0x3018bd,0x2);default:throw new RangeError('Value\x20format\x20'+_0x59b6ce+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function jl(_0x3c39d4){return function(_0xcaa469,_0x44577a){return _0x44577a['reduce']((_0x56dd60,_0xe17b38)=>(_0x56dd60[_0xe17b38]=_0xcaa469[_0xe17b38],_0x56dd60),{});}(_0x3c39d4,['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(_0xec3e19){switch(_0xec3e19){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(_0x177d14){switch(_0x177d14){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(_0x21119f){switch(_0x21119f){case'narrow':return[...eh];case'short':return[...th];case'long':return[...Jl];default:return null;}}function sh(_0x193c77,_0x2093cc){let _0x275992='';for(const _0x40c2ef of _0x193c77)_0x40c2ef['literal']?_0x275992+=_0x40c2ef['val']:_0x275992+=_0x2093cc(_0x40c2ef['val']);return _0x275992;}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':Ic};class Formatter{static['create'](_0x42c0e6,_0x385594={}){return new Formatter(_0x42c0e6,_0x385594);}static['parseFormat'](_0x10777e){let _0x2dfa0e=null,_0x253b77='',_0x351f23=!0x1;const _0x4e640f=[];for(let _0x1f6459=0x0;_0x1f6459<_0x10777e['length'];_0x1f6459++){const _0x276f95=_0x10777e['charAt'](_0x1f6459);'\x27'===_0x276f95?(_0x253b77['length']>0x0&&_0x4e640f['push']({'literal':_0x351f23||/^\s+$/['test'](_0x253b77),'val':_0x253b77}),_0x2dfa0e=null,_0x253b77='',_0x351f23=!_0x351f23):_0x351f23||_0x276f95===_0x2dfa0e?_0x253b77+=_0x276f95:(_0x253b77['length']>0x0&&_0x4e640f['push']({'literal':/^\s+$/['test'](_0x253b77),'val':_0x253b77}),_0x253b77=_0x276f95,_0x2dfa0e=_0x276f95);}return _0x253b77['length']>0x0&&_0x4e640f['push']({'literal':_0x351f23||/^\s+$/['test'](_0x253b77),'val':_0x253b77}),_0x4e640f;}static['macroTokenToFormatOpts'](_0x1898a7){return nh[_0x1898a7];}constructor(_0x5a31b7,_0x58fbd5){this['opts']=_0x58fbd5,this['loc']=_0x5a31b7,this['systemLoc']=null;}['formatWithSystemDefault'](_0xf0660e,_0x2b92b8){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0xf0660e,{...this['opts'],..._0x2b92b8})['format']();}['dtFormatter'](_0x58cef6,_0x5e1800={}){return this['loc']['dtFormatter'](_0x58cef6,{...this['opts'],..._0x5e1800});}['formatDateTime'](_0x294bc1,_0x1f6c2e){return this['dtFormatter'](_0x294bc1,_0x1f6c2e)['format']();}['formatDateTimeParts'](_0x13a638,_0x2306c4){return this['dtFormatter'](_0x13a638,_0x2306c4)['formatToParts']();}['formatInterval'](_0x3f2f96,_0x3bc9e3){return this['dtFormatter'](_0x3f2f96['start'],_0x3bc9e3)['dtf']['formatRange'](_0x3f2f96['start']['toJSDate'](),_0x3f2f96['end']['toJSDate']());}['resolvedOptions'](_0x469aba,_0x2f1701){return this['dtFormatter'](_0x469aba,_0x2f1701)['resolvedOptions']();}['num'](_0x8cfb1c,_0x33fa7f=0x0){if(this['opts']['forceSimple'])return Il(_0x8cfb1c,_0x33fa7f);const _0x1426d5={...this['opts']};return _0x33fa7f>0x0&&(_0x1426d5['padTo']=_0x33fa7f),this['loc']['numberFormatter'](_0x1426d5)['format'](_0x8cfb1c);}['formatDateTimeFromString'](_0x5e3a60,_0x455d08){const _0x3f356c='en'===this['loc']['listingMode'](),_0x4a1a42=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x2c50f5=(_0x4ba8ac,_0x19a748)=>this['loc']['extract'](_0x5e3a60,_0x4ba8ac,_0x19a748),_0x187306=_0x13a870=>_0x5e3a60['isOffsetFixed']&&0x0===_0x5e3a60['offset']&&_0x13a870['allowZ']?'Z':_0x5e3a60['isValid']?_0x5e3a60['zone']['formatOffset'](_0x5e3a60['ts'],_0x13a870['format']):'',_0x19243a=()=>_0x3f356c?function(_0x1ad047){return Kl[_0x1ad047['hour']<0xc?0x0:0x1];}(_0x5e3a60):_0x2c50f5({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0xde0c67=(_0x50d0c3,_0x208fd4)=>_0x3f356c?function(_0x56b0ea,_0x59a0bc){return Xl(_0x59a0bc)[_0x56b0ea['month']-0x1];}(_0x5e3a60,_0x50d0c3):_0x2c50f5(_0x208fd4?{'month':_0x50d0c3}:{'month':_0x50d0c3,'day':'numeric'},'month'),_0xff6cf6=(_0x2661b2,_0x2ba0de)=>_0x3f356c?function(_0x53c31b,_0x44e50f){return Yl(_0x44e50f)[_0x53c31b['weekday']-0x1];}(_0x5e3a60,_0x2661b2):_0x2c50f5(_0x2ba0de?{'weekday':_0x2661b2}:{'weekday':_0x2661b2,'month':'long','day':'numeric'},'weekday'),_0x29a298=_0x249b21=>{const _0x73946f=Formatter['macroTokenToFormatOpts'](_0x249b21);return _0x73946f?this['formatWithSystemDefault'](_0x5e3a60,_0x73946f):_0x249b21;},_0x3d248c=_0x34fd6c=>_0x3f356c?function(_0x3e0892,_0x3a008c){return ih(_0x3a008c)[_0x3e0892['year']<0x0?0x0:0x1];}(_0x5e3a60,_0x34fd6c):_0x2c50f5({'era':_0x34fd6c},'era');return sh(Formatter['parseFormat'](_0x455d08),_0x67fc60=>{switch(_0x67fc60){case'S':return this['num'](_0x5e3a60['millisecond']);case'u':case'SSS':return this['num'](_0x5e3a60['millisecond'],0x3);case's':return this['num'](_0x5e3a60['second']);case'ss':return this['num'](_0x5e3a60['second'],0x2);case'uu':return this['num'](Math['floor'](_0x5e3a60['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x5e3a60['millisecond']/0x64));case'm':return this['num'](_0x5e3a60['minute']);case'mm':return this['num'](_0x5e3a60['minute'],0x2);case'h':return this['num'](_0x5e3a60['hour']%0xc==0x0?0xc:_0x5e3a60['hour']%0xc);case'hh':return this['num'](_0x5e3a60['hour']%0xc==0x0?0xc:_0x5e3a60['hour']%0xc,0x2);case'H':return this['num'](_0x5e3a60['hour']);case'HH':return this['num'](_0x5e3a60['hour'],0x2);case'Z':return _0x187306({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x187306({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x187306({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x5e3a60['zone']['offsetName'](_0x5e3a60['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x5e3a60['zone']['offsetName'](_0x5e3a60['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x5e3a60['zoneName'];case'a':return _0x19243a();case'd':return _0x4a1a42?_0x2c50f5({'day':'numeric'},'day'):this['num'](_0x5e3a60['day']);case'dd':return _0x4a1a42?_0x2c50f5({'day':'2-digit'},'day'):this['num'](_0x5e3a60['day'],0x2);case'c':case'E':return this['num'](_0x5e3a60['weekday']);case'ccc':return _0xff6cf6('short',!0x0);case'cccc':return _0xff6cf6('long',!0x0);case'ccccc':return _0xff6cf6('narrow',!0x0);case'EEE':return _0xff6cf6('short',!0x1);case'EEEE':return _0xff6cf6('long',!0x1);case'EEEEE':return _0xff6cf6('narrow',!0x1);case'L':return _0x4a1a42?_0x2c50f5({'month':'numeric','day':'numeric'},'month'):this['num'](_0x5e3a60['month']);case'LL':return _0x4a1a42?_0x2c50f5({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x5e3a60['month'],0x2);case'LLL':return _0xde0c67('short',!0x0);case'LLLL':return _0xde0c67('long',!0x0);case'LLLLL':return _0xde0c67('narrow',!0x0);case'M':return _0x4a1a42?_0x2c50f5({'month':'numeric'},'month'):this['num'](_0x5e3a60['month']);case'MM':return _0x4a1a42?_0x2c50f5({'month':'2-digit'},'month'):this['num'](_0x5e3a60['month'],0x2);case'MMM':return _0xde0c67('short',!0x1);case'MMMM':return _0xde0c67('long',!0x1);case'MMMMM':return _0xde0c67('narrow',!0x1);case'y':return _0x4a1a42?_0x2c50f5({'year':'numeric'},'year'):this['num'](_0x5e3a60['year']);case'yy':return _0x4a1a42?_0x2c50f5({'year':'2-digit'},'year'):this['num'](_0x5e3a60['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x4a1a42?_0x2c50f5({'year':'numeric'},'year'):this['num'](_0x5e3a60['year'],0x4);case'yyyyyy':return _0x4a1a42?_0x2c50f5({'year':'numeric'},'year'):this['num'](_0x5e3a60['year'],0x6);case'G':return _0x3d248c('short');case'GG':return _0x3d248c('long');case'GGGGG':return _0x3d248c('narrow');case'kk':return this['num'](_0x5e3a60['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x5e3a60['weekYear'],0x4);case'W':return this['num'](_0x5e3a60['weekNumber']);case'WW':return this['num'](_0x5e3a60['weekNumber'],0x2);case'n':return this['num'](_0x5e3a60['localWeekNumber']);case'nn':return this['num'](_0x5e3a60['localWeekNumber'],0x2);case'ii':return this['num'](_0x5e3a60['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x5e3a60['localWeekYear'],0x4);case'o':return this['num'](_0x5e3a60['ordinal']);case'ooo':return this['num'](_0x5e3a60['ordinal'],0x3);case'q':return this['num'](_0x5e3a60['quarter']);case'qq':return this['num'](_0x5e3a60['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x5e3a60['ts']/0x3e8));case'x':return this['num'](_0x5e3a60['ts']);default:return _0x29a298(_0x67fc60);}});}['formatDurationFromString'](_0x416435,_0x3bd166){const _0x27bd13=_0x26349e=>{switch(_0x26349e[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;}},_0x35de5b=Formatter['parseFormat'](_0x3bd166),_0x489e24=_0x35de5b['reduce']((_0x5f0fff,{literal:_0x31eb64,val:_0x1fb8c5})=>_0x31eb64?_0x5f0fff:_0x5f0fff['concat'](_0x1fb8c5),[]),_0x413d3e=_0x416435['shiftTo'](..._0x489e24['map'](_0x27bd13)['filter'](t=>t));return sh(_0x35de5b,(_0x4019ef=>_0x13d91a=>{const _0x36702d=_0x27bd13(_0x13d91a);return _0x36702d?this['num'](_0x4019ef['get'](_0x36702d),_0x13d91a['length']):_0x13d91a;})(_0x413d3e));}}const rh=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function oh(..._0x274b6b){const _0x249a75=_0x274b6b['reduce']((_0x541e80,_0x2d27d4)=>_0x541e80+_0x2d27d4['source'],'');return RegExp('^'+_0x249a75+'$');}function ah(..._0x592185){return _0x14e412=>_0x592185['reduce'](([_0x111684,_0x251f28,_0x4660e4],_0x4692b6)=>{const [_0x132d32,_0x2ef91a,_0x306c8a]=_0x4692b6(_0x14e412,_0x4660e4);return[{..._0x111684,..._0x132d32},_0x2ef91a||_0x251f28,_0x306c8a];},[{},null,0x1])['slice'](0x0,0x2);}function ch(_0x49877c,..._0x1bd27b){if(null==_0x49877c)return[null,null];for(const [_0x1486b3,_0x108b84]of _0x1bd27b){const _0x10eb22=_0x1486b3['exec'](_0x49877c);if(_0x10eb22)return _0x108b84(_0x10eb22);}return[null,null];}function lh(..._0x1fa94d){return(_0xbe4c87,_0x34deee)=>{const _0x342e9d={};let _0x46a397;for(_0x46a397=0x0;_0x46a397<_0x1fa94d['length'];_0x46a397++)_0x342e9d[_0x1fa94d[_0x46a397]]=Sl(_0xbe4c87[_0x34deee+_0x46a397]);return[_0x342e9d,null,_0x34deee+_0x46a397];};}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(_0x249f44,_0x4ac8a7,_0x2090ba){const _0x4b7375=_0x249f44[_0x4ac8a7];return Ol(_0x4b7375)?_0x2090ba:Sl(_0x4b7375);}function bh(_0x21aa7f,_0x1d3047){return[{'hours':wh(_0x21aa7f,_0x1d3047,0x0),'minutes':wh(_0x21aa7f,_0x1d3047+0x1,0x0),'seconds':wh(_0x21aa7f,_0x1d3047+0x2,0x0),'milliseconds':kl(_0x21aa7f[_0x1d3047+0x3])},null,_0x1d3047+0x4];}function yh(_0x20a134,_0x12a304){const _0x2ddc39=!_0x20a134[_0x12a304]&&!_0x20a134[_0x12a304+0x1],_0x3b32ce=Vl(_0x20a134[_0x12a304+0x1],_0x20a134[_0x12a304+0x2]);return[{},_0x2ddc39?null:FixedOffsetZone['instance'](_0x3b32ce),_0x12a304+0x3];}function _h(_0x19ae62,_0x5ccc1b){return[{},_0x19ae62[_0x5ccc1b]?IANAZone['create'](_0x19ae62[_0x5ccc1b]):null,_0x5ccc1b+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(_0x3c2bd7){const [_0x4fb90c,_0x201c69,_0x4e1dc0,_0x492591,_0x298677,_0x1fa2db,_0xd4b869,_0x165a65,_0xac48fe]=_0x3c2bd7,_0x46e1a3='-'===_0x4fb90c[0x0],_0x4bbae1=_0x165a65&&'-'===_0x165a65[0x0],_0x2219ed=(_0xe75630,_0x52dfb4=!0x1)=>void 0x0!==_0xe75630&&(_0x52dfb4||_0xe75630&&_0x46e1a3)?-_0xe75630:_0xe75630;return[{'years':_0x2219ed(Cl(_0x201c69)),'months':_0x2219ed(Cl(_0x4e1dc0)),'weeks':_0x2219ed(Cl(_0x492591)),'days':_0x2219ed(Cl(_0x298677)),'hours':_0x2219ed(Cl(_0x1fa2db)),'minutes':_0x2219ed(Cl(_0xd4b869)),'seconds':_0x2219ed(Cl(_0x165a65),'-0'===_0x165a65),'milliseconds':_0x2219ed(kl(_0xac48fe),_0x4bbae1)}];}const Ah={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function Ih(_0x39a5f9,_0x596aab,_0x2a7e34,_0x565b91,_0xea3e3d,_0x2d0a0e,_0x24c5a5){const _0x5157f9={'year':0x2===_0x596aab['length']?Ql(Sl(_0x596aab)):Sl(_0x596aab),'month':Gl['indexOf'](_0x2a7e34)+0x1,'day':Sl(_0x565b91),'hour':Sl(_0xea3e3d),'minute':Sl(_0x2d0a0e)};return _0x24c5a5&&(_0x5157f9['second']=Sl(_0x24c5a5)),_0x39a5f9&&(_0x5157f9['weekday']=_0x39a5f9['length']>0x3?ql['indexOf'](_0x39a5f9)+0x1:Wl['indexOf'](_0x39a5f9)+0x1),_0x5157f9;}const Sh=/^(?:(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(_0x253209){const [,_0x5b2814,_0x33bbf2,_0x5ec286,_0x4cdbbf,_0x35bcc4,_0x4681e4,_0x3aea17,_0x3ae50c,_0x4c99ea,_0x531bd1,_0x39efc1]=_0x253209,_0xba1754=Ih(_0x5b2814,_0x4cdbbf,_0x5ec286,_0x33bbf2,_0x35bcc4,_0x4681e4,_0x3aea17);let _0x27ba1e;return _0x27ba1e=_0x3ae50c?Ah[_0x3ae50c]:_0x4c99ea?0x0:Vl(_0x531bd1,_0x39efc1),[_0xba1754,new FixedOffsetZone(_0x27ba1e)];}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(_0x5c1cd3){const [,_0x606330,_0x1822ba,_0x4fed6b,_0xea3ece,_0x54497d,_0x45f5cc,_0x3b8164]=_0x5c1cd3;return[Ih(_0x606330,_0xea3ece,_0x4fed6b,_0x1822ba,_0x54497d,_0x45f5cc,_0x3b8164),FixedOffsetZone['utcInstance']];}function Mh(_0x314bfa){const [,_0x594a09,_0x69ea5f,_0x206e7d,_0x28f81f,_0x1644af,_0x342705,_0x3aa2de]=_0x314bfa;return[Ih(_0x594a09,_0x3aa2de,_0x69ea5f,_0x206e7d,_0x28f81f,_0x1644af,_0x342705),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(_0xfba9fb,_0x1d74b9){return[{'year':wh(_0xfba9fb,_0x1d74b9),'month':wh(_0xfba9fb,_0x1d74b9+0x1,0x1),'day':wh(_0xfba9fb,_0x1d74b9+0x2,0x1)},null,_0x1d74b9+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(_0x2bf0c9,_0x4c800b,_0x380573=!0x1){const _0x12ce07={'values':_0x380573?_0x4c800b['values']:{..._0x2bf0c9['values'],..._0x4c800b['values']||{}},'loc':_0x2bf0c9['loc']['clone'](_0x4c800b['loc']),'conversionAccuracy':_0x4c800b['conversionAccuracy']||_0x2bf0c9['conversionAccuracy'],'matrix':_0x4c800b['matrix']||_0x2bf0c9['matrix']};return new Duration(_0x12ce07);}function eu(_0x435b1a,_0x4a2113){let _0x51108a=_0x4a2113['milliseconds']??0x0;for(const _0x9ea394 of Jh['slice'](0x1))_0x4a2113[_0x9ea394]&&(_0x51108a+=_0x4a2113[_0x9ea394]*_0x435b1a[_0x9ea394]['milliseconds']);return _0x51108a;}function iu(_0x179abb,_0x4074a9){const _0x9fd189=eu(_0x179abb,_0x4074a9)<0x0?-0x1:0x1;Kh['reduceRight']((_0xa7e6ae,_0x384a89)=>{if(Ol(_0x4074a9[_0x384a89]))return _0xa7e6ae;if(_0xa7e6ae){const _0x1a5bf0=_0x4074a9[_0xa7e6ae]*_0x9fd189,_0x4f4e4f=_0x179abb[_0x384a89][_0xa7e6ae],_0x4a205a=Math['floor'](_0x1a5bf0/_0x4f4e4f);_0x4074a9[_0x384a89]+=_0x4a205a*_0x9fd189,_0x4074a9[_0xa7e6ae]-=_0x4a205a*_0x4f4e4f*_0x9fd189;}return _0x384a89;},null),Kh['reduce']((_0x33a387,_0x528ce5)=>{if(Ol(_0x4074a9[_0x528ce5]))return _0x33a387;if(_0x33a387){const _0x469390=_0x4074a9[_0x33a387]%0x1;_0x4074a9[_0x33a387]-=_0x469390,_0x4074a9[_0x528ce5]+=_0x469390*_0x179abb[_0x33a387][_0x528ce5];}return _0x528ce5;},null);}class Duration{constructor(_0x430d52){const _0x117e57='longterm'===_0x430d52['conversionAccuracy']||!0x1;let _0x59ee3c=_0x117e57?Yh:qh;_0x430d52['matrix']&&(_0x59ee3c=_0x430d52['matrix']),this['values']=_0x430d52['values'],this['loc']=_0x430d52['loc']||Locale['create'](),this['conversionAccuracy']=_0x117e57?'longterm':'casual',this['invalid']=_0x430d52['invalid']||null,this['matrix']=_0x59ee3c,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x1f5c40,_0x139dfa){return Duration['fromObject']({'milliseconds':_0x1f5c40},_0x139dfa);}static['fromObject'](_0x1b7de4,_0x264552={}){if(null==_0x1b7de4||'object'!=typeof _0x1b7de4)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x1b7de4?'null':typeof _0x1b7de4));return new Duration({'values':Bl(_0x1b7de4,Duration['normalizeUnit']),'loc':Locale['fromObject'](_0x264552),'conversionAccuracy':_0x264552['conversionAccuracy'],'matrix':_0x264552['matrix']});}static['fromDurationLike'](_0x525040){if(wl(_0x525040))return Duration['fromMillis'](_0x525040);if(Duration['isDuration'](_0x525040))return _0x525040;if('object'==typeof _0x525040)return Duration['fromObject'](_0x525040);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x525040+'\x20of\x20type\x20'+typeof _0x525040);}static['fromISO'](_0x4ff8a3,_0x5e9644){const [_0x652d76]=function(_0x1a1563){return ch(_0x1a1563,[Th,Eh]);}(_0x4ff8a3);return _0x652d76?Duration['fromObject'](_0x652d76,_0x5e9644):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x4ff8a3+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x1c4162,_0x4d3c5d){const [_0x292bf7]=function(_0x585398){return ch(_0x585398,[vh,Fh]);}(_0x1c4162);return _0x292bf7?Duration['fromObject'](_0x292bf7,_0x4d3c5d):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x1c4162+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x3e05ab,_0x1584e0=null){if(!_0x3e05ab)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x140028=_0x3e05ab instanceof Invalid?_0x3e05ab:new Invalid(_0x3e05ab,_0x1584e0);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x140028);return new Duration({'invalid':_0x140028});}static['normalizeUnit'](_0x28fa74){const _0x41a4c3={'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'}[_0x28fa74?_0x28fa74['toLowerCase']():_0x28fa74];if(!_0x41a4c3)throw new InvalidUnitError(_0x28fa74);return _0x41a4c3;}static['isDuration'](_0x5a0824){return _0x5a0824&&_0x5a0824['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x80299c,_0x305912={}){const _0x53bcab={..._0x305912,'floor':!0x1!==_0x305912['round']&&!0x1!==_0x305912['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x53bcab)['formatDurationFromString'](this,_0x80299c):Zh;}['toHuman'](_0x3f064f={}){if(!this['isValid'])return Zh;const _0x44cb57=Kh['map'](_0x28b9dc=>{const _0x2a7202=this['values'][_0x28b9dc];return Ol(_0x2a7202)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x3f064f,'unit':_0x28b9dc['slice'](0x0,-0x1)})['format'](_0x2a7202);})['filter'](_0x328f46=>_0x328f46);return this['loc']['listFormatter']({'type':'conjunction','style':_0x3f064f['listStyle']||'narrow',..._0x3f064f})['format'](_0x44cb57);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x105ce3='P';return 0x0!==this['years']&&(_0x105ce3+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x105ce3+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x105ce3+=this['weeks']+'W'),0x0!==this['days']&&(_0x105ce3+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x105ce3+='T'),0x0!==this['hours']&&(_0x105ce3+=this['hours']+'H'),0x0!==this['minutes']&&(_0x105ce3+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x105ce3+=xl(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x105ce3&&(_0x105ce3+='T0S'),_0x105ce3;}['toISOTime'](_0x3470c5={}){if(!this['isValid'])return null;const _0x1058c4=this['toMillis']();if(_0x1058c4<0x0||_0x1058c4>=0x5265c00)return null;return _0x3470c5={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x3470c5,'includeOffset':!0x1},DateTime['fromMillis'](_0x1058c4,{'zone':'UTC'})['toISOTime'](_0x3470c5);}['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'](_0x459f51){if(!this['isValid'])return this;const _0x256f0b=Duration['fromDurationLike'](_0x459f51),_0x4575ae={};for(const _0x5c489b of Kh)(Tl(_0x256f0b['values'],_0x5c489b)||Tl(this['values'],_0x5c489b))&&(_0x4575ae[_0x5c489b]=_0x256f0b['get'](_0x5c489b)+this['get'](_0x5c489b));return tu(this,{'values':_0x4575ae},!0x0);}['minus'](_0x3ba356){if(!this['isValid'])return this;const _0x514083=Duration['fromDurationLike'](_0x3ba356);return this['plus'](_0x514083['negate']());}['mapUnits'](_0x54e8a7){if(!this['isValid'])return this;const _0x201b1c={};for(const _0x3f38b0 of Object['keys'](this['values']))_0x201b1c[_0x3f38b0]=Ul(_0x54e8a7(this['values'][_0x3f38b0],_0x3f38b0));return tu(this,{'values':_0x201b1c},!0x0);}['get'](_0x1062f7){return this[Duration['normalizeUnit'](_0x1062f7)];}['set'](_0x5ab0b0){if(!this['isValid'])return this;return tu(this,{'values':{...this['values'],...Bl(_0x5ab0b0,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x3b50d6,numberingSystem:_0x421f5f,conversionAccuracy:_0x473bd1,matrix:_0x1360be}={}){return tu(this,{'loc':this['loc']['clone']({'locale':_0x3b50d6,'numberingSystem':_0x421f5f}),'matrix':_0x1360be,'conversionAccuracy':_0x473bd1});}['as'](_0x427ae2){return this['isValid']?this['shiftTo'](_0x427ae2)['get'](_0x427ae2):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x1e7c5a=this['toObject']();return iu(this['matrix'],_0x1e7c5a),tu(this,{'values':_0x1e7c5a},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x96d8f5=function(_0x438bfe){const _0x5dbd0e={};for(const [_0x51905e,_0x4cce7f]of Object['entries'](_0x438bfe))0x0!==_0x4cce7f&&(_0x5dbd0e[_0x51905e]=_0x4cce7f);return _0x5dbd0e;}(this['normalize']()['shiftToAll']()['toObject']());return tu(this,{'values':_0x96d8f5},!0x0);}['shiftTo'](..._0x1c6739){if(!this['isValid'])return this;if(0x0===_0x1c6739['length'])return this;_0x1c6739=_0x1c6739['map'](_0x1ceb0e=>Duration['normalizeUnit'](_0x1ceb0e));const _0x32d7ff={},_0x357c88={},_0x474567=this['toObject']();let _0x2cd45a;for(const _0x469dd3 of Kh)if(_0x1c6739['indexOf'](_0x469dd3)>=0x0){_0x2cd45a=_0x469dd3;let _0x2d89f0=0x0;for(const _0x4f7446 in _0x357c88)_0x2d89f0+=this['matrix'][_0x4f7446][_0x469dd3]*_0x357c88[_0x4f7446],_0x357c88[_0x4f7446]=0x0;wl(_0x474567[_0x469dd3])&&(_0x2d89f0+=_0x474567[_0x469dd3]);const _0x544cf5=Math['trunc'](_0x2d89f0);_0x32d7ff[_0x469dd3]=_0x544cf5,_0x357c88[_0x469dd3]=(0x3e8*_0x2d89f0-0x3e8*_0x544cf5)/0x3e8;}else wl(_0x474567[_0x469dd3])&&(_0x357c88[_0x469dd3]=_0x474567[_0x469dd3]);for(const _0x2fbb5e in _0x357c88)0x0!==_0x357c88[_0x2fbb5e]&&(_0x32d7ff[_0x2cd45a]+=_0x2fbb5e===_0x2cd45a?_0x357c88[_0x2fbb5e]:_0x357c88[_0x2fbb5e]/this['matrix'][_0x2cd45a][_0x2fbb5e]);return iu(this['matrix'],_0x32d7ff),tu(this,{'values':_0x32d7ff},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x5aa2af={};for(const _0x4fc2ee of Object['keys'](this['values']))_0x5aa2af[_0x4fc2ee]=0x0===this['values'][_0x4fc2ee]?0x0:-this['values'][_0x4fc2ee];return tu(this,{'values':_0x5aa2af},!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'](_0x16810d){if(!this['isValid']||!_0x16810d['isValid'])return!0x1;if(!this['loc']['equals'](_0x16810d['loc']))return!0x1;function _0x1c73a0(_0x474555,_0x1aaa2d){return void 0x0===_0x474555||0x0===_0x474555?void 0x0===_0x1aaa2d||0x0===_0x1aaa2d:_0x474555===_0x1aaa2d;}for(const _0x525900 of Kh)if(!_0x1c73a0(this['values'][_0x525900],_0x16810d['values'][_0x525900]))return!0x1;return!0x0;}}const su='Invalid\x20Interval';class Interval{constructor(_0x5643ab){this['s']=_0x5643ab['start'],this['e']=_0x5643ab['end'],this['invalid']=_0x5643ab['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x7ec83e,_0x2c6373=null){if(!_0x7ec83e)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x37117f=_0x7ec83e instanceof Invalid?_0x7ec83e:new Invalid(_0x7ec83e,_0x2c6373);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x37117f);return new Interval({'invalid':_0x37117f});}static['fromDateTimes'](_0x531128,_0x34d3e3){const _0x331adb=Zu(_0x531128),_0x3200ec=Zu(_0x34d3e3),_0xa82336=function(_0x228395,_0x1675a4){return _0x228395&&_0x228395['isValid']?_0x1675a4&&_0x1675a4['isValid']?_0x1675a4<_0x228395?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x228395['toISO']()+'\x20and\x20end='+_0x1675a4['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x331adb,_0x3200ec);return null==_0xa82336?new Interval({'start':_0x331adb,'end':_0x3200ec}):_0xa82336;}static['after'](_0x5d3e28,_0x1f0769){const _0x50d6ec=Duration['fromDurationLike'](_0x1f0769),_0x1a9bcf=Zu(_0x5d3e28);return Interval['fromDateTimes'](_0x1a9bcf,_0x1a9bcf['plus'](_0x50d6ec));}static['before'](_0x1f1bd1,_0x53e0cf){const _0x2a8eec=Duration['fromDurationLike'](_0x53e0cf),_0x4c0d62=Zu(_0x1f1bd1);return Interval['fromDateTimes'](_0x4c0d62['minus'](_0x2a8eec),_0x4c0d62);}static['fromISO'](_0x278885,_0x54ab29){const [_0x314632,_0x28f571]=(_0x278885||'')['split']('/',0x2);if(_0x314632&&_0x28f571){let _0x5c69e5,_0x1eb3b2,_0x56bcb3,_0x470ea7;try{_0x5c69e5=DateTime['fromISO'](_0x314632,_0x54ab29),_0x1eb3b2=_0x5c69e5['isValid'];}catch(_0x53fe52){_0x1eb3b2=!0x1;}try{_0x56bcb3=DateTime['fromISO'](_0x28f571,_0x54ab29),_0x470ea7=_0x56bcb3['isValid'];}catch(_0x2a9012){_0x470ea7=!0x1;}if(_0x1eb3b2&&_0x470ea7)return Interval['fromDateTimes'](_0x5c69e5,_0x56bcb3);if(_0x1eb3b2){const _0x2b7c83=Duration['fromISO'](_0x28f571,_0x54ab29);if(_0x2b7c83['isValid'])return Interval['after'](_0x5c69e5,_0x2b7c83);}else{if(_0x470ea7){const _0x25f775=Duration['fromISO'](_0x314632,_0x54ab29);if(_0x25f775['isValid'])return Interval['before'](_0x56bcb3,_0x25f775);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x278885+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x263bff){return _0x263bff&&_0x263bff['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'](_0x1f3f2a='milliseconds'){return this['isValid']?this['toDuration'](_0x1f3f2a)['get'](_0x1f3f2a):NaN;}['count'](_0x46e727='milliseconds',_0x13157a){if(!this['isValid'])return NaN;const _0x489a24=this['start']['startOf'](_0x46e727,_0x13157a);let _0x4df940;return _0x4df940=_0x13157a?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x489a24['locale']}):this['end'],_0x4df940=_0x4df940['startOf'](_0x46e727,_0x13157a),Math['floor'](_0x4df940['diff'](_0x489a24,_0x46e727)['get'](_0x46e727))+(_0x4df940['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x38add3){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x38add3));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x3f4447){return!!this['isValid']&&this['s']>_0x3f4447;}['isBefore'](_0xbfe079){return!!this['isValid']&&this['e']<=_0xbfe079;}['contains'](_0x228521){return!!this['isValid']&&(this['s']<=_0x228521&&this['e']>_0x228521);}['set']({start:_0x300a27,end:_0x9bbeb4}={}){return this['isValid']?Interval['fromDateTimes'](_0x300a27||this['s'],_0x9bbeb4||this['e']):this;}['splitAt'](..._0x2ed90a){if(!this['isValid'])return[];const _0x33362c=_0x2ed90a['map'](Zu)['filter'](_0x292420=>this['contains'](_0x292420))['sort']((_0x48d53d,_0x487747)=>_0x48d53d['toMillis']()-_0x487747['toMillis']()),_0x13204a=[];let {s:_0x1fdef9}=this,_0x296862=0x0;for(;_0x1fdef9<this['e'];){const _0xb87ae8=_0x33362c[_0x296862]||this['e'],_0x3e4ee4=+_0xb87ae8>+this['e']?this['e']:_0xb87ae8;_0x13204a['push'](Interval['fromDateTimes'](_0x1fdef9,_0x3e4ee4)),_0x1fdef9=_0x3e4ee4,_0x296862+=0x1;}return _0x13204a;}['splitBy'](_0xf96d72){const _0xd71c01=Duration['fromDurationLike'](_0xf96d72);if(!this['isValid']||!_0xd71c01['isValid']||0x0===_0xd71c01['as']('milliseconds'))return[];let _0x2feeef,{s:_0x1606f1}=this,_0x40a635=0x1;const _0x106ca5=[];for(;_0x1606f1<this['e'];){const _0x25b20c=this['start']['plus'](_0xd71c01['mapUnits'](_0x4d1f44=>_0x4d1f44*_0x40a635));_0x2feeef=+_0x25b20c>+this['e']?this['e']:_0x25b20c,_0x106ca5['push'](Interval['fromDateTimes'](_0x1606f1,_0x2feeef)),_0x1606f1=_0x2feeef,_0x40a635+=0x1;}return _0x106ca5;}['divideEqually'](_0x5bb296){return this['isValid']?this['splitBy'](this['length']()/_0x5bb296)['slice'](0x0,_0x5bb296):[];}['overlaps'](_0x25cee2){return this['e']>_0x25cee2['s']&&this['s']<_0x25cee2['e'];}['abutsStart'](_0x39cb2c){return!!this['isValid']&&+this['e']===+_0x39cb2c['s'];}['abutsEnd'](_0x7f6e2a){return!!this['isValid']&&+_0x7f6e2a['e']===+this['s'];}['engulfs'](_0x336143){return!!this['isValid']&&(this['s']<=_0x336143['s']&&this['e']>=_0x336143['e']);}['equals'](_0x262a74){return!(!this['isValid']||!_0x262a74['isValid'])&&(this['s']['equals'](_0x262a74['s'])&&this['e']['equals'](_0x262a74['e']));}['intersection'](_0x13735b){if(!this['isValid'])return this;const _0x157153=this['s']>_0x13735b['s']?this['s']:_0x13735b['s'],_0x3fe5f0=this['e']<_0x13735b['e']?this['e']:_0x13735b['e'];return _0x157153>=_0x3fe5f0?null:Interval['fromDateTimes'](_0x157153,_0x3fe5f0);}['union'](_0x2cc46f){if(!this['isValid'])return this;const _0x562ffb=this['s']<_0x2cc46f['s']?this['s']:_0x2cc46f['s'],_0x23f753=this['e']>_0x2cc46f['e']?this['e']:_0x2cc46f['e'];return Interval['fromDateTimes'](_0x562ffb,_0x23f753);}static['merge'](_0x1da855){const [_0x5d3693,_0x49208a]=_0x1da855['sort']((_0x3e123c,_0x20f1c5)=>_0x3e123c['s']-_0x20f1c5['s'])['reduce'](([_0x211ae2,_0x36d644],_0x509d6b)=>_0x36d644?_0x36d644['overlaps'](_0x509d6b)||_0x36d644['abutsStart'](_0x509d6b)?[_0x211ae2,_0x36d644['union'](_0x509d6b)]:[_0x211ae2['concat']([_0x36d644]),_0x509d6b]:[_0x211ae2,_0x509d6b],[[],null]);return _0x49208a&&_0x5d3693['push'](_0x49208a),_0x5d3693;}static['xor'](_0x1575e4){let _0x3266dc=null,_0x1b92f0=0x0;const _0x32e32c=[],_0x11bcdc=_0x1575e4['map'](_0x144988=>[{'time':_0x144988['s'],'type':'s'},{'time':_0x144988['e'],'type':'e'}]),_0x540e22=Array['prototype']['concat'](..._0x11bcdc)['sort']((_0x323b79,_0x195e4b)=>_0x323b79['time']-_0x195e4b['time']);for(const _0x86e94 of _0x540e22)_0x1b92f0+='s'===_0x86e94['type']?0x1:-0x1,0x1===_0x1b92f0?_0x3266dc=_0x86e94['time']:(_0x3266dc&&+_0x3266dc!==+_0x86e94['time']&&_0x32e32c['push'](Interval['fromDateTimes'](_0x3266dc,_0x86e94['time'])),_0x3266dc=null);return Interval['merge'](_0x32e32c);}['difference'](..._0x5a7af4){return Interval['xor']([this]['concat'](_0x5a7af4))['map'](_0x45ce71=>this['intersection'](_0x45ce71))['filter'](_0xb1aade=>_0xb1aade&&!_0xb1aade['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'](_0x2a55a8=rc,_0x330fca={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x330fca),_0x2a55a8)['formatInterval'](this):su;}['toISO'](_0xdd6482){return this['isValid']?this['s']['toISO'](_0xdd6482)+'/'+this['e']['toISO'](_0xdd6482):su;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():su;}['toISOTime'](_0x131842){return this['isValid']?this['s']['toISOTime'](_0x131842)+'/'+this['e']['toISOTime'](_0x131842):su;}['toFormat'](_0x32c650,{separator:_0x3d4ee8='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x32c650)+_0x3d4ee8+this['e']['toFormat'](_0x32c650):su;}['toDuration'](_0x2a3e9e,_0x4c66cb){return this['isValid']?this['e']['diff'](this['s'],_0x2a3e9e,_0x4c66cb):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x3335a5){return Interval['fromDateTimes'](_0x3335a5(this['s']),_0x3335a5(this['e']));}}class Info{static['hasDST'](_0x22d346=Settings['defaultZone']){const _0x3fad46=DateTime['now']()['setZone'](_0x22d346)['set']({'month':0xc});return!_0x22d346['isUniversal']&&_0x3fad46['offset']!==_0x3fad46['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x40bc17){return IANAZone['isValidZone'](_0x40bc17);}static['normalizeZone'](_0x2d37f0){return jc(_0x2d37f0,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x2defd1=null,locObj:_0xfe1125=null}={}){return(_0xfe1125||Locale['create'](_0x2defd1))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x23e9b3=null,locObj:_0xf3f929=null}={}){return(_0xf3f929||Locale['create'](_0x23e9b3))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x5b0324=null,locObj:_0x4bfb8d=null}={}){return(_0x4bfb8d||Locale['create'](_0x5b0324))['getWeekendDays']()['slice']();}static['months'](_0x3ed281='long',{locale:_0x1ee99d=null,numberingSystem:_0x20bc7f=null,locObj:_0x24b43c=null,outputCalendar:_0x79fee='gregory'}={}){return(_0x24b43c||Locale['create'](_0x1ee99d,_0x20bc7f,_0x79fee))['months'](_0x3ed281);}static['monthsFormat'](_0x4f8c0f='long',{locale:_0xfcd6b1=null,numberingSystem:_0xd58578=null,locObj:_0xe2c6a0=null,outputCalendar:_0x23cf73='gregory'}={}){return(_0xe2c6a0||Locale['create'](_0xfcd6b1,_0xd58578,_0x23cf73))['months'](_0x4f8c0f,!0x0);}static['weekdays'](_0x309f83='long',{locale:_0x42d335=null,numberingSystem:_0x20d356=null,locObj:_0x44f9ed=null}={}){return(_0x44f9ed||Locale['create'](_0x42d335,_0x20d356,null))['weekdays'](_0x309f83);}static['weekdaysFormat'](_0x4fc184='long',{locale:_0x33503b=null,numberingSystem:_0x5cf67a=null,locObj:_0x5ccc16=null}={}){return(_0x5ccc16||Locale['create'](_0x33503b,_0x5cf67a,null))['weekdays'](_0x4fc184,!0x0);}static['meridiems']({locale:_0x394015=null}={}){return Locale['create'](_0x394015)['meridiems']();}static['eras'](_0xebe56a='short',{locale:_0x5f263e=null}={}){return Locale['create'](_0x5f263e,null,'gregory')['eras'](_0xebe56a);}static['features'](){return{'relative':yl(),'localeWeek':_l()};}}function nu(_0x496f02,_0x50c28f){const _0x231156=_0x47fe13=>_0x47fe13['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0xde3a21=_0x231156(_0x50c28f)-_0x231156(_0x496f02);return Math['floor'](Duration['fromMillis'](_0xde3a21)['as']('days'));}function ru(_0x586da5,_0x1d978e,_0x52a488,_0x232ce0){let [_0x20b175,_0x298d7c,_0xad9965,_0x193baf]=function(_0x5f0e50,_0x5eea5d,_0xa77205){const _0x3582ae=[['years',(_0x14fa4f,_0x772907)=>_0x772907['year']-_0x14fa4f['year']],['quarters',(_0x24f2bb,_0x5850a6)=>_0x5850a6['quarter']-_0x24f2bb['quarter']+0x4*(_0x5850a6['year']-_0x24f2bb['year'])],['months',(_0xf3743e,_0x6c8b8)=>_0x6c8b8['month']-_0xf3743e['month']+0xc*(_0x6c8b8['year']-_0xf3743e['year'])],['weeks',(_0x548345,_0x30752e)=>{const _0x567ba7=nu(_0x548345,_0x30752e);return(_0x567ba7-_0x567ba7%0x7)/0x7;}],['days',nu]],_0x3b0ce6={},_0x30fbcd=_0x5f0e50;let _0x3a4a8a,_0x3eb8a7;for(const [_0x287429,_0x18144c]of _0x3582ae)_0xa77205['indexOf'](_0x287429)>=0x0&&(_0x3a4a8a=_0x287429,_0x3b0ce6[_0x287429]=_0x18144c(_0x5f0e50,_0x5eea5d),_0x3eb8a7=_0x30fbcd['plus'](_0x3b0ce6),_0x3eb8a7>_0x5eea5d?(_0x3b0ce6[_0x287429]--,(_0x5f0e50=_0x30fbcd['plus'](_0x3b0ce6))>_0x5eea5d&&(_0x3eb8a7=_0x5f0e50,_0x3b0ce6[_0x287429]--,_0x5f0e50=_0x30fbcd['plus'](_0x3b0ce6))):_0x5f0e50=_0x3eb8a7);return[_0x5f0e50,_0x3b0ce6,_0x3eb8a7,_0x3a4a8a];}(_0x586da5,_0x1d978e,_0x52a488);const _0x7ec941=_0x1d978e-_0x20b175,_0x901bc6=_0x52a488['filter'](_0x201aa7=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x201aa7)>=0x0);0x0===_0x901bc6['length']&&(_0xad9965<_0x1d978e&&(_0xad9965=_0x20b175['plus']({[_0x193baf]:0x1})),_0xad9965!==_0x20b175&&(_0x298d7c[_0x193baf]=(_0x298d7c[_0x193baf]||0x0)+_0x7ec941/(_0xad9965-_0x20b175)));const _0x503eee=Duration['fromObject'](_0x298d7c,_0x232ce0);return _0x901bc6['length']>0x0?Duration['fromMillis'](_0x7ec941,_0x232ce0)['shiftTo'](..._0x901bc6)['plus'](_0x503eee):_0x503eee;}function ou(_0x3f4bc7,_0x2410b2=_0x2da62f=>_0x2da62f){return{'regex':_0x3f4bc7,'deser':([_0x44de44])=>_0x2410b2(function(_0x530b8c){let _0x5de3c2=parseInt(_0x530b8c,0xa);if(isNaN(_0x5de3c2)){_0x5de3c2='';for(let _0x434a3c=0x0;_0x434a3c<_0x530b8c['length'];_0x434a3c++){const _0xe96900=_0x530b8c['charCodeAt'](_0x434a3c);if(-0x1!==_0x530b8c[_0x434a3c]['search'](Hc['hanidec']))_0x5de3c2+=Zc['indexOf'](_0x530b8c[_0x434a3c]);else for(const _0xf9373b in Gc){const [_0x13f03b,_0x575cd0]=Gc[_0xf9373b];_0xe96900>=_0x13f03b&&_0xe96900<=_0x575cd0&&(_0x5de3c2+=_0xe96900-_0x13f03b);}}return parseInt(_0x5de3c2,0xa);}return _0x5de3c2;}(_0x44de44))};}const au='[\x20'+String['fromCharCode'](0xa0)+']',cu=new RegExp(au,'g');function lu(_0x3ffd95){return _0x3ffd95['replace'](/\./g,'\x5c.?')['replace'](cu,au);}function hu(_0x226f81){return _0x226f81['replace'](/\./g,'')['replace'](cu,'\x20')['toLowerCase']();}function uu(_0x1d38e4,_0x29a8c5){return null===_0x1d38e4?null:{'regex':RegExp(_0x1d38e4['map'](lu)['join']('|')),'deser':([_0x40309e])=>_0x1d38e4['findIndex'](_0x2fa2d1=>hu(_0x40309e)===hu(_0x2fa2d1))+_0x29a8c5};}function du(_0x5cf275,_0x109505){return{'regex':_0x5cf275,'deser':([,_0xe6b8e0,_0x5233d2])=>Vl(_0xe6b8e0,_0x5233d2),'groups':_0x109505};}function fu(_0x182f9d){return{'regex':_0x182f9d,'deser':([_0x4b290d])=>_0x4b290d};}function mu(_0x1344d5){return _0x1344d5['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(_0x178f70,_0x2d89d1){return Array['prototype']['concat'](..._0x178f70['map'](t=>function(_0x46c9a6,_0x5677a9){if(_0x46c9a6['literal'])return _0x46c9a6;const _0x5bf56a=bu(Formatter['macroTokenToFormatOpts'](_0x46c9a6['val']),_0x5677a9);return null==_0x5bf56a||_0x5bf56a['includes'](void 0x0)?_0x46c9a6:_0x5bf56a;}(t,_0x2d89d1)));}class TokenParser{constructor(_0x58fc46,_0x33f711){if(this['locale']=_0x58fc46,this['format']=_0x33f711,this['tokens']=Ou(Formatter['parseFormat'](_0x33f711),_0x58fc46),this['units']=this['tokens']['map'](t=>function(_0x4b5768,_0x1de4d8){const _0x122245=qc(_0x1de4d8),_0x4fa48f=qc(_0x1de4d8,'{2}'),_0x4e2b0b=qc(_0x1de4d8,'{3}'),_0x241977=qc(_0x1de4d8,'{4}'),_0x4dfcb8=qc(_0x1de4d8,'{6}'),_0x5598be=qc(_0x1de4d8,'{1,2}'),_0x4fb7cb=qc(_0x1de4d8,'{1,3}'),_0x2ef786=qc(_0x1de4d8,'{1,6}'),_0x202f01=qc(_0x1de4d8,'{1,9}'),_0x2de8f9=qc(_0x1de4d8,'{2,4}'),_0x4913dd=qc(_0x1de4d8,'{4,6}'),_0x17003b=t=>({'regex':RegExp(mu(t['val'])),'deser':([_0x3b8ded])=>_0x3b8ded,'literal':!0x0}),_0x1b7209=(t=>{if(_0x4b5768['literal'])return _0x17003b(t);switch(t['val']){case'G':return uu(_0x1de4d8['eras']('short'),0x0);case'GG':return uu(_0x1de4d8['eras']('long'),0x0);case'y':return ou(_0x2ef786);case'yy':case'kk':return ou(_0x2de8f9,Ql);case'yyyy':case'kkkk':return ou(_0x241977);case'yyyyy':return ou(_0x4913dd);case'yyyyyy':return ou(_0x4dfcb8);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return ou(_0x5598be);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return ou(_0x4fa48f);case'MMM':return uu(_0x1de4d8['months']('short',!0x0),0x1);case'MMMM':return uu(_0x1de4d8['months']('long',!0x0),0x1);case'LLL':return uu(_0x1de4d8['months']('short',!0x1),0x1);case'LLLL':return uu(_0x1de4d8['months']('long',!0x1),0x1);case'o':case'S':return ou(_0x4fb7cb);case'ooo':case'SSS':return ou(_0x4e2b0b);case'u':return fu(_0x202f01);case'uu':return fu(_0x5598be);case'uuu':case'E':case'c':return ou(_0x122245);case'a':return uu(_0x1de4d8['meridiems'](),0x0);case'EEE':return uu(_0x1de4d8['weekdays']('short',!0x1),0x1);case'EEEE':return uu(_0x1de4d8['weekdays']('long',!0x1),0x1);case'ccc':return uu(_0x1de4d8['weekdays']('short',!0x0),0x1);case'cccc':return uu(_0x1de4d8['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return du(new RegExp('([+-]'+_0x5598be['source']+')(?::('+_0x4fa48f['source']+'))?'),0x2);case'ZZZ':return du(new RegExp('([+-]'+_0x5598be['source']+')('+_0x4fa48f['source']+')?'),0x2);case'z':return fu(/[a-z_+-/]{1,256}?/i);case'\x20':return fu(/[^\S\n\r]/);default:return _0x17003b(t);}})(_0x4b5768)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x1b7209['token']=_0x4b5768,_0x1b7209;}(t,_0x58fc46)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x5c3f44,_0x69e87f]=function(_0x4c0df5){const _0x3962ae=_0x4c0df5['map'](_0x47ea37=>_0x47ea37['regex'])['reduce']((_0x507aeb,_0x4ff45b)=>_0x507aeb+'('+_0x4ff45b['source']+')','');return['^'+_0x3962ae+'$',_0x4c0df5];}(this['units']);this['regex']=RegExp(_0x5c3f44,'i'),this['handlers']=_0x69e87f;}}['explainFromTokens'](_0x3c7382){if(this['isValid']){const [_0x16c9eb,_0x10a746]=function(_0x4ba128,_0x1f09d4,_0x389fb7){const _0x12ee7f=_0x4ba128['match'](_0x1f09d4);if(_0x12ee7f){const _0x9c31fc={};let _0x11e24b=0x1;for(const _0x51c6ed in _0x389fb7)if(Tl(_0x389fb7,_0x51c6ed)){const _0x32be1b=_0x389fb7[_0x51c6ed],_0x2274dc=_0x32be1b['groups']?_0x32be1b['groups']+0x1:0x1;!_0x32be1b['literal']&&_0x32be1b['token']&&(_0x9c31fc[_0x32be1b['token']['val'][0x0]]=_0x32be1b['deser'](_0x12ee7f['slice'](_0x11e24b,_0x11e24b+_0x2274dc))),_0x11e24b+=_0x2274dc;}return[_0x12ee7f,_0x9c31fc];}return[_0x12ee7f,{}];}(_0x3c7382,this['regex'],this['handlers']),[_0x92842c,_0x4358a1,_0x207936]=_0x10a746?function(_0x37418c){let _0x50b170,_0x5326ea=null;Ol(_0x37418c['z'])||(_0x5326ea=IANAZone['create'](_0x37418c['z'])),Ol(_0x37418c['Z'])||(_0x5326ea||(_0x5326ea=new FixedOffsetZone(_0x37418c['Z'])),_0x50b170=_0x37418c['Z']),Ol(_0x37418c['q'])||(_0x37418c['M']=0x3*(_0x37418c['q']-0x1)+0x1),Ol(_0x37418c['h'])||(_0x37418c['h']<0xc&&0x1===_0x37418c['a']?_0x37418c['h']+=0xc:0xc===_0x37418c['h']&&0x0===_0x37418c['a']&&(_0x37418c['h']=0x0)),0x0===_0x37418c['G']&&_0x37418c['y']&&(_0x37418c['y']=-_0x37418c['y']),Ol(_0x37418c['u'])||(_0x37418c['S']=kl(_0x37418c['u']));const _0x46bf60=Object['keys'](_0x37418c)['reduce']((_0x4d5d53,_0x31cbab)=>{const _0x16ff2b=(_0x439b72=>{switch(_0x439b72){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;}})(_0x31cbab);return _0x16ff2b&&(_0x4d5d53[_0x16ff2b]=_0x37418c[_0x31cbab]),_0x4d5d53;},{});return[_0x46bf60,_0x5326ea,_0x50b170];}(_0x10a746):[null,null,void 0x0];if(Tl(_0x10a746,'a')&&Tl(_0x10a746,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x3c7382,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x16c9eb,'matches':_0x10a746,'result':_0x92842c,'zone':_0x4358a1,'specificOffset':_0x207936};}return{'input':_0x3c7382,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function wu(_0x52994b,_0x4e1c6f,_0x224cfb){return new TokenParser(_0x52994b,_0x224cfb)['explainFromTokens'](_0x4e1c6f);}function bu(_0x283d3d,_0x4d24ef){if(!_0x283d3d)return null;const _0x5a447f=Formatter['create'](_0x4d24ef,_0x283d3d)['dtFormatter']((pu||(pu=DateTime['fromMillis'](0x16a2e5618e3)),pu)),_0x583e73=_0x5a447f['formatToParts'](),_0x106b8a=_0x5a447f['resolvedOptions']();return _0x583e73['map'](_0x1315a6=>function(_0xa66f05,_0x355b65,_0x5de470){const {type:_0x23230d,value:_0x2d4643}=_0xa66f05;if('literal'===_0x23230d){const _0x5ae1bb=/^\s+$/['test'](_0x2d4643);return{'literal':!_0x5ae1bb,'val':_0x5ae1bb?'\x20':_0x2d4643};}const _0x5f0f61=_0x355b65[_0x23230d];let _0x40d4ba=_0x23230d;'hour'===_0x23230d&&(_0x40d4ba=null!=_0x355b65['hour12']?_0x355b65['hour12']?'hour12':'hour24':null!=_0x355b65['hourCycle']?'h11'===_0x355b65['hourCycle']||'h12'===_0x355b65['hourCycle']?'hour12':'hour24':_0x5de470['hour12']?'hour12':'hour24');let _0x2e9820=gu[_0x40d4ba];if('object'==typeof _0x2e9820&&(_0x2e9820=_0x2e9820[_0x5f0f61]),_0x2e9820)return{'literal':!0x1,'val':_0x2e9820};}(_0x1315a6,_0x283d3d,_0x106b8a));}const yu='Invalid\x20DateTime',_u=0x1eb208c2dc0000;function vu(_0x361d43){return new Invalid('unsupported\x20zone','the\x20zone\x20\x22'+_0x361d43['name']+'\x22\x20is\x20not\x20supported');}function Tu(_0x6f5f25){return null===_0x6f5f25['weekData']&&(_0x6f5f25['weekData']=hl(_0x6f5f25['c'])),_0x6f5f25['weekData'];}function Eu(_0x170ef9){return null===_0x170ef9['localWeekData']&&(_0x170ef9['localWeekData']=hl(_0x170ef9['c'],_0x170ef9['loc']['getMinDaysInFirstWeek'](),_0x170ef9['loc']['getStartOfWeek']())),_0x170ef9['localWeekData'];}function Au(_0x1f635e,_0x9c7f73){const _0x37a8d6={'ts':_0x1f635e['ts'],'zone':_0x1f635e['zone'],'c':_0x1f635e['c'],'o':_0x1f635e['o'],'loc':_0x1f635e['loc'],'invalid':_0x1f635e['invalid']};return new DateTime({..._0x37a8d6,..._0x9c7f73,'old':_0x37a8d6});}function Iu(_0x4467ff,_0x2d61fc,_0x4af3cd){let _0x9c74f5=_0x4467ff-0x3c*_0x2d61fc*0x3e8;const _0x509311=_0x4af3cd['offset'](_0x9c74f5);if(_0x2d61fc===_0x509311)return[_0x9c74f5,_0x2d61fc];_0x9c74f5-=0x3c*(_0x509311-_0x2d61fc)*0x3e8;const _0x51d1a1=_0x4af3cd['offset'](_0x9c74f5);return _0x509311===_0x51d1a1?[_0x9c74f5,_0x509311]:[_0x4467ff-0x3c*Math['min'](_0x509311,_0x51d1a1)*0x3e8,Math['max'](_0x509311,_0x51d1a1)];}function Su(_0x32f83e,_0x26f97d){const _0x5e3405=new Date(_0x32f83e+=0x3c*_0x26f97d*0x3e8);return{'year':_0x5e3405['getUTCFullYear'](),'month':_0x5e3405['getUTCMonth']()+0x1,'day':_0x5e3405['getUTCDate'](),'hour':_0x5e3405['getUTCHours'](),'minute':_0x5e3405['getUTCMinutes'](),'second':_0x5e3405['getUTCSeconds'](),'millisecond':_0x5e3405['getUTCMilliseconds']()};}function Cu(_0x2eca62,_0x3064d7,_0x442c60){return Iu(Nl(_0x2eca62),_0x3064d7,_0x442c60);}function ku(_0x4107fd,_0x34ef86){const _0x4ef543=_0x4107fd['o'],_0x13f717=_0x4107fd['c']['year']+Math['trunc'](_0x34ef86['years']),_0x9b28dc=_0x4107fd['c']['month']+Math['trunc'](_0x34ef86['months'])+0x3*Math['trunc'](_0x34ef86['quarters']),_0x2bfc3c={..._0x4107fd['c'],'year':_0x13f717,'month':_0x9b28dc,'day':Math['min'](_0x4107fd['c']['day'],Ml(_0x13f717,_0x9b28dc))+Math['trunc'](_0x34ef86['days'])+0x7*Math['trunc'](_0x34ef86['weeks'])},_0x4c3bee=Duration['fromObject']({'years':_0x34ef86['years']-Math['trunc'](_0x34ef86['years']),'quarters':_0x34ef86['quarters']-Math['trunc'](_0x34ef86['quarters']),'months':_0x34ef86['months']-Math['trunc'](_0x34ef86['months']),'weeks':_0x34ef86['weeks']-Math['trunc'](_0x34ef86['weeks']),'days':_0x34ef86['days']-Math['trunc'](_0x34ef86['days']),'hours':_0x34ef86['hours'],'minutes':_0x34ef86['minutes'],'seconds':_0x34ef86['seconds'],'milliseconds':_0x34ef86['milliseconds']})['as']('milliseconds'),_0x3e37f0=Nl(_0x2bfc3c);let [_0x5d2e5d,_0x507435]=Iu(_0x3e37f0,_0x4ef543,_0x4107fd['zone']);return 0x0!==_0x4c3bee&&(_0x5d2e5d+=_0x4c3bee,_0x507435=_0x4107fd['zone']['offset'](_0x5d2e5d)),{'ts':_0x5d2e5d,'o':_0x507435};}function xu(_0x4d9fe8,_0x5eb17e,_0x77ef43,_0x1ef339,_0x10c70c,_0x170eb5){const {setZone:_0x51a945,zone:_0xc809e1}=_0x77ef43;if(_0x4d9fe8&&0x0!==Object['keys'](_0x4d9fe8)['length']||_0x5eb17e){const _0x4e93a8=_0x5eb17e||_0xc809e1,_0x5389b9=DateTime['fromObject'](_0x4d9fe8,{..._0x77ef43,'zone':_0x4e93a8,'specificOffset':_0x170eb5});return _0x51a945?_0x5389b9:_0x5389b9['setZone'](_0xc809e1);}return DateTime['invalid'](new Invalid('unparsable','the\x20input\x20\x22'+_0x10c70c+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x1ef339));}function Ru(_0xefcfe7,_0x516434,_0x59605f=!0x0){return _0xefcfe7['isValid']?Formatter['create'](Locale['create']('en-US'),{'allowZ':_0x59605f,'forceSimple':!0x0})['formatDateTimeFromString'](_0xefcfe7,_0x516434):null;}function Pu(_0x5c36ac,_0x1f0ce2){const _0x57968c=_0x5c36ac['c']['year']>0x270f||_0x5c36ac['c']['year']<0x0;let _0x88890a='';return _0x57968c&&_0x5c36ac['c']['year']>=0x0&&(_0x88890a+='+'),_0x88890a+=Il(_0x5c36ac['c']['year'],_0x57968c?0x6:0x4),_0x1f0ce2?(_0x88890a+='-',_0x88890a+=Il(_0x5c36ac['c']['month']),_0x88890a+='-',_0x88890a+=Il(_0x5c36ac['c']['day'])):(_0x88890a+=Il(_0x5c36ac['c']['month']),_0x88890a+=Il(_0x5c36ac['c']['day'])),_0x88890a;}function Mu(_0x3d7fa8,_0x5dc05d,_0x4d8377,_0x49f2dd,_0x49e674,_0x593410){let _0x24abb8=Il(_0x3d7fa8['c']['hour']);return _0x5dc05d?(_0x24abb8+=':',_0x24abb8+=Il(_0x3d7fa8['c']['minute']),0x0===_0x3d7fa8['c']['millisecond']&&0x0===_0x3d7fa8['c']['second']&&_0x4d8377||(_0x24abb8+=':')):_0x24abb8+=Il(_0x3d7fa8['c']['minute']),0x0===_0x3d7fa8['c']['millisecond']&&0x0===_0x3d7fa8['c']['second']&&_0x4d8377||(_0x24abb8+=Il(_0x3d7fa8['c']['second']),0x0===_0x3d7fa8['c']['millisecond']&&_0x49f2dd||(_0x24abb8+='.',_0x24abb8+=Il(_0x3d7fa8['c']['millisecond'],0x3))),_0x49e674&&(_0x3d7fa8['isOffsetFixed']&&0x0===_0x3d7fa8['offset']&&!_0x593410?_0x24abb8+='Z':_0x3d7fa8['o']<0x0?(_0x24abb8+='-',_0x24abb8+=Il(Math['trunc'](-_0x3d7fa8['o']/0x3c)),_0x24abb8+=':',_0x24abb8+=Il(Math['trunc'](-_0x3d7fa8['o']%0x3c))):(_0x24abb8+='+',_0x24abb8+=Il(Math['trunc'](_0x3d7fa8['o']/0x3c)),_0x24abb8+=':',_0x24abb8+=Il(Math['trunc'](_0x3d7fa8['o']%0x3c)))),_0x593410&&(_0x24abb8+='['+_0x3d7fa8['zone']['ianaName']+']'),_0x24abb8;}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(_0x21a3d3){switch(_0x21a3d3['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x3e07d4){const _0xed46b0={'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'}[_0x3e07d4['toLowerCase']()];if(!_0xed46b0)throw new InvalidUnitError(_0x3e07d4);return _0xed46b0;}(_0x21a3d3);}}function Bu(_0x22d6f1,_0xdc6a1f){const _0x27ddda=jc(_0xdc6a1f['zone'],Settings['defaultZone']);if(!_0x27ddda['isValid'])return DateTime['invalid'](vu(_0x27ddda));const _0x606e9=Locale['fromObject'](_0xdc6a1f);let _0x63738a,_0x1a68ca;if(Ol(_0x22d6f1['year']))_0x63738a=Settings['now']();else{for(const _0x2a40fc of Qu)Ol(_0x22d6f1[_0x2a40fc])&&(_0x22d6f1[_0x2a40fc]=Nu[_0x2a40fc]);const _0x24f290=gl(_0x22d6f1)||pl(_0x22d6f1);if(_0x24f290)return DateTime['invalid'](_0x24f290);const _0x5d320b=function(_0x2104f7){if(void 0x0===Hu&&(Hu=Settings['now']()),'iana'!==_0x2104f7['type'])return _0x2104f7['offset'](Hu);const _0x476c7c=_0x2104f7['name'];let _0x43877b=Gu['get'](_0x476c7c);return void 0x0===_0x43877b&&(_0x43877b=_0x2104f7['offset'](Hu),Gu['set'](_0x476c7c,_0x43877b)),_0x43877b;}(_0x27ddda);[_0x63738a,_0x1a68ca]=Cu(_0x22d6f1,_0x5d320b,_0x27ddda);}return new DateTime({'ts':_0x63738a,'zone':_0x27ddda,'loc':_0x606e9,'o':_0x1a68ca});}function Fu(_0x11660c,_0x5d4bd1,_0x49cd06){const _0x5a58bc=!!Ol(_0x49cd06['round'])||_0x49cd06['round'],_0x35f113=(_0x2c4ec9,_0x4a24fe)=>{return _0x2c4ec9=xl(_0x2c4ec9,_0x5a58bc||_0x49cd06['calendary']?0x0:0x2,!0x0),_0x5d4bd1['loc']['clone'](_0x49cd06)['relFormatter'](_0x49cd06)['format'](_0x2c4ec9,_0x4a24fe);},_0x2dc141=_0x292956=>_0x49cd06['calendary']?_0x5d4bd1['hasSame'](_0x11660c,_0x292956)?0x0:_0x5d4bd1['startOf'](_0x292956)['diff'](_0x11660c['startOf'](_0x292956),_0x292956)['get'](_0x292956):_0x5d4bd1['diff'](_0x11660c,_0x292956)['get'](_0x292956);if(_0x49cd06['unit'])return _0x35f113(_0x2dc141(_0x49cd06['unit']),_0x49cd06['unit']);for(const _0x433f26 of _0x49cd06['units']){const _0x38cdfc=_0x2dc141(_0x433f26);if(Math['abs'](_0x38cdfc)>=0x1)return _0x35f113(_0x38cdfc,_0x433f26);}return _0x35f113(_0x11660c>_0x5d4bd1?-0x0:0x0,_0x49cd06['units'][_0x49cd06['units']['length']-0x1]);}function ju(_0x2f2801){let _0x556548,_0x553c51={};return _0x2f2801['length']>0x0&&'object'==typeof _0x2f2801[_0x2f2801['length']-0x1]?(_0x553c51=_0x2f2801[_0x2f2801['length']-0x1],_0x556548=Array['from'](_0x2f2801)['slice'](0x0,_0x2f2801['length']-0x1)):_0x556548=Array['from'](_0x2f2801),[_0x553c51,_0x556548];}let Hu;const Gu=new Map();class DateTime{constructor(_0x30aba0){const _0x290c9d=_0x30aba0['zone']||Settings['defaultZone'];let _0x3c00ed=_0x30aba0['invalid']||(Number['isNaN'](_0x30aba0['ts'])?new Invalid('invalid\x20input'):null)||(_0x290c9d['isValid']?null:vu(_0x290c9d));this['ts']=Ol(_0x30aba0['ts'])?Settings['now']():_0x30aba0['ts'];let _0x4190e0=null,_0x3f7c15=null;if(!_0x3c00ed){if(_0x30aba0['old']&&_0x30aba0['old']['ts']===this['ts']&&_0x30aba0['old']['zone']['equals'](_0x290c9d))[_0x4190e0,_0x3f7c15]=[_0x30aba0['old']['c'],_0x30aba0['old']['o']];else{const _0x3d533e=wl(_0x30aba0['o'])&&!_0x30aba0['old']?_0x30aba0['o']:_0x290c9d['offset'](this['ts']);_0x4190e0=Su(this['ts'],_0x3d533e),_0x3c00ed=Number['isNaN'](_0x4190e0['year'])?new Invalid('invalid\x20input'):null,_0x4190e0=_0x3c00ed?null:_0x4190e0,_0x3f7c15=_0x3c00ed?null:_0x3d533e;}}this['_zone']=_0x290c9d,this['loc']=_0x30aba0['loc']||Locale['create'](),this['invalid']=_0x3c00ed,this['weekData']=null,this['localWeekData']=null,this['c']=_0x4190e0,this['o']=_0x3f7c15,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x4f3940,_0x104ed0]=ju(arguments),[_0x1442f3,_0x125f07,_0x40a268,_0x57a835,_0x39b681,_0x5c2706,_0x245463]=_0x104ed0;return Bu({'year':_0x1442f3,'month':_0x125f07,'day':_0x40a268,'hour':_0x57a835,'minute':_0x39b681,'second':_0x5c2706,'millisecond':_0x245463},_0x4f3940);}static['utc'](){const [_0x4769c6,_0x4af6c5]=ju(arguments),[_0x24230c,_0x1f4b2b,_0xcda1c,_0x3f41dd,_0x1e099f,_0x2859ef,_0x31ba23]=_0x4af6c5;return _0x4769c6['zone']=FixedOffsetZone['utcInstance'],Bu({'year':_0x24230c,'month':_0x1f4b2b,'day':_0xcda1c,'hour':_0x3f41dd,'minute':_0x1e099f,'second':_0x2859ef,'millisecond':_0x31ba23},_0x4769c6);}static['fromJSDate'](_0x4cee4a,_0x284184={}){const _0x49d7f2=function(_0x59e02b){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x59e02b);}(_0x4cee4a)?_0x4cee4a['valueOf']():NaN;if(Number['isNaN'](_0x49d7f2))return DateTime['invalid']('invalid\x20input');const _0x571fae=jc(_0x284184['zone'],Settings['defaultZone']);return _0x571fae['isValid']?new DateTime({'ts':_0x49d7f2,'zone':_0x571fae,'loc':Locale['fromObject'](_0x284184)}):DateTime['invalid'](vu(_0x571fae));}static['fromMillis'](_0x45c57c,_0x9bf492={}){if(wl(_0x45c57c))return _0x45c57c<-_u||_0x45c57c>_u?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x45c57c,'zone':jc(_0x9bf492['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x9bf492)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x45c57c+'\x20with\x20value\x20'+_0x45c57c);}static['fromSeconds'](_0x53f5dd,_0x5600dd={}){if(wl(_0x53f5dd))return new DateTime({'ts':0x3e8*_0x53f5dd,'zone':jc(_0x5600dd['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x5600dd)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x2d2fd8,_0x40e20f={}){_0x2d2fd8=_0x2d2fd8||{};const _0x494da5=jc(_0x40e20f['zone'],Settings['defaultZone']);if(!_0x494da5['isValid'])return DateTime['invalid'](vu(_0x494da5));const _0x5537de=Locale['fromObject'](_0x40e20f),_0x4be348=Bl(_0x2d2fd8,Uu),{minDaysInFirstWeek:_0x3a1c0b,startOfWeek:_0x458350}=ml(_0x4be348,_0x5537de),_0x9a4f51=Settings['now'](),_0x47d6a4=Ol(_0x40e20f['specificOffset'])?_0x494da5['offset'](_0x9a4f51):_0x40e20f['specificOffset'],_0x24499e=!Ol(_0x4be348['ordinal']),_0x2f9513=!Ol(_0x4be348['year']),_0x32ce27=!Ol(_0x4be348['month'])||!Ol(_0x4be348['day']),_0x5834c7=_0x2f9513||_0x32ce27,_0x4dd496=_0x4be348['weekYear']||_0x4be348['weekNumber'];if((_0x5834c7||_0x24499e)&&_0x4dd496)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x32ce27&&_0x24499e)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x64af2a=_0x4dd496||_0x4be348['weekday']&&!_0x5834c7;let _0x4756e9,_0x1429a4,_0x4603ff=Su(_0x9a4f51,_0x47d6a4);_0x64af2a?(_0x4756e9=$u,_0x1429a4=Lu,_0x4603ff=hl(_0x4603ff,_0x3a1c0b,_0x458350)):_0x24499e?(_0x4756e9=Vu,_0x1429a4=Du,_0x4603ff=dl(_0x4603ff)):(_0x4756e9=Qu,_0x1429a4=Nu);let _0x192942=!0x1;for(const _0x2ab416 of _0x4756e9){Ol(_0x4be348[_0x2ab416])?_0x4be348[_0x2ab416]=_0x192942?_0x1429a4[_0x2ab416]:_0x4603ff[_0x2ab416]:_0x192942=!0x0;}const _0x390a32=_0x64af2a?function(_0x2631f2,_0x178732=0x4,_0x56d234=0x1){const _0x4751e3=bl(_0x2631f2['weekYear']),_0x539f7a=Al(_0x2631f2['weekNumber'],0x1,Dl(_0x2631f2['weekYear'],_0x178732,_0x56d234)),_0x13e03c=Al(_0x2631f2['weekday'],0x1,0x7);return _0x4751e3?_0x539f7a?!_0x13e03c&&rl('weekday',_0x2631f2['weekday']):rl('week',_0x2631f2['weekNumber']):rl('weekYear',_0x2631f2['weekYear']);}(_0x4be348,_0x3a1c0b,_0x458350):_0x24499e?function(_0x278b45){const _0x520e15=bl(_0x278b45['year']),_0x5ecdd6=Al(_0x278b45['ordinal'],0x1,Pl(_0x278b45['year']));return _0x520e15?!_0x5ecdd6&&rl('ordinal',_0x278b45['ordinal']):rl('year',_0x278b45['year']);}(_0x4be348):gl(_0x4be348),_0x3535e6=_0x390a32||pl(_0x4be348);if(_0x3535e6)return DateTime['invalid'](_0x3535e6);const _0x2d9cef=_0x64af2a?ul(_0x4be348,_0x3a1c0b,_0x458350):_0x24499e?fl(_0x4be348):_0x4be348,[_0x3537d2,_0x5e56f4]=Cu(_0x2d9cef,_0x47d6a4,_0x494da5),_0x539faf=new DateTime({'ts':_0x3537d2,'zone':_0x494da5,'o':_0x5e56f4,'loc':_0x5537de});return _0x4be348['weekday']&&_0x5834c7&&_0x2d2fd8['weekday']!==_0x539faf['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x4be348['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x539faf['toISO']()):_0x539faf['isValid']?_0x539faf:DateTime['invalid'](_0x539faf['invalid']);}static['fromISO'](_0x347449,_0x42dc53={}){const [_0x109ee2,_0x316fcb]=function(_0x25b255){return ch(_0x25b255,[Nh,$h],[Lh,Vh],[Dh,Uh],[Qh,Bh]);}(_0x347449);return xu(_0x109ee2,_0x316fcb,_0x42dc53,'ISO\x208601',_0x347449);}static['fromRFC2822'](_0x34e5ef,_0xb0101b={}){const [_0x2434f8,_0xdd827d]=function(_0x35e9d6){return ch(function(_0x99d239){return _0x99d239['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x35e9d6),[Sh,Ch]);}(_0x34e5ef);return xu(_0x2434f8,_0xdd827d,_0xb0101b,'RFC\x202822',_0x34e5ef);}static['fromHTTP'](_0x372f82,_0x150465={}){const [_0x188ce9,_0x5333df]=function(_0x497891){return ch(_0x497891,[kh,Ph],[xh,Ph],[Rh,Mh]);}(_0x372f82);return xu(_0x188ce9,_0x5333df,_0x150465,'HTTP',_0x150465);}static['fromFormat'](_0x3e2636,_0xd4a468,_0x27c45a={}){if(Ol(_0x3e2636)||Ol(_0xd4a468))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x46b75c=null,numberingSystem:_0x4a072b=null}=_0x27c45a,_0x2cb9e0=Locale['fromOpts']({'locale':_0x46b75c,'numberingSystem':_0x4a072b,'defaultToEN':!0x0}),[_0x419c5d,_0x1dfd10,_0x101c56,_0x47a83d]=function(_0x391262,_0x1d1180,_0xb8131c){const {result:_0x5032cf,zone:_0xe3abb9,specificOffset:_0x59bcdb,invalidReason:_0x2485a6}=wu(_0x391262,_0x1d1180,_0xb8131c);return[_0x5032cf,_0xe3abb9,_0x59bcdb,_0x2485a6];}(_0x2cb9e0,_0x3e2636,_0xd4a468);return _0x47a83d?DateTime['invalid'](_0x47a83d):xu(_0x419c5d,_0x1dfd10,_0x27c45a,'format\x20'+_0xd4a468,_0x3e2636,_0x101c56);}static['fromString'](_0x5e695c,_0x5214b0,_0x2b4280={}){return DateTime['fromFormat'](_0x5e695c,_0x5214b0,_0x2b4280);}static['fromSQL'](_0x5de831,_0x5bd113={}){const [_0xfa3f46,_0x1d7151]=function(_0x493b66){return ch(_0x493b66,[jh,$h],[Hh,Gh]);}(_0x5de831);return xu(_0xfa3f46,_0x1d7151,_0x5bd113,'SQL',_0x5de831);}static['invalid'](_0x211c2b,_0x9ce69b=null){if(!_0x211c2b)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x45321e=_0x211c2b instanceof Invalid?_0x211c2b:new Invalid(_0x211c2b,_0x9ce69b);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x45321e);return new DateTime({'invalid':_0x45321e});}static['isDateTime'](_0x53c0e1){return _0x53c0e1&&_0x53c0e1['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x1ca0ab,_0x54bd19={}){const _0x85ce82=bu(_0x1ca0ab,Locale['fromObject'](_0x54bd19));return _0x85ce82?_0x85ce82['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x372191,_0x2ec871={}){return Ou(Formatter['parseFormat'](_0x372191),Locale['fromObject'](_0x2ec871))['map'](t=>t['val'])['join']('');}static['resetCache'](){Hu=void 0x0,Gu['clear']();}['get'](_0x3427cd){return this[_0x3427cd];}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 _0x3e716d=0x5265c00,_0x39399d=0xea60,_0x1911e4=Nl(this['c']),_0xd7a4ba=this['zone']['offset'](_0x1911e4-_0x3e716d),_0x47c8cf=this['zone']['offset'](_0x1911e4+_0x3e716d),_0x204b12=this['zone']['offset'](_0x1911e4-_0xd7a4ba*_0x39399d),_0x90fdfe=this['zone']['offset'](_0x1911e4-_0x47c8cf*_0x39399d);if(_0x204b12===_0x90fdfe)return[this];const _0x12fcce=_0x1911e4-_0x204b12*_0x39399d,_0x1cc91d=_0x1911e4-_0x90fdfe*_0x39399d,_0x31ebf5=Su(_0x12fcce,_0x204b12),_0xf69d5e=Su(_0x1cc91d,_0x90fdfe);return _0x31ebf5['hour']===_0xf69d5e['hour']&&_0x31ebf5['minute']===_0xf69d5e['minute']&&_0x31ebf5['second']===_0xf69d5e['second']&&_0x31ebf5['millisecond']===_0xf69d5e['millisecond']?[Au(this,{'ts':_0x12fcce}),Au(this,{'ts':_0x1cc91d})]:[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'](_0x236306={}){const {locale:_0x534ab1,numberingSystem:_0x4cb21a,calendar:_0x41b08e}=Formatter['create'](this['loc']['clone'](_0x236306),_0x236306)['resolvedOptions'](this);return{'locale':_0x534ab1,'numberingSystem':_0x4cb21a,'outputCalendar':_0x41b08e};}['toUTC'](_0x6b8f23=0x0,_0x11d947={}){return this['setZone'](FixedOffsetZone['instance'](_0x6b8f23),_0x11d947);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x435018,{keepLocalTime:_0x46a4d3=!0x1,keepCalendarTime:_0x209dd5=!0x1}={}){if((_0x435018=jc(_0x435018,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x435018['isValid']){let _0x303a54=this['ts'];if(_0x46a4d3||_0x209dd5){const _0x168a8d=_0x435018['offset'](this['ts']),_0x3c0217=this['toObject']();[_0x303a54]=Cu(_0x3c0217,_0x168a8d,_0x435018);}return Au(this,{'ts':_0x303a54,'zone':_0x435018});}return DateTime['invalid'](vu(_0x435018));}['reconfigure']({locale:_0x19aae0,numberingSystem:_0x4ca805,outputCalendar:_0x800dfe}={}){return Au(this,{'loc':this['loc']['clone']({'locale':_0x19aae0,'numberingSystem':_0x4ca805,'outputCalendar':_0x800dfe})});}['setLocale'](_0x4bf2b4){return this['reconfigure']({'locale':_0x4bf2b4});}['set'](_0x557079){if(!this['isValid'])return this;const _0x4f7244=Bl(_0x557079,Uu),{minDaysInFirstWeek:_0x1e27f5,startOfWeek:_0x35e62e}=ml(_0x4f7244,this['loc']),_0x6ac3d2=!Ol(_0x4f7244['weekYear'])||!Ol(_0x4f7244['weekNumber'])||!Ol(_0x4f7244['weekday']),_0x11f1b4=!Ol(_0x4f7244['ordinal']),_0x2ccf26=!Ol(_0x4f7244['year']),_0x53520a=!Ol(_0x4f7244['month'])||!Ol(_0x4f7244['day']),_0x328bc0=_0x2ccf26||_0x53520a,_0x5c4577=_0x4f7244['weekYear']||_0x4f7244['weekNumber'];if((_0x328bc0||_0x11f1b4)&&_0x5c4577)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x53520a&&_0x11f1b4)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x36dbb6;_0x6ac3d2?_0x36dbb6=ul({...hl(this['c'],_0x1e27f5,_0x35e62e),..._0x4f7244},_0x1e27f5,_0x35e62e):Ol(_0x4f7244['ordinal'])?(_0x36dbb6={...this['toObject'](),..._0x4f7244},Ol(_0x4f7244['day'])&&(_0x36dbb6['day']=Math['min'](Ml(_0x36dbb6['year'],_0x36dbb6['month']),_0x36dbb6['day']))):_0x36dbb6=fl({...dl(this['c']),..._0x4f7244});const [_0x2a80b5,_0x30b7d9]=Cu(_0x36dbb6,this['o'],this['zone']);return Au(this,{'ts':_0x2a80b5,'o':_0x30b7d9});}['plus'](_0x2adbf1){if(!this['isValid'])return this;return Au(this,ku(this,Duration['fromDurationLike'](_0x2adbf1)));}['minus'](_0x5e24ca){if(!this['isValid'])return this;return Au(this,ku(this,Duration['fromDurationLike'](_0x5e24ca)['negate']()));}['startOf'](_0xf5f69a,{useLocaleWeeks:_0x2bf561=!0x1}={}){if(!this['isValid'])return this;const _0x1a4088={},_0x1bcdb3=Duration['normalizeUnit'](_0xf5f69a);switch(_0x1bcdb3){case'years':_0x1a4088['month']=0x1;case'quarters':case'months':_0x1a4088['day']=0x1;case'weeks':case'days':_0x1a4088['hour']=0x0;case'hours':_0x1a4088['minute']=0x0;case'minutes':_0x1a4088['second']=0x0;case'seconds':_0x1a4088['millisecond']=0x0;}if('weeks'===_0x1bcdb3){if(_0x2bf561){const _0xb7ac99=this['loc']['getStartOfWeek'](),{weekday:_0x4588a3}=this;_0x4588a3<_0xb7ac99&&(_0x1a4088['weekNumber']=this['weekNumber']-0x1),_0x1a4088['weekday']=_0xb7ac99;}else _0x1a4088['weekday']=0x1;}if('quarters'===_0x1bcdb3){const _0x3a9fd2=Math['ceil'](this['month']/0x3);_0x1a4088['month']=0x3*(_0x3a9fd2-0x1)+0x1;}return this['set'](_0x1a4088);}['endOf'](_0x45bfd1,_0x24bd1f){return this['isValid']?this['plus']({[_0x45bfd1]:0x1})['startOf'](_0x45bfd1,_0x24bd1f)['minus'](0x1):this;}['toFormat'](_0x327570,_0x5599d3={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x5599d3))['formatDateTimeFromString'](this,_0x327570):yu;}['toLocaleString'](_0xa0aac0=rc,_0x3f8307={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x3f8307),_0xa0aac0)['formatDateTime'](this):yu;}['toLocaleParts'](_0x5cbbe3={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x5cbbe3),_0x5cbbe3)['formatDateTimeParts'](this):[];}['toISO']({format:_0x26380b='extended',suppressSeconds:_0x2e28c3=!0x1,suppressMilliseconds:_0x431728=!0x1,includeOffset:_0x3b54be=!0x0,extendedZone:_0x5debd0=!0x1}={}){if(!this['isValid'])return null;const _0x288edd='extended'===_0x26380b;let _0x4f1ab3=Pu(this,_0x288edd);return _0x4f1ab3+='T',_0x4f1ab3+=Mu(this,_0x288edd,_0x2e28c3,_0x431728,_0x3b54be,_0x5debd0),_0x4f1ab3;}['toISODate']({format:_0x23b9dd='extended'}={}){return this['isValid']?Pu(this,'extended'===_0x23b9dd):null;}['toISOWeekDate'](){return Ru(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x34caec=!0x1,suppressSeconds:_0x4c2891=!0x1,includeOffset:_0x1f14a2=!0x0,includePrefix:_0x161e15=!0x1,extendedZone:_0x1cabe3=!0x1,format:_0x4e7a9c='extended'}={}){if(!this['isValid'])return null;return(_0x161e15?'T':'')+Mu(this,'extended'===_0x4e7a9c,_0x4c2891,_0x34caec,_0x1f14a2,_0x1cabe3);}['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:_0x86591e=!0x0,includeZone:_0x1a66b9=!0x1,includeOffsetSpace:_0x3c54c2=!0x0}={}){let _0x1be323='HH:mm:ss.SSS';return(_0x1a66b9||_0x86591e)&&(_0x3c54c2&&(_0x1be323+='\x20'),_0x1a66b9?_0x1be323+='z':_0x86591e&&(_0x1be323+='ZZ')),Ru(this,_0x1be323,!0x0);}['toSQL'](_0x4a7e3c={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x4a7e3c):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'](_0x591bb5={}){if(!this['isValid'])return{};const _0x2ea275={...this['c']};return _0x591bb5['includeConfig']&&(_0x2ea275['outputCalendar']=this['outputCalendar'],_0x2ea275['numberingSystem']=this['loc']['numberingSystem'],_0x2ea275['locale']=this['loc']['locale']),_0x2ea275;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x1a1b9b,_0xa8c0cc='milliseconds',_0x26abdf={}){if(!this['isValid']||!_0x1a1b9b['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x1c131a={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x26abdf},_0x1675cc=(_0x4df4ec=_0xa8c0cc,Array['isArray'](_0x4df4ec)?_0x4df4ec:[_0x4df4ec])['map'](Duration['normalizeUnit']),_0x15a81c=_0x1a1b9b['valueOf']()>this['valueOf'](),_0x1b038c=ru(_0x15a81c?this:_0x1a1b9b,_0x15a81c?_0x1a1b9b:this,_0x1675cc,_0x1c131a);var _0x4df4ec;return _0x15a81c?_0x1b038c['negate']():_0x1b038c;}['diffNow'](_0x12c562='milliseconds',_0x306503={}){return this['diff'](DateTime['now'](),_0x12c562,_0x306503);}['until'](_0x539f8d){return this['isValid']?Interval['fromDateTimes'](this,_0x539f8d):this;}['hasSame'](_0x4e3548,_0x2c5a2d,_0x57e7e1){if(!this['isValid'])return!0x1;const _0x5856ff=_0x4e3548['valueOf'](),_0x13fb7b=this['setZone'](_0x4e3548['zone'],{'keepLocalTime':!0x0});return _0x13fb7b['startOf'](_0x2c5a2d,_0x57e7e1)<=_0x5856ff&&_0x5856ff<=_0x13fb7b['endOf'](_0x2c5a2d,_0x57e7e1);}['equals'](_0x1608a6){return this['isValid']&&_0x1608a6['isValid']&&this['valueOf']()===_0x1608a6['valueOf']()&&this['zone']['equals'](_0x1608a6['zone'])&&this['loc']['equals'](_0x1608a6['loc']);}['toRelative'](_0x2d64f9={}){if(!this['isValid'])return null;const _0x789594=_0x2d64f9['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x1638aa=_0x2d64f9['padding']?this<_0x789594?-_0x2d64f9['padding']:_0x2d64f9['padding']:0x0;let _0x170e2b=['years','months','days','hours','minutes','seconds'],_0x4b022e=_0x2d64f9['unit'];return Array['isArray'](_0x2d64f9['unit'])&&(_0x170e2b=_0x2d64f9['unit'],_0x4b022e=void 0x0),Fu(_0x789594,this['plus'](_0x1638aa),{..._0x2d64f9,'numeric':'always','units':_0x170e2b,'unit':_0x4b022e});}['toRelativeCalendar'](_0x1e9de3={}){return this['isValid']?Fu(_0x1e9de3['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x1e9de3,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x29218e){if(!_0x29218e['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return vl(_0x29218e,_0x27e8f0=>_0x27e8f0['valueOf'](),Math['min']);}static['max'](..._0x794894){if(!_0x794894['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return vl(_0x794894,_0x24d7df=>_0x24d7df['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x3f19e6,_0x46efe0,_0x56e1e1={}){const {locale:_0x4b608f=null,numberingSystem:_0x257279=null}=_0x56e1e1;return wu(Locale['fromOpts']({'locale':_0x4b608f,'numberingSystem':_0x257279,'defaultToEN':!0x0}),_0x3f19e6,_0x46efe0);}static['fromStringExplain'](_0x2208b9,_0x30de60,_0x3067fc={}){return DateTime['fromFormatExplain'](_0x2208b9,_0x30de60,_0x3067fc);}static['buildFormatParser'](_0x3aabed,_0x105d14={}){const {locale:_0x12a7f9=null,numberingSystem:_0xe4bf48=null}=_0x105d14,_0x288afc=Locale['fromOpts']({'locale':_0x12a7f9,'numberingSystem':_0xe4bf48,'defaultToEN':!0x0});return new TokenParser(_0x288afc,_0x3aabed);}static['fromFormatParser'](_0x2964b7,_0x5ecd75,_0xbe8832={}){if(Ol(_0x2964b7)||Ol(_0x5ecd75))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x4fa3b2=null,numberingSystem:_0x37709b=null}=_0xbe8832,_0x441066=Locale['fromOpts']({'locale':_0x4fa3b2,'numberingSystem':_0x37709b,'defaultToEN':!0x0});if(!_0x441066['equals'](_0x5ecd75['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x441066+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x5ecd75['locale']);const {result:_0x1edb8d,zone:_0x2ef9a4,specificOffset:_0x17d8c1,invalidReason:_0x4c5630}=_0x5ecd75['explainFromTokens'](_0x2964b7);return _0x4c5630?DateTime['invalid'](_0x4c5630):xu(_0x1edb8d,_0x2ef9a4,_0xbe8832,'format\x20'+_0x5ecd75['format'],_0x2964b7,_0x17d8c1);}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 Ic;}}function Zu(_0x56f7e6){if(DateTime['isDateTime'](_0x56f7e6))return _0x56f7e6;if(_0x56f7e6&&_0x56f7e6['valueOf']&&wl(_0x56f7e6['valueOf']()))return DateTime['fromJSDate'](_0x56f7e6);if(_0x56f7e6&&'object'==typeof _0x56f7e6)return DateTime['fromObject'](_0x56f7e6);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x56f7e6+',\x20of\x20type\x20'+typeof _0x56f7e6);}function Xu(_0x314edc={},_0x5e79b6){if(void 0x0!==_0x314edc['dateTimeFormat']&&'function'!=typeof _0x314edc['dateTimeFormat'])throw new _0x37fbfa('invalid-date-time-format');return _0x2b45e6=>{const _0x59d52f='string'==typeof _0x2b45e6?DateTime['fromISO'](_0x2b45e6):DateTime['fromJSDate'](_0x2b45e6),_0x540eff=DateTime['now'](),_0x23fd24=Math['floor'](_0x540eff['diff'](_0x59d52f,'days')['days']);return _0x314edc['dateTimeFormat']?_0x314edc['dateTimeFormat'](_0x59d52f['toJSDate'](),_0x5e79b6&&_0x5e79b6['t']?_0x5e79b6['t']:void 0x0):0x0===_0x23fd24?_0x5e79b6?qa(_0x5e79b6,'Today')+'\x20'+_0x59d52f['toFormat']('hh:mma'):_0x59d52f['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x23fd24?_0x5e79b6?qa(_0x5e79b6,'Yesterday')+'\x20'+_0x59d52f['toFormat']('hh:mma'):_0x59d52f['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x23fd24<0x7?_0x5e79b6?qa(_0x5e79b6,'Last')+'\x20'+qa(_0x5e79b6,_0x59d52f['toFormat']('EEEE'))+'\x20'+_0x59d52f['toFormat']('hh:mma'):_0x59d52f['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x59d52f['toFormat']('LL-dd-yyyy\x20hh:mma');};}function qu(_0x2256a7,_0x36ef10){const _0x27a772=_0x2256a7['mapper']['markerNameToElements'](_0x36ef10['name']);if(!_0x27a772)return null;const _0x42efdd=_0x556601(_0x27a772['values']());return _0x2256a7['view']['domConverter']['mapViewToDom'](_0x42efdd)||null;}function Wu(_0x40e126,_0x582dde){if(0x0===_0x582dde['length'])return null;const _0x464d13=[],_0x572366=_0x40e126['view']['domConverter'];for(const _0x5cccf0 of _0x582dde){const _0x19043a=_0x40e126['mapper']['markerNameToElements'](_0x5cccf0['name']);if(!_0x19043a)continue;const _0x1aba71=Array['from'](_0x19043a)['map'](_0x1e39cd=>_0x572366['mapViewToDom'](_0x1e39cd))['filter'](_0x397ea7=>!!_0x397ea7);_0x464d13['push'](..._0x1aba71);}if(0x0===_0x464d13['length'])return null;const _0xe0137d=[];for(const _0x279eb0 of _0x464d13){const _0x5b6b48=_0x279eb0['getClientRects']()['item'](0x0);_0x5b6b48&&_0xe0137d['push']({'x':_0x5b6b48['x'],'y':_0x5b6b48['y'],'domElement':_0x279eb0});}return 0x0===_0xe0137d['length']?null:(_0xe0137d['sort']((_0x24754e,_0x48a356)=>_0x24754e['y']-_0x48a356['y']||_0x24754e['x']-_0x48a356['x']),_0xe0137d['map'](_0x33089c=>_0x33089c['domElement']));}function zu(_0x331537,{limit:_0x301157,suffix:_0x496c95='...'}){const _0x91ae2f=[];let _0x196d38=0x0;const _0x522de5=_0x331537['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x44dfc7=0x0;_0x44dfc7<_0x522de5['length'];_0x44dfc7++){let _0x567eca=_0x522de5[_0x44dfc7];const _0x338e11=Yu(_0x567eca);if(_0x567eca['startsWith']('<')){if(_0x196d38>=_0x301157){const _0x232fa7=_0x567eca['match'](/[a-zA-Z]+/);if(!_0x232fa7){_0x522de5[_0x44dfc7]='';continue;}const _0x1a4a93=_0x232fa7[0x0];_0x567eca['startsWith']('</')?(_0x91ae2f['length']&&(_0x567eca=''),_0x91ae2f['pop']()):(_0x91ae2f['push'](_0x1a4a93),_0x567eca='');}}else{if(_0x196d38>=_0x301157)_0x567eca='';else{if(_0x196d38+_0x338e11['length']>=_0x301157){let _0x4884ae=_0x301157-_0x196d38;if('\x20'===_0x338e11[_0x4884ae-0x1])_0x4884ae--;else{const _0x3365b2=_0x338e11['slice'](_0x4884ae)['indexOf']('\x20');-0x1!==_0x3365b2?_0x4884ae+=_0x3365b2:_0x4884ae=_0x567eca['length'];}_0x567eca=_0x338e11['slice'](0x0,_0x4884ae)['join']('')+_0x496c95,_0x196d38=_0x301157;}else _0x196d38+=_0x338e11['length'];}}_0x522de5[_0x44dfc7]=_0x567eca;}return _0x522de5['join']('\x0a')['replace'](/\n/g,'');}function Yu(_0x1d2176){const _0x58c91d=[];for(let _0x432c9d=0x0;_0x432c9d<_0x1d2176['length'];_0x432c9d++){const _0x1ea545=_0x1d2176['substring'](_0x432c9d)['match'](/^&[a-z0-9#]+;/);if(_0x1ea545){const _0x31be4a=_0x1ea545[0x0];_0x58c91d['push'](_0x31be4a),_0x432c9d+=_0x31be4a['length']-0x1;}else _0x58c91d['push'](_0x1d2176[_0x432c9d]);}return _0x58c91d;}class ConfirmView extends _0x3989d4{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x28147b){super(_0x28147b);const _0x8eefa3=this['bindTemplate'];this['set']('message',qa(_0x28147b,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x28147b,qa(_0x28147b,'Yes'),_0x5071d2,'submit'),this['cancelView']=this['_createButtonView'](_0x28147b,qa(_0x28147b,'No'),_0xfcb135,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),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':_0x8eefa3['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'](_0x480aeb,_0x5d8d50,_0x2a46a9,_0x42d025){const _0x5b3847=new _0x2e803a(_0x480aeb);return _0x5b3847['label']=_0x5d8d50,_0x5b3847['icon']=_0x2a46a9,_0x5b3847['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x42d025}}),_0x5b3847['on']('execute',()=>this['fire'](_0x42d025)),_0x5b3847;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x91d8a6=>{this['keystrokes']['listenTo'](_0x91d8a6['element']),this['focusTracker']['add'](_0x91d8a6['element']);}),this['keystrokes']['set']('esc',(_0x3aa879,_0xec0a46)=>{this['fire']('cancel'),_0xec0a46();});}}function Ku(_0x7c95f7){return class _0x115c00 extends _0x7c95f7{['showConfirm'](_0x2ffbd9,_0x476481){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2ffbd9,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x476481['appendChild'](this['confirmView']['element']),_0x476481['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x35630e,_0xc8c951,_0x155bc4)=>{_0x155bc4||_0x476481['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4659ea=>this['confirmView']['on']('submit',_0x4659ea));}['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(_0x3c2077){let _0x4c4155=0x0,_0x4d384b=0x0;for(const _0x696dd5 of ed(_0x3c2077))_0x4c4155=(_0x4c4155<<0x5)-_0x4c4155+_0x696dd5,_0x4c4155&=_0x4c4155,[_0x4c4155,_0x4d384b]=[_0x4d384b,_0x4c4155];return nd(_0x4c4155)+nd(_0x4d384b);}function*td(_0x3da422){null==_0x3da422||null==_0x3da422?yield 0x12b9b0a1:0x0===_0x3da422||!0x1===_0x3da422?yield 0x0:0x1===_0x3da422||0x1==_0x3da422?yield 0x1:Array['isArray'](_0x3da422)?yield*function*(_0x959dec){for(const _0x153487 of _0x959dec)yield*td(_0x153487);}(_0x3da422):'object'==typeof _0x3da422?yield*ed(_0x3da422):'string'==typeof _0x3da422?yield*id(_0x3da422):'number'==typeof _0x3da422&&(yield _0x3da422);}function*ed(_0x3dd72e){if(yield sd('{'),_0x3dd72e){const _0x3f5ea3=Object['keys'](_0x3dd72e)['sort']();for(const _0x28e7cd of _0x3f5ea3){yield*id(_0x28e7cd),yield sd(':');const _0xa53f3f=_0x3dd72e[_0x28e7cd];yield*td(_0xa53f3f);}}yield sd('}');}function*id(_0x47da51){yield sd('\x22');for(const _0x541e1b of _0x47da51)yield sd(_0x541e1b);yield sd('\x22');}function sd(_0x4594cd){return _0x4594cd['charCodeAt'](0x0);}function nd(_0x4208c5){return(_0x4208c5*=Math['sign'](_0x4208c5))['toString'](0x24);}const rd=['initialData','context','toolbar','rootsAttributes'],od=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ad(_0x3b5f4b,_0x403a75,_0x469a57,_0xae3129=[]){const _0x536736='string'==typeof _0x3b5f4b?_0x469a57['get'](_0x3b5f4b)['constructor']:_0x3b5f4b['prototype']['constructor'];if(_0x403a75['has'](_0x536736))return _0x403a75['get'](_0x536736);_0x403a75['set'](_0x536736,!0x0);const _0x5d8a1f=[...od,..._0xae3129]['map'](_0x141f35=>{if(_0x469a57['has'](_0x141f35))return _0x469a57['get'](_0x141f35)['constructor'];})['filter'](_0x1d6d80=>_0x1d6d80);if(_0x536736&&_0x5d8a1f['includes'](_0x536736))return _0x403a75['set'](_0x536736,!0x1),!0x1;if(!_0x536736['requires'])return _0x403a75['set'](_0x536736,!0x0),!0x0;const _0x234c19=_0x536736['requires']['every'](_0x1555e4=>ad(_0x1555e4,_0x403a75,_0x469a57,_0xae3129));return _0x403a75['set'](_0x536736,_0x234c19),_0x234c19;}function cd(_0x415eb5,_0x39e171){const _0x58c0d6={};for(const _0x395981 of _0x415eb5['config']['names']())rd['includes'](_0x395981)||(_0x58c0d6[_0x395981]=_0x415eb5['config']['get'](_0x395981));const _0x12336f=_0x58c0d6['plugins']||[],_0x2f119e=_0x415eb5['constructor']['builtinPlugins']||[],_0x1d77a1=_0x12336f['length']?_0x12336f:_0x2f119e,_0x4b2408=_0x58c0d6['extraPlugins']||[];delete _0x58c0d6['extraPlugins'];const _0x34a0f5=_0x58c0d6['removePlugins']||[];delete _0x58c0d6['removePlugins'];const _0xb6adfe=_0x415eb5['_context']['config']['get']('plugins')||[],_0x3376d=_0x1d77a1['concat'](_0x4b2408)['concat'](_0xb6adfe)['map'](_0x23c727=>'string'==typeof _0x23c727?_0x2f119e['find'](_0x5d54a0=>_0x5d54a0['pluginName']==_0x23c727):_0x23c727)['filter'](_0x2ffcce=>!_0x34a0f5['includes'](_0x2ffcce)&&!_0x34a0f5['includes'](_0x2ffcce['pluginName'])),_0x449bc7=Array['from'](new Set(_0x3376d)),_0x1b47a9=new Map();return _0x58c0d6['plugins']=_0x449bc7['filter'](_0xf50bdd=>ad(_0xf50bdd,_0x1b47a9,_0x415eb5['plugins'],_0x39e171)),_0x58c0d6;}function ld(_0x20de8b,_0x4b3a0b){const _0x3b6ff1=[];_0x20de8b['document']['selection']['on']('change:range',()=>{const _0x31b1b5=function(_0x52531,_0x352753){const _0x401116=[];for(const _0x315e1d of _0x52531['markers']){const _0x4c4c0c=_0x315e1d['getRange']();(_0x4c4c0c['containsPosition'](_0x352753)||_0x4c4c0c['start']['isEqual'](_0x352753)||_0x4c4c0c['end']['isEqual'](_0x352753))&&_0x401116['push'](_0x315e1d);}return _0x401116;}(_0x20de8b,_0x20de8b['document']['selection']['focus']),_0x3026c2=[],_0x1ecb4a=[],_0xa0e078=[];for(const _0xe5ee4f of _0x3b6ff1)_0x31b1b5['includes'](_0xe5ee4f)||_0x3026c2['push'](_0xe5ee4f);for(const _0x353ba0 of _0x31b1b5)_0x3b6ff1['includes'](_0x353ba0)||_0x1ecb4a['push'](_0x353ba0),_0xa0e078['push'](_0x353ba0);(_0x3026c2['length']||_0x1ecb4a['length'])&&_0x4b3a0b({'left':_0x3026c2,'entered':_0x1ecb4a}),_0x3b6ff1['length']=0x0,_0x3b6ff1['push'](..._0xa0e078);});}const hd='Ctrl+Shift+E';function ud(_0x4e6a00,_0x5a49df){const _0x122238=_0x4e6a00['element'];_0x4e6a00['keystrokes']['listenTo'](_0x122238);for(const _0x3daefe of _0x5a49df)dd(_0x4e6a00,_0x3daefe);_0x5a49df['on']('change',(_0x4df2c4,_0x545248)=>{for(const _0x265d89 of _0x545248['removed'])fd(_0x4e6a00,_0x265d89);for(const _0x6fd23c of Array['from'](_0x545248['added'])['reverse']())dd(_0x4e6a00,_0x6fd23c);}),_0x4e6a00['keystrokes']['set']('enter',(_0x512839,_0x5bbf76)=>{_0x122238===_0x512839['target']&&(_0x4e6a00['focusCycler']['focusFirst'](),_0x5bbf76());},{'filter':_0x99dc15=>_0x99dc15['target']===_0x122238}),_0x4e6a00['keystrokes']['set']('esc',(_0x524835,_0x1403de)=>{_0x122238!==_0x524835['target']?_0x4e6a00['focus']():_0x4e6a00['fire']('escape'),_0x1403de();}),_0x4e6a00['keystrokes']['set']('arrowdown',(_0x4ef0c8,_0x337015)=>{_0x122238===_0x4ef0c8['target']&&(_0x4e6a00['fire']('arrowdown'),_0x337015());}),_0x4e6a00['keystrokes']['set']('arrowup',(_0x18c209,_0x99ff23)=>{_0x122238===_0x18c209['target']&&(_0x4e6a00['fire']('arrowup'),_0x99ff23());});}function dd(_0x320e1d,_0xe9a331){_0xe9a331['isRendered']&&(_0x320e1d['focusTracker']['add'](_0xe9a331['element']),_0x320e1d['keystrokes']['listenTo'](_0xe9a331['element']),ut(_0xe9a331)&&function(_0x5e6b68,_0x630432){const _0x199992=_0x5e6b68['actions'],_0x4c7166=_0x630432['actions'];for(const _0x3b9e42 of Object['keys'](_0x199992))if(_0x3b9e42 in _0x4c7166&&_0x199992[_0x3b9e42]!==_0x4c7166[_0x3b9e42])return!0x1;return!0x0;}(_0x320e1d['focusCycler'],_0xe9a331['focusCycler'])&&_0x320e1d['focusCycler']['chain'](_0xe9a331['focusCycler']));}function fd(_0x415e11,_0x458a87){_0x415e11['focusTracker']['remove'](_0x458a87['element']),_0x415e11['keystrokes']['stopListening'](_0x458a87['element']),ut(_0x458a87)&&_0x415e11['focusCycler']['unchain'](_0x458a87['focusCycler']);}class Diff{['diff'](_0x463465,_0x553f71,_0x47f258={}){let _0x4de599;'function'==typeof _0x47f258?(_0x4de599=_0x47f258,_0x47f258={}):'callback'in _0x47f258&&(_0x4de599=_0x47f258['callback']);const _0x1b9949=this['castInput'](_0x463465,_0x47f258),_0xe3df49=this['castInput'](_0x553f71,_0x47f258),_0x3f9456=this['removeEmpty'](this['tokenize'](_0x1b9949,_0x47f258)),_0x2b2b75=this['removeEmpty'](this['tokenize'](_0xe3df49,_0x47f258));return this['diffWithOptionsObj'](_0x3f9456,_0x2b2b75,_0x47f258,_0x4de599);}['diffWithOptionsObj'](_0x1e861b,_0x5de6b1,_0x55d479,_0x253a15){var _0x56f185;const _0x5b04a8=_0x3b0f8f=>(_0x3b0f8f=this['postProcess'](_0x3b0f8f,_0x55d479),_0x253a15?void setTimeout(function(){_0x253a15(_0x3b0f8f);},0x0):_0x3b0f8f),_0x4a84d7=_0x5de6b1['length'],_0x558d4e=_0x1e861b['length'];let _0x52bb8f=0x1,_0x2b246a=_0x4a84d7+_0x558d4e;null!=_0x55d479['maxEditLength']&&(_0x2b246a=Math['min'](_0x2b246a,_0x55d479['maxEditLength']));const _0x41b678=null!==(_0x56f185=_0x55d479['timeout'])&&void 0x0!==_0x56f185?_0x56f185:0x1/0x0,_0x2915fd=Date['now']()+_0x41b678,_0x2fa4fe=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x49391b=this['extractCommon'](_0x2fa4fe[0x0],_0x5de6b1,_0x1e861b,0x0,_0x55d479);if(_0x2fa4fe[0x0]['oldPos']+0x1>=_0x558d4e&&_0x49391b+0x1>=_0x4a84d7)return _0x5b04a8(this['buildValues'](_0x2fa4fe[0x0]['lastComponent'],_0x5de6b1,_0x1e861b));let _0x1b50a1=-0x1/0x0,_0x22dfbc=0x1/0x0;const _0x403018=()=>{for(let _0x1e8309=Math['max'](_0x1b50a1,-_0x52bb8f);_0x1e8309<=Math['min'](_0x22dfbc,_0x52bb8f);_0x1e8309+=0x2){let _0x49afa3;const _0x5e8ee3=_0x2fa4fe[_0x1e8309-0x1],_0x3a63f8=_0x2fa4fe[_0x1e8309+0x1];_0x5e8ee3&&(_0x2fa4fe[_0x1e8309-0x1]=void 0x0);let _0x35fe78=!0x1;if(_0x3a63f8){const _0x9678ff=_0x3a63f8['oldPos']-_0x1e8309;_0x35fe78=_0x3a63f8&&0x0<=_0x9678ff&&_0x9678ff<_0x4a84d7;}const _0x445e20=_0x5e8ee3&&_0x5e8ee3['oldPos']+0x1<_0x558d4e;if(_0x35fe78||_0x445e20){if(_0x49afa3=!_0x445e20||_0x35fe78&&_0x5e8ee3['oldPos']<_0x3a63f8['oldPos']?this['addToPath'](_0x3a63f8,!0x0,!0x1,0x0,_0x55d479):this['addToPath'](_0x5e8ee3,!0x1,!0x0,0x1,_0x55d479),_0x49391b=this['extractCommon'](_0x49afa3,_0x5de6b1,_0x1e861b,_0x1e8309,_0x55d479),_0x49afa3['oldPos']+0x1>=_0x558d4e&&_0x49391b+0x1>=_0x4a84d7)return _0x5b04a8(this['buildValues'](_0x49afa3['lastComponent'],_0x5de6b1,_0x1e861b))||!0x0;_0x2fa4fe[_0x1e8309]=_0x49afa3,_0x49afa3['oldPos']+0x1>=_0x558d4e&&(_0x22dfbc=Math['min'](_0x22dfbc,_0x1e8309-0x1)),_0x49391b+0x1>=_0x4a84d7&&(_0x1b50a1=Math['max'](_0x1b50a1,_0x1e8309+0x1));}else _0x2fa4fe[_0x1e8309]=void 0x0;}_0x52bb8f++;};if(_0x253a15)!function _0x1fcc78(){setTimeout(function(){if(_0x52bb8f>_0x2b246a||Date['now']()>_0x2915fd)return _0x253a15(void 0x0);_0x403018()||_0x1fcc78();},0x0);}();else for(;_0x52bb8f<=_0x2b246a&&Date['now']()<=_0x2915fd;){const _0x225a8e=_0x403018();if(_0x225a8e)return _0x225a8e;}}['addToPath'](_0x1cdeb4,_0x51f9b3,_0x45018d,_0x2ff9c7,_0x19654d){const _0x4fdda2=_0x1cdeb4['lastComponent'];return _0x4fdda2&&!_0x19654d['oneChangePerToken']&&_0x4fdda2['added']===_0x51f9b3&&_0x4fdda2['removed']===_0x45018d?{'oldPos':_0x1cdeb4['oldPos']+_0x2ff9c7,'lastComponent':{'count':_0x4fdda2['count']+0x1,'added':_0x51f9b3,'removed':_0x45018d,'previousComponent':_0x4fdda2['previousComponent']}}:{'oldPos':_0x1cdeb4['oldPos']+_0x2ff9c7,'lastComponent':{'count':0x1,'added':_0x51f9b3,'removed':_0x45018d,'previousComponent':_0x4fdda2}};}['extractCommon'](_0x124d4a,_0xffc6df,_0x2a4f76,_0x2dbf60,_0x4279d6){const _0x2ee1fa=_0xffc6df['length'],_0x3be499=_0x2a4f76['length'];let _0xd85b05=_0x124d4a['oldPos'],_0x524868=_0xd85b05-_0x2dbf60,_0x5e3d43=0x0;for(;_0x524868+0x1<_0x2ee1fa&&_0xd85b05+0x1<_0x3be499&&this['equals'](_0x2a4f76[_0xd85b05+0x1],_0xffc6df[_0x524868+0x1],_0x4279d6);)_0x524868++,_0xd85b05++,_0x5e3d43++,_0x4279d6['oneChangePerToken']&&(_0x124d4a['lastComponent']={'count':0x1,'previousComponent':_0x124d4a['lastComponent'],'added':!0x1,'removed':!0x1});return _0x5e3d43&&!_0x4279d6['oneChangePerToken']&&(_0x124d4a['lastComponent']={'count':_0x5e3d43,'previousComponent':_0x124d4a['lastComponent'],'added':!0x1,'removed':!0x1}),_0x124d4a['oldPos']=_0xd85b05,_0x524868;}['equals'](_0x2b0699,_0x2821f3,_0xe91f3f){return _0xe91f3f['comparator']?_0xe91f3f['comparator'](_0x2b0699,_0x2821f3):_0x2b0699===_0x2821f3||!!_0xe91f3f['ignoreCase']&&_0x2b0699['toLowerCase']()===_0x2821f3['toLowerCase']();}['removeEmpty'](_0x26c73e){const _0x409697=[];for(let _0x3fdc1c=0x0;_0x3fdc1c<_0x26c73e['length'];_0x3fdc1c++)_0x26c73e[_0x3fdc1c]&&_0x409697['push'](_0x26c73e[_0x3fdc1c]);return _0x409697;}['castInput'](_0x328045,_0x3ec68e){return _0x328045;}['tokenize'](_0x229e19,_0xb04ceb){return Array['from'](_0x229e19);}['join'](_0x1d6e64){return _0x1d6e64['join']('');}['postProcess'](_0x1931e8,_0x137faf){return _0x1931e8;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x5aeee7,_0x2bed5f,_0x4b95ac){const _0x4fd27f=[];let _0x5832ee;for(;_0x5aeee7;)_0x4fd27f['push'](_0x5aeee7),_0x5832ee=_0x5aeee7['previousComponent'],delete _0x5aeee7['previousComponent'],_0x5aeee7=_0x5832ee;_0x4fd27f['reverse']();const _0xd9a47f=_0x4fd27f['length'];let _0x1e162b=0x0,_0x1bb802=0x0,_0x3aa43d=0x0;for(;_0x1e162b<_0xd9a47f;_0x1e162b++){const _0x585700=_0x4fd27f[_0x1e162b];if(_0x585700['removed'])_0x585700['value']=this['join'](_0x4b95ac['slice'](_0x3aa43d,_0x3aa43d+_0x585700['count'])),_0x3aa43d+=_0x585700['count'];else{if(!_0x585700['added']&&this['useLongestToken']){let _0x2e922c=_0x2bed5f['slice'](_0x1bb802,_0x1bb802+_0x585700['count']);_0x2e922c=_0x2e922c['map'](function(_0x878aac,_0x2c6d27){const _0x53005d=_0x4b95ac[_0x3aa43d+_0x2c6d27];return _0x53005d['length']>_0x878aac['length']?_0x53005d:_0x878aac;}),_0x585700['value']=this['join'](_0x2e922c);}else _0x585700['value']=this['join'](_0x2bed5f['slice'](_0x1bb802,_0x1bb802+_0x585700['count']));_0x1bb802+=_0x585700['count'],_0x585700['added']||(_0x3aa43d+=_0x585700['count']);}}return _0x4fd27f;}}const md=new class ArrayDiff extends Diff{['tokenize'](_0x595277){return _0x595277['slice']();}['join'](_0x564eb2){return _0x564eb2;}['removeEmpty'](_0x47d480){return _0x47d480;}}();function gd(_0x45cae1,_0x1885e2,_0x22d94a){return md['diff'](_0x45cae1,_0x1885e2,_0x22d94a);}const pd='$elementId',Od='data-id';class DocumentCompare extends _0x13e428{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0xadff6a?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3458ef,_0x544f02)=>{_0x544f02['on']('ready',()=>{this['_integrateEditor'](_0x544f02);});});}get['editor'](){if(this['context']instanceof _0xadff6a)return this['context'];{const _0x52f7b8=this['context']['editors']['first'];if(!_0x52f7b8)throw new _0x37fbfa('documentcompare-no-editor',this);return _0x52f7b8;}}['getDiff'](_0x411926,_0x3b74d2,_0x489710={'anchor':'main','markDeletions':!0x1}){let _0x521127,_0x5a8d3d;const _0x43d2c3=this['editor'];if('string'==typeof _0x489710['anchor']){const _0x21165c=_0x43d2c3['model']['document']['getRoot'](_0x489710['anchor']);if(!_0x21165c)throw new _0x37fbfa('documentcompare-compare-no-root',this,{'anchor':_0x489710['anchor']});_0x521127=_0x21165c,_0x5a8d3d=_0x43d2c3['model']['createPositionAt'](_0x21165c,0x0);}else _0x521127=_0x489710['anchor']['clone'](),_0x5a8d3d=_0x489710['anchor']['clone']();const _0x299f2a=_0x43d2c3['data']['parse'](_0x411926,_0x521127),_0x243611=_0x43d2c3['data']['parse'](_0x3b74d2,_0x521127);return new DocumentDiff(_0x299f2a,_0x243611,_0x43d2c3,{'anchor':_0x5a8d3d,'markDeletions':_0x489710['markDeletions']});}['isMarkedRemoveOperation'](_0x1c2493){return'marker'==_0x1c2493['type']&&_0x1c2493['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x400638){_0x400638['conversion']['for']('upcast')['add'](_0x404c4b=>{_0x404c4b['on']('element',(_0x20950f,_0x285310,_0x597bb7)=>{if(_0x285310['modelRange'])for(const _0x9ae62d of _0x285310['modelRange']['getItems']({'shallow':!0x0})){if(_0x9ae62d['is']('$textProxy'))continue;const _0x6f594c=_0x285310['viewItem']['getAttribute'](Od);_0x6f594c&&_0x597bb7['writer']['setAttribute'](pd,_0x6f594c,_0x9ae62d);}},{'priority':'lowest'});}),_0x400638['model']['schema']['addAttributeCheck'](()=>!0x0,pd);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0xbc6bb7,_0x25e9ad,_0x504cce,_0x3fe9c2){this['_editor']=_0x504cce,this['_markDeletions']=!!_0x3fe9c2['markDeletions'],this['_anchor']=_0x3fe9c2['anchor'];const _0x5958e0=this['_tokenizeModel'](_0xbc6bb7),_0x282d79=this['_tokenizeModel'](_0x25e9ad);this['_diffItems']=this['_diffModelTokens'](_0x5958e0,_0x282d79),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xbc6bb7['markers'],_0x25e9ad['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x25fbcc=this['_editor']['model']['document'],_0x3599f4=[];let _0x8279a2=_0x25fbcc['version'];for(const _0x2ce7cb of this['_operationsData'])switch(_0x2ce7cb['type']){case'attribute':{const _0x2730a5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['path']),_0x4b52d4=_0x2730a5['getShiftedBy'](_0x2ce7cb['howMany']),_0x3b2c15=new _0x2ec072(_0x2730a5,_0x4b52d4),_0x228526=JSON['parse'](_0x2ce7cb['oldValue']),_0x25d7ad=JSON['parse'](_0x2ce7cb['newValue']);_0x3599f4['push'](new _0x552d64(_0x3b2c15,_0x2ce7cb['key'],_0x228526,_0x25d7ad,_0x8279a2++));break;}case'insert':{const _0x52f23b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['path']),_0xc0e187=this['_makeModelFromTokens'](_0x2ce7cb['tokens']);_0x3599f4['push'](new _0x30aab9(_0x52f23b,_0xc0e187,_0x8279a2++));break;}case'remove':{const _0xde68a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['path']),_0xfab44c=new _0xf95af9(_0x25fbcc['graveyard'],[0x0]);_0x3599f4['push'](new _0x5c8596(_0xde68a,_0x2ce7cb['howMany'],_0xfab44c,_0x8279a2++));break;}case'rename':{const _0x52889f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['path']);_0x3599f4['push'](new _0x26c88b(_0x52889f,_0x2ce7cb['oldName'],_0x2ce7cb['newName'],_0x8279a2++));break;}case'split':{const _0x377490=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['path']),_0x2c758c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['path']['slice'](0x0,-0x1));_0x2c758c['offset']++,_0x3599f4['push'](new _0x48ab51(_0x377490,Number['NEGATIVE_INFINITY'],_0x2c758c,null,_0x8279a2++));break;}case'merge':{const _0x551a68=_0x2ce7cb['path']['slice'](),_0x3131a9=_0x551a68['slice'](0x0,-0x1);_0x3131a9[_0x3131a9['length']-0x1]++,_0x3131a9['push'](0x0);const _0x4d88e1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3131a9),_0x2fe1ca=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x551a68),_0x18618d=new _0xf95af9(_0x25fbcc['graveyard'],[0x0]);_0x3599f4['push'](new _0xeeb5ef(_0x4d88e1,Number['NEGATIVE_INFINITY'],_0x2fe1ca,_0x18618d,_0x8279a2++));break;}case'marker':case'markedRemove':{let _0x50d023=null;if(_0x2ce7cb['range']){const _0x2b305b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['range']['start']),_0x5e1317=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['range']['end']);_0x50d023=new _0x2ec072(_0x2b305b,_0x5e1317);}const _0x565a7c='marker'==_0x2ce7cb['type']?_0x2ce7cb['name']:'$markedRemove:'+_0x5c5c0c();_0x3599f4['push'](new ts(_0x565a7c,null,_0x50d023,_0x25fbcc['model']['markers'],!0x0,_0x8279a2++));break;}case'unwrap':{const _0x265a61=_0x2ce7cb['path']['slice']();_0x265a61['push'](0x0);const _0xb86d6d=_0x2ce7cb['path']['slice'](),_0x3bce49=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x265a61),_0x57affb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xb86d6d),_0x14de68=new _0xf95af9(_0x25fbcc['graveyard'],[0x0]);_0x3599f4['push'](new _0x5c8596(_0x3bce49,_0x2ce7cb['howMany'],_0x57affb,_0x8279a2++)),_0x3599f4['push'](new _0x5c8596(_0x57affb['getShiftedBy'](_0x2ce7cb['howMany']),0x1,_0x14de68,_0x8279a2++));break;}case'wrap':{const _0x245b24=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['range']['start']),_0xda631b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ce7cb['range']['end']),_0x520e5d=_0x2ce7cb['token']['element']['_clone'](!0x1),_0x41a372=_0x2ce7cb['range']['end']['slice']();_0x41a372['push'](0x0);const _0x33c56e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41a372);_0x3599f4['push'](new _0x30aab9(_0xda631b,_0x520e5d,_0x8279a2++)),_0x3599f4['push'](new _0x5c8596(_0x245b24,_0xda631b['offset']-_0x245b24['offset'],_0x33c56e,_0x8279a2++));break;}}return _0x3599f4;}['_tokenizeModel'](_0xf5506e){const _0x2907e5=[],_0x213a27=_0x2ec072['_createIn'](_0xf5506e),_0x1b7459=new _0x4c94f6({'boundaries':_0x213a27});let _0xd002b='',_0x278b77=null;const _0x204c61=[''],_0x17258b=new Map();for(const _0x46e139 of _0x1b7459)if('elementStart'==_0x46e139['type']||'elementEnd'==_0x46e139['type']){let _0x5e554b=_0x204c61[0x0];''!==_0xd002b&&(_0x2907e5['push'](...this['_makeTokensFromTextByWords'](_0xd002b,_0x278b77,_0x5e554b)),_0xd002b='');const _0x526a8a=_0x46e139['item'];let _0x8f5e56;_0x526a8a['getAttribute'](pd)?_0x8f5e56=_0x526a8a['getAttribute'](pd):'elementStart'==_0x46e139['type']?(_0x8f5e56=bd(_0x526a8a),_0x17258b['set'](_0x526a8a,_0x8f5e56)):_0x8f5e56=_0x17258b['get'](_0x526a8a);const _0x17ff31=this['_getElementCategory'](_0x526a8a);'solid'==_0x17ff31&&('elementStart'==_0x46e139['type']?(_0x5e554b=_0x8f5e56,_0x204c61['unshift'](_0x5e554b)):_0x204c61['shift']());const _0x21da1a={'type':'element','element':_0x526a8a,'elementId':_0x8f5e56,'category':_0x17ff31,'isStart':'elementStart'==_0x46e139['type'],'limitId':_0x5e554b};_0x2907e5['push'](_0x21da1a);}else''==_0xd002b&&(_0x278b77=_0x46e139['previousPosition']['clone']()),_0xd002b+=_0x46e139['item']['data'];return''!==_0xd002b&&_0x2907e5['push'](...this['_makeTokensFromTextByWords'](_0xd002b,_0x278b77,_0x204c61[0x0])),_0x2907e5;}['_makeTokensFromTextByWords'](_0x303fca,_0x768ac,_0x35ade0){const _0x2e049a=_0x303fca['matchAll'](/(\s)/g),_0x4dc83e=Array['from'](_0x2e049a)['map'](_0x3f14f5=>_0x3f14f5['index']);_0x4dc83e['push'](_0x303fca['length']),0x0==_0x4dc83e[0x0]&&_0x4dc83e['shift']();const _0x20890e=[],_0x5a03e5=_0x768ac['parent'];let _0x1a3500=0x0,_0x2e2963=_0x768ac['offset'];for(let _0x3c43d9=0x0;_0x3c43d9<_0x4dc83e['length'];_0x3c43d9++)_0x20890e['push']({'type':'text','data':_0x303fca['slice'](_0x1a3500,_0x4dc83e[_0x3c43d9]),'parent':_0x5a03e5,'offset':_0x2e2963,'limitId':_0x35ade0}),_0x1a3500=_0x4dc83e[_0x3c43d9],_0x2e2963=_0x768ac['offset']+_0x4dc83e[_0x3c43d9];return _0x20890e;}['_getElementCategory'](_0x58abff){const _0x213979=this['_editor']['model']['schema'];return _0x213979['isLimit'](_0x58abff)||_0x213979['isContent'](_0x58abff)||_0x213979['isInline'](_0x58abff)?'solid':_0x213979['isBlock'](_0x58abff)?'block':'container';}['_diffModelTokens'](_0xf58b40,_0x42fbf2){const _0x5ead62=gd(_0xf58b40,_0x42fbf2,{'comparator':wd});this['_handleUnclosedBlockOpeningTags'](_0x5ead62);const _0x5b6995=_0x5ead62['flatMap'](_0x333a62=>{const _0x1e3cf8=_0x333a62['added']?'added':_0x333a62['removed']?'removed':'unchanged';return _0x333a62['value']['map'](_0x4cf52f=>({'token':_0x4cf52f,'change':_0x1e3cf8}));});let _0x3e159e=0x0;for(const _0x4badc8 of _0x5b6995)'added'!=_0x4badc8['change']&&('unchanged'==_0x4badc8['change']&&(_0x4badc8['before']=_0xf58b40[_0x3e159e]),_0x3e159e++);return _0x5b6995;}['_handleUnclosedBlockOpeningTags'](_0x2985de){for(let _0x189b01=0x0;_0x189b01<_0x2985de['length']-0x1;_0x189b01++)if(_0x2985de[_0x189b01]['removed']&&_0x2985de[_0x189b01+0x1]['added']){const _0x584e08=this['_findUnclosedBlockOpeningToken'](_0x2985de[_0x189b01]['value']);if(null!==_0x584e08){const _0x1c3342=this['_findUnclosedBlockOpeningToken'](_0x2985de[_0x189b01+0x1]['value']),_0x6f9913=_0x2985de[_0x189b01]['value']['splice'](_0x584e08),_0x39ee3e=_0x2985de[_0x189b01+0x1]['value']['splice'](_0x1c3342),_0x286ac2=[_0x39ee3e['shift']()];_0x6f9913['shift']();const _0x22bbf4={'value':_0x6f9913,'removed':!0x0},_0x193cd2={'value':_0x39ee3e,'added':!0x0},_0x5f34d9={'value':_0x286ac2};_0x2985de['splice'](_0x189b01+0x2,0x0,_0x5f34d9,_0x22bbf4,_0x193cd2);}}}['_findUnclosedBlockOpeningToken'](_0x5842d1){let _0x55939c=0x0,_0x3eef5b=-0x1;for(let _0xb48ff2=0x0;_0xb48ff2<_0x5842d1['length'];_0xb48ff2++){const _0x1b7e64=_0x5842d1[_0xb48ff2];'element'==_0x1b7e64['type']&&'block'==_0x1b7e64['category']&&(_0x55939c+=_0x1b7e64['isStart']?0x1:-0x1,_0x1b7e64['isStart']&&(_0x3eef5b=_0xb48ff2));}return 0x0===_0x55939c?null:_0x3eef5b;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5a379d=0x0;_0x5a379d<this['_diffItems']['length'];_0x5a379d++){const _0x3badc9=this['_diffItems'][_0x5a379d]['change'],_0x237974=[];_0x237974['push'](this['_diffItems'][_0x5a379d]);let _0x57f451=_0x5a379d+0x1;for(;this['_diffItems'][_0x57f451]&&this['_diffItems'][_0x57f451]['change']==_0x3badc9;)_0x237974['push'](this['_diffItems'][_0x57f451]),_0x57f451++,_0x5a379d++;const _0x209f6a=_0x237974['map'](_0xadae13=>_0xadae13['token']);if('unchanged'==_0x3badc9)_0x237974['map'](_0x173854=>_0x173854['before'])['forEach'](_0x2d1f7b=>this['_traverseOverItem'](_0x2d1f7b));else{if('removed'==_0x3badc9){if(this['_markDeletions']){const _0x2e9c0a=this['_path']['slice']();_0x209f6a['forEach'](_0x50fae8=>this['_traverseOverItem'](_0x50fae8));const _0x2b2f02=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x2e9c0a,'end':_0x2b2f02}});}else this['_handleChanged'](_0x209f6a,!0x0,this['_path']['slice']());}else{const _0x4533b4=_0x209f6a['filter'](_0x441cb1=>'element'!=_0x441cb1['type']||'container'!=_0x441cb1['category']);this['_handleChanged'](_0x4533b4,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2d9eb3=0x0;_0x2d9eb3<this['_diffItems']['length'];_0x2d9eb3++){const _0x131b11=this['_diffItems'][_0x2d9eb3]['change'],_0x17d978=[];_0x17d978['push'](this['_diffItems'][_0x2d9eb3]);let _0x4a8477=_0x2d9eb3+0x1;for(;this['_diffItems'][_0x4a8477]&&this['_diffItems'][_0x4a8477]['change']==_0x131b11;)_0x17d978['push'](this['_diffItems'][_0x4a8477]),_0x4a8477++,_0x2d9eb3++;const _0x41b818=_0x17d978['map'](_0x5a5a4a=>_0x5a5a4a['token']);if('unchanged'==_0x131b11){const _0x3e6d13=_0x17d978['map'](_0x3edc53=>_0x3edc53['before']);this['_handleUnchanged'](_0x3e6d13,_0x41b818);}else('removed'!=_0x131b11||this['_markDeletions'])&&_0x41b818['forEach'](_0x29d263=>{this['_traverseOverItem'](_0x29d263);});}}['_calculateMarkersOperationsData'](_0x48bb67,_0x32642c){const _0x5657ee={};for(const [_0x306db2]of _0x48bb67)_0x5657ee[_0x306db2]=null;for(const [_0xbc3fce,_0x53e741]of _0x32642c)_0x5657ee[_0xbc3fce]=_0x53e741;const _0x346e11=Object['entries'](_0x5657ee)['map'](([_0x39fe77,_0xa7502])=>({'type':'marker','name':_0x39fe77,'range':_0xa7502?{'start':_0xa7502['start']['path']['slice'](),'end':_0xa7502['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x346e11);}['_handleUnwraps'](){const _0xd7ab4e=new Map(),_0x25280d=[],_0x34d5da=[0x0];let _0xf7cf6f=this['_diffItems']['length']+0x1;for(let _0x3d7278=this['_diffItems']['length']-0x1;_0x3d7278>=0x0;_0x3d7278--){const {token:_0x526fe4,before:_0x3523d1,change:_0x121e5e}=this['_diffItems'][_0x3d7278];if('removed'!=_0x121e5e&&(_0xf7cf6f=_0x3d7278),'element'!=_0x526fe4['type']||'container'!=_0x526fe4['category']||'added'==_0x121e5e)continue;const _0x3efbdb=_0x3523d1?_0x3523d1['element']:_0x526fe4['element'];if(_0x526fe4['isStart']){const _0x5d571d=_0xd7ab4e['get'](_0x3efbdb),_0x3d8c77=this['_diffItems'][_0x5d571d];('removed'==_0x121e5e||'removed'==_0x3d8c77['change'])&&_0xf7cf6f<_0x5d571d&&(this['_operationsData']['push']({'type':'unwrap','path':_0x3efbdb['getPath'](),'howMany':_0x3efbdb['maxOffset']+_0x34d5da[0x0]}),_0x34d5da['shift'](),_0x34d5da[0x0]+=_0x3efbdb['maxOffset']-0x1,_0x25280d['push'](_0x3d7278),_0x25280d['push'](_0x5d571d));}else _0xd7ab4e['set'](_0x3efbdb,_0x3d7278),_0x34d5da['unshift'](0x0);}_0x25280d['sort']((_0x25d32e,_0x3c0a53)=>_0x3c0a53-_0x25d32e),_0x25280d['forEach'](_0x359698=>{const _0x1e775b=this['_diffItems'][_0x359698];'removed'==_0x1e775b['change']?this['_diffItems']['splice'](_0x359698,0x1):(_0x1e775b['change']='added',delete _0x1e775b['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x58954d=[];for(let _0x418be9=0x0;_0x418be9<this['_diffItems']['length'];_0x418be9++){const {change:_0x3b3f8a,token:_0x1a35ae}=this['_diffItems'][_0x418be9];if('added'==_0x3b3f8a&&'element'==_0x1a35ae['type']&&'container'==_0x1a35ae['category']){if(_0x1a35ae['isStart'])_0x58954d['push'](this['_path']['slice']());else{if(!_0x1a35ae['isStart']){const _0x17e2d3=_0x58954d['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x17e2d3,'end':this['_path']['slice']()},'token':_0x1a35ae}),this['_path'][this['_path']['length']-0x1]=_0x17e2d3[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x3b3f8a||this['_markDeletions'])&&this['_traverseOverItem'](_0x1a35ae);}}['_handleUnchanged'](_0x404af1,_0x1d9efe){for(let _0x10b0e6=0x0;_0x10b0e6<_0x404af1['length'];_0x10b0e6++){const _0x4076fd=_0x404af1[_0x10b0e6];if('element'==_0x4076fd['type']&&_0x4076fd['isStart']){const _0x48d1e3=_0x1d9efe[_0x10b0e6];'block'==_0x4076fd['category']&&this['_handleElementRename'](_0x4076fd['element'],_0x48d1e3['element'],this['_path']),this['_handleElementAttributeChanges'](_0x4076fd['element'],_0x48d1e3['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x48d1e3);}else{if('element'!=_0x4076fd['type']||_0x4076fd['isStart']){if('text'==_0x4076fd['type']){const _0x469e89=this['_path']['slice'](),_0x248f18=[],_0x48a3d7=[];for(;_0x404af1[_0x10b0e6]&&'text'==_0x404af1[_0x10b0e6]['type'];)_0x248f18['push'](_0x404af1[_0x10b0e6]),_0x48a3d7['push'](_0x1d9efe[_0x10b0e6]),this['_path'][this['_path']['length']-0x1]+=_0x404af1[_0x10b0e6]['data']['length'],_0x10b0e6++;_0x10b0e6--,this['_handleTextAttributeChanges'](_0x248f18,_0x48a3d7,_0x469e89);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1caf93,_0x16a10c,_0x1fda5b){const _0xc89530=[],_0x360ea0=[],_0x2fadc2=_0x1fda5b['slice']();for(let _0x422bf5=0x0;_0x422bf5<_0x1caf93['length'];_0x422bf5++){const _0x2529b7=_0x1caf93[_0x422bf5],_0xe511de=_0x1fda5b['slice']();if('element'!=_0x2529b7['type']||_0x2529b7['isStart'])'element'==_0x2529b7['type']&&_0x2529b7['isStart']?(_0x1fda5b['push'](0x0),_0x16a10c||this['_parents']['push'](_0x2529b7),_0x360ea0['push']({'before':_0xe511de,'after':_0x1fda5b['slice'](),'index':_0x422bf5})):_0x1fda5b[_0x1fda5b['length']-0x1]+=_0x2529b7['data']['length'];else{let _0x46ade0;_0x1fda5b['pop'](),_0x1fda5b[_0x1fda5b['length']-0x1]++,_0x46ade0=_0x16a10c?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x360ea0['length']?_0x360ea0['pop']():_0xc89530['push']({'before':_0xe511de,'after':_0x1fda5b['slice'](),'index':_0x422bf5,'related':_0x46ade0});}}if(_0x360ea0['length']!==_0xc89530['length'])throw new _0x37fbfa('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1caf93,'isRemove':_0x16a10c});const _0x19d750=[{'after':_0x2fadc2['slice'](),'index':-0x1},..._0xc89530,..._0x360ea0,{'before':_0x1fda5b['slice'](),'index':_0x1caf93['length']}];if(_0x16a10c){for(let _0x5c9ff3=_0x19d750['length']-0x1;_0x5c9ff3>=0x1;_0x5c9ff3--){const _0x39644b=_0x19d750[_0x5c9ff3-0x1]['after'],_0x180540=_0x19d750[_0x5c9ff3]['before'],_0x433332=_0x180540[_0x180540['length']-0x1]-_0x39644b[_0x39644b['length']-0x1];_0x433332&&(this['_operationsData']['push']({'type':'remove','path':_0x39644b,'howMany':_0x433332}),_0x180540[_0x180540['length']-0x1]-=_0x433332);}for(const {before:_0x5eab80}of _0xc89530)this['_operationsData']['push']({'type':'merge','path':_0x5eab80});}else for(let _0x4e5b55=0x0;_0x4e5b55<_0x19d750['length']-0x1;_0x4e5b55++){const _0x886a6a=_0x19d750[_0x4e5b55]['after'],_0x7c237=_0x19d750[_0x4e5b55+0x1]['before'],_0x3b45b1=_0x19d750[_0x4e5b55]['index']+0x1,_0x593212=_0x19d750[_0x4e5b55+0x1]['index'];if(_0x3b45b1!==_0x593212&&this['_operationsData']['push']({'type':'insert','path':_0x886a6a,'tokens':_0x1caf93['slice'](_0x3b45b1,_0x593212)}),_0x4e5b55<_0xc89530['length']){this['_operationsData']['push']({'type':'split','path':_0x7c237});const _0x5dcd53=_0x1caf93[_0x360ea0[_0x360ea0['length']-0x1-_0x4e5b55]['index']],_0x5751a3=_0xc89530[_0x4e5b55]['after'],_0x55afcc=_0xc89530[_0x4e5b55]['related']['element'];this['_handleElementRename'](_0x55afcc,_0x5dcd53['element'],_0x5751a3),this['_handleElementAttributeChanges'](_0x55afcc,_0x5dcd53['element'],_0x5751a3);}}}['_traverseOverItem'](_0x4bf003){'element'==_0x4bf003['type']&&_0x4bf003['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4bf003)):'element'!=_0x4bf003['type']||_0x4bf003['isStart']?'text'==_0x4bf003['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4bf003['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x535b59,_0x4586f4,_0x438c33){_0x535b59['name']!=_0x4586f4['name']&&this['_operationsData']['push']({'type':'rename','path':_0x438c33['slice'](),'oldName':_0x535b59['name'],'newName':_0x4586f4['name']});}['_handleElementAttributeChanges'](_0x5bb371,_0x4c7606,_0x1ad86c){const _0x15fcd7=this['_getAttributeChanges'](_0x5bb371['getAttributes'](),_0x4c7606['getAttributes']());for(const _0x335ce5 in _0x15fcd7){const {oldValue:_0x291bce,newValue:_0x2d00c5}=_0x15fcd7[_0x335ce5];this['_operationsData']['push']({'type':'attribute','path':_0x1ad86c['slice'](),'howMany':0x1,'key':_0x335ce5,'oldValue':_0x291bce,'newValue':_0x2d00c5});}}['_handleTextAttributeChanges'](_0x29b4ee,_0x368b6e,_0x13fa1f){const _0x29dab0=this['_operationsData'],_0x3c4e01=_0x29b4ee[0x0]['parent'],_0x3a869d=_0x29b4ee[0x0]['offset'],_0x4f0890=_0x368b6e[0x0]['parent'],_0x205e21=_0x368b6e[0x0]['offset'],_0x4fb3a9=_0x29b4ee['reduce']((_0x3d2e6e,_0x48253a)=>_0x3d2e6e+_0x48253a['data']['length'],0x0),_0x2b6160=this['_getAttrsForOffsets'](_0x3c4e01,_0x3a869d,_0x4fb3a9),_0x103fbb=this['_getAttrsForOffsets'](_0x4f0890,_0x205e21,_0x4fb3a9),_0x414ff7={};for(let _0x549543=0x0;_0x549543<_0x4fb3a9;_0x549543++){const _0x54d6e4=_0x2b6160[_0x3a869d+_0x549543],_0xf968a0=_0x103fbb[_0x205e21+_0x549543],_0x569bc1=this['_getAttributeChanges'](_0x54d6e4,_0xf968a0);for(const _0x22bc7a in _0x414ff7)_0x569bc1[_0x22bc7a]||_0x9f0424(_0x22bc7a);for(const _0x3ed432 in _0x569bc1){const {oldValue:_0x3beecd,newValue:_0x382ec6}=_0x569bc1[_0x3ed432],_0x4b85b2=_0x414ff7[_0x3ed432];_0x4b85b2?_0x4b85b2['oldValue']==_0x3beecd&&_0x4b85b2['newValue']==_0x382ec6?_0x4b85b2['length']++:(_0x9f0424(_0x3ed432),_0x414ff7[_0x3ed432]={'oldValue':_0x3beecd,'newValue':_0x382ec6,'start':_0x549543,'length':0x1}):_0x414ff7[_0x3ed432]={'oldValue':_0x3beecd,'newValue':_0x382ec6,'start':_0x549543,'length':0x1};}}for(const _0x3518da in _0x414ff7)_0x9f0424(_0x3518da);function _0x9f0424(_0x55a361){const _0x361365=_0x414ff7[_0x55a361],_0x3ede44=_0x13fa1f['slice']();_0x3ede44[_0x3ede44['length']-0x1]+=_0x361365['start'],_0x29dab0['push']({'type':'attribute','path':_0x3ede44,'howMany':_0x361365['length'],'key':_0x55a361,'oldValue':_0x361365['oldValue'],'newValue':_0x361365['newValue']}),delete _0x414ff7[_0x55a361];}}['_getAttributeChanges'](_0x4e9bf9,_0xe0385a){const _0x3e30a8={};for(const [_0x4c6808,_0x4ab961]of _0x4e9bf9)_0x3e30a8[_0x4c6808]={'oldValue':JSON['stringify'](_0x4ab961),'newValue':'null'};for(const [_0x20674c,_0x4c1ba5]of _0xe0385a){const _0xb41d2b=JSON['stringify'](_0x4c1ba5);_0x3e30a8[_0x20674c]?_0x3e30a8[_0x20674c]['oldValue']==_0xb41d2b?delete _0x3e30a8[_0x20674c]:_0x3e30a8[_0x20674c]['newValue']=_0xb41d2b:_0x3e30a8[_0x20674c]={'oldValue':'null','newValue':_0xb41d2b};}return delete _0x3e30a8[pd],_0x3e30a8;}['_getAttrsForOffsets'](_0xf43813,_0x50fa91,_0x5542f0){const _0x24ae90=new Array(_0x50fa91+_0x5542f0);let _0x4955a1=_0xf43813['getChildAtOffset'](_0x50fa91),_0x5e43ea=_0x4955a1['startOffset'];for(;_0x4955a1&&_0x5e43ea<_0x50fa91+_0x5542f0;){const _0x5a5807=Array['from'](_0x4955a1['getAttributes']());_0x24ae90['fill'](_0x5a5807,_0x5e43ea,_0x5e43ea+_0x4955a1['offsetSize']),_0x5e43ea+=_0x4955a1['offsetSize'],_0x4955a1=_0x4955a1['nextSibling'];}return _0x24ae90;}['_getPositionFromAnchorAndPath'](_0x586d45,_0x5e1c03){const _0x330090=[..._0x586d45['path']['slice'](0x0,-0x1),_0x586d45['offset']+_0x5e1c03[0x0],..._0x5e1c03['slice'](0x1)];return new _0xf95af9(_0x586d45['root'],_0x330090);}['_makeModelFromTokens'](_0x1b3609){const _0x59b1a1=[];let _0x534bb7=null;for(const _0x4376ac of _0x1b3609)if('element'!=_0x4376ac['type']||_0x4376ac['isStart']||_0x534bb7!=_0x4376ac['element']){if(!_0x534bb7){if('text'==_0x4376ac['type']){const _0x47eb73=_0xf95af9['_createAt'](_0x4376ac['parent'],_0x4376ac['offset']),_0x8b48d0=_0x2ec072['_createFromPositionAndShift'](_0x47eb73,_0x4376ac['data']['length']),_0x51a859=Array['from'](_0x8b48d0['getItems']())['map'](_0x32e290=>new _0x57414b(_0x32e290['data'],_0x32e290['getAttributes']()));_0x59b1a1['push'](..._0x51a859);}else{_0x534bb7=_0x4376ac['element'];const _0x5e03c1=_0x4376ac['element']['_clone'](!0x0);_0x5e03c1['_removeAttribute'](pd);for(const _0xfcc5f of this['_editor']['model']['createRangeIn'](_0x5e03c1)['getItems']())_0xfcc5f['is']('element')&&_0xfcc5f['_removeAttribute'](pd);_0x59b1a1['push'](_0x5e03c1);}}}else _0x534bb7=null;return _0x59b1a1;}}function wd(_0x1c05f6,_0x5025b6){return _0x1c05f6['type']===_0x5025b6['type']&&(_0x1c05f6['limitId']===_0x5025b6['limitId']&&('text'==_0x1c05f6['type']?_0x1c05f6['data']==_0x5025b6['data']:function(_0x2fce5b,_0x30ba12){if(_0x2fce5b['isStart']!=_0x30ba12['isStart'])return!0x1;if(_0x2fce5b['isStart']&&_0x2fce5b['elementId']!=_0x30ba12['elementId'])return!0x1;if(_0x2fce5b['category']!=_0x30ba12['category'])return!0x1;if('block'==_0x2fce5b['category'])return!0x0;if('container'==_0x2fce5b['category']&&_0x2fce5b['elementId']!=_0x30ba12['elementId'])return!0x1;return _0x2fce5b['element']['name']==_0x30ba12['element']['name'];}(_0x1c05f6,_0x5025b6)));}function bd(_0x3bafa0){return Ju({'name':_0x3bafa0['name'],...Object['fromEntries'](_0x3bafa0['getAttributes']())});}function yd({editor:_0x32e7c6,changeGroups:_0x115052,documentContextContent:_0x586b6c,showDiff:_0x593092,trimUnchanged:_0x446166=!0x0}){return _0x115052['map'](_0x1ad3e8=>{const _0x4642f6=new Document([]),_0xd04f97=new Document([]);for(const _0x2bd12e of _0x1ad3e8['changes'])if(_0x593092&&'removed'==_0x2bd12e['type']||_0xd04f97['children']['push'](_0x2bd12e['node']['cloneNode'](!0x0)),'new'!=_0x2bd12e['type']&&(_0x593092||'removed'!=_0x2bd12e['type'])){const _0x4a6126=Na(_0x5787f3=>Ba(_0x5787f3,'data-id')==_0x2bd12e['id'],_0x586b6c,!0x0);_0x4a6126&&_0x4642f6['children']['push'](_0x4a6126['cloneNode'](!0x0));}const {content:_0x4d52e4,hasChanges:_0x512524}=function(_0x13ccdf,_0x201869,_0x1b28d6,_0x1d2561,_0x4e3bd3=!0x0){const _0x34bbb9=_0x13ccdf['plugins']['get']('DocumentCompare'),_0x2da6f4=Qa(_0x201869),_0x403219=Qa(_0x1b28d6),_0x17c2b1=_0x13ccdf['data']['parse'](_0x2da6f4,'$root'),_0x5528a6=_0x13ccdf['model']['createPositionAt'](_0x17c2b1,0x0),_0x45e1bc=_0x34bbb9['getDiff'](_0x2da6f4,_0x403219,{'anchor':_0x5528a6,'markDeletions':_0x1d2561}),_0x4ca230=_0x45e1bc['getOperations']();if(0x0==_0x4ca230['length'])return{'content':_0x201869['cloneNode'](!0x0),'hasChanges':!0x1};_0x1d2561?function(_0x434de3,_0xb4fd6c,_0x25f118){if(0x0==_0x434de3['length'])return;const _0x3c2c5b=_0x25f118['plugins']['get']('DocumentCompare'),_0x5c6884=_0x25f118['plugins']['get']('SuggestionsConversion');_0x25f118['model']['change'](_0x259b99=>{const _0x5ae10b=new Set();for(let _0x5d79ea=0x0;_0x5d79ea<_0x434de3['length'];_0x5d79ea++){const _0x3157e0=_0x434de3[_0x5d79ea];if(_0x3157e0['baseVersion']=null,_0x3157e0['isDocumentOperation']=!0x1,_0x3c2c5b['isMarkedRemoveOperation'](_0x3157e0)){const _0x363f2c=Ja(_0x3157e0['newRange'],_0x25f118['model']),_0x2675b0='suggestion:deletion:'+_0x5c5c0c()+':$aiSuggestion';_0xb4fd6c['markers']['set'](_0x2675b0,_0x363f2c);}else switch(_0x3157e0['type']){case'rename':{if(_0x3157e0['oldName']==_0x3157e0['newName'])break;_0x259b99['batch']['addOperation'](_0x3157e0),_0x25f118['model']['applyOperation'](_0x3157e0);const _0x426183='$elementName',_0x487ab1=_0x3157e0['position'],_0x5d0fce=_0x25f118['model']['createRange'](_0x487ab1,_0x25f118['model']['createPositionAt'](_0x487ab1['nodeAfter'],'end')),_0x14df9c='suggestion:attribute:'+_0x426183+':'+_0x5c5c0c()+':$aiSuggestion';_0xb4fd6c['markers']['set'](_0x14df9c,_0x5d0fce);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x3157e0['oldValue']==_0x3157e0['newValue'])break;_0x259b99['batch']['addOperation'](_0x3157e0),_0x25f118['model']['applyOperation'](_0x3157e0);const _0x559a45=_0x3157e0['key'];if(!_0x5c6884['isRegisteredAttribute'](_0x559a45))break;const _0x3f6e80=Ja(_0x3157e0['range'],_0x25f118['model']),_0x4c06da='suggestion:attribute:'+_0x559a45+':'+_0x5c5c0c()+':$aiSuggestion';_0xb4fd6c['markers']['set'](_0x4c06da,_0x3f6e80);break;}case'insert':{_0x259b99['batch']['addOperation'](_0x3157e0),_0x25f118['model']['applyOperation'](_0x3157e0);if(_0x434de3[_0x5d79ea+0x1]&&'move'==_0x434de3[_0x5d79ea+0x1]['type']){_d(_0xb4fd6c,_0x3157e0);break;}const _0x5ce73c=_0x3157e0['position'],_0x898900=_0x3157e0['howMany'],_0x275698=Ja(_0x25f118['model']['createRange'](_0x5ce73c,_0x5ce73c['getShiftedBy'](_0x898900)),_0x25f118['model']),_0x49873e='suggestion:insertion:'+_0x5c5c0c()+':$aiSuggestion';_0xb4fd6c['markers']['set'](_0x49873e,_0x275698);break;}case'split':{_0x259b99['batch']['addOperation'](_0x3157e0),_0x25f118['model']['applyOperation'](_0x3157e0);const _0x51323f=_0x3157e0['splitPosition'],_0x31c930=_0x3157e0['moveTargetPosition'],_0x3d27bd=_0x25f118['model']['createRange'](_0x51323f,_0x31c930),_0x118184='suggestion:insertion:'+_0x5c5c0c()+':$aiSuggestion';_0xb4fd6c['markers']['set'](_0x118184,_0x3d27bd);break;}case'move':{_0x259b99['batch']['addOperation'](_0x3157e0),_0x25f118['model']['applyOperation'](_0x3157e0),_0x434de3[_0x5d79ea-0x1]&&'insert'==_0x434de3[_0x5d79ea-0x1]['type']&&_d(_0xb4fd6c,_0x3157e0);const _0x2bd72a=_0x3157e0['getMovedRangeStart'](),_0x415efa=_0x3157e0['howMany'];for(let _0x2622d2=0x0;_0x2622d2<_0x415efa;_0x2622d2++){const _0x587199=_0x2bd72a['getShiftedBy'](_0x2622d2)['nodeAfter'];_0x5ae10b['add'](_0x587199);}break;}case'remove':{const _0x46668c=_0x3157e0['sourcePosition'],_0x4e5457=_0x3157e0['howMany'],_0x4a60c8=new _0x4cb24c(_0x46668c,_0x4e5457);_0x259b99['batch']['addOperation'](_0x4a60c8),_0x25f118['model']['applyOperation'](_0x4a60c8);break;}}}for(const _0x446624 of _0x5ae10b){const _0x8e2e55=_0x25f118['model']['createRangeOn'](_0x446624),_0x37f79c='suggestion:formatBlock:$fakeWrap:'+_0x5c5c0c()+':$aiSuggestion';_0xb4fd6c['markers']['set'](_0x37f79c,Ja(_0x8e2e55,_0x25f118['model']));}});}(_0x4ca230,_0x17c2b1,_0x13ccdf):_0x13ccdf['model']['change'](_0x1d496a=>{for(const _0x750d4d of _0x4ca230)if('remove'==_0x750d4d['type']){const _0x18b0b6=_0x750d4d['sourcePosition'],_0xd0c114=_0x750d4d['howMany'],_0x295836=new _0x4cb24c(_0x18b0b6,_0xd0c114);_0x1d496a['batch']['addOperation'](_0x295836),_0x13ccdf['model']['applyOperation'](_0x295836);}else{if('marker'==_0x750d4d['type']){const _0x1dec0c=_0x750d4d['name'],_0x2fc91d=_0x750d4d['newRange'];null!==_0x2fc91d?_0x17c2b1['markers']['set'](_0x1dec0c,_0x2fc91d):_0x17c2b1['markers']['delete'](_0x1dec0c);}else _0x750d4d['baseVersion']=null,_0x750d4d['isDocumentOperation']=!0x1,_0x1d496a['batch']['addOperation'](_0x750d4d),_0x13ccdf['model']['applyOperation'](_0x750d4d);}});if(_0x4e3bd3){const _0x1f13ab=vd(_0x13ccdf,_0x4ca230,_0x17c2b1);Td(_0x13ccdf['model'],_0x1f13ab),function(_0x563b1d,_0x5e9149){const _0x349249=_0x5e9149['getFirstRange']()['start'];let _0x4ec74e=_0x5e9149['getFirstRange']()['end'];const _0x57504d=_0x349249['root'];(_0x4ec74e['textNode']||_0x4ec74e['nodeAfter']&&_0x4ec74e['nodeAfter']['is']('$text'))&&(_0x188ab1(_0x4ec74e,'...'),_0x4ec74e=_0x4ec74e['getShiftedBy'](0x3)),(_0x349249['textNode']||_0x349249['nodeBefore']&&_0x349249['nodeBefore']['is']('$text'))&&(_0x188ab1(_0x349249,'...'),function(_0x18595a,_0x407462,_0x3e652b){for(let [_0x2ee7a7,_0x19b0a3]of _0x18595a['markers']){const _0x5e97f9=_0x19b0a3['_getTransformedByInsertion'](_0x407462,_0x3e652b,!0x1);_0x19b0a3=_0x5e97f9[0x0],_0x18595a['markers']['set'](_0x2ee7a7,_0x19b0a3);}}(_0x57504d,_0x349249,0x3),_0x349249['parent']==_0x4ec74e['parent']&&(_0x4ec74e=_0x4ec74e['getShiftedBy'](0x3)));const _0x537f29=_0x563b1d['createRange'](_0x563b1d['createPositionAt'](_0x57504d,0x0),_0x349249),_0x10a76e=_0x563b1d['createRange'](_0x4ec74e,_0x563b1d['createPositionAt'](_0x57504d,'end')),_0x42e88c=[..._0x537f29['getMinimalFlatRanges'](),..._0x10a76e['getMinimalFlatRanges']()];_0x42e88c['reverse']();for(const _0x4271e4 of _0x42e88c)_0x492918(_0x4271e4),Ad(_0x57504d,_0x4271e4);}(_0x13ccdf['model'],_0x1f13ab);}const _0x512944=_0x13ccdf['data']['stringify'](_0x17c2b1,{'showSuggestionHighlights':!0x0});return{'content':Da(_0x512944),'hasChanges':!0x0};}(_0x32e7c6,_0x4642f6,_0xd04f97,_0x593092,_0x446166);return{'type':_0x1ad3e8['changes'][0x0]['type'],'index':_0x1ad3e8['index'],'content':_0x4d52e4,'hasChanges':_0x512524};});}function _d(_0x250a9c,_0x2fad21){for(const [_0x45115b,_0x318945]of _0x250a9c['markers']){const _0x3603c7=_0x2ec072['_createFromRanges'](_0x318945['getTransformedByOperation'](_0x2fad21));_0x250a9c['markers']['set'](_0x45115b,_0x3603c7);}}function vd(_0x18c047,_0x3751a5,_0xbfb30e){const _0x428b11=_0x18c047['plugins']['get']('DocumentCompare');let _0x404860=_0x18c047['model']['createPositionAt'](_0xbfb30e,Number['POSITIVE_INFINITY']),_0x34f2d4=_0x18c047['model']['createPositionAt'](_0xbfb30e,0x0);for(const _0x4c00da of _0x3751a5){let _0xb40d0c,_0x552374;if(_0x428b11['isMarkedRemoveOperation'](_0x4c00da))_0xb40d0c=_0x4c00da['newRange']['start'],_0x552374=_0x4c00da['newRange']['end'];else switch(_0x404860=_0x404860['getTransformedByOperation'](_0x4c00da),_0x34f2d4=_0x34f2d4['getTransformedByOperation'](_0x4c00da),_0x4c00da['type']){case'rename':_0xb40d0c=_0x4c00da['position'],_0x552374=_0xb40d0c['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0xb40d0c=_0x4c00da['range']['start'],_0x552374=_0x4c00da['range']['end'];break;case'insert':_0xb40d0c=_0x4c00da['position'],_0x552374=_0xb40d0c['getShiftedBy'](_0x4c00da['howMany']);break;case'split':_0xb40d0c=_0x4c00da['splitPosition'],_0x552374=_0x4c00da['moveTargetPosition'];break;case'merge':{const _0x4794cd=_0x4c00da['targetPosition']['path']['slice'](0x0,-0x1);_0xb40d0c=_0x18c047['model']['createPositionFromPath'](_0xbfb30e,_0x4794cd),_0x552374=_0xb40d0c['getShiftedBy'](0x1);break;}case'remove':{const _0x2caea6=_0x4c00da['howMany'],_0x375f54=_0x4c00da['sourcePosition']['_getTransformedByInsertion'](_0x4c00da['targetPosition'],_0x2caea6),_0x8d080=_0x4c00da['getMovedRangeStart']();'remove'==_0x4c00da['type']?(_0xb40d0c=_0x375f54,_0x552374=_0x375f54):(_0xb40d0c=_0x8d080,_0x552374=_0x8d080['getShiftedBy'](_0x2caea6));break;}}_0xb40d0c&&_0xb40d0c['isBefore'](_0x404860)&&(_0x404860=_0xb40d0c['clone'](),_0x404860['stickiness']='toNone'),_0x552374&&_0x552374['isAfter'](_0x34f2d4)&&(_0x34f2d4=_0x552374['clone'](),_0x34f2d4['stickiness']='toNone');}return _0x18c047['model']['createSelection'](_0x18c047['model']['createRange'](_0x404860,_0x34f2d4));}function Td(_0x3df6f5,_0x2e28de){Ed(_0x3df6f5,_0x2e28de,'forward');const _0x59ec5d=_0x2e28de['getFirstRange']();_0x2e28de['setTo']([]),_0x2e28de['setTo'](_0x59ec5d,{'backward':!0x0}),Ed(_0x3df6f5,_0x2e28de,'backward');}function Ed(_0xaf7dd1,_0x487e43,_0x1426c0){let _0x12774d=0x14;for(;_0x12774d;){_0xaf7dd1['modifySelection'](_0x487e43,{'unit':'word','direction':_0x1426c0}),_0x12774d--;const _0x81fff4=_0x487e43['focus']['forward'==_0x1426c0?'nodeBefore':'nodeAfter'];if(_0x81fff4&&_0x81fff4['is']('element')&&_0xaf7dd1['schema']['isBlock'](_0x81fff4)&&_0xaf7dd1['schema']['isObject'](_0x81fff4))break;}}function Ad(_0x14ddfe,_0x4736b0){for(const [_0x1805ae,_0x25330a]of _0x14ddfe['markers']){const _0x52bfb7=_0x25330a['_getTransformedByDeletion'](_0x4736b0['start'],_0x4736b0['end']['offset']-_0x4736b0['start']['offset']);null!=_0x52bfb7?_0x14ddfe['markers']['set'](_0x1805ae,_0x52bfb7):_0x14ddfe['markers']['delete'](_0x1805ae);}}class AIReply extends _0x20f52a(){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x3eb206,content:_0x3d47bd='',isDone:_0x43cbd3=!0x1,interactionId:_0x3bfda1,areActionsDisabled:_0xadd79e,documentContextContent:_0x2d1143,editor:_0x30f41f,id:_0x4d6f02}){super(),this['id']=_0x4d6f02||_0x5c5c0c(),this['interactionId']=_0x3bfda1,this['type']=_0x3eb206,this['areActionsDisabled']=!!_0xadd79e,this['editor']=_0x30f41f,this['aiResponseParser']=new AIResponseParser(),this['aiResponseApplier']=new AIResponseApplier(),this['documentContextContent']=Da(_0x2d1143||''),this['set']('isDone',_0x43cbd3),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x3d47bd);}['appendContent'](_0x1701ae){this['set']('content',this['content']+_0x1701ae);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x2f2d19,_0x2a4e13){this['changeGroups'][_0x2f2d19]['state']=_0x2a4e13,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x2f2d19,'state':_0x2a4e13});}['getContentParts']({showDiff:_0x4aaf97,groupIndex:_0x4ed658}){if(!this['editor'])throw new _0x37fbfa('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x3175ee=this['_getCachedContentParts'](_0x4aaf97,_0x4ed658);if(_0x3175ee)return _0x3175ee;let _0x2b4a61=[];if(void 0x0===_0x4ed658)_0x2b4a61=this['changeGroups'];else{const _0x50526b=this['changeGroups']['find'](({index:_0x1bc09c})=>_0x1bc09c===_0x4ed658);if(!_0x50526b)throw new _0x37fbfa('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x4ed658});_0x2b4a61=[_0x50526b];}const _0x4b9f7e=yd({'editor':this['editor'],'showDiff':_0x4aaf97,'changeGroups':_0x2b4a61,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x4aaf97,_0x4b9f7e),_0x4b9f7e;}['_getCachedContentParts'](_0x255d12,_0x5319dd){const _0xc30a42=_0x255d12?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0xc30a42]['length'])return null;const _0x2318a6=this['cachedSuggestionContentParts'][_0xc30a42];if(void 0x0===_0x5319dd)return _0x2318a6['length']>0x0&&_0x2318a6['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x255d12,null),null):Ir(_0x2318a6);{const _0x44c0df=_0x2318a6['find'](({index:_0x33e2d0})=>_0x33e2d0===_0x5319dd);if(_0x44c0df)return[Ir(_0x44c0df)];}return null;}['_setCachedContentParts'](_0x4359c2,_0x526aba){const _0x4eb6da=_0x4359c2?'withDiff':'withoutDiff';_0x526aba?_0x526aba['forEach'](_0x5eb6d3=>{const _0x39afb6=this['cachedSuggestionContentParts'][_0x4eb6da],_0x29766d=_0x39afb6['find'](({index:_0x291d1d})=>_0x291d1d===_0x5eb6d3['index']);if(_0x29766d){const _0x11ceba=_0x39afb6['indexOf'](_0x29766d);_0x39afb6['splice'](_0x11ceba,0x1,_0x5eb6d3);}else _0x39afb6['push'](_0x5eb6d3);}):this['cachedSuggestionContentParts'][_0x4eb6da]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x2d7562=this['changeGroups'];this['updateChangeGroups']();const _0x42d5c0=this['_getDifferentChangeGroups'](_0x2d7562,this['changeGroups']);(_0x42d5c0['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x42d5c0),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x211035,_0x521a47){const _0x4de107=[];for(const _0x412d95 of _0x521a47){const _0xe7dbf5=_0x211035[_0x412d95['index']];_0xe7dbf5?_0xe7dbf5['changes']['length']!==_0x412d95['changes']['length']?_0x4de107['push'](_0x412d95):_0xe7dbf5['changes']['forEach']((_0x22ea4d,_0x5c2005)=>{const _0x2b48ba=_0x412d95['changes'][_0x5c2005];_0x22ea4d['id']!==_0x2b48ba['id']&&_0x4de107['push'](_0x412d95);}):_0x4de107['push'](_0x412d95);}return _0x4de107;}['updateChangeGroups'](){const _0x1b2a89=new ia('p',{},[new ia('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new ta(ho(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x3c8b19=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x1b2a89,'cutAfterLastChange':!this['isDone']});if(!_0x3c8b19['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x3c8b19['parsedContent'];let _0x344c20=[];if(La(_0x4a59d5=>{const _0x5c65d7=Ba(_0x4a59d5,'data-id');if(!_0x5c65d7||!_0x2b05b8(_0x5c65d7))return!0x1;const _0x2de06f=[_0x4a59d5,...Ha(_0x4a59d5)]['at'](-0x2);if(_0x4a59d5!=_0x2de06f){const _0x1bf89c=Ba(_0x2de06f,'data-id');_0x2b05b8(_0x1bf89c)||(_0x344c20['push']({'node':_0x2de06f,'id':_0x1bf89c,'type':'modified'}),_0x3c8b19['modifiedNodeIds']['push'](_0x1bf89c));}else _0x3c8b19['modifiedNodeIds']['includes'](_0x5c65d7)?_0x344c20['push']({'node':_0x4a59d5,'type':'modified','id':_0x5c65d7}):_0x3c8b19['newNodeIds']['includes'](_0x5c65d7)?_0x344c20['push']({'node':_0x4a59d5,'type':'new','id':_0x5c65d7,'anchorId':Ba(_0x4a59d5['previousSibling'],'data-id')}):_0x344c20['push']({'node':_0x4a59d5,'type':'removed','id':_0x5c65d7});return!0x0;},this['parsedMergedContent']),_0x344c20=_0x344c20['filter'](({node:_0x3eb7c2})=>[...Ha(_0x3eb7c2),_0x3eb7c2]['every'](_0x1f00a0=>!Ba(_0x1f00a0,'data-unstable'))),0x0==_0x344c20['length'])return;const _0x10d1b7=[[_0x344c20[0x0]]];for(let _0x1900ae=0x1;_0x1900ae<_0x344c20['length'];_0x1900ae++){const _0x17c713=_0x10d1b7[_0x10d1b7['length']-0x1],_0x59c48e=_0x17c713[_0x17c713['length']-0x1];_0x344c20[_0x1900ae]['node']['previousSibling']==_0x59c48e['node']&&'modified'!=_0x344c20[_0x1900ae]['type']&&'modified'!=_0x59c48e['type']?_0x17c713['push'](_0x344c20[_0x1900ae]):_0x10d1b7['push']([_0x344c20[_0x1900ae]]);}for(const _0x4f4f0a of _0x10d1b7){const _0x4bcad9=_0x4f4f0a[0x0],_0x5852d0=_0x4f4f0a[_0x4f4f0a['length']-0x1],_0x34b607=_0x23a92c(_0x4bcad9['node']['previousSibling']);_0x34b607&&_0x4f4f0a['unshift'](_0x34b607);const _0x1b3180=_0x23a92c(_0x5852d0['node']['nextSibling']);_0x1b3180&&_0x4f4f0a['push'](_0x1b3180);}function _0x2b05b8(_0x10e860){return _0x3c8b19['modifiedNodeIds']['includes'](_0x10e860)||_0x3c8b19['newNodeIds']['includes'](_0x10e860)||_0x3c8b19['removedNodeIds']['includes'](_0x10e860);}function _0x23a92c(_0x389dab){if(_0x389dab&&Ba(_0x389dab,'data-id')&&!Ba(_0x389dab,'data-unstable')){const _0x10d895=Ba(_0x389dab,'data-id');if(!_0x2b05b8(_0x10d895))return{'node':_0x389dab,'type':'context','id':_0x10d895};}return null;}this['changeGroups']=_0x10d1b7['map']((_0x37f59c,_0x3183df)=>({'changes':_0x37f59c,'state':'pending','index':_0x3183df}));}}const Id=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x199f48(){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x43e3e7,editor:_0x33746a}){super(),this['id']=_0x5c5c0c(),this['connector']=_0x43e3e7,this['isStopped']=!0x0,this['editor']=_0x33746a;}async['start'](){const _0x58560e=[];let _0x9e863,_0x4a5162,_0x2d1598;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x2ed974=await this['currentRequest']['getStream']();for await(const _0x1ccf8b of _0x2ed974){if(this['isStopped'])return;if('error'==_0x1ccf8b['event'])return void this['fire']('error',{'error':new _0x37fbfa('ai-chat-interaction-error',this)});switch(_0x1ccf8b['event']){case'message-metadata':this['messageId']=_0x1ccf8b['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x1ccf8b['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x1ccf8b['data']['conversationTitle'],!0x0);break;case'source':_0x58560e['push'](_0x1ccf8b['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'](),_0x9e863='modification-delta'==_0x1ccf8b['event']?'modification':'text',_0x4a5162='modification-delta'==_0x1ccf8b['event']?_0x1ccf8b['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x9e863&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x9e863,'interactionId':this['id'],'id':_0x4a5162}),'modification'==_0x9e863&&(this['currentReply']['sources']=_0x58560e['splice'](0x0))),this['currentReply']['appendContent'](_0x1ccf8b['data']['textDelta']);break;case'mcp-tool-result':_0x2d1598=JSON['parse'](_0x1ccf8b['data']['result']),this['_handleToolResultData']({'toolName':_0x1ccf8b['data']['toolName'],'data':_0x2d1598['data'],'attributes':_0x2d1598['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x1ccf8b['data']['toolName'],'data':_0x1ccf8b['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x58560e['length']>0x0&&(this['currentReply']['sources']=_0x58560e['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x17ddb5){return this['replies']['find'](_0x50d80c=>_0x50d80c['id']===_0x17ddb5);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x4e4cbe=>_0x4e4cbe['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x428f34){const _0x23f988=new AIReply({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x428f34});return this['replies']['push'](_0x23f988),_0x23f988['delegate'](...Id)['to'](this),this['fire']('replyCreated',_0x23f988),_0x23f988;}['setConversationTitle'](_0x552f91,_0x1e888a=!0x1){this['fire']('setConversationTitle',_0x552f91,_0x1e888a);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x56ef98){this['fire']('toolDataReceived',{'type':'result','toolName':_0x56ef98['toolName'],'data':structuredClone(_0x56ef98['data']||{}),'attributes':structuredClone(_0x56ef98['attributes']||{})},this);}['_handleToolNotificationData'](_0x5b1a58){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x5b1a58['toolName'],'data':structuredClone(_0x5b1a58['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var Sd=function(_0x1d491c){return _0x1d491c['TOOL']='mcp-tool-context',_0x1d491c['FILE']='file',_0x1d491c['DOCUMENT']='document',_0x1d491c['URL']='web-resource',_0x1d491c['TEXT']='text',_0x1d491c['SELECTION']='selection',_0x1d491c;}({}),Cd=function(_0x439709){return _0x439709['TEXT']='text',_0x439709['MARKDOWN']='markdown',_0x439709['HTML']='html',_0x439709;}({});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 _0x20f52a(){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x1f7e1e,config:_0x1b51cb,ownerId:_0x55559f}){super(),this['_connector']=_0x1f7e1e,this['_config']=_0x1b51cb,this['_ownerId']=_0x55559f;}['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'](_0x2c9c27){const _0x32a321=await this['_createContextItemFromContent'](_0x2c9c27);return this['_addToConversationContextItem'](_0x32a321),'current-document'===_0x32a321['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x32a321;}async['_createContextItemFromContent'](_0x5bb574){if(_0x5bb574['type']===Sd['DOCUMENT']){const _0x14882e=await this['_connector']['fetchDocument'](this['_ownerId'],_0x5bb574['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x5bb574['type'],'content':_0x14882e['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x14882e['attributes']?.['version'],'sessionId':_0x14882e['attributes']?.['sessionId']};}if(_0x5bb574['type']===Sd['TOOL'])return{'id':_0x5bb574['id'],'uiId':_0x5bb574['id'],'label':_0x5bb574['data']?.['label']||_0x5bb574['id'],'type':Sd['TOOL'],'mcpServerName':_0x5bb574['mcpServerName'],'toolName':_0x5bb574['toolName'],'data':_0x5bb574['data']||{}};return{'id':_0x5bb574['id'],'uiId':_0x5bb574['id'],'label':_0x5bb574['attributes']?.['label']||_0x5bb574['name']||_0x5bb574['url']||_0x5bb574['id'],'type':_0x5bb574['type'],..._0x5bb574?.['attributes']?.['resourceId']?{'resourceId':_0x5bb574['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x3bc977){const _0x59d2d8=this['_pendingContextItems']['get'](_0x3bc977);_0x59d2d8?.['isReadOnly']||this['_removeContextItem'](_0x3bc977);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x8d3d7b of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x8d3d7b['uiId']);const _0x2d715f=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x2d715f&&this['_addContextItem']({..._0x2d715f,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0xfd5e74){for(const _0x3fb346 of _0xfd5e74['values']())this['_addToConversationContextItem'](_0x3fb346);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'](_0x28c73c){return Array['from'](_0x28c73c['values']())['map'](_0x9fc641=>this['_mapContextItemToRequestData'](_0x9fc641))['filter'](_0x3b7732=>null!==_0x3b7732);}async['addFilesToContext'](_0x3c2b65,_0x47c17b,_0x403d7b=Sd['FILE']){const _0x1a9302='files-'+_0x5c5c0c();this['_startUploadOperation'](_0x1a9302);try{await Promise['all'](_0x3c2b65['map'](async _0x51647e=>{const _0x4ac424='file-'+_0x5c5c0c(),_0x3bfdb1=zr(_0x51647e['name']);try{this['_addContextItem']({'type':_0x403d7b,'label':_0x47c17b?.['label']||_0x3bfdb1,'uiId':_0x4ac424,'resourceId':_0x47c17b?.['resourceId']},!0x0);const _0x37bff5=this['_connector']['uploadFile'](this['_ownerId'],_0x51647e,_0x47c17b);this['_ongoingUploads']['set'](_0x4ac424,_0x37bff5['abortController']);const {id:_0x8d1272}=await _0x37bff5['getId']();this['_ongoingUploads']['delete'](_0x4ac424),this['_finishContextItemLoading']({'type':_0x403d7b,'id':_0x8d1272,'label':_0x47c17b?.['label']||_0x3bfdb1,'uiId':_0x4ac424,'resourceId':_0x47c17b?.['resourceId']},!0x1);}catch(_0xca5a23){this['_ongoingUploads']['delete'](_0x4ac424);if(!(_0xca5a23 instanceof _0x37fbfa&&_0xca5a23['message']['startsWith']('ai-request-aborted'))){const _0x50cfa8=kd['get'](_0xca5a23['code'])||'ai-chat-file-upload-failed',_0x56e970=new _0x37fbfa(_0x50cfa8,null,{'fileName':_0x3bfdb1,..._0xca5a23});_0x56e970['stack']=_0xca5a23['stack'],this['fire']('error',{'error':_0x56e970});}this['_removeContextItem'](_0x4ac424);}}));}finally{this['_finishUploadOperation'](_0x1a9302);}}['addCurrentDocumentToContext'](_0x264027){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x5ca41f={'type':Sd['DOCUMENT'],'uiId':'current-document','label':_0x264027,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x5ca41f);}async['updateCurrentDocument'](_0x325ec1,_0x5dc10e,_0x11d3b0,_0x745914){const _0x535e42=this['_pendingContextItems']['get']('current-document');if(_0x535e42&&_0x325ec1){_0x535e42['selection']=_0x745914?_0x745914['map'](_0x416ff7=>({'start':_0x416ff7['start'],'end':_0x416ff7['end']})):[];try{if(_0x535e42['version']===_0x5dc10e)return;const {id:_0x119248}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x325ec1,{'version':_0x5dc10e,'sessionId':_0x11d3b0})['getId']();_0x535e42['id']=_0x119248,_0x535e42['content']=_0x325ec1,_0x535e42['version']=_0x5dc10e,_0x535e42['sessionId']=_0x11d3b0;}catch(_0xb78945){const _0x1d7d71=new _0x37fbfa('ai-chat-document-upload-failed',null);_0x1d7d71['stack']=_0xb78945['stack'],this['fire']('error',{'error':_0x1d7d71});}}}['addSelectionToContext'](_0x140721){this['_addContextItem']({'type':Sd['SELECTION'],'label':_0x140721,'uiId':'selection','content':_0x140721});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x4aea87,_0x26adb7){const _0xbf07fd='url-'+_0x5c5c0c();this['_startUploadOperation'](_0xbf07fd);const _0x3122f7='url-'+_0x5c5c0c();try{this['_addContextItem']({'type':Sd['URL'],'label':_0x26adb7?.['label']||_0x4aea87,'uiId':_0x3122f7,'resourceId':_0x26adb7?.['resourceId']},!0x0);const _0x34f4e4=this['_connector']['uploadUrl'](this['_ownerId'],_0x4aea87,_0x26adb7);this['_ongoingUploads']['set'](_0x3122f7,_0x34f4e4['abortController']);const {id:_0x59094e}=await _0x34f4e4['getId']();this['_ongoingUploads']['delete'](_0x3122f7),this['_finishContextItemLoading']({'type':Sd['URL'],'id':_0x59094e,'label':_0x26adb7?.['label']||_0x4aea87,'uiId':_0x3122f7,'resourceId':_0x26adb7?.['resourceId']},!0x1);}catch(_0x18a9dd){this['_ongoingUploads']['delete'](_0x3122f7),(_0x18a9dd['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x37fbfa('ai-chat-url-upload-failed',this,{'url':_0x4aea87,'originalError':_0x18a9dd}),'url':_0x4aea87}),this['_removeContextItem'](_0x3122f7));}finally{this['_finishUploadOperation'](_0xbf07fd);}}['addToolItemToContext'](_0x3f3b2a){_0x3f3b2a['id']=_0x3f3b2a['id']??_0x5c5c0c()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x3f3b2a['uiId'],_0x3f3b2a),this['fire']('contextItemAdded',{'contextItem':_0x3f3b2a,'isLoading':!0x1});}async['loadSourceResources'](_0x25f8fb,_0x3eab17,_0x1e2756){const _0x12417d=this['_addContextOptionsState']['sources']['find'](_0x366e89=>_0x366e89['id']===_0x25f8fb);if(!_0x12417d)return this['fire']('error',{'error':new _0x37fbfa('ai-chat-source-not-found',this,{'sourceId':_0x25f8fb}),'sourceId':_0x25f8fb}),[];try{const _0x57967f=(await _0x12417d['getResources'](_0x3eab17))['map'](_0x20665c=>{const _0x42ef14=this['_isResourceInContext'](_0x20665c['id']);return{..._0x20665c,'isInContext':_0x42ef14};});return _0x12417d['resources']=_0x57967f,this['fire']('sourceResourcesLoaded',{'sourceId':_0x25f8fb,'source':_0x12417d,'resources':_0x57967f,'uid':_0x1e2756}),_0x57967f;}catch(_0x1ae8ff){return this['fire']('error',{'error':new _0x37fbfa('ai-chat-source-resources-load-failed',this,{'sourceId':_0x25f8fb,'originalError':_0x1ae8ff}),'sourceId':_0x25f8fb,'sourceLabel':_0x12417d['label']}),[];}}async['addResourceToContext'](_0x556a14,_0x376ff4){if(this['_isResourceInContext'](_0x376ff4['id']))return;let _0x74aa52=_0x376ff4['data'];if(!_0x74aa52&&_0x556a14['getData'])try{_0x74aa52=await _0x556a14['getData'](_0x376ff4['id']);}catch(_0x1d4288){return void this['fire']('error',{'error':new _0x37fbfa('ai-chat-resource-load-failed',this,{'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id'],'originalError':_0x1d4288}),'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']});}if(_0x74aa52)switch(_0x376ff4['type']){case Sd['URL']:if('string'!=typeof _0x74aa52)return void this['fire']('error',{'error':new _0x37fbfa('ai-chat-context-invalid-data',this,{'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id'],'expectedType':'string','actualType':typeof _0x74aa52}),'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']});await this['addUrlToContext'](_0x74aa52,{'label':_0x376ff4['label'],'resourceId':_0x376ff4['id']});break;case Sd['FILE']:if(!(_0x74aa52 instanceof File))return void this['fire']('error',{'error':new _0x37fbfa('ai-chat-context-invalid-data',this,{'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id'],'expectedType':'File','actualType':typeof _0x74aa52}),'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']});await this['addFilesToContext']([_0x74aa52],{'label':_0x376ff4['label'],'resourceId':_0x376ff4['id']});break;case Sd['TEXT']:if('object'!=typeof _0x74aa52||!('content'in _0x74aa52)||!('type'in _0x74aa52))return void this['fire']('error',{'error':new _0x37fbfa('ai-chat-context-invalid-data',this,{'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x74aa52}),'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']});_0x74aa52=AIChatContext['_convertTextResourceToFile'](_0x74aa52,_0x376ff4['label']),await this['addFilesToContext']([_0x74aa52],{'label':_0x376ff4['label'],'resourceId':_0x376ff4['id']},Sd['TEXT']);break;case Sd['TOOL']:break;default:this['fire']('error',{'error':new _0x37fbfa('ai-chat-context-unsupported-type',this,{'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id'],'resourceType':_0x376ff4['type']}),'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']});}else this['fire']('error',{'error':new _0x37fbfa('ai-chat-resource-no-data',this,{'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']}),'resourceId':_0x376ff4['id'],'sourceId':_0x556a14['id']});}static['_convertTextResourceToFile'](_0x40aed1,_0x524a0b){switch(_0x40aed1['type']){case Cd['MARKDOWN']:return new File([_0x40aed1['content']],_0x524a0b,{'type':'text/markdown'});case Cd['HTML']:return new File([_0x40aed1['content']],_0x524a0b,{'type':'text/html'});default:return new File([_0x40aed1['content']],_0x524a0b,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0xf9d16a){switch(_0xf9d16a['type']){case Sd['FILE']:return{'type':Sd['FILE'],'id':_0xf9d16a['id']};case Sd['URL']:return{'type':Sd['URL'],'id':_0xf9d16a['id']};case Sd['DOCUMENT']:return{'type':Sd['DOCUMENT'],'id':_0xf9d16a['id'],..._0xf9d16a['selection']?.['length']&&{'selection':_0xf9d16a['selection']}};case Sd['TEXT']:return{'type':Sd['FILE'],'id':_0xf9d16a['id']};case Sd['TOOL']:{const _0x110928=_0xf9d16a;return{'type':Sd['TOOL'],'mcpServerName':_0x110928['mcpServerName'],'toolName':_0x110928['toolName'],'data':_0x110928['data'],'id':_0x110928['id']};}default:return null;}}['_addContextItem'](_0x14632b,_0x30965d=!0x1){if(this['_pendingContextItems']['set'](_0x14632b['uiId'],_0x14632b),_0x14632b['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x14632b,'isLoading':_0x30965d}),'current-document'===_0x14632b['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x14632b['resourceId']){const _0xce2eb0=this['_findSourceIdsByResourceId'](_0x14632b['resourceId']);_0xce2eb0&&_0xce2eb0['forEach'](_0xb90b4e=>{this['_updateResourceInContextState'](_0xb90b4e,_0x14632b['resourceId'],!0x0);});}}['_removeContextItem'](_0x5f73bd){const _0x3555a1=this['_pendingContextItems']['get'](_0x5f73bd),_0x1aff24=this['_ongoingUploads']['get'](_0x5f73bd);if(_0x1aff24&&(_0x1aff24['abort'](),this['_ongoingUploads']['delete'](_0x5f73bd)),_0x3555a1?.['resourceId']){const _0x31bac6=this['_findSourceIdsByResourceId'](_0x3555a1['resourceId']);_0x31bac6&&_0x31bac6['forEach'](_0x1515ce=>{this['_updateResourceInContextState'](_0x1515ce,_0x3555a1['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x5f73bd),this['fire']('contextItemRemoved',{'uiId':_0x5f73bd,'type':_0x3555a1?.['type']}),'current-document'===_0x5f73bd&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x240c5e,_0x30b158){if(this['_pendingContextItems']['has'](_0x240c5e['uiId'])&&(this['_pendingContextItems']['set'](_0x240c5e['uiId'],_0x240c5e),this['fire']('contextItemLoadingEnded',{'contextItem':_0x240c5e,'isLoading':_0x30b158}),_0x240c5e['resourceId'])){const _0x456811=this['_findSourceIdsByResourceId'](_0x240c5e['resourceId']);_0x456811&&_0x456811['forEach'](_0x58800d=>{this['_updateResourceInContextState'](_0x58800d,_0x240c5e['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x2da070){this['_conversationContextItems']['set'](_0x2da070['uiId'],_0x2da070);}['_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'](_0x3c1e63=>({..._0x3c1e63,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x5810bb=>({..._0x5810bb,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x36089d=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x36089d,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x53af33){for(const _0x4f9ed7 of this['_pendingContextItems']['values']())if(_0x4f9ed7['resourceId']===_0x53af33)return!0x0;for(const _0x2f4de8 of this['_conversationContextItems']['values']())if(_0x2f4de8['resourceId']===_0x53af33)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x36e9b4){const _0x34aa09=[];for(const _0x13622d of this['_addContextOptionsState']['sources']){_0x13622d['resources']['find'](_0x50fe9b=>_0x50fe9b['id']===_0x36e9b4)&&_0x34aa09['push'](_0x13622d['id']);}return 0x0===_0x34aa09['length']?null:_0x34aa09;}['_updateResourceInContextState'](_0x5f09c0,_0x30d011,_0x5476bd){const _0x5f9ed7=this['_addContextOptionsState']['sources']['find'](_0x4547cb=>_0x4547cb['id']===_0x5f09c0);if(!_0x5f9ed7)return;const _0x54470c=_0x5f9ed7['resources']['find'](_0x4b37c5=>_0x4b37c5['id']===_0x30d011);_0x54470c&&(_0x54470c['isInContext']=_0x5476bd,this['fire']('resourceStateChanged',{'sourceId':_0x5f09c0,'resourceId':_0x30d011,'isInContext':_0x5476bd}));}['_startUploadOperation'](_0x37052c){this['_ongoingUploadOperations']['set'](_0x37052c,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x5e00c4){this['_ongoingUploadOperations']['delete'](_0x5e00c4),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const Rd=['capabilitiesUpdated'];class AICapabilities extends _0x199f48(){['_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'](_0x14a6a9){const _0x626b69={};return _0x14a6a9&&_0x14a6a9['isWebSearchEnabled']&&(_0x626b69['webSearch']={}),_0x14a6a9&&_0x14a6a9['isReasoningEnabled']&&(_0x626b69['reasoning']={}),_0x626b69;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x1905f8){_0x1905f8!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x1905f8,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x290ee4){_0x290ee4!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x290ee4,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x1f7843){super(_0x1f7843),this['conversationId']=_0x1f7843['conversationId'],this['contextItems']=_0x1f7843['contextItems'],this['capabilities']=_0x1f7843['capabilities'],this['userMessage']=_0x1f7843['userMessage'],this['model']=_0x1f7843['model'],this['attributes']=_0x1f7843['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 _0x199f48(){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0xa2fc3c){super(),this['options']=_0xa2fc3c,this['connector']=_0xa2fc3c['connector'],this['chatModels']=_0xa2fc3c['chatModels'],this['id']=_0xa2fc3c['conversationId'],this['isFromHistory']=_0xa2fc3c['isFromHistory'];}async['init'](_0x46eb23){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x46eb23,'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 _0x5938bf=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x5938bf});const _0x4547fa=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x4547fa&&await this['setModel'](_0x4547fa);}catch(_0x3173a7){const _0x16bec1=new _0x37fbfa('ai-chat-conversation-init-failed',null,{'message':_0x3173a7['message']||_0x3173a7});_0x16bec1['stack']=_0x3173a7['stack'],this['fire']('error',{'error':_0x16bec1});}}async['start'](){if(this['isStarted'])throw new _0x37fbfa('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x37fbfa('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x2fd99b}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x2fd99b,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x19afbb){const _0x407fe2=new _0x37fbfa('ai-chat-conversation-start-failed',null,{'message':_0x19afbb['message'],'conversationId':this['id']});throw _0x407fe2['stack']=_0x19afbb['stack'],this['fire']('error',{'error':_0x407fe2}),_0x407fe2;}}async['load'](_0x279d9d,_0x2f4ada){try{const _0x40ddd9=await this['connector']['fetchConversation'](_0x279d9d)['getConversation'](),_0x291110=await this['connector']['fetchConversationMessages'](_0x279d9d)['getMessages'](),_0x210f6f=_0x291110[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x40ddd9['id'],'title'in _0x40ddd9?this['fire']('setConversationTitle',_0x40ddd9['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x1cb6d8=(await this['chatModels']['getAll']())['find'](_0x535232=>_0x535232['id']['toLowerCase']()===_0x210f6f['toLowerCase']());return this['selectedModel']=_0x1cb6d8,this['fire']('modelSelected',{'selectedModel':_0x1cb6d8,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x291110,_0x2f4ada,_0x210f6f),this['currentInteraction']=void 0x0,this;}catch(_0x17c4e5){const _0x4a0f83=new _0x37fbfa('ai-chat-conversation-init-from-id-failed',null,{'message':_0x17c4e5['message'],'conversationId':_0x279d9d});throw _0x4a0f83['stack']=_0x17c4e5['stack'],this['fire']('error',{'error':_0x4a0f83}),_0x4a0f83;}}async['_processMessagesToInteractions'](_0x2e3587,_0x23c3b9,_0x2fa6a8){let _0x4595a6;for(const _0x100e3b of _0x2e3587)if('user'===_0x100e3b['role']){const _0x4b9acd=await this['_extractContextItems'](_0x100e3b),_0x537d4a={'isReasoningEnabled':Object['hasOwn'](_0x100e3b['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x100e3b['capabilities'],'webSearch')};_0x4595a6=this['createInteraction']({'userMessage':_0x100e3b['prompt'],'contextItems':_0x4b9acd,'capabilities':_0x537d4a,'modelId':_0x2fa6a8,'attributes':_0x100e3b['attributes']}),this['currentInteraction']=_0x4595a6,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x100e3b['role']&&_0x4595a6){const _0x4b2414=[];for(const _0xfde1da of _0x100e3b['content'])switch(_0xfde1da['type']){case'text':case'modification':{const _0x11ffd5=_0x4595a6['getDocumentContext']()?.['sessionId']!==_0x23c3b9;_0x4595a6['currentReply']=_0x4595a6['createReply']({'type':_0xfde1da['type'],'isDone':!0x0,'interactionId':_0x4595a6['id'],'areActionsDisabled':_0x11ffd5}),_0x4595a6['currentReply']['appendContent'](_0xfde1da['content']),_0x4b2414['length']>0x0&&(_0x4595a6['currentReply']['sources']=_0x4b2414['splice'](0x0));break;}case'url':_0x4b2414['push'](_0xfde1da);break;case'mcp-tool-result':{const {data:_0xb8f724,attributes:_0x3b398b}=JSON['parse'](_0xfde1da['content']);_0x4595a6['_handleToolResultData']({'toolName':_0xfde1da['toolName'],'data':_0xb8f724,'attributes':_0x3b398b});break;}}}}}async['_extractContextItems'](_0x5135a5){const _0x2a875d=new Map();if(!_0x5135a5['content'])return _0x2a875d;for(const _0x4920e8 of _0x5135a5['content']){const _0x7e5167=await this['chatContext']['populateFromMessage'](_0x4920e8);_0x7e5167&&_0x2a875d['set'](_0x7e5167['id'],_0x7e5167);}return _0x2a875d;}async['handleUserInteraction']({userMessage:_0x481198,attributes:_0x14cbb6}){if(!this['isStarted'])throw new _0x37fbfa('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x37fbfa('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x3f9ed0=this['chatContext']['getPendingContextItems'](),_0x3f7ebc=this['chatCapabilities']['getCapabilitiesConfig'](),_0x312b4e=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x481198,'contextItems':_0x3f9ed0,'capabilities':_0x3f7ebc,'modelId':_0x312b4e,'attributes':_0x14cbb6}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x11e874){if(_0x11e874 instanceof _0x37fbfa)this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x11e874});else{const _0x4925f2=kd['get'](_0x11e874['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x37fbfa(_0x4925f2,null,{'error':_0x11e874})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x3cc7cd,contextItems:_0x55661c,capabilities:_0x358337,modelId:_0x36d590,attributes:_0x434aec}){const _0x5f35f4=new AIChatInteraction({'userMessage':_0x3cc7cd,'contextItems':_0x55661c,'capabilities':_0x358337,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x36d590,'attributes':_0x434aec});return _0x5f35f4['delegate'](...Id)['to'](this),this['interactions']['push'](_0x5f35f4),this['fire']('interactionCreated',_0x5f35f4),_0x5f35f4;}['getInteraction'](_0x2d3e91){return this['interactions']['find'](_0x5f247=>_0x5f247['id']===_0x2d3e91);}['removeInteraction'](_0x1f7d88){const _0x2c7d24=this['getInteraction'](_0x1f7d88);_0x2c7d24&&(_0x2c7d24['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x2c7d24),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x1a21b4){this['chatContext']['addCurrentDocumentToContext'](_0x1a21b4);}async['updateCurrentDocumentInContext']({content:_0x32965f,version:_0x54da9c,sessionId:_0x3f1b5a,selections:_0x3f8613}){await this['chatContext']['updateCurrentDocument'](_0x32965f,_0x54da9c,_0x3f1b5a,_0x3f8613);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x27233f){this['chatContext']['addSelectionToContext'](_0x27233f);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x263889){this['chatContext']['addFilesToContext'](_0x263889);}['addUrlToContext'](_0x2c7f92){this['chatContext']['addUrlToContext'](_0x2c7f92);}['addToolItemToContext'](_0x344122){this['chatContext']['addToolItemToContext'](_0x344122);}['addResourceToContext'](_0x140bef,_0x314a11){this['chatContext']['addResourceToContext'](_0x140bef,_0x314a11);}['loadSourceResources'](_0x548163,_0x4898a9,_0x48a59c){return this['chatContext']['loadSourceResources'](_0x548163,_0x4898a9,_0x48a59c);}['removeFromContext'](_0x5b3815){this['chatContext']['removeFromContext'](_0x5b3815);}['setWebSearch'](_0x16be95){this['chatCapabilities']['setWebSearch'](_0x16be95);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x20a5c6){this['chatCapabilities']['setReasoning'](_0x20a5c6);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x235361){_0x235361?!0x1===await this['chatModels']['isAvailable'](_0x235361)&&(_0xd86012('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x235361}),_0x235361=(await this['chatModels']['getAvailableModels']())[0x0]):(_0xd86012('ai-chat-conversation-set-model-null',{'conversation':this}),_0x235361=(await this['chatModels']['getAvailableModels']())[0x0]),_0x235361['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x235361,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x235361}));}}class AIModels extends _0x199f48(){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x29bcd0,config:_0x4c88e0,locale:_0x19a214}){super(),this['_connector']=_0x29bcd0,this['_config']=_0x4c88e0,this['_locale']=_0x19a214;}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 _0x11a12f=await this['getAll']();let _0x33f265;return _0x33f265=this['_availableModels']?this['_filterModels'](_0x11a12f,this['_availableModels']):_0x11a12f['filter'](_0x832bc0=>_0x832bc0['recommended']),_0x33f265;}async['getModel'](_0x501c22){const _0x4a7ca4=await this['getAll']();if(!_0x4a7ca4['length'])return null;if(_0x501c22){const _0x33697d=this['_getModelById'](_0x4a7ca4,_0x501c22);if(_0x33697d)return _0x33697d;_0xd86012('ai-chat-model-id-unrecognized',{'modelId':_0x501c22,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x28805=await this['getAvailableModels']();if(!_0x28805['length'])return null;if(this['_defaultModelId']){const _0x26687a=this['_getModelById'](_0x28805,this['_defaultModelId']);if(_0x26687a)return _0x26687a;_0xd86012('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x28805[0x0]['id']});}return _0x28805[0x0];}async['isAvailable'](_0x55c667){return(await this['getAvailableModels']())['some'](_0x21aa0e=>_0x21aa0e['name']===_0x55c667['name']&&_0x21aa0e['provider']===_0x55c667['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x30f883=this['_locale']['uiLanguage']||'en',_0xde432d=this['_connector']['getModels'](_0x30f883),_0x243163=await _0xde432d['list']();this['_modelList']=_0x243163['items']['map'](_0x15eaa9=>Pd(_0x15eaa9)?{..._0x15eaa9,'name':ho(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x15eaa9);}catch(_0x59eb5d){throw _0x4b942a('ai-models-unable-to-retrieve',{'error':_0x59eb5d}),_0x59eb5d;}return[...this['_modelList']];}['_filterModels'](_0x259f52,_0x48fe94){let _0x20d9cf;if(_0x48fe94){_0x20d9cf=[];const _0x448f8c=new Set(),_0x42c2e2='string'==typeof _0x48fe94?[_0x48fe94['toLocaleLowerCase']()]:_0x48fe94['map'](_0x455d26=>_0x455d26['toLocaleLowerCase']());for(const _0x5a2a8b of _0x42c2e2)for(const _0x205438 of _0x259f52)!_0x448f8c['has'](_0x205438['id'])&&this['_isMatchingFilter'](_0x205438,_0x5a2a8b)&&(_0x20d9cf['push'](_0x205438),_0x448f8c['add'](_0x205438['id']));}else _0x20d9cf=_0x259f52;return _0x20d9cf;}['_isMatchingFilter'](_0x569f67,_0x5c6cd0){const _0x50ccb8=_0x569f67['id']['toLocaleLowerCase'](),_0x3c9d54=_0x569f67['name']['toLocaleLowerCase'](),_0x59ceb5=_0x569f67['provider']['toLocaleLowerCase']();return _0x50ccb8===_0x5c6cd0||_0x3c9d54===_0x5c6cd0||Pd(_0x569f67)&&'auto'===_0x5c6cd0||_0x59ceb5===_0x5c6cd0||_0x50ccb8['startsWith'](_0x5c6cd0);}['_getModelById'](_0x45da90,_0x36a343){return _0x45da90['find'](_0x27fa8f=>Pd(_0x27fa8f)&&'auto'===_0x36a343?_0x27fa8f:_0x27fa8f['id']===_0x36a343)||null;}}function Pd(_0x3a4555){return _0x3a4555['id']['startsWith']('agent');}function Md(_0x4eafb9){if(_0x4eafb9 instanceof _0xadff6a)return _0x4eafb9;if(_0x4eafb9?.['editors']&&_0x4eafb9['editors']['get'](0x0))return _0x4eafb9['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.'),_0x4eafb9['editors']['get'](0x0);throw new _0x37fbfa('ai-get-editor-from-context-no-editor');}function Nd({editor:_0x31d44e,interaction:_0x5619b4,reply:_0x54f4db,groups:_0x5531cc,transform:_0x1ce7cc,documentCompare:_0x1fb5ae,documentCompareOptions:_0x4568a5}){const _0x5595fd=_0x5619b4['getDocumentContext']();if(!_0x5595fd)return[];const _0xc3bcb3=_0x5595fd['content'],_0x20b532=_0x5595fd['version'],_0x306fd7=_0x54f4db['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x19307b}of _0x5531cc){const _0x1379d2=_0x19307b['filter'](_0x1f2194=>'new'!=_0x1f2194['type'])['map'](_0x25de35=>$a('data-id',_0x25de35['id'],_0x306fd7)),_0x9d9362=_0x19307b['filter'](_0x2d005b=>'removed'!=_0x2d005b['type'])['map'](_0x1a4f08=>_0x1a4f08['node']['cloneNode'](!0x0));let _0x29b21b=null;if(_0x1379d2['length']){_0x29b21b=_0x1379d2[0x0]['previousSibling'];for(let _0xe7a5ca=0x0;_0xe7a5ca<_0x1379d2['length'];_0xe7a5ca++)ka(_0x1379d2[_0xe7a5ca]);}if(_0x9d9362['length']){_0x29b21b||(_0x19307b[0x0]['anchorId']?_0x29b21b=$a('data-id',_0x19307b[0x0]['anchorId'],_0x306fd7):(_0x29b21b=_0x9d9362['shift'](),Pa(_0x306fd7,_0x29b21b)));for(let _0x48b782=0x0;_0x48b782<_0x9d9362['length'];_0x48b782++)Ra(_0x29b21b,_0x9d9362[_0x48b782]),_0x29b21b=_0x9d9362[_0x48b782];}}const _0x45fa6d=Qa(_0x306fd7),_0x390681=_0x1fb5ae['getDiff'](_0xc3bcb3,_0x45fa6d,_0x4568a5)['getOperations']();if(_0x1ce7cc){const _0x2bf48f=_0x31d44e['model']['document']['history']['getOperations'](_0x20b532),_0x48bf62={'document':_0x31d44e['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x3c2044(_0x390681,_0x2bf48f,_0x48bf62)['operationsA'];}return _0x390681;}function Ld(_0x822a6a,_0x168e5d){if('marker'!=_0x168e5d['type'])return;const _0x25f523=_0x822a6a['model']['markers']['get'](_0x168e5d['name']);_0x25f523&&(_0x168e5d['oldRange']=_0x25f523['getRange']());}class AIChatController extends _0x13e428{['_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 _0x2ffed4=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x930cfe,_0x4e4682)=>{this['_handleUIUserMessage']({'userMessage':_0x4e4682});}),this['listenTo'](_0x2ffed4,'resizedTabs',(_0x5b4505,_0x48875d)=>{this['_setIsMaximized'](_0x48875d);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x2ffed4['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',(_0x312f9a,_0x2ec0c8)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x2ec0c8));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x292b9d,_0x23aa3f)=>{this['activeConversation']?.['addUrlToContext'](_0x23aa3f);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x2b648c,_0x588b6c)=>{_0x588b6c['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x4d6369,_0x83026)=>{this['activeConversation']?.['addResourceToContext'](_0x83026['source'],_0x83026['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x3d0456,_0x268a3c)=>{this['_removeFromContext'](_0x268a3c);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x2b4fcb,_0x184fbc)=>{this['activeConversation']?.['loadSourceResources'](_0x184fbc['sourceId'],_0x184fbc['query'],_0x184fbc['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x51e193,_0x1ecf67)=>{this['activeConversation']?.['setModel'](_0x1ecf67);}),this['listenTo'](this['_aiChatUi'],'like',(_0xe47ad,{replyId:_0x3d97aa})=>{console['log']('Liked\x20response',_0x3d97aa);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x5f0f15,{replyId:_0x410a0e})=>{console['log']('Disliked\x20response',_0x410a0e);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x119de0,_0x964a4)=>{this['_insertSuggestion'](_0x964a4);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x389a0a,{replyId:_0x335c54,partIndex:_0x582b35})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x335c54,_0x582b35);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x4e7c9d,{replyId:_0x41f028,partIndex:_0x140860})=>{const _0x463f86=this['_getDocumentRangeForReplyChanges'](_0x41f028,_0x140860);_0x463f86&&'$graveyard'!=_0x463f86['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x463f86['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x559760,_0x2d6917)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0x2d6917);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x233f1a,{replyId:_0x29f444,showDiff:_0x376cdd})=>{const {reply:_0x5e0e95}=this['getInteractionAndReplyById'](_0x29f444),_0x3ef736=_0x5e0e95['getContentParts']({'showDiff':_0x376cdd});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x5e0e95['id'],'parts':_0x3ef736,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x58d410,{replyId:_0x187b5a,partIndex:_0x4fff63})=>{this['_rejectSuggestion']({'replyId':_0x187b5a,'partIndex':_0x4fff63}),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:_0x31e64c,partIndex:_0x418aad}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x1476c1}=this['getInteractionAndReplyById'](_0x31e64c),_0x5e4bdb=_0x1476c1['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x418aad});this['_aiChatBalloon']['updateContent']({'part':_0x5e4bdb[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x3db229,partIndex:_0x710374}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x3db229,'partIndex':_0x710374}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x40beef,partIndex:_0x277153}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x40beef,'partIndex':_0x277153}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x40b47a,partIndex:_0xb42bc5}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x40b47a,'partIndex':_0xb42bc5}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0xd3aa80,partIndex:_0x15d703}=this['_currentPreviewedChangeGroup'],_0xba0d33=this['_getPresentableSiblingContentPartIndex'](_0xd3aa80,_0x15d703,'next');null!==_0xba0d33&&this['_openBalloonFor'](_0xd3aa80,_0xba0d33);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x17f9a2,partIndex:_0x43449d}=this['_currentPreviewedChangeGroup'],_0x1246a9=this['_getPresentableSiblingContentPartIndex'](_0x17f9a2,_0x43449d,'previous');null!==_0x1246a9&&this['_openBalloonFor'](_0x17f9a2,_0x1246a9);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x28641d,{id:_0x25f823})=>{if('aiChatBalloon'!==_0x25f823)return;const {replyId:_0x2bd203,partIndex:_0x534b11}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x2bd203,'index':_0x534b11,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof _0xadff6a?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5b5a14,_0x18f62b)=>{_0x18f62b['on']('ready',()=>{this['_integrateEditor'](_0x18f62b);});});const _0x55f725=this['context']['config']['get']('ai.chat.initialConversation');let _0x122aea=_0x55f725;if('lastCreated'!=_0x55f725||(_0x122aea=await this['_getLastCreatedConversationId'](),_0x122aea))return'new'==_0x122aea?this['_startConversationSafely']():this['loadConversation'](_0x122aea);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x458ccc){const _0x184bed=Md(this['context']);if(!_0x184bed['plugins']['has']('TrackChanges'))throw new _0x37fbfa('ai-no-track-changes',null);const _0x361b76=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x5a2744,interaction:_0x2630af}=this['getInteractionAndReplyById'](_0x458ccc['replyId']),_0x4eff65=this['_getDocumentRangeForReplyChanges'](_0x458ccc['replyId'],_0x458ccc['partIndex']),_0x4cf290=void 0x0!==_0x458ccc['partIndex']?[_0x5a2744['changeGroups'][_0x458ccc['partIndex']]]:_0x5a2744['changeGroups']['filter'](_0x2b69cb=>'pending'==_0x2b69cb['state']),_0x389ff2=_0x4cf290['map'](_0x162ad2=>_0x5a2744['changeGroups']['indexOf'](_0x162ad2));if(!_0x4eff65||'$graveyard'==_0x4eff65['range']['root']['rootName'])return void _0x389ff2['forEach'](_0x2af580=>_0x5a2744['setChangeGroupState'](_0x2af580,'outdated'));_0x389ff2['forEach'](_0x26370c=>_0x5a2744['setChangeGroupState'](_0x26370c,'accepted'));const _0xad9c76=Nd({'editor':_0x184bed,'reply':_0x5a2744,'interaction':_0x2630af,'groups':_0x4cf290,'transform':!0x0,'documentCompare':_0x361b76,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0xdc3207;_0x4eff65&&this['_scrollToSuggestionRange'](_0x4eff65['range']),_0x184bed['model']['change'](_0xde16a7=>{_0xdc3207=_0xde16a7['batch'],_0x184bed['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0xad9c76),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0xdc3207,{'interactionId':_0x2630af['id'],'replyId':_0x5a2744['id'],'indexes':_0x389ff2['slice']()}),this['_updateRatings'](_0x5a2744);}['_applySuggestion'](_0x24dc05){const _0x19bf06=Md(this['context']),_0xd11c4a=this['context']['plugins']['get'](DocumentCompare),{reply:_0x4f7399,interaction:_0x339d94}=this['getInteractionAndReplyById'](_0x24dc05['replyId']),_0x476125=this['_getDocumentRangeForReplyChanges'](_0x24dc05['replyId'],_0x24dc05['partIndex']),_0x241ee9=void 0x0!==_0x24dc05['partIndex']?[_0x4f7399['changeGroups'][_0x24dc05['partIndex']]]:_0x4f7399['changeGroups']['filter'](_0x303009=>'pending'==_0x303009['state']),_0x5d3f59=_0x241ee9['map'](_0x13f3e9=>_0x4f7399['changeGroups']['indexOf'](_0x13f3e9));if(!_0x476125||'$graveyard'==_0x476125['range']['root']['rootName'])return void _0x5d3f59['forEach'](_0x3bca08=>_0x4f7399['setChangeGroupState'](_0x3bca08,'outdated'));_0x5d3f59['forEach'](_0x3fae97=>_0x4f7399['setChangeGroupState'](_0x3fae97,'accepted'));const _0x4bbc31=Nd({'editor':_0x19bf06,'reply':_0x4f7399,'interaction':_0x339d94,'groups':_0x241ee9,'transform':!0x0,'documentCompare':_0xd11c4a,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x5cdd71;_0x476125&&this['_scrollToSuggestionRange'](_0x476125['range']),_0x19bf06['model']['change'](_0xa5c312=>{_0x5cdd71=_0xa5c312['batch'];for(const _0x527ff5 of _0x4bbc31)_0x527ff5['baseVersion']=_0x19bf06['model']['document']['version'],Ld(_0x19bf06,_0x527ff5),_0xa5c312['batch']['addOperation'](_0x527ff5),_0x19bf06['model']['applyOperation'](_0x527ff5);}),this['_batchToChanges']['set'](_0x5cdd71,{'interactionId':_0x339d94['id'],'replyId':_0x4f7399['id'],'indexes':_0x5d3f59['slice']()}),this['_updateRatings'](_0x4f7399);}['_rejectSuggestion'](_0x4e3f41){const {reply:_0x184720}=this['getInteractionAndReplyById'](_0x4e3f41['replyId']);_0x184720['setChangeGroupState'](_0x4e3f41['partIndex'],'rejected');}['_openBalloonFor'](_0x20d250,_0x157538){if(!this['_aiChatBalloon'])return;const {reply:_0x457cf1}=this['getInteractionAndReplyById'](_0x20d250),_0x399da6=_0x457cf1['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x5ac170,_0x3b990;if(void 0x0!==_0x157538?(_0x3b990=_0x399da6['find'](_0x1c2ed1=>_0x1c2ed1['index']==_0x157538),_0x5ac170=_0x3b990?.['index']):(_0x3b990=_0x399da6[0x0],_0x5ac170=_0x3b990['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x20d250&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x5ac170)return;const _0x33ea6c=this['_getUserPresentableContentPartDocumentRange'](_0x20d250,_0x457cf1,_0x3b990);if(!_0x33ea6c)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x20d250,'partIndex':_0x5ac170},this['_scrollToSuggestionRange'](_0x33ea6c,!0x0);const _0x5e4d2a=this['_getPresentableSiblingContentPartIndex'](_0x20d250,_0x5ac170,'next');this['_aiChatBalloon']['updateContent']({'part':_0x3b990,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x5ac170,'title':ho(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x5ac170+0x1)['toString']()),'showRotator':null!==_0x5e4d2a,'ranges':[_0x33ea6c],'areActionsDisabled':_0x457cf1['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x20d250,_0x5ac170),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x20d250,'index':_0x5ac170,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x30d2cb,_0x2b3f07,_0x2dbde9){const {reply:_0x1fa836}=this['getInteractionAndReplyById'](_0x30d2cb),_0x16cb6c=_0x1fa836['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x16cb6c['length'])return null;const _0x20adb2=_0x16cb6c['findIndex'](_0x65d8d6=>_0x65d8d6['index']==_0x2b3f07),_0x45bb14='next'==_0x2dbde9?0x1:-0x1;let _0x243211=_0x16cb6c['at']((_0x20adb2+_0x45bb14)%_0x16cb6c['length'])['index'],_0x224420=_0x16cb6c[_0x243211];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x30d2cb,_0x1fa836,_0x224420);){if(_0x243211=_0x16cb6c['at']((_0x243211+_0x45bb14)%_0x16cb6c['length'])['index'],_0x243211===_0x20adb2)return null;_0x224420=_0x16cb6c[_0x243211];}return _0x243211;}['_getUserPresentableContentPartDocumentRange'](_0x475a91,_0x51dadc,_0x34bea5){const _0x39379d=_0x51dadc['changeGroups'];if(!_0x34bea5['hasChanges'])return null;const _0x3cbd7e=_0x39379d['find'](_0x5a66ca=>_0x5a66ca['index']==_0x34bea5['index']);if('pending'!==_0x3cbd7e?.['state'])return null;const _0x38207f=this['_getDocumentRangeForReplyChanges'](_0x475a91,_0x34bea5['index']);if(!_0x38207f)return null;const {range:_0x490a98,currentIndex:_0x2d15bc}=_0x38207f;return'$graveyard'==_0x490a98['root']['rootName']?(_0x51dadc['setChangeGroupState'](_0x2d15bc,'outdated'),null):_0x38207f['range'];}['_getDocumentRangeForReplyChanges'](_0x5d97b9,_0x858d31){const _0x842b94=Md(this['context']),{reply:_0x31b902,interaction:_0x286579}=this['getInteractionAndReplyById'](_0x5d97b9),_0x2bc852=_0x31b902['changeGroups']['filter'](_0x4c9994=>'pending'==_0x4c9994['state']),_0x21c8b4=_0x2bc852['map'](_0x109f91=>_0x31b902['changeGroups']['indexOf'](_0x109f91));void 0x0===_0x858d31&&(_0x858d31=_0x21c8b4[0x0]);const _0x4b1d9c=_0x21c8b4['indexOf'](_0x858d31);if(-0x1==_0x4b1d9c)return null;const _0x24787c=_0x2bc852[_0x4b1d9c],_0x509594=new Document([]),_0x5e1a67=new Document([]);for(const _0x5a4563 of _0x24787c['changes'])if('removed'!=_0x5a4563['type']&&_0x5e1a67['children']['push'](_0x5a4563['node']['cloneNode'](!0x0)),'new'!=_0x5a4563['type']){const _0x4d3ccb=Na(_0x20b17f=>Ba(_0x20b17f,'data-id')==_0x5a4563['id'],_0x31b902['documentContextContent'],!0x0);_0x509594['children']['push'](_0x4d3ccb['cloneNode'](!0x0));}if(0x0==_0x509594['children']['length']){if(_0x24787c['changes'][0x0]['anchorId']){const _0x2504fd=$a('data-id',_0x24787c['changes'][0x0]['anchorId'],_0x31b902['documentContextContent']);_0x509594['children']['unshift'](_0x2504fd['cloneNode'](!0x0)),_0x5e1a67['children']['unshift'](_0x2504fd['cloneNode'](!0x0)),_0x2504fd['nextSibling']&&(_0x509594['children']['push'](_0x2504fd['nextSibling']['cloneNode'](!0x0)),_0x5e1a67['children']['push'](_0x2504fd['nextSibling']['cloneNode'](!0x0)));}else{const _0x3243b2=_0x31b902['documentContextContent']['children'][0x0];if(!_0x3243b2)return null;_0x509594['children']['push'](_0x3243b2['cloneNode'](!0x0)),_0x5e1a67['children']['push'](_0x3243b2['cloneNode'](!0x0));}}const _0x1b5ebc=_0x286579['getDocumentContext'](),_0x18d8b0=_0x842b94['data']['parse'](_0x1b5ebc['content']),_0x32b09c=Qa(_0x509594),_0x3d5c0b=_0x842b94['data']['parse'](_0x32b09c),_0x3ee4bc=_0x842b94['data']['parse'](_0x32b09c),_0x39cfaa=_0x842b94['model']['createPositionAt'](_0x3d5c0b,0x0),_0x2be085=Qa(_0x5e1a67),_0x41aa28={'anchor':_0x39cfaa,'markDeletions':!0x1},_0x2af740=_0x842b94['plugins']['get'](DocumentCompare)['getDiff'](_0x32b09c,_0x2be085,_0x41aa28)['getOperations']();if(!_0x2af740['length'])return null;_0x842b94['model']['change'](_0x1cab89=>{for(const _0x424ca7 of _0x2af740)if('remove'==_0x424ca7['type']){const _0x5c8718=_0x424ca7['sourcePosition'],_0x4d05f2=_0x424ca7['howMany'],_0x1346f7=new _0x4cb24c(_0x5c8718,_0x4d05f2);_0x1cab89['batch']['addOperation'](_0x1346f7),_0x842b94['model']['applyOperation'](_0x1346f7);}else'marker'!==_0x424ca7['type']&&(_0x424ca7['baseVersion']=null,_0x424ca7['isDocumentOperation']=!0x1,_0x1cab89['batch']['addOperation'](_0x424ca7),_0x842b94['model']['applyOperation'](_0x424ca7));});const _0x58f653=vd(_0x842b94,_0x2af740,_0x3d5c0b);Td(_0x842b94['model'],_0x58f653);const _0x4f8c46=_0x58f653['getFirstRange']()['start']['path']['slice'](),_0x4661e1=_0x58f653['getFirstRange']()['end']['path']['slice'](),_0x48272a=[];let _0x2d9fd1=_0x3d5c0b,_0x1df21b=_0x3ee4bc;for(let _0x5605b8=0x0;_0x5605b8<_0x4661e1['length'];_0x5605b8++){const _0x52ec87=_0x2d9fd1['maxOffset']-_0x4661e1[_0x5605b8];_0x48272a[_0x5605b8]=_0x1df21b['maxOffset']-_0x52ec87,_0x2d9fd1=_0x2d9fd1['getChildAtOffset'](_0x4661e1[_0x5605b8]),_0x1df21b=_0x1df21b['getChildAtOffset'](_0x48272a[_0x5605b8]);}const _0x1f5369=_0x842b94['model']['createRange'](_0x842b94['model']['createPositionFromPath'](_0x3ee4bc,_0x4f8c46),_0x842b94['model']['createPositionFromPath'](_0x3ee4bc,_0x48272a)),_0x31e22c=_0x3ee4bc['getChild'](0x0)['getAttribute'](pd),_0x3c11eb=Array['from'](_0x18d8b0['getChildren']())['find'](_0x21935b=>_0x21935b['getAttribute'](pd)==_0x31e22c)['getPath'](),_0x3efd6b=_0x1f5369['start']['path']['slice'](),_0x587cf2=_0x1f5369['end']['path']['slice']();_0x3efd6b[0x0]=_0x3c11eb[0x0]+_0x3efd6b[0x0],_0x587cf2[0x0]=_0x3c11eb[0x0]+_0x587cf2[0x0];let _0x481b7f=_0x842b94['model']['createRange'](_0x842b94['model']['createPositionFromPath'](_0x842b94['model']['document']['getRoot'](),_0x3efd6b),_0x842b94['model']['createPositionFromPath'](_0x842b94['model']['document']['getRoot'](),_0x587cf2));const _0xa916af=_0x842b94['model']['document']['history']['getOperations'](_0x1b5ebc['version']);for(const _0xfdf73f of _0xa916af)_0x481b7f=_0x2ec072['_createFromRanges'](_0x481b7f['getTransformedByOperation'](_0xfdf73f));return{'range':_0x481b7f,'currentIndex':_0x858d31};}['_integrateEditor'](_0x48d14c){if(!_0x48d14c['plugins']['has']('Undo'))return;const _0x6f3c07=_0x48d14c['commands']['get']('undo'),_0x43ab03=_0x48d14c['commands']['get']('redo');this['listenTo'](_0x6f3c07,'revert',(_0x20031c,_0x5039fd,_0x320f96)=>{const _0x5e4da5=this['_batchToChanges']['get'](_0x5039fd);if(!_0x5e4da5)return;const _0x1a5266=this['activeConversation']['getInteraction'](_0x5e4da5['interactionId'])['getReply'](_0x5e4da5['replyId']);_0x5e4da5['indexes']['forEach'](_0x1003cb=>_0x1a5266['setChangeGroupState'](_0x1003cb,'pending')),this['_batchToChanges']['delete'](_0x5039fd),this['_batchToChanges']['set'](_0x320f96,_0x5e4da5);}),this['listenTo'](_0x43ab03,'revert',(_0x385726,_0x36329c,_0x583dd4)=>{const _0x5b6f2d=this['_batchToChanges']['get'](_0x36329c);if(!_0x5b6f2d)return;const _0x137cc5=this['activeConversation']['getInteraction'](_0x5b6f2d['interactionId'])['getReply'](_0x5b6f2d['replyId']);_0x5b6f2d['indexes']['forEach'](_0x5884ec=>_0x137cc5['setChangeGroupState'](_0x5884ec,'accepted')),this['_batchToChanges']['delete'](_0x36329c),this['_batchToChanges']['set'](_0x583dd4,_0x5b6f2d);});}async['loadConversation'](_0x1391ce){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'](_0x1391ce)['getConversation'](),await this['_startConversationSafely'](_0x1391ce),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x1391ce,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x2550b4){this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x1391ce}),this['_logError'](new _0x37fbfa('ai-chat-conversation-not-found',this,{'error':_0x2550b4}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x4fbd09=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x4d195a=await _0x4fbd09['getConversations']();return _0x4d195a['length']?_0x4d195a[0x0]['id']:'new';}catch(_0xc21030){return this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x5c5c0c()}),this['_logError'](new _0x37fbfa('ai-chat-conversation-init-failed',this,{'error':_0xc21030})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x1a8889){this['activeConversation']['id']===_0x1a8889&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](ho(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x287864=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x287864),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x27f4a2,attributes:_0x5739ea}){await this['_handleUIUserMessage']({'userMessage':_0x27f4a2,'attributes':_0x5739ea});}['getGroupId'](){const _0x2827c6=this['context']['config']['get']('collaboration.channelId');if(!_0x2827c6)throw new _0x37fbfa('ai-chat-missing-channel-id',this);return _0x2827c6;}async['_startConversationSafely'](_0x430de4){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x430de4);}catch(_0x566437){this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x430de4||_0x5c5c0c()}),console['error'](_0x566437),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x5e38a7){let _0x4e2b6f;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x5e38a7||!this['activeConversation']?_0x4e2b6f=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x4e2b6f=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x5b27c4=this['getGroupId'](),_0x570d7e=_0x5e38a7||_0x5c5c0c();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x4e2b6f,'conversationId':_0x570d7e,'group':_0x5b27c4,'getEditor':()=>Md(this['context']),'isFromHistory':!!_0x5e38a7}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x26606a,_0x569559)=>{this['_aiChatUi']['createConversation'](_0x569559),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x5e38a7||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x58eb3c,_0x8de964)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x8de964['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x202d03,_0x5998cc)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x5998cc);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x19b5ce=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x19b5ce);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x3c2c8b=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x3c2c8b);}),this['activeConversation']['on']('webSearchFinished',(_0x584472,_0x2486ce)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x2486ce,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x46226c,_0x34f798)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x34f798,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x441973,_0x4aa27e)=>{this['_aiChatUi']['removeFeedInteraction'](_0x4aa27e['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x432393,_0x55dbf5,_0x17ca74)=>{this['updateConversationTitle'](_0x55dbf5,_0x17ca74);}),this['activeConversation']['on']('replyCreated',(_0x544be6,_0x32a492)=>{'text'===_0x32a492['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x32a492):this['_aiChatUi']['addFeedItemAISuggestion'](_0x32a492);}),this['activeConversation']['on']('replyContentUpdated',async(_0x4f98ba,_0x3df61c)=>{await this['_updateReplyContent']({'reply':_0x3df61c});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x4f5030,{reply:_0x38cb19,index:_0xd9b4c7,state:_0x396fbe})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x38cb19['id'],'index':_0xd9b4c7,'state':_0x396fbe}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x38cb19['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0xd9b4c7&&this['_aiChatBalloon']?.['setState'](_0x396fbe);}),this['activeConversation']['on']('contextItemAdded',(_0x2e3794,_0x25facf)=>{if(this['_aiChatUi']['addContextItem'](_0x25facf['contextItem'],_0x25facf['isLoading']),'selection'===_0x25facf['contextItem']['type']){const _0x3cb758=[...Md(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x3cb758,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x1c610c,_0x1c5862)=>{this['_aiChatUi']['removeContextItem'](_0x1c5862['uiId']),'current-document'==_0x1c5862['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x1c5862['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x33b482,_0x4cd645)=>{this['_aiChatUi']['setContextItemLoading'](_0x4cd645['contextItem']['uiId'],_0x4cd645['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x15fa42,_0x5c52ad)=>{this['_aiChatUi']['setConversationContext'](_0x5c52ad['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0xbab39d,_0x34ed7f)=>{this['_aiChatUi']['setAddContextOptions'](_0x34ed7f['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x3c729d,_0x382e54)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x382e54['sourceId'],_0x382e54['source'],_0x382e54['resources'],_0x382e54['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x34e266,_0x1e02af)=>{this['_aiChatUi']['updateResourceState'](_0x1e02af['sourceId'],_0x1e02af['resourceId'],_0x1e02af['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x9e4392,_0x3a7269)=>{this['_aiChatUi']['updateCapabilities'](_0x3a7269);}),this['activeConversation']['on']('modelSelected',async(_0x47647d,_0x486ec3)=>{const _0x32fbb9=(await this['_aiChatModels']['getAll']())['find'](_0x2ef45a=>_0x2ef45a['id']===_0x486ec3['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x32fbb9,_0x486ec3['isDisabled']);}),this['activeConversation']['on']('error',(_0x183504,{error:_0x4ea4f1,interactionId:_0x2ad459,fileName:_0x458d27,url:_0x81d57,sourceId:_0x2d1c81,sourceLabel:_0x3226c2})=>{const _0x1d36ee=_0x2ad459?_0x2ad459+':'+_0x5c5c0c():_0x5c5c0c();_0x4ea4f1['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':ho(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x1d36ee}):_0x4ea4f1['message']['startsWith']('ai-chat-conversation-init-failed')||_0x4ea4f1['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x458d27),'id':_0x1d36ee}):_0x4ea4f1['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x81d57),'id':_0x1d36ee}):_0x4ea4f1['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x1d36ee}):_0x4ea4f1['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x1d36ee}):_0x4ea4f1['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x2d1c81&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x2d1c81),this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x3226c2||'source'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['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':_0x1d36ee}),this['_logError'](_0x4ea4f1)):_0x4ea4f1['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':_0x1d36ee}),this['_logError'](_0x4ea4f1)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':ho(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x1d36ee}),this['_logError'](_0x4ea4f1));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x5e38a7||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x5dacbf,attributes:_0x57eff7}){if(!this['activeConversation'])throw new _0x37fbfa('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x1deb87=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x1deb87);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x5dacbf,'attributes':_0x57eff7});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x278682){this['_aiChatUi']['setIsMaximized'](_0x278682);}['_logError'](_0xcc456){_0x4b942a(_0xcc456['message']);}['_removeFromContext'](_0x8f73bf){this['activeConversation']?.['removeFromContext'](_0x8f73bf);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x79bd8e){const [_0xdcb676,_0x1bf3d8]=_0x79bd8e['split'](':'),_0x2bc836=this['activeConversation']['getInteraction'](_0xdcb676),_0x212bb3=_0x2bc836['getReply'](_0x1bf3d8);return{'interaction':_0x2bc836,'reply':_0x212bb3};}['_scrollToSuggestionRange'](_0x51ae29,_0x2f3940=!0x1){const _0x2d996f=Md(this['context']),_0xd4481f={'target':_0x2d996f['editing']['view']['domConverter']['viewRangeToDom'](_0x2d996f['editing']['mapper']['toViewRange'](_0x51ae29)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x2f3940};_0x2f3940&&(_0xd4481f['alignToTop']=!0x0),_0x3cfeda(_0xd4481f);}['updateConversationTitle'](_0xb05ca6,_0x30bf85=!0x1){this['_aiChatUi']['setConversationTitle'](_0xb05ca6||ho(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x30bf85);}async['_updateReplyContent']({reply:_0x3b7215,renderingStrategy:_0x66911c}){const {id:_0x24a9ba,interactionId:_0x3c749d,isDone:_0x25f891,type:_0x3a149c,parsedContent:_0x3e6fa8}=_0x3b7215,_0x3395a6=_0x3c749d+':'+_0x24a9ba;if('modification'===_0x3a149c){const _0x4a361a=_0x3b7215['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x3395a6,'parts':_0x4a361a,'renderingStrategy':_0x66911c,'isDone':_0x25f891});}else'text'===_0x3a149c&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x3395a6,'parsedContent':_0x3e6fa8,'renderingStrategy':_0x66911c,'isDone':_0x25f891});_0x25f891&&_0x3b7215['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x3395a6,_0x3b7215['sources']);}async['_stopLastInteraction'](){const _0x200588=this['activeConversation']?.['lastInteraction'];_0x200588&&(_0x200588['stop'](),this['_aiChatUi']['stopInteraction'](_0x200588));}async['_flushLastInteractionUI'](){const _0x1c8039=this['activeConversation']?.['lastInteraction'];if(_0x1c8039){for await(const _0x3978d0 of _0x1c8039['replies'])await this['_updateReplyContent']({'reply':_0x3978d0,'renderingStrategy':'static'});}}['_updateRatings'](_0x1cf699){const _0x2fed55={'positiveCount':_0x1cf699['changeGroups']['filter'](_0x329ad2=>'accepted'===_0x329ad2['state'])['length'],'totalCount':_0x1cf699['changeGroups']['length'],'modificationId':_0x1cf699['id']},_0x295d6d=this['activeConversation']['getInteraction'](_0x1cf699['interactionId'])['messageId'];_0x295d6d&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x295d6d,_0x2fed55);}['_registerToolDataCallback'](_0x1dd5a4){let _0x11e20e=null,_0xf13bba=null;this['on']('toolDataReceived',(_0x42be03,_0x2be039,_0x3801d1)=>{_0x3801d1['id']!==_0x11e20e&&(_0x11e20e=_0x3801d1['id'],_0xf13bba=this['_getAIChatInteractionAPI'](_0x3801d1)),_0x1dd5a4(_0x2be039,_0xf13bba);});}['_getAIChatInteractionAPI'](_0xf00ad){const _0xabf513=this['_aiChatUi'],_0x5bd350=()=>{_0xf00ad['resetWebSearchState'](),_0xf00ad['resetReasoningState'](),_0xabf513['clearLoadingMessage']();},_0x3717d8=()=>{_0xf00ad['currentReply']&&(_0xf00ad['currentReply']['done'](),_0xf00ad['currentReply']=void 0x0);};return{'insertTextReply':(_0x366f4a,_0x2a5311)=>{_0x3717d8(),_0x5bd350();const _0x536ddd=_0xf00ad['currentReply']=_0xf00ad['createReply']({'type':'text','interactionId':_0xf00ad['id'],'content':_0x366f4a,'id':_0x2a5311||_0x5c5c0c()});return _0x3717d8(),_0x536ddd;},'insertCustomElement':async(_0x378abd,_0x2d211b)=>(_0x3717d8(),_0x5bd350(),_0xabf513['addFeedItemCustomElement'](_0x378abd,_0x2d211b||_0x5c5c0c())),'setLoadingMessage':_0x4a07a0=>{_0xabf513['setLoadingMessage'](_0x4a07a0);},'clearLoadingMessage':()=>{_0xabf513['clearLoadingMessage']();}};}}const Dd='ai-selection';class AIEditing extends _0x13e428{constructor(_0x5b8d00){super(_0x5b8d00),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 _0x349dad=Md(this['context']),_0x2a3f7d=_0x349dad['plugins']['has']('RealTimeCollaborationClient')&&_0x349dad['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x2a3f7d||_0x5c5c0c();}return this['_sessionId'];}async['getDocumentData'](){const _0x57f34e=Md(this['context']),_0xbda539=_0x57f34e['model'],_0xa661a6=_0x57f34e['data']['toView'](_0xbda539['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x3e9ba7=new _0x12d7ae(_0x57f34e['editing']['view']['document']);this['_setDataIdsOnChildren'](_0xa661a6,_0x3e9ba7);let _0x25ee05=await this['_getDocumentDataStringFromView'](_0xa661a6);const _0x3271e7=this['_getMarkersInDocumentOrder'](),_0x4b5ed4=[];for(const _0x54df41 of _0x3271e7){const _0x30b3e5='<'+_0x54df41['name']+':start></'+_0x54df41['name']+':start>',_0x251d80=_0x25ee05['indexOf'](_0x30b3e5);_0x25ee05=_0x25ee05['substring'](0x0,_0x251d80)+_0x25ee05['substring'](_0x251d80+_0x30b3e5['length']);const _0x836bc4='<'+_0x54df41['name']+':end></'+_0x54df41['name']+':end>',_0x47c227=_0x25ee05['indexOf'](_0x836bc4);_0x25ee05=_0x25ee05['substring'](0x0,_0x47c227)+_0x25ee05['substring'](_0x47c227+_0x836bc4['length']),_0x4b5ed4['push']({'markerName':_0x54df41['name'],'start':_0x251d80,'end':_0x47c227,'htmlFragment':_0x25ee05['substring'](_0x251d80,_0x47c227)});}return{'content':_0x25ee05,'version':_0x57f34e['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x4b5ed4};}async['afterInit'](){this['context']instanceof _0xadff6a?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x33d4c1,_0x1bcdb2)=>{_0x1bcdb2['on']('ready',()=>{this['_integrateEditor'](_0x1bcdb2);});});}['_setOutputDataProcessor'](_0x87d84c){this['_outputDataProcessor']=_0x87d84c;}async['_getDocumentDataStringFromView'](_0x5c6ae4){let _0x51f799;const _0x52e110=Md(this['context']);if(this['_outputDataProcessor']){const _0x138f5f=_0x52e110['data']['processor']['domConverter']['viewToDom'](_0x5c6ae4),_0x3fe8ff=await this['_outputDataProcessor'](_0x138f5f);_0x51f799=_0x52e110['data']['processor']['htmlWriter']['getHtml'](_0x3fe8ff);}else _0x51f799=_0x52e110['data']['processor']['toData'](_0x5c6ae4);return _0x51f799;}['_integrateEditor'](_0x220c41){_0x220c41['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Dd,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x220c41['conversion']['for']('dataDowncast')['markerToElement']({'model':Dd,'view':(_0x58201d,{writer:_0x32a6cd,options:_0x23ce38})=>_0x23ce38['convertAiChatSelectionMarker']?_0x32a6cd['createUIElement'](_0x58201d['markerName']+':'+(_0x58201d['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x3aca66,_0xf2287d,_0x446571=!0x1,_0x33b83f=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x33b83f)return!0x1;const _0x109a35=Md(this['context'])['model'];return _0x109a35['change'](_0x328fcb=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0xf2287d,this['_displayedFakeSelectionLocked']=_0x446571;let _0x54f9e5=0x0;for(let _0x22a73d of _0x3aca66){const _0x3d6c76=Dd+':'+_0x54f9e5;if(_0x22a73d['start']['isAtEnd']){const _0x269495=_0x22a73d['start']['getLastMatchingPosition'](({item:_0x15d3c8})=>!_0x109a35['schema']['isContent'](_0x15d3c8),{'boundaries':_0x22a73d});_0x22a73d=_0x328fcb['createRange'](_0x269495,_0x22a73d['end']);}_0x328fcb['addMarker'](_0x3d6c76,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x22a73d}),_0x54f9e5++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x1a85ce){if(this['_displayedFakeSelectionId']!=_0x1a85ce)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x6c9ca7=Md(this['context']),_0x1d6bfc=_0x6c9ca7['model']['markers']['getMarkersGroup'](Dd);return _0x6c9ca7['model']['change'](_0x245b06=>{for(const _0xe14c7 of _0x1d6bfc)_0x245b06['removeMarker'](_0xe14c7);}),!0x0;}async['modelToDataWithIds'](_0x4bcc74){const _0x415da1=Md(this['context']),_0x15a576=_0x415da1['data']['toView'](_0x4bcc74),_0x4b6e10=new _0x12d7ae(_0x415da1['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x15a576,_0x4b6e10),this['_getDocumentDataStringFromView'](_0x15a576);}['_setDataIdsOnChildren'](_0x1cb499,_0x4f5695){let _0x374033=!0x1;const _0x4f0263=new Set();for(const _0x3da7ca of _0x1cb499['getChildren']()){const _0x3daa1d=_0x3da7ca['is']('emptyElement')||_0x3da7ca['is']('containerElement');if(!_0x3da7ca['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x3da7ca,_0x4f5695)||_0x3daa1d)&&(_0x4f5695['setAttribute']('data-id',this['_nextDataId'](_0x4f0263),_0x3da7ca),_0x374033=!0x0);}return _0x374033;}['_nextDataId'](_0x599ed7){let _0xbfd321;do{_0xbfd321='';for(let _0xfe621=0x0;_0xfe621<0x4;_0xfe621++)_0xbfd321+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x599ed7['has'](_0xbfd321));return _0x599ed7['add'](_0xbfd321),_0xbfd321;}['getSelectionText'](){const {model:_0x5a16f6}=Md(this['context']),_0x21b6ab=_0x5a16f6['document']['selection'],_0x1a2c65=[];for(const _0x3626bc of _0x21b6ab['getRanges']())for(const _0x47c8b9 of _0x3626bc['getItems']())_0x47c8b9['is']('$textProxy')?_0x1a2c65['push'](_0x47c8b9['data']):_0x47c8b9['is']('element')&&_0x1a2c65['length']>0x0&&'\x20'!==_0x1a2c65[_0x1a2c65['length']-0x1]&&_0x1a2c65['push']('\x20');return _0x1a2c65['length']?'\x22'+_0x1a2c65['join']('')['trim']()+'\x22':ho(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x28b9ec=Md(this['context'])['model'];return Array['from'](_0x28b9ec['markers']['getMarkersGroup'](Dd))['sort']((_0x58593a,_0x5c5e95)=>_0x58593a['getStart']()['isBefore'](_0x5c5e95['getStart']())?-0x1:_0x58593a['getStart']()['isAfter'](_0x5c5e95['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(_0x2c4e44){return _0x2c4e44=_0x2c4e44['trim'](),Bd?function(_0x2fcfeb){var _0x108b73=Ud['createElement']('template');return _0x108b73['innerHTML']=_0x2fcfeb,_0x108b73['content']['childNodes'][0x0];}(_0x2c4e44):Fd?function(_0x10b51b){return Vd||(Vd=Ud['createRange']())['selectNode'](Ud['body']),Vd['createContextualFragment'](_0x10b51b)['childNodes'][0x0];}(_0x2c4e44):function(_0x19c269){var _0x89d9bd=Ud['createElement']('body');return _0x89d9bd['innerHTML']=_0x19c269,_0x89d9bd['childNodes'][0x0];}(_0x2c4e44);}function Hd(_0x3abcd3,_0x181499){var _0x20bc5e,_0x5175a7,_0x2fd04d=_0x3abcd3['nodeName'],_0x3442ed=_0x181499['nodeName'];return _0x2fd04d===_0x3442ed||(_0x20bc5e=_0x2fd04d['charCodeAt'](0x0),_0x5175a7=_0x3442ed['charCodeAt'](0x0),_0x20bc5e<=0x5a&&_0x5175a7>=0x61?_0x2fd04d===_0x3442ed['toUpperCase']():_0x5175a7<=0x5a&&_0x20bc5e>=0x61&&_0x3442ed===_0x2fd04d['toUpperCase']());}function Gd(_0x362ec6,_0x595a4c,_0x479172){_0x362ec6[_0x479172]!==_0x595a4c[_0x479172]&&(_0x362ec6[_0x479172]=_0x595a4c[_0x479172],_0x362ec6[_0x479172]?_0x362ec6['setAttribute'](_0x479172,''):_0x362ec6['removeAttribute'](_0x479172));}var Zd={'OPTION':function(_0x502493,_0x3a21a8){var _0x905874=_0x502493['parentNode'];if(_0x905874){var _0x181a7f=_0x905874['nodeName']['toUpperCase']();'OPTGROUP'===_0x181a7f&&(_0x181a7f=(_0x905874=_0x905874['parentNode'])&&_0x905874['nodeName']['toUpperCase']()),'SELECT'!==_0x181a7f||_0x905874['hasAttribute']('multiple')||(_0x502493['hasAttribute']('selected')&&!_0x3a21a8['selected']&&(_0x502493['setAttribute']('selected','selected'),_0x502493['removeAttribute']('selected')),_0x905874['selectedIndex']=-0x1);}Gd(_0x502493,_0x3a21a8,'selected');},'INPUT':function(_0x2327b5,_0x278060){Gd(_0x2327b5,_0x278060,'checked'),Gd(_0x2327b5,_0x278060,'disabled'),_0x2327b5['value']!==_0x278060['value']&&(_0x2327b5['value']=_0x278060['value']),_0x278060['hasAttribute']('value')||_0x2327b5['removeAttribute']('value');},'TEXTAREA':function(_0x41e5e2,_0x19682e){var _0xeb92ca=_0x19682e['value'];_0x41e5e2['value']!==_0xeb92ca&&(_0x41e5e2['value']=_0xeb92ca);var _0x292533=_0x41e5e2['firstChild'];if(_0x292533){var _0xc0b3ac=_0x292533['nodeValue'];if(_0xc0b3ac==_0xeb92ca||!_0xeb92ca&&_0xc0b3ac==_0x41e5e2['placeholder'])return;_0x292533['nodeValue']=_0xeb92ca;}},'SELECT':function(_0x2e5552,_0x4641c6){if(!_0x4641c6['hasAttribute']('multiple')){for(var _0xdc9a12,_0x48f543,_0x8a0a34=-0x1,_0x16d230=0x0,_0x3b04e2=_0x2e5552['firstChild'];_0x3b04e2;)if('OPTGROUP'===(_0x48f543=_0x3b04e2['nodeName']&&_0x3b04e2['nodeName']['toUpperCase']()))(_0x3b04e2=(_0xdc9a12=_0x3b04e2)['firstChild'])||(_0x3b04e2=_0xdc9a12['nextSibling'],_0xdc9a12=null);else{if('OPTION'===_0x48f543){if(_0x3b04e2['hasAttribute']('selected')){_0x8a0a34=_0x16d230;break;}_0x16d230++;}!(_0x3b04e2=_0x3b04e2['nextSibling'])&&_0xdc9a12&&(_0x3b04e2=_0xdc9a12['nextSibling'],_0xdc9a12=null);}_0x2e5552['selectedIndex']=_0x8a0a34;}}};function Xd(){}function qd(_0x386255){if(_0x386255)return _0x386255['getAttribute']&&_0x386255['getAttribute']('id')||_0x386255['id'];}var Wd=function(_0x7d95e6){return function(_0x5aa3e8,_0xf4d50b,_0x5ddce2){if(_0x5ddce2||(_0x5ddce2={}),'string'==typeof _0xf4d50b){if('#document'===_0x5aa3e8['nodeName']||'HTML'===_0x5aa3e8['nodeName']||'BODY'===_0x5aa3e8['nodeName']){var _0x44ea1b=_0xf4d50b;(_0xf4d50b=Ud['createElement']('html'))['innerHTML']=_0x44ea1b;}else _0xf4d50b=jd(_0xf4d50b);}else 0xb===_0xf4d50b['nodeType']&&(_0xf4d50b=_0xf4d50b['firstElementChild']);var _0x459cf7=_0x5ddce2['getNodeKey']||qd,_0x430a1b=_0x5ddce2['onBeforeNodeAdded']||Xd,_0x33d4bf=_0x5ddce2['onNodeAdded']||Xd,_0x5d30aa=_0x5ddce2['onBeforeElUpdated']||Xd,_0x8cfddc=_0x5ddce2['onElUpdated']||Xd,_0x485815=_0x5ddce2['onBeforeNodeDiscarded']||Xd,_0x67b1f1=_0x5ddce2['onNodeDiscarded']||Xd,_0x3c706a=_0x5ddce2['onBeforeElChildrenUpdated']||Xd,_0xf85897=_0x5ddce2['skipFromChildren']||Xd,_0x52e2d1=_0x5ddce2['addChild']||function(_0x529c20,_0x1db899){return _0x529c20['appendChild'](_0x1db899);},_0x25ad73=!0x0===_0x5ddce2['childrenOnly'],_0x169e7b=Object['create'](null),_0x56ea9f=[];function _0x3d2c61(_0x2bf12d){_0x56ea9f['push'](_0x2bf12d);}function _0x1c2d88(_0x469f6b,_0x398639){if(0x1===_0x469f6b['nodeType'])for(var _0x29139e=_0x469f6b['firstChild'];_0x29139e;){var _0x1abcc0=void 0x0;_0x398639&&(_0x1abcc0=_0x459cf7(_0x29139e))?_0x3d2c61(_0x1abcc0):(_0x67b1f1(_0x29139e),_0x29139e['firstChild']&&_0x1c2d88(_0x29139e,_0x398639)),_0x29139e=_0x29139e['nextSibling'];}}function _0x320686(_0x21f4e3,_0x2ca6fa,_0x4c7d8e){!0x1!==_0x485815(_0x21f4e3)&&(_0x2ca6fa&&_0x2ca6fa['removeChild'](_0x21f4e3),_0x67b1f1(_0x21f4e3),_0x1c2d88(_0x21f4e3,_0x4c7d8e));}function _0x47e602(_0x54f5c7){if(0x1===_0x54f5c7['nodeType']||0xb===_0x54f5c7['nodeType'])for(var _0x4f3415=_0x54f5c7['firstChild'];_0x4f3415;){var _0x2880bb=_0x459cf7(_0x4f3415);_0x2880bb&&(_0x169e7b[_0x2880bb]=_0x4f3415),_0x47e602(_0x4f3415),_0x4f3415=_0x4f3415['nextSibling'];}}function _0x2f271(_0xb8eb5a){_0x33d4bf(_0xb8eb5a);for(var _0x3594e9=_0xb8eb5a['firstChild'];_0x3594e9;){var _0x431799=_0x3594e9['nextSibling'],_0x42cc7d=_0x459cf7(_0x3594e9);if(_0x42cc7d){var _0x176df4=_0x169e7b[_0x42cc7d];_0x176df4&&Hd(_0x3594e9,_0x176df4)?(_0x3594e9['parentNode']['replaceChild'](_0x176df4,_0x3594e9),_0x4ddc6c(_0x176df4,_0x3594e9)):_0x2f271(_0x3594e9);}else _0x2f271(_0x3594e9);_0x3594e9=_0x431799;}}function _0x4ddc6c(_0x57cdaf,_0x55fdda,_0x9c45d1){var _0x39459a=_0x459cf7(_0x55fdda);if(_0x39459a&&delete _0x169e7b[_0x39459a],!_0x9c45d1){var _0x361bc0=_0x5d30aa(_0x57cdaf,_0x55fdda);if(!0x1===_0x361bc0)return;if(_0x361bc0 instanceof HTMLElement&&_0x47e602(_0x57cdaf=_0x361bc0),_0x7d95e6(_0x57cdaf,_0x55fdda),_0x8cfddc(_0x57cdaf),!0x1===_0x3c706a(_0x57cdaf,_0x55fdda))return;}'TEXTAREA'!==_0x57cdaf['nodeName']?function(_0x2110d6,_0x2959b3){var _0xee5228,_0x2e6e58,_0x3634ec,_0x2bdf1b,_0x1c3779,_0x3d3429=_0xf85897(_0x2110d6,_0x2959b3),_0x5ca907=_0x2959b3['firstChild'],_0xd884eb=_0x2110d6['firstChild'];t:for(;_0x5ca907;){for(_0x2bdf1b=_0x5ca907['nextSibling'],_0xee5228=_0x459cf7(_0x5ca907);!_0x3d3429&&_0xd884eb;){if(_0x3634ec=_0xd884eb['nextSibling'],_0x5ca907['isSameNode']&&_0x5ca907['isSameNode'](_0xd884eb)){_0x5ca907=_0x2bdf1b,_0xd884eb=_0x3634ec;continue t;}_0x2e6e58=_0x459cf7(_0xd884eb);var _0x19608c=_0xd884eb['nodeType'],_0x32fa0a=void 0x0;if(_0x19608c===_0x5ca907['nodeType']&&(0x1===_0x19608c?(_0xee5228?_0xee5228!==_0x2e6e58&&((_0x1c3779=_0x169e7b[_0xee5228])?_0x3634ec===_0x1c3779?_0x32fa0a=!0x1:(_0x2110d6['insertBefore'](_0x1c3779,_0xd884eb),_0x2e6e58?_0x3d2c61(_0x2e6e58):_0x320686(_0xd884eb,_0x2110d6,!0x0),_0x2e6e58=_0x459cf7(_0xd884eb=_0x1c3779)):_0x32fa0a=!0x1):_0x2e6e58&&(_0x32fa0a=!0x1),(_0x32fa0a=!0x1!==_0x32fa0a&&Hd(_0xd884eb,_0x5ca907))&&_0x4ddc6c(_0xd884eb,_0x5ca907)):0x3!==_0x19608c&&0x8!=_0x19608c||(_0x32fa0a=!0x0,_0xd884eb['nodeValue']!==_0x5ca907['nodeValue']&&(_0xd884eb['nodeValue']=_0x5ca907['nodeValue']))),_0x32fa0a){_0x5ca907=_0x2bdf1b,_0xd884eb=_0x3634ec;continue t;}_0x2e6e58?_0x3d2c61(_0x2e6e58):_0x320686(_0xd884eb,_0x2110d6,!0x0),_0xd884eb=_0x3634ec;}if(_0xee5228&&(_0x1c3779=_0x169e7b[_0xee5228])&&Hd(_0x1c3779,_0x5ca907))_0x3d3429||_0x52e2d1(_0x2110d6,_0x1c3779),_0x4ddc6c(_0x1c3779,_0x5ca907);else{var _0x35132b=_0x430a1b(_0x5ca907);!0x1!==_0x35132b&&(_0x35132b&&(_0x5ca907=_0x35132b),_0x5ca907['actualize']&&(_0x5ca907=_0x5ca907['actualize'](_0x2110d6['ownerDocument']||Ud)),_0x52e2d1(_0x2110d6,_0x5ca907),_0x2f271(_0x5ca907));}_0x5ca907=_0x2bdf1b,_0xd884eb=_0x3634ec;}!function(_0x3afcae,_0x34ea95,_0x187184){for(;_0x34ea95;){var _0x304d29=_0x34ea95['nextSibling'];(_0x187184=_0x459cf7(_0x34ea95))?_0x3d2c61(_0x187184):_0x320686(_0x34ea95,_0x3afcae,!0x0),_0x34ea95=_0x304d29;}}(_0x2110d6,_0xd884eb,_0x2e6e58);var _0x37f3b4=Zd[_0x2110d6['nodeName']];_0x37f3b4&&_0x37f3b4(_0x2110d6,_0x2959b3);}(_0x57cdaf,_0x55fdda):Zd['TEXTAREA'](_0x57cdaf,_0x55fdda);}_0x47e602(_0x5aa3e8);var _0x3462ef=_0x5aa3e8,_0x47b3f8=_0x3462ef['nodeType'],_0x461bfb=_0xf4d50b['nodeType'];if(!_0x25ad73){if(0x1===_0x47b3f8)0x1===_0x461bfb?Hd(_0x5aa3e8,_0xf4d50b)||(_0x67b1f1(_0x5aa3e8),_0x3462ef=function(_0x5a780e,_0x32594f){for(var _0x3957b3=_0x5a780e['firstChild'];_0x3957b3;){var _0x5354ea=_0x3957b3['nextSibling'];_0x32594f['appendChild'](_0x3957b3),_0x3957b3=_0x5354ea;}return _0x32594f;}(_0x5aa3e8,function(_0x4ad3da,_0x20a714){return _0x20a714&&'http://www.w3.org/1999/xhtml'!==_0x20a714?Ud['createElementNS'](_0x20a714,_0x4ad3da):Ud['createElement'](_0x4ad3da);}(_0xf4d50b['nodeName'],_0xf4d50b['namespaceURI']))):_0x3462ef=_0xf4d50b;else{if(0x3===_0x47b3f8||0x8===_0x47b3f8){if(_0x461bfb===_0x47b3f8)return _0x3462ef['nodeValue']!==_0xf4d50b['nodeValue']&&(_0x3462ef['nodeValue']=_0xf4d50b['nodeValue']),_0x3462ef;_0x3462ef=_0xf4d50b;}}}if(_0x3462ef===_0xf4d50b)_0x67b1f1(_0x5aa3e8);else{if(_0xf4d50b['isSameNode']&&_0xf4d50b['isSameNode'](_0x3462ef))return;if(_0x4ddc6c(_0x3462ef,_0xf4d50b,_0x25ad73),_0x56ea9f)for(var _0x459ead=0x0,_0x19d261=_0x56ea9f['length'];_0x459ead<_0x19d261;_0x459ead++){var _0x231b90=_0x169e7b[_0x56ea9f[_0x459ead]];_0x231b90&&_0x320686(_0x231b90,_0x231b90['parentNode'],!0x1);}}return!_0x25ad73&&_0x3462ef!==_0x5aa3e8&&_0x5aa3e8['parentNode']&&(_0x3462ef['actualize']&&(_0x3462ef=_0x3462ef['actualize'](_0x5aa3e8['ownerDocument']||Ud)),_0x5aa3e8['parentNode']['replaceChild'](_0x3462ef,_0x5aa3e8)),_0x3462ef;};}(function(_0x4e0c54,_0xb24ab4){var _0x4f0548,_0x30ac80,_0x298f4a,_0x5bd37c,_0x40c53f=_0xb24ab4['attributes'];if(0xb!==_0xb24ab4['nodeType']&&0xb!==_0x4e0c54['nodeType']){for(var _0x24a39c=_0x40c53f['length']-0x1;_0x24a39c>=0x0;_0x24a39c--)_0x30ac80=(_0x4f0548=_0x40c53f[_0x24a39c])['name'],_0x298f4a=_0x4f0548['namespaceURI'],_0x5bd37c=_0x4f0548['value'],_0x298f4a?(_0x30ac80=_0x4f0548['localName']||_0x30ac80,_0x4e0c54['getAttributeNS'](_0x298f4a,_0x30ac80)!==_0x5bd37c&&('xmlns'===_0x4f0548['prefix']&&(_0x30ac80=_0x4f0548['name']),_0x4e0c54['setAttributeNS'](_0x298f4a,_0x30ac80,_0x5bd37c))):_0x4e0c54['getAttribute'](_0x30ac80)!==_0x5bd37c&&_0x4e0c54['setAttribute'](_0x30ac80,_0x5bd37c);for(var _0x33ebba=_0x4e0c54['attributes'],_0x54c040=_0x33ebba['length']-0x1;_0x54c040>=0x0;_0x54c040--)_0x30ac80=(_0x4f0548=_0x33ebba[_0x54c040])['name'],(_0x298f4a=_0x4f0548['namespaceURI'])?(_0x30ac80=_0x4f0548['localName']||_0x30ac80,_0xb24ab4['hasAttributeNS'](_0x298f4a,_0x30ac80)||_0x4e0c54['removeAttributeNS'](_0x298f4a,_0x30ac80)):_0xb24ab4['hasAttribute'](_0x30ac80)||_0x4e0c54['removeAttribute'](_0x30ac80);}});class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x54e1aa){this['options']={'delay':_0x54e1aa['delay']??0x14,'textNodeStyle':_0x54e1aa['textNodeStyle'],'onStreamUpdate':_0x54e1aa['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x2ee70e,targetElement:_0x4970fc,abortSignal:_0x1c5570}){this['isStreaming']&&this['stop'](),_0x1c5570?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=ca(_0x2ee70e,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x222870=0x0;_0x222870<this['currentIndex'];_0x222870++)this['nodesList'][_0x222870]['shouldBeStreamed']=!0x0;do{const _0x4d2644=Date['now'](),_0xf19475=this['nodesList'][this['currentIndex']],_0x583152=_0x4d2644-this['lastUpdateTime'];if(_0xf19475){_0xf19475['shouldBeStreamed']=!0x0;let _0x5828ca=_0xf19475['parent'];for(;_0x5828ca;)_0x5828ca['shouldBeStreamed']=!0x0,_0x5828ca=_0x5828ca['parent'];}if(_0x583152<this['options']['delay'])try{const {promise:_0x290225,abortController:_0x5e43ba}=Jd(this['options']['delay']-_0x583152);this['timeoutAbortController']=_0x5e43ba,await _0x290225;}catch(_0x3efc0e){return;}Wd(_0x4970fc,'<'+_0x4970fc['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x4970fc['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:_0x36d994}){Array['from'](_0x36d994['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x4097ca=>{_0x4097ca['replaceWith'](_0x4097ca['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x1da659){let _0x577f2='';if(function(_0x45780a){return oa(_0x45780a);}(_0x1da659)){for(const _0x5bacfe of _0x1da659['children'])_0x577f2+=this['renderNode'](_0x5bacfe);}else{if(Kd(_0x1da659)){if(!_0x1da659['shouldBeStreamed'])return'';const _0x3bed32=_0x1da659,_0x3e219f=Object['entries'](_0x3bed32['attribs'])['map'](([_0x27a072,_0x297fd5])=>_0x27a072+'=\x22'+_0x297fd5+'\x22')['join']('\x20');_0x577f2+='<'+_0x3bed32['tagName']+(_0x3e219f?'\x20'+_0x3e219f:'')+'>';for(const _0x51f21c of aa(_0x3845b5=_0x3bed32)?_0x3845b5['children']:[])_0x577f2+=this['renderNode'](_0x51f21c);_0x577f2+='</'+_0x3bed32['tagName']+'>';}else{if(!Yd(_0x1da659))return'';if(!_0x1da659['shouldBeStreamed'])return'';!function(_0xb704d0){if(!_0xb704d0['parent']||!Kd(_0xb704d0['parent']))return!0x1;if(!zd['includes'](_0xb704d0['parent']['tagName']))return!0x1;return!Sa(_0xb704d0)['match'](/^\s*[<>]\s*$/);}(_0x1da659)?_0x577f2+=Ta(_0x1da659):_0x577f2+=Ta(new ia('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x1da659]));}}var _0x3845b5;return _0x577f2;}['getParsedDocumentNodeList'](){const _0x33adb8=[];return function(_0xe003,_0x225428){const _0x39f0da=_0x2e9613=>{if(_0x225428(_0x2e9613),_0x2e9613 instanceof NodeWithChildren)for(let _0x3122d6=0x0;_0x3122d6<_0x2e9613['children']['length'];_0x3122d6++){const _0x2f3107=_0x2e9613['children'][_0x3122d6];_0x39f0da(_0x2f3107);}};for(let _0x23977d=0x0;_0x23977d<_0xe003['children']['length'];_0x23977d++)_0x39f0da(_0xe003['children'][_0x23977d]);}(this['document'],_0x1b4bed=>{if(Yd(_0x1b4bed)){const _0x333d2f=this['splitTextNodeIntoWordNodes'](_0x1b4bed);_0x333d2f['length']&&_0x33adb8['push'](..._0x333d2f);}_0x1b4bed['isWordSplitSource']||_0x1b4bed['isWordSplitResult']||_0x33adb8['push'](_0x1b4bed);}),_0x33adb8;}['splitTextNodeIntoWordNodes'](_0x4f693c){if(_0x4f693c['isWordSplitSource']||_0x4f693c['isWordSplitResult'])return[];const _0x90b9a=Sa(_0x4f693c)['match'](/(?:\s*\S+\s*)/g),_0x334505=[];if(_0x90b9a&&_0x90b9a['length']>0x1){for(const _0x225eb7 of _0x90b9a){const _0x2b38e4=new ta(_0x225eb7);_0x2b38e4['isWordSplitResult']=!0x0,Ma(_0x4f693c,_0x2b38e4),_0x334505['push'](_0x2b38e4);}_0x4f693c['isWordSplitSource']=!0x0,ka(_0x4f693c);}return _0x334505;}}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(_0x21aa24){return na(_0x21aa24);}function Kd(_0x1b498d){return sa(_0x1b498d);}function Jd(_0x1e8554){const _0x4c14b1=new AbortController();return{'promise':new Promise((_0x457c47,_0x56adaa)=>{const _0x4229ca=setTimeout(_0x457c47,_0x1e8554);_0x4c14b1['signal']['addEventListener']('abort',()=>{clearTimeout(_0x4229ca),_0x56adaa();});}),'abortController':_0x4c14b1};}class AIChatFeedItemView extends _0x3989d4{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x431372){super();const _0x743341=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']=_0x431372,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x743341['if']('isDone','ck-ai-chat__feed__item_done'),_0x743341['if']('isVisible','ck-hidden',_0x48c85c=>!_0x48c85c),'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'](_0x16f2b2=>{_0x16f2b2['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0xf4d13e,_0x4da231,_0x2fb410){await this['htmlStreamer']['stream']({'document':_0xf4d13e,'targetElement':_0x4da231,'abortSignal':_0x2fb410});}}class AISuggestionHeaderView extends _0x3989d4{['showChangesToggleView'];constructor(_0x23dd1e,_0x1dcbf5){super(_0x23dd1e),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new ShowChangesToggleView(_0x23dd1e),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':ho(_0x23dd1e,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x1dcbf5['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x4e1541=>_0x4e1541?_0x1ddc5d:_0x5b7b98),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x2573d3=new _0x1bf0d6();_0x2573d3['content']=_0x5312e4,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x1dcbf5['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x2573d3,{'tag':'span','children':[ho(_0x23dd1e,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class ShowChangesToggleView extends _0x2e803a{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const tf={'accepted':_0x9afa8a,'rejected':_0xe1b286,'outdated':_0xe1b286};class AISuggestionContentPartStateView extends _0x3989d4{['stateIconView'];constructor(_0x3d53b6){super(_0x3d53b6);const _0xed660d=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',_0xed660d['to']('state',_0x291dee=>'ck-ai-suggestion__content-part-state_'+_0x291dee),_0xed660d['if']('isVisible','ck-hidden',_0x30dd05=>!_0x30dd05)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xed660d['to']('state',_0xbec7=>{switch(_0xbec7){case'accepted':return ho(_0x3d53b6,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return ho(_0x3d53b6,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return ho(_0x3d53b6,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0xbc3b13){this['state']=_0xbc3b13;}}class StateIconView extends _0x1bf0d6{constructor(){super(),this['set']('state','accepted'),this['content']=tf[this['state']],this['on']('change:state',()=>{this['content']=tf[this['state']];});}}class AISuggestionContentPartToolbarView extends _0x1421bf{['_applyButton'];['_suggestButton'];constructor(_0x9b176f,_0x3cdfa2,_0x398697){super(_0x9b176f);const _0x329b7b=Boolean(_0x398697);this['set']('isEnabled',!_0x329b7b),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x25ea78=[];if(_0x329b7b){const _0x2515af=new _0x2e803a(_0x9b176f);_0x2515af['set']({'label':ho(_0x9b176f,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5dd267}),_0x25ea78['push'](_0x2515af);}else{_0x3cdfa2['includes']('applySuggestion')&&(this['_applyButton']=new _0x2e803a(_0x9b176f),this['_applyButton']['set']({'label':ho(_0x9b176f,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x9afa8a}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x25ea78['push'](this['_applyButton'])),_0x3cdfa2['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x2e803a(_0x9b176f),this['_suggestButton']['set']({'label':ho(_0x9b176f,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x454940}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x25ea78['push'](this['_suggestButton']));const _0x5992d0=new _0x2e803a(_0x9b176f);_0x5992d0['set']({'label':ho(_0x9b176f,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xe1b286}),_0x5992d0['bind']('isEnabled')['to'](this),_0x5992d0['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x25ea78['push'](_0x5992d0);}this['items']['addMany'](_0x25ea78);const _0x346b85=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x346b85['if']('isVisible','ck-hidden',_0x182852=>!_0x182852)]}});}['setButtonsVisibility']({showApplyButton:_0xa4060a,showSuggestButton:_0x3df6e9}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0xa4060a),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x3df6e9);}}class AISuggestionContentPartHeaderView extends _0x3989d4{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x5764ff,{part:_0xa22939,uiIndex:_0xb49b9b,availableActions:_0x3ab084,areActionsDisabled:_0x57aa5d}){super(_0x5764ff),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x5764ff,_0x3ab084,_0x57aa5d),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0xa22939['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0xa22939['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0xa22939['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x5764ff),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x5764ff,_0xb49b9b),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',(_0x20c5a1,_0x5f9763,_0x3c6a54,_0x14c3a8)=>{'pending'===_0x14c3a8?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x3c6a54?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x3c6a54),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x3989d4{constructor(_0x42205f,_0x42ae9f){super(_0x42205f),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[ho(_0x42205f,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x42ae9f['toString']())]});}}class AISuggestionStreamableContentView extends _0x3989d4{['htmlStreamer'];constructor(_0x7deb02){super(_0x7deb02),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:_0x513171,renderingStrategy:_0x34027c,abortSignal:_0x269ba3}){'streaming'===_0x34027c?await this['htmlStreamer']['stream']({'document':_0x513171['content'],'targetElement':this['element'],'abortSignal':_0x269ba3}):this['element']['innerHTML']=Qa(_0x513171['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends _0x3989d4{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x1e988a,{part:_0x53ef4d,uiIndex:_0x5ccdec,areActionsDisabled:_0x16a15a,availableActions:_0x3548c9}){super(_0x1e988a);const _0x47b28f=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x21fb0f=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x16a15a;};this['on']('change:state',_0x21fb0f),this['on']('change:isDone',_0x21fb0f),_0x21fb0f(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x1e988a,{'part':_0x53ef4d,'uiIndex':_0x5ccdec,'availableActions':_0x3548c9,'areActionsDisabled':_0x16a15a}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](...Qd)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x1e988a),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x47b28f['to']('state',_0x21782f=>'ck-ai-suggestion__body__content-part_'+_0x21782f),_0x47b28f['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x47b28f['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x47b28f['if']('isVisible','ck-hidden',_0x4df2b9=>!_0x4df2b9)]},'children':this['_children'],'on':{'mouseenter':_0x47b28f['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x53ef4d['index']});}),'mouseleave':_0x47b28f['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x53ef4d['index']});}),'click':_0x47b28f['to'](_0x17a4c5=>{const _0x233dbb=_0x17a4c5['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x233dbb)&&this['fire']('showChangeInText',{'index':_0x53ef4d['index']});})}});}async['updateContent']({part:_0x265d95,renderingStrategy:_0x358f4e,showUnchangedParts:_0x12117a=!0x1,abortSignal:_0x5f20e6}){this['partDefinition']=_0x265d95,this['isVisible']=this['partDefinition']['hasChanges']||_0x12117a,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x265d95,'renderingStrategy':_0x358f4e,'abortSignal':_0x5f20e6});}['markAsDone'](){this['isDone']=!0x0;}}class PromiseQueue extends _0x199f48(){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x4d5fae){const _0x2154b1=this['createTask'](_0x4d5fae);return this['queue']['push'](_0x2154b1),this['_processQueue'](),_0x2154b1['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(_0x4d3089=>{this['once']('_queueEmpty',()=>{_0x4d3089();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x28f473=this['queue']['shift']();try{await _0x28f473['callback'](this['_abortController']['signal']),_0x28f473['resolve']();}catch(_0x44f712){_0x28f473['reject'](_0x44f712);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x1cd835){let _0x25aca1,_0xd27bbc;const _0x201af1=new Promise((_0x292b01,_0x63d619)=>{_0x25aca1=_0x292b01,_0xd27bbc=_0x63d619;});return{'callback':_0x1cd835,'resolve':_0x25aca1,'reject':_0xd27bbc,'completePromise':_0x201af1};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0xa7aac9){super(_0xa7aac9),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0xa7aac9['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x3f5f20){this['element']['innerHTML']=_0x3f5f20;}}const ef=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0x3989d4{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x3e0138,_0xf42b7f=[...ef],_0x2137cd){super(_0x3e0138);const _0x57f621=this['bindTemplate'],_0x533e0e=Boolean(_0x2137cd);if(this['set']('isEnabled',!_0x533e0e),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x533e0e){const _0x199b83=new _0x2e803a(_0x3e0138);_0x199b83['set']({'label':ho(_0x3e0138,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5dd267});const _0x71678a=new _0x3989d4(_0x3e0138);_0x71678a['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[ho(_0x3e0138,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x199b83]}]}),this['children']['add'](_0x71678a);}else this['_applyChangesButton']=new _0x2e803a(_0x3e0138),this['_applyChangesButton']['set']({'label':ho(_0x3e0138,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0xf42b7f['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new _0x2e803a(_0x3e0138),this['_insertSuggestionsButton']['set']({'label':ho(_0x3e0138,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0xf42b7f['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'](_0x2df0aa=>{_0x2df0aa['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',_0x57f621['if']('isVisible','ck-hidden',_0x2b0e64=>!_0x2b0e64)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x3dd7e8){this['isVisible']=_0x3dd7e8;}['_switchButtonLabelsPlurality'](_0x2e8ded){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x2e8ded?(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 _0x3989d4{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x1f2045,_0x1930ca){super(_0x1f2045),this['bodyCollection']=_0x1930ca,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',_0x4e06f2=>!_0x4e06f2)]},'children':this['children']});const _0x5b94ea=new _0x3989d4(this['locale']),_0xe1c2b3=new _0x1bf0d6();_0xe1c2b3['content']=_0x26db1d,_0x5b94ea['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0xe1c2b3,{'tag':'span','children':[{'text':ho(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x5b94ea),this['_setupBalloonPanel'](_0x1f2045);}['addSource'](_0x31bc09){this['children']['add'](new AIWebSourceView(this['locale'],_0x31bc09,this['balloonPanelView']));}['_setupBalloonPanel'](_0x3b04fe){this['balloonPanelView']=new ft(_0x3b04fe),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class AIWebSourceView extends _0x2e803a{['balloonPanelView'];['source'];constructor(_0xfb4c7b,_0x4854d8,_0x2c90a0){super(_0xfb4c7b),this['source']=_0x4854d8,this['balloonPanelView']=_0x2c90a0,this['set']({'label':_0x4854d8['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x2d3ce0=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x2d3ce0['to'](()=>{window['open'](_0x4854d8['url'],'_blank');}),'mouseenter':_0x2d3ce0['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x2d3ce0['to'](()=>{this['_hideTooltip']();})}}),_0x4854d8['favicon']){const _0xce7e23=new _0x3989d4(_0xfb4c7b);_0xce7e23['setTemplate']({'tag':'img','attributes':{'src':_0x4854d8['favicon']||_0x26db1d,'alt':_0x4854d8['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0xce7e23);}else this['set']('icon',_0x26db1d);}['_createTooltipContentView'](_0x4e994e,_0x167f19){const _0x16e87b=new _0x3989d4(_0x4e994e),_0x4fb7c0=[];let _0x48c935;_0x167f19?.['favicon']?(_0x48c935=new _0x3989d4(_0x4e994e),_0x48c935['setTemplate']({'tag':'img','attributes':{'src':_0x167f19['favicon'],'alt':_0x167f19['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x48c935=new _0x1bf0d6(),_0x48c935['content']=_0x26db1d,_0x48c935['extendTemplate']({'attributes':{'alt':_0x167f19['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x4fb7c0['push'](_0x48c935);const _0x54bebe=new _0x3989d4(_0x4e994e);_0x54bebe['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x167f19['url']},'children':[{'text':new URL(_0x167f19['url'])?.['hostname']}]}),_0x4fb7c0['push'](_0x54bebe);const _0x49fded=new _0x3989d4(_0x4e994e);_0x49fded['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x4fb7c0});const _0x53404e=new _0x3989d4(_0x4e994e);return _0x53404e['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x167f19['title']['length']>0x190?_0x167f19['title']['substring'](0x0,0x190)+'...':_0x167f19['title']}]}),_0x16e87b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x49fded,_0x53404e]}),_0x16e87b;}['_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 _0x466988=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x466988);}}class AISuggestionBodyView extends _0x3989d4{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x35f612,_0x2608d9){super(_0x35f612);const {areActionsDisabled:_0x2c453c,showUnchangedParts:_0x2b8a69,availableActions:_0x236df4}=_0x2608d9;this['_areActionsDisabled']=_0x2c453c,this['_showUnchangedParts']=_0x2b8a69,this['_availableActions']=_0x236df4,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(_0x35f612,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x35f612,_0x2608d9['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new AIWebSourcesView(this['locale'],_0x2608d9['bodyCollection']),_0x2608d9['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:_0xcc3d92,renderingStrategy:_0x531251,abortSignal:_0x2106bb}){this['_children']['length']?_0xcc3d92['forEach'](_0x189a1b=>{const _0x1f8586=this['_cachedContentParts']['findIndex'](_0x5ea8d7=>_0x5ea8d7['index']==_0x189a1b['index']);-0x1===_0x1f8586?this['_cachedContentParts']['push'](_0x189a1b):this['_cachedContentParts'][_0x1f8586]=_0x189a1b;}):this['_cachedContentParts']=_0xcc3d92;const _0x46f599=this['_showUnchangedParts']?_0xcc3d92:_0xcc3d92['filter'](_0x3b388b=>_0x3b388b['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x46f599['length']>0x1);for(const _0x1bad61 of _0x46f599)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x245d32=>{let _0xfbf93d=this['getPartView'](_0x1bad61['index']);_0xfbf93d||(_0xfbf93d=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x1bad61,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0xfbf93d['delegate'](...Qd)['to'](this),this['_children']['add'](_0xfbf93d),this['hasPendingParts']=!0x0),await _0xfbf93d['updateContent']({'part':_0x1bad61,'renderingStrategy':_0x531251,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x245d32}),_0xfbf93d['markAsDone']();});return _0x2106bb?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x3c0320,_0x2c2643){const _0x3966bb=this['getPartView'](_0x3c0320);_0x3966bb&&(_0x3966bb['state']=_0x2c2643),this['hasPendingParts']='pending'==_0x2c2643||Array['from'](this['_children'])['some'](_0x90818=>'pending'==_0x90818['state']);}['setPartActive'](_0x2496ab,_0x565861){if(!0x1===_0x2496ab){for(const _0x15b859 of this['_children'])_0x15b859['isActive']=!0x1;}else{const _0x275c8e=this['getPartView'](_0x2496ab);_0x275c8e&&(_0x275c8e['isActive']=_0x565861);}}['updateSources'](_0x3b0a66){_0x3b0a66['forEach'](_0x10ac2e=>this['_sourcesView']['addSource'](_0x10ac2e)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x9d98e4){return this['_children']['find'](_0x360a20=>_0x360a20['partDefinition']['index']==_0x9d98e4)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x45c5b5=!this['_cachedContentParts']['find'](({hasChanges:_0x14e5a1})=>_0x14e5a1),_0x5a130d=!!this['_cachedContentParts']['find'](({hasChanges:_0x438a05})=>!_0x438a05);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x5a130d,_0x45c5b5?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'](_0x485509=>_0x485509['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x2c15aa=>_0x2c15aa['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0x3989d4{['bodyView'];['children'];['headerView'];constructor(_0xfbfa38,_0x1ee31e,_0x4c23c0){super(_0xfbfa38);const {showDiff:_0x576b41,areActionsDisabled:_0x4d5129,showUnchangedParts:_0x35b474,availableActions:_0x26e52e}=_0x1ee31e;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0xfbfa38,{'showDiff':_0x576b41}),this['headerView']['on']('toggleShowChanges',(_0x229335,_0x2a8195)=>{this['areChangesVisible']=_0x2a8195['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x2a8195['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0xfbfa38,{'areActionsDisabled':_0x4d5129,'showUnchangedParts':!!_0x35b474,'availableActions':_0x26e52e,'bodyCollection':_0x4c23c0}),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'](_0x5a841e){await this['bodyView']['updateContentParts'](_0x5a841e);}['updateSources'](_0x3e7230){this['bodyView']['updateSources'](_0x3e7230);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x4928f0,_0x4ab65b,_0x2bb1ad){super(_0x4ab65b),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x4928f0,{'showDiff':_0x4ab65b['showDiff'],'areActionsDisabled':_0x4ab65b['areActionsDisabled'],'availableActions':_0x4ab65b['availableActions']},_0x2bb1ad),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x1c2bcb,_0x334681)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x334681['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',(_0x32d5dc,{index:_0x2d5272})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x2d5272});}),this['containerView']['on']('applySuggestion',(_0xf6bdff,{index:_0x561ad0}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x561ad0});}),this['containerView']['on']('insertSuggestion',(_0x4d0b25,{index:_0x4466bb}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4466bb});}),this['containerView']['on']('rejectSuggestion',(_0x36387f,{index:_0x5f0506})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x5f0506});}),this['containerView']['on']('mouseOverSuggestion',(_0x3e3ef7,{index:_0x44006f})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x44006f});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x391945,{index:_0x4fc9ac})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4fc9ac});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x412232){await this['containerView']['updateContent'](_0x412232);}['updatePartState'](_0x49dcd3,_0x44e72b){this['containerView']['bodyView']['updatePartState'](_0x49dcd3,_0x44e72b);}['setPartActive'](_0x51da54,_0x4f7ce6){!0x1===_0x51da54?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x51da54,_0x4f7ce6);}['updateSources'](_0x3f6770){this['containerView']['updateSources'](_0x3f6770);}['getPartView'](_0x380a8f){return this['containerView']['bodyView']['getPartView'](_0x380a8f);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x2931ca,_0x5963ca,_0x1b1df3){super(_0x5963ca),this['_bodyCollection']=_0x1b1df3,this['locale']=_0x2931ca,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x3989d4(),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:_0x1182e8,renderingStrategy:_0x30386a,abortSignal:_0x37d0c7}){'streaming'===_0x30386a?await this['streamIntoElement'](_0x1182e8,this['replyContainer']['element'],_0x37d0c7):this['replyContainer']['element']['innerHTML']=Ta(_0x1182e8);}['updateSources'](_0x55764){const _0x50a0b0=new AIWebSourcesView(this['locale'],this['_bodyCollection']);_0x50a0b0['children']['addMany'](_0x55764['map'](_0x133dcf=>new AIWebSourceView(this['locale'],_0x133dcf,_0x50a0b0['balloonPanelView']))),_0x50a0b0['isVisible']=!0x0,this['children']['add'](_0x50a0b0);}}class AISpinnerView extends _0x4341e6{constructor(_0x37e7e9=void 0x0){super();const _0x216bca=_0x37e7e9?'ck-ai-spinner_'+_0x37e7e9:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x216bca]}});}}const sf={'file':_0x1045db,'document':_0x434c49,'web-resource':_0x339631,'text':_0x1045db,'selection':_0x7b31dd,'mcp-tool-context':_0x434c49},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 _0x2e803a{constructor(_0x22400b,_0x529e51,_0x4806ef,_0x10efe9,_0x1b7a08=!0x1){super(_0x22400b),this['_isAnimationOnEnterEnabled']=_0x10efe9,this['_initializeProperties'](_0x529e51,_0x4806ef,_0x1b7a08),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'](_0x1a3fec,_0x55cde0,_0x675c7d){this['set']('label',_0x1a3fec['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x1a3fec['type']),this['set']('id',_0x1a3fec['uiId']),this['set']('readonly',_0x55cde0),this['set']('isLoading',_0x675c7d);}['_setupTemplate'](){const _0x54c427=this['_createIconView'](),_0x17f481=this['_createRemoveButton'](),_0x14c8cc=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x14c8cc),'children':this['_createTemplateChildren'](_0x54c427,_0x17f481,_0x14c8cc)});}['_createTemplateAttributes'](_0xdce975){return{'class':[nf,_0xdce975['if']('itemType',of,_0x329f27=>'document'==_0x329f27),_0xdce975['if']('itemType',rf,_0x45dedc=>'selection'==_0x45dedc)],'data-cke-tooltip-text':_0xdce975['to']('label',uf),'data-cke-tooltip-position':hf,'data-cke-tooltip-class':lf};}['_createTemplateChildren'](_0x4cb6c3,_0x3558b2,_0x4be0d9){const _0x140e9a=this['_createLabelElement'](_0x4be0d9),_0x39dc0a=this['_createLoaderIcon']();return this['readonly']?[_0x4cb6c3,_0x140e9a]:[_0x4cb6c3,_0x39dc0a,_0x140e9a,_0x3558b2];}['_createLabelElement'](_0x11d40e){return{'tag':'span','attributes':{'class':af},'children':[{'text':_0x11d40e['to']('label')}]};}['_createRemoveButton'](){const _0x5a3c3f=new _0x2e803a(this['locale']);return _0x5a3c3f['set']({'label':ho(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':tn}),this['_setupRemoveButtonEvent'](_0x5a3c3f),_0x5a3c3f;}['_setupRemoveButtonEvent'](_0x25e014){_0x25e014['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x323368=this['bindTemplate'],_0x1abf77=new _0x1bf0d6();return _0x1abf77['content']=sf[this['itemType']],_0x1abf77['extendTemplate']({'attributes':{'class':[cf,_0x323368['if']('isLoading','ck-hidden',_0x251f56=>_0x251f56)]}}),_0x1abf77;}['_handleAnimationEndOnce'](_0x56a49a,_0x479b23){if(!_0x56a49a)return;const _0x3e566e=()=>{_0x479b23(),_0x56a49a['removeEventListener']('animationend',_0x3e566e),_0x56a49a['removeEventListener']('webkitAnimationEnd',_0x3e566e);};_0x56a49a['addEventListener']('animationend',_0x3e566e),_0x56a49a['addEventListener']('webkitAnimationEnd',_0x3e566e);}['_createLoaderIcon'](){const _0x324649=new AISpinnerView('small');return _0x324649['bind']('isVisible')['to'](this,'isLoading',_0x3747bd=>_0x3747bd),_0x324649;}}function uf(_0x367928){if(!_0x367928)return _0x367928;if(_0x367928['length']<=0x78)return _0x367928;const _0x91223d=_0x367928['slice'](0x0,0x78),_0x256871=_0x91223d['lastIndexOf']('\x20');return(_0x256871>0x0?_0x91223d['slice'](0x0,_0x256871):_0x91223d)+'…';}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(_0x5e335b,_0x1ce06e,_0x3e51ad,_0x119959,_0x4c3ca1){this['_locale']=_0x5e335b,this['_visibleChips']=_0x1ce06e,this['_config']={...df,..._0x3e51ad,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x3e51ad['cssClasses']}},this['_overflowChips']=new _0x4711ed(),this['_bodyCollection']=_0x119959,this['_parentView']=_0x4c3ca1||null;}['setContainerElement'](_0x4d6357){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x4d6357,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 _0x1e01b1=[...this['_visibleChips'],...this['_overflowChips']],_0x3978ed=this['_createCalculationContainer'](),_0x356e41=this['_calculateOverflowInContainer'](_0x3978ed,_0x1e01b1),_0x3f7d84=_0x3978ed['_ancestorsToRestore'];_0x3f7d84&&this['_restoreAncestorVisibility'](_0x3f7d84),_0x3978ed['remove'](),this['_applyOverflowResults'](_0x1e01b1,_0x356e41);}['_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 _0x188661=new _0x2e803a(this['_locale']);_0x188661['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x3d3844=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x3d3844['push'](this['_config']['cssClasses']['controlsButton']),_0x188661['extendTemplate']({'attributes':{'class':_0x3d3844}}),_0x188661;}['_createShowMoreBalloonPanelView'](){const _0x225169=new ft(this['_locale']);return _0x225169['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x225169),_0x225169;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x5b1e6e=>{_0x5b1e6e['disableAnimationOnEnter']();});const _0x46b444=new _0x3989d4(this['_locale']);_0x46b444['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x46b444);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x440cf8=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x440cf8?'':'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'](_0x4177de){const _0x727b7b=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x58d0d5=this['_containerElement']?.['classList'];if(_0x58d0d5){const _0x14f320=_0x58d0d5[0x0]||'',_0x4e1b81=_0x4177de['querySelector']('.'+_0x14f320),_0x4ab8a4=_0x4177de['querySelector'](_0x727b7b);return _0x4e1b81||_0x4ab8a4||_0x4177de;}return _0x4177de['querySelector'](_0x727b7b)||_0x4177de;}['_calculateContainerWidth'](){const _0x272fa6=this['_parentView']?.['element']||this['_containerElement'];if(!_0x272fa6)return ff;const _0x55f1ff=window['getComputedStyle'](_0x272fa6)['width'];if('auto'===_0x55f1ff||'0px'===_0x55f1ff||!_0x55f1ff){const _0x588740=_0x272fa6['parentElement'];if(_0x588740){const _0x10e751=window['getComputedStyle'](_0x588740);return'auto'!==_0x10e751['width']?_0x10e751['width']:ff;}return ff;}return _0x55f1ff;}['_applyCalculationStyles'](_0x4f1b8c,_0x31edbd){this['_config']['cssClasses']['calculationContainer']&&_0x4f1b8c['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x4f1b8c['style']['width']=_0x31edbd,_0x4f1b8c['style']['position']='absolute',_0x4f1b8c['style']['top']='-9999px',_0x4f1b8c['style']['left']='-9999px',_0x4f1b8c['style']['opacity']='0',_0x4f1b8c['style']['pointerEvents']='none',_0x4f1b8c['style']['zIndex']='-1',_0x4f1b8c['style']['visibility']='visible\x20!important',_0x4f1b8c['style']['display']='block\x20!important',_0x4f1b8c['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x39afed){_0x39afed['forEach'](({element:_0x294c3b,originalDisplay:_0x16e9c1,originalVisibility:_0x51c96a})=>{_0x294c3b['style']['display']=_0x16e9c1,_0x294c3b['style']['visibility']=_0x51c96a;});}['_makeAncestorsVisible'](_0x1176ed){const _0xab888=[];let _0x12a524=_0x1176ed;for(;_0x12a524&&_0x12a524!==document['body'];){const _0x121d5a=window['getComputedStyle'](_0x12a524);'none'!==_0x121d5a['display']&&'hidden'!==_0x121d5a['visibility']||(_0xab888['push']({'element':_0x12a524,'originalDisplay':_0x12a524['style']['display'],'originalVisibility':_0x12a524['style']['visibility']}),_0x12a524['style']['display']='block',_0x12a524['style']['visibility']='visible'),_0x12a524=_0x12a524['parentElement'];}return _0xab888;}['_createContainerElements'](){let _0x3062b9,_0xfe7bee;return this['_parentView']?.['element']?(_0x3062b9=this['_parentView']['element']['cloneNode'](!0x0),_0xfe7bee=this['_findTargetContainer'](_0x3062b9)):(_0x3062b9=document['createElement']('div'),_0xfe7bee=_0x3062b9),{'calculationContainer':_0x3062b9,'targetContainer':_0xfe7bee};}['_createCalculationContainer'](){const {calculationContainer:_0x4f3c33,targetContainer:_0x325de5}=this['_createContainerElements'](),_0x147265=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x4f3c33,_0x147265);const _0x45908d=this['_parentView']?.['element']||this['_containerElement'],_0x4e7c6d=_0x45908d?.['parentElement'];_0x4e7c6d?_0x4e7c6d['appendChild'](_0x4f3c33):document['body']['appendChild'](_0x4f3c33),_0x4f3c33['_targetContainer']=_0x325de5;const _0x23fc48=this['_makeAncestorsVisible'](_0x4e7c6d||null);return _0x4f3c33['offsetWidth'],_0x4f3c33['_ancestorsToRestore']=_0x23fc48,_0x4f3c33;}['_calculateOverflowInContainer'](_0x1aa6b2,_0x1119da){const _0x322d60=_0x1aa6b2['_targetContainer']||_0x1aa6b2,_0x43ce7c=[],{rowCount:_0x1e50c8}=this['_renderChipsAndCountRows'](_0x322d60,_0x1119da);if(_0x1e50c8<=this['_config']['maxVisibleRows'])return _0x43ce7c;const _0xef51cd=_0x1119da['slice']();for(;_0xef51cd['length']>0x0;){if(this['_testButtonFit'](_0x1aa6b2,_0x322d60,_0xef51cd)){const _0x414f65=_0x1119da['filter'](_0x357d43=>!_0xef51cd['includes'](_0x357d43));_0x43ce7c['push'](..._0x414f65);break;}if(!_0xef51cd['pop']())break;}return _0x43ce7c;}['_renderChipsAndCountRows'](_0xc70b7a,_0xd3896e){_0xc70b7a['innerHTML']='',_0xd3896e['forEach'](_0x46c1ec=>{if(_0x46c1ec['element']){const _0x40ae4e=_0x46c1ec['element']['cloneNode'](!0x0);_0xc70b7a['appendChild'](_0x40ae4e);}}),_0xc70b7a['offsetWidth'];const _0x4b53ce=_0xc70b7a['children'],_0x4c88fd=[];return Array['from'](_0x4b53ce)['forEach'](_0x27a98f=>{const _0x32c89a=_0x27a98f['getBoundingClientRect']()['top'];_0x4c88fd['some'](_0x55681b=>Math['abs'](_0x55681b-_0x32c89a)<this['_config']['rowDetectionTolerance'])||_0x4c88fd['push'](_0x32c89a);}),{'rowCount':_0x4c88fd['length']};}['_createMockButton'](){const _0x2208b7=document['createElement']('button');return _0x2208b7['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x2208b7['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x2208b7['textContent']='+\x201',_0x2208b7;}['_testButtonFit'](_0x4c1bb0,_0x23a450,_0x4595b1){this['_renderChipsAndCountRows'](_0x23a450,_0x4595b1);const _0x5eb9c7=this['_createMockButton']();_0x4c1bb0['appendChild'](_0x5eb9c7),_0x4c1bb0['offsetWidth'];const _0x732e7f=[..._0x23a450['children'],_0x5eb9c7],_0x534a3c=[];_0x732e7f['forEach'](_0x2c7da1=>{const _0x4cc2d5=_0x2c7da1['getBoundingClientRect']()['top'];_0x534a3c['some'](_0x23056a=>Math['abs'](_0x23056a-_0x4cc2d5)<this['_config']['rowDetectionTolerance'])||_0x534a3c['push'](_0x4cc2d5);});const _0x1aa898=_0x534a3c['length'];return _0x5eb9c7['remove'](),_0x1aa898<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x4f421a,_0x29ffe3){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x4f421a['forEach'](_0x40d3d6=>{_0x29ffe3['includes'](_0x40d3d6)?this['_overflowChips']['add'](_0x40d3d6):this['_visibleChips']['add'](_0x40d3d6);});}['_updateOverflowUI'](_0x221efb){if(_0x221efb>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x221efb>0x0&&this['_showMoreButtonView']){const _0x5932bf=''+this['_config']['showMoreLabelPrefix']+(_0x221efb<0x63?_0x221efb:'99');this['_showMoreButtonView']['label']=_0x5932bf;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x5bfd18,_0x3d14bb){this['_distributeChips'](_0x5bfd18,_0x3d14bb),this['_updateOverflowUI'](_0x3d14bb['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x348f73=>{_0x348f73[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 _0x5a85d8=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x5a85d8['width']||0x0===_0x5a85d8['height'])return!0x1;const _0x3cbf7a=window['innerHeight']||document['documentElement']['clientHeight'],_0xd220ab=window['innerWidth']||document['documentElement']['clientWidth'],_0x273bfe=0xc8;return _0x5a85d8['bottom']>=-0xc8&&_0x5a85d8['top']<=_0x3cbf7a+_0x273bfe&&_0x5a85d8['right']>=-0xc8&&_0x5a85d8['left']<=_0xd220ab+_0x273bfe;}}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 _0x3989d4{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x5be245,_0x7d619,_0x554b0f){super(_0x5be245),this['_bodyCollection']=_0x554b0f,this['_createContextChips'](_0x7d619);const _0x39f0f8={'cssClasses':{'showMoreButton':wf,'showMoreBalloon':bf,'overflowContainer':pf,'controlsButton':Of}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x5be245,this['_contextChips'],_0x39f0f8,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 _0x17da1f=this['element']['querySelector']('.'+gf);_0x17da1f&&(this['_overflowManager']['setContainerElement'](_0x17da1f),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x284073){for(const _0x1d00ce of _0x284073){const _0x4af09e=new AIChatContextItemButtonView(this['locale'],_0x1d00ce,!0x0,!0x1);this['_contextChips']['add'](_0x4af09e);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x5023fb,_0x238985,_0x276219){super(_0x238985),this['_locale']=_0x5023fb,this['_bodyCollection']=_0x276219,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'](_0x3d0d87=>!_0x3d0d87['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x3989d4(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(_0x5d7a03,_0x5af081){super(_0x5af081);const {isWebSearchEnabled:_0x19490e,isReasoningEnabled:_0x55f526}=_0x5af081['capabilities'],_0x2ec87a=[];let _0x2b1634='';_0x19490e&&_0x55f526?(_0x2b1634=ho(_0x5d7a03,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x2ec87a['push'](yf(_0x26db1d)),_0x2ec87a['push'](yf(_0x5f199c))):_0x19490e?(_0x2b1634=ho(_0x5d7a03,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x2ec87a['push'](yf(_0x26db1d))):_0x55f526&&(_0x2b1634=ho(_0x5d7a03,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x2ec87a['push'](yf(_0x5f199c))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x2b1634?'':'ck-hidden']}});const _0x45fedd=new _0x3989d4();_0x45fedd['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x2ec87a,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x2b1634]}]}),this['children']['add'](_0x45fedd),this['capabilities']=_0x5af081['capabilities'];}}function yf(_0x2a2214){const _0x459809=new _0x1bf0d6();return _0x459809['content']=_0x2a2214,_0x459809;}const _f=['wheel','touchstart','pointerdown','keydown'],vf=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class ScrollManager{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x43b88c){this['element']=_0x43b88c,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x40be81 of _f){const _0x1d63c8='keydown'!==_0x40be81;this['element']['addEventListener'](_0x40be81,this['_onUserEvent']['bind'](this),{'passive':_0x1d63c8,'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'](_0x38610f){if(this['isRunning']){if('keydown'===_0x38610f['type']){const _0x29f960=_0x38610f['key'];if(!vf['includes'](_0x29f960))return;}_0x38610f instanceof WheelEvent?_0x38610f['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x5c6238,scrollHeight:_0xd4a664,clientHeight:_0x3f8b76}=this['element'];return _0xd4a664-_0x5c6238-_0x3f8b76<=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 _0x3989d4{constructor(_0x27f505,_0x17f049){super(_0x27f505),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x17f049)});}['_createSkeletonItems'](_0x38e7fb){const _0x389577=['ck','ck-ai-skeleton__item'];return _0x38e7fb['map'](_0x56cdef=>{let _0x29dd11='';switch(_0x56cdef['attributes']['align']){case'right':_0x29dd11='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x29dd11='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x29dd11='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x56cdef['tag'],'attributes':{'class':[..._0x389577,_0x56cdef['attributes']['class']?_0x56cdef['attributes']['class']:''],'style':'width:\x20'+_0x56cdef['attributes']['width']+';\x20height:\x20'+_0x56cdef['attributes']['height']+';'+_0x29dd11}};});}}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(_0x436c63,_0x154283,_0x4023c8,_0x185e0a){return new Array(_0x436c63)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x154283,'height':_0x4023c8,'align':_0x185e0a}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x5a0061){super(_0x5a0061),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 _0x3989d4{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x614842,_0x59a64f){super(_0x614842),this['_bodyCollection']=_0x59a64f,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'](_0x19d6f5,_0x251318){let _0x38a551;return'ai-reply'===_0x19d6f5?_0x38a551=new AIChatFeedReplyItemView(this['locale'],_0x251318,this['_bodyCollection']):'ai-suggestion-reply'===_0x19d6f5?(_0x38a551=new AIChatFeedSuggestionItemView(this['locale'],_0x251318,this['_bodyCollection']),_0x38a551['bind']('isTrackChangesOn')['to'](this)):_0x38a551='user-message'===_0x19d6f5?new AIChatFeedUserMessageItemView(this['locale'],_0x251318,this['_bodyCollection']):'interaction-header'===_0x19d6f5?new AIChatFeedInteractionHeaderView(this['locale'],_0x251318):'custom-element'===_0x19d6f5?new AIChatFeedCustomElementView(_0x251318):new AIChatFeedErrorItemView(_0x251318),this['children']['add'](_0x38a551),_0x38a551;}async['updateReplyItem']({id:_0x283559,parsedContent:_0x21b88a,renderingStrategy:_0x1baf8c,abortSignal:_0x2958be}){const _0x2d5849=this['getItemById'](_0x283559);if(!(_0x2d5849 instanceof AIChatFeedReplyItemView))throw new _0x37fbfa('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x2d5849,'id':_0x283559,'parsedContent':_0x21b88a});await _0x2d5849['updateContent']({'parsedContent':_0x21b88a,'renderingStrategy':_0x1baf8c,'abortSignal':_0x2958be});}async['updateWebSources'](_0x30c66a,_0x2d5b88){const _0x3c2878=this['getItemById'](_0x30c66a);if(_0x3c2878 instanceof AIChatFeedSuggestionItemView)_0x3c2878['updateSources'](_0x2d5b88);else{if(!(_0x3c2878 instanceof AIChatFeedReplyItemView))throw new _0x37fbfa('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x3c2878,'id':_0x30c66a,'sources':_0x2d5b88});_0x3c2878['updateSources'](_0x2d5b88);}}async['updateSuggestionItem']({id:_0x4a6dff,parts:_0x1b49e1,renderingStrategy:_0x636e40,abortSignal:_0x48cb93}){const _0x384054=this['getItemById'](_0x4a6dff);if(!(_0x384054 instanceof AIChatFeedSuggestionItemView))throw new _0x37fbfa('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x384054,'id':_0x4a6dff,'parts':_0x1b49e1});await _0x384054['updateContent']({'parts':_0x1b49e1,'renderingStrategy':_0x636e40,'abortSignal':_0x48cb93});}['updateSuggestionPartState']({id:_0xd9db77,index:_0x1a638c,state:_0x177c68}){const _0xb5d5b2=this['getItemById'](_0xd9db77);if(!(_0xb5d5b2 instanceof AIChatFeedSuggestionItemView))throw new _0x37fbfa('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0xd9db77});_0xb5d5b2['updatePartState'](_0x1a638c,_0x177c68);}['setSuggestionPartActive']({id:_0x4d98a6,index:_0x4f7c89,isActive:_0x24ef8a}){const _0x4b2697=this['getItemById'](_0x4d98a6);if(!(_0x4b2697 instanceof AIChatFeedSuggestionItemView))throw new _0x37fbfa('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x4d98a6});this['children']['filter'](_0x37deea=>_0x37deea instanceof AIChatFeedSuggestionItemView)['forEach'](_0x1bd6b7=>{_0x1bd6b7['setPartActive'](!0x1);}),_0x4b2697['setPartActive'](_0x4f7c89,_0x24ef8a);}['markItemAsDone'](_0x2c0b98){this['getItemById'](_0x2c0b98)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x5831c3=>_0x5831c3['options']['id']);}['removeItem'](_0x4ec965){this['children']['remove'](this['getItemById'](_0x4ec965));}['hasItem'](_0x30c0dc){return!!this['children']['find'](_0x4f621e=>_0x4f621e['options']['id']['includes'](_0x30c0dc));}['scrollToSuggestion'](_0x7eb281,_0x15ea8f){const _0x21a051=this['getItemById'](_0x7eb281);if(!(_0x21a051 instanceof AIChatFeedSuggestionItemView))return void _0xd86012('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x7eb281,'partIndex':_0x15ea8f});const _0x2f42a5=_0x21a051['getPartView'](_0x15ea8f);_0x2f42a5?_0x5a102d(_0x2f42a5['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0xd86012('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x7eb281,'partIndex':_0x15ea8f});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x343caf=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x343caf,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x48775f=new AISkeletonView(this['locale'],Tf['aiFeed']);return _0x48775f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x1078c7=>!_0x1078c7)]}}),_0x48775f;}['_createFeedItems'](){const _0x470852=new _0x3989d4(this['locale']);return _0x470852['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x470852;}['_createFeedLoader'](){const _0x4f74ca=new _0x3989d4(this['locale']);return _0x4f74ca['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x54fa08=>!_0x54fa08)]},'children':this['_createLoaderChildren']()}),_0x4f74ca;}['_createLoaderChildren'](){const _0x261bc3=new AISpinnerView();return _0x261bc3['isVisible']=!0x0,[_0x261bc3,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x2aedfa){const _0x37e524=this['children']['find'](_0xc475ba=>_0xc475ba['options']['id']['includes'](_0x2aedfa));if(!_0x37e524)throw new _0x37fbfa('ai-chat-feed-view-item-not-found',this,{'id':_0x2aedfa});return _0x37e524;}['setLoadingMessage'](_0x5dff0c){this['set']('loadingMessage',_0x5dff0c);}['toggleLoadingSkeleton'](_0x2314ea){this['set']('isLoadingSkeletonVisible',_0x2314ea);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0x3523c8{['filter'](){let _0x11487f=0x0;for(const _0x31a8c7 of this['items'])_0x11487f+=_0x31a8c7['items']['length'];return{'resultsCount':_0x11487f,'totalItemsCount':_0x11487f};}}const Af='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0xf4da9f{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x3a8bdb,_0x16e933){super(_0x3a8bdb,{'queryView':{'label':'','creator':et,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x3a8bdb),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x16e933,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',(_0x17d2f4,_0x43b917)=>!_0x17d2f4&&!_0x43b917),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x4123b8,_0x540b5e)=>{this['isUploadInProgress']||this['isEmpty']||_0x4123b8['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x540b5e());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x27dd03=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x27dd03)return this['queryView']['errorText']=ho(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x3486d1=zr(_0x27dd03);this['fire']('sendUserMessage',_0x3486d1),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x1694e4){this['queryView']['fieldView']['set']('placeholder',_0x1694e4);}['focus'](_0x3d37f5=!0x1){super['focus'](),_0x3d37f5&&(this['element']['classList']['contains'](Af)||(this['element']['classList']['add'](Af),setTimeout(()=>{this['element']['classList']['remove'](Af);},0x320)));}['_createSubmitButton'](){const _0x5e66dc=new _0x2e803a(this['locale']);return _0x5e66dc['set']({'icon':_0x108f32,'label':ho(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x5e66dc['on']('execute',()=>{this['submit']();}),_0x5e66dc;}['setIsUploadInProgress'](_0x3bbca8){this['isUploadInProgress']=_0x3bbca8;}['_setUpAddContextButtonPositioning'](){const _0x1a640a=this['locale'],_0x3b4edc=()=>{_0x4cdc9d['window']['requestAnimationFrame'](()=>{if(_0x29b829(this['element'])){const _0x40fc47=new _0x1faa00(this['queryView']['fieldView']['element']),_0x1dbd97=new _0x1faa00(this['_addContextButtonView']['element']),_0x1c0a02=_0x40fc47['width'],_0x1de23b='rtl'===_0x1a640a['uiLanguageDirection']?'right':'left';_0x40fc47['excludeScrollbarsAndBorders']();const _0x23e15a=_0x1c0a02-_0x40fc47['width']+0x1;this['_addContextButtonView']['element']['style'][_0x1de23b]='calc('+(_0x1c0a02-_0x1dbd97['width']-_0x23e15a)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x3b4edc),this['on']('render',()=>{_0x3b4edc(),this['_queryViewResizeObserver']=new _0x2e8e7a(this['queryView']['fieldView']['element'],()=>{_0x3b4edc();});});}}const If='ck-ai-chat__prompt-capabilities',Sf='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 _0x3989d4{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x25b897){super(_0x25b897),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',_0x14d6e3=>'selector'===_0x14d6e3),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x146f4e=>_0x146f4e?this['_modelSelectionDropdown']['buttonView']['label']:ho(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x224c5b=>_0x224c5b),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x16af57=>_0x16af57),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x4b4fb4=>ho(this['locale'],_0x4b4fb4?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x367917=>_0x367917),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x33f6ae=>ho(this['locale'],_0x33f6ae?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[If]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x4711ed(),gt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x36a793,_0x1ff236){if(_0x1ff236)this['set']('modelDisplayMode','hidden');else{const _0x503598=0x1===_0x36a793['length'];this['set']('modelDisplayMode',_0x503598?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x36a793?.['length'])for(const _0x48ec0a of _0x36a793){const _0x19b2b7=new pt({'label':_0x48ec0a['name'],'withText':!0x0,'role':'menuitemradio','id':_0x48ec0a['id'],'model':_0x48ec0a});_0x19b2b7['bind']('isOn')['to'](this,'activeModelId',_0x3ca73b=>_0x3ca73b===_0x48ec0a['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x19b2b7,'labelView':new Lf(this['locale'],_0x48ec0a)});}}['setWebSearch'](_0x5ec383){this['set']('webSearchActive',_0x5ec383);}['setReasoning'](_0xd3f7bf){this['set']('reasoningActive',_0xd3f7bf);}['setModel'](_0xffdf0c){if(!_0xffdf0c)return;this['activeModelId']=_0xffdf0c['id'],this['activeModelName']=_0xffdf0c['name']||_0xffdf0c['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0xffdf0c['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0xffdf0c['name']);const _0x983561=_0xffdf0c['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x983561),this['_webSearchButton']['set']('isVisible',_0x983561);const _0x3a27b9=_0xffdf0c['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x3a27b9),this['_reasoningButton']['set']('isVisible',_0x3a27b9);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0xceda2c){this['set']('modelSelectorEnabled',!0x1),_0xceda2c&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x1694a4=new _0x2e803a();return _0x1694a4['set']({'label':ho(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x26db1d,'class':Sf,'isToggleable':!0x0,'tooltipPosition':Nf}),_0x1694a4['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x1694a4;}['_createReasoningButton'](){const _0x283669=new _0x2e803a();return _0x283669['set']({'label':ho(this['locale'],'AI_CHAT_REASONING'),'icon':_0x5f199c,'class':Sf,'isToggleable':!0x0,'tooltipPosition':Nf}),_0x283669['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x283669;}['_createCommandsButton'](){const _0x41ebbb=new _0x2e803a();return _0x41ebbb['set']({'label':ho(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0xe2047f,'withText':!0x0,'class':Sf,'isToggleable':!0x0,'tooltip':ho(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':Nf}),_0x41ebbb['extendTemplate']({'attributes':{'class':[Cf]}}),_0x41ebbb['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x41ebbb;}['_createModelSelectionDropdown'](){const _0xdae4c=st(this['locale']);return _0xdae4c['set']({'panelPosition':'ne','class':[xf]}),_0xdae4c['buttonView']['set']({'label':ho(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Nf,'class':kf}),this['listenTo'](_0xdae4c,'execute',_0x1ff6d9=>{this['fire']('selectModel',_0x1ff6d9['source']['model']);}),_0xdae4c;}['_createModelNameView'](){const _0xbcc6cc=new Df(this['locale']);return _0xbcc6cc['bind']('text')['to'](this,'activeModelName',_0x1a7d52=>_0x1a7d52??''),_0xbcc6cc['bind']('isVisible')['to'](this,'modelDisplayMode',_0x48d841=>'name'===_0x48d841),_0xbcc6cc;}}let Lf=class ModelButtonLabelView extends _0x2794a5{constructor(_0x147d41,_0x4e4ae2){super();const _0x43e921=this['bindTemplate'],_0x3d6feb=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x43e921['to']('style'),'id':_0x43e921['to']('id')},'children':[{'tag':'div','attributes':{'class':[Rf]},'children':[{'text':_0x43e921['to']('text')}]},{'tag':'div','attributes':{'class':[Pf]},'children':[{'tag':'span','children':[{'text':_0x4e4ae2['description']}]}]},{'tag':'div','attributes':{'class':[Mf]},'children':_0x3d6feb}]}),_0x3d6feb['addMany'](this['_getCapabilityParts'](_0x147d41,_0x26db1d,'AI_CHAT_SEARCH_WEB',_0x4e4ae2['capabilities']['webSearch']?.['enabled']??!0x1)),_0x3d6feb['addMany'](this['_getCapabilityParts'](_0x147d41,_0x5f199c,'AI_CHAT_REASONING',_0x4e4ae2['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x208c3f,_0x18b29d,_0x564e94,_0x24a5a6){const _0x4bedec=new _0x1bf0d6();_0x4bedec['content']=_0x18b29d;const _0x49e15b=new _0x3989d4(_0x208c3f);_0x49e15b['setTemplate']({'tag':'span','children':[{'text':ho(_0x208c3f,_0x564e94)+':\x20'}]});const _0x12918d=new _0x3989d4(_0x208c3f);return _0x12918d['setTemplate']({'tag':'span','children':[{'text':ho(_0x208c3f,_0x24a5a6?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x4bedec,_0x49e15b,_0x12918d];}},Df=class ModelNameView extends _0x3989d4{constructor(_0x36f0b4){super(_0x36f0b4),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x3626b5=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x3626b5['if']('isVisible','ck-hidden',_0x2107ee=>!_0x2107ee)]},'children':[{'text':_0x3626b5['to']('text')}]});}};const Qf='ck-ai-chat-context-controls__url-form',$f='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0x3989d4{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x3a2931){super(_0x3a2931),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),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'](_0x4bac63=>{this['focusTracker']['add'](_0x4bac63['element']),this['keystrokes']['listenTo'](_0x4bac63['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'](_0x1a0f78){this['urlInputField']['errorText']=_0x1a0f78,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x3384c7=new _0x2e803a(this['locale']);return _0x3384c7['set']({'icon':_0xf6132a,'tooltip':ho(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x1d26d2,_0x3c6656,_0x56506e)=>{_0x3384c7['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x56506e?'':'\x20ck-hidden')]});}),_0x3384c7;}['_createUrlInputField'](){const _0xf5695f=new wt(this['locale'],bt);return _0xf5695f['set']({'label':ho(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0xf5695f['fieldView']['set']({'placeholder':ho(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0xf5695f;}['_createConfirmButton'](){const _0x28eba0=new _0x2e803a(this['locale']);return _0x28eba0['set']({'icon':_0x44439c,'tooltip':ho(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x28eba0;}['_setupTemplate'](){const _0xddc284=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'});_0xddc284['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':Qf,'tabindex':'-1'},'children':[_0xddc284,{'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',_0x4a25f3=>{_0x4a25f3['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0xb1e392,_0x48d3e5)=>{this['clear'](),this['fire']('cancel'),_0x48d3e5();});}['_handleSubmit'](){const _0x3e8f1a=this['getValue']()['trim']();_0x3e8f1a?this['_isValidUrl'](_0x3e8f1a)?(this['clearError'](),this['fire']('submitUrl',_0x3e8f1a)):this['setError'](ho(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](ho(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x2dbedc=this['getValue']()['trim'](),_0x54f317=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x2dbedc['length']>0x0&&!_0x54f317;}['_isValidUrl'](_0x2b1f86){try{return!!new URL(_0x2b1f86);}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 _0x5d952b{['resource'];['_titleView'];['_iconView'];constructor(_0x258c9d,_0x327ef6){super(_0x258c9d),this['resource']=_0x327ef6,this['set']('isInContext',!!_0x327ef6['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x1607fc){if(_0x1607fc['isInContext'])return _0x44439c;switch(_0x1607fc['type']){case Sd['DOCUMENT']:return _0x434c49;case Sd['URL']:return _0x339631;case Sd['FILE']:case Sd['TEXT']:return _0x1045db;default:return _0x2dfe3b;}}['highlightText'](_0x57e417){if(!_0x57e417||''===_0x57e417['trim']())return void this['_titleView']['highlightText'](null);const _0x3f7a68=new RegExp(Yr(_0x57e417),'gi');this['_titleView']['highlightText'](_0x3f7a68);}['updateResourceState'](_0x3e65d6){this['resource']['isInContext']=_0x3e65d6,this['isInContext']=_0x3e65d6,this['_updateIcon']();}['_createTitleView'](){const _0x2efe77=new _t();return _0x2efe77['text']=this['resource']['label'],_0x2efe77['extendTemplate']({'tag':'span','attributes':{'class':[Bf]}}),_0x2efe77;}['_createIconView'](){const _0x4a613=new _0x1bf0d6();return _0x4a613['content']=this['getResourceIcon'](this['resource']),_0x4a613;}['_setupTemplate'](){const _0x162f45=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[Vf,_0x162f45['if']('isVisible','ck-hidden',_0x15bd34=>!_0x15bd34),_0x162f45['if']('isInContext',Uf)]},'children':[{'tag':'div','attributes':{'class':[Ff]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x162f45['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const jf='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0x3523c8{['_source'];constructor(_0x467002,_0x2ba9c2){super(_0x467002),this['_source']=_0x2ba9c2,this['extendTemplate']({'attributes':{'class':[jf]}});}['setResources'](_0x4b3316,_0x3a6bbf){this['items']['clear']();let _0x3bf575=_0x4b3316;if(this['_source']['useDefaultFiltering']&&_0x3a6bbf&&''!==_0x3a6bbf['trim']()){const _0x2059db=new RegExp(_0x3a6bbf['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x3bf575=_0x4b3316['filter'](_0x26650e=>_0x2059db['test'](_0x26650e['label']));}for(const _0x46dc4f of _0x3bf575){const _0x4e9cee=new AIChatResourceListItemView(this['locale'],_0x46dc4f);_0x4e9cee['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x46dc4f);}),this['items']['add'](_0x4e9cee);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x3a6bbf);}['highlightText'](_0x154c48){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x272cef=>{_0x272cef['highlightText'](_0x154c48);});}['updateResourceState'](_0x49d31c,_0x12521f){for(const _0x5f3c12 of this['items']){const _0x5ec2a6=_0x5f3c12;_0x5ec2a6['resource']['id']===_0x49d31c&&_0x5ec2a6['updateResourceState'](_0x12521f);}}['_handleResourceSelection'](_0x612b88,_0x16084b){this['fire']('addResourceToContext',{'source':_0x612b88,'resource':_0x16084b});}}class AIChatContextResourcesSearchInputView extends wt{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x120434){const t=_0x120434['t'],_0x1f23b1={'showResetButton':!0x0,'showIcon':!0x0,'creator':bt,'label':ho(_0x120434,'AI_CHAT_SEARCH_RESOURCES')};super(_0x120434,_0x1f23b1['creator']),this['label']=_0x1f23b1['label'],this['_viewConfig']=_0x1f23b1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x120434,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4b71d7){this['fire']('search',_0x4b71d7);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1bf0d6(),this['iconView']['content']=_0xd1f022,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4878b2,t){this['resetButtonView']=new _0x2e803a(_0x4878b2),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xfcb135,'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',_0x4ef48e=>!_0x4ef48e),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 _0x3989d4{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x47b853,_0x2802df){super(_0x47b853),this['_source']=_0x2802df['source'],this['_searchInputVisibleFrom']=_0x2802df['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 _0xaaa32c=new _0x3989d4(this['locale']);return _0xaaa32c['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x556205,_0x25d0d3)=>{this['loadResources'](_0x25d0d3),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x25d0d3);}),_0xaaa32c;}['_createResourcesListView'](){const _0x5277f0=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x5277f0['delegate']('addResourceToContext')['to'](this),_0x5277f0['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x5277f0;}['_createSkeletonView'](){const _0x2fe202=new AISkeletonView(this['locale'],Tf['aiChatResources']);return _0x2fe202['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x33801c=>!_0x33801c)]}}),_0x2fe202;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x5d933a){const _0x268f61=_0x5c5c0c();this['_latestLoadResourcesUid']=_0x268f61,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x5d933a,'uid':_0x268f61}),this['isLoading']=!0x0;}['setResources'](_0x252bba,_0x27d9bb){if(_0x27d9bb&&_0x27d9bb!==this['_latestLoadResourcesUid'])return;const _0x5a910e=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x252bba,_0x5a910e),_0x252bba['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x310d56,_0x4f3228){this['_resourcesListView']['updateResourceState'](_0x310d56,_0x4f3228);}}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(_0x89350f,_0x89aa67,_0x3bec77){this['_locale']=_0x89350f,this['_bodyCollection']=_0x89aa67,this['_config']=_0x3bec77;}['showSourceResourcesBalloon']({source:_0xb7643d,withBackButton:_0x3ff674}){let _0x3951bc=this['_sourceResourceBalloons']['get'](_0xb7643d['id']);_0x3951bc||(_0x3951bc=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0xb7643d['id'],_0x3951bc),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x3951bc)),this['_addSourceResourceContent']({'balloonPanel':_0x3951bc,'source':_0xb7643d,'withBackButton':_0x3ff674}),_0x3951bc['show']();const _0x3b4ad2=this['_config']['getTargetElement']();_0x3b4ad2&&_0x3951bc['pin']({'target':_0x3b4ad2,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x5933ee,_0x5b77fa,_0x54199c){const _0x2f3a6f=this['_sourceResourceBalloons']['get'](_0x5933ee);if(!_0x2f3a6f)return;const _0x2bd558=this['_getResourcesViewFromBalloon'](_0x2f3a6f);_0x2bd558&&(_0x2bd558['setResources'](_0x5b77fa,_0x54199c),_0x2bd558['once']('change:isLoading',()=>{_0x2f3a6f['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x5cfa63){const _0x8a671d=this['_sourceResourceBalloons']['get'](_0x5cfa63);_0x8a671d&&requestAnimationFrame(()=>{_0x8a671d['hide'](),this['_sourceResourceBalloons']['delete'](_0x5cfa63),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x37ab6b of this['_sourceResourceBalloons']['values']())if(_0x37ab6b['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x4a5bcd,_0x3b4224,_0x1fd0fb){const _0x42d83c=this['_sourceResourceBalloons']['get'](_0x4a5bcd);if(!_0x42d83c||!_0x42d83c['isVisible'])return;const _0x2b87c7=this['_config']['getTargetElement']();if(!_0x2b87c7)return;_0x42d83c['pin']({'target':_0x2b87c7,'limiter':this['_config']['getLimiterElement']()});const _0x5eeb4b=this['_getResourcesViewFromBalloon'](_0x42d83c);_0x5eeb4b&&_0x5eeb4b['updateResourceState'](_0x3b4224,_0x1fd0fb);}['destroy'](){for(const _0x57f988 of this['_sourceResourceBalloons']['values']())_0x57f988['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x5a0783=new ft(this['_locale']);return _0x5a0783['extendTemplate']({'attributes':{'class':Hf}}),this['_bodyCollection']['add'](_0x5a0783),_0x5a0783;}['_addSourceResourceContent']({balloonPanel:_0x4e3e5a,source:_0x2e9fcf,withBackButton:_0x929519}){_0x4e3e5a['content']['clear']();const _0x15d083=this['_createBalloonHeader']({'balloonPanel':_0x4e3e5a,'source':_0x2e9fcf,'withBackButton':_0x929519});_0x4e3e5a['content']['add'](_0x15d083);const _0x44ad86=this['_createBalloonResourcesView'](_0x2e9fcf);_0x4e3e5a['content']['add'](_0x44ad86);}['_createBalloonHeader']({balloonPanel:_0x3a495c,source:_0x4057db,withBackButton:_0x1f9f7b}){const _0x157369=new yt(this['_locale'],{'label':_0x4057db['label'],'class':Zf});return _0x1f9f7b&&_0x157369['children']['add'](this['_createBackButton'](_0x3a495c),0x0),_0x157369;}['_createBackButton'](_0x544af7){const _0x4d704d=new _0x2e803a(this['_locale']);return _0x4d704d['set']({'icon':_0xf6132a,'tooltip':ho(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':Gf}),_0x4d704d['on']('execute',()=>{_0x544af7['hide'](),this['_config']['onBackToContext']();}),_0x4d704d;}['_createBalloonResourcesView'](_0x164f0f){const _0x4a118f=new AIChatContextResourcesView(this['_locale'],{'source':_0x164f0f,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x4a118f['on']('loadSourceResources',(_0x394b23,_0x3ff69d)=>{this['_config']['onLoadSourceResources'](_0x3ff69d);}),_0x4a118f['on']('addResourceToContext',(_0x1da7b3,_0x4fc397)=>{this['_config']['onResourceSelected'](_0x4fc397['source'],_0x4fc397['resource']),this['closeSourceResourceBalloon'](_0x164f0f['id']);}),_0x4a118f;}['_getResourcesViewFromBalloon'](_0x4d984c){const _0x5938cc=_0x4d984c['content']['get'](0x1);return _0x5938cc instanceof AIChatContextResourcesView?_0x5938cc:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x191c74){mt({'emitter':_0x191c74,'contextElements':[_0x191c74['element']],'callback':()=>{_0x191c74['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x191c74['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 _0x3989d4{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x1f7e8b,_0x3be622){super(_0x1f7e8b),this['bodyCollection']=_0x3be622['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x1f7e8b),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x1f7e8b),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x1f7e8b),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x1f7e8b,_0x3be622);const _0x28c2ab={'cssClasses':{'showMoreButton':sm,'showMoreBalloon':nm,'overflowContainer':im,'controlsButton':em}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x1f7e8b,this['_currentContextsChips'],_0x28c2ab,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'](_0x3bbd92,_0x1d7b0f){const _0x2c3729=this['_createContextButton'](_0x3bbd92,'current',!0x0,_0x1d7b0f);this['_addContextToCollection'](_0x2c3729,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x373ed4){this['_removeContextFromCollection'](_0x373ed4,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x373ed4,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0xf74ba4,_0x28450b){let _0x2604ea=this['_currentContextsChips']['find'](_0x5c29e7=>_0x5c29e7['id']===_0xf74ba4);_0x2604ea||(_0x2604ea=this['_overflowManager']['overflowChips']['find'](_0x114577=>_0x114577['id']===_0xf74ba4)),_0x2604ea&&(_0x2604ea['isLoading']=_0x28450b);}['setConversationContext'](_0x2a61b2){this['_conversationContextsChips']['clear']();for(const _0x421e89 of _0x2a61b2){const _0x48759d=this['_createContextButton'](_0x421e89,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x48759d,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x264c2c,_0x4d6564,_0x1825c0){this['_resourcesBalloonView']['updateResourceState'](_0x264c2c,_0x4d6564,_0x1825c0);}['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:_0xd74b76,withBackButton:_0x42dfca}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0xd74b76,'withBackButton':_0x42dfca}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x23c54d,_0x3d7654,_0x4fb91b,_0x20acf){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x23c54d,_0x4fb91b,_0x20acf);}['closeSourceResourceBalloon'](_0x57e8a7){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x57e8a7),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x6df1e5){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x6df1e5),this['_setAddContextButtonEnabled'](_0x6df1e5);}['_setAddContextButtonEnabled'](_0x142ccf){const _0x9a6a86=!_0x142ccf['document']['isHidden']&&_0x142ccf['document']['enabled'],_0x444567=_0x142ccf['urls']['enabled'],_0x490446=_0x142ccf['files']['enabled'],_0x568c87=_0x142ccf['sources']['length']>0x0,_0x46d5fc=_0x142ccf['customItems']&&_0x142ccf['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x9a6a86||_0x444567||_0x490446||_0x568c87||_0x46d5fc;}['_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'](_0x3cae43){const _0x563201=new _0x2e803a(_0x3cae43);return _0x563201['set']({'label':ho(_0x3cae43,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':em+'\x20'+Yf,'icon':_0x10af27,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x563201;}['_createAddContextBalloonPanelView'](_0x1b11da){return this['_createBaseBalloonPanel'](_0x1b11da,zf);}['_createUrlBalloonPanelView'](_0x59c9ab){const _0x45c907=this['_createBaseBalloonPanel'](_0x59c9ab,Kf);return this['_addUrlContent'](_0x45c907,_0x59c9ab),_0x45c907;}['_createResourcesBalloonView'](_0x1bd044,_0x539242){const _0xeb3fc5={'searchInputVisibleFrom':_0x539242['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om});},'onResourceSelected':(_0x3e5fca,_0x17064f)=>{this['fire']('addResourceToContext',{'source':_0x3e5fca,'resource':_0x17064f});},'onLoadSourceResources':_0x13268e=>{this['fire']('loadSourceResources',_0x13268e);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x1bd044,_0x539242['bodyCollection'],_0xeb3fc5);}['_getLimiterElement'](){return this['element']?.['closest']('.'+rm)||document['body'];}['_createBaseBalloonPanel'](_0x1859e1,_0x20c6dc){const _0x560d1e=new ft(_0x1859e1);return _0x560d1e['extendTemplate']({'attributes':{'class':_0x20c6dc}}),this['bodyCollection']['add'](_0x560d1e),_0x560d1e;}['_setBalloonPanelContent'](_0x2bc14e,_0x325d3d,_0x3028be){if(_0x2bc14e['content']['clear'](),!_0x3028be['document']['isHidden']&&_0x3028be['document']['enabled']){const _0xd218ec=this['_createBalloonButton'](_0x325d3d,{'label':ho(_0x325d3d,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x434c49});_0xd218ec['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x2bc14e['content']['add'](_0xd218ec);}if(_0x3028be['urls']['enabled']){const _0x3f9f20=this['_createBalloonButton'](_0x325d3d,{'label':ho(_0x325d3d,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x339631});_0x3f9f20['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':om}),this['_urlInputView']['focus']();}),_0x2bc14e['content']['add'](_0x3f9f20);}if(_0x3028be['files']['enabled']){const _0x2200ae=new Tt(_0x325d3d);_0x2200ae['set']({'label':ho(_0x325d3d,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x3eb467,'withText':!0x0,'tooltip':!0x0,'class':Jf,'allowMultipleFiles':!0x0}),_0x2200ae['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x2200ae['on']('done',(_0x585737,_0x31c1df)=>{this['fire']('addFileToContext',_0x31c1df);}),_0x2200ae['tooltip']=!0x0,_0x2bc14e['content']['add'](_0x2200ae);}for(const _0x5d6120 of _0x3028be['sources']){const _0xbddbe7=this['_createBalloonButton'](_0x325d3d,{'label':_0x5d6120['label'],'icon':_0x5d6120['icon']||_0x2dfe3b,'type':'source'});_0x2bc14e['content']['add'](_0xbddbe7),_0xbddbe7['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x5d6120,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x4e71a7 of _0x3028be['customItems']||[]){const _0x14342f=this['_createBalloonButton'](_0x325d3d,{'label':_0x4e71a7['label'],'icon':_0x4e71a7['icon']||_0x2dfe3b,'type':'customItem'});_0x2bc14e['content']['add'](_0x14342f),_0x14342f['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x4e71a7);});}this['_hasExactlyOneSource']=0x1===_0x2bc14e['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x504b9c,_0xfab345){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0xfab345),this['_urlInputView']['on']('submitUrl',(_0x420e05,_0x2bf1c1)=>{this['_handleUrlSubmit'](_0x2bf1c1);}),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});}),_0x504b9c['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x493b52,_0x5f3c4d){const _0xbd8a39='source'===_0x5f3c4d['type']?new SourcesBalloonButtonView(_0x493b52):new _0x2e803a(_0x493b52);return _0xbd8a39['set']({'label':_0x5f3c4d['label'],'icon':_0x5f3c4d['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Jf}),_0xbd8a39;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){mt({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x6d9660){const _0x5a5b64=this['_addContextBalloonConfig'];_0x5a5b64['buttonView']['isOn']=_0x6d9660,_0x6d9660?_0x5a5b64['balloonView']['show']():_0x5a5b64['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x52ab35,buttonView:_0x33866c,hideMethod:_0x2a9b18}=this['_addContextBalloonConfig'];mt({'emitter':_0x52ab35,'contextElements':[_0x52ab35['element'],_0x33866c['element']],'callback':()=>{_0x2a9b18();},'activator':()=>_0x33866c['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x805d27,_0x4ad018,_0x56f4b3=!0x1,_0x8f4d22=!0x1){const _0x295497='conversation'===_0x4ad018||!0x0===_0x805d27['isReadOnly'],_0x48f687=new AIChatContextItemButtonView(this['locale'],_0x805d27,_0x295497,_0x56f4b3,_0x8f4d22);return _0x295497||_0x48f687['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x48f687['id']);}),_0x48f687;}['_addContextToCollection'](_0xbeddc3,_0x36f393){_0x36f393['add'](_0xbeddc3,0x0);}['_removeContextFromCollection'](_0xad7ff9,_0x16bb67){const _0x258d6f=_0x16bb67['find'](_0x4537fe=>_0x4537fe['id']===_0xad7ff9);_0x258d6f&&_0x16bb67['remove'](_0x258d6f);}['_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'](_0x1f3150){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x1f3150);}}class SourcesBalloonButtonView extends _0x2e803a{['arrowView'];constructor(_0x39d821){super(_0x39d821),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 _0x11d883=new _0x1bf0d6();return _0x11d883['content']=_0x2ccc03,_0x11d883['extendTemplate']({'attributes':{'class':tm+'__arrow'}}),_0x11d883;}}class AIChatControlsLoaderView extends _0x3989d4{['_cancelButtonView'];['_loaderView'];constructor(_0x222a1f){super(_0x222a1f),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 _0x5b17e2=new _0x2e803a(this['locale']);return _0x5b17e2['set']({'label':ho(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':_0x4633c3}),_0x5b17e2['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x5b17e2;}['_createLoaderView'](){const _0x27959a=new _0x3989d4(this['locale']);return _0x27959a['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')}]}),_0x27959a;}}class AIChatControlsView extends _0x3989d4{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x4385c3,_0x4ee2eb){super(_0x4385c3),this['_contextPanelView']=this['_createContextPanelView'](_0x4385c3,{'bodyCollection':_0x4ee2eb['bodyCollection'],'searchInputVisibleFrom':_0x4ee2eb['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x4385c3),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x4385c3),this['_loaderView']=this['_createLoaderView'](_0x4385c3),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x4385c3),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 _0x43befc=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x43befc['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x43befc['if']('isLoading','ck-hidden',_0x5dbf7e=>_0x5dbf7e||!this['isModelAvailable']),_0x43befc['if']('isModelAvailable','ck-hidden',_0x13ef06=>!_0x13ef06||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x43befc['if']('isLoading','ck-hidden',_0x5c6198=>!_0x5c6198)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x43befc['if']('isModelAvailable','ck-hidden',_0x21c177=>_0x21c177)]},'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'](_0x23e15e,_0x14593f){return new AIChatContextPanelView(_0x23e15e,_0x14593f);}['_createPromptInputView'](_0x4c4b73){return new AIChatPromptInputView(_0x4c4b73,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x1caf18){return new AIChatPromptCapabilitiesView(_0x1caf18);}['_createLoaderView'](_0x3fbb11){return new AIChatControlsLoaderView(_0x3fbb11);}['_createModelUnavailableMessageView'](_0x54c077){const _0x159f3c=new AIChatModelUnavailableMessageView(_0x54c077);return _0x159f3c['delegate']('startConversation')['to'](this),_0x159f3c;}['_handlePromptInputFocus'](_0x955d01,_0x249b0a,_0x354d83){_0x354d83?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x4e9968,_0x1e90d8){this['_contextPanelView']['addContextItem'](_0x4e9968,_0x1e90d8);}['removeContextItem'](_0x43e971){this['_contextPanelView']['removeContextItem'](_0x43e971);}['setContextItemLoading'](_0x1f8367,_0x212dce){this['_contextPanelView']['setContextItemLoading'](_0x1f8367,_0x212dce);}['setIsUploadInProgress'](_0x1e22ec){this['_promptInputView']['setIsUploadInProgress'](_0x1e22ec);}['setConversationContext'](_0x232ba4){this['_contextPanelView']['setConversationContext'](_0x232ba4);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x418e72,_0x3155bd,_0x2cdaeb){this['_contextPanelView']['updateResourceState'](_0x418e72,_0x3155bd,_0x2cdaeb);}['setWebSearch'](_0x289d81){this['_promptCapabilitiesView']['setWebSearch'](_0x289d81);}['setReasoning'](_0x584240){this['_promptCapabilitiesView']['setReasoning'](_0x584240);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x1bb580){this['_contextPanelView']['setAddContextOptions'](_0x1bb580);}['setInputPlaceholder'](_0x5bf60b){this['_promptInputView']['setPlaceholderText'](_0x5bf60b);}['setModelList'](_0x3a5dbc,_0x2e98c5){this['_promptCapabilitiesView']['setModelList'](_0x3a5dbc,_0x2e98c5);}['setModel'](_0x19f637){_0x19f637?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x19f637)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x4405c6){this['_promptCapabilitiesView']['disableModelSelector'](_0x4405c6);}['populateSourceResourceBalloon'](_0x402e8f,_0x52d154,_0x5114f6,_0x13f3f3){this['_contextPanelView']['populateSourceResourceBalloon'](_0x402e8f,_0x52d154,_0x5114f6,_0x13f3f3);}['closeSourceResourceBalloon'](_0x5553a2){this['_contextPanelView']['closeSourceResourceBalloon'](_0x5553a2);}['focusPromptInput'](_0x3421d7=!0x1){this['_promptInputView']['focus'](_0x3421d7);}['setPromptInputValue'](_0x5c8d13){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x5c8d13;}}class AIChatModelUnavailableMessageView extends _0x3989d4{constructor(_0x543b1e){super(_0x543b1e);const _0x2784f9=new _0x2e803a(_0x543b1e);_0x2784f9['set']({'label':ho(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x2784f9['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'},_0x2784f9]}]});}}class AIChatHeaderView extends yt{['conversationStartButton'];['resizeButton'];constructor(_0x4e0f69,_0xc07680){super(_0x4e0f69,{'label':ho(_0x4e0f69,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':_0x5956d6}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x4e0f69),this['children']['add'](this['conversationStartButton']),_0xc07680&&(this['resizeButton']=uo(_0x4e0f69,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0xe92a4b){const _0x52a0ad=new _0x2e803a(_0xe92a4b);return _0x52a0ad['set']({'label':ho(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x550d95,'class':'ck-ai-chat__start-conversation'}),_0x52a0ad['on']('execute',()=>{this['fire']('startConversation');}),_0x52a0ad;}}class AIDisclaimerView extends _0x3989d4{constructor(_0x586ed6){super(_0x586ed6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':ho(_0x586ed6,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends _0x3989d4{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x460a7b,_0x45bd31){super(_0x460a7b),this['_bodyCollection']=new dt(_0x460a7b),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x460a7b,_0x45bd31['showResizeButton']),this['chatHeader']['delegate'](...$d)['to'](this),this['chatFeed']=new AIChatFeedView(_0x460a7b,this['_bodyCollection']),this['chatFeed']['delegate'](...$d)['to'](this),this['chatControls']=new AIChatControlsView(_0x460a7b,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x45bd31['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](...$d)['to'](this),this['chatDisclaimer']=new AIDisclaimerView(_0x460a7b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x460a7b['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x1e6a9e,_0x36775f,_0x176dac,_0x8db789){this['chatControls']['populateSourceResourceBalloon'](_0x1e6a9e,_0x36775f,_0x176dac,_0x8db789);}['closeSourceResourceBalloon'](_0x465927){this['chatControls']['closeSourceResourceBalloon'](_0x465927);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x13e428{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(_0x90770a){super(_0x90770a);const _0x48ab0e=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new PromiseQueue(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x48ab0e['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](...$d)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x5a5279,{showDiff:_0x46d637})=>{this['showDiff']=_0x46d637;}),_0x48ab0e['view']['addTab']({'id':'chat','buttonLabel':ho(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x5956d6,'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x28d4b8=>_0x28d4b8),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x4fb2d0=>_0x4fb2d0),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x1f9dae){const _0x2e7267=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'](_0x1f9dae['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x2e7267}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0x33a9b5,staticMessage:_0x2ae221}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x33a9b5,'initialContent':'<p>'+_0x2ae221+'</p>'});}['addFeedItemUserMessage'](_0x406647){const _0x5743ab=_0x406647['attributes']?.['displayedPrompt']||_0x406647['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x406647['contextItems']['values']()),'initialContent':'<p>'+_0x5743ab+'</p>','id':_0x406647['id']});}['addFeedItemError']({errorMessage:_0x4cefe1,id:_0x36b52a}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x4cefe1+'</p>','id':_0x36b52a});}['addFeedItemAIReply'](_0x43457c){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x43457c['interactionId']+':'+_0x43457c['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x5ce809){const _0x5e7c6a=Md(this['context']);let _0xe9a4e8=_0x5e7c6a['config']['get']('ai.availableReplyActions')||[...ef];if(_0x5e7c6a['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x2fcea0=_0x5e7c6a['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x2fcea0,'value');}}else _0xe9a4e8=_0xe9a4e8['filter'](_0x5ac752=>'insertSuggestion'!=_0x5ac752);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x5ce809['interactionId']+':'+_0x5ce809['id'],'areActionsDisabled':_0x5ce809['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0xe9a4e8}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x21256d,_0x5345a8){const _0x2e0b93=this['_view']['chatFeed']['children']['last'];if(_0x2e0b93 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x2e0b93),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x21256d['id'],'capabilities':{'isWebSearchEnabled':_0x2e0b93['capabilities']['isWebSearchEnabled']||_0x5345a8['isWebSearchEnabled'],'isReasoningEnabled':_0x2e0b93['capabilities']['isReasoningEnabled']||_0x5345a8['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x21256d['id'],'capabilities':_0x5345a8});}async['addFeedItemCustomElement'](_0x272608,_0x41211e){let _0x4e041;return await this['_promiseQueue']['enqueue'](async()=>{_0x4e041=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x272608,'id':_0x41211e});}),_0x4e041;}['removeFeedItem'](_0x365a6a){this['_view']['chatFeed']['removeItem'](_0x365a6a);}['hasFeedItem'](_0x9321ef){return this['_view']['chatFeed']['hasItem'](_0x9321ef);}['updateFeedInteractionHeader'](_0x52c5e5){const _0x809fcb=this['_view']['chatFeed']['children']['find'](_0x4b6464=>_0x4b6464['options']['id']==_0x52c5e5['id']&&_0x4b6464 instanceof AIChatFeedInteractionHeaderView);_0x809fcb&&_0x809fcb['set']('isVisible',_0x52c5e5['isVisible']);}async['updateFeedItemAIReplyContent'](_0x258fb2){const _0x15bf46=_0x258fb2['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x1b138d=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x258fb2,'abortSignal':_0x1b138d,'renderingStrategy':_0x15bf46}),_0x258fb2['isDone']&&this['markFeedItemAsDone'](_0x258fb2['id']);});}['updateFeedItemAIReplySources'](_0x1ce6c7,_0x281780){this['_view']['chatFeed']['updateWebSources'](_0x1ce6c7,_0x281780);}async['updateFeedItemAIReplySuggestionContent'](_0x4ebfc4){const _0x4f53cd=_0x4ebfc4['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x4145aa=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x4ebfc4,'abortSignal':_0x4145aa,'renderingStrategy':_0x4f53cd}),_0x4ebfc4['isDone']&&this['markFeedItemAsDone'](_0x4ebfc4['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x68e356){this['_view']['chatFeed']['updateSuggestionPartState'](_0x68e356);}['setFeedItemAIReplySuggestionPartActive'](_0x345b44){this['_view']['chatFeed']['setSuggestionPartActive'](_0x345b44);}['markFeedItemAsDone'](_0x58f1a1){this['_view']['chatFeed']['markItemAsDone'](_0x58f1a1);}['removeFeedInteraction'](_0x31ebf7){this['_view']['chatFeed']['getItemIds']()['filter'](_0x5e7dee=>_0x5e7dee['startsWith'](_0x31ebf7))['forEach'](_0x101768=>this['_view']['chatFeed']['removeItem'](_0x101768));}['startInteraction'](){const _0x2f2c57=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x2f2c57),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x8685c5){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x1c5ecf=>_0x1c5ecf['startsWith'](_0x8685c5['id']))['forEach'](_0x46c17e=>this['markFeedItemAsDone'](_0x46c17e)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x4d3a56,_0x36877a){this['_view']['chatControls']['addContextItem'](_0x4d3a56,_0x36877a);}['removeContextItem'](_0x464848){this['_view']['chatControls']['removeContextItem'](_0x464848);}['setContextItemLoading'](_0x106776,_0x1e5a31){this['_view']['chatControls']['setContextItemLoading'](_0x106776,_0x1e5a31);}['setIsUploadInProgress'](_0x2b2d09){this['_view']['chatControls']['setIsUploadInProgress'](_0x2b2d09);}['setConversationContext'](_0x167c41){this['_view']['chatControls']['setConversationContext'](_0x167c41);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x5269c4,_0xea2bfc,_0x2df1e9){this['_view']['chatControls']['updateResourceState'](_0x5269c4,_0xea2bfc,_0x2df1e9);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x414c27){this['_view']['chatControls']['setAddContextOptions'](_0x414c27);}['updateCapabilities'](_0x5cbc32){this['_view']['chatControls']['setWebSearch'](_0x5cbc32['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x5cbc32['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x5cbc32));}['setSelectedModel'](_0x1ad39a,_0xdf1057){this['_view']['chatControls']['setModel'](_0x1ad39a),_0xdf1057&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x165392){this['feedItemRenderingStrategy']=_0x165392;}['toggleLoadingSkeleton'](_0xa4d494){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0xa4d494);}['resetConversationTitle'](){this['setConversationTitle'](ho(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x16f8e4,_0x1995ef=!0x1){if(_0x1995ef&&!_0x4c714a()&&_0x16f8e4['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x16f8e4);this['_view']['chatHeader']['label']=_0x16f8e4;}['setLoadingMessage'](_0x5eeda0){this['_view']['chatFeed']['setLoadingMessage'](_0x5eeda0);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x34daf8){let _0x2227db=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x34daf8[_0x2227db],_0x2227db++,_0x2227db===_0x34daf8['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['setIsMaximized'](_0xfccd2a){this['_view']['chatHeader']['isMaximized']=_0xfccd2a;}['prepareLoadingMessage'](_0x3723ed){return _0x3723ed['isWebSearchEnabled']&&_0x3723ed['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x3723ed['isWebSearchEnabled']?ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x3723ed['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):ho(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x5bff96){return _0x5bff96?_0x5bff96['isWebSearchEnabled']&&_0x5bff96['isReasoningEnabled']?ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x5bff96['isWebSearchEnabled']?ho(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x5bff96['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'](_0x325600,_0x2d9a9f,_0x3c65cd,_0x1d6b74){this['_view']['populateSourceResourceBalloon'](_0x325600,_0x2d9a9f,_0x3c65cd,_0x1d6b74);}['closeSourceResourceBalloon'](_0x54a53c){this['_view']['closeSourceResourceBalloon'](_0x54a53c);}['setPromptInputValue'](_0x3d2b46){this['_view']['chatControls']['setPromptInputValue'](_0x3d2b46);}['focusPromptInput'](_0x435194=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x435194);}['scrollFeedToSuggestion'](_0x417b50,_0xe38d3c){this['_view']['chatFeed']['scrollToSuggestion'](_0x417b50,_0xe38d3c);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0x3523c8{['sections'];constructor(_0x3b758e,_0x216aa9){super(_0x3b758e),this['sections']=_0x216aa9,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0xb2d56a){let _0x5cfddc=0x0,_0x4d961b=0x0;for(const _0x462e74 of this['sections']){const {resultsCount:_0xea7715,totalItemsCount:_0x115b4d}=_0x462e74['filter'](_0xb2d56a);_0x5cfddc+=_0xea7715,_0x4d961b+=_0x115b4d;}return{'resultsCount':_0x5cfddc,'totalItemsCount':_0x4d961b};}}class AIChatHistoryListView extends _0x5d952b{['title'];['itemsViews'];['_itemsListView'];constructor(_0x5e0a39,{title:_0x5dd7af,items:_0x2e9ad5}){super(_0x5e0a39);const _0x58a536=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x5dd7af,this['itemsViews']=_0x2e9ad5;const _0x3ab149=new _0x3989d4(_0x5e0a39);_0x3ab149['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x3523c8(_0x5e0a39),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x58a536['if']('isVisible','ck-hidden',_0xee8a77=>!_0xee8a77)]},'children':[_0x3ab149,this['_itemsListView']]});}['filter'](_0x1d8d61){const _0x590b4d=this['itemsViews']['length'];let _0x16383f=0x0;for(const _0x1effe4 of this['itemsViews']){if(_0x1d8d61){const _0x5478ec=_0x1effe4['isMatching'](_0x1d8d61);_0x1effe4['isVisible']=!!_0x5478ec,_0x1effe4['highlightText'](_0x1d8d61);}else _0x1effe4['isVisible']=!0x0,_0x1effe4['highlightText'](null);_0x1effe4['isVisible']&&_0x16383f++;}return this['isVisible']=_0x16383f>0x0,{'resultsCount':_0x16383f,'totalItemsCount':_0x590b4d};}['getItem'](_0x5e95ea){return this['itemsViews']['find'](_0x11fb64=>_0x11fb64['id']===_0x5e95ea);}['removeItem'](_0x22de28){const _0x254223=this['itemsViews']['indexOf'](_0x22de28);-0x1!==_0x254223&&(this['itemsViews']['splice'](_0x254223,0x1),this['_itemsListView']['items']['remove'](_0x22de28));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
Ku(_0x5d952b){['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(_0x59d8e6,_0x56e270){super(_0x59d8e6);const _0x5c12a7=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x56e270['pinned']),this['set']('loadingState',null),this['id']=_0x56e270['id'];const {title:_0x1f6e6f,createdAt:_0x3a5f8f,active:_0x38c9cb=!0x1}=_0x56e270;this['_titleView']=new _t(),this['_titleView']['text']=_0x1f6e6f,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x349cb3=this['_createCheckView'](),_0x105aab=this['_createPinButtonView'](_0x59d8e6),_0x2f681a=this['_createMenuDropdownView'](),_0xda86d8=this['_createEditInputView'](_0x59d8e6,_0x1f6e6f),_0x35a1b9=this['_createAcceptEditButtonView'](_0x59d8e6,_0xda86d8),_0x508b14=this['_createCancelEditButtonView'](_0x59d8e6,_0xda86d8);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x105aab),this['actions']['add'](_0x2f681a),this['on']('change:isEdit',(_0x32406e,_0x5bd390,_0x3f5074)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x3f5074?(this['actions']['add'](_0x35a1b9),this['actions']['add'](_0x508b14),this['mainContent']['add'](_0xda86d8),_0xda86d8['element']['focus']()):(this['actions']['add'](_0x105aab),this['actions']['add'](_0x2f681a),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x38c9cb?'ck-ai-chat-history__item--active':'',_0x5c12a7['if']('isVisible','ck-hidden',_0x58c967=>!_0x58c967),_0x5c12a7['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',_0x5c12a7['if']('loadingState','ck-hidden',_0x32b85f=>!!_0x32b85f)]},'children':_0x38c9cb?[_0x349cb3]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x5c12a7['if']('loadingState','ck-hidden',_0x42ea53=>!_0x42ea53)]},'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',_0x5c12a7['if']('loadingState','ck-hidden',_0x4bfad5=>!!_0x4bfad5)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x5c12a7['if']('loadingState','ck-hidden',_0x38d047=>!_0x38d047)]},'children':[{'text':_0x5c12a7['to']('loadingState',_0xde9588=>_0xde9588?ho(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0xde9588]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x3a5f8f]}]},{'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'](_0x2b21e2){this['_titleView']['text']=zr(_0x2b21e2);}['updateLoadingState'](_0x4e70db,_0x313e7e){this['set']('loadingState',_0x313e7e?_0x4e70db:null);}['_createCheckView'](){const _0x2d68e3=new _0x1bf0d6();return _0x2d68e3['set']({'content':_0x5071d2}),_0x2d68e3;}['_createPinButtonView'](_0x9a1b81){const _0x2ab970=new _0x2e803a(_0x9a1b81);return _0x2ab970['set']({'label':ho(_0x9a1b81,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0xb7edeb,'withText':!0x1,'tooltip':!0x0}),_0x2ab970['bind']('isOn')['to'](this,'pinned'),_0x2ab970['on']('execute',()=>{const _0x24670f=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x24670f});}),_0x2ab970;}['_createMenuDropdownView'](){const _0x4433f4=st(this['locale'],LateFocusDropdownButtonView),_0x49c116=_0x4433f4['panelView']['children'];_0x4433f4['buttonView']['set']({'label':ho(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x560ba7}),_0x4433f4['panelPosition']='sw';const _0x1e9620=new _0x2e803a(this['locale']);_0x1e9620['label']=ho(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x1e9620['withText']=!0x0,_0x1e9620['on']('execute',()=>{this['isEdit']=!0x0;});const _0x19d8fa=new _0x2e803a(this['locale']);_0x19d8fa['label']=ho(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x19d8fa['withText']=!0x0,_0x19d8fa['on']('execute',()=>{this['showConfirm'](ho(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x15ee76=new _0x3523c8(this['locale']),_0x3b19ba=new _0x5d952b(this['locale']);_0x3b19ba['children']['add'](_0x1e9620);const _0x307774=new _0x5d952b(this['locale']);return _0x307774['children']['add'](_0x19d8fa),_0x15ee76['items']['addMany']([_0x3b19ba,_0x307774]),_0x49c116['add'](_0x15ee76),_0x4433f4;}['_createEditInputView'](_0x341399,_0x38243f){const _0x399107=new Et(_0x341399),_0x37b84e=_0x399107['bindTemplate'];return _0x399107['value']=_0x38243f,_0x399107['extendTemplate']({'on':{'keydown':_0x37b84e['to'](_0x28acf2=>{'Enter'==_0x28acf2['key']&&this['_commitEditInputValue'](_0x399107);})}}),_0x399107;}['_createAcceptEditButtonView'](_0x1bbc44,_0xd431b7){const _0x487d7c=new _0x2e803a(_0x1bbc44);return _0x487d7c['set']({'icon':_0x5071d2,'withText':!0x1,'tooltip':ho(_0x1bbc44,'AI_CHAT_HISTORY_ACCEPT')}),_0x487d7c['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x487d7c['on']('execute',()=>{this['_commitEditInputValue'](_0xd431b7);}),_0x487d7c;}['_commitEditInputValue'](_0x396994){const _0x452793=_0x396994['element']['value']||'';this['_titleView']['text']=_0x452793,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x452793});}['_createCancelEditButtonView'](_0x3062b6,_0x1bae3c){const _0x28c135=new _0x2e803a(_0x3062b6);return _0x28c135['set']({'icon':_0xfcb135,'withText':!0x1,'tooltip':ho(_0x3062b6,'AI_CHAT_HISTORY_CANCEL')}),_0x28c135['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x28c135['on']('execute',()=>{this['isEdit']=!0x1,_0x1bae3c['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x28c135;}['_createSpinnerView'](){const _0x4ed07=new AISpinnerView('tiny');return _0x4ed07['isVisible']=!0x0,_0x4ed07;}['isMatching'](_0x2cebbb){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x2cebbb)?{'title':!0x0}:null;}['highlightText'](_0x98d363){this['_titleView']['highlightText'](_0x98d363);}}class AIChatHistoryView extends _0x3989d4{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x2bd677,_0x3097fc){super(_0x2bd677),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 _0x5a6b48=new yt(_0x2bd677,{'label':ho(_0x2bd677,'AI_CHAT_HISTORY_HEADING'),'icon':_0x307ef9,'class':'ck-ai-header\x20ck-ai-header_history'});_0x3097fc&&(this['resizeButton']=uo(_0x2bd677,this),_0x5a6b48['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x2bd677,[]),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',_0x12f9f3=>!_0x12f9f3)]}}),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':[_0x5a6b48,{'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 _0x7a8718=new At(this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':ho(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x325f49=>ho(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x325f49),'secondary':ho(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x349c68=this['_createErrorView']();return _0x349c68['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x869229=>!_0x869229)]}}),_0x7a8718['on']('render',()=>{_0x7a8718['children']['add'](_0x349c68,0x1);}),_0x7a8718['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x3432ff=>!_0x3432ff)]}}),_0x7a8718;}['_createSkeletonView'](){const _0x14f954=new AISkeletonView(this['locale'],Tf['aiHistory']);return _0x14f954['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x49c449=>!_0x49c449)]}}),_0x14f954;}['_createErrorView'](){const _0x2f0996=new _0x3989d4(this['locale']),_0x59b5f9=new _0x2e803a(this['locale']);_0x59b5f9['set']({'withText':!0x1,'icon':_0xfcb135,'class':'ck-ai-notification_error__dismiss-button'}),_0x59b5f9['bind']('isVisible')['to'](this,'hasItems',_0x54fc9b=>!!_0x54fc9b),_0x59b5f9['on']('execute',()=>{this['errorMessage']='';});const _0x165651=this['bindTemplate'];return _0x2f0996['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x165651['to']('errorMessage')}]},_0x59b5f9]}),_0x2f0996;}['_createEmptyStateView'](){const _0xc8c9ce=new _0x2e803a(this['locale']);_0xc8c9ce['set']({'label':ho(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x550d95,'class':'ck-ai-chat__start-conversation'}),_0xc8c9ce['on']('execute',()=>{this['fire']('openChat');});const _0x387864=new _0x3989d4(this['locale']);return _0x387864['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x2edff4=>!_0x2edff4)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[ho(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0xc8c9ce]}),_0x387864;}['_createListItemViews'](_0x4d31df,_0x4165ae){const _0x5453a5=[];for(const _0x1926c of _0x4d31df){const _0x2306cd=new AIChatHistoryListItemView(_0x4165ae,_0x1926c);_0x2306cd['delegate'](...am)['to'](this),_0x5453a5['push'](_0x2306cd);}return _0x5453a5;}['updateHistoryItemsWithCategories'](_0x2eed37){const _0x9b2036=this['locale']||'en',_0x2fa288=[];for(const _0xce6eb of _0x2eed37){const _0x1b74aa=this['_createListItemViews'](_0xce6eb['items'],_0x9b2036);_0x2fa288['push'](new AIChatHistoryListView(_0x9b2036,{'title':_0xce6eb['title'],'items':_0x1b74aa}));}this['sectionsView']['sections']=_0x2fa288,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x2fa288),this['hasItems']=_0x2eed37['some'](_0x4b03da=>_0x4b03da['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x40e5cb){for(const _0x4b280e of this['sectionsView']['sections']){const _0x1c214f=_0x4b280e['getItem'](_0x40e5cb);if(_0x1c214f){if(_0x4b280e['removeItem'](_0x1c214f),0x0===_0x4b280e['itemsViews']['length']){const _0x44f8ae=this['sectionsView']['sections']['indexOf'](_0x4b280e);-0x1!==_0x44f8ae&&(this['sectionsView']['sections']['splice'](_0x44f8ae,0x1),this['sectionsView']['items']['remove'](_0x4b280e));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x397258,_0x209856){for(const _0x2970f0 of this['sectionsView']['sections']){const _0x3c4581=_0x2970f0['getItem'](_0x397258);if(_0x3c4581){_0x3c4581['updateTitle'](_0x209856);break;}}}['updateItemLoadingState'](_0x1776cd,_0x2adf68,_0x4bb87d){for(const _0x466662 of this['sectionsView']['sections']){const _0x3f8258=_0x466662['getItem'](_0x1776cd);if(_0x3f8258){_0x3f8258['updateLoadingState'](_0x2adf68,_0x4bb87d);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x58bfb3=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x58bfb3);}}}const am=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends _0x13e428{static get['requires'](){return[AITabs];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x61f25b){super(_0x61f25b);const _0x32647b=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x32647b['showResizeButton']),this['_historyView']['delegate'](...am)['to'](this),_0x32647b['view']['addTab']({'id':'history','buttonLabel':ho(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x307ef9,'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x517ac1){this['_historyView']['removeHistoryItem'](_0x517ac1);}['updateItems'](_0x16b1cc){this['_historyView']['updateHistoryItemsWithCategories'](_0x16b1cc);}['updateItemTitle'](_0x2fc80a,_0x59d739){this['_historyView']['updateItemTitle'](_0x2fc80a,_0x59d739);}['updateItemLoadingState'](_0x23c79d,_0x32a397,_0x11d91c){this['_historyView']['updateItemLoadingState'](_0x23c79d,_0x32a397,_0x11d91c);}['setLoadingSkeleton'](_0xa119a7){this['_historyView']['isLoading']=_0xa119a7;}['showError'](_0x4eeabd){this['_historyView']['errorMessage']=_0x4eeabd;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x1418d0){this['_historyView']['isMaximized']=_0x1418d0;}}class AIChatHistoryItem extends _0x20f52a(){['id'];['createdAt'];constructor({id:_0x23b873,title:_0x215a7d,createdAt:_0x41c7f0,updatedAt:_0x3f357c,pinned:_0x3b98f5}){super(),this['id']=_0x23b873,this['createdAt']=new Date(_0x41c7f0),this['set']('title',_0x215a7d),this['set']('updatedAt',_0x3f357c?new Date(_0x3f357c):null),this['set']('pinned',_0x3b98f5||!0x1);}['updateTitle'](_0x5cb425){this['set']('title',zr(_0x5cb425)),this['updatedAt']=new Date();}['updatePinned'](_0xc0b71d){this['set']('pinned',_0xc0b71d),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x199f48(){['items']=[];['connector'];['group'];constructor({connector:_0x5789bb,group:_0x32cb83}){super(),this['connector']=_0x5789bb,this['group']=_0x32cb83;}async['init'](){try{const _0xa8d497=this['connector']['fetchConversations'](this['group']),_0x15ea6b=await _0xa8d497['getConversations']();this['loadItems'](_0x15ea6b);}catch(_0x1ec4cc){this['fire']('error',{'error':_0x1ec4cc,'operation':'init'});}}['addItem'](_0x7b8049){this['items']['push'](_0x7b8049);}async['removeItem'](_0x4c3ed2){const _0x389649=this['items']['findIndex'](_0x2249b3=>_0x2249b3['id']===_0x4c3ed2);if(-0x1===_0x389649)return!0x1;try{return await this['connector']['deleteConversation'](_0x4c3ed2)['execute'](),this['items']['splice'](_0x389649,0x1),this['fire']('itemRemoved',{'itemId':_0x4c3ed2}),!0x0;}catch(_0x57eacf){return this['fire']('error',{'error':_0x57eacf,'operation':'removeItem','itemId':_0x4c3ed2}),!0x1;}}['getItem'](_0x49d06a){return this['items']['find'](_0xbba954=>_0xbba954['id']===_0x49d06a);}async['updateItemTitle'](_0x154ea2,_0x1a00e6){const _0x35406b=this['getItem'](_0x154ea2);if(!_0x35406b)return!0x1;try{return await this['connector']['updateConversation'](_0x154ea2,{'title':_0x1a00e6})['getResult'](),_0x35406b['updateTitle'](_0x1a00e6),this['fire']('itemUpdated',{'itemId':_0x154ea2,'updates':{'title':_0x1a00e6}}),!0x0;}catch(_0x320ad4){return this['fire']('error',{'error':_0x320ad4,'operation':'updateItemTitle','itemId':_0x154ea2}),!0x1;}}async['updateItemPinned'](_0x2da75b,_0x4dbdf9){const _0x41a045=this['getItem'](_0x2da75b);if(!_0x41a045)return!0x1;try{return await this['connector']['updateConversation'](_0x2da75b,{'pinned':_0x4dbdf9})['getResult'](),_0x41a045['updatePinned'](_0x4dbdf9),this['fire']('itemUpdated',{'itemId':_0x2da75b,'updates':{'pinned':_0x4dbdf9}}),!0x0;}catch(_0xbf558e){return this['fire']('error',{'error':_0xbf558e,'operation':'updateItemPinned','itemId':_0x2da75b}),!0x1;}}['loadItems'](_0x3aed15){try{this['items']=[],_0x3aed15['map'](_0x582ae0=>{this['addItem'](new AIChatHistoryItem(_0x582ae0));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x45739e){this['fire']('error',{'error':_0x45739e,'operation':'loadItems'});}}['getItems'](_0xfb5cea={}){const _0x1e83bf=void 0x0!==_0xfb5cea['pinned']&&_0xfb5cea['pinned'],_0x2f9c79=_0xfb5cea['from']?new Date(_0xfb5cea['from']['getFullYear'](),_0xfb5cea['from']['getMonth'](),_0xfb5cea['from']['getDate']()):null,_0x28d61f=_0xfb5cea['to']?new Date(_0xfb5cea['to']['getFullYear'](),_0xfb5cea['to']['getMonth'](),_0xfb5cea['to']['getDate']()):null;return this['items']['filter'](_0x442349=>{if(_0x442349['pinned']!==_0x1e83bf)return!0x1;if(_0x28d61f){const _0x216fac=new Date(_0x442349['createdAt']['getFullYear'](),_0x442349['createdAt']['getMonth'](),_0x442349['createdAt']['getDate']());return _0x2f9c79?_0x2f9c79['getTime']()===_0x28d61f['getTime']()?_0x216fac['getTime']()===_0x2f9c79['getTime']():_0x216fac<_0x28d61f&&_0x216fac>=_0x2f9c79:_0x216fac<_0x28d61f;}return!0x0;});}}class AIChatHistoryController extends _0x13e428{['_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 _0x4bd86b=this['context']['plugins']['get'](AITabs);try{const _0x512404=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x512404}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0xb0bf9b,_0x299491)=>{this['_setItemLoading'](_0x299491['id'],'remove'),this['_handleRemove'](_0x299491['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x38f5fe,_0x41a122)=>{this['_setItemLoading'](_0x41a122['id'],'rename'),this['_handleEditTitle'](_0x41a122['id'],_0x41a122['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x450a11,_0x7357ab)=>{void 0x0!==_0x7357ab['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x7357ab['itemId'],_0x7357ab['updates']['title']),void 0x0!==_0x7357ab['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x7357ab['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x43777e,_0x49888f)=>{this['_aiChatController']['handleRemovedConversation'](_0x49888f['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x49888f['itemId']),this['_clearItemLoading'](_0x49888f['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x3e0d62,_0x4eff4f)=>{this['_handleHistoryErrorUI'](_0x4eff4f['error'],_0x4eff4f['operation'],_0x4eff4f['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x499d2e,_0x7cfbcb)=>{this['_handleSelectConversation'](_0x7cfbcb['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x1e65e7,_0x384105)=>{const _0x4f0afc=_0x384105['pinned']?'pin':'unpin';this['_setItemLoading'](_0x384105['id'],_0x4f0afc),this['_handleTogglePin'](_0x384105['id'],_0x384105['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x4bd86b['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x4bd86b['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x4bd86b,'resizedTabs',(_0x2cd993,_0x4bbfb0)=>{this['_setIsMaximized'](_0x4bbfb0);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x4bd86b['resize']();});}catch(_0x3638ce){this['_handleHistoryErrorUI'](_0x3638ce,'init');}}async['_handleEditTitle'](_0x6fa9de,_0xfc7683){await this['history']['updateItemTitle'](_0x6fa9de,_0xfc7683);}async['_handleTogglePin'](_0x50908e,_0x5eb29d){await this['history']['updateItemPinned'](_0x50908e,_0x5eb29d);}async['_handleRemove'](_0x2faa1e){await this['history']['removeItem'](_0x2faa1e);}async['_handleSelectConversation'](_0x434581){await this['_aiChatController']['loadConversation'](_0x434581);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x21e349=this['_aiChatController']['activeConversation']?.['id'],_0x18f049=this['_getCategorizedItems']()['map'](_0x216d82=>({'title':_0x216d82['title'],'items':_0x216d82['items']['map'](_0x322aca=>({'id':_0x322aca['id'],'title':_0x322aca['title']||ho(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x322aca['createdAt'])['toLocaleDateString'](),'active':_0x322aca['id']===_0x21e349,'pinned':_0x322aca['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x18f049);}['_setItemLoading'](_0x4325f9,_0xbb34cd){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x4325f9,_0xbb34cd,!0x0);}['_clearItemLoading'](_0x8f1c13){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x8f1c13,null,!0x1);}['_handleHistoryErrorUI'](_0x5f45b7,_0x4bdb07,_0x4e330b){const _0x2a5b89=this['_generateErrorMessage'](_0x4bdb07,_0x4e330b);this['_aiChatHistoryUi']['showError'](_0x2a5b89),_0x4e330b&&this['_clearItemLoading'](_0x4e330b),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x1548b7,_0x3cf8f7){const _0x55ad53=_0x3cf8f7?this['history']['getItem'](_0x3cf8f7):null,_0x3c7cba=_0x55ad53?.['title']||ho(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x1548b7){case'updateItemTitle':return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x3c7cba);case'updateItemPinned':{const _0x39ab6a=ho(this['context']['locale'],_0x55ad53?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x39ab6a,_0x3c7cba]);}case'removeItem':return ho(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x3c7cba);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 _0x3a887a=new Date(),_0x54edcd=new Date(_0x3a887a['getFullYear'](),_0x3a887a['getMonth'](),_0x3a887a['getDate']()),_0x374df4=new Date(_0x54edcd);_0x374df4['setDate'](_0x374df4['getDate']()-0x1);const _0x4a035e=new Date(_0x54edcd);_0x4a035e['setDate'](_0x4a035e['getDate']()-0xe);const _0x3ae8aa=this['history']['getItems']({'pinned':!0x0}),_0x5f249a=this['history']['getItems']({'from':_0x54edcd,'to':_0x54edcd}),_0x468287=this['history']['getItems']({'from':_0x374df4,'to':_0x374df4}),_0x7ff341=this['history']['getItems']({'from':_0x4a035e,'to':_0x374df4}),_0x501725=this['history']['getItems']({'to':_0x4a035e}),_0x5b1d06=[];return _0x3ae8aa['length']>0x0&&_0x5b1d06['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x3ae8aa}),_0x5f249a['length']>0x0&&_0x5b1d06['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x5f249a}),_0x468287['length']>0x0&&_0x5b1d06['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x468287}),_0x7ff341['length']>0x0&&_0x5b1d06['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x7ff341}),_0x501725['length']>0x0&&_0x5b1d06['push']({'title':ho(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x501725}),_0x5b1d06;}['_setIsMaximized'](_0x2f6749){this['_aiChatHistoryUi']['setIsMaximized'](_0x2f6749);}}class AIChatHistory extends _0x13e428{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends _0x13e428{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1d1ef6){super(_0x1d1ef6),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:_0x13d0b7,attributes:_0x203ad8}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x13d0b7,'attributes':_0x203ad8});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x4a6d7b){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x4a6d7b);}}class AIChatShortcutView extends _0x2e803a{['id'];constructor(_0x3d29eb,_0x4584d0){super(_0x3d29eb);const {id:_0x1424a9,type:_0x68c665,icon:_0x5912f7}=_0x4584d0;this['id']=_0x1424a9,this['set']({'label':_0x4584d0['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x4584d0['id']}}),_0x5912f7?this['icon']=_0x5912f7:'chat'===_0x68c665?this['icon']=_0x1e9dba:'review'===_0x68c665?this['icon']=_0x3e6f85:'translate'===_0x68c665&&(this['icon']=_0xf8d126);}}class AIChatShortcutsView extends _0x3989d4{['listView'];constructor(_0x230402,_0x2b95e9){super(_0x230402);const _0x212149=_0x2b95e9['map'](_0x2c5cae=>{const _0x4acf7a=new _0x5d952b(this['locale']),_0x2f80c7=new AIChatShortcutView(this['locale'],_0x2c5cae);return _0x4acf7a['children']['add'](_0x2f80c7),_0x2f80c7['delegate']('execute')['to'](this),_0x4acf7a;});this['listView']=new _0x3523c8(this['locale']),this['listView']['items']['addMany'](_0x212149),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const cm='chat-shortcuts';var lm=function(_0x20c2af){return _0x20c2af['CHAT']='chat',_0x20c2af['REVIEW']='review',_0x20c2af['TRANSLATE']='translate',_0x20c2af;}({});class AIChatShortcuts extends _0x13e428{['_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 _0x2d7a3e=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x2d7a3e['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x2d7a3e,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x66cb2=Object['values'](lm);this['_shortcuts']['forEach'](_0x3d7c18=>{let _0x5c1cb7=!0x0;if(_0x3d7c18['id']&&_0x3d7c18['label']&&_0x66cb2['includes'](_0x3d7c18['type'])?'chat'===_0x3d7c18['type']&&(_0x5c1cb7='string'==typeof _0x3d7c18['prompt']):_0x5c1cb7=!0x1,!_0x5c1cb7)throw new _0x37fbfa('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x3d7c18});});}['_injectShortcuts'](){const _0x33f1d8=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x33f1d8['addFeedItemCustomElement'](this['_shortcutsView']['element'],cm),this['_shortcutsView']['on']('execute',_0x50c5d3=>{const _0x4f5b7e=_0x50c5d3['source']['id'];this['_executeShortcut'](_0x4f5b7e);});}['_removeShortcuts'](){const _0x172cab=this['context']['plugins']['get'](AIChatUI);_0x172cab['hasFeedItem'](cm)&&_0x172cab['removeFeedItem'](cm),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x22c675){const _0x271bb4=this['_shortcuts']['find'](_0x452ecc=>_0x452ecc['id']===_0x22c675),_0x47d288=_0x271bb4['type'];'chat'===_0x47d288?this['_runChatShortcut'](_0x271bb4):'review'===_0x47d288?_0x271bb4['check']?this['_runReviewShortcut'](_0x271bb4):this['_switchTab']('reviewMode'):'translate'===_0x47d288&&(_0x271bb4['language']?this['_runTranslateShortcut'](_0x271bb4):this['_switchTab']('translate'));}['_switchTab'](_0x8da6a1){if(!this['context']['plugins']['has']('AITabs'))throw new _0x37fbfa('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x8da6a1});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x8da6a1);}async['_runChatShortcut']({prompt:_0x9a7531,draftMode:_0x7ae44b,useWebSearch:_0xeee8e5=!0x1,useReasoning:_0xe9c051=!0x1,model:_0x3045d6}){const _0x258429=this['context']['plugins']['get']('AIChat'),_0x5104e9=this['context']['plugins']['get']('AIChatController'),_0xf6d038=_0x5104e9['activeConversation'];let _0x3c7715;_0x3c7715=_0x3045d6?await _0xf6d038['chatModels']['getModel'](_0x3045d6):await _0xf6d038['chatModels']['getDefault'](),_0x3c7715&&await _0xf6d038['setModel'](_0x3c7715),_0xf6d038['setWebSearch'](_0xeee8e5),_0xf6d038['setReasoning'](_0xe9c051),_0x5104e9['addCurrentDocumentToChatContext'](),_0x7ae44b?(this['_aiChatUI']['setPromptInputValue'](_0x9a7531),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x258429['sendMessage']({'message':_0x9a7531});}['_runReviewShortcut']({check:_0x5b2da9,model:_0x40ace9,prompt:_0x1b0a81,params:_0x429941}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x37fbfa('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x42b501={'id':_0x5b2da9,'isCustom':'custom'===_0x5b2da9};_0x40ace9&&_0x1b0a81&&(_0x42b501['args']={'model':_0x40ace9,'prompt':_0x1b0a81}),_0x429941&&(_0x42b501['params']=_0x429941),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x42b501);}['_runTranslateShortcut']({language:_0x5c55ae}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x37fbfa('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x5c55ae,'args':{'language':_0x5c55ae}});}}class ToggleAICommand extends _0x15bad7{constructor(_0x2b3bf3){super(_0x2b3bf3);const _0x2d0091=_0x2b3bf3['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x2d0091,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x1d5ce3=this['editor']['plugins']['get']('AITabs')['view'];_0x1d5ce3['isVisible']=!_0x1d5ce3['isVisible'];}}class AIToggleButtonUI extends _0x13517b{static get['requires'](){return[AITabs];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c1ab6=this['editor'];_0x1c1ab6['commands']['add']('toggleAi',new ToggleAICommand(_0x1c1ab6)),_0x1c1ab6['ui']['componentFactory']['add']('toggleAi',()=>{const _0x342d64=this['_createAIUIButton'](_0x2e803a);return _0x342d64['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x342d64;}),_0x1c1ab6['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x1b0e0a=this['_createAIUIButton'](ot);return _0x1b0e0a['set']({'role':'menuitemcheckbox'}),_0x1b0e0a;});}['_createAIUIButton'](_0x55eb78){const _0x1348d0=this['editor'],_0x28cff3=_0x1348d0['commands']['get']('toggleAi'),_0x1d55c0=new _0x55eb78(_0x1348d0['locale']);return _0x1d55c0['set']({'label':ho(_0x1348d0['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x1e1b88,'isToggleable':!0x0}),_0x1d55c0['bind']('isEnabled')['to'](_0x28cff3),_0x1d55c0['bind']('isOn')['to'](_0x28cff3,'value',_0x41b2a4=>!!_0x41b2a4),this['listenTo'](_0x1d55c0,'execute',()=>{_0x28cff3['execute']();}),_0x1d55c0;}}const hm=['applySuggestion','insertSuggestion','showNext','showPrevious'];class AIBalloonView extends _0x3989d4{['_errorView'];constructor(_0xed834){super(_0xed834),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x5595c9){this['showError'](_0x5595c9);}['showError'](_0x105636){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x105636,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x2f341c=new _0x3989d4(this['locale']),_0x17f9f4=new _0x3989d4(this['locale']);return _0x17f9f4['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x2f341c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x588c10=>!_0x588c10)]},'children':[_0x17f9f4]}),_0x2f341c;}}const um=0xa;class AIBalloon extends _0x13e428{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'](_0xdb6a7a){const {id:_0xa27275}=this['_currentConfig']??{};this['_currentConfig']=_0xdb6a7a;const {id:_0x2de2ff}=this['_currentConfig'];this['isOpen']&&_0xa27275===_0x2de2ff?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x4da430=Md(this['context'])['plugins']['get']('Dialog');_0x4da430['isOpen']&&this['_currentConfig']&&_0x4da430['id']===this['_currentConfig']['id']&&_0x4da430['hide']();}['_updateDialog'](){const _0x55a6b6=Md(this['context'])['plugins']['get']('Dialog'),{icon:_0xd45950,title:_0xbc00d8}=this['_currentConfig'];_0x55a6b6['view']?.['headerView']&&(_0x55a6b6['view']['headerView']['label']=_0xbc00d8,_0x55a6b6['view']['headerView']['iconView']&&_0xd45950&&(_0x55a6b6['view']['headerView']['iconView']['content']=_0xd45950)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x55a6b6['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x41b538){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x41b538);}['_showDialog'](){const _0x26cac7=Md(this['context'])['plugins']['get']('Dialog'),{id:_0x3aa30f,title:_0x172491,icon:_0x5cec57,class:_0x30636d,mainView:_0x1de726}=this['_currentConfig'];_0x1de726['delegate'](...hm)['to'](this),_0x26cac7['show']({'title':_0x172491,'icon':_0x5cec57,'hasCloseButton':!0x0,'id':_0x3aa30f,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x30636d||''),'content':_0x1de726,'onShow':_0x468069=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x31dd5a=this['_getSelectionElements']();_0x31dd5a&&_0x31dd5a[0x0]&&_0x3cfeda({'target':_0x31dd5a[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x468069['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x3aa30f});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x3aa30f}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0xb867fd,_0x4d08f1){if(!_0x4d08f1)return null;const _0x2e1d60=this['_getSelectionElements']();if(!_0x2e1d60||0x0===_0x2e1d60['length'])return{'left':Math['round'](_0x4d08f1['left']+_0x4d08f1['width']/0x2-_0xb867fd['width']/0x2),'top':Math['round'](_0x4d08f1['top']+_0x4d08f1['height']/0x2-_0xb867fd['height']/0x2)};const _0x943b61=Math['round'](_0x4d08f1['left']+_0x4d08f1['width']/0x2-_0xb867fd['width']/0x2),_0x5d0992=_0x2e1d60['map'](_0x14b73b=>new _0x1faa00(_0x14b73b)),_0x2168cb=_0xb867fd['height'];return{'left':_0x943b61,'top':this['_calculateOptimalTopPosition'](_0x5d0992,_0x2168cb,_0x4d08f1)};}['_calculateOptimalTopPosition'](_0xc7b196,_0xb8160c,_0x3c6bce){const _0x3d5488=new _0x1faa00(_0x4cdc9d['window']),_0x288e8a=_0xc7b196['map'](_0x5e6835=>_0x5e6835['getVisible']())['filter'](_0x27f204=>_0x27f204),_0x23cbf7=_0x1faa00['getBoundingRect'](_0x288e8a);if(!_0x23cbf7)return Math['round'](_0x3c6bce['top']+_0x3c6bce['height']/0x2);const _0x249f1c=_0x3d5488['getIntersection'](_0x23cbf7);if(!_0x249f1c)return Math['round'](_0x3c6bce['top']+_0x3c6bce['height']/0x2);const _0x5651c7=_0x3c6bce['getVisible'](),_0x33649c=_0x5651c7&&_0x23cbf7['height']>_0x5651c7['height'],_0xd3c7a6=_0x249f1c['top'],_0x5d8660=_0x249f1c['bottom'];if(_0x33649c){const _0x1b13d2=(_0x5651c7||_0x3d5488)['height']/0x2-_0xb8160c/0x2,_0x1375a4=_0xd3c7a6-um-_0x3c6bce['top'],_0x4f60c5=_0x3c6bce['bottom']-_0x5d8660-um;return _0x1375a4>=_0xb8160c?Math['max'](um,_0xd3c7a6-_0xb8160c-um):_0x4f60c5>=_0xb8160c?_0x5d8660+um:Math['max'](um,_0x1b13d2);}const _0x19c8da=_0xd3c7a6-_0xb8160c,_0x4d2dbc=_0x3c6bce['bottom']-_0x5d8660-um,_0x1407d1=_0xd3c7a6-um-_0x3c6bce['top'];let _0x184752;if(_0x4d2dbc>=_0xb8160c)_0x184752=_0x5d8660+um;else{if(_0x1407d1>=_0xb8160c)_0x184752=_0x19c8da-um;else _0x184752=_0xd3c7a6+_0x23cbf7['height']/0x2-_0xb8160c/0x2;}return _0x184752;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x162b70=Md(this['context']);this['listenTo'](_0x162b70['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0xcde04a,data:{newRange:_0x33c1c5}}of _0x162b70['model']['document']['differ']['getChangedMarkers']())if(_0xcde04a['startsWith'](Dd+':')&&(_0x33c1c5&&(_0x33c1c5['start']['isEqual'](_0x33c1c5['end'])||'$graveyard'==_0x33c1c5['root']['rootName'])||null==_0x33c1c5)){const _0x206227=ho(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x206227),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x119255=Md(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x119255['model']['document']);}['_getSelectionElements'](){const _0xf293da=Md(this['context']);return Wu(_0xf293da['editing'],[..._0xf293da['model']['markers']['getMarkersGroup']('ai-selection'),..._0xf293da['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class AIMiniToolbarView extends _0x1421bf{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x47ed1a,_0x47a380={}){super(_0x47ed1a),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x47a380};const _0x4800e3=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x4800e3?'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'](_0x226bc0){this['showChangesButton']['isEnabled']=_0x226bc0;}['_setupRatingButtons'](){this['likeButton']=new _0x2e803a(this['locale']),this['likeButton']['set']({'icon':_0x898be2,'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 _0x2e803a(this['locale']),this['dislikeButton']['set']({'icon':_0x502cd6,'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 _0x2e803a(this['locale']),this['copyButton']['set']({'icon':_0x35c576,'label':ho(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x2167b1=new _0x1bf0d6();_0x2167b1['set']({'content':_0x44439c}),_0x2167b1['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'](_0x2167b1);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x2e803a(this['locale']),this['showChangesButton']['set']({'icon':_0x4fa939,'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',_0x167397=>_0x167397?_0x229bfa:_0x4fa939),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(_0x281696,_0x4e3497){super(_0x281696);const _0x362980=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x2c5be9(),this['_keystrokes']=new _0x5e251c(),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']=_0x4e3497,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x281696),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x281696,_0x4e3497['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x4e3497),this['_stateView']=new AISuggestionContentPartStateView(_0x281696),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new AIMiniToolbarView(_0x281696,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x281696,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x3ca6ea,_0x2a7cbe,_0xe5123d,_0x6ed6a6)=>{let _0x11c83a,_0x5130e2;'pending'===_0x6ed6a6?(_0x11c83a=this['_partToolbarView'],_0x5130e2=this['_stateView']):(_0x11c83a=this['_stateView'],_0x5130e2=this['_partToolbarView']),this['_stateView']['setState'](_0xe5123d),_0x11c83a['isVisible']=!0x1,_0x5130e2['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x362980['to']('_state',_0x563031=>'ck-ai-chat-balloon-main_state_'+_0x563031)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x4e3497);});}['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'](_0x5c9561){_0x5c9561?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x5c9561);}['setState'](_0x1280f7){this['_state']=_0x1280f7;}['showError'](_0x3a50a0){super['showError'](_0x3a50a0),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x4a92a1){super['showBlockingError'](_0x4a92a1),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x507eb9){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x507eb9;}['togglePartToolbarEnabled'](_0xc09761){this['_partToolbarView']['isEnabled']=_0xc09761;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0xcc6d9f,showSuggestButton:_0x50999e}){_0xcc6d9f=_0xcc6d9f&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x50999e=_0x50999e&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0xcc6d9f,'showSuggestButton':_0x50999e});}['_createNextButtonView'](){const _0x27c6f5=new _0x2e803a(this['locale']);return _0x27c6f5['set']({'icon':_0x41df2a,'label':ho(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x27c6f5['on']('execute',()=>{this['fire']('showNext');}),_0x27c6f5;}['_createPreviousButtonView'](){const _0x44a937=new _0x2e803a(this['locale']);return _0x44a937['set']({'icon':_0x400d02,'label':ho(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x44a937['on']('execute',()=>{this['fire']('showPrevious');}),_0x44a937;}}class AIChatBalloonToolbarContainerView extends _0x3989d4{constructor(_0x25c9c4,_0x9c74ac){super(_0x25c9c4),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x9c74ac});}}class AIChatBalloon extends _0x13517b{static get['requires'](){return[it,AIBalloon];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0xce11e1){super(_0xce11e1),this['set']('showDiff',!0x1);}['open'](_0x4a4213){const _0x312c61=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x312c61['plugins']['get']('AIBalloon')['open']({..._0x4a4213,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x4a4213['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x4a4213['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x5f3273){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x5f3273);}['setState'](_0x4d9a75){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x4d9a75);}['_createChatBalloonView'](){const _0x571261=this['editor'],_0x355dfe=_0x571261['plugins']['get']('AIBalloon'),_0x592fd1=_0x571261['commands']['get']('trackChanges');let _0x44ea98=_0x571261['config']['get']('ai.availableReplyActions')||[...ef];_0x571261['plugins']['has']('TrackChanges')||(_0x44ea98=_0x44ea98['filter'](_0x108212=>'insertSuggestion'!=_0x108212));const _0x10f999=new AIChatBalloonView(_0x571261['locale'],{'availableActions':_0x44ea98,'showApplyButton':!0x0,'showSuggestButton':!!_0x592fd1});return _0x10f999['bind']('showDiff')['to'](this),_0x10f999['delegate'](...Qd)['to'](this),_0x10f999['delegate']('showPrevious','showNext')['to'](this),_0x355dfe['delegate']('dialogClosed')['to'](this),_0x10f999['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x10f999['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x10f999['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x592fd1&&_0x10f999['bind']('isTrackChangesOn')['to'](_0x592fd1,'value'),_0x10f999['render'](),_0x10f999;}['_toggleRotatorButtonsInDialogHeader'](_0x2243d7){const _0x7ac799=this['editor'],_0x149558=_0x7ac799['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x2243d7),_0x149558['has'](this['_chatBalloonView']['previousButtonView'])||(_0x149558['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x7ac799['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x149558['remove'](this['_chatBalloonView']['previousButtonView']),_0x149558['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x13517b{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function dm(_0x120519){const {editor:_0x57ec40,action:_0x40f870,withText:_0x1dad4c=!0x1,withIcon:_0x451c0a=!0x0,isInDropdown:_0x3bd687=!0x0,shouldPreventFocus:_0x1d228f=!0x1}=_0x120519;return()=>{const _0x9eb87b=_0x57ec40['locale'],_0x18480b=new _0x2e803a(_0x9eb87b),_0x2db9e7=_0x18480b['bindTemplate'];_0x3bd687&&_0x18480b['extendTemplate']({'on':{'mouseenter':_0x2db9e7['to'](()=>{_0x1d228f&&_0x1d228f()||_0x18480b['focus']();})}});const _0x180dc3=_0x40f870['icon']??_0x40f870['parent']?.['icon'];return _0x18480b['set']({'label':_0x40f870['displayedPrompt'],'withText':_0x1dad4c,'role':'menuitem','icon':_0x451c0a?_0x180dc3??_0x1ec297:void 0x0,'tooltip':!_0x1dad4c,'class':'ck-ai-quick-actions-button','isEnabled':_0x40f870['isEnabled']}),_0x18480b['on']('execute',()=>{_0x57ec40['editing']['view']['focus'](),_0x57ec40['commands']['execute']('aiQuickAction',_0x40f870);}),_0x18480b;};}class DropdownMenuButtonWithHighlightView extends It{['arrowView'];constructor(_0x1c1916,_0x451161){super(_0x1c1916,_0x451161);const _0x5f347e=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',_0x426d10=>String(_0x426d10)),'data-cke-tooltip-disabled':_0x5f347e['to']('isOn')},'on':{'mouseenter':_0x5f347e['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x333f71=new _0x1bf0d6();return _0x333f71['content']=_0x2ccc03,_0x333f71['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x333f71;}}class AIQuickActionsFilteredListView extends _0x3523c8{['_allListItems'];['_allSearchableItems'];constructor(_0x596784,_0x3a8380,_0xba9c81){super(_0x596784),this['_allListItems']=_0x3a8380,this['_allSearchableItems']=_0xba9c81;}['filter'](_0x27a520){if(!_0x27a520)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x4f5a38=_0x27a520['source']['toLowerCase']()['trim'](),_0x3841fa=this['_allSearchableItems']['filter'](_0x1cb754=>(_0x1cb754['groupLabel']?_0x1cb754['label']+'\x20('+_0x1cb754['groupLabel']+')':_0x1cb754['label'])['toLowerCase']()['includes'](_0x4f5a38));return this['items']['clear'](),this['items']['addMany'](_0x3841fa['sort']((_0x229bf1,_0x12d604)=>{const _0xea7b2d=_0x229bf1['groupLabel'],_0x4e0ffa=_0x12d604['groupLabel'];return _0xea7b2d||_0x4e0ffa?_0xea7b2d?0x1:-0x1:0x0;})['map'](_0x40db3d=>_0x40db3d['item'])),this['_highlightQuery'](_0x4f5a38,_0x3841fa),{'resultsCount':_0x3841fa['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x3d3e5e,_0x4d9df5){if(!_0x3d3e5e)return;const _0x58d88e=new RegExp(Yr(_0x3d3e5e),'gi');_0x4d9df5['forEach'](_0x403669=>{_0x403669['highlightViews']&&_0x403669['highlightViews']['forEach'](_0x5429a1=>{'function'==typeof _0x5429a1['highlightText']&&_0x5429a1['highlightText'](_0x58d88e);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x550c54=>{_0x550c54['highlightViews']&&_0x550c54['highlightViews']['forEach'](_0x346bb0=>{'function'==typeof _0x346bb0['highlightText']&&_0x346bb0['highlightText'](null);});});}}const fm='menu',mm='menuitem';class AIQuickActionsDropdownContentView extends _0x3989d4{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x43d0dd,_0x50d98a,_0x1878a6,_0x1e6de7,_0x4188e0=!0x1){const _0x4d9d91=_0x43d0dd['locale'];super(_0x4d9d91),this['_bodyCollection']=_0x1e6de7,this['_hasSearch']=_0x4188e0;const _0x1269d1=this['_createListItems'](_0x43d0dd,_0x50d98a,_0x1878a6);this['optionsListView']=new AIQuickActionsFilteredListView(_0x4d9d91,_0x1269d1,this['_allSearchableItems']),this['optionsListView']['role']=fm,this['optionsListView']['items']['addMany'](_0x1269d1),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),_0x4188e0&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x1269d1,this['focusCycler']=new tt({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x4188e0&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x312420=_0x4188e0&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new vt(_0x312420),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x4d9d91['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 _0x42ad18=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x42ad18);}['_createListItems'](_0x513aad,_0x5dbde0,_0x36916d){const _0x551dbb=new vt();return _0x5dbde0['forEach'](_0x34d075=>{if('actions'in _0x34d075){const {listItem:_0x304ff3}=this['_createActionGroupButton'](_0x513aad,_0x34d075,_0x36916d);_0x551dbb['add'](_0x304ff3),_0x34d075['actions']['forEach'](_0x22ed5e=>{this['_createActionButton'](_0x513aad,_0x22ed5e,_0x34d075['label'],_0x34d075['icon']);const {listItem:_0x7c1144,highlightViews:_0x168a1e}=this['_createSearchResultActionButton'](_0x513aad,_0x22ed5e,_0x34d075['label'],_0x34d075['icon']);this['_allSearchableItems']['push']({'item':_0x7c1144,'label':_0x22ed5e['displayedPrompt'],'groupLabel':_0x34d075['label'],'highlightViews':_0x168a1e});});}else{const {listItem:_0x17a34d}=this['_createActionButton'](_0x513aad,_0x34d075);_0x551dbb['add'](_0x17a34d);const _0x587b08=_0x17a34d['children']['first'];if(_0x587b08){const {listItem:_0x412a41,highlightViews:_0x1d5a6d}=this['_createSearchResultActionButton'](_0x513aad,_0x34d075);this['_allSearchableItems']['push']({'item':_0x412a41,'label':_0x587b08['label']||'','highlightViews':_0x1d5a6d});}}}),_0x551dbb;}['_createActionButton'](_0x14b2f1,_0x446fb5,_0x574676,_0x384c29){const _0xe73e6=new _0x5d952b(this['locale']);if(_0x574676&&_0x384c29){const _0x382034=new _0x2e803a(this['locale']),_0x5e0e62=_0x382034['bindTemplate'],_0x46a4a8=new _t();_0x46a4a8['text']=_0x446fb5['displayedPrompt'];const _0xc04659=new _t();_0xc04659['text']=_0x574676;const _0x284763=new _0x1bf0d6();_0x284763['content']=_0x384c29,_0x284763['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x45d3a7=new _0x3989d4(this['locale']);_0x45d3a7['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x145483=new _0x3989d4(this['locale']);return _0x145483['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x382034['set']({'label':_0x446fb5['displayedPrompt']+'\x20('+_0x574676+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x382034['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':[_0x46a4a8,_0x45d3a7,_0x284763,_0xc04659,_0x145483],'on':{'mouseenter':_0x5e0e62['to'](()=>{this['_isSearchFocused']()||_0x382034['focus']();}),'click':_0x5e0e62['to'](()=>{_0x382034['fire']('execute');})}}),_0x382034['on']('execute',()=>{_0x14b2f1['editing']['view']['focus'](),_0x14b2f1['commands']['execute']('aiQuickAction',_0x446fb5);}),_0xe73e6['children']['add'](_0x382034),{'listItem':_0xe73e6,'highlightViews':[_0x46a4a8,_0xc04659]};}{const _0xed5df5=new St(),_0xe95025=new _0x2e803a(this['locale'],_0xed5df5),_0x58d273=_0xe95025['bindTemplate'],_0xa78f2f=_0x446fb5['icon']??_0x446fb5['parent']?.['icon'],_0x5ccbae=void 0x0!==_0x446fb5['icon'];return _0xe95025['set']({'label':_0x446fb5['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x5ccbae?_0xa78f2f??_0x1ec297:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0xe95025['extendTemplate']({'on':{'mouseenter':_0x58d273['to'](()=>{this['_isSearchFocused']()||_0xe95025['focus']();})}}),_0xe95025['on']('execute',()=>{_0x14b2f1['editing']['view']['focus'](),_0x14b2f1['commands']['execute']('aiQuickAction',_0x446fb5);}),_0xe73e6['children']['add'](_0xe95025),{'listItem':_0xe73e6,'highlightViews':[_0xed5df5]};}}['_createSearchResultActionButton'](_0x23adf6,_0x5536e9,_0x3bf6a8,_0x391007){return _0x3bf6a8&&_0x391007?this['_createSearchResultGroupedActionButton'](_0x23adf6,_0x5536e9,_0x3bf6a8,_0x391007):this['_createSearchResultIndividualActionButton'](_0x23adf6,_0x5536e9);}['_createSearchResultGroupedActionButton'](_0x3859c9,_0x1493ad,_0x18c0e6,_0x4141f8){const _0x7046de=new _0x5d952b(this['locale']),_0x560388=new _0x2e803a(this['locale']),_0x792bee=_0x560388['bindTemplate'],{view:_0x456c5b,highlightView:_0x59ae2b}=this['_createSearchResultGroupRow'](_0x18c0e6,_0x4141f8),{view:_0x798d34,highlightView:_0x55f26e}=this['_createSearchResultActionRow'](_0x1493ad['displayedPrompt']),_0x22bff7=this['_createSearchResultContentView'](_0x456c5b,_0x798d34);return _0x560388['set']({'label':_0x1493ad['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}),_0x560388['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':[_0x22bff7],'on':{'mouseenter':_0x792bee['to'](()=>{this['_isSearchFocused']()||_0x560388['focus']();}),'click':_0x792bee['to'](()=>{this['_handleSearchResultButtonClick'](_0x560388);})}}),this['_setupActionButtonExecution'](_0x560388,_0x3859c9,_0x1493ad),_0x7046de['children']['add'](_0x560388),{'listItem':_0x7046de,'highlightViews':[_0x59ae2b,_0x55f26e]};}['_createSearchResultIndividualActionButton'](_0x30d745,_0x5ef95a){const _0x541d8f=new _0x5d952b(this['locale']),_0x3bbece=new St(),_0x15df7f=new _0x2e803a(this['locale'],_0x3bbece),_0x2e4bd0=_0x15df7f['bindTemplate'];return _0x15df7f['set']({'label':_0x5ef95a['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x15df7f['extendTemplate']({'on':{'mouseenter':_0x2e4bd0['to'](()=>{this['_isSearchFocused']()||_0x15df7f['focus']();})}}),this['_setupActionButtonExecution'](_0x15df7f,_0x30d745,_0x5ef95a),_0x541d8f['children']['add'](_0x15df7f),{'listItem':_0x541d8f,'highlightViews':[_0x3bbece]};}['_createSearchResultGroupRow'](_0x294f66,_0x514040){const _0x3dd600=new _0x3989d4(this['locale']),_0x5736e0=new _0x1bf0d6();_0x5736e0['content']=_0x514040,_0x5736e0['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x1d186e=new _t();return _0x1d186e['text']=_0x294f66,_0x3dd600['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x5736e0,_0x1d186e]}),{'view':_0x3dd600,'highlightView':_0x1d186e};}['_createSearchResultActionRow'](_0x506496){const _0x457a92=new _0x3989d4(this['locale']),_0x5beaaa=new _t();return _0x5beaaa['text']=_0x506496,_0x457a92['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x5beaaa]}),{'view':_0x457a92,'highlightView':_0x5beaaa};}['_createSearchResultContentView'](_0x4d12a1,_0x5578fe){const _0x34edab=new _0x3989d4(this['locale']);return _0x34edab['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x4d12a1,_0x5578fe]}),_0x34edab;}['_setupActionButtonExecution'](_0x37b48a,_0xd9c311,_0x528536){_0x37b48a['on']('execute',()=>{_0xd9c311['editing']['view']['focus'](),_0xd9c311['commands']['execute']('aiQuickAction',_0x528536);});}['_createActionGroupButton'](_0x45505a,_0x240571,_0x2e828c){const _0x319cc9=new _0x5d952b(this['locale']),_0x12dd5c=new St(),_0xc31675=new DropdownMenuButtonWithHighlightView(this['locale'],_0x12dd5c),_0x4e9a53=_0xc31675['bindTemplate'],_0x34c25b=this['_getPanelKeystroke'](_0x2e828c),_0x2e5813=this['_createGroupActionsList'](_0x45505a,_0x240571['actions'],_0x2e828c);_0xc31675['set']({'label':_0x240571['label'],'withText':!0x0,'role':mm,'icon':_0x240571['icon']??_0x1ec297,'isEnabled':_0x240571['actions']['some'](_0x799e53=>_0x799e53['isEnabled'])}),_0xc31675['extendTemplate']({'on':{'mouseenter':_0x4e9a53['to'](()=>{this['_isSearchFocused']()||_0xc31675['focus']();})}});const _0x5382fe=new ft(this['locale']);return _0x5382fe['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x4e9a53['to'](_0x4feab3=>{this['_handlePanelKeydown'](_0x4feab3,_0x34c25b,_0xc31675,_0x5382fe);})}}),_0xc31675['bind']('isOn')['to'](_0x5382fe,'isVisible'),this['_bodyCollection']['add'](_0x5382fe),_0x5382fe['content']['add'](_0x2e5813),this['_setupGroupMenuBehavior'](_0xc31675,_0x5382fe),_0x319cc9['children']['add'](_0xc31675),{'listItem':_0x319cc9,'highlightView':_0x12dd5c};}['_createGroupActionsList'](_0x3daddd,_0x4b31e3,_0x3ec096){const _0x196e79=new _0x3523c8(this['locale']);return _0x196e79['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x4b31e3['forEach'](_0x264570=>{const _0x4229a6=new _0x5d952b(this['locale']),_0x437fce=dm({'editor':_0x3daddd,'action':_0x264570,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x4229a6['children']['add'](_0x437fce),_0x3ec096['focusTracker']['add'](_0x437fce),_0x196e79['items']['add'](_0x4229a6);}),_0x196e79;}['_setupGroupMenuBehavior'](_0x40dc66,_0x2555f9){const _0x172c3d=_0x40dc66['bindTemplate'],_0x242011=this['_getButtonKeystroke'](_0x40dc66);_0x40dc66['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x172c3d['to'](()=>{this['_showNestedPanel'](_0x2555f9,_0x40dc66);}),'mouseleave':_0x172c3d['to'](_0x141f5c=>{const _0x400f6d=_0x141f5c['relatedTarget'];this['_isMovingToNestedMenu'](_0x400f6d,_0x2555f9)||this['_hideNestedPanel'](_0x2555f9);}),'keydown':_0x172c3d['to'](_0x5e2c9b=>{_0x5e2c9b['key']==_0x242011&&(this['_showNestedPanel'](_0x2555f9,_0x40dc66),_0x2555f9['content']['get'](0x0)['focus']());})}}),_0x2555f9['on']('render',()=>{_0x2555f9['element']?.['addEventListener']('mouseleave',_0x2aa3d5=>{const _0x28fc73=_0x2aa3d5['relatedTarget'];_0x40dc66['element']?.['contains'](_0x28fc73)||this['_isMovingToNestedMenu'](_0x28fc73,_0x2555f9)||this['_hideNestedPanel'](_0x2555f9);});});}['_showNestedPanel'](_0x314bd3,_0x331f0f){this['_openNestedPanels']['forEach'](_0x37b212=>{_0x37b212!==_0x314bd3&&_0x37b212['isVisible']&&_0x37b212['hide']();}),_0x314bd3['show'](),_0x314bd3['pin']({'positions':[Ct['eastSouth']],'target':_0x331f0f['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x314bd3);}['_hideNestedPanel'](_0x54f601){_0x54f601['hide'](),this['_openNestedPanels']['delete'](_0x54f601);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x3e5b0b=>_0x3e5b0b['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x2b33a5,_0x28fa7d){if(!_0x2b33a5)return!0x1;if(_0x28fa7d['element']?.['contains'](_0x2b33a5))return!0x0;const _0xc8fa04=_0x2b33a5;return _0xc8fa04['closest']&&(null!==_0xc8fa04['closest']('.ck-ai-quick-actions-group-panel')||null!==_0xc8fa04['closest']('.ck-ai-quick-actions-group-list')||null!==_0xc8fa04['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'](_0x57d81c){return'rtl'===_0x57d81c['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x1cc1e1){return'rtl'===_0x1cc1e1['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x5e41e9,_0x28cb12,_0x2fc68b,_0x16fbac){_0x5e41e9['key']==_0x28cb12&&(_0x2fc68b['focus'](),this['_hideNestedPanel'](_0x16fbac));}['_handleSearchResultButtonClick'](_0x33f568){_0x33f568['fire']('execute');}}function gm(_0x514d76){const {editor:_0x599efc,content:_0x285e56,buttonDefinition:_0x157bf7,bodyCollection:_0xa8675c,hasSearch:_0x235c3c=!0x1}=_0x514d76;return()=>{const _0x229ec8=_0x599efc['locale'],_0x4b0240=st(_0x229ec8);_0x4b0240['buttonView']['set']({'icon':_0x157bf7['icon']??_0x1ec297,'label':_0x157bf7['label'],'tooltip':!0x0}),_0x4b0240['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x2e880b=new AIQuickActionsDropdownContentView(_0x599efc,_0x285e56,_0x4b0240,_0xa8675c,_0x235c3c);if(_0x4b0240['panelView']['children']['add'](_0x2e880b),_0x235c3c){const _0x2a32eb='ai-quick-actions-dropdown-selection';_0x4b0240['on']('change:isOpen',(_0x2da59b,_0x4ba420,_0x59082d)=>{if(_0x59082d){if(_0x599efc['plugins']['has']('AIEditing')){const _0x2ae490=_0x599efc['plugins']['get'](AIEditing),_0x2a961e=_0x599efc['model']['document']['selection'],_0x4de7df=Array['from'](_0x2a961e['getRanges']());_0x4de7df['length']>0x0&&_0x2ae490['showFakeVisualSelection'](_0x4de7df,_0x2a32eb,!0x1,!0x0);}}else _0x599efc['plugins']['has']('AIEditing')&&_0x599efc['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x2a32eb),_0x2e880b['resetSearch']();});}return _0x4b0240;};}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(_0x47c363){return _0x47c363['CHAT']='CHAT',_0x47c363['ACTION']='ACTION',_0x47c363['REVIEW']='REVIEW',_0x47c363;}({}),ym=function(_0x14505c){return _0x14505c['CHAT']='AIChat',_0x14505c['ACTION']='AIActions',_0x14505c['REVIEW']='AIReviewMode',_0x14505c;}({});class AIQuickActionsUI extends _0x13517b{static get['requires'](){return[kt,AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x5128a2=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x5128a2),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x26c811){return function(_0x429391){const _0x486a50=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x429391['uiLanguage']),_0x2d8999=_0x486a50||'English',_0x27e72=[{'id':'ask-ai','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':_0x21bf3f},{'id':'chat-commands','label':ho(_0x429391,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x21bf3f,'actions':[{'id':'explain','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':pm['replace']('%0',_0x2d8999),'type':'CHAT'},{'id':'summarize','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':Om['replace']('%0',_0x2d8999),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':wm['replace']('%0',_0x2d8999),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':_0x4ccc2c},{'id':'continue','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':_0x35e76f},{'id':'fix-grammar','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':_0x1b6b07},{'id':'adjust-length','label':ho(_0x429391,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x24ad34,'actions':[{'id':'make-shorter','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':ho(_0x429391,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x3b7dcc,'actions':[{'id':'make-tone-casual','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0xf8d126,'actions':[{'id':'translate-to-english','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':ho(_0x429391,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':ho(_0x429391,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x14003b,'actions':[]}];return _0x27e72;}(_0x26c811);}async['_getDefaultAndCustomActions'](){const _0x44987e=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x2f1faf=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x1cb498=[];try{_0x1cb498=await new AIModels({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x594ac2){const _0xdba50c=new _0x37fbfa('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x594ac2});_0x4b942a(_0xdba50c['message']);}finally{const _0x210ab3=_0x2f1faf['map'](_0x10ddfe=>({..._0x10ddfe,'icon':void 0x0})),_0x25bc22=_0x44987e['find'](_0x30f2a0=>'other'===_0x30f2a0['id']);_0x25bc22['actions']['push'](..._0x210ab3),_0x44987e['forEach'](_0x37c0b0=>{if('actions'in _0x37c0b0)_0x37c0b0['actions']['forEach'](_0x155e3d=>{if(_0x155e3d['isEnabled']=!!_0x1cb498['find'](_0x4ffdfc=>_0x4ffdfc['id']===_0x155e3d['model'])||void 0x0===_0x155e3d['model'],!_0x155e3d['isEnabled']){const _0xe47562=new _0x37fbfa('ai-quick-actions-unavailable-model',this,{'actionId':_0x155e3d['id'],'modelId':_0x155e3d['model']});_0x4b942a(_0xe47562['message']);}});else{if(_0x37c0b0['isEnabled']=!!_0x1cb498['find'](_0x289f33=>_0x289f33['id']===_0x37c0b0['model'])||void 0x0===_0x37c0b0['model'],!_0x37c0b0['isEnabled']){const _0x14cb1d=new _0x37fbfa('ai-quick-actions-unavailable-model',this,{'actionId':_0x37c0b0['id'],'modelId':_0x37c0b0['model']});_0x4b942a(_0x14cb1d['message']);}}});}return _0x44987e;}['_initializeQuickActionsComponentsAndCommands'](){const _0x332d47=new dt(this['editor']['locale']);_0x332d47['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x332d47),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x332d47);}['_initializeQuickActionsDropdown'](_0x5cb333){const _0x348138=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',gm({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x1ec297,'label':ho(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x5cb333,'hasSearch':_0x348138}));}['_prepareQuickActionsDefinition'](_0x27f700){this['_quickActionsDefinition']=_0x27f700['map'](_0x2278e6=>{if('actions'in _0x2278e6){const _0x57a914=_0x2278e6;return{..._0x57a914,'actions':_0x57a914['actions']['map'](_0xfec065=>{const {actions:_0x9f5097,..._0xab9cc7}=_0x57a914;return{..._0xfec065,'parent':_0xab9cc7};})['filter'](_0x4e14b2=>this['_shouldIncludeAction'](_0x4e14b2))};}return _0x2278e6;})['filter'](_0x1222bb=>'actions'in _0x1222bb?_0x1222bb['actions']['length']>0x0:this['_shouldIncludeAction'](_0x1222bb));}['_shouldIncludeAction'](_0x35eef6){const _0x454e0b=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](ym[_0x35eef6['type']])&&!_0x454e0b['includes'](_0x35eef6['id'])&&!('CHAT'===_0x35eef6['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x53d345){this['_quickActionsDefinition']['forEach'](_0x43482e=>{if('actions'in _0x43482e){const _0x38bbef=gm({'editor':this['editor'],'content':_0x43482e['actions'],'buttonDefinition':_0x43482e,'bodyCollection':_0x53d345});this['editor']['ui']['componentFactory']['add'](_0x43482e['id'],_0x38bbef),_0x43482e['actions']['forEach'](_0xf464fe=>{const _0x3ca563=dm({'editor':this['editor'],'action':_0xf464fe});this['editor']['ui']['componentFactory']['add'](_0xf464fe['id'],_0x3ca563);});}else{const _0x12295e=dm({'editor':this['editor'],'action':_0x43482e,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x43482e['id'],_0x12295e);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x296af0=>{const _0x32164d=new rt(_0x296af0),_0x1af5c5=ho(_0x296af0,'AI_QUICK_ACTIONS_HEADING');_0x32164d['buttonView']['set']({'label':_0x1af5c5,'icon':_0x1ec297});const _0x529675=new ct(_0x296af0);_0x529675['set']({'ariaLabel':_0x1af5c5,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x46d42b=>{if('actions'in _0x46d42b){const _0x91a27c=_0x46d42b,_0x3074c4=new lt(_0x296af0,_0x32164d),_0x9133d0=new rt(_0x296af0),_0x440611=new ct(_0x296af0);_0x9133d0['buttonView']['set']({'label':_0x91a27c['label'],'icon':_0x91a27c['icon']}),_0x91a27c['actions']['forEach'](_0x45cdd9=>{const _0x28c9cd=new lt(_0x296af0,_0x9133d0),_0x40d9f5=new ot(_0x296af0);_0x40d9f5['set']({'label':_0x45cdd9['displayedPrompt'],'icon':_0x45cdd9['icon'],'role':'menuitem','isEnabled':_0x45cdd9['isEnabled']}),_0x40d9f5['on']('execute',()=>{this['_executeQuickAction'](_0x45cdd9);}),_0x40d9f5['delegate']('execute')['to'](_0x9133d0),_0x28c9cd['children']['add'](_0x40d9f5),_0x440611['items']['add'](_0x28c9cd);}),_0x9133d0['panelView']['children']['add'](_0x440611),_0x3074c4['children']['add'](_0x9133d0),_0x529675['items']['add'](_0x3074c4);}else{const _0x288839=_0x46d42b,_0x87fc9f=new lt(_0x296af0,_0x32164d),_0x567969=new ot(_0x296af0);_0x567969['set']({'label':_0x288839['displayedPrompt'],'icon':_0x288839['icon'],'role':'menuitem','isEnabled':_0x288839['isEnabled']}),_0x567969['on']('execute',()=>{this['_executeQuickAction'](_0x288839);}),_0x567969['delegate']('execute')['to'](_0x32164d),_0x87fc9f['children']['add'](_0x567969),_0x529675['items']['add'](_0x87fc9f);}});const _0x4c1730=Object['values'](ym)['some'](_0x365803=>this['editor']['plugins']['has'](_0x365803));return _0x32164d['set']({'isEnabled':_0x4c1730}),_0x32164d['panelView']['children']['add'](_0x529675),_0x32164d;});}['_executeQuickAction'](_0x3b6857){const _0x4b15b1=this['editor'];_0x4b15b1['editing']['view']['focus'](),_0x4b15b1['commands']['execute']('aiQuickAction',_0x3b6857);const _0x150e19=_0x4b15b1['ui']['view']['menuBarView'];_0x150e19&&_0x150e19['close']&&_0x150e19['close']();}}class AIQuickActionsCommand extends _0x15bad7{['execute'](_0x5b2ad9){switch(this['_expandSelectionIfCollapsed'](),_0x5b2ad9['type']){case bm['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x5def27=ho(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x37fbfa('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5def27});}this['_handleAIChatAction'](_0x5b2ad9);break;case bm['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0xd387cc=ho(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x37fbfa('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0xd387cc});}this['_handleAIActionsAction'](_0x5b2ad9);break;case bm['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x5e4841=ho(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new _0x37fbfa('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5e4841});}this['_handleAIReviewAction'](_0x5b2ad9);}}async['_handleAIChatAction'](_0x46feee){const _0x4fa382=this['editor']['plugins']['get']('AIChat'),_0xd34c9c=this['editor']['plugins']['get']('AIChatController'),_0x1ec678=this['editor']['plugins']['get']('AITabs')['view'];if(_0x1ec678['isVisible']||(_0x1ec678['isVisible']=!0x0),'chat'!==_0x1ec678['activeTab']&&_0x1ec678['activateTab']('chat'),'ask-ai'===_0x46feee['id'])_0xd34c9c['removeSelectionFromChatContext'](),await _0x4fa382['addSelectionToChatContext'](),_0x4fa382['focusPromptInput']();else await _0x4fa382['startConversation'](),_0xd34c9c['removeSelectionFromChatContext'](),await _0x4fa382['addSelectionToChatContext'](),_0x4fa382['focusPromptInput'](),await _0x4fa382['sendMessage']({'message':_0x46feee['prompt']||_0x46feee['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x46feee['id']},'displayedPrompt':_0x46feee['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x17e5c8=this['editor'],_0x11cf8c=_0x17e5c8['model']['document']['selection'];if(!_0x11cf8c['isCollapsed'])return;const _0x250245=_0x556601(_0x11cf8c['getSelectedBlocks']())||_0x17e5c8['model']['schema']['getLimitElement'](_0x11cf8c);_0x17e5c8['model']['change'](_0x172bde=>{_0x172bde['setSelection'](_0x250245,'in');});}['_handleAIActionsActionLabel'](_0x58069a){return _0x58069a['parent']?.['label']&&'other'!==_0x58069a['parent']?.['id']?_0x58069a['parent']['label']+':\x20'+_0x58069a['displayedPrompt']:_0x58069a['displayedPrompt'];}async['_handleAIActionsAction'](_0x2ecaac){const _0x4740e6=this['editor']['plugins']['get']('AIActions'),_0x301ff7=_0x2ecaac['prompt']?{'userMessage':_0x2ecaac['prompt'],'model':_0x2ecaac['model']}:{'actionName':_0x2ecaac['actionName']||_0x2ecaac['id'],'args':_0x2ecaac['args']},_0x6e31c4=this['_handleAIActionsActionLabel'](_0x2ecaac);await _0x4740e6['executeAction'](_0x301ff7,_0x6e31c4,_0x2ecaac['icon']);}async['_handleAIReviewAction'](_0x5106ae){console['log']('handleAIReviewAction',_0x5106ae);}}class AIQuickActionsEditing extends _0x13517b{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x282e5c=this['editor'],_0x5d8975=new AIQuickActionsCommand(this['editor']);if(_0x282e5c['commands']['add']('aiQuickAction',_0x5d8975),_0x282e5c['plugins']['has']('AIChat')){const _0x442a8f=this['editor']['plugins']['get']('AIChat');_0x282e5c['model']['document']['selection']['on']('change:range',(_0xc773d4,_0x3be7e4)=>{_0x3be7e4['directChange']&&_0x442a8f['removeSelectionFromChatContext']();});}}}class AIActionsReply extends AIReply{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x268a26=gd(this['documentContextContent']['children']['map'](_0x2285e3=>({'node':_0x2285e3,'id':Ba(_0x2285e3,'data-id')})),this['parsedMergedContent']['children']['map'](_0x4b558f=>({'node':_0x4b558f,'id':Ba(_0x4b558f,'data-id')||_0x5c5c0c()})),{'comparator':(_0x555eb4,_0x3b053e)=>_0x555eb4['id']==_0x3b053e['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x268a26['length']&&_0x268a26[_0x268a26['length']-0x1]['removed'];)_0x268a26['pop']();}const _0x32e7af=_0x268a26['map'](_0x1aaf21=>{const _0x3b7c82=_0x1aaf21['added']?'new':_0x1aaf21['removed']?'removed':'modified';return{'node':_0x1aaf21['value'][0x0]['node'],'type':_0x3b7c82,'id':_0x1aaf21['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x32e7af,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x21dc02,_0xf04283){return _0xf04283;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x14ae63){super(_0x14ae63),this['content']=_0x14ae63['content'],this['version']=_0x14ae63['version'],this['actionName']=_0x14ae63['actionName'],this['args']=_0x14ae63['args'],this['userMessage']=_0x14ae63['userMessage'],this['model']=_0x14ae63['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':Sd['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x5cad4f){const _0x59eeed=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x5cad4f});return this['replies']['push'](_0x59eeed),_0x59eeed['delegate'](...Id)['to'](this),this['fire']('replyCreated',_0x59eeed),_0x59eeed;}}class AIActionsBalloonToolbarView extends _0x1421bf{constructor(_0x5a8c15,_0x499243=!0x0,_0x490eab=!0x0){super(_0x5a8c15),this['set']('isEnabled',!0x1),_0x499243&&(this['applyButton']=this['_createButton'](ho(_0x5a8c15,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x490eab&&(this['suggestButton']=this['_createButton'](ho(_0x5a8c15,'AI_BALLOON_SUGGEST_BUTTON'),_0x499243?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x499243,'showSuggestButton':_0x490eab}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x590006,showSuggestButton:_0x4f9891}){this['applyButton']&&(this['applyButton']['isVisible']=_0x590006),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x4f9891);}['_createButton'](_0x21f93e,_0x2612f2){const _0x32a379=new _0x2e803a(this['locale']);return _0x32a379['set']({'label':_0x21f93e,'class':_0x2612f2,'isVisible':!0x0,'withText':!0x0}),_0x32a379;}}class AIActionsBalloonDisclaimerView extends _0x3989d4{constructor(_0x234206){super(_0x234206),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(_0x234206,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0x3989d4{constructor(_0x46da5c){super(_0x46da5c),this['set']('isVisible',!0x0);const _0x285128=new AISpinnerView('small');_0x285128['isVisible']=!0x0;const _0x472470=new _0x3989d4(this['locale']);_0x472470['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',_0xc1c869=>!_0xc1c869)]},'children':[_0x285128,_0x472470]});}}class AIActionsBalloonView extends AIBalloonView{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x53702f,_0x24626e){super(_0x53702f),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x24626e,this['_focusTracker']=new _0x2c5be9(),this['_keystrokes']=new _0x5e251c(),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'](_0x24626e),this['_addDisclaimerView'](),this['_addToolbar'](_0x24626e),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'](_0x24626e);});}['render'](){super['render']();for(const _0x12a23c of this['_focusables'])this['_focusTracker']['add'](_0x12a23c['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x62fc21){-0x1===_0x62fc21?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x11dadc){this['_isLoading']=_0x11dadc;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x45da69){super['showError'](_0x45da69),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x591482){super['showBlockingError'](_0x591482),this['setErrorState']();}['addMiniToolbarItem'](_0x110430){this['_miniToolbarView']['items']['has'](_0x110430)||this['_miniToolbarView']['items']['add'](_0x110430);}['removeMiniToolbarItem'](_0x1dc641){this['_miniToolbarView']['items']['has'](_0x1dc641)&&this['_miniToolbarView']['items']['remove'](_0x1dc641);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x5a0988,showSuggestButton:_0x2a88b4}){_0x5a0988=_0x5a0988&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2a88b4=_0x2a88b4&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x5a0988,'showSuggestButton':_0x2a88b4});}async['updateContent'](_0x54b6c0){await this['_streamableContentView']['update'](_0x54b6c0);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x183614){this['_contentWrapper']=new _0x3989d4(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'](_0x183614['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x24988d,showSuggestButton:_0x8c7610}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x24988d,_0x8c7610),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',(_0x47b59a,_0x274e2,_0x21e233)=>!(_0x47b59a||_0x274e2||_0x21e233)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x24988d,'showSuggestButton':_0x8c7610}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x4c49e1){return this['_miniToolbarView']=new AIMiniToolbarView(this['locale'],_0x4c49e1),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',(_0x3f0b56,_0x1ba92e)=>!(_0x3f0b56||_0x1ba92e)),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 _0x318739=new _0x2e803a(this['locale']),_0x361577=new _0x2e803a(this['locale']),_0x1c3dce=new AIActionsBalloonNavigationCounterView(this['locale']),_0xc18c16=new _0x2e803a(this['locale']);_0x318739['set']({'icon':_0x327cfc,'label':ho(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x361577['set']({'icon':_0xf6132a,'tooltip':ho(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0xc18c16['set']({'icon':_0x2dccf8,'tooltip':ho(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x318739['bind']('isEnabled')['to'](this,'isBusy',_0x4ba585=>!_0x4ba585),_0x318739['on']('execute',()=>{this['fire']('tryAgain');}),_0x361577['bind']('isEnabled')['to'](this,'isBusy',_0x11ffdc=>!_0x11ffdc),_0x361577['on']('execute',()=>{this['fire']('showPrevious');}),_0xc18c16['bind']('isEnabled')['to'](this,'isBusy',_0x446f72=>!_0x446f72),_0xc18c16['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x361577,this['_navigationCounter']=_0x1c3dce,this['_navigationNextButton']=_0xc18c16,this['_navigationTryAgainButton']=_0x318739;}['updateMiniToolbarButtons'](_0x28ea79,_0x5aa0cd){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x480dea=_0x28ea79>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x480dea){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x5ee854=_0x28ea79-_0x5aa0cd;this['_navigationCounter']['setInteractionCount'](_0x5ee854+'/'+_0x28ea79),this['_navigationPreviousButton']['isEnabled']=_0x5aa0cd<_0x28ea79-0x1,this['_navigationNextButton']['isEnabled']=_0x5aa0cd>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'](_0x179444){this['_isLoading']=_0x179444;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x416ded=this['_getScrollableElement']();_0x416ded&&!this['_scrollManager']&&(this['_scrollManager']=new ScrollManager(_0x416ded));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0x3989d4{constructor(_0x21ceb9){super(_0x21ceb9);const _0x228ff6=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x228ff6['to']('interactionCount')}]});}['setInteractionCount'](_0x554820){this['set']('interactionCount',_0x554820);}}class AIActions extends _0x13517b{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(_0xf45a33){super(_0xf45a33),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'](_0x31752f,_0x22f561,_0x4294cc){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x1701b4,anchorData:_0x40042f}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x31752f,_0x1701b4,_0x40042f,_0x22f561,_0x4294cc);}}const {modelFragment:_0x12ca22,anchorData:_0x44613c}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x31752f,_0x12ca22,_0x44613c,_0x22f561,_0x4294cc);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x3f2c1b=this['editor']['plugins']['has']('TrackChanges');let _0x4a5434=this['editor']['config']['get']('ai.availableReplyActions')||[...ef];_0x3f2c1b||(_0x4a5434=_0x4a5434['filter'](_0xdf0f71=>'insertSuggestion'!=_0xdf0f71));const _0x4a5a9d=this['editor']['commands']['get']('trackChanges'),_0x99d494=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x3f2c1b,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x4a5434});return _0x99d494['bind']('isBusy')['to'](this),_0x4a5a9d&&_0x99d494['bind']('isTrackChangesOn')['to'](_0x4a5a9d,'value'),_0x99d494['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x99d494['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x99d494['on']('showNext',()=>{this['_navigateToNext']();}),_0x99d494;}['_getExecuteDataRegular'](){const _0x4f4e0b=this['editor']['model']['document']['selection'];if(_0x4f4e0b['isCollapsed']){const _0x70f973=_0x556601(_0x4f4e0b['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x4f4e0b);this['editor']['model']['change'](_0x1f3793=>{_0x1f3793['setSelection'](_0x70f973,'in');});}const _0x23087b=_0x4f4e0b['getFirstRange'](),_0x3a2427=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x4f4e0b),_0x23087b['start'],_0x23087b['end']);this['_copyMarkersToFragment'](_0x3a2427,_0x4f4e0b,{'isTableSelection':!0x1});const _0x2782ae=_0x4f4e0b['getFirstRange']()['start'],_0x29bed7=new Map();let _0x5c0986=_0x3a2427;for(let _0x521f7f=0x0;_0x521f7f<_0x2782ae['path']['length'];_0x521f7f++)_0x29bed7['set'](_0x5c0986,_0x2782ae['path'][_0x521f7f]),_0x5c0986=_0x5c0986['getChild'](0x0);return{'modelFragment':_0x3a2427,'anchorData':_0x29bed7};}['_getExecuteDataInTable'](){const _0x2511ba=this['editor']['model']['document']['selection'],_0x45cea4=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x11e7ee=_0x2511ba['getFirstRange']()['start']['parent']['parent'],_0x46fe24=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x11e7ee),this['editor']['model']['createPositionAfter'](_0x11e7ee)),_0x3a2499=this['_wrapWithCommonAncestors'](_0x45cea4,_0x46fe24['start'],_0x46fe24['end']);this['_copyMarkersToFragment'](_0x3a2499,_0x2511ba,{'isTableSelection':!0x0});const _0x2c0abe=_0x2511ba['getFirstRange']()['start'],_0x32d05c=new Map();let _0x1dd219=_0x3a2499;for(let _0x1c6e93=0x0;_0x1c6e93<_0x2c0abe['path']['length'];_0x1c6e93++)if(_0x32d05c['set'](_0x1dd219,_0x2c0abe['path'][_0x1c6e93]),_0x1c6e93<_0x2c0abe['path']['length']-0x1)_0x1dd219=_0x1dd219['getChild'](0x0);else{let _0x18ccd2=_0x1dd219['nextSibling'];for(;_0x18ccd2;)_0x32d05c['set'](_0x18ccd2,_0x2c0abe['path'][_0x1c6e93]),_0x18ccd2=_0x18ccd2['nextSibling'];}return{'modelFragment':_0x3a2499,'anchorData':_0x32d05c};}async['_executeAction'](_0x24e2b0,_0xe88b01,_0x31817e,_0x5a5752,_0x3cd97d){const _0x3fadfe=this['editor']['plugins']['get'](AIEditing),_0x1997ed=this['editor']['plugins']['get'](AIBalloon),_0x5b88be=this['editor']['model']['document']['selection'],_0x2e5a76=await _0x3fadfe['modelToDataWithIds'](_0xe88b01),_0x329c9a=this['editor']['model']['document']['version'],_0x523727=[..._0x5b88be['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x1997ed['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x5a5752,'icon':_0x3cd97d||_0x1ec297,'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x523727,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x1997ed),this['_interactionParams']={'action':_0x24e2b0,'content':_0x2e5a76,'version':_0x329c9a,'aiBalloon':_0x1997ed,'modelFragment':_0xe88b01,'anchorData':_0x31817e},this['_setupApplyListeners'](),this['listenTo'](_0x1997ed,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x1997ed,'dialogClosed',(_0x1f015b,{id:_0x508d7b})=>{if('aiActionsBalloon'===_0x508d7b){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x2916e7=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x27b2ea=_0x2916e7['changeGroups'][0x0];_0x27b2ea&&'pending'===_0x27b2ea['state']&&_0x2916e7['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x1997ed);}}),this['_createInteraction'](_0x2e5a76,_0x329c9a,_0x1997ed,_0x24e2b0);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x59f8fa,anchorData:_0x505b15}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x59f8fa,_0x505b15,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x59f8fa,_0x505b15,!0x0);});}['_wrapWithCommonAncestors'](_0x975abe,_0x56a01e,_0x5abd23){const _0x439c3e=this['editor']['model']['createRange'](_0x56a01e,_0x5abd23)['getCommonAncestor'](),_0x2b7b89=_0x439c3e['is']('documentFragment')?[]:_0x439c3e['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x2b7b89['length']){const _0x20bdba=_0x2b7b89['map'](_0x5d4eee=>_0x5d4eee['_clone'](!0x1));for(let _0x2843f9=0x1;_0x2843f9<_0x20bdba['length'];_0x2843f9++)_0x20bdba[_0x2843f9-0x1]['_appendChild'](_0x20bdba[_0x2843f9]);return _0x20bdba[_0x20bdba['length']-0x1]['_appendChild'](_0x975abe),new _0x507bef(_0x20bdba[0x0]);}return _0x975abe;}['_copyMarkersToFragment'](_0x1ca98a,_0x2cca40,_0x5d4042={'isTableSelection':!0x1}){const _0x1b3124=this['editor']['model'],_0x4ffa37=Array['from'](_0x2cca40['getRanges']()),_0x46ebe2=_0x2cca40['getFirstRange']()['start'];for(const _0x2b7e8c of _0x1b3124['markers']){if(_0x2b7e8c['name']['startsWith'](Dd)||!_0x2b7e8c['affectsData'])continue;const _0x5889f3=_0x2b7e8c['getRange']();if(!_0x4ffa37['some'](_0x509cea=>_0x509cea['containsRange'](_0x5889f3,!0x0)))continue;const _0x69e301=this['_regularCalculateMarkerPath'](_0x5889f3['start'],_0x46ebe2,_0x5d4042['isTableSelection']),_0x2a83a9=this['_regularCalculateMarkerPath'](_0x5889f3['end'],_0x46ebe2,_0x5d4042['isTableSelection']),_0xb63070=_0x1b3124['createPositionFromPath'](_0x1ca98a,_0x69e301),_0x44cea9=_0x1b3124['createPositionFromPath'](_0x1ca98a,_0x2a83a9);if(!_0xb63070['isEqual'](_0x44cea9)){const _0x2ab34d=_0x1b3124['createRange'](_0xb63070,_0x44cea9);_0x1ca98a['markers']['set'](_0x2b7e8c['name'],_0x2ab34d);}}}['_regularCalculateMarkerPath'](_0x52f900,_0x79826f,_0x290947=!0x1){const _0x3d5099=[..._0x52f900['path']['slice']()];for(let _0x54b300=0x0;_0x54b300<Math['max'](_0x79826f['path']['length'],_0x52f900['path']['length']);_0x54b300++){const _0xf986aa=_0x79826f['path'][_0x54b300]||0x0,_0x5434e7=(_0x52f900['path'][_0x54b300]||0x0)-_0xf986aa;if(_0x3d5099[_0x54b300]=_0x5434e7,0x0!==_0x5434e7&&!_0x290947)break;}return _0x3d5099;}async['_createInteraction'](_0x49fbb4,_0x597da4,_0x50237b,_0x3a9c51){const _0x3a981a=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x3a9c51,'content':_0x49fbb4,'version':_0x597da4,'aiBalloon':_0x50237b,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x36e04a=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x3a981a,'content':_0x49fbb4,'version':_0x597da4,..._0x3a9c51});this['_interactions']['push'](_0x36e04a);const _0x18153d=(_0x47b857,_0x36e266=!0x1,_0x3d925e='streaming')=>this['_promiseQueue']['enqueue'](async _0x208b86=>{try{const _0x5e66d3=yd({'editor':_0x3a981a,'changeGroups':_0x47b857['changeGroups'],'documentContextContent':_0x47b857['documentContextContent'],'showDiff':_0x36e266,'trimUnchanged':!0x1});_0x5e66d3['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x5e66d3[0x0],'renderingStrategy':_0x3d925e,'abortSignal':_0x208b86});}catch(_0x307366){if(this['_isAbortError'](_0x307366))return;throw _0x307366;}});this['_interaction']['on']('replyCreated',(_0x3d7e8c,_0x3ec3bd)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x18153d(_0x3ec3bd)['catch'](_0x513ce5=>{this['_isAbortError'](_0x513ce5)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x513ce5),this['_setErrorState'](_0x36e04a));});}),this['_interaction']['on']('replyContentUpdated',(_0x59b516,_0x15522a)=>{_0x18153d(_0x15522a)['catch'](_0x3a55d6=>{this['_isAbortError'](_0x3a55d6)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x3a55d6),this['_setErrorState'](_0x36e04a));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x3af100){this['_isAbortError'](_0x3af100)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x3af100),this['_setErrorState'](_0x36e04a));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x3bd96e,{showDiff:_0x730939})=>{try{this['_balloonShowDiff']=_0x730939;const _0x2e0729=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x2e0729&&await _0x18153d(_0x2e0729,_0x730939,'static');}catch(_0x2f0b68){this['_isAbortError'](_0x2f0b68)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x2f0b68),this['_setErrorState'](_0x36e04a));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x2b0cad,{reply:_0x200e7b})=>{const _0x1a98ab={'positiveCount':_0x200e7b['changeGroups']['filter'](_0x3394ef=>'accepted'===_0x3394ef['state'])['length'],'totalCount':_0x200e7b['changeGroups']['length']},_0x3e1bb4=this['_interaction']['actionCallId'],_0x2a9430=this['_interaction']['actionName'];_0x2a9430?this['_aiConnector']['upsertAIActionRating'](_0x2a9430,_0x3e1bb4,_0x1a98ab):this['_aiConnector']['upsertCustomAIActionRating'](_0x3e1bb4,_0x1a98ab);}),this['_setLoadingState']();try{const _0x49ca78=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x49ca78;}catch(_0x21dba9){if(this['_isAbortError'](_0x21dba9))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x36e04a);}}['_applyChanges'](_0x3685ef,_0x56f260,_0x56211a){const _0x53cb06=this['editor'];if(_0x56211a&&!_0x53cb06['plugins']['has']('TrackChanges'))throw new _0x37fbfa('ai-no-track-changes',null);const _0x52fa1a=this['editor']['plugins']['get'](DocumentCompare),_0x430dd1=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x430dd1||!_0x430dd1['replies']['length'])return;const _0x459dfe=_0x430dd1['replies'][_0x430dd1['replies']['length']-0x1],_0x3e55d8=_0x459dfe['changeGroups'];_0x459dfe['setChangeGroupState'](0x0,'accepted');let _0x1a43d4=Nd({'editor':_0x53cb06,'reply':_0x459dfe,'interaction':_0x430dd1,'groups':_0x3e55d8,'transform':!0x1,'documentCompare':_0x52fa1a,'documentCompareOptions':{'anchor':_0x53cb06['model']['createPositionAt'](_0x3685ef,0x0),'markDeletions':_0x56211a}});_0x1a43d4=this['_filterOperationsOutsideRange'](_0x1a43d4,_0x56f260);for(const _0x4f7664 of _0x1a43d4)this['_anchorOperation'](_0x56f260,_0x4f7664,_0x53cb06['model']['document']['getRoot']());const _0x4cb5fb=_0x430dd1['getDocumentContext']()['version'],_0x1f564b=_0x53cb06['model']['document']['history']['getOperations'](_0x4cb5fb),_0x2bde3f={'document':_0x53cb06['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x50ba91=_0x3c2044(_0x1a43d4,_0x1f564b,_0x2bde3f)['operationsA'];_0x53cb06['model']['change'](_0x1be4a7=>{if(_0x1be4a7['setSelection'](_0x53cb06['model']['document']['selection']['focus']),_0x56211a)_0x53cb06['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x50ba91);else{for(const _0x11290a of _0x50ba91)_0x11290a['baseVersion']=_0x53cb06['model']['document']['version'],Ld(_0x53cb06,_0x11290a),_0x1be4a7['batch']['addOperation'](_0x11290a),_0x53cb06['model']['applyOperation'](_0x11290a);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x59838a,_0x20b308){return _0x59838a['filter'](_0x46974e=>{if('rename'==_0x46974e['type']){const _0x214241=_0x46974e['position']['nodeAfter'];return!_0x20b308['has'](_0x214241);}if(_0x46974e['type']['indexOf']('Attribute')>-0x1){const _0x4dbe1d=_0x46974e['range']['start']['nodeAfter'];return!_0x20b308['has'](_0x4dbe1d);}return!0x0;});}['_anchorOperation'](_0x13f2aa,_0x61af1a,_0x52c6ec){const _0x3d2c41=_0x61af1a['clone']();for(const _0x3f9990 in _0x61af1a){const _0x1043c6=_0x61af1a[_0x3f9990];_0x1043c6 instanceof _0x2ec072?_0x61af1a[_0x3f9990]=new _0x2ec072(_0x4f04eb(_0x1043c6['start']),_0x4f04eb(_0x1043c6['end'])):_0x1043c6 instanceof _0xf95af9&&(_0x61af1a[_0x3f9990]=_0x4f04eb(_0x1043c6));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x3d2c41['type'])){if(_0x3d2c41['isDocumentOperation']=!0x1,_0x3d2c41['baseVersion']=null,'remove'==_0x3d2c41['type']){const _0x19ca6b=_0x3d2c41['sourcePosition'],_0x177cc0=_0x3d2c41['howMany'];new _0x4cb24c(_0x19ca6b,_0x177cc0)['_execute']();}else _0x3d2c41['_execute']();}function _0x4f04eb(_0x693df1){if('$graveyard'==_0x693df1['root']['rootName'])return _0x693df1;const _0x2e243b=[];let _0x3cc89a=_0x693df1['root'];for(let _0x186b1c=0x0;_0x186b1c<_0x693df1['path']['length'];_0x186b1c++){const _0x1b9b0b=_0x13f2aa['get'](_0x3cc89a)||0x0;_0x2e243b[_0x186b1c]=_0x693df1['path'][_0x186b1c]+_0x1b9b0b,_0x3cc89a=_0x3cc89a['getChildAtOffset'](_0x693df1['path'][_0x186b1c]);}return new _0xf95af9(_0x52c6ec,_0x2e243b,_0x693df1['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x42499d,content:_0x1b98bd,version:_0xb9ac6a,aiBalloon:_0x3e4348}=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'](_0x1b98bd,_0xb9ac6a,_0x3e4348,_0x42499d)['catch'](_0x53a52a=>{this['_isAbortError'](_0x53a52a)||console['error']('Error\x20refreshing\x20interaction:',_0x53a52a);});}['_isAbortError'](_0x4579c6){return!!_0x4579c6['message']&&_0x4579c6['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 _0x5629b8=this['_interactions']['length'];this['_currentInteractionIndex']<_0x5629b8-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x8031b0){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x8031b0;const _0x545ed5=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x545ed5)return;if(_0x545ed5['hasError'])return this['_setErrorState'](_0x545ed5),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x545ed5['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x309539=_0x545ed5['replies'][_0x545ed5['replies']['length']-0x1];if(_0x309539){const _0xbdb8b0=this['editor'];try{const _0x222271=yd({'editor':_0xbdb8b0,'changeGroups':_0x309539['changeGroups'],'documentContextContent':_0x309539['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x2adc18=>setTimeout(_0x2adc18,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x222271[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x4f8817){this['_isAbortError'](_0x4f8817)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x4f8817);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x4337f1){const _0x209202=ho(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x209202),_0x4337f1['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 _0x13517b{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x33b0e3){super(_0x33b0e3),_0x33b0e3['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0x3989d4{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x3fbc15,_0x3e76e2){super(_0x3fbc15),this['id']=_0x3e76e2,this['set']('status','pending'),this['set']('changeId',_0x3e76e2),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',(_0x1441f9,_0x965645)=>{_0x965645&&_0x965645['target']&&'A'===_0x965645['target']['tagName']&&_0x965645['preventDefault'](),this['fire']('activateChange',{'id':_0x3e76e2,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x3e76e2,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x3e76e2,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x354845=new _0x3989d4(this['locale']);return _0x354845['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',_0x4e8ea0=>!_0x4e8ea0)]}}),_0x354845;}['_createAcceptButtonView'](){const _0x2249d9=new _0x2e803a(this['locale']);return _0x2249d9['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x2249d9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x13ed1a=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x13ed1a['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x230f5f=>'pending'!==_0x230f5f&&'accepted'!==_0x230f5f),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x3c1e08=>'pending'===_0x3c1e08),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x51b7de=>'accepted'===_0x51b7de)]}}),this['on']('change:status',(_0x23a6ca,_0x198504,_0x3c9450)=>{_0x2249d9['isEnabled']='pending'===_0x3c9450,'accepted'===_0x3c9450&&(_0x2249d9['label']=ho(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x2249d9['icon']=_0x5071d2);}),_0x2249d9;}['_createDismissButtonView'](){const _0xbe63d2=new _0x2e803a(this['locale']);return _0xbe63d2['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0xbe63d2['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4a65ea=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x4a65ea['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x5ce4ee=>'pending'!==_0x5ce4ee&&'rejected'!==_0x5ce4ee),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x40b3db=>'pending'===_0x40b3db),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0xe05526=>'rejected'===_0xe05526)]}}),this['on']('change:status',(_0x5d503d,_0x4f1399,_0x1040e8)=>{_0xbe63d2['isEnabled']='pending'===_0x1040e8,'rejected'===_0x1040e8&&(_0xbe63d2['label']=ho(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0xbe63d2['icon']=_0xfcb135);}),_0xbe63d2;}['_createInfoButtonView'](){const _0x1ca0a5=new _0x2e803a(this['locale']);return _0x1ca0a5['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x5dd267,'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x1ca0a5['bind']('isOn')['to'](this,'isInfoToggleOn',_0x2625b7=>_0x2625b7),_0x1ca0a5['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x1ca0a5;}['_createOutdatedButtonView'](){const _0x31af01=new _0x2e803a(this['locale']);return _0x31af01['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x2a48ee,'withText':!0x0,'isEnabled':!0x1}),_0x31af01['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x50a3d5=>'outdated'!==_0x50a3d5)],'disabled':'disabled'}}),_0x31af01;}}class AIReviewCoreBalloonSuggestionItemView extends ft{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x4591b5,_0x1352f8){super(_0x4591b5),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']()),_0x1352f8['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x57e09c){this['resultItemView']['changeId']=_0x57e09c['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x57e09c['contentDiffed'];}['showBalloon'](_0x482e9f,_0x2e4bf5,_0x3003f4,_0x2c24d6,_0x512f5e,_0x4a8ce3){const _0xb938f9=_0x2e4bf5();if(!_0xb938f9)return;this['updateContent'](_0x482e9f),this['show']();const _0x6c16d5=Array['from'](_0xb938f9['getClientRects']())['reverse'](),_0x1836fc=this['_getPointedRectIndexFromEvent'](_0x3003f4,_0x6c16d5),_0x335138=_0x6c16d5[_0x1836fc??0x0];'click'===_0x2c24d6?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x2e4bf5(),_0x1836fc,_0x482e9f['id'],_0x512f5e,_0x4a8ce3)||_0x335138})):'hover'===_0x2c24d6&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x2e4bf5(),_0x1836fc,_0x482e9f['id'])||_0x335138}));}['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 _0x3f2ad9=[this['element']];return this['_pinnedTargetElement']&&_0x3f2ad9['push'](this['_pinnedTargetElement']),_0x3f2ad9;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x20dcfe=new _0x3989d4();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x20dcfe['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']]}]}),_0x20dcfe;}['_getBestRectPositionOnClick'](_0x28b0e6,_0x585895,_0x30fd96,_0x23ff3f,_0x202ef1){if(!_0x28b0e6)return null;const _0x43938f=this['position']['replace']('arrow_',''),_0x2afb31=Array['from'](_0x28b0e6['getClientRects']());let _0x26e4ba,_0x42b40c=_0x2afb31['reverse']();return void 0x0!==_0x585895&&this['_isPinnedRectVisible'](_0x42b40c[_0x585895],_0x23ff3f,_0x202ef1)?(_0x26e4ba=_0x42b40c[_0x585895],this['_pinnedRectIndex']=_0x585895):this['_isPinnedRectVisible'](_0x42b40c[0x0],_0x23ff3f,_0x202ef1)&&void 0x0===_0x585895?_0x26e4ba=_0x42b40c[0x0]:(_0x42b40c='s'==_0x43938f[0x0]?[..._0x2afb31]['reverse']():_0x2afb31,_0x42b40c['forEach'](_0x5804aa=>{this['_isPinnedRectVisible'](_0x5804aa,_0x23ff3f,_0x202ef1)&&(_0x26e4ba=_0x5804aa);})),this['_pinnedTargetChangeId']=_0x30fd96,this['_pinnedTargetElement']=_0x28b0e6,_0x26e4ba||_0x28b0e6['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x59f9b7,_0x57d3d7,_0x3c6138){if(!_0x59f9b7)return null;const _0x1f8bb2=Array['from'](_0x59f9b7['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x57d3d7&&this['_pinnedTargetChangeId']!==_0x3c6138)return this['_pinnedRectIndex']=_0x57d3d7,this['_pinnedTargetElement']=_0x59f9b7,this['_pinnedTargetChangeId']=_0x3c6138,_0x1f8bb2[_0x57d3d7];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x3c6138){if(_0x59f9b7!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x1f8bb2[this['_pinnedRectIndex']];}return void 0x0!==_0x57d3d7&&this['_pinnedTargetChangeId']!==_0x3c6138?(this['_pinnedRectIndex']=_0x57d3d7,this['_pinnedTargetElement']=_0x59f9b7,this['_pinnedTargetChangeId']=_0x3c6138,_0x1f8bb2[_0x57d3d7]):_0x59f9b7['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x1c3695,_0x19c4f6){if(_0x1c3695)for(let _0x499845=0x0;_0x499845<_0x19c4f6['length'];_0x499845++){const _0x420094=_0x19c4f6[_0x499845];if(_0x1c3695['clientX']>=_0x420094['left']-0x3&&_0x1c3695['clientX']<=_0x420094['right']+0x3&&_0x1c3695['clientY']>=_0x420094['top']-0x3&&_0x1c3695['clientY']<=_0x420094['bottom']+0x3)return _0x499845;}}['_isPinnedRectVisible'](_0x323efd,_0x1bd23f,_0x5278fc){const _0x36da8a=new _0x1faa00(_0x323efd),_0x31a8fa=_0x1bd23f||document['documentElement'],_0x459f5f=_0x36da8a['getIntersection'](_0x2ea8a4(_0x5278fc)),_0x1e6d10=new _0x1faa00(_0x31a8fa)['getIntersection'](_0x36da8a);return!!(_0x459f5f&&_0x1e6d10&&_0x36da8a['width']>0x0);}}const _m=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class AIReviewCoreUI extends _0x13e428{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[AITabs];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x49b892){super(_0x49b892),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 _0x14b719=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x14b719);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x798a6c){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x5030d7=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x798a6c,_0x5030d7);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x3c3958){_0x3c3958&&('error-general'!==_0x3c3958['status']?'error-chunk'!==_0x3c3958['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x121a22){this['_mainView']['addCheckRunResult'](_0x121a22);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x16ba00){this['_mainView']['showGeneralReviewCoreErrorView'](_0x16ba00??ho(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x2a2964,_0x492301){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x2a2964,_0x492301);}['setActiveStateInResults'](_0x362a38){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x50957c=>{_0x50957c['id']===_0x362a38&&_0x50957c['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x5d513d=>_0x5d513d['setItemAsInactive']());}['updateChangeState'](_0x2ae790,_0x8e2044){'accepted'===_0x8e2044||'rejected'===_0x8e2044||'outdated'===_0x8e2044?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x2ae790,_0x8e2044):this['_mainView']['reviewCheckResultsView']['showResult'](_0x2ae790,_0x8e2044);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x2ef238,_0x35b5a3,_0x5260c8,_0x543390,_0x1a1618,_0x19edf0){this['_balloonSuggestionView']['showBalloon'](_0x2ef238,_0x35b5a3,_0x5260c8,_0x543390,_0x1a1618,_0x19edf0);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x42fd01){const _0x1e7bc6=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x12c6b7=>_0x12c6b7['id']===_0x42fd01);return _0x1e7bc6?_0x1e7bc6['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class AIReviewCoreGeneralErrorView extends _0x3989d4{constructor(_0x4e31c7){super(_0x4e31c7),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x5d12c1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x5d12c1['if']('isVisible','ck-hidden',_0x3f41aa=>!_0x3f41aa)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x5d12c1['to']('errorMessage')}]}]});}}class AIReviewCoreView extends _0x3989d4{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x5e8246,_0x469361){super(_0x5e8246),this['reviewCoreHeader']=_0x469361['header'],this['generalErrorView']=new AIReviewCoreGeneralErrorView(_0x5e8246),this['reviewCheckListView']=_0x469361['list'],this['reviewCheckListView']['delegate'](..._m)['to'](this),this['reviewCheckResultsView']=_0x469361['results'],this['reviewCheckResultsView']['delegate'](..._m)['to'](this),this['reviewCompletedView']=_0x469361['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'](_0x267621){this['reviewCheckResultsView']['addResult'](_0x267621),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'](_0x5f4d54){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x5f4d54;}['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 _0x2e803a{constructor(_0x2fe640,_0x225ef3){super(_0x225ef3),this['set']({'label':_0x2fe640,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0x5d952b{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3d405b,_0x57e780){super(_0x3d405b),this['_contents']=_0x57e780,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(_0x3d405b),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 _0x155c3d=this['_createCombinedSkeletonLoader'](),_0xe851e8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xe851e8['if']('isLoading','ck-ai_review__check-run_loading',_0x3bf486=>_0x3bf486),_0xe851e8['if']('isResultReady','ck-ai_review__check-run_ready',_0xdb2b1f=>_0xdb2b1f),_0xe851e8['if']('isVisible','ck-hidden',_0x363ab3=>!_0x363ab3)]},'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',_0x1abba5=>_0x1abba5)]},'children':this['_resultViews']},_0x155c3d]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4b9bb7){const _0xaf999e=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x4b9bb7['id']);_0xaf999e['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0xaf999e),_0xaf999e['resultResponseView']['element']['innerHTML']=_0x4b9bb7['contentDiffed'];}['hideResult'](_0x88a2d2,_0x2bfd17){if('pending'===_0x2bfd17)return;const _0x303bb7=this['_resultViews']['find'](_0x2c750c=>_0x2c750c['id']===_0x88a2d2);_0x303bb7&&(_0x303bb7['status']=_0x2bfd17,_0x303bb7['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x5ef398,_0xefa61e){if('pending'!==_0xefa61e)return;const _0x4788b1=this['_resultViews']['find'](_0x54ce67=>_0x54ce67['id']===_0x5ef398);_0x4788b1&&(_0x4788b1['status']=_0xefa61e,_0x4788b1['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x5499d1,_0x3163a0){this['headerTitle']=_0x5499d1,this['headerSubtitle']=_0x3163a0||'';}['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 _0x4062c4=new _0x3989d4(this['locale']),_0xb307fa=[];for(let _0x1cec4c=0x0;_0x1cec4c<0x10;_0x1cec4c++){const _0x4f2a74=this['_createSkeletonLoader']();_0x4f2a74['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xb307fa['push'](_0x4f2a74);}return _0x4062c4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x13ce75=>!_0x13ce75)]},'children':_0xb307fa}),_0x4062c4;}['_createErrorView'](){const _0x280dd9=new _0x3989d4(this['locale']),_0x22227f=new _0x2e803a(this['locale']),t=this['locale']['t'];return _0x280dd9['delegate']('retryReview')['to'](this),_0x22227f['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x22227f['on']('execute',()=>{this['fire']('retryReview');}),_0x280dd9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5af988=>!_0x5af988),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x5a1f75=>'chunk'===_0x5a1f75)]},'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',_0x548646=>'chunk'===_0x548646)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x7d08e4=>'general'!==_0x7d08e4)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3b55c5=>'chunk'!==_0x3b55c5)]},'children':[{'text':ho(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x22227f]}),_0x280dd9;}['_createCancelButtonView'](){const _0x136cdb=new _0x2e803a(this['locale']);return _0x136cdb['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x4633c3}),_0x136cdb['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0xf5c08b=>_0xf5c08b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5ea8f8=>_0x5ea8f8)]}}),_0x136cdb['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x136cdb;}['_createToggleDiffButtonView'](){const _0x539e2c=new _0x2e803a(this['locale']);_0x539e2c['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x539e2c['bind']('isEnabled')['to'](this,'isError',_0x447f45=>!_0x447f45),_0x539e2c['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5f4c74=>!_0x5f4c74),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1297a2=>_0x1297a2)]}});const _0x38331b=ho(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x27ceb7=ho(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x539e2c['bind']('isOn')['to'](this,'isToggleDiffOn',_0x421055=>_0x421055),_0x539e2c['bind']('icon')['to'](this,'isToggleDiffOn',_0x1a85bf=>_0x1a85bf?_0x3e2118:_0x50a5cf),_0x539e2c['bind']('label')['to'](this,'isToggleDiffOn',_0x4dd283=>_0x4dd283?_0x38331b:_0x27ceb7),_0x539e2c['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x539e2c;}['_createAcceptAllButtonView'](){const _0x5c3aef=new _0x2e803a(this['locale']);return _0x5c3aef['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x5c3aef['bind']('isEnabled')['to'](this,'isError',_0x2df422=>!_0x2df422),_0x5c3aef['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x52fa42=>!_0x52fa42),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1e11b5=>_0x1e11b5)]}}),_0x5c3aef['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x5c3aef;}['_createExitReviewButtonView'](){const _0x32dd2f=new _0x2e803a(this['locale']);return _0x32dd2f['set']({'label':ho(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x32dd2f['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x28c820=>!_0x28c820),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x55acce=>_0x55acce)]}}),_0x32dd2f['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x32dd2f;}['_createResultHeaderView'](){const _0xdea0ba=new _0x3989d4(this['locale']),_0xee1084=this['_createTitleView']();return _0xdea0ba['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x2b21e7=>_0x2b21e7)]},'children':[_0xee1084,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0xdea0ba;}['_createTitleView'](){const _0x45a749=new _0x3989d4(this['locale']),_0x5d5c42=new AISpinnerView();return _0x5d5c42['bind']('isVisible')['to'](this,'isResultReady',_0x20c83d=>!_0x20c83d),_0x45a749['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x5d5c42,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x47fc6b=>_0x47fc6b)]},'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',_0x300077=>!_0x300077)]},'children':[{'text':ho(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x45a749;}['_createFinishReviewButtonView'](){const _0xa8ea04=new AIReviewCoreFinishReviewButtonView(ho(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0xa8ea04['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xacba9d=>!_0xacba9d)]}}),_0xa8ea04['delegate']('finishReview')['to'](this),_0xa8ea04;}}class AIReviewCoreReviewCompletedView extends _0x5d952b{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x3cc470,_0x2f5b2f){super(_0x3cc470),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x2f5b2f['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x2f5b2f['headerText']);const _0x5754b4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x5754b4['if']('isVisible','ck-hidden',_0x570112=>!_0x570112)]},'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':_0x2f5b2f['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x2acf40){const _0x38ab7b=new AIReviewCoreFinishReviewButtonView(_0x2acf40,this['locale']);return _0x38ab7b['delegate']('finishReview')['to'](this),_0x38ab7b;}['_createResultHeaderView'](_0x5034f6){const _0x5c769d=new _0x3989d4(this['locale']);return _0x5c769d['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':_0x5034f6}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x5c769d;}}class AIReviewCoreFormDropdownView extends _0x3989d4{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x266d33,_0x3bb6f5){super(_0x266d33),this['_defaultValue']=_0x3bb6f5['default']||(_0x3bb6f5['data']['length']>0x0?_0x3bb6f5['data'][0x0]['id']:''),this['_defaultLabel']=_0x3bb6f5['data']['find'](_0x4db498=>_0x4db498['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=st(this['locale']);const _0x41fa41=this['_prepareListOptions'](_0x3bb6f5['data']);gt(this['_dropdownView'],_0x41fa41,{'role':'menu','ariaLabel':_0x3bb6f5['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5be10b=>{_0x5be10b['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x1a48ea=>{this['formValue']=_0x1a48ea['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x1a48ea['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'](_0x2f0288=[]){const _0x253a45=new _0x4711ed();this['resetToDefault']();for(const _0x4ef299 of _0x2f0288){const _0x315f42=new pt({'label':_0x4ef299['label'],'withText':!0x0,'role':'menuitemradio','id':_0x4ef299['id'],'model':_0x4ef299});_0x315f42['bind']('isOn')['to'](this,'formValue',_0x1190be=>_0x1190be===_0x315f42['id']);const _0x8cbec3={'type':'button','model':_0x315f42};_0x253a45['add'](_0x8cbec3);}return _0x253a45;}}class AIReviewCoreFormManagerView extends _0x5d952b{['_formItem']=null;constructor(_0x49b7e2,_0x443ee8,_0x938fd9){super(_0x49b7e2),this['argsKey']=_0x443ee8?.['argsKey'];if('dropdown'===_0x443ee8['formType'])this['_formItem']=new AIReviewCoreFormDropdownView(this['locale'],_0x443ee8);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x3a59ca=new xt(this['locale'],{'children':[this['_formItem']],'class':[_0x938fd9?'ck-form__row_with-submit':'']});_0x938fd9&&_0x3a59ca['children']['add'](_0x938fd9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x3a59ca]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends Rt{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x3da4df){super(_0x3da4df),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x5e251c(),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 _0x3989d4{['focusTracker']=new _0x2c5be9();['keystrokes']=new _0x5e251c();['focusCycler'];['_focusables']=new vt();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1fa5c8,_0x3f76d3,_0x514cd6=!0x1){super(_0x1fa5c8),this['_check']=_0x3f76d3,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x3f76d3['defaultModel']?_0x3f76d3['defaultModel']['id']:'',this['_defaultLabel']=_0x3f76d3['defaultModel']?_0x3f76d3['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new wt(this['locale'],()=>new AIReviewCorePromptInputView(_0x1fa5c8)),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 _0x4711ed(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x514cd6),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',(_0x333c13,_0x567f25)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x567f25()):_0x567f25();}),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'](_0x4c33bc=>{this['_focusables']['add'](_0x4c33bc),this['focusTracker']['add'](_0x4c33bc['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 _0x317e31 of this['_getFormValidators']()){const _0x94ac3d=_0x317e31();if(_0x94ac3d)return this['promptInputView']['errorText']=_0x94ac3d,!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 _0x5d0a84=new _0x2e803a(this['locale']),t=this['locale']['t'];return _0x5d0a84['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5d0a84['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x5d0a84;}['_createCancelButtonView'](){const _0xdab478=new _0x2e803a(this['locale']),t=this['locale']['t'];return _0xdab478['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0xdab478['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x180657=>{_0x180657['stopPropagation']();})}}),_0xdab478['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0xdab478;}['_setModelList'](_0x38cd9c){this['_modelSelectionDropdownItems']['clear']();const _0x1b7d94=this['_check']['models'];if(_0x38cd9c)this['set']('modelDisplayMode','hidden');else{const _0x3c9a65=0x1===_0x1b7d94['length'];this['set']('modelDisplayMode',_0x3c9a65?'name':'selector');}if(this['resetToDefault'](),_0x1b7d94?.['length']){0x1===_0x1b7d94['length']&&this['set']('activeModelName',_0x1b7d94[0x0]['name']||_0x1b7d94[0x0]['id']);for(const _0x4562de of _0x1b7d94){const _0xa209f4=new pt({'label':_0x4562de['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4562de['id'],'model':_0x4562de});_0xa209f4['bind']('isOn')['to'](this,'modelId',_0x6e5c4f=>_0x6e5c4f===_0x4562de['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xa209f4,'labelView':new ModelButtonLabelView(this['locale'],_0x4562de)});}}}['_createModelSelectionDropdown'](){const _0x5663b8=st(this['locale']);return _0x5663b8['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x5663b8['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x5663b8['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x588112=>'selector'===_0x588112),this['listenTo'](_0x5663b8,'execute',_0x57b478=>{this['modelId']=_0x57b478['source']['model']['id'],_0x5663b8['buttonView']['label']=_0x57b478['source']['label'];}),_0x5663b8;}['_createModelNameView'](){const _0xc53e87=new ModelNameView(this['locale']);return _0xc53e87['bind']('text')['to'](this,'activeModelName',_0x366ad1=>_0x366ad1??''),_0xc53e87['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1f7a99=>'name'===_0x1f7a99),_0xc53e87;}['_createActionsFooterView'](){const _0x86b0cc=new _0x3989d4(this['locale']);return _0x86b0cc['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']]}]}),_0x86b0cc;}}class ModelNameView extends _0x3989d4{constructor(_0xd9fea9){super(_0xd9fea9),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0xaa08ab=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0xaa08ab['if']('isVisible','ck-hidden',_0x160a32=>!_0x160a32)]},'children':[{'text':_0xaa08ab['to']('text')}]});}}class ModelButtonLabelView extends _0x2794a5{constructor(_0x5320cf,_0x3fc2a3){super();const _0xa425a9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0xa425a9['to']('style'),'id':_0xa425a9['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0xa425a9['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3fc2a3['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0x5d952b{['_formItemsCollection']=new vt();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x17ffaa,_0x3f2210,_0x4bb3b1,_0x41799a=!0x1){super(_0x17ffaa),this['_hideModels']=_0x41799a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x3f2210['isParameterized']);const _0x26d9b7=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',_0x5945db=>_0x5945db),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x337ce1=>_0x337ce1)],'style':{'--ck-ai-review-check-list-item-index':_0x4bb3b1}},'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':_0x3f2210['title']}]},_0x26d9b7]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x3f2210['description']?[{'text':_0x3f2210['description']}]:[]}]}]},..._0x3f2210['isParameterized']?[this['_createParameterizedView'](_0x3f2210)]:[],...'custom'===_0x3f2210['id']?[this['_createCustomView'](_0x3f2210,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x3f2210['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x3f2210['id'],'args':_0x3f2210['useArgs']?_0x3f2210['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'](_0x5702bb=>{_0x5702bb['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0xbc433d=new _0x1bf0d6();return _0xbc433d['content']=_0x6157f9,_0xbc433d['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0xbc433d;}['_createParameterizedView'](_0x58242f){const _0x31d06e=new _0x3989d4(),_0xd49259=this['_createFormView'](_0x58242f);return _0x31d06e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x448dce=>!_0x448dce)]},'children':[_0xd49259]}),_0x31d06e;}['_createFormView'](_0x2e2f6a){const _0x483efa=new _0x3989d4(),_0x48101f=Array['isArray'](_0x2e2f6a['options'])?_0x2e2f6a['options']:[],_0x35d91d=new _0x2e803a(this['locale']),t=this['locale']['t'];_0x35d91d['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x35d91d['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x43e037=>{_0x43e037['stopPropagation']();})}}),_0x35d91d['on']('execute',()=>{const _0x441620=[],_0x3f1045={};this['_formItemsCollection']['forEach'](_0xee56b9=>{_0x441620['push'](_0xee56b9['value']),_0x2e2f6a['useArgs']&&_0x2e2f6a['options']&&(_0x3f1045[_0xee56b9['argsKey']]=_0xee56b9['value']);}),this['fire']('runReviewCheck',{'id':_0x2e2f6a['id'],'params':_0x441620['length']?_0x441620:void 0x0,'args':Object['keys'](_0x3f1045)['length']?_0x3f1045:void 0x0});});const _0x2c21b4=_0x48101f['length'];return _0x48101f['forEach']((_0x52a058,_0x16d196)=>{const _0x2a1712=_0x16d196===_0x2c21b4-0x1;this['_formItemsCollection']['add'](new AIReviewCoreFormManagerView(this['locale'],_0x52a058,_0x2a1712?_0x35d91d:null));}),_0x483efa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x483efa;}['_createCustomView'](_0x12e23e,_0x1e96d3=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x12e23e,_0x1e96d3),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',_0x1bfd9b=>!_0x1bfd9b)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x4b689a,_0x409005,_0x101219)=>{_0x101219||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0x5d952b{['_checkViews'];constructor(_0x36f3b9){super(_0x36f3b9),this['_checkViews']=new vt(),this['_setupTemplate']();}['setChecks'](_0x4aecb4,_0x53efc6=!0x1){this['_checkViews']['clear']();for(const [_0x253560,_0x2d6153]of _0x4aecb4['entries']()){const _0x4ee522=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x2d6153,_0x253560,_0x53efc6);_0x4ee522['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x4ee522);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x17e375 of this['_checkViews'])_0x17e375 instanceof AIReviewCoreReviewCommandListItemView&&_0x17e375['resetToDefault']();}['_setupTemplate'](){const _0x1a21e8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1a21e8['if']('isVisible','ck-hidden',_0x39124c=>!_0x39124c)]},'children':this['_checkViews']});}}class AIReviewModeUI extends AIReviewCoreUI{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x4daeb8=this['context']['locale'],_0x4252f1=new yt(_0x4daeb8,{'label':ho(_0x4daeb8,'AI_REVIEW_MODE'),'icon':_0x2c61e2,'class':'ck-ai-header\x20ck-ai-header_review'});return new AIReviewCoreView(this['context']['locale'],{'header':_0x4252f1,'list':new AIReviewCoreReviewCheckListView(_0x4daeb8),'results':new AIReviewCoreUICheckResultsView(_0x4daeb8,{'generalErrorText':ho(_0x4daeb8,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x4daeb8,{'headerText':ho(_0x4daeb8,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':ho(_0x4daeb8,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':ho(_0x4daeb8,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x44d42b=this['context']['plugins']['get']('AITabs');_0x44d42b['view']['on']('activateTab',(_0x506112,_0x16dae5)=>{'reviewMode'===_0x16dae5?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x44d42b['view']['addTab']({'id':'reviewMode','buttonLabel':ho(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x2c61e2,'order':0x0,'content':this['_mainView']});}}const vm='review-';class AIReviewCoreEditing extends _0x13e428{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(_0x72cbf3){super(_0x72cbf3),this['_domEmitter']=new(_0xa9fff4())(),this['_eventEmitter']=new(_0x199f48())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x370fb4=Md(this['context']);_0x370fb4['conversion']['for']('editingDowncast')['markerToElement']({'model':vm+'insert','view':(_0x4bd314,{writer:_0x104814})=>{const _0x5e1cef=this['_markers']['get'](_0x4bd314['markerName']),_0x5f19ea={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x5e1cef?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x4bd314['markerName']};return _0x104814['createUIElement']('span',_0x5f19ea,function(_0x248aa9){const _0x5d80b7=this['toDomElement'](_0x248aa9);return _0x5d80b7['innerHTML']=_0x5e1cef?.['content']?.['asString']||'',_0x5d80b7;});}}),_0x370fb4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':vm+'remove-only','view':_0x230d20=>{const _0x27ef5d=this['_markers']['get'](_0x230d20['markerName']),_0x2019c1=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x27ef5d?.['id']||'')&&_0x2019c1['push']('ck-ai_review__change_active'),{'classes':_0x2019c1,'attributes':{'data-marker-id':_0x230d20['markerName']}};}}),_0x370fb4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':vm+'remove-context','view':_0x1e444a=>{const _0x3665ee=this['_markers']['get'](_0x1e444a['markerName']),_0xeaf641=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x3665ee?.['id']||'')&&_0xeaf641['push']('ck-ai_review__change_active'),{'classes':_0xeaf641,'attributes':{'data-marker-id':_0x1e444a['markerName']}};}}),_0x370fb4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':vm+'remove-text','view':_0x4a9fee=>{const _0x2160a9=this['_markers']['get'](_0x4a9fee['markerName']),_0x17fc65=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x2160a9?.['id']||'')&&_0x17fc65['push']('ck-ai_review__change_active'),{'classes':_0x17fc65,'attributes':{'data-marker-id':_0x4a9fee['markerName']}};}}),_0x370fb4['conversion']['for']('dataDowncast')['markerToElement']({'model':vm+'suggestion-context','view':(_0x1513e2,{writer:_0x5eafa6})=>_0x5eafa6['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x1513e2['isOpening']?'start':'end')})}),_0x370fb4['conversion']['for']('downcast')['attributeToAttribute']({'model':pd,'view':Od});const _0x2177ae=_0x370fb4['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x2177ae,'mouseup',(_0x578f0b,_0x561581)=>{const _0x26eb53=_0x561581['target'],_0x409fbe=this['_findMarkerElement'](_0x26eb53);if(!_0x409fbe)return;const _0xf5278b=_0x409fbe['getAttribute']('data-marker-id'),_0x4f86a5=_0xf5278b['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0xf5278b,'changeId':_0x4f86a5,'markerElement':()=>this['_findMarkerElementById'](_0xf5278b),'domEvent':_0x561581});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x2177ae,'mouseover',(_0x54158d,_0x3c1561)=>{const _0x234461=_0x3c1561['target'],_0xce0d60=_0x3c1561['relatedTarget'];let _0x5031e3=this['_findMarkerElement'](_0x234461);if(!_0x5031e3&&_0xce0d60&&(_0x5031e3=this['_findMarkerElement'](_0xce0d60)),!_0x5031e3)return;const _0x2a9df3=_0x5031e3['getAttribute']('data-marker-id'),_0x5c08f0=_0x2a9df3['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x5c08f0,'markerElement':()=>this['_findMarkerElementById'](_0x2a9df3),'domEvent':_0x3c1561});}),this['_domEmitter']['listenTo'](document,'mouseover',Vr((_0x464a30,_0x22509f)=>{const _0x48e5f3=_0x22509f['target'];if(this['_findMarkerElement'](_0x48e5f3))return;_0x48e5f3['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x370fb4['model']['document']['registerPostFixer'](_0x68169e=>this['_validateMarkers'](_0x370fb4,_0x68169e)),_0x370fb4['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x370fb4));}['getDocumentData'](){const _0x104f79=this['context']['plugins']['get']('AIEditing'),_0x19a9c9=Md(this['context']),_0x78264f=_0x19a9c9['model'],_0x16dff0=new _0x507bef();for(const _0xd88e28 of _0x78264f['document']['getRoot']()['getChildren']()){const _0x408244=_0xd88e28['_clone'](!0x0);_0x16dff0['_appendChild'](_0x408244);}for(const _0x549e0a of _0x78264f['markers'])_0x16dff0['markers']['set'](_0x549e0a['name'],this['_changeRangeOwnerDocument'](_0x549e0a['getRange']()['clone'](),_0x16dff0));const _0x38f530=new _0x4c94f6({'ignoreElementEnd':!0x0,'startPosition':_0x78264f['createPositionAt'](_0x16dff0,0x0)}),_0x7b9501=new Set(),_0x30764d=new Map();for(const {item:_0xfd4d0a}of _0x38f530){if(!_0xfd4d0a['is']('$textProxy'))continue;const _0xf76a21=_0xfd4d0a['parent'];if(_0xf76a21&&_0xf76a21['is']('element')){const _0x154726=this['_upsertDataId'](_0xf76a21,()=>_0x104f79['_nextDataId'](_0x7b9501));_0x7b9501['add'](_0x154726);for(const _0x842d0f of _0xf76a21['getChildren']())_0x842d0f['is']('element')&&_0x7b9501['add'](this['_upsertDataId'](_0x842d0f,()=>_0x104f79['_nextDataId'](_0x7b9501)));let _0x50ee9e=_0xf76a21;for(;_0x50ee9e['parent']&&!_0x50ee9e['parent']['is']('documentFragment');)_0x50ee9e=_0x50ee9e['parent'],_0x50ee9e['hasAttribute'](pd)&&_0x50ee9e['_removeAttribute'](pd);_0x30764d['set'](_0x154726,{'path':_0xf76a21['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x50ee9e['_clone'](!0x0),_0x154726,_0x19a9c9['data'])}),_0x38f530['jumpTo'](_0x78264f['createPositionAfter'](_0xf76a21));}}return{'content':_0x19a9c9['data']['processor']['toData'](_0x19a9c9['data']['toView'](_0x16dff0)),'version':_0x19a9c9['model']['document']['version'],'elements':_0x30764d};}['diffContent'](_0x48eb3c,_0x1a77cb,_0x444b80=!0x1){const _0x2aeec2=[],_0x1ac595=Md(this['context']),_0x2d013e=_0x1ac595['data']['parse'](_0x1a77cb,'$documentFragment'),_0x14398b=_0x1ac595['data']['parse'](_0x48eb3c,'$documentFragment'),_0x15da93=_0x1ac595['model']['createPositionAt'](_0x14398b,0x0);if(this['_haveSingleTopLevelElement'](_0x2d013e)){if(!this['_hasSameTopLevelElement'](_0x14398b,_0x2d013e))return _0x2aeec2;}else{const _0x315716=_0x1ac595['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x14398b,_0x315716)||!this['_haveOnlyInlineContent'](_0x2d013e,_0x315716))return _0x2aeec2;}const _0x20bd9d=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x48eb3c,_0x1a77cb,{'anchor':_0x15da93,'markDeletions':!0x0})['getOperations']()['filter'](_0x23ea1a=>'insert'===_0x23ea1a['type']||'marker'===_0x23ea1a['type']&&_0x23ea1a['name']['startsWith']('$markedRemove')),_0x5cc693=this['_groupAdjacentOperations'](_0x20bd9d),_0x1932ce=[];if(_0x444b80){if(_0x5cc693['length']){const _0x2677a9=_0x5cc693[0x0]['operations'][0x0],_0x2be28f='insert'===_0x2677a9['type']?_0x2677a9['position']:_0x2677a9['newRange']['start'],_0x461ee6=this['_getPositionLimitingRange'](_0x2be28f,_0x1ac595,'inside'),_0x3e2f97=_0x461ee6?_0x2d013e['getChild'](0x0)['getChildren']():_0x2d013e['getChildren'](),_0x2b6be8=_0x461ee6||_0x1ac595['model']['createRangeIn'](_0x14398b),_0x37a32e=[new ts('$markedRemove:synthetic'+_0x5c5c0c(),null,_0x2b6be8,_0x1ac595['model']['document']['model']['markers'],!0x0,_0x1ac595['model']['document']['version']+0x1),new _0x30aab9(_0x2b6be8['end'],_0x3e2f97,_0x1ac595['model']['document']['version']+0x2)];_0x1932ce['push']({'operations':_0x37a32e,'operationsIsolated':_0x37a32e,'groupOffset':0x0});}}else _0x1932ce['push'](..._0x5cc693);let _0x6e50ee=0x0;return _0x1ac595['model']['change'](_0xea702e=>{for(let _0x4169c7=0x0;_0x4169c7<_0x1932ce['length'];_0x4169c7++){const _0x346d4e=_0x1932ce[_0x4169c7],_0x1bf931=_0xea702e['createDocumentFragment']();for(const _0x20e1c7 of _0x14398b['getChildren']())_0xea702e['append'](_0x20e1c7['_clone'](!0x0),_0x1bf931);for(const _0x3fe5dd of _0x346d4e['operationsIsolated'])if('insert'===_0x3fe5dd['type']){const _0x4f449c=_0x3fe5dd;_0x4f449c['baseVersion']=null,_0x4f449c['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x4f449c,_0x1bf931),_0xea702e['batch']['addOperation'](_0x3fe5dd),_0x1ac595['model']['applyOperation'](_0x3fe5dd);const _0x54d027='suggestion:insertion:id:authorId:'+_0x6e50ee++,_0x95536=_0x1ac595['model']['createRange'](_0x4f449c['position'],_0x4f449c['position']['getShiftedBy'](_0x4f449c['howMany']));_0x1bf931['markers']['set'](_0x54d027,_0x95536);}else{if('marker'===_0x3fe5dd['type']&&_0x3fe5dd['name']['startsWith']('$markedRemove')){const _0x1a2d7c=_0x3fe5dd,_0x45e3de='suggestion:deletion:id:authorId:'+_0x6e50ee++;this['_changeOperationOwnerDocument'](_0x1a2d7c,_0x1bf931),_0x1bf931['markers']['set'](_0x45e3de,_0x1a2d7c['newRange']);}}if(_0x444b80)_0x2aeec2['push']({..._0x346d4e,'context':this['_createGetContentFn'](_0x14398b,_0x1ac595['data']),'content':this['_createGetContentFn'](_0x14398b,_0x1ac595['data'])});else{const _0x311da4=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x346d4e['operationsIsolated'][0x0]),_0x1bf931),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x346d4e['operationsIsolated'][_0x346d4e['operationsIsolated']['length']-0x1]),_0x1bf931));_0x1bf931['markers']['set'](vm+'suggestion-context',new _0x2ec072(_0x311da4['start'],_0x311da4['end'])),_0x2aeec2['push']({..._0x346d4e,'context':this['_createGetContextFn'](_0x1bf931,_0x1ac595['data'],{'ellipsisBefore':_0x311da4['hasContentBefore'],'ellipsisAfter':_0x311da4['hasContentAfter']}),'content':this['_createGetContentFn'](_0x1bf931,_0x1ac595['data'])});}}}),_0x2aeec2;}['markChangePositionInEditorContent'](_0x5692c8,_0x143f27){if(!_0x5692c8['length'])return;const _0x1141b8=_0x5692c8[0x0]['parent']['id'],_0x20869a=_0x143f27['elements']['get'](_0x1141b8);if(!_0x20869a)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x1141b8);const _0x3975d6=_0x20869a['path'],_0x2d6f6f=Md(this['context']),_0x2aed92=_0x2d6f6f['model']['document']['history']['getOperations'](_0x143f27['version']),_0x1fe101=[];for(const _0xf9833d of _0x5692c8){const _0x3dd286=_0xf9833d['operationsIsolated']['map'](_0x117bf3=>this['_translateOperationToEditorContent'](_0x117bf3,_0x3975d6,_0x2d6f6f['model']['document']['getRoots']()[0x0]));if(!_0x3dd286||!_0x3dd286['length'])continue;const _0x40c268=_0x3dd286['every'](_0x5965a9=>'marker'===_0x5965a9['type']&&_0x5965a9['name']['startsWith']('$markedRemove')),_0x50d1ab={'document':_0x2d6f6f['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2f419f=_0x3c2044(_0x3dd286,_0x2aed92,_0x50d1ab)['operationsA'];for(const _0x12ec43 of _0x2f419f)if('insert'===_0x12ec43['type']){const _0x4b2f50=_0x12ec43,_0x2b6d01=_0x4b2f50['nodes'];_0x2d6f6f['model']['change'](_0x590a80=>{const _0x2933fa=_0x590a80['createDocumentFragment']();for(const _0x57abfe of _0x2b6d01)_0x590a80['append'](_0x57abfe['_clone'](!0x0),_0x2933fa);_0x1fe101['push']({'start':_0x4b2f50['position'],'end':_0x4b2f50['position'],'type':'insert','groupId':_0xf9833d['id'],'content':{'asString':this['_createGetContentFn'](_0x2933fa,_0x2d6f6f['data'])(),'asFragment':_0x2933fa}});});}else{if('marker'===_0x12ec43['type']&&_0x12ec43['name']['startsWith']('$markedRemove')){const _0x5f5517=_0x12ec43;let _0x568400='remove-text';if(_0x40c268){const _0x505fde=this['_findAdjacentContextDistance'](_0x5f5517['newRange']['start'],'backward',_0x2d6f6f['model']['schema']),_0x512012=this['_findAdjacentContextDistance'](_0x5f5517['newRange']['end'],'forward',_0x2d6f6f['model']['schema']);if(_0x505fde||_0x512012){const _0x2bd6a8=_0x5f5517['newRange']['start']['getShiftedBy'](-_0x505fde),_0x800d28=_0x5f5517['newRange']['end']['getShiftedBy'](_0x512012);_0x1fe101['push']({'start':_0x2bd6a8,'end':_0x800d28,'groupId':_0xf9833d['id'],'type':'remove-context'});}else _0x568400='remove-only';}_0x1fe101['push']({'start':_0x5f5517['newRange']['start'],'end':_0x5f5517['newRange']['end'],'groupId':_0xf9833d['id'],'type':_0x568400});}}}this['_insertMarkers'](_0x1fe101);}['clearAllMarkers'](){const _0x33cef9=Md(this['context']);_0x33cef9['model']['change'](_0x26e32d=>{for(const _0xe99cc0 of this['_markers']['keys']())_0x33cef9['model']['markers']['get'](_0xe99cc0)&&_0x26e32d['removeMarker'](_0xe99cc0);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){Md(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){Md(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x3fa3d6){const _0x4cb15e=Md(this['context']),_0x51a996=_0x4cb15e['model'],_0xc0d6dc=_0x3fa3d6['map'](_0xc4d117=>this['_getMarkersDataForGroup'](_0xc4d117))['flat']();_0x51a996['change'](_0x1fab1a=>{for(const _0x5e2899 of _0xc0d6dc){const _0x1a12b5=_0x4cb15e['model']['markers']['get'](_0x5e2899['id']);if(_0x1a12b5){if('insert'===_0x5e2899['type']){if(!_0x5e2899['content'])continue;_0x51a996['insertContent'](_0x5e2899['content']['asFragment']||null,_0x1a12b5['getRange']()['start']);}else'remove-text'!==_0x5e2899['type']&&'remove-only'!==_0x5e2899['type']||_0x51a996['deleteContent'](_0x51a996['createSelection'](_0x1a12b5['getRange']()));_0x1fab1a['removeMarker'](_0x5e2899['id']),this['_markers']['delete'](_0x5e2899['id']);}}});}['rejectChange'](_0x301503){const _0x555d2c=Md(this['context']),_0x2549d2=this['_getMarkersDataForGroup'](_0x301503);_0x555d2c['model']['change'](_0x4b212b=>{for(const _0x39f911 of _0x2549d2)_0x4b212b['removeMarker'](_0x39f911['id']),this['_markers']['delete'](_0x39f911['id']);});}['getEditor'](){return Md(this['context']);}['getMarkerElementForChange'](_0x154317){const _0x6f71ec=Array['from'](this['_markers']['values']())['filter'](_0x5f4522=>_0x5f4522['groupId']===_0x154317);if(!_0x6f71ec['length'])return null;const _0x511652=0x1===_0x6f71ec['length']?_0x6f71ec[0x0]:this['_sortMarkers'](_0x6f71ec)[0x0],_0x1e4e23=Md(this['context'])['model']['markers']['get'](_0x511652['id']);if(!_0x1e4e23)return null;return{'modelRange':_0x1e4e23['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x511652['id'])};}['getContentElementForChange'](_0x117007){const _0x5f4f1c=Array['from'](this['_markers']['values']())['filter'](_0x5403fd=>_0x5403fd['groupId']===_0x117007);if(!_0x5f4f1c['length'])return null;const _0x2b1818=0x1===_0x5f4f1c['length']?_0x5f4f1c[0x0]:this['_sortMarkers'](_0x5f4f1c)[0x0],_0x5a09a0=Md(this['context']),_0x7e7455=_0x5a09a0['model']['markers']['get'](_0x2b1818['id']);if(!_0x7e7455)return null;const _0x5dba45=_0x7e7455['getRange'](),_0xbd71b8=_0x5a09a0['editing']['view']['getDomRoot']();if(!_0xbd71b8||!_0x5dba45)return null;let _0x18b378=_0x5dba45['start']['parent'];for(;_0x18b378['parent']&&'$root'!==_0x18b378['parent']['name'];)_0x18b378=_0x18b378['parent'];if(!_0x18b378||!_0x18b378['name'])return null;const _0x11b65f=_0xbd71b8['querySelector']('[data-marker-id=\x22'+_0x2b1818['id']+'\x22]');if(!_0x11b65f)return null;let _0x29232d=null;_0x5a09a0['model']['change'](_0x231fa8=>{_0x29232d=_0x231fa8['createDocumentFragment'](),_0x231fa8['append'](_0x18b378['_clone'](!0x0),_0x29232d);});const _0x76769=_0x5a09a0['data']['toView'](_0x29232d)['getChild'](0x0);return _0x11b65f['closest'](_0x76769['name']);}['reactivateMarkers'](_0x2ae675){const _0x4fa054=this['_getMarkersDataForGroup'](_0x2ae675);if(!_0x4fa054['length'])return;const _0x1c2f33=Array['from'](this['_activeMarkers'])['sort'](),_0x204022=Array['from'](new Set(_0x4fa054['map'](_0x579624=>_0x579624['id'])))['sort']();_0x1c2f33['join']('|')!==_0x204022['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x2ae675));}['setMarkersInElementAsActive'](_0x5a6ef8){const _0x1843e5=this['_getMarkersDataForGroup'](_0x5a6ef8);if(!_0x1843e5['length'])return;const _0x4e26de=Md(this['context']),_0x13875b=new Set(_0x1843e5['map'](_0x34bbbd=>_0x34bbbd['id'])),_0x3f29f0=Array['from'](_0x13875b['values']())['map'](_0x285008=>_0x4e26de['model']['markers']['get'](_0x285008))['filter'](_0x4c5410=>!!_0x4c5410);_0x13875b['forEach'](_0x413fb2=>{this['_activeMarkers']['add'](_0x413fb2);}),_0x4e26de['model']['change'](()=>{_0x3f29f0['forEach'](_0x5f280c=>{_0x4e26de['editing']['reconvertMarker'](_0x5f280c);});});}['setAllMarkersAsInactive'](){const _0xe0ffa9=Array['from'](this['_activeMarkers']);if(!_0xe0ffa9['length'])return;this['_activeMarkers']['clear']();const _0x5a238a=Md(this['context']),_0x39eaf7=_0xe0ffa9['map'](_0x6631e3=>_0x5a238a['model']['markers']['get'](_0x6631e3))['filter'](_0x32a64e=>!!_0x32a64e);_0x5a238a['model']['change'](()=>{_0x39eaf7['forEach'](_0x584ed3=>{_0x5a238a['editing']['reconvertMarker'](_0x584ed3);});});}['_getPositionLimitingRange'](_0x582ffa,_0x2c2b17,_0x16e276='outside'){if(!_0x582ffa)return null;let _0x386156=_0x582ffa['parent'];for(;_0x386156&&_0x386156['parent']&&'$root'!==_0x386156['parent']['name']&&!_0x2c2b17['model']['schema']['isLimit'](_0x386156)&&!_0x2c2b17['model']['schema']['isBlock'](_0x386156);)_0x386156=_0x386156['parent'];if(!_0x386156||!_0x386156['name']||'$root'===_0x386156['name'])return null;let _0x2144f1=null;return _0x2c2b17['model']['change'](_0x5cf681=>{_0x2144f1='inside'===_0x16e276?_0x5cf681['createRangeIn'](_0x386156):_0x5cf681['createRangeOn'](_0x386156);}),_0x2144f1;}['_validateMarkers'](_0xf85dfd,_0x1bc303){const _0x4c62ff=Array['from'](this['_markers']['keys']()),_0x4eb0dd=new Map();for(const _0x238230 of _0x4c62ff){const _0x2485bf=_0xf85dfd['model']['markers']['get'](_0x238230);if(!_0x2485bf)continue;const _0x338457=_0x2485bf['getStart']()['path'][0x0];_0x4eb0dd['has'](_0x338457)||_0x4eb0dd['set'](_0x338457,[]),_0x4eb0dd['get'](_0x338457)['push'](_0x2485bf);}const _0x340b26=new Set();for(const _0x49c7c0 of _0xf85dfd['model']['document']['differ']['getChanges']()){let _0x5aeebf=-0x1,_0x295ff0=null;if('insert'===_0x49c7c0['type'])_0x295ff0=new _0x2ec072(_0x49c7c0['position'],_0x49c7c0['position']['getShiftedBy'](_0x49c7c0['length'])),_0x5aeebf=_0x49c7c0['position']['path'][0x0];else{if('remove'!==_0x49c7c0['type'])continue;_0x295ff0=new _0x2ec072(_0x49c7c0['position']),_0x5aeebf=_0x49c7c0['position']['path'][0x0];}const _0x4b4774=_0x4eb0dd['get'](_0x5aeebf)||[];if(_0x4b4774['length']){for(const _0x2fa5b6 of _0x4b4774)if(_0x295ff0['root']['rootName']===_0x2fa5b6['getRange']()['root']['rootName']&&('insert'!==_0x49c7c0['type']||!_0x295ff0['containsRange'](_0x2fa5b6['getRange']()))&&(_0x295ff0['isIntersecting'](_0x2fa5b6['getRange']())||_0x295ff0['start']['isTouching'](_0x2fa5b6['getRange']()['end'])||_0x295ff0['end']['isTouching'](_0x2fa5b6['getRange']()['start']))){const _0x5922f0=this['_parseMarkerName'](_0x2fa5b6['name']);Array['from'](this['_markers']['values']())['filter'](_0x1d5efc=>_0x1d5efc['groupId']===_0x5922f0['groupId'])['forEach'](_0x1867ba=>_0x340b26['add'](_0x1867ba['id']));}}}if(_0x340b26['size']){for(const _0x34ef25 of _0x340b26)_0x1bc303['removeMarker'](_0x34ef25);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x129a09){for(const {name:_0x155f59,data:_0x5de177}of _0x129a09['model']['document']['differ']['getChangedMarkers']()){if(!_0x155f59['startsWith'](vm))continue;const _0x56e5e9=_0x5de177['oldRange'],_0x219173=_0x5de177['newRange'],_0x26b5d1=_0x56e5e9&&'$graveyard'===_0x56e5e9['root']['rootName'],_0x369499=_0x219173&&'$graveyard'===_0x219173['root']['rootName'];if(_0x26b5d1&&_0x369499)continue;const _0x18d66d=this['_parseMarkerName'](_0x155f59);this['_markers']['get'](_0x155f59)&&(_0x369499||!_0x219173?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x155f59,'changeId':_0x18d66d['groupId']}):_0x26b5d1&&_0x219173&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x155f59,'changeId':_0x18d66d['groupId']}));}}['_parseMarkerName'](_0x2f5fc8){const _0x3e22a1=_0x2f5fc8['split'](':'),_0x2f8820=(_0x3e22a1[0x1]||'')['split']('_');return{'prefix':_0x3e22a1[0x0],'groupId':_0x2f8820[0x0],'suffix':_0x2f8820[0x1]};}['_translateOperationToEditorContent'](_0x14c44b,_0x536283,_0x37aedc){if('insert'===_0x14c44b['type']){const _0x368b80=_0x14c44b;return new _0x30aab9(this['_changePosition'](_0x536283['concat'](_0x368b80['position']['offset']),_0x37aedc),_0x368b80['nodes'],_0x368b80['baseVersion']);}if('marker'===_0x14c44b['type']&&_0x14c44b['name']['startsWith']('$markedRemove')){const _0x5a6e95=_0x14c44b;return new ts(_0x5a6e95['name'],_0x5a6e95['oldRange'],this['_changeRange'](_0x5a6e95['newRange'],_0x536283['concat'](_0x5a6e95['newRange']['start']['offset']),_0x536283['concat'](_0x5a6e95['newRange']['end']['offset']),_0x37aedc),_0x5a6e95['_markers'],_0x5a6e95['affectsData'],_0x5a6e95['baseVersion']);}return _0x14c44b;}['_groupAdjacentOperations'](_0x344ab3){if(!_0x344ab3['length'])return[];const _0x436cf4=[];let _0x21c101=0x0,_0x1aeea4=0x0,_0x4caae1=[];for(let _0x5a5da7=0x0;_0x5a5da7<=_0x344ab3['length'];_0x5a5da7++){const _0x5292e4=_0x344ab3[_0x5a5da7],_0x1a5802=_0x344ab3[_0x5a5da7-0x1];!_0x5292e4||_0x1a5802&&!this['_getOperationEnd'](_0x1a5802)['isTouching'](this['_getOperationStart'](_0x5292e4))?(_0x436cf4['push']({'operations':_0x4caae1,'operationsIsolated':_0x4caae1['map'](_0x1a4970=>this['_shiftOperation'](_0x1a4970['clone'](),-_0x1aeea4)),'groupOffset':_0x21c101}),_0x4caae1=_0x5292e4?[_0x5292e4]:[],_0x1aeea4+=_0x21c101,_0x21c101=0x0):_0x4caae1['push'](_0x5292e4),_0x5292e4&&'insert'===_0x5292e4['type']&&(_0x21c101+=_0x5292e4['howMany']);}return _0x436cf4;}['_findAdjacentContextDistance'](_0x1921f9,_0x25987d,_0x5ba6bf,_0x1de9ed=0x1){const _0x3fd2d3=new _0x4c94f6({'startPosition':_0x1921f9,'direction':_0x25987d});let _0x104fc1=0x0;for(let _0x345bf4=0x0;_0x345bf4<_0x1de9ed;_0x345bf4++){let _0x2f9503=0x0,_0x544cc6=!0x1,_0x18c8a4='forward'===_0x25987d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5510a0}of _0x3fd2d3)if(_0x5510a0['is']('$textProxy')){const _0x596a88=_0x18c8a4['exec'](_0x5510a0['data']);if(_0x596a88&&_0x596a88['length']){if(_0x2f9503+='forward'===_0x25987d?_0x596a88['index']+_0x596a88[0x0]['length']:_0x5510a0['data']['length']-_0x596a88['index'],_0x596a88[0x0]['length']!==_0x5510a0['data']['length'])break;_0x544cc6=!0x0,_0x18c8a4='forward'===_0x25987d?/^\w+/:/\w+$/;}else{if(_0x544cc6)break;_0x2f9503+=_0x5510a0['offsetSize'];}}else{if(_0x5510a0['is']('element')){_0x5ba6bf['isInline'](_0x5510a0)&&!_0x544cc6&&(_0x2f9503+=0x1);break;}}_0x104fc1+=_0x2f9503,_0x3fd2d3['jumpTo'](_0x1921f9['getShiftedBy']('forward'===_0x25987d?_0x104fc1:-_0x104fc1));}return _0x104fc1;}['_getChangeContext'](_0x399029,_0x31714b){const _0x15f3c7=Md(this['context'])['model']['schema'],_0x2602f7=this['_findAdjacentContextDistance'](_0x399029,'backward',_0x15f3c7,0x6),_0x370c2d=this['_findAdjacentContextDistance'](_0x31714b,'forward',_0x15f3c7,0x6),_0x59f0a6=_0x399029['getShiftedBy'](-_0x2602f7),_0x595e11=_0x31714b['getShiftedBy'](_0x370c2d);return{'start':_0x59f0a6,'end':_0x595e11,'hasContentBefore':!_0x59f0a6['isAtStart'],'hasContentAfter':!_0x595e11['isAtEnd']};}['_insertMarkers'](_0x55df02){const _0x3e439b=this['context']['plugins']['get']('AIEditing'),_0x8d2bcb=new Set();Md(this['context'])['model']['change'](_0x1813a2=>{for(const _0x4e43a4 of _0x55df02){const _0x4691c8=''+vm+_0x4e43a4['type']+':'+_0x4e43a4['groupId']+'_'+_0x3e439b['_nextDataId'](_0x8d2bcb);this['_markers']['set'](_0x4691c8,{'id':_0x4691c8,'groupId':_0x4e43a4['groupId'],'type':_0x4e43a4['type'],'content':_0x4e43a4['content']}),_0x1813a2['addMarker'](_0x4691c8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1813a2['createRange'](_0x4e43a4['start'],_0x4e43a4['end'])});}});}['_createGetContextFn'](_0x328d8f,_0x55c909,_0x543560){let _0xd26628='';return()=>{if(!_0xd26628){const _0x95e069=_0x55c909['toView'](_0x328d8f,{'showSuggestionHighlights':!0x0});let _0x3590a6=_0x95e069['getChild'](0x0);if(_0x3590a6['is']('containerElement')||(_0x3590a6=_0x95e069),!_0x3590a6)return'';let _0x3f3d74=!0x1;const _0x59fd89=[];for(const _0x273f5b of _0x3590a6['getChildren']())_0x273f5b['is']('element','span')&&_0x273f5b['hasClass']('ck-ai_review-marker_context-end')&&(_0x3f3d74=!0x1),_0x3f3d74&&_0x59fd89['push'](_0x273f5b),_0x273f5b['is']('element','span')&&_0x273f5b['hasClass']('ck-ai_review-marker_context-start')&&(_0x3f3d74=!0x0);_0x3590a6['_removeChildren'](0x0,_0x3590a6['childCount']),_0x543560?.['ellipsisBefore']&&_0x3590a6['_appendChild']('…'),_0x3590a6['_appendChild'](_0x59fd89),_0x543560?.['ellipsisAfter']&&_0x3590a6['_appendChild']('…');const _0x30b037=_0x55c909['htmlProcessor']['domConverter']['viewToDom'](_0x95e069),_0x2ef7ee=_0x55c909['htmlProcessor']['htmlWriter']['getHtml'](_0x30b037);_0xd26628=_0x2ef7ee;}return _0xd26628;};}['_createGetContentFn'](_0x4cd09e,_0x47d521){let _0x2e1c42='';return()=>(_0x2e1c42||(_0x2e1c42=_0x47d521['stringify'](_0x4cd09e,{'showSuggestionHighlights':!0x0})),_0x2e1c42);}['_createGetContentUsingDataIdFn'](_0x3557fe,_0x4cbef3,_0x1d7cea){let _0x21c77b='';return()=>{if(!_0x21c77b){const _0x158fab=_0x1d7cea['toView'](new _0x507bef(_0x3557fe)),_0x5ea035=_0x1d7cea['htmlProcessor']['domConverter']['viewToDom'](_0x158fab)['querySelector']('[data-id=\x22'+_0x4cbef3+'\x22]');_0x21c77b=_0x5ea035?.['outerHTML']||'';}return _0x21c77b;};}['_findMarkerElement'](_0x4e6c7e,_0x1d6965=0x5){let _0x437090=_0x4e6c7e,_0x556012=null;for(let _0x403b48=0x0;_0x403b48<_0x1d6965&&_0x437090;_0x403b48++){if(!_0x437090['className']){_0x437090=_0x437090['parentElement'];continue;}if(!(''+_0x437090['className'])['includes']('ck-ai_review-marker_')){_0x437090=_0x437090['parentElement'];continue;}if(!_0x437090['getAttribute']('data-marker-id'))break;_0x556012=_0x437090;break;}return _0x556012;}['_findMarkerElementById'](_0x1845b1){const _0x3baf58=Md(this['context']),_0x2ef557=_0x3baf58['model']['markers']['get'](_0x1845b1);return _0x2ef557?qu(_0x3baf58['editing'],_0x2ef557):null;}['_getMarkersDataForGroup'](_0x45d4e6){return Array['from'](this['_markers']['values']())['filter'](_0x54a679=>_0x54a679['groupId']===_0x45d4e6);}['_getOperationStart'](_0xd15539){return'insert'===_0xd15539['type']?_0xd15539['position']:_0xd15539['newRange']['start'];}['_getOperationEnd'](_0x1ab463,_0x42ed3f=!0x1){return'insert'===_0x1ab463['type']?_0x42ed3f?_0x1ab463['position']:_0x1ab463['position']['getShiftedBy'](_0x1ab463['howMany']):_0x1ab463['newRange']['end'];}['_shiftOperation'](_0x4f0482,_0x43e4cd){return'insert'===_0x4f0482['type']?_0x4f0482['position']=_0x4f0482['position']['getShiftedBy'](_0x43e4cd):'marker'===_0x4f0482['type']&&_0x4f0482['newRange']&&(_0x4f0482['newRange']=new _0x2ec072(_0x4f0482['newRange']['start']['getShiftedBy'](_0x43e4cd),_0x4f0482['newRange']['end']['getShiftedBy'](_0x43e4cd))),_0x4f0482;}['_changeOperationOwnerDocument'](_0x53fd1a,_0xa4140b){'insert'===_0x53fd1a['type']?_0x53fd1a['position']=this['_changePositionOwnerDocument'](_0x53fd1a['position'],_0xa4140b):'marker'===_0x53fd1a['type']&&_0x53fd1a['newRange']&&(_0x53fd1a['newRange']=this['_changeRangeOwnerDocument'](_0x53fd1a['newRange'],_0xa4140b));}['_changePositionOwnerDocument'](_0x504564,_0x2b71c0){return new _0xf95af9(_0x2b71c0,_0x504564['path']);}['_changeRangeOwnerDocument'](_0x664a0a,_0x104da0){return new _0x2ec072(this['_changePositionOwnerDocument'](_0x664a0a['start'],_0x104da0),this['_changePositionOwnerDocument'](_0x664a0a['end'],_0x104da0));}['_changePosition'](_0x51dffd,_0x30b32d){return new _0xf95af9(_0x30b32d,[..._0x51dffd]);}['_changeRange'](_0xdf4e7e,_0x2cee48,_0x943976,_0x229d6c){return new _0x2ec072(this['_changePosition'](_0x2cee48,_0x229d6c),this['_changePosition'](_0x943976,_0x229d6c));}['_sortMarkers'](_0x366199){const _0x1936ee=_0x2f3516=>{switch(_0x2f3516){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x366199['sort']((_0x4460c0,_0x279e26)=>_0x1936ee(_0x4460c0['type'])-_0x1936ee(_0x279e26['type']));}['_hasSameTopLevelElement'](_0x4f3860,_0x8e45af){const _0x336789=_0x4f3860['getChild'](0x0),_0x114255=_0x8e45af['getChild'](0x0);return!(!_0x336789||!_0x114255)&&((!_0x336789['is']('element')||!_0x114255['is']('element')||_0x336789['name']===_0x114255['name'])&&!(_0x336789['is']('element')&&!_0x114255['is']('element')||!_0x336789['is']('element')&&_0x114255['is']('element')));}['_haveSingleTopLevelElement'](_0x90afbf){return 0x1===_0x90afbf['childCount'];}['_haveOnlyInlineContent'](_0x413bba,_0x1bc59f){for(const _0x1a49b2 of _0x413bba['getChildren']())if(_0x1a49b2['is']('element')&&!_0x1bc59f['isInline'](_0x1a49b2))return!0x1;return!0x0;}['_upsertDataId'](_0x15b7dd,_0x40649e){let _0xd57ce0=_0x15b7dd['getAttribute'](pd);return _0xd57ce0||(_0xd57ce0=_0x40649e(),_0x15b7dd['_setAttribute'](pd,_0xd57ce0)),_0xd57ce0;}}class AIReviewCheckResult extends _0x199f48(){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x43d19d,contentNew:_0x593f72,contentInitial:_0x375e2d,documentVersion:_0x39769b}){super(),this['id']=_0x43d19d,this['contentNew']=_0x593f72,this['contentInitial']=_0x375e2d,this['documentVersion']=_0x39769b;}}class AIReviewCheckResultChange extends _0x20f52a(){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x368783,_0x1799a9,_0x47534a){super(),this['id']=_0x368783,this['parent']=_0x47534a,this['_data']=_0x1799a9,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 _0x20f52a(){['id']=_0x5c5c0c();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x53af67,_0x407614,_0x41bba6,_0x39ddb3,_0x3dd803){super(),this['_sourceCheck']=_0x407614,this['_documentData']=_0x53af67,this['_aiConnector']=_0x41bba6,this['_reviewParams']=_0x39ddb3,this['_reviewArgs']=_0x3dd803,this['on']('change:status',(_0x58ea59,_0x304c33,_0x3d3313)=>{'aborted'==_0x3d3313&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x3d3313,'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'](_0x1ebf2d=>'pending'===_0x1ebf2d['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x1caa67){this['_documentData']=_0x1caa67;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x1787f7=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x11162c of _0x1787f7)'unmodified'!==_0x11162c['data']['operation']&&('error'!==_0x11162c['data']['operation']?'review-metadata'!==_0x11162c['event']?this['_addReviewCheckResult'](_0x11162c['data']['dataId'],_0x11162c['data']['textDelta']):this['callId']=_0x11162c['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(_0x2d7fc4){this['_currentError']=_0x2d7fc4,_0x2d7fc4 instanceof Error&&_0x2d7fc4['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'](_0x4614e0,_0x23763a){const _0x412194=this['_results']['get'](_0x4614e0);if(!_0x412194)return;if(0x0===_0x23763a['length'])return;const _0x128a60=[];_0x23763a['forEach']((_0x4d860f,_0x3c4b05)=>{const _0x3cf355=new AIReviewCheckResultChange(_0x412194['id']+'-'+_0x3c4b05,_0x4d860f,_0x412194);_0x3cf355['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x3cf355,'status':_0x3cf355['status']});}),_0x3cf355['on']('change:isActivated',()=>{_0x3cf355['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x3cf355}):this['fire']('reviewCheckResultDeactivated',{'change':_0x3cf355});}),this['_changes']['push'](_0x3cf355),_0x128a60['push'](_0x3cf355);}),this['fire']('reviewCheckResultReady',{'changes':_0x128a60,'result':_0x412194,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x264a18){const _0x4ba292=this['_changes']['find'](_0x3b4ade=>_0x3b4ade['id']===_0x264a18);return!(!_0x4ba292||'pending'!==_0x4ba292['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x31aa7f=>!0x0===_0x31aa7f['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x4a869e=>'pending'===_0x4a869e['status']);}['getChangeById'](_0x247552){return this['_changes']['find'](_0x5cd511=>_0x5cd511['id']===_0x247552);}['markAllChangesAsAccepted'](){for(const _0x30fa2b of this['_changes'])'pending'===_0x30fa2b['status']&&(_0x30fa2b['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x21a5fc){const _0x232fbb=this['_changes']['find'](_0x31e239=>_0x31e239['id']===_0x21a5fc);_0x232fbb&&'pending'===_0x232fbb['status']&&(_0x232fbb['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x31facf){const _0x22a968=this['_changes']['find'](_0x239641=>_0x239641['id']===_0x31facf);_0x22a968&&'pending'===_0x22a968['status']&&(_0x22a968['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x1e8996){const _0x50b7d6=this['_changes']['find'](_0x27960a=>_0x27960a['id']===_0x1e8996);_0x50b7d6&&'pending'===_0x50b7d6['status']&&(_0x50b7d6['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x4238b0){const _0x3bf0a0=this['_changes']['find'](_0x23841f=>_0x23841f['id']===_0x4238b0);_0x3bf0a0&&'outdated'===_0x3bf0a0['status']&&(_0x3bf0a0['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x382bb3){this['_changes']['filter'](_0x43a13e=>_0x43a13e['isActivated']&&_0x43a13e['id']!==_0x382bb3)['forEach'](_0x16b438=>{_0x16b438['isActivated']=!0x1;});const _0x199061=this['_changes']['find'](_0x58dfc1=>_0x58dfc1['id']===_0x382bb3);_0x199061&&'pending'===_0x199061['status']&&(_0x199061['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0xcd4f7b=>_0xcd4f7b['isActivated'])['forEach'](_0x2ad12a=>{_0x2ad12a['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x48a3ba){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x386682;if(_0x48a3ba){const _0x15d178=this['_changes']['find'](_0x5ac199=>_0x5ac199['id']===_0x48a3ba);if(_0x15d178&&_0x15d178['isRated'])return;_0x15d178&&(_0x386682=_0x15d178['parent']['id'],_0x15d178['isRated']=!0x0);}const _0x28b58e={'positiveCount':this['_changes']['filter'](_0x2ee2b2=>'accepted'===_0x2ee2b2['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x28b58e,this['callId'],_0x386682);}['_addReviewCheckResult'](_0x501358,_0x2750d8){const _0x16c6fe=this['_documentData']['elements']['get'](_0x501358);if(!_0x16c6fe)return;const _0x53422c=_0x16c6fe['getContent']();if(_0x53422c===_0x2750d8)return;const _0x1fb3ae=new AIReviewCheckResult({'id':_0x501358,'contentInitial':_0x53422c,'contentNew':_0x2750d8,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x1fb3ae['id'],_0x1fb3ae),this['fire']('reviewCheckResultAdded',{'result':_0x1fb3ae,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x4684b2=>'pending'===_0x4684b2['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x1ebb8d=>'pending'===_0x1ebb8d['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends AIReviewCheckRun{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x2d92c0=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0xc7c27c=0x0;_0xc7c27c<this['_reviewParams']['length'];_0xc7c27c++){if(!this['_reviewParams'][_0xc7c27c]||!this['_sourceCheck']['options'][_0xc7c27c])continue;const _0x589fd2=this['_sourceCheck']['options'][_0xc7c27c],_0x411d16=_0x589fd2['data']?.['find'](_0x36cb1f=>_0x36cb1f['id']===this['_reviewParams'][_0xc7c27c]);_0x411d16&&_0x2d92c0['push'](_0x411d16['label']);}return _0x2d92c0['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x274389,_0x231c3e,_0x34fe58){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x231c3e,_0x274389,_0x34fe58);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x13e428{['_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(_0x2344b8,_0x5ad1e0)=>{const _0x15b63c=this['_aiReviewCheckList']['getCheckById'](_0x5ad1e0['id']);if(_0x15b63c){this['_onReviewCheckRun'](_0x5ad1e0),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x5ad1e0,_0x15b63c),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x1c89e1,_0x3f550d)=>{switch(_0x3f550d['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x3f550d);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 _0x37fbfa('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x37fbfa('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'!==_0x3f550d['status']&&'error-chunk'!==_0x3f550d['status']&&'error-general'!==_0x3f550d['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x273b9b,_0x2ecfd2)=>{if(!this['_currentReviewCheckRun'])throw new _0x37fbfa('ai-review-mode-no-current-check-run',this);const _0x4f0e20=this['_diffContent'](_0x2ecfd2['result']['contentInitial'],_0x2ecfd2['result']['contentNew']);_0x2ecfd2['source']['addResultChanges'](_0x2ecfd2['result']['id'],_0x4f0e20);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x864895,_0x3fe7ca)=>{for(const _0x1665d1 of _0x3fe7ca['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x1665d1);this['_markChangePositionInEditorContent'](_0x3fe7ca['changes'],_0x3fe7ca['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x594e69,_0x2b4ef0)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x2b4ef0['change']['id'],_0x2b4ef0['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0xa0fb50,_0x3e2794)=>{this['_onReviewCheckResultActivated'](_0x3e2794);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x196f3c){_0x196f3c instanceof Error&&_0x196f3c['message']['includes']('ai-request-aborted')||(_0x196f3c instanceof _0x37fbfa?this['_logError'](_0x196f3c):this['_logError'](new _0x37fbfa('ai-review-mode-check-run-failed',this,void 0x0,_0x196f3c)));}}else this['_logError'](new _0x37fbfa('ai-review-mode-source-check-not-found',this,{'checkId':_0x5ad1e0['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 _0x3239c7=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x3239c7['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x3239c7['map'](_0x416355=>_0x416355['id']));const _0x1b643d=this['_currentReviewCheckRun'];_0x1b643d['markAllChangesAsAccepted'](),_0x1b643d['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0xbfb8e,_0x16e9d9)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x16e9d9['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x16e9d9['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x16e9d9['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x16e9d9['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x87cd59,_0x5a3466)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x5a3466['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x5a3466['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x5a3466['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x5a3466['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',(_0x4fcb62,_0x16788b)=>{this['_onActivateChange'](_0x16788b);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x255419,_0x358826)=>{this['_onDeactivateChange'](_0x358826);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x4d3178,_0x4d7919)=>{this['_onChangeMarkerClicked'](_0x4d3178,_0x4d7919);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x47a737,_0x4c3e4f)=>{this['_onChangeMarkerHovered'](_0x47a737,_0x4c3e4f);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x26f0c6,_0x1b7705)=>{this['_onChangeMarkerRemoved'](_0x26f0c6,_0x1b7705);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x380550,_0x4088c6)=>{this['_onChangeMarkerRestored'](_0x380550,_0x4088c6);});}['_createReviewCheckRun'](_0x13b6a7,_0x52278f){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x52278f,this['_aiConnector'],_0x13b6a7['params'],_0x13b6a7['args']);}['_onChangeMarkerRemoved'](_0x4cd859,_0x2d3d7c){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x2d3d7c['changeId']);}['_onChangeMarkerRestored'](_0x11a6a7,_0xb7eb3d){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0xb7eb3d['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x1323de=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x1323de&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x28896f=this['_aiReviewCoreEditing']['getEditor']();_0x28896f&&_0x28896f['editing']['view']['change'](_0xde62d0=>{const _0x41b437=_0x28896f['editing']['view']['document']['getRoot']();_0xde62d0['removeClass']('ck-ai_review-diff',_0x41b437),_0xde62d0['removeClass']('ck-ai_review-highlights',_0x41b437),_0xde62d0['removeClass']('ck-ai-translate-mode-content',_0x41b437);});}['_getTranslationWithDefault'](_0x462514,_0x4f240c){const _0x310efd=ho(this['context']['locale'],_0x462514);return _0x310efd===_0x462514?_0x4f240c:_0x310efd;}['_logError'](_0x15091a,_0x31fe82=!0x1){_0x4b942a(_0x15091a['message']),_0x31fe82||(_0x15091a['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x1306ca){if('content'===this['_changeActivationSource']){const _0x5d860e=this['_aiReviewCoreUi']['getChangeElement'](_0x1306ca);_0x5d860e&&_0x5a102d(_0x5d860e['closest']('.ck-ai_review__check-run-result')||_0x5d860e);}else{if('panel'===this['_changeActivationSource']){const _0x3f9bb6=this['_getChangeContentElement'](_0x1306ca);if(!_0x3f9bb6)return;_0x3cfeda({'target':_0x3f9bb6,'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(_0x20fb42){this['id']=_0x20fb42['id'],this['commandId']=_0x20fb42['commandId'],this['title']=_0x20fb42['title'],this['description']=_0x20fb42['description'],this['isParameterized']=_0x20fb42['isParameterized'],this['useArgs']=_0x20fb42['useArgs'],this['options']=_0x20fb42['options'],this['args']=_0x20fb42['args'];}}class AIReviewCheckList extends _0x20f52a(){['_checks']=[];['setupChecks'](_0x490080){this['_checks']=_0x490080['map'](_0x51fa2c=>new AIReviewCheck(_0x51fa2c));}get['checks'](){return this['_checks'];}['getCheckById'](_0x23db30){return this['checks']['find'](_0x56c4ae=>_0x56c4ae['id']===_0x23db30);}['removeCheckById'](_0x272c85){this['_checks']=this['_checks']['filter'](_0x2d3c54=>_0x2d3c54['id']!==_0x272c85);}}class AIReviewCheckCustom extends AIReviewCheck{['_models']=[];['_defaultModel']=null;constructor(_0x6db155,_0x2529cb,_0x4cd7d2){super(_0x6db155),this['_models']=_0x2529cb,this['_defaultModel']=_0x4cd7d2;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends AIReviewCheck{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x36865b,_0x418eeb,_0x3cf5a4){super(_0x36865b),this['prompt']=_0x36865b['prompt'],this['model']=_0x36865b['model'],this['model']?this['_defaultModel']=_0x418eeb['find'](_0x5bcc4d=>_0x5bcc4d['id']===this['model'])||null:this['_defaultModel']=_0x3cf5a4;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x206a55,_0x5a4f3a,_0x5178b6){super(),this['_allModels']=_0x206a55,this['_recommendedModels']=_0x5a4f3a,this['_defaultModel']=_0x5178b6;}['setupChecks'](_0x9273a4){this['_checks']=_0x9273a4['map'](_0x58964f=>!0x0===_0x58964f['isExtra']?new AIReviewCheckExtra(_0x58964f,this['_allModels'],this['_defaultModel']):'custom'===_0x58964f['id']?new AIReviewCheckCustom(_0x58964f,this['_recommendedModels'],this['_defaultModel']):new AIReviewCheck(_0x58964f));}}class AIReviewCustomCheckRun extends AIReviewCheckRun{['_prompt'];['_model'];constructor(_0x3620f,_0x5739e9,_0x593b82,_0x11f446,_0xf00290){super(_0x593b82,_0x11f446,_0xf00290),this['_prompt']=_0x3620f,this['_model']=_0x5739e9;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x80206,_0x37bb35,_0x1988fc){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x37bb35,_0x80206,_0x1988fc);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x4f4893){this['_prompt']=_0x4f4893;}set['model'](_0x3e001b){this['_model']=_0x3e001b;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x1bcc21){super(_0x1bcc21),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',Tm['map'](_0x593b28=>_0x593b28['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x2370c5,_0x2b0d95)=>{this['_isDiffOn']=_0x2b0d95['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0xdabcff,_0xb448e4){return _0xdabcff['isCustom']?new AIReviewCustomCheckRun(_0xdabcff['args']['prompt'],_0xdabcff['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0xb448e4,this['_aiConnector']):_0xb448e4['isExtra']?new AIReviewExtraCheckRun(_0xb448e4['prompt'],_0xb448e4['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0xb448e4,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0xb448e4,this['_aiConnector'],_0xdabcff['params'],_0xdabcff['args']);}['_onReviewCheckResultActivated'](_0x4f04f7){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x4f04f7['change']['id']),this['_scrollToChange'](_0x4f04f7['change']['id']);const _0x230ee2=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4f04f7['change']['id']);if(!_0x230ee2)return;const _0x21aaf6=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4f04f7['change'],()=>_0x230ee2['getElement'](),void 0x0,'click',_0x21aaf6?.['editing']?.['view']?.['getDomRoot'](),_0x21aaf6?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x4f04f7['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x3615b1){this['_currentReviewCheckRun']&&'click'===_0x3615b1['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x3615b1['id']));}['_onDeactivateChange'](_0x1fe114){this['_currentReviewCheckRun']&&'balloon'===_0x1fe114['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x49ae04,_0x40980a){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x40980a['changeId']);const _0x4410ba=this['_currentReviewCheckRun']['getChangeById'](_0x40980a['changeId']);if(!_0x4410ba)return;const _0x5ae67f=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4410ba,_0x40980a['markerElement'],_0x40980a['domEvent'],'click',_0x5ae67f?.['editing']?.['view']?.['getDomRoot'](),_0x5ae67f?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x4996fa,_0x6833c6){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x1df54a=this['_currentReviewCheckRun']['getChangeById'](_0x6833c6['changeId']);if(!_0x1df54a)return;const _0x4993b2=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x1df54a,_0x6833c6['markerElement'],_0x6833c6['domEvent'],'hover',_0x4993b2?.['editing']?.['view']?.['getDomRoot'](),_0x4993b2?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x22a7ac){const _0xbbdd9c=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x22a7ac);return _0xbbdd9c?_0xbbdd9c['getElement']():null;}['_markChangePositionInEditorContent'](_0x5595a2,_0x592ae3){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x5595a2,_0x592ae3);}['_diffContent'](_0x27b8bf,_0x2f8a10){return this['_aiReviewCoreEditing']['diffContent'](_0x27b8bf,_0x2f8a10);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x517bd8){const _0x69d2ec=this['_aiReviewCoreEditing']['getEditor']();_0x517bd8?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x69d2ec&&_0x69d2ec['editing']['view']['change'](_0xe82002=>{const _0x4db035=_0x69d2ec['editing']['view']['document']['getRoot']();for(const _0x4db759 of _0x4db035['getClassNames']())_0x4db759['startsWith']('ck-ai_review-')&&_0xe82002['removeClass'](_0x4db759,_0x4db035);_0xe82002['addClass'](_0x517bd8?'ck-ai_review-diff':'ck-ai_review-highlights',_0x4db035);});}async['_getChecksList'](){const _0x4481ac=[...Tm,...this['_getExtraChecks']()],_0x191281=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x191281,_0x4481ac);let _0x1ce66c=_0x4481ac;this['_hasDefaultAvailableCommands']||(_0x1ce66c=_0x191281['map'](_0x3aaed2=>_0x4481ac['find'](_0x117d07=>_0x117d07['id']===_0x3aaed2))['filter'](_0x15c53b=>!!_0x15c53b)),_0x1ce66c=_0x1ce66c['map'](_0x10812d=>_0x10812d['isExtra']?_0x10812d:this['_translateReviewCheck'](_0x10812d));const _0x92ecfb=_0x1ce66c['some'](_0x3984fc=>_0x3984fc['isExtra']||'custom'===_0x3984fc['id']);let _0x38e0bd=[],_0x6f0024=[],_0x34dee9=null;if(_0x92ecfb){const _0x1da0ba=await this['_getModels']();_0x38e0bd=_0x1da0ba['all'],_0x6f0024=_0x1da0ba['recommended'],_0x34dee9=_0x1da0ba['default'];}const _0x166085=new AIReviewModeCheckList(_0x38e0bd,_0x6f0024,_0x34dee9);return _0x166085['setupChecks'](_0x1ce66c),_0x92ecfb&&this['_filterChecksWithMissingModel'](_0x166085),_0x166085;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x1f1eb5=>({'id':_0x1f1eb5['id'],'commandId':_0x1f1eb5['id'],'title':_0x1f1eb5['label'],'description':_0x1f1eb5['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x1f1eb5['prompt'],'model':_0x1f1eb5['model']}));}['_logErrorForNonExistentChecks'](_0x3645a4,_0x220b8e){const _0xda85f4=_0x3645a4['filter'](_0x11c651=>!_0x220b8e['some'](_0x5dd0b8=>_0x5dd0b8['id']===_0x11c651));_0xda85f4['length']&&this['_logError'](new _0x37fbfa('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0xda85f4['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x2eab30=new AIModels({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x2eab30['getAll'](),'recommended':await _0x2eab30['getAvailableModels'](),'default':await _0x2eab30['getDefault']()};}catch(_0x1c9517){return this['_logError'](new _0x37fbfa('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x1c9517)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x44fba9){const _0x12255b='AI_REVIEW_CHECK_'+_0x44fba9['id']['toUpperCase']()['replaceAll']('-','_'),_0x1c2e56={..._0x44fba9,'title':this['_getTranslationWithDefault'](_0x12255b+'_TITLE',_0x44fba9['title']),'description':this['_getTranslationWithDefault'](_0x12255b+'_DESCRIPTION',_0x44fba9['description'])};return _0x44fba9['options']&&(_0x1c2e56['options']=_0x44fba9['options']['map'](_0x8d8d6b=>({..._0x8d8d6b,'label':this['_getTranslationWithDefault'](_0x12255b+'_OPTIONS_LABEL',_0x8d8d6b['label']||''),'data':_0x8d8d6b['data']?_0x8d8d6b['data']['map'](_0x4371e6=>({..._0x4371e6,'label':this['_getTranslationWithDefault'](_0x12255b+'_OPTIONS_DATA_'+_0x4371e6['id']['toUpperCase'](),_0x4371e6['label'])})):void 0x0}))),_0x1c2e56;}['_filterChecksWithMissingModel'](_0x176808){const _0x556ef1=[];_0x176808['checks']['forEach'](_0x2859f1=>{(_0x2859f1 instanceof AIReviewCheckExtra&&!_0x2859f1['defaultModel']||_0x2859f1 instanceof AIReviewCheckCustom&&!_0x2859f1['models']['length'])&&_0x556ef1['push'](_0x2859f1['id']);}),_0x556ef1['length']&&_0x556ef1['forEach'](_0x422343=>{_0x176808['removeCheckById'](_0x422343),this['_logError'](new _0x37fbfa('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x422343}),!0x0);});}}class AIReviewMode extends _0x13e428{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'](_0x1a1e85){this['_checks']=_0x1a1e85['map'](_0xf21bd6=>new AITranslateCheck(_0xf21bd6));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x55ea38,_0x59ccae,_0x1022b9,_0xbee69b,_0x51dd34,_0xea39e5){super(_0x55ea38,_0x59ccae,_0x1022b9,_0x51dd34,_0xea39e5),this['_title']=_0xbee69b;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x5277ee){super(_0x5277ee),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'](_0x4443fe,_0x3244f5){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x3244f5,this['_aiConnector'],ho(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x4443fe['params'],_0x4443fe['args']);}['_onReviewCheckResultActivated'](_0x204f7b){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x204f7b['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x204f7b['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x4401ec){this['_currentReviewCheckRun']&&('hover'===_0x4401ec['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x4401ec['id'])),'click'===_0x4401ec['uiInteraction']&&this['_scrollToChange'](_0x4401ec['id']));}['_onDeactivateChange'](_0x324abf){this['_currentReviewCheckRun']&&'panel'===_0x324abf['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x5d2063,_0x2d132e){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2d132e['changeId']),this['_scrollToChange'](_0x2d132e['changeId']));}['_onChangeMarkerHovered'](_0x249dde,_0x3db8e9){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x3db8e9['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x3db8e9['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x1cf6f3){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x1cf6f3);}['_markChangePositionInEditorContent'](_0x3fbae8,_0x363aa4){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x3fbae8,_0x363aa4);}['_diffContent'](_0x2f8eef,_0x1a3087){return this['_aiReviewCoreEditing']['diffContent'](_0x2f8eef,_0x1a3087,!0x0);}['_onReviewCheckRun'](){const _0x4e12a1=this['_aiReviewCoreEditing']['getEditor']();_0x4e12a1&&_0x4e12a1['editing']['view']['change'](_0x2afb80=>{const _0x949794=_0x4e12a1['editing']['view']['document']['getRoot']();for(const _0x1e6f18 of _0x949794['getClassNames']())(_0x1e6f18['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x1e6f18)&&_0x2afb80['removeClass'](_0x1e6f18,_0x949794);_0x2afb80['addClass']('ck-ai-translate-mode-content',_0x949794);});}async['_getChecksList'](){const _0x57d5d9=[],_0x55bcde=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x378176 of _0x55bcde)_0x57d5d9['push']({'title':_0x378176['label'],'id':_0x378176['id'],'commandId':_0x378176['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x378176['id']}});const _0x1c2699=new AITranslateCheckList();return _0x1c2699['setupChecks'](this['_translateChecks'](_0x57d5d9)),_0x1c2699;}['_translateChecks'](_0x579148){return _0x579148['map'](_0x115fe8=>{const _0x6b7853='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x115fe8['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x115fe8,'title':this['_getTranslationWithDefault'](_0x6b7853,_0x115fe8['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x444553,_0x5469e9){super(_0x444553,_0x5469e9),this['on']('set:isLoading',(_0x48e150,_0x558beb,_0x1a52b7)=>{_0x1a52b7&&(this['headerTitle']=ho(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x5a26fa,_0x54cb17,_0x1d1128)=>{_0x1d1128&&(this['headerTitle']=ho(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x5edaac=super['_createAcceptAllButtonView']();return _0x5edaac['set']('label',ho(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x5edaac;}['_createExitReviewButtonView'](){const _0x2e32a6=super['_createExitReviewButtonView']();return _0x2e32a6['set']('label',ho(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x2e32a6;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x11fc33=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x11fc33['if']('isVisible','ck-hidden',_0x49f1e0=>!_0x49f1e0)]},'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',_0x11fc33['if']('isVisible','ck-hidden',_0x469f0a=>!_0x469f0a)]},'children':this['_checkViews']}]});}}class AITranslateUI extends AIReviewCoreUI{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x2df2f1=this['context']['locale'],_0x4d93d7=new yt(_0x2df2f1,{'label':ho(_0x2df2f1,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x5654e3,'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x36f283=new AIReviewCoreView(_0x2df2f1,{'header':_0x4d93d7,'list':new AITranslateCheckListView(_0x2df2f1),'results':new AITranslateCheckResultsView(_0x2df2f1,{'generalErrorText':ho(_0x2df2f1,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x2df2f1,{'headerText':ho(_0x2df2f1,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':ho(_0x2df2f1,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':ho(_0x2df2f1,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x36f283['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x36f283;}['registerTab'](){const _0x36e88c=this['context']['plugins']['get']('AITabs');_0x36e88c['view']['on']('activateTab',(_0x3d9556,_0x3c25fb)=>{'translate'===_0x3c25fb?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x36e88c['view']['addTab']({'id':'translate','buttonLabel':ho(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x5654e3,'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x13e428{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 _0x15bad7{['_transformCallback'];constructor(_0x237112,_0x722dc1){super(_0x237112),this['_transformCallback']=_0x722dc1;}['execute'](){const _0x284850=this['editor']['model'],_0x2120c0=Array['from'](this['_getAffectedRanges']()),_0x5eca2a=Array['from'](_0x284850['document']['selection']['getRanges']());_0x284850['change'](_0x53cef1=>{for(const _0x2201dc of _0x2120c0)this['_modifyContent'](_0x2201dc,_0x53cef1);_0x53cef1['setSelection'](_0x5eca2a);});}['refresh'](){for(const _0x470513 of this['_getAffectedRanges']())for(const _0x421e2e of _0x470513)if(_0x421e2e['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x44e9be=this['editor']['model'],_0x4be846=_0x44e9be['document']['selection'];if(_0x4be846['isCollapsed']){const _0xbe8787=this['_findAncestorTextBlock'](_0x4be846['getFirstPosition']()['parent']);return _0xbe8787?[_0x44e9be['createRangeIn'](_0xbe8787)]:[];}return _0x4be846['getRanges']();}['_modifyContent'](_0xad7dd,_0x1d83d6){for(const _0x51b33a of this['_getElementsAllowingText'](_0xad7dd)){const _0x150789=this['_getElementTextContent'](_0x51b33a),_0x4c42ac=this['_transformCallback'](_0x150789);for(const _0x4c2043 of this['_getTextNodesRangeLimited'](_0x51b33a,_0xad7dd))this['_replaceTextNodeData'](_0x4c2043,_0x4c42ac,_0x1d83d6);}}['_findAncestorTextBlock'](_0x5f0509){const _0x3aae1d=this['editor']['model']['schema'];if(_0x5f0509['is']('element')&&_0x3aae1d['checkChild'](_0x5f0509,'$text'))return _0x5f0509;const _0x3cc4fd=_0x5f0509['parent'];return!_0x3cc4fd||_0x3aae1d['isLimit'](_0x5f0509)?null:this['_findAncestorTextBlock'](_0x3cc4fd);}*['_getElementsAllowingText'](_0x1bd4c7){const _0x55f1b4=new Set();for(const {item:_0x4307d1}of _0x1bd4c7['getWalker']()){const _0x5ae9c0=this['_findAncestorTextBlock'](_0x4307d1);_0x5ae9c0&&!_0x55f1b4['has'](_0x5ae9c0)&&(_0x55f1b4['add'](_0x5ae9c0),yield _0x5ae9c0);}}['_getElementTextContent'](_0x15fd22){return Array['from'](_0x15fd22['getChildren']())['reduce']((_0x3fbcba,_0x407f08)=>_0x3fbcba+(_0x407f08['is']('$text')?_0x407f08['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x1535f2,_0x4e3a61){const _0x26651d=_0x4e3a61['getIntersection'](this['editor']['model']['createRangeIn'](_0x1535f2));if(_0x26651d){for(const _0x79ecf of _0x26651d['getItems']())_0x79ecf['is']('$textProxy')&&_0x79ecf['parent']==_0x1535f2&&(yield _0x79ecf);}}['_replaceTextNodeData'](_0x17d296,_0xf74112,_0x4467a4){const _0x52eaf2=_0xf74112['substring'](_0x17d296['startOffset'],_0x17d296['endOffset']);if(_0x52eaf2===_0x17d296['data'])return;const _0x5ea7e5=_0x17d296['getAttributes']();this['editor']['model']['insertContent'](_0x4467a4['createText'](_0x52eaf2,_0x5ea7e5),_0x4467a4['createSelection'](_0x4467a4['createRangeOn'](_0x17d296)));}}function Em(_0x525a3e,_0x5a7112,..._0x30b71f){const t=_0x525a3e['t'];switch(_0x5a7112){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',..._0x30b71f);default:return _0x5a7112;}}class CaseChangeEditing extends _0x13517b{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x512b62=this['editor'],_0xc46e4b=_0x512b62['locale']['contentLanguage'],_0x33f373=function(_0x374230=[]){return'function'==typeof _0x374230?_0x374230:(_0x443c67,{wordIndex:_0x4494c4})=>_0x4494c4>0x0&&_0x374230['includes'](_0x443c67);}(_0x512b62['config']['get']('caseChange.titleCase.excludeWords')),_0x4395e2={'changeCaseUpper':new CaseChangeCommand(_0x512b62,_0x525a0d=>_0x525a0d['toLocaleUpperCase'](_0xc46e4b)),'changeCaseLower':new CaseChangeCommand(_0x512b62,_0x3fa325=>_0x3fa325['toLocaleLowerCase'](_0xc46e4b)),'changeCaseTitle':new CaseChangeCommand(_0x512b62,_0x3022fa=>function(_0x6e0a27,_0x4e6669,_0x2d71a6){return function(_0xd5dd59,_0xf187b3){let _0x2a2b01='',_0x579408=0x0,_0x3d0756=0x0;for(const _0x328bdb of _0xd5dd59['matchAll'](/ +/g)){const _0x1012fe=_0x328bdb['index'],_0x57dc98=_0xd5dd59['substring'](_0x579408,_0x1012fe);_0x57dc98['length']&&(_0x2a2b01+=_0xf187b3(_0x57dc98,_0x579408,_0x3d0756++)),_0x2a2b01+=_0x328bdb[0x0],_0x579408=_0x1012fe+_0x328bdb[0x0]['length'];}const _0x1657c4=_0xd5dd59['substring'](_0x579408);return _0x1657c4['length']&&(_0x2a2b01+=_0xf187b3(_0x1657c4,_0x579408,_0x3d0756)),_0x2a2b01;}(_0x6e0a27,(_0x8caf3,_0xa59277,_0x43642c)=>{const _0x507fb5=_0x8caf3['toLocaleLowerCase'](_0x2d71a6);return _0x4e6669(_0x507fb5,{'charOffset':_0xa59277,'wordIndex':_0x43642c,'blockText':_0x6e0a27})?_0x507fb5:_0x507fb5['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x38d165=>_0x38d165['toLocaleUpperCase'](_0x2d71a6));});}(_0x3022fa,_0x33f373,_0xc46e4b))};for(const [_0x355934,_0x3dd692]of Object['entries'](_0x4395e2))_0x512b62['commands']['add'](_0x355934,_0x3dd692),_0x3dd692['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x355934);});this['listenTo'](_0x512b62['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x512b62['keystrokes']['set']('shift+f3',(_0x23671d,_0x1d45a0)=>{const _0x1a2952=Am(this['editor']['locale']),_0x2c8d07=_0x1a2952[this['_currentCommandIndex']%_0x1a2952['length']]['commandName'];_0x512b62['execute'](_0x2c8d07),this['_currentCommandIndex']++,_0x1d45a0();});}['afterInit'](){!async function(_0x415549){const _0x37d43e=_0x46306b([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]),_0x171bd3=0x334129cd,_0x2c01e8=0x3346a60d^_0x171bd3,_0x3457fc=window[_0x46306b([0x44,0x61,0x74,0x65])][_0x46306b([0x6e,0x6f,0x77])](),_0x7f6907=_0x415549[_0x46306b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d7704=new window[(_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548734=>{_0x7f6907[_0x46306b([0x6f,0x6e,0x63,0x65])](_0x46306b([0x72,0x65,0x61,0x64,0x79]),_0x548734);}),_0x320fca={[_0x46306b([0x6b,0x74,0x79])]:_0x46306b([0x45,0x43]),[_0x46306b([0x75,0x73,0x65])]:_0x46306b([0x73,0x69,0x67]),[_0x46306b([0x63,0x72,0x76])]:_0x46306b([0x50,0x2d,0x32,0x35,0x36]),[_0x46306b([0x78])]:_0x46306b([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]),[_0x46306b([0x79])]:_0x46306b([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]),[_0x46306b([0x61,0x6c,0x67])]:_0x46306b([0x45,0x53,0x32,0x35,0x36])},_0x5e8d1a=_0x7f6907[_0x46306b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46306b([0x67,0x65,0x74])](_0x46306b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cb401(){let _0x5717b1,_0x5bcc67=null,_0x19f45f=null;try{if(_0x5e8d1a==_0x46306b([0x47,0x50,0x4c]))return _0x46306b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5717b1=_0xb7db5f(),!_0x5717b1)return _0x46306b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5717b1[_0x46306b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19f45f=_0x534e3a(_0x5717b1[_0x46306b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5717b1[_0x46306b([0x6a,0x74,0x69])])),await _0x3021f4()?_0x3b3bea()?_0x46f42a()?_0x46306b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5418f2()?(_0x5717b1[_0x46306b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46306b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5bcc67=_0x90f469(_0x46306b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4587f3()):_0x46306b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46306b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46306b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46306b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46f42a(){const _0x3db38c=[_0x46306b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46306b([0x74,0x72,0x69,0x61,0x6c])][_0x46306b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5717b1[_0x46306b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3457fc/0x3e8:0xe10*_0x2c01e8;return _0x5717b1[_0x46306b([0x65,0x78,0x70])]<_0x3db38c;}function _0x3b3bea(){const _0x245625=_0x5717b1[_0x46306b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x245625&&(!!_0x245625[_0x46306b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46306b([0x2a]))||(!!_0x245625[_0x46306b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46306b([0x43,0x43]))||!!_0x245625[_0x46306b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46306b([0x50,0x50]))));}function _0x5418f2(){const _0x55b8f9=_0x5717b1[_0x46306b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55b8f9||0x0==_0x55b8f9[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17d2ed}=new URL(window[_0x46306b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x55b8f9[_0x46306b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d2ed))return!0x0;const _0x2f72f4=_0x17d2ed[_0x46306b([0x73,0x70,0x6c,0x69,0x74])](_0x46306b([0x2e]));return _0x55b8f9[_0x46306b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x387b26=>_0x387b26[_0x46306b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46306b([0x2a])))[_0x46306b([0x6d,0x61,0x70])](_0x3c3231=>_0x3c3231[_0x46306b([0x73,0x70,0x6c,0x69,0x74])](_0x46306b([0x2e])))[_0x46306b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b1310=>_0x2b1310[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f72f4[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46306b([0x6d,0x61,0x70])](_0x3a98f9=>Array(_0x2f72f4[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a98f9[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46306b([0x66,0x69,0x6c,0x6c])](_0x3a98f9[0x0]===_0x46306b([0x2a])?_0x46306b([0x2a]):'')[_0x46306b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a98f9))[_0x46306b([0x73,0x6f,0x6d,0x65])](_0x6e22f6=>_0x2f72f4[_0x46306b([0x65,0x76,0x65,0x72,0x79])]((_0x4bd963,_0x3d60c7)=>_0x6e22f6[_0x3d60c7]===_0x4bd963||_0x6e22f6[_0x3d60c7]===_0x46306b([0x2a])));}function _0x4587f3(){return _0x5bcc67&&_0x19f45f?new window[(_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16ff8e,_0x5bc79b)=>{_0x5bcc67[_0x46306b([0x74,0x68,0x65,0x6e])](_0x16ff8e,_0x5bc79b),_0x19f45f[_0x46306b([0x74,0x68,0x65,0x6e])](_0x183f54=>{_0x183f54!=_0x46306b([0x56,0x61,0x6c,0x69,0x64])&&_0x16ff8e(_0x183f54);},_0x5bc79b);}):_0x5bcc67||_0x19f45f||_0x46306b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x534e3a(_0x52f1f8,_0x5766cc){return new window[(_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ec41f=>{if(_0xa51345())return _0x1ec41f(_0x46306b([0x56,0x61,0x6c,0x69,0x64]));_0x110eeb(),_0x7f6907[_0x46306b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46306b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19cd62=!0x1;const _0x11fbef=_0x5c5c0c();function _0x30b944(_0x1801bb){return!!_0x1801bb&&(typeof _0x1801bb===_0x46306b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1801bb===_0x46306b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1801bb[_0x46306b([0x74,0x68,0x65,0x6e])]===_0x46306b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1801bb[_0x46306b([0x63,0x61,0x74,0x63,0x68])]===_0x46306b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x372b99(_0x6c5e08){_0x52e6e4(_0x6c5e08)[_0x46306b([0x74,0x68,0x65,0x6e])](_0x25c305=>{if(!_0x25c305||_0x25c305[_0x46306b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46306b([0x6f,0x6b]))return _0x46306b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d0212(_0x4f11b1(_0x11fbef+_0x5766cc))!=_0x25c305[_0x46306b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46306b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46306b([0x56,0x61,0x6c,0x69,0x64]);})[_0x46306b([0x74,0x68,0x65,0x6e])](_0x5d07f3=>(_0x9eb776(),_0x5d07f3),()=>{const _0x462c43=_0x50e48a();return null==_0x462c43?(_0x9eb776(),_0x46306b([0x56,0x61,0x6c,0x69,0x64])):_0x46306b(_0x3457fc-_0x462c43>(0x174dadcd^_0x171bd3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46306b([0x74,0x68,0x65,0x6e])](_0x1ec41f)[_0x46306b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ec41f(_0x46306b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x370605=0x3377c74d^_0x171bd3;function _0x9eb776(){const _0x4af40b=_0x46306b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d0212(_0x4f11b1(_0x52f1f8)),_0x25a85a=_0x17bd0a(_0x3d0212(window[_0x46306b([0x4d,0x61,0x74,0x68])][_0x46306b([0x63,0x65,0x69,0x6c])](_0x3457fc/_0x370605)));window[_0x46306b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46306b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4af40b,_0x25a85a);}function _0x50e48a(){const _0x1549a1=_0x46306b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d0212(_0x4f11b1(_0x52f1f8)),_0x491374=window[_0x46306b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46306b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1549a1);return _0x491374?window[_0x46306b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17bd0a(_0x491374),0x10)*_0x370605:null;}function _0x52e6e4(_0x216581){return new window[(_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe3bad3,_0x24770c)=>{_0x216581[_0x46306b([0x74,0x68,0x65,0x6e])](_0xe3bad3,_0x24770c),window[_0x46306b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24770c,0x3340fd0d^_0x171bd3);});}}_0x7f6907[_0x46306b([0x6f,0x6e])](_0x46306b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b6575,_0x27a486)=>{if(_0x27a486[0x0]!=_0x52f1f8)return _0x1ec41f(_0x46306b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27a486[0x1]={..._0x27a486[0x1],[_0x46306b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11fbef};},{[_0x46306b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46306b([0x68,0x69,0x67,0x68])}),_0x7f6907[_0x46306b([0x6f,0x6e])](_0x46306b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1482c8=>{_0x30b944(_0x1482c8[_0x46306b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19cd62=!0x0,_0x372b99(_0x1482c8[_0x46306b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46306b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46306b([0x6c,0x6f,0x77])}),_0x3d7704[_0x46306b([0x74,0x68,0x65,0x6e])](()=>{_0x19cd62||_0x1ec41f(_0x46306b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa51345(){return _0x7f6907[_0x46306b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46306b([0x76,0x69,0x65,0x77])][_0x46306b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46306b([0x61,0x75,0x74,0x6f]);}function _0x110eeb(){_0x7f6907[_0x46306b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46306b([0x76,0x69,0x65,0x77])][_0x46306b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46306b([0x61,0x75,0x74,0x6f]);}}function _0x90f469(_0x251b1d){const _0x4f6ce3=[new window[(_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x190282=>setTimeout(_0x190282,0x33481701^_0x171bd3)),_0x3d7704[_0x46306b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4011f6=>{let _0x3127e1=0x0;_0x7f6907[_0x46306b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46306b([0x6f,0x6e])](_0x46306b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a6adf,_0x3b7e57)=>{_0x3b7e57[0x0][_0x46306b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3127e1++,_0x3127e1==(0x33412c25^_0x171bd3)&&(_0x4011f6(),_0x5a6adf[_0x46306b([0x6f,0x66,0x66])]());});}))];return window[_0x46306b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46306b([0x72,0x61,0x63,0x65])](_0x4f6ce3)[_0x46306b([0x74,0x68,0x65,0x6e])](()=>_0x251b1d);}async function _0x327e6a(){await _0x3d7704,_0x7f6907[_0x46306b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46306b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ee8dc,_0x7f6907[_0x46306b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46306b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ee8dc,_0x7f6907[_0x46306b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46306b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x302d57(_0x2dcb89){const _0x43ba78=_0x27d35e();_0x7f6907[_0x43ba78]=_0x46306b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2dcb89,_0x2dcb89!=_0x46306b([0x56,0x61,0x6c,0x69,0x64])&&_0x327e6a();}function _0x27d35e(){const _0x11f1ee=window[_0x46306b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46306b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46306b([0x6e,0x6f,0x77])]())[_0x46306b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46306b([0x2e]),'');let _0x44e0ef=_0x46306b([0x45]);for(let _0x2403ba=0x0;_0x2403ba<_0x11f1ee[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2403ba+=0x2){let _0xa323d8=window[_0x46306b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11f1ee[_0x46306b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2403ba,_0x2403ba+0x2));_0xa323d8>=_0x37d43e[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa323d8-=_0x37d43e[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44e0ef+=_0x37d43e[_0xa323d8];}return _0x44e0ef;}function _0xb7db5f(){const _0x44bf03=_0x5e8d1a[_0x46306b([0x73,0x70,0x6c,0x69,0x74])](_0x46306b([0x2e]));if(0x3!=_0x44bf03[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xdd5395(_0x44bf03[0x1]);function _0xdd5395(_0x4161ae){const _0x35643d=_0x1894b6(_0x4161ae);return _0x35643d&&_0x1fa7e1()?_0x35643d:null;function _0x1fa7e1(){const _0x37fda2=_0x35643d[_0x46306b([0x6a,0x74,0x69])],_0x432fde=window[_0x46306b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37fda2[_0x46306b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37fda2[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33d559={..._0x35643d,[_0x46306b([0x6a,0x74,0x69])]:_0x37fda2[_0x46306b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37fda2[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33d559[_0x46306b([0x76,0x63])],_0x4f11b1(_0x33d559)==_0x432fde;}}}async function _0x3021f4(){let _0x1b727f=!0x0;try{const _0x4bf756=_0x5e8d1a[_0x46306b([0x73,0x70,0x6c,0x69,0x74])](_0x46306b([0x2e])),[_0x36f509,_0x327555,_0x35b523]=_0x4bf756;return _0xffc30(_0x36f509),await _0x4e4706(_0x36f509,_0x327555,_0x35b523),_0x1b727f;}catch{return!0x1;}function _0xffc30(_0x1fe52d){const _0x17c4cb=_0x1894b6(_0x1fe52d);_0x17c4cb&&_0x17c4cb[_0x46306b([0x61,0x6c,0x67])]==_0x46306b([0x45,0x53,0x32,0x35,0x36])||(_0x1b727f=!0x1);}async function _0x4e4706(_0x189fb9,_0x1dc13a,_0x4d4b16){const _0x1b176b=window[_0x46306b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46306b([0x66,0x72,0x6f,0x6d])](_0x2b11fa(_0x4d4b16),_0x14a918=>_0x14a918[_0x46306b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c3679=new window[(_0x46306b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46306b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x189fb9+_0x46306b([0x2e])+_0x1dc13a),_0x1b4fd3=window[_0x46306b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46306b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b4fd3)return;const _0x53767d=await _0x1b4fd3[_0x46306b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46306b([0x6a,0x77,0x6b]),_0x320fca,{[_0x46306b([0x6e,0x61,0x6d,0x65])]:_0x46306b([0x45,0x43,0x44,0x53,0x41]),[_0x46306b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46306b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46306b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b4fd3[_0x46306b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46306b([0x6e,0x61,0x6d,0x65])]:_0x46306b([0x45,0x43,0x44,0x53,0x41]),[_0x46306b([0x68,0x61,0x73,0x68])]:{[_0x46306b([0x6e,0x61,0x6d,0x65])]:_0x46306b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53767d,_0x1b176b,_0x1c3679)||(_0x1b727f=!0x1);}}function _0x1894b6(_0x3b15cc){return _0x3b15cc[_0x46306b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46306b([0x65,0x79]))?JSON[_0x46306b([0x70,0x61,0x72,0x73,0x65])](_0x2b11fa(_0x3b15cc)):null;}function _0x2b11fa(_0x31cf00){return window[_0x46306b([0x61,0x74,0x6f,0x62])](_0x31cf00[_0x46306b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46306b([0x2b]))[_0x46306b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46306b([0x2f])));}function _0x4f11b1(_0x4c587f){let _0x592072=0x1505;function _0x502bd0(_0x232df2){for(let _0x2dbd8d=0x0;_0x2dbd8d<_0x232df2[_0x46306b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dbd8d++){const _0x49ecc1=_0x232df2[_0x46306b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2dbd8d);_0x592072=(_0x592072<<0x5)+_0x592072+_0x49ecc1,_0x592072&=_0x592072;}}function _0x192eed(_0x4ea035){Array[_0x46306b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea035)?_0x4ea035[_0x46306b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x192eed):_0x4ea035&&typeof _0x4ea035==_0x46306b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46306b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea035)[_0x46306b([0x73,0x6f,0x72,0x74])]()[_0x46306b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26f115,_0x4ee6df])=>{_0x502bd0(_0x26f115),_0x192eed(_0x4ee6df);}):_0x502bd0(window[_0x46306b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea035));}return _0x192eed(_0x4c587f),_0x592072>>>0x0;}function _0x3d0212(_0x3c5f4d){return _0x3c5f4d[_0x46306b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46306b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46306b([0x30]));}function _0x17bd0a(_0x1899da){return _0x1899da[_0x46306b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46306b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46306b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ee8dc(){}function _0x46306b(_0x523783){return _0x523783['map'](_0x19dc44=>String['fromCharCode'](_0x19dc44))['join']('');}_0x302d57(await _0x5cb401());}(this);}['_announceCaseChangeOperation'](_0x5131e1){const {ui:_0x36c5ba,locale:_0x1e9b1a}=this['editor'],_0x72e02f=Am(_0x1e9b1a)['find'](_0x4e6bfd=>_0x4e6bfd['commandName']===_0x5131e1)['label']['toLowerCase']();_0x36c5ba['ariaLiveAnnouncer']['announce'](Em(_0x1e9b1a,'Changed\x20case\x20to\x20%0',_0x72e02f));}}function Am(_0x7a1f0f){return[{'label':Em(_0x7a1f0f,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':Em(_0x7a1f0f,'lowercase'),'commandName':'changeCaseLower'},{'label':Em(_0x7a1f0f,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class CaseChangeUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x21d41d=this['editor'];this['_registerComponents'](),_0x21d41d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Em(_0x21d41d['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e083d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x21f3d0;for(const _0x39f9b0 in _0x1e083d){const _0x48b7b0=_0x39f9b0,_0x438051=_0x1e083d[_0x48b7b0];if('caseChangeLicenseKeyValid'==_0x438051||'caseChangeLicenseKeyInvalid'==_0x438051||'caseChangeLicenseKeyExpired'==_0x438051||'caseChangeLicenseKeyDomainLimit'==_0x438051||'caseChangeLicenseKeyNotAllowed'==_0x438051||'caseChangeLicenseKeyEvaluationLimit'==_0x438051||'caseChangeLicenseKeyUsageLimit'==_0x438051){delete _0x1e083d[_0x48b7b0],_0x21f3d0=_0x438051,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x21f3d0&&_0x1e083d['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x21f3d0&&_0x1e083d['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x21f3d0&&_0x1e083d['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x21f3d0&&_0x1e083d['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x21f3d0&&_0x1e083d['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x21f3d0&&_0x1e083d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x51c035=this['editor'],{itemDefinitions:_0x5c39f3,commands:_0x15b9e3}=this['_getListItemDefinitionsAndCommands']();_0x51c035['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x5c39f3,_0x15b9e3)),_0x51c035['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x5c39f3,_0x15b9e3));}['_createMenuBarMenuView'](_0x224f84,_0x3ec589){const _0x2ab18d=this['editor'],_0x4f7939=_0x2ab18d['locale'],_0x118784=new rt(_0x4f7939),_0x49817c=new ct(_0x4f7939);_0x49817c['set']({'ariaLabel':Em(_0x4f7939,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x118784['buttonView']),_0x118784['bind']('isEnabled')['toMany'](_0x3ec589,'isEnabled',(..._0x1a69cf)=>_0x1a69cf['some'](_0x5079fb=>_0x5079fb));for(const _0x2f8c67 of _0x224f84){const _0x4c3d51=new lt(_0x4f7939,_0x118784),_0x553976=new ot(_0x4f7939);_0x553976['delegate']('execute')['to'](_0x118784),_0x553976['bind'](...Object['keys'](_0x2f8c67['model']))['to'](_0x2f8c67['model']),_0x553976['on']('execute',()=>{_0x2ab18d['execute'](_0x2f8c67['model']['commandName']),_0x2ab18d['editing']['view']['focus']();}),_0x4c3d51['children']['add'](_0x553976),_0x49817c['items']['add'](_0x4c3d51);}return _0x118784['panelView']['children']['add'](_0x49817c),_0x118784;}['_createDropdownView'](_0x16cc75,_0x49baea){const _0x8bf63e=this['editor'],_0x36c8d3=st(_0x8bf63e['locale']);return this['_setButtonProperties'](_0x36c8d3['buttonView']),_0x36c8d3['buttonView']['set']({'tooltip':!0x0}),_0x36c8d3['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),gt(_0x36c8d3,_0x16cc75,{'ariaLabel':Em(_0x8bf63e['locale'],'Case\x20change'),'role':'menu'}),_0x36c8d3['bind']('isEnabled')['toMany'](_0x49baea,'isEnabled',(..._0x29ed97)=>_0x29ed97['some'](_0x146a94=>_0x146a94)),this['listenTo'](_0x36c8d3,'execute',_0x41e552=>{_0x8bf63e['execute'](_0x41e552['source']['commandName']),_0x8bf63e['editing']['view']['focus']();}),_0x36c8d3;}['_setButtonProperties'](_0x5010e5){const _0x3bb005=this['editor'];_0x5010e5['set']({'label':Em(_0x3bb005['locale'],'Case\x20change'),'icon':_0x3968cb,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0xa45a4b=new _0x4711ed(),_0x202cb0=[];for(const _0x103247 of Am(this['editor']['locale'])){const _0x959e74=this['editor']['commands']['get'](_0x103247['commandName']),_0x3c783e=new pt({'commandName':_0x103247['commandName'],'label':_0x103247['label'],'role':'menuitemradio','withText':!0x0});_0x3c783e['bind']('isEnabled')['to'](_0x959e74,'isEnabled'),_0xa45a4b['add']({'type':'button','model':_0x3c783e}),_0x202cb0['push'](_0x959e74);}return{'itemDefinitions':_0xa45a4b,'commands':_0x202cb0};}}class CaseChange extends _0x13517b{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 */
_0x20f52a(){['model'];['view'];constructor(_0x240d20,_0x9a80de){super(),this['model']=_0x240d20,this['model']['_isAttached']=!0x0,this['view']=_0x9a80de,this['listenTo'](_0x9a80de,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x9a80de,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x9a80de,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x9a80de,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x9a80de,'addComment',(_0x1d1e85,_0x4f77e0)=>this['addComment'](_0x4f77e0)),this['listenTo'](_0x9a80de,'updateComment',(_0x837518,_0x281086,_0x15ce3f)=>this['updateComment'](_0x281086,_0x15ce3f)),this['listenTo'](_0x9a80de,'removeComment',(_0x4ec835,_0x2f4157)=>this['removeComment'](_0x2f4157));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x382426){this['model']['addComment']({'content':_0x382426,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x46821e,_0x12173b){this['model']['getComment'](_0x46821e)['update']({'content':_0x12173b});}['removeComment'](_0x135a36){this['model']['getComment'](_0x135a36)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function Im(_0x4e36aa,_0x1dc7d8,_0x564a14){const t=_0x4e36aa['t'];switch(_0x1dc7d8){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'},_0x564a14);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'},_0x564a14);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'},_0x564a14);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'},_0x564a14);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x564a14);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'},_0x564a14);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'},_0x564a14);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'},_0x564a14);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(_0x42111e,_0x5c5302){super(_0x42111e);const _0x2c1b0f=_0x5c5c0c();this['main']=this['createCollection'](),this['editable']=new Mt(_0x42111e,_0x5c5302,void 0x0,{'label':()=>Im(_0x42111e,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x42111e['uiLanguageDirection'],'lang':_0x42111e['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x2c1b0f},'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(_0x1efb56){super(_0x1efb56),this['view']=new CommentEditorUIView(_0x1efb56['locale'],_0x1efb56['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x4dde0e=this['editor']['editing']['view'],_0x1f1b6f=this['view']['editable'],_0xe28ae5=_0x4dde0e['document']['getRoot']();_0x1f1b6f['name']=_0xe28ae5['rootName'],this['view']['render']();const _0x4a6f17=_0x1f1b6f['element'];this['setEditableElement'](_0x1f1b6f['name'],_0x4a6f17),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4dde0e['attachDomRoot'](_0x4a6f17),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Sm=[_0x470e90,_0x42baeb,_0x34a1a7,_0x1561d9,_0x27fd0a,_0x428d48,_0x27f403];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x20f52a(_0xadff6a){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>Sm)());constructor(_0x582375={}){function _0x55641c(_0x3dbbf7){return _0x3dbbf7['map'](_0x4ccd71=>String['fromCharCode'](_0x4ccd71))['join']('');}(_0x582375=Object['assign']({},_0x582375))['plugins']||(_0x582375['plugins']=CommentEditor['defaultPlugins']),super(_0x582375),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[_0x55641c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55641c([0x76,0x69,0x65,0x77])][_0x55641c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55641c([0x61,0x75,0x74,0x6f]),this[_0x55641c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x55641c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55641c([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x55641c([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x55641c([0x6f,0x6b])});}['create'](){const _0x4af85d=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x4af85d))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x27f72b=>{const _0x4e8929=this['model']['document']['getRoot'](),_0x984399=_0x4e8929&&_0x4e8929['getChild'](_0x4e8929['childCount']-0x1);_0x27f72b['setSelection'](_0x984399,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x588201=this['editing']['view'],_0x3ff4cb=_0x588201['document']['getRoot'](),_0x35ba5b=_0x3ff4cb['getChild'](0x0);_0x3ff4cb['childCount']>0x1||!_0x35ba5b||'p'!=_0x35ba5b['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0xd04637(_0x588201,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x35ba5b['placeholder']=this['placeholder']),_0x25eb42({'view':_0x588201,'element':_0x35ba5b,'keepOnFocus':!0x0}),this['placeholderElement']=_0x35ba5b);}}class CommentInputView extends _0x3989d4{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x40eaa9,_0x49d10a={}){super(_0x40eaa9),this['editor']=null,this['_editorConfig']=_0x49d10a,this['set']('value',_0x49d10a['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',Im(_0x40eaa9,'Reply...')),this['set']('submitLabel',Im(_0x40eaa9,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x5e251c(),this['focusTracker']=new _0x2c5be9(),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',(_0x5cce3a,_0x36f36d)=>{this['cancelButtonView']['fire']('execute'),_0x36f36d();}),this['keystrokes']['set']('Ctrl+Enter',(_0x26c2c9,_0x4d2bef)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x4d2bef());}),this['on']('submit',(_0x35fc90,_0x3acd58)=>{_0x3acd58['length']>0xfde8?(alert(Im(_0x40eaa9,'TOO_LONG_COMMENT_ALERT',[_0x3acd58['length'],0xfde8])),_0x35fc90['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 _0x2cb01b=this['editor'];this['element']['insertBefore'](_0x2cb01b['ui']['element'],this['element']['firstChild']),_0x2cb01b['model']['document']['on']('change',()=>this['value']=_0x2cb01b['getData']()),_0x2cb01b['bind']('placeholder')['to'](this),this['focusables']['add'](_0x2cb01b['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x2f6128){-0x1===_0x2f6128?(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:_0x4c98f4}=this,_0x22101b=new _0x2e803a(_0x4c98f4);return _0x22101b['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x22101b['withText']=!0x0,_0x22101b['bind']('label')['to'](this,'submitLabel'),_0x22101b['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x22101b['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x2c8e87,_0x2d754d)=>!_0x2d754d&&!!_0x2c8e87['trim']()),_0x22101b;}['_createCancelButton'](){const {locale:_0x53dff5}=this,_0x170e32=new _0x2e803a(_0x53dff5);return _0x170e32['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x170e32['label']=Im(_0x53dff5,'Cancel'),_0x170e32['withText']=!0x0,_0x170e32['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x170e32;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x3c0e79=>{this['focusTracker']['add'](_0x3c0e79['element']);}),this['focusables']['on']('change',(_0x3e4e22,_0x3eed3a)=>{for(const _0x1bec44 of Array['from'](_0x3eed3a['added'])['reverse']())this['focusTracker']['add'](_0x1bec44['element']);});}}class CommentThreadInputView extends _0x3989d4{constructor(_0x210d9,_0x4f6406,_0x1ff219){super(_0x210d9),this['commentInputView']=new CommentInputView(_0x210d9,_0x1ff219),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x25a94f,_0x709c94)=>_0x25a94f||!!_0x709c94),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(_0x210d9,_0x4f6406),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'](_0xdcf22f){this['commentInputView']['focus'](_0xdcf22f);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x3bb72e,_0x4c5b46)=>{const {submitButtonView:_0x56ade9,cancelButtonView:_0x3956fa,editor:_0x1ade1c}=this['commentInputView'];[_0x56ade9['element'],_0x3956fa['element'],_0x1ade1c?_0x1ade1c['editing']['view']['getDomRoot']():null]['filter'](_0x1a47c6=>_0x1a47c6)['some'](_0x2722fd=>_0x2722fd['contains'](_0x4c5b46['target']))||(this['focus'](),_0x4c5b46['preventDefault']());});}}class CollapsedCommentsView extends _0x3989d4{constructor(_0x5aa8b5){super(_0x5aa8b5);const _0x55d5fd=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x55d5fd['to']('count',_0x580a70=>Im(_0x5aa8b5,'NUMBER_OF_COMMENTS',_0x580a70))}]});}}class CommentsListView extends _0x3989d4{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x58ec65,_0x4402a6,_0x10bcd0){super(_0x58ec65);const _0x176843=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x4402a6['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x4402a6,this['_config']=_0x10bcd0,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['focusCycler']=new tt({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x453b01=>this['commentViews']['map'](_0x44461b=>_0x44461b['element'])['includes'](_0x453b01['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x58ec65),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x3cac87=>_0x3cac87-this['_config']['maxCommentsWhenCollapsed']);for(const _0x525ed6 of _0x4402a6['comments'])this['_handleNewCommentModel'](_0x525ed6);this['_handleInfoComment'](),this['listenTo'](_0x4402a6['comments'],'add',(_0x22817b,_0x16ff05)=>{const _0x41a598=this['_calculatePosition'](_0x16ff05);this['length']++,this['_handleNewCommentModel'](_0x16ff05,_0x41a598),this['refreshVisibleViews']();}),this['listenTo'](_0x4402a6['comments'],'remove',(_0x3b8be1,_0x46d8f6)=>{this['length']--,this['_handleRemoveCommentModel'](_0x46d8f6),this['refreshVisibleViews']();}),this['listenTo'](_0x4402a6,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x4402a6,'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',_0x176843['if']('length','ck-hidden',_0x45b8ab=>!_0x45b8ab)],'aria-label':Im(_0x58ec65,'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'](_0xcd5b46){-0x1===_0xcd5b46?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0xc1ae8c of this['commentViews'])_0xc1ae8c['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x49ef69,_0x1de087){const _0x535ea6=new this['_config']['CommentView'](this['locale'],_0x49ef69,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x535ea6['viewUid']=_0x49ef69['id'],_0x535ea6['delegate']('removeComment')['to'](this),_0x535ea6['delegate']('updateComment')['to'](this),_0x535ea6['delegate']('resolveCommentThread')['to'](this),_0x535ea6['delegate']('editorReady')['to'](this),_0x535ea6['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x535ea6,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x535ea6,_0x1de087);}['_calculatePosition'](_0xec7537){const _0x159bf9=this['_model']['_findOptimalIndex'](_0xec7537);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0xec7537['authoredAt']?_0x159bf9-0x1:_0x159bf9:_0x159bf9-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x3a8aa9={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':Im(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x3a8aa9,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x3a8aa9));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x2bfcc8){const _0x340c4d=this['commentViews']['remove'](_0x2bfcc8['id']);this['stopListening'](_0x340c4d),_0x340c4d['isEditMode']&&this['_updateHasDirtyComment'](),_0x340c4d['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x39f656=>_0x39f656['isEditMode']);}['_rearrangeCollapse'](){const _0x40b8aa=function(_0x42290b){const _0x2f61ce=new _0x4711ed();for(const _0x5be4b5 of _0x42290b)_0x2f61ce['add'](_0x5be4b5);return _0x2f61ce;}(this['commentViews']),_0x409cf7=this['_collapsedCommentsView']['count'];for(let _0x23ff04=0x1;_0x23ff04<=_0x409cf7;_0x23ff04++)_0x40b8aa['remove'](0x1);for(const _0x1194b3 of _0x40b8aa)_0x1194b3['collapse']();_0x409cf7>0x0&&_0x40b8aa['add'](this['_collapsedCommentsView'],0x1),Cm(_0x367f1c(Array['from'](this['visibleViews']),Array['from'](_0x40b8aa)),this['visibleViews'],_0x40b8aa);}['_rearrangeExpand'](){Cm(_0x367f1c(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x55ebb7 of this['visibleViews'])_0x55ebb7['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x49ad50=>{this['focusTracker']['add'](_0x49ad50['element']),this['keystrokes']['listenTo'](_0x49ad50['element']);}),this['commentViews']['on']('change',(_0x22d5a0,_0x114ba1)=>{for(const _0x1c0896 of _0x114ba1['removed'])this['focusTracker']['remove'](_0x1c0896['element']),this['keystrokes']['stopListening'](_0x1c0896['element']);for(const _0x2a8da2 of Array['from'](_0x114ba1['added'])['reverse']())this['focusTracker']['add'](_0x2a8da2['element']),this['keystrokes']['listenTo'](_0x2a8da2['element']);});}}function Cm(_0x5cb289,_0x2d5b2d,_0x4db910){let _0xd0eff2=0x0;for(const _0xddab44 of _0x5cb289)switch(_0xddab44){case'insert':_0x2d5b2d['add'](_0x4db910['get'](_0xd0eff2),_0xd0eff2),_0xd0eff2++;break;case'delete':_0x2d5b2d['remove'](_0xd0eff2);break;case'equal':_0xd0eff2++;}}class CommentThreadHeaderContextView extends _0x3989d4{constructor(_0x51a321){super(_0x51a321);const _0x5dddaf=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x5dddaf['to']('contextValue',_0x7a4171=>Im(_0x51a321,'THREAD_CONTEXT_LABEL',_0x7a4171)),'tabindex':-0x1},'children':[{'text':_0x5dddaf['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0x3989d4{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x1b9c19,_0x2b1ef9){super(_0x1b9c19);const _0x25e15c=this['bindTemplate'];this['_model']=_0x2b1ef9,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),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',_0x34ff2e=>!!_0x34ff2e),this['bind']('contextValue')['to'](this['_model'],'context',_0x20394c=>_0x20394c&&_0x20394c['value']?this['_trimContextValue'](_0x20394c['value']):Im(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',_0x25e15c['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 _0x28b3d0=new _0x2e803a(this['locale']);return _0x28b3d0['label']=Im(this['locale'],'Reopen'),_0x28b3d0['tooltip']=Im(this['locale'],'Reopen'),_0x28b3d0['icon']=_0x108932,_0x28b3d0['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x4eb88e=>!_0x4eb88e),_0x28b3d0['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4837f8,_0x5d0aed)=>_0x4837f8&&_0x5d0aed),_0x28b3d0['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x28b3d0;}['_trimContextValue'](_0x1f1b12){if(_0x1f1b12['length']<0x96)return _0x1f1b12;const _0x2f08f0=_0x1f1b12['lastIndexOf']('\x20',0x93);return _0x1f1b12['substring'](0x0,_0x2f08f0>-0x1?_0x2f08f0:0x93)+'...';}['_attachContextActions'](){const _0x2e851c=this['element']['querySelector']('.ck-context'),_0x3303c2=_0x2e851c['querySelector']('.ck-context__value');this['listenTo'](_0x2e851c,'mouseenter',()=>{_0x3303c2['offsetWidth']<_0x3303c2['scrollWidth']&&_0x2e851c['classList']['add']('overlay');}),this['listenTo'](_0x2e851c,'mouseleave',()=>{_0x2e851c['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x16ca98 of this['focusables'])this['focusTracker']['add'](_0x16ca98['element']),this['keystrokes']['listenTo'](_0x16ca98['element']);}['_createContextView'](){const _0x47cc2d=new CommentThreadHeaderContextView(this['locale']);return _0x47cc2d['bind']('contextValue')['to'](this),_0x47cc2d;}}class BaseCommentThreadView extends _0x3989d4{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x4c7772,_0x485d27,_0x809846,_0x535b68){super(_0x4c7772),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x485d27,this['_localUser']=_0x809846,this['_config']=_0x535b68,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x4c7772,_0x485d27),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x4c7772,Im(_0x4c7772,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x4c7772,_0x485d27,Object['assign']({'CommentView':this['_config']['CommentView']},_0x535b68)),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',(_0x5a38eb,_0x5006a1)=>_0x5a38eb||!!_0x5006a1),this['bind']('isUnlinked')['to'](_0x485d27,'unlinkedAt',_0x1594aa=>!!_0x1594aa),this['bind']('ariaLabel')['to'](this,'length',_0x23e467=>{const _0x2f4727=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return Im(this['locale'],'COMMENT_THREAD_LABEL',[_0x23e467,_0x2f4727]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x346d5c=>_0x346d5c['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 _0x226d5a=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0xd62a65=_0x226d5a['commentInputView'];return _0x226d5a['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0xd62a65,'value',(_0x892eba,_0x2a6829,_0xcb2728,_0x39c85d,_0x1ed83d)=>!!_0x1ed83d||!!_0x39c85d&&_0xcb2728&&!_0x2a6829||_0x892eba&&_0xcb2728&&!_0x2a6829),_0xd62a65['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x5a1e0e,_0x1ee6c0,_0x4237a7)=>{let _0x1188a9;return _0x1188a9=_0x4237a7&&_0x1ee6c0?'Reply\x20to\x20reopen\x20discussion...':_0x5a1e0e?'Reply...':'Write\x20a\x20comment...',Im(this['locale'],_0x1188a9);}),_0xd62a65['bind']('submitLabel')['to'](this,'length',_0x1ca9d7=>Im(this['locale'],_0x1ca9d7?'Reply':'Comment')),_0xd62a65['on']('submit',(_0x5594b0,_0x118484)=>{this['fire']('addComment',_0x118484),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0xd62a65['on']('cancel',()=>{this['focus']();}),_0xd62a65['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0xd62a65['on']('cancel',_0x5d20fe=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x5d20fe['stop']());}),this['on']('change:isActive',(_0x5ecf2c,_0x4df65d,_0x30aa66)=>{_0x30aa66||this['length']||_0xd62a65['value']||this['fire']('removeCommentThread');}),_0x226d5a;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
Ku(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x5a9898,_0x29f60d,_0x5a6a89,_0x3ba74f){super(_0x5a9898,_0x29f60d,_0x5a6a89,_0x3ba74f),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x5a9898,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x2b6dec,_0x34e74b,_0x1b8db7)=>{_0x1b8db7||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x18a984,_0x2ce247,_0x23ad99)=>{_0x23ad99&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x2fd28c=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x2fd28c['if']('isActive','ck-thread--active'),_0x2fd28c['if']('isUnlinked','ck-thread--unlinked'),_0x2fd28c['to']('actionIndicator',_0x1569ef=>_0x1569ef?'ck-thread--'+_0x1569ef:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x2fd28c['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 _0x426fbf of this['commentsListView']['commentViews'])_0x426fbf['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x909acf}=this,_0x5e6388=this['commentsListView']['commentViews']['get'](0x0);_0x5e6388===this['_boundFirstCommentView']||_0x5e6388['isSystemComment']||(this['_boundFirstCommentView']=_0x5e6388,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x5e6388,'actionIndicator',_0x475441=>'remove'===_0x475441?'remove':null),_0x5e6388['placeholder']=Im(_0x909acf,'Write\x20a\x20comment...'),_0x5e6388['removeButton']['on']('execute',_0x5881cd=>{_0x5881cd['stop'](),this['showConfirm'](Im(_0x909acf,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x5e6388['focus']();}),_0x5e6388['actionBar']['add'](this['resolveButton'],0x0),_0x5e6388['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x186b22=new LateFocusButtonView(this['locale']);return _0x186b22['label']=Im(this['locale'],'Resolve'),_0x186b22['tooltip']=Im(this['locale'],'Resolve'),_0x186b22['icon']=_0x5071d2,_0x186b22['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x186b22['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x22e983=>!_0x22e983),_0x186b22['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x2333fc,_0x3c43f5)=>_0x2333fc&&!_0x3c43f5),_0x186b22['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x186b22;}['_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 _0x3989d4{constructor(_0x35003f){super(_0x35003f),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x3a4b03,_0x255f94,_0x4dce1c)=>{this['element']['innerHTML']=_0x4dce1c;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0x3989d4{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x3baebe,_0x4af8d0,_0x33b040){super(_0x3baebe),this['_model']=_0x4af8d0,this['_config']=_0x33b040,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x4af8d0,'content',_0x4af8d0,'authoredAt',(_0x2692f5,_0x1d6106)=>Im(_0x3baebe,'COMMENT_ARIA_LABEL',[_0x4af8d0['author']['name'],_0x33b040['formatDateTime'](_0x1d6106),new DOMParser()['parseFromString'](_0x2692f5,'text/html')['body']['textContent'],_0x4af8d0['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x3baebe,Im(_0x3baebe,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new vt(),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x31202e=>_0x31202e['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']?Im(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):Im(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?Im(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):Im(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x167ad5=new CommentContentView(this['locale']);return _0x167ad5['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x6932b2,_0x570a1a)=>_0x570a1a?zu(_0x6932b2,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x6932b2),_0x167ad5;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x323421=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x323421['value']=this['_model']['content'],_0x323421['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x323421['submitLabel']=Im(this['locale'],'Save'),_0x323421['on']('submit',(_0x35e281,_0x6c2f9)=>{this['fire']('updateComment',this['_model']['id'],_0x6c2f9),this['switchToDisplayMode'](),this['focus']();}),_0x323421['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x323421['once']('editorReady',()=>{_0x323421['focus']();}),_0x323421['createEditor'](),_0x323421['delegate']('editorReady')['to'](this),_0x323421['delegate']('editorDestroyed')['to'](this),_0x323421;}['_setupKeyboardNavigation'](){const _0x5b61be=this['element'];this['keystrokes']['listenTo'](_0x5b61be);for(const _0x30e6aa of this['focusables'])this['focusTracker']['add'](_0x30e6aa['element']),this['keystrokes']['listenTo'](_0x30e6aa['element']);this['focusables']['on']('change',(_0x3d6738,_0x13ed5f)=>{for(const _0x5f15d4 of _0x13ed5f['removed'])this['focusTracker']['remove'](_0x5f15d4['element']),this['keystrokes']['stopListening'](_0x5f15d4['element']);for(const _0x8470c7 of _0x13ed5f['added'])this['focusTracker']['add'](_0x8470c7['element']),this['keystrokes']['listenTo'](_0x8470c7['element']);}),this['keystrokes']['set']('enter',(_0x47c943,_0x222009)=>{_0x5b61be===_0x47c943['target']&&(this['focusCycler']['focusFirst'](),_0x222009());}),this['keystrokes']['set']('esc',(_0x40d855,_0x394e88)=>{_0x5b61be!==_0x40d855['target']&&(this['focus'](),_0x394e88());});}}class CommentView extends/* #__PURE__ -- @preserve */
Ku(BaseCommentView){['actionBar'];['userView'];constructor(_0x509390,_0x5c0540,_0xc8330a){super(_0x509390,_0x5c0540,_0xc8330a),this['set']('actionIndicator',null),this['set']('placeholder',Im(_0x509390,'Reply...')),this['bind']('authoredAt')['to'](_0x5c0540),this['bind']('resolvedAt')['to'](_0x5c0540),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(_0x509390,_0x5c0540['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x5c0540,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x1d0728=this['bindTemplate'],_0x402d4d=[{'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':_0x1d0728['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x1d0728['to']('authoredAt',_0x3bbf49=>this['_config']['formatDateTime'](_0x3bbf49))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x1d0728['if']('isEditMode','ck-comment__actions--hidden'),_0x1d0728['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']&&_0x402d4d['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x1d0728['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x1d0728['if']('isEditMode','ck-comment--edit'),_0x1d0728['if']('isSystemComment','ck-comment--info'),_0x1d0728['to']('actionIndicator',_0x47b654=>_0x47b654?'ck-comment--'+_0x47b654:'')],'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':_0x402d4d}]}]};}['_createEditButton'](){const _0x75f654=new _0x2e803a(this['locale']);return _0x75f654['label']=Im(this['locale'],'Edit'),_0x75f654['icon']=_0xdfd020,_0x75f654['withText']=!0x0,_0x75f654['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x75f654['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x86934a=>!_0x86934a),_0x75f654['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x75f654['on']('execute',()=>this['switchToEditMode']()),_0x75f654;}['_createRemoveButton'](){const _0x3b0755=new _0x2e803a(this['locale']);return _0x3b0755['label']=Im(this['locale'],'Remove'),_0x3b0755['icon']=_0x809ae0,_0x3b0755['withText']=!0x0,_0x3b0755['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x3b0755['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2f02b6=>!_0x2f02b6),_0x3b0755['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x3b0755['on']('execute',()=>{this['showConfirm'](Im(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x3b0755;}['_createDropdown'](){const _0x5a03e8=st(this['locale'],LateFocusDropdownButtonView),_0x59eda8=_0x5a03e8['panelView']['children'],_0x1e7151=new _0x3523c8(this['locale']),_0x503519=_0x5a03e8['bindTemplate'];Lt(_0x5a03e8,()=>this['items']['find'](_0x398fea=>_0x398fea['isVisible'])),_0x5a03e8['extendTemplate']({'attributes':{'class':[_0x503519['if']('isVisible','ck-hidden',_0x24d9d5=>!_0x24d9d5)]}});const _0x63bbb7=(_0x5a9e18,_0x1791d8=-0x1)=>{const _0x4248e0=new _0x5d952b(this['locale']);_0x4248e0['children']['add'](_0x5a9e18);const _0x345172=_0x1791d8>-0x1?_0x1791d8:_0x1e7151['items']['length'];_0x1e7151['items']['add'](_0x4248e0,_0x345172);const _0xcb9987=Array['from'](this['items']);_0x5a03e8['unbind']('isEnabled','isVisible'),_0x5a03e8['bind']('isEnabled')['toMany'](_0xcb9987,'isEnabled',(..._0x2143e9)=>_0x2143e9['some'](_0x119152=>_0x119152)),_0x5a03e8['bind']('isVisible')['toMany'](_0xcb9987,'isVisible',(..._0x2331ae)=>_0x2331ae['some'](_0x15ff53=>_0x15ff53));};_0x5a03e8['panelPosition']='sw',_0x5a03e8['buttonView']['set']({'label':Im(this['locale'],'Show\x20more\x20items'),'icon':_0x4d4368});for(const _0x22e415 of this['items'])_0x63bbb7(_0x22e415);return _0x59eda8['add'](_0x1e7151),_0x5a03e8['listenTo'](this['items'],'add',(_0x1d0c8d,_0x2a501a,_0x17c71f)=>{_0x63bbb7(_0x2a501a,_0x17c71f);}),_0x5a03e8['listenTo'](this['items'],'remove',(_0x1335e4,_0x4533a5,_0x7ac80)=>{_0x1e7151['items']['remove'](_0x7ac80);}),_0x5a03e8;}['_attachActions'](_0x4015b2,_0x4eed68){const _0x40d5e0=_0x4015b2&&_0x4015b2['element'];_0x40d5e0&&(this['listenTo'](_0x40d5e0,'mouseenter',()=>this['actionIndicator']=_0x4eed68),this['listenTo'](_0x40d5e0,'focus',()=>this['actionIndicator']=_0x4eed68),this['listenTo'](_0x40d5e0,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x40d5e0,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x1df4a4=super['_createCommentInputView']();return _0x1df4a4['bind']('placeholder')['to'](this),_0x1df4a4;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function km(_0x320bea){const _0x2dc35f=Ur(_0x320bea,0x1e),_0x124bec=new MutationObserver(_0x23c34a=>{for(const _0x38e619 of _0x23c34a)('attributes'==_0x38e619['type']&&'class'==_0x38e619['attributeName']||'childList'==_0x38e619['type']||'characterData'==_0x38e619['type'])&&_0x2dc35f();});return{'attach'(_0x48d9a5){_0x124bec['observe'](_0x48d9a5,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x124bec['disconnect'](),_0x2dc35f['cancel']();}};}class AnnotationView extends _0x3989d4{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x48381c,_0x384237){super(_0x48381c),this['id']=_0x5c5c0c(),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['keystrokes']['set']('Esc',(_0x4d96f8,_0x192ca5)=>this['fire']('Esc',_0x192ca5)),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'](_0x384237),this['mainView']=_0x384237;const _0x5345e4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x5345e4['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 _0x253367=this['element']['clientHeight'];_0x253367&&(this['height']=_0x253367);}}let xm=class Annotation extends/* #__PURE__ -- @preserve */
_0x20f52a(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x24f33e,target:_0x15e7bf,type:_0x519cfc,isVisible:_0x1e0739=!0x0}){super(),this['view']=_0x24f33e,this['view']['element']||this['view']['render'](),this['_type']=_0x519cfc,this['_target']=_0x15e7bf,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x4711ed([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x126ca4,_0xd193ce)=>{this['view']['focusTracker']['add'](_0xd193ce);}),this['focusableElements']['on']('remove',(_0x15876c,_0x465bb5)=>{this['view']['focusTracker']['remove'](_0x465bb5);}),this['set']('isVisible',_0x1e0739);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x25c995=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x25c995),_0x25c995;}get['targetRect'](){const _0x5a0435=this['target'];if(null===_0x5a0435)return null;if(_0x5a0435 instanceof _0x1faa00)return _0x5a0435;const _0x20ec10=_0x5a0435['filter'](_0x535fac=>function(_0x13c865){const _0x105e20=_0x13c865['offsetParent'];if(_0x105e20)return!0x0;const _0x267053=_0x13c865['getClientRects']()['item'](0x0);return!!_0x267053;}(_0x535fac));return 0x0===_0x20ec10['length']?null:new _0x1faa00(_0x20ec10[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x220cc3){this['view']['isActive']=_0x220cc3,this['view']['mainView']['isActive']=_0x220cc3;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x46a474){if(!(null===_0x46a474||_0x46a474 instanceof _0x1faa00||Array['isArray'](_0x46a474)&&_0x46a474['every'](_0x3c40a5=>Rm(_0x3c40a5))))throw new _0x37fbfa('annotation-invalid-target',null,{'target':_0x46a474});}['_getNormalizedTarget'](){const _0x47b2f8='function'==typeof this['_target']?this['_target']():this['_target'];return Rm(_0x47b2f8)?[_0x47b2f8]:_0x47b2f8;}};function Rm(_0x18e4ec){return null!==_0x18e4ec&&'object'==typeof _0x18e4ec&&'nodeType'in _0x18e4ec&&0x1===_0x18e4ec['nodeType'];}class AnnotationCollection extends _0x4711ed{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x3a07e0=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x2c5be9(),this['_focusTracker']['on']('change:isFocused',(_0x35a67a,_0x3e5e2c,_0x33925f)=>{_0x33925f||this['fire']('blur');});for(const _0x31b320 of _0x3a07e0)this['add'](_0x31b320);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x3fd28c){if(this['has'](_0x3fd28c))throw new _0x37fbfa('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x3fd28c['innerView'],_0x3fd28c),this['_viewToAnnotation']['set'](_0x3fd28c['view'],_0x3fd28c);for(const _0x41763d of _0x3fd28c['focusableElements'])this['_focusTracker']['add'](_0x41763d);this['listenTo'](_0x3fd28c['focusableElements'],'add',(_0x19ffac,_0x2d2989)=>{this['_focusTracker']['add'](_0x2d2989);}),this['listenTo'](_0x3fd28c['focusableElements'],'remove',(_0x1367e5,_0xed9bce)=>{this['_focusTracker']['remove'](_0xed9bce);}),this['listenTo'](_0x3fd28c['view']['focusTracker'],'change:isFocused',(_0x394a97,_0x5aed40,_0x25f385)=>{_0x25f385&&this['fire']('focus',_0x3fd28c);}),_0x3fd28c['updateTargetRect']();const _0x14d3ee=this['_getOrderInContent'](_0x3fd28c['view']['targetRect']);return super['add'](_0x3fd28c,_0x14d3ee);}['remove'](_0x609afe){if(!this['has'](_0x609afe))throw new _0x37fbfa('annotationcollection-not-existing-item',null);this['stopListening'](_0x609afe['view']['focusTracker']),this['stopListening'](_0x609afe['focusableElements']);for(const _0x5450b4 of _0x609afe['focusableElements'])this['_focusTracker']['remove'](_0x5450b4);return this['_viewToAnnotation']['delete'](_0x609afe['view']),this['_innerViewToAnnotation']['delete'](_0x609afe['innerView']),super['remove'](_0x609afe);}['getByInnerView'](_0x63d45){return this['_innerViewToAnnotation']['get'](_0x63d45);}['getByView'](_0x498a16){return this['_viewToAnnotation']['get'](_0x498a16);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x5a8455 of this)_0x5a8455['updateTargetRect']();this['_sort']();}['_sort'](){const _0x31f1c2=Array['from'](this)['sort']((_0x364c65,_0x476c80)=>Mm(_0x364c65['view']['targetRect'],_0x476c80['view']['targetRect']));for(let _0x48f8f1=_0x31f1c2['length']-0x1;_0x48f8f1>0x0;_0x48f8f1--){const _0x1c20dc=_0x31f1c2[_0x48f8f1];_0x48f8f1!==this['getIndex'](_0x1c20dc)&&(this['remove'](_0x1c20dc),this['add'](_0x1c20dc));}}['_getOrderInContent'](_0x5e9de6){let _0x4320c7=0x0;if(!_0x5e9de6)return this['length'];for(const _0x5028cc of this){const _0x16b0ed=_0x5028cc['view']['targetRect'];if(_0x16b0ed){if(Mm(_0x5e9de6,_0x16b0ed)<0x0)return _0x4320c7;_0x4320c7++;}}return _0x4320c7;}}function Pm({source:_0x563296,target:_0xdf318b,filter:_0x54bb27}){for(const _0x528f3b of _0x563296)_0x54bb27(_0x528f3b)&&_0xdf318b['add'](_0x528f3b);_0xdf318b['listenTo'](_0x563296,'add',(_0x334250,_0x550ab1)=>{_0x54bb27(_0x550ab1)&&_0xdf318b['add'](_0x550ab1);}),_0xdf318b['listenTo'](_0x563296,'remove',(_0x2a467d,_0x40a436)=>{_0xdf318b['has'](_0x40a436)&&_0xdf318b['remove'](_0x40a436);});}function Mm(_0x5e1095,_0x267603){if(null===_0x5e1095&&null===_0x267603)return 0x0;if(null===_0x5e1095)return-0x1;if(null===_0x267603)return 0x1;const _0x212ef4=_0x5e1095['top']-_0x267603['top'];return 0x0==_0x212ef4?_0x5e1095['left']-_0x267603['left']:_0x212ef4;}class Annotations extends _0x13e428{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x13f9c2){if(super(_0x13f9c2),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x13f9c2 instanceof _0xadff6a){const _0x39d603=_0x13f9c2['locale'];_0x13f9c2['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':Im(_0x39d603,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x81c9be){this['collection']['add'](_0x81c9be);}['remove'](_0x1a13eb){this['collection']['remove'](_0x1a13eb),_0x1a13eb['destroy']();}['refreshVisibility'](){for(const _0x28997c of this['collection'])_0x28997c['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x17aff0){return this['collection']['getByInnerView'](_0x17aff0);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x44c62e of this['collection'])_0x44c62e['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x48b096){this['fire']('_activateAnnotation',_0x48b096);}['createAnnotation'](_0xf3d40a){return new xm(_0xf3d40a);}['createAnnotationView'](_0x4d00fb,_0x3eade8){return new AnnotationView(_0x4d00fb,_0x3eade8);}['_addActiveAnnotation'](_0x1d282e){const _0x21befa=new Set(this['activeAnnotations']);_0x21befa['add'](_0x1d282e),this['activeAnnotations']=_0x21befa;}['_removeActiveAnnotation'](_0x2346c4){const _0x346cee=new Set(this['activeAnnotations']);_0x346cee['delete'](_0x2346c4),this['activeAnnotations']=_0x346cee;}['_bindAnnotationsToVisibleAnnotations'](){const _0x2121f=this['collection'],_0x568fdf=this['_visibleAnnotations'];function _0x236af1(_0x1bf6e5){const _0x5b319b=_0x1bf6e5['source'];_0x5b319b['isVisible']&&!_0x568fdf['has'](_0x5b319b)?_0x568fdf['add'](_0x5b319b):!_0x5b319b['isVisible']&&_0x568fdf['has'](_0x5b319b)&&_0x568fdf['remove'](_0x5b319b),_0x5b319b['view']['focusTracker']['remove'](_0x5b319b['view']['element']),_0x5b319b['view']['focusTracker']['add'](_0x5b319b['view']['element']);}this['listenTo'](_0x2121f,'add',(_0x28a889,_0xe99167)=>{_0xe99167['isVisible']&&_0x568fdf['add'](_0xe99167),this['listenTo'](_0xe99167,'change:isVisible',_0x236af1);}),this['listenTo'](_0x2121f,'remove',(_0x118f2a,_0x18ee9d)=>{_0x568fdf['has'](_0x18ee9d)&&_0x568fdf['remove'](_0x18ee9d),this['stopListening'](_0x18ee9d,'change:isVisible',_0x236af1);});}['_setupEnterAnnotationKeystroke'](){const _0x8914fd=_0x28a89f=>{_0x28a89f['on']('ready',()=>{_0x28a89f['keystrokes']['set'](hd,(_0x403121,_0x2ae9c5)=>{const _0x34976d=_0x556601(this['activeAnnotations']['values']());_0x34976d&&(_0x34976d['view']['focus'](),_0x2ae9c5());});});};this['context']instanceof _0xadff6a?_0x8914fd(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x4b5a75,_0x3eb981)=>{_0x8914fd(_0x3eb981);});}['_setupEscapeAnnotationHandling'](){const _0x539b42=_0xec6902=>{const _0x246d7f=_0xec6902['source'],_0x41dd7e=[];let _0x48bda4;if(Array['isArray'](_0x246d7f['target'])){_0x48bda4=_0x246d7f['target'][0x0],this['context']instanceof _0xadff6a?_0x41dd7e['push'](this['context']):this['context']['editors']&&_0x41dd7e['push'](...this['context']['editors']);for(const _0x21b7dd of _0x41dd7e)for(const _0x3a1066 of _0x21b7dd['editing']['view']['domRoots']['values']())if(_0x3a1066['contains'](_0x48bda4))return void _0x21b7dd['editing']['view']['focus']();_0x48bda4['focus']();}};this['listenTo'](this['collection'],'add',(_0x35bece,_0x361828)=>{this['listenTo'](_0x361828,'escape',_0x539b42,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x5e37b8,_0x549964)=>{this['stopListening'](_0x549964,'escape',_0x539b42);});}}const Nm=Symbol('noChannel'),Lm={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x13e428{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0x204cf0,Users];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35311a){super(_0x35311a),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x54b41b=this['context']['config'];_0x54b41b['define']('comments.maxCommentsWhenCollapsed',0x2),_0x54b41b['define']('comments.maxThreadTotalWeight',0x1f4),_0x54b41b['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x54b41b['define']('comments.CommentThreadView',CommentThreadView),_0x54b41b['define']('comments.CommentView',CommentView),_0x54b41b['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x110fdb=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x492621,_0x3c4964)=>this['_addCommentThread'](_0x3c4964)),this['on']('submitCommentThread',(_0x1c1d05,_0x572ad6)=>this['_submitCommentThread'](_0x572ad6)),this['on']('resolveCommentThread',(_0x3c4641,_0x53a1d2)=>this['_resolveCommentThread'](_0x53a1d2)),this['on']('resolveCommentThread',(_0x3d6760,_0x4cefbb)=>this['_updateActiveAnnotation'](_0x4cefbb),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x304dfa,_0x25c54c)=>this['_reopenCommentThread'](_0x25c54c)),this['on']('reopenCommentThread',(_0x4fdfd5,_0xa3adfc)=>this['_updateActiveAnnotation'](_0xa3adfc),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x59daf0,_0x34111e)=>this['_removeCommentThread'](_0x34111e)),this['on']('updateCommentThread',(_0x48b882,_0x30b06b)=>this['_updateCommentThread'](_0x30b06b)),this['on']('updateCommentThread',(_0x46ddfd,_0x2d5583)=>this['_updateActiveAnnotation'](_0x2d5583),{'priority':'lowest'}),this['on']('addComment',(_0x4cdd59,_0x2808de)=>this['_addComment'](_0x2808de)),this['on']('updateComment',(_0x5a33aa,_0x53ab62)=>this['_updateComment'](_0x53ab62)),this['on']('removeComment',(_0x5048ad,_0x2747c1)=>this['_removeComment'](_0x2747c1)),this['on']('addComment',(_0x1bbeb0,{threadId:_0x4c445c,isFromAdapter:_0x5a586d})=>{if(_0x5a586d)return;const _0x2d1270=this['getCommentThread'](_0x4c445c),_0x506ec6=_0x2d1270&&this['_threadToController']['get'](_0x2d1270);_0x506ec6&&_0x506ec6['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x110fdb,'change:activeAnnotations',(_0x4f6dbe,_0x58a4e0,_0x154c45)=>{const _0x1b07ca=Array['from'](_0x154c45)['map'](_0x341ed4=>this['_viewToController']['get'](_0x341ed4['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x1b07ca?_0x1b07ca['model']:null;});}set['adapter'](_0x486b99){if(this['_adapter'])throw new _0x37fbfa('commentsrepository-adapter-already-set');this['_adapter']=_0x486b99;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x51a249=Nm,threadId:_0x3b8489=_0x5c5c0c(),comments:_0x1ae110=[],unlinkedAt:_0x3f3aa7=null,resolvedAt:_0x2729a5=null,resolvedBy:_0x2a51ef=null,target:_0x1e9005=null,context:_0x140ee2=null,attributes:_0x210305={},isResolvable:_0x55df6b=!0x0,isSubmitted:_0x2c020b=!0x1,isFromAdapter:_0x46a454=!0x1}={}){return this['fire'](Dm('addCommentThread',_0x51a249),{'channelId':_0x51a249,'threadId':_0x3b8489,'comments':_0x1ae110,'unlinkedAt':_0x3f3aa7,'resolvedAt':_0x2729a5,'resolvedBy':_0x2a51ef,'target':_0x1e9005,'context':_0x140ee2,'attributes':_0x210305,'isFromAdapter':_0x46a454,'isResolvable':_0x55df6b,'isSubmitted':_0x2c020b}),this['getCommentThread'](_0x3b8489);}['openNewCommentThread']({channelId:_0x4de057=Nm,threadId:_0x22f7d1=_0x5c5c0c(),target:_0x16672a,context:_0x1d80de=null,isResolvable:_0x41d3ad=!0x0}){if(this['_readOnlyChannels']['has'](_0x4de057)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x16672a)throw new _0x37fbfa('commentsrepository-missing-target');const _0x53c501=this['addCommentThread']({'channelId':_0x4de057,'threadId':_0x22f7d1,'target':_0x16672a,'context':_0x1d80de,'isResolvable':_0x41d3ad});if(!_0x53c501)return null;const _0x43bb53=this['_threadToController']['get'](_0x53c501),_0x528c09=_0x43bb53['view']['commentThreadInputView']['commentInputView'],_0x3dd1c7=this['context']['plugins']['get'](Annotations),_0x438aaa=_0x3dd1c7['getByInnerView'](_0x43bb53['view']);return _0x3dd1c7['activate'](_0x438aaa),_0x528c09['once']('editorReady',()=>_0x528c09['focus']()),_0x53c501;}['hasCommentThread'](_0x49354e){if('string'!=typeof _0x49354e)throw new _0x37fbfa('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x49354e);}['updateCommentThread']({channelId:_0x21676d=Nm,threadId:_0x5480b6,context:_0x2f4fd9,unlinkedAt:_0x868f95,attributes:_0xc9f7d7,isFromAdapter:_0xf590fc=!0x1}){return this['fire'](Dm('updateCommentThread',_0x21676d),{'channelId':_0x21676d,'threadId':_0x5480b6,'context':_0x2f4fd9,'unlinkedAt':_0x868f95,'attributes':_0xc9f7d7,'isFromAdapter':_0xf590fc}),this['getCommentThread'](_0x5480b6);}['getCommentThread'](_0x84ba17){if('string'!=typeof _0x84ba17)throw new _0x37fbfa('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x84ba17);}['fetchCommentThread']({channelId:_0x1431e4,threadId:_0x5c4bcc}={}){const _0xd30b71=this['getCommentThread'](_0x5c4bcc);if(_0xd30b71)return Promise['resolve'](_0xd30b71);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x37fbfa('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x1431e4,'threadId':_0x5c4bcc})['then'](_0x343db3=>this['hasCommentThread'](_0x5c4bcc)?this['getCommentThread'](_0x5c4bcc):_0x343db3?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x1431e4},_0x343db3)):void 0x0)['catch'](_0x5b2cc0=>{throw console['error'](_0x5b2cc0),new _0x37fbfa('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x4ad728,skipNotAttached:_0x368049=!0x1,skipEmpty:_0x28ffd3=!0x1,toJSON:_0x2e5268=!0x1}={}){const _0x2c8baa=[];for(const _0x3d69e4 of this['_threads']['values']())_0x4ad728&&_0x3d69e4['channelId']!==_0x4ad728||_0x368049&&!_0x3d69e4['isAttached']||_0x28ffd3&&0x0===_0x3d69e4['length']||_0x2c8baa['push'](_0x3d69e4);return _0x2e5268?_0x2c8baa['map'](_0x478f7b=>_0x478f7b['toJSON']()):_0x2c8baa;}['getAnnotationForCommentThread'](_0x1c3a23){const _0x3f37ad=this['_threadToController']['get'](_0x1c3a23);if(!_0x3f37ad)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x3f37ad['view'])||null;}['getCommentThreadForAnnotation'](_0x264e9c){const _0x11d818=this['_viewToController']['get'](_0x264e9c['innerView']);return _0x11d818?_0x11d818['model']:null;}['setActiveCommentThread'](_0x3b61dc){const _0x36411a=this['context']['plugins']['get'](Annotations);if(!_0x3b61dc)return void(this['activeCommentThread']&&_0x36411a['deactivateAll']());const _0x1b7949=this['getCommentThread'](_0x3b61dc);if(!_0x1b7949)throw new _0x37fbfa('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x3b61dc});if(!this['_threadToController']['has'](_0x1b7949))throw new _0x37fbfa('commentsrepository-active-not-attached',null,{'threadId':_0x3b61dc});const _0x46df23=_0x36411a['getByInnerView'](this['_threadToController']['get'](_0x1b7949)['view']);_0x36411a['activate'](_0x46df23);}['switchReadOnly'](_0x3d7445,_0xfb2dd5){_0x3d7445?this['_readOnlyChannels']['add'](_0xfb2dd5):this['_readOnlyChannels']['delete'](_0xfb2dd5),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x5ca937){return this['_readOnlyChannels']['has'](_0x5ca937)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x557584,_0x5da72d){return new CommentThreadController(_0x557584,_0x5da72d);}['setPermissions'](_0x551c62,_0x15830b=Nm){this['_permissions']['set'](_0x15830b,_0x551c62),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x435790=Nm){return this['_permissions']['has'](_0x435790)?this['_permissions']['get'](_0x435790):Lm;}['_addCommentThread']({channelId:_0x9f8653,threadId:_0x47f3ac,comments:_0x1b42a3,unlinkedAt:_0x4aa64c,resolvedAt:_0x5b9ee2,resolvedBy:_0x3b93dd,target:_0x15dc3b,context:_0x5b66ab,attributes:_0x4aa934,isFromAdapter:_0x1592ed,isResolvable:_0x3d4b49,isSubmitted:_0x274752}){if('string'!=typeof _0x47f3ac)throw new _0x37fbfa('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x47f3ac});if(this['hasCommentThread'](_0x47f3ac))throw new _0x37fbfa('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x47f3ac});const _0x2e295c=new CommentThread(this,{'channelId':_0x9f8653,'id':_0x47f3ac,'context':_0x5b66ab,'attributes':_0x4aa934,'unlinkedAt':_0x4aa64c,'resolvedAt':_0x5b9ee2,'resolvedBy':_0x3b93dd?this['context']['plugins']['get'](Users)['getUser'](_0x3b93dd):null,'isResolvable':_0x3d4b49,'isSubmitted':_0x274752||_0x1592ed});this['_threads']['set'](_0x47f3ac,_0x2e295c);for(const _0x1674a2 of _0x1b42a3)_0x2e295c['_add'](this['_createNewComment']({'threadId':_0x47f3ac,..._0x1674a2}));return _0x15dc3b&&_0x2e295c['attachTo'](_0x15dc3b),_0x1592ed||!_0x2e295c['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x9f8653,'threadId':_0x47f3ac});}['_submitCommentThread']({channelId:_0x3e3f45,threadId:_0x2014f5}){if(!this['hasCommentThread'](_0x2014f5))throw new _0x37fbfa('commentsrepository-missing-comment-thread',this);const _0x4ccdb5=this['getCommentThread'](_0x2014f5);if(_0x4ccdb5['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x38fe98,comments:_0x7b9981,resolvedAt:_0x49f177,resolvedBy:_0x1af348,context:_0x3b43d4,attributes:_0x56d0da}=_0x4ccdb5,_0x327d43=this['context']['plugins']['get']('PendingActions'),_0x2f451d=_0x327d43['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x3e3f45,'threadId':_0x38fe98,'comments':_0x7b9981['map'](_0x1f04dd=>_0x1f04dd['toJSON']()),'resolvedAt':_0x49f177,'resolvedBy':_0x1af348?_0x1af348['id']:_0x1af348,'context':_0x3b43d4,'attributes':_0x56d0da})['then'](({comments:_0x2730d1})=>{_0x327d43['remove'](_0x2f451d);for(const _0xf0747b of _0x2730d1)this['_updateComment']({'channelId':_0x3e3f45,'threadId':_0x2014f5,'commentId':_0xf0747b['commentId'],'createdAt':_0xf0747b['createdAt'],'isFromAdapter':!0x0});})['catch'](_0xe95e24=>{throw console['error'](_0xe95e24),new _0x37fbfa('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x32cdbb,target:_0x40f7ab}){const _0x5df0af=this['getCommentThread'](_0x32cdbb);if(!_0x5df0af)throw new _0x37fbfa('commentsrepository-attach-missing-comment-thread',this);const _0x13dbfa=this['context']['plugins']['get']('PendingActions'),_0x303941=this['context']['plugins']['get'](Annotations),_0x4a8570=this['_createCommentThreadView'](_0x5df0af),_0x3d3f1f=new CommentThreadController(_0x5df0af,_0x4a8570);let _0x24e34a=null;_0x4a8570['on']('change:isDirty',(_0x4e19c3,_0x5896bc,_0x396535)=>{_0x396535?_0x24e34a=_0x13dbfa['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x24e34a&&(_0x13dbfa['remove'](_0x24e34a),_0x24e34a=null);}),this['_threadToController']['set'](_0x5df0af,_0x3d3f1f),this['_viewToController']['set'](_0x4a8570,_0x3d3f1f);const _0x397c10=new AnnotationView(this['context']['locale'],_0x4a8570);_0x397c10['bind']('length')['to'](_0x4a8570),_0x397c10['bind']('isDirty')['to'](_0x4a8570,'isDirty',_0x4a8570,'length',(_0x97f827,_0x6fec71)=>_0x97f827||!_0x6fec71),_0x397c10['bind']('isActive')['to'](_0x4a8570),_0x397c10['type']='comment';const _0x24be7b=new xm({'view':_0x397c10,'target':_0x40f7ab,'type':'comment','isVisible':!_0x5df0af['archivedAt']&&!!('function'==typeof _0x40f7ab?_0x40f7ab():_0x40f7ab)});return _0x4a8570['on']('escape',()=>{_0x24be7b['fire']('escape');}),this['_bindAnnotationToEditors'](_0x4a8570,_0x24be7b),_0x303941['add'](_0x24be7b),_0x24be7b;}['_bindAnnotationToEditors'](_0x3b3251,_0x9faa3b){this['listenTo'](_0x3b3251,'editorReady',(_0xc513a0,_0x183425)=>{const _0x130ed1=_0x183425['ui']['view']['body']['bodyCollectionContainer'];_0x9faa3b['focusableElements']['add'](_0x130ed1),this['context']instanceof _0xadff6a&&this['context']['ui']['focusTracker']['add'](_0x130ed1);},{'priority':'highest'}),this['listenTo'](_0x3b3251,'editorDestroyed',(_0x495b1b,_0x846469)=>{const _0x3f55e6=_0x846469['ui']['view']['body']['bodyCollectionContainer'];_0x9faa3b['focusableElements']['has'](_0x3f55e6)&&_0x9faa3b['focusableElements']['remove'](_0x3f55e6),this['context']instanceof _0xadff6a&&this['context']['ui']['focusTracker']['remove'](_0x3f55e6);});}['_unbindEditors'](_0x403c7e){this['stopListening'](_0x403c7e,'editorReady'),this['stopListening'](_0x403c7e,'editorDestroyed');}['_createCommentThreadView'](_0x18a509){const _0x141e2b=this['context']['plugins']['get'](Users),{config:_0x27be4d,locale:_0x2191e1}=this['context'],_0x362f7a=Xu(_0x27be4d['get']('locale'),_0x2191e1);return new(0x0,(_0x27be4d['get']('comments'))['CommentThreadView'])(_0x2191e1,_0x18a509,_0x141e2b['me'],{'editorConfig':{..._0x27be4d['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x27be4d['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x27be4d['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x27be4d['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x27be4d['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x362f7a,'CommentView':_0x27be4d['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0xbcd703,channelId:_0x370b65,resolvedAt:_0xfffa37,resolvedBy:_0x558bee,isFromAdapter:_0x4d07c7}){if(!this['hasCommentThread'](_0xbcd703))throw new _0x37fbfa('commentsrepository-missing-comment-thread',null,{'threadId':_0xbcd703});const _0xc77c42=this['getCommentThread'](_0xbcd703);if(_0xc77c42['isResolved'])throw new _0x37fbfa('commentsrepository-resolved-comment-thread',null,{'threadId':_0xbcd703});const _0x2dd795=this['context']['plugins']['get'](Users);if(_0xc77c42['resolvedBy']=_0x2dd795['getUser'](_0x558bee),_0xc77c42['resolvedAt']=_0xfffa37,_0x4d07c7||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x43fe2b=this['context']['plugins']['get']('PendingActions'),_0x1ea743=_0x43fe2b['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x370b65,'threadId':_0xbcd703})['then'](({resolvedAt:_0x589d35,resolvedBy:_0x490c9d})=>{_0x43fe2b['remove'](_0x1ea743),_0xc77c42['resolvedBy']['id']!==_0x490c9d&&(_0xc77c42['resolvedBy']=_0x2dd795['getUser'](_0x490c9d)),_0xc77c42['resolvedAt']=_0x589d35;})['catch'](_0x2d6686=>{throw console['error'](_0x2d6686),new _0x37fbfa('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x3bec2c,channelId:_0x5946a3,isFromAdapter:_0x5b189d}){if(!this['hasCommentThread'](_0x3bec2c))throw new _0x37fbfa('commentsrepository-missing-comment-thread',null,{'threadId':_0x3bec2c});const _0x350b6d=this['getCommentThread'](_0x3bec2c);if(!_0x350b6d['isResolved'])throw new _0x37fbfa('commentsrepository-reopen-comment-thread',null,{'threadId':_0x3bec2c});if(_0x350b6d['resolvedBy']=null,_0x350b6d['resolvedAt']=null,_0x5b189d||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x5425a2=this['context']['plugins']['get']('PendingActions'),_0x594730=_0x5425a2['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x5946a3,'threadId':_0x3bec2c})['then'](()=>_0x5425a2['remove'](_0x594730))['catch'](_0x23c64f=>{throw console['error'](_0x23c64f),new _0x37fbfa('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x452776,isFromAdapter:_0x15fdb6}){const _0x4abefa=this['getCommentThread'](_0x452776);if(!_0x4abefa)throw new _0x37fbfa('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x452776),this['_threads']['delete'](_0x452776),!_0x4abefa['isSubmitted']||_0x15fdb6||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x12a308=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4bfb88}=_0x4abefa,_0x547355=_0x12a308['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x4bfb88,'threadId':_0x452776})['then'](()=>_0x12a308['remove'](_0x547355))['catch'](_0x1f7eea=>{throw console['error'](_0x1f7eea),new _0x37fbfa('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x23641b,unlinkedAt:_0x3f4e28,context:_0x192cf7,attributes:_0x5bcdc8,isFromAdapter:_0x1a6d8d}){if('string'!=typeof _0x23641b)throw new _0x37fbfa('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x23641b});if(!this['hasCommentThread'](_0x23641b))throw new _0x37fbfa('commentsrepository-missing-comment-thread',null,{'threadId':_0x23641b});const _0x54ddd9=this['getCommentThread'](_0x23641b);let _0x4ad115=!0x1;if(void 0x0!==_0x192cf7&&_0x54ddd9['context']!==_0x192cf7&&(_0x54ddd9['context']=_0x192cf7,_0x4ad115=!0x0),void 0x0!==_0x3f4e28&&_0x54ddd9['unlinkedAt']!==_0x3f4e28&&(_0x54ddd9['unlinkedAt']=_0x3f4e28,_0x4ad115=!0x0),_0x5bcdc8&&!Zr(_0x5bcdc8,_0x54ddd9['attributes'])&&(_0x54ddd9['attributes']=_0x5bcdc8,_0x4ad115=!0x0),!_0x4ad115)return Promise['resolve']();if(!_0x54ddd9['isSubmitted']||_0x1a6d8d||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0xb1fd01=this['context']['plugins']['get']('PendingActions'),{channelId:_0x445254}=_0x54ddd9,_0x5a151b=_0xb1fd01['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x445254,'threadId':_0x23641b,'context':_0x192cf7,'unlinkedAt':_0x3f4e28,'attributes':_0x5bcdc8})['then'](()=>_0xb1fd01['remove'](_0x5a151b))['catch'](_0x202dc1=>{throw console['error'](_0x202dc1),new _0x37fbfa('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x4f2dc6){const _0x457bd4=this['context']['plugins']['get'](Annotations),_0x3250c3=this['getCommentThread'](_0x4f2dc6);if(_0x3250c3['_isAttached']=!0x1,this['_threadToController']['has'](_0x3250c3)){const _0xbd416e=this['_threadToController']['get'](_0x3250c3),_0x4cf2ba=_0xbd416e['view'],_0x2a61e7=_0x457bd4['getByInnerView'](_0x4cf2ba);this['_threadToController']['delete'](_0x3250c3),this['_viewToController']['delete'](_0x4cf2ba),_0x2a61e7&&_0x457bd4['remove'](_0x2a61e7),_0xbd416e['destroy'](),_0x4cf2ba['destroy']()['then'](()=>{this['_unbindEditors'](_0x4cf2ba);});}}['_updateActiveAnnotation']({threadId:_0x4d6fc4,resolvedAt:_0x5c84fb,unlinkedAt:_0x416982}){const _0x1c10f7=!!_0x5c84fb,_0x2c7267=this['context']['plugins']['get'](Annotations),_0x555971=this['getCommentThread'](_0x4d6fc4);if(this['_threadToController']['has'](_0x555971)){const _0x4153e9=this['_threadToController']['get'](_0x555971)['view'],_0x5472f6=_0x2c7267['getByInnerView'](_0x4153e9);_0x5472f6&&(_0x1c10f7&&_0x2c7267['_removeActiveAnnotation'](_0x5472f6),_0x416982?_0x5472f6['isVisible']=!0x1:_0x5472f6['refreshVisibility']());}}['_getExternalAuthor'](_0x1999ec){const _0xcec144=this['context']['plugins']['get'](Users),_0x1a0991=Ju('external:'+_0x1999ec),_0x1dbff6=_0xcec144['getUser'](_0x1a0991);return _0x1dbff6||_0xcec144['addUser']({'id':_0x1a0991,'name':_0x1999ec});}['_createNewComment']({threadId:_0x10c59f,commentId:_0x2723f7=_0x5c5c0c(),content:_0x2f136d,authorId:_0x13636d,createdAt:_0xb8bbc,attributes:_0x21e258}){if('string'!=typeof _0x2723f7)throw new _0x37fbfa('commentsrepository-invalid-commentid');if('string'!=typeof _0x13636d)throw new _0x37fbfa('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x2f136d||!_0x2f136d['trim']())throw new _0x37fbfa('commentsrepository-invalid-comment-content');const _0x249097=this['context']['plugins']['get'](Users)['getUser'](_0x13636d);if(!_0x249097)throw new _0x37fbfa('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x13636d});let _0x4c5786=null,_0x38eec7=_0xb8bbc;return _0x21e258?.['@external']&&(_0x4c5786=this['_getExternalAuthor'](_0x21e258['@external']['authorName']),_0x38eec7=new Date(_0x21e258['@external']['createdAt'])),new Comment(this,{'threadId':_0x10c59f,'id':_0x2723f7,'author':_0x4c5786||_0x249097,'creator':_0x249097,'content':_0x2f136d,'createdAt':_0xb8bbc,'authoredAt':_0x38eec7,'attributes':_0x21e258});}['_addComment'](_0x55d5a4){let {threadId:_0x21fa00,content:_0x4fbba5,attributes:_0x1396d1,isFromAdapter:_0x2a1f60}=_0x55d5a4;const _0x1cefb1=this['getCommentThread'](_0x55d5a4['threadId']);if(!_0x1cefb1)throw new _0x37fbfa('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x2d10a1=this['_createNewComment'](_0x55d5a4),{id:_0x1b5b67}=_0x2d10a1;if(_0x1cefb1['_add'](_0x2d10a1),_0x2a1f60||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x1cefb1['isSubmitted'])return Promise['resolve']();const _0x5a00a0=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5c6881}=_0x1cefb1,_0x475a09=_0x5a00a0['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x1396d1||(_0x1396d1={}),this['adapter']['addComment']({'channelId':_0x5c6881,'threadId':_0x21fa00,'commentId':_0x1b5b67,'content':_0x4fbba5,'attributes':_0x1396d1})['then'](_0x19770f=>{_0x5a00a0['remove'](_0x475a09),_0x19770f&&this['_updateComment']({'channelId':_0x5c6881,'threadId':_0x21fa00,'commentId':_0x1b5b67,'createdAt':_0x19770f['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x377092=>{throw console['error'](_0x377092),new _0x37fbfa('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x2d0aaf,commentId:_0x245161,content:_0x426e33,createdAt:_0x32bcb0,attributes:_0x16f47b,isFromAdapter:_0x3c787b}){if(void 0x0!==_0x426e33&&('string'!=typeof _0x426e33||!_0x426e33['trim']()['length']))throw new _0x37fbfa('commentsrepository-update-comment-invalid-content');const _0x3d0ec9=this['getCommentThread'](_0x2d0aaf),_0x236719=_0x3d0ec9['getComment'](_0x245161);if(!_0x236719)throw new _0x37fbfa('commentsrepository-update-missing-comment',this);let _0x3469fc=!0x1;if(_0x426e33&&_0x426e33!==_0x236719['content']&&(_0x236719['isEditable']||_0x3c787b)&&(_0x236719['content']=_0x426e33,_0x3469fc=!0x0),_0x32bcb0&&_0x32bcb0!==_0x236719['createdAt']&&(_0x236719['createdAt']=_0x32bcb0,_0x236719['attributes']&&_0x236719['attributes']['@external']||(_0x236719['authoredAt']=_0x32bcb0),_0x3469fc=!0x0),_0x16f47b&&!Zr(_0x16f47b,_0x236719['attributes'])&&(_0x236719['attributes']=_0x16f47b,_0x3469fc=!0x0),!_0x3469fc)return Promise['resolve']();if(_0x3d0ec9['fire']('commentUpdated'),_0x3c787b||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x152a41=this['context']['plugins']['get']('PendingActions'),{channelId:_0xcf2847}=this['getCommentThread'](_0x236719['threadId']),_0x4511bc=_0x152a41['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0xcf2847,'threadId':_0x2d0aaf,'commentId':_0x245161,'content':_0x426e33,'attributes':_0x16f47b})['then'](()=>_0x152a41['remove'](_0x4511bc))['catch'](_0x42e387=>{throw console['error'](_0x42e387),new _0x37fbfa('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x3c51cc,commentId:_0x4a3aca,isFromAdapter:_0xeee526}){const _0x1762a3=this['getCommentThread'](_0x3c51cc),_0x14200=_0x1762a3['getComment'](_0x4a3aca);if(!_0x14200)throw new _0x37fbfa('commentsrepository-remove-missing-comment',this);if(_0x1762a3['_remove'](_0x14200),_0xeee526||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x15a931=this['context']['plugins']['get']('PendingActions'),{channelId:_0x58c2a3}=_0x1762a3,_0x386056=_0x15a931['add'](Im(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x58c2a3,'threadId':_0x3c51cc,'commentId':_0x4a3aca})['then'](()=>_0x15a931['remove'](_0x386056))['catch'](_0x4c7b23=>{throw console['error'](_0x4c7b23),new _0x37fbfa('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x20f52a(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x56d601,_0x535c46){super();const _0x3dfda0=_0x535c46['isResolvable'];this['channelId']=_0x535c46['channelId'],this['id']=_0x535c46['id'],this['comments']=new _0x4711ed(),this['_repository']=_0x56d601,this['_isAttached']=!0x1,this['_isSubmitted']=_0x535c46['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x56d601,'_permissions',_0x56d601,'_readOnlyChannels',()=>_0x56d601['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x56d601,'_permissions',()=>_0x56d601['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x56d601,'_permissions',()=>{const _0x1f3451=_0x56d601['getPermissions'](this['channelId']);return _0x1f3451['write']||_0x1f3451['admin'];}),this['bind']('isResolvable')['to'](_0x56d601,'_permissions',()=>_0x3dfda0&&_0x56d601['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x535c46['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x51a64c,_0x473d60)=>_0x51a64c?_0x473d60?_0x51a64c<_0x473d60?_0x51a64c:_0x473d60:_0x51a64c:_0x473d60),this['set']('unlinkedAt',_0x535c46['unlinkedAt']||null),this['set']('resolvedAt',_0x535c46['resolvedAt']||null),this['set']('resolvedBy',_0x535c46['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x2dd641=>!!_0x2dd641),this['set']('attributes',_0x535c46['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x2375e6,_0x49eefa)=>_0x2375e6+_0x49eefa['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x4fe408,id:_0xd3329b}=this;this['_repository']['fire'](Dm('submitCommentThread',_0x4fe408),{'channelId':_0x4fe408,'threadId':_0xd3329b});}['setUnlinkedAt'](_0x4c9602){this['_update']({'unlinkedAt':_0x4c9602});}['resolve']({resolvedAt:_0x1c8370=new Date(),resolvedBy:_0x2347ac='',isFromAdapter:_0x57ab78=!0x1}={}){const _0x14c120=this['_repository']['context']['plugins']['get'](Users)['me'],{channelId:_0x43e549,id:_0x47bcf3}=this;this['_repository']['fire'](Dm('resolveCommentThread',_0x43e549),{'channelId':_0x43e549,'threadId':_0x47bcf3,'resolvedAt':_0x1c8370,'resolvedBy':_0x2347ac||_0x14c120['id'],'isFromAdapter':_0x57ab78});}['reopen']({isFromAdapter:_0x2beb98=!0x1}={}){const {channelId:_0x5c50ac,id:_0x1bca9e}=this;this['_repository']['fire'](Dm('reopenCommentThread',_0x5c50ac),{'channelId':_0x5c50ac,'threadId':_0x1bca9e,'isFromAdapter':_0x2beb98});}['setContext'](_0x3a1fdf){this['context']||this['_update']({'context':_0x3a1fdf});}['setAttribute'](_0xa86e73,_0x756b3d){const _0x453dbb=Cr(this['attributes']);Qr(_0x453dbb,_0xa86e73,_0x756b3d),this['_update']({'attributes':_0x453dbb});}['removeAttribute'](_0x495dab){const _0x48395f=Cr(this['attributes']);Nr(_0x48395f,_0x495dab),this['_update']({'attributes':_0x48395f});}['remove']({isFromAdapter:_0x221da4=!0x1}={}){const {channelId:_0x50e8d9,id:_0x28531a}=this;this['_repository']['fire'](Dm('removeCommentThread',_0x50e8d9),{'channelId':_0x50e8d9,'threadId':_0x28531a,'isFromAdapter':_0x221da4});}['attachTo'](_0x495916){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x495916});}['addComment'](_0x3dd861){const {channelId:_0x5a1a82,id:_0xef0de3}=this;this['_repository']['fire'](Dm('addComment',_0x5a1a82,_0xef0de3),Object['assign']({'channelId':_0x5a1a82,'threadId':_0xef0de3},_0x3dd861));}['getComment'](_0x8690cf){if('string'!=typeof _0x8690cf)throw new _0x37fbfa('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x8690cf});return this['comments']['get'](_0x8690cf);}['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'](_0x32800c=>_0x32800c['toJSON']()),'attributes':this['attributes']};}['_add'](_0x1d5bed){return this['listenTo'](_0x1d5bed,'change:authoredAt',()=>{const _0x349d79=this['_findOptimalIndex'](_0x1d5bed),_0x3ff432=this['comments'];_0x349d79-0x1!=_0x3ff432['getIndex'](_0x1d5bed)&&_0x349d79+0x1!=_0x3ff432['getIndex'](_0x1d5bed)&&(this['_remove'](_0x1d5bed),this['_add'](_0x1d5bed));}),this['comments']['add'](_0x1d5bed,this['_findOptimalIndex'](_0x1d5bed));}['_update'](_0x4566bd){const {channelId:_0x628bfe,id:_0x51655e}=this;this['_repository']['fire'](Dm('updateCommentThread',_0x628bfe),{..._0x4566bd,'channelId':_0x628bfe,'threadId':_0x51655e});}['_remove'](_0x355df4){return this['stopListening'](_0x355df4),_0x355df4['destroy'](),this['comments']['remove'](_0x355df4);}['_findOptimalIndex'](_0x189a9f){const _0x3cef9b=this['comments']['find'](_0x5ee8af=>new Date(_0x5ee8af['authoredAt'])['getTime']()>new Date(_0x189a9f['authoredAt'])['getTime']());return _0x3cef9b?this['comments']['getIndex'](_0x3cef9b):this['length'];}}class Comment extends/* #__PURE__ -- @preserve */
_0x20f52a(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x1f921e,_0x2c7e6c){super();const _0x34babd=_0x1f921e['context']['plugins']['get'](Users)['me'],_0x45771a=_0x1f921e['getCommentThread'](_0x2c7e6c['threadId']),_0x498ec7=0x0===_0x45771a['comments']['length'],_0x317aa9=_0x34babd===_0x2c7e6c['author'];this['id']=_0x2c7e6c['id'],this['threadId']=_0x2c7e6c['threadId'],this['author']=_0x2c7e6c['author'],this['creator']=_0x2c7e6c['creator'],this['isExternal']=Boolean(_0x2c7e6c['attributes']&&_0x2c7e6c['attributes']['@external']),this['set']('content',_0x2c7e6c['content']),this['createdAt']=_0x2c7e6c['createdAt']||new Date(),this['set']('authoredAt',_0x2c7e6c['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x45771a,'resolvedAt'),this['set']('attributes',_0x2c7e6c['attributes']||{}),this['bind']('isEditable')['to'](_0x1f921e,'_permissions',()=>{const _0x3a2c7d=_0x1f921e['getPermissions'](_0x45771a['channelId'])['write'],_0x3aba3a=_0x1f921e['getPermissions'](_0x45771a['channelId'])['modifyAll'];return _0x317aa9&&_0x3a2c7d||!_0x317aa9&&_0x3aba3a;}),this['bind']('isRemovable')['to'](_0x45771a,'isRemovable',_0x1f921e,'_permissions',_0x27eee9=>{const _0x5508e5=_0x1f921e['getPermissions'](_0x45771a['channelId'])['write'],_0x1911e9=_0x1f921e['getPermissions'](_0x45771a['channelId'])['modifyAll'];return _0x317aa9&&_0x5508e5||_0x27eee9&&_0x498ec7||!_0x317aa9&&_0x1911e9&&!_0x498ec7;}),this['bind']('isReadOnly')['to'](_0x45771a,'isReadOnly'),this['_repository']=_0x1f921e;}get['weight'](){return Math['max'](function(_0xf54cea){const _0x590234=document['createElement']('div');return _0x590234['innerHTML']=_0xf54cea,_0x590234['textContent']['length'];}(this['content']),0xc8);}['update'](_0x2ef893){const {threadId:_0x3836bc,id:_0x17df4a}=this;if(!this['_repository']['hasCommentThread'](_0x3836bc))throw new _0x37fbfa('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x373540}=this['_repository']['getCommentThread'](_0x3836bc);this['_repository']['fire'](Dm('updateComment',_0x373540,_0x3836bc),{'channelId':_0x373540,'threadId':_0x3836bc,'commentId':_0x17df4a,..._0x2ef893});}['setAttribute'](_0x4179c3,_0x14e2a4){const _0x555162=Cr(this['attributes']);Qr(_0x555162,_0x4179c3,_0x14e2a4),this['update']({'attributes':_0x555162});}['removeAttribute'](_0xa29586){const _0x6bf0a3=Cr(this['attributes']);Nr(_0x6bf0a3,_0xa29586),this['update']({'attributes':_0x6bf0a3});}['remove'](_0x1a093a={}){if(!_0x1a093a['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x2907be,id:_0x8ef696}=this;if(!this['_repository']['hasCommentThread'](_0x2907be))throw new _0x37fbfa('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x64546a}=this['_repository']['getCommentThread'](_0x2907be);this['_repository']['fire'](Dm('removeComment',_0x64546a,_0x2907be),{'channelId':_0x64546a,'threadId':_0x2907be,'commentId':_0x8ef696,..._0x1a093a});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function Dm(_0x3cfb75,..._0x16fc2d){for(const _0x25e73c of _0x16fc2d)void 0x0!==_0x25e73c&&(_0x3cfb75+=':'+String(_0x25e73c));return _0x3cfb75;}class AddCommentThreadCommand extends _0x15bad7{constructor(_0x11df4d){super(_0x11df4d),this['set']('hasContent',!0x1);}['refresh'](){const _0x462f05=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x233375 of _0x462f05['getRanges']())if(this['_hasContent'](_0x233375))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x46c747=_0x5c5c0c(),ranges:_0x59832f,comment:_0x57d687}={}){const _0x3fe550=this['editor']['model'],_0x4e7586=_0x59832f??Array['from'](_0x3fe550['document']['selection']['getRanges']()),_0x5cfa31=[];for(const _0x5dafc2 of _0x4e7586)this['_hasContent'](_0x5dafc2)&&_0x5cfa31['push'](this['_trimToContent'](_0x5dafc2));if(!_0x5cfa31['length'])throw new _0x37fbfa('addcommentthreadcommand-incorrect-ranges',null);_0x57d687&&this['_createCommentThread'](_0x46c747,_0x57d687),this['_createMarkersFromRanges'](_0x46c747,_0x5cfa31,!!_0x57d687);}['_createMarkersFromRanges'](_0xc4021e,_0x1f6ae4,_0x135c9b){this['editor']['model']['change'](_0x7deb0c=>{for(const _0x5994bf of _0x1f6ae4){const _0x36ef49=_0x5c5c0c()['substr'](0x1,0x5),_0x5d7a68='comment:'+_0xc4021e+':'+_0x36ef49;_0x7deb0c['addMarker'](_0x5d7a68,{'range':_0x5994bf,'usingOperation':_0x135c9b,'affectsData':_0x135c9b});}});}['_createCommentThread'](_0x4239c9,_0x427029){const _0x15373e=this['editor']['plugins']['get']('CommentsRepository'),_0x2e0341=this['editor']['config']['get']('collaboration.channelId'),_0x4cb38e=this['editor']['plugins']['get']('Users')['me'];if(!_0x4cb38e)throw new _0x37fbfa('addcommentthreadcommand-user-not-found',null);_0x15373e['addCommentThread']({'threadId':_0x4239c9,'channelId':_0x2e0341,'comments':[{'authorId':_0x4cb38e['id'],'content':_0x427029,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x4d9981){for(const _0x5f55cb of _0x4d9981['getItems']())if(this['_itemIsContent'](_0x5f55cb))return!0x0;return!0x1;}['_itemIsContent'](_0x2c68a0){return _0x2c68a0['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x2c68a0)&&!_0x2c68a0['is']('element','tableCell');}['_trimToContent'](_0xaf2664){const _0x935a0e=_0x324e29=>!this['_itemIsContent'](_0x324e29['item']),_0x1dfc06=_0xaf2664['start']['getLastMatchingPosition'](_0x935a0e),_0x3ae4a5=_0xaf2664['end']['getLastMatchingPosition'](_0x935a0e,{'direction':'backward'});return this['editor']['model']['createRange'](_0x1dfc06,_0x3ae4a5);}}class EditorAnnotations extends _0x13517b{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3896d6){super(_0x3896d6),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x4b521a=this['editor'],_0x15c559=_0x4b521a['model']['document']['selection'],_0x1e31f1=Vr(()=>this['refreshSelectedViews'](),0xa);_0x15c559['on']('change:range',(_0x4b6130,_0x4bddac)=>{_0x4bddac['directChange']&&(_0x1e31f1['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x4b521a['editing']['view']['document'],'change:isFocused',(_0x26ed31,_0x21d613,_0x434c73)=>{_0x434c73&&_0x1e31f1();}),this['listenTo'](_0x4b521a['ui']['focusTracker'],'change:isFocused',(_0x1b27b5,_0x304370,_0x2a5b15)=>{_0x2a5b15||this['fire']('blur',{'isAnnotationTracked':_0x49ff2f=>this['_editorAnnotationsData']['has'](_0x49ff2f['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x58cf26){if(this['_editorAnnotations']['has'](_0x58cf26['view']))return;this['_editorAnnotations']['add'](_0x58cf26['view']),this['editor']['ui']['focusTracker']['add'](_0x58cf26['view']['element']);const _0x1b1a25=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x1b1a25['collection'],'remove',(_0xc77dbf,_0x5638d1)=>{this['editor']['ui']['focusTracker']['remove'](_0x5638d1['view']['element']),this['_editorAnnotations']['delete'](_0x5638d1['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0xd8c247){if('function'!=typeof _0xd8c247)throw new _0x37fbfa('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0xd8c247);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x4ed3a8,annotations:_0x267f74}){const _0x581185=[],_0x28c242=this['editor']['model']['document']['selection'],_0x8aa343=Array['from'](_0x28c242['getRanges']());for(const [_0x424c8e,_0x84cc61]of this['_editorAnnotationsData']){const _0x4f868d=_0x46f9e3(_0x84cc61),_0x472855=_0x267f74['getByInnerView'](_0x424c8e);_0x4f868d&&_0x472855&&_0x581185['push']({'annotation':_0x472855,'range':_0x4f868d});}function _0x46f9e3(_0x39e09f){for(const _0x371133 of _0x39e09f)for(const _0x5f3f52 of _0x8aa343)if(_0x371133['containsRange'](_0x5f3f52,!_0x28c242['isCollapsed']))return _0x371133;return null;}return _0x581185['sort']((_0x2990b9,_0x2b1339)=>{const _0x3d335d=_0x2990b9['range'],_0x3c30f7=_0x2b1339['range'];if(!_0x3d335d['isEqual'](_0x3c30f7)){if(_0x3d335d['containsRange'](_0x3c30f7,!0x0))return 0x1;if(_0x3c30f7['containsRange'](_0x3d335d,!0x0))return-0x1;}return _0x2990b9['annotation']==_0x4ed3a8?-0x1:_0x2b1339['annotation']==_0x4ed3a8?0x1:0x0;})['map'](_0x4d0d62=>_0x4d0d62['annotation']);}get['_editorAnnotationsData'](){const _0x4e4b62=new Map();for(const _0x47d8c0 of Array['from'](this['_dataCollectors']))for(const [_0x3afb69,_0x157386]of _0x47d8c0())_0x4e4b62['set'](_0x3afb69,_0x157386);return _0x4e4b62;}}class CommentsRestrictedEditingMode extends _0x13517b{['afterInit'](){const _0x566014=this['editor'];if(!_0x566014['plugins']['has']('RestrictedEditingModeEditing'))return;_0x566014['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x13517b{constructor(_0x426452){super(_0x426452),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0xb35476=this['editor'],_0x2fef0d=_0xb35476['commands']['get']('importWord'),_0x3f5d42=_0xb35476['plugins']['get'](Users);_0x2fef0d&&(_0x2fef0d['on']('execute',(_0x41a3fc,[,_0xe38ff8])=>{_0xe38ff8['collaboration_features']={'comments':!0x0,'user_id':_0x3f5d42['me']['id']};},{'priority':_0x244365['high']+0xa}),this['listenTo'](_0x2fef0d,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x5421d0,_0x178a63){const {comment_threads:_0x221c5b}=_0x178a63;_0x221c5b&&_0x221c5b['forEach'](({thread_id:_0x162626,comments:_0x166d96,is_resolved:_0x2d7819})=>{const _0x51aab8=new Date(),_0x24a2b0=_0x166d96['map'](({author:_0x5bc115,content:_0x126e51,created_at:_0x1e37bc})=>({'content':_0x126e51,'authorId':this['editor']['plugins']['get'](Users)['me']['id'],'createdAt':_0x51aab8,'attributes':{'@external':{'authorName':_0x5bc115,'createdAt':_0x1e37bc?new Date(_0x1e37bc):new Date(),'source':'importWord'}}})),_0x3e2ca2=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x3e2ca2,'threadId':_0x162626,'comments':_0x24a2b0,'resolvedAt':_0x2d7819?_0x51aab8:null});});}}class CommentsClipboard extends _0x13517b{constructor(_0x1eb04a){super(_0x1eb04a),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x5708d5,_0x3c05db];}['afterInit'](){const _0x2e71d9=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x2e71d9,'contentInsertion',(_0x36e1ef,_0x5970eb)=>this['_removeMarkersWithoutThreads'](_0x5970eb['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x52d41a){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x52d41a;const _0x59e5b5=this['editor']['plugins']['get']('CommentsRepository');for(const _0x132eff of _0x52d41a['keys']()){const [_0x1c3ec7,_0x1094a6]=_0x132eff['split'](':');'comment'!=_0x1c3ec7||_0x59e5b5['hasCommentThread'](_0x1094a6)||_0x52d41a['delete'](_0x132eff);}return _0x52d41a;}['_registerMarkerInClipboardPipeline'](){const _0x217518=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x4440a2=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x4440a2&&_0x217518['_registerMarkerToCopy']('comment',_0x4440a2);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x535800){switch(_0x535800){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function Qm(_0x2742b4){const _0x11df3b=_0x2742b4['split'](':');return{'group':_0x11df3b[0x0],'id':_0x11df3b[0x1],'part':_0x11df3b[0x2]};}class ShowCommentHighlights extends _0x13517b{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x4567c7,_0x42d4f2)=>{if(!_0x42d4f2['options']['showCommentHighlights'])return null;if(_0x42d4f2['options']['ignoreResolvedComments']){const {id:_0x2ac499}=Qm(_0x4567c7['markerName']),_0x3f94bf=this['editor']['plugins']['get'](CommentsRepository);if(_0x3f94bf['getCommentThread'](_0x2ac499)?.['isResolved']&&_0x4567c7['item'])return _0x42d4f2['consumable']['consume'](_0x4567c7['item'],'addMarker:'+_0x4567c7['markerName']),_0x42d4f2['consumable']['consume'](_0x4567c7['item'],'removeMarker:'+_0x4567c7['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1d9667=>{_0x1d9667['on']('addMarker:comment',(_0x38047b,_0x8464fa,_0x1774fb)=>{if(!_0x1774fb['options']['showCommentHighlights'])return;const _0x3ce227=_0x8464fa['item'];if(!_0x3ce227)return;const _0x4a0376=_0x1774fb['mapper']['toViewElement'](_0x3ce227);this['editor']['model']['schema']['isObject'](_0x3ce227)&&_0x4a0376&&!_0x4a0376['getCustomProperty']('widget')&&_0x4a0376['is']('containerElement')&&_0xc2ea3(_0x4a0376,_0x1774fb['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3673d8,{writer:_0x260a8a,options:_0x5081ab})=>{if(!_0x5081ab['showCommentHighlights'])return null;const _0x3a597a=_0x260a8a['createContainerElement']('div'),_0x647661=_0x260a8a['createEmptyElement']('hr');return _0x260a8a['addClass']('ck-horizontal-line',_0x3a597a),_0x260a8a['insert'](_0x260a8a['createPositionAt'](_0x3a597a,0x0),_0x647661),_0x3a597a;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x54357c,{writer:_0x555fbe,options:_0xeaf11d})=>{if(!_0xeaf11d['showCommentHighlights'])return null;const _0x8efb4c=_0x555fbe['createContainerElement']('span'),_0x4ac2b5=_0x555fbe['createEmptyElement']('img');return _0x555fbe['addClass']('image-inline',_0x8efb4c),_0x555fbe['insert'](_0x555fbe['createPositionAt'](_0x8efb4c,0x0),_0x4ac2b5),_0x8efb4c;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5ac9fc,{writer:_0x3b8fb4,options:_0x210fd5})=>{if(_0x210fd5['showCommentHighlights'])return _0x3b8fb4['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x51dc7f,_0x2ca958,_0x42b82e)=>{_0x42b82e['options']['showCommentHighlights']&&_0x51dc7f['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x13517b{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(_0xaeb313){super(_0xaeb313),this['set']('isThreadsLoadingPaused',!0x0),_0xaeb313['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x4f4b19,_0x3c08cc,_0x114c28,_0x5138af)=>{const _0x149050=_0xaeb313['plugins']['get'](CommentsRepository),_0x4f88a9=_0x114c28?Qm(_0x114c28)['id']:null;_0xaeb313['model']['change'](()=>{if(_0x4f88a9){const _0x797826=this['getAllMarkersForId'](_0x4f88a9);for(const _0x564ac6 of _0x797826)_0xaeb313['editing']['reconvertMarker'](_0x564ac6);}if(_0x5138af){const {id:_0x2ec0aa}=Qm(_0x5138af),_0xfd6ccd=_0x149050['getCommentThread'](_0x2ec0aa);if(_0xfd6ccd&&_0xfd6ccd['unlinkedAt'])return;if(_0xfd6ccd&&!_0xfd6ccd['isAttached'])return;const _0x507734=this['getAllMarkersForId'](_0x2ec0aa);for(const _0x54cae9 of _0x507734)_0xaeb313['editing']['reconvertMarker'](_0x54cae9);}}),_0x4f88a9&&this['scrollToThreadMarker'](_0x4f88a9);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x448eaa=this['editor'],_0x533af1=_0x448eaa['plugins']['get'](CommentsRepository),_0x3cabd1=_0x448eaa['config']['get']('collaboration.channelId'),_0x204545=_0x533af1['getCommentThreads']()['filter'](_0x282580=>_0x282580['channelId']!==_0x3cabd1);_0x448eaa['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x448eaa)),this['listenTo'](_0x448eaa,'change:isReadOnly',(_0x5b3d96,_0x49f630,_0xba385)=>{_0x533af1['switchReadOnly'](_0xba385,_0x448eaa['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x533af1,$m('addCommentThread',_0x3cabd1),(_0x1949bd,{threadId:_0x22b47c})=>{const _0x2f0a3d=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x22b47c);_0x2f0a3d?.['unlinkedAt']&&this['_attachArchivedThread'](_0x22b47c);}),this['listenTo'](_0x533af1,$m('removeCommentThread',_0x3cabd1),(_0x3b526d,{threadId:_0x52e4eb})=>{_0x448eaa['model']['enqueueChange']({'isUndoable':!0x1},_0x2df8b8=>{const _0x474655=this['getAllMarkersForId'](_0x52e4eb);for(const _0x3c69ee of _0x474655)_0x2df8b8['removeMarker'](_0x3c69ee);});}),this['listenTo'](_0x533af1,$m('resolveCommentThread',_0x3cabd1),(_0x3242d0,{threadId:_0xa7fc8})=>{(this['_reconvertMarkers'](_0xa7fc8),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0xa7fc8)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x533af1,$m('reopenCommentThread',_0x3cabd1),(_0x3246bb,{threadId:_0x36f4fb})=>{this['_reconvertMarkers'](_0x36f4fb);},{'priority':'low'}),this['listenTo'](_0x533af1,$m('addComment',_0x3cabd1),(_0x10f048,{threadId:_0x4ba143,isFromAdapter:_0x37af34})=>{const _0x9d42b1=this['getAllMarkersForId'](_0x4ba143);if(_0x37af34||0x0==_0x9d42b1['length']||!_0x533af1['hasCommentThread'](_0x4ba143))return;0x1===_0x533af1['getCommentThread'](_0x4ba143)['length']&&_0x448eaa['model']['enqueueChange']({'isUndoable':!0x1},_0x372d89=>{for(const _0x125303 of _0x9d42b1)_0x372d89['updateMarker'](_0x125303,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x204545);}['afterInit'](){!async function(_0x58a2da){const _0x5316c0=_0x337c5e([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]),_0x93232a=0x73460ab3,_0x41aa61=0x73418573^_0x93232a,_0x44fbc7=window[_0x337c5e([0x44,0x61,0x74,0x65])][_0x337c5e([0x6e,0x6f,0x77])](),_0x1d5a5a=_0x58a2da[_0x337c5e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x517321=new window[(_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f2f19=>{_0x1d5a5a[_0x337c5e([0x6f,0x6e,0x63,0x65])](_0x337c5e([0x72,0x65,0x61,0x64,0x79]),_0x1f2f19);}),_0x42840e={[_0x337c5e([0x6b,0x74,0x79])]:_0x337c5e([0x45,0x43]),[_0x337c5e([0x75,0x73,0x65])]:_0x337c5e([0x73,0x69,0x67]),[_0x337c5e([0x63,0x72,0x76])]:_0x337c5e([0x50,0x2d,0x32,0x35,0x36]),[_0x337c5e([0x78])]:_0x337c5e([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]),[_0x337c5e([0x79])]:_0x337c5e([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]),[_0x337c5e([0x61,0x6c,0x67])]:_0x337c5e([0x45,0x53,0x32,0x35,0x36])},_0x30056c=_0x1d5a5a[_0x337c5e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x337c5e([0x67,0x65,0x74])](_0x337c5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b04c5(){let _0x4a5ae2,_0x17b366=null,_0x5a93ae=null;try{if(_0x30056c==_0x337c5e([0x47,0x50,0x4c]))return _0x337c5e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a5ae2=_0x990741(),!_0x4a5ae2)return _0x337c5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a5ae2[_0x337c5e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a93ae=_0x21eae5(_0x4a5ae2[_0x337c5e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a5ae2[_0x337c5e([0x6a,0x74,0x69])])),await _0xb5b98f()?_0x2d3cda()?_0x3719c2()?_0x337c5e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x587100()?(_0x4a5ae2[_0x337c5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x337c5e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17b366=_0xe22a0a(_0x337c5e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x329fc6()):_0x337c5e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x337c5e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x337c5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x337c5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3719c2(){const _0x39301d=[_0x337c5e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x337c5e([0x74,0x72,0x69,0x61,0x6c])][_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5ae2[_0x337c5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44fbc7/0x3e8:0xe10*_0x41aa61;return _0x4a5ae2[_0x337c5e([0x65,0x78,0x70])]<_0x39301d;}function _0x2d3cda(){const _0x206da2=_0x4a5ae2[_0x337c5e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x206da2)return!0x1;if(_0x206da2[_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c5e([0x2a])))return!0x0;if(_0x206da2[_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c5e([0x43,0x4d,0x54])))return!0x0;if(_0x206da2[_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c5e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0xa9e4a5())return!0x0;if(_0x206da2[_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c5e([0x52,0x43,0x4d,0x54]))){if(_0x3ca583())return!0x0;if(_0x57eaa7()||_0x46321d())return!0x0;}return!0x1;}function _0x587100(){const _0x2df164=_0x4a5ae2[_0x337c5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2df164||0x0==_0x2df164[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29a73f}=new URL(window[_0x337c5e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2df164[_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29a73f))return!0x0;const _0x40a4c7=_0x29a73f[_0x337c5e([0x73,0x70,0x6c,0x69,0x74])](_0x337c5e([0x2e]));return _0x2df164[_0x337c5e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4395cf=>_0x4395cf[_0x337c5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337c5e([0x2a])))[_0x337c5e([0x6d,0x61,0x70])](_0x1ef03e=>_0x1ef03e[_0x337c5e([0x73,0x70,0x6c,0x69,0x74])](_0x337c5e([0x2e])))[_0x337c5e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c9a43=>_0x5c9a43[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40a4c7[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337c5e([0x6d,0x61,0x70])](_0xf3ae7b=>Array(_0x40a4c7[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf3ae7b[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337c5e([0x66,0x69,0x6c,0x6c])](_0xf3ae7b[0x0]===_0x337c5e([0x2a])?_0x337c5e([0x2a]):'')[_0x337c5e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf3ae7b))[_0x337c5e([0x73,0x6f,0x6d,0x65])](_0x11794f=>_0x40a4c7[_0x337c5e([0x65,0x76,0x65,0x72,0x79])]((_0x12abd2,_0x33e9ff)=>_0x11794f[_0x33e9ff]===_0x12abd2||_0x11794f[_0x33e9ff]===_0x337c5e([0x2a])));}function _0x329fc6(){return _0x17b366&&_0x5a93ae?new window[(_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e51cb,_0x3d44e5)=>{_0x17b366[_0x337c5e([0x74,0x68,0x65,0x6e])](_0x5e51cb,_0x3d44e5),_0x5a93ae[_0x337c5e([0x74,0x68,0x65,0x6e])](_0x1adea8=>{_0x1adea8!=_0x337c5e([0x56,0x61,0x6c,0x69,0x64])&&_0x5e51cb(_0x1adea8);},_0x3d44e5);}):_0x17b366||_0x5a93ae||_0x337c5e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21eae5(_0x4182d6,_0x3673b7){return new window[(_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17913a=>{if(_0x2b1c50())return _0x17913a(_0x337c5e([0x56,0x61,0x6c,0x69,0x64]));_0x61df6a(),_0x1d5a5a[_0x337c5e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x337c5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x558070=!0x1;const _0xe5b255=_0x5c5c0c();function _0x4a314c(_0x337682){return!!_0x337682&&(typeof _0x337682===_0x337c5e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x337682===_0x337c5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x337682[_0x337c5e([0x74,0x68,0x65,0x6e])]===_0x337c5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x337682[_0x337c5e([0x63,0x61,0x74,0x63,0x68])]===_0x337c5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x149872(_0x59b68e){_0x2d6cf1(_0x59b68e)[_0x337c5e([0x74,0x68,0x65,0x6e])](_0x10a7bc=>{if(!_0x10a7bc||_0x10a7bc[_0x337c5e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x337c5e([0x6f,0x6b]))return _0x337c5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5346e6(_0x34db3f(_0xe5b255+_0x3673b7))!=_0x10a7bc[_0x337c5e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x337c5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x337c5e([0x56,0x61,0x6c,0x69,0x64]);})[_0x337c5e([0x74,0x68,0x65,0x6e])](_0x1ca808=>(_0x63c18f(),_0x1ca808),()=>{const _0x2c7437=_0x29cc21();return null==_0x2c7437?(_0x63c18f(),_0x337c5e([0x56,0x61,0x6c,0x69,0x64])):_0x337c5e(_0x44fbc7-_0x2c7437>(0x574a8eb3^_0x93232a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x337c5e([0x74,0x68,0x65,0x6e])](_0x17913a)[_0x337c5e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17913a(_0x337c5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14b918=0x7370e433^_0x93232a;function _0x63c18f(){const _0x590c81=_0x337c5e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5346e6(_0x34db3f(_0x4182d6)),_0x48424a=_0x38375a(_0x5346e6(window[_0x337c5e([0x4d,0x61,0x74,0x68])][_0x337c5e([0x63,0x65,0x69,0x6c])](_0x44fbc7/_0x14b918)));window[_0x337c5e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337c5e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x590c81,_0x48424a);}function _0x29cc21(){const _0x408541=_0x337c5e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5346e6(_0x34db3f(_0x4182d6)),_0x5ecfb7=window[_0x337c5e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337c5e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x408541);return _0x5ecfb7?window[_0x337c5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38375a(_0x5ecfb7),0x10)*_0x14b918:null;}function _0x2d6cf1(_0x1857f4){return new window[(_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aefd7,_0x5b17ea)=>{_0x1857f4[_0x337c5e([0x74,0x68,0x65,0x6e])](_0x5aefd7,_0x5b17ea),window[_0x337c5e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b17ea,0x7347de73^_0x93232a);});}}_0x1d5a5a[_0x337c5e([0x6f,0x6e])](_0x337c5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c5366,_0x4471fe)=>{if(_0x4471fe[0x0]!=_0x4182d6)return _0x17913a(_0x337c5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4471fe[0x1]={..._0x4471fe[0x1],[_0x337c5e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe5b255};},{[_0x337c5e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337c5e([0x68,0x69,0x67,0x68])}),_0x1d5a5a[_0x337c5e([0x6f,0x6e])](_0x337c5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c3b7f=>{_0x4a314c(_0x4c3b7f[_0x337c5e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x558070=!0x0,_0x149872(_0x4c3b7f[_0x337c5e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x337c5e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337c5e([0x6c,0x6f,0x77])}),_0x517321[_0x337c5e([0x74,0x68,0x65,0x6e])](()=>{_0x558070||_0x17913a(_0x337c5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b1c50(){return _0x1d5a5a[_0x337c5e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337c5e([0x76,0x69,0x65,0x77])][_0x337c5e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x337c5e([0x61,0x75,0x74,0x6f]);}function _0x61df6a(){_0x1d5a5a[_0x337c5e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337c5e([0x76,0x69,0x65,0x77])][_0x337c5e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x337c5e([0x61,0x75,0x74,0x6f]);}}function _0xe22a0a(_0x19bff0){const _0x50f49e=[new window[(_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f8573=>setTimeout(_0x2f8573,0x734f347f^_0x93232a)),_0x517321[_0x337c5e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351349=>{let _0x53c481=0x0;_0x1d5a5a[_0x337c5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x337c5e([0x6f,0x6e])](_0x337c5e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e4151,_0x450873)=>{_0x450873[0x0][_0x337c5e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53c481++,_0x53c481==(0x73460f5b^_0x93232a)&&(_0x351349(),_0x2e4151[_0x337c5e([0x6f,0x66,0x66])]());});}))];return window[_0x337c5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x337c5e([0x72,0x61,0x63,0x65])](_0x50f49e)[_0x337c5e([0x74,0x68,0x65,0x6e])](()=>_0x19bff0);}async function _0x2255c7(){await _0x517321,_0x1d5a5a[_0x337c5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x337c5e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52cd94,_0x1d5a5a[_0x337c5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x337c5e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52cd94,_0x1d5a5a[_0x337c5e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x337c5e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa9e4a5(){return window[_0x337c5e([0x67,0x6c,0x6f,0x62])]&&window[_0x337c5e([0x67,0x6c,0x6f,0x62])][_0x337c5e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3ca583(){return _0x56122b(_0x337c5e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x185b63(_0x337c5e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x337c5e([0x73,0x74,0x61,0x74,0x65])]==_0x337c5e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x57eaa7(){return _0x56122b(_0x337c5e([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 _0x46321d(){return _0x56122b(_0x337c5e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x338297(_0x543ba3){const _0x2f6237=_0x15c3de();_0x1d5a5a[_0x2f6237]=_0x337c5e([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x543ba3,_0x543ba3!=_0x337c5e([0x56,0x61,0x6c,0x69,0x64])&&_0x2255c7();}function _0x15c3de(){const _0x4c4c1b=window[_0x337c5e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x337c5e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x337c5e([0x6e,0x6f,0x77])]())[_0x337c5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x337c5e([0x2e]),'');let _0x230dbb=_0x337c5e([0x4b]);for(let _0x3cbb64=0x0;_0x3cbb64<_0x4c4c1b[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cbb64+=0x2){let _0x5a5641=window[_0x337c5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c4c1b[_0x337c5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cbb64,_0x3cbb64+0x2));_0x5a5641>=_0x5316c0[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a5641-=_0x5316c0[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x230dbb+=_0x5316c0[_0x5a5641];}return _0x230dbb;}function _0x990741(){const _0x4c45ed=_0x30056c[_0x337c5e([0x73,0x70,0x6c,0x69,0x74])](_0x337c5e([0x2e]));if(0x3!=_0x4c45ed[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x381983(_0x4c45ed[0x1]);function _0x381983(_0x4bebb4){const _0x4ae2b5=_0x2b9077(_0x4bebb4);return _0x4ae2b5&&_0x1c8a28()?_0x4ae2b5:null;function _0x1c8a28(){const _0x5335dd=_0x4ae2b5[_0x337c5e([0x6a,0x74,0x69])],_0xa09fe7=window[_0x337c5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5335dd[_0x337c5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5335dd[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x541018={..._0x4ae2b5,[_0x337c5e([0x6a,0x74,0x69])]:_0x5335dd[_0x337c5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5335dd[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x541018[_0x337c5e([0x76,0x63])],_0x34db3f(_0x541018)==_0xa09fe7;}}}async function _0xb5b98f(){let _0x5625ed=!0x0;try{const _0x134ed6=_0x30056c[_0x337c5e([0x73,0x70,0x6c,0x69,0x74])](_0x337c5e([0x2e])),[_0x5a94e4,_0x13ed95,_0x192ddc]=_0x134ed6;return _0xcafecb(_0x5a94e4),await _0x4e1163(_0x5a94e4,_0x13ed95,_0x192ddc),_0x5625ed;}catch{return!0x1;}function _0xcafecb(_0x3a10b3){const _0x49a8dc=_0x2b9077(_0x3a10b3);_0x49a8dc&&_0x49a8dc[_0x337c5e([0x61,0x6c,0x67])]==_0x337c5e([0x45,0x53,0x32,0x35,0x36])||(_0x5625ed=!0x1);}async function _0x4e1163(_0xfa36c2,_0x109369,_0x479cb9){const _0x48d781=window[_0x337c5e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x337c5e([0x66,0x72,0x6f,0x6d])](_0x12fa42(_0x479cb9),_0x36d720=>_0x36d720[_0x337c5e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ddc66=new window[(_0x337c5e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x337c5e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfa36c2+_0x337c5e([0x2e])+_0x109369),_0x5365ea=window[_0x337c5e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x337c5e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5365ea)return;const _0x5c2248=await _0x5365ea[_0x337c5e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x337c5e([0x6a,0x77,0x6b]),_0x42840e,{[_0x337c5e([0x6e,0x61,0x6d,0x65])]:_0x337c5e([0x45,0x43,0x44,0x53,0x41]),[_0x337c5e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x337c5e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x337c5e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5365ea[_0x337c5e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x337c5e([0x6e,0x61,0x6d,0x65])]:_0x337c5e([0x45,0x43,0x44,0x53,0x41]),[_0x337c5e([0x68,0x61,0x73,0x68])]:{[_0x337c5e([0x6e,0x61,0x6d,0x65])]:_0x337c5e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c2248,_0x48d781,_0x2ddc66)||(_0x5625ed=!0x1);}}function _0x2b9077(_0xc668c4){return _0xc668c4[_0x337c5e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x337c5e([0x65,0x79]))?JSON[_0x337c5e([0x70,0x61,0x72,0x73,0x65])](_0x12fa42(_0xc668c4)):null;}function _0x12fa42(_0x31c283){return window[_0x337c5e([0x61,0x74,0x6f,0x62])](_0x31c283[_0x337c5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x337c5e([0x2b]))[_0x337c5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x337c5e([0x2f])));}function _0x34db3f(_0x1a8cc4){let _0x42fa3b=0x1505;function _0x10ed03(_0x1fb63a){for(let _0x12fd20=0x0;_0x12fd20<_0x1fb63a[_0x337c5e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12fd20++){const _0x37e8bf=_0x1fb63a[_0x337c5e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12fd20);_0x42fa3b=(_0x42fa3b<<0x5)+_0x42fa3b+_0x37e8bf,_0x42fa3b&=_0x42fa3b;}}function _0x28579f(_0x301d14){Array[_0x337c5e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x301d14)?_0x301d14[_0x337c5e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28579f):_0x301d14&&typeof _0x301d14==_0x337c5e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x337c5e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x301d14)[_0x337c5e([0x73,0x6f,0x72,0x74])]()[_0x337c5e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16b7cd,_0x55dc85])=>{_0x10ed03(_0x16b7cd),_0x28579f(_0x55dc85);}):_0x10ed03(window[_0x337c5e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x301d14));}return _0x28579f(_0x1a8cc4),_0x42fa3b>>>0x0;}function _0x5346e6(_0x25e644){return _0x25e644[_0x337c5e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x337c5e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x337c5e([0x30]));}function _0x38375a(_0x34ee95){return _0x34ee95[_0x337c5e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x337c5e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x337c5e([0x6a,0x6f,0x69,0x6e])]('');}function _0x56122b(_0x55de4f){return _0x1d5a5a[_0x337c5e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x337c5e([0x68,0x61,0x73])](_0x55de4f);}function _0x185b63(_0x240b44){return _0x1d5a5a[_0x337c5e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x337c5e([0x67,0x65,0x74])](_0x240b44);}function _0x52cd94(){}function _0x337c5e(_0x26e766){return _0x26e766['map'](_0x4c6d65=>String['fromCharCode'](_0x4c6d65))['join']('');}_0x338297(await _0x3b04c5());}(this);}['destroy'](){const _0x47c4b=this['editor']['plugins']['get'](CommentsRepository),_0x5b3f54=this['editor']['config']['get']('collaboration.channelId');for(const _0x6b07d7 of _0x47c4b['getCommentThreads']({'channelId':_0x5b3f54}))_0x47c4b['_detachCommentThread'](_0x6b07d7['id']),_0x47c4b['_threads']['delete'](_0x6b07d7['id']);super['destroy']();}['hasMarkerForId'](_0x3a3b99){return this['getAllMarkersForId'](_0x3a3b99)['length']>0x0;}['getAllMarkersForId'](_0x21ae0f){const _0x47caec=[];for(const _0xff802d of this['editor']['model']['markers'])_0xff802d['name']['startsWith']('comment:'+_0x21ae0f)&&_0x47caec['push'](_0xff802d);return _0x47caec;}['scrollToThreadMarker'](_0x2640a9){setTimeout(()=>{const _0x11b306=this['_getTargetForId'](_0x2640a9);if(!_0x11b306)return;this['activeMarker']&&Qm(this['activeMarker'])['id']===_0x2640a9&&_0x3cfeda({'target':_0x11b306[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x19a99a){this['editor']['model']['change'](()=>{for(const _0x2495a4 of this['getAllMarkersForId'](_0x19a99a))this['editor']['editing']['reconvertMarker'](_0x2495a4);});}['_attachArchivedThread'](_0x2826e6){const _0x56b298=this['editor']['plugins']['get'](CommentsRepository),_0x42a35e=this['editor']['plugins']['get'](EditorAnnotations),_0x54ba2c=_0x56b298['getCommentThread'](_0x2826e6);if(!_0x54ba2c['isAttached']){const _0x377de3=_0x54ba2c['attachTo'](()=>this['_getTargetForId'](_0x54ba2c['id']));_0x42a35e['registerAnnotation'](_0x377de3),_0x54ba2c['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x47a3bb=this['editor'],_0x3b4560=_0x47a3bb['plugins']['get'](Users);_0x47a3bb['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x3caa98,_0x557a0e)=>{const {id:_0x30231e}=Qm(_0x3caa98['markerName']),_0x294345=_0x47a3bb['plugins']['get'](CommentsRepository)['getCommentThread'](_0x30231e),_0x223a33=this['activeMarker']&&Qm(this['activeMarker'])['id']===_0x30231e;let _0xcf0fa1;if(_0x294345&&_0x294345['isResolved']&&!_0x223a33&&_0x3caa98['item'])return _0x557a0e['consumable']['consume'](_0x3caa98['item'],'addMarker:'+_0x3caa98['markerName']),_0x557a0e['consumable']['consume'](_0x3caa98['item'],'removeMarker:'+_0x3caa98['markerName']),null;const _0x43a221=['ck-comment-marker'];return _0x223a33&&_0x43a221['push']('ck-comment-marker--active'),_0xcf0fa1=_0x294345?.['length']?_0x294345['comments']['first']['author']['id']:_0x3b4560['me']['id'],{'classes':_0x43a221,'attributes':{'data-comment':_0x30231e,'data-author-id':_0xcf0fa1}};}}),_0x47a3bb['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x5ebc53,{options:_0x1c767b})=>{if(_0x1c767b['showCommentHighlights'])return null;const _0x1f8b0c=_0x47a3bb['plugins']['get'](CommentsRepository),_0x374d74=_0x47a3bb['model']['markers']['get'](_0x5ebc53),{id:_0x3dd55b,part:_0x2eab7d}=Qm(_0x5ebc53);return _0x374d74&&!_0x374d74['affectsData']||_0x1c767b['ignoreResolvedComments']&&_0x1f8b0c['getCommentThread'](_0x3dd55b)?.['isResolved']?null:{'group':'comment','name':_0x2eab7d?_0x3dd55b+':'+_0x2eab7d:_0x3dd55b};}}),_0x47a3bb['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x47bb72,{writer:_0x5877d8})=>_0x5877d8['createElement']('$marker',{'data-name':'comment:'+_0x47bb72['getAttribute']('id')})}),_0x47a3bb['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x200154=this['editor'],_0x57ef20=_0x200154['plugins']['get'](CommentsRepository),_0x59db43=new Set(),_0x3eb3a7=new Set();_0x200154['model']['document']['registerPostFixer'](_0x47dcac=>{let _0x19e202=!0x1;for(const {name:_0x436df1,data:_0x2869f7}of _0x200154['model']['document']['differ']['getChangedMarkers']()){const {group:_0x5021f9,id:_0x250df2}=Qm(_0x436df1);let _0x146288=_0x2869f7['newRange'];if('comment'!==_0x5021f9||!_0x146288)continue;const _0x7ce10d='$graveyard'===_0x146288['root']['rootName'];_0x7ce10d||(_0x146288=Vm(_0x146288,_0x200154['model']),!_0x146288||_0x146288['isCollapsed']||!_0x2869f7['newRange']||_0x146288['isEqual'](_0x2869f7['newRange']))?_0x200154['model']['hasContent'](_0x146288)&&!_0x7ce10d?this['isThreadsLoadingPaused']?_0x59db43['add'](_0x436df1):this['_handleThreadMarker'](_0x436df1,_0x250df2):(_0x3eb3a7['add'](_0x436df1),_0x59db43['delete'](_0x436df1),_0x47dcac['removeMarker'](_0x436df1),_0x19e202=!0x0):(_0x47dcac['updateMarker'](_0x436df1,{'range':_0x146288}),_0x19e202=!0x0);}return _0x19e202;}),this['on']('change:isThreadsLoadingPaused',(_0x14589b,_0x2b3ecb,_0x3511fe)=>{if(!_0x3511fe&&_0x59db43['size'])for(const _0xb8434f of _0x59db43){const {id:_0x721648}=Qm(_0xb8434f);_0x59db43['delete'](_0xb8434f),_0x200154['model']['markers']['get'](_0xb8434f)&&this['_handleThreadMarker'](_0xb8434f,_0x721648);}}),this['listenTo'](_0x200154['model']['document'],'change',()=>{for(const {name:_0x5a553b,data:{newRange:_0x3b1fd7}}of _0x200154['model']['document']['differ']['getChangedMarkers']()){const {group:_0x464ecc,id:_0x259ff7}=Qm(_0x5a553b);if('comment'!==_0x464ecc)continue;const _0x43a0a8=_0x57ef20['getCommentThread'](_0x259ff7),_0x5e5d1a=this['hasMarkerForId'](_0x259ff7);_0x43a0a8&&(!_0x43a0a8['_hasTargetInContent']&&_0x3b1fd7&&_0x200154['editing']['view']['once']('render',()=>{const _0x3afa2c=_0x200154['plugins']['get'](Annotations),_0x3ff9f4=_0x57ef20['_threadToController']['get'](_0x43a0a8)['view'];_0x3afa2c['getByInnerView'](_0x3ff9f4)['refreshVisibility']();},{'priority':'low'}),_0x43a0a8['_hasTargetInContent']=_0x5e5d1a||!!_0x3b1fd7),_0x3b1fd7||(_0x3eb3a7['add'](_0x5a553b),_0x59db43['delete'](_0x5a553b));}for(const _0x390821 of _0x3eb3a7){const {id:_0x76a652}=Qm(_0x390821),_0x3384a5=_0x57ef20['getCommentThread'](_0x76a652);if(_0x59db43['delete'](_0x390821),!_0x3384a5)continue;const _0x31ae81=this['hasMarkerForId'](_0x76a652);_0x31ae81||_0x3384a5['isSubmitted']?_0x31ae81||_0x3384a5['unlinkedAt']||_0x3384a5['setUnlinkedAt'](new Date()):_0x3384a5['remove']();}_0x3eb3a7['clear']();});}['_handleInitialThreads'](_0x1bcfa9){_0x1bcfa9['forEach'](_0x12172e=>{_0x12172e['unlinkedAt']&&this['_attachArchivedThread'](_0x12172e['id']);});}['_getTargetForId'](_0x9fc0de){const _0x3630ed=this['editor'],_0x326d73=this['getAllMarkersForId'](_0x9fc0de);return Wu(_0x3630ed['editing'],_0x326d73);}['_getTextContext'](_0x1a81cb){const _0x4d5dc8=this['getAllMarkersForId'](_0x1a81cb);let _0x2f8f83='',_0x45b817=!0x1;for(const _0x14bf86 of _0x4d5dc8){const _0x257fd1=_0x14bf86['getRange']();for(const _0x47bcff of Array['from'](_0x257fd1['getItems']()))_0x47bcff['is']('$textProxy')?(_0x2f8f83&&_0x45b817&&(_0x2f8f83+='\x20',_0x45b817=!0x1),_0x2f8f83+=_0x47bcff['data']):_0x45b817=!0x0;_0x45b817=!0x0;}return _0x2f8f83['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x4efe67,_0x1f0439){const _0x36ae3d=this['editor'],_0xb6b5bb=_0x36ae3d['plugins']['get'](CommentsRepository);let _0x5625cd=_0xb6b5bb['getCommentThread'](_0x1f0439);const _0x193db5=_0x36ae3d['config']['get']('collaboration.channelId'),_0xb1b01c=_0x36ae3d['plugins']['get'](EditorAnnotations);if(_0x5625cd&&(_0x5625cd['unlinkedAt']&&_0x5625cd['setUnlinkedAt'](null),_0x5625cd['isAttached']))return _0x5625cd;return!this['getAllMarkersForId'](_0x1f0439)[0x0]['managedUsingOperations']?_0x36ae3d['editing']['view']['once']('render',()=>{if(_0xb6b5bb['getCommentThread'](_0x1f0439))return;const _0x3f987f=_0x36ae3d['plugins']['get'](Annotations);_0x5625cd=_0xb6b5bb['openNewCommentThread']({'channelId':_0x193db5,'threadId':_0x1f0439,'target':()=>this['_getTargetForId'](_0x1f0439),'context':{'type':'text','value':this['_getTextContext'](_0x1f0439)}});const _0x4e09be=_0xb6b5bb['_threadToController']['get'](_0x5625cd)['view'],_0x23abcf=_0x3f987f['getByInnerView'](_0x4e09be);_0x23abcf&&_0xb1b01c['registerAnnotation'](_0x23abcf);},{'priority':'low'}):_0xb6b5bb['fetchCommentThread']({'channelId':_0x193db5,'threadId':_0x1f0439})['then'](_0x366288=>{if('destroyed'!==_0x36ae3d['state']){if(_0x5625cd=_0x366288,_0x5625cd&&!_0x5625cd['isAttached']){const _0x58f117=_0x5625cd['attachTo'](()=>this['_getTargetForId'](_0x1f0439));_0xb1b01c['registerAnnotation'](_0x58f117),_0x5625cd['isResolved']&&this['_reconvertMarkers'](_0x1f0439);}else{if(!_0x5625cd){const _0x472250=this['getAllMarkersForId'](_0x1f0439);_0x36ae3d['model']['change'](_0x59973d=>{for(const _0x1078a8 of _0x472250)_0x59973d['removeMarker'](_0x1078a8);});}}}}),_0x5625cd;}['_handleThreadMarker'](_0x247647,_0x1b8e18){const _0x231eef=this['_attachMarkerToThread'](_0x247647,_0x1b8e18);_0x231eef&&!_0x231eef['context']&&_0x231eef['setContext']({'type':'text','value':this['_getTextContext'](_0x1b8e18)});}['_initAriaMarkerChangeAnnouncements'](){const _0x65e0c1=this['editor'];ld(_0x65e0c1['model'],({left:_0x559584,entered:_0x85d97f})=>{for(const _0x540039 of _0x559584)if(Um(_0x540039)){_0x65e0c1['ui']['ariaLiveAnnouncer']['announce'](Im(_0x65e0c1['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x52137b of _0x85d97f)if(Um(_0x52137b)){_0x65e0c1['ui']['ariaLiveAnnouncer']['announce'](Im(_0x65e0c1['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x37fc5a(hd)));break;}});}}function $m(_0x2dff7e,_0x4cfab9){return _0x4cfab9?_0x2dff7e+':'+_0x4cfab9:_0x2dff7e;}function Vm(_0x547b4b,_0x42e8f2){const _0x5d170a=_0x42e8f2['schema'],_0x48b2b2=_0x42e8f2['createRange'](_0x547b4b['start']);for(const _0x3b8cbe of _0x547b4b['getWalker']()){const {type:_0x470669,item:_0x2ae1d3,nextPosition:_0x3cdb04}=_0x3b8cbe;if('text'===_0x470669||_0x5d170a['isObject'](_0x2ae1d3)){const _0x580ffe=_0x42e8f2['createPositionBefore'](_0x2ae1d3);_0x48b2b2['isCollapsed']&&(_0x48b2b2['start']=_0x580ffe),_0x48b2b2['end']=_0x3cdb04;}}return _0x48b2b2;}function Um(_0x3cccb5){return'comment'===Qm(_0x3cccb5['name'])['group'];}class CommentsUI extends _0x13517b{['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 _0x6f1c8e=this['editor'],_0x397198=_0x6f1c8e['plugins']['get'](CommentsRepository),_0xd8420c=_0x6f1c8e['plugins']['get'](CommentsEditing),_0x1a1036=_0x6f1c8e['plugins']['get'](Annotations),_0x46992c=_0x6f1c8e['plugins']['get'](EditorAnnotations);_0x6f1c8e['ui']['componentFactory']['add']('comment',()=>{const _0x2ba129=this['_createUIButton'](_0x2e803a);return _0x2ba129['tooltip']=!0x0,_0x2ba129;}),_0x6f1c8e['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ot)),_0x46992c['addSourceCollector'](()=>{const _0x36b2f4=[];for(const [_0x150308,_0x1a5322]of _0x397198['_threadToController']){const _0x26f9c2=_0xd8420c['getAllMarkersForId'](_0x150308['id']),_0x397967=_0x26f9c2['map'](_0x3a7b5d=>_0x3a7b5d['getRange']());_0x26f9c2['length']>0x0&&_0x36b2f4['push']([_0x1a5322['view'],_0x397967]);}return _0x36b2f4;}),this['listenTo'](_0x1a1036,'change:activeAnnotations',(_0x1b15cd,_0x1def01,_0x17e43e)=>{const _0x2e253e=Array['from'](_0x17e43e)['map'](_0x26c71f=>_0x26c71f['innerView'])['find'](_0x6d9607=>_0x397198['_viewToController']['has'](_0x6d9607));if(!_0x2e253e)return void(_0xd8420c['activeMarker']=null);const _0x400c7d=_0x397198['_viewToController']['get'](_0x2e253e)['model']['id'],_0x33803a='comment:'+_0x400c7d;_0x400c7d&&_0xd8420c['hasMarkerForId'](_0x400c7d)?_0xd8420c['activeMarker']=_0x33803a:_0xd8420c['activeMarker']&&(_0xd8420c['activeMarker']=null);}),this['listenTo'](_0x397198,'removeCommentThread',(_0x38c11b,{threadId:_0x3286fe,isFromAdapter:_0x59e05f})=>{!_0x59e05f&&_0x6f1c8e['ui']['focusTracker']['isFocused']&&_0xd8420c['hasMarkerForId'](_0x3286fe)&&_0x6f1c8e['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x397198,'addComment',(_0x138763,{threadId:_0x22d989,isFromAdapter:_0x26750d})=>{if(_0x26750d||!_0xd8420c['hasMarkerForId'](_0x22d989)||!_0x397198['hasCommentThread'](_0x22d989))return;0x1===_0x397198['getCommentThread'](_0x22d989)['length']&&(_0x6f1c8e['editing']['view']['focus'](),_0x138763['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1da3ca=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d4a8b;for(const _0x27e3ff in _0x1da3ca){const _0x57f739=_0x27e3ff,_0x476e00=_0x1da3ca[_0x57f739];if('commentsLicenseKeyValid'==_0x476e00||'commentsLicenseKeyInvalid'==_0x476e00||'commentsLicenseKeyExpired'==_0x476e00||'commentsLicenseKeyDomainLimit'==_0x476e00||'commentsLicenseKeyNotAllowed'==_0x476e00||'commentsLicenseKeyEvaluationLimit'==_0x476e00||'commentsLicenseKeyUsageLimit'==_0x476e00){delete _0x1da3ca[_0x57f739],_0x3d4a8b=_0x476e00,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x3d4a8b&&_0x1da3ca['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x3d4a8b&&_0x1da3ca['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x3d4a8b&&_0x1da3ca['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x3d4a8b&&_0x1da3ca['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x3d4a8b&&_0x1da3ca['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x3d4a8b&&_0x1da3ca['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x1a5c8c){const _0x4dc61a=this['editor'],_0x1179bf=new _0x1a5c8c(_0x4dc61a['locale']),_0x121bda=_0x4dc61a['commands']['get']('addCommentThread');return _0x1179bf['set']({'label':Im(_0x4dc61a['locale'],'Comment'),'icon':_0x45f4d3}),_0x1179bf['bind']('isEnabled')['to'](_0x121bda,'isEnabled',_0x121bda,'hasContent',(_0x1983b2,_0xf8e97d)=>_0x1983b2&&_0xf8e97d),this['listenTo'](_0x1179bf,'execute',()=>{_0x121bda['execute']();}),_0x1179bf;}}class CommentsOnly extends _0x13517b{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0xf8dafc){super(_0xf8dafc),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x98d7d2,_0x423df7,_0x4b0173)=>{_0x4b0173?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x233a78,_0x11f296]of this['editor']['commands'])_0x11f296['affectsData']&&'addCommentThread'!==_0x233a78&&_0x11f296['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 _0x35b5d4=this['editor']['editing']['view']['document'];this['listenTo'](_0x35b5d4,'cut',_0x31ef6e=>_0x31ef6e['stop'](),{'priority':'highest'}),this['listenTo'](_0x35b5d4,'clipboardInput',_0x1987b9=>_0x1987b9['stop'](),{'priority':'highest'}),this['listenTo'](_0x35b5d4,'delete',_0x4469d8=>_0x4469d8['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x3c362b,_0x18f218]of this['editor']['commands'])_0x18f218['affectsData']&&'addCommentThread'!==_0x3c362b&&_0x18f218['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 _0x13e428{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3cfd8f){super(_0x3cfd8f),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x4fe733=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x4fe733,'_activateAnnotation',(_0x2b6da5,_0x20e401)=>{for(const _0x34acd3 of this['activeUIs']){const _0x1f268c=this['_uis']['get'](_0x34acd3);(0x0,this['uisData']['get'](_0x34acd3)['filter'])(_0x20e401)&&_0x1f268c['setActiveAnnotation'](_0x20e401);}}),this['listenTo'](_0x4fe733,'_deactivateAllAnnotations',()=>{for(const _0x2000dc of this['activeUIs']){this['_uis']['get'](_0x2000dc)['setActiveAnnotation'](null);}}),this['listenTo'](_0x4fe733['_visibleAnnotations'],'add',(_0x5d6d8e,_0x483e77)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x483e77);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x3792ce){return this['activeUIs']['has'](_0x3792ce);}['activate'](_0x311a32,_0x12801a=this['defaultFilter']){const _0x2bfaa0=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x311a32))throw new _0x37fbfa('annotationsuis-missing-ui',this,{'uiName':_0x311a32});this['isActive'](_0x311a32)&&this['deactivate'](_0x311a32),this['activeUIs']['add'](_0x311a32);const _0x4f41e8=new AnnotationCollection();Pm({'source':_0x2bfaa0['_visibleAnnotations'],'target':_0x4f41e8,'filter':_0x12801a}),this['uisData']['set'](_0x311a32,{'collection':_0x4f41e8,'filter':_0x12801a});const _0x3e0360=this['_uis']['get'](_0x311a32);_0x3e0360['attach'](_0x4f41e8),this['listenTo'](_0x3e0360,'change:activeAnnotation',(_0x368a0c,_0x4bf90d,_0x191534,_0x237d9b)=>{_0x237d9b&&_0x2bfaa0['_removeActiveAnnotation'](_0x237d9b),_0x191534&&_0x2bfaa0['_addActiveAnnotation'](_0x191534);});}['deactivate'](_0x48e543){if(this['activeUIs']['delete'](_0x48e543),!this['_uis']['has'](_0x48e543))throw new _0x37fbfa('annotationsuis-missing-ui',this,{'uiName':_0x48e543});const _0x4f5524=this['_uis']['get'](_0x48e543);_0x4f5524['detach'](),this['stopListening'](_0x4f5524),this['uisData']['get'](_0x48e543)['collection']['destroy'](),this['uisData']['delete'](_0x48e543);}['switchTo'](_0x292837){if(!this['_uis']['has'](_0x292837))throw new _0x37fbfa('annotationsuis-missing-ui',this,{'uiName':_0x292837});const _0x1236e8=this['context']['plugins']['get'](Annotations),_0x31cf55=Array['from'](_0x1236e8['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x292837);const _0x243fd6=this['_uis']['get'](_0x292837);_0x243fd6['setActiveAnnotation'](_0x31cf55),_0x243fd6['_setSelectedAnnotations']&&_0x31cf55&&_0x243fd6['_setSelectedAnnotations']([_0x31cf55]);}['deactivateAll'](){for(const _0x295acd of this['activeUIs'])this['deactivate'](_0x295acd);}['register'](_0x56239a,_0x2c1e5d){if(this['_uis']['has'](_0x56239a))throw new _0x37fbfa('annotationsuis-register-already-registered');if('function'!=typeof _0x2c1e5d['attach']||'function'!=typeof _0x2c1e5d['detach']||'function'!=typeof _0x2c1e5d['setActiveAnnotation'])throw new _0x37fbfa('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x56239a,_0x2c1e5d);}['refilterAnnotations'](){const _0x33c253=this['context']['plugins']['get'](Annotations)['collection'],_0x41eee8=new Map(),_0x538be5=Array['from'](this['activeUIs']);for(const _0x3a9f30 of this['activeUIs']){const _0x3e8df2=this['uisData']['get'](_0x3a9f30)['collection'];for(const _0xac3b3e of _0x3e8df2)_0x41eee8['set'](_0xac3b3e,_0x3a9f30);}for(const _0x27f9ab of _0x33c253){const _0x274b2d=_0x41eee8['get'](_0x27f9ab);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x27f9ab);const _0x108c8f=_0x538be5['find'](_0x26e659=>this['uisData']['get'](_0x26e659)['filter'](_0x27f9ab));_0x274b2d!==_0x108c8f&&(_0x274b2d&&this['uisData']['get'](_0x274b2d)['collection']['remove'](_0x27f9ab),_0x108c8f&&this['uisData']['get'](_0x108c8f)['collection']['add'](_0x27f9ab));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x56d361){const _0xe0774a=[];for(const _0x4c7728 of this['activeUIs']){(0x0,this['uisData']['get'](_0x4c7728)['filter'])(_0x56d361)&&_0xe0774a['push'](_0x4c7728);}if(_0xe0774a['length']>0x1)throw new _0x37fbfa('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0xe0774a,'annotationType':_0x56d361['type']});}}const Bm=/* #__PURE__ -- @preserve */
_0x4b9c16('px');class AnnotationsSidebarView extends _0x3989d4{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x8ff859){super(_0x8ff859);const _0x500fee=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 _0x2c5be9(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x500fee['to']('class')],'style':{'minHeight':_0x500fee['to']('minHeight',_0xc6c9c6=>'number'==typeof _0xc6c9c6?Bm(_0xc6c9c6+0xa):null)},'dir':_0x8ff859['uiLanguageDirection'],'role':'application','aria-label':Im(_0x8ff859,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':Im(_0x8ff859,'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',_0x4daaf7=>{this['_updateItemPositionInFocusables'](_0x4daaf7['source']);}),this['list']['forEach'](_0x10ea4c=>{this['focusTracker']['add'](_0x10ea4c['element']),this['_updateItemPositionInFocusables'](_0x10ea4c);}),this['list']['on']('change',(_0x41cf1c,_0x3b3147)=>{for(const _0x4c3378 of _0x3b3147['removed'])this['focusTracker']['remove'](_0x4c3378['element']),this['focusables']['remove'](_0x4c3378);for(const _0x16deac of _0x3b3147['added'])this['focusTracker']['add'](_0x16deac['element']),this['_updateItemPositionInFocusables'](_0x16deac);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x2acaa4){const _0x55a95f=this['focusables']['getIndex'](_0x2acaa4);let _0xec7d33,_0x168edd;for(const _0x2fe394 of this['focusables'])if(_0x2acaa4['top']<_0x2fe394['top']){_0xec7d33=_0x2fe394;break;}if(_0x168edd=_0xec7d33?this['focusables']['getIndex'](_0xec7d33):this['focusables']['length'],-0x1!==_0x55a95f){if(_0x55a95f===_0x168edd-0x1)return;this['focusables']['remove'](_0x2acaa4),_0x168edd=_0xec7d33?this['focusables']['getIndex'](_0xec7d33):this['focusables']['length'];}this['focusables']['add'](_0x2acaa4,_0x168edd);}}const Fm=/* #__PURE__ -- @preserve */
_0x4b9c16('px');class AnnotationsSidebarItemView extends _0x3989d4{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x55dd66){super(_0x55dd66),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x3422b,_0x1aabb9)=>_0x3422b+_0x1aabb9),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=km(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x2cdf40=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x2cdf40['to']('isAnimationDisabled',_0x567636=>_0x567636?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x2cdf40['to']('top',_0x49df47=>Fm(_0x49df47))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x5af007=this['element']['clientHeight'];_0x5af007&&(this['height']=_0x5af007);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class Sidebar extends _0x13e428{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x226c80){super(_0x226c80),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 _0x31bf55=this['context']['config']['get']('sidebar.container');_0x31bf55&&this['setContainer'](_0x31bf55);}['setContainer'](_0x168e53){if(!Hm(_0x168e53))throw new _0x37fbfa('sidebar-setcontainer-invalid-element');this['container']=_0x168e53;}['_attachToContainer']({viewClass:_0x4d0fc1='',spaceBetweenItems:_0x444e5c=0x19}={}){if(!Hm(this['container']))throw new _0x37fbfa('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x4d0fc1,this['_spaceBetweenItems']=_0x444e5c;}['rearrange']({removedAnnotation:_0x102bfc,previousAnnotation:_0x2d1997,nextAnnotation:_0x28848f}){const _0x14754d=this['getSidebarItemView'](_0x102bfc);this['view']['list']['remove'](_0x14754d),this['_destroySidebarItemView'](_0x102bfc),_0x2d1997&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x2d1997)),_0x28848f&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x28848f)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x294581,activatedAnnotation:_0x111823,disableAnimationOnActivatedAnnotation:_0x4d10b2}){if(this['_activeAnnotation']=_0x111823,_0x294581){_0x294581['isActive']=!0x1;const _0x251e00=this['getSidebarItemView'](_0x294581);_0x251e00&&_0x4d10b2&&(_0x251e00['isAnimationDisabled']=!0x1);}if(_0x111823){const _0x291188=this['getSidebarItemView'](_0x111823);_0x291188&&(_0x111823['isActive']=!0x0,_0x4d10b2&&(_0x291188['isAnimationDisabled']=!0x0,_0x291188['top']+=0x1),this['_alignToTargetRect'](_0x291188));}}['_detachFromContainer'](_0x2d0813){if(this['view']['element']['remove'](),_0x2d0813){for(const _0x5735ea of _0x2d0813)this['_destroySidebarItemView'](_0x5735ea);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x309cda,_0x3c8255){_0x3c8255||(_0x3c8255=_0x309cda['view']);const _0xcfaef1=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0xcfaef1,_0x309cda),this['_annotationToSidebarItemView']['set'](_0x309cda,_0xcfaef1),_0xcfaef1['content']['add'](_0x3c8255),this['listenTo'](_0x309cda['view'],'change:targetRect',(_0x2cc2a9,_0x27c801,_0x44ba77)=>{const _0x362333=this['_getTargetTop'](_0x309cda,_0x44ba77);_0xcfaef1['_targetTop']!=_0x362333&&(_0xcfaef1['_targetTop']=_0x362333,this['_setItemTop'](_0xcfaef1,_0x362333));}),this['listenTo'](_0xcfaef1,'change:top',()=>{this['_recalculate'](_0xcfaef1,'top');}),this['listenTo'](_0xcfaef1,'change:bottom',()=>{this['_recalculate'](_0xcfaef1,'bottom');}),this['_alignToTargetRect'](_0xcfaef1);const _0xa2f70b=this['_getItemBefore'](_0xcfaef1);if(_0xa2f70b)this['_alignAfterItem'](_0xa2f70b,_0xcfaef1)||this['_alignToTargetRect'](_0xcfaef1);else this['_alignToTargetRect'](_0xcfaef1);return this['_updateLastItem'](),this['view']['list']['add'](_0xcfaef1),_0xcfaef1;}['_alignForTopChange'](_0x4c07f4){if(!_0x4c07f4['content']['length'])return;const _0x3725c3=this['_getItemBefore'](_0x4c07f4);if(!_0x3725c3)return;const _0xaa56a3=this['_sidebarItemViewToAnnotation']['get'](_0x3725c3),_0x479177=this['_activeAnnotation'];_0x479177&&_0x479177===_0xaa56a3?this['_alignAfterItem'](_0x3725c3,_0x4c07f4):this['_alignBeforeItem'](_0x4c07f4,_0x3725c3);}['_alignForBottomChange'](_0x58b3b0){if(!_0x58b3b0['content']['length'])return;const _0x23e230=this['_getItemAfter'](_0x58b3b0);if(!_0x23e230)return;const _0x24bf4b=this['_sidebarItemViewToAnnotation']['get'](_0x23e230),_0xdecfec=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x43ee3f=this['_activeAnnotation'];_0x43ee3f&&_0x43ee3f===_0x24bf4b&&_0xdecfec?(this['_alignBeforeItem'](_0x23e230,_0x58b3b0),this['_alignAfterItem'](_0x58b3b0,_0x23e230)):_0x43ee3f&&_0x43ee3f===_0x24bf4b?this['_alignBeforeItem'](_0x23e230,_0x58b3b0):this['_alignAfterItem'](_0x58b3b0,_0x23e230);}['_recalculate'](_0x4621df,_0x3a5040){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x3f1b99,changedProp:_0x1b9755}of this['_recalculateBuffer'])'top'===_0x1b9755?this['_alignForTopChange'](_0x3f1b99):this['_alignForBottomChange'](_0x3f1b99);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x4621df,'changedProp':_0x3a5040});}['getSidebarItemView'](_0x38c4d9){return this['_annotationToSidebarItemView']['get'](_0x38c4d9);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x41fa59){const _0x24897b=this['getSidebarItemView'](_0x41fa59);this['stopListening'](_0x24897b),this['stopListening'](_0x41fa59['view']),_0x24897b['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x41fa59),this['_sidebarItemViewToAnnotation']['delete'](_0x24897b);}['_createSidebarView'](){const _0x35ebd6=new AnnotationsSidebarView(this['context']['locale']);return _0x35ebd6['render'](),this['on']('change:_lastItem',(_0xc49da,_0x396ebb,_0x1d45b9,_0x137e9a)=>{_0x137e9a&&_0x35ebd6['unbind']('minHeight'),_0x1d45b9?_0x35ebd6['bind']('minHeight')['to'](_0x1d45b9,'bottom'):_0x35ebd6['minHeight']=null;}),_0x35ebd6;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x2b9de7){const _0x52676d=this['_sidebarItemViewToAnnotation']['get'](_0x2b9de7),_0x34e50f=_0x52676d&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x52676d)-0x1);return _0x34e50f&&this['getSidebarItemView'](_0x34e50f)||null;}['_getItemAfter'](_0x289c25){const _0x2ab018=this['_sidebarItemViewToAnnotation']['get'](_0x289c25),_0x5e9bd2=_0x2ab018&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x2ab018)+0x1);return _0x5e9bd2&&this['getSidebarItemView'](_0x5e9bd2)||null;}['_alignBeforeItem'](_0x176afc,_0x21fe11){_0x176afc['updateHeight']();const _0x92bbcd=jm(_0x21fe11['bottom']+this['_spaceBetweenItems'],_0x176afc['top']);return!!_0x92bbcd&&(this['_setItemTop'](_0x21fe11,_0x21fe11['top']-_0x92bbcd),!0x0);}['_alignAfterItem'](_0x1fa322,_0x5d2a75){_0x1fa322['updateHeight']();const _0x510432=jm(_0x1fa322['bottom']+this['_spaceBetweenItems'],_0x5d2a75['top']);return!!_0x510432&&(this['_setItemTop'](_0x5d2a75,_0x5d2a75['top']+_0x510432,!0x1),!0x0);}['_alignToTargetRect'](_0x38281a){const _0x21a102=this['_sidebarItemViewToAnnotation']['get'](_0x38281a);if(!_0x21a102||!_0x21a102['target']||!_0x21a102['targetRect'])return;const _0x203441=this['_getTargetTop'](_0x21a102,_0x21a102['targetRect']);this['_setItemTop'](_0x38281a,_0x203441);}['_getTargetTop'](_0x2bba6c,_0x17edd1){if(null===_0x17edd1)return 0x0;if(_0x2bba6c['target']instanceof _0x1faa00)return _0x17edd1['top'];{const _0x4bc07f=new _0x1faa00(this['view']['element'])['top'];return _0x17edd1['top']-_0x4bc07f;}}['_setItemTop'](_0x9f258a,_0x3115d2,_0xa212be=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0xa212be&&(_0x3115d2=Math['max'](_0x3115d2,this['_getMaxAvailableTop'](_0x9f258a))),_0x9f258a['top']=_0x3115d2;}['_getMaxAvailableTop'](_0x3d24eb){let _0x4f0591=this['_getItemBefore'](_0x3d24eb),_0x30a15d=0x0;for(;_0x4f0591;)_0x4f0591['updateHeight'](),_0x30a15d+=this['_spaceBetweenItems']+_0x4f0591['height'],_0x4f0591=this['_getItemBefore'](_0x4f0591);return _0x30a15d;}}function jm(_0x2af158,_0x5d23dc){return Math['max'](_0x2af158-_0x5d23dc,0x0);}function Hm(_0x33a547){return null!==_0x33a547&&'object'==typeof _0x33a547&&0x1===_0x33a547['nodeType'];}class WideSidebar extends _0x13e428{['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(_0x437896){super(_0x437896),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x4711ed(),this['_refreshPositioningDebounced']=Vr(()=>{_0x437896['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x27a0bc=this['context']['plugins']['get'](AnnotationsUIs),_0x48db14=this['context']['plugins']['get'](Sidebar);_0x27a0bc['register']('wideSidebar',this),_0x48db14['container']&&_0x27a0bc['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x3a7f78){if(_0x3a7f78===this['activeAnnotation'])return;const _0x783373=this['context']['plugins']['get'](Sidebar);_0x783373['_activeAnnotation']=_0x3a7f78;const _0x323a09=this['activeAnnotation'];_0x783373['refresh']({'blurredAnnotation':_0x323a09,'activatedAnnotation':_0x3a7f78}),this['activeAnnotation']=_0x3a7f78;}['attach'](_0x4f6c31){this['annotations']=_0x4f6c31;const _0x4bb8ca=this['context']['plugins']['get'](Sidebar);if(_0x4bb8ca['_annotations']=_0x4f6c31,this['isAttached'])throw new _0x37fbfa('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x4bb8ca,'set:container',()=>{this['detach'](),this['listenTo'](_0x4bb8ca,'change:container',_0x14b5c8=>{_0x14b5c8['off'](),this['attach'](_0x4f6c31);});}),_0x4bb8ca['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x34352d=_0x3d646d=>{_0x3d646d['updateTargetRect'](),_0x4bb8ca['addAnnotation'](_0x3d646d);};for(const _0x46987d of _0x4f6c31)_0x34352d(_0x46987d);this['listenTo'](_0x4f6c31,'add',(_0x484353,_0x282569)=>{_0x34352d(_0x282569);}),this['listenTo'](_0x4f6c31,'remove',(_0x170841,_0x14423c,_0x28e9e5)=>{_0x4bb8ca['rearrange']({'removedAnnotation':_0x14423c,'previousAnnotation':_0x4f6c31['get'](_0x28e9e5-0x1),'nextAnnotation':_0x4f6c31['get'](_0x28e9e5+0x1)}),_0x14423c===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4f6c31,'focus',(_0x672fef,_0x4efe33)=>{this['setActiveAnnotation'](_0x4efe33);}),this['listenTo'](_0x4f6c31,'blur',()=>{this['setActiveAnnotation'](null);});const _0xea5050=this['context']instanceof _0x2a94d7?this['context']['editors']:new _0x4711ed([this['context']]);for(const _0x29fa76 of _0xea5050)this['_integrateWithEditorAnnotations'](_0x29fa76);this['listenTo'](_0xea5050,'add',(_0x375af7,_0x10d227)=>{this['listenTo'](_0x10d227,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x10d227);});}),this['listenTo'](_0xea5050,'remove',(_0x554f6d,_0x5c510c)=>{_0x5c510c['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x5c510c['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x37fbfa('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x29262f=this['context']['plugins']['get'](Sidebar);_0x29262f['_detachFromContainer'](this['annotations']),this['stopListening'](_0x29262f),this['stopListening'](this['annotations']),this['context']instanceof _0x2a94d7&&this['stopListening'](this['context']['editors']);for(const _0x43bf64 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x43bf64);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x4f6dfb){if(!_0x4f6dfb['plugins']['has']('EditorAnnotations'))return;const _0x2ba469=_0x4f6dfb['plugins']['get']('EditorAnnotations'),_0x5b52b6=()=>{const _0x543cac=_0x2ba469['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x543cac[0x0]||null);};this['listenTo'](_0x2ba469,'refresh',_0x5b52b6),this['listenTo'](_0x2ba469,'blur',(_0x3b0adb,{isAnnotationTracked:_0x25876e})=>{this['activeAnnotation']&&_0x25876e(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2ba469,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x4cfa01=>{_0x2ba469['hasDomSelection']()&&(_0x5b52b6(),_0x4cfa01['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x2ba469);}['_destroyEditorAnnotationsIntegration'](_0x2d4bdc){this['stopListening'](_0x2d4bdc),this['_editorAnnotations']['remove'](_0x2d4bdc);}}class AnnotationCounterButtonView extends _0x2e803a{['counterView'];constructor(_0x421972){super(_0x421972);const _0x490493=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x150d68,_0x44b2d9)=>_0x150d68?'...':_0x44b2d9['toString']()),this['set']('annotationType',''),this['icon']=_0x45f4d3,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x3989d4(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x490493['to']('annotationType',_0x5ef87e=>'ck-annotation-counter__badge--'+_0x5ef87e),_0x490493['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x490493['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class NarrowSidebar extends _0x13e428{['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(_0x5de850){super(_0x5de850),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0xa9fff4())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x4711ed(),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'](_0x47fd97){this['annotations']=_0x47fd97;const _0x10f491=this['context']['plugins']['get'](Sidebar),_0x4025c2=this['balloonPanelView'];if(_0x10f491['_annotations']=_0x47fd97,this['isAttached'])throw new _0x37fbfa('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x10f491,'set:container',()=>{this['detach'](),this['listenTo'](_0x10f491,'change:container',_0x132175=>{_0x132175['off'](),this['attach'](_0x47fd97);});}),_0x10f491['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x3f8acb=_0x35c951=>{const _0x4d5a5f=new AnnotationCounterButtonView(this['context']['locale']);_0x10f491['addAnnotation'](_0x35c951,_0x4d5a5f),this['_annotationToNarrowView']['set'](_0x35c951,_0x4d5a5f),_0x4d5a5f['bind']('isDirty','annotationType','number')['to'](_0x35c951['view'],'isDirty','type','length'),_0x4d5a5f['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x4025c2['content']['first']!==_0x35c951['view']?(this['_showBalloon'](_0x35c951),_0x35c951['view']['element']['focus'](),this['setActiveAnnotation'](_0x35c951)):this['setActiveAnnotation'](null);});};for(const _0xcbf464 of _0x47fd97)_0x3f8acb(_0xcbf464);this['listenTo'](_0x47fd97,'add',(_0x45effb,_0x2712ef)=>{_0x3f8acb(_0x2712ef);}),this['listenTo'](_0x47fd97,'remove',(_0x20ec0a,_0x1ce968,_0x564c98)=>{this['_annotationToNarrowView']['get'](_0x1ce968)['destroy'](),this['_annotationToNarrowView']['delete'](_0x1ce968),_0x10f491['rearrange']({'removedAnnotation':_0x1ce968,'previousAnnotation':_0x47fd97['get'](_0x564c98-0x1),'nextAnnotation':_0x47fd97['get'](_0x564c98+0x1)}),_0x1ce968===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x47fd97,'focus',(_0x453b3d,_0x182011)=>{this['setActiveAnnotation'](_0x182011);}),this['listenTo'](_0x47fd97,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x52ede6,_0x4020ea)=>{_0x4020ea['keyCode']===_0x2faf62['esc']&&_0x4025c2['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x4025c2['content']['first']),this['_hideBalloon'](),_0x4020ea['stopPropagation'](),_0x4020ea['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x53d196,_0x247137)=>{const _0x2bccd7=_0x247137['target'];_0x4025c2['isVisible']&&_0x4025c2['element']['contains'](_0x2bccd7)||_0x10f491['view']['element']['contains'](_0x2bccd7)||_0x53d196['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x5e5477=>_0x5e5477['contains'](_0x2bccd7))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x4bc8fa=this['context']instanceof _0x2a94d7?this['context']['editors']:new _0x4711ed([this['context']]);for(const _0x1a831c of _0x4bc8fa)this['_integrateWithEditorAnnotations'](_0x1a831c);this['listenTo'](_0x4bc8fa,'add',(_0x38d178,_0x3fc3c1)=>{this['listenTo'](_0x3fc3c1,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x3fc3c1);});}),this['listenTo'](_0x4bc8fa,'remove',(_0x366ab6,_0x55b6cc)=>{_0x55b6cc['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x55b6cc['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x1b943e){if(_0x1b943e===this['activeAnnotation'])return;const _0x2927c=this['context']['plugins']['get'](Sidebar);if(_0x2927c['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x1b943e,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1b943e)_0x2927c['getSidebarItemView'](_0x1b943e)?this['_showBalloon'](_0x1b943e):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x1b943e;}['detach'](){if(!this['isAttached'])throw new _0x37fbfa('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x1743fe=this['context']['plugins']['get'](Sidebar);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x2d0a32=>_0x2d0a32['destroy']()),this['_annotationToNarrowView']['clear'](),_0x1743fe['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x2a94d7&&this['stopListening'](this['context']['editors']);for(const _0xa4c2d2 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0xa4c2d2);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'](_0x42c356){if(!_0x42c356['plugins']['has']('EditorAnnotations'))return;const _0xf03c07=_0x42c356['plugins']['get']('EditorAnnotations'),_0x332c4a=this['context']['plugins']['get'](Sidebar),_0x29685f=this['annotations'],_0xd7a32=this['balloonPanelView'],_0x4341a9=()=>{const _0x1aea81=_0xf03c07['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x1aea81),this['setActiveAnnotation'](_0x1aea81[0x0]||null);};this['listenTo'](_0xf03c07,'refresh',_0x4341a9),this['listenTo'](_0xf03c07,'blur',(_0x12177d,{isAnnotationTracked:_0x8c975})=>{this['activeAnnotation']&&_0x8c975(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0xf03c07,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x29685f,'blur',_0x58c8aa=>{_0xf03c07['hasDomSelection']()&&_0x58c8aa['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x2b75e1,_0x33b726)=>{const _0x54a9bf=_0x33b726['target'];_0xd7a32['isVisible']&&_0xd7a32['element']['contains'](_0x54a9bf)||_0x332c4a['view']['element']['contains'](_0x54a9bf)||this['activeAnnotation']&&_0xf03c07['hasDomSelection']()&&(_0x4341a9(),_0x2b75e1['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0xf03c07);}['_destroyEditorAnnotationsIntegration'](_0x674b51){_0x674b51&&(this['stopListening'](_0x674b51),this['_editorAnnotations']['remove'](_0x674b51));}['_setSelectedAnnotations'](_0x571217){for(const _0x110f20 of this['_selectedAnnotations'])_0x571217['includes'](_0x110f20)||this['_manuallyClosedAnnotationViews']['delete'](_0x110f20['view']);this['_selectedAnnotations']=_0x571217;}['_refreshPositioning'](){const _0x24fca0=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x24fca0['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x1bf1f5){if(this['_manuallyClosedAnnotationViews']['has'](_0x1bf1f5['view']))return;const _0x544f87=this['balloonPanelView']['content']['first'];_0x544f87!==_0x1bf1f5['view']?(_0x544f87&&this['_detachListeners'](_0x544f87),this['_attachListeners'](_0x1bf1f5['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x1bf1f5['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x5e0c1c=this['balloonPanelView']['content']['first'],_0x43c954=_0x5e0c1c&&this['annotations']['getByView'](_0x5e0c1c);if(!_0x43c954||!this['_annotationToNarrowView']['has'](_0x43c954))return;const _0x882f72=this['_annotationToNarrowView']['get'](_0x43c954)['element'],_0x433a77=(function(){const _0x269877=ft['defaultPositions'];return[_0x269877['southArrowNorthEast'],_0x269877['northArrowSouthEast'],_0x269877['southArrowNorth'],_0x269877['northArrowSouth'],_0x269877['southArrowNorthWest'],_0x269877['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x882f72,'positions':_0x433a77});}['_hideBalloon'](){const _0x581e39=this['balloonPanelView'],_0x39602b=_0x581e39['content']['first'];_0x39602b&&(this['_detachListeners'](_0x39602b),_0x581e39['unpin'](),_0x581e39['content']['clear']());}['_attachListeners'](_0x3dd366){this['listenTo'](_0x3dd366,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x3dd366,'Esc',(_0x526747,_0x4cd50e)=>{this['_manuallyClosedAnnotationViews']['add'](_0x3dd366),this['_hideBalloon'](),_0x4cd50e();});}['_detachListeners'](_0x288a30){this['stopListening'](_0x288a30);}}class InlineAnnotations extends _0x13517b{['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(_0x1b6390){super(_0x1b6390),_0x1b6390['editing']['view']['addObserver'](_0x47c528),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x1b6390['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 _0x553f98=this['editor']['plugins']['get'](AnnotationsUIs);_0x553f98['context']===this['editor']&&(_0x553f98['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x57da5e,_0x51e2dc)=>{const _0x2a26da=this['_balloon'];if(this['isAttached']&&_0x2a26da['visibleView']){const _0x14bb2e=this['annotations']['getByView'](_0x2a26da['visibleView']);_0x14bb2e&&this['_closeAnnotation'](_0x14bb2e),_0x51e2dc();}}));}['afterInit'](){const _0x3a1195=this['editor']['plugins']['get'](AnnotationsUIs);_0x3a1195['context']===this['editor']&&(_0x3a1195['hasActive']()||_0x3a1195['switchTo']('inline'));}['setActiveAnnotation'](_0x3f1b14){_0x3f1b14!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x3f1b14&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x3f1b14)&&this['_addAnnotationToBalloon'](_0x3f1b14,!0x0),_0x3f1b14['isActive']=!0x0),_0x3f1b14||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x3f1b14);}['attach'](_0xe0ad87){this['annotations']=_0xe0ad87;const _0x21dc64=this['editor']['plugins']['get'](AnnotationsUIs),_0x3e8b77=this['_balloon'];if(this['isAttached'])throw new _0x37fbfa('inlineannotations-attach-already-attached',this);if(_0x21dc64['context']!==this['editor'])throw new _0x37fbfa('inlineannotations-not-allowed-with-context',this);const _0x10ac4e=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x10ac4e,'refresh',()=>{const _0x30c260=_0x10ac4e['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x49d8cd,_0x399b93;!this['_forceRefresh']&&(_0x49d8cd=_0x30c260,_0x399b93=this['_selectedAnnotations'],_0x49d8cd['length']===_0x399b93['length']&&_0x49d8cd['every'](_0x40b7a3=>_0x399b93['includes'](_0x40b7a3)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x30c260),this['setActiveAnnotation'](_0x30c260[0x0]||null));}),this['listenTo'](_0x10ac4e,'blur',(_0x5479ef,{isAnnotationTracked:_0x27523f})=>{this['activeAnnotation']&&_0x27523f(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x10ac4e,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x202b67,_0x5b8571,_0x84a35b)=>{_0x84a35b||this['setActiveAnnotation'](null);}),this['listenTo'](_0xe0ad87,'remove',(_0x336d26,_0x1f84e2)=>{this['_removeAnnotationFromBalloon'](_0x1f84e2),_0x1f84e2===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x3e8b77,'change:visibleView',(_0x4fa303,_0xa675a2,_0x105671,_0x162983)=>{_0x162983&&this['stopListening'](_0x162983);const _0x320c2b=_0xe0ad87['getByView'](_0x105671);_0x105671&&_0x320c2b&&(this['listenTo'](_0x105671,'change:height',()=>{_0x3e8b77['updatePosition']();}),this['listenTo'](_0x105671,'Esc',()=>{this['_closeAnnotation'](_0x320c2b),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x320c2b&&this['setActiveAnnotation'](_0x320c2b));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x3e8b77['visibleView']&&(_0xe0ad87['getByView'](_0x3e8b77['visibleView'])&&_0x3e8b77['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 _0x37fbfa('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0xe79b73 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0xe79b73);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x4b66e4){for(const _0x5c50f5 of this['_selectedAnnotations'])_0x4b66e4['includes'](_0x5c50f5)||this['_manuallyClosed']['delete'](_0x5c50f5);for(const _0x226bb0 of this['annotations'])_0x4b66e4['includes'](_0x226bb0)||this['_removeAnnotationFromBalloon'](_0x226bb0);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x5f46a8 of _0x4b66e4)this['_addAnnotationToBalloon'](_0x5f46a8);}this['_selectedAnnotations']=_0x4b66e4;}['_addAnnotationToBalloon'](_0xb0c36c,_0x50b66e=!0x1){this['_manuallyClosed']['has'](_0xb0c36c)||(this['_addedAnnotations']['has'](_0xb0c36c)||this['_balloon']['hasView'](_0xb0c36c['view'])||(this['_addedAnnotations']['add'](_0xb0c36c),this['_balloon']['add']({'stackId':_0xb0c36c['view']['id'],'view':_0xb0c36c['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0xb0c36c)}})),_0x50b66e&&this['_balloon']['showStack'](_0xb0c36c['view']['id']));}['_getBalloonTargetForAnnotation'](_0x2a7d43){const _0x179bb6=_0x2a7d43['target'],_0x3cae76=this['editor']['editing']['view'],_0x5bbee6=_0x3cae76['document']['selection']['getFirstRange'](),_0x441712=_0x3cae76['domConverter']['viewRangeToDom'](_0x5bbee6);if(_0x441712['collapse'](!0x0),_0x179bb6){if(_0x179bb6 instanceof _0x1faa00)return _0x179bb6;let _0x4e84a4=[];for(const _0x546b80 of _0x179bb6)_0x4e84a4['push'](...Gm(_0x546b80['getClientRects']()));_0x4e84a4=function(_0x21634e){const _0x45aaef=[];let _0x264642=_0x21634e[0x0];for(let _0x39336f=0x1;_0x39336f<_0x21634e['length'];_0x39336f++)Zm(_0x264642,_0x21634e[_0x39336f])?_0x264642['width']+=_0x21634e[_0x39336f]['width']:(_0x45aaef['push'](_0x264642),_0x264642=_0x21634e[_0x39336f]);return _0x45aaef['push'](_0x264642),_0x45aaef;}(_0x4e84a4);const _0x5cd906=_0x441712['getBoundingClientRect']();return _0x4e84a4['find'](_0xf5fbc7=>_0xf5fbc7['top']<=_0x5cd906['top']&&_0xf5fbc7['bottom']>=_0x5cd906['bottom']&&_0xf5fbc7['left']<=_0x5cd906['left']&&_0xf5fbc7['right']>=_0x5cd906['right'])||_0x4e84a4[0x0];}return _0x2a7d43['targetRect']||_0x441712;}['_removeAnnotationFromBalloon'](_0x5c68b1){this['_addedAnnotations']['has'](_0x5c68b1)&&this['_balloon']['hasView'](_0x5c68b1['view'])&&(this['_addedAnnotations']['delete'](_0x5c68b1),this['_balloon']['remove'](_0x5c68b1['view']));}['_closeAnnotation'](_0x1b39e7){this['_manuallyClosed']['add'](_0x1b39e7),this['_removeAnnotationFromBalloon'](_0x1b39e7);}}function Gm(_0x4bab2a){return Array['from'](_0x4bab2a)['map'](DOMRect['fromRect']);}function Zm(_0x44254f,_0x450371){return _0x44254f['top']===_0x450371['top']&&_0x44254f['bottom']===_0x450371['bottom']&&_0x44254f['right']===_0x450371['left'];}class CommentsArchiveView extends _0x3989d4{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x4142cd,_0x280cca){super(_0x4142cd),this['set']('isEmpty',!_0x280cca['length']),this['focusTracker']=new _0x2c5be9(),this['_annotationViews']=_0x280cca,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new tt({'focusables':_0x280cca,'focusTracker':this['focusTracker']}),this['listenTo'](_0x280cca,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x280cca,'remove',(_0x564132,_0x2319cd)=>{_0x2319cd['isActive']&&this['focus'](),_0x280cca['length']||(this['isEmpty']=!0x0);});const _0x1fcade=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':Im(_0x4142cd,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x280cca},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x1fcade['if']('isEmpty','ck-hidden',_0x5c062d=>!_0x5c062d)]},'children':[{'text':Im(_0x4142cd,'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 _0x4bd887 of this['_annotationViews'])this['focusTracker']['add'](_0x4bd887['element']);this['_annotationViews']['on']('change',(_0x1fbb9e,{added:_0x2e3ea9,removed:_0x5de764})=>{for(const _0x23b1af of _0x2e3ea9)this['focusTracker']['add'](_0x23b1af['element']);for(const _0x53da78 of _0x5de764)this['focusTracker']['remove'](_0x53da78['element']);});}}class CommentsArchive extends _0x13e428{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x1ed8e8){super(_0x1ed8e8),this['archivedThreads']=new _0x4711ed();}['init'](){const _0x1f2b3c=this['context'],_0x23ff6f=_0x1f2b3c['plugins']['get'](CommentsRepository),_0x409260=_0x1f2b3c['plugins']['get'](Annotations);this['listenTo'](_0x23ff6f,'addCommentThread',(_0x127cc6,{threadId:_0x571cb8})=>{const _0x154d85=_0x23ff6f['getCommentThread'](_0x571cb8);_0x154d85['archivedAt']&&this['archivedThreads']['add'](_0x154d85,this['_calculatePosition'](_0x154d85['archivedAt'])),this['listenTo'](_0x154d85,'change:archivedAt',(_0x41e069,_0x106fbb,_0x7d120f)=>{_0x7d120f?this['archivedThreads']['has'](_0x154d85)||this['archivedThreads']['add'](_0x154d85,this['_calculatePosition'](_0x154d85['archivedAt'])):this['archivedThreads']['has'](_0x154d85)&&this['archivedThreads']['remove'](_0x154d85);});}),this['listenTo'](_0x23ff6f,'removeCommentThread',(_0x176b9b,{threadId:_0x212047})=>{const _0x473363=_0x23ff6f['getCommentThread'](_0x212047);this['stopListening'](_0x473363),this['archivedThreads']['has'](_0x473363)&&this['archivedThreads']['remove'](_0x473363);},{'priority':'highest'}),this['listenTo'](_0x409260['collection'],'focus',(_0x2fd065,_0x6ca971)=>{_0x6ca971['isVisible']||(_0x6ca971['isActive']=!0x0,_0x409260['activate'](_0x6ca971));});}['_calculatePosition'](_0x2332fa){const _0x207cf9=[...this['archivedThreads']]['findIndex'](_0x6cdac9=>_0x6cdac9['archivedAt']<_0x2332fa);return _0x207cf9>-0x1?_0x207cf9:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x13517b{['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(_0x59949d){super(_0x59949d),this['annotationViews']=new vt(),this['_pendingThreads']=[];}['init'](){const _0x5752d0=this['editor'],_0x3b5903=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x5752d0['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x2e803a,!0x0)),_0x5752d0['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x63ae3f=this['_createCommentsArchiveButton'](ot);return _0x63ae3f['set']({'role':'menuitemcheckbox'}),_0x63ae3f;});const _0x4bfff2=_0x5752d0['plugins']['get'](CommentsArchive),_0x22901d=_0x5752d0['plugins']['get']('Annotations'),_0x5cc121=_0x5752d0['plugins']['get']('CommentsRepository');_0x4bfff2['archivedThreads']['forEach'](_0x2df741=>{this['_handleNewThread'](_0x2df741);}),this['listenTo'](_0x4bfff2['archivedThreads'],'add',(_0xa9fde1,_0x43bf18)=>{this['_handleNewThread'](_0x43bf18);}),this['listenTo'](_0x22901d['collection'],'add',(_0x190cdb,_0x3ac5db)=>{const _0x384503=this['_pendingThreads']['find'](_0x49d7fd=>{const _0x1517b4=_0x5cc121['_threadToController']['get'](_0x49d7fd);return _0x1517b4&&_0x3ac5db['innerView']===_0x1517b4['view'];});if(_0x384503){const _0x2d1caa=this['_calculatePosition'](_0x384503['archivedAt']);this['_addAnnotationToArchive'](_0x3ac5db,_0x2d1caa),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x384503),0x1);}}),this['listenTo'](_0x4bfff2['archivedThreads'],'remove',(_0x29102b,_0x595adc)=>{const _0x3fa2b5=_0x5752d0['config']['get']('collaboration.channelId');if(!_0x3fa2b5||_0x595adc['channelId']===_0x3fa2b5){if(this['_pendingThreads']['includes'](_0x595adc))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x595adc),0x1);else{const _0x43c861=_0x5cc121['_threadToController']['get'](_0x595adc),_0x4e7104=_0x22901d['getByInnerView'](_0x43c861['view']);this['annotationViews']['remove'](_0x4e7104['view']),this['stopListening'](_0x4e7104),this['stopListening'](_0x4e7104['focusableElements']);}}}),this['listenTo'](_0x22901d['collection'],'add',(_0x562497,_0x4fdda7)=>{this['listenTo'](_0x4fdda7,'escape',_0x3b5903);}),this['listenTo'](_0x22901d['collection'],'remove',(_0x3ea3e1,_0x56d477)=>{this['stopListening'](_0x56d477,'escape',_0x3b5903);});}['_addAnnotationToArchive'](_0x474711,_0x16becf){this['listenTo'](_0x474711,'set:isVisible',_0x7b878=>{_0x7b878['return']=!0x1,_0x7b878['stop']();}),this['annotationViews']['add'](_0x474711['view'],_0x16becf);}['_handleNewThread'](_0x4abb94){const _0x43562a=this['editor']['plugins']['get']('CommentsRepository'),_0x355045=this['editor']['plugins']['get']('Annotations'),_0x4fb3a3=this['editor']['config']['get']('collaboration.channelId');if(!_0x4fb3a3||_0x4abb94['channelId']===_0x4fb3a3){const _0x4f8b58=_0x43562a['_threadToController']['get'](_0x4abb94);if(!_0x4f8b58)return void this['_pendingThreads']['push'](_0x4abb94);const _0x1f61c7=this['_calculatePosition'](_0x4abb94['archivedAt']),_0x1f65e6=_0x355045['getByInnerView'](_0x4f8b58['view']);_0x1f65e6['isVisible']&&_0x355045['_visibleAnnotations']['remove'](_0x1f65e6),this['_addAnnotationToArchive'](_0x1f65e6,_0x1f61c7);}}['_calculatePosition'](_0x3335e8){const _0x129d7b=this['editor']['config']['get']('collaboration.channelId'),_0x3e81ab=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x3d1b62=>_0x3d1b62['channelId']===_0x129d7b)['findIndex'](_0xb25d42=>_0xb25d42['archivedAt']<_0x3335e8);return _0x3e81ab<0x0||_0x3e81ab>this['annotationViews']['length']?this['annotationViews']['length']:_0x3e81ab-0x1;}['_toggleDialog'](){const _0x4c4eba=this['editor'],_0x2128ca=_0x4c4eba['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x4c4eba['locale'],this['annotationViews'])),'commentsArchive'===_0x2128ca['id']?_0x2128ca['hide']():_0x2128ca['show']({'id':'commentsArchive','title':Im(_0x4c4eba['locale'],'COMMENTS_ARCHIVE'),'icon':_0x17a9cd,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':at['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x1f7ebd,_0x33de56=!0x1){const _0x18c1ef=this['editor']['locale'],_0x17510f=this['editor']['plugins']['get']('Dialog'),_0x5a9302=new _0x1f7ebd(_0x18c1ef);return _0x5a9302['bind']('isEnabled')['to'](this,'isEnabled'),_0x5a9302['bind']('isOn')['to'](_0x17510f,'id',_0x13e261=>'commentsArchive'===_0x13e261),_0x5a9302['set']({'label':Im(_0x18c1ef,'COMMENTS_ARCHIVE'),'icon':_0x17a9cd,'isToggleable':!0x0}),_0x33de56&&(_0x5a9302['tooltip']=!0x0),this['listenTo'](_0x5a9302,'execute',()=>this['_toggleDialog']()),_0x5a9302;}['_hideDialogOnAnnotationEscape']=_0x2a59bc=>{const _0x3f44cd=_0x2a59bc['source'];if(!this['annotationViews']['has'](_0x3f44cd['view']))return;const _0x23a471=this['editor']['plugins']['get']('Dialog');_0x23a471['isOpen']&&'commentsArchive'===_0x23a471['id']&&(_0x23a471['hide'](),_0x2a59bc['stop']());};}class Comments extends _0x13517b{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(_0x1608df){let _0x1c2882='';for(const _0x141014 of _0x1608df['getChildren']())_0x141014 instanceof _0x57414b&&(_0x1c2882+=_0x141014['data']);return _0x1c2882;}class DocumentOutlineUtils extends _0x13517b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x283202=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x4f8095=[];_0x283202['model']['document']['on']('change',Vr(()=>{const _0x152aed=_0x4f8095;_0x4f8095=this['_getOutlineDefinitions']();const _0x31336d=_0x367f1c(_0x152aed,_0x4f8095,(_0x276f46,_0x19cd6c)=>_0x276f46['level']===_0x19cd6c['level']&&_0x276f46['text']===_0x19cd6c['text']&&_0x276f46['modelElement']===_0x19cd6c['modelElement']),_0x5b1a0f=_0x129c48(_0x31336d,_0x4f8095),_0xcff419=this['_getActiveHeading'](),_0x5e3c41=_0x4f8095['findIndex'](_0x7302ca=>_0x7302ca['modelElement']===_0xcff419);_0x5b1a0f['length']&&this['fire']('change',{'outlineDefinitions':_0x4f8095,'activeItemIndex':_0x5e3c41,'outlineChanges':_0x5b1a0f}),this['fire']('activeItemIndex',{'index':_0x5e3c41});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1dd97a=this['editor'],_0x5555bb=[],_0x4cf16f=this['_headingNames'];for(const _0x406d04 of _0x1dd97a['model']['document']['getRootNames']())_0x1bf183(_0x1dd97a['model']['document']['getRoot'](_0x406d04));function _0x1bf183(_0x36ffb3){for(const _0x3ccade of _0x36ffb3['getChildren']())_0x3ccade['is']('element')&&(_0x4cf16f['includes'](_0x3ccade['name'])&&_0x5555bb['push']({'level':_0x4cf16f['indexOf'](_0x3ccade['name'])+0x1,'text':Xm(_0x3ccade),'modelElement':_0x3ccade}),_0x1bf183(_0x3ccade));}return _0x5555bb;}['_getActiveHeading'](){const _0x1202d9=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x14ce86=new _0x4c94f6({'direction':'backward','startPosition':_0x1202d9});for(const _0x146b8b of _0x14ce86)if(_0x146b8b['item']['is']('element')&&this['_headingNames']['includes'](_0x146b8b['item']['name']))return _0x146b8b['item'];}['_getHeadingNames'](){const _0x566fc2=this['editor']['config']['get']('documentOutline.headings');return _0x566fc2||function(_0x3e3455){const _0x1842d9=_0x3e3455['config']['get']('heading.options');return _0x1842d9?_0x1842d9['reduce']((_0x35c79c,_0x3b857f)=>('paragraph'!==_0x3b857f['model']&&_0x35c79c['push'](_0x3b857f['model']),_0x35c79c),[]):_0x3e3455['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x400306=this['editor'],_0x447f47=['h1','h2','h3','h4','h5','h6'],_0x5c578f=[];for(const _0x37a6a6 of _0x447f47){const _0x50e28f=_0x400306['editing']['view']['domConverter']['domToView'](document['createElement'](_0x37a6a6)),_0x46baf0=_0x400306['data']['toModel'](_0x50e28f)['getChild'](0x0);_0x46baf0?.['is']('element')&&_0x5c578f['push'](_0x46baf0['name']);}this['_headingNames']=_0x5c578f;}}function qm(_0x5b7c56,_0x8c6f27){const t=_0x5b7c56['t'];switch(_0x8c6f27){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 _0x8c6f27;}}class DocumentOutlineItemView extends _0x3989d4{constructor(_0x40784c,_0x36ffda=!0x1){super(_0x40784c);const _0x5ce28a=this['bindTemplate'],_0xbd386b=_0x36ffda?'['+qm(_0x40784c,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x22a6ae=>!_0x22a6ae),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x5ce28a['to']('level',_0x22d9e6=>'ck-document-outline__item_level-'+_0x22d9e6),_0x5ce28a['if']('isActive','ck-document-outline__item_active'),_0x5ce28a['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x5ce28a['to']('text')},'children':[{'text':_0x5ce28a['to']('text',_0x4c9007=>_0x4c9007||_0xbd386b)}],'on':{'click':_0x5ce28a['to']('click')}});}}class DocumentOutlineView extends _0x3989d4{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x288bf0,_0x16c565=!0x1,_0x22f4b8){super(_0x288bf0),this['showEmptyHeadingText']=_0x16c565,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x22f4b8,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x490cec,_0x17ad8b,_0x2d875b,_0x5bab8e)=>{this['_setActiveItem'](_0x5bab8e,_0x2d875b);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x288bf0['contentLanguageDirection'],'data-document-outline-empty-placeholder':qm(_0x288bf0,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x4d1f9d){_0x4d1f9d['forEach'](_0x435fcc=>{'insert'==_0x435fcc['type']?this['_insertItem'](_0x435fcc['index'],..._0x435fcc['values']):'delete'==_0x435fcc['type']&&this['_deleteItem'](_0x435fcc['index'],_0x435fcc['howMany']);});}['_setActiveItem'](_0x4ddba0,_0x1797d8){if(-0x1!==_0x4ddba0){const _0x163ae7=this['items']['get'](_0x4ddba0);_0x163ae7&&(_0x163ae7['isActive']=!0x1);}-0x1!==_0x1797d8&&(this['items']['get'](_0x1797d8)['isActive']=!0x0,this['_scrollToItem'](_0x1797d8));}['_insertItem'](_0x2e1863,..._0x4bbad0){const _0x570fa0=_0x4bbad0['map']((_0x1c7a7e,_0x22b61b)=>{const _0xeb0a28=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0xeb0a28['text']=_0x1c7a7e['text'],_0xeb0a28['level']=_0x1c7a7e['level'],_0x2e1863+_0x22b61b===this['activeItemIndex']&&(_0xeb0a28['isActive']=!0x0),_0xeb0a28;});this['items']['addMany'](_0x570fa0,_0x2e1863);}['_deleteItem'](_0x18ff64,_0x52723c){do{this['items']['remove'](_0x18ff64);}while(--_0x52723c);}['_handleItemClick'](_0x30ebb2){const _0x4e2e12=this['items']['getIndex'](_0x30ebb2['source']);this['fire']('itemSelected',_0x4e2e12);}['_scrollToItem'](_0x408ee2){_0x5a102d(this['items']['get'](_0x408ee2)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x13517b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x576a76){super(_0x576a76),this['view']=new DocumentOutlineView(_0x576a76['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 _0x12b0aa=this['editor'],_0x4b9c64=_0x12b0aa['plugins']['get']('DocumentOutlineUtils');let _0x41ab94=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x12b0aa['config']['get']('documentOutline.container'))throw new _0x37fbfa('document-outline-container-not-provided',{'editor':_0x12b0aa});_0x12b0aa['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4b9c64['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4b9c64['on']('activeItemIndex',(_0x27e3bd,{index:_0x2af8c})=>this['_setActiveViewItem'](_0x2af8c)),this['view']['on']('itemSelected',(_0x5cc462,_0x418ed5)=>{_0x41ab94=!0x0,this['_handleItemSelected'](_0x418ed5);}),this['view']['listenTo'](_0x4cdc9d['document'],'scroll',()=>{_0x41ab94?_0x41ab94=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x4cdc9d['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2a0854){const _0x2f7b85=_0x3bfc76([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]),_0xdaa142=0x1cb264a3,_0x44174d=0x1cb5eb63^_0xdaa142,_0x338b2f=window[_0x3bfc76([0x44,0x61,0x74,0x65])][_0x3bfc76([0x6e,0x6f,0x77])](),_0x22a241=_0x2a0854[_0x3bfc76([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d41a3=new window[(_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6162=>{_0x22a241[_0x3bfc76([0x6f,0x6e,0x63,0x65])](_0x3bfc76([0x72,0x65,0x61,0x64,0x79]),_0x4a6162);}),_0x51a21e={[_0x3bfc76([0x6b,0x74,0x79])]:_0x3bfc76([0x45,0x43]),[_0x3bfc76([0x75,0x73,0x65])]:_0x3bfc76([0x73,0x69,0x67]),[_0x3bfc76([0x63,0x72,0x76])]:_0x3bfc76([0x50,0x2d,0x32,0x35,0x36]),[_0x3bfc76([0x78])]:_0x3bfc76([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]),[_0x3bfc76([0x79])]:_0x3bfc76([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]),[_0x3bfc76([0x61,0x6c,0x67])]:_0x3bfc76([0x45,0x53,0x32,0x35,0x36])},_0x12d352=_0x22a241[_0x3bfc76([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bfc76([0x67,0x65,0x74])](_0x3bfc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5928ca(){let _0x821da4,_0x47f031=null,_0x368ab5=null;try{if(_0x12d352==_0x3bfc76([0x47,0x50,0x4c]))return _0x3bfc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x821da4=_0x1783bd(),!_0x821da4)return _0x3bfc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x821da4[_0x3bfc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x368ab5=_0x19795b(_0x821da4[_0x3bfc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x821da4[_0x3bfc76([0x6a,0x74,0x69])])),await _0x2f5fbd()?_0x51a2d1()?_0x33063e()?_0x3bfc76([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x312878()?(_0x821da4[_0x3bfc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bfc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47f031=_0x403f0c(_0x3bfc76([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bcdea()):_0x3bfc76([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bfc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bfc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bfc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33063e(){const _0x58e6cf=[_0x3bfc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bfc76([0x74,0x72,0x69,0x61,0x6c])][_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x821da4[_0x3bfc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x338b2f/0x3e8:0xe10*_0x44174d;return _0x821da4[_0x3bfc76([0x65,0x78,0x70])]<_0x58e6cf;}function _0x51a2d1(){const _0x26bc81=_0x821da4[_0x3bfc76([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26bc81&&(!!_0x26bc81[_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfc76([0x2a]))||(!!_0x26bc81[_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfc76([0x44,0x4f]))||(!!_0x26bc81[_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfc76([0x50,0x50]))||!(!_0x26bc81[_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfc76([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x17d4a1()))));}function _0x312878(){const _0x2503eb=_0x821da4[_0x3bfc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2503eb||0x0==_0x2503eb[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3076f3}=new URL(window[_0x3bfc76([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2503eb[_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3076f3))return!0x0;const _0x28416e=_0x3076f3[_0x3bfc76([0x73,0x70,0x6c,0x69,0x74])](_0x3bfc76([0x2e]));return _0x2503eb[_0x3bfc76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bc485=>_0x5bc485[_0x3bfc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfc76([0x2a])))[_0x3bfc76([0x6d,0x61,0x70])](_0x406b34=>_0x406b34[_0x3bfc76([0x73,0x70,0x6c,0x69,0x74])](_0x3bfc76([0x2e])))[_0x3bfc76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4733c6=>_0x4733c6[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28416e[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bfc76([0x6d,0x61,0x70])](_0x471b94=>Array(_0x28416e[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x471b94[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bfc76([0x66,0x69,0x6c,0x6c])](_0x471b94[0x0]===_0x3bfc76([0x2a])?_0x3bfc76([0x2a]):'')[_0x3bfc76([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x471b94))[_0x3bfc76([0x73,0x6f,0x6d,0x65])](_0x2f2a2d=>_0x28416e[_0x3bfc76([0x65,0x76,0x65,0x72,0x79])]((_0xfed019,_0x32d048)=>_0x2f2a2d[_0x32d048]===_0xfed019||_0x2f2a2d[_0x32d048]===_0x3bfc76([0x2a])));}function _0x4bcdea(){return _0x47f031&&_0x368ab5?new window[(_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2005ee,_0x183f93)=>{_0x47f031[_0x3bfc76([0x74,0x68,0x65,0x6e])](_0x2005ee,_0x183f93),_0x368ab5[_0x3bfc76([0x74,0x68,0x65,0x6e])](_0x27dcfd=>{_0x27dcfd!=_0x3bfc76([0x56,0x61,0x6c,0x69,0x64])&&_0x2005ee(_0x27dcfd);},_0x183f93);}):_0x47f031||_0x368ab5||_0x3bfc76([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19795b(_0x36dee8,_0x505a17){return new window[(_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7e34=>{if(_0x192549())return _0x1b7e34(_0x3bfc76([0x56,0x61,0x6c,0x69,0x64]));_0x4783ed(),_0x22a241[_0x3bfc76([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bfc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a1bba=!0x1;const _0x38d3a6=_0x5c5c0c();function _0x1a43df(_0xd8651f){return!!_0xd8651f&&(typeof _0xd8651f===_0x3bfc76([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd8651f===_0x3bfc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd8651f[_0x3bfc76([0x74,0x68,0x65,0x6e])]===_0x3bfc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd8651f[_0x3bfc76([0x63,0x61,0x74,0x63,0x68])]===_0x3bfc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4cbe7b(_0x16fc44){_0x183b80(_0x16fc44)[_0x3bfc76([0x74,0x68,0x65,0x6e])](_0x3f4669=>{if(!_0x3f4669||_0x3f4669[_0x3bfc76([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bfc76([0x6f,0x6b]))return _0x3bfc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x165b1e(_0x50ea0f(_0x38d3a6+_0x505a17))!=_0x3f4669[_0x3bfc76([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bfc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bfc76([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bfc76([0x74,0x68,0x65,0x6e])](_0x15f913=>(_0x4b3767(),_0x15f913),()=>{const _0x2bc17f=_0x32720c();return null==_0x2bc17f?(_0x4b3767(),_0x3bfc76([0x56,0x61,0x6c,0x69,0x64])):_0x3bfc76(_0x338b2f-_0x2bc17f>(0x38bee0a3^_0xdaa142)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bfc76([0x74,0x68,0x65,0x6e])](_0x1b7e34)[_0x3bfc76([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b7e34(_0x3bfc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x427711=0x1c848a23^_0xdaa142;function _0x4b3767(){const _0x162e84=_0x3bfc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x165b1e(_0x50ea0f(_0x36dee8)),_0x8f662d=_0xe8424c(_0x165b1e(window[_0x3bfc76([0x4d,0x61,0x74,0x68])][_0x3bfc76([0x63,0x65,0x69,0x6c])](_0x338b2f/_0x427711)));window[_0x3bfc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bfc76([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x162e84,_0x8f662d);}function _0x32720c(){const _0x286d20=_0x3bfc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x165b1e(_0x50ea0f(_0x36dee8)),_0x2fc7a0=window[_0x3bfc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bfc76([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x286d20);return _0x2fc7a0?window[_0x3bfc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe8424c(_0x2fc7a0),0x10)*_0x427711:null;}function _0x183b80(_0x53abda){return new window[(_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x528799,_0x1557b8)=>{_0x53abda[_0x3bfc76([0x74,0x68,0x65,0x6e])](_0x528799,_0x1557b8),window[_0x3bfc76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1557b8,0x1cb3b063^_0xdaa142);});}}_0x22a241[_0x3bfc76([0x6f,0x6e])](_0x3bfc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27bf22,_0xed3554)=>{if(_0xed3554[0x0]!=_0x36dee8)return _0x1b7e34(_0x3bfc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xed3554[0x1]={..._0xed3554[0x1],[_0x3bfc76([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38d3a6};},{[_0x3bfc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bfc76([0x68,0x69,0x67,0x68])}),_0x22a241[_0x3bfc76([0x6f,0x6e])](_0x3bfc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b72c1=>{_0x1a43df(_0x3b72c1[_0x3bfc76([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a1bba=!0x0,_0x4cbe7b(_0x3b72c1[_0x3bfc76([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bfc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bfc76([0x6c,0x6f,0x77])}),_0x2d41a3[_0x3bfc76([0x74,0x68,0x65,0x6e])](()=>{_0x3a1bba||_0x1b7e34(_0x3bfc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x192549(){return _0x22a241[_0x3bfc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bfc76([0x76,0x69,0x65,0x77])][_0x3bfc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bfc76([0x61,0x75,0x74,0x6f]);}function _0x4783ed(){_0x22a241[_0x3bfc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bfc76([0x76,0x69,0x65,0x77])][_0x3bfc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bfc76([0x61,0x75,0x74,0x6f]);}}function _0x403f0c(_0x31b557){const _0x1c919c=[new window[(_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3baff1=>setTimeout(_0x3baff1,0x1cbb5a6f^_0xdaa142)),_0x2d41a3[_0x3bfc76([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1418a7=>{let _0x26570f=0x0;_0x22a241[_0x3bfc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bfc76([0x6f,0x6e])](_0x3bfc76([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x533d5b,_0x466bbf)=>{_0x466bbf[0x0][_0x3bfc76([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26570f++,_0x26570f==(0x1cb2614b^_0xdaa142)&&(_0x1418a7(),_0x533d5b[_0x3bfc76([0x6f,0x66,0x66])]());});}))];return window[_0x3bfc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bfc76([0x72,0x61,0x63,0x65])](_0x1c919c)[_0x3bfc76([0x74,0x68,0x65,0x6e])](()=>_0x31b557);}async function _0x4262a2(){await _0x2d41a3,_0x22a241[_0x3bfc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bfc76([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6f51,_0x22a241[_0x3bfc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bfc76([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6f51,_0x22a241[_0x3bfc76([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bfc76([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17d4a1(){return window[_0x3bfc76([0x67,0x6c,0x6f,0x62])]&&window[_0x3bfc76([0x67,0x6c,0x6f,0x62])][_0x3bfc76([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x729c7c(_0x2c3cbc){const _0x3a4870=_0xb44aeb();_0x22a241[_0x3a4870]=_0x3bfc76([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])+_0x2c3cbc,_0x2c3cbc!=_0x3bfc76([0x56,0x61,0x6c,0x69,0x64])&&_0x4262a2();}function _0xb44aeb(){const _0x45b9ca=window[_0x3bfc76([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bfc76([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bfc76([0x6e,0x6f,0x77])]())[_0x3bfc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bfc76([0x2e]),'');let _0x25aa71=_0x3bfc76([0x61]);for(let _0x3b2aab=0x0;_0x3b2aab<_0x45b9ca[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2aab+=0x2){let _0x5ce831=window[_0x3bfc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45b9ca[_0x3bfc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b2aab,_0x3b2aab+0x2));_0x5ce831>=_0x2f7b85[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ce831-=_0x2f7b85[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25aa71+=_0x2f7b85[_0x5ce831];}return _0x25aa71;}function _0x1783bd(){const _0x33770b=_0x12d352[_0x3bfc76([0x73,0x70,0x6c,0x69,0x74])](_0x3bfc76([0x2e]));if(0x3!=_0x33770b[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8442ee(_0x33770b[0x1]);function _0x8442ee(_0x18d7f6){const _0x21f3ef=_0x284007(_0x18d7f6);return _0x21f3ef&&_0x52c327()?_0x21f3ef:null;function _0x52c327(){const _0x278a5c=_0x21f3ef[_0x3bfc76([0x6a,0x74,0x69])],_0x2afc6a=window[_0x3bfc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x278a5c[_0x3bfc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x278a5c[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45754a={..._0x21f3ef,[_0x3bfc76([0x6a,0x74,0x69])]:_0x278a5c[_0x3bfc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x278a5c[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45754a[_0x3bfc76([0x76,0x63])],_0x50ea0f(_0x45754a)==_0x2afc6a;}}}async function _0x2f5fbd(){let _0x4b0d38=!0x0;try{const _0x11d2a9=_0x12d352[_0x3bfc76([0x73,0x70,0x6c,0x69,0x74])](_0x3bfc76([0x2e])),[_0x39e492,_0x14af9a,_0x38f2c4]=_0x11d2a9;return _0x4d8caa(_0x39e492),await _0x117cc3(_0x39e492,_0x14af9a,_0x38f2c4),_0x4b0d38;}catch{return!0x1;}function _0x4d8caa(_0x5c4398){const _0x1a53a0=_0x284007(_0x5c4398);_0x1a53a0&&_0x1a53a0[_0x3bfc76([0x61,0x6c,0x67])]==_0x3bfc76([0x45,0x53,0x32,0x35,0x36])||(_0x4b0d38=!0x1);}async function _0x117cc3(_0x535e70,_0x10a5b3,_0x447393){const _0x29de32=window[_0x3bfc76([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bfc76([0x66,0x72,0x6f,0x6d])](_0x2ef296(_0x447393),_0x332c3f=>_0x332c3f[_0x3bfc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc441d9=new window[(_0x3bfc76([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bfc76([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x535e70+_0x3bfc76([0x2e])+_0x10a5b3),_0x5d8d6a=window[_0x3bfc76([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bfc76([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d8d6a)return;const _0x4723ca=await _0x5d8d6a[_0x3bfc76([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bfc76([0x6a,0x77,0x6b]),_0x51a21e,{[_0x3bfc76([0x6e,0x61,0x6d,0x65])]:_0x3bfc76([0x45,0x43,0x44,0x53,0x41]),[_0x3bfc76([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bfc76([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bfc76([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d8d6a[_0x3bfc76([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bfc76([0x6e,0x61,0x6d,0x65])]:_0x3bfc76([0x45,0x43,0x44,0x53,0x41]),[_0x3bfc76([0x68,0x61,0x73,0x68])]:{[_0x3bfc76([0x6e,0x61,0x6d,0x65])]:_0x3bfc76([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4723ca,_0x29de32,_0xc441d9)||(_0x4b0d38=!0x1);}}function _0x284007(_0x3249f1){return _0x3249f1[_0x3bfc76([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bfc76([0x65,0x79]))?JSON[_0x3bfc76([0x70,0x61,0x72,0x73,0x65])](_0x2ef296(_0x3249f1)):null;}function _0x2ef296(_0x23fc82){return window[_0x3bfc76([0x61,0x74,0x6f,0x62])](_0x23fc82[_0x3bfc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bfc76([0x2b]))[_0x3bfc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bfc76([0x2f])));}function _0x50ea0f(_0x191d3d){let _0x19c0dd=0x1505;function _0x3c86fb(_0x1d1786){for(let _0x640f85=0x0;_0x640f85<_0x1d1786[_0x3bfc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x640f85++){const _0x17388b=_0x1d1786[_0x3bfc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x640f85);_0x19c0dd=(_0x19c0dd<<0x5)+_0x19c0dd+_0x17388b,_0x19c0dd&=_0x19c0dd;}}function _0x1a1a98(_0x23a71e){Array[_0x3bfc76([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23a71e)?_0x23a71e[_0x3bfc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a1a98):_0x23a71e&&typeof _0x23a71e==_0x3bfc76([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bfc76([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23a71e)[_0x3bfc76([0x73,0x6f,0x72,0x74])]()[_0x3bfc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x64bb9a,_0x24f471])=>{_0x3c86fb(_0x64bb9a),_0x1a1a98(_0x24f471);}):_0x3c86fb(window[_0x3bfc76([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23a71e));}return _0x1a1a98(_0x191d3d),_0x19c0dd>>>0x0;}function _0x165b1e(_0x5ce355){return _0x5ce355[_0x3bfc76([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bfc76([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bfc76([0x30]));}function _0xe8424c(_0x3fa3a0){return _0x3fa3a0[_0x3bfc76([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bfc76([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bfc76([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c6f51(){}function _0x3bfc76(_0x5d59ab){return _0x5d59ab['map'](_0x44a8ec=>String['fromCharCode'](_0x44a8ec))['join']('');}_0x729c7c(await _0x5928ca());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x56acbd,{outlineDefinitions:_0x389001,outlineChanges:_0x55e05b}){this['_currentOutlineDefinitions']=_0x389001,this['view']['sync'](_0x55e05b);}['_setActiveViewItem'](_0x617e0b){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x617e0b]&&(this['view']['activeItemIndex']=_0x617e0b);}['_handleItemSelected'](_0x1e0d29){const _0x5c3a0c=this['_currentOutlineDefinitions'][_0x1e0d29]['modelElement'];this['editor']['model']['change'](_0x28dd69=>{_0x28dd69['setSelection'](_0x5c3a0c,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1e0d29);}['_updateActiveDefinitionOnViewportChange'](){const _0x3ce10e=this['editor'];let _0x195771;for(const _0x2af586 of _0x3ce10e['model']['document']['getRootNames']()){const _0x359135=_0x3ce10e['editing']['view']['getDomRoot'](_0x2af586),_0x5bbf14=_0x359135&&new _0x1faa00(_0x359135)['getVisible']();if(_0x5bbf14){const _0x2aeb26=new _0x1faa00(_0x4cdc9d['window'])['getIntersection'](_0x5bbf14);_0x2aeb26&&(_0x195771=_0x2aeb26['top']+0.25*_0x2aeb26['height']);}}if(void 0x0===_0x195771)return;const _0x5a9fe7=Wm(_0x3ce10e['editing'],this['_currentOutlineDefinitions'],_0x195771);_0x5a9fe7?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5a9fe7)):this['_setActiveViewItem'](-0x1);}}function Wm(_0x5648ba,_0x1b68cc,_0x4cb89a,_0x5a7023=0x0,_0x2c1989=_0x1b68cc['length']-0x1){const _0x181cfa=Math['floor'](_0x5a7023+(_0x2c1989-_0x5a7023)/0x2);if(_0x2c1989>=_0x5a7023){const _0x4b08f5=_0x1b68cc[_0x181cfa],_0x4a12a5=_0x5648ba['mapper']['toViewElement'](_0x4b08f5['modelElement']);if(!_0x4a12a5)return null;const _0x4a5b11=_0x5648ba['view']['domConverter']['mapViewToDom'](_0x4a12a5);return new _0x1faa00(_0x4a5b11)['bottom']>_0x4cb89a?Wm(_0x5648ba,_0x1b68cc,_0x4cb89a,_0x5a7023,_0x181cfa-0x1):Wm(_0x5648ba,_0x1b68cc,_0x4cb89a,_0x181cfa+0x1,_0x2c1989);}return _0x181cfa<0x0?null:_0x1b68cc[_0x181cfa];}class DocumentOutline extends _0x13517b{['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 _0x4e5105=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2dda5b;for(const _0x2ff889 in _0x4e5105){const _0xe88ca8=_0x2ff889,_0x2fcf20=_0x4e5105[_0xe88ca8];if('documentOutlineLicenseKeyValid'==_0x2fcf20||'documentOutlineLicenseKeyInvalid'==_0x2fcf20||'documentOutlineLicenseKeyExpired'==_0x2fcf20||'documentOutlineLicenseKeyDomainLimit'==_0x2fcf20||'documentOutlineLicenseKeyNotAllowed'==_0x2fcf20||'documentOutlineLicenseKeyEvaluationLimit'==_0x2fcf20||'documentOutlineLicenseKeyUsageLimit'==_0x2fcf20){delete _0x4e5105[_0xe88ca8],_0x2dda5b=_0x2fcf20,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2dda5b&&_0x4e5105['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2dda5b&&_0x4e5105['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2dda5b&&_0x4e5105['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2dda5b&&_0x4e5105['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2dda5b&&_0x4e5105['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2dda5b&&_0x4e5105['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x15bad7{['execute'](){this['editor']['model']['change'](_0x54ddc7=>{this['editor']['model']['insertObject'](_0x54ddc7['createElement']('tableOfContents'));});}['refresh'](){const _0x8b2332=this['editor']['model'],_0x1e838d=_0x8b2332['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x1e838d&&_0x8b2332['schema']['findAllowedParent'](_0x1e838d,'tableOfContents'));}}class HeadingId extends _0x13517b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x47c29f=this['editor'];if(_0x47c29f['config']['get']('headingId.modelAttributeName'))return;const _0x456b6f=function(_0x527627){const _0x35d229=new Map();if(_0x527627)return _0x527627['forEach'](_0x3a7395=>{'paragraph'!==_0x3a7395['model']&&_0x35d229['set'](_0x3a7395['view'],_0x3a7395['model']);}),_0x35d229['get']('h1')||_0x35d229['set']('h1','heading1'),_0x35d229;return _0x35d229;}(this['editor']['config']['get']('heading.options'));_0x456b6f['forEach']((_0x22f203,_0x1759f5)=>{this['_customUpcastHeadingsConversion'](_0x1759f5),this['_customDataDowncastHeadingsConversion'](_0x22f203),_0x47c29f['model']['schema']['isRegistered'](_0x22f203)&&_0x47c29f['model']['schema']['extend'](_0x22f203,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x314af5){this['editor']['conversion']['for']('upcast')['add'](_0x2d9f0c=>_0x2d9f0c['on']('element:'+_0x314af5,(_0x301fd0,_0x976c33,_0xa24ac2)=>{const {consumable:_0x5e254d,writer:_0x1ff437}=_0xa24ac2,_0x6097d1=_0x976c33['viewItem']['getAttribute']('id'),_0x89f9d1=_0x976c33['modelRange']['getContainedElement']();if(_0x89f9d1)return _0x6097d1&&_0x6097d1['length']||_0x89f9d1['hasAttribute']('headingId')?void(_0x5e254d['consume'](_0x976c33['viewItem'],{'attributes':['id']})&&_0x1ff437['setAttribute']('headingId',_0x6097d1,_0x89f9d1)):(_0x5e254d['consume'](_0x976c33['viewItem'],{'attributes':['id']}),void _0x1ff437['setAttribute']('headingId',_0x5c5c0c(),_0x89f9d1));},{'priority':_0x244365['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1871eb){this['editor']['conversion']['for']('downcast')['add'](_0x105ba7=>_0x105ba7['on']('attribute:headingId:'+_0x1871eb,(_0x33e2aa,_0x55ddac,_0x874408)=>{if(!_0x874408['consumable']['consume'](_0x55ddac['item'],_0x33e2aa['name']))return;const _0x5f516d=_0x55ddac['item']['getAttribute']('headingId'),_0x560041=_0x874408['mapper']['toViewElement'](_0x55ddac['item']);_0x874408['writer']['setAttribute']('id',_0x5f516d,_0x560041);}));}['_registerHeadingIdAttributePostfixer'](){const _0x3821e0=this['editor'],_0x56f927=new Set(),_0x3f1d9a=new Set();function _0x215c42(_0x5c1795,_0x10a71c){const _0x2a932c=_0x5c5c0c();return _0x3f1d9a['add'](_0x2a932c),_0x5c1795['setAttribute']('headingId',_0x2a932c,_0x10a71c),_0x2a932c;}function _0x5ce32b(_0x40b01c,_0x5043b5){_0x40b01c['removeAttribute']('headingId',_0x5043b5);}_0x3821e0['model']['document']['registerPostFixer'](_0x285b17=>{const _0xda2c0a=_0x3821e0['model']['document']['differ']['getChanges']();let _0x21a07d=!0x1;for(const _0x9ac4d6 of _0xda2c0a)if('insert'==_0x9ac4d6['type']&&_0x9ac4d6['name']){if(zm(_0x9ac4d6['name'])){const _0x1b1019=_0x9ac4d6['attributes']['get']('headingId');'string'==typeof _0x1b1019?_0x56f927['has'](_0x1b1019)?(_0x215c42(_0x285b17,_0x9ac4d6['position']['nodeAfter']),_0x21a07d=!0x0):_0x3f1d9a['add'](_0x1b1019):(_0x215c42(_0x285b17,_0x9ac4d6['position']['nodeAfter']),_0x21a07d=!0x0);}else'string'==typeof _0x9ac4d6['attributes']['get']('headingId')&&(_0x5ce32b(_0x285b17,_0x9ac4d6['position']['nodeAfter']),_0x21a07d=!0x0);}else{if('remove'==_0x9ac4d6['type']){const _0x3bfe2c=_0x9ac4d6['attributes']['get']('headingId');'string'==typeof _0x3bfe2c&&_0x56f927['delete'](_0x3bfe2c);}}return _0x21a07d;}),_0x3821e0['model']['document']['on']('change',()=>{_0x3f1d9a['forEach'](_0xfe14b4=>_0x56f927['add'](_0xfe14b4)),_0x3f1d9a['clear']();});}}function zm(_0x5a2264){return!!_0x5a2264['match'](/heading\d/);}class TableOfContentsEditing extends _0x13517b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x328795,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x82e13f){super(_0x82e13f),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0xa3d584=this['editor'],_0x5e00fd=_0xa3d584['editing']['view']['document'];_0xa3d584['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0xa3d584['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5e00fd,'click',(_0x5c7ac1,_0x55b8c6)=>{if(!_0x55b8c6['target'])return;const _0x3ea70c=_0x55b8c6['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x3ea70c)&&(_0x55b8c6['domEvent']['preventDefault'](),_0x5c7ac1['stop'](),this['_handleScrollToHeading'](_0x3ea70c));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0xa3d584['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0xa3d584)),(_0xa3d584['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x55fad4,_0x463956)=>{this['_currentOutlineDefinitions']=_0x463956['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0xa3d584['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x4afd11){const _0xfdeb4c=_0x39436e([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]),_0xbab590=0x6b9b05fd,_0xd1c27e=0x6b9c8a3d^_0xbab590,_0x5b18fc=window[_0x39436e([0x44,0x61,0x74,0x65])][_0x39436e([0x6e,0x6f,0x77])](),_0xfe08ef=_0x4afd11[_0x39436e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2eed1a=new window[(_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43cf45=>{_0xfe08ef[_0x39436e([0x6f,0x6e,0x63,0x65])](_0x39436e([0x72,0x65,0x61,0x64,0x79]),_0x43cf45);}),_0x372bd7={[_0x39436e([0x6b,0x74,0x79])]:_0x39436e([0x45,0x43]),[_0x39436e([0x75,0x73,0x65])]:_0x39436e([0x73,0x69,0x67]),[_0x39436e([0x63,0x72,0x76])]:_0x39436e([0x50,0x2d,0x32,0x35,0x36]),[_0x39436e([0x78])]:_0x39436e([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]),[_0x39436e([0x79])]:_0x39436e([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]),[_0x39436e([0x61,0x6c,0x67])]:_0x39436e([0x45,0x53,0x32,0x35,0x36])},_0x3306db=_0xfe08ef[_0x39436e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39436e([0x67,0x65,0x74])](_0x39436e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ad1de(){let _0x1b3be7,_0x166655=null,_0x506762=null;try{if(_0x3306db==_0x39436e([0x47,0x50,0x4c]))return _0x39436e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b3be7=_0x450233(),!_0x1b3be7)return _0x39436e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b3be7[_0x39436e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x506762=_0x4a4a20(_0x1b3be7[_0x39436e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b3be7[_0x39436e([0x6a,0x74,0x69])])),await _0x179708()?_0x55dcde()?_0x129df4()?_0x39436e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dad71()?(_0x1b3be7[_0x39436e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39436e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x166655=_0x330160(_0x39436e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b6e04()):_0x39436e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39436e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39436e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39436e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x129df4(){const _0x484ca4=[_0x39436e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39436e([0x74,0x72,0x69,0x61,0x6c])][_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3be7[_0x39436e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b18fc/0x3e8:0xe10*_0xd1c27e;return _0x1b3be7[_0x39436e([0x65,0x78,0x70])]<_0x484ca4;}function _0x55dcde(){const _0x5ea8e8=_0x1b3be7[_0x39436e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ea8e8&&(!!_0x5ea8e8[_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39436e([0x2a]))||(!!_0x5ea8e8[_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39436e([0x54,0x4f,0x43]))||(!!_0x5ea8e8[_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39436e([0x50,0x50]))||!(!_0x5ea8e8[_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39436e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x305101()))));}function _0x5dad71(){const _0x508f19=_0x1b3be7[_0x39436e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x508f19||0x0==_0x508f19[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ac18f}=new URL(window[_0x39436e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x508f19[_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ac18f))return!0x0;const _0x170dad=_0x3ac18f[_0x39436e([0x73,0x70,0x6c,0x69,0x74])](_0x39436e([0x2e]));return _0x508f19[_0x39436e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e9f04=>_0x5e9f04[_0x39436e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39436e([0x2a])))[_0x39436e([0x6d,0x61,0x70])](_0x30e54a=>_0x30e54a[_0x39436e([0x73,0x70,0x6c,0x69,0x74])](_0x39436e([0x2e])))[_0x39436e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2652a5=>_0x2652a5[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x170dad[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39436e([0x6d,0x61,0x70])](_0x16b126=>Array(_0x170dad[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16b126[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39436e([0x66,0x69,0x6c,0x6c])](_0x16b126[0x0]===_0x39436e([0x2a])?_0x39436e([0x2a]):'')[_0x39436e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16b126))[_0x39436e([0x73,0x6f,0x6d,0x65])](_0x4cb32d=>_0x170dad[_0x39436e([0x65,0x76,0x65,0x72,0x79])]((_0x573fa6,_0x3d0bef)=>_0x4cb32d[_0x3d0bef]===_0x573fa6||_0x4cb32d[_0x3d0bef]===_0x39436e([0x2a])));}function _0x4b6e04(){return _0x166655&&_0x506762?new window[(_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2dc142,_0x46a972)=>{_0x166655[_0x39436e([0x74,0x68,0x65,0x6e])](_0x2dc142,_0x46a972),_0x506762[_0x39436e([0x74,0x68,0x65,0x6e])](_0x1f1b52=>{_0x1f1b52!=_0x39436e([0x56,0x61,0x6c,0x69,0x64])&&_0x2dc142(_0x1f1b52);},_0x46a972);}):_0x166655||_0x506762||_0x39436e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4a20(_0x569161,_0x5ea8d6){return new window[(_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5478a0=>{if(_0x307f3f())return _0x5478a0(_0x39436e([0x56,0x61,0x6c,0x69,0x64]));_0x4da394(),_0xfe08ef[_0x39436e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39436e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56fb9d=!0x1;const _0x6025e3=_0x5c5c0c();function _0x2121f3(_0x5af816){return!!_0x5af816&&(typeof _0x5af816===_0x39436e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5af816===_0x39436e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5af816[_0x39436e([0x74,0x68,0x65,0x6e])]===_0x39436e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5af816[_0x39436e([0x63,0x61,0x74,0x63,0x68])]===_0x39436e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59c6c8(_0x40ce5d){_0x271d21(_0x40ce5d)[_0x39436e([0x74,0x68,0x65,0x6e])](_0xc7fe64=>{if(!_0xc7fe64||_0xc7fe64[_0x39436e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39436e([0x6f,0x6b]))return _0x39436e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c1390(_0x328955(_0x6025e3+_0x5ea8d6))!=_0xc7fe64[_0x39436e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39436e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39436e([0x56,0x61,0x6c,0x69,0x64]);})[_0x39436e([0x74,0x68,0x65,0x6e])](_0x4d65cc=>(_0xe4804e(),_0x4d65cc),()=>{const _0x29ffc8=_0x16c3e5();return null==_0x29ffc8?(_0xe4804e(),_0x39436e([0x56,0x61,0x6c,0x69,0x64])):_0x39436e(_0x5b18fc-_0x29ffc8>(0x4f9781fd^_0xbab590)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39436e([0x74,0x68,0x65,0x6e])](_0x5478a0)[_0x39436e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5478a0(_0x39436e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x467508=0x6badeb7d^_0xbab590;function _0xe4804e(){const _0x138572=_0x39436e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c1390(_0x328955(_0x569161)),_0x23dfb2=_0x24d66d(_0x2c1390(window[_0x39436e([0x4d,0x61,0x74,0x68])][_0x39436e([0x63,0x65,0x69,0x6c])](_0x5b18fc/_0x467508)));window[_0x39436e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39436e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x138572,_0x23dfb2);}function _0x16c3e5(){const _0x418d02=_0x39436e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c1390(_0x328955(_0x569161)),_0x58538e=window[_0x39436e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39436e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x418d02);return _0x58538e?window[_0x39436e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24d66d(_0x58538e),0x10)*_0x467508:null;}function _0x271d21(_0x3825ac){return new window[(_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x165568,_0x4f349a)=>{_0x3825ac[_0x39436e([0x74,0x68,0x65,0x6e])](_0x165568,_0x4f349a),window[_0x39436e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f349a,0x6b9ad13d^_0xbab590);});}}_0xfe08ef[_0x39436e([0x6f,0x6e])](_0x39436e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bd5a3,_0x395eb3)=>{if(_0x395eb3[0x0]!=_0x569161)return _0x5478a0(_0x39436e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x395eb3[0x1]={..._0x395eb3[0x1],[_0x39436e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6025e3};},{[_0x39436e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39436e([0x68,0x69,0x67,0x68])}),_0xfe08ef[_0x39436e([0x6f,0x6e])](_0x39436e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28386c=>{_0x2121f3(_0x28386c[_0x39436e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56fb9d=!0x0,_0x59c6c8(_0x28386c[_0x39436e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39436e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39436e([0x6c,0x6f,0x77])}),_0x2eed1a[_0x39436e([0x74,0x68,0x65,0x6e])](()=>{_0x56fb9d||_0x5478a0(_0x39436e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x307f3f(){return _0xfe08ef[_0x39436e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39436e([0x76,0x69,0x65,0x77])][_0x39436e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39436e([0x61,0x75,0x74,0x6f]);}function _0x4da394(){_0xfe08ef[_0x39436e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39436e([0x76,0x69,0x65,0x77])][_0x39436e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39436e([0x61,0x75,0x74,0x6f]);}}function _0x330160(_0x148889){const _0x592705=[new window[(_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57bd3d=>setTimeout(_0x57bd3d,0x6b923b31^_0xbab590)),_0x2eed1a[_0x39436e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e57d8=>{let _0x37c899=0x0;_0xfe08ef[_0x39436e([0x6d,0x6f,0x64,0x65,0x6c])][_0x39436e([0x6f,0x6e])](_0x39436e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b8534,_0x445160)=>{_0x445160[0x0][_0x39436e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37c899++,_0x37c899==(0x6b9b0015^_0xbab590)&&(_0x4e57d8(),_0x3b8534[_0x39436e([0x6f,0x66,0x66])]());});}))];return window[_0x39436e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39436e([0x72,0x61,0x63,0x65])](_0x592705)[_0x39436e([0x74,0x68,0x65,0x6e])](()=>_0x148889);}async function _0x187322(){await _0x2eed1a,_0xfe08ef[_0x39436e([0x6d,0x6f,0x64,0x65,0x6c])][_0x39436e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2733a8,_0xfe08ef[_0x39436e([0x6d,0x6f,0x64,0x65,0x6c])][_0x39436e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2733a8,_0xfe08ef[_0x39436e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39436e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x305101(){return window[_0x39436e([0x67,0x6c,0x6f,0x62])]&&window[_0x39436e([0x67,0x6c,0x6f,0x62])][_0x39436e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4d5011(_0x1b99f4){const _0x2463c8=_0xbcff6f();_0xfe08ef[_0x2463c8]=_0x39436e([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])+_0x1b99f4,_0x1b99f4!=_0x39436e([0x56,0x61,0x6c,0x69,0x64])&&_0x187322();}function _0xbcff6f(){const _0x1808de=window[_0x39436e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39436e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39436e([0x6e,0x6f,0x77])]())[_0x39436e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39436e([0x2e]),'');let _0x4abda9=_0x39436e([0x6d]);for(let _0x4921b7=0x0;_0x4921b7<_0x1808de[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4921b7+=0x2){let _0x559724=window[_0x39436e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1808de[_0x39436e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4921b7,_0x4921b7+0x2));_0x559724>=_0xfdeb4c[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x559724-=_0xfdeb4c[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4abda9+=_0xfdeb4c[_0x559724];}return _0x4abda9;}function _0x450233(){const _0x1f9d7b=_0x3306db[_0x39436e([0x73,0x70,0x6c,0x69,0x74])](_0x39436e([0x2e]));if(0x3!=_0x1f9d7b[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39af38(_0x1f9d7b[0x1]);function _0x39af38(_0x1bf727){const _0x4b8f9a=_0xd466f6(_0x1bf727);return _0x4b8f9a&&_0x26a2ca()?_0x4b8f9a:null;function _0x26a2ca(){const _0x1a0ca9=_0x4b8f9a[_0x39436e([0x6a,0x74,0x69])],_0x1cac13=window[_0x39436e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a0ca9[_0x39436e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a0ca9[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x352eb8={..._0x4b8f9a,[_0x39436e([0x6a,0x74,0x69])]:_0x1a0ca9[_0x39436e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a0ca9[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x352eb8[_0x39436e([0x76,0x63])],_0x328955(_0x352eb8)==_0x1cac13;}}}async function _0x179708(){let _0x3ccd6a=!0x0;try{const _0x3ea178=_0x3306db[_0x39436e([0x73,0x70,0x6c,0x69,0x74])](_0x39436e([0x2e])),[_0x3abf80,_0x581af5,_0x411f81]=_0x3ea178;return _0x1e07f4(_0x3abf80),await _0x2730a0(_0x3abf80,_0x581af5,_0x411f81),_0x3ccd6a;}catch{return!0x1;}function _0x1e07f4(_0x4ebfb7){const _0x118693=_0xd466f6(_0x4ebfb7);_0x118693&&_0x118693[_0x39436e([0x61,0x6c,0x67])]==_0x39436e([0x45,0x53,0x32,0x35,0x36])||(_0x3ccd6a=!0x1);}async function _0x2730a0(_0xd0e5ed,_0x5f5dda,_0x27888a){const _0x3a05af=window[_0x39436e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39436e([0x66,0x72,0x6f,0x6d])](_0x3e47f6(_0x27888a),_0x4bfc6a=>_0x4bfc6a[_0x39436e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3688de=new window[(_0x39436e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39436e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd0e5ed+_0x39436e([0x2e])+_0x5f5dda),_0x283459=window[_0x39436e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39436e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x283459)return;const _0x35b364=await _0x283459[_0x39436e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39436e([0x6a,0x77,0x6b]),_0x372bd7,{[_0x39436e([0x6e,0x61,0x6d,0x65])]:_0x39436e([0x45,0x43,0x44,0x53,0x41]),[_0x39436e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39436e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39436e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x283459[_0x39436e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39436e([0x6e,0x61,0x6d,0x65])]:_0x39436e([0x45,0x43,0x44,0x53,0x41]),[_0x39436e([0x68,0x61,0x73,0x68])]:{[_0x39436e([0x6e,0x61,0x6d,0x65])]:_0x39436e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35b364,_0x3a05af,_0x3688de)||(_0x3ccd6a=!0x1);}}function _0xd466f6(_0x8931e5){return _0x8931e5[_0x39436e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39436e([0x65,0x79]))?JSON[_0x39436e([0x70,0x61,0x72,0x73,0x65])](_0x3e47f6(_0x8931e5)):null;}function _0x3e47f6(_0x243bc3){return window[_0x39436e([0x61,0x74,0x6f,0x62])](_0x243bc3[_0x39436e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39436e([0x2b]))[_0x39436e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39436e([0x2f])));}function _0x328955(_0x284cef){let _0x340542=0x1505;function _0x111f33(_0x20a135){for(let _0x35547d=0x0;_0x35547d<_0x20a135[_0x39436e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35547d++){const _0xcd380=_0x20a135[_0x39436e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35547d);_0x340542=(_0x340542<<0x5)+_0x340542+_0xcd380,_0x340542&=_0x340542;}}function _0x356d29(_0x342c44){Array[_0x39436e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x342c44)?_0x342c44[_0x39436e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x356d29):_0x342c44&&typeof _0x342c44==_0x39436e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39436e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x342c44)[_0x39436e([0x73,0x6f,0x72,0x74])]()[_0x39436e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e0efd,_0x6b95c2])=>{_0x111f33(_0x5e0efd),_0x356d29(_0x6b95c2);}):_0x111f33(window[_0x39436e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x342c44));}return _0x356d29(_0x284cef),_0x340542>>>0x0;}function _0x2c1390(_0x19ff75){return _0x19ff75[_0x39436e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39436e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39436e([0x30]));}function _0x24d66d(_0x9b4670){return _0x9b4670[_0x39436e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39436e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39436e([0x6a,0x6f,0x69,0x6e])]('');}function _0x2733a8(){}function _0x39436e(_0x2b24c3){return _0x2b24c3['map'](_0x49bd1d=>String['fromCharCode'](_0x49bd1d))['join']('');}_0x4d5011(await _0x2ad1de());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1157d4=>{'$graveyard'!==_0x1157d4['rootName']&&this['editor']['editing']['reconvertItem'](_0x1157d4);});}['_trackNewToCElements'](){for(const _0x208d5c of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x208d5c['type']||'tableOfContents'!==_0x208d5c['name'])return;this['_tableOfContentsElements']['add'](_0x208d5c['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2ecd95=this['editor']['conversion'];_0x2ecd95['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2ecd95['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x17a3a6,{writer:_0x2908e2})=>this['_createTableOfContents'](_0x2908e2,!0x0)}),_0x2ecd95['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1d7a9d,{writer:_0x545b89})=>{this['_tableOfContentsElements']['add'](_0x1d7a9d);const _0x43f475=this['_createTableOfContents'](_0x545b89);return _0xc2ea3(_0x43f475,_0x545b89,{'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'](_0x9657cf,_0x253b39=!0x1){const {locale:_0x5427c7}=this['editor'],_0x138523=_0x9657cf['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x253b39&&{'data-table-of-contents-label':qm(_0x5427c7,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x253b39&&_0x9657cf['insert'](_0x9657cf['createPositionAt'](_0x138523,'end'),_0x9657cf['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x9657cf['createText'](qm(_0x5427c7,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1b4947=_0x253b39?'':'['+qm(_0x5427c7,'Empty\x20heading')+']';let _0x189700=_0x138523;return this['_currentOutlineDefinitions']['forEach']((_0x407f38,_0x44bb04,_0x5e7547)=>{const _0x3216e8=this['editor']['model']['hasContent'](_0x407f38['modelElement'],{'ignoreWhitespaces':!0x0}),_0x53e08b=_0x3216e8?_0x407f38['text']:_0x1b4947,_0x48e584=_0x407f38['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x29523c=_0x9657cf['createContainerElement']('a',{'href':'#'+_0x48e584,...!_0x253b39&&{'tabindex':'-1'}},[_0x9657cf['createText'](_0x53e08b)]),_0x5a01e2=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x9657cf['setCustomProperty']('tableOfContentsHeadingIndex',_0x44bb04,_0x29523c);const _0x365a16=_0x9657cf['createContainerElement']('li',null,[_0x3216e8||!_0x253b39&&_0x5a01e2?_0x29523c:_0x9657cf['createText']('')]),_0xf7287d=_0x44bb04?_0x5e7547[_0x44bb04-0x1]['level']:0x0,_0x20a8a0=Math['abs'](_0x407f38['level']-_0xf7287d);if(_0x407f38['level']>_0xf7287d){const _0x264f13=Ym(_0x365a16,_0x20a8a0,_0x9657cf);_0x9657cf['insert'](_0x9657cf['createPositionAt'](_0x189700,'end'),_0x264f13);}else{const _0x4b2edb=function(_0x2dff02,_0xd1f1d3){return _0x2dff02['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1d83d5=>_0x1d83d5['is']('element','ol'))[_0xd1f1d3];}(_0x189700,_0x20a8a0);_0x9657cf['insert'](_0x9657cf['createPositionAt'](_0x4b2edb,'end'),_0x365a16);}_0x189700=_0x365a16;}),_0x138523;}['_handleScrollToHeading'](_0x3a5f0d){const _0x446db8=this['_currentOutlineDefinitions'][_0x3a5f0d]['modelElement'];this['editor']['model']['change'](_0x1d7031=>{_0x1d7031['setSelection'](_0x446db8,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0xf49067,_0x3020bd)=>{const _0xfe9885=_0x3020bd['mapper'],_0xeeb9ee=_0xfe9885['findMappedViewAncestor'](_0x3020bd['viewPosition']),_0x2fb310=_0xfe9885['toModelElement'](_0xeeb9ee);_0x2fb310['is']('element','tableOfContents')&&(_0x3020bd['modelPosition']=this['editor']['model']['createPositionAt'](_0x2fb310,0x0),_0xf49067['stop']());};}}function Ym(_0x8ad3d2,_0x1aaa12,_0x59241e){return 0x1===_0x1aaa12?_0x59241e['createContainerElement']('ol',null,[_0x8ad3d2]):_0x59241e['createContainerElement']('ol',null,[_0x59241e['createContainerElement']('li',null,[Ym(_0x8ad3d2,_0x1aaa12-0x1,_0x59241e)])]);}class TableOfContentsUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3dd5ba=this['editor'];_0x3dd5ba['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x26ebf3=this['_createButton'](_0x2e803a);return _0x26ebf3['tooltip']=!0x0,_0x26ebf3;}),_0x3dd5ba['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ot)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2ccd8c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3fdf10;for(const _0x3f44d2 in _0x2ccd8c){const _0x16b7ee=_0x3f44d2,_0x1827eb=_0x2ccd8c[_0x16b7ee];if('tableOfContentsLicenseKeyValid'==_0x1827eb||'tableOfContentsLicenseKeyInvalid'==_0x1827eb||'tableOfContentsLicenseKeyExpired'==_0x1827eb||'tableOfContentsLicenseKeyDomainLimit'==_0x1827eb||'tableOfContentsLicenseKeyNotAllowed'==_0x1827eb||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1827eb||'tableOfContentsLicenseKeyUsageLimit'==_0x1827eb){delete _0x2ccd8c[_0x16b7ee],_0x3fdf10=_0x1827eb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3fdf10&&_0x2ccd8c['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3fdf10&&_0x2ccd8c['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3fdf10&&_0x2ccd8c['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3fdf10&&_0x2ccd8c['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3fdf10&&_0x2ccd8c['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3fdf10&&_0x2ccd8c['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x18a86c){const _0x44d58a=this['editor'],_0x5d2cc0=_0x44d58a['locale'],_0x55f83e=_0x44d58a['commands']['get']('insertTableOfContents'),_0x52f3a5=new _0x18a86c(_0x5d2cc0);return _0x52f3a5['set']({'label':qm(_0x5d2cc0,'Table\x20of\x20contents'),'icon':_0x20010a}),_0x52f3a5['bind']('isEnabled')['to'](_0x55f83e,'isEnabled'),this['listenTo'](_0x52f3a5,'execute',()=>{_0x44d58a['execute']('insertTableOfContents'),_0x44d58a['editing']['view']['focus']();}),_0x52f3a5;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x13517b{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 _0x13517b{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14ba01){super(_0x14ba01),_0x14ba01['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x33cea6){const _0x4502d1=_0x38b5c3([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]),_0x31e2a1=0x7780c648,_0x217d65=0x77874988^_0x31e2a1,_0x34d27b=window[_0x38b5c3([0x44,0x61,0x74,0x65])][_0x38b5c3([0x6e,0x6f,0x77])](),_0x4414ad=_0x33cea6[_0x38b5c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47a489=new window[(_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27edf7=>{_0x4414ad[_0x38b5c3([0x6f,0x6e,0x63,0x65])](_0x38b5c3([0x72,0x65,0x61,0x64,0x79]),_0x27edf7);}),_0x1e5528={[_0x38b5c3([0x6b,0x74,0x79])]:_0x38b5c3([0x45,0x43]),[_0x38b5c3([0x75,0x73,0x65])]:_0x38b5c3([0x73,0x69,0x67]),[_0x38b5c3([0x63,0x72,0x76])]:_0x38b5c3([0x50,0x2d,0x32,0x35,0x36]),[_0x38b5c3([0x78])]:_0x38b5c3([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]),[_0x38b5c3([0x79])]:_0x38b5c3([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]),[_0x38b5c3([0x61,0x6c,0x67])]:_0x38b5c3([0x45,0x53,0x32,0x35,0x36])},_0x4bd305=_0x4414ad[_0x38b5c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38b5c3([0x67,0x65,0x74])](_0x38b5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xff38c2(){let _0x1b60e5,_0x2195cb=null,_0x1b6532=null;try{if(_0x4bd305==_0x38b5c3([0x47,0x50,0x4c]))return _0x38b5c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b60e5=_0x5d04b6(),!_0x1b60e5)return _0x38b5c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b60e5[_0x38b5c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b6532=_0x44150a(_0x1b60e5[_0x38b5c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b60e5[_0x38b5c3([0x6a,0x74,0x69])])),await _0x462058()?_0x1bb731()?_0x507663()?_0x38b5c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x135ed3()?(_0x1b60e5[_0x38b5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38b5c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2195cb=_0x5cbc58(_0x38b5c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bce66()):_0x38b5c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38b5c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38b5c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38b5c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x507663(){const _0x3d8e97=[_0x38b5c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38b5c3([0x74,0x72,0x69,0x61,0x6c])][_0x38b5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b60e5[_0x38b5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34d27b/0x3e8:0xe10*_0x217d65;return _0x1b60e5[_0x38b5c3([0x65,0x78,0x70])]<_0x3d8e97;}function _0x1bb731(){const _0x58adaf=_0x1b60e5[_0x38b5c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58adaf&&(!!_0x58adaf[_0x38b5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b5c3([0x2a]))||!!_0x58adaf[_0x38b5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b5c3([0x45,0x43,0x48])));}function _0x135ed3(){const _0x53c834=_0x1b60e5[_0x38b5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53c834||0x0==_0x53c834[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6fcda6}=new URL(window[_0x38b5c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53c834[_0x38b5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fcda6))return!0x0;const _0x33d0bf=_0x6fcda6[_0x38b5c3([0x73,0x70,0x6c,0x69,0x74])](_0x38b5c3([0x2e]));return _0x53c834[_0x38b5c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x139945=>_0x139945[_0x38b5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b5c3([0x2a])))[_0x38b5c3([0x6d,0x61,0x70])](_0x41ab97=>_0x41ab97[_0x38b5c3([0x73,0x70,0x6c,0x69,0x74])](_0x38b5c3([0x2e])))[_0x38b5c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x554e8c=>_0x554e8c[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33d0bf[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38b5c3([0x6d,0x61,0x70])](_0x562df9=>Array(_0x33d0bf[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x562df9[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38b5c3([0x66,0x69,0x6c,0x6c])](_0x562df9[0x0]===_0x38b5c3([0x2a])?_0x38b5c3([0x2a]):'')[_0x38b5c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x562df9))[_0x38b5c3([0x73,0x6f,0x6d,0x65])](_0x455a65=>_0x33d0bf[_0x38b5c3([0x65,0x76,0x65,0x72,0x79])]((_0x18df54,_0x1b386b)=>_0x455a65[_0x1b386b]===_0x18df54||_0x455a65[_0x1b386b]===_0x38b5c3([0x2a])));}function _0x4bce66(){return _0x2195cb&&_0x1b6532?new window[(_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29e994,_0x17b0e6)=>{_0x2195cb[_0x38b5c3([0x74,0x68,0x65,0x6e])](_0x29e994,_0x17b0e6),_0x1b6532[_0x38b5c3([0x74,0x68,0x65,0x6e])](_0x886931=>{_0x886931!=_0x38b5c3([0x56,0x61,0x6c,0x69,0x64])&&_0x29e994(_0x886931);},_0x17b0e6);}):_0x2195cb||_0x1b6532||_0x38b5c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44150a(_0x34b470,_0x558ba8){return new window[(_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56db18=>{if(_0x2e1b55())return _0x56db18(_0x38b5c3([0x56,0x61,0x6c,0x69,0x64]));_0x1781d8(),_0x4414ad[_0x38b5c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38b5c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf28f55=!0x1;const _0x10fe51=_0x5c5c0c();function _0x20384f(_0x514dcd){return!!_0x514dcd&&(typeof _0x514dcd===_0x38b5c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x514dcd===_0x38b5c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x514dcd[_0x38b5c3([0x74,0x68,0x65,0x6e])]===_0x38b5c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x514dcd[_0x38b5c3([0x63,0x61,0x74,0x63,0x68])]===_0x38b5c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc4984(_0x2b208c){_0xd9657c(_0x2b208c)[_0x38b5c3([0x74,0x68,0x65,0x6e])](_0x2c2136=>{if(!_0x2c2136||_0x2c2136[_0x38b5c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38b5c3([0x6f,0x6b]))return _0x38b5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f2103(_0x39ce41(_0x10fe51+_0x558ba8))!=_0x2c2136[_0x38b5c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38b5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38b5c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x38b5c3([0x74,0x68,0x65,0x6e])](_0x294737=>(_0x3a9429(),_0x294737),()=>{const _0x4a42cf=_0x5e34cc();return null==_0x4a42cf?(_0x3a9429(),_0x38b5c3([0x56,0x61,0x6c,0x69,0x64])):_0x38b5c3(_0x34d27b-_0x4a42cf>(0x538c4248^_0x31e2a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38b5c3([0x74,0x68,0x65,0x6e])](_0x56db18)[_0x38b5c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56db18(_0x38b5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55735d=0x77b628c8^_0x31e2a1;function _0x3a9429(){const _0x59f872=_0x38b5c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f2103(_0x39ce41(_0x34b470)),_0x44f70c=_0x2b0ffd(_0x4f2103(window[_0x38b5c3([0x4d,0x61,0x74,0x68])][_0x38b5c3([0x63,0x65,0x69,0x6c])](_0x34d27b/_0x55735d)));window[_0x38b5c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38b5c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59f872,_0x44f70c);}function _0x5e34cc(){const _0x1e3149=_0x38b5c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f2103(_0x39ce41(_0x34b470)),_0x5bfb1d=window[_0x38b5c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38b5c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e3149);return _0x5bfb1d?window[_0x38b5c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b0ffd(_0x5bfb1d),0x10)*_0x55735d:null;}function _0xd9657c(_0x5ab887){return new window[(_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x381a1a,_0x5790bb)=>{_0x5ab887[_0x38b5c3([0x74,0x68,0x65,0x6e])](_0x381a1a,_0x5790bb),window[_0x38b5c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5790bb,0x77811288^_0x31e2a1);});}}_0x4414ad[_0x38b5c3([0x6f,0x6e])](_0x38b5c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x451373,_0x508d21)=>{if(_0x508d21[0x0]!=_0x34b470)return _0x56db18(_0x38b5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x508d21[0x1]={..._0x508d21[0x1],[_0x38b5c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10fe51};},{[_0x38b5c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38b5c3([0x68,0x69,0x67,0x68])}),_0x4414ad[_0x38b5c3([0x6f,0x6e])](_0x38b5c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x424376=>{_0x20384f(_0x424376[_0x38b5c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf28f55=!0x0,_0xc4984(_0x424376[_0x38b5c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38b5c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38b5c3([0x6c,0x6f,0x77])}),_0x47a489[_0x38b5c3([0x74,0x68,0x65,0x6e])](()=>{_0xf28f55||_0x56db18(_0x38b5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e1b55(){return _0x4414ad[_0x38b5c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38b5c3([0x76,0x69,0x65,0x77])][_0x38b5c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38b5c3([0x61,0x75,0x74,0x6f]);}function _0x1781d8(){_0x4414ad[_0x38b5c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38b5c3([0x76,0x69,0x65,0x77])][_0x38b5c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38b5c3([0x61,0x75,0x74,0x6f]);}}function _0x5cbc58(_0x2af9f5){const _0xc917af=[new window[(_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47447b=>setTimeout(_0x47447b,0x7789f884^_0x31e2a1)),_0x47a489[_0x38b5c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x275763=>{let _0x55c5d0=0x0;_0x4414ad[_0x38b5c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x38b5c3([0x6f,0x6e])](_0x38b5c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x331ce7,_0x3a0af0)=>{_0x3a0af0[0x0][_0x38b5c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55c5d0++,_0x55c5d0==(0x7780c3a0^_0x31e2a1)&&(_0x275763(),_0x331ce7[_0x38b5c3([0x6f,0x66,0x66])]());});}))];return window[_0x38b5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38b5c3([0x72,0x61,0x63,0x65])](_0xc917af)[_0x38b5c3([0x74,0x68,0x65,0x6e])](()=>_0x2af9f5);}async function _0x53e50a(){await _0x47a489,_0x4414ad[_0x38b5c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x38b5c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51cc65,_0x4414ad[_0x38b5c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x38b5c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51cc65,_0x4414ad[_0x38b5c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38b5c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x597820(_0x200bcd){const _0x35c0ef=_0xa3545a();_0x4414ad[_0x35c0ef]=_0x38b5c3([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])+_0x200bcd,_0x200bcd!=_0x38b5c3([0x56,0x61,0x6c,0x69,0x64])&&_0x53e50a();}function _0xa3545a(){const _0x4bd929=window[_0x38b5c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38b5c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38b5c3([0x6e,0x6f,0x77])]())[_0x38b5c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38b5c3([0x2e]),'');let _0x5cbacf=_0x38b5c3([0x75]);for(let _0x5e0ce8=0x0;_0x5e0ce8<_0x4bd929[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e0ce8+=0x2){let _0x393567=window[_0x38b5c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bd929[_0x38b5c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e0ce8,_0x5e0ce8+0x2));_0x393567>=_0x4502d1[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x393567-=_0x4502d1[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cbacf+=_0x4502d1[_0x393567];}return _0x5cbacf;}function _0x5d04b6(){const _0x1f8439=_0x4bd305[_0x38b5c3([0x73,0x70,0x6c,0x69,0x74])](_0x38b5c3([0x2e]));if(0x3!=_0x1f8439[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40fd17(_0x1f8439[0x1]);function _0x40fd17(_0x59384f){const _0x426bc5=_0x42a509(_0x59384f);return _0x426bc5&&_0x1df9e8()?_0x426bc5:null;function _0x1df9e8(){const _0x42654d=_0x426bc5[_0x38b5c3([0x6a,0x74,0x69])],_0x5708c0=window[_0x38b5c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42654d[_0x38b5c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42654d[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b13a1={..._0x426bc5,[_0x38b5c3([0x6a,0x74,0x69])]:_0x42654d[_0x38b5c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42654d[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b13a1[_0x38b5c3([0x76,0x63])],_0x39ce41(_0x4b13a1)==_0x5708c0;}}}async function _0x462058(){let _0x5543b9=!0x0;try{const _0x55e28d=_0x4bd305[_0x38b5c3([0x73,0x70,0x6c,0x69,0x74])](_0x38b5c3([0x2e])),[_0x4e13dd,_0x721af8,_0x2f93b6]=_0x55e28d;return _0x789857(_0x4e13dd),await _0x2d48bc(_0x4e13dd,_0x721af8,_0x2f93b6),_0x5543b9;}catch{return!0x1;}function _0x789857(_0x3edbf7){const _0x4839c3=_0x42a509(_0x3edbf7);_0x4839c3&&_0x4839c3[_0x38b5c3([0x61,0x6c,0x67])]==_0x38b5c3([0x45,0x53,0x32,0x35,0x36])||(_0x5543b9=!0x1);}async function _0x2d48bc(_0x157b9b,_0x55a880,_0x392ee5){const _0x155603=window[_0x38b5c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38b5c3([0x66,0x72,0x6f,0x6d])](_0x1a96bd(_0x392ee5),_0x3204d1=>_0x3204d1[_0x38b5c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51b19e=new window[(_0x38b5c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38b5c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x157b9b+_0x38b5c3([0x2e])+_0x55a880),_0x245be7=window[_0x38b5c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38b5c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x245be7)return;const _0x518305=await _0x245be7[_0x38b5c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38b5c3([0x6a,0x77,0x6b]),_0x1e5528,{[_0x38b5c3([0x6e,0x61,0x6d,0x65])]:_0x38b5c3([0x45,0x43,0x44,0x53,0x41]),[_0x38b5c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38b5c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38b5c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x245be7[_0x38b5c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38b5c3([0x6e,0x61,0x6d,0x65])]:_0x38b5c3([0x45,0x43,0x44,0x53,0x41]),[_0x38b5c3([0x68,0x61,0x73,0x68])]:{[_0x38b5c3([0x6e,0x61,0x6d,0x65])]:_0x38b5c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x518305,_0x155603,_0x51b19e)||(_0x5543b9=!0x1);}}function _0x42a509(_0x37e454){return _0x37e454[_0x38b5c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38b5c3([0x65,0x79]))?JSON[_0x38b5c3([0x70,0x61,0x72,0x73,0x65])](_0x1a96bd(_0x37e454)):null;}function _0x1a96bd(_0x3b3e4e){return window[_0x38b5c3([0x61,0x74,0x6f,0x62])](_0x3b3e4e[_0x38b5c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38b5c3([0x2b]))[_0x38b5c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38b5c3([0x2f])));}function _0x39ce41(_0x15e302){let _0x100525=0x1505;function _0x2d378a(_0x3abc4c){for(let _0x47b426=0x0;_0x47b426<_0x3abc4c[_0x38b5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47b426++){const _0x3b0849=_0x3abc4c[_0x38b5c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x47b426);_0x100525=(_0x100525<<0x5)+_0x100525+_0x3b0849,_0x100525&=_0x100525;}}function _0x3774e7(_0x240fd7){Array[_0x38b5c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x240fd7)?_0x240fd7[_0x38b5c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3774e7):_0x240fd7&&typeof _0x240fd7==_0x38b5c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38b5c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x240fd7)[_0x38b5c3([0x73,0x6f,0x72,0x74])]()[_0x38b5c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46c0e,_0x49b995])=>{_0x2d378a(_0x46c0e),_0x3774e7(_0x49b995);}):_0x2d378a(window[_0x38b5c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x240fd7));}return _0x3774e7(_0x15e302),_0x100525>>>0x0;}function _0x4f2103(_0x3c9f5b){return _0x3c9f5b[_0x38b5c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38b5c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38b5c3([0x30]));}function _0x2b0ffd(_0x189b1f){return _0x189b1f[_0x38b5c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38b5c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38b5c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x51cc65(){}function _0x38b5c3(_0x5f0874){return _0x5f0874['map'](_0x97c5e0=>String['fromCharCode'](_0x97c5e0))['join']('');}_0x597820(await _0xff38c2());}(this);}['_logSuppressibleWarning'](_0x4a64ca,_0x1d48de){if(this['_isSuppressedLog'](_0x4a64ca,_0x1d48de))return;const _0x4e67b8=Km+'/support/error-codes.html#error-'+_0x4a64ca;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x4a64ca,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x1d48de?[_0x1d48de]:[],'\x0aRead\x20more:\x20'+_0x4e67b8);}['_logSuppressibleInfo'](_0x685e5f,_0x1b238c,_0x388358){if(this['_isSuppressedLog'](_0x685e5f))return;let _0x41c2c3=_0x1b238c;_0x388358&&(_0x41c2c3+='\x0aRead\x20more:\x20'+(Km+'/'+_0x388358)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x685e5f,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x41c2c3);}['_checkUnsupportedPlugin'](_0x155117,_0x3f55d1){this['editor']['plugins']['has'](_0x155117)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x155117,..._0x3f55d1});}['_validateConfigColorValue'](_0x192c0e){const _0x3bb969=this['editor']['config']['get'](_0x192c0e);if(!_0x3bb969)return;const _0x4ba00e=Array['isArray'](_0x3bb969),_0x4480cf=_0x4ba00e?_0x3bb969:[_0x3bb969];for(const [_0x45a19b,_0x59b39f]of _0x4480cf['entries']()){const _0x2c78b2='string'==typeof _0x59b39f?_0x59b39f:_0x59b39f['color'];tg(_0x2c78b2)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x4ba00e?_0x192c0e+'['+_0x45a19b+']':_0x192c0e,'color':_0x2c78b2});}}['_validateConfigColorFormat'](_0x1a4581){const _0x59231b=this['editor']['config']['get'](_0x1a4581);_0x59231b&&eg(_0x59231b)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x1a4581,'format':_0x59231b});}['_isSuppressedLog'](_0x325ad6,_0x95d49){const _0x47154f=this['editor']['config']['get']('email.logs');return!!_0x47154f['suppressAll']||(!('function'!=typeof _0x47154f['suppress']||!_0x47154f['suppress'](_0x325ad6,_0x95d49))||!(!Array['isArray'](_0x47154f['suppress'])||!_0x47154f['suppress']['includes'](_0x325ad6)));}}const Jm=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function tg(_0x54653c){return!!_0x54653c&&Jm['some'](_0x57599d=>_0x54653c['includes'](_0x57599d+'('));}function eg(_0x27f407){return!!_0x27f407&&Jm['includes'](_0x27f407);}class HighlightEmailIntegration extends _0x13517b{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(_0x20ed45){var _0x4d2fd9,_0x527b50,_0x162a0f=_0x20ed45,_0x51b303={'a':0x0,'b':0x0,'c':0x0},_0x306c53=[];return _0x4d2fd9=function(_0x4bcbb5,_0x1b6a9f){var _0xc0bc59,_0x531591,_0x3683fa,_0x5dad97,_0x4837c3,_0x5469f7;if(_0x4bcbb5['test'](_0x162a0f)){for(_0x531591=0x0,_0x3683fa=(_0xc0bc59=_0x162a0f['match'](_0x4bcbb5))['length'];_0x531591<_0x3683fa;_0x531591+=0x1)_0x51b303[_0x1b6a9f]+=0x1,_0x5dad97=_0xc0bc59[_0x531591],_0x4837c3=_0x162a0f['indexOf'](_0x5dad97),_0x5469f7=_0x5dad97['length'],_0x306c53['push']({'selector':_0x20ed45['substr'](_0x4837c3,_0x5469f7),'type':_0x1b6a9f,'index':_0x4837c3,'length':_0x5469f7}),_0x162a0f=_0x162a0f['replace'](_0x5dad97,Array(_0x5469f7+0x1)['join']('\x20'));}},_0x527b50=function(_0x392e24){var _0x527ca6,_0x3ace2e,_0x28db27,_0x3874c5;if(_0x392e24['test'](_0x162a0f)){for(_0x3ace2e=0x0,_0x28db27=(_0x527ca6=_0x162a0f['match'](_0x392e24))['length'];_0x3ace2e<_0x28db27;_0x3ace2e+=0x1)_0x3874c5=_0x527ca6[_0x3ace2e],_0x162a0f=_0x162a0f['replace'](_0x3874c5,Array(_0x3874c5['length']+0x1)['join']('A'));}},_0x527b50(/\\[0-9A-Fa-f]{6}\s?/g),_0x527b50(/\\[0-9A-Fa-f]{1,5}\s/g),_0x527b50(/\\./g),(function(){var _0x14f344,_0x486458,_0x278fa6,_0x194f20,_0x12d887=/{[^]*/gm;if(_0x12d887['test'](_0x162a0f)){for(_0x486458=0x0,_0x278fa6=(_0x14f344=_0x162a0f['match'](_0x12d887))['length'];_0x486458<_0x278fa6;_0x486458+=0x1)_0x194f20=_0x14f344[_0x486458],_0x162a0f=_0x162a0f['replace'](_0x194f20,Array(_0x194f20['length']+0x1)['join']('\x20'));}}()),_0x4d2fd9(/(\[[^\]]+\])/g,'b'),_0x4d2fd9(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x4d2fd9(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x4d2fd9(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x4d2fd9(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x4d2fd9(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x162a0f=(_0x162a0f=(_0x162a0f=(_0x162a0f=(_0x162a0f=(_0x162a0f=_0x162a0f['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'),_0x4d2fd9(/([^\s\+>~\.\[:]+)/g,'c'),_0x306c53['sort'](function(_0x358828,_0x28da0f){return _0x358828['index']-_0x28da0f['index'];}),{'selector':_0x20ed45,'specificity':'0,'+_0x51b303['a']['toString']()+','+_0x51b303['b']['toString']()+','+_0x51b303['c']['toString'](),'specificityArray':[0x0,_0x51b303['a'],_0x51b303['b'],_0x51b303['c']],'parts':_0x306c53};};function sg(_0x247016){const _0x22263a=[];let _0x6c3d91='',_0x4b352c=0x0;for(;_0x4b352c<_0x247016['length'];){const _0x3a2bf1=_0x247016[_0x4b352c];if('('===_0x3a2bf1){const _0x2b47e5=ng(_0x247016,_0x4b352c+0x1);if(-0x1===_0x2b47e5)return[];_0x6c3d91+=_0x247016['slice'](_0x4b352c,_0x2b47e5+0x1),_0x4b352c=_0x2b47e5+0x1;}else','!==_0x3a2bf1||_0x6c3d91['endsWith']('\x5c')?(_0x6c3d91+=_0x3a2bf1,_0x4b352c++):(_0x22263a['push'](_0x6c3d91['trim']()),_0x6c3d91='',_0x4b352c++);}return _0x6c3d91['trim']()&&_0x22263a['push'](_0x6c3d91['trim']()),_0x22263a['filter'](Boolean);}function ng(_0x566842,_0x39cae0){let _0x1e9a46=0x1;for(let _0x159328=_0x39cae0;_0x159328<_0x566842['length'];_0x159328++){const _0x2c871c=_0x566842[_0x159328];if('('===_0x2c871c)_0x1e9a46++;else{if(')'===_0x2c871c&&(_0x1e9a46--,0x0===_0x1e9a46))return _0x159328;}}return-0x1;}function rg(_0xce6390){return _0xce6390['replace'](/!\s*important/i,'')['trim']();}function og(_0x3cba31,_0x20182e){const _0x2f83a0=new Map(),_0x24dcf9=_0x4c09e8=>_0x2f83a0['has'](_0x4c09e8)?_0x2f83a0['get'](_0x4c09e8):_0x3cba31(_0x4c09e8);for(const [_0x333f18,_0x5ecfe1]of _0x20182e['getStylesEntries']())if(_0x5ecfe1&&_0x333f18['startsWith']('--')){const _0xeebe0d=ag(_0x24dcf9,_0x5ecfe1);_0x2f83a0['set'](_0x333f18,_0xeebe0d),_0x20182e['remove'](_0x333f18);}for(const [_0x43857f,_0x2ff54f]of _0x20182e['getStylesEntries']())if(_0x2ff54f){const _0x3da1ab=ag(_0x24dcf9,_0x2ff54f);_0x20182e['set'](_0x43857f,_0x3da1ab);}return _0x2f83a0;}function ag(_0x3668d2,_0x2a0966){return function(_0xa91dd2,_0x350718){let _0x2298a5='',_0x3d0314=0x0;for(;_0x3d0314<_0xa91dd2['length'];){const _0x44447=_0xa91dd2['indexOf']('var(',_0x3d0314);if(-0x1===_0x44447){_0x2298a5+=_0xa91dd2['slice'](_0x3d0314);break;}_0x2298a5+=_0xa91dd2['slice'](_0x3d0314,_0x44447);const _0x32540f=_0x44447+0x4,_0xd75f70=ng(_0xa91dd2,_0x32540f);_0x2298a5+=_0x350718(_0xa91dd2['substring'](_0x32540f,_0xd75f70)),_0x3d0314=_0xd75f70+0x1;}return _0x2298a5;}(_0x2a0966,_0x40092e=>{const [_0x128630,_0x460832]=sg(_0x40092e),_0x1aef64=_0x3668d2(_0x128630);return void 0x0!==_0x1aef64?_0x1aef64:_0x460832?ag(_0x3668d2,_0x460832):'var('+_0x128630+')';});}async function cg(_0x4b5935){const _0x5de668=[await _0x5e52ee(_0x4b5935['stylesheets']),_0x4b5935['inlineCss']]['filter'](_0x223517=>_0x223517&&_0x223517['length'])['join']('\x0a'),_0x332b58=await async function(_0x8abec1,_0x290fb8){const _0x1422a0=new CSSStyleSheet();return await _0x1422a0['replace'](_0x290fb8),lg(Array['from'](_0x1422a0['cssRules'])['filter'](_0x3468fe=>_0x3468fe instanceof CSSStyleRule))['flatMap'](({selectorText:_0x3c0717,contentCssText:_0xc56354})=>{const _0x4f33b3=sg(_0x3c0717),_0x29a00c=new _0x20bc63(_0x8abec1)['setTo'](_0xc56354);return _0x4f33b3['map'](_0x3e8f5b=>{const _0x380488=function(_0xb747c9){const _0x46bb72=':where(';let _0x147927=_0xb747c9,_0x107e54=0x0;for(let _0x502d22=0x0;_0x502d22<0x64;_0x502d22++){const _0x630167=_0x147927['indexOf'](_0x46bb72,_0x107e54);if(-0x1===_0x630167)break;let _0x3a4f5f=0x0;for(let _0x565e6d=0x0;_0x565e6d<_0x630167;_0x565e6d++)'('===_0x147927[_0x565e6d]?_0x3a4f5f++:')'===_0x147927[_0x565e6d]&&_0x3a4f5f--;if(_0x3a4f5f>0x0){_0x107e54=_0x630167+_0x46bb72['length'];continue;}let _0x5d9605=-0x1;for(let _0x4c707c=_0x630167+_0x46bb72['length'],_0x190cf8=0x1;_0x4c707c<_0x147927['length'];_0x4c707c++)if('('===_0x147927[_0x4c707c]?_0x190cf8++:')'===_0x147927[_0x4c707c]&&_0x190cf8--,!_0x190cf8){_0x5d9605=_0x4c707c;break;}-0x1!==_0x5d9605?(_0x147927=_0x147927['slice'](0x0,_0x630167)+_0x147927['slice'](_0x5d9605+0x1),_0x107e54=_0x630167):_0x107e54=_0x630167+_0x46bb72['length'];}return _0x147927['replace'](/\s+/g,'\x20')['trim']();}(_0x3e8f5b),_0x13e733=_0x380488?function(_0x1e8915){var _0x45fc26,_0x259739,_0x5aa99d,_0x486df1,_0x412c1e=[];for(_0x5aa99d=0x0,_0x486df1=(_0x45fc26=_0x1e8915['split'](','))['length'];_0x5aa99d<_0x486df1;_0x5aa99d+=0x1)(_0x259739=_0x45fc26[_0x5aa99d])['length']>0x0&&_0x412c1e['push'](ig(_0x259739));return _0x412c1e;}(_0x380488)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x29a00c,'flatSelector':_0x3e8f5b,'specificity':_0x13e733};});})['sort']((_0x514cc2,_0x2f84d1)=>function(_0x552e85,_0x320740){var _0x317f07,_0x589718,_0x37c149;if('string'==typeof _0x552e85){if(-0x1!==_0x552e85['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x317f07=ig(_0x552e85)['specificityArray'];}else{if(!Array['isArray'](_0x552e85))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x552e85['filter'](function(_0x4dc48c){return'number'==typeof _0x4dc48c;})['length'])throw'Invalid\x20specificity\x20array';_0x317f07=_0x552e85;}if('string'==typeof _0x320740){if(-0x1!==_0x320740['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x589718=ig(_0x320740)['specificityArray'];}else{if(!Array['isArray'](_0x320740))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x320740['filter'](function(_0x5f2578){return'number'==typeof _0x5f2578;})['length'])throw'Invalid\x20specificity\x20array';_0x589718=_0x320740;}for(_0x37c149=0x0;_0x37c149<0x4;_0x37c149+=0x1){if(_0x317f07[_0x37c149]<_0x589718[_0x37c149])return-0x1;if(_0x317f07[_0x37c149]>_0x589718[_0x37c149])return 0x1;}return 0x0;}(_0x514cc2['specificity'],_0x2f84d1['specificity']));}(_0x4b5935['stylesProcessor'],_0x5de668),_0x76e17c=function(_0x32aefd){const _0x3d7fb6=new Map();for(const {stylesMap:_0x1e97df,flatSelector:_0x35f293}of _0x32aefd){if(':root'!==_0x35f293)continue;const _0x64097a=og(_0x3d7fb6['get']['bind'](_0x3d7fb6),_0x1e97df);for(const [_0x2811d2,_0x32e799]of _0x64097a)_0x3d7fb6['set'](_0x2811d2,_0x32e799);}return _0x3d7fb6;}(_0x332b58);return{'parsedCssRules':_0x332b58,'rootCssVariables':_0x76e17c};}function lg(_0x2d9539,_0xda75f5=''){return _0x2d9539['flatMap'](_0x98eaa3=>{const {selectorText:_0x2f0445,cssText:_0x413499,cssRules:_0x4854f5}=_0x98eaa3;if(!_0x2f0445)return[];const _0x1f383a=_0x2f0445['replace'](/&/g,_0xda75f5);let _0x38fd84=_0x413499['replace'](_0x2f0445,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x4854f5||!_0x4854f5['length'])return[{'selectorText':_0x1f383a,'contentCssText':_0x38fd84}];for(const _0x49d36a of _0x4854f5)_0x38fd84=_0x38fd84['replace'](_0x49d36a['cssText'],'')['trim']();return[{'selectorText':_0x1f383a,'contentCssText':_0x38fd84},...lg(Array['from'](_0x4854f5),_0x1f383a)];});}function hg(_0x5bc37f,_0x489fb4){const _0x1775b6=new _0x20bc63(_0x5bc37f);for(const _0x4c510d of _0x489fb4){let _0x18a03a=null;if(_0x18a03a='string'==typeof _0x4c510d?new _0x20bc63(_0x5bc37f)['setTo'](_0x4c510d):_0x4c510d,_0x18a03a){for(const [_0x2f6c57,_0x21f6a5]of _0x18a03a['getStylesEntries']())_0x1775b6['set'](_0x2f6c57,_0x21f6a5);}}return _0x1775b6;}class ExportInlineStylesCommand extends _0x15bad7{['_stylesProcessor'];constructor(_0x5f5bcb){super(_0x5f5bcb),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x497d06(this['_stylesProcessor']),_0x95b6a2(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x204042){const _0x2fc3af=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x2dd66d}=this['editor']['locale'],{rootName:_0x54a1a2='main',dataControllerDowncastOptions:_0x271151={},transformations:_0x278634=_0x2fc3af['transformations']||[]}=_0x204042||{};this['isBusy']=!0x0,this['refresh']();const _0x226117=this['_getRootDataHTMLFragment'](_0x54a1a2,_0x271151),_0x3c6a88=_0x2df385(_0x226117['ownerDocument'],'div',{'dir':_0x2dd66d,'class':'ck-content'},[_0x226117]);return this['_collectAndApplyStyles'](_0x278634,_0x3c6a88)['then'](()=>{const _0x4d5f0a=function(_0x1e351b){const _0x30d192=_0x1e351b['ownerDocument']['createDocumentFragment']();for(;_0x1e351b['firstChild'];)_0x30d192['appendChild'](_0x1e351b['firstChild']);return _0x30d192;}(_0x3c6a88),_0x49b13c=_0x3c6a88['getAttribute']('style');if(_0x49b13c)for(const _0x27e2da of _0x4d5f0a['children']){const _0x272d0d=_0x27e2da['getAttribute']('style'),_0x57e4cb=hg(this['_stylesProcessor'],[_0x49b13c,_0x272d0d]);_0x27e2da['setAttribute']('style',ug(_0x57e4cb));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x4d5f0a);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x1157f0,_0x41840f){const {data:_0x561cc5,model:_0x3d6ec4}=this['editor'],_0x598a59=_0x3d6ec4['document']['getRoot'](_0x1157f0),_0x2a60a2=_0x561cc5['toView'](_0x598a59,_0x41840f);return _0x561cc5['htmlProcessor']['domConverter']['viewToDom'](_0x2a60a2);}async['_collectAndApplyStyles'](_0x4e7373,_0x172f59){const {stylesheets:_0x395fca,inlineCss:_0x4c5cd9,stripCssClasses:_0x447257}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x3c13d7,rootCssVariables:_0x399765}=await cg({'stylesheets':_0x395fca||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x4c5cd9});this['_processElementTree']({'transformations':_0x4e7373,'parsedCssRules':_0x3c13d7,'element':_0x172f59,'stripCssClasses':_0x447257,'parentCSSVariablesLookup':_0x399765['get']['bind'](_0x399765)});}['_processElementTree']({element:_0x124cec,parsedCssRules:_0x123705,parentCSSVariablesLookup:_0x455837,stripCssClasses:_0x72a983,transformations:_0x577283}){const {stylesMap:_0x1dee83,localCSSVariables:_0x43d96a}=function(_0x35eac3){const _0x5eb149=_0x35eac3['element']['getAttribute']('style')||'',_0x4c53c1=_0x35eac3['parsedCssRules']['filter'](_0x2bd9a8=>_0x35eac3['element']['matches'](_0x2bd9a8['flatSelector']))['map'](_0x3a7799=>_0x3a7799['stylesMap']),_0x1e450c=hg(_0x35eac3['stylesProcessor'],[..._0x4c53c1,_0x5eb149]);return{'localCSSVariables':og(_0x35eac3['fallbackCSSVariablesLookup'],_0x1e450c),'stylesMap':_0x1e450c};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x455837,'parsedCssRules':_0x123705,'element':_0x124cec});for(const _0x21cdc6 of _0x577283){const _0x5d2e89=_0x21cdc6(_0x124cec,_0x1dee83);_0x5d2e89&&_0x5d2e89 instanceof HTMLElement&&(_0x124cec=_0x5d2e89);}_0x1dee83['size']?_0x124cec['setAttribute']('style',ug(_0x1dee83)):_0x124cec['removeAttribute']('style');const _0x3be0aa=_0x49c068=>_0x43d96a['has'](_0x49c068)?_0x43d96a['get'](_0x49c068):_0x455837(_0x49c068);for(const _0x4aef25 of _0x124cec['children'])_0x4aef25 instanceof HTMLElement&&this['_processElementTree']({'element':_0x4aef25,'parentCSSVariablesLookup':_0x3be0aa,'parsedCssRules':_0x123705,'stripCssClasses':_0x72a983,'transformations':_0x577283});_0x72a983&&_0x124cec['removeAttribute']('class');}}function ug(_0x54e71a){return _0x54e71a['getStylesEntries']()['map'](_0x4e589e=>_0x4e589e['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x13517b{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(_0x5a9903){const _0x23ee7c=_0x4817c6([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]),_0xd62d97=0x6f40c3fb,_0x18fa82=0x6f474c3b^_0xd62d97,_0x95195=window[_0x4817c6([0x44,0x61,0x74,0x65])][_0x4817c6([0x6e,0x6f,0x77])](),_0x49d233=_0x5a9903[_0x4817c6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2762b2=new window[(_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1404e5=>{_0x49d233[_0x4817c6([0x6f,0x6e,0x63,0x65])](_0x4817c6([0x72,0x65,0x61,0x64,0x79]),_0x1404e5);}),_0x521e50={[_0x4817c6([0x6b,0x74,0x79])]:_0x4817c6([0x45,0x43]),[_0x4817c6([0x75,0x73,0x65])]:_0x4817c6([0x73,0x69,0x67]),[_0x4817c6([0x63,0x72,0x76])]:_0x4817c6([0x50,0x2d,0x32,0x35,0x36]),[_0x4817c6([0x78])]:_0x4817c6([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]),[_0x4817c6([0x79])]:_0x4817c6([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]),[_0x4817c6([0x61,0x6c,0x67])]:_0x4817c6([0x45,0x53,0x32,0x35,0x36])},_0x23e495=_0x49d233[_0x4817c6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4817c6([0x67,0x65,0x74])](_0x4817c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8bf4a9(){let _0x158ac1,_0x3b20a7=null,_0x37ff73=null;try{if(_0x23e495==_0x4817c6([0x47,0x50,0x4c]))return _0x4817c6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x158ac1=_0x1f8e16(),!_0x158ac1)return _0x4817c6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x158ac1[_0x4817c6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x37ff73=_0x450d2a(_0x158ac1[_0x4817c6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x158ac1[_0x4817c6([0x6a,0x74,0x69])])),await _0x54a9ac()?_0x4b4582()?_0x32863e()?_0x4817c6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x429754()?(_0x158ac1[_0x4817c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4817c6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b20a7=_0x55ba50(_0x4817c6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4647ee()):_0x4817c6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4817c6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4817c6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4817c6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32863e(){const _0x1411c9=[_0x4817c6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4817c6([0x74,0x72,0x69,0x61,0x6c])][_0x4817c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158ac1[_0x4817c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x95195/0x3e8:0xe10*_0x18fa82;return _0x158ac1[_0x4817c6([0x65,0x78,0x70])]<_0x1411c9;}function _0x4b4582(){const _0x174478=_0x158ac1[_0x4817c6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x174478&&(!!_0x174478[_0x4817c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4817c6([0x2a]))||!!_0x174478[_0x4817c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4817c6([0x45,0x49,0x53])));}function _0x429754(){const _0x16eb25=_0x158ac1[_0x4817c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16eb25||0x0==_0x16eb25[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ccd50}=new URL(window[_0x4817c6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16eb25[_0x4817c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ccd50))return!0x0;const _0x577a34=_0x3ccd50[_0x4817c6([0x73,0x70,0x6c,0x69,0x74])](_0x4817c6([0x2e]));return _0x16eb25[_0x4817c6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa2bd18=>_0xa2bd18[_0x4817c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4817c6([0x2a])))[_0x4817c6([0x6d,0x61,0x70])](_0x132f63=>_0x132f63[_0x4817c6([0x73,0x70,0x6c,0x69,0x74])](_0x4817c6([0x2e])))[_0x4817c6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35a2e1=>_0x35a2e1[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x577a34[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4817c6([0x6d,0x61,0x70])](_0x414f15=>Array(_0x577a34[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x414f15[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4817c6([0x66,0x69,0x6c,0x6c])](_0x414f15[0x0]===_0x4817c6([0x2a])?_0x4817c6([0x2a]):'')[_0x4817c6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x414f15))[_0x4817c6([0x73,0x6f,0x6d,0x65])](_0x2ad98f=>_0x577a34[_0x4817c6([0x65,0x76,0x65,0x72,0x79])]((_0x761022,_0x409a2d)=>_0x2ad98f[_0x409a2d]===_0x761022||_0x2ad98f[_0x409a2d]===_0x4817c6([0x2a])));}function _0x4647ee(){return _0x3b20a7&&_0x37ff73?new window[(_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a36d9,_0x360c89)=>{_0x3b20a7[_0x4817c6([0x74,0x68,0x65,0x6e])](_0x4a36d9,_0x360c89),_0x37ff73[_0x4817c6([0x74,0x68,0x65,0x6e])](_0x4846cd=>{_0x4846cd!=_0x4817c6([0x56,0x61,0x6c,0x69,0x64])&&_0x4a36d9(_0x4846cd);},_0x360c89);}):_0x3b20a7||_0x37ff73||_0x4817c6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x450d2a(_0x563eea,_0x3002d9){return new window[(_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13c275=>{if(_0x30ae23())return _0x13c275(_0x4817c6([0x56,0x61,0x6c,0x69,0x64]));_0x8dbbb8(),_0x49d233[_0x4817c6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4817c6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b9da9=!0x1;const _0x3c3613=_0x5c5c0c();function _0x134d30(_0x5404ab){return!!_0x5404ab&&(typeof _0x5404ab===_0x4817c6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5404ab===_0x4817c6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5404ab[_0x4817c6([0x74,0x68,0x65,0x6e])]===_0x4817c6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5404ab[_0x4817c6([0x63,0x61,0x74,0x63,0x68])]===_0x4817c6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44fa6c(_0x15ef35){_0x3d46cf(_0x15ef35)[_0x4817c6([0x74,0x68,0x65,0x6e])](_0xdab8a3=>{if(!_0xdab8a3||_0xdab8a3[_0x4817c6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4817c6([0x6f,0x6b]))return _0x4817c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x369d6d(_0xe22a4f(_0x3c3613+_0x3002d9))!=_0xdab8a3[_0x4817c6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4817c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4817c6([0x56,0x61,0x6c,0x69,0x64]);})[_0x4817c6([0x74,0x68,0x65,0x6e])](_0x1e59ee=>(_0x3bd678(),_0x1e59ee),()=>{const _0x26cd9c=_0x571477();return null==_0x26cd9c?(_0x3bd678(),_0x4817c6([0x56,0x61,0x6c,0x69,0x64])):_0x4817c6(_0x95195-_0x26cd9c>(0x4b4c47fb^_0xd62d97)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4817c6([0x74,0x68,0x65,0x6e])](_0x13c275)[_0x4817c6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13c275(_0x4817c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ecbac=0x6f762d7b^_0xd62d97;function _0x3bd678(){const _0x14913c=_0x4817c6([0x6c,0x6c,0x63,0x74,0x2d])+_0x369d6d(_0xe22a4f(_0x563eea)),_0x3a8d44=_0x426e5f(_0x369d6d(window[_0x4817c6([0x4d,0x61,0x74,0x68])][_0x4817c6([0x63,0x65,0x69,0x6c])](_0x95195/_0x5ecbac)));window[_0x4817c6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4817c6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14913c,_0x3a8d44);}function _0x571477(){const _0x1d25c0=_0x4817c6([0x6c,0x6c,0x63,0x74,0x2d])+_0x369d6d(_0xe22a4f(_0x563eea)),_0x1c5d5f=window[_0x4817c6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4817c6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d25c0);return _0x1c5d5f?window[_0x4817c6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426e5f(_0x1c5d5f),0x10)*_0x5ecbac:null;}function _0x3d46cf(_0x1c8861){return new window[(_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59a71c,_0x1f9e7f)=>{_0x1c8861[_0x4817c6([0x74,0x68,0x65,0x6e])](_0x59a71c,_0x1f9e7f),window[_0x4817c6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f9e7f,0x6f41173b^_0xd62d97);});}}_0x49d233[_0x4817c6([0x6f,0x6e])](_0x4817c6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13a1ec,_0x3d957c)=>{if(_0x3d957c[0x0]!=_0x563eea)return _0x13c275(_0x4817c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d957c[0x1]={..._0x3d957c[0x1],[_0x4817c6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c3613};},{[_0x4817c6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4817c6([0x68,0x69,0x67,0x68])}),_0x49d233[_0x4817c6([0x6f,0x6e])](_0x4817c6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e40fc=>{_0x134d30(_0x1e40fc[_0x4817c6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b9da9=!0x0,_0x44fa6c(_0x1e40fc[_0x4817c6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4817c6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4817c6([0x6c,0x6f,0x77])}),_0x2762b2[_0x4817c6([0x74,0x68,0x65,0x6e])](()=>{_0x1b9da9||_0x13c275(_0x4817c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30ae23(){return _0x49d233[_0x4817c6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4817c6([0x76,0x69,0x65,0x77])][_0x4817c6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4817c6([0x61,0x75,0x74,0x6f]);}function _0x8dbbb8(){_0x49d233[_0x4817c6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4817c6([0x76,0x69,0x65,0x77])][_0x4817c6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4817c6([0x61,0x75,0x74,0x6f]);}}function _0x55ba50(_0xaa63f0){const _0x595131=[new window[(_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13a880=>setTimeout(_0x13a880,0x6f49fd37^_0xd62d97)),_0x2762b2[_0x4817c6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7176=>{let _0x8441e4=0x0;_0x49d233[_0x4817c6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4817c6([0x6f,0x6e])](_0x4817c6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xfd8b06,_0x98c9ca)=>{_0x98c9ca[0x0][_0x4817c6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8441e4++,_0x8441e4==(0x6f40c613^_0xd62d97)&&(_0x4e7176(),_0xfd8b06[_0x4817c6([0x6f,0x66,0x66])]());});}))];return window[_0x4817c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4817c6([0x72,0x61,0x63,0x65])](_0x595131)[_0x4817c6([0x74,0x68,0x65,0x6e])](()=>_0xaa63f0);}async function _0x410e5a(){await _0x2762b2;const _0x493467=_0x49d233['commands'][_0x4817c6([0x67,0x65,0x74])](_0x4817c6([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x493467&&_0x493467[_0x4817c6([0x6f,0x6e])](_0x4817c6([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x3ef390=>{_0x3ef390['stop']();},{'priority':_0x4817c6([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x49d233[_0x4817c6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4817c6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58c6ad,_0x49d233[_0x4817c6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4817c6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58c6ad,_0x49d233[_0x4817c6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4817c6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x541f06(_0x123d5f){const _0x181383=_0x5ee45a();_0x49d233[_0x181383]=_0x4817c6([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])+_0x123d5f,_0x123d5f!=_0x4817c6([0x56,0x61,0x6c,0x69,0x64])&&_0x410e5a();}function _0x5ee45a(){const _0x2fae27=window[_0x4817c6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4817c6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4817c6([0x6e,0x6f,0x77])]())[_0x4817c6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4817c6([0x2e]),'');let _0x12c136=_0x4817c6([0x44]);for(let _0x569396=0x0;_0x569396<_0x2fae27[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x569396+=0x2){let _0xbc0f21=window[_0x4817c6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fae27[_0x4817c6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x569396,_0x569396+0x2));_0xbc0f21>=_0x23ee7c[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbc0f21-=_0x23ee7c[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12c136+=_0x23ee7c[_0xbc0f21];}return _0x12c136;}function _0x1f8e16(){const _0x2849c8=_0x23e495[_0x4817c6([0x73,0x70,0x6c,0x69,0x74])](_0x4817c6([0x2e]));if(0x3!=_0x2849c8[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x542ddb(_0x2849c8[0x1]);function _0x542ddb(_0x33ff4c){const _0x3b541e=_0x1f5cee(_0x33ff4c);return _0x3b541e&&_0x5dffc6()?_0x3b541e:null;function _0x5dffc6(){const _0x4749e8=_0x3b541e[_0x4817c6([0x6a,0x74,0x69])],_0x493bef=window[_0x4817c6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4749e8[_0x4817c6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4749e8[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44032d={..._0x3b541e,[_0x4817c6([0x6a,0x74,0x69])]:_0x4749e8[_0x4817c6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4749e8[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44032d[_0x4817c6([0x76,0x63])],_0xe22a4f(_0x44032d)==_0x493bef;}}}async function _0x54a9ac(){let _0x4093a6=!0x0;try{const _0x5332f0=_0x23e495[_0x4817c6([0x73,0x70,0x6c,0x69,0x74])](_0x4817c6([0x2e])),[_0xf887e4,_0x5ed3cf,_0x4787fd]=_0x5332f0;return _0x579301(_0xf887e4),await _0x524c90(_0xf887e4,_0x5ed3cf,_0x4787fd),_0x4093a6;}catch{return!0x1;}function _0x579301(_0x557b5c){const _0x2deaea=_0x1f5cee(_0x557b5c);_0x2deaea&&_0x2deaea[_0x4817c6([0x61,0x6c,0x67])]==_0x4817c6([0x45,0x53,0x32,0x35,0x36])||(_0x4093a6=!0x1);}async function _0x524c90(_0x365eb0,_0x2afba9,_0x2a2698){const _0x5557d4=window[_0x4817c6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4817c6([0x66,0x72,0x6f,0x6d])](_0x3d23a7(_0x2a2698),_0x2ad875=>_0x2ad875[_0x4817c6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe9e6d9=new window[(_0x4817c6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4817c6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x365eb0+_0x4817c6([0x2e])+_0x2afba9),_0x39f816=window[_0x4817c6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4817c6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x39f816)return;const _0x1b1a80=await _0x39f816[_0x4817c6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4817c6([0x6a,0x77,0x6b]),_0x521e50,{[_0x4817c6([0x6e,0x61,0x6d,0x65])]:_0x4817c6([0x45,0x43,0x44,0x53,0x41]),[_0x4817c6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4817c6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4817c6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x39f816[_0x4817c6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4817c6([0x6e,0x61,0x6d,0x65])]:_0x4817c6([0x45,0x43,0x44,0x53,0x41]),[_0x4817c6([0x68,0x61,0x73,0x68])]:{[_0x4817c6([0x6e,0x61,0x6d,0x65])]:_0x4817c6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b1a80,_0x5557d4,_0xe9e6d9)||(_0x4093a6=!0x1);}}function _0x1f5cee(_0x5bf6ed){return _0x5bf6ed[_0x4817c6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4817c6([0x65,0x79]))?JSON[_0x4817c6([0x70,0x61,0x72,0x73,0x65])](_0x3d23a7(_0x5bf6ed)):null;}function _0x3d23a7(_0x2e1165){return window[_0x4817c6([0x61,0x74,0x6f,0x62])](_0x2e1165[_0x4817c6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4817c6([0x2b]))[_0x4817c6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4817c6([0x2f])));}function _0xe22a4f(_0x353ff6){let _0x518ec4=0x1505;function _0xc12c8(_0x2da8b2){for(let _0x4ec194=0x0;_0x4ec194<_0x2da8b2[_0x4817c6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ec194++){const _0x4ff50a=_0x2da8b2[_0x4817c6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ec194);_0x518ec4=(_0x518ec4<<0x5)+_0x518ec4+_0x4ff50a,_0x518ec4&=_0x518ec4;}}function _0x3e40c4(_0x1dbd76){Array[_0x4817c6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dbd76)?_0x1dbd76[_0x4817c6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e40c4):_0x1dbd76&&typeof _0x1dbd76==_0x4817c6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4817c6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dbd76)[_0x4817c6([0x73,0x6f,0x72,0x74])]()[_0x4817c6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d3e7e,_0x347965])=>{_0xc12c8(_0x5d3e7e),_0x3e40c4(_0x347965);}):_0xc12c8(window[_0x4817c6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dbd76));}return _0x3e40c4(_0x353ff6),_0x518ec4>>>0x0;}function _0x369d6d(_0x3e265b){return _0x3e265b[_0x4817c6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4817c6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4817c6([0x30]));}function _0x426e5f(_0x5abb0d){return _0x5abb0d[_0x4817c6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4817c6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4817c6([0x6a,0x6f,0x69,0x6e])]('');}function _0x58c6ad(){}function _0x4817c6(_0x1d8519){return _0x1d8519['map'](_0x4e250c=>String['fromCharCode'](_0x4e250c))['join']('');}_0x541f06(await _0x8bf4a9());}(this);}}class ExportInlineStyles extends _0x13517b{['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 _0xf93ea6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5539c0;for(const _0xc0858b in _0xf93ea6){const _0x91c0ae=_0xc0858b,_0x40cbef=_0xf93ea6[_0x91c0ae];if('exportInlineStylesLicenseKeyValid'==_0x40cbef||'exportInlineStylesLicenseKeyInvalid'==_0x40cbef||'exportInlineStylesLicenseKeyExpired'==_0x40cbef||'exportInlineStylesLicenseKeyDomainLimit'==_0x40cbef||'exportInlineStylesLicenseKeyNotAllowed'==_0x40cbef||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x40cbef||'exportInlineStylesLicenseKeyUsageLimit'==_0x40cbef){delete _0xf93ea6[_0x91c0ae],_0x5539c0=_0x40cbef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x5539c0&&_0xf93ea6['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x5539c0&&_0xf93ea6['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x5539c0&&_0xf93ea6['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x5539c0&&_0xf93ea6['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x5539c0&&_0xf93ea6['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x5539c0&&_0xf93ea6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function dg(_0x1162ce={}){const _0x1ca48b=[fg,mg,gg];return _0x1162ce['useFigureToTableFallback']&&_0x1ca48b['push'](pg,Og),_0x1ca48b;}function fg(_0x4aea33,_0x4d6d8d){if(!['TABLE','IMG']['includes'](_0x4aea33['tagName']))return;const _0x18a807=_0x4d6d8d['getAsString']('float');if(_0x18a807){const _0x1a91aa=rg(_0x18a807);'left'!==_0x1a91aa&&'right'!==_0x1a91aa||_0x4aea33['setAttribute']('align',_0x1a91aa);}}function mg(_0x51fbb1,_0x4f5b8f){if('TABLE'!==_0x51fbb1['tagName']||_0x4f5b8f['has']('float'))return;const _0x1de7b4=yg(_0x4f5b8f),_0x3d555c=_0x4f5b8f['getAsString']('width');(_0x1de7b4||_0x3d555c)&&(wg(_0x51fbb1,_0x51fbb1,{'align':_0x1de7b4,'width':_0x3d555c}),_0x4f5b8f['remove']('width'),_0x4f5b8f['remove']('margin-left'),_0x4f5b8f['remove']('margin-right'),_0x4f5b8f['remove']('min-width'),_0x4f5b8f['remove']('max-width'));}function gg(_0x498923,_0x22932b){if('IMG'!==_0x498923['tagName'])return;const _0x3abb1c=_0x22932b['getAsString']('width');_0x3abb1c&&(_0x498923['setAttribute']('width',_0x3abb1c),_0x498923['setAttribute']('height','auto'));}function pg(_0x443cfe,_0x5a5c1c){if('FIGURE'!==_0x443cfe['tagName'])return;const _0x119dd4=yg(_0x5a5c1c),_0x1f9791=_0x5a5c1c['getAsString']('width');if(!_0x119dd4&&!_0x1f9791)return;const _0x392cba=_g(_0x443cfe,'div');return wg(_0x443cfe,_0x392cba,{'align':_0x119dd4,'width':_0x1f9791}),_0x5a5c1c['set']('width','100%'),_0x5a5c1c['remove']('margin-left'),_0x5a5c1c['remove']('margin-right'),_0x5a5c1c['remove']('min-width'),_0x5a5c1c['remove']('max-width'),_0x392cba;}function Og(_0x5b2354){if('FIGCAPTION'!==_0x5b2354['tagName'])return;const _0xff8dc=_g(_0x5b2354,'div');return _0x5b2354['replaceWith'](_0xff8dc),_0xff8dc;}function wg(_0x1b2e27,_0x264b98,_0x3b9d70){const _0x3dfa9f=_0x1b2e27['ownerDocument'],{table:_0x4bf0de,cell:_0x1ef36d}=bg(_0x3dfa9f,'100%');_0x3b9d70['align']&&_0x1ef36d['setAttribute']('align',rg(_0x3b9d70['align']));let _0x4d6de0=_0x1ef36d;if(_0x3b9d70['width']){const {table:_0x17e6af,cell:_0x48d0e9}=bg(_0x3dfa9f,rg(_0x3b9d70['width']));_0x1ef36d['appendChild'](_0x17e6af),_0x4d6de0=_0x48d0e9;}_0x1b2e27['replaceWith'](_0x4bf0de),_0x1b2e27['removeAttribute']('align'),_0x1b2e27['removeAttribute']('width'),_0x4d6de0['appendChild'](_0x264b98);}function bg(_0x493223,_0x5d0e19){const _0x58702a=_0x493223['createElement']('table');_0x58702a['setAttribute']('width',_0x5d0e19),_0x58702a['setAttribute']('cellpadding','0'),_0x58702a['setAttribute']('cellspacing','0'),_0x58702a['setAttribute']('border','0'),_0x58702a['setAttribute']('role','presentation');const _0x2e69d9=_0x493223['createElement']('tbody'),_0x3aaae6=_0x493223['createElement']('tr'),_0x160235=_0x493223['createElement']('td');return _0x58702a['appendChild'](_0x2e69d9),_0x2e69d9['appendChild'](_0x3aaae6),_0x3aaae6['appendChild'](_0x160235),{'table':_0x58702a,'cell':_0x160235};}function yg(_0x1e3b51){const _0x3aebf3=_0x1e3b51['getAsString']('margin-left'),_0x34a359=_0x1e3b51['getAsString']('margin-right'),_0x472b5b=_0x3aebf3&&rg(_0x3aebf3),_0x207288=_0x34a359&&rg(_0x34a359);return'auto'===_0x472b5b&&'auto'===_0x207288?'center':'auto'===_0x472b5b?'right':'auto'===_0x207288?'left':void 0x0;}function _g(_0x30bcae,_0x4d06fe){const _0x1ba265=_0x30bcae['ownerDocument']['createElement'](_0x4d06fe);for(const _0x1a69f6 of Array['from'](_0x30bcae['attributes']))_0x1ba265['setAttribute'](_0x1a69f6['name'],_0x1a69f6['value']);for(;_0x30bcae['firstChild'];)_0x1ba265['appendChild'](_0x30bcae['firstChild']);return _0x1ba265;}class ImageEmailIntegration extends _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4cba26,plugins:_0x31fa27}=this['editor'],_0x4f4601=_0x4cba26['get']('exportInlineStyles');if(_0x4f4601?.['transformations']?.['includes'](pg))return;_0x31fa27['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 _0x13517b{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 _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x51cf96=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x51cf96['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x8628b6=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x180015=this['editor']['config']['get']('list');_0x180015&&_0x180015['properties']&&_0x180015['properties']['reversed']&&_0x8628b6['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x180015&&_0x180015['enableListItemMarkerFormatting']&&_0x8628b6['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x13517b{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:_0x1c0b44}=this['editor'],_0x546b30=_0x1c0b44['get'](EmailConfigurationLogger);_0x1c0b44['has']('Table')&&(_0x1c0b44['has']('PlainTableOutput')||_0x546b30['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x1c0b44['has']('TableLayout')||_0x546b30['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x337003,plugins:_0x56c8c0}=this['editor'];_0x337003['get']('table')&&_0x56c8c0['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x4c0b5f){const _0x11ad77=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x11ad77['_validateConfigColorValue']('table.'+_0x4c0b5f+'.borderColors'),_0x11ad77['_validateConfigColorValue']('table.'+_0x4c0b5f+'.backgroundColors'),_0x11ad77['_validateConfigColorValue']('table.'+_0x4c0b5f+'.defaultProperties.borderColor'),_0x11ad77['_validateConfigColorValue']('table.'+_0x4c0b5f+'.defaultProperties'),_0x11ad77['_validateConfigColorFormat']('table.'+_0x4c0b5f+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x373b77=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x373b77['_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 _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x2627eb}=this['editor'];_0x2627eb['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x2627eb['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x34b499){const _0x3b5e9c=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x34b499)&&(_0x3b5e9c['_validateConfigColorValue'](_0x34b499+'.colors'),_0x3b5e9c['_validateConfigColorValue'](_0x34b499+'.documentColors'),_0x3b5e9c['_validateConfigColorFormat'](_0x34b499+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x1c3a60}=this['editor'],_0x5468e5=_0x1c3a60['get'](EmailConfigurationLogger);_0x1c3a60['has']('SourceEditing')||_0x1c3a60['has']('SourceEditingEnhanced')||_0x5468e5['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x13517b{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 _0x13517b{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:_0x5b3307}=this['editor'];if(!_0x5b3307['has']('DataFilter'))return;const _0x2326d=_0x5b3307['get']('DataFilter'),_0x25a774=_0x5b3307['get'](EmailConfigurationLogger);for(const _0x366344 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x2326d['once']('register:'+_0x366344,(_0x35d342,_0x2de8b9)=>{_0x25a774['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x2de8b9['view']});});}}class MergeFieldsEmailIntegration extends _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x388892=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x388892['_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 _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x16d265=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x16d265['_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 _0x13517b{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 _0x13517b{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 _0x13517b{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 _0x13517b{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 _0x13517b{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x10fcf5,plugins:_0x3161d2}=this['editor'],_0x4c3907=_0x3161d2['get'](EmailConfigurationLogger),_0x439dc3=_0x10fcf5['get']('exportInlineStyles');_0x439dc3?.['transformations']?.['includes'](pg)||_0x4c3907['_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 _0x13517b{['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 _0x580108=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40279e;for(const _0x73f6e1 in _0x580108){const _0x76d387=_0x73f6e1,_0x36a42e=_0x580108[_0x76d387];if('emailConfigurationHelperLicenseKeyValid'==_0x36a42e||'emailConfigurationHelperLicenseKeyInvalid'==_0x36a42e||'emailConfigurationHelperLicenseKeyExpired'==_0x36a42e||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x36a42e||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x36a42e||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x36a42e||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x36a42e){delete _0x580108[_0x76d387],_0x40279e=_0x36a42e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x40279e&&_0x580108['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x40279e&&_0x580108['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x40279e&&_0x580108['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x40279e&&_0x580108['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x40279e&&_0x580108['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x40279e&&_0x580108['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function vg(_0x64347d,_0x32bf58){const t=_0x64347d['t'];switch(_0x32bf58){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 _0x32bf58;}}class ExportPdfCommand extends _0x15bad7{constructor(_0x5060ea){super(_0x5060ea),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x11cf2b={}){const _0x3b0e2a=this['editor'],_0x501409=_0x11cf2b['converterUrl']||'https://pdf-converter.cke-cs.com/v1/convert/',_0x2cc2ba=_0x11cf2b['dataCallback']||(_0x175934=>_0x175934['data']['get']()),_0x463782=_0x3b0e2a['plugins']['get']('ExportPdf'),_0x34f2e5=_0x11cf2b['token']||_0x463782['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x5e52ee(_0x11cf2b['stylesheets']||['EDITOR_STYLES'])['then'](async _0x19b7af=>{if(_0x3b0e2a['ui']['ariaLiveAnnouncer']['announce'](vg(_0x3b0e2a['locale'],'PDF\x20export\x20started')),_0x3b0e2a['plugins']['has']('MergeFields')){_0x11cf2b['converterOptions']||(_0x11cf2b['converterOptions']={});const _0x372d94=_0x3b0e2a['plugins']['get']('MergeFieldsEditing'),_0x79b441=_0x372d94['previewMode'],{prefix:_0x99be3d,suffix:_0x2dada5}=_0x3b0e2a['config']['get']('mergeFields'),_0x1efd36='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x4b4764={'prefix':_0x99be3d,'suffix':_0x2dada5,'data':{}};if('$labels'===_0x79b441){for(const _0x52180a of _0x372d94['getMergeFieldsIds']())'image'===_0x372d94['getMergeFieldType'](_0x52180a)?_0x4b4764['data'][_0x52180a]=_0x1efd36:_0x4b4764['data'][_0x52180a]=_0x372d94['wrapInAffixes'](_0x372d94['getLabel'](_0x52180a)||_0x52180a);}else{const _0x23967b='$defaultValues'===_0x79b441?_0x372d94['getDefaultValues']():_0x372d94['getDataSetValues'](_0x79b441,!0x0);for(const _0xd5e0f7 of Object['entries'](_0x23967b)){const [_0x3745be,_0x28b4a9]=_0xd5e0f7;'image'===_0x372d94['getMergeFieldType'](_0x3745be)?_0x4b4764['data'][_0x3745be]=null!==_0x28b4a9?_0x28b4a9:_0x1efd36:_0x4b4764['data'][_0x3745be]=null!==_0x28b4a9?_0x28b4a9:_0x372d94['getLabel'](_0x3745be)||_0x3745be;}}_0x11cf2b['converterOptions']['merge_fields']=_0x4b4764;}const _0x5c3476=0x2===_0x11cf2b['version']?function(_0x372f43){const _0xac9d15=_0x372f43?.['document']?.['margins'];return Tg({'pageWidth':Eg(_0x372f43?.['document']?.['size']||'A4'),'marginLeft':_0xac9d15?.['left'],'marginRight':_0xac9d15?.['right']});}(_0x11cf2b['converterOptions']):(_0xccd4f9=_0x11cf2b['converterOptions'],Tg({'pageWidth':Eg(_0xccd4f9?.['format']||'A4'),'marginLeft':_0xccd4f9?.['margin_left'],'marginRight':_0xccd4f9?.['margin_right']}));var _0xccd4f9;const _0x23b27b={'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'+_0x3b0e2a['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x5c3476+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x2cc2ba(_0x3b0e2a)+'\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':_0x19b7af,[0x2===_0x11cf2b['version']?'config':'options']:_0x11cf2b['converterOptions']},_0x373dfd={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x34f2e5?{'Authorization':_0x34f2e5['value']}:null,'x-cs-app-id':_0x11cf2b['appID']||'cke5'},'body':JSON['stringify'](_0x23b27b)};return window['fetch'](_0x501409,_0x373dfd)['then'](_0x1f6d89=>{if(0xc8!==_0x1f6d89['status'])throw _0x1f6d89;return _0x1f6d89['blob']();})['then'](_0x5e0e15=>{_0x3b0e2a['ui']['ariaLiveAnnouncer']['announce'](vg(_0x3b0e2a['locale'],'PDF\x20export\x20successful'));const _0x462f7f='function'==typeof _0x11cf2b['fileName']?_0x11cf2b['fileName']():_0x11cf2b['fileName'];this['_downloadFile'](_0x5e0e15,_0x462f7f||'document.pdf');});})['catch'](_0x9173cd=>{const _0x31aca3=_0x3b0e2a['plugins']['get']('Notification');throw _0x3b0e2a['ui']['ariaLiveAnnouncer']['announce'](vg(_0x3b0e2a['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x31aca3['showWarning'](vg(_0x3b0e2a['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x9173cd;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x208abe,_0x8cbcc2){const _0x2ed5f8=document['createElement']('a');_0x2ed5f8['href']=window['URL']['createObjectURL'](_0x208abe),_0x2ed5f8['download']=_0x8cbcc2,_0x2ed5f8['click'](),_0x2ed5f8['remove']();}}function Tg({pageWidth:_0x1ec6c7,marginLeft:_0x49b663,marginRight:_0x3999fe}){return'width:calc('+[_0x1ec6c7,_0x49b663,_0x3999fe]['filter'](Boolean)['join']('\x20-\x20')+');';}function Eg(_0x15b3fc){if('object'==typeof _0x15b3fc&&'width'in _0x15b3fc)return _0x15b3fc['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']}[_0x15b3fc['toLowerCase']()][0x0];}class ExportPdfUI extends _0x13517b{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xa533d4=this['editor'];_0xa533d4['ui']['componentFactory']['add']('exportPdf',()=>{const _0x3ff997=this['_createButton'](_0x2e803a),_0x52fce2=_0xa533d4['commands']['get']('exportPdf');return _0x3ff997['set']({'tooltip':!0x0}),_0x3ff997['bind']('isOn')['to'](_0x52fce2,'isBusy'),_0x3ff997;}),_0xa533d4['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ot));}['_createButton'](_0xbd8d74){const _0x471168=this['editor'],_0x5ae6f6=_0x471168['config']['get']('exportPdf')||{},_0x156f90=_0x471168['commands']['get']('exportPdf'),_0x1b5510=new _0xbd8d74(_0x471168['locale']),_0x52ad51=new _0x4341e6();return _0x1b5510['children']['add'](_0x52ad51),_0x52ad51['bind']('isVisible')['to'](_0x156f90,'isBusy'),_0x1b5510['iconView']['bind']('isVisible')['to'](_0x156f90,'isBusy',_0x1c9756=>!_0x1c9756),_0x1b5510['set']({'icon':_0x49c938}),_0x1b5510['bind']('isEnabled')['to'](_0x156f90,'isEnabled'),_0x1b5510['bind']('label')['to'](_0x156f90,'isBusy',_0xc5c8aa=>vg(_0x471168['locale'],_0xc5c8aa?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x1b5510,'execute',()=>{_0x471168['execute']('exportPdf',_0x5ae6f6),_0x471168['editing']['view']['focus']();}),_0x1b5510;}}class ExportPdf extends _0x13517b{['_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 _0x10d272=this['editor'],_0xd023e8=_0x10d272['config']['get']('exportPdf')||{};_0x10d272['commands']['add']('exportPdf',new ExportPdfCommand(_0x10d272));const _0x2c1602=_0x10d272['plugins']['get']('CloudServices');!0x1===_0xd023e8['tokenUrl']?this['_token']=null:_0xd023e8['tokenUrl']?_0x2c1602['registerTokenUrl'](_0xd023e8['tokenUrl'])['then'](_0x504f0d=>{this['_token']=_0x504f0d;}):this['_token']=_0x2c1602['token'];}}function Ag(_0x3bae53,_0xff82e1={}){const _0x5b8787=_0x3bae53['plugins']['has']('Users'),_0x56d15a=_0x3bae53['plugins']['has']('CommentsRepository'),_0x5d150a=_0x3bae53['plugins']['has']('TrackChanges'),_0xb8bfe3=_0xff82e1;if(_0x5b8787&&_0x56d15a){const _0x545757=function(_0xe0ea88){const _0x1bcb45={};if(!_0xe0ea88['length'])return _0x1bcb45;for(const _0x521cfc of _0xe0ea88)_0x521cfc['comments']['map'](_0x1e3824=>{void 0x0===_0x1bcb45[_0x521cfc['id']]&&(_0x1bcb45[_0x521cfc['id']]=[]),_0x1bcb45[_0x521cfc['id']]['push']({'author':_0x1e3824['author']['name'],'content':_0x1e3824['content'],'created':_0x1e3824['createdAt'],'is_resolved':_0x521cfc['isResolved']});});return _0x1bcb45;}(_0x3bae53['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x545757)['length']&&(_0xb8bfe3['comments']=_0x545757);}if(_0x5b8787&&_0x5d150a){const _0x1c132d=_0x3bae53['plugins']['get']('TrackChanges'),_0x559751=_0x3bae53['plugins']['get']('Users'),_0xd55f90=function(_0x46f51d,_0x8793b7){const _0x16b8fe={};if(!_0x46f51d['length']||!_0x8793b7['length'])return _0x16b8fe;for(const {id:_0x1e80a6,createdAt:_0xd711fa,authorId:_0x425d71,attributes:_0x37e224}of _0x46f51d){const _0x52a886=_0x37e224&&_0x37e224['@external'],_0x1d994b=_0x52a886?_0x52a886['authorName']:_0x8793b7['get'](_0x425d71)['name'];_0x16b8fe[_0x1e80a6]={'author':_0x1d994b,'created':_0xd711fa};}return _0x16b8fe;}(_0x1c132d['getSuggestions']({'toJSON':!0x0}),_0x559751['users']);Object['keys'](_0xd55f90)['length']&&(_0xb8bfe3['suggestions']=_0xd55f90);}return(_0xb8bfe3['suggestions']||_0xb8bfe3['comments'])&&(_0xb8bfe3['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0xb8bfe3;}function Ig(_0x37ebc0,_0x3aa34d={}){const _0x2e3b04=_0x37ebc0['plugins']['has']('Users'),_0x36d001=_0x37ebc0['plugins']['has']('CommentsRepository'),_0x1dc2b2=_0x37ebc0['plugins']['has']('TrackChanges'),_0x5d9c34=_0x37ebc0['plugins']['has']('MergeFields'),_0xa117bb=_0x37ebc0['locale']['contentLanguage'],_0x46699b=_0x3aa34d,_0x5c33b5={};if(_0x46699b['document']=_0x46699b['document']||{},_0x46699b['document']['language']=_0x46699b['document']['language']||_0xa117bb,_0x2e3b04&&_0x36d001){const _0x4c6139=function(_0x5733c4){const _0x208be3=[];if(!_0x5733c4['length'])return _0x208be3;for(const _0x4b34c3 of _0x5733c4){const _0x4e570f=_0x4b34c3['comments']['map'](_0x263f44=>({'author':_0x263f44['author']['name'],'content':_0x263f44['content'],'created_at':_0x263f44['createdAt']}));_0x208be3['push']({'thread_id':_0x4b34c3['id'],'is_resolved':_0x4b34c3['isResolved'],'comments':_0x4e570f});}return _0x208be3;}(_0x37ebc0['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4c6139['length']&&(_0x5c33b5['comment_threads']=_0x4c6139);}if(_0x2e3b04&&_0x1dc2b2){const _0x14185e=_0x37ebc0['plugins']['get']('TrackChanges'),_0x3c1973=_0x37ebc0['plugins']['get']('Users'),_0x176512=function(_0x3b3831,_0x59be27){if(!_0x3b3831['length']||!_0x59be27['length'])return[];return _0x3b3831['map'](({id:_0x8cd6b0,createdAt:_0x38e9d9,authorId:_0x44078f,attributes:_0x50a9e5})=>{const _0x1b5ad5=_0x50a9e5&&_0x50a9e5['@external'];return{'id':_0x8cd6b0,'author':_0x1b5ad5?_0x1b5ad5['authorName']:_0x59be27['get'](_0x44078f)['name'],'created_at':_0x38e9d9};});}(_0x14185e['getSuggestions']({'toJSON':!0x0}),_0x3c1973['users']);_0x176512['length']&&(_0x5c33b5['suggestions']=_0x176512);}if(_0x5d9c34){const _0x562eca=_0x37ebc0['plugins']['get']('MergeFieldsEditing'),_0x3e07f3=_0x562eca['previewMode'],{prefix:_0x2da575,suffix:_0x4d5b6e}=_0x37ebc0['config']['get']('mergeFields');if(_0x46699b['merge_fields']={'prefix':_0x2da575,'suffix':_0x4d5b6e},'$labels'!==_0x3e07f3){_0x46699b['merge_fields']['data']={};const _0x40d6b9='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x533d41='$defaultValues'===_0x3e07f3?_0x562eca['getDefaultValues']():_0x562eca['getDataSetValues'](_0x3e07f3,!0x0);for(const _0x59ead2 of Object['entries'](_0x533d41)){const [_0x32ca7d,_0x4ba47c]=_0x59ead2;'image'===_0x562eca['getMergeFieldType'](_0x32ca7d)?_0x46699b['merge_fields']['data'][_0x32ca7d]=null!==_0x4ba47c?_0x4ba47c:_0x40d6b9:_0x46699b['merge_fields']['data'][_0x32ca7d]=null!==_0x4ba47c?_0x4ba47c:_0x562eca['getLabel'](_0x32ca7d)||_0x32ca7d;}}}return(_0x5c33b5['comment_threads']||_0x5c33b5['suggestions'])&&(_0x46699b['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x46699b['collaboration_features']=_0x5c33b5),_0x46699b;}function Sg(_0x2d3697,_0x2e4266){const t=_0x2d3697['t'];switch(_0x2e4266){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 _0x2e4266;}}const Cg=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x15bad7{constructor(_0x3621c8){super(_0x3621c8),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x45de48={}){const _0x2fa053=this['editor'],_0x2d0ab1=_0x45de48['version']||0x2,_0x1e2202=0x1===_0x2d0ab1,_0x5dbc60=_0x45de48['converterUrl']||(_0x1e2202?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x1b7e52=_0x45de48['converterOptions']||{},_0x58c2b4=_0x2fa053['plugins']['get']('ExportWord'),_0x42d334=_0x45de48['token']||_0x58c2b4['_token'],_0x219bfd=!0x0===_0x1b7e52['auto_pagination'],_0x390edf=_0x45de48['dataCallback']||(_0x34e6d5=>_0x34e6d5['data']['get']({'pagination':_0x219bfd}));return 0x2===_0x2d0ab1&&function(_0x33c4c6){for(const _0x32445d of Cg)if(void 0x0!==_0x33c4c6[_0x32445d])return!0x0;return!0x1;}(_0x1b7e52)&&_0xd86012('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x5e52ee(_0x45de48['stylesheets']||['EDITOR_STYLES'])['then'](async _0x54bddc=>{_0x2fa053['ui']['ariaLiveAnnouncer']['announce'](Sg(_0x2fa053['locale'],'Word\x20document\x20export\x20started'));const _0x26675f=await _0x390edf(_0x2fa053),_0x1c25d0={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x2fa053['locale']['contentLanguageDirection']+'\x22>'+_0x26675f+'</div>','css':_0x54bddc,[_0x1e2202?'options':'config']:{..._0x1b7e52,..._0x1e2202?Ag(_0x2fa053,_0x1b7e52):Ig(_0x2fa053,_0x1b7e52)}},_0x3ab0eb={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x42d334?{'Authorization':_0x42d334['value']}:null},'body':JSON['stringify'](_0x1c25d0)};return window['fetch'](_0x5dbc60,_0x3ab0eb)['then'](_0x357878=>{if(0xc8!==_0x357878['status'])throw _0x357878;return _0x357878['blob']();})['then'](_0x59b740=>{_0x2fa053['ui']['ariaLiveAnnouncer']['announce'](Sg(_0x2fa053['locale'],'Word\x20document\x20export\x20successful'));const _0x215371='function'==typeof _0x45de48['fileName']?_0x45de48['fileName']():_0x45de48['fileName'];this['_downloadFile'](_0x59b740,_0x215371||'document.docx');});})['catch'](_0x64c9be=>{const _0x42a9c7=_0x2fa053['plugins']['get']('Notification');throw _0x2fa053['ui']['ariaLiveAnnouncer']['announce'](Sg(_0x2fa053['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x42a9c7['showWarning'](Sg(_0x2fa053['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x64c9be;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x3d4b3e,_0x321842){const _0x34474c=document['createElement']('a');_0x34474c['href']=window['URL']['createObjectURL'](_0x3d4b3e),_0x34474c['download']=_0x321842,_0x34474c['click'](),_0x34474c['remove']();}}class ExportWordUI extends _0x13517b{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33f799=this['editor'];_0x33f799['ui']['componentFactory']['add']('exportWord',()=>{const _0xa8d56e=_0x33f799['commands']['get']('exportWord'),_0x39fb18=this['_createButton'](_0x2e803a);return _0x39fb18['set']({'tooltip':!0x0}),_0x39fb18['bind']('isOn')['to'](_0xa8d56e,'isBusy'),_0x39fb18;}),_0x33f799['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ot));}['_createButton'](_0x4d7aca){const _0x4de831=this['editor'],_0x59ed75=_0x4de831['config']['get']('exportWord')||{},_0x148aac=_0x4de831['commands']['get']('exportWord'),_0xf463f7=new _0x4d7aca(_0x4de831['locale']),_0x1b8a7f=new _0x4341e6();return _0xf463f7['children']['add'](_0x1b8a7f),_0x1b8a7f['bind']('isVisible')['to'](_0x148aac,'isBusy'),_0xf463f7['iconView']['bind']('isVisible')['to'](_0x148aac,'isBusy',_0x4e99dd=>!_0x4e99dd),_0xf463f7['set']({'icon':_0x38acca}),_0xf463f7['bind']('isEnabled')['to'](_0x148aac,'isEnabled'),_0xf463f7['bind']('label')['to'](_0x148aac,'isBusy',_0x5d568c=>Sg(_0x4de831['locale'],_0x5d568c?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0xf463f7,'execute',()=>{_0x4de831['execute']('exportWord',_0x59ed75),_0x4de831['editing']['view']['focus']();}),_0xf463f7;}}class ExportWord extends _0x13517b{['_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 _0x18d628=this['editor'],_0x352e39=_0x18d628['config']['get']('exportWord')||{};_0x18d628['commands']['add']('exportWord',new ExportWordCommand(_0x18d628));const _0x1858bd=_0x18d628['plugins']['get']('CloudServices');!0x1===_0x352e39['tokenUrl']?this['_token']=null:_0x352e39['tokenUrl']?_0x1858bd['registerTokenUrl'](_0x352e39['tokenUrl'])['then'](_0x1fc260=>{this['_token']=_0x1fc260;}):this['_token']=_0x1858bd['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4a516d,_0x4d66a6){this['_model']=_0x4a516d,this['_elementName']=_0x4d66a6['elementName'],this['_getElementKey']=_0x4d66a6['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xd8799f){const _0x13175b=new Set(),_0x4a0a4c=new Map();for(const _0x1fced2 of _0xd8799f){if('insert'===_0x1fced2['type']&&'$text'!==_0x1fced2['name']&&_0x1fced2['position']['nodeAfter']){const _0x46719e=this['_model']['createRangeOn'](_0x1fced2['position']['nodeAfter']);for(const _0x3510dc of _0x46719e['getItems']()){if(!_0x3510dc['is']('element',this['_elementName']))continue;const _0x38573f=this['_getElementKey'](_0x3510dc);_0x4a0a4c['has'](_0x38573f)||_0x4a0a4c['set'](_0x38573f,[]),_0x4a0a4c['get'](_0x38573f)['push'](_0x3510dc);}}if('remove'===_0x1fced2['type']&&_0x1fced2['name']===this['_elementName']){const _0x2f31fc=this['_getElementKey']({'getAttribute':_0x4a5b13=>_0x1fced2['attributes']['get'](_0x4a5b13)});_0x13175b['add'](_0x2f31fc);}}for(const [_0x3e6b86,_0x2d57bb]of this['_trackedElements'])'$graveyard'===_0x2d57bb['root']['rootName']&&_0x13175b['add'](_0x3e6b86);for(const _0xa9ce62 of _0x13175b)this['_trackedElements']['delete'](_0xa9ce62);for(const [_0x453ad1,_0x4142f0]of _0x4a0a4c)this['_trackedElements']['set'](_0x453ad1,_0x4142f0[_0x4142f0['length']-0x1]);const _0x2e45ee=new Set();for(const [_0x5f50ff,_0x5d1da1]of _0x4a0a4c)_0x13175b['has'](_0x5f50ff)&&(_0x2e45ee['add'](_0x5d1da1[0x0]),_0x5d1da1['length']>0x1?_0x4a0a4c['set'](_0x5f50ff,_0x5d1da1['slice'](0x1)):_0x4a0a4c['delete'](_0x5f50ff),_0x13175b['delete'](_0x5f50ff));return{'removed':Array['from'](_0x13175b),'inserted':Array['from'](_0x4a0a4c['values']())['flat'](),'moved':Array['from'](_0x2e45ee)};}}class FootnotesTracker extends _0x13517b{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x131304){super(_0x131304),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3b821e=>_0x3b821e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4b4284=>_0x4b4284['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1c02f8}=this,{model:_0x1d113f,data:_0x434ee2}=_0x1c02f8;_0x1d113f['document']['registerPostFixer'](_0x453b69=>{const _0x2fd88e=_0x1d113f['document']['differ']['getChanges']();let _0x2ec847=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x453b69,_0x2fd88e)&&(_0x2ec847=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x453b69,_0x2fd88e)&&(_0x2ec847=!0x0),this['_handleFootnoteReferencesChanges'](_0x453b69,_0x2fd88e)&&(_0x2ec847=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x453b69)&&(_0x2ec847=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x453b69)&&(_0x2ec847=!0x0),this['_sortFootnoteDefinitions'](_0x453b69)&&(_0x2ec847=!0x0),_0x2ec847;}),this['listenTo'](_0x1d113f['document'],'change:data',()=>{_0x1d113f['enqueueChange']({'isUndoable':!0x1},_0x4b900b=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4b900b);});},{'priority':'low'}),this['listenTo'](_0x434ee2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x532ad0){return this['_footnotes']['find'](_0x523ac5=>_0x523ac5['id']===_0x532ad0)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2bf7b1){this['_footnoteFormatter']=_0x2bf7b1;}['_updateFootnotesCounters'](_0x1a1f40,_0xc2d334=0x0){let _0x3562d0=!0x1;for(let _0x45110b=_0xc2d334;_0x45110b<this['_footnotes']['length'];_0x45110b++)this['_updateFootnoteRefCounter'](_0x1a1f40,_0x45110b)&&(_0x3562d0=!0x0);return _0x3562d0;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2c1290,_0x3ef398){const _0x26165d=_0x2c1290['createElement']('footnotesDefinitions',{});return _0x2c1290['append'](_0x26165d,_0x3ef398),this['_footnotesDefinitions']=_0x26165d,_0x26165d;}['_ensureFootnotesDefinitionsContainerExists'](_0xdfd788){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5ba585=this['_footnotes'][0x0]['reference']['root'],_0x5054ac=this['_insertEmptyFootnotesDefinitionsContainer'](_0xdfd788,_0x5ba585);for(const _0x304c2f of this['_footnotes'])_0x304c2f['definition']['parent']||_0xdfd788['insert'](_0x304c2f['definition'],_0x5054ac,'end');this['_updateFootnotesCounters'](_0xdfd788);}['_handleFootnotesDefinitionsObjectChanges'](_0x3bcff4,_0x178584){let _0xf63449=!0x1;const {inserted:_0x3c9a17,removed:_0x395684,moved:_0x5b1991}=this['_footnoteDefsContainerTracker']['getChanges'](_0x178584);if(_0x5b1991['length']&&(this['_footnotesDefinitions']=_0x5b1991[0x0]),_0x3c9a17['length']){if(_0x3c9a17['length']>0x1||this['_footnotesDefinitions']&&_0x3c9a17['some'](_0x227188=>_0x227188!==this['_footnotesDefinitions'])){const _0x46e56b=_0x3bcff4['createElement']('footnotesDefinitions',{}),_0xccd532=[];this['_footnotesDefinitions']&&_0xccd532['push'](this['_footnotesDefinitions']),_0xccd532['push'](..._0x3c9a17),_0x3bcff4['insert'](_0x46e56b,_0xccd532[0x0],'before');for(const _0x1b0e35 of _0xccd532)_0x3bcff4['move'](_0x3bcff4['createRangeIn'](_0x1b0e35),_0x3bcff4['createPositionAt'](_0x46e56b,'end')),_0x3bcff4['remove'](_0x1b0e35);this['_footnotesDefinitions']=_0x46e56b,this['_updateFootnotesCounters'](_0x3bcff4),_0xf63449=!0x0;}else this['_footnotesDefinitions']=_0x3c9a17[0x0];}if(_0x395684['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x268d82 of this['_footnotes'])_0x3bcff4['remove'](_0x268d82['reference']),_0xf63449=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xf63449;}['_handleFootnoteDefinitionsChanges'](_0x12025d,_0x4466e0){let _0x439c79=!0x1;const _0x16adf5=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3fbd98,moved:_0x3e41f0}=this['_footnoteDefsTracker']['getChanges'](_0x4466e0);for(const _0x2b7d5d of[..._0x3e41f0,..._0x3fbd98]){const _0x3299bb=_0x2b7d5d['getAttribute']('footnoteId'),_0x162aec=this['getFootnote'](_0x3299bb);_0x162aec&&(_0x162aec['definition']=_0x2b7d5d),kg(_0x12025d,_0x16adf5,_0x2b7d5d)&&(_0x439c79=!0x0);}return _0x439c79;}['_handleFootnoteReferencesChanges'](_0x23eb9a,_0x22d093){let _0x10f081=!0x1;const {removed:_0x203180,inserted:_0x4413ee,moved:_0x11775a}=this['_footnoteRefsTracker']['getChanges'](_0x22d093);for(const _0x162195 of _0x203180)this['_handleRemoveFootnoteReferenceById'](_0x23eb9a,_0x162195)&&(_0x10f081=!0x0);for(const _0x5f301e of _0x4413ee)this['_handleInsertedFootnoteReference'](_0x23eb9a,_0x5f301e)&&(_0x10f081=!0x0);for(const _0x5ae0be of _0x11775a)this['_handleMovedFootnoteReference'](_0x23eb9a,_0x5ae0be)&&(_0x10f081=!0x0);return _0x10f081;}['_handleFootnotesDefinitionsObjectSync'](_0x2c2155){if(!this['_footnotesDefinitions'])return!0x1;let _0x3a03ce=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x7f9363=[];for(const _0x152248 of this['_footnotesDefinitions']['getChildren']()){const _0x25edcd=_0x152248['getAttribute']('footnoteId');this['getFootnote'](_0x25edcd)||(_0x7f9363['unshift'](_0x152248),_0x3a03ce=!0x0);}for(const _0x26aa26 of _0x7f9363)_0x2c2155['remove'](_0x26aa26);}const _0x8ddc48=new Set(),_0x1359eb=[];for(const _0xa9bd44 of this['_footnotesDefinitions']['getChildren']()){const _0xa8a23c=_0xa9bd44['getAttribute']('footnoteId');_0x8ddc48['has'](_0xa8a23c)?(_0x1359eb['unshift'](_0xa9bd44),_0x3a03ce=!0x0):_0x8ddc48['add'](_0xa8a23c);}for(const _0x2af562 of _0x1359eb)_0x2c2155['remove'](_0x2af562);return this['_footnotesDefinitions']['childCount']||(_0x2c2155['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3a03ce=!0x0),_0x3a03ce;}['_handleInsertedFootnoteReference'](_0x2d8a90,_0x851e84){if(this['_footnotes']['find'](_0x41dcfd=>_0x41dcfd['reference']===_0x851e84))return!0x1;let _0x3f0673=!0x1;const _0x4cd9c2=_0x851e84['getAttribute']('footnoteId'),_0x61b927=this['_footnotes']['findIndex'](_0x180a7d=>_0x180a7d['id']===_0x4cd9c2);-0x1!==_0x61b927&&(_0x2d8a90['remove'](this['_footnotes'][_0x61b927]['reference']),this['_footnotes']['splice'](_0x61b927,0x1),_0x3f0673=!0x0);let _0xab8c48=this['_footnotesDefinitions']?function(_0x5ebcad,_0x1f319e){for(const _0x40d9ee of _0x5ebcad['getChildren']())if(_0x40d9ee['getAttribute']('footnoteId')===_0x1f319e)return _0x40d9ee;return null;}(this['_footnotesDefinitions'],_0x4cd9c2):null;_0xab8c48||(_0xab8c48=_0x2d8a90['createElement']('footnoteDefinition',{'footnoteId':_0x4cd9c2}),this['_footnotesDefinitions']&&(_0x2d8a90['insert'](_0xab8c48,this['_footnotesDefinitions'],'end'),_0x3f0673=!0x0));const _0x505421={'id':_0x4cd9c2,'reference':_0x851e84,'definition':_0xab8c48},_0x25ce48=xg(this['editor']['model'],this['_footnotes'],_0x851e84);this['_footnotes']['splice'](_0x25ce48,0x0,_0x505421);let _0x263c6f=_0x25ce48;return-0x1!==_0x61b927&&(_0x263c6f=Math['min'](_0x25ce48,_0x61b927)),this['_updateFootnotesCounters'](_0x2d8a90,_0x263c6f)&&(_0x3f0673=!0x0),_0x3f0673;}['_handleRemoveFootnoteReferenceById'](_0xecb477,_0x5e0043){const _0x4bd3b0=this['_footnotes']['findIndex'](_0x3d07bb=>_0x3d07bb['id']===_0x5e0043);if(-0x1===_0x4bd3b0)return!0x1;let _0x30d95c=!0x1;const _0x26fa5e=this['_footnotes'][_0x4bd3b0];return'$graveyard'!==_0x26fa5e['definition']['root']['rootName']&&(_0xecb477['remove'](_0x26fa5e['definition']),_0x30d95c=!0x0),this['_footnotes']['splice'](_0x4bd3b0,0x1),this['_updateFootnotesCounters'](_0xecb477,_0x4bd3b0)&&(_0x30d95c=!0x0),_0x30d95c;}['_handleMovedFootnoteReference'](_0x58d9c1,_0x249e4b){const _0x520f72=_0x249e4b['getAttribute']('footnoteId'),_0xb1c2f8=this['_footnotes']['findIndex'](_0x37e741=>_0x37e741['id']===_0x520f72),_0x221563=this['_footnotes'][_0xb1c2f8];let _0x43de4f=!0x1;_0x221563['reference']=_0x249e4b,this['_footnotes']['splice'](_0xb1c2f8,0x1);const _0x52f8f5=xg(this['editor']['model'],this['_footnotes'],_0x249e4b);return this['_footnotes']['splice'](_0x52f8f5,0x0,_0x221563),this['_updateFootnotesCounters'](_0x58d9c1,Math['min'](_0xb1c2f8,_0x52f8f5))&&(_0x43de4f=!0x0),_0x43de4f;}['_updateFootnoteRefCounter'](_0x276fc6,_0x4a1233){if(!this['_footnotesDefinitions'])return!0x1;const _0x14f7ba=this['_footnotes'][_0x4a1233];let _0x5b8e38;return _0x5b8e38=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x14f7ba,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4a1233+0x1}):String(_0x4a1233+0x1),_0x14f7ba['reference']['getAttribute']('footnoteCounter')!=_0x5b8e38&&(_0x276fc6['setAttribute']('footnoteCounter',_0x5b8e38,_0x14f7ba['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x32035d){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4da6f3,_0x24a745){if(_0x4da6f3['length']!==_0x24a745['length'])return!0x1;for(let _0x1781a5=0x0;_0x1781a5<_0x4da6f3['length'];_0x1781a5++)if(_0x4da6f3[_0x1781a5]!==_0x24a745[_0x1781a5])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5e5a12=>_0x5e5a12['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4250f2=>_0x4250f2['getAttribute']('footnoteId'))))return!0x1;let _0x14617f=!0x1;for(let _0x11310a=0x0;_0x11310a<this['_footnotes']['length'];_0x11310a++){const _0x2dedde=this['_footnotes'][_0x11310a],_0xa6db30=_0x32035d['createPositionBefore'](_0x2dedde['definition']),_0x1abf95=_0x32035d['createPositionAt'](this['_footnotesDefinitions'],_0x11310a);_0xa6db30['isEqual'](_0x1abf95)||(_0x32035d['move'](_0x32035d['createRangeOn'](_0x2dedde['definition']),_0x1abf95),_0x14617f=!0x0);}return _0x14617f;}['_ensureFootnotesReferencesHaveProperOrder'](_0x13aa35){if(!this['_footnotes']['length'])return!0x1;const {model:_0x40b8c5}=this['editor'];let _0x326a63=!0x1;for(let _0xe3ed61=0x0;_0xe3ed61<this['_footnotes']['length']-0x1;_0xe3ed61++){const _0x1b2e54=this['_footnotes'][_0xe3ed61],_0x8bb7a5=this['_footnotes'][_0xe3ed61+0x1],_0x401999=_0x40b8c5['createPositionBefore'](_0x1b2e54['reference']),_0x574797=_0x40b8c5['createPositionBefore'](_0x8bb7a5['reference']);'after'===_0x401999['compareWith'](_0x574797)&&(this['_handleMovedFootnoteReference'](_0x13aa35,_0x1b2e54['reference']),_0xe3ed61=-0x1,_0x326a63=!0x0);}return _0x326a63;}}function kg(_0x463902,_0x5b06fe,_0x1a94d8){if(_0x1a94d8['childCount'])return!0x1;const _0x149053=_0x5b06fe?'paragraph':'footnoteInlineContent';return _0x463902['insert'](_0x463902['createElement'](_0x149053),_0x1a94d8),!0x0;}function xg(_0x41785d,_0x5db724,_0x44e608){if(0x0===_0x5db724['length'])return 0x0;const _0x519bf3=_0x41785d['createPositionBefore'](_0x44e608);for(let _0x4ec0b0=0x0;_0x4ec0b0<_0x5db724['length'];_0x4ec0b0++){const _0x1595be=_0x5db724[_0x4ec0b0],_0x578d81=_0x41785d['createPositionBefore'](_0x1595be['reference']);if('before'===_0x519bf3['compareWith'](_0x578d81))return _0x4ec0b0;}const _0x3f2950=_0x44e608['root'];let _0x46047a=-0x1;for(let _0x17a343=_0x5db724['length']-0x1;_0x17a343>=0x0;_0x17a343--)if(_0x5db724[_0x17a343]['reference']['root']===_0x3f2950){_0x46047a=_0x17a343;break;}if(-0x1!==_0x46047a)return _0x46047a+0x1;const _0x1b5307=_0x41785d['document']['getRootNames'](),_0x2863cd=_0x1b5307['indexOf'](_0x3f2950['rootName']),_0xd5c8a3=_0x1b5307[_0x2863cd+0x1];if(_0xd5c8a3){for(let _0x40eb3e=0x0;_0x40eb3e<_0x5db724['length'];_0x40eb3e++)if(_0x5db724[_0x40eb3e]['reference']['root']['rootName']===_0xd5c8a3)return _0x40eb3e;}return _0x5db724['length'];}class InsertFootnoteCommand extends _0x15bad7{['refresh'](){const _0x143f2a=this['editor']['model']['document']['selection'],_0x209e84=this['_getPositionToInsertFootnote'](_0x143f2a);this['isEnabled']=!!_0x209e84;}['execute'](_0x3b092e){const {editor:_0xeb692c}=this,{model:_0x1dd34d}=_0xeb692c,{selection:_0x2d2ef4}=_0x1dd34d['document'],_0x53893b=this['_getPositionToInsertFootnote'](_0x2d2ef4);if(!_0x53893b)return;const _0x28ae4d=_0xeb692c['plugins']['get']('FootnotesEditing'),_0x122d13=_0x3b092e?.['footnoteId']??_0x5c5c0c();!function(_0x3b5d73){return'string'==typeof _0x3b5d73&&_0x3b5d73['length']>0x0&&!/\s/['test'](_0x3b5d73)&&!/^\d/['test'](_0x3b5d73);}(_0x122d13)?_0xd86012('insert-footnote-command-executed-with-invalid-id'):(_0x1dd34d['change'](_0x4bd8f4=>{const _0x19dc39=_0x4bd8f4['createElement']('footnoteRef',{'footnoteId':_0x122d13});_0x1dd34d['insertObject'](_0x19dc39,_0x53893b,null);}),_0x28ae4d['_moveSelectionToFootnoteDefinition'](_0x122d13));}['_getPositionToInsertFootnote'](_0x27a082){const {model:_0x1f484d}=this['editor'],{schema:_0x16e530}=_0x1f484d,_0x8ceb6c=_0x27a082['getFirstRange']();for(const _0x37f550 of _0x8ceb6c['getItems']())if(_0x16e530['isBlock'](_0x37f550)||_0x16e530['isObject'](_0x37f550))return null;const _0xeb077a=_0x8ceb6c['end'];return _0x16e530['checkChild'](_0xeb077a,'footnoteRef')?_0xeb077a:null;}}class FootnotesEditing extends _0x13517b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40e54c}=this;_0x40e54c['config']['define']('footnotes.multiBlock',!0x0),_0x40e54c['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x40e54c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18236e){const _0x472f7a=_0x9eca81([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]),_0x38dc62=0x47a28506,_0x478d0f=0x47a50ac6^_0x38dc62,_0x5d3d91=window[_0x9eca81([0x44,0x61,0x74,0x65])][_0x9eca81([0x6e,0x6f,0x77])](),_0x24c872=_0x18236e[_0x9eca81([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1213e8=new window[(_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x463d6c=>{_0x24c872[_0x9eca81([0x6f,0x6e,0x63,0x65])](_0x9eca81([0x72,0x65,0x61,0x64,0x79]),_0x463d6c);}),_0x3a3224={[_0x9eca81([0x6b,0x74,0x79])]:_0x9eca81([0x45,0x43]),[_0x9eca81([0x75,0x73,0x65])]:_0x9eca81([0x73,0x69,0x67]),[_0x9eca81([0x63,0x72,0x76])]:_0x9eca81([0x50,0x2d,0x32,0x35,0x36]),[_0x9eca81([0x78])]:_0x9eca81([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]),[_0x9eca81([0x79])]:_0x9eca81([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]),[_0x9eca81([0x61,0x6c,0x67])]:_0x9eca81([0x45,0x53,0x32,0x35,0x36])},_0x3b4853=_0x24c872[_0x9eca81([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9eca81([0x67,0x65,0x74])](_0x9eca81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13a1ff(){let _0x2c33de,_0x2e64f4=null,_0x127231=null;try{if(_0x3b4853==_0x9eca81([0x47,0x50,0x4c]))return _0x9eca81([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c33de=_0x495a23(),!_0x2c33de)return _0x9eca81([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c33de[_0x9eca81([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x127231=_0x522dd1(_0x2c33de[_0x9eca81([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c33de[_0x9eca81([0x6a,0x74,0x69])])),await _0x71544c()?_0x4e169d()?_0x599034()?_0x9eca81([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x117da3()?(_0x2c33de[_0x9eca81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9eca81([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e64f4=_0x42cb0c(_0x9eca81([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23a723()):_0x9eca81([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9eca81([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9eca81([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9eca81([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x599034(){const _0x5824e5=[_0x9eca81([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9eca81([0x74,0x72,0x69,0x61,0x6c])][_0x9eca81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c33de[_0x9eca81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d3d91/0x3e8:0xe10*_0x478d0f;return _0x2c33de[_0x9eca81([0x65,0x78,0x70])]<_0x5824e5;}function _0x4e169d(){const _0x2f2681=_0x2c33de[_0x9eca81([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f2681&&(!!_0x2f2681[_0x9eca81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9eca81([0x2a]))||!!_0x2f2681[_0x9eca81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9eca81([0x46,0x4f,0x4f])));}function _0x117da3(){const _0x3b6980=_0x2c33de[_0x9eca81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b6980||0x0==_0x3b6980[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd63a55}=new URL(window[_0x9eca81([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b6980[_0x9eca81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd63a55))return!0x0;const _0x1caf0c=_0xd63a55[_0x9eca81([0x73,0x70,0x6c,0x69,0x74])](_0x9eca81([0x2e]));return _0x3b6980[_0x9eca81([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2137e4=>_0x2137e4[_0x9eca81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9eca81([0x2a])))[_0x9eca81([0x6d,0x61,0x70])](_0x547588=>_0x547588[_0x9eca81([0x73,0x70,0x6c,0x69,0x74])](_0x9eca81([0x2e])))[_0x9eca81([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57953c=>_0x57953c[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1caf0c[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9eca81([0x6d,0x61,0x70])](_0x15d0c6=>Array(_0x1caf0c[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15d0c6[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9eca81([0x66,0x69,0x6c,0x6c])](_0x15d0c6[0x0]===_0x9eca81([0x2a])?_0x9eca81([0x2a]):'')[_0x9eca81([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15d0c6))[_0x9eca81([0x73,0x6f,0x6d,0x65])](_0x315dfd=>_0x1caf0c[_0x9eca81([0x65,0x76,0x65,0x72,0x79])]((_0x2155f7,_0x29dd60)=>_0x315dfd[_0x29dd60]===_0x2155f7||_0x315dfd[_0x29dd60]===_0x9eca81([0x2a])));}function _0x23a723(){return _0x2e64f4&&_0x127231?new window[(_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b34f8,_0x268215)=>{_0x2e64f4[_0x9eca81([0x74,0x68,0x65,0x6e])](_0x1b34f8,_0x268215),_0x127231[_0x9eca81([0x74,0x68,0x65,0x6e])](_0x19b893=>{_0x19b893!=_0x9eca81([0x56,0x61,0x6c,0x69,0x64])&&_0x1b34f8(_0x19b893);},_0x268215);}):_0x2e64f4||_0x127231||_0x9eca81([0x56,0x61,0x6c,0x69,0x64]);}}function _0x522dd1(_0x4aa0c0,_0x1d4dc5){return new window[(_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d01f0=>{if(_0x22408b())return _0x5d01f0(_0x9eca81([0x56,0x61,0x6c,0x69,0x64]));_0xb8e3f3(),_0x24c872[_0x9eca81([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9eca81([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16b763=!0x1;const _0x2999a7=_0x5c5c0c();function _0x15ccf1(_0x37561c){return!!_0x37561c&&(typeof _0x37561c===_0x9eca81([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37561c===_0x9eca81([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37561c[_0x9eca81([0x74,0x68,0x65,0x6e])]===_0x9eca81([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37561c[_0x9eca81([0x63,0x61,0x74,0x63,0x68])]===_0x9eca81([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x258083(_0x4c68ec){_0x562ab4(_0x4c68ec)[_0x9eca81([0x74,0x68,0x65,0x6e])](_0x261071=>{if(!_0x261071||_0x261071[_0x9eca81([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9eca81([0x6f,0x6b]))return _0x9eca81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a2ab0(_0x2d39c0(_0x2999a7+_0x1d4dc5))!=_0x261071[_0x9eca81([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9eca81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9eca81([0x56,0x61,0x6c,0x69,0x64]);})[_0x9eca81([0x74,0x68,0x65,0x6e])](_0x3e9f14=>(_0x9c5fcb(),_0x3e9f14),()=>{const _0x1d7ea7=_0xf50de6();return null==_0x1d7ea7?(_0x9c5fcb(),_0x9eca81([0x56,0x61,0x6c,0x69,0x64])):_0x9eca81(_0x5d3d91-_0x1d7ea7>(0x63ae0106^_0x38dc62)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9eca81([0x74,0x68,0x65,0x6e])](_0x5d01f0)[_0x9eca81([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d01f0(_0x9eca81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x121621=0x47946b86^_0x38dc62;function _0x9c5fcb(){const _0x84c955=_0x9eca81([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a2ab0(_0x2d39c0(_0x4aa0c0)),_0x244486=_0x5a6a03(_0x1a2ab0(window[_0x9eca81([0x4d,0x61,0x74,0x68])][_0x9eca81([0x63,0x65,0x69,0x6c])](_0x5d3d91/_0x121621)));window[_0x9eca81([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9eca81([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x84c955,_0x244486);}function _0xf50de6(){const _0x3625a9=_0x9eca81([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a2ab0(_0x2d39c0(_0x4aa0c0)),_0x57ad6f=window[_0x9eca81([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9eca81([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3625a9);return _0x57ad6f?window[_0x9eca81([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a6a03(_0x57ad6f),0x10)*_0x121621:null;}function _0x562ab4(_0xeb63db){return new window[(_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42b456,_0x4e447e)=>{_0xeb63db[_0x9eca81([0x74,0x68,0x65,0x6e])](_0x42b456,_0x4e447e),window[_0x9eca81([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e447e,0x47a351c6^_0x38dc62);});}}_0x24c872[_0x9eca81([0x6f,0x6e])](_0x9eca81([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24fd9e,_0x533835)=>{if(_0x533835[0x0]!=_0x4aa0c0)return _0x5d01f0(_0x9eca81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x533835[0x1]={..._0x533835[0x1],[_0x9eca81([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2999a7};},{[_0x9eca81([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9eca81([0x68,0x69,0x67,0x68])}),_0x24c872[_0x9eca81([0x6f,0x6e])](_0x9eca81([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23f560=>{_0x15ccf1(_0x23f560[_0x9eca81([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16b763=!0x0,_0x258083(_0x23f560[_0x9eca81([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9eca81([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9eca81([0x6c,0x6f,0x77])}),_0x1213e8[_0x9eca81([0x74,0x68,0x65,0x6e])](()=>{_0x16b763||_0x5d01f0(_0x9eca81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22408b(){return _0x24c872[_0x9eca81([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9eca81([0x76,0x69,0x65,0x77])][_0x9eca81([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9eca81([0x61,0x75,0x74,0x6f]);}function _0xb8e3f3(){_0x24c872[_0x9eca81([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9eca81([0x76,0x69,0x65,0x77])][_0x9eca81([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9eca81([0x61,0x75,0x74,0x6f]);}}function _0x42cb0c(_0xb5787d){const _0x1ba912=[new window[(_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56b377=>setTimeout(_0x56b377,0x47abbbca^_0x38dc62)),_0x1213e8[_0x9eca81([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1533d4=>{let _0x13a843=0x0;_0x24c872[_0x9eca81([0x6d,0x6f,0x64,0x65,0x6c])][_0x9eca81([0x6f,0x6e])](_0x9eca81([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bd02c,_0x53310f)=>{_0x53310f[0x0][_0x9eca81([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13a843++,_0x13a843==(0x47a280ee^_0x38dc62)&&(_0x1533d4(),_0x2bd02c[_0x9eca81([0x6f,0x66,0x66])]());});}))];return window[_0x9eca81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9eca81([0x72,0x61,0x63,0x65])](_0x1ba912)[_0x9eca81([0x74,0x68,0x65,0x6e])](()=>_0xb5787d);}async function _0xe0d714(){await _0x1213e8,_0x24c872[_0x9eca81([0x6d,0x6f,0x64,0x65,0x6c])][_0x9eca81([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20d2b5,_0x24c872[_0x9eca81([0x6d,0x6f,0x64,0x65,0x6c])][_0x9eca81([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20d2b5,_0x24c872[_0x9eca81([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9eca81([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55f2dc(_0x50863a){const _0x2a761c=_0x7a8bfa();_0x24c872[_0x2a761c]=_0x9eca81([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x50863a,_0x50863a!=_0x9eca81([0x56,0x61,0x6c,0x69,0x64])&&_0xe0d714();}function _0x7a8bfa(){const _0x436146=window[_0x9eca81([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9eca81([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9eca81([0x6e,0x6f,0x77])]())[_0x9eca81([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9eca81([0x2e]),'');let _0x200b9b=_0x9eca81([0x75]);for(let _0xe3032b=0x0;_0xe3032b<_0x436146[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe3032b+=0x2){let _0x362680=window[_0x9eca81([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436146[_0x9eca81([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe3032b,_0xe3032b+0x2));_0x362680>=_0x472f7a[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x362680-=_0x472f7a[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x200b9b+=_0x472f7a[_0x362680];}return _0x200b9b;}function _0x495a23(){const _0x1753b0=_0x3b4853[_0x9eca81([0x73,0x70,0x6c,0x69,0x74])](_0x9eca81([0x2e]));if(0x3!=_0x1753b0[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x401c17(_0x1753b0[0x1]);function _0x401c17(_0x432ede){const _0x5d3e78=_0x46f917(_0x432ede);return _0x5d3e78&&_0x39cb3b()?_0x5d3e78:null;function _0x39cb3b(){const _0x26d939=_0x5d3e78[_0x9eca81([0x6a,0x74,0x69])],_0x53c6fc=window[_0x9eca81([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d939[_0x9eca81([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26d939[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16c626={..._0x5d3e78,[_0x9eca81([0x6a,0x74,0x69])]:_0x26d939[_0x9eca81([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26d939[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16c626[_0x9eca81([0x76,0x63])],_0x2d39c0(_0x16c626)==_0x53c6fc;}}}async function _0x71544c(){let _0x3941f4=!0x0;try{const _0x2a6014=_0x3b4853[_0x9eca81([0x73,0x70,0x6c,0x69,0x74])](_0x9eca81([0x2e])),[_0x5d3637,_0x2ad980,_0x5605e4]=_0x2a6014;return _0x426a7a(_0x5d3637),await _0x40dff3(_0x5d3637,_0x2ad980,_0x5605e4),_0x3941f4;}catch{return!0x1;}function _0x426a7a(_0x3757cf){const _0x5aa10f=_0x46f917(_0x3757cf);_0x5aa10f&&_0x5aa10f[_0x9eca81([0x61,0x6c,0x67])]==_0x9eca81([0x45,0x53,0x32,0x35,0x36])||(_0x3941f4=!0x1);}async function _0x40dff3(_0x558d16,_0x2ba9e1,_0x3b2501){const _0x2dba8b=window[_0x9eca81([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9eca81([0x66,0x72,0x6f,0x6d])](_0x2bfdc8(_0x3b2501),_0x580b54=>_0x580b54[_0x9eca81([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14f15f=new window[(_0x9eca81([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9eca81([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x558d16+_0x9eca81([0x2e])+_0x2ba9e1),_0xc10239=window[_0x9eca81([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9eca81([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc10239)return;const _0x1210e2=await _0xc10239[_0x9eca81([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9eca81([0x6a,0x77,0x6b]),_0x3a3224,{[_0x9eca81([0x6e,0x61,0x6d,0x65])]:_0x9eca81([0x45,0x43,0x44,0x53,0x41]),[_0x9eca81([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9eca81([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9eca81([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc10239[_0x9eca81([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9eca81([0x6e,0x61,0x6d,0x65])]:_0x9eca81([0x45,0x43,0x44,0x53,0x41]),[_0x9eca81([0x68,0x61,0x73,0x68])]:{[_0x9eca81([0x6e,0x61,0x6d,0x65])]:_0x9eca81([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1210e2,_0x2dba8b,_0x14f15f)||(_0x3941f4=!0x1);}}function _0x46f917(_0x295920){return _0x295920[_0x9eca81([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9eca81([0x65,0x79]))?JSON[_0x9eca81([0x70,0x61,0x72,0x73,0x65])](_0x2bfdc8(_0x295920)):null;}function _0x2bfdc8(_0x5b978f){return window[_0x9eca81([0x61,0x74,0x6f,0x62])](_0x5b978f[_0x9eca81([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9eca81([0x2b]))[_0x9eca81([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9eca81([0x2f])));}function _0x2d39c0(_0x3ea87f){let _0x42e4a7=0x1505;function _0x32c709(_0x38cc73){for(let _0x2e1b66=0x0;_0x2e1b66<_0x38cc73[_0x9eca81([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1b66++){const _0xfa446d=_0x38cc73[_0x9eca81([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e1b66);_0x42e4a7=(_0x42e4a7<<0x5)+_0x42e4a7+_0xfa446d,_0x42e4a7&=_0x42e4a7;}}function _0x1a1f67(_0x250b32){Array[_0x9eca81([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x250b32)?_0x250b32[_0x9eca81([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a1f67):_0x250b32&&typeof _0x250b32==_0x9eca81([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9eca81([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x250b32)[_0x9eca81([0x73,0x6f,0x72,0x74])]()[_0x9eca81([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1382fb,_0x46990f])=>{_0x32c709(_0x1382fb),_0x1a1f67(_0x46990f);}):_0x32c709(window[_0x9eca81([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x250b32));}return _0x1a1f67(_0x3ea87f),_0x42e4a7>>>0x0;}function _0x1a2ab0(_0x31d46e){return _0x31d46e[_0x9eca81([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9eca81([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9eca81([0x30]));}function _0x5a6a03(_0x36130b){return _0x36130b[_0x9eca81([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9eca81([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9eca81([0x6a,0x6f,0x69,0x6e])]('');}function _0x20d2b5(){}function _0x9eca81(_0x3a19a6){return _0x3a19a6['map'](_0x102b1f=>String['fromCharCode'](_0x102b1f))['join']('');}_0x55f2dc(await _0x13a1ff());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5994fc){const {plugins:_0x2dee3c,editing:_0x463e6a,model:_0x4f9f47}=this['editor'],_0x5de31f=_0x2dee3c['get'](FootnotesTracker)['getFootnote'](_0x5994fc);return!!_0x5de31f&&(_0x4f9f47['change'](_0x3535ca=>{_0x3535ca['setSelection'](_0x3535ca['createPositionAt'](_0x5de31f['definition'],'end'));}),_0x463e6a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x38f613){const {plugins:_0x20f207,editing:_0x28ccdd,model:_0x35a342}=this['editor'],_0x5af2cf=_0x20f207['get'](FootnotesTracker)['getFootnote'](_0x38f613);return!!_0x5af2cf&&(_0x35a342['change'](_0x474c98=>{_0x474c98['setSelection'](_0x5af2cf['reference'],'on');}),_0x28ccdd['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x207c07}=this['editor']['model'],_0x3f419a=this['editor']['config']['get']('footnotes.multiBlock');_0x207c07['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x207c07['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x207c07['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3f419a?_0x207c07['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x207c07['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x207c07['addChildCheck'](_0x5c80c8=>{for(const _0x2f2dd3 of _0x5c80c8)if('footnoteDefinition'===_0x2f2dd3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4caf8a}=this,{conversion:_0x41dbc4,editing:_0xcc49df}=_0x4caf8a,{t:t}=_0x4caf8a['locale'];_0x41dbc4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4bc60a,{writer:_0xb2ffca,consumable:_0x239c8c})=>{const _0x487373=_0x4bc60a['getChild'](0x0);if(!_0x487373||!_0x487373['is']('element','a'))return null;const _0x1eb9e0=_0x487373['getAttribute']('href')||'';if(!_0x1eb9e0['startsWith']('#'))return null;const _0x5bf4c0=_0x1eb9e0['replace'](/^#/,'');if(!_0x5bf4c0)return null;_0x239c8c['consume'](_0x487373,{'name':!0x0,'attributes':['href']});for(const {item:_0x4ee470}of _0xcc49df['view']['createRangeIn'](_0x487373))_0x4ee470['is']('$textProxy')?_0x239c8c['consume'](_0x4ee470['textNode'],{'name':!0x0}):_0x4ee470['is']('element')&&_0x239c8c['consume'](_0x4ee470,{'name':!0x0});return _0xb2ffca['createElement']('footnoteRef',{'footnoteId':_0x5bf4c0});}}),_0x41dbc4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xf840a5,{writer:_0x479643})=>Dg(_0xf840a5,_0x479643)}),_0x41dbc4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x196920,{writer:_0x11ed86})=>{const _0x58e03c=_0x196920['getAttribute']('footnoteCounter');return _0xc2ea3(Dg(_0x196920,_0x11ed86),_0x11ed86,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x58e03c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x25a86e}=this,{t:t}=_0x25a86e['locale'],{conversion:_0x20dcc4}=_0x25a86e;_0x20dcc4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x20dcc4['for']('upcast')['add'](_0xd4c00b=>{_0xd4c00b['on']('element:ol',(_0x46680f,_0x3311b7,_0x514d12)=>{const _0x10f737=_0x3311b7['viewItem'];if(!_0x10f737['hasClass']('footnotes-list')||!_0x3311b7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x514d12['consumable']['consume'](_0x10f737,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xf56b45,modelCursor:_0x4913bf}=_0x514d12['convertChildren'](_0x3311b7['viewItem'],_0x3311b7['modelCursor']);_0x3311b7['modelRange']=_0xf56b45,_0x3311b7['modelCursor']=_0x4913bf;}),_0xd4c00b['on']('element:hr',(_0x52c71f,_0x154846,_0x5d449e)=>{const _0x50e4da=_0x154846['viewItem'];_0x50e4da['hasClass']('footnotes-divider')&&_0x154846['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5d449e['consumable']['consume'](_0x50e4da,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x20dcc4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x850ace,{writer:_0xf467ee})=>Lg(_0xf467ee)}),_0x20dcc4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5c28fc,{writer:_0x22007a})=>{const _0x36f99c=Lg(_0x22007a,{'data-footnotes-list-label':t('Footnotes')}),_0x3fc495=_0xc2ea3(_0x36f99c,_0x22007a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x22007a['setCustomProperty']('footnotesDefinitions',!0x0,_0x3fc495),_0x3fc495;}});}['_defineDefinitionConverters'](){const {editor:_0x4819b6}=this,{conversion:_0x3e6b0d,locale:_0x264bde}=_0x4819b6,_0x2d442a=_0x4819b6['config']['get']('footnotes.multiBlock');_0x3e6b0d['for']('upcast')['add'](_0x2c7a9c=>{_0x2c7a9c['on']('element:li',(_0x587c85,_0x4a0110,_0x520e38)=>{const _0x54be62=_0x4a0110['viewItem'];if(!_0x54be62['hasClass']('footnote-definition')||!_0x54be62['getAttribute']('id'))return;const _0x12588a=_0x54be62['parent'];if(!_0x12588a['is']('element','ol')||!_0x12588a['hasClass']('footnotes-list'))return;if(!_0x520e38['consumable']['test'](_0x54be62,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xaecc6=_0x520e38['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x54be62['getAttribute']('id')});if(!_0x520e38['safeInsert'](_0xaecc6,_0x4a0110['modelCursor']))return;_0x520e38['consumable']['consume'](_0x54be62,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xd81eea=Array['from'](_0x54be62['getChildren']())['find'](_0x16bfd0=>_0x16bfd0['is']('element')&&_0x16bfd0['hasClass']('footnote-content'));for(const _0x14643d of _0x54be62['getChildren']())_0x14643d['is']('element')&&(_0x520e38['consumable']['consume'](_0x14643d,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x520e38['consumable']['consume'](_0x14643d,{'name':!0x0,'classes':'footnote-content'}));if(_0xd81eea){if(_0x2d442a)_0x520e38['convertChildren'](_0xd81eea,_0xaecc6);else{const _0x8b8add=_0x520e38['writer']['createElement']('footnoteInlineContent');_0x520e38['writer']['insert'](_0x8b8add,_0xaecc6),_0x520e38['convertChildren'](_0xd81eea,_0x8b8add);}}_0x520e38['updateConversionResult'](_0xaecc6,_0x4a0110);});}),_0x3e6b0d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1d9819,{writer:_0x2fa8a3})=>Qg(_0x1d9819,_0x2fa8a3,_0x264bde,{'dataPipeline':!0x0})}),_0x3e6b0d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5de4f7,{writer:_0x4d8052})=>Qg(_0x5de4f7,_0x4d8052,_0x264bde)});}['_defineBogusParagraphConverters'](){const {editor:_0x3c4ea7}=this,{conversion:_0x206884}=_0x3c4ea7;_0x3c4ea7['config']['get']('footnotes.multiBlock')?(_0x206884['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':Rg(),'converterPriority':'high'}),_0x206884['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':Rg({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3c4ea7['model']['document'],'change:data',()=>{!function(_0x33bf0d,_0x3c4fa1){const _0x5af2da=_0x33bf0d['document']['differ'],_0x40bfc1=new Set();for(const _0x2946b9 of _0x5af2da['getChanges']()){const _0x214f1e='attribute'==_0x2946b9['type']?_0x2946b9['range']['start']['parent']:_0x2946b9['position']['parent'];_0x214f1e['is']('element','footnoteDefinition')&&_0x40bfc1['add'](_0x214f1e);}for(const _0x4d9255 of _0x40bfc1['values']()){const _0xb3c4e0=Array['from'](_0x4d9255['getChildren']())['filter'](_0x33926b=>Mg(_0x33926b,_0x3c4fa1['mapper']));for(const _0x7904a9 of _0xb3c4e0)_0x3c4fa1['reconvertItem'](_0x7904a9);}}(_0x3c4ea7['model'],_0x3c4ea7['editing']);})):(_0x206884['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':Rg()}),_0x206884['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4fa334,{writer:_0x59f4a4})=>{const _0x55249a=_0x59f4a4['createContainerElement']('span');return _0x59f4a4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55249a),_0x55249a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x43bdba}=this,{editing:_0x2187a1,t:t}=_0x43bdba,_0x3308d0=_0x43bdba['model']['document']['selection'];_0x43bdba['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x43bdba['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2187a1['view']['document'],'enter',(_0x5f2e13,_0x1aaa7d)=>{const _0x5de621=function(_0x3bb00d){const _0x3c7b65=_0x3bb00d['getSelectedElement']();if(_0x3c7b65?.['is']('element','footnoteRef'))return _0x3c7b65;return null;}(_0x3308d0);if(_0x5de621){const _0x504b80=_0x5de621['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x504b80),_0x1aaa7d['preventDefault'](),_0x5f2e13['stop']();}},{'context':_0x398c4a});}['_defineClickHandlers'](){const {editor:_0x59fbf5}=this,{editing:_0x115c09}=_0x59fbf5;_0x59fbf5['editing']['view']['addObserver'](_0x2ed1f7),_0x59fbf5['editing']['view']['addObserver'](_0x440095);let _0x8ea19f=!0x1;this['listenTo'](_0x115c09['view']['document'],'pointerdown',(_0x1e4847,_0x33d9bc)=>{const {target:_0x3ad610}=_0x33d9bc,_0x1cb7e4=_0x115c09['view']['document']['selection'];_0x8ea19f=!!(_0x3ad610?.['is']('element','a')&&_0x3ad610['parent']?.['is']('element','sup')&&_0x3ad610['parent']['hasClass']('footnote'))&&_0x1cb7e4['getSelectedElement']()===_0x3ad610['parent'];},{'priority':'high'}),this['listenTo'](_0x115c09['view']['document'],'click',(_0x51db09,_0x798cbb)=>{const {target:_0x1fd4b8}=_0x798cbb;if(!_0x1fd4b8?.['is']('element','a'))return;if(_0x1fd4b8['parent']?.['is']('element','sup')&&_0x1fd4b8['parent']['hasClass']('footnote')&&!_0x8ea19f)return void _0x798cbb['preventDefault']();let _0x331e48=_0x1fd4b8['getAttribute']('href');if(!_0x331e48?.['startsWith']('#'))return;_0x331e48=_0x331e48['slice'](0x1);let _0x6b16bc=!0x1;(_0x331e48['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x331e48['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x331e48))&&(_0x6b16bc=!0x0),_0x6b16bc&&(_0x798cbb['preventDefault'](),_0x51db09['stop']());},{'priority':'high','context':'$capture'});}}function Rg({dataPipeline:_0x5f3b9a}={}){return(_0x143751,{writer:_0x5e854d})=>{if(!Pg(_0x143751))return null;if(!_0x5f3b9a)return _0x5e854d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1c861f=_0x5e854d['createContainerElement']('p');return _0x5e854d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1c861f),_0x1c861f;};}function Pg(_0x58b74a){const {parent:_0x2c18cd}=_0x58b74a;if(!_0x2c18cd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2c18cd['childCount'])return!0x1;for(const _0x297e7a of _0x58b74a['getAttributeKeys']())if(!_0x297e7a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x297e7a)return!0x1;return!0x0;}function Mg(_0x4b3a53,_0x57be4d){if(!_0x4b3a53['is']('element','paragraph'))return!0x1;const _0x16c0c2=_0x57be4d['toViewElement'](_0x4b3a53);return!!_0x16c0c2&&Pg(_0x4b3a53)!==_0x16c0c2['is']('element','span');}function Ng(_0x5e4acd){return _0x398c4a(_0x5e4acd)&&_0x5e4acd['is']('containerElement')&&!!_0x5e4acd['getCustomProperty']('footnotesDefinitions');}function Lg(_0x4a2aaf,_0x22893d={}){const _0x2242d9=_0x4a2aaf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x22ea08=_0x4a2aaf['createContainerElement']('ol',{'class':'footnotes-list'},_0x4a2aaf['createSlot']());return _0x4a2aaf['createContainerElement']('div',{'class':'footnotes',..._0x22893d},[_0x2242d9,_0x22ea08]);}function Dg(_0x23d383,_0x1314ab){const _0x4373c4=_0x23d383['getAttribute']('footnoteId'),_0x2270c5=_0x23d383['getAttribute']('footnoteCounter'),_0x1db01f=_0x1314ab['createUIElement']('a',{'href':'#'+_0x4373c4},function(_0x1d4164){const _0x52c5f5=this['toDomElement'](_0x1d4164);return _0x52c5f5['textContent']=_0x2270c5,_0x52c5f5;}),_0x14116a=_0x1314ab['createContainerElement']('sup',{'id':'ref-'+_0x4373c4,'class':'footnote'},[_0x1db01f]);return _0x14116a['getFillerOffset']=()=>null,_0x14116a;}function Qg(_0x397f12,_0x370090,_0x3a6d55,{dataPipeline:_0x5d05de}={}){const {t:t}=_0x3a6d55,_0x5ee1d9=_0x397f12['getAttribute']('footnoteId'),_0x2bc321=_0x370090['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5ee1d9},function(_0x52fd6f){const _0x374cba=this['toDomElement'](_0x52fd6f);return _0x374cba['innerText']='^',_0x374cba;}),_0x40bcb6=_0x5d05de?_0x370090['createContainerElement']('div',{'class':'footnote-content'}):_0x484d34(_0x370090['createEditableElement']('div',{'class':'footnote-content'}),_0x370090,{'label':t('Footnote\x20content.')});return _0x370090['insert'](_0x370090['createPositionAt'](_0x40bcb6,0x0),_0x370090['createSlot']()),_0x370090['createContainerElement']('li',{'class':'footnote-definition','id':_0x5ee1d9},[_0x2bc321,_0x40bcb6]);}class FootnotesClipboard extends _0x13517b{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x3c05db];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xcc00b0}=this,{plugins:_0x4eaff3,model:_0xc6e7dd}=_0xcc00b0,_0x3d4d04=_0x4eaff3['get'](_0x3c05db),_0x592c1c=_0x4eaff3['get'](FootnotesTracker);this['listenTo'](_0x3d4d04,'outputTransformation',(_0x29b813,_0x2e0a05)=>{const _0x340259=Vg(_0xc6e7dd['createRangeIn'](_0x2e0a05['content']));if(!_0x340259['length'])return;const _0x13f26f=_0x592c1c['getFootnotes'](),_0x566336=_0x340259['reduce']((_0xce7803,_0x37a2a0)=>{const _0x3b1872=_0x13f26f['find'](_0x35d0e5=>_0x35d0e5['id']===_0x37a2a0);if(_0x3b1872){const _0x5d992b=_0xcc00b0['data']['toView'](_0x3b1872['definition'],{'isClipboardPipeline':!0x0}),_0x390176=_0xcc00b0['data']['htmlProcessor']['toData'](_0x5d992b);_0xce7803[_0x3b1872['id']]=_0x390176;}return _0xce7803;},Object['create'](null));_0x2e0a05['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x566336));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4d9d66}=this,{model:_0x2d77e4,plugins:_0x48450a}=_0x4d9d66,{view:_0x1a3836}=_0x4d9d66['editing'],_0x19cac4=_0x48450a['get'](_0x3c05db),_0x1d3194=_0x48450a['get'](FootnotesTracker),_0x32af8d=_0x4d9d66['config']['get']('footnotes.multiBlock');let _0x3ce145=null;this['listenTo'](_0x1a3836['document'],'clipboardInput',(_0xda8a02,_0x4b641d)=>{const _0x576391=_0x4b641d['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3ce145=_0x576391?JSON['parse'](_0x576391):null;}),this['listenTo'](_0x19cac4,'contentInsertion',(_0x34f9e2,_0x3d5428)=>{const _0x282536=_0x3d5428['sourceEditorId']===this['editor']['id'];_0x282536&&'drop'===_0x3d5428['method']||_0x2d77e4['change'](_0x2df8f0=>{let _0x10f6af=_0x1d3194['getFootnotesDefinitionsObjectElement']();const _0x302b77=!!_0x10f6af&&Array['from'](_0x2d77e4['document']['selection']['getSelectedBlocks']())['includes'](_0x10f6af);if(!_0x3ce145&&function(_0xff4621){for(const {item:_0x171d67}of _0xff4621)if(_0x171d67['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2d77e4['createRangeIn'](_0x3d5428['content']))&&(_0x3ce145=function(_0x3f9ed2,_0x1aed2b){const _0x17e02c=$g(_0x3f9ed2,_0x1aed2b);if(!_0x17e02c)return null;const _0x414469=Object['create'](null);for(const _0x457d5e of _0x17e02c['getChildren']())_0x457d5e['is']('element','footnoteDefinition')&&_0x457d5e['hasAttribute']('footnoteId')&&(_0x414469[_0x457d5e['getAttribute']('footnoteId')]=_0x3f9ed2['cloneElement'](_0x457d5e,!0x0));return Object['keys'](_0x414469)['length']?_0x414469:null;}(_0x2df8f0,_0x3d5428['content'])),(_0x10f6af&&!_0x302b77||!_0x10f6af&&!_0x3ce145)&&function(_0x47ba86,_0x11680e){const _0x34d782=[];for(const {item:_0x1b9e15}of _0x47ba86['createRangeIn'](_0x11680e))_0x1b9e15['is']('element','footnotesDefinitions')&&_0x34d782['push'](_0x1b9e15);for(const _0x11d7b7 of _0x34d782)_0x47ba86['remove'](_0x11d7b7);}(_0x2df8f0,_0x3d5428['content']),!_0x3ce145)return;const {selection:_0x1e44f9}=_0x2d77e4['document'],_0x3cbe68=_0x1e44f9['getFirstRange']()['root'];_0x10f6af&&!_0x302b77||(_0x10f6af=$g(_0x2df8f0,_0x3d5428['content']),_0x10f6af||=_0x1d3194['_insertEmptyFootnotesDefinitionsContainer'](_0x2df8f0,_0x3cbe68));const _0x27423d=Array['from'](_0x1e44f9['getRanges']())['flatMap'](Vg),_0x2ac807=function(_0x7651d3,_0x6a9cd7,_0x367c60){const _0x142004=Object['create'](null);for(const {item:_0x2a76c0}of _0x7651d3['createRangeIn'](_0x6a9cd7))if(_0x2a76c0['is']('element','footnoteRef')){const _0x2f7658=_0x2a76c0['getAttribute']('footnoteId');if(!_0x367c60(_0x2f7658))continue;_0x142004[_0x2f7658]||(_0x142004[_0x2f7658]=_0x5c5c0c()),_0x7651d3['setAttribute']('footnoteId',_0x142004[_0x2f7658],_0x2a76c0);}return _0x142004;}(_0x2df8f0,_0x3d5428['content'],_0x3e995c=>{if(!_0x282536)return!0x0;return!!_0x1d3194['getFootnote'](_0x3e995c)&&!_0x27423d['includes'](_0x3e995c);});for(const [_0x13271b,_0x40d558]of Object['entries'](_0x3ce145)){const _0x96377f=_0x2ac807[_0x13271b]||_0x13271b;let _0x5b2805;if('string'!=typeof _0x40d558)_0x5b2805=_0x40d558,_0x96377f!==_0x13271b&&_0x2df8f0['setAttribute']('footnoteId',_0x96377f,_0x5b2805);else{_0x5b2805=_0x2df8f0['createElement']('footnoteDefinition',{'footnoteId':_0x96377f});const _0x2ecac9=_0x4d9d66['data']['htmlProcessor']['toView'](_0x40d558);let _0x225eb6;if(_0x32af8d)_0x225eb6=_0x4d9d66['data']['toModel'](_0x2ecac9,_0x5b2805);else{_0x225eb6=_0x2df8f0['createElement']('footnoteInlineContent');const _0x2de3b1=_0x4d9d66['data']['toModel'](_0x2ecac9,_0x225eb6);_0x2df8f0['insert'](_0x2de3b1,_0x225eb6);}_0x2df8f0['append'](_0x225eb6,_0x5b2805);}_0x2df8f0['insert'](_0x5b2805,_0x10f6af,'end');}_0x3ce145=null;});});}}function $g(_0xe90f78,_0xed7253){for(const {item:_0x20fd07}of _0xe90f78['createRangeIn'](_0xed7253))if(_0x20fd07['is']('element','footnotesDefinitions'))return _0x20fd07;return null;}function Vg(_0x5bb1f3){const _0x1f3eda=new Set();for(const {item:_0x5cd69e}of _0x5bb1f3)_0x5cd69e['is']('element','footnoteRef')&&_0x1f3eda['add'](_0x5cd69e['getAttribute']('footnoteId'));return Array['from'](_0x1f3eda);}class FootnotesUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x126847}=this,{componentFactory:_0x27db44}=_0x126847['ui'];_0x27db44['add']('insertFootnote',Ug(_0x126847,_0x2e803a)),_0x27db44['add']('menuBar:insertFootnote',Ug(_0x126847,ot)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2bcc60=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39d928;for(const _0x32d4cd in _0x2bcc60){const _0x2c27c4=_0x32d4cd,_0x423bae=_0x2bcc60[_0x2c27c4];if('footnotesLicenseKeyValid'==_0x423bae||'footnotesLicenseKeyInvalid'==_0x423bae||'footnotesLicenseKeyExpired'==_0x423bae||'footnotesLicenseKeyDomainLimit'==_0x423bae||'footnotesLicenseKeyNotAllowed'==_0x423bae||'footnotesLicenseKeyEvaluationLimit'==_0x423bae||'footnotesLicenseKeyUsageLimit'==_0x423bae){delete _0x2bcc60[_0x2c27c4],_0x39d928=_0x423bae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x39d928&&_0x2bcc60['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x39d928&&_0x2bcc60['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x39d928&&_0x2bcc60['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x39d928&&_0x2bcc60['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x39d928&&_0x2bcc60['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x39d928&&_0x2bcc60['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Ug(_0x56e4b8,_0x42ac69){const _0x465dae=_0x56e4b8['commands']['get']('insertFootnote');return _0x291317=>{const {t:t}=_0x291317,_0x5d56b9=new _0x42ac69(_0x291317),_0x382a71=_0x5d56b9 instanceof ot;return _0x5d56b9['bind']('isEnabled')['to'](_0x465dae,'isEnabled'),_0x5d56b9['set']({'label':t(_0x382a71?'Footnote':'Insert\x20footnote'),'icon':_0x4514b7,'tooltip':!0x0}),_0x5d56b9['on']('execute',()=>{_0x465dae['execute'](),_0x56e4b8['editing']['view']['focus']();}),_0x5d56b9;};}class Footnotes extends _0x13517b{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 _0x15bad7{['refresh'](){const {editor:_0x11ed03}=this,_0x453967=_0x11ed03['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x453967,this['value']=_0x453967?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1e6c34}){const {editor:_0x4c86f8}=this,_0x489d59=_0x4c86f8['plugins']['get'](FootnotesTracker),_0x8ce31b=_0x489d59['getFootnotesDefinitionsObjectElement']();_0x8ce31b&&Bg['includes'](_0x1e6c34)&&_0x4c86f8['model']['change'](_0x37e4b1=>{_0x37e4b1['setAttribute']('footnotesListStyle',_0x1e6c34,_0x8ce31b),_0x489d59['_updateFootnotesCounters'](_0x37e4b1);});}}class FootnotesStartCommand extends _0x15bad7{['refresh'](){const {editor:_0xbf920e}=this,_0x293d4f=_0xbf920e['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x293d4f,this['value']=_0x293d4f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x569cfc}){const {editor:_0x1a2714}=this,_0xe5f44c=_0x1a2714['plugins']['get'](FootnotesTracker),_0x54e459=_0xe5f44c['getFootnotesDefinitionsObjectElement']();_0x54e459&&Number['isInteger'](_0x569cfc)&&_0x1a2714['model']['change'](_0x48814d=>{_0x48814d['setAttribute']('footnotesListStart',_0x569cfc,_0x54e459),_0xe5f44c['_updateFootnotesCounters'](_0x48814d);});}}class FootnotesPropertiesEditing extends _0x13517b{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15238f}=this;_0x15238f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x15238f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x15238f['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x15238f)),_0x15238f['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x15238f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3f1341}=this,{schema:_0x23030c}=_0x3f1341['model'];_0x23030c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x29b1d8}=this,{conversion:_0x30316b,model:_0x3ee265}=_0x29b1d8,{schema:_0x3a5083}=_0x3ee265;_0x30316b['for']('upcast')['add'](_0x41cc16=>{_0x41cc16['on']('element:ol',(_0x15c76d,_0x2cd648,_0x14022b)=>{const _0x3ea36d=_0x2cd648['viewItem'],_0x374895=_0x2cd648['modelCursor']?.['parent'];_0x3ea36d['hasClass']('footnotes-list')&&_0x374895?.['is']('element','footnotesDefinitions')&&(function(_0x1f8068,_0x48bbe7,_0x5198ba,_0x1bd1be){if(!_0x1bd1be['checkAttribute'](_0x48bbe7,'footnotesListStart'))return;let _0x571e34=0x1;const _0x525317=_0x5198ba['consumable']['consume'](_0x1f8068,{'attributes':'start'});if(_0x525317){const _0x213461=Number['parseInt'](_0x1f8068['getAttribute']('start'),0xa);Number['isNaN'](_0x213461)||(_0x571e34=_0x213461);}!_0x525317&&_0x48bbe7['hasAttribute']('footnotesListStart')||_0x5198ba['writer']['setAttribute']('footnotesListStart',_0x571e34,_0x48bbe7);}(_0x3ea36d,_0x374895,_0x14022b,_0x3a5083),function(_0x7798a,_0x1cc990,_0x321aa9,_0x309534){if(!_0x309534['checkAttribute'](_0x1cc990,'footnotesListStyle'))return;let _0x198c3a='decimal',_0x554038=!0x1;if(_0x321aa9['consumable']['consume'](_0x7798a,{'attributes':'type'})){const _0x18af77={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x7798a['getAttribute']('type')];_0x18af77&&(_0x198c3a=_0x18af77),_0x554038=!0x0;}_0x321aa9['consumable']['consume'](_0x7798a,{'styles':'list-style-type'})&&(_0x198c3a=function(_0x42e5b0){switch(_0x42e5b0){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x42e5b0;}}(_0x7798a['getStyle']('list-style-type')),_0x554038=!0x0),!_0x554038&&_0x1cc990['hasAttribute']('footnotesListStyle')||_0x321aa9['writer']['setAttribute']('footnotesListStyle',_0x198c3a,_0x1cc990);}(_0x3ea36d,_0x374895,_0x14022b,_0x3a5083));});}),_0x30316b['for']('downcast')['add'](_0x12728c=>{_0x12728c['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5b59b8,_0x3d8025,_0x2b81e7)=>{if(!_0x2b81e7['consumable']['consume'](_0x3d8025['item'],_0x5b59b8['name']))return;const _0xe718fa=Fg(_0x3d8025['item'],_0x2b81e7['mapper']),{attributeNewValue:_0x2a1582}=_0x3d8025;null==_0x2a1582||0x1===_0x2a1582?_0x2b81e7['writer']['removeAttribute']('start',_0xe718fa):_0x2b81e7['writer']['setAttribute']('start',String(_0x2a1582),_0xe718fa);}),_0x12728c['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5d7ded,_0x3df430,_0x2af685)=>{if(!_0x2af685['consumable']['consume'](_0x3df430['item'],_0x5d7ded['name']))return;const _0x5e8721=Fg(_0x3df430['item'],_0x2af685['mapper']),{attributeNewValue:_0x10d56c}=_0x3df430;_0x10d56c&&'decimal'!==_0x10d56c?_0x2af685['writer']['setStyle']('list-style-type',_0x10d56c,_0x5e8721):_0x2af685['writer']['removeStyle']('list-style-type',_0x5e8721);});});}['_definePostfixer'](){const {editor:_0x5c74d2}=this,{model:_0x186828}=_0x5c74d2,_0x3f2efa=_0x5c74d2['plugins']['get'](FootnotesTracker),_0x2119e4=this['_getDefaultListStyle'](),_0x454c56=this['_getDefaultStartIndex']();_0x186828['document']['registerPostFixer'](_0x2f4a03=>{const _0x29dfa0=_0x186828['document']['differ']['getChanges']();let _0x3718a5=!0x1;for(const _0x5edaa8 of _0x29dfa0){if('insert'!==_0x5edaa8['type']||'$text'===_0x5edaa8['name'])continue;const _0x405baa=_0x186828['createRangeOn'](_0x5edaa8['position']['nodeAfter']);for(const _0x295a65 of _0x405baa['getItems']())_0x295a65['is']('element','footnotesDefinitions')&&(!_0x295a65['hasAttribute']('footnotesListStart')&&_0x186828['schema']['checkAttribute'](_0x295a65,'footnotesListStart')&&(_0x2f4a03['setAttribute']('footnotesListStart',_0x454c56,_0x295a65),_0x3718a5=!0x0),!_0x295a65['hasAttribute']('footnotesListStyle')&&_0x186828['schema']['checkAttribute'](_0x295a65,'footnotesListStyle')&&(_0x2f4a03['setAttribute']('footnotesListStyle',_0x2119e4,_0x295a65),_0x3718a5=!0x0));}return _0x3718a5&&_0x3f2efa['_updateFootnotesCounters'](_0x2f4a03),_0x3718a5;});}['_defineFormatter'](){const {editor:_0x3170d6}=this;_0x3170d6['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x54bc49=>this['_formatFootnoteListValue'](_0x54bc49));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4b247f,value:_0x307f95,digits:_0x4c6a3e}){const _0x3ac592=_0x4b247f['getAttribute']('footnotesListStyle'),_0x284379=_0x4b247f['getAttribute']('footnotesListStart'),_0x4097b7=Math['floor'](_0x307f95)+(_0x284379??0x1)-0x1;switch(_0x3ac592){case'decimal-leading-zero':return function(_0x19e851,_0x43d2d8){return String(_0x19e851)['padStart'](_0x43d2d8,'0');}(_0x4097b7,Math['max'](0x2,_0x4c6a3e));case'lower-alpha':case'lower-latin':return jg(_0x4097b7,!0x1);case'upper-alpha':case'upper-latin':return jg(_0x4097b7,!0x0);case'lower-roman':return Gg(_0x4097b7,!0x1);case'upper-roman':return Gg(_0x4097b7,!0x0);default:return String(_0x4097b7);}}}function Fg(_0x102f55,_0x307a42){const _0x3a9fce=_0x307a42['toViewElement'](_0x102f55);return Array['from'](_0x3a9fce['getChildren']())['find'](_0xe4c0a=>_0xe4c0a['is']('element','ol')&&_0xe4c0a['hasClass']('footnotes-list'));}function jg(_0x5205f4,_0x51dc9c){let _0x21d133='',_0x2c9e73=_0x5205f4;for(;_0x2c9e73>0x0;){const _0xfd9b0b=(_0x2c9e73-0x1)%0x1a;_0x21d133=String['fromCharCode'](0x61+_0xfd9b0b)+_0x21d133,_0x2c9e73=Math['floor']((_0x2c9e73-0x1)/0x1a);}return _0x51dc9c?_0x21d133['toUpperCase']():_0x21d133;}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(_0x477842,_0x29a1e9){let _0x922ca3='',_0x362207=_0x477842;for(const {value:_0x397cbc,numeral:_0x1eb016}of Hg)for(;_0x362207>=_0x397cbc;)_0x922ca3+=_0x1eb016,_0x362207-=_0x397cbc;return _0x29a1e9?_0x922ca3:_0x922ca3['toLowerCase']();}class FootnotesDefinitionsPropertiesView extends _0x3989d4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2c5be9();['keystrokes']=new _0x5e251c();['focusables']=new vt();['focusCycler'];constructor(_0x25f701,{styleButtonViews:_0x579415,styleGridAriaLabel:_0x7cb9d1}){super(_0x25f701),(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'](_0x579415,_0x7cb9d1),[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 _0x3aa7ec of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3aa7ec['element']);$t({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4cdc9d['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 _0x4cab24=_0x16a7ab=>_0x16a7ab['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4cab24),this['keystrokes']['set']('arrowleft',_0x4cab24),this['keystrokes']['set']('arrowup',_0x4cab24),this['keystrokes']['set']('arrowdown',_0x4cab24);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x6569ad,_0x2fd72a){const _0x522aa3=new _0x3989d4(this['locale']);return _0x522aa3['children']=_0x522aa3['createCollection'](),_0x522aa3['children']['addMany'](_0x6569ad),_0x522aa3['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2fd72a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x522aa3['children']}),_0x522aa3['children']['delegate']('execute')['to'](this),_0x522aa3['focus']=function(){for(const _0x354728 of this['children'])if(_0x354728 instanceof _0x2e803a&&_0x354728['isOn'])return void _0x354728['focus']();this['children']['first']['focus']();},_0x522aa3['focusTracker']=new _0x2c5be9(),_0x522aa3['keystrokes']=new _0x5e251c(),_0x522aa3['render'](),_0x522aa3['keystrokes']['listenTo'](_0x522aa3['element']),this['children']['add'](_0x522aa3),_0x522aa3;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1ad372=this['_createStartIndexPropertyView'](),_0x4da9e1=[_0x1ad372],_0x16c401=new Vt(this['locale'],_0x4da9e1);return _0x16c401['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x16c401['buttonView']['bind']('isEnabled')['toMany'](_0x4da9e1,'isEnabled',(..._0x13be55)=>_0x13be55['some'](_0x5f59c4=>_0x5f59c4)),_0x16c401['buttonView']['on']('change:isEnabled',(_0x411c12,_0x38ad1d,_0x34418c)=>{_0x34418c||(_0x16c401['isCollapsed']=!0x0);}),this['children']['add'](_0x16c401),[_0x1ad372,_0x16c401];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5eefbb=new wt(this['locale'],Ut);return _0x5eefbb['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5eefbb['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5eefbb['fieldView']['on']('input',()=>{const _0x4945c1=_0x5eefbb['fieldView']['element'],_0x439065=_0x4945c1['valueAsNumber'];Number['isNaN'](_0x439065)?_0x5eefbb['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4945c1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x439065}):_0x5eefbb['errorText']=t(_0x439065<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5eefbb;}}class FootnotesPropertiesUI extends _0x13517b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[Dt,_0x2f3ac1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f8e32}=this,{componentFactory:_0x5278f8}=_0x2f8e32['ui'];_0x2f8e32['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5278f8['add']('footnotesStyle',function(_0x42d119){return _0x49fafa=>{const {t:t}=_0x49fafa,_0xafd690=_0x42d119['commands']['get']('footnotesStyle'),_0x325272=st(_0x49fafa),{buttonView:_0x3239dd}=_0x325272;return _0x325272['class']='ck-footnotes-styles-dropdown',_0x325272['bind']('isEnabled')['to'](_0xafd690,'isEnabled'),_0x3239dd['set']({'label':t('Footnotes\x20style'),'icon':_0x4514b7,'tooltip':!0x0}),_0x325272['once']('change:isOpen',()=>{const _0x6f7489=function({editor:_0x237d84,dropdownView:_0x5a6d1a}){const {t:t}=_0x237d84['locale'],_0x1e83fc=t('Footnotes\x20definitions\x20styles'),_0x5093f5=function(_0x306449){const t=_0x306449['locale']['t'],_0x5bc059=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2840f3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2676b4},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x35fdfc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x50a51a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2fb2d2},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5553a0}];return _0x5bc059['map'](function(_0x44a665){const _0xf303f7=_0x44a665['locale'];return({label:_0x1c23f1,icon:_0x4913c8,tooltip:_0x4e252a,style:_0x41f17b})=>{const _0x57dee6=_0x44a665['commands']['get']('footnotesStyle'),_0x498011=new _0x2e803a(_0xf303f7);return _0x498011['set']({'label':_0x1c23f1,'icon':_0x4913c8,'tooltip':_0x4e252a}),_0x498011['bind']('isOn')['to'](_0x57dee6,'value',_0x89aa27=>_0x89aa27===_0x41f17b),_0x498011['bind']('isEnabled')['to'](_0x57dee6,'isEnabled'),_0x498011['on']('execute',()=>{_0x44a665['execute']('footnotesStyle',{'value':_0x41f17b}),_0x44a665['editing']['view']['focus']();}),_0x498011;};}(_0x306449));}(_0x237d84),_0x806a1a=new FootnotesDefinitionsPropertiesView(_0x237d84['locale'],{'styleGridAriaLabel':_0x1e83fc,'styleButtonViews':_0x5093f5}),_0x2d687a=_0x237d84['commands']['get']('footnotesStart');return _0x806a1a['startIndexFieldView']['bind']('isEnabled')['to'](_0x2d687a),_0x806a1a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2d687a),_0x806a1a['on']('footnotesListStart',(_0x40c76c,_0x2ef332)=>{_0x237d84['execute']('footnotesStart',{'value':_0x2ef332['startIndex']});}),_0x806a1a['delegate']('execute')['to'](_0x5a6d1a),_0x806a1a;}({'editor':_0x42d119,'dropdownView':_0x325272});_0x325272['panelView']['children']['add'](_0x6f7489);}),_0x325272;};}(_0x2f8e32));}['afterInit'](){const {editor:_0x10b62c}=this,{t:t}=_0x10b62c['locale'],_0x4bd465=_0x10b62c['plugins']['get'](_0x2f3ac1),{defaultPositions:_0xf722ef}=ft;_0x4bd465['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x10b62c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xbbc27b=>{let _0x2a53b9=_0xbbc27b['getFirstPosition']()?.['parent'];return _0x2a53b9?.['is']('$text')&&(_0x2a53b9=_0x2a53b9['parent']),_0x2a53b9?.['is']('element')?_0x2a53b9['findAncestor'](Ng):null;},'positions':[_0xf722ef['southArrowNorth'],_0xf722ef['southArrowNorthMiddleWest'],_0xf722ef['southArrowNorthMiddleEast'],_0xf722ef['southArrowNorthWest'],_0xf722ef['southArrowNorthEast'],_0xf722ef['northArrowSouth'],_0xf722ef['northArrowSouthMiddleWest'],_0xf722ef['northArrowSouthMiddleEast'],_0xf722ef['northArrowSouthWest'],_0xf722ef['northArrowSouthEast'],_0xf722ef['viewportStickyNorth']]});}}class FootnotesProperties extends _0x13517b{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 _0x15bad7{constructor(_0x1142c2){super(_0x1142c2),this['value']=void 0x0,this['on']('change:isEnabled',(_0x1f8a24,_0x52e2e0,_0xd11faa)=>{_0xd11faa||this['reset']();}),this['on']('change:value',()=>_0x1142c2['commands']['get'](Xg)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x27ab9c=this['editor']['model'],_0xf391ae=_0x27ab9c['document']['selection'];return Object['fromEntries'](Array['from'](_0xf391ae['getAttributes']())['filter'](([_0x10abd9])=>_0x27ab9c['schema']['getAttributeProperties'](_0x10abd9)['isFormatting']));}}class PasteFormatCommand extends _0x15bad7{constructor(_0x1737b0){super(_0x1737b0),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x1737b0);}['execute'](_0x50fcae={}){const _0x10363f=this['editor']['model'],_0xd79ed7=_0x10363f['document']['selection'],_0x21b2b3=Array['from'](_0xd79ed7['getRanges']()),_0x24f731=_0xd79ed7['isCollapsed']?[this['_createRangeOnEntireWord'](_0x10363f,_0xd79ed7)]:_0x21b2b3;_0x10363f['change'](_0x207969=>{_0x207969['setSelection'](_0x24f731),this['_removeFormatCommand']['execute']();for(const _0x57d616 in _0x50fcae)for(const _0x33ec8f of _0x10363f['schema']['getValidRanges'](_0x24f731,_0x57d616))_0x207969['setAttribute'](_0x57d616,_0x50fcae[_0x57d616],_0x33ec8f);_0x207969['setSelection'](_0x21b2b3);});}['_createRangeOnEntireWord'](_0x3add55,_0x3cab20){const _0x1c7c0a=_0x3add55['createSelection'](_0x3cab20);_0x3add55['modifySelection'](_0x1c7c0a,{'unit':'word','direction':'backward'});const _0x59eb63=_0x1c7c0a['getFirstPosition']();_0x3add55['modifySelection'](_0x1c7c0a,{'unit':'word','direction':'forward'});const _0x39a8c1=_0x1c7c0a['getLastPosition']();return _0x3add55['createRange'](_0x59eb63,_0x39a8c1);}}class RemoveFormatCommandAlias extends _0x15bad7{['execute'](){const _0x5ab10f=this['editor']['model'],_0x19cf68=_0x5ab10f['schema'];_0x5ab10f['change'](_0x2a60e8=>{for(const _0x4d1fcf of this['_getFormattingItems'](_0x5ab10f['document']['selection'],_0x19cf68))if(_0x4d1fcf['is']('selection')){for(const _0x5e41ba of this['_getFormattingAttributes'](_0x4d1fcf,_0x19cf68))_0x2a60e8['removeSelectionAttribute'](_0x5e41ba);}else{const _0x565e9d=_0x2a60e8['createRangeOn'](_0x4d1fcf);for(const _0x14e2e5 of this['_getFormattingAttributes'](_0x4d1fcf,_0x19cf68))_0x2a60e8['removeAttribute'](_0x14e2e5,_0x565e9d);}});}*['_getFormattingItems'](_0x29da17,_0x5e893c){const _0x5d140b=_0x437b0f=>!!_0x556601(this['_getFormattingAttributes'](_0x437b0f,_0x5e893c));for(const _0x855033 of _0x29da17['getRanges']())for(const _0x5bde65 of _0x855033['getItems']())!_0x5e893c['isBlock'](_0x5bde65)&&_0x5d140b(_0x5bde65)&&(yield _0x5bde65);for(const _0x75626e of _0x29da17['getSelectedBlocks']())_0x5d140b(_0x75626e)&&(yield _0x75626e);_0x5d140b(_0x29da17)&&(yield _0x29da17);}*['_getFormattingAttributes'](_0x44f82b,_0x3e9fb6){for(const [_0x18edd5]of _0x44f82b['getAttributes']()){const _0x3009cc=_0x3e9fb6['getAttributeProperties'](_0x18edd5);_0x3009cc&&_0x3009cc['isFormatting']&&(yield _0x18edd5);}}}class FormatPainterEditing extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b8ca7=this['editor'];_0x3b8ca7['commands']['add'](Zg,new CopyFormatCommand(_0x3b8ca7)),_0x3b8ca7['commands']['add'](Xg,new PasteFormatCommand(_0x3b8ca7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c6896=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5da67f;for(const _0x43beef in _0x2c6896){const _0x3f8a79=_0x43beef,_0xbe81f1=_0x2c6896[_0x3f8a79];if('formatPainterLicenseKeyValid'==_0xbe81f1||'formatPainterLicenseKeyInvalid'==_0xbe81f1||'formatPainterLicenseKeyExpired'==_0xbe81f1||'formatPainterLicenseKeyDomainLimit'==_0xbe81f1||'formatPainterLicenseKeyNotAllowed'==_0xbe81f1||'formatPainterLicenseKeyEvaluationLimit'==_0xbe81f1||'formatPainterLicenseKeyUsageLimit'==_0xbe81f1){delete _0x2c6896[_0x3f8a79],_0x5da67f=_0xbe81f1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5da67f&&_0x2c6896['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5da67f&&_0x2c6896['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5da67f&&_0x2c6896['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5da67f&&_0x2c6896['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5da67f&&_0x2c6896['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5da67f&&_0x2c6896['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Wg(_0x292f51,_0x27d6b4){const t=_0x292f51['t'];switch(_0x27d6b4){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 _0x27d6b4;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0xa9fff4(_0x13517b){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x517801=this['editor'];_0x517801['editing']['view']['addObserver'](_0x440095),_0x517801['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Wg(_0x517801['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':Wg(_0x517801['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x517801['ui']['componentFactory']['add']('formatPainter',_0x1dfa29=>{const _0x1dd703=st(_0x1dfa29,Bt),_0x380aba=_0x517801['commands']['get'](Zg);_0x1dd703['buttonView']['set']({'label':Wg(_0x517801['locale'],'Paint\x20formatting'),'icon':_0x16bc6a,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1dd703['class']='ck-format-painter-dropdown',_0x380aba&&(_0x1dd703['bind']('isEnabled')['to'](_0x380aba,'isEnabled'),this['listenTo'](_0x380aba,'change:isEnabled',(_0x470089,_0xcc97b5,_0x111c42)=>{_0x111c42||this['_finishPainting']();}),_0x1dd703['buttonView']['bind']('isOn')['to'](_0x380aba,'value',_0x5d3993=>!!_0x5d3993),this['listenTo'](_0x517801,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x380aba,'change:value',(_0xd7d10b,_0x592225,_0x1ed8d6)=>{this['_toggleSpecialCursor'](!!_0x1ed8d6);}));const _0x370308=new pt({'withText':!0x0,'label':Wg(_0x517801['locale'],'Continuous\x20painting'),'tooltip':Wg(_0x517801['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});gt(_0x1dd703,new _0x4711ed([{'type':'switchbutton','model':_0x370308}]),{'role':'menu'});const _0x135919=()=>{this['_copyFormatting'](),this['listenTo'](_0x4cdc9d['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x370308['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1dd703,'execute',()=>{_0x370308['isOn']=!_0x370308['isOn'];}),this['listenTo'](_0x1dd703['buttonView'],'execute',()=>{_0x517801['editing']['view']['focus'](),_0x1dd703['buttonView']['isOn']?this['_finishPainting']():_0x135919();}),_0x517801['keystrokes']['set']('Ctrl+Alt+C',(_0x44a643,_0x564584)=>{_0x135919(),_0x370308['isOn']=!0x0,_0x564584();},{'priority':'high'}),_0x517801['keystrokes']['set']('Ctrl+Alt+V',(_0x1d6e4f,_0x34ae80)=>{_0x1dd703['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x370308['isOn']||this['_finishPainting'](),_0x34ae80());},{'priority':'high'}),_0x517801['keystrokes']['set']('Esc',(_0x342ad6,_0xdb75e0)=>{_0x1dd703['buttonView']['isOn']&&(_0x370308['isOn']=!0x1,this['_finishPainting'](),_0xdb75e0());}),_0x1dd703;});}['afterInit'](){!async function(_0x1baa3c){const _0x26b15b=_0x24c222([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]),_0x2e3d30=0x4597e011,_0x237faa=0x45906fd1^_0x2e3d30,_0x4583be=window[_0x24c222([0x44,0x61,0x74,0x65])][_0x24c222([0x6e,0x6f,0x77])](),_0x35e10b=_0x1baa3c[_0x24c222([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50df2b=new window[(_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572d5f=>{_0x35e10b[_0x24c222([0x6f,0x6e,0x63,0x65])](_0x24c222([0x72,0x65,0x61,0x64,0x79]),_0x572d5f);}),_0x43173a={[_0x24c222([0x6b,0x74,0x79])]:_0x24c222([0x45,0x43]),[_0x24c222([0x75,0x73,0x65])]:_0x24c222([0x73,0x69,0x67]),[_0x24c222([0x63,0x72,0x76])]:_0x24c222([0x50,0x2d,0x32,0x35,0x36]),[_0x24c222([0x78])]:_0x24c222([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]),[_0x24c222([0x79])]:_0x24c222([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]),[_0x24c222([0x61,0x6c,0x67])]:_0x24c222([0x45,0x53,0x32,0x35,0x36])},_0x52049=_0x35e10b[_0x24c222([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24c222([0x67,0x65,0x74])](_0x24c222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e27e1(){let _0x5862af,_0x180b4e=null,_0xddaed1=null;try{if(_0x52049==_0x24c222([0x47,0x50,0x4c]))return _0x24c222([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5862af=_0x5b794d(),!_0x5862af)return _0x24c222([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5862af[_0x24c222([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xddaed1=_0x217b0b(_0x5862af[_0x24c222([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5862af[_0x24c222([0x6a,0x74,0x69])])),await _0x5472b9()?_0x4dcb57()?_0x1362d8()?_0x24c222([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x173ead()?(_0x5862af[_0x24c222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24c222([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x180b4e=_0x5d15d8(_0x24c222([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33d9a8()):_0x24c222([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24c222([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24c222([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24c222([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1362d8(){const _0x1d18d7=[_0x24c222([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24c222([0x74,0x72,0x69,0x61,0x6c])][_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5862af[_0x24c222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4583be/0x3e8:0xe10*_0x237faa;return _0x5862af[_0x24c222([0x65,0x78,0x70])]<_0x1d18d7;}function _0x4dcb57(){const _0x3fe0c7=_0x5862af[_0x24c222([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fe0c7&&(!!_0x3fe0c7[_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c222([0x2a]))||(!!_0x3fe0c7[_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c222([0x46,0x50]))||(!!_0x3fe0c7[_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c222([0x50,0x50]))||!(!_0x3fe0c7[_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c222([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2d2643()))));}function _0x173ead(){const _0xa1562=_0x5862af[_0x24c222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa1562||0x0==_0xa1562[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50b8cb}=new URL(window[_0x24c222([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa1562[_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50b8cb))return!0x0;const _0x39d499=_0x50b8cb[_0x24c222([0x73,0x70,0x6c,0x69,0x74])](_0x24c222([0x2e]));return _0xa1562[_0x24c222([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b57ce=>_0x5b57ce[_0x24c222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c222([0x2a])))[_0x24c222([0x6d,0x61,0x70])](_0x5c910f=>_0x5c910f[_0x24c222([0x73,0x70,0x6c,0x69,0x74])](_0x24c222([0x2e])))[_0x24c222([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ab081=>_0x2ab081[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39d499[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24c222([0x6d,0x61,0x70])](_0x3d52dd=>Array(_0x39d499[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d52dd[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24c222([0x66,0x69,0x6c,0x6c])](_0x3d52dd[0x0]===_0x24c222([0x2a])?_0x24c222([0x2a]):'')[_0x24c222([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d52dd))[_0x24c222([0x73,0x6f,0x6d,0x65])](_0x4f0cfb=>_0x39d499[_0x24c222([0x65,0x76,0x65,0x72,0x79])]((_0x365988,_0x4bef84)=>_0x4f0cfb[_0x4bef84]===_0x365988||_0x4f0cfb[_0x4bef84]===_0x24c222([0x2a])));}function _0x33d9a8(){return _0x180b4e&&_0xddaed1?new window[(_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45f632,_0x3bacad)=>{_0x180b4e[_0x24c222([0x74,0x68,0x65,0x6e])](_0x45f632,_0x3bacad),_0xddaed1[_0x24c222([0x74,0x68,0x65,0x6e])](_0x5ac2c2=>{_0x5ac2c2!=_0x24c222([0x56,0x61,0x6c,0x69,0x64])&&_0x45f632(_0x5ac2c2);},_0x3bacad);}):_0x180b4e||_0xddaed1||_0x24c222([0x56,0x61,0x6c,0x69,0x64]);}}function _0x217b0b(_0x20064f,_0x2e4a9c){return new window[(_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22f92e=>{if(_0x14d965())return _0x22f92e(_0x24c222([0x56,0x61,0x6c,0x69,0x64]));_0x591ff8(),_0x35e10b[_0x24c222([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24c222([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f47dc=!0x1;const _0x4d9d25=_0x5c5c0c();function _0x363dcb(_0x2fb25a){return!!_0x2fb25a&&(typeof _0x2fb25a===_0x24c222([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fb25a===_0x24c222([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fb25a[_0x24c222([0x74,0x68,0x65,0x6e])]===_0x24c222([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fb25a[_0x24c222([0x63,0x61,0x74,0x63,0x68])]===_0x24c222([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xefe83c(_0x4bb773){_0x1e52d0(_0x4bb773)[_0x24c222([0x74,0x68,0x65,0x6e])](_0x252307=>{if(!_0x252307||_0x252307[_0x24c222([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24c222([0x6f,0x6b]))return _0x24c222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27e122(_0x3ec1ab(_0x4d9d25+_0x2e4a9c))!=_0x252307[_0x24c222([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24c222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24c222([0x56,0x61,0x6c,0x69,0x64]);})[_0x24c222([0x74,0x68,0x65,0x6e])](_0x4d1314=>(_0x43775d(),_0x4d1314),()=>{const _0xabf001=_0x5b8b4b();return null==_0xabf001?(_0x43775d(),_0x24c222([0x56,0x61,0x6c,0x69,0x64])):_0x24c222(_0x4583be-_0xabf001>(0x619b6411^_0x2e3d30)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24c222([0x74,0x68,0x65,0x6e])](_0x22f92e)[_0x24c222([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22f92e(_0x24c222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48fb37=0x45a10e91^_0x2e3d30;function _0x43775d(){const _0x47c698=_0x24c222([0x6c,0x6c,0x63,0x74,0x2d])+_0x27e122(_0x3ec1ab(_0x20064f)),_0x5a5305=_0x905256(_0x27e122(window[_0x24c222([0x4d,0x61,0x74,0x68])][_0x24c222([0x63,0x65,0x69,0x6c])](_0x4583be/_0x48fb37)));window[_0x24c222([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24c222([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47c698,_0x5a5305);}function _0x5b8b4b(){const _0x154e63=_0x24c222([0x6c,0x6c,0x63,0x74,0x2d])+_0x27e122(_0x3ec1ab(_0x20064f)),_0x1c8d24=window[_0x24c222([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24c222([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x154e63);return _0x1c8d24?window[_0x24c222([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x905256(_0x1c8d24),0x10)*_0x48fb37:null;}function _0x1e52d0(_0x25cdd2){return new window[(_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xea5095,_0x38189f)=>{_0x25cdd2[_0x24c222([0x74,0x68,0x65,0x6e])](_0xea5095,_0x38189f),window[_0x24c222([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38189f,0x459634d1^_0x2e3d30);});}}_0x35e10b[_0x24c222([0x6f,0x6e])](_0x24c222([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x74555b,_0x9bf4da)=>{if(_0x9bf4da[0x0]!=_0x20064f)return _0x22f92e(_0x24c222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9bf4da[0x1]={..._0x9bf4da[0x1],[_0x24c222([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d9d25};},{[_0x24c222([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24c222([0x68,0x69,0x67,0x68])}),_0x35e10b[_0x24c222([0x6f,0x6e])](_0x24c222([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31ba63=>{_0x363dcb(_0x31ba63[_0x24c222([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f47dc=!0x0,_0xefe83c(_0x31ba63[_0x24c222([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24c222([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24c222([0x6c,0x6f,0x77])}),_0x50df2b[_0x24c222([0x74,0x68,0x65,0x6e])](()=>{_0x4f47dc||_0x22f92e(_0x24c222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x14d965(){return _0x35e10b[_0x24c222([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24c222([0x76,0x69,0x65,0x77])][_0x24c222([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24c222([0x61,0x75,0x74,0x6f]);}function _0x591ff8(){_0x35e10b[_0x24c222([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24c222([0x76,0x69,0x65,0x77])][_0x24c222([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24c222([0x61,0x75,0x74,0x6f]);}}function _0x5d15d8(_0x39a2db){const _0x9d24a2=[new window[(_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c35bb=>setTimeout(_0x4c35bb,0x459ededd^_0x2e3d30)),_0x50df2b[_0x24c222([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51adcc=>{let _0x369a9c=0x0;_0x35e10b[_0x24c222([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c222([0x6f,0x6e])](_0x24c222([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1017e2,_0xf22c99)=>{_0xf22c99[0x0][_0x24c222([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x369a9c++,_0x369a9c==(0x4597e5f9^_0x2e3d30)&&(_0x51adcc(),_0x1017e2[_0x24c222([0x6f,0x66,0x66])]());});}))];return window[_0x24c222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24c222([0x72,0x61,0x63,0x65])](_0x9d24a2)[_0x24c222([0x74,0x68,0x65,0x6e])](()=>_0x39a2db);}async function _0x166362(){await _0x50df2b,_0x35e10b[_0x24c222([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c222([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x273435,_0x35e10b[_0x24c222([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c222([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x273435,_0x35e10b[_0x24c222([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24c222([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d2643(){return window[_0x24c222([0x67,0x6c,0x6f,0x62])]&&window[_0x24c222([0x67,0x6c,0x6f,0x62])][_0x24c222([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x14f5dc(_0x4621ae){const _0x3ac07e=_0xc8f58b();_0x35e10b[_0x3ac07e]=_0x24c222([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4621ae,_0x4621ae!=_0x24c222([0x56,0x61,0x6c,0x69,0x64])&&_0x166362();}function _0xc8f58b(){const _0x140351=window[_0x24c222([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24c222([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24c222([0x6e,0x6f,0x77])]())[_0x24c222([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24c222([0x2e]),'');let _0x2e4030=_0x24c222([0x51]);for(let _0x2b86b1=0x0;_0x2b86b1<_0x140351[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b86b1+=0x2){let _0x57039e=window[_0x24c222([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x140351[_0x24c222([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b86b1,_0x2b86b1+0x2));_0x57039e>=_0x26b15b[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57039e-=_0x26b15b[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e4030+=_0x26b15b[_0x57039e];}return _0x2e4030;}function _0x5b794d(){const _0x56fa74=_0x52049[_0x24c222([0x73,0x70,0x6c,0x69,0x74])](_0x24c222([0x2e]));if(0x3!=_0x56fa74[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9df740(_0x56fa74[0x1]);function _0x9df740(_0x5b6f17){const _0x3e68e2=_0x54fb21(_0x5b6f17);return _0x3e68e2&&_0x293fe9()?_0x3e68e2:null;function _0x293fe9(){const _0x21aa3f=_0x3e68e2[_0x24c222([0x6a,0x74,0x69])],_0x5c361d=window[_0x24c222([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21aa3f[_0x24c222([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21aa3f[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc487d4={..._0x3e68e2,[_0x24c222([0x6a,0x74,0x69])]:_0x21aa3f[_0x24c222([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21aa3f[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc487d4[_0x24c222([0x76,0x63])],_0x3ec1ab(_0xc487d4)==_0x5c361d;}}}async function _0x5472b9(){let _0x219821=!0x0;try{const _0x4e938d=_0x52049[_0x24c222([0x73,0x70,0x6c,0x69,0x74])](_0x24c222([0x2e])),[_0x12a6e0,_0x59b0fd,_0x4e4213]=_0x4e938d;return _0x418e99(_0x12a6e0),await _0x13e187(_0x12a6e0,_0x59b0fd,_0x4e4213),_0x219821;}catch{return!0x1;}function _0x418e99(_0x326a74){const _0x23523d=_0x54fb21(_0x326a74);_0x23523d&&_0x23523d[_0x24c222([0x61,0x6c,0x67])]==_0x24c222([0x45,0x53,0x32,0x35,0x36])||(_0x219821=!0x1);}async function _0x13e187(_0x4d056d,_0x572d1a,_0x48e1d2){const _0x2b5667=window[_0x24c222([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24c222([0x66,0x72,0x6f,0x6d])](_0xe54b30(_0x48e1d2),_0x39000d=>_0x39000d[_0x24c222([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x869488=new window[(_0x24c222([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24c222([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d056d+_0x24c222([0x2e])+_0x572d1a),_0x18a0be=window[_0x24c222([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24c222([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18a0be)return;const _0x78ba13=await _0x18a0be[_0x24c222([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24c222([0x6a,0x77,0x6b]),_0x43173a,{[_0x24c222([0x6e,0x61,0x6d,0x65])]:_0x24c222([0x45,0x43,0x44,0x53,0x41]),[_0x24c222([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24c222([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24c222([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18a0be[_0x24c222([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24c222([0x6e,0x61,0x6d,0x65])]:_0x24c222([0x45,0x43,0x44,0x53,0x41]),[_0x24c222([0x68,0x61,0x73,0x68])]:{[_0x24c222([0x6e,0x61,0x6d,0x65])]:_0x24c222([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x78ba13,_0x2b5667,_0x869488)||(_0x219821=!0x1);}}function _0x54fb21(_0x1bbd8c){return _0x1bbd8c[_0x24c222([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24c222([0x65,0x79]))?JSON[_0x24c222([0x70,0x61,0x72,0x73,0x65])](_0xe54b30(_0x1bbd8c)):null;}function _0xe54b30(_0x3f471a){return window[_0x24c222([0x61,0x74,0x6f,0x62])](_0x3f471a[_0x24c222([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24c222([0x2b]))[_0x24c222([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24c222([0x2f])));}function _0x3ec1ab(_0x42a453){let _0x16852f=0x1505;function _0x1d4413(_0x5c00e6){for(let _0x41ab19=0x0;_0x41ab19<_0x5c00e6[_0x24c222([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41ab19++){const _0x3cf032=_0x5c00e6[_0x24c222([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41ab19);_0x16852f=(_0x16852f<<0x5)+_0x16852f+_0x3cf032,_0x16852f&=_0x16852f;}}function _0x33118d(_0x553d4b){Array[_0x24c222([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x553d4b)?_0x553d4b[_0x24c222([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33118d):_0x553d4b&&typeof _0x553d4b==_0x24c222([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24c222([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x553d4b)[_0x24c222([0x73,0x6f,0x72,0x74])]()[_0x24c222([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e34f,_0x257e9d])=>{_0x1d4413(_0x10e34f),_0x33118d(_0x257e9d);}):_0x1d4413(window[_0x24c222([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x553d4b));}return _0x33118d(_0x42a453),_0x16852f>>>0x0;}function _0x27e122(_0x423c30){return _0x423c30[_0x24c222([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24c222([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24c222([0x30]));}function _0x905256(_0x5a8ed5){return _0x5a8ed5[_0x24c222([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24c222([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24c222([0x6a,0x6f,0x69,0x6e])]('');}function _0x273435(){}function _0x24c222(_0x2006c0){return _0x2006c0['map'](_0x4d2975=>String['fromCharCode'](_0x4d2975))['join']('');}_0x14f5dc(await _0x1e27e1());}(this);}['_toggleSpecialCursor'](_0x148551){this['editor']['editing']['view']['change'](_0x1e770c=>{for(const _0xa1faa5 of this['editor']['editing']['view']['document']['roots'])_0x148551?_0x1e770c['addClass'](qg,_0xa1faa5):_0x1e770c['removeClass'](qg,_0xa1faa5);});}['_copyFormatting'](){const {editor:_0x11d466}=this;_0x11d466['execute'](Zg),_0x11d466['ui']['ariaLiveAnnouncer']['announce'](Wg(_0x11d466['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3faa6d}=this,_0x4e2127=_0x3faa6d['commands']['get'](Zg)['value'];_0x3faa6d['execute'](Xg,_0x4e2127),_0x3faa6d['ui']['ariaLiveAnnouncer']['announce'](Wg(_0x3faa6d['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](Zg)['reset'](),this['stopListening'](_0x4cdc9d['window']['document'],'mouseup');}}class FormatPainter extends _0x13517b{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function zg(_0x3541d5,_0x28e257){const t=_0x3541d5['t'];switch(_0x28e257){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 _0x28e257;}}class ImportWordUI extends _0x13517b{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x57cddf=this['editor'];_0x57cddf['ui']['componentFactory']['add']('importWord',()=>{const _0x188f1c=this['_createButton'](Tt),_0x5f5ac3=_0x57cddf['commands']['get']('importWord');return _0x188f1c['bind']('isOn')['to'](_0x5f5ac3,'isBusy'),_0x188f1c['tooltip']=!0x0,_0x188f1c;}),_0x57cddf['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](Ft));}['_createButton'](_0x38829f){const _0x183cb8=this['editor'],_0x5607b8=_0x183cb8['commands']['get']('importWord'),_0x5a25c4=new _0x38829f(_0x183cb8['locale']),_0x1a267a=new _0x4341e6();return _0x5a25c4['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x5a25c4['set']({'icon':_0x237197}),_0x5a25c4['bind']('isEnabled')['to'](_0x5607b8),_0x5a25c4['bind']('label')['to'](_0x5607b8,'isBusy',_0x486d85=>zg(_0x183cb8['locale'],_0x486d85?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1a267a['bind']('isVisible')['to'](_0x5607b8,'isBusy'),_0x5a25c4['iconView']['bind']('isVisible')['to'](_0x5607b8,'isBusy',_0x4901eb=>!_0x4901eb),_0x5a25c4['children']['add'](_0x1a267a),_0x5a25c4['on']('done',(_0x3329f4,_0x42ac0f)=>{_0x183cb8['execute']('importWord',_0x42ac0f[0x0],{}),_0x183cb8['editing']['view']['focus']();}),_0x5a25c4;}}class ImportWordCommand extends _0x15bad7{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x116f69){super(_0x116f69),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4a2dce,_0x62e3e0)=>{const _0x323522=new DataTransfer();_0x323522['setData']('text/html',_0x62e3e0['html']);const _0x282843=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x47474e=>{this['_importMarker']['stopListening'](),_0x47474e['setSelection'](_0x282843),_0x116f69['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x323522});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x565f55,_0x5d568e={}){if(this['isBusy'])return Promise['resolve']();const _0x30d176=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x48e18e,suffix:_0x3de63}=this['editor']['config']['get']('mergeFields');_0x5d568e['merge_fields']={'prefix':_0x48e18e,'suffix':_0x3de63};}const _0x3472e0={'url':_0x30d176['converterUrl'],'file':_0x565f55,'serviceConfig':{..._0x5d568e,'formatting':_0x30d176['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3472e0)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x50f534=this['editor']['model'],_0x27c996=_0x50f534['schema'],_0x3b80d2=_0x50f534['document']['selection'],_0x306a27=_0x556601(_0x3b80d2['getSelectedBlocks']());return!!_0x306a27&&_0x27c996['checkChild'](_0x306a27['parent'],'paragraph');}['_prepareForImport'](){const _0xc42983=this['editor'],_0x4a78ab=_0xc42983['model'],_0x4d9f5a=_0x4a78ab['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0xc42983['model']['createBatch']({'isUndoable':!0x0}),_0x4a78ab['enqueueChange'](this['_undoStepBatch'],_0x205fd0=>{_0x4d9f5a['isCollapsed']||_0x4a78ab['deleteContent'](_0x4d9f5a,{'leaveUnmerged':!0x0});const _0x646626=_0x4d9f5a['getFirstPosition'](),_0x295fde=_0x556601(_0x4d9f5a['getSelectedBlocks']());let _0x59ff0b;_0x59ff0b=_0x295fde['is']('element','paragraph')&&_0x295fde['isEmpty']?_0x646626:_0x646626['isAtStart']?_0x4a78ab['createPositionBefore'](_0x295fde):_0x646626['isAtEnd']?_0x4a78ab['createPositionAfter'](_0x295fde):_0x205fd0['split'](_0x646626)['position'],this['_importMarker']=_0x205fd0['addMarker']('importWord:'+_0x5c5c0c(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2ec072(_0x59ff0b)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x5bc3ee=this['editor']['model'];_0x5bc3ee['markers']['has'](this['_importMarker'])&&_0x5bc3ee['enqueueChange'](this['_undoStepBatch'],_0x6434b4=>{_0x6434b4['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x320f3b,file:_0x3728c9,serviceConfig:_0x197b5b}){const _0x1e9bba=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x46b9ea=new FormData();_0x46b9ea['set']('config',JSON['stringify'](_0x197b5b)),_0x46b9ea['set']('file',_0x3728c9);const _0x37d8b7={'method':'POST','headers':{},'body':_0x46b9ea,'signal':this['_abortController']['signal']};return _0x1e9bba&&(_0x37d8b7['headers']['Authorization']=_0x1e9bba['value']),fetch(_0x320f3b,_0x37d8b7);}['_handleImportResponse'](_0x4455ef){return _0x4455ef['ok']?_0x4455ef['json']()['then'](_0x2fc104=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x2fc104,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0xd86012('import-word-plugin-import-cancelled');const _0x1ea9bf=this['editor'],_0xd6bb1d=zg(_0x1ea9bf['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1ea9bf['plugins']['get']('Notification')['showWarning'](_0xd6bb1d),_0x4b942a('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x13517b{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Qt,_0x3c05db,'CloudServices'];}constructor(_0x428cab){super(_0x428cab),this['_token']=null;}async['init'](){const _0x228767=this['editor'];_0x228767['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x228767['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x228767['commands']['add']('importWord',new ImportWordCommand(_0x228767));const {tokenUrl:_0x4cffa2}=_0x228767['config']['get']('importWord');if(_0x4cffa2){const {tokenUrl:_0xe52278}=_0x228767['config']['get']('cloudServices')||{};this['_token']=_0x4cffa2===_0xe52278?_0x228767['plugins']['get']('CloudServices')['token']:await _0x228767['plugins']['get']('CloudServices')['registerTokenUrl'](_0x4cffa2);}}['getToken'](){return this['_token'];}}class ImportWord extends _0x13517b{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends _0x15bad7{['refresh'](){const _0x2acaed=this['editor']['model']['document'],_0x39c361=_0x556601(_0x2acaed['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x39c361)&&this['_canHaveLineHeight'](_0x39c361),this['value']=this['isEnabled']&&_0x39c361['getAttribute']('lineHeight');}['execute'](_0x4aaf04={}){const _0x53223e=this['editor']['model'],_0x434de9=_0x53223e['document']['selection'],_0x57a090=_0x4aaf04['value'];_0x53223e['change'](_0x3e2b23=>{const _0x3c1f90=Array['from'](_0x434de9['getSelectedBlocks']())['filter'](_0x19b04e=>this['_canHaveLineHeight'](_0x19b04e));for(const _0x10eadc of _0x3c1f90)_0x57a090?_0x3e2b23['setAttribute']('lineHeight',_0x57a090,_0x10eadc):_0x3e2b23['removeAttribute']('lineHeight',_0x10eadc);});}['_canHaveLineHeight'](_0x45536d){return this['editor']['model']['schema']['checkAttribute'](_0x45536d,'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(_0x59eded){return'string'==typeof _0x59eded&&'default'===_0x59eded['toLowerCase']();}function Jg(_0x4a76db){return _0x4a76db['options']['map'](_0x3d6f11=>{return Kg(_0x3d6f11)?{'title':String(_0x4a76db['defaultValue']),'model':'default'}:('number'==typeof _0x3d6f11&&(_0x3d6f11=String(_0x3d6f11)),'string'!=typeof _0x3d6f11?_0x3d6f11:parseFloat(_0x3d6f11)?{'title':_0x3d6f11,'model':_0x3d6f11,'view':{'name':'span','styles':{'line-height':_0x3d6f11}}}:'string'==typeof(_0x6128dc=_0x3d6f11)?Yg[_0x6128dc]:Yg[_0x6128dc['model']]);var _0x6128dc;})['filter'](_0x771c85=>void 0x0!==_0x771c85);}class LineHeightTodoListIntegration extends _0x13517b{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x3bc4fa,conversion:_0x60c91}=this['editor'];if(!_0x3bc4fa['has']('ListEditing')||!_0x3bc4fa['has']('TodoListEditing'))return;_0x3bc4fa['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1edda5,_0xdbc357,_0x3a564d,_0x36e9ec,_0x5a5c06){'todo'==_0x5a5c06['getAttribute']('listType')&&_0xdbc357&&(_0x1edda5['addClass']('ck-list-marker-line-height',_0x3a564d),_0x1edda5['setStyle']('--ck-content-list-marker-line-height',_0xdbc357,_0x3a564d));}}),_0x60c91['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x60c91['for']('upcast')['add'](_0x652389=>{_0x652389['on']('element:li',function(_0xaffbf){const _0x2712fe=new _0x3ed30c(_0xaffbf);return(_0x4ed3fb,_0x3b53db,_0x454024)=>{const _0x4add9f=_0x2712fe['match'](_0x3b53db['viewItem']);if(!_0x4add9f)return;const _0x265778=_0x4add9f['match'];_0x265778['name']=!0x1,_0x454024['consumable']['consume'](_0x3b53db['viewItem'],_0x265778);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x13517b{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37a3ed){super(_0x37a3ed),_0x37a3ed['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3833fe=this['editor'];this['_validateConfig'](),_0x3833fe['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3833fe['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3833fe['commands']['add']('lineHeight',new LineHeightCommand(_0x3833fe)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x25308b){const _0x19b1f7=_0x4a747b([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]),_0x5c26c9=0x45ddd215,_0x5bf58e=0x45da5dd5^_0x5c26c9,_0x4f52e4=window[_0x4a747b([0x44,0x61,0x74,0x65])][_0x4a747b([0x6e,0x6f,0x77])](),_0x492637=_0x25308b[_0x4a747b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5083a7=new window[(_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44dad3=>{_0x492637[_0x4a747b([0x6f,0x6e,0x63,0x65])](_0x4a747b([0x72,0x65,0x61,0x64,0x79]),_0x44dad3);}),_0x667a16={[_0x4a747b([0x6b,0x74,0x79])]:_0x4a747b([0x45,0x43]),[_0x4a747b([0x75,0x73,0x65])]:_0x4a747b([0x73,0x69,0x67]),[_0x4a747b([0x63,0x72,0x76])]:_0x4a747b([0x50,0x2d,0x32,0x35,0x36]),[_0x4a747b([0x78])]:_0x4a747b([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]),[_0x4a747b([0x79])]:_0x4a747b([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]),[_0x4a747b([0x61,0x6c,0x67])]:_0x4a747b([0x45,0x53,0x32,0x35,0x36])},_0x4f4c39=_0x492637[_0x4a747b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a747b([0x67,0x65,0x74])](_0x4a747b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x462ca7(){let _0x2ee837,_0x2198de=null,_0x376266=null;try{if(_0x4f4c39==_0x4a747b([0x47,0x50,0x4c]))return _0x4a747b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ee837=_0x4ccf77(),!_0x2ee837)return _0x4a747b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ee837[_0x4a747b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x376266=_0x280765(_0x2ee837[_0x4a747b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ee837[_0x4a747b([0x6a,0x74,0x69])])),await _0x5e09fc()?_0x8e90c4()?_0x18cd2b()?_0x4a747b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x401376()?(_0x2ee837[_0x4a747b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a747b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2198de=_0x57a598(_0x4a747b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f6e73()):_0x4a747b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a747b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a747b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a747b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18cd2b(){const _0x45bec2=[_0x4a747b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a747b([0x74,0x72,0x69,0x61,0x6c])][_0x4a747b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee837[_0x4a747b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f52e4/0x3e8:0xe10*_0x5bf58e;return _0x2ee837[_0x4a747b([0x65,0x78,0x70])]<_0x45bec2;}function _0x8e90c4(){const _0x4b686e=_0x2ee837[_0x4a747b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b686e&&(!!_0x4b686e[_0x4a747b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a747b([0x2a]))||!!_0x4b686e[_0x4a747b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a747b([0x4c,0x48])));}function _0x401376(){const _0x12637e=_0x2ee837[_0x4a747b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12637e||0x0==_0x12637e[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3da9f8}=new URL(window[_0x4a747b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x12637e[_0x4a747b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3da9f8))return!0x0;const _0x200c0a=_0x3da9f8[_0x4a747b([0x73,0x70,0x6c,0x69,0x74])](_0x4a747b([0x2e]));return _0x12637e[_0x4a747b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb85c41=>_0xb85c41[_0x4a747b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a747b([0x2a])))[_0x4a747b([0x6d,0x61,0x70])](_0x18a0c8=>_0x18a0c8[_0x4a747b([0x73,0x70,0x6c,0x69,0x74])](_0x4a747b([0x2e])))[_0x4a747b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38733f=>_0x38733f[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x200c0a[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a747b([0x6d,0x61,0x70])](_0x45fc5b=>Array(_0x200c0a[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45fc5b[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a747b([0x66,0x69,0x6c,0x6c])](_0x45fc5b[0x0]===_0x4a747b([0x2a])?_0x4a747b([0x2a]):'')[_0x4a747b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45fc5b))[_0x4a747b([0x73,0x6f,0x6d,0x65])](_0x18da10=>_0x200c0a[_0x4a747b([0x65,0x76,0x65,0x72,0x79])]((_0x1644d3,_0x4ff3c4)=>_0x18da10[_0x4ff3c4]===_0x1644d3||_0x18da10[_0x4ff3c4]===_0x4a747b([0x2a])));}function _0x1f6e73(){return _0x2198de&&_0x376266?new window[(_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b59af,_0x49aa1e)=>{_0x2198de[_0x4a747b([0x74,0x68,0x65,0x6e])](_0x2b59af,_0x49aa1e),_0x376266[_0x4a747b([0x74,0x68,0x65,0x6e])](_0xa2adf3=>{_0xa2adf3!=_0x4a747b([0x56,0x61,0x6c,0x69,0x64])&&_0x2b59af(_0xa2adf3);},_0x49aa1e);}):_0x2198de||_0x376266||_0x4a747b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x280765(_0x44d155,_0x1da6e2){return new window[(_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b3a1b=>{if(_0x31774e())return _0x2b3a1b(_0x4a747b([0x56,0x61,0x6c,0x69,0x64]));_0x66268c(),_0x492637[_0x4a747b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a747b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x84ea2e=!0x1;const _0x5d9f9f=_0x5c5c0c();function _0xf3a504(_0x13a900){return!!_0x13a900&&(typeof _0x13a900===_0x4a747b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13a900===_0x4a747b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13a900[_0x4a747b([0x74,0x68,0x65,0x6e])]===_0x4a747b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13a900[_0x4a747b([0x63,0x61,0x74,0x63,0x68])]===_0x4a747b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x566c3c(_0x2a4cb9){_0x14c4d7(_0x2a4cb9)[_0x4a747b([0x74,0x68,0x65,0x6e])](_0x4f0f66=>{if(!_0x4f0f66||_0x4f0f66[_0x4a747b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a747b([0x6f,0x6b]))return _0x4a747b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138ee0(_0x4bde4f(_0x5d9f9f+_0x1da6e2))!=_0x4f0f66[_0x4a747b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a747b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a747b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a747b([0x74,0x68,0x65,0x6e])](_0x9b74b6=>(_0x12f3d0(),_0x9b74b6),()=>{const _0x5c8af0=_0x3bf954();return null==_0x5c8af0?(_0x12f3d0(),_0x4a747b([0x56,0x61,0x6c,0x69,0x64])):_0x4a747b(_0x4f52e4-_0x5c8af0>(0x61d15615^_0x5c26c9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a747b([0x74,0x68,0x65,0x6e])](_0x2b3a1b)[_0x4a747b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b3a1b(_0x4a747b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d293f=0x45eb3c95^_0x5c26c9;function _0x12f3d0(){const _0x44b324=_0x4a747b([0x6c,0x6c,0x63,0x74,0x2d])+_0x138ee0(_0x4bde4f(_0x44d155)),_0x293798=_0x38be1e(_0x138ee0(window[_0x4a747b([0x4d,0x61,0x74,0x68])][_0x4a747b([0x63,0x65,0x69,0x6c])](_0x4f52e4/_0x1d293f)));window[_0x4a747b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a747b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44b324,_0x293798);}function _0x3bf954(){const _0x4e77d8=_0x4a747b([0x6c,0x6c,0x63,0x74,0x2d])+_0x138ee0(_0x4bde4f(_0x44d155)),_0x2e3213=window[_0x4a747b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a747b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e77d8);return _0x2e3213?window[_0x4a747b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38be1e(_0x2e3213),0x10)*_0x1d293f:null;}function _0x14c4d7(_0x3996cc){return new window[(_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35a4d1,_0x53833c)=>{_0x3996cc[_0x4a747b([0x74,0x68,0x65,0x6e])](_0x35a4d1,_0x53833c),window[_0x4a747b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53833c,0x45dc06d5^_0x5c26c9);});}}_0x492637[_0x4a747b([0x6f,0x6e])](_0x4a747b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xec3545,_0x5a0257)=>{if(_0x5a0257[0x0]!=_0x44d155)return _0x2b3a1b(_0x4a747b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a0257[0x1]={..._0x5a0257[0x1],[_0x4a747b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9f9f};},{[_0x4a747b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a747b([0x68,0x69,0x67,0x68])}),_0x492637[_0x4a747b([0x6f,0x6e])](_0x4a747b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ce3d9=>{_0xf3a504(_0x5ce3d9[_0x4a747b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x84ea2e=!0x0,_0x566c3c(_0x5ce3d9[_0x4a747b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a747b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a747b([0x6c,0x6f,0x77])}),_0x5083a7[_0x4a747b([0x74,0x68,0x65,0x6e])](()=>{_0x84ea2e||_0x2b3a1b(_0x4a747b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31774e(){return _0x492637[_0x4a747b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a747b([0x76,0x69,0x65,0x77])][_0x4a747b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a747b([0x61,0x75,0x74,0x6f]);}function _0x66268c(){_0x492637[_0x4a747b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a747b([0x76,0x69,0x65,0x77])][_0x4a747b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a747b([0x61,0x75,0x74,0x6f]);}}function _0x57a598(_0xa01f8d){const _0x3996a2=[new window[(_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2811a6=>setTimeout(_0x2811a6,0x45d4ecd9^_0x5c26c9)),_0x5083a7[_0x4a747b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad56f=>{let _0x487a9e=0x0;_0x492637[_0x4a747b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a747b([0x6f,0x6e])](_0x4a747b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27eca2,_0x101e69)=>{_0x101e69[0x0][_0x4a747b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x487a9e++,_0x487a9e==(0x45ddd7fd^_0x5c26c9)&&(_0x3ad56f(),_0x27eca2[_0x4a747b([0x6f,0x66,0x66])]());});}))];return window[_0x4a747b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a747b([0x72,0x61,0x63,0x65])](_0x3996a2)[_0x4a747b([0x74,0x68,0x65,0x6e])](()=>_0xa01f8d);}async function _0x35c66e(){await _0x5083a7,_0x492637[_0x4a747b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a747b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d3511,_0x492637[_0x4a747b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a747b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d3511,_0x492637[_0x4a747b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a747b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4141b1(_0x56e673){const _0x4808cc=_0x68edc0();_0x492637[_0x4808cc]=_0x4a747b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56e673,_0x56e673!=_0x4a747b([0x56,0x61,0x6c,0x69,0x64])&&_0x35c66e();}function _0x68edc0(){const _0x9586d7=window[_0x4a747b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a747b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a747b([0x6e,0x6f,0x77])]())[_0x4a747b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a747b([0x2e]),'');let _0x2474ad=_0x4a747b([0x50]);for(let _0x25159d=0x0;_0x25159d<_0x9586d7[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25159d+=0x2){let _0xd38b03=window[_0x4a747b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9586d7[_0x4a747b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25159d,_0x25159d+0x2));_0xd38b03>=_0x19b1f7[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd38b03-=_0x19b1f7[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2474ad+=_0x19b1f7[_0xd38b03];}return _0x2474ad;}function _0x4ccf77(){const _0x1cb524=_0x4f4c39[_0x4a747b([0x73,0x70,0x6c,0x69,0x74])](_0x4a747b([0x2e]));if(0x3!=_0x1cb524[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5882d8(_0x1cb524[0x1]);function _0x5882d8(_0x30c8cd){const _0x3054bb=_0x3ef606(_0x30c8cd);return _0x3054bb&&_0x1e147b()?_0x3054bb:null;function _0x1e147b(){const _0x247944=_0x3054bb[_0x4a747b([0x6a,0x74,0x69])],_0x56d3eb=window[_0x4a747b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x247944[_0x4a747b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x247944[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e837c={..._0x3054bb,[_0x4a747b([0x6a,0x74,0x69])]:_0x247944[_0x4a747b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x247944[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e837c[_0x4a747b([0x76,0x63])],_0x4bde4f(_0x5e837c)==_0x56d3eb;}}}async function _0x5e09fc(){let _0x4ff6d6=!0x0;try{const _0x1335aa=_0x4f4c39[_0x4a747b([0x73,0x70,0x6c,0x69,0x74])](_0x4a747b([0x2e])),[_0x52d053,_0x3e6f81,_0x5b6165]=_0x1335aa;return _0x5cb016(_0x52d053),await _0x31f360(_0x52d053,_0x3e6f81,_0x5b6165),_0x4ff6d6;}catch{return!0x1;}function _0x5cb016(_0x439095){const _0x5a6f3d=_0x3ef606(_0x439095);_0x5a6f3d&&_0x5a6f3d[_0x4a747b([0x61,0x6c,0x67])]==_0x4a747b([0x45,0x53,0x32,0x35,0x36])||(_0x4ff6d6=!0x1);}async function _0x31f360(_0x227a78,_0x4a0d11,_0x2e52a4){const _0x1cd70d=window[_0x4a747b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a747b([0x66,0x72,0x6f,0x6d])](_0x41a149(_0x2e52a4),_0x589c93=>_0x589c93[_0x4a747b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x598516=new window[(_0x4a747b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a747b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x227a78+_0x4a747b([0x2e])+_0x4a0d11),_0x1f6115=window[_0x4a747b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a747b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f6115)return;const _0x1a8f9d=await _0x1f6115[_0x4a747b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a747b([0x6a,0x77,0x6b]),_0x667a16,{[_0x4a747b([0x6e,0x61,0x6d,0x65])]:_0x4a747b([0x45,0x43,0x44,0x53,0x41]),[_0x4a747b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a747b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a747b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f6115[_0x4a747b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a747b([0x6e,0x61,0x6d,0x65])]:_0x4a747b([0x45,0x43,0x44,0x53,0x41]),[_0x4a747b([0x68,0x61,0x73,0x68])]:{[_0x4a747b([0x6e,0x61,0x6d,0x65])]:_0x4a747b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a8f9d,_0x1cd70d,_0x598516)||(_0x4ff6d6=!0x1);}}function _0x3ef606(_0x4ec6b0){return _0x4ec6b0[_0x4a747b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a747b([0x65,0x79]))?JSON[_0x4a747b([0x70,0x61,0x72,0x73,0x65])](_0x41a149(_0x4ec6b0)):null;}function _0x41a149(_0x49ba69){return window[_0x4a747b([0x61,0x74,0x6f,0x62])](_0x49ba69[_0x4a747b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a747b([0x2b]))[_0x4a747b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a747b([0x2f])));}function _0x4bde4f(_0x2de231){let _0x3b6e94=0x1505;function _0x42fb71(_0x15fb86){for(let _0x530b03=0x0;_0x530b03<_0x15fb86[_0x4a747b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x530b03++){const _0x1ca085=_0x15fb86[_0x4a747b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x530b03);_0x3b6e94=(_0x3b6e94<<0x5)+_0x3b6e94+_0x1ca085,_0x3b6e94&=_0x3b6e94;}}function _0x3cfeb3(_0x1bc0fb){Array[_0x4a747b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1bc0fb)?_0x1bc0fb[_0x4a747b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cfeb3):_0x1bc0fb&&typeof _0x1bc0fb==_0x4a747b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a747b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1bc0fb)[_0x4a747b([0x73,0x6f,0x72,0x74])]()[_0x4a747b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x159254,_0x5857a3])=>{_0x42fb71(_0x159254),_0x3cfeb3(_0x5857a3);}):_0x42fb71(window[_0x4a747b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1bc0fb));}return _0x3cfeb3(_0x2de231),_0x3b6e94>>>0x0;}function _0x138ee0(_0x23a4d8){return _0x23a4d8[_0x4a747b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a747b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a747b([0x30]));}function _0x38be1e(_0x198044){return _0x198044[_0x4a747b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a747b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a747b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d3511(){}function _0x4a747b(_0x62a351){return _0x62a351['map'](_0x7139d1=>String['fromCharCode'](_0x7139d1))['join']('');}_0x4141b1(await _0x462ca7());}(this);}['_validateConfig'](){const _0x3d631a=this['editor'];if(!_0x3d631a['config']['get']('lineHeight.supportAllValues'))return;const _0x3ba1d0=_0x3d631a['config']['get']('lineHeight.options')['filter'](_0x1e84a6=>'string'==typeof _0x1e84a6&&(!Kg(_0x1e84a6)&&isNaN(Number(_0x1e84a6))));if(_0x3ba1d0['length'])throw new _0x37fbfa('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x3ba1d0});}['_prepareAnyValueConverters'](){const _0x4ed19f=this['editor'],_0x1c416b=this['editor']['config']['get']('lineHeight.defaultValue');_0x4ed19f['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x1a6eed=>String(_0x1a6eed)===String(_0x1c416b)?null:{'key':'style','value':{'line-height':_0x1a6eed}}}),_0x4ed19f['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x549d35=>{let _0x34429b=_0x549d35['getStyle']('line-height');return _0x419b17(_0x34429b)&&(_0x34429b=String(Number(_0x34429b['slice'](0x0,-0x1))/0x64)),String(_0x34429b)===String(_0x1c416b)?null:_0x34429b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x2fe236=this['editor'],_0x220edf=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5ef332=function(_0x2c7c14,_0x5864fb){const _0x3ba066={'model':{'key':_0x2c7c14,'values':[]},'view':{}};for(const _0x105138 of _0x5864fb)'class'===_0x105138['view']?.['key']?(_0x3ba066['model']['values']['push'](_0x105138['model']),_0x3ba066['view'][_0x105138['model']]={'key':'class','value':_0x105138['view']['value']}):(_0x3ba066['model']['values']['push'](_0x105138['model']),_0x3ba066['view'][_0x105138['model']]={'key':'style','value':'line-height:'+_0x105138['model']+';'});return _0x3ba066;}('lineHeight',Jg(this['editor']['config']['get']('lineHeight'))['filter'](_0x517fd7=>_0x517fd7['model']));_0x2fe236['conversion']['attributeToAttribute'](_0x5ef332),_0x2fe236['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x53ccc2=>{let _0x7a9249=_0x53ccc2['getStyle']('line-height');return _0x419b17(_0x7a9249)&&(_0x7a9249=String(Number(_0x7a9249['slice'](0x0,-0x1))/0x64)),_0x7a9249===String(_0x220edf)?null:_0x5ef332['model']['values']['includes'](_0x7a9249)?_0x7a9249:null;}}});}}class LineHeightUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5bbcec={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5bbcec),this['_registerMenuBarComponent'](_0x5bbcec),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x28b6d3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x174ec0;for(const _0x2c7975 in _0x28b6d3){const _0xa0f320=_0x2c7975,_0x49c372=_0x28b6d3[_0xa0f320];if('lineHeightLicenseKeyValid'==_0x49c372||'lineHeightLicenseKeyInvalid'==_0x49c372||'lineHeightLicenseKeyExpired'==_0x49c372||'lineHeightLicenseKeyDomainLimit'==_0x49c372||'lineHeightLicenseKeyNotAllowed'==_0x49c372||'lineHeightLicenseKeyEvaluationLimit'==_0x49c372||'lineHeightLicenseKeyUsageLimit'==_0x49c372){delete _0x28b6d3[_0xa0f320],_0x174ec0=_0x49c372,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x174ec0&&_0x28b6d3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x174ec0&&_0x28b6d3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x174ec0&&_0x28b6d3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x174ec0&&_0x28b6d3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x174ec0&&_0x28b6d3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x174ec0&&_0x28b6d3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x183d2c=this['editor'],t=_0x183d2c['t'],_0x2a71c8=_0x183d2c['config']['get']('lineHeight'),_0x45d981={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return Jg(_0x2a71c8)['map'](_0x4fdf22=>{const _0x289c08=_0x45d981[_0x4fdf22['title']];return _0x289c08&&_0x289c08!=_0x4fdf22['title']&&(_0x4fdf22=Object['assign']({},_0x4fdf22,{'title':_0x289c08})),_0x4fdf22;});}['_prepareListOptions'](){const _0x2d8442=this['editor']['commands']['get']('lineHeight'),_0x521b3c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4d9853=this['_getLocalizedLineHeightOptions'](),_0x3e61a1=new _0x4711ed(),_0x50b4ee=_0x6af3d7=>'default'===_0x6af3d7||String(_0x521b3c)===_0x6af3d7;for(const _0x41772d of _0x4d9853){const _0x12e032={'type':'button','model':new pt({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x41772d['title'],'withText':!0x0})};_0x50b4ee(_0x41772d['model'])?(_0x12e032['model']['bind']('isOn')['to'](_0x2d8442,'value',_0x193f22=>!_0x193f22),_0x12e032['model']['commandParam']=void 0x0):(_0x12e032['model']['bind']('isOn')['to'](_0x2d8442,'value',_0x18d6ba=>_0x18d6ba===_0x41772d['model']),_0x12e032['model']['commandParam']=_0x41772d['model']),_0x3e61a1['add'](_0x12e032);}if(this['_shouldRenderCustomValueOption']()){const _0x1fbc1f=this['_getCustomValueOptionDefinition'](_0x4d9853);_0x3e61a1['add'](_0x1fbc1f);}return _0x3e61a1;}['_getCustomValueOptionDefinition'](_0x16232a){const _0x5eed7e=this['editor'],t=_0x5eed7e['t'],_0x13d098=_0x5eed7e['commands']['get']('lineHeight'),_0x396282=_0x16232a['map'](_0x443416=>_0x443416['model']),_0x3a8ac7={'type':'button','model':new pt({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3a8ac7['model']['bind']('commandParam')['to'](_0x13d098,'value'),_0x3a8ac7['model']['bind']('isOn')['to'](_0x13d098,'value',_0x16593f=>!!_0x16593f&&!_0x396282['includes'](String(_0x16593f))),_0x3a8ac7['model']['bind']('label')['to'](_0x13d098,'value',_0x4cd428=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4cd428))),_0x3a8ac7;}['_registerToolbarComponent']({accessibleLabel:_0x26a3f7,options:_0x57755b}){const _0x1919a0=this['editor'],_0x506843=_0x1919a0['commands']['get']('lineHeight');_0x1919a0['ui']['componentFactory']['add']('lineHeight',_0x1833a7=>{const _0x5888b5=st(_0x1833a7);return gt(_0x5888b5,_0x57755b,{'role':'menu','ariaLabel':_0x26a3f7}),_0x5888b5['buttonView']['set']({'label':_0x26a3f7,'tooltip':!0x0,'icon':_0x2067a2}),_0x5888b5['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5888b5['bind']('isEnabled')['to'](_0x506843),this['listenTo'](_0x5888b5,'execute',_0x42c281=>{_0x1919a0['execute'](_0x42c281['source']['commandName'],{'value':_0x42c281['source']['commandParam']}),_0x1919a0['editing']['view']['focus']();}),_0x5888b5['once']('change:isOpen',()=>{const _0x506126=_0x5888b5['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5888b5,_0x57755b,_0x506126);}),_0x5888b5;});}['_registerMenuBarComponent']({accessibleLabel:_0xce1f70,options:_0x5a847e}){const _0x205d32=this['editor'],_0x58428e=_0x205d32['commands']['get']('lineHeight');_0x205d32['ui']['componentFactory']['add']('menuBar:lineHeight',_0x258b30=>{const _0x397591=new rt(_0x258b30);_0x397591['buttonView']['set']({'label':_0xce1f70,'icon':_0x2067a2}),_0x397591['bind']('isEnabled')['to'](_0x58428e);const _0x2dc1fe=new ct(_0x258b30);for(const _0x2791af of _0x5a847e){const _0x4ac0be=new lt(_0x258b30,_0x397591),_0x18f956=new ot(_0x258b30);_0x18f956['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x18f956['bind'](...Object['keys'](_0x2791af['model']))['to'](_0x2791af['model']),_0x18f956['delegate']('execute')['to'](_0x397591),_0x18f956['on']('execute',()=>{_0x205d32['execute'](_0x2791af['model']['commandName'],{'value':_0x2791af['model']['commandParam']}),_0x205d32['editing']['view']['focus']();}),_0x4ac0be['children']['add'](_0x18f956),_0x2dc1fe['items']['add'](_0x4ac0be);}return _0x397591['panelView']['children']['add'](_0x2dc1fe),this['_attachCustomOptionVisibilityHandler'](_0x397591,_0x5a847e,_0x2dc1fe),_0x397591;});}['_attachCustomOptionVisibilityHandler'](_0x329040,_0x32eb56,_0x58d6f0){if(!this['_shouldRenderCustomValueOption']())return;const _0x4290ea=()=>{if(!_0x329040['isOpen'])return;_0x58d6f0['items']['last']['isVisible']=Boolean(_0x32eb56['last']['model']['isOn']);};_0x4290ea(),_0x329040['on']('change:isOpen',()=>{_0x4290ea();});}}class LineHeight extends _0x13517b{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends _0x15bad7{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x3718bd,_0x17e5e3,_0x41a565){super(_0x3718bd),this['defaultListMarkerStyle']=_0x17e5e3,this['_listDefinitions']=_0x41a565,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3b6981={}){const _0x332359=this['editor']['model'],_0xead64f=_0x3b6981['listMarkerStyle']||this['defaultListMarkerStyle'];_0x332359['change'](()=>{const _0x38555f=this['_getListTypeFromListMarkerStyle'](_0xead64f);if(!_0x38555f)return;const _0x4bfd02=_0x38555f+'List';this['editor']['execute'](_0x4bfd02,{'additionalAttributes':{'listMarkerStyle':_0xead64f}});});}['_getValue'](){const _0x12d2d4=_0x556601(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x12d2d4)?_0x12d2d4['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3b7253=this['editor'],_0x281588=_0x3b7253['commands']['get']('customNumberedList'),_0x5eb0b6=_0x3b7253['commands']['get']('customBulletedList');return _0x281588['isEnabled']||_0x5eb0b6['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x10d3da){const _0x31925c=this['_listDefinitions']['find'](_0x5cd4f4=>_0x5cd4f4['listMarkerStyle']==_0x10d3da);return _0x31925c?_0x31925c['listType']:null;}}class MultiLevelListEditing extends _0x13517b{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x50682e){super(_0x50682e);const _0x586163=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x41d2f4=>_0x41d2f4+'.'}]},..._0x586163];}['init'](){const _0x57cd77=this['editor'],_0x651738=_0x57cd77['model'],_0x56c3f9=_0x57cd77['editing']['view'],_0x43e4d8=_0x57cd77['plugins']['get']('ListEditing');_0x57cd77['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x57cd77,'legal',this['_listDefinitions'])),_0x651738['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x651738['schema']['addAttributeCheck']((_0x442c0f,_0xc9b304)=>{const _0x1a87bf=_0x442c0f['last'];if('listMarker'==_0xc9b304||'listMarkerStyle'==_0xc9b304)return!(!_0x1a87bf['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x207888=>_0x207888['listType']==_0x1a87bf['getAttribute']('listType')))&&void 0x0;});for(const _0x1ecfa6 of this['_listDefinitions'])_0x57cd77['conversion']['for']('upcast')['add'](_0x15a9a4=>{_0x15a9a4['on']('element:'+('customNumbered'==_0x1ecfa6['listType']?'ol':'ul'),ip(_0x1ecfa6,_0x651738['schema']),{'priority':'low'});}),_0x43e4d8['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x31f3b3,_0x33e0a0,_0xb48928){_0x33e0a0==_0x1ecfa6['listMarkerStyle']?(_0x31f3b3['addClass'](['multi-level-list',_0x1ecfa6['className']],_0xb48928),_0x31f3b3['setStyle']('list-style-type','none',_0xb48928)):(_0x31f3b3['removeClass'](['multi-level-list',_0x1ecfa6['className']],_0xb48928),_0x31f3b3['removeStyle']('list-style-type',_0xb48928));}}),_0x43e4d8['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x271629,_0x1df0b9,{dataPipeline:_0x13fdd4}){if(!_0x1df0b9['hasAttribute']('listMarker'))return null;if(_0x1df0b9['getAttribute']('listType')!=_0x1ecfa6['listType']||_0x1df0b9['getAttribute']('listMarkerStyle')!=_0x1ecfa6['listMarkerStyle'])return null;const _0x10a598=String(_0x1df0b9['getAttribute']('listMarker')),_0x5b0446=this['canInjectMarkerIntoElement'](_0x1df0b9);return _0x271629['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x13fdd4&&{'contenteditable':'false','data-multi-level-list-marker':_0x10a598}},function(_0x2c45fe){const _0x45db43=this['toDomElement'](_0x2c45fe);return _0x5b0446?(_0x45db43['appendChild'](_0x2df385(_0x2c45fe,'span',{},_0x13fdd4?_0x2c45fe['createTextNode'](_0x10a598):[])),_0x45db43['appendChild'](_0x2c45fe['createTextNode']('\u00a0'))):_0x13fdd4&&_0x45db43['appendChild'](_0x2c45fe['createTextNode'](_0x10a598)),_0x45db43;});},'canInjectMarkerIntoElement':_0x1e02f2=>_0x651738['schema']['checkChild'](_0x1e02f2,'$text')&&_0x651738['schema']['checkChild'](_0x1e02f2,'$inlineObject')&&!_0x651738['schema']['isLimit'](_0x1e02f2)&&_0x1e02f2['getAttribute']('listType')==_0x1ecfa6['listType']&&_0x1e02f2['getAttribute']('listMarkerStyle')==_0x1ecfa6['listMarkerStyle']});_0x57cd77['conversion']['for']('upcast')['add'](_0x1a85c4=>{_0x1a85c4['on']('element:span',function(_0x58871d){return(_0x3dfc91,_0x26fc90,{writer:_0x23559f,consumable:_0x275183})=>{const _0x2014bc=_0x26fc90['modelCursor'],_0x32e40b=_0x2014bc['parent'],_0x312a4c=_0x26fc90['viewItem'];if(_0x275183['consume'](_0x312a4c,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x2014bc['isAtStart']&&_0x32e40b['hasAttribute']('listType')&&_0x312a4c['childCount']>0x0){const _0x5abef5=_0x58871d['createRangeIn'](_0x312a4c);let _0x321cc3='';for(const _0x4aca56 of _0x5abef5['getItems']())_0x4aca56['is']('$textProxy')?(_0x321cc3+=_0x4aca56['data']['trim'](),_0x275183['consume'](_0x4aca56['textNode'])):_0x275183['consume'](_0x4aca56,{'name':!0x0});_0x23559f['setAttribute']('listMarker',_0x321cc3['trim'](),_0x32e40b);}};}(_0x56c3f9));}),_0x43e4d8['on']('postFixer',(_0x3feaf3,{listNodes:_0x3dc7f1,writer:_0x2697b5})=>{const _0x3e0361=[];for(const {node:_0x29e853,previousNodeInList:_0xbdb495}of _0x3dc7f1){const _0x5b38c8=_0x29e853['getAttribute']('listType'),_0x4da338=_0x29e853['getAttribute']('listMarkerStyle')||('customNumbered'==_0x5b38c8?'legal':void 0x0),_0x5e61cd=this['_listDefinitions']['find'](_0x223c5b=>_0x223c5b['listType']==_0x5b38c8&&_0x223c5b['listMarkerStyle']==_0x4da338);if('customNumbered'!=_0x5b38c8&&'customBulleted'!=_0x5b38c8&&(_0x29e853['hasAttribute']('listMarker')&&(_0x2697b5['removeAttribute']('listMarker',_0x29e853),_0x3feaf3['return']=!0x0),_0x29e853['hasAttribute']('listMarkerStyle')&&(_0x2697b5['removeAttribute']('listMarkerStyle',_0x29e853),_0x3feaf3['return']=!0x0)),!_0x5e61cd){'customBulleted'!=_0x5b38c8||_0x4da338||(_0x2697b5['setAttribute']('listType','bulleted',_0x29e853),_0x3feaf3['return']=!0x0);continue;}_0x29e853['hasAttribute']('listMarkerStyle')||(_0x2697b5['setAttribute']('listMarkerStyle',_0x4da338,_0x29e853),_0x3feaf3['return']=!0x0);const _0x2e66ba=_0x29e853['getAttribute']('listIndent');if(_0xbdb495&&_0xbdb495['getAttribute']('listItemId')==_0x29e853['getAttribute']('listItemId'))continue;_0x3e0361['length']=_0x2e66ba+0x1,_0xbdb495||_0x3e0361[_0x2e66ba]?_0xbdb495&&_0xbdb495['getAttribute']('listType')!=_0x5e61cd['listType']?_0x3e0361[_0x2e66ba]=0x1:_0x3e0361[_0x2e66ba]++:_0x3e0361[_0x2e66ba]=_0x29e853['getAttribute']('listStart')||0x1;const _0x522aab=tp(_0x2e66ba,_0x5e61cd,_0x3e0361);_0x29e853['getAttribute']('listMarker')!=_0x522aab&&(_0x2697b5['setAttribute']('listMarker',_0x522aab,_0x29e853),_0x3feaf3['return']=!0x0);}});const _0x5a0405=_0x57cd77['editing']['view']['document'];this['listenTo'](_0x5a0405,'clipboardOutput',(_0x4c3da0,_0x2442fa)=>{const _0x194c1d=new _0x3ed30c({'name':'span','classes':'multi-level-list__marker'}),_0x8355db=new _0x3ed30c({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0xc90212=new _0x1c5733(_0x2442fa['content']['document']),_0xb12d52=[];for(const _0x7e357a of _0xc90212['createRangeIn'](_0x2442fa['content'])['getItems']())_0x7e357a['is']('element')&&_0x194c1d['match'](_0x7e357a)&&_0xb12d52['push'](_0x7e357a),_0x7e357a['is']('element')&&_0x8355db['match'](_0x7e357a)&&_0xc90212['removeStyle']('list-style-type',_0x7e357a);for(const _0xc93b32 of _0xb12d52)_0xc90212['remove'](_0xc93b32);});}['afterInit'](){!async function(_0x1b24ab){const _0x583c4b=_0x1d7a5e([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]),_0x33fb75=0xf46a94a,_0x57174a=0xf41268a^_0x33fb75,_0x4917a8=window[_0x1d7a5e([0x44,0x61,0x74,0x65])][_0x1d7a5e([0x6e,0x6f,0x77])](),_0x18eeb5=_0x1b24ab[_0x1d7a5e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x341aa7=new window[(_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4076dd=>{_0x18eeb5[_0x1d7a5e([0x6f,0x6e,0x63,0x65])](_0x1d7a5e([0x72,0x65,0x61,0x64,0x79]),_0x4076dd);}),_0x3c5081={[_0x1d7a5e([0x6b,0x74,0x79])]:_0x1d7a5e([0x45,0x43]),[_0x1d7a5e([0x75,0x73,0x65])]:_0x1d7a5e([0x73,0x69,0x67]),[_0x1d7a5e([0x63,0x72,0x76])]:_0x1d7a5e([0x50,0x2d,0x32,0x35,0x36]),[_0x1d7a5e([0x78])]:_0x1d7a5e([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]),[_0x1d7a5e([0x79])]:_0x1d7a5e([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]),[_0x1d7a5e([0x61,0x6c,0x67])]:_0x1d7a5e([0x45,0x53,0x32,0x35,0x36])},_0xd787c8=_0x18eeb5[_0x1d7a5e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d7a5e([0x67,0x65,0x74])](_0x1d7a5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f5628(){let _0xacc88f,_0x2622f7=null,_0xdc283b=null;try{if(_0xd787c8==_0x1d7a5e([0x47,0x50,0x4c]))return _0x1d7a5e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xacc88f=_0x5e3da1(),!_0xacc88f)return _0x1d7a5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xacc88f[_0x1d7a5e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xdc283b=_0x34ce9f(_0xacc88f[_0x1d7a5e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xacc88f[_0x1d7a5e([0x6a,0x74,0x69])])),await _0x23f255()?_0x37de44()?_0x5839b8()?_0x1d7a5e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1771cd()?(_0xacc88f[_0x1d7a5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d7a5e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2622f7=_0xf7059b(_0x1d7a5e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e211d()):_0x1d7a5e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d7a5e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d7a5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d7a5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5839b8(){const _0x4d5497=[_0x1d7a5e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d7a5e([0x74,0x72,0x69,0x61,0x6c])][_0x1d7a5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xacc88f[_0x1d7a5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4917a8/0x3e8:0xe10*_0x57174a;return _0xacc88f[_0x1d7a5e([0x65,0x78,0x70])]<_0x4d5497;}function _0x37de44(){const _0x446f36=_0xacc88f[_0x1d7a5e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x446f36&&(!!_0x446f36[_0x1d7a5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7a5e([0x2a]))||!!_0x446f36[_0x1d7a5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7a5e([0x4d,0x4c,0x4c])));}function _0x1771cd(){const _0xf4d7ea=_0xacc88f[_0x1d7a5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf4d7ea||0x0==_0xf4d7ea[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2896da}=new URL(window[_0x1d7a5e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf4d7ea[_0x1d7a5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2896da))return!0x0;const _0x40f0b6=_0x2896da[_0x1d7a5e([0x73,0x70,0x6c,0x69,0x74])](_0x1d7a5e([0x2e]));return _0xf4d7ea[_0x1d7a5e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21fc10=>_0x21fc10[_0x1d7a5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7a5e([0x2a])))[_0x1d7a5e([0x6d,0x61,0x70])](_0x27168b=>_0x27168b[_0x1d7a5e([0x73,0x70,0x6c,0x69,0x74])](_0x1d7a5e([0x2e])))[_0x1d7a5e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46b3bf=>_0x46b3bf[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40f0b6[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d7a5e([0x6d,0x61,0x70])](_0x4c46eb=>Array(_0x40f0b6[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c46eb[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d7a5e([0x66,0x69,0x6c,0x6c])](_0x4c46eb[0x0]===_0x1d7a5e([0x2a])?_0x1d7a5e([0x2a]):'')[_0x1d7a5e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c46eb))[_0x1d7a5e([0x73,0x6f,0x6d,0x65])](_0x150a22=>_0x40f0b6[_0x1d7a5e([0x65,0x76,0x65,0x72,0x79])]((_0x65a1c4,_0x153876)=>_0x150a22[_0x153876]===_0x65a1c4||_0x150a22[_0x153876]===_0x1d7a5e([0x2a])));}function _0x4e211d(){return _0x2622f7&&_0xdc283b?new window[(_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31f5fa,_0x12d45a)=>{_0x2622f7[_0x1d7a5e([0x74,0x68,0x65,0x6e])](_0x31f5fa,_0x12d45a),_0xdc283b[_0x1d7a5e([0x74,0x68,0x65,0x6e])](_0x49cdcc=>{_0x49cdcc!=_0x1d7a5e([0x56,0x61,0x6c,0x69,0x64])&&_0x31f5fa(_0x49cdcc);},_0x12d45a);}):_0x2622f7||_0xdc283b||_0x1d7a5e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34ce9f(_0xb68f3a,_0x5e2316){return new window[(_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470ace=>{if(_0x343ad3())return _0x470ace(_0x1d7a5e([0x56,0x61,0x6c,0x69,0x64]));_0x5d6dc8(),_0x18eeb5[_0x1d7a5e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d7a5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4897b7=!0x1;const _0x5d2808=_0x5c5c0c();function _0x39c2d5(_0xca9a12){return!!_0xca9a12&&(typeof _0xca9a12===_0x1d7a5e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xca9a12===_0x1d7a5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xca9a12[_0x1d7a5e([0x74,0x68,0x65,0x6e])]===_0x1d7a5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xca9a12[_0x1d7a5e([0x63,0x61,0x74,0x63,0x68])]===_0x1d7a5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x256afe(_0x50133d){_0x3fe9b3(_0x50133d)[_0x1d7a5e([0x74,0x68,0x65,0x6e])](_0x1f43c6=>{if(!_0x1f43c6||_0x1f43c6[_0x1d7a5e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d7a5e([0x6f,0x6b]))return _0x1d7a5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x285c24(_0x50f6b3(_0x5d2808+_0x5e2316))!=_0x1f43c6[_0x1d7a5e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d7a5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d7a5e([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d7a5e([0x74,0x68,0x65,0x6e])](_0x4f34b1=>(_0x1f46b9(),_0x4f34b1),()=>{const _0x588be5=_0x23e08e();return null==_0x588be5?(_0x1f46b9(),_0x1d7a5e([0x56,0x61,0x6c,0x69,0x64])):_0x1d7a5e(_0x4917a8-_0x588be5>(0x2b4a2d4a^_0x33fb75)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d7a5e([0x74,0x68,0x65,0x6e])](_0x470ace)[_0x1d7a5e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x470ace(_0x1d7a5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f75c1=0xf7047ca^_0x33fb75;function _0x1f46b9(){const _0x16301d=_0x1d7a5e([0x6c,0x6c,0x63,0x74,0x2d])+_0x285c24(_0x50f6b3(_0xb68f3a)),_0x31aaad=_0x21d06a(_0x285c24(window[_0x1d7a5e([0x4d,0x61,0x74,0x68])][_0x1d7a5e([0x63,0x65,0x69,0x6c])](_0x4917a8/_0x3f75c1)));window[_0x1d7a5e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d7a5e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16301d,_0x31aaad);}function _0x23e08e(){const _0x203911=_0x1d7a5e([0x6c,0x6c,0x63,0x74,0x2d])+_0x285c24(_0x50f6b3(_0xb68f3a)),_0x4c1e7f=window[_0x1d7a5e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d7a5e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x203911);return _0x4c1e7f?window[_0x1d7a5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21d06a(_0x4c1e7f),0x10)*_0x3f75c1:null;}function _0x3fe9b3(_0x424116){return new window[(_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e8d14,_0x2adf59)=>{_0x424116[_0x1d7a5e([0x74,0x68,0x65,0x6e])](_0x5e8d14,_0x2adf59),window[_0x1d7a5e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2adf59,0xf477d8a^_0x33fb75);});}}_0x18eeb5[_0x1d7a5e([0x6f,0x6e])](_0x1d7a5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a3bcd,_0x550928)=>{if(_0x550928[0x0]!=_0xb68f3a)return _0x470ace(_0x1d7a5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x550928[0x1]={..._0x550928[0x1],[_0x1d7a5e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d2808};},{[_0x1d7a5e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d7a5e([0x68,0x69,0x67,0x68])}),_0x18eeb5[_0x1d7a5e([0x6f,0x6e])](_0x1d7a5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5339fb=>{_0x39c2d5(_0x5339fb[_0x1d7a5e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4897b7=!0x0,_0x256afe(_0x5339fb[_0x1d7a5e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d7a5e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d7a5e([0x6c,0x6f,0x77])}),_0x341aa7[_0x1d7a5e([0x74,0x68,0x65,0x6e])](()=>{_0x4897b7||_0x470ace(_0x1d7a5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x343ad3(){return _0x18eeb5[_0x1d7a5e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d7a5e([0x76,0x69,0x65,0x77])][_0x1d7a5e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d7a5e([0x61,0x75,0x74,0x6f]);}function _0x5d6dc8(){_0x18eeb5[_0x1d7a5e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d7a5e([0x76,0x69,0x65,0x77])][_0x1d7a5e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d7a5e([0x61,0x75,0x74,0x6f]);}}function _0xf7059b(_0x4208e1){const _0x45aaf9=[new window[(_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53172c=>setTimeout(_0x53172c,0xf4f9786^_0x33fb75)),_0x341aa7[_0x1d7a5e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cdb6e=>{let _0xb89cab=0x0;_0x18eeb5[_0x1d7a5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7a5e([0x6f,0x6e])](_0x1d7a5e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x67b428,_0x210ce0)=>{_0x210ce0[0x0][_0x1d7a5e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb89cab++,_0xb89cab==(0xf46aca2^_0x33fb75)&&(_0x1cdb6e(),_0x67b428[_0x1d7a5e([0x6f,0x66,0x66])]());});}))];return window[_0x1d7a5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d7a5e([0x72,0x61,0x63,0x65])](_0x45aaf9)[_0x1d7a5e([0x74,0x68,0x65,0x6e])](()=>_0x4208e1);}async function _0x48b60a(){await _0x341aa7,_0x18eeb5[_0x1d7a5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7a5e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x407742,_0x18eeb5[_0x1d7a5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7a5e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x407742,_0x18eeb5[_0x1d7a5e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d7a5e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x139a12(_0x430059){const _0x3defa5=_0x35969e();_0x18eeb5[_0x3defa5]=_0x1d7a5e([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x430059,_0x430059!=_0x1d7a5e([0x56,0x61,0x6c,0x69,0x64])&&_0x48b60a();}function _0x35969e(){const _0xc12dfe=window[_0x1d7a5e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d7a5e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d7a5e([0x6e,0x6f,0x77])]())[_0x1d7a5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d7a5e([0x2e]),'');let _0x213530=_0x1d7a5e([0x75]);for(let _0x15c230=0x0;_0x15c230<_0xc12dfe[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15c230+=0x2){let _0x897bd=window[_0x1d7a5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc12dfe[_0x1d7a5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15c230,_0x15c230+0x2));_0x897bd>=_0x583c4b[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x897bd-=_0x583c4b[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x213530+=_0x583c4b[_0x897bd];}return _0x213530;}function _0x5e3da1(){const _0x4bf34c=_0xd787c8[_0x1d7a5e([0x73,0x70,0x6c,0x69,0x74])](_0x1d7a5e([0x2e]));if(0x3!=_0x4bf34c[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11d154(_0x4bf34c[0x1]);function _0x11d154(_0x3caeae){const _0x4fb688=_0x4a0487(_0x3caeae);return _0x4fb688&&_0x3ec005()?_0x4fb688:null;function _0x3ec005(){const _0x5338ea=_0x4fb688[_0x1d7a5e([0x6a,0x74,0x69])],_0x1a342d=window[_0x1d7a5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5338ea[_0x1d7a5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5338ea[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c7b41={..._0x4fb688,[_0x1d7a5e([0x6a,0x74,0x69])]:_0x5338ea[_0x1d7a5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5338ea[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c7b41[_0x1d7a5e([0x76,0x63])],_0x50f6b3(_0x2c7b41)==_0x1a342d;}}}async function _0x23f255(){let _0x32e3a2=!0x0;try{const _0x533000=_0xd787c8[_0x1d7a5e([0x73,0x70,0x6c,0x69,0x74])](_0x1d7a5e([0x2e])),[_0x3cdd25,_0x1015ef,_0x587b5d]=_0x533000;return _0x11d21a(_0x3cdd25),await _0x1c0874(_0x3cdd25,_0x1015ef,_0x587b5d),_0x32e3a2;}catch{return!0x1;}function _0x11d21a(_0x45b56b){const _0x45a928=_0x4a0487(_0x45b56b);_0x45a928&&_0x45a928[_0x1d7a5e([0x61,0x6c,0x67])]==_0x1d7a5e([0x45,0x53,0x32,0x35,0x36])||(_0x32e3a2=!0x1);}async function _0x1c0874(_0x292dbc,_0x3af754,_0x4e1e3d){const _0x4cfc1e=window[_0x1d7a5e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d7a5e([0x66,0x72,0x6f,0x6d])](_0x728b95(_0x4e1e3d),_0x17efe9=>_0x17efe9[_0x1d7a5e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5798ce=new window[(_0x1d7a5e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d7a5e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x292dbc+_0x1d7a5e([0x2e])+_0x3af754),_0x4cfe16=window[_0x1d7a5e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d7a5e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cfe16)return;const _0x9d6f19=await _0x4cfe16[_0x1d7a5e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d7a5e([0x6a,0x77,0x6b]),_0x3c5081,{[_0x1d7a5e([0x6e,0x61,0x6d,0x65])]:_0x1d7a5e([0x45,0x43,0x44,0x53,0x41]),[_0x1d7a5e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d7a5e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d7a5e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cfe16[_0x1d7a5e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d7a5e([0x6e,0x61,0x6d,0x65])]:_0x1d7a5e([0x45,0x43,0x44,0x53,0x41]),[_0x1d7a5e([0x68,0x61,0x73,0x68])]:{[_0x1d7a5e([0x6e,0x61,0x6d,0x65])]:_0x1d7a5e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9d6f19,_0x4cfc1e,_0x5798ce)||(_0x32e3a2=!0x1);}}function _0x4a0487(_0x41a4bc){return _0x41a4bc[_0x1d7a5e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d7a5e([0x65,0x79]))?JSON[_0x1d7a5e([0x70,0x61,0x72,0x73,0x65])](_0x728b95(_0x41a4bc)):null;}function _0x728b95(_0x1aafed){return window[_0x1d7a5e([0x61,0x74,0x6f,0x62])](_0x1aafed[_0x1d7a5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d7a5e([0x2b]))[_0x1d7a5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d7a5e([0x2f])));}function _0x50f6b3(_0x459cc8){let _0x522949=0x1505;function _0x5504fc(_0x137265){for(let _0x3e5ed3=0x0;_0x3e5ed3<_0x137265[_0x1d7a5e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e5ed3++){const _0x22a983=_0x137265[_0x1d7a5e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e5ed3);_0x522949=(_0x522949<<0x5)+_0x522949+_0x22a983,_0x522949&=_0x522949;}}function _0x2d1032(_0x59f505){Array[_0x1d7a5e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59f505)?_0x59f505[_0x1d7a5e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d1032):_0x59f505&&typeof _0x59f505==_0x1d7a5e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d7a5e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59f505)[_0x1d7a5e([0x73,0x6f,0x72,0x74])]()[_0x1d7a5e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f0bf9,_0x324cd7])=>{_0x5504fc(_0x4f0bf9),_0x2d1032(_0x324cd7);}):_0x5504fc(window[_0x1d7a5e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59f505));}return _0x2d1032(_0x459cc8),_0x522949>>>0x0;}function _0x285c24(_0x11f0ce){return _0x11f0ce[_0x1d7a5e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d7a5e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d7a5e([0x30]));}function _0x21d06a(_0x6ab7a3){return _0x6ab7a3[_0x1d7a5e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d7a5e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d7a5e([0x6a,0x6f,0x69,0x6e])]('');}function _0x407742(){}function _0x1d7a5e(_0x1602d7){return _0x1602d7['map'](_0x408bf6=>String['fromCharCode'](_0x408bf6))['join']('');}_0x139a12(await _0x2f5628());}(this);}}function tp(_0x3b30c6,_0x76ccc5,_0x39ac91){let _0x51d976=_0x76ccc5['listMarkers'][_0x3b30c6%_0x76ccc5['listMarkers']['length']];if(void 0x0===_0x51d976['showMarkerPath']||_0x51d976['showMarkerPath'])return _0x39ac91['slice'](0x0,_0x3b30c6+0x1)['map']((_0x2ede68,_0x5073a8)=>(_0x51d976=_0x76ccc5['listMarkers'][_0x5073a8%_0x76ccc5['listMarkers']['length']],ep(_0x51d976['marker'],_0x2ede68)))['join']('');{const _0x548b70=_0x39ac91[_0x39ac91['length']-0x1];return ep(_0x51d976['marker'],_0x548b70);}}function ep(_0x18ff8f,_0x47fc9a){return'function'==typeof _0x18ff8f?_0x18ff8f(_0x47fc9a):_0x18ff8f;}function ip(_0x14051b,_0x1dcd40){return(_0x43ec42,_0x5d2d7b,_0x5a3b53)=>{const _0x4b98fb=_0x5d2d7b['viewItem'];if(_0x5d2d7b['modelRange']||Object['assign'](_0x5d2d7b,_0x5a3b53['convertChildren'](_0x5d2d7b['viewItem'],_0x5d2d7b['modelCursor'])),!_0x5a3b53['consumable']['test'](_0x4b98fb,{'classes':_0x14051b['className']}))return;const _0x3e7bfe=Array['from'](_0x5d2d7b['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x3f55dc=>_0x1dcd40['checkAttribute'](_0x3f55dc,'listItemId'));if(!_0x3e7bfe['length'])return;_0x5a3b53['consumable']['consume'](_0x4b98fb,{'classes':_0x14051b['className']}),_0x5a3b53['consumable']['consume'](_0x4b98fb,{'classes':'multi-level-list'}),_0x5a3b53['consumable']['consume'](_0x4b98fb,{'styles':'list-style-type'});const _0x69004d=_0x3e7bfe[0x0]['getAttribute']('listIndent');for(const _0x3adfb1 of _0x3e7bfe)_0x3adfb1['getAttribute']('listIndent')==_0x69004d&&(_0x5a3b53['writer']['setAttribute']('listType',_0x14051b['listType'],_0x3adfb1),_0x5a3b53['writer']['setAttribute']('listMarkerStyle',_0x14051b['listMarkerStyle'],_0x3adfb1));};}function sp(_0x55b8fa,_0x115b48){const _0x2df444=_0x55b8fa['t'],t=_0x55b8fa['t'];switch(_0x115b48){case'Start\x20at':return _0x2df444('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2df444('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2df444('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2df444('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 _0x115b48;}}class MultiLevelListView extends _0x3989d4{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2c5be9();['keystrokes']=new _0x5e251c();['focusables']=new vt();['focusCycler'];constructor(_0x363780,{enabledProperties:_0x328083,styleButtonViews:_0x3c0bd8,styleGridAriaLabel:_0x39f9c4}){super(_0x363780);const _0x3e9a49=['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'}}),_0x328083['styles']?(this['stylesView']=this['_createStylesView'](_0x3c0bd8,_0x39f9c4),this['children']['add'](this['stylesView'])):_0x3e9a49['push']('ck-multi-level-list-properties_without-styles'),_0x328083['startIndex']&&(this['_addListPropertyViews'](_0x328083),_0x3e9a49['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3e9a49},'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 _0x30f4d0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x30f4d0['element']);$t({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4cdc9d['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 _0x3cc173=_0x15e80f=>_0x15e80f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3cc173),this['keystrokes']['set']('arrowleft',_0x3cc173),this['keystrokes']['set']('arrowup',_0x3cc173),this['keystrokes']['set']('arrowdown',_0x3cc173);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x492b2d,_0x1d4b26){const _0x771ba7=new _0x3989d4(this['locale']);return _0x771ba7['children']=_0x771ba7['createCollection'](),_0x771ba7['children']['addMany'](_0x492b2d),_0x771ba7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1d4b26,'class':['ck','ck-multi-level-list-styles']},'children':_0x771ba7['children']}),_0x771ba7['children']['delegate']('execute')['to'](this),_0x771ba7['focus']=function(){this['children']['first']['focus']();},_0x771ba7['focusTracker']=new _0x2c5be9(),_0x771ba7['keystrokes']=new _0x5e251c(),_0x771ba7['render'](),_0x771ba7['keystrokes']['listenTo'](_0x771ba7['element']),_0x771ba7;}['_addListPropertyViews'](_0x1014fc){const _0x501851=[];_0x1014fc['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x501851['push'](this['startIndexFieldView'])),_0x1014fc['styles']?(this['additionalPropertiesCollapsibleView']=new Vt(this['locale'],_0x501851),this['additionalPropertiesCollapsibleView']['set']({'label':sp(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x501851,'isEnabled',(..._0x51bcb0)=>_0x51bcb0['some'](_0x5db5ab=>_0x5db5ab)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x7c65fb,_0x1b4999,_0xbe4d4a)=>{_0xbe4d4a||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x501851);}['_createStartIndexField'](){const _0x467da2=new wt(this['locale'],Ut);return _0x467da2['set']({'label':sp(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x467da2['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x467da2['fieldView']['on']('input',()=>{const _0x20f040=_0x467da2['fieldView']['element'],_0x2bd71b=_0x20f040['valueAsNumber'];Number['isNaN'](_0x2bd71b)?_0x467da2['errorText']=sp(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x20f040['checkValidity']()?this['fire']('listStart',{'startIndex':_0x2bd71b}):_0x467da2['errorText']=sp(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x467da2;}}class MultiLevelListUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5daa1a=this['editor'];_0x5daa1a['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x4400e1,parentCommandName:_0x424f91,buttonLabel:_0x5eb231,buttonIcon:_0x247d0f,styleGridAriaLabel:_0x405ec0,styleDefinitions:_0x287623}){const _0x4937ad=_0x4400e1['commands']['get'](_0x424f91),_0x4b9298=_0x4400e1['config']['get']('list.properties')||{},_0x13b58c=_0x4400e1['plugins']['has']('ListProperties'),_0xf209c6=_0x4b9298['startIndex'];if(!_0x13b58c||!_0xf209c6)return _0x1ea42c=>{const _0x3c0605=new _0x2e803a(_0x1ea42c);return _0x3c0605['set']({'label':_0x5eb231,'icon':_0x247d0f,'tooltip':!0x0,'isToggleable':!0x0}),_0x3c0605['bind']('isOn')['to'](_0x4937ad,'value',_0x3441b4=>!!_0x3441b4),_0x3c0605['on']('execute',()=>{_0x4400e1['execute'](_0x424f91),_0x4400e1['editing']['view']['focus']();}),_0x3c0605;};return _0x48edb1=>{const _0x2c0599=st(_0x48edb1,Bt),_0x5e239b=_0x2c0599['buttonView'];return _0x2c0599['bind']('isEnabled')['to'](_0x4937ad),_0x2c0599['class']='ck-list-styles-dropdown',_0x5e239b['on']('execute',()=>{_0x4400e1['execute'](_0x424f91),_0x4400e1['editing']['view']['focus']();}),_0x5e239b['set']({'label':_0x5eb231,'icon':_0x247d0f,'tooltip':!0x0,'isToggleable':!0x0}),_0x5e239b['bind']('isOn')['to'](_0x4937ad,'value',_0x2ecf96=>!!_0x2ecf96),_0x2c0599['once']('change:isOpen',()=>{const _0x5c715c=function({editor:_0x4bf6c7,dropdownView:_0x27448b,styleDefinitions:_0x3fed48,styleGridAriaLabel:_0x1fbe01}){const _0x1ffdb7=_0x4bf6c7['locale'],_0x1600d3=_0x4bf6c7['config']['get']('list.properties'),_0x4aedfe=null;_0x1600d3['reversed']=!0x1,_0x3fed48['length']||(_0x1600d3['styles']=!0x1);const _0x1f5cfa=new MultiLevelListView(_0x1ffdb7,{'styleGridAriaLabel':_0x1fbe01,'enabledProperties':_0x1600d3,'styleButtonViews':_0x4aedfe});if(_0x1600d3['startIndex']){const _0x2acfec=_0x4bf6c7['commands']['get']('listStart');_0x1f5cfa['startIndexFieldView']['bind']('isEnabled')['to'](_0x2acfec),_0x1f5cfa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2acfec),_0x1f5cfa['on']('listStart',(_0x3ba79f,_0x36e643)=>_0x4bf6c7['execute']('listStart',_0x36e643));}return _0x1f5cfa['delegate']('execute')['to'](_0x27448b),_0x1f5cfa;}({'editor':_0x4400e1,'dropdownView':_0x2c0599,'styleGridAriaLabel':_0x405ec0,'styleDefinitions':_0x287623});_0x2c0599['panelView']['children']['add'](_0x5c715c);}),_0x2c0599['on']('execute',()=>{_0x4400e1['editing']['view']['focus']();}),_0x2c0599;};}({'editor':_0x5daa1a,'parentCommandName':'multiLevelList','buttonLabel':sp(_0x5daa1a['locale'],'Multi-level\x20List'),'buttonIcon':_0x996915,'styleGridAriaLabel':sp(_0x5daa1a['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x5daa1a['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x4d9e31=_0x5daa1a['commands']['get']('multiLevelList'),_0x285042=new ot(_0x5daa1a['locale']);return _0x285042['set']({'label':sp(_0x5daa1a['locale'],'Multi-level\x20List'),'icon':_0x996915}),_0x285042['bind']('isEnabled')['to'](_0x4d9e31),_0x285042['bind']('isOn')['to'](_0x4d9e31,'value',_0x4b26fb=>!!_0x4b26fb),_0x285042['on']('execute',()=>{_0x5daa1a['execute']('multiLevelList'),_0x5daa1a['editing']['view']['focus']();}),_0x285042;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56d49=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x429bcc;for(const _0x5d5e8e in _0x56d49){const _0x548ab8=_0x5d5e8e,_0x13bcce=_0x56d49[_0x548ab8];if('multiLevelListLicenseKeyValid'==_0x13bcce||'multiLevelListLicenseKeyInvalid'==_0x13bcce||'multiLevelListLicenseKeyExpired'==_0x13bcce||'multiLevelListLicenseKeyDomainLimit'==_0x13bcce||'multiLevelListLicenseKeyNotAllowed'==_0x13bcce||'multiLevelListLicenseKeyEvaluationLimit'==_0x13bcce||'multiLevelListLicenseKeyUsageLimit'==_0x13bcce){delete _0x56d49[_0x548ab8],_0x429bcc=_0x13bcce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x429bcc&&_0x56d49['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x429bcc&&_0x56d49['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x429bcc&&_0x56d49['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x429bcc&&_0x56d49['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x429bcc&&_0x56d49['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x429bcc&&_0x56d49['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x13517b{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0x15bad7{['refresh'](){const _0x8a39c5=this['editor']['model'],_0x475d85=_0x8a39c5['schema']['checkChild'](_0x8a39c5['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x475d85;}['execute'](_0x26a4dc){if(!_0x26a4dc||'string'!=typeof _0x26a4dc)return;const _0x44f8cd=this['editor']['model'];_0x44f8cd['change'](_0x4e9717=>{_0x44f8cd['deleteContent'](_0x44f8cd['document']['selection']);const _0x6a3e79=_0x4e9717['createElement']('mergeField',{'id':_0x26a4dc});for(const [_0x53255e,_0x56f4b1]of _0x44f8cd['document']['selection']['getAttributes']())_0x44f8cd['schema']['checkAttribute'](_0x6a3e79,_0x53255e)&&_0x4e9717['setAttribute'](_0x53255e,_0x56f4b1,_0x6a3e79);_0x44f8cd['insertContent'](_0x6a3e79,_0x44f8cd['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x15bad7{['refresh'](){const _0x5f2c49=this['editor']['model'],_0x581bd9=_0x5f2c49['document']['selection'];this['isEnabled']=function(_0x37f585,_0xcdc847){const _0x1a1cdf=_0x32e69b(_0x37f585,_0xcdc847);let _0x2953c4=_0x1a1cdf['start']['parent'];return _0x2953c4['isEmpty']&&!_0xcdc847['schema']['isLimit'](_0x2953c4)&&(_0x2953c4=_0x2953c4['parent']),_0xcdc847['schema']['checkChild'](_0x2953c4,'mergeFieldBlock');}(_0x581bd9,_0x5f2c49);}['execute'](_0x16ca1b,_0x593fe5){if(!_0x16ca1b||'string'!=typeof _0x16ca1b)return;const _0x347e07=this['editor']['model'];_0x347e07['change'](_0x57d2a4=>{const _0x3313c3=_0x57d2a4['createElement']('mergeFieldBlock',{'id':_0x16ca1b});_0x347e07['insertObject'](_0x3313c3,_0x347e07['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x593fe5?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x15bad7{constructor(_0x22252e){super(_0x22252e),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x351411,_0x49c76a){if(!_0x351411||'string'!=typeof _0x351411)return;const _0x30d7c5=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x4e1a64=_0x30d7c5['getMergeFieldWidth'](_0x351411),_0x1a27f5=_0x30d7c5['getMergeFieldHeight'](_0x351411);this['editor']['execute']('insertImage',{'source':{'src':_0x30d7c5['wrapInAffixes'](_0x351411),'width':_0x4e1a64,'height':_0x1a27f5},'breakBlock':_0x49c76a&&_0x49c76a['breakBlock']});}}class PreviewMergeFieldsCommand extends _0x15bad7{constructor(_0x34dcc4){super(_0x34dcc4);const _0x3f2ac7=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x3f2ac7,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x40c57a){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x40c57a;}}const np=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x13517b{['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(_0x54a947){super(_0x54a947),_0x54a947['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x54a947['config']['define']('mergeFields.dataSets',[]),_0x54a947['config']['define']('mergeFields.definitions',[]),_0x54a947['config']['define']('mergeFields.prefix','{{'),_0x54a947['config']['define']('mergeFields.suffix','}}'),_0x54a947['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x54a947['config']['define']('mergeFields.sanitizeHtml',_0x3440ea=>(_0xd86012('merge-fields-provide-sanitize-function'),{'html':_0x3440ea,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x54a947['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x54a947['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x54a947['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x52b394='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x3d2bd1='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x52b394+'[^'+(_0x52b394+_0x3d2bd1)+'\x20]+'+_0x3d2bd1+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x18c669=_0x54a947['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x18c669),this['set']('previewMode',_0x18c669),this['_mergeFieldElements']=new Set();}['init'](){const _0x5bc96f=this['editor'];_0x5bc96f['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x5bc96f)),_0x5bc96f['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x5bc96f)),_0x5bc96f['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x5bc96f)),_0x5bc96f['commands']['add']('previewMergeFields',new PreviewMergeFieldsCommand(_0x5bc96f)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x44c04a,_0x3c06d1,_0x386a1b)=>{this['_validatePreviewMode'](_0x386a1b),this['refreshMergeFields']();}),this['listenTo'](_0x5bc96f['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x5bc96f['editing']['mapper']['on']('viewToModelPosition',_0x4ee198(_0x5bc96f['model'],_0x4da213=>_0x4da213['hasClass']('ck-merge-field'))),_0x5bc96f['editing']['mapper']['on']('viewToModelPosition',_0x4ee198(_0x5bc96f['model'],_0x56426e=>_0x56426e['hasClass']('ck-merge-field-block'))),_0x5bc96f['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0xa24f4){const _0x3c3657=_0x2420fc([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]),_0x444593=0x6bd72268,_0x5364de=0x6bd0ada8^_0x444593,_0x40497c=window[_0x2420fc([0x44,0x61,0x74,0x65])][_0x2420fc([0x6e,0x6f,0x77])](),_0x49943c=_0xa24f4[_0x2420fc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2550b6=new window[(_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e0315=>{_0x49943c[_0x2420fc([0x6f,0x6e,0x63,0x65])](_0x2420fc([0x72,0x65,0x61,0x64,0x79]),_0x2e0315);}),_0x261535={[_0x2420fc([0x6b,0x74,0x79])]:_0x2420fc([0x45,0x43]),[_0x2420fc([0x75,0x73,0x65])]:_0x2420fc([0x73,0x69,0x67]),[_0x2420fc([0x63,0x72,0x76])]:_0x2420fc([0x50,0x2d,0x32,0x35,0x36]),[_0x2420fc([0x78])]:_0x2420fc([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]),[_0x2420fc([0x79])]:_0x2420fc([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]),[_0x2420fc([0x61,0x6c,0x67])]:_0x2420fc([0x45,0x53,0x32,0x35,0x36])},_0x4bf970=_0x49943c[_0x2420fc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2420fc([0x67,0x65,0x74])](_0x2420fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59937b(){let _0xf5efbb,_0x544e80=null,_0x180b10=null;try{if(_0x4bf970==_0x2420fc([0x47,0x50,0x4c]))return _0x2420fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf5efbb=_0x414d98(),!_0xf5efbb)return _0x2420fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf5efbb[_0x2420fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x180b10=_0x10a904(_0xf5efbb[_0x2420fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf5efbb[_0x2420fc([0x6a,0x74,0x69])])),await _0x40c221()?_0x51b28b()?_0x408999()?_0x2420fc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43c811()?(_0xf5efbb[_0x2420fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2420fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x544e80=_0x5dc1f4(_0x2420fc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24729a()):_0x2420fc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2420fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2420fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2420fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x408999(){const _0x15ea16=[_0x2420fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2420fc([0x74,0x72,0x69,0x61,0x6c])][_0x2420fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf5efbb[_0x2420fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40497c/0x3e8:0xe10*_0x5364de;return _0xf5efbb[_0x2420fc([0x65,0x78,0x70])]<_0x15ea16;}function _0x51b28b(){const _0x34fd81=_0xf5efbb[_0x2420fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34fd81&&(!!_0x34fd81[_0x2420fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2420fc([0x2a]))||!!_0x34fd81[_0x2420fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2420fc([0x4d,0x46])));}function _0x43c811(){const _0x5a39c6=_0xf5efbb[_0x2420fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a39c6||0x0==_0x5a39c6[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d0517}=new URL(window[_0x2420fc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5a39c6[_0x2420fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0517))return!0x0;const _0x21cfd0=_0x5d0517[_0x2420fc([0x73,0x70,0x6c,0x69,0x74])](_0x2420fc([0x2e]));return _0x5a39c6[_0x2420fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20b400=>_0x20b400[_0x2420fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2420fc([0x2a])))[_0x2420fc([0x6d,0x61,0x70])](_0x1acd08=>_0x1acd08[_0x2420fc([0x73,0x70,0x6c,0x69,0x74])](_0x2420fc([0x2e])))[_0x2420fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a24cc=>_0x1a24cc[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21cfd0[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2420fc([0x6d,0x61,0x70])](_0x48d2bf=>Array(_0x21cfd0[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48d2bf[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2420fc([0x66,0x69,0x6c,0x6c])](_0x48d2bf[0x0]===_0x2420fc([0x2a])?_0x2420fc([0x2a]):'')[_0x2420fc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48d2bf))[_0x2420fc([0x73,0x6f,0x6d,0x65])](_0x144111=>_0x21cfd0[_0x2420fc([0x65,0x76,0x65,0x72,0x79])]((_0x5e73ef,_0x391a4e)=>_0x144111[_0x391a4e]===_0x5e73ef||_0x144111[_0x391a4e]===_0x2420fc([0x2a])));}function _0x24729a(){return _0x544e80&&_0x180b10?new window[(_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1abe72,_0x4ae803)=>{_0x544e80[_0x2420fc([0x74,0x68,0x65,0x6e])](_0x1abe72,_0x4ae803),_0x180b10[_0x2420fc([0x74,0x68,0x65,0x6e])](_0x4fac17=>{_0x4fac17!=_0x2420fc([0x56,0x61,0x6c,0x69,0x64])&&_0x1abe72(_0x4fac17);},_0x4ae803);}):_0x544e80||_0x180b10||_0x2420fc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10a904(_0xb99121,_0x1c12c6){return new window[(_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43a91e=>{if(_0x19c05e())return _0x43a91e(_0x2420fc([0x56,0x61,0x6c,0x69,0x64]));_0x1e2404(),_0x49943c[_0x2420fc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2420fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x252a95=!0x1;const _0x5b6947=_0x5c5c0c();function _0x3020fb(_0x56ce1b){return!!_0x56ce1b&&(typeof _0x56ce1b===_0x2420fc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56ce1b===_0x2420fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56ce1b[_0x2420fc([0x74,0x68,0x65,0x6e])]===_0x2420fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56ce1b[_0x2420fc([0x63,0x61,0x74,0x63,0x68])]===_0x2420fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x166b3f(_0x31b707){_0x290141(_0x31b707)[_0x2420fc([0x74,0x68,0x65,0x6e])](_0x567758=>{if(!_0x567758||_0x567758[_0x2420fc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2420fc([0x6f,0x6b]))return _0x2420fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57a57a(_0x58b725(_0x5b6947+_0x1c12c6))!=_0x567758[_0x2420fc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2420fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2420fc([0x56,0x61,0x6c,0x69,0x64]);})[_0x2420fc([0x74,0x68,0x65,0x6e])](_0x323505=>(_0x419f74(),_0x323505),()=>{const _0x214504=_0x5557c8();return null==_0x214504?(_0x419f74(),_0x2420fc([0x56,0x61,0x6c,0x69,0x64])):_0x2420fc(_0x40497c-_0x214504>(0x4fdba668^_0x444593)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2420fc([0x74,0x68,0x65,0x6e])](_0x43a91e)[_0x2420fc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43a91e(_0x2420fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaaa6c2=0x6be1cce8^_0x444593;function _0x419f74(){const _0xb5ed60=_0x2420fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x57a57a(_0x58b725(_0xb99121)),_0x46f348=_0x5d0f14(_0x57a57a(window[_0x2420fc([0x4d,0x61,0x74,0x68])][_0x2420fc([0x63,0x65,0x69,0x6c])](_0x40497c/_0xaaa6c2)));window[_0x2420fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2420fc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb5ed60,_0x46f348);}function _0x5557c8(){const _0x59f600=_0x2420fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x57a57a(_0x58b725(_0xb99121)),_0x5be5b8=window[_0x2420fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2420fc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59f600);return _0x5be5b8?window[_0x2420fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d0f14(_0x5be5b8),0x10)*_0xaaa6c2:null;}function _0x290141(_0x2797b0){return new window[(_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2599c2,_0x57dfb4)=>{_0x2797b0[_0x2420fc([0x74,0x68,0x65,0x6e])](_0x2599c2,_0x57dfb4),window[_0x2420fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57dfb4,0x6bd6f6a8^_0x444593);});}}_0x49943c[_0x2420fc([0x6f,0x6e])](_0x2420fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x325648,_0x5dd6d7)=>{if(_0x5dd6d7[0x0]!=_0xb99121)return _0x43a91e(_0x2420fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5dd6d7[0x1]={..._0x5dd6d7[0x1],[_0x2420fc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b6947};},{[_0x2420fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2420fc([0x68,0x69,0x67,0x68])}),_0x49943c[_0x2420fc([0x6f,0x6e])](_0x2420fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb945f1=>{_0x3020fb(_0xb945f1[_0x2420fc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x252a95=!0x0,_0x166b3f(_0xb945f1[_0x2420fc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2420fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2420fc([0x6c,0x6f,0x77])}),_0x2550b6[_0x2420fc([0x74,0x68,0x65,0x6e])](()=>{_0x252a95||_0x43a91e(_0x2420fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19c05e(){return _0x49943c[_0x2420fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2420fc([0x76,0x69,0x65,0x77])][_0x2420fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2420fc([0x61,0x75,0x74,0x6f]);}function _0x1e2404(){_0x49943c[_0x2420fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2420fc([0x76,0x69,0x65,0x77])][_0x2420fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2420fc([0x61,0x75,0x74,0x6f]);}}function _0x5dc1f4(_0x57cfb7){const _0x3fd257=[new window[(_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50751e=>setTimeout(_0x50751e,0x6bde1ca4^_0x444593)),_0x2550b6[_0x2420fc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59d0d7=>{let _0x262515=0x0;_0x49943c[_0x2420fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2420fc([0x6f,0x6e])](_0x2420fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x447a17,_0x1906a3)=>{_0x1906a3[0x0][_0x2420fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x262515++,_0x262515==(0x6bd72780^_0x444593)&&(_0x59d0d7(),_0x447a17[_0x2420fc([0x6f,0x66,0x66])]());});}))];return window[_0x2420fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2420fc([0x72,0x61,0x63,0x65])](_0x3fd257)[_0x2420fc([0x74,0x68,0x65,0x6e])](()=>_0x57cfb7);}async function _0x465c5c(){await _0x2550b6,_0x49943c[_0x2420fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2420fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1491ff,_0x49943c[_0x2420fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2420fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1491ff,_0x49943c[_0x2420fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2420fc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5612f5(_0x3ded7b){const _0x2f1f17=_0x2e2e31();_0x49943c[_0x2f1f17]=_0x2420fc([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ded7b,_0x3ded7b!=_0x2420fc([0x56,0x61,0x6c,0x69,0x64])&&_0x465c5c();}function _0x2e2e31(){const _0x3fb9df=window[_0x2420fc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2420fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2420fc([0x6e,0x6f,0x77])]())[_0x2420fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2420fc([0x2e]),'');let _0xa7d73c=_0x2420fc([0x63]);for(let _0x120d85=0x0;_0x120d85<_0x3fb9df[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x120d85+=0x2){let _0x37f727=window[_0x2420fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fb9df[_0x2420fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x120d85,_0x120d85+0x2));_0x37f727>=_0x3c3657[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37f727-=_0x3c3657[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa7d73c+=_0x3c3657[_0x37f727];}return _0xa7d73c;}function _0x414d98(){const _0x226e70=_0x4bf970[_0x2420fc([0x73,0x70,0x6c,0x69,0x74])](_0x2420fc([0x2e]));if(0x3!=_0x226e70[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c7d40(_0x226e70[0x1]);function _0x4c7d40(_0x30487e){const _0x11f13c=_0x50c6bb(_0x30487e);return _0x11f13c&&_0x2083dd()?_0x11f13c:null;function _0x2083dd(){const _0x4907d4=_0x11f13c[_0x2420fc([0x6a,0x74,0x69])],_0x1e8400=window[_0x2420fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4907d4[_0x2420fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4907d4[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x242166={..._0x11f13c,[_0x2420fc([0x6a,0x74,0x69])]:_0x4907d4[_0x2420fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4907d4[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x242166[_0x2420fc([0x76,0x63])],_0x58b725(_0x242166)==_0x1e8400;}}}async function _0x40c221(){let _0x2c68aa=!0x0;try{const _0x190b75=_0x4bf970[_0x2420fc([0x73,0x70,0x6c,0x69,0x74])](_0x2420fc([0x2e])),[_0x164ba8,_0xc79f54,_0x2ec11d]=_0x190b75;return _0x3806c3(_0x164ba8),await _0x2ac63e(_0x164ba8,_0xc79f54,_0x2ec11d),_0x2c68aa;}catch{return!0x1;}function _0x3806c3(_0xc9f8f7){const _0xf7953d=_0x50c6bb(_0xc9f8f7);_0xf7953d&&_0xf7953d[_0x2420fc([0x61,0x6c,0x67])]==_0x2420fc([0x45,0x53,0x32,0x35,0x36])||(_0x2c68aa=!0x1);}async function _0x2ac63e(_0x312117,_0x7aa989,_0x34ae42){const _0xc97bd1=window[_0x2420fc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2420fc([0x66,0x72,0x6f,0x6d])](_0x4403ae(_0x34ae42),_0x1f98cd=>_0x1f98cd[_0x2420fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5df9c1=new window[(_0x2420fc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2420fc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x312117+_0x2420fc([0x2e])+_0x7aa989),_0x581546=window[_0x2420fc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2420fc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x581546)return;const _0x5b97ca=await _0x581546[_0x2420fc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2420fc([0x6a,0x77,0x6b]),_0x261535,{[_0x2420fc([0x6e,0x61,0x6d,0x65])]:_0x2420fc([0x45,0x43,0x44,0x53,0x41]),[_0x2420fc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2420fc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2420fc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x581546[_0x2420fc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2420fc([0x6e,0x61,0x6d,0x65])]:_0x2420fc([0x45,0x43,0x44,0x53,0x41]),[_0x2420fc([0x68,0x61,0x73,0x68])]:{[_0x2420fc([0x6e,0x61,0x6d,0x65])]:_0x2420fc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b97ca,_0xc97bd1,_0x5df9c1)||(_0x2c68aa=!0x1);}}function _0x50c6bb(_0x2206c5){return _0x2206c5[_0x2420fc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2420fc([0x65,0x79]))?JSON[_0x2420fc([0x70,0x61,0x72,0x73,0x65])](_0x4403ae(_0x2206c5)):null;}function _0x4403ae(_0x19d4ad){return window[_0x2420fc([0x61,0x74,0x6f,0x62])](_0x19d4ad[_0x2420fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2420fc([0x2b]))[_0x2420fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2420fc([0x2f])));}function _0x58b725(_0x3934b4){let _0xaf0eac=0x1505;function _0x841837(_0x55259a){for(let _0x5e3d90=0x0;_0x5e3d90<_0x55259a[_0x2420fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e3d90++){const _0x1c170e=_0x55259a[_0x2420fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e3d90);_0xaf0eac=(_0xaf0eac<<0x5)+_0xaf0eac+_0x1c170e,_0xaf0eac&=_0xaf0eac;}}function _0x32999a(_0xd0c847){Array[_0x2420fc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd0c847)?_0xd0c847[_0x2420fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32999a):_0xd0c847&&typeof _0xd0c847==_0x2420fc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2420fc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd0c847)[_0x2420fc([0x73,0x6f,0x72,0x74])]()[_0x2420fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4afd02,_0x57e659])=>{_0x841837(_0x4afd02),_0x32999a(_0x57e659);}):_0x841837(window[_0x2420fc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd0c847));}return _0x32999a(_0x3934b4),_0xaf0eac>>>0x0;}function _0x57a57a(_0x40bb67){return _0x40bb67[_0x2420fc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2420fc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2420fc([0x30]));}function _0x5d0f14(_0x4fba7b){return _0x4fba7b[_0x2420fc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2420fc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2420fc([0x6a,0x6f,0x69,0x6e])]('');}function _0x1491ff(){}function _0x2420fc(_0x2e053e){return _0x2e053e['map'](_0x4f676e=>String['fromCharCode'](_0x4f676e))['join']('');}_0x5612f5(await _0x59937b());}(this);}['isMergeField'](_0xbd172b){return'mergeField'===_0xbd172b['name']||'mergeFieldBlock'===_0xbd172b['name']||!!('imageBlock'===_0xbd172b['name']||'imageInline'===_0xbd172b['name']&&_0xbd172b['getAttribute']('src'))&&!!_0xbd172b['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x1e2844={},_0x294b00=this['getMergeFieldsIds']();for(const _0x50dc55 of _0x294b00)_0x1e2844[_0x50dc55]=this['getMergeFieldDefaultValue'](_0x50dc55);return _0x1e2844;}['getDataSetValues'](_0x146ea8,_0x37df1b=!0x1){const _0x3ab215={},_0x4eb2cf=this['getMergeFieldsIds']();for(const _0x16f275 of _0x4eb2cf){let _0x2b6541=this['getMergeFieldValue'](_0x16f275,_0x146ea8);null===_0x2b6541&&_0x37df1b&&(_0x2b6541=this['getMergeFieldDefaultValue'](_0x16f275)),_0x3ab215[_0x16f275]=_0x2b6541;}return _0x3ab215;}['getLabel'](_0x1c5a52){const _0x2b7d2f=this['getDefinition'](_0x1c5a52);return _0x2b7d2f&&_0x2b7d2f['label']?_0x2b7d2f['label']:null;}['getMergeFieldDefaultValue'](_0x4e06c0){const _0x3f378d=this['getDefinition'](_0x4e06c0);if(!_0x3f378d||void 0x0===_0x3f378d['defaultValue'])return null;const _0x8c3bfb='function'==typeof _0x3f378d['defaultValue']?_0x3f378d['defaultValue'](this['editor']):_0x3f378d['defaultValue'];return String(_0x8c3bfb);}['getMergeFieldValue'](_0x24eadb,_0xac0374){const _0x56d960=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x5ad7a9=>_0x5ad7a9['id']===_0xac0374);if(!_0x56d960)throw new _0x37fbfa('merge-fields-data-set-not-found',null);const _0x5a502b=_0x56d960['values'][_0x24eadb];if(void 0x0===_0x5a502b)return null;const _0x92445f='function'==typeof _0x5a502b?_0x5a502b(this['editor']):_0x5a502b;return String(_0x92445f);}['getMergeFieldType'](_0x32d7c3){if('string'!=typeof _0x32d7c3){const _0x1a7e64=_0x32d7c3;return'mergeField'===_0x1a7e64['name']?'text':'mergeFieldBlock'===_0x1a7e64['name']?'block':'imageBlock'!==_0x1a7e64['name']&&'imageInline'!==_0x1a7e64['name']||!_0x1a7e64['getAttribute']('src')?null:_0x1a7e64['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x17beea=this['getDefinition'](_0x32d7c3);return _0x17beea&&_0x17beea['type']?_0x17beea['type']:'text';}['getMergeFieldHeight'](_0xddf39f){const _0x2a26ea=this['getDefinition'](_0xddf39f);return _0x2a26ea&&'block'===_0x2a26ea['type']?_0x2a26ea['height']||0x78:_0x2a26ea&&'image'===_0x2a26ea['type']?_0x2a26ea['height']||0x190:null;}['getMergeFieldWidth'](_0x2dfaab){const _0x3c2430=this['getDefinition'](_0x2dfaab);return _0x3c2430&&'image'===_0x3c2430['type']?_0x3c2430['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x312ed5=new Set();for(const _0x189240 of this['_mergeFieldElements'])'$graveyard'!==_0x189240['root']['rootName']&&('image'===this['getMergeFieldType'](_0x189240)?_0x312ed5['add'](this['unwrapAffixes'](_0x189240['getAttribute']('src'))):_0x312ed5['add'](_0x189240['getAttribute']('id')));return Array['from'](_0x312ed5);}['getMergeFieldsIds'](){const _0x323176=this['flattenedMergeFieldDefinitions']['map'](_0x4fb031=>_0x4fb031['id']),_0x139a82=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x323176,..._0x139a82]));}['getDefinition'](_0x3d3f9d){return this['flattenedMergeFieldDefinitions']['find'](_0x1cb748=>_0x1cb748['id']===_0x3d3f9d)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x15c656=>{'$graveyard'!==_0x15c656['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x15c656);});}['wrapInAffixes'](_0x4002f6){return this['_mergeFieldPrefix']+_0x4002f6+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x14fec9){return _0x14fec9['slice'](this['_mergeFieldPrefix']['length'],_0x14fec9['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x4b0d58=new Set(),_0x4fe217=this['editor'];return _0x4fe217['config']['get']('mergeFields.definitions')['reduce']((_0x46498c,_0x5b7105)=>{if('groupId'in _0x5b7105){if(_0x4b0d58['has'](_0x5b7105['groupId']))throw new _0x37fbfa('merge-fields-duplicate-group-id',_0x4fe217,{'duplicateId':_0x5b7105['groupId']});_0x4b0d58['add'](_0x5b7105['groupId']);}return'groupId'in _0x5b7105?function(_0x3372c5,_0x4e9312){for(const _0x3633b5 of _0x4e9312['definitions'])_0x3372c5=_0x3372c5['concat'](_0x3633b5);return _0x3372c5;}['bind'](_0x4fe217)(_0x46498c,_0x5b7105):_0x46498c['concat'](_0x5b7105);},new Array());}['_validateConfig'](){const _0x2e52af=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x2e52af['test'](this['_mergeFieldPrefix'])||!_0x2e52af['test'](this['_mergeFieldSuffix']))throw new _0x37fbfa('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x37fbfa('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x5e06f8=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x2172be=>{if(!np['test'](_0x2172be['id']))throw new _0x37fbfa('merge-fields-invalid-id',this,{'incorrectId':_0x2172be['id']});if(_0x5e06f8['has'](_0x2172be['id']))throw new _0x37fbfa('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x2172be['id']});_0x5e06f8['add'](_0x2172be['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x37fbfa('merge-fields-prefix-and-suffix-must-differ',this);const _0xf5d681=this['editor']['config']['get']('mergeFields.previewModes'),_0x360e70=['$labels','$defaultValues','$dataSets'];if(!_0xf5d681['length']||!_0xf5d681['every'](_0x133602=>_0x360e70['includes'](_0x133602)))throw new _0x37fbfa('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0xf5d681});const _0x41d309=new Set(),_0x17d05f=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x22bdae of _0x17d05f){if(_0x41d309['has'](_0x22bdae['id']))throw new _0x37fbfa('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x22bdae['id']});_0x41d309['add'](_0x22bdae['id']);}}['_getAvailablePreviewModes'](){const _0x25a6d9=this['editor']['config']['get']('mergeFields.previewModes'),_0x2ddd71=[];if(_0x25a6d9['includes']('$labels')&&_0x2ddd71['push']('$labels'),_0x25a6d9['includes']('$defaultValues')&&_0x2ddd71['push']('$defaultValues'),_0x25a6d9['includes']('$dataSets')){const _0x5b5b49=this['editor']['config']['get']('mergeFields.dataSets');_0x2ddd71['push'](..._0x5b5b49['map'](_0x4522bb=>_0x4522bb['id']));}return _0x2ddd71;}['_defineSchema'](){const _0x533ee5=this['editor']['model']['schema'];_0x533ee5['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x533ee5['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x3a0dd8=this['editor']['conversion'];_0x3a0dd8['for']('upcast')['add'](_0x57edbb=>{_0x57edbb['on']('text',(_0xc078d9,_0x1b1894,_0x238f22)=>{const {writer:_0x49e91f,safeInsert:_0x4929cf}=_0x238f22,{viewItem:_0x3204b6}=_0x1b1894,_0x201fe4=_0x3204b6['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x3722c5=>_0x3722c5);if(0x1===_0x201fe4['length']&&!_0x201fe4[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x1b1894['modelRange'])return;const _0xa92b7c=_0x49e91f['createElement']('$cursor');_0x49e91f['insert'](_0xa92b7c,_0x1b1894['modelCursor']);const _0x3c9244=[];for(const _0x20f84e of _0x1b1894['modelRange']['getItems']()){if(!_0x20f84e['is']('$textProxy'))continue;const _0x1b3f7c=_0x20f84e['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x3e29fd=_0x20f84e['parent'],_0x246f26=_0x20f84e['textNode']['startOffset'];for(const _0x472a74 of[..._0x1b3f7c]['reverse']()){const _0x376e7c=_0x472a74[0x0],_0x50f9f1=_0x49e91f['createPositionAt'](_0x3e29fd,_0x472a74['index']+_0x246f26),_0x1ce04b=_0x50f9f1['getShiftedBy'](_0x376e7c['length']),_0x39b076=_0x49e91f['createRange'](_0x50f9f1,_0x1ce04b),_0x1c88a5=this['unwrapAffixes'](_0x376e7c),_0x2549b2=this['getMergeFieldType'](_0x1c88a5),_0x41f68e='block'==_0x2549b2?'mergeFieldBlock':'mergeField',_0x321356=_0x49e91f['createElement'](_0x41f68e,{'id':_0x1c88a5});_0x49e91f['remove'](_0x39b076),_0x49e91f['insert'](_0x321356,_0x50f9f1),'block'==_0x2549b2&&_0x3c9244['push'](_0x321356);}}_0x3c9244['reverse']();for(const _0x53c5b6 of _0x3c9244){const _0x4f4751=_0x49e91f['createPositionBefore'](_0x53c5b6),_0x46798d=_0x53c5b6['nextSibling']==_0xa92b7c;_0x49e91f['remove'](_0x53c5b6),_0x4929cf(_0x53c5b6,_0x4f4751)&&_0x46798d&&_0x49e91f['move'](_0x49e91f['createRangeOn'](_0xa92b7c),_0x49e91f['createPositionAfter'](_0x53c5b6));}_0x1b1894['modelCursor']=_0x49e91f['createPositionBefore'](_0xa92b7c),_0x1b1894['modelRange']=_0x49e91f['createRange'](_0x1b1894['modelRange']['start'],_0x1b1894['modelCursor']),_0x49e91f['remove'](_0xa92b7c);},{'priority':_0x244365['get']('lowest')-0x1});}),_0x3a0dd8['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x196777,{writer:_0xa33733})=>_0xa33733['createElement']('mergeField',{'id':_0x196777['getAttribute']('data-ck-merge-field')})}),_0x3a0dd8['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x272e95,{writer:_0x16679b})=>_0x16679b['createElement']('mergeFieldBlock',{'id':_0x272e95['getAttribute']('data-ck-merge-field')})}),_0x3a0dd8['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x3a0dd8['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x26e46d,{writer:_0x2f1793})=>this['_createMergeFieldWidget'](_0x26e46d,_0x2f1793,'text')}),_0x3a0dd8['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x54ba35,{writer:_0x4221a4,options:_0x2f074b})=>this['_createTextualMergeField'](_0x54ba35,_0x4221a4,_0x2f074b)}),_0x3a0dd8['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0xf91d15,{writer:_0x134301})=>this['_createMergeFieldWidget'](_0xf91d15,_0x134301,'block')}),_0x3a0dd8['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x40a16a,{writer:_0x4fc567,options:_0x30e0a5})=>this['_createTextualMergeField'](_0x40a16a,_0x4fc567,_0x30e0a5)}),_0x3a0dd8['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x3a0dd8['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x1f12af=>{_0x1f12af['on']('element:img',(_0x137e16,_0x3cffcf,_0x5f7bcd)=>{_0x5f7bcd['consumable']['test'](_0x3cffcf['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x5f7bcd['writer']['setAttribute']('src',this['wrapInAffixes'](_0x3cffcf['viewItem']['getAttribute']('data-ck-merge-field')),_0x3cffcf['modelCursor']['nodeBefore']),_0x5f7bcd['consumable']['consume'](_0x3cffcf['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x3a58b0){const _0x5bb1c5=this['editor']['plugins']['get']('ImageUtils'),_0x453bf7=(_0x5993cd,_0xb311cb,_0x462608)=>{if(!0x1!==_0x462608['consumable']['test'](_0xb311cb['item'],_0x5993cd['name']))return;if(!String(_0xb311cb['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x5c6393=_0x462608['writer'],_0x7bfd97=_0x462608['mapper']['toViewElement'](_0xb311cb['item']),_0x759ea5=_0x5bb1c5['findViewImgElement'](_0x7bfd97),_0x2340fa=String(_0xb311cb['attributeNewValue']),_0x26e40d=this['unwrapAffixes'](_0x2340fa),_0x1fdabf=_0x462608['options']['mergeFieldsData'];if(_0x462608['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x4942c4;return _0x4942c4='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x26e40d)||this['getLabel'](_0x26e40d)||this['wrapInAffixes'](_0x26e40d):this['getMergeFieldValue'](_0x26e40d,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x26e40d)||this['getLabel'](_0x26e40d)||this['wrapInAffixes'](_0x26e40d),_0x5c6393['setAttribute']('data-ck-merge-field',_0x26e40d,_0x759ea5),void _0x5c6393['setAttribute'](_0xb311cb['attributeKey'],_0x4942c4,_0x759ea5);}const _0x4f92fc=_0x1fdabf&&_0x1fdabf[_0x26e40d]?_0x1fdabf[_0x26e40d]:_0x2340fa;_0x5c6393['setAttribute'](_0xb311cb['attributeKey'],_0x4f92fc,_0x759ea5);};return _0x3acafc=>{_0x3acafc['on']('attribute:src:'+_0x3a58b0,_0x453bf7,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x2ef7d1){const _0xc96d53=this['editor']['plugins']['get']('ImageUtils'),_0x1c68ad=(_0x3b85ec,_0x429c4a,_0x14afa3)=>{if(!0x1!==_0x14afa3['consumable']['test'](_0x429c4a['item'],_0x3b85ec['name']))return;if(!String(_0x429c4a['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x552d66=_0x14afa3['writer'],_0x1575e9=_0x14afa3['mapper']['toViewElement'](_0x429c4a['item']),_0x2918dd=_0xc96d53['findViewImgElement'](_0x1575e9),_0x44285f=String(_0x429c4a['attributeNewValue']),_0x4a5e3d=this['unwrapAffixes'](_0x44285f),_0x2f0184=this['getMergeFieldDefaultValue'](_0x4a5e3d),_0x112f1f='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x3bdc33,_0x40c057='',_0x35b637='';if('$labels'===this['previewMode'])_0x3bdc33=_0x112f1f;else{if('$defaultValues'===this['previewMode'])_0x2f0184?(_0x3bdc33=_0x2f0184,_0x35b637='\x20ck-merge-field-image_with-value'):(_0x3bdc33=_0x112f1f,_0x40c057='WARNING_MISSING_DEFAULT_VALUE',_0x35b637='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x3976d1=this['getMergeFieldValue'](_0x4a5e3d,this['previewMode']);_0x3976d1?(_0x3bdc33=_0x3976d1,_0x35b637='\x20ck-merge-field-image_with-value'):_0x2f0184?(_0x3bdc33=_0x2f0184,_0x35b637='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x40c057='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x3bdc33=_0x112f1f,_0x35b637='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x40c057='WARNING_MISSING_DATA');}}if(_0x552d66['addClass']('ck-merge-field-image'+_0x35b637,_0x1575e9),_0x552d66['setAttribute'](_0x429c4a['attributeKey'],_0x3bdc33,_0x2918dd),'$labels'===this['previewMode']){const _0x216fbc='imageInline'===_0x2ef7d1?'span':'div',_0x5c567d=this['_mergeFieldPrefix'],_0x26e846=this['_mergeFieldSuffix'],_0x4dca6e=_0x552d66['createContainerElement'](_0x216fbc,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x552d66['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x36d178){const _0x14feea=this['toDomElement'](_0x36d178);return _0x14feea['innerHTML']=_0x5c567d,_0x14feea;}),_0x552d66['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x552d66['createText'](this['getLabel'](_0x4a5e3d)||_0x4a5e3d)),_0x552d66['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1e8ed6){const _0x2d9365=this['toDomElement'](_0x1e8ed6);return _0x2d9365['innerHTML']=_0x26e846,_0x2d9365;})]);_0x552d66['insert'](_0x552d66['createPositionAt'](_0x1575e9,'end'),_0x4dca6e),_0x552d66['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x4a5e3d)||_0x4a5e3d,_0x4dca6e);}else{if(_0x40c057&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x40c057)){const _0x4ed8f2='imageInline'===_0x2ef7d1?'span':'div',_0x2aef12=_0x35b637['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x5b7c39=_0x552d66['createContainerElement'](_0x4ed8f2,{'class':'ck-merge-field'+_0x2aef12,'data-cke-tooltip-instant':'true'},[_0x552d66['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x552d66['createText'](this['getLabel'](_0x4a5e3d)||_0x4a5e3d))]),_0x4d72b9=_0x552d66['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x5ce007){const _0x2c6e76=this['toDomElement'](_0x5ce007),_0x2c04b3=new _0x1bf0d6();return _0x2c04b3['set']({'content':_0x14772e}),_0x2c04b3['render'](),_0x2c6e76['appendChild'](_0x2c04b3['element']),_0x2c6e76;});_0x552d66['insert'](_0x552d66['createPositionAt'](_0x5b7c39,'end'),_0x4d72b9),_0x552d66['insert'](_0x552d66['createPositionAt'](_0x1575e9,'end'),_0x5b7c39),_0x552d66['setCustomProperty']('mergeFieldStatus',_0x40c057,_0x5b7c39),_0x552d66['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x4a5e3d)||_0x4a5e3d,_0x5b7c39);}}_0x552d66['setAttribute']('data-merge-field-name',_0x4a5e3d,_0x1575e9),_0x40c057&&_0x552d66['setCustomProperty']('mergeFieldStatus',_0x40c057,_0x1575e9);};return _0x1866ac=>{_0x1866ac['on']('attribute:src:'+_0x2ef7d1,_0x1c68ad,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x12e2fd,_0x53dd20){if(!_0x53dd20['target'])return null;const _0x2e701f=_0x53dd20['target']['parentElement'];return _0x2e701f&&_0x2e701f['classList']['contains']('ck-merge-field-image')?new _0x2e8e7a(_0x2e701f,_0x290e98=>{const _0x2fec65=_0x290e98['target'],_0x468ea2=_0x2fec65['querySelector']('.ck-merge-field'),_0x1a1d2e=_0x2fec65['querySelector']('.ck-merge-field__content');_0x468ea2&&_0x1a1d2e&&(_0x1a1d2e['scrollWidth']>_0x1a1d2e['getBoundingClientRect']()['width']?_0x468ea2['removeAttribute']('data-cke-tooltip-disabled'):_0x468ea2['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x12cb77,_0x1ec8d1,_0x27b5b4){const {label:_0x24d0b0,classes:_0x14c2fe,status:_0xf6eacb,height:_0x4bc750}=this['_prepareViewElementData'](_0x12cb77),_0x4cb8a2=this['_mergeFieldPrefix'],_0x4162c3=this['_mergeFieldSuffix'],_0x1f4de8=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x5a616c='text'===_0x27b5b4?'span':'div';let _0x1b7b61;if('$labels'===this['previewMode'])_0x1b7b61=_0x1ec8d1['createContainerElement'](_0x5a616c,{'class':_0x14c2fe},[_0x1ec8d1['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4e9b16){const _0x586335=this['toDomElement'](_0x4e9b16);return _0x586335['innerHTML']=_0x4cb8a2,_0x586335;}),_0x1ec8d1['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1ec8d1['createText'](String(_0x24d0b0))),_0x1ec8d1['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x15d008){const _0x2cd47b=this['toDomElement'](_0x15d008);return _0x2cd47b['innerHTML']=_0x4162c3,_0x2cd47b;})]);else{if(_0xf6eacb){const _0x184f76=this['_shouldPreviewHtmlValues']?_0x1ec8d1['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x4aa91f,_0x27475e){_0x27475e['setContentOf'](_0x4aa91f,_0x1f4de8(_0x24d0b0)['html']);}):_0x1ec8d1['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1ec8d1['createText'](_0x24d0b0));if(_0x1b7b61=_0x1ec8d1['createContainerElement'](_0x5a616c,{'class':_0x14c2fe},[_0x184f76]),'text'===_0x27b5b4||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xf6eacb)){const _0x138ffa=_0x1ec8d1['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x2694ff){const _0x2c449c=this['toDomElement'](_0x2694ff),_0x5d0621=new _0x1bf0d6();return _0x5d0621['set']({'content':_0x14772e}),_0x5d0621['render'](),_0x2c449c['appendChild'](_0x5d0621['element']),_0x2c449c;});_0x1ec8d1['insert'](_0x1ec8d1['createPositionAt'](_0x1b7b61,'end'),_0x138ffa);}_0x1ec8d1['setCustomProperty']('mergeFieldStatus',_0xf6eacb,_0x1b7b61);}else{const _0x412bfd=this['_shouldPreviewHtmlValues']?_0x1ec8d1['createRawElement'](_0x5a616c,{},function(_0x53e2f5,_0x313529){_0x313529['setContentOf'](_0x53e2f5,_0x1f4de8(_0x24d0b0)['html']);}):_0x1ec8d1['createText'](_0x24d0b0);_0x1b7b61=_0x1ec8d1['createContainerElement'](_0x5a616c,{'class':_0x14c2fe},_0x412bfd);}}if('block'===_0x27b5b4){const _0x71951b=_0x1ec8d1['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x1b7b61]);if(('$labels'===this['previewMode']||_0xf6eacb&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xf6eacb))&&_0x1ec8d1['setAttribute']('style','height:\x20'+_0x4bc750+'px',_0x71951b),_0x1b7b61['hasClass']('ck-merge-field_with-value'))_0x1ec8d1['addClass']('ck-merge-field-block_with-value',_0x71951b);else{if(_0x1b7b61['hasClass']('ck-merge-field_with-warning')){for(const _0x505947 of _0x1b7b61['getClassNames']())if('ck-merge-field'!==_0x505947){const _0x7338b6=_0x505947['replace']('ck-merge-field','ck-merge-field-block');_0x1ec8d1['addClass'](_0x7338b6,_0x71951b);}_0x1ec8d1['setCustomProperty']('mergeFieldStatus',_0xf6eacb,_0x71951b);}}return _0x1ec8d1['setCustomProperty']('mergeFieldBlock',!0x0,_0x71951b),_0x1ec8d1['setAttribute']('data-merge-field-name',_0x12cb77['getAttribute']('id'),_0x71951b),_0xc2ea3(_0x71951b,_0x1ec8d1,{'hasSelectionHandle':!0x0});}return _0x1ec8d1['setCustomProperty']('mergeField',!0x0,_0x1b7b61),_0x1ec8d1['setAttribute']('data-merge-field-name',_0x12cb77['getAttribute']('id'),_0x1b7b61),_0xc2ea3(_0x1b7b61,_0x1ec8d1);}['_prepareViewElementData'](_0x324fea){const _0x27ea6e=_0x324fea['getAttribute']('id'),_0x263b6b=this['getDefinition'](_0x27ea6e);if(!_0x263b6b)return'$labels'===this['previewMode']?{'label':_0x27ea6e,'classes':'ck-merge-field'}:{'label':_0x27ea6e,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x674897=this['getLabel'](_0x27ea6e)||_0x27ea6e,_0x5ed9a7=this['getMergeFieldDefaultValue'](_0x27ea6e),_0x55a9a8=this['getMergeFieldHeight'](_0x27ea6e);if('$labels'===this['previewMode'])return{'label':_0x674897,'height':_0x55a9a8,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x5ed9a7?{'label':_0x5ed9a7,'height':_0x55a9a8,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x674897,'height':_0x55a9a8,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x5294ba=this['getMergeFieldValue'](_0x263b6b['id'],this['previewMode']);return _0x5294ba?{'label':_0x5294ba,'height':_0x55a9a8,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x5ed9a7?{'label':_0x5ed9a7,'height':_0x55a9a8,'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':_0x674897,'height':_0x55a9a8,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0xce7fc8,_0x44e837,_0x686a36){const _0x4b750c=_0xce7fc8['getAttribute']('id');let _0x17612b;if(_0x686a36['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x4b750c,_0x44e837);const _0x56584c=_0x686a36['mergeFieldsData'],_0x324f0e=_0x56584c&&_0x56584c[_0x4b750c]?_0x56584c[_0x4b750c]:this['wrapInAffixes'](_0x4b750c);if(_0x56584c)_0x17612b=_0x44e837['createRawElement']('span',{},function(_0x15ad94,_0x5cffb5){_0x5cffb5['setContentOf'](_0x15ad94,String(_0x324f0e));});else{_0x17612b=_0x44e837['createContainerElement']('span');const _0x220981=_0x44e837['createText'](_0x324f0e);_0x44e837['insert'](_0x44e837['createPositionAt'](_0x17612b,'end'),_0x220981);}return _0x44e837['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x17612b),_0x17612b;}['_downcastForClipboard'](_0x3ebf96,_0x2552ee){const _0x284fc1='block'===this['getMergeFieldType'](_0x3ebf96)?'div':'span';let _0x1679d4,_0x263ca6;_0x1679d4='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x3ebf96)||this['getLabel'](_0x3ebf96)||this['wrapInAffixes'](_0x3ebf96):this['getMergeFieldValue'](_0x3ebf96,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x3ebf96)||this['getLabel'](_0x3ebf96)||this['wrapInAffixes'](_0x3ebf96);const _0x51cfc1=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x263ca6=this['_shouldPreviewHtmlValues']?_0x2552ee['createRawElement'](_0x284fc1,{'data-ck-merge-field':_0x3ebf96},function(_0x4c70b2,_0x2497f0){_0x2497f0['setContentOf'](_0x4c70b2,_0x51cfc1(_0x1679d4)['html']);}):_0x2552ee['createContainerElement'](_0x284fc1,{'data-ck-merge-field':_0x3ebf96},_0x2552ee['createText'](_0x1679d4)),_0x263ca6;}['_validatePreviewMode'](_0x11236c){if(!this['availablePreviewModes']['includes'](_0x11236c))throw new _0x37fbfa('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x11236c});}['_trackAddedMergeFields'](){for(const _0x5d495d of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x5d495d['type']||'$text'===_0x5d495d['name'])continue;if('mergeField'===_0x5d495d['name']||'mergeFieldBlock'===_0x5d495d['name']){this['_mergeFieldElements']['add'](_0x5d495d['position']['nodeAfter']);continue;}if('imageInline'===_0x5d495d['name']||'imageBlock'===_0x5d495d['name']&&_0x5d495d['attributes']['get']('src')&&String(_0x5d495d['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x5d495d['position']['nodeAfter']);continue;}const _0x525114=this['editor']['model']['createRangeIn'](_0x5d495d['position']['nodeAfter']);for(const _0x5b804c of _0x525114['getItems']())_0x5b804c['is']('element')&&this['isMergeField'](_0x5b804c)&&this['_mergeFieldElements']['add'](_0x5b804c);}}['_registerConversionPostFixer'](){const _0x1492b0=this['editor'];_0x1492b0['model']['document']['registerPostFixer'](_0x3e75a0=>{if(!_0x3e75a0['batch']['isLocal'])return!0x1;const _0x22258e=[],_0x394805=new Set(),_0x5eca97=this['_mergeFieldRegExp'];let _0x138225=!0x1;for(const _0x56adc0 of _0x1492b0['model']['document']['differ']['getChanges']())if('insert'===_0x56adc0['type']||'remove'===_0x56adc0['type']){let _0x26d076='$text'==_0x56adc0['name']?_0x56adc0['position']['parent']:_0x56adc0['position']['nodeAfter'];if(!_0x26d076)continue;_0x26d076['is']('$text')&&(_0x26d076=_0x26d076['parent']),_0x26ace4(_0x26d076);}for(const _0x2f4e1d of _0x22258e['reverse']()){const {match:_0xaac7f0,item:_0x35136b}=_0x2f4e1d,_0x1c756e=_0x3e75a0['createPositionAt'](_0x35136b,_0xaac7f0['index']),_0x10d78a=_0x1c756e['getShiftedBy'](_0xaac7f0[0x0]['length']),_0x50e12d=_0x3e75a0['createRange'](_0x1c756e,_0x10d78a),_0x519ba5=_0xaac7f0[0x0],_0x384252=this['unwrapAffixes'](_0x519ba5),_0x113d90=_0x34b8ad(_0x50e12d),_0x5726fc=this['getMergeFieldType'](_0x384252);if(np['test'](_0x384252)){if(_0x113d90['set']('id',_0x384252),'block'===_0x5726fc){const _0x2b2ea8=_0x3e75a0['createElement']('mergeFieldBlock',{'id':_0x384252});_0x3e75a0['remove'](_0x50e12d),_0x1492b0['model']['insertObject'](_0x2b2ea8,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x5726fc){const _0x2e2024=_0x3e75a0['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x384252)});_0x3e75a0['remove'](_0x50e12d),_0x1492b0['model']['insertObject'](_0x2e2024,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x1c8f72=_0x3e75a0['createElement']('mergeField',_0x113d90);_0x1492b0['model']['schema']['checkChild'](_0x50e12d['start'],'mergeField')?_0x1492b0['model']['insertObject'](_0x1c8f72,_0x50e12d):_0x3e75a0['remove'](_0x50e12d);}}_0x138225=!0x0;}}return _0x138225;function _0x26ace4(_0x4bb519){let _0x200fd4='',_0x347a32=0x0;if(!_0x394805['has'](_0x4bb519))for(const _0x161a53 of _0x4bb519['getChildren']()){const _0x3e1bb2=_0x161a53['nextSibling'];if(_0x161a53['is']('$text')&&(''===_0x200fd4&&_0x161a53['startOffset']&&(_0x347a32=_0x161a53['startOffset']),_0x200fd4+=_0x161a53['data']),!_0x3e1bb2||_0x3e1bb2['is']('element')){for(const _0x2506a2 of _0x200fd4['matchAll'](_0x5eca97))_0x2506a2['index']=_0x2506a2['index']+_0x347a32,_0x22258e['push']({'match':_0x2506a2,'item':_0x4bb519});_0x394805['add'](_0x4bb519),_0x200fd4='';}_0x161a53['is']('element')&&_0x26ace4(_0x161a53);}}function _0x34b8ad(_0x57a713){const _0x45cfd0=_0x57a713['getItems'](),_0x4048f8=_0x45cfd0['next']()['value'],_0x586c88=new Map(_0x4048f8['getAttributes']());for(const _0x3401d6 of _0x45cfd0)for(const [_0x4dc102,_0x5438d0]of _0x586c88)_0x3401d6['getAttribute'](_0x4dc102)!==_0x5438d0&&_0x586c88['delete'](_0x4dc102);return _0x586c88;}});}['_disableCommandOnMergeFields'](_0x5d08b){const _0x1825ba=this['editor'],_0x16c7c1=_0x1825ba['commands']['get'](_0x5d08b);_0x16c7c1&&_0x16c7c1['on']('set:isEnabled',(_0x3952b4,_0x4365e2,_0x397c30)=>{if(0x1==_0x397c30){const _0x3e864e=_0x1825ba['model']['document']['selection']['getSelectedElement']();_0x3e864e&&this['isMergeField'](_0x3e864e)&&(_0x3952b4['return']=!0x1,_0x3952b4['stop']());}});}}class MergeFieldsListView extends _0x3523c8{['filter'](_0xd4c9f9){return jt(_0xd4c9f9,this['items']);}}class MergeFieldsPanelView extends _0x3989d4{constructor(_0x5f4ec2){super(_0x5f4ec2),this['set']('text','');const _0x14f228=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':_0x14f228['to']('text')}]}]});}}function rp(_0x35bc5c,_0x34aaf4){const t=_0x35bc5c['t'];switch(_0x34aaf4){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 _0x34aaf4;}}class MergeFieldsUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,Dt,_0x328795];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2252ee){super(_0x2252ee),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x250c35=this['editor'];_0x250c35['ui']['componentFactory']['add']('insertMergeField',_0x401702=>{const _0x40745a=function(_0x23065e){const _0x381163=st(_0x23065e);return _0x381163['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x381163['buttonView']['set']({'label':rp(_0x23065e,'Insert\x20merge\x20field'),'icon':ti,'tooltip':!0x0}),_0x381163;}(_0x401702);return _0x40745a['bind']('isEnabled')['toMany']([_0x250c35['commands']['get']('insertMergeField'),_0x250c35['commands']['get']('insertMergeFieldBlock'),_0x250c35['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x1dbc67)=>_0x1dbc67['some'](_0x2c4a63=>_0x2c4a63)),_0x40745a['once']('change:isOpen',()=>{const _0x53c45d={'insertInline':_0x250c35['commands']['get']('insertMergeField'),'insertBlock':_0x250c35['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x250c35['commands']['get']('insertMergeFieldImage')},_0x281807=function(_0x70f731,_0x35f546,_0x4055bf){const _0x2c3829=new MergeFieldsListView(_0x70f731),_0x3a6042=[],_0x36139c=[];for(const _0x4265ba of _0x35f546)if('groupId'in _0x4265ba){const _0x5c5e65=op(_0x70f731,_0x4265ba['groupLabel']||_0x4265ba['groupId'],_0x4265ba['definitions'],_0x4055bf);_0x5c5e65['delegate']('execute')['to'](_0x2c3829),_0x36139c['push'](_0x5c5e65);}else _0x3a6042['push'](_0x4265ba);if(_0x3a6042['length']){const _0x16b011=op(_0x70f731,'Other',_0x3a6042,_0x4055bf);_0x16b011['delegate']('execute')['to'](_0x2c3829),_0x36139c['push'](_0x16b011);}return _0x2c3829['items']['addMany'](_0x36139c),_0x2c3829;}(_0x401702,_0x250c35['config']['get']('mergeFields.definitions'),_0x53c45d);_0x281807['delegate']('execute')['to'](_0x40745a),_0x40745a['on']('execute',(_0x4ac31f,_0x759c92)=>{const _0x205668=_0x250c35['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x759c92);'image'===_0x205668?_0x250c35['execute']('insertMergeFieldImage',_0x759c92):'block'===_0x205668?_0x250c35['execute']('insertMergeFieldBlock',_0x759c92):_0x250c35['execute']('insertMergeField',_0x759c92),_0x250c35['editing']['view']['focus']();});const _0x35b412=function(_0x529b40,_0x17ef79){return new At(_0x529b40,{'filteredView':_0x17ef79,'queryView':{'label':rp(_0x529b40,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':rp(_0x529b40,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':rp(_0x529b40,'No\x20merge\x20fields\x20available')}}}});}(_0x401702,_0x281807);_0x40745a['panelView']['children']['add'](_0x35b412),_0x40745a['on']('change:isOpen',(_0x4c3ee7,_0x102cb9,_0x88b78f)=>{_0x88b78f&&_0x35b412['reset']();});}),_0x40745a;}),_0x250c35['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x5bcee9=>{const _0x474e13=new rt(_0x5bcee9),_0x40e09c={'insertInline':_0x250c35['commands']['get']('insertMergeField'),'insertBlock':_0x250c35['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x250c35['commands']['get']('insertMergeFieldImage')};_0x474e13['buttonView']['set']({'label':rp(_0x5bcee9,'Merge\x20field'),'icon':ti}),_0x474e13['bind']('isEnabled')['toMany']([...Object['values'](_0x40e09c)],'isEnabled',(..._0x268581)=>_0x268581['some'](_0x5a084f=>_0x5a084f));const _0x3e11a=[],_0x9c494=new ct(_0x5bcee9);for(const _0x53313e of _0x250c35['config']['get']('mergeFields.definitions'))if('groupId'in _0x53313e){const _0x180691=new lt(_0x5bcee9,_0x474e13),_0x4f4f43=cp(_0x5bcee9,_0x53313e,_0x40e09c);_0x180691['children']['add'](_0x4f4f43),_0x4f4f43['delegate']('execute')['to'](_0x474e13),_0x9c494['items']['add'](_0x180691);}else _0x3e11a['push'](_0x53313e);if(_0x3e11a['length']){if(0x0===_0x9c494['items']['length'])for(const _0x51d83c of _0x3e11a){let _0x99c741;_0x99c741='block'===_0x51d83c['type']?_0x40e09c['insertBlock']:'image'===_0x51d83c['type']?_0x40e09c['insertImage']:_0x40e09c['insertInline'];const _0x25dda0=lp(_0x5bcee9,_0x51d83c,_0x474e13,_0x99c741);_0x9c494['items']['add'](_0x25dda0);}else{const _0x2780e3=new lt(_0x5bcee9,_0x474e13),_0x3489f3=cp(_0x5bcee9,{'groupId':'Other','definitions':_0x3e11a},_0x40e09c);_0x2780e3['children']['add'](_0x3489f3),_0x3489f3['delegate']('execute')['to'](_0x474e13),_0x9c494['items']['add'](_0x2780e3);}}return _0x474e13['panelView']['children']['add'](_0x9c494),_0x474e13['on']('execute',(_0x3aa687,_0x317f41)=>{const _0x3e3e93=_0x250c35['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x317f41);'image'===_0x3e3e93?_0x250c35['execute']('insertMergeFieldImage',_0x317f41):'block'===_0x3e3e93?_0x250c35['execute']('insertMergeFieldBlock',_0x317f41):_0x250c35['execute']('insertMergeField',_0x317f41),_0x250c35['editing']['view']['focus']();}),_0x474e13;});const _0x17734e=_0x250c35['config']['get']('mergeFields.previewModes'),_0x3c7b58=[];if(_0x17734e['includes']('$labels')&&_0x3c7b58['push']({'type':'button','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':rp(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x17734e['includes']('$defaultValues')&&_0x3c7b58['push']({'type':'button','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':rp(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x17734e['includes']('$dataSets')){const _0x392da6=_0x250c35['config']['get']('mergeFields.dataSets');if(_0x392da6['length']){for(const _0x25f512 of _0x392da6)_0x3c7b58['push']({'type':'button','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':_0x25f512['label']||_0x25f512['id'],'commandValue':_0x25f512['id']})});}}_0x250c35['ui']['componentFactory']['add']('previewMergeFields',_0x442b8c=>{const _0x4b28c2=_0x250c35['commands']['get']('previewMergeFields'),_0x1e2d22=new _0x4711ed();for(const _0x1230b5 of Cr(_0x3c7b58))_0x1230b5['model']['bind']('isOn')['to'](_0x4b28c2,'value',_0x19cc68=>_0x19cc68===_0x1230b5['model']['commandValue']),_0x1e2d22['add'](_0x1230b5);const _0x2aa31d=st(_0x442b8c),_0x8d0206=rp(_0x442b8c,'Merge\x20fields\x20preview');return _0x2aa31d['bind']('isEnabled')['to'](_0x4b28c2),gt(_0x2aa31d,_0x1e2d22,{'ariaLabel':_0x8d0206,'role':'menu'}),_0x2aa31d['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x2aa31d['buttonView']['set']({'label':_0x8d0206,'ariaLabel':_0x8d0206,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x46c28a,'tooltip':!0x0}),this['listenTo'](_0x2aa31d,'execute',_0x28dfcf=>{const {commandValue:_0x3493d7}=_0x28dfcf['source'];_0x250c35['execute']('previewMergeFields',_0x3493d7),_0x250c35['editing']['view']['focus']();}),_0x2aa31d;}),_0x250c35['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x2d4af2=>{const _0x5c9cde=new rt(_0x2d4af2),_0x2ccb69=_0x250c35['commands']['get']('previewMergeFields');_0x5c9cde['buttonView']['set']({'label':rp(_0x2d4af2,'Merge\x20fields\x20preview'),'icon':_0x46c28a}),_0x5c9cde['bind']('isEnabled')['to'](_0x2ccb69);const _0x379601=new ct(_0x2d4af2);_0x379601['set']({'ariaLabel':rp(_0x2d4af2,'Merge\x20fields\x20preview')});for(const _0x1bc3c6 of Cr(_0x3c7b58)){const _0x571bf5=new lt(_0x2d4af2,_0x5c9cde),_0x5aeb1a=new ot(_0x2d4af2);_0x1bc3c6['model']['bind']('isOn')['to'](_0x2ccb69,'value',_0x3c403a=>_0x3c403a===_0x1bc3c6['model']['commandValue']),_0x5aeb1a['isToggleable']=!0x0,_0x5aeb1a['bind'](...Object['keys'](_0x1bc3c6['model']))['to'](_0x1bc3c6['model']),_0x5aeb1a['delegate']('execute')['to'](_0x5c9cde),_0x5aeb1a['on']('execute',_0x34cbe6=>{const {commandValue:_0x47a5f8}=_0x34cbe6['source'];_0x250c35['execute']('previewMergeFields',_0x47a5f8),_0x250c35['editing']['view']['focus']();}),_0x571bf5['children']['add'](_0x5aeb1a),_0x379601['items']['add'](_0x571bf5);}return _0x5c9cde['panelView']['children']['add'](_0x379601),_0x5c9cde;}),this['_balloon']=_0x250c35['plugins']['get'](Dt),this['listenTo'](_0x250c35['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x250c35['ui']['focusTracker'],'change:isFocused',(_0x129452,_0x2fc663,_0x1d66f6)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x1d66f6?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b35be=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13f7ab;for(const _0x4de5db in _0x4b35be){const _0x2c5630=_0x4de5db,_0x183e26=_0x4b35be[_0x2c5630];if('mergeFieldsLicenseKeyValid'==_0x183e26||'mergeFieldsLicenseKeyInvalid'==_0x183e26||'mergeFieldsLicenseKeyExpired'==_0x183e26||'mergeFieldsLicenseKeyDomainLimit'==_0x183e26||'mergeFieldsLicenseKeyNotAllowed'==_0x183e26||'mergeFieldsLicenseKeyEvaluationLimit'==_0x183e26||'mergeFieldsLicenseKeyUsageLimit'==_0x183e26){delete _0x4b35be[_0x2c5630],_0x13f7ab=_0x183e26,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x13f7ab&&_0x4b35be['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x13f7ab&&_0x4b35be['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x13f7ab&&_0x4b35be['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x13f7ab&&_0x4b35be['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x13f7ab&&_0x4b35be['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x13f7ab&&_0x4b35be['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x415803=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x223e13=!(!_0x415803||!_0x415803['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x223e13){const _0x3f897b=_0x415803['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=rp(this['editor']['locale'],_0x3f897b),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x223e13){const _0x49d262=_0x415803['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](rp(this['editor']['locale'],_0x49d262));}}}['_showBalloon'](_0x125814){this['_balloonPanelView']||(this['_balloonPanelView']=new MergeFieldsPanelView(this['editor']['locale']),this['_balloonPanelView']['text']=_0x125814),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x159fc2=this['editor']['editing']['view'];return{'target':()=>{const _0xb90116=_0x159fc2['document']['selection']['getFirstRange'](),_0x325a6e=_0x159fc2['domConverter']['mapViewToDom'](_0xb90116['getContainedElement']());return _0x325a6e?Array['from'](_0x325a6e['getClientRects']())[0x0]:_0x159fc2['domConverter']['viewRangeToDom'](_0xb90116);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x45223a=>_0x45223a))return;const _0x2bcbb1=this['editor']['config']['get']('mergeFields.previewModes');_0x2bcbb1['indexOf']('$defaultValues')>-0x1&&_0x2bcbb1['length']>0x1&&(_0x2bcbb1['splice'](_0x2bcbb1['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x2bcbb1));}['_removeMenuBarButtonIfUnnecessary'](){const _0x15c643=this['editor']['config'];if(_0x15c643['get']('mergeFields.previewModes')){const _0x28d833=_0x15c643['get']('mergeFields.previewModes');if(0x1===_0x28d833['length']){if(_0x28d833['includes']('$dataSets'))0x1===_0x15c643['get']('mergeFields.dataSets')['length']&&_0x563975();else _0x563975();}}function _0x563975(){const _0xaa5de=_0x15c643['get']('menuBar.removeItems');_0xaa5de?(_0xaa5de['push']('menuBar:previewMergeFields'),_0x15c643['set']('menuBar.removeItems',_0xaa5de)):_0x15c643['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x52e499=this['editor'],_0x1d800a=_0x52e499['config']['get']('mention.feeds'),_0x3b3ddc=_0x52e499['config']['get']('mergeFields.prefix');_0x1d800a['push']({'marker':_0x3b3ddc,'dropdownLimit':0xa,'feed':_0x3dec9e=>_0x52e499['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x3d4586=>{const _0x489705=_0x52e499['commands']['get']('insertMergeField')['isEnabled'],_0x13319e=_0x52e499['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x572971=_0x52e499['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x3af725=_0x52e499['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3d4586['id']);if('text'===_0x3af725&&!_0x489705)return!0x1;if('block'===_0x3af725&&!_0x13319e)return!0x1;if('image'===_0x3af725&&!_0x572971)return!0x1;return(_0x52e499['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x3d4586['id'])||_0x3d4586['id'])['toLowerCase']()['includes'](_0x3dec9e['toLowerCase']());}),'itemRenderer':_0x459040=>{const _0x58610d=document['createElement']('button');return _0x58610d['innerHTML']=''+(_0x459040['label']||_0x459040['id']),_0x58610d;}}),_0x52e499['config']['set']('mention.feeds',_0x1d800a);}['_overrideMentionExecuteListener'](){const _0x32a141=this['editor'];_0x32a141['commands']['get']('mention')['on']('execute',(_0x56a301,_0x1545c7)=>{const _0x42bfe8=_0x1545c7[0x0];_0x42bfe8['marker']===_0x32a141['config']['get']('mergeFields.prefix')&&_0x32a141['model']['change'](_0x76b3a1=>{_0x76b3a1['remove'](_0x42bfe8['range']);const _0x340cff=_0x42bfe8['mention']['id'],_0x176d09=_0x32a141['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x340cff);'text'===_0x176d09?_0x32a141['execute']('insertMergeField',_0x340cff):'block'===_0x176d09?_0x32a141['execute']('insertMergeFieldBlock',_0x340cff,!0x1):_0x32a141['execute']('insertMergeFieldImage',_0x340cff,{'breakBlock':!0x0}),_0x56a301['stop']();});},{'priority':'high'});}}function op(_0x5805d1,_0x593d8d,_0x3b0459,_0x5a0f13){const _0x37bb52=new _0x3a6dc5(_0x5805d1,new Ht());_0x37bb52['label']=_0x593d8d;for(const _0x4b84fd of _0x3b0459){let _0x52c47a;_0x52c47a='block'===_0x4b84fd['type']?_0x5a0f13['insertBlock']:'image'===_0x4b84fd['type']?_0x5a0f13['insertImage']:_0x5a0f13['insertInline'];const _0x2994a9=ap(_0x5805d1,_0x4b84fd,_0x52c47a);_0x2994a9['delegate']('execute')['to'](_0x37bb52),_0x37bb52['items']['add'](_0x2994a9);}return _0x37bb52;}function ap(_0x4346db,_0x55a2f8,_0x1d4118){const _0x170461=new _0x5d952b(_0x4346db),_0x508282=new St(),_0x39c1e5=new _0x2e803a(_0x4346db,_0x508282);return _0x170461['children']['add'](_0x39c1e5),_0x39c1e5['set']({'label':_0x55a2f8['label']||_0x55a2f8['id'],'withText':!0x0}),_0x39c1e5['bind']('isEnabled')['to'](_0x1d4118),_0x39c1e5['on']('execute',()=>{_0x170461['fire']('execute',_0x55a2f8['id']);}),_0x170461;}function cp(_0x372f29,_0x57e19c,_0x405013){const _0x594de2=new rt(_0x372f29),_0x5a7e8e=new ct(_0x372f29);for(const _0x3abe2d of _0x57e19c['definitions']){let _0x5760dd;_0x5760dd='block'===_0x3abe2d['type']?_0x405013['insertBlock']:'image'===_0x3abe2d['type']?_0x405013['insertImage']:_0x405013['insertInline'];const _0x39c649=lp(_0x372f29,_0x3abe2d,_0x594de2,_0x5760dd);_0x5a7e8e['items']['add'](_0x39c649);}return _0x594de2['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x594de2['buttonView']['set']({'label':_0x57e19c['groupLabel']||_0x57e19c['groupId']}),_0x594de2['panelView']['children']['add'](_0x5a7e8e),_0x594de2;}function lp(_0x517dd4,_0x5a6339,_0x17fa1e,_0x49e6f2){const _0x3f6be3=new lt(_0x517dd4,_0x17fa1e),_0x5ee076=new ot(_0x517dd4);return _0x5ee076['set']({'label':_0x5a6339['label']||_0x5a6339['id']}),_0x3f6be3['delegate']('execute')['to'](_0x17fa1e),_0x3f6be3['children']['add'](_0x5ee076),_0x5ee076['bind']('isEnabled')['to'](_0x49e6f2),_0x5ee076['on']('execute',()=>{_0x3f6be3['fire']('execute',_0x5a6339['id']);}),_0x3f6be3;}class MergeFields extends _0x13517b{static get['requires'](){return[MergeFieldsEditing,MergeFieldsUI];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x13517b{['_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 _0xd86012('pagination-config-not-found',this['editor']['config']);const _0x53828f=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x53828f),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x4918ea,_0x58acb8,_0x29fbe1)=>{_0x29fbe1&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xc98618){const _0x41f785=_0x4b0a2d([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]),_0x20e570=0xc82cb1e,_0x5e6a06=0xc8544de^_0x20e570,_0x3fd2eb=window[_0x4b0a2d([0x44,0x61,0x74,0x65])][_0x4b0a2d([0x6e,0x6f,0x77])](),_0x4d9908=_0xc98618[_0x4b0a2d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x549388=new window[(_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b9f0d=>{_0x4d9908[_0x4b0a2d([0x6f,0x6e,0x63,0x65])](_0x4b0a2d([0x72,0x65,0x61,0x64,0x79]),_0x3b9f0d);}),_0x8b55d8={[_0x4b0a2d([0x6b,0x74,0x79])]:_0x4b0a2d([0x45,0x43]),[_0x4b0a2d([0x75,0x73,0x65])]:_0x4b0a2d([0x73,0x69,0x67]),[_0x4b0a2d([0x63,0x72,0x76])]:_0x4b0a2d([0x50,0x2d,0x32,0x35,0x36]),[_0x4b0a2d([0x78])]:_0x4b0a2d([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]),[_0x4b0a2d([0x79])]:_0x4b0a2d([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]),[_0x4b0a2d([0x61,0x6c,0x67])]:_0x4b0a2d([0x45,0x53,0x32,0x35,0x36])},_0x4f2200=_0x4d9908[_0x4b0a2d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b0a2d([0x67,0x65,0x74])](_0x4b0a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45988f(){let _0x1266a2,_0x4d2c52=null,_0x4fd4c0=null;try{if(_0x4f2200==_0x4b0a2d([0x47,0x50,0x4c]))return _0x4b0a2d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1266a2=_0x9674c7(),!_0x1266a2)return _0x4b0a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1266a2[_0x4b0a2d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fd4c0=_0x86ff79(_0x1266a2[_0x4b0a2d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1266a2[_0x4b0a2d([0x6a,0x74,0x69])])),await _0x1533fe()?_0x5e7678()?_0x535a86()?_0x4b0a2d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b92f4()?(_0x1266a2[_0x4b0a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b0a2d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d2c52=_0x2ae44e(_0x4b0a2d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x238bb5()):_0x4b0a2d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b0a2d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b0a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b0a2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x535a86(){const _0x15fbe8=[_0x4b0a2d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b0a2d([0x74,0x72,0x69,0x61,0x6c])][_0x4b0a2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1266a2[_0x4b0a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fd2eb/0x3e8:0xe10*_0x5e6a06;return _0x1266a2[_0x4b0a2d([0x65,0x78,0x70])]<_0x15fbe8;}function _0x5e7678(){const _0x3bea3d=_0x1266a2[_0x4b0a2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bea3d&&(!!_0x3bea3d[_0x4b0a2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a2d([0x2a]))||!!_0x3bea3d[_0x4b0a2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a2d([0x50,0x41,0x47])));}function _0x1b92f4(){const _0x3f259f=_0x1266a2[_0x4b0a2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f259f||0x0==_0x3f259f[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc45754}=new URL(window[_0x4b0a2d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f259f[_0x4b0a2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc45754))return!0x0;const _0x5dfb2c=_0xc45754[_0x4b0a2d([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a2d([0x2e]));return _0x3f259f[_0x4b0a2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bd580=>_0x5bd580[_0x4b0a2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a2d([0x2a])))[_0x4b0a2d([0x6d,0x61,0x70])](_0x1fc11c=>_0x1fc11c[_0x4b0a2d([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a2d([0x2e])))[_0x4b0a2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50e279=>_0x50e279[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5dfb2c[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b0a2d([0x6d,0x61,0x70])](_0x1470a0=>Array(_0x5dfb2c[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1470a0[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b0a2d([0x66,0x69,0x6c,0x6c])](_0x1470a0[0x0]===_0x4b0a2d([0x2a])?_0x4b0a2d([0x2a]):'')[_0x4b0a2d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1470a0))[_0x4b0a2d([0x73,0x6f,0x6d,0x65])](_0xbb230f=>_0x5dfb2c[_0x4b0a2d([0x65,0x76,0x65,0x72,0x79])]((_0x80bad4,_0x3395df)=>_0xbb230f[_0x3395df]===_0x80bad4||_0xbb230f[_0x3395df]===_0x4b0a2d([0x2a])));}function _0x238bb5(){return _0x4d2c52&&_0x4fd4c0?new window[(_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23dc4c,_0x1407f3)=>{_0x4d2c52[_0x4b0a2d([0x74,0x68,0x65,0x6e])](_0x23dc4c,_0x1407f3),_0x4fd4c0[_0x4b0a2d([0x74,0x68,0x65,0x6e])](_0x39747d=>{_0x39747d!=_0x4b0a2d([0x56,0x61,0x6c,0x69,0x64])&&_0x23dc4c(_0x39747d);},_0x1407f3);}):_0x4d2c52||_0x4fd4c0||_0x4b0a2d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x86ff79(_0x1c23eb,_0x948c9b){return new window[(_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309e0c=>{if(_0x6708a9())return _0x309e0c(_0x4b0a2d([0x56,0x61,0x6c,0x69,0x64]));_0x43409f(),_0x4d9908[_0x4b0a2d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b0a2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c4c18=!0x1;const _0x10206b=_0x5c5c0c();function _0xc9b2d9(_0x2e47c2){return!!_0x2e47c2&&(typeof _0x2e47c2===_0x4b0a2d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e47c2===_0x4b0a2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e47c2[_0x4b0a2d([0x74,0x68,0x65,0x6e])]===_0x4b0a2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e47c2[_0x4b0a2d([0x63,0x61,0x74,0x63,0x68])]===_0x4b0a2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46fa4c(_0x1db56f){_0x5a05b2(_0x1db56f)[_0x4b0a2d([0x74,0x68,0x65,0x6e])](_0x49ef57=>{if(!_0x49ef57||_0x49ef57[_0x4b0a2d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b0a2d([0x6f,0x6b]))return _0x4b0a2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b66ab(_0x468f2c(_0x10206b+_0x948c9b))!=_0x49ef57[_0x4b0a2d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b0a2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b0a2d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b0a2d([0x74,0x68,0x65,0x6e])](_0x1fe192=>(_0x250ee0(),_0x1fe192),()=>{const _0xdafb3e=_0xada15f();return null==_0xdafb3e?(_0x250ee0(),_0x4b0a2d([0x56,0x61,0x6c,0x69,0x64])):_0x4b0a2d(_0x3fd2eb-_0xdafb3e>(0x288e4f1e^_0x20e570)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b0a2d([0x74,0x68,0x65,0x6e])](_0x309e0c)[_0x4b0a2d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x309e0c(_0x4b0a2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x297cad=0xcb4259e^_0x20e570;function _0x250ee0(){const _0x4c4ead=_0x4b0a2d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b66ab(_0x468f2c(_0x1c23eb)),_0x1db07a=_0x13ebe0(_0x4b66ab(window[_0x4b0a2d([0x4d,0x61,0x74,0x68])][_0x4b0a2d([0x63,0x65,0x69,0x6c])](_0x3fd2eb/_0x297cad)));window[_0x4b0a2d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b0a2d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c4ead,_0x1db07a);}function _0xada15f(){const _0x1360bd=_0x4b0a2d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b66ab(_0x468f2c(_0x1c23eb)),_0x4d3a32=window[_0x4b0a2d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b0a2d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1360bd);return _0x4d3a32?window[_0x4b0a2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ebe0(_0x4d3a32),0x10)*_0x297cad:null;}function _0x5a05b2(_0x5a49e6){return new window[(_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50f118,_0x2d2cc4)=>{_0x5a49e6[_0x4b0a2d([0x74,0x68,0x65,0x6e])](_0x50f118,_0x2d2cc4),window[_0x4b0a2d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d2cc4,0xc831fde^_0x20e570);});}}_0x4d9908[_0x4b0a2d([0x6f,0x6e])](_0x4b0a2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39b726,_0x3abcc2)=>{if(_0x3abcc2[0x0]!=_0x1c23eb)return _0x309e0c(_0x4b0a2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3abcc2[0x1]={..._0x3abcc2[0x1],[_0x4b0a2d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10206b};},{[_0x4b0a2d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b0a2d([0x68,0x69,0x67,0x68])}),_0x4d9908[_0x4b0a2d([0x6f,0x6e])](_0x4b0a2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x179a98=>{_0xc9b2d9(_0x179a98[_0x4b0a2d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c4c18=!0x0,_0x46fa4c(_0x179a98[_0x4b0a2d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b0a2d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b0a2d([0x6c,0x6f,0x77])}),_0x549388[_0x4b0a2d([0x74,0x68,0x65,0x6e])](()=>{_0x2c4c18||_0x309e0c(_0x4b0a2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6708a9(){return _0x4d9908[_0x4b0a2d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b0a2d([0x76,0x69,0x65,0x77])][_0x4b0a2d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b0a2d([0x61,0x75,0x74,0x6f]);}function _0x43409f(){_0x4d9908[_0x4b0a2d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b0a2d([0x76,0x69,0x65,0x77])][_0x4b0a2d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b0a2d([0x61,0x75,0x74,0x6f]);}}function _0x2ae44e(_0x18bc52){const _0x19a4ba=[new window[(_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23dc32=>setTimeout(_0x23dc32,0xc8bf5d2^_0x20e570)),_0x549388[_0x4b0a2d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dca03=>{let _0x4fb5d4=0x0;_0x4d9908[_0x4b0a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b0a2d([0x6f,0x6e])](_0x4b0a2d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d1b9b,_0x32b38b)=>{_0x32b38b[0x0][_0x4b0a2d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fb5d4++,_0x4fb5d4==(0xc82cef6^_0x20e570)&&(_0x1dca03(),_0x3d1b9b[_0x4b0a2d([0x6f,0x66,0x66])]());});}))];return window[_0x4b0a2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b0a2d([0x72,0x61,0x63,0x65])](_0x19a4ba)[_0x4b0a2d([0x74,0x68,0x65,0x6e])](()=>_0x18bc52);}async function _0x16f484(){await _0x549388,_0x4d9908[_0x4b0a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b0a2d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d9ae,_0x4d9908[_0x4b0a2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b0a2d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d9ae,_0x4d9908[_0x4b0a2d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b0a2d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x363221(_0x22a784){const _0x26be37=_0x7bdffa();_0x4d9908[_0x26be37]=_0x4b0a2d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22a784,_0x22a784!=_0x4b0a2d([0x56,0x61,0x6c,0x69,0x64])&&_0x16f484();}function _0x7bdffa(){const _0x2cd89e=window[_0x4b0a2d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b0a2d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b0a2d([0x6e,0x6f,0x77])]())[_0x4b0a2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b0a2d([0x2e]),'');let _0x5f598c=_0x4b0a2d([0x49]);for(let _0x308b1b=0x0;_0x308b1b<_0x2cd89e[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x308b1b+=0x2){let _0x25e2e3=window[_0x4b0a2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cd89e[_0x4b0a2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x308b1b,_0x308b1b+0x2));_0x25e2e3>=_0x41f785[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25e2e3-=_0x41f785[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f598c+=_0x41f785[_0x25e2e3];}return _0x5f598c;}function _0x9674c7(){const _0x3ad331=_0x4f2200[_0x4b0a2d([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a2d([0x2e]));if(0x3!=_0x3ad331[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13e31c(_0x3ad331[0x1]);function _0x13e31c(_0xca3c2e){const _0x342e4e=_0x2e4a15(_0xca3c2e);return _0x342e4e&&_0x2fad34()?_0x342e4e:null;function _0x2fad34(){const _0x4797ac=_0x342e4e[_0x4b0a2d([0x6a,0x74,0x69])],_0x2c0b5d=window[_0x4b0a2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4797ac[_0x4b0a2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4797ac[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbb745a={..._0x342e4e,[_0x4b0a2d([0x6a,0x74,0x69])]:_0x4797ac[_0x4b0a2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4797ac[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbb745a[_0x4b0a2d([0x76,0x63])],_0x468f2c(_0xbb745a)==_0x2c0b5d;}}}async function _0x1533fe(){let _0x95ecb1=!0x0;try{const _0x3c9e15=_0x4f2200[_0x4b0a2d([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a2d([0x2e])),[_0x23ff39,_0x118035,_0x599813]=_0x3c9e15;return _0x3f9e1e(_0x23ff39),await _0x14768c(_0x23ff39,_0x118035,_0x599813),_0x95ecb1;}catch{return!0x1;}function _0x3f9e1e(_0x2aa050){const _0x160263=_0x2e4a15(_0x2aa050);_0x160263&&_0x160263[_0x4b0a2d([0x61,0x6c,0x67])]==_0x4b0a2d([0x45,0x53,0x32,0x35,0x36])||(_0x95ecb1=!0x1);}async function _0x14768c(_0x10fbbf,_0x1e754e,_0x14e35f){const _0x35a0bb=window[_0x4b0a2d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b0a2d([0x66,0x72,0x6f,0x6d])](_0x38509f(_0x14e35f),_0x31d8a0=>_0x31d8a0[_0x4b0a2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d69a0=new window[(_0x4b0a2d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b0a2d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10fbbf+_0x4b0a2d([0x2e])+_0x1e754e),_0x65176=window[_0x4b0a2d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b0a2d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x65176)return;const _0x395d65=await _0x65176[_0x4b0a2d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b0a2d([0x6a,0x77,0x6b]),_0x8b55d8,{[_0x4b0a2d([0x6e,0x61,0x6d,0x65])]:_0x4b0a2d([0x45,0x43,0x44,0x53,0x41]),[_0x4b0a2d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b0a2d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b0a2d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x65176[_0x4b0a2d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b0a2d([0x6e,0x61,0x6d,0x65])]:_0x4b0a2d([0x45,0x43,0x44,0x53,0x41]),[_0x4b0a2d([0x68,0x61,0x73,0x68])]:{[_0x4b0a2d([0x6e,0x61,0x6d,0x65])]:_0x4b0a2d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x395d65,_0x35a0bb,_0x3d69a0)||(_0x95ecb1=!0x1);}}function _0x2e4a15(_0x2f5a24){return _0x2f5a24[_0x4b0a2d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b0a2d([0x65,0x79]))?JSON[_0x4b0a2d([0x70,0x61,0x72,0x73,0x65])](_0x38509f(_0x2f5a24)):null;}function _0x38509f(_0x4c8eeb){return window[_0x4b0a2d([0x61,0x74,0x6f,0x62])](_0x4c8eeb[_0x4b0a2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b0a2d([0x2b]))[_0x4b0a2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b0a2d([0x2f])));}function _0x468f2c(_0x43eba8){let _0x1f384e=0x1505;function _0x49fecf(_0x170cee){for(let _0x3a93d2=0x0;_0x3a93d2<_0x170cee[_0x4b0a2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a93d2++){const _0x5a3982=_0x170cee[_0x4b0a2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a93d2);_0x1f384e=(_0x1f384e<<0x5)+_0x1f384e+_0x5a3982,_0x1f384e&=_0x1f384e;}}function _0x51e8a3(_0x43fff3){Array[_0x4b0a2d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43fff3)?_0x43fff3[_0x4b0a2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51e8a3):_0x43fff3&&typeof _0x43fff3==_0x4b0a2d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b0a2d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43fff3)[_0x4b0a2d([0x73,0x6f,0x72,0x74])]()[_0x4b0a2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2900a8,_0x19da6f])=>{_0x49fecf(_0x2900a8),_0x51e8a3(_0x19da6f);}):_0x49fecf(window[_0x4b0a2d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43fff3));}return _0x51e8a3(_0x43eba8),_0x1f384e>>>0x0;}function _0x4b66ab(_0x4a76ff){return _0x4a76ff[_0x4b0a2d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b0a2d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b0a2d([0x30]));}function _0x13ebe0(_0x5ce54f){return _0x5ce54f[_0x4b0a2d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b0a2d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b0a2d([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d9ae(){}function _0x4b0a2d(_0x474680){return _0x474680['map'](_0x5c565b=>String['fromCharCode'](_0x5c565b))['join']('');}_0x363221(await _0x45988f());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3e1cce=this['editor'],_0x46b047=_0x3e1cce['editing']['view'],_0x3901f9=this['_getAttachedDomRoot']();if(!_0x3901f9||0x0===_0x3901f9['childElementCount'])return void _0x3e1cce['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x10718f,pageHeight:_0x2b3fbf}=_0x3e1cce['config']['get']('pagination'),{top:_0x1415f4,left:_0x3551,bottom:_0x7154e2,right:_0x36fb6d}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3989d4(_0x3e1cce['locale']);const _0x1cacd8=this['_pagesContainer'];_0x1cacd8['set']('class',''),_0x1cacd8['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x10718f,'width':_0x10718f,'height':'calc(\x20'+_0x2b3fbf+'\x20-\x20'+_0x1415f4+'\x20-\x20'+_0x7154e2+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x36fb6d+'\x200\x20'+_0x3551,'columnGap':'calc('+_0x3551+'\x20+\x20'+_0x36fb6d+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1cacd8['bindTemplate']['to']('class')}}),_0x1cacd8['render'](),_0x3901f9['parentNode']['insertBefore'](_0x1cacd8['element'],_0x3901f9['nextSibling']),this['listenTo'](_0x46b047,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x12b2cb of this['editor']['editing']['view']['domRoots']['values']())if(_0x12b2cb['ownerDocument']['body']['contains'](_0x12b2cb))return _0x12b2cb;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x3667e1=this['editor']['editing']['view'],_0x27561f=this['_pagesContainer'],_0x570f94=this['_getAttachedDomRoot']();if(!_0x570f94)return Promise['resolve']();for(_0x27561f['class']=['ck-reset','ck-pagination-view',..._0x570f94['classList']]['join']('\x20');_0x27561f['element']['firstChild'];)_0x27561f['element']['firstChild']['remove']();const _0x27454d=Array['from'](_0x3667e1['domRoots']);_0x27454d['sort'](([,_0x14a065],[,_0x4c9907])=>_0x14a065['compareDocumentPosition'](_0x4c9907)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x24f433,_0x21344e]of _0x27454d){const _0x48b34d=_0x21344e['cloneNode'](!0x0);'attributeStyleMap'in _0x48b34d&&_0x48b34d['attributeStyleMap']['clear'](),_0x48b34d['dataset']['rootName']=_0x24f433,_0x48b34d['className']='ck-content\x20ck-pagination_enabled',_0x48b34d['removeAttribute']('id'),_0x48b34d['tabIndex']=-0x1,_0x27561f['element']['append'](_0x48b34d);}const _0x5820cd=Array['from'](_0x27561f['element']['querySelectorAll']('img'));return function(_0x58a47d){return Promise['all'](_0x58a47d['map'](_0x3f7a1f=>Promise['race']([dp(_0x3f7a1f),fp(0x3e8)])));}(_0x5820cd)['then'](()=>{for(const _0x53b0de of _0x5820cd['filter'](_0x3f1734=>!_0x3f1734['closest']('table')))if(_0x53b0de['offsetParent']){const _0x414a0d=_0x4cdc9d['window']['getComputedStyle'](_0x53b0de),_0x4a771a=_0x4cdc9d['document']['createElement']('span');for(const _0x5176ac of _0x414a0d)_0x4a771a['style']['setProperty'](_0x5176ac,_0x414a0d[_0x5176ac]);_0x4a771a['style']['backgroundImage']='url(\x20'+_0x53b0de['src']+'\x20)',_0x4a771a['style']['breakInside']='avoid','PICTURE'==_0x53b0de['parentElement']?.['tagName']?_0x53b0de['parentElement']['replaceWith'](_0x4a771a):_0x53b0de['replaceWith'](_0x4a771a);}return new Promise(_0x235a0d=>_0x4cdc9d['window']['requestAnimationFrame'](()=>_0x235a0d()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x90b4c=this['_pagesContainer']['element'];if(!_0x90b4c['ownerDocument']['body']['contains'](_0x90b4c))return;const _0x4625c0=new _0x1faa00(_0x90b4c)['excludeScrollbarsAndBorders'](),_0x510daf=Math['floor'](_0x4625c0['width']+0x64),_0x816b18=Op(_0x90b4c,Math['floor'](_0x4625c0['left']-_0x90b4c['scrollLeft']),_0x510daf,_0x4625c0['height'])['map'](_0x46b4a4=>this['_mapPageStarterInfoToPageBreakInfo'](_0x46b4a4))['filter'](_0x97865f=>!0x1!==_0x97865f);_0x816b18['every'](_0x3f5c63=>!!_0x3f5c63)&&(this['pageBreaks']=_0x816b18);}['_mapPageStarterInfoToPageBreakInfo'](_0x23759c){const _0x1bb40d=this['editor']['editing']['view'],_0x5d74da=this['editor']['editing']['mapper'],_0x42d943=_0x1bb40d['domConverter'],_0x1e03db=_0x23759c['path']['shift'](),_0x37d22f=this['_pagesContainer']['element']['childNodes'][_0x1e03db]['dataset']['rootName'],_0x86073a=_0x1bb40d['getDomRoot'](_0x37d22f);if(!_0x86073a)return null;const _0x467f73=function(_0xc0be3f,_0x383d74){let _0x22fe08=_0xc0be3f;for(const _0x7a532 of _0x383d74['path']){if(!_0x22fe08)return null;_0x22fe08=_0x22fe08['childNodes'][_0x7a532];}return _0x22fe08;}(_0x86073a,_0x23759c);if(!_0x467f73)return null;const _0x271945=_0x42d943['domPositionToView'](_0x467f73,_0x23759c['textOffset']||0x0);return _0x271945?'manual'==_0x23759c['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x271945,_0x467f73):'text'==_0x23759c['type']&&_0x5d74da['toModelPosition'](_0x271945)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x271945,_0x467f73,_0x23759c['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x271945,_0x467f73,_0x23759c['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x58c276,_0x5e5f15){const _0x481e0c=this['editor']['model'],_0x61a68=this['editor']['editing']['mapper']['toModelElement'](_0x58c276['parent']),_0x5f5882=_0x481e0c['createRangeOn'](_0x61a68);return new PageBreakInfo({'type':'manual','modelRange':_0x5f5882,'domNode':_0x5e5f15,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x2f6960,_0x3cc623,_0x381241){const _0x2981d9=this['editor']['model'],_0x248249=this['editor']['editing']['mapper'],_0x3cdaca=this['editor']['editing']['view']['domConverter'];if(_0x381241>=_0x3cc623['length'])return null;const _0x59a62c=_0x248249['toModelPosition'](_0x2f6960),_0x5bedf7=_0x2981d9['createRange'](_0x59a62c),_0x3cd7ce=_0x248249['findMappedViewAncestor'](_0x2f6960),_0x351f44=_0x3cdaca['mapViewToDom'](_0x3cd7ce);return new PageBreakInfo({'type':'text','modelRange':_0x5bedf7,'domNode':_0x3cc623,'offset':hp(_0x3cc623,_0x381241,_0x351f44)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3e03e0,_0x5e9867,_0x5918f4){const _0x2b10c7=this['editor']['model'],_0x281df4=this['editor']['editing'],_0x4077e8=_0x281df4['mapper'],_0x24c7fa=_0x281df4['view']['domConverter'],_0x26aa45=_0x4077e8['findMappedViewAncestor'](_0x3e03e0),_0x81e7fc=_0x4077e8['toModelElement'](_0x26aa45);if(!_0x81e7fc||_0x81e7fc['is']('element','$root'))return!0x1;const _0x405dde=function(_0x4b2e8f){const _0x148cc5=_0x4b2e8f['parent'],_0x392c6d=_0x148cc5['root']['document']['model'],_0x5b797f=_0x148cc5['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x365687=null;for(const _0x20aab8 of _0x5b797f){if(_0x20aab8['is']('rootElement'))return _0x365687;if(!_0x392c6d['createPositionBefore'](_0x20aab8)['isTouching'](_0x4b2e8f))return _0x365687;_0x365687=_0x20aab8;}}(_0x2b10c7['createPositionBefore'](_0x81e7fc)),_0xa565d5=_0x405dde||_0x81e7fc;let _0x35b8d9=_0x4077e8['toViewElement'](_0xa565d5),_0x345456=_0x2b10c7['createRangeOn'](_0xa565d5);const _0x3ed191=_0x2b10c7['createPositionBefore'](_0xa565d5)['nodeBefore'];if(_0x3ed191&&_0x3ed191['is']('element','imageBlock')){const _0x5e7d6d=_0x4077e8['toViewElement'](_0x3ed191),_0x535536=_0x24c7fa['mapViewToDom'](_0x5e7d6d),_0x270401=_0x4cdc9d['window']['getComputedStyle'](_0x535536)['float'];'left'!=_0x270401&&'right'!=_0x270401||(_0x345456=_0x2b10c7['createRangeOn'](_0x3ed191));}for(;_0x35b8d9['parent']!==_0x35b8d9['root']&&0x0===_0x35b8d9['index'];)_0x35b8d9=_0x35b8d9['parent'];const _0x10cba6=new _0x1faa00(vp(_0x5e9867)?_0x5e9867:mp(_0x5e9867)),_0x1cb7ca=_0x5918f4?_0x10cba6['height']-_0x5918f4:0x0,_0x1d9b9f=_0x24c7fa['mapViewToDom'](_0x35b8d9),_0x40181a=new _0x1faa00(_0x1d9b9f);return new PageBreakInfo({'type':'element','modelRange':_0x345456,'domNode':_0x1d9b9f,'offset':Math['round'](_0x1cb7ca)||_0x26aa45!=up(_0x3e03e0)?_0x1cb7ca+_0x10cba6['top']-_0x40181a['top']:0x0});}get['_configuredPaddings'](){const _0x1fdca5=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1fdca5);}static['_findPageStarterInfos'](_0x17d959,_0x51bcd7,_0x31e001,_0x18c465,_0x5e4e9a){return Op(_0x17d959,_0x51bcd7,_0x31e001,_0x18c465,_0x5e4e9a);}}class PageBreakInfo{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x28b8f1,modelRange:_0x15bcfd,domNode:_0x36a481,offset:_0x43b5cb}){this['type']=_0x28b8f1,this['modelRange']=_0x15bcfd,this['_domNode']=_0x36a481,this['_offset']=_0x43b5cb;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x2c973d=new _0x1faa00(vp(this['_domNode'])?this['_domNode']:mp(this['_domNode']));return'manual'==this['type']?_0x2c973d['top']+_0x2c973d['height']/0x2:_0x2c973d['top']+this['_offset'];}}function hp(_0x50fa5a,_0x5e53b1,_0x498b23){const _0x2cf9c3=mp(_0x50fa5a),_0x5bbc8b=function(_0x19f057){const _0x4496c7=_0x4cdc9d['document']['createRange']();return _0x4496c7['selectNodeContents'](_0x19f057),_0x4496c7;}(_0x498b23);let _0x3f3152;_0x3f3152=0x0==_0x5e53b1?pp(_0x5bbc8b['startContainer'],_0x5bbc8b['startOffset'],_0x50fa5a['parentNode'],Array['from'](_0x50fa5a['parentNode']['childNodes'])['indexOf'](_0x50fa5a)):pp(_0x5bbc8b['startContainer'],_0x5bbc8b['startOffset'],_0x50fa5a,_0x5e53b1);const _0x2bdb36=pp(_0x50fa5a,_0x5e53b1,_0x5bbc8b['endContainer'],_0x5bbc8b['endOffset']),_0x507888=new _0x1faa00(_0x3f3152)['bottom'];return(new _0x1faa00(_0x2bdb36)['top']+_0x507888)/0x2-new _0x1faa00(_0x2cf9c3)['top'];}function up(_0x874ab){let _0x423d80=_0x874ab['parent'];for(;_0x423d80['is']('$text')||_0x423d80['is']('attributeElement');)_0x423d80=_0x423d80['parent'];return _0x423d80;}function dp(_0xc05bbd){return _0xc05bbd['hasAttribute']('width')&&_0xc05bbd['hasAttribute']('height')?Promise['resolve']():new Promise(_0x275bd2=>{function _0x56c014(){_0xc05bbd['removeEventListener']('load',_0x56c014),_0xc05bbd['removeEventListener']('error',_0x56c014),_0x275bd2();}_0xc05bbd['complete']?_0x275bd2():(_0xc05bbd['addEventListener']('load',_0x56c014),_0xc05bbd['addEventListener']('error',_0x56c014));});}function fp(_0x45a06e){return new Promise(_0xe617ff=>setTimeout(_0xe617ff,_0x45a06e));}function mp(_0x46e383){const _0x2c9723=_0x4cdc9d['document']['createRange']();return _0x2c9723['selectNode'](_0x46e383),_0x2c9723;}function gp(_0x588b12,_0x598017,_0x4a7b38){const _0x7170d=_0x4cdc9d['document']['createRange']();return _0x7170d['setStart'](_0x588b12,_0x598017),_0x7170d['setEnd'](_0x588b12,_0x4a7b38),_0x7170d;}function pp(_0x4e172b,_0x620baf,_0x17c554,_0x448105){const _0x274bd1=_0x4cdc9d['document']['createRange']();return _0x274bd1['setStart'](_0x4e172b,_0x620baf),_0x274bd1['setEnd'](_0x17c554,_0x448105),_0x274bd1;}function Op(_0x3dc9a6,_0xdf3fbc,_0x4ef7b0,_0x403447,_0x27d014){const _0x577870=[];for(const [_0x5dbfdb,_0x150d3e]of _0x3dc9a6['childNodes']['entries']()){let _0x7f7b62=[];vp(_0x150d3e)&&_0x150d3e['offsetParent']&&['static','relative']['includes'](_0x4cdc9d['window']['getComputedStyle'](_0x150d3e)['position'])?_0x7f7b62=wp(_0x150d3e,_0x5dbfdb,_0xdf3fbc,_0x4ef7b0,_0x403447,_0x27d014):Tp(_0x150d3e)&&(_0x7f7b62=bp(_0x150d3e,_0x5dbfdb,_0xdf3fbc,_0x4ef7b0,_0x27d014)),_0x7f7b62['length']&&(_0x577870['push'](..._0x7f7b62),_0xdf3fbc+=_0x7f7b62['length']*_0x4ef7b0,_0x27d014=!0x1);}return _0x577870;}function wp(_0x40a9e4,_0x1673ed,_0x35b42a,_0x3007f3,_0x4c0220,_0x1e339b){const _0x401d44=[];var _0x3a971c;if((_0x3a971c=_0x40a9e4['previousSibling'])&&vp(_0x3a971c)&&Boolean(_0x3a971c['classList']['contains']('page-break')||_0x3a971c['closest']('.page-break'))&&(_0x401d44['push']({'type':'manual','offset':0x0,'path':[_0x1673ed-0x1]}),_0x1e339b=!0x0),'table-row'==_0x4cdc9d['window']['getComputedStyle'](_0x40a9e4)['display']){let _0x19654f=0x0,_0x4edb97=!0x1;for(const _0x101da5 of _0x40a9e4['getClientRects']())_0x19654f+=_0x101da5['height'],_0x101da5['left']>=_0x35b42a&&(_0x4edb97=!0x0);if(_0x19654f<_0x4c0220&&_0x4edb97)return _0x1e339b||_0x401d44['push']({'type':'element','offset':0x0,'path':[_0x1673ed]}),_0x401d44;}const _0x3b3b81=_0x40a9e4['closest']('figure.image');if(_0x3b3b81&&function(_0x3a9390){let _0x5f559b=!0x1;const _0x2f37be=_0x3a9390['parentElement'],_0xb72b67=_0x2f37be['dataset']['rootName'],_0x4a735c=_0x3a9390['nextElementSibling'],_0x1a1820=_0x3a9390['previousElementSibling'],_0x2ecb2d=_0x4a735c&&_0x4cdc9d['window']['getComputedStyle'](_0x4a735c)['float'],_0x38238d=_0x4a735c&&'ck-fake-selection-container'===_0x4a735c['className'];!_0xb72b67||_0x4a735c||_0x1a1820||(_0x5f559b=!0x0),_0xb72b67&&!_0x1a1820&&_0x38238d&&(_0x5f559b=!0x0),_0xb72b67&&!_0x1a1820&&'none'!==_0x2ecb2d&&(_0x5f559b=!0x0);if(_0x5f559b)return!0x1;return!0x0;}(_0x3b3b81)){const _0x22a118=_0x4cdc9d['window']['getComputedStyle'](_0x3b3b81)['float'];if('left'==_0x22a118||'right'==_0x22a118)return _0x401d44;}const _0x4a4daa=Op(_0x40a9e4,_0x35b42a,_0x3007f3,_0x4c0220,_0x1e339b);if(_0x4a4daa['length']){for(const _0x5e4f69 of _0x4a4daa)_0x401d44['push']({'type':_0x5e4f69['type'],'offset':_0x5e4f69['offset'],'textOffset':_0x5e4f69['textOffset'],'path':[_0x1673ed,..._0x5e4f69['path']]}),_0x35b42a+=_0x3007f3,_0x1e339b=!0x1;return _0x401d44;}return _0x401d44['push'](...function(_0x4dd5a8,_0x33ebc2,_0x92ad73,_0x5cc866,_0x920496){const _0x5ca418=[];if('table-cell'==_0x4cdc9d['window']['getComputedStyle'](_0x4dd5a8)['display'])return[];const _0x391190=[];for(const _0x296dad of _0x4dd5a8['getClientRects']())if(_0x296dad['left']>=_0x92ad73){for(const _0x359b49 of _0x391190)_0x359b49['height']+=_0x296dad['height'];_0x391190['push']({'height':_0x296dad['height']}),_0x92ad73+=_0x5cc866;}for(const _0xe1cbe2 of _0x391190)_0x920496||_0x5ca418['push']({'type':'element','offset':_0xe1cbe2['height'],'textOffset':0x0,'path':[_0x33ebc2]}),_0x920496=!0x1;return _0x5ca418;}(_0x40a9e4,_0x1673ed,_0x35b42a,_0x3007f3,_0x1e339b)),_0x401d44;}function bp(_0x4ea169,_0xd906f3,_0x51729b,_0x552ee9,_0x4ddcbb){const _0x5815c4=mp(_0x4ea169),_0x5de7b9=[];let _0xc69fc9=0x0;for(const _0x32f973 of _0x5815c4['getClientRects']())if(_0x32f973['left']>=_0x51729b){const _0xe8c2a1=yp(_0x4ea169,_0xc69fc9,_0x51729b,_0x552ee9);_0x4ddcbb||_0x5de7b9['push']({'type':'text','path':[_0xd906f3],'textOffset':_0xe8c2a1}),_0xc69fc9=_0xe8c2a1,_0x51729b+=_0x552ee9,_0x4ddcbb=!0x1;}return _0x5de7b9;}function yp(_0x5b3926,_0x31fe70,_0x941134,_0x4b1813){let _0x226280=_0x31fe70,_0x2f3ac8=_0x5b3926['length'];for(;_0x2f3ac8-_0x226280>0x1;){const _0x2457d4=Math['ceil']((_0x226280+_0x2f3ac8)/0x2);_p(gp(_0x5b3926,_0x226280,_0x2457d4),_0x941134,_0x4b1813)?_0x2f3ac8=_0x2457d4:_0x226280=_0x2457d4;}return _0x226280;}function _p(_0x8911b8,_0x4ef7c2,_0x56d203){for(const _0x51e2fc of _0x8911b8['getClientRects']())if(_0x51e2fc['left']>=_0x4ef7c2&&_0x51e2fc['left']<_0x4ef7c2+_0x56d203)return!0x0;return!0x1;}function vp(_0x36835d){return _0x36835d['nodeType']==Node['ELEMENT_NODE'];}function Tp(_0x181ccd){return _0x181ccd['nodeType']==Node['TEXT_NODE'];}const Ep=/* #__PURE__ -- @preserve */
_0x4b9c16('px');let Ap=class LineView extends _0x3989d4{constructor(){super();const _0x2cb547=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x2cb547['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x2cb547['if']('isVisible','ck-hidden',_0x3c4548=>!_0x3c4548)],'style':{'left':_0x2cb547['to']('left',_0x51e61f=>Ep(_0x51e61f)),'top':_0x2cb547['to']('top',_0x3f0e60=>Ep(_0x3f0e60)),'width':_0x2cb547['to']('width',_0x3ea07c=>Ep(_0x3ea07c))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x572306){this['_viewCollection']=_0x572306['ui']['view']['body'];}['destroy'](){for(const _0x6d8ed2 of this['_hiddenLines'])_0x6d8ed2['destroy']();}['cleanLines'](){for(const _0x1f1a86 of this['_visibleLines'])_0x1f1a86['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1f1a86);this['_visibleLines']['clear']();}['showLine'](_0x5cf931,_0x10cbbc,_0x1bedea,_0x57daa9){let _0x4284bc;this['_hiddenLines']['size']?(_0x4284bc=_0x556601(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4284bc)):_0x4284bc=new Ap(),_0x4284bc['set']({'pageNumber':_0x57daa9,'left':_0x5cf931,'top':_0x10cbbc,'width':_0x1bedea}),_0x4284bc['isVisible']=!0x0,this['_viewCollection']['has'](_0x4284bc)||this['_viewCollection']['add'](_0x4284bc),this['_visibleLines']['add'](_0x4284bc);}['setViewCollection'](_0x1581c7){for(const _0x235f51 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x235f51)&&this['_viewCollection']['remove'](_0x235f51);this['_viewCollection']=_0x1581c7;}}const Ip='ck-pagination_enabled';class PaginationRenderer extends _0x13517b{['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'](Ip),this['on']('change:isEnabled',(_0x4789bf,_0x1108c9,_0x50861f)=>{_0x50861f||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](Ip,_0x50861f);});}['destroy'](){this['_toggleEditingRootsClass'](Ip,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x13de0d){if(!this['isEnabled'])return;const _0x562e51=_0x13de0d>0x1?this['_getPageBreakLineOffset'](_0x13de0d-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x562e51-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3ff8da['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x36e2f1=this['editor'],_0x3fd5c9=this['_getAttachedDomRoot']();_0x3fd5c9?(this['_scrollableEditingRootDomAncestor']&&_0x36e2f1['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x25a4bd){let _0x21645d=_0x25a4bd;do{_0x21645d=_0x21645d['parentElement'];const _0x4bb06e=_0x4cdc9d['window']['getComputedStyle'](_0x21645d)['overflowY'];if('auto'==_0x4bb06e||'scroll'==_0x4bb06e)break;}while('BODY'!=_0x21645d['tagName']);return _0x21645d;}(_0x3fd5c9),_0x36e2f1['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2e8e7a(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x36e2f1['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x44ca51=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x44ca51['ui']['view']['listenTo'](_0x4cdc9d['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x44ca51['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x48198a of this['editor']['editing']['view']['domRoots']['values']())if(_0x48198a['ownerDocument']['body']['contains'](_0x48198a))return _0x48198a;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x35aadb=this['_getAttachedDomRoot'](),_0x3fc8bf=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x35aadb||0x1==_0x3fc8bf['length'])return void(this['pageNumber']=0x1);const _0x13eaf2=new _0x1faa00(_0x35aadb)['excludeScrollbarsAndBorders'](),_0x5456c1=new _0x1faa00(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x63a846=_0x5456c1['top']+_0x5456c1['height']/0x3;let _0xa858cc=!0x1;const _0x66865b=[];for(let _0x2c71d2=0x1;_0x2c71d2<_0x3fc8bf['length'];_0x2c71d2++){const _0x4d8261=this['_getPageBreakLineOffset'](_0x2c71d2,_0x5456c1);if(!_0x4d8261)continue;const _0xd76006=_0x5456c1['top']+_0x4d8261-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x66865b['push']({'pageOffsetTop':_0xd76006,'domRootRect':_0x13eaf2,'domScrollableRect':_0x5456c1,'pageNumber':_0x2c71d2}),_0xd76006>_0x63a846&&!_0xa858cc&&(this['pageNumber']=_0x2c71d2,_0xa858cc=!0x0);}this['_renderPageBreakLines'](_0x66865b),_0xa858cc||(this['pageNumber']=_0x3fc8bf['length']);}['_renderPageBreakLines'](_0x26a40e){const {scrollX:_0x2abc0f,scrollY:_0x101fde}=_0x4cdc9d['window'];if(_0x26a40e['length']){for(const {domScrollableRect:_0x2f9c47,pageOffsetTop:_0x28e7d9,domRootRect:_0xf7df9b,pageNumber:_0x3823f2}of _0x26a40e)_0x2f9c47['top']<_0x28e7d9&&_0x28e7d9<_0x2f9c47['bottom']&&this['linesRepository']['showLine'](_0xf7df9b['left']+_0x2abc0f,_0x28e7d9+_0x101fde,_0xf7df9b['width'],_0x3823f2+0x1);}}['_getPageBreakLineOffset'](_0x152ddb,_0x3a0b7c=null){const _0x26864b=this['_paginationLookupPlugin']['pageBreaks'][_0x152ddb]['offset'];return _0x26864b?(_0x3a0b7c||(_0x3a0b7c=new _0x1faa00(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x26864b-_0x3a0b7c['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x44e7c5,_0x4e2e4b=!0x0){const _0x54ec38=this['editor']['editing']['view'];_0x54ec38['change'](_0x460b62=>{for(const _0x1bb504 of _0x54ec38['document']['roots'])_0x4e2e4b?_0x460b62['addClass'](_0x44e7c5,_0x1bb504):_0x460b62['removeClass'](_0x44e7c5,_0x1bb504);});}}function Sp(_0x90507a,_0x392db8,..._0x3c0c2c){const t=_0x90507a['t'];switch(_0x392db8){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)',..._0x3c0c2c);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 _0x392db8;}}class PaginationEditing extends _0x13517b{['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 _0x35d343=this['editor']['plugins']['get']('Pagination'),_0x2e3152=this['editor']['plugins']['get'](PaginationLookup),_0x51e0af=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x35d343),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x51e0af),this['listenTo'](_0x2e3152,'change:pageBreaks',(_0x162e97,_0x36a70b,_0x7613c3,_0x27a8ea)=>{this['totalPages']=_0x7613c3['length'],this['_updatePageBreakMarkers'](_0x7613c3,_0x27a8ea);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x578279=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52955f;for(const _0x2f4cb5 in _0x578279){const _0x316f46=_0x2f4cb5,_0x1cc116=_0x578279[_0x316f46];if('paginationLicenseKeyValid'==_0x1cc116||'paginationLicenseKeyInvalid'==_0x1cc116||'paginationLicenseKeyExpired'==_0x1cc116||'paginationLicenseKeyDomainLimit'==_0x1cc116||'paginationLicenseKeyNotAllowed'==_0x1cc116||'paginationLicenseKeyEvaluationLimit'==_0x1cc116||'paginationLicenseKeyUsageLimit'==_0x1cc116){delete _0x578279[_0x316f46],_0x52955f=_0x1cc116,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x52955f&&_0x578279['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x52955f&&_0x578279['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x52955f&&_0x578279['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x52955f&&_0x578279['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x52955f&&_0x578279['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x52955f&&_0x578279['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x42f39d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x42f39d));}['moveSelectionToPage'](_0xeaf2d9){if(!this['isEnabled'])return;const _0x5b9269=this['editor'],_0x1fce06=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0xeaf2d9-0x1];_0x1fce06&&_0x5b9269['model']['change'](_0x14d725=>{switch(_0x1fce06['type']){case'manual':{const _0x4a9286=_0x5b9269['model']['schema']['getNearestSelectionRange'](_0x1fce06['modelRange']['end'],'forward');_0x14d725['setSelection'](_0x4a9286);break;}case'element':{const _0x5350a1=_0x5b9269['model']['schema']['getNearestSelectionRange'](_0x1fce06['modelRange']['start'],'forward');_0x14d725['setSelection'](_0x5350a1);break;}case'text':{const _0x3c8500=_0x1fce06['modelRange']['start'];if(_0x3c8500['textNode']&&'\x20'===_0x3c8500['textNode']['data'][_0x3c8500['offset']]){const _0x23f381=_0x14d725['createPositionAt'](_0x3c8500['parent'],_0x3c8500['offset']+0x1);_0x14d725['setSelection'](_0x23f381);}else _0x14d725['setSelection'](_0x1fce06['modelRange']);}}_0x5b9269['editing']['view']['focus']();});}['goToNextPage'](){const _0x105073=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x105073),this['scrollToPage'](_0x105073);}['goToPreviousPage'](){const _0x2823d2=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2823d2),this['scrollToPage'](_0x2823d2);}['_updatePageBreakMarkers'](_0x2f528d,_0x4b13a5){const _0x35bf8e=this['editor']['model'];this['isEnabled']&&_0x35bf8e['change'](_0x2de9e2=>{for(let _0x17afa6=0x1;_0x17afa6<_0x2f528d['length'];_0x17afa6++){const _0x7869ca=_0x2f528d[_0x17afa6]['modelRange'],_0xada60e='pagination:'+(_0x17afa6+0x1);_0x35bf8e['markers']['has'](_0xada60e)?_0x2de9e2['updateMarker'](_0xada60e,{'range':_0x7869ca}):_0x2de9e2['addMarker'](_0xada60e,{'range':_0x7869ca,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x45b3f1=_0x2f528d['length'];_0x45b3f1<_0x4b13a5['length'];_0x45b3f1++){const _0x546cb4='pagination:'+(_0x45b3f1+0x1);_0x35bf8e['markers']['has'](_0x546cb4)&&_0x2de9e2['removeMarker'](_0x546cb4);}});}['_setUpDataDowncastConversion'](){const _0x4b08bf='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3b93e4=>{_0x3b93e4['on']('addMarker:'+_0x4b08bf,(_0x5513e2,{markerRange:_0x41ec94,markerName:_0x2630bf},_0x5c1f58)=>{if(!_0x5c1f58['options']['pagination'])return;if(!_0x5c1f58['consumable']['consume'](_0x41ec94,_0x5513e2['name']))return;const _0x27c2a2=_0x41ec94['getContainedElement']();let _0x2f980a=_0x27c2a2?_0x5c1f58['mapper']['toViewElement'](_0x27c2a2):null;if(!_0x2f980a){const _0x4f14fb=_0x41ec94['start'];if(_0x5c1f58['schema']['checkChild'](_0x4f14fb,'$text')){const _0x3d8402=_0x5c1f58['mapper']['toViewPosition'](_0x4f14fb);_0x2f980a=_0x5c1f58['writer']['createContainerElement']('span'),_0x2f980a['getFillerOffset']=()=>null,_0x5c1f58['writer']['insert'](_0x3d8402,_0x2f980a);}else{const _0x58b442=_0x4f14fb['nodeAfter'];_0x2f980a=_0x5c1f58['mapper']['toViewElement'](_0x58b442);}}for(;_0x2f980a['parent']!==_0x2f980a['root']&&0x0===_0x2f980a['index'];)_0x2f980a=_0x2f980a['parent'];const _0x564558=_0x2630bf['substring'](0xb);_0x2f980a['hasClass']('page-break')||(_0x5c1f58['writer']['setStyle']('page-break-before','always',_0x2f980a),_0x5c1f58['writer']['setAttribute']('data-pagination-page',_0x564558,_0x2f980a),_0x5c1f58['mapper']['bindElementToMarker'](_0x2f980a,_0x2630bf)),_0x5513e2['stop']();});});}['_setupKeystrokes'](){const _0x17b883=this['editor'];_0x17b883['keystrokes']['set']('Shift+Pageup',(_0x5576e3,_0x4775e5)=>{this['goToPreviousPage'](),_0x4775e5();}),_0x17b883['keystrokes']['set']('Shift+Pagedown',(_0x2ccee4,_0x3b5429)=>{this['goToNextPage'](),_0x3b5429();}),_0x17b883['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':Sp(_0x17b883['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':Sp(_0x17b883['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':Sp(_0x17b883['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2fc580){return _0x2fc580<0x1&&(_0x2fc580=0x1),_0x2fc580>this['totalPages']&&(_0x2fc580=this['totalPages']),_0x2fc580;}}class PageNavigatorView extends _0x3989d4{['pageNumberView'];constructor(_0x557a5e){super(_0x557a5e);const _0x5463ab=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new Gt(_0x557a5e,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x41827c=>Sp(_0x557a5e,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x41827c)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x2d13f5=>!_0x2d13f5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5463ab['if']('isEnabled','ck-disabled',_0xffb189=>!_0xffb189)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5463ab['to']('totalPages')}]}]});}['render'](){super['render']();const _0x331d69=this['pageNumberView']['element'],_0x12d05f=_0x45d539=>{this['pageNumberView']['element']['value']=String(_0x45d539);};_0x12d05f(this['pageNumber']),this['on']('change:pageNumber',(_0x1e848d,_0x335e67,_0x5b7fce)=>{_0x12d05f(_0x5b7fce);}),this['listenTo'](_0x331d69,'keydown',(_0x551545,_0x3b6a55)=>{if('ArrowUp'===_0x3b6a55['key']||'ArrowDown'===_0x3b6a55['key'])return void _0x3b6a55['stopPropagation']();if(_0x3b6a55['keyCode']!==_0x2faf62['enter'])return;_0x3b6a55['preventDefault']();const _0x406df7=_0x331d69['valueAsNumber'];Number['isNaN'](_0x406df7)?_0x331d69['value']=String(this['pageNumber']):(_0x331d69['checkValidity']()?this['pageNumber']=_0x406df7:_0x406df7>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x331d69['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x331d69['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x331d69,'blur',()=>{_0x331d69['value']=String(this['pageNumber']);}),this['listenTo'](_0x331d69,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends _0x13517b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a200b=this['editor'],_0x559a35=_0x1a200b['plugins']['get']('PaginationEditing');_0x1a200b['ui']['componentFactory']['add']('pageNavigation',_0xa0c7d3=>{const _0x5db431=new PageNavigatorView(_0xa0c7d3);return _0x5db431['bind']('pageNumber')['to'](_0x559a35),_0x5db431['bind']('totalPages')['to'](_0x559a35),_0x5db431['bind']('isEnabled')['to'](_0x559a35),_0x5db431['on']('navigation',(_0xf0068e,_0x408354)=>{_0x559a35['moveSelectionToPage'](_0x408354),_0x559a35['scrollToPage'](_0x408354);}),_0x5db431;}),_0x1a200b['ui']['componentFactory']['add']('nextPage',_0x3d3b35=>{const _0x32b6e4=new _0x2e803a(_0x3d3b35);return _0x32b6e4['isEnabled']=!0x0,_0x32b6e4['label']=Sp(_0x1a200b['locale'],'Go\x20to\x20next\x20page'),_0x32b6e4['icon']=_0x5c43c2,_0x32b6e4['tooltip']=!0x0,_0x32b6e4['keystroke']='Shift+PageDown',_0x32b6e4['bind']('isEnabled')['to'](_0x559a35),this['listenTo'](_0x32b6e4,'execute',()=>{_0x559a35['goToNextPage']();}),_0x32b6e4;}),_0x1a200b['ui']['componentFactory']['add']('previousPage',_0xb17f09=>{const _0x747e6f=new _0x2e803a(_0xb17f09);return _0x747e6f['isEnabled']=!0x0,_0x747e6f['label']=Sp(_0x1a200b['locale'],'Go\x20to\x20previous\x20page'),_0x747e6f['icon']=_0x2e300f,_0x747e6f['tooltip']=!0x0,_0x747e6f['keystroke']='Shift+PageUp',_0x747e6f['bind']('isEnabled')['to'](_0x559a35),this['listenTo'](_0x747e6f,'execute',()=>{_0x559a35['goToPreviousPage']();}),_0x747e6f;});}}class Pagination extends _0x13517b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x2fe15d){super(_0x2fe15d),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4ca387=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x4ca387),this['bind']('totalPages')['to'](_0x4ca387),_0x3ff8da['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1b3c11){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x1b3c11);}}const Cp=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function kp(_0xe312cd){return Cp['test'](_0xe312cd);}const xp=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function Rp(_0x26acf6,_0x1bf832){const _0x4484f1=new Map();for(const [_0x5dcda9,_0x245a34]of _0x1bf832){if(!_0x5dcda9['tagName']&&!_0x5dcda9['className'])continue;const _0x11ee27=!_0x5dcda9['tagName']||_0x26acf6['name']===_0x5dcda9['tagName'],_0x3e88e9=!_0x5dcda9['className']||_0x26acf6['hasClass'](_0x5dcda9['className']);_0x11ee27&&_0x3e88e9&&_0x4484f1['set'](_0x5dcda9,_0x245a34);}return _0x4484f1;}function Pp(_0x1f7300){const _0x3047f0={};for(let _0x564824=0x0;_0x564824<_0x1f7300['length'];_0x564824++){const _0x15ccc1=_0x1f7300[_0x564824],_0x535da5=_0x1f7300['getPropertyValue'](_0x15ccc1);'initial'!==_0x535da5&&(_0x3047f0[_0x15ccc1]=_0x535da5);}return _0x3047f0;}function Mp(_0x8ed00f){const _0x3c07c7=_0x8ed00f['split'](',')['map'](_0x25b4d0=>_0x25b4d0['trim']()),_0x316a9c=[];for(const _0x18641b of _0x3c07c7){const _0x23d446=xp['exec'](_0x18641b);_0x23d446&&_0x316a9c['push'](_0x23d446['groups']);}return _0x316a9c;}function Np(_0x48fdd1){const _0x33228f={};for(const _0x5716db of _0x48fdd1)Object['assign'](_0x33228f,_0x5716db);return _0x33228f;}class MSOfficeStylesInliner extends _0x573809{['execute'](_0x3f24ce){const {body:_0x9d2500,styles:_0x79996}=_0x3f24ce['_parsedData'],_0x2b734e=new _0x1c5733(_0x9d2500['document']),_0x5311d6=_0x2b734e['createRangeIn'](_0x9d2500),_0x2b2b37=function(_0x131be9){const _0x3cd91e={};for(const _0x224e12 of _0x131be9)for(const _0x5424a3 of _0x224e12['cssRules'])if(_0x5424a3 instanceof CSSStyleRule){const _0x4c3e8c=Pp(_0x5424a3['style']);_0x3cd91e[_0x5424a3['selectorText']]=Object['assign']({},_0x3cd91e[_0x5424a3['selectorText']]||{},_0x4c3e8c);}return _0x3cd91e;}(_0x79996),_0x15932d=function(_0x539f0f){const _0x55b2e9=new Map();for(const _0xd18e7a in _0x539f0f){const _0xccc44e=Mp(_0xd18e7a),_0x2ca350=_0x539f0f[_0xd18e7a];for(const _0x5b0762 of _0xccc44e)_0x55b2e9['set'](_0x5b0762,_0x2ca350);}return _0x55b2e9;}(_0x2b2b37);for(const _0x4e226b of _0x5311d6){if('elementStart'!==_0x4e226b['type'])continue;const _0x578573=Rp(_0x4e226b['item'],_0x15932d);if(_0x578573['size']){const _0x19d071=Np(Array['from'](_0x578573['values']()));for(const _0x44baf6 in _0x19d071){const _0x5b29d3=_0x4e226b['item'];_0x5b29d3['hasStyle'](_0x44baf6)||_0x2b734e['setStyle'](_0x44baf6,_0x19d071[_0x44baf6],_0x5b29d3);}}}_0x3f24ce['content']=_0x9d2500;}['isActive'](_0x42b85a){return super['isActive'](_0x42b85a)||kp(_0x42b85a);}}class PasteFromOfficeEnhancedInliner extends _0x13517b{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x7c0d8f=this['editor'],_0x32fbd8=_0x7c0d8f['plugins']['get']('ClipboardPipeline'),_0x3e1d0=_0x7c0d8f['editing']['view']['document'],_0x23ce55=new MSOfficeStylesInliner(_0x3e1d0);_0x32fbd8['on']('inputTransformation',(_0x486a77,_0x1883ba)=>{const _0x1c1adb=_0x1883ba['dataTransfer']['getData']('text/html');_0x23ce55['isActive'](_0x1c1adb)&&(_0x1883ba['_parsedData']||(_0x1883ba['_parsedData']=_0x34fb9f(_0x1c1adb,_0x3e1d0['stylesProcessor'])),_0x23ce55['execute'](_0x1883ba));},{'priority':_0x244365['get']('high')+0xb});}['afterInit'](){!async function(_0x16429d){const _0x9fea8c=_0x27cc77([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]),_0x1cf70d=0x7374585f,_0x2cb03f=0x7373d79f^_0x1cf70d,_0x391afd=window[_0x27cc77([0x44,0x61,0x74,0x65])][_0x27cc77([0x6e,0x6f,0x77])](),_0x4979cb=_0x16429d[_0x27cc77([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d6868=new window[(_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2de298=>{_0x4979cb[_0x27cc77([0x6f,0x6e,0x63,0x65])](_0x27cc77([0x72,0x65,0x61,0x64,0x79]),_0x2de298);}),_0x20e598={[_0x27cc77([0x6b,0x74,0x79])]:_0x27cc77([0x45,0x43]),[_0x27cc77([0x75,0x73,0x65])]:_0x27cc77([0x73,0x69,0x67]),[_0x27cc77([0x63,0x72,0x76])]:_0x27cc77([0x50,0x2d,0x32,0x35,0x36]),[_0x27cc77([0x78])]:_0x27cc77([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]),[_0x27cc77([0x79])]:_0x27cc77([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]),[_0x27cc77([0x61,0x6c,0x67])]:_0x27cc77([0x45,0x53,0x32,0x35,0x36])},_0x1a19f4=_0x4979cb[_0x27cc77([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27cc77([0x67,0x65,0x74])](_0x27cc77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x43997a(){let _0x116e88,_0x210832=null,_0x5aa5cd=null;try{if(_0x1a19f4==_0x27cc77([0x47,0x50,0x4c]))return _0x27cc77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x116e88=_0x2625be(),!_0x116e88)return _0x27cc77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x116e88[_0x27cc77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5aa5cd=_0x12063d(_0x116e88[_0x27cc77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x116e88[_0x27cc77([0x6a,0x74,0x69])])),await _0x5e45ae()?_0x133f36()?_0x3bb7e6()?_0x27cc77([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x152f09()?(_0x116e88[_0x27cc77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27cc77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x210832=_0x4e0e50(_0x27cc77([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a8baf()):_0x27cc77([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27cc77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27cc77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27cc77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bb7e6(){const _0x4b3e99=[_0x27cc77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27cc77([0x74,0x72,0x69,0x61,0x6c])][_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116e88[_0x27cc77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x391afd/0x3e8:0xe10*_0x2cb03f;return _0x116e88[_0x27cc77([0x65,0x78,0x70])]<_0x4b3e99;}function _0x133f36(){const _0x5551d7=_0x116e88[_0x27cc77([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5551d7&&(!!_0x5551d7[_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc77([0x2a]))||(!!_0x5551d7[_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc77([0x50,0x4f,0x45]))||(!!_0x5551d7[_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc77([0x50,0x50]))||!(!_0x5551d7[_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc77([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x57ec84()))));}function _0x152f09(){const _0x4447ee=_0x116e88[_0x27cc77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4447ee||0x0==_0x4447ee[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bc795}=new URL(window[_0x27cc77([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4447ee[_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bc795))return!0x0;const _0x2237e6=_0x2bc795[_0x27cc77([0x73,0x70,0x6c,0x69,0x74])](_0x27cc77([0x2e]));return _0x4447ee[_0x27cc77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3869fd=>_0x3869fd[_0x27cc77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc77([0x2a])))[_0x27cc77([0x6d,0x61,0x70])](_0x1e2337=>_0x1e2337[_0x27cc77([0x73,0x70,0x6c,0x69,0x74])](_0x27cc77([0x2e])))[_0x27cc77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3acfd5=>_0x3acfd5[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2237e6[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27cc77([0x6d,0x61,0x70])](_0x48bb35=>Array(_0x2237e6[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48bb35[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27cc77([0x66,0x69,0x6c,0x6c])](_0x48bb35[0x0]===_0x27cc77([0x2a])?_0x27cc77([0x2a]):'')[_0x27cc77([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48bb35))[_0x27cc77([0x73,0x6f,0x6d,0x65])](_0x2eaf6f=>_0x2237e6[_0x27cc77([0x65,0x76,0x65,0x72,0x79])]((_0x3454b3,_0xf85223)=>_0x2eaf6f[_0xf85223]===_0x3454b3||_0x2eaf6f[_0xf85223]===_0x27cc77([0x2a])));}function _0x2a8baf(){return _0x210832&&_0x5aa5cd?new window[(_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30e00d,_0x30a24a)=>{_0x210832[_0x27cc77([0x74,0x68,0x65,0x6e])](_0x30e00d,_0x30a24a),_0x5aa5cd[_0x27cc77([0x74,0x68,0x65,0x6e])](_0x49f0f5=>{_0x49f0f5!=_0x27cc77([0x56,0x61,0x6c,0x69,0x64])&&_0x30e00d(_0x49f0f5);},_0x30a24a);}):_0x210832||_0x5aa5cd||_0x27cc77([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12063d(_0x7a60db,_0x58e68f){return new window[(_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x193f7d=>{if(_0x1bebd5())return _0x193f7d(_0x27cc77([0x56,0x61,0x6c,0x69,0x64]));_0xe2116e(),_0x4979cb[_0x27cc77([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27cc77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34a18f=!0x1;const _0x4ef080=_0x5c5c0c();function _0x5d3e4a(_0x5a63a7){return!!_0x5a63a7&&(typeof _0x5a63a7===_0x27cc77([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a63a7===_0x27cc77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a63a7[_0x27cc77([0x74,0x68,0x65,0x6e])]===_0x27cc77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a63a7[_0x27cc77([0x63,0x61,0x74,0x63,0x68])]===_0x27cc77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5eb5a3(_0x21002d){_0x544fd1(_0x21002d)[_0x27cc77([0x74,0x68,0x65,0x6e])](_0x496ebb=>{if(!_0x496ebb||_0x496ebb[_0x27cc77([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27cc77([0x6f,0x6b]))return _0x27cc77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ad25b(_0x20a4ef(_0x4ef080+_0x58e68f))!=_0x496ebb[_0x27cc77([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27cc77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27cc77([0x56,0x61,0x6c,0x69,0x64]);})[_0x27cc77([0x74,0x68,0x65,0x6e])](_0x1c9ffc=>(_0x44e4ca(),_0x1c9ffc),()=>{const _0x3c7d6f=_0x557422();return null==_0x3c7d6f?(_0x44e4ca(),_0x27cc77([0x56,0x61,0x6c,0x69,0x64])):_0x27cc77(_0x391afd-_0x3c7d6f>(0x5778dc5f^_0x1cf70d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27cc77([0x74,0x68,0x65,0x6e])](_0x193f7d)[_0x27cc77([0x63,0x61,0x74,0x63,0x68])](()=>{_0x193f7d(_0x27cc77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b8c31=0x7342b6df^_0x1cf70d;function _0x44e4ca(){const _0x50ff1e=_0x27cc77([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ad25b(_0x20a4ef(_0x7a60db)),_0x44115b=_0x12502a(_0x5ad25b(window[_0x27cc77([0x4d,0x61,0x74,0x68])][_0x27cc77([0x63,0x65,0x69,0x6c])](_0x391afd/_0x3b8c31)));window[_0x27cc77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27cc77([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50ff1e,_0x44115b);}function _0x557422(){const _0x1e0f77=_0x27cc77([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ad25b(_0x20a4ef(_0x7a60db)),_0x327af4=window[_0x27cc77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27cc77([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0f77);return _0x327af4?window[_0x27cc77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12502a(_0x327af4),0x10)*_0x3b8c31:null;}function _0x544fd1(_0x20a1ff){return new window[(_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12967d,_0x2cdf1a)=>{_0x20a1ff[_0x27cc77([0x74,0x68,0x65,0x6e])](_0x12967d,_0x2cdf1a),window[_0x27cc77([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2cdf1a,0x73758c9f^_0x1cf70d);});}}_0x4979cb[_0x27cc77([0x6f,0x6e])](_0x27cc77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4937fa,_0x2b93d9)=>{if(_0x2b93d9[0x0]!=_0x7a60db)return _0x193f7d(_0x27cc77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b93d9[0x1]={..._0x2b93d9[0x1],[_0x27cc77([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ef080};},{[_0x27cc77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27cc77([0x68,0x69,0x67,0x68])}),_0x4979cb[_0x27cc77([0x6f,0x6e])](_0x27cc77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x550c88=>{_0x5d3e4a(_0x550c88[_0x27cc77([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34a18f=!0x0,_0x5eb5a3(_0x550c88[_0x27cc77([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27cc77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27cc77([0x6c,0x6f,0x77])}),_0x4d6868[_0x27cc77([0x74,0x68,0x65,0x6e])](()=>{_0x34a18f||_0x193f7d(_0x27cc77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bebd5(){return _0x4979cb[_0x27cc77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27cc77([0x76,0x69,0x65,0x77])][_0x27cc77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27cc77([0x61,0x75,0x74,0x6f]);}function _0xe2116e(){_0x4979cb[_0x27cc77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27cc77([0x76,0x69,0x65,0x77])][_0x27cc77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27cc77([0x61,0x75,0x74,0x6f]);}}function _0x4e0e50(_0x7667bd){const _0xf526e6=[new window[(_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388ee8=>setTimeout(_0x388ee8,0x737d6693^_0x1cf70d)),_0x4d6868[_0x27cc77([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9d37b7=>{let _0x2df618=0x0;_0x4979cb[_0x27cc77([0x6d,0x6f,0x64,0x65,0x6c])][_0x27cc77([0x6f,0x6e])](_0x27cc77([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1eaf3b,_0x261fc4)=>{_0x261fc4[0x0][_0x27cc77([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2df618++,_0x2df618==(0x73745db7^_0x1cf70d)&&(_0x9d37b7(),_0x1eaf3b[_0x27cc77([0x6f,0x66,0x66])]());});}))];return window[_0x27cc77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27cc77([0x72,0x61,0x63,0x65])](_0xf526e6)[_0x27cc77([0x74,0x68,0x65,0x6e])](()=>_0x7667bd);}async function _0x19b24e(){await _0x4d6868,_0x4979cb[_0x27cc77([0x6d,0x6f,0x64,0x65,0x6c])][_0x27cc77([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a2e56,_0x4979cb[_0x27cc77([0x6d,0x6f,0x64,0x65,0x6c])][_0x27cc77([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a2e56,_0x4979cb[_0x27cc77([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27cc77([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57ec84(){return window[_0x27cc77([0x67,0x6c,0x6f,0x62])]&&window[_0x27cc77([0x67,0x6c,0x6f,0x62])][_0x27cc77([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x28bb54(_0x3f80e4){const _0x132a46=_0x3ddc8b();_0x4979cb[_0x132a46]=_0x27cc77([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])+_0x3f80e4,_0x3f80e4!=_0x27cc77([0x56,0x61,0x6c,0x69,0x64])&&_0x19b24e();}function _0x3ddc8b(){const _0x5507e1=window[_0x27cc77([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27cc77([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27cc77([0x6e,0x6f,0x77])]())[_0x27cc77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27cc77([0x2e]),'');let _0x23e196=_0x27cc77([0x73]);for(let _0x5ec14e=0x0;_0x5ec14e<_0x5507e1[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ec14e+=0x2){let _0x2ef15e=window[_0x27cc77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5507e1[_0x27cc77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ec14e,_0x5ec14e+0x2));_0x2ef15e>=_0x9fea8c[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ef15e-=_0x9fea8c[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23e196+=_0x9fea8c[_0x2ef15e];}return _0x23e196;}function _0x2625be(){const _0x5b9be6=_0x1a19f4[_0x27cc77([0x73,0x70,0x6c,0x69,0x74])](_0x27cc77([0x2e]));if(0x3!=_0x5b9be6[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c45a3(_0x5b9be6[0x1]);function _0x1c45a3(_0x2dcce6){const _0x58eaf4=_0xb184f6(_0x2dcce6);return _0x58eaf4&&_0x5a652e()?_0x58eaf4:null;function _0x5a652e(){const _0x40c8e6=_0x58eaf4[_0x27cc77([0x6a,0x74,0x69])],_0x1c6724=window[_0x27cc77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40c8e6[_0x27cc77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40c8e6[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x937bf4={..._0x58eaf4,[_0x27cc77([0x6a,0x74,0x69])]:_0x40c8e6[_0x27cc77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40c8e6[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x937bf4[_0x27cc77([0x76,0x63])],_0x20a4ef(_0x937bf4)==_0x1c6724;}}}async function _0x5e45ae(){let _0x429063=!0x0;try{const _0x52ff34=_0x1a19f4[_0x27cc77([0x73,0x70,0x6c,0x69,0x74])](_0x27cc77([0x2e])),[_0x37130b,_0x28ac19,_0x31f0e2]=_0x52ff34;return _0x4e44be(_0x37130b),await _0x3b76c0(_0x37130b,_0x28ac19,_0x31f0e2),_0x429063;}catch{return!0x1;}function _0x4e44be(_0x250ca9){const _0x598092=_0xb184f6(_0x250ca9);_0x598092&&_0x598092[_0x27cc77([0x61,0x6c,0x67])]==_0x27cc77([0x45,0x53,0x32,0x35,0x36])||(_0x429063=!0x1);}async function _0x3b76c0(_0x40d634,_0x1c98d0,_0x343a37){const _0x494dac=window[_0x27cc77([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27cc77([0x66,0x72,0x6f,0x6d])](_0x303188(_0x343a37),_0x1a95ee=>_0x1a95ee[_0x27cc77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe57676=new window[(_0x27cc77([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27cc77([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40d634+_0x27cc77([0x2e])+_0x1c98d0),_0x2bc8b6=window[_0x27cc77([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27cc77([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2bc8b6)return;const _0x48df22=await _0x2bc8b6[_0x27cc77([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27cc77([0x6a,0x77,0x6b]),_0x20e598,{[_0x27cc77([0x6e,0x61,0x6d,0x65])]:_0x27cc77([0x45,0x43,0x44,0x53,0x41]),[_0x27cc77([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27cc77([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27cc77([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2bc8b6[_0x27cc77([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27cc77([0x6e,0x61,0x6d,0x65])]:_0x27cc77([0x45,0x43,0x44,0x53,0x41]),[_0x27cc77([0x68,0x61,0x73,0x68])]:{[_0x27cc77([0x6e,0x61,0x6d,0x65])]:_0x27cc77([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48df22,_0x494dac,_0xe57676)||(_0x429063=!0x1);}}function _0xb184f6(_0x24d9ed){return _0x24d9ed[_0x27cc77([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27cc77([0x65,0x79]))?JSON[_0x27cc77([0x70,0x61,0x72,0x73,0x65])](_0x303188(_0x24d9ed)):null;}function _0x303188(_0x26e085){return window[_0x27cc77([0x61,0x74,0x6f,0x62])](_0x26e085[_0x27cc77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27cc77([0x2b]))[_0x27cc77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27cc77([0x2f])));}function _0x20a4ef(_0x36604c){let _0x5ac57f=0x1505;function _0x116714(_0x4472b9){for(let _0x19984a=0x0;_0x19984a<_0x4472b9[_0x27cc77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19984a++){const _0x360d31=_0x4472b9[_0x27cc77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19984a);_0x5ac57f=(_0x5ac57f<<0x5)+_0x5ac57f+_0x360d31,_0x5ac57f&=_0x5ac57f;}}function _0x12c9a9(_0x5a2fa6){Array[_0x27cc77([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a2fa6)?_0x5a2fa6[_0x27cc77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12c9a9):_0x5a2fa6&&typeof _0x5a2fa6==_0x27cc77([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27cc77([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a2fa6)[_0x27cc77([0x73,0x6f,0x72,0x74])]()[_0x27cc77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50faf9,_0x4b82fc])=>{_0x116714(_0x50faf9),_0x12c9a9(_0x4b82fc);}):_0x116714(window[_0x27cc77([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a2fa6));}return _0x12c9a9(_0x36604c),_0x5ac57f>>>0x0;}function _0x5ad25b(_0x4578ee){return _0x4578ee[_0x27cc77([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27cc77([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27cc77([0x30]));}function _0x12502a(_0x40a644){return _0x40a644[_0x27cc77([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27cc77([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27cc77([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a2e56(){}function _0x27cc77(_0xaebaa){return _0xaebaa['map'](_0x1e054b=>String['fromCharCode'](_0x1e054b))['join']('');}_0x28bb54(await _0x43997a());}(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'],[_0x1ba841=>Number(_0x1ba841)>=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(_0x18b859){return Lp['includes'](_0x18b859);}function Vp(_0x4f73a4){return Array['from'](_0x4f73a4['getStyleNames']())['filter']($p);}function Up(_0x141464,_0x4c72d5,_0x4fd681){const {spanStyles:_0x30d726,stylesToBeHtmlElements:_0x3f2592}=function(_0x28bfab,_0x4a7a86){const _0x164398={},_0x410d9f={};return _0x4a7a86['forEach'](_0x4f639a=>{const _0x162851=_0x28bfab['getStyle'](_0x4f639a);if(_0x162851){if(function(_0x5e94cf){return Dp['includes'](_0x5e94cf);}(_0x4f639a))_0x164398[_0x4f639a]=_0x162851;else{if(function(_0x43c4a8){return _0x43c4a8 in Qp;}(_0x4f639a)){const _0x39959e=_0x162851['split']('\x20');Qp[_0x4f639a]['forEach'](([_0xd7d114,_0xe536b3])=>{for(const _0x9b3416 of _0x39959e){('function'==typeof _0xd7d114&&_0xd7d114(_0x9b3416)||_0xd7d114===_0x9b3416)&&(_0x410d9f[_0x4f639a]=[..._0x410d9f[_0x4f639a]||[],[_0xd7d114,_0xe536b3]]);}});}}}}),{'spanStyles':_0x164398,'stylesToBeHtmlElements':_0x410d9f};}(_0x141464,_0x4fd681);!function(_0x3c02f2,_0x114a7e,_0x528eb9){for(const _0x524f6a in _0x528eb9){_0x528eb9[_0x524f6a]['forEach'](([,_0x59e71d])=>{const _0x1d2a2d=_0x114a7e['createElement'](_0x59e71d,[],_0x3c02f2['getChildren']());_0x114a7e['insertChild'](0x0,_0x1d2a2d,_0x3c02f2);}),_0x114a7e['removeStyle'](_0x524f6a,_0x3c02f2);}}(_0x141464,_0x4c72d5,_0x3f2592),function(_0x40cd45,_0x347270,_0xff1ad8){if(!Object['keys'](_0xff1ad8)['length'])return;const _0x7ab52d=_0x347270['createElement']('span',[],_0x40cd45['getChildren']());_0x347270['setStyle'](_0xff1ad8,_0x7ab52d),_0x347270['insertChild'](0x0,_0x7ab52d,_0x40cd45),_0x347270['removeStyle'](Object['keys'](_0xff1ad8),_0x40cd45);}(_0x141464,_0x4c72d5,_0x30d726);}class MSOfficeInlineStylePropagator extends _0x573809{['execute'](_0x4ac2bf){const {body:_0x271490}=_0x4ac2bf['_parsedData'],_0x44df83=new _0x1c5733(_0x271490['document']),_0x2c7668=_0x44df83['createRangeIn'](_0x271490),_0x59ffeb=new _0x49dc7a(_0x44df83['document']['stylesProcessor']),_0x3bccfb=[...new _0x42eed5(_0x59ffeb)['blockElements'],'font'],_0x48577f=_0x2c7668['getItems']();for(const _0x220808 of _0x48577f)_0x220808['is']('element')&&_0x3bccfb['includes'](_0x220808['name'])&&Up(_0x220808,_0x44df83,Vp(_0x220808));_0x4ac2bf['content']=_0x271490;}['isActive'](_0x483274){return super['isActive'](_0x483274)||kp(_0x483274);}}class PasteFromOfficeEnhancedPropagator extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x4c14aa=this['editor'],_0x30cccd=_0x4c14aa['plugins']['get']('ClipboardPipeline'),_0x54c4fe=_0x4c14aa['editing']['view']['document'],_0x5f2a83=new MSOfficeInlineStylePropagator(_0x54c4fe);_0x30cccd['on']('inputTransformation',(_0x534f9e,_0x5ba047)=>{const _0x2d371e=_0x5ba047['dataTransfer']['getData']('text/html');_0x5f2a83['isActive'](_0x2d371e)&&(_0x5ba047['_parsedData']||(_0x5ba047['_parsedData']=_0x34fb9f(_0x2d371e,_0x54c4fe['stylesProcessor'])),_0x5f2a83['execute'](_0x5ba047));},{'priority':_0x244365['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x35d4bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14ed73;for(const _0x1f8d61 in _0x35d4bb){const _0x249eef=_0x1f8d61,_0x2c645d=_0x35d4bb[_0x249eef];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x2c645d||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x2c645d||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x2c645d||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x2c645d||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x2c645d||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x2c645d||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x2c645d){delete _0x35d4bb[_0x249eef],_0x14ed73=_0x2c645d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x14ed73&&_0x35d4bb['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x14ed73&&_0x35d4bb['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x14ed73&&_0x35d4bb['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x14ed73&&_0x35d4bb['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x14ed73&&_0x35d4bb['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x14ed73&&_0x35d4bb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x13517b{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,tO,eO,iO,sO={},nO,rO,oO,aO,cO,lO,hO,uO,dO,fO,mO={'exports':{}};mO['exports'];function gO(){return nO||(nO=0x1,_0x17532c=mO,_0x3d4377=mO['exports'],'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof self&&self,function(_0x454bec){Object['defineProperty'](_0x454bec,'__esModule',{'value':!0x0}),_0x454bec['default']=void 0x0;var _0x138de7=null;try{_0x138de7=new WebAssembly['Instance'](new WebAssembly['Module'](new Uint8Array([0x0,0x61,0x73,0x6d,0x1,0x0,0x0,0x0,0x1,0xd,0x2,0x60,0x0,0x1,0x7f,0x60,0x4,0x7f,0x7f,0x7f,0x7f,0x1,0x7f,0x3,0x7,0x6,0x0,0x1,0x1,0x1,0x1,0x1,0x6,0x6,0x1,0x7f,0x1,0x41,0x0,0xb,0x7,0x32,0x6,0x3,0x6d,0x75,0x6c,0x0,0x1,0x5,0x64,0x69,0x76,0x5f,0x73,0x0,0x2,0x5,0x64,0x69,0x76,0x5f,0x75,0x0,0x3,0x5,0x72,0x65,0x6d,0x5f,0x73,0x0,0x4,0x5,0x72,0x65,0x6d,0x5f,0x75,0x0,0x5,0x8,0x67,0x65,0x74,0x5f,0x68,0x69,0x67,0x68,0x0,0x0,0xa,0xbf,0x1,0x6,0x4,0x0,0x23,0x0,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7e,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7f,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x80,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x81,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x82,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb])),{})['exports'];}catch{}function _0x2bf7c1(_0x107907,_0x391c0c,_0x50bbaa){this['low']=0x0|_0x107907,this['high']=0x0|_0x391c0c,this['unsigned']=!!_0x50bbaa;}function _0xcdcf64(_0x1320ef){return!0x0===(_0x1320ef&&_0x1320ef['__isLong__']);}function _0x137edc(_0x3c7582){var _0x57c015=Math['clz32'](_0x3c7582&-_0x3c7582);return _0x3c7582?0x1f-_0x57c015:_0x57c015;}_0x2bf7c1['prototype']['__isLong__'],Object['defineProperty'](_0x2bf7c1['prototype'],'__isLong__',{'value':!0x0}),_0x2bf7c1['isLong']=_0xcdcf64;var _0xe030dd={},_0x5256a={};function _0x14d04b(_0x5560c6,_0x5e00d1){var _0x4c929e,_0x2d21a8,_0x4eb443;return _0x5e00d1?(_0x4eb443=0x0<=(_0x5560c6>>>=0x0)&&_0x5560c6<0x100)&&(_0x2d21a8=_0x5256a[_0x5560c6])?_0x2d21a8:(_0x4c929e=_0x1d8d0c(_0x5560c6,0x0,!0x0),_0x4eb443&&(_0x5256a[_0x5560c6]=_0x4c929e),_0x4c929e):(_0x4eb443=-0x80<=(_0x5560c6|=0x0)&&_0x5560c6<0x80)&&(_0x2d21a8=_0xe030dd[_0x5560c6])?_0x2d21a8:(_0x4c929e=_0x1d8d0c(_0x5560c6,_0x5560c6<0x0?-0x1:0x0,!0x1),_0x4eb443&&(_0xe030dd[_0x5560c6]=_0x4c929e),_0x4c929e);}function _0x4d2c19(_0x5e768b,_0x327399){if(isNaN(_0x5e768b))return _0x327399?_0x135a18:_0x462c6f;if(_0x327399){if(_0x5e768b<0x0)return _0x135a18;if(_0x5e768b>=_0x1ffc46)return _0x5b26b2;}else{if(_0x5e768b<=-_0x2b5758)return _0x55c103;if(_0x5e768b+0x1>=_0x2b5758)return _0x1bfab5;}return _0x5e768b<0x0?_0x4d2c19(-_0x5e768b,_0x327399)['neg']():_0x1d8d0c(_0x5e768b%_0x23c6fd|0x0,_0x5e768b/_0x23c6fd|0x0,_0x327399);}function _0x1d8d0c(_0x583bbc,_0x38785a,_0x2321fa){return new _0x2bf7c1(_0x583bbc,_0x38785a,_0x2321fa);}_0x2bf7c1['fromInt']=_0x14d04b,_0x2bf7c1['fromNumber']=_0x4d2c19,_0x2bf7c1['fromBits']=_0x1d8d0c;var _0x12c129=Math['pow'];function _0x63bf4e(_0x7ef085,_0x50801f,_0xcd352e){if(0x0===_0x7ef085['length'])throw Error('empty\x20string');if('number'==typeof _0x50801f?(_0xcd352e=_0x50801f,_0x50801f=!0x1):_0x50801f=!!_0x50801f,'NaN'===_0x7ef085||'Infinity'===_0x7ef085||'+Infinity'===_0x7ef085||'-Infinity'===_0x7ef085)return _0x50801f?_0x135a18:_0x462c6f;if((_0xcd352e=_0xcd352e||0xa)<0x2||0x24<_0xcd352e)throw RangeError('radix');var _0x16692d;if((_0x16692d=_0x7ef085['indexOf']('-'))>0x0)throw Error('interior\x20hyphen');if(0x0===_0x16692d)return _0x63bf4e(_0x7ef085['substring'](0x1),_0x50801f,_0xcd352e)['neg']();for(var _0x560833=_0x4d2c19(_0x12c129(_0xcd352e,0x8)),_0xa900a4=_0x462c6f,_0x2eca19=0x0;_0x2eca19<_0x7ef085['length'];_0x2eca19+=0x8){var _0x13f838=Math['min'](0x8,_0x7ef085['length']-_0x2eca19),_0x5a5537=parseInt(_0x7ef085['substring'](_0x2eca19,_0x2eca19+_0x13f838),_0xcd352e);if(_0x13f838<0x8){var _0x268362=_0x4d2c19(_0x12c129(_0xcd352e,_0x13f838));_0xa900a4=_0xa900a4['mul'](_0x268362)['add'](_0x4d2c19(_0x5a5537));}else _0xa900a4=(_0xa900a4=_0xa900a4['mul'](_0x560833))['add'](_0x4d2c19(_0x5a5537));}return _0xa900a4['unsigned']=_0x50801f,_0xa900a4;}function _0x12e237(_0x57f560,_0x1d3a91){return'number'==typeof _0x57f560?_0x4d2c19(_0x57f560,_0x1d3a91):'string'==typeof _0x57f560?_0x63bf4e(_0x57f560,_0x1d3a91):_0x1d8d0c(_0x57f560['low'],_0x57f560['high'],'boolean'==typeof _0x1d3a91?_0x1d3a91:_0x57f560['unsigned']);}_0x2bf7c1['fromString']=_0x63bf4e,_0x2bf7c1['fromValue']=_0x12e237;var _0x5dd997=0x10000,_0x23c6fd=_0x5dd997*_0x5dd997,_0x1ffc46=_0x23c6fd*_0x23c6fd,_0x2b5758=_0x1ffc46/0x2,_0x5b2ab1=_0x14d04b(0x1<<0x18),_0x462c6f=_0x14d04b(0x0);_0x2bf7c1['ZERO']=_0x462c6f;var _0x135a18=_0x14d04b(0x0,!0x0);_0x2bf7c1['UZERO']=_0x135a18;var _0x23dc67=_0x14d04b(0x1);_0x2bf7c1['ONE']=_0x23dc67;var _0x44039b=_0x14d04b(0x1,!0x0);_0x2bf7c1['UONE']=_0x44039b;var _0x466e79=_0x14d04b(-0x1);_0x2bf7c1['NEG_ONE']=_0x466e79;var _0x1bfab5=_0x1d8d0c(-0x1,0x7fffffff,!0x1);_0x2bf7c1['MAX_VALUE']=_0x1bfab5;var _0x5b26b2=_0x1d8d0c(-0x1,-0x1,!0x0);_0x2bf7c1['MAX_UNSIGNED_VALUE']=_0x5b26b2;var _0x55c103=_0x1d8d0c(0x0,-0x80000000,!0x1);_0x2bf7c1['MIN_VALUE']=_0x55c103;var _0x25be4f=_0x2bf7c1['prototype'];_0x25be4f['toInt']=function(){return this['unsigned']?this['low']>>>0x0:this['low'];},_0x25be4f['toNumber']=function(){return this['unsigned']?(this['high']>>>0x0)*_0x23c6fd+(this['low']>>>0x0):this['high']*_0x23c6fd+(this['low']>>>0x0);},_0x25be4f['toString']=function(_0x279d9e){if((_0x279d9e=_0x279d9e||0xa)<0x2||0x24<_0x279d9e)throw RangeError('radix');if(this['isZero']())return'0';if(this['isNegative']()){if(this['eq'](_0x55c103)){var _0x1998ed=_0x4d2c19(_0x279d9e),_0x5d616f=this['div'](_0x1998ed),_0x415cf7=_0x5d616f['mul'](_0x1998ed)['sub'](this);return _0x5d616f['toString'](_0x279d9e)+_0x415cf7['toInt']()['toString'](_0x279d9e);}return'-'+this['neg']()['toString'](_0x279d9e);}for(var _0x11b408=_0x4d2c19(_0x12c129(_0x279d9e,0x6),this['unsigned']),_0x32ca15=this,_0x474ece='';;){var _0x382974=_0x32ca15['div'](_0x11b408),_0x202b07=(_0x32ca15['sub'](_0x382974['mul'](_0x11b408))['toInt']()>>>0x0)['toString'](_0x279d9e);if((_0x32ca15=_0x382974)['isZero']())return _0x202b07+_0x474ece;for(;_0x202b07['length']<0x6;)_0x202b07='0'+_0x202b07;_0x474ece=''+_0x202b07+_0x474ece;}},_0x25be4f['getHighBits']=function(){return this['high'];},_0x25be4f['getHighBitsUnsigned']=function(){return this['high']>>>0x0;},_0x25be4f['getLowBits']=function(){return this['low'];},_0x25be4f['getLowBitsUnsigned']=function(){return this['low']>>>0x0;},_0x25be4f['getNumBitsAbs']=function(){if(this['isNegative']())return this['eq'](_0x55c103)?0x40:this['neg']()['getNumBitsAbs']();for(var _0x92cac=0x0!=this['high']?this['high']:this['low'],_0x2fa8a2=0x1f;_0x2fa8a2>0x0&&!(_0x92cac&0x1<<_0x2fa8a2);_0x2fa8a2--);return 0x0!=this['high']?_0x2fa8a2+0x21:_0x2fa8a2+0x1;},_0x25be4f['isSafeInteger']=function(){var _0x3a33b6=this['high']>>0x15;return!_0x3a33b6||!this['unsigned']&&-0x1===_0x3a33b6&&!(0x0===this['low']&&-0x200000===this['high']);},_0x25be4f['isZero']=function(){return 0x0===this['high']&&0x0===this['low'];},_0x25be4f['eqz']=_0x25be4f['isZero'],_0x25be4f['isNegative']=function(){return!this['unsigned']&&this['high']<0x0;},_0x25be4f['isPositive']=function(){return this['unsigned']||this['high']>=0x0;},_0x25be4f['isOdd']=function(){return!(0x1&~this['low']);},_0x25be4f['isEven']=function(){return!(0x1&this['low']);},_0x25be4f['equals']=function(_0x546417){return _0xcdcf64(_0x546417)||(_0x546417=_0x12e237(_0x546417)),(this['unsigned']===_0x546417['unsigned']||this['high']>>>0x1f!=0x1||_0x546417['high']>>>0x1f!=0x1)&&this['high']===_0x546417['high']&&this['low']===_0x546417['low'];},_0x25be4f['eq']=_0x25be4f['equals'],_0x25be4f['notEquals']=function(_0x9b3cd1){return!this['eq'](_0x9b3cd1);},_0x25be4f['neq']=_0x25be4f['notEquals'],_0x25be4f['ne']=_0x25be4f['notEquals'],_0x25be4f['lessThan']=function(_0xbbf214){return this['comp'](_0xbbf214)<0x0;},_0x25be4f['lt']=_0x25be4f['lessThan'],_0x25be4f['lessThanOrEqual']=function(_0xced40b){return this['comp'](_0xced40b)<=0x0;},_0x25be4f['lte']=_0x25be4f['lessThanOrEqual'],_0x25be4f['le']=_0x25be4f['lessThanOrEqual'],_0x25be4f['greaterThan']=function(_0x3bbc56){return this['comp'](_0x3bbc56)>0x0;},_0x25be4f['gt']=_0x25be4f['greaterThan'],_0x25be4f['greaterThanOrEqual']=function(_0x104356){return this['comp'](_0x104356)>=0x0;},_0x25be4f['gte']=_0x25be4f['greaterThanOrEqual'],_0x25be4f['ge']=_0x25be4f['greaterThanOrEqual'],_0x25be4f['compare']=function(_0x1b1cb4){if(_0xcdcf64(_0x1b1cb4)||(_0x1b1cb4=_0x12e237(_0x1b1cb4)),this['eq'](_0x1b1cb4))return 0x0;var _0x414e3c=this['isNegative'](),_0x451c8f=_0x1b1cb4['isNegative']();return _0x414e3c&&!_0x451c8f?-0x1:!_0x414e3c&&_0x451c8f?0x1:this['unsigned']?_0x1b1cb4['high']>>>0x0>this['high']>>>0x0||_0x1b1cb4['high']===this['high']&&_0x1b1cb4['low']>>>0x0>this['low']>>>0x0?-0x1:0x1:this['sub'](_0x1b1cb4)['isNegative']()?-0x1:0x1;},_0x25be4f['comp']=_0x25be4f['compare'],_0x25be4f['negate']=function(){return!this['unsigned']&&this['eq'](_0x55c103)?_0x55c103:this['not']()['add'](_0x23dc67);},_0x25be4f['neg']=_0x25be4f['negate'],_0x25be4f['add']=function(_0x2cb775){_0xcdcf64(_0x2cb775)||(_0x2cb775=_0x12e237(_0x2cb775));var _0x5a411c=this['high']>>>0x10,_0x554675=0xffff&this['high'],_0x3b461f=this['low']>>>0x10,_0x35174a=0xffff&this['low'],_0xd1fb4f=_0x2cb775['high']>>>0x10,_0x13707a=0xffff&_0x2cb775['high'],_0x1a3abf=_0x2cb775['low']>>>0x10,_0x5cc21e=0x0,_0x422109=0x0,_0x233251=0x0,_0x2e00ba=0x0;return _0x233251+=(_0x2e00ba+=_0x35174a+(0xffff&_0x2cb775['low']))>>>0x10,_0x422109+=(_0x233251+=_0x3b461f+_0x1a3abf)>>>0x10,_0x5cc21e+=(_0x422109+=_0x554675+_0x13707a)>>>0x10,_0x5cc21e+=_0x5a411c+_0xd1fb4f,_0x1d8d0c((_0x233251&=0xffff)<<0x10|(_0x2e00ba&=0xffff),(_0x5cc21e&=0xffff)<<0x10|(_0x422109&=0xffff),this['unsigned']);},_0x25be4f['subtract']=function(_0x4a5752){return _0xcdcf64(_0x4a5752)||(_0x4a5752=_0x12e237(_0x4a5752)),this['add'](_0x4a5752['neg']());},_0x25be4f['sub']=_0x25be4f['subtract'],_0x25be4f['multiply']=function(_0x35ce85){if(this['isZero']())return this;if(_0xcdcf64(_0x35ce85)||(_0x35ce85=_0x12e237(_0x35ce85)),_0x138de7)return _0x1d8d0c(_0x138de7['mul'](this['low'],this['high'],_0x35ce85['low'],_0x35ce85['high']),_0x138de7['get_high'](),this['unsigned']);if(_0x35ce85['isZero']())return this['unsigned']?_0x135a18:_0x462c6f;if(this['eq'](_0x55c103))return _0x35ce85['isOdd']()?_0x55c103:_0x462c6f;if(_0x35ce85['eq'](_0x55c103))return this['isOdd']()?_0x55c103:_0x462c6f;if(this['isNegative']())return _0x35ce85['isNegative']()?this['neg']()['mul'](_0x35ce85['neg']()):this['neg']()['mul'](_0x35ce85)['neg']();if(_0x35ce85['isNegative']())return this['mul'](_0x35ce85['neg']())['neg']();if(this['lt'](_0x5b2ab1)&&_0x35ce85['lt'](_0x5b2ab1))return _0x4d2c19(this['toNumber']()*_0x35ce85['toNumber'](),this['unsigned']);var _0xb15727=this['high']>>>0x10,_0x3b89e8=0xffff&this['high'],_0x28a2e2=this['low']>>>0x10,_0x4d42db=0xffff&this['low'],_0x4f3262=_0x35ce85['high']>>>0x10,_0x8a597b=0xffff&_0x35ce85['high'],_0x31ade7=_0x35ce85['low']>>>0x10,_0x352a6f=0xffff&_0x35ce85['low'],_0x40470c=0x0,_0xa6bd7c=0x0,_0x1cb8fc=0x0,_0x233483=0x0;return _0x1cb8fc+=(_0x233483+=_0x4d42db*_0x352a6f)>>>0x10,_0xa6bd7c+=(_0x1cb8fc+=_0x28a2e2*_0x352a6f)>>>0x10,_0x1cb8fc&=0xffff,_0xa6bd7c+=(_0x1cb8fc+=_0x4d42db*_0x31ade7)>>>0x10,_0x40470c+=(_0xa6bd7c+=_0x3b89e8*_0x352a6f)>>>0x10,_0xa6bd7c&=0xffff,_0x40470c+=(_0xa6bd7c+=_0x28a2e2*_0x31ade7)>>>0x10,_0xa6bd7c&=0xffff,_0x40470c+=(_0xa6bd7c+=_0x4d42db*_0x8a597b)>>>0x10,_0x40470c+=_0xb15727*_0x352a6f+_0x3b89e8*_0x31ade7+_0x28a2e2*_0x8a597b+_0x4d42db*_0x4f3262,_0x1d8d0c((_0x1cb8fc&=0xffff)<<0x10|(_0x233483&=0xffff),(_0x40470c&=0xffff)<<0x10|(_0xa6bd7c&=0xffff),this['unsigned']);},_0x25be4f['mul']=_0x25be4f['multiply'],_0x25be4f['divide']=function(_0x291714){if(_0xcdcf64(_0x291714)||(_0x291714=_0x12e237(_0x291714)),_0x291714['isZero']())throw Error('division\x20by\x20zero');var _0x177509,_0x4b680b,_0x39cf50;if(_0x138de7)return this['unsigned']||-0x80000000!==this['high']||-0x1!==_0x291714['low']||-0x1!==_0x291714['high']?_0x1d8d0c((this['unsigned']?_0x138de7['div_u']:_0x138de7['div_s'])(this['low'],this['high'],_0x291714['low'],_0x291714['high']),_0x138de7['get_high'](),this['unsigned']):this;if(this['isZero']())return this['unsigned']?_0x135a18:_0x462c6f;if(this['unsigned']){if(_0x291714['unsigned']||(_0x291714=_0x291714['toUnsigned']()),_0x291714['gt'](this))return _0x135a18;if(_0x291714['gt'](this['shru'](0x1)))return _0x44039b;_0x39cf50=_0x135a18;}else{if(this['eq'](_0x55c103))return _0x291714['eq'](_0x23dc67)||_0x291714['eq'](_0x466e79)?_0x55c103:_0x291714['eq'](_0x55c103)?_0x23dc67:(_0x177509=this['shr'](0x1)['div'](_0x291714)['shl'](0x1))['eq'](_0x462c6f)?_0x291714['isNegative']()?_0x23dc67:_0x466e79:(_0x4b680b=this['sub'](_0x291714['mul'](_0x177509)),_0x39cf50=_0x177509['add'](_0x4b680b['div'](_0x291714)));if(_0x291714['eq'](_0x55c103))return this['unsigned']?_0x135a18:_0x462c6f;if(this['isNegative']())return _0x291714['isNegative']()?this['neg']()['div'](_0x291714['neg']()):this['neg']()['div'](_0x291714)['neg']();if(_0x291714['isNegative']())return this['div'](_0x291714['neg']())['neg']();_0x39cf50=_0x462c6f;}for(_0x4b680b=this;_0x4b680b['gte'](_0x291714);){_0x177509=Math['max'](0x1,Math['floor'](_0x4b680b['toNumber']()/_0x291714['toNumber']()));for(var _0x51e201=Math['ceil'](Math['log'](_0x177509)/Math['LN2']),_0x297ee0=_0x51e201<=0x30?0x1:_0x12c129(0x2,_0x51e201-0x30),_0x22c676=_0x4d2c19(_0x177509),_0x2e41a8=_0x22c676['mul'](_0x291714);_0x2e41a8['isNegative']()||_0x2e41a8['gt'](_0x4b680b);)_0x2e41a8=(_0x22c676=_0x4d2c19(_0x177509-=_0x297ee0,this['unsigned']))['mul'](_0x291714);_0x22c676['isZero']()&&(_0x22c676=_0x23dc67),_0x39cf50=_0x39cf50['add'](_0x22c676),_0x4b680b=_0x4b680b['sub'](_0x2e41a8);}return _0x39cf50;},_0x25be4f['div']=_0x25be4f['divide'],_0x25be4f['modulo']=function(_0xf50b1e){return _0xcdcf64(_0xf50b1e)||(_0xf50b1e=_0x12e237(_0xf50b1e)),_0x138de7?_0x1d8d0c((this['unsigned']?_0x138de7['rem_u']:_0x138de7['rem_s'])(this['low'],this['high'],_0xf50b1e['low'],_0xf50b1e['high']),_0x138de7['get_high'](),this['unsigned']):this['sub'](this['div'](_0xf50b1e)['mul'](_0xf50b1e));},_0x25be4f['mod']=_0x25be4f['modulo'],_0x25be4f['rem']=_0x25be4f['modulo'],_0x25be4f['not']=function(){return _0x1d8d0c(~this['low'],~this['high'],this['unsigned']);},_0x25be4f['countLeadingZeros']=function(){return this['high']?Math['clz32'](this['high']):Math['clz32'](this['low'])+0x20;},_0x25be4f['clz']=_0x25be4f['countLeadingZeros'],_0x25be4f['countTrailingZeros']=function(){return this['low']?_0x137edc(this['low']):_0x137edc(this['high'])+0x20;},_0x25be4f['ctz']=_0x25be4f['countTrailingZeros'],_0x25be4f['and']=function(_0x5b0719){return _0xcdcf64(_0x5b0719)||(_0x5b0719=_0x12e237(_0x5b0719)),_0x1d8d0c(this['low']&_0x5b0719['low'],this['high']&_0x5b0719['high'],this['unsigned']);},_0x25be4f['or']=function(_0x5299ee){return _0xcdcf64(_0x5299ee)||(_0x5299ee=_0x12e237(_0x5299ee)),_0x1d8d0c(this['low']|_0x5299ee['low'],this['high']|_0x5299ee['high'],this['unsigned']);},_0x25be4f['xor']=function(_0x114d34){return _0xcdcf64(_0x114d34)||(_0x114d34=_0x12e237(_0x114d34)),_0x1d8d0c(this['low']^_0x114d34['low'],this['high']^_0x114d34['high'],this['unsigned']);},_0x25be4f['shiftLeft']=function(_0x12a020){return _0xcdcf64(_0x12a020)&&(_0x12a020=_0x12a020['toInt']()),0x0==(_0x12a020&=0x3f)?this:_0x12a020<0x20?_0x1d8d0c(this['low']<<_0x12a020,this['high']<<_0x12a020|this['low']>>>0x20-_0x12a020,this['unsigned']):_0x1d8d0c(0x0,this['low']<<_0x12a020-0x20,this['unsigned']);},_0x25be4f['shl']=_0x25be4f['shiftLeft'],_0x25be4f['shiftRight']=function(_0x47718c){return _0xcdcf64(_0x47718c)&&(_0x47718c=_0x47718c['toInt']()),0x0==(_0x47718c&=0x3f)?this:_0x47718c<0x20?_0x1d8d0c(this['low']>>>_0x47718c|this['high']<<0x20-_0x47718c,this['high']>>_0x47718c,this['unsigned']):_0x1d8d0c(this['high']>>_0x47718c-0x20,this['high']>=0x0?0x0:-0x1,this['unsigned']);},_0x25be4f['shr']=_0x25be4f['shiftRight'],_0x25be4f['shiftRightUnsigned']=function(_0x15faba){return _0xcdcf64(_0x15faba)&&(_0x15faba=_0x15faba['toInt']()),0x0==(_0x15faba&=0x3f)?this:_0x15faba<0x20?_0x1d8d0c(this['low']>>>_0x15faba|this['high']<<0x20-_0x15faba,this['high']>>>_0x15faba,this['unsigned']):_0x1d8d0c(0x20===_0x15faba?this['high']:this['high']>>>_0x15faba-0x20,0x0,this['unsigned']);},_0x25be4f['shru']=_0x25be4f['shiftRightUnsigned'],_0x25be4f['shr_u']=_0x25be4f['shiftRightUnsigned'],_0x25be4f['rotateLeft']=function(_0x26fd21){var _0x4d2d14;return _0xcdcf64(_0x26fd21)&&(_0x26fd21=_0x26fd21['toInt']()),0x0==(_0x26fd21&=0x3f)?this:0x20===_0x26fd21?_0x1d8d0c(this['high'],this['low'],this['unsigned']):_0x26fd21<0x20?(_0x4d2d14=0x20-_0x26fd21,_0x1d8d0c(this['low']<<_0x26fd21|this['high']>>>_0x4d2d14,this['high']<<_0x26fd21|this['low']>>>_0x4d2d14,this['unsigned'])):(_0x4d2d14=0x20-(_0x26fd21-=0x20),_0x1d8d0c(this['high']<<_0x26fd21|this['low']>>>_0x4d2d14,this['low']<<_0x26fd21|this['high']>>>_0x4d2d14,this['unsigned']));},_0x25be4f['rotl']=_0x25be4f['rotateLeft'],_0x25be4f['rotateRight']=function(_0x439c33){var _0x3bfc03;return _0xcdcf64(_0x439c33)&&(_0x439c33=_0x439c33['toInt']()),0x0==(_0x439c33&=0x3f)?this:0x20===_0x439c33?_0x1d8d0c(this['high'],this['low'],this['unsigned']):_0x439c33<0x20?(_0x3bfc03=0x20-_0x439c33,_0x1d8d0c(this['high']<<_0x3bfc03|this['low']>>>_0x439c33,this['low']<<_0x3bfc03|this['high']>>>_0x439c33,this['unsigned'])):(_0x3bfc03=0x20-(_0x439c33-=0x20),_0x1d8d0c(this['low']<<_0x3bfc03|this['high']>>>_0x439c33,this['high']<<_0x3bfc03|this['low']>>>_0x439c33,this['unsigned']));},_0x25be4f['rotr']=_0x25be4f['rotateRight'],_0x25be4f['toSigned']=function(){return this['unsigned']?_0x1d8d0c(this['low'],this['high'],!0x1):this;},_0x25be4f['toUnsigned']=function(){return this['unsigned']?this:_0x1d8d0c(this['low'],this['high'],!0x0);},_0x25be4f['toBytes']=function(_0x20b0aa){return _0x20b0aa?this['toBytesLE']():this['toBytesBE']();},_0x25be4f['toBytesLE']=function(){var _0x3601db=this['high'],_0x2025af=this['low'];return[0xff&_0x2025af,_0x2025af>>>0x8&0xff,_0x2025af>>>0x10&0xff,_0x2025af>>>0x18,0xff&_0x3601db,_0x3601db>>>0x8&0xff,_0x3601db>>>0x10&0xff,_0x3601db>>>0x18];},_0x25be4f['toBytesBE']=function(){var _0x3208e5=this['high'],_0x3239a5=this['low'];return[_0x3208e5>>>0x18,_0x3208e5>>>0x10&0xff,_0x3208e5>>>0x8&0xff,0xff&_0x3208e5,_0x3239a5>>>0x18,_0x3239a5>>>0x10&0xff,_0x3239a5>>>0x8&0xff,0xff&_0x3239a5];},_0x2bf7c1['fromBytes']=function(_0x4643b3,_0x531273,_0x1b09ba){return _0x1b09ba?_0x2bf7c1['fromBytesLE'](_0x4643b3,_0x531273):_0x2bf7c1['fromBytesBE'](_0x4643b3,_0x531273);},_0x2bf7c1['fromBytesLE']=function(_0x13c4df,_0x4cd0f2){return new _0x2bf7c1(_0x13c4df[0x0]|_0x13c4df[0x1]<<0x8|_0x13c4df[0x2]<<0x10|_0x13c4df[0x3]<<0x18,_0x13c4df[0x4]|_0x13c4df[0x5]<<0x8|_0x13c4df[0x6]<<0x10|_0x13c4df[0x7]<<0x18,_0x4cd0f2);},_0x2bf7c1['fromBytesBE']=function(_0x129b78,_0x4c1ef0){return new _0x2bf7c1(_0x129b78[0x4]<<0x18|_0x129b78[0x5]<<0x10|_0x129b78[0x6]<<0x8|_0x129b78[0x7],_0x129b78[0x0]<<0x18|_0x129b78[0x1]<<0x10|_0x129b78[0x2]<<0x8|_0x129b78[0x3],_0x4c1ef0);},'function'==typeof BigInt&&(_0x2bf7c1['fromBigInt']=function(_0x46d95b,_0x371d07){return _0x1d8d0c(Number(BigInt['asIntN'](0x20,_0x46d95b)),Number(BigInt['asIntN'](0x20,_0x46d95b>>BigInt(0x20))),_0x371d07);},_0x2bf7c1['fromValue']=function(_0x2c7067,_0x35b7b4){return'bigint'==typeof _0x2c7067?_0x2bf7c1['fromBigInt'](_0x2c7067,_0x35b7b4):_0x12e237(_0x2c7067,_0x35b7b4);},_0x25be4f['toBigInt']=function(){var _0x50793a=BigInt(this['low']>>>0x0);return BigInt(this['unsigned']?this['high']>>>0x0:this['high'])<<BigInt(0x20)|_0x50793a;}),_0x454bec['default']=_0x2bf7c1;}(_0x3d4377),_0x17532c['exports']=function(_0x3b3dcc){return _0x3b3dcc['default']||_0x3b3dcc;}(_0x3d4377)),mO['exports'];var _0x17532c,_0x3d4377;}function pO(){return rO||(rO=0x1,(function(){var _0x641a91=Gp;function _0x83b4a1(_0x21317c){return'__proto__'===_0x21317c||'prototype'===_0x21317c||'constructor'===_0x21317c;}function _0x34b9bf(_0x1f54c7){var _0x1231d4='boolean'==typeof arguments[arguments['length']-0x1],_0x27f033=_0x1231d4?arguments['length']-0x1:arguments['length'];_0x1231d4=_0x1231d4&&arguments[arguments['length']-0x1];for(var _0x45acd7=0x1;_0x45acd7<_0x27f033;++_0x45acd7){var _0x41e3b0=arguments[_0x45acd7];if(_0x41e3b0){for(var _0x22047a=Object['keys'](_0x41e3b0),_0x5d3125=0x0;_0x5d3125<_0x22047a['length'];++_0x5d3125)_0x83b4a1(_0x22047a[_0x5d3125])||void 0x0!==_0x1f54c7[_0x22047a[_0x5d3125]]&&_0x1231d4||(_0x1f54c7[_0x22047a[_0x5d3125]]=_0x41e3b0[_0x22047a[_0x5d3125]]);}}return _0x1f54c7;}function _0x45b5c8(_0x3e2069){function _0x4a221e(_0x328fa8,_0x2d1a1e){if(!(this instanceof _0x4a221e))return new _0x4a221e(_0x328fa8,_0x2d1a1e);Object['defineProperty'](this,'message',{'get':function(){return _0x328fa8;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x4a221e):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x2d1a1e&&_0x34b9bf(this,_0x2d1a1e);}return _0x4a221e['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x4a221e,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x3e2069;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x4a221e;}_0x641a91['asPromise']=(Fp||(Fp=0x1,Bp=function(_0x40790b,_0x2ae38a){for(var _0x53f4e3=new Array(arguments['length']-0x1),_0x51aa69=0x0,_0x565d67=0x2,_0x4190e2=!0x0;_0x565d67<arguments['length'];)_0x53f4e3[_0x51aa69++]=arguments[_0x565d67++];return new Promise(function(_0x236595,_0x4f334c){_0x53f4e3[_0x51aa69]=function(_0x53d28c){if(_0x4190e2){if(_0x4190e2=!0x1,_0x53d28c)_0x4f334c(_0x53d28c);else{for(var _0x4fdb71=new Array(arguments['length']-0x1),_0x4ea85f=0x0;_0x4ea85f<_0x4fdb71['length'];)_0x4fdb71[_0x4ea85f++]=arguments[_0x4ea85f];_0x236595['apply'](null,_0x4fdb71);}}};try{_0x40790b['apply'](_0x2ae38a||null,_0x53f4e3);}catch(_0x270d85){_0x4190e2&&(_0x4190e2=!0x1,_0x4f334c(_0x270d85));}});}),Bp),_0x641a91['base64']=(Zp||(Zp=0x1,function(_0x21c11d){var _0x1fad31=_0x21c11d;_0x1fad31['length']=function(_0x14b6dd){var _0x43080b=_0x14b6dd['length'];if(!_0x43080b)return 0x0;for(var _0x37bddc=0x0;--_0x43080b%0x4>0x1&&'='===_0x14b6dd['charAt'](_0x43080b);)++_0x37bddc;return Math['ceil'](0x3*_0x14b6dd['length'])/0x4-_0x37bddc;};for(var _0x5cf5ad=new Array(0x40),_0x36b3f3=new Array(0x7b),_0x19a107=0x0;_0x19a107<0x40;)_0x36b3f3[_0x5cf5ad[_0x19a107]=_0x19a107<0x1a?_0x19a107+0x41:_0x19a107<0x34?_0x19a107+0x47:_0x19a107<0x3e?_0x19a107-0x4:_0x19a107-0x3b|0x2b]=_0x19a107++;_0x1fad31['encode']=function(_0x2e89e5,_0x562db9,_0x2fe92d){for(var t,_0x4b778a=null,_0x2e77e9=[],_0x533930=0x0,_0x52077c=0x0;_0x562db9<_0x2fe92d;){var _0x7f9268=_0x2e89e5[_0x562db9++];switch(_0x52077c){case 0x0:_0x2e77e9[_0x533930++]=_0x5cf5ad[_0x7f9268>>0x2],t=(0x3&_0x7f9268)<<0x4,_0x52077c=0x1;break;case 0x1:_0x2e77e9[_0x533930++]=_0x5cf5ad[t|_0x7f9268>>0x4],t=(0xf&_0x7f9268)<<0x2,_0x52077c=0x2;break;case 0x2:_0x2e77e9[_0x533930++]=_0x5cf5ad[t|_0x7f9268>>0x6],_0x2e77e9[_0x533930++]=_0x5cf5ad[0x3f&_0x7f9268],_0x52077c=0x0;}_0x533930>0x1fff&&((_0x4b778a||(_0x4b778a=[]))['push'](String['fromCharCode']['apply'](String,_0x2e77e9)),_0x533930=0x0);}return _0x52077c&&(_0x2e77e9[_0x533930++]=_0x5cf5ad[t],_0x2e77e9[_0x533930++]=0x3d,0x1===_0x52077c&&(_0x2e77e9[_0x533930++]=0x3d)),_0x4b778a?(_0x533930&&_0x4b778a['push'](String['fromCharCode']['apply'](String,_0x2e77e9['slice'](0x0,_0x533930))),_0x4b778a['join']('')):String['fromCharCode']['apply'](String,_0x2e77e9['slice'](0x0,_0x533930));};var _0x50615d='invalid\x20encoding';_0x1fad31['decode']=function(_0x493ec5,_0x339d5b,_0x3a529b){for(var t,_0x522814=_0x3a529b,_0x8c3f9c=0x0,_0x455cb9=0x0;_0x455cb9<_0x493ec5['length'];){var _0x4ec434=_0x493ec5['charCodeAt'](_0x455cb9++);if(0x3d===_0x4ec434&&_0x8c3f9c>0x1)break;if(void 0x0===(_0x4ec434=_0x36b3f3[_0x4ec434]))throw Error(_0x50615d);switch(_0x8c3f9c){case 0x0:t=_0x4ec434,_0x8c3f9c=0x1;break;case 0x1:_0x339d5b[_0x3a529b++]=t<<0x2|(0x30&_0x4ec434)>>0x4,t=_0x4ec434,_0x8c3f9c=0x2;break;case 0x2:_0x339d5b[_0x3a529b++]=(0xf&t)<<0x4|(0x3c&_0x4ec434)>>0x2,t=_0x4ec434,_0x8c3f9c=0x3;break;case 0x3:_0x339d5b[_0x3a529b++]=(0x3&t)<<0x6|_0x4ec434,_0x8c3f9c=0x0;}}if(0x1===_0x8c3f9c)throw Error(_0x50615d);return _0x3a529b-_0x522814;},_0x1fad31['test']=function(_0x2666e9){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x2666e9);};}(Yp)),Yp),_0x641a91['EventEmitter']=(function(){if(qp)return Xp;function _0x1e586e(){this['_listeners']=Object['create'](null);}return qp=0x1,Xp=_0x1e586e,_0x1e586e['prototype']['on']=function(_0x305b6e,_0x1faf13,_0x375e39){return(this['_listeners'][_0x305b6e]||(this['_listeners'][_0x305b6e]=[]))['push']({'fn':_0x1faf13,'ctx':_0x375e39||this}),this;},_0x1e586e['prototype']['off']=function(_0x1ee764,_0x45426a){if(void 0x0===_0x1ee764)this['_listeners']=Object['create'](null);else{if(void 0x0===_0x45426a)this['_listeners'][_0x1ee764]=[];else{var _0x16af2f=this['_listeners'][_0x1ee764];if(!_0x16af2f)return this;for(var _0x3db552=0x0;_0x3db552<_0x16af2f['length'];)_0x16af2f[_0x3db552]['fn']===_0x45426a?_0x16af2f['splice'](_0x3db552,0x1):++_0x3db552;}}return this;},_0x1e586e['prototype']['emit']=function(_0x5d4c10){var _0x15f5ec=this['_listeners'][_0x5d4c10];if(_0x15f5ec){for(var _0x44a8d6=[],_0x90da5=0x1;_0x90da5<arguments['length'];)_0x44a8d6['push'](arguments[_0x90da5++]);for(_0x90da5=0x0;_0x90da5<_0x15f5ec['length'];)_0x15f5ec[_0x90da5]['fn']['apply'](_0x15f5ec[_0x90da5++]['ctx'],_0x44a8d6);}return this;},Xp;}()),_0x641a91['float']=(function(){if(zp)return Wp;function _0x284ba2(_0x54e2d7){return'undefined'!=typeof Float32Array?(function(){var _0x11b520=new Float32Array([-0x0]),_0x2778d1=new Uint8Array(_0x11b520['buffer']),_0x1dc32a=0x80===_0x2778d1[0x3];function _0x480f7c(_0x3e7095,_0x41e58d,_0x307f6f){_0x11b520[0x0]=_0x3e7095,_0x41e58d[_0x307f6f]=_0x2778d1[0x0],_0x41e58d[_0x307f6f+0x1]=_0x2778d1[0x1],_0x41e58d[_0x307f6f+0x2]=_0x2778d1[0x2],_0x41e58d[_0x307f6f+0x3]=_0x2778d1[0x3];}function _0x334cae(_0x2e0458,_0xb4d873,_0x50d8f9){_0x11b520[0x0]=_0x2e0458,_0xb4d873[_0x50d8f9]=_0x2778d1[0x3],_0xb4d873[_0x50d8f9+0x1]=_0x2778d1[0x2],_0xb4d873[_0x50d8f9+0x2]=_0x2778d1[0x1],_0xb4d873[_0x50d8f9+0x3]=_0x2778d1[0x0];}function _0x462e9d(_0x1ffa3c,_0x4b491e){return _0x2778d1[0x0]=_0x1ffa3c[_0x4b491e],_0x2778d1[0x1]=_0x1ffa3c[_0x4b491e+0x1],_0x2778d1[0x2]=_0x1ffa3c[_0x4b491e+0x2],_0x2778d1[0x3]=_0x1ffa3c[_0x4b491e+0x3],_0x11b520[0x0];}function _0x59b0f7(_0x4c44b9,_0x551b15){return _0x2778d1[0x3]=_0x4c44b9[_0x551b15],_0x2778d1[0x2]=_0x4c44b9[_0x551b15+0x1],_0x2778d1[0x1]=_0x4c44b9[_0x551b15+0x2],_0x2778d1[0x0]=_0x4c44b9[_0x551b15+0x3],_0x11b520[0x0];}_0x54e2d7['writeFloatLE']=_0x1dc32a?_0x480f7c:_0x334cae,_0x54e2d7['writeFloatBE']=_0x1dc32a?_0x334cae:_0x480f7c,_0x54e2d7['readFloatLE']=_0x1dc32a?_0x462e9d:_0x59b0f7,_0x54e2d7['readFloatBE']=_0x1dc32a?_0x59b0f7:_0x462e9d;}()):(function(){function _0x21e622(_0x511f61,_0x482bf8,_0x839db5,_0x1231a4){var _0x41f996=_0x482bf8<0x0?0x1:0x0;if(_0x41f996&&(_0x482bf8=-_0x482bf8),0x0===_0x482bf8)_0x511f61(0x1/_0x482bf8>0x0?0x0:0x80000000,_0x839db5,_0x1231a4);else{if(isNaN(_0x482bf8))_0x511f61(0x7fc00000,_0x839db5,_0x1231a4);else{if(_0x482bf8>0xffffff00000000000000000000000000)_0x511f61((_0x41f996<<0x1f|0x7f800000)>>>0x0,_0x839db5,_0x1231a4);else{if(_0x482bf8<1.1754943508222875e-38)_0x511f61((_0x41f996<<0x1f|Math['round'](_0x482bf8/1.401298464324817e-45))>>>0x0,_0x839db5,_0x1231a4);else{var _0xb9b377=Math['floor'](Math['log'](_0x482bf8)/Math['LN2']);_0x511f61((_0x41f996<<0x1f|_0xb9b377+0x7f<<0x17|0x7fffff&Math['round'](_0x482bf8*Math['pow'](0x2,-_0xb9b377)*0x800000))>>>0x0,_0x839db5,_0x1231a4);}}}}}function _0x46d860(_0x19c859,_0x48abe2,_0x3cfd91){var _0x49f367=_0x19c859(_0x48abe2,_0x3cfd91),_0x4f40a5=0x2*(_0x49f367>>0x1f)+0x1,_0xe0ff43=_0x49f367>>>0x17&0xff,_0x273e5b=0x7fffff&_0x49f367;return 0xff===_0xe0ff43?_0x273e5b?NaN:_0x4f40a5*(0x1/0x0):0x0===_0xe0ff43?1.401298464324817e-45*_0x4f40a5*_0x273e5b:_0x4f40a5*Math['pow'](0x2,_0xe0ff43-0x96)*(_0x273e5b+0x800000);}_0x54e2d7['writeFloatLE']=_0x21e622['bind'](null,_0x2a4d3a),_0x54e2d7['writeFloatBE']=_0x21e622['bind'](null,_0x18661b),_0x54e2d7['readFloatLE']=_0x46d860['bind'](null,_0x2e8847),_0x54e2d7['readFloatBE']=_0x46d860['bind'](null,_0x1d17a3);}()),'undefined'!=typeof Float64Array?(function(){var _0x322bf3=new Float64Array([-0x0]),_0x34c5a2=new Uint8Array(_0x322bf3['buffer']),_0x6d887b=0x80===_0x34c5a2[0x7];function _0xa5192a(_0xa1c3a4,_0x1ac7e9,_0x136a55){_0x322bf3[0x0]=_0xa1c3a4,_0x1ac7e9[_0x136a55]=_0x34c5a2[0x0],_0x1ac7e9[_0x136a55+0x1]=_0x34c5a2[0x1],_0x1ac7e9[_0x136a55+0x2]=_0x34c5a2[0x2],_0x1ac7e9[_0x136a55+0x3]=_0x34c5a2[0x3],_0x1ac7e9[_0x136a55+0x4]=_0x34c5a2[0x4],_0x1ac7e9[_0x136a55+0x5]=_0x34c5a2[0x5],_0x1ac7e9[_0x136a55+0x6]=_0x34c5a2[0x6],_0x1ac7e9[_0x136a55+0x7]=_0x34c5a2[0x7];}function _0x1c1eac(_0x1236c4,_0xf117d9,_0x5132b1){_0x322bf3[0x0]=_0x1236c4,_0xf117d9[_0x5132b1]=_0x34c5a2[0x7],_0xf117d9[_0x5132b1+0x1]=_0x34c5a2[0x6],_0xf117d9[_0x5132b1+0x2]=_0x34c5a2[0x5],_0xf117d9[_0x5132b1+0x3]=_0x34c5a2[0x4],_0xf117d9[_0x5132b1+0x4]=_0x34c5a2[0x3],_0xf117d9[_0x5132b1+0x5]=_0x34c5a2[0x2],_0xf117d9[_0x5132b1+0x6]=_0x34c5a2[0x1],_0xf117d9[_0x5132b1+0x7]=_0x34c5a2[0x0];}function _0x2e2a17(_0x48b5bb,_0x3770be){return _0x34c5a2[0x0]=_0x48b5bb[_0x3770be],_0x34c5a2[0x1]=_0x48b5bb[_0x3770be+0x1],_0x34c5a2[0x2]=_0x48b5bb[_0x3770be+0x2],_0x34c5a2[0x3]=_0x48b5bb[_0x3770be+0x3],_0x34c5a2[0x4]=_0x48b5bb[_0x3770be+0x4],_0x34c5a2[0x5]=_0x48b5bb[_0x3770be+0x5],_0x34c5a2[0x6]=_0x48b5bb[_0x3770be+0x6],_0x34c5a2[0x7]=_0x48b5bb[_0x3770be+0x7],_0x322bf3[0x0];}function _0x423694(_0x64e3f6,_0x5a3a36){return _0x34c5a2[0x7]=_0x64e3f6[_0x5a3a36],_0x34c5a2[0x6]=_0x64e3f6[_0x5a3a36+0x1],_0x34c5a2[0x5]=_0x64e3f6[_0x5a3a36+0x2],_0x34c5a2[0x4]=_0x64e3f6[_0x5a3a36+0x3],_0x34c5a2[0x3]=_0x64e3f6[_0x5a3a36+0x4],_0x34c5a2[0x2]=_0x64e3f6[_0x5a3a36+0x5],_0x34c5a2[0x1]=_0x64e3f6[_0x5a3a36+0x6],_0x34c5a2[0x0]=_0x64e3f6[_0x5a3a36+0x7],_0x322bf3[0x0];}_0x54e2d7['writeDoubleLE']=_0x6d887b?_0xa5192a:_0x1c1eac,_0x54e2d7['writeDoubleBE']=_0x6d887b?_0x1c1eac:_0xa5192a,_0x54e2d7['readDoubleLE']=_0x6d887b?_0x2e2a17:_0x423694,_0x54e2d7['readDoubleBE']=_0x6d887b?_0x423694:_0x2e2a17;}()):(function(){function _0x43e9a2(_0x17804b,_0x2ec4df,_0x549246,_0x2acd7c,_0x3647e5,_0x27dc25){var _0x22189b=_0x2acd7c<0x0?0x1:0x0;if(_0x22189b&&(_0x2acd7c=-_0x2acd7c),0x0===_0x2acd7c)_0x17804b(0x0,_0x3647e5,_0x27dc25+_0x2ec4df),_0x17804b(0x1/_0x2acd7c>0x0?0x0:0x80000000,_0x3647e5,_0x27dc25+_0x549246);else{if(isNaN(_0x2acd7c))_0x17804b(0x0,_0x3647e5,_0x27dc25+_0x2ec4df),_0x17804b(0x7ff80000,_0x3647e5,_0x27dc25+_0x549246);else{if(_0x2acd7c>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x17804b(0x0,_0x3647e5,_0x27dc25+_0x2ec4df),_0x17804b((_0x22189b<<0x1f|0x7ff00000)>>>0x0,_0x3647e5,_0x27dc25+_0x549246);else{var _0x4493fc;if(_0x2acd7c<2.2250738585072014e-308)_0x17804b((_0x4493fc=_0x2acd7c/5e-324)>>>0x0,_0x3647e5,_0x27dc25+_0x2ec4df),_0x17804b((_0x22189b<<0x1f|_0x4493fc/0x100000000)>>>0x0,_0x3647e5,_0x27dc25+_0x549246);else{var _0x29d070=Math['floor'](Math['log'](_0x2acd7c)/Math['LN2']);0x400===_0x29d070&&(_0x29d070=0x3ff),_0x17804b(0x10000000000000*(_0x4493fc=_0x2acd7c*Math['pow'](0x2,-_0x29d070))>>>0x0,_0x3647e5,_0x27dc25+_0x2ec4df),_0x17804b((_0x22189b<<0x1f|_0x29d070+0x3ff<<0x14|0x100000*_0x4493fc&0xfffff)>>>0x0,_0x3647e5,_0x27dc25+_0x549246);}}}}}function _0x230d9e(_0x22fb08,_0x1774bb,_0x4b39de,_0x427562,_0x874c53){var _0x3efe3d=_0x22fb08(_0x427562,_0x874c53+_0x1774bb),_0x2003db=_0x22fb08(_0x427562,_0x874c53+_0x4b39de),_0x158349=0x2*(_0x2003db>>0x1f)+0x1,_0x1b9644=_0x2003db>>>0x14&0x7ff,_0x5ee2ea=0x100000000*(0xfffff&_0x2003db)+_0x3efe3d;return 0x7ff===_0x1b9644?_0x5ee2ea?NaN:_0x158349*(0x1/0x0):0x0===_0x1b9644?5e-324*_0x158349*_0x5ee2ea:_0x158349*Math['pow'](0x2,_0x1b9644-0x433)*(_0x5ee2ea+0x10000000000000);}_0x54e2d7['writeDoubleLE']=_0x43e9a2['bind'](null,_0x2a4d3a,0x0,0x4),_0x54e2d7['writeDoubleBE']=_0x43e9a2['bind'](null,_0x18661b,0x4,0x0),_0x54e2d7['readDoubleLE']=_0x230d9e['bind'](null,_0x2e8847,0x0,0x4),_0x54e2d7['readDoubleBE']=_0x230d9e['bind'](null,_0x1d17a3,0x4,0x0);}()),_0x54e2d7;}function _0x2a4d3a(_0x288267,_0x1e3e29,_0x195f26){_0x1e3e29[_0x195f26]=0xff&_0x288267,_0x1e3e29[_0x195f26+0x1]=_0x288267>>>0x8&0xff,_0x1e3e29[_0x195f26+0x2]=_0x288267>>>0x10&0xff,_0x1e3e29[_0x195f26+0x3]=_0x288267>>>0x18;}function _0x18661b(_0x49484b,_0x56ace3,_0x29527f){_0x56ace3[_0x29527f]=_0x49484b>>>0x18,_0x56ace3[_0x29527f+0x1]=_0x49484b>>>0x10&0xff,_0x56ace3[_0x29527f+0x2]=_0x49484b>>>0x8&0xff,_0x56ace3[_0x29527f+0x3]=0xff&_0x49484b;}function _0x2e8847(_0x1d4886,_0x225605){return(_0x1d4886[_0x225605]|_0x1d4886[_0x225605+0x1]<<0x8|_0x1d4886[_0x225605+0x2]<<0x10|_0x1d4886[_0x225605+0x3]<<0x18)>>>0x0;}function _0x1d17a3(_0x11fc09,_0x4cfc85){return(_0x11fc09[_0x4cfc85]<<0x18|_0x11fc09[_0x4cfc85+0x1]<<0x10|_0x11fc09[_0x4cfc85+0x2]<<0x8|_0x11fc09[_0x4cfc85+0x3])>>>0x0;}return zp=0x1,Wp=_0x284ba2(_0x284ba2);}()),_0x641a91['utf8']=(Kp||(Kp=0x1,function(_0x3d8824){var _0x44f44b=_0x3d8824;_0x44f44b['length']=function(_0x38e0a3){for(var _0x12c994=0x0,_0x5d6388=0x0,_0x2b2289=0x0;_0x2b2289<_0x38e0a3['length'];++_0x2b2289)(_0x5d6388=_0x38e0a3['charCodeAt'](_0x2b2289))<0x80?_0x12c994+=0x1:_0x5d6388<0x800?_0x12c994+=0x2:0xd800==(0xfc00&_0x5d6388)&&0xdc00==(0xfc00&_0x38e0a3['charCodeAt'](_0x2b2289+0x1))?(++_0x2b2289,_0x12c994+=0x4):_0x12c994+=0x3;return _0x12c994;},_0x44f44b['read']=function(_0x12a47f,_0x1e6d68,_0x1da05f){if(_0x1da05f-_0x1e6d68<0x1)return'';for(var _0x5af865='',_0x1de202=_0x1e6d68;_0x1de202<_0x1da05f;){var t=_0x12a47f[_0x1de202++];if(t<=0x7f)_0x5af865+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x12dbf0=(0x1f&t)<<0x6|0x3f&_0x12a47f[_0x1de202++];_0x5af865+=_0x12dbf0>=0x80?String['fromCharCode'](_0x12dbf0):'�';}else{if(t>=0xe0&&t<0xf0){var _0x2a13d7=(0xf&t)<<0xc|(0x3f&_0x12a47f[_0x1de202++])<<0x6|0x3f&_0x12a47f[_0x1de202++];_0x5af865+=_0x2a13d7>=0x800?String['fromCharCode'](_0x2a13d7):'�';}else{if(t>=0xf0){var _0x5f05e3=(0x7&t)<<0x12|(0x3f&_0x12a47f[_0x1de202++])<<0xc|(0x3f&_0x12a47f[_0x1de202++])<<0x6|0x3f&_0x12a47f[_0x1de202++];_0x5f05e3<0x10000||_0x5f05e3>0x10ffff?_0x5af865+='�':(_0x5f05e3-=0x10000,_0x5af865+=String['fromCharCode'](0xd800+(_0x5f05e3>>0xa)),_0x5af865+=String['fromCharCode'](0xdc00+(0x3ff&_0x5f05e3)));}}}}}return _0x5af865;},_0x44f44b['write']=function(_0x58c6ec,_0x76c874,_0x10e11d){for(var _0x3a7bca,_0x4fd04c,_0x5e0612=_0x10e11d,_0x3ae92d=0x0;_0x3ae92d<_0x58c6ec['length'];++_0x3ae92d)(_0x3a7bca=_0x58c6ec['charCodeAt'](_0x3ae92d))<0x80?_0x76c874[_0x10e11d++]=_0x3a7bca:_0x3a7bca<0x800?(_0x76c874[_0x10e11d++]=_0x3a7bca>>0x6|0xc0,_0x76c874[_0x10e11d++]=0x3f&_0x3a7bca|0x80):0xd800==(0xfc00&_0x3a7bca)&&0xdc00==(0xfc00&(_0x4fd04c=_0x58c6ec['charCodeAt'](_0x3ae92d+0x1)))?(_0x3a7bca=0x10000+((0x3ff&_0x3a7bca)<<0xa)+(0x3ff&_0x4fd04c),++_0x3ae92d,_0x76c874[_0x10e11d++]=_0x3a7bca>>0x12|0xf0,_0x76c874[_0x10e11d++]=_0x3a7bca>>0xc&0x3f|0x80,_0x76c874[_0x10e11d++]=_0x3a7bca>>0x6&0x3f|0x80,_0x76c874[_0x10e11d++]=0x3f&_0x3a7bca|0x80):(_0x76c874[_0x10e11d++]=_0x3a7bca>>0xc|0xe0,_0x76c874[_0x10e11d++]=_0x3a7bca>>0x6&0x3f|0x80,_0x76c874[_0x10e11d++]=0x3f&_0x3a7bca|0x80);return _0x10e11d-_0x5e0612;};}(sO)),sO),_0x641a91['pool']=(tO||(tO=0x1,Jp=function(_0x3a7b53,_0x3c2802,_0x11c87d){var _0x542887=_0x11c87d||0x2000,_0x443eb1=_0x542887>>>0x1,_0x5895ac=null,_0x1fc39e=_0x542887;return function(_0x35998e){if(_0x35998e<0x1||_0x35998e>_0x443eb1)return _0x3a7b53(_0x35998e);_0x1fc39e+_0x35998e>_0x542887&&(_0x5895ac=_0x3a7b53(_0x542887),_0x1fc39e=0x0);var _0x9cebd=_0x3c2802['call'](_0x5895ac,_0x1fc39e,_0x1fc39e+=_0x35998e);return 0x7&_0x1fc39e&&(_0x1fc39e=0x1+(0x7|_0x1fc39e)),_0x9cebd;};}),Jp),_0x641a91['LongBits']=(function(){if(iO)return eO;iO=0x1,eO=_0x196992;var _0x223547=pO();function _0x196992(_0x2155c3,_0x28fd5c){this['lo']=_0x2155c3>>>0x0,this['hi']=_0x28fd5c>>>0x0;}var _0x243335=_0x196992['zero']=new _0x196992(0x0,0x0);_0x243335['toNumber']=function(){return 0x0;},_0x243335['zzEncode']=_0x243335['zzDecode']=function(){return this;},_0x243335['length']=function(){return 0x1;};var _0x4ec6cf=_0x196992['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x196992['fromNumber']=function(_0x3c49b9){if(0x0===_0x3c49b9)return _0x243335;var _0x39dc6b=_0x3c49b9<0x0;_0x39dc6b&&(_0x3c49b9=-_0x3c49b9);var _0x330b16=_0x3c49b9>>>0x0,_0x590655=(_0x3c49b9-_0x330b16)/0x100000000>>>0x0;return _0x39dc6b&&(_0x590655=~_0x590655>>>0x0,_0x330b16=~_0x330b16>>>0x0,++_0x330b16>0xffffffff&&(_0x330b16=0x0,++_0x590655>0xffffffff&&(_0x590655=0x0))),new _0x196992(_0x330b16,_0x590655);},_0x196992['from']=function(_0x4786a4){if('number'==typeof _0x4786a4)return _0x196992['fromNumber'](_0x4786a4);if(_0x223547['isString'](_0x4786a4)){if(!_0x223547['Long'])return _0x196992['fromNumber'](parseInt(_0x4786a4,0xa));_0x4786a4=_0x223547['Long']['fromString'](_0x4786a4);}return _0x4786a4['low']||_0x4786a4['high']?new _0x196992(_0x4786a4['low']>>>0x0,_0x4786a4['high']>>>0x0):_0x243335;},_0x196992['prototype']['toNumber']=function(_0x223ef2){if(!_0x223ef2&&this['hi']>>>0x1f){var _0x1e1de1=0x1+~this['lo']>>>0x0,_0x1be0ef=~this['hi']>>>0x0;return _0x1e1de1||(_0x1be0ef=_0x1be0ef+0x1>>>0x0),-(_0x1e1de1+0x100000000*_0x1be0ef);}return this['lo']+0x100000000*this['hi'];},_0x196992['prototype']['toLong']=function(_0x4f9fde){return _0x223547['Long']?new _0x223547['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x4f9fde)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x4f9fde)};};var _0xf71328=String['prototype']['charCodeAt'];return _0x196992['fromHash']=function(_0x25f5c9){return _0x25f5c9===_0x4ec6cf?_0x243335:new _0x196992((_0xf71328['call'](_0x25f5c9,0x0)|_0xf71328['call'](_0x25f5c9,0x1)<<0x8|_0xf71328['call'](_0x25f5c9,0x2)<<0x10|_0xf71328['call'](_0x25f5c9,0x3)<<0x18)>>>0x0,(_0xf71328['call'](_0x25f5c9,0x4)|_0xf71328['call'](_0x25f5c9,0x5)<<0x8|_0xf71328['call'](_0x25f5c9,0x6)<<0x10|_0xf71328['call'](_0x25f5c9,0x7)<<0x18)>>>0x0);},_0x196992['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);},_0x196992['prototype']['zzEncode']=function(){var _0x4c16be=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x4c16be)>>>0x0,this['lo']=(this['lo']<<0x1^_0x4c16be)>>>0x0,this;},_0x196992['prototype']['zzDecode']=function(){var _0x45b15e=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x45b15e)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x45b15e)>>>0x0,this;},_0x196992['prototype']['length']=function(){var _0x542b1b=this['lo'],_0x3acd9a=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x95970e=this['hi']>>>0x18;return 0x0===_0x95970e?0x0===_0x3acd9a?_0x542b1b<0x4000?_0x542b1b<0x80?0x1:0x2:_0x542b1b<0x200000?0x3:0x4:_0x3acd9a<0x4000?_0x3acd9a<0x80?0x5:0x6:_0x3acd9a<0x200000?0x7:0x8:_0x95970e<0x80?0x9:0xa;},eO;}()),_0x641a91['isUnsafeProperty']=_0x83b4a1,_0x641a91['isNode']=Boolean(void 0x0!==jp&&jp&&jp['process']&&jp['process']['versions']&&jp['process']['versions']['node']),_0x641a91['global']=_0x641a91['isNode']&&jp||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||Gp,_0x641a91['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x641a91['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x641a91['isInteger']=Number['isInteger']||function(_0x1a0b7d){return'number'==typeof _0x1a0b7d&&isFinite(_0x1a0b7d)&&Math['floor'](_0x1a0b7d)===_0x1a0b7d;},_0x641a91['isString']=function(_0x39125b){return'string'==typeof _0x39125b||_0x39125b instanceof String;},_0x641a91['isObject']=function(_0x36d8c1){return _0x36d8c1&&'object'==typeof _0x36d8c1;},_0x641a91['isset']=_0x641a91['isSet']=function(_0x565929,_0x4bcc13){var _0x37590c=_0x565929[_0x4bcc13];return!(null==_0x37590c||!Object['hasOwnProperty']['call'](_0x565929,_0x4bcc13))&&('object'!=typeof _0x37590c||(Array['isArray'](_0x37590c)?_0x37590c['length']:Object['keys'](_0x37590c)['length'])>0x0);},_0x641a91['Buffer']=(function(){try{var _0x15155f=_0x641a91['global']['Buffer'];return _0x15155f['prototype']['utf8Write']?_0x15155f:null;}catch(_0x5c515b){return null;}}()),_0x641a91['_Buffer_from']=null,_0x641a91['_Buffer_allocUnsafe']=null,_0x641a91['newBuffer']=function(_0x389e0f){return'number'==typeof _0x389e0f?_0x641a91['Buffer']?_0x641a91['_Buffer_allocUnsafe'](_0x389e0f):new _0x641a91['Array'](_0x389e0f):_0x641a91['Buffer']?_0x641a91['_Buffer_from'](_0x389e0f):'undefined'==typeof Uint8Array?_0x389e0f:new Uint8Array(_0x389e0f);},_0x641a91['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x641a91['Long']=_0x641a91['global']['dcodeIO']&&_0x641a91['global']['dcodeIO']['Long']||_0x641a91['global']['Long']||(function(){try{var _0x565d1d=gO();return _0x565d1d&&_0x565d1d['isLong']?_0x565d1d:null;}catch(_0x477d2c){return null;}}()),_0x641a91['key2Re']=/^true|false|0|1$/,_0x641a91['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x641a91['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x641a91['longToHash']=function(_0x5a3177){return _0x5a3177?_0x641a91['LongBits']['from'](_0x5a3177)['toHash']():_0x641a91['LongBits']['zeroHash'];},_0x641a91['longFromHash']=function(_0x5e6544,_0x44b9ca){var _0x3a0046=_0x641a91['LongBits']['fromHash'](_0x5e6544);return _0x641a91['Long']?_0x641a91['Long']['fromBits'](_0x3a0046['lo'],_0x3a0046['hi'],_0x44b9ca):_0x3a0046['toNumber'](Boolean(_0x44b9ca));},_0x641a91['merge']=_0x34b9bf,_0x641a91['nestingLimit']=0x20,_0x641a91['recursionLimit']=0x64,_0x641a91['makeProp']=function(_0x1884bf,_0x7d9bdf){Object['defineProperty'](_0x1884bf,_0x7d9bdf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x641a91['lcFirst']=function(_0x40d43a){return _0x40d43a['charAt'](0x0)['toLowerCase']()+_0x40d43a['substring'](0x1);},_0x641a91['newError']=_0x45b5c8,_0x641a91['ProtocolError']=_0x45b5c8('ProtocolError'),_0x641a91['oneOfGetter']=function(_0x18832b){for(var _0x175597={},_0x1e1443=0x0;_0x1e1443<_0x18832b['length'];++_0x1e1443)_0x175597[_0x18832b[_0x1e1443]]=0x1;return function(){for(var _0x32a59d=Object['keys'](this),_0x12a6cc=_0x32a59d['length']-0x1;_0x12a6cc>-0x1;--_0x12a6cc)if(0x1===_0x175597[_0x32a59d[_0x12a6cc]]&&void 0x0!==this[_0x32a59d[_0x12a6cc]]&&null!==this[_0x32a59d[_0x12a6cc]])return _0x32a59d[_0x12a6cc];};},_0x641a91['oneOfSetter']=function(_0x2bd06f){return function(_0x2bb02c){for(var _0x23c463=0x0;_0x23c463<_0x2bd06f['length'];++_0x23c463)_0x2bd06f[_0x23c463]!==_0x2bb02c&&delete this[_0x2bd06f[_0x23c463]];};},_0x641a91['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x641a91['_configure']=function(){var _0x107821=_0x641a91['Buffer'];_0x107821?(_0x641a91['_Buffer_from']=_0x107821['from']!==Uint8Array['from']&&_0x107821['from']||function(_0x542ecc,_0x232358){return new _0x107821(_0x542ecc,_0x232358);},_0x641a91['_Buffer_allocUnsafe']=_0x107821['allocUnsafe']||function(_0x4e6dfc){return new _0x107821(_0x4e6dfc);}):_0x641a91['_Buffer_from']=_0x641a91['_Buffer_allocUnsafe']=null;};}())),Gp;}function OO(){if(aO)return oO;aO=0x1,oO=_0x2087bb;var _0x578cfc,_0x3f802d=pO(),_0x48c269=_0x3f802d['LongBits'],_0x13b12e=_0x3f802d['base64'],_0x31d8a9=_0x3f802d['utf8'];function _0x409316(_0x4b582d,_0x5253f8,_0x5aafc0){this['fn']=_0x4b582d,this['len']=_0x5253f8,this['next']=void 0x0,this['val']=_0x5aafc0;}function _0x2c4baa(){}function _0x1b8b86(_0x3c94e6){this['head']=_0x3c94e6['head'],this['tail']=_0x3c94e6['tail'],this['len']=_0x3c94e6['len'],this['next']=_0x3c94e6['states'];}function _0x2087bb(){this['len']=0x0,this['head']=new _0x409316(_0x2c4baa,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x58ebe1=function(){return _0x3f802d['Buffer']?function(){return(_0x2087bb['create']=function(){return new _0x578cfc();})();}:function(){return new _0x2087bb();};};function _0x398aed(_0x1c7e0e,_0x3ada77,_0x164d3f){_0x3ada77[_0x164d3f]=0xff&_0x1c7e0e;}function _0x111a57(_0x362563,_0x33332d){this['len']=_0x362563,this['next']=void 0x0,this['val']=_0x33332d;}function _0x72a77a(_0x3d2bf0,_0x3cbe49,_0x38d6f1){for(var _0x39a236=_0x3d2bf0['lo'],_0x329d8e=_0x3d2bf0['hi'];_0x329d8e;)_0x3cbe49[_0x38d6f1++]=0x7f&_0x39a236|0x80,_0x39a236=(_0x39a236>>>0x7|_0x329d8e<<0x19)>>>0x0,_0x329d8e>>>=0x7;for(;_0x39a236>0x7f;)_0x3cbe49[_0x38d6f1++]=0x7f&_0x39a236|0x80,_0x39a236>>>=0x7;_0x3cbe49[_0x38d6f1++]=_0x39a236;}function _0x3f8547(_0x1838f8,_0x791699,_0x59017d){_0x791699[_0x59017d]=0xff&_0x1838f8,_0x791699[_0x59017d+0x1]=_0x1838f8>>>0x8&0xff,_0x791699[_0x59017d+0x2]=_0x1838f8>>>0x10&0xff,_0x791699[_0x59017d+0x3]=_0x1838f8>>>0x18;}_0x2087bb['create']=_0x58ebe1(),_0x2087bb['alloc']=function(_0x29b5ff){return new _0x3f802d['Array'](_0x29b5ff);},_0x3f802d['Array']!==Array&&(_0x2087bb['alloc']=_0x3f802d['pool'](_0x2087bb['alloc'],_0x3f802d['Array']['prototype']['subarray'])),_0x2087bb['prototype']['_push']=function(_0x51b5a4,_0x55d75c,_0x4e725c){return this['tail']=this['tail']['next']=new _0x409316(_0x51b5a4,_0x55d75c,_0x4e725c),this['len']+=_0x55d75c,this;},_0x111a57['prototype']=Object['create'](_0x409316['prototype']),_0x111a57['prototype']['fn']=function(_0x1c472f,_0x3cf8bd,_0x219faf){for(;_0x1c472f>0x7f;)_0x3cf8bd[_0x219faf++]=0x7f&_0x1c472f|0x80,_0x1c472f>>>=0x7;_0x3cf8bd[_0x219faf]=_0x1c472f;},_0x2087bb['prototype']['uint32']=function(_0x416541){return this['len']+=(this['tail']=this['tail']['next']=new _0x111a57((_0x416541>>>=0x0)<0x80?0x1:_0x416541<0x4000?0x2:_0x416541<0x200000?0x3:_0x416541<0x10000000?0x4:0x5,_0x416541))['len'],this;},_0x2087bb['prototype']['int32']=function(_0x268f12){return(_0x268f12|=0x0)<0x0?this['_push'](_0x72a77a,0xa,_0x48c269['fromNumber'](_0x268f12)):this['uint32'](_0x268f12);},_0x2087bb['prototype']['sint32']=function(_0x568b74){return this['uint32']((_0x568b74<<0x1^_0x568b74>>0x1f)>>>0x0);},_0x2087bb['prototype']['uint64']=function(_0x1f1987){var _0xe8cc7a=_0x48c269['from'](_0x1f1987);return this['_push'](_0x72a77a,_0xe8cc7a['length'](),_0xe8cc7a);},_0x2087bb['prototype']['int64']=_0x2087bb['prototype']['uint64'],_0x2087bb['prototype']['sint64']=function(_0x3de8a7){var _0x316a15=_0x48c269['from'](_0x3de8a7)['zzEncode']();return this['_push'](_0x72a77a,_0x316a15['length'](),_0x316a15);},_0x2087bb['prototype']['bool']=function(_0x6d521c){return this['_push'](_0x398aed,0x1,_0x6d521c?0x1:0x0);},_0x2087bb['prototype']['fixed32']=function(_0x7e771d){return this['_push'](_0x3f8547,0x4,_0x7e771d>>>0x0);},_0x2087bb['prototype']['sfixed32']=_0x2087bb['prototype']['fixed32'],_0x2087bb['prototype']['fixed64']=function(_0x54209e){var _0x4c01b1=_0x48c269['from'](_0x54209e);return this['_push'](_0x3f8547,0x4,_0x4c01b1['lo'])['_push'](_0x3f8547,0x4,_0x4c01b1['hi']);},_0x2087bb['prototype']['sfixed64']=_0x2087bb['prototype']['fixed64'],_0x2087bb['prototype']['float']=function(_0x2221b1){return this['_push'](_0x3f802d['float']['writeFloatLE'],0x4,_0x2221b1);},_0x2087bb['prototype']['double']=function(_0x55bf5b){return this['_push'](_0x3f802d['float']['writeDoubleLE'],0x8,_0x55bf5b);};var _0x55c417=_0x3f802d['Array']['prototype']['set']?function(_0x38c88a,_0x42f9da,_0x51f902){_0x42f9da['set'](_0x38c88a,_0x51f902);}:function(_0x12aed0,_0x224e2a,_0x5a1ac9){for(var _0x4cb249=0x0;_0x4cb249<_0x12aed0['length'];++_0x4cb249)_0x224e2a[_0x5a1ac9+_0x4cb249]=_0x12aed0[_0x4cb249];};return _0x2087bb['prototype']['bytes']=function(_0x539cfc){var _0x801308=_0x539cfc['length']>>>0x0;if(!_0x801308)return this['_push'](_0x398aed,0x1,0x0);if(_0x3f802d['isString'](_0x539cfc)){var _0x1a6486=_0x2087bb['alloc'](_0x801308=_0x13b12e['length'](_0x539cfc));_0x13b12e['decode'](_0x539cfc,_0x1a6486,0x0),_0x539cfc=_0x1a6486;}return this['uint32'](_0x801308)['_push'](_0x55c417,_0x801308,_0x539cfc);},_0x2087bb['prototype']['string']=function(_0x5e0b40){var _0x2a2a3d=_0x31d8a9['length'](_0x5e0b40);return _0x2a2a3d?this['uint32'](_0x2a2a3d)['_push'](_0x31d8a9['write'],_0x2a2a3d,_0x5e0b40):this['_push'](_0x398aed,0x1,0x0);},_0x2087bb['prototype']['fork']=function(){return this['states']=new _0x1b8b86(this),this['head']=this['tail']=new _0x409316(_0x2c4baa,0x0,0x0),this['len']=0x0,this;},_0x2087bb['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 _0x409316(_0x2c4baa,0x0,0x0),this['len']=0x0),this;},_0x2087bb['prototype']['ldelim']=function(){var _0x232477=this['head'],_0x11af86=this['tail'],_0x5b4ea=this['len'];return this['reset']()['uint32'](_0x5b4ea),_0x5b4ea&&(this['tail']['next']=_0x232477['next'],this['tail']=_0x11af86,this['len']+=_0x5b4ea),this;},_0x2087bb['prototype']['finish']=function(){for(var _0x309cf6=this['head']['next'],_0x17ba23=this['constructor']['alloc'](this['len']),_0x10555d=0x0;_0x309cf6;)_0x309cf6['fn'](_0x309cf6['val'],_0x17ba23,_0x10555d),_0x10555d+=_0x309cf6['len'],_0x309cf6=_0x309cf6['next'];return _0x17ba23;},_0x2087bb['_configure']=function(_0x38b30e){_0x578cfc=_0x38b30e,_0x2087bb['create']=_0x58ebe1(),_0x578cfc['_configure']();},oO;}function wO(){if(uO)return hO;uO=0x1,hO=_0x496d0b;var _0x184a12,_0x4affb8=pO(),_0x4e31b9=_0x4affb8['LongBits'],_0x40e0b2=_0x4affb8['utf8'];function _0xa29f9a(_0x49ab49,_0x5bd229){return RangeError('index\x20out\x20of\x20range:\x20'+_0x49ab49['pos']+'\x20+\x20'+(_0x5bd229||0x1)+'\x20>\x20'+_0x49ab49['len']);}function _0x496d0b(_0x4a15b1){this['buf']=_0x4a15b1,this['pos']=0x0,this['len']=_0x4a15b1['length'];}var _0x5d2d0f='undefined'!=typeof Uint8Array?function(_0x37de53){if(_0x37de53 instanceof Uint8Array||Array['isArray'](_0x37de53))return new _0x496d0b(_0x37de53);throw Error('illegal\x20buffer');}:function(_0x272397){if(Array['isArray'](_0x272397))return new _0x496d0b(_0x272397);throw Error('illegal\x20buffer');},_0x1018d8=function(){return _0x4affb8['Buffer']?function(_0x1a1a18){return(_0x496d0b['create']=function(_0xb3f76c){return _0x4affb8['Buffer']['isBuffer'](_0xb3f76c)?new _0x184a12(_0xb3f76c):_0x5d2d0f(_0xb3f76c);})(_0x1a1a18);}:_0x5d2d0f;};function _0x2c2e1a(){var _0xfb0b0c=new _0x4e31b9(0x0,0x0),_0x4f4edc=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x4f4edc<0x3;++_0x4f4edc){if(this['pos']>=this['len'])throw _0xa29f9a(this);if(_0xfb0b0c['lo']=(_0xfb0b0c['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x4f4edc)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xfb0b0c;}return _0xfb0b0c['lo']=(_0xfb0b0c['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x4f4edc)>>>0x0,_0xfb0b0c;}for(;_0x4f4edc<0x4;++_0x4f4edc)if(_0xfb0b0c['lo']=(_0xfb0b0c['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x4f4edc)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xfb0b0c;if(_0xfb0b0c['lo']=(_0xfb0b0c['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0xfb0b0c['hi']=(_0xfb0b0c['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xfb0b0c;if(_0x4f4edc=0x0,this['len']-this['pos']>0x4){for(;_0x4f4edc<0x5;++_0x4f4edc)if(_0xfb0b0c['hi']=(_0xfb0b0c['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x4f4edc+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xfb0b0c;}else for(;_0x4f4edc<0x5;++_0x4f4edc){if(this['pos']>=this['len'])throw _0xa29f9a(this);if(_0xfb0b0c['hi']=(_0xfb0b0c['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x4f4edc+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xfb0b0c;}throw Error('invalid\x20varint\x20encoding');}function _0x4c79fd(_0x43a4c5,_0x10d94c){return(_0x43a4c5[_0x10d94c-0x4]|_0x43a4c5[_0x10d94c-0x3]<<0x8|_0x43a4c5[_0x10d94c-0x2]<<0x10|_0x43a4c5[_0x10d94c-0x1]<<0x18)>>>0x0;}function _0x26140d(){if(this['pos']+0x8>this['len'])throw _0xa29f9a(this,0x8);return new _0x4e31b9(_0x4c79fd(this['buf'],this['pos']+=0x4),_0x4c79fd(this['buf'],this['pos']+=0x4));}return _0x496d0b['create']=_0x1018d8(),_0x496d0b['prototype']['_slice']=_0x4affb8['Array']['prototype']['subarray']||_0x4affb8['Array']['prototype']['slice'],_0x496d0b['prototype']['uint32']=(function(){var _0xc5527=0xffffffff;return function(){if(_0xc5527=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0xc5527;if(_0xc5527=(_0xc5527|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xc5527;if(_0xc5527=(_0xc5527|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xc5527;if(_0xc5527=(_0xc5527|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xc5527;if(_0xc5527=(_0xc5527|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0xc5527;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0xa29f9a(this,0xa);return _0xc5527;};}()),_0x496d0b['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x496d0b['prototype']['sint32']=function(){var _0x13ffca=this['uint32']();return _0x13ffca>>>0x1^-(0x1&_0x13ffca);},_0x496d0b['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x496d0b['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0xa29f9a(this,0x4);return _0x4c79fd(this['buf'],this['pos']+=0x4);},_0x496d0b['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0xa29f9a(this,0x4);return 0x0|_0x4c79fd(this['buf'],this['pos']+=0x4);},_0x496d0b['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0xa29f9a(this,0x4);var _0x1030ac=_0x4affb8['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x1030ac;},_0x496d0b['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0xa29f9a(this,0x4);var _0x5e10fc=_0x4affb8['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x5e10fc;},_0x496d0b['prototype']['bytes']=function(){var _0x5066d0=this['uint32'](),_0x46c3ab=this['pos'],_0x47f261=this['pos']+_0x5066d0;if(_0x47f261>this['len'])throw _0xa29f9a(this,_0x5066d0);if(this['pos']+=_0x5066d0,Array['isArray'](this['buf']))return this['buf']['slice'](_0x46c3ab,_0x47f261);if(_0x46c3ab===_0x47f261){var _0x3b83c0=_0x4affb8['Buffer'];return _0x3b83c0?_0x3b83c0['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x46c3ab,_0x47f261);},_0x496d0b['prototype']['string']=function(){var _0x54064d=this['bytes']();return _0x40e0b2['read'](_0x54064d,0x0,_0x54064d['length']);},_0x496d0b['prototype']['skip']=function(_0x39a838){if('number'==typeof _0x39a838){if(this['pos']+_0x39a838>this['len'])throw _0xa29f9a(this,_0x39a838);this['pos']+=_0x39a838;}else do{if(this['pos']>=this['len'])throw _0xa29f9a(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x496d0b['recursionLimit']=_0x4affb8['recursionLimit'],_0x496d0b['prototype']['skipType']=function(_0x3d6d7b,_0x2f7500){if(void 0x0===_0x2f7500&&(_0x2f7500=0x0),_0x2f7500>_0x496d0b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x3d6d7b){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x3d6d7b=0x7&this['uint32']());)this['skipType'](_0x3d6d7b,_0x2f7500+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x3d6d7b+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x496d0b['_configure']=function(_0x5c0450){_0x184a12=_0x5c0450,_0x496d0b['create']=_0x1018d8(),_0x184a12['_configure']();var _0x3cc511=_0x4affb8['Long']?'toLong':'toNumber';_0x4affb8['merge'](_0x496d0b['prototype'],{'int64':function(){return _0x2c2e1a['call'](this)[_0x3cc511](!0x1);},'uint64':function(){return _0x2c2e1a['call'](this)[_0x3cc511](!0x0);},'sint64':function(){return _0x2c2e1a['call'](this)['zzDecode']()[_0x3cc511](!0x1);},'fixed64':function(){return _0x26140d['call'](this)[_0x3cc511](!0x0);},'sfixed64':function(){return _0x26140d['call'](this)[_0x3cc511](!0x1);}});},hO;}var bO,yO,_O,vO,TO,EO,AO,IO,SO={};function CO(){return _O||(_O=0x1,SO['Service']=(function(){if(yO)return bO;yO=0x1,bO=_0x1191af;var _0x57433e=pO();function _0x1191af(_0x2bd966,_0x526cae,_0x277bfc){if('function'!=typeof _0x2bd966)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x57433e['EventEmitter']['call'](this),this['rpcImpl']=_0x2bd966,this['requestDelimited']=Boolean(_0x526cae),this['responseDelimited']=Boolean(_0x277bfc);}return(_0x1191af['prototype']=Object['create'](_0x57433e['EventEmitter']['prototype']))['constructor']=_0x1191af,_0x1191af['prototype']['rpcCall']=function _0x51716b(_0x357f9f,_0x37af59,_0x3f712d,_0x22d090,_0xe4f841){if(!_0x22d090)throw TypeError('request\x20must\x20be\x20specified');var _0x43cb22=this;if(!_0xe4f841)return _0x57433e['asPromise'](_0x51716b,_0x43cb22,_0x357f9f,_0x37af59,_0x3f712d,_0x22d090);if(_0x43cb22['rpcImpl'])try{return _0x43cb22['rpcImpl'](_0x357f9f,_0x37af59[_0x43cb22['requestDelimited']?'encodeDelimited':'encode'](_0x22d090)['finish'](),function(_0xeae1f3,_0x42c648){if(_0xeae1f3)return _0x43cb22['emit']('error',_0xeae1f3,_0x357f9f),_0xe4f841(_0xeae1f3);if(null!==_0x42c648){if(!(_0x42c648 instanceof _0x3f712d))try{_0x42c648=_0x3f712d[_0x43cb22['responseDelimited']?'decodeDelimited':'decode'](_0x42c648);}catch(_0x1ceb80){return _0x43cb22['emit']('error',_0x1ceb80,_0x357f9f),_0xe4f841(_0x1ceb80);}return _0x43cb22['emit']('data',_0x42c648,_0x357f9f),_0xe4f841(null,_0x42c648);}_0x43cb22['end'](!0x0);});}catch(_0x567e70){return _0x43cb22['emit']('error',_0x567e70,_0x357f9f),void setTimeout(function(){_0xe4f841(_0x567e70);},0x0);}else setTimeout(function(){_0xe4f841(Error('already\x20ended'));},0x0);},_0x1191af['prototype']['end']=function(_0x16c50d){return this['rpcImpl']&&(_0x16c50d||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},bO;}())),SO;}function kO(){return EO||(EO=0x1,(function(){var _0x30b132=Hp;function _0x23394e(){_0x30b132['util']['_configure'](),_0x30b132['Writer']['_configure'](_0x30b132['BufferWriter']),_0x30b132['Reader']['_configure'](_0x30b132['BufferReader']);}_0x30b132['build']='minimal',_0x30b132['Writer']=OO(),_0x30b132['BufferWriter']=(function(){if(lO)return cO;lO=0x1,cO=_0x443d10;var _0x5d95ff=OO();(_0x443d10['prototype']=Object['create'](_0x5d95ff['prototype']))['constructor']=_0x443d10;var _0x599ca2=pO();function _0x443d10(){_0x5d95ff['call'](this);}function _0xc387cf(_0x478e56,_0x5008b0,_0x292db3){_0x478e56['length']<0x28?_0x599ca2['utf8']['write'](_0x478e56,_0x5008b0,_0x292db3):_0x5008b0['utf8Write']?_0x5008b0['utf8Write'](_0x478e56,_0x292db3):_0x5008b0['write'](_0x478e56,_0x292db3);}return _0x443d10['_configure']=function(){_0x443d10['alloc']=_0x599ca2['_Buffer_allocUnsafe'],_0x443d10['writeBytesBuffer']=_0x599ca2['Buffer']&&_0x599ca2['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x599ca2['Buffer']['prototype']['set']['name']?function(_0x59612a,_0x44d501,_0x14beb0){_0x44d501['set'](_0x59612a,_0x14beb0);}:function(_0x249247,_0xe1e7eb,_0x2ea4a3){if(_0x249247['copy'])_0x249247['copy'](_0xe1e7eb,_0x2ea4a3,0x0,_0x249247['length']);else{for(var _0x32b406=0x0;_0x32b406<_0x249247['length'];)_0xe1e7eb[_0x2ea4a3++]=_0x249247[_0x32b406++];}};},_0x443d10['prototype']['bytes']=function(_0x194fd9){_0x599ca2['isString'](_0x194fd9)&&(_0x194fd9=_0x599ca2['_Buffer_from'](_0x194fd9,'base64'));var _0x5393af=_0x194fd9['length']>>>0x0;return this['uint32'](_0x5393af),_0x5393af&&this['_push'](_0x443d10['writeBytesBuffer'],_0x5393af,_0x194fd9),this;},_0x443d10['prototype']['string']=function(_0x52ddbe){var _0x3a0cfe=_0x599ca2['Buffer']['byteLength'](_0x52ddbe);return this['uint32'](_0x3a0cfe),_0x3a0cfe&&this['_push'](_0xc387cf,_0x3a0cfe,_0x52ddbe),this;},_0x443d10['_configure'](),cO;}()),_0x30b132['Reader']=wO(),_0x30b132['BufferReader']=(function(){if(fO)return dO;fO=0x1,dO=_0x1e2e99;var _0x4858be=wO();(_0x1e2e99['prototype']=Object['create'](_0x4858be['prototype']))['constructor']=_0x1e2e99;var _0x26e537=pO();function _0x1e2e99(_0x5775fc){_0x4858be['call'](this,_0x5775fc);}return _0x1e2e99['_configure']=function(){_0x26e537['Buffer']&&(_0x1e2e99['prototype']['_slice']=_0x26e537['Buffer']['prototype']['slice']);},_0x1e2e99['prototype']['string']=function(){var _0xda8405=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0xda8405,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0xda8405,this['len']));},_0x1e2e99['_configure'](),dO;}()),_0x30b132['util']=pO(),_0x30b132['rpc']=CO(),_0x30b132['roots']=TO?vO:(TO=0x1,vO=Object['create'](null)),_0x30b132['configure']=_0x23394e,_0x23394e();}())),Hp;}var xO=IO?AO:(IO=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'](_0x244fdd=>{PO[RO[_0x244fdd]]=_0x244fdd;});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=_0xdfc7b7=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0xdfc7b7):_0xdfc7b7&&_0xdfc7b7['buffer']instanceof ArrayBuffer,QO=({type:_0x10a2f6,data:_0x3e3d16},_0x162daa,_0x3d012f)=>NO&&_0x3e3d16 instanceof Blob?_0x162daa?_0x3d012f(_0x3e3d16):$O(_0x3e3d16,_0x3d012f):LO&&(_0x3e3d16 instanceof ArrayBuffer||DO(_0x3e3d16))?_0x162daa?_0x3d012f(_0x3e3d16):$O(new Blob([_0x3e3d16]),_0x3d012f):_0x3d012f(RO[_0x10a2f6]+(_0x3e3d16||'')),$O=(_0xb65b45,_0x43031f)=>{const _0x24961a=new FileReader();return _0x24961a['onload']=function(){const _0x3ac004=_0x24961a['result']['split'](',')[0x1];_0x43031f('b'+(_0x3ac004||''));},_0x24961a['readAsDataURL'](_0xb65b45);};function VO(_0x50dbd9){return _0x50dbd9 instanceof Uint8Array?_0x50dbd9:_0x50dbd9 instanceof ArrayBuffer?new Uint8Array(_0x50dbd9):new Uint8Array(_0x50dbd9['buffer'],_0x50dbd9['byteOffset'],_0x50dbd9['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=(_0x4e596a,_0x576bce)=>{if('string'!=typeof _0x4e596a)return{'type':'message','data':ZO(_0x4e596a,_0x576bce)};const _0x4989b8=_0x4e596a['charAt'](0x0);if('b'===_0x4989b8)return{'type':'message','data':GO(_0x4e596a['substring'](0x1),_0x576bce)};return PO[_0x4989b8]?_0x4e596a['length']>0x1?{'type':PO[_0x4989b8],'data':_0x4e596a['substring'](0x1)}:{'type':PO[_0x4989b8]}:MO;},GO=(_0x4b28b5,_0x7e0c74)=>{if(jO){const _0x7647d7=(_0x285b0f=>{let _0x2adbf9,_0x55e68f,_0x170927,_0x172512,_0x34d6b9,_0x2ffd03=0.75*_0x285b0f['length'],_0x5d2e40=_0x285b0f['length'],_0x5ed573=0x0;'='===_0x285b0f[_0x285b0f['length']-0x1]&&(_0x2ffd03--,'='===_0x285b0f[_0x285b0f['length']-0x2]&&_0x2ffd03--);const _0x48da59=new ArrayBuffer(_0x2ffd03),_0x1a0cb5=new Uint8Array(_0x48da59);for(_0x2adbf9=0x0;_0x2adbf9<_0x5d2e40;_0x2adbf9+=0x4)_0x55e68f=FO[_0x285b0f['charCodeAt'](_0x2adbf9)],_0x170927=FO[_0x285b0f['charCodeAt'](_0x2adbf9+0x1)],_0x172512=FO[_0x285b0f['charCodeAt'](_0x2adbf9+0x2)],_0x34d6b9=FO[_0x285b0f['charCodeAt'](_0x2adbf9+0x3)],_0x1a0cb5[_0x5ed573++]=_0x55e68f<<0x2|_0x170927>>0x4,_0x1a0cb5[_0x5ed573++]=(0xf&_0x170927)<<0x4|_0x172512>>0x2,_0x1a0cb5[_0x5ed573++]=(0x3&_0x172512)<<0x6|0x3f&_0x34d6b9;return _0x48da59;})(_0x4b28b5);return ZO(_0x7647d7,_0x7e0c74);}return{'base64':!0x0,'data':_0x4b28b5};},ZO=(_0x45ed60,_0x29a19a)=>'blob'===_0x29a19a?_0x45ed60 instanceof Blob?_0x45ed60:new Blob([_0x45ed60]):_0x45ed60 instanceof ArrayBuffer?_0x45ed60:_0x45ed60['buffer'],XO=String['fromCharCode'](0x1e);function qO(){return new TransformStream({'transform'(_0x37e626,_0x646b90){!function(_0x4d1439,_0x314807){NO&&_0x4d1439['data']instanceof Blob?_0x4d1439['data']['arrayBuffer']()['then'](VO)['then'](_0x314807):LO&&(_0x4d1439['data']instanceof ArrayBuffer||DO(_0x4d1439['data']))?_0x314807(VO(_0x4d1439['data'])):QO(_0x4d1439,!0x1,_0x19671a=>{UO||(UO=new TextEncoder()),_0x314807(UO['encode'](_0x19671a));});}(_0x37e626,_0x3fb775=>{const _0x32b864=_0x3fb775['length'];let _0x4e7a85;if(_0x32b864<0x7e)_0x4e7a85=new Uint8Array(0x1),new DataView(_0x4e7a85['buffer'])['setUint8'](0x0,_0x32b864);else{if(_0x32b864<0x10000){_0x4e7a85=new Uint8Array(0x3);const _0x3412cb=new DataView(_0x4e7a85['buffer']);_0x3412cb['setUint8'](0x0,0x7e),_0x3412cb['setUint16'](0x1,_0x32b864);}else{_0x4e7a85=new Uint8Array(0x9);const _0x5cd567=new DataView(_0x4e7a85['buffer']);_0x5cd567['setUint8'](0x0,0x7f),_0x5cd567['setBigUint64'](0x1,BigInt(_0x32b864));}}_0x37e626['data']&&'string'!=typeof _0x37e626['data']&&(_0x4e7a85[0x0]|=0x80),_0x646b90['enqueue'](_0x4e7a85),_0x646b90['enqueue'](_0x3fb775);});}});}let WO;function zO(_0x585b59){return _0x585b59['reduce']((_0x528a0d,_0xf93acd)=>_0x528a0d+_0xf93acd['length'],0x0);}function YO(_0x3e8b80,_0xd7b6e4){if(_0x3e8b80[0x0]['length']===_0xd7b6e4)return _0x3e8b80['shift']();const _0x2226ea=new Uint8Array(_0xd7b6e4);let _0x30b3d5=0x0;for(let _0x50358d=0x0;_0x50358d<_0xd7b6e4;_0x50358d++)_0x2226ea[_0x50358d]=_0x3e8b80[0x0][_0x30b3d5++],_0x30b3d5===_0x3e8b80[0x0]['length']&&(_0x3e8b80['shift'](),_0x30b3d5=0x0);return _0x3e8b80['length']&&_0x30b3d5<_0x3e8b80[0x0]['length']&&(_0x3e8b80[0x0]=_0x3e8b80[0x0]['slice'](_0x30b3d5)),_0x2226ea;}function KO(_0xcaa4a7){if(_0xcaa4a7)return function(_0x566ee1){for(var _0x5a35dd in KO['prototype'])_0x566ee1[_0x5a35dd]=KO['prototype'][_0x5a35dd];return _0x566ee1;}(_0xcaa4a7);}KO['prototype']['on']=KO['prototype']['addEventListener']=function(_0x13d513,_0x4f57f6){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x13d513]=this['_callbacks']['$'+_0x13d513]||[])['push'](_0x4f57f6),this;},KO['prototype']['once']=function(_0x40c476,_0x2ee890){function _0x56d937(){this['off'](_0x40c476,_0x56d937),_0x2ee890['apply'](this,arguments);}return _0x56d937['fn']=_0x2ee890,this['on'](_0x40c476,_0x56d937),this;},KO['prototype']['off']=KO['prototype']['removeListener']=KO['prototype']['removeAllListeners']=KO['prototype']['removeEventListener']=function(_0x521141,_0x5404b8){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x1a5218,_0x33a322=this['_callbacks']['$'+_0x521141];if(!_0x33a322)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x521141],this;for(var _0x851e4f=0x0;_0x851e4f<_0x33a322['length'];_0x851e4f++)if((_0x1a5218=_0x33a322[_0x851e4f])===_0x5404b8||_0x1a5218['fn']===_0x5404b8){_0x33a322['splice'](_0x851e4f,0x1);break;}return 0x0===_0x33a322['length']&&delete this['_callbacks']['$'+_0x521141],this;},KO['prototype']['emit']=function(_0xfd37b8){this['_callbacks']=this['_callbacks']||{};for(var _0x29f8b7=new Array(arguments['length']-0x1),_0x46e3b5=this['_callbacks']['$'+_0xfd37b8],_0x5dd509=0x1;_0x5dd509<arguments['length'];_0x5dd509++)_0x29f8b7[_0x5dd509-0x1]=arguments[_0x5dd509];if(_0x46e3b5){_0x5dd509=0x0;for(var _0x700f65=(_0x46e3b5=_0x46e3b5['slice'](0x0))['length'];_0x5dd509<_0x700f65;++_0x5dd509)_0x46e3b5[_0x5dd509]['apply'](this,_0x29f8b7);}return this;},KO['prototype']['emitReserved']=KO['prototype']['emit'],KO['prototype']['listeners']=function(_0x2da50b){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x2da50b]||[];},KO['prototype']['hasListeners']=function(_0x253581){return!!this['listeners'](_0x253581)['length'];};const JO='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function tw(_0x1d4440,..._0x3327b5){return _0x3327b5['reduce']((_0x44bd4c,_0x526442)=>(_0x1d4440['hasOwnProperty'](_0x526442)&&(_0x44bd4c[_0x526442]=_0x1d4440[_0x526442]),_0x44bd4c),{});}const ew=JO['setTimeout'],iw=JO['clearTimeout'];function sw(_0x1ebd52,_0x4e8d80){_0x4e8d80['useNativeTimers']?(_0x1ebd52['setTimeoutFn']=ew['bind'](JO),_0x1ebd52['clearTimeoutFn']=iw['bind'](JO)):(_0x1ebd52['setTimeoutFn']=JO['setTimeout']['bind'](JO),_0x1ebd52['clearTimeoutFn']=JO['clearTimeout']['bind'](JO));}function nw(_0x5dada9){return'string'==typeof _0x5dada9?function(_0x54079d){let _0x422e16=0x0,_0x173f8f=0x0;for(let _0x231a0e=0x0,_0x29ba22=_0x54079d['length'];_0x231a0e<_0x29ba22;_0x231a0e++)_0x422e16=_0x54079d['charCodeAt'](_0x231a0e),_0x422e16<0x80?_0x173f8f+=0x1:_0x422e16<0x800?_0x173f8f+=0x2:_0x422e16<0xd800||_0x422e16>=0xe000?_0x173f8f+=0x3:(_0x231a0e++,_0x173f8f+=0x4);return _0x173f8f;}(_0x5dada9):Math['ceil'](1.33*(_0x5dada9['byteLength']||_0x5dada9['size']));}class TransportError extends Error{constructor(_0x3a9595,_0x3e6211,_0x5ba388){super(_0x3a9595),this['description']=_0x3e6211,this['context']=_0x5ba388,this['type']='TransportError';}}class Transport extends KO{constructor(_0x14f551){super(),this['writable']=!0x1,sw(this,_0x14f551),this['opts']=_0x14f551,this['query']=_0x14f551['query'],this['socket']=_0x14f551['socket'];}['onError'](_0x5a287b,_0x34cf60,_0x4a0b88){return super['emitReserved']('error',new TransportError(_0x5a287b,_0x34cf60,_0x4a0b88)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x50bf00){'open'===this['readyState']&&this['write'](_0x50bf00);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x404901){const _0x5d6053=HO(_0x404901,this['socket']['binaryType']);this['onPacket'](_0x5d6053);}['onPacket'](_0x12c37b){super['emitReserved']('packet',_0x12c37b);}['onClose'](_0x503a13){this['readyState']='closed',super['emitReserved']('close',_0x503a13);}['pause'](_0x477fc0){}['createUri'](_0x486946,_0x523d96={}){return _0x486946+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x523d96);}['_hostname'](){const _0x3f7def=this['opts']['hostname'];return-0x1===_0x3f7def['indexOf'](':')?_0x3f7def:'['+_0x3f7def+']';}['_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'](_0x104e7e){const _0x3dcb64=function(_0x4763d1){let _0x31a9eb='';for(let _0x2540e5 in _0x4763d1)_0x4763d1['hasOwnProperty'](_0x2540e5)&&(_0x31a9eb['length']&&(_0x31a9eb+='&'),_0x31a9eb+=encodeURIComponent(_0x2540e5)+'='+encodeURIComponent(_0x4763d1[_0x2540e5]));return _0x31a9eb;}(_0x104e7e);return _0x3dcb64['length']?'?'+_0x3dcb64:'';}}const rw='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),ow={};let aw,cw=0x0,lw=0x0;function hw(_0x124adb){let _0x96c4d2='';do{_0x96c4d2=rw[_0x124adb%0x40]+_0x96c4d2,_0x124adb=Math['floor'](_0x124adb/0x40);}while(_0x124adb>0x0);return _0x96c4d2;}function uw(){const _0x26eb8d=hw(+new Date());return _0x26eb8d!==aw?(cw=0x0,aw=_0x26eb8d):_0x26eb8d+'.'+hw(cw++);}for(;lw<0x40;lw++)ow[rw[lw]]=lw;let dw=!0x1;try{dw='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x2e8e94){}const fw=dw;function mw(_0x51da21){const _0x17eb0e=_0x51da21['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x17eb0e||fw))return new XMLHttpRequest();}catch(_0x3aeed6){}if(!_0x17eb0e)try{return new JO[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x31c05a){}}function gw(){}const pw=null!=new mw({'xdomain':!0x1})['responseType'];class Request extends KO{constructor(_0x29808f,_0xf0436d){super(),sw(this,_0xf0436d),this['opts']=_0xf0436d,this['method']=_0xf0436d['method']||'GET',this['uri']=_0x29808f,this['data']=void 0x0!==_0xf0436d['data']?_0xf0436d['data']:null,this['create']();}['create'](){var _0x3ee3c9;const _0x48fbbc=tw(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x48fbbc['xdomain']=!!this['opts']['xd'];const _0x5a60d4=this['xhr']=new mw(_0x48fbbc);try{_0x5a60d4['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x5a60d4['setDisableHeaderCheck']&&_0x5a60d4['setDisableHeaderCheck'](!0x0);for(let _0x24f25c in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x24f25c)&&_0x5a60d4['setRequestHeader'](_0x24f25c,this['opts']['extraHeaders'][_0x24f25c]);}}catch(_0xf0277c){}if('POST'===this['method'])try{_0x5a60d4['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x1b51ec){}try{_0x5a60d4['setRequestHeader']('Accept','*/*');}catch(_0x429de1){}null===(_0x3ee3c9=this['opts']['cookieJar'])||void 0x0===_0x3ee3c9||_0x3ee3c9['addCookies'](_0x5a60d4),'withCredentials'in _0x5a60d4&&(_0x5a60d4['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x5a60d4['timeout']=this['opts']['requestTimeout']),_0x5a60d4['onreadystatechange']=()=>{var _0x320810;0x3===_0x5a60d4['readyState']&&(null===(_0x320810=this['opts']['cookieJar'])||void 0x0===_0x320810||_0x320810['parseCookies'](_0x5a60d4)),0x4===_0x5a60d4['readyState']&&(0xc8===_0x5a60d4['status']||0x4c7===_0x5a60d4['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x5a60d4['status']?_0x5a60d4['status']:0x0);},0x0));},_0x5a60d4['send'](this['data']);}catch(_0x54ded8){return void this['setTimeoutFn'](()=>{this['onError'](_0x54ded8);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x5f3e3c){this['emitReserved']('error',_0x5f3e3c,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0xce18f7){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=gw,_0xce18f7)try{this['xhr']['abort']();}catch(_0x56763f){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x38a7ea=this['xhr']['responseText'];null!==_0x38a7ea&&(this['emitReserved']('data',_0x38a7ea),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 _0x473519 in Request['requests'])Request['requests']['hasOwnProperty'](_0x473519)&&Request['requests'][_0x473519]['abort']();}const ww='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x23f0cb=>Promise['resolve']()['then'](_0x23f0cb):(_0x3dff44,_0x94b117)=>_0x94b117(_0x3dff44,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(_0x297c18){super(_0x297c18),this['supportsBinary']=!_0x297c18['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x3d8784=this['uri'](),_0x3bd251=this['opts']['protocols'],_0x59ffe6=yw?{}:tw(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x59ffe6['headers']=this['opts']['extraHeaders']);try{this['ws']=yw?new bw(_0x3d8784,_0x3bd251,_0x59ffe6):_0x3bd251?new bw(_0x3d8784,_0x3bd251):new bw(_0x3d8784);}catch(_0x356b91){return this['emitReserved']('error',_0x356b91);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x47a2ac=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x47a2ac}),this['ws']['onmessage']=_0x3b4f29=>this['onData'](_0x3b4f29['data']),this['ws']['onerror']=_0x4bfee8=>this['onError']('websocket\x20error',_0x4bfee8);}['write'](_0x4b842d){this['writable']=!0x1;for(let _0x2a7ef4=0x0;_0x2a7ef4<_0x4b842d['length'];_0x2a7ef4++){const _0x15c731=_0x4b842d[_0x2a7ef4],_0x5969b3=_0x2a7ef4===_0x4b842d['length']-0x1;QO(_0x15c731,this['supportsBinary'],_0x5384c0=>{try{this['ws']['send'](_0x5384c0);}catch(_0xf32d58){}_0x5969b3&&ww(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x373a84=this['opts']['secure']?'wss':'ws',_0x2b3127=this['query']||{};return this['opts']['timestampRequests']&&(_0x2b3127[this['opts']['timestampParam']]=uw()),this['supportsBinary']||(_0x2b3127['b64']=0x1),this['createUri'](_0x373a84,_0x2b3127);}['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'](_0x4cecf2=>{this['onError']('webtransport\x20error',_0x4cecf2);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x1fa49d=>{const _0x81b95=function(_0xab4c83,_0x38cee8){WO||(WO=new TextDecoder());const _0x45f43c=[];let _0x515368=0x0,_0x49907e=-0x1,_0x808c7e=!0x1;return new TransformStream({'transform'(_0x36c29e,_0x23b526){for(_0x45f43c['push'](_0x36c29e);;){if(0x0===_0x515368){if(zO(_0x45f43c)<0x1)break;const _0x192fac=YO(_0x45f43c,0x1);_0x808c7e=!(0x80&~_0x192fac[0x0]),_0x49907e=0x7f&_0x192fac[0x0],_0x515368=_0x49907e<0x7e?0x3:0x7e===_0x49907e?0x1:0x2;}else{if(0x1===_0x515368){if(zO(_0x45f43c)<0x2)break;const _0x3e1fb0=YO(_0x45f43c,0x2);_0x49907e=new DataView(_0x3e1fb0['buffer'],_0x3e1fb0['byteOffset'],_0x3e1fb0['length'])['getUint16'](0x0),_0x515368=0x3;}else{if(0x2===_0x515368){if(zO(_0x45f43c)<0x8)break;const _0x1cc7ce=YO(_0x45f43c,0x8),_0x151b61=new DataView(_0x1cc7ce['buffer'],_0x1cc7ce['byteOffset'],_0x1cc7ce['length']),_0x26c949=_0x151b61['getUint32'](0x0);if(_0x26c949>Math['pow'](0x2,0x15)-0x1){_0x23b526['enqueue'](MO);break;}_0x49907e=_0x26c949*Math['pow'](0x2,0x20)+_0x151b61['getUint32'](0x4),_0x515368=0x3;}else{if(zO(_0x45f43c)<_0x49907e)break;const _0x24fa3b=YO(_0x45f43c,_0x49907e);_0x23b526['enqueue'](HO(_0x808c7e?_0x24fa3b:WO['decode'](_0x24fa3b),_0x38cee8)),_0x515368=0x0;}}}if(0x0===_0x49907e||_0x49907e>_0xab4c83){_0x23b526['enqueue'](MO);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x162fd1=_0x1fa49d['readable']['pipeThrough'](_0x81b95)['getReader'](),_0x1d56d3=qO();_0x1d56d3['readable']['pipeTo'](_0x1fa49d['writable']),this['writer']=_0x1d56d3['writable']['getWriter']();const _0x20b15c=()=>{_0x162fd1['read']()['then'](({done:_0x500647,value:_0x3048f6})=>{_0x500647||(this['onPacket'](_0x3048f6),_0x20b15c());})['catch'](_0x517ebc=>{});};_0x20b15c();const _0x3cc391={'type':'open'};this['query']['sid']&&(_0x3cc391['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x3cc391)['then'](()=>this['onOpen']());});}));}['write'](_0x3b01e6){this['writable']=!0x1;for(let _0x5b48d7=0x0;_0x5b48d7<_0x3b01e6['length'];_0x5b48d7++){const _0x5e42f4=_0x3b01e6[_0x5b48d7],_0x499e6b=_0x5b48d7===_0x3b01e6['length']-0x1;this['writer']['write'](_0x5e42f4)['then'](()=>{_0x499e6b&&ww(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x30b940;null===(_0x30b940=this['transport'])||void 0x0===_0x30b940||_0x30b940['close']();}},'polling':class Polling extends Transport{constructor(_0x1fca4c){if(super(_0x1fca4c),this['polling']=!0x1,'undefined'!=typeof location){const _0x203299='https:'===location['protocol'];let _0x5dc7ef=location['port'];_0x5dc7ef||(_0x5dc7ef=_0x203299?'443':'80'),this['xd']='undefined'!=typeof location&&_0x1fca4c['hostname']!==location['hostname']||_0x5dc7ef!==_0x1fca4c['port'];}const _0x389215=_0x1fca4c&&_0x1fca4c['forceBase64'];this['supportsBinary']=pw&&!_0x389215,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x462e7d){this['readyState']='pausing';const _0x3ab281=()=>{this['readyState']='paused',_0x462e7d();};if(this['polling']||!this['writable']){let _0xc3c4f4=0x0;this['polling']&&(_0xc3c4f4++,this['once']('pollComplete',function(){--_0xc3c4f4||_0x3ab281();})),this['writable']||(_0xc3c4f4++,this['once']('drain',function(){--_0xc3c4f4||_0x3ab281();}));}else _0x3ab281();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x2c914c){((_0x4d15ae,_0x1ddfdc)=>{const _0x20c1b3=_0x4d15ae['split'](XO),_0x1bfcf9=[];for(let _0x243ea0=0x0;_0x243ea0<_0x20c1b3['length'];_0x243ea0++){const _0x974712=HO(_0x20c1b3[_0x243ea0],_0x1ddfdc);if(_0x1bfcf9['push'](_0x974712),'error'===_0x974712['type'])break;}return _0x1bfcf9;})(_0x2c914c,this['socket']['binaryType'])['forEach'](_0x185607=>{if('opening'===this['readyState']&&'open'===_0x185607['type']&&this['onOpen'](),'close'===_0x185607['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x185607);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x240e55=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x240e55():this['once']('open',_0x240e55);}['write'](_0x5f4fd5){this['writable']=!0x1,((_0x539061,_0xaa7d05)=>{const _0x2d1d8f=_0x539061['length'],_0xf1f562=new Array(_0x2d1d8f);let _0x8e4f87=0x0;_0x539061['forEach']((_0x47114e,_0x104bb4)=>{QO(_0x47114e,!0x1,_0x43dd12=>{_0xf1f562[_0x104bb4]=_0x43dd12,++_0x8e4f87===_0x2d1d8f&&_0xaa7d05(_0xf1f562['join'](XO));});});})(_0x5f4fd5,_0xd5b9d2=>{this['doWrite'](_0xd5b9d2,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0xfae5ca=this['opts']['secure']?'https':'http',_0x4d2622=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x4d2622[this['opts']['timestampParam']]=uw()),this['supportsBinary']||_0x4d2622['sid']||(_0x4d2622['b64']=0x1),this['createUri'](_0xfae5ca,_0x4d2622);}['request'](_0x5137c1={}){return Object['assign'](_0x5137c1,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x5137c1);}['doWrite'](_0x8db228,_0x15594d){const _0x5be1e9=this['request']({'method':'POST','data':_0x8db228});_0x5be1e9['on']('success',_0x15594d),_0x5be1e9['on']('error',(_0x29c0a4,_0x2cd49c)=>{this['onError']('xhr\x20post\x20error',_0x29c0a4,_0x2cd49c);});}['doPoll'](){const _0x2300b9=this['request']();_0x2300b9['on']('data',this['onData']['bind'](this)),_0x2300b9['on']('error',(_0x12c4dc,_0x337b65)=>{this['onError']('xhr\x20poll\x20error',_0x12c4dc,_0x337b65);}),this['pollXhr']=_0x2300b9;}}},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(_0x4c2937){if(_0x4c2937['length']>0x7d0)throw'URI\x20too\x20long';const _0x53baee=_0x4c2937,_0x17f31b=_0x4c2937['indexOf']('['),_0x14ccf8=_0x4c2937['indexOf'](']');-0x1!=_0x17f31b&&-0x1!=_0x14ccf8&&(_0x4c2937=_0x4c2937['substring'](0x0,_0x17f31b)+_0x4c2937['substring'](_0x17f31b,_0x14ccf8)['replace'](/:/g,';')+_0x4c2937['substring'](_0x14ccf8,_0x4c2937['length']));let _0x29b617=vw['exec'](_0x4c2937||''),_0x5e0200={},_0x3c3de6=0xe;for(;_0x3c3de6--;)_0x5e0200[Tw[_0x3c3de6]]=_0x29b617[_0x3c3de6]||'';return-0x1!=_0x17f31b&&-0x1!=_0x14ccf8&&(_0x5e0200['source']=_0x53baee,_0x5e0200['host']=_0x5e0200['host']['substring'](0x1,_0x5e0200['host']['length']-0x1)['replace'](/;/g,':'),_0x5e0200['authority']=_0x5e0200['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x5e0200['ipv6uri']=!0x0),_0x5e0200['pathNames']=function(_0x4e2869,_0x5e42b8){const _0x45b338=/\/{2,9}/g,_0x5b7038=_0x5e42b8['replace'](_0x45b338,'/')['split']('/');return'/'!=_0x5e42b8['slice'](0x0,0x1)&&0x0!==_0x5e42b8['length']||_0x5b7038['splice'](0x0,0x1),'/'==_0x5e42b8['slice'](-0x1)&&_0x5b7038['splice'](_0x5b7038['length']-0x1,0x1),_0x5b7038;}(0x0,_0x5e0200['path']),_0x5e0200['queryKey']=function(_0x2c6c09,_0x7ea4dd){const _0x17c09d={};return _0x7ea4dd['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x4ee42a,_0x25353b,_0x28d907){_0x25353b&&(_0x17c09d[_0x25353b]=_0x28d907);}),_0x17c09d;}(0x0,_0x5e0200['query']),_0x5e0200;}let Aw=class Socket extends KO{constructor(_0x3e9998,_0x1579d6={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x3e9998&&'object'==typeof _0x3e9998&&(_0x1579d6=_0x3e9998,_0x3e9998=null),_0x3e9998?(_0x3e9998=Ew(_0x3e9998),_0x1579d6['hostname']=_0x3e9998['host'],_0x1579d6['secure']='https'===_0x3e9998['protocol']||'wss'===_0x3e9998['protocol'],_0x1579d6['port']=_0x3e9998['port'],_0x3e9998['query']&&(_0x1579d6['query']=_0x3e9998['query'])):_0x1579d6['host']&&(_0x1579d6['hostname']=Ew(_0x1579d6['host'])['host']),sw(this,_0x1579d6),this['secure']=null!=_0x1579d6['secure']?_0x1579d6['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x1579d6['hostname']&&!_0x1579d6['port']&&(_0x1579d6['port']=this['secure']?'443':'80'),this['hostname']=_0x1579d6['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x1579d6['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x1579d6['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},_0x1579d6),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x194906){let _0x125923={},_0x348e9b=_0x194906['split']('&');for(let _0x4156c3=0x0,_0x57178c=_0x348e9b['length'];_0x4156c3<_0x57178c;_0x4156c3++){let _0x186b44=_0x348e9b[_0x4156c3]['split']('=');_0x125923[decodeURIComponent(_0x186b44[0x0])]=decodeURIComponent(_0x186b44[0x1]);}return _0x125923;}(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'](_0x473e82){const _0xf4c943=Object['assign']({},this['opts']['query']);_0xf4c943['EIO']=0x4,_0xf4c943['transport']=_0x473e82,this['id']&&(_0xf4c943['sid']=this['id']);const _0x3b1d8e=Object['assign']({},this['opts'],{'query':_0xf4c943,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x473e82]);return new _w[_0x473e82](_0x3b1d8e);}['open'](){let _0x391583;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x391583='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x391583=this['transports'][0x0];}this['readyState']='opening';try{_0x391583=this['createTransport'](_0x391583);}catch(_0x4d2727){return this['transports']['shift'](),void this['open']();}_0x391583['open'](),this['setTransport'](_0x391583);}['setTransport'](_0x6ca949){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x6ca949,_0x6ca949['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x4e04e0=>this['onClose']('transport\x20close',_0x4e04e0));}['probe'](_0x3c6106){let _0x133703=this['createTransport'](_0x3c6106),_0x42abb1=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0x4bf8d5=()=>{_0x42abb1||(_0x133703['send']([{'type':'ping','data':'probe'}]),_0x133703['once']('packet',_0x7615f=>{if(!_0x42abb1){if('pong'===_0x7615f['type']&&'probe'===_0x7615f['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x133703),!_0x133703)return;Socket['priorWebsocketSuccess']='websocket'===_0x133703['name'],this['transport']['pause'](()=>{_0x42abb1||'closed'!==this['readyState']&&(_0x1f3083(),this['setTransport'](_0x133703),_0x133703['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x133703),_0x133703=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x1ac6d3=new Error('probe\x20error');_0x1ac6d3['transport']=_0x133703['name'],this['emitReserved']('upgradeError',_0x1ac6d3);}}}));};function _0x14b40a(){_0x42abb1||(_0x42abb1=!0x0,_0x1f3083(),_0x133703['close'](),_0x133703=null);}const _0x1d4617=_0x4cd128=>{const _0x4bc521=new Error('probe\x20error:\x20'+_0x4cd128);_0x4bc521['transport']=_0x133703['name'],_0x14b40a(),this['emitReserved']('upgradeError',_0x4bc521);};function _0x1482a2(){_0x1d4617('transport\x20closed');}function _0x3b71f4(){_0x1d4617('socket\x20closed');}function _0x2a7ffb(_0x2d4c15){_0x133703&&_0x2d4c15['name']!==_0x133703['name']&&_0x14b40a();}const _0x1f3083=()=>{_0x133703['removeListener']('open',_0x4bf8d5),_0x133703['removeListener']('error',_0x1d4617),_0x133703['removeListener']('close',_0x1482a2),this['off']('close',_0x3b71f4),this['off']('upgrading',_0x2a7ffb);};_0x133703['once']('open',_0x4bf8d5),_0x133703['once']('error',_0x1d4617),_0x133703['once']('close',_0x1482a2),this['once']('close',_0x3b71f4),this['once']('upgrading',_0x2a7ffb),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x3c6106?this['setTimeoutFn'](()=>{_0x42abb1||_0x133703['open']();},0xc8):_0x133703['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x10bde0=0x0;const _0x1819c7=this['upgrades']['length'];for(;_0x10bde0<_0x1819c7;_0x10bde0++)this['probe'](this['upgrades'][_0x10bde0]);}}['onPacket'](_0x46a4f0){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x46a4f0),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x46a4f0['type']){case'open':this['onHandshake'](JSON['parse'](_0x46a4f0['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x433f44=new Error('server\x20error');_0x433f44['code']=_0x46a4f0['data'],this['onError'](_0x433f44);break;case'message':this['emitReserved']('data',_0x46a4f0['data']),this['emitReserved']('message',_0x46a4f0['data']);}}['onHandshake'](_0x636033){this['emitReserved']('handshake',_0x636033),this['id']=_0x636033['sid'],this['transport']['query']['sid']=_0x636033['sid'],this['upgrades']=this['filterUpgrades'](_0x636033['upgrades']),this['pingInterval']=_0x636033['pingInterval'],this['pingTimeout']=_0x636033['pingTimeout'],this['maxPayload']=_0x636033['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 _0x162ae8=this['getWritablePackets']();this['transport']['send'](_0x162ae8),this['prevBufferLen']=_0x162ae8['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x26e88f=0x1;for(let _0x516c64=0x0;_0x516c64<this['writeBuffer']['length'];_0x516c64++){const _0x24c494=this['writeBuffer'][_0x516c64]['data'];if(_0x24c494&&(_0x26e88f+=nw(_0x24c494)),_0x516c64>0x0&&_0x26e88f>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x516c64);_0x26e88f+=0x2;}return this['writeBuffer'];}['write'](_0x42f214,_0x3d11f2,_0x156390){return this['sendPacket']('message',_0x42f214,_0x3d11f2,_0x156390),this;}['send'](_0xcad583,_0xc67f8a,_0x22c198){return this['sendPacket']('message',_0xcad583,_0xc67f8a,_0x22c198),this;}['sendPacket'](_0x59e363,_0x4a9d32,_0xc10afc,_0x33d6c1){if('function'==typeof _0x4a9d32&&(_0x33d6c1=_0x4a9d32,_0x4a9d32=void 0x0),'function'==typeof _0xc10afc&&(_0x33d6c1=_0xc10afc,_0xc10afc=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0xc10afc=_0xc10afc||{})['compress']=!0x1!==_0xc10afc['compress'];const _0x10e03b={'type':_0x59e363,'data':_0x4a9d32,'options':_0xc10afc};this['emitReserved']('packetCreate',_0x10e03b),this['writeBuffer']['push'](_0x10e03b),_0x33d6c1&&this['once']('flush',_0x33d6c1),this['flush']();}['close'](){const _0x96d9d5=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x78a514=()=>{this['off']('upgrade',_0x78a514),this['off']('upgradeError',_0x78a514),_0x96d9d5();},_0x2af235=()=>{this['once']('upgrade',_0x78a514),this['once']('upgradeError',_0x78a514);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x2af235():_0x96d9d5();}):this['upgrading']?_0x2af235():_0x96d9d5()),this;}['onError'](_0x8e283a){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x8e283a),this['onClose']('transport\x20error',_0x8e283a);}['onClose'](_0x12205f,_0x6e6c94){'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',_0x12205f,_0x6e6c94),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x1dbe15){const _0x386e01=[];let _0x442ff6=0x0;const _0xfd04b9=_0x1dbe15['length'];for(;_0x442ff6<_0xfd04b9;_0x442ff6++)~this['transports']['indexOf'](_0x1dbe15[_0x442ff6])&&_0x386e01['push'](_0x1dbe15[_0x442ff6]);return _0x386e01;}};Aw['protocol']=0x4;const Iw='function'==typeof ArrayBuffer,Sw=Object['prototype']['toString'],Cw='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Sw['call'](Blob),kw='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===Sw['call'](File);function xw(_0x33c01c){return Iw&&(_0x33c01c instanceof ArrayBuffer||(_0x4c0b1b=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4c0b1b):_0x4c0b1b['buffer']instanceof ArrayBuffer)(_0x33c01c))||Cw&&_0x33c01c instanceof Blob||kw&&_0x33c01c instanceof File;}function Rw(_0x25940a,_0x138cce){if(!_0x25940a||'object'!=typeof _0x25940a)return!0x1;if(Array['isArray'](_0x25940a)){for(let _0x4b8764=0x0,_0x2887df=_0x25940a['length'];_0x4b8764<_0x2887df;_0x4b8764++)if(Rw(_0x25940a[_0x4b8764]))return!0x0;return!0x1;}if(xw(_0x25940a))return!0x0;if(_0x25940a['toJSON']&&'function'==typeof _0x25940a['toJSON']&&0x1===arguments['length'])return Rw(_0x25940a['toJSON'](),!0x0);for(const _0x1e948d in _0x25940a)if(Object['prototype']['hasOwnProperty']['call'](_0x25940a,_0x1e948d)&&Rw(_0x25940a[_0x1e948d]))return!0x0;return!0x1;}function Pw(_0x166e0f){const _0x252aa7=[],_0xe9019f=_0x166e0f['data'],_0x5d66a5=_0x166e0f;return _0x5d66a5['data']=Mw(_0xe9019f,_0x252aa7),_0x5d66a5['attachments']=_0x252aa7['length'],{'packet':_0x5d66a5,'buffers':_0x252aa7};}function Mw(_0x514a1e,_0x38e104){if(!_0x514a1e)return _0x514a1e;if(xw(_0x514a1e)){const _0x48eaa1={'_placeholder':!0x0,'num':_0x38e104['length']};return _0x38e104['push'](_0x514a1e),_0x48eaa1;}if(Array['isArray'](_0x514a1e)){const _0x2636af=new Array(_0x514a1e['length']);for(let _0x366947=0x0;_0x366947<_0x514a1e['length'];_0x366947++)_0x2636af[_0x366947]=Mw(_0x514a1e[_0x366947],_0x38e104);return _0x2636af;}if('object'==typeof _0x514a1e&&!(_0x514a1e instanceof Date)){const _0x34acda={};for(const _0x33ffea in _0x514a1e)Object['prototype']['hasOwnProperty']['call'](_0x514a1e,_0x33ffea)&&(_0x34acda[_0x33ffea]=Mw(_0x514a1e[_0x33ffea],_0x38e104));return _0x34acda;}return _0x514a1e;}function Nw(_0x7a8066,_0x27fb4f){return _0x7a8066['data']=Lw(_0x7a8066['data'],_0x27fb4f),delete _0x7a8066['attachments'],_0x7a8066;}function Lw(_0xbbc12e,_0x5e8853){if(!_0xbbc12e)return _0xbbc12e;if(_0xbbc12e&&!0x0===_0xbbc12e['_placeholder']){if('number'==typeof _0xbbc12e['num']&&_0xbbc12e['num']>=0x0&&_0xbbc12e['num']<_0x5e8853['length'])return _0x5e8853[_0xbbc12e['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0xbbc12e)){for(let _0xcbe127=0x0;_0xcbe127<_0xbbc12e['length'];_0xcbe127++)_0xbbc12e[_0xcbe127]=Lw(_0xbbc12e[_0xcbe127],_0x5e8853);}else{if('object'==typeof _0xbbc12e){for(const _0x55f89d in _0xbbc12e)Object['prototype']['hasOwnProperty']['call'](_0xbbc12e,_0x55f89d)&&(_0xbbc12e[_0x55f89d]=Lw(_0xbbc12e[_0x55f89d],_0x5e8853));}}return _0xbbc12e;}const Dw=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var Qw;!function(_0x19ca77){_0x19ca77[_0x19ca77['CONNECT']=0x0]='CONNECT',_0x19ca77[_0x19ca77['DISCONNECT']=0x1]='DISCONNECT',_0x19ca77[_0x19ca77['EVENT']=0x2]='EVENT',_0x19ca77[_0x19ca77['ACK']=0x3]='ACK',_0x19ca77[_0x19ca77['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x19ca77[_0x19ca77['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x19ca77[_0x19ca77['BINARY_ACK']=0x6]='BINARY_ACK';}(Qw||(Qw={}));let $w=class Encoder{constructor(_0xaba723){this['replacer']=_0xaba723;}['encode'](_0x39d7db){return _0x39d7db['type']!==Qw['EVENT']&&_0x39d7db['type']!==Qw['ACK']||!Rw(_0x39d7db)?[this['encodeAsString'](_0x39d7db)]:this['encodeAsBinary']({'type':_0x39d7db['type']===Qw['EVENT']?Qw['BINARY_EVENT']:Qw['BINARY_ACK'],'nsp':_0x39d7db['nsp'],'data':_0x39d7db['data'],'id':_0x39d7db['id']});}['encodeAsString'](_0x4d9284){let _0x3666ec=''+_0x4d9284['type'];return _0x4d9284['type']!==Qw['BINARY_EVENT']&&_0x4d9284['type']!==Qw['BINARY_ACK']||(_0x3666ec+=_0x4d9284['attachments']+'-'),_0x4d9284['nsp']&&'/'!==_0x4d9284['nsp']&&(_0x3666ec+=_0x4d9284['nsp']+','),null!=_0x4d9284['id']&&(_0x3666ec+=_0x4d9284['id']),null!=_0x4d9284['data']&&(_0x3666ec+=JSON['stringify'](_0x4d9284['data'],this['replacer'])),_0x3666ec;}['encodeAsBinary'](_0x876eeb){const _0x1eb137=Pw(_0x876eeb),_0x538a73=this['encodeAsString'](_0x1eb137['packet']),_0x3876a2=_0x1eb137['buffers'];return _0x3876a2['unshift'](_0x538a73),_0x3876a2;}},Vw=class Decoder extends KO{constructor(_0x2428c9){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x2428c9?{'reviver':_0x2428c9}:_0x2428c9);}['add'](_0x3ca785){let _0x104869;if('string'==typeof _0x3ca785){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x104869=this['decodeString'](_0x3ca785);const _0x3b06a5=_0x104869['type']===Qw['BINARY_EVENT'];_0x3b06a5||_0x104869['type']===Qw['BINARY_ACK']?(_0x104869['type']=_0x3b06a5?Qw['EVENT']:Qw['ACK'],this['reconstructor']=new BinaryReconstructor(_0x104869),0x0===_0x104869['attachments']&&super['emitReserved']('decoded',_0x104869)):super['emitReserved']('decoded',_0x104869);}else{if(!xw(_0x3ca785)&&!_0x3ca785['base64'])throw new Error('Unknown\x20type:\x20'+_0x3ca785);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x104869=this['reconstructor']['takeBinaryData'](_0x3ca785),_0x104869&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x104869));}}['decodeString'](_0x40944b){let _0x411bec=0x0;const _0x5304f6={'type':Number(_0x40944b['charAt'](0x0))};if(void 0x0===Qw[_0x5304f6['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x5304f6['type']);if(_0x5304f6['type']===Qw['BINARY_EVENT']||_0x5304f6['type']===Qw['BINARY_ACK']){const _0x4ff407=_0x411bec+0x1;for(;'-'!==_0x40944b['charAt'](++_0x411bec)&&_0x411bec!=_0x40944b['length'];);const _0x28c641=_0x40944b['substring'](_0x4ff407,_0x411bec);if(_0x28c641!=Number(_0x28c641)||'-'!==_0x40944b['charAt'](_0x411bec))throw new Error('Illegal\x20attachments');const _0x3bac48=Number(_0x28c641);if(!Uw(_0x3bac48)||_0x3bac48<0x0)throw new Error('Illegal\x20attachments');if(_0x3bac48>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x5304f6['attachments']=_0x3bac48;}if('/'===_0x40944b['charAt'](_0x411bec+0x1)){const _0x1976bd=_0x411bec+0x1;for(;++_0x411bec;){if(','===_0x40944b['charAt'](_0x411bec))break;if(_0x411bec===_0x40944b['length'])break;}_0x5304f6['nsp']=_0x40944b['substring'](_0x1976bd,_0x411bec);}else _0x5304f6['nsp']='/';const _0x5822e9=_0x40944b['charAt'](_0x411bec+0x1);if(''!==_0x5822e9&&Number(_0x5822e9)==_0x5822e9){const _0x3814b0=_0x411bec+0x1;for(;++_0x411bec;){const _0x393a12=_0x40944b['charAt'](_0x411bec);if(null==_0x393a12||Number(_0x393a12)!=_0x393a12){--_0x411bec;break;}if(_0x411bec===_0x40944b['length'])break;}_0x5304f6['id']=Number(_0x40944b['substring'](_0x3814b0,_0x411bec+0x1));}if(_0x40944b['charAt'](++_0x411bec)){const _0xff3df=this['tryParse'](_0x40944b['substr'](_0x411bec));if(!Decoder['isPayloadValid'](_0x5304f6['type'],_0xff3df))throw new Error('invalid\x20payload');_0x5304f6['data']=_0xff3df;}return _0x5304f6;}['tryParse'](_0x57bf98){try{return JSON['parse'](_0x57bf98,this['opts']['reviver']);}catch(_0x4ae6ca){return!0x1;}}static['isPayloadValid'](_0x29d8d3,_0x56ba91){switch(_0x29d8d3){case Qw['CONNECT']:return Bw(_0x56ba91);case Qw['DISCONNECT']:return void 0x0===_0x56ba91;case Qw['CONNECT_ERROR']:return'string'==typeof _0x56ba91||Bw(_0x56ba91);case Qw['EVENT']:case Qw['BINARY_EVENT']:return Array['isArray'](_0x56ba91)&&('number'==typeof _0x56ba91[0x0]||'string'==typeof _0x56ba91[0x0]&&-0x1===Dw['indexOf'](_0x56ba91[0x0]));case Qw['ACK']:case Qw['BINARY_ACK']:return Array['isArray'](_0x56ba91);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x1fb8b4){this['packet']=_0x1fb8b4,this['buffers']=[],this['reconPack']=_0x1fb8b4;}['takeBinaryData'](_0x16a73a){if(this['buffers']['push'](_0x16a73a),this['buffers']['length']===this['reconPack']['attachments']){const _0xa1bce9=Nw(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0xa1bce9;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const Uw=Number['isInteger']||function(_0x4bf39f){return'number'==typeof _0x4bf39f&&isFinite(_0x4bf39f)&&Math['floor'](_0x4bf39f)===_0x4bf39f;};function Bw(_0x3306ce){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3306ce);}var Fw=Object['freeze']({'__proto__':null,'Decoder':Vw,'Encoder':$w,get 'PacketType'(){return Qw;}});function jw(_0x5bb67c,_0x39acc5,_0x261b2e){return _0x5bb67c['on'](_0x39acc5,_0x261b2e),function(){_0x5bb67c['off'](_0x39acc5,_0x261b2e);};}const Hw=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends KO{constructor(_0x46e693,_0x2db46d,_0x1b5ec6){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']=_0x46e693,this['nsp']=_0x2db46d,_0x1b5ec6&&_0x1b5ec6['auth']&&(this['auth']=_0x1b5ec6['auth']),this['_opts']=Object['assign']({},_0x1b5ec6),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x2bc2dc=this['io'];this['subs']=[jw(_0x2bc2dc,'open',this['onopen']['bind'](this)),jw(_0x2bc2dc,'packet',this['onpacket']['bind'](this)),jw(_0x2bc2dc,'error',this['onerror']['bind'](this)),jw(_0x2bc2dc,'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'](..._0x1e2123){return _0x1e2123['unshift']('message'),this['emit']['apply'](this,_0x1e2123),this;}['emit'](_0x53eb7f,..._0x253316){if(Hw['hasOwnProperty'](_0x53eb7f))throw new Error('\x22'+_0x53eb7f['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x253316['unshift'](_0x53eb7f),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x253316),this;const _0x53ff15={'type':Qw['EVENT'],'data':_0x253316,'options':{}};if(_0x53ff15['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x253316[_0x253316['length']-0x1]){const _0x2a1459=this['ids']++,_0x1fef80=_0x253316['pop']();this['_registerAckCallback'](_0x2a1459,_0x1fef80),_0x53ff15['id']=_0x2a1459;}const _0x234312=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x234312||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x53ff15),this['packet'](_0x53ff15)):this['sendBuffer']['push'](_0x53ff15)),this['flags']={},this;}['_registerAckCallback'](_0x548461,_0x15d781){var _0x1873a9;const _0x30110e=null!==(_0x1873a9=this['flags']['timeout'])&&void 0x0!==_0x1873a9?_0x1873a9:this['_opts']['ackTimeout'];if(void 0x0===_0x30110e)return void(this['acks'][_0x548461]=_0x15d781);const _0xabb1b1=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x548461];for(let _0x358abe=0x0;_0x358abe<this['sendBuffer']['length'];_0x358abe++)this['sendBuffer'][_0x358abe]['id']===_0x548461&&this['sendBuffer']['splice'](_0x358abe,0x1);_0x15d781['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x30110e);this['acks'][_0x548461]=(..._0x5b3295)=>{this['io']['clearTimeoutFn'](_0xabb1b1),_0x15d781['apply'](this,[null,..._0x5b3295]);};}['emitWithAck'](_0xee8f13,..._0x48c290){const _0x5ab41f=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x3ef70d,_0x1e7b23)=>{_0x48c290['push']((_0x51947e,_0xce8f82)=>_0x5ab41f?_0x51947e?_0x1e7b23(_0x51947e):_0x3ef70d(_0xce8f82):_0x3ef70d(_0x51947e)),this['emit'](_0xee8f13,..._0x48c290);});}['_addToQueue'](_0x2edf59){let _0x33c881;'function'==typeof _0x2edf59[_0x2edf59['length']-0x1]&&(_0x33c881=_0x2edf59['pop']());const _0x433d3a={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x2edf59,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x2edf59['push']((_0x4560b7,..._0x2a3867)=>{if(_0x433d3a!==this['_queue'][0x0])return;return null!==_0x4560b7?_0x433d3a['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x33c881&&_0x33c881(_0x4560b7)):(this['_queue']['shift'](),_0x33c881&&_0x33c881(null,..._0x2a3867)),_0x433d3a['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x433d3a),this['_drainQueue']();}['_drainQueue'](_0x16703d=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x1ee2e1=this['_queue'][0x0];_0x1ee2e1['pending']&&!_0x16703d||(_0x1ee2e1['pending']=!0x0,_0x1ee2e1['tryCount']++,this['flags']=_0x1ee2e1['flags'],this['emit']['apply'](this,_0x1ee2e1['args']));}['packet'](_0x2560af){_0x2560af['nsp']=this['nsp'],this['io']['_packet'](_0x2560af);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x417970=>{this['_sendConnectPacket'](_0x417970);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x169b79){this['packet']({'type':Qw['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x169b79):_0x169b79});}['onerror'](_0x2eb509){this['connected']||this['emitReserved']('connect_error',_0x2eb509);}['onclose'](_0x401942,_0x343d7e){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x401942,_0x343d7e);}['onpacket'](_0x37b3a8){if(_0x37b3a8['nsp']===this['nsp'])switch(_0x37b3a8['type']){case Qw['CONNECT']:_0x37b3a8['data']&&_0x37b3a8['data']['sid']?this['onconnect'](_0x37b3a8['data']['sid'],_0x37b3a8['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'](_0x37b3a8);break;case Qw['ACK']:case Qw['BINARY_ACK']:this['onack'](_0x37b3a8);break;case Qw['DISCONNECT']:this['ondisconnect']();break;case Qw['CONNECT_ERROR']:this['destroy']();const _0x142a82=new Error(_0x37b3a8['data']['message']);_0x142a82['data']=_0x37b3a8['data']['data'],this['emitReserved']('connect_error',_0x142a82);}}['onevent'](_0x2895dd){const _0x320177=_0x2895dd['data']||[];null!=_0x2895dd['id']&&_0x320177['push'](this['ack'](_0x2895dd['id'])),this['connected']?this['emitEvent'](_0x320177):this['receiveBuffer']['push'](Object['freeze'](_0x320177));}['emitEvent'](_0x2dde58){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x23e628=this['_anyListeners']['slice']();for(const _0x8bd5c8 of _0x23e628)_0x8bd5c8['apply'](this,_0x2dde58);}super['emit']['apply'](this,_0x2dde58),this['_pid']&&_0x2dde58['length']&&'string'==typeof _0x2dde58[_0x2dde58['length']-0x1]&&(this['_lastOffset']=_0x2dde58[_0x2dde58['length']-0x1]);}['ack'](_0x5a85e5){const _0x513ce4=this;let _0xcf2a2a=!0x1;return function(..._0x2534d8){_0xcf2a2a||(_0xcf2a2a=!0x0,_0x513ce4['packet']({'type':Qw['ACK'],'id':_0x5a85e5,'data':_0x2534d8}));};}['onack'](_0xc15fbb){const _0x1ff0bc=this['acks'][_0xc15fbb['id']];'function'==typeof _0x1ff0bc&&(_0x1ff0bc['apply'](this,_0xc15fbb['data']),delete this['acks'][_0xc15fbb['id']]);}['onconnect'](_0xd6b749,_0x100776){this['id']=_0xd6b749,this['recovered']=_0x100776&&this['_pid']===_0x100776,this['_pid']=_0x100776,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x4148cb=>this['emitEvent'](_0x4148cb)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x163f6f=>{this['notifyOutgoingListeners'](_0x163f6f),this['packet'](_0x163f6f);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x40a9fe=>_0x40a9fe()),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'](_0x24bb82){return this['flags']['compress']=_0x24bb82,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x5e16a2){return this['flags']['timeout']=_0x5e16a2,this;}['onAny'](_0x758476){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x758476),this;}['prependAny'](_0x3fd501){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x3fd501),this;}['offAny'](_0x53a045){if(!this['_anyListeners'])return this;if(_0x53a045){const _0x1c7adc=this['_anyListeners'];for(let _0x7f9059=0x0;_0x7f9059<_0x1c7adc['length'];_0x7f9059++)if(_0x53a045===_0x1c7adc[_0x7f9059])return _0x1c7adc['splice'](_0x7f9059,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x38a815){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x38a815),this;}['prependAnyOutgoing'](_0x5e60a6){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x5e60a6),this;}['offAnyOutgoing'](_0x39510e){if(!this['_anyOutgoingListeners'])return this;if(_0x39510e){const _0x22d58b=this['_anyOutgoingListeners'];for(let _0x21a861=0x0;_0x21a861<_0x22d58b['length'];_0x21a861++)if(_0x39510e===_0x22d58b[_0x21a861])return _0x22d58b['splice'](_0x21a861,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x35b931){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x24a065=this['_anyOutgoingListeners']['slice']();for(const _0x490e30 of _0x24a065)_0x490e30['apply'](this,_0x35b931['data']);}}}function Gw(_0x52eda7){_0x52eda7=_0x52eda7||{},this['ms']=_0x52eda7['min']||0x64,this['max']=_0x52eda7['max']||0x2710,this['factor']=_0x52eda7['factor']||0x2,this['jitter']=_0x52eda7['jitter']>0x0&&_0x52eda7['jitter']<=0x1?_0x52eda7['jitter']:0x0,this['attempts']=0x0;}Gw['prototype']['duration']=function(){var _0x805cdd=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0xbb6c97=Math['random'](),_0x536ec8=Math['floor'](_0xbb6c97*this['jitter']*_0x805cdd);_0x805cdd=0x1&Math['floor'](0xa*_0xbb6c97)?_0x805cdd+_0x536ec8:_0x805cdd-_0x536ec8;}return 0x0|Math['min'](_0x805cdd,this['max']);},Gw['prototype']['reset']=function(){this['attempts']=0x0;},Gw['prototype']['setMin']=function(_0x2da748){this['ms']=_0x2da748;},Gw['prototype']['setMax']=function(_0x1d228e){this['max']=_0x1d228e;},Gw['prototype']['setJitter']=function(_0x33c6b2){this['jitter']=_0x33c6b2;};class Manager extends KO{constructor(_0x1c0027,_0x4c6768){var _0xe55b6b;super(),this['nsps']={},this['subs']=[],_0x1c0027&&'object'==typeof _0x1c0027&&(_0x4c6768=_0x1c0027,_0x1c0027=void 0x0),(_0x4c6768=_0x4c6768||{})['path']=_0x4c6768['path']||'/socket.io',this['opts']=_0x4c6768,sw(this,_0x4c6768),this['reconnection'](!0x1!==_0x4c6768['reconnection']),this['reconnectionAttempts'](_0x4c6768['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x4c6768['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x4c6768['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0xe55b6b=_0x4c6768['randomizationFactor'])&&void 0x0!==_0xe55b6b?_0xe55b6b:0.5),this['backoff']=new Gw({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x4c6768['timeout']?0x4e20:_0x4c6768['timeout']),this['_readyState']='closed',this['uri']=_0x1c0027;const _0x4696ba=_0x4c6768['parser']||Fw;this['encoder']=new _0x4696ba['Encoder'](),this['decoder']=new _0x4696ba['Decoder'](),this['_autoConnect']=!0x1!==_0x4c6768['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x1fa319){return arguments['length']?(this['_reconnection']=!!_0x1fa319,this):this['_reconnection'];}['reconnectionAttempts'](_0xddc196){return void 0x0===_0xddc196?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0xddc196,this);}['reconnectionDelay'](_0x1d05d3){var _0xe4008e;return void 0x0===_0x1d05d3?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x1d05d3,null===(_0xe4008e=this['backoff'])||void 0x0===_0xe4008e||_0xe4008e['setMin'](_0x1d05d3),this);}['randomizationFactor'](_0x2e9566){var _0x7efd71;return void 0x0===_0x2e9566?this['_randomizationFactor']:(this['_randomizationFactor']=_0x2e9566,null===(_0x7efd71=this['backoff'])||void 0x0===_0x7efd71||_0x7efd71['setJitter'](_0x2e9566),this);}['reconnectionDelayMax'](_0x5261a8){var _0x1f40bf;return void 0x0===_0x5261a8?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x5261a8,null===(_0x1f40bf=this['backoff'])||void 0x0===_0x1f40bf||_0x1f40bf['setMax'](_0x5261a8),this);}['timeout'](_0x37994c){return arguments['length']?(this['_timeout']=_0x37994c,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x27ef52){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Aw(this['uri'],this['opts']);const _0x426f81=this['engine'],_0x2d22c1=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x51d6a7=jw(_0x426f81,'open',function(){_0x2d22c1['onopen'](),_0x27ef52&&_0x27ef52();}),_0x2cbf66=_0x477420=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x477420),_0x27ef52?_0x27ef52(_0x477420):this['maybeReconnectOnOpen']();},_0x3afd74=jw(_0x426f81,'error',_0x2cbf66);if(!0x1!==this['_timeout']){const _0xc0e48=this['_timeout'],_0x13e6ab=this['setTimeoutFn'](()=>{_0x51d6a7(),_0x2cbf66(new Error('timeout')),_0x426f81['close']();},_0xc0e48);this['opts']['autoUnref']&&_0x13e6ab['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x13e6ab);});}return this['subs']['push'](_0x51d6a7),this['subs']['push'](_0x3afd74),this;}['connect'](_0x1cd0e5){return this['open'](_0x1cd0e5);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x447dff=this['engine'];this['subs']['push'](jw(_0x447dff,'ping',this['onping']['bind'](this)),jw(_0x447dff,'data',this['ondata']['bind'](this)),jw(_0x447dff,'error',this['onerror']['bind'](this)),jw(_0x447dff,'close',this['onclose']['bind'](this)),jw(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x4998c1){try{this['decoder']['add'](_0x4998c1);}catch(_0x2fe0c2){this['onclose']('parse\x20error',_0x2fe0c2);}}['ondecoded'](_0x45fae7){ww(()=>{this['emitReserved']('packet',_0x45fae7);},this['setTimeoutFn']);}['onerror'](_0x462931){this['emitReserved']('error',_0x462931);}['socket'](_0x6ccaa0,_0x5bb3cc){let _0x2dd1f5=this['nsps'][_0x6ccaa0];return _0x2dd1f5?this['_autoConnect']&&!_0x2dd1f5['active']&&_0x2dd1f5['connect']():(_0x2dd1f5=new Socket(this,_0x6ccaa0,_0x5bb3cc),this['nsps'][_0x6ccaa0]=_0x2dd1f5),_0x2dd1f5;}['_destroy'](_0x15f68d){const _0x3f235d=Object['keys'](this['nsps']);for(const _0x518ad6 of _0x3f235d){if(this['nsps'][_0x518ad6]['active'])return;}this['_close']();}['_packet'](_0x356104){const _0xa37125=this['encoder']['encode'](_0x356104);for(let _0x16f75d=0x0;_0x16f75d<_0xa37125['length'];_0x16f75d++)this['engine']['write'](_0xa37125[_0x16f75d],_0x356104['options']);}['cleanup'](){this['subs']['forEach'](_0xdf06e2=>_0xdf06e2()),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'](_0x4db96b,_0x3ed833){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x4db96b,_0x3ed833),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x9c0002=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x4c72cb=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x31493c=this['setTimeoutFn'](()=>{_0x9c0002['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x9c0002['backoff']['attempts']),_0x9c0002['skipReconnect']||_0x9c0002['open'](_0x471640=>{_0x471640?(_0x9c0002['_reconnecting']=!0x1,_0x9c0002['reconnect'](),this['emitReserved']('reconnect_error',_0x471640)):_0x9c0002['onreconnect']();}));},_0x4c72cb);this['opts']['autoUnref']&&_0x31493c['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x31493c);});}}['onreconnect'](){const _0x175b81=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x175b81);}}const Zw={};function Xw(_0xe7f7d8,_0x2e5b8f){'object'==typeof _0xe7f7d8&&(_0x2e5b8f=_0xe7f7d8,_0xe7f7d8=void 0x0);const _0x2441d2=function(_0x5a2002,_0x278ffa='',_0x56acb6){let _0x26e32c=_0x5a2002;_0x56acb6=_0x56acb6||'undefined'!=typeof location&&location,null==_0x5a2002&&(_0x5a2002=_0x56acb6['protocol']+'//'+_0x56acb6['host']),'string'==typeof _0x5a2002&&('/'===_0x5a2002['charAt'](0x0)&&(_0x5a2002='/'===_0x5a2002['charAt'](0x1)?_0x56acb6['protocol']+_0x5a2002:_0x56acb6['host']+_0x5a2002),/^(https?|wss?):\/\//['test'](_0x5a2002)||(_0x5a2002=void 0x0!==_0x56acb6?_0x56acb6['protocol']+'//'+_0x5a2002:'https://'+_0x5a2002),_0x26e32c=Ew(_0x5a2002)),_0x26e32c['port']||(/^(http|ws)$/['test'](_0x26e32c['protocol'])?_0x26e32c['port']='80':/^(http|ws)s$/['test'](_0x26e32c['protocol'])&&(_0x26e32c['port']='443')),_0x26e32c['path']=_0x26e32c['path']||'/';const _0x1e1c0a=-0x1!==_0x26e32c['host']['indexOf'](':')?'['+_0x26e32c['host']+']':_0x26e32c['host'];return _0x26e32c['id']=_0x26e32c['protocol']+'://'+_0x1e1c0a+':'+_0x26e32c['port']+_0x278ffa,_0x26e32c['href']=_0x26e32c['protocol']+'://'+_0x1e1c0a+(_0x56acb6&&_0x56acb6['port']===_0x26e32c['port']?'':':'+_0x26e32c['port']),_0x26e32c;}(_0xe7f7d8,(_0x2e5b8f=_0x2e5b8f||{})['path']||'/socket.io'),_0x405ae9=_0x2441d2['source'],_0x8b9c6f=_0x2441d2['id'],_0x48e04f=_0x2441d2['path'],_0x4fadbb=Zw[_0x8b9c6f]&&_0x48e04f in Zw[_0x8b9c6f]['nsps'];let _0x333279;return _0x2e5b8f['forceNew']||_0x2e5b8f['force\x20new\x20connection']||!0x1===_0x2e5b8f['multiplex']||_0x4fadbb?_0x333279=new Manager(_0x405ae9,_0x2e5b8f):(Zw[_0x8b9c6f]||(Zw[_0x8b9c6f]=new Manager(_0x405ae9,_0x2e5b8f)),_0x333279=Zw[_0x8b9c6f]),_0x2441d2['query']&&!_0x2e5b8f['query']&&(_0x2e5b8f['query']=_0x2441d2['queryKey']),_0x333279['socket'](_0x2441d2['path'],_0x2e5b8f);}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 _0x1475d8=(Ww||(Ww=0x1,qw=function(_0x1b12cf,_0x278e4e){if(_0x278e4e=_0x278e4e['split'](':')[0x0],!(_0x1b12cf=+_0x1b12cf))return!0x1;switch(_0x278e4e){case'http':case'ws':return 0x50!==_0x1b12cf;case'https':case'wss':return 0x1bb!==_0x1b12cf;case'ftp':return 0x15!==_0x1b12cf;case'gopher':return 0x46!==_0x1b12cf;case'file':return!0x1;}return 0x0!==_0x1b12cf;}),qw),_0x1ee4fd=(function(){if(zw)return Jw;zw=0x1;var _0x138eee=Object['prototype']['hasOwnProperty'];function _0xe55225(_0x1de822){try{return decodeURIComponent(_0x1de822['replace'](/\+/g,'\x20'));}catch(_0x5b228a){return null;}}function _0x5dc948(_0x22d4c4){try{return encodeURIComponent(_0x22d4c4);}catch(_0x5b1f6e){return null;}}return Jw['stringify']=function(_0x14542f,_0x17c90d){_0x17c90d=_0x17c90d||'';var _0x125ad5,_0x5a9c33,_0x550cb5=[];for(_0x5a9c33 in('string'!=typeof _0x17c90d&&(_0x17c90d='?'),_0x14542f))if(_0x138eee['call'](_0x14542f,_0x5a9c33)){if((_0x125ad5=_0x14542f[_0x5a9c33])||null!=_0x125ad5&&!isNaN(_0x125ad5)||(_0x125ad5=''),_0x5a9c33=_0x5dc948(_0x5a9c33),_0x125ad5=_0x5dc948(_0x125ad5),null===_0x5a9c33||null===_0x125ad5)continue;_0x550cb5['push'](_0x5a9c33+'='+_0x125ad5);}return _0x550cb5['length']?_0x17c90d+_0x550cb5['join']('&'):'';},Jw['parse']=function(_0x26f379){for(var _0x41b565,_0x18812a=/([^=?#&]+)=?([^&]*)/g,_0x537aec={};_0x41b565=_0x18812a['exec'](_0x26f379);){var _0x186370=_0xe55225(_0x41b565[0x1]),_0x445e19=_0xe55225(_0x41b565[0x2]);null===_0x186370||null===_0x445e19||_0x186370 in _0x537aec||(_0x537aec[_0x186370]=_0x445e19);}return _0x537aec;},Jw;}()),_0x13389b=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x4d9181=/[\n\r\t]/g,_0x2fdde1=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x2829d9=/:\d+$/,_0x468260=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x503597=/^[a-zA-Z]:/;function _0x4f02af(_0x5d616b){return(_0x5d616b||'')['toString']()['replace'](_0x13389b,'');}var _0x160661=[['#','hash'],['?','query'],function(_0x5b7e0b,_0x15f12d){return _0xd3b1bd(_0x15f12d['protocol'])?_0x5b7e0b['replace'](/\\/g,'/'):_0x5b7e0b;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x1b27e8={'hash':0x1,'query':0x1};function _0x3cccd4(_0x20f202){var _0x5a4caa,_0x4caed6=('undefined'!=typeof window?window:void 0x0!==jp?jp:'undefined'!=typeof self?self:{})['location']||{},_0x16665a={},_0x3dd1c2=typeof(_0x20f202=_0x20f202||_0x4caed6);if('blob:'===_0x20f202['protocol'])_0x16665a=new _0x5bb7bb(unescape(_0x20f202['pathname']),{});else{if('string'===_0x3dd1c2){for(_0x5a4caa in(_0x16665a=new _0x5bb7bb(_0x20f202,{}),_0x1b27e8))delete _0x16665a[_0x5a4caa];}else{if('object'===_0x3dd1c2){for(_0x5a4caa in _0x20f202)_0x5a4caa in _0x1b27e8||(_0x16665a[_0x5a4caa]=_0x20f202[_0x5a4caa]);void 0x0===_0x16665a['slashes']&&(_0x16665a['slashes']=_0x2fdde1['test'](_0x20f202['href']));}}}return _0x16665a;}function _0xd3b1bd(_0x24320e){return'file:'===_0x24320e||'ftp:'===_0x24320e||'http:'===_0x24320e||'https:'===_0x24320e||'ws:'===_0x24320e||'wss:'===_0x24320e;}function _0x176305(_0x5e1222,_0x1f8ecd){_0x5e1222=(_0x5e1222=_0x4f02af(_0x5e1222))['replace'](_0x4d9181,''),_0x1f8ecd=_0x1f8ecd||{};var _0x1cc2ba,_0x759161=_0x468260['exec'](_0x5e1222),_0x17b379=_0x759161[0x1]?_0x759161[0x1]['toLowerCase']():'',_0x1f318f=!!_0x759161[0x2],_0x231efe=!!_0x759161[0x3],_0x33d64f=0x0;return _0x1f318f?_0x231efe?(_0x1cc2ba=_0x759161[0x2]+_0x759161[0x3]+_0x759161[0x4],_0x33d64f=_0x759161[0x2]['length']+_0x759161[0x3]['length']):(_0x1cc2ba=_0x759161[0x2]+_0x759161[0x4],_0x33d64f=_0x759161[0x2]['length']):_0x231efe?(_0x1cc2ba=_0x759161[0x3]+_0x759161[0x4],_0x33d64f=_0x759161[0x3]['length']):_0x1cc2ba=_0x759161[0x4],'file:'===_0x17b379?_0x33d64f>=0x2&&(_0x1cc2ba=_0x1cc2ba['slice'](0x2)):_0xd3b1bd(_0x17b379)?_0x1cc2ba=_0x759161[0x4]:_0x17b379?_0x1f318f&&(_0x1cc2ba=_0x1cc2ba['slice'](0x2)):_0x33d64f>=0x2&&_0xd3b1bd(_0x1f8ecd['protocol'])&&(_0x1cc2ba=_0x759161[0x4]),{'protocol':_0x17b379,'slashes':_0x1f318f||_0xd3b1bd(_0x17b379),'slashesCount':_0x33d64f,'rest':_0x1cc2ba};}function _0x5bb7bb(_0x1c6d16,_0x3b1705,_0x2a63f5){if(_0x1c6d16=(_0x1c6d16=_0x4f02af(_0x1c6d16))['replace'](_0x4d9181,''),!(this instanceof _0x5bb7bb))return new _0x5bb7bb(_0x1c6d16,_0x3b1705,_0x2a63f5);var _0x2b82c1,_0x407c4a,_0x27bdea,_0xb64ff8,_0x26753d,_0x310a83,_0x180fa6=_0x160661['slice'](),_0x5bdf43=typeof _0x3b1705,_0x3ff0cd=this,_0x5d92ca=0x0;for('object'!==_0x5bdf43&&'string'!==_0x5bdf43&&(_0x2a63f5=_0x3b1705,_0x3b1705=null),_0x2a63f5&&'function'!=typeof _0x2a63f5&&(_0x2a63f5=_0x1ee4fd['parse']),_0x2b82c1=!(_0x407c4a=_0x176305(_0x1c6d16||'',_0x3b1705=_0x3cccd4(_0x3b1705)))['protocol']&&!_0x407c4a['slashes'],_0x3ff0cd['slashes']=_0x407c4a['slashes']||_0x2b82c1&&_0x3b1705['slashes'],_0x3ff0cd['protocol']=_0x407c4a['protocol']||_0x3b1705['protocol']||'',_0x1c6d16=_0x407c4a['rest'],('file:'===_0x407c4a['protocol']&&(0x2!==_0x407c4a['slashesCount']||_0x503597['test'](_0x1c6d16))||!_0x407c4a['slashes']&&(_0x407c4a['protocol']||_0x407c4a['slashesCount']<0x2||!_0xd3b1bd(_0x3ff0cd['protocol'])))&&(_0x180fa6[0x3]=[/(.*)/,'pathname']);_0x5d92ca<_0x180fa6['length'];_0x5d92ca++)'function'!=typeof(_0xb64ff8=_0x180fa6[_0x5d92ca])?(_0x27bdea=_0xb64ff8[0x0],_0x310a83=_0xb64ff8[0x1],_0x27bdea!=_0x27bdea?_0x3ff0cd[_0x310a83]=_0x1c6d16:'string'==typeof _0x27bdea?~(_0x26753d='@'===_0x27bdea?_0x1c6d16['lastIndexOf'](_0x27bdea):_0x1c6d16['indexOf'](_0x27bdea))&&('number'==typeof _0xb64ff8[0x2]?(_0x3ff0cd[_0x310a83]=_0x1c6d16['slice'](0x0,_0x26753d),_0x1c6d16=_0x1c6d16['slice'](_0x26753d+_0xb64ff8[0x2])):(_0x3ff0cd[_0x310a83]=_0x1c6d16['slice'](_0x26753d),_0x1c6d16=_0x1c6d16['slice'](0x0,_0x26753d))):(_0x26753d=_0x27bdea['exec'](_0x1c6d16))&&(_0x3ff0cd[_0x310a83]=_0x26753d[0x1],_0x1c6d16=_0x1c6d16['slice'](0x0,_0x26753d['index'])),_0x3ff0cd[_0x310a83]=_0x3ff0cd[_0x310a83]||_0x2b82c1&&_0xb64ff8[0x3]&&_0x3b1705[_0x310a83]||'',_0xb64ff8[0x4]&&(_0x3ff0cd[_0x310a83]=_0x3ff0cd[_0x310a83]['toLowerCase']())):_0x1c6d16=_0xb64ff8(_0x1c6d16,_0x3ff0cd);_0x2a63f5&&(_0x3ff0cd['query']=_0x2a63f5(_0x3ff0cd['query'])),_0x2b82c1&&_0x3b1705['slashes']&&'/'!==_0x3ff0cd['pathname']['charAt'](0x0)&&(''!==_0x3ff0cd['pathname']||''!==_0x3b1705['pathname'])&&(_0x3ff0cd['pathname']=function(_0x444d8d,_0x400faf){if(''===_0x444d8d)return _0x400faf;for(var _0x24e71b=(_0x400faf||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x444d8d['split']('/')),_0x350f59=_0x24e71b['length'],_0x5886a6=_0x24e71b[_0x350f59-0x1],_0x34bb81=!0x1,_0x5990b6=0x0;_0x350f59--;)'.'===_0x24e71b[_0x350f59]?_0x24e71b['splice'](_0x350f59,0x1):'..'===_0x24e71b[_0x350f59]?(_0x24e71b['splice'](_0x350f59,0x1),_0x5990b6++):_0x5990b6&&(0x0===_0x350f59&&(_0x34bb81=!0x0),_0x24e71b['splice'](_0x350f59,0x1),_0x5990b6--);return _0x34bb81&&_0x24e71b['unshift'](''),'.'!==_0x5886a6&&'..'!==_0x5886a6||_0x24e71b['push'](''),_0x24e71b['join']('/');}(_0x3ff0cd['pathname'],_0x3b1705['pathname'])),'/'!==_0x3ff0cd['pathname']['charAt'](0x0)&&_0xd3b1bd(_0x3ff0cd['protocol'])&&(_0x3ff0cd['pathname']='/'+_0x3ff0cd['pathname']),_0x1475d8(_0x3ff0cd['port'],_0x3ff0cd['protocol'])||(_0x3ff0cd['host']=_0x3ff0cd['hostname'],_0x3ff0cd['port']=''),_0x3ff0cd['username']=_0x3ff0cd['password']='',_0x3ff0cd['auth']&&(~(_0x26753d=_0x3ff0cd['auth']['indexOf'](':'))?(_0x3ff0cd['username']=_0x3ff0cd['auth']['slice'](0x0,_0x26753d),_0x3ff0cd['username']=encodeURIComponent(decodeURIComponent(_0x3ff0cd['username'])),_0x3ff0cd['password']=_0x3ff0cd['auth']['slice'](_0x26753d+0x1),_0x3ff0cd['password']=encodeURIComponent(decodeURIComponent(_0x3ff0cd['password']))):_0x3ff0cd['username']=encodeURIComponent(decodeURIComponent(_0x3ff0cd['auth'])),_0x3ff0cd['auth']=_0x3ff0cd['password']?_0x3ff0cd['username']+':'+_0x3ff0cd['password']:_0x3ff0cd['username']),_0x3ff0cd['origin']='file:'!==_0x3ff0cd['protocol']&&_0xd3b1bd(_0x3ff0cd['protocol'])&&_0x3ff0cd['host']?_0x3ff0cd['protocol']+'//'+_0x3ff0cd['host']:'null',_0x3ff0cd['href']=_0x3ff0cd['toString']();}return _0x5bb7bb['prototype']={'set':function(_0x16578c,_0x48a643,_0x431d6d){var _0x2f44f4=this;switch(_0x16578c){case'query':'string'==typeof _0x48a643&&_0x48a643['length']&&(_0x48a643=(_0x431d6d||_0x1ee4fd['parse'])(_0x48a643)),_0x2f44f4[_0x16578c]=_0x48a643;break;case'port':_0x2f44f4[_0x16578c]=_0x48a643,_0x1475d8(_0x48a643,_0x2f44f4['protocol'])?_0x48a643&&(_0x2f44f4['host']=_0x2f44f4['hostname']+':'+_0x48a643):(_0x2f44f4['host']=_0x2f44f4['hostname'],_0x2f44f4[_0x16578c]='');break;case'hostname':_0x2f44f4[_0x16578c]=_0x48a643,_0x2f44f4['port']&&(_0x48a643+=':'+_0x2f44f4['port']),_0x2f44f4['host']=_0x48a643;break;case'host':_0x2f44f4[_0x16578c]=_0x48a643,_0x2829d9['test'](_0x48a643)?(_0x48a643=_0x48a643['split'](':'),_0x2f44f4['port']=_0x48a643['pop'](),_0x2f44f4['hostname']=_0x48a643['join'](':')):(_0x2f44f4['hostname']=_0x48a643,_0x2f44f4['port']='');break;case'protocol':_0x2f44f4['protocol']=_0x48a643['toLowerCase'](),_0x2f44f4['slashes']=!_0x431d6d;break;case'pathname':case'hash':if(_0x48a643){var _0x315e10='pathname'===_0x16578c?'/':'#';_0x2f44f4[_0x16578c]=_0x48a643['charAt'](0x0)!==_0x315e10?_0x315e10+_0x48a643:_0x48a643;}else _0x2f44f4[_0x16578c]=_0x48a643;break;case'username':case'password':_0x2f44f4[_0x16578c]=encodeURIComponent(_0x48a643);break;case'auth':var _0x4d610c=_0x48a643['indexOf'](':');~_0x4d610c?(_0x2f44f4['username']=_0x48a643['slice'](0x0,_0x4d610c),_0x2f44f4['username']=encodeURIComponent(decodeURIComponent(_0x2f44f4['username'])),_0x2f44f4['password']=_0x48a643['slice'](_0x4d610c+0x1),_0x2f44f4['password']=encodeURIComponent(decodeURIComponent(_0x2f44f4['password']))):_0x2f44f4['username']=encodeURIComponent(decodeURIComponent(_0x48a643));}for(var _0x43af38=0x0;_0x43af38<_0x160661['length'];_0x43af38++){var _0x1cbe78=_0x160661[_0x43af38];_0x1cbe78[0x4]&&(_0x2f44f4[_0x1cbe78[0x1]]=_0x2f44f4[_0x1cbe78[0x1]]['toLowerCase']());}return _0x2f44f4['auth']=_0x2f44f4['password']?_0x2f44f4['username']+':'+_0x2f44f4['password']:_0x2f44f4['username'],_0x2f44f4['origin']='file:'!==_0x2f44f4['protocol']&&_0xd3b1bd(_0x2f44f4['protocol'])&&_0x2f44f4['host']?_0x2f44f4['protocol']+'//'+_0x2f44f4['host']:'null',_0x2f44f4['href']=_0x2f44f4['toString'](),_0x2f44f4;},'toString':function(_0xa39552){_0xa39552&&'function'==typeof _0xa39552||(_0xa39552=_0x1ee4fd['stringify']);var _0x50a21c,_0x3e230c=this,_0x28b92f=_0x3e230c['host'],_0x7738c3=_0x3e230c['protocol'];_0x7738c3&&':'!==_0x7738c3['charAt'](_0x7738c3['length']-0x1)&&(_0x7738c3+=':');var _0x1a7ebc=_0x7738c3+(_0x3e230c['protocol']&&_0x3e230c['slashes']||_0xd3b1bd(_0x3e230c['protocol'])?'//':'');return _0x3e230c['username']?(_0x1a7ebc+=_0x3e230c['username'],_0x3e230c['password']&&(_0x1a7ebc+=':'+_0x3e230c['password']),_0x1a7ebc+='@'):_0x3e230c['password']?(_0x1a7ebc+=':'+_0x3e230c['password'],_0x1a7ebc+='@'):'file:'!==_0x3e230c['protocol']&&_0xd3b1bd(_0x3e230c['protocol'])&&!_0x28b92f&&'/'!==_0x3e230c['pathname']&&(_0x1a7ebc+='@'),(':'===_0x28b92f[_0x28b92f['length']-0x1]||_0x2829d9['test'](_0x3e230c['hostname'])&&!_0x3e230c['port'])&&(_0x28b92f+=':'),_0x1a7ebc+=_0x28b92f+_0x3e230c['pathname'],(_0x50a21c='object'==typeof _0x3e230c['query']?_0xa39552(_0x3e230c['query']):_0x3e230c['query'])&&(_0x1a7ebc+='?'!==_0x50a21c['charAt'](0x0)?'?'+_0x50a21c:_0x50a21c),_0x3e230c['hash']&&(_0x1a7ebc+=_0x3e230c['hash']),_0x1a7ebc;}},_0x5bb7bb['extractProtocol']=_0x176305,_0x5bb7bb['location']=_0x3cccd4,_0x5bb7bb['trimLeft']=_0x4f02af,_0x5bb7bb['qs']=_0x1ee4fd,Yw=_0x5bb7bb;}());const eb=[];for(let e=0x0;e<0x100;++e)eb['push']((e+0x100)['toString'](0x10)['slice'](0x1));const ib=new Uint8Array(0x10);function sb(_0x5517a1,_0x2ee710,_0x2e798a){return crypto['randomUUID']?crypto['randomUUID']():function(_0x3dea88){_0x3dea88=_0x3dea88||{};const _0x3bd02c=_0x3dea88['random']??_0x3dea88['rng']?.()??crypto['getRandomValues'](ib);if(_0x3bd02c['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x3bd02c[0x6]=0xf&_0x3bd02c[0x6]|0x40,_0x3bd02c[0x8]=0x3f&_0x3bd02c[0x8]|0x80,function(_0x538b46,_0x253e96=0x0){return(eb[_0x538b46[_0x253e96+0x0]]+eb[_0x538b46[_0x253e96+0x1]]+eb[_0x538b46[_0x253e96+0x2]]+eb[_0x538b46[_0x253e96+0x3]]+'-'+eb[_0x538b46[_0x253e96+0x4]]+eb[_0x538b46[_0x253e96+0x5]]+'-'+eb[_0x538b46[_0x253e96+0x6]]+eb[_0x538b46[_0x253e96+0x7]]+'-'+eb[_0x538b46[_0x253e96+0x8]]+eb[_0x538b46[_0x253e96+0x9]]+'-'+eb[_0x538b46[_0x253e96+0xa]]+eb[_0x538b46[_0x253e96+0xb]]+eb[_0x538b46[_0x253e96+0xc]]+eb[_0x538b46[_0x253e96+0xd]]+eb[_0x538b46[_0x253e96+0xe]]+eb[_0x538b46[_0x253e96+0xf]])['toLowerCase']();}(_0x3bd02c);}(_0x5517a1);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x44f7c8){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x222d84){super();}static['fromJSON'](_0x314cba){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(_0xf1c0ca){super(),this['id']=_0xf1c0ca;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x137ec3){return new GetUserMessage(_0x137ec3['id']);}}class GetUserResponse extends Message{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x340590){super(),this['attributes']=_0x340590;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x16ec49=>({'key':_0x16ec49,'value':JSON['stringify'](this['attributes'][_0x16ec49])}))};}static['fromJSON'](_0x4fb17f){const _0x407e7c=_0x4fb17f['attributes']['reduce']((_0x3948ad,_0x27df32)=>(_0x3948ad[_0x27df32['key']]=_0x27df32['value']?JSON['parse'](_0x27df32['value']):null,_0x3948ad),{});return new GetUserResponse(_0x407e7c);}}const nb=/* #__PURE__ -- @preserve */
((()=>{var _0x338c0e=xO['Reader'],_0x34769a=xO['Writer'],_0x55d06d=xO['util'],_0x4a240c=xO['roots']['default']||(xO['roots']['default']={});return _0x4a240c['StringStringPacketDataMessage']=(function(){function _0x23ae80(_0x53ddfd){if(_0x53ddfd){for(var _0x2cc97e=Object['keys'](_0x53ddfd),_0x506896=0x0;_0x506896<_0x2cc97e['length'];++_0x506896)null!=_0x53ddfd[_0x2cc97e[_0x506896]]&&(this[_0x2cc97e[_0x506896]]=_0x53ddfd[_0x2cc97e[_0x506896]]);}}return _0x23ae80['prototype']['data']='',_0x23ae80['prototype']['data1']='',_0x23ae80['create']=function(_0x38e362){return new _0x23ae80(_0x38e362);},_0x23ae80['encode']=function(_0x5e0c18,_0x4fb759){return _0x4fb759||(_0x4fb759=_0x34769a['create']()),null!=_0x5e0c18['data']&&Object['hasOwnProperty']['call'](_0x5e0c18,'data')&&_0x4fb759['uint32'](0xa)['string'](_0x5e0c18['data']),null!=_0x5e0c18['data1']&&Object['hasOwnProperty']['call'](_0x5e0c18,'data1')&&_0x4fb759['uint32'](0x12)['string'](_0x5e0c18['data1']),_0x4fb759;},_0x23ae80['encodeDelimited']=function(_0x38d89b,_0x3cca42){return this['encode'](_0x38d89b,_0x3cca42)['ldelim']();},_0x23ae80['decode']=function(_0x5223ca,_0x28e3da,_0x48ae11){_0x5223ca instanceof _0x338c0e||(_0x5223ca=_0x338c0e['create'](_0x5223ca));for(var _0x513a76=void 0x0===_0x28e3da?_0x5223ca['len']:_0x5223ca['pos']+_0x28e3da,_0x16a930=new _0x4a240c['StringStringPacketDataMessage']();_0x5223ca['pos']<_0x513a76;){var _0x42aea7=_0x5223ca['uint32']();if(_0x42aea7===_0x48ae11)break;switch(_0x42aea7>>>0x3){case 0x1:_0x16a930['data']=_0x5223ca['string']();break;case 0x2:_0x16a930['data1']=_0x5223ca['string']();break;default:_0x5223ca['skipType'](0x7&_0x42aea7);}}return _0x16a930;},_0x23ae80['decodeDelimited']=function(_0xc361a0){return _0xc361a0 instanceof _0x338c0e||(_0xc361a0=new _0x338c0e(_0xc361a0)),this['decode'](_0xc361a0,_0xc361a0['uint32']());},_0x23ae80['verify']=function(_0x8f94bc){return'object'!=typeof _0x8f94bc||null===_0x8f94bc?'object\x20expected':null!=_0x8f94bc['data']&&_0x8f94bc['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x8f94bc['data'])?'data:\x20string\x20expected':null!=_0x8f94bc['data1']&&_0x8f94bc['hasOwnProperty']('data1')&&!_0x55d06d['isString'](_0x8f94bc['data1'])?'data1:\x20string\x20expected':null;},_0x23ae80['fromObject']=function(_0x472837){if(_0x472837 instanceof _0x4a240c['StringStringPacketDataMessage'])return _0x472837;var _0xc87789=new _0x4a240c['StringStringPacketDataMessage']();return null!=_0x472837['data']&&(_0xc87789['data']=String(_0x472837['data'])),null!=_0x472837['data1']&&(_0xc87789['data1']=String(_0x472837['data1'])),_0xc87789;},_0x23ae80['toObject']=function(_0x3820ac,_0x1282f9){_0x1282f9||(_0x1282f9={});var _0x37eaee={};return _0x1282f9['defaults']&&(_0x37eaee['data']='',_0x37eaee['data1']=''),null!=_0x3820ac['data']&&_0x3820ac['hasOwnProperty']('data')&&(_0x37eaee['data']=_0x3820ac['data']),null!=_0x3820ac['data1']&&_0x3820ac['hasOwnProperty']('data1')&&(_0x37eaee['data1']=_0x3820ac['data1']),_0x37eaee;},_0x23ae80['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x23ae80['getTypeUrl']=function(_0x19526b){return void 0x0===_0x19526b&&(_0x19526b='type.googleapis.com'),_0x19526b+'/StringStringPacketDataMessage';},_0x23ae80;}()),_0x4a240c['StringObjectPacketDataMessage']=(function(){function _0x30d97b(_0x4fcb19){if(_0x4fcb19){for(var _0x4407f9=Object['keys'](_0x4fcb19),_0x2b6506=0x0;_0x2b6506<_0x4407f9['length'];++_0x2b6506)null!=_0x4fcb19[_0x4407f9[_0x2b6506]]&&(this[_0x4407f9[_0x2b6506]]=_0x4fcb19[_0x4407f9[_0x2b6506]]);}}return _0x30d97b['prototype']['data']='',_0x30d97b['prototype']['data1']='',_0x30d97b['create']=function(_0x17f518){return new _0x30d97b(_0x17f518);},_0x30d97b['encode']=function(_0x28a74f,_0x543e4a){return _0x543e4a||(_0x543e4a=_0x34769a['create']()),null!=_0x28a74f['data']&&Object['hasOwnProperty']['call'](_0x28a74f,'data')&&_0x543e4a['uint32'](0xa)['string'](_0x28a74f['data']),null!=_0x28a74f['data1']&&Object['hasOwnProperty']['call'](_0x28a74f,'data1')&&_0x543e4a['uint32'](0x12)['string'](_0x28a74f['data1']),_0x543e4a;},_0x30d97b['encodeDelimited']=function(_0x314212,_0x1f81dc){return this['encode'](_0x314212,_0x1f81dc)['ldelim']();},_0x30d97b['decode']=function(_0x162514,_0x4fd1a5,_0x59b144){_0x162514 instanceof _0x338c0e||(_0x162514=_0x338c0e['create'](_0x162514));for(var _0x2c798e=void 0x0===_0x4fd1a5?_0x162514['len']:_0x162514['pos']+_0x4fd1a5,_0x33d315=new _0x4a240c['StringObjectPacketDataMessage']();_0x162514['pos']<_0x2c798e;){var _0x4062b2=_0x162514['uint32']();if(_0x4062b2===_0x59b144)break;switch(_0x4062b2>>>0x3){case 0x1:_0x33d315['data']=_0x162514['string']();break;case 0x2:_0x33d315['data1']=_0x162514['string']();break;default:_0x162514['skipType'](0x7&_0x4062b2);}}return _0x33d315;},_0x30d97b['decodeDelimited']=function(_0x1b08d4){return _0x1b08d4 instanceof _0x338c0e||(_0x1b08d4=new _0x338c0e(_0x1b08d4)),this['decode'](_0x1b08d4,_0x1b08d4['uint32']());},_0x30d97b['verify']=function(_0x3310b9){return'object'!=typeof _0x3310b9||null===_0x3310b9?'object\x20expected':null!=_0x3310b9['data']&&_0x3310b9['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x3310b9['data'])?'data:\x20string\x20expected':null!=_0x3310b9['data1']&&_0x3310b9['hasOwnProperty']('data1')&&!_0x55d06d['isString'](_0x3310b9['data1'])?'data1:\x20string\x20expected':null;},_0x30d97b['fromObject']=function(_0x15174a){if(_0x15174a instanceof _0x4a240c['StringObjectPacketDataMessage'])return _0x15174a;var _0x5d2b80=new _0x4a240c['StringObjectPacketDataMessage']();return null!=_0x15174a['data']&&(_0x5d2b80['data']=String(_0x15174a['data'])),null!=_0x15174a['data1']&&(_0x5d2b80['data1']=String(_0x15174a['data1'])),_0x5d2b80;},_0x30d97b['toObject']=function(_0x3815b7,_0x3f80c7){_0x3f80c7||(_0x3f80c7={});var _0x14e395={};return _0x3f80c7['defaults']&&(_0x14e395['data']='',_0x14e395['data1']=''),null!=_0x3815b7['data']&&_0x3815b7['hasOwnProperty']('data')&&(_0x14e395['data']=_0x3815b7['data']),null!=_0x3815b7['data1']&&_0x3815b7['hasOwnProperty']('data1')&&(_0x14e395['data1']=_0x3815b7['data1']),_0x14e395;},_0x30d97b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x30d97b['getTypeUrl']=function(_0xc6623b){return void 0x0===_0xc6623b&&(_0xc6623b='type.googleapis.com'),_0xc6623b+'/StringObjectPacketDataMessage';},_0x30d97b;}()),_0x4a240c['StringNumberPacketDataMessage']=(function(){function _0x33a579(_0x3d0df2){if(_0x3d0df2){for(var _0x67c4a4=Object['keys'](_0x3d0df2),_0x5acf6f=0x0;_0x5acf6f<_0x67c4a4['length'];++_0x5acf6f)null!=_0x3d0df2[_0x67c4a4[_0x5acf6f]]&&(this[_0x67c4a4[_0x5acf6f]]=_0x3d0df2[_0x67c4a4[_0x5acf6f]]);}}return _0x33a579['prototype']['data']='',_0x33a579['prototype']['data1']=0x0,_0x33a579['create']=function(_0x4794aa){return new _0x33a579(_0x4794aa);},_0x33a579['encode']=function(_0x4685cc,_0x3204e4){return _0x3204e4||(_0x3204e4=_0x34769a['create']()),null!=_0x4685cc['data']&&Object['hasOwnProperty']['call'](_0x4685cc,'data')&&_0x3204e4['uint32'](0xa)['string'](_0x4685cc['data']),null!=_0x4685cc['data1']&&Object['hasOwnProperty']['call'](_0x4685cc,'data1')&&_0x3204e4['uint32'](0x10)['uint32'](_0x4685cc['data1']),_0x3204e4;},_0x33a579['encodeDelimited']=function(_0x42c74b,_0x1ef3f7){return this['encode'](_0x42c74b,_0x1ef3f7)['ldelim']();},_0x33a579['decode']=function(_0x1347af,_0x474a55,_0x435de1){_0x1347af instanceof _0x338c0e||(_0x1347af=_0x338c0e['create'](_0x1347af));for(var _0x5a4942=void 0x0===_0x474a55?_0x1347af['len']:_0x1347af['pos']+_0x474a55,_0x3ccf2f=new _0x4a240c['StringNumberPacketDataMessage']();_0x1347af['pos']<_0x5a4942;){var _0x44a5c8=_0x1347af['uint32']();if(_0x44a5c8===_0x435de1)break;switch(_0x44a5c8>>>0x3){case 0x1:_0x3ccf2f['data']=_0x1347af['string']();break;case 0x2:_0x3ccf2f['data1']=_0x1347af['uint32']();break;default:_0x1347af['skipType'](0x7&_0x44a5c8);}}return _0x3ccf2f;},_0x33a579['decodeDelimited']=function(_0x3b323e){return _0x3b323e instanceof _0x338c0e||(_0x3b323e=new _0x338c0e(_0x3b323e)),this['decode'](_0x3b323e,_0x3b323e['uint32']());},_0x33a579['verify']=function(_0x2ae79e){return'object'!=typeof _0x2ae79e||null===_0x2ae79e?'object\x20expected':null!=_0x2ae79e['data']&&_0x2ae79e['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x2ae79e['data'])?'data:\x20string\x20expected':null!=_0x2ae79e['data1']&&_0x2ae79e['hasOwnProperty']('data1')&&!_0x55d06d['isInteger'](_0x2ae79e['data1'])?'data1:\x20integer\x20expected':null;},_0x33a579['fromObject']=function(_0x537a0c){if(_0x537a0c instanceof _0x4a240c['StringNumberPacketDataMessage'])return _0x537a0c;var _0x4cf3e2=new _0x4a240c['StringNumberPacketDataMessage']();return null!=_0x537a0c['data']&&(_0x4cf3e2['data']=String(_0x537a0c['data'])),null!=_0x537a0c['data1']&&(_0x4cf3e2['data1']=_0x537a0c['data1']>>>0x0),_0x4cf3e2;},_0x33a579['toObject']=function(_0x11b680,_0x30aeaa){_0x30aeaa||(_0x30aeaa={});var _0x120f1a={};return _0x30aeaa['defaults']&&(_0x120f1a['data']='',_0x120f1a['data1']=0x0),null!=_0x11b680['data']&&_0x11b680['hasOwnProperty']('data')&&(_0x120f1a['data']=_0x11b680['data']),null!=_0x11b680['data1']&&_0x11b680['hasOwnProperty']('data1')&&(_0x120f1a['data1']=_0x11b680['data1']),_0x120f1a;},_0x33a579['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x33a579['getTypeUrl']=function(_0x47d00f){return void 0x0===_0x47d00f&&(_0x47d00f='type.googleapis.com'),_0x47d00f+'/StringNumberPacketDataMessage';},_0x33a579;}()),_0x4a240c['StringBytesPacketDataMessage']=(function(){function _0x4a114c(_0x258ede){if(_0x258ede){for(var _0x4e8949=Object['keys'](_0x258ede),_0x4d9a4d=0x0;_0x4d9a4d<_0x4e8949['length'];++_0x4d9a4d)null!=_0x258ede[_0x4e8949[_0x4d9a4d]]&&(this[_0x4e8949[_0x4d9a4d]]=_0x258ede[_0x4e8949[_0x4d9a4d]]);}}return _0x4a114c['prototype']['data']='',_0x4a114c['prototype']['data1']=_0x55d06d['newBuffer']([]),_0x4a114c['create']=function(_0x2c6e36){return new _0x4a114c(_0x2c6e36);},_0x4a114c['encode']=function(_0x7c517,_0x5dd607){return _0x5dd607||(_0x5dd607=_0x34769a['create']()),null!=_0x7c517['data']&&Object['hasOwnProperty']['call'](_0x7c517,'data')&&_0x5dd607['uint32'](0xa)['string'](_0x7c517['data']),null!=_0x7c517['data1']&&Object['hasOwnProperty']['call'](_0x7c517,'data1')&&_0x5dd607['uint32'](0x12)['bytes'](_0x7c517['data1']),_0x5dd607;},_0x4a114c['encodeDelimited']=function(_0x1bd619,_0x1274e2){return this['encode'](_0x1bd619,_0x1274e2)['ldelim']();},_0x4a114c['decode']=function(_0x27ac64,_0x462fb5,_0xdcb83b){_0x27ac64 instanceof _0x338c0e||(_0x27ac64=_0x338c0e['create'](_0x27ac64));for(var _0x8bf29d=void 0x0===_0x462fb5?_0x27ac64['len']:_0x27ac64['pos']+_0x462fb5,_0x423f68=new _0x4a240c['StringBytesPacketDataMessage']();_0x27ac64['pos']<_0x8bf29d;){var _0x205c4c=_0x27ac64['uint32']();if(_0x205c4c===_0xdcb83b)break;switch(_0x205c4c>>>0x3){case 0x1:_0x423f68['data']=_0x27ac64['string']();break;case 0x2:_0x423f68['data1']=_0x27ac64['bytes']();break;default:_0x27ac64['skipType'](0x7&_0x205c4c);}}return _0x423f68;},_0x4a114c['decodeDelimited']=function(_0x37aec7){return _0x37aec7 instanceof _0x338c0e||(_0x37aec7=new _0x338c0e(_0x37aec7)),this['decode'](_0x37aec7,_0x37aec7['uint32']());},_0x4a114c['verify']=function(_0x37d2b6){return'object'!=typeof _0x37d2b6||null===_0x37d2b6?'object\x20expected':null!=_0x37d2b6['data']&&_0x37d2b6['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x37d2b6['data'])?'data:\x20string\x20expected':null!=_0x37d2b6['data1']&&_0x37d2b6['hasOwnProperty']('data1')&&!(_0x37d2b6['data1']&&'number'==typeof _0x37d2b6['data1']['length']||_0x55d06d['isString'](_0x37d2b6['data1']))?'data1:\x20buffer\x20expected':null;},_0x4a114c['fromObject']=function(_0x5616d1){if(_0x5616d1 instanceof _0x4a240c['StringBytesPacketDataMessage'])return _0x5616d1;var _0x5e58ea=new _0x4a240c['StringBytesPacketDataMessage']();return null!=_0x5616d1['data']&&(_0x5e58ea['data']=String(_0x5616d1['data'])),null!=_0x5616d1['data1']&&('string'==typeof _0x5616d1['data1']?_0x55d06d['base64']['decode'](_0x5616d1['data1'],_0x5e58ea['data1']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x5616d1['data1'])),0x0):_0x5616d1['data1']['length']>=0x0&&(_0x5e58ea['data1']=_0x5616d1['data1'])),_0x5e58ea;},_0x4a114c['toObject']=function(_0x35c980,_0x17827b){_0x17827b||(_0x17827b={});var _0x2bb798={};return _0x17827b['defaults']&&(_0x2bb798['data']='',_0x17827b['bytes']===String?_0x2bb798['data1']='':(_0x2bb798['data1']=[],_0x17827b['bytes']!==Array&&(_0x2bb798['data1']=_0x55d06d['newBuffer'](_0x2bb798['data1'])))),null!=_0x35c980['data']&&_0x35c980['hasOwnProperty']('data')&&(_0x2bb798['data']=_0x35c980['data']),null!=_0x35c980['data1']&&_0x35c980['hasOwnProperty']('data1')&&(_0x2bb798['data1']=_0x17827b['bytes']===String?_0x55d06d['base64']['encode'](_0x35c980['data1'],0x0,_0x35c980['data1']['length']):_0x17827b['bytes']===Array?Array['prototype']['slice']['call'](_0x35c980['data1']):_0x35c980['data1']),_0x2bb798;},_0x4a114c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4a114c['getTypeUrl']=function(_0x3cd1d1){return void 0x0===_0x3cd1d1&&(_0x3cd1d1='type.googleapis.com'),_0x3cd1d1+'/StringBytesPacketDataMessage';},_0x4a114c;}()),_0x4a240c['PacketOptionsMessage']=(function(){function _0x38c272(_0x428f6d){if(this['rooms']=[],this['except']=[],_0x428f6d){for(var _0x3e8658=Object['keys'](_0x428f6d),_0x4105a5=0x0;_0x4105a5<_0x3e8658['length'];++_0x4105a5)null!=_0x428f6d[_0x3e8658[_0x4105a5]]&&(this[_0x3e8658[_0x4105a5]]=_0x428f6d[_0x3e8658[_0x4105a5]]);}}return _0x38c272['prototype']['flags']='',_0x38c272['prototype']['rooms']=_0x55d06d['emptyArray'],_0x38c272['prototype']['except']=_0x55d06d['emptyArray'],_0x38c272['create']=function(_0x5889d2){return new _0x38c272(_0x5889d2);},_0x38c272['encode']=function(_0x385856,_0x3e2f41){if(_0x3e2f41||(_0x3e2f41=_0x34769a['create']()),null!=_0x385856['flags']&&Object['hasOwnProperty']['call'](_0x385856,'flags')&&_0x3e2f41['uint32'](0xa)['string'](_0x385856['flags']),null!=_0x385856['rooms']&&_0x385856['rooms']['length']){for(var _0x40d18e=0x0;_0x40d18e<_0x385856['rooms']['length'];++_0x40d18e)_0x3e2f41['uint32'](0x12)['string'](_0x385856['rooms'][_0x40d18e]);}if(null!=_0x385856['except']&&_0x385856['except']['length']){for(_0x40d18e=0x0;_0x40d18e<_0x385856['except']['length'];++_0x40d18e)_0x3e2f41['uint32'](0x1a)['string'](_0x385856['except'][_0x40d18e]);}return _0x3e2f41;},_0x38c272['encodeDelimited']=function(_0x49a536,_0x2877c9){return this['encode'](_0x49a536,_0x2877c9)['ldelim']();},_0x38c272['decode']=function(_0x3f6107,_0x41ab56,_0x1a521c){_0x3f6107 instanceof _0x338c0e||(_0x3f6107=_0x338c0e['create'](_0x3f6107));for(var _0x3e74bb=void 0x0===_0x41ab56?_0x3f6107['len']:_0x3f6107['pos']+_0x41ab56,_0xbfd3dc=new _0x4a240c['PacketOptionsMessage']();_0x3f6107['pos']<_0x3e74bb;){var _0x2880f9=_0x3f6107['uint32']();if(_0x2880f9===_0x1a521c)break;switch(_0x2880f9>>>0x3){case 0x1:_0xbfd3dc['flags']=_0x3f6107['string']();break;case 0x2:_0xbfd3dc['rooms']&&_0xbfd3dc['rooms']['length']||(_0xbfd3dc['rooms']=[]),_0xbfd3dc['rooms']['push'](_0x3f6107['string']());break;case 0x3:_0xbfd3dc['except']&&_0xbfd3dc['except']['length']||(_0xbfd3dc['except']=[]),_0xbfd3dc['except']['push'](_0x3f6107['string']());break;default:_0x3f6107['skipType'](0x7&_0x2880f9);}}return _0xbfd3dc;},_0x38c272['decodeDelimited']=function(_0x3b3647){return _0x3b3647 instanceof _0x338c0e||(_0x3b3647=new _0x338c0e(_0x3b3647)),this['decode'](_0x3b3647,_0x3b3647['uint32']());},_0x38c272['verify']=function(_0x42232f){if('object'!=typeof _0x42232f||null===_0x42232f)return'object\x20expected';if(null!=_0x42232f['flags']&&_0x42232f['hasOwnProperty']('flags')&&!_0x55d06d['isString'](_0x42232f['flags']))return'flags:\x20string\x20expected';if(null!=_0x42232f['rooms']&&_0x42232f['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x42232f['rooms']))return'rooms:\x20array\x20expected';for(var _0x2dd658=0x0;_0x2dd658<_0x42232f['rooms']['length'];++_0x2dd658)if(!_0x55d06d['isString'](_0x42232f['rooms'][_0x2dd658]))return'rooms:\x20string[]\x20expected';}if(null!=_0x42232f['except']&&_0x42232f['hasOwnProperty']('except')){if(!Array['isArray'](_0x42232f['except']))return'except:\x20array\x20expected';for(_0x2dd658=0x0;_0x2dd658<_0x42232f['except']['length'];++_0x2dd658)if(!_0x55d06d['isString'](_0x42232f['except'][_0x2dd658]))return'except:\x20string[]\x20expected';}return null;},_0x38c272['fromObject']=function(_0x1566b){if(_0x1566b instanceof _0x4a240c['PacketOptionsMessage'])return _0x1566b;var _0x10f35a=new _0x4a240c['PacketOptionsMessage']();if(null!=_0x1566b['flags']&&(_0x10f35a['flags']=String(_0x1566b['flags'])),_0x1566b['rooms']){if(!Array['isArray'](_0x1566b['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x10f35a['rooms']=[];for(var _0x4338d9=0x0;_0x4338d9<_0x1566b['rooms']['length'];++_0x4338d9)_0x10f35a['rooms'][_0x4338d9]=String(_0x1566b['rooms'][_0x4338d9]);}if(_0x1566b['except']){if(!Array['isArray'](_0x1566b['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x10f35a['except']=[],_0x4338d9=0x0;_0x4338d9<_0x1566b['except']['length'];++_0x4338d9)_0x10f35a['except'][_0x4338d9]=String(_0x1566b['except'][_0x4338d9]);}return _0x10f35a;},_0x38c272['toObject']=function(_0x3673d9,_0xab0531){_0xab0531||(_0xab0531={});var _0x3cc155={};if((_0xab0531['arrays']||_0xab0531['defaults'])&&(_0x3cc155['rooms']=[],_0x3cc155['except']=[]),_0xab0531['defaults']&&(_0x3cc155['flags']=''),null!=_0x3673d9['flags']&&_0x3673d9['hasOwnProperty']('flags')&&(_0x3cc155['flags']=_0x3673d9['flags']),_0x3673d9['rooms']&&_0x3673d9['rooms']['length']){_0x3cc155['rooms']=[];for(var _0x48fc1e=0x0;_0x48fc1e<_0x3673d9['rooms']['length'];++_0x48fc1e)_0x3cc155['rooms'][_0x48fc1e]=_0x3673d9['rooms'][_0x48fc1e];}if(_0x3673d9['except']&&_0x3673d9['except']['length']){for(_0x3cc155['except']=[],_0x48fc1e=0x0;_0x48fc1e<_0x3673d9['except']['length'];++_0x48fc1e)_0x3cc155['except'][_0x48fc1e]=_0x3673d9['except'][_0x48fc1e];}return _0x3cc155;},_0x38c272['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x38c272['getTypeUrl']=function(_0x923820){return void 0x0===_0x923820&&(_0x923820='type.googleapis.com'),_0x923820+'/PacketOptionsMessage';},_0x38c272;}()),_0x4a240c['PacketMessage']=(function(){function _0x5702f1(_0x34925d){if(_0x34925d){for(var _0x177066=Object['keys'](_0x34925d),_0x31a132=0x0;_0x31a132<_0x177066['length'];++_0x31a132)null!=_0x34925d[_0x177066[_0x31a132]]&&(this[_0x177066[_0x31a132]]=_0x34925d[_0x177066[_0x31a132]]);}}return _0x5702f1['prototype']['type']=0x0,_0x5702f1['prototype']['id']=0x0,_0x5702f1['prototype']['nsp']='',_0x5702f1['prototype']['data']=_0x55d06d['newBuffer']([]),_0x5702f1['prototype']['options']=_0x55d06d['newBuffer']([]),_0x5702f1['create']=function(_0x2f5510){return new _0x5702f1(_0x2f5510);},_0x5702f1['encode']=function(_0x4f918c,_0x291743){return _0x291743||(_0x291743=_0x34769a['create']()),null!=_0x4f918c['type']&&Object['hasOwnProperty']['call'](_0x4f918c,'type')&&_0x291743['uint32'](0x8)['uint32'](_0x4f918c['type']),null!=_0x4f918c['id']&&Object['hasOwnProperty']['call'](_0x4f918c,'id')&&_0x291743['uint32'](0x10)['uint32'](_0x4f918c['id']),null!=_0x4f918c['nsp']&&Object['hasOwnProperty']['call'](_0x4f918c,'nsp')&&_0x291743['uint32'](0x1a)['string'](_0x4f918c['nsp']),null!=_0x4f918c['data']&&Object['hasOwnProperty']['call'](_0x4f918c,'data')&&_0x291743['uint32'](0x22)['bytes'](_0x4f918c['data']),null!=_0x4f918c['options']&&Object['hasOwnProperty']['call'](_0x4f918c,'options')&&_0x291743['uint32'](0x2a)['bytes'](_0x4f918c['options']),_0x291743;},_0x5702f1['encodeDelimited']=function(_0x4dd420,_0x1d0790){return this['encode'](_0x4dd420,_0x1d0790)['ldelim']();},_0x5702f1['decode']=function(_0x56a99f,_0x346fa5,_0x18e5de){_0x56a99f instanceof _0x338c0e||(_0x56a99f=_0x338c0e['create'](_0x56a99f));for(var _0x119681=void 0x0===_0x346fa5?_0x56a99f['len']:_0x56a99f['pos']+_0x346fa5,_0x4dc3f6=new _0x4a240c['PacketMessage']();_0x56a99f['pos']<_0x119681;){var _0x28f3ab=_0x56a99f['uint32']();if(_0x28f3ab===_0x18e5de)break;switch(_0x28f3ab>>>0x3){case 0x1:_0x4dc3f6['type']=_0x56a99f['uint32']();break;case 0x2:_0x4dc3f6['id']=_0x56a99f['uint32']();break;case 0x3:_0x4dc3f6['nsp']=_0x56a99f['string']();break;case 0x4:_0x4dc3f6['data']=_0x56a99f['bytes']();break;case 0x5:_0x4dc3f6['options']=_0x56a99f['bytes']();break;default:_0x56a99f['skipType'](0x7&_0x28f3ab);}}return _0x4dc3f6;},_0x5702f1['decodeDelimited']=function(_0x5db9f9){return _0x5db9f9 instanceof _0x338c0e||(_0x5db9f9=new _0x338c0e(_0x5db9f9)),this['decode'](_0x5db9f9,_0x5db9f9['uint32']());},_0x5702f1['verify']=function(_0x22d698){return'object'!=typeof _0x22d698||null===_0x22d698?'object\x20expected':null!=_0x22d698['type']&&_0x22d698['hasOwnProperty']('type')&&!_0x55d06d['isInteger'](_0x22d698['type'])?'type:\x20integer\x20expected':null!=_0x22d698['id']&&_0x22d698['hasOwnProperty']('id')&&!_0x55d06d['isInteger'](_0x22d698['id'])?'id:\x20integer\x20expected':null!=_0x22d698['nsp']&&_0x22d698['hasOwnProperty']('nsp')&&!_0x55d06d['isString'](_0x22d698['nsp'])?'nsp:\x20string\x20expected':null!=_0x22d698['data']&&_0x22d698['hasOwnProperty']('data')&&!(_0x22d698['data']&&'number'==typeof _0x22d698['data']['length']||_0x55d06d['isString'](_0x22d698['data']))?'data:\x20buffer\x20expected':null!=_0x22d698['options']&&_0x22d698['hasOwnProperty']('options')&&!(_0x22d698['options']&&'number'==typeof _0x22d698['options']['length']||_0x55d06d['isString'](_0x22d698['options']))?'options:\x20buffer\x20expected':null;},_0x5702f1['fromObject']=function(_0x470de1){if(_0x470de1 instanceof _0x4a240c['PacketMessage'])return _0x470de1;var _0x5187df=new _0x4a240c['PacketMessage']();return null!=_0x470de1['type']&&(_0x5187df['type']=_0x470de1['type']>>>0x0),null!=_0x470de1['id']&&(_0x5187df['id']=_0x470de1['id']>>>0x0),null!=_0x470de1['nsp']&&(_0x5187df['nsp']=String(_0x470de1['nsp'])),null!=_0x470de1['data']&&('string'==typeof _0x470de1['data']?_0x55d06d['base64']['decode'](_0x470de1['data'],_0x5187df['data']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x470de1['data'])),0x0):_0x470de1['data']['length']>=0x0&&(_0x5187df['data']=_0x470de1['data'])),null!=_0x470de1['options']&&('string'==typeof _0x470de1['options']?_0x55d06d['base64']['decode'](_0x470de1['options'],_0x5187df['options']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x470de1['options'])),0x0):_0x470de1['options']['length']>=0x0&&(_0x5187df['options']=_0x470de1['options'])),_0x5187df;},_0x5702f1['toObject']=function(_0x1b94a0,_0x3e5818){_0x3e5818||(_0x3e5818={});var _0x5b36c0={};return _0x3e5818['defaults']&&(_0x5b36c0['type']=0x0,_0x5b36c0['id']=0x0,_0x5b36c0['nsp']='',_0x3e5818['bytes']===String?_0x5b36c0['data']='':(_0x5b36c0['data']=[],_0x3e5818['bytes']!==Array&&(_0x5b36c0['data']=_0x55d06d['newBuffer'](_0x5b36c0['data']))),_0x3e5818['bytes']===String?_0x5b36c0['options']='':(_0x5b36c0['options']=[],_0x3e5818['bytes']!==Array&&(_0x5b36c0['options']=_0x55d06d['newBuffer'](_0x5b36c0['options'])))),null!=_0x1b94a0['type']&&_0x1b94a0['hasOwnProperty']('type')&&(_0x5b36c0['type']=_0x1b94a0['type']),null!=_0x1b94a0['id']&&_0x1b94a0['hasOwnProperty']('id')&&(_0x5b36c0['id']=_0x1b94a0['id']),null!=_0x1b94a0['nsp']&&_0x1b94a0['hasOwnProperty']('nsp')&&(_0x5b36c0['nsp']=_0x1b94a0['nsp']),null!=_0x1b94a0['data']&&_0x1b94a0['hasOwnProperty']('data')&&(_0x5b36c0['data']=_0x3e5818['bytes']===String?_0x55d06d['base64']['encode'](_0x1b94a0['data'],0x0,_0x1b94a0['data']['length']):_0x3e5818['bytes']===Array?Array['prototype']['slice']['call'](_0x1b94a0['data']):_0x1b94a0['data']),null!=_0x1b94a0['options']&&_0x1b94a0['hasOwnProperty']('options')&&(_0x5b36c0['options']=_0x3e5818['bytes']===String?_0x55d06d['base64']['encode'](_0x1b94a0['options'],0x0,_0x1b94a0['options']['length']):_0x3e5818['bytes']===Array?Array['prototype']['slice']['call'](_0x1b94a0['options']):_0x1b94a0['options']),_0x5b36c0;},_0x5702f1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5702f1['getTypeUrl']=function(_0x540d63){return void 0x0===_0x540d63&&(_0x540d63='type.googleapis.com'),_0x540d63+'/PacketMessage';},_0x5702f1;}()),_0x4a240c['ObjectObjectPacketDataMessage']=(function(){function _0x5c54ae(_0x1713bf){if(_0x1713bf){for(var _0x4c6c06=Object['keys'](_0x1713bf),_0x3356b6=0x0;_0x3356b6<_0x4c6c06['length'];++_0x3356b6)null!=_0x1713bf[_0x4c6c06[_0x3356b6]]&&(this[_0x4c6c06[_0x3356b6]]=_0x1713bf[_0x4c6c06[_0x3356b6]]);}}return _0x5c54ae['prototype']['data']='',_0x5c54ae['prototype']['data1']='',_0x5c54ae['create']=function(_0x3fa66e){return new _0x5c54ae(_0x3fa66e);},_0x5c54ae['encode']=function(_0xb9309f,_0x1991a5){return _0x1991a5||(_0x1991a5=_0x34769a['create']()),null!=_0xb9309f['data']&&Object['hasOwnProperty']['call'](_0xb9309f,'data')&&_0x1991a5['uint32'](0xa)['string'](_0xb9309f['data']),null!=_0xb9309f['data1']&&Object['hasOwnProperty']['call'](_0xb9309f,'data1')&&_0x1991a5['uint32'](0x12)['string'](_0xb9309f['data1']),_0x1991a5;},_0x5c54ae['encodeDelimited']=function(_0x34ef53,_0x3c0878){return this['encode'](_0x34ef53,_0x3c0878)['ldelim']();},_0x5c54ae['decode']=function(_0x4d1e49,_0x458f47,_0x231a79){_0x4d1e49 instanceof _0x338c0e||(_0x4d1e49=_0x338c0e['create'](_0x4d1e49));for(var _0x421012=void 0x0===_0x458f47?_0x4d1e49['len']:_0x4d1e49['pos']+_0x458f47,_0x7d272a=new _0x4a240c['ObjectObjectPacketDataMessage']();_0x4d1e49['pos']<_0x421012;){var _0x2493f5=_0x4d1e49['uint32']();if(_0x2493f5===_0x231a79)break;switch(_0x2493f5>>>0x3){case 0x1:_0x7d272a['data']=_0x4d1e49['string']();break;case 0x2:_0x7d272a['data1']=_0x4d1e49['string']();break;default:_0x4d1e49['skipType'](0x7&_0x2493f5);}}return _0x7d272a;},_0x5c54ae['decodeDelimited']=function(_0x5cab52){return _0x5cab52 instanceof _0x338c0e||(_0x5cab52=new _0x338c0e(_0x5cab52)),this['decode'](_0x5cab52,_0x5cab52['uint32']());},_0x5c54ae['verify']=function(_0xad0bf4){return'object'!=typeof _0xad0bf4||null===_0xad0bf4?'object\x20expected':null!=_0xad0bf4['data']&&_0xad0bf4['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0xad0bf4['data'])?'data:\x20string\x20expected':null!=_0xad0bf4['data1']&&_0xad0bf4['hasOwnProperty']('data1')&&!_0x55d06d['isString'](_0xad0bf4['data1'])?'data1:\x20string\x20expected':null;},_0x5c54ae['fromObject']=function(_0x3b1892){if(_0x3b1892 instanceof _0x4a240c['ObjectObjectPacketDataMessage'])return _0x3b1892;var _0x53ed7f=new _0x4a240c['ObjectObjectPacketDataMessage']();return null!=_0x3b1892['data']&&(_0x53ed7f['data']=String(_0x3b1892['data'])),null!=_0x3b1892['data1']&&(_0x53ed7f['data1']=String(_0x3b1892['data1'])),_0x53ed7f;},_0x5c54ae['toObject']=function(_0x243089,_0x26546b){_0x26546b||(_0x26546b={});var _0x2c4ac4={};return _0x26546b['defaults']&&(_0x2c4ac4['data']='',_0x2c4ac4['data1']=''),null!=_0x243089['data']&&_0x243089['hasOwnProperty']('data')&&(_0x2c4ac4['data']=_0x243089['data']),null!=_0x243089['data1']&&_0x243089['hasOwnProperty']('data1')&&(_0x2c4ac4['data1']=_0x243089['data1']),_0x2c4ac4;},_0x5c54ae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5c54ae['getTypeUrl']=function(_0x23a71d){return void 0x0===_0x23a71d&&(_0x23a71d='type.googleapis.com'),_0x23a71d+'/ObjectObjectPacketDataMessage';},_0x5c54ae;}()),_0x4a240c['ObjectBufferPacketDataMessage']=(function(){function _0x3beda2(_0x49db6a){if(_0x49db6a){for(var _0x304311=Object['keys'](_0x49db6a),_0x56232e=0x0;_0x56232e<_0x304311['length'];++_0x56232e)null!=_0x49db6a[_0x304311[_0x56232e]]&&(this[_0x304311[_0x56232e]]=_0x49db6a[_0x304311[_0x56232e]]);}}return _0x3beda2['prototype']['data']='',_0x3beda2['prototype']['data1']=_0x55d06d['newBuffer']([]),_0x3beda2['create']=function(_0x73f13b){return new _0x3beda2(_0x73f13b);},_0x3beda2['encode']=function(_0x587d30,_0x5d7a4e){return _0x5d7a4e||(_0x5d7a4e=_0x34769a['create']()),null!=_0x587d30['data']&&Object['hasOwnProperty']['call'](_0x587d30,'data')&&_0x5d7a4e['uint32'](0xa)['string'](_0x587d30['data']),null!=_0x587d30['data1']&&Object['hasOwnProperty']['call'](_0x587d30,'data1')&&_0x5d7a4e['uint32'](0x12)['bytes'](_0x587d30['data1']),_0x5d7a4e;},_0x3beda2['encodeDelimited']=function(_0x3d203f,_0x4e857d){return this['encode'](_0x3d203f,_0x4e857d)['ldelim']();},_0x3beda2['decode']=function(_0xa8d678,_0x1f0edb,_0x466eec){_0xa8d678 instanceof _0x338c0e||(_0xa8d678=_0x338c0e['create'](_0xa8d678));for(var _0x3a832d=void 0x0===_0x1f0edb?_0xa8d678['len']:_0xa8d678['pos']+_0x1f0edb,_0x22c378=new _0x4a240c['ObjectBufferPacketDataMessage']();_0xa8d678['pos']<_0x3a832d;){var _0x371b8c=_0xa8d678['uint32']();if(_0x371b8c===_0x466eec)break;switch(_0x371b8c>>>0x3){case 0x1:_0x22c378['data']=_0xa8d678['string']();break;case 0x2:_0x22c378['data1']=_0xa8d678['bytes']();break;default:_0xa8d678['skipType'](0x7&_0x371b8c);}}return _0x22c378;},_0x3beda2['decodeDelimited']=function(_0x23fdf1){return _0x23fdf1 instanceof _0x338c0e||(_0x23fdf1=new _0x338c0e(_0x23fdf1)),this['decode'](_0x23fdf1,_0x23fdf1['uint32']());},_0x3beda2['verify']=function(_0x1021b6){return'object'!=typeof _0x1021b6||null===_0x1021b6?'object\x20expected':null!=_0x1021b6['data']&&_0x1021b6['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x1021b6['data'])?'data:\x20string\x20expected':null!=_0x1021b6['data1']&&_0x1021b6['hasOwnProperty']('data1')&&!(_0x1021b6['data1']&&'number'==typeof _0x1021b6['data1']['length']||_0x55d06d['isString'](_0x1021b6['data1']))?'data1:\x20buffer\x20expected':null;},_0x3beda2['fromObject']=function(_0x29d20c){if(_0x29d20c instanceof _0x4a240c['ObjectBufferPacketDataMessage'])return _0x29d20c;var _0xca9a4=new _0x4a240c['ObjectBufferPacketDataMessage']();return null!=_0x29d20c['data']&&(_0xca9a4['data']=String(_0x29d20c['data'])),null!=_0x29d20c['data1']&&('string'==typeof _0x29d20c['data1']?_0x55d06d['base64']['decode'](_0x29d20c['data1'],_0xca9a4['data1']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x29d20c['data1'])),0x0):_0x29d20c['data1']['length']>=0x0&&(_0xca9a4['data1']=_0x29d20c['data1'])),_0xca9a4;},_0x3beda2['toObject']=function(_0x50d87a,_0x322f23){_0x322f23||(_0x322f23={});var _0x196d5d={};return _0x322f23['defaults']&&(_0x196d5d['data']='',_0x322f23['bytes']===String?_0x196d5d['data1']='':(_0x196d5d['data1']=[],_0x322f23['bytes']!==Array&&(_0x196d5d['data1']=_0x55d06d['newBuffer'](_0x196d5d['data1'])))),null!=_0x50d87a['data']&&_0x50d87a['hasOwnProperty']('data')&&(_0x196d5d['data']=_0x50d87a['data']),null!=_0x50d87a['data1']&&_0x50d87a['hasOwnProperty']('data1')&&(_0x196d5d['data1']=_0x322f23['bytes']===String?_0x55d06d['base64']['encode'](_0x50d87a['data1'],0x0,_0x50d87a['data1']['length']):_0x322f23['bytes']===Array?Array['prototype']['slice']['call'](_0x50d87a['data1']):_0x50d87a['data1']),_0x196d5d;},_0x3beda2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3beda2['getTypeUrl']=function(_0x37b09a){return void 0x0===_0x37b09a&&(_0x37b09a='type.googleapis.com'),_0x37b09a+'/ObjectBufferPacketDataMessage';},_0x3beda2;}()),_0x4a240c['NumberStringPacketDataMessage']=(function(){function _0x3ef65e(_0x29844d){if(_0x29844d){for(var _0x276cd4=Object['keys'](_0x29844d),_0x577c88=0x0;_0x577c88<_0x276cd4['length'];++_0x577c88)null!=_0x29844d[_0x276cd4[_0x577c88]]&&(this[_0x276cd4[_0x577c88]]=_0x29844d[_0x276cd4[_0x577c88]]);}}return _0x3ef65e['prototype']['data']=0x0,_0x3ef65e['prototype']['data1']='',_0x3ef65e['create']=function(_0xd79d4e){return new _0x3ef65e(_0xd79d4e);},_0x3ef65e['encode']=function(_0x1ce49d,_0x53fe1a){return _0x53fe1a||(_0x53fe1a=_0x34769a['create']()),null!=_0x1ce49d['data']&&Object['hasOwnProperty']['call'](_0x1ce49d,'data')&&_0x53fe1a['uint32'](0x8)['uint32'](_0x1ce49d['data']),null!=_0x1ce49d['data1']&&Object['hasOwnProperty']['call'](_0x1ce49d,'data1')&&_0x53fe1a['uint32'](0x12)['string'](_0x1ce49d['data1']),_0x53fe1a;},_0x3ef65e['encodeDelimited']=function(_0x27e642,_0xae63f4){return this['encode'](_0x27e642,_0xae63f4)['ldelim']();},_0x3ef65e['decode']=function(_0xfdb8c3,_0x35881d,_0x4cd075){_0xfdb8c3 instanceof _0x338c0e||(_0xfdb8c3=_0x338c0e['create'](_0xfdb8c3));for(var _0xfcebf3=void 0x0===_0x35881d?_0xfdb8c3['len']:_0xfdb8c3['pos']+_0x35881d,_0x200b0b=new _0x4a240c['NumberStringPacketDataMessage']();_0xfdb8c3['pos']<_0xfcebf3;){var _0x92fda4=_0xfdb8c3['uint32']();if(_0x92fda4===_0x4cd075)break;switch(_0x92fda4>>>0x3){case 0x1:_0x200b0b['data']=_0xfdb8c3['uint32']();break;case 0x2:_0x200b0b['data1']=_0xfdb8c3['string']();break;default:_0xfdb8c3['skipType'](0x7&_0x92fda4);}}return _0x200b0b;},_0x3ef65e['decodeDelimited']=function(_0x57d235){return _0x57d235 instanceof _0x338c0e||(_0x57d235=new _0x338c0e(_0x57d235)),this['decode'](_0x57d235,_0x57d235['uint32']());},_0x3ef65e['verify']=function(_0x2277dd){return'object'!=typeof _0x2277dd||null===_0x2277dd?'object\x20expected':null!=_0x2277dd['data']&&_0x2277dd['hasOwnProperty']('data')&&!_0x55d06d['isInteger'](_0x2277dd['data'])?'data:\x20integer\x20expected':null!=_0x2277dd['data1']&&_0x2277dd['hasOwnProperty']('data1')&&!_0x55d06d['isString'](_0x2277dd['data1'])?'data1:\x20string\x20expected':null;},_0x3ef65e['fromObject']=function(_0x501e61){if(_0x501e61 instanceof _0x4a240c['NumberStringPacketDataMessage'])return _0x501e61;var _0x3f7e8f=new _0x4a240c['NumberStringPacketDataMessage']();return null!=_0x501e61['data']&&(_0x3f7e8f['data']=_0x501e61['data']>>>0x0),null!=_0x501e61['data1']&&(_0x3f7e8f['data1']=String(_0x501e61['data1'])),_0x3f7e8f;},_0x3ef65e['toObject']=function(_0x373105,_0x56ec90){_0x56ec90||(_0x56ec90={});var _0x3a1a20={};return _0x56ec90['defaults']&&(_0x3a1a20['data']=0x0,_0x3a1a20['data1']=''),null!=_0x373105['data']&&_0x373105['hasOwnProperty']('data')&&(_0x3a1a20['data']=_0x373105['data']),null!=_0x373105['data1']&&_0x373105['hasOwnProperty']('data1')&&(_0x3a1a20['data1']=_0x373105['data1']),_0x3a1a20;},_0x3ef65e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3ef65e['getTypeUrl']=function(_0x4f1c43){return void 0x0===_0x4f1c43&&(_0x4f1c43='type.googleapis.com'),_0x4f1c43+'/NumberStringPacketDataMessage';},_0x3ef65e;}()),_0x4a240c['NumberObjectPacketDataMessage']=(function(){function _0xc7a7ab(_0x4eef06){if(_0x4eef06){for(var _0x5494bf=Object['keys'](_0x4eef06),_0x42e30d=0x0;_0x42e30d<_0x5494bf['length'];++_0x42e30d)null!=_0x4eef06[_0x5494bf[_0x42e30d]]&&(this[_0x5494bf[_0x42e30d]]=_0x4eef06[_0x5494bf[_0x42e30d]]);}}return _0xc7a7ab['prototype']['data']=0x0,_0xc7a7ab['prototype']['data1']='',_0xc7a7ab['create']=function(_0xe8f6ff){return new _0xc7a7ab(_0xe8f6ff);},_0xc7a7ab['encode']=function(_0x3dfdf3,_0x4bd7ef){return _0x4bd7ef||(_0x4bd7ef=_0x34769a['create']()),null!=_0x3dfdf3['data']&&Object['hasOwnProperty']['call'](_0x3dfdf3,'data')&&_0x4bd7ef['uint32'](0x8)['uint32'](_0x3dfdf3['data']),null!=_0x3dfdf3['data1']&&Object['hasOwnProperty']['call'](_0x3dfdf3,'data1')&&_0x4bd7ef['uint32'](0x12)['string'](_0x3dfdf3['data1']),_0x4bd7ef;},_0xc7a7ab['encodeDelimited']=function(_0x2cea41,_0x20e96f){return this['encode'](_0x2cea41,_0x20e96f)['ldelim']();},_0xc7a7ab['decode']=function(_0x41a5ff,_0x34a0e0,_0x2aaaf3){_0x41a5ff instanceof _0x338c0e||(_0x41a5ff=_0x338c0e['create'](_0x41a5ff));for(var _0x476512=void 0x0===_0x34a0e0?_0x41a5ff['len']:_0x41a5ff['pos']+_0x34a0e0,_0x493190=new _0x4a240c['NumberObjectPacketDataMessage']();_0x41a5ff['pos']<_0x476512;){var _0x5dc1c0=_0x41a5ff['uint32']();if(_0x5dc1c0===_0x2aaaf3)break;switch(_0x5dc1c0>>>0x3){case 0x1:_0x493190['data']=_0x41a5ff['uint32']();break;case 0x2:_0x493190['data1']=_0x41a5ff['string']();break;default:_0x41a5ff['skipType'](0x7&_0x5dc1c0);}}return _0x493190;},_0xc7a7ab['decodeDelimited']=function(_0x4e7797){return _0x4e7797 instanceof _0x338c0e||(_0x4e7797=new _0x338c0e(_0x4e7797)),this['decode'](_0x4e7797,_0x4e7797['uint32']());},_0xc7a7ab['verify']=function(_0x3d4f8c){return'object'!=typeof _0x3d4f8c||null===_0x3d4f8c?'object\x20expected':null!=_0x3d4f8c['data']&&_0x3d4f8c['hasOwnProperty']('data')&&!_0x55d06d['isInteger'](_0x3d4f8c['data'])?'data:\x20integer\x20expected':null!=_0x3d4f8c['data1']&&_0x3d4f8c['hasOwnProperty']('data1')&&!_0x55d06d['isString'](_0x3d4f8c['data1'])?'data1:\x20string\x20expected':null;},_0xc7a7ab['fromObject']=function(_0x4e4aa1){if(_0x4e4aa1 instanceof _0x4a240c['NumberObjectPacketDataMessage'])return _0x4e4aa1;var _0x54f59a=new _0x4a240c['NumberObjectPacketDataMessage']();return null!=_0x4e4aa1['data']&&(_0x54f59a['data']=_0x4e4aa1['data']>>>0x0),null!=_0x4e4aa1['data1']&&(_0x54f59a['data1']=String(_0x4e4aa1['data1'])),_0x54f59a;},_0xc7a7ab['toObject']=function(_0x203058,_0xa1b93){_0xa1b93||(_0xa1b93={});var _0xbaf80a={};return _0xa1b93['defaults']&&(_0xbaf80a['data']=0x0,_0xbaf80a['data1']=''),null!=_0x203058['data']&&_0x203058['hasOwnProperty']('data')&&(_0xbaf80a['data']=_0x203058['data']),null!=_0x203058['data1']&&_0x203058['hasOwnProperty']('data1')&&(_0xbaf80a['data1']=_0x203058['data1']),_0xbaf80a;},_0xc7a7ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xc7a7ab['getTypeUrl']=function(_0x3bfde2){return void 0x0===_0x3bfde2&&(_0x3bfde2='type.googleapis.com'),_0x3bfde2+'/NumberObjectPacketDataMessage';},_0xc7a7ab;}()),_0x4a240c['NumberNumberPacketDataMessage']=(function(){function _0x40d06d(_0x4de64e){if(_0x4de64e){for(var _0x9d58f8=Object['keys'](_0x4de64e),_0x25f886=0x0;_0x25f886<_0x9d58f8['length'];++_0x25f886)null!=_0x4de64e[_0x9d58f8[_0x25f886]]&&(this[_0x9d58f8[_0x25f886]]=_0x4de64e[_0x9d58f8[_0x25f886]]);}}return _0x40d06d['prototype']['data']=0x0,_0x40d06d['prototype']['data1']=0x0,_0x40d06d['create']=function(_0x2c532e){return new _0x40d06d(_0x2c532e);},_0x40d06d['encode']=function(_0x157327,_0x3db4ac){return _0x3db4ac||(_0x3db4ac=_0x34769a['create']()),null!=_0x157327['data']&&Object['hasOwnProperty']['call'](_0x157327,'data')&&_0x3db4ac['uint32'](0x8)['uint32'](_0x157327['data']),null!=_0x157327['data1']&&Object['hasOwnProperty']['call'](_0x157327,'data1')&&_0x3db4ac['uint32'](0x10)['uint32'](_0x157327['data1']),_0x3db4ac;},_0x40d06d['encodeDelimited']=function(_0x3380a8,_0x116fc2){return this['encode'](_0x3380a8,_0x116fc2)['ldelim']();},_0x40d06d['decode']=function(_0x42b326,_0x531dd9,_0x1ea7c0){_0x42b326 instanceof _0x338c0e||(_0x42b326=_0x338c0e['create'](_0x42b326));for(var _0x4d6818=void 0x0===_0x531dd9?_0x42b326['len']:_0x42b326['pos']+_0x531dd9,_0x3ee3fa=new _0x4a240c['NumberNumberPacketDataMessage']();_0x42b326['pos']<_0x4d6818;){var _0x43b730=_0x42b326['uint32']();if(_0x43b730===_0x1ea7c0)break;switch(_0x43b730>>>0x3){case 0x1:_0x3ee3fa['data']=_0x42b326['uint32']();break;case 0x2:_0x3ee3fa['data1']=_0x42b326['uint32']();break;default:_0x42b326['skipType'](0x7&_0x43b730);}}return _0x3ee3fa;},_0x40d06d['decodeDelimited']=function(_0x52de09){return _0x52de09 instanceof _0x338c0e||(_0x52de09=new _0x338c0e(_0x52de09)),this['decode'](_0x52de09,_0x52de09['uint32']());},_0x40d06d['verify']=function(_0x2b1e1c){return'object'!=typeof _0x2b1e1c||null===_0x2b1e1c?'object\x20expected':null!=_0x2b1e1c['data']&&_0x2b1e1c['hasOwnProperty']('data')&&!_0x55d06d['isInteger'](_0x2b1e1c['data'])?'data:\x20integer\x20expected':null!=_0x2b1e1c['data1']&&_0x2b1e1c['hasOwnProperty']('data1')&&!_0x55d06d['isInteger'](_0x2b1e1c['data1'])?'data1:\x20integer\x20expected':null;},_0x40d06d['fromObject']=function(_0x3b719d){if(_0x3b719d instanceof _0x4a240c['NumberNumberPacketDataMessage'])return _0x3b719d;var _0x523b82=new _0x4a240c['NumberNumberPacketDataMessage']();return null!=_0x3b719d['data']&&(_0x523b82['data']=_0x3b719d['data']>>>0x0),null!=_0x3b719d['data1']&&(_0x523b82['data1']=_0x3b719d['data1']>>>0x0),_0x523b82;},_0x40d06d['toObject']=function(_0x5965f1,_0x2cba5e){_0x2cba5e||(_0x2cba5e={});var _0x34f7d={};return _0x2cba5e['defaults']&&(_0x34f7d['data']=0x0,_0x34f7d['data1']=0x0),null!=_0x5965f1['data']&&_0x5965f1['hasOwnProperty']('data')&&(_0x34f7d['data']=_0x5965f1['data']),null!=_0x5965f1['data1']&&_0x5965f1['hasOwnProperty']('data1')&&(_0x34f7d['data1']=_0x5965f1['data1']),_0x34f7d;},_0x40d06d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x40d06d['getTypeUrl']=function(_0x14fbbb){return void 0x0===_0x14fbbb&&(_0x14fbbb='type.googleapis.com'),_0x14fbbb+'/NumberNumberPacketDataMessage';},_0x40d06d;}()),_0x4a240c['NumberBytesPacketDataMessage']=(function(){function _0x5288bb(_0x1a87b9){if(_0x1a87b9){for(var _0x3b3108=Object['keys'](_0x1a87b9),_0x5161f9=0x0;_0x5161f9<_0x3b3108['length'];++_0x5161f9)null!=_0x1a87b9[_0x3b3108[_0x5161f9]]&&(this[_0x3b3108[_0x5161f9]]=_0x1a87b9[_0x3b3108[_0x5161f9]]);}}return _0x5288bb['prototype']['data']=0x0,_0x5288bb['prototype']['data1']=_0x55d06d['newBuffer']([]),_0x5288bb['create']=function(_0x3580c8){return new _0x5288bb(_0x3580c8);},_0x5288bb['encode']=function(_0xb70ea1,_0x5f4006){return _0x5f4006||(_0x5f4006=_0x34769a['create']()),null!=_0xb70ea1['data']&&Object['hasOwnProperty']['call'](_0xb70ea1,'data')&&_0x5f4006['uint32'](0x8)['uint32'](_0xb70ea1['data']),null!=_0xb70ea1['data1']&&Object['hasOwnProperty']['call'](_0xb70ea1,'data1')&&_0x5f4006['uint32'](0x12)['bytes'](_0xb70ea1['data1']),_0x5f4006;},_0x5288bb['encodeDelimited']=function(_0x296e37,_0x356de1){return this['encode'](_0x296e37,_0x356de1)['ldelim']();},_0x5288bb['decode']=function(_0x761eac,_0x5db569,_0x23d1cd){_0x761eac instanceof _0x338c0e||(_0x761eac=_0x338c0e['create'](_0x761eac));for(var _0x2cc732=void 0x0===_0x5db569?_0x761eac['len']:_0x761eac['pos']+_0x5db569,_0x447a0b=new _0x4a240c['NumberBytesPacketDataMessage']();_0x761eac['pos']<_0x2cc732;){var _0x31ce60=_0x761eac['uint32']();if(_0x31ce60===_0x23d1cd)break;switch(_0x31ce60>>>0x3){case 0x1:_0x447a0b['data']=_0x761eac['uint32']();break;case 0x2:_0x447a0b['data1']=_0x761eac['bytes']();break;default:_0x761eac['skipType'](0x7&_0x31ce60);}}return _0x447a0b;},_0x5288bb['decodeDelimited']=function(_0x3ce97b){return _0x3ce97b instanceof _0x338c0e||(_0x3ce97b=new _0x338c0e(_0x3ce97b)),this['decode'](_0x3ce97b,_0x3ce97b['uint32']());},_0x5288bb['verify']=function(_0x2ae760){return'object'!=typeof _0x2ae760||null===_0x2ae760?'object\x20expected':null!=_0x2ae760['data']&&_0x2ae760['hasOwnProperty']('data')&&!_0x55d06d['isInteger'](_0x2ae760['data'])?'data:\x20integer\x20expected':null!=_0x2ae760['data1']&&_0x2ae760['hasOwnProperty']('data1')&&!(_0x2ae760['data1']&&'number'==typeof _0x2ae760['data1']['length']||_0x55d06d['isString'](_0x2ae760['data1']))?'data1:\x20buffer\x20expected':null;},_0x5288bb['fromObject']=function(_0x1aa135){if(_0x1aa135 instanceof _0x4a240c['NumberBytesPacketDataMessage'])return _0x1aa135;var _0x1ee46f=new _0x4a240c['NumberBytesPacketDataMessage']();return null!=_0x1aa135['data']&&(_0x1ee46f['data']=_0x1aa135['data']>>>0x0),null!=_0x1aa135['data1']&&('string'==typeof _0x1aa135['data1']?_0x55d06d['base64']['decode'](_0x1aa135['data1'],_0x1ee46f['data1']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x1aa135['data1'])),0x0):_0x1aa135['data1']['length']>=0x0&&(_0x1ee46f['data1']=_0x1aa135['data1'])),_0x1ee46f;},_0x5288bb['toObject']=function(_0x230c1d,_0x5a4bb9){_0x5a4bb9||(_0x5a4bb9={});var _0x42aa64={};return _0x5a4bb9['defaults']&&(_0x42aa64['data']=0x0,_0x5a4bb9['bytes']===String?_0x42aa64['data1']='':(_0x42aa64['data1']=[],_0x5a4bb9['bytes']!==Array&&(_0x42aa64['data1']=_0x55d06d['newBuffer'](_0x42aa64['data1'])))),null!=_0x230c1d['data']&&_0x230c1d['hasOwnProperty']('data')&&(_0x42aa64['data']=_0x230c1d['data']),null!=_0x230c1d['data1']&&_0x230c1d['hasOwnProperty']('data1')&&(_0x42aa64['data1']=_0x5a4bb9['bytes']===String?_0x55d06d['base64']['encode'](_0x230c1d['data1'],0x0,_0x230c1d['data1']['length']):_0x5a4bb9['bytes']===Array?Array['prototype']['slice']['call'](_0x230c1d['data1']):_0x230c1d['data1']),_0x42aa64;},_0x5288bb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5288bb['getTypeUrl']=function(_0x363a64){return void 0x0===_0x363a64&&(_0x363a64='type.googleapis.com'),_0x363a64+'/NumberBytesPacketDataMessage';},_0x5288bb;}()),_0x4a240c['BytesBytesPacketDataMessage']=(function(){function _0xcc3fd6(_0x214a11){if(_0x214a11){for(var _0x384e46=Object['keys'](_0x214a11),_0xb35766=0x0;_0xb35766<_0x384e46['length'];++_0xb35766)null!=_0x214a11[_0x384e46[_0xb35766]]&&(this[_0x384e46[_0xb35766]]=_0x214a11[_0x384e46[_0xb35766]]);}}return _0xcc3fd6['prototype']['data']=_0x55d06d['newBuffer']([]),_0xcc3fd6['prototype']['data1']=_0x55d06d['newBuffer']([]),_0xcc3fd6['create']=function(_0x399117){return new _0xcc3fd6(_0x399117);},_0xcc3fd6['encode']=function(_0x2b20f6,_0xa1e7a4){return _0xa1e7a4||(_0xa1e7a4=_0x34769a['create']()),null!=_0x2b20f6['data']&&Object['hasOwnProperty']['call'](_0x2b20f6,'data')&&_0xa1e7a4['uint32'](0xa)['bytes'](_0x2b20f6['data']),null!=_0x2b20f6['data1']&&Object['hasOwnProperty']['call'](_0x2b20f6,'data1')&&_0xa1e7a4['uint32'](0x12)['bytes'](_0x2b20f6['data1']),_0xa1e7a4;},_0xcc3fd6['encodeDelimited']=function(_0x56d65a,_0x2fad91){return this['encode'](_0x56d65a,_0x2fad91)['ldelim']();},_0xcc3fd6['decode']=function(_0x5bb35f,_0x2c428c,_0x5e2cb5){_0x5bb35f instanceof _0x338c0e||(_0x5bb35f=_0x338c0e['create'](_0x5bb35f));for(var _0x29c0a1=void 0x0===_0x2c428c?_0x5bb35f['len']:_0x5bb35f['pos']+_0x2c428c,_0x34741c=new _0x4a240c['BytesBytesPacketDataMessage']();_0x5bb35f['pos']<_0x29c0a1;){var _0xd13047=_0x5bb35f['uint32']();if(_0xd13047===_0x5e2cb5)break;switch(_0xd13047>>>0x3){case 0x1:_0x34741c['data']=_0x5bb35f['bytes']();break;case 0x2:_0x34741c['data1']=_0x5bb35f['bytes']();break;default:_0x5bb35f['skipType'](0x7&_0xd13047);}}return _0x34741c;},_0xcc3fd6['decodeDelimited']=function(_0x5ce5ed){return _0x5ce5ed instanceof _0x338c0e||(_0x5ce5ed=new _0x338c0e(_0x5ce5ed)),this['decode'](_0x5ce5ed,_0x5ce5ed['uint32']());},_0xcc3fd6['verify']=function(_0x413a7b){return'object'!=typeof _0x413a7b||null===_0x413a7b?'object\x20expected':null!=_0x413a7b['data']&&_0x413a7b['hasOwnProperty']('data')&&!(_0x413a7b['data']&&'number'==typeof _0x413a7b['data']['length']||_0x55d06d['isString'](_0x413a7b['data']))?'data:\x20buffer\x20expected':null!=_0x413a7b['data1']&&_0x413a7b['hasOwnProperty']('data1')&&!(_0x413a7b['data1']&&'number'==typeof _0x413a7b['data1']['length']||_0x55d06d['isString'](_0x413a7b['data1']))?'data1:\x20buffer\x20expected':null;},_0xcc3fd6['fromObject']=function(_0x2f7a45){if(_0x2f7a45 instanceof _0x4a240c['BytesBytesPacketDataMessage'])return _0x2f7a45;var _0x19bdad=new _0x4a240c['BytesBytesPacketDataMessage']();return null!=_0x2f7a45['data']&&('string'==typeof _0x2f7a45['data']?_0x55d06d['base64']['decode'](_0x2f7a45['data'],_0x19bdad['data']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x2f7a45['data'])),0x0):_0x2f7a45['data']['length']>=0x0&&(_0x19bdad['data']=_0x2f7a45['data'])),null!=_0x2f7a45['data1']&&('string'==typeof _0x2f7a45['data1']?_0x55d06d['base64']['decode'](_0x2f7a45['data1'],_0x19bdad['data1']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x2f7a45['data1'])),0x0):_0x2f7a45['data1']['length']>=0x0&&(_0x19bdad['data1']=_0x2f7a45['data1'])),_0x19bdad;},_0xcc3fd6['toObject']=function(_0x39cd5d,_0x3202bb){_0x3202bb||(_0x3202bb={});var _0x5310b1={};return _0x3202bb['defaults']&&(_0x3202bb['bytes']===String?_0x5310b1['data']='':(_0x5310b1['data']=[],_0x3202bb['bytes']!==Array&&(_0x5310b1['data']=_0x55d06d['newBuffer'](_0x5310b1['data']))),_0x3202bb['bytes']===String?_0x5310b1['data1']='':(_0x5310b1['data1']=[],_0x3202bb['bytes']!==Array&&(_0x5310b1['data1']=_0x55d06d['newBuffer'](_0x5310b1['data1'])))),null!=_0x39cd5d['data']&&_0x39cd5d['hasOwnProperty']('data')&&(_0x5310b1['data']=_0x3202bb['bytes']===String?_0x55d06d['base64']['encode'](_0x39cd5d['data'],0x0,_0x39cd5d['data']['length']):_0x3202bb['bytes']===Array?Array['prototype']['slice']['call'](_0x39cd5d['data']):_0x39cd5d['data']),null!=_0x39cd5d['data1']&&_0x39cd5d['hasOwnProperty']('data1')&&(_0x5310b1['data1']=_0x3202bb['bytes']===String?_0x55d06d['base64']['encode'](_0x39cd5d['data1'],0x0,_0x39cd5d['data1']['length']):_0x3202bb['bytes']===Array?Array['prototype']['slice']['call'](_0x39cd5d['data1']):_0x39cd5d['data1']),_0x5310b1;},_0xcc3fd6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xcc3fd6['getTypeUrl']=function(_0x441154){return void 0x0===_0x441154&&(_0x441154='type.googleapis.com'),_0x441154+'/BytesBytesPacketDataMessage';},_0xcc3fd6;}()),_0x4a240c['ChannelMessage']=(function(){function _0x3467d2(_0x1ce037){if(_0x1ce037){for(var _0x1df941=Object['keys'](_0x1ce037),_0x5f7ef9=0x0;_0x5f7ef9<_0x1df941['length'];++_0x5f7ef9)null!=_0x1ce037[_0x1df941[_0x5f7ef9]]&&(this[_0x1df941[_0x5f7ef9]]=_0x1ce037[_0x1df941[_0x5f7ef9]]);}}return _0x3467d2['prototype']['type']=0x0,_0x3467d2['prototype']['socketId']='',_0x3467d2['prototype']['data']=_0x55d06d['newBuffer']([]),_0x3467d2['create']=function(_0x35d325){return new _0x3467d2(_0x35d325);},_0x3467d2['encode']=function(_0x4ce369,_0xd732af){return _0xd732af||(_0xd732af=_0x34769a['create']()),null!=_0x4ce369['type']&&Object['hasOwnProperty']['call'](_0x4ce369,'type')&&_0xd732af['uint32'](0x8)['uint32'](_0x4ce369['type']),null!=_0x4ce369['socketId']&&Object['hasOwnProperty']['call'](_0x4ce369,'socketId')&&_0xd732af['uint32'](0x12)['string'](_0x4ce369['socketId']),null!=_0x4ce369['data']&&Object['hasOwnProperty']['call'](_0x4ce369,'data')&&_0xd732af['uint32'](0x1a)['bytes'](_0x4ce369['data']),_0xd732af;},_0x3467d2['encodeDelimited']=function(_0x4ba1d7,_0x59401e){return this['encode'](_0x4ba1d7,_0x59401e)['ldelim']();},_0x3467d2['decode']=function(_0x22b30c,_0x50a1c6,_0x15537e){_0x22b30c instanceof _0x338c0e||(_0x22b30c=_0x338c0e['create'](_0x22b30c));for(var _0x7897d0=void 0x0===_0x50a1c6?_0x22b30c['len']:_0x22b30c['pos']+_0x50a1c6,_0x4972f7=new _0x4a240c['ChannelMessage']();_0x22b30c['pos']<_0x7897d0;){var _0xfd6302=_0x22b30c['uint32']();if(_0xfd6302===_0x15537e)break;switch(_0xfd6302>>>0x3){case 0x1:_0x4972f7['type']=_0x22b30c['uint32']();break;case 0x2:_0x4972f7['socketId']=_0x22b30c['string']();break;case 0x3:_0x4972f7['data']=_0x22b30c['bytes']();break;default:_0x22b30c['skipType'](0x7&_0xfd6302);}}return _0x4972f7;},_0x3467d2['decodeDelimited']=function(_0x5bc675){return _0x5bc675 instanceof _0x338c0e||(_0x5bc675=new _0x338c0e(_0x5bc675)),this['decode'](_0x5bc675,_0x5bc675['uint32']());},_0x3467d2['verify']=function(_0x19e868){return'object'!=typeof _0x19e868||null===_0x19e868?'object\x20expected':null!=_0x19e868['type']&&_0x19e868['hasOwnProperty']('type')&&!_0x55d06d['isInteger'](_0x19e868['type'])?'type:\x20integer\x20expected':null!=_0x19e868['socketId']&&_0x19e868['hasOwnProperty']('socketId')&&!_0x55d06d['isString'](_0x19e868['socketId'])?'socketId:\x20string\x20expected':null!=_0x19e868['data']&&_0x19e868['hasOwnProperty']('data')&&!(_0x19e868['data']&&'number'==typeof _0x19e868['data']['length']||_0x55d06d['isString'](_0x19e868['data']))?'data:\x20buffer\x20expected':null;},_0x3467d2['fromObject']=function(_0x1f7788){if(_0x1f7788 instanceof _0x4a240c['ChannelMessage'])return _0x1f7788;var _0x4a0de9=new _0x4a240c['ChannelMessage']();return null!=_0x1f7788['type']&&(_0x4a0de9['type']=_0x1f7788['type']>>>0x0),null!=_0x1f7788['socketId']&&(_0x4a0de9['socketId']=String(_0x1f7788['socketId'])),null!=_0x1f7788['data']&&('string'==typeof _0x1f7788['data']?_0x55d06d['base64']['decode'](_0x1f7788['data'],_0x4a0de9['data']=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x1f7788['data'])),0x0):_0x1f7788['data']['length']>=0x0&&(_0x4a0de9['data']=_0x1f7788['data'])),_0x4a0de9;},_0x3467d2['toObject']=function(_0x371f78,_0x4fa3b9){_0x4fa3b9||(_0x4fa3b9={});var _0x11aeae={};return _0x4fa3b9['defaults']&&(_0x11aeae['type']=0x0,_0x11aeae['socketId']='',_0x4fa3b9['bytes']===String?_0x11aeae['data']='':(_0x11aeae['data']=[],_0x4fa3b9['bytes']!==Array&&(_0x11aeae['data']=_0x55d06d['newBuffer'](_0x11aeae['data'])))),null!=_0x371f78['type']&&_0x371f78['hasOwnProperty']('type')&&(_0x11aeae['type']=_0x371f78['type']),null!=_0x371f78['socketId']&&_0x371f78['hasOwnProperty']('socketId')&&(_0x11aeae['socketId']=_0x371f78['socketId']),null!=_0x371f78['data']&&_0x371f78['hasOwnProperty']('data')&&(_0x11aeae['data']=_0x4fa3b9['bytes']===String?_0x55d06d['base64']['encode'](_0x371f78['data'],0x0,_0x371f78['data']['length']):_0x4fa3b9['bytes']===Array?Array['prototype']['slice']['call'](_0x371f78['data']):_0x371f78['data']),_0x11aeae;},_0x3467d2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3467d2['getTypeUrl']=function(_0x21cb9c){return void 0x0===_0x21cb9c&&(_0x21cb9c='type.googleapis.com'),_0x21cb9c+'/ChannelMessage';},_0x3467d2;}()),_0x4a240c['GetUserResponse']=(function(){function _0x7b6a9b(_0x2380b4){if(this['attributes']=[],_0x2380b4){for(var _0x478aa5=Object['keys'](_0x2380b4),_0x12b731=0x0;_0x12b731<_0x478aa5['length'];++_0x12b731)null!=_0x2380b4[_0x478aa5[_0x12b731]]&&(this[_0x478aa5[_0x12b731]]=_0x2380b4[_0x478aa5[_0x12b731]]);}}return _0x7b6a9b['prototype']['attributes']=_0x55d06d['emptyArray'],_0x7b6a9b['create']=function(_0x1814d3){return new _0x7b6a9b(_0x1814d3);},_0x7b6a9b['encode']=function(_0x579e15,_0x3497ed){if(_0x3497ed||(_0x3497ed=_0x34769a['create']()),null!=_0x579e15['attributes']&&_0x579e15['attributes']['length']){for(var _0x5817d6=0x0;_0x5817d6<_0x579e15['attributes']['length'];++_0x5817d6)_0x4a240c['KeyValueDescriptor']['encode'](_0x579e15['attributes'][_0x5817d6],_0x3497ed['uint32'](0xa)['fork']())['ldelim']();}return _0x3497ed;},_0x7b6a9b['encodeDelimited']=function(_0x56ddee,_0x124872){return this['encode'](_0x56ddee,_0x124872)['ldelim']();},_0x7b6a9b['decode']=function(_0x55f655,_0x4b27a5,_0x842bed){_0x55f655 instanceof _0x338c0e||(_0x55f655=_0x338c0e['create'](_0x55f655));for(var _0x677c41=void 0x0===_0x4b27a5?_0x55f655['len']:_0x55f655['pos']+_0x4b27a5,_0x3edbb8=new _0x4a240c['GetUserResponse']();_0x55f655['pos']<_0x677c41;){var _0x2deb06=_0x55f655['uint32']();if(_0x2deb06===_0x842bed)break;_0x2deb06>>>0x3==0x1?(_0x3edbb8['attributes']&&_0x3edbb8['attributes']['length']||(_0x3edbb8['attributes']=[]),_0x3edbb8['attributes']['push'](_0x4a240c['KeyValueDescriptor']['decode'](_0x55f655,_0x55f655['uint32']()))):_0x55f655['skipType'](0x7&_0x2deb06);}return _0x3edbb8;},_0x7b6a9b['decodeDelimited']=function(_0x2fd99a){return _0x2fd99a instanceof _0x338c0e||(_0x2fd99a=new _0x338c0e(_0x2fd99a)),this['decode'](_0x2fd99a,_0x2fd99a['uint32']());},_0x7b6a9b['verify']=function(_0x32ffef){if('object'!=typeof _0x32ffef||null===_0x32ffef)return'object\x20expected';if(null!=_0x32ffef['attributes']&&_0x32ffef['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x32ffef['attributes']))return'attributes:\x20array\x20expected';for(var _0xc0a906=0x0;_0xc0a906<_0x32ffef['attributes']['length'];++_0xc0a906){var _0x5d957f=_0x4a240c['KeyValueDescriptor']['verify'](_0x32ffef['attributes'][_0xc0a906]);if(_0x5d957f)return'attributes.'+_0x5d957f;}}return null;},_0x7b6a9b['fromObject']=function(_0x1d32fd){if(_0x1d32fd instanceof _0x4a240c['GetUserResponse'])return _0x1d32fd;var _0xea6e45=new _0x4a240c['GetUserResponse']();if(_0x1d32fd['attributes']){if(!Array['isArray'](_0x1d32fd['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0xea6e45['attributes']=[];for(var _0x11a6f2=0x0;_0x11a6f2<_0x1d32fd['attributes']['length'];++_0x11a6f2){if('object'!=typeof _0x1d32fd['attributes'][_0x11a6f2])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0xea6e45['attributes'][_0x11a6f2]=_0x4a240c['KeyValueDescriptor']['fromObject'](_0x1d32fd['attributes'][_0x11a6f2]);}}return _0xea6e45;},_0x7b6a9b['toObject']=function(_0x434b16,_0x3ae709){_0x3ae709||(_0x3ae709={});var _0x12e96c={};if((_0x3ae709['arrays']||_0x3ae709['defaults'])&&(_0x12e96c['attributes']=[]),_0x434b16['attributes']&&_0x434b16['attributes']['length']){_0x12e96c['attributes']=[];for(var _0x224ad5=0x0;_0x224ad5<_0x434b16['attributes']['length'];++_0x224ad5)_0x12e96c['attributes'][_0x224ad5]=_0x4a240c['KeyValueDescriptor']['toObject'](_0x434b16['attributes'][_0x224ad5],_0x3ae709);}return _0x12e96c;},_0x7b6a9b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x7b6a9b['getTypeUrl']=function(_0x515b1f){return void 0x0===_0x515b1f&&(_0x515b1f='type.googleapis.com'),_0x515b1f+'/GetUserResponse';},_0x7b6a9b;}()),_0x4a240c['GetManyUsersResponse']=(function(){function _0x51781e(_0x435077){if(this['users']=[],_0x435077){for(var _0x226421=Object['keys'](_0x435077),_0x2f3d22=0x0;_0x2f3d22<_0x226421['length'];++_0x2f3d22)null!=_0x435077[_0x226421[_0x2f3d22]]&&(this[_0x226421[_0x2f3d22]]=_0x435077[_0x226421[_0x2f3d22]]);}}return _0x51781e['prototype']['users']=_0x55d06d['emptyArray'],_0x51781e['create']=function(_0x4fa1f8){return new _0x51781e(_0x4fa1f8);},_0x51781e['encode']=function(_0x37d2b4,_0x1cd0be){if(_0x1cd0be||(_0x1cd0be=_0x34769a['create']()),null!=_0x37d2b4['users']&&_0x37d2b4['users']['length']){for(var _0x225420=0x0;_0x225420<_0x37d2b4['users']['length'];++_0x225420)_0x4a240c['UserDescriptor']['encode'](_0x37d2b4['users'][_0x225420],_0x1cd0be['uint32'](0xa)['fork']())['ldelim']();}return _0x1cd0be;},_0x51781e['encodeDelimited']=function(_0x29a3c8,_0x3a4648){return this['encode'](_0x29a3c8,_0x3a4648)['ldelim']();},_0x51781e['decode']=function(_0x24ceff,_0x4fe6c8,_0x5126b7){_0x24ceff instanceof _0x338c0e||(_0x24ceff=_0x338c0e['create'](_0x24ceff));for(var _0x431cab=void 0x0===_0x4fe6c8?_0x24ceff['len']:_0x24ceff['pos']+_0x4fe6c8,_0x537c78=new _0x4a240c['GetManyUsersResponse']();_0x24ceff['pos']<_0x431cab;){var _0x1476a3=_0x24ceff['uint32']();if(_0x1476a3===_0x5126b7)break;_0x1476a3>>>0x3==0x1?(_0x537c78['users']&&_0x537c78['users']['length']||(_0x537c78['users']=[]),_0x537c78['users']['push'](_0x4a240c['UserDescriptor']['decode'](_0x24ceff,_0x24ceff['uint32']()))):_0x24ceff['skipType'](0x7&_0x1476a3);}return _0x537c78;},_0x51781e['decodeDelimited']=function(_0x46f3d5){return _0x46f3d5 instanceof _0x338c0e||(_0x46f3d5=new _0x338c0e(_0x46f3d5)),this['decode'](_0x46f3d5,_0x46f3d5['uint32']());},_0x51781e['verify']=function(_0x3b4406){if('object'!=typeof _0x3b4406||null===_0x3b4406)return'object\x20expected';if(null!=_0x3b4406['users']&&_0x3b4406['hasOwnProperty']('users')){if(!Array['isArray'](_0x3b4406['users']))return'users:\x20array\x20expected';for(var _0x24b3ff=0x0;_0x24b3ff<_0x3b4406['users']['length'];++_0x24b3ff){var _0x4fa871=_0x4a240c['UserDescriptor']['verify'](_0x3b4406['users'][_0x24b3ff]);if(_0x4fa871)return'users.'+_0x4fa871;}}return null;},_0x51781e['fromObject']=function(_0x34dd69){if(_0x34dd69 instanceof _0x4a240c['GetManyUsersResponse'])return _0x34dd69;var _0x131189=new _0x4a240c['GetManyUsersResponse']();if(_0x34dd69['users']){if(!Array['isArray'](_0x34dd69['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x131189['users']=[];for(var _0x2d1c7c=0x0;_0x2d1c7c<_0x34dd69['users']['length'];++_0x2d1c7c){if('object'!=typeof _0x34dd69['users'][_0x2d1c7c])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x131189['users'][_0x2d1c7c]=_0x4a240c['UserDescriptor']['fromObject'](_0x34dd69['users'][_0x2d1c7c]);}}return _0x131189;},_0x51781e['toObject']=function(_0x26f2be,_0x2ea26e){_0x2ea26e||(_0x2ea26e={});var _0x3d0e1d={};if((_0x2ea26e['arrays']||_0x2ea26e['defaults'])&&(_0x3d0e1d['users']=[]),_0x26f2be['users']&&_0x26f2be['users']['length']){_0x3d0e1d['users']=[];for(var _0x51f338=0x0;_0x51f338<_0x26f2be['users']['length'];++_0x51f338)_0x3d0e1d['users'][_0x51f338]=_0x4a240c['UserDescriptor']['toObject'](_0x26f2be['users'][_0x51f338],_0x2ea26e);}return _0x3d0e1d;},_0x51781e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x51781e['getTypeUrl']=function(_0xbabb45){return void 0x0===_0xbabb45&&(_0xbabb45='type.googleapis.com'),_0xbabb45+'/GetManyUsersResponse';},_0x51781e;}()),_0x4a240c['GetUserMessage']=(function(){function _0x394af7(_0x143a7a){if(_0x143a7a){for(var _0x3b32be=Object['keys'](_0x143a7a),_0x3256f0=0x0;_0x3256f0<_0x3b32be['length'];++_0x3256f0)null!=_0x143a7a[_0x3b32be[_0x3256f0]]&&(this[_0x3b32be[_0x3256f0]]=_0x143a7a[_0x3b32be[_0x3256f0]]);}}return _0x394af7['prototype']['id']='',_0x394af7['create']=function(_0x1ec148){return new _0x394af7(_0x1ec148);},_0x394af7['encode']=function(_0x1dc926,_0x2f4094){return _0x2f4094||(_0x2f4094=_0x34769a['create']()),null!=_0x1dc926['id']&&Object['hasOwnProperty']['call'](_0x1dc926,'id')&&_0x2f4094['uint32'](0xa)['string'](_0x1dc926['id']),_0x2f4094;},_0x394af7['encodeDelimited']=function(_0x165cf4,_0x1abccd){return this['encode'](_0x165cf4,_0x1abccd)['ldelim']();},_0x394af7['decode']=function(_0xd8b0b6,_0x273a31,_0x5d0799){_0xd8b0b6 instanceof _0x338c0e||(_0xd8b0b6=_0x338c0e['create'](_0xd8b0b6));for(var _0x35c327=void 0x0===_0x273a31?_0xd8b0b6['len']:_0xd8b0b6['pos']+_0x273a31,_0x47d844=new _0x4a240c['GetUserMessage']();_0xd8b0b6['pos']<_0x35c327;){var _0x1112d2=_0xd8b0b6['uint32']();if(_0x1112d2===_0x5d0799)break;_0x1112d2>>>0x3==0x1?_0x47d844['id']=_0xd8b0b6['string']():_0xd8b0b6['skipType'](0x7&_0x1112d2);}return _0x47d844;},_0x394af7['decodeDelimited']=function(_0x42084f){return _0x42084f instanceof _0x338c0e||(_0x42084f=new _0x338c0e(_0x42084f)),this['decode'](_0x42084f,_0x42084f['uint32']());},_0x394af7['verify']=function(_0xf3aef8){return'object'!=typeof _0xf3aef8||null===_0xf3aef8?'object\x20expected':null!=_0xf3aef8['id']&&_0xf3aef8['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0xf3aef8['id'])?'id:\x20string\x20expected':null;},_0x394af7['fromObject']=function(_0xc9ff8){if(_0xc9ff8 instanceof _0x4a240c['GetUserMessage'])return _0xc9ff8;var _0x471297=new _0x4a240c['GetUserMessage']();return null!=_0xc9ff8['id']&&(_0x471297['id']=String(_0xc9ff8['id'])),_0x471297;},_0x394af7['toObject']=function(_0x3e117e,_0x312a31){_0x312a31||(_0x312a31={});var _0x3ba31e={};return _0x312a31['defaults']&&(_0x3ba31e['id']=''),null!=_0x3e117e['id']&&_0x3e117e['hasOwnProperty']('id')&&(_0x3ba31e['id']=_0x3e117e['id']),_0x3ba31e;},_0x394af7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x394af7['getTypeUrl']=function(_0xc3e95b){return void 0x0===_0xc3e95b&&(_0xc3e95b='type.googleapis.com'),_0xc3e95b+'/GetUserMessage';},_0x394af7;}()),_0x4a240c['GetManyUsersMessage']=(function(){function _0x2835f2(_0x32a15b){if(this['ids']=[],_0x32a15b){for(var _0x2c50f3=Object['keys'](_0x32a15b),_0x2635d5=0x0;_0x2635d5<_0x2c50f3['length'];++_0x2635d5)null!=_0x32a15b[_0x2c50f3[_0x2635d5]]&&(this[_0x2c50f3[_0x2635d5]]=_0x32a15b[_0x2c50f3[_0x2635d5]]);}}return _0x2835f2['prototype']['ids']=_0x55d06d['emptyArray'],_0x2835f2['create']=function(_0x123223){return new _0x2835f2(_0x123223);},_0x2835f2['encode']=function(_0xbf857a,_0xd08d2d){if(_0xd08d2d||(_0xd08d2d=_0x34769a['create']()),null!=_0xbf857a['ids']&&_0xbf857a['ids']['length']){for(var _0x3885dc=0x0;_0x3885dc<_0xbf857a['ids']['length'];++_0x3885dc)_0xd08d2d['uint32'](0xa)['string'](_0xbf857a['ids'][_0x3885dc]);}return _0xd08d2d;},_0x2835f2['encodeDelimited']=function(_0xa35994,_0x4c6c46){return this['encode'](_0xa35994,_0x4c6c46)['ldelim']();},_0x2835f2['decode']=function(_0x4721a1,_0x4a28ab,_0x14b43c){_0x4721a1 instanceof _0x338c0e||(_0x4721a1=_0x338c0e['create'](_0x4721a1));for(var _0x4c64e8=void 0x0===_0x4a28ab?_0x4721a1['len']:_0x4721a1['pos']+_0x4a28ab,_0x8edc00=new _0x4a240c['GetManyUsersMessage']();_0x4721a1['pos']<_0x4c64e8;){var _0x16ceac=_0x4721a1['uint32']();if(_0x16ceac===_0x14b43c)break;_0x16ceac>>>0x3==0x1?(_0x8edc00['ids']&&_0x8edc00['ids']['length']||(_0x8edc00['ids']=[]),_0x8edc00['ids']['push'](_0x4721a1['string']())):_0x4721a1['skipType'](0x7&_0x16ceac);}return _0x8edc00;},_0x2835f2['decodeDelimited']=function(_0x2f845c){return _0x2f845c instanceof _0x338c0e||(_0x2f845c=new _0x338c0e(_0x2f845c)),this['decode'](_0x2f845c,_0x2f845c['uint32']());},_0x2835f2['verify']=function(_0x3b4d54){if('object'!=typeof _0x3b4d54||null===_0x3b4d54)return'object\x20expected';if(null!=_0x3b4d54['ids']&&_0x3b4d54['hasOwnProperty']('ids')){if(!Array['isArray'](_0x3b4d54['ids']))return'ids:\x20array\x20expected';for(var _0xc03201=0x0;_0xc03201<_0x3b4d54['ids']['length'];++_0xc03201)if(!_0x55d06d['isString'](_0x3b4d54['ids'][_0xc03201]))return'ids:\x20string[]\x20expected';}return null;},_0x2835f2['fromObject']=function(_0x290e82){if(_0x290e82 instanceof _0x4a240c['GetManyUsersMessage'])return _0x290e82;var _0x2eadf5=new _0x4a240c['GetManyUsersMessage']();if(_0x290e82['ids']){if(!Array['isArray'](_0x290e82['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x2eadf5['ids']=[];for(var _0x381b79=0x0;_0x381b79<_0x290e82['ids']['length'];++_0x381b79)_0x2eadf5['ids'][_0x381b79]=String(_0x290e82['ids'][_0x381b79]);}return _0x2eadf5;},_0x2835f2['toObject']=function(_0x571edb,_0x275c5f){_0x275c5f||(_0x275c5f={});var _0x389ebe={};if((_0x275c5f['arrays']||_0x275c5f['defaults'])&&(_0x389ebe['ids']=[]),_0x571edb['ids']&&_0x571edb['ids']['length']){_0x389ebe['ids']=[];for(var _0x309e47=0x0;_0x309e47<_0x571edb['ids']['length'];++_0x309e47)_0x389ebe['ids'][_0x309e47]=_0x571edb['ids'][_0x309e47];}return _0x389ebe;},_0x2835f2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2835f2['getTypeUrl']=function(_0x12851e){return void 0x0===_0x12851e&&(_0x12851e='type.googleapis.com'),_0x12851e+'/GetManyUsersMessage';},_0x2835f2;}()),_0x4a240c['UserDescriptor']=(function(){function _0xaf3f34(_0x4c444f){if(this['attributes']=[],_0x4c444f){for(var _0x497e80=Object['keys'](_0x4c444f),_0x5c1db2=0x0;_0x5c1db2<_0x497e80['length'];++_0x5c1db2)null!=_0x4c444f[_0x497e80[_0x5c1db2]]&&(this[_0x497e80[_0x5c1db2]]=_0x4c444f[_0x497e80[_0x5c1db2]]);}}return _0xaf3f34['prototype']['attributes']=_0x55d06d['emptyArray'],_0xaf3f34['create']=function(_0x3aeaf1){return new _0xaf3f34(_0x3aeaf1);},_0xaf3f34['encode']=function(_0x4118db,_0x443d38){if(_0x443d38||(_0x443d38=_0x34769a['create']()),null!=_0x4118db['attributes']&&_0x4118db['attributes']['length']){for(var _0x8d7165=0x0;_0x8d7165<_0x4118db['attributes']['length'];++_0x8d7165)_0x4a240c['KeyValueDescriptor']['encode'](_0x4118db['attributes'][_0x8d7165],_0x443d38['uint32'](0xa)['fork']())['ldelim']();}return _0x443d38;},_0xaf3f34['encodeDelimited']=function(_0x1ab420,_0x476ead){return this['encode'](_0x1ab420,_0x476ead)['ldelim']();},_0xaf3f34['decode']=function(_0x5e15cb,_0x746323,_0x433133){_0x5e15cb instanceof _0x338c0e||(_0x5e15cb=_0x338c0e['create'](_0x5e15cb));for(var _0x3bdd38=void 0x0===_0x746323?_0x5e15cb['len']:_0x5e15cb['pos']+_0x746323,_0x2cc7f2=new _0x4a240c['UserDescriptor']();_0x5e15cb['pos']<_0x3bdd38;){var _0x2da330=_0x5e15cb['uint32']();if(_0x2da330===_0x433133)break;_0x2da330>>>0x3==0x1?(_0x2cc7f2['attributes']&&_0x2cc7f2['attributes']['length']||(_0x2cc7f2['attributes']=[]),_0x2cc7f2['attributes']['push'](_0x4a240c['KeyValueDescriptor']['decode'](_0x5e15cb,_0x5e15cb['uint32']()))):_0x5e15cb['skipType'](0x7&_0x2da330);}return _0x2cc7f2;},_0xaf3f34['decodeDelimited']=function(_0x1ff622){return _0x1ff622 instanceof _0x338c0e||(_0x1ff622=new _0x338c0e(_0x1ff622)),this['decode'](_0x1ff622,_0x1ff622['uint32']());},_0xaf3f34['verify']=function(_0x2ddb0d){if('object'!=typeof _0x2ddb0d||null===_0x2ddb0d)return'object\x20expected';if(null!=_0x2ddb0d['attributes']&&_0x2ddb0d['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x2ddb0d['attributes']))return'attributes:\x20array\x20expected';for(var _0x3133c0=0x0;_0x3133c0<_0x2ddb0d['attributes']['length'];++_0x3133c0){var _0x216e97=_0x4a240c['KeyValueDescriptor']['verify'](_0x2ddb0d['attributes'][_0x3133c0]);if(_0x216e97)return'attributes.'+_0x216e97;}}return null;},_0xaf3f34['fromObject']=function(_0x147c7d){if(_0x147c7d instanceof _0x4a240c['UserDescriptor'])return _0x147c7d;var _0x38f4c1=new _0x4a240c['UserDescriptor']();if(_0x147c7d['attributes']){if(!Array['isArray'](_0x147c7d['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x38f4c1['attributes']=[];for(var _0x3ee83a=0x0;_0x3ee83a<_0x147c7d['attributes']['length'];++_0x3ee83a){if('object'!=typeof _0x147c7d['attributes'][_0x3ee83a])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x38f4c1['attributes'][_0x3ee83a]=_0x4a240c['KeyValueDescriptor']['fromObject'](_0x147c7d['attributes'][_0x3ee83a]);}}return _0x38f4c1;},_0xaf3f34['toObject']=function(_0x4f3b3b,_0x464163){_0x464163||(_0x464163={});var _0x356fd4={};if((_0x464163['arrays']||_0x464163['defaults'])&&(_0x356fd4['attributes']=[]),_0x4f3b3b['attributes']&&_0x4f3b3b['attributes']['length']){_0x356fd4['attributes']=[];for(var _0x1b86bf=0x0;_0x1b86bf<_0x4f3b3b['attributes']['length'];++_0x1b86bf)_0x356fd4['attributes'][_0x1b86bf]=_0x4a240c['KeyValueDescriptor']['toObject'](_0x4f3b3b['attributes'][_0x1b86bf],_0x464163);}return _0x356fd4;},_0xaf3f34['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xaf3f34['getTypeUrl']=function(_0x2fbde5){return void 0x0===_0x2fbde5&&(_0x2fbde5='type.googleapis.com'),_0x2fbde5+'/UserDescriptor';},_0xaf3f34;}()),_0x4a240c['TrackChangesGetSuggestionResponse']=(function(){function _0x53a5dc(_0x4ae66e){if(_0x4ae66e){for(var _0x3d80db=Object['keys'](_0x4ae66e),_0x3bb2f3=0x0;_0x3bb2f3<_0x3d80db['length'];++_0x3bb2f3)null!=_0x4ae66e[_0x3d80db[_0x3bb2f3]]&&(this[_0x3d80db[_0x3bb2f3]]=_0x4ae66e[_0x3d80db[_0x3bb2f3]]);}}return _0x53a5dc['prototype']['id']='',_0x53a5dc['prototype']['authorId']='',_0x53a5dc['prototype']['type']='',_0x53a5dc['prototype']['createdAt']='',_0x53a5dc['prototype']['data']='',_0x53a5dc['prototype']['hasComments']=!0x1,_0x53a5dc['prototype']['state']='',_0x53a5dc['prototype']['attributes']='',_0x53a5dc['create']=function(_0x298a31){return new _0x53a5dc(_0x298a31);},_0x53a5dc['encode']=function(_0x11882c,_0x25fbda){return _0x25fbda||(_0x25fbda=_0x34769a['create']()),null!=_0x11882c['id']&&Object['hasOwnProperty']['call'](_0x11882c,'id')&&_0x25fbda['uint32'](0xa)['string'](_0x11882c['id']),null!=_0x11882c['authorId']&&Object['hasOwnProperty']['call'](_0x11882c,'authorId')&&_0x25fbda['uint32'](0x12)['string'](_0x11882c['authorId']),null!=_0x11882c['type']&&Object['hasOwnProperty']['call'](_0x11882c,'type')&&_0x25fbda['uint32'](0x1a)['string'](_0x11882c['type']),null!=_0x11882c['createdAt']&&Object['hasOwnProperty']['call'](_0x11882c,'createdAt')&&_0x25fbda['uint32'](0x22)['string'](_0x11882c['createdAt']),null!=_0x11882c['data']&&Object['hasOwnProperty']['call'](_0x11882c,'data')&&_0x25fbda['uint32'](0x2a)['string'](_0x11882c['data']),null!=_0x11882c['hasComments']&&Object['hasOwnProperty']['call'](_0x11882c,'hasComments')&&_0x25fbda['uint32'](0x30)['bool'](_0x11882c['hasComments']),null!=_0x11882c['state']&&Object['hasOwnProperty']['call'](_0x11882c,'state')&&_0x25fbda['uint32'](0x3a)['string'](_0x11882c['state']),null!=_0x11882c['attributes']&&Object['hasOwnProperty']['call'](_0x11882c,'attributes')&&_0x25fbda['uint32'](0x42)['string'](_0x11882c['attributes']),_0x25fbda;},_0x53a5dc['encodeDelimited']=function(_0x8f70f1,_0x73e10c){return this['encode'](_0x8f70f1,_0x73e10c)['ldelim']();},_0x53a5dc['decode']=function(_0x5327a5,_0x25de89,_0x6b05c2){_0x5327a5 instanceof _0x338c0e||(_0x5327a5=_0x338c0e['create'](_0x5327a5));for(var _0x8d3fcf=void 0x0===_0x25de89?_0x5327a5['len']:_0x5327a5['pos']+_0x25de89,_0x1f9e1a=new _0x4a240c['TrackChangesGetSuggestionResponse']();_0x5327a5['pos']<_0x8d3fcf;){var _0x45dcac=_0x5327a5['uint32']();if(_0x45dcac===_0x6b05c2)break;switch(_0x45dcac>>>0x3){case 0x1:_0x1f9e1a['id']=_0x5327a5['string']();break;case 0x2:_0x1f9e1a['authorId']=_0x5327a5['string']();break;case 0x3:_0x1f9e1a['type']=_0x5327a5['string']();break;case 0x4:_0x1f9e1a['createdAt']=_0x5327a5['string']();break;case 0x5:_0x1f9e1a['data']=_0x5327a5['string']();break;case 0x6:_0x1f9e1a['hasComments']=_0x5327a5['bool']();break;case 0x7:_0x1f9e1a['state']=_0x5327a5['string']();break;case 0x8:_0x1f9e1a['attributes']=_0x5327a5['string']();break;default:_0x5327a5['skipType'](0x7&_0x45dcac);}}return _0x1f9e1a;},_0x53a5dc['decodeDelimited']=function(_0x4f7c88){return _0x4f7c88 instanceof _0x338c0e||(_0x4f7c88=new _0x338c0e(_0x4f7c88)),this['decode'](_0x4f7c88,_0x4f7c88['uint32']());},_0x53a5dc['verify']=function(_0x1e90d4){return'object'!=typeof _0x1e90d4||null===_0x1e90d4?'object\x20expected':null!=_0x1e90d4['id']&&_0x1e90d4['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x1e90d4['id'])?'id:\x20string\x20expected':null!=_0x1e90d4['authorId']&&_0x1e90d4['hasOwnProperty']('authorId')&&!_0x55d06d['isString'](_0x1e90d4['authorId'])?'authorId:\x20string\x20expected':null!=_0x1e90d4['type']&&_0x1e90d4['hasOwnProperty']('type')&&!_0x55d06d['isString'](_0x1e90d4['type'])?'type:\x20string\x20expected':null!=_0x1e90d4['createdAt']&&_0x1e90d4['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x1e90d4['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1e90d4['data']&&_0x1e90d4['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x1e90d4['data'])?'data:\x20string\x20expected':null!=_0x1e90d4['hasComments']&&_0x1e90d4['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1e90d4['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1e90d4['state']&&_0x1e90d4['hasOwnProperty']('state')&&!_0x55d06d['isString'](_0x1e90d4['state'])?'state:\x20string\x20expected':null!=_0x1e90d4['attributes']&&_0x1e90d4['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x1e90d4['attributes'])?'attributes:\x20string\x20expected':null;},_0x53a5dc['fromObject']=function(_0x1295d9){if(_0x1295d9 instanceof _0x4a240c['TrackChangesGetSuggestionResponse'])return _0x1295d9;var _0x53608d=new _0x4a240c['TrackChangesGetSuggestionResponse']();return null!=_0x1295d9['id']&&(_0x53608d['id']=String(_0x1295d9['id'])),null!=_0x1295d9['authorId']&&(_0x53608d['authorId']=String(_0x1295d9['authorId'])),null!=_0x1295d9['type']&&(_0x53608d['type']=String(_0x1295d9['type'])),null!=_0x1295d9['createdAt']&&(_0x53608d['createdAt']=String(_0x1295d9['createdAt'])),null!=_0x1295d9['data']&&(_0x53608d['data']=String(_0x1295d9['data'])),null!=_0x1295d9['hasComments']&&(_0x53608d['hasComments']=Boolean(_0x1295d9['hasComments'])),null!=_0x1295d9['state']&&(_0x53608d['state']=String(_0x1295d9['state'])),null!=_0x1295d9['attributes']&&(_0x53608d['attributes']=String(_0x1295d9['attributes'])),_0x53608d;},_0x53a5dc['toObject']=function(_0x29a4d0,_0x2469f4){_0x2469f4||(_0x2469f4={});var _0x5adb20={};return _0x2469f4['defaults']&&(_0x5adb20['id']='',_0x5adb20['authorId']='',_0x5adb20['type']='',_0x5adb20['createdAt']='',_0x5adb20['data']='',_0x5adb20['hasComments']=!0x1,_0x5adb20['state']='',_0x5adb20['attributes']=''),null!=_0x29a4d0['id']&&_0x29a4d0['hasOwnProperty']('id')&&(_0x5adb20['id']=_0x29a4d0['id']),null!=_0x29a4d0['authorId']&&_0x29a4d0['hasOwnProperty']('authorId')&&(_0x5adb20['authorId']=_0x29a4d0['authorId']),null!=_0x29a4d0['type']&&_0x29a4d0['hasOwnProperty']('type')&&(_0x5adb20['type']=_0x29a4d0['type']),null!=_0x29a4d0['createdAt']&&_0x29a4d0['hasOwnProperty']('createdAt')&&(_0x5adb20['createdAt']=_0x29a4d0['createdAt']),null!=_0x29a4d0['data']&&_0x29a4d0['hasOwnProperty']('data')&&(_0x5adb20['data']=_0x29a4d0['data']),null!=_0x29a4d0['hasComments']&&_0x29a4d0['hasOwnProperty']('hasComments')&&(_0x5adb20['hasComments']=_0x29a4d0['hasComments']),null!=_0x29a4d0['state']&&_0x29a4d0['hasOwnProperty']('state')&&(_0x5adb20['state']=_0x29a4d0['state']),null!=_0x29a4d0['attributes']&&_0x29a4d0['hasOwnProperty']('attributes')&&(_0x5adb20['attributes']=_0x29a4d0['attributes']),_0x5adb20;},_0x53a5dc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x53a5dc['getTypeUrl']=function(_0x1849c6){return void 0x0===_0x1849c6&&(_0x1849c6='type.googleapis.com'),_0x1849c6+'/TrackChangesGetSuggestionResponse';},_0x53a5dc;}()),_0x4a240c['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x31e6a9(_0x4f0a16){if(this['suggestions']=[],this['suggestionsV2']=[],_0x4f0a16){for(var _0x3318a6=Object['keys'](_0x4f0a16),_0x624bdc=0x0;_0x624bdc<_0x3318a6['length'];++_0x624bdc)null!=_0x4f0a16[_0x3318a6[_0x624bdc]]&&(this[_0x3318a6[_0x624bdc]]=_0x4f0a16[_0x3318a6[_0x624bdc]]);}}return _0x31e6a9['prototype']['suggestions']=_0x55d06d['emptyArray'],_0x31e6a9['prototype']['suggestionsV2']=_0x55d06d['emptyArray'],_0x31e6a9['create']=function(_0x5d2709){return new _0x31e6a9(_0x5d2709);},_0x31e6a9['encode']=function(_0x3ed19d,_0xc5b874){if(_0xc5b874||(_0xc5b874=_0x34769a['create']()),null!=_0x3ed19d['suggestions']&&_0x3ed19d['suggestions']['length']){for(var _0xbe16a9=0x0;_0xbe16a9<_0x3ed19d['suggestions']['length'];++_0xbe16a9)_0xc5b874['uint32'](0xa)['string'](_0x3ed19d['suggestions'][_0xbe16a9]);}if(null!=_0x3ed19d['suggestionsV2']&&_0x3ed19d['suggestionsV2']['length']){for(_0xbe16a9=0x0;_0xbe16a9<_0x3ed19d['suggestionsV2']['length'];++_0xbe16a9)_0x4a240c['SuggestionDescriptor']['encode'](_0x3ed19d['suggestionsV2'][_0xbe16a9],_0xc5b874['uint32'](0x12)['fork']())['ldelim']();}return _0xc5b874;},_0x31e6a9['encodeDelimited']=function(_0x45008d,_0x58ced6){return this['encode'](_0x45008d,_0x58ced6)['ldelim']();},_0x31e6a9['decode']=function(_0x52a6dd,_0x43567,_0x34ece8){_0x52a6dd instanceof _0x338c0e||(_0x52a6dd=_0x338c0e['create'](_0x52a6dd));for(var _0x51c14f=void 0x0===_0x43567?_0x52a6dd['len']:_0x52a6dd['pos']+_0x43567,_0x4903b1=new _0x4a240c['TrackChangesGetAllSuggestionsResponse']();_0x52a6dd['pos']<_0x51c14f;){var _0x80e555=_0x52a6dd['uint32']();if(_0x80e555===_0x34ece8)break;switch(_0x80e555>>>0x3){case 0x1:_0x4903b1['suggestions']&&_0x4903b1['suggestions']['length']||(_0x4903b1['suggestions']=[]),_0x4903b1['suggestions']['push'](_0x52a6dd['string']());break;case 0x2:_0x4903b1['suggestionsV2']&&_0x4903b1['suggestionsV2']['length']||(_0x4903b1['suggestionsV2']=[]),_0x4903b1['suggestionsV2']['push'](_0x4a240c['SuggestionDescriptor']['decode'](_0x52a6dd,_0x52a6dd['uint32']()));break;default:_0x52a6dd['skipType'](0x7&_0x80e555);}}return _0x4903b1;},_0x31e6a9['decodeDelimited']=function(_0x36d852){return _0x36d852 instanceof _0x338c0e||(_0x36d852=new _0x338c0e(_0x36d852)),this['decode'](_0x36d852,_0x36d852['uint32']());},_0x31e6a9['verify']=function(_0x4fc172){if('object'!=typeof _0x4fc172||null===_0x4fc172)return'object\x20expected';if(null!=_0x4fc172['suggestions']&&_0x4fc172['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x4fc172['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x3e7281=0x0;_0x3e7281<_0x4fc172['suggestions']['length'];++_0x3e7281)if(!_0x55d06d['isString'](_0x4fc172['suggestions'][_0x3e7281]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x4fc172['suggestionsV2']&&_0x4fc172['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x4fc172['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x3e7281=0x0;_0x3e7281<_0x4fc172['suggestionsV2']['length'];++_0x3e7281){var _0x523790=_0x4a240c['SuggestionDescriptor']['verify'](_0x4fc172['suggestionsV2'][_0x3e7281]);if(_0x523790)return'suggestionsV2.'+_0x523790;}}return null;},_0x31e6a9['fromObject']=function(_0x268c3d){if(_0x268c3d instanceof _0x4a240c['TrackChangesGetAllSuggestionsResponse'])return _0x268c3d;var _0x133b8f=new _0x4a240c['TrackChangesGetAllSuggestionsResponse']();if(_0x268c3d['suggestions']){if(!Array['isArray'](_0x268c3d['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x133b8f['suggestions']=[];for(var _0x442413=0x0;_0x442413<_0x268c3d['suggestions']['length'];++_0x442413)_0x133b8f['suggestions'][_0x442413]=String(_0x268c3d['suggestions'][_0x442413]);}if(_0x268c3d['suggestionsV2']){if(!Array['isArray'](_0x268c3d['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x133b8f['suggestionsV2']=[],_0x442413=0x0;_0x442413<_0x268c3d['suggestionsV2']['length'];++_0x442413){if('object'!=typeof _0x268c3d['suggestionsV2'][_0x442413])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x133b8f['suggestionsV2'][_0x442413]=_0x4a240c['SuggestionDescriptor']['fromObject'](_0x268c3d['suggestionsV2'][_0x442413]);}}return _0x133b8f;},_0x31e6a9['toObject']=function(_0x2fa654,_0x4920a0){_0x4920a0||(_0x4920a0={});var _0x3b6624={};if((_0x4920a0['arrays']||_0x4920a0['defaults'])&&(_0x3b6624['suggestions']=[],_0x3b6624['suggestionsV2']=[]),_0x2fa654['suggestions']&&_0x2fa654['suggestions']['length']){_0x3b6624['suggestions']=[];for(var _0x311880=0x0;_0x311880<_0x2fa654['suggestions']['length'];++_0x311880)_0x3b6624['suggestions'][_0x311880]=_0x2fa654['suggestions'][_0x311880];}if(_0x2fa654['suggestionsV2']&&_0x2fa654['suggestionsV2']['length']){for(_0x3b6624['suggestionsV2']=[],_0x311880=0x0;_0x311880<_0x2fa654['suggestionsV2']['length'];++_0x311880)_0x3b6624['suggestionsV2'][_0x311880]=_0x4a240c['SuggestionDescriptor']['toObject'](_0x2fa654['suggestionsV2'][_0x311880],_0x4920a0);}return _0x3b6624;},_0x31e6a9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x31e6a9['getTypeUrl']=function(_0x3c29d2){return void 0x0===_0x3c29d2&&(_0x3c29d2='type.googleapis.com'),_0x3c29d2+'/TrackChangesGetAllSuggestionsResponse';},_0x31e6a9;}()),_0x4a240c['TrackChangesConnectResponse']=(function(){function _0x269acc(_0x306cb5){if(this['suggestions']=[],this['suggestionsV2']=[],_0x306cb5){for(var _0x36f3da=Object['keys'](_0x306cb5),_0x3e51eb=0x0;_0x3e51eb<_0x36f3da['length'];++_0x3e51eb)null!=_0x306cb5[_0x36f3da[_0x3e51eb]]&&(this[_0x36f3da[_0x3e51eb]]=_0x306cb5[_0x36f3da[_0x3e51eb]]);}}return _0x269acc['prototype']['channel']='',_0x269acc['prototype']['suggestions']=_0x55d06d['emptyArray'],_0x269acc['prototype']['suggestionsV2']=_0x55d06d['emptyArray'],_0x269acc['create']=function(_0x46de26){return new _0x269acc(_0x46de26);},_0x269acc['encode']=function(_0xf8ecd5,_0x1fc72c){if(_0x1fc72c||(_0x1fc72c=_0x34769a['create']()),null!=_0xf8ecd5['channel']&&Object['hasOwnProperty']['call'](_0xf8ecd5,'channel')&&_0x1fc72c['uint32'](0xa)['string'](_0xf8ecd5['channel']),null!=_0xf8ecd5['suggestions']&&_0xf8ecd5['suggestions']['length']){for(var _0x487667=0x0;_0x487667<_0xf8ecd5['suggestions']['length'];++_0x487667)_0x1fc72c['uint32'](0x12)['string'](_0xf8ecd5['suggestions'][_0x487667]);}if(null!=_0xf8ecd5['suggestionsV2']&&_0xf8ecd5['suggestionsV2']['length']){for(_0x487667=0x0;_0x487667<_0xf8ecd5['suggestionsV2']['length'];++_0x487667)_0x4a240c['SuggestionDescriptor']['encode'](_0xf8ecd5['suggestionsV2'][_0x487667],_0x1fc72c['uint32'](0x1a)['fork']())['ldelim']();}return _0x1fc72c;},_0x269acc['encodeDelimited']=function(_0x34eadc,_0x2cf81c){return this['encode'](_0x34eadc,_0x2cf81c)['ldelim']();},_0x269acc['decode']=function(_0x113858,_0x19b168,_0x1cd788){_0x113858 instanceof _0x338c0e||(_0x113858=_0x338c0e['create'](_0x113858));for(var _0x474a0c=void 0x0===_0x19b168?_0x113858['len']:_0x113858['pos']+_0x19b168,_0x344517=new _0x4a240c['TrackChangesConnectResponse']();_0x113858['pos']<_0x474a0c;){var _0x4b02a1=_0x113858['uint32']();if(_0x4b02a1===_0x1cd788)break;switch(_0x4b02a1>>>0x3){case 0x1:_0x344517['channel']=_0x113858['string']();break;case 0x2:_0x344517['suggestions']&&_0x344517['suggestions']['length']||(_0x344517['suggestions']=[]),_0x344517['suggestions']['push'](_0x113858['string']());break;case 0x3:_0x344517['suggestionsV2']&&_0x344517['suggestionsV2']['length']||(_0x344517['suggestionsV2']=[]),_0x344517['suggestionsV2']['push'](_0x4a240c['SuggestionDescriptor']['decode'](_0x113858,_0x113858['uint32']()));break;default:_0x113858['skipType'](0x7&_0x4b02a1);}}return _0x344517;},_0x269acc['decodeDelimited']=function(_0x5f30c1){return _0x5f30c1 instanceof _0x338c0e||(_0x5f30c1=new _0x338c0e(_0x5f30c1)),this['decode'](_0x5f30c1,_0x5f30c1['uint32']());},_0x269acc['verify']=function(_0x4081f8){if('object'!=typeof _0x4081f8||null===_0x4081f8)return'object\x20expected';if(null!=_0x4081f8['channel']&&_0x4081f8['hasOwnProperty']('channel')&&!_0x55d06d['isString'](_0x4081f8['channel']))return'channel:\x20string\x20expected';if(null!=_0x4081f8['suggestions']&&_0x4081f8['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x4081f8['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x314dff=0x0;_0x314dff<_0x4081f8['suggestions']['length'];++_0x314dff)if(!_0x55d06d['isString'](_0x4081f8['suggestions'][_0x314dff]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x4081f8['suggestionsV2']&&_0x4081f8['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x4081f8['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x314dff=0x0;_0x314dff<_0x4081f8['suggestionsV2']['length'];++_0x314dff){var _0xa76b64=_0x4a240c['SuggestionDescriptor']['verify'](_0x4081f8['suggestionsV2'][_0x314dff]);if(_0xa76b64)return'suggestionsV2.'+_0xa76b64;}}return null;},_0x269acc['fromObject']=function(_0x3f433e){if(_0x3f433e instanceof _0x4a240c['TrackChangesConnectResponse'])return _0x3f433e;var _0x31fd07=new _0x4a240c['TrackChangesConnectResponse']();if(null!=_0x3f433e['channel']&&(_0x31fd07['channel']=String(_0x3f433e['channel'])),_0x3f433e['suggestions']){if(!Array['isArray'](_0x3f433e['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x31fd07['suggestions']=[];for(var _0x4dcf69=0x0;_0x4dcf69<_0x3f433e['suggestions']['length'];++_0x4dcf69)_0x31fd07['suggestions'][_0x4dcf69]=String(_0x3f433e['suggestions'][_0x4dcf69]);}if(_0x3f433e['suggestionsV2']){if(!Array['isArray'](_0x3f433e['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x31fd07['suggestionsV2']=[],_0x4dcf69=0x0;_0x4dcf69<_0x3f433e['suggestionsV2']['length'];++_0x4dcf69){if('object'!=typeof _0x3f433e['suggestionsV2'][_0x4dcf69])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x31fd07['suggestionsV2'][_0x4dcf69]=_0x4a240c['SuggestionDescriptor']['fromObject'](_0x3f433e['suggestionsV2'][_0x4dcf69]);}}return _0x31fd07;},_0x269acc['toObject']=function(_0x592fad,_0x25c64b){_0x25c64b||(_0x25c64b={});var _0x475dc2={};if((_0x25c64b['arrays']||_0x25c64b['defaults'])&&(_0x475dc2['suggestions']=[],_0x475dc2['suggestionsV2']=[]),_0x25c64b['defaults']&&(_0x475dc2['channel']=''),null!=_0x592fad['channel']&&_0x592fad['hasOwnProperty']('channel')&&(_0x475dc2['channel']=_0x592fad['channel']),_0x592fad['suggestions']&&_0x592fad['suggestions']['length']){_0x475dc2['suggestions']=[];for(var _0x7d32b3=0x0;_0x7d32b3<_0x592fad['suggestions']['length'];++_0x7d32b3)_0x475dc2['suggestions'][_0x7d32b3]=_0x592fad['suggestions'][_0x7d32b3];}if(_0x592fad['suggestionsV2']&&_0x592fad['suggestionsV2']['length']){for(_0x475dc2['suggestionsV2']=[],_0x7d32b3=0x0;_0x7d32b3<_0x592fad['suggestionsV2']['length'];++_0x7d32b3)_0x475dc2['suggestionsV2'][_0x7d32b3]=_0x4a240c['SuggestionDescriptor']['toObject'](_0x592fad['suggestionsV2'][_0x7d32b3],_0x25c64b);}return _0x475dc2;},_0x269acc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x269acc['getTypeUrl']=function(_0x1fcb00){return void 0x0===_0x1fcb00&&(_0x1fcb00='type.googleapis.com'),_0x1fcb00+'/TrackChangesConnectResponse';},_0x269acc;}()),_0x4a240c['TrackChangesAddSuggestionResponse']=(function(){function _0x2f989c(_0xc6c448){if(_0xc6c448){for(var _0x40e094=Object['keys'](_0xc6c448),_0x440c70=0x0;_0x440c70<_0x40e094['length'];++_0x440c70)null!=_0xc6c448[_0x40e094[_0x440c70]]&&(this[_0x40e094[_0x440c70]]=_0xc6c448[_0x40e094[_0x440c70]]);}}return _0x2f989c['prototype']['id']='',_0x2f989c['prototype']['authorId']='',_0x2f989c['prototype']['type']='',_0x2f989c['prototype']['createdAt']='',_0x2f989c['prototype']['data']='',_0x2f989c['prototype']['hasComments']=!0x1,_0x2f989c['prototype']['state']='',_0x2f989c['prototype']['attributes']='',_0x2f989c['create']=function(_0x51d86a){return new _0x2f989c(_0x51d86a);},_0x2f989c['encode']=function(_0x389359,_0x353ca5){return _0x353ca5||(_0x353ca5=_0x34769a['create']()),null!=_0x389359['id']&&Object['hasOwnProperty']['call'](_0x389359,'id')&&_0x353ca5['uint32'](0xa)['string'](_0x389359['id']),null!=_0x389359['authorId']&&Object['hasOwnProperty']['call'](_0x389359,'authorId')&&_0x353ca5['uint32'](0x12)['string'](_0x389359['authorId']),null!=_0x389359['type']&&Object['hasOwnProperty']['call'](_0x389359,'type')&&_0x353ca5['uint32'](0x1a)['string'](_0x389359['type']),null!=_0x389359['createdAt']&&Object['hasOwnProperty']['call'](_0x389359,'createdAt')&&_0x353ca5['uint32'](0x22)['string'](_0x389359['createdAt']),null!=_0x389359['data']&&Object['hasOwnProperty']['call'](_0x389359,'data')&&_0x353ca5['uint32'](0x2a)['string'](_0x389359['data']),null!=_0x389359['hasComments']&&Object['hasOwnProperty']['call'](_0x389359,'hasComments')&&_0x353ca5['uint32'](0x30)['bool'](_0x389359['hasComments']),null!=_0x389359['state']&&Object['hasOwnProperty']['call'](_0x389359,'state')&&_0x353ca5['uint32'](0x3a)['string'](_0x389359['state']),null!=_0x389359['attributes']&&Object['hasOwnProperty']['call'](_0x389359,'attributes')&&_0x353ca5['uint32'](0x42)['string'](_0x389359['attributes']),_0x353ca5;},_0x2f989c['encodeDelimited']=function(_0x1cd9d4,_0x4bf9ba){return this['encode'](_0x1cd9d4,_0x4bf9ba)['ldelim']();},_0x2f989c['decode']=function(_0x4d1892,_0x56198e,_0x3eaad9){_0x4d1892 instanceof _0x338c0e||(_0x4d1892=_0x338c0e['create'](_0x4d1892));for(var _0x283046=void 0x0===_0x56198e?_0x4d1892['len']:_0x4d1892['pos']+_0x56198e,_0x308f73=new _0x4a240c['TrackChangesAddSuggestionResponse']();_0x4d1892['pos']<_0x283046;){var _0x2325c5=_0x4d1892['uint32']();if(_0x2325c5===_0x3eaad9)break;switch(_0x2325c5>>>0x3){case 0x1:_0x308f73['id']=_0x4d1892['string']();break;case 0x2:_0x308f73['authorId']=_0x4d1892['string']();break;case 0x3:_0x308f73['type']=_0x4d1892['string']();break;case 0x4:_0x308f73['createdAt']=_0x4d1892['string']();break;case 0x5:_0x308f73['data']=_0x4d1892['string']();break;case 0x6:_0x308f73['hasComments']=_0x4d1892['bool']();break;case 0x7:_0x308f73['state']=_0x4d1892['string']();break;case 0x8:_0x308f73['attributes']=_0x4d1892['string']();break;default:_0x4d1892['skipType'](0x7&_0x2325c5);}}return _0x308f73;},_0x2f989c['decodeDelimited']=function(_0x24100e){return _0x24100e instanceof _0x338c0e||(_0x24100e=new _0x338c0e(_0x24100e)),this['decode'](_0x24100e,_0x24100e['uint32']());},_0x2f989c['verify']=function(_0x2b2970){return'object'!=typeof _0x2b2970||null===_0x2b2970?'object\x20expected':null!=_0x2b2970['id']&&_0x2b2970['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x2b2970['id'])?'id:\x20string\x20expected':null!=_0x2b2970['authorId']&&_0x2b2970['hasOwnProperty']('authorId')&&!_0x55d06d['isString'](_0x2b2970['authorId'])?'authorId:\x20string\x20expected':null!=_0x2b2970['type']&&_0x2b2970['hasOwnProperty']('type')&&!_0x55d06d['isString'](_0x2b2970['type'])?'type:\x20string\x20expected':null!=_0x2b2970['createdAt']&&_0x2b2970['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x2b2970['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2b2970['data']&&_0x2b2970['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x2b2970['data'])?'data:\x20string\x20expected':null!=_0x2b2970['hasComments']&&_0x2b2970['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2b2970['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2b2970['state']&&_0x2b2970['hasOwnProperty']('state')&&!_0x55d06d['isString'](_0x2b2970['state'])?'state:\x20string\x20expected':null!=_0x2b2970['attributes']&&_0x2b2970['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x2b2970['attributes'])?'attributes:\x20string\x20expected':null;},_0x2f989c['fromObject']=function(_0x5ad2a6){if(_0x5ad2a6 instanceof _0x4a240c['TrackChangesAddSuggestionResponse'])return _0x5ad2a6;var _0x23e2ee=new _0x4a240c['TrackChangesAddSuggestionResponse']();return null!=_0x5ad2a6['id']&&(_0x23e2ee['id']=String(_0x5ad2a6['id'])),null!=_0x5ad2a6['authorId']&&(_0x23e2ee['authorId']=String(_0x5ad2a6['authorId'])),null!=_0x5ad2a6['type']&&(_0x23e2ee['type']=String(_0x5ad2a6['type'])),null!=_0x5ad2a6['createdAt']&&(_0x23e2ee['createdAt']=String(_0x5ad2a6['createdAt'])),null!=_0x5ad2a6['data']&&(_0x23e2ee['data']=String(_0x5ad2a6['data'])),null!=_0x5ad2a6['hasComments']&&(_0x23e2ee['hasComments']=Boolean(_0x5ad2a6['hasComments'])),null!=_0x5ad2a6['state']&&(_0x23e2ee['state']=String(_0x5ad2a6['state'])),null!=_0x5ad2a6['attributes']&&(_0x23e2ee['attributes']=String(_0x5ad2a6['attributes'])),_0x23e2ee;},_0x2f989c['toObject']=function(_0x1bc15d,_0x338471){_0x338471||(_0x338471={});var _0xa5ce8c={};return _0x338471['defaults']&&(_0xa5ce8c['id']='',_0xa5ce8c['authorId']='',_0xa5ce8c['type']='',_0xa5ce8c['createdAt']='',_0xa5ce8c['data']='',_0xa5ce8c['hasComments']=!0x1,_0xa5ce8c['state']='',_0xa5ce8c['attributes']=''),null!=_0x1bc15d['id']&&_0x1bc15d['hasOwnProperty']('id')&&(_0xa5ce8c['id']=_0x1bc15d['id']),null!=_0x1bc15d['authorId']&&_0x1bc15d['hasOwnProperty']('authorId')&&(_0xa5ce8c['authorId']=_0x1bc15d['authorId']),null!=_0x1bc15d['type']&&_0x1bc15d['hasOwnProperty']('type')&&(_0xa5ce8c['type']=_0x1bc15d['type']),null!=_0x1bc15d['createdAt']&&_0x1bc15d['hasOwnProperty']('createdAt')&&(_0xa5ce8c['createdAt']=_0x1bc15d['createdAt']),null!=_0x1bc15d['data']&&_0x1bc15d['hasOwnProperty']('data')&&(_0xa5ce8c['data']=_0x1bc15d['data']),null!=_0x1bc15d['hasComments']&&_0x1bc15d['hasOwnProperty']('hasComments')&&(_0xa5ce8c['hasComments']=_0x1bc15d['hasComments']),null!=_0x1bc15d['state']&&_0x1bc15d['hasOwnProperty']('state')&&(_0xa5ce8c['state']=_0x1bc15d['state']),null!=_0x1bc15d['attributes']&&_0x1bc15d['hasOwnProperty']('attributes')&&(_0xa5ce8c['attributes']=_0x1bc15d['attributes']),_0xa5ce8c;},_0x2f989c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2f989c['getTypeUrl']=function(_0x4593a6){return void 0x0===_0x4593a6&&(_0x4593a6='type.googleapis.com'),_0x4593a6+'/TrackChangesAddSuggestionResponse';},_0x2f989c;}()),_0x4a240c['TrackChangesUpdateSuggestionMessage']=(function(){function _0x3f7020(_0x13fc24){if(_0x13fc24){for(var _0x368d01=Object['keys'](_0x13fc24),_0x16eb44=0x0;_0x16eb44<_0x368d01['length'];++_0x16eb44)null!=_0x13fc24[_0x368d01[_0x16eb44]]&&(this[_0x368d01[_0x16eb44]]=_0x13fc24[_0x368d01[_0x16eb44]]);}}return _0x3f7020['prototype']['id']='',_0x3f7020['prototype']['documentId']='',_0x3f7020['prototype']['hasComments']=!0x1,_0x3f7020['prototype']['isHasCommentsModified']=!0x1,_0x3f7020['prototype']['state']='',_0x3f7020['prototype']['attributes']='',_0x3f7020['create']=function(_0xcdba6f){return new _0x3f7020(_0xcdba6f);},_0x3f7020['encode']=function(_0x409d37,_0x1b70e2){return _0x1b70e2||(_0x1b70e2=_0x34769a['create']()),null!=_0x409d37['id']&&Object['hasOwnProperty']['call'](_0x409d37,'id')&&_0x1b70e2['uint32'](0xa)['string'](_0x409d37['id']),null!=_0x409d37['documentId']&&Object['hasOwnProperty']['call'](_0x409d37,'documentId')&&_0x1b70e2['uint32'](0x12)['string'](_0x409d37['documentId']),null!=_0x409d37['hasComments']&&Object['hasOwnProperty']['call'](_0x409d37,'hasComments')&&_0x1b70e2['uint32'](0x18)['bool'](_0x409d37['hasComments']),null!=_0x409d37['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x409d37,'isHasCommentsModified')&&_0x1b70e2['uint32'](0x20)['bool'](_0x409d37['isHasCommentsModified']),null!=_0x409d37['state']&&Object['hasOwnProperty']['call'](_0x409d37,'state')&&_0x1b70e2['uint32'](0x2a)['string'](_0x409d37['state']),null!=_0x409d37['attributes']&&Object['hasOwnProperty']['call'](_0x409d37,'attributes')&&_0x1b70e2['uint32'](0x32)['string'](_0x409d37['attributes']),_0x1b70e2;},_0x3f7020['encodeDelimited']=function(_0x317e41,_0x1d445a){return this['encode'](_0x317e41,_0x1d445a)['ldelim']();},_0x3f7020['decode']=function(_0x387ed0,_0x490d89,_0x39b0fd){_0x387ed0 instanceof _0x338c0e||(_0x387ed0=_0x338c0e['create'](_0x387ed0));for(var _0x4fd07c=void 0x0===_0x490d89?_0x387ed0['len']:_0x387ed0['pos']+_0x490d89,_0xfea373=new _0x4a240c['TrackChangesUpdateSuggestionMessage']();_0x387ed0['pos']<_0x4fd07c;){var _0xe6eb91=_0x387ed0['uint32']();if(_0xe6eb91===_0x39b0fd)break;switch(_0xe6eb91>>>0x3){case 0x1:_0xfea373['id']=_0x387ed0['string']();break;case 0x2:_0xfea373['documentId']=_0x387ed0['string']();break;case 0x3:_0xfea373['hasComments']=_0x387ed0['bool']();break;case 0x4:_0xfea373['isHasCommentsModified']=_0x387ed0['bool']();break;case 0x5:_0xfea373['state']=_0x387ed0['string']();break;case 0x6:_0xfea373['attributes']=_0x387ed0['string']();break;default:_0x387ed0['skipType'](0x7&_0xe6eb91);}}return _0xfea373;},_0x3f7020['decodeDelimited']=function(_0x560d69){return _0x560d69 instanceof _0x338c0e||(_0x560d69=new _0x338c0e(_0x560d69)),this['decode'](_0x560d69,_0x560d69['uint32']());},_0x3f7020['verify']=function(_0x34bcd0){return'object'!=typeof _0x34bcd0||null===_0x34bcd0?'object\x20expected':null!=_0x34bcd0['id']&&_0x34bcd0['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x34bcd0['id'])?'id:\x20string\x20expected':null!=_0x34bcd0['documentId']&&_0x34bcd0['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x34bcd0['documentId'])?'documentId:\x20string\x20expected':null!=_0x34bcd0['hasComments']&&_0x34bcd0['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x34bcd0['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x34bcd0['isHasCommentsModified']&&_0x34bcd0['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x34bcd0['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x34bcd0['state']&&_0x34bcd0['hasOwnProperty']('state')&&!_0x55d06d['isString'](_0x34bcd0['state'])?'state:\x20string\x20expected':null!=_0x34bcd0['attributes']&&_0x34bcd0['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x34bcd0['attributes'])?'attributes:\x20string\x20expected':null;},_0x3f7020['fromObject']=function(_0x877d6b){if(_0x877d6b instanceof _0x4a240c['TrackChangesUpdateSuggestionMessage'])return _0x877d6b;var _0x46bce1=new _0x4a240c['TrackChangesUpdateSuggestionMessage']();return null!=_0x877d6b['id']&&(_0x46bce1['id']=String(_0x877d6b['id'])),null!=_0x877d6b['documentId']&&(_0x46bce1['documentId']=String(_0x877d6b['documentId'])),null!=_0x877d6b['hasComments']&&(_0x46bce1['hasComments']=Boolean(_0x877d6b['hasComments'])),null!=_0x877d6b['isHasCommentsModified']&&(_0x46bce1['isHasCommentsModified']=Boolean(_0x877d6b['isHasCommentsModified'])),null!=_0x877d6b['state']&&(_0x46bce1['state']=String(_0x877d6b['state'])),null!=_0x877d6b['attributes']&&(_0x46bce1['attributes']=String(_0x877d6b['attributes'])),_0x46bce1;},_0x3f7020['toObject']=function(_0x2decca,_0x10ce89){_0x10ce89||(_0x10ce89={});var _0x3450eb={};return _0x10ce89['defaults']&&(_0x3450eb['id']='',_0x3450eb['documentId']='',_0x3450eb['hasComments']=!0x1,_0x3450eb['isHasCommentsModified']=!0x1,_0x3450eb['state']='',_0x3450eb['attributes']=''),null!=_0x2decca['id']&&_0x2decca['hasOwnProperty']('id')&&(_0x3450eb['id']=_0x2decca['id']),null!=_0x2decca['documentId']&&_0x2decca['hasOwnProperty']('documentId')&&(_0x3450eb['documentId']=_0x2decca['documentId']),null!=_0x2decca['hasComments']&&_0x2decca['hasOwnProperty']('hasComments')&&(_0x3450eb['hasComments']=_0x2decca['hasComments']),null!=_0x2decca['isHasCommentsModified']&&_0x2decca['hasOwnProperty']('isHasCommentsModified')&&(_0x3450eb['isHasCommentsModified']=_0x2decca['isHasCommentsModified']),null!=_0x2decca['state']&&_0x2decca['hasOwnProperty']('state')&&(_0x3450eb['state']=_0x2decca['state']),null!=_0x2decca['attributes']&&_0x2decca['hasOwnProperty']('attributes')&&(_0x3450eb['attributes']=_0x2decca['attributes']),_0x3450eb;},_0x3f7020['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3f7020['getTypeUrl']=function(_0xabc2dc){return void 0x0===_0xabc2dc&&(_0xabc2dc='type.googleapis.com'),_0xabc2dc+'/TrackChangesUpdateSuggestionMessage';},_0x3f7020;}()),_0x4a240c['TrackChangesGetSuggestionMessage']=(function(){function _0x4d0d83(_0x2ca1f9){if(_0x2ca1f9){for(var _0x475541=Object['keys'](_0x2ca1f9),_0x1ae6da=0x0;_0x1ae6da<_0x475541['length'];++_0x1ae6da)null!=_0x2ca1f9[_0x475541[_0x1ae6da]]&&(this[_0x475541[_0x1ae6da]]=_0x2ca1f9[_0x475541[_0x1ae6da]]);}}return _0x4d0d83['prototype']['id']='',_0x4d0d83['prototype']['documentId']='',_0x4d0d83['create']=function(_0x2dacd7){return new _0x4d0d83(_0x2dacd7);},_0x4d0d83['encode']=function(_0x18c04e,_0x1f3c2b){return _0x1f3c2b||(_0x1f3c2b=_0x34769a['create']()),null!=_0x18c04e['id']&&Object['hasOwnProperty']['call'](_0x18c04e,'id')&&_0x1f3c2b['uint32'](0xa)['string'](_0x18c04e['id']),null!=_0x18c04e['documentId']&&Object['hasOwnProperty']['call'](_0x18c04e,'documentId')&&_0x1f3c2b['uint32'](0x12)['string'](_0x18c04e['documentId']),_0x1f3c2b;},_0x4d0d83['encodeDelimited']=function(_0x89b7de,_0x191510){return this['encode'](_0x89b7de,_0x191510)['ldelim']();},_0x4d0d83['decode']=function(_0x49f108,_0x2177be,_0x110bcc){_0x49f108 instanceof _0x338c0e||(_0x49f108=_0x338c0e['create'](_0x49f108));for(var _0x47a654=void 0x0===_0x2177be?_0x49f108['len']:_0x49f108['pos']+_0x2177be,_0x2080e6=new _0x4a240c['TrackChangesGetSuggestionMessage']();_0x49f108['pos']<_0x47a654;){var _0xeae048=_0x49f108['uint32']();if(_0xeae048===_0x110bcc)break;switch(_0xeae048>>>0x3){case 0x1:_0x2080e6['id']=_0x49f108['string']();break;case 0x2:_0x2080e6['documentId']=_0x49f108['string']();break;default:_0x49f108['skipType'](0x7&_0xeae048);}}return _0x2080e6;},_0x4d0d83['decodeDelimited']=function(_0x84fbe8){return _0x84fbe8 instanceof _0x338c0e||(_0x84fbe8=new _0x338c0e(_0x84fbe8)),this['decode'](_0x84fbe8,_0x84fbe8['uint32']());},_0x4d0d83['verify']=function(_0x1f4d06){return'object'!=typeof _0x1f4d06||null===_0x1f4d06?'object\x20expected':null!=_0x1f4d06['id']&&_0x1f4d06['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x1f4d06['id'])?'id:\x20string\x20expected':null!=_0x1f4d06['documentId']&&_0x1f4d06['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x1f4d06['documentId'])?'documentId:\x20string\x20expected':null;},_0x4d0d83['fromObject']=function(_0x65d81e){if(_0x65d81e instanceof _0x4a240c['TrackChangesGetSuggestionMessage'])return _0x65d81e;var _0xdf9ba1=new _0x4a240c['TrackChangesGetSuggestionMessage']();return null!=_0x65d81e['id']&&(_0xdf9ba1['id']=String(_0x65d81e['id'])),null!=_0x65d81e['documentId']&&(_0xdf9ba1['documentId']=String(_0x65d81e['documentId'])),_0xdf9ba1;},_0x4d0d83['toObject']=function(_0x14475c,_0x1c1893){_0x1c1893||(_0x1c1893={});var _0x32930c={};return _0x1c1893['defaults']&&(_0x32930c['id']='',_0x32930c['documentId']=''),null!=_0x14475c['id']&&_0x14475c['hasOwnProperty']('id')&&(_0x32930c['id']=_0x14475c['id']),null!=_0x14475c['documentId']&&_0x14475c['hasOwnProperty']('documentId')&&(_0x32930c['documentId']=_0x14475c['documentId']),_0x32930c;},_0x4d0d83['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4d0d83['getTypeUrl']=function(_0x2960ae){return void 0x0===_0x2960ae&&(_0x2960ae='type.googleapis.com'),_0x2960ae+'/TrackChangesGetSuggestionMessage';},_0x4d0d83;}()),_0x4a240c['TrackChangesGetAllSuggestionMessage']=(function(){function _0x28fd68(_0x2f4de6){if(_0x2f4de6){for(var _0x2e531d=Object['keys'](_0x2f4de6),_0x144649=0x0;_0x144649<_0x2e531d['length'];++_0x144649)null!=_0x2f4de6[_0x2e531d[_0x144649]]&&(this[_0x2e531d[_0x144649]]=_0x2f4de6[_0x2e531d[_0x144649]]);}}return _0x28fd68['prototype']['documentId']='',_0x28fd68['create']=function(_0x205df1){return new _0x28fd68(_0x205df1);},_0x28fd68['encode']=function(_0x8ff7ac,_0x39d2d9){return _0x39d2d9||(_0x39d2d9=_0x34769a['create']()),null!=_0x8ff7ac['documentId']&&Object['hasOwnProperty']['call'](_0x8ff7ac,'documentId')&&_0x39d2d9['uint32'](0xa)['string'](_0x8ff7ac['documentId']),_0x39d2d9;},_0x28fd68['encodeDelimited']=function(_0x20230b,_0x283bed){return this['encode'](_0x20230b,_0x283bed)['ldelim']();},_0x28fd68['decode']=function(_0x2bbad1,_0x1b4ae6,_0x49d725){_0x2bbad1 instanceof _0x338c0e||(_0x2bbad1=_0x338c0e['create'](_0x2bbad1));for(var _0x4f915e=void 0x0===_0x1b4ae6?_0x2bbad1['len']:_0x2bbad1['pos']+_0x1b4ae6,_0x1c99ea=new _0x4a240c['TrackChangesGetAllSuggestionMessage']();_0x2bbad1['pos']<_0x4f915e;){var _0x1409eb=_0x2bbad1['uint32']();if(_0x1409eb===_0x49d725)break;_0x1409eb>>>0x3==0x1?_0x1c99ea['documentId']=_0x2bbad1['string']():_0x2bbad1['skipType'](0x7&_0x1409eb);}return _0x1c99ea;},_0x28fd68['decodeDelimited']=function(_0x5064fd){return _0x5064fd instanceof _0x338c0e||(_0x5064fd=new _0x338c0e(_0x5064fd)),this['decode'](_0x5064fd,_0x5064fd['uint32']());},_0x28fd68['verify']=function(_0x5a2b13){return'object'!=typeof _0x5a2b13||null===_0x5a2b13?'object\x20expected':null!=_0x5a2b13['documentId']&&_0x5a2b13['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x5a2b13['documentId'])?'documentId:\x20string\x20expected':null;},_0x28fd68['fromObject']=function(_0x553866){if(_0x553866 instanceof _0x4a240c['TrackChangesGetAllSuggestionMessage'])return _0x553866;var _0x54ce53=new _0x4a240c['TrackChangesGetAllSuggestionMessage']();return null!=_0x553866['documentId']&&(_0x54ce53['documentId']=String(_0x553866['documentId'])),_0x54ce53;},_0x28fd68['toObject']=function(_0x1c79b1,_0x138c38){_0x138c38||(_0x138c38={});var _0x4bf744={};return _0x138c38['defaults']&&(_0x4bf744['documentId']=''),null!=_0x1c79b1['documentId']&&_0x1c79b1['hasOwnProperty']('documentId')&&(_0x4bf744['documentId']=_0x1c79b1['documentId']),_0x4bf744;},_0x28fd68['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x28fd68['getTypeUrl']=function(_0x22fa1a){return void 0x0===_0x22fa1a&&(_0x22fa1a='type.googleapis.com'),_0x22fa1a+'/TrackChangesGetAllSuggestionMessage';},_0x28fd68;}()),_0x4a240c['TrackChangesConnectMessage']=(function(){function _0x4588e4(_0x3fed62){if(_0x3fed62){for(var _0x4643d9=Object['keys'](_0x3fed62),_0xb58c24=0x0;_0xb58c24<_0x4643d9['length'];++_0xb58c24)null!=_0x3fed62[_0x4643d9[_0xb58c24]]&&(this[_0x4643d9[_0xb58c24]]=_0x3fed62[_0x4643d9[_0xb58c24]]);}}return _0x4588e4['prototype']['documentId']='',_0x4588e4['create']=function(_0x3e8992){return new _0x4588e4(_0x3e8992);},_0x4588e4['encode']=function(_0x58bc11,_0x4a242c){return _0x4a242c||(_0x4a242c=_0x34769a['create']()),null!=_0x58bc11['documentId']&&Object['hasOwnProperty']['call'](_0x58bc11,'documentId')&&_0x4a242c['uint32'](0xa)['string'](_0x58bc11['documentId']),_0x4a242c;},_0x4588e4['encodeDelimited']=function(_0x1cafdd,_0x55696d){return this['encode'](_0x1cafdd,_0x55696d)['ldelim']();},_0x4588e4['decode']=function(_0x5f589c,_0x25728e,_0x5e4393){_0x5f589c instanceof _0x338c0e||(_0x5f589c=_0x338c0e['create'](_0x5f589c));for(var _0x574aec=void 0x0===_0x25728e?_0x5f589c['len']:_0x5f589c['pos']+_0x25728e,_0x27358d=new _0x4a240c['TrackChangesConnectMessage']();_0x5f589c['pos']<_0x574aec;){var _0xd7c23b=_0x5f589c['uint32']();if(_0xd7c23b===_0x5e4393)break;_0xd7c23b>>>0x3==0x1?_0x27358d['documentId']=_0x5f589c['string']():_0x5f589c['skipType'](0x7&_0xd7c23b);}return _0x27358d;},_0x4588e4['decodeDelimited']=function(_0x35df35){return _0x35df35 instanceof _0x338c0e||(_0x35df35=new _0x338c0e(_0x35df35)),this['decode'](_0x35df35,_0x35df35['uint32']());},_0x4588e4['verify']=function(_0x36a337){return'object'!=typeof _0x36a337||null===_0x36a337?'object\x20expected':null!=_0x36a337['documentId']&&_0x36a337['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x36a337['documentId'])?'documentId:\x20string\x20expected':null;},_0x4588e4['fromObject']=function(_0x4920f6){if(_0x4920f6 instanceof _0x4a240c['TrackChangesConnectMessage'])return _0x4920f6;var _0x516435=new _0x4a240c['TrackChangesConnectMessage']();return null!=_0x4920f6['documentId']&&(_0x516435['documentId']=String(_0x4920f6['documentId'])),_0x516435;},_0x4588e4['toObject']=function(_0x134b37,_0x581670){_0x581670||(_0x581670={});var _0x4ba6ae={};return _0x581670['defaults']&&(_0x4ba6ae['documentId']=''),null!=_0x134b37['documentId']&&_0x134b37['hasOwnProperty']('documentId')&&(_0x4ba6ae['documentId']=_0x134b37['documentId']),_0x4ba6ae;},_0x4588e4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4588e4['getTypeUrl']=function(_0x1388d1){return void 0x0===_0x1388d1&&(_0x1388d1='type.googleapis.com'),_0x1388d1+'/TrackChangesConnectMessage';},_0x4588e4;}()),_0x4a240c['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x2c073b(_0x364dee){if(this['ids']=[],_0x364dee){for(var _0x6bf199=Object['keys'](_0x364dee),_0x1c96d7=0x0;_0x1c96d7<_0x6bf199['length'];++_0x1c96d7)null!=_0x364dee[_0x6bf199[_0x1c96d7]]&&(this[_0x6bf199[_0x1c96d7]]=_0x364dee[_0x6bf199[_0x1c96d7]]);}}return _0x2c073b['prototype']['ids']=_0x55d06d['emptyArray'],_0x2c073b['prototype']['documentId']='',_0x2c073b['prototype']['state']='',_0x2c073b['create']=function(_0xc8a8a7){return new _0x2c073b(_0xc8a8a7);},_0x2c073b['encode']=function(_0x15f872,_0x8ed7a6){if(_0x8ed7a6||(_0x8ed7a6=_0x34769a['create']()),null!=_0x15f872['ids']&&_0x15f872['ids']['length']){for(var _0x3b6a9d=0x0;_0x3b6a9d<_0x15f872['ids']['length'];++_0x3b6a9d)_0x8ed7a6['uint32'](0xa)['string'](_0x15f872['ids'][_0x3b6a9d]);}return null!=_0x15f872['documentId']&&Object['hasOwnProperty']['call'](_0x15f872,'documentId')&&_0x8ed7a6['uint32'](0x12)['string'](_0x15f872['documentId']),null!=_0x15f872['state']&&Object['hasOwnProperty']['call'](_0x15f872,'state')&&_0x8ed7a6['uint32'](0x1a)['string'](_0x15f872['state']),_0x8ed7a6;},_0x2c073b['encodeDelimited']=function(_0x2750af,_0x1c2de8){return this['encode'](_0x2750af,_0x1c2de8)['ldelim']();},_0x2c073b['decode']=function(_0x117441,_0x13ece0,_0x19aca4){_0x117441 instanceof _0x338c0e||(_0x117441=_0x338c0e['create'](_0x117441));for(var _0xfe5f51=void 0x0===_0x13ece0?_0x117441['len']:_0x117441['pos']+_0x13ece0,_0x3b459e=new _0x4a240c['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x117441['pos']<_0xfe5f51;){var _0x47f75a=_0x117441['uint32']();if(_0x47f75a===_0x19aca4)break;switch(_0x47f75a>>>0x3){case 0x1:_0x3b459e['ids']&&_0x3b459e['ids']['length']||(_0x3b459e['ids']=[]),_0x3b459e['ids']['push'](_0x117441['string']());break;case 0x2:_0x3b459e['documentId']=_0x117441['string']();break;case 0x3:_0x3b459e['state']=_0x117441['string']();break;default:_0x117441['skipType'](0x7&_0x47f75a);}}return _0x3b459e;},_0x2c073b['decodeDelimited']=function(_0x5124af){return _0x5124af instanceof _0x338c0e||(_0x5124af=new _0x338c0e(_0x5124af)),this['decode'](_0x5124af,_0x5124af['uint32']());},_0x2c073b['verify']=function(_0x8e6345){if('object'!=typeof _0x8e6345||null===_0x8e6345)return'object\x20expected';if(null!=_0x8e6345['ids']&&_0x8e6345['hasOwnProperty']('ids')){if(!Array['isArray'](_0x8e6345['ids']))return'ids:\x20array\x20expected';for(var _0x4f1722=0x0;_0x4f1722<_0x8e6345['ids']['length'];++_0x4f1722)if(!_0x55d06d['isString'](_0x8e6345['ids'][_0x4f1722]))return'ids:\x20string[]\x20expected';}return null!=_0x8e6345['documentId']&&_0x8e6345['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x8e6345['documentId'])?'documentId:\x20string\x20expected':null!=_0x8e6345['state']&&_0x8e6345['hasOwnProperty']('state')&&!_0x55d06d['isString'](_0x8e6345['state'])?'state:\x20string\x20expected':null;},_0x2c073b['fromObject']=function(_0x34109e){if(_0x34109e instanceof _0x4a240c['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x34109e;var _0x587f59=new _0x4a240c['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x34109e['ids']){if(!Array['isArray'](_0x34109e['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x587f59['ids']=[];for(var _0x3a5bc4=0x0;_0x3a5bc4<_0x34109e['ids']['length'];++_0x3a5bc4)_0x587f59['ids'][_0x3a5bc4]=String(_0x34109e['ids'][_0x3a5bc4]);}return null!=_0x34109e['documentId']&&(_0x587f59['documentId']=String(_0x34109e['documentId'])),null!=_0x34109e['state']&&(_0x587f59['state']=String(_0x34109e['state'])),_0x587f59;},_0x2c073b['toObject']=function(_0xaf6832,_0x10ffcd){_0x10ffcd||(_0x10ffcd={});var _0x8be0a1={};if((_0x10ffcd['arrays']||_0x10ffcd['defaults'])&&(_0x8be0a1['ids']=[]),_0x10ffcd['defaults']&&(_0x8be0a1['documentId']='',_0x8be0a1['state']=''),_0xaf6832['ids']&&_0xaf6832['ids']['length']){_0x8be0a1['ids']=[];for(var _0xeb9d00=0x0;_0xeb9d00<_0xaf6832['ids']['length'];++_0xeb9d00)_0x8be0a1['ids'][_0xeb9d00]=_0xaf6832['ids'][_0xeb9d00];}return null!=_0xaf6832['documentId']&&_0xaf6832['hasOwnProperty']('documentId')&&(_0x8be0a1['documentId']=_0xaf6832['documentId']),null!=_0xaf6832['state']&&_0xaf6832['hasOwnProperty']('state')&&(_0x8be0a1['state']=_0xaf6832['state']),_0x8be0a1;},_0x2c073b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2c073b['getTypeUrl']=function(_0x27bb2c){return void 0x0===_0x27bb2c&&(_0x27bb2c='type.googleapis.com'),_0x27bb2c+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x2c073b;}()),_0x4a240c['TrackChangesAddSuggestionMessage']=(function(){function _0x31c632(_0x2563e6){if(_0x2563e6){for(var _0x43cec2=Object['keys'](_0x2563e6),_0x1c8cf3=0x0;_0x1c8cf3<_0x43cec2['length'];++_0x1c8cf3)null!=_0x2563e6[_0x43cec2[_0x1c8cf3]]&&(this[_0x43cec2[_0x1c8cf3]]=_0x2563e6[_0x43cec2[_0x1c8cf3]]);}}return _0x31c632['prototype']['id']='',_0x31c632['prototype']['documentId']='',_0x31c632['prototype']['type']='',_0x31c632['prototype']['data']='',_0x31c632['prototype']['originalSuggestionId']='',_0x31c632['prototype']['attributes']='',_0x31c632['create']=function(_0xffaa97){return new _0x31c632(_0xffaa97);},_0x31c632['encode']=function(_0x594c16,_0x2f2b7a){return _0x2f2b7a||(_0x2f2b7a=_0x34769a['create']()),null!=_0x594c16['id']&&Object['hasOwnProperty']['call'](_0x594c16,'id')&&_0x2f2b7a['uint32'](0xa)['string'](_0x594c16['id']),null!=_0x594c16['documentId']&&Object['hasOwnProperty']['call'](_0x594c16,'documentId')&&_0x2f2b7a['uint32'](0x12)['string'](_0x594c16['documentId']),null!=_0x594c16['type']&&Object['hasOwnProperty']['call'](_0x594c16,'type')&&_0x2f2b7a['uint32'](0x1a)['string'](_0x594c16['type']),null!=_0x594c16['data']&&Object['hasOwnProperty']['call'](_0x594c16,'data')&&_0x2f2b7a['uint32'](0x22)['string'](_0x594c16['data']),null!=_0x594c16['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x594c16,'originalSuggestionId')&&_0x2f2b7a['uint32'](0x2a)['string'](_0x594c16['originalSuggestionId']),null!=_0x594c16['attributes']&&Object['hasOwnProperty']['call'](_0x594c16,'attributes')&&_0x2f2b7a['uint32'](0x32)['string'](_0x594c16['attributes']),_0x2f2b7a;},_0x31c632['encodeDelimited']=function(_0x2429aa,_0x11ca33){return this['encode'](_0x2429aa,_0x11ca33)['ldelim']();},_0x31c632['decode']=function(_0xef12e1,_0x1cc91c,_0x119878){_0xef12e1 instanceof _0x338c0e||(_0xef12e1=_0x338c0e['create'](_0xef12e1));for(var _0x5ef328=void 0x0===_0x1cc91c?_0xef12e1['len']:_0xef12e1['pos']+_0x1cc91c,_0x2545e5=new _0x4a240c['TrackChangesAddSuggestionMessage']();_0xef12e1['pos']<_0x5ef328;){var _0x5794ea=_0xef12e1['uint32']();if(_0x5794ea===_0x119878)break;switch(_0x5794ea>>>0x3){case 0x1:_0x2545e5['id']=_0xef12e1['string']();break;case 0x2:_0x2545e5['documentId']=_0xef12e1['string']();break;case 0x3:_0x2545e5['type']=_0xef12e1['string']();break;case 0x4:_0x2545e5['data']=_0xef12e1['string']();break;case 0x5:_0x2545e5['originalSuggestionId']=_0xef12e1['string']();break;case 0x6:_0x2545e5['attributes']=_0xef12e1['string']();break;default:_0xef12e1['skipType'](0x7&_0x5794ea);}}return _0x2545e5;},_0x31c632['decodeDelimited']=function(_0x5c1699){return _0x5c1699 instanceof _0x338c0e||(_0x5c1699=new _0x338c0e(_0x5c1699)),this['decode'](_0x5c1699,_0x5c1699['uint32']());},_0x31c632['verify']=function(_0x4508e0){return'object'!=typeof _0x4508e0||null===_0x4508e0?'object\x20expected':null!=_0x4508e0['id']&&_0x4508e0['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x4508e0['id'])?'id:\x20string\x20expected':null!=_0x4508e0['documentId']&&_0x4508e0['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x4508e0['documentId'])?'documentId:\x20string\x20expected':null!=_0x4508e0['type']&&_0x4508e0['hasOwnProperty']('type')&&!_0x55d06d['isString'](_0x4508e0['type'])?'type:\x20string\x20expected':null!=_0x4508e0['data']&&_0x4508e0['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x4508e0['data'])?'data:\x20string\x20expected':null!=_0x4508e0['originalSuggestionId']&&_0x4508e0['hasOwnProperty']('originalSuggestionId')&&!_0x55d06d['isString'](_0x4508e0['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x4508e0['attributes']&&_0x4508e0['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x4508e0['attributes'])?'attributes:\x20string\x20expected':null;},_0x31c632['fromObject']=function(_0x4d4bf2){if(_0x4d4bf2 instanceof _0x4a240c['TrackChangesAddSuggestionMessage'])return _0x4d4bf2;var _0x1b15a2=new _0x4a240c['TrackChangesAddSuggestionMessage']();return null!=_0x4d4bf2['id']&&(_0x1b15a2['id']=String(_0x4d4bf2['id'])),null!=_0x4d4bf2['documentId']&&(_0x1b15a2['documentId']=String(_0x4d4bf2['documentId'])),null!=_0x4d4bf2['type']&&(_0x1b15a2['type']=String(_0x4d4bf2['type'])),null!=_0x4d4bf2['data']&&(_0x1b15a2['data']=String(_0x4d4bf2['data'])),null!=_0x4d4bf2['originalSuggestionId']&&(_0x1b15a2['originalSuggestionId']=String(_0x4d4bf2['originalSuggestionId'])),null!=_0x4d4bf2['attributes']&&(_0x1b15a2['attributes']=String(_0x4d4bf2['attributes'])),_0x1b15a2;},_0x31c632['toObject']=function(_0x5ea4f7,_0x10f605){_0x10f605||(_0x10f605={});var _0x32e99c={};return _0x10f605['defaults']&&(_0x32e99c['id']='',_0x32e99c['documentId']='',_0x32e99c['type']='',_0x32e99c['data']='',_0x32e99c['originalSuggestionId']='',_0x32e99c['attributes']=''),null!=_0x5ea4f7['id']&&_0x5ea4f7['hasOwnProperty']('id')&&(_0x32e99c['id']=_0x5ea4f7['id']),null!=_0x5ea4f7['documentId']&&_0x5ea4f7['hasOwnProperty']('documentId')&&(_0x32e99c['documentId']=_0x5ea4f7['documentId']),null!=_0x5ea4f7['type']&&_0x5ea4f7['hasOwnProperty']('type')&&(_0x32e99c['type']=_0x5ea4f7['type']),null!=_0x5ea4f7['data']&&_0x5ea4f7['hasOwnProperty']('data')&&(_0x32e99c['data']=_0x5ea4f7['data']),null!=_0x5ea4f7['originalSuggestionId']&&_0x5ea4f7['hasOwnProperty']('originalSuggestionId')&&(_0x32e99c['originalSuggestionId']=_0x5ea4f7['originalSuggestionId']),null!=_0x5ea4f7['attributes']&&_0x5ea4f7['hasOwnProperty']('attributes')&&(_0x32e99c['attributes']=_0x5ea4f7['attributes']),_0x32e99c;},_0x31c632['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x31c632['getTypeUrl']=function(_0x33c463){return void 0x0===_0x33c463&&(_0x33c463='type.googleapis.com'),_0x33c463+'/TrackChangesAddSuggestionMessage';},_0x31c632;}()),_0x4a240c['SuggestionDescriptor']=(function(){function _0x224322(_0xfa772d){if(_0xfa772d){for(var _0x4750f5=Object['keys'](_0xfa772d),_0x3b9f77=0x0;_0x3b9f77<_0x4750f5['length'];++_0x3b9f77)null!=_0xfa772d[_0x4750f5[_0x3b9f77]]&&(this[_0x4750f5[_0x3b9f77]]=_0xfa772d[_0x4750f5[_0x3b9f77]]);}}return _0x224322['prototype']['id']='',_0x224322['prototype']['authorId']='',_0x224322['prototype']['type']='',_0x224322['prototype']['createdAt']='',_0x224322['prototype']['data']='',_0x224322['prototype']['hasComments']=!0x1,_0x224322['prototype']['state']='',_0x224322['prototype']['attributes']='',_0x224322['create']=function(_0x1bab61){return new _0x224322(_0x1bab61);},_0x224322['encode']=function(_0x3bb312,_0x5adcb9){return _0x5adcb9||(_0x5adcb9=_0x34769a['create']()),null!=_0x3bb312['id']&&Object['hasOwnProperty']['call'](_0x3bb312,'id')&&_0x5adcb9['uint32'](0xa)['string'](_0x3bb312['id']),null!=_0x3bb312['authorId']&&Object['hasOwnProperty']['call'](_0x3bb312,'authorId')&&_0x5adcb9['uint32'](0x12)['string'](_0x3bb312['authorId']),null!=_0x3bb312['type']&&Object['hasOwnProperty']['call'](_0x3bb312,'type')&&_0x5adcb9['uint32'](0x1a)['string'](_0x3bb312['type']),null!=_0x3bb312['createdAt']&&Object['hasOwnProperty']['call'](_0x3bb312,'createdAt')&&_0x5adcb9['uint32'](0x22)['string'](_0x3bb312['createdAt']),null!=_0x3bb312['data']&&Object['hasOwnProperty']['call'](_0x3bb312,'data')&&_0x5adcb9['uint32'](0x2a)['string'](_0x3bb312['data']),null!=_0x3bb312['hasComments']&&Object['hasOwnProperty']['call'](_0x3bb312,'hasComments')&&_0x5adcb9['uint32'](0x30)['bool'](_0x3bb312['hasComments']),null!=_0x3bb312['state']&&Object['hasOwnProperty']['call'](_0x3bb312,'state')&&_0x5adcb9['uint32'](0x3a)['string'](_0x3bb312['state']),null!=_0x3bb312['attributes']&&Object['hasOwnProperty']['call'](_0x3bb312,'attributes')&&_0x5adcb9['uint32'](0x42)['string'](_0x3bb312['attributes']),_0x5adcb9;},_0x224322['encodeDelimited']=function(_0xa11d89,_0x1c9b8a){return this['encode'](_0xa11d89,_0x1c9b8a)['ldelim']();},_0x224322['decode']=function(_0x1a8430,_0x3cc0a1,_0x56d130){_0x1a8430 instanceof _0x338c0e||(_0x1a8430=_0x338c0e['create'](_0x1a8430));for(var _0x5a633a=void 0x0===_0x3cc0a1?_0x1a8430['len']:_0x1a8430['pos']+_0x3cc0a1,_0x55ba73=new _0x4a240c['SuggestionDescriptor']();_0x1a8430['pos']<_0x5a633a;){var _0x2895a6=_0x1a8430['uint32']();if(_0x2895a6===_0x56d130)break;switch(_0x2895a6>>>0x3){case 0x1:_0x55ba73['id']=_0x1a8430['string']();break;case 0x2:_0x55ba73['authorId']=_0x1a8430['string']();break;case 0x3:_0x55ba73['type']=_0x1a8430['string']();break;case 0x4:_0x55ba73['createdAt']=_0x1a8430['string']();break;case 0x5:_0x55ba73['data']=_0x1a8430['string']();break;case 0x6:_0x55ba73['hasComments']=_0x1a8430['bool']();break;case 0x7:_0x55ba73['state']=_0x1a8430['string']();break;case 0x8:_0x55ba73['attributes']=_0x1a8430['string']();break;default:_0x1a8430['skipType'](0x7&_0x2895a6);}}return _0x55ba73;},_0x224322['decodeDelimited']=function(_0x84b8d5){return _0x84b8d5 instanceof _0x338c0e||(_0x84b8d5=new _0x338c0e(_0x84b8d5)),this['decode'](_0x84b8d5,_0x84b8d5['uint32']());},_0x224322['verify']=function(_0x5ee64f){return'object'!=typeof _0x5ee64f||null===_0x5ee64f?'object\x20expected':null!=_0x5ee64f['id']&&_0x5ee64f['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x5ee64f['id'])?'id:\x20string\x20expected':null!=_0x5ee64f['authorId']&&_0x5ee64f['hasOwnProperty']('authorId')&&!_0x55d06d['isString'](_0x5ee64f['authorId'])?'authorId:\x20string\x20expected':null!=_0x5ee64f['type']&&_0x5ee64f['hasOwnProperty']('type')&&!_0x55d06d['isString'](_0x5ee64f['type'])?'type:\x20string\x20expected':null!=_0x5ee64f['createdAt']&&_0x5ee64f['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x5ee64f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5ee64f['data']&&_0x5ee64f['hasOwnProperty']('data')&&!_0x55d06d['isString'](_0x5ee64f['data'])?'data:\x20string\x20expected':null!=_0x5ee64f['hasComments']&&_0x5ee64f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x5ee64f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5ee64f['state']&&_0x5ee64f['hasOwnProperty']('state')&&!_0x55d06d['isString'](_0x5ee64f['state'])?'state:\x20string\x20expected':null!=_0x5ee64f['attributes']&&_0x5ee64f['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x5ee64f['attributes'])?'attributes:\x20string\x20expected':null;},_0x224322['fromObject']=function(_0x5c2c73){if(_0x5c2c73 instanceof _0x4a240c['SuggestionDescriptor'])return _0x5c2c73;var _0x2c8bc4=new _0x4a240c['SuggestionDescriptor']();return null!=_0x5c2c73['id']&&(_0x2c8bc4['id']=String(_0x5c2c73['id'])),null!=_0x5c2c73['authorId']&&(_0x2c8bc4['authorId']=String(_0x5c2c73['authorId'])),null!=_0x5c2c73['type']&&(_0x2c8bc4['type']=String(_0x5c2c73['type'])),null!=_0x5c2c73['createdAt']&&(_0x2c8bc4['createdAt']=String(_0x5c2c73['createdAt'])),null!=_0x5c2c73['data']&&(_0x2c8bc4['data']=String(_0x5c2c73['data'])),null!=_0x5c2c73['hasComments']&&(_0x2c8bc4['hasComments']=Boolean(_0x5c2c73['hasComments'])),null!=_0x5c2c73['state']&&(_0x2c8bc4['state']=String(_0x5c2c73['state'])),null!=_0x5c2c73['attributes']&&(_0x2c8bc4['attributes']=String(_0x5c2c73['attributes'])),_0x2c8bc4;},_0x224322['toObject']=function(_0x2d6a25,_0x46d279){_0x46d279||(_0x46d279={});var _0x57dd6a={};return _0x46d279['defaults']&&(_0x57dd6a['id']='',_0x57dd6a['authorId']='',_0x57dd6a['type']='',_0x57dd6a['createdAt']='',_0x57dd6a['data']='',_0x57dd6a['hasComments']=!0x1,_0x57dd6a['state']='',_0x57dd6a['attributes']=''),null!=_0x2d6a25['id']&&_0x2d6a25['hasOwnProperty']('id')&&(_0x57dd6a['id']=_0x2d6a25['id']),null!=_0x2d6a25['authorId']&&_0x2d6a25['hasOwnProperty']('authorId')&&(_0x57dd6a['authorId']=_0x2d6a25['authorId']),null!=_0x2d6a25['type']&&_0x2d6a25['hasOwnProperty']('type')&&(_0x57dd6a['type']=_0x2d6a25['type']),null!=_0x2d6a25['createdAt']&&_0x2d6a25['hasOwnProperty']('createdAt')&&(_0x57dd6a['createdAt']=_0x2d6a25['createdAt']),null!=_0x2d6a25['data']&&_0x2d6a25['hasOwnProperty']('data')&&(_0x57dd6a['data']=_0x2d6a25['data']),null!=_0x2d6a25['hasComments']&&_0x2d6a25['hasOwnProperty']('hasComments')&&(_0x57dd6a['hasComments']=_0x2d6a25['hasComments']),null!=_0x2d6a25['state']&&_0x2d6a25['hasOwnProperty']('state')&&(_0x57dd6a['state']=_0x2d6a25['state']),null!=_0x2d6a25['attributes']&&_0x2d6a25['hasOwnProperty']('attributes')&&(_0x57dd6a['attributes']=_0x2d6a25['attributes']),_0x57dd6a;},_0x224322['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x224322['getTypeUrl']=function(_0x382d58){return void 0x0===_0x382d58&&(_0x382d58='type.googleapis.com'),_0x382d58+'/SuggestionDescriptor';},_0x224322;}()),_0x4a240c['SessionsConnectResponse']=(function(){function _0x172e7e(_0x569169){if(this['sockets']=[],_0x569169){for(var _0x560067=Object['keys'](_0x569169),_0x2f563c=0x0;_0x2f563c<_0x560067['length'];++_0x2f563c)null!=_0x569169[_0x560067[_0x2f563c]]&&(this[_0x560067[_0x2f563c]]=_0x569169[_0x560067[_0x2f563c]]);}}return _0x172e7e['prototype']['channel']='',_0x172e7e['prototype']['sockets']=_0x55d06d['emptyArray'],_0x172e7e['create']=function(_0x36fbce){return new _0x172e7e(_0x36fbce);},_0x172e7e['encode']=function(_0x2546d9,_0x43a56f){if(_0x43a56f||(_0x43a56f=_0x34769a['create']()),null!=_0x2546d9['channel']&&Object['hasOwnProperty']['call'](_0x2546d9,'channel')&&_0x43a56f['uint32'](0xa)['string'](_0x2546d9['channel']),null!=_0x2546d9['sockets']&&_0x2546d9['sockets']['length']){for(var _0x320d8e=0x0;_0x320d8e<_0x2546d9['sockets']['length'];++_0x320d8e)_0x4a240c['SessionsSocketDescriptor']['encode'](_0x2546d9['sockets'][_0x320d8e],_0x43a56f['uint32'](0x12)['fork']())['ldelim']();}return _0x43a56f;},_0x172e7e['encodeDelimited']=function(_0x2cf6da,_0x4c33ae){return this['encode'](_0x2cf6da,_0x4c33ae)['ldelim']();},_0x172e7e['decode']=function(_0x5cf7b4,_0x6f350f,_0x2073cd){_0x5cf7b4 instanceof _0x338c0e||(_0x5cf7b4=_0x338c0e['create'](_0x5cf7b4));for(var _0x53e0ca=void 0x0===_0x6f350f?_0x5cf7b4['len']:_0x5cf7b4['pos']+_0x6f350f,_0x4c4692=new _0x4a240c['SessionsConnectResponse']();_0x5cf7b4['pos']<_0x53e0ca;){var _0x2afa1d=_0x5cf7b4['uint32']();if(_0x2afa1d===_0x2073cd)break;switch(_0x2afa1d>>>0x3){case 0x1:_0x4c4692['channel']=_0x5cf7b4['string']();break;case 0x2:_0x4c4692['sockets']&&_0x4c4692['sockets']['length']||(_0x4c4692['sockets']=[]),_0x4c4692['sockets']['push'](_0x4a240c['SessionsSocketDescriptor']['decode'](_0x5cf7b4,_0x5cf7b4['uint32']()));break;default:_0x5cf7b4['skipType'](0x7&_0x2afa1d);}}return _0x4c4692;},_0x172e7e['decodeDelimited']=function(_0x53dab0){return _0x53dab0 instanceof _0x338c0e||(_0x53dab0=new _0x338c0e(_0x53dab0)),this['decode'](_0x53dab0,_0x53dab0['uint32']());},_0x172e7e['verify']=function(_0x7bc9a9){if('object'!=typeof _0x7bc9a9||null===_0x7bc9a9)return'object\x20expected';if(null!=_0x7bc9a9['channel']&&_0x7bc9a9['hasOwnProperty']('channel')&&!_0x55d06d['isString'](_0x7bc9a9['channel']))return'channel:\x20string\x20expected';if(null!=_0x7bc9a9['sockets']&&_0x7bc9a9['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x7bc9a9['sockets']))return'sockets:\x20array\x20expected';for(var _0x383770=0x0;_0x383770<_0x7bc9a9['sockets']['length'];++_0x383770){var _0x5f4864=_0x4a240c['SessionsSocketDescriptor']['verify'](_0x7bc9a9['sockets'][_0x383770]);if(_0x5f4864)return'sockets.'+_0x5f4864;}}return null;},_0x172e7e['fromObject']=function(_0x5cf6a1){if(_0x5cf6a1 instanceof _0x4a240c['SessionsConnectResponse'])return _0x5cf6a1;var _0x57b242=new _0x4a240c['SessionsConnectResponse']();if(null!=_0x5cf6a1['channel']&&(_0x57b242['channel']=String(_0x5cf6a1['channel'])),_0x5cf6a1['sockets']){if(!Array['isArray'](_0x5cf6a1['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x57b242['sockets']=[];for(var _0x2528e0=0x0;_0x2528e0<_0x5cf6a1['sockets']['length'];++_0x2528e0){if('object'!=typeof _0x5cf6a1['sockets'][_0x2528e0])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x57b242['sockets'][_0x2528e0]=_0x4a240c['SessionsSocketDescriptor']['fromObject'](_0x5cf6a1['sockets'][_0x2528e0]);}}return _0x57b242;},_0x172e7e['toObject']=function(_0x31f1d5,_0x2e795f){_0x2e795f||(_0x2e795f={});var _0x26d9c3={};if((_0x2e795f['arrays']||_0x2e795f['defaults'])&&(_0x26d9c3['sockets']=[]),_0x2e795f['defaults']&&(_0x26d9c3['channel']=''),null!=_0x31f1d5['channel']&&_0x31f1d5['hasOwnProperty']('channel')&&(_0x26d9c3['channel']=_0x31f1d5['channel']),_0x31f1d5['sockets']&&_0x31f1d5['sockets']['length']){_0x26d9c3['sockets']=[];for(var _0x3fa80b=0x0;_0x3fa80b<_0x31f1d5['sockets']['length'];++_0x3fa80b)_0x26d9c3['sockets'][_0x3fa80b]=_0x4a240c['SessionsSocketDescriptor']['toObject'](_0x31f1d5['sockets'][_0x3fa80b],_0x2e795f);}return _0x26d9c3;},_0x172e7e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x172e7e['getTypeUrl']=function(_0x1dede8){return void 0x0===_0x1dede8&&(_0x1dede8='type.googleapis.com'),_0x1dede8+'/SessionsConnectResponse';},_0x172e7e;}()),_0x4a240c['SocketDisconnectMessage']=(function(){function _0x46a771(_0x112f58){if(_0x112f58){for(var _0x1f63b9=Object['keys'](_0x112f58),_0x108d8e=0x0;_0x108d8e<_0x1f63b9['length'];++_0x108d8e)null!=_0x112f58[_0x1f63b9[_0x108d8e]]&&(this[_0x1f63b9[_0x108d8e]]=_0x112f58[_0x1f63b9[_0x108d8e]]);}}return _0x46a771['prototype']['id']='',_0x46a771['create']=function(_0xd117ad){return new _0x46a771(_0xd117ad);},_0x46a771['encode']=function(_0x63ae34,_0x3b1bdc){return _0x3b1bdc||(_0x3b1bdc=_0x34769a['create']()),null!=_0x63ae34['id']&&Object['hasOwnProperty']['call'](_0x63ae34,'id')&&_0x3b1bdc['uint32'](0xa)['string'](_0x63ae34['id']),_0x3b1bdc;},_0x46a771['encodeDelimited']=function(_0x34cf24,_0x46360e){return this['encode'](_0x34cf24,_0x46360e)['ldelim']();},_0x46a771['decode']=function(_0x32c405,_0x11862b,_0x347e42){_0x32c405 instanceof _0x338c0e||(_0x32c405=_0x338c0e['create'](_0x32c405));for(var _0x17ec4b=void 0x0===_0x11862b?_0x32c405['len']:_0x32c405['pos']+_0x11862b,_0x29c88e=new _0x4a240c['SocketDisconnectMessage']();_0x32c405['pos']<_0x17ec4b;){var _0x52ed5a=_0x32c405['uint32']();if(_0x52ed5a===_0x347e42)break;_0x52ed5a>>>0x3==0x1?_0x29c88e['id']=_0x32c405['string']():_0x32c405['skipType'](0x7&_0x52ed5a);}return _0x29c88e;},_0x46a771['decodeDelimited']=function(_0x42053f){return _0x42053f instanceof _0x338c0e||(_0x42053f=new _0x338c0e(_0x42053f)),this['decode'](_0x42053f,_0x42053f['uint32']());},_0x46a771['verify']=function(_0x2b7dbe){return'object'!=typeof _0x2b7dbe||null===_0x2b7dbe?'object\x20expected':null!=_0x2b7dbe['id']&&_0x2b7dbe['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x2b7dbe['id'])?'id:\x20string\x20expected':null;},_0x46a771['fromObject']=function(_0x18b808){if(_0x18b808 instanceof _0x4a240c['SocketDisconnectMessage'])return _0x18b808;var _0x4ee4bc=new _0x4a240c['SocketDisconnectMessage']();return null!=_0x18b808['id']&&(_0x4ee4bc['id']=String(_0x18b808['id'])),_0x4ee4bc;},_0x46a771['toObject']=function(_0x1a1d2d,_0x218b46){_0x218b46||(_0x218b46={});var _0xc59f5c={};return _0x218b46['defaults']&&(_0xc59f5c['id']=''),null!=_0x1a1d2d['id']&&_0x1a1d2d['hasOwnProperty']('id')&&(_0xc59f5c['id']=_0x1a1d2d['id']),_0xc59f5c;},_0x46a771['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x46a771['getTypeUrl']=function(_0x4eea49){return void 0x0===_0x4eea49&&(_0x4eea49='type.googleapis.com'),_0x4eea49+'/SocketDisconnectMessage';},_0x46a771;}()),_0x4a240c['SocketConnectMessage']=(function(){function _0x1074f1(_0x56208c){if(this['permissions']=[],_0x56208c){for(var _0xf26dbc=Object['keys'](_0x56208c),_0x2c198f=0x0;_0x2c198f<_0xf26dbc['length'];++_0x2c198f)null!=_0x56208c[_0xf26dbc[_0x2c198f]]&&(this[_0xf26dbc[_0x2c198f]]=_0x56208c[_0xf26dbc[_0x2c198f]]);}}return _0x1074f1['prototype']['id']='',_0x1074f1['prototype']['userId']='',_0x1074f1['prototype']['role']='',_0x1074f1['prototype']['permissions']=_0x55d06d['emptyArray'],_0x1074f1['create']=function(_0x42828f){return new _0x1074f1(_0x42828f);},_0x1074f1['encode']=function(_0x171792,_0xd7fe90){if(_0xd7fe90||(_0xd7fe90=_0x34769a['create']()),null!=_0x171792['id']&&Object['hasOwnProperty']['call'](_0x171792,'id')&&_0xd7fe90['uint32'](0xa)['string'](_0x171792['id']),null!=_0x171792['userId']&&Object['hasOwnProperty']['call'](_0x171792,'userId')&&_0xd7fe90['uint32'](0x12)['string'](_0x171792['userId']),null!=_0x171792['role']&&Object['hasOwnProperty']['call'](_0x171792,'role')&&_0xd7fe90['uint32'](0x1a)['string'](_0x171792['role']),null!=_0x171792['permissions']&&_0x171792['permissions']['length']){for(var _0x292e5d=0x0;_0x292e5d<_0x171792['permissions']['length'];++_0x292e5d)_0xd7fe90['uint32'](0x22)['string'](_0x171792['permissions'][_0x292e5d]);}return _0xd7fe90;},_0x1074f1['encodeDelimited']=function(_0x2d07ac,_0x1c615b){return this['encode'](_0x2d07ac,_0x1c615b)['ldelim']();},_0x1074f1['decode']=function(_0x318678,_0x3d8fda,_0x512c8f){_0x318678 instanceof _0x338c0e||(_0x318678=_0x338c0e['create'](_0x318678));for(var _0x3f9cf3=void 0x0===_0x3d8fda?_0x318678['len']:_0x318678['pos']+_0x3d8fda,_0x20f6ff=new _0x4a240c['SocketConnectMessage']();_0x318678['pos']<_0x3f9cf3;){var _0x5503ea=_0x318678['uint32']();if(_0x5503ea===_0x512c8f)break;switch(_0x5503ea>>>0x3){case 0x1:_0x20f6ff['id']=_0x318678['string']();break;case 0x2:_0x20f6ff['userId']=_0x318678['string']();break;case 0x3:_0x20f6ff['role']=_0x318678['string']();break;case 0x4:_0x20f6ff['permissions']&&_0x20f6ff['permissions']['length']||(_0x20f6ff['permissions']=[]),_0x20f6ff['permissions']['push'](_0x318678['string']());break;default:_0x318678['skipType'](0x7&_0x5503ea);}}return _0x20f6ff;},_0x1074f1['decodeDelimited']=function(_0x3abb37){return _0x3abb37 instanceof _0x338c0e||(_0x3abb37=new _0x338c0e(_0x3abb37)),this['decode'](_0x3abb37,_0x3abb37['uint32']());},_0x1074f1['verify']=function(_0x570634){if('object'!=typeof _0x570634||null===_0x570634)return'object\x20expected';if(null!=_0x570634['id']&&_0x570634['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x570634['id']))return'id:\x20string\x20expected';if(null!=_0x570634['userId']&&_0x570634['hasOwnProperty']('userId')&&!_0x55d06d['isString'](_0x570634['userId']))return'userId:\x20string\x20expected';if(null!=_0x570634['role']&&_0x570634['hasOwnProperty']('role')&&!_0x55d06d['isString'](_0x570634['role']))return'role:\x20string\x20expected';if(null!=_0x570634['permissions']&&_0x570634['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x570634['permissions']))return'permissions:\x20array\x20expected';for(var _0x3809eb=0x0;_0x3809eb<_0x570634['permissions']['length'];++_0x3809eb)if(!_0x55d06d['isString'](_0x570634['permissions'][_0x3809eb]))return'permissions:\x20string[]\x20expected';}return null;},_0x1074f1['fromObject']=function(_0x94f27){if(_0x94f27 instanceof _0x4a240c['SocketConnectMessage'])return _0x94f27;var _0x307bca=new _0x4a240c['SocketConnectMessage']();if(null!=_0x94f27['id']&&(_0x307bca['id']=String(_0x94f27['id'])),null!=_0x94f27['userId']&&(_0x307bca['userId']=String(_0x94f27['userId'])),null!=_0x94f27['role']&&(_0x307bca['role']=String(_0x94f27['role'])),_0x94f27['permissions']){if(!Array['isArray'](_0x94f27['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x307bca['permissions']=[];for(var _0x5e5ef3=0x0;_0x5e5ef3<_0x94f27['permissions']['length'];++_0x5e5ef3)_0x307bca['permissions'][_0x5e5ef3]=String(_0x94f27['permissions'][_0x5e5ef3]);}return _0x307bca;},_0x1074f1['toObject']=function(_0x1baae6,_0x128f9f){_0x128f9f||(_0x128f9f={});var _0x43421d={};if((_0x128f9f['arrays']||_0x128f9f['defaults'])&&(_0x43421d['permissions']=[]),_0x128f9f['defaults']&&(_0x43421d['id']='',_0x43421d['userId']='',_0x43421d['role']=''),null!=_0x1baae6['id']&&_0x1baae6['hasOwnProperty']('id')&&(_0x43421d['id']=_0x1baae6['id']),null!=_0x1baae6['userId']&&_0x1baae6['hasOwnProperty']('userId')&&(_0x43421d['userId']=_0x1baae6['userId']),null!=_0x1baae6['role']&&_0x1baae6['hasOwnProperty']('role')&&(_0x43421d['role']=_0x1baae6['role']),_0x1baae6['permissions']&&_0x1baae6['permissions']['length']){_0x43421d['permissions']=[];for(var _0x2fd343=0x0;_0x2fd343<_0x1baae6['permissions']['length'];++_0x2fd343)_0x43421d['permissions'][_0x2fd343]=_0x1baae6['permissions'][_0x2fd343];}return _0x43421d;},_0x1074f1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x1074f1['getTypeUrl']=function(_0x419b8d){return void 0x0===_0x419b8d&&(_0x419b8d='type.googleapis.com'),_0x419b8d+'/SocketConnectMessage';},_0x1074f1;}()),_0x4a240c['SessionsConnectMessage']=(function(){function _0x3d22ed(_0x401179){if(_0x401179){for(var _0x16aa75=Object['keys'](_0x401179),_0x5ba416=0x0;_0x5ba416<_0x16aa75['length'];++_0x5ba416)null!=_0x401179[_0x16aa75[_0x5ba416]]&&(this[_0x16aa75[_0x5ba416]]=_0x401179[_0x16aa75[_0x5ba416]]);}}return _0x3d22ed['prototype']['id']='',_0x3d22ed['prototype']['sessionType']=0x0,_0x3d22ed['create']=function(_0x4b5d8d){return new _0x3d22ed(_0x4b5d8d);},_0x3d22ed['encode']=function(_0x3d69ea,_0x29a10a){return _0x29a10a||(_0x29a10a=_0x34769a['create']()),null!=_0x3d69ea['id']&&Object['hasOwnProperty']['call'](_0x3d69ea,'id')&&_0x29a10a['uint32'](0xa)['string'](_0x3d69ea['id']),null!=_0x3d69ea['sessionType']&&Object['hasOwnProperty']['call'](_0x3d69ea,'sessionType')&&_0x29a10a['uint32'](0x10)['uint32'](_0x3d69ea['sessionType']),_0x29a10a;},_0x3d22ed['encodeDelimited']=function(_0x6835aa,_0x1e7ddd){return this['encode'](_0x6835aa,_0x1e7ddd)['ldelim']();},_0x3d22ed['decode']=function(_0x9c9ab,_0x54c450,_0x2361d1){_0x9c9ab instanceof _0x338c0e||(_0x9c9ab=_0x338c0e['create'](_0x9c9ab));for(var _0x3ffd87=void 0x0===_0x54c450?_0x9c9ab['len']:_0x9c9ab['pos']+_0x54c450,_0x53442f=new _0x4a240c['SessionsConnectMessage']();_0x9c9ab['pos']<_0x3ffd87;){var _0x3ee8ce=_0x9c9ab['uint32']();if(_0x3ee8ce===_0x2361d1)break;switch(_0x3ee8ce>>>0x3){case 0x1:_0x53442f['id']=_0x9c9ab['string']();break;case 0x2:_0x53442f['sessionType']=_0x9c9ab['uint32']();break;default:_0x9c9ab['skipType'](0x7&_0x3ee8ce);}}return _0x53442f;},_0x3d22ed['decodeDelimited']=function(_0x142d3a){return _0x142d3a instanceof _0x338c0e||(_0x142d3a=new _0x338c0e(_0x142d3a)),this['decode'](_0x142d3a,_0x142d3a['uint32']());},_0x3d22ed['verify']=function(_0x14410b){return'object'!=typeof _0x14410b||null===_0x14410b?'object\x20expected':null!=_0x14410b['id']&&_0x14410b['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x14410b['id'])?'id:\x20string\x20expected':null!=_0x14410b['sessionType']&&_0x14410b['hasOwnProperty']('sessionType')&&!_0x55d06d['isInteger'](_0x14410b['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x3d22ed['fromObject']=function(_0x65e6bf){if(_0x65e6bf instanceof _0x4a240c['SessionsConnectMessage'])return _0x65e6bf;var _0x9e69c1=new _0x4a240c['SessionsConnectMessage']();return null!=_0x65e6bf['id']&&(_0x9e69c1['id']=String(_0x65e6bf['id'])),null!=_0x65e6bf['sessionType']&&(_0x9e69c1['sessionType']=_0x65e6bf['sessionType']>>>0x0),_0x9e69c1;},_0x3d22ed['toObject']=function(_0x1d256f,_0x56a8ff){_0x56a8ff||(_0x56a8ff={});var _0x449869={};return _0x56a8ff['defaults']&&(_0x449869['id']='',_0x449869['sessionType']=0x0),null!=_0x1d256f['id']&&_0x1d256f['hasOwnProperty']('id')&&(_0x449869['id']=_0x1d256f['id']),null!=_0x1d256f['sessionType']&&_0x1d256f['hasOwnProperty']('sessionType')&&(_0x449869['sessionType']=_0x1d256f['sessionType']),_0x449869;},_0x3d22ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3d22ed['getTypeUrl']=function(_0x53c405){return void 0x0===_0x53c405&&(_0x53c405='type.googleapis.com'),_0x53c405+'/SessionsConnectMessage';},_0x3d22ed;}()),_0x4a240c['SessionsSocketDescriptor']=(function(){function _0x37cd16(_0x47fb1f){if(this['permissions']=[],_0x47fb1f){for(var _0x1c5b44=Object['keys'](_0x47fb1f),_0x720cb4=0x0;_0x720cb4<_0x1c5b44['length'];++_0x720cb4)null!=_0x47fb1f[_0x1c5b44[_0x720cb4]]&&(this[_0x1c5b44[_0x720cb4]]=_0x47fb1f[_0x1c5b44[_0x720cb4]]);}}return _0x37cd16['prototype']['session']='',_0x37cd16['prototype']['user']='',_0x37cd16['prototype']['role']='',_0x37cd16['prototype']['permissions']=_0x55d06d['emptyArray'],_0x37cd16['create']=function(_0x18aa13){return new _0x37cd16(_0x18aa13);},_0x37cd16['encode']=function(_0x2210ea,_0x448bbd){if(_0x448bbd||(_0x448bbd=_0x34769a['create']()),null!=_0x2210ea['session']&&Object['hasOwnProperty']['call'](_0x2210ea,'session')&&_0x448bbd['uint32'](0xa)['string'](_0x2210ea['session']),null!=_0x2210ea['user']&&Object['hasOwnProperty']['call'](_0x2210ea,'user')&&_0x448bbd['uint32'](0x12)['string'](_0x2210ea['user']),null!=_0x2210ea['role']&&Object['hasOwnProperty']['call'](_0x2210ea,'role')&&_0x448bbd['uint32'](0x1a)['string'](_0x2210ea['role']),null!=_0x2210ea['permissions']&&_0x2210ea['permissions']['length']){for(var _0x5ded79=0x0;_0x5ded79<_0x2210ea['permissions']['length'];++_0x5ded79)_0x448bbd['uint32'](0x22)['string'](_0x2210ea['permissions'][_0x5ded79]);}return _0x448bbd;},_0x37cd16['encodeDelimited']=function(_0x551424,_0x51df25){return this['encode'](_0x551424,_0x51df25)['ldelim']();},_0x37cd16['decode']=function(_0xf34e8,_0x3c8f42,_0x1eedb0){_0xf34e8 instanceof _0x338c0e||(_0xf34e8=_0x338c0e['create'](_0xf34e8));for(var _0x7a04eb=void 0x0===_0x3c8f42?_0xf34e8['len']:_0xf34e8['pos']+_0x3c8f42,_0x2e4520=new _0x4a240c['SessionsSocketDescriptor']();_0xf34e8['pos']<_0x7a04eb;){var _0x50660a=_0xf34e8['uint32']();if(_0x50660a===_0x1eedb0)break;switch(_0x50660a>>>0x3){case 0x1:_0x2e4520['session']=_0xf34e8['string']();break;case 0x2:_0x2e4520['user']=_0xf34e8['string']();break;case 0x3:_0x2e4520['role']=_0xf34e8['string']();break;case 0x4:_0x2e4520['permissions']&&_0x2e4520['permissions']['length']||(_0x2e4520['permissions']=[]),_0x2e4520['permissions']['push'](_0xf34e8['string']());break;default:_0xf34e8['skipType'](0x7&_0x50660a);}}return _0x2e4520;},_0x37cd16['decodeDelimited']=function(_0xb695ce){return _0xb695ce instanceof _0x338c0e||(_0xb695ce=new _0x338c0e(_0xb695ce)),this['decode'](_0xb695ce,_0xb695ce['uint32']());},_0x37cd16['verify']=function(_0x2c4268){if('object'!=typeof _0x2c4268||null===_0x2c4268)return'object\x20expected';if(null!=_0x2c4268['session']&&_0x2c4268['hasOwnProperty']('session')&&!_0x55d06d['isString'](_0x2c4268['session']))return'session:\x20string\x20expected';if(null!=_0x2c4268['user']&&_0x2c4268['hasOwnProperty']('user')&&!_0x55d06d['isString'](_0x2c4268['user']))return'user:\x20string\x20expected';if(null!=_0x2c4268['role']&&_0x2c4268['hasOwnProperty']('role')&&!_0x55d06d['isString'](_0x2c4268['role']))return'role:\x20string\x20expected';if(null!=_0x2c4268['permissions']&&_0x2c4268['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x2c4268['permissions']))return'permissions:\x20array\x20expected';for(var _0x54fdfd=0x0;_0x54fdfd<_0x2c4268['permissions']['length'];++_0x54fdfd)if(!_0x55d06d['isString'](_0x2c4268['permissions'][_0x54fdfd]))return'permissions:\x20string[]\x20expected';}return null;},_0x37cd16['fromObject']=function(_0xf69863){if(_0xf69863 instanceof _0x4a240c['SessionsSocketDescriptor'])return _0xf69863;var _0x1811ee=new _0x4a240c['SessionsSocketDescriptor']();if(null!=_0xf69863['session']&&(_0x1811ee['session']=String(_0xf69863['session'])),null!=_0xf69863['user']&&(_0x1811ee['user']=String(_0xf69863['user'])),null!=_0xf69863['role']&&(_0x1811ee['role']=String(_0xf69863['role'])),_0xf69863['permissions']){if(!Array['isArray'](_0xf69863['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x1811ee['permissions']=[];for(var _0x588c8b=0x0;_0x588c8b<_0xf69863['permissions']['length'];++_0x588c8b)_0x1811ee['permissions'][_0x588c8b]=String(_0xf69863['permissions'][_0x588c8b]);}return _0x1811ee;},_0x37cd16['toObject']=function(_0x1c8850,_0x16c698){_0x16c698||(_0x16c698={});var _0x19920a={};if((_0x16c698['arrays']||_0x16c698['defaults'])&&(_0x19920a['permissions']=[]),_0x16c698['defaults']&&(_0x19920a['session']='',_0x19920a['user']='',_0x19920a['role']=''),null!=_0x1c8850['session']&&_0x1c8850['hasOwnProperty']('session')&&(_0x19920a['session']=_0x1c8850['session']),null!=_0x1c8850['user']&&_0x1c8850['hasOwnProperty']('user')&&(_0x19920a['user']=_0x1c8850['user']),null!=_0x1c8850['role']&&_0x1c8850['hasOwnProperty']('role')&&(_0x19920a['role']=_0x1c8850['role']),_0x1c8850['permissions']&&_0x1c8850['permissions']['length']){_0x19920a['permissions']=[];for(var _0x151cf4=0x0;_0x151cf4<_0x1c8850['permissions']['length'];++_0x151cf4)_0x19920a['permissions'][_0x151cf4]=_0x1c8850['permissions'][_0x151cf4];}return _0x19920a;},_0x37cd16['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x37cd16['getTypeUrl']=function(_0x136a39){return void 0x0===_0x136a39&&(_0x136a39='type.googleapis.com'),_0x136a39+'/SessionsSocketDescriptor';},_0x37cd16;}()),_0x4a240c['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x3517a3(_0x57af1f){if(_0x57af1f){for(var _0x485cd5=Object['keys'](_0x57af1f),_0x43734f=0x0;_0x43734f<_0x485cd5['length'];++_0x43734f)null!=_0x57af1f[_0x485cd5[_0x43734f]]&&(this[_0x485cd5[_0x43734f]]=_0x57af1f[_0x485cd5[_0x43734f]]);}}return _0x3517a3['prototype']['requestId']=0x0,_0x3517a3['create']=function(_0x2e823a){return new _0x3517a3(_0x2e823a);},_0x3517a3['encode']=function(_0x6c719c,_0x3a18eb){return _0x3a18eb||(_0x3a18eb=_0x34769a['create']()),null!=_0x6c719c['requestId']&&Object['hasOwnProperty']['call'](_0x6c719c,'requestId')&&_0x3a18eb['uint32'](0x8)['uint32'](_0x6c719c['requestId']),_0x3a18eb;},_0x3517a3['encodeDelimited']=function(_0x3f98cd,_0x2cfe3a){return this['encode'](_0x3f98cd,_0x2cfe3a)['ldelim']();},_0x3517a3['decode']=function(_0x4c123e,_0x20edb5,_0x21b457){_0x4c123e instanceof _0x338c0e||(_0x4c123e=_0x338c0e['create'](_0x4c123e));for(var _0x2b4767=void 0x0===_0x20edb5?_0x4c123e['len']:_0x4c123e['pos']+_0x20edb5,_0x51b4c7=new _0x4a240c['RevisionHistoryUpdateRevisionsResponse']();_0x4c123e['pos']<_0x2b4767;){var _0x5d2ad0=_0x4c123e['uint32']();if(_0x5d2ad0===_0x21b457)break;_0x5d2ad0>>>0x3==0x1?_0x51b4c7['requestId']=_0x4c123e['uint32']():_0x4c123e['skipType'](0x7&_0x5d2ad0);}return _0x51b4c7;},_0x3517a3['decodeDelimited']=function(_0x23a566){return _0x23a566 instanceof _0x338c0e||(_0x23a566=new _0x338c0e(_0x23a566)),this['decode'](_0x23a566,_0x23a566['uint32']());},_0x3517a3['verify']=function(_0x4dfac5){return'object'!=typeof _0x4dfac5||null===_0x4dfac5?'object\x20expected':null!=_0x4dfac5['requestId']&&_0x4dfac5['hasOwnProperty']('requestId')&&!_0x55d06d['isInteger'](_0x4dfac5['requestId'])?'requestId:\x20integer\x20expected':null;},_0x3517a3['fromObject']=function(_0xd5a677){if(_0xd5a677 instanceof _0x4a240c['RevisionHistoryUpdateRevisionsResponse'])return _0xd5a677;var _0x574aae=new _0x4a240c['RevisionHistoryUpdateRevisionsResponse']();return null!=_0xd5a677['requestId']&&(_0x574aae['requestId']=_0xd5a677['requestId']>>>0x0),_0x574aae;},_0x3517a3['toObject']=function(_0x28882c,_0x54bbfc){_0x54bbfc||(_0x54bbfc={});var _0x2bbb8d={};return _0x54bbfc['defaults']&&(_0x2bbb8d['requestId']=0x0),null!=_0x28882c['requestId']&&_0x28882c['hasOwnProperty']('requestId')&&(_0x2bbb8d['requestId']=_0x28882c['requestId']),_0x2bbb8d;},_0x3517a3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3517a3['getTypeUrl']=function(_0x7dda98){return void 0x0===_0x7dda98&&(_0x7dda98='type.googleapis.com'),_0x7dda98+'/RevisionHistoryUpdateRevisionsResponse';},_0x3517a3;}()),_0x4a240c['RevisionHistoryGetRevisionResponse']=(function(){function _0xd65fbe(_0x232768){if(_0x232768){for(var _0x5a680b=Object['keys'](_0x232768),_0xba6acf=0x0;_0xba6acf<_0x5a680b['length'];++_0xba6acf)null!=_0x232768[_0x5a680b[_0xba6acf]]&&(this[_0x5a680b[_0xba6acf]]=_0x232768[_0x5a680b[_0xba6acf]]);}}return _0xd65fbe['prototype']['revisionId']='',_0xd65fbe['prototype']['name']='',_0xd65fbe['prototype']['creatorId']='',_0xd65fbe['prototype']['authorsIds']='',_0xd65fbe['prototype']['diffData']='',_0xd65fbe['prototype']['createdAt']='',_0xd65fbe['prototype']['attributes']='',_0xd65fbe['prototype']['toVersion']=0x0,_0xd65fbe['prototype']['fromVersion']=0x0,_0xd65fbe['prototype']['isEmptyCurrent']=!0x1,_0xd65fbe['create']=function(_0x36d849){return new _0xd65fbe(_0x36d849);},_0xd65fbe['encode']=function(_0x38d05f,_0xf7a9b1){return _0xf7a9b1||(_0xf7a9b1=_0x34769a['create']()),null!=_0x38d05f['revisionId']&&Object['hasOwnProperty']['call'](_0x38d05f,'revisionId')&&_0xf7a9b1['uint32'](0xa)['string'](_0x38d05f['revisionId']),null!=_0x38d05f['name']&&Object['hasOwnProperty']['call'](_0x38d05f,'name')&&_0xf7a9b1['uint32'](0x12)['string'](_0x38d05f['name']),null!=_0x38d05f['creatorId']&&Object['hasOwnProperty']['call'](_0x38d05f,'creatorId')&&_0xf7a9b1['uint32'](0x1a)['string'](_0x38d05f['creatorId']),null!=_0x38d05f['authorsIds']&&Object['hasOwnProperty']['call'](_0x38d05f,'authorsIds')&&_0xf7a9b1['uint32'](0x22)['string'](_0x38d05f['authorsIds']),null!=_0x38d05f['diffData']&&Object['hasOwnProperty']['call'](_0x38d05f,'diffData')&&_0xf7a9b1['uint32'](0x2a)['string'](_0x38d05f['diffData']),null!=_0x38d05f['createdAt']&&Object['hasOwnProperty']['call'](_0x38d05f,'createdAt')&&_0xf7a9b1['uint32'](0x32)['string'](_0x38d05f['createdAt']),null!=_0x38d05f['attributes']&&Object['hasOwnProperty']['call'](_0x38d05f,'attributes')&&_0xf7a9b1['uint32'](0x3a)['string'](_0x38d05f['attributes']),null!=_0x38d05f['toVersion']&&Object['hasOwnProperty']['call'](_0x38d05f,'toVersion')&&_0xf7a9b1['uint32'](0x40)['uint32'](_0x38d05f['toVersion']),null!=_0x38d05f['fromVersion']&&Object['hasOwnProperty']['call'](_0x38d05f,'fromVersion')&&_0xf7a9b1['uint32'](0x48)['uint32'](_0x38d05f['fromVersion']),null!=_0x38d05f['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x38d05f,'isEmptyCurrent')&&_0xf7a9b1['uint32'](0x50)['bool'](_0x38d05f['isEmptyCurrent']),_0xf7a9b1;},_0xd65fbe['encodeDelimited']=function(_0x132a9c,_0x68194d){return this['encode'](_0x132a9c,_0x68194d)['ldelim']();},_0xd65fbe['decode']=function(_0x2bfbd0,_0x421e99,_0x57f1c5){_0x2bfbd0 instanceof _0x338c0e||(_0x2bfbd0=_0x338c0e['create'](_0x2bfbd0));for(var _0xb5fcc3=void 0x0===_0x421e99?_0x2bfbd0['len']:_0x2bfbd0['pos']+_0x421e99,_0x17844e=new _0x4a240c['RevisionHistoryGetRevisionResponse']();_0x2bfbd0['pos']<_0xb5fcc3;){var _0x29865e=_0x2bfbd0['uint32']();if(_0x29865e===_0x57f1c5)break;switch(_0x29865e>>>0x3){case 0x1:_0x17844e['revisionId']=_0x2bfbd0['string']();break;case 0x2:_0x17844e['name']=_0x2bfbd0['string']();break;case 0x3:_0x17844e['creatorId']=_0x2bfbd0['string']();break;case 0x4:_0x17844e['authorsIds']=_0x2bfbd0['string']();break;case 0x5:_0x17844e['diffData']=_0x2bfbd0['string']();break;case 0x6:_0x17844e['createdAt']=_0x2bfbd0['string']();break;case 0x7:_0x17844e['attributes']=_0x2bfbd0['string']();break;case 0x8:_0x17844e['toVersion']=_0x2bfbd0['uint32']();break;case 0x9:_0x17844e['fromVersion']=_0x2bfbd0['uint32']();break;case 0xa:_0x17844e['isEmptyCurrent']=_0x2bfbd0['bool']();break;default:_0x2bfbd0['skipType'](0x7&_0x29865e);}}return _0x17844e;},_0xd65fbe['decodeDelimited']=function(_0x9cde41){return _0x9cde41 instanceof _0x338c0e||(_0x9cde41=new _0x338c0e(_0x9cde41)),this['decode'](_0x9cde41,_0x9cde41['uint32']());},_0xd65fbe['verify']=function(_0x3f76b3){return'object'!=typeof _0x3f76b3||null===_0x3f76b3?'object\x20expected':null!=_0x3f76b3['revisionId']&&_0x3f76b3['hasOwnProperty']('revisionId')&&!_0x55d06d['isString'](_0x3f76b3['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x3f76b3['name']&&_0x3f76b3['hasOwnProperty']('name')&&!_0x55d06d['isString'](_0x3f76b3['name'])?'name:\x20string\x20expected':null!=_0x3f76b3['creatorId']&&_0x3f76b3['hasOwnProperty']('creatorId')&&!_0x55d06d['isString'](_0x3f76b3['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x3f76b3['authorsIds']&&_0x3f76b3['hasOwnProperty']('authorsIds')&&!_0x55d06d['isString'](_0x3f76b3['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x3f76b3['diffData']&&_0x3f76b3['hasOwnProperty']('diffData')&&!_0x55d06d['isString'](_0x3f76b3['diffData'])?'diffData:\x20string\x20expected':null!=_0x3f76b3['createdAt']&&_0x3f76b3['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x3f76b3['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3f76b3['attributes']&&_0x3f76b3['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x3f76b3['attributes'])?'attributes:\x20string\x20expected':null!=_0x3f76b3['toVersion']&&_0x3f76b3['hasOwnProperty']('toVersion')&&!_0x55d06d['isInteger'](_0x3f76b3['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x3f76b3['fromVersion']&&_0x3f76b3['hasOwnProperty']('fromVersion')&&!_0x55d06d['isInteger'](_0x3f76b3['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x3f76b3['isEmptyCurrent']&&_0x3f76b3['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x3f76b3['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0xd65fbe['fromObject']=function(_0x2cb7a3){if(_0x2cb7a3 instanceof _0x4a240c['RevisionHistoryGetRevisionResponse'])return _0x2cb7a3;var _0x180b05=new _0x4a240c['RevisionHistoryGetRevisionResponse']();return null!=_0x2cb7a3['revisionId']&&(_0x180b05['revisionId']=String(_0x2cb7a3['revisionId'])),null!=_0x2cb7a3['name']&&(_0x180b05['name']=String(_0x2cb7a3['name'])),null!=_0x2cb7a3['creatorId']&&(_0x180b05['creatorId']=String(_0x2cb7a3['creatorId'])),null!=_0x2cb7a3['authorsIds']&&(_0x180b05['authorsIds']=String(_0x2cb7a3['authorsIds'])),null!=_0x2cb7a3['diffData']&&(_0x180b05['diffData']=String(_0x2cb7a3['diffData'])),null!=_0x2cb7a3['createdAt']&&(_0x180b05['createdAt']=String(_0x2cb7a3['createdAt'])),null!=_0x2cb7a3['attributes']&&(_0x180b05['attributes']=String(_0x2cb7a3['attributes'])),null!=_0x2cb7a3['toVersion']&&(_0x180b05['toVersion']=_0x2cb7a3['toVersion']>>>0x0),null!=_0x2cb7a3['fromVersion']&&(_0x180b05['fromVersion']=_0x2cb7a3['fromVersion']>>>0x0),null!=_0x2cb7a3['isEmptyCurrent']&&(_0x180b05['isEmptyCurrent']=Boolean(_0x2cb7a3['isEmptyCurrent'])),_0x180b05;},_0xd65fbe['toObject']=function(_0x30c7cf,_0x599e3d){_0x599e3d||(_0x599e3d={});var _0x57e4c0={};return _0x599e3d['defaults']&&(_0x57e4c0['revisionId']='',_0x57e4c0['name']='',_0x57e4c0['creatorId']='',_0x57e4c0['authorsIds']='',_0x57e4c0['diffData']='',_0x57e4c0['createdAt']='',_0x57e4c0['attributes']='',_0x57e4c0['toVersion']=0x0,_0x57e4c0['fromVersion']=0x0,_0x57e4c0['isEmptyCurrent']=!0x1),null!=_0x30c7cf['revisionId']&&_0x30c7cf['hasOwnProperty']('revisionId')&&(_0x57e4c0['revisionId']=_0x30c7cf['revisionId']),null!=_0x30c7cf['name']&&_0x30c7cf['hasOwnProperty']('name')&&(_0x57e4c0['name']=_0x30c7cf['name']),null!=_0x30c7cf['creatorId']&&_0x30c7cf['hasOwnProperty']('creatorId')&&(_0x57e4c0['creatorId']=_0x30c7cf['creatorId']),null!=_0x30c7cf['authorsIds']&&_0x30c7cf['hasOwnProperty']('authorsIds')&&(_0x57e4c0['authorsIds']=_0x30c7cf['authorsIds']),null!=_0x30c7cf['diffData']&&_0x30c7cf['hasOwnProperty']('diffData')&&(_0x57e4c0['diffData']=_0x30c7cf['diffData']),null!=_0x30c7cf['createdAt']&&_0x30c7cf['hasOwnProperty']('createdAt')&&(_0x57e4c0['createdAt']=_0x30c7cf['createdAt']),null!=_0x30c7cf['attributes']&&_0x30c7cf['hasOwnProperty']('attributes')&&(_0x57e4c0['attributes']=_0x30c7cf['attributes']),null!=_0x30c7cf['toVersion']&&_0x30c7cf['hasOwnProperty']('toVersion')&&(_0x57e4c0['toVersion']=_0x30c7cf['toVersion']),null!=_0x30c7cf['fromVersion']&&_0x30c7cf['hasOwnProperty']('fromVersion')&&(_0x57e4c0['fromVersion']=_0x30c7cf['fromVersion']),null!=_0x30c7cf['isEmptyCurrent']&&_0x30c7cf['hasOwnProperty']('isEmptyCurrent')&&(_0x57e4c0['isEmptyCurrent']=_0x30c7cf['isEmptyCurrent']),_0x57e4c0;},_0xd65fbe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xd65fbe['getTypeUrl']=function(_0x45cce8){return void 0x0===_0x45cce8&&(_0x45cce8='type.googleapis.com'),_0x45cce8+'/RevisionHistoryGetRevisionResponse';},_0xd65fbe;}()),_0x4a240c['RevisionHistoryConnectResponse']=(function(){function _0x12614f(_0x2cfc5e){if(this['revisions']=[],_0x2cfc5e){for(var _0x12d9b0=Object['keys'](_0x2cfc5e),_0x3d164f=0x0;_0x3d164f<_0x12d9b0['length'];++_0x3d164f)null!=_0x2cfc5e[_0x12d9b0[_0x3d164f]]&&(this[_0x12d9b0[_0x3d164f]]=_0x2cfc5e[_0x12d9b0[_0x3d164f]]);}}return _0x12614f['prototype']['channel']='',_0x12614f['prototype']['requestId']=0x0,_0x12614f['prototype']['revisions']=_0x55d06d['emptyArray'],_0x12614f['create']=function(_0x39b210){return new _0x12614f(_0x39b210);},_0x12614f['encode']=function(_0x29a2f0,_0x14b9b7){if(_0x14b9b7||(_0x14b9b7=_0x34769a['create']()),null!=_0x29a2f0['channel']&&Object['hasOwnProperty']['call'](_0x29a2f0,'channel')&&_0x14b9b7['uint32'](0xa)['string'](_0x29a2f0['channel']),null!=_0x29a2f0['requestId']&&Object['hasOwnProperty']['call'](_0x29a2f0,'requestId')&&_0x14b9b7['uint32'](0x10)['uint32'](_0x29a2f0['requestId']),null!=_0x29a2f0['revisions']&&_0x29a2f0['revisions']['length']){for(var _0x409e00=0x0;_0x409e00<_0x29a2f0['revisions']['length'];++_0x409e00)_0x4a240c['RevisionDescriptor']['encode'](_0x29a2f0['revisions'][_0x409e00],_0x14b9b7['uint32'](0x1a)['fork']())['ldelim']();}return _0x14b9b7;},_0x12614f['encodeDelimited']=function(_0x20a575,_0xce65ff){return this['encode'](_0x20a575,_0xce65ff)['ldelim']();},_0x12614f['decode']=function(_0x200675,_0x1e1db8,_0x47673b){_0x200675 instanceof _0x338c0e||(_0x200675=_0x338c0e['create'](_0x200675));for(var _0x108540=void 0x0===_0x1e1db8?_0x200675['len']:_0x200675['pos']+_0x1e1db8,_0x21846f=new _0x4a240c['RevisionHistoryConnectResponse']();_0x200675['pos']<_0x108540;){var _0x5bfc97=_0x200675['uint32']();if(_0x5bfc97===_0x47673b)break;switch(_0x5bfc97>>>0x3){case 0x1:_0x21846f['channel']=_0x200675['string']();break;case 0x2:_0x21846f['requestId']=_0x200675['uint32']();break;case 0x3:_0x21846f['revisions']&&_0x21846f['revisions']['length']||(_0x21846f['revisions']=[]),_0x21846f['revisions']['push'](_0x4a240c['RevisionDescriptor']['decode'](_0x200675,_0x200675['uint32']()));break;default:_0x200675['skipType'](0x7&_0x5bfc97);}}return _0x21846f;},_0x12614f['decodeDelimited']=function(_0x3f669d){return _0x3f669d instanceof _0x338c0e||(_0x3f669d=new _0x338c0e(_0x3f669d)),this['decode'](_0x3f669d,_0x3f669d['uint32']());},_0x12614f['verify']=function(_0x50e956){if('object'!=typeof _0x50e956||null===_0x50e956)return'object\x20expected';if(null!=_0x50e956['channel']&&_0x50e956['hasOwnProperty']('channel')&&!_0x55d06d['isString'](_0x50e956['channel']))return'channel:\x20string\x20expected';if(null!=_0x50e956['requestId']&&_0x50e956['hasOwnProperty']('requestId')&&!_0x55d06d['isInteger'](_0x50e956['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x50e956['revisions']&&_0x50e956['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x50e956['revisions']))return'revisions:\x20array\x20expected';for(var _0x17dc45=0x0;_0x17dc45<_0x50e956['revisions']['length'];++_0x17dc45){var _0x290387=_0x4a240c['RevisionDescriptor']['verify'](_0x50e956['revisions'][_0x17dc45]);if(_0x290387)return'revisions.'+_0x290387;}}return null;},_0x12614f['fromObject']=function(_0x5df5c1){if(_0x5df5c1 instanceof _0x4a240c['RevisionHistoryConnectResponse'])return _0x5df5c1;var _0x432f6c=new _0x4a240c['RevisionHistoryConnectResponse']();if(null!=_0x5df5c1['channel']&&(_0x432f6c['channel']=String(_0x5df5c1['channel'])),null!=_0x5df5c1['requestId']&&(_0x432f6c['requestId']=_0x5df5c1['requestId']>>>0x0),_0x5df5c1['revisions']){if(!Array['isArray'](_0x5df5c1['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x432f6c['revisions']=[];for(var _0x3dd1ed=0x0;_0x3dd1ed<_0x5df5c1['revisions']['length'];++_0x3dd1ed){if('object'!=typeof _0x5df5c1['revisions'][_0x3dd1ed])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x432f6c['revisions'][_0x3dd1ed]=_0x4a240c['RevisionDescriptor']['fromObject'](_0x5df5c1['revisions'][_0x3dd1ed]);}}return _0x432f6c;},_0x12614f['toObject']=function(_0x510f99,_0x23a459){_0x23a459||(_0x23a459={});var _0x2ec195={};if((_0x23a459['arrays']||_0x23a459['defaults'])&&(_0x2ec195['revisions']=[]),_0x23a459['defaults']&&(_0x2ec195['channel']='',_0x2ec195['requestId']=0x0),null!=_0x510f99['channel']&&_0x510f99['hasOwnProperty']('channel')&&(_0x2ec195['channel']=_0x510f99['channel']),null!=_0x510f99['requestId']&&_0x510f99['hasOwnProperty']('requestId')&&(_0x2ec195['requestId']=_0x510f99['requestId']),_0x510f99['revisions']&&_0x510f99['revisions']['length']){_0x2ec195['revisions']=[];for(var _0x4b93dd=0x0;_0x4b93dd<_0x510f99['revisions']['length'];++_0x4b93dd)_0x2ec195['revisions'][_0x4b93dd]=_0x4a240c['RevisionDescriptor']['toObject'](_0x510f99['revisions'][_0x4b93dd],_0x23a459);}return _0x2ec195;},_0x12614f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x12614f['getTypeUrl']=function(_0x47cbfa){return void 0x0===_0x47cbfa&&(_0x47cbfa='type.googleapis.com'),_0x47cbfa+'/RevisionHistoryConnectResponse';},_0x12614f;}()),_0x4a240c['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x37c9a5(_0x3f44a3){if(this['revisions']=[],_0x3f44a3){for(var _0x244424=Object['keys'](_0x3f44a3),_0x51f648=0x0;_0x51f648<_0x244424['length'];++_0x51f648)null!=_0x3f44a3[_0x244424[_0x51f648]]&&(this[_0x244424[_0x51f648]]=_0x3f44a3[_0x244424[_0x51f648]]);}}return _0x37c9a5['prototype']['documentId']='',_0x37c9a5['prototype']['requestId']=0x0,_0x37c9a5['prototype']['revisions']=_0x55d06d['emptyArray'],_0x37c9a5['create']=function(_0x41a807){return new _0x37c9a5(_0x41a807);},_0x37c9a5['encode']=function(_0xfde976,_0x528173){if(_0x528173||(_0x528173=_0x34769a['create']()),null!=_0xfde976['documentId']&&Object['hasOwnProperty']['call'](_0xfde976,'documentId')&&_0x528173['uint32'](0xa)['string'](_0xfde976['documentId']),null!=_0xfde976['requestId']&&Object['hasOwnProperty']['call'](_0xfde976,'requestId')&&_0x528173['uint32'](0x10)['uint32'](_0xfde976['requestId']),null!=_0xfde976['revisions']&&_0xfde976['revisions']['length']){for(var _0x3a0f2f=0x0;_0x3a0f2f<_0xfde976['revisions']['length'];++_0x3a0f2f)_0x4a240c['RevisionDescriptor']['encode'](_0xfde976['revisions'][_0x3a0f2f],_0x528173['uint32'](0x1a)['fork']())['ldelim']();}return _0x528173;},_0x37c9a5['encodeDelimited']=function(_0x521be5,_0x537f66){return this['encode'](_0x521be5,_0x537f66)['ldelim']();},_0x37c9a5['decode']=function(_0x3d21ee,_0x5139f5,_0x111b89){_0x3d21ee instanceof _0x338c0e||(_0x3d21ee=_0x338c0e['create'](_0x3d21ee));for(var _0x586259=void 0x0===_0x5139f5?_0x3d21ee['len']:_0x3d21ee['pos']+_0x5139f5,_0x199c9f=new _0x4a240c['RevisionHistoryUpdateRevisionsMessage']();_0x3d21ee['pos']<_0x586259;){var _0x39384a=_0x3d21ee['uint32']();if(_0x39384a===_0x111b89)break;switch(_0x39384a>>>0x3){case 0x1:_0x199c9f['documentId']=_0x3d21ee['string']();break;case 0x2:_0x199c9f['requestId']=_0x3d21ee['uint32']();break;case 0x3:_0x199c9f['revisions']&&_0x199c9f['revisions']['length']||(_0x199c9f['revisions']=[]),_0x199c9f['revisions']['push'](_0x4a240c['RevisionDescriptor']['decode'](_0x3d21ee,_0x3d21ee['uint32']()));break;default:_0x3d21ee['skipType'](0x7&_0x39384a);}}return _0x199c9f;},_0x37c9a5['decodeDelimited']=function(_0x26bec4){return _0x26bec4 instanceof _0x338c0e||(_0x26bec4=new _0x338c0e(_0x26bec4)),this['decode'](_0x26bec4,_0x26bec4['uint32']());},_0x37c9a5['verify']=function(_0x381c7c){if('object'!=typeof _0x381c7c||null===_0x381c7c)return'object\x20expected';if(null!=_0x381c7c['documentId']&&_0x381c7c['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x381c7c['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x381c7c['requestId']&&_0x381c7c['hasOwnProperty']('requestId')&&!_0x55d06d['isInteger'](_0x381c7c['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x381c7c['revisions']&&_0x381c7c['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x381c7c['revisions']))return'revisions:\x20array\x20expected';for(var _0x256127=0x0;_0x256127<_0x381c7c['revisions']['length'];++_0x256127){var _0x3f9408=_0x4a240c['RevisionDescriptor']['verify'](_0x381c7c['revisions'][_0x256127]);if(_0x3f9408)return'revisions.'+_0x3f9408;}}return null;},_0x37c9a5['fromObject']=function(_0x6cf0eb){if(_0x6cf0eb instanceof _0x4a240c['RevisionHistoryUpdateRevisionsMessage'])return _0x6cf0eb;var _0x42ea25=new _0x4a240c['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x6cf0eb['documentId']&&(_0x42ea25['documentId']=String(_0x6cf0eb['documentId'])),null!=_0x6cf0eb['requestId']&&(_0x42ea25['requestId']=_0x6cf0eb['requestId']>>>0x0),_0x6cf0eb['revisions']){if(!Array['isArray'](_0x6cf0eb['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x42ea25['revisions']=[];for(var _0xc63162=0x0;_0xc63162<_0x6cf0eb['revisions']['length'];++_0xc63162){if('object'!=typeof _0x6cf0eb['revisions'][_0xc63162])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x42ea25['revisions'][_0xc63162]=_0x4a240c['RevisionDescriptor']['fromObject'](_0x6cf0eb['revisions'][_0xc63162]);}}return _0x42ea25;},_0x37c9a5['toObject']=function(_0x105f0f,_0x13ef59){_0x13ef59||(_0x13ef59={});var _0x4a6267={};if((_0x13ef59['arrays']||_0x13ef59['defaults'])&&(_0x4a6267['revisions']=[]),_0x13ef59['defaults']&&(_0x4a6267['documentId']='',_0x4a6267['requestId']=0x0),null!=_0x105f0f['documentId']&&_0x105f0f['hasOwnProperty']('documentId')&&(_0x4a6267['documentId']=_0x105f0f['documentId']),null!=_0x105f0f['requestId']&&_0x105f0f['hasOwnProperty']('requestId')&&(_0x4a6267['requestId']=_0x105f0f['requestId']),_0x105f0f['revisions']&&_0x105f0f['revisions']['length']){_0x4a6267['revisions']=[];for(var _0x89f442=0x0;_0x89f442<_0x105f0f['revisions']['length'];++_0x89f442)_0x4a6267['revisions'][_0x89f442]=_0x4a240c['RevisionDescriptor']['toObject'](_0x105f0f['revisions'][_0x89f442],_0x13ef59);}return _0x4a6267;},_0x37c9a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x37c9a5['getTypeUrl']=function(_0x16583c){return void 0x0===_0x16583c&&(_0x16583c='type.googleapis.com'),_0x16583c+'/RevisionHistoryUpdateRevisionsMessage';},_0x37c9a5;}()),_0x4a240c['RevisionHistoryReconnectMessage']=(function(){function _0x13bf24(_0x13755a){if(_0x13755a){for(var _0x5dd297=Object['keys'](_0x13755a),_0x7af27a=0x0;_0x7af27a<_0x5dd297['length'];++_0x7af27a)null!=_0x13755a[_0x5dd297[_0x7af27a]]&&(this[_0x5dd297[_0x7af27a]]=_0x13755a[_0x5dd297[_0x7af27a]]);}}return _0x13bf24['prototype']['documentId']='',_0x13bf24['prototype']['requestId']=0x0,_0x13bf24['create']=function(_0x249871){return new _0x13bf24(_0x249871);},_0x13bf24['encode']=function(_0x513c46,_0x4e3603){return _0x4e3603||(_0x4e3603=_0x34769a['create']()),null!=_0x513c46['documentId']&&Object['hasOwnProperty']['call'](_0x513c46,'documentId')&&_0x4e3603['uint32'](0xa)['string'](_0x513c46['documentId']),null!=_0x513c46['requestId']&&Object['hasOwnProperty']['call'](_0x513c46,'requestId')&&_0x4e3603['uint32'](0x10)['uint32'](_0x513c46['requestId']),_0x4e3603;},_0x13bf24['encodeDelimited']=function(_0xac6d05,_0x2cf5e6){return this['encode'](_0xac6d05,_0x2cf5e6)['ldelim']();},_0x13bf24['decode']=function(_0x39dda0,_0x5539d5,_0x5371d0){_0x39dda0 instanceof _0x338c0e||(_0x39dda0=_0x338c0e['create'](_0x39dda0));for(var _0xea2736=void 0x0===_0x5539d5?_0x39dda0['len']:_0x39dda0['pos']+_0x5539d5,_0x49e0c9=new _0x4a240c['RevisionHistoryReconnectMessage']();_0x39dda0['pos']<_0xea2736;){var _0x4669aa=_0x39dda0['uint32']();if(_0x4669aa===_0x5371d0)break;switch(_0x4669aa>>>0x3){case 0x1:_0x49e0c9['documentId']=_0x39dda0['string']();break;case 0x2:_0x49e0c9['requestId']=_0x39dda0['uint32']();break;default:_0x39dda0['skipType'](0x7&_0x4669aa);}}return _0x49e0c9;},_0x13bf24['decodeDelimited']=function(_0xca0e99){return _0xca0e99 instanceof _0x338c0e||(_0xca0e99=new _0x338c0e(_0xca0e99)),this['decode'](_0xca0e99,_0xca0e99['uint32']());},_0x13bf24['verify']=function(_0x29c8e9){return'object'!=typeof _0x29c8e9||null===_0x29c8e9?'object\x20expected':null!=_0x29c8e9['documentId']&&_0x29c8e9['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x29c8e9['documentId'])?'documentId:\x20string\x20expected':null!=_0x29c8e9['requestId']&&_0x29c8e9['hasOwnProperty']('requestId')&&!_0x55d06d['isInteger'](_0x29c8e9['requestId'])?'requestId:\x20integer\x20expected':null;},_0x13bf24['fromObject']=function(_0x4d6588){if(_0x4d6588 instanceof _0x4a240c['RevisionHistoryReconnectMessage'])return _0x4d6588;var _0x56ba0c=new _0x4a240c['RevisionHistoryReconnectMessage']();return null!=_0x4d6588['documentId']&&(_0x56ba0c['documentId']=String(_0x4d6588['documentId'])),null!=_0x4d6588['requestId']&&(_0x56ba0c['requestId']=_0x4d6588['requestId']>>>0x0),_0x56ba0c;},_0x13bf24['toObject']=function(_0x479c26,_0x2efd69){_0x2efd69||(_0x2efd69={});var _0x2b1be3={};return _0x2efd69['defaults']&&(_0x2b1be3['documentId']='',_0x2b1be3['requestId']=0x0),null!=_0x479c26['documentId']&&_0x479c26['hasOwnProperty']('documentId')&&(_0x2b1be3['documentId']=_0x479c26['documentId']),null!=_0x479c26['requestId']&&_0x479c26['hasOwnProperty']('requestId')&&(_0x2b1be3['requestId']=_0x479c26['requestId']),_0x2b1be3;},_0x13bf24['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x13bf24['getTypeUrl']=function(_0x11c328){return void 0x0===_0x11c328&&(_0x11c328='type.googleapis.com'),_0x11c328+'/RevisionHistoryReconnectMessage';},_0x13bf24;}()),_0x4a240c['RevisionHistoryGetRevisionMessage']=(function(){function _0xf926d4(_0x3d5f44){if(_0x3d5f44){for(var _0x437d03=Object['keys'](_0x3d5f44),_0x332dbf=0x0;_0x332dbf<_0x437d03['length'];++_0x332dbf)null!=_0x3d5f44[_0x437d03[_0x332dbf]]&&(this[_0x437d03[_0x332dbf]]=_0x3d5f44[_0x437d03[_0x332dbf]]);}}return _0xf926d4['prototype']['documentId']='',_0xf926d4['prototype']['revisionId']='',_0xf926d4['create']=function(_0x437138){return new _0xf926d4(_0x437138);},_0xf926d4['encode']=function(_0x287081,_0x2a371b){return _0x2a371b||(_0x2a371b=_0x34769a['create']()),null!=_0x287081['documentId']&&Object['hasOwnProperty']['call'](_0x287081,'documentId')&&_0x2a371b['uint32'](0xa)['string'](_0x287081['documentId']),null!=_0x287081['revisionId']&&Object['hasOwnProperty']['call'](_0x287081,'revisionId')&&_0x2a371b['uint32'](0x12)['string'](_0x287081['revisionId']),_0x2a371b;},_0xf926d4['encodeDelimited']=function(_0x2917d9,_0x1a83ee){return this['encode'](_0x2917d9,_0x1a83ee)['ldelim']();},_0xf926d4['decode']=function(_0x464145,_0x5d9cc4,_0x16b7be){_0x464145 instanceof _0x338c0e||(_0x464145=_0x338c0e['create'](_0x464145));for(var _0x244435=void 0x0===_0x5d9cc4?_0x464145['len']:_0x464145['pos']+_0x5d9cc4,_0x45d543=new _0x4a240c['RevisionHistoryGetRevisionMessage']();_0x464145['pos']<_0x244435;){var _0x380170=_0x464145['uint32']();if(_0x380170===_0x16b7be)break;switch(_0x380170>>>0x3){case 0x1:_0x45d543['documentId']=_0x464145['string']();break;case 0x2:_0x45d543['revisionId']=_0x464145['string']();break;default:_0x464145['skipType'](0x7&_0x380170);}}return _0x45d543;},_0xf926d4['decodeDelimited']=function(_0x393cce){return _0x393cce instanceof _0x338c0e||(_0x393cce=new _0x338c0e(_0x393cce)),this['decode'](_0x393cce,_0x393cce['uint32']());},_0xf926d4['verify']=function(_0x2fc965){return'object'!=typeof _0x2fc965||null===_0x2fc965?'object\x20expected':null!=_0x2fc965['documentId']&&_0x2fc965['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x2fc965['documentId'])?'documentId:\x20string\x20expected':null!=_0x2fc965['revisionId']&&_0x2fc965['hasOwnProperty']('revisionId')&&!_0x55d06d['isString'](_0x2fc965['revisionId'])?'revisionId:\x20string\x20expected':null;},_0xf926d4['fromObject']=function(_0x4cb3dc){if(_0x4cb3dc instanceof _0x4a240c['RevisionHistoryGetRevisionMessage'])return _0x4cb3dc;var _0x31072b=new _0x4a240c['RevisionHistoryGetRevisionMessage']();return null!=_0x4cb3dc['documentId']&&(_0x31072b['documentId']=String(_0x4cb3dc['documentId'])),null!=_0x4cb3dc['revisionId']&&(_0x31072b['revisionId']=String(_0x4cb3dc['revisionId'])),_0x31072b;},_0xf926d4['toObject']=function(_0x14bfdb,_0x38695f){_0x38695f||(_0x38695f={});var _0x10de1b={};return _0x38695f['defaults']&&(_0x10de1b['documentId']='',_0x10de1b['revisionId']=''),null!=_0x14bfdb['documentId']&&_0x14bfdb['hasOwnProperty']('documentId')&&(_0x10de1b['documentId']=_0x14bfdb['documentId']),null!=_0x14bfdb['revisionId']&&_0x14bfdb['hasOwnProperty']('revisionId')&&(_0x10de1b['revisionId']=_0x14bfdb['revisionId']),_0x10de1b;},_0xf926d4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0xf926d4['getTypeUrl']=function(_0x2fcaa3){return void 0x0===_0x2fcaa3&&(_0x2fcaa3='type.googleapis.com'),_0x2fcaa3+'/RevisionHistoryGetRevisionMessage';},_0xf926d4;}()),_0x4a240c['RevisionHistoryConnectMessage']=(function(){function _0x2140e9(_0x5674eb){if(_0x5674eb){for(var _0x500336=Object['keys'](_0x5674eb),_0xc8a77c=0x0;_0xc8a77c<_0x500336['length'];++_0xc8a77c)null!=_0x5674eb[_0x500336[_0xc8a77c]]&&(this[_0x500336[_0xc8a77c]]=_0x5674eb[_0x500336[_0xc8a77c]]);}}return _0x2140e9['prototype']['documentId']='',_0x2140e9['create']=function(_0x3fcdac){return new _0x2140e9(_0x3fcdac);},_0x2140e9['encode']=function(_0x4965d9,_0x3f2c8d){return _0x3f2c8d||(_0x3f2c8d=_0x34769a['create']()),null!=_0x4965d9['documentId']&&Object['hasOwnProperty']['call'](_0x4965d9,'documentId')&&_0x3f2c8d['uint32'](0xa)['string'](_0x4965d9['documentId']),_0x3f2c8d;},_0x2140e9['encodeDelimited']=function(_0x237a74,_0x12462b){return this['encode'](_0x237a74,_0x12462b)['ldelim']();},_0x2140e9['decode']=function(_0x215ced,_0x5691f9,_0x3445ca){_0x215ced instanceof _0x338c0e||(_0x215ced=_0x338c0e['create'](_0x215ced));for(var _0x2c4582=void 0x0===_0x5691f9?_0x215ced['len']:_0x215ced['pos']+_0x5691f9,_0x14ac1a=new _0x4a240c['RevisionHistoryConnectMessage']();_0x215ced['pos']<_0x2c4582;){var _0x1f1c1c=_0x215ced['uint32']();if(_0x1f1c1c===_0x3445ca)break;_0x1f1c1c>>>0x3==0x1?_0x14ac1a['documentId']=_0x215ced['string']():_0x215ced['skipType'](0x7&_0x1f1c1c);}return _0x14ac1a;},_0x2140e9['decodeDelimited']=function(_0x287071){return _0x287071 instanceof _0x338c0e||(_0x287071=new _0x338c0e(_0x287071)),this['decode'](_0x287071,_0x287071['uint32']());},_0x2140e9['verify']=function(_0xf3d318){return'object'!=typeof _0xf3d318||null===_0xf3d318?'object\x20expected':null!=_0xf3d318['documentId']&&_0xf3d318['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0xf3d318['documentId'])?'documentId:\x20string\x20expected':null;},_0x2140e9['fromObject']=function(_0xaa8639){if(_0xaa8639 instanceof _0x4a240c['RevisionHistoryConnectMessage'])return _0xaa8639;var _0x370668=new _0x4a240c['RevisionHistoryConnectMessage']();return null!=_0xaa8639['documentId']&&(_0x370668['documentId']=String(_0xaa8639['documentId'])),_0x370668;},_0x2140e9['toObject']=function(_0x353050,_0x4b81a4){_0x4b81a4||(_0x4b81a4={});var _0x2affd5={};return _0x4b81a4['defaults']&&(_0x2affd5['documentId']=''),null!=_0x353050['documentId']&&_0x353050['hasOwnProperty']('documentId')&&(_0x2affd5['documentId']=_0x353050['documentId']),_0x2affd5;},_0x2140e9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2140e9['getTypeUrl']=function(_0x33cb14){return void 0x0===_0x33cb14&&(_0x33cb14='type.googleapis.com'),_0x33cb14+'/RevisionHistoryConnectMessage';},_0x2140e9;}()),_0x4a240c['RevisionDescriptor']=(function(){function _0x293107(_0x43fa66){if(_0x43fa66){for(var _0x5c8e01=Object['keys'](_0x43fa66),_0x21eb07=0x0;_0x21eb07<_0x5c8e01['length'];++_0x21eb07)null!=_0x43fa66[_0x5c8e01[_0x21eb07]]&&(this[_0x5c8e01[_0x21eb07]]=_0x43fa66[_0x5c8e01[_0x21eb07]]);}}return _0x293107['prototype']['revisionId']='',_0x293107['prototype']['name']='',_0x293107['prototype']['creatorId']='',_0x293107['prototype']['authorsIds']='',_0x293107['prototype']['diffData']='',_0x293107['prototype']['createdAt']='',_0x293107['prototype']['attributes']='',_0x293107['prototype']['toVersion']=0x0,_0x293107['prototype']['fromVersion']=0x0,_0x293107['prototype']['isEmptyCurrent']=!0x1,_0x293107['create']=function(_0x4e90cc){return new _0x293107(_0x4e90cc);},_0x293107['encode']=function(_0x3f0fd9,_0x15c89b){return _0x15c89b||(_0x15c89b=_0x34769a['create']()),null!=_0x3f0fd9['revisionId']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'revisionId')&&_0x15c89b['uint32'](0xa)['string'](_0x3f0fd9['revisionId']),null!=_0x3f0fd9['name']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'name')&&_0x15c89b['uint32'](0x12)['string'](_0x3f0fd9['name']),null!=_0x3f0fd9['creatorId']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'creatorId')&&_0x15c89b['uint32'](0x1a)['string'](_0x3f0fd9['creatorId']),null!=_0x3f0fd9['authorsIds']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'authorsIds')&&_0x15c89b['uint32'](0x22)['string'](_0x3f0fd9['authorsIds']),null!=_0x3f0fd9['diffData']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'diffData')&&_0x15c89b['uint32'](0x2a)['string'](_0x3f0fd9['diffData']),null!=_0x3f0fd9['createdAt']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'createdAt')&&_0x15c89b['uint32'](0x32)['string'](_0x3f0fd9['createdAt']),null!=_0x3f0fd9['attributes']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'attributes')&&_0x15c89b['uint32'](0x3a)['string'](_0x3f0fd9['attributes']),null!=_0x3f0fd9['toVersion']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'toVersion')&&_0x15c89b['uint32'](0x40)['uint32'](_0x3f0fd9['toVersion']),null!=_0x3f0fd9['fromVersion']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'fromVersion')&&_0x15c89b['uint32'](0x48)['uint32'](_0x3f0fd9['fromVersion']),null!=_0x3f0fd9['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x3f0fd9,'isEmptyCurrent')&&_0x15c89b['uint32'](0x50)['bool'](_0x3f0fd9['isEmptyCurrent']),_0x15c89b;},_0x293107['encodeDelimited']=function(_0xb95388,_0x42ee94){return this['encode'](_0xb95388,_0x42ee94)['ldelim']();},_0x293107['decode']=function(_0x41c2af,_0x33d9fe,_0x2d016b){_0x41c2af instanceof _0x338c0e||(_0x41c2af=_0x338c0e['create'](_0x41c2af));for(var _0x46e3b8=void 0x0===_0x33d9fe?_0x41c2af['len']:_0x41c2af['pos']+_0x33d9fe,_0x452840=new _0x4a240c['RevisionDescriptor']();_0x41c2af['pos']<_0x46e3b8;){var _0x535e25=_0x41c2af['uint32']();if(_0x535e25===_0x2d016b)break;switch(_0x535e25>>>0x3){case 0x1:_0x452840['revisionId']=_0x41c2af['string']();break;case 0x2:_0x452840['name']=_0x41c2af['string']();break;case 0x3:_0x452840['creatorId']=_0x41c2af['string']();break;case 0x4:_0x452840['authorsIds']=_0x41c2af['string']();break;case 0x5:_0x452840['diffData']=_0x41c2af['string']();break;case 0x6:_0x452840['createdAt']=_0x41c2af['string']();break;case 0x7:_0x452840['attributes']=_0x41c2af['string']();break;case 0x8:_0x452840['toVersion']=_0x41c2af['uint32']();break;case 0x9:_0x452840['fromVersion']=_0x41c2af['uint32']();break;case 0xa:_0x452840['isEmptyCurrent']=_0x41c2af['bool']();break;default:_0x41c2af['skipType'](0x7&_0x535e25);}}return _0x452840;},_0x293107['decodeDelimited']=function(_0x4d48a1){return _0x4d48a1 instanceof _0x338c0e||(_0x4d48a1=new _0x338c0e(_0x4d48a1)),this['decode'](_0x4d48a1,_0x4d48a1['uint32']());},_0x293107['verify']=function(_0x2b713f){return'object'!=typeof _0x2b713f||null===_0x2b713f?'object\x20expected':null!=_0x2b713f['revisionId']&&_0x2b713f['hasOwnProperty']('revisionId')&&!_0x55d06d['isString'](_0x2b713f['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x2b713f['name']&&_0x2b713f['hasOwnProperty']('name')&&!_0x55d06d['isString'](_0x2b713f['name'])?'name:\x20string\x20expected':null!=_0x2b713f['creatorId']&&_0x2b713f['hasOwnProperty']('creatorId')&&!_0x55d06d['isString'](_0x2b713f['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x2b713f['authorsIds']&&_0x2b713f['hasOwnProperty']('authorsIds')&&!_0x55d06d['isString'](_0x2b713f['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x2b713f['diffData']&&_0x2b713f['hasOwnProperty']('diffData')&&!_0x55d06d['isString'](_0x2b713f['diffData'])?'diffData:\x20string\x20expected':null!=_0x2b713f['createdAt']&&_0x2b713f['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x2b713f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2b713f['attributes']&&_0x2b713f['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x2b713f['attributes'])?'attributes:\x20string\x20expected':null!=_0x2b713f['toVersion']&&_0x2b713f['hasOwnProperty']('toVersion')&&!_0x55d06d['isInteger'](_0x2b713f['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x2b713f['fromVersion']&&_0x2b713f['hasOwnProperty']('fromVersion')&&!_0x55d06d['isInteger'](_0x2b713f['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x2b713f['isEmptyCurrent']&&_0x2b713f['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x2b713f['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x293107['fromObject']=function(_0x3eee0b){if(_0x3eee0b instanceof _0x4a240c['RevisionDescriptor'])return _0x3eee0b;var _0x5d3013=new _0x4a240c['RevisionDescriptor']();return null!=_0x3eee0b['revisionId']&&(_0x5d3013['revisionId']=String(_0x3eee0b['revisionId'])),null!=_0x3eee0b['name']&&(_0x5d3013['name']=String(_0x3eee0b['name'])),null!=_0x3eee0b['creatorId']&&(_0x5d3013['creatorId']=String(_0x3eee0b['creatorId'])),null!=_0x3eee0b['authorsIds']&&(_0x5d3013['authorsIds']=String(_0x3eee0b['authorsIds'])),null!=_0x3eee0b['diffData']&&(_0x5d3013['diffData']=String(_0x3eee0b['diffData'])),null!=_0x3eee0b['createdAt']&&(_0x5d3013['createdAt']=String(_0x3eee0b['createdAt'])),null!=_0x3eee0b['attributes']&&(_0x5d3013['attributes']=String(_0x3eee0b['attributes'])),null!=_0x3eee0b['toVersion']&&(_0x5d3013['toVersion']=_0x3eee0b['toVersion']>>>0x0),null!=_0x3eee0b['fromVersion']&&(_0x5d3013['fromVersion']=_0x3eee0b['fromVersion']>>>0x0),null!=_0x3eee0b['isEmptyCurrent']&&(_0x5d3013['isEmptyCurrent']=Boolean(_0x3eee0b['isEmptyCurrent'])),_0x5d3013;},_0x293107['toObject']=function(_0x5aad20,_0x5bcf52){_0x5bcf52||(_0x5bcf52={});var _0xb3fd32={};return _0x5bcf52['defaults']&&(_0xb3fd32['revisionId']='',_0xb3fd32['name']='',_0xb3fd32['creatorId']='',_0xb3fd32['authorsIds']='',_0xb3fd32['diffData']='',_0xb3fd32['createdAt']='',_0xb3fd32['attributes']='',_0xb3fd32['toVersion']=0x0,_0xb3fd32['fromVersion']=0x0,_0xb3fd32['isEmptyCurrent']=!0x1),null!=_0x5aad20['revisionId']&&_0x5aad20['hasOwnProperty']('revisionId')&&(_0xb3fd32['revisionId']=_0x5aad20['revisionId']),null!=_0x5aad20['name']&&_0x5aad20['hasOwnProperty']('name')&&(_0xb3fd32['name']=_0x5aad20['name']),null!=_0x5aad20['creatorId']&&_0x5aad20['hasOwnProperty']('creatorId')&&(_0xb3fd32['creatorId']=_0x5aad20['creatorId']),null!=_0x5aad20['authorsIds']&&_0x5aad20['hasOwnProperty']('authorsIds')&&(_0xb3fd32['authorsIds']=_0x5aad20['authorsIds']),null!=_0x5aad20['diffData']&&_0x5aad20['hasOwnProperty']('diffData')&&(_0xb3fd32['diffData']=_0x5aad20['diffData']),null!=_0x5aad20['createdAt']&&_0x5aad20['hasOwnProperty']('createdAt')&&(_0xb3fd32['createdAt']=_0x5aad20['createdAt']),null!=_0x5aad20['attributes']&&_0x5aad20['hasOwnProperty']('attributes')&&(_0xb3fd32['attributes']=_0x5aad20['attributes']),null!=_0x5aad20['toVersion']&&_0x5aad20['hasOwnProperty']('toVersion')&&(_0xb3fd32['toVersion']=_0x5aad20['toVersion']),null!=_0x5aad20['fromVersion']&&_0x5aad20['hasOwnProperty']('fromVersion')&&(_0xb3fd32['fromVersion']=_0x5aad20['fromVersion']),null!=_0x5aad20['isEmptyCurrent']&&_0x5aad20['hasOwnProperty']('isEmptyCurrent')&&(_0xb3fd32['isEmptyCurrent']=_0x5aad20['isEmptyCurrent']),_0xb3fd32;},_0x293107['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x293107['getTypeUrl']=function(_0x44a5b3){return void 0x0===_0x44a5b3&&(_0x44a5b3='type.googleapis.com'),_0x44a5b3+'/RevisionDescriptor';},_0x293107;}()),_0x4a240c['IsEditorBundleUploadedResponse']=(function(){function _0x1c1753(_0xec5e05){if(_0xec5e05){for(var _0x28a6a0=Object['keys'](_0xec5e05),_0x5d14db=0x0;_0x5d14db<_0x28a6a0['length'];++_0x5d14db)null!=_0xec5e05[_0x28a6a0[_0x5d14db]]&&(this[_0x28a6a0[_0x5d14db]]=_0xec5e05[_0x28a6a0[_0x5d14db]]);}}return _0x1c1753['prototype']['isUploaded']=!0x1,_0x1c1753['create']=function(_0x56b5d2){return new _0x1c1753(_0x56b5d2);},_0x1c1753['encode']=function(_0x2d5fed,_0x58d280){return _0x58d280||(_0x58d280=_0x34769a['create']()),null!=_0x2d5fed['isUploaded']&&Object['hasOwnProperty']['call'](_0x2d5fed,'isUploaded')&&_0x58d280['uint32'](0x8)['bool'](_0x2d5fed['isUploaded']),_0x58d280;},_0x1c1753['encodeDelimited']=function(_0x4b2e74,_0x31fb58){return this['encode'](_0x4b2e74,_0x31fb58)['ldelim']();},_0x1c1753['decode']=function(_0x171837,_0x410b87,_0x2a4080){_0x171837 instanceof _0x338c0e||(_0x171837=_0x338c0e['create'](_0x171837));for(var _0x5e4763=void 0x0===_0x410b87?_0x171837['len']:_0x171837['pos']+_0x410b87,_0x315aad=new _0x4a240c['IsEditorBundleUploadedResponse']();_0x171837['pos']<_0x5e4763;){var _0x38b5e8=_0x171837['uint32']();if(_0x38b5e8===_0x2a4080)break;_0x38b5e8>>>0x3==0x1?_0x315aad['isUploaded']=_0x171837['bool']():_0x171837['skipType'](0x7&_0x38b5e8);}return _0x315aad;},_0x1c1753['decodeDelimited']=function(_0x3e3fd7){return _0x3e3fd7 instanceof _0x338c0e||(_0x3e3fd7=new _0x338c0e(_0x3e3fd7)),this['decode'](_0x3e3fd7,_0x3e3fd7['uint32']());},_0x1c1753['verify']=function(_0x13bf75){return'object'!=typeof _0x13bf75||null===_0x13bf75?'object\x20expected':null!=_0x13bf75['isUploaded']&&_0x13bf75['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x13bf75['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x1c1753['fromObject']=function(_0x141d3a){if(_0x141d3a instanceof _0x4a240c['IsEditorBundleUploadedResponse'])return _0x141d3a;var _0x284028=new _0x4a240c['IsEditorBundleUploadedResponse']();return null!=_0x141d3a['isUploaded']&&(_0x284028['isUploaded']=Boolean(_0x141d3a['isUploaded'])),_0x284028;},_0x1c1753['toObject']=function(_0x3c0026,_0xc81704){_0xc81704||(_0xc81704={});var _0x4edb37={};return _0xc81704['defaults']&&(_0x4edb37['isUploaded']=!0x1),null!=_0x3c0026['isUploaded']&&_0x3c0026['hasOwnProperty']('isUploaded')&&(_0x4edb37['isUploaded']=_0x3c0026['isUploaded']),_0x4edb37;},_0x1c1753['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x1c1753['getTypeUrl']=function(_0x38479b){return void 0x0===_0x38479b&&(_0x38479b='type.googleapis.com'),_0x38479b+'/IsEditorBundleUploadedResponse';},_0x1c1753;}()),_0x4a240c['IsEditorBundleUploadedMessage']=(function(){function _0x2df155(_0x3934ee){if(_0x3934ee){for(var _0x5bbc47=Object['keys'](_0x3934ee),_0x437f22=0x0;_0x437f22<_0x5bbc47['length'];++_0x437f22)null!=_0x3934ee[_0x5bbc47[_0x437f22]]&&(this[_0x5bbc47[_0x437f22]]=_0x3934ee[_0x5bbc47[_0x437f22]]);}}return _0x2df155['prototype']['bundleVersion']='',_0x2df155['create']=function(_0x5f929f){return new _0x2df155(_0x5f929f);},_0x2df155['encode']=function(_0x1f8869,_0x3ec499){return _0x3ec499||(_0x3ec499=_0x34769a['create']()),null!=_0x1f8869['bundleVersion']&&Object['hasOwnProperty']['call'](_0x1f8869,'bundleVersion')&&_0x3ec499['uint32'](0xa)['string'](_0x1f8869['bundleVersion']),_0x3ec499;},_0x2df155['encodeDelimited']=function(_0x129723,_0x46b5cf){return this['encode'](_0x129723,_0x46b5cf)['ldelim']();},_0x2df155['decode']=function(_0x535bb4,_0x263811,_0x1efb11){_0x535bb4 instanceof _0x338c0e||(_0x535bb4=_0x338c0e['create'](_0x535bb4));for(var _0x34ca40=void 0x0===_0x263811?_0x535bb4['len']:_0x535bb4['pos']+_0x263811,_0x1a858b=new _0x4a240c['IsEditorBundleUploadedMessage']();_0x535bb4['pos']<_0x34ca40;){var _0x464835=_0x535bb4['uint32']();if(_0x464835===_0x1efb11)break;_0x464835>>>0x3==0x1?_0x1a858b['bundleVersion']=_0x535bb4['string']():_0x535bb4['skipType'](0x7&_0x464835);}return _0x1a858b;},_0x2df155['decodeDelimited']=function(_0x228ed7){return _0x228ed7 instanceof _0x338c0e||(_0x228ed7=new _0x338c0e(_0x228ed7)),this['decode'](_0x228ed7,_0x228ed7['uint32']());},_0x2df155['verify']=function(_0x108dd7){return'object'!=typeof _0x108dd7||null===_0x108dd7?'object\x20expected':null!=_0x108dd7['bundleVersion']&&_0x108dd7['hasOwnProperty']('bundleVersion')&&!_0x55d06d['isString'](_0x108dd7['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x2df155['fromObject']=function(_0x3cdca5){if(_0x3cdca5 instanceof _0x4a240c['IsEditorBundleUploadedMessage'])return _0x3cdca5;var _0x3fc96d=new _0x4a240c['IsEditorBundleUploadedMessage']();return null!=_0x3cdca5['bundleVersion']&&(_0x3fc96d['bundleVersion']=String(_0x3cdca5['bundleVersion'])),_0x3fc96d;},_0x2df155['toObject']=function(_0xd970ee,_0x2f52ef){_0x2f52ef||(_0x2f52ef={});var _0x3facd7={};return _0x2f52ef['defaults']&&(_0x3facd7['bundleVersion']=''),null!=_0xd970ee['bundleVersion']&&_0xd970ee['hasOwnProperty']('bundleVersion')&&(_0x3facd7['bundleVersion']=_0xd970ee['bundleVersion']),_0x3facd7;},_0x2df155['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2df155['getTypeUrl']=function(_0x377c46){return void 0x0===_0x377c46&&(_0x377c46='type.googleapis.com'),_0x377c46+'/IsEditorBundleUploadedMessage';},_0x2df155;}()),_0x4a240c['KeyValueDescriptor']=(function(){function _0x378289(_0x9784e6){if(_0x9784e6){for(var _0x2ea0a2=Object['keys'](_0x9784e6),_0x448482=0x0;_0x448482<_0x2ea0a2['length'];++_0x448482)null!=_0x9784e6[_0x2ea0a2[_0x448482]]&&(this[_0x2ea0a2[_0x448482]]=_0x9784e6[_0x2ea0a2[_0x448482]]);}}return _0x378289['prototype']['key']='',_0x378289['prototype']['value']='',_0x378289['create']=function(_0x3a9829){return new _0x378289(_0x3a9829);},_0x378289['encode']=function(_0x207dd5,_0x5a3e02){return _0x5a3e02||(_0x5a3e02=_0x34769a['create']()),null!=_0x207dd5['key']&&Object['hasOwnProperty']['call'](_0x207dd5,'key')&&_0x5a3e02['uint32'](0xa)['string'](_0x207dd5['key']),null!=_0x207dd5['value']&&Object['hasOwnProperty']['call'](_0x207dd5,'value')&&_0x5a3e02['uint32'](0x12)['string'](_0x207dd5['value']),_0x5a3e02;},_0x378289['encodeDelimited']=function(_0x57cd68,_0x5d118e){return this['encode'](_0x57cd68,_0x5d118e)['ldelim']();},_0x378289['decode']=function(_0x4480d8,_0x31073b,_0x1e337b){_0x4480d8 instanceof _0x338c0e||(_0x4480d8=_0x338c0e['create'](_0x4480d8));for(var _0x3e0501=void 0x0===_0x31073b?_0x4480d8['len']:_0x4480d8['pos']+_0x31073b,_0x854a6f=new _0x4a240c['KeyValueDescriptor']();_0x4480d8['pos']<_0x3e0501;){var _0x463dd2=_0x4480d8['uint32']();if(_0x463dd2===_0x1e337b)break;switch(_0x463dd2>>>0x3){case 0x1:_0x854a6f['key']=_0x4480d8['string']();break;case 0x2:_0x854a6f['value']=_0x4480d8['string']();break;default:_0x4480d8['skipType'](0x7&_0x463dd2);}}return _0x854a6f;},_0x378289['decodeDelimited']=function(_0x4ae8de){return _0x4ae8de instanceof _0x338c0e||(_0x4ae8de=new _0x338c0e(_0x4ae8de)),this['decode'](_0x4ae8de,_0x4ae8de['uint32']());},_0x378289['verify']=function(_0x1d770c){return'object'!=typeof _0x1d770c||null===_0x1d770c?'object\x20expected':null!=_0x1d770c['key']&&_0x1d770c['hasOwnProperty']('key')&&!_0x55d06d['isString'](_0x1d770c['key'])?'key:\x20string\x20expected':null!=_0x1d770c['value']&&_0x1d770c['hasOwnProperty']('value')&&!_0x55d06d['isString'](_0x1d770c['value'])?'value:\x20string\x20expected':null;},_0x378289['fromObject']=function(_0x1af299){if(_0x1af299 instanceof _0x4a240c['KeyValueDescriptor'])return _0x1af299;var _0xeb1345=new _0x4a240c['KeyValueDescriptor']();return null!=_0x1af299['key']&&(_0xeb1345['key']=String(_0x1af299['key'])),null!=_0x1af299['value']&&(_0xeb1345['value']=String(_0x1af299['value'])),_0xeb1345;},_0x378289['toObject']=function(_0x56bfc1,_0x4b8082){_0x4b8082||(_0x4b8082={});var _0x175b4e={};return _0x4b8082['defaults']&&(_0x175b4e['key']='',_0x175b4e['value']=''),null!=_0x56bfc1['key']&&_0x56bfc1['hasOwnProperty']('key')&&(_0x175b4e['key']=_0x56bfc1['key']),null!=_0x56bfc1['value']&&_0x56bfc1['hasOwnProperty']('value')&&(_0x175b4e['value']=_0x56bfc1['value']),_0x175b4e;},_0x378289['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x378289['getTypeUrl']=function(_0x440b34){return void 0x0===_0x440b34&&(_0x440b34='type.googleapis.com'),_0x440b34+'/KeyValueDescriptor';},_0x378289;}()),_0x4a240c['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x495952(_0x4cd84f){if(this['threads']=[],this['threadsV2']=[],_0x4cd84f){for(var _0x10a9d1=Object['keys'](_0x4cd84f),_0x2461a2=0x0;_0x2461a2<_0x10a9d1['length'];++_0x2461a2)null!=_0x4cd84f[_0x10a9d1[_0x2461a2]]&&(this[_0x10a9d1[_0x2461a2]]=_0x4cd84f[_0x10a9d1[_0x2461a2]]);}}return _0x495952['prototype']['threads']=_0x55d06d['emptyArray'],_0x495952['prototype']['threadsV2']=_0x55d06d['emptyArray'],_0x495952['create']=function(_0x19d643){return new _0x495952(_0x19d643);},_0x495952['encode']=function(_0x2a1836,_0x597eb2){if(_0x597eb2||(_0x597eb2=_0x34769a['create']()),null!=_0x2a1836['threads']&&_0x2a1836['threads']['length']){for(var _0x15a8b8=0x0;_0x15a8b8<_0x2a1836['threads']['length'];++_0x15a8b8)_0x597eb2['uint32'](0xa)['string'](_0x2a1836['threads'][_0x15a8b8]);}if(null!=_0x2a1836['threadsV2']&&_0x2a1836['threadsV2']['length']){for(_0x15a8b8=0x0;_0x15a8b8<_0x2a1836['threadsV2']['length'];++_0x15a8b8)_0x4a240c['CommentsThreadDescriptor']['encode'](_0x2a1836['threadsV2'][_0x15a8b8],_0x597eb2['uint32'](0x12)['fork']())['ldelim']();}return _0x597eb2;},_0x495952['encodeDelimited']=function(_0x2d269f,_0xcbd754){return this['encode'](_0x2d269f,_0xcbd754)['ldelim']();},_0x495952['decode']=function(_0x5784d3,_0x1bf42c,_0x242d92){_0x5784d3 instanceof _0x338c0e||(_0x5784d3=_0x338c0e['create'](_0x5784d3));for(var _0x31594f=void 0x0===_0x1bf42c?_0x5784d3['len']:_0x5784d3['pos']+_0x1bf42c,_0x54cd41=new _0x4a240c['CommentsV2GetDocumentThreadsResponse']();_0x5784d3['pos']<_0x31594f;){var _0x4a9f80=_0x5784d3['uint32']();if(_0x4a9f80===_0x242d92)break;switch(_0x4a9f80>>>0x3){case 0x1:_0x54cd41['threads']&&_0x54cd41['threads']['length']||(_0x54cd41['threads']=[]),_0x54cd41['threads']['push'](_0x5784d3['string']());break;case 0x2:_0x54cd41['threadsV2']&&_0x54cd41['threadsV2']['length']||(_0x54cd41['threadsV2']=[]),_0x54cd41['threadsV2']['push'](_0x4a240c['CommentsThreadDescriptor']['decode'](_0x5784d3,_0x5784d3['uint32']()));break;default:_0x5784d3['skipType'](0x7&_0x4a9f80);}}return _0x54cd41;},_0x495952['decodeDelimited']=function(_0x3ef4d8){return _0x3ef4d8 instanceof _0x338c0e||(_0x3ef4d8=new _0x338c0e(_0x3ef4d8)),this['decode'](_0x3ef4d8,_0x3ef4d8['uint32']());},_0x495952['verify']=function(_0x86a4d3){if('object'!=typeof _0x86a4d3||null===_0x86a4d3)return'object\x20expected';if(null!=_0x86a4d3['threads']&&_0x86a4d3['hasOwnProperty']('threads')){if(!Array['isArray'](_0x86a4d3['threads']))return'threads:\x20array\x20expected';for(var _0x1408a0=0x0;_0x1408a0<_0x86a4d3['threads']['length'];++_0x1408a0)if(!_0x55d06d['isString'](_0x86a4d3['threads'][_0x1408a0]))return'threads:\x20string[]\x20expected';}if(null!=_0x86a4d3['threadsV2']&&_0x86a4d3['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x86a4d3['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x1408a0=0x0;_0x1408a0<_0x86a4d3['threadsV2']['length'];++_0x1408a0){var _0x577dc3=_0x4a240c['CommentsThreadDescriptor']['verify'](_0x86a4d3['threadsV2'][_0x1408a0]);if(_0x577dc3)return'threadsV2.'+_0x577dc3;}}return null;},_0x495952['fromObject']=function(_0x4ae4c3){if(_0x4ae4c3 instanceof _0x4a240c['CommentsV2GetDocumentThreadsResponse'])return _0x4ae4c3;var _0x423a3e=new _0x4a240c['CommentsV2GetDocumentThreadsResponse']();if(_0x4ae4c3['threads']){if(!Array['isArray'](_0x4ae4c3['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x423a3e['threads']=[];for(var _0x55b155=0x0;_0x55b155<_0x4ae4c3['threads']['length'];++_0x55b155)_0x423a3e['threads'][_0x55b155]=String(_0x4ae4c3['threads'][_0x55b155]);}if(_0x4ae4c3['threadsV2']){if(!Array['isArray'](_0x4ae4c3['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x423a3e['threadsV2']=[],_0x55b155=0x0;_0x55b155<_0x4ae4c3['threadsV2']['length'];++_0x55b155){if('object'!=typeof _0x4ae4c3['threadsV2'][_0x55b155])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x423a3e['threadsV2'][_0x55b155]=_0x4a240c['CommentsThreadDescriptor']['fromObject'](_0x4ae4c3['threadsV2'][_0x55b155]);}}return _0x423a3e;},_0x495952['toObject']=function(_0x475f4d,_0x3b4d0f){_0x3b4d0f||(_0x3b4d0f={});var _0x19aa12={};if((_0x3b4d0f['arrays']||_0x3b4d0f['defaults'])&&(_0x19aa12['threads']=[],_0x19aa12['threadsV2']=[]),_0x475f4d['threads']&&_0x475f4d['threads']['length']){_0x19aa12['threads']=[];for(var _0x2ae86e=0x0;_0x2ae86e<_0x475f4d['threads']['length'];++_0x2ae86e)_0x19aa12['threads'][_0x2ae86e]=_0x475f4d['threads'][_0x2ae86e];}if(_0x475f4d['threadsV2']&&_0x475f4d['threadsV2']['length']){for(_0x19aa12['threadsV2']=[],_0x2ae86e=0x0;_0x2ae86e<_0x475f4d['threadsV2']['length'];++_0x2ae86e)_0x19aa12['threadsV2'][_0x2ae86e]=_0x4a240c['CommentsThreadDescriptor']['toObject'](_0x475f4d['threadsV2'][_0x2ae86e],_0x3b4d0f);}return _0x19aa12;},_0x495952['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x495952['getTypeUrl']=function(_0x4b3ee9){return void 0x0===_0x4b3ee9&&(_0x4b3ee9='type.googleapis.com'),_0x4b3ee9+'/CommentsV2GetDocumentThreadsResponse';},_0x495952;}()),_0x4a240c['CommentsV2GetCommentThreadResponse']=(function(){function _0x452663(_0x31b66f){if(this['comments']=[],this['commentsV2']=[],_0x31b66f){for(var _0x2f6a34=Object['keys'](_0x31b66f),_0x12e831=0x0;_0x12e831<_0x2f6a34['length'];++_0x12e831)null!=_0x31b66f[_0x2f6a34[_0x12e831]]&&(this[_0x2f6a34[_0x12e831]]=_0x31b66f[_0x2f6a34[_0x12e831]]);}}return _0x452663['prototype']['commentThreadId']='',_0x452663['prototype']['comments']=_0x55d06d['emptyArray'],_0x452663['prototype']['commentsV2']=_0x55d06d['emptyArray'],_0x452663['prototype']['resolvedAt']='',_0x452663['prototype']['resolvedBy']='',_0x452663['prototype']['context']='',_0x452663['prototype']['createdAt']='',_0x452663['prototype']['deletedAt']='',_0x452663['prototype']['attributes']='',_0x452663['prototype']['unlinkedAt']='',_0x452663['create']=function(_0x760024){return new _0x452663(_0x760024);},_0x452663['encode']=function(_0x2f498a,_0x27e04f){if(_0x27e04f||(_0x27e04f=_0x34769a['create']()),null!=_0x2f498a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2f498a,'commentThreadId')&&_0x27e04f['uint32'](0xa)['string'](_0x2f498a['commentThreadId']),null!=_0x2f498a['comments']&&_0x2f498a['comments']['length']){for(var _0x3d7ac5=0x0;_0x3d7ac5<_0x2f498a['comments']['length'];++_0x3d7ac5)_0x27e04f['uint32'](0x12)['string'](_0x2f498a['comments'][_0x3d7ac5]);}if(null!=_0x2f498a['commentsV2']&&_0x2f498a['commentsV2']['length']){for(_0x3d7ac5=0x0;_0x3d7ac5<_0x2f498a['commentsV2']['length'];++_0x3d7ac5)_0x4a240c['CommentDescriptor']['encode'](_0x2f498a['commentsV2'][_0x3d7ac5],_0x27e04f['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x2f498a['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2f498a,'resolvedAt')&&_0x27e04f['uint32'](0x22)['string'](_0x2f498a['resolvedAt']),null!=_0x2f498a['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2f498a,'resolvedBy')&&_0x27e04f['uint32'](0x2a)['string'](_0x2f498a['resolvedBy']),null!=_0x2f498a['context']&&Object['hasOwnProperty']['call'](_0x2f498a,'context')&&_0x27e04f['uint32'](0x32)['string'](_0x2f498a['context']),null!=_0x2f498a['createdAt']&&Object['hasOwnProperty']['call'](_0x2f498a,'createdAt')&&_0x27e04f['uint32'](0x3a)['string'](_0x2f498a['createdAt']),null!=_0x2f498a['deletedAt']&&Object['hasOwnProperty']['call'](_0x2f498a,'deletedAt')&&_0x27e04f['uint32'](0x42)['string'](_0x2f498a['deletedAt']),null!=_0x2f498a['attributes']&&Object['hasOwnProperty']['call'](_0x2f498a,'attributes')&&_0x27e04f['uint32'](0x4a)['string'](_0x2f498a['attributes']),null!=_0x2f498a['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x2f498a,'unlinkedAt')&&_0x27e04f['uint32'](0x52)['string'](_0x2f498a['unlinkedAt']),_0x27e04f;},_0x452663['encodeDelimited']=function(_0x1bcc91,_0x5054eb){return this['encode'](_0x1bcc91,_0x5054eb)['ldelim']();},_0x452663['decode']=function(_0xe0f1d3,_0x3810b1,_0x27da7e){_0xe0f1d3 instanceof _0x338c0e||(_0xe0f1d3=_0x338c0e['create'](_0xe0f1d3));for(var _0x15e84a=void 0x0===_0x3810b1?_0xe0f1d3['len']:_0xe0f1d3['pos']+_0x3810b1,_0x38e75b=new _0x4a240c['CommentsV2GetCommentThreadResponse']();_0xe0f1d3['pos']<_0x15e84a;){var _0xe28b75=_0xe0f1d3['uint32']();if(_0xe28b75===_0x27da7e)break;switch(_0xe28b75>>>0x3){case 0x1:_0x38e75b['commentThreadId']=_0xe0f1d3['string']();break;case 0x2:_0x38e75b['comments']&&_0x38e75b['comments']['length']||(_0x38e75b['comments']=[]),_0x38e75b['comments']['push'](_0xe0f1d3['string']());break;case 0x3:_0x38e75b['commentsV2']&&_0x38e75b['commentsV2']['length']||(_0x38e75b['commentsV2']=[]),_0x38e75b['commentsV2']['push'](_0x4a240c['CommentDescriptor']['decode'](_0xe0f1d3,_0xe0f1d3['uint32']()));break;case 0x4:_0x38e75b['resolvedAt']=_0xe0f1d3['string']();break;case 0x5:_0x38e75b['resolvedBy']=_0xe0f1d3['string']();break;case 0x6:_0x38e75b['context']=_0xe0f1d3['string']();break;case 0x7:_0x38e75b['createdAt']=_0xe0f1d3['string']();break;case 0x8:_0x38e75b['deletedAt']=_0xe0f1d3['string']();break;case 0x9:_0x38e75b['attributes']=_0xe0f1d3['string']();break;case 0xa:_0x38e75b['unlinkedAt']=_0xe0f1d3['string']();break;default:_0xe0f1d3['skipType'](0x7&_0xe28b75);}}return _0x38e75b;},_0x452663['decodeDelimited']=function(_0x15e454){return _0x15e454 instanceof _0x338c0e||(_0x15e454=new _0x338c0e(_0x15e454)),this['decode'](_0x15e454,_0x15e454['uint32']());},_0x452663['verify']=function(_0x4a23f1){if('object'!=typeof _0x4a23f1||null===_0x4a23f1)return'object\x20expected';if(null!=_0x4a23f1['commentThreadId']&&_0x4a23f1['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x4a23f1['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4a23f1['comments']&&_0x4a23f1['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4a23f1['comments']))return'comments:\x20array\x20expected';for(var _0x1f497a=0x0;_0x1f497a<_0x4a23f1['comments']['length'];++_0x1f497a)if(!_0x55d06d['isString'](_0x4a23f1['comments'][_0x1f497a]))return'comments:\x20string[]\x20expected';}if(null!=_0x4a23f1['commentsV2']&&_0x4a23f1['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x4a23f1['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x1f497a=0x0;_0x1f497a<_0x4a23f1['commentsV2']['length'];++_0x1f497a){var _0x1d16df=_0x4a240c['CommentDescriptor']['verify'](_0x4a23f1['commentsV2'][_0x1f497a]);if(_0x1d16df)return'commentsV2.'+_0x1d16df;}}return null!=_0x4a23f1['resolvedAt']&&_0x4a23f1['hasOwnProperty']('resolvedAt')&&!_0x55d06d['isString'](_0x4a23f1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x4a23f1['resolvedBy']&&_0x4a23f1['hasOwnProperty']('resolvedBy')&&!_0x55d06d['isString'](_0x4a23f1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4a23f1['context']&&_0x4a23f1['hasOwnProperty']('context')&&!_0x55d06d['isString'](_0x4a23f1['context'])?'context:\x20string\x20expected':null!=_0x4a23f1['createdAt']&&_0x4a23f1['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x4a23f1['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4a23f1['deletedAt']&&_0x4a23f1['hasOwnProperty']('deletedAt')&&!_0x55d06d['isString'](_0x4a23f1['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x4a23f1['attributes']&&_0x4a23f1['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x4a23f1['attributes'])?'attributes:\x20string\x20expected':null!=_0x4a23f1['unlinkedAt']&&_0x4a23f1['hasOwnProperty']('unlinkedAt')&&!_0x55d06d['isString'](_0x4a23f1['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x452663['fromObject']=function(_0x1906c9){if(_0x1906c9 instanceof _0x4a240c['CommentsV2GetCommentThreadResponse'])return _0x1906c9;var _0x341893=new _0x4a240c['CommentsV2GetCommentThreadResponse']();if(null!=_0x1906c9['commentThreadId']&&(_0x341893['commentThreadId']=String(_0x1906c9['commentThreadId'])),_0x1906c9['comments']){if(!Array['isArray'](_0x1906c9['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x341893['comments']=[];for(var _0x1dcd39=0x0;_0x1dcd39<_0x1906c9['comments']['length'];++_0x1dcd39)_0x341893['comments'][_0x1dcd39]=String(_0x1906c9['comments'][_0x1dcd39]);}if(_0x1906c9['commentsV2']){if(!Array['isArray'](_0x1906c9['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x341893['commentsV2']=[],_0x1dcd39=0x0;_0x1dcd39<_0x1906c9['commentsV2']['length'];++_0x1dcd39){if('object'!=typeof _0x1906c9['commentsV2'][_0x1dcd39])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x341893['commentsV2'][_0x1dcd39]=_0x4a240c['CommentDescriptor']['fromObject'](_0x1906c9['commentsV2'][_0x1dcd39]);}}return null!=_0x1906c9['resolvedAt']&&(_0x341893['resolvedAt']=String(_0x1906c9['resolvedAt'])),null!=_0x1906c9['resolvedBy']&&(_0x341893['resolvedBy']=String(_0x1906c9['resolvedBy'])),null!=_0x1906c9['context']&&(_0x341893['context']=String(_0x1906c9['context'])),null!=_0x1906c9['createdAt']&&(_0x341893['createdAt']=String(_0x1906c9['createdAt'])),null!=_0x1906c9['deletedAt']&&(_0x341893['deletedAt']=String(_0x1906c9['deletedAt'])),null!=_0x1906c9['attributes']&&(_0x341893['attributes']=String(_0x1906c9['attributes'])),null!=_0x1906c9['unlinkedAt']&&(_0x341893['unlinkedAt']=String(_0x1906c9['unlinkedAt'])),_0x341893;},_0x452663['toObject']=function(_0x6e4a95,_0xbb38f){_0xbb38f||(_0xbb38f={});var _0xf079fd={};if((_0xbb38f['arrays']||_0xbb38f['defaults'])&&(_0xf079fd['comments']=[],_0xf079fd['commentsV2']=[]),_0xbb38f['defaults']&&(_0xf079fd['commentThreadId']='',_0xf079fd['resolvedAt']='',_0xf079fd['resolvedBy']='',_0xf079fd['context']='',_0xf079fd['createdAt']='',_0xf079fd['deletedAt']='',_0xf079fd['attributes']='',_0xf079fd['unlinkedAt']=''),null!=_0x6e4a95['commentThreadId']&&_0x6e4a95['hasOwnProperty']('commentThreadId')&&(_0xf079fd['commentThreadId']=_0x6e4a95['commentThreadId']),_0x6e4a95['comments']&&_0x6e4a95['comments']['length']){_0xf079fd['comments']=[];for(var _0x54f0dd=0x0;_0x54f0dd<_0x6e4a95['comments']['length'];++_0x54f0dd)_0xf079fd['comments'][_0x54f0dd]=_0x6e4a95['comments'][_0x54f0dd];}if(_0x6e4a95['commentsV2']&&_0x6e4a95['commentsV2']['length']){for(_0xf079fd['commentsV2']=[],_0x54f0dd=0x0;_0x54f0dd<_0x6e4a95['commentsV2']['length'];++_0x54f0dd)_0xf079fd['commentsV2'][_0x54f0dd]=_0x4a240c['CommentDescriptor']['toObject'](_0x6e4a95['commentsV2'][_0x54f0dd],_0xbb38f);}return null!=_0x6e4a95['resolvedAt']&&_0x6e4a95['hasOwnProperty']('resolvedAt')&&(_0xf079fd['resolvedAt']=_0x6e4a95['resolvedAt']),null!=_0x6e4a95['resolvedBy']&&_0x6e4a95['hasOwnProperty']('resolvedBy')&&(_0xf079fd['resolvedBy']=_0x6e4a95['resolvedBy']),null!=_0x6e4a95['context']&&_0x6e4a95['hasOwnProperty']('context')&&(_0xf079fd['context']=_0x6e4a95['context']),null!=_0x6e4a95['createdAt']&&_0x6e4a95['hasOwnProperty']('createdAt')&&(_0xf079fd['createdAt']=_0x6e4a95['createdAt']),null!=_0x6e4a95['deletedAt']&&_0x6e4a95['hasOwnProperty']('deletedAt')&&(_0xf079fd['deletedAt']=_0x6e4a95['deletedAt']),null!=_0x6e4a95['attributes']&&_0x6e4a95['hasOwnProperty']('attributes')&&(_0xf079fd['attributes']=_0x6e4a95['attributes']),null!=_0x6e4a95['unlinkedAt']&&_0x6e4a95['hasOwnProperty']('unlinkedAt')&&(_0xf079fd['unlinkedAt']=_0x6e4a95['unlinkedAt']),_0xf079fd;},_0x452663['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x452663['getTypeUrl']=function(_0x76c591){return void 0x0===_0x76c591&&(_0x76c591='type.googleapis.com'),_0x76c591+'/CommentsV2GetCommentThreadResponse';},_0x452663;}()),_0x4a240c['CommentsV2ConnectResponse']=(function(){function _0x56a59d(_0x304848){if(this['threads']=[],this['threadsV2']=[],_0x304848){for(var _0x188966=Object['keys'](_0x304848),_0x42f861=0x0;_0x42f861<_0x188966['length'];++_0x42f861)null!=_0x304848[_0x188966[_0x42f861]]&&(this[_0x188966[_0x42f861]]=_0x304848[_0x188966[_0x42f861]]);}}return _0x56a59d['prototype']['channel']='',_0x56a59d['prototype']['threads']=_0x55d06d['emptyArray'],_0x56a59d['prototype']['threadsV2']=_0x55d06d['emptyArray'],_0x56a59d['create']=function(_0x17268b){return new _0x56a59d(_0x17268b);},_0x56a59d['encode']=function(_0xce2bf7,_0x16bcd5){if(_0x16bcd5||(_0x16bcd5=_0x34769a['create']()),null!=_0xce2bf7['channel']&&Object['hasOwnProperty']['call'](_0xce2bf7,'channel')&&_0x16bcd5['uint32'](0xa)['string'](_0xce2bf7['channel']),null!=_0xce2bf7['threads']&&_0xce2bf7['threads']['length']){for(var _0x33bcec=0x0;_0x33bcec<_0xce2bf7['threads']['length'];++_0x33bcec)_0x16bcd5['uint32'](0x12)['string'](_0xce2bf7['threads'][_0x33bcec]);}if(null!=_0xce2bf7['threadsV2']&&_0xce2bf7['threadsV2']['length']){for(_0x33bcec=0x0;_0x33bcec<_0xce2bf7['threadsV2']['length'];++_0x33bcec)_0x4a240c['CommentsThreadDescriptor']['encode'](_0xce2bf7['threadsV2'][_0x33bcec],_0x16bcd5['uint32'](0x1a)['fork']())['ldelim']();}return _0x16bcd5;},_0x56a59d['encodeDelimited']=function(_0x5b68a0,_0x5e4def){return this['encode'](_0x5b68a0,_0x5e4def)['ldelim']();},_0x56a59d['decode']=function(_0x95ab60,_0x51395b,_0x2d7de6){_0x95ab60 instanceof _0x338c0e||(_0x95ab60=_0x338c0e['create'](_0x95ab60));for(var _0x52e794=void 0x0===_0x51395b?_0x95ab60['len']:_0x95ab60['pos']+_0x51395b,_0x4a517d=new _0x4a240c['CommentsV2ConnectResponse']();_0x95ab60['pos']<_0x52e794;){var _0x5b6fbd=_0x95ab60['uint32']();if(_0x5b6fbd===_0x2d7de6)break;switch(_0x5b6fbd>>>0x3){case 0x1:_0x4a517d['channel']=_0x95ab60['string']();break;case 0x2:_0x4a517d['threads']&&_0x4a517d['threads']['length']||(_0x4a517d['threads']=[]),_0x4a517d['threads']['push'](_0x95ab60['string']());break;case 0x3:_0x4a517d['threadsV2']&&_0x4a517d['threadsV2']['length']||(_0x4a517d['threadsV2']=[]),_0x4a517d['threadsV2']['push'](_0x4a240c['CommentsThreadDescriptor']['decode'](_0x95ab60,_0x95ab60['uint32']()));break;default:_0x95ab60['skipType'](0x7&_0x5b6fbd);}}return _0x4a517d;},_0x56a59d['decodeDelimited']=function(_0x3effd6){return _0x3effd6 instanceof _0x338c0e||(_0x3effd6=new _0x338c0e(_0x3effd6)),this['decode'](_0x3effd6,_0x3effd6['uint32']());},_0x56a59d['verify']=function(_0x5aa40e){if('object'!=typeof _0x5aa40e||null===_0x5aa40e)return'object\x20expected';if(null!=_0x5aa40e['channel']&&_0x5aa40e['hasOwnProperty']('channel')&&!_0x55d06d['isString'](_0x5aa40e['channel']))return'channel:\x20string\x20expected';if(null!=_0x5aa40e['threads']&&_0x5aa40e['hasOwnProperty']('threads')){if(!Array['isArray'](_0x5aa40e['threads']))return'threads:\x20array\x20expected';for(var _0x4e1622=0x0;_0x4e1622<_0x5aa40e['threads']['length'];++_0x4e1622)if(!_0x55d06d['isString'](_0x5aa40e['threads'][_0x4e1622]))return'threads:\x20string[]\x20expected';}if(null!=_0x5aa40e['threadsV2']&&_0x5aa40e['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x5aa40e['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x4e1622=0x0;_0x4e1622<_0x5aa40e['threadsV2']['length'];++_0x4e1622){var _0x22137c=_0x4a240c['CommentsThreadDescriptor']['verify'](_0x5aa40e['threadsV2'][_0x4e1622]);if(_0x22137c)return'threadsV2.'+_0x22137c;}}return null;},_0x56a59d['fromObject']=function(_0x240168){if(_0x240168 instanceof _0x4a240c['CommentsV2ConnectResponse'])return _0x240168;var _0x4c75fe=new _0x4a240c['CommentsV2ConnectResponse']();if(null!=_0x240168['channel']&&(_0x4c75fe['channel']=String(_0x240168['channel'])),_0x240168['threads']){if(!Array['isArray'](_0x240168['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x4c75fe['threads']=[];for(var _0x4b97b4=0x0;_0x4b97b4<_0x240168['threads']['length'];++_0x4b97b4)_0x4c75fe['threads'][_0x4b97b4]=String(_0x240168['threads'][_0x4b97b4]);}if(_0x240168['threadsV2']){if(!Array['isArray'](_0x240168['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x4c75fe['threadsV2']=[],_0x4b97b4=0x0;_0x4b97b4<_0x240168['threadsV2']['length'];++_0x4b97b4){if('object'!=typeof _0x240168['threadsV2'][_0x4b97b4])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x4c75fe['threadsV2'][_0x4b97b4]=_0x4a240c['CommentsThreadDescriptor']['fromObject'](_0x240168['threadsV2'][_0x4b97b4]);}}return _0x4c75fe;},_0x56a59d['toObject']=function(_0x28e5fc,_0x1b0e76){_0x1b0e76||(_0x1b0e76={});var _0x20453e={};if((_0x1b0e76['arrays']||_0x1b0e76['defaults'])&&(_0x20453e['threads']=[],_0x20453e['threadsV2']=[]),_0x1b0e76['defaults']&&(_0x20453e['channel']=''),null!=_0x28e5fc['channel']&&_0x28e5fc['hasOwnProperty']('channel')&&(_0x20453e['channel']=_0x28e5fc['channel']),_0x28e5fc['threads']&&_0x28e5fc['threads']['length']){_0x20453e['threads']=[];for(var _0x2b6afb=0x0;_0x2b6afb<_0x28e5fc['threads']['length'];++_0x2b6afb)_0x20453e['threads'][_0x2b6afb]=_0x28e5fc['threads'][_0x2b6afb];}if(_0x28e5fc['threadsV2']&&_0x28e5fc['threadsV2']['length']){for(_0x20453e['threadsV2']=[],_0x2b6afb=0x0;_0x2b6afb<_0x28e5fc['threadsV2']['length'];++_0x2b6afb)_0x20453e['threadsV2'][_0x2b6afb]=_0x4a240c['CommentsThreadDescriptor']['toObject'](_0x28e5fc['threadsV2'][_0x2b6afb],_0x1b0e76);}return _0x20453e;},_0x56a59d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x56a59d['getTypeUrl']=function(_0xa573a6){return void 0x0===_0xa573a6&&(_0xa573a6='type.googleapis.com'),_0xa573a6+'/CommentsV2ConnectResponse';},_0x56a59d;}()),_0x4a240c['CommentsV2AddCommentResponse']=(function(){function _0x500175(_0x2d971c){if(_0x2d971c){for(var _0x3542c6=Object['keys'](_0x2d971c),_0x4c2fa0=0x0;_0x4c2fa0<_0x3542c6['length'];++_0x4c2fa0)null!=_0x2d971c[_0x3542c6[_0x4c2fa0]]&&(this[_0x3542c6[_0x4c2fa0]]=_0x2d971c[_0x3542c6[_0x4c2fa0]]);}}return _0x500175['prototype']['commentThreadId']='',_0x500175['prototype']['commentId']='',_0x500175['prototype']['createdAt']='',_0x500175['create']=function(_0x298c03){return new _0x500175(_0x298c03);},_0x500175['encode']=function(_0x529330,_0x24dae7){return _0x24dae7||(_0x24dae7=_0x34769a['create']()),null!=_0x529330['commentThreadId']&&Object['hasOwnProperty']['call'](_0x529330,'commentThreadId')&&_0x24dae7['uint32'](0xa)['string'](_0x529330['commentThreadId']),null!=_0x529330['commentId']&&Object['hasOwnProperty']['call'](_0x529330,'commentId')&&_0x24dae7['uint32'](0x12)['string'](_0x529330['commentId']),null!=_0x529330['createdAt']&&Object['hasOwnProperty']['call'](_0x529330,'createdAt')&&_0x24dae7['uint32'](0x1a)['string'](_0x529330['createdAt']),_0x24dae7;},_0x500175['encodeDelimited']=function(_0x493344,_0x54caf3){return this['encode'](_0x493344,_0x54caf3)['ldelim']();},_0x500175['decode']=function(_0x2017c8,_0x1ce3b4,_0x282ec1){_0x2017c8 instanceof _0x338c0e||(_0x2017c8=_0x338c0e['create'](_0x2017c8));for(var _0x3f4840=void 0x0===_0x1ce3b4?_0x2017c8['len']:_0x2017c8['pos']+_0x1ce3b4,_0x3ab1c9=new _0x4a240c['CommentsV2AddCommentResponse']();_0x2017c8['pos']<_0x3f4840;){var _0x2b9bde=_0x2017c8['uint32']();if(_0x2b9bde===_0x282ec1)break;switch(_0x2b9bde>>>0x3){case 0x1:_0x3ab1c9['commentThreadId']=_0x2017c8['string']();break;case 0x2:_0x3ab1c9['commentId']=_0x2017c8['string']();break;case 0x3:_0x3ab1c9['createdAt']=_0x2017c8['string']();break;default:_0x2017c8['skipType'](0x7&_0x2b9bde);}}return _0x3ab1c9;},_0x500175['decodeDelimited']=function(_0x3ddc64){return _0x3ddc64 instanceof _0x338c0e||(_0x3ddc64=new _0x338c0e(_0x3ddc64)),this['decode'](_0x3ddc64,_0x3ddc64['uint32']());},_0x500175['verify']=function(_0x4114e7){return'object'!=typeof _0x4114e7||null===_0x4114e7?'object\x20expected':null!=_0x4114e7['commentThreadId']&&_0x4114e7['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x4114e7['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4114e7['commentId']&&_0x4114e7['hasOwnProperty']('commentId')&&!_0x55d06d['isString'](_0x4114e7['commentId'])?'commentId:\x20string\x20expected':null!=_0x4114e7['createdAt']&&_0x4114e7['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x4114e7['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x500175['fromObject']=function(_0xaad86){if(_0xaad86 instanceof _0x4a240c['CommentsV2AddCommentResponse'])return _0xaad86;var _0xc115ea=new _0x4a240c['CommentsV2AddCommentResponse']();return null!=_0xaad86['commentThreadId']&&(_0xc115ea['commentThreadId']=String(_0xaad86['commentThreadId'])),null!=_0xaad86['commentId']&&(_0xc115ea['commentId']=String(_0xaad86['commentId'])),null!=_0xaad86['createdAt']&&(_0xc115ea['createdAt']=String(_0xaad86['createdAt'])),_0xc115ea;},_0x500175['toObject']=function(_0x284a20,_0x180385){_0x180385||(_0x180385={});var _0x1982d4={};return _0x180385['defaults']&&(_0x1982d4['commentThreadId']='',_0x1982d4['commentId']='',_0x1982d4['createdAt']=''),null!=_0x284a20['commentThreadId']&&_0x284a20['hasOwnProperty']('commentThreadId')&&(_0x1982d4['commentThreadId']=_0x284a20['commentThreadId']),null!=_0x284a20['commentId']&&_0x284a20['hasOwnProperty']('commentId')&&(_0x1982d4['commentId']=_0x284a20['commentId']),null!=_0x284a20['createdAt']&&_0x284a20['hasOwnProperty']('createdAt')&&(_0x1982d4['createdAt']=_0x284a20['createdAt']),_0x1982d4;},_0x500175['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x500175['getTypeUrl']=function(_0xf7320f){return void 0x0===_0xf7320f&&(_0xf7320f='type.googleapis.com'),_0xf7320f+'/CommentsV2AddCommentResponse';},_0x500175;}()),_0x4a240c['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x3b9e45(_0x1e37d3){if(_0x1e37d3){for(var _0x2bdba7=Object['keys'](_0x1e37d3),_0x253914=0x0;_0x253914<_0x2bdba7['length'];++_0x253914)null!=_0x1e37d3[_0x2bdba7[_0x253914]]&&(this[_0x2bdba7[_0x253914]]=_0x1e37d3[_0x2bdba7[_0x253914]]);}}return _0x3b9e45['prototype']['commentThreadId']='',_0x3b9e45['prototype']['documentId']='',_0x3b9e45['prototype']['resolvedAt']='',_0x3b9e45['prototype']['resolvedBy']='',_0x3b9e45['create']=function(_0x3c8e6a){return new _0x3b9e45(_0x3c8e6a);},_0x3b9e45['encode']=function(_0x1e848f,_0x53602b){return _0x53602b||(_0x53602b=_0x34769a['create']()),null!=_0x1e848f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e848f,'commentThreadId')&&_0x53602b['uint32'](0xa)['string'](_0x1e848f['commentThreadId']),null!=_0x1e848f['documentId']&&Object['hasOwnProperty']['call'](_0x1e848f,'documentId')&&_0x53602b['uint32'](0x12)['string'](_0x1e848f['documentId']),null!=_0x1e848f['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1e848f,'resolvedAt')&&_0x53602b['uint32'](0x1a)['string'](_0x1e848f['resolvedAt']),null!=_0x1e848f['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1e848f,'resolvedBy')&&_0x53602b['uint32'](0x22)['string'](_0x1e848f['resolvedBy']),_0x53602b;},_0x3b9e45['encodeDelimited']=function(_0x36d0e9,_0x5a08d4){return this['encode'](_0x36d0e9,_0x5a08d4)['ldelim']();},_0x3b9e45['decode']=function(_0x1a2cbf,_0x19ccd0,_0x375518){_0x1a2cbf instanceof _0x338c0e||(_0x1a2cbf=_0x338c0e['create'](_0x1a2cbf));for(var _0x105d37=void 0x0===_0x19ccd0?_0x1a2cbf['len']:_0x1a2cbf['pos']+_0x19ccd0,_0x3f324e=new _0x4a240c['CommentsV2ResolveCommentThreadResponse']();_0x1a2cbf['pos']<_0x105d37;){var _0x532745=_0x1a2cbf['uint32']();if(_0x532745===_0x375518)break;switch(_0x532745>>>0x3){case 0x1:_0x3f324e['commentThreadId']=_0x1a2cbf['string']();break;case 0x2:_0x3f324e['documentId']=_0x1a2cbf['string']();break;case 0x3:_0x3f324e['resolvedAt']=_0x1a2cbf['string']();break;case 0x4:_0x3f324e['resolvedBy']=_0x1a2cbf['string']();break;default:_0x1a2cbf['skipType'](0x7&_0x532745);}}return _0x3f324e;},_0x3b9e45['decodeDelimited']=function(_0x65b5db){return _0x65b5db instanceof _0x338c0e||(_0x65b5db=new _0x338c0e(_0x65b5db)),this['decode'](_0x65b5db,_0x65b5db['uint32']());},_0x3b9e45['verify']=function(_0x5660f4){return'object'!=typeof _0x5660f4||null===_0x5660f4?'object\x20expected':null!=_0x5660f4['commentThreadId']&&_0x5660f4['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x5660f4['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5660f4['documentId']&&_0x5660f4['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x5660f4['documentId'])?'documentId:\x20string\x20expected':null!=_0x5660f4['resolvedAt']&&_0x5660f4['hasOwnProperty']('resolvedAt')&&!_0x55d06d['isString'](_0x5660f4['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5660f4['resolvedBy']&&_0x5660f4['hasOwnProperty']('resolvedBy')&&!_0x55d06d['isString'](_0x5660f4['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x3b9e45['fromObject']=function(_0x1a8b10){if(_0x1a8b10 instanceof _0x4a240c['CommentsV2ResolveCommentThreadResponse'])return _0x1a8b10;var _0x53f06d=new _0x4a240c['CommentsV2ResolveCommentThreadResponse']();return null!=_0x1a8b10['commentThreadId']&&(_0x53f06d['commentThreadId']=String(_0x1a8b10['commentThreadId'])),null!=_0x1a8b10['documentId']&&(_0x53f06d['documentId']=String(_0x1a8b10['documentId'])),null!=_0x1a8b10['resolvedAt']&&(_0x53f06d['resolvedAt']=String(_0x1a8b10['resolvedAt'])),null!=_0x1a8b10['resolvedBy']&&(_0x53f06d['resolvedBy']=String(_0x1a8b10['resolvedBy'])),_0x53f06d;},_0x3b9e45['toObject']=function(_0x349431,_0xb06cd3){_0xb06cd3||(_0xb06cd3={});var _0x24a4b4={};return _0xb06cd3['defaults']&&(_0x24a4b4['commentThreadId']='',_0x24a4b4['documentId']='',_0x24a4b4['resolvedAt']='',_0x24a4b4['resolvedBy']=''),null!=_0x349431['commentThreadId']&&_0x349431['hasOwnProperty']('commentThreadId')&&(_0x24a4b4['commentThreadId']=_0x349431['commentThreadId']),null!=_0x349431['documentId']&&_0x349431['hasOwnProperty']('documentId')&&(_0x24a4b4['documentId']=_0x349431['documentId']),null!=_0x349431['resolvedAt']&&_0x349431['hasOwnProperty']('resolvedAt')&&(_0x24a4b4['resolvedAt']=_0x349431['resolvedAt']),null!=_0x349431['resolvedBy']&&_0x349431['hasOwnProperty']('resolvedBy')&&(_0x24a4b4['resolvedBy']=_0x349431['resolvedBy']),_0x24a4b4;},_0x3b9e45['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3b9e45['getTypeUrl']=function(_0xb60fd7){return void 0x0===_0xb60fd7&&(_0xb60fd7='type.googleapis.com'),_0xb60fd7+'/CommentsV2ResolveCommentThreadResponse';},_0x3b9e45;}()),_0x4a240c['CommentsV2AddCommentThreadResponse']=(function(){function _0x2f2580(_0x4cc297){if(this['comments']=[],_0x4cc297){for(var _0x280b26=Object['keys'](_0x4cc297),_0x2be44d=0x0;_0x2be44d<_0x280b26['length'];++_0x2be44d)null!=_0x4cc297[_0x280b26[_0x2be44d]]&&(this[_0x280b26[_0x2be44d]]=_0x4cc297[_0x280b26[_0x2be44d]]);}}return _0x2f2580['prototype']['commentThreadId']='',_0x2f2580['prototype']['createdAt']='',_0x2f2580['prototype']['comments']=_0x55d06d['emptyArray'],_0x2f2580['create']=function(_0x5c7f5){return new _0x2f2580(_0x5c7f5);},_0x2f2580['encode']=function(_0x24a9cf,_0x22b9f4){if(_0x22b9f4||(_0x22b9f4=_0x34769a['create']()),null!=_0x24a9cf['commentThreadId']&&Object['hasOwnProperty']['call'](_0x24a9cf,'commentThreadId')&&_0x22b9f4['uint32'](0xa)['string'](_0x24a9cf['commentThreadId']),null!=_0x24a9cf['createdAt']&&Object['hasOwnProperty']['call'](_0x24a9cf,'createdAt')&&_0x22b9f4['uint32'](0x12)['string'](_0x24a9cf['createdAt']),null!=_0x24a9cf['comments']&&_0x24a9cf['comments']['length']){for(var _0x2252fa=0x0;_0x2252fa<_0x24a9cf['comments']['length'];++_0x2252fa)_0x4a240c['CommentThreadAddedCommentDescriptor']['encode'](_0x24a9cf['comments'][_0x2252fa],_0x22b9f4['uint32'](0x1a)['fork']())['ldelim']();}return _0x22b9f4;},_0x2f2580['encodeDelimited']=function(_0x48c0de,_0x4e182a){return this['encode'](_0x48c0de,_0x4e182a)['ldelim']();},_0x2f2580['decode']=function(_0x1b39db,_0x5e31b8,_0x54aae5){_0x1b39db instanceof _0x338c0e||(_0x1b39db=_0x338c0e['create'](_0x1b39db));for(var _0x3a65b0=void 0x0===_0x5e31b8?_0x1b39db['len']:_0x1b39db['pos']+_0x5e31b8,_0x1c95ef=new _0x4a240c['CommentsV2AddCommentThreadResponse']();_0x1b39db['pos']<_0x3a65b0;){var _0x504303=_0x1b39db['uint32']();if(_0x504303===_0x54aae5)break;switch(_0x504303>>>0x3){case 0x1:_0x1c95ef['commentThreadId']=_0x1b39db['string']();break;case 0x2:_0x1c95ef['createdAt']=_0x1b39db['string']();break;case 0x3:_0x1c95ef['comments']&&_0x1c95ef['comments']['length']||(_0x1c95ef['comments']=[]),_0x1c95ef['comments']['push'](_0x4a240c['CommentThreadAddedCommentDescriptor']['decode'](_0x1b39db,_0x1b39db['uint32']()));break;default:_0x1b39db['skipType'](0x7&_0x504303);}}return _0x1c95ef;},_0x2f2580['decodeDelimited']=function(_0x87d8a9){return _0x87d8a9 instanceof _0x338c0e||(_0x87d8a9=new _0x338c0e(_0x87d8a9)),this['decode'](_0x87d8a9,_0x87d8a9['uint32']());},_0x2f2580['verify']=function(_0x2164e2){if('object'!=typeof _0x2164e2||null===_0x2164e2)return'object\x20expected';if(null!=_0x2164e2['commentThreadId']&&_0x2164e2['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x2164e2['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2164e2['createdAt']&&_0x2164e2['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x2164e2['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2164e2['comments']&&_0x2164e2['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2164e2['comments']))return'comments:\x20array\x20expected';for(var _0x5e7544=0x0;_0x5e7544<_0x2164e2['comments']['length'];++_0x5e7544){var _0x210937=_0x4a240c['CommentThreadAddedCommentDescriptor']['verify'](_0x2164e2['comments'][_0x5e7544]);if(_0x210937)return'comments.'+_0x210937;}}return null;},_0x2f2580['fromObject']=function(_0x48c5a3){if(_0x48c5a3 instanceof _0x4a240c['CommentsV2AddCommentThreadResponse'])return _0x48c5a3;var _0x38868c=new _0x4a240c['CommentsV2AddCommentThreadResponse']();if(null!=_0x48c5a3['commentThreadId']&&(_0x38868c['commentThreadId']=String(_0x48c5a3['commentThreadId'])),null!=_0x48c5a3['createdAt']&&(_0x38868c['createdAt']=String(_0x48c5a3['createdAt'])),_0x48c5a3['comments']){if(!Array['isArray'](_0x48c5a3['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x38868c['comments']=[];for(var _0x20accd=0x0;_0x20accd<_0x48c5a3['comments']['length'];++_0x20accd){if('object'!=typeof _0x48c5a3['comments'][_0x20accd])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x38868c['comments'][_0x20accd]=_0x4a240c['CommentThreadAddedCommentDescriptor']['fromObject'](_0x48c5a3['comments'][_0x20accd]);}}return _0x38868c;},_0x2f2580['toObject']=function(_0xa7bf60,_0xcde81f){_0xcde81f||(_0xcde81f={});var _0x2d6211={};if((_0xcde81f['arrays']||_0xcde81f['defaults'])&&(_0x2d6211['comments']=[]),_0xcde81f['defaults']&&(_0x2d6211['commentThreadId']='',_0x2d6211['createdAt']=''),null!=_0xa7bf60['commentThreadId']&&_0xa7bf60['hasOwnProperty']('commentThreadId')&&(_0x2d6211['commentThreadId']=_0xa7bf60['commentThreadId']),null!=_0xa7bf60['createdAt']&&_0xa7bf60['hasOwnProperty']('createdAt')&&(_0x2d6211['createdAt']=_0xa7bf60['createdAt']),_0xa7bf60['comments']&&_0xa7bf60['comments']['length']){_0x2d6211['comments']=[];for(var _0x210d5c=0x0;_0x210d5c<_0xa7bf60['comments']['length'];++_0x210d5c)_0x2d6211['comments'][_0x210d5c]=_0x4a240c['CommentThreadAddedCommentDescriptor']['toObject'](_0xa7bf60['comments'][_0x210d5c],_0xcde81f);}return _0x2d6211;},_0x2f2580['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2f2580['getTypeUrl']=function(_0x5de1e3){return void 0x0===_0x5de1e3&&(_0x5de1e3='type.googleapis.com'),_0x5de1e3+'/CommentsV2AddCommentThreadResponse';},_0x2f2580;}()),_0x4a240c['CommentsV2UpdateCommentMessage']=(function(){function _0x1963b2(_0x42c66d){if(_0x42c66d){for(var _0x26a57c=Object['keys'](_0x42c66d),_0x1614bf=0x0;_0x1614bf<_0x26a57c['length'];++_0x1614bf)null!=_0x42c66d[_0x26a57c[_0x1614bf]]&&(this[_0x26a57c[_0x1614bf]]=_0x42c66d[_0x26a57c[_0x1614bf]]);}}return _0x1963b2['prototype']['commentThreadId']='',_0x1963b2['prototype']['commentId']='',_0x1963b2['prototype']['content']='',_0x1963b2['prototype']['documentId']='',_0x1963b2['prototype']['attributes']='',_0x1963b2['prototype']['isAttributesUpdated']=!0x1,_0x1963b2['prototype']['commentThread']=null,_0x1963b2['create']=function(_0x40f9e4){return new _0x1963b2(_0x40f9e4);},_0x1963b2['encode']=function(_0x26f5bf,_0x1912e2){return _0x1912e2||(_0x1912e2=_0x34769a['create']()),null!=_0x26f5bf['commentThreadId']&&Object['hasOwnProperty']['call'](_0x26f5bf,'commentThreadId')&&_0x1912e2['uint32'](0xa)['string'](_0x26f5bf['commentThreadId']),null!=_0x26f5bf['commentId']&&Object['hasOwnProperty']['call'](_0x26f5bf,'commentId')&&_0x1912e2['uint32'](0x12)['string'](_0x26f5bf['commentId']),null!=_0x26f5bf['content']&&Object['hasOwnProperty']['call'](_0x26f5bf,'content')&&_0x1912e2['uint32'](0x1a)['string'](_0x26f5bf['content']),null!=_0x26f5bf['documentId']&&Object['hasOwnProperty']['call'](_0x26f5bf,'documentId')&&_0x1912e2['uint32'](0x22)['string'](_0x26f5bf['documentId']),null!=_0x26f5bf['attributes']&&Object['hasOwnProperty']['call'](_0x26f5bf,'attributes')&&_0x1912e2['uint32'](0x2a)['string'](_0x26f5bf['attributes']),null!=_0x26f5bf['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x26f5bf,'isAttributesUpdated')&&_0x1912e2['uint32'](0x30)['bool'](_0x26f5bf['isAttributesUpdated']),null!=_0x26f5bf['commentThread']&&Object['hasOwnProperty']['call'](_0x26f5bf,'commentThread')&&_0x4a240c['CommentsThreadDescriptor']['encode'](_0x26f5bf['commentThread'],_0x1912e2['uint32'](0x3a)['fork']())['ldelim'](),_0x1912e2;},_0x1963b2['encodeDelimited']=function(_0x570d8b,_0x162228){return this['encode'](_0x570d8b,_0x162228)['ldelim']();},_0x1963b2['decode']=function(_0x295ac5,_0xf9de29,_0x5d06f1){_0x295ac5 instanceof _0x338c0e||(_0x295ac5=_0x338c0e['create'](_0x295ac5));for(var _0x2209e9=void 0x0===_0xf9de29?_0x295ac5['len']:_0x295ac5['pos']+_0xf9de29,_0x28673f=new _0x4a240c['CommentsV2UpdateCommentMessage']();_0x295ac5['pos']<_0x2209e9;){var _0x48cdce=_0x295ac5['uint32']();if(_0x48cdce===_0x5d06f1)break;switch(_0x48cdce>>>0x3){case 0x1:_0x28673f['commentThreadId']=_0x295ac5['string']();break;case 0x2:_0x28673f['commentId']=_0x295ac5['string']();break;case 0x3:_0x28673f['content']=_0x295ac5['string']();break;case 0x4:_0x28673f['documentId']=_0x295ac5['string']();break;case 0x5:_0x28673f['attributes']=_0x295ac5['string']();break;case 0x6:_0x28673f['isAttributesUpdated']=_0x295ac5['bool']();break;case 0x7:_0x28673f['commentThread']=_0x4a240c['CommentsThreadDescriptor']['decode'](_0x295ac5,_0x295ac5['uint32']());break;default:_0x295ac5['skipType'](0x7&_0x48cdce);}}return _0x28673f;},_0x1963b2['decodeDelimited']=function(_0x18a905){return _0x18a905 instanceof _0x338c0e||(_0x18a905=new _0x338c0e(_0x18a905)),this['decode'](_0x18a905,_0x18a905['uint32']());},_0x1963b2['verify']=function(_0x343f99){if('object'!=typeof _0x343f99||null===_0x343f99)return'object\x20expected';if(null!=_0x343f99['commentThreadId']&&_0x343f99['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x343f99['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x343f99['commentId']&&_0x343f99['hasOwnProperty']('commentId')&&!_0x55d06d['isString'](_0x343f99['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x343f99['content']&&_0x343f99['hasOwnProperty']('content')&&!_0x55d06d['isString'](_0x343f99['content']))return'content:\x20string\x20expected';if(null!=_0x343f99['documentId']&&_0x343f99['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x343f99['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x343f99['attributes']&&_0x343f99['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x343f99['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x343f99['isAttributesUpdated']&&_0x343f99['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x343f99['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x343f99['commentThread']&&_0x343f99['hasOwnProperty']('commentThread')){var _0x41af5e=_0x4a240c['CommentsThreadDescriptor']['verify'](_0x343f99['commentThread']);if(_0x41af5e)return'commentThread.'+_0x41af5e;}return null;},_0x1963b2['fromObject']=function(_0x10e504){if(_0x10e504 instanceof _0x4a240c['CommentsV2UpdateCommentMessage'])return _0x10e504;var _0x2c9b9d=new _0x4a240c['CommentsV2UpdateCommentMessage']();if(null!=_0x10e504['commentThreadId']&&(_0x2c9b9d['commentThreadId']=String(_0x10e504['commentThreadId'])),null!=_0x10e504['commentId']&&(_0x2c9b9d['commentId']=String(_0x10e504['commentId'])),null!=_0x10e504['content']&&(_0x2c9b9d['content']=String(_0x10e504['content'])),null!=_0x10e504['documentId']&&(_0x2c9b9d['documentId']=String(_0x10e504['documentId'])),null!=_0x10e504['attributes']&&(_0x2c9b9d['attributes']=String(_0x10e504['attributes'])),null!=_0x10e504['isAttributesUpdated']&&(_0x2c9b9d['isAttributesUpdated']=Boolean(_0x10e504['isAttributesUpdated'])),null!=_0x10e504['commentThread']){if('object'!=typeof _0x10e504['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x2c9b9d['commentThread']=_0x4a240c['CommentsThreadDescriptor']['fromObject'](_0x10e504['commentThread']);}return _0x2c9b9d;},_0x1963b2['toObject']=function(_0x313caa,_0xc00af2){_0xc00af2||(_0xc00af2={});var _0x41e7dc={};return _0xc00af2['defaults']&&(_0x41e7dc['commentThreadId']='',_0x41e7dc['commentId']='',_0x41e7dc['content']='',_0x41e7dc['documentId']='',_0x41e7dc['attributes']='',_0x41e7dc['isAttributesUpdated']=!0x1,_0x41e7dc['commentThread']=null),null!=_0x313caa['commentThreadId']&&_0x313caa['hasOwnProperty']('commentThreadId')&&(_0x41e7dc['commentThreadId']=_0x313caa['commentThreadId']),null!=_0x313caa['commentId']&&_0x313caa['hasOwnProperty']('commentId')&&(_0x41e7dc['commentId']=_0x313caa['commentId']),null!=_0x313caa['content']&&_0x313caa['hasOwnProperty']('content')&&(_0x41e7dc['content']=_0x313caa['content']),null!=_0x313caa['documentId']&&_0x313caa['hasOwnProperty']('documentId')&&(_0x41e7dc['documentId']=_0x313caa['documentId']),null!=_0x313caa['attributes']&&_0x313caa['hasOwnProperty']('attributes')&&(_0x41e7dc['attributes']=_0x313caa['attributes']),null!=_0x313caa['isAttributesUpdated']&&_0x313caa['hasOwnProperty']('isAttributesUpdated')&&(_0x41e7dc['isAttributesUpdated']=_0x313caa['isAttributesUpdated']),null!=_0x313caa['commentThread']&&_0x313caa['hasOwnProperty']('commentThread')&&(_0x41e7dc['commentThread']=_0x4a240c['CommentsThreadDescriptor']['toObject'](_0x313caa['commentThread'],_0xc00af2)),_0x41e7dc;},_0x1963b2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x1963b2['getTypeUrl']=function(_0x4ef581){return void 0x0===_0x4ef581&&(_0x4ef581='type.googleapis.com'),_0x4ef581+'/CommentsV2UpdateCommentMessage';},_0x1963b2;}()),_0x4a240c['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x3b546a(_0x14eec5){if(_0x14eec5){for(var _0x592a8e=Object['keys'](_0x14eec5),_0x2e87c4=0x0;_0x2e87c4<_0x592a8e['length'];++_0x2e87c4)null!=_0x14eec5[_0x592a8e[_0x2e87c4]]&&(this[_0x592a8e[_0x2e87c4]]=_0x14eec5[_0x592a8e[_0x2e87c4]]);}}return _0x3b546a['prototype']['commentThreadId']='',_0x3b546a['prototype']['documentId']='',_0x3b546a['create']=function(_0x44137b){return new _0x3b546a(_0x44137b);},_0x3b546a['encode']=function(_0x486c1f,_0x1ee58c){return _0x1ee58c||(_0x1ee58c=_0x34769a['create']()),null!=_0x486c1f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x486c1f,'commentThreadId')&&_0x1ee58c['uint32'](0xa)['string'](_0x486c1f['commentThreadId']),null!=_0x486c1f['documentId']&&Object['hasOwnProperty']['call'](_0x486c1f,'documentId')&&_0x1ee58c['uint32'](0x12)['string'](_0x486c1f['documentId']),_0x1ee58c;},_0x3b546a['encodeDelimited']=function(_0x4665fe,_0x43b30a){return this['encode'](_0x4665fe,_0x43b30a)['ldelim']();},_0x3b546a['decode']=function(_0x5b81ee,_0x2b5510,_0x39daa9){_0x5b81ee instanceof _0x338c0e||(_0x5b81ee=_0x338c0e['create'](_0x5b81ee));for(var _0x25bd56=void 0x0===_0x2b5510?_0x5b81ee['len']:_0x5b81ee['pos']+_0x2b5510,_0x4a76e0=new _0x4a240c['CommentsV2RemoveCommentThreadMessage']();_0x5b81ee['pos']<_0x25bd56;){var _0x35c88c=_0x5b81ee['uint32']();if(_0x35c88c===_0x39daa9)break;switch(_0x35c88c>>>0x3){case 0x1:_0x4a76e0['commentThreadId']=_0x5b81ee['string']();break;case 0x2:_0x4a76e0['documentId']=_0x5b81ee['string']();break;default:_0x5b81ee['skipType'](0x7&_0x35c88c);}}return _0x4a76e0;},_0x3b546a['decodeDelimited']=function(_0x5251cb){return _0x5251cb instanceof _0x338c0e||(_0x5251cb=new _0x338c0e(_0x5251cb)),this['decode'](_0x5251cb,_0x5251cb['uint32']());},_0x3b546a['verify']=function(_0xeba35c){return'object'!=typeof _0xeba35c||null===_0xeba35c?'object\x20expected':null!=_0xeba35c['commentThreadId']&&_0xeba35c['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0xeba35c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xeba35c['documentId']&&_0xeba35c['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0xeba35c['documentId'])?'documentId:\x20string\x20expected':null;},_0x3b546a['fromObject']=function(_0x23e49e){if(_0x23e49e instanceof _0x4a240c['CommentsV2RemoveCommentThreadMessage'])return _0x23e49e;var _0x5b26d6=new _0x4a240c['CommentsV2RemoveCommentThreadMessage']();return null!=_0x23e49e['commentThreadId']&&(_0x5b26d6['commentThreadId']=String(_0x23e49e['commentThreadId'])),null!=_0x23e49e['documentId']&&(_0x5b26d6['documentId']=String(_0x23e49e['documentId'])),_0x5b26d6;},_0x3b546a['toObject']=function(_0x43af3c,_0x28e1c5){_0x28e1c5||(_0x28e1c5={});var _0x1d35d0={};return _0x28e1c5['defaults']&&(_0x1d35d0['commentThreadId']='',_0x1d35d0['documentId']=''),null!=_0x43af3c['commentThreadId']&&_0x43af3c['hasOwnProperty']('commentThreadId')&&(_0x1d35d0['commentThreadId']=_0x43af3c['commentThreadId']),null!=_0x43af3c['documentId']&&_0x43af3c['hasOwnProperty']('documentId')&&(_0x1d35d0['documentId']=_0x43af3c['documentId']),_0x1d35d0;},_0x3b546a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3b546a['getTypeUrl']=function(_0x9b5084){return void 0x0===_0x9b5084&&(_0x9b5084='type.googleapis.com'),_0x9b5084+'/CommentsV2RemoveCommentThreadMessage';},_0x3b546a;}()),_0x4a240c['CommentsV2RemoveCommentMessage']=(function(){function _0x5bdaa1(_0x331e12){if(_0x331e12){for(var _0x55b91b=Object['keys'](_0x331e12),_0xbdc3c5=0x0;_0xbdc3c5<_0x55b91b['length'];++_0xbdc3c5)null!=_0x331e12[_0x55b91b[_0xbdc3c5]]&&(this[_0x55b91b[_0xbdc3c5]]=_0x331e12[_0x55b91b[_0xbdc3c5]]);}}return _0x5bdaa1['prototype']['commentThreadId']='',_0x5bdaa1['prototype']['commentId']='',_0x5bdaa1['prototype']['documentId']='',_0x5bdaa1['create']=function(_0x3a6efb){return new _0x5bdaa1(_0x3a6efb);},_0x5bdaa1['encode']=function(_0x34961b,_0x1d29b3){return _0x1d29b3||(_0x1d29b3=_0x34769a['create']()),null!=_0x34961b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x34961b,'commentThreadId')&&_0x1d29b3['uint32'](0xa)['string'](_0x34961b['commentThreadId']),null!=_0x34961b['commentId']&&Object['hasOwnProperty']['call'](_0x34961b,'commentId')&&_0x1d29b3['uint32'](0x12)['string'](_0x34961b['commentId']),null!=_0x34961b['documentId']&&Object['hasOwnProperty']['call'](_0x34961b,'documentId')&&_0x1d29b3['uint32'](0x1a)['string'](_0x34961b['documentId']),_0x1d29b3;},_0x5bdaa1['encodeDelimited']=function(_0x4a2240,_0x35f16a){return this['encode'](_0x4a2240,_0x35f16a)['ldelim']();},_0x5bdaa1['decode']=function(_0x51464d,_0x5ef49f,_0x39992e){_0x51464d instanceof _0x338c0e||(_0x51464d=_0x338c0e['create'](_0x51464d));for(var _0x49f242=void 0x0===_0x5ef49f?_0x51464d['len']:_0x51464d['pos']+_0x5ef49f,_0x46a8fd=new _0x4a240c['CommentsV2RemoveCommentMessage']();_0x51464d['pos']<_0x49f242;){var _0x55f3a0=_0x51464d['uint32']();if(_0x55f3a0===_0x39992e)break;switch(_0x55f3a0>>>0x3){case 0x1:_0x46a8fd['commentThreadId']=_0x51464d['string']();break;case 0x2:_0x46a8fd['commentId']=_0x51464d['string']();break;case 0x3:_0x46a8fd['documentId']=_0x51464d['string']();break;default:_0x51464d['skipType'](0x7&_0x55f3a0);}}return _0x46a8fd;},_0x5bdaa1['decodeDelimited']=function(_0x1ef972){return _0x1ef972 instanceof _0x338c0e||(_0x1ef972=new _0x338c0e(_0x1ef972)),this['decode'](_0x1ef972,_0x1ef972['uint32']());},_0x5bdaa1['verify']=function(_0x46fc86){return'object'!=typeof _0x46fc86||null===_0x46fc86?'object\x20expected':null!=_0x46fc86['commentThreadId']&&_0x46fc86['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x46fc86['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x46fc86['commentId']&&_0x46fc86['hasOwnProperty']('commentId')&&!_0x55d06d['isString'](_0x46fc86['commentId'])?'commentId:\x20string\x20expected':null!=_0x46fc86['documentId']&&_0x46fc86['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x46fc86['documentId'])?'documentId:\x20string\x20expected':null;},_0x5bdaa1['fromObject']=function(_0x14c76a){if(_0x14c76a instanceof _0x4a240c['CommentsV2RemoveCommentMessage'])return _0x14c76a;var _0x5af622=new _0x4a240c['CommentsV2RemoveCommentMessage']();return null!=_0x14c76a['commentThreadId']&&(_0x5af622['commentThreadId']=String(_0x14c76a['commentThreadId'])),null!=_0x14c76a['commentId']&&(_0x5af622['commentId']=String(_0x14c76a['commentId'])),null!=_0x14c76a['documentId']&&(_0x5af622['documentId']=String(_0x14c76a['documentId'])),_0x5af622;},_0x5bdaa1['toObject']=function(_0x1ddc90,_0x3125f7){_0x3125f7||(_0x3125f7={});var _0x603433={};return _0x3125f7['defaults']&&(_0x603433['commentThreadId']='',_0x603433['commentId']='',_0x603433['documentId']=''),null!=_0x1ddc90['commentThreadId']&&_0x1ddc90['hasOwnProperty']('commentThreadId')&&(_0x603433['commentThreadId']=_0x1ddc90['commentThreadId']),null!=_0x1ddc90['commentId']&&_0x1ddc90['hasOwnProperty']('commentId')&&(_0x603433['commentId']=_0x1ddc90['commentId']),null!=_0x1ddc90['documentId']&&_0x1ddc90['hasOwnProperty']('documentId')&&(_0x603433['documentId']=_0x1ddc90['documentId']),_0x603433;},_0x5bdaa1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5bdaa1['getTypeUrl']=function(_0x4564df){return void 0x0===_0x4564df&&(_0x4564df='type.googleapis.com'),_0x4564df+'/CommentsV2RemoveCommentMessage';},_0x5bdaa1;}()),_0x4a240c['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x290c39(_0x32dca2){if(_0x32dca2){for(var _0x52e992=Object['keys'](_0x32dca2),_0x12d4bc=0x0;_0x12d4bc<_0x52e992['length'];++_0x12d4bc)null!=_0x32dca2[_0x52e992[_0x12d4bc]]&&(this[_0x52e992[_0x12d4bc]]=_0x32dca2[_0x52e992[_0x12d4bc]]);}}return _0x290c39['prototype']['documentId']='',_0x290c39['create']=function(_0x4becfa){return new _0x290c39(_0x4becfa);},_0x290c39['encode']=function(_0xd02988,_0x383e9e){return _0x383e9e||(_0x383e9e=_0x34769a['create']()),null!=_0xd02988['documentId']&&Object['hasOwnProperty']['call'](_0xd02988,'documentId')&&_0x383e9e['uint32'](0xa)['string'](_0xd02988['documentId']),_0x383e9e;},_0x290c39['encodeDelimited']=function(_0xca22f8,_0x1a2b2f){return this['encode'](_0xca22f8,_0x1a2b2f)['ldelim']();},_0x290c39['decode']=function(_0x5caf72,_0x514473,_0xdce064){_0x5caf72 instanceof _0x338c0e||(_0x5caf72=_0x338c0e['create'](_0x5caf72));for(var _0x5f2fc8=void 0x0===_0x514473?_0x5caf72['len']:_0x5caf72['pos']+_0x514473,_0x189bd3=new _0x4a240c['CommentsV2GetDocumentThreadsMessage']();_0x5caf72['pos']<_0x5f2fc8;){var _0x7633fc=_0x5caf72['uint32']();if(_0x7633fc===_0xdce064)break;_0x7633fc>>>0x3==0x1?_0x189bd3['documentId']=_0x5caf72['string']():_0x5caf72['skipType'](0x7&_0x7633fc);}return _0x189bd3;},_0x290c39['decodeDelimited']=function(_0x7dda4d){return _0x7dda4d instanceof _0x338c0e||(_0x7dda4d=new _0x338c0e(_0x7dda4d)),this['decode'](_0x7dda4d,_0x7dda4d['uint32']());},_0x290c39['verify']=function(_0x130661){return'object'!=typeof _0x130661||null===_0x130661?'object\x20expected':null!=_0x130661['documentId']&&_0x130661['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x130661['documentId'])?'documentId:\x20string\x20expected':null;},_0x290c39['fromObject']=function(_0x3667f3){if(_0x3667f3 instanceof _0x4a240c['CommentsV2GetDocumentThreadsMessage'])return _0x3667f3;var _0x1afba1=new _0x4a240c['CommentsV2GetDocumentThreadsMessage']();return null!=_0x3667f3['documentId']&&(_0x1afba1['documentId']=String(_0x3667f3['documentId'])),_0x1afba1;},_0x290c39['toObject']=function(_0x12d6d3,_0x5b7c2f){_0x5b7c2f||(_0x5b7c2f={});var _0x27fa6b={};return _0x5b7c2f['defaults']&&(_0x27fa6b['documentId']=''),null!=_0x12d6d3['documentId']&&_0x12d6d3['hasOwnProperty']('documentId')&&(_0x27fa6b['documentId']=_0x12d6d3['documentId']),_0x27fa6b;},_0x290c39['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x290c39['getTypeUrl']=function(_0x36b157){return void 0x0===_0x36b157&&(_0x36b157='type.googleapis.com'),_0x36b157+'/CommentsV2GetDocumentThreadsMessage';},_0x290c39;}()),_0x4a240c['CommentsV2GetCommentThreadMessage']=(function(){function _0x41e078(_0x247d53){if(_0x247d53){for(var _0x4ffefb=Object['keys'](_0x247d53),_0x38846a=0x0;_0x38846a<_0x4ffefb['length'];++_0x38846a)null!=_0x247d53[_0x4ffefb[_0x38846a]]&&(this[_0x4ffefb[_0x38846a]]=_0x247d53[_0x4ffefb[_0x38846a]]);}}return _0x41e078['prototype']['commentThreadId']='',_0x41e078['prototype']['documentId']='',_0x41e078['create']=function(_0x58d804){return new _0x41e078(_0x58d804);},_0x41e078['encode']=function(_0x467363,_0x40c049){return _0x40c049||(_0x40c049=_0x34769a['create']()),null!=_0x467363['commentThreadId']&&Object['hasOwnProperty']['call'](_0x467363,'commentThreadId')&&_0x40c049['uint32'](0xa)['string'](_0x467363['commentThreadId']),null!=_0x467363['documentId']&&Object['hasOwnProperty']['call'](_0x467363,'documentId')&&_0x40c049['uint32'](0x12)['string'](_0x467363['documentId']),_0x40c049;},_0x41e078['encodeDelimited']=function(_0x3f62e9,_0x39687f){return this['encode'](_0x3f62e9,_0x39687f)['ldelim']();},_0x41e078['decode']=function(_0x232151,_0x411f9f,_0x16a6eb){_0x232151 instanceof _0x338c0e||(_0x232151=_0x338c0e['create'](_0x232151));for(var _0x5899c8=void 0x0===_0x411f9f?_0x232151['len']:_0x232151['pos']+_0x411f9f,_0x488abd=new _0x4a240c['CommentsV2GetCommentThreadMessage']();_0x232151['pos']<_0x5899c8;){var _0x22a6b3=_0x232151['uint32']();if(_0x22a6b3===_0x16a6eb)break;switch(_0x22a6b3>>>0x3){case 0x1:_0x488abd['commentThreadId']=_0x232151['string']();break;case 0x2:_0x488abd['documentId']=_0x232151['string']();break;default:_0x232151['skipType'](0x7&_0x22a6b3);}}return _0x488abd;},_0x41e078['decodeDelimited']=function(_0x284264){return _0x284264 instanceof _0x338c0e||(_0x284264=new _0x338c0e(_0x284264)),this['decode'](_0x284264,_0x284264['uint32']());},_0x41e078['verify']=function(_0x140be5){return'object'!=typeof _0x140be5||null===_0x140be5?'object\x20expected':null!=_0x140be5['commentThreadId']&&_0x140be5['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x140be5['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x140be5['documentId']&&_0x140be5['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x140be5['documentId'])?'documentId:\x20string\x20expected':null;},_0x41e078['fromObject']=function(_0x54f7ec){if(_0x54f7ec instanceof _0x4a240c['CommentsV2GetCommentThreadMessage'])return _0x54f7ec;var _0x3eac8=new _0x4a240c['CommentsV2GetCommentThreadMessage']();return null!=_0x54f7ec['commentThreadId']&&(_0x3eac8['commentThreadId']=String(_0x54f7ec['commentThreadId'])),null!=_0x54f7ec['documentId']&&(_0x3eac8['documentId']=String(_0x54f7ec['documentId'])),_0x3eac8;},_0x41e078['toObject']=function(_0x38d057,_0xc8dcb4){_0xc8dcb4||(_0xc8dcb4={});var _0xcc2d7b={};return _0xc8dcb4['defaults']&&(_0xcc2d7b['commentThreadId']='',_0xcc2d7b['documentId']=''),null!=_0x38d057['commentThreadId']&&_0x38d057['hasOwnProperty']('commentThreadId')&&(_0xcc2d7b['commentThreadId']=_0x38d057['commentThreadId']),null!=_0x38d057['documentId']&&_0x38d057['hasOwnProperty']('documentId')&&(_0xcc2d7b['documentId']=_0x38d057['documentId']),_0xcc2d7b;},_0x41e078['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x41e078['getTypeUrl']=function(_0x573976){return void 0x0===_0x573976&&(_0x573976='type.googleapis.com'),_0x573976+'/CommentsV2GetCommentThreadMessage';},_0x41e078;}()),_0x4a240c['CommentsV2ConnectMessage']=(function(){function _0x478c97(_0x2019d4){if(_0x2019d4){for(var _0x1af72f=Object['keys'](_0x2019d4),_0x42879d=0x0;_0x42879d<_0x1af72f['length'];++_0x42879d)null!=_0x2019d4[_0x1af72f[_0x42879d]]&&(this[_0x1af72f[_0x42879d]]=_0x2019d4[_0x1af72f[_0x42879d]]);}}return _0x478c97['prototype']['documentId']='',_0x478c97['create']=function(_0xe8b33f){return new _0x478c97(_0xe8b33f);},_0x478c97['encode']=function(_0x2b3e9f,_0x3e61a6){return _0x3e61a6||(_0x3e61a6=_0x34769a['create']()),null!=_0x2b3e9f['documentId']&&Object['hasOwnProperty']['call'](_0x2b3e9f,'documentId')&&_0x3e61a6['uint32'](0xa)['string'](_0x2b3e9f['documentId']),_0x3e61a6;},_0x478c97['encodeDelimited']=function(_0x269272,_0x42e223){return this['encode'](_0x269272,_0x42e223)['ldelim']();},_0x478c97['decode']=function(_0x259b36,_0x1f9cb7,_0x55ec49){_0x259b36 instanceof _0x338c0e||(_0x259b36=_0x338c0e['create'](_0x259b36));for(var _0xb0a13b=void 0x0===_0x1f9cb7?_0x259b36['len']:_0x259b36['pos']+_0x1f9cb7,_0x24d8ec=new _0x4a240c['CommentsV2ConnectMessage']();_0x259b36['pos']<_0xb0a13b;){var _0x2405d5=_0x259b36['uint32']();if(_0x2405d5===_0x55ec49)break;_0x2405d5>>>0x3==0x1?_0x24d8ec['documentId']=_0x259b36['string']():_0x259b36['skipType'](0x7&_0x2405d5);}return _0x24d8ec;},_0x478c97['decodeDelimited']=function(_0x5cf8c2){return _0x5cf8c2 instanceof _0x338c0e||(_0x5cf8c2=new _0x338c0e(_0x5cf8c2)),this['decode'](_0x5cf8c2,_0x5cf8c2['uint32']());},_0x478c97['verify']=function(_0x3f5d0a){return'object'!=typeof _0x3f5d0a||null===_0x3f5d0a?'object\x20expected':null!=_0x3f5d0a['documentId']&&_0x3f5d0a['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x3f5d0a['documentId'])?'documentId:\x20string\x20expected':null;},_0x478c97['fromObject']=function(_0x495b9c){if(_0x495b9c instanceof _0x4a240c['CommentsV2ConnectMessage'])return _0x495b9c;var _0x513f5a=new _0x4a240c['CommentsV2ConnectMessage']();return null!=_0x495b9c['documentId']&&(_0x513f5a['documentId']=String(_0x495b9c['documentId'])),_0x513f5a;},_0x478c97['toObject']=function(_0x1a4161,_0x49ae7c){_0x49ae7c||(_0x49ae7c={});var _0x973a6f={};return _0x49ae7c['defaults']&&(_0x973a6f['documentId']=''),null!=_0x1a4161['documentId']&&_0x1a4161['hasOwnProperty']('documentId')&&(_0x973a6f['documentId']=_0x1a4161['documentId']),_0x973a6f;},_0x478c97['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x478c97['getTypeUrl']=function(_0x2838fd){return void 0x0===_0x2838fd&&(_0x2838fd='type.googleapis.com'),_0x2838fd+'/CommentsV2ConnectMessage';},_0x478c97;}()),_0x4a240c['CommentsV2AddCommentMessage']=(function(){function _0x41467d(_0xbb8f8d){if(_0xbb8f8d){for(var _0x2b7275=Object['keys'](_0xbb8f8d),_0x542c3b=0x0;_0x542c3b<_0x2b7275['length'];++_0x542c3b)null!=_0xbb8f8d[_0x2b7275[_0x542c3b]]&&(this[_0x2b7275[_0x542c3b]]=_0xbb8f8d[_0x2b7275[_0x542c3b]]);}}return _0x41467d['prototype']['commentThreadId']='',_0x41467d['prototype']['content']='',_0x41467d['prototype']['documentId']='',_0x41467d['prototype']['commentId']='',_0x41467d['prototype']['createdAt']='',_0x41467d['prototype']['userId']='',_0x41467d['prototype']['attributes']='',_0x41467d['prototype']['commentThread']=null,_0x41467d['create']=function(_0x2382e0){return new _0x41467d(_0x2382e0);},_0x41467d['encode']=function(_0x5dd11e,_0x51ccb9){return _0x51ccb9||(_0x51ccb9=_0x34769a['create']()),null!=_0x5dd11e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5dd11e,'commentThreadId')&&_0x51ccb9['uint32'](0xa)['string'](_0x5dd11e['commentThreadId']),null!=_0x5dd11e['content']&&Object['hasOwnProperty']['call'](_0x5dd11e,'content')&&_0x51ccb9['uint32'](0x12)['string'](_0x5dd11e['content']),null!=_0x5dd11e['documentId']&&Object['hasOwnProperty']['call'](_0x5dd11e,'documentId')&&_0x51ccb9['uint32'](0x1a)['string'](_0x5dd11e['documentId']),null!=_0x5dd11e['commentId']&&Object['hasOwnProperty']['call'](_0x5dd11e,'commentId')&&_0x51ccb9['uint32'](0x22)['string'](_0x5dd11e['commentId']),null!=_0x5dd11e['createdAt']&&Object['hasOwnProperty']['call'](_0x5dd11e,'createdAt')&&_0x51ccb9['uint32'](0x2a)['string'](_0x5dd11e['createdAt']),null!=_0x5dd11e['userId']&&Object['hasOwnProperty']['call'](_0x5dd11e,'userId')&&_0x51ccb9['uint32'](0x32)['string'](_0x5dd11e['userId']),null!=_0x5dd11e['attributes']&&Object['hasOwnProperty']['call'](_0x5dd11e,'attributes')&&_0x51ccb9['uint32'](0x3a)['string'](_0x5dd11e['attributes']),null!=_0x5dd11e['commentThread']&&Object['hasOwnProperty']['call'](_0x5dd11e,'commentThread')&&_0x4a240c['CommentsThreadDescriptor']['encode'](_0x5dd11e['commentThread'],_0x51ccb9['uint32'](0x42)['fork']())['ldelim'](),_0x51ccb9;},_0x41467d['encodeDelimited']=function(_0x46baaf,_0x5ee3a5){return this['encode'](_0x46baaf,_0x5ee3a5)['ldelim']();},_0x41467d['decode']=function(_0x4f61d3,_0x120019,_0x56cd8d){_0x4f61d3 instanceof _0x338c0e||(_0x4f61d3=_0x338c0e['create'](_0x4f61d3));for(var _0x5b3039=void 0x0===_0x120019?_0x4f61d3['len']:_0x4f61d3['pos']+_0x120019,_0x1bd40d=new _0x4a240c['CommentsV2AddCommentMessage']();_0x4f61d3['pos']<_0x5b3039;){var _0x174264=_0x4f61d3['uint32']();if(_0x174264===_0x56cd8d)break;switch(_0x174264>>>0x3){case 0x1:_0x1bd40d['commentThreadId']=_0x4f61d3['string']();break;case 0x2:_0x1bd40d['content']=_0x4f61d3['string']();break;case 0x3:_0x1bd40d['documentId']=_0x4f61d3['string']();break;case 0x4:_0x1bd40d['commentId']=_0x4f61d3['string']();break;case 0x5:_0x1bd40d['createdAt']=_0x4f61d3['string']();break;case 0x6:_0x1bd40d['userId']=_0x4f61d3['string']();break;case 0x7:_0x1bd40d['attributes']=_0x4f61d3['string']();break;case 0x8:_0x1bd40d['commentThread']=_0x4a240c['CommentsThreadDescriptor']['decode'](_0x4f61d3,_0x4f61d3['uint32']());break;default:_0x4f61d3['skipType'](0x7&_0x174264);}}return _0x1bd40d;},_0x41467d['decodeDelimited']=function(_0x366ee6){return _0x366ee6 instanceof _0x338c0e||(_0x366ee6=new _0x338c0e(_0x366ee6)),this['decode'](_0x366ee6,_0x366ee6['uint32']());},_0x41467d['verify']=function(_0x222a32){if('object'!=typeof _0x222a32||null===_0x222a32)return'object\x20expected';if(null!=_0x222a32['commentThreadId']&&_0x222a32['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x222a32['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x222a32['content']&&_0x222a32['hasOwnProperty']('content')&&!_0x55d06d['isString'](_0x222a32['content']))return'content:\x20string\x20expected';if(null!=_0x222a32['documentId']&&_0x222a32['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x222a32['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x222a32['commentId']&&_0x222a32['hasOwnProperty']('commentId')&&!_0x55d06d['isString'](_0x222a32['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x222a32['createdAt']&&_0x222a32['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x222a32['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x222a32['userId']&&_0x222a32['hasOwnProperty']('userId')&&!_0x55d06d['isString'](_0x222a32['userId']))return'userId:\x20string\x20expected';if(null!=_0x222a32['attributes']&&_0x222a32['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x222a32['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x222a32['commentThread']&&_0x222a32['hasOwnProperty']('commentThread')){var _0x5df65d=_0x4a240c['CommentsThreadDescriptor']['verify'](_0x222a32['commentThread']);if(_0x5df65d)return'commentThread.'+_0x5df65d;}return null;},_0x41467d['fromObject']=function(_0x2460ac){if(_0x2460ac instanceof _0x4a240c['CommentsV2AddCommentMessage'])return _0x2460ac;var _0x184978=new _0x4a240c['CommentsV2AddCommentMessage']();if(null!=_0x2460ac['commentThreadId']&&(_0x184978['commentThreadId']=String(_0x2460ac['commentThreadId'])),null!=_0x2460ac['content']&&(_0x184978['content']=String(_0x2460ac['content'])),null!=_0x2460ac['documentId']&&(_0x184978['documentId']=String(_0x2460ac['documentId'])),null!=_0x2460ac['commentId']&&(_0x184978['commentId']=String(_0x2460ac['commentId'])),null!=_0x2460ac['createdAt']&&(_0x184978['createdAt']=String(_0x2460ac['createdAt'])),null!=_0x2460ac['userId']&&(_0x184978['userId']=String(_0x2460ac['userId'])),null!=_0x2460ac['attributes']&&(_0x184978['attributes']=String(_0x2460ac['attributes'])),null!=_0x2460ac['commentThread']){if('object'!=typeof _0x2460ac['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x184978['commentThread']=_0x4a240c['CommentsThreadDescriptor']['fromObject'](_0x2460ac['commentThread']);}return _0x184978;},_0x41467d['toObject']=function(_0x4a88d1,_0x304934){_0x304934||(_0x304934={});var _0x3541e3={};return _0x304934['defaults']&&(_0x3541e3['commentThreadId']='',_0x3541e3['content']='',_0x3541e3['documentId']='',_0x3541e3['commentId']='',_0x3541e3['createdAt']='',_0x3541e3['userId']='',_0x3541e3['attributes']='',_0x3541e3['commentThread']=null),null!=_0x4a88d1['commentThreadId']&&_0x4a88d1['hasOwnProperty']('commentThreadId')&&(_0x3541e3['commentThreadId']=_0x4a88d1['commentThreadId']),null!=_0x4a88d1['content']&&_0x4a88d1['hasOwnProperty']('content')&&(_0x3541e3['content']=_0x4a88d1['content']),null!=_0x4a88d1['documentId']&&_0x4a88d1['hasOwnProperty']('documentId')&&(_0x3541e3['documentId']=_0x4a88d1['documentId']),null!=_0x4a88d1['commentId']&&_0x4a88d1['hasOwnProperty']('commentId')&&(_0x3541e3['commentId']=_0x4a88d1['commentId']),null!=_0x4a88d1['createdAt']&&_0x4a88d1['hasOwnProperty']('createdAt')&&(_0x3541e3['createdAt']=_0x4a88d1['createdAt']),null!=_0x4a88d1['userId']&&_0x4a88d1['hasOwnProperty']('userId')&&(_0x3541e3['userId']=_0x4a88d1['userId']),null!=_0x4a88d1['attributes']&&_0x4a88d1['hasOwnProperty']('attributes')&&(_0x3541e3['attributes']=_0x4a88d1['attributes']),null!=_0x4a88d1['commentThread']&&_0x4a88d1['hasOwnProperty']('commentThread')&&(_0x3541e3['commentThread']=_0x4a240c['CommentsThreadDescriptor']['toObject'](_0x4a88d1['commentThread'],_0x304934)),_0x3541e3;},_0x41467d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x41467d['getTypeUrl']=function(_0x409059){return void 0x0===_0x409059&&(_0x409059='type.googleapis.com'),_0x409059+'/CommentsV2AddCommentMessage';},_0x41467d;}()),_0x4a240c['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x1dfd14(_0x43a0e6){if(_0x43a0e6){for(var _0xaabf33=Object['keys'](_0x43a0e6),_0x40c43f=0x0;_0x40c43f<_0xaabf33['length'];++_0x40c43f)null!=_0x43a0e6[_0xaabf33[_0x40c43f]]&&(this[_0xaabf33[_0x40c43f]]=_0x43a0e6[_0xaabf33[_0x40c43f]]);}}return _0x1dfd14['prototype']['commentThreadId']='',_0x1dfd14['prototype']['documentId']='',_0x1dfd14['prototype']['context']='',_0x1dfd14['prototype']['attributes']='',_0x1dfd14['prototype']['unlinkedAt']='',_0x1dfd14['create']=function(_0xe20fc8){return new _0x1dfd14(_0xe20fc8);},_0x1dfd14['encode']=function(_0x285be4,_0x5dea74){return _0x5dea74||(_0x5dea74=_0x34769a['create']()),null!=_0x285be4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x285be4,'commentThreadId')&&_0x5dea74['uint32'](0xa)['string'](_0x285be4['commentThreadId']),null!=_0x285be4['documentId']&&Object['hasOwnProperty']['call'](_0x285be4,'documentId')&&_0x5dea74['uint32'](0x12)['string'](_0x285be4['documentId']),null!=_0x285be4['context']&&Object['hasOwnProperty']['call'](_0x285be4,'context')&&_0x5dea74['uint32'](0x1a)['string'](_0x285be4['context']),null!=_0x285be4['attributes']&&Object['hasOwnProperty']['call'](_0x285be4,'attributes')&&_0x5dea74['uint32'](0x22)['string'](_0x285be4['attributes']),null!=_0x285be4['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x285be4,'unlinkedAt')&&_0x5dea74['uint32'](0x2a)['string'](_0x285be4['unlinkedAt']),_0x5dea74;},_0x1dfd14['encodeDelimited']=function(_0x2223e6,_0x5091f4){return this['encode'](_0x2223e6,_0x5091f4)['ldelim']();},_0x1dfd14['decode']=function(_0x3e071b,_0x33b2cb,_0xd4f0b1){_0x3e071b instanceof _0x338c0e||(_0x3e071b=_0x338c0e['create'](_0x3e071b));for(var _0x1623df=void 0x0===_0x33b2cb?_0x3e071b['len']:_0x3e071b['pos']+_0x33b2cb,_0x1421b2=new _0x4a240c['CommentsV2UpdateCommentThreadMessage']();_0x3e071b['pos']<_0x1623df;){var _0x1c67dc=_0x3e071b['uint32']();if(_0x1c67dc===_0xd4f0b1)break;switch(_0x1c67dc>>>0x3){case 0x1:_0x1421b2['commentThreadId']=_0x3e071b['string']();break;case 0x2:_0x1421b2['documentId']=_0x3e071b['string']();break;case 0x3:_0x1421b2['context']=_0x3e071b['string']();break;case 0x4:_0x1421b2['attributes']=_0x3e071b['string']();break;case 0x5:_0x1421b2['unlinkedAt']=_0x3e071b['string']();break;default:_0x3e071b['skipType'](0x7&_0x1c67dc);}}return _0x1421b2;},_0x1dfd14['decodeDelimited']=function(_0x109b15){return _0x109b15 instanceof _0x338c0e||(_0x109b15=new _0x338c0e(_0x109b15)),this['decode'](_0x109b15,_0x109b15['uint32']());},_0x1dfd14['verify']=function(_0x2f04cd){return'object'!=typeof _0x2f04cd||null===_0x2f04cd?'object\x20expected':null!=_0x2f04cd['commentThreadId']&&_0x2f04cd['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x2f04cd['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2f04cd['documentId']&&_0x2f04cd['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x2f04cd['documentId'])?'documentId:\x20string\x20expected':null!=_0x2f04cd['context']&&_0x2f04cd['hasOwnProperty']('context')&&!_0x55d06d['isString'](_0x2f04cd['context'])?'context:\x20string\x20expected':null!=_0x2f04cd['attributes']&&_0x2f04cd['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x2f04cd['attributes'])?'attributes:\x20string\x20expected':null!=_0x2f04cd['unlinkedAt']&&_0x2f04cd['hasOwnProperty']('unlinkedAt')&&!_0x55d06d['isString'](_0x2f04cd['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1dfd14['fromObject']=function(_0x4ac506){if(_0x4ac506 instanceof _0x4a240c['CommentsV2UpdateCommentThreadMessage'])return _0x4ac506;var _0x3278ce=new _0x4a240c['CommentsV2UpdateCommentThreadMessage']();return null!=_0x4ac506['commentThreadId']&&(_0x3278ce['commentThreadId']=String(_0x4ac506['commentThreadId'])),null!=_0x4ac506['documentId']&&(_0x3278ce['documentId']=String(_0x4ac506['documentId'])),null!=_0x4ac506['context']&&(_0x3278ce['context']=String(_0x4ac506['context'])),null!=_0x4ac506['attributes']&&(_0x3278ce['attributes']=String(_0x4ac506['attributes'])),null!=_0x4ac506['unlinkedAt']&&(_0x3278ce['unlinkedAt']=String(_0x4ac506['unlinkedAt'])),_0x3278ce;},_0x1dfd14['toObject']=function(_0x229afe,_0x1a6362){_0x1a6362||(_0x1a6362={});var _0x248dde={};return _0x1a6362['defaults']&&(_0x248dde['commentThreadId']='',_0x248dde['documentId']='',_0x248dde['context']='',_0x248dde['attributes']='',_0x248dde['unlinkedAt']=''),null!=_0x229afe['commentThreadId']&&_0x229afe['hasOwnProperty']('commentThreadId')&&(_0x248dde['commentThreadId']=_0x229afe['commentThreadId']),null!=_0x229afe['documentId']&&_0x229afe['hasOwnProperty']('documentId')&&(_0x248dde['documentId']=_0x229afe['documentId']),null!=_0x229afe['context']&&_0x229afe['hasOwnProperty']('context')&&(_0x248dde['context']=_0x229afe['context']),null!=_0x229afe['attributes']&&_0x229afe['hasOwnProperty']('attributes')&&(_0x248dde['attributes']=_0x229afe['attributes']),null!=_0x229afe['unlinkedAt']&&_0x229afe['hasOwnProperty']('unlinkedAt')&&(_0x248dde['unlinkedAt']=_0x229afe['unlinkedAt']),_0x248dde;},_0x1dfd14['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x1dfd14['getTypeUrl']=function(_0xe18b34){return void 0x0===_0xe18b34&&(_0xe18b34='type.googleapis.com'),_0xe18b34+'/CommentsV2UpdateCommentThreadMessage';},_0x1dfd14;}()),_0x4a240c['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x4a9c2c(_0xae252c){if(_0xae252c){for(var _0x234e1d=Object['keys'](_0xae252c),_0x48ecfd=0x0;_0x48ecfd<_0x234e1d['length'];++_0x48ecfd)null!=_0xae252c[_0x234e1d[_0x48ecfd]]&&(this[_0x234e1d[_0x48ecfd]]=_0xae252c[_0x234e1d[_0x48ecfd]]);}}return _0x4a9c2c['prototype']['commentThreadId']='',_0x4a9c2c['prototype']['documentId']='',_0x4a9c2c['prototype']['resolvedBy']='',_0x4a9c2c['prototype']['resolvedAt']='',_0x4a9c2c['create']=function(_0xe2e882){return new _0x4a9c2c(_0xe2e882);},_0x4a9c2c['encode']=function(_0xeb20a1,_0x5343d5){return _0x5343d5||(_0x5343d5=_0x34769a['create']()),null!=_0xeb20a1['commentThreadId']&&Object['hasOwnProperty']['call'](_0xeb20a1,'commentThreadId')&&_0x5343d5['uint32'](0xa)['string'](_0xeb20a1['commentThreadId']),null!=_0xeb20a1['documentId']&&Object['hasOwnProperty']['call'](_0xeb20a1,'documentId')&&_0x5343d5['uint32'](0x12)['string'](_0xeb20a1['documentId']),null!=_0xeb20a1['resolvedBy']&&Object['hasOwnProperty']['call'](_0xeb20a1,'resolvedBy')&&_0x5343d5['uint32'](0x1a)['string'](_0xeb20a1['resolvedBy']),null!=_0xeb20a1['resolvedAt']&&Object['hasOwnProperty']['call'](_0xeb20a1,'resolvedAt')&&_0x5343d5['uint32'](0x22)['string'](_0xeb20a1['resolvedAt']),_0x5343d5;},_0x4a9c2c['encodeDelimited']=function(_0x5c0497,_0x18c68b){return this['encode'](_0x5c0497,_0x18c68b)['ldelim']();},_0x4a9c2c['decode']=function(_0x2484e7,_0x784e0c,_0x4ac16d){_0x2484e7 instanceof _0x338c0e||(_0x2484e7=_0x338c0e['create'](_0x2484e7));for(var _0x3a8bd8=void 0x0===_0x784e0c?_0x2484e7['len']:_0x2484e7['pos']+_0x784e0c,_0x1e4eea=new _0x4a240c['CommentsV2ResolveCommentThreadMessage']();_0x2484e7['pos']<_0x3a8bd8;){var _0x16bb8d=_0x2484e7['uint32']();if(_0x16bb8d===_0x4ac16d)break;switch(_0x16bb8d>>>0x3){case 0x1:_0x1e4eea['commentThreadId']=_0x2484e7['string']();break;case 0x2:_0x1e4eea['documentId']=_0x2484e7['string']();break;case 0x3:_0x1e4eea['resolvedBy']=_0x2484e7['string']();break;case 0x4:_0x1e4eea['resolvedAt']=_0x2484e7['string']();break;default:_0x2484e7['skipType'](0x7&_0x16bb8d);}}return _0x1e4eea;},_0x4a9c2c['decodeDelimited']=function(_0x90ee15){return _0x90ee15 instanceof _0x338c0e||(_0x90ee15=new _0x338c0e(_0x90ee15)),this['decode'](_0x90ee15,_0x90ee15['uint32']());},_0x4a9c2c['verify']=function(_0x39106b){return'object'!=typeof _0x39106b||null===_0x39106b?'object\x20expected':null!=_0x39106b['commentThreadId']&&_0x39106b['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x39106b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x39106b['documentId']&&_0x39106b['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x39106b['documentId'])?'documentId:\x20string\x20expected':null!=_0x39106b['resolvedBy']&&_0x39106b['hasOwnProperty']('resolvedBy')&&!_0x55d06d['isString'](_0x39106b['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x39106b['resolvedAt']&&_0x39106b['hasOwnProperty']('resolvedAt')&&!_0x55d06d['isString'](_0x39106b['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x4a9c2c['fromObject']=function(_0x288025){if(_0x288025 instanceof _0x4a240c['CommentsV2ResolveCommentThreadMessage'])return _0x288025;var _0x52a019=new _0x4a240c['CommentsV2ResolveCommentThreadMessage']();return null!=_0x288025['commentThreadId']&&(_0x52a019['commentThreadId']=String(_0x288025['commentThreadId'])),null!=_0x288025['documentId']&&(_0x52a019['documentId']=String(_0x288025['documentId'])),null!=_0x288025['resolvedBy']&&(_0x52a019['resolvedBy']=String(_0x288025['resolvedBy'])),null!=_0x288025['resolvedAt']&&(_0x52a019['resolvedAt']=String(_0x288025['resolvedAt'])),_0x52a019;},_0x4a9c2c['toObject']=function(_0x205166,_0x119cad){_0x119cad||(_0x119cad={});var _0x85c4b9={};return _0x119cad['defaults']&&(_0x85c4b9['commentThreadId']='',_0x85c4b9['documentId']='',_0x85c4b9['resolvedBy']='',_0x85c4b9['resolvedAt']=''),null!=_0x205166['commentThreadId']&&_0x205166['hasOwnProperty']('commentThreadId')&&(_0x85c4b9['commentThreadId']=_0x205166['commentThreadId']),null!=_0x205166['documentId']&&_0x205166['hasOwnProperty']('documentId')&&(_0x85c4b9['documentId']=_0x205166['documentId']),null!=_0x205166['resolvedBy']&&_0x205166['hasOwnProperty']('resolvedBy')&&(_0x85c4b9['resolvedBy']=_0x205166['resolvedBy']),null!=_0x205166['resolvedAt']&&_0x205166['hasOwnProperty']('resolvedAt')&&(_0x85c4b9['resolvedAt']=_0x205166['resolvedAt']),_0x85c4b9;},_0x4a9c2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4a9c2c['getTypeUrl']=function(_0x544777){return void 0x0===_0x544777&&(_0x544777='type.googleapis.com'),_0x544777+'/CommentsV2ResolveCommentThreadMessage';},_0x4a9c2c;}()),_0x4a240c['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x29eb8b(_0x48edda){if(_0x48edda){for(var _0x33aad3=Object['keys'](_0x48edda),_0x25f019=0x0;_0x25f019<_0x33aad3['length'];++_0x25f019)null!=_0x48edda[_0x33aad3[_0x25f019]]&&(this[_0x33aad3[_0x25f019]]=_0x48edda[_0x33aad3[_0x25f019]]);}}return _0x29eb8b['prototype']['commentThreadId']='',_0x29eb8b['prototype']['documentId']='',_0x29eb8b['create']=function(_0xa90299){return new _0x29eb8b(_0xa90299);},_0x29eb8b['encode']=function(_0x154a71,_0x174b75){return _0x174b75||(_0x174b75=_0x34769a['create']()),null!=_0x154a71['commentThreadId']&&Object['hasOwnProperty']['call'](_0x154a71,'commentThreadId')&&_0x174b75['uint32'](0xa)['string'](_0x154a71['commentThreadId']),null!=_0x154a71['documentId']&&Object['hasOwnProperty']['call'](_0x154a71,'documentId')&&_0x174b75['uint32'](0x12)['string'](_0x154a71['documentId']),_0x174b75;},_0x29eb8b['encodeDelimited']=function(_0x5809d8,_0x4cf9b3){return this['encode'](_0x5809d8,_0x4cf9b3)['ldelim']();},_0x29eb8b['decode']=function(_0x9634f8,_0x3633a7,_0x11cb3d){_0x9634f8 instanceof _0x338c0e||(_0x9634f8=_0x338c0e['create'](_0x9634f8));for(var _0xd2a3bb=void 0x0===_0x3633a7?_0x9634f8['len']:_0x9634f8['pos']+_0x3633a7,_0x44078e=new _0x4a240c['CommentsV2ReopenCommentThreadMessage']();_0x9634f8['pos']<_0xd2a3bb;){var _0x228432=_0x9634f8['uint32']();if(_0x228432===_0x11cb3d)break;switch(_0x228432>>>0x3){case 0x1:_0x44078e['commentThreadId']=_0x9634f8['string']();break;case 0x2:_0x44078e['documentId']=_0x9634f8['string']();break;default:_0x9634f8['skipType'](0x7&_0x228432);}}return _0x44078e;},_0x29eb8b['decodeDelimited']=function(_0x407018){return _0x407018 instanceof _0x338c0e||(_0x407018=new _0x338c0e(_0x407018)),this['decode'](_0x407018,_0x407018['uint32']());},_0x29eb8b['verify']=function(_0x1efeef){return'object'!=typeof _0x1efeef||null===_0x1efeef?'object\x20expected':null!=_0x1efeef['commentThreadId']&&_0x1efeef['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x1efeef['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1efeef['documentId']&&_0x1efeef['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x1efeef['documentId'])?'documentId:\x20string\x20expected':null;},_0x29eb8b['fromObject']=function(_0x2f824a){if(_0x2f824a instanceof _0x4a240c['CommentsV2ReopenCommentThreadMessage'])return _0x2f824a;var _0x5b46ba=new _0x4a240c['CommentsV2ReopenCommentThreadMessage']();return null!=_0x2f824a['commentThreadId']&&(_0x5b46ba['commentThreadId']=String(_0x2f824a['commentThreadId'])),null!=_0x2f824a['documentId']&&(_0x5b46ba['documentId']=String(_0x2f824a['documentId'])),_0x5b46ba;},_0x29eb8b['toObject']=function(_0x1c6412,_0x447fd3){_0x447fd3||(_0x447fd3={});var _0x2d8edd={};return _0x447fd3['defaults']&&(_0x2d8edd['commentThreadId']='',_0x2d8edd['documentId']=''),null!=_0x1c6412['commentThreadId']&&_0x1c6412['hasOwnProperty']('commentThreadId')&&(_0x2d8edd['commentThreadId']=_0x1c6412['commentThreadId']),null!=_0x1c6412['documentId']&&_0x1c6412['hasOwnProperty']('documentId')&&(_0x2d8edd['documentId']=_0x1c6412['documentId']),_0x2d8edd;},_0x29eb8b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x29eb8b['getTypeUrl']=function(_0x76b905){return void 0x0===_0x76b905&&(_0x76b905='type.googleapis.com'),_0x76b905+'/CommentsV2ReopenCommentThreadMessage';},_0x29eb8b;}()),_0x4a240c['CommentsV2AddCommentThreadMessage']=(function(){function _0x20d41d(_0x43d6c2){if(this['comments']=[],_0x43d6c2){for(var _0x509a54=Object['keys'](_0x43d6c2),_0x4bec33=0x0;_0x4bec33<_0x509a54['length'];++_0x4bec33)null!=_0x43d6c2[_0x509a54[_0x4bec33]]&&(this[_0x509a54[_0x4bec33]]=_0x43d6c2[_0x509a54[_0x4bec33]]);}}return _0x20d41d['prototype']['documentId']='',_0x20d41d['prototype']['commentThreadId']='',_0x20d41d['prototype']['context']='',_0x20d41d['prototype']['createdAt']='',_0x20d41d['prototype']['resolvedAt']='',_0x20d41d['prototype']['resolvedBy']='',_0x20d41d['prototype']['attributes']='',_0x20d41d['prototype']['deletedAt']='',_0x20d41d['prototype']['comments']=_0x55d06d['emptyArray'],_0x20d41d['create']=function(_0x9032df){return new _0x20d41d(_0x9032df);},_0x20d41d['encode']=function(_0x22fc09,_0x39a77d){if(_0x39a77d||(_0x39a77d=_0x34769a['create']()),null!=_0x22fc09['documentId']&&Object['hasOwnProperty']['call'](_0x22fc09,'documentId')&&_0x39a77d['uint32'](0xa)['string'](_0x22fc09['documentId']),null!=_0x22fc09['commentThreadId']&&Object['hasOwnProperty']['call'](_0x22fc09,'commentThreadId')&&_0x39a77d['uint32'](0x12)['string'](_0x22fc09['commentThreadId']),null!=_0x22fc09['context']&&Object['hasOwnProperty']['call'](_0x22fc09,'context')&&_0x39a77d['uint32'](0x1a)['string'](_0x22fc09['context']),null!=_0x22fc09['createdAt']&&Object['hasOwnProperty']['call'](_0x22fc09,'createdAt')&&_0x39a77d['uint32'](0x22)['string'](_0x22fc09['createdAt']),null!=_0x22fc09['resolvedAt']&&Object['hasOwnProperty']['call'](_0x22fc09,'resolvedAt')&&_0x39a77d['uint32'](0x2a)['string'](_0x22fc09['resolvedAt']),null!=_0x22fc09['resolvedBy']&&Object['hasOwnProperty']['call'](_0x22fc09,'resolvedBy')&&_0x39a77d['uint32'](0x32)['string'](_0x22fc09['resolvedBy']),null!=_0x22fc09['attributes']&&Object['hasOwnProperty']['call'](_0x22fc09,'attributes')&&_0x39a77d['uint32'](0x3a)['string'](_0x22fc09['attributes']),null!=_0x22fc09['deletedAt']&&Object['hasOwnProperty']['call'](_0x22fc09,'deletedAt')&&_0x39a77d['uint32'](0x42)['string'](_0x22fc09['deletedAt']),null!=_0x22fc09['comments']&&_0x22fc09['comments']['length']){for(var _0x135db0=0x0;_0x135db0<_0x22fc09['comments']['length'];++_0x135db0)_0x4a240c['CommentDescriptor']['encode'](_0x22fc09['comments'][_0x135db0],_0x39a77d['uint32'](0x4a)['fork']())['ldelim']();}return _0x39a77d;},_0x20d41d['encodeDelimited']=function(_0x1b7d37,_0x3e0075){return this['encode'](_0x1b7d37,_0x3e0075)['ldelim']();},_0x20d41d['decode']=function(_0x38d76e,_0x4932ee,_0x2111bb){_0x38d76e instanceof _0x338c0e||(_0x38d76e=_0x338c0e['create'](_0x38d76e));for(var _0x1c2395=void 0x0===_0x4932ee?_0x38d76e['len']:_0x38d76e['pos']+_0x4932ee,_0x2502bf=new _0x4a240c['CommentsV2AddCommentThreadMessage']();_0x38d76e['pos']<_0x1c2395;){var _0x39765d=_0x38d76e['uint32']();if(_0x39765d===_0x2111bb)break;switch(_0x39765d>>>0x3){case 0x1:_0x2502bf['documentId']=_0x38d76e['string']();break;case 0x2:_0x2502bf['commentThreadId']=_0x38d76e['string']();break;case 0x3:_0x2502bf['context']=_0x38d76e['string']();break;case 0x4:_0x2502bf['createdAt']=_0x38d76e['string']();break;case 0x5:_0x2502bf['resolvedAt']=_0x38d76e['string']();break;case 0x6:_0x2502bf['resolvedBy']=_0x38d76e['string']();break;case 0x7:_0x2502bf['attributes']=_0x38d76e['string']();break;case 0x8:_0x2502bf['deletedAt']=_0x38d76e['string']();break;case 0x9:_0x2502bf['comments']&&_0x2502bf['comments']['length']||(_0x2502bf['comments']=[]),_0x2502bf['comments']['push'](_0x4a240c['CommentDescriptor']['decode'](_0x38d76e,_0x38d76e['uint32']()));break;default:_0x38d76e['skipType'](0x7&_0x39765d);}}return _0x2502bf;},_0x20d41d['decodeDelimited']=function(_0x23311b){return _0x23311b instanceof _0x338c0e||(_0x23311b=new _0x338c0e(_0x23311b)),this['decode'](_0x23311b,_0x23311b['uint32']());},_0x20d41d['verify']=function(_0x298a52){if('object'!=typeof _0x298a52||null===_0x298a52)return'object\x20expected';if(null!=_0x298a52['documentId']&&_0x298a52['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x298a52['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x298a52['commentThreadId']&&_0x298a52['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x298a52['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x298a52['context']&&_0x298a52['hasOwnProperty']('context')&&!_0x55d06d['isString'](_0x298a52['context']))return'context:\x20string\x20expected';if(null!=_0x298a52['createdAt']&&_0x298a52['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x298a52['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x298a52['resolvedAt']&&_0x298a52['hasOwnProperty']('resolvedAt')&&!_0x55d06d['isString'](_0x298a52['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x298a52['resolvedBy']&&_0x298a52['hasOwnProperty']('resolvedBy')&&!_0x55d06d['isString'](_0x298a52['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x298a52['attributes']&&_0x298a52['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x298a52['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x298a52['deletedAt']&&_0x298a52['hasOwnProperty']('deletedAt')&&!_0x55d06d['isString'](_0x298a52['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x298a52['comments']&&_0x298a52['hasOwnProperty']('comments')){if(!Array['isArray'](_0x298a52['comments']))return'comments:\x20array\x20expected';for(var _0x1ffe16=0x0;_0x1ffe16<_0x298a52['comments']['length'];++_0x1ffe16){var _0x2abf85=_0x4a240c['CommentDescriptor']['verify'](_0x298a52['comments'][_0x1ffe16]);if(_0x2abf85)return'comments.'+_0x2abf85;}}return null;},_0x20d41d['fromObject']=function(_0x246e60){if(_0x246e60 instanceof _0x4a240c['CommentsV2AddCommentThreadMessage'])return _0x246e60;var _0xdeafb4=new _0x4a240c['CommentsV2AddCommentThreadMessage']();if(null!=_0x246e60['documentId']&&(_0xdeafb4['documentId']=String(_0x246e60['documentId'])),null!=_0x246e60['commentThreadId']&&(_0xdeafb4['commentThreadId']=String(_0x246e60['commentThreadId'])),null!=_0x246e60['context']&&(_0xdeafb4['context']=String(_0x246e60['context'])),null!=_0x246e60['createdAt']&&(_0xdeafb4['createdAt']=String(_0x246e60['createdAt'])),null!=_0x246e60['resolvedAt']&&(_0xdeafb4['resolvedAt']=String(_0x246e60['resolvedAt'])),null!=_0x246e60['resolvedBy']&&(_0xdeafb4['resolvedBy']=String(_0x246e60['resolvedBy'])),null!=_0x246e60['attributes']&&(_0xdeafb4['attributes']=String(_0x246e60['attributes'])),null!=_0x246e60['deletedAt']&&(_0xdeafb4['deletedAt']=String(_0x246e60['deletedAt'])),_0x246e60['comments']){if(!Array['isArray'](_0x246e60['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0xdeafb4['comments']=[];for(var _0x24f1ee=0x0;_0x24f1ee<_0x246e60['comments']['length'];++_0x24f1ee){if('object'!=typeof _0x246e60['comments'][_0x24f1ee])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0xdeafb4['comments'][_0x24f1ee]=_0x4a240c['CommentDescriptor']['fromObject'](_0x246e60['comments'][_0x24f1ee]);}}return _0xdeafb4;},_0x20d41d['toObject']=function(_0x1d9426,_0x81bf01){_0x81bf01||(_0x81bf01={});var _0x361e25={};if((_0x81bf01['arrays']||_0x81bf01['defaults'])&&(_0x361e25['comments']=[]),_0x81bf01['defaults']&&(_0x361e25['documentId']='',_0x361e25['commentThreadId']='',_0x361e25['context']='',_0x361e25['createdAt']='',_0x361e25['resolvedAt']='',_0x361e25['resolvedBy']='',_0x361e25['attributes']='',_0x361e25['deletedAt']=''),null!=_0x1d9426['documentId']&&_0x1d9426['hasOwnProperty']('documentId')&&(_0x361e25['documentId']=_0x1d9426['documentId']),null!=_0x1d9426['commentThreadId']&&_0x1d9426['hasOwnProperty']('commentThreadId')&&(_0x361e25['commentThreadId']=_0x1d9426['commentThreadId']),null!=_0x1d9426['context']&&_0x1d9426['hasOwnProperty']('context')&&(_0x361e25['context']=_0x1d9426['context']),null!=_0x1d9426['createdAt']&&_0x1d9426['hasOwnProperty']('createdAt')&&(_0x361e25['createdAt']=_0x1d9426['createdAt']),null!=_0x1d9426['resolvedAt']&&_0x1d9426['hasOwnProperty']('resolvedAt')&&(_0x361e25['resolvedAt']=_0x1d9426['resolvedAt']),null!=_0x1d9426['resolvedBy']&&_0x1d9426['hasOwnProperty']('resolvedBy')&&(_0x361e25['resolvedBy']=_0x1d9426['resolvedBy']),null!=_0x1d9426['attributes']&&_0x1d9426['hasOwnProperty']('attributes')&&(_0x361e25['attributes']=_0x1d9426['attributes']),null!=_0x1d9426['deletedAt']&&_0x1d9426['hasOwnProperty']('deletedAt')&&(_0x361e25['deletedAt']=_0x1d9426['deletedAt']),_0x1d9426['comments']&&_0x1d9426['comments']['length']){_0x361e25['comments']=[];for(var _0x19738e=0x0;_0x19738e<_0x1d9426['comments']['length'];++_0x19738e)_0x361e25['comments'][_0x19738e]=_0x4a240c['CommentDescriptor']['toObject'](_0x1d9426['comments'][_0x19738e],_0x81bf01);}return _0x361e25;},_0x20d41d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x20d41d['getTypeUrl']=function(_0x48d8bc){return void 0x0===_0x48d8bc&&(_0x48d8bc='type.googleapis.com'),_0x48d8bc+'/CommentsV2AddCommentThreadMessage';},_0x20d41d;}()),_0x4a240c['CommentThreadAddedCommentDescriptor']=(function(){function _0x8cb7e9(_0x1d4bb4){if(_0x1d4bb4){for(var _0x239a9b=Object['keys'](_0x1d4bb4),_0xab82f=0x0;_0xab82f<_0x239a9b['length'];++_0xab82f)null!=_0x1d4bb4[_0x239a9b[_0xab82f]]&&(this[_0x239a9b[_0xab82f]]=_0x1d4bb4[_0x239a9b[_0xab82f]]);}}return _0x8cb7e9['prototype']['commentId']='',_0x8cb7e9['prototype']['createdAt']='',_0x8cb7e9['create']=function(_0x248236){return new _0x8cb7e9(_0x248236);},_0x8cb7e9['encode']=function(_0x5d706b,_0x3499bc){return _0x3499bc||(_0x3499bc=_0x34769a['create']()),null!=_0x5d706b['commentId']&&Object['hasOwnProperty']['call'](_0x5d706b,'commentId')&&_0x3499bc['uint32'](0xa)['string'](_0x5d706b['commentId']),null!=_0x5d706b['createdAt']&&Object['hasOwnProperty']['call'](_0x5d706b,'createdAt')&&_0x3499bc['uint32'](0x12)['string'](_0x5d706b['createdAt']),_0x3499bc;},_0x8cb7e9['encodeDelimited']=function(_0x5cd9cb,_0x119f18){return this['encode'](_0x5cd9cb,_0x119f18)['ldelim']();},_0x8cb7e9['decode']=function(_0x17b609,_0x38f850,_0x2bbd70){_0x17b609 instanceof _0x338c0e||(_0x17b609=_0x338c0e['create'](_0x17b609));for(var _0x26d096=void 0x0===_0x38f850?_0x17b609['len']:_0x17b609['pos']+_0x38f850,_0x3c49b5=new _0x4a240c['CommentThreadAddedCommentDescriptor']();_0x17b609['pos']<_0x26d096;){var _0x37a24f=_0x17b609['uint32']();if(_0x37a24f===_0x2bbd70)break;switch(_0x37a24f>>>0x3){case 0x1:_0x3c49b5['commentId']=_0x17b609['string']();break;case 0x2:_0x3c49b5['createdAt']=_0x17b609['string']();break;default:_0x17b609['skipType'](0x7&_0x37a24f);}}return _0x3c49b5;},_0x8cb7e9['decodeDelimited']=function(_0x5ae84f){return _0x5ae84f instanceof _0x338c0e||(_0x5ae84f=new _0x338c0e(_0x5ae84f)),this['decode'](_0x5ae84f,_0x5ae84f['uint32']());},_0x8cb7e9['verify']=function(_0x5922e9){return'object'!=typeof _0x5922e9||null===_0x5922e9?'object\x20expected':null!=_0x5922e9['commentId']&&_0x5922e9['hasOwnProperty']('commentId')&&!_0x55d06d['isString'](_0x5922e9['commentId'])?'commentId:\x20string\x20expected':null!=_0x5922e9['createdAt']&&_0x5922e9['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x5922e9['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x8cb7e9['fromObject']=function(_0x3545b4){if(_0x3545b4 instanceof _0x4a240c['CommentThreadAddedCommentDescriptor'])return _0x3545b4;var _0x28a8ec=new _0x4a240c['CommentThreadAddedCommentDescriptor']();return null!=_0x3545b4['commentId']&&(_0x28a8ec['commentId']=String(_0x3545b4['commentId'])),null!=_0x3545b4['createdAt']&&(_0x28a8ec['createdAt']=String(_0x3545b4['createdAt'])),_0x28a8ec;},_0x8cb7e9['toObject']=function(_0xd0b1cc,_0x31482c){_0x31482c||(_0x31482c={});var _0x56122f={};return _0x31482c['defaults']&&(_0x56122f['commentId']='',_0x56122f['createdAt']=''),null!=_0xd0b1cc['commentId']&&_0xd0b1cc['hasOwnProperty']('commentId')&&(_0x56122f['commentId']=_0xd0b1cc['commentId']),null!=_0xd0b1cc['createdAt']&&_0xd0b1cc['hasOwnProperty']('createdAt')&&(_0x56122f['createdAt']=_0xd0b1cc['createdAt']),_0x56122f;},_0x8cb7e9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x8cb7e9['getTypeUrl']=function(_0x3a61e4){return void 0x0===_0x3a61e4&&(_0x3a61e4='type.googleapis.com'),_0x3a61e4+'/CommentThreadAddedCommentDescriptor';},_0x8cb7e9;}()),_0x4a240c['CommentsThreadDescriptor']=(function(){function _0x26c978(_0x350eb9){if(this['comments']=[],_0x350eb9){for(var _0x210e52=Object['keys'](_0x350eb9),_0x1d1815=0x0;_0x1d1815<_0x210e52['length'];++_0x1d1815)null!=_0x350eb9[_0x210e52[_0x1d1815]]&&(this[_0x210e52[_0x1d1815]]=_0x350eb9[_0x210e52[_0x1d1815]]);}}return _0x26c978['prototype']['commentThreadId']='',_0x26c978['prototype']['comments']=_0x55d06d['emptyArray'],_0x26c978['prototype']['resolvedAt']='',_0x26c978['prototype']['resolvedBy']='',_0x26c978['prototype']['context']='',_0x26c978['prototype']['createdAt']='',_0x26c978['prototype']['deletedAt']='',_0x26c978['prototype']['attributes']='',_0x26c978['prototype']['unlinkedAt']='',_0x26c978['create']=function(_0x4a6fbe){return new _0x26c978(_0x4a6fbe);},_0x26c978['encode']=function(_0x9d0deb,_0xf45710){if(_0xf45710||(_0xf45710=_0x34769a['create']()),null!=_0x9d0deb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x9d0deb,'commentThreadId')&&_0xf45710['uint32'](0xa)['string'](_0x9d0deb['commentThreadId']),null!=_0x9d0deb['comments']&&_0x9d0deb['comments']['length']){for(var _0x246bd0=0x0;_0x246bd0<_0x9d0deb['comments']['length'];++_0x246bd0)_0x4a240c['CommentDescriptor']['encode'](_0x9d0deb['comments'][_0x246bd0],_0xf45710['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x9d0deb['resolvedAt']&&Object['hasOwnProperty']['call'](_0x9d0deb,'resolvedAt')&&_0xf45710['uint32'](0x1a)['string'](_0x9d0deb['resolvedAt']),null!=_0x9d0deb['resolvedBy']&&Object['hasOwnProperty']['call'](_0x9d0deb,'resolvedBy')&&_0xf45710['uint32'](0x22)['string'](_0x9d0deb['resolvedBy']),null!=_0x9d0deb['context']&&Object['hasOwnProperty']['call'](_0x9d0deb,'context')&&_0xf45710['uint32'](0x2a)['string'](_0x9d0deb['context']),null!=_0x9d0deb['createdAt']&&Object['hasOwnProperty']['call'](_0x9d0deb,'createdAt')&&_0xf45710['uint32'](0x32)['string'](_0x9d0deb['createdAt']),null!=_0x9d0deb['deletedAt']&&Object['hasOwnProperty']['call'](_0x9d0deb,'deletedAt')&&_0xf45710['uint32'](0x3a)['string'](_0x9d0deb['deletedAt']),null!=_0x9d0deb['attributes']&&Object['hasOwnProperty']['call'](_0x9d0deb,'attributes')&&_0xf45710['uint32'](0x42)['string'](_0x9d0deb['attributes']),null!=_0x9d0deb['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x9d0deb,'unlinkedAt')&&_0xf45710['uint32'](0x4a)['string'](_0x9d0deb['unlinkedAt']),_0xf45710;},_0x26c978['encodeDelimited']=function(_0x3b7739,_0x3ab99d){return this['encode'](_0x3b7739,_0x3ab99d)['ldelim']();},_0x26c978['decode']=function(_0x51dfa3,_0xacd05,_0x200d35){_0x51dfa3 instanceof _0x338c0e||(_0x51dfa3=_0x338c0e['create'](_0x51dfa3));for(var _0x2aede0=void 0x0===_0xacd05?_0x51dfa3['len']:_0x51dfa3['pos']+_0xacd05,_0x50160b=new _0x4a240c['CommentsThreadDescriptor']();_0x51dfa3['pos']<_0x2aede0;){var _0x374b05=_0x51dfa3['uint32']();if(_0x374b05===_0x200d35)break;switch(_0x374b05>>>0x3){case 0x1:_0x50160b['commentThreadId']=_0x51dfa3['string']();break;case 0x2:_0x50160b['comments']&&_0x50160b['comments']['length']||(_0x50160b['comments']=[]),_0x50160b['comments']['push'](_0x4a240c['CommentDescriptor']['decode'](_0x51dfa3,_0x51dfa3['uint32']()));break;case 0x3:_0x50160b['resolvedAt']=_0x51dfa3['string']();break;case 0x4:_0x50160b['resolvedBy']=_0x51dfa3['string']();break;case 0x5:_0x50160b['context']=_0x51dfa3['string']();break;case 0x6:_0x50160b['createdAt']=_0x51dfa3['string']();break;case 0x7:_0x50160b['deletedAt']=_0x51dfa3['string']();break;case 0x8:_0x50160b['attributes']=_0x51dfa3['string']();break;case 0x9:_0x50160b['unlinkedAt']=_0x51dfa3['string']();break;default:_0x51dfa3['skipType'](0x7&_0x374b05);}}return _0x50160b;},_0x26c978['decodeDelimited']=function(_0x4c2966){return _0x4c2966 instanceof _0x338c0e||(_0x4c2966=new _0x338c0e(_0x4c2966)),this['decode'](_0x4c2966,_0x4c2966['uint32']());},_0x26c978['verify']=function(_0x3f02c1){if('object'!=typeof _0x3f02c1||null===_0x3f02c1)return'object\x20expected';if(null!=_0x3f02c1['commentThreadId']&&_0x3f02c1['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x3f02c1['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3f02c1['comments']&&_0x3f02c1['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3f02c1['comments']))return'comments:\x20array\x20expected';for(var _0x22d3fd=0x0;_0x22d3fd<_0x3f02c1['comments']['length'];++_0x22d3fd){var _0x1e0595=_0x4a240c['CommentDescriptor']['verify'](_0x3f02c1['comments'][_0x22d3fd]);if(_0x1e0595)return'comments.'+_0x1e0595;}}return null!=_0x3f02c1['resolvedAt']&&_0x3f02c1['hasOwnProperty']('resolvedAt')&&!_0x55d06d['isString'](_0x3f02c1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3f02c1['resolvedBy']&&_0x3f02c1['hasOwnProperty']('resolvedBy')&&!_0x55d06d['isString'](_0x3f02c1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3f02c1['context']&&_0x3f02c1['hasOwnProperty']('context')&&!_0x55d06d['isString'](_0x3f02c1['context'])?'context:\x20string\x20expected':null!=_0x3f02c1['createdAt']&&_0x3f02c1['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x3f02c1['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3f02c1['deletedAt']&&_0x3f02c1['hasOwnProperty']('deletedAt')&&!_0x55d06d['isString'](_0x3f02c1['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3f02c1['attributes']&&_0x3f02c1['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x3f02c1['attributes'])?'attributes:\x20string\x20expected':null!=_0x3f02c1['unlinkedAt']&&_0x3f02c1['hasOwnProperty']('unlinkedAt')&&!_0x55d06d['isString'](_0x3f02c1['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x26c978['fromObject']=function(_0x462dd2){if(_0x462dd2 instanceof _0x4a240c['CommentsThreadDescriptor'])return _0x462dd2;var _0x1c5166=new _0x4a240c['CommentsThreadDescriptor']();if(null!=_0x462dd2['commentThreadId']&&(_0x1c5166['commentThreadId']=String(_0x462dd2['commentThreadId'])),_0x462dd2['comments']){if(!Array['isArray'](_0x462dd2['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x1c5166['comments']=[];for(var _0x3231e2=0x0;_0x3231e2<_0x462dd2['comments']['length'];++_0x3231e2){if('object'!=typeof _0x462dd2['comments'][_0x3231e2])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x1c5166['comments'][_0x3231e2]=_0x4a240c['CommentDescriptor']['fromObject'](_0x462dd2['comments'][_0x3231e2]);}}return null!=_0x462dd2['resolvedAt']&&(_0x1c5166['resolvedAt']=String(_0x462dd2['resolvedAt'])),null!=_0x462dd2['resolvedBy']&&(_0x1c5166['resolvedBy']=String(_0x462dd2['resolvedBy'])),null!=_0x462dd2['context']&&(_0x1c5166['context']=String(_0x462dd2['context'])),null!=_0x462dd2['createdAt']&&(_0x1c5166['createdAt']=String(_0x462dd2['createdAt'])),null!=_0x462dd2['deletedAt']&&(_0x1c5166['deletedAt']=String(_0x462dd2['deletedAt'])),null!=_0x462dd2['attributes']&&(_0x1c5166['attributes']=String(_0x462dd2['attributes'])),null!=_0x462dd2['unlinkedAt']&&(_0x1c5166['unlinkedAt']=String(_0x462dd2['unlinkedAt'])),_0x1c5166;},_0x26c978['toObject']=function(_0x5195ff,_0x48b7c9){_0x48b7c9||(_0x48b7c9={});var _0x34a97b={};if((_0x48b7c9['arrays']||_0x48b7c9['defaults'])&&(_0x34a97b['comments']=[]),_0x48b7c9['defaults']&&(_0x34a97b['commentThreadId']='',_0x34a97b['resolvedAt']='',_0x34a97b['resolvedBy']='',_0x34a97b['context']='',_0x34a97b['createdAt']='',_0x34a97b['deletedAt']='',_0x34a97b['attributes']='',_0x34a97b['unlinkedAt']=''),null!=_0x5195ff['commentThreadId']&&_0x5195ff['hasOwnProperty']('commentThreadId')&&(_0x34a97b['commentThreadId']=_0x5195ff['commentThreadId']),_0x5195ff['comments']&&_0x5195ff['comments']['length']){_0x34a97b['comments']=[];for(var _0x52a85f=0x0;_0x52a85f<_0x5195ff['comments']['length'];++_0x52a85f)_0x34a97b['comments'][_0x52a85f]=_0x4a240c['CommentDescriptor']['toObject'](_0x5195ff['comments'][_0x52a85f],_0x48b7c9);}return null!=_0x5195ff['resolvedAt']&&_0x5195ff['hasOwnProperty']('resolvedAt')&&(_0x34a97b['resolvedAt']=_0x5195ff['resolvedAt']),null!=_0x5195ff['resolvedBy']&&_0x5195ff['hasOwnProperty']('resolvedBy')&&(_0x34a97b['resolvedBy']=_0x5195ff['resolvedBy']),null!=_0x5195ff['context']&&_0x5195ff['hasOwnProperty']('context')&&(_0x34a97b['context']=_0x5195ff['context']),null!=_0x5195ff['createdAt']&&_0x5195ff['hasOwnProperty']('createdAt')&&(_0x34a97b['createdAt']=_0x5195ff['createdAt']),null!=_0x5195ff['deletedAt']&&_0x5195ff['hasOwnProperty']('deletedAt')&&(_0x34a97b['deletedAt']=_0x5195ff['deletedAt']),null!=_0x5195ff['attributes']&&_0x5195ff['hasOwnProperty']('attributes')&&(_0x34a97b['attributes']=_0x5195ff['attributes']),null!=_0x5195ff['unlinkedAt']&&_0x5195ff['hasOwnProperty']('unlinkedAt')&&(_0x34a97b['unlinkedAt']=_0x5195ff['unlinkedAt']),_0x34a97b;},_0x26c978['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x26c978['getTypeUrl']=function(_0x216473){return void 0x0===_0x216473&&(_0x216473='type.googleapis.com'),_0x216473+'/CommentsThreadDescriptor';},_0x26c978;}()),_0x4a240c['CommentDescriptor']=(function(){function _0x5cfbb2(_0x46ebe1){if(_0x46ebe1){for(var _0x303afe=Object['keys'](_0x46ebe1),_0x5543e0=0x0;_0x5543e0<_0x303afe['length'];++_0x5543e0)null!=_0x46ebe1[_0x303afe[_0x5543e0]]&&(this[_0x303afe[_0x5543e0]]=_0x46ebe1[_0x303afe[_0x5543e0]]);}}return _0x5cfbb2['prototype']['commentId']='',_0x5cfbb2['prototype']['commentThreadId']='',_0x5cfbb2['prototype']['userId']='',_0x5cfbb2['prototype']['content']='',_0x5cfbb2['prototype']['documentId']='',_0x5cfbb2['prototype']['createdAt']='',_0x5cfbb2['prototype']['attributes']='',_0x5cfbb2['create']=function(_0x162b79){return new _0x5cfbb2(_0x162b79);},_0x5cfbb2['encode']=function(_0x953fbb,_0x360234){return _0x360234||(_0x360234=_0x34769a['create']()),null!=_0x953fbb['commentId']&&Object['hasOwnProperty']['call'](_0x953fbb,'commentId')&&_0x360234['uint32'](0xa)['string'](_0x953fbb['commentId']),null!=_0x953fbb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x953fbb,'commentThreadId')&&_0x360234['uint32'](0x12)['string'](_0x953fbb['commentThreadId']),null!=_0x953fbb['userId']&&Object['hasOwnProperty']['call'](_0x953fbb,'userId')&&_0x360234['uint32'](0x1a)['string'](_0x953fbb['userId']),null!=_0x953fbb['content']&&Object['hasOwnProperty']['call'](_0x953fbb,'content')&&_0x360234['uint32'](0x22)['string'](_0x953fbb['content']),null!=_0x953fbb['documentId']&&Object['hasOwnProperty']['call'](_0x953fbb,'documentId')&&_0x360234['uint32'](0x2a)['string'](_0x953fbb['documentId']),null!=_0x953fbb['createdAt']&&Object['hasOwnProperty']['call'](_0x953fbb,'createdAt')&&_0x360234['uint32'](0x32)['string'](_0x953fbb['createdAt']),null!=_0x953fbb['attributes']&&Object['hasOwnProperty']['call'](_0x953fbb,'attributes')&&_0x360234['uint32'](0x3a)['string'](_0x953fbb['attributes']),_0x360234;},_0x5cfbb2['encodeDelimited']=function(_0x26701b,_0x37409e){return this['encode'](_0x26701b,_0x37409e)['ldelim']();},_0x5cfbb2['decode']=function(_0x4d144d,_0x22ae7f,_0x1a779d){_0x4d144d instanceof _0x338c0e||(_0x4d144d=_0x338c0e['create'](_0x4d144d));for(var _0xdb9402=void 0x0===_0x22ae7f?_0x4d144d['len']:_0x4d144d['pos']+_0x22ae7f,_0x155497=new _0x4a240c['CommentDescriptor']();_0x4d144d['pos']<_0xdb9402;){var _0x25f5fa=_0x4d144d['uint32']();if(_0x25f5fa===_0x1a779d)break;switch(_0x25f5fa>>>0x3){case 0x1:_0x155497['commentId']=_0x4d144d['string']();break;case 0x2:_0x155497['commentThreadId']=_0x4d144d['string']();break;case 0x3:_0x155497['userId']=_0x4d144d['string']();break;case 0x4:_0x155497['content']=_0x4d144d['string']();break;case 0x5:_0x155497['documentId']=_0x4d144d['string']();break;case 0x6:_0x155497['createdAt']=_0x4d144d['string']();break;case 0x7:_0x155497['attributes']=_0x4d144d['string']();break;default:_0x4d144d['skipType'](0x7&_0x25f5fa);}}return _0x155497;},_0x5cfbb2['decodeDelimited']=function(_0x46a84c){return _0x46a84c instanceof _0x338c0e||(_0x46a84c=new _0x338c0e(_0x46a84c)),this['decode'](_0x46a84c,_0x46a84c['uint32']());},_0x5cfbb2['verify']=function(_0x36073d){return'object'!=typeof _0x36073d||null===_0x36073d?'object\x20expected':null!=_0x36073d['commentId']&&_0x36073d['hasOwnProperty']('commentId')&&!_0x55d06d['isString'](_0x36073d['commentId'])?'commentId:\x20string\x20expected':null!=_0x36073d['commentThreadId']&&_0x36073d['hasOwnProperty']('commentThreadId')&&!_0x55d06d['isString'](_0x36073d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x36073d['userId']&&_0x36073d['hasOwnProperty']('userId')&&!_0x55d06d['isString'](_0x36073d['userId'])?'userId:\x20string\x20expected':null!=_0x36073d['content']&&_0x36073d['hasOwnProperty']('content')&&!_0x55d06d['isString'](_0x36073d['content'])?'content:\x20string\x20expected':null!=_0x36073d['documentId']&&_0x36073d['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x36073d['documentId'])?'documentId:\x20string\x20expected':null!=_0x36073d['createdAt']&&_0x36073d['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x36073d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x36073d['attributes']&&_0x36073d['hasOwnProperty']('attributes')&&!_0x55d06d['isString'](_0x36073d['attributes'])?'attributes:\x20string\x20expected':null;},_0x5cfbb2['fromObject']=function(_0x3b78db){if(_0x3b78db instanceof _0x4a240c['CommentDescriptor'])return _0x3b78db;var _0x12dcdf=new _0x4a240c['CommentDescriptor']();return null!=_0x3b78db['commentId']&&(_0x12dcdf['commentId']=String(_0x3b78db['commentId'])),null!=_0x3b78db['commentThreadId']&&(_0x12dcdf['commentThreadId']=String(_0x3b78db['commentThreadId'])),null!=_0x3b78db['userId']&&(_0x12dcdf['userId']=String(_0x3b78db['userId'])),null!=_0x3b78db['content']&&(_0x12dcdf['content']=String(_0x3b78db['content'])),null!=_0x3b78db['documentId']&&(_0x12dcdf['documentId']=String(_0x3b78db['documentId'])),null!=_0x3b78db['createdAt']&&(_0x12dcdf['createdAt']=String(_0x3b78db['createdAt'])),null!=_0x3b78db['attributes']&&(_0x12dcdf['attributes']=String(_0x3b78db['attributes'])),_0x12dcdf;},_0x5cfbb2['toObject']=function(_0x533b91,_0x1a5386){_0x1a5386||(_0x1a5386={});var _0x46186e={};return _0x1a5386['defaults']&&(_0x46186e['commentId']='',_0x46186e['commentThreadId']='',_0x46186e['userId']='',_0x46186e['content']='',_0x46186e['documentId']='',_0x46186e['createdAt']='',_0x46186e['attributes']=''),null!=_0x533b91['commentId']&&_0x533b91['hasOwnProperty']('commentId')&&(_0x46186e['commentId']=_0x533b91['commentId']),null!=_0x533b91['commentThreadId']&&_0x533b91['hasOwnProperty']('commentThreadId')&&(_0x46186e['commentThreadId']=_0x533b91['commentThreadId']),null!=_0x533b91['userId']&&_0x533b91['hasOwnProperty']('userId')&&(_0x46186e['userId']=_0x533b91['userId']),null!=_0x533b91['content']&&_0x533b91['hasOwnProperty']('content')&&(_0x46186e['content']=_0x533b91['content']),null!=_0x533b91['documentId']&&_0x533b91['hasOwnProperty']('documentId')&&(_0x46186e['documentId']=_0x533b91['documentId']),null!=_0x533b91['createdAt']&&_0x533b91['hasOwnProperty']('createdAt')&&(_0x46186e['createdAt']=_0x533b91['createdAt']),null!=_0x533b91['attributes']&&_0x533b91['hasOwnProperty']('attributes')&&(_0x46186e['attributes']=_0x533b91['attributes']),_0x46186e;},_0x5cfbb2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5cfbb2['getTypeUrl']=function(_0x16c930){return void 0x0===_0x16c930&&(_0x16c930='type.googleapis.com'),_0x16c930+'/CommentDescriptor';},_0x5cfbb2;}()),_0x4a240c['GetDocumentDetailsResponse']=(function(){function _0x196108(_0x501e17){if(_0x501e17){for(var _0x203213=Object['keys'](_0x501e17),_0x36cec8=0x0;_0x36cec8<_0x203213['length'];++_0x36cec8)null!=_0x501e17[_0x203213[_0x36cec8]]&&(this[_0x203213[_0x36cec8]]=_0x501e17[_0x203213[_0x36cec8]]);}}return _0x196108['prototype']['lastDocumentSessionId']='',_0x196108['prototype']['lastDocumentSessionOperationId']='',_0x196108['prototype']['currentDocumentSessionId']='',_0x196108['prototype']['currentDocumentSessionVersion']=0x0,_0x196108['prototype']['currentDocumentSessionOperationId']='',_0x196108['create']=function(_0x4e7c86){return new _0x196108(_0x4e7c86);},_0x196108['encode']=function(_0x5a2c6b,_0x487d86){return _0x487d86||(_0x487d86=_0x34769a['create']()),null!=_0x5a2c6b['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x5a2c6b,'lastDocumentSessionId')&&_0x487d86['uint32'](0xa)['string'](_0x5a2c6b['lastDocumentSessionId']),null!=_0x5a2c6b['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x5a2c6b,'lastDocumentSessionOperationId')&&_0x487d86['uint32'](0x12)['string'](_0x5a2c6b['lastDocumentSessionOperationId']),null!=_0x5a2c6b['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x5a2c6b,'currentDocumentSessionId')&&_0x487d86['uint32'](0x1a)['string'](_0x5a2c6b['currentDocumentSessionId']),null!=_0x5a2c6b['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x5a2c6b,'currentDocumentSessionVersion')&&_0x487d86['uint32'](0x20)['uint32'](_0x5a2c6b['currentDocumentSessionVersion']),null!=_0x5a2c6b['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x5a2c6b,'currentDocumentSessionOperationId')&&_0x487d86['uint32'](0x2a)['string'](_0x5a2c6b['currentDocumentSessionOperationId']),_0x487d86;},_0x196108['encodeDelimited']=function(_0x4844c7,_0x45e0d7){return this['encode'](_0x4844c7,_0x45e0d7)['ldelim']();},_0x196108['decode']=function(_0x500705,_0x28b76a,_0x548c73){_0x500705 instanceof _0x338c0e||(_0x500705=_0x338c0e['create'](_0x500705));for(var _0x54e9b3=void 0x0===_0x28b76a?_0x500705['len']:_0x500705['pos']+_0x28b76a,_0x1090d9=new _0x4a240c['GetDocumentDetailsResponse']();_0x500705['pos']<_0x54e9b3;){var _0x57369f=_0x500705['uint32']();if(_0x57369f===_0x548c73)break;switch(_0x57369f>>>0x3){case 0x1:_0x1090d9['lastDocumentSessionId']=_0x500705['string']();break;case 0x2:_0x1090d9['lastDocumentSessionOperationId']=_0x500705['string']();break;case 0x3:_0x1090d9['currentDocumentSessionId']=_0x500705['string']();break;case 0x4:_0x1090d9['currentDocumentSessionVersion']=_0x500705['uint32']();break;case 0x5:_0x1090d9['currentDocumentSessionOperationId']=_0x500705['string']();break;default:_0x500705['skipType'](0x7&_0x57369f);}}return _0x1090d9;},_0x196108['decodeDelimited']=function(_0xf8d7ea){return _0xf8d7ea instanceof _0x338c0e||(_0xf8d7ea=new _0x338c0e(_0xf8d7ea)),this['decode'](_0xf8d7ea,_0xf8d7ea['uint32']());},_0x196108['verify']=function(_0x4cb87a){return'object'!=typeof _0x4cb87a||null===_0x4cb87a?'object\x20expected':null!=_0x4cb87a['lastDocumentSessionId']&&_0x4cb87a['hasOwnProperty']('lastDocumentSessionId')&&!_0x55d06d['isString'](_0x4cb87a['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x4cb87a['lastDocumentSessionOperationId']&&_0x4cb87a['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x55d06d['isString'](_0x4cb87a['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x4cb87a['currentDocumentSessionId']&&_0x4cb87a['hasOwnProperty']('currentDocumentSessionId')&&!_0x55d06d['isString'](_0x4cb87a['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x4cb87a['currentDocumentSessionVersion']&&_0x4cb87a['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x55d06d['isInteger'](_0x4cb87a['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x4cb87a['currentDocumentSessionOperationId']&&_0x4cb87a['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x55d06d['isString'](_0x4cb87a['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x196108['fromObject']=function(_0x245b2d){if(_0x245b2d instanceof _0x4a240c['GetDocumentDetailsResponse'])return _0x245b2d;var _0xf6e27b=new _0x4a240c['GetDocumentDetailsResponse']();return null!=_0x245b2d['lastDocumentSessionId']&&(_0xf6e27b['lastDocumentSessionId']=String(_0x245b2d['lastDocumentSessionId'])),null!=_0x245b2d['lastDocumentSessionOperationId']&&(_0xf6e27b['lastDocumentSessionOperationId']=String(_0x245b2d['lastDocumentSessionOperationId'])),null!=_0x245b2d['currentDocumentSessionId']&&(_0xf6e27b['currentDocumentSessionId']=String(_0x245b2d['currentDocumentSessionId'])),null!=_0x245b2d['currentDocumentSessionVersion']&&(_0xf6e27b['currentDocumentSessionVersion']=_0x245b2d['currentDocumentSessionVersion']>>>0x0),null!=_0x245b2d['currentDocumentSessionOperationId']&&(_0xf6e27b['currentDocumentSessionOperationId']=String(_0x245b2d['currentDocumentSessionOperationId'])),_0xf6e27b;},_0x196108['toObject']=function(_0x173761,_0x49ea4a){_0x49ea4a||(_0x49ea4a={});var _0x15d69e={};return _0x49ea4a['defaults']&&(_0x15d69e['lastDocumentSessionId']='',_0x15d69e['lastDocumentSessionOperationId']='',_0x15d69e['currentDocumentSessionId']='',_0x15d69e['currentDocumentSessionVersion']=0x0,_0x15d69e['currentDocumentSessionOperationId']=''),null!=_0x173761['lastDocumentSessionId']&&_0x173761['hasOwnProperty']('lastDocumentSessionId')&&(_0x15d69e['lastDocumentSessionId']=_0x173761['lastDocumentSessionId']),null!=_0x173761['lastDocumentSessionOperationId']&&_0x173761['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x15d69e['lastDocumentSessionOperationId']=_0x173761['lastDocumentSessionOperationId']),null!=_0x173761['currentDocumentSessionId']&&_0x173761['hasOwnProperty']('currentDocumentSessionId')&&(_0x15d69e['currentDocumentSessionId']=_0x173761['currentDocumentSessionId']),null!=_0x173761['currentDocumentSessionVersion']&&_0x173761['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x15d69e['currentDocumentSessionVersion']=_0x173761['currentDocumentSessionVersion']),null!=_0x173761['currentDocumentSessionOperationId']&&_0x173761['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x15d69e['currentDocumentSessionOperationId']=_0x173761['currentDocumentSessionOperationId']),_0x15d69e;},_0x196108['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x196108['getTypeUrl']=function(_0x3b0a4e){return void 0x0===_0x3b0a4e&&(_0x3b0a4e='type.googleapis.com'),_0x3b0a4e+'/GetDocumentDetailsResponse';},_0x196108;}()),_0x4a240c['CollaborativeEditingResponse']=(function(){function _0x4448dd(_0x19a035){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x19a035){for(var _0x4f6221=Object['keys'](_0x19a035),_0x20f1f5=0x0;_0x20f1f5<_0x4f6221['length'];++_0x20f1f5)null!=_0x19a035[_0x4f6221[_0x20f1f5]]&&(this[_0x4f6221[_0x20f1f5]]=_0x19a035[_0x4f6221[_0x20f1f5]]);}}return _0x4448dd['prototype']['version']=0x0,_0x4448dd['prototype']['buffers']=_0x55d06d['emptyArray'],_0x4448dd['prototype']['types']=_0x55d06d['emptyArray'],_0x4448dd['prototype']['metadata']=_0x55d06d['emptyArray'],_0x4448dd['prototype']['lastOperationId']='',_0x4448dd['prototype']['lastOperationAcceptedAt']='',_0x4448dd['create']=function(_0x5614a6){return new _0x4448dd(_0x5614a6);},_0x4448dd['encode']=function(_0x38375d,_0x3f255c){if(_0x3f255c||(_0x3f255c=_0x34769a['create']()),null!=_0x38375d['version']&&Object['hasOwnProperty']['call'](_0x38375d,'version')&&_0x3f255c['uint32'](0x8)['uint32'](_0x38375d['version']),null!=_0x38375d['buffers']&&_0x38375d['buffers']['length']){for(var _0x460b1f=0x0;_0x460b1f<_0x38375d['buffers']['length'];++_0x460b1f)_0x3f255c['uint32'](0x12)['bytes'](_0x38375d['buffers'][_0x460b1f]);}if(null!=_0x38375d['types']&&_0x38375d['types']['length']){for(_0x3f255c['uint32'](0x1a)['fork'](),_0x460b1f=0x0;_0x460b1f<_0x38375d['types']['length'];++_0x460b1f)_0x3f255c['uint32'](_0x38375d['types'][_0x460b1f]);_0x3f255c['ldelim']();}if(null!=_0x38375d['metadata']&&_0x38375d['metadata']['length']){for(_0x460b1f=0x0;_0x460b1f<_0x38375d['metadata']['length'];++_0x460b1f)_0x4a240c['OperationMetadataDescriptor']['encode'](_0x38375d['metadata'][_0x460b1f],_0x3f255c['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x38375d['lastOperationId']&&Object['hasOwnProperty']['call'](_0x38375d,'lastOperationId')&&_0x3f255c['uint32'](0x32)['string'](_0x38375d['lastOperationId']),null!=_0x38375d['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x38375d,'lastOperationAcceptedAt')&&_0x3f255c['uint32'](0x3a)['string'](_0x38375d['lastOperationAcceptedAt']),_0x3f255c;},_0x4448dd['encodeDelimited']=function(_0x2162f7,_0x32d67e){return this['encode'](_0x2162f7,_0x32d67e)['ldelim']();},_0x4448dd['decode']=function(_0x52f242,_0x580d81,_0x4dddb7){_0x52f242 instanceof _0x338c0e||(_0x52f242=_0x338c0e['create'](_0x52f242));for(var _0x53fc56=void 0x0===_0x580d81?_0x52f242['len']:_0x52f242['pos']+_0x580d81,_0x22b055=new _0x4a240c['CollaborativeEditingResponse']();_0x52f242['pos']<_0x53fc56;){var _0x5395a7=_0x52f242['uint32']();if(_0x5395a7===_0x4dddb7)break;switch(_0x5395a7>>>0x3){case 0x1:_0x22b055['version']=_0x52f242['uint32']();break;case 0x2:_0x22b055['buffers']&&_0x22b055['buffers']['length']||(_0x22b055['buffers']=[]),_0x22b055['buffers']['push'](_0x52f242['bytes']());break;case 0x3:if(_0x22b055['types']&&_0x22b055['types']['length']||(_0x22b055['types']=[]),0x2==(0x7&_0x5395a7)){for(var _0x41614f=_0x52f242['uint32']()+_0x52f242['pos'];_0x52f242['pos']<_0x41614f;)_0x22b055['types']['push'](_0x52f242['uint32']());}else _0x22b055['types']['push'](_0x52f242['uint32']());break;case 0x5:_0x22b055['metadata']&&_0x22b055['metadata']['length']||(_0x22b055['metadata']=[]),_0x22b055['metadata']['push'](_0x4a240c['OperationMetadataDescriptor']['decode'](_0x52f242,_0x52f242['uint32']()));break;case 0x6:_0x22b055['lastOperationId']=_0x52f242['string']();break;case 0x7:_0x22b055['lastOperationAcceptedAt']=_0x52f242['string']();break;default:_0x52f242['skipType'](0x7&_0x5395a7);}}return _0x22b055;},_0x4448dd['decodeDelimited']=function(_0xed47a9){return _0xed47a9 instanceof _0x338c0e||(_0xed47a9=new _0x338c0e(_0xed47a9)),this['decode'](_0xed47a9,_0xed47a9['uint32']());},_0x4448dd['verify']=function(_0x4be2ed){if('object'!=typeof _0x4be2ed||null===_0x4be2ed)return'object\x20expected';if(null!=_0x4be2ed['version']&&_0x4be2ed['hasOwnProperty']('version')&&!_0x55d06d['isInteger'](_0x4be2ed['version']))return'version:\x20integer\x20expected';if(null!=_0x4be2ed['buffers']&&_0x4be2ed['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x4be2ed['buffers']))return'buffers:\x20array\x20expected';for(var _0x5331a9=0x0;_0x5331a9<_0x4be2ed['buffers']['length'];++_0x5331a9)if(!(_0x4be2ed['buffers'][_0x5331a9]&&'number'==typeof _0x4be2ed['buffers'][_0x5331a9]['length']||_0x55d06d['isString'](_0x4be2ed['buffers'][_0x5331a9])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4be2ed['types']&&_0x4be2ed['hasOwnProperty']('types')){if(!Array['isArray'](_0x4be2ed['types']))return'types:\x20array\x20expected';for(_0x5331a9=0x0;_0x5331a9<_0x4be2ed['types']['length'];++_0x5331a9)if(!_0x55d06d['isInteger'](_0x4be2ed['types'][_0x5331a9]))return'types:\x20integer[]\x20expected';}if(null!=_0x4be2ed['metadata']&&_0x4be2ed['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x4be2ed['metadata']))return'metadata:\x20array\x20expected';for(_0x5331a9=0x0;_0x5331a9<_0x4be2ed['metadata']['length'];++_0x5331a9){var _0x2a60d9=_0x4a240c['OperationMetadataDescriptor']['verify'](_0x4be2ed['metadata'][_0x5331a9]);if(_0x2a60d9)return'metadata.'+_0x2a60d9;}}return null!=_0x4be2ed['lastOperationId']&&_0x4be2ed['hasOwnProperty']('lastOperationId')&&!_0x55d06d['isString'](_0x4be2ed['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x4be2ed['lastOperationAcceptedAt']&&_0x4be2ed['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x55d06d['isString'](_0x4be2ed['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x4448dd['fromObject']=function(_0x21bd0e){if(_0x21bd0e instanceof _0x4a240c['CollaborativeEditingResponse'])return _0x21bd0e;var _0x366468=new _0x4a240c['CollaborativeEditingResponse']();if(null!=_0x21bd0e['version']&&(_0x366468['version']=_0x21bd0e['version']>>>0x0),_0x21bd0e['buffers']){if(!Array['isArray'](_0x21bd0e['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x366468['buffers']=[];for(var _0xdfa32c=0x0;_0xdfa32c<_0x21bd0e['buffers']['length'];++_0xdfa32c)'string'==typeof _0x21bd0e['buffers'][_0xdfa32c]?_0x55d06d['base64']['decode'](_0x21bd0e['buffers'][_0xdfa32c],_0x366468['buffers'][_0xdfa32c]=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x21bd0e['buffers'][_0xdfa32c])),0x0):_0x21bd0e['buffers'][_0xdfa32c]['length']>=0x0&&(_0x366468['buffers'][_0xdfa32c]=_0x21bd0e['buffers'][_0xdfa32c]);}if(_0x21bd0e['types']){if(!Array['isArray'](_0x21bd0e['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x366468['types']=[],_0xdfa32c=0x0;_0xdfa32c<_0x21bd0e['types']['length'];++_0xdfa32c)_0x366468['types'][_0xdfa32c]=_0x21bd0e['types'][_0xdfa32c]>>>0x0;}if(_0x21bd0e['metadata']){if(!Array['isArray'](_0x21bd0e['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x366468['metadata']=[],_0xdfa32c=0x0;_0xdfa32c<_0x21bd0e['metadata']['length'];++_0xdfa32c){if('object'!=typeof _0x21bd0e['metadata'][_0xdfa32c])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x366468['metadata'][_0xdfa32c]=_0x4a240c['OperationMetadataDescriptor']['fromObject'](_0x21bd0e['metadata'][_0xdfa32c]);}}return null!=_0x21bd0e['lastOperationId']&&(_0x366468['lastOperationId']=String(_0x21bd0e['lastOperationId'])),null!=_0x21bd0e['lastOperationAcceptedAt']&&(_0x366468['lastOperationAcceptedAt']=String(_0x21bd0e['lastOperationAcceptedAt'])),_0x366468;},_0x4448dd['toObject']=function(_0x34cdbf,_0x12416e){_0x12416e||(_0x12416e={});var _0x4a4dc7={};if((_0x12416e['arrays']||_0x12416e['defaults'])&&(_0x4a4dc7['buffers']=[],_0x4a4dc7['types']=[],_0x4a4dc7['metadata']=[]),_0x12416e['defaults']&&(_0x4a4dc7['version']=0x0,_0x4a4dc7['lastOperationId']='',_0x4a4dc7['lastOperationAcceptedAt']=''),null!=_0x34cdbf['version']&&_0x34cdbf['hasOwnProperty']('version')&&(_0x4a4dc7['version']=_0x34cdbf['version']),_0x34cdbf['buffers']&&_0x34cdbf['buffers']['length']){_0x4a4dc7['buffers']=[];for(var _0x5df9cd=0x0;_0x5df9cd<_0x34cdbf['buffers']['length'];++_0x5df9cd)_0x4a4dc7['buffers'][_0x5df9cd]=_0x12416e['bytes']===String?_0x55d06d['base64']['encode'](_0x34cdbf['buffers'][_0x5df9cd],0x0,_0x34cdbf['buffers'][_0x5df9cd]['length']):_0x12416e['bytes']===Array?Array['prototype']['slice']['call'](_0x34cdbf['buffers'][_0x5df9cd]):_0x34cdbf['buffers'][_0x5df9cd];}if(_0x34cdbf['types']&&_0x34cdbf['types']['length']){for(_0x4a4dc7['types']=[],_0x5df9cd=0x0;_0x5df9cd<_0x34cdbf['types']['length'];++_0x5df9cd)_0x4a4dc7['types'][_0x5df9cd]=_0x34cdbf['types'][_0x5df9cd];}if(_0x34cdbf['metadata']&&_0x34cdbf['metadata']['length']){for(_0x4a4dc7['metadata']=[],_0x5df9cd=0x0;_0x5df9cd<_0x34cdbf['metadata']['length'];++_0x5df9cd)_0x4a4dc7['metadata'][_0x5df9cd]=_0x4a240c['OperationMetadataDescriptor']['toObject'](_0x34cdbf['metadata'][_0x5df9cd],_0x12416e);}return null!=_0x34cdbf['lastOperationId']&&_0x34cdbf['hasOwnProperty']('lastOperationId')&&(_0x4a4dc7['lastOperationId']=_0x34cdbf['lastOperationId']),null!=_0x34cdbf['lastOperationAcceptedAt']&&_0x34cdbf['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x4a4dc7['lastOperationAcceptedAt']=_0x34cdbf['lastOperationAcceptedAt']),_0x4a4dc7;},_0x4448dd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4448dd['getTypeUrl']=function(_0x1bf1d6){return void 0x0===_0x1bf1d6&&(_0x1bf1d6='type.googleapis.com'),_0x1bf1d6+'/CollaborativeEditingResponse';},_0x4448dd;}()),_0x4a240c['CollaborativeEditingConnectResponse']=(function(){function _0x3b77ee(_0x424e8d){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x424e8d){for(var _0x373031=Object['keys'](_0x424e8d),_0x49443d=0x0;_0x49443d<_0x373031['length'];++_0x49443d)null!=_0x424e8d[_0x373031[_0x49443d]]&&(this[_0x373031[_0x49443d]]=_0x424e8d[_0x373031[_0x49443d]]);}}return _0x3b77ee['prototype']['channel']='',_0x3b77ee['prototype']['offset']=0x0,_0x3b77ee['prototype']['version']=0x0,_0x3b77ee['prototype']['buffers']=_0x55d06d['emptyArray'],_0x3b77ee['prototype']['types']=_0x55d06d['emptyArray'],_0x3b77ee['prototype']['metadata']=_0x55d06d['emptyArray'],_0x3b77ee['prototype']['initData']='',_0x3b77ee['prototype']['isInitialized']=!0x1,_0x3b77ee['prototype']['sessionId']='',_0x3b77ee['prototype']['lastOperationId']='',_0x3b77ee['prototype']['sessionCreatedAt']='',_0x3b77ee['create']=function(_0x2910af){return new _0x3b77ee(_0x2910af);},_0x3b77ee['encode']=function(_0x33a044,_0x5aa138){if(_0x5aa138||(_0x5aa138=_0x34769a['create']()),null!=_0x33a044['channel']&&Object['hasOwnProperty']['call'](_0x33a044,'channel')&&_0x5aa138['uint32'](0xa)['string'](_0x33a044['channel']),null!=_0x33a044['offset']&&Object['hasOwnProperty']['call'](_0x33a044,'offset')&&_0x5aa138['uint32'](0x10)['uint32'](_0x33a044['offset']),null!=_0x33a044['version']&&Object['hasOwnProperty']['call'](_0x33a044,'version')&&_0x5aa138['uint32'](0x18)['uint32'](_0x33a044['version']),null!=_0x33a044['buffers']&&_0x33a044['buffers']['length']){for(var _0x18d150=0x0;_0x18d150<_0x33a044['buffers']['length'];++_0x18d150)_0x5aa138['uint32'](0x22)['bytes'](_0x33a044['buffers'][_0x18d150]);}if(null!=_0x33a044['types']&&_0x33a044['types']['length']){for(_0x5aa138['uint32'](0x2a)['fork'](),_0x18d150=0x0;_0x18d150<_0x33a044['types']['length'];++_0x18d150)_0x5aa138['uint32'](_0x33a044['types'][_0x18d150]);_0x5aa138['ldelim']();}if(null!=_0x33a044['metadata']&&_0x33a044['metadata']['length']){for(_0x18d150=0x0;_0x18d150<_0x33a044['metadata']['length'];++_0x18d150)_0x4a240c['OperationMetadataDescriptor']['encode'](_0x33a044['metadata'][_0x18d150],_0x5aa138['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x33a044['initData']&&Object['hasOwnProperty']['call'](_0x33a044,'initData')&&_0x5aa138['uint32'](0x42)['string'](_0x33a044['initData']),null!=_0x33a044['isInitialized']&&Object['hasOwnProperty']['call'](_0x33a044,'isInitialized')&&_0x5aa138['uint32'](0x48)['bool'](_0x33a044['isInitialized']),null!=_0x33a044['sessionId']&&Object['hasOwnProperty']['call'](_0x33a044,'sessionId')&&_0x5aa138['uint32'](0x52)['string'](_0x33a044['sessionId']),null!=_0x33a044['lastOperationId']&&Object['hasOwnProperty']['call'](_0x33a044,'lastOperationId')&&_0x5aa138['uint32'](0x5a)['string'](_0x33a044['lastOperationId']),null!=_0x33a044['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x33a044,'sessionCreatedAt')&&_0x5aa138['uint32'](0x62)['string'](_0x33a044['sessionCreatedAt']),_0x5aa138;},_0x3b77ee['encodeDelimited']=function(_0x40762c,_0x380752){return this['encode'](_0x40762c,_0x380752)['ldelim']();},_0x3b77ee['decode']=function(_0x11a92e,_0x4f5306,_0x2188b7){_0x11a92e instanceof _0x338c0e||(_0x11a92e=_0x338c0e['create'](_0x11a92e));for(var _0x42147e=void 0x0===_0x4f5306?_0x11a92e['len']:_0x11a92e['pos']+_0x4f5306,_0x6e0348=new _0x4a240c['CollaborativeEditingConnectResponse']();_0x11a92e['pos']<_0x42147e;){var _0x121560=_0x11a92e['uint32']();if(_0x121560===_0x2188b7)break;switch(_0x121560>>>0x3){case 0x1:_0x6e0348['channel']=_0x11a92e['string']();break;case 0x2:_0x6e0348['offset']=_0x11a92e['uint32']();break;case 0x3:_0x6e0348['version']=_0x11a92e['uint32']();break;case 0x4:_0x6e0348['buffers']&&_0x6e0348['buffers']['length']||(_0x6e0348['buffers']=[]),_0x6e0348['buffers']['push'](_0x11a92e['bytes']());break;case 0x5:if(_0x6e0348['types']&&_0x6e0348['types']['length']||(_0x6e0348['types']=[]),0x2==(0x7&_0x121560)){for(var _0x33bb5b=_0x11a92e['uint32']()+_0x11a92e['pos'];_0x11a92e['pos']<_0x33bb5b;)_0x6e0348['types']['push'](_0x11a92e['uint32']());}else _0x6e0348['types']['push'](_0x11a92e['uint32']());break;case 0x7:_0x6e0348['metadata']&&_0x6e0348['metadata']['length']||(_0x6e0348['metadata']=[]),_0x6e0348['metadata']['push'](_0x4a240c['OperationMetadataDescriptor']['decode'](_0x11a92e,_0x11a92e['uint32']()));break;case 0x8:_0x6e0348['initData']=_0x11a92e['string']();break;case 0x9:_0x6e0348['isInitialized']=_0x11a92e['bool']();break;case 0xa:_0x6e0348['sessionId']=_0x11a92e['string']();break;case 0xb:_0x6e0348['lastOperationId']=_0x11a92e['string']();break;case 0xc:_0x6e0348['sessionCreatedAt']=_0x11a92e['string']();break;default:_0x11a92e['skipType'](0x7&_0x121560);}}return _0x6e0348;},_0x3b77ee['decodeDelimited']=function(_0x3e0e59){return _0x3e0e59 instanceof _0x338c0e||(_0x3e0e59=new _0x338c0e(_0x3e0e59)),this['decode'](_0x3e0e59,_0x3e0e59['uint32']());},_0x3b77ee['verify']=function(_0x254b3e){if('object'!=typeof _0x254b3e||null===_0x254b3e)return'object\x20expected';if(null!=_0x254b3e['channel']&&_0x254b3e['hasOwnProperty']('channel')&&!_0x55d06d['isString'](_0x254b3e['channel']))return'channel:\x20string\x20expected';if(null!=_0x254b3e['offset']&&_0x254b3e['hasOwnProperty']('offset')&&!_0x55d06d['isInteger'](_0x254b3e['offset']))return'offset:\x20integer\x20expected';if(null!=_0x254b3e['version']&&_0x254b3e['hasOwnProperty']('version')&&!_0x55d06d['isInteger'](_0x254b3e['version']))return'version:\x20integer\x20expected';if(null!=_0x254b3e['buffers']&&_0x254b3e['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x254b3e['buffers']))return'buffers:\x20array\x20expected';for(var _0xb7ed6=0x0;_0xb7ed6<_0x254b3e['buffers']['length'];++_0xb7ed6)if(!(_0x254b3e['buffers'][_0xb7ed6]&&'number'==typeof _0x254b3e['buffers'][_0xb7ed6]['length']||_0x55d06d['isString'](_0x254b3e['buffers'][_0xb7ed6])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x254b3e['types']&&_0x254b3e['hasOwnProperty']('types')){if(!Array['isArray'](_0x254b3e['types']))return'types:\x20array\x20expected';for(_0xb7ed6=0x0;_0xb7ed6<_0x254b3e['types']['length'];++_0xb7ed6)if(!_0x55d06d['isInteger'](_0x254b3e['types'][_0xb7ed6]))return'types:\x20integer[]\x20expected';}if(null!=_0x254b3e['metadata']&&_0x254b3e['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x254b3e['metadata']))return'metadata:\x20array\x20expected';for(_0xb7ed6=0x0;_0xb7ed6<_0x254b3e['metadata']['length'];++_0xb7ed6){var _0x375c86=_0x4a240c['OperationMetadataDescriptor']['verify'](_0x254b3e['metadata'][_0xb7ed6]);if(_0x375c86)return'metadata.'+_0x375c86;}}return null!=_0x254b3e['initData']&&_0x254b3e['hasOwnProperty']('initData')&&!_0x55d06d['isString'](_0x254b3e['initData'])?'initData:\x20string\x20expected':null!=_0x254b3e['isInitialized']&&_0x254b3e['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x254b3e['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x254b3e['sessionId']&&_0x254b3e['hasOwnProperty']('sessionId')&&!_0x55d06d['isString'](_0x254b3e['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x254b3e['lastOperationId']&&_0x254b3e['hasOwnProperty']('lastOperationId')&&!_0x55d06d['isString'](_0x254b3e['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x254b3e['sessionCreatedAt']&&_0x254b3e['hasOwnProperty']('sessionCreatedAt')&&!_0x55d06d['isString'](_0x254b3e['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x3b77ee['fromObject']=function(_0xabc63f){if(_0xabc63f instanceof _0x4a240c['CollaborativeEditingConnectResponse'])return _0xabc63f;var _0x58df12=new _0x4a240c['CollaborativeEditingConnectResponse']();if(null!=_0xabc63f['channel']&&(_0x58df12['channel']=String(_0xabc63f['channel'])),null!=_0xabc63f['offset']&&(_0x58df12['offset']=_0xabc63f['offset']>>>0x0),null!=_0xabc63f['version']&&(_0x58df12['version']=_0xabc63f['version']>>>0x0),_0xabc63f['buffers']){if(!Array['isArray'](_0xabc63f['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x58df12['buffers']=[];for(var _0x533d56=0x0;_0x533d56<_0xabc63f['buffers']['length'];++_0x533d56)'string'==typeof _0xabc63f['buffers'][_0x533d56]?_0x55d06d['base64']['decode'](_0xabc63f['buffers'][_0x533d56],_0x58df12['buffers'][_0x533d56]=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0xabc63f['buffers'][_0x533d56])),0x0):_0xabc63f['buffers'][_0x533d56]['length']>=0x0&&(_0x58df12['buffers'][_0x533d56]=_0xabc63f['buffers'][_0x533d56]);}if(_0xabc63f['types']){if(!Array['isArray'](_0xabc63f['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x58df12['types']=[],_0x533d56=0x0;_0x533d56<_0xabc63f['types']['length'];++_0x533d56)_0x58df12['types'][_0x533d56]=_0xabc63f['types'][_0x533d56]>>>0x0;}if(_0xabc63f['metadata']){if(!Array['isArray'](_0xabc63f['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x58df12['metadata']=[],_0x533d56=0x0;_0x533d56<_0xabc63f['metadata']['length'];++_0x533d56){if('object'!=typeof _0xabc63f['metadata'][_0x533d56])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x58df12['metadata'][_0x533d56]=_0x4a240c['OperationMetadataDescriptor']['fromObject'](_0xabc63f['metadata'][_0x533d56]);}}return null!=_0xabc63f['initData']&&(_0x58df12['initData']=String(_0xabc63f['initData'])),null!=_0xabc63f['isInitialized']&&(_0x58df12['isInitialized']=Boolean(_0xabc63f['isInitialized'])),null!=_0xabc63f['sessionId']&&(_0x58df12['sessionId']=String(_0xabc63f['sessionId'])),null!=_0xabc63f['lastOperationId']&&(_0x58df12['lastOperationId']=String(_0xabc63f['lastOperationId'])),null!=_0xabc63f['sessionCreatedAt']&&(_0x58df12['sessionCreatedAt']=String(_0xabc63f['sessionCreatedAt'])),_0x58df12;},_0x3b77ee['toObject']=function(_0x134933,_0x5573c6){_0x5573c6||(_0x5573c6={});var _0x3f71c4={};if((_0x5573c6['arrays']||_0x5573c6['defaults'])&&(_0x3f71c4['buffers']=[],_0x3f71c4['types']=[],_0x3f71c4['metadata']=[]),_0x5573c6['defaults']&&(_0x3f71c4['channel']='',_0x3f71c4['offset']=0x0,_0x3f71c4['version']=0x0,_0x3f71c4['initData']='',_0x3f71c4['isInitialized']=!0x1,_0x3f71c4['sessionId']='',_0x3f71c4['lastOperationId']='',_0x3f71c4['sessionCreatedAt']=''),null!=_0x134933['channel']&&_0x134933['hasOwnProperty']('channel')&&(_0x3f71c4['channel']=_0x134933['channel']),null!=_0x134933['offset']&&_0x134933['hasOwnProperty']('offset')&&(_0x3f71c4['offset']=_0x134933['offset']),null!=_0x134933['version']&&_0x134933['hasOwnProperty']('version')&&(_0x3f71c4['version']=_0x134933['version']),_0x134933['buffers']&&_0x134933['buffers']['length']){_0x3f71c4['buffers']=[];for(var _0x1e2caa=0x0;_0x1e2caa<_0x134933['buffers']['length'];++_0x1e2caa)_0x3f71c4['buffers'][_0x1e2caa]=_0x5573c6['bytes']===String?_0x55d06d['base64']['encode'](_0x134933['buffers'][_0x1e2caa],0x0,_0x134933['buffers'][_0x1e2caa]['length']):_0x5573c6['bytes']===Array?Array['prototype']['slice']['call'](_0x134933['buffers'][_0x1e2caa]):_0x134933['buffers'][_0x1e2caa];}if(_0x134933['types']&&_0x134933['types']['length']){for(_0x3f71c4['types']=[],_0x1e2caa=0x0;_0x1e2caa<_0x134933['types']['length'];++_0x1e2caa)_0x3f71c4['types'][_0x1e2caa]=_0x134933['types'][_0x1e2caa];}if(_0x134933['metadata']&&_0x134933['metadata']['length']){for(_0x3f71c4['metadata']=[],_0x1e2caa=0x0;_0x1e2caa<_0x134933['metadata']['length'];++_0x1e2caa)_0x3f71c4['metadata'][_0x1e2caa]=_0x4a240c['OperationMetadataDescriptor']['toObject'](_0x134933['metadata'][_0x1e2caa],_0x5573c6);}return null!=_0x134933['initData']&&_0x134933['hasOwnProperty']('initData')&&(_0x3f71c4['initData']=_0x134933['initData']),null!=_0x134933['isInitialized']&&_0x134933['hasOwnProperty']('isInitialized')&&(_0x3f71c4['isInitialized']=_0x134933['isInitialized']),null!=_0x134933['sessionId']&&_0x134933['hasOwnProperty']('sessionId')&&(_0x3f71c4['sessionId']=_0x134933['sessionId']),null!=_0x134933['lastOperationId']&&_0x134933['hasOwnProperty']('lastOperationId')&&(_0x3f71c4['lastOperationId']=_0x134933['lastOperationId']),null!=_0x134933['sessionCreatedAt']&&_0x134933['hasOwnProperty']('sessionCreatedAt')&&(_0x3f71c4['sessionCreatedAt']=_0x134933['sessionCreatedAt']),_0x3f71c4;},_0x3b77ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3b77ee['getTypeUrl']=function(_0x16c485){return void 0x0===_0x16c485&&(_0x16c485='type.googleapis.com'),_0x16c485+'/CollaborativeEditingConnectResponse';},_0x3b77ee;}()),_0x4a240c['GetDocumentDetailsMessage']=(function(){function _0x3bc08f(_0x2bcf32){if(_0x2bcf32){for(var _0x10335f=Object['keys'](_0x2bcf32),_0x1268b9=0x0;_0x1268b9<_0x10335f['length'];++_0x1268b9)null!=_0x2bcf32[_0x10335f[_0x1268b9]]&&(this[_0x10335f[_0x1268b9]]=_0x2bcf32[_0x10335f[_0x1268b9]]);}}return _0x3bc08f['prototype']['documentId']='',_0x3bc08f['prototype']['environmentId']='',_0x3bc08f['create']=function(_0x4ab53e){return new _0x3bc08f(_0x4ab53e);},_0x3bc08f['encode']=function(_0x954fdc,_0x3e4771){return _0x3e4771||(_0x3e4771=_0x34769a['create']()),null!=_0x954fdc['documentId']&&Object['hasOwnProperty']['call'](_0x954fdc,'documentId')&&_0x3e4771['uint32'](0xa)['string'](_0x954fdc['documentId']),null!=_0x954fdc['environmentId']&&Object['hasOwnProperty']['call'](_0x954fdc,'environmentId')&&_0x3e4771['uint32'](0x12)['string'](_0x954fdc['environmentId']),_0x3e4771;},_0x3bc08f['encodeDelimited']=function(_0x5e6b76,_0x2e7171){return this['encode'](_0x5e6b76,_0x2e7171)['ldelim']();},_0x3bc08f['decode']=function(_0x1320b0,_0xb72850,_0x225fea){_0x1320b0 instanceof _0x338c0e||(_0x1320b0=_0x338c0e['create'](_0x1320b0));for(var _0x5d3992=void 0x0===_0xb72850?_0x1320b0['len']:_0x1320b0['pos']+_0xb72850,_0x29ba4a=new _0x4a240c['GetDocumentDetailsMessage']();_0x1320b0['pos']<_0x5d3992;){var _0x48f96d=_0x1320b0['uint32']();if(_0x48f96d===_0x225fea)break;switch(_0x48f96d>>>0x3){case 0x1:_0x29ba4a['documentId']=_0x1320b0['string']();break;case 0x2:_0x29ba4a['environmentId']=_0x1320b0['string']();break;default:_0x1320b0['skipType'](0x7&_0x48f96d);}}return _0x29ba4a;},_0x3bc08f['decodeDelimited']=function(_0x433541){return _0x433541 instanceof _0x338c0e||(_0x433541=new _0x338c0e(_0x433541)),this['decode'](_0x433541,_0x433541['uint32']());},_0x3bc08f['verify']=function(_0x599e2c){return'object'!=typeof _0x599e2c||null===_0x599e2c?'object\x20expected':null!=_0x599e2c['documentId']&&_0x599e2c['hasOwnProperty']('documentId')&&!_0x55d06d['isString'](_0x599e2c['documentId'])?'documentId:\x20string\x20expected':null!=_0x599e2c['environmentId']&&_0x599e2c['hasOwnProperty']('environmentId')&&!_0x55d06d['isString'](_0x599e2c['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x3bc08f['fromObject']=function(_0x65e186){if(_0x65e186 instanceof _0x4a240c['GetDocumentDetailsMessage'])return _0x65e186;var _0x565ab3=new _0x4a240c['GetDocumentDetailsMessage']();return null!=_0x65e186['documentId']&&(_0x565ab3['documentId']=String(_0x65e186['documentId'])),null!=_0x65e186['environmentId']&&(_0x565ab3['environmentId']=String(_0x65e186['environmentId'])),_0x565ab3;},_0x3bc08f['toObject']=function(_0x3d8404,_0x29da5b){_0x29da5b||(_0x29da5b={});var _0x2a0294={};return _0x29da5b['defaults']&&(_0x2a0294['documentId']='',_0x2a0294['environmentId']=''),null!=_0x3d8404['documentId']&&_0x3d8404['hasOwnProperty']('documentId')&&(_0x2a0294['documentId']=_0x3d8404['documentId']),null!=_0x3d8404['environmentId']&&_0x3d8404['hasOwnProperty']('environmentId')&&(_0x2a0294['environmentId']=_0x3d8404['environmentId']),_0x2a0294;},_0x3bc08f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3bc08f['getTypeUrl']=function(_0x2bbf93){return void 0x0===_0x2bbf93&&(_0x2bbf93='type.googleapis.com'),_0x2bbf93+'/GetDocumentDetailsMessage';},_0x3bc08f;}()),_0x4a240c['CollaborativeEditingUpdateMessage']=(function(){function _0x4c7a1b(_0x2863fd){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x2863fd){for(var _0xaf52f1=Object['keys'](_0x2863fd),_0x34cab1=0x0;_0x34cab1<_0xaf52f1['length'];++_0x34cab1)null!=_0x2863fd[_0xaf52f1[_0x34cab1]]&&(this[_0xaf52f1[_0x34cab1]]=_0x2863fd[_0xaf52f1[_0x34cab1]]);}}return _0x4c7a1b['prototype']['id']='',_0x4c7a1b['prototype']['baseVersion']=0x0,_0x4c7a1b['prototype']['buffers']=_0x55d06d['emptyArray'],_0x4c7a1b['prototype']['types']=_0x55d06d['emptyArray'],_0x4c7a1b['prototype']['metadata']=_0x55d06d['emptyArray'],_0x4c7a1b['prototype']['lastOperationId']='',_0x4c7a1b['create']=function(_0x44f4b4){return new _0x4c7a1b(_0x44f4b4);},_0x4c7a1b['encode']=function(_0x16701f,_0x17348c){if(_0x17348c||(_0x17348c=_0x34769a['create']()),null!=_0x16701f['id']&&Object['hasOwnProperty']['call'](_0x16701f,'id')&&_0x17348c['uint32'](0xa)['string'](_0x16701f['id']),null!=_0x16701f['baseVersion']&&Object['hasOwnProperty']['call'](_0x16701f,'baseVersion')&&_0x17348c['uint32'](0x10)['uint32'](_0x16701f['baseVersion']),null!=_0x16701f['buffers']&&_0x16701f['buffers']['length']){for(var _0x3cc051=0x0;_0x3cc051<_0x16701f['buffers']['length'];++_0x3cc051)_0x17348c['uint32'](0x1a)['bytes'](_0x16701f['buffers'][_0x3cc051]);}if(null!=_0x16701f['types']&&_0x16701f['types']['length']){for(_0x17348c['uint32'](0x22)['fork'](),_0x3cc051=0x0;_0x3cc051<_0x16701f['types']['length'];++_0x3cc051)_0x17348c['uint32'](_0x16701f['types'][_0x3cc051]);_0x17348c['ldelim']();}if(null!=_0x16701f['metadata']&&_0x16701f['metadata']['length']){for(_0x3cc051=0x0;_0x3cc051<_0x16701f['metadata']['length'];++_0x3cc051)_0x4a240c['OperationMetadataDescriptor']['encode'](_0x16701f['metadata'][_0x3cc051],_0x17348c['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x16701f['lastOperationId']&&Object['hasOwnProperty']['call'](_0x16701f,'lastOperationId')&&_0x17348c['uint32'](0x3a)['string'](_0x16701f['lastOperationId']),_0x17348c;},_0x4c7a1b['encodeDelimited']=function(_0x4dd1f5,_0x15b758){return this['encode'](_0x4dd1f5,_0x15b758)['ldelim']();},_0x4c7a1b['decode']=function(_0x52d9b6,_0x258867,_0x5bd971){_0x52d9b6 instanceof _0x338c0e||(_0x52d9b6=_0x338c0e['create'](_0x52d9b6));for(var _0x42b237=void 0x0===_0x258867?_0x52d9b6['len']:_0x52d9b6['pos']+_0x258867,_0xe849b8=new _0x4a240c['CollaborativeEditingUpdateMessage']();_0x52d9b6['pos']<_0x42b237;){var _0x54197d=_0x52d9b6['uint32']();if(_0x54197d===_0x5bd971)break;switch(_0x54197d>>>0x3){case 0x1:_0xe849b8['id']=_0x52d9b6['string']();break;case 0x2:_0xe849b8['baseVersion']=_0x52d9b6['uint32']();break;case 0x3:_0xe849b8['buffers']&&_0xe849b8['buffers']['length']||(_0xe849b8['buffers']=[]),_0xe849b8['buffers']['push'](_0x52d9b6['bytes']());break;case 0x4:if(_0xe849b8['types']&&_0xe849b8['types']['length']||(_0xe849b8['types']=[]),0x2==(0x7&_0x54197d)){for(var _0x1be7a3=_0x52d9b6['uint32']()+_0x52d9b6['pos'];_0x52d9b6['pos']<_0x1be7a3;)_0xe849b8['types']['push'](_0x52d9b6['uint32']());}else _0xe849b8['types']['push'](_0x52d9b6['uint32']());break;case 0x6:_0xe849b8['metadata']&&_0xe849b8['metadata']['length']||(_0xe849b8['metadata']=[]),_0xe849b8['metadata']['push'](_0x4a240c['OperationMetadataDescriptor']['decode'](_0x52d9b6,_0x52d9b6['uint32']()));break;case 0x7:_0xe849b8['lastOperationId']=_0x52d9b6['string']();break;default:_0x52d9b6['skipType'](0x7&_0x54197d);}}return _0xe849b8;},_0x4c7a1b['decodeDelimited']=function(_0x518a84){return _0x518a84 instanceof _0x338c0e||(_0x518a84=new _0x338c0e(_0x518a84)),this['decode'](_0x518a84,_0x518a84['uint32']());},_0x4c7a1b['verify']=function(_0x54f1ad){if('object'!=typeof _0x54f1ad||null===_0x54f1ad)return'object\x20expected';if(null!=_0x54f1ad['id']&&_0x54f1ad['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x54f1ad['id']))return'id:\x20string\x20expected';if(null!=_0x54f1ad['baseVersion']&&_0x54f1ad['hasOwnProperty']('baseVersion')&&!_0x55d06d['isInteger'](_0x54f1ad['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x54f1ad['buffers']&&_0x54f1ad['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x54f1ad['buffers']))return'buffers:\x20array\x20expected';for(var _0x19aeee=0x0;_0x19aeee<_0x54f1ad['buffers']['length'];++_0x19aeee)if(!(_0x54f1ad['buffers'][_0x19aeee]&&'number'==typeof _0x54f1ad['buffers'][_0x19aeee]['length']||_0x55d06d['isString'](_0x54f1ad['buffers'][_0x19aeee])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x54f1ad['types']&&_0x54f1ad['hasOwnProperty']('types')){if(!Array['isArray'](_0x54f1ad['types']))return'types:\x20array\x20expected';for(_0x19aeee=0x0;_0x19aeee<_0x54f1ad['types']['length'];++_0x19aeee)if(!_0x55d06d['isInteger'](_0x54f1ad['types'][_0x19aeee]))return'types:\x20integer[]\x20expected';}if(null!=_0x54f1ad['metadata']&&_0x54f1ad['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x54f1ad['metadata']))return'metadata:\x20array\x20expected';for(_0x19aeee=0x0;_0x19aeee<_0x54f1ad['metadata']['length'];++_0x19aeee){var _0x3e95bb=_0x4a240c['OperationMetadataDescriptor']['verify'](_0x54f1ad['metadata'][_0x19aeee]);if(_0x3e95bb)return'metadata.'+_0x3e95bb;}}return null!=_0x54f1ad['lastOperationId']&&_0x54f1ad['hasOwnProperty']('lastOperationId')&&!_0x55d06d['isString'](_0x54f1ad['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x4c7a1b['fromObject']=function(_0xc51782){if(_0xc51782 instanceof _0x4a240c['CollaborativeEditingUpdateMessage'])return _0xc51782;var _0x3bd9f8=new _0x4a240c['CollaborativeEditingUpdateMessage']();if(null!=_0xc51782['id']&&(_0x3bd9f8['id']=String(_0xc51782['id'])),null!=_0xc51782['baseVersion']&&(_0x3bd9f8['baseVersion']=_0xc51782['baseVersion']>>>0x0),_0xc51782['buffers']){if(!Array['isArray'](_0xc51782['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x3bd9f8['buffers']=[];for(var _0x244681=0x0;_0x244681<_0xc51782['buffers']['length'];++_0x244681)'string'==typeof _0xc51782['buffers'][_0x244681]?_0x55d06d['base64']['decode'](_0xc51782['buffers'][_0x244681],_0x3bd9f8['buffers'][_0x244681]=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0xc51782['buffers'][_0x244681])),0x0):_0xc51782['buffers'][_0x244681]['length']>=0x0&&(_0x3bd9f8['buffers'][_0x244681]=_0xc51782['buffers'][_0x244681]);}if(_0xc51782['types']){if(!Array['isArray'](_0xc51782['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x3bd9f8['types']=[],_0x244681=0x0;_0x244681<_0xc51782['types']['length'];++_0x244681)_0x3bd9f8['types'][_0x244681]=_0xc51782['types'][_0x244681]>>>0x0;}if(_0xc51782['metadata']){if(!Array['isArray'](_0xc51782['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x3bd9f8['metadata']=[],_0x244681=0x0;_0x244681<_0xc51782['metadata']['length'];++_0x244681){if('object'!=typeof _0xc51782['metadata'][_0x244681])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x3bd9f8['metadata'][_0x244681]=_0x4a240c['OperationMetadataDescriptor']['fromObject'](_0xc51782['metadata'][_0x244681]);}}return null!=_0xc51782['lastOperationId']&&(_0x3bd9f8['lastOperationId']=String(_0xc51782['lastOperationId'])),_0x3bd9f8;},_0x4c7a1b['toObject']=function(_0x385d0d,_0x2baef9){_0x2baef9||(_0x2baef9={});var _0x2ae4d8={};if((_0x2baef9['arrays']||_0x2baef9['defaults'])&&(_0x2ae4d8['buffers']=[],_0x2ae4d8['types']=[],_0x2ae4d8['metadata']=[]),_0x2baef9['defaults']&&(_0x2ae4d8['id']='',_0x2ae4d8['baseVersion']=0x0,_0x2ae4d8['lastOperationId']=''),null!=_0x385d0d['id']&&_0x385d0d['hasOwnProperty']('id')&&(_0x2ae4d8['id']=_0x385d0d['id']),null!=_0x385d0d['baseVersion']&&_0x385d0d['hasOwnProperty']('baseVersion')&&(_0x2ae4d8['baseVersion']=_0x385d0d['baseVersion']),_0x385d0d['buffers']&&_0x385d0d['buffers']['length']){_0x2ae4d8['buffers']=[];for(var _0x5aff82=0x0;_0x5aff82<_0x385d0d['buffers']['length'];++_0x5aff82)_0x2ae4d8['buffers'][_0x5aff82]=_0x2baef9['bytes']===String?_0x55d06d['base64']['encode'](_0x385d0d['buffers'][_0x5aff82],0x0,_0x385d0d['buffers'][_0x5aff82]['length']):_0x2baef9['bytes']===Array?Array['prototype']['slice']['call'](_0x385d0d['buffers'][_0x5aff82]):_0x385d0d['buffers'][_0x5aff82];}if(_0x385d0d['types']&&_0x385d0d['types']['length']){for(_0x2ae4d8['types']=[],_0x5aff82=0x0;_0x5aff82<_0x385d0d['types']['length'];++_0x5aff82)_0x2ae4d8['types'][_0x5aff82]=_0x385d0d['types'][_0x5aff82];}if(_0x385d0d['metadata']&&_0x385d0d['metadata']['length']){for(_0x2ae4d8['metadata']=[],_0x5aff82=0x0;_0x5aff82<_0x385d0d['metadata']['length'];++_0x5aff82)_0x2ae4d8['metadata'][_0x5aff82]=_0x4a240c['OperationMetadataDescriptor']['toObject'](_0x385d0d['metadata'][_0x5aff82],_0x2baef9);}return null!=_0x385d0d['lastOperationId']&&_0x385d0d['hasOwnProperty']('lastOperationId')&&(_0x2ae4d8['lastOperationId']=_0x385d0d['lastOperationId']),_0x2ae4d8;},_0x4c7a1b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4c7a1b['getTypeUrl']=function(_0x321c29){return void 0x0===_0x321c29&&(_0x321c29='type.googleapis.com'),_0x321c29+'/CollaborativeEditingUpdateMessage';},_0x4c7a1b;}()),_0x4a240c['CollaborativeEditingReconnectMessage']=(function(){function _0x4c39eb(_0x35f297){if(_0x35f297){for(var _0x17e9d0=Object['keys'](_0x35f297),_0xa09d0=0x0;_0xa09d0<_0x17e9d0['length'];++_0xa09d0)null!=_0x35f297[_0x17e9d0[_0xa09d0]]&&(this[_0x17e9d0[_0xa09d0]]=_0x35f297[_0x17e9d0[_0xa09d0]]);}}return _0x4c39eb['prototype']['id']='',_0x4c39eb['prototype']['bundleVersion']='',_0x4c39eb['prototype']['lastKnowVersion']=0x0,_0x4c39eb['create']=function(_0x453da5){return new _0x4c39eb(_0x453da5);},_0x4c39eb['encode']=function(_0x47dc07,_0x349819){return _0x349819||(_0x349819=_0x34769a['create']()),null!=_0x47dc07['id']&&Object['hasOwnProperty']['call'](_0x47dc07,'id')&&_0x349819['uint32'](0xa)['string'](_0x47dc07['id']),null!=_0x47dc07['bundleVersion']&&Object['hasOwnProperty']['call'](_0x47dc07,'bundleVersion')&&_0x349819['uint32'](0x12)['string'](_0x47dc07['bundleVersion']),null!=_0x47dc07['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x47dc07,'lastKnowVersion')&&_0x349819['uint32'](0x18)['uint32'](_0x47dc07['lastKnowVersion']),_0x349819;},_0x4c39eb['encodeDelimited']=function(_0x21f130,_0x135fec){return this['encode'](_0x21f130,_0x135fec)['ldelim']();},_0x4c39eb['decode']=function(_0x37f677,_0x4bf805,_0x5cd498){_0x37f677 instanceof _0x338c0e||(_0x37f677=_0x338c0e['create'](_0x37f677));for(var _0x2ca46e=void 0x0===_0x4bf805?_0x37f677['len']:_0x37f677['pos']+_0x4bf805,_0x5ea5c1=new _0x4a240c['CollaborativeEditingReconnectMessage']();_0x37f677['pos']<_0x2ca46e;){var _0x179616=_0x37f677['uint32']();if(_0x179616===_0x5cd498)break;switch(_0x179616>>>0x3){case 0x1:_0x5ea5c1['id']=_0x37f677['string']();break;case 0x2:_0x5ea5c1['bundleVersion']=_0x37f677['string']();break;case 0x3:_0x5ea5c1['lastKnowVersion']=_0x37f677['uint32']();break;default:_0x37f677['skipType'](0x7&_0x179616);}}return _0x5ea5c1;},_0x4c39eb['decodeDelimited']=function(_0x371908){return _0x371908 instanceof _0x338c0e||(_0x371908=new _0x338c0e(_0x371908)),this['decode'](_0x371908,_0x371908['uint32']());},_0x4c39eb['verify']=function(_0x26adf2){return'object'!=typeof _0x26adf2||null===_0x26adf2?'object\x20expected':null!=_0x26adf2['id']&&_0x26adf2['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0x26adf2['id'])?'id:\x20string\x20expected':null!=_0x26adf2['bundleVersion']&&_0x26adf2['hasOwnProperty']('bundleVersion')&&!_0x55d06d['isString'](_0x26adf2['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x26adf2['lastKnowVersion']&&_0x26adf2['hasOwnProperty']('lastKnowVersion')&&!_0x55d06d['isInteger'](_0x26adf2['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x4c39eb['fromObject']=function(_0xa98fa0){if(_0xa98fa0 instanceof _0x4a240c['CollaborativeEditingReconnectMessage'])return _0xa98fa0;var _0x14099f=new _0x4a240c['CollaborativeEditingReconnectMessage']();return null!=_0xa98fa0['id']&&(_0x14099f['id']=String(_0xa98fa0['id'])),null!=_0xa98fa0['bundleVersion']&&(_0x14099f['bundleVersion']=String(_0xa98fa0['bundleVersion'])),null!=_0xa98fa0['lastKnowVersion']&&(_0x14099f['lastKnowVersion']=_0xa98fa0['lastKnowVersion']>>>0x0),_0x14099f;},_0x4c39eb['toObject']=function(_0x404122,_0x31a4fa){_0x31a4fa||(_0x31a4fa={});var _0x596011={};return _0x31a4fa['defaults']&&(_0x596011['id']='',_0x596011['bundleVersion']='',_0x596011['lastKnowVersion']=0x0),null!=_0x404122['id']&&_0x404122['hasOwnProperty']('id')&&(_0x596011['id']=_0x404122['id']),null!=_0x404122['bundleVersion']&&_0x404122['hasOwnProperty']('bundleVersion')&&(_0x596011['bundleVersion']=_0x404122['bundleVersion']),null!=_0x404122['lastKnowVersion']&&_0x404122['hasOwnProperty']('lastKnowVersion')&&(_0x596011['lastKnowVersion']=_0x404122['lastKnowVersion']),_0x596011;},_0x4c39eb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x4c39eb['getTypeUrl']=function(_0x33cced){return void 0x0===_0x33cced&&(_0x33cced='type.googleapis.com'),_0x33cced+'/CollaborativeEditingReconnectMessage';},_0x4c39eb;}()),_0x4a240c['CollaborativeEditingConnectMessage']=(function(){function _0x356bfa(_0x3a8b9f){if(this['buffers']=[],this['types']=[],_0x3a8b9f){for(var _0x573fce=Object['keys'](_0x3a8b9f),_0x357ab5=0x0;_0x357ab5<_0x573fce['length'];++_0x357ab5)null!=_0x3a8b9f[_0x573fce[_0x357ab5]]&&(this[_0x573fce[_0x357ab5]]=_0x3a8b9f[_0x573fce[_0x357ab5]]);}}return _0x356bfa['prototype']['id']='',_0x356bfa['prototype']['bundleVersion']='',_0x356bfa['prototype']['buffers']=_0x55d06d['emptyArray'],_0x356bfa['prototype']['types']=_0x55d06d['emptyArray'],_0x356bfa['prototype']['lastOperationId']='',_0x356bfa['create']=function(_0x1c83f3){return new _0x356bfa(_0x1c83f3);},_0x356bfa['encode']=function(_0x2127ff,_0x4b2d7f){if(_0x4b2d7f||(_0x4b2d7f=_0x34769a['create']()),null!=_0x2127ff['id']&&Object['hasOwnProperty']['call'](_0x2127ff,'id')&&_0x4b2d7f['uint32'](0xa)['string'](_0x2127ff['id']),null!=_0x2127ff['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2127ff,'bundleVersion')&&_0x4b2d7f['uint32'](0x12)['string'](_0x2127ff['bundleVersion']),null!=_0x2127ff['buffers']&&_0x2127ff['buffers']['length']){for(var _0x1757a3=0x0;_0x1757a3<_0x2127ff['buffers']['length'];++_0x1757a3)_0x4b2d7f['uint32'](0x1a)['bytes'](_0x2127ff['buffers'][_0x1757a3]);}if(null!=_0x2127ff['types']&&_0x2127ff['types']['length']){for(_0x4b2d7f['uint32'](0x22)['fork'](),_0x1757a3=0x0;_0x1757a3<_0x2127ff['types']['length'];++_0x1757a3)_0x4b2d7f['uint32'](_0x2127ff['types'][_0x1757a3]);_0x4b2d7f['ldelim']();}return null!=_0x2127ff['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2127ff,'lastOperationId')&&_0x4b2d7f['uint32'](0x2a)['string'](_0x2127ff['lastOperationId']),_0x4b2d7f;},_0x356bfa['encodeDelimited']=function(_0x854090,_0x1d8b5c){return this['encode'](_0x854090,_0x1d8b5c)['ldelim']();},_0x356bfa['decode']=function(_0x1213dd,_0x361481,_0x468518){_0x1213dd instanceof _0x338c0e||(_0x1213dd=_0x338c0e['create'](_0x1213dd));for(var _0x5d910c=void 0x0===_0x361481?_0x1213dd['len']:_0x1213dd['pos']+_0x361481,_0x41421c=new _0x4a240c['CollaborativeEditingConnectMessage']();_0x1213dd['pos']<_0x5d910c;){var _0x2fc08f=_0x1213dd['uint32']();if(_0x2fc08f===_0x468518)break;switch(_0x2fc08f>>>0x3){case 0x1:_0x41421c['id']=_0x1213dd['string']();break;case 0x2:_0x41421c['bundleVersion']=_0x1213dd['string']();break;case 0x3:_0x41421c['buffers']&&_0x41421c['buffers']['length']||(_0x41421c['buffers']=[]),_0x41421c['buffers']['push'](_0x1213dd['bytes']());break;case 0x4:if(_0x41421c['types']&&_0x41421c['types']['length']||(_0x41421c['types']=[]),0x2==(0x7&_0x2fc08f)){for(var _0x567be1=_0x1213dd['uint32']()+_0x1213dd['pos'];_0x1213dd['pos']<_0x567be1;)_0x41421c['types']['push'](_0x1213dd['uint32']());}else _0x41421c['types']['push'](_0x1213dd['uint32']());break;case 0x5:_0x41421c['lastOperationId']=_0x1213dd['string']();break;default:_0x1213dd['skipType'](0x7&_0x2fc08f);}}return _0x41421c;},_0x356bfa['decodeDelimited']=function(_0x2922ea){return _0x2922ea instanceof _0x338c0e||(_0x2922ea=new _0x338c0e(_0x2922ea)),this['decode'](_0x2922ea,_0x2922ea['uint32']());},_0x356bfa['verify']=function(_0xe6f885){if('object'!=typeof _0xe6f885||null===_0xe6f885)return'object\x20expected';if(null!=_0xe6f885['id']&&_0xe6f885['hasOwnProperty']('id')&&!_0x55d06d['isString'](_0xe6f885['id']))return'id:\x20string\x20expected';if(null!=_0xe6f885['bundleVersion']&&_0xe6f885['hasOwnProperty']('bundleVersion')&&!_0x55d06d['isString'](_0xe6f885['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0xe6f885['buffers']&&_0xe6f885['hasOwnProperty']('buffers')){if(!Array['isArray'](_0xe6f885['buffers']))return'buffers:\x20array\x20expected';for(var _0x2441d1=0x0;_0x2441d1<_0xe6f885['buffers']['length'];++_0x2441d1)if(!(_0xe6f885['buffers'][_0x2441d1]&&'number'==typeof _0xe6f885['buffers'][_0x2441d1]['length']||_0x55d06d['isString'](_0xe6f885['buffers'][_0x2441d1])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0xe6f885['types']&&_0xe6f885['hasOwnProperty']('types')){if(!Array['isArray'](_0xe6f885['types']))return'types:\x20array\x20expected';for(_0x2441d1=0x0;_0x2441d1<_0xe6f885['types']['length'];++_0x2441d1)if(!_0x55d06d['isInteger'](_0xe6f885['types'][_0x2441d1]))return'types:\x20integer[]\x20expected';}return null!=_0xe6f885['lastOperationId']&&_0xe6f885['hasOwnProperty']('lastOperationId')&&!_0x55d06d['isString'](_0xe6f885['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x356bfa['fromObject']=function(_0x302812){if(_0x302812 instanceof _0x4a240c['CollaborativeEditingConnectMessage'])return _0x302812;var _0x2d01b6=new _0x4a240c['CollaborativeEditingConnectMessage']();if(null!=_0x302812['id']&&(_0x2d01b6['id']=String(_0x302812['id'])),null!=_0x302812['bundleVersion']&&(_0x2d01b6['bundleVersion']=String(_0x302812['bundleVersion'])),_0x302812['buffers']){if(!Array['isArray'](_0x302812['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x2d01b6['buffers']=[];for(var _0x35e9bf=0x0;_0x35e9bf<_0x302812['buffers']['length'];++_0x35e9bf)'string'==typeof _0x302812['buffers'][_0x35e9bf]?_0x55d06d['base64']['decode'](_0x302812['buffers'][_0x35e9bf],_0x2d01b6['buffers'][_0x35e9bf]=_0x55d06d['newBuffer'](_0x55d06d['base64']['length'](_0x302812['buffers'][_0x35e9bf])),0x0):_0x302812['buffers'][_0x35e9bf]['length']>=0x0&&(_0x2d01b6['buffers'][_0x35e9bf]=_0x302812['buffers'][_0x35e9bf]);}if(_0x302812['types']){if(!Array['isArray'](_0x302812['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x2d01b6['types']=[],_0x35e9bf=0x0;_0x35e9bf<_0x302812['types']['length'];++_0x35e9bf)_0x2d01b6['types'][_0x35e9bf]=_0x302812['types'][_0x35e9bf]>>>0x0;}return null!=_0x302812['lastOperationId']&&(_0x2d01b6['lastOperationId']=String(_0x302812['lastOperationId'])),_0x2d01b6;},_0x356bfa['toObject']=function(_0x212184,_0x53c514){_0x53c514||(_0x53c514={});var _0x480354={};if((_0x53c514['arrays']||_0x53c514['defaults'])&&(_0x480354['buffers']=[],_0x480354['types']=[]),_0x53c514['defaults']&&(_0x480354['id']='',_0x480354['bundleVersion']='',_0x480354['lastOperationId']=''),null!=_0x212184['id']&&_0x212184['hasOwnProperty']('id')&&(_0x480354['id']=_0x212184['id']),null!=_0x212184['bundleVersion']&&_0x212184['hasOwnProperty']('bundleVersion')&&(_0x480354['bundleVersion']=_0x212184['bundleVersion']),_0x212184['buffers']&&_0x212184['buffers']['length']){_0x480354['buffers']=[];for(var _0xce6146=0x0;_0xce6146<_0x212184['buffers']['length'];++_0xce6146)_0x480354['buffers'][_0xce6146]=_0x53c514['bytes']===String?_0x55d06d['base64']['encode'](_0x212184['buffers'][_0xce6146],0x0,_0x212184['buffers'][_0xce6146]['length']):_0x53c514['bytes']===Array?Array['prototype']['slice']['call'](_0x212184['buffers'][_0xce6146]):_0x212184['buffers'][_0xce6146];}if(_0x212184['types']&&_0x212184['types']['length']){for(_0x480354['types']=[],_0xce6146=0x0;_0xce6146<_0x212184['types']['length'];++_0xce6146)_0x480354['types'][_0xce6146]=_0x212184['types'][_0xce6146];}return null!=_0x212184['lastOperationId']&&_0x212184['hasOwnProperty']('lastOperationId')&&(_0x480354['lastOperationId']=_0x212184['lastOperationId']),_0x480354;},_0x356bfa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x356bfa['getTypeUrl']=function(_0x1416b2){return void 0x0===_0x1416b2&&(_0x1416b2='type.googleapis.com'),_0x1416b2+'/CollaborativeEditingConnectMessage';},_0x356bfa;}()),_0x4a240c['OperationMetadataDescriptor']=(function(){function _0x9e580e(_0x15f1d6){if(_0x15f1d6){for(var _0x2d2d0d=Object['keys'](_0x15f1d6),_0x15d253=0x0;_0x15d253<_0x2d2d0d['length'];++_0x15d253)null!=_0x15f1d6[_0x2d2d0d[_0x15d253]]&&(this[_0x2d2d0d[_0x15d253]]=_0x15f1d6[_0x2d2d0d[_0x15d253]]);}}return _0x9e580e['prototype']['userId']='',_0x9e580e['prototype']['type']='',_0x9e580e['prototype']['createdAt']='',_0x9e580e['create']=function(_0x7f8a2a){return new _0x9e580e(_0x7f8a2a);},_0x9e580e['encode']=function(_0x225bb2,_0x5b2614){return _0x5b2614||(_0x5b2614=_0x34769a['create']()),null!=_0x225bb2['userId']&&Object['hasOwnProperty']['call'](_0x225bb2,'userId')&&_0x5b2614['uint32'](0xa)['string'](_0x225bb2['userId']),null!=_0x225bb2['type']&&Object['hasOwnProperty']['call'](_0x225bb2,'type')&&_0x5b2614['uint32'](0x12)['string'](_0x225bb2['type']),null!=_0x225bb2['createdAt']&&Object['hasOwnProperty']['call'](_0x225bb2,'createdAt')&&_0x5b2614['uint32'](0x1a)['string'](_0x225bb2['createdAt']),_0x5b2614;},_0x9e580e['encodeDelimited']=function(_0x38d463,_0x4a938b){return this['encode'](_0x38d463,_0x4a938b)['ldelim']();},_0x9e580e['decode']=function(_0x3c551f,_0x233109,_0x34ae26){_0x3c551f instanceof _0x338c0e||(_0x3c551f=_0x338c0e['create'](_0x3c551f));for(var _0x565ebf=void 0x0===_0x233109?_0x3c551f['len']:_0x3c551f['pos']+_0x233109,_0x36224e=new _0x4a240c['OperationMetadataDescriptor']();_0x3c551f['pos']<_0x565ebf;){var _0x19c4f4=_0x3c551f['uint32']();if(_0x19c4f4===_0x34ae26)break;switch(_0x19c4f4>>>0x3){case 0x1:_0x36224e['userId']=_0x3c551f['string']();break;case 0x2:_0x36224e['type']=_0x3c551f['string']();break;case 0x3:_0x36224e['createdAt']=_0x3c551f['string']();break;default:_0x3c551f['skipType'](0x7&_0x19c4f4);}}return _0x36224e;},_0x9e580e['decodeDelimited']=function(_0xf57e6c){return _0xf57e6c instanceof _0x338c0e||(_0xf57e6c=new _0x338c0e(_0xf57e6c)),this['decode'](_0xf57e6c,_0xf57e6c['uint32']());},_0x9e580e['verify']=function(_0x193262){return'object'!=typeof _0x193262||null===_0x193262?'object\x20expected':null!=_0x193262['userId']&&_0x193262['hasOwnProperty']('userId')&&!_0x55d06d['isString'](_0x193262['userId'])?'userId:\x20string\x20expected':null!=_0x193262['type']&&_0x193262['hasOwnProperty']('type')&&!_0x55d06d['isString'](_0x193262['type'])?'type:\x20string\x20expected':null!=_0x193262['createdAt']&&_0x193262['hasOwnProperty']('createdAt')&&!_0x55d06d['isString'](_0x193262['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x9e580e['fromObject']=function(_0x510268){if(_0x510268 instanceof _0x4a240c['OperationMetadataDescriptor'])return _0x510268;var _0x274896=new _0x4a240c['OperationMetadataDescriptor']();return null!=_0x510268['userId']&&(_0x274896['userId']=String(_0x510268['userId'])),null!=_0x510268['type']&&(_0x274896['type']=String(_0x510268['type'])),null!=_0x510268['createdAt']&&(_0x274896['createdAt']=String(_0x510268['createdAt'])),_0x274896;},_0x9e580e['toObject']=function(_0x2f9338,_0x493baf){_0x493baf||(_0x493baf={});var _0x2d718d={};return _0x493baf['defaults']&&(_0x2d718d['userId']='',_0x2d718d['type']='',_0x2d718d['createdAt']=''),null!=_0x2f9338['userId']&&_0x2f9338['hasOwnProperty']('userId')&&(_0x2d718d['userId']=_0x2f9338['userId']),null!=_0x2f9338['type']&&_0x2f9338['hasOwnProperty']('type')&&(_0x2d718d['type']=_0x2f9338['type']),null!=_0x2f9338['createdAt']&&_0x2f9338['hasOwnProperty']('createdAt')&&(_0x2d718d['createdAt']=_0x2f9338['createdAt']),_0x2d718d;},_0x9e580e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x9e580e['getTypeUrl']=function(_0x4151f8){return void 0x0===_0x4151f8&&(_0x4151f8='type.googleapis.com'),_0x4151f8+'/OperationMetadataDescriptor';},_0x9e580e;}()),_0x4a240c;})());class MessagesCompressor{static['decode'](_0x5d533c,_0x44f2cc){const _0x5db6e9=rb(_0x44f2cc)['decode']('undefined'==typeof window?_0x5d533c:new Uint8Array(_0x5d533c));return _0x44f2cc['fromJSON']({..._0x5db6e9});}static['encode'](_0x3e1595){const _0x2b6e1d=rb(_0x3e1595['constructor']),_0x5d14c8=_0x3e1595['toJSON'](),_0x23e1f1=_0x2b6e1d['verify'](_0x5d14c8);if(_0x23e1f1)throw Error(_0x23e1f1);return _0x2b6e1d['encode'](_0x2b6e1d['create'](_0x5d14c8))['finish']();}}function rb(_0x616c5b){return nb[_0x616c5b['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(_0xe9a66a){super(),this['ids']=_0xe9a66a;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x1d12fe){return new GetManyUsersMessage(_0x1d12fe['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x3a5c8c){super(),this['users']=_0x3a5c8c;}['toJSON'](){return{'users':this['users']['map'](ob)};}static['fromJSON'](_0x6fd5e1){return new GetManyUsersResponse(_0x6fd5e1['users']['map'](ab));}}function ob(_0x2be610){return{'attributes':Object['keys'](_0x2be610)['map'](_0x3731c9=>({'key':_0x3731c9,'value':JSON['stringify'](_0x2be610[_0x3731c9])}))};}function ab(_0x1d1bf5){return _0x1d1bf5['attributes']['reduce']((_0x31fa9f,_0x58dc6c)=>(_0x31fa9f[_0x58dc6c['key']]=_0x58dc6c['value']?JSON['parse'](_0x58dc6c['value']):null,_0x31fa9f),{});}class User{static ['_SERVICE']=0x2;constructor(_0x26bf77={}){this['_attributes']=new Map();for(const _0x288544 of Object['keys'](_0x26bf77))'id'!==_0x288544?(this['_attributes']['set'](_0x288544,_0x26bf77[_0x288544]),Object['defineProperty'](this,_0x288544,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x288544)})):this['id']=_0x26bf77['id'];}static['fromData'](_0x4f67dc){return new User(_0x4f67dc);}static async['get'](_0x3bec7e,_0x3ca53f){const _0x1aa1ce=new GetUserMessage(_0x3ca53f);try{const _0x585d69=await _0x3bec7e['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x1aa1ce)),_0x33b0dd=MessagesCompressor['decode'](_0x585d69,GetUserResponse);return new User(_0x33b0dd['attributes']);}catch(_0x228c2a){return new User({'id':_0x3ca53f});}}static async['getMany'](_0x55a0d5,_0x131220){const _0x2bbd0f=new GetManyUsersMessage(_0x131220);try{const _0x146787=await _0x55a0d5['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x2bbd0f));return MessagesCompressor['decode'](_0x146787,GetManyUsersResponse)['users']['map'](_0x49a186=>new User(_0x49a186));}catch(_0x365c5f){return _0x131220['map'](_0x2ff2bb=>new User({'id':_0x2ff2bb}));}}}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(_0x383683,_0x58f3b3,_0x1bab49){super(),this['type']=_0x383683,this['socketId']=_0x58f3b3,this['data']=_0x1bab49;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x2141fa){return new ChannelMessage(_0x2141fa['type'],_0x2141fa['socketId'],_0x2141fa['data']);}}class Channel extends/* #__PURE__ -- @preserve */
_0xf8084e(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x1ad8b5,_0x1fd142,_0x487093){super(),this['_channelName']=_0x1ad8b5,this['_wsGateway']=_0x1fd142,this['_socket']=_0x487093,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x4476ff,_0x4f95a4=!0x1){let _0x579599='';return _0x4f95a4&&(_0x579599+='all:'),_0x579599+='event',_0x4476ff&&(_0x579599+=':'+_0x4476ff),_0x579599;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x1660b1=>{const _0x36b76e=MessagesCompressor['decode'](_0x1660b1,ChannelMessage);this['fire'](this['getEventName'](_0x36b76e['type'],!0x0),_0x36b76e['data'],_0x36b76e['socketId']),_0x36b76e['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x36b76e['type']),_0x36b76e['data'],_0x36b76e['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x155f60,_0x34d080,_0x4a6ce2=null,_0xc66682={}){super('cloud-services-internal-error:\x20'+_0x155f60),this['context']=_0x34d080,this['code']=_0x4a6ce2,this['data']=_0xc66682,this['name']='CKEditorError';}static['fromPublicError'](_0x4289b4){return new CKEditorCloudServicesError(function(_0x59cb04){let _0x2f2274='cloud-services-error:\x20'+_0x59cb04['message'];return _0x59cb04['data']&&(_0x2f2274+='\x0aError\x20data:\x20'+JSON['stringify'](_0x59cb04['data'])),_0x59cb04['explanation']&&(_0x2f2274+='\x0aExplanation:\x20'+_0x59cb04['explanation']),_0x59cb04['action']&&(_0x2f2274+='\x0aAction:\x20'+_0x59cb04['action']),_0x59cb04['traceId']&&(_0x2f2274+='\x0aTraceId:\x20'+_0x59cb04['traceId']),_0x59cb04['code']&&(_0x2f2274+='\x0aCode:\x20'+_0x59cb04['code']),_0x2f2274;}(_0x4289b4),_0x4289b4);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0xa6c18b,_0xcf5c32){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0xa6c18b,this['code']=_0xcf5c32['code'],this['traceId']=_0xcf5c32['traceId'],this['data']=_0xcf5c32['data'];}static['fromPublicError'](_0x384b17){return new CKEditorCloudServicesServerError(function(_0x45e7e0){let _0x1fc832='cloud-services-server-error:\x20'+_0x45e7e0['message'];return _0x45e7e0['explanation']&&(_0x1fc832+='\x0aExplanation:\x20'+_0x45e7e0['explanation']),_0x45e7e0['action']&&(_0x1fc832+='\x0aAction:\x20'+_0x45e7e0['action']),_0x45e7e0['traceId']&&(_0x1fc832+='\x0aTraceId:\x20'+_0x45e7e0['traceId']),_0x45e7e0['code']&&(_0x1fc832+='\x0aCode:\x20'+_0x45e7e0['code']),_0x1fc832;}(_0x384b17),_0x384b17);}}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(_0x7250dc,_0x456ffb=[],_0x39fa02=[]){super(),this['flags']=_0x7250dc,this['rooms']=_0x456ffb,this['except']=_0x39fa02;}['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'](_0x4c53a2){return new PacketOptionsMessage(_0x4c53a2['flags']&&JSON['parse'](_0x4c53a2['flags']),_0x4c53a2['rooms'],_0x4c53a2['except']);}}const cb=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x5477a3){let _0x595fd9=0x0;for(let _0x489d0e=0x0;_0x489d0e<_0x5477a3['length'];_0x489d0e++)_0x595fd9+=_0x5477a3[_0x489d0e]*Math['pow'](0xa,_0x5477a3['length']-_0x489d0e-0x1);return _0x595fd9;}static['getType'](_0x539da5){if(ParserUtils['isBuffer'](_0x539da5))return 0x1;const _0xe2ea7=typeof _0x539da5;return'string'===_0xe2ea7?0x2:'number'===_0xe2ea7?0x3:0x4;}static['isBuffer'](_0x44c110){return cb&&Buffer['isBuffer'](_0x44c110)||_0x44c110 instanceof ArrayBuffer||_0x44c110 instanceof Uint8Array||this['_isBufferView'](_0x44c110);}static['_isBufferView'](_0x1e0988){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x1e0988):_0x1e0988['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{['data'];['data1'];static['create'](_0x4fc9ad,_0x49e594){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(_0x3da4c0,_0x5971a1){super(),this['data']=_0x3da4c0,this['data1']=_0x5971a1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x29a33c){return new NumberBytesPacketDataMessage(_0x29a33c['data'],_0x29a33c['data1']);}static['create'](_0x15f4ab,_0x2637fa){return new NumberBytesPacketDataMessage(_0x15f4ab,_0x2637fa);}}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(_0x473b16,_0x1b798b){super(),this['data']=_0x473b16,this['data1']=_0x1b798b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x6b7aca){return new StringBytesPacketDataMessage(_0x6b7aca['data'],_0x6b7aca['data1']);}static['create'](_0x5138b0,_0x327501){return new StringBytesPacketDataMessage(_0x5138b0,_0x327501);}}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(_0x3c7d23,_0x152c9f){super(),this['data']=_0x3c7d23,this['data1']=_0x152c9f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x202281){return new BytesBytesPacketDataMessage(_0x202281['data'],_0x202281['data1']);}static['create'](_0x498e53,_0x3d5fd7){return new BytesBytesPacketDataMessage(_0x498e53,_0x3d5fd7);}}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(_0x335ac6,_0x2657fb){super(),this['data']=_0x335ac6,this['data1']=_0x2657fb;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x38507f){return new StringObjectPacketDataMessage(_0x38507f['data'],_0x38507f['data1']&&JSON['parse'](_0x38507f['data1']));}static['create'](_0x34d8a8,_0x1f1cce){return new StringObjectPacketDataMessage(_0x34d8a8,_0x1f1cce);}}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(_0x421657,_0x3dbf20){super(),this['data']=_0x421657,this['data1']=_0x3dbf20;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x5c79e7){return new NumberObjectPacketDataMessage(_0x5c79e7['data'],_0x5c79e7['data1']&&JSON['parse'](_0x5c79e7['data1']));}static['create'](_0x27e10c,_0x282bd9){return new NumberObjectPacketDataMessage(_0x27e10c,_0x282bd9);}}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(_0x12cc69,_0x5cc3cf){super(),this['data']=_0x12cc69,this['data1']=_0x5cc3cf;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x3384b7){return new ObjectObjectPacketDataMessage(_0x3384b7['data']&&JSON['parse'](_0x3384b7['data']),_0x3384b7['data1']&&JSON['parse'](_0x3384b7['data1']));}static['create'](_0x227312,_0x48afda){return new ObjectObjectPacketDataMessage(_0x227312,_0x48afda);}}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(_0xd1a1e2,_0x46009d){super(),this['data']=_0xd1a1e2,this['data1']=_0x46009d;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x50ca3b){return new ObjectBufferPacketDataMessage(_0x50ca3b['data']&&JSON['parse'](_0x50ca3b['data']),_0x50ca3b['data1']);}static['create'](_0x4c001d,_0x58b97f){return new ObjectBufferPacketDataMessage(_0x4c001d,_0x58b97f);}}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(_0x86b292,_0x2da803){super(),this['data']=_0x86b292,this['data1']=_0x2da803;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x505e81){return new StringStringPacketDataMessage(_0x505e81['data'],_0x505e81['data1']);}static['create'](_0xc305b9,_0xcd8d77){return new StringStringPacketDataMessage(_0xc305b9,_0xcd8d77);}}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(_0x4a0ffc,_0x2bad34){super(),this['data']=_0x4a0ffc,this['data1']=_0x2bad34;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x73b273){return new StringNumberPacketDataMessage(_0x73b273['data'],_0x73b273['data1']);}static['create'](_0xe8699,_0x15c4c5){return new StringNumberPacketDataMessage(_0xe8699,_0x15c4c5);}}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(_0x5c21b8,_0x55569e){super(),this['data']=_0x5c21b8,this['data1']=_0x55569e;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2f35c2){return new NumberNumberPacketDataMessage(_0x2f35c2['data'],_0x2f35c2['data1']);}static['create'](_0x2df22c,_0x1c41a5){return new NumberNumberPacketDataMessage(_0x2df22c,_0x1c41a5);}}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(_0x3c6288,_0x3b8844){super(),this['data']=_0x3c6288,this['data1']=_0x3b8844;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x190939){return new NumberStringPacketDataMessage(_0x190939['data'],_0x190939['data1']);}static['create'](_0x1b312e,_0x14d203){return new NumberStringPacketDataMessage(_0x1b312e,_0x14d203);}}const lb=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x23830d,_0x5c8c18)=>(_0x23830d[_0x5c8c18['TYPE']]=_0x5c8c18,_0x23830d),{}))());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(_0x536967,_0x2445a9,_0x47f9de,_0x494773='/',_0x168480){super(),this['type']=_0x536967,this['data']=_0x2445a9,this['id']=_0x47f9de,this['nsp']=_0x494773,this['options']=_0x168480??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 _0x32d554=MessagesCompressor['encode'](this['options']),_0x316ea4=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x316ea4,'options':_0x32d554};}static['fromJSON'](_0x5c41a1){const _0x3bbd55=Math['floor'](_0x5c41a1['type']/0xa);return new PacketMessage(_0x5c41a1['type']-0xa*_0x3bbd55,MessagesCompressor['decode'](_0x5c41a1['data'],lb[_0x3bbd55]),_0x5c41a1['id'],_0x5c41a1['nsp'],_0x5c41a1['options']?MessagesCompressor['decode'](_0x5c41a1['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x389ea3,_0xbcbc76={}){const _0x2d183e=ParserUtils['getPacketType'](ParserUtils['getType'](_0x389ea3['data'][0x0]),ParserUtils['getType'](_0x389ea3['data'][0x1]??_0x389ea3['data'][0x0]));return new PacketMessage(_0x389ea3['type'],lb[_0x2d183e]['create'](_0x389ea3['data'][0x0],_0x389ea3['data'][0x1]),_0x389ea3['id'],_0x389ea3['nsp'],new PacketOptionsMessage(_0xbcbc76['flags'],_0xbcbc76['rooms'],_0xbcbc76['except']));}}class PacketParser{['encode'](_0x218fc7,_0x3777b8,_0x367052,_0x5d8a37='/',_0x42dd59={}){if(_0x3777b8['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x3ade8e={'type':_0x218fc7,'data':_0x3777b8,'id':_0x367052,'nsp':_0x5d8a37};return MessagesCompressor['encode'](PacketMessage['create'](_0x3ade8e,_0x42dd59));}['decode'](_0x2603ba){const _0xc51378=MessagesCompressor['decode'](_0x2603ba,PacketMessage);return{'packet':{'id':_0xc51378['id'],'type':_0xc51378['type'],'data':_0xc51378['packetData'],'nsp':_0xc51378['nsp']},'options':{'flags':_0xc51378['options']['flags'],'rooms':_0xc51378['options']['rooms'],'except':_0xc51378['options']['except']}};}}const hb=/* #__PURE__ -- @preserve */
((()=>[Qw['EVENT'],Qw['ACK'],Qw['BINARY_ACK'],Qw['BINARY_EVENT']])());class Encoder extends $w{['_packetParser'];constructor(_0x138699){super(),this['_packetParser']=_0x138699??new PacketParser();}['encode'](_0x1c732b){if(hb['includes'](_0x1c732b['type']))try{return[this['_packetParser']['encode'](_0x1c732b['type'],_0x1c732b['data'],_0x1c732b['id'],_0x1c732b['nsp'])];}catch(_0x3da98f){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x3da98f['message']}});}return super['encode'](_0x1c732b);}}class Decoder extends Vw{['_packetParser'];constructor(_0x2aaedf){super(),this['_packetParser']=_0x2aaedf??new PacketParser();}['add'](_0x28b364){if(!ParserUtils['isBuffer'](_0x28b364))return super['add'](_0x28b364);let _0x4c6c47;try{_0x4c6c47=this['_packetParser']['decode'](_0x28b364)['packet'];}catch(_0x351e9f){return super['add'](_0x28b364);}super['emitReserved']('decoded',_0x4c6c47);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
ub();['timeout'];constructor(_0xf016b3,_0xc05f11){this['_context']=_0xf016b3,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0xc05f11);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x48329e){this['_deferredPromise']['resolve'](_0x48329e);}['error'](_0x4be22c){this['_deferredPromise']['reject'](_0x4be22c);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x1b2b0c){this['_context']=_0x1b2b0c;}async['send'](_0x49545a,_0x325423=0xafc8){const _0x42e1b2=this['_createRequest'](_0x325423);try{return _0x49545a(_0x42e1b2),await _0x42e1b2['promise'];}finally{this['_finishRequest'](_0x42e1b2);}}['errorAll'](_0x4208ce){for(const _0x86d644 of this['_requests'])_0x86d644['error'](_0x4208ce);}['waitForAllRequests'](_0x1eb0ba=0xafc8){return this['_waitForRequests'](_0x1eb0ba);}['_createRequest'](_0x4afbbb){const _0xfa6c62=new WebSocketRequest(this['_context'],_0x4afbbb);return this['_requests']['add'](_0xfa6c62),_0xfa6c62;}['_finishRequest'](_0x45fd72){this['_requests']['delete'](_0x45fd72),clearTimeout(_0x45fd72['timeout']);}async['_waitForRequests'](_0x2884f5=0x1388,_0x14db9c=0x0){return!this['_requests']['size']||_0x14db9c>=_0x2884f5/0x1f4?Promise['resolve']():(await new Promise(_0x124ce4=>{setTimeout(_0x124ce4,0x1f4);}),this['_waitForRequests'](_0x2884f5,_0x14db9c++));}}function ub(){let _0x46c44d,_0x4b6574;const _0x4000ea=new Promise((_0x1972ff,_0x5ab32e)=>{_0x46c44d=_0x1972ff,_0x4b6574=_0x5ab32e;});return{'resolve':_0x46c44d,'reject':_0x4b6574,'promise':_0x4000ea};}const db='disconnected',fb='connecting',mb='connected';let gb=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x487f8a(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>db)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>fb)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>mb)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0x1a48f1['get']('highest')+0xf423f)());constructor(_0x2e3d51,_0x476972,_0x5a64fe,_0x4c4cbc,_0x373e19){if(super(),this['_token']=_0x476972,this['_options']=_0x5a64fe??{},this['_connectionProvider']=_0x4c4cbc??Xw,this['_userFactory']=_0x373e19??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x2e3d51)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(_0x2e3d51['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',db),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x2ef2d9,_0x61296f,_0xfa084f)=>{if(this['_debugEvent']('ws-gw:change:state',_0xfa084f),_0xfa084f!==WebSocketGateway['STATE_CONNECTED']){if(_0xfa084f===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(_0x4bbbdb){}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x313149,_0xd6bad7)=>{this['_options']['onError']?this['_options']['onError'](_0xd6bad7):console['error'](_0xd6bad7);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x18d934){return this['_requestsManager']['waitForAllRequests'](_0x18d934);}['disconnect'](){this['state']!==db&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=db);}async['reconnect'](){this['_socket']||this['state']!==db||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x904d45,_0x4d3330='local.cs.dev:443/ws-v2',_0x496758={},_0x1f1c7d=Xw,_0x45c745=User['get']){const _0x2fd663=new WebSocketGateway(_0x4d3330,_0x904d45,_0x496758,_0x1f1c7d,_0x45c745);return await _0x2fd663['_connect'](),_0x2fd663;}['_sendRequest'](_0x2790ef,_0x3abcff,_0x10446d){if(!_0x2790ef)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 _0x4f83ca=new ArrayBuffer(_0x10446d['length']+0x2),_0x54aa59=new Uint8Array(_0x4f83ca);return _0x54aa59[0x0]=_0x2790ef,_0x54aa59[0x1]=parseInt(_0x3abcff),_0x54aa59['set'](_0x10446d,0x2),this['_emit'](0x1,_0x54aa59);}['_getChannel'](_0x1c0d88,_0x42bce3){const _0x5f14cd=''+_0x1c0d88+_0x42bce3;return!this['_channels']['has'](_0x5f14cd)&&this['_socket']&&this['_channels']['set'](_0x5f14cd,new Channel(_0x5f14cd,this,this['_socket'])),this['_channels']['get'](_0x5f14cd);}['_connect'](){return new Promise((_0x23c260,_0x59f2c1)=>{const _0x4de9b2=this['_setupSocket']();!this['socketId']&&_0x4de9b2['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x59f2c1);}),_0x4de9b2['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x23c260();}catch(_0x7c975c){_0x59f2c1(_0x7c975c);}}),_0x4de9b2['connect']();});}['_getPortByProtocol'](_0xbdb862){return['http:','ws:']['includes'](_0xbdb862)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x2edca4=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x1f95c9=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x2edca4,_0x44eb6d=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0xe55aaa=this['_connectionProvider'](_0x1f95c9,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':_0x44eb6d+'/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']=fb,_0xe55aaa['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0xe55aaa['id'];}),_0xe55aaa['on']('connect_error',_0x31f620=>{this['_debugEvent']('connect_error',_0x31f620);}),_0xe55aaa['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0xe55aaa['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0xe55aaa['io']['on']('reconnect_attempt',_0x236030=>{this['_debugEvent']('reconnect_attempt',_0x236030),this['state']=fb,this['_connectionAttempt']=_0x236030;}),_0xe55aaa['on']('unauthorized',_0x1053a0=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x1053a0);}),_0xe55aaa['on']('authenticationRequest',async _0x9e2350=>{this['_debugEvent']('authenticationRequest',_0x9e2350['attempt']),await this['_onReconnect']();}),this['_socket']=_0xe55aaa,_0xe55aaa;}['_emit'](_0x575d51,_0x2894f9){const _0x37680b=this['_socket'];return this['_requestsManager']['send'](_0x3a61b2=>{_0x37680b['emit'](_0x575d51,_0x2894f9,(_0x1f7a25,_0x2abbd4)=>{if(_0x1f7a25)return _0x3a61b2['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x1f7a25));_0x3a61b2['response'](_0x2abbd4);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x418b08,_0x1782d9){this['_socketAuth']={'environmentId':_0x418b08,'userId':_0x1782d9,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=mb;const _0x316059=async(_0x273430,_0x1b678d,_0x397ac2)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x397ac2);}catch(_0x4c5a8f){}};this['_token']['on']('change:value',_0x316059),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x316059);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=db,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x109193 of this['_channels']['values']())_0x109193['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x58c898,_0x5ced53){if(!this['_isDebugModeEnabled']())return;const _0x577f8a=void 0x0!==_0x5ced53?',\x20data:\x20'+_0x5ced53:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x58c898+_0x577f8a);}['_reconnectionAttemptError'](_0xf130f5){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0xf130f5(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:_0x5608f2}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x5608f2));}async['_authenticate'](_0x192d28){try{this['_debugEvent']('authenticate:start');const _0x26612a=await this['_emit'](0x2,{'token':_0x192d28});this['_debugEvent']('authenticate:success','envId:\x20'+_0x26612a['environmentId']+',\x20userId:\x20'+_0x26612a['userId']),this['_addAuthData'](_0x26612a['environmentId'],_0x26612a['userId']);}catch(_0x205662){throw this['_debugEvent']('authenticate:error',_0x205662['message']),this['_removeAuthData'](),_0x205662;}}['_isDebugModeEnabled'](){return!!_0x17b04c['window']['localStorage']&&'true'===(_0x17b04c['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(_0x1da4c8){super(),this['bundleVersion']=_0x1da4c8;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x4251dc){return new IsEditorBundleUploadedMessage(_0x4251dc['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0xf95cc6){super(),this['isUploaded']=_0xf95cc6;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x171c29){return new IsEditorBundleUploadedResponse(_0x171c29['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0xf8084e(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x11362b,_0x50df37){const _0x50a752=new IsEditorBundleUploadedMessage(_0x50df37);if(_0x11362b['state']!==mb)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x11362b);const _0x2e4fd0=await _0x11362b['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x50a752));return MessagesCompressor['decode'](_0x2e4fd0,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(_0x5d49d9,_0x1d6110){super(),this['documentId']=_0x5d49d9,this['revisionId']=_0x1d6110;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x5236e3){return new RevisionHistoryGetRevisionMessage(_0x5236e3['documentId'],_0x5236e3['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'](_0x3ac72e){return{'revisionId':_0x3ac72e['id'],'name':_0x3ac72e['name'],'creatorId':_0x3ac72e['creatorId'],'createdAt':_0x3ac72e['createdAt'],'fromVersion':_0x3ac72e['fromVersion'],'toVersion':_0x3ac72e['toVersion'],'isEmptyCurrent':_0x3ac72e['isEmptyCurrent'],'diffData':_0x3ac72e['diffData']?JSON['stringify'](_0x3ac72e['diffData']):void 0x0,'attributes':_0x3ac72e['attributes'],'authorsIds':_0x3ac72e['authorsIds']};}static['toJSON'](_0x100a03){return{'revisionId':_0x100a03['revisionId'],'name':_0x100a03['name'],'creatorId':_0x100a03['creatorId'],'authorsIds':_0x100a03['authorsIds']?JSON['stringify'](_0x100a03['authorsIds']):void 0x0,'diffData':_0x100a03['diffData'],'createdAt':_0x100a03['createdAt']?.['toISOString'](),'attributes':_0x100a03['attributes']?JSON['stringify'](_0x100a03['attributes']):void 0x0,'toVersion':_0x100a03['toVersion'],'fromVersion':_0x100a03['fromVersion'],'isEmptyCurrent':_0x100a03['isEmptyCurrent']};}static['fromJSON'](_0x4b53b1){return{'revisionId':(_0x4b53b1={..._0x4b53b1})['revisionId'],'name':_0x4b53b1['name'],'creatorId':_0x4b53b1['creatorId'],'authorsIds':_0x4b53b1['authorsIds']?JSON['parse'](_0x4b53b1['authorsIds']):void 0x0,'diffData':_0x4b53b1['diffData'],'createdAt':_0x4b53b1['createdAt']?new Date(_0x4b53b1['createdAt']):void 0x0,'attributes':_0x4b53b1['attributes']?JSON['parse'](_0x4b53b1['attributes']):void 0x0,'toVersion':_0x4b53b1['toVersion'],'fromVersion':_0x4b53b1['fromVersion'],'isEmptyCurrent':_0x4b53b1['isEmptyCurrent']};}static['toObject'](_0x199f34){return function(_0x5be26e){for(const [_0x2a7274,_0x56ae02]of Object['entries'](_0x5be26e))void 0x0===_0x56ae02&&delete _0x5be26e[_0x2a7274];return _0x5be26e;}({'id':_0x199f34['revisionId'],'name':_0x199f34['name'],'creatorId':_0x199f34['creatorId'],'createdAt':_0x199f34['createdAt'],'fromVersion':_0x199f34['fromVersion'],'toVersion':_0x199f34['toVersion'],'isEmptyCurrent':_0x199f34['isEmptyCurrent'],'diffData':_0x199f34['diffData']?JSON['parse'](_0x199f34['diffData']):void 0x0,'attributes':_0x199f34['attributes'],'authorsIds':_0x199f34['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(_0x2f52e3,_0x34133a,_0x1ee895,_0x4094a7,_0x392f87,_0x1acbdc,_0x47c1af,_0x476f92,_0x427669,_0x29e865){super(),this['revisionId']=_0x2f52e3,this['name']=_0x34133a,this['creatorId']=_0x1ee895,this['authorsIds']=_0x4094a7,this['createdAt']=_0x392f87,this['diffData']=_0x1acbdc,this['attributes']=_0x47c1af,this['fromVersion']=_0x476f92,this['toVersion']=_0x427669,this['isEmptyCurrent']=_0x29e865;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x1bf69b){return new RevisionHistoryGetRevisionResponse(_0x1bf69b['revisionId'],_0x1bf69b['name'],_0x1bf69b['creatorId'],_0x1bf69b['authorsIds'],_0x1bf69b['createdAt'],_0x1bf69b['diffData'],_0x1bf69b['attributes'],_0x1bf69b['fromVersion'],_0x1bf69b['toVersion'],_0x1bf69b['isEmptyCurrent']);}static['fromJSON'](_0x37e1e1){return new RevisionHistoryGetRevisionResponse(_0x37e1e1['revisionId'],_0x37e1e1['name'],_0x37e1e1['creatorId'],_0x37e1e1['authorsIds']?JSON['parse'](_0x37e1e1['authorsIds']):void 0x0,_0x37e1e1['createdAt']?new Date(_0x37e1e1['createdAt']):void 0x0,_0x37e1e1['diffData'],_0x37e1e1['attributes']?JSON['parse'](_0x37e1e1['attributes']):void 0x0,_0x37e1e1['fromVersion'],_0x37e1e1['toVersion'],_0x37e1e1['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(_0x42ccb1,_0x4e84a6,_0xa9796b){super(),this['documentId']=_0x42ccb1,this['requestId']=_0x4e84a6,this['revisions']=_0xa9796b;}['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'](_0x55a356){return new RevisionHistoryUpdateRevisionsMessage(_0x55a356['documentId'],_0x55a356['requestId'],_0x55a356['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0xe4b201){return new RevisionHistoryUpdateRevisionsMessage(_0xe4b201['documentId'],_0xe4b201['requestId'],_0xe4b201['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x260766){super(),this['requestId']=_0x260766;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x3483a7){return new RevisionHistoryUpdateRevisionsResponse(_0x3483a7['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(_0x13bb0c){super(),this['documentId']=_0x13bb0c;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2bd3b3){return new RevisionHistoryConnectMessage(_0x2bd3b3['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(_0x59ebb0,_0xca615e,_0x20ef5f){super(),this['channel']=_0x59ebb0,this['requestId']=_0xca615e,this['revisions']=_0x20ef5f;}['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'](_0x5754f2){return new RevisionHistoryConnectResponse(_0x5754f2['channel'],_0x5754f2['requestId'],_0x5754f2['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(_0x34f409,_0xcabd99){super(),this['documentId']=_0x34f409,this['requestId']=_0xcabd99;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x5c98c2){return new RevisionHistoryReconnectMessage(_0x5c98c2['documentId'],_0x5c98c2['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x2e9e29,_0x1ffd2c){super(_0x2e9e29+'\x20Service\x20is\x20not\x20connected.',_0x1ffd2c);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0xf8084e(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x24127f){super(),this['_documentId']=_0x24127f;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x3592f3){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x3592f3,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'](_0x1146c6,_0x54b70e){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x1146c6);return this['_connect'](_0x1146c6,new RevisionHistoryReconnectMessage(this['_documentId'],_0x54b70e));}async['updateRevisions'](_0x5a9e82,_0xe440f3){const _0x1c7a01=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0xe440f3,'revisions':_0x5a9e82}),_0x3434ba=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x1c7a01),{requestId:_0x1251bd}=MessagesCompressor['decode'](_0x3434ba,RevisionHistoryUpdateRevisionsResponse);return _0x1251bd;}async['getRevision'](_0x2aadac){const _0x146fa6=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x2aadac),_0x3bfe34=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x146fa6);return MessagesCompressor['decode'](_0x3bfe34,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x29c905,_0x3bb777){if(_0x29c905['state']!==mb)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x29c905);this['_wsGateway']=_0x29c905,this['stopListening'](_0x29c905,'change:state');const _0x31d8db=await _0x29c905['_sendRequest'](0xc,_0x3bb777['constructor']['TYPE'],MessagesCompressor['encode'](_0x3bb777)),{channel:_0x2499c1,requestId:_0x4ddb0d,revisions:_0x45ea99}=MessagesCompressor['decode'](_0x31d8db,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x29c905,'change:state',(_0x10b041,_0xf82728,_0x256690)=>this['_onWsGatewayStateChange'](_0x256690),{'priority':gb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x29c905,_0x2499c1),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x45ea99,'requestId':_0x4ddb0d};}['_connectToChannel'](_0x40e1c0,_0x6d8615){this['_channel']=_0x40e1c0['_getChannel'](RevisionHistoryService['_SERVICE'],_0x6d8615),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x26e645,_0x366836)=>{const {documentId:_0x1d587a,requestId:_0x3b9bdb,revisions:_0x11612c}=MessagesCompressor['decode'](_0x366836,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x1d587a,'requestId':_0x3b9bdb,'revisionsData':_0x11612c});});}['_onWsGatewayStateChange'](_0x5302b2){_0x5302b2===db&&this['disconnect']();}['_sendRequest'](_0x30d57a,_0x1cdcad){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x30d57a,MessagesCompressor['encode'](_0x1cdcad));}}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(_0x45e52b,_0x39d46b,_0x577edd,_0x45219d={},_0x4f55bc=null,_0x4ab260=null){super(),this['id']=_0x45e52b,this['documentId']=_0x39d46b,this['type']=_0x577edd,this['data']=_0x45219d,this['originalSuggestionId']=_0x4f55bc,this['attributes']=_0x4ab260;}['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'](_0xe975a0){return new AddSuggestionMessage(_0xe975a0['id'],_0xe975a0['documentId'],_0xe975a0['type'],JSON['parse'](_0xe975a0['data']),_0xe975a0['originalSuggestionId']??null,_0xe975a0['attributes']?JSON['parse'](_0xe975a0['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(_0x1b0cee,_0x4c27cc,_0x3f4698,_0x202603,_0x5e28a7,_0x1b4e19,_0x54f88a={},_0x5bb6f6=null){super(),this['id']=_0x1b0cee,this['authorId']=_0x4c27cc,this['type']=_0x3f4698,this['hasComments']=_0x5e28a7,this['state']=_0x1b4e19,this['data']=_0x54f88a,this['attributes']=_0x5bb6f6,this['createdAt']=_0x202603?new Date(_0x202603):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'](_0x383b10){return new AddSuggestionResponse(_0x383b10['id'],_0x383b10['authorId'],_0x383b10['type'],_0x383b10['createdAt'],_0x383b10['hasComments'],_0x383b10['state'],JSON['parse'](_0x383b10['data']),_0x383b10['attributes']?JSON['parse'](_0x383b10['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(_0x22ee4b,_0x1f3775){super(),this['id']=_0x22ee4b,this['documentId']=_0x1f3775;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x37c658){return new GetSuggestionMessage(_0x37c658['id'],_0x37c658['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(_0x424ecf,_0x5eec1a,_0xffcb38,_0x18e6d2,_0x4faf70,_0x2b044d,_0xb6da03={},_0x3ce10d=null){super(),this['id']=_0x424ecf,this['authorId']=_0x5eec1a,this['type']=_0xffcb38,this['hasComments']=_0x4faf70,this['state']=_0x2b044d,this['data']=_0xb6da03,this['attributes']=_0x3ce10d,this['createdAt']=new Date(_0x18e6d2);}['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'](_0x2a58c8){return new GetSuggestionResponse(_0x2a58c8['id'],_0x2a58c8['authorId'],_0x2a58c8['type'],_0x2a58c8['createdAt'],_0x2a58c8['hasComments'],_0x2a58c8['state'],JSON['parse'](_0x2a58c8['data']),_0x2a58c8['attributes']?JSON['parse'](_0x2a58c8['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(_0x164b49){super(),this['documentId']=_0x164b49;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2a2a11){return new GetAllSuggestionsMessage(_0x2a2a11['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'](_0x4bafc1){return{..._0x4bafc1,'data':_0x4bafc1['data']?JSON['stringify'](_0x4bafc1['data']):_0x4bafc1['data'],'attributes':_0x4bafc1['attributes']?JSON['stringify'](_0x4bafc1['attributes']):_0x4bafc1['attributes'],'createdAt':_0x4bafc1['createdAt']?.['toISOString']()};}static['fromJSON'](_0x5beffd){return{..._0x5beffd,'data':_0x5beffd['data']?JSON['parse'](_0x5beffd['data']):_0x5beffd['data'],'attributes':_0x5beffd['attributes']?JSON['parse'](_0x5beffd['attributes']):_0x5beffd['attributes'],'createdAt':_0x5beffd['createdAt']?new Date(_0x5beffd['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(_0x1433a2,_0x4ebc45){super(),this['_suggestions']=_0x1433a2,this['_suggestionsV2']=_0x4ebc45,this['suggestions']=_0x4ebc45?.['length']?_0x4ebc45:_0x1433a2;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x527f5f=>JSON['stringify'](_0x527f5f)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x4b4da8){return new GetAllSuggestionResponse(_0x4b4da8['suggestions']?.['map'](pb),_0x4b4da8['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function pb(_0x384ad0){const _0x189fb1=JSON['parse'](_0x384ad0);return _0x189fb1['createdAt']=_0x189fb1['createdAt']?new Date(_0x189fb1['createdAt']):void 0x0,_0x189fb1;}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(_0x264146,_0x53260d,_0x372188,_0x4ad0a8,_0x557926,_0x24433d=null){super(),this['id']=_0x264146,this['documentId']=_0x53260d,this['hasComments']=_0x372188,this['isHasCommentsModified']=_0x4ad0a8,this['state']=_0x557926,this['attributes']=_0x24433d;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x23a0de){return new UpdateSuggestionMessage(_0x23a0de['id'],_0x23a0de['documentId'],_0x23a0de['hasComments'],_0x23a0de['isHasCommentsModified'],_0x23a0de['state'],_0x23a0de['attributes']?JSON['parse'](_0x23a0de['attributes']):null);}}let Ob=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(_0x368a06){super(),this['documentId']=_0x368a06;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2ff7fa){return new ConnectMessage(_0x2ff7fa['documentId']);}},wb=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(_0x203d1d,_0x3faa8c,_0x1f46ae){super(),this['channel']=_0x203d1d,this['_suggestions']=_0x3faa8c,this['_suggestionsV2']=_0x1f46ae,this['suggestions']=_0x1f46ae?.['length']?_0x1f46ae:_0x3faa8c;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x3fe913=>JSON['stringify'](_0x3fe913)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x3759f7){return new ConnectResponse(_0x3759f7['channel'],_0x3759f7['suggestions']?.['map'](_0x456411=>JSON['parse'](_0x456411)),_0x3759f7['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(_0x41fa48,_0x124c0c,_0x1327f1){super(),this['ids']=_0x41fa48,this['documentId']=_0x124c0c,this['state']=_0x1327f1;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x3f7034){return new BatchUpdateSuggestionsStateMessage(_0x3f7034['ids'],_0x3f7034['documentId'],_0x3f7034['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
_0xf8084e(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x418fe3){super(),this['_documentId']=_0x418fe3;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x53454b){if(this['_isConnected'])return;if(_0x53454b['state']!==mb)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x53454b);const _0xa4c2d8=new Ob(this['_documentId']);this['_wsGateway']=_0x53454b,this['stopListening'](_0x53454b,'change:state');const _0x579298=await _0x53454b['_sendRequest'](0xa,Ob['TYPE'],MessagesCompressor['encode'](_0xa4c2d8)),_0x551074=MessagesCompressor['decode'](_0x579298,wb);return this['listenTo'](_0x53454b,'change:state',(_0x55b69b,_0x1a9fed,_0x3360c2)=>this['_onWsGatewayStateChange'](_0x3360c2),{'priority':gb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x53454b,_0x551074['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x551074['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'](_0x156c1c,_0x30ac91,_0x56dcf6,_0x5c26d2=null,_0x53fb59){const _0x20d99a=new AddSuggestionMessage(_0x156c1c,this['_documentId'],_0x30ac91,_0x56dcf6,_0x5c26d2,_0x53fb59),_0x54829c=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x20d99a);return MessagesCompressor['decode'](_0x54829c,AddSuggestionResponse);}async['get'](_0x3b9b3e,_0x2febbe=0x1){const _0x148548=new GetSuggestionMessage(_0x3b9b3e,this['_documentId']);try{const _0x2308eb=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x148548);return MessagesCompressor['decode'](_0x2308eb,GetSuggestionResponse);}catch(_0x500b72){if('CKEditorCloudServicesServerError'===_0x500b72['name']&&'404'===_0x500b72['code']&&_0x2febbe<0x5)return await(_0x3f2b85=0x64*_0x2febbe,new Promise(_0x2773cc=>{setTimeout(_0x2773cc,_0x3f2b85);})),this['get'](_0x3b9b3e,_0x2febbe+0x1);if('CKEditorCloudServicesServerError'===_0x500b72['name'])throw _0x500b72;throw CKEditorCloudServicesServerError['fromPublicError'](_0x500b72);}var _0x3f2b85;}async['getAll'](){const _0x25a944=new GetAllSuggestionsMessage(this['_documentId']),_0x1d02b5=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x25a944),{suggestions:_0x3babc8}=MessagesCompressor['decode'](_0x1d02b5,GetAllSuggestionResponse);return _0x3babc8;}async['update'](_0x511896,_0x5872c4={}){const {hasComments:_0x57b779,state:_0x5e438f,attributes:_0x1c2ce6}=_0x5872c4,_0x561462=void 0x0!==_0x57b779,_0x2c832c=new UpdateSuggestionMessage(_0x511896,this['_documentId'],_0x57b779,_0x561462,_0x5e438f,_0x1c2ce6);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x2c832c);}async['batchUpdateState'](_0x432829){const _0x1b402e=new BatchUpdateSuggestionsStateMessage(_0x432829['ids'],this['_documentId'],_0x432829['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x1b402e);}['_connectToChannel'](_0x8c2a21,_0x40594d){this['_channel']=_0x8c2a21['_getChannel'](TrackChangesService['_SERVICE'],_0x40594d),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x5abaf0,_0x2bba6d)=>{const _0x1779da=MessagesCompressor['decode'](_0x2bba6d,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x1779da);});}['_onWsGatewayStateChange'](_0x16a463){_0x16a463===db&&this['disconnect']();}['_sendRequest'](_0x216a7d,_0x54b660){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x216a7d,MessagesCompressor['encode'](_0x54b660));}}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(_0x1726cc,_0x218ec3=[]){super(),this['channel']=_0x1726cc,this['sockets']=_0x218ec3;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x23fb62=>({'user':_0x23fb62['userId'],'session':_0x23fb62['id'],'role':_0x23fb62['role'],'permissions':_0x23fb62['permissions']}))};}static['fromJSON'](_0x1738ae){return new SessionsConnectResponse(_0x1738ae['channel'],_0x1738ae['sockets']['map'](_0x577e71=>({'id':_0x577e71['session'],'userId':_0x577e71['user'],'role':_0x577e71['role'],'permissions':_0x577e71['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(_0x4a8bf9,_0x4e0257){super(),this['id']=_0x4a8bf9,this['sessionType']=_0x4e0257;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x4b4818){return new SessionsConnectMessage(_0x4b4818['id'],_0x4b4818['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(_0x1db8c1,_0x114e72,_0x862202,_0x92ceef){super(),this['id']=_0x1db8c1,this['userId']=_0x114e72,this['role']=_0x862202,this['permissions']=_0x92ceef;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x170118){return new SocketConnectMessage(_0x170118['id'],_0x170118['userId'],_0x170118['role'],_0x170118['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(_0x3f09de){super(),this['id']=_0x3f09de;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x431eee){return new SocketDisconnectMessage(_0x431eee['id']);}}class SessionCollection extends _0x28887d{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x2f7960,_0x2d5019){super({'idProperty':'id'}),this['_id']=_0x2f7960,this['_sessionType']=_0x2d5019;}async['connect'](_0x1e73ee){this['_wsGateway']=_0x1e73ee,this['stopListening'](_0x1e73ee,'change:state');const _0x53a719=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x2d596a;try{const _0x3a8224=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x53a719));_0x2d596a=MessagesCompressor['decode'](_0x3a8224,SessionsConnectResponse);}catch(_0x27206b){_0x2d596a=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x2d596a['channel'],this['_sessionType']);const _0x4b6efd=await async function(_0xb150de,_0x58f388){const _0x11c16c=_0x58f388['map'](_0x42fa4d=>_0x42fa4d['userId']),_0x1b149a=_0x11c16c['length']?await User['getMany'](_0xb150de,_0x11c16c):[];return _0x58f388['map'](_0x3137ed=>{const _0x185e76={'id':_0x3137ed['id'],'role':_0x3137ed['role'],'permissions':_0x3137ed['permissions']};return _0x185e76['user']=_0x3137ed['userId']&&_0x1b149a['find'](_0x4cbb0a=>_0x4cbb0a['id']===_0x3137ed['userId'])||new User(),_0x185e76;});}(this['_wsGateway'],_0x2d596a['sockets']);for(const _0x49c91a of _0x4b6efd)super['add'](_0x49c91a);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x1a7781,_0x1954f4,_0x4e0c5c)=>this['_onWsGatewayStateChange'](_0x4e0c5c),{'priority':gb['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x274d3c=!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']&&_0x274d3c&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x274d3c&&this['stopListening']();}}['add'](_0xee7cfe,_0x20785e){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x48eeb9){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x253503,_0x195aab,_0x24c31c){this['_channel']=_0x253503['_getChannel'](_0x24c31c,_0x195aab),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x4ac2e4=>{const _0x1b8b75=MessagesCompressor['decode'](_0x4ac2e4,SocketConnectMessage);if(-0x1===this['getIndex'](_0x1b8b75['id'])){const _0x38ee16={'id':_0x1b8b75['id'],'role':_0x1b8b75['role'],'permissions':_0x1b8b75['permissions']};_0x1b8b75['userId']&&(_0x38ee16['user']=await User['get'](_0x253503,_0x1b8b75['userId'])),super['add'](_0x38ee16);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x2cfddb=>{const _0x33b840=MessagesCompressor['decode'](_0x2cfddb,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x33b840['id'])&&super['remove'](_0x33b840['id']);}));}async['_onWsGatewayStateChange'](_0x26d6f5){_0x26d6f5===gb['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x26d6f5===gb['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x3197e9;for(this['_isRunning']=!0x0;_0x3197e9=this['_eventsQueue']['shift']();){const _0x4cb053=this['_handlers']['get'](_0x3197e9['eventName']);_0x4cb053&&await _0x4cb053(_0x3197e9['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x1d878c,_0x12913c,_0x2733df){const _0x282c09=_0x1d878c['getEventName'](_0x12913c,!0x0);this['listenTo'](_0x1d878c,_0x282c09,async(_0x643c18,_0x2ef91c)=>{const _0x4d90f3=_0x643c18['name'];this['_eventsQueue']['push']({'eventName':_0x4d90f3,'data':_0x2ef91c}),await this['_runQueue']();}),this['_handlers']['set'](_0x282c09,_0x2733df);}}let bb=class Sessions{static async['getConnectedSessions'](_0x2f3262,_0x3389bb,_0x533e30){const _0x554d1c=new SessionCollection(_0x3389bb,_0x533e30);return await _0x554d1c['connect'](_0x2f3262),_0x554d1c;}};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(_0x42b2d2,_0x4176e0,_0x32ffe0,_0x408693,_0x52261f=''){super(),this['id']=_0x42b2d2,this['buffers']=_0x4176e0,this['types']=_0x32ffe0,this['bundleVersion']=_0x408693,this['lastOperationId']=_0x52261f;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0xaaf036){return new CollaborativeEditingConnectMessage(_0xaaf036['id'],_0xaaf036['buffers'],_0xaaf036['types'],_0xaaf036['bundleVersion'],_0xaaf036['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x48f818,_0x4ba94f){if(!_0x48f818?.['length']||!_0x4ba94f?.['length'])return[];const _0x4a2827=[];let _0x29d4a8=0x0;for(const _0x1eb588 of _0x48f818)if(0x0!==_0x1eb588){if(!_0x4ba94f[_0x29d4a8])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x4a2827['push'](_0x4ba94f[_0x29d4a8]),_0x29d4a8++;}else _0x4a2827['push'](_0x4a2827[_0x4a2827['length']-0x1]);return _0x4a2827;}static['removeUnnecessaryMetadata'](_0x1c87b9,_0x22f68f){if(!_0x1c87b9?.['length']||!_0x22f68f?.['length'])return[];const _0x3d2ce8=[];for(let _0xf9164e=0x0;_0xf9164e<_0x1c87b9['length'];_0xf9164e++)if(0x0!==_0x1c87b9[_0xf9164e]){if(!_0x22f68f[_0xf9164e])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3d2ce8['push'](_0x22f68f[_0xf9164e]);}return _0x3d2ce8;}}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:_0x15bcd7,..._0x36cfd4}){const _0x4ee118={..._0x36cfd4};return _0x15bcd7?.['toISOString']&&(_0x4ee118['createdAt']=_0x15bcd7['toISOString']()),_0x4ee118;}static['fromJSON']({createdAt:_0x59d291,..._0x10a672}){const _0x1bae6c={..._0x10a672};return _0x59d291&&(_0x1bae6c['createdAt']=new Date(_0x59d291)),_0x1bae6c;}}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(_0x13df3b,_0x2e0901,_0x5a473d,_0x206692,_0xf0832=[],_0x11928a=''){super(),this['id']=_0x13df3b,this['buffers']=_0x2e0901,this['types']=_0x5a473d,this['baseVersion']=_0x206692,this['metadata']=_0xf0832,this['lastOperationId']=_0x11928a;}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'](_0x2a755a){return new CollaborativeEditingUpdateMessage(_0x2a755a['id'],_0x2a755a['buffers'],_0x2a755a['types'],_0x2a755a['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x2a755a['types'],_0x2a755a['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x2a755a['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(_0x44c594,_0x3ca6b7,_0x389dce){super(),this['id']=_0x44c594,this['lastKnowVersion']=_0x3ca6b7,this['bundleVersion']=_0x389dce;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0xa05af5){return new CollaborativeEditingReconnectMessage(_0xa05af5['id'],_0xa05af5['lastKnowVersion'],_0xa05af5['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(_0x73ade,_0x51bd3b=[],_0x352917=[],_0x5b5211=[],_0x3648bd='',_0x50b7a4=null){super(),this['version']=_0x73ade,this['buffers']=_0x51bd3b,this['types']=_0x352917,this['metadata']=_0x5b5211,this['lastOperationId']=_0x3648bd,this['lastOperationAcceptedAt']=_0x50b7a4;}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'](_0x15933c){return new CollaborativeEditingResponse(_0x15933c['version'],_0x15933c['buffers'],_0x15933c['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x15933c['types'],_0x15933c['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x15933c['lastOperationId'],_0x15933c['lastOperationAcceptedAt']?new Date(_0x15933c['lastOperationAcceptedAt']):null);}static['create'](_0x1c4d12){return new CollaborativeEditingResponse(_0x1c4d12['version'],_0x1c4d12['buffers'],_0x1c4d12['types'],_0x1c4d12['metadata'],_0x1c4d12['lastOperationId'],_0x1c4d12['lastOperationAcceptedAt']?new Date(_0x1c4d12['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(_0x16c164,_0xe85231,_0x593716=[],_0x191dc8=[],_0x2955b2=0x0,_0x5e8bc4=[],_0x1e91e8=null,_0x42af30='',_0x3b0963='',_0x2782a7=null){super(),this['channel']=_0x16c164,this['version']=_0xe85231,this['buffers']=_0x593716,this['types']=_0x191dc8,this['offset']=_0x2955b2,this['metadata']=_0x5e8bc4,this['initData']=_0x1e91e8,this['sessionId']=_0x42af30,this['lastOperationId']=_0x3b0963,this['sessionCreatedAt']=_0x2782a7;}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'](_0x1d8871){return new CollaborativeEditingConnectResponse(_0x1d8871['channel'],_0x1d8871['version'],_0x1d8871['buffers'],_0x1d8871['types'],_0x1d8871['offset'],_0x1d8871['metadata'],_0x1d8871['initData'],_0x1d8871['sessionId'],_0x1d8871['lastOperationId'],_0x1d8871['sessionCreatedAt']);}static['fromJSON'](_0x3b61cb){let _0x410da8=null;return!0x0===_0x3b61cb['isInitialized']?_0x410da8=_0x3b61cb['initData']??'':'boolean'!=typeof _0x3b61cb['isInitialized']&&_0x3b61cb['initData']&&(_0x410da8=_0x3b61cb['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x3b61cb['channel'],'version':_0x3b61cb['version'],'buffers':_0x3b61cb['buffers'],'types':_0x3b61cb['types'],'offset':_0x3b61cb['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x3b61cb['types'],_0x3b61cb['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x410da8,'sessionId':_0x3b61cb['sessionId'],'lastOperationId':_0x3b61cb['lastOperationId'],'sessionCreatedAt':_0x3b61cb['sessionCreatedAt']?new Date(_0x3b61cb['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(_0x4c1ab6,_0x42948b){super(),this['lastDocumentSession']=_0x4c1ab6,this['currentDocumentSession']=_0x42948b;}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'](_0x31ff4c){const _0x39580a=_0x31ff4c['lastDocumentSessionId']?{'id':_0x31ff4c['lastDocumentSessionId'],'lastOperationId':_0x31ff4c['lastDocumentSessionOperationId']}:void 0x0,_0x340325=_0x31ff4c['currentDocumentSessionId']?{'lastOperationId':_0x31ff4c['currentDocumentSessionOperationId'],'version':_0x31ff4c['currentDocumentSessionVersion'],'id':_0x31ff4c['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x39580a,_0x340325);}}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(_0x3f214d){super(),this['documentId']=_0x3f214d;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2fbe9c){return new GetDocumentDetailsMessage(_0x2fbe9c['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0xf8084e(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x33b05e,_0x3330f0){if(super(),!_0x33b05e)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x3330f0??sb(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x33b05e;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x7db4ef,_0x49bbd1={'buffers':[],'types':[]},_0x55b62f){const _0x363399=new CollaborativeEditingConnectMessage(this['getId'](),_0x49bbd1['buffers'],_0x49bbd1['types'],this['_bundleVersion'],_0x55b62f);return this['_connect'](_0x7db4ef,_0x363399);}['reconnect'](_0x2b7746,_0x3d71c8){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x2b7746);return this['_connect'](_0x2b7746,new CollaborativeEditingReconnectMessage(this['getId'](),_0x3d71c8,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 _0xea93b9=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x57bc0d=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0xea93b9));return MessagesCompressor['decode'](_0x57bc0d,GetDocumentDetailsResponse);}async['sendOperations'](_0x7b50fd,_0x151fbb,_0xd3920c){if(!_0x7b50fd?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x22b7d1='number'==typeof _0x151fbb?_0x151fbb:parseInt(_0x151fbb);if(!Number['isInteger'](_0x22b7d1)||_0x22b7d1<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x75472d=new CollaborativeEditingUpdateMessage(this['getId'](),_0x7b50fd['buffers'],_0x7b50fd['types'],_0x22b7d1,[],_0xd3920c);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x1d3ce9=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x75472d));return MessagesCompressor['decode'](_0x1d3ce9,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await bb['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x32f732,_0x5e4b9c){return bb['getConnectedSessions'](_0x32f732,_0x5e4b9c,0x1);}async['_connect'](_0x14c641,_0x1e32a0){if(this['isConnected']())return;if(_0x14c641['state']!==gb['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x14c641);this['_wsGateway']=_0x14c641,this['stopListening'](_0x14c641,'change:state');const _0x5b6cac=await _0x14c641['_sendRequest'](0x1,_0x1e32a0['constructor']['TYPE'],MessagesCompressor['encode'](_0x1e32a0)),_0x97e67d=MessagesCompressor['decode'](_0x5b6cac,CollaborativeEditingConnectResponse);return this['listenTo'](_0x14c641,'change:state',(_0x31986b,_0x3e9f54,_0x4fdb02)=>this['_onWsGatewayStateChange'](_0x4fdb02),{'priority':gb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x14c641,_0x97e67d['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x97e67d;}['_connectToChannel'](_0x67fc91,_0x2ad2ec){this['_channel']=_0x67fc91['_getChannel'](0x1,_0x2ad2ec),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x49e73a,_0x41ef62)=>{const _0x11a90d=MessagesCompressor['decode'](_0x41ef62,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x11a90d['baseVersion'],_0x11a90d['data'],_0x11a90d['metadata']);});}['_onWsGatewayStateChange'](_0x4986ad){_0x4986ad===gb['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'](_0x1405cf){return{..._0x1405cf,'createdAt':_0x1405cf['createdAt']?.['toISOString'](),'attributes':_0x1405cf['attributes']?JSON['stringify'](_0x1405cf['attributes']):null};}static['fromJSON'](_0x24ad31){return{..._0x24ad31,'createdAt':new Date(_0x24ad31['createdAt']),'attributes':_0x24ad31['attributes']?JSON['parse'](_0x24ad31['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'](_0x491c18){return{..._0x491c18,'createdAt':_0x491c18['createdAt']?.['toISOString'](),'deletedAt':_0x491c18['deletedAt']?.['toISOString'](),'resolvedAt':_0x491c18['resolvedAt']?.['toISOString'](),'attributes':_0x491c18['attributes']?JSON['stringify'](_0x491c18['attributes']):null,'context':_0x491c18['context']?JSON['stringify'](_0x491c18['context']):_0x491c18['context'],'comments':_0x491c18['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x491c18['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x4f414f){return{..._0x4f414f,'createdAt':_0x4f414f['createdAt']?new Date(_0x4f414f['createdAt']):void 0x0,'deletedAt':_0x4f414f['deletedAt']?new Date(_0x4f414f['deletedAt']):void 0x0,'resolvedAt':_0x4f414f['resolvedAt']?new Date(_0x4f414f['resolvedAt']):void 0x0,'attributes':_0x4f414f['attributes']?JSON['parse'](_0x4f414f['attributes']):null,'context':_0x4f414f['context']?JSON['parse'](_0x4f414f['context']):void 0x0,'comments':_0x4f414f['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x4f414f['unlinkedAt']?new Date(_0x4f414f['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(_0x7bd472,_0x396a63,_0xca9698,_0x2f4dc5='',_0x266a11,_0xe23579='',_0x3e435d=null,_0x1dc0f1){super(),this['documentId']=_0x7bd472,this['commentThreadId']=_0x396a63,this['content']=_0xca9698,this['commentId']=_0x2f4dc5,this['userId']=_0xe23579,this['attributes']=_0x3e435d,this['commentThread']=_0x1dc0f1,this['createdAt']=_0x266a11?new Date(_0x266a11):'';}['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'](_0x4e8770){return new AddCommentMessage(_0x4e8770['documentId'],_0x4e8770['commentThreadId'],_0x4e8770['content'],_0x4e8770['commentId']?_0x4e8770['commentId']:void 0x0,_0x4e8770['createdAt']?new Date(_0x4e8770['createdAt']):void 0x0,_0x4e8770['userId']?_0x4e8770['userId']:void 0x0,_0x4e8770['attributes']?JSON['parse'](_0x4e8770['attributes']):{},_0x4e8770['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x4e8770['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(_0x4a1d7f,_0x1e91c1,_0x50eedd){super(),this['commentThreadId']=_0x4a1d7f,this['commentId']=_0x1e91c1,this['createdAt']=new Date(_0x50eedd);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x26756f){return new AddCommentResponse(_0x26756f['commentThreadId'],_0x26756f['commentId'],_0x26756f['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(_0x59f022){super(),this['documentId']=_0x59f022;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1888b9){return new ConnectMessage(_0x1888b9['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(_0x4989d4,_0x255435,_0x4cbd95){super(),this['channel']=_0x4989d4,this['_threads']=_0x255435,this['_threadsV2']=_0x4cbd95,this['threads']=_0x4cbd95?.['length']?_0x4cbd95:_0x255435;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0xb62648=>JSON['stringify'](_0xb62648)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x532073){return new ConnectResponse(_0x532073['channel'],_0x532073['threads']?.['map'](_0x1c49a0=>JSON['parse'](_0x1c49a0)),_0x532073['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(_0x1e46a2,_0x5c5b21,_0x2a8083){super(),this['documentId']=_0x1e46a2,this['commentThreadId']=_0x5c5b21,this['commentId']=_0x2a8083;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x59ca59){return new RemoveCommentMessage(_0x59ca59['documentId'],_0x59ca59['commentThreadId'],_0x59ca59['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(_0x5e72c8,_0x28be23){super(),this['documentId']=_0x5e72c8,this['commentThreadId']=_0x28be23;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x491a80){return new RemoveCommentThreadMessage(_0x491a80['documentId'],_0x491a80['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(_0x1d0f21,_0x19ee15,_0x46e976,_0x1e2c3,_0xade48d=null,_0x24e0e1=!0x1,_0x4f9b1f){super(),this['documentId']=_0x1d0f21,this['commentThreadId']=_0x19ee15,this['commentId']=_0x46e976,this['content']=_0x1e2c3,this['attributes']=_0xade48d,this['isAttributesUpdated']=_0x24e0e1,this['commentThread']=_0x4f9b1f;}['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'](_0x4cf12d){return new UpdateCommentMessage(_0x4cf12d['documentId'],_0x4cf12d['commentThreadId'],_0x4cf12d['commentId'],_0x4cf12d['content'],_0x4cf12d['attributes']?JSON['parse'](_0x4cf12d['attributes']):null,_0x4cf12d['isAttributesUpdated'],_0x4cf12d['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x4cf12d['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(_0x4a2ba1,_0x1f846a){super(),this['commentThreadId']=_0x4a2ba1,this['documentId']=_0x1f846a;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x1a7d9a){return new GetCommentThreadMessage(_0x1a7d9a['commentThreadId'],_0x1a7d9a['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(_0x3f4f91,_0x173f3b,_0x4ff5e3,_0x1c84c7,_0x516e8b,_0x272ffd,_0x30975a,_0x3c5091,_0x28fec8,_0x55b02e){super(),this['commentThreadId']=_0x3f4f91,this['_comments']=_0x173f3b,this['_commentsV2']=_0x4ff5e3,this['resolvedBy']=_0x516e8b,this['comments']=_0x4ff5e3?.['length']?_0x4ff5e3:_0x173f3b,this['createdAt']=_0x30975a?new Date(_0x30975a):void 0x0,this['deletedAt']='string'==typeof _0x3c5091?new Date(_0x3c5091):_0x3c5091,this['resolvedAt']='string'==typeof _0x28fec8?new Date(_0x28fec8):_0x28fec8,this['unlinkedAt']='string'==typeof _0x55b02e?new Date(_0x55b02e):_0x55b02e,this['attributes']='string'==typeof _0x1c84c7?JSON['parse'](_0x1c84c7):_0x1c84c7,this['context']='string'==typeof _0x272ffd?JSON['parse'](_0x272ffd):_0x272ffd;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x33190c=>JSON['stringify'](_0x33190c)),'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'](_0x3b616b){return new GetCommentThreadResponse(_0x3b616b['commentThreadId'],_0x3b616b['comments']?.['map'](_0x408de5=>function(_0x52ed6e){const _0x44acb1=JSON['parse'](_0x52ed6e);return{..._0x44acb1,'createdAt':new Date(_0x44acb1['createdAt'])};}(_0x408de5)),_0x3b616b['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x3b616b['attributes']?JSON['parse'](_0x3b616b['attributes']):_0x3b616b['attributes'],_0x3b616b['resolvedBy'],_0x3b616b['context']?JSON['parse'](_0x3b616b['context']):_0x3b616b['context'],_0x3b616b['createdAt'],_0x3b616b['deletedAt'],_0x3b616b['resolvedAt'],_0x3b616b['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(_0x2e291b){super(),this['documentId']=_0x2e291b;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5b6ddf){return new GetDocumentThreadsMessage(_0x5b6ddf['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(_0x3463a2,_0x5c31bd){super(),this['_threads']=_0x3463a2,this['_threadsV2']=_0x5c31bd,this['threads']=_0x5c31bd?.['length']?_0x5c31bd:_0x3463a2;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x69991e=>JSON['stringify'](_0x69991e)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x4b1b51){return new GetDocumentThreadsResponse(_0x4b1b51['threads']?.['map'](_0x2f673c=>function(_0x1a5e70){const _0x5101ea=JSON['parse'](_0x1a5e70),_0x46b8bd={..._0x5101ea};return _0x5101ea['comments']&&(_0x46b8bd['comments']=_0x5101ea['comments']?.['map'](_0x5b4803=>({..._0x5b4803,'createdAt':new Date(_0x5b4803['createdAt'])}))),_0x46b8bd;}(_0x2f673c)),_0x4b1b51['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'](_0x11447a){return{'commentId':_0x11447a['commentId'],'createdAt':_0x11447a['createdAt']?.['toISOString']()};}static['fromJSON'](_0x31b916){return{'commentId':_0x31b916['commentId'],'createdAt':new Date(_0x31b916['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(_0x542486,_0x4e67a5,_0x245d1e=[]){super(),this['commentThreadId']=_0x542486,this['comments']=_0x245d1e,this['createdAt']=new Date(_0x4e67a5);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x17eda6=>CommentThreadAddedCommentDescriptor['toJSON'](_0x17eda6))};}static['fromJSON'](_0x238d4e){return new AddCommentThreadResponse(_0x238d4e['commentThreadId'],_0x238d4e['createdAt'],_0x238d4e['comments']['map'](_0x34a303=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x34a303)));}}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(_0x103d8b,_0x31bbe8,_0x34522a=[],_0xa97bc0,_0xbdb3d9=null,_0x51de3a=null,_0x2cad5c=null,_0x395117=null,_0x1a18ba=null){super(),this['documentId']=_0x103d8b,this['commentThreadId']=_0x31bbe8,this['comments']=_0x34522a,this['context']=_0xa97bc0,this['resolvedBy']=_0xbdb3d9,this['attributes']=_0x1a18ba,this['createdAt']=_0x51de3a?new Date(_0x51de3a):'',this['resolvedAt']=_0x2cad5c?new Date(_0x2cad5c):'',this['deletedAt']=_0x395117?new Date(_0x395117):'';}['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'](_0x52a8f9=>CommentDescriptor['toJSON'](_0x52a8f9))};}static['fromJSON'](_0x5ab144){return new AddCommentThreadMessage(_0x5ab144['documentId'],_0x5ab144['commentThreadId'],_0x5ab144['comments']?.['map'](_0xdca5de=>CommentDescriptor['fromJSON']({..._0xdca5de,'documentId':_0x5ab144['documentId'],'commentThreadId':_0x5ab144['commentThreadId']})),_0x5ab144['context']?JSON['parse'](_0x5ab144['context']):_0x5ab144['context'],_0x5ab144['resolvedBy'],_0x5ab144['createdAt']?new Date(_0x5ab144['createdAt']):void 0x0,_0x5ab144['resolvedAt']?new Date(_0x5ab144['resolvedAt']):void 0x0,_0x5ab144['deletedAt']?new Date(_0x5ab144['deletedAt']):void 0x0,_0x5ab144['attributes']?JSON['parse'](_0x5ab144['attributes']):_0x5ab144['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(_0x3f1d2c,_0x460790,_0xf95d34,_0x4b5828){super(),this['commentThreadId']=_0x3f1d2c,this['documentId']=_0x460790,this['resolvedBy']=_0xf95d34,this['resolvedAt']=_0x4b5828?new Date(_0x4b5828):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x425b15){return new ResolveCommentThreadMessage(_0x425b15['commentThreadId'],_0x425b15['documentId'],_0x425b15['resolvedBy'],_0x425b15['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(_0x387421,_0x1c1527){super(),this['commentThreadId']=_0x387421,this['documentId']=_0x1c1527;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x53bd68){return new ReopenCommentThreadMessage(_0x53bd68['commentThreadId'],_0x53bd68['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(_0xd03a6c,_0x7619c1,_0x3ae193,_0x256a79=null,_0x57569a=null){super(),this['commentThreadId']=_0xd03a6c,this['documentId']=_0x7619c1,this['context']=_0x3ae193,this['attributes']=_0x256a79,this['unlinkedAt']=_0x57569a?new Date(_0x57569a):'';}['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'](_0x172d14){return new UpdateCommentThreadMessage(_0x172d14['commentThreadId'],_0x172d14['documentId'],_0x172d14['context']?JSON['parse'](_0x172d14['context']):_0x172d14['context'],_0x172d14['attributes']?JSON['parse'](_0x172d14['attributes']):null,_0x172d14['unlinkedAt']?new Date(_0x172d14['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(_0x147a62,_0x21f860,_0x45f8ed,_0xff418c){super(),this['commentThreadId']=_0x147a62,this['documentId']=_0x21f860,this['resolvedBy']=_0x45f8ed,this['resolvedAt']=new Date(_0xff418c);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x3cd3a7){return new ResolveCommentThreadResponse(_0x3cd3a7['commentThreadId'],_0x3cd3a7['documentId'],_0x3cd3a7['resolvedBy'],_0x3cd3a7['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0xf8084e(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x17b321){super(),this['_documentId']=_0x17b321;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x302fc9){if(this['_isConnected'])return;if(_0x302fc9['state']!==mb)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x302fc9);const _0x548d13=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x302fc9,this['stopListening'](_0x302fc9,'change:state');const _0x5601db=await _0x302fc9['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](_0x548d13)),{channel:_0x48780f,threads:_0x593284}=MessagesCompressor['decode'](_0x5601db,ConnectResponse);return this['listenTo'](_0x302fc9,'change:state',(_0x42b122,_0x13e7e7,_0x347bb2)=>this['_onWsGatewayStateChange'](_0x347bb2),{'priority':gb['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x302fc9,_0x48780f),this['_isConnected']=!0x0,this['fire']('connected'),_0x593284;}['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'](_0x5496c0,_0x5423d3,_0x13fdb0,_0x399e9d){const _0x1602a1=new AddCommentMessage(this['_documentId'],_0x5496c0,_0x13fdb0,_0x5423d3,void 0x0,void 0x0,_0x399e9d),_0x12ed82=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x1602a1);return MessagesCompressor['decode'](_0x12ed82,AddCommentResponse);}async['updateComment'](_0x22ceb2,_0x3cdf66,_0x2073b5,_0xe3d056){const _0xc4ac56=void 0x0!==_0xe3d056,_0x5b2c4=new UpdateCommentMessage(this['_documentId'],_0x22ceb2,_0x3cdf66,_0x2073b5,_0xe3d056,_0xc4ac56);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x5b2c4);}async['removeComment'](_0x47543d,_0x3f86c5){const _0x48d80b=new RemoveCommentMessage(this['_documentId'],_0x47543d,_0x3f86c5);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x48d80b);}async['removeCommentThread'](_0x90fc10){const _0x5111c2=new RemoveCommentThreadMessage(this['_documentId'],_0x90fc10);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x5111c2);}async['addCommentThread'](_0x479759){const _0x221d83=new AddCommentThreadMessage(this['_documentId'],_0x479759['commentThreadId'],_0x479759['comments']?.['map'](_0x547726=>({..._0x547726,'documentId':this['_documentId'],'commentThreadId':_0x479759['commentThreadId']})),_0x479759['context'],_0x479759['resolvedBy'],_0x479759['createdAt'],_0x479759['resolvedAt'],_0x479759['deletedAt'],_0x479759['attributes']),_0x28268a=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x221d83);return MessagesCompressor['decode'](_0x28268a,AddCommentThreadResponse);}async['resolveCommentThread'](_0x1669ec){const _0x2ef56b=new ResolveCommentThreadMessage(_0x1669ec,this['_documentId']),_0x4aa2a7=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x2ef56b);return MessagesCompressor['decode'](_0x4aa2a7,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0xbaaa5b){const _0x49430d=new ReopenCommentThreadMessage(_0xbaaa5b,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x49430d);}async['updateCommentThread'](_0xb395f8){const _0x196913=new UpdateCommentThreadMessage(_0xb395f8['commentThreadId'],this['_documentId'],_0xb395f8['context'],_0xb395f8['attributes'],_0xb395f8['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x196913);}async['getCommentThread'](_0x2d3bf0,_0x199c96=0x1){const _0x4024fb=new GetCommentThreadMessage(_0x2d3bf0,this['_documentId']);try{const _0x14a411=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x4024fb),_0x55f0c0=MessagesCompressor['decode'](_0x14a411,GetCommentThreadResponse);return{'commentThreadId':_0x55f0c0['commentThreadId'],'comments':_0x55f0c0['comments'],'attributes':_0x55f0c0['attributes'],'context':_0x55f0c0['context'],'resolvedAt':_0x55f0c0['resolvedAt'],'resolvedBy':_0x55f0c0['resolvedBy'],'deletedAt':_0x55f0c0['deletedAt'],'unlinkedAt':_0x55f0c0['unlinkedAt']};}catch(_0x3b7d1c){if('CKEditorCloudServicesServerError'===_0x3b7d1c['name']&&'404'===_0x3b7d1c['code']&&_0x199c96<0x5)return await(_0x50ddca=0x64*_0x199c96,new Promise(_0x117806=>{setTimeout(_0x117806,_0x50ddca);})),this['getCommentThread'](_0x2d3bf0,_0x199c96+0x1);if('CKEditorCloudServicesServerError'===_0x3b7d1c['name'])throw _0x3b7d1c;throw CKEditorCloudServicesServerError['fromPublicError'](_0x3b7d1c);}var _0x50ddca;}async['getDocumentThreads'](){const _0x17ae47=new GetDocumentThreadsMessage(this['_documentId']),_0xa210cb=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x17ae47),{threads:_0x5e4c43}=MessagesCompressor['decode'](_0xa210cb,GetDocumentThreadsResponse);return{'threads':_0x5e4c43};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await bb['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x75bc6c,_0x1f08f1){this['_channel']=_0x75bc6c['_getChannel'](CommentsService['_SERVICE'],_0x1f08f1),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x3353e8,_0x364f56)=>{const _0x26064e=MessagesCompressor['decode'](_0x364f56,AddCommentMessage);this['fire']('commentAdded',_0x26064e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x556da0,_0x2b87c6)=>{const _0x43317d=MessagesCompressor['decode'](_0x2b87c6,RemoveCommentMessage);this['fire']('commentRemoved',_0x43317d);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x22d6f4,_0x5d84d7)=>{const _0x5d113d=MessagesCompressor['decode'](_0x5d84d7,UpdateCommentMessage);this['fire']('commentUpdated',_0x5d113d);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x49d393,_0x4f256)=>{const _0x2f661b=MessagesCompressor['decode'](_0x4f256,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x2f661b);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x1648d5,_0x3a79f7)=>{const _0x3f071c=MessagesCompressor['decode'](_0x3a79f7,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x3f071c);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x52bbad,_0x436eae)=>{const _0x1e0a0a=MessagesCompressor['decode'](_0x436eae,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x1e0a0a);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x560a28,_0x5ba55d)=>{const _0x40f0ed=MessagesCompressor['decode'](_0x5ba55d,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x40f0ed);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x4f256e,_0x46092c)=>{const _0x2c2234=MessagesCompressor['decode'](_0x46092c,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x2c2234);}));}['_onWsGatewayStateChange'](_0xabeee0){_0xabeee0===db&&this['disconnect']();}['_sendRequest'](_0x1e3b20,_0x5da683){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x1e3b20,MessagesCompressor['encode'](_0x5da683));}}class WebSocketGateway extends _0x13e428{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>gb)());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(_0xfad754){super(_0xfad754),this['set']('state',mb),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0xa9fff4())();}['init'](){const _0x4ccd66=this['context'],_0x58c471=_0x4ccd66['plugins']['get']('CloudServices'),_0x4a9e94=_0x4ccd66['plugins']['get'](Qt);if(!_0x58c471['token'])throw new _0x37fbfa('websocketgateway-missing-token',this);if(!_0x58c471['webSocketUrl'])throw new _0x37fbfa('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'](_0x58c471['token'],_0x58c471['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x1c81ac=>{if(this['connection']=_0x1c81ac,this['bind']('state')['to'](_0x1c81ac,'state',this,'_isBrowserOffline',(_0x160ef3,_0x3de846)=>('connected'!==_0x160ef3&&(this['_shouldPluginsReconnect']=!0x0),_0x3de846||_0x160ef3!==mb?db:this['state']==db&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),fb):mb)),this['connection']['on']('error',(_0x3e1fec,_0x3c4277)=>{if('limitExceeded'!==_0x3c4277['code'])throw console['error'](_0x3c4277),new _0x37fbfa('cloudservices-init',null,{'originalError':_0x3c4277});_0x4a9e94['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'});}),!_0x1c81ac['me'])return new Promise(_0x93ecac=>_0x1c81ac['on']('change:me',_0x93ecac));})['catch'](_0x1e06eb=>{throw console['error'](_0x1e06eb),new _0x37fbfa('cloudservices-init',null,{'originalError':_0x1e06eb});});}['addToReconnectionStack'](_0x1670da){if('function'!=typeof _0x1670da['reconnect'])throw new _0x37fbfa('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x1670da))throw new _0x37fbfa('websocketgateway-plugin-already-registered',this,{'name':_0x1670da['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x1670da);}['removeFromReconnectionStack'](_0x250a2f){this['_reconnectionStack']['delete'](_0x250a2f);}['isInReconnectionStack'](_0x4ee92d){return this['_reconnectionStack']['has'](_0x4ee92d);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x12f296=>_0x12f296['reconnect']())))['then'](()=>this['state']=mb)['catch'](_0x36e72f=>{throw console['error'](_0x36e72f),new _0x37fbfa('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=db,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class Sessions extends _0x13e428{['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(_0x16a2e8){super(_0x16a2e8),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x4711ed(),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](Users);}['init'](){const _0x274a49=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x274a49,'change:state',(_0x148bd6,_0x288a84,_0x1a8895)=>{if('connected'!==_0x1a8895)this['channelSessions']['forEach'](_0x11042f=>_0x11042f['clear']()),this['channelConnectedUsers']['forEach'](_0x3196ef=>_0x3196ef['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x415bbe,_0x321212]of this['_registeredSessions'])for(const _0x1fa186 of _0x321212)this['_handleSessionAdd'](_0x415bbe,_0x1fa186);}}),this['_createUser'](_0x274a49['connection']['me'],!0x0);}['register'](_0x3417fb,_0x10d788){if(this['_registeredSessions']['has'](_0x3417fb))throw new _0x37fbfa('sessions-register-already-registered',null,{'channelId':_0x3417fb});this['_registeredSessions']['set'](_0x3417fb,_0x10d788),this['channelSessions']['set'](_0x3417fb,new _0x4711ed()),this['channelConnectedUsers']['set'](_0x3417fb,new _0x4711ed()),this['listenTo'](_0x10d788,'add',(_0x23eec0,_0x6ef932)=>this['_handleSessionAdd'](_0x3417fb,_0x6ef932)),this['listenTo'](_0x10d788,'remove',(_0x57f75c,_0x4719e8)=>this['_handleSessionRemove'](_0x3417fb,_0x4719e8));for(const _0x485ca4 of _0x10d788)this['_handleSessionAdd'](_0x3417fb,_0x485ca4);}['unregister'](_0x27300b){if(!this['_registeredSessions']['has'](_0x27300b))throw new _0x37fbfa('sessions-unregister-not-exist',null,{'channelId':_0x27300b});const _0x36cec4=this['_registeredSessions']['get'](_0x27300b);this['stopListening'](_0x36cec4);for(const _0x50e734 of _0x36cec4)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x27300b,_0x50e734);this['_registeredSessions']['delete'](_0x27300b),this['channelSessions']['delete'](_0x27300b),this['channelConnectedUsers']['delete'](_0x27300b);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x1d0ec1){for(const _0x49a8a5 of this['channelSessions']['values']())for(const _0x421ed4 of _0x49a8a5)if(_0x421ed4['id']===_0x1d0ec1)return _0x421ed4['user'];}['getUserSessions'](_0x3a6e9e,_0x30d94b){const _0x5e9cff=_0x30d94b?[this['channelSessions']['get'](_0x30d94b)]:this['channelSessions']['values'](),_0x5a09c7=new Set();for(const _0x1d425e of _0x5e9cff)for(const _0x5a5e89 of _0x1d425e)_0x5a5e89['user']['id']===_0x3a6e9e['id']&&_0x5a09c7['add'](_0x5a5e89['id']);return _0x5a09c7;}['getUserRole'](_0x35f0f9){for(const _0x13a08e of this['channelSessions']['values']())for(const _0x35a6ff of _0x13a08e)if(_0x35a6ff['user']===_0x35f0f9)return _0x35a6ff['role'];}['_handleSessionAdd'](_0x3c4980,_0x612b0e){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x1055af=_0x612b0e['user'],_0x50e1d6=this['_users']['getUser'](_0x1055af['id'])||this['_createUser'](_0x1055af),_0x480997=Object['assign']({},_0x612b0e,{'user':_0x50e1d6});if(this['channelSessions']['get'](_0x3c4980)['add'](_0x480997),!_0x1055af['hiddenInPresenceList']){const _0x354f05=this['channelConnectedUsers']['get'](_0x3c4980);_0x354f05['has'](_0x50e1d6['id'])||_0x354f05['add'](_0x50e1d6),this['allConnectedUsers']['has'](_0x50e1d6['id'])||_0x1055af['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x50e1d6,_0x50e1d6['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x3c4980,{'channelId':_0x3c4980,'session':_0x480997});}['_handleSessionRemove'](_0xcdcff2,_0x3fd6a6){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x287682=this['channelConnectedUsers']['get'](_0xcdcff2),_0x249697=_0x3fd6a6['user'];_0x249697['id']&&(this['channelSessions']['get'](_0xcdcff2)['remove'](_0x3fd6a6['id']),_0x287682['has'](_0x249697['id'])&&!this['getUserSessions'](_0x249697,_0xcdcff2)['size']&&_0x287682['remove'](_0x249697['id']),this['allConnectedUsers']['get'](_0x249697['id'])&&!this['getUserSessions'](_0x249697)['size']&&this['allConnectedUsers']['remove'](_0x249697['id']));}['_createUser'](_0x5cf25b,_0x1e579d){const _0x54494a=this['_users']['addUser'](_0x5cf25b);return _0x1e579d&&this['_users']['defineMe'](_0x5cf25b['id']),_0x54494a['orderNumber']=this['_uniqueUsersCount']++,_0x54494a;}}class UserMarkers extends _0x13517b{['_domEmitter']=new(_0xa9fff4())();static get['requires'](){return[Sessions];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5e9c37=this['editor'],_0x1071d3=_0x5e9c37['plugins']['get'](Sessions);_0x5e9c37['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x4c3d95,{writer:_0x3deea2})=>function(_0x37314e,_0x46e55e,_0x590e83,_0x50c150){const _0xc21832=_0x37314e['markerName']['split'](':')[0x2],_0x504019=_0x590e83['getUserBySessionId'](_0xc21832);if(!_0x504019||_0xc21832===_0x590e83['mySessionId'])return;if(!_0x50c150['model']['schema']['checkChild'](_0x37314e['markerRange']['start'],'$text'))return;const _0x4716e5={'class':'ck-user__marker\x20'+_0x504019['color']['getMarkerClass'](),'data-name':_0x504019['name'],'data-session-id':_0xc21832},_0x25e5b0=_0x50c150['model']['markers']['get'](_0x37314e['markerName']),_0x81b595=_0x25e5b0['getStart'](),_0x4b8ce2=_0x81b595['nodeAfter'],_0x5d0539=_0x50c150['model']['schema'];if(_0x4b8ce2&&_0x5d0539['isObject'](_0x4b8ce2)&&_0x5d0539['isInline'](_0x4b8ce2)&&!_0x50c150['model']['markers']['get']('user:range:'+_0xc21832)['getRange']()['isCollapsed'])return;const _0x483e6d=_0x81b595['parent'];return _0x50c150['model']['schema']['isLimit'](_0x483e6d)&&!_0x50c150['model']['hasContent'](_0x483e6d)&&(_0x4716e5['contenteditable']=!0x1),function(_0x1b051d,_0x93221c,_0x177743){const _0x242834=_0x1b051d['createUIElement']('span',_0x93221c);return _0x1b051d['setCustomProperty']('userPositionMarker',!0x0,_0x242834),_0x242834['render']=function(_0x114590){const _0x217317=this['toDomElement'](_0x114590),_0x268878=document['createElement']('span');return _0x268878['classList']['add']('ck-user__marker-tooltip'),_0x268878['setAttribute']('contenteditable','false'),_0x268878['setAttribute']('spellcheck','false'),_0x268878['textContent']=_0x177743['name'],_0x217317['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x268878['outerHTML']+'⁠',_0x217317['addEventListener']('mouseenter',()=>{_0x217317['classList']['add']('ck-user__marker_hovered');}),_0x217317['addEventListener']('mouseleave',()=>{_0x217317['classList']['remove']('ck-user__marker_hovered');}),_0x217317;},_0x242834['isSimilar']=function(_0x1697e4){return!(!this['getCustomProperty']('userPositionMarker')||!_0x1697e4['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x1697e4['getAttribute']('data-session-id'));},_0x242834;}(_0x46e55e,_0x4716e5,_0x504019);}(_0x4c3d95,_0x3deea2,_0x1071d3,_0x5e9c37)}),_0x5e9c37['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x1ec3c2=>function(_0x4c09ea,_0x3b87b9){const _0x4b0d18=_0x4c09ea['markerName']['split'](':')[0x2];if(_0x4b0d18===_0x3b87b9['mySessionId'])return null;const _0x1314fc=_0x3b87b9['getUserBySessionId'](_0x4b0d18);if(!_0x1314fc)return{'id':_0x4b0d18,'classes':[]};return{'id':_0x4b0d18,'classes':['ck-user__selection',_0x1314fc['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x4b0d18},'priority':0x7d0+_0x1314fc['orderNumber']};}(_0x1ec3c2,_0x1071d3)}),function(_0x368719){const _0xedddee=_0x368719['model'],_0x3f5660=new Map(),_0x2e6599=_0x368719['plugins']['get'](Sessions);_0xedddee['markers']['on']('update:user:range',(_0x471b13,_0x55f5ad,_0x2cccf7,_0x148a51)=>{if(!_0x148a51&&_0x3f5660['get'](_0x55f5ad['name']))return _0x3f5660['get'](_0x55f5ad['name'])['detach'](),void _0x3f5660['delete'](_0x55f5ad['name']);const _0x5c13b0=_0x55f5ad['name']['split'](':')[0x2];if(_0x5c13b0===_0x2e6599['mySessionId'])return;const _0x56e41d='user:position:'+_0x5c13b0;_0xedddee['markers']['has'](_0x56e41d)&&_0x368719['editing']['reconvertMarker'](_0x56e41d),_0x55f5ad['on']('change:range',(_0x5aac23,_0x2cf1fd,_0x2828a4)=>{if('$graveyard'!=_0x2cf1fd['root']['rootName']&&'$graveyard'==_0x55f5ad['getRange']()['root']['rootName']&&!_0x3f5660['has'](_0x55f5ad['name'])){const _0x2de550=_0xedddee['schema']['getNearestSelectionRange'](_0x2828a4['deletionPosition']);if(_0x2de550){const _0x155639=_0x19f373['fromRange'](_0x2de550);_0x3f5660['set'](_0x55f5ad['name'],_0x155639),_0x155639['on']('change:range',(_0x23f128,_0x179fbe,_0x328a32)=>{if('$graveyard'==_0x155639['root']['rootName']){const _0x2c806c=_0xedddee['schema']['getNearestSelectionRange'](_0x328a32['deletionPosition']);_0x2c806c?(_0x155639['start']=_0x2c806c['start'],_0x155639['end']=_0x2c806c['end']):(_0x3f5660['delete'](_0x55f5ad['name']),_0x155639['detach']());}});}}});}),_0xedddee['document']['on']('change',()=>{_0x3f5660['size']>0x0&&_0xedddee['enqueueChange']({'isUndoable':!0x1},_0x816499=>{for(const [_0x1ec139,_0x47b26e]of _0x3f5660)'$graveyard'==_0xedddee['markers']['get'](_0x1ec139)['getRange']()['root']['rootName']&&(yb(_0x1ec139['split'](':')[0x2],_0x47b26e['toRange'](),_0xedddee,_0x816499),_0x47b26e['detach']());_0x3f5660['clear']();});});}(_0x5e9c37),this['_domEmitter']['listenTo'](_0x4cdc9d['document'],'keydown',(_0x468dc4,{key:_0x1d09be})=>{'Escape'===_0x1d09be&&function(_0x18243a){_0x18243a['editing']['view']['change'](_0x4efcaf=>{for(const _0x465c85 of _0x18243a['model']['markers']){if(!_0x465c85['name']['startsWith']('user:position'))continue;const _0x14a5f8=_0x18243a['editing']['mapper']['markerNameToElements'](_0x465c85['name']);if(_0x14a5f8){for(const _0x3c96c4 of _0x14a5f8)_0x4efcaf['removeClass']('ck-user__marker_hovered',_0x3c96c4);}}});}(_0x5e9c37);},{'useCapture':!0x0});}['afterInit'](){const _0x11f684=this['editor'],_0x17cc21=_0x11f684['commands']['get']('undo');_0x17cc21&&_0x11f684['model']['on']('applyOperation',(_0x4e7d27,_0x459fbd)=>{const _0x492110=_0x459fbd[0x0];if(!_0x492110['isDocumentOperation'])return;if('marker'!=_0x492110['type']||!_0x492110['name']['startsWith']('user:'))return;const _0x461411=_0x492110['batch'];_0x17cc21['_createdBatches']['has'](_0x461411)&&(_0x492110['newRange']=_0x492110['oldRange']?_0x11f684['model']['createRange'](_0x492110['oldRange']['start'],_0x492110['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x2118b5=this['editor'],_0x33152f=_0x2118b5['model']['document'],_0x5733fb=_0x2118b5['plugins']['get'](Sessions);_0x2118b5['model']['enqueueChange']({'isUndoable':!0x1},_0x34e2ad=>{const _0x4459e2='user:range:'+_0x5733fb['mySessionId'],_0x4d7a01='user:position:'+_0x5733fb['mySessionId'],_0xc0355c=_0x2118b5['model']['markers']['has'](_0x4459e2);_0x2118b5['editing']['view']['hasDomSelection']?yb(_0x5733fb['mySessionId'],_0x33152f['selection']['getFirstRange'](),_0x2118b5['model'],_0x34e2ad):_0xc0355c&&(_0x34e2ad['removeMarker'](_0x4459e2),_0x34e2ad['removeMarker'](_0x4d7a01));});}}function yb(_0x2c037d,_0x240678,_0x58142e,_0x5d3070){const _0x9f36e0='user:range:'+_0x2c037d,_0x3e5974='user:position:'+_0x2c037d,_0x16bc0f=_0x240678['getContainedElement']();let _0x22e040=_0x240678['start'];if(_0x16bc0f&&_0x16bc0f['is']('element','tableCell')){const _0x10c168=function(_0xbcea7b,_0x1cc055){for(const _0x2fcf8c of _0xbcea7b['getPositions']())if(_0x1cc055['schema']['checkChild'](_0x2fcf8c,'$text'))return _0x2fcf8c;}(_0x240678,_0x58142e);_0x10c168&&(_0x22e040=_0x10c168,_0x240678=_0x5d3070['createRange'](_0x22e040));}const _0x3dad8e=_0x5d3070['createRange'](_0x22e040);_0x58142e['markers']['has'](_0x9f36e0)?(_0x5d3070['updateMarker'](_0x9f36e0,{'range':_0x240678}),_0x5d3070['updateMarker'](_0x3e5974,{'range':_0x3dad8e})):(_0x5d3070['addMarker'](_0x9f36e0,{'range':_0x240678,'usingOperation':!0x0}),_0x5d3070['addMarker'](_0x3e5974,{'range':_0x3dad8e,'usingOperation':!0x0}));}function _b(_0x50e7cc,_0x4ce8e1,_0x4e4a23){const _0x36d1f7=_0x50e7cc['t'],t=_0x50e7cc['t'];switch(_0x4ce8e1){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 _0x36d1f7({'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'},_0x4e4a23);default:return'';}}const vb=/* #__PURE__ -- @preserve */
((()=>{var _0x25c230=xO['Reader'],_0x45d252=xO['Writer'],_0x3bdeaa=xO['util'],_0x572cec=xO['roots']['default']||(xO['roots']['default']={});return _0x572cec['AttributeOperation']=(function(){function _0x3f28ed(_0x4cdd42){if(_0x4cdd42){for(var _0x751c4c=Object['keys'](_0x4cdd42),_0xd66e27=0x0;_0xd66e27<_0x751c4c['length'];++_0xd66e27)null!=_0x4cdd42[_0x751c4c[_0xd66e27]]&&'__proto__'!==_0x751c4c[_0xd66e27]&&(this[_0x751c4c[_0xd66e27]]=_0x4cdd42[_0x751c4c[_0xd66e27]]);}}return _0x3f28ed['prototype']['range']=null,_0x3f28ed['prototype']['key']='',_0x3f28ed['prototype']['oldValueBoolean']=!0x1,_0x3f28ed['prototype']['oldValueJson']='',_0x3f28ed['prototype']['newValueBoolean']=!0x1,_0x3f28ed['prototype']['newValueJson']='',_0x3f28ed['prototype']['wasUndone']=!0x1,_0x3f28ed['create']=function(_0xc2a599){return new _0x3f28ed(_0xc2a599);},_0x3f28ed['encode']=function(_0x3122d9,_0x5d8a8e){return _0x5d8a8e||(_0x5d8a8e=_0x45d252['create']()),null!=_0x3122d9['range']&&Object['hasOwnProperty']['call'](_0x3122d9,'range')&&_0x572cec['Range']['encode'](_0x3122d9['range'],_0x5d8a8e['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3122d9['key']&&Object['hasOwnProperty']['call'](_0x3122d9,'key')&&_0x5d8a8e['uint32'](0x12)['string'](_0x3122d9['key']),null!=_0x3122d9['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x3122d9,'oldValueBoolean')&&_0x5d8a8e['uint32'](0x18)['bool'](_0x3122d9['oldValueBoolean']),null!=_0x3122d9['oldValueJson']&&Object['hasOwnProperty']['call'](_0x3122d9,'oldValueJson')&&_0x5d8a8e['uint32'](0x22)['string'](_0x3122d9['oldValueJson']),null!=_0x3122d9['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x3122d9,'newValueBoolean')&&_0x5d8a8e['uint32'](0x28)['bool'](_0x3122d9['newValueBoolean']),null!=_0x3122d9['newValueJson']&&Object['hasOwnProperty']['call'](_0x3122d9,'newValueJson')&&_0x5d8a8e['uint32'](0x32)['string'](_0x3122d9['newValueJson']),null!=_0x3122d9['wasUndone']&&Object['hasOwnProperty']['call'](_0x3122d9,'wasUndone')&&_0x5d8a8e['uint32'](0x38)['bool'](_0x3122d9['wasUndone']),_0x5d8a8e;},_0x3f28ed['encodeDelimited']=function(_0x3e939d,_0x4cc078){return this['encode'](_0x3e939d,_0x4cc078)['ldelim']();},_0x3f28ed['decode']=function(_0x496de2,_0x456bb9,_0x2c7344,_0x2a14ba){if(_0x496de2 instanceof _0x25c230||(_0x496de2=_0x25c230['create'](_0x496de2)),void 0x0===_0x2a14ba&&(_0x2a14ba=0x0),_0x2a14ba>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f31ef=void 0x0===_0x456bb9?_0x496de2['len']:_0x496de2['pos']+_0x456bb9,_0x389ecd=new _0x572cec['AttributeOperation']();_0x496de2['pos']<_0x1f31ef;){var _0x5bb0c8=_0x496de2['uint32']();if(_0x5bb0c8===_0x2c7344)break;switch(_0x5bb0c8>>>0x3){case 0x1:_0x389ecd['range']=_0x572cec['Range']['decode'](_0x496de2,_0x496de2['uint32'](),void 0x0,_0x2a14ba+0x1);break;case 0x2:_0x389ecd['key']=_0x496de2['string']();break;case 0x3:_0x389ecd['oldValueBoolean']=_0x496de2['bool']();break;case 0x4:_0x389ecd['oldValueJson']=_0x496de2['string']();break;case 0x5:_0x389ecd['newValueBoolean']=_0x496de2['bool']();break;case 0x6:_0x389ecd['newValueJson']=_0x496de2['string']();break;case 0x7:_0x389ecd['wasUndone']=_0x496de2['bool']();break;default:_0x496de2['skipType'](0x7&_0x5bb0c8,_0x2a14ba);}}return _0x389ecd;},_0x3f28ed['decodeDelimited']=function(_0x1aeb1b){return _0x1aeb1b instanceof _0x25c230||(_0x1aeb1b=new _0x25c230(_0x1aeb1b)),this['decode'](_0x1aeb1b,_0x1aeb1b['uint32']());},_0x3f28ed['verify']=function(_0x4d81f5,_0x1fe63e){if('object'!=typeof _0x4d81f5||null===_0x4d81f5)return'object\x20expected';if(void 0x0===_0x1fe63e&&(_0x1fe63e=0x0),_0x1fe63e>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4d81f5['range']&&_0x4d81f5['hasOwnProperty']('range')){var _0x49654c=_0x572cec['Range']['verify'](_0x4d81f5['range'],_0x1fe63e+0x1);if(_0x49654c)return'range.'+_0x49654c;}return null!=_0x4d81f5['key']&&_0x4d81f5['hasOwnProperty']('key')&&!_0x3bdeaa['isString'](_0x4d81f5['key'])?'key:\x20string\x20expected':null!=_0x4d81f5['oldValueBoolean']&&_0x4d81f5['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x4d81f5['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x4d81f5['oldValueJson']&&_0x4d81f5['hasOwnProperty']('oldValueJson')&&!_0x3bdeaa['isString'](_0x4d81f5['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x4d81f5['newValueBoolean']&&_0x4d81f5['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x4d81f5['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x4d81f5['newValueJson']&&_0x4d81f5['hasOwnProperty']('newValueJson')&&!_0x3bdeaa['isString'](_0x4d81f5['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x4d81f5['wasUndone']&&_0x4d81f5['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4d81f5['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3f28ed['fromObject']=function(_0x125e85,_0x1469e8){if(_0x125e85 instanceof _0x572cec['AttributeOperation'])return _0x125e85;if(void 0x0===_0x1469e8&&(_0x1469e8=0x0),_0x1469e8>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3657fa=new _0x572cec['AttributeOperation']();if(null!=_0x125e85['range']){if('object'!=typeof _0x125e85['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x3657fa['range']=_0x572cec['Range']['fromObject'](_0x125e85['range'],_0x1469e8+0x1);}return null!=_0x125e85['key']&&(_0x3657fa['key']=String(_0x125e85['key'])),null!=_0x125e85['oldValueBoolean']&&(_0x3657fa['oldValueBoolean']=Boolean(_0x125e85['oldValueBoolean'])),null!=_0x125e85['oldValueJson']&&(_0x3657fa['oldValueJson']=String(_0x125e85['oldValueJson'])),null!=_0x125e85['newValueBoolean']&&(_0x3657fa['newValueBoolean']=Boolean(_0x125e85['newValueBoolean'])),null!=_0x125e85['newValueJson']&&(_0x3657fa['newValueJson']=String(_0x125e85['newValueJson'])),null!=_0x125e85['wasUndone']&&(_0x3657fa['wasUndone']=Boolean(_0x125e85['wasUndone'])),_0x3657fa;},_0x3f28ed['toObject']=function(_0x40474e,_0x802c1d){_0x802c1d||(_0x802c1d={});var _0x43bc40={};return _0x802c1d['defaults']&&(_0x43bc40['range']=null,_0x43bc40['key']='',_0x43bc40['oldValueBoolean']=!0x1,_0x43bc40['oldValueJson']='',_0x43bc40['newValueBoolean']=!0x1,_0x43bc40['newValueJson']='',_0x43bc40['wasUndone']=!0x1),null!=_0x40474e['range']&&_0x40474e['hasOwnProperty']('range')&&(_0x43bc40['range']=_0x572cec['Range']['toObject'](_0x40474e['range'],_0x802c1d)),null!=_0x40474e['key']&&_0x40474e['hasOwnProperty']('key')&&(_0x43bc40['key']=_0x40474e['key']),null!=_0x40474e['oldValueBoolean']&&_0x40474e['hasOwnProperty']('oldValueBoolean')&&(_0x43bc40['oldValueBoolean']=_0x40474e['oldValueBoolean']),null!=_0x40474e['oldValueJson']&&_0x40474e['hasOwnProperty']('oldValueJson')&&(_0x43bc40['oldValueJson']=_0x40474e['oldValueJson']),null!=_0x40474e['newValueBoolean']&&_0x40474e['hasOwnProperty']('newValueBoolean')&&(_0x43bc40['newValueBoolean']=_0x40474e['newValueBoolean']),null!=_0x40474e['newValueJson']&&_0x40474e['hasOwnProperty']('newValueJson')&&(_0x43bc40['newValueJson']=_0x40474e['newValueJson']),null!=_0x40474e['wasUndone']&&_0x40474e['hasOwnProperty']('wasUndone')&&(_0x43bc40['wasUndone']=_0x40474e['wasUndone']),_0x43bc40;},_0x3f28ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3f28ed['getTypeUrl']=function(_0x15de5c){return void 0x0===_0x15de5c&&(_0x15de5c='type.googleapis.com'),_0x15de5c+'/AttributeOperation';},_0x3f28ed;}()),_0x572cec['InsertOperation']=(function(){function _0x2af490(_0x1ac05a){if(this['nodes']=[],_0x1ac05a){for(var _0xc9f793=Object['keys'](_0x1ac05a),_0x3f7a37=0x0;_0x3f7a37<_0xc9f793['length'];++_0x3f7a37)null!=_0x1ac05a[_0xc9f793[_0x3f7a37]]&&'__proto__'!==_0xc9f793[_0x3f7a37]&&(this[_0xc9f793[_0x3f7a37]]=_0x1ac05a[_0xc9f793[_0x3f7a37]]);}}return _0x2af490['prototype']['position']=null,_0x2af490['prototype']['nodes']=_0x3bdeaa['emptyArray'],_0x2af490['prototype']['shouldReceiveAttributes']=!0x1,_0x2af490['prototype']['wasUndone']=!0x1,_0x2af490['create']=function(_0x35602c){return new _0x2af490(_0x35602c);},_0x2af490['encode']=function(_0x2c75b8,_0x555e98){if(_0x555e98||(_0x555e98=_0x45d252['create']()),null!=_0x2c75b8['position']&&Object['hasOwnProperty']['call'](_0x2c75b8,'position')&&_0x572cec['Position']['encode'](_0x2c75b8['position'],_0x555e98['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2c75b8['nodes']&&_0x2c75b8['nodes']['length']){for(var _0x372fb8=0x0;_0x372fb8<_0x2c75b8['nodes']['length'];++_0x372fb8)_0x572cec['Element']['encode'](_0x2c75b8['nodes'][_0x372fb8],_0x555e98['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x2c75b8['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x2c75b8,'shouldReceiveAttributes')&&_0x555e98['uint32'](0x18)['bool'](_0x2c75b8['shouldReceiveAttributes']),null!=_0x2c75b8['wasUndone']&&Object['hasOwnProperty']['call'](_0x2c75b8,'wasUndone')&&_0x555e98['uint32'](0x20)['bool'](_0x2c75b8['wasUndone']),_0x555e98;},_0x2af490['encodeDelimited']=function(_0x3e5cdd,_0x1ca3cc){return this['encode'](_0x3e5cdd,_0x1ca3cc)['ldelim']();},_0x2af490['decode']=function(_0x45f651,_0x549aa3,_0x2b8f2d,_0x827770){if(_0x45f651 instanceof _0x25c230||(_0x45f651=_0x25c230['create'](_0x45f651)),void 0x0===_0x827770&&(_0x827770=0x0),_0x827770>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50a8f5=void 0x0===_0x549aa3?_0x45f651['len']:_0x45f651['pos']+_0x549aa3,_0x1c794c=new _0x572cec['InsertOperation']();_0x45f651['pos']<_0x50a8f5;){var _0x436a35=_0x45f651['uint32']();if(_0x436a35===_0x2b8f2d)break;switch(_0x436a35>>>0x3){case 0x1:_0x1c794c['position']=_0x572cec['Position']['decode'](_0x45f651,_0x45f651['uint32'](),void 0x0,_0x827770+0x1);break;case 0x2:_0x1c794c['nodes']&&_0x1c794c['nodes']['length']||(_0x1c794c['nodes']=[]),_0x1c794c['nodes']['push'](_0x572cec['Element']['decode'](_0x45f651,_0x45f651['uint32'](),void 0x0,_0x827770+0x1));break;case 0x3:_0x1c794c['shouldReceiveAttributes']=_0x45f651['bool']();break;case 0x4:_0x1c794c['wasUndone']=_0x45f651['bool']();break;default:_0x45f651['skipType'](0x7&_0x436a35,_0x827770);}}return _0x1c794c;},_0x2af490['decodeDelimited']=function(_0x37b3d9){return _0x37b3d9 instanceof _0x25c230||(_0x37b3d9=new _0x25c230(_0x37b3d9)),this['decode'](_0x37b3d9,_0x37b3d9['uint32']());},_0x2af490['verify']=function(_0x142a2c,_0xfcce2c){if('object'!=typeof _0x142a2c||null===_0x142a2c)return'object\x20expected';if(void 0x0===_0xfcce2c&&(_0xfcce2c=0x0),_0xfcce2c>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x142a2c['position']&&_0x142a2c['hasOwnProperty']('position')&&(_0x71c825=_0x572cec['Position']['verify'](_0x142a2c['position'],_0xfcce2c+0x1)))return'position.'+_0x71c825;if(null!=_0x142a2c['nodes']&&_0x142a2c['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x142a2c['nodes']))return'nodes:\x20array\x20expected';for(var _0x514203=0x0;_0x514203<_0x142a2c['nodes']['length'];++_0x514203){var _0x71c825;if(_0x71c825=_0x572cec['Element']['verify'](_0x142a2c['nodes'][_0x514203],_0xfcce2c+0x1))return'nodes.'+_0x71c825;}}return null!=_0x142a2c['shouldReceiveAttributes']&&_0x142a2c['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x142a2c['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x142a2c['wasUndone']&&_0x142a2c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x142a2c['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2af490['fromObject']=function(_0x476a2d,_0x2db5e0){if(_0x476a2d instanceof _0x572cec['InsertOperation'])return _0x476a2d;if(void 0x0===_0x2db5e0&&(_0x2db5e0=0x0),_0x2db5e0>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x18f06a=new _0x572cec['InsertOperation']();if(null!=_0x476a2d['position']){if('object'!=typeof _0x476a2d['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x18f06a['position']=_0x572cec['Position']['fromObject'](_0x476a2d['position'],_0x2db5e0+0x1);}if(_0x476a2d['nodes']){if(!Array['isArray'](_0x476a2d['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x18f06a['nodes']=[];for(var _0x18f781=0x0;_0x18f781<_0x476a2d['nodes']['length'];++_0x18f781){if('object'!=typeof _0x476a2d['nodes'][_0x18f781])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x18f06a['nodes'][_0x18f781]=_0x572cec['Element']['fromObject'](_0x476a2d['nodes'][_0x18f781],_0x2db5e0+0x1);}}return null!=_0x476a2d['shouldReceiveAttributes']&&(_0x18f06a['shouldReceiveAttributes']=Boolean(_0x476a2d['shouldReceiveAttributes'])),null!=_0x476a2d['wasUndone']&&(_0x18f06a['wasUndone']=Boolean(_0x476a2d['wasUndone'])),_0x18f06a;},_0x2af490['toObject']=function(_0x12758d,_0x4844d2){_0x4844d2||(_0x4844d2={});var _0x3770eb={};if((_0x4844d2['arrays']||_0x4844d2['defaults'])&&(_0x3770eb['nodes']=[]),_0x4844d2['defaults']&&(_0x3770eb['position']=null,_0x3770eb['shouldReceiveAttributes']=!0x1,_0x3770eb['wasUndone']=!0x1),null!=_0x12758d['position']&&_0x12758d['hasOwnProperty']('position')&&(_0x3770eb['position']=_0x572cec['Position']['toObject'](_0x12758d['position'],_0x4844d2)),_0x12758d['nodes']&&_0x12758d['nodes']['length']){_0x3770eb['nodes']=[];for(var _0x7a2f68=0x0;_0x7a2f68<_0x12758d['nodes']['length'];++_0x7a2f68)_0x3770eb['nodes'][_0x7a2f68]=_0x572cec['Element']['toObject'](_0x12758d['nodes'][_0x7a2f68],_0x4844d2);}return null!=_0x12758d['shouldReceiveAttributes']&&_0x12758d['hasOwnProperty']('shouldReceiveAttributes')&&(_0x3770eb['shouldReceiveAttributes']=_0x12758d['shouldReceiveAttributes']),null!=_0x12758d['wasUndone']&&_0x12758d['hasOwnProperty']('wasUndone')&&(_0x3770eb['wasUndone']=_0x12758d['wasUndone']),_0x3770eb;},_0x2af490['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x2af490['getTypeUrl']=function(_0x370fe3){return void 0x0===_0x370fe3&&(_0x370fe3='type.googleapis.com'),_0x370fe3+'/InsertOperation';},_0x2af490;}()),_0x572cec['MarkerOperation']=(function(){function _0x29eb64(_0xaeda3a){if(_0xaeda3a){for(var _0x3262da=Object['keys'](_0xaeda3a),_0x3835a7=0x0;_0x3835a7<_0x3262da['length'];++_0x3835a7)null!=_0xaeda3a[_0x3262da[_0x3835a7]]&&'__proto__'!==_0x3262da[_0x3835a7]&&(this[_0x3262da[_0x3835a7]]=_0xaeda3a[_0x3262da[_0x3835a7]]);}}return _0x29eb64['prototype']['name']='',_0x29eb64['prototype']['oldRange']=null,_0x29eb64['prototype']['newRange']=null,_0x29eb64['prototype']['affectsData']=!0x1,_0x29eb64['prototype']['wasUndone']=!0x1,_0x29eb64['create']=function(_0x236b75){return new _0x29eb64(_0x236b75);},_0x29eb64['encode']=function(_0x9322de,_0x402a6e){return _0x402a6e||(_0x402a6e=_0x45d252['create']()),null!=_0x9322de['name']&&Object['hasOwnProperty']['call'](_0x9322de,'name')&&_0x402a6e['uint32'](0xa)['string'](_0x9322de['name']),null!=_0x9322de['oldRange']&&Object['hasOwnProperty']['call'](_0x9322de,'oldRange')&&_0x572cec['Range']['encode'](_0x9322de['oldRange'],_0x402a6e['uint32'](0x12)['fork']())['ldelim'](),null!=_0x9322de['newRange']&&Object['hasOwnProperty']['call'](_0x9322de,'newRange')&&_0x572cec['Range']['encode'](_0x9322de['newRange'],_0x402a6e['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x9322de['affectsData']&&Object['hasOwnProperty']['call'](_0x9322de,'affectsData')&&_0x402a6e['uint32'](0x20)['bool'](_0x9322de['affectsData']),null!=_0x9322de['wasUndone']&&Object['hasOwnProperty']['call'](_0x9322de,'wasUndone')&&_0x402a6e['uint32'](0x28)['bool'](_0x9322de['wasUndone']),_0x402a6e;},_0x29eb64['encodeDelimited']=function(_0x49ff2b,_0x26151e){return this['encode'](_0x49ff2b,_0x26151e)['ldelim']();},_0x29eb64['decode']=function(_0x18dc49,_0x1190fc,_0x2a2638,_0x31b776){if(_0x18dc49 instanceof _0x25c230||(_0x18dc49=_0x25c230['create'](_0x18dc49)),void 0x0===_0x31b776&&(_0x31b776=0x0),_0x31b776>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50c93a=void 0x0===_0x1190fc?_0x18dc49['len']:_0x18dc49['pos']+_0x1190fc,_0x1b8228=new _0x572cec['MarkerOperation']();_0x18dc49['pos']<_0x50c93a;){var _0x2f7d69=_0x18dc49['uint32']();if(_0x2f7d69===_0x2a2638)break;switch(_0x2f7d69>>>0x3){case 0x1:_0x1b8228['name']=_0x18dc49['string']();break;case 0x2:_0x1b8228['oldRange']=_0x572cec['Range']['decode'](_0x18dc49,_0x18dc49['uint32'](),void 0x0,_0x31b776+0x1);break;case 0x3:_0x1b8228['newRange']=_0x572cec['Range']['decode'](_0x18dc49,_0x18dc49['uint32'](),void 0x0,_0x31b776+0x1);break;case 0x4:_0x1b8228['affectsData']=_0x18dc49['bool']();break;case 0x5:_0x1b8228['wasUndone']=_0x18dc49['bool']();break;default:_0x18dc49['skipType'](0x7&_0x2f7d69,_0x31b776);}}return _0x1b8228;},_0x29eb64['decodeDelimited']=function(_0x48133e){return _0x48133e instanceof _0x25c230||(_0x48133e=new _0x25c230(_0x48133e)),this['decode'](_0x48133e,_0x48133e['uint32']());},_0x29eb64['verify']=function(_0x206598,_0x20971f){if('object'!=typeof _0x206598||null===_0x206598)return'object\x20expected';if(void 0x0===_0x20971f&&(_0x20971f=0x0),_0x20971f>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x206598['name']&&_0x206598['hasOwnProperty']('name')&&!_0x3bdeaa['isString'](_0x206598['name']))return'name:\x20string\x20expected';var _0x44f630;if(null!=_0x206598['oldRange']&&_0x206598['hasOwnProperty']('oldRange')&&(_0x44f630=_0x572cec['Range']['verify'](_0x206598['oldRange'],_0x20971f+0x1)))return'oldRange.'+_0x44f630;if(null!=_0x206598['newRange']&&_0x206598['hasOwnProperty']('newRange')&&(_0x44f630=_0x572cec['Range']['verify'](_0x206598['newRange'],_0x20971f+0x1)))return'newRange.'+_0x44f630;return null!=_0x206598['affectsData']&&_0x206598['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x206598['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x206598['wasUndone']&&_0x206598['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x206598['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x29eb64['fromObject']=function(_0x15929e,_0x569859){if(_0x15929e instanceof _0x572cec['MarkerOperation'])return _0x15929e;if(void 0x0===_0x569859&&(_0x569859=0x0),_0x569859>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x24f90f=new _0x572cec['MarkerOperation']();if(null!=_0x15929e['name']&&(_0x24f90f['name']=String(_0x15929e['name'])),null!=_0x15929e['oldRange']){if('object'!=typeof _0x15929e['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x24f90f['oldRange']=_0x572cec['Range']['fromObject'](_0x15929e['oldRange'],_0x569859+0x1);}if(null!=_0x15929e['newRange']){if('object'!=typeof _0x15929e['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x24f90f['newRange']=_0x572cec['Range']['fromObject'](_0x15929e['newRange'],_0x569859+0x1);}return null!=_0x15929e['affectsData']&&(_0x24f90f['affectsData']=Boolean(_0x15929e['affectsData'])),null!=_0x15929e['wasUndone']&&(_0x24f90f['wasUndone']=Boolean(_0x15929e['wasUndone'])),_0x24f90f;},_0x29eb64['toObject']=function(_0x2e670d,_0x355b50){_0x355b50||(_0x355b50={});var _0x177291={};return _0x355b50['defaults']&&(_0x177291['name']='',_0x177291['oldRange']=null,_0x177291['newRange']=null,_0x177291['affectsData']=!0x1,_0x177291['wasUndone']=!0x1),null!=_0x2e670d['name']&&_0x2e670d['hasOwnProperty']('name')&&(_0x177291['name']=_0x2e670d['name']),null!=_0x2e670d['oldRange']&&_0x2e670d['hasOwnProperty']('oldRange')&&(_0x177291['oldRange']=_0x572cec['Range']['toObject'](_0x2e670d['oldRange'],_0x355b50)),null!=_0x2e670d['newRange']&&_0x2e670d['hasOwnProperty']('newRange')&&(_0x177291['newRange']=_0x572cec['Range']['toObject'](_0x2e670d['newRange'],_0x355b50)),null!=_0x2e670d['affectsData']&&_0x2e670d['hasOwnProperty']('affectsData')&&(_0x177291['affectsData']=_0x2e670d['affectsData']),null!=_0x2e670d['wasUndone']&&_0x2e670d['hasOwnProperty']('wasUndone')&&(_0x177291['wasUndone']=_0x2e670d['wasUndone']),_0x177291;},_0x29eb64['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x29eb64['getTypeUrl']=function(_0x242939){return void 0x0===_0x242939&&(_0x242939='type.googleapis.com'),_0x242939+'/MarkerOperation';},_0x29eb64;}()),_0x572cec['MergeOperation']=(function(){function _0x292cd6(_0x3e90a1){if(_0x3e90a1){for(var _0x26c319=Object['keys'](_0x3e90a1),_0xf43b07=0x0;_0xf43b07<_0x26c319['length'];++_0xf43b07)null!=_0x3e90a1[_0x26c319[_0xf43b07]]&&'__proto__'!==_0x26c319[_0xf43b07]&&(this[_0x26c319[_0xf43b07]]=_0x3e90a1[_0x26c319[_0xf43b07]]);}}return _0x292cd6['prototype']['sourcePosition']=null,_0x292cd6['prototype']['targetPosition']=null,_0x292cd6['prototype']['graveyardPosition']=null,_0x292cd6['prototype']['howMany']=0x0,_0x292cd6['prototype']['wasUndone']=!0x1,_0x292cd6['create']=function(_0x5d39d5){return new _0x292cd6(_0x5d39d5);},_0x292cd6['encode']=function(_0x3bdcad,_0x233e2f){return _0x233e2f||(_0x233e2f=_0x45d252['create']()),null!=_0x3bdcad['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3bdcad,'sourcePosition')&&_0x572cec['Position']['encode'](_0x3bdcad['sourcePosition'],_0x233e2f['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3bdcad['targetPosition']&&Object['hasOwnProperty']['call'](_0x3bdcad,'targetPosition')&&_0x572cec['Position']['encode'](_0x3bdcad['targetPosition'],_0x233e2f['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3bdcad['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x3bdcad,'graveyardPosition')&&_0x572cec['Position']['encode'](_0x3bdcad['graveyardPosition'],_0x233e2f['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3bdcad['howMany']&&Object['hasOwnProperty']['call'](_0x3bdcad,'howMany')&&_0x233e2f['uint32'](0x20)['uint32'](_0x3bdcad['howMany']),null!=_0x3bdcad['wasUndone']&&Object['hasOwnProperty']['call'](_0x3bdcad,'wasUndone')&&_0x233e2f['uint32'](0x28)['bool'](_0x3bdcad['wasUndone']),_0x233e2f;},_0x292cd6['encodeDelimited']=function(_0x330e09,_0x47a6dd){return this['encode'](_0x330e09,_0x47a6dd)['ldelim']();},_0x292cd6['decode']=function(_0x90f01,_0x53aa14,_0x1ecf96,_0x580744){if(_0x90f01 instanceof _0x25c230||(_0x90f01=_0x25c230['create'](_0x90f01)),void 0x0===_0x580744&&(_0x580744=0x0),_0x580744>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2924bc=void 0x0===_0x53aa14?_0x90f01['len']:_0x90f01['pos']+_0x53aa14,_0x33ecae=new _0x572cec['MergeOperation']();_0x90f01['pos']<_0x2924bc;){var _0x4a37ce=_0x90f01['uint32']();if(_0x4a37ce===_0x1ecf96)break;switch(_0x4a37ce>>>0x3){case 0x1:_0x33ecae['sourcePosition']=_0x572cec['Position']['decode'](_0x90f01,_0x90f01['uint32'](),void 0x0,_0x580744+0x1);break;case 0x2:_0x33ecae['targetPosition']=_0x572cec['Position']['decode'](_0x90f01,_0x90f01['uint32'](),void 0x0,_0x580744+0x1);break;case 0x3:_0x33ecae['graveyardPosition']=_0x572cec['Position']['decode'](_0x90f01,_0x90f01['uint32'](),void 0x0,_0x580744+0x1);break;case 0x4:_0x33ecae['howMany']=_0x90f01['uint32']();break;case 0x5:_0x33ecae['wasUndone']=_0x90f01['bool']();break;default:_0x90f01['skipType'](0x7&_0x4a37ce,_0x580744);}}return _0x33ecae;},_0x292cd6['decodeDelimited']=function(_0x24f4ef){return _0x24f4ef instanceof _0x25c230||(_0x24f4ef=new _0x25c230(_0x24f4ef)),this['decode'](_0x24f4ef,_0x24f4ef['uint32']());},_0x292cd6['verify']=function(_0x46916a,_0x4ca5ce){if('object'!=typeof _0x46916a||null===_0x46916a)return'object\x20expected';if(void 0x0===_0x4ca5ce&&(_0x4ca5ce=0x0),_0x4ca5ce>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x1bca9a;if(null!=_0x46916a['sourcePosition']&&_0x46916a['hasOwnProperty']('sourcePosition')&&(_0x1bca9a=_0x572cec['Position']['verify'](_0x46916a['sourcePosition'],_0x4ca5ce+0x1)))return'sourcePosition.'+_0x1bca9a;if(null!=_0x46916a['targetPosition']&&_0x46916a['hasOwnProperty']('targetPosition')&&(_0x1bca9a=_0x572cec['Position']['verify'](_0x46916a['targetPosition'],_0x4ca5ce+0x1)))return'targetPosition.'+_0x1bca9a;if(null!=_0x46916a['graveyardPosition']&&_0x46916a['hasOwnProperty']('graveyardPosition')&&(_0x1bca9a=_0x572cec['Position']['verify'](_0x46916a['graveyardPosition'],_0x4ca5ce+0x1)))return'graveyardPosition.'+_0x1bca9a;return null!=_0x46916a['howMany']&&_0x46916a['hasOwnProperty']('howMany')&&!_0x3bdeaa['isInteger'](_0x46916a['howMany'])?'howMany:\x20integer\x20expected':null!=_0x46916a['wasUndone']&&_0x46916a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x46916a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x292cd6['fromObject']=function(_0x1e61aa,_0x3bad9f){if(_0x1e61aa instanceof _0x572cec['MergeOperation'])return _0x1e61aa;if(void 0x0===_0x3bad9f&&(_0x3bad9f=0x0),_0x3bad9f>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b0210=new _0x572cec['MergeOperation']();if(null!=_0x1e61aa['sourcePosition']){if('object'!=typeof _0x1e61aa['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x2b0210['sourcePosition']=_0x572cec['Position']['fromObject'](_0x1e61aa['sourcePosition'],_0x3bad9f+0x1);}if(null!=_0x1e61aa['targetPosition']){if('object'!=typeof _0x1e61aa['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x2b0210['targetPosition']=_0x572cec['Position']['fromObject'](_0x1e61aa['targetPosition'],_0x3bad9f+0x1);}if(null!=_0x1e61aa['graveyardPosition']){if('object'!=typeof _0x1e61aa['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x2b0210['graveyardPosition']=_0x572cec['Position']['fromObject'](_0x1e61aa['graveyardPosition'],_0x3bad9f+0x1);}return null!=_0x1e61aa['howMany']&&(_0x2b0210['howMany']=_0x1e61aa['howMany']>>>0x0),null!=_0x1e61aa['wasUndone']&&(_0x2b0210['wasUndone']=Boolean(_0x1e61aa['wasUndone'])),_0x2b0210;},_0x292cd6['toObject']=function(_0x2ea247,_0x1a33b3){_0x1a33b3||(_0x1a33b3={});var _0x402b5c={};return _0x1a33b3['defaults']&&(_0x402b5c['sourcePosition']=null,_0x402b5c['targetPosition']=null,_0x402b5c['graveyardPosition']=null,_0x402b5c['howMany']=0x0,_0x402b5c['wasUndone']=!0x1),null!=_0x2ea247['sourcePosition']&&_0x2ea247['hasOwnProperty']('sourcePosition')&&(_0x402b5c['sourcePosition']=_0x572cec['Position']['toObject'](_0x2ea247['sourcePosition'],_0x1a33b3)),null!=_0x2ea247['targetPosition']&&_0x2ea247['hasOwnProperty']('targetPosition')&&(_0x402b5c['targetPosition']=_0x572cec['Position']['toObject'](_0x2ea247['targetPosition'],_0x1a33b3)),null!=_0x2ea247['graveyardPosition']&&_0x2ea247['hasOwnProperty']('graveyardPosition')&&(_0x402b5c['graveyardPosition']=_0x572cec['Position']['toObject'](_0x2ea247['graveyardPosition'],_0x1a33b3)),null!=_0x2ea247['howMany']&&_0x2ea247['hasOwnProperty']('howMany')&&(_0x402b5c['howMany']=_0x2ea247['howMany']),null!=_0x2ea247['wasUndone']&&_0x2ea247['hasOwnProperty']('wasUndone')&&(_0x402b5c['wasUndone']=_0x2ea247['wasUndone']),_0x402b5c;},_0x292cd6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x292cd6['getTypeUrl']=function(_0x9657dd){return void 0x0===_0x9657dd&&(_0x9657dd='type.googleapis.com'),_0x9657dd+'/MergeOperation';},_0x292cd6;}()),_0x572cec['MoveOperation']=(function(){function _0x5c864e(_0x36b83f){if(_0x36b83f){for(var _0x5f485a=Object['keys'](_0x36b83f),_0xa2d657=0x0;_0xa2d657<_0x5f485a['length'];++_0xa2d657)null!=_0x36b83f[_0x5f485a[_0xa2d657]]&&'__proto__'!==_0x5f485a[_0xa2d657]&&(this[_0x5f485a[_0xa2d657]]=_0x36b83f[_0x5f485a[_0xa2d657]]);}}return _0x5c864e['prototype']['sourcePosition']=null,_0x5c864e['prototype']['howMany']=0x0,_0x5c864e['prototype']['targetPosition']=null,_0x5c864e['prototype']['wasUndone']=!0x1,_0x5c864e['create']=function(_0x3b8d0b){return new _0x5c864e(_0x3b8d0b);},_0x5c864e['encode']=function(_0x7112fa,_0x3ea4d2){return _0x3ea4d2||(_0x3ea4d2=_0x45d252['create']()),null!=_0x7112fa['sourcePosition']&&Object['hasOwnProperty']['call'](_0x7112fa,'sourcePosition')&&_0x572cec['Position']['encode'](_0x7112fa['sourcePosition'],_0x3ea4d2['uint32'](0xa)['fork']())['ldelim'](),null!=_0x7112fa['howMany']&&Object['hasOwnProperty']['call'](_0x7112fa,'howMany')&&_0x3ea4d2['uint32'](0x10)['uint32'](_0x7112fa['howMany']),null!=_0x7112fa['targetPosition']&&Object['hasOwnProperty']['call'](_0x7112fa,'targetPosition')&&_0x572cec['Position']['encode'](_0x7112fa['targetPosition'],_0x3ea4d2['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x7112fa['wasUndone']&&Object['hasOwnProperty']['call'](_0x7112fa,'wasUndone')&&_0x3ea4d2['uint32'](0x20)['bool'](_0x7112fa['wasUndone']),_0x3ea4d2;},_0x5c864e['encodeDelimited']=function(_0x35fe0f,_0x35a77f){return this['encode'](_0x35fe0f,_0x35a77f)['ldelim']();},_0x5c864e['decode']=function(_0x5b66e1,_0x53334c,_0x4a09e9,_0x4bf0e8){if(_0x5b66e1 instanceof _0x25c230||(_0x5b66e1=_0x25c230['create'](_0x5b66e1)),void 0x0===_0x4bf0e8&&(_0x4bf0e8=0x0),_0x4bf0e8>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5032fb=void 0x0===_0x53334c?_0x5b66e1['len']:_0x5b66e1['pos']+_0x53334c,_0x5977b0=new _0x572cec['MoveOperation']();_0x5b66e1['pos']<_0x5032fb;){var _0x1ad53d=_0x5b66e1['uint32']();if(_0x1ad53d===_0x4a09e9)break;switch(_0x1ad53d>>>0x3){case 0x1:_0x5977b0['sourcePosition']=_0x572cec['Position']['decode'](_0x5b66e1,_0x5b66e1['uint32'](),void 0x0,_0x4bf0e8+0x1);break;case 0x2:_0x5977b0['howMany']=_0x5b66e1['uint32']();break;case 0x3:_0x5977b0['targetPosition']=_0x572cec['Position']['decode'](_0x5b66e1,_0x5b66e1['uint32'](),void 0x0,_0x4bf0e8+0x1);break;case 0x4:_0x5977b0['wasUndone']=_0x5b66e1['bool']();break;default:_0x5b66e1['skipType'](0x7&_0x1ad53d,_0x4bf0e8);}}return _0x5977b0;},_0x5c864e['decodeDelimited']=function(_0x1b54e7){return _0x1b54e7 instanceof _0x25c230||(_0x1b54e7=new _0x25c230(_0x1b54e7)),this['decode'](_0x1b54e7,_0x1b54e7['uint32']());},_0x5c864e['verify']=function(_0x3628b0,_0x4b3455){if('object'!=typeof _0x3628b0||null===_0x3628b0)return'object\x20expected';if(void 0x0===_0x4b3455&&(_0x4b3455=0x0),_0x4b3455>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x5ca1b0;if(null!=_0x3628b0['sourcePosition']&&_0x3628b0['hasOwnProperty']('sourcePosition')&&(_0x5ca1b0=_0x572cec['Position']['verify'](_0x3628b0['sourcePosition'],_0x4b3455+0x1)))return'sourcePosition.'+_0x5ca1b0;if(null!=_0x3628b0['howMany']&&_0x3628b0['hasOwnProperty']('howMany')&&!_0x3bdeaa['isInteger'](_0x3628b0['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3628b0['targetPosition']&&_0x3628b0['hasOwnProperty']('targetPosition')&&(_0x5ca1b0=_0x572cec['Position']['verify'](_0x3628b0['targetPosition'],_0x4b3455+0x1)))return'targetPosition.'+_0x5ca1b0;return null!=_0x3628b0['wasUndone']&&_0x3628b0['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3628b0['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5c864e['fromObject']=function(_0x54531b,_0x5d072c){if(_0x54531b instanceof _0x572cec['MoveOperation'])return _0x54531b;if(void 0x0===_0x5d072c&&(_0x5d072c=0x0),_0x5d072c>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5199ca=new _0x572cec['MoveOperation']();if(null!=_0x54531b['sourcePosition']){if('object'!=typeof _0x54531b['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x5199ca['sourcePosition']=_0x572cec['Position']['fromObject'](_0x54531b['sourcePosition'],_0x5d072c+0x1);}if(null!=_0x54531b['howMany']&&(_0x5199ca['howMany']=_0x54531b['howMany']>>>0x0),null!=_0x54531b['targetPosition']){if('object'!=typeof _0x54531b['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x5199ca['targetPosition']=_0x572cec['Position']['fromObject'](_0x54531b['targetPosition'],_0x5d072c+0x1);}return null!=_0x54531b['wasUndone']&&(_0x5199ca['wasUndone']=Boolean(_0x54531b['wasUndone'])),_0x5199ca;},_0x5c864e['toObject']=function(_0x5aa2da,_0x415708){_0x415708||(_0x415708={});var _0x2c0e04={};return _0x415708['defaults']&&(_0x2c0e04['sourcePosition']=null,_0x2c0e04['howMany']=0x0,_0x2c0e04['targetPosition']=null,_0x2c0e04['wasUndone']=!0x1),null!=_0x5aa2da['sourcePosition']&&_0x5aa2da['hasOwnProperty']('sourcePosition')&&(_0x2c0e04['sourcePosition']=_0x572cec['Position']['toObject'](_0x5aa2da['sourcePosition'],_0x415708)),null!=_0x5aa2da['howMany']&&_0x5aa2da['hasOwnProperty']('howMany')&&(_0x2c0e04['howMany']=_0x5aa2da['howMany']),null!=_0x5aa2da['targetPosition']&&_0x5aa2da['hasOwnProperty']('targetPosition')&&(_0x2c0e04['targetPosition']=_0x572cec['Position']['toObject'](_0x5aa2da['targetPosition'],_0x415708)),null!=_0x5aa2da['wasUndone']&&_0x5aa2da['hasOwnProperty']('wasUndone')&&(_0x2c0e04['wasUndone']=_0x5aa2da['wasUndone']),_0x2c0e04;},_0x5c864e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x5c864e['getTypeUrl']=function(_0x562c01){return void 0x0===_0x562c01&&(_0x562c01='type.googleapis.com'),_0x562c01+'/MoveOperation';},_0x5c864e;}()),_0x572cec['RenameOperation']=(function(){function _0x3bd60d(_0x35a5d0){if(_0x35a5d0){for(var _0x1115b1=Object['keys'](_0x35a5d0),_0x56a207=0x0;_0x56a207<_0x1115b1['length'];++_0x56a207)null!=_0x35a5d0[_0x1115b1[_0x56a207]]&&'__proto__'!==_0x1115b1[_0x56a207]&&(this[_0x1115b1[_0x56a207]]=_0x35a5d0[_0x1115b1[_0x56a207]]);}}return _0x3bd60d['prototype']['position']=null,_0x3bd60d['prototype']['oldName']='',_0x3bd60d['prototype']['newName']='',_0x3bd60d['prototype']['wasUndone']=!0x1,_0x3bd60d['create']=function(_0x5e5e89){return new _0x3bd60d(_0x5e5e89);},_0x3bd60d['encode']=function(_0x53955d,_0x56435d){return _0x56435d||(_0x56435d=_0x45d252['create']()),null!=_0x53955d['position']&&Object['hasOwnProperty']['call'](_0x53955d,'position')&&_0x572cec['Position']['encode'](_0x53955d['position'],_0x56435d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x53955d['oldName']&&Object['hasOwnProperty']['call'](_0x53955d,'oldName')&&_0x56435d['uint32'](0x12)['string'](_0x53955d['oldName']),null!=_0x53955d['newName']&&Object['hasOwnProperty']['call'](_0x53955d,'newName')&&_0x56435d['uint32'](0x1a)['string'](_0x53955d['newName']),null!=_0x53955d['wasUndone']&&Object['hasOwnProperty']['call'](_0x53955d,'wasUndone')&&_0x56435d['uint32'](0x20)['bool'](_0x53955d['wasUndone']),_0x56435d;},_0x3bd60d['encodeDelimited']=function(_0x19e22e,_0x50b1f5){return this['encode'](_0x19e22e,_0x50b1f5)['ldelim']();},_0x3bd60d['decode']=function(_0x24cbb3,_0xd48f7d,_0x21c5c3,_0x16cb0e){if(_0x24cbb3 instanceof _0x25c230||(_0x24cbb3=_0x25c230['create'](_0x24cbb3)),void 0x0===_0x16cb0e&&(_0x16cb0e=0x0),_0x16cb0e>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x251c02=void 0x0===_0xd48f7d?_0x24cbb3['len']:_0x24cbb3['pos']+_0xd48f7d,_0x1ab158=new _0x572cec['RenameOperation']();_0x24cbb3['pos']<_0x251c02;){var _0x47b82a=_0x24cbb3['uint32']();if(_0x47b82a===_0x21c5c3)break;switch(_0x47b82a>>>0x3){case 0x1:_0x1ab158['position']=_0x572cec['Position']['decode'](_0x24cbb3,_0x24cbb3['uint32'](),void 0x0,_0x16cb0e+0x1);break;case 0x2:_0x1ab158['oldName']=_0x24cbb3['string']();break;case 0x3:_0x1ab158['newName']=_0x24cbb3['string']();break;case 0x4:_0x1ab158['wasUndone']=_0x24cbb3['bool']();break;default:_0x24cbb3['skipType'](0x7&_0x47b82a,_0x16cb0e);}}return _0x1ab158;},_0x3bd60d['decodeDelimited']=function(_0xce1472){return _0xce1472 instanceof _0x25c230||(_0xce1472=new _0x25c230(_0xce1472)),this['decode'](_0xce1472,_0xce1472['uint32']());},_0x3bd60d['verify']=function(_0x29a52d,_0x3ad26b){if('object'!=typeof _0x29a52d||null===_0x29a52d)return'object\x20expected';if(void 0x0===_0x3ad26b&&(_0x3ad26b=0x0),_0x3ad26b>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x29a52d['position']&&_0x29a52d['hasOwnProperty']('position')){var _0xf6df20=_0x572cec['Position']['verify'](_0x29a52d['position'],_0x3ad26b+0x1);if(_0xf6df20)return'position.'+_0xf6df20;}return null!=_0x29a52d['oldName']&&_0x29a52d['hasOwnProperty']('oldName')&&!_0x3bdeaa['isString'](_0x29a52d['oldName'])?'oldName:\x20string\x20expected':null!=_0x29a52d['newName']&&_0x29a52d['hasOwnProperty']('newName')&&!_0x3bdeaa['isString'](_0x29a52d['newName'])?'newName:\x20string\x20expected':null!=_0x29a52d['wasUndone']&&_0x29a52d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x29a52d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3bd60d['fromObject']=function(_0x5b12c5,_0x31e946){if(_0x5b12c5 instanceof _0x572cec['RenameOperation'])return _0x5b12c5;if(void 0x0===_0x31e946&&(_0x31e946=0x0),_0x31e946>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4cc102=new _0x572cec['RenameOperation']();if(null!=_0x5b12c5['position']){if('object'!=typeof _0x5b12c5['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x4cc102['position']=_0x572cec['Position']['fromObject'](_0x5b12c5['position'],_0x31e946+0x1);}return null!=_0x5b12c5['oldName']&&(_0x4cc102['oldName']=String(_0x5b12c5['oldName'])),null!=_0x5b12c5['newName']&&(_0x4cc102['newName']=String(_0x5b12c5['newName'])),null!=_0x5b12c5['wasUndone']&&(_0x4cc102['wasUndone']=Boolean(_0x5b12c5['wasUndone'])),_0x4cc102;},_0x3bd60d['toObject']=function(_0x2e4555,_0x2dae51){_0x2dae51||(_0x2dae51={});var _0x3beb36={};return _0x2dae51['defaults']&&(_0x3beb36['position']=null,_0x3beb36['oldName']='',_0x3beb36['newName']='',_0x3beb36['wasUndone']=!0x1),null!=_0x2e4555['position']&&_0x2e4555['hasOwnProperty']('position')&&(_0x3beb36['position']=_0x572cec['Position']['toObject'](_0x2e4555['position'],_0x2dae51)),null!=_0x2e4555['oldName']&&_0x2e4555['hasOwnProperty']('oldName')&&(_0x3beb36['oldName']=_0x2e4555['oldName']),null!=_0x2e4555['newName']&&_0x2e4555['hasOwnProperty']('newName')&&(_0x3beb36['newName']=_0x2e4555['newName']),null!=_0x2e4555['wasUndone']&&_0x2e4555['hasOwnProperty']('wasUndone')&&(_0x3beb36['wasUndone']=_0x2e4555['wasUndone']),_0x3beb36;},_0x3bd60d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3bd60d['getTypeUrl']=function(_0x1bf0e4){return void 0x0===_0x1bf0e4&&(_0x1bf0e4='type.googleapis.com'),_0x1bf0e4+'/RenameOperation';},_0x3bd60d;}()),_0x572cec['RootAttributeOperation']=(function(){function _0x33c18c(_0x5baf59){if(_0x5baf59){for(var _0x378c25=Object['keys'](_0x5baf59),_0x465e51=0x0;_0x465e51<_0x378c25['length'];++_0x465e51)null!=_0x5baf59[_0x378c25[_0x465e51]]&&'__proto__'!==_0x378c25[_0x465e51]&&(this[_0x378c25[_0x465e51]]=_0x5baf59[_0x378c25[_0x465e51]]);}}return _0x33c18c['prototype']['root']='',_0x33c18c['prototype']['key']='',_0x33c18c['prototype']['oldValueBoolean']=!0x1,_0x33c18c['prototype']['oldValueJson']='',_0x33c18c['prototype']['newValueBoolean']=!0x1,_0x33c18c['prototype']['newValueJson']='',_0x33c18c['prototype']['wasUndone']=!0x1,_0x33c18c['create']=function(_0x42393f){return new _0x33c18c(_0x42393f);},_0x33c18c['encode']=function(_0x532868,_0x504694){return _0x504694||(_0x504694=_0x45d252['create']()),null!=_0x532868['root']&&Object['hasOwnProperty']['call'](_0x532868,'root')&&_0x504694['uint32'](0xa)['string'](_0x532868['root']),null!=_0x532868['key']&&Object['hasOwnProperty']['call'](_0x532868,'key')&&_0x504694['uint32'](0x12)['string'](_0x532868['key']),null!=_0x532868['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x532868,'oldValueBoolean')&&_0x504694['uint32'](0x18)['bool'](_0x532868['oldValueBoolean']),null!=_0x532868['oldValueJson']&&Object['hasOwnProperty']['call'](_0x532868,'oldValueJson')&&_0x504694['uint32'](0x22)['string'](_0x532868['oldValueJson']),null!=_0x532868['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x532868,'newValueBoolean')&&_0x504694['uint32'](0x28)['bool'](_0x532868['newValueBoolean']),null!=_0x532868['newValueJson']&&Object['hasOwnProperty']['call'](_0x532868,'newValueJson')&&_0x504694['uint32'](0x32)['string'](_0x532868['newValueJson']),null!=_0x532868['wasUndone']&&Object['hasOwnProperty']['call'](_0x532868,'wasUndone')&&_0x504694['uint32'](0x38)['bool'](_0x532868['wasUndone']),_0x504694;},_0x33c18c['encodeDelimited']=function(_0x140aa5,_0x38c702){return this['encode'](_0x140aa5,_0x38c702)['ldelim']();},_0x33c18c['decode']=function(_0x2b1c71,_0x59a8d1,_0x4e829b,_0xd58c07){if(_0x2b1c71 instanceof _0x25c230||(_0x2b1c71=_0x25c230['create'](_0x2b1c71)),void 0x0===_0xd58c07&&(_0xd58c07=0x0),_0xd58c07>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x12ebbc=void 0x0===_0x59a8d1?_0x2b1c71['len']:_0x2b1c71['pos']+_0x59a8d1,_0x325ece=new _0x572cec['RootAttributeOperation']();_0x2b1c71['pos']<_0x12ebbc;){var _0x2437fa=_0x2b1c71['uint32']();if(_0x2437fa===_0x4e829b)break;switch(_0x2437fa>>>0x3){case 0x1:_0x325ece['root']=_0x2b1c71['string']();break;case 0x2:_0x325ece['key']=_0x2b1c71['string']();break;case 0x3:_0x325ece['oldValueBoolean']=_0x2b1c71['bool']();break;case 0x4:_0x325ece['oldValueJson']=_0x2b1c71['string']();break;case 0x5:_0x325ece['newValueBoolean']=_0x2b1c71['bool']();break;case 0x6:_0x325ece['newValueJson']=_0x2b1c71['string']();break;case 0x7:_0x325ece['wasUndone']=_0x2b1c71['bool']();break;default:_0x2b1c71['skipType'](0x7&_0x2437fa,_0xd58c07);}}return _0x325ece;},_0x33c18c['decodeDelimited']=function(_0x67fcb5){return _0x67fcb5 instanceof _0x25c230||(_0x67fcb5=new _0x25c230(_0x67fcb5)),this['decode'](_0x67fcb5,_0x67fcb5['uint32']());},_0x33c18c['verify']=function(_0x21db7a,_0x5b4964){return'object'!=typeof _0x21db7a||null===_0x21db7a?'object\x20expected':(void 0x0===_0x5b4964&&(_0x5b4964=0x0),_0x5b4964>_0x3bdeaa['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x21db7a['root']&&_0x21db7a['hasOwnProperty']('root')&&!_0x3bdeaa['isString'](_0x21db7a['root'])?'root:\x20string\x20expected':null!=_0x21db7a['key']&&_0x21db7a['hasOwnProperty']('key')&&!_0x3bdeaa['isString'](_0x21db7a['key'])?'key:\x20string\x20expected':null!=_0x21db7a['oldValueBoolean']&&_0x21db7a['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x21db7a['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x21db7a['oldValueJson']&&_0x21db7a['hasOwnProperty']('oldValueJson')&&!_0x3bdeaa['isString'](_0x21db7a['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x21db7a['newValueBoolean']&&_0x21db7a['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x21db7a['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x21db7a['newValueJson']&&_0x21db7a['hasOwnProperty']('newValueJson')&&!_0x3bdeaa['isString'](_0x21db7a['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x21db7a['wasUndone']&&_0x21db7a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x21db7a['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x33c18c['fromObject']=function(_0x35dee7,_0xc79cca){if(_0x35dee7 instanceof _0x572cec['RootAttributeOperation'])return _0x35dee7;if(void 0x0===_0xc79cca&&(_0xc79cca=0x0),_0xc79cca>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x61f92b=new _0x572cec['RootAttributeOperation']();return null!=_0x35dee7['root']&&(_0x61f92b['root']=String(_0x35dee7['root'])),null!=_0x35dee7['key']&&(_0x61f92b['key']=String(_0x35dee7['key'])),null!=_0x35dee7['oldValueBoolean']&&(_0x61f92b['oldValueBoolean']=Boolean(_0x35dee7['oldValueBoolean'])),null!=_0x35dee7['oldValueJson']&&(_0x61f92b['oldValueJson']=String(_0x35dee7['oldValueJson'])),null!=_0x35dee7['newValueBoolean']&&(_0x61f92b['newValueBoolean']=Boolean(_0x35dee7['newValueBoolean'])),null!=_0x35dee7['newValueJson']&&(_0x61f92b['newValueJson']=String(_0x35dee7['newValueJson'])),null!=_0x35dee7['wasUndone']&&(_0x61f92b['wasUndone']=Boolean(_0x35dee7['wasUndone'])),_0x61f92b;},_0x33c18c['toObject']=function(_0x321099,_0x6567b6){_0x6567b6||(_0x6567b6={});var _0x319b53={};return _0x6567b6['defaults']&&(_0x319b53['root']='',_0x319b53['key']='',_0x319b53['oldValueBoolean']=!0x1,_0x319b53['oldValueJson']='',_0x319b53['newValueBoolean']=!0x1,_0x319b53['newValueJson']='',_0x319b53['wasUndone']=!0x1),null!=_0x321099['root']&&_0x321099['hasOwnProperty']('root')&&(_0x319b53['root']=_0x321099['root']),null!=_0x321099['key']&&_0x321099['hasOwnProperty']('key')&&(_0x319b53['key']=_0x321099['key']),null!=_0x321099['oldValueBoolean']&&_0x321099['hasOwnProperty']('oldValueBoolean')&&(_0x319b53['oldValueBoolean']=_0x321099['oldValueBoolean']),null!=_0x321099['oldValueJson']&&_0x321099['hasOwnProperty']('oldValueJson')&&(_0x319b53['oldValueJson']=_0x321099['oldValueJson']),null!=_0x321099['newValueBoolean']&&_0x321099['hasOwnProperty']('newValueBoolean')&&(_0x319b53['newValueBoolean']=_0x321099['newValueBoolean']),null!=_0x321099['newValueJson']&&_0x321099['hasOwnProperty']('newValueJson')&&(_0x319b53['newValueJson']=_0x321099['newValueJson']),null!=_0x321099['wasUndone']&&_0x321099['hasOwnProperty']('wasUndone')&&(_0x319b53['wasUndone']=_0x321099['wasUndone']),_0x319b53;},_0x33c18c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x33c18c['getTypeUrl']=function(_0x15ce2b){return void 0x0===_0x15ce2b&&(_0x15ce2b='type.googleapis.com'),_0x15ce2b+'/RootAttributeOperation';},_0x33c18c;}()),_0x572cec['RootOperation']=(function(){function _0x3907d2(_0x2e4a63){if(_0x2e4a63){for(var _0x279457=Object['keys'](_0x2e4a63),_0x314416=0x0;_0x314416<_0x279457['length'];++_0x314416)null!=_0x2e4a63[_0x279457[_0x314416]]&&'__proto__'!==_0x279457[_0x314416]&&(this[_0x279457[_0x314416]]=_0x2e4a63[_0x279457[_0x314416]]);}}return _0x3907d2['prototype']['rootName']='',_0x3907d2['prototype']['elementName']='',_0x3907d2['prototype']['isAdd']=!0x1,_0x3907d2['prototype']['wasUndone']=!0x1,_0x3907d2['create']=function(_0x4f6023){return new _0x3907d2(_0x4f6023);},_0x3907d2['encode']=function(_0x118cef,_0xac7967){return _0xac7967||(_0xac7967=_0x45d252['create']()),null!=_0x118cef['rootName']&&Object['hasOwnProperty']['call'](_0x118cef,'rootName')&&_0xac7967['uint32'](0xa)['string'](_0x118cef['rootName']),null!=_0x118cef['elementName']&&Object['hasOwnProperty']['call'](_0x118cef,'elementName')&&_0xac7967['uint32'](0x12)['string'](_0x118cef['elementName']),null!=_0x118cef['isAdd']&&Object['hasOwnProperty']['call'](_0x118cef,'isAdd')&&_0xac7967['uint32'](0x18)['bool'](_0x118cef['isAdd']),null!=_0x118cef['wasUndone']&&Object['hasOwnProperty']['call'](_0x118cef,'wasUndone')&&_0xac7967['uint32'](0x20)['bool'](_0x118cef['wasUndone']),_0xac7967;},_0x3907d2['encodeDelimited']=function(_0x2071d9,_0x59ecf6){return this['encode'](_0x2071d9,_0x59ecf6)['ldelim']();},_0x3907d2['decode']=function(_0x1d37b4,_0x1c58a7,_0x324a96,_0x18365c){if(_0x1d37b4 instanceof _0x25c230||(_0x1d37b4=_0x25c230['create'](_0x1d37b4)),void 0x0===_0x18365c&&(_0x18365c=0x0),_0x18365c>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c6dc9=void 0x0===_0x1c58a7?_0x1d37b4['len']:_0x1d37b4['pos']+_0x1c58a7,_0x292d88=new _0x572cec['RootOperation']();_0x1d37b4['pos']<_0x2c6dc9;){var _0x5442d9=_0x1d37b4['uint32']();if(_0x5442d9===_0x324a96)break;switch(_0x5442d9>>>0x3){case 0x1:_0x292d88['rootName']=_0x1d37b4['string']();break;case 0x2:_0x292d88['elementName']=_0x1d37b4['string']();break;case 0x3:_0x292d88['isAdd']=_0x1d37b4['bool']();break;case 0x4:_0x292d88['wasUndone']=_0x1d37b4['bool']();break;default:_0x1d37b4['skipType'](0x7&_0x5442d9,_0x18365c);}}return _0x292d88;},_0x3907d2['decodeDelimited']=function(_0x47d534){return _0x47d534 instanceof _0x25c230||(_0x47d534=new _0x25c230(_0x47d534)),this['decode'](_0x47d534,_0x47d534['uint32']());},_0x3907d2['verify']=function(_0x32fdcd,_0x14fae6){return'object'!=typeof _0x32fdcd||null===_0x32fdcd?'object\x20expected':(void 0x0===_0x14fae6&&(_0x14fae6=0x0),_0x14fae6>_0x3bdeaa['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x32fdcd['rootName']&&_0x32fdcd['hasOwnProperty']('rootName')&&!_0x3bdeaa['isString'](_0x32fdcd['rootName'])?'rootName:\x20string\x20expected':null!=_0x32fdcd['elementName']&&_0x32fdcd['hasOwnProperty']('elementName')&&!_0x3bdeaa['isString'](_0x32fdcd['elementName'])?'elementName:\x20string\x20expected':null!=_0x32fdcd['isAdd']&&_0x32fdcd['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x32fdcd['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x32fdcd['wasUndone']&&_0x32fdcd['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x32fdcd['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x3907d2['fromObject']=function(_0x2a85bb,_0x38dd17){if(_0x2a85bb instanceof _0x572cec['RootOperation'])return _0x2a85bb;if(void 0x0===_0x38dd17&&(_0x38dd17=0x0),_0x38dd17>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x626dc8=new _0x572cec['RootOperation']();return null!=_0x2a85bb['rootName']&&(_0x626dc8['rootName']=String(_0x2a85bb['rootName'])),null!=_0x2a85bb['elementName']&&(_0x626dc8['elementName']=String(_0x2a85bb['elementName'])),null!=_0x2a85bb['isAdd']&&(_0x626dc8['isAdd']=Boolean(_0x2a85bb['isAdd'])),null!=_0x2a85bb['wasUndone']&&(_0x626dc8['wasUndone']=Boolean(_0x2a85bb['wasUndone'])),_0x626dc8;},_0x3907d2['toObject']=function(_0x1201fb,_0x161398){_0x161398||(_0x161398={});var _0x52a13c={};return _0x161398['defaults']&&(_0x52a13c['rootName']='',_0x52a13c['elementName']='',_0x52a13c['isAdd']=!0x1,_0x52a13c['wasUndone']=!0x1),null!=_0x1201fb['rootName']&&_0x1201fb['hasOwnProperty']('rootName')&&(_0x52a13c['rootName']=_0x1201fb['rootName']),null!=_0x1201fb['elementName']&&_0x1201fb['hasOwnProperty']('elementName')&&(_0x52a13c['elementName']=_0x1201fb['elementName']),null!=_0x1201fb['isAdd']&&_0x1201fb['hasOwnProperty']('isAdd')&&(_0x52a13c['isAdd']=_0x1201fb['isAdd']),null!=_0x1201fb['wasUndone']&&_0x1201fb['hasOwnProperty']('wasUndone')&&(_0x52a13c['wasUndone']=_0x1201fb['wasUndone']),_0x52a13c;},_0x3907d2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3907d2['getTypeUrl']=function(_0x2308e9){return void 0x0===_0x2308e9&&(_0x2308e9='type.googleapis.com'),_0x2308e9+'/RootOperation';},_0x3907d2;}()),_0x572cec['SplitOperation']=(function(){function _0x51b580(_0x331236){if(_0x331236){for(var _0x4ba3ac=Object['keys'](_0x331236),_0x409e17=0x0;_0x409e17<_0x4ba3ac['length'];++_0x409e17)null!=_0x331236[_0x4ba3ac[_0x409e17]]&&'__proto__'!==_0x4ba3ac[_0x409e17]&&(this[_0x4ba3ac[_0x409e17]]=_0x331236[_0x4ba3ac[_0x409e17]]);}}return _0x51b580['prototype']['splitPosition']=null,_0x51b580['prototype']['graveyardPosition']=null,_0x51b580['prototype']['howMany']=0x0,_0x51b580['prototype']['insertionPosition']=null,_0x51b580['prototype']['wasUndone']=!0x1,_0x51b580['create']=function(_0x1c88ab){return new _0x51b580(_0x1c88ab);},_0x51b580['encode']=function(_0x574c51,_0x294b43){return _0x294b43||(_0x294b43=_0x45d252['create']()),null!=_0x574c51['splitPosition']&&Object['hasOwnProperty']['call'](_0x574c51,'splitPosition')&&_0x572cec['Position']['encode'](_0x574c51['splitPosition'],_0x294b43['uint32'](0xa)['fork']())['ldelim'](),null!=_0x574c51['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x574c51,'graveyardPosition')&&_0x572cec['Position']['encode'](_0x574c51['graveyardPosition'],_0x294b43['uint32'](0x12)['fork']())['ldelim'](),null!=_0x574c51['howMany']&&Object['hasOwnProperty']['call'](_0x574c51,'howMany')&&_0x294b43['uint32'](0x18)['uint32'](_0x574c51['howMany']),null!=_0x574c51['insertionPosition']&&Object['hasOwnProperty']['call'](_0x574c51,'insertionPosition')&&_0x572cec['Position']['encode'](_0x574c51['insertionPosition'],_0x294b43['uint32'](0x22)['fork']())['ldelim'](),null!=_0x574c51['wasUndone']&&Object['hasOwnProperty']['call'](_0x574c51,'wasUndone')&&_0x294b43['uint32'](0x28)['bool'](_0x574c51['wasUndone']),_0x294b43;},_0x51b580['encodeDelimited']=function(_0x3d85d1,_0x3d1080){return this['encode'](_0x3d85d1,_0x3d1080)['ldelim']();},_0x51b580['decode']=function(_0x346590,_0x56cf81,_0x13deef,_0x1166e1){if(_0x346590 instanceof _0x25c230||(_0x346590=_0x25c230['create'](_0x346590)),void 0x0===_0x1166e1&&(_0x1166e1=0x0),_0x1166e1>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x46229b=void 0x0===_0x56cf81?_0x346590['len']:_0x346590['pos']+_0x56cf81,_0x53e82d=new _0x572cec['SplitOperation']();_0x346590['pos']<_0x46229b;){var _0x1f206c=_0x346590['uint32']();if(_0x1f206c===_0x13deef)break;switch(_0x1f206c>>>0x3){case 0x1:_0x53e82d['splitPosition']=_0x572cec['Position']['decode'](_0x346590,_0x346590['uint32'](),void 0x0,_0x1166e1+0x1);break;case 0x2:_0x53e82d['graveyardPosition']=_0x572cec['Position']['decode'](_0x346590,_0x346590['uint32'](),void 0x0,_0x1166e1+0x1);break;case 0x3:_0x53e82d['howMany']=_0x346590['uint32']();break;case 0x4:_0x53e82d['insertionPosition']=_0x572cec['Position']['decode'](_0x346590,_0x346590['uint32'](),void 0x0,_0x1166e1+0x1);break;case 0x5:_0x53e82d['wasUndone']=_0x346590['bool']();break;default:_0x346590['skipType'](0x7&_0x1f206c,_0x1166e1);}}return _0x53e82d;},_0x51b580['decodeDelimited']=function(_0x2f67f7){return _0x2f67f7 instanceof _0x25c230||(_0x2f67f7=new _0x25c230(_0x2f67f7)),this['decode'](_0x2f67f7,_0x2f67f7['uint32']());},_0x51b580['verify']=function(_0x54462d,_0x386da9){if('object'!=typeof _0x54462d||null===_0x54462d)return'object\x20expected';if(void 0x0===_0x386da9&&(_0x386da9=0x0),_0x386da9>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x175929;if(null!=_0x54462d['splitPosition']&&_0x54462d['hasOwnProperty']('splitPosition')&&(_0x175929=_0x572cec['Position']['verify'](_0x54462d['splitPosition'],_0x386da9+0x1)))return'splitPosition.'+_0x175929;if(null!=_0x54462d['graveyardPosition']&&_0x54462d['hasOwnProperty']('graveyardPosition')&&(_0x175929=_0x572cec['Position']['verify'](_0x54462d['graveyardPosition'],_0x386da9+0x1)))return'graveyardPosition.'+_0x175929;if(null!=_0x54462d['howMany']&&_0x54462d['hasOwnProperty']('howMany')&&!_0x3bdeaa['isInteger'](_0x54462d['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x54462d['insertionPosition']&&_0x54462d['hasOwnProperty']('insertionPosition')&&(_0x175929=_0x572cec['Position']['verify'](_0x54462d['insertionPosition'],_0x386da9+0x1)))return'insertionPosition.'+_0x175929;return null!=_0x54462d['wasUndone']&&_0x54462d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x54462d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x51b580['fromObject']=function(_0x2ffcc8,_0x4c7b5e){if(_0x2ffcc8 instanceof _0x572cec['SplitOperation'])return _0x2ffcc8;if(void 0x0===_0x4c7b5e&&(_0x4c7b5e=0x0),_0x4c7b5e>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b80df=new _0x572cec['SplitOperation']();if(null!=_0x2ffcc8['splitPosition']){if('object'!=typeof _0x2ffcc8['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x1b80df['splitPosition']=_0x572cec['Position']['fromObject'](_0x2ffcc8['splitPosition'],_0x4c7b5e+0x1);}if(null!=_0x2ffcc8['graveyardPosition']){if('object'!=typeof _0x2ffcc8['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x1b80df['graveyardPosition']=_0x572cec['Position']['fromObject'](_0x2ffcc8['graveyardPosition'],_0x4c7b5e+0x1);}if(null!=_0x2ffcc8['howMany']&&(_0x1b80df['howMany']=_0x2ffcc8['howMany']>>>0x0),null!=_0x2ffcc8['insertionPosition']){if('object'!=typeof _0x2ffcc8['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x1b80df['insertionPosition']=_0x572cec['Position']['fromObject'](_0x2ffcc8['insertionPosition'],_0x4c7b5e+0x1);}return null!=_0x2ffcc8['wasUndone']&&(_0x1b80df['wasUndone']=Boolean(_0x2ffcc8['wasUndone'])),_0x1b80df;},_0x51b580['toObject']=function(_0x174652,_0x1c42f8){_0x1c42f8||(_0x1c42f8={});var _0x3eb950={};return _0x1c42f8['defaults']&&(_0x3eb950['splitPosition']=null,_0x3eb950['graveyardPosition']=null,_0x3eb950['howMany']=0x0,_0x3eb950['insertionPosition']=null,_0x3eb950['wasUndone']=!0x1),null!=_0x174652['splitPosition']&&_0x174652['hasOwnProperty']('splitPosition')&&(_0x3eb950['splitPosition']=_0x572cec['Position']['toObject'](_0x174652['splitPosition'],_0x1c42f8)),null!=_0x174652['graveyardPosition']&&_0x174652['hasOwnProperty']('graveyardPosition')&&(_0x3eb950['graveyardPosition']=_0x572cec['Position']['toObject'](_0x174652['graveyardPosition'],_0x1c42f8)),null!=_0x174652['howMany']&&_0x174652['hasOwnProperty']('howMany')&&(_0x3eb950['howMany']=_0x174652['howMany']),null!=_0x174652['insertionPosition']&&_0x174652['hasOwnProperty']('insertionPosition')&&(_0x3eb950['insertionPosition']=_0x572cec['Position']['toObject'](_0x174652['insertionPosition'],_0x1c42f8)),null!=_0x174652['wasUndone']&&_0x174652['hasOwnProperty']('wasUndone')&&(_0x3eb950['wasUndone']=_0x174652['wasUndone']),_0x3eb950;},_0x51b580['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x51b580['getTypeUrl']=function(_0x19e748){return void 0x0===_0x19e748&&(_0x19e748='type.googleapis.com'),_0x19e748+'/SplitOperation';},_0x51b580;}()),_0x572cec['Position']=(function(){function _0x191639(_0x16818c){if(this['path']=[],_0x16818c){for(var _0x3b034c=Object['keys'](_0x16818c),_0x19504c=0x0;_0x19504c<_0x3b034c['length'];++_0x19504c)null!=_0x16818c[_0x3b034c[_0x19504c]]&&'__proto__'!==_0x3b034c[_0x19504c]&&(this[_0x3b034c[_0x19504c]]=_0x16818c[_0x3b034c[_0x19504c]]);}}return _0x191639['prototype']['root']='',_0x191639['prototype']['rootMain']=!0x1,_0x191639['prototype']['rootGraveyard']=!0x1,_0x191639['prototype']['path']=_0x3bdeaa['emptyArray'],_0x191639['prototype']['stickiness']='',_0x191639['create']=function(_0x5b6742){return new _0x191639(_0x5b6742);},_0x191639['encode']=function(_0x2505d5,_0x34fe15){if(_0x34fe15||(_0x34fe15=_0x45d252['create']()),null!=_0x2505d5['root']&&Object['hasOwnProperty']['call'](_0x2505d5,'root')&&_0x34fe15['uint32'](0xa)['string'](_0x2505d5['root']),null!=_0x2505d5['rootMain']&&Object['hasOwnProperty']['call'](_0x2505d5,'rootMain')&&_0x34fe15['uint32'](0x10)['bool'](_0x2505d5['rootMain']),null!=_0x2505d5['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x2505d5,'rootGraveyard')&&_0x34fe15['uint32'](0x18)['bool'](_0x2505d5['rootGraveyard']),null!=_0x2505d5['path']&&_0x2505d5['path']['length']){_0x34fe15['uint32'](0x22)['fork']();for(var _0x2a415b=0x0;_0x2a415b<_0x2505d5['path']['length'];++_0x2a415b)_0x34fe15['uint32'](_0x2505d5['path'][_0x2a415b]);_0x34fe15['ldelim']();}return null!=_0x2505d5['stickiness']&&Object['hasOwnProperty']['call'](_0x2505d5,'stickiness')&&_0x34fe15['uint32'](0x2a)['string'](_0x2505d5['stickiness']),_0x34fe15;},_0x191639['encodeDelimited']=function(_0x363f19,_0x4a8d2a){return this['encode'](_0x363f19,_0x4a8d2a)['ldelim']();},_0x191639['decode']=function(_0x187fb8,_0x58b986,_0x4e3df1,_0xbe4c7f){if(_0x187fb8 instanceof _0x25c230||(_0x187fb8=_0x25c230['create'](_0x187fb8)),void 0x0===_0xbe4c7f&&(_0xbe4c7f=0x0),_0xbe4c7f>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ecb06=void 0x0===_0x58b986?_0x187fb8['len']:_0x187fb8['pos']+_0x58b986,_0x5a54e4=new _0x572cec['Position']();_0x187fb8['pos']<_0x4ecb06;){var _0x334a84=_0x187fb8['uint32']();if(_0x334a84===_0x4e3df1)break;switch(_0x334a84>>>0x3){case 0x1:_0x5a54e4['root']=_0x187fb8['string']();break;case 0x2:_0x5a54e4['rootMain']=_0x187fb8['bool']();break;case 0x3:_0x5a54e4['rootGraveyard']=_0x187fb8['bool']();break;case 0x4:if(_0x5a54e4['path']&&_0x5a54e4['path']['length']||(_0x5a54e4['path']=[]),0x2==(0x7&_0x334a84)){for(var _0x26671f=_0x187fb8['uint32']()+_0x187fb8['pos'];_0x187fb8['pos']<_0x26671f;)_0x5a54e4['path']['push'](_0x187fb8['uint32']());}else _0x5a54e4['path']['push'](_0x187fb8['uint32']());break;case 0x5:_0x5a54e4['stickiness']=_0x187fb8['string']();break;default:_0x187fb8['skipType'](0x7&_0x334a84,_0xbe4c7f);}}return _0x5a54e4;},_0x191639['decodeDelimited']=function(_0x54c3d7){return _0x54c3d7 instanceof _0x25c230||(_0x54c3d7=new _0x25c230(_0x54c3d7)),this['decode'](_0x54c3d7,_0x54c3d7['uint32']());},_0x191639['verify']=function(_0xe2a8ad,_0x56eadf){if('object'!=typeof _0xe2a8ad||null===_0xe2a8ad)return'object\x20expected';if(void 0x0===_0x56eadf&&(_0x56eadf=0x0),_0x56eadf>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xe2a8ad['root']&&_0xe2a8ad['hasOwnProperty']('root')&&!_0x3bdeaa['isString'](_0xe2a8ad['root']))return'root:\x20string\x20expected';if(null!=_0xe2a8ad['rootMain']&&_0xe2a8ad['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0xe2a8ad['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0xe2a8ad['rootGraveyard']&&_0xe2a8ad['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0xe2a8ad['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0xe2a8ad['path']&&_0xe2a8ad['hasOwnProperty']('path')){if(!Array['isArray'](_0xe2a8ad['path']))return'path:\x20array\x20expected';for(var _0x17adda=0x0;_0x17adda<_0xe2a8ad['path']['length'];++_0x17adda)if(!_0x3bdeaa['isInteger'](_0xe2a8ad['path'][_0x17adda]))return'path:\x20integer[]\x20expected';}return null!=_0xe2a8ad['stickiness']&&_0xe2a8ad['hasOwnProperty']('stickiness')&&!_0x3bdeaa['isString'](_0xe2a8ad['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x191639['fromObject']=function(_0x10df97,_0x112027){if(_0x10df97 instanceof _0x572cec['Position'])return _0x10df97;if(void 0x0===_0x112027&&(_0x112027=0x0),_0x112027>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x24fc40=new _0x572cec['Position']();if(null!=_0x10df97['root']&&(_0x24fc40['root']=String(_0x10df97['root'])),null!=_0x10df97['rootMain']&&(_0x24fc40['rootMain']=Boolean(_0x10df97['rootMain'])),null!=_0x10df97['rootGraveyard']&&(_0x24fc40['rootGraveyard']=Boolean(_0x10df97['rootGraveyard'])),_0x10df97['path']){if(!Array['isArray'](_0x10df97['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x24fc40['path']=[];for(var _0x4cb6ec=0x0;_0x4cb6ec<_0x10df97['path']['length'];++_0x4cb6ec)_0x24fc40['path'][_0x4cb6ec]=_0x10df97['path'][_0x4cb6ec]>>>0x0;}return null!=_0x10df97['stickiness']&&(_0x24fc40['stickiness']=String(_0x10df97['stickiness'])),_0x24fc40;},_0x191639['toObject']=function(_0x2a8128,_0x27e181){_0x27e181||(_0x27e181={});var _0x4b1fe7={};if((_0x27e181['arrays']||_0x27e181['defaults'])&&(_0x4b1fe7['path']=[]),_0x27e181['defaults']&&(_0x4b1fe7['root']='',_0x4b1fe7['rootMain']=!0x1,_0x4b1fe7['rootGraveyard']=!0x1,_0x4b1fe7['stickiness']=''),null!=_0x2a8128['root']&&_0x2a8128['hasOwnProperty']('root')&&(_0x4b1fe7['root']=_0x2a8128['root']),null!=_0x2a8128['rootMain']&&_0x2a8128['hasOwnProperty']('rootMain')&&(_0x4b1fe7['rootMain']=_0x2a8128['rootMain']),null!=_0x2a8128['rootGraveyard']&&_0x2a8128['hasOwnProperty']('rootGraveyard')&&(_0x4b1fe7['rootGraveyard']=_0x2a8128['rootGraveyard']),_0x2a8128['path']&&_0x2a8128['path']['length']){_0x4b1fe7['path']=[];for(var _0x272c3d=0x0;_0x272c3d<_0x2a8128['path']['length'];++_0x272c3d)_0x4b1fe7['path'][_0x272c3d]=_0x2a8128['path'][_0x272c3d];}return null!=_0x2a8128['stickiness']&&_0x2a8128['hasOwnProperty']('stickiness')&&(_0x4b1fe7['stickiness']=_0x2a8128['stickiness']),_0x4b1fe7;},_0x191639['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x191639['getTypeUrl']=function(_0x375448){return void 0x0===_0x375448&&(_0x375448='type.googleapis.com'),_0x375448+'/Position';},_0x191639;}()),_0x572cec['Range']=(function(){function _0x125fd(_0x273f29){if(_0x273f29){for(var _0x2c5740=Object['keys'](_0x273f29),_0x319a27=0x0;_0x319a27<_0x2c5740['length'];++_0x319a27)null!=_0x273f29[_0x2c5740[_0x319a27]]&&'__proto__'!==_0x2c5740[_0x319a27]&&(this[_0x2c5740[_0x319a27]]=_0x273f29[_0x2c5740[_0x319a27]]);}}return _0x125fd['prototype']['start']=null,_0x125fd['prototype']['end']=null,_0x125fd['create']=function(_0x29db61){return new _0x125fd(_0x29db61);},_0x125fd['encode']=function(_0x40d504,_0x27f1bc){return _0x27f1bc||(_0x27f1bc=_0x45d252['create']()),null!=_0x40d504['start']&&Object['hasOwnProperty']['call'](_0x40d504,'start')&&_0x572cec['Position']['encode'](_0x40d504['start'],_0x27f1bc['uint32'](0xa)['fork']())['ldelim'](),null!=_0x40d504['end']&&Object['hasOwnProperty']['call'](_0x40d504,'end')&&_0x572cec['Position']['encode'](_0x40d504['end'],_0x27f1bc['uint32'](0x12)['fork']())['ldelim'](),_0x27f1bc;},_0x125fd['encodeDelimited']=function(_0x124b82,_0x2d224f){return this['encode'](_0x124b82,_0x2d224f)['ldelim']();},_0x125fd['decode']=function(_0x4dc663,_0xaa84e6,_0x1d49c0,_0x18653b){if(_0x4dc663 instanceof _0x25c230||(_0x4dc663=_0x25c230['create'](_0x4dc663)),void 0x0===_0x18653b&&(_0x18653b=0x0),_0x18653b>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3005c6=void 0x0===_0xaa84e6?_0x4dc663['len']:_0x4dc663['pos']+_0xaa84e6,_0x28648c=new _0x572cec['Range']();_0x4dc663['pos']<_0x3005c6;){var _0x1b683a=_0x4dc663['uint32']();if(_0x1b683a===_0x1d49c0)break;switch(_0x1b683a>>>0x3){case 0x1:_0x28648c['start']=_0x572cec['Position']['decode'](_0x4dc663,_0x4dc663['uint32'](),void 0x0,_0x18653b+0x1);break;case 0x2:_0x28648c['end']=_0x572cec['Position']['decode'](_0x4dc663,_0x4dc663['uint32'](),void 0x0,_0x18653b+0x1);break;default:_0x4dc663['skipType'](0x7&_0x1b683a,_0x18653b);}}return _0x28648c;},_0x125fd['decodeDelimited']=function(_0x105020){return _0x105020 instanceof _0x25c230||(_0x105020=new _0x25c230(_0x105020)),this['decode'](_0x105020,_0x105020['uint32']());},_0x125fd['verify']=function(_0x5b6c65,_0x3837d6){if('object'!=typeof _0x5b6c65||null===_0x5b6c65)return'object\x20expected';if(void 0x0===_0x3837d6&&(_0x3837d6=0x0),_0x3837d6>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2af530;if(null!=_0x5b6c65['start']&&_0x5b6c65['hasOwnProperty']('start')&&(_0x2af530=_0x572cec['Position']['verify'](_0x5b6c65['start'],_0x3837d6+0x1)))return'start.'+_0x2af530;if(null!=_0x5b6c65['end']&&_0x5b6c65['hasOwnProperty']('end')&&(_0x2af530=_0x572cec['Position']['verify'](_0x5b6c65['end'],_0x3837d6+0x1)))return'end.'+_0x2af530;return null;},_0x125fd['fromObject']=function(_0x106c51,_0x25f2ce){if(_0x106c51 instanceof _0x572cec['Range'])return _0x106c51;if(void 0x0===_0x25f2ce&&(_0x25f2ce=0x0),_0x25f2ce>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x372275=new _0x572cec['Range']();if(null!=_0x106c51['start']){if('object'!=typeof _0x106c51['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x372275['start']=_0x572cec['Position']['fromObject'](_0x106c51['start'],_0x25f2ce+0x1);}if(null!=_0x106c51['end']){if('object'!=typeof _0x106c51['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x372275['end']=_0x572cec['Position']['fromObject'](_0x106c51['end'],_0x25f2ce+0x1);}return _0x372275;},_0x125fd['toObject']=function(_0x33c727,_0x17f505){_0x17f505||(_0x17f505={});var _0x34894b={};return _0x17f505['defaults']&&(_0x34894b['start']=null,_0x34894b['end']=null),null!=_0x33c727['start']&&_0x33c727['hasOwnProperty']('start')&&(_0x34894b['start']=_0x572cec['Position']['toObject'](_0x33c727['start'],_0x17f505)),null!=_0x33c727['end']&&_0x33c727['hasOwnProperty']('end')&&(_0x34894b['end']=_0x572cec['Position']['toObject'](_0x33c727['end'],_0x17f505)),_0x34894b;},_0x125fd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x125fd['getTypeUrl']=function(_0xde86b8){return void 0x0===_0xde86b8&&(_0xde86b8='type.googleapis.com'),_0xde86b8+'/Range';},_0x125fd;}()),_0x572cec['Element']=(function(){function _0x3076a7(_0x345425){if(this['children']=[],this['attributesBoolean']={},_0x345425){for(var _0x281881=Object['keys'](_0x345425),_0x2fbb81=0x0;_0x2fbb81<_0x281881['length'];++_0x2fbb81)null!=_0x345425[_0x281881[_0x2fbb81]]&&'__proto__'!==_0x281881[_0x2fbb81]&&(this[_0x281881[_0x2fbb81]]=_0x345425[_0x281881[_0x2fbb81]]);}}return _0x3076a7['prototype']['name']='',_0x3076a7['prototype']['children']=_0x3bdeaa['emptyArray'],_0x3076a7['prototype']['data']='',_0x3076a7['prototype']['attributesBoolean']=_0x3bdeaa['emptyObject'],_0x3076a7['prototype']['attributesJson']='',_0x3076a7['create']=function(_0x2c2069){return new _0x3076a7(_0x2c2069);},_0x3076a7['encode']=function(_0x361e4c,_0x2882d2){if(_0x2882d2||(_0x2882d2=_0x45d252['create']()),null!=_0x361e4c['name']&&Object['hasOwnProperty']['call'](_0x361e4c,'name')&&_0x2882d2['uint32'](0xa)['string'](_0x361e4c['name']),null!=_0x361e4c['children']&&_0x361e4c['children']['length']){for(var _0x5ae2f6=0x0;_0x5ae2f6<_0x361e4c['children']['length'];++_0x5ae2f6)_0x572cec['Element']['encode'](_0x361e4c['children'][_0x5ae2f6],_0x2882d2['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x361e4c['data']&&Object['hasOwnProperty']['call'](_0x361e4c,'data')&&_0x2882d2['uint32'](0x1a)['string'](_0x361e4c['data']),null!=_0x361e4c['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x361e4c,'attributesBoolean')){var _0x33cbfb=Object['keys'](_0x361e4c['attributesBoolean']);for(_0x5ae2f6=0x0;_0x5ae2f6<_0x33cbfb['length'];++_0x5ae2f6)_0x2882d2['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x33cbfb[_0x5ae2f6])['uint32'](0x10)['bool'](_0x361e4c['attributesBoolean'][_0x33cbfb[_0x5ae2f6]])['ldelim']();}return null!=_0x361e4c['attributesJson']&&Object['hasOwnProperty']['call'](_0x361e4c,'attributesJson')&&_0x2882d2['uint32'](0x2a)['string'](_0x361e4c['attributesJson']),_0x2882d2;},_0x3076a7['encodeDelimited']=function(_0x24ea66,_0x2c94e8){return this['encode'](_0x24ea66,_0x2c94e8)['ldelim']();},_0x3076a7['decode']=function(_0x1e999c,_0x1959f8,_0x2917fa,_0x52a1e4){if(_0x1e999c instanceof _0x25c230||(_0x1e999c=_0x25c230['create'](_0x1e999c)),void 0x0===_0x52a1e4&&(_0x52a1e4=0x0),_0x52a1e4>_0x25c230['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x36dba5,_0x359bb5,_0x248d8a=void 0x0===_0x1959f8?_0x1e999c['len']:_0x1e999c['pos']+_0x1959f8,_0x714214=new _0x572cec['Element']();_0x1e999c['pos']<_0x248d8a;){var _0x138936=_0x1e999c['uint32']();if(_0x138936===_0x2917fa)break;switch(_0x138936>>>0x3){case 0x1:_0x714214['name']=_0x1e999c['string']();break;case 0x2:_0x714214['children']&&_0x714214['children']['length']||(_0x714214['children']=[]),_0x714214['children']['push'](_0x572cec['Element']['decode'](_0x1e999c,_0x1e999c['uint32'](),void 0x0,_0x52a1e4+0x1));break;case 0x3:_0x714214['data']=_0x1e999c['string']();break;case 0x4:_0x714214['attributesBoolean']===_0x3bdeaa['emptyObject']&&(_0x714214['attributesBoolean']={});var _0x334739=_0x1e999c['uint32']()+_0x1e999c['pos'];for(_0x36dba5='',_0x359bb5=!0x1;_0x1e999c['pos']<_0x334739;){var _0x59db7b=_0x1e999c['uint32']();switch(_0x59db7b>>>0x3){case 0x1:_0x36dba5=_0x1e999c['string']();break;case 0x2:_0x359bb5=_0x1e999c['bool']();break;default:_0x1e999c['skipType'](0x7&_0x59db7b,_0x52a1e4);}}'__proto__'===_0x36dba5&&_0x3bdeaa['makeProp'](_0x714214['attributesBoolean'],_0x36dba5),_0x714214['attributesBoolean'][_0x36dba5]=_0x359bb5;break;case 0x5:_0x714214['attributesJson']=_0x1e999c['string']();break;default:_0x1e999c['skipType'](0x7&_0x138936,_0x52a1e4);}}return _0x714214;},_0x3076a7['decodeDelimited']=function(_0x4c612a){return _0x4c612a instanceof _0x25c230||(_0x4c612a=new _0x25c230(_0x4c612a)),this['decode'](_0x4c612a,_0x4c612a['uint32']());},_0x3076a7['verify']=function(_0x133e82,_0x1cf3e5){if('object'!=typeof _0x133e82||null===_0x133e82)return'object\x20expected';if(void 0x0===_0x1cf3e5&&(_0x1cf3e5=0x0),_0x1cf3e5>_0x3bdeaa['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x133e82['name']&&_0x133e82['hasOwnProperty']('name')&&!_0x3bdeaa['isString'](_0x133e82['name']))return'name:\x20string\x20expected';if(null!=_0x133e82['children']&&_0x133e82['hasOwnProperty']('children')){if(!Array['isArray'](_0x133e82['children']))return'children:\x20array\x20expected';for(var _0x2efe08=0x0;_0x2efe08<_0x133e82['children']['length'];++_0x2efe08){var _0x3ee07d=_0x572cec['Element']['verify'](_0x133e82['children'][_0x2efe08],_0x1cf3e5+0x1);if(_0x3ee07d)return'children.'+_0x3ee07d;}}if(null!=_0x133e82['data']&&_0x133e82['hasOwnProperty']('data')&&!_0x3bdeaa['isString'](_0x133e82['data']))return'data:\x20string\x20expected';if(null!=_0x133e82['attributesBoolean']&&_0x133e82['hasOwnProperty']('attributesBoolean')){if(!_0x3bdeaa['isObject'](_0x133e82['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x17e38a=Object['keys'](_0x133e82['attributesBoolean']);for(_0x2efe08=0x0;_0x2efe08<_0x17e38a['length'];++_0x2efe08)if('boolean'!=typeof _0x133e82['attributesBoolean'][_0x17e38a[_0x2efe08]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x133e82['attributesJson']&&_0x133e82['hasOwnProperty']('attributesJson')&&!_0x3bdeaa['isString'](_0x133e82['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x3076a7['fromObject']=function(_0x3efc0c,_0x3d7c8d){if(_0x3efc0c instanceof _0x572cec['Element'])return _0x3efc0c;if(void 0x0===_0x3d7c8d&&(_0x3d7c8d=0x0),_0x3d7c8d>_0x3bdeaa['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21ac8b=new _0x572cec['Element']();if(null!=_0x3efc0c['name']&&(_0x21ac8b['name']=String(_0x3efc0c['name'])),_0x3efc0c['children']){if(!Array['isArray'](_0x3efc0c['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x21ac8b['children']=[];for(var _0x1940a8=0x0;_0x1940a8<_0x3efc0c['children']['length'];++_0x1940a8){if('object'!=typeof _0x3efc0c['children'][_0x1940a8])throw TypeError('.Element.children:\x20object\x20expected');_0x21ac8b['children'][_0x1940a8]=_0x572cec['Element']['fromObject'](_0x3efc0c['children'][_0x1940a8],_0x3d7c8d+0x1);}}if(null!=_0x3efc0c['data']&&(_0x21ac8b['data']=String(_0x3efc0c['data'])),_0x3efc0c['attributesBoolean']){if('object'!=typeof _0x3efc0c['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x21ac8b['attributesBoolean']={};var _0x5457cd=Object['keys'](_0x3efc0c['attributesBoolean']);for(_0x1940a8=0x0;_0x1940a8<_0x5457cd['length'];++_0x1940a8)'__proto__'===_0x5457cd[_0x1940a8]&&_0x3bdeaa['makeProp'](_0x21ac8b['attributesBoolean'],_0x5457cd[_0x1940a8]),_0x21ac8b['attributesBoolean'][_0x5457cd[_0x1940a8]]=Boolean(_0x3efc0c['attributesBoolean'][_0x5457cd[_0x1940a8]]);}return null!=_0x3efc0c['attributesJson']&&(_0x21ac8b['attributesJson']=String(_0x3efc0c['attributesJson'])),_0x21ac8b;},_0x3076a7['toObject']=function(_0x4bc2fd,_0x302760){_0x302760||(_0x302760={});var _0x25f92d,_0x3ea0f3={};if((_0x302760['arrays']||_0x302760['defaults'])&&(_0x3ea0f3['children']=[]),(_0x302760['objects']||_0x302760['defaults'])&&(_0x3ea0f3['attributesBoolean']={}),_0x302760['defaults']&&(_0x3ea0f3['name']='',_0x3ea0f3['data']='',_0x3ea0f3['attributesJson']=''),null!=_0x4bc2fd['name']&&_0x4bc2fd['hasOwnProperty']('name')&&(_0x3ea0f3['name']=_0x4bc2fd['name']),_0x4bc2fd['children']&&_0x4bc2fd['children']['length']){_0x3ea0f3['children']=[];for(var _0x12798e=0x0;_0x12798e<_0x4bc2fd['children']['length'];++_0x12798e)_0x3ea0f3['children'][_0x12798e]=_0x572cec['Element']['toObject'](_0x4bc2fd['children'][_0x12798e],_0x302760);}if(null!=_0x4bc2fd['data']&&_0x4bc2fd['hasOwnProperty']('data')&&(_0x3ea0f3['data']=_0x4bc2fd['data']),_0x4bc2fd['attributesBoolean']&&(_0x25f92d=Object['keys'](_0x4bc2fd['attributesBoolean']))['length']){_0x3ea0f3['attributesBoolean']={};for(_0x12798e=0x0;_0x12798e<_0x25f92d['length'];++_0x12798e)'__proto__'===_0x25f92d[_0x12798e]&&_0x3bdeaa['makeProp'](_0x3ea0f3['attributesBoolean'],_0x25f92d[_0x12798e]),_0x3ea0f3['attributesBoolean'][_0x25f92d[_0x12798e]]=_0x4bc2fd['attributesBoolean'][_0x25f92d[_0x12798e]];}return null!=_0x4bc2fd['attributesJson']&&_0x4bc2fd['hasOwnProperty']('attributesJson')&&(_0x3ea0f3['attributesJson']=_0x4bc2fd['attributesJson']),_0x3ea0f3;},_0x3076a7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,xO['util']['toJSONOptions']);},_0x3076a7['getTypeUrl']=function(_0x203c79){return void 0x0===_0x203c79&&(_0x203c79='type.googleapis.com'),_0x203c79+'/Element';},_0x3076a7;}()),_0x572cec;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=vb;}['getDescriptor'](_0x351a7c){return new ProtobufDescriptor(this['_protobufRoot'][_0x351a7c]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x3bb94a){this['_protobuf']=_0x3bb94a;}['compress'](_0x3b8eaf){const _0x3740d0=this['_protobuf']['verify'](_0x3b8eaf);if(_0x3740d0)throw Error(_0x3740d0);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x3b8eaf))['finish']();}['decompress'](_0x200363){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x200363),{'oneofs':!0x0});}}function Tb(_0x31ffd4,_0x1fb966){const _0x59bac3=Cr(_0x31ffd4);return _0x59bac3['path'][_0x59bac3['path']['length']-0x1]+=_0x1fb966,_0x59bac3;}function Eb(_0x2384cd,_0x1ff35c){return _0x2384cd['root']===_0x1ff35c['root']&&Zr(_0x2384cd['path'],_0x1ff35c['path']);}function Ab(_0x26a884){Sb(_0x26a884,_0x5f16d1=>('main'==_0x5f16d1['root']?(_0x5f16d1['rootMain']=!0x0,delete _0x5f16d1['root']):'$graveyard'==_0x5f16d1['root']&&(_0x5f16d1['rootGraveyard']=!0x0,delete _0x5f16d1['root']),_0x5f16d1));}function Ib(_0x17250d){Sb(_0x17250d,_0x1682b8=>(_0x1682b8['rootMain']?(_0x1682b8['root']='main',delete _0x1682b8['rootMain']):_0x1682b8['rootGraveyard']&&(_0x1682b8['root']='$graveyard',delete _0x1682b8['rootGraveyard']),_0x1682b8));}function Sb(_0x120759,_0x220ccb){for(const _0xc258a3 in _0x120759){const _0x1e6344=_0x120759[_0xc258a3];'nodes'!==_0xc258a3&&Kn(_0x1e6344)&&(_0x1e6344['path']&&(_0x1e6344['root']||_0x1e6344['rootMain']||_0x1e6344['rootGraveyard'])?_0x120759[_0xc258a3]=_0x220ccb(_0x1e6344):Sb(_0x1e6344,_0x220ccb));}return _0x120759;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x55e98e,_0x164f24,_0x2312e6){this['_id']=_0x55e98e,this['_operationName']=_0x164f24,this['_protobufDescriptor']=_0x2312e6;}['compress'](_0x3fb264,_0x4b365c){const _0x1641a6=_0x4b365c['operations'][_0x4b365c['index']++];return Ab(_0x1641a6),_0x3fb264['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1641a6)),_0x3fb264['types']['push'](this['_id']),!0x0;}['decompress'](_0x38c7f7,_0x5de704){_0x5de704['typeIndex']++;const _0x224348=_0x5de704['buffers'][_0x5de704['bufferIndex']++],_0xbb3c81=this['_protobufDescriptor']['decompress'](_0x224348);Ib(_0xbb3c81),_0xbb3c81['__className']=this['_operationName'],_0x38c7f7['push'](_0xbb3c81);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x747612,_0x319a16){const _0x1451c0=_0x319a16['operations'][_0x319a16['index']++];return this['_serializeOneOf']('oldValue',_0x1451c0),this['_serializeOneOf']('newValue',_0x1451c0),Ab(_0x1451c0),_0x747612['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1451c0)),_0x747612['types']['push'](this['_id']),!0x0;}['decompress'](_0x3cf90a,_0x4a3522){_0x4a3522['typeIndex']++;const _0x31ea69=_0x4a3522['buffers'][_0x4a3522['bufferIndex']++],_0x464bbf=this['_protobufDescriptor']['decompress'](_0x31ea69);this['_deserializeOneOf']('oldValue',_0x464bbf),this['_deserializeOneOf']('newValue',_0x464bbf),Ib(_0x464bbf),_0x464bbf['__className']=this['_operationName'],_0x3cf90a['push'](_0x464bbf);}['_serializeOneOf'](_0x37cc02,_0x49c11b){const _0x245948=_0x49c11b[_0x37cc02];'boolean'==typeof _0x245948?_0x49c11b[_0x37cc02+'Boolean']=_0x245948:_0x49c11b[_0x37cc02+'Json']=JSON['stringify'](_0x245948);}['_deserializeOneOf'](_0x3e8e17,_0x9e5cbe){const _0x11b48b=_0x3e8e17+'Json';_0x9e5cbe[_0x11b48b]?(_0x9e5cbe[_0x3e8e17]=JSON['parse'](_0x9e5cbe[_0x11b48b]),delete _0x9e5cbe[_0x11b48b]):(_0x9e5cbe[_0x3e8e17]=_0x9e5cbe[_0x3e8e17+'Boolean'],delete _0x9e5cbe[_0x3e8e17+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x3004bb,_0x42788d){const _0x364ced=_0x42788d['operations'][_0x42788d['index']++];return this['_serializeNodesAttributes'](_0x364ced['nodes']),Ab(_0x364ced),_0x3004bb['buffers']['push'](this['_protobufDescriptor']['compress'](_0x364ced)),_0x3004bb['types']['push'](this['_id']),!0x0;}['decompress'](_0x2e1f77,_0x39d359){_0x39d359['typeIndex']++;const _0x1363f9=_0x39d359['buffers'][_0x39d359['bufferIndex']++],_0x505141=this['_protobufDescriptor']['decompress'](_0x1363f9);_0x505141['nodes']||(_0x505141['nodes']=[]),this['_deserializeNodesAttributes'](_0x505141['nodes']),Ib(_0x505141),_0x505141['__className']=this['_operationName'],_0x2e1f77['push'](_0x505141);}['_serializeNodesAttributes'](_0x3704fe){for(const _0xaf2ff0 of _0x3704fe){if(_0xaf2ff0['attributes']){const _0x3d2527=_0xaf2ff0['attributes'];this['_areValuesBoolean'](_0x3d2527)?_0xaf2ff0['attributesBoolean']=_0x3d2527:_0xaf2ff0['attributesJson']=JSON['stringify'](_0x3d2527);}_0xaf2ff0['children']&&this['_serializeNodesAttributes'](_0xaf2ff0['children']);}}['_deserializeNodesAttributes'](_0x32258e){for(const _0xecfb4c of _0x32258e)(_0xecfb4c['attributesBoolean']||_0xecfb4c['attributesJson'])&&(_0xecfb4c['attributesBoolean']?(_0xecfb4c['attributes']=_0xecfb4c['attributesBoolean'],delete _0xecfb4c['attributesBoolean']):(_0xecfb4c['attributes']=JSON['parse'](_0xecfb4c['attributesJson']),delete _0xecfb4c['attributesJson'])),_0xecfb4c['children']&&this['_deserializeNodesAttributes'](_0xecfb4c['children']);}['_areValuesBoolean'](_0x4dca7d){return Object['keys'](_0x4dca7d)['every'](_0x471dea=>'boolean'==typeof _0x4dca7d[_0x471dea]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x516c32,_0x43414e){super['decompress'](_0x516c32,_0x43414e);const _0x5a1c6f=_0x516c32[_0x516c32['length']-0x1];_0x5a1c6f['oldRange']||(_0x5a1c6f['oldRange']=null),_0x5a1c6f['newRange']||(_0x5a1c6f['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x5f05b7,_0x20d62e){return _0x20d62e['index']++,_0x5f05b7['types']['push'](this['_id']),!0x0;}['decompress'](_0x552ee7,_0x3c5750){_0x3c5750['typeIndex']++,_0x552ee7['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x1d54fe,_0x196092,_0xfd439d,_0x1c0a7a){super(_0x1d54fe,_0x196092,_0xfd439d),this['_omittedNamespace']=_0x1c0a7a+':';}['compress'](_0xed15d6,_0x25e85e){const _0x308f24=_0x25e85e['operations'][_0x25e85e['index']];return!('MarkerOperation'!=_0x308f24['__className']||!_0x308f24['name']['startsWith'](this['_omittedNamespace']))&&(_0x308f24['name']=_0x308f24['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0xed15d6,_0x25e85e),!0x0);}['decompress'](_0x52aad5,_0xb22a10){super['decompress'](_0x52aad5,_0xb22a10);const _0x453b30=_0x52aad5[_0x52aad5['length']-0x1];_0x453b30['name']=this['_omittedNamespace']+_0x453b30['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x3059bd,_0x30f16f){this['_id']=_0x3059bd,this['_context']=_0x30f16f;}['compress'](_0x91135b,_0x6d1aaf){let _0x47e5df,_0xc3850c=_0x6d1aaf['operations'][_0x6d1aaf['index']],_0x4725ab=_0x6d1aaf['operations'][_0x6d1aaf['index']+0x1];for(;_0x4725ab&&this['_compareOperations'](_0xc3850c,_0x4725ab);)_0x47e5df?(_0x47e5df=this['_combineNext'](_0xc3850c,_0x47e5df),_0x91135b['types']['push'](0x0)):(_0x47e5df=Cr(_0xc3850c),_0x91135b['types']['push'](this['_id'])),_0x6d1aaf['index']++,_0xc3850c=_0x6d1aaf['operations'][_0x6d1aaf['index']],_0x4725ab=_0x6d1aaf['operations'][_0x6d1aaf['index']+0x1];return!!_0x47e5df&&(_0x47e5df=this['_combineNext'](_0x6d1aaf['operations'][_0x6d1aaf['index']++],_0x47e5df),_0x91135b['types']['push'](0x0),_0x91135b['buffers']['push'](this['_compressSingleOperation'](_0x47e5df)),!0x0);}['decompress'](_0x1b6639,_0x6c2f45){const _0x34f420=this['_decompressSingleOperation'](_0x6c2f45);for(;0x0==_0x6c2f45['types'][_0x6c2f45['typeIndex']];)_0x6c2f45['typeIndex']++,_0x1b6639['push'](this['_splitCurrent'](_0x34f420));_0x1b6639['push'](_0x34f420);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x14e243,_0x185ff6){return _0x185ff6['nodes'][0x0]['data']+=_0x14e243['nodes'][0x0]['data'],_0x185ff6;}['_splitCurrent'](_0x8a64fb){const _0x2dae1a=Cr(_0x8a64fb),_0x14bd22=_0x2dae1a['nodes'][0x0],_0x7a5bc0=_0x8a64fb['nodes'][0x0],_0x4a3b45=_0x7a5bc0['data'][Symbol['iterator']]()['next']()['value'],_0x594948=_0x4a3b45['length'];return _0x14bd22['data']=_0x4a3b45,_0x7a5bc0['data']=_0x7a5bc0['data']['substr'](_0x594948),_0x8a64fb['position']=Tb(_0x8a64fb['position'],_0x594948),_0x2dae1a;}['_compareOperations'](_0x566577,_0x4e6a0c){if(this['_checkOperation'](_0x566577)&&this['_checkOperation'](_0x4e6a0c)){const _0x446118=_0x566577['nodes'][0x0]['data']['length'],_0x4a3b95=Eb(Tb(_0x566577['position'],_0x446118),_0x4e6a0c['position']),_0x3805f4=_0x566577['nodes'][0x0],_0xe157ff=_0x4e6a0c['nodes'][0x0];return _0x4a3b95&&this['_compareAttributes'](_0x3805f4,_0xe157ff);}return!0x1;}['_compressSingleOperation'](_0x1097f1){const _0x5c261c={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x5c261c,{'operations':[_0x1097f1],'index':0x0}),_0x5c261c['buffers'][0x0];}['_decompressSingleOperation'](_0x5343d1){const _0x439c58=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x439c58,_0x5343d1),_0x439c58[0x0];}['_checkOperation'](_0x464ec0){return'InsertOperation'==_0x464ec0['__className']&&0x1==_0x464ec0['nodes']['length']&&_0x464ec0['nodes'][0x0]['data']&&!_0x464ec0['wasUndone']&&0x1==Array['from'](_0x464ec0['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x317b7d,_0x9a57d9){const _0x482b8d=Object['keys'](_0x317b7d['attributes']||{}),_0x2e2357=Object['keys'](_0x9a57d9['attributes']||{});return _0x482b8d['length']===_0x2e2357['length']&&_0x482b8d['every'](_0x2567e3=>_0x9a57d9['attributes'][_0x2567e3]&&_0x9a57d9['attributes'][_0x2567e3]===_0x317b7d['attributes'][_0x2567e3]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x273854,_0x19a9ca){return _0x19a9ca['howMany']++,_0x19a9ca['sourcePosition']=Cr(_0x273854['sourcePosition']),_0x19a9ca;}['_splitCurrent'](_0x2d9154){const _0x4ded88=Cr(_0x2d9154);return _0x2d9154['howMany']--,_0x4ded88['howMany']=0x1,_0x4ded88['sourcePosition']=Tb(_0x4ded88['sourcePosition'],_0x2d9154['howMany']),_0x4ded88;}['_compareOperations'](_0x15a146,_0x3e34ad){return!(!this['_checkOperation'](_0x15a146)||!this['_checkOperation'](_0x3e34ad))&&(Eb(Tb(_0x15a146['sourcePosition'],-0x1),_0x3e34ad['sourcePosition'])&&Eb(_0x15a146['targetPosition'],_0x3e34ad['targetPosition']));}['_compressSingleOperation'](_0x582f1e){const _0x1433d0={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x1433d0,{'operations':[_0x582f1e],'index':0x0}),_0x1433d0['buffers'][0x0];}['_decompressSingleOperation'](_0x55cadb){const _0x1c082d=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x1c082d,_0x55cadb),_0x1c082d[0x0];}['_checkOperation'](_0x5386b9){return'MoveOperation'==_0x5386b9['__className']&&'$graveyard'==_0x5386b9['targetPosition']['root']&&0x1==_0x5386b9['howMany']&&!_0x5386b9['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x4d349c,_0x2840b3){return _0x2840b3['howMany']++,_0x2840b3;}['_splitCurrent'](_0x2095e3){const _0x475ce3=Cr(_0x2095e3);return _0x475ce3['howMany']=0x1,_0x2095e3['howMany']--,_0x475ce3;}['_compareOperations'](_0x1c3a12,_0x1f3dd7){return!(!this['_checkOperation'](_0x1c3a12)||!this['_checkOperation'](_0x1f3dd7))&&(Eb(_0x1c3a12['sourcePosition'],_0x1f3dd7['sourcePosition'])&&Eb(_0x1c3a12['targetPosition'],_0x1f3dd7['targetPosition']));}['_compressSingleOperation'](_0x5096de){const _0x9bd213={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x9bd213,{'operations':[_0x5096de],'index':0x0}),_0x9bd213['buffers'][0x0];}['_decompressSingleOperation'](_0x4a3593){const _0x59ee85=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x59ee85,_0x4a3593),_0x59ee85[0x0];}['_checkOperation'](_0x57620){return'MoveOperation'==_0x57620['__className']&&'$graveyard'==_0x57620['targetPosition']['root']&&0x1==_0x57620['howMany']&&!_0x57620['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x1a8366,_0x2d1825){if(!this['_compareOperations'](_0x2d1825['operations'][_0x2d1825['index']],_0x2d1825['operations'][_0x2d1825['index']+0x1]))return!0x1;const _0x23d8ce=_0x2d1825['operations'][_0x2d1825['index']++];return _0x23d8ce['oldRange']=null,_0x23d8ce['newRange']&&Eb(_0x23d8ce['newRange']['start'],_0x23d8ce['newRange']['end'])&&(_0x23d8ce['newRange']['end']=null),_0x2d1825['index']++,_0x1a8366['types']['push'](this['_id']),_0x1a8366['types']['push'](0x0),_0x1a8366['buffers']['push'](this['_compressSingleOperation'](_0x23d8ce)),!0x0;}['decompress'](_0x17fd36,_0x1a982c){const _0x190c48=this['_decompressSingleOperation'](_0x1a982c);_0x190c48['newRange']&&!_0x190c48['newRange']['end']&&(_0x190c48['newRange']['end']=Cr(_0x190c48['newRange']['start']));const _0x20e620=Cr(_0x190c48);_0x20e620['newRange']&&(_0x20e620['newRange']['start']['stickiness']='toNone',_0x20e620['newRange']['end']=Cr(_0x20e620['newRange']['start'])),_0x20e620['name']='user:position:'+_0x20e620['name']['split'](':')[0x2],_0x1a982c['typeIndex']++,_0x17fd36['push'](_0x190c48),_0x17fd36['push'](_0x20e620);}['_compressSingleOperation'](_0xded6e1){const _0x15f77c={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x15f77c,{'operations':[_0xded6e1],'index':0x0}),_0x15f77c['buffers'][0x0];}['_decompressSingleOperation'](_0xc858f){const _0x42e80b=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x42e80b,_0xc858f),_0x42e80b[0x0];}['_compareOperations'](_0x357cc8,_0x3c91de){return!(!_0x357cc8||!_0x3c91de)&&('MarkerOperation'==_0x357cc8['__className']&&'MarkerOperation'==_0x3c91de['__className']&&!(!_0x357cc8['name']['startsWith']('user:')||!_0x3c91de['name']['startsWith']('user:')||_0x357cc8['name']==_0x3c91de['name']));}}class Compressor{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x478449=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',_0x478449,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x478449,'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'](_0x3e353a){if(!_0x3e353a||!_0x3e353a[0x0])throw new _0x37fbfa('no-operations-provided',this);const _0xc09fa7={'operations':_0x3e353a,'index':0x0},_0x1b58e9={'types':[],'buffers':[],'baseVersion':_0x3e353a[0x0]['baseVersion']};for(;_0xc09fa7['index']<_0xc09fa7['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x1b58e9,_0xc09fa7))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x1b58e9,_0xc09fa7))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x1b58e9,_0xc09fa7))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x1b58e9,_0xc09fa7))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x1b58e9,_0xc09fa7))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x1b58e9,_0xc09fa7))continue;const _0x2f1778=_0xc09fa7['operations'][_0xc09fa7['index']]['__className'];this['_getCompressorByName'](_0x2f1778)['compress'](_0x1b58e9,_0xc09fa7);}return _0x1b58e9;}['decompress'](_0x2d5a17){const _0xd68a5f=[],_0x6e5820={'types':_0x2d5a17['types'],'buffers':_0x2d5a17['buffers'],'baseVersion':_0x2d5a17['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x6e5820['typeIndex']<_0x6e5820['types']['length'];){const _0x137764=_0x6e5820['types'][_0x6e5820['typeIndex']],_0x366de3=this['_compressorById']['get'](_0x137764);if(!_0x366de3)throw new _0x37fbfa('decompress-compressor-not-found',this,{'type':_0x137764});_0x366de3['decompress'](_0xd68a5f,_0x6e5820);}return _0xd68a5f['forEach']((_0xf73174,_0x556cf9)=>_0xf73174['baseVersion']=_0x2d5a17['baseVersion']+_0x556cf9),_0xd68a5f;}['_getCompressorByName'](_0x2649ff){return this['_compressorByName']['get'](_0x2649ff);}['_registerOperationCompressor'](_0x42ac46,_0x15565c,_0x20a6c8){const _0x5f46cc=new _0x20a6c8(_0x42ac46,_0x15565c,this['_protobufFactory']['getDescriptor'](_0x15565c));this['_registerCompressor'](_0x42ac46,_0x15565c,_0x5f46cc);}['_registerActionCompressor'](_0x2bc391,_0x3f121f,_0x2eccdf){const _0x243b69=new _0x2eccdf(_0x2bc391,this);this['_registerCompressor'](_0x2bc391,_0x3f121f,_0x243b69);}['_registerCompressor'](_0x133f33,_0x252e24,_0x336fa0){this['_compressorById']['set'](_0x133f33,_0x336fa0),this['_compressorByName']['set'](_0x252e24,_0x336fa0);}}let Cb=0x1;class RealTimeCollaborationClient extends _0x13517b{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,_0x204cf0,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 _0x44a5fb=this['serverHistory']['getOperations']();for(let _0x349b63=_0x44a5fb['length']-0x1;_0x349b63>=0x0;_0x349b63--){const _0x8ad3ee=_0x44a5fb[_0x349b63];if(!this['_disconnectionOperations']['has'](_0x8ad3ee))return _0x8ad3ee['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0xd1c50e){if(super(_0xd1c50e),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x139706(),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x37fbfa('collaboration-missing-channelid',this);const _0x55da21=_0xd1c50e['config']['get']('cloudServices.bundleVersion')||_0x4225cd;this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x55da21,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 _0x8711b4=this['editor'],_0x56c584=_0x8711b4['plugins']['get'](Users),_0x8ceea3=_0x8711b4['plugins']['get'](WebSocketGateway);this['listenTo'](_0x56c584,'getOperationAuthor',(_0xae2d8f,_0x3fe9a9)=>{const _0x3f8be6=_0x3fe9a9[0x0];_0x3f8be6['_authorId']&&(_0xae2d8f['return']=_0x56c584['getUser'](_0x3f8be6['_authorId']),_0xae2d8f['stop']()),null===_0x3f8be6['_authorId']&&(_0xae2d8f['return']=null,_0xae2d8f['stop']());},{'priority':'high'}),this['listenTo'](_0x8711b4['model']['document']['selection'],'change:range',(_0x3851c5,_0x34211c)=>{_0x34211c['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x8711b4['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x8711b4['model']['on']('applyOperation',(_0x4b2015,_0xf52adb)=>{const _0x131e37=_0xf52adb[0x0];_0x131e37['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x131e37),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x8ceea3,'state',this,'_hasSynchronizationProblem',(_0x4157c9,_0x4f0ed2)=>'connected'===_0x4157c9&&!_0x4f0ed2),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x8711b4['disableReadOnlyMode']('rtc-offline'):_0x8711b4['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x8711b4['disableReadOnlyMode']('rtc-offline'):_0x8711b4['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x2e16bd=this['editor']['plugins']['get'](Sessions),_0x5e04a7=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x2e16bd['unregister'](this['_channelId']);const _0x8dcf4d=await this['_service']['reconnect'](_0x5e04a7['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x8dcf4d)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x583789=await this['_service']['getConnectedSessions']();_0x2e16bd['register'](this['_channelId'],_0x583789),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x151f6b){if(function(_0xaa222b){return'404'===_0xaa222b['code'];}(_0x151f6b)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x3b37ea){return'409'===_0x3b37ea['code'];}(_0x151f6b)){const _0x1b8445=_b(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'](_0x1b8445);}else{if(!(_0x151f6b instanceof ReconnectionError))throw _0x151f6b;this['_handleReconnectionError']();}}}}['destroy'](){const _0x24a79b=this['editor']['plugins']['get'](WebSocketGateway),_0x53a549=this['editor']['plugins']['get'](Sessions);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x53a549['channelSessions']['has'](this['_channelId'])&&_0x53a549['unregister'](this['_channelId']),_0x24a79b['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x1fd98d){if(this['sessionId']!==_0x1fd98d['sessionId']&&this['_lastSyncedOperationId']!==_0x1fd98d['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x1fd98d['sessionId'],this['_handleServerResponse']([],{..._0x1fd98d,'wereChangesApplied':!0x1,'data':_0x1fd98d['data']},'reconnect');}async['_connectService'](_0x2842d3,_0x3bfbc5=!0x1){const {connection:_0x4b6ef9}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x4b6ef9,this['_channelId'])['then'](_0x538c51=>this['_initSessionsHandling'](_0x538c51))['catch'](_0x34c328=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x34c328);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x2133c9,_0x2cd7aa)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x2cd7aa);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x530a00=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x2842d3);this['_isPendingUpdate']=!0x0;const _0x27ddaa=await this['_service']['connect'](_0x4b6ef9,this['_compressOperations'](_0x2842d3),_0x530a00);if(this['sessionId']=_0x27ddaa['sessionId'],_0x3bfbc5){if(!_0x27ddaa['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x27ddaa['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x2842d3,_0x27ddaa,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x27ddaa,_0x2842d3);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x1c64be=this['editor']['plugins']['get'](Sessions),_0x42d0a4=this['editor']['plugins']['get'](UserMarkers),_0x58a58f=_0x1c64be['channelSessions']['get'](this['_channelId']);_0x58a58f&&_0x58a58f['length']>0x1?_0x42d0a4['createUserMarkerOperations']():this['listenTo'](_0x1c64be,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x1c64be['channelSessions']['get'](this['_channelId'])['length']&&_0x42d0a4['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x54d50f,_0x364cc9,_0x3e661d,_0x5351b3){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x364cc9){const _0x3eb0c7=this['_decompressOperations'](_0x3e661d,_0x5351b3);await this['_fetchMissingUsers'](_0x3eb0c7),this['_handleExternalOperations'](_0x3eb0c7,_0x364cc9,_0x3e661d['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x3947f2}=this['editor'];let _0x4e7d90;try{_0x4e7d90=await this['_service']['getDocumentDetails']();}catch{const _0x500ffe=_b(_0x3947f2,'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'](_0x500ffe);}const _0x570f93=_0x4e7d90['currentDocumentSession']||_0x4e7d90['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x570f93['lastOperationId']){const _0x4eb7bd=_b(_0x3947f2,'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'](_0x4eb7bd);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x169642){const _0x4e58c4=this['editor']['plugins']['get'](Sessions);this['listenTo'](_0x4e58c4,'sessionAdd:'+this['_channelId'],(_0x294d94,{session:_0x58e982})=>{if(_0x58e982['id']===_0x4e58c4['mySessionId']){_0x294d94['off']();const _0x340c48=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x52633e=_0x58e982['permissions'];_0x340c48&&_0x340c48['isEnabled']&&(_0x52633e=_0x52633e['filter'](_0x3df923=>'document:write'!==_0x3df923)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x52633e,this['_channelId']);}}),_0x4e58c4['register'](this['_channelId'],_0x169642);}['_initThrowingOnDataSet'](){const _0x48d6a2=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x5870a2)=>{if(!_0x5870a2[_0x5870a2['length']-0x1]['suppressErrorInCollaboration'])throw new _0x37fbfa('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x48d6a2['apply'](this['editor']['data'],_0x5870a2);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x5359a3,[_0x5d5197])=>{if(this['_document']['version'])throw new _0x37fbfa('realtimecollaborationclient-init-document-already-initialized',this);_0x5359a3['stop'](),this['_setPendingAction']();const _0x41aa82=this['editor']['config']['get']('rootsAttributes'),_0x1f67e9=this['_getOperationsFromInitData'](_0x5d5197,_0x41aa82);0x0==_0x1f67e9['length']&&_0x1f67e9['push'](new _0x3a8aa4(0x0)),_0x5359a3['return']=this['_connectService'](_0x1f67e9)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x24981f=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x24981f))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x4b0eba,[_0xd0e76f,_0x3bf4ae])=>{_0x4b0eba['stop']();const _0x3fbe73=this['editor']['model']['document']['getRoot'](_0xd0e76f);if(!this['_knownRootNames']['has'](_0xd0e76f)){const _0x442603=_0x3bf4ae&&_0x3bf4ae['data']?_0x3bf4ae['data']:'',_0x2d3e5d=_0x3bf4ae&&_0x3bf4ae['attributes']?_0x3bf4ae['attributes']:{};await this['_loadRoot'](_0xd0e76f,_0x442603,_0x2d3e5d);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x3fbe73['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x3fbe73);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x33d94f){const _0x2f817d=this['editor']['plugins']['get'](Users),{connection:_0x21d1dd}=this['editor']['plugins']['get'](WebSocketGateway),_0x4db90a=new Set();for(const _0x2ef580 of _0x33d94f){const _0xe35bc7=_0x2ef580['_authorId'];_0xe35bc7&&!_0x2f817d['getUser'](_0xe35bc7)&&_0x4db90a['add'](_0xe35bc7);}if(0x0===_0x4db90a['size'])return;const _0x577098=await User['getMany'](_0x21d1dd,Array['from'](_0x4db90a));for(const _0x5de69e of _0x577098)_0x2f817d['getUser'](_0x5de69e['id'])||_0x2f817d['addUser'](_0x5de69e);}['_getOperationsFromInitData'](_0x49f1ca,_0x1b0359={}){const _0x5b13d9=this['editor']['model'],_0x142ae4=[];let _0x128a37=0x0;const _0x36879a='string'==typeof _0x49f1ca?{'main':_0x49f1ca}:_0x49f1ca;for(const _0x590682 of Object['keys'](_0x36879a)){if(!this['_document']['roots']['has'](_0x590682))throw new _0x37fbfa('realtimecollaborationclient-init-non-existent-root',this);const _0x497296=this['editor']['data']['parse'](_0x36879a[_0x590682]),_0x5c9599=this['_document']['getRoot'](_0x590682),_0x27a323=new _0x30aab9(_0x5b13d9['createPositionAt'](_0x5c9599,0x0),_0x497296,_0x128a37++);_0x142ae4['push'](_0x27a323);for(const [_0x2b1ad6,_0x1ca146]of _0x497296['markers']){const _0x3cafb9=_0x5b13d9['createRange'](_0x5b13d9['createPositionFromPath'](_0x5c9599,_0x1ca146['start']['path']['slice']()),_0x5b13d9['createPositionFromPath'](_0x5c9599,_0x1ca146['end']['path']['slice']())),_0x2494c8=new ts(_0x2b1ad6,null,_0x3cafb9,_0x5b13d9['markers'],!0x0,_0x128a37++);_0x142ae4['push'](_0x2494c8);}}if(_0x1b0359)for(const [_0x3715cd,_0x101abd]of Object['entries'](_0x1b0359)){const _0x19c975=_0x5b13d9['document']['getRoot'](_0x3715cd);if(!_0x19c975)throw new _0x37fbfa('multi-root-editor-root-attributes-no-root',null);for(const [_0x1e736b,_0x13f2ca]of Object['entries'](_0x101abd))if(null!==_0x13f2ca){const _0x2b49f0=new _0x5591ba(_0x19c975,_0x1e736b,null,_0x13f2ca,_0x128a37++);_0x142ae4['push'](_0x2b49f0);}}return _0x142ae4;}async['_loadRoot'](_0x38d309,_0x532c40,_0x53a4d1){this['_getOperationsFromInitData']({[_0x38d309]:_0x532c40},{[_0x38d309]:_0x53a4d1})['forEach']((_0x1530c3,_0x1f214b)=>{_0x1530c3['baseVersion']=this['_document']['version']+_0x1f214b,_0x1530c3['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x1530c3);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x194352,_0x150081){let _0x28cf35;this['_offset']=_0x194352['offset'];const _0x183906=_0x194352['wereChangesApplied']&&!_0x194352['initData'],_0x4261cd=_0x183906?0x0:_0x194352['data']['baseVersion'];if(_0x150081['forEach'](_0x4f2e12=>{_0x4f2e12['_isInit']=!0x0,_0x4f2e12['createdAt']=_0x194352['sessionCreatedAt'],_0x4f2e12['_authorId']=null;}),_0x183906)_0x28cf35=_0x150081,this['_applyOperationsSet'](_0x28cf35,_0x183906);else{if(_0x194352['initData']){const _0x599f45=this['_getOperationsFromInitData'](_0x194352['initData']);this['_document']['history']['version']=-_0x599f45['length'],_0x599f45['forEach'](_0x10aeb8=>{_0x10aeb8['baseVersion']-=_0x599f45['length'],_0x10aeb8['createdAt']=_0x194352['sessionCreatedAt'],_0x10aeb8['_isInit']=!0x0,_0x10aeb8['_authorId']=null;}),this['_applyOperationsSet'](_0x599f45,!0x0),this['serverHistory']['version']=-_0x599f45['length']+this['_offset'],this['_updateServerHistory'](_0x599f45);}this['_document']['history']['version']=_0x4261cd,_0x28cf35=this['_decompressOperations'](_0x194352['data'],_0x194352['metadata']),await this['_fetchMissingUsers'](_0x28cf35),this['_applyOperationsSet'](_0x28cf35,_0x183906);}_0x194352['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x28cf35,_0x194352['lastOperationId']),this['_lastSyncedOperationId']=_0x194352['lastOperationId']),this['serverHistory']['version']=_0x4261cd+this['_offset'],this['_updateServerHistory'](_0x28cf35),_0x150081['filter'](_0x3da7de=>{const _0x3da3c4=this['_getAffectedRoot'](_0x3da7de);return _0x3da3c4&&!this['_knownRootNames']['has'](_0x3da3c4);})['forEach']((_0x2c03da,_0x8aea6)=>{_0x2c03da['baseVersion']=this['_document']['version']+_0x8aea6,this['_saveOperationInBuffer'](_0x2c03da);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x915777,_0x36b10f){const _0x4128a0=_0x36b10f&&_0x36b10f['message'];if(_0x4128a0&&_0x4128a0['startsWith']('realtimecollaborationclient'))throw _0x36b10f;const _0x1fb5f2=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x1fb5f2['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x37fbfa(_0x915777,this['editor'],_0x4128a0?{'originalError':_0x4128a0}:void 0x0);}['_saveOperationInBuffer'](_0x3c1ad8){this['_knownOperations']['has'](_0x3c1ad8)||(this['_knownOperations']['add'](_0x3c1ad8),this['_bufferedOperations']['push'](_0x3c1ad8),this['_pendingAction']||'marker'==_0x3c1ad8['type']&&!_0x3c1ad8['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x6eb728=!0x1){!_0x6eb728&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0xf68189=>{_0xf68189&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x58625b=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x2107f8){return _0x2107f8['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x2107f8['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x2107f8['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x58625b)||this['_crash'](_0x58625b['message'],_0x58625b);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x316172=>{this['on']('change:_isPendingUpdate',()=>{_0x316172();});});}async['_sendBufferedOperations'](){const _0x3e56b9=this['editor']['plugins']['get'](UserMarkers);if(this['_shouldSendSelectionUpdate']()&&(_0x3e56b9['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x38692b=[...this['_bufferedOperations']];for(const _0x512beb of _0x38692b)_0x512beb['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x512beb);const _0x335353=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x38692b),_0x217ac8=Cb++,_0x18c293=this['_compressOperations'](_0x38692b),_0x35f769=await this['_service']['sendOperations'](_0x18c293,_0x18c293['baseVersion'],_0x335353);try{return await this['_handleServerResponse'](_0x38692b,_0x35f769,_0x217ac8);}catch(_0x39a377){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x39a377);}}async['_handleServerResponse'](_0x1f1f3e,_0x5a8204,_0xddb144){if('error'in _0x5a8204)throw _0x5a8204['error'];let _0x59c4c2=!0x1;if(_0x5a8204['wereChangesApplied']){_0x5a8204['lastOperationId']&&(this['_lastSyncedOperationId']=_0x5a8204['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0xbcf783=>!_0x1f1f3e['includes'](_0xbcf783));for(const _0x31760e of _0x1f1f3e)_0x31760e['createdAt']='lastOperationAcceptedAt'in _0x5a8204&&_0x5a8204['lastOperationAcceptedAt']||void 0x0;kb(_0x1f1f3e,_0x5a8204['version']-_0x1f1f3e['length']),this['_updateServerHistory'](_0x1f1f3e);const _0x4f5f25=_0x1f1f3e['filter'](_0x3ed5c7=>{if(!_0x3ed5c7['_isInit'])return!0x1;const _0x517ecc=this['_getAffectedRoot'](_0x3ed5c7);return _0x517ecc&&!this['_knownRootNames']['has'](_0x517ecc);});kb(_0x4f5f25,this['_document']['version']),this['_applyOperationsSet'](_0x4f5f25),_0x59c4c2=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x3348ad=this['_decompressOperations'](_0x5a8204['data'],_0x5a8204['metadata'])['filter'](_0x2a6a26=>_0x2a6a26['baseVersion']>=this['_lastServerVersion']);_0x3348ad['forEach'](_0x5f3543=>this['_addKnownRoot'](_0x5f3543)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x4c038d=>!_0x4c038d['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x4c038d))),this['_bufferedOperations']['length']&&kb(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x3348ad),_0x59c4c2=this['_handleExternalOperations'](_0x3348ad,_0x5a8204['version'],_0x5a8204['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x59c4c2?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x592cad,_0x36ac10,_0x3302d6){try{const _0x23766c={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x21b2da,operationsB:_0x27f0d2,originalOperations:_0xc1c51a}=_0x3c2044(_0x592cad,this['_bufferedOperations'],_0x23766c);kb(_0x21b2da,this['_document']['version']),kb(_0x27f0d2,_0x36ac10);for(const _0x47a07a of _0x21b2da){const _0x195056=_0xc1c51a['get'](_0x47a07a);_0x47a07a['_authorId']=_0x195056?_0x195056['_authorId']:null;}_0x3302d6&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x592cad,_0x3302d6),this['_lastSyncedOperationId']=_0x3302d6),this['_bufferedOperations']=[..._0x27f0d2],this['_applyOperationsSet'](_0x21b2da),this['_updateServerHistory'](_0x592cad);}catch(_0x4394ec){return console['error'](_0x4394ec),!0x1;}return!0x0;}['_applyOperationsSet'](_0x419a0d,_0x58cfe4=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0xdd196e=>{for(const _0x2d289c of _0x419a0d)this['_knownOperations']['add'](_0x2d289c),this['_addKnownRoot'](_0x2d289c),_0xdd196e['batch']['addOperation'](_0x2d289c),this['editor']['model']['applyOperation'](_0x2d289c);});}['_addKnownRoot'](_0x3a5357){const _0x1f5789=this['_getAffectedRoot'](_0x3a5357);_0x1f5789&&this['_knownRootNames']['add'](_0x1f5789);}['_getAffectedRoot'](_0x39b036){let _0x26e916,_0xb95334;switch(_0x39b036['type']){case'insert':_0x26e916=_0x39b036['position']['root'];break;case'marker':if(_0xb95334=_0x39b036['newRange'],!_0xb95334)return null;_0x26e916=_0xb95334['root'];break;case'addRootAttribute':_0x26e916=_0x39b036['root'];break;case'addRoot':_0x26e916=_0x39b036['affectedSelectable'];break;case'move':_0x26e916=_0x39b036['targetPosition']['root'];break;default:return null;}return _0x26e916['rootName'];}['_updateServerHistory'](_0x34344d){_0x34344d['forEach'](_0x40e30d=>{const _0x2c9946=_0x40e30d['clone']();_0x2c9946['_authorId']=_0x40e30d['_authorId'],_0x2c9946['_isInit']=!!_0x40e30d['_isInit'],_0x2c9946['createdAt']=_0x40e30d['createdAt'],_0x2c9946['baseVersion']+=this['_offset'],_0x40e30d['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x2c9946),this['serverHistory']['addOperation'](_0x2c9946);});}['_handleReconnectionError'](_0x42c50c){const _0x3d97dd=this['editor']['plugins']['get']('Notification'),_0x522f9d=this['editor']['locale'];_0x42c50c||(_0x42c50c=_b(_0x522f9d,'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.')),_0x3d97dd['showWarning'](_0x42c50c,{'title':_b(_0x522f9d,'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'](_0x204cf0)['add'](_b(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x204cf0)['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x2a10d2){const _0x18ab82=_0x2a10d2['map'](_0x105cfd=>_0x105cfd['toJSON']());return this['_compressor']['compress'](_0x18ab82);}['_decompressOperations'](_0x11d7a4,_0x1d1b2c){return this['_compressor']['decompress'](_0x11d7a4)['map']((_0x546753,_0x80cc6c)=>{const _0x413708='init'==_0x1d1b2c[_0x80cc6c]['type'];if('InsertOperation'==_0x546753['__className']){const _0x303a35=_0x546753['position']['root'];!this['_document']['getRoot'](_0x303a35)&&(this['_document']['createRoot']('$root',_0x303a35)['_isAttached']=!0x1);}const _0x2bd946=_0x299295['fromJSON'](_0x546753,this['_document']);return _0x2bd946['wasUndone']=_0x546753['wasUndone'],_0x2bd946['_isInit']=_0x413708,_0x2bd946['_authorId']=_0x413708?null:_0x1d1b2c[_0x80cc6c]['userId'],_0x2bd946['_isDisconnection']='cs:removeUser'===_0x1d1b2c[_0x80cc6c]['type'],_0x2bd946['createdAt']=_0x1d1b2c[_0x80cc6c]['createdAt'],_0x2bd946;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x226df4=this['editor']['plugins']['get'](Sessions)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x226df4&&_0x226df4['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function kb(_0x1e79b7,_0x1810cd){for(const _0x250b4c of _0x1e79b7)_0x250b4c['baseVersion']=_0x1810cd++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x9e6be2){this['_ignoredOperations']=_0x9e6be2,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x4cae0e){let _0x22e121=_0x4cae0e['length'];for(;_0x22e121--;){const _0x2f6827=_0x4cae0e[_0x22e121];if(!this['_ignoredOperations']['has'](_0x2f6827)){if(!this['_operationToId']['has'](_0x2f6827)){const _0x3770a3=_0x5c5c0c()['slice'](0x1,0x12);this['_operationToId']['set'](_0x2f6827,_0x3770a3);}return this['_operationToId']['get'](_0x2f6827);}}}['setIdForTheLastOperation'](_0x1e2adc,_0x1bee2e){if(!_0x1bee2e)return;let _0x46c02=_0x1e2adc['length'];for(;_0x46c02--;){const _0x543b1b=_0x1e2adc[_0x46c02];this['_ignoredOperations']['has'](_0x543b1b)||this['_operationToId']['set'](_0x543b1b,_0x1bee2e);}}}class RealTimeCollaborativeEditing extends _0x13517b{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends _0x13e428{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(_0x4d6ea9){super(_0x4d6ea9),this['_services']=new Map();}async['init'](){const _0x991fd8=this['context'],_0x52f79e=_0x991fd8['plugins']['get']('CommentsRepository');if(_0x991fd8['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x52f79e['adapter']={'addCommentThread':async({channelId:_0x2f4175,threadId:_0x322810,comments:_0x1e9551,resolvedAt:_0x5b1316,resolvedBy:_0x352222,context:_0x32b670,attributes:_0x600765})=>{const _0x3c4576=await this['_getService'](_0x2f4175)['addCommentThread']({'commentThreadId':_0x322810,'comments':_0x1e9551['map'](_0x379a83=>function(_0x387c26,_0x56fc6d,_0x20b300){return{'commentThreadId':_0x20b300,'commentId':_0x387c26['commentId'],'userId':_0x387c26['authorId'],'content':_0x387c26['content'],'documentId':_0x56fc6d,'createdAt':_0x387c26['createdAt'],'attributes':_0x387c26['attributes']||{}};}(_0x379a83,_0x2f4175,_0x322810)),'resolvedAt':_0x5b1316,'resolvedBy':_0x352222,'context':_0x32b670,'attributes':_0x600765})['catch'](Rb);return{'threadId':_0x3c4576['commentThreadId'],'comments':_0x3c4576['comments']};},'getCommentThread':async({channelId:_0x8f3373,threadId:_0x3962c9})=>{const _0x1218ae=await this['_getService'](_0x8f3373)['getCommentThread'](_0x3962c9)['catch'](xb)['catch'](Rb);return _0x1218ae?_0x1218ae['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x1218ae]),{'threadId':_0x1218ae['commentThreadId'],'comments':_0x1218ae['comments']['map'](Pb),'context':_0x1218ae['context'],'resolvedAt':_0x1218ae['resolvedAt'],'resolvedBy':_0x1218ae['resolvedBy'],'attributes':_0x1218ae['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x561843,threadId:_0x517c25,context:_0x2de678,unlinkedAt:_0x1e1ea9,attributes:_0x1e3d13})=>this['_getService'](_0x561843)['updateCommentThread']({'commentThreadId':_0x517c25,'context':_0x2de678,'attributes':_0x1e3d13,'unlinkedAt':_0x1e1ea9})['catch'](xb)['catch'](Rb),'resolveCommentThread':async({channelId:_0xa00bdb,threadId:_0x3f9ef0})=>{const _0x416c5f=await this['_getService'](_0xa00bdb)['resolveCommentThread'](_0x3f9ef0)['catch'](xb)['catch'](Rb);return{'threadId':_0x416c5f['commentThreadId'],'resolvedAt':_0x416c5f['resolvedAt'],'resolvedBy':_0x416c5f['resolvedBy']};},'reopenCommentThread':async({channelId:_0x66dd1c,threadId:_0xc14577})=>this['_getService'](_0x66dd1c)['reopenCommentThread'](_0xc14577)['catch'](xb)['catch'](Rb),'removeCommentThread':({channelId:_0x16e10a,threadId:_0x53b7d2})=>this['_getService'](_0x16e10a)['removeCommentThread'](_0x53b7d2)['catch'](xb)['catch'](Rb),'addComment':({channelId:_0x596ab5,threadId:_0x4c2d71,commentId:_0x150c09,content:_0x2dca44,attributes:_0x203e52})=>this['_getService'](_0x596ab5)['addComment'](_0x4c2d71,_0x150c09,_0x2dca44,_0x203e52)['catch'](Rb),'updateComment':({channelId:_0x32b500,threadId:_0x315ab7,commentId:_0x35c68a,content:_0x5b16cd,attributes:_0x1d59fc})=>this['_getService'](_0x32b500)['updateComment'](_0x315ab7,_0x35c68a,_0x5b16cd,_0x1d59fc)['catch'](xb)['catch'](Rb),'removeComment':({channelId:_0x6485e6,threadId:_0x1131dd,commentId:_0x55df69})=>this['_getService'](_0x6485e6)['removeComment'](_0x1131dd,_0x55df69)['catch'](xb)['catch'](Rb)},_0x991fd8 instanceof _0x2a94d7){const _0x392c52=_0x991fd8['config']['get']('collaboration.channelId'),_0x4a5bb1=_0x991fd8['plugins']['get'](Sessions);await this['_setUpService'](_0x392c52);const _0x3d03cf=await this['_services']['get'](_0x392c52)['getConnectedSessions']();this['listenTo'](_0x4a5bb1,'sessionAdd:'+_0x392c52,(_0x3167ec,{session:_0x1a948d})=>{_0x1a948d['id']===_0x4a5bb1['mySessionId']&&(_0x3167ec['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x1a948d['permissions'],_0x392c52));}),_0x4a5bb1['register'](_0x392c52,_0x3d03cf);}}async['_setUpService'](_0x4a7f8a){if(this['_services']['has'](_0x4a7f8a))throw new _0x37fbfa('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x4a7f8a});const _0x5b6b20=this['context']['plugins']['get']('CommentsRepository'),_0x5b8580=new CloudServicesCommentsAdapter['CommentsService'](_0x4a7f8a);this['_services']['set'](_0x4a7f8a,_0x5b8580),this['listenTo'](_0x5b8580,'commentThreadAdded',(_0x4a9851,_0x446523)=>{const {commentThreadId:_0x29ed9a,documentId:_0x53bcf8,context:_0x9f7900,attributes:_0xc9261c,resolvedAt:_0xd1363a,resolvedBy:_0x11db7c,comments:_0x2445c6}=_0x446523;_0x5b6b20['getCommentThread'](_0x29ed9a)||_0x5b6b20['addCommentThread']({'threadId':_0x29ed9a,'channelId':_0x53bcf8,'comments':_0x2445c6?_0x2445c6['map'](Pb):[],'context':_0x9f7900,'attributes':_0xc9261c,'resolvedAt':_0xd1363a,'resolvedBy':_0x11db7c,'isFromAdapter':!0x0});}),this['listenTo'](_0x5b8580,'commentThreadUpdated',(_0x2ba42a,{commentThreadId:_0x450d63,documentId:_0x236c34,context:_0x299bfe,unlinkedAt:_0x4a860e,attributes:_0x4403a4})=>{_0x5b6b20['getCommentThread'](_0x450d63)&&_0x5b6b20['updateCommentThread']({'threadId':_0x450d63,'channelId':_0x236c34,'context':_0x299bfe,'unlinkedAt':_0x4a860e,'attributes':_0x4403a4,'isFromAdapter':!0x0});}),this['listenTo'](_0x5b8580,'commentThreadResolved',(_0x5c5a20,{commentThreadId:_0x1fcdca,resolvedBy:_0x257e14,resolvedAt:_0x3fd2b4})=>{const _0x5ded45=_0x5b6b20['getCommentThread'](_0x1fcdca);_0x5ded45&&_0x5ded45['resolve']({'resolvedBy':_0x257e14,'resolvedAt':_0x3fd2b4,'isFromAdapter':!0x0});}),this['listenTo'](_0x5b8580,'commentThreadReopened',(_0x2748fe,{commentThreadId:_0x1938c6})=>{const _0x2bf3a4=_0x5b6b20['getCommentThread'](_0x1938c6);_0x2bf3a4&&_0x2bf3a4['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x5b8580,'commentThreadRemoved',(_0x4abb74,{commentThreadId:_0x17845a})=>{const _0x3954d3=_0x5b6b20['getCommentThread'](_0x17845a);_0x3954d3&&_0x3954d3['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x5b8580,'commentAdded',(_0x2017f8,_0xe55d96)=>{const _0x34ce0e=_0xe55d96['commentThreadId'],_0x23051f=_0x5b6b20['getCommentThread'](_0x34ce0e);_0x23051f&&_0x23051f['addComment']({...Pb(_0xe55d96),'isFromAdapter':!0x0});}),this['listenTo'](_0x5b8580,'commentUpdated',(_0x24c5c1,{commentThreadId:_0x2f52ca,commentId:_0x341978,content:_0x58b4a0,attributes:_0x3b548e})=>{const _0x2ddaa4=_0x5b6b20['getCommentThread'](_0x2f52ca);if(_0x2ddaa4){const _0x40f18c=_0x2ddaa4['getComment'](_0x341978);_0x40f18c&&_0x40f18c['update']({'content':_0x58b4a0,'attributes':_0x3b548e,'isFromAdapter':!0x0});}}),this['listenTo'](_0x5b8580,'commentRemoved',(_0x1c759b,{commentThreadId:_0x790779,commentId:_0x4d4741})=>{const _0x1d81d9=_0x5b6b20['getCommentThread'](_0x790779);if(_0x1d81d9){const _0x1a0b9a=_0x1d81d9['getComment'](_0x4d4741);_0x1a0b9a&&_0x1a0b9a['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x4a7f8a);}['destroy'](){if(this['context']instanceof _0x2a94d7){const _0x2757e0=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x2757e0);}}['_terminateService'](_0x40006d){if(!this['_services']['has'](_0x40006d))throw new _0x37fbfa('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x40006d});this['_getService'](_0x40006d)['disconnect'](),this['_services']['delete'](_0x40006d);}async['reconnect'](){for(const _0x1e0ffb of this['_services']['keys']())await this['_connectService'](_0x1e0ffb);if(this['context']instanceof _0x2a94d7){const _0x1db1f4=this['context']['config']['get']('collaboration.channelId'),_0x550c0c=this['context']['plugins']['get'](Sessions);_0x550c0c['unregister'](_0x1db1f4);const _0x5616c1=await this['_services']['get'](_0x1db1f4)['getConnectedSessions']();_0x550c0c['register'](_0x1db1f4,_0x5616c1);}}async['_connectService'](_0x57d47f){const {connection:_0x1c869e}=this['context']['plugins']['get'](WebSocketGateway),_0x4ea62b=this['context']['plugins']['get']('CommentsRepository'),_0x3551f0=this['_services']['get'](_0x57d47f),_0xcac33=await _0x3551f0['connect'](_0x1c869e);await this['_fetchMissingUsersForThreads'](_0xcac33);const _0x682182=new Set(Array['from'](_0x4ea62b['getCommentThreads']({'channelId':_0x57d47f}),_0x4f8111=>_0x4f8111['id']));for(const _0x3c4a29 of _0xcac33)_0x3c4a29['deletedAt']||_0x682182['delete'](_0x3c4a29['commentThreadId']);for(const _0x52e45e of _0x682182)_0x4ea62b['getCommentThread'](_0x52e45e)['remove']({'isFromAdapter':!0x0});for(const _0x2c33b9 of _0xcac33){let _0x1563d1=_0x4ea62b['getCommentThread'](_0x2c33b9['commentThreadId']);const {commentThreadId:_0x4c4d6a,context:_0x53d526,attributes:_0x1c332d,resolvedBy:_0x1141f7,resolvedAt:_0x42fa2,unlinkedAt:_0x44eea2,deletedAt:_0x2169d3}=_0x2c33b9;if(_0x2169d3)continue;_0x1563d1||(_0x1563d1=_0x4ea62b['addCommentThread']({'channelId':_0x57d47f,'threadId':_0x4c4d6a,'context':_0x53d526,'attributes':_0x1c332d||{},'resolvedBy':_0x1141f7,'resolvedAt':_0x42fa2,'unlinkedAt':_0x44eea2,'isFromAdapter':!0x0}));const _0x3247ce=new Set(Array['from'](_0x1563d1['comments'],_0x4f9d90=>_0x4f9d90['id']));for(const _0x22def6 of _0x2c33b9['comments'])_0x3247ce['delete'](_0x22def6['commentId']);for(const _0x24c42c of _0x3247ce)_0x1563d1['getComment'](_0x24c42c)['remove']({'isFromAdapter':!0x0});for(const _0x43537c of _0x2c33b9['comments']){const _0x5677c4=_0x1563d1['getComment'](_0x43537c['commentId']);_0x5677c4?_0x5677c4['content']!==_0x43537c['content']&&_0x5677c4['update']({'content':_0x43537c['content'],'isFromAdapter':!0x0}):_0x1563d1['addComment'](Object['assign'](Pb(_0x43537c),{'isFromAdapter':!0x0}));}}}['_getService'](_0x49b3f9){if(!this['_services']['has'](_0x49b3f9))throw new _0x37fbfa('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x49b3f9});return this['_services']['get'](_0x49b3f9);}async['_fetchMissingUsersForThreads'](_0x47bc07){const _0x350b3b=this['context']['plugins']['get'](Users),{connection:_0x449bdc}=this['context']['plugins']['get'](WebSocketGateway),_0x2ada8e=new Set();for(const {resolvedBy:_0x28090e,comments:_0x40689a}of _0x47bc07){_0x28090e&&!_0x350b3b['getUser'](_0x28090e)&&_0x2ada8e['add'](_0x28090e);for(const {userId:_0x2a4164}of _0x40689a)_0x350b3b['getUser'](_0x2a4164)||_0x2ada8e['add'](_0x2a4164);}if(0x0===_0x2ada8e['size'])return;const _0x3b40c2=await User['getMany'](_0x449bdc,Array['from'](_0x2ada8e));for(const _0x41d7f8 of _0x3b40c2)_0x350b3b['getUser'](_0x41d7f8['id'])||_0x350b3b['addUser'](_0x41d7f8);}}async function xb(_0x7c20e0){if('404'!==_0x7c20e0['code'])throw _0x7c20e0;}function Rb(_0x208cc0){if((_0x50a15f=_0x208cc0)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x50a15f['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x50a15f['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x50a15f;throw _0x208cc0;}function Pb(_0x51adaa){return{'threadId':_0x51adaa['commentThreadId'],'commentId':_0x51adaa['commentId'],'content':_0x51adaa['content'],'createdAt':_0x51adaa['createdAt'],'authorId':_0x51adaa['userId'],'attributes':_0x51adaa['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x13517b{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(_0x526562){super(_0x526562);const _0x3fc7c9=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x3fc7c9);}['init'](){const _0x4fd34e=this['editor']['plugins']['get'](WebSocketGateway),_0x40bd92=this['editor']['plugins']['get']('TrackChangesEditing');return _0x40bd92['adapter']={'getSuggestion':async _0xf8b527=>{await this['_waitForServiceReady']();const _0x3e571b=await this['_trackChangesService']['get'](_0xf8b527)['catch'](Mb);return await this['_fetchMissingUsersForThreads']([_0x3e571b]),_0x3e571b;},'addSuggestion':async({id:_0x303cd7,type:_0xe0c069,data:_0x2071e2,originalSuggestionId:_0x5400bd,attributes:_0x503b3d})=>{await this['_waitForServiceReady']();const _0x1dafaa={'id':_0x303cd7,'type':_0xe0c069,'data':_0x2071e2,'originalSuggestionId':_0x5400bd,'attributes':_0x503b3d},_0x2f0e3b=await this['_trackChangesService']['add'](_0x303cd7,_0xe0c069,_0x2071e2,_0x5400bd,_0x503b3d)['catch'](_0x3fd76b=>{if(Nb(_0x3fd76b))return new Promise(_0x5b7968=>{this['_bufferedRequests']['set'](_0x303cd7,{'resolve':_0x5b7968,'suggestionData':_0x1dafaa});});throw _0x3fd76b;});return this['_bufferedRequests']['delete'](_0x303cd7),_0x2f0e3b;},'updateSuggestion':async(_0x5ad5c8,_0x1376d4)=>{if(await this['_waitForServiceReady'](),'open'!==_0x1376d4['state'])return this['_trackChangesService']['update'](_0x5ad5c8,_0x1376d4)['catch'](Mb);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x51090c,_0x407d3c)=>{_0x40bd92['hasSuggestion'](_0x407d3c['id'])&&(_0x40bd92['getSuggestion'](_0x407d3c['id'])['attributes']=_0x407d3c['attributes']);}),this['_trackChangesService']['connect'](_0x4fd34e['connection'])['then'](_0x38a559=>(_0x4fd34e['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x38a559)['then'](()=>{for(const _0x1e5a15 of _0x38a559){_0x40bd92['addSuggestionData'](_0x1e5a15)['_saved']=!0x0;}})));}async['reconnect'](){const _0x4f83fd=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x13d9e2}=this['editor']['plugins']['get'](WebSocketGateway),_0x89875=await this['_trackChangesService']['connect'](_0x13d9e2);await this['_fetchMissingUsersForThreads'](_0x89875);for(const {suggestionData:_0x5e9a91,resolve:_0x581bda}of this['_bufferedRequests']['values']()){let _0x1c590d=_0x89875['find'](_0x3c8f1f=>_0x3c8f1f['id']===_0x5e9a91['id']);_0x1c590d||(_0x1c590d=await this['_trackChangesService']['add'](_0x5e9a91['id'],_0x5e9a91['type'],_0x5e9a91['data'],_0x5e9a91['originalSuggestionId'])),_0x581bda(_0x1c590d);}for(const _0xd3ff21 of _0x89875)_0x4f83fd['hasSuggestion'](_0xd3ff21['id'])||_0x4f83fd['addSuggestionData'](_0xd3ff21);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x69a4eb=>{this['listenTo'](this['_trackChangesService'],'connected',_0x1a746f=>{_0x1a746f['off'](),_0x69a4eb();});});}async['_fetchMissingUsersForThreads'](_0x3f34f9){const _0x21af72=this['editor']['plugins']['get'](Users),{connection:_0x541786}=this['editor']['plugins']['get'](WebSocketGateway),_0xe5f5df=new Set();for(const {authorId:_0x3b62b3}of _0x3f34f9)_0x21af72['getUser'](_0x3b62b3)||_0xe5f5df['add'](_0x3b62b3);if(0x0===_0xe5f5df['size'])return;const _0x5e67de=await User['getMany'](_0x541786,Array['from'](_0xe5f5df));for(const _0x2fcb75 of _0x5e67de)_0x21af72['getUser'](_0x2fcb75['id'])||_0x21af72['addUser'](_0x2fcb75);}}function Mb(_0x979dc5){if(Nb(_0x979dc5))return new Promise(()=>{});throw _0x979dc5;}function Nb(_0xe596f3){return _0xe596f3['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xe596f3['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x13517b{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 _0x1bce02=this['editor']['plugins']['get'](WebSocketGateway),_0x506598=this['editor']['plugins']['get']('CommentsEditing'),_0x4de1f7=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x1bce02,'change:state',(_0x40d629,_0x1d296d,_0xc79189)=>{_0x506598['isThreadsLoadingPaused']='connected'!==_0xc79189;});}),this['listenTo'](_0x1bce02,'change:state',(_0x54727e,_0x2880e1,_0x1f4ffc)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x1f4ffc);}),_0x4de1f7['_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 _0x13517b{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 _0x13517b{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(_0x3ebb1b){super(_0x3ebb1b);const _0x483045=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x483045);}async['init'](){const _0x92a04e=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x1d8668=_0x92a04e['serverHistory'],_0x449138=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x1d8668,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x92a04e['sessionId']});const _0x5b6be5=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x4225cd,_0x229918=await EditorService['isBundleUploaded'](_0x449138['connection'],_0x5b6be5);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x2dfa3f})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x2dfa3f)),'updateRevisions':async _0x5c5128=>{await this['_waitForServiceReady']();const _0x432676=this['_revisionTracker']['currentRevision'];if(_0x229918&&0x1===_0x5c5128['length']&&_0x5c5128[0x0]['id']===_0x432676['id'])return _0x5c5128;for(const _0x3f7528 of _0x5c5128)_0x3f7528['id']===_0x432676['id']&&(_0x3f7528['isEmptyCurrent']=_0x3f7528['fromVersion']===_0x3f7528['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x5c5128,this['_lastRequestId'])['then'](_0x27428c=>(this['_lastRequestId']=_0x27428c,_0x5c5128))['catch'](_0x327e99=>{if(Lb(_0x327e99)||'400'===_0x327e99['code']&&void 0x0!==_0x327e99['data']['wrongRequestId']){for(const _0x7b7a15 of _0x5c5128){!this['_revisionTracker']['repository']['getRevision'](_0x7b7a15['id'])||this['_revisionTracker']['_bufferUpdate'](_0x7b7a15['id'],_0x7b7a15,!0x1);}if(Lb(_0x327e99))throw _0x327e99;return _0x5c5128;}throw _0x327e99;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x26d528,{revisionsData:_0x2b9edb,requestId:_0x1c2f3c})=>{Math['max'](..._0x2b9edb['map'](_0x1c5164=>_0x1c5164['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x2b9edb,_0x1c2f3c);}):this['_handleRevisionsUpdate'](_0x2b9edb,_0x1c2f3c);});const {revisions:_0x1bb74f,requestId:_0x1131b6}=await this['_revisionHistoryService']['connect'](_0x449138['connection']);_0x449138['addToReconnectionStack'](this),this['_lastRequestId']=_0x1131b6,await this['_fetchMissingUsers'](_0x1bb74f);for(const _0x165e98 of _0x1bb74f)this['_revisionTracker']['addRevisionData'](_0x165e98);this['listenTo'](_0x92a04e,'change:_isConnected',(_0x141c13,_0xa31dc7,_0x5e0866)=>{_0x5e0866&&(this['_oldOffset']=_0x92a04e['_offset'],_0x141c13['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x449138,'state',_0x1c9c8a=>_0x1c9c8a===mb);}async['reconnect'](){const _0xfba097=this['editor']['plugins']['get'](WebSocketGateway),_0x2fc193=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x53f603=async()=>{const _0x2790e2=this['_revisionTracker']['currentRevision'],_0x76f0e7=_0x2790e2['id'],_0x55754b=_0x76f0e7!==_0x2fc193['sessionId'];if(_0x55754b){const _0x10ed74=_0x2fc193['_offset']-this['_oldOffset'],_0xec7043=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x2790e2['toVersion']+_0x10ed74!==_0xec7043){const _0x47a4df=_0x2790e2['fromVersion']+_0x10ed74,_0x2c5fdc=this['editor']['plugins']['get'](Users),_0x5b7a5c=this['_revisionTracker']['buildRevisionData']({'revision':_0x2790e2,'from':_0x47a4df,'to':_0xec7043});_0x5b7a5c['id']=_0x2790e2['id'];const _0x30826e=_0x5b7a5c['authorsIds']['map'](_0x128e78=>_0x2c5fdc['getUser'](_0x128e78));_0x2790e2['_update']({..._0x5b7a5c,'authors':_0x30826e},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x2790e2['id'],_0x5b7a5c,!0x0);}this['_revisionTracker']['_startingVersion']=_0xec7043,(_0x2790e2['toVersion']===_0x2790e2['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x76f0e7)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x76f0e7),this['_revisionTracker']['_createCurrentRevision'](_0xec7043));}const {revisions:_0xc37586,requestId:_0x4bf1b2}=await this['_revisionHistoryService']['reconnect'](_0xfba097['connection'],this['_lastRequestId']);_0x55754b&&_0xc37586['length']>0x0?_0x2fc193['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0xc37586),this['_handleRevisionsUpdate'](_0xc37586,_0x4bf1b2),this['_revisionTracker']['sendBufferedUpdates']());};return _0x2fc193['_isConnected']?_0x53f603():new Promise((_0x2f7f96,_0x1f841b)=>{_0x2fc193['once']('change:_isConnected',()=>{_0x53f603()['then'](_0x2f7f96)['catch'](_0x1f841b);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x3c1031=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x3ad31b=>{_0x3ad31b['off'](),_0x3c1031();});});}['_getLatestVersionFromServerOperations'](){const _0x56756a=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x2321d2 of _0x56756a)if('marker'!==_0x2321d2['type']||_0x2321d2['affectsData'])return _0x2321d2['baseVersion']+0x1;}['_getLatestVersion'](){const _0x533e02=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x50bfdb=>{_0x533e02['_isPendingUpdate']?_0x533e02['once']('change:_isPendingUpdate',()=>{_0x50bfdb(this['_getLatestVersionFromServerOperations']());}):_0x50bfdb(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x11743c,_0x2da7c3){const _0x155082=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x2da7c3;for(const _0x571552 of _0x11743c){const _0x200add=_0x155082['getRevision'](_0x571552['id']);if(_0x200add){if((_0x571552['fromVersion']||_0x571552['toVersion'])&&(_0x571552['diffData']=null),_0x200add===this['_revisionTracker']['currentRevision']){const _0x1e2970=Math['max'](_0x200add['toVersion'],_0x571552['toVersion']),_0x127ba1=Math['max'](_0x200add['fromVersion'],_0x571552['fromVersion']);let _0x3dedbb;_0x200add['toVersion']===_0x571552['toVersion']&&_0x200add['fromVersion']===_0x571552['fromVersion']?(_0x3dedbb=!0x0,this['_preventResendingRevisionData'](_0x571552)):_0x571552['toVersion']===_0x1e2970&&_0x571552['fromVersion']===_0x127ba1?_0x3dedbb=!0x1:(_0x200add['toVersion']===_0x1e2970&&_0x200add['fromVersion']===_0x127ba1||this['_fixRevision']({'revision':_0x200add,'from':_0x127ba1,'to':_0x1e2970}),_0x3dedbb=!0x0),_0x3dedbb&&(delete _0x571552['fromVersion'],delete _0x571552['toVersion'],delete _0x571552['diffData'],delete _0x571552['createdAt'],delete _0x571552['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x571552),this['_preventResendingRevisionData'](_0x571552);}else this['_revisionTracker']['addRevisionData'](_0x571552);}const _0x400dbb=_0x155082['getRevisions']();_0x400dbb['reverse']();for(let _0x47aea3=0x0;_0x47aea3<_0x400dbb['length']-0x1;_0x47aea3++){const _0x2ff446=_0x400dbb[_0x47aea3],_0x7e3313=_0x400dbb[_0x47aea3+0x1];if(_0x2ff446['fromVersion']<_0x7e3313['toVersion']){const _0x5b918a=_0x7e3313['toVersion'],_0x5a4fe7=Math['max'](_0x5b918a,_0x2ff446['toVersion']);this['_fixRevision']({'revision':_0x2ff446,'from':_0x5b918a,'to':_0x5a4fe7});}}}['_fixRevision']({revision:_0x1651a0,from:_0x34e1c5,to:_0x278bf0}={}){const _0x52934f=this['editor']['plugins']['get'](Users),_0x508468=this['_revisionTracker']['buildRevisionData']({'revision':_0x1651a0,'from':_0x34e1c5,'to':_0x278bf0});_0x508468['authors']=_0x508468['authorsIds']['map'](_0x1402e4=>_0x52934f['getUser'](_0x1402e4)),_0x1651a0['_update'](_0x508468);}['_preventResendingRevisionData'](_0x4d1408){const _0x5b6e6d={};_0x5b6e6d['id']=_0x4d1408['id'];for(const _0x3a738b of Object['keys'](_0x4d1408))'id'!==_0x3a738b&&(_0x5b6e6d[_0x3a738b]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x5b6e6d['id'],_0x5b6e6d,!0x0);}async['_fetchMissingUsers'](_0x26af8c){const _0x8b5f0=this['editor']['plugins']['get'](Users),{connection:_0x2ef223}=this['editor']['plugins']['get'](WebSocketGateway),_0x28d21a=new Set();for(const _0x56cc61 of _0x26af8c){for(const _0x19fcda of _0x56cc61['authorsIds'])_0x506480(_0x19fcda);_0x56cc61['creatorId']&&_0x506480(_0x56cc61['creatorId']);}if(0x0===_0x28d21a['size'])return;const _0xd71e97=await User['getMany'](_0x2ef223,Array['from'](_0x28d21a));for(const _0x54b4ea of _0xd71e97)_0x8b5f0['getUser'](_0x54b4ea['id'])||_0x8b5f0['addUser'](_0x54b4ea);function _0x506480(_0x4074ad){_0x8b5f0['getUser'](_0x4074ad)||_0x28d21a['add'](_0x4074ad);}}}function Lb(_0x126da6){return _0x126da6['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x126da6['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x126da6['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x13517b{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 _0x3989d4{['_collapseAt'];constructor(_0x3b5998,_0x2d977c=0x6){super(_0x3b5998);const _0x5ce0d5=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x2d977c,this['bind']('isHidden')['to'](this,'usersCount',_0x5acffa=>_0x5acffa<_0x2d977c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x5ce0d5['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':_0x5ce0d5['to']('usersCount',_0xa7302f=>'+'+(_0xa7302f-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0x3989d4{['items'];['keystrokes'];constructor(_0x1aa3c1){super(_0x1aa3c1);const _0x4b8d1f=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x5e251c(),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x4b8d1f['if']('hasPopup'),'aria-expanded':_0x4b8d1f['to']('isExpanded',_0x35d84c=>this['hasPopup']&&String(_0x35d84c)),'aria-label':_0x4b8d1f['to']('hasPopup',_0x357b17=>_b(_0x1aa3c1,_0x357b17?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x4b8d1f['to']('hasPopup',_0x3212e4=>!!_0x3212e4&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x4b8d1f['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x4b8d1f['to'](_0x1b7b33=>{const _0x4ff0ff=_0x1b7b33,_0x3a82c8=document['querySelector']('.ck-presence-list__dropdown-list'),_0x5c1831=document['querySelector']('.ck-balloon-panel_with-arrow');_0x3a82c8?.['contains'](_0x4ff0ff['relatedTarget'])||_0x5c1831?.['contains'](_0x4ff0ff['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x5a9b37,_0x22b3f5,_0x331c88)=>{this['element']&&(_0x331c88?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 _0x3989d4{['counterView'];['inlineListView'];constructor(_0x35a90b,_0x15f814=0x6){super(_0x35a90b);const _0x18b65c=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x15f814),this['inlineListView']=new PresenceInlineListView(_0x35a90b),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x531dd2 of this['inlineListView']['items'])_0x531dd2['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',_0x18b65c['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0x3989d4{['listWrapperView'];constructor(_0x49bdae,_0x1a1998){super(_0x49bdae);const _0x52029a=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x49bdae,_0x1a1998),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_b(_0x49bdae,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x52029a['to'](_0x1a19c3=>{const _0x77f9f1=_0x1a19c3,_0x33d5fc=document['querySelector']('.ck-presence-list__list'),_0x5eb42=document['querySelector']('.ck-balloon-panel_with-arrow');_0x33d5fc?.['contains'](_0x77f9f1['relatedTarget'])||_0x5eb42?.['contains'](_0x77f9f1['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0x3523c8{constructor(_0x3a967c,_0xcfcae4){super(_0x3a967c);const _0x3ebee7=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0xcfcae4?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x3ebee7['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x3ebee7['to']('role'),'aria-label':_0x3ebee7['to']('ariaLabel'),'aria-labelledby':_0x3ebee7['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x4cdc9d['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x11df70=this['element'];_0x11df70&&(this['_isScrollable']=Math['max'](_0x11df70['scrollHeight'],_0x11df70['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0x5d952b{['userView'];constructor(_0x43b377,_0x34fb97,_0x280750){super(_0x43b377);const _0xe0950e=this['bindTemplate'];this['userView']=new UserView(_0x43b377,_0x34fb97);const _0x513959={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x34fb97['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x34fb97['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x34fb97['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x280750&&(_0x513959['tag']='button',_0x513959['on']={'click':_0xe0950e['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x513959);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0x3989d4{['userView'];['markerView'];constructor(_0x2db021,_0x20c097,_0x25d376){super(_0x2db021);const _0x3620a2=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new UserView(_0x2db021,_0x20c097),this['markerView']=new MarkerView(_0x2db021,_0x20c097);const _0x2c5426=new Zt(_0x2db021);_0x2c5426['template']['tag']='span',_0x2c5426['text']=_0x20c097['name'];const _0x4fecc6={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x3620a2['to']('isFocusable',_0x41cac5=>!!_0x41cac5&&0x0),'aria-labelledby':_0x2c5426['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x3620a2['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x3620a2['to']('hasTooltip',_0x2081a3=>!_0x2081a3),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x2c5426]};_0x25d376&&(_0x4fecc6['tag']='button',_0x4fecc6['on']={'click':_0x3620a2['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x4fecc6);}}class MarkerView extends _0x3989d4{constructor(_0x549174,_0x102b71){super(_0x549174),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x102b71['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const Db={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x13e428{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x48ecbb){super(_0x48ecbb),this['context']['config']['define']('presenceList',Db);const _0xaab480=_0x48ecbb['config']['get']('presenceList.collapseAt');if('number'!=typeof _0xaab480)throw new _0x37fbfa('presencelist-collapseat-invalid-format',this);if(_0xaab480<0x1)throw new _0x37fbfa('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](Sessions)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x4711ed(),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 _0x158773 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x158773);this['listenTo'](this['_allConnectedUsers'],'add',(_0x489eff,_0x2244ef)=>{this['_handleUserAdd'](_0x2244ef);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x391969,_0x28b9e0)=>{this['_handleUserRemove'](_0x28b9e0);});}['_createView'](){const _0x2b0e74=this['context'],_0xd54d0d=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x3bc47f=this['balloonPanelView'];if(!qr(_0x2b0e74['config']['get']('presenceList.container')))throw new _0x37fbfa('presencelist-missing-container',this);return _0xd54d0d['counterView']['bind']('usersCount')['to'](this),_0xd54d0d['bind']('isCollapsed')['to'](this,'usersCount',_0x389ff4=>{const {collapseAt:_0x2c1399}=_0x2b0e74['config']['get']('presenceList'),_0x2b6f3b=_0x389ff4>=_0x2c1399;if(_0x2b6f3b&&!_0xd54d0d['inlineListView']['items']['find'](_0x31d432=>_0x31d432 instanceof PresenceCounterView)){const _0xbf4ad6=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0xbf4ad6&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0xd54d0d['inlineListView']['items']['add'](_0xd54d0d['counterView']);}return _0x2b6f3b||this['hideDropdown'](),_0x2b6f3b;}),_0xd54d0d['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x1dc26d=>{const _0x18941a=_0x2b0e74['config']['get']('presenceList'),_0x48e416=new PresenceInlineListItemView(_0x2b0e74['locale'],_0x1dc26d,!!_0x18941a['onClick']);return _0x48e416['bind']('hasTooltip')['to'](_0xd54d0d,'isCollapsed',_0x576aea=>!_0x576aea),_0x48e416['bind']('isFocusable')['to'](_0xd54d0d,'isCollapsed',_0x2c5a55=>!_0x2c5a55),_0x18941a['onClick']&&this['listenTo'](_0x48e416,'execute',()=>{this['view']['isCollapsed']||_0x18941a['onClick'](_0x1dc26d,_0x48e416['element']);}),_0x48e416;}),this['listenTo'](_0xd54d0d['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0xd54d0d['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0xd54d0d['inlineListView']['keystrokes']['set']('Enter',(_0x479404,_0x14d724)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x14d724());}),_0xd54d0d['render'](),_0x3bc47f['render'](),mt({'emitter':_0xd54d0d,'activator':()=>_0x3bc47f['isVisible'],'contextElements':[_0x3bc47f['element'],_0xd54d0d['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x2b0e74['config']['get']('presenceList.container')['appendChild'](_0xd54d0d['element']),this['_bodyCollection']=new dt(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0xd54d0d;}['_handleUserAdd'](_0x29bfce){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x29bfce['isMe'])return;const _0x333fc7=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x333fc7-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x578b11=_0x29bfce['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x29bfce,_0x578b11);}['_handleUserRemove'](_0x3b711d){this['usersCount']--;const {collapseAt:_0x4c0f98}=this['context']['config']['get']('presenceList'),_0xcb8cd0=this['usersCount']>=_0x4c0f98;if(this['currentDisplayedUsers']['get'](_0x3b711d['id']))this['currentDisplayedUsers']['remove'](_0x3b711d['id']);else{if(_0xcb8cd0&&this['currentDisplayedUsers']['length']+0x1===_0x4c0f98-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0xcb8cd0?0x1:0x0)<this['usersCount']){for(const _0xd04a0b of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0xd04a0b['id'])&&(this['currentDisplayedUsers']['add'](_0xd04a0b,Math['min'](this['currentDisplayedUsers']['length']-(_0xcb8cd0?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0xcb8cd0?0x1:0x0)===_0x4c0f98-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x5b7f9a=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x5b7f9a['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x59686a}=this['presenceDropdownView'];_0x59686a['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x5ee954=>{if(!_0x5b7f9a['displayMe']&&_0x5ee954['isMe'])return null;const _0x28ba1d=new PresenceDropdownListItemView(this['context']['locale'],_0x5ee954,!!_0x5b7f9a['onClick']);return _0x5b7f9a['onClick']&&this['listenTo'](_0x28ba1d,'execute',()=>{_0x5b7f9a['onClick'](_0x5ee954,_0x28ba1d['element']);}),_0x28ba1d;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x59686a['focus'](),_0x59686a['checkIfScrollable']();const _0x9e1ff0=(_0x4523f1,_0x36a550)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x36a550();};_0x59686a['keystrokes']['set']('Esc',_0x9e1ff0),_0x59686a['keystrokes']['set']('Shift+Tab',_0x9e1ff0),_0x59686a['keystrokes']['set']('Tab',(_0x1af318,_0x54f75e)=>{!function(_0x205a94){const _0x45dd64=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0xdcc81b=>_0xdcc81b+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x230c94=[...document['body']['querySelectorAll'](_0x45dd64)]['filter'](_0x428c51=>_0x428c51===document['activeElement']||_0x428c51['offsetWidth']+_0x428c51['offsetHeight']>0x0)['sort']((_0x843a21,_0x5e0861)=>(_0x843a21['tabIndex']||0x0)-(_0x5e0861['tabIndex']||0x0)),_0x49303f=_0x230c94['indexOf'](_0x205a94),_0x5169b3=_0x230c94[(_0x49303f+0x1)%_0x230c94['length']];_0x5169b3&&_0x5169b3['focus']();}(this['view']['element']),this['hideDropdown'](),_0x54f75e();}),_0x59686a['focusTracker']['add'](this['view']['element']),_0x59686a['focusTracker']['on']('change:isFocused',(_0x2a10cd,_0x128456,_0x243d81)=>{_0x243d81||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 _0x13e428{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 */
_0x20f52a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x455825){super(),this['id']=_0x455825['id']||_0x5c5c0c(),this['creator']=_0x455825['creator']||null,this['authors']=_0x455825['authors']||[],this['diffData']=_0x455825['diffData']||null,this['toVersion']=_0x455825['toVersion']||0x0,this['fromVersion']=_0x455825['fromVersion']||0x0,this['set']('name',_0x455825['name']||''),this['set']('createdAt',_0x455825['createdAt']||new Date()),this['set']('attributes',_0x455825['attributes']||{});}['setName'](_0x9ee2fa){this['_update']({'name':_0x9ee2fa});}['setAttribute'](_0x2c7896,_0x165863){const _0x792cc1=Cr(this['attributes']);Qr(_0x792cc1,_0x2c7896,_0x165863),this['_update']({'attributes':_0x792cc1});}['removeAttribute'](_0x4d1390){const _0xab3d7f=Cr(this['attributes']);Nr(_0xab3d7f,_0x4d1390),this['_update']({'attributes':_0xab3d7f});}['_update'](_0x7fe3f5,_0x403fc3=!0x1){let _0x3edb16=!0x1;const _0x3ef840={'id':this['id']},_0x8a7a5b=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x59517c of _0x8a7a5b){const _0x3d57db=_0x7fe3f5[_0x59517c];void 0x0!==_0x3d57db&&_0x3d57db!==this[_0x59517c]&&(this[_0x59517c]=_0x3d57db,_0x3ef840[_0x59517c]=_0x3d57db,_0x3edb16=!0x0);}_0x3edb16&&(_0x3ef840['authors']&&(_0x3ef840['authorsIds']=_0x3ef840['authors']['map'](_0x42364e=>_0x42364e['id']),delete _0x3ef840['authors']),this['fire']('_update',_0x3ef840,_0x403fc3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3af958=>_0x3af958['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x13517b{['_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(_0x374a99){super(_0x374a99),this['_revisions']=new _0x4711ed();}['afterInit'](){!async function(_0x31f209){const _0x971c63=_0x42d8d0([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]),_0x11fa44=0xeb829,_0x594550=0x359e09b0,_0x466e12=0x35998670^_0x594550,_0x2dced9=window[_0x42d8d0([0x44,0x61,0x74,0x65])][_0x42d8d0([0x6e,0x6f,0x77])](),_0x997dba=_0x31f209[_0x42d8d0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x214505=new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321cac=>{_0x997dba[_0x42d8d0([0x6f,0x6e,0x63,0x65])](_0x42d8d0([0x72,0x65,0x61,0x64,0x79]),_0x321cac);}),_0x2a4ac5={[_0x42d8d0([0x6b,0x74,0x79])]:_0x42d8d0([0x45,0x43]),[_0x42d8d0([0x75,0x73,0x65])]:_0x42d8d0([0x73,0x69,0x67]),[_0x42d8d0([0x63,0x72,0x76])]:_0x42d8d0([0x50,0x2d,0x32,0x35,0x36]),[_0x42d8d0([0x78])]:_0x42d8d0([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]),[_0x42d8d0([0x79])]:_0x42d8d0([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]),[_0x42d8d0([0x61,0x6c,0x67])]:_0x42d8d0([0x45,0x53,0x32,0x35,0x36])},_0x1497c0=_0x997dba[_0x42d8d0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42d8d0([0x67,0x65,0x74])](_0x42d8d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ee6d8(){let _0x4018bd,_0x36ca75=null,_0x12090f=null;try{if(_0x1497c0==_0x42d8d0([0x47,0x50,0x4c]))return _0x42d8d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4018bd=_0xe1b378(),!_0x4018bd)return _0x42d8d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4018bd[_0x42d8d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12090f=_0x182c66(_0x4018bd[_0x42d8d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4018bd[_0x42d8d0([0x6a,0x74,0x69])])),await _0x1d56de()?_0x9d8398()?_0x285a70()?_0x42d8d0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x299e2b()?(_0x4018bd[_0x42d8d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42d8d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36ca75=_0x55c1da(_0x42d8d0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38b0c9()):_0x42d8d0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42d8d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42d8d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42d8d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x285a70(){const _0x49bdc8=[_0x42d8d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42d8d0([0x74,0x72,0x69,0x61,0x6c])][_0x42d8d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4018bd[_0x42d8d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2dced9/0x3e8:0xe10*_0x466e12;return _0x4018bd[_0x42d8d0([0x65,0x78,0x70])]<_0x49bdc8;}function _0x9d8398(){const _0xfc9e97=_0x4018bd[_0x42d8d0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xfc9e97)return!0x1;if(_0xfc9e97[_0x42d8d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d8d0([0x2a])))return!0x0;if(_0xfc9e97[_0x42d8d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d8d0([0x52,0x48])))return!0x0;if(_0xfc9e97[_0x42d8d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d8d0([0x52,0x52,0x48]))){if(_0x213125())return!0x0;if(_0xe30676()||_0xe69bfd())return!0x0;}return!0x1;}function _0x299e2b(){const _0x48a1be=_0x4018bd[_0x42d8d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48a1be||0x0==_0x48a1be[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53c4c0}=new URL(window[_0x42d8d0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48a1be[_0x42d8d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c4c0))return!0x0;const _0x11894f=_0x53c4c0[_0x42d8d0([0x73,0x70,0x6c,0x69,0x74])](_0x42d8d0([0x2e]));return _0x48a1be[_0x42d8d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11c8d1=>_0x11c8d1[_0x42d8d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d8d0([0x2a])))[_0x42d8d0([0x6d,0x61,0x70])](_0x16cc8f=>_0x16cc8f[_0x42d8d0([0x73,0x70,0x6c,0x69,0x74])](_0x42d8d0([0x2e])))[_0x42d8d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8543d7=>_0x8543d7[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11894f[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42d8d0([0x6d,0x61,0x70])](_0x1d65bb=>Array(_0x11894f[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d65bb[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42d8d0([0x66,0x69,0x6c,0x6c])](_0x1d65bb[0x0]===_0x42d8d0([0x2a])?_0x42d8d0([0x2a]):'')[_0x42d8d0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d65bb))[_0x42d8d0([0x73,0x6f,0x6d,0x65])](_0x37bf0c=>_0x11894f[_0x42d8d0([0x65,0x76,0x65,0x72,0x79])]((_0x30f251,_0x58fbf3)=>_0x37bf0c[_0x58fbf3]===_0x30f251||_0x37bf0c[_0x58fbf3]===_0x42d8d0([0x2a])));}function _0x38b0c9(){return _0x36ca75&&_0x12090f?new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x429951,_0x4a8827)=>{_0x36ca75[_0x42d8d0([0x74,0x68,0x65,0x6e])](_0x429951,_0x4a8827),_0x12090f[_0x42d8d0([0x74,0x68,0x65,0x6e])](_0x121fb6=>{_0x121fb6!=_0x42d8d0([0x56,0x61,0x6c,0x69,0x64])&&_0x429951(_0x121fb6);},_0x4a8827);}):_0x36ca75||_0x12090f||_0x42d8d0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x182c66(_0x1cf941,_0x5a5d04){return new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b4646=>{if(_0x25ee0a())return _0x5b4646(_0x42d8d0([0x56,0x61,0x6c,0x69,0x64]));_0x15aaa5(),_0x997dba[_0x42d8d0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42d8d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58415a=!0x1;const _0x521718=_0x5c5c0c();function _0x539557(_0x389805){return!!_0x389805&&(typeof _0x389805===_0x42d8d0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x389805===_0x42d8d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x389805[_0x42d8d0([0x74,0x68,0x65,0x6e])]===_0x42d8d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x389805[_0x42d8d0([0x63,0x61,0x74,0x63,0x68])]===_0x42d8d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x468f90(_0xfa495f){_0xbcf6b2(_0xfa495f)[_0x42d8d0([0x74,0x68,0x65,0x6e])](_0x37a604=>{if(!_0x37a604||_0x37a604[_0x42d8d0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42d8d0([0x6f,0x6b]))return _0x42d8d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa2742c(_0x5b8162(_0x521718+_0x5a5d04))!=_0x37a604[_0x42d8d0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42d8d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42d8d0([0x56,0x61,0x6c,0x69,0x64]);})[_0x42d8d0([0x74,0x68,0x65,0x6e])](_0x1ec73c=>(_0x4df2d4(),_0x1ec73c),()=>{const _0x4ba698=_0x577ea4();return null==_0x4ba698?(_0x4df2d4(),_0x42d8d0([0x56,0x61,0x6c,0x69,0x64])):_0x42d8d0(_0x2dced9-_0x4ba698>(0x11928db0^_0x594550)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42d8d0([0x74,0x68,0x65,0x6e])](_0x5b4646)[_0x42d8d0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b4646(_0x42d8d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f4b47=0x35a8e730^_0x594550;function _0x4df2d4(){const _0x140997=_0x42d8d0([0x6c,0x6c,0x63,0x74,0x2d])+_0xa2742c(_0x5b8162(_0x1cf941)),_0x34b66e=_0x3a1212(_0xa2742c(window[_0x42d8d0([0x4d,0x61,0x74,0x68])][_0x42d8d0([0x63,0x65,0x69,0x6c])](_0x2dced9/_0x4f4b47)));window[_0x42d8d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42d8d0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x140997,_0x34b66e);}function _0x577ea4(){const _0x3608b7=_0x42d8d0([0x6c,0x6c,0x63,0x74,0x2d])+_0xa2742c(_0x5b8162(_0x1cf941)),_0x34a5ff=window[_0x42d8d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42d8d0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3608b7);return _0x34a5ff?window[_0x42d8d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a1212(_0x34a5ff),0x10)*_0x4f4b47:null;}function _0xbcf6b2(_0x1e89a6){return new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x404870,_0x5b14ae)=>{_0x1e89a6[_0x42d8d0([0x74,0x68,0x65,0x6e])](_0x404870,_0x5b14ae),window[_0x42d8d0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b14ae,0x359fdd70^_0x594550);});}}_0x997dba[_0x42d8d0([0x6f,0x6e])](_0x42d8d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f09b8,_0x20a7e0)=>{if(_0x20a7e0[0x0]!=_0x1cf941)return _0x5b4646(_0x42d8d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20a7e0[0x1]={..._0x20a7e0[0x1],[_0x42d8d0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x521718};},{[_0x42d8d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42d8d0([0x68,0x69,0x67,0x68])}),_0x997dba[_0x42d8d0([0x6f,0x6e])](_0x42d8d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf7d2fb=>{_0x539557(_0xf7d2fb[_0x42d8d0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58415a=!0x0,_0x468f90(_0xf7d2fb[_0x42d8d0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42d8d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42d8d0([0x6c,0x6f,0x77])}),_0x214505[_0x42d8d0([0x74,0x68,0x65,0x6e])](()=>{_0x58415a||_0x5b4646(_0x42d8d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25ee0a(){return _0x997dba[_0x42d8d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42d8d0([0x76,0x69,0x65,0x77])][_0x42d8d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42d8d0([0x61,0x75,0x74,0x6f]);}function _0x15aaa5(){_0x997dba[_0x42d8d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42d8d0([0x76,0x69,0x65,0x77])][_0x42d8d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42d8d0([0x61,0x75,0x74,0x6f]);}}function _0x55c1da(_0x50ae9c){const _0x29d2ba=new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1966=>setTimeout(_0x1b1966,0x3597377c^_0x594550)),_0x46d488=_0x214505[_0x42d8d0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd9a58d=>{const _0xd0d0da=0x359e09b7^_0x594550,_0x4d4739=_0x31f209[_0x42d8d0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x2cbd8b(){_0x4d4739[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xd0d0da&&_0xd9a58d();}_0x2cbd8b(),_0x4d4739[_0x42d8d0([0x6f,0x6e])](_0x42d8d0([0x61,0x64,0x64]),_0x2cbd8b);})),_0x32fd93=new window[(_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf93e5=>{function _0x4c63ac(){for(const _0x4d6fc5 in window)if(window[_0x42d8d0([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x42d8d0([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x4d6fc5))&&window[_0x4d6fc5]==_0x11fa44)return _0xcf93e5();_0x997dba[_0x42d8d0([0x73,0x74,0x61,0x74,0x65])]!=_0x42d8d0([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x42d8d0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c63ac,0x359e1a38^_0x594550);}_0x7d78b8(_0x42d8d0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x4c63ac();}),_0x28a54b=[_0x29d2ba,_0x46d488,_0x32fd93];return window[_0x42d8d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42d8d0([0x72,0x61,0x63,0x65])](_0x28a54b)[_0x42d8d0([0x74,0x68,0x65,0x6e])](()=>_0x50ae9c);}async function _0x3c9bbd(){if(await _0x214505,_0x7d78b8(_0x42d8d0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1c05b9=_0x31f209[_0x42d8d0([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x2ecbf2=_0x31f209[_0x42d8d0([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])](_0x1c05b9[_0x42d8d0([0x69,0x64])]),_0x45295b=_0x3b63ae(_0x42d8d0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x45295b[_0x42d8d0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1c05b9['id'],_0x2ecbf2?_0x2ecbf2['id']:null,!0x0),_0x45295b[_0x42d8d0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x42d8d0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x45295b[_0x42d8d0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x45295b[_0x42d8d0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x113e80,void(_0x45295b[_0x42d8d0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x113e80);}if(_0x7d78b8(_0x42d8d0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x3dbf25=_0x3b63ae(_0x42d8d0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x3dbf25[_0x42d8d0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x42d8d0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3dbf25[_0x42d8d0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3dbf25[_0x42d8d0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x113e80,_0x3dbf25[_0x42d8d0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x113e80;}_0x997dba[_0x42d8d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x42d8d0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x113e80,_0x997dba[_0x42d8d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x42d8d0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x113e80,_0x997dba[_0x42d8d0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42d8d0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x213125(){return _0x7d78b8(_0x42d8d0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3b63ae(_0x42d8d0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x42d8d0([0x73,0x74,0x61,0x74,0x65])]==_0x42d8d0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xe30676(){return _0x7d78b8(_0x42d8d0([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 _0xe69bfd(){return _0x7d78b8(_0x42d8d0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x9498ad(_0x1473d0){const _0x3782c8=_0x11d819();_0x997dba[_0x3782c8]=_0x42d8d0([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])+_0x1473d0,_0x1473d0[_0x42d8d0([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x42d8d0([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x11d819()]=_0x11fa44),_0x1473d0!=_0x42d8d0([0x56,0x61,0x6c,0x69,0x64])&&_0x3c9bbd();}function _0x11d819(){const _0x86e6e=window[_0x42d8d0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42d8d0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42d8d0([0x6e,0x6f,0x77])]())[_0x42d8d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42d8d0([0x2e]),'');let _0x3c57db=_0x42d8d0([0x76]);for(let _0x52e51b=0x0;_0x52e51b<_0x86e6e[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52e51b+=0x2){let _0x4d66c3=window[_0x42d8d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x86e6e[_0x42d8d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52e51b,_0x52e51b+0x2));_0x4d66c3>=_0x971c63[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d66c3-=_0x971c63[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c57db+=_0x971c63[_0x4d66c3];}return _0x3c57db;}function _0xe1b378(){const _0x2ab092=_0x1497c0[_0x42d8d0([0x73,0x70,0x6c,0x69,0x74])](_0x42d8d0([0x2e]));if(0x3!=_0x2ab092[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a196e(_0x2ab092[0x1]);function _0x2a196e(_0x18658e){const _0x29f1a8=_0xdc1b8d(_0x18658e);return _0x29f1a8&&_0x4f9b0d()?_0x29f1a8:null;function _0x4f9b0d(){const _0x4b6c79=_0x29f1a8[_0x42d8d0([0x6a,0x74,0x69])],_0x35a050=window[_0x42d8d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b6c79[_0x42d8d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b6c79[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x406d69={..._0x29f1a8,[_0x42d8d0([0x6a,0x74,0x69])]:_0x4b6c79[_0x42d8d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b6c79[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x406d69[_0x42d8d0([0x76,0x63])],_0x5b8162(_0x406d69)==_0x35a050;}}}async function _0x1d56de(){let _0x11f0a5=!0x0;try{const _0x5d7762=_0x1497c0[_0x42d8d0([0x73,0x70,0x6c,0x69,0x74])](_0x42d8d0([0x2e])),[_0x10a5ea,_0x13fbe3,_0x2b3f08]=_0x5d7762;return _0x410094(_0x10a5ea),await _0x497ae0(_0x10a5ea,_0x13fbe3,_0x2b3f08),_0x11f0a5;}catch{return!0x1;}function _0x410094(_0x3aa3e4){const _0x371e1c=_0xdc1b8d(_0x3aa3e4);_0x371e1c&&_0x371e1c[_0x42d8d0([0x61,0x6c,0x67])]==_0x42d8d0([0x45,0x53,0x32,0x35,0x36])||(_0x11f0a5=!0x1);}async function _0x497ae0(_0x29aff9,_0x14f638,_0xc46990){const _0xf6d30b=window[_0x42d8d0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42d8d0([0x66,0x72,0x6f,0x6d])](_0x14676d(_0xc46990),_0x2d9379=>_0x2d9379[_0x42d8d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x530d06=new window[(_0x42d8d0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42d8d0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29aff9+_0x42d8d0([0x2e])+_0x14f638),_0x495c76=window[_0x42d8d0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42d8d0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x495c76)return;const _0x41623b=await _0x495c76[_0x42d8d0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42d8d0([0x6a,0x77,0x6b]),_0x2a4ac5,{[_0x42d8d0([0x6e,0x61,0x6d,0x65])]:_0x42d8d0([0x45,0x43,0x44,0x53,0x41]),[_0x42d8d0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42d8d0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42d8d0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x495c76[_0x42d8d0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42d8d0([0x6e,0x61,0x6d,0x65])]:_0x42d8d0([0x45,0x43,0x44,0x53,0x41]),[_0x42d8d0([0x68,0x61,0x73,0x68])]:{[_0x42d8d0([0x6e,0x61,0x6d,0x65])]:_0x42d8d0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41623b,_0xf6d30b,_0x530d06)||(_0x11f0a5=!0x1);}}function _0xdc1b8d(_0x5a5043){return _0x5a5043[_0x42d8d0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42d8d0([0x65,0x79]))?JSON[_0x42d8d0([0x70,0x61,0x72,0x73,0x65])](_0x14676d(_0x5a5043)):null;}function _0x14676d(_0x34ea97){return window[_0x42d8d0([0x61,0x74,0x6f,0x62])](_0x34ea97[_0x42d8d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42d8d0([0x2b]))[_0x42d8d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42d8d0([0x2f])));}function _0x5b8162(_0x361d83){let _0x41969a=0x1505;function _0x2f58ba(_0x545475){for(let _0x50edb2=0x0;_0x50edb2<_0x545475[_0x42d8d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50edb2++){const _0x1808a3=_0x545475[_0x42d8d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50edb2);_0x41969a=(_0x41969a<<0x5)+_0x41969a+_0x1808a3,_0x41969a&=_0x41969a;}}function _0x1ca89f(_0x1f003a){Array[_0x42d8d0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f003a)?_0x1f003a[_0x42d8d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ca89f):_0x1f003a&&typeof _0x1f003a==_0x42d8d0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42d8d0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f003a)[_0x42d8d0([0x73,0x6f,0x72,0x74])]()[_0x42d8d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b1d85,_0xb24f01])=>{_0x2f58ba(_0x4b1d85),_0x1ca89f(_0xb24f01);}):_0x2f58ba(window[_0x42d8d0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f003a));}return _0x1ca89f(_0x361d83),_0x41969a>>>0x0;}function _0xa2742c(_0x4648ab){return _0x4648ab[_0x42d8d0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42d8d0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42d8d0([0x30]));}function _0x3a1212(_0x2c298e){return _0x2c298e[_0x42d8d0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42d8d0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42d8d0([0x6a,0x6f,0x69,0x6e])]('');}function _0x7d78b8(_0x3b7d9b){return _0x997dba[_0x42d8d0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x42d8d0([0x68,0x61,0x73])](_0x3b7d9b);}function _0x3b63ae(_0x5323fe){return _0x997dba[_0x42d8d0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x42d8d0([0x67,0x65,0x74])](_0x5323fe);}function _0x113e80(){}function _0x42d8d0(_0x359d2e){return _0x359d2e['map'](_0x2a9a15=>String['fromCharCode'](_0x2a9a15))['join']('');}_0x9498ad(await _0x5ee6d8());}(this);}['createRevision'](_0x1f3da5){const _0x88f9ea=this['editor']['plugins']['get']('Users');return new Revision({'id':_0x1f3da5['id'],'name':_0x1f3da5['name'],'creator':_0x1f3da5['creatorId']?_0x88f9ea['getUser'](_0x1f3da5['creatorId']):null,'diffData':_0x1f3da5['diffData']||_0x1f3da5['data'],'authors':_0x1f3da5['authorsIds']['map'](_0x5c64b6=>_0x88f9ea['getUser'](_0x5c64b6)),'createdAt':new Date(_0x1f3da5['createdAt']),'attributes':_0x1f3da5['attributes'],'fromVersion':_0x1f3da5['fromVersion'],'toVersion':_0x1f3da5['toVersion']});}['addRevision'](_0x376245,_0x104dde=0x0){this['_revisions']['add'](_0x376245,_0x104dde);}['getRevision'](_0x136e59){return this['_revisions']['get'](_0x136e59);}['getRevisions'](_0x36cf75={'toJSON':!0x1}){const _0x5e09ba=Array['from'](this['_revisions']);return _0x5e09ba['reverse'](),_0x36cf75['toJSON']?_0x5e09ba['map'](_0x4f5be9=>_0x4f5be9['toJSON']()):_0x5e09ba;}['getIndex'](_0x4a2eb5){return this['_revisions']['getIndex'](_0x4a2eb5);}['getEarlierVisibleRevision'](_0x4b722b){const [,_0x217da1]=this['getRevisionsIterator'](_0x4b722b,{'direction':'earlier'});return _0x217da1;}['getLaterVisibleRevision'](_0x1c9e17){const [,_0x6959fc]=this['getRevisionsIterator'](_0x1c9e17,{'direction':'later'});return _0x6959fc;}['getRevisionsInDiff'](_0xba9d5d){const _0x599625=[];for(const _0xbbaa83 of this['getRevisionsIterator'](_0xba9d5d['newRevisionId']))if(_0x599625['push'](_0xbbaa83),_0xbbaa83['id']===_0xba9d5d['oldRevisionId'])break;return _0x599625;}*['getRevisionsIterator'](_0x265867,{direction:_0x1c3a84='earlier',filter:_0x464e0d=()=>!0x0}={}){const _0x4996e7='earlier'===_0x1c3a84?0x1:-0x1;let _0x3f299f=this['_revisions']['get'](_0x265867),_0x430abc=this['getIndex'](_0x3f299f);for(yield _0x3f299f;_0x3f299f;){if(_0x430abc+=_0x4996e7,_0x3f299f=this['getRevision'](_0x430abc),!_0x3f299f)return;_0x464e0d(_0x3f299f)&&(yield _0x3f299f);}}}class RevisionHistoryUtils extends _0x13517b{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x22f8cc,'c'],[_0x5b02b1,'a'],[_0x5b7dc3,'e'],[_0x249daf,'r'],[_0x32095c,'u']]);['_typeCharToViewClass']=new Map([['c',_0x22f8cc],['a',_0x5b02b1],['e',_0x5b7dc3],['r',_0x249daf],['u',_0x32095c]]);async['loadRevisionData'](_0x1fee8b,_0xe0f88c){if(_0x1fee8b['diffData']||!_0xe0f88c)return;const _0x294573=this['editor']['config']['get']('collaboration.channelId'),_0x4ef354=await _0xe0f88c['getRevision']({'channelId':_0x294573,'revisionId':_0x1fee8b['id']});_0x1fee8b['diffData']=_0x4ef354['diffData'];}['getRevisionDocumentData'](_0x1bff2a){const _0x551d67={};for(const _0x5baaf1 in _0x1bff2a['diffData']){if(_0x1bff2a['diffData'][_0x5baaf1]['attachChange']&&!_0x1bff2a['diffData'][_0x5baaf1]['attachChange']['isAttached'])continue;const _0x226c7f=this['_removeRevisionMarkers'](JSON['parse'](_0x1bff2a['diffData'][_0x5baaf1]['insertions'])),_0x1ce56a=this['editor']['editing']['view']['document'],_0x1650a4=new _0x96933(_0x1ce56a,_0x226c7f['map'](_0x3cafc9=>this['_getViewFromDiffObj'](_0x3cafc9,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x551d67[_0x5baaf1]=this['editor']['data']['processor']['toData'](_0x1650a4),this['editor']['data']['processor']['useFillerType']('default');}return _0x551d67;}['getRevisionRootsAttributes'](_0x4ff04f){const _0x3532aa={};for(const _0x247dff in _0x4ff04f['diffData'])_0x4ff04f['diffData'][_0x247dff]['attachChange']&&!_0x4ff04f['diffData'][_0x247dff]['attachChange']['isAttached']||(_0x3532aa[_0x247dff]=_0x4ff04f['diffData'][_0x247dff]['attributesAfter']||{});return _0x3532aa;}['_getTypeCharForViewElement'](_0x147dd3){return this['_viewClassToTypeChar']['get'](_0x147dd3['constructor']);}['_getViewFromDiffObj'](_0x5b2743,_0x52140b){const _0x4e34b6=this['editor']['editing']['view']['document'];if('string'==typeof _0x5b2743)return new _0x3a30ad(_0x4e34b6,_0x5b2743);{let _0x56a77c,_0x552c46;_0x552c46='u'==_0x5b2743['type']||'r'==_0x5b2743['type']?[]:_0x5b2743['children']['map'](_0x123da0=>this['_getViewFromDiffObj'](_0x123da0,_0x52140b));const _0x428931=this['_typeCharToViewClass']['get'](_0x5b2743['type'])||_0x790716,_0x5e1329=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x56a77c=new _0x428931(_0x4e34b6,_0x5b2743['name'],_0x5b2743['attributes'],_0x552c46),'u'==_0x5b2743['type']&&_0x5b2743['children'][0x0]){const _0x463fec=_0x5b2743['children'][0x0];if(_0x56a77c['render']=function(_0x14c010){const _0x70f03e=_0x14c010['createElement']('div');return _0x70f03e['innerHTML']=_0x463fec,_0x70f03e['childNodes'][0x0];},_0x52140b){const _0x1f6c3f=new _0x96933(_0x4e34b6);_0x1f6c3f['_appendChild'](_0x56a77c);const _0xb87c17=Array['from'](_0x5e1329['viewChildrenToDom'](_0x1f6c3f,{'bind':!0x1})),_0x3566c9=_0x5e1329['domDocument']['createElement']('div');_0x3566c9['append'](..._0xb87c17),_0x56a77c=Array['from'](_0x5e1329['domChildrenToView'](_0x3566c9))[0x0];}}else{if('r'==_0x5b2743['type']&&_0x5b2743['children'][0x0]){const _0x74a54e=_0x5b2743['children'][0x0];if(_0x56a77c['render']=function(_0x53ccbd){_0x53ccbd['innerHTML']=_0x74a54e;},_0x52140b){const _0x494733=new _0x96933(_0x4e34b6);_0x494733['_appendChild'](_0x56a77c);const _0x3eda21=Array['from'](_0x5e1329['viewChildrenToDom'](_0x494733,{'bind':!0x1})),_0x15ba1b=_0x5e1329['domDocument']['createElement']('div');_0x15ba1b['append'](..._0x3eda21);const _0xfbfb28=Array['from'](_0x5e1329['domChildrenToView'](_0x15ba1b));_0xfbfb28['length']>0x1?_0x56a77c['_appendChild'](_0xfbfb28):_0x56a77c=_0xfbfb28[0x0];}}}if(_0x5b2743['customProperties']){for(const [_0x38a029,_0x5c4152]of _0x5b2743['customProperties'])_0x56a77c['_setCustomProperty'](_0x38a029,_0x5c4152);}const _0x294404=void 0x0===_0x5b2743['fillerOffset']?null:_0x5b2743['fillerOffset'];return null!==_0x294404&&(_0x56a77c['getFillerOffset']=()=>_0x294404),_0x56a77c;}}['_makeModelFromViewString'](_0x478d4b){const _0x3ea3c4=JSON['parse'](_0x478d4b),_0x441d85=this['editor']['editing']['view']['document'],_0x5a9dd3=new _0x96933(_0x441d85,_0x3ea3c4['map'](_0x10d928=>this['_getViewFromDiffObj'](_0x10d928,!0x0)));return this['editor']['data']['toModel'](_0x5a9dd3);}['_removeRevisionMarkers'](_0x2d1bfc){return(_0x2d1bfc=_0x2d1bfc['filter'](_0x5781f2=>!_0x5781f2['name']||'revision-start'!==_0x5781f2['name']&&'revision-end'!==_0x5781f2['name']))['forEach'](_0x1c73cc=>{'string'!=typeof _0x1c73cc&&(_0x1c73cc['children']=this['_removeRevisionMarkers'](_0x1c73cc['children']),_0x1c73cc['attributes']=_0x1c73cc['attributes']['filter'](_0x547c34=>!_0x547c34[0x0]['startsWith']('data-revision-')));}),_0x2d1bfc;}}function Qb(_0x4a0a41,_0x248e0b,_0x23aebc){const t=_0x4a0a41['t'];switch(_0x248e0b){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'},_0x23aebc);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x23aebc);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 _0x13517b{['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,_0x204cf0];}constructor(_0x5e7662){super(_0x5e7662),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 _0x89bfcd=_0x5c5c0c();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x89bfcd},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 _0x450aec=this['repository']['getRevision'](0x0),_0x29f37e=_0x450aec&&null===_0x450aec['creator']?_0x450aec:null;if(this['_continueCurrentRevision']=!!_0x29f37e&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x27a498=this['_source']['getCurrentRevisionId'](),_0x4ecd91=this['repository']['getRevision'](_0x27a498);if(_0x4ecd91)this['_startingVersion']=_0x4ecd91['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x481c0f=this['_source']['history']['_operations']['find'](_0x560014=>!_0x560014['_isInit']),_0x125bff=_0x481c0f?_0x481c0f['baseVersion']:this['_source']['history']['version'];_0x450aec?(_0x450aec['toVersion']<_0x125bff&&_0x450aec['_update']({'toVersion':_0x125bff}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x29f37e['id'],this['_startingVersion']=_0x29f37e['fromVersion']):(this['_startingVersion']=_0x450aec['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x125bff,this['_continueCurrentRevision']=!0x1);}}else _0x29f37e&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x29f37e['toVersion'],this['editor']['model']['document']['history']['version']),_0x29f37e['fromVersion']===_0x29f37e['toVersion']?(0x0!==_0x29f37e['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x29f37e['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x29f37e['id'],this['_startingVersion']=_0x29f37e['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',_0x387021=>!_0x387021),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xab456e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x138be0;for(const _0x2fe430 in _0xab456e){const _0x51014c=_0x2fe430,_0x2774c1=_0xab456e[_0x51014c];if('revisionHistoryLicenseKeyValid'==_0x2774c1||'revisionHistoryLicenseKeyInvalid'==_0x2774c1||'revisionHistoryLicenseKeyExpired'==_0x2774c1||'revisionHistoryLicenseKeyDomainLimit'==_0x2774c1||'revisionHistoryLicenseKeyNotAllowed'==_0x2774c1||'revisionHistoryLicenseKeyEvaluationLimit'==_0x2774c1||'revisionHistoryLicenseKeyUsageLimit'==_0x2774c1){delete _0xab456e[_0x51014c],_0x138be0=_0x2774c1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x138be0&&_0xab456e['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x138be0&&_0xab456e['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x138be0&&_0xab456e['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x138be0&&_0xab456e['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x138be0&&_0xab456e['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x138be0&&_0xab456e['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1029bd=this['repository']['getRevision'](0x0),_0x4483f8=await this['getRevisionDocumentData'](_0x1029bd),_0x3fdf55=await this['getRevisionRootsAttributes'](_0x1029bd);this['_replaceEditorDataWithRevisionData'](_0x4483f8,_0x3fdf55);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x602bee){this['_source']=_0x602bee;}async['update'](){const _0x1bbd79=await this['_source']['getLatestVersion']();if(_0x1bbd79>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1823c5=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1bbd79});_0x1823c5['authors']=_0x1823c5['authorsIds']['map'](_0x189546=>this['editor']['plugins']['get']('Users')['getUser'](_0x189546)),this['currentRevision']['_update'](_0x1823c5);}}async['saveRevision'](_0x3cf1bd={},_0x3524a3=null){const _0x4dd353=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3524a3>this['currentRevision']['toVersion']&&(_0x3524a3=null),null===_0x3524a3&&(_0x3524a3=await this['_source']['getLatestVersion']());const _0x2f3d36=this['_getFromVersion'](_0x3524a3),_0x53ff05=this['buildRevisionData']({'from':_0x2f3d36,'to':_0x3524a3});if(this['currentRevision']['toVersion']<_0x3524a3){const _0x201e42=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3524a3,'to':_0x3524a3});_0x201e42['authors']=[],_0x201e42['authorsIds']=[],_0x201e42['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x201e42,!0x0),delete _0x201e42['authors'],_0x4dd353['push'](_0x201e42);}_0x3cf1bd['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3cf1bd['name']=_0x3cf1bd['name']||null,_0x3cf1bd['id']=_0x3cf1bd['id']||_0x5c5c0c(),_0x3cf1bd={..._0x3cf1bd,..._0x53ff05};const _0x2e604d=this['addRevisionData'](_0x3cf1bd);_0x4dd353['push'](_0x3cf1bd);const _0x995dcc=this['repository']['getIndex'](_0x2e604d);if(0x0!==_0x995dcc){const _0x1132c7=this['repository']['getRevision'](_0x995dcc-0x1);if(_0x1132c7['fromVersion']!==_0x3524a3){const _0x3f9ecf=this['_revisionDataBuilder']['getData'](_0x3524a3,_0x1132c7['toVersion']),_0x33f7be={'id':_0x1132c7['id'],'diffData':_0x3f9ecf['diffData'],'authorsIds':_0x3f9ecf['authorsIds'],'authors':_0x3f9ecf['authorsIds']['map'](_0x477eb6=>this['editor']['plugins']['get']('Users')['getUser'](_0x477eb6)),'fromVersion':_0x3524a3};_0x1132c7===this['currentRevision']&&(_0x33f7be['createdAt']=new Date(_0x3cf1bd['createdAt']['getTime']()+0xa)),_0x1132c7['_update'](_0x33f7be,!0x0),delete _0x33f7be['authors'],_0x4dd353['push'](_0x33f7be);}}if(this['adapter']){for(const _0x237f27 of _0x4dd353)this['_bufferUpdate'](_0x237f27['id'],_0x237f27,!0x0);this['sendBufferedUpdates']();}return _0x2e604d;}['addRevisionData'](_0x508333){const _0x4797ca=this['repository']['createRevision'](_0x508333);return this['adapter']&&_0x4797ca['on']('_update',(_0x29e8ca,_0x3d0bde,_0x2fcbb0)=>{_0x2fcbb0||(this['_bufferUpdate'](_0x3d0bde['id'],_0x3d0bde,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4797ca,this['_findInsertionIndex'](_0x4797ca)),_0x4797ca;}async['getRevisionDocumentData'](_0x137de1){return await this['_utils']['loadRevisionData'](_0x137de1,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x137de1);}async['getRevisionRootsAttributes'](_0x2c5673){return await this['_utils']['loadRevisionData'](_0x2c5673,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x2c5673);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x577713=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x37d58e=0x0;_0x37d58e<_0x577713['length'];_0x37d58e++){const _0x52627c=_0x577713[_0x37d58e];let _0x5de36e=!0x1;for(const _0x91ade8 of Object['keys'](_0x52627c))void 0x0===_0x52627c[_0x91ade8]?delete _0x52627c[_0x91ade8]:'id'!==_0x91ade8&&(_0x5de36e=!0x0);_0x5de36e||(_0x577713[_0x37d58e]=null);}if(_0x577713=_0x577713['filter'](_0x220301=>null!==_0x220301),!_0x577713['length'])return;for(let _0x1a02a9=0x0;_0x1a02a9<_0x577713['length'];_0x1a02a9++){const _0x3c3565=_0x577713[_0x1a02a9];void 0x0!==_0x3c3565['fromVersion']&&void 0x0===_0x3c3565['toVersion']&&(_0x3c3565['toVersion']=this['repository']['getRevision'](_0x3c3565['id'])['toVersion']),void 0x0!==_0x3c3565['toVersion']&&void 0x0===_0x3c3565['fromVersion']&&(_0x3c3565['fromVersion']=this['repository']['getRevision'](_0x3c3565['id'])['fromVersion']);}const _0x87a816=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x577713,_0x87a816)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x57653c=>{if(_0x57653c){for(const _0x575f41 of _0x57653c)this['setRevisionData']({'id':_0x575f41['id'],'createdAt':_0x575f41['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x3d09d5=null,from:_0x37b1b6=null,to:_0x3781f0=null}){_0x37b1b6=null!==_0x37b1b6?_0x37b1b6:_0x3d09d5['fromVersion'],_0x3781f0=null!==_0x3781f0?_0x3781f0:_0x3d09d5['toVersion'];const _0x17e907=this['_revisionDataBuilder']['getData'](_0x37b1b6,_0x3781f0),_0x5d947a={'diffData':_0x17e907['diffData'],'authorsIds':_0x17e907['authorsIds'],'fromVersion':_0x37b1b6,'toVersion':_0x3781f0};if(!_0x3d09d5||_0x3781f0!==_0x3d09d5['toVersion']){const _0x977064=_0x3781f0-0x1,_0x1808da=this['_source']['history']['getOperation'](_0x977064);_0x5d947a['createdAt']=_0x1808da&&_0x1808da['createdAt']||new Date();}if(this['_loadedStateData']&&_0x37b1b6===this['_loadedStateData']['fromVersion']){for(const _0x2e1f8a of this['_loadedStateData']['authors'])_0x5d947a['authorsIds']['includes'](_0x2e1f8a['id'])||_0x5d947a['authorsIds']['push'](_0x2e1f8a['id']);}return _0x5d947a;}['_bufferUpdate'](_0x11636f,_0x466e98,_0x5212e2){if(this['_bufferedUpdates']['has'](_0x11636f)){const _0x20d482=this['_bufferedUpdates']['get'](_0x11636f);_0x466e98=_0x5212e2?{..._0x20d482,..._0x466e98}:{..._0x466e98,..._0x20d482};}this['_bufferedUpdates']['set'](_0x11636f,_0x466e98);}['setRevisionData'](_0x467080){const _0x78d8de=this['repository']['getRevision'](_0x467080['id']);if(_0x467080['createdAt']&&(_0x467080['createdAt']=new Date(_0x467080['createdAt'])),_0x467080['authorsIds']){const _0x4b1783=this['editor']['plugins']['get']('Users');_0x467080['authors']=_0x467080['authorsIds']['map'](_0x2e333c=>_0x4b1783['getUser'](_0x2e333c));}_0x78d8de['_update'](_0x467080,!0x0);}['_createInitialRevision'](_0x1fc624){const _0x1e2707=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1e2707)this['_initialRevisionId']=_0x1e2707['id'];else{const _0xf26c94=!this['editor']['model']['document']['roots']['find'](_0x299d4d=>this['editor']['model']['hasContent'](_0x299d4d)),_0xc1ff18=this['editor']['plugins']['get']('Users')['me']['id'],_0xa8a42f=Qb(this['editor']['locale'],_0xf26c94?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1fc624,'to':_0x1fc624,'id':this['_initialRevisionId'],'name':_0xa8a42f,'creatorId':_0xc1ff18});}}['_createCurrentRevision'](_0x2b71cf){const _0x40edd2=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x40edd2),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2b71cf,'to':_0x2b71cf,'id':_0x40edd2,'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'](_0x329d2d,_0x59c6d0){let _0x1f7988=this['editor']['config']['get']('initialData'),_0x2e3019=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1f7988){_0x1f7988={};for(const _0x12ca71 of this['editor']['model']['document']['getRootNames']())_0x1f7988[_0x12ca71]='';}if('string'==typeof _0x1f7988&&(_0x1f7988={'main':_0x1f7988}),void 0x0===_0x2e3019){_0x2e3019={};for(const _0x36b7ce of this['editor']['model']['document']['getRootNames']())_0x2e3019[_0x36b7ce]={};}let _0x412c83=!0x1;const _0x5d8a5f=Object['keys'](_0x1f7988),_0x177001=Object['keys'](_0x329d2d);for(const _0x462c23 of _0x5d8a5f){if(_0x1f7988[_0x462c23]!==_0x329d2d[_0x462c23]&&''!==_0x1f7988[_0x462c23]['trim']()){_0x412c83=!0x0;break;}if(!Zr(_0x2e3019[_0x462c23],_0x59c6d0[_0x462c23])&&Object['keys'](_0x2e3019[_0x462c23])['length']>0x0){_0x412c83=!0x0;break;}}_0x412c83||(_0x412c83=_0x177001['some'](_0x80893c=>!this['editor']['model']['document']['getRoot'](_0x80893c))),_0x412c83&&_0xd86012('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1f7988,'editorRootsAttributes':_0x2e3019,'revisionData':_0x329d2d,'revisionRootsAttributes':_0x59c6d0}),this['editor']['config']['set']('initialData',_0x329d2d),this['editor']['config']['set']('rootsAttributes',_0x59c6d0);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3ecd7e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3ecd7e['add'](Qb(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2ad24f){const _0x45e096=this['repository']['getRevisions']();_0x45e096['reverse']();let _0x590229=0x0;for(;_0x590229<_0x45e096['length'];){const _0x395f53=_0x45e096[_0x590229];if(_0x395f53===this['currentRevision']){_0x590229++;continue;}if(_0x395f53['id']===this['_initialRevisionId'])break;const _0x5c5107=_0x2ad24f['toVersion']-_0x395f53['toVersion']||_0x2ad24f['fromVersion']-_0x395f53['fromVersion'];if(_0x5c5107>0x0)break;if(_0x5c5107<0x0)_0x590229++;else{if(!_0x2ad24f['creator']&&_0x395f53['creator'])break;if(_0x395f53['creator']||!_0x2ad24f['creator']){if(_0x2ad24f['createdAt']>_0x395f53['createdAt'])break;_0x590229++;}else _0x590229++;}}return _0x590229;}['_getFromVersion'](_0x177916){const _0x172b84=this['repository']['getRevisions']();_0x172b84['reverse'](),_0x172b84['shift']();const _0x75bcb9=_0x172b84['find'](_0x4bdead=>_0x4bdead['toVersion']<=_0x177916)['toVersion'];return _0x75bcb9<this['_startingVersion']?this['_startingVersion']:_0x75bcb9;}['_makeRevision']({name:_0x122d0f,from:_0x167aaf,to:_0x43687f,creatorId:_0x46808b,id:_0x55e9f7}){const _0x33e8b2=this['buildRevisionData']({'from':_0x167aaf,'to':_0x43687f});_0x33e8b2['name']=_0x122d0f,_0x33e8b2['creatorId']=_0x46808b,_0x33e8b2['id']=_0x55e9f7;const _0x2183b0=this['addRevisionData'](_0x33e8b2);return this['adapter']&&this['_bufferUpdate'](_0x33e8b2['id'],_0x33e8b2,!0x0),_0x2183b0;}['_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(_0x34f0de){this['editor']=_0x34f0de,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'](_0x1a3c5c){this['source']=_0x1a3c5c;const _0x402d19=new Map(),_0xf1f4b5=new Map(),_0x395d34=this['editor']['model']['document']['roots']['map'](_0x19cbff=>_0x19cbff['rootName']);for(const _0x42cf26 of _0x395d34){const _0x3227f2=this['editor']['model']['document']['getRoot'](_0x42cf26),_0x56747b=$b(_0x3227f2);_0x402d19['set'](_0x42cf26,_0x56747b),_0xf1f4b5['set'](_0x42cf26,Object['fromEntries'](_0x3227f2['getAttributes']()));}const _0x2991af=Array['from'](this['editor']['model']['markers'])['map'](_0x1228cd=>[_0x1228cd['name'],_0x1228cd['getRange']()]),_0x1dc913=this['source']['version'];this['_saveMetaData'](_0x1dc913,_0x402d19,_0x2991af,_0xf1f4b5),this['_startingRevisionId']=this['_revisionId'];const _0x32b774=new Map(),_0x3dffbc=new Map();for(const _0x35a01f of _0x395d34){const _0x97a081=Vb(_0x35a01f);_0x32b774['set'](_0x35a01f,_0x97a081),_0x3dffbc['set'](_0x35a01f,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x32b774,[],_0x3dffbc);}['getData'](_0x32f918,_0x4bda4e){if(this['_lastFrom']===_0x32f918&&this['_lastTo']<=_0x4bda4e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4bda4e,!0x0);else{if(!this['_savedMetaData']['has'](_0x32f918)){const _0xc6f0ff=this['_getPreviousFrom'](_0x32f918);this['_calculateMetaData'](_0xc6f0ff,_0x32f918,!0x1);}this['_calculateMetaData'](_0x32f918,_0x4bda4e,!0x0);}return this['_lastFrom']=_0x32f918,this['_lastTo']=_0x4bda4e,this['_getState']();}['loadState'](_0x552485){if(!this['_savedMetaData']['has'](_0x552485['fromVersion'])){const _0x3490ce=this['_getPreviousFrom'](_0x552485['fromVersion']);this['_calculateMetaData'](_0x3490ce,_0x552485['fromVersion'],!0x1);}this['_calculateMetaData'](_0x552485['fromVersion'],_0x552485['toVersion'],!0x1);const _0x3b5f32=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x552485['fromVersion'],this['_lastTo']=_0x552485['toVersion'];for(const _0x5b97ab in _0x552485['diffData']){const _0x2b3adc=_0x552485['diffData'][_0x5b97ab]['attachChange'],_0x522f91=Cr(_0x552485['diffData'][_0x5b97ab]['attributesBefore'])||{},_0x306634=_0x3b5f32['_makeModelFromViewString'](_0x552485['diffData'][_0x5b97ab]['deletions']);_0x306634['rootName']=_0x5b97ab,_0x306634['_isAttached']=!_0x2b3adc||!_0x2b3adc['isAttached'],_0x306634['isAttached']=()=>_0x306634['_isAttached'],this['_baseRoots']['set'](_0x5b97ab,_0x306634),this['_baseRootsAttributes']['set'](_0x5b97ab,_0x522f91),_0x2b3adc&&this['_touchedRoots']['set'](_0x5b97ab,_0x2b3adc);const _0x130c27=this['_makeIdsRoot'](_0x306634);this['_baseIdsRoots']['set'](_0x5b97ab,_0x130c27);for(const [_0x44009c,_0x517729]of _0x306634['markers']){if(!_0x44009c['startsWith']('revision:'))continue;const _0x2d1567=_0x44009c['split'](':')[0x2];for(const _0x4eb446 of _0x517729['getWalker']({'singleCharacters':!0x0})){const _0x1aef97=this['_getVidAttributeName'](_0x4eb446),_0x177c84='elementEnd'==_0x4eb446['type']?_0x4eb446['previousPosition']['path']['slice'](0x0,-0x1):_0x4eb446['previousPosition']['path'],_0x8a3f98=_0x130c27['getNodeByPath'](_0x177c84)['getAttribute'](_0x1aef97);this['_touched']['set'](_0x8a3f98,{'userId':_0x2d1567});}_0x306634['markers']['delete'](_0x44009c);}}this['_startingRevisionId']=this['_revisionId'];const _0x50c8bc=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x497bee=>!this['_touched']['has'](_0x497bee));let _0x55215a=0x0;const _0x24e6cb=new Map();for(const _0x3268a6 in _0x552485['diffData']){const _0xbf6d9d=_0x552485['diffData'][_0x3268a6]['attachChange'],_0x2466d7=Cr(_0x552485['diffData'][_0x3268a6]['attributesAfter'])||{},_0xf801fb=_0x3b5f32['_makeModelFromViewString'](_0x552485['diffData'][_0x3268a6]['insertions']);_0xf801fb['rootName']=_0x3268a6,_0xf801fb['_isAttached']=!_0xbf6d9d||_0xbf6d9d['isAttached'],_0xf801fb['isAttached']=()=>_0xf801fb['_isAttached'],this['_diffRoots']['set'](_0x3268a6,_0xf801fb),this['_diffRootsAttributes']['set'](_0x3268a6,_0x2466d7);const _0x333b15=this['_makeIdsRoot'](_0xf801fb,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3268a6,_0x333b15),_0x24e6cb['set'](_0x3268a6,_0xf801fb['isAttached']()?_0x2466d7:{});for(const [_0x5a02f7,_0x46934d]of _0xf801fb['markers']){if(!_0x5a02f7['startsWith']('revision:'))continue;const _0x4d3348=_0x5a02f7['split'](':')[0x2];for(const _0x1bf879 of _0x46934d['getWalker']({'singleCharacters':!0x0})){const _0x113981=this['_getVidAttributeName'](_0x1bf879),_0x1b9d89=this['_revisionId']++,_0x90e685='elementEnd'==_0x1bf879['type']?_0x1bf879['previousPosition']['path']['slice'](0x0,-0x1):_0x1bf879['previousPosition']['path'];_0x333b15['getNodeByPath'](_0x90e685)['_setAttribute'](_0x113981,_0x1b9d89),this['_touched']['set'](_0x1b9d89,{'userId':_0x4d3348});}_0xf801fb['markers']['delete'](_0x5a02f7);}for(const _0x31fee9 of this['editor']['model']['createRangeIn'](_0xf801fb)['getWalker']({'singleCharacters':!0x0})){const _0x5991f9=this['_getVidAttributeName'](_0x31fee9),_0x41d99f='elementEnd'==_0x31fee9['type']?_0x31fee9['previousPosition']['path']['slice'](0x0,-0x1):_0x31fee9['previousPosition']['path'],_0x44e072=_0x333b15['getNodeByPath'](_0x41d99f);_0x44e072['getAttribute'](_0x5991f9)>0x0||_0x44e072['_setAttribute'](_0x5991f9,_0x50c8bc[_0x55215a++]);}for(const [_0x591786,_0x4be302]of _0xf801fb['markers'])_0x591786['startsWith']('revision:')||this['_markers']['set'](_0x591786,_0x4be302);}const {roots:_0x5d4725}=this['_savedMetaData']['get'](_0x552485['fromVersion']),{roots:_0x31ead0}=this['_savedMetaData']['get'](_0x552485['toVersion']),_0x16247d=$b(_0x5d4725['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x16247d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x16247d,Number['NEGATIVE_INFINITY']));const _0x28dfd1=$b(_0x31ead0['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x28dfd1),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x28dfd1));const _0x5456f1=Array['from'](this['_diffRoots'])['map'](([_0x5c4de0,_0x275b1c])=>[_0x5c4de0,$b(_0x275b1c)]);this['_saveMetaData'](this['_lastTo'],_0x5456f1,this['_markers'],_0x24e6cb);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0xc9c226,_0x26f33c,_0x456360,_0x3b5230){const _0x397ff5=new Map(_0x26f33c),_0x2d4dc0=new Map(Cr(_0x3b5230)),_0x182491=new Map();for(const [_0x5b0288,_0x448612]of _0x456360)_0x182491['set'](_0x5b0288,{'start':_0x448612['start']['clone'](),'end':_0x448612['end']['clone'](),'rootName':_0x448612['root']['rootName']});this['_savedMetaData']['set'](_0xc9c226,{'roots':_0x397ff5,'markers':_0x182491,'rootsAttributes':_0x2d4dc0});}['_removeMetaData'](_0x1be110){this['_savedMetaData']['delete'](_0x1be110);}['_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'](_0x236140,_0x446385=null){let _0x1ea175=null;_0x236140['is']('documentFragment')||(_0x1ea175=new _0x23e369(_0x236140['name'],{'vid_start':null===_0x446385?this['_revisionId']++:_0x446385++}));const _0x16aede=[];for(const _0x3d59d5 of _0x236140['getChildren']())if(_0x3d59d5['is']('element')){_0x16aede['push'](this['_makeIdsRoot'](_0x3d59d5,_0x446385));const _0x4ff4b7=_0x16aede[_0x16aede['length']-0x1];null!==_0x446385&&(_0x446385=_0x4ff4b7['is']('element','$text')?_0x4ff4b7['getAttribute']('vid')+0x1:_0x4ff4b7['getAttribute']('vid_end')+0x1);}else{for(let _0x458f54=0x0;_0x458f54<_0x3d59d5['offsetSize'];_0x458f54++)_0x16aede['push'](new _0x23e369('$text',{'vid':null===_0x446385?this['_revisionId']++:_0x446385++}));}if(_0x236140['is']('documentFragment')){const _0xd40425=Vb(_0x236140['rootName']);return _0xd40425['_insertChild'](0x0,_0x16aede),_0xd40425;}return _0x1ea175['_setAttribute']('vid_end',null===_0x446385?this['_revisionId']++:_0x446385++),_0x1ea175['_insertChild'](0x0,_0x16aede),_0x1ea175;}['_calculateMetaData'](_0x5704f6,_0x32365f,_0x338859){this['_reset']();const {roots:_0x1d659c,markers:_0x2af9c0,rootsAttributes:_0x2fbdab}=this['_savedMetaData']['get'](_0x5704f6);this['_baseRoots']=new Map(_0x1d659c),this['_baseRootsAttributes']=new Map(Cr(_0x2fbdab));for(const [_0x49612f,_0x1d4a6f]of this['_baseRoots'])if('$graveyard'!==_0x49612f&&(this['_diffRoots']['set'](_0x49612f,$b(_0x1d4a6f)),this['_diffRootsAttributes']=new Map(Cr(_0x2fbdab)),_0x338859)){const _0xbec81b=this['_revisionId'];this['_idsRoots']['set'](_0x49612f,this['_makeIdsRoot'](_0x1d4a6f)),this['_baseIdsRoots']['set'](_0x49612f,this['_makeIdsRoot'](_0x1d4a6f,_0xbec81b));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',$b(this['_baseRoots']['get']('$graveyard'))),_0x338859&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xed976f,_0x5e6c25]of _0x2af9c0){const _0xf53917=this['_baseRoots']['get'](_0x5e6c25['rootName']),_0xa38359=this['_diffRoots']['get'](_0x5e6c25['rootName']),_0x5a3b80=new _0x2ec072(this['_fixPosition'](_0x5e6c25['start'],_0xf53917),this['_fixPosition'](_0x5e6c25['end'],_0xf53917)),_0x58f7d0=this['_fixRange'](_0x5a3b80,_0xa38359);_0xf53917['markers']['set'](_0xed976f,_0x5a3b80),this['_markers']['set'](_0xed976f,_0x58f7d0);}this['_applyOperations'](_0x5704f6,_0x32365f,_0x338859);}['_applyOperations'](_0x128552,_0x549021,_0x4d7f63){for(const _0xe31b36 of this['source']['getOperations'](_0x128552,_0x549021))this['_handleOperation'](_0xe31b36,_0x4d7f63);for(const _0x6c762f of this['_diffRoots']['values']())_0x6c762f['markers']['clear']();for(const [_0x3d1acc,_0x9f2cfb]of this['_markers']){this['_diffRoots']['get'](_0x9f2cfb['root']['rootName'])['markers']['set'](_0x3d1acc,_0x9f2cfb['clone']());}const _0x4d8c1c=new Map(),_0x57dec9=new Map();for(const [_0x150e68,_0x15caa0]of this['_diffRoots'])_0x4d8c1c['set'](_0x150e68,$b(_0x15caa0)),_0x57dec9['set'](_0x150e68,this['_diffRootsAttributes']['get'](_0x150e68));this['_saveMetaData'](_0x549021,_0x4d8c1c,this['_markers'],_0x57dec9);}['_getPreviousFrom'](_0x49e49c){const _0x2bd706=Array['from'](this['_savedMetaData']['keys']());_0x2bd706['sort']((_0x564747,_0x3e7b00)=>_0x564747-_0x3e7b00),_0x2bd706['reverse']();for(const _0x2b4259 of _0x2bd706)if(_0x2b4259<_0x49e49c)return _0x2b4259;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3feb5c,_0x17a9dc){const _0x1453cf=Array['from'](_0x17a9dc['markers'])['map'](([_0x3a1886,_0x790f48])=>[_0x3a1886,this['_fixRange'](_0x790f48,_0x3feb5c)]);_0x3feb5c['markers']=new Map(_0x1453cf);}['_transformMarkers'](_0x4f933a){for(const _0x416417 of this['_markers']['values']()){const _0x18d2f2=_0x416417['getTransformedByOperation'](_0x4f933a),_0x532222=_0x2ec072['_createFromRanges'](_0x18d2f2);_0x416417['start']=_0x532222['start'],_0x416417['end']=_0x532222['end'];}}['_handleOperation'](_0x12cf79,_0x126309){if('addRoot'!=_0x12cf79['type']&&'detachRoot'!=_0x12cf79['type']){if('insert'==_0x12cf79['type']){const _0x3a7ad8=_0x12cf79['position']['root']['rootName'];this['_diffRoots']['has'](_0x3a7ad8)||(this['_diffRoots']['set'](_0x3a7ad8,Vb(_0x3a7ad8,!0x0)),this['_diffRootsAttributes']['set'](_0x3a7ad8,{}),_0x126309&&this['_idsRoots']['set'](_0x3a7ad8,Vb(_0x3a7ad8,!0x0)));}else{if('addRootAttribute'==_0x12cf79['type']||'removeRootAttribute'==_0x12cf79['type']||'changeRootAttribute'==_0x12cf79['type'])return void this['_handleRootAttributeOperation'](_0x12cf79);'marker'==_0x12cf79['type']&&this['_handleMarkerOperation'](_0x12cf79);}if('marker'!==_0x12cf79['type']){const _0x20dbcd=this['_cloneOperation'](_0x12cf79,this['_diffRoots']);_0x20dbcd['_execute'](),this['_transformMarkers'](_0x20dbcd);}if(_0x126309)switch(_0x12cf79['type']){case'insert':this['_handleInsertOperation'](_0x12cf79);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x12cf79);break;case'merge':this['_handleMergeOperation'](_0x12cf79);break;case'split':this['_handleSplitOperation'](_0x12cf79);}}else this['_handleRootOperation'](_0x12cf79,_0x126309);}['_cloneOperation'](_0x4ac4e8,_0x4adc98){const _0x51517b=_0x4ac4e8['clone']();return _0x51517b['_authorId']=_0x4ac4e8['_authorId'],this['_fixOperation'](_0x51517b,_0x4adc98),_0x51517b;}['_getBaseVids'](_0x1e12a1){return _0x1e12a1['map'](_0x74fa64=>{const _0x2e757f=this['_getVidAttributeName'](_0x74fa64);return Number(_0x74fa64['item']['getAttribute'](_0x2e757f));});}['_generateTape'](_0x4ad49e,_0x499236){if(_0x4ad49e['is']('element','$text'))_0x499236['push']({'item':_0x4ad49e,'type':'text'});else{_0x4ad49e['is']('element')&&_0x499236['push']({'item':_0x4ad49e,'type':'elementStart'});for(const _0x501b50 of _0x4ad49e['getChildren']())this['_generateTape'](_0x501b50,_0x499236);_0x4ad49e['is']('element')&&_0x499236['push']({'item':_0x4ad49e,'type':'elementEnd'});}return _0x499236;}['_getState'](){const _0x4609fe=new Map(this['_touched']),_0x5216aa=new Map(_0x4609fe),_0x2c72da=new Map(),_0x5840fb={'insertions':{},'deletions':{}},_0x433011={'insertions':{},'deletions':{}},_0x2f46b7=new Map(),_0x18934d=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x18934d['delete']('$graveyard');for(const _0x54f066 of _0x18934d){const _0x44a2ca=this['_diffRoots']['get'](_0x54f066)||Vb(_0x54f066,!0x1),_0x42965b=this['_baseRoots']['get'](_0x54f066)||Vb(_0x54f066,!0x1);_0x44a2ca['isAttached']()||_0x42965b['isAttached']()?(_0x5840fb['insertions'][_0x54f066]=$b(_0x44a2ca),_0x5840fb['deletions'][_0x54f066]=$b(_0x42965b),this['_copyMarkers'](_0x5840fb['deletions'][_0x54f066],_0x42965b),this['_copyMarkers'](_0x5840fb['insertions'][_0x54f066],_0x44a2ca),_0x433011['insertions'][_0x54f066]=this['_generateTape'](this['_idsRoots']['get'](_0x54f066),[]),_0x433011['deletions'][_0x54f066]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x54f066)||Vb(_0x54f066,!0x1),[])):_0x18934d['delete'](_0x54f066);}for(const _0x212074 of _0x18934d){const _0x3ba54b=_0x433011['insertions'][_0x212074];for(const _0x50d550 of _0x3ba54b){const _0x2b44e9=this['_getVidAttributeName'](_0x50d550),_0x17fb2e=_0x50d550['item']['getAttribute'](_0x2b44e9);_0x5216aa['delete'](_0x17fb2e),_0x17fb2e>=this['_startingRevisionId']&&_0x2c72da['set'](_0x17fb2e,_0x4609fe['get'](_0x17fb2e));}}for(const _0x35bf97 of _0x18934d){const _0x5d7d65=_0x433011['insertions'][_0x35bf97],_0x14a81b=this['_getBaseVids'](_0x433011['deletions'][_0x35bf97]);let _0x213b93=0x0;for(const _0x348247 of _0x5d7d65){const _0x1dfa38=this['_getVidAttributeName'](_0x348247),_0x3affc3=_0x348247['item']['getAttribute'](_0x1dfa38);if(!_0x2c72da['has'](_0x3affc3)&&!_0x2f46b7['has'](_0x3affc3)){if(_0x5216aa['has'](_0x3affc3))_0x213b93++;else{if(_0x3affc3!=_0x14a81b[_0x213b93]){const _0x29cbe1=_0x4609fe['get'](_0x3affc3)||_0x4609fe['get'](_0x14a81b[_0x213b93]);for(;_0x3affc3!=_0x14a81b[_0x213b93];)_0x5216aa['has'](_0x14a81b[_0x213b93])||(_0x2f46b7['set'](_0x14a81b[_0x213b93],_0x29cbe1),_0x4609fe['set'](_0x14a81b[_0x213b93],_0x29cbe1)),_0x213b93++;}_0x213b93++;}}}}for(const _0x5741ac of _0x18934d){const _0x1e30fb=_0x433011['insertions'][_0x5741ac];for(const _0x2836a5 of _0x1e30fb){const _0x56ddc8=this['_getVidAttributeName'](_0x2836a5),_0x231a72=_0x2836a5['item']['getAttribute'](_0x56ddc8);if(_0x2f46b7['has'](_0x231a72)){const _0x1e6432=_0x2f46b7['get'](_0x231a72);_0x5216aa['has'](_0x231a72)||_0x5216aa['set'](_0x231a72,{..._0x1e6432}),_0x2c72da['set'](_0x231a72,{..._0x1e6432});}}}for(const _0x186411 of _0x5216aa['keys']())_0x186411>=this['_startingRevisionId']&&_0x5216aa['delete'](_0x186411);const _0x2a1d13=new Map();for(const _0x70072a of _0x18934d){let _0xa75a33=_0x433011['insertions'][_0x70072a];for(const _0x1cb398 of _0xa75a33)if(_0x1cb398['item']['is']('element','tableCell')){const _0x3e2a26=this['_getVidAttributeName'](_0x1cb398),_0x39d08a=_0x1cb398['item']['getAttribute'](_0x3e2a26);if(_0x2c72da['has'](_0x39d08a)){const _0x4fd08f=_0x1cb398['item']['parent']['parent']['getAttribute']('vid_start'),_0x398266=_0x2a1d13['get'](_0x4fd08f)||new Set();_0x398266['add'](_0x2c72da['get'](_0x39d08a)['userId']),_0x2a1d13['set'](_0x4fd08f,_0x398266);}}_0xa75a33=_0x433011['deletions'][_0x70072a];for(const _0x3e5541 of _0xa75a33)if(_0x3e5541['item']['is']('element','tableCell')){const _0x184ee5=this['_getVidAttributeName'](_0x3e5541),_0x2b52a4=_0x3e5541['item']['getAttribute'](_0x184ee5);if(_0x5216aa['has'](_0x2b52a4)){const _0x2f5199=_0x3e5541['item']['parent']['parent']['getAttribute']('vid_start'),_0x1f32be=_0x2a1d13['get'](_0x2f5199)||new Set();_0x1f32be['add'](_0x5216aa['get'](_0x2b52a4)['userId']),_0x2a1d13['set'](_0x2f5199,_0x1f32be);}}for(const _0x26c872 of _0x2a1d13['keys']())(_0x2c72da['has'](_0x26c872)||_0x5216aa['has'](_0x26c872))&&_0x2a1d13['delete'](_0x26c872);}for(const _0x5d4b6f of _0x18934d){const _0x72c068=_0x433011['insertions'][_0x5d4b6f];let _0xa3ef77=null,_0x173636=null;for(const _0x1219fd of _0x72c068){const _0x4fcb83=this['_getVidAttributeName'](_0x1219fd),_0x2847d5=_0x1219fd['item']['getAttribute'](_0x4fcb83),_0x1d0c97=_0x2a1d13['get'](_0x2847d5);_0x1d0c97&&'elementStart'==_0x1219fd['type']&&(_0xa3ef77=Array['from'](_0x1d0c97)[0x0],_0x173636=_0x1219fd['item']['getAttribute']('vid_end')),_0xa3ef77&&(_0x5216aa['set'](_0x2847d5,{'userId':_0xa3ef77}),_0x2c72da['set'](_0x2847d5,{'userId':_0xa3ef77})),_0x2847d5==_0x173636&&(_0xa3ef77=null,_0x173636=null);}}const _0x374769={},_0x249cde=new Set();for(const _0x33a161 of _0x18934d){const _0x3b296d=_0x5840fb['deletions'][_0x33a161],_0x5925b3=_0x5840fb['insertions'][_0x33a161];for(const {userId:_0x407b3e}of this['_touchedMarkers']['values']())null!==_0x407b3e&&_0x249cde['add'](_0x407b3e);for(const {userId:_0x148707}of this['_touchedRoots']['values']())null!==_0x148707&&_0x249cde['add'](_0x148707);this['_markChanges'](_0x5925b3,_0x433011['insertions'][_0x33a161],_0x2c72da,'insertion',_0x249cde),this['_markChanges'](_0x3b296d,_0x433011['deletions'][_0x33a161],_0x5216aa,'deletion',_0x249cde),_0x374769[_0x33a161]={'insertions':this['_prepareViewToSave'](_0x5925b3),'deletions':this['_prepareViewToSave'](_0x3b296d),'attachChange':this['_touchedRoots']['get'](_0x33a161)||null,'attributesBefore':Cr(this['_baseRootsAttributes']['get'](_0x33a161))||{},'attributesAfter':Cr(this['_diffRootsAttributes']['get'](_0x33a161))};}return{'diffData':_0x374769,'authorsIds':Array['from'](_0x249cde)};}['_processRootBeforeSave'](_0x45841f){for(const [,_0x52acb6]of _0x45841f['markers']){const _0x282510=_0x52acb6['start']['getAncestors']()['filter'](_0x321271=>'tableCell'==_0x321271['name']);for(const _0x242252 of _0x282510)0x1==_0x242252['childCount']&&_0x242252['getChild'](0x0)['is']('element','paragraph')&&_0x242252['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x284ed1){this['_processRootBeforeSave'](_0x284ed1);const _0x324eb1=this['editor']['data']['toView'](_0x284ed1,{}),_0x171acc=Array['from'](_0x324eb1['getChildren']())['map'](_0xf21bf7=>this['_getViewJson'](_0xf21bf7));return JSON['stringify'](_0x171acc);}['_getViewJson'](_0x573258){if(_0x573258['is']('$text'))return _0x573258['data'];{const _0x4129fe=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x5c891a=_0x573258,_0x144494=this['editor']['data']['htmlProcessor']['domConverter'],_0x5a50a4={'type':_0x4129fe['_getTypeCharForViewElement'](_0x5c891a),'name':_0x5c891a['name'],'attributes':Array['from'](_0x5c891a['getAttributes']()),'children':Array['from'](_0x5c891a['getChildren']())['map'](_0x222bea=>this['_getViewJson'](_0x222bea))};if(_0x573258['is']('uiElement')&&'$comment'!=_0x573258['name']){const _0x516008=_0x573258['render'](_0x144494['domDocument'],_0x144494);_0x5a50a4['children']['push'](_0x516008['outerHTML']);}else{if(_0x573258['is']('rawElement')){const _0x1c5357=_0x144494['domDocument']['createElement'](_0x5c891a['name']);_0x573258['render'](_0x1c5357,_0x144494),_0x5a50a4['children']['push'](_0x1c5357['innerHTML']);}}const _0x2b220e=Array['from'](_0x5c891a['getCustomProperties']());_0x2b220e['length']>0x0&&(_0x5a50a4['customProperties']=_0x2b220e);const _0x219ef4=_0x5c891a['getFillerOffset']();return null!==_0x219ef4&&(_0x5a50a4['fillerOffset']=_0x219ef4),_0x5a50a4;}}['_markChanges'](_0x5eb31d,_0x1659ed,_0x5d3784,_0x583582,_0x22d04e){let _0x302638=null,_0x28b43d=null,_0x437332=0x0;const _0x414544=this['editor']['model'];for(let _0x37f3c5=0x0;_0x37f3c5<_0x1659ed['length'];_0x37f3c5++){const _0x2386de=this['_getVidAttributeName'](_0x1659ed[_0x37f3c5]),_0x22c4f1=_0x1659ed[_0x37f3c5]['item']['getAttribute'](_0x2386de),_0x51daa2=_0x5d3784['get'](_0x22c4f1),_0x309f1c=_0x37f3c5==_0x1659ed['length']-0x1;(!_0x302638&&_0x51daa2&&(_0x302638=_0x51daa2,_0x28b43d=_0x1659ed[_0x37f3c5]),_0x302638&&(!_0x51daa2||_0x51daa2['userId']!=_0x302638['userId']))&&(_0x2652c8(_0x51daa2,Ub(_0x28b43d,_0x5eb31d,_0x414544),Ub(_0x1659ed[_0x37f3c5],_0x5eb31d,_0x414544)),_0x302638=_0x51daa2||null,_0x28b43d=_0x51daa2?_0x1659ed[_0x37f3c5]:null),_0x302638&&_0x309f1c&&_0x2652c8(_0x51daa2,Ub(_0x28b43d,_0x5eb31d,_0x414544),Bb(_0x1659ed[_0x37f3c5],_0x5eb31d,_0x414544));}function _0x2652c8(_0x1adfcf,_0x306ab7,_0x9971e0){const _0x4e4417=_0x302638['userId'],_0x58e14a='revision:'+_0x583582+':'+_0x4e4417+':'+_0x437332++,_0x5e2f91=_0x414544['createRange'](_0x306ab7,_0x9971e0);_0x5eb31d['markers']['set'](_0x58e14a,_0x5e2f91),null!==_0x4e4417&&_0x22d04e['add'](_0x4e4417);}}['_getVidAttributeName'](_0x20c09a){switch(_0x20c09a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x8663d8,_0x2a50c0){_0x8663d8['baseVersion']=null;for(const _0x5332d9 in _0x8663d8){const _0x50372a=_0x8663d8[_0x5332d9];if(_0x50372a instanceof _0xf95af9){const _0x3bee1d=_0x2a50c0['get'](_0x50372a['root']['rootName']);_0x8663d8[_0x5332d9]=this['_fixPosition'](_0x50372a,_0x3bee1d);}if(_0x50372a instanceof _0x2ec072){const _0x3ed100=_0x2a50c0['get'](_0x50372a['root']['rootName']);_0x8663d8[_0x5332d9]=this['_fixRange'](_0x50372a,_0x3ed100);}'root'===_0x5332d9&&(_0x8663d8['root']=_0x2a50c0['get'](_0x8663d8['root']['rootName']));}}['_fixRange'](_0x14c972,_0x31ef02){return this['editor']['model']['createRange'](this['_fixPosition'](_0x14c972['start'],_0x31ef02),this['_fixPosition'](_0x14c972['end'],_0x31ef02));}['_fixPosition'](_0x405c7e,_0x615568){return this['editor']['model']['createPositionFromPath'](_0x615568,_0x405c7e['path'],_0x405c7e['stickiness']);}['_handleInsertOperation'](_0x3998ad){const _0x408e62=this['_idsRoots']['get'](_0x3998ad['position']['root']['rootName']),_0x135156=this['_fixPosition'](_0x3998ad['position'],_0x408e62),_0x539b66=null===_0x3998ad['_authorId']?null:_0x3998ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x541a35=_0x135156['parent'],_0x26e0e8=this['_revisionId'],_0x333855=[];for(const _0x4eadf3 of _0x3998ad['nodes'])if(_0x4eadf3['is']('element'))_0x333855['push'](this['_makeIdsRoot'](_0x4eadf3));else{for(let _0x40c0fa=0x0;_0x40c0fa<_0x4eadf3['offsetSize'];_0x40c0fa++)_0x333855['push'](new _0x23e369('$text',{'vid':this['_revisionId']++}));}const _0x4fd01d=this['_revisionId'];for(let _0xa6dcad=_0x26e0e8;_0xa6dcad<_0x4fd01d;_0xa6dcad++)this['_touched']['set'](_0xa6dcad,{'userId':_0x539b66});_0x541a35['_insertChild'](_0x135156['offset'],_0x333855);}['_handleMoveOperation'](_0x254203){(_0x254203=this['_cloneOperation'](_0x254203,this['_idsRoots']))['_execute']();const _0x2b6cd7=null===_0x254203['_authorId']?null:_0x254203['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2fda9f=_0x254203['getMovedRangeStart'](),_0x1a5613=_0x2fda9f['parent'],_0x55c101=_0x2fda9f['offset'];!function _0x1fe00a(_0x5bb0f5,_0x5b265d,_0x4e2c90,_0xd4dcaa){for(let _0x41b043=_0x4e2c90;_0x41b043<_0xd4dcaa;_0x41b043++){const _0x17f34a=_0x5b265d['getChild'](_0x41b043);_0x17f34a['is']('element','$text')?_0x5bb0f5['set'](_0x17f34a['getAttribute']('vid'),{'userId':_0x2b6cd7}):(_0x5bb0f5['set'](_0x17f34a['getAttribute']('vid_start'),{'userId':_0x2b6cd7}),_0x1fe00a(_0x5bb0f5,_0x17f34a,0x0,_0x17f34a['childCount']),_0x5bb0f5['set'](_0x17f34a['getAttribute']('vid_end'),{'userId':_0x2b6cd7}));}}(this['_touched'],_0x1a5613,_0x55c101,_0x55c101+_0x254203['howMany']);}['_handleMergeOperation'](_0x1216a6){const _0x383299=null===(_0x1216a6=this['_cloneOperation'](_0x1216a6,this['_idsRoots']))['_authorId']?null:_0x1216a6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19821a=_0x1216a6['targetPosition']['parent'],_0x12b5ad=_0x1216a6['sourcePosition']['parent'],_0x1f6af5=_0x19821a['getAttribute']('vid_end'),_0x56a7c5=_0x12b5ad['getAttribute']('vid_start');_0x19821a['_setAttribute']('vid_end',_0x12b5ad['getAttribute']('vid_end')),_0x12b5ad['_setAttribute']('vid_end',_0x1f6af5),this['_touched']['set'](_0x56a7c5,{'userId':_0x383299}),this['_touched']['set'](_0x1f6af5,{'userId':_0x383299}),_0x1216a6['_execute']();}['_handleSplitOperation'](_0x27cd4b){const _0x2d0376=null===(_0x27cd4b=this['_cloneOperation'](_0x27cd4b,this['_idsRoots']))['_authorId']?null:_0x27cd4b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5cdb1e=_0x27cd4b['graveyardPosition'],_0x27a04d=_0x27cd4b['splitPosition']['parent'];_0x27cd4b['_execute']();const _0x2f9df8=_0x27a04d['getAttribute']('vid_end'),_0x545670=_0x27cd4b['insertionPosition']['nodeAfter'];if(_0x5cdb1e){const _0xc37e4b=_0x545670['getAttribute']('vid_end'),_0x40bde7=_0x27a04d['getAttribute']('vid_end');_0x27a04d['_setAttribute']('vid_end',_0xc37e4b),_0x545670['_setAttribute']('vid_end',_0x40bde7),this['_touched']['set'](_0x27a04d['getAttribute']('vid_end'),{'userId':_0x2d0376}),this['_touched']['set'](_0x545670['getAttribute']('vid_start'),{'userId':_0x2d0376});}else{const _0x377b86=this['_revisionId']++,_0x9251bb=this['_revisionId']++;_0x27a04d['_setAttribute']('vid_end',_0x377b86),_0x545670['_setAttribute']('vid_start',_0x9251bb),_0x545670['_setAttribute']('vid_end',_0x2f9df8),this['_touched']['set'](_0x377b86,{'userId':_0x2d0376}),this['_touched']['set'](_0x9251bb,{'userId':_0x2d0376});}}['_handleMarkerOperation'](_0x5f300c){if(!_0x5f300c['affectsData'])return;const _0x242c3c=(_0x5f300c=this['_cloneOperation'](_0x5f300c,this['_diffRoots']))['oldRange']?_0x5f300c['oldRange']['root']:null,_0x428ea9=_0x5f300c['newRange']?_0x5f300c['newRange']['root']:null;_0x242c3c&&this['_markers']['delete'](_0x5f300c['name']),_0x428ea9&&this['_markers']['set'](_0x5f300c['name'],_0x5f300c['newRange']['clone']());const _0x19b61a=null===_0x5f300c['_authorId']?null:_0x5f300c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4264ff=_0x5f300c['name'];if(!this['_touchedMarkers']['has'](_0x4264ff))return void this['_touchedMarkers']['set'](_0x4264ff,{'range':_0x5f300c['oldRange'],'userId':_0x19b61a});const _0xbbbe3b=this['_touchedMarkers']['get'](_0x4264ff),_0x33af01=_0xbbbe3b['range'],_0x29255c=_0x5f300c['newRange'];null==_0x33af01&&null==_0x29255c||_0x33af01&&_0x29255c&&_0x33af01['isEqual'](_0x29255c)?this['_touchedMarkers']['delete'](_0x5f300c['name']):_0xbbbe3b['userId']=_0x19b61a;}['_handleRootOperation'](_0x5a0d50,_0x2de30b){this['_diffRoots']['has'](_0x5a0d50['rootName'])?this['_diffRoots']['get'](_0x5a0d50['rootName'])['_isAttached']=_0x5a0d50['isAdd']:(this['_diffRoots']['set'](_0x5a0d50['rootName'],Vb(_0x5a0d50['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5a0d50['rootName'],{}),_0x2de30b&&this['_idsRoots']['set'](_0x5a0d50['rootName'],Vb(_0x5a0d50['rootName'],!0x0)));const _0x4a4fec=null===_0x5a0d50['_authorId']?null:_0x5a0d50['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5b0b44=this['_touchedRoots']['get'](_0x5a0d50['rootName']);_0x5b0b44&&_0x5b0b44['userId']===_0x4a4fec?this['_touchedRoots']['delete'](_0x5a0d50['rootName']):this['_touchedRoots']['set'](_0x5a0d50['rootName'],{'userId':_0x4a4fec,'isAttached':_0x5a0d50['isAdd']});}['_handleRootAttributeOperation'](_0x3ca206){const _0x4d720e=this['_diffRootsAttributes']['get'](_0x3ca206['root']['rootName']);null===_0x3ca206['newValue']?delete _0x4d720e[_0x3ca206['key']]:_0x4d720e[_0x3ca206['key']]=_0x3ca206['newValue'];}}function $b(_0x131d0d){const _0x43a7e4=Vb(_0x131d0d['rootName'],_0x131d0d['isAttached']());for(const _0x364c70 of _0x131d0d['getChildren']()){const _0x45f0a5=_0x364c70['_clone'](!0x0);_0x43a7e4['_appendChild'](_0x45f0a5);}return _0x43a7e4;}function Vb(_0x5481d4,_0x102cd6=!0x0){const _0x2b9b8d=new _0x507bef();return _0x2b9b8d['rootName']=_0x5481d4,_0x2b9b8d['_isAttached']=_0x102cd6,_0x2b9b8d['isAttached']=()=>_0x2b9b8d['_isAttached'],_0x2b9b8d;}function Ub(_0x33910d,_0x469b80,_0x585fd2){const _0x5650cb='elementEnd'==_0x33910d['type']?_0x585fd2['createPositionAt'](_0x33910d['item'],'end'):_0x585fd2['createPositionBefore'](_0x33910d['item']);return _0x585fd2['createPositionFromPath'](_0x469b80,_0x5650cb['path'],_0x5650cb['stickiness']);}function Bb(_0x14d043,_0x2a5dba,_0x3fff74){const _0x19fbf4='elementStart'==_0x14d043['type']?_0x3fff74['createPositionAt'](_0x14d043['item'],0x0):_0x3fff74['createPositionAfter'](_0x14d043['item']);return _0x3fff74['createPositionFromPath'](_0x2a5dba,_0x19fbf4['path'],_0x19fbf4['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
Xt(_0x3989d4){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x26b29d,_0x3518ff){super(_0x26b29d),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3518ff),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 _0xd034b=_0x5b2c5f=>_0x5b2c5f['stopPropagation']();this['keystrokes']['set']('arrowright',_0xd034b),this['keystrokes']['set']('arrowleft',_0xd034b),this['keystrokes']['set']('arrowup',_0xd034b),this['keystrokes']['set']('arrowdown',_0xd034b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x35cef2){this['revisionNameInputView']['fieldView']['element']['value']=_0x35cef2['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x514b86){const _0x30282e=new wt(this['locale'],bt),_0x23b555=_0x30282e['fieldView'];_0x23b555['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x53be2a=Qb(this['locale'],'Name\x20of\x20the\x20revision');return!_0x514b86&&(_0x53be2a+='\x20('+Qb(this['locale'],'optional')+')'),(_0x30282e['label']=_0x53be2a,_0x23b555['on']('input',()=>{this['revisionNameInputValue']=_0x23b555['element']['value']['trim']();}),_0x30282e);}}class RevisionHistoryUI extends _0x13517b{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker];}['_saveRevisionFormView'];['init'](){const _0x4beda6=this['editor'],_0xbe3eba=_0x4beda6['plugins']['get']('RevisionTracker');_0x4beda6['ui']['componentFactory']['add']('revisionHistory',_0x457d4b=>{const _0x721d6=st(_0x457d4b),_0x28ce76=_0x721d6['panelView']['children'],_0x50fd43=new _0x3523c8(_0x457d4b),_0x1e9efc=new _0x5d952b(_0x457d4b),_0x3d01f1=this['_createSaveRevisionButton'](_0x2e803a),_0xbc842f=new _0x5d952b(_0x457d4b),_0x36ce01=this['_createOpenRevisionButton'](_0x2e803a);return _0x721d6['bind']('isEnabled')['to'](_0xbe3eba,'isReady',_0xbe3eba,'isEnabled',_0x4beda6,'isReadOnly',(_0x5bc9d1,_0x153dd5,_0x3eaf48)=>_0x5bc9d1&&_0x153dd5&&!_0x3eaf48),_0x721d6['buttonView']['set']({'icon':_0x508169,'label':Qb(_0x457d4b,'Revision\x20history'),'tooltip':!0x0}),_0x3d01f1['set']({'withText':!0x0,'role':'menuitem'}),_0x36ce01['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x36ce01,'execute',()=>{_0x721d6['isOpen']=!0x1,_0x4beda6['editing']['view']['focus']();},{'priority':'low'}),_0x1e9efc['children']['add'](_0x3d01f1),_0xbc842f['children']['add'](_0x36ce01),_0x50fd43['role']='menu',_0x50fd43['items']['addMany']([_0x1e9efc,_0xbc842f]),_0x28ce76['add'](_0x50fd43),_0x721d6;}),_0x4beda6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3f9f5d=this['editor'],_0x378914=_0x3f9f5d['locale'],_0x397e24=_0x3f9f5d['plugins']['get']('RevisionTracker'),_0x3a48ba=new rt(_0x378914),_0x3e3fac=new ct(_0x378914);_0x3a48ba['bind']('isEnabled')['to'](_0x397e24,'isReady',_0x397e24,'isEnabled',_0x3f9f5d,'isReadOnly',(_0x502514,_0xf05ae4,_0x1f9874)=>_0x502514&&_0xf05ae4&&!_0x1f9874),_0x3a48ba['buttonView']['set']({'icon':_0x508169,'label':Qb(_0x378914,'Revision\x20history')});const _0x228782=new lt(_0x378914,_0x3a48ba),_0x4fcc27=this['_createSaveRevisionButton'](ot);_0x4fcc27['delegate']('execute')['to'](_0x3a48ba),_0x228782['children']['add'](_0x4fcc27),_0x3e3fac['items']['add'](_0x228782);const _0x29c60e=new lt(_0x378914,_0x3a48ba),_0x230899=this['_createOpenRevisionButton'](ot);return _0x230899['delegate']('execute')['to'](_0x3a48ba),_0x29c60e['children']['add'](_0x230899),_0x3e3fac['items']['add'](_0x29c60e),_0x3a48ba['panelView']['children']['add'](_0x3e3fac),_0x3a48ba;}['_createSaveRevisionButton'](_0x4e40af){const _0x4ef283=this['editor'],_0x2b219e=_0x4ef283['plugins']['get']('RevisionTracker'),_0x49b986=new _0x4e40af(_0x4ef283['locale']);return _0x49b986['set']({'label':Qb(_0x4ef283['locale'],'Save\x20current\x20revision')}),_0x49b986['bind']('isEnabled')['to'](_0x2b219e,'isReady',_0x2b219e,'isEnabled',_0x4ef283,'isReadOnly',(_0xb42f36,_0x456917,_0x558141)=>_0xb42f36&&_0x456917&&!_0x558141),this['listenTo'](_0x49b986,'execute',()=>{this['_showDialog']();}),_0x49b986;}['_createOpenRevisionButton'](_0x497121){const _0x3a360c=this['editor'],_0x576de2=_0x3a360c['plugins']['get']('RevisionTracker'),_0x2b2ca4=new _0x497121(_0x3a360c['locale']);return _0x2b2ca4['set']({'label':Qb(_0x3a360c['locale'],'Open\x20revision\x20history')}),_0x2b2ca4['bind']('isEnabled')['to'](_0x576de2,'isReady',_0x3a360c,'isReadOnly',(_0x428f35,_0x36bac2)=>_0x428f35&&!_0x36bac2),this['listenTo'](_0x2b2ca4,'execute',()=>{_0x3a360c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2b2ca4;}['_showDialog'](){const _0x5c7f71=this['editor'],_0x301603=_0x5c7f71['locale'],_0x470e57=_0x5c7f71['plugins']['get']('Dialog'),_0x12206f=_0x5c7f71['plugins']['get']('RevisionTracker');function _0xac7e34(_0x47b352){_0x5c7f71['config']['get']('revisionHistory.requireRevisionName')&&''===_0x47b352['revisionName']?_0x47b352['revisionNameInputView']['errorText']=Qb(_0x301603,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5c7f71['plugins']['get'](RevisionTracker)['saveRevision']({'name':_0x47b352['revisionName']}),_0x470e57['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xac7e34(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x470e57['show']({'id':'revisionSave','title':Qb(_0x301603,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':Qb(_0x5c7f71['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x470e57['hide']()},{'label':Qb(_0x5c7f71['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x46fdce){_0x46fdce['bind']('isEnabled')['to'](_0x12206f,'isReady',_0x12206f,'isEnabled',_0x5c7f71,'isReadOnly',(_0x23a7fe,_0x1883a0,_0x4e07fc)=>_0x23a7fe&&_0x1883a0&&!_0x4e07fc);},'onExecute':()=>_0xac7e34(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x402451=this['editor'],_0x130c6a=_0x402451['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x130c6a,_0x402451['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0x3989d4{['changeId'];['_model'];constructor(_0x3b9719,_0x5f081a){super(_0x3b9719),this['_model']=_0x5f081a,this['changeId']=_0x5f081a['id'];const _0x66a2a7=this['bindTemplate'],_0xf11db=Qb(_0x3b9719,_0x5f081a['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5f081a['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5f081a['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x66a2a7['to']('type',_0x58eb0a=>'ck-revision-change__'+_0x58eb0a)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xf11db}]},{'text':'\x20'+_0x5f081a['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x20f52a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x53e252){super(),this['id']=_0x53e252['id']||_0x5c5c0c(),this['author']=_0x53e252['author'],this['type']=_0x53e252['type'],this['data']=_0x53e252['data']||{},this['rootName']=_0x53e252['rootName'],this['set']('createdAt',_0x53e252['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(_0x5ec884,_0x5074e0){this['newRevisionId']=_0x5ec884,this['oldRevisionId']=_0x5074e0,this['changes']=new _0x4711ed();}['_setChanges'](_0x47d822){for(const _0x548ed5 of _0x47d822)this['changes']['add'](_0x548ed5);}}class RevisionViewer extends _0x13517b{['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(_0xff990d){super(_0xff990d),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',(_0x20c872,_0x562eb7,_0x5ef7c8)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x42bc46=>{for(const _0x4b68c3 of this['editor']['editing']['view']['document']['roots'])_0x5ef7c8?_0x42bc46['removeClass']('ck-editor__editable__overlay',_0x4b68c3):_0x42bc46['addClass']('ck-editor__editable__overlay',_0x4b68c3);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x190782=>null!==_0x190782),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x592b94,_0xdbd582,_0x239ded)=>_0x592b94&&_0x239ded?_0xdbd582['changes']['getIndex'](_0x239ded):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3a5fc1,_0xec462b)=>_0x3a5fc1?_0xec462b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](Dt);}['init'](){const _0x42012b=this['editor'],_0x387c86=new ShowChangeCommand(_0x42012b,{'direction':'backward'}),_0x56c9b8=new ShowChangeCommand(_0x42012b,{'direction':'forward'});(_0x42012b['commands']['add']('showPreviousChange',_0x387c86),_0x42012b['commands']['add']('showNextChange',_0x56c9b8),_0x42012b['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x42012b)),this['on']('change:numberOfChanges',()=>{_0x387c86['refresh'](),_0x56c9b8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x42012b['enableReadOnlyMode']('revision-viewer'),_0x42012b['plugins']['has']('WidgetToolbarRepository'))&&_0x42012b['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x30a77b){return await this['_utils']['loadRevisionData'](_0x30a77b,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x30a77b);}async['getRevisionRootsAttributes'](_0x4319c4){return await this['_utils']['loadRevisionData'](_0x4319c4,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x4319c4);}async['compare'](_0x392f31,_0x463717,_0x157aa7=!0x1){if(!this['isEnabled'])return;const _0x15ddd2=this['diff'],_0x374695=this['repository'],_0x363e56='string'==typeof _0x392f31?_0x374695['getRevision'](_0x392f31):_0x392f31,_0x20c9be='string'==typeof _0x463717?_0x374695['getRevision'](_0x463717):_0x463717,_0x3796c2=_0x363e56['id'],_0x23114d=_0x20c9be?_0x20c9be['id']:null;if(!_0x157aa7&&this['diff']&&this['diff']['newRevisionId']===_0x3796c2&&this['diff']['oldRevisionId']===_0x23114d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new RevisionDiff(_0x3796c2,_0x23114d);const _0x33b373=this['_getRevisionsRange'](_0x363e56,_0x20c9be,!0x0)['map'](_0x259754=>this['_utils']['loadRevisionData'](_0x259754,this['adapter']));return _0x33b373['push'](new Promise(_0x26613a=>{setTimeout(_0x26613a,0x14);})),Promise['all'](_0x33b373)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x37188d=this['_getDiff'](_0x3796c2,_0x23114d);for(const _0x30d6d0 of _0x37188d['changes'])this['_changeIdToChange']['set'](_0x30d6d0['id'],_0x30d6d0);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x54b048=>{for(const _0x4fbc0e of this['editor']['model']['document']['getRootNames']())_0x54b048['detachRoot'](_0x4fbc0e);for(const _0x33a942 of Object['keys'](_0x37188d['model'])){const _0x33843a=_0x54b048['addRoot'](_0x33a942);for(const _0x1091f5 of Object['keys'](_0x37188d['attributes'][_0x33a942]))_0x54b048['setAttribute'](_0x1091f5,_0x37188d['attributes'][_0x33a942][_0x1091f5],_0x33843a);_0x54b048['insert'](_0x37188d['model'][_0x33a942],_0x33843a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x37188d['changes'])),this['isReady']=!0x0;})['catch'](_0x95e9be=>{console['error'](_0x95e9be),this['_cleanUp'](),_0x15ddd2&&(this['diff']=_0x15ddd2),this['isReady']=!0x0;});}['addRevisionData'](_0xbfd505,_0x44c58e){const _0x511932=this['repository']['createRevision'](_0xbfd505);return _0x511932['on']('_update',(_0xe7d47c,_0x5928c7,_0x37e751)=>_0x44c58e(_0x5928c7,_0x37e751,_0x511932)),this['repository']['addRevision'](_0x511932),_0x511932;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x516eaa=>{for(const _0x43c052 of this['editor']['model']['document']['getRootNames']())_0x516eaa['detachRoot'](_0x43c052);});}['_sortAndFilterDiffChanges'](_0x3582b4){const _0x233dc1=[],_0x2499e0=new Map();for(const _0x4683cd of this['editor']['model']['document']['getRootNames']()){const _0x171545=this['editor']['editing']['view']['getDomRoot'](_0x4683cd);if(!_0x171545)continue;const _0x2fa027=_0x171545['getClientRects']()['item'](0x0);_0x2fa027&&(_0x233dc1['push'](_0x4683cd),_0x2499e0['set'](_0x4683cd,_0x2fa027));}return _0x233dc1['sort']((_0x1544fa,_0x28dafa)=>{const _0x56a5fa=_0x2499e0['get'](_0x1544fa),_0x35ea0b=_0x2499e0['get'](_0x28dafa);return _0x56a5fa['y']-_0x35ea0b['y']||_0x56a5fa['x']-_0x35ea0b['x'];}),(_0x3582b4=_0x3582b4['filter'](_0x94fb2=>_0x233dc1['includes'](_0x94fb2['rootName'])))['sort']((_0x312469,_0x5c4d50)=>_0x233dc1['indexOf'](_0x312469['rootName'])-_0x233dc1['indexOf'](_0x5c4d50['rootName'])),_0x3582b4;}['_makeTape'](_0x3cc353){const _0xe8c2ec=Array['from'](_0x3cc353['markers'])['filter'](([_0x15a70d,_0x3e5cfe])=>_0x15a70d['startsWith']('revision:')&&!_0x3e5cfe['isCollapsed']),_0x175227=Array['from'](this['editor']['model']['createRangeIn'](_0x3cc353)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xe8c2ec['length'])for(const _0x1c9055 of _0x175227){const [_0x1498d7,_0x362487]=_0xe8c2ec[0x0],[,_0x16d03a,_0x5782bc]=_0x1498d7['split'](':');if(_0x362487['end']['isEqual'](_0x1c9055['nextPosition'])&&_0xe8c2ec['shift'](),(_0x1c9055['previousPosition']['isEqual'](_0x362487['start'])||_0x1c9055['previousPosition']['isAfter'](_0x362487['start']))&&('insertion'==_0x16d03a?_0x1c9055['isAdded']={'userId':_0x5782bc}:'deletion'==_0x16d03a&&(_0x1c9055['isRemoved']={'userId':_0x5782bc})),0x0==_0xe8c2ec['length'])break;}return _0x175227;}['_refreshStartEndIndex'](_0x116b86){const _0x531a7d=new Map();for(let _0x3dbf94=0x0;_0x3dbf94<_0x116b86['length'];_0x3dbf94++)'text'===_0x116b86[_0x3dbf94]['type']?(_0x116b86[_0x3dbf94]['item']['startIndex']=_0x3dbf94,_0x116b86[_0x3dbf94]['item']['endIndex']=_0x3dbf94):('elementStart'===_0x116b86[_0x3dbf94]['type']?_0x116b86[_0x3dbf94]['item']['startIndex']=_0x3dbf94:'elementEnd'===_0x116b86[_0x3dbf94]['type']&&(_0x116b86[_0x3dbf94]['item']['endIndex']=_0x3dbf94),_0x531a7d['set'](_0x116b86[_0x3dbf94]['id'],_0x3dbf94));for(const _0x3b63d0 of _0x531a7d['values']())'elementStart'===_0x116b86[_0x3b63d0]['type']?_0x116b86[_0x3b63d0]['item']['endIndex']=_0x531a7d['get'](_0x116b86[_0x3b63d0]['pairId']):'elementEnd'===_0x116b86[_0x3b63d0]['type']&&(_0x116b86[_0x3b63d0]['item']['startIndex']=_0x531a7d['get'](_0x116b86[_0x3b63d0]['pairId']));}['_processTape'](_0x491700){for(let _0x15c7db=0x0;_0x15c7db<_0x491700['length'];_0x15c7db++){if('elementStart'===_0x491700[_0x15c7db]['type'])_0x491700[_0x15c7db]['item']['startIndex']=_0x15c7db;else{if('elementEnd'===_0x491700[_0x15c7db]['type']){_0x491700[_0x15c7db]['item']['endIndex']=_0x15c7db;const _0x414eca=_0x491700[_0x15c7db]['item']['startIndex'];_0x491700[_0x414eca]['pairId']=_0x491700[_0x15c7db]['id'],_0x491700[_0x15c7db]['pairId']=_0x491700[_0x414eca]['id'];}else _0x491700[_0x15c7db]['item']['startIndex']=_0x15c7db,_0x491700[_0x15c7db]['item']['endIndex']=_0x15c7db,_0x491700[_0x15c7db]['pairId']=null;}_0x491700[_0x15c7db]['markersStart']||(_0x491700[_0x15c7db]['markersStart']=[],_0x491700[_0x15c7db]['markersEnd']=[]);}}['_markInsertions'](_0x3881b3,_0x30dd47){const _0x278b39=_0x3881b3['filter'](_0x3572e4=>!_0x3572e4['isAdded']);for(let _0x3f6959=0x0;_0x3f6959<_0x30dd47['length'];_0x3f6959++)_0x30dd47[_0x3f6959]['isAdded']&&(_0x278b39[_0x3f6959]['isAdded']=_0x30dd47[_0x3f6959]['isAdded']);}['_getDiff'](_0x3907dc,_0x539254=null){const _0x3c9619=this['repository']['getRevision'](_0x3907dc),_0x20e585=_0x539254?this['repository']['getRevision'](_0x539254):null,_0x11911d=this['_getRevisionsRange'](_0x3c9619,_0x20e585),_0x33736b=_0x11911d[_0x11911d['length']-0x1],_0xc44c7e=new Map(),_0xfe0048={'model':{},'attributes':{},'changes':[]},_0x528401=new Set(),_0x499240=new Map();for(let _0x33e22c=_0x11911d['length']-0x1;_0x33e22c>=0x0;_0x33e22c--){const _0x5af596=_0x11911d[_0x33e22c];for(const _0x296203 of Object['keys'](_0x5af596['diffData']))if(_0x5af596['diffData'][_0x296203]['attachChange']){const _0x3c9a03=_0x5af596['diffData'][_0x296203]['attachChange'];_0x3c9a03['isAttached']?(_0x528401['add'](_0x296203),_0x499240['has'](_0x296203)&&_0x499240['get'](_0x296203)['userId']==_0x3c9a03['userId']?_0x499240['delete'](_0x296203):_0x499240['set'](_0x296203,_0x3c9a03)):_0x499240['has'](_0x296203)?(_0x528401['delete'](_0x296203),_0x499240['delete'](_0x296203)):(_0x528401['add'](_0x296203),_0x499240['set'](_0x296203,_0x3c9a03));}else _0x528401['add'](_0x296203);}for(const _0x2854c5 of _0x528401){const _0x55c6a6=_0x499240['has'](_0x2854c5)&&!_0x499240['get'](_0x2854c5)['isAttached'];let _0x189831=_0x55c6a6?_0x11911d['length']-0x1:0x0;const _0x3acdc1=_0x55c6a6?-0x1:0x1;for(;_0x11911d[_0x189831];){const _0x4df522=_0x11911d[_0x189831];if(_0x4df522['diffData'][_0x2854c5]){const _0x5ef719=_0x55c6a6?_0x4df522['diffData'][_0x2854c5]['attributesBefore']:_0x4df522['diffData'][_0x2854c5]['attributesAfter'];_0xfe0048['attributes'][_0x2854c5]=_0x5ef719?Cr(_0x5ef719):{};break;}_0x189831+=_0x3acdc1;}}for(const _0x47ac7c of _0x11911d){_0x47ac7c['model']={};for(const _0x5a9811 of _0x47ac7c['authors'])_0xc44c7e['set'](_0x5a9811['id'],_0x5a9811);for(const _0x2fa355 of _0x528401){const _0x3db995=_0x47ac7c['diffData'][_0x2fa355]?_0x47ac7c['diffData'][_0x2fa355]['insertions']:'[]',_0x1ed87a=_0x47ac7c['diffData'][_0x2fa355]?_0x47ac7c['diffData'][_0x2fa355]['deletions']:'[]';_0x47ac7c['model'][_0x2fa355]={'insertions':this['_utils']['_makeModelFromViewString'](_0x3db995),'deletions':this['_utils']['_makeModelFromViewString'](_0x1ed87a)};}}for(const _0x31b34f of _0x528401){let _0xd3eef=null,_0x28c818=0x0;const _0x510967=new Map(Array['from'](_0x3c9619['model'][_0x31b34f]['insertions']['markers'])['filter'](([_0x5a81e3])=>!_0x5a81e3['startsWith']('revision:')));let _0x3229c8=0x0;for(const _0x13ef62 of _0x11911d){const _0x44509e=this['_makeTape'](_0x13ef62['model'][_0x31b34f]['insertions']);_0x13ef62==_0x3c9619?(_0xd3eef=_0x44509e,_0x28c818=_0xd3eef['length'],_0xd3eef['forEach'](_0x446050=>{_0x446050['id']=_0x3229c8++;}),this['_processTape'](_0xd3eef)):this['_markInsertions'](_0xd3eef,_0x44509e);const _0x8d2c5b=_0xd3eef['filter'](_0x175325=>!_0x175325['isAdded'])['map'](_0x4cdd68=>_0x4cdd68['id']);let _0x1a7abc=0x0;const _0x3bd52e=this['_makeTape'](_0x13ef62['model'][_0x31b34f]['deletions']);_0x3bd52e['forEach'](_0x2ac97c=>{_0x2ac97c['isRemoved']?_0x2ac97c['id']=_0x28c818++:_0x2ac97c['id']=_0x8d2c5b[_0x1a7abc++];}),this['_processTape'](_0x3bd52e),this['_setDistance'](_0xd3eef,'isAdded'),this['_setDistance'](_0x3bd52e,'isRemoved'),_0x13ef62==_0x3c9619&&this['_markMarkers'](_0xd3eef,_0x510967),_0xd3eef=this['_joinTapes'](_0xd3eef,_0x3bd52e),this['_refreshStartEndIndex'](_0xd3eef),this['_setDistance'](_0xd3eef,'isRemoved');}_0xd3eef=_0xd3eef['filter'](_0x28fefe=>!(_0x28fefe['isAdded']&&_0x28fefe['isRemoved']));const _0x4987fe=new Map(_0x33736b['model'][_0x31b34f]['deletions']['markers']),_0x33ab5e=new Set(_0x510967['keys']());for(const _0x4ba565 of _0x4987fe['keys']())_0x33ab5e['delete'](_0x4ba565);this['_markSuggestions'](_0xd3eef,_0x33ab5e),this['_fixObsoleteTags'](_0xd3eef),_0xd3eef=this['_removeMissingPairs'](_0xd3eef),_0xd3eef=this['_markMismatchedRemovedTags'](_0xd3eef),_0xd3eef=this['_removeUnsupportedChanges'](_0xd3eef);const {root:_0x1d04ea,changes:_0x503558}=this['_makeModelFromTape'](_0xd3eef,_0xc44c7e,_0x31b34f);_0xfe0048['model'][_0x31b34f]=_0x1d04ea;const _0x229634=_0x499240['get'](_0x31b34f);if(_0x229634){const _0x5d7add=_0xc44c7e['get'](_0x229634['userId']),_0xc53fe=new ChangeItem({'author':_0x5d7add,'type':_0x229634['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x31b34f});_0x503558['unshift'](_0xc53fe),_0xfe0048['attributes'][_0x31b34f]['revisionHistoryAttachChange']=_0xc53fe['id'];}_0xfe0048['changes']=_0xfe0048['changes']['concat'](_0x503558);}return _0xfe0048;}['_markMarkers'](_0x4ecc9a,_0x36d5c9){for(let _0x13d4bc=0x0;_0x13d4bc<_0x4ecc9a['length'];_0x13d4bc++)for(const [_0x5ae2b1,_0x1f4f96]of _0x36d5c9)!_0x1f4f96['isCollapsed']&&_0x1f4f96['start']['isEqual'](_0x4ecc9a[_0x13d4bc]['previousPosition'])&&_0x4ecc9a[_0x13d4bc]['markersStart']['push'](_0x5ae2b1),_0x1f4f96['end']['isEqual'](_0x4ecc9a[_0x13d4bc]['nextPosition'])&&_0x4ecc9a[_0x13d4bc]['markersEnd']['push'](_0x5ae2b1);}['_joinTapes'](_0x4582ef,_0x312825){let _0x25d0f8=[],_0x4460d2=0x0,_0x257761=0x0;for(;_0x4460d2<_0x4582ef['length']||_0x257761<_0x312825['length'];){const _0x4c1110=_0x4582ef[_0x4460d2]||{},_0x166218=_0x312825[_0x257761]||{};if(_0x4c1110['id']==_0x166218['id'])_0x4460d2++,_0x257761++,_0x25d0f8['push'](_0x4c1110);else{if(_0x166218['isRemoved']&&_0x4c1110['isAdded']){const {commonTape:_0x4e4bfa,iEnd:_0x5fb752,jEnd:_0x140b8e}=this['_threeWayMerge'](_0x4582ef,_0x4460d2,_0x312825,_0x257761);_0x25d0f8=_0x25d0f8['concat'](_0x4e4bfa),_0x4460d2=_0x5fb752,_0x257761=_0x140b8e;}else _0x166218['isRemoved']?(_0x257761++,_0x25d0f8['push'](_0x166218)):(_0x4460d2++,_0x25d0f8['push'](_0x4c1110));}}return _0x25d0f8;}['_markSuggestions'](_0x19c248,_0x5c48d5){const _0x57dbf8=[];for(let _0x50d689=0x0;_0x50d689<_0x19c248['length'];_0x50d689++){for(let _0x5894e5=0x0;_0x5894e5<_0x19c248[_0x50d689]['markersStart']['length'];_0x5894e5++){const _0x2b9ccb=_0x19c248[_0x50d689]['markersStart'][_0x5894e5];if(!_0x5c48d5['has'](_0x2b9ccb))continue;const {group:_0x454ddd,type:_0x273ca9,authorId:_0x5954b5}=_0x6a4fcd(_0x2b9ccb);'revision-suggestion'!=_0x454ddd||'insertion'!=_0x273ca9&&'deletion'!=_0x273ca9||(_0x57dbf8['unshift']({'type':_0x273ca9,'name':_0x2b9ccb,'userId':_0x5954b5}),_0x19c248[_0x50d689]['markersStart']['splice'](_0x5894e5,0x1),_0x5894e5--);}_0x6aad10(_0x19c248[_0x50d689]);for(let _0x4b6c45=0x0;_0x4b6c45<_0x19c248[_0x50d689]['markersEnd']['length'];_0x4b6c45++){const _0x50d594=_0x19c248[_0x50d689]['markersEnd'][_0x4b6c45];if(!_0x5c48d5['has'](_0x50d594))continue;const {group:_0x4483e8,type:_0xf5c618}=_0x6a4fcd(_0x50d594);if('revision-suggestion'!=_0x4483e8||'insertion'!=_0xf5c618&&'deletion'!=_0xf5c618)continue;_0x19c248[_0x50d689]['markersEnd']['splice'](_0x4b6c45,0x1),_0x4b6c45--;const _0x5da370=_0x57dbf8['findIndex'](_0x136fb0=>_0x136fb0['name']==_0x50d594);_0x5da370>-0x1&&_0x57dbf8['splice'](_0x5da370,0x1);}}function _0x6a4fcd(_0x4ef39d){const _0x377916=_0x4ef39d['split'](':');return{'group':_0x377916[0x0],'type':_0x377916[0x1],'subType':_0x377916['length']>=0x5?_0x377916[0x2]:null,'id':_0x377916['length']<0x5?_0x377916[0x2]:_0x377916[0x3],'authorId':_0x377916['length']<0x5?_0x377916[0x3]:_0x377916[0x4],'markerCount':0x6==_0x377916['length']?_0x377916[0x5]:null};}function _0x6aad10(_0x2b72df){for(let _0x391723=0x0;_0x391723<_0x57dbf8['length'];_0x391723++){if(_0x2b72df['isAdded']&&'insertion'==_0x57dbf8[_0x391723]['type']&&_0x2b72df['isAdded']['userId']==_0x57dbf8[_0x391723]['userId'])return _0x2b72df['isAddSuggestion']=_0x57dbf8[_0x391723],void delete _0x2b72df['isAdded'];if(!_0x2b72df['isAdded']&&!_0x2b72df['isRemoved']&&'deletion'==_0x57dbf8[_0x391723]['type'])return void(_0x2b72df['isRemoveSuggestion']=_0x57dbf8[_0x391723]);}}}['_setDistance'](_0x215807,_0x463afd){let _0x2f3411=0x0,_0x415bdc=!0x1;const _0x3a5877=new Map();for(const _0x46ae4e of _0x215807)_0x46ae4e[_0x463afd]?_0x415bdc&&(_0x2f3411++,_0x415bdc=!0x1):(_0x2f3411++,_0x415bdc=!0x0),_0x3a5877['set'](_0x46ae4e['id'],_0x2f3411);for(let _0x4b47c7=0x0;_0x4b47c7<_0x215807['length'];_0x4b47c7++){if('isRemoved'==_0x463afd&&_0x215807[_0x4b47c7]['isAdded']||'isAdded'==_0x463afd&&_0x215807[_0x4b47c7]['isRemoved'])continue;if('text'==_0x215807[_0x4b47c7]['type']){_0x215807[_0x4b47c7]['distance']=0x0;continue;}const _0xe0d36b=_0x3a5877['get'](_0x215807[_0x4b47c7]['pairId']),_0x1e3114=_0x3a5877['get'](_0x215807[_0x4b47c7]['id']);_0x215807[_0x4b47c7]['distance']=_0xe0d36b-_0x1e3114;}}['_getRevisionsRange'](_0x37043b,_0x25d81c,_0x5b9283=!0x1){const _0x70cc9e=[];let _0x125b3f=this['repository']['getIndex'](_0x37043b),_0x162c53=this['repository']['getIndex'](_0x25d81c);for(-0x1==_0x162c53&&(_0x162c53=this['repository']['_revisions']['length'],_0x5b9283=!0x1);_0x125b3f<_0x162c53;)_0x70cc9e['push'](this['repository']['getRevision'](_0x125b3f)),_0x125b3f++;return _0x5b9283&&_0x70cc9e['push'](this['repository']['getRevision'](_0x125b3f)),_0x70cc9e;}['_threeWayMerge'](_0x111cc5,_0x40881,_0x297a73,_0x5d9154){const _0xc13716=this['editor']['model']['schema'];let _0x50e9d5=_0x40881;for(;_0x111cc5[_0x50e9d5]&&_0x111cc5[_0x50e9d5]['isAdded'];)_0x50e9d5++;let _0x3ba787=_0x5d9154;for(;_0x297a73[_0x3ba787]&&_0x297a73[_0x3ba787]['isRemoved'];)_0x3ba787++;_0x7a4f56(_0x111cc5,_0x40881,_0x50e9d5),_0x7a4f56(_0x297a73,_0x5d9154,_0x3ba787);const _0x59ddc7=_0x297a73['slice'](_0x5d9154,_0x3ba787)['concat'](_0x111cc5['slice'](_0x40881,_0x50e9d5));return _0x59ddc7['sort']((_0x415aa5,_0x5f17c3)=>_0x415aa5['side']!=_0x5f17c3['side']?_0x415aa5['side']-_0x5f17c3['side']:_0x415aa5['level']!=_0x5f17c3['level']?_0x415aa5['level']-_0x5f17c3['level']:_0x415aa5['distance']!=_0x5f17c3['distance']?_0x5f17c3['distance']-_0x415aa5['distance']:!!_0x415aa5['isAdded']!=!!_0x5f17c3['isAdded']?-0x1==_0x415aa5['side']||0x0==_0x415aa5['side']?_0x415aa5['isAdded']?-0x1:0x1:_0x415aa5['isAdded']?0x1:-0x1:_0x415aa5['index']-_0x5f17c3['index']),{'commonTape':_0x59ddc7,'iEnd':_0x50e9d5,'jEnd':_0x3ba787};function _0x7a4f56(_0x51c88b,_0x4f312d,_0x4f93ce){let _0x40b8db=-0x1,_0x294d69=Number['POSITIVE_INFINITY'],_0x4772a3=!0x0;for(let _0xb84b8f=_0x4f312d;_0xb84b8f<_0x4f93ce;_0xb84b8f++)if(_0xc13716['isInline'](_0x51c88b[_0xb84b8f]['item'])||(_0x4772a3=!0x1),_0x51c88b[_0xb84b8f]['item']['startIndex']<_0x4f312d&&(_0x40b8db=_0xb84b8f),_0x51c88b[_0xb84b8f]['item']['endIndex']>=_0x4f93ce){_0x294d69=_0xb84b8f;break;}_0x4772a3&&(_0x40b8db=_0x4f93ce-0x1);for(let _0x35a7ab=_0x4f312d;_0x35a7ab<_0x4f93ce;_0x35a7ab++)_0x51c88b[_0x35a7ab]['side']=_0x35a7ab<=_0x40b8db?-0x1:_0x35a7ab<_0x294d69?0x0:0x1,_0x51c88b[_0x35a7ab]['index']=_0x35a7ab;let _0x2ee40d=0x0;for(let _0x197822=_0x4f312d;_0x197822<=_0x40b8db;_0x197822++)0x0==_0x51c88b[_0x197822]['distance']?_0x51c88b[_0x197822]['level']=_0x2ee40d:(_0x2ee40d++,_0x51c88b[_0x197822]['level']=_0x2ee40d,_0x2ee40d++);for(let _0x3cb16b=_0x4f312d;_0x3cb16b<_0x4f93ce;_0x3cb16b++)0x0==_0x51c88b[_0x3cb16b]['side']&&(_0x51c88b[_0x3cb16b]['level']=_0x2ee40d);_0x2ee40d=0x0;for(let _0x131266=_0x4f93ce-0x1;_0x131266>=_0x294d69;_0x131266--)0x0==_0x51c88b[_0x131266]['distance']?_0x51c88b[_0x131266]['level']=_0x2ee40d:(_0x2ee40d--,_0x51c88b[_0x131266]['level']=_0x2ee40d,_0x2ee40d--);}}['_fixObsoleteTags'](_0x22e98a){const _0x23dc75=new Map(),_0x22b4de=this['editor']['model']['schema'];for(let _0x16cc8c=0x1;_0x16cc8c<_0x22e98a['length'];_0x16cc8c++){let _0x1e77b1,_0x16cf95,_0x82e7b0;const _0x54e87d=_0x22e98a[_0x16cc8c],_0x2dbad7=_0x22e98a[_0x16cc8c-0x1];if('text'==_0x54e87d['type'])continue;if(_0x54e87d['type']!=_0x2dbad7['type'])continue;if(!_0x22b4de['isBlock'](_0x2dbad7['item'])||_0x22b4de['isLimit'](_0x2dbad7['item']))continue;if(!_0x22b4de['isBlock'](_0x54e87d['item'])||_0x22b4de['isLimit'](_0x54e87d['item']))continue;if((_0x22e98a[_0x16cc8c]['isAdded']||_0x22e98a[_0x16cc8c]['isAddSuggestion'])&&_0x22e98a[_0x16cc8c-0x1]['isRemoved'])_0x1e77b1=_0x22e98a[_0x16cc8c],_0x16cf95=_0x22e98a[_0x16cc8c-0x1],_0x82e7b0=_0x16cc8c-0x1;else{if(!_0x22e98a[_0x16cc8c]['isRemoved']||!_0x22e98a[_0x16cc8c-0x1]['isAdded']&&!_0x22e98a[_0x16cc8c-0x1]['isAddSuggestion'])continue;_0x1e77b1=_0x22e98a[_0x16cc8c-0x1],_0x16cf95=_0x22e98a[_0x16cc8c],_0x82e7b0=_0x16cc8c;}const _0x1d64c2=_0x1e77b1['level']==_0x16cf95['level'],_0x5c2ed8=Math['abs'](_0x1e77b1['level'])<Math['abs'](_0x16cf95['level'])&&0x0==_0x16cf95['distance'];(_0x1d64c2||_0x5c2ed8)&&(_0x23dc75['set'](_0x16cf95['id'],_0x1e77b1['id']),_0x22e98a['splice'](_0x82e7b0,0x1),_0x16cc8c--,_0x1e77b1['isAdded']=!0x1);}for(let _0x2e1b52=0x0;_0x2e1b52<_0x22e98a['length'];_0x2e1b52++)_0x23dc75['has'](_0x22e98a[_0x2e1b52]['pairId'])&&(_0x22e98a[_0x2e1b52]['pairId']=_0x23dc75['get'](_0x22e98a[_0x2e1b52]['pairId']));}['_removeMissingPairs'](_0x15069b){const _0x21ee03=new Set(_0x15069b['map'](_0xcd4c5f=>_0xcd4c5f['id']));for(let _0xa7e4d5=0x0;_0xa7e4d5<_0x15069b['length'];_0xa7e4d5++)_0x21ee03['has'](_0x15069b[_0xa7e4d5]['pairId'])||0x0==_0x15069b[_0xa7e4d5]['distance']||(_0x15069b[_0xa7e4d5]['isIncorrect']=!0x0);return _0x15069b['filter'](_0x72f514=>!_0x72f514['isIncorrect']);}['_markMismatchedRemovedTags'](_0x71f0ed){const _0x2c35b9=new Set();for(let _0x1bfad6=0x0;_0x1bfad6<_0x71f0ed['length'];_0x1bfad6++){if(_0x2c35b9['has'](_0x71f0ed[_0x1bfad6]['id'])&&_0x71f0ed[_0x1bfad6]['isRemoved']&&(_0x71f0ed[_0x1bfad6]['isIncorrect']=!0x0),_0x71f0ed[_0x1bfad6]['isIncorrect'])continue;if(0x0==_0x71f0ed[_0x1bfad6]['distance'])continue;if('elementStart'!=_0x71f0ed[_0x1bfad6]['type'])continue;if(null==_0x71f0ed[_0x1bfad6]['pairId'])continue;let _0x230111=_0x1bfad6+0x1,_0x2e4deb=0x0;for(;_0x71f0ed[_0x230111]['id']!=_0x71f0ed[_0x1bfad6]['pairId'];)'elementStart'==_0x71f0ed[_0x230111]['type']?_0x2e4deb++:'elementEnd'==_0x71f0ed[_0x230111]['type']&&_0x2e4deb--,_0x230111++;if(0x0!=_0x2e4deb){if(_0x71f0ed[_0x1bfad6]['isRemoved'])_0x71f0ed[_0x1bfad6]['isIncorrect']=!0x0;else{for(;_0x230111!=_0x1bfad6;)_0x71f0ed[_0x230111]['isRemoved']&&0x0!=_0x71f0ed[_0x230111]['distance']&&(_0x71f0ed[_0x230111]['isIncorrect']=!0x0,_0x2c35b9['add'](_0x71f0ed[_0x230111]['pairId'])),_0x230111--;}}}return _0x71f0ed['filter'](_0x47985a=>!_0x47985a['isIncorrect']);}['_removeUnsupportedChanges'](_0x5060ec){const _0x34d53c=this['editor']['model']['schema'];for(let _0x429556=0x0;_0x429556<_0x5060ec['length'];_0x429556++){if(!(_0x5060ec[_0x429556]['isAdded']||_0x5060ec[_0x429556]['isAddSuggestion']||_0x5060ec[_0x429556]['isRemoved']||_0x5060ec[_0x429556]['isRemoveSuggestion']))continue;if(0x0==_0x5060ec[_0x429556]['distance'])continue;const _0x198fb2=_0x5060ec[_0x429556]['item'];_0x34d53c['isBlock'](_0x198fb2)||_0x34d53c['isLimit'](_0x198fb2)||(_0x5060ec[_0x429556]['isAdded']&&delete _0x5060ec[_0x429556]['isAdded'],_0x5060ec[_0x429556]['isAddSuggestion']&&delete _0x5060ec[_0x429556]['isAddSuggestion'],_0x5060ec[_0x429556]['isRemoveSuggestion']&&delete _0x5060ec[_0x429556]['isRemoveSuggestion'],_0x5060ec[_0x429556]['isRemoved']&&(_0x5060ec[_0x429556]['isIncorrect']=!0x0));}return _0x5060ec['filter'](_0x4e0d4f=>!_0x4e0d4f['isIncorrect']);}['_makeModelFromTape'](_0x38cfc3,_0x2cb7cd,_0x3fbfb3){const _0x1b297f=new _0x507bef(),_0x36d9be=[],_0x2cbc37=new Map(),_0x19f807=this['editor']['model'],_0x19684c=_0x19f807['schema'],_0x446435=[_0x1b297f],_0x19b946={},_0x556ab5={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2ecf13=null;const _0x542e6e=[0x0];for(let _0x2e7f49=0x0;_0x2e7f49<_0x38cfc3['length'];_0x2e7f49++)if('elementStart'===_0x38cfc3[_0x2e7f49]['type']){_0x38cfc3[_0x2e7f49]['previousPosition']=_0x19f807['createPositionFromPath'](_0x1b297f,_0x542e6e);const _0x74582a=new _0x23e369(_0x38cfc3[_0x2e7f49]['item']['name'],_0x38cfc3[_0x2e7f49]['item']['getAttributes']());_0x446435[0x0]['_appendChild'](_0x74582a),_0x542e6e['push'](0x0),_0x446435['unshift'](_0x74582a),_0x38cfc3[_0x2e7f49]['nextPosition']=_0x19f807['createPositionFromPath'](_0x1b297f,_0x542e6e);}else'elementEnd'===_0x38cfc3[_0x2e7f49]['type']?(_0x446435['shift'](),_0x38cfc3[_0x2e7f49]['previousPosition']=_0x19f807['createPositionFromPath'](_0x1b297f,_0x542e6e),_0x542e6e['pop'](),_0x542e6e[_0x542e6e['length']-0x1]++,_0x38cfc3[_0x2e7f49]['nextPosition']=_0x19f807['createPositionFromPath'](_0x1b297f,_0x542e6e)):(_0x38cfc3[_0x2e7f49]['previousPosition']=_0x19f807['createPositionFromPath'](_0x1b297f,_0x542e6e),_0x2ecf13?_0x2ecf13['_data']+=_0x38cfc3[_0x2e7f49]['item']['data']:_0x2ecf13=new _0x57414b(_0x38cfc3[_0x2e7f49]['item']['data'],_0x38cfc3[_0x2e7f49]['item']['getAttributes']()),_0x38cfc3[_0x2e7f49+0x1]&&'text'===_0x38cfc3[_0x2e7f49+0x1]['type']&&_0x513908(_0x2ecf13,_0x38cfc3[_0x2e7f49+0x1]['item'])||(_0x446435[0x0]['_appendChild'](_0x2ecf13),_0x2ecf13=null),_0x542e6e[_0x542e6e['length']-0x1]+=_0x38cfc3[_0x2e7f49]['item']['offsetSize'],_0x38cfc3[_0x2e7f49]['nextPosition']=_0x19f807['createPositionFromPath'](_0x1b297f,_0x542e6e));for(let _0x574953=0x0;_0x574953<_0x38cfc3['length'];_0x574953++){const _0x225969=_0x38cfc3[_0x574953]['previousPosition'],_0x17ff8b=_0x38cfc3[_0x574953]['nextPosition'];for(const _0x56b23e of _0x38cfc3[_0x574953]['markersStart'])_0x2cbc37['set'](_0x56b23e,{'start':_0x225969,'end':null});_0x29f80f('isRemoveSuggestion',_0x574953,_0x225969,_0x17ff8b),_0x29f80f('isAddSuggestion',_0x574953,_0x225969,_0x17ff8b),_0x29f80f('isRemoved',_0x574953,_0x225969,_0x17ff8b),_0x29f80f('isAdded',_0x574953,_0x225969,_0x17ff8b);for(const _0x4511f5 of _0x38cfc3[_0x574953]['markersEnd']){const _0x16eb8c=_0x2cbc37['get'](_0x4511f5);_0x16eb8c?_0x16eb8c['end']=_0x17ff8b:_0x2cbc37['set'](_0x4511f5,{'start':_0x17ff8b,'end':_0x17ff8b});}}for(const [_0x4d09b1,_0x59ad90]of _0x2cbc37){const _0x321325=this['editor']['model']['createRange'](_0x59ad90['start'],_0x59ad90['end']);_0x1b297f['markers']['set'](_0x4d09b1,_0x321325);}return _0x36d9be['sort']((_0x183a3e,_0x4342c7)=>{const _0x30ac4b=_0x1b297f['markers']['get']('revision:'+_0x183a3e['id']),_0x39efba=_0x1b297f['markers']['get']('revision:'+_0x4342c7['id']);return _0x30ac4b['start']['isBefore'](_0x39efba['start'])?-0x1:_0x30ac4b['start']['isAfter'](_0x39efba['start'])?0x1:_0x30ac4b['end']['isBefore'](_0x39efba['end'])?-0x1:_0x30ac4b['end']['isAfter'](_0x39efba['end'])?0x1:'add'===_0x183a3e['type']?-0x1:0x1;}),{'root':_0x1b297f,'changes':_0x36d9be};function _0x29f80f(_0x424bfa,_0x2fbf1d,_0x1e320d,_0x48e1ad){const _0x10fe20=!!_0x38cfc3[_0x2fbf1d][_0x424bfa],_0x5b1bc7=_0x10fe20?_0x38cfc3[_0x2fbf1d][_0x424bfa]['userId']:null,_0x1597e5=_0x2fbf1d===_0x38cfc3['length']-0x1,_0x5a0922=_0x556ab5[_0x424bfa][0x0],_0x2bca16=_0x19684c['isObject'](_0x38cfc3[_0x2fbf1d]['item']);!_0x19b946[_0x424bfa]&&_0x10fe20?_0x19b946[_0x424bfa]={'start':_0x1e320d,'tapeItem':_0x38cfc3[_0x2fbf1d],'userId':_0x5b1bc7,'type':_0x424bfa}:_0x19b946[_0x424bfa]&&!_0x10fe20?(_0x19b946[_0x424bfa]['end']=_0x1e320d,_0x20af03(_0x19b946[_0x424bfa]),_0x19b946[_0x424bfa]=null):_0x19b946[_0x424bfa]&&_0x10fe20&&_0x19b946[_0x424bfa]['userId']!==_0x5b1bc7&&(_0x19b946[_0x424bfa]['end']=_0x1e320d,_0x5a0922&&_0x5a0922['userId']===_0x19b946[_0x424bfa]['userId']||_0x20af03(_0x19b946[_0x424bfa]),_0x19b946[_0x424bfa]={'start':_0x1e320d,'tapeItem':_0x38cfc3[_0x2fbf1d],'userId':_0x5b1bc7,'type':_0x424bfa}),_0x19b946[_0x424bfa]&&_0x2bca16&&('elementStart'!==_0x38cfc3[_0x2fbf1d]['type']||_0x5a0922&&_0x5a0922['userId']===_0x5b1bc7||_0x556ab5[_0x424bfa]['unshift']({'userId':_0x5b1bc7,'object':_0x38cfc3[_0x2fbf1d]['item'],'change':_0x19b946[_0x424bfa]}),'elementEnd'===_0x38cfc3[_0x2fbf1d]['type']&&_0x5a0922&&_0x5a0922['object']===_0x38cfc3[_0x2fbf1d]['item']&&(_0x556ab5[_0x424bfa]['shift'](),_0x19b946[_0x424bfa]=_0x5a0922['change'])),_0x19b946[_0x424bfa]&&_0x1597e5&&(_0x19b946[_0x424bfa]['end']=_0x48e1ad,_0x20af03(_0x19b946[_0x424bfa]),_0x19b946[_0x424bfa]=null);}function _0x20af03({start:_0x3dde03,end:_0x2704d9,tapeItem:_0x1a789b,userId:_0x134a57,type:_0x7823db}){const _0x4f331f=_0x1a789b['item'],_0x59be08=_0x19f807['schema']['isBlock'](_0x4f331f)&&!_0x19f807['schema']['isLimit'](_0x4f331f),_0x4a5082=_0x3dde03['nodeAfter']==_0x2704d9['parent']&&_0x2704d9['isAtStart'];if(_0x59be08&&_0x4a5082)return;const _0x5ef7e4=_0x19f807['createRange'](_0x3dde03,_0x2704d9),_0x4a757e=_0x2cb7cd['get'](_0x134a57),_0x5ae5e3=new ChangeItem({'author':_0x4a757e,'type':'isAdded'==_0x7823db||'isAddSuggestion'==_0x7823db?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x7823db||'isRemoveSuggestion'==_0x7823db},'createdAt':new Date(),'rootName':_0x3fbfb3});_0x36d9be['push'](_0x5ae5e3),_0x1b297f['markers']['set']('revision:'+_0x5ae5e3['id'],_0x5ef7e4);}function _0x513908(_0x8ca9d8,_0x5798c5){const _0x4de2f9=_0x8ca9d8['getAttributes'](),_0x120d79=_0x5798c5['getAttributes']();for(const _0x409f21 of _0x4de2f9){if(_0x409f21[0x1]!==_0x5798c5['getAttribute'](_0x409f21[0x0]))return!0x1;_0x120d79['next']();}return _0x120d79['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xdea3ca=>{const _0x3bbbe0=_0xdea3ca['markerName']['split'](':')[0x1],_0xb981ee=this['_getChangeFromId'](_0x3bbbe0);if(!_0xb981ee)return null;const _0x2e2e07='add'==_0xb981ee['type']?'insertion':'deletion',_0x1b782d=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2e2e07];return _0xb981ee['data']['isSuggestion']&&_0x1b782d['push']('ck-suggestion-marker-'+_0x2e2e07+'-new'),this['activeChange']==_0xb981ee&&_0x1b782d['push']('ck-suggestion-marker--active'),{'classes':_0x1b782d,'attributes':{'data-change-id':_0x3bbbe0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5a6b6a=>{_0x5a6b6a['on']('element:pre',(_0x1b6d81,_0x4156e2,_0x3a951c)=>{const _0xcc38a9=_0x4156e2['viewItem']['getChild'](0x0);if(!_0xcc38a9||!_0xcc38a9['is']('element','code'))return;if(!_0x3a951c['consumable']['consume'](_0xcc38a9,{'attributes':['vid_start','vid_end']}))return;const _0x26f960=_0x4156e2['modelRange']['start']['nodeAfter'];_0x3a951c['writer']['setAttribute']('vid_start',_0xcc38a9['getAttribute']('vid_start'),_0x26f960),_0x3a951c['writer']['setAttribute']('vid_end',_0xcc38a9['getAttribute']('vid_end'),_0x26f960);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x358710=>{_0x358710['on']('element',(_0x40836f,_0x323b4d,_0x230e6)=>{if(!_0x230e6['consumable']['consume'](_0x323b4d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x323b4d['modelRange']['isCollapsed'])return;const _0x2e45af=_0x323b4d['modelRange']['start']['nodeAfter'];_0x2e45af['hasAttribute']('vid_start')||_0x2e45af['hasAttribute']('vid')||(_0x230e6['writer']['setAttribute']('vid_start',_0x323b4d['viewItem']['getAttribute']('vid_start'),_0x2e45af),_0x230e6['writer']['setAttribute']('vid_end',_0x323b4d['viewItem']['getAttribute']('vid_end'),_0x2e45af));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3b65ab=>_0x3b65ab['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2c1a1d,[,_0x150f48])=>{['vid_start','vid_end','vid']['includes'](_0x150f48)&&(_0x2c1a1d['return']=!0x0,_0x2c1a1d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x42e0f0=>{_0x42e0f0['on']('attribute:vid',(_0x13d808,_0x418a38,_0x285e85)=>{if('\x20'!=_0x418a38['item']['data']||_0x418a38['item']['parent']['maxOffset']>0x1)return;if(!_0x285e85['consumable']['consume'](_0x418a38['item'],_0x13d808['name']))return;const _0x52f7fc=_0x285e85['writer'],_0x5e6eb3=_0x285e85['mapper']['toViewRange'](_0x418a38['range']);_0x52f7fc['wrap'](_0x5e6eb3,_0x52f7fc['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x299f78){const _0x32c0a4=_0x299f78['plugins']['get']('RevisionViewer');return(_0x381694,_0xc30019,_0x51c151)=>{const _0xbc3b97=_0xc30019['markerName']['split'](':')[0x1],_0x1d9bbf=_0x32c0a4['_getChangeFromId'](_0xbc3b97);if(!_0x1d9bbf)return null;const _0x3a4563='add'==_0x1d9bbf['type']?'split':'merge';if(!_0x51c151['consumable']['test'](_0xc30019['markerRange'],_0x381694['name']))return;const _0x37fc82=_0xc30019['markerRange']['getWalker'](),_0x11dfe8=_0xc30019['markerRange']['start'],_0x334c7c=_0x299f78['model']['schema'];let _0xd515df=null,_0x4f26c2=null,_0x1308cd=!0x1,_0x1e3a6c=!0x1;for(const _0x225409 of _0x37fc82){const _0x2d7bb1=_0x225409['item'];_0x1308cd=_0x1308cd||_0x334c7c['isContent'](_0x2d7bb1);const _0x25bb0a=_0x51c151['mapper']['toViewElement'](_0x2d7bb1);if(_0x25bb0a&&_0x25bb0a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x225409['type']&&(_0x334c7c['isBlock'](_0x2d7bb1)&&!_0x334c7c['isLimit'](_0x2d7bb1)&&(_0x2d7bb1['nextSibling']||_0x11dfe8['isAtEnd']?_0xd515df&&_0xd515df['parent']==_0x2d7bb1||(_0xd515df=_0x2d7bb1,_0x28b29b(_0x225409['previousPosition']),_0x1e3a6c=!0x0):_0x4f26c2=_0x4f26c2||_0x225409['previousPosition']));}function _0x28b29b(_0x489313){const _0x332c8e=_0x51c151['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a4563}),_0x23d328=_0x51c151['mapper']['toViewPosition'](_0x489313);_0x1d9bbf['data']['isSuggestion']&&_0x51c151['writer']['addClass']('ck-suggestion-marker-'+_0x3a4563+'-new',_0x332c8e),_0x32c0a4['activeChange']==_0x1d9bbf&&_0x51c151['writer']['addClass']('ck-suggestion-marker--active',_0x332c8e),_0x51c151['writer']['insert'](_0x23d328,_0x332c8e),_0x51c151['mapper']['bindElementToMarker'](_0x332c8e,_0xc30019['markerName']);}_0x1308cd||_0x1e3a6c||!_0x4f26c2||_0x28b29b(_0x4f26c2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x480f31,_0x423411,_0x1661e2)=>{const _0x1fe379=_0x1661e2['mapper']['markerNameToElements'](_0x423411['markerName']);if(_0x1fe379){for(const _0x232ddf of _0x1fe379)(_0x232ddf['hasClass']('ck-suggestion-marker-split')||_0x232ddf['hasClass']('ck-suggestion-marker-merge'))&&(_0x1661e2['mapper']['unbindElementFromMarkerName'](_0x232ddf,_0x423411['markerName']),_0x1661e2['writer']['remove'](_0x232ddf));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4a8f87,_0x5319f3,_0x157078)=>{const _0x23c55b=_0x5319f3['markerName']['split'](':')[0x1],_0x1362a9=this['_getChangeFromId'](_0x23c55b);if(!_0x1362a9)return null;const _0x34f905='add'==_0x1362a9['type']?'split':'merge';if(_0x157078['consumable']['test'](_0x5319f3['markerRange'],_0x4a8f87['name']))for(const _0x4050b5 of _0x5319f3['markerRange']['getItems']()){if(!_0x4050b5['is']('element','softBreak'))continue;const _0x33fc2f=_0x157078['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x34f905}),_0x5e9b9f=_0x157078['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4050b5));_0x1362a9['data']['isSuggestion']&&_0x157078['writer']['addClass']('ck-suggestion-marker-'+_0x34f905+'-new',_0x33fc2f),this['activeChange']==_0x1362a9&&_0x157078['writer']['addClass']('ck-suggestion-marker--active',_0x33fc2f),_0x157078['writer']['insert'](_0x5e9b9f,_0x33fc2f),_0x157078['mapper']['bindElementToMarker'](_0x33fc2f,_0x5319f3['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2b78ed=>{for(const _0x3a84f5 of this['editor']['model']['document']['getRootNames']()){const _0x4ffd41=this['editor']['model']['document']['getRoot'](_0x3a84f5),_0x2feea3=this['editor']['editing']['view']['document']['getRoot'](_0x3a84f5);if(_0x2feea3){const _0x2eab0b=_0x4ffd41['getAttribute']('revisionHistoryAttachChange');if(_0x2b78ed['removeAttribute']('data-change-id',_0x2feea3),_0x2b78ed['removeClass']('ck-revision-history-root-add',_0x2feea3),_0x2b78ed['removeClass']('ck-revision-history-root-remove',_0x2feea3),_0x2b78ed['removeClass']('ck-revision-history-root--active',_0x2feea3),_0x2eab0b){const _0x433102=this['_getChangeFromId'](_0x2eab0b);if(!_0x433102)return null;_0x2b78ed['setAttribute']('data-change-id',_0x2eab0b,_0x2feea3),_0x2b78ed['addClass']('ck-revision-history-root-'+_0x433102['type'],_0x2feea3),this['activeChange']==_0x433102&&_0x2b78ed['addClass']('ck-revision-history-root--active',_0x2feea3);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5679ea=>'revision-comment:'+_0x5679ea,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x574480=>'revision-suggestion:'+_0x574480,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xad2905=>({'name':'suggestion:'+_0xad2905,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x12a3ca=>{const _0x383018=_0x12a3ca['markerName']['split'](':')[0x1];return'insertion'!=_0x383018&&'deletion'!=_0x383018?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x383018]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',Fb(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',Fb(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x4b4bc7,_0x2120d6,_0xf14015)=>{const _0x2453cd=_0xf14015['mapper']['markerNameToElements'](_0x2120d6['markerName']);if(_0x2453cd){for(const _0x4785d3 of _0x2453cd)_0x4785d3['is']('uiElement')&&(_0xf14015['mapper']['unbindElementFromMarkerName'](_0x4785d3,_0x2120d6['markerName']),_0xf14015['writer']['remove'](_0x4785d3));}},{'priority':'high'});}['_getChangeFromId'](_0xaafda4){return this['_changeIdToChange']['get'](_0xaafda4);}['_getViewForChange'](_0x184b7c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x184b7c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x465963,_0x5eeebb,_0x1148aa,_0x4d9eb7)=>{_0x4d9eb7&&this['_balloon']['remove'](_0x4d9eb7),_0x1148aa&&(this['_balloon']['add']({'view':_0x1148aa,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2a4c41=this['editor']['editing'],_0x29171d=this['_getChangeFromId'](_0x1148aa['changeId']);let _0x433971;if(_0x29171d['data']['isOnRoot']){const _0x1b0aa2=_0x2a4c41['view']['getDomRoot'](_0x29171d['rootName']);_0x433971=Array['from'](_0x1b0aa2['getClientRects']());}else{const _0xbd88da=this['editor']['model']['markers']['get']('revision:'+_0x1148aa['changeId']);_0x433971=Array['from'](_0x2a4c41['mapper']['markerNameToElements'](_0xbd88da['name']))['map'](_0x1472ef=>_0x2a4c41['view']['domConverter']['mapViewToDom'](_0x1472ef))['map'](_0x374c92=>Array['from'](_0x374c92['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x433971[0x0];return _0x433971['find'](_0x228362=>_0x228362['top']-0x3<=this['_activeViewTarget']['y']&&_0x228362['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x228362['left']-0x3<=this['_activeViewTarget']['x']&&_0x228362['right']+0x3>=this['_activeViewTarget']['x'])||_0x433971[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x350112,_0x38463f,_0x38cb09,_0x7c7723)=>{this['activeView']=_0x38cb09?this['_getViewForChange'](_0x38cb09):null,this['editor']['model']['change'](()=>{const _0x55ce54=this['editor']['editing'];_0x7c7723&&(_0x7c7723['data']['isOnRoot']?_0x55ce54['view']['change'](_0x8469fd=>{_0x8469fd['removeClass']('ck-revision-history-root--active',_0x55ce54['view']['document']['getRoot'](_0x7c7723['rootName']));}):_0x55ce54['reconvertMarker']('revision:'+_0x7c7723['id'])),_0x38cb09&&(_0x38cb09['data']['isOnRoot']?_0x55ce54['view']['change'](_0x3670d6=>{_0x3670d6['addClass']('ck-revision-history-root--active',_0x55ce54['view']['document']['getRoot'](_0x38cb09['rootName']));}):_0x55ce54['reconvertMarker']('revision:'+_0x38cb09['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x149ad6,_0xcfb37f)=>{if(this['activeChange'])return;const _0x236157=this['_findChangeIdFromDomTarget'](_0xcfb37f['target']),_0x1c5f2f=this['_changeIdToChange']['get'](_0x236157);_0x1c5f2f?(this['_activeViewTarget']={'x':_0xcfb37f['domEvent']['x'],'y':_0xcfb37f['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1c5f2f)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x38ebd2,_0x514753)=>{const _0x1bc0be=this['_findChangeIdFromDomTarget'](_0x514753['target']),_0x3c0539=this['_changeIdToChange']['get'](_0x1bc0be);_0x3c0539?(this['_activeViewTarget']={'x':_0x514753['domEvent']['x'],'y':_0x514753['domEvent']['y']},_0x3c0539===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3c0539):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5bddc7){do{const _0x28e83c=_0x5bddc7['getAttribute']('data-change-id');if(_0x28e83c)return _0x28e83c;_0x5bddc7=_0x5bddc7['parent'];}while(_0x5bddc7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x59985d=>{for(const _0x6827 of this['editor']['model']['markers'])_0x59985d['removeMarker'](_0x6827);});}}function Fb(_0x590c76,_0x5a4c7a){return(_0xd2330,_0x322387,_0x4307d0)=>{if(!_0x4307d0['consumable']['test'](_0x322387['markerRange'],_0xd2330['name']))return;const _0x4bece0=_0x322387['markerRange']['getWalker'](),_0x4a6dbb=_0x322387['markerRange']['start'],_0x180116=_0x590c76['model']['schema'];let _0x2af959=null,_0x533023=null,_0x321936=!0x1,_0x508c87=!0x1;for(const _0x1b672e of _0x4bece0){const _0x49c3d8=_0x1b672e['item'];_0x321936=_0x321936||_0x180116['isContent'](_0x49c3d8);const _0xdbeb74=_0x4307d0['mapper']['toViewElement'](_0x49c3d8);if(_0xdbeb74&&_0xdbeb74['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1b672e['type']&&(_0x180116['isBlock'](_0x49c3d8)&&!_0x180116['isLimit'](_0x49c3d8)&&(_0x49c3d8['nextSibling']||_0x4a6dbb['isAtEnd']?_0x2af959&&_0x2af959['parent']==_0x49c3d8||(_0x2af959=_0x49c3d8,_0x50eb73(_0x1b672e['previousPosition']),_0x508c87=!0x0):_0x533023=_0x533023||_0x1b672e['previousPosition']));}function _0x50eb73(_0x1ae880){const _0x526fab=_0x4307d0['mapper']['toViewPosition'](_0x1ae880),_0x7c90ee=_0x4307d0['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5a4c7a});_0x4307d0['writer']['insert'](_0x526fab,_0x7c90ee),_0x4307d0['mapper']['bindElementToMarker'](_0x7c90ee,_0x322387['markerName']);}_0x321936||_0x508c87||!_0x533023||_0x50eb73(_0x533023);};}class RestoreRevisionCommand extends _0x15bad7{constructor(_0x4451bc){super(_0x4451bc);const _0x52644b=_0x4451bc['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['listenTo'](_0x52644b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x52644b,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2d4d1e=this['editor'],_0x36cf9d=_0x2d4d1e['plugins']['get'](RevisionViewer),_0x12061d=_0x36cf9d['isReady']?_0x36cf9d['diff']['newRevisionId']:null;_0x2d4d1e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x12061d);}['refresh'](){const {isReady:_0x50a7dd,isEnabled:_0x48911c,repository:_0x1e8189,diff:_0x322534}=this['editor']['plugins']['get'](RevisionViewer),_0x4b9852=_0x322534&&_0x1e8189['getLaterVisibleRevision'](_0x322534['newRevisionId']);this['isEnabled']=_0x50a7dd&&_0x48911c&&Boolean(_0x4b9852);}}class ShowChangeCommand extends _0x15bad7{['_step'];constructor(_0x41c55b,{direction:_0x1e24c4}){super(_0x41c55b);const _0x240193=_0x41c55b['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['_step']='forward'===_0x1e24c4?0x1:-0x1,this['listenTo'](_0x240193,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x240193,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x240193,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2ccd03=this['editor'],_0x2c6cea=_0x2ccd03['plugins']['get'](RevisionViewer),{isNavigationMode:_0x714e35,currentChangeNumber:_0x1c964a}=_0x2c6cea;let _0x14504a;if(_0x2c6cea['activeChange']=_0x714e35?_0x2c6cea['diff']['changes']['get'](_0x1c964a+this['_step']):_0x2c6cea['diff']['changes']['first'],_0x2c6cea['activeChange']['data']['isOnRoot'])_0x14504a=_0x2ccd03['editing']['view']['getDomRoot'](_0x2c6cea['activeChange']['rootName']);else{const _0x4512bc=_0x2ccd03['model']['markers']['get']('revision:'+_0x2c6cea['activeChange']['id']);_0x14504a=qu(_0x2ccd03['editing'],_0x4512bc);}_0x3cfeda({'target':_0x14504a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x9e9cee,currentChangeNumber:_0x1c4c5b,numberOfChanges:_0x58c16f,isReady:_0x22219e,isEnabled:_0x17c965}=this['editor']['plugins']['get'](RevisionViewer);this['isEnabled']=!!(_0x17c965&&_0x22219e&&_0x58c16f)&&(!_0x9e9cee||(0x1===this['_step']?_0x1c4c5b<_0x58c16f-0x1:_0x1c4c5b>0x0));}}class ChangesNavigationView extends _0x3989d4{constructor(_0x219c0f){super(_0x219c0f);const _0x329c8a=this['bindTemplate'],_0x29a25c=new _0x2e803a(_0x219c0f),_0x5d95e3=new _0x2e803a(_0x219c0f);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',(_0x1dab85,_0x542ab3)=>_0x1dab85&&_0x542ab3>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x48072c,_0x165b39,_0x4a4ca9,_0x1d406e)=>{if(!_0x48072c)return Qb(_0x219c0f,'Loading...');if(!_0x4a4ca9)return Qb(_0x219c0f,'No\x20changes');const _0x45e6d0=Qb(_0x219c0f,'NUMBER_OF_CHANGES',_0x4a4ca9);return _0x1d406e?Qb(_0x219c0f,'X_OF_Y_CHANGES',[_0x165b39+0x1,_0x4a4ca9]):_0x45e6d0;}),_0x29a25c['set']({'label':Qb(_0x219c0f,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x400d02}),_0x5d95e3['set']({'label':Qb(_0x219c0f,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x41df2a}),_0x29a25c['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5d95e3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x29a25c['on']('execute',()=>this['fire']('execute','backward')),_0x5d95e3['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',_0x329c8a['if']('_isStatusLabelVisible','ck-hidden',_0x41748b=>!_0x41748b)]},'children':[{'text':_0x329c8a['to']('isNavigationMode',_0x57a5d0=>_0x57a5d0?Qb(_0x219c0f,'EDIT_X_OF_Y_REVISIONS')+':\x20':Qb(_0x219c0f,'Total')+':\x20')}]},{'text':_0x329c8a['to']('_statusText')}]},new qt(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x29a25c,_0x5d95e3]}]});}}const jb='ck-editor__editable__loading-overlay';class RevisionViewerLoadingOverlay extends _0x13517b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x3fb7ac=this['editor']['editing']['view'];_0x3fb7ac['change'](_0x1453ab=>{for(const _0x196975 of _0x3fb7ac['document']['roots'])_0x1453ab['addClass'](jb,_0x196975);});}['hide'](){const _0x1c7494=this['editor']['editing']['view'];_0x1c7494['change'](_0xf4e493=>{for(const _0x3ee8c7 of _0x1c7494['document']['roots'])_0xf4e493['removeClass'](jb,_0x3ee8c7);});}}class RevisionViewerUI extends _0x13517b{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer,RevisionViewerLoadingOverlay];}['init'](){const _0x55ab02=this['editor'],_0x82dde=_0x55ab02['plugins']['get'](RevisionViewer),_0x2283a7=_0x55ab02['plugins']['get'](RevisionViewerLoadingOverlay);_0x55ab02['ui']['componentFactory']['add']('exitToEditing',_0x9763db=>{const _0x2929c6=new _0x2e803a(_0x9763db);return _0x2929c6['set']({'label':Qb(_0x9763db,'Back\x20to\x20editing'),'icon':_0x108932,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2929c6,'execute',()=>{_0x55ab02['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2929c6;}),_0x55ab02['ui']['componentFactory']['add']('restoreRevision',_0x5818d1=>{const _0x7ef10f=new _0x2e803a(_0x5818d1);return _0x7ef10f['set']({'label':Qb(_0x5818d1,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x7ef10f['bind']('isEnabled')['to'](_0x55ab02['commands']['get']('restoreRevision')),this['listenTo'](_0x7ef10f,'execute',()=>_0x55ab02['execute']('restoreRevision')),_0x7ef10f;}),_0x55ab02['ui']['componentFactory']['add']('changesNavigation',_0x2ab82f=>{const _0x4a3023=new ChangesNavigationView(_0x2ab82f),_0x5c0ffe=_0x55ab02['commands']['get']('showPreviousChange'),_0x291178=_0x55ab02['commands']['get']('showNextChange');return _0x4a3023['bind']('isBackwardNavigationEnabled')['to'](_0x5c0ffe,'isEnabled'),_0x4a3023['bind']('isForwardNavigationEnabled')['to'](_0x291178,'isEnabled'),_0x4a3023['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x82dde),this['listenTo'](_0x4a3023,'execute',(_0x4c7436,_0x290bf1)=>{_0x55ab02['execute']('forward'===_0x290bf1?'showNextChange':'showPreviousChange');}),_0x4a3023;}),_0x2283a7['show'](),_0x82dde['on']('change:isReady',(_0xe3e572,_0x3bca2a,_0x449205)=>{_0x449205?_0x2283a7['hide']():_0x2283a7['show']();});}}class RevisionNameView extends wt{['_resizeObserver']=null;constructor(_0x42d48c,_0x416613){super(_0x42d48c,_0x416613);const _0x6b30f=this['bindTemplate'];this['set']({'label':Qb(_0x42d48c,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=Qb(_0x42d48c,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x6b30f['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x2e8e7a(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x20c071=this['fieldView']['element'];this['_tooltipString']=_0x20c071['scrollWidth']>_0x20c071['clientWidth']&&_0x20c071['value']||'';}}class RevisionAuthorView extends _0x3989d4{constructor(_0x4b9963,_0xbca7c1,_0x25e64d){super(_0x4b9963);const _0x1cd1c1=new _0x1bf0d6();_0x1cd1c1['set']({'content':_0x132267,'viewBox':'0\x200\x2011\x2010'});const _0x3124d2=['ck','ck-revision-history-sidebar__revision-author'];_0x25e64d&&_0x3124d2['push']('ck-revision-history-sidebar__revision-author_creator');const _0xf0d22=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':Qb(_0x4b9963,_0x25e64d?'Revision\x20creator':'Revision\x20author')},'children':[_0x1cd1c1,_0xbca7c1['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3124d2},'children':_0xf0d22});}}function Hb(_0x4eafcc,_0x992c48){const _0x344255=_0x4eafcc['bindTemplate'],_0x12eb58=_0x4eafcc['locale'],_0x45ccb5=st(_0x12eb58);_0x45ccb5['panelPosition']='sw';const _0x5b29e4=function(_0x27c17a,_0x538c48){const _0x31c271=function(_0x632cd6,_0x4bf029){const _0x355b2d=_0x632cd6['locale'],_0x8400bb={'Compare\x20against\x20selected':Qb(_0x355b2d,'Compare\x20against\x20selected'),'Name\x20this\x20revision':Qb(_0x355b2d,'Name\x20this\x20revision'),'Restore\x20this\x20revision':Qb(_0x355b2d,'Restore\x20this\x20revision')};return _0x4bf029['map'](_0x1c5f08=>{const _0x3c5f60=_0x8400bb[_0x1c5f08['name']];return _0x3c5f60&&_0x3c5f60!==_0x1c5f08['name']&&(_0x1c5f08['name']=_0x3c5f60),_0x1c5f08;});}(_0x27c17a,_0x538c48),_0x2c3484=new _0x4711ed();for(const _0x5347f9 of _0x31c271){const _0xaae567={'type':'button','model':new pt({'label':_0x5347f9['name'],'class':_0x5347f9['class'],'withText':!0x0,'role':'menuitem','_action':_0x5347f9['action']})};_0xaae567['model']['bind']('isEnabled')['to'](_0x27c17a,'isActionsDropdownOpen',_0x58bca=>'function'!=typeof _0x5347f9['isEnabled']||(!_0x58bca||_0x5347f9['isEnabled'](_0x27c17a))),_0x2c3484['add'](_0xaae567);}return _0x2c3484;}(_0x4eafcc,_0x992c48);return _0x4eafcc['bind']('isActionsDropdownOpen')['to'](_0x45ccb5,'isOpen'),_0x45ccb5['buttonView']['set']({'label':Qb(_0x12eb58,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4d4368}),_0x45ccb5['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x344255['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x344255['to'](_0x4bc580=>_0x4bc580['stopPropagation']())}}),_0x45ccb5['on']('execute',_0x3c298b=>{_0x4eafcc['isReady']&&'function'==typeof _0x3c298b['source']['_action']&&_0x3c298b['source']['_action'](_0x4eafcc);}),gt(_0x45ccb5,_0x5b29e4,{'role':'menu'}),_0x45ccb5['listenTo'](_0x4eafcc,'change:isActionsDropdownOpen',(_0x105e7a,_0x3a71f2,_0x376086)=>{if(_0x376086)for(const _0x546661 of _0x45ccb5['listView']['items']){const _0x24d293=_0x546661['children']['first'],_0x152a04=_0x992c48['find'](_0x1fa78b=>_0x1fa78b['action']===_0x24d293['_action'])['isVisible'];_0x546661['isVisible']=void 0x0===_0x152a04||_0x152a04(_0x4eafcc);}}),_0x45ccb5;}class RevisionView extends/* #__PURE__ -- @preserve */
Ku(_0x3989d4){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2462a1,_0xf63d97,_0x39beab,_0x37979b){super(_0x2462a1);const _0x6f75b8=this['bindTemplate'],_0xae0672=function(_0x2abd95,_0xe9535f){const _0x36cfe3=Array['from'](_0xe9535f['authors'])['filter'](_0x120e40=>_0x120e40!=_0xe9535f['creator']);return _0xe9535f['creator']&&_0x36cfe3['unshift'](_0xe9535f['creator']),_0x36cfe3['map'](_0x4fac99=>new RevisionAuthorView(_0x2abd95,_0x4fac99,_0x4fac99==_0xe9535f['creator']));}(_0x2462a1,_0xf63d97);this['id']=_0xf63d97['id'],this['_revision']=_0xf63d97,this['_requireRevisionName']=_0x37979b,this['bind']('name','createdAt')['to'](_0xf63d97),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x266685=>{return _0x48e3bb=_0x2462a1['uiLanguage'],(_0x5ee3cc=_0x266685)['toLocaleDateString'](_0x48e3bb,{'month':'long','day':'numeric'})+',\x20'+_0x5ee3cc['toLocaleTimeString'](_0x48e3bb,{'hour':'numeric','minute':'numeric'});var _0x48e3bb,_0x5ee3cc;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new RevisionNameView(_0x2462a1,bt),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x16c05f=>_0x16c05f||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x29a5f7,_0x166037)=>_0x29a5f7&&_0x166037),this['revisionActionsView']=_0x39beab&&_0x39beab['length']?Hb(this,_0x39beab):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x6f75b8['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x6f75b8['if']('isEnabled','ck-disabled',_0x4f26ce=>!_0x4f26ce),_0x6f75b8['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x6f75b8['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x6f75b8['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':_0x6f75b8['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':_0xae0672}]},this['revisionActionsView']],'on':{'click':_0x6f75b8['to'](_0x324703=>{_0x324703['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x39c441=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x39c441,'change',()=>{this['_requireRevisionName']&&!_0x39c441['value']||this['fire']('setName',{'id':this['id'],'name':_0x39c441['value']}),_0x39c441['value']||(_0x39c441['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function Gb(_0x47ee67,_0x1c7e15){const _0x3c0501=DateTime['fromJSDate'](_0x47ee67)['setLocale'](_0x1c7e15),_0x226ba1=DateTime['local'](),_0x430afb=_0x226ba1['minus']({'days':0x1})['startOf']('day');let _0x74d84d,_0x215042;return _0x3c0501['hasSame'](_0x226ba1,'day')?(_0x74d84d=_0x3c0501['startOf']('day')['toJSDate'](),_0x215042=_0x3c0501['toRelativeCalendar']()):_0x3c0501['hasSame'](_0x430afb,'day')?(_0x74d84d=_0x430afb['toJSDate'](),_0x215042=_0x3c0501['toRelativeCalendar']()):_0x3c0501['hasSame'](_0x226ba1,'week')?(_0x74d84d=_0x3c0501['startOf']('week')['toJSDate'](),_0x215042=_0x3c0501['weekdayLong']||''):_0x3c0501['hasSame'](_0x226ba1,'year')?(_0x74d84d=_0x3c0501['startOf']('month')['toJSDate'](),_0x215042=_0x3c0501['monthLong']||''):(_0x74d84d=_0x3c0501['startOf']('year')['toJSDate'](),_0x215042=String(_0x3c0501['year'])),{'startDate':_0x74d84d,'localizedPeriodName':_0x215042};}class RevisionsSidebarTimePeriodView extends _0x3989d4{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3d4830,_0x366cbb,_0x5b5cb4,_0x51f6a9){super(_0x3d4830);const _0x411f93=Gb(_0x366cbb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x366cbb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5b5cb4,this['_requireRevisionName']=_0x51f6a9,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':_0x411f93}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1dba01){const _0x5547dd=new RevisionView(this['locale'],_0x1dba01,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5547dd);}['removeRevision'](_0x3f922f){const _0x3e0710=this['revisionViews']['find'](_0x4d0001=>_0x4d0001['id']===_0x3f922f['id']);this['revisionViews']['remove'](_0x3e0710);}}class RevisionsSidebarHeaderView extends _0x3989d4{constructor(_0x4e3a86){super(_0x4e3a86);const _0x456e97=new _0x1bf0d6();_0x456e97['content']=_0x508169,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x456e97,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[Qb(_0x4e3a86,'Revision\x20history')]}]});}}class RevisionsSidebarView extends _0x3989d4{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x47bbd8,_0x2efeb3,_0x303107,_0x454ab7){super(_0x47bbd8);const _0x1c7993=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2efeb3,this['_revisionActions']=_0x303107,this['_requireRevisionName']=_0x454ab7,this['on']('select',(_0x39ba00,_0x5b0378)=>{this['fire']('revisionSelected',_0x5b0378);}),this['on']('setName',(_0x3fed75,_0xe70207)=>{this['fire']('revisionSetName',_0xe70207);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new RevisionsSidebarHeaderView(_0x47bbd8),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1c7993['if']('isEnabled','ck-disabled',_0x629406=>!_0x629406)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x545f53 of this['_revisions'])this['_addRevision'](_0x545f53);this['_revisions']['on']('add',(_0x35cba2,_0x1e6125)=>{this['_addRevision'](_0x1e6125);}),this['_revisions']['on']('remove',(_0x4e71d8,_0x15ec89)=>{this['_removeRevision'](_0x15ec89);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x389e2a=>_0x389e2a['revisionViews']['map'](_0x2f41f4=>_0x2f41f4))['flat']();}['selectRevision'](_0x338a5c){for(const _0x49c57a of this['revisionViews'])_0x338a5c&&_0x338a5c['id']===_0x49c57a['id']?_0x49c57a['select']():_0x49c57a['deselect']();}['highlightRevisions'](_0x13992e){for(const _0x35026b of this['revisionViews'])_0x13992e['some'](({id:_0x41f50b})=>_0x41f50b===_0x35026b['id'])?_0x35026b['highlight']():_0x35026b['unhighlight']();}['_addRevision'](_0x3dd219){const _0x116843=Gb(_0x3dd219['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x57405c=this['timePeriodViews']['get'](0x0);_0x57405c&&_0x57405c['startDate']['getTime']()===_0x116843['getTime']()||(_0x57405c=new RevisionsSidebarTimePeriodView(this['locale'],_0x116843,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x57405c)),_0x57405c['addRevision'](_0x3dd219);}['_removeRevision'](_0x384fde){const _0x3f45a5=Gb(_0x384fde['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3f45a5)['removeRevision'](_0x384fde);}['_getTimePeriodViewByStartDate'](_0x585f79){return this['timePeriodViews']['find'](_0x5f1977=>_0x5f1977['startDate']['getTime']()===_0x585f79['getTime']());}}class RevisionsSidebar extends _0x13517b{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
Zb();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer];}constructor(_0x3e4637){super(_0x3e4637),this['_revisionViewer']=_0x3e4637['plugins']['get'](RevisionViewer),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5dea7b=this['_revisionsRepository']['_revisions'],_0x1989bd=this['_createRevisionActions'](),_0x2d0f8c=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new RevisionsSidebarView(this['editor']['locale'],_0x5dea7b,_0x1989bd,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',(_0xb95a12,_0x23a974)=>{_0x23a974['revisionViews']['on']('add',(_0x25f10a,_0x59002a)=>{_0x59002a['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)),_0x2d0f8c['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3675b1=this['_revisionsRepository']['getRevision'](0x0);if(_0x3675b1){const _0xcb509c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3675b1['id']);this['_revisionViewer']['compare'](_0x3675b1,_0xcb509c);}}['_handleRevisionSelected'](_0x4473f0,_0x3fe3cc){const _0x4dfb6e=this['_revisionsRepository']['getRevision'](_0x3fe3cc['id']),_0x12f9d0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4dfb6e['id']);this['_revisionViewer']['compare'](_0x4dfb6e,_0x12f9d0);}['_handleRevisionSetName'](_0x214e79,_0x52d9a7){this['_revisionsRepository']['getRevision'](_0x52d9a7['id'])['setName'](_0x52d9a7['name']);}['_handleDiffChange'](_0x1d01ae,_0x53bf3f,_0x3a4c58){const _0x1a39bb=this['_revisionsRepository']['getRevisionsInDiff'](_0x3a4c58);_0x1a39bb['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1a39bb),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1a39bb[0x0]));}['_createRevisionActions'](){const _0x21200d=this['editor'],_0xd60bd6=RevisionsSidebar['availableRevisionActions'],_0x7cc9e2=_0x21200d['config']['get']('revisionHistory.revisionActions')||RevisionsSidebar['defaultRevisionActions'];if(_0x7cc9e2['length'])return _0x7cc9e2['map'](_0x310026=>{const _0x39e3c2='string'==typeof _0x310026?Object['assign']({},_0xd60bd6[_0x310026]):_0x310026;return _0x39e3c2['action']=_0x39e3c2['action']['bind'](this,_0x21200d),_0x39e3c2['isVisible']&&(_0x39e3c2['isVisible']=_0x39e3c2['isVisible']['bind'](this,_0x21200d)),_0x39e3c2;});}}function Zb(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x139e75},_0x4486af)=>{const _0x4d7bf0=_0x139e75['get'](RevisionViewer),_0x124f86=_0x4d7bf0['repository'];let _0x305b26=_0x4d7bf0['diff']['newRevisionId'],_0x90c75e=_0x4486af['id'];_0x124f86['getIndex'](_0x305b26)>_0x124f86['getIndex'](_0x90c75e)&&([_0x305b26,_0x90c75e]=[_0x90c75e,_0x305b26]),_0x4d7bf0['compare'](_0x305b26,_0x90c75e);},'isVisible':({plugins:_0x12fd4e},_0x70ae76)=>{const _0x1311bf=_0x12fd4e['get'](RevisionViewer);return!(_0x1311bf['repository']['getRevisionsInDiff'](_0x1311bf['diff'])['length']>0x2)&&!_0x70ae76['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10138f,{id:_0x69b1ef})=>{_0x10138f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x69b1ef);},'isVisible':({plugins:_0x2b9e99},_0x190f41)=>!!_0x2b9e99['get'](RevisionViewer)['repository']['getLaterVisibleRevision'](_0x190f41['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1459be},{id:_0x3342c6,revisionNameView:_0x1ef310})=>{const _0x418aa0=_0x1459be['get'](RevisionViewer),_0x205bcf=_0x418aa0['repository']['getEarlierVisibleRevision'](_0x3342c6);_0x418aa0['compare'](_0x3342c6,_0x205bcf),_0x1ef310['focus'](),_0x1ef310['fieldView']['select']();}}};}class RevisionViewerEditorUI extends Nt{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2e2458,_0x9d0f08){super(_0x2e2458),this['_view']=_0x9d0f08,this['_toolbarConfig']=Wt(_0x2e2458['config']['get']('toolbar')),this['_elementReplacer']=new _0x333b5e();}get['element'](){return this['view']['element'];}['init'](_0x9ef30b){const _0x282f34=this['editor'],_0x4bbb1b=this['view'],_0x1f2100=_0x282f34['editing']['view'],_0x3bbb45=_0x4bbb1b['editable'],_0x40209f=_0x1f2100['document']['getRoot']();_0x3bbb45['name']=_0x40209f['rootName'],_0x4bbb1b['render']();const _0x583638=_0x3bbb45['element'];this['setEditableElement'](_0x3bbb45['name'],_0x583638),_0x4bbb1b['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1f2100['attachDomRoot'](_0x583638),this['_elementReplacer']['replace'](_0x9ef30b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x582cd1=this['view'],_0x26a904=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x26a904['detachDomRoot'](_0x582cd1['editable']['name']),_0x582cd1['destroy']();}['_initToolbar'](){const _0x510668=this['view'];_0x510668['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x510668['stickyPanel']['limiterElement']=_0x510668['element'],_0x510668['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x538230})=>_0x538230),_0x510668['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x510668['toolbar']);}}class RevisionViewerEditorUIView extends zt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x22d26d,_0x134e72,_0x12ec20={}){super(_0x22d26d),this['stickyPanel']=new Yt(_0x22d26d),this['toolbar']=new _0x1421bf(_0x22d26d,{'shouldGroupWhenFull':_0x12ec20['shouldToolbarGroupWhenFull']}),this['_editable']=new Mt(_0x22d26d,_0x134e72);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x2e191a(_0xadff6a){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x9b29d6,_0x7937aa){super(_0x7937aa),this['sourceElement']=_0x9b29d6,this['model']['document']['createRoot']();const _0x5afdf1=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x5afdf1);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1c5e84,_0x4f49d2){const _0x1267cb=new this(_0x1c5e84,_0x4f49d2);return await _0x1267cb['initPlugins'](),await _0x1267cb['ui']['init'](_0x1c5e84),await _0x1267cb['data']['init'](_0x1267cb['config']['get']('initialData')||''),_0x1267cb['fire']('ready'),_0x1267cb;}}const Xb=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x13517b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x185899){function _0x4ab550(_0x4d8527){return _0x4d8527['map'](_0x3cfe58=>String['fromCharCode'](_0x3cfe58))['join']('');}super(_0x185899),this['result']='end',_0x185899[_0x4ab550([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ab550([0x76,0x69,0x65,0x77])][_0x4ab550([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ab550([0x61,0x75,0x74,0x6f]),_0x185899[_0x4ab550([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4ab550([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ab550([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4ab550([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4ab550([0x6f,0x6b])});}}class RevisionHistory extends _0x13517b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker,RevisionHistoryUI];}constructor(_0xf6d5b){if(super(_0xf6d5b),!this['editor']['config']['get']('revisionHistory'))throw new _0x37fbfa('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x3efd20=>this['_showRevisionViewer']({..._0x3efd20,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1aa460=>this['_closeRevisionViewer'](_0x1aa460)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5caa48=>this['_restoreRevision'](_0x5caa48)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3337f8){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3337f8;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x19d3ee){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x19d3ee);}['getRevision'](_0x311563){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x311563);}['getRevisions'](_0x37e3c0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x37e3c0||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x25980d=this['editor'],_0x822636=cd(_0x25980d,Xb),_0x2a6147=_0x25980d['plugins']['get']('RevisionTracker'),_0x3842a2=_0x25980d['plugins']['get']('Users')['users'];return _0x822636['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x822636['lazyRoots'],(_0x822636['plugins']['push'](RevisionViewerIntegration,RevisionViewer,RevisionViewerUI,class RevisionViewerInit extends _0x13517b{static get['requires'](){return[RevisionViewer,'Users'];}['init'](){const _0x3e2552=this['editor']['plugins']['get']('Users');for(const _0x33272a of _0x3842a2)_0x33272a['isAnonymous']||_0x3e2552['getUser'](_0x33272a['id'])||_0x3e2552['addUser'](_0x33272a);const _0x116ed8=_0x2a6147['repository']['getRevisions']();let _0x56f2d2=null;const _0x77c774=this['editor']['plugins']['get']('RevisionViewer');_0x77c774['adapter']=_0x2a6147['adapter'],_0x77c774['bind']('isEnabled')['to'](_0x2a6147),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x25980d,'isReadOnly',_0x47e71f=>!_0x47e71f);for(const _0x4f1589 of _0x116ed8){const _0x48628c=null===_0x4f1589['creator'];if(_0x48628c&&_0x4f1589['toVersion']===_0x4f1589['fromVersion'])continue;const _0x56b7de=_0x4f1589['toJSON']();_0x77c774['addRevisionData'](_0x56b7de,(_0x3eb2f1,_0x37db2a,_0xd2c755)=>{if(_0x48628c){if(_0x56f2d2)_0x56f2d2['_update'](_0x3eb2f1,_0x37db2a);else{if(!_0x37db2a){const _0x19ac2c=_0xd2c755['toJSON']();_0x19ac2c['id']=_0x5c5c0c(),_0x2a6147['saveRevision'](_0x19ac2c,_0xd2c755['toVersion'])['then'](_0x41e75c=>{_0x56f2d2=_0x41e75c;});}}}else _0x4f1589['_update'](_0x3eb2f1,_0x37db2a);});}}},RevisionsSidebar),_0x822636);}['_enhanceShowRevisionViewerCallback'](){const _0x5efc37=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x54f08c=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x165709=this['editor']['plugins']['get']('Autosave');await _0x165709['save']();}else await _0x54f08c['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xe6bf69=this['editor']['plugins']['get']('Dialog');_0xe6bf69['isOpen']&&_0xe6bf69['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x3a6c93=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x47bf60 of _0x3a6c93)_0x47bf60['class']=_0x47bf60['class']?_0x47bf60['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x88b974=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x88b974&&_0x88b974['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x1106af=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x1106af&&_0x1106af['setAttribute']('tabindex','-1');}}const _0x3fb3ae=this['_getRevisionViewerEditorConfig']();return _0x5efc37(_0x3fb3ae)['then'](_0x5769ff=>{return(this['_viewerEditor']=_0x5769ff,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'),_0x5769ff);})['catch'](_0x56f953=>(console['error'](_0x56f953),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x296689=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 _0x443ed3=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x59d02a of _0x443ed3)_0x59d02a['class']='ck-tab-panel_disabled'===_0x59d02a['class']?'':_0x59d02a['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x49242b=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x49242b&&_0x49242b['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x5f1167=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x5f1167&&_0x5f1167['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x296689(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x242d88=this['editor']['plugins']['get']('Annotations');_0x242d88['refreshVisibility'](),_0x242d88['refreshPositioning']();}});});}['_showRevisionViewer'](_0xa03d89){const _0x10b7b9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x50b52a=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1fb3fd=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x1fb3fd,_0xa03d89)['then'](_0x1836e1=>(_0x50b52a['style']['display']='block',_0x10b7b9['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x1836e1));}['_closeRevisionViewer'](_0x29d11c){const _0x46d08e=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x46d08e['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x29d11c['destroy']();}async['_restoreRevision'](_0xfc2874){const _0x633fe=this['editor'],_0x29bf48=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x386e53=_0x633fe['plugins']['get']('RevisionTracker'),_0x2b3330=_0x633fe['plugins']['get']('RevisionHistoryUtils'),_0x55f7f4=_0x29bf48['repository']['getRevision'](_0xfc2874);let _0x4cd22f,_0x42b014,_0x27d659;try{await _0x2b3330['loadRevisionData'](_0x55f7f4,this['adapter']),_0x4cd22f=_0x2b3330['getRevisionDocumentData'](_0x55f7f4),_0x42b014=_0x2b3330['getRevisionRootsAttributes'](_0x55f7f4);}catch(_0x8a847c){return void console['error'](_0x8a847c);}_0x633fe['model']['change'](_0x530b02=>{for(const _0x14fcc1 of Array['from'](_0x633fe['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x530b02['removeMarker'](_0x14fcc1);}),_0x29bf48['isReady']=!0x1,_0x633fe['model']['enqueueChange'](_0x2a931f=>{_0x2a931f['setSelection'](null),_0x2a931f['removeSelectionAttribute'](_0x633fe['model']['document']['selection']['getAttributeKeys']());const _0x3da9eb=Object['keys'](_0x4cd22f);for(const _0x492906 of _0x633fe['model']['document']['roots'])'$graveyard'!=_0x492906['rootName']&&_0x492906['isAttached']()&&!_0x3da9eb['includes'](_0x492906['rootName'])&&_0x2a931f['detachRoot'](_0x492906);for(const _0x297bae of _0x3da9eb){let _0x457a55=_0x633fe['model']['document']['getRoot'](_0x297bae);_0x457a55&&_0x457a55['isAttached']()||(_0x457a55=_0x2a931f['addRoot'](_0x297bae));const _0x599fa8=_0x42b014[_0x297bae],_0x41ef2d=Object['keys'](_0x599fa8),_0x11435a=_0x4cd22f[_0x297bae];for(const _0x376382 of _0x457a55['getAttributeKeys']())_0x41ef2d['includes'](_0x376382)||_0x2a931f['removeAttribute'](_0x376382,_0x457a55);for(const _0x1e1853 of _0x41ef2d)_0x2a931f['setAttribute'](_0x1e1853,_0x42b014[_0x297bae][_0x1e1853],_0x457a55);_0x2a931f['remove'](_0x2a931f['createRangeIn'](_0x457a55)),_0x2a931f['insert'](_0x633fe['data']['parse'](_0x11435a,_0x457a55),_0x457a55,0x0);}});const _0x5620e9=Qb(_0x633fe['locale'],'Restored');if(_0x55f7f4['name'])_0x27d659=-0x1==_0x55f7f4['name']['indexOf'](_0x5620e9)?_0x5620e9+':\x20'+_0x55f7f4['name']:_0x55f7f4['name'];else _0x27d659=_0x5620e9+':\x20'+(_0x55f7f4['createdAt']['toLocaleDateString'](_0x633fe['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x55f7f4['createdAt']['toLocaleTimeString'](_0x633fe['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x386e53['saveRevision']({'name':_0x27d659}),_0x29bf48['isReady']=!0x0,_0x633fe['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class SlashCommandConfig extends _0x13517b{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x28a230){super(_0x28a230),this['_allowedCommands']=null;}['afterInit'](){const _0x2085e5=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x239a4d=function(_0x45b2e7){let _0x1469c8=['heading4','heading5','heading6'];if(_0x45b2e7){const _0x279a90=_0x45b2e7['map'](_0x467028=>_0x467028['model']);_0x1469c8=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x2b041f=>!_0x279a90['includes'](_0x2b041f));}return _0x1469c8;}(this['editor']['config']['get']('heading.options')),_0x4e4ec9=this['getDefaultCommands']()['filter'](_0x516ca8=>!_0x239a4d['includes'](_0x516ca8['id']));let _0x3e1bc0=_0x4e4ec9['filter'](_0x1a445f=>!_0x2085e5['includes'](_0x1a445f['commandName']));const _0x20d9ae=this['editor']['config']['get']('slashCommand.extraCommands');_0x20d9ae&&_0x20d9ae['length']&&(_0x3e1bc0=_0x3e1bc0['concat'](_0x20d9ae));const _0x34be92=this['editor']['config']['get']('template.definitions');_0x34be92&&_0x34be92['length']&&(_0x3e1bc0=_0x3e1bc0['concat'](function(_0x44f48b){return _0x44f48b['map'](_0xecfdd=>{const {title:_0x3a762f,icon:_0x27103a,description:_0x438127,data:_0x25ed3c}=_0xecfdd,_0x1e2ca7={'id':Wb(_0x3a762f,'template'),'commandName':'insertTemplate','execute':_0x3e2bce=>{_0x3e2bce['execute']('insertTemplate',_0x25ed3c);},'description':_0x438127,'icon':_0x27103a,'title':_0x3a762f};return _0x27103a&&(_0x1e2ca7['isIconColorInherited']=!0x1),_0x1e2ca7;});}(_0x34be92)));const _0x3115c5=this['editor']['config']['get']('style.definitions');_0x3115c5&&_0x3115c5['length']&&(_0x3e1bc0=_0x3e1bc0['concat'](function(_0x2b9a3c){return _0x2b9a3c['map'](_0x104032=>{const _0x5c4b03={'id':Wb(_0x104032['name'],'style'),'commandName':'style','execute':_0x4d0024=>{_0x4d0024['execute']('style',{'styleName':_0x104032['name']});},'isEnabled':_0xbcb48d=>{const _0x28aeca=_0xbcb48d['commands']['get']('style');return _0x28aeca['isEnabled']&&_0x28aeca['enabledStyles']['includes'](_0x104032['name']);},'title':_0x104032['name']};return _0x5c4b03;});}(_0x3115c5)));const _0x29cb15=_0x3e1bc0['filter'](_0xb6ca2f=>!_0xb6ca2f['commandName']||void 0x0!==this['editor']['commands']['get'](_0xb6ca2f['commandName'])),_0x433da0=[];for(const _0x2524aa of _0x29cb15)_0x433da0['push']({'id':_0x2524aa['id'],'commandName':_0x2524aa['commandName'],'title':'function'==typeof _0x2524aa['title']?_0x2524aa['title'](this['editor']):_0x2524aa['title'],'description':_0x2524aa['description'],'icon':_0x2524aa['icon'],'isIconColorInherited':_0x2524aa['isIconColorInherited'],'aliases':_0x2524aa['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x2524aa),'execute':()=>this['_proxyExecute'](_0x2524aa)});this['_allowedCommands']=_0x433da0['sort'](qb),async function(_0x31578c){const _0x54cbc1=_0x326c3c([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]),_0x8eb151=0x305505ed,_0x1a5976=0x30528a2d^_0x8eb151,_0x57c517=window[_0x326c3c([0x44,0x61,0x74,0x65])][_0x326c3c([0x6e,0x6f,0x77])](),_0x41eff9=_0x31578c[_0x326c3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x331350=new window[(_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c72bf=>{_0x41eff9[_0x326c3c([0x6f,0x6e,0x63,0x65])](_0x326c3c([0x72,0x65,0x61,0x64,0x79]),_0x3c72bf);}),_0x54d6d1={[_0x326c3c([0x6b,0x74,0x79])]:_0x326c3c([0x45,0x43]),[_0x326c3c([0x75,0x73,0x65])]:_0x326c3c([0x73,0x69,0x67]),[_0x326c3c([0x63,0x72,0x76])]:_0x326c3c([0x50,0x2d,0x32,0x35,0x36]),[_0x326c3c([0x78])]:_0x326c3c([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]),[_0x326c3c([0x79])]:_0x326c3c([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]),[_0x326c3c([0x61,0x6c,0x67])]:_0x326c3c([0x45,0x53,0x32,0x35,0x36])},_0x5264cf=_0x41eff9[_0x326c3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x326c3c([0x67,0x65,0x74])](_0x326c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fbfcb(){let _0x20468f,_0x5f8a3a=null,_0x2a7a2a=null;try{if(_0x5264cf==_0x326c3c([0x47,0x50,0x4c]))return _0x326c3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20468f=_0x35fae5(),!_0x20468f)return _0x326c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20468f[_0x326c3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a7a2a=_0x1d2b95(_0x20468f[_0x326c3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20468f[_0x326c3c([0x6a,0x74,0x69])])),await _0x3ea004()?_0x1e8572()?_0x4d99f4()?_0x326c3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x67dc8d()?(_0x20468f[_0x326c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326c3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f8a3a=_0xc9919e(_0x326c3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48a8b0()):_0x326c3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x326c3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x326c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x326c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d99f4(){const _0x152f9c=[_0x326c3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x326c3c([0x74,0x72,0x69,0x61,0x6c])][_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20468f[_0x326c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57c517/0x3e8:0xe10*_0x1a5976;return _0x20468f[_0x326c3c([0x65,0x78,0x70])]<_0x152f9c;}function _0x1e8572(){const _0x1c6ef5=_0x20468f[_0x326c3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c6ef5&&(!!_0x1c6ef5[_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c3c([0x2a]))||(!!_0x1c6ef5[_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c3c([0x53,0x43]))||(!!_0x1c6ef5[_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c3c([0x50,0x50]))||!(!_0x1c6ef5[_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c3c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x54fb12()))));}function _0x67dc8d(){const _0x7444cd=_0x20468f[_0x326c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7444cd||0x0==_0x7444cd[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cb2e7}=new URL(window[_0x326c3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7444cd[_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cb2e7))return!0x0;const _0x272ec4=_0x3cb2e7[_0x326c3c([0x73,0x70,0x6c,0x69,0x74])](_0x326c3c([0x2e]));return _0x7444cd[_0x326c3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x993157=>_0x993157[_0x326c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c3c([0x2a])))[_0x326c3c([0x6d,0x61,0x70])](_0x57e030=>_0x57e030[_0x326c3c([0x73,0x70,0x6c,0x69,0x74])](_0x326c3c([0x2e])))[_0x326c3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5560d6=>_0x5560d6[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x272ec4[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326c3c([0x6d,0x61,0x70])](_0x32b453=>Array(_0x272ec4[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32b453[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326c3c([0x66,0x69,0x6c,0x6c])](_0x32b453[0x0]===_0x326c3c([0x2a])?_0x326c3c([0x2a]):'')[_0x326c3c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32b453))[_0x326c3c([0x73,0x6f,0x6d,0x65])](_0x4aba9b=>_0x272ec4[_0x326c3c([0x65,0x76,0x65,0x72,0x79])]((_0x41e417,_0x2fabc3)=>_0x4aba9b[_0x2fabc3]===_0x41e417||_0x4aba9b[_0x2fabc3]===_0x326c3c([0x2a])));}function _0x48a8b0(){return _0x5f8a3a&&_0x2a7a2a?new window[(_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20a40d,_0x176107)=>{_0x5f8a3a[_0x326c3c([0x74,0x68,0x65,0x6e])](_0x20a40d,_0x176107),_0x2a7a2a[_0x326c3c([0x74,0x68,0x65,0x6e])](_0x27b006=>{_0x27b006!=_0x326c3c([0x56,0x61,0x6c,0x69,0x64])&&_0x20a40d(_0x27b006);},_0x176107);}):_0x5f8a3a||_0x2a7a2a||_0x326c3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d2b95(_0x19e782,_0x3650c4){return new window[(_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2083a8=>{if(_0x30736b())return _0x2083a8(_0x326c3c([0x56,0x61,0x6c,0x69,0x64]));_0x11f1f7(),_0x41eff9[_0x326c3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x326c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bda67=!0x1;const _0x2ff10b=_0x5c5c0c();function _0x292f8f(_0x2713d9){return!!_0x2713d9&&(typeof _0x2713d9===_0x326c3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2713d9===_0x326c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2713d9[_0x326c3c([0x74,0x68,0x65,0x6e])]===_0x326c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2713d9[_0x326c3c([0x63,0x61,0x74,0x63,0x68])]===_0x326c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bc604(_0x346328){_0x41edf5(_0x346328)[_0x326c3c([0x74,0x68,0x65,0x6e])](_0x11a638=>{if(!_0x11a638||_0x11a638[_0x326c3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x326c3c([0x6f,0x6b]))return _0x326c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fe531(_0x322df9(_0x2ff10b+_0x3650c4))!=_0x11a638[_0x326c3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x326c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x326c3c([0x56,0x61,0x6c,0x69,0x64]);})[_0x326c3c([0x74,0x68,0x65,0x6e])](_0x246b7f=>(_0xb04760(),_0x246b7f),()=>{const _0x2623a0=_0x5619a7();return null==_0x2623a0?(_0xb04760(),_0x326c3c([0x56,0x61,0x6c,0x69,0x64])):_0x326c3c(_0x57c517-_0x2623a0>(0x145981ed^_0x8eb151)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x326c3c([0x74,0x68,0x65,0x6e])](_0x2083a8)[_0x326c3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2083a8(_0x326c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49e84d=0x3063eb6d^_0x8eb151;function _0xb04760(){const _0x2f6a41=_0x326c3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fe531(_0x322df9(_0x19e782)),_0x2fb8a8=_0x25c53f(_0x3fe531(window[_0x326c3c([0x4d,0x61,0x74,0x68])][_0x326c3c([0x63,0x65,0x69,0x6c])](_0x57c517/_0x49e84d)));window[_0x326c3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326c3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f6a41,_0x2fb8a8);}function _0x5619a7(){const _0x36e7bc=_0x326c3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fe531(_0x322df9(_0x19e782)),_0x41a400=window[_0x326c3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326c3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36e7bc);return _0x41a400?window[_0x326c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25c53f(_0x41a400),0x10)*_0x49e84d:null;}function _0x41edf5(_0x2d4669){return new window[(_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1087cc,_0x479ca5)=>{_0x2d4669[_0x326c3c([0x74,0x68,0x65,0x6e])](_0x1087cc,_0x479ca5),window[_0x326c3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x479ca5,0x3054d12d^_0x8eb151);});}}_0x41eff9[_0x326c3c([0x6f,0x6e])](_0x326c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ce9c3,_0x18a6b4)=>{if(_0x18a6b4[0x0]!=_0x19e782)return _0x2083a8(_0x326c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18a6b4[0x1]={..._0x18a6b4[0x1],[_0x326c3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ff10b};},{[_0x326c3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326c3c([0x68,0x69,0x67,0x68])}),_0x41eff9[_0x326c3c([0x6f,0x6e])](_0x326c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x222d6a=>{_0x292f8f(_0x222d6a[_0x326c3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bda67=!0x0,_0x4bc604(_0x222d6a[_0x326c3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x326c3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326c3c([0x6c,0x6f,0x77])}),_0x331350[_0x326c3c([0x74,0x68,0x65,0x6e])](()=>{_0x2bda67||_0x2083a8(_0x326c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30736b(){return _0x41eff9[_0x326c3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326c3c([0x76,0x69,0x65,0x77])][_0x326c3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x326c3c([0x61,0x75,0x74,0x6f]);}function _0x11f1f7(){_0x41eff9[_0x326c3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326c3c([0x76,0x69,0x65,0x77])][_0x326c3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x326c3c([0x61,0x75,0x74,0x6f]);}}function _0xc9919e(_0x14b37f){const _0x5c8aa3=[new window[(_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204f67=>setTimeout(_0x204f67,0x305c3b21^_0x8eb151)),_0x331350[_0x326c3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cb6fa=>{let _0x3bd8fe=0x0;_0x41eff9[_0x326c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c3c([0x6f,0x6e])](_0x326c3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13eda5,_0x31e733)=>{_0x31e733[0x0][_0x326c3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bd8fe++,_0x3bd8fe==(0x30550005^_0x8eb151)&&(_0x1cb6fa(),_0x13eda5[_0x326c3c([0x6f,0x66,0x66])]());});}))];return window[_0x326c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x326c3c([0x72,0x61,0x63,0x65])](_0x5c8aa3)[_0x326c3c([0x74,0x68,0x65,0x6e])](()=>_0x14b37f);}async function _0x4e4e3d(){await _0x331350,_0x41eff9[_0x326c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5184d2,_0x41eff9[_0x326c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5184d2,_0x41eff9[_0x326c3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326c3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54fb12(){return window[_0x326c3c([0x67,0x6c,0x6f,0x62])]&&window[_0x326c3c([0x67,0x6c,0x6f,0x62])][_0x326c3c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5661de(_0x10d8d4){const _0x279d14=_0x22c26d();_0x41eff9[_0x279d14]=_0x326c3c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10d8d4,_0x10d8d4!=_0x326c3c([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4e3d();}function _0x22c26d(){const _0x8f5f31=window[_0x326c3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x326c3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x326c3c([0x6e,0x6f,0x77])]())[_0x326c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x326c3c([0x2e]),'');let _0x40d03b=_0x326c3c([0x75]);for(let _0x5cc78c=0x0;_0x5cc78c<_0x8f5f31[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cc78c+=0x2){let _0xbe4ad0=window[_0x326c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8f5f31[_0x326c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cc78c,_0x5cc78c+0x2));_0xbe4ad0>=_0x54cbc1[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbe4ad0-=_0x54cbc1[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40d03b+=_0x54cbc1[_0xbe4ad0];}return _0x40d03b;}function _0x35fae5(){const _0x2a874c=_0x5264cf[_0x326c3c([0x73,0x70,0x6c,0x69,0x74])](_0x326c3c([0x2e]));if(0x3!=_0x2a874c[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x315f95(_0x2a874c[0x1]);function _0x315f95(_0x158d03){const _0x2c40d4=_0x35be8e(_0x158d03);return _0x2c40d4&&_0xa8dc89()?_0x2c40d4:null;function _0xa8dc89(){const _0x29eddb=_0x2c40d4[_0x326c3c([0x6a,0x74,0x69])],_0x3d22ae=window[_0x326c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29eddb[_0x326c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29eddb[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2be2e5={..._0x2c40d4,[_0x326c3c([0x6a,0x74,0x69])]:_0x29eddb[_0x326c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29eddb[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2be2e5[_0x326c3c([0x76,0x63])],_0x322df9(_0x2be2e5)==_0x3d22ae;}}}async function _0x3ea004(){let _0x553ebf=!0x0;try{const _0x4267f1=_0x5264cf[_0x326c3c([0x73,0x70,0x6c,0x69,0x74])](_0x326c3c([0x2e])),[_0x1003e2,_0x2a04e1,_0xbd9562]=_0x4267f1;return _0x595ec2(_0x1003e2),await _0x57115f(_0x1003e2,_0x2a04e1,_0xbd9562),_0x553ebf;}catch{return!0x1;}function _0x595ec2(_0x501384){const _0x382cfb=_0x35be8e(_0x501384);_0x382cfb&&_0x382cfb[_0x326c3c([0x61,0x6c,0x67])]==_0x326c3c([0x45,0x53,0x32,0x35,0x36])||(_0x553ebf=!0x1);}async function _0x57115f(_0x3eba0f,_0x57110d,_0x4243a1){const _0x1b4c33=window[_0x326c3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x326c3c([0x66,0x72,0x6f,0x6d])](_0x1b81c4(_0x4243a1),_0x39b826=>_0x39b826[_0x326c3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f2825=new window[(_0x326c3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x326c3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3eba0f+_0x326c3c([0x2e])+_0x57110d),_0x469932=window[_0x326c3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x326c3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x469932)return;const _0x382d6f=await _0x469932[_0x326c3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x326c3c([0x6a,0x77,0x6b]),_0x54d6d1,{[_0x326c3c([0x6e,0x61,0x6d,0x65])]:_0x326c3c([0x45,0x43,0x44,0x53,0x41]),[_0x326c3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x326c3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x326c3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x469932[_0x326c3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x326c3c([0x6e,0x61,0x6d,0x65])]:_0x326c3c([0x45,0x43,0x44,0x53,0x41]),[_0x326c3c([0x68,0x61,0x73,0x68])]:{[_0x326c3c([0x6e,0x61,0x6d,0x65])]:_0x326c3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x382d6f,_0x1b4c33,_0x3f2825)||(_0x553ebf=!0x1);}}function _0x35be8e(_0x207435){return _0x207435[_0x326c3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x326c3c([0x65,0x79]))?JSON[_0x326c3c([0x70,0x61,0x72,0x73,0x65])](_0x1b81c4(_0x207435)):null;}function _0x1b81c4(_0xae1685){return window[_0x326c3c([0x61,0x74,0x6f,0x62])](_0xae1685[_0x326c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x326c3c([0x2b]))[_0x326c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x326c3c([0x2f])));}function _0x322df9(_0x313fb2){let _0xf2b34d=0x1505;function _0x11bf09(_0x656cac){for(let _0x30d8d7=0x0;_0x30d8d7<_0x656cac[_0x326c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d8d7++){const _0x3d9672=_0x656cac[_0x326c3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30d8d7);_0xf2b34d=(_0xf2b34d<<0x5)+_0xf2b34d+_0x3d9672,_0xf2b34d&=_0xf2b34d;}}function _0x1d5417(_0x126239){Array[_0x326c3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x126239)?_0x126239[_0x326c3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d5417):_0x126239&&typeof _0x126239==_0x326c3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x326c3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x126239)[_0x326c3c([0x73,0x6f,0x72,0x74])]()[_0x326c3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x91d72d,_0x2c63ef])=>{_0x11bf09(_0x91d72d),_0x1d5417(_0x2c63ef);}):_0x11bf09(window[_0x326c3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x126239));}return _0x1d5417(_0x313fb2),_0xf2b34d>>>0x0;}function _0x3fe531(_0x10f417){return _0x10f417[_0x326c3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x326c3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x326c3c([0x30]));}function _0x25c53f(_0x225644){return _0x225644[_0x326c3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x326c3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x326c3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x5184d2(){}function _0x326c3c(_0x4ad1bb){return _0x4ad1bb['map'](_0x38f81b=>String['fromCharCode'](_0x38f81b))['join']('');}_0x5661de(await _0x2fbfcb());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2cdf2b=_0x23a0e4=>function(_0x3fd066,_0x2d283a){const t=_0x3fd066['t'],_0x256628=_0x3fd066['t'];switch(_0x2d283a){case'AI\x20Assistant':return _0x256628('AI\x20Assistant');case'Block\x20quote':return _0x256628('Block\x20quote');case'Bulleted\x20list':return _0x256628('Bulleted\x20list');case'Insert\x20code\x20block':return _0x256628('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x256628('Open\x20file\x20manager');case'Insert\x20image':return _0x256628('Insert\x20image');case'Heading\x201':return _0x256628('Heading\x201');case'Heading\x202':return _0x256628('Heading\x202');case'Heading\x203':return _0x256628('Heading\x203');case'Heading\x204':return _0x256628('Heading\x204');case'Heading\x205':return _0x256628('Heading\x205');case'Heading\x206':return _0x256628('Heading\x206');case'Horizontal\x20line':return _0x256628('Horizontal\x20line');case'Insert\x20HTML':return _0x256628('Insert\x20HTML');case'Increase\x20indent':return _0x256628('Increase\x20indent');case'Insert\x20table':return _0x256628('Insert\x20table');case'Table\x20of\x20contents':return _0x256628('Table\x20of\x20contents');case'Numbered\x20list':return _0x256628('Numbered\x20list');case'Decrease\x20indent':return _0x256628('Decrease\x20indent');case'Paragraph':return _0x256628('Paragraph');case'To-do\x20list':return _0x256628('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 _0x2d283a;}}(this['editor']['locale'],_0x23a0e4);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x53e4a9,'title':_0x2cdf2b('AI\x20Assistant'),'description':_0x2cdf2b('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x2b9fa6=>{setTimeout(()=>_0x2b9fa6['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x2977b6,'title':_0x2cdf2b('Block\x20quote'),'description':_0x2cdf2b('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x31bc86,'title':_0x2cdf2b('Bulleted\x20list'),'description':_0x2cdf2b('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x28e1b3,'title':_0x2cdf2b('Insert\x20code\x20block'),'description':_0x2cdf2b('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x4a50b2,'title':_0x2cdf2b('Open\x20file\x20manager'),'description':_0x2cdf2b('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x4a50b2,'title':_0x2cdf2b('Insert\x20image'),'description':_0x2cdf2b('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0xce0b2d,'title':_0x2cdf2b('Emoji'),'description':_0x2cdf2b('Insert\x20an\x20emoji'),'execute':_0x23b0b8=>{setTimeout(()=>_0x23b0b8['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x47a65b,'title':_0x2cdf2b('Heading\x201'),'description':_0x2cdf2b('Create\x20a\x20heading\x20level\x201'),'execute':_0x1dd1a=>{_0x1dd1a['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x1df2b5,'title':_0x2cdf2b('Heading\x202'),'description':_0x2cdf2b('Create\x20a\x20heading\x20level\x202'),'execute':_0x31978e=>{_0x31978e['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x4cb27b,'title':_0x2cdf2b('Heading\x203'),'description':_0x2cdf2b('Create\x20a\x20heading\x20level\x203'),'execute':_0x33d599=>{_0x33d599['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x3b2e76,'title':_0x2cdf2b('Heading\x204'),'description':_0x2cdf2b('Create\x20a\x20heading\x20level\x204'),'execute':_0x329081=>{_0x329081['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x580ed5,'title':_0x2cdf2b('Heading\x205'),'description':_0x2cdf2b('Create\x20a\x20heading\x20level\x205'),'execute':_0x51744d=>{_0x51744d['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x582971,'title':_0x2cdf2b('Heading\x206'),'description':_0x2cdf2b('Create\x20a\x20heading\x20level\x206'),'execute':_0x4c3088=>{_0x4c3088['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x3dd380,'title':_0x2cdf2b('Horizontal\x20line'),'description':_0x2cdf2b('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x30ec99,'title':_0x2cdf2b('Insert\x20HTML'),'description':_0x2cdf2b('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x1a9b66,'title':_0x2cdf2b('Increase\x20indent'),'description':_0x2cdf2b('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2cdf2b('Insert\x20Mermaid\x20diagram'),'description':_0x2cdf2b('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x4a7eeb,'title':_0x2cdf2b('Insert\x20table'),'description':_0x2cdf2b('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x20010a,'title':_0x2cdf2b('Table\x20of\x20contents'),'description':_0x2cdf2b('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x3944cf,'title':_0x2cdf2b('Numbered\x20list'),'description':_0x2cdf2b('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x3ceabe,'title':_0x2cdf2b('Decrease\x20indent'),'description':_0x2cdf2b('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x71061d,'title':_0x2cdf2b('Paragraph'),'description':_0x2cdf2b('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x2dc865,'title':_0x2cdf2b('To-do\x20list'),'description':_0x2cdf2b('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x4514b7,'title':_0x2cdf2b('Footnote'),'description':_0x2cdf2b('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x1ef50f){return _0x1ef50f['isEnabled']?_0x1ef50f['isEnabled'](this['editor']):!_0x1ef50f['commandName']||this['editor']['commands']['get'](_0x1ef50f['commandName'])['isEnabled'];}['_proxyExecute'](_0x25eb74){if(_0x25eb74['execute'])_0x25eb74['execute'](this['editor']);else{if(!_0x25eb74['commandName'])throw new _0x37fbfa('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x25eb74});this['editor']['execute'](_0x25eb74['commandName']);}}}function qb(_0x7638ff,_0x318b08){return _0x7638ff['title']<_0x318b08['title']?-0x1:_0x7638ff['title']>_0x318b08['title']?0x1:0x0;}function Wb(_0x43512c,_0x2b513f){return _0x2b513f+'-'+_0x43512c['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x13517b{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SlashCommandConfig];}['getMatchingCommands'](_0xb21a15){const _0x21f16e=_0xb21a15&&_0xb21a15['toLowerCase']();let _0x154dfb=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x154dfb=_0x154dfb['filter'](_0x294361=>_0x294361['isEnabled']()),_0x21f16e){const _0x6c9b8e=[],_0x5c73a3=[],_0x1bf1d9=[],_0x11eccc=[];for(const _0x53af65 of _0x154dfb)_0x53af65['id']['toLowerCase']()['includes'](_0x21f16e)?_0x6c9b8e['push'](_0x53af65):_0x53af65['title']['toLowerCase']()['includes'](_0x21f16e)?_0x5c73a3['push'](_0x53af65):_0x53af65['aliases']&&_0x53af65['aliases']['some'](_0x2029ad=>_0x2029ad['toLowerCase']()['includes'](_0x21f16e))?_0x1bf1d9['push'](_0x53af65):_0x53af65['description']&&_0x53af65['description']['toLowerCase']()['includes'](_0x21f16e)&&_0x11eccc['push'](_0x53af65);_0x154dfb=_0x6c9b8e['concat'](_0x5c73a3,_0x1bf1d9,_0x11eccc);}return _0x154dfb;}}class SlashCommandButtonView extends _0x2e803a{constructor(_0x50b7ea,_0x5d5a50){super(_0x50b7ea),this['textPartView']=this['_createTextPartView'](_0x50b7ea,_0x5d5a50),void 0x0!==_0x5d5a50['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x5d5a50['isIconColorInherited']),this['set']({'icon':_0x5d5a50['icon']||_0x2ccb5d,'withText':!0x0,'label':_0x5d5a50['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x153561,_0x162efe){const _0xe4b690=new _0x3989d4(_0x153561);return _0xe4b690['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x162efe['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x162efe['description']}]}]:[this['labelView']]}),_0xe4b690;}}class SlashCommandUI extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x170f17){super(_0x170f17),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3d793b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4cd96b;for(const _0x3db320 in _0x3d793b){const _0x5e018a=_0x3db320,_0x38d8bd=_0x3d793b[_0x5e018a];if('slashCommandLicenseKeyValid'==_0x38d8bd||'slashCommandLicenseKeyInvalid'==_0x38d8bd||'slashCommandLicenseKeyExpired'==_0x38d8bd||'slashCommandLicenseKeyDomainLimit'==_0x38d8bd||'slashCommandLicenseKeyNotAllowed'==_0x38d8bd||'slashCommandLicenseKeyEvaluationLimit'==_0x38d8bd||'slashCommandLicenseKeyUsageLimit'==_0x38d8bd){delete _0x3d793b[_0x5e018a],_0x4cd96b=_0x38d8bd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x4cd96b&&_0x3d793b['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x4cd96b&&_0x3d793b['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x4cd96b&&_0x3d793b['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x4cd96b&&_0x3d793b['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x4cd96b&&_0x3d793b['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x4cd96b&&_0x3d793b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x1c666a=this['editor'],_0x48c4d4=this['editor']['plugins']['get']('SlashCommandEditing'),_0x2208e1=_0x1c666a['config']['get']('mention.feeds');_0x2208e1['push']({'marker':'/','feed':_0x5d9435=>_0x48c4d4['getMatchingCommands'](_0x5d9435),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x1c666a['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x1c666a['config']['set']('mention.feeds',_0x2208e1);}['_overrideMentionExecuteListener'](){const _0x393dbf=this['editor'];_0x393dbf['commands']['get']('mention')['on']('execute',(_0x147654,_0x121d01)=>{const _0x1893c7=_0x121d01[0x0],_0x585a71=_0x393dbf['model'];'/'===_0x1893c7['marker']&&_0x585a71['change'](_0x58d7df=>{_0x58d7df['remove'](_0x1893c7['range']),_0x1893c7['mention']['execute'](),_0x147654['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x6948fd){const _0x37f571=this['editor']['locale'],_0x28212e=new SlashCommandButtonView(_0x37f571,_0x6948fd);return _0x28212e['render'](),_0x28212e['element'];}}class SlashCommand extends _0x13517b{static get['requires'](){return['Mention',SlashCommandEditing,SlashCommandUI];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function zb(_0x6626ef,_0x83a01f){const t=_0x6626ef['t'];switch(_0x83a01f){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 _0x83a01f;}}function Yb(_0x327689){const _0x5925b5=_0x327689['editing']['view']['document']['roots'],_0x294bce=_0x5925b5['length'];if(0x0===_0x294bce)throw new _0x37fbfa('source-editing-enhanced-editor-no-root',_0x327689);if(0x1===_0x294bce)return _0x5925b5['first']['rootName'];return Array['from'](_0x327689['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function Kb(_0x4b8acc){return Jb(_0x4b8acc['replace'](/^[\n\s]*/g,''))?_0x4b8acc['replace'](/\s+/g,''):_0x4b8acc;}function Jb(_0x229706){return _0x229706['startsWith']('<');}let ty=[],ey=[];function iy(_0x538d0a){if(_0x538d0a<0x300)return!0x1;for(let _0x1aa65e=0x0,_0x3a917f=ty['length'];;){let _0xda696a=_0x1aa65e+_0x3a917f>>0x1;if(_0x538d0a<ty[_0xda696a])_0x3a917f=_0xda696a;else{if(!(_0x538d0a>=ey[_0xda696a]))return!0x0;_0x1aa65e=_0xda696a+0x1;}if(_0x1aa65e==_0x3a917f)return!0x1;}}function sy(_0x509940){return _0x509940>=0x1f1e6&&_0x509940<=0x1f1ff;}((()=>{let _0x1203d4='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'](_0x462c59=>_0x462c59?parseInt(_0x462c59,0x24):0x1);for(let _0x39d4da=0x0,_0x31c0c5=0x0;_0x39d4da<_0x1203d4['length'];_0x39d4da++)(_0x39d4da%0x2?ey:ty)['push'](_0x31c0c5+=_0x1203d4[_0x39d4da]);})());function ny(_0x5e9c6f,_0x3b77c4,_0x278c24=!0x0,_0x10fe7e=!0x0){return(_0x278c24?ry:oy)(_0x5e9c6f,_0x3b77c4,_0x10fe7e);}function ry(_0x4806cb,_0xce752e,_0x24589b){if(_0xce752e==_0x4806cb['length'])return _0xce752e;_0xce752e&&cy(_0x4806cb['charCodeAt'](_0xce752e))&&ly(_0x4806cb['charCodeAt'](_0xce752e-0x1))&&_0xce752e--;let _0x14333d=ay(_0x4806cb,_0xce752e);for(_0xce752e+=hy(_0x14333d);_0xce752e<_0x4806cb['length'];){let _0x1f8091=ay(_0x4806cb,_0xce752e);if(0x200d==_0x14333d||0x200d==_0x1f8091||_0x24589b&&iy(_0x1f8091))_0xce752e+=hy(_0x1f8091),_0x14333d=_0x1f8091;else{if(!sy(_0x1f8091))break;{let _0x2b7516=0x0,_0x53dd5d=_0xce752e-0x2;for(;_0x53dd5d>=0x0&&sy(ay(_0x4806cb,_0x53dd5d));)_0x2b7516++,_0x53dd5d-=0x2;if(_0x2b7516%0x2==0x0)break;_0xce752e+=0x2;}}}return _0xce752e;}function oy(_0x22ca51,_0x7ba115,_0x145181){for(;_0x7ba115>0x0;){let _0x358d23=ry(_0x22ca51,_0x7ba115-0x2,_0x145181);if(_0x358d23<_0x7ba115)return _0x358d23;_0x7ba115--;}return 0x0;}function ay(_0xbc76f8,_0x14fad2){let _0x300840=_0xbc76f8['charCodeAt'](_0x14fad2);if(!ly(_0x300840)||_0x14fad2+0x1==_0xbc76f8['length'])return _0x300840;let _0x4a6bc3=_0xbc76f8['charCodeAt'](_0x14fad2+0x1);return cy(_0x4a6bc3)?_0x4a6bc3-0xdc00+(_0x300840-0xd800<<0xa)+0x10000:_0x300840;}function cy(_0x8fe07e){return _0x8fe07e>=0xdc00&&_0x8fe07e<0xe000;}function ly(_0x1d77db){return _0x1d77db>=0xd800&&_0x1d77db<0xdc00;}function hy(_0x5d2ce5){return _0x5d2ce5<0x10000?0x1:0x2;}class Text{['lineAt'](_0x468345){if(_0x468345<0x0||_0x468345>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x468345+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x468345,!0x1,0x1,0x0);}['line'](_0x370aa7){if(_0x370aa7<0x1||_0x370aa7>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x370aa7+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x370aa7,!0x0,0x1,0x0);}['replace'](_0x792380,_0x201f54,_0x10a41c){[_0x792380,_0x201f54]=my(this,_0x792380,_0x201f54);let _0x5bc2f7=[];return this['decompose'](0x0,_0x792380,_0x5bc2f7,0x2),_0x10a41c['length']&&_0x10a41c['decompose'](0x0,_0x10a41c['length'],_0x5bc2f7,0x3),this['decompose'](_0x201f54,this['length'],_0x5bc2f7,0x1),TextNode['from'](_0x5bc2f7,this['length']-(_0x201f54-_0x792380)+_0x10a41c['length']);}['append'](_0x282456){return this['replace'](this['length'],this['length'],_0x282456);}['slice'](_0x242878,_0x57b19c=this['length']){[_0x242878,_0x57b19c]=my(this,_0x242878,_0x57b19c);let _0x53c464=[];return this['decompose'](_0x242878,_0x57b19c,_0x53c464,0x0),TextNode['from'](_0x53c464,_0x57b19c-_0x242878);}['eq'](_0x1d11d3){if(_0x1d11d3==this)return!0x0;if(_0x1d11d3['length']!=this['length']||_0x1d11d3['lines']!=this['lines'])return!0x1;let _0x15ca21=this['scanIdentical'](_0x1d11d3,0x1),_0x57b3ce=this['length']-this['scanIdentical'](_0x1d11d3,-0x1),_0x56f150=new RawTextCursor(this),_0x5d5454=new RawTextCursor(_0x1d11d3);for(let _0x124b4f=_0x15ca21,_0x2879e3=_0x15ca21;;){if(_0x56f150['next'](_0x124b4f),_0x5d5454['next'](_0x124b4f),_0x124b4f=0x0,_0x56f150['lineBreak']!=_0x5d5454['lineBreak']||_0x56f150['done']!=_0x5d5454['done']||_0x56f150['value']!=_0x5d5454['value'])return!0x1;if(_0x2879e3+=_0x56f150['value']['length'],_0x56f150['done']||_0x2879e3>=_0x57b3ce)return!0x0;}}['iter'](_0x262019=0x1){return new RawTextCursor(this,_0x262019);}['iterRange'](_0x21c4c3,_0xcd6470=this['length']){return new PartialTextCursor(this,_0x21c4c3,_0xcd6470);}['iterLines'](_0x1e131c,_0xe5eb74){let _0x5058db;if(null==_0x1e131c)_0x5058db=this['iter']();else{null==_0xe5eb74&&(_0xe5eb74=this['lines']+0x1);let _0x52f1bd=this['line'](_0x1e131c)['from'];_0x5058db=this['iterRange'](_0x52f1bd,Math['max'](_0x52f1bd,_0xe5eb74==this['lines']+0x1?this['length']:_0xe5eb74<=0x1?0x0:this['line'](_0xe5eb74-0x1)['to']));}return new LineCursor(_0x5058db);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x2b9935=[];return this['flatten'](_0x2b9935),_0x2b9935;}constructor(){}static['of'](_0x195626){if(0x0==_0x195626['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x195626['length']||_0x195626[0x0]?_0x195626['length']<=0x20?new TextLeaf(_0x195626):TextNode['from'](TextLeaf['split'](_0x195626,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x31e6ff,_0x41e327=function(_0x2e5a63){let _0x1fcc8b=-0x1;for(let _0x53af50 of _0x2e5a63)_0x1fcc8b+=_0x53af50['length']+0x1;return _0x1fcc8b;}(_0x31e6ff)){super(),this['text']=_0x31e6ff,this['length']=_0x41e327;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x412c7b,_0xfb2215,_0x10269c,_0x3030a9){for(let _0x528868=0x0;;_0x528868++){let _0xc8cc43=this['text'][_0x528868],_0xb024d6=_0x3030a9+_0xc8cc43['length'];if((_0xfb2215?_0x10269c:_0xb024d6)>=_0x412c7b)return new fy(_0x3030a9,_0xb024d6,_0x10269c,_0xc8cc43);_0x3030a9=_0xb024d6+0x1,_0x10269c++;}}['decompose'](_0x415a26,_0x4ac2f4,_0xe38270,_0x1b46ab){let _0x3aee0=_0x415a26<=0x0&&_0x4ac2f4>=this['length']?this:new TextLeaf(dy(this['text'],_0x415a26,_0x4ac2f4),Math['min'](_0x4ac2f4,this['length'])-Math['max'](0x0,_0x415a26));if(0x1&_0x1b46ab){let _0x34c06f=_0xe38270['pop'](),_0x3882d5=uy(_0x3aee0['text'],_0x34c06f['text']['slice'](),0x0,_0x3aee0['length']);if(_0x3882d5['length']<=0x20)_0xe38270['push'](new TextLeaf(_0x3882d5,_0x34c06f['length']+_0x3aee0['length']));else{let _0x475c03=_0x3882d5['length']>>0x1;_0xe38270['push'](new TextLeaf(_0x3882d5['slice'](0x0,_0x475c03)),new TextLeaf(_0x3882d5['slice'](_0x475c03)));}}else _0xe38270['push'](_0x3aee0);}['replace'](_0x5e3128,_0x412b11,_0x30966b){if(!(_0x30966b instanceof TextLeaf))return super['replace'](_0x5e3128,_0x412b11,_0x30966b);[_0x5e3128,_0x412b11]=my(this,_0x5e3128,_0x412b11);let _0x4e6a63=uy(this['text'],uy(_0x30966b['text'],dy(this['text'],0x0,_0x5e3128)),_0x412b11),_0x4aa5a7=this['length']+_0x30966b['length']-(_0x412b11-_0x5e3128);return _0x4e6a63['length']<=0x20?new TextLeaf(_0x4e6a63,_0x4aa5a7):TextNode['from'](TextLeaf['split'](_0x4e6a63,[]),_0x4aa5a7);}['sliceString'](_0x63b4a9,_0x5171f1=this['length'],_0x15f00c='\x0a'){[_0x63b4a9,_0x5171f1]=my(this,_0x63b4a9,_0x5171f1);let _0x13d02b='';for(let _0xad0399=0x0,_0x4bb797=0x0;_0xad0399<=_0x5171f1&&_0x4bb797<this['text']['length'];_0x4bb797++){let _0x396c6f=this['text'][_0x4bb797],_0x38fe0c=_0xad0399+_0x396c6f['length'];_0xad0399>_0x63b4a9&&_0x4bb797&&(_0x13d02b+=_0x15f00c),_0x63b4a9<_0x38fe0c&&_0x5171f1>_0xad0399&&(_0x13d02b+=_0x396c6f['slice'](Math['max'](0x0,_0x63b4a9-_0xad0399),_0x5171f1-_0xad0399)),_0xad0399=_0x38fe0c+0x1;}return _0x13d02b;}['flatten'](_0x2d24da){for(let _0x4b4a28 of this['text'])_0x2d24da['push'](_0x4b4a28);}['scanIdentical'](){return 0x0;}static['split'](_0x24e260,_0x473b15){let _0x496456=[],_0x3d0433=-0x1;for(let _0x5e9254 of _0x24e260)_0x496456['push'](_0x5e9254),_0x3d0433+=_0x5e9254['length']+0x1,0x20==_0x496456['length']&&(_0x473b15['push'](new TextLeaf(_0x496456,_0x3d0433)),_0x496456=[],_0x3d0433=-0x1);return _0x3d0433>-0x1&&_0x473b15['push'](new TextLeaf(_0x496456,_0x3d0433)),_0x473b15;}}class TextNode extends Text{constructor(_0x3842d9,_0x273b79){super(),this['children']=_0x3842d9,this['length']=_0x273b79,this['lines']=0x0;for(let _0x20eba4 of _0x3842d9)this['lines']+=_0x20eba4['lines'];}['lineInner'](_0x48dbf4,_0x43903e,_0x24f9a7,_0xea9c42){for(let _0x58ff51=0x0;;_0x58ff51++){let _0x1636c3=this['children'][_0x58ff51],_0x69166c=_0xea9c42+_0x1636c3['length'],_0x4c3989=_0x24f9a7+_0x1636c3['lines']-0x1;if((_0x43903e?_0x4c3989:_0x69166c)>=_0x48dbf4)return _0x1636c3['lineInner'](_0x48dbf4,_0x43903e,_0x24f9a7,_0xea9c42);_0xea9c42=_0x69166c+0x1,_0x24f9a7=_0x4c3989+0x1;}}['decompose'](_0x50a2fd,_0x46ff55,_0x163b9a,_0x87de0a){for(let _0xf05df5=0x0,_0x3412f6=0x0;_0x3412f6<=_0x46ff55&&_0xf05df5<this['children']['length'];_0xf05df5++){let _0x587325=this['children'][_0xf05df5],_0x43a838=_0x3412f6+_0x587325['length'];if(_0x50a2fd<=_0x43a838&&_0x46ff55>=_0x3412f6){let _0x2db20b=_0x87de0a&((_0x3412f6<=_0x50a2fd?0x1:0x0)|(_0x43a838>=_0x46ff55?0x2:0x0));_0x3412f6>=_0x50a2fd&&_0x43a838<=_0x46ff55&&!_0x2db20b?_0x163b9a['push'](_0x587325):_0x587325['decompose'](_0x50a2fd-_0x3412f6,_0x46ff55-_0x3412f6,_0x163b9a,_0x2db20b);}_0x3412f6=_0x43a838+0x1;}}['replace'](_0x3d47f4,_0x12da0c,_0x1724ca){if([_0x3d47f4,_0x12da0c]=my(this,_0x3d47f4,_0x12da0c),_0x1724ca['lines']<this['lines'])for(let _0x289cb3=0x0,_0x8d563f=0x0;_0x289cb3<this['children']['length'];_0x289cb3++){let _0x5a065f=this['children'][_0x289cb3],_0x80c77f=_0x8d563f+_0x5a065f['length'];if(_0x3d47f4>=_0x8d563f&&_0x12da0c<=_0x80c77f){let _0x35afbe=_0x5a065f['replace'](_0x3d47f4-_0x8d563f,_0x12da0c-_0x8d563f,_0x1724ca),_0x4f4cca=this['lines']-_0x5a065f['lines']+_0x35afbe['lines'];if(_0x35afbe['lines']<_0x4f4cca>>0x4&&_0x35afbe['lines']>_0x4f4cca>>0x6){let _0x1e7164=this['children']['slice']();return _0x1e7164[_0x289cb3]=_0x35afbe,new TextNode(_0x1e7164,this['length']-(_0x12da0c-_0x3d47f4)+_0x1724ca['length']);}return super['replace'](_0x8d563f,_0x80c77f,_0x35afbe);}_0x8d563f=_0x80c77f+0x1;}return super['replace'](_0x3d47f4,_0x12da0c,_0x1724ca);}['sliceString'](_0xcefdef,_0x5a75ea=this['length'],_0x364fdc='\x0a'){[_0xcefdef,_0x5a75ea]=my(this,_0xcefdef,_0x5a75ea);let _0x3eac09='';for(let _0x4f4769=0x0,_0x1c1c52=0x0;_0x4f4769<this['children']['length']&&_0x1c1c52<=_0x5a75ea;_0x4f4769++){let _0x3a290c=this['children'][_0x4f4769],_0x1dc393=_0x1c1c52+_0x3a290c['length'];_0x1c1c52>_0xcefdef&&_0x4f4769&&(_0x3eac09+=_0x364fdc),_0xcefdef<_0x1dc393&&_0x5a75ea>_0x1c1c52&&(_0x3eac09+=_0x3a290c['sliceString'](_0xcefdef-_0x1c1c52,_0x5a75ea-_0x1c1c52,_0x364fdc)),_0x1c1c52=_0x1dc393+0x1;}return _0x3eac09;}['flatten'](_0x2125c2){for(let _0x53ccb9 of this['children'])_0x53ccb9['flatten'](_0x2125c2);}['scanIdentical'](_0x338edb,_0xef9aff){if(!(_0x338edb instanceof TextNode))return 0x0;let _0x52a89f=0x0,[_0x3c0ac1,_0x24110e,_0x1659af,_0x4e40f8]=_0xef9aff>0x0?[0x0,0x0,this['children']['length'],_0x338edb['children']['length']]:[this['children']['length']-0x1,_0x338edb['children']['length']-0x1,-0x1,-0x1];for(;;_0x3c0ac1+=_0xef9aff,_0x24110e+=_0xef9aff){if(_0x3c0ac1==_0x1659af||_0x24110e==_0x4e40f8)return _0x52a89f;let _0x3da5d5=this['children'][_0x3c0ac1],_0x325056=_0x338edb['children'][_0x24110e];if(_0x3da5d5!=_0x325056)return _0x52a89f+_0x3da5d5['scanIdentical'](_0x325056,_0xef9aff);_0x52a89f+=_0x3da5d5['length']+0x1;}}static['from'](_0x3985ba,_0x1fc910=_0x3985ba['reduce']((_0x50b1db,_0x3cb4e7)=>_0x50b1db+_0x3cb4e7['length']+0x1,-0x1)){let _0x5d9126=0x0;for(let _0x488b9c of _0x3985ba)_0x5d9126+=_0x488b9c['lines'];if(_0x5d9126<0x20){let _0x342b58=[];for(let _0x5189e2 of _0x3985ba)_0x5189e2['flatten'](_0x342b58);return new TextLeaf(_0x342b58,_0x1fc910);}let _0x188f0b=Math['max'](0x20,_0x5d9126>>0x5),_0x2ed456=_0x188f0b<<0x1,_0x286e12=_0x188f0b>>0x1,_0x11ed4b=[],_0x426f03=0x0,_0x522ebe=-0x1,_0x4be346=[];function _0x5b1219(_0x316350){let _0x20a45e;if(_0x316350['lines']>_0x2ed456&&_0x316350 instanceof TextNode){for(let _0x4a4bc3 of _0x316350['children'])_0x5b1219(_0x4a4bc3);}else _0x316350['lines']>_0x286e12&&(_0x426f03>_0x286e12||!_0x426f03)?(_0x5706f8(),_0x11ed4b['push'](_0x316350)):_0x316350 instanceof TextLeaf&&_0x426f03&&(_0x20a45e=_0x4be346[_0x4be346['length']-0x1])instanceof TextLeaf&&_0x316350['lines']+_0x20a45e['lines']<=0x20?(_0x426f03+=_0x316350['lines'],_0x522ebe+=_0x316350['length']+0x1,_0x4be346[_0x4be346['length']-0x1]=new TextLeaf(_0x20a45e['text']['concat'](_0x316350['text']),_0x20a45e['length']+0x1+_0x316350['length'])):(_0x426f03+_0x316350['lines']>_0x188f0b&&_0x5706f8(),_0x426f03+=_0x316350['lines'],_0x522ebe+=_0x316350['length']+0x1,_0x4be346['push'](_0x316350));}function _0x5706f8(){0x0!=_0x426f03&&(_0x11ed4b['push'](0x1==_0x4be346['length']?_0x4be346[0x0]:TextNode['from'](_0x4be346,_0x522ebe)),_0x522ebe=-0x1,_0x426f03=_0x4be346['length']=0x0);}for(let _0x24bf2c of _0x3985ba)_0x5b1219(_0x24bf2c);return _0x5706f8(),0x1==_0x11ed4b['length']?_0x11ed4b[0x0]:new TextNode(_0x11ed4b,_0x1fc910);}}function uy(_0x4932eb,_0x58b740,_0x1be137=0x0,_0x436262=0x3b9aca00){for(let _0x11dfaa=0x0,_0x475a99=0x0,_0x54f753=!0x0;_0x475a99<_0x4932eb['length']&&_0x11dfaa<=_0x436262;_0x475a99++){let _0xdd484b=_0x4932eb[_0x475a99],_0xcc53db=_0x11dfaa+_0xdd484b['length'];_0xcc53db>=_0x1be137&&(_0xcc53db>_0x436262&&(_0xdd484b=_0xdd484b['slice'](0x0,_0x436262-_0x11dfaa)),_0x11dfaa<_0x1be137&&(_0xdd484b=_0xdd484b['slice'](_0x1be137-_0x11dfaa)),_0x54f753?(_0x58b740[_0x58b740['length']-0x1]+=_0xdd484b,_0x54f753=!0x1):_0x58b740['push'](_0xdd484b)),_0x11dfaa=_0xcc53db+0x1;}return _0x58b740;}function dy(_0x4f9560,_0xf733dd,_0x1c2e0b){return uy(_0x4f9560,[''],_0xf733dd,_0x1c2e0b);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x34ae11,_0x3d4ded=0x1){this['dir']=_0x3d4ded,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x34ae11],this['offsets']=[_0x3d4ded>0x0?0x1:(_0x34ae11 instanceof TextLeaf?_0x34ae11['text']['length']:_0x34ae11['children']['length'])<<0x1];}['nextInner'](_0x46ba4c,_0x34695d){for(this['done']=this['lineBreak']=!0x1;;){let _0x15ca3b=this['nodes']['length']-0x1,_0x1bbe60=this['nodes'][_0x15ca3b],_0x357727=this['offsets'][_0x15ca3b],_0x227b0c=_0x357727>>0x1,_0xa2bb5=_0x1bbe60 instanceof TextLeaf?_0x1bbe60['text']['length']:_0x1bbe60['children']['length'];if(_0x227b0c==(_0x34695d>0x0?_0xa2bb5:0x0)){if(0x0==_0x15ca3b)return this['done']=!0x0,this['value']='',this;_0x34695d>0x0&&this['offsets'][_0x15ca3b-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x357727)==(_0x34695d>0x0?0x0:0x1)){if(this['offsets'][_0x15ca3b]+=_0x34695d,0x0==_0x46ba4c)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x46ba4c--;}else{if(_0x1bbe60 instanceof TextLeaf){let _0x32af0b=_0x1bbe60['text'][_0x227b0c+(_0x34695d<0x0?-0x1:0x0)];if(this['offsets'][_0x15ca3b]+=_0x34695d,_0x32af0b['length']>Math['max'](0x0,_0x46ba4c))return this['value']=0x0==_0x46ba4c?_0x32af0b:_0x34695d>0x0?_0x32af0b['slice'](_0x46ba4c):_0x32af0b['slice'](0x0,_0x32af0b['length']-_0x46ba4c),this;_0x46ba4c-=_0x32af0b['length'];}else{let _0x168866=_0x1bbe60['children'][_0x227b0c+(_0x34695d<0x0?-0x1:0x0)];_0x46ba4c>_0x168866['length']?(_0x46ba4c-=_0x168866['length'],this['offsets'][_0x15ca3b]+=_0x34695d):(_0x34695d<0x0&&this['offsets'][_0x15ca3b]--,this['nodes']['push'](_0x168866),this['offsets']['push'](_0x34695d>0x0?0x1:(_0x168866 instanceof TextLeaf?_0x168866['text']['length']:_0x168866['children']['length'])<<0x1));}}}}}['next'](_0x2baa07=0x0){return _0x2baa07<0x0&&(this['nextInner'](-_0x2baa07,-this['dir']),_0x2baa07=this['value']['length']),this['nextInner'](_0x2baa07,this['dir']);}}class PartialTextCursor{constructor(_0x8a18f2,_0x1b832e,_0x6cb838){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x8a18f2,_0x1b832e>_0x6cb838?-0x1:0x1),this['pos']=_0x1b832e>_0x6cb838?_0x8a18f2['length']:0x0,this['from']=Math['min'](_0x1b832e,_0x6cb838),this['to']=Math['max'](_0x1b832e,_0x6cb838);}['nextInner'](_0x237f30,_0x31812a){if(_0x31812a<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x237f30+=Math['max'](0x0,_0x31812a<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x3fab8c=_0x31812a<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x237f30>_0x3fab8c&&(_0x237f30=_0x3fab8c),_0x3fab8c-=_0x237f30;let {value:_0x206733}=this['cursor']['next'](_0x237f30);return this['pos']+=(_0x206733['length']+_0x237f30)*_0x31812a,this['value']=_0x206733['length']<=_0x3fab8c?_0x206733:_0x31812a<0x0?_0x206733['slice'](_0x206733['length']-_0x3fab8c):_0x206733['slice'](0x0,_0x3fab8c),this['done']=!this['value'],this;}['next'](_0x5916ea=0x0){return _0x5916ea<0x0?_0x5916ea=Math['max'](_0x5916ea,this['from']-this['pos']):_0x5916ea>0x0&&(_0x5916ea=Math['min'](_0x5916ea,this['to']-this['pos'])),this['nextInner'](_0x5916ea,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class LineCursor{constructor(_0x36b8a7){this['inner']=_0x36b8a7,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x329109=0x0){let {done:_0x4c7d0f,lineBreak:_0x391630,value:_0x4ee8eb}=this['inner']['next'](_0x329109);return _0x4c7d0f&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x4c7d0f?(this['done']=!0x0,this['value']=''):_0x391630?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x4ee8eb,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 fy=class Line{constructor(_0x43cc37,_0x1dc228,_0x165198,_0x379141){this['from']=_0x43cc37,this['to']=_0x1dc228,this['number']=_0x165198,this['text']=_0x379141;}get['length'](){return this['to']-this['from'];}};function my(_0x4a48f3,_0x424869,_0x4d3554){return[_0x424869=Math['max'](0x0,Math['min'](_0x4a48f3['length'],_0x424869)),Math['max'](_0x424869,Math['min'](_0x4a48f3['length'],_0x4d3554))];}function gy(_0xcd8a9f,_0x4dd7f6,_0x520ebc=!0x0,_0x52bc5a=!0x0){return ny(_0xcd8a9f,_0x4dd7f6,_0x520ebc,_0x52bc5a);}function py(_0x240e8e,_0x3757bc){let _0x41214b=_0x240e8e['charCodeAt'](_0x3757bc);if(!(_0x4659bd=_0x41214b,_0x4659bd>=0xd800&&_0x4659bd<0xdc00&&_0x3757bc+0x1!=_0x240e8e['length']))return _0x41214b;var _0x4659bd;let _0x4d054e=_0x240e8e['charCodeAt'](_0x3757bc+0x1);return function(_0x22507f){return _0x22507f>=0xdc00&&_0x22507f<0xe000;}(_0x4d054e)?_0x4d054e-0xdc00+(_0x41214b-0xd800<<0xa)+0x10000:_0x41214b;}function Oy(_0x3d1f96){return _0x3d1f96<=0xffff?String['fromCharCode'](_0x3d1f96):(_0x3d1f96-=0x10000,String['fromCharCode'](0xd800+(_0x3d1f96>>0xa),0xdc00+(0x3ff&_0x3d1f96)));}function wy(_0x3eeb0b){return _0x3eeb0b<0x10000?0x1:0x2;}const by=/\r\n?|\n/;var yy=function(_0x30925e){return _0x30925e[_0x30925e['Simple']=0x0]='Simple',_0x30925e[_0x30925e['TrackDel']=0x1]='TrackDel',_0x30925e[_0x30925e['TrackBefore']=0x2]='TrackBefore',_0x30925e[_0x30925e['TrackAfter']=0x3]='TrackAfter',_0x30925e;}(yy||(yy={}));class ChangeDesc{constructor(_0x5dcca6){this['sections']=_0x5dcca6;}get['length'](){let _0x1cd2a7=0x0;for(let _0x56f509=0x0;_0x56f509<this['sections']['length'];_0x56f509+=0x2)_0x1cd2a7+=this['sections'][_0x56f509];return _0x1cd2a7;}get['newLength'](){let _0x5e7538=0x0;for(let _0x3dfd12=0x0;_0x3dfd12<this['sections']['length'];_0x3dfd12+=0x2){let _0x56036e=this['sections'][_0x3dfd12+0x1];_0x5e7538+=_0x56036e<0x0?this['sections'][_0x3dfd12]:_0x56036e;}return _0x5e7538;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x3adcaf){for(let _0x36736b=0x0,_0xdede6d=0x0,_0x110dd1=0x0;_0x36736b<this['sections']['length'];){let _0x545398=this['sections'][_0x36736b++],_0xfed1df=this['sections'][_0x36736b++];_0xfed1df<0x0?(_0x3adcaf(_0xdede6d,_0x110dd1,_0x545398),_0x110dd1+=_0x545398):_0x110dd1+=_0xfed1df,_0xdede6d+=_0x545398;}}['iterChangedRanges'](_0x28b000,_0x3e3ff9=!0x1){Ty(this,_0x28b000,_0x3e3ff9);}get['invertedDesc'](){let _0x5d482e=[];for(let _0x59c925=0x0;_0x59c925<this['sections']['length'];){let _0x1cadae=this['sections'][_0x59c925++],_0x2afd78=this['sections'][_0x59c925++];_0x2afd78<0x0?_0x5d482e['push'](_0x1cadae,_0x2afd78):_0x5d482e['push'](_0x2afd78,_0x1cadae);}return new ChangeDesc(_0x5d482e);}['composeDesc'](_0x3687e4){return this['empty']?_0x3687e4:_0x3687e4['empty']?this:Ay(this,_0x3687e4);}['mapDesc'](_0x4f3bea,_0x253cff=!0x1){return _0x4f3bea['empty']?this:Ey(this,_0x4f3bea,_0x253cff);}['mapPos'](_0x282135,_0x48ef41=-0x1,_0x5f31eb=yy['Simple']){let _0x85db59=0x0,_0x2c8ac0=0x0;for(let _0x8fe162=0x0;_0x8fe162<this['sections']['length'];){let _0x500ad3=this['sections'][_0x8fe162++],_0x151460=this['sections'][_0x8fe162++],_0x2090dd=_0x85db59+_0x500ad3;if(_0x151460<0x0){if(_0x2090dd>_0x282135)return _0x2c8ac0+(_0x282135-_0x85db59);_0x2c8ac0+=_0x500ad3;}else{if(_0x5f31eb!=yy['Simple']&&_0x2090dd>=_0x282135&&(_0x5f31eb==yy['TrackDel']&&_0x85db59<_0x282135&&_0x2090dd>_0x282135||_0x5f31eb==yy['TrackBefore']&&_0x85db59<_0x282135||_0x5f31eb==yy['TrackAfter']&&_0x2090dd>_0x282135))return null;if(_0x2090dd>_0x282135||_0x2090dd==_0x282135&&_0x48ef41<0x0&&!_0x500ad3)return _0x282135==_0x85db59||_0x48ef41<0x0?_0x2c8ac0:_0x2c8ac0+_0x151460;_0x2c8ac0+=_0x151460;}_0x85db59=_0x2090dd;}if(_0x282135>_0x85db59)throw new RangeError('Position\x20'+_0x282135+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x85db59);return _0x2c8ac0;}['touchesRange'](_0x4753b5,_0x7c00b1=_0x4753b5){for(let _0x19f7c7=0x0,_0x6a44b9=0x0;_0x19f7c7<this['sections']['length']&&_0x6a44b9<=_0x7c00b1;){let _0x173258=_0x6a44b9+this['sections'][_0x19f7c7++];if(this['sections'][_0x19f7c7++]>=0x0&&_0x6a44b9<=_0x7c00b1&&_0x173258>=_0x4753b5)return!(_0x6a44b9<_0x4753b5&&_0x173258>_0x7c00b1)||'cover';_0x6a44b9=_0x173258;}return!0x1;}['toString'](){let _0x1afe47='';for(let _0x572b10=0x0;_0x572b10<this['sections']['length'];){let _0x1a5a54=this['sections'][_0x572b10++],_0x74fae3=this['sections'][_0x572b10++];_0x1afe47+=(_0x1afe47?'\x20':'')+_0x1a5a54+(_0x74fae3>=0x0?':'+_0x74fae3:'');}return _0x1afe47;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x35122d){if(!Array['isArray'](_0x35122d)||_0x35122d['length']%0x2||_0x35122d['some'](_0x5d70aa=>'number'!=typeof _0x5d70aa))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new ChangeDesc(_0x35122d);}static['create'](_0x52a2c8){return new ChangeDesc(_0x52a2c8);}}class ChangeSet extends ChangeDesc{constructor(_0x25a776,_0x4983d5){super(_0x25a776),this['inserted']=_0x4983d5;}['apply'](_0x386c22){if(this['length']!=_0x386c22['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return Ty(this,(_0x490721,_0x6960f1,_0x4d7ad7,_0x3fe7d2,_0x27bfca)=>_0x386c22=_0x386c22['replace'](_0x4d7ad7,_0x4d7ad7+(_0x6960f1-_0x490721),_0x27bfca),!0x1),_0x386c22;}['mapDesc'](_0x538ae3,_0xce73cc=!0x1){return Ey(this,_0x538ae3,_0xce73cc,!0x0);}['invert'](_0x37d2b7){let _0x2b2a71=this['sections']['slice'](),_0x24bf05=[];for(let _0x176d8e=0x0,_0x4ff168=0x0;_0x176d8e<_0x2b2a71['length'];_0x176d8e+=0x2){let _0x12174d=_0x2b2a71[_0x176d8e],_0x52802b=_0x2b2a71[_0x176d8e+0x1];if(_0x52802b>=0x0){_0x2b2a71[_0x176d8e]=_0x52802b,_0x2b2a71[_0x176d8e+0x1]=_0x12174d;let _0x4382cd=_0x176d8e>>0x1;for(;_0x24bf05['length']<_0x4382cd;)_0x24bf05['push'](Text['empty']);_0x24bf05['push'](_0x12174d?_0x37d2b7['slice'](_0x4ff168,_0x4ff168+_0x12174d):Text['empty']);}_0x4ff168+=_0x12174d;}return new ChangeSet(_0x2b2a71,_0x24bf05);}['compose'](_0x3c1387){return this['empty']?_0x3c1387:_0x3c1387['empty']?this:Ay(this,_0x3c1387,!0x0);}['map'](_0x5a65fc,_0x1fac2b=!0x1){return _0x5a65fc['empty']?this:Ey(this,_0x5a65fc,_0x1fac2b,!0x0);}['iterChanges'](_0x1222e0,_0x2c6ec7=!0x1){Ty(this,_0x1222e0,_0x2c6ec7);}get['desc'](){return ChangeDesc['create'](this['sections']);}['filter'](_0x5400a1){let _0x525c4d=[],_0x2968e2=[],_0x5c8a94=[],_0x37b53b=new SectionIter(this);t:for(let _0x534029=0x0,_0x426316=0x0;;){let _0x40ed38=_0x534029==_0x5400a1['length']?0x3b9aca00:_0x5400a1[_0x534029++];for(;_0x426316<_0x40ed38||_0x426316==_0x40ed38&&0x0==_0x37b53b['len'];){if(_0x37b53b['done'])break t;let _0x28be16=Math['min'](_0x37b53b['len'],_0x40ed38-_0x426316);_y(_0x5c8a94,_0x28be16,-0x1);let _0x38b215=-0x1==_0x37b53b['ins']?-0x1:0x0==_0x37b53b['off']?_0x37b53b['ins']:0x0;_y(_0x525c4d,_0x28be16,_0x38b215),_0x38b215>0x0&&vy(_0x2968e2,_0x525c4d,_0x37b53b['text']),_0x37b53b['forward'](_0x28be16),_0x426316+=_0x28be16;}let _0x20075c=_0x5400a1[_0x534029++];for(;_0x426316<_0x20075c;){if(_0x37b53b['done'])break t;let _0x378bb8=Math['min'](_0x37b53b['len'],_0x20075c-_0x426316);_y(_0x525c4d,_0x378bb8,-0x1),_y(_0x5c8a94,_0x378bb8,-0x1==_0x37b53b['ins']?-0x1:0x0==_0x37b53b['off']?_0x37b53b['ins']:0x0),_0x37b53b['forward'](_0x378bb8),_0x426316+=_0x378bb8;}}return{'changes':new ChangeSet(_0x525c4d,_0x2968e2),'filtered':ChangeDesc['create'](_0x5c8a94)};}['toJSON'](){let _0x393f8d=[];for(let _0x2e40e4=0x0;_0x2e40e4<this['sections']['length'];_0x2e40e4+=0x2){let _0x981501=this['sections'][_0x2e40e4],_0x48e9c4=this['sections'][_0x2e40e4+0x1];_0x48e9c4<0x0?_0x393f8d['push'](_0x981501):0x0==_0x48e9c4?_0x393f8d['push']([_0x981501]):_0x393f8d['push']([_0x981501]['concat'](this['inserted'][_0x2e40e4>>0x1]['toJSON']()));}return _0x393f8d;}static['of'](_0x17d35b,_0x1d0670,_0x32df35){let _0x5da038=[],_0x13b7c4=[],_0x57048d=0x0,_0x3bfc4f=null;function _0x44642b(_0x432c59=!0x1){if(!_0x432c59&&!_0x5da038['length'])return;_0x57048d<_0x1d0670&&_y(_0x5da038,_0x1d0670-_0x57048d,-0x1);let _0x47da3b=new ChangeSet(_0x5da038,_0x13b7c4);_0x3bfc4f=_0x3bfc4f?_0x3bfc4f['compose'](_0x47da3b['map'](_0x3bfc4f)):_0x47da3b,_0x5da038=[],_0x13b7c4=[],_0x57048d=0x0;}return function _0xd3d168(_0x294118){if(Array['isArray'](_0x294118)){for(let _0x1ddf8e of _0x294118)_0xd3d168(_0x1ddf8e);}else{if(_0x294118 instanceof ChangeSet){if(_0x294118['length']!=_0x1d0670)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x294118['length']+',\x20expected\x20'+_0x1d0670+')');_0x44642b(),_0x3bfc4f=_0x3bfc4f?_0x3bfc4f['compose'](_0x294118['map'](_0x3bfc4f)):_0x294118;}else{let {from:_0x39daf9,to:_0x469baa=_0x39daf9,insert:_0xf5867e}=_0x294118;if(_0x39daf9>_0x469baa||_0x39daf9<0x0||_0x469baa>_0x1d0670)throw new RangeError('Invalid\x20change\x20range\x20'+_0x39daf9+'\x20to\x20'+_0x469baa+'\x20(in\x20doc\x20of\x20length\x20'+_0x1d0670+')');let _0x4b9c60=_0xf5867e?'string'==typeof _0xf5867e?Text['of'](_0xf5867e['split'](_0x32df35||by)):_0xf5867e:Text['empty'],_0x2cef12=_0x4b9c60['length'];if(_0x39daf9==_0x469baa&&0x0==_0x2cef12)return;_0x39daf9<_0x57048d&&_0x44642b(),_0x39daf9>_0x57048d&&_y(_0x5da038,_0x39daf9-_0x57048d,-0x1),_y(_0x5da038,_0x469baa-_0x39daf9,_0x2cef12),vy(_0x13b7c4,_0x5da038,_0x4b9c60),_0x57048d=_0x469baa;}}}(_0x17d35b),_0x44642b(!_0x3bfc4f),_0x3bfc4f;}static['empty'](_0x4b2f){return new ChangeSet(_0x4b2f?[_0x4b2f,-0x1]:[],[]);}static['fromJSON'](_0x19c5b2){if(!Array['isArray'](_0x19c5b2))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x3da807=[],_0x124839=[];for(let _0x1d9e89=0x0;_0x1d9e89<_0x19c5b2['length'];_0x1d9e89++){let _0x4206a8=_0x19c5b2[_0x1d9e89];if('number'==typeof _0x4206a8)_0x3da807['push'](_0x4206a8,-0x1);else{if(!Array['isArray'](_0x4206a8)||'number'!=typeof _0x4206a8[0x0]||_0x4206a8['some']((_0x107e20,_0x414c95)=>_0x414c95&&'string'!=typeof _0x107e20))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x4206a8['length'])_0x3da807['push'](_0x4206a8[0x0],0x0);else{for(;_0x124839['length']<_0x1d9e89;)_0x124839['push'](Text['empty']);_0x124839[_0x1d9e89]=Text['of'](_0x4206a8['slice'](0x1)),_0x3da807['push'](_0x4206a8[0x0],_0x124839[_0x1d9e89]['length']);}}}return new ChangeSet(_0x3da807,_0x124839);}static['createSet'](_0x19713f,_0x41a8e4){return new ChangeSet(_0x19713f,_0x41a8e4);}}function _y(_0x285253,_0x269d6d,_0x435a1e,_0x27bf2c=!0x1){if(0x0==_0x269d6d&&_0x435a1e<=0x0)return;let _0x46bd3e=_0x285253['length']-0x2;_0x46bd3e>=0x0&&_0x435a1e<=0x0&&_0x435a1e==_0x285253[_0x46bd3e+0x1]?_0x285253[_0x46bd3e]+=_0x269d6d:_0x46bd3e>=0x0&&0x0==_0x269d6d&&0x0==_0x285253[_0x46bd3e]?_0x285253[_0x46bd3e+0x1]+=_0x435a1e:_0x27bf2c?(_0x285253[_0x46bd3e]+=_0x269d6d,_0x285253[_0x46bd3e+0x1]+=_0x435a1e):_0x285253['push'](_0x269d6d,_0x435a1e);}function vy(_0x51e0c8,_0x44813e,_0x384988){if(0x0==_0x384988['length'])return;let _0x4a3082=_0x44813e['length']-0x2>>0x1;if(_0x4a3082<_0x51e0c8['length'])_0x51e0c8[_0x51e0c8['length']-0x1]=_0x51e0c8[_0x51e0c8['length']-0x1]['append'](_0x384988);else{for(;_0x51e0c8['length']<_0x4a3082;)_0x51e0c8['push'](Text['empty']);_0x51e0c8['push'](_0x384988);}}function Ty(_0x2e3c89,_0x229c7f,_0x16b246){let _0x598fe0=_0x2e3c89['inserted'];for(let _0x3b70af=0x0,_0x1dbf34=0x0,_0x5bf7fb=0x0;_0x5bf7fb<_0x2e3c89['sections']['length'];){let _0x7084c9=_0x2e3c89['sections'][_0x5bf7fb++],_0xcd0ccb=_0x2e3c89['sections'][_0x5bf7fb++];if(_0xcd0ccb<0x0)_0x3b70af+=_0x7084c9,_0x1dbf34+=_0x7084c9;else{let _0x2cc487=_0x3b70af,_0x110cb0=_0x1dbf34,_0x5a27c3=Text['empty'];for(;_0x2cc487+=_0x7084c9,_0x110cb0+=_0xcd0ccb,_0xcd0ccb&&_0x598fe0&&(_0x5a27c3=_0x5a27c3['append'](_0x598fe0[_0x5bf7fb-0x2>>0x1])),!(_0x16b246||_0x5bf7fb==_0x2e3c89['sections']['length']||_0x2e3c89['sections'][_0x5bf7fb+0x1]<0x0);)_0x7084c9=_0x2e3c89['sections'][_0x5bf7fb++],_0xcd0ccb=_0x2e3c89['sections'][_0x5bf7fb++];_0x229c7f(_0x3b70af,_0x2cc487,_0x1dbf34,_0x110cb0,_0x5a27c3),_0x3b70af=_0x2cc487,_0x1dbf34=_0x110cb0;}}}function Ey(_0x3560fb,_0x759ee7,_0xeb2a17,_0x1fe769=!0x1){let _0x503330=[],_0x493cc5=_0x1fe769?[]:null,_0x2fd3da=new SectionIter(_0x3560fb),_0x109c2f=new SectionIter(_0x759ee7);for(let _0x4b5473=-0x1;;){if(_0x2fd3da['done']&&_0x109c2f['len']||_0x109c2f['done']&&_0x2fd3da['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x2fd3da['ins']&&-0x1==_0x109c2f['ins']){let _0x1a771b=Math['min'](_0x2fd3da['len'],_0x109c2f['len']);_y(_0x503330,_0x1a771b,-0x1),_0x2fd3da['forward'](_0x1a771b),_0x109c2f['forward'](_0x1a771b);}else{if(_0x109c2f['ins']>=0x0&&(_0x2fd3da['ins']<0x0||_0x4b5473==_0x2fd3da['i']||0x0==_0x2fd3da['off']&&(_0x109c2f['len']<_0x2fd3da['len']||_0x109c2f['len']==_0x2fd3da['len']&&!_0xeb2a17))){let _0x3dc8a0=_0x109c2f['len'];for(_y(_0x503330,_0x109c2f['ins'],-0x1);_0x3dc8a0;){let _0x154218=Math['min'](_0x2fd3da['len'],_0x3dc8a0);_0x2fd3da['ins']>=0x0&&_0x4b5473<_0x2fd3da['i']&&_0x2fd3da['len']<=_0x154218&&(_y(_0x503330,0x0,_0x2fd3da['ins']),_0x493cc5&&vy(_0x493cc5,_0x503330,_0x2fd3da['text']),_0x4b5473=_0x2fd3da['i']),_0x2fd3da['forward'](_0x154218),_0x3dc8a0-=_0x154218;}_0x109c2f['next']();}else{if(!(_0x2fd3da['ins']>=0x0)){if(_0x2fd3da['done']&&_0x109c2f['done'])return _0x493cc5?ChangeSet['createSet'](_0x503330,_0x493cc5):ChangeDesc['create'](_0x503330);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x54bea5=0x0,_0x8a4839=_0x2fd3da['len'];for(;_0x8a4839;)if(-0x1==_0x109c2f['ins']){let _0x47ac70=Math['min'](_0x8a4839,_0x109c2f['len']);_0x54bea5+=_0x47ac70,_0x8a4839-=_0x47ac70,_0x109c2f['forward'](_0x47ac70);}else{if(!(0x0==_0x109c2f['ins']&&_0x109c2f['len']<_0x8a4839))break;_0x8a4839-=_0x109c2f['len'],_0x109c2f['next']();}_y(_0x503330,_0x54bea5,_0x4b5473<_0x2fd3da['i']?_0x2fd3da['ins']:0x0),_0x493cc5&&_0x4b5473<_0x2fd3da['i']&&vy(_0x493cc5,_0x503330,_0x2fd3da['text']),_0x4b5473=_0x2fd3da['i'],_0x2fd3da['forward'](_0x2fd3da['len']-_0x8a4839);}}}}}function Ay(_0x586a7c,_0x3648cb,_0x40dcd6=!0x1){let _0x2558a1=[],_0x309af0=_0x40dcd6?[]:null,_0x130a1d=new SectionIter(_0x586a7c),_0x5ce4f7=new SectionIter(_0x3648cb);for(let _0x363728=!0x1;;){if(_0x130a1d['done']&&_0x5ce4f7['done'])return _0x309af0?ChangeSet['createSet'](_0x2558a1,_0x309af0):ChangeDesc['create'](_0x2558a1);if(0x0==_0x130a1d['ins'])_y(_0x2558a1,_0x130a1d['len'],0x0,_0x363728),_0x130a1d['next']();else{if(0x0!=_0x5ce4f7['len']||_0x5ce4f7['done']){if(_0x130a1d['done']||_0x5ce4f7['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x454407=Math['min'](_0x130a1d['len2'],_0x5ce4f7['len']),_0x8114c1=_0x2558a1['length'];if(-0x1==_0x130a1d['ins']){let _0x41e6a7=-0x1==_0x5ce4f7['ins']?-0x1:_0x5ce4f7['off']?0x0:_0x5ce4f7['ins'];_y(_0x2558a1,_0x454407,_0x41e6a7,_0x363728),_0x309af0&&_0x41e6a7&&vy(_0x309af0,_0x2558a1,_0x5ce4f7['text']);}else-0x1==_0x5ce4f7['ins']?(_y(_0x2558a1,_0x130a1d['off']?0x0:_0x130a1d['len'],_0x454407,_0x363728),_0x309af0&&vy(_0x309af0,_0x2558a1,_0x130a1d['textBit'](_0x454407))):(_y(_0x2558a1,_0x130a1d['off']?0x0:_0x130a1d['len'],_0x5ce4f7['off']?0x0:_0x5ce4f7['ins'],_0x363728),_0x309af0&&!_0x5ce4f7['off']&&vy(_0x309af0,_0x2558a1,_0x5ce4f7['text']));_0x363728=(_0x130a1d['ins']>_0x454407||_0x5ce4f7['ins']>=0x0&&_0x5ce4f7['len']>_0x454407)&&(_0x363728||_0x2558a1['length']>_0x8114c1),_0x130a1d['forward2'](_0x454407),_0x5ce4f7['forward'](_0x454407);}}else _y(_0x2558a1,0x0,_0x5ce4f7['ins'],_0x363728),_0x309af0&&vy(_0x309af0,_0x2558a1,_0x5ce4f7['text']),_0x5ce4f7['next']();}}}class SectionIter{constructor(_0x5a96d5){this['set']=_0x5a96d5,this['i']=0x0,this['next']();}['next'](){let {sections:_0x3d73f2}=this['set'];this['i']<_0x3d73f2['length']?(this['len']=_0x3d73f2[this['i']++],this['ins']=_0x3d73f2[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:_0x390701}=this['set'],_0x2ddc7f=this['i']-0x2>>0x1;return _0x2ddc7f>=_0x390701['length']?Text['empty']:_0x390701[_0x2ddc7f];}['textBit'](_0x3e9cd4){let {inserted:_0x462dc1}=this['set'],_0x206983=this['i']-0x2>>0x1;return _0x206983>=_0x462dc1['length']&&!_0x3e9cd4?Text['empty']:_0x462dc1[_0x206983]['slice'](this['off'],null==_0x3e9cd4?void 0x0:this['off']+_0x3e9cd4);}['forward'](_0x2a1c4b){_0x2a1c4b==this['len']?this['next']():(this['len']-=_0x2a1c4b,this['off']+=_0x2a1c4b);}['forward2'](_0x43dffc){-0x1==this['ins']?this['forward'](_0x43dffc):_0x43dffc==this['ins']?this['next']():(this['ins']-=_0x43dffc,this['off']+=_0x43dffc);}}class SelectionRange{constructor(_0x2aa40e,_0x4d5f86,_0x160a72){this['from']=_0x2aa40e,this['to']=_0x4d5f86,this['flags']=_0x160a72;}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 _0x4de14b=0x7&this['flags'];return 0x7==_0x4de14b?null:_0x4de14b;}get['goalColumn'](){let _0x5bd60e=this['flags']>>0x6;return 0xffffff==_0x5bd60e?void 0x0:_0x5bd60e;}['map'](_0xcf5725,_0x4625a3=-0x1){let _0x278ed1,_0x3eaf2d;return this['empty']?_0x278ed1=_0x3eaf2d=_0xcf5725['mapPos'](this['from'],_0x4625a3):(_0x278ed1=_0xcf5725['mapPos'](this['from'],0x1),_0x3eaf2d=_0xcf5725['mapPos'](this['to'],-0x1)),_0x278ed1==this['from']&&_0x3eaf2d==this['to']?this:new SelectionRange(_0x278ed1,_0x3eaf2d,this['flags']);}['extend'](_0x449834,_0x4c7fc4=_0x449834){if(_0x449834<=this['anchor']&&_0x4c7fc4>=this['anchor'])return EditorSelection['range'](_0x449834,_0x4c7fc4);let _0x5c1790=Math['abs'](_0x449834-this['anchor'])>Math['abs'](_0x4c7fc4-this['anchor'])?_0x449834:_0x4c7fc4;return EditorSelection['range'](this['anchor'],_0x5c1790);}['eq'](_0x263c23,_0x5bd020=!0x1){return!(this['anchor']!=_0x263c23['anchor']||this['head']!=_0x263c23['head']||_0x5bd020&&this['empty']&&this['assoc']!=_0x263c23['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x1a546b){if(!_0x1a546b||'number'!=typeof _0x1a546b['anchor']||'number'!=typeof _0x1a546b['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x1a546b['anchor'],_0x1a546b['head']);}static['create'](_0x176209,_0x20954b,_0x2fc796){return new SelectionRange(_0x176209,_0x20954b,_0x2fc796);}}class EditorSelection{constructor(_0x22069a,_0x48481e){this['ranges']=_0x22069a,this['mainIndex']=_0x48481e;}['map'](_0x5acb9d,_0x20893d=-0x1){return _0x5acb9d['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x4c95dd=>_0x4c95dd['map'](_0x5acb9d,_0x20893d)),this['mainIndex']);}['eq'](_0x47e162,_0x735bf9=!0x1){if(this['ranges']['length']!=_0x47e162['ranges']['length']||this['mainIndex']!=_0x47e162['mainIndex'])return!0x1;for(let _0x26cfd2=0x0;_0x26cfd2<this['ranges']['length'];_0x26cfd2++)if(!this['ranges'][_0x26cfd2]['eq'](_0x47e162['ranges'][_0x26cfd2],_0x735bf9))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x3b298a,_0x2288b2=!0x0){return EditorSelection['create']([_0x3b298a]['concat'](this['ranges']),_0x2288b2?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x59c0c9,_0x21aed3=this['mainIndex']){let _0x403e87=this['ranges']['slice']();return _0x403e87[_0x21aed3]=_0x59c0c9,EditorSelection['create'](_0x403e87,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x5a407b=>_0x5a407b['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x13f018){if(!_0x13f018||!Array['isArray'](_0x13f018['ranges'])||'number'!=typeof _0x13f018['main']||_0x13f018['main']>=_0x13f018['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x13f018['ranges']['map'](_0x5dc63f=>SelectionRange['fromJSON'](_0x5dc63f)),_0x13f018['main']);}static['single'](_0x53afc4,_0x4f70ba=_0x53afc4){return new EditorSelection([EditorSelection['range'](_0x53afc4,_0x4f70ba)],0x0);}static['create'](_0x4a80c9,_0x407708=0x0){if(0x0==_0x4a80c9['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x4f857e=0x0,_0x195087=0x0;_0x195087<_0x4a80c9['length'];_0x195087++){let _0x381459=_0x4a80c9[_0x195087];if(_0x381459['empty']?_0x381459['from']<=_0x4f857e:_0x381459['from']<_0x4f857e)return EditorSelection['normalized'](_0x4a80c9['slice'](),_0x407708);_0x4f857e=_0x381459['to'];}return new EditorSelection(_0x4a80c9,_0x407708);}static['cursor'](_0x2a4d14,_0x578648=0x0,_0x1c6a98,_0x1662ea){return SelectionRange['create'](_0x2a4d14,_0x2a4d14,(0x0==_0x578648?0x0:_0x578648<0x0?0x8:0x10)|(null==_0x1c6a98?0x7:Math['min'](0x6,_0x1c6a98))|(null!=_0x1662ea?_0x1662ea:0xffffff)<<0x6);}static['range'](_0x1118c1,_0xa7649c,_0x5986da,_0x5a0225){let _0x157267=(null!=_0x5986da?_0x5986da:0xffffff)<<0x6|(null==_0x5a0225?0x7:Math['min'](0x6,_0x5a0225));return _0xa7649c<_0x1118c1?SelectionRange['create'](_0xa7649c,_0x1118c1,0x30|_0x157267):SelectionRange['create'](_0x1118c1,_0xa7649c,(_0xa7649c>_0x1118c1?0x8:0x0)|_0x157267);}static['normalized'](_0xece056,_0xda1eb4=0x0){let _0x2d8969=_0xece056[_0xda1eb4];_0xece056['sort']((_0x2a32fb,_0x52275d)=>_0x2a32fb['from']-_0x52275d['from']),_0xda1eb4=_0xece056['indexOf'](_0x2d8969);for(let _0x5349cf=0x1;_0x5349cf<_0xece056['length'];_0x5349cf++){let _0x1bec68=_0xece056[_0x5349cf],_0x33c08c=_0xece056[_0x5349cf-0x1];if(_0x1bec68['empty']?_0x1bec68['from']<=_0x33c08c['to']:_0x1bec68['from']<_0x33c08c['to']){let _0x5be4b2=_0x33c08c['from'],_0x4f779a=Math['max'](_0x1bec68['to'],_0x33c08c['to']);_0x5349cf<=_0xda1eb4&&_0xda1eb4--,_0xece056['splice'](--_0x5349cf,0x2,_0x1bec68['anchor']>_0x1bec68['head']?EditorSelection['range'](_0x4f779a,_0x5be4b2):EditorSelection['range'](_0x5be4b2,_0x4f779a));}}return new EditorSelection(_0xece056,_0xda1eb4);}}function Iy(_0xaa85ac,_0x518353){for(let _0x41e508 of _0xaa85ac['ranges'])if(_0x41e508['to']>_0x518353)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let Sy=0x0;class Facet{constructor(_0x285aa9,_0x6f34b7,_0x5d395a,_0x13a33e,_0x479d9e){this['combine']=_0x285aa9,this['compareInput']=_0x6f34b7,this['compare']=_0x5d395a,this['isStatic']=_0x13a33e,this['id']=Sy++,this['default']=_0x285aa9([]),this['extensions']='function'==typeof _0x479d9e?_0x479d9e(this):_0x479d9e;}get['reader'](){return this;}static['define'](_0x136f02={}){return new Facet(_0x136f02['combine']||(_0x37cfa1=>_0x37cfa1),_0x136f02['compareInput']||((_0x481b5e,_0x10bfe5)=>_0x481b5e===_0x10bfe5),_0x136f02['compare']||(_0x136f02['combine']?(_0x90ec8,_0x380a63)=>_0x90ec8===_0x380a63:Cy),!!_0x136f02['static'],_0x136f02['enables']);}['of'](_0x1bf122){return new FacetProvider([],this,0x0,_0x1bf122);}['compute'](_0x1838fa,_0x3f6519){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x1838fa,this,0x1,_0x3f6519);}['computeN'](_0x291e01,_0x4f56a1){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x291e01,this,0x2,_0x4f56a1);}['from'](_0x4d41d4,_0x4bb0f0){return _0x4bb0f0||(_0x4bb0f0=_0x146287=>_0x146287),this['compute']([_0x4d41d4],_0x5cecd5=>_0x4bb0f0(_0x5cecd5['field'](_0x4d41d4)));}}function Cy(_0x3bde1d,_0x1917f5){return _0x3bde1d==_0x1917f5||_0x3bde1d['length']==_0x1917f5['length']&&_0x3bde1d['every']((_0x499fec,_0x438b1f)=>_0x499fec===_0x1917f5[_0x438b1f]);}class FacetProvider{constructor(_0x11d170,_0x1f3e18,_0xab5a7e,_0x4904c7){this['dependencies']=_0x11d170,this['facet']=_0x1f3e18,this['type']=_0xab5a7e,this['value']=_0x4904c7,this['id']=Sy++;}['dynamicSlot'](_0x4345d6){var _0x94ab2b;let _0x2cb7b9=this['value'],_0x284f61=this['facet']['compareInput'],_0x18c929=this['id'],_0x49baf6=_0x4345d6[_0x18c929]>>0x1,_0x3fcc43=0x2==this['type'],_0x4a1908=!0x1,_0x575949=!0x1,_0x3ae961=[];for(let _0x3a3186 of this['dependencies'])'doc'==_0x3a3186?_0x4a1908=!0x0:'selection'==_0x3a3186?_0x575949=!0x0:0x1&(null!==(_0x94ab2b=_0x4345d6[_0x3a3186['id']])&&void 0x0!==_0x94ab2b?_0x94ab2b:0x1)||_0x3ae961['push'](_0x4345d6[_0x3a3186['id']]);return{'create':_0x15522f=>(_0x15522f['values'][_0x49baf6]=_0x2cb7b9(_0x15522f),0x1),'update'(_0x209e0f,_0x4a4b5f){if(_0x4a1908&&_0x4a4b5f['docChanged']||_0x575949&&(_0x4a4b5f['docChanged']||_0x4a4b5f['selection'])||xy(_0x209e0f,_0x3ae961)){let _0xafef5f=_0x2cb7b9(_0x209e0f);if(_0x3fcc43?!ky(_0xafef5f,_0x209e0f['values'][_0x49baf6],_0x284f61):!_0x284f61(_0xafef5f,_0x209e0f['values'][_0x49baf6]))return _0x209e0f['values'][_0x49baf6]=_0xafef5f,0x1;}return 0x0;},'reconfigure':(_0x589272,_0x27379d)=>{let _0x367ade,_0xd685f7=_0x27379d['config']['address'][_0x18c929];if(null!=_0xd685f7){let _0x1d583f=Uy(_0x27379d,_0xd685f7);if(this['dependencies']['every'](_0x9099c4=>_0x9099c4 instanceof Facet?_0x27379d['facet'](_0x9099c4)===_0x589272['facet'](_0x9099c4):!(_0x9099c4 instanceof StateField)||_0x27379d['field'](_0x9099c4,!0x1)==_0x589272['field'](_0x9099c4,!0x1))||(_0x3fcc43?ky(_0x367ade=_0x2cb7b9(_0x589272),_0x1d583f,_0x284f61):_0x284f61(_0x367ade=_0x2cb7b9(_0x589272),_0x1d583f)))return _0x589272['values'][_0x49baf6]=_0x1d583f,0x0;}else _0x367ade=_0x2cb7b9(_0x589272);return _0x589272['values'][_0x49baf6]=_0x367ade,0x1;}};}}function ky(_0x573cdf,_0x3a18bb,_0x4e249a){if(_0x573cdf['length']!=_0x3a18bb['length'])return!0x1;for(let _0x5a1d66=0x0;_0x5a1d66<_0x573cdf['length'];_0x5a1d66++)if(!_0x4e249a(_0x573cdf[_0x5a1d66],_0x3a18bb[_0x5a1d66]))return!0x1;return!0x0;}function xy(_0x345ff7,_0x4ec63a){let _0x5aede3=!0x1;for(let _0x1c25b2 of _0x4ec63a)0x1&Vy(_0x345ff7,_0x1c25b2)&&(_0x5aede3=!0x0);return _0x5aede3;}function Ry(_0x33154d,_0x1fb3d5,_0x5e030e){let _0x5ddba8=_0x5e030e['map'](_0x5673aa=>_0x33154d[_0x5673aa['id']]),_0x537753=_0x5e030e['map'](_0x57e2d5=>_0x57e2d5['type']),_0x589a55=_0x5ddba8['filter'](_0x1ef124=>!(0x1&_0x1ef124)),_0xbf77b8=_0x33154d[_0x1fb3d5['id']]>>0x1;function _0x2319de(_0x3513b9){let _0x57e427=[];for(let _0x12c61f=0x0;_0x12c61f<_0x5ddba8['length'];_0x12c61f++){let _0x5c5ed9=Uy(_0x3513b9,_0x5ddba8[_0x12c61f]);if(0x2==_0x537753[_0x12c61f]){for(let _0x29ae0f of _0x5c5ed9)_0x57e427['push'](_0x29ae0f);}else _0x57e427['push'](_0x5c5ed9);}return _0x1fb3d5['combine'](_0x57e427);}return{'create'(_0x13f326){for(let _0x28c77f of _0x5ddba8)Vy(_0x13f326,_0x28c77f);return _0x13f326['values'][_0xbf77b8]=_0x2319de(_0x13f326),0x1;},'update'(_0x14806d,_0x2460a5){if(!xy(_0x14806d,_0x589a55))return 0x0;let _0x1795d2=_0x2319de(_0x14806d);return _0x1fb3d5['compare'](_0x1795d2,_0x14806d['values'][_0xbf77b8])?0x0:(_0x14806d['values'][_0xbf77b8]=_0x1795d2,0x1);},'reconfigure'(_0x4d745d,_0x30efaa){let _0x51b478=xy(_0x4d745d,_0x5ddba8),_0x3ea84d=_0x30efaa['config']['facets'][_0x1fb3d5['id']],_0x2c813d=_0x30efaa['facet'](_0x1fb3d5);if(_0x3ea84d&&!_0x51b478&&Cy(_0x5e030e,_0x3ea84d))return _0x4d745d['values'][_0xbf77b8]=_0x2c813d,0x0;let _0x47727a=_0x2319de(_0x4d745d);return _0x1fb3d5['compare'](_0x47727a,_0x2c813d)?(_0x4d745d['values'][_0xbf77b8]=_0x2c813d,0x0):(_0x4d745d['values'][_0xbf77b8]=_0x47727a,0x1);}};}const Py=Facet['define']({'static':!0x0});class StateField{constructor(_0x1819ca,_0xc9ced8,_0x48b3cf,_0x3fa660,_0x55c1c4){this['id']=_0x1819ca,this['createF']=_0xc9ced8,this['updateF']=_0x48b3cf,this['compareF']=_0x3fa660,this['spec']=_0x55c1c4,this['provides']=void 0x0;}static['define'](_0x1f6629){let _0x52fc83=new StateField(Sy++,_0x1f6629['create'],_0x1f6629['update'],_0x1f6629['compare']||((_0x42630c,_0x41cf4f)=>_0x42630c===_0x41cf4f),_0x1f6629);return _0x1f6629['provide']&&(_0x52fc83['provides']=_0x1f6629['provide'](_0x52fc83)),_0x52fc83;}['create'](_0x57a233){let _0x2c34d3=_0x57a233['facet'](Py)['find'](_0x2614be=>_0x2614be['field']==this);return((null==_0x2c34d3?void 0x0:_0x2c34d3['create'])||this['createF'])(_0x57a233);}['slot'](_0x1fa361){let _0x419641=_0x1fa361[this['id']]>>0x1;return{'create':_0x3cfe86=>(_0x3cfe86['values'][_0x419641]=this['create'](_0x3cfe86),0x1),'update':(_0x22c4a9,_0x49485c)=>{let _0x2c31f6=_0x22c4a9['values'][_0x419641],_0x24e09b=this['updateF'](_0x2c31f6,_0x49485c);return this['compareF'](_0x2c31f6,_0x24e09b)?0x0:(_0x22c4a9['values'][_0x419641]=_0x24e09b,0x1);},'reconfigure':(_0x9b64ed,_0x4e89f2)=>{let _0x1b6ac2,_0x2a652d=_0x9b64ed['facet'](Py),_0x50f67d=_0x4e89f2['facet'](Py);return(_0x1b6ac2=_0x2a652d['find'](_0x3cbea8=>_0x3cbea8['field']==this))&&_0x1b6ac2!=_0x50f67d['find'](_0x1411e3=>_0x1411e3['field']==this)?(_0x9b64ed['values'][_0x419641]=_0x1b6ac2['create'](_0x9b64ed),0x1):null!=_0x4e89f2['config']['address'][this['id']]?(_0x9b64ed['values'][_0x419641]=_0x4e89f2['field'](this),0x0):(_0x9b64ed['values'][_0x419641]=this['create'](_0x9b64ed),0x1);}};}['init'](_0x10c725){return[this,Py['of']({'field':this,'create':_0x10c725})];}get['extension'](){return this;}}const My=0x4,Ny=0x3,Ly=0x2,Dy=0x1;function Qy(_0x1c8131){return _0x11e827=>new PrecExtension(_0x11e827,_0x1c8131);}const $y={'highest':Qy(0x0),'high':Qy(Dy),'default':Qy(Ly),'low':Qy(Ny),'lowest':Qy(My)};class PrecExtension{constructor(_0x56fd21,_0x54062d){this['inner']=_0x56fd21,this['prec']=_0x54062d;}}class Compartment{['of'](_0x2628a4){return new CompartmentInstance(this,_0x2628a4);}['reconfigure'](_0x2a5a36){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x2a5a36});}['get'](_0x12438c){return _0x12438c['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0xb8223d,_0x345bd8){this['compartment']=_0xb8223d,this['inner']=_0x345bd8;}}class Configuration{constructor(_0x4492de,_0x5333f1,_0x20ef77,_0x467d24,_0x9412aa,_0x56691d){for(this['base']=_0x4492de,this['compartments']=_0x5333f1,this['dynamicSlots']=_0x20ef77,this['address']=_0x467d24,this['staticValues']=_0x9412aa,this['facets']=_0x56691d,this['statusTemplate']=[];this['statusTemplate']['length']<_0x20ef77['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x4ec69c){let _0x467ea7=this['address'][_0x4ec69c['id']];return null==_0x467ea7?_0x4ec69c['default']:this['staticValues'][_0x467ea7>>0x1];}static['resolve'](_0x18c201,_0x40c4e1,_0x4a1181){let _0x5b4e76=[],_0x327b16=Object['create'](null),_0x4d8338=new Map();for(let _0x4a083a of function(_0x3ff971,_0x1c3d36,_0x140e69){let _0x29a491=[[],[],[],[],[]],_0xc0a0ba=new Map();function _0x1c6258(_0x3ea153,_0x4ed090){let _0x349dfb=_0xc0a0ba['get'](_0x3ea153);if(null!=_0x349dfb){if(_0x349dfb<=_0x4ed090)return;let _0x19349d=_0x29a491[_0x349dfb]['indexOf'](_0x3ea153);_0x19349d>-0x1&&_0x29a491[_0x349dfb]['splice'](_0x19349d,0x1),_0x3ea153 instanceof CompartmentInstance&&_0x140e69['delete'](_0x3ea153['compartment']);}if(_0xc0a0ba['set'](_0x3ea153,_0x4ed090),Array['isArray'](_0x3ea153)){for(let _0xb07e5f of _0x3ea153)_0x1c6258(_0xb07e5f,_0x4ed090);}else{if(_0x3ea153 instanceof CompartmentInstance){if(_0x140e69['has'](_0x3ea153['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x9cf5d9=_0x1c3d36['get'](_0x3ea153['compartment'])||_0x3ea153['inner'];_0x140e69['set'](_0x3ea153['compartment'],_0x9cf5d9),_0x1c6258(_0x9cf5d9,_0x4ed090);}else{if(_0x3ea153 instanceof PrecExtension)_0x1c6258(_0x3ea153['inner'],_0x3ea153['prec']);else{if(_0x3ea153 instanceof StateField)_0x29a491[_0x4ed090]['push'](_0x3ea153),_0x3ea153['provides']&&_0x1c6258(_0x3ea153['provides'],_0x4ed090);else{if(_0x3ea153 instanceof FacetProvider)_0x29a491[_0x4ed090]['push'](_0x3ea153),_0x3ea153['facet']['extensions']&&_0x1c6258(_0x3ea153['facet']['extensions'],Ly);else{let _0x1cb6bf=_0x3ea153['extension'];if(!_0x1cb6bf)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x3ea153+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x1c6258(_0x1cb6bf,_0x4ed090);}}}}}}return _0x1c6258(_0x3ff971,Ly),_0x29a491['reduce']((_0x2e82c9,_0x385075)=>_0x2e82c9['concat'](_0x385075));}(_0x18c201,_0x40c4e1,_0x4d8338))_0x4a083a instanceof StateField?_0x5b4e76['push'](_0x4a083a):(_0x327b16[_0x4a083a['facet']['id']]||(_0x327b16[_0x4a083a['facet']['id']]=[]))['push'](_0x4a083a);let _0x1f9c68=Object['create'](null),_0x3d6452=[],_0x78f190=[];for(let _0x14f2d2 of _0x5b4e76)_0x1f9c68[_0x14f2d2['id']]=_0x78f190['length']<<0x1,_0x78f190['push'](_0x52ecf8=>_0x14f2d2['slot'](_0x52ecf8));let _0x204859=null==_0x4a1181?void 0x0:_0x4a1181['config']['facets'];for(let _0x54a339 in _0x327b16){let _0xa1c45a=_0x327b16[_0x54a339],_0x5e2298=_0xa1c45a[0x0]['facet'],_0xfc7fee=_0x204859&&_0x204859[_0x54a339]||[];if(_0xa1c45a['every'](_0x2f2fc2=>0x0==_0x2f2fc2['type'])){if(_0x1f9c68[_0x5e2298['id']]=_0x3d6452['length']<<0x1|0x1,Cy(_0xfc7fee,_0xa1c45a))_0x3d6452['push'](_0x4a1181['facet'](_0x5e2298));else{let _0x141d07=_0x5e2298['combine'](_0xa1c45a['map'](_0x2ca727=>_0x2ca727['value']));_0x3d6452['push'](_0x4a1181&&_0x5e2298['compare'](_0x141d07,_0x4a1181['facet'](_0x5e2298))?_0x4a1181['facet'](_0x5e2298):_0x141d07);}}else{for(let _0x2962ec of _0xa1c45a)0x0==_0x2962ec['type']?(_0x1f9c68[_0x2962ec['id']]=_0x3d6452['length']<<0x1|0x1,_0x3d6452['push'](_0x2962ec['value'])):(_0x1f9c68[_0x2962ec['id']]=_0x78f190['length']<<0x1,_0x78f190['push'](_0x43e4ca=>_0x2962ec['dynamicSlot'](_0x43e4ca)));_0x1f9c68[_0x5e2298['id']]=_0x78f190['length']<<0x1,_0x78f190['push'](_0x2a6ab9=>Ry(_0x2a6ab9,_0x5e2298,_0xa1c45a));}}let _0x160a43=_0x78f190['map'](_0x4d9cf6=>_0x4d9cf6(_0x1f9c68));return new Configuration(_0x18c201,_0x4d8338,_0x160a43,_0x1f9c68,_0x3d6452,_0x327b16);}}function Vy(_0x35a8af,_0x415de7){if(0x1&_0x415de7)return 0x2;let _0x21b245=_0x415de7>>0x1,_0x223128=_0x35a8af['status'][_0x21b245];if(0x4==_0x223128)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x223128)return _0x223128;_0x35a8af['status'][_0x21b245]=0x4;let _0x58f7ea=_0x35a8af['computeSlot'](_0x35a8af,_0x35a8af['config']['dynamicSlots'][_0x21b245]);return _0x35a8af['status'][_0x21b245]=0x2|_0x58f7ea;}function Uy(_0x3f2d97,_0x5614b8){return 0x1&_0x5614b8?_0x3f2d97['config']['staticValues'][_0x5614b8>>0x1]:_0x3f2d97['values'][_0x5614b8>>0x1];}const By=Facet['define'](),Fy=Facet['define']({'combine':_0x5e62c3=>_0x5e62c3['some'](_0xcb1206=>_0xcb1206),'static':!0x0}),jy=Facet['define']({'combine':_0x39139c=>_0x39139c['length']?_0x39139c[0x0]:void 0x0,'static':!0x0}),Hy=Facet['define'](),Gy=Facet['define'](),Zy=Facet['define'](),Xy=Facet['define']({'combine':_0x283a6e=>!!_0x283a6e['length']&&_0x283a6e[0x0]});class Annotation{constructor(_0x2cb2ec,_0x4978f1){this['type']=_0x2cb2ec,this['value']=_0x4978f1;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x49b76d){return new Annotation(this,_0x49b76d);}}class StateEffectType{constructor(_0x35b1df){this['map']=_0x35b1df;}['of'](_0x5c8236){return new StateEffect(this,_0x5c8236);}}class StateEffect{constructor(_0x2f915e,_0x3e225d){this['type']=_0x2f915e,this['value']=_0x3e225d;}['map'](_0x41f0e0){let _0x133dc8=this['type']['map'](this['value'],_0x41f0e0);return void 0x0===_0x133dc8?void 0x0:_0x133dc8==this['value']?this:new StateEffect(this['type'],_0x133dc8);}['is'](_0x6875b7){return this['type']==_0x6875b7;}static['define'](_0x5895d7={}){return new StateEffectType(_0x5895d7['map']||(_0x4cce6c=>_0x4cce6c));}static['mapEffects'](_0x54ebb9,_0x262bcc){if(!_0x54ebb9['length'])return _0x54ebb9;let _0x58e877=[];for(let _0x418ad9 of _0x54ebb9){let _0xabdc93=_0x418ad9['map'](_0x262bcc);_0xabdc93&&_0x58e877['push'](_0xabdc93);}return _0x58e877;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x3c04f0,_0xf8ac7e,_0x4dbc72,_0x21e52a,_0x1df4fd,_0x5ed40a){this['startState']=_0x3c04f0,this['changes']=_0xf8ac7e,this['selection']=_0x4dbc72,this['effects']=_0x21e52a,this['annotations']=_0x1df4fd,this['scrollIntoView']=_0x5ed40a,this['_doc']=null,this['_state']=null,_0x4dbc72&&Iy(_0x4dbc72,_0xf8ac7e['newLength']),_0x1df4fd['some'](_0xc6ef68=>_0xc6ef68['type']==Transaction['time'])||(this['annotations']=_0x1df4fd['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x4b7c77,_0x45e426,_0x3d74b9,_0x5d2234,_0x18afd4,_0x4a47eb){return new Transaction(_0x4b7c77,_0x45e426,_0x3d74b9,_0x5d2234,_0x18afd4,_0x4a47eb);}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'](_0x1cd1c5){for(let _0x3a36fe of this['annotations'])if(_0x3a36fe['type']==_0x1cd1c5)return _0x3a36fe['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x73e50f){let _0x31e71a=this['annotation'](Transaction['userEvent']);return!(!_0x31e71a||!(_0x31e71a==_0x73e50f||_0x31e71a['length']>_0x73e50f['length']&&_0x31e71a['slice'](0x0,_0x73e50f['length'])==_0x73e50f&&'.'==_0x31e71a[_0x73e50f['length']]));}}function qy(_0x50ed82,_0xfed8d3){let _0x549c05=[];for(let _0x3f7ca2=0x0,_0x465dca=0x0;;){let _0x5d84cd,_0x2fe20c;if(_0x3f7ca2<_0x50ed82['length']&&(_0x465dca==_0xfed8d3['length']||_0xfed8d3[_0x465dca]>=_0x50ed82[_0x3f7ca2]))_0x5d84cd=_0x50ed82[_0x3f7ca2++],_0x2fe20c=_0x50ed82[_0x3f7ca2++];else{if(!(_0x465dca<_0xfed8d3['length']))return _0x549c05;_0x5d84cd=_0xfed8d3[_0x465dca++],_0x2fe20c=_0xfed8d3[_0x465dca++];}!_0x549c05['length']||_0x549c05[_0x549c05['length']-0x1]<_0x5d84cd?_0x549c05['push'](_0x5d84cd,_0x2fe20c):_0x549c05[_0x549c05['length']-0x1]<_0x2fe20c&&(_0x549c05[_0x549c05['length']-0x1]=_0x2fe20c);}}function Wy(_0x24613e,_0x4136a2,_0x4fda3f){var _0x287ea3;let _0x1a2848,_0x350030,_0x2c0d41;return _0x4fda3f?(_0x1a2848=_0x4136a2['changes'],_0x350030=ChangeSet['empty'](_0x4136a2['changes']['length']),_0x2c0d41=_0x24613e['changes']['compose'](_0x4136a2['changes'])):(_0x1a2848=_0x4136a2['changes']['map'](_0x24613e['changes']),_0x350030=_0x24613e['changes']['mapDesc'](_0x4136a2['changes'],!0x0),_0x2c0d41=_0x24613e['changes']['compose'](_0x1a2848)),{'changes':_0x2c0d41,'selection':_0x4136a2['selection']?_0x4136a2['selection']['map'](_0x350030):null===(_0x287ea3=_0x24613e['selection'])||void 0x0===_0x287ea3?void 0x0:_0x287ea3['map'](_0x1a2848),'effects':StateEffect['mapEffects'](_0x24613e['effects'],_0x1a2848)['concat'](StateEffect['mapEffects'](_0x4136a2['effects'],_0x350030)),'annotations':_0x24613e['annotations']['length']?_0x24613e['annotations']['concat'](_0x4136a2['annotations']):_0x4136a2['annotations'],'scrollIntoView':_0x24613e['scrollIntoView']||_0x4136a2['scrollIntoView']};}function zy(_0x1b3d0e,_0x5d58cb,_0x14aa5b){let _0x594f06=_0x5d58cb['selection'],_0x46b412=Jy(_0x5d58cb['annotations']);return _0x5d58cb['userEvent']&&(_0x46b412=_0x46b412['concat'](Transaction['userEvent']['of'](_0x5d58cb['userEvent']))),{'changes':_0x5d58cb['changes']instanceof ChangeSet?_0x5d58cb['changes']:ChangeSet['of'](_0x5d58cb['changes']||[],_0x14aa5b,_0x1b3d0e['facet'](jy)),'selection':_0x594f06&&(_0x594f06 instanceof EditorSelection?_0x594f06:EditorSelection['single'](_0x594f06['anchor'],_0x594f06['head'])),'effects':Jy(_0x5d58cb['effects']),'annotations':_0x46b412,'scrollIntoView':!!_0x5d58cb['scrollIntoView']};}function Yy(_0x459823,_0x3d95e6,_0x2b2a5f){let _0x599490=zy(_0x459823,_0x3d95e6['length']?_0x3d95e6[0x0]:{},_0x459823['doc']['length']);_0x3d95e6['length']&&!0x1===_0x3d95e6[0x0]['filter']&&(_0x2b2a5f=!0x1);for(let _0x1e79a1=0x1;_0x1e79a1<_0x3d95e6['length'];_0x1e79a1++){!0x1===_0x3d95e6[_0x1e79a1]['filter']&&(_0x2b2a5f=!0x1);let _0xc27708=!!_0x3d95e6[_0x1e79a1]['sequential'];_0x599490=Wy(_0x599490,zy(_0x459823,_0x3d95e6[_0x1e79a1],_0xc27708?_0x599490['changes']['newLength']:_0x459823['doc']['length']),_0xc27708);}let _0x4cbf0b=Transaction['create'](_0x459823,_0x599490['changes'],_0x599490['selection'],_0x599490['effects'],_0x599490['annotations'],_0x599490['scrollIntoView']);return function(_0x216231){let _0x54b5d2=_0x216231['startState'],_0x1f43ee=_0x54b5d2['facet'](Zy),_0x4d20e2=_0x216231;for(let _0x588358=_0x1f43ee['length']-0x1;_0x588358>=0x0;_0x588358--){let _0x5c39be=_0x1f43ee[_0x588358](_0x216231);_0x5c39be&&Object['keys'](_0x5c39be)['length']&&(_0x4d20e2=Wy(_0x4d20e2,zy(_0x54b5d2,_0x5c39be,_0x216231['changes']['newLength']),!0x0));}return _0x4d20e2==_0x216231?_0x216231:Transaction['create'](_0x54b5d2,_0x216231['changes'],_0x216231['selection'],_0x4d20e2['effects'],_0x4d20e2['annotations'],_0x4d20e2['scrollIntoView']);}(_0x2b2a5f?function(_0x3df8ee){let _0x16d834=_0x3df8ee['startState'],_0x4a4961=!0x0;for(let _0x58a621 of _0x16d834['facet'](Hy)){let _0x4c28b5=_0x58a621(_0x3df8ee);if(!0x1===_0x4c28b5){_0x4a4961=!0x1;break;}Array['isArray'](_0x4c28b5)&&(_0x4a4961=!0x0===_0x4a4961?_0x4c28b5:qy(_0x4a4961,_0x4c28b5));}if(!0x0!==_0x4a4961){let _0x3dd199,_0xef63e0;if(!0x1===_0x4a4961)_0xef63e0=_0x3df8ee['changes']['invertedDesc'],_0x3dd199=ChangeSet['empty'](_0x16d834['doc']['length']);else{let _0x1dea4a=_0x3df8ee['changes']['filter'](_0x4a4961);_0x3dd199=_0x1dea4a['changes'],_0xef63e0=_0x1dea4a['filtered']['mapDesc'](_0x1dea4a['changes'])['invertedDesc'];}_0x3df8ee=Transaction['create'](_0x16d834,_0x3dd199,_0x3df8ee['selection']&&_0x3df8ee['selection']['map'](_0xef63e0),StateEffect['mapEffects'](_0x3df8ee['effects'],_0xef63e0),_0x3df8ee['annotations'],_0x3df8ee['scrollIntoView']);}let _0x474b8f=_0x16d834['facet'](Gy);for(let _0x2e44c2=_0x474b8f['length']-0x1;_0x2e44c2>=0x0;_0x2e44c2--){let _0x3006cb=_0x474b8f[_0x2e44c2](_0x3df8ee);_0x3df8ee=_0x3006cb instanceof Transaction?_0x3006cb:Array['isArray'](_0x3006cb)&&0x1==_0x3006cb['length']&&_0x3006cb[0x0]instanceof Transaction?_0x3006cb[0x0]:Yy(_0x16d834,Jy(_0x3006cb),!0x1);}return _0x3df8ee;}(_0x4cbf0b):_0x4cbf0b);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const Ky=[];function Jy(_0x289f5d){return null==_0x289f5d?Ky:Array['isArray'](_0x289f5d)?_0x289f5d:[_0x289f5d];}var t_=function(_0x1a4593){return _0x1a4593[_0x1a4593['Word']=0x0]='Word',_0x1a4593[_0x1a4593['Space']=0x1]='Space',_0x1a4593[_0x1a4593['Other']=0x2]='Other',_0x1a4593;}(t_||(t_={}));const e_=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let i_;try{i_=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x39173f){}function s_(_0xa1c93a){return _0x459c37=>{if(!/\S/['test'](_0x459c37))return t_['Space'];if(function(_0x1c0145){if(i_)return i_['test'](_0x1c0145);for(let _0x105ac6=0x0;_0x105ac6<_0x1c0145['length'];_0x105ac6++){let _0x95d427=_0x1c0145[_0x105ac6];if(/\w/['test'](_0x95d427)||_0x95d427>'\u0080'&&(_0x95d427['toUpperCase']()!=_0x95d427['toLowerCase']()||e_['test'](_0x95d427)))return!0x0;}return!0x1;}(_0x459c37))return t_['Word'];for(let _0xbd30ee=0x0;_0xbd30ee<_0xa1c93a['length'];_0xbd30ee++)if(_0x459c37['indexOf'](_0xa1c93a[_0xbd30ee])>-0x1)return t_['Word'];return t_['Other'];};}class EditorState{constructor(_0x535504,_0x4b1c38,_0x4261af,_0x2da586,_0x23a562,_0x552ba7){this['config']=_0x535504,this['doc']=_0x4b1c38,this['selection']=_0x4261af,this['values']=_0x2da586,this['status']=_0x535504['statusTemplate']['slice'](),this['computeSlot']=_0x23a562,_0x552ba7&&(_0x552ba7['_state']=this);for(let _0x5767ca=0x0;_0x5767ca<this['config']['dynamicSlots']['length'];_0x5767ca++)Vy(this,_0x5767ca<<0x1);this['computeSlot']=null;}['field'](_0x1e84e8,_0x28179a=!0x0){let _0x28ebb9=this['config']['address'][_0x1e84e8['id']];if(null!=_0x28ebb9)return Vy(this,_0x28ebb9),Uy(this,_0x28ebb9);if(_0x28179a)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x195c6d){return Yy(this,_0x195c6d,!0x0);}['applyTransaction'](_0x36e3d1){let _0xecab69,_0x3199ed=this['config'],{base:_0x17dc77,compartments:_0x4a6cb0}=_0x3199ed;for(let _0x1991d9 of _0x36e3d1['effects'])_0x1991d9['is'](Compartment['reconfigure'])?(_0x3199ed&&(_0x4a6cb0=new Map(),_0x3199ed['compartments']['forEach']((_0x28f6e0,_0x2cd75e)=>_0x4a6cb0['set'](_0x2cd75e,_0x28f6e0)),_0x3199ed=null),_0x4a6cb0['set'](_0x1991d9['value']['compartment'],_0x1991d9['value']['extension'])):_0x1991d9['is'](StateEffect['reconfigure'])?(_0x3199ed=null,_0x17dc77=_0x1991d9['value']):_0x1991d9['is'](StateEffect['appendConfig'])&&(_0x3199ed=null,_0x17dc77=Jy(_0x17dc77)['concat'](_0x1991d9['value']));if(_0x3199ed)_0xecab69=_0x36e3d1['startState']['values']['slice']();else _0x3199ed=Configuration['resolve'](_0x17dc77,_0x4a6cb0,this),_0xecab69=new EditorState(_0x3199ed,this['doc'],this['selection'],_0x3199ed['dynamicSlots']['map'](()=>null),(_0x25d61e,_0x344688)=>_0x344688['reconfigure'](_0x25d61e,this),null)['values'];let _0x213893=_0x36e3d1['startState']['facet'](Fy)?_0x36e3d1['newSelection']:_0x36e3d1['newSelection']['asSingle']();new EditorState(_0x3199ed,_0x36e3d1['newDoc'],_0x213893,_0xecab69,(_0x2aa36d,_0x472991)=>_0x472991['update'](_0x2aa36d,_0x36e3d1),_0x36e3d1);}['replaceSelection'](_0x9bc805){return'string'==typeof _0x9bc805&&(_0x9bc805=this['toText'](_0x9bc805)),this['changeByRange'](_0x5e6233=>({'changes':{'from':_0x5e6233['from'],'to':_0x5e6233['to'],'insert':_0x9bc805},'range':EditorSelection['cursor'](_0x5e6233['from']+_0x9bc805['length'])}));}['changeByRange'](_0x520318){let _0x1b0ddd=this['selection'],_0x3f31ff=_0x520318(_0x1b0ddd['ranges'][0x0]),_0xb739e=this['changes'](_0x3f31ff['changes']),_0x20b120=[_0x3f31ff['range']],_0x55c84f=Jy(_0x3f31ff['effects']);for(let _0x1d2350=0x1;_0x1d2350<_0x1b0ddd['ranges']['length'];_0x1d2350++){let _0x125136=_0x520318(_0x1b0ddd['ranges'][_0x1d2350]),_0x3742d8=this['changes'](_0x125136['changes']),_0x44347f=_0x3742d8['map'](_0xb739e);for(let _0x5b5e9e=0x0;_0x5b5e9e<_0x1d2350;_0x5b5e9e++)_0x20b120[_0x5b5e9e]=_0x20b120[_0x5b5e9e]['map'](_0x44347f);let _0x6e3b3f=_0xb739e['mapDesc'](_0x3742d8,!0x0);_0x20b120['push'](_0x125136['range']['map'](_0x6e3b3f)),_0xb739e=_0xb739e['compose'](_0x44347f),_0x55c84f=StateEffect['mapEffects'](_0x55c84f,_0x44347f)['concat'](StateEffect['mapEffects'](Jy(_0x125136['effects']),_0x6e3b3f));}return{'changes':_0xb739e,'selection':EditorSelection['create'](_0x20b120,_0x1b0ddd['mainIndex']),'effects':_0x55c84f};}['changes'](_0x5457fc=[]){return _0x5457fc instanceof ChangeSet?_0x5457fc:ChangeSet['of'](_0x5457fc,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x478088){return Text['of'](_0x478088['split'](this['facet'](EditorState['lineSeparator'])||by));}['sliceDoc'](_0x19183f=0x0,_0x164774=this['doc']['length']){return this['doc']['sliceString'](_0x19183f,_0x164774,this['lineBreak']);}['facet'](_0x22d9b1){let _0x5a57dd=this['config']['address'][_0x22d9b1['id']];return null==_0x5a57dd?_0x22d9b1['default']:(Vy(this,_0x5a57dd),Uy(this,_0x5a57dd));}['toJSON'](_0x2a5483){let _0x4f59eb={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x2a5483)for(let _0x3abbbc in _0x2a5483){let _0x276505=_0x2a5483[_0x3abbbc];_0x276505 instanceof StateField&&null!=this['config']['address'][_0x276505['id']]&&(_0x4f59eb[_0x3abbbc]=_0x276505['spec']['toJSON'](this['field'](_0x2a5483[_0x3abbbc]),this));}return _0x4f59eb;}static['fromJSON'](_0x2efac8,_0x8caef4={},_0x11b48c){if(!_0x2efac8||'string'!=typeof _0x2efac8['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x3ff054=[];if(_0x11b48c){for(let _0x120216 in _0x11b48c)if(Object['prototype']['hasOwnProperty']['call'](_0x2efac8,_0x120216)){let _0x4bcfe6=_0x11b48c[_0x120216],_0x3b38d2=_0x2efac8[_0x120216];_0x3ff054['push'](_0x4bcfe6['init'](_0x5e8e26=>_0x4bcfe6['spec']['fromJSON'](_0x3b38d2,_0x5e8e26)));}}return EditorState['create']({'doc':_0x2efac8['doc'],'selection':EditorSelection['fromJSON'](_0x2efac8['selection']),'extensions':_0x8caef4['extensions']?_0x3ff054['concat']([_0x8caef4['extensions']]):_0x3ff054});}static['create'](_0x4d59c4={}){let _0x435cfa=Configuration['resolve'](_0x4d59c4['extensions']||[],new Map()),_0x20c14f=_0x4d59c4['doc']instanceof Text?_0x4d59c4['doc']:Text['of']((_0x4d59c4['doc']||'')['split'](_0x435cfa['staticFacet'](EditorState['lineSeparator'])||by)),_0x3c9966=_0x4d59c4['selection']?_0x4d59c4['selection']instanceof EditorSelection?_0x4d59c4['selection']:EditorSelection['single'](_0x4d59c4['selection']['anchor'],_0x4d59c4['selection']['head']):EditorSelection['single'](0x0);return Iy(_0x3c9966,_0x20c14f['length']),_0x435cfa['staticFacet'](Fy)||(_0x3c9966=_0x3c9966['asSingle']()),new EditorState(_0x435cfa,_0x20c14f,_0x3c9966,_0x435cfa['dynamicSlots']['map'](()=>null),(_0x4d9727,_0x2329e2)=>_0x2329e2['create'](_0x4d9727),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](Xy);}['phrase'](_0xbb4894,..._0x4e4a55){for(let _0x1e99a8 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x1e99a8,_0xbb4894)){_0xbb4894=_0x1e99a8[_0xbb4894];break;}return _0x4e4a55['length']&&(_0xbb4894=_0xbb4894['replace'](/\$(\$|\d*)/g,(_0xedebd,_0x142b8e)=>{if('$'==_0x142b8e)return'$';let _0x42cc01=+(_0x142b8e||0x1);return!_0x42cc01||_0x42cc01>_0x4e4a55['length']?_0xedebd:_0x4e4a55[_0x42cc01-0x1];})),_0xbb4894;}['languageDataAt'](_0x40745c,_0x2976b3,_0x1c16d1=-0x1){let _0x3713f0=[];for(let _0x1df393 of this['facet'](By))for(let _0xb51413 of _0x1df393(this,_0x2976b3,_0x1c16d1))Object['prototype']['hasOwnProperty']['call'](_0xb51413,_0x40745c)&&_0x3713f0['push'](_0xb51413[_0x40745c]);return _0x3713f0;}['charCategorizer'](_0x14efed){return s_(this['languageDataAt']('wordChars',_0x14efed)['join'](''));}['wordAt'](_0x4d1217){let {text:_0x523d8c,from:_0x556b86,length:_0x131a7e}=this['doc']['lineAt'](_0x4d1217),_0x211b02=this['charCategorizer'](_0x4d1217),_0x11b47f=_0x4d1217-_0x556b86,_0x26f23a=_0x4d1217-_0x556b86;for(;_0x11b47f>0x0;){let _0x3ba34c=gy(_0x523d8c,_0x11b47f,!0x1);if(_0x211b02(_0x523d8c['slice'](_0x3ba34c,_0x11b47f))!=t_['Word'])break;_0x11b47f=_0x3ba34c;}for(;_0x26f23a<_0x131a7e;){let _0xc2d2d4=gy(_0x523d8c,_0x26f23a);if(_0x211b02(_0x523d8c['slice'](_0x26f23a,_0xc2d2d4))!=t_['Word'])break;_0x26f23a=_0xc2d2d4;}return _0x11b47f==_0x26f23a?null:EditorSelection['range'](_0x11b47f+_0x556b86,_0x26f23a+_0x556b86);}}function n_(_0x260fd7,_0xdc8f04,_0x4d079b={}){let _0x3e00bc={};for(let _0x4c36bb of _0x260fd7)for(let _0x5eed58 of Object['keys'](_0x4c36bb)){let _0x3b53e5=_0x4c36bb[_0x5eed58],_0x54e8ea=_0x3e00bc[_0x5eed58];if(void 0x0===_0x54e8ea)_0x3e00bc[_0x5eed58]=_0x3b53e5;else{if(_0x54e8ea===_0x3b53e5||void 0x0===_0x3b53e5);else{if(!Object['hasOwnProperty']['call'](_0x4d079b,_0x5eed58))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x5eed58);_0x3e00bc[_0x5eed58]=_0x4d079b[_0x5eed58](_0x54e8ea,_0x3b53e5);}}}for(let _0x7e7b1d in _0xdc8f04)void 0x0===_0x3e00bc[_0x7e7b1d]&&(_0x3e00bc[_0x7e7b1d]=_0xdc8f04[_0x7e7b1d]);return _0x3e00bc;}EditorState['allowMultipleSelections']=Fy,EditorState['tabSize']=Facet['define']({'combine':_0x92f23c=>_0x92f23c['length']?_0x92f23c[0x0]:0x4}),EditorState['lineSeparator']=jy,EditorState['readOnly']=Xy,EditorState['phrases']=Facet['define']({'compare'(_0x38e954,_0x137a6e){let _0x357687=Object['keys'](_0x38e954),_0x4e3f79=Object['keys'](_0x137a6e);return _0x357687['length']==_0x4e3f79['length']&&_0x357687['every'](_0x5521bd=>_0x38e954[_0x5521bd]==_0x137a6e[_0x5521bd]);}}),EditorState['languageData']=By,EditorState['changeFilter']=Hy,EditorState['transactionFilter']=Gy,EditorState['transactionExtender']=Zy,Compartment['reconfigure']=StateEffect['define']();class RangeValue{['eq'](_0x10b539){return this==_0x10b539;}['range'](_0x374770,_0x54b49b=_0x374770){return r_['create'](_0x374770,_0x54b49b,this);}}RangeValue['prototype']['startSide']=RangeValue['prototype']['endSide']=0x0,RangeValue['prototype']['point']=!0x1,RangeValue['prototype']['mapMode']=yy['TrackDel'];let r_=class Range{constructor(_0x209872,_0x43b026,_0x92a74a){this['from']=_0x209872,this['to']=_0x43b026,this['value']=_0x92a74a;}static['create'](_0x1813d8,_0x14abc5,_0x149365){return new Range(_0x1813d8,_0x14abc5,_0x149365);}};function o_(_0x58a4bd,_0x7280a3){return _0x58a4bd['from']-_0x7280a3['from']||_0x58a4bd['value']['startSide']-_0x7280a3['value']['startSide'];}class Chunk{constructor(_0x45f4f7,_0x13a087,_0x53a617,_0x3bd4ee){this['from']=_0x45f4f7,this['to']=_0x13a087,this['value']=_0x53a617,this['maxPoint']=_0x3bd4ee;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x3f07fe,_0x596817,_0x4dfd91,_0x25939d=0x0){let _0x768f2f=_0x4dfd91?this['to']:this['from'];for(let _0x230f29=_0x25939d,_0x2e2dec=_0x768f2f['length'];;){if(_0x230f29==_0x2e2dec)return _0x230f29;let _0x1c07e3=_0x230f29+_0x2e2dec>>0x1,_0x24070c=_0x768f2f[_0x1c07e3]-_0x3f07fe||(_0x4dfd91?this['value'][_0x1c07e3]['endSide']:this['value'][_0x1c07e3]['startSide'])-_0x596817;if(_0x1c07e3==_0x230f29)return _0x24070c>=0x0?_0x230f29:_0x2e2dec;_0x24070c>=0x0?_0x2e2dec=_0x1c07e3:_0x230f29=_0x1c07e3+0x1;}}['between'](_0x501fac,_0x3b9266,_0x45ca22,_0x52c82f){for(let _0x181ac6=this['findIndex'](_0x3b9266,-0x3b9aca00,!0x0),_0x306d4d=this['findIndex'](_0x45ca22,0x3b9aca00,!0x1,_0x181ac6);_0x181ac6<_0x306d4d;_0x181ac6++)if(!0x1===_0x52c82f(this['from'][_0x181ac6]+_0x501fac,this['to'][_0x181ac6]+_0x501fac,this['value'][_0x181ac6]))return!0x1;}['map'](_0x39fe1b,_0x490762){let _0x4955ac=[],_0x51dcc7=[],_0x35f9d5=[],_0x4db2b4=-0x1,_0x19f44f=-0x1;for(let _0x4c38c9=0x0;_0x4c38c9<this['value']['length'];_0x4c38c9++){let _0x599e4c,_0x1aaab3,_0x193233=this['value'][_0x4c38c9],_0x3fff61=this['from'][_0x4c38c9]+_0x39fe1b,_0xa23a00=this['to'][_0x4c38c9]+_0x39fe1b;if(_0x3fff61==_0xa23a00){let _0x41bd62=_0x490762['mapPos'](_0x3fff61,_0x193233['startSide'],_0x193233['mapMode']);if(null==_0x41bd62)continue;if(_0x599e4c=_0x1aaab3=_0x41bd62,_0x193233['startSide']!=_0x193233['endSide']&&(_0x1aaab3=_0x490762['mapPos'](_0x3fff61,_0x193233['endSide']),_0x1aaab3<_0x599e4c))continue;}else{if(_0x599e4c=_0x490762['mapPos'](_0x3fff61,_0x193233['startSide']),_0x1aaab3=_0x490762['mapPos'](_0xa23a00,_0x193233['endSide']),_0x599e4c>_0x1aaab3||_0x599e4c==_0x1aaab3&&_0x193233['startSide']>0x0&&_0x193233['endSide']<=0x0)continue;}(_0x1aaab3-_0x599e4c||_0x193233['endSide']-_0x193233['startSide'])<0x0||(_0x4db2b4<0x0&&(_0x4db2b4=_0x599e4c),_0x193233['point']&&(_0x19f44f=Math['max'](_0x19f44f,_0x1aaab3-_0x599e4c)),_0x4955ac['push'](_0x193233),_0x51dcc7['push'](_0x599e4c-_0x4db2b4),_0x35f9d5['push'](_0x1aaab3-_0x4db2b4));}return{'mapped':_0x4955ac['length']?new Chunk(_0x51dcc7,_0x35f9d5,_0x4955ac,_0x19f44f):null,'pos':_0x4db2b4};}}class RangeSet{constructor(_0x469577,_0x8d5197,_0x1bb03c,_0xdc7c72){this['chunkPos']=_0x469577,this['chunk']=_0x8d5197,this['nextLayer']=_0x1bb03c,this['maxPoint']=_0xdc7c72;}static['create'](_0x124cde,_0x4c4b2c,_0x453e78,_0x5d3ddf){return new RangeSet(_0x124cde,_0x4c4b2c,_0x453e78,_0x5d3ddf);}get['length'](){let _0x348d61=this['chunk']['length']-0x1;return _0x348d61<0x0?0x0:Math['max'](this['chunkEnd'](_0x348d61),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x36a18e=this['nextLayer']['size'];for(let _0x50c582 of this['chunk'])_0x36a18e+=_0x50c582['value']['length'];return _0x36a18e;}['chunkEnd'](_0x1feb2f){return this['chunkPos'][_0x1feb2f]+this['chunk'][_0x1feb2f]['length'];}['update'](_0x374452){let {add:_0x6f1348=[],sort:_0x599f9e=!0x1,filterFrom:_0x47df42=0x0,filterTo:_0x530aa3=this['length']}=_0x374452,_0x55690b=_0x374452['filter'];if(0x0==_0x6f1348['length']&&!_0x55690b)return this;if(_0x599f9e&&(_0x6f1348=_0x6f1348['slice']()['sort'](o_)),this['isEmpty'])return _0x6f1348['length']?RangeSet['of'](_0x6f1348):this;let _0x48f0ab=new LayerCursor(this,null,-0x1)['goto'](0x0),_0x5b6cea=0x0,_0x3896dd=[],_0x3a4d8c=new RangeSetBuilder();for(;_0x48f0ab['value']||_0x5b6cea<_0x6f1348['length'];)if(_0x5b6cea<_0x6f1348['length']&&(_0x48f0ab['from']-_0x6f1348[_0x5b6cea]['from']||_0x48f0ab['startSide']-_0x6f1348[_0x5b6cea]['value']['startSide'])>=0x0){let _0x5d490b=_0x6f1348[_0x5b6cea++];_0x3a4d8c['addInner'](_0x5d490b['from'],_0x5d490b['to'],_0x5d490b['value'])||_0x3896dd['push'](_0x5d490b);}else 0x1==_0x48f0ab['rangeIndex']&&_0x48f0ab['chunkIndex']<this['chunk']['length']&&(_0x5b6cea==_0x6f1348['length']||this['chunkEnd'](_0x48f0ab['chunkIndex'])<_0x6f1348[_0x5b6cea]['from'])&&(!_0x55690b||_0x47df42>this['chunkEnd'](_0x48f0ab['chunkIndex'])||_0x530aa3<this['chunkPos'][_0x48f0ab['chunkIndex']])&&_0x3a4d8c['addChunk'](this['chunkPos'][_0x48f0ab['chunkIndex']],this['chunk'][_0x48f0ab['chunkIndex']])?_0x48f0ab['nextChunk']():((!_0x55690b||_0x47df42>_0x48f0ab['to']||_0x530aa3<_0x48f0ab['from']||_0x55690b(_0x48f0ab['from'],_0x48f0ab['to'],_0x48f0ab['value']))&&(_0x3a4d8c['addInner'](_0x48f0ab['from'],_0x48f0ab['to'],_0x48f0ab['value'])||_0x3896dd['push'](r_['create'](_0x48f0ab['from'],_0x48f0ab['to'],_0x48f0ab['value']))),_0x48f0ab['next']());return _0x3a4d8c['finishInner'](this['nextLayer']['isEmpty']&&!_0x3896dd['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x3896dd,'filter':_0x55690b,'filterFrom':_0x47df42,'filterTo':_0x530aa3}));}['map'](_0x25bc94){if(_0x25bc94['empty']||this['isEmpty'])return this;let _0x3e82a0=[],_0x52302a=[],_0x5b8bad=-0x1;for(let _0x29923c=0x0;_0x29923c<this['chunk']['length'];_0x29923c++){let _0x1efca9=this['chunkPos'][_0x29923c],_0x3394ad=this['chunk'][_0x29923c],_0x3b9508=_0x25bc94['touchesRange'](_0x1efca9,_0x1efca9+_0x3394ad['length']);if(!0x1===_0x3b9508)_0x5b8bad=Math['max'](_0x5b8bad,_0x3394ad['maxPoint']),_0x3e82a0['push'](_0x3394ad),_0x52302a['push'](_0x25bc94['mapPos'](_0x1efca9));else{if(!0x0===_0x3b9508){let {mapped:_0x588e64,pos:_0x190d7b}=_0x3394ad['map'](_0x1efca9,_0x25bc94);_0x588e64&&(_0x5b8bad=Math['max'](_0x5b8bad,_0x588e64['maxPoint']),_0x3e82a0['push'](_0x588e64),_0x52302a['push'](_0x190d7b));}}}let _0xd27d50=this['nextLayer']['map'](_0x25bc94);return 0x0==_0x3e82a0['length']?_0xd27d50:new RangeSet(_0x52302a,_0x3e82a0,_0xd27d50||RangeSet['empty'],_0x5b8bad);}['between'](_0x29e4ff,_0x343261,_0x4500b2){if(!this['isEmpty']){for(let _0x13651f=0x0;_0x13651f<this['chunk']['length'];_0x13651f++){let _0x4444cd=this['chunkPos'][_0x13651f],_0x34dbcf=this['chunk'][_0x13651f];if(_0x343261>=_0x4444cd&&_0x29e4ff<=_0x4444cd+_0x34dbcf['length']&&!0x1===_0x34dbcf['between'](_0x4444cd,_0x29e4ff-_0x4444cd,_0x343261-_0x4444cd,_0x4500b2))return;}this['nextLayer']['between'](_0x29e4ff,_0x343261,_0x4500b2);}}['iter'](_0x427d57=0x0){return HeapCursor['from']([this])['goto'](_0x427d57);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x5f3ed2,_0x26f7e3=0x0){return HeapCursor['from'](_0x5f3ed2)['goto'](_0x26f7e3);}static['compare'](_0x52f4f3,_0x2637c2,_0x41b5c3,_0x30b998,_0x577564=-0x1){let _0x5c6525=_0x52f4f3['filter'](_0x5f313d=>_0x5f313d['maxPoint']>0x0||!_0x5f313d['isEmpty']&&_0x5f313d['maxPoint']>=_0x577564),_0x28b1b7=_0x2637c2['filter'](_0x3fb605=>_0x3fb605['maxPoint']>0x0||!_0x3fb605['isEmpty']&&_0x3fb605['maxPoint']>=_0x577564),_0x62396=a_(_0x5c6525,_0x28b1b7,_0x41b5c3),_0x7d9bf5=new SpanCursor(_0x5c6525,_0x62396,_0x577564),_0x3711b5=new SpanCursor(_0x28b1b7,_0x62396,_0x577564);_0x41b5c3['iterGaps']((_0x20e746,_0x1090c5,_0x506a05)=>l_(_0x7d9bf5,_0x20e746,_0x3711b5,_0x1090c5,_0x506a05,_0x30b998)),_0x41b5c3['empty']&&0x0==_0x41b5c3['length']&&l_(_0x7d9bf5,0x0,_0x3711b5,0x0,0x0,_0x30b998);}static['eq'](_0x26f197,_0x36fff6,_0x314819=0x0,_0x282180){null==_0x282180&&(_0x282180=0x3b9ac9ff);let _0x50486c=_0x26f197['filter'](_0x4d4b88=>!_0x4d4b88['isEmpty']&&_0x36fff6['indexOf'](_0x4d4b88)<0x0),_0x535cfd=_0x36fff6['filter'](_0x408cdc=>!_0x408cdc['isEmpty']&&_0x26f197['indexOf'](_0x408cdc)<0x0);if(_0x50486c['length']!=_0x535cfd['length'])return!0x1;if(!_0x50486c['length'])return!0x0;let _0x657f9c=a_(_0x50486c,_0x535cfd),_0x203de7=new SpanCursor(_0x50486c,_0x657f9c,0x0)['goto'](_0x314819),_0x55e7f6=new SpanCursor(_0x535cfd,_0x657f9c,0x0)['goto'](_0x314819);for(;;){if(_0x203de7['to']!=_0x55e7f6['to']||!h_(_0x203de7['active'],_0x55e7f6['active'])||_0x203de7['point']&&(!_0x55e7f6['point']||!_0x203de7['point']['eq'](_0x55e7f6['point'])))return!0x1;if(_0x203de7['to']>_0x282180)return!0x0;_0x203de7['next'](),_0x55e7f6['next']();}}static['spans'](_0x14a747,_0x4f37a9,_0x492442,_0x390da6,_0x178919=-0x1){let _0x4c3563=new SpanCursor(_0x14a747,null,_0x178919)['goto'](_0x4f37a9),_0x11eead=_0x4f37a9,_0x12daf9=_0x4c3563['openStart'];for(;;){let _0x405ff2=Math['min'](_0x4c3563['to'],_0x492442);if(_0x4c3563['point']){let _0x394374=_0x4c3563['activeForPoint'](_0x4c3563['to']),_0xbeaf50=_0x4c3563['pointFrom']<_0x4f37a9?_0x394374['length']+0x1:_0x4c3563['point']['startSide']<0x0?_0x394374['length']:Math['min'](_0x394374['length'],_0x12daf9);_0x390da6['point'](_0x11eead,_0x405ff2,_0x4c3563['point'],_0x394374,_0xbeaf50,_0x4c3563['pointRank']),_0x12daf9=Math['min'](_0x4c3563['openEnd'](_0x405ff2),_0x394374['length']);}else _0x405ff2>_0x11eead&&(_0x390da6['span'](_0x11eead,_0x405ff2,_0x4c3563['active'],_0x12daf9),_0x12daf9=_0x4c3563['openEnd'](_0x405ff2));if(_0x4c3563['to']>_0x492442)return _0x12daf9+(_0x4c3563['point']&&_0x4c3563['to']>_0x492442?0x1:0x0);_0x11eead=_0x4c3563['to'],_0x4c3563['next']();}}static['of'](_0x45573d,_0x3a4113=!0x1){let _0x1d7d7b=new RangeSetBuilder();for(let _0xef0e33 of _0x45573d instanceof r_?[_0x45573d]:_0x3a4113?function(_0x2629d7){if(_0x2629d7['length']>0x1)for(let _0x32a19a=_0x2629d7[0x0],_0x24f0b9=0x1;_0x24f0b9<_0x2629d7['length'];_0x24f0b9++){let _0x5f1e1a=_0x2629d7[_0x24f0b9];if(o_(_0x32a19a,_0x5f1e1a)>0x0)return _0x2629d7['slice']()['sort'](o_);_0x32a19a=_0x5f1e1a;}return _0x2629d7;}(_0x45573d):_0x45573d)_0x1d7d7b['add'](_0xef0e33['from'],_0xef0e33['to'],_0xef0e33['value']);return _0x1d7d7b['finish']();}static['join'](_0x4926de){if(!_0x4926de['length'])return RangeSet['empty'];let _0x26053f=_0x4926de[_0x4926de['length']-0x1];for(let _0x570ad6=_0x4926de['length']-0x2;_0x570ad6>=0x0;_0x570ad6--)for(let _0x4c8a9f=_0x4926de[_0x570ad6];_0x4c8a9f!=RangeSet['empty'];_0x4c8a9f=_0x4c8a9f['nextLayer'])_0x26053f=new RangeSet(_0x4c8a9f['chunkPos'],_0x4c8a9f['chunk'],_0x26053f,Math['max'](_0x4c8a9f['maxPoint'],_0x26053f['maxPoint']));return _0x26053f;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x19c932){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,_0x19c932&&(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'](_0x15d8a9,_0x1b1342,_0x352cdd){this['addInner'](_0x15d8a9,_0x1b1342,_0x352cdd)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x15d8a9,_0x1b1342,_0x352cdd);}['addInner'](_0x187b56,_0x293578,_0x545b52){let _0x4ab725=_0x187b56-this['lastTo']||_0x545b52['startSide']-this['last']['endSide'];if(_0x4ab725<=0x0&&(_0x187b56-this['lastFrom']||_0x545b52['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x4ab725<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x187b56),this['from']['push'](_0x187b56-this['chunkStart']),this['to']['push'](_0x293578-this['chunkStart']),this['last']=_0x545b52,this['lastFrom']=_0x187b56,this['lastTo']=_0x293578,this['value']['push'](_0x545b52),_0x545b52['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x293578-_0x187b56)),!0x0);}['addChunk'](_0x19e859,_0x2e1741){if((_0x19e859-this['lastTo']||_0x2e1741['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x2e1741['maxPoint']),this['chunks']['push'](_0x2e1741),this['chunkPos']['push'](_0x19e859);let _0x51c7b8=_0x2e1741['value']['length']-0x1;return this['last']=_0x2e1741['value'][_0x51c7b8],this['lastFrom']=_0x2e1741['from'][_0x51c7b8]+_0x19e859,this['lastTo']=_0x2e1741['to'][_0x51c7b8]+_0x19e859,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x4fcaeb){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x4fcaeb;let _0x23c0e7=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x4fcaeb):_0x4fcaeb,this['setMaxPoint']);return this['from']=null,_0x23c0e7;}}function a_(_0x1363d7,_0x375608,_0x56e1d4){let _0x4b303b=new Map();for(let _0x54571c of _0x1363d7)for(let _0x4a3163=0x0;_0x4a3163<_0x54571c['chunk']['length'];_0x4a3163++)_0x54571c['chunk'][_0x4a3163]['maxPoint']<=0x0&&_0x4b303b['set'](_0x54571c['chunk'][_0x4a3163],_0x54571c['chunkPos'][_0x4a3163]);let _0x138150=new Set();for(let _0x1c28ed of _0x375608)for(let _0x150453=0x0;_0x150453<_0x1c28ed['chunk']['length'];_0x150453++){let _0x4d6340=_0x4b303b['get'](_0x1c28ed['chunk'][_0x150453]);null==_0x4d6340||(_0x56e1d4?_0x56e1d4['mapPos'](_0x4d6340):_0x4d6340)!=_0x1c28ed['chunkPos'][_0x150453]||(null==_0x56e1d4?void 0x0:_0x56e1d4['touchesRange'](_0x4d6340,_0x4d6340+_0x1c28ed['chunk'][_0x150453]['length']))||_0x138150['add'](_0x1c28ed['chunk'][_0x150453]);}return _0x138150;}class LayerCursor{constructor(_0x444acf,_0x5537c5,_0x32ad04,_0x15fcad=0x0){this['layer']=_0x444acf,this['skip']=_0x5537c5,this['minPoint']=_0x32ad04,this['rank']=_0x15fcad;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x2e3117,_0x5e8ef6=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x2e3117,_0x5e8ef6,!0x1),this;}['gotoInner'](_0x22824f,_0x5e997a,_0x437d0b){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x554fdf=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x554fdf)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x22824f||_0x554fdf['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x437d0b=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x262329=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x22824f-this['layer']['chunkPos'][this['chunkIndex']],_0x5e997a,!0x0);(!_0x437d0b||this['rangeIndex']<_0x262329)&&this['setRangeIndex'](_0x262329);}this['next']();}['forward'](_0x5ef11c,_0x26c60c){(this['to']-_0x5ef11c||this['endSide']-_0x26c60c)<0x0&&this['gotoInner'](_0x5ef11c,_0x26c60c,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0xc0f22b=this['layer']['chunkPos'][this['chunkIndex']],_0x3e1f28=this['layer']['chunk'][this['chunkIndex']],_0x440b3e=_0xc0f22b+_0x3e1f28['from'][this['rangeIndex']];if(this['from']=_0x440b3e,this['to']=_0xc0f22b+_0x3e1f28['to'][this['rangeIndex']],this['value']=_0x3e1f28['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x27e42c){if(_0x27e42c==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']=_0x27e42c;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x3c9d95){return this['from']-_0x3c9d95['from']||this['startSide']-_0x3c9d95['startSide']||this['rank']-_0x3c9d95['rank']||this['to']-_0x3c9d95['to']||this['endSide']-_0x3c9d95['endSide'];}}class HeapCursor{constructor(_0x24952a){this['heap']=_0x24952a;}static['from'](_0x48e291,_0x563967=null,_0x40336a=-0x1){let _0x2fe7fe=[];for(let _0x3f6504=0x0;_0x3f6504<_0x48e291['length'];_0x3f6504++)for(let _0x57db8c=_0x48e291[_0x3f6504];!_0x57db8c['isEmpty'];_0x57db8c=_0x57db8c['nextLayer'])_0x57db8c['maxPoint']>=_0x40336a&&_0x2fe7fe['push'](new LayerCursor(_0x57db8c,_0x563967,_0x40336a,_0x3f6504));return 0x1==_0x2fe7fe['length']?_0x2fe7fe[0x0]:new HeapCursor(_0x2fe7fe);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x17ef15,_0xc74822=-0x3b9aca00){for(let _0x2ee6dd of this['heap'])_0x2ee6dd['goto'](_0x17ef15,_0xc74822);for(let _0x53070d=this['heap']['length']>>0x1;_0x53070d>=0x0;_0x53070d--)c_(this['heap'],_0x53070d);return this['next'](),this;}['forward'](_0x52a67d,_0x4431fa){for(let _0x46136d of this['heap'])_0x46136d['forward'](_0x52a67d,_0x4431fa);for(let _0x5d36e4=this['heap']['length']>>0x1;_0x5d36e4>=0x0;_0x5d36e4--)c_(this['heap'],_0x5d36e4);(this['to']-_0x52a67d||this['value']['endSide']-_0x4431fa)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x5bad86=this['heap'][0x0];this['from']=_0x5bad86['from'],this['to']=_0x5bad86['to'],this['value']=_0x5bad86['value'],this['rank']=_0x5bad86['rank'],_0x5bad86['value']&&_0x5bad86['next'](),c_(this['heap'],0x0);}}}function c_(_0x2ef5a8,_0xf7893){for(let _0x1d214d=_0x2ef5a8[_0xf7893];;){let _0x5c4491=0x1+(_0xf7893<<0x1);if(_0x5c4491>=_0x2ef5a8['length'])break;let _0x4eda56=_0x2ef5a8[_0x5c4491];if(_0x5c4491+0x1<_0x2ef5a8['length']&&_0x4eda56['compare'](_0x2ef5a8[_0x5c4491+0x1])>=0x0&&(_0x4eda56=_0x2ef5a8[_0x5c4491+0x1],_0x5c4491++),_0x1d214d['compare'](_0x4eda56)<0x0)break;_0x2ef5a8[_0x5c4491]=_0x1d214d,_0x2ef5a8[_0xf7893]=_0x4eda56,_0xf7893=_0x5c4491;}}class SpanCursor{constructor(_0x612a97,_0x402074,_0x192e98){this['minPoint']=_0x192e98,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'](_0x612a97,_0x402074,_0x192e98);}['goto'](_0x327994,_0x65bf3b=-0x3b9aca00){return this['cursor']['goto'](_0x327994,_0x65bf3b),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x327994,this['endSide']=_0x65bf3b,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x4f4572,_0x4c5a01){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x4f4572||this['active'][this['minActive']]['endSide']-_0x4c5a01)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x4f4572,_0x4c5a01);}['removeActive'](_0x25c1c5){u_(this['active'],_0x25c1c5),u_(this['activeTo'],_0x25c1c5),u_(this['activeRank'],_0x25c1c5),this['minActive']=f_(this['active'],this['activeTo']);}['addActive'](_0x15a4b9){let _0x1e3ccd=0x0,{value:_0x1d881c,to:_0x4ede48,rank:_0x3ad8cf}=this['cursor'];for(;_0x1e3ccd<this['activeRank']['length']&&(_0x3ad8cf-this['activeRank'][_0x1e3ccd]||_0x4ede48-this['activeTo'][_0x1e3ccd])>0x0;)_0x1e3ccd++;d_(this['active'],_0x1e3ccd,_0x1d881c),d_(this['activeTo'],_0x1e3ccd,_0x4ede48),d_(this['activeRank'],_0x1e3ccd,_0x3ad8cf),_0x15a4b9&&d_(_0x15a4b9,_0x1e3ccd,this['cursor']['from']),this['minActive']=f_(this['active'],this['activeTo']);}['next'](){let _0x558674=this['to'],_0x329630=this['point'];this['point']=null;let _0x40d5f6=this['openStart']<0x0?[]:null;for(;;){let _0x596494=this['minActive'];if(_0x596494>-0x1&&(this['activeTo'][_0x596494]-this['cursor']['from']||this['active'][_0x596494]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x596494]>_0x558674){this['to']=this['activeTo'][_0x596494],this['endSide']=this['active'][_0x596494]['endSide'];break;}this['removeActive'](_0x596494),_0x40d5f6&&u_(_0x40d5f6,_0x596494);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x558674){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x104e75=this['cursor']['value'];if(_0x104e75['point']){if(!(_0x329630&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x104e75,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x104e75['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x40d5f6),this['cursor']['next']();}}}if(_0x40d5f6){this['openStart']=0x0;for(let _0x373ab8=_0x40d5f6['length']-0x1;_0x373ab8>=0x0&&_0x40d5f6[_0x373ab8]<_0x558674;_0x373ab8--)this['openStart']++;}}['activeForPoint'](_0x496ced){if(!this['active']['length'])return this['active'];let _0x1d431d=[];for(let _0x41787d=this['active']['length']-0x1;_0x41787d>=0x0&&!(this['activeRank'][_0x41787d]<this['pointRank']);_0x41787d--)(this['activeTo'][_0x41787d]>_0x496ced||this['activeTo'][_0x41787d]==_0x496ced&&this['active'][_0x41787d]['endSide']>=this['point']['endSide'])&&_0x1d431d['push'](this['active'][_0x41787d]);return _0x1d431d['reverse']();}['openEnd'](_0x52cfd7){let _0x202193=0x0;for(let _0x19ad04=this['activeTo']['length']-0x1;_0x19ad04>=0x0&&this['activeTo'][_0x19ad04]>_0x52cfd7;_0x19ad04--)_0x202193++;return _0x202193;}}function l_(_0x5f3d0a,_0x4290ff,_0x399c63,_0x2d41b0,_0x5175b5,_0x1e5c9d){_0x5f3d0a['goto'](_0x4290ff),_0x399c63['goto'](_0x2d41b0);let _0x56c65d=_0x2d41b0+_0x5175b5,_0x11778b=_0x2d41b0,_0xf3b584=_0x2d41b0-_0x4290ff;for(;;){let _0x3bc725=_0x5f3d0a['to']+_0xf3b584-_0x399c63['to'],_0x21e38d=_0x3bc725||_0x5f3d0a['endSide']-_0x399c63['endSide'],_0x50a144=_0x21e38d<0x0?_0x5f3d0a['to']+_0xf3b584:_0x399c63['to'],_0xf1d4b8=Math['min'](_0x50a144,_0x56c65d);if(_0x5f3d0a['point']||_0x399c63['point']?_0x5f3d0a['point']&&_0x399c63['point']&&(_0x5f3d0a['point']==_0x399c63['point']||_0x5f3d0a['point']['eq'](_0x399c63['point']))&&h_(_0x5f3d0a['activeForPoint'](_0x5f3d0a['to']),_0x399c63['activeForPoint'](_0x399c63['to']))||_0x1e5c9d['comparePoint'](_0x11778b,_0xf1d4b8,_0x5f3d0a['point'],_0x399c63['point']):_0xf1d4b8>_0x11778b&&!h_(_0x5f3d0a['active'],_0x399c63['active'])&&_0x1e5c9d['compareRange'](_0x11778b,_0xf1d4b8,_0x5f3d0a['active'],_0x399c63['active']),_0x50a144>_0x56c65d)break;(_0x3bc725||_0x5f3d0a['openEnd']!=_0x399c63['openEnd'])&&_0x1e5c9d['boundChange']&&_0x1e5c9d['boundChange'](_0x50a144),_0x11778b=_0x50a144,_0x21e38d<=0x0&&_0x5f3d0a['next'](),_0x21e38d>=0x0&&_0x399c63['next']();}}function h_(_0x1b0c6f,_0xd7fd5c){if(_0x1b0c6f['length']!=_0xd7fd5c['length'])return!0x1;for(let _0x33f415=0x0;_0x33f415<_0x1b0c6f['length'];_0x33f415++)if(_0x1b0c6f[_0x33f415]!=_0xd7fd5c[_0x33f415]&&!_0x1b0c6f[_0x33f415]['eq'](_0xd7fd5c[_0x33f415]))return!0x1;return!0x0;}function u_(_0x56609f,_0x53c40b){for(let _0x1ac5ef=_0x53c40b,_0x561894=_0x56609f['length']-0x1;_0x1ac5ef<_0x561894;_0x1ac5ef++)_0x56609f[_0x1ac5ef]=_0x56609f[_0x1ac5ef+0x1];_0x56609f['pop']();}function d_(_0x44d83b,_0xa79904,_0x21e122){for(let _0x3a77ab=_0x44d83b['length']-0x1;_0x3a77ab>=_0xa79904;_0x3a77ab--)_0x44d83b[_0x3a77ab+0x1]=_0x44d83b[_0x3a77ab];_0x44d83b[_0xa79904]=_0x21e122;}function f_(_0x51e3bc,_0x1e83e5){let _0x2811af=-0x1,_0x5de027=0x3b9aca00;for(let _0xc36934=0x0;_0xc36934<_0x1e83e5['length'];_0xc36934++)(_0x1e83e5[_0xc36934]-_0x5de027||_0x51e3bc[_0xc36934]['endSide']-_0x51e3bc[_0x2811af]['endSide'])<0x0&&(_0x2811af=_0xc36934,_0x5de027=_0x1e83e5[_0xc36934]);return _0x2811af;}function m_(_0x18f986,_0xf659a,_0x4a5eac=_0x18f986['length']){let _0x5f1f15=0x0;for(let _0x461702=0x0;_0x461702<_0x4a5eac&&_0x461702<_0x18f986['length'];)0x9==_0x18f986['charCodeAt'](_0x461702)?(_0x5f1f15+=_0xf659a-_0x5f1f15%_0xf659a,_0x461702++):(_0x5f1f15++,_0x461702=gy(_0x18f986,_0x461702));return _0x5f1f15;}function g_(_0x1801f8,_0x49abca,_0xb5bc66,_0x5942f6){for(let _0x495030=0x0,_0x556796=0x0;;){if(_0x556796>=_0x49abca)return _0x495030;if(_0x495030==_0x1801f8['length'])break;_0x556796+=0x9==_0x1801f8['charCodeAt'](_0x495030)?_0xb5bc66-_0x556796%_0xb5bc66:0x1,_0x495030=gy(_0x1801f8,_0x495030);}return!0x0===_0x5942f6?-0x1:_0x1801f8['length'];}const p_='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),O_='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),w_='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x165894,_0x1ab2a4){this['rules']=[];let {finish:_0x55fb6f}=_0x1ab2a4||{};function _0x42e90e(_0x355790){return/^@/['test'](_0x355790)?[_0x355790]:_0x355790['split'](/,\s*/);}function _0x2ce11b(_0x3cd849,_0x25bee7,_0x4d7fca,_0xe5bdf2){let _0xc3fff1=[],_0x16979e=/^@(\w+)\b/['exec'](_0x3cd849[0x0]),_0x1433cd=_0x16979e&&'keyframes'==_0x16979e[0x1];if(_0x16979e&&null==_0x25bee7)return _0x4d7fca['push'](_0x3cd849[0x0]+';');for(let _0x2cc0d3 in _0x25bee7){let _0x3b3d63=_0x25bee7[_0x2cc0d3];if(/&/['test'](_0x2cc0d3))_0x2ce11b(_0x2cc0d3['split'](/,\s*/)['map'](_0x4a85aa=>_0x3cd849['map'](_0x2cd096=>_0x4a85aa['replace'](/&/,_0x2cd096)))['reduce']((_0x4867ab,_0x468b77)=>_0x4867ab['concat'](_0x468b77)),_0x3b3d63,_0x4d7fca);else{if(_0x3b3d63&&'object'==typeof _0x3b3d63){if(!_0x16979e)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x2cc0d3+')\x20should\x20be\x20a\x20primitive\x20value.');_0x2ce11b(_0x42e90e(_0x2cc0d3),_0x3b3d63,_0xc3fff1,_0x1433cd);}else null!=_0x3b3d63&&_0xc3fff1['push'](_0x2cc0d3['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x69f319=>'-'+_0x69f319['toLowerCase']())+':\x20'+_0x3b3d63+';');}}(_0xc3fff1['length']||_0x1433cd)&&_0x4d7fca['push']((!_0x55fb6f||_0x16979e||_0xe5bdf2?_0x3cd849:_0x3cd849['map'](_0x55fb6f))['join'](',\x20')+'\x20{'+_0xc3fff1['join']('\x20')+'}');}for(let _0x5be957 in _0x165894)_0x2ce11b(_0x42e90e(_0x5be957),_0x165894[_0x5be957],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x118338=w_[p_]||0x1;return w_[p_]=_0x118338+0x1,'ͼ'+_0x118338['toString'](0x24);}static['mount'](_0x45b5d5,_0xad9fe9,_0x321461){let _0x58b09c=_0x45b5d5[O_],_0x4b4526=_0x321461&&_0x321461['nonce'];_0x58b09c?_0x4b4526&&_0x58b09c['setNonce'](_0x4b4526):_0x58b09c=new StyleSet(_0x45b5d5,_0x4b4526),_0x58b09c['mount'](Array['isArray'](_0xad9fe9)?_0xad9fe9:[_0xad9fe9],_0x45b5d5);}}let b_=new Map();class StyleSet{constructor(_0x257bb8,_0x4146e2){let _0x36b6a2=_0x257bb8['ownerDocument']||_0x257bb8,_0xb0f2b8=_0x36b6a2['defaultView'];if(!_0x257bb8['head']&&_0x257bb8['adoptedStyleSheets']&&_0xb0f2b8['CSSStyleSheet']){let _0x29db34=b_['get'](_0x36b6a2);if(_0x29db34)return _0x257bb8[O_]=_0x29db34;this['sheet']=new _0xb0f2b8['CSSStyleSheet'](),b_['set'](_0x36b6a2,this);}else this['styleTag']=_0x36b6a2['createElement']('style'),_0x4146e2&&this['styleTag']['setAttribute']('nonce',_0x4146e2);this['modules']=[],_0x257bb8[O_]=this;}['mount'](_0x20583b,_0x33d670){let _0x42552d=this['sheet'],_0x13f08d=0x0,_0x508664=0x0;for(let _0x257a83=0x0;_0x257a83<_0x20583b['length'];_0x257a83++){let _0x17d5f2=_0x20583b[_0x257a83],_0x418a65=this['modules']['indexOf'](_0x17d5f2);if(_0x418a65<_0x508664&&_0x418a65>-0x1&&(this['modules']['splice'](_0x418a65,0x1),_0x508664--,_0x418a65=-0x1),-0x1==_0x418a65){if(this['modules']['splice'](_0x508664++,0x0,_0x17d5f2),_0x42552d){for(let _0x1259ca=0x0;_0x1259ca<_0x17d5f2['rules']['length'];_0x1259ca++)_0x42552d['insertRule'](_0x17d5f2['rules'][_0x1259ca],_0x13f08d++);}}else{for(;_0x508664<_0x418a65;)_0x13f08d+=this['modules'][_0x508664++]['rules']['length'];_0x13f08d+=_0x17d5f2['rules']['length'],_0x508664++;}}if(_0x42552d)_0x33d670['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x33d670['adoptedStyleSheets']=[this['sheet'],..._0x33d670['adoptedStyleSheets']]);else{let _0x5bbf4b='';for(let _0x14fde7=0x0;_0x14fde7<this['modules']['length'];_0x14fde7++)_0x5bbf4b+=this['modules'][_0x14fde7]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x5bbf4b;let _0x35dc1e=_0x33d670['head']||_0x33d670;this['styleTag']['parentNode']!=_0x35dc1e&&_0x35dc1e['insertBefore'](this['styleTag'],_0x35dc1e['firstChild']);}}['setNonce'](_0xa0fc42){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0xa0fc42&&this['styleTag']['setAttribute']('nonce',_0xa0fc42);}}for(var y_={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'},__={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'},v_='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),T_='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),E_=0x0;E_<0xa;E_++)y_[0x30+E_]=y_[0x60+E_]=String(E_);for(E_=0x1;E_<=0x18;E_++)y_[E_+0x6f]='F'+E_;for(E_=0x41;E_<=0x5a;E_++)y_[E_]=String['fromCharCode'](E_+0x20),__[E_]=String['fromCharCode'](E_);for(var A_ in y_)__['hasOwnProperty'](A_)||(__[A_]=y_[A_]);let I_='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},S_='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const C_=/Edge\/(\d+)/['exec'](I_['userAgent']),k_=/MSIE \d/['test'](I_['userAgent']),x_=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](I_['userAgent']),R_=!!(k_||x_||C_),P_=!R_&&/gecko\/(\d+)/i['test'](I_['userAgent']),M_=!R_&&/Chrome\/(\d+)/['exec'](I_['userAgent']),N_='webkitFontSmoothing'in S_['documentElement']['style'],L_=!R_&&/Apple Computer/['test'](I_['vendor']),D_=L_&&(/Mobile\/\w+/['test'](I_['userAgent'])||I_['maxTouchPoints']>0x2);var Q_={'mac':D_||/Mac/['test'](I_['platform']),'windows':/Win/['test'](I_['platform']),'linux':/Linux|X11/['test'](I_['platform']),'ie':R_,'ie_version':k_?S_['documentMode']||0x6:x_?+x_[0x1]:C_?+C_[0x1]:0x0,'gecko':P_,'gecko_version':P_?+(/Firefox\/(\d+)/['exec'](I_['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!M_,'chrome_version':M_?+M_[0x1]:0x0,'ios':D_,'android':/Android\b/['test'](I_['userAgent']),'webkit_version':N_?+(/\bAppleWebKit\/(\d+)/['exec'](I_['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':L_,'safari_version':L_?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](I_['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=S_['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function $_(_0x11459b){let _0x4cf23c;return _0x4cf23c=0xb==_0x11459b['nodeType']?_0x11459b['getSelection']?_0x11459b:_0x11459b['ownerDocument']:_0x11459b,_0x4cf23c['getSelection']();}function V_(_0x3d093a,_0x237bf9){return!!_0x237bf9&&(_0x3d093a==_0x237bf9||_0x3d093a['contains'](0x1!=_0x237bf9['nodeType']?_0x237bf9['parentNode']:_0x237bf9));}function U_(_0x2b6f0a,_0x34a412){if(!_0x34a412['anchorNode'])return!0x1;try{return V_(_0x2b6f0a,_0x34a412['anchorNode']);}catch(_0x35a90f){return!0x1;}}function B_(_0x4b87ae){return 0x3==_0x4b87ae['nodeType']?J_(_0x4b87ae,0x0,_0x4b87ae['nodeValue']['length'])['getClientRects']():0x1==_0x4b87ae['nodeType']?_0x4b87ae['getClientRects']():[];}function F_(_0x2847e3,_0x122498,_0xf98138,_0x39b3a6){return!!_0xf98138&&(G_(_0x2847e3,_0x122498,_0xf98138,_0x39b3a6,-0x1)||G_(_0x2847e3,_0x122498,_0xf98138,_0x39b3a6,0x1));}function j_(_0x50fe56){for(var _0xd7009d=0x0;;_0xd7009d++)if(!(_0x50fe56=_0x50fe56['previousSibling']))return _0xd7009d;}function H_(_0x8eb670){return 0x1==_0x8eb670['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x8eb670['nodeName']);}function G_(_0x5cf306,_0x42bfab,_0x36ee0f,_0x552555,_0x280ae9){for(;;){if(_0x5cf306==_0x36ee0f&&_0x42bfab==_0x552555)return!0x0;if(_0x42bfab==(_0x280ae9<0x0?0x0:Z_(_0x5cf306))){if('DIV'==_0x5cf306['nodeName'])return!0x1;let _0x136224=_0x5cf306['parentNode'];if(!_0x136224||0x1!=_0x136224['nodeType'])return!0x1;_0x42bfab=j_(_0x5cf306)+(_0x280ae9<0x0?0x0:0x1),_0x5cf306=_0x136224;}else{if(0x1!=_0x5cf306['nodeType'])return!0x1;if(0x1==(_0x5cf306=_0x5cf306['childNodes'][_0x42bfab+(_0x280ae9<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x5cf306['contentEditable'])return!0x1;_0x42bfab=_0x280ae9<0x0?Z_(_0x5cf306):0x0;}}}function Z_(_0x119cfd){return 0x3==_0x119cfd['nodeType']?_0x119cfd['nodeValue']['length']:_0x119cfd['childNodes']['length'];}function X_(_0x2551ae,_0x4756c9){let _0x164ecd=_0x4756c9?_0x2551ae['left']:_0x2551ae['right'];return{'left':_0x164ecd,'right':_0x164ecd,'top':_0x2551ae['top'],'bottom':_0x2551ae['bottom']};}function q_(_0x5a1902){let _0x392a4c=_0x5a1902['visualViewport'];return _0x392a4c?{'left':0x0,'right':_0x392a4c['width'],'top':0x0,'bottom':_0x392a4c['height']}:{'left':0x0,'right':_0x5a1902['innerWidth'],'top':0x0,'bottom':_0x5a1902['innerHeight']};}function W_(_0x17608e,_0x2c5b24){let _0x4aeed8=_0x2c5b24['width']/_0x17608e['offsetWidth'],_0x59d734=_0x2c5b24['height']/_0x17608e['offsetHeight'];return(_0x4aeed8>0.995&&_0x4aeed8<1.005||!isFinite(_0x4aeed8)||Math['abs'](_0x2c5b24['width']-_0x17608e['offsetWidth'])<0x1)&&(_0x4aeed8=0x1),(_0x59d734>0.995&&_0x59d734<1.005||!isFinite(_0x59d734)||Math['abs'](_0x2c5b24['height']-_0x17608e['offsetHeight'])<0x1)&&(_0x59d734=0x1),{'scaleX':_0x4aeed8,'scaleY':_0x59d734};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x3ff8b0){return this['anchorNode']==_0x3ff8b0['anchorNode']&&this['anchorOffset']==_0x3ff8b0['anchorOffset']&&this['focusNode']==_0x3ff8b0['focusNode']&&this['focusOffset']==_0x3ff8b0['focusOffset'];}['setRange'](_0x37ce68){let {anchorNode:_0x44d8b8,focusNode:_0x15090a}=_0x37ce68;this['set'](_0x44d8b8,Math['min'](_0x37ce68['anchorOffset'],_0x44d8b8?Z_(_0x44d8b8):0x0),_0x15090a,Math['min'](_0x37ce68['focusOffset'],_0x15090a?Z_(_0x15090a):0x0));}['set'](_0x322fa3,_0x48f676,_0x4cce70,_0x294004){this['anchorNode']=_0x322fa3,this['anchorOffset']=_0x48f676,this['focusNode']=_0x4cce70,this['focusOffset']=_0x294004;}}let z_,Y_=null;function K_(_0x3404d3){if(_0x3404d3['setActive'])return _0x3404d3['setActive']();if(Y_)return _0x3404d3['focus'](Y_);let _0x51823a=[];for(let _0xb50648=_0x3404d3;_0xb50648&&(_0x51823a['push'](_0xb50648,_0xb50648['scrollTop'],_0xb50648['scrollLeft']),_0xb50648!=_0xb50648['ownerDocument']);_0xb50648=_0xb50648['parentNode']);if(_0x3404d3['focus'](null==Y_?{get 'preventScroll'(){return Y_={'preventScroll':!0x0},!0x0;}}:void 0x0),!Y_){Y_=!0x1;for(let _0x268079=0x0;_0x268079<_0x51823a['length'];){let _0x37202c=_0x51823a[_0x268079++],_0x3bf50b=_0x51823a[_0x268079++],_0xee1911=_0x51823a[_0x268079++];_0x37202c['scrollTop']!=_0x3bf50b&&(_0x37202c['scrollTop']=_0x3bf50b),_0x37202c['scrollLeft']!=_0xee1911&&(_0x37202c['scrollLeft']=_0xee1911);}}}function J_(_0xaa466f,_0x2a191a,_0x528bb2=_0x2a191a){let _0x22d9ff=z_||(z_=document['createRange']());return _0x22d9ff['setEnd'](_0xaa466f,_0x528bb2),_0x22d9ff['setStart'](_0xaa466f,_0x2a191a),_0x22d9ff;}function tv(_0x18df34,_0xc3d234,_0xbb9f55,_0x1b6002){let _0x4597cc={'key':_0xc3d234,'code':_0xc3d234,'keyCode':_0xbb9f55,'which':_0xbb9f55,'cancelable':!0x0};_0x1b6002&&({altKey:_0x4597cc['altKey'],ctrlKey:_0x4597cc['ctrlKey'],shiftKey:_0x4597cc['shiftKey'],metaKey:_0x4597cc['metaKey']}=_0x1b6002);let _0x36be49=new KeyboardEvent('keydown',_0x4597cc);_0x36be49['synthetic']=!0x0,_0x18df34['dispatchEvent'](_0x36be49);let _0x5ceef1=new KeyboardEvent('keyup',_0x4597cc);return _0x5ceef1['synthetic']=!0x0,_0x18df34['dispatchEvent'](_0x5ceef1),_0x36be49['defaultPrevented']||_0x5ceef1['defaultPrevented'];}function ev(_0xbf5669){for(;_0xbf5669['attributes']['length'];)_0xbf5669['removeAttributeNode'](_0xbf5669['attributes'][0x0]);}function iv(_0x387700){return _0x387700['scrollTop']>Math['max'](0x1,_0x387700['scrollHeight']-_0x387700['clientHeight']-0x4);}function sv(_0x3e7b7a,_0x6d4a54){for(let _0x5867b2=_0x3e7b7a,_0x126bf9=_0x6d4a54;;){if(0x3==_0x5867b2['nodeType']&&_0x126bf9>0x0)return{'node':_0x5867b2,'offset':_0x126bf9};if(0x1==_0x5867b2['nodeType']&&_0x126bf9>0x0){if('false'==_0x5867b2['contentEditable'])return null;_0x5867b2=_0x5867b2['childNodes'][_0x126bf9-0x1],_0x126bf9=Z_(_0x5867b2);}else{if(!_0x5867b2['parentNode']||H_(_0x5867b2))return null;_0x126bf9=j_(_0x5867b2),_0x5867b2=_0x5867b2['parentNode'];}}}function nv(_0x2db90c,_0x498ec1){for(let _0x3516cc=_0x2db90c,_0x1f9691=_0x498ec1;;){if(0x3==_0x3516cc['nodeType']&&_0x1f9691<_0x3516cc['nodeValue']['length'])return{'node':_0x3516cc,'offset':_0x1f9691};if(0x1==_0x3516cc['nodeType']&&_0x1f9691<_0x3516cc['childNodes']['length']){if('false'==_0x3516cc['contentEditable'])return null;_0x3516cc=_0x3516cc['childNodes'][_0x1f9691],_0x1f9691=0x0;}else{if(!_0x3516cc['parentNode']||H_(_0x3516cc))return null;_0x1f9691=j_(_0x3516cc)+0x1,_0x3516cc=_0x3516cc['parentNode'];}}}Q_['safari']&&Q_['safari_version']>=0x1a&&(Y_=!0x1);class DOMPos{constructor(_0x186b2b,_0x1a87b5,_0x274595=!0x0){this['node']=_0x186b2b,this['offset']=_0x1a87b5,this['precise']=_0x274595;}static['before'](_0x4ad16b,_0x2551b9){return new DOMPos(_0x4ad16b['parentNode'],j_(_0x4ad16b),_0x2551b9);}static['after'](_0x17b872,_0x1da486){return new DOMPos(_0x17b872['parentNode'],j_(_0x17b872)+0x1,_0x1da486);}}const rv=[];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'](_0x34078a){let _0x4f3826=this['posAtStart'];for(let _0x1b574b of this['children']){if(_0x1b574b==_0x34078a)return _0x4f3826;_0x4f3826+=_0x1b574b['length']+_0x1b574b['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x473662){return this['posBefore'](_0x473662)+_0x473662['length'];}['sync'](_0x25bec3,_0x4ebeef){if(0x2&this['flags']){let _0x26eb47,_0x35a601=this['dom'],_0xee6229=null;for(let _0x3b00d1 of this['children']){if(0x7&_0x3b00d1['flags']){if(!_0x3b00d1['dom']&&(_0x26eb47=_0xee6229?_0xee6229['nextSibling']:_0x35a601['firstChild'])){let _0x314a72=ContentView['get'](_0x26eb47);(!_0x314a72||!_0x314a72['parent']&&_0x314a72['canReuseDOM'](_0x3b00d1))&&_0x3b00d1['reuseDOM'](_0x26eb47);}_0x3b00d1['sync'](_0x25bec3,_0x4ebeef),_0x3b00d1['flags']&=-0x8;}if(_0x26eb47=_0xee6229?_0xee6229['nextSibling']:_0x35a601['firstChild'],_0x4ebeef&&!_0x4ebeef['written']&&_0x4ebeef['node']==_0x35a601&&_0x26eb47!=_0x3b00d1['dom']&&(_0x4ebeef['written']=!0x0),_0x3b00d1['dom']['parentNode']==_0x35a601){for(;_0x26eb47&&_0x26eb47!=_0x3b00d1['dom'];)_0x26eb47=ov(_0x26eb47);}else _0x35a601['insertBefore'](_0x3b00d1['dom'],_0x26eb47);_0xee6229=_0x3b00d1['dom'];}for(_0x26eb47=_0xee6229?_0xee6229['nextSibling']:_0x35a601['firstChild'],_0x26eb47&&_0x4ebeef&&_0x4ebeef['node']==_0x35a601&&(_0x4ebeef['written']=!0x0);_0x26eb47;)_0x26eb47=ov(_0x26eb47);}else{if(0x1&this['flags']){for(let _0x1f09b2 of this['children'])0x7&_0x1f09b2['flags']&&(_0x1f09b2['sync'](_0x25bec3,_0x4ebeef),_0x1f09b2['flags']&=-0x8);}}}['reuseDOM'](_0x5429b9){}['localPosFromDOM'](_0x167987,_0x37aeea){let _0x32164f;if(_0x167987==this['dom'])_0x32164f=this['dom']['childNodes'][_0x37aeea];else{let _0x38e3b5=0x0==Z_(_0x167987)?0x0:0x0==_0x37aeea?-0x1:0x1;for(;;){let _0x309e2d=_0x167987['parentNode'];if(_0x309e2d==this['dom'])break;0x0==_0x38e3b5&&_0x309e2d['firstChild']!=_0x309e2d['lastChild']&&(_0x38e3b5=_0x167987==_0x309e2d['firstChild']?-0x1:0x1),_0x167987=_0x309e2d;}_0x32164f=_0x38e3b5<0x0?_0x167987:_0x167987['nextSibling'];}if(_0x32164f==this['dom']['firstChild'])return 0x0;for(;_0x32164f&&!ContentView['get'](_0x32164f);)_0x32164f=_0x32164f['nextSibling'];if(!_0x32164f)return this['length'];for(let _0x2304d5=0x0,_0x24f9ad=0x0;;_0x2304d5++){let _0x13d29d=this['children'][_0x2304d5];if(_0x13d29d['dom']==_0x32164f)return _0x24f9ad;_0x24f9ad+=_0x13d29d['length']+_0x13d29d['breakAfter'];}}['domBoundsAround'](_0x5b05c3,_0x13108c,_0xac0502=0x0){let _0x1786de=-0x1,_0x544879=-0x1,_0x52bb0c=-0x1,_0x45834a=-0x1;for(let _0x3e1854=0x0,_0x36d9ed=_0xac0502,_0xa83f7f=_0xac0502;_0x3e1854<this['children']['length'];_0x3e1854++){let _0x416fc1=this['children'][_0x3e1854],_0x374997=_0x36d9ed+_0x416fc1['length'];if(_0x36d9ed<_0x5b05c3&&_0x374997>_0x13108c)return _0x416fc1['domBoundsAround'](_0x5b05c3,_0x13108c,_0x36d9ed);if(_0x374997>=_0x5b05c3&&-0x1==_0x1786de&&(_0x1786de=_0x3e1854,_0x544879=_0x36d9ed),_0x36d9ed>_0x13108c&&_0x416fc1['dom']['parentNode']==this['dom']){_0x52bb0c=_0x3e1854,_0x45834a=_0xa83f7f;break;}_0xa83f7f=_0x374997,_0x36d9ed=_0x374997+_0x416fc1['breakAfter'];}return{'from':_0x544879,'to':_0x45834a<0x0?_0xac0502+this['length']:_0x45834a,'startDOM':(_0x1786de?this['children'][_0x1786de-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x52bb0c<this['children']['length']&&_0x52bb0c>=0x0?this['children'][_0x52bb0c]['dom']:null};}['markDirty'](_0x243e85=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x243e85);}['markParentsDirty'](_0x4d2835){for(let _0x34621b=this['parent'];_0x34621b;_0x34621b=_0x34621b['parent']){if(_0x4d2835&&(_0x34621b['flags']|=0x2),0x1&_0x34621b['flags'])return;_0x34621b['flags']|=0x1,_0x4d2835=!0x1;}}['setParent'](_0x4a4f31){this['parent']!=_0x4a4f31&&(this['parent']=_0x4a4f31,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x331462){this['dom']!=_0x331462&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x331462,_0x331462['cmView']=this);}get['rootView'](){for(let _0x268ef2=this;;){let _0x2a1101=_0x268ef2['parent'];if(!_0x2a1101)return _0x268ef2;_0x268ef2=_0x2a1101;}}['replaceChildren'](_0x6a7c4f,_0x344fa6,_0x49410b=rv){this['markDirty']();for(let _0x8f28e8=_0x6a7c4f;_0x8f28e8<_0x344fa6;_0x8f28e8++){let _0x39aeb0=this['children'][_0x8f28e8];_0x39aeb0['parent']==this&&_0x49410b['indexOf'](_0x39aeb0)<0x0&&_0x39aeb0['destroy']();}_0x49410b['length']<0xfa?this['children']['splice'](_0x6a7c4f,_0x344fa6-_0x6a7c4f,..._0x49410b):this['children']=[]['concat'](this['children']['slice'](0x0,_0x6a7c4f),_0x49410b,this['children']['slice'](_0x344fa6));for(let _0x131f73=0x0;_0x131f73<_0x49410b['length'];_0x131f73++)_0x49410b[_0x131f73]['setParent'](this);}['ignoreMutation'](_0x34d299){return!0x1;}['ignoreEvent'](_0x4ada07){return!0x1;}['childCursor'](_0x911d2d=this['length']){return new ChildCursor(this['children'],_0x911d2d,this['children']['length']);}['childPos'](_0x32c068,_0x242c14=0x1){return this['childCursor']()['findPos'](_0x32c068,_0x242c14);}['toString'](){let _0x265067=this['constructor']['name']['replace']('View','');return _0x265067+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x265067?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x50b37f){return _0x50b37f['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x411cf7,_0x34a981,_0x70b8e7,_0xbc19a0,_0x13d9b9,_0x3af8ab){return!0x1;}['become'](_0x235f34){return!0x1;}['canReuseDOM'](_0x52a9e0){return _0x52a9e0['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x52a9e0['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x66f354 of this['children'])_0x66f354['parent']==this&&_0x66f354['destroy']();this['parent']=null;}}function ov(_0x1b8ea1){let _0x4f88be=_0x1b8ea1['nextSibling'];return _0x1b8ea1['parentNode']['removeChild'](_0x1b8ea1),_0x4f88be;}ContentView['prototype']['breakAfter']=0x0;class ChildCursor{constructor(_0x47021d,_0x2d3de5,_0x42f379){this['children']=_0x47021d,this['pos']=_0x2d3de5,this['i']=_0x42f379,this['off']=0x0;}['findPos'](_0x15b957,_0x2920f4=0x1){for(;;){if(_0x15b957>this['pos']||_0x15b957==this['pos']&&(_0x2920f4>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x15b957-this['pos'],this;let _0x303886=this['children'][--this['i']];this['pos']-=_0x303886['length']+_0x303886['breakAfter'];}}}function av(_0x33edf1,_0x56f882,_0x1d9db9,_0x401105,_0x2a4698,_0x1aff08,_0x44d979,_0x55c5b2,_0x2a0086){let {children:_0x22f186}=_0x33edf1,_0x43c174=_0x22f186['length']?_0x22f186[_0x56f882]:null,_0x18f409=_0x1aff08['length']?_0x1aff08[_0x1aff08['length']-0x1]:null,_0x2f5545=_0x18f409?_0x18f409['breakAfter']:_0x44d979;if(!(_0x56f882==_0x401105&&_0x43c174&&!_0x44d979&&!_0x2f5545&&_0x1aff08['length']<0x2&&_0x43c174['merge'](_0x1d9db9,_0x2a4698,_0x1aff08['length']?_0x18f409:null,0x0==_0x1d9db9,_0x55c5b2,_0x2a0086))){if(_0x401105<_0x22f186['length']){let _0x25ed5e=_0x22f186[_0x401105];_0x25ed5e&&(_0x2a4698<_0x25ed5e['length']||_0x25ed5e['breakAfter']&&(null==_0x18f409?void 0x0:_0x18f409['breakAfter']))?(_0x56f882==_0x401105&&(_0x25ed5e=_0x25ed5e['split'](_0x2a4698),_0x2a4698=0x0),!_0x2f5545&&_0x18f409&&_0x25ed5e['merge'](0x0,_0x2a4698,_0x18f409,!0x0,0x0,_0x2a0086)?_0x1aff08[_0x1aff08['length']-0x1]=_0x25ed5e:((_0x2a4698||_0x25ed5e['children']['length']&&!_0x25ed5e['children'][0x0]['length'])&&_0x25ed5e['merge'](0x0,_0x2a4698,null,!0x1,0x0,_0x2a0086),_0x1aff08['push'](_0x25ed5e))):(null==_0x25ed5e?void 0x0:_0x25ed5e['breakAfter'])&&(_0x18f409?_0x18f409['breakAfter']=0x1:_0x44d979=0x1),_0x401105++;}for(_0x43c174&&(_0x43c174['breakAfter']=_0x44d979,_0x1d9db9>0x0&&(!_0x44d979&&_0x1aff08['length']&&_0x43c174['merge'](_0x1d9db9,_0x43c174['length'],_0x1aff08[0x0],!0x1,_0x55c5b2,0x0)?_0x43c174['breakAfter']=_0x1aff08['shift']()['breakAfter']:(_0x1d9db9<_0x43c174['length']||_0x43c174['children']['length']&&0x0==_0x43c174['children'][_0x43c174['children']['length']-0x1]['length'])&&_0x43c174['merge'](_0x1d9db9,_0x43c174['length'],null,!0x1,_0x55c5b2,0x0),_0x56f882++));_0x56f882<_0x401105&&_0x1aff08['length'];)if(_0x22f186[_0x401105-0x1]['become'](_0x1aff08[_0x1aff08['length']-0x1]))_0x401105--,_0x1aff08['pop'](),_0x2a0086=_0x1aff08['length']?0x0:_0x55c5b2;else{if(!_0x22f186[_0x56f882]['become'](_0x1aff08[0x0]))break;_0x56f882++,_0x1aff08['shift'](),_0x55c5b2=_0x1aff08['length']?0x0:_0x2a0086;}!_0x1aff08['length']&&_0x56f882&&_0x401105<_0x22f186['length']&&!_0x22f186[_0x56f882-0x1]['breakAfter']&&_0x22f186[_0x401105]['merge'](0x0,0x0,_0x22f186[_0x56f882-0x1],!0x1,_0x55c5b2,_0x2a0086)&&_0x56f882--,(_0x56f882<_0x401105||_0x1aff08['length'])&&_0x33edf1['replaceChildren'](_0x56f882,_0x401105,_0x1aff08);}}function cv(_0x577483,_0x2000a8,_0x3ae510,_0x390536,_0xe422d9,_0x2662a9){let _0x12f8ad=_0x577483['childCursor'](),{i:_0x3c53f5,off:_0x2889c3}=_0x12f8ad['findPos'](_0x3ae510,0x1),{i:_0x2b2982,off:_0x1b5017}=_0x12f8ad['findPos'](_0x2000a8,-0x1),_0x56429c=_0x2000a8-_0x3ae510;for(let _0x56857c of _0x390536)_0x56429c+=_0x56857c['length'];_0x577483['length']+=_0x56429c,av(_0x577483,_0x2b2982,_0x1b5017,_0x3c53f5,_0x2889c3,_0x390536,0x0,_0xe422d9,_0x2662a9);}class TextView extends ContentView{constructor(_0x4ccce9){super(),this['text']=_0x4ccce9;}get['length'](){return this['text']['length'];}['createDOM'](_0x1109d7){this['setDOM'](_0x1109d7||document['createTextNode'](this['text']));}['sync'](_0x2db823,_0x7bc423){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x7bc423&&_0x7bc423['node']==this['dom']&&(_0x7bc423['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x22fffa){0x3==_0x22fffa['nodeType']&&this['createDOM'](_0x22fffa);}['merge'](_0x1b02e5,_0x4c76a0,_0x519a47){return!(0x8&this['flags']||_0x519a47&&(!(_0x519a47 instanceof TextView)||this['length']-(_0x4c76a0-_0x1b02e5)+_0x519a47['length']>0x100||0x8&_0x519a47['flags']))&&(this['text']=this['text']['slice'](0x0,_0x1b02e5)+(_0x519a47?_0x519a47['text']:'')+this['text']['slice'](_0x4c76a0),this['markDirty'](),!0x0);}['split'](_0x40ffc6){let _0x511cca=new TextView(this['text']['slice'](_0x40ffc6));return this['text']=this['text']['slice'](0x0,_0x40ffc6),this['markDirty'](),_0x511cca['flags']|=0x8&this['flags'],_0x511cca;}['localPosFromDOM'](_0x4cf087,_0x4a354a){return _0x4cf087==this['dom']?_0x4a354a:_0x4a354a?this['text']['length']:0x0;}['domAtPos'](_0x16de9d){return new DOMPos(this['dom'],_0x16de9d);}['domBoundsAround'](_0x1ac80f,_0x324b8d,_0x5aaaed){return{'from':_0x5aaaed,'to':_0x5aaaed+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x4448a5,_0x26fb1c){return function(_0x175d80,_0x117b6e,_0x2f1974){let _0x2ebaa2=_0x175d80['nodeValue']['length'];_0x117b6e>_0x2ebaa2&&(_0x117b6e=_0x2ebaa2);let _0x37b25d=_0x117b6e,_0x338704=_0x117b6e,_0x238d8f=0x0;0x0==_0x117b6e&&_0x2f1974<0x0||_0x117b6e==_0x2ebaa2&&_0x2f1974>=0x0?Q_['chrome']||Q_['gecko']||(_0x117b6e?(_0x37b25d--,_0x238d8f=0x1):_0x338704<_0x2ebaa2&&(_0x338704++,_0x238d8f=-0x1)):_0x2f1974<0x0?_0x37b25d--:_0x338704<_0x2ebaa2&&_0x338704++;let _0x519c60=J_(_0x175d80,_0x37b25d,_0x338704)['getClientRects']();if(!_0x519c60['length'])return null;let _0x31c097=_0x519c60[(_0x238d8f?_0x238d8f<0x0:_0x2f1974>=0x0)?0x0:_0x519c60['length']-0x1];return Q_['safari']&&!_0x238d8f&&0x0==_0x31c097['width']&&(_0x31c097=Array['prototype']['find']['call'](_0x519c60,_0x37aa4a=>_0x37aa4a['width'])||_0x31c097),_0x238d8f?X_(_0x31c097,_0x238d8f<0x0):_0x31c097||null;}(this['dom'],_0x4448a5,_0x26fb1c);}}class MarkView extends ContentView{constructor(_0xc7e5d4,_0x3536f6=[],_0x2442b1=0x0){super(),this['mark']=_0xc7e5d4,this['children']=_0x3536f6,this['length']=_0x2442b1;for(let _0x41b4a4 of _0x3536f6)_0x41b4a4['setParent'](this);}['setAttrs'](_0x4a4931){if(ev(_0x4a4931),this['mark']['class']&&(_0x4a4931['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x117d24 in this['mark']['attrs'])_0x4a4931['setAttribute'](_0x117d24,this['mark']['attrs'][_0x117d24]);}return _0x4a4931;}['canReuseDOM'](_0x371362){return super['canReuseDOM'](_0x371362)&&!(0x8&(this['flags']|_0x371362['flags']));}['reuseDOM'](_0x248472){_0x248472['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x248472),this['flags']|=0x6);}['sync'](_0x3dcfa3,_0x273d73){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x3dcfa3,_0x273d73);}['merge'](_0x557e9a,_0x219ad3,_0x1a6cfa,_0x396d55,_0x2f5936,_0x4f3e87){return(!_0x1a6cfa||!(!(_0x1a6cfa instanceof MarkView&&_0x1a6cfa['mark']['eq'](this['mark']))||_0x557e9a&&_0x2f5936<=0x0||_0x219ad3<this['length']&&_0x4f3e87<=0x0))&&(cv(this,_0x557e9a,_0x219ad3,_0x1a6cfa?_0x1a6cfa['children']['slice']():[],_0x2f5936-0x1,_0x4f3e87-0x1),this['markDirty'](),!0x0);}['split'](_0x16d38c){let _0x55735c=[],_0x2f835e=0x0,_0x54c69a=-0x1,_0x1515bb=0x0;for(let _0x5bad31 of this['children']){let _0x15efb8=_0x2f835e+_0x5bad31['length'];_0x15efb8>_0x16d38c&&_0x55735c['push'](_0x2f835e<_0x16d38c?_0x5bad31['split'](_0x16d38c-_0x2f835e):_0x5bad31),_0x54c69a<0x0&&_0x2f835e>=_0x16d38c&&(_0x54c69a=_0x1515bb),_0x2f835e=_0x15efb8,_0x1515bb++;}let _0x10ffd6=this['length']-_0x16d38c;return this['length']=_0x16d38c,_0x54c69a>-0x1&&(this['children']['length']=_0x54c69a,this['markDirty']()),new MarkView(this['mark'],_0x55735c,_0x10ffd6);}['domAtPos'](_0x20f1e2){return lv(this,_0x20f1e2);}['coordsAt'](_0x58942d,_0x203eb1){return uv(this,_0x58942d,_0x203eb1);}}class WidgetView extends ContentView{static['create'](_0x57229a,_0x1db501,_0x56c26a){return new WidgetView(_0x57229a,_0x1db501,_0x56c26a);}constructor(_0x4ce8a9,_0x1affd5,_0x3b1fc4){super(),this['widget']=_0x4ce8a9,this['length']=_0x1affd5,this['side']=_0x3b1fc4,this['prevWidget']=null;}['split'](_0x17ea0a){let _0x3cf3ea=WidgetView['create'](this['widget'],this['length']-_0x17ea0a,this['side']);return this['length']-=_0x17ea0a,_0x3cf3ea;}['sync'](_0x3aaef6){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x3aaef6)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x3aaef6)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x35c4d9,_0x5bc8b5,_0x30f5a0,_0x2227c2,_0x31a3cd,_0x29735d){return!(_0x30f5a0&&(!(_0x30f5a0 instanceof WidgetView&&this['widget']['compare'](_0x30f5a0['widget']))||_0x35c4d9>0x0&&_0x31a3cd<=0x0||_0x5bc8b5<this['length']&&_0x29735d<=0x0))&&(this['length']=_0x35c4d9+(_0x30f5a0?_0x30f5a0['length']:0x0)+(this['length']-_0x5bc8b5),!0x0);}['become'](_0x1f0cd9){return _0x1f0cd9 instanceof WidgetView&&_0x1f0cd9['side']==this['side']&&this['widget']['constructor']==_0x1f0cd9['widget']['constructor']&&(this['widget']['compare'](_0x1f0cd9['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x1f0cd9['widget'],this['length']=_0x1f0cd9['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x3e7d12){return this['widget']['ignoreEvent'](_0x3e7d12);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x5eae82=this;for(;_0x5eae82['parent'];)_0x5eae82=_0x5eae82['parent'];let {view:_0x3060f5}=_0x5eae82,_0xfd1335=_0x3060f5&&_0x3060f5['state']['doc'],_0x29fd5f=this['posAtStart'];return _0xfd1335?_0xfd1335['slice'](_0x29fd5f,_0x29fd5f+this['length']):Text['empty'];}['domAtPos'](_0x13c3bf){return(this['length']?0x0==_0x13c3bf:this['side']>0x0)?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x13c3bf==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0xe93d9e,_0x5d296d){let _0x3be65a=this['widget']['coordsAt'](this['dom'],_0xe93d9e,_0x5d296d);if(_0x3be65a)return _0x3be65a;let _0x4303c9=this['dom']['getClientRects'](),_0x5b29f9=null;if(!_0x4303c9['length'])return null;let _0x258c35=this['side']?this['side']<0x0:_0xe93d9e>0x0;for(let _0x2fb2d7=_0x258c35?_0x4303c9['length']-0x1:0x0;_0x5b29f9=_0x4303c9[_0x2fb2d7],!(_0xe93d9e>0x0?0x0==_0x2fb2d7:_0x2fb2d7==_0x4303c9['length']-0x1||_0x5b29f9['top']<_0x5b29f9['bottom']);_0x2fb2d7+=_0x258c35?-0x1:0x1);return X_(_0x5b29f9,!_0x258c35);}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(_0x2fd27a){super(),this['side']=_0x2fd27a;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x275e5a){return _0x275e5a instanceof WidgetBufferView&&_0x275e5a['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x57ec17=document['createElement']('img');_0x57ec17['className']='cm-widgetBuffer',_0x57ec17['setAttribute']('aria-hidden','true'),this['setDOM'](_0x57ec17);}}['getSide'](){return this['side'];}['domAtPos'](_0x47edaa){return this['side']>0x0?DOMPos['before'](this['dom']):DOMPos['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x11e618){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function lv(_0x40f148,_0x52d5dd){let _0x52ae5d=_0x40f148['dom'],{children:_0x1d0f52}=_0x40f148,_0x2eaeaa=0x0;for(let _0x5e7cde=0x0;_0x2eaeaa<_0x1d0f52['length'];_0x2eaeaa++){let _0x3cb666=_0x1d0f52[_0x2eaeaa],_0x437154=_0x5e7cde+_0x3cb666['length'];if(!(_0x437154==_0x5e7cde&&_0x3cb666['getSide']()<=0x0)){if(_0x52d5dd>_0x5e7cde&&_0x52d5dd<_0x437154&&_0x3cb666['dom']['parentNode']==_0x52ae5d)return _0x3cb666['domAtPos'](_0x52d5dd-_0x5e7cde);if(_0x52d5dd<=_0x5e7cde)break;_0x5e7cde=_0x437154;}}for(let _0x1286d7=_0x2eaeaa;_0x1286d7>0x0;_0x1286d7--){let _0x584404=_0x1d0f52[_0x1286d7-0x1];if(_0x584404['dom']['parentNode']==_0x52ae5d)return _0x584404['domAtPos'](_0x584404['length']);}for(let _0x2dccd7=_0x2eaeaa;_0x2dccd7<_0x1d0f52['length'];_0x2dccd7++){let _0x220b15=_0x1d0f52[_0x2dccd7];if(_0x220b15['dom']['parentNode']==_0x52ae5d)return _0x220b15['domAtPos'](0x0);}return new DOMPos(_0x52ae5d,0x0);}function hv(_0x2ec2c2,_0x28e855,_0x5326d7){let _0x3c7e51,{children:_0x2f65ca}=_0x2ec2c2;_0x5326d7>0x0&&_0x28e855 instanceof MarkView&&_0x2f65ca['length']&&(_0x3c7e51=_0x2f65ca[_0x2f65ca['length']-0x1])instanceof MarkView&&_0x3c7e51['mark']['eq'](_0x28e855['mark'])?hv(_0x3c7e51,_0x28e855['children'][0x0],_0x5326d7-0x1):(_0x2f65ca['push'](_0x28e855),_0x28e855['setParent'](_0x2ec2c2)),_0x2ec2c2['length']+=_0x28e855['length'];}function uv(_0x53424e,_0x23ec7d,_0x533380){let _0x1f64d8=null,_0x41ee55=-0x1,_0x56b333=null,_0x1d8c12=-0x1;!function _0x28f55a(_0x443876,_0x1796ae){for(let _0x4b6442=0x0,_0x941495=0x0;_0x4b6442<_0x443876['children']['length']&&_0x941495<=_0x1796ae;_0x4b6442++){let _0x1897ed=_0x443876['children'][_0x4b6442],_0x3bc533=_0x941495+_0x1897ed['length'];_0x3bc533>=_0x1796ae&&(_0x1897ed['children']['length']?_0x28f55a(_0x1897ed,_0x1796ae-_0x941495):(!_0x56b333||_0x56b333['isHidden']&&(_0x533380>0x0||dv(_0x56b333,_0x1897ed)))&&(_0x3bc533>_0x1796ae||_0x941495==_0x3bc533&&_0x1897ed['getSide']()>0x0)?(_0x56b333=_0x1897ed,_0x1d8c12=_0x1796ae-_0x941495):(_0x941495<_0x1796ae||_0x941495==_0x3bc533&&_0x1897ed['getSide']()<0x0&&!_0x1897ed['isHidden'])&&(_0x1f64d8=_0x1897ed,_0x41ee55=_0x1796ae-_0x941495)),_0x941495=_0x3bc533;}}(_0x53424e,_0x23ec7d);let _0xb227f9=(_0x533380<0x0?_0x1f64d8:_0x56b333)||_0x1f64d8||_0x56b333;return _0xb227f9?_0xb227f9['coordsAt'](Math['max'](0x0,_0xb227f9==_0x1f64d8?_0x41ee55:_0x1d8c12),_0x533380):function(_0x2f587f){let _0x3e9768=_0x2f587f['dom']['lastChild'];if(!_0x3e9768)return _0x2f587f['dom']['getBoundingClientRect']();let _0x47f10e=B_(_0x3e9768);return _0x47f10e[_0x47f10e['length']-0x1]||null;}(_0x53424e);}function dv(_0x14ec38,_0x250a3f){let _0x503a7f=_0x14ec38['coordsAt'](0x0,0x1),_0x1f1c7f=_0x250a3f['coordsAt'](0x0,0x1);return _0x503a7f&&_0x1f1c7f&&_0x1f1c7f['top']<_0x503a7f['bottom'];}function fv(_0x47f592,_0x2395c8){for(let _0x1008d5 in _0x47f592)'class'==_0x1008d5&&_0x2395c8['class']?_0x2395c8['class']+='\x20'+_0x47f592['class']:'style'==_0x1008d5&&_0x2395c8['style']?_0x2395c8['style']+=';'+_0x47f592['style']:_0x2395c8[_0x1008d5]=_0x47f592[_0x1008d5];return _0x2395c8;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=rv;const mv=Object['create'](null);function gv(_0x412bfe,_0x5aa841,_0x3e3ef1){if(_0x412bfe==_0x5aa841)return!0x0;_0x412bfe||(_0x412bfe=mv),_0x5aa841||(_0x5aa841=mv);let _0x2fcc6a=Object['keys'](_0x412bfe),_0x18a2e6=Object['keys'](_0x5aa841);if(_0x2fcc6a['length']-(_0x3e3ef1&&_0x2fcc6a['indexOf'](_0x3e3ef1)>-0x1?0x1:0x0)!=_0x18a2e6['length']-(_0x3e3ef1&&_0x18a2e6['indexOf'](_0x3e3ef1)>-0x1?0x1:0x0))return!0x1;for(let _0x106bce of _0x2fcc6a)if(_0x106bce!=_0x3e3ef1&&(-0x1==_0x18a2e6['indexOf'](_0x106bce)||_0x412bfe[_0x106bce]!==_0x5aa841[_0x106bce]))return!0x1;return!0x0;}function pv(_0xa3f31f,_0x37394d,_0xf92340){let _0x5e0c7a=!0x1;if(_0x37394d){for(let _0x583b9c in _0x37394d)_0xf92340&&_0x583b9c in _0xf92340||(_0x5e0c7a=!0x0,'style'==_0x583b9c?_0xa3f31f['style']['cssText']='':_0xa3f31f['removeAttribute'](_0x583b9c));}if(_0xf92340){for(let _0x1c12f0 in _0xf92340)_0x37394d&&_0x37394d[_0x1c12f0]==_0xf92340[_0x1c12f0]||(_0x5e0c7a=!0x0,'style'==_0x1c12f0?_0xa3f31f['style']['cssText']=_0xf92340[_0x1c12f0]:_0xa3f31f['setAttribute'](_0x1c12f0,_0xf92340[_0x1c12f0]));}return _0x5e0c7a;}function Ov(_0x5c17c4){let _0x3c0c0b=Object['create'](null);for(let _0x4f32e9=0x0;_0x4f32e9<_0x5c17c4['attributes']['length'];_0x4f32e9++){let _0x311e32=_0x5c17c4['attributes'][_0x4f32e9];_0x3c0c0b[_0x311e32['name']]=_0x311e32['value'];}return _0x3c0c0b;}class WidgetType{['eq'](_0x1c1cf4){return!0x1;}['updateDOM'](_0x56bcac,_0x1e27cc){return!0x1;}['compare'](_0x3a8059){return this==_0x3a8059||this['constructor']==_0x3a8059['constructor']&&this['eq'](_0x3a8059);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x43cabd){return!0x0;}['coordsAt'](_0x49cfdf,_0x203bd9,_0x11befd){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x223663){}}var wv=function(_0x581d97){return _0x581d97[_0x581d97['Text']=0x0]='Text',_0x581d97[_0x581d97['WidgetBefore']=0x1]='WidgetBefore',_0x581d97[_0x581d97['WidgetAfter']=0x2]='WidgetAfter',_0x581d97[_0x581d97['WidgetRange']=0x3]='WidgetRange',_0x581d97;}(wv||(wv={}));class Decoration extends RangeValue{constructor(_0x59ecb5,_0xc1581a,_0x18b2f9,_0xd6d4e1){super(),this['startSide']=_0x59ecb5,this['endSide']=_0xc1581a,this['widget']=_0x18b2f9,this['spec']=_0xd6d4e1;}get['heightRelevant'](){return!0x1;}static['mark'](_0x23d5ed){return new MarkDecoration(_0x23d5ed);}static['widget'](_0x4e1071){let _0x244880=Math['max'](-0x2710,Math['min'](0x2710,_0x4e1071['side']||0x0)),_0x29461a=!!_0x4e1071['block'];return _0x244880+=_0x29461a&&!_0x4e1071['inlineOrder']?_0x244880>0x0?0x11e1a300:-0x17d78400:_0x244880>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x4e1071,_0x244880,_0x244880,_0x29461a,_0x4e1071['widget']||null,!0x1);}static['replace'](_0x5adb28){let _0x26e2ce,_0x48ef8d,_0x30e627=!!_0x5adb28['block'];if(_0x5adb28['isBlockGap'])_0x26e2ce=-0x1dcd6500,_0x48ef8d=0x17d78400;else{let {start:_0x52057a,end:_0x1ad568}=bv(_0x5adb28,_0x30e627);_0x26e2ce=(_0x52057a?_0x30e627?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x48ef8d=0x1+(_0x1ad568?_0x30e627?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x5adb28,_0x26e2ce,_0x48ef8d,_0x30e627,_0x5adb28['widget']||null,!0x0);}static['line'](_0x308181){return new LineDecoration(_0x308181);}static['set'](_0x1965bd,_0x2a0e8d=!0x1){return RangeSet['of'](_0x1965bd,_0x2a0e8d);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x480867){let {start:_0x520475,end:_0xde93ef}=bv(_0x480867);super(_0x520475?-0x1:0x1dcd6500,_0xde93ef?0x1:-0x23c34600,null,_0x480867),this['tagName']=_0x480867['tagName']||'span',this['class']=_0x480867['class']||'',this['attrs']=_0x480867['attributes']||null;}['eq'](_0x5abe7b){var _0x2b4a19,_0x5e3580;return this==_0x5abe7b||_0x5abe7b instanceof MarkDecoration&&this['tagName']==_0x5abe7b['tagName']&&(this['class']||(null===(_0x2b4a19=this['attrs'])||void 0x0===_0x2b4a19?void 0x0:_0x2b4a19['class']))==(_0x5abe7b['class']||(null===(_0x5e3580=_0x5abe7b['attrs'])||void 0x0===_0x5e3580?void 0x0:_0x5e3580['class']))&&gv(this['attrs'],_0x5abe7b['attrs'],'class');}['range'](_0x3efed6,_0x40678a=_0x3efed6){if(_0x3efed6>=_0x40678a)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x3efed6,_0x40678a);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x5c43c4){super(-0xbebc200,-0xbebc200,null,_0x5c43c4);}['eq'](_0x542a6e){return _0x542a6e instanceof LineDecoration&&this['spec']['class']==_0x542a6e['spec']['class']&&gv(this['spec']['attributes'],_0x542a6e['spec']['attributes']);}['range'](_0x53ab51,_0xcdafe=_0x53ab51){if(_0xcdafe!=_0x53ab51)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x53ab51,_0xcdafe);}}LineDecoration['prototype']['mapMode']=yy['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x1c56f4,_0x3f5f17,_0x5edab9,_0x3e1057,_0x403280,_0x4e7457){super(_0x3f5f17,_0x5edab9,_0x403280,_0x1c56f4),this['block']=_0x3e1057,this['isReplace']=_0x4e7457,this['mapMode']=_0x3e1057?_0x3f5f17<=0x0?yy['TrackBefore']:yy['TrackAfter']:yy['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?wv['WidgetRange']:this['startSide']<=0x0?wv['WidgetBefore']:wv['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x2f60d9){return _0x2f60d9 instanceof PointDecoration&&function(_0x2fb2a9,_0x3cae73){return _0x2fb2a9==_0x3cae73||!!(_0x2fb2a9&&_0x3cae73&&_0x2fb2a9['compare'](_0x3cae73));}(this['widget'],_0x2f60d9['widget'])&&this['block']==_0x2f60d9['block']&&this['startSide']==_0x2f60d9['startSide']&&this['endSide']==_0x2f60d9['endSide'];}['range'](_0x1b4303,_0xe1cbc0=_0x1b4303){if(this['isReplace']&&(_0x1b4303>_0xe1cbc0||_0x1b4303==_0xe1cbc0&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0xe1cbc0!=_0x1b4303)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x1b4303,_0xe1cbc0);}}function bv(_0x3ad194,_0x202185=!0x1){let {inclusiveStart:_0x11fae8,inclusiveEnd:_0x979ce0}=_0x3ad194;return null==_0x11fae8&&(_0x11fae8=_0x3ad194['inclusive']),null==_0x979ce0&&(_0x979ce0=_0x3ad194['inclusive']),{'start':null!=_0x11fae8?_0x11fae8:_0x202185,'end':null!=_0x979ce0?_0x979ce0:_0x202185};}function yv(_0x4ddea3,_0x1abbaa,_0x1331ce,_0x2f1b86=0x0){let _0x2c3fbd=_0x1331ce['length']-0x1;_0x2c3fbd>=0x0&&_0x1331ce[_0x2c3fbd]+_0x2f1b86>=_0x4ddea3?_0x1331ce[_0x2c3fbd]=Math['max'](_0x1331ce[_0x2c3fbd],_0x1abbaa):_0x1331ce['push'](_0x4ddea3,_0x1abbaa);}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'](_0x44c7e5,_0x207ea6,_0x2be4dd,_0x1a022c,_0x559ae0,_0x46b434){if(_0x2be4dd){if(!(_0x2be4dd instanceof LineView))return!0x1;this['dom']||_0x2be4dd['transferDOM'](this);}return _0x1a022c&&this['setDeco'](_0x2be4dd?_0x2be4dd['attrs']:null),cv(this,_0x44c7e5,_0x207ea6,_0x2be4dd?_0x2be4dd['children']['slice']():[],_0x559ae0,_0x46b434),!0x0;}['split'](_0x3dda54){let _0x7d1008=new LineView();if(_0x7d1008['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x7d1008;let {i:_0x9d7a53,off:_0x4da49d}=this['childPos'](_0x3dda54);_0x4da49d&&(_0x7d1008['append'](this['children'][_0x9d7a53]['split'](_0x4da49d),0x0),this['children'][_0x9d7a53]['merge'](_0x4da49d,this['children'][_0x9d7a53]['length'],null,!0x1,0x0,0x0),_0x9d7a53++);for(let _0x856c9f=_0x9d7a53;_0x856c9f<this['children']['length'];_0x856c9f++)_0x7d1008['append'](this['children'][_0x856c9f],0x0);for(;_0x9d7a53>0x0&&0x0==this['children'][_0x9d7a53-0x1]['length'];)this['children'][--_0x9d7a53]['destroy']();return this['children']['length']=_0x9d7a53,this['markDirty'](),this['length']=_0x3dda54,_0x7d1008;}['transferDOM'](_0x50521c){this['dom']&&(this['markDirty'](),_0x50521c['setDOM'](this['dom']),_0x50521c['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x558b26){gv(this['attrs'],_0x558b26)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x558b26);}['append'](_0x40206c,_0x27669b){hv(this,_0x40206c,_0x27669b);}['addLineDeco'](_0xf0e526){let _0x41d5c7=_0xf0e526['spec']['attributes'],_0x341a38=_0xf0e526['spec']['class'];_0x41d5c7&&(this['attrs']=fv(_0x41d5c7,this['attrs']||{})),_0x341a38&&(this['attrs']=fv({'class':_0x341a38},this['attrs']||{}));}['domAtPos'](_0x1ea837){return lv(this,_0x1ea837);}['reuseDOM'](_0xd1dc15){'DIV'==_0xd1dc15['nodeName']&&(this['setDOM'](_0xd1dc15),this['flags']|=0x6);}['sync'](_0x36fe6c,_0x56ff07){var _0x5ad719;this['dom']?0x4&this['flags']&&(ev(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']&&(pv(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x36fe6c,_0x56ff07);let _0x1dc1c6=this['dom']['lastChild'];for(;_0x1dc1c6&&ContentView['get'](_0x1dc1c6)instanceof MarkView;)_0x1dc1c6=_0x1dc1c6['lastChild'];if(!(_0x1dc1c6&&this['length']&&('BR'==_0x1dc1c6['nodeName']||0x0!=(null===(_0x5ad719=ContentView['get'](_0x1dc1c6))||void 0x0===_0x5ad719?void 0x0:_0x5ad719['isEditable'])||Q_['ios']&&this['children']['some'](_0x372638=>_0x372638 instanceof TextView)))){let _0xace428=document['createElement']('BR');_0xace428['cmIgnore']=!0x0,this['dom']['appendChild'](_0xace428);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0xf1cef9,_0x58fde4=0x0;for(let _0x56a206 of this['children']){if(!(_0x56a206 instanceof TextView)||/[^ -~]/['test'](_0x56a206['text']))return null;let _0x10607a=B_(_0x56a206['dom']);if(0x1!=_0x10607a['length'])return null;_0x58fde4+=_0x10607a[0x0]['width'],_0xf1cef9=_0x10607a[0x0]['height'];}return _0x58fde4?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x58fde4/this['length'],'textHeight':_0xf1cef9}:null;}['coordsAt'](_0x323db8,_0x5b66cd){let _0x2ac96a=uv(this,_0x323db8,_0x5b66cd);if(!this['children']['length']&&_0x2ac96a&&this['parent']){let {heightOracle:_0x551686}=this['parent']['view']['viewState'],_0x4a94ce=_0x2ac96a['bottom']-_0x2ac96a['top'];if(Math['abs'](_0x4a94ce-_0x551686['lineHeight'])<0x2&&_0x551686['textHeight']<_0x4a94ce){let _0xbc2ed0=(_0x4a94ce-_0x551686['textHeight'])/0x2;return{'top':_0x2ac96a['top']+_0xbc2ed0,'bottom':_0x2ac96a['bottom']-_0xbc2ed0,'left':_0x2ac96a['left'],'right':_0x2ac96a['left']};}}return _0x2ac96a;}['become'](_0x579bcf){return _0x579bcf instanceof LineView&&0x0==this['children']['length']&&0x0==_0x579bcf['children']['length']&&gv(this['attrs'],_0x579bcf['attrs'])&&this['breakAfter']==_0x579bcf['breakAfter'];}['covers'](){return!0x0;}static['find'](_0xf85c17,_0x3e6e7c){for(let _0x2068c8=0x0,_0x192034=0x0;_0x2068c8<_0xf85c17['children']['length'];_0x2068c8++){let _0x15a3e4=_0xf85c17['children'][_0x2068c8],_0x3466b9=_0x192034+_0x15a3e4['length'];if(_0x3466b9>=_0x3e6e7c){if(_0x15a3e4 instanceof LineView)return _0x15a3e4;if(_0x3466b9>_0x3e6e7c)break;}_0x192034=_0x3466b9+_0x15a3e4['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x3f87d1,_0x2fe398,_0x3214e2){super(),this['widget']=_0x3f87d1,this['length']=_0x2fe398,this['deco']=_0x3214e2,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0xc25ca0,_0x3d2daf,_0x4f511d,_0x3c9860,_0x304ba7,_0x3724c1){return!(_0x4f511d&&(!(_0x4f511d instanceof BlockWidgetView&&this['widget']['compare'](_0x4f511d['widget']))||_0xc25ca0>0x0&&_0x304ba7<=0x0||_0x3d2daf<this['length']&&_0x3724c1<=0x0))&&(this['length']=_0xc25ca0+(_0x4f511d?_0x4f511d['length']:0x0)+(this['length']-_0x3d2daf),!0x0);}['domAtPos'](_0x488304){return 0x0==_0x488304?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x488304==this['length']);}['split'](_0x449bd2){let _0x33ee6f=this['length']-_0x449bd2;this['length']=_0x449bd2;let _0x3d81d9=new BlockWidgetView(this['widget'],_0x33ee6f,this['deco']);return _0x3d81d9['breakAfter']=this['breakAfter'],_0x3d81d9;}get['children'](){return rv;}['sync'](_0x3325f5){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x3325f5)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x3325f5)),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'](_0x4684c4){return _0x4684c4 instanceof BlockWidgetView&&_0x4684c4['widget']['constructor']==this['widget']['constructor']&&(_0x4684c4['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x4684c4['widget'],this['length']=_0x4684c4['length'],this['deco']=_0x4684c4['deco'],this['breakAfter']=_0x4684c4['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x503dd3){return this['widget']['ignoreEvent'](_0x503dd3);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0xddd0ec,_0x3590b6){let _0x1e2d83=this['widget']['coordsAt'](this['dom'],_0xddd0ec,_0x3590b6);return _0x1e2d83||(this['widget']instanceof BlockGapWidget?null:X_(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0xddd0ec:_0x3590b6<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x21cd20){let {startSide:_0x42df2d,endSide:_0x2d74c8}=this['deco'];return _0x42df2d!=_0x2d74c8&&(_0x21cd20<0x0?_0x42df2d<0x0:_0x2d74c8>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x1a7379){super(),this['height']=_0x1a7379;}['toDOM'](){let _0x586905=document['createElement']('div');return _0x586905['className']='cm-gap',this['updateDOM'](_0x586905),_0x586905;}['eq'](_0x79fb5f){return _0x79fb5f['height']==this['height'];}['updateDOM'](_0x35a8b8){return _0x35a8b8['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x37af5f,_0x484595,_0x3e5bce,_0x47ad8d){this['doc']=_0x37af5f,this['pos']=_0x484595,this['end']=_0x3e5bce,this['disallowBlockEffectsFor']=_0x47ad8d,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']=_0x37af5f['iter'](),this['skip']=_0x484595;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x5343ce=this['content'][this['content']['length']-0x1];return!(_0x5343ce['breakAfter']||_0x5343ce instanceof BlockWidgetView&&_0x5343ce['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new LineView()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x1ea598=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_v(new WidgetBufferView(-0x1),_0x1ea598),_0x1ea598['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x3b34dd){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x3b34dd);}['finish'](_0x190cd0){this['pendingBuffer']&&_0x190cd0<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x190cd0&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x58c99b,_0x395395,_0x17edd6){for(;_0x58c99b>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x5cb40b,lineBreak:_0x55edc1,done:_0x473e10}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x473e10)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x55edc1){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,_0x58c99b--;continue;}this['text']=_0x5cb40b,this['textOff']=0x0;}let _0x544d82=Math['min'](this['text']['length']-this['textOff'],_0x58c99b),_0x44871a=Math['min'](_0x544d82,0x200);this['flushBuffer'](_0x395395['slice'](_0x395395['length']-_0x17edd6)),this['getLine']()['append'](_v(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x44871a)),_0x395395),_0x17edd6),this['atCursorPos']=!0x0,this['textOff']+=_0x44871a,_0x58c99b-=_0x44871a,_0x17edd6=_0x544d82<=_0x44871a?0x0:_0x395395['length'];}}['span'](_0x40e051,_0x44af12,_0xb7efc1,_0x370dba){this['buildText'](_0x44af12-_0x40e051,_0xb7efc1,_0x370dba),this['pos']=_0x44af12,this['openStart']<0x0&&(this['openStart']=_0x370dba);}['point'](_0x3fc82b,_0x40c6b0,_0x290df0,_0x1ff701,_0x5e990a,_0x501f87){if(this['disallowBlockEffectsFor'][_0x501f87]&&_0x290df0 instanceof PointDecoration){if(_0x290df0['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x40c6b0>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0xfdce2d=_0x40c6b0-_0x3fc82b;if(_0x290df0 instanceof PointDecoration){if(_0x290df0['block'])_0x290df0['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x290df0['widget']||NullWidget['block'],_0xfdce2d,_0x290df0));else{let _0x304641=WidgetView['create'](_0x290df0['widget']||NullWidget['inline'],_0xfdce2d,_0xfdce2d?0x0:_0x290df0['startSide']),_0x3991a4=this['atCursorPos']&&!_0x304641['isEditable']&&_0x5e990a<=_0x1ff701['length']&&(_0x3fc82b<_0x40c6b0||_0x290df0['startSide']>0x0),_0xbf779c=!_0x304641['isEditable']&&(_0x3fc82b<_0x40c6b0||_0x5e990a>_0x1ff701['length']||_0x290df0['startSide']<=0x0),_0x286afc=this['getLine']();0x2!=this['pendingBuffer']||_0x3991a4||_0x304641['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x1ff701),_0x3991a4&&(_0x286afc['append'](_v(new WidgetBufferView(0x1),_0x1ff701),_0x5e990a),_0x5e990a=_0x1ff701['length']+Math['max'](0x0,_0x5e990a-_0x1ff701['length'])),_0x286afc['append'](_v(_0x304641,_0x1ff701),_0x5e990a),this['atCursorPos']=_0xbf779c,this['pendingBuffer']=_0xbf779c?_0x3fc82b<_0x40c6b0||_0x5e990a>_0x1ff701['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x1ff701['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x290df0);_0xfdce2d&&(this['textOff']+_0xfdce2d<=this['text']['length']?this['textOff']+=_0xfdce2d:(this['skip']+=_0xfdce2d-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x40c6b0),this['openStart']<0x0&&(this['openStart']=_0x5e990a);}static['build'](_0x5350b3,_0x249f2d,_0x2410e2,_0x2e8aa6,_0x25ccc8){let _0x538e71=new ContentBuilder(_0x5350b3,_0x249f2d,_0x2410e2,_0x25ccc8);return _0x538e71['openEnd']=RangeSet['spans'](_0x2e8aa6,_0x249f2d,_0x2410e2,_0x538e71),_0x538e71['openStart']<0x0&&(_0x538e71['openStart']=_0x538e71['openEnd']),_0x538e71['finish'](_0x538e71['openEnd']),_0x538e71;}}function _v(_0x3dc225,_0x58f36e){for(let _0x13fb20 of _0x58f36e)_0x3dc225=new MarkView(_0x13fb20,[_0x3dc225],_0x3dc225['length']);return _0x3dc225;}class NullWidget extends WidgetType{constructor(_0x2305bf){super(),this['tag']=_0x2305bf;}['eq'](_0x36a41f){return _0x36a41f['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x5b8d7a){return _0x5b8d7a['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var vv=function(_0x18a1a0){return _0x18a1a0[_0x18a1a0['LTR']=0x0]='LTR',_0x18a1a0[_0x18a1a0['RTL']=0x1]='RTL',_0x18a1a0;}(vv||(vv={}));const Tv=vv['LTR'],Ev=vv['RTL'];function Av(_0x449786){let _0x4542c7=[];for(let _0x4bb57f=0x0;_0x4bb57f<_0x449786['length'];_0x4bb57f++)_0x4542c7['push'](0x1<<+_0x449786[_0x4bb57f]);return _0x4542c7;}const Iv=Av('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),Sv=Av('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Cv=Object['create'](null),kv=[];for(let e of['()','[]','{}']){let i=e['charCodeAt'](0x0),s=e['charCodeAt'](0x1);Cv[i]=s,Cv[s]=-i;}function xv(_0x551a46){return _0x551a46<=0xf7?Iv[_0x551a46]:0x590<=_0x551a46&&_0x551a46<=0x5f4?0x2:0x600<=_0x551a46&&_0x551a46<=0x6f9?Sv[_0x551a46-0x600]:0x6ee<=_0x551a46&&_0x551a46<=0x8ac?0x4:0x2000<=_0x551a46&&_0x551a46<=0x200c?0x100:0xfb50<=_0x551a46&&_0x551a46<=0xfdff?0x4:0x1;}const Rv=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class BidiSpan{get['dir'](){return this['level']%0x2?Ev:Tv;}constructor(_0x50479b,_0x3d5cca,_0x2d4333){this['from']=_0x50479b,this['to']=_0x3d5cca,this['level']=_0x2d4333;}['side'](_0x538d1c,_0xba69ac){return this['dir']==_0xba69ac==_0x538d1c?this['to']:this['from'];}['forward'](_0x29962c,_0x15c06e){return _0x29962c==(this['dir']==_0x15c06e);}static['find'](_0x2164a0,_0x2e99c4,_0x33cfe0,_0x351614){let _0x523aff=-0x1;for(let _0x4a4c6d=0x0;_0x4a4c6d<_0x2164a0['length'];_0x4a4c6d++){let _0x577c87=_0x2164a0[_0x4a4c6d];if(_0x577c87['from']<=_0x2e99c4&&_0x577c87['to']>=_0x2e99c4){if(_0x577c87['level']==_0x33cfe0)return _0x4a4c6d;(_0x523aff<0x0||(0x0!=_0x351614?_0x351614<0x0?_0x577c87['from']<_0x2e99c4:_0x577c87['to']>_0x2e99c4:_0x2164a0[_0x523aff]['level']>_0x577c87['level']))&&(_0x523aff=_0x4a4c6d);}}if(_0x523aff<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x523aff;}}function Pv(_0x1ecbcf,_0x31c9ea){if(_0x1ecbcf['length']!=_0x31c9ea['length'])return!0x1;for(let _0x369675=0x0;_0x369675<_0x1ecbcf['length'];_0x369675++){let _0x334422=_0x1ecbcf[_0x369675],_0x4306f9=_0x31c9ea[_0x369675];if(_0x334422['from']!=_0x4306f9['from']||_0x334422['to']!=_0x4306f9['to']||_0x334422['direction']!=_0x4306f9['direction']||!Pv(_0x334422['inner'],_0x4306f9['inner']))return!0x1;}return!0x0;}const Mv=[];function Nv(_0x47ed75,_0x1942ac,_0x2ea17c,_0x41f175,_0x3e9f2b,_0x25ebfc,_0x441149){let _0x1bdf93=_0x41f175%0x2?0x2:0x1;if(_0x41f175%0x2==_0x3e9f2b%0x2)for(let _0x1add6e=_0x1942ac,_0x50d859=0x0;_0x1add6e<_0x2ea17c;){let _0x59037b=!0x0,_0x50330d=!0x1;if(_0x50d859==_0x25ebfc['length']||_0x1add6e<_0x25ebfc[_0x50d859]['from']){let _0x5d22ec=Mv[_0x1add6e];_0x5d22ec!=_0x1bdf93&&(_0x59037b=!0x1,_0x50330d=0x10==_0x5d22ec);}let _0x15bad1=_0x59037b||0x1!=_0x1bdf93?null:[],_0x110178=_0x59037b?_0x41f175:_0x41f175+0x1,_0x549ba4=_0x1add6e;t:for(;;)if(_0x50d859<_0x25ebfc['length']&&_0x549ba4==_0x25ebfc[_0x50d859]['from']){if(_0x50330d)break t;let _0x204bfe=_0x25ebfc[_0x50d859];if(!_0x59037b)for(let _0x1ae342=_0x204bfe['to'],_0x5140e3=_0x50d859+0x1;;){if(_0x1ae342==_0x2ea17c)break t;if(!(_0x5140e3<_0x25ebfc['length']&&_0x25ebfc[_0x5140e3]['from']==_0x1ae342)){if(Mv[_0x1ae342]==_0x1bdf93)break t;break;}_0x1ae342=_0x25ebfc[_0x5140e3++]['to'];}if(_0x50d859++,_0x15bad1)_0x15bad1['push'](_0x204bfe);else _0x204bfe['from']>_0x1add6e&&_0x441149['push'](new BidiSpan(_0x1add6e,_0x204bfe['from'],_0x110178)),Lv(_0x47ed75,_0x204bfe['direction']==Tv!=!(_0x110178%0x2)?_0x41f175+0x1:_0x41f175,_0x3e9f2b,_0x204bfe['inner'],_0x204bfe['from'],_0x204bfe['to'],_0x441149),_0x1add6e=_0x204bfe['to'];_0x549ba4=_0x204bfe['to'];}else{if(_0x549ba4==_0x2ea17c||(_0x59037b?Mv[_0x549ba4]!=_0x1bdf93:Mv[_0x549ba4]==_0x1bdf93))break;_0x549ba4++;}_0x15bad1?Nv(_0x47ed75,_0x1add6e,_0x549ba4,_0x41f175+0x1,_0x3e9f2b,_0x15bad1,_0x441149):_0x1add6e<_0x549ba4&&_0x441149['push'](new BidiSpan(_0x1add6e,_0x549ba4,_0x110178)),_0x1add6e=_0x549ba4;}else for(let _0x2537bc=_0x2ea17c,_0xdde2f4=_0x25ebfc['length'];_0x2537bc>_0x1942ac;){let _0x4e297f=!0x0,_0x4dff91=!0x1;if(!_0xdde2f4||_0x2537bc>_0x25ebfc[_0xdde2f4-0x1]['to']){let _0x2cde51=Mv[_0x2537bc-0x1];_0x2cde51!=_0x1bdf93&&(_0x4e297f=!0x1,_0x4dff91=0x10==_0x2cde51);}let _0x31c03a=_0x4e297f||0x1!=_0x1bdf93?null:[],_0x37ceb8=_0x4e297f?_0x41f175:_0x41f175+0x1,_0x3ec9ce=_0x2537bc;t:for(;;)if(_0xdde2f4&&_0x3ec9ce==_0x25ebfc[_0xdde2f4-0x1]['to']){if(_0x4dff91)break t;let _0x382d08=_0x25ebfc[--_0xdde2f4];if(!_0x4e297f)for(let _0x24cb4a=_0x382d08['from'],_0x43c209=_0xdde2f4;;){if(_0x24cb4a==_0x1942ac)break t;if(!_0x43c209||_0x25ebfc[_0x43c209-0x1]['to']!=_0x24cb4a){if(Mv[_0x24cb4a-0x1]==_0x1bdf93)break t;break;}_0x24cb4a=_0x25ebfc[--_0x43c209]['from'];}if(_0x31c03a)_0x31c03a['push'](_0x382d08);else _0x382d08['to']<_0x2537bc&&_0x441149['push'](new BidiSpan(_0x382d08['to'],_0x2537bc,_0x37ceb8)),Lv(_0x47ed75,_0x382d08['direction']==Tv!=!(_0x37ceb8%0x2)?_0x41f175+0x1:_0x41f175,_0x3e9f2b,_0x382d08['inner'],_0x382d08['from'],_0x382d08['to'],_0x441149),_0x2537bc=_0x382d08['from'];_0x3ec9ce=_0x382d08['from'];}else{if(_0x3ec9ce==_0x1942ac||(_0x4e297f?Mv[_0x3ec9ce-0x1]!=_0x1bdf93:Mv[_0x3ec9ce-0x1]==_0x1bdf93))break;_0x3ec9ce--;}_0x31c03a?Nv(_0x47ed75,_0x3ec9ce,_0x2537bc,_0x41f175+0x1,_0x3e9f2b,_0x31c03a,_0x441149):_0x3ec9ce<_0x2537bc&&_0x441149['push'](new BidiSpan(_0x3ec9ce,_0x2537bc,_0x37ceb8)),_0x2537bc=_0x3ec9ce;}}function Lv(_0x2e22bb,_0x699c97,_0x617689,_0xd7eeb7,_0x3e1b70,_0x13d44d,_0x3d1494){let _0x12f14b=_0x699c97%0x2?0x2:0x1;!function(_0xe56a40,_0x410063,_0x320f38,_0x3b9e78,_0xd1e12b){for(let _0x4ec2d6=0x0;_0x4ec2d6<=_0x3b9e78['length'];_0x4ec2d6++){let _0x1b4514=_0x4ec2d6?_0x3b9e78[_0x4ec2d6-0x1]['to']:_0x410063,_0xa8440d=_0x4ec2d6<_0x3b9e78['length']?_0x3b9e78[_0x4ec2d6]['from']:_0x320f38,_0x33fcc4=_0x4ec2d6?0x100:_0xd1e12b;for(let _0x52260f=_0x1b4514,_0x2abb96=_0x33fcc4,_0x3da0b7=_0x33fcc4;_0x52260f<_0xa8440d;_0x52260f++){let _0x4cb273=xv(_0xe56a40['charCodeAt'](_0x52260f));0x200==_0x4cb273?_0x4cb273=_0x2abb96:0x8==_0x4cb273&&0x4==_0x3da0b7&&(_0x4cb273=0x10),Mv[_0x52260f]=0x4==_0x4cb273?0x2:_0x4cb273,0x7&_0x4cb273&&(_0x3da0b7=_0x4cb273),_0x2abb96=_0x4cb273;}for(let _0xb137d3=_0x1b4514,_0x5a4924=_0x33fcc4,_0x56a305=_0x33fcc4;_0xb137d3<_0xa8440d;_0xb137d3++){let _0x2746f7=Mv[_0xb137d3];if(0x80==_0x2746f7)_0xb137d3<_0xa8440d-0x1&&_0x5a4924==Mv[_0xb137d3+0x1]&&0x18&_0x5a4924?_0x2746f7=Mv[_0xb137d3]=_0x5a4924:Mv[_0xb137d3]=0x100;else{if(0x40==_0x2746f7){let _0x246a8f=_0xb137d3+0x1;for(;_0x246a8f<_0xa8440d&&0x40==Mv[_0x246a8f];)_0x246a8f++;let _0x157421=_0xb137d3&&0x8==_0x5a4924||_0x246a8f<_0x320f38&&0x8==Mv[_0x246a8f]?0x1==_0x56a305?0x1:0x8:0x100;for(let _0x19a0fb=_0xb137d3;_0x19a0fb<_0x246a8f;_0x19a0fb++)Mv[_0x19a0fb]=_0x157421;_0xb137d3=_0x246a8f-0x1;}else 0x8==_0x2746f7&&0x1==_0x56a305&&(Mv[_0xb137d3]=0x1);}_0x5a4924=_0x2746f7,0x7&_0x2746f7&&(_0x56a305=_0x2746f7);}}}(_0x2e22bb,_0x3e1b70,_0x13d44d,_0xd7eeb7,_0x12f14b),function(_0x27f18b,_0x415c04,_0x5a1b34,_0x3946c1,_0xa2e7f){let _0x688b67=0x1==_0xa2e7f?0x2:0x1;for(let _0x24b31f=0x0,_0xb85166=0x0,_0x4ee42e=0x0;_0x24b31f<=_0x3946c1['length'];_0x24b31f++){let _0x193cfd=_0x24b31f?_0x3946c1[_0x24b31f-0x1]['to']:_0x415c04,_0x2fc0f8=_0x24b31f<_0x3946c1['length']?_0x3946c1[_0x24b31f]['from']:_0x5a1b34;for(let _0x16d9b4,_0x1a1380,_0x5a82fa,_0xacaeaa=_0x193cfd;_0xacaeaa<_0x2fc0f8;_0xacaeaa++)if(_0x1a1380=Cv[_0x16d9b4=_0x27f18b['charCodeAt'](_0xacaeaa)]){if(_0x1a1380<0x0){for(let _0x303f06=_0xb85166-0x3;_0x303f06>=0x0;_0x303f06-=0x3)if(kv[_0x303f06+0x1]==-_0x1a1380){let _0x54edf9=kv[_0x303f06+0x2],_0x1e75c7=0x2&_0x54edf9?_0xa2e7f:0x4&_0x54edf9?0x1&_0x54edf9?_0x688b67:_0xa2e7f:0x0;_0x1e75c7&&(Mv[_0xacaeaa]=Mv[kv[_0x303f06]]=_0x1e75c7),_0xb85166=_0x303f06;break;}}else{if(0xbd==kv['length'])break;kv[_0xb85166++]=_0xacaeaa,kv[_0xb85166++]=_0x16d9b4,kv[_0xb85166++]=_0x4ee42e;}}else{if(0x2==(_0x5a82fa=Mv[_0xacaeaa])||0x1==_0x5a82fa){let _0x269769=_0x5a82fa==_0xa2e7f;_0x4ee42e=_0x269769?0x0:0x1;for(let _0x145262=_0xb85166-0x3;_0x145262>=0x0;_0x145262-=0x3){let _0x2336ae=kv[_0x145262+0x2];if(0x2&_0x2336ae)break;if(_0x269769)kv[_0x145262+0x2]|=0x2;else{if(0x4&_0x2336ae)break;kv[_0x145262+0x2]|=0x4;}}}}}}(_0x2e22bb,_0x3e1b70,_0x13d44d,_0xd7eeb7,_0x12f14b),function(_0x275d20,_0x603bae,_0x4969a4,_0x44b781){for(let _0x54f64c=0x0,_0x3049a5=_0x44b781;_0x54f64c<=_0x4969a4['length'];_0x54f64c++){let _0x459997=_0x54f64c?_0x4969a4[_0x54f64c-0x1]['to']:_0x275d20,_0x17b70a=_0x54f64c<_0x4969a4['length']?_0x4969a4[_0x54f64c]['from']:_0x603bae;for(let _0x5208d7=_0x459997;_0x5208d7<_0x17b70a;){let _0x2c0890=Mv[_0x5208d7];if(0x100==_0x2c0890){let _0x1d8018=_0x5208d7+0x1;for(;;)if(_0x1d8018==_0x17b70a){if(_0x54f64c==_0x4969a4['length'])break;_0x1d8018=_0x4969a4[_0x54f64c++]['to'],_0x17b70a=_0x54f64c<_0x4969a4['length']?_0x4969a4[_0x54f64c]['from']:_0x603bae;}else{if(0x100!=Mv[_0x1d8018])break;_0x1d8018++;}let _0x521b96=0x1==_0x3049a5,_0x518b46=_0x521b96==(0x1==(_0x1d8018<_0x603bae?Mv[_0x1d8018]:_0x44b781))?_0x521b96?0x1:0x2:_0x44b781;for(let _0x3bcbe1=_0x1d8018,_0xe404cd=_0x54f64c,_0x2d4d32=_0xe404cd?_0x4969a4[_0xe404cd-0x1]['to']:_0x275d20;_0x3bcbe1>_0x5208d7;)_0x3bcbe1==_0x2d4d32&&(_0x3bcbe1=_0x4969a4[--_0xe404cd]['from'],_0x2d4d32=_0xe404cd?_0x4969a4[_0xe404cd-0x1]['to']:_0x275d20),Mv[--_0x3bcbe1]=_0x518b46;_0x5208d7=_0x1d8018;}else _0x3049a5=_0x2c0890,_0x5208d7++;}}}(_0x3e1b70,_0x13d44d,_0xd7eeb7,_0x12f14b),Nv(_0x2e22bb,_0x3e1b70,_0x13d44d,_0x699c97,_0x617689,_0xd7eeb7,_0x3d1494);}function Dv(_0x117c88){return[new BidiSpan(0x0,_0x117c88,0x0)];}let Qv='';function $v(_0x22973c,_0x5f9607,_0x58c70a,_0x31a7d0,_0x4d4963){var _0x3feb50;let _0x5e29d2=_0x31a7d0['head']-_0x22973c['from'],_0x3a7bf5=BidiSpan['find'](_0x5f9607,_0x5e29d2,null!==(_0x3feb50=_0x31a7d0['bidiLevel'])&&void 0x0!==_0x3feb50?_0x3feb50:-0x1,_0x31a7d0['assoc']),_0x5edfdd=_0x5f9607[_0x3a7bf5],_0x552beb=_0x5edfdd['side'](_0x4d4963,_0x58c70a);if(_0x5e29d2==_0x552beb){let _0x707e7b=_0x3a7bf5+=_0x4d4963?0x1:-0x1;if(_0x707e7b<0x0||_0x707e7b>=_0x5f9607['length'])return null;_0x5edfdd=_0x5f9607[_0x3a7bf5=_0x707e7b],_0x5e29d2=_0x5edfdd['side'](!_0x4d4963,_0x58c70a),_0x552beb=_0x5edfdd['side'](_0x4d4963,_0x58c70a);}let _0xce7727=gy(_0x22973c['text'],_0x5e29d2,_0x5edfdd['forward'](_0x4d4963,_0x58c70a));(_0xce7727<_0x5edfdd['from']||_0xce7727>_0x5edfdd['to'])&&(_0xce7727=_0x552beb),Qv=_0x22973c['text']['slice'](Math['min'](_0x5e29d2,_0xce7727),Math['max'](_0x5e29d2,_0xce7727));let _0x3a0d0a=_0x3a7bf5==(_0x4d4963?_0x5f9607['length']-0x1:0x0)?null:_0x5f9607[_0x3a7bf5+(_0x4d4963?0x1:-0x1)];return _0x3a0d0a&&_0xce7727==_0x552beb&&_0x3a0d0a['level']+(_0x4d4963?0x0:0x1)<_0x5edfdd['level']?EditorSelection['cursor'](_0x3a0d0a['side'](!_0x4d4963,_0x58c70a)+_0x22973c['from'],_0x3a0d0a['forward'](_0x4d4963,_0x58c70a)?0x1:-0x1,_0x3a0d0a['level']):EditorSelection['cursor'](_0xce7727+_0x22973c['from'],_0x5edfdd['forward'](_0x4d4963,_0x58c70a)?-0x1:0x1,_0x5edfdd['level']);}function Vv(_0x498840,_0x10d849,_0x12fd40){for(let _0x3432c8=_0x10d849;_0x3432c8<_0x12fd40;_0x3432c8++){let _0x708aa3=xv(_0x498840['charCodeAt'](_0x3432c8));if(0x1==_0x708aa3)return Tv;if(0x2==_0x708aa3||0x4==_0x708aa3)return Ev;}return Tv;}const Uv=Facet['define'](),Bv=Facet['define'](),Fv=Facet['define'](),jv=Facet['define'](),Hv=Facet['define'](),Gv=Facet['define'](),Zv=Facet['define'](),Xv=Facet['define'](),qv=Facet['define'](),Wv=Facet['define']({'combine':_0xdc661f=>_0xdc661f['some'](_0x5b9f69=>_0x5b9f69)}),zv=Facet['define']({'combine':_0x9eb460=>_0x9eb460['some'](_0xaaef91=>_0xaaef91)}),Yv=Facet['define']();class ScrollTarget{constructor(_0x5331a7,_0x271638='nearest',_0x4c424a='nearest',_0xf078b4=0x5,_0x499107=0x5,_0x2d5df9=!0x1){this['range']=_0x5331a7,this['y']=_0x271638,this['x']=_0x4c424a,this['yMargin']=_0xf078b4,this['xMargin']=_0x499107,this['isSnapshot']=_0x2d5df9;}['map'](_0x540444){return _0x540444['empty']?this:new ScrollTarget(this['range']['map'](_0x540444),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x22fcf4){return this['range']['to']<=_0x22fcf4['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x22fcf4['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const Kv=StateEffect['define']({'map':(t,_0x2110c4)=>t['map'](_0x2110c4)}),Jv=StateEffect['define']();function tT(_0x49307b,_0x1773db,_0xb829ee){let _0x187923=_0x49307b['facet'](jv);_0x187923['length']?_0x187923[0x0](_0x1773db):window['onerror']&&window['onerror'](String(_0x1773db),_0xb829ee,void 0x0,void 0x0,_0x1773db)||(_0xb829ee?console['error'](_0xb829ee+':',_0x1773db):console['error'](_0x1773db));}const eT=Facet['define']({'combine':_0x2b45b4=>!_0x2b45b4['length']||_0x2b45b4[0x0]});let iT=0x0;const sT=Facet['define']({'combine':_0x59b416=>_0x59b416['filter']((_0x12233e,_0x1e60b6)=>{for(let _0x2f8870=0x0;_0x2f8870<_0x1e60b6;_0x2f8870++)if(_0x59b416[_0x2f8870]['plugin']==_0x12233e['plugin'])return!0x1;return!0x0;})});class ViewPlugin{constructor(_0x522d8f,_0x3ab768,_0xe09ca3,_0x2f48d7,_0x24236c){this['id']=_0x522d8f,this['create']=_0x3ab768,this['domEventHandlers']=_0xe09ca3,this['domEventObservers']=_0x2f48d7,this['baseExtensions']=_0x24236c(this),this['extension']=this['baseExtensions']['concat'](sT['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x2d10fb){return this['baseExtensions']['concat'](sT['of']({'plugin':this,'arg':_0x2d10fb}));}static['define'](_0x498788,_0x21bd21){const {eventHandlers:_0x37bda1,eventObservers:_0x2c4240,provide:_0x39709a,decorations:_0x4d54f0}=_0x21bd21||{};return new ViewPlugin(iT++,_0x498788,_0x37bda1,_0x2c4240,_0x59a564=>{let _0x35e599=[];return _0x4d54f0&&_0x35e599['push'](oT['of'](_0x1bdaee=>{let _0x4314db=_0x1bdaee['plugin'](_0x59a564);return _0x4314db?_0x4d54f0(_0x4314db):Decoration['none'];})),_0x39709a&&_0x35e599['push'](_0x39709a(_0x59a564)),_0x35e599;});}static['fromClass'](_0x40b78d,_0x295241){return ViewPlugin['define']((_0x3051e9,_0x49bcc7)=>new _0x40b78d(_0x3051e9,_0x49bcc7),_0x295241);}}class PluginInstance{constructor(_0x1a4072){this['spec']=_0x1a4072,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x3e5971){if(this['value']){if(this['mustUpdate']){let _0x5a2a7e=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x5a2a7e);}catch(_0x337649){if(tT(_0x5a2a7e['state'],_0x337649,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x51bc25){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x3e5971,this['spec']['arg']);}catch(_0x5918f5){tT(_0x3e5971['state'],_0x5918f5,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x30b74d){var _0x414c8f;if(null===(_0x414c8f=this['value'])||void 0x0===_0x414c8f?void 0x0:_0x414c8f['destroy'])try{this['value']['destroy']();}catch(_0x10f050){tT(_0x30b74d['state'],_0x10f050,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const nT=Facet['define'](),rT=Facet['define'](),oT=Facet['define'](),aT=Facet['define'](),cT=Facet['define'](),lT=Facet['define']();function hT(_0x55a5f3,_0x1ab489){let _0x218c2e=_0x55a5f3['state']['facet'](lT);if(!_0x218c2e['length'])return _0x218c2e;let _0x233827=_0x218c2e['map'](_0x454ee1=>_0x454ee1 instanceof Function?_0x454ee1(_0x55a5f3):_0x454ee1),_0x534999=[];return RangeSet['spans'](_0x233827,_0x1ab489['from'],_0x1ab489['to'],{'point'(){},'span'(_0xb57b79,_0x27165e,_0x53cb56,_0x749d0e){let _0x5961d6=_0xb57b79-_0x1ab489['from'],_0x33c77e=_0x27165e-_0x1ab489['from'],_0x550d77=_0x534999;for(let _0x279d7e=_0x53cb56['length']-0x1;_0x279d7e>=0x0;_0x279d7e--,_0x749d0e--){let _0x1d44a1,_0x261724=_0x53cb56[_0x279d7e]['spec']['bidiIsolate'];if(null==_0x261724&&(_0x261724=Vv(_0x1ab489['text'],_0x5961d6,_0x33c77e)),_0x749d0e>0x0&&_0x550d77['length']&&(_0x1d44a1=_0x550d77[_0x550d77['length']-0x1])['to']==_0x5961d6&&_0x1d44a1['direction']==_0x261724)_0x1d44a1['to']=_0x33c77e,_0x550d77=_0x1d44a1['inner'];else{let _0x485704={'from':_0x5961d6,'to':_0x33c77e,'direction':_0x261724,'inner':[]};_0x550d77['push'](_0x485704),_0x550d77=_0x485704['inner'];}}}}),_0x534999;}const uT=Facet['define']();function dT(_0x3b369e){let _0x30ae47=0x0,_0x4cb6dc=0x0,_0x384bf3=0x0,_0x2edd24=0x0;for(let _0xc1b8db of _0x3b369e['state']['facet'](uT)){let _0x5339be=_0xc1b8db(_0x3b369e);_0x5339be&&(null!=_0x5339be['left']&&(_0x30ae47=Math['max'](_0x30ae47,_0x5339be['left'])),null!=_0x5339be['right']&&(_0x4cb6dc=Math['max'](_0x4cb6dc,_0x5339be['right'])),null!=_0x5339be['top']&&(_0x384bf3=Math['max'](_0x384bf3,_0x5339be['top'])),null!=_0x5339be['bottom']&&(_0x2edd24=Math['max'](_0x2edd24,_0x5339be['bottom'])));}return{'left':_0x30ae47,'right':_0x4cb6dc,'top':_0x384bf3,'bottom':_0x2edd24};}const fT=Facet['define']();class ChangedRange{constructor(_0x207325,_0x3fa7de,_0xeac40,_0x10a399){this['fromA']=_0x207325,this['toA']=_0x3fa7de,this['fromB']=_0xeac40,this['toB']=_0x10a399;}['join'](_0x2c990d){return new ChangedRange(Math['min'](this['fromA'],_0x2c990d['fromA']),Math['max'](this['toA'],_0x2c990d['toA']),Math['min'](this['fromB'],_0x2c990d['fromB']),Math['max'](this['toB'],_0x2c990d['toB']));}['addToSet'](_0xb2e723){let _0x4ebb12=_0xb2e723['length'],_0x3f407b=this;for(;_0x4ebb12>0x0;_0x4ebb12--){let _0x3322c3=_0xb2e723[_0x4ebb12-0x1];if(!(_0x3322c3['fromA']>_0x3f407b['toA'])){if(_0x3322c3['toA']<_0x3f407b['fromA'])break;_0x3f407b=_0x3f407b['join'](_0x3322c3),_0xb2e723['splice'](_0x4ebb12-0x1,0x1);}}return _0xb2e723['splice'](_0x4ebb12,0x0,_0x3f407b),_0xb2e723;}static['extendWithRanges'](_0x3696a0,_0xde5adc){if(0x0==_0xde5adc['length'])return _0x3696a0;let _0x16514a=[];for(let _0x2df02c=0x0,_0x29776e=0x0,_0x308a4d=0x0,_0xe66063=0x0;;_0x2df02c++){let _0x35bac1=_0x2df02c==_0x3696a0['length']?null:_0x3696a0[_0x2df02c],_0x137358=_0x308a4d-_0xe66063,_0x509b3f=_0x35bac1?_0x35bac1['fromB']:0x3b9aca00;for(;_0x29776e<_0xde5adc['length']&&_0xde5adc[_0x29776e]<_0x509b3f;){let _0x3c4230=_0xde5adc[_0x29776e],_0x497a57=_0xde5adc[_0x29776e+0x1],_0xe843dd=Math['max'](_0xe66063,_0x3c4230),_0x341404=Math['min'](_0x509b3f,_0x497a57);if(_0xe843dd<=_0x341404&&new ChangedRange(_0xe843dd+_0x137358,_0x341404+_0x137358,_0xe843dd,_0x341404)['addToSet'](_0x16514a),_0x497a57>_0x509b3f)break;_0x29776e+=0x2;}if(!_0x35bac1)return _0x16514a;new ChangedRange(_0x35bac1['fromA'],_0x35bac1['toA'],_0x35bac1['fromB'],_0x35bac1['toB'])['addToSet'](_0x16514a),_0x308a4d=_0x35bac1['toA'],_0xe66063=_0x35bac1['toB'];}}}class ViewUpdate{constructor(_0x154f36,_0x3675ba,_0x5a94e2){this['view']=_0x154f36,this['state']=_0x3675ba,this['transactions']=_0x5a94e2,this['flags']=0x0,this['startState']=_0x154f36['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x4402c4 of _0x5a94e2)this['changes']=this['changes']['compose'](_0x4402c4['changes']);let _0x5478ce=[];this['changes']['iterChangedRanges']((_0x1d093f,_0x2a18fc,_0x2b94c4,_0x494f4f)=>_0x5478ce['push'](new ChangedRange(_0x1d093f,_0x2a18fc,_0x2b94c4,_0x494f4f))),this['changedRanges']=_0x5478ce;}static['create'](_0x13fdd7,_0x3ed798,_0x23f302){return new ViewUpdate(_0x13fdd7,_0x3ed798,_0x23f302);}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'](_0x5deff1=>_0x5deff1['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class DocView extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x507cd0){super(),this['view']=_0x507cd0,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'](_0x507cd0['contentDOM']),this['children']=[new LineView()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new ChangedRange(0x0,0x0,0x0,_0x507cd0['state']['doc']['length'])],0x0,null);}['update'](_0x262223){var _0x3b1f54;let _0x1688a3=_0x262223['changedRanges'];this['minWidth']>0x0&&_0x1688a3['length']&&(_0x1688a3['every'](({fromA:_0x51d311,toA:_0x1b9de2})=>_0x1b9de2<this['minWidthFrom']||_0x51d311>this['minWidthTo'])?(this['minWidthFrom']=_0x262223['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x262223['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x262223);let _0x350ae7=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x3b1f54=this['domChanged'])||void 0x0===_0x3b1f54?void 0x0:_0x3b1f54['newSel'])?_0x350ae7=this['domChanged']['newSel']['head']:function(_0xb8a283,_0x435332){let _0x4f4abc=!0x1;return _0x435332&&_0xb8a283['iterChangedRanges']((_0x2f0913,_0xd1e292)=>{_0x2f0913<_0x435332['to']&&_0xd1e292>_0x435332['from']&&(_0x4f4abc=!0x0);}),_0x4f4abc;}(_0x262223['changes'],this['hasComposition'])||_0x262223['selectionSet']||(_0x350ae7=_0x262223['state']['selection']['main']['head']));let _0x532925=_0x350ae7>-0x1?function(_0xeca39b,_0x3600a0,_0x241e00){let _0x5d1c18=mT(_0xeca39b,_0x241e00);if(!_0x5d1c18)return null;let {node:_0x51a814,from:_0x1ade27,to:_0x177fbb}=_0x5d1c18,_0x448dd7=_0x51a814['nodeValue'];if(/[\n\r]/['test'](_0x448dd7))return null;if(_0xeca39b['state']['doc']['sliceString'](_0x5d1c18['from'],_0x5d1c18['to'])!=_0x448dd7)return null;let _0x4cd4cc=_0x3600a0['invertedDesc'],_0x164d86=new ChangedRange(_0x4cd4cc['mapPos'](_0x1ade27),_0x4cd4cc['mapPos'](_0x177fbb),_0x1ade27,_0x177fbb),_0x1118ac=[];for(let _0x33eba8=_0x51a814['parentNode'];;_0x33eba8=_0x33eba8['parentNode']){let _0x11945d=ContentView['get'](_0x33eba8);if(_0x11945d instanceof MarkView)_0x1118ac['push']({'node':_0x33eba8,'deco':_0x11945d['mark']});else{if(_0x11945d instanceof LineView||'DIV'==_0x33eba8['nodeName']&&_0x33eba8['parentNode']==_0xeca39b['contentDOM'])return{'range':_0x164d86,'text':_0x51a814,'marks':_0x1118ac,'line':_0x33eba8};if(_0x33eba8==_0xeca39b['contentDOM'])return null;_0x1118ac['push']({'node':_0x33eba8,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':Ov(_0x33eba8),'tagName':_0x33eba8['tagName']['toLowerCase']()})});}}}(this['view'],_0x262223['changes'],_0x350ae7):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x2e4915,to:_0x57075c}=this['hasComposition'];_0x1688a3=new ChangedRange(_0x2e4915,_0x57075c,_0x262223['changes']['mapPos'](_0x2e4915,-0x1),_0x262223['changes']['mapPos'](_0x57075c,0x1))['addToSet'](_0x1688a3['slice']());}this['hasComposition']=_0x532925?{'from':_0x532925['range']['fromB'],'to':_0x532925['range']['toB']}:null,(Q_['ie']||Q_['chrome'])&&!_0x532925&&_0x262223&&_0x262223['state']['doc']['lines']!=_0x262223['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x7a0aa4=function(_0x541a9d,_0x3b8702,_0x43d8c1){let _0x4f9035=new gT();return RangeSet['compare'](_0x541a9d,_0x3b8702,_0x43d8c1,_0x4f9035),_0x4f9035['changes'];}(this['decorations'],this['updateDeco'](),_0x262223['changes']);return _0x1688a3=ChangedRange['extendWithRanges'](_0x1688a3,_0x7a0aa4),!!(0x7&this['flags']||0x0!=_0x1688a3['length'])&&(this['updateInner'](_0x1688a3,_0x262223['startState']['doc']['length'],_0x532925),_0x262223['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x18034f,_0x42d1f7,_0x4a719a){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x18034f,_0x42d1f7,_0x4a719a);let {observer:_0x4ccb3d}=this['view'];_0x4ccb3d['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x1c0f3c=Q_['chrome']||Q_['ios']?{'node':_0x4ccb3d['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x1c0f3c),this['flags']&=-0x8,_0x1c0f3c&&(_0x1c0f3c['written']||_0x4ccb3d['selectionRange']['focusNode']!=_0x1c0f3c['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x1cd6f8=>_0x1cd6f8['flags']&=-0x9);let _0x26aa8a=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x291e06 of this['children'])_0x291e06 instanceof BlockWidgetView&&_0x291e06['widget']instanceof BlockGapWidget&&_0x26aa8a['push'](_0x291e06['dom']);}_0x4ccb3d['updateGaps'](_0x26aa8a);}['updateChildren'](_0x598466,_0x11a07f,_0x839c99){let _0x13277a=_0x839c99?_0x839c99['range']['addToSet'](_0x598466['slice']()):_0x598466,_0x520838=this['childCursor'](_0x11a07f);for(let _0x3c16b1=_0x13277a['length']-0x1;;_0x3c16b1--){let _0x4e0908=_0x3c16b1>=0x0?_0x13277a[_0x3c16b1]:null;if(!_0x4e0908)break;let _0x1ded11,_0x1fc16f,_0x59efff,_0x284a60,{fromA:_0x34825a,toA:_0x1d59d2,fromB:_0x2a79e5,toB:_0x55da74}=_0x4e0908;if(_0x839c99&&_0x839c99['range']['fromB']<_0x55da74&&_0x839c99['range']['toB']>_0x2a79e5){let _0x59b6bb=ContentBuilder['build'](this['view']['state']['doc'],_0x2a79e5,_0x839c99['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x4cc64c=ContentBuilder['build'](this['view']['state']['doc'],_0x839c99['range']['toB'],_0x55da74,this['decorations'],this['dynamicDecorationMap']);_0x1fc16f=_0x59b6bb['breakAtStart'],_0x59efff=_0x59b6bb['openStart'],_0x284a60=_0x4cc64c['openEnd'];let _0x2f03d4=this['compositionView'](_0x839c99);_0x4cc64c['breakAtStart']?_0x2f03d4['breakAfter']=0x1:_0x4cc64c['content']['length']&&_0x2f03d4['merge'](_0x2f03d4['length'],_0x2f03d4['length'],_0x4cc64c['content'][0x0],!0x1,_0x4cc64c['openStart'],0x0)&&(_0x2f03d4['breakAfter']=_0x4cc64c['content'][0x0]['breakAfter'],_0x4cc64c['content']['shift']()),_0x59b6bb['content']['length']&&_0x2f03d4['merge'](0x0,0x0,_0x59b6bb['content'][_0x59b6bb['content']['length']-0x1],!0x0,0x0,_0x59b6bb['openEnd'])&&_0x59b6bb['content']['pop'](),_0x1ded11=_0x59b6bb['content']['concat'](_0x2f03d4)['concat'](_0x4cc64c['content']);}else({content:_0x1ded11,breakAtStart:_0x1fc16f,openStart:_0x59efff,openEnd:_0x284a60}=ContentBuilder['build'](this['view']['state']['doc'],_0x2a79e5,_0x55da74,this['decorations'],this['dynamicDecorationMap']));let {i:_0x2b97e0,off:_0x899cac}=_0x520838['findPos'](_0x1d59d2,0x1),{i:_0x5fb5f3,off:_0x5a788b}=_0x520838['findPos'](_0x34825a,-0x1);av(this,_0x5fb5f3,_0x5a788b,_0x2b97e0,_0x899cac,_0x1ded11,_0x1fc16f,_0x59efff,_0x284a60);}_0x839c99&&this['fixCompositionDOM'](_0x839c99);}['updateEditContextFormatting'](_0x2c7e3a){this['editContextFormatting']=this['editContextFormatting']['map'](_0x2c7e3a['changes']);for(let _0x4a8890 of _0x2c7e3a['transactions'])for(let _0x290c09 of _0x4a8890['effects'])_0x290c09['is'](Jv)&&(this['editContextFormatting']=_0x290c09['value']);}['compositionView'](_0x4ab1d5){let _0xbe06bf=new TextView(_0x4ab1d5['text']['nodeValue']);_0xbe06bf['flags']|=0x8;for(let {deco:_0x12c61e}of _0x4ab1d5['marks'])_0xbe06bf=new MarkView(_0x12c61e,[_0xbe06bf],_0xbe06bf['length']);let _0x49635b=new LineView();return _0x49635b['append'](_0xbe06bf,0x0),_0x49635b;}['fixCompositionDOM'](_0x302622){let _0x3a74f3=(_0x4311d8,_0x1b6a2d)=>{_0x1b6a2d['flags']|=0x8|(_0x1b6a2d['children']['some'](_0x137d39=>0x7&_0x137d39['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x1b6a2d);let _0x3febbf=ContentView['get'](_0x4311d8);_0x3febbf&&_0x3febbf!=_0x1b6a2d&&(_0x3febbf['dom']=null),_0x1b6a2d['setDOM'](_0x4311d8);},_0x4e8a35=this['childPos'](_0x302622['range']['fromB'],0x1),_0x7400e8=this['children'][_0x4e8a35['i']];_0x3a74f3(_0x302622['line'],_0x7400e8);for(let _0x547ad8=_0x302622['marks']['length']-0x1;_0x547ad8>=-0x1;_0x547ad8--)_0x4e8a35=_0x7400e8['childPos'](_0x4e8a35['off'],0x1),_0x7400e8=_0x7400e8['children'][_0x4e8a35['i']],_0x3a74f3(_0x547ad8>=0x0?_0x302622['marks'][_0x547ad8]['node']:_0x302622['text'],_0x7400e8);}['updateSelection'](_0x397c6e=!0x1,_0x2fb86b=!0x1){!_0x397c6e&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x4ef86d=this['view']['root']['activeElement'],_0x4e4080=_0x4ef86d==this['dom'],_0xf72e12=!_0x4e4080&&!(this['view']['state']['facet'](eT)||this['dom']['tabIndex']>-0x1)&&U_(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x4ef86d&&this['dom']['contains'](_0x4ef86d));if(!(_0x4e4080||_0x2fb86b||_0xf72e12))return;let _0x5e8bb8=this['forceSelection'];this['forceSelection']=!0x1;let _0x4b5653=this['view']['state']['selection']['main'],_0x1fbcd0=this['moveToLine'](this['domAtPos'](_0x4b5653['anchor'])),_0x383a8f=_0x4b5653['empty']?_0x1fbcd0:this['moveToLine'](this['domAtPos'](_0x4b5653['head']));if(Q_['gecko']&&_0x4b5653['empty']&&!this['hasComposition']&&(0x1==(_0x2f3f14=_0x1fbcd0)['node']['nodeType']&&_0x2f3f14['node']['firstChild']&&(0x0==_0x2f3f14['offset']||'false'==_0x2f3f14['node']['childNodes'][_0x2f3f14['offset']-0x1]['contentEditable'])&&(_0x2f3f14['offset']==_0x2f3f14['node']['childNodes']['length']||'false'==_0x2f3f14['node']['childNodes'][_0x2f3f14['offset']]['contentEditable']))){let _0x553c80=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x1fbcd0['node']['insertBefore'](_0x553c80,_0x1fbcd0['node']['childNodes'][_0x1fbcd0['offset']]||null)),_0x1fbcd0=_0x383a8f=new DOMPos(_0x553c80,0x0),_0x5e8bb8=!0x0;}var _0x2f3f14;let _0x557404=this['view']['observer']['selectionRange'];!_0x5e8bb8&&_0x557404['focusNode']&&(F_(_0x1fbcd0['node'],_0x1fbcd0['offset'],_0x557404['anchorNode'],_0x557404['anchorOffset'])&&F_(_0x383a8f['node'],_0x383a8f['offset'],_0x557404['focusNode'],_0x557404['focusOffset'])||this['suppressWidgetCursorChange'](_0x557404,_0x4b5653))||(this['view']['observer']['ignore'](()=>{Q_['android']&&Q_['chrome']&&this['dom']['contains'](_0x557404['focusNode'])&&function(_0x23663a,_0x3ca2ef){for(let _0x2db691=_0x23663a;_0x2db691&&_0x2db691!=_0x3ca2ef;_0x2db691=_0x2db691['assignedSlot']||_0x2db691['parentNode'])if(0x1==_0x2db691['nodeType']&&'false'==_0x2db691['contentEditable'])return!0x0;return!0x1;}(_0x557404['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x4f7571=$_(this['view']['root']);if(_0x4f7571){if(_0x4b5653['empty']){if(Q_['gecko']){let _0x40575e=function(_0x40ccb9,_0x26c177){return 0x1!=_0x40ccb9['nodeType']?0x0:(_0x26c177&&'false'==_0x40ccb9['childNodes'][_0x26c177-0x1]['contentEditable']?0x1:0x0)|(_0x26c177<_0x40ccb9['childNodes']['length']&&'false'==_0x40ccb9['childNodes'][_0x26c177]['contentEditable']?0x2:0x0);}(_0x1fbcd0['node'],_0x1fbcd0['offset']);if(_0x40575e&&0x3!=_0x40575e){let _0x209dc6=(0x1==_0x40575e?sv:nv)(_0x1fbcd0['node'],_0x1fbcd0['offset']);_0x209dc6&&(_0x1fbcd0=new DOMPos(_0x209dc6['node'],_0x209dc6['offset']));}}_0x4f7571['collapse'](_0x1fbcd0['node'],_0x1fbcd0['offset']),null!=_0x4b5653['bidiLevel']&&void 0x0!==_0x4f7571['caretBidiLevel']&&(_0x4f7571['caretBidiLevel']=_0x4b5653['bidiLevel']);}else{if(_0x4f7571['extend']){_0x4f7571['collapse'](_0x1fbcd0['node'],_0x1fbcd0['offset']);try{_0x4f7571['extend'](_0x383a8f['node'],_0x383a8f['offset']);}catch(_0x382686){}}else{let _0x1796c6=document['createRange']();_0x4b5653['anchor']>_0x4b5653['head']&&([_0x1fbcd0,_0x383a8f]=[_0x383a8f,_0x1fbcd0]),_0x1796c6['setEnd'](_0x383a8f['node'],_0x383a8f['offset']),_0x1796c6['setStart'](_0x1fbcd0['node'],_0x1fbcd0['offset']),_0x4f7571['removeAllRanges'](),_0x4f7571['addRange'](_0x1796c6);}}}else;_0xf72e12&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x4ef86d&&_0x4ef86d['focus']());}),this['view']['observer']['setSelectionRange'](_0x1fbcd0,_0x383a8f)),this['impreciseAnchor']=_0x1fbcd0['precise']?null:new DOMPos(_0x557404['anchorNode'],_0x557404['anchorOffset']),this['impreciseHead']=_0x383a8f['precise']?null:new DOMPos(_0x557404['focusNode'],_0x557404['focusOffset']);}['suppressWidgetCursorChange'](_0x247dc1,_0x2ea7ec){return this['hasComposition']&&_0x2ea7ec['empty']&&F_(_0x247dc1['focusNode'],_0x247dc1['focusOffset'],_0x247dc1['anchorNode'],_0x247dc1['anchorOffset'])&&this['posFromDOM'](_0x247dc1['focusNode'],_0x247dc1['focusOffset'])==_0x2ea7ec['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x12a1eb}=this,_0x1241ca=_0x12a1eb['state']['selection']['main'],_0x397727=$_(_0x12a1eb['root']),{anchorNode:_0x3e135d,anchorOffset:_0x3f2bd3}=_0x12a1eb['observer']['selectionRange'];if(!(_0x397727&&_0x1241ca['empty']&&_0x1241ca['assoc']&&_0x397727['modify']))return;let _0x34c1eb=LineView['find'](this,_0x1241ca['head']);if(!_0x34c1eb)return;let _0x37ff7f=_0x34c1eb['posAtStart'];if(_0x1241ca['head']==_0x37ff7f||_0x1241ca['head']==_0x37ff7f+_0x34c1eb['length'])return;let _0x5b59b1=this['coordsAt'](_0x1241ca['head'],-0x1),_0x25cb6d=this['coordsAt'](_0x1241ca['head'],0x1);if(!_0x5b59b1||!_0x25cb6d||_0x5b59b1['bottom']>_0x25cb6d['top'])return;let _0x49c9bf=this['domAtPos'](_0x1241ca['head']+_0x1241ca['assoc']);_0x397727['collapse'](_0x49c9bf['node'],_0x49c9bf['offset']),_0x397727['modify']('move',_0x1241ca['assoc']<0x0?'forward':'backward','lineboundary'),_0x12a1eb['observer']['readSelectionRange']();let _0x14912d=_0x12a1eb['observer']['selectionRange'];_0x12a1eb['docView']['posFromDOM'](_0x14912d['anchorNode'],_0x14912d['anchorOffset'])!=_0x1241ca['from']&&_0x397727['collapse'](_0x3e135d,_0x3f2bd3);}['moveToLine'](_0x11062a){let _0x2dae84,_0x5cf97d=this['dom'];if(_0x11062a['node']!=_0x5cf97d)return _0x11062a;for(let _0x3b41f3=_0x11062a['offset'];!_0x2dae84&&_0x3b41f3<_0x5cf97d['childNodes']['length'];_0x3b41f3++){let _0x125249=ContentView['get'](_0x5cf97d['childNodes'][_0x3b41f3]);_0x125249 instanceof LineView&&(_0x2dae84=_0x125249['domAtPos'](0x0));}for(let _0x36141f=_0x11062a['offset']-0x1;!_0x2dae84&&_0x36141f>=0x0;_0x36141f--){let _0x2a9c49=ContentView['get'](_0x5cf97d['childNodes'][_0x36141f]);_0x2a9c49 instanceof LineView&&(_0x2dae84=_0x2a9c49['domAtPos'](_0x2a9c49['length']));}return _0x2dae84?new DOMPos(_0x2dae84['node'],_0x2dae84['offset'],!0x0):_0x11062a;}['nearest'](_0x359c6c){for(let _0x103cab=_0x359c6c;_0x103cab;){let _0x54470b=ContentView['get'](_0x103cab);if(_0x54470b&&_0x54470b['rootView']==this)return _0x54470b;_0x103cab=_0x103cab['parentNode'];}return null;}['posFromDOM'](_0x4f4eec,_0x54620d){let _0x3d1e7b=this['nearest'](_0x4f4eec);if(!_0x3d1e7b)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x3d1e7b['localPosFromDOM'](_0x4f4eec,_0x54620d)+_0x3d1e7b['posAtStart'];}['domAtPos'](_0x19df75){let {i:_0x3ba676,off:_0x118548}=this['childCursor']()['findPos'](_0x19df75,-0x1);for(;_0x3ba676<this['children']['length']-0x1;){let _0x413025=this['children'][_0x3ba676];if(_0x118548<_0x413025['length']||_0x413025 instanceof LineView)break;_0x3ba676++,_0x118548=0x0;}return this['children'][_0x3ba676]['domAtPos'](_0x118548);}['coordsAt'](_0x3b5876,_0x4ae741){let _0x3783cf=null,_0x56c881=0x0;for(let _0x3b3f02=this['length'],_0x24a4d3=this['children']['length']-0x1;_0x24a4d3>=0x0;_0x24a4d3--){let _0x4bae61=this['children'][_0x24a4d3],_0x4efabc=_0x3b3f02-_0x4bae61['breakAfter'],_0x316554=_0x4efabc-_0x4bae61['length'];if(_0x4efabc<_0x3b5876)break;if(_0x316554<=_0x3b5876&&(_0x316554<_0x3b5876||_0x4bae61['covers'](-0x1))&&(_0x4efabc>_0x3b5876||_0x4bae61['covers'](0x1))&&(!_0x3783cf||_0x4bae61 instanceof LineView&&!(_0x3783cf instanceof LineView&&_0x4ae741>=0x0)))_0x3783cf=_0x4bae61,_0x56c881=_0x316554;else{if(_0x3783cf&&_0x316554==_0x3b5876&&_0x4efabc==_0x3b5876&&_0x4bae61 instanceof BlockWidgetView&&Math['abs'](_0x4ae741)<0x2){if(_0x4bae61['deco']['startSide']<0x0)break;_0x24a4d3&&(_0x3783cf=null);}}_0x3b3f02=_0x316554;}return _0x3783cf?_0x3783cf['coordsAt'](_0x3b5876-_0x56c881,_0x4ae741):null;}['coordsForChar'](_0x2980ab){let {i:_0x5a4158,off:_0xdca405}=this['childPos'](_0x2980ab,0x1),_0x52e5ec=this['children'][_0x5a4158];if(!(_0x52e5ec instanceof LineView))return null;for(;_0x52e5ec['children']['length'];){let {i:_0x4d6f97,off:_0x21281c}=_0x52e5ec['childPos'](_0xdca405,0x1);for(;;_0x4d6f97++){if(_0x4d6f97==_0x52e5ec['children']['length'])return null;if((_0x52e5ec=_0x52e5ec['children'][_0x4d6f97])['length'])break;}_0xdca405=_0x21281c;}if(!(_0x52e5ec instanceof TextView))return null;let _0x599e43=gy(_0x52e5ec['text'],_0xdca405);if(_0x599e43==_0xdca405)return null;let _0x69b959=J_(_0x52e5ec['dom'],_0xdca405,_0x599e43)['getClientRects']();for(let _0xf95959=0x0;_0xf95959<_0x69b959['length'];_0xf95959++){let _0x657c17=_0x69b959[_0xf95959];if(_0xf95959==_0x69b959['length']-0x1||_0x657c17['top']<_0x657c17['bottom']&&_0x657c17['left']<_0x657c17['right'])return _0x657c17;}return null;}['measureVisibleLineHeights'](_0x2c3907){let _0x277b7d=[],{from:_0x5d4b87,to:_0x12497d}=_0x2c3907,_0x19f8ae=this['view']['contentDOM']['clientWidth'],_0x5e1f84=_0x19f8ae>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x35dab5=-0x1,_0x572d53=this['view']['textDirection']==vv['LTR'];for(let _0xfb45fe=0x0,_0x4cfe9c=0x0;_0x4cfe9c<this['children']['length'];_0x4cfe9c++){let _0x5336dc=this['children'][_0x4cfe9c],_0x1a574d=_0xfb45fe+_0x5336dc['length'];if(_0x1a574d>_0x12497d)break;if(_0xfb45fe>=_0x5d4b87){let _0x4021dc=_0x5336dc['dom']['getBoundingClientRect']();if(_0x277b7d['push'](_0x4021dc['height']),_0x5e1f84){let _0x2331f0=_0x5336dc['dom']['lastChild'],_0x150f82=_0x2331f0?B_(_0x2331f0):[];if(_0x150f82['length']){let _0x1becd3=_0x150f82[_0x150f82['length']-0x1],_0x1544c3=_0x572d53?_0x1becd3['right']-_0x4021dc['left']:_0x4021dc['right']-_0x1becd3['left'];_0x1544c3>_0x35dab5&&(_0x35dab5=_0x1544c3,this['minWidth']=_0x19f8ae,this['minWidthFrom']=_0xfb45fe,this['minWidthTo']=_0x1a574d);}}}_0xfb45fe=_0x1a574d+_0x5336dc['breakAfter'];}return _0x277b7d;}['textDirectionAt'](_0x29aa61){let {i:_0x3dae1e}=this['childPos'](_0x29aa61,0x1);return'rtl'==getComputedStyle(this['children'][_0x3dae1e]['dom'])['direction']?vv['RTL']:vv['LTR'];}['measureTextSize'](){for(let _0x5e6078 of this['children'])if(_0x5e6078 instanceof LineView){let _0x333fc5=_0x5e6078['measureTextSize']();if(_0x333fc5)return _0x333fc5;}let _0x432a81,_0x5c5cfa,_0x106878,_0x167d16=document['createElement']('div');return _0x167d16['className']='cm-line',_0x167d16['style']['width']='99999px',_0x167d16['style']['position']='absolute',_0x167d16['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x167d16);let _0x432b01=B_(_0x167d16['firstChild'])[0x0];_0x432a81=_0x167d16['getBoundingClientRect']()['height'],_0x5c5cfa=_0x432b01?_0x432b01['width']/0x1b:0x7,_0x106878=_0x432b01?_0x432b01['height']:_0x432a81,_0x167d16['remove']();}),{'lineHeight':_0x432a81,'charWidth':_0x5c5cfa,'textHeight':_0x106878};}['childCursor'](_0x89b208=this['length']){let _0x19fee5=this['children']['length'];return _0x19fee5&&(_0x89b208-=this['children'][--_0x19fee5]['length']),new ChildCursor(this['children'],_0x89b208,_0x19fee5);}['computeBlockGapDeco'](){let _0x2de692=[],_0x494bce=this['view']['viewState'];for(let _0x15f408=0x0,_0x1f623e=0x0;;_0x1f623e++){let _0x22fee9=_0x1f623e==_0x494bce['viewports']['length']?null:_0x494bce['viewports'][_0x1f623e],_0x2b5b29=_0x22fee9?_0x22fee9['from']-0x1:this['length'];if(_0x2b5b29>_0x15f408){let _0x2f3a2b=(_0x494bce['lineBlockAt'](_0x2b5b29)['bottom']-_0x494bce['lineBlockAt'](_0x15f408)['top'])/this['view']['scaleY'];_0x2de692['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x2f3a2b),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x15f408,_0x2b5b29));}if(!_0x22fee9)break;_0x15f408=_0x22fee9['to']+0x1;}return Decoration['set'](_0x2de692);}['updateDeco'](){let _0x5e350a=0x1,_0x5c1e3b=this['view']['state']['facet'](oT)['map'](_0x4dfafd=>(this['dynamicDecorationMap'][_0x5e350a++]='function'==typeof _0x4dfafd)?_0x4dfafd(this['view']):_0x4dfafd),_0x7a25c3=!0x1,_0x4f1e9e=this['view']['state']['facet'](aT)['map']((_0x44c505,_0x57d77a)=>{let _0x367253='function'==typeof _0x44c505;return _0x367253&&(_0x7a25c3=!0x0),_0x367253?_0x44c505(this['view']):_0x44c505;});for(_0x4f1e9e['length']&&(this['dynamicDecorationMap'][_0x5e350a++]=_0x7a25c3,_0x5c1e3b['push'](RangeSet['join'](_0x4f1e9e))),this['decorations']=[this['editContextFormatting'],..._0x5c1e3b,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x5e350a<this['decorations']['length'];)this['dynamicDecorationMap'][_0x5e350a++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x39caf4){if(_0x39caf4['isSnapshot']){let _0x39174=this['view']['viewState']['lineBlockAt'](_0x39caf4['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x39174['top']-_0x39caf4['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x39caf4['xMargin']);}for(let _0x118d24 of this['view']['state']['facet'](Yv))try{if(_0x118d24(this['view'],_0x39caf4['range'],_0x39caf4))return!0x0;}catch(_0x169dab){tT(this['view']['state'],_0x169dab,'scroll\x20handler');}let _0x4874fc,{range:_0x3cea4d}=_0x39caf4,_0x4039f6=this['coordsAt'](_0x3cea4d['head'],_0x3cea4d['empty']?_0x3cea4d['assoc']:_0x3cea4d['head']>_0x3cea4d['anchor']?-0x1:0x1);if(!_0x4039f6)return;!_0x3cea4d['empty']&&(_0x4874fc=this['coordsAt'](_0x3cea4d['anchor'],_0x3cea4d['anchor']>_0x3cea4d['head']?-0x1:0x1))&&(_0x4039f6={'left':Math['min'](_0x4039f6['left'],_0x4874fc['left']),'top':Math['min'](_0x4039f6['top'],_0x4874fc['top']),'right':Math['max'](_0x4039f6['right'],_0x4874fc['right']),'bottom':Math['max'](_0x4039f6['bottom'],_0x4874fc['bottom'])});let _0x4753a1=dT(this['view']),_0x29aeb5={'left':_0x4039f6['left']-_0x4753a1['left'],'top':_0x4039f6['top']-_0x4753a1['top'],'right':_0x4039f6['right']+_0x4753a1['right'],'bottom':_0x4039f6['bottom']+_0x4753a1['bottom']},{offsetWidth:_0x38227a,offsetHeight:_0x4160f9}=this['view']['scrollDOM'];!function(_0x26e970,_0x37e5d8,_0x4b7126,_0x28d78c,_0x29143a,_0x1af4a0,_0x2c4abe,_0x42f73b){let _0x3aa4ca=_0x26e970['ownerDocument'],_0x24e112=_0x3aa4ca['defaultView']||window;for(let _0x1fead0=_0x26e970,_0x2ff1aa=!0x1;_0x1fead0&&!_0x2ff1aa;)if(0x1==_0x1fead0['nodeType']){let _0xb48882,_0xf178a8=_0x1fead0==_0x3aa4ca['body'],_0x3f821a=0x1,_0x4236bb=0x1;if(_0xf178a8)_0xb48882=q_(_0x24e112);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x1fead0)['position'])&&(_0x2ff1aa=!0x0),_0x1fead0['scrollHeight']<=_0x1fead0['clientHeight']&&_0x1fead0['scrollWidth']<=_0x1fead0['clientWidth']){_0x1fead0=_0x1fead0['assignedSlot']||_0x1fead0['parentNode'];continue;}let _0x5ae0f1=_0x1fead0['getBoundingClientRect']();({scaleX:_0x3f821a,scaleY:_0x4236bb}=W_(_0x1fead0,_0x5ae0f1),_0xb48882={'left':_0x5ae0f1['left'],'right':_0x5ae0f1['left']+_0x1fead0['clientWidth']*_0x3f821a,'top':_0x5ae0f1['top'],'bottom':_0x5ae0f1['top']+_0x1fead0['clientHeight']*_0x4236bb});}let _0x371bc0=0x0,_0x2d0b93=0x0;if('nearest'==_0x29143a)_0x37e5d8['top']<_0xb48882['top']?(_0x2d0b93=_0x37e5d8['top']-(_0xb48882['top']+_0x2c4abe),_0x4b7126>0x0&&_0x37e5d8['bottom']>_0xb48882['bottom']+_0x2d0b93&&(_0x2d0b93=_0x37e5d8['bottom']-_0xb48882['bottom']+_0x2c4abe)):_0x37e5d8['bottom']>_0xb48882['bottom']&&(_0x2d0b93=_0x37e5d8['bottom']-_0xb48882['bottom']+_0x2c4abe,_0x4b7126<0x0&&_0x37e5d8['top']-_0x2d0b93<_0xb48882['top']&&(_0x2d0b93=_0x37e5d8['top']-(_0xb48882['top']+_0x2c4abe)));else{let _0x4ed958=_0x37e5d8['bottom']-_0x37e5d8['top'],_0x337884=_0xb48882['bottom']-_0xb48882['top'];_0x2d0b93=('center'==_0x29143a&&_0x4ed958<=_0x337884?_0x37e5d8['top']+_0x4ed958/0x2-_0x337884/0x2:'start'==_0x29143a||'center'==_0x29143a&&_0x4b7126<0x0?_0x37e5d8['top']-_0x2c4abe:_0x37e5d8['bottom']-_0x337884+_0x2c4abe)-_0xb48882['top'];}if('nearest'==_0x28d78c?_0x37e5d8['left']<_0xb48882['left']?(_0x371bc0=_0x37e5d8['left']-(_0xb48882['left']+_0x1af4a0),_0x4b7126>0x0&&_0x37e5d8['right']>_0xb48882['right']+_0x371bc0&&(_0x371bc0=_0x37e5d8['right']-_0xb48882['right']+_0x1af4a0)):_0x37e5d8['right']>_0xb48882['right']&&(_0x371bc0=_0x37e5d8['right']-_0xb48882['right']+_0x1af4a0,_0x4b7126<0x0&&_0x37e5d8['left']<_0xb48882['left']+_0x371bc0&&(_0x371bc0=_0x37e5d8['left']-(_0xb48882['left']+_0x1af4a0))):_0x371bc0=('center'==_0x28d78c?_0x37e5d8['left']+(_0x37e5d8['right']-_0x37e5d8['left'])/0x2-(_0xb48882['right']-_0xb48882['left'])/0x2:'start'==_0x28d78c==_0x42f73b?_0x37e5d8['left']-_0x1af4a0:_0x37e5d8['right']-(_0xb48882['right']-_0xb48882['left'])+_0x1af4a0)-_0xb48882['left'],_0x371bc0||_0x2d0b93){if(_0xf178a8)_0x24e112['scrollBy'](_0x371bc0,_0x2d0b93);else{let _0x3bfe95=0x0,_0x362e35=0x0;if(_0x2d0b93){let _0x4e595d=_0x1fead0['scrollTop'];_0x1fead0['scrollTop']+=_0x2d0b93/_0x4236bb,_0x362e35=(_0x1fead0['scrollTop']-_0x4e595d)*_0x4236bb;}if(_0x371bc0){let _0x267c12=_0x1fead0['scrollLeft'];_0x1fead0['scrollLeft']+=_0x371bc0/_0x3f821a,_0x3bfe95=(_0x1fead0['scrollLeft']-_0x267c12)*_0x3f821a;}_0x37e5d8={'left':_0x37e5d8['left']-_0x3bfe95,'top':_0x37e5d8['top']-_0x362e35,'right':_0x37e5d8['right']-_0x3bfe95,'bottom':_0x37e5d8['bottom']-_0x362e35},_0x3bfe95&&Math['abs'](_0x3bfe95-_0x371bc0)<0x1&&(_0x28d78c='nearest'),_0x362e35&&Math['abs'](_0x362e35-_0x2d0b93)<0x1&&(_0x29143a='nearest');}}if(_0xf178a8)break;(_0x37e5d8['top']<_0xb48882['top']||_0x37e5d8['bottom']>_0xb48882['bottom']||_0x37e5d8['left']<_0xb48882['left']||_0x37e5d8['right']>_0xb48882['right'])&&(_0x37e5d8={'left':Math['max'](_0x37e5d8['left'],_0xb48882['left']),'right':Math['min'](_0x37e5d8['right'],_0xb48882['right']),'top':Math['max'](_0x37e5d8['top'],_0xb48882['top']),'bottom':Math['min'](_0x37e5d8['bottom'],_0xb48882['bottom'])}),_0x1fead0=_0x1fead0['assignedSlot']||_0x1fead0['parentNode'];}else{if(0xb!=_0x1fead0['nodeType'])break;_0x1fead0=_0x1fead0['host'];}}(this['view']['scrollDOM'],_0x29aeb5,_0x3cea4d['head']<_0x3cea4d['anchor']?-0x1:0x1,_0x39caf4['x'],_0x39caf4['y'],Math['max'](Math['min'](_0x39caf4['xMargin'],_0x38227a),-_0x38227a),Math['max'](Math['min'](_0x39caf4['yMargin'],_0x4160f9),-_0x4160f9),this['view']['textDirection']==vv['LTR']);}}function mT(_0x958405,_0x4dc882){let _0x1b1da1=_0x958405['observer']['selectionRange'];if(!_0x1b1da1['focusNode'])return null;let _0x3cf5c6=sv(_0x1b1da1['focusNode'],_0x1b1da1['focusOffset']),_0x5089d1=nv(_0x1b1da1['focusNode'],_0x1b1da1['focusOffset']),_0x26d4c0=_0x3cf5c6||_0x5089d1;if(_0x5089d1&&_0x3cf5c6&&_0x5089d1['node']!=_0x3cf5c6['node']){let _0x531c65=ContentView['get'](_0x5089d1['node']);if(!_0x531c65||_0x531c65 instanceof TextView&&_0x531c65['text']!=_0x5089d1['node']['nodeValue'])_0x26d4c0=_0x5089d1;else{if(_0x958405['docView']['lastCompositionAfterCursor']){let _0xd1cdfc=ContentView['get'](_0x3cf5c6['node']);!_0xd1cdfc||_0xd1cdfc instanceof TextView&&_0xd1cdfc['text']!=_0x3cf5c6['node']['nodeValue']||(_0x26d4c0=_0x5089d1);}}}if(_0x958405['docView']['lastCompositionAfterCursor']=_0x26d4c0!=_0x3cf5c6,!_0x26d4c0)return null;let _0x5d27d4=_0x4dc882-_0x26d4c0['offset'];return{'from':_0x5d27d4,'to':_0x5d27d4+_0x26d4c0['node']['nodeValue']['length'],'node':_0x26d4c0['node']};}let gT=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x40fb18,_0x216b14){yv(_0x40fb18,_0x216b14,this['changes']);}['comparePoint'](_0x6686d3,_0x38144b){yv(_0x6686d3,_0x38144b,this['changes']);}['boundChange'](_0x2daab7){yv(_0x2daab7,_0x2daab7,this['changes']);}};function pT(_0x3378a3,_0x5c3cdb){return _0x5c3cdb['left']>_0x3378a3?_0x5c3cdb['left']-_0x3378a3:Math['max'](0x0,_0x3378a3-_0x5c3cdb['right']);}function OT(_0x2e1398,_0x543e40){return _0x543e40['top']>_0x2e1398?_0x543e40['top']-_0x2e1398:Math['max'](0x0,_0x2e1398-_0x543e40['bottom']);}function wT(_0x3938b4,_0x4ac5f4){return _0x3938b4['top']<_0x4ac5f4['bottom']-0x1&&_0x3938b4['bottom']>_0x4ac5f4['top']+0x1;}function bT(_0x5bf9c6,_0x5ec9a3){return _0x5ec9a3<_0x5bf9c6['top']?{'top':_0x5ec9a3,'left':_0x5bf9c6['left'],'right':_0x5bf9c6['right'],'bottom':_0x5bf9c6['bottom']}:_0x5bf9c6;}function yT(_0x2edb73,_0x4739fd){return _0x4739fd>_0x2edb73['bottom']?{'top':_0x2edb73['top'],'left':_0x2edb73['left'],'right':_0x2edb73['right'],'bottom':_0x4739fd}:_0x2edb73;}function _T(_0x2d4da4,_0x539e68,_0x1b38a3){let _0x116466,_0x17dec9,_0x1b45f2,_0x46c12,_0x4dffdf,_0x40cea2,_0x365740,_0x3cadda,_0x5d94ad=!0x1;for(let _0x14cc4c=_0x2d4da4['firstChild'];_0x14cc4c;_0x14cc4c=_0x14cc4c['nextSibling']){let _0x59e81a=B_(_0x14cc4c);for(let _0xe4895c=0x0;_0xe4895c<_0x59e81a['length'];_0xe4895c++){let _0x5310ee=_0x59e81a[_0xe4895c];_0x17dec9&&wT(_0x17dec9,_0x5310ee)&&(_0x5310ee=bT(yT(_0x5310ee,_0x17dec9['bottom']),_0x17dec9['top']));let _0x43b488=pT(_0x539e68,_0x5310ee),_0x54584f=OT(_0x1b38a3,_0x5310ee);if(0x0==_0x43b488&&0x0==_0x54584f)return 0x3==_0x14cc4c['nodeType']?vT(_0x14cc4c,_0x539e68,_0x1b38a3):_T(_0x14cc4c,_0x539e68,_0x1b38a3);(!_0x116466||_0x46c12>_0x54584f||_0x46c12==_0x54584f&&_0x1b45f2>_0x43b488)&&(_0x116466=_0x14cc4c,_0x17dec9=_0x5310ee,_0x1b45f2=_0x43b488,_0x46c12=_0x54584f,_0x5d94ad=!_0x43b488||(_0x539e68<_0x5310ee['left']?_0xe4895c>0x0:_0xe4895c<_0x59e81a['length']-0x1)),0x0==_0x43b488?_0x1b38a3>_0x5310ee['bottom']&&(!_0x365740||_0x365740['bottom']<_0x5310ee['bottom'])?(_0x4dffdf=_0x14cc4c,_0x365740=_0x5310ee):_0x1b38a3<_0x5310ee['top']&&(!_0x3cadda||_0x3cadda['top']>_0x5310ee['top'])&&(_0x40cea2=_0x14cc4c,_0x3cadda=_0x5310ee):_0x365740&&wT(_0x365740,_0x5310ee)?_0x365740=yT(_0x365740,_0x5310ee['bottom']):_0x3cadda&&wT(_0x3cadda,_0x5310ee)&&(_0x3cadda=bT(_0x3cadda,_0x5310ee['top']));}}if(_0x365740&&_0x365740['bottom']>=_0x1b38a3?(_0x116466=_0x4dffdf,_0x17dec9=_0x365740):_0x3cadda&&_0x3cadda['top']<=_0x1b38a3&&(_0x116466=_0x40cea2,_0x17dec9=_0x3cadda),!_0x116466)return{'node':_0x2d4da4,'offset':0x0};let _0x1d28e=Math['max'](_0x17dec9['left'],Math['min'](_0x17dec9['right'],_0x539e68));return 0x3==_0x116466['nodeType']?vT(_0x116466,_0x1d28e,_0x1b38a3):_0x5d94ad&&'false'!=_0x116466['contentEditable']?_T(_0x116466,_0x1d28e,_0x1b38a3):{'node':_0x2d4da4,'offset':Array['prototype']['indexOf']['call'](_0x2d4da4['childNodes'],_0x116466)+(_0x539e68>=(_0x17dec9['left']+_0x17dec9['right'])/0x2?0x1:0x0)};}function vT(_0x4e6e7b,_0x16d54b,_0x35b9b4){let _0x15ff2d=_0x4e6e7b['nodeValue']['length'],_0x3b551f=-0x1,_0x278ab1=0x3b9aca00,_0x351bd0=0x0;for(let _0x333a0e=0x0;_0x333a0e<_0x15ff2d;_0x333a0e++){let _0x4a0881=J_(_0x4e6e7b,_0x333a0e,_0x333a0e+0x1)['getClientRects']();for(let _0x3377bc=0x0;_0x3377bc<_0x4a0881['length'];_0x3377bc++){let _0x33e885=_0x4a0881[_0x3377bc];if(_0x33e885['top']==_0x33e885['bottom'])continue;_0x351bd0||(_0x351bd0=_0x16d54b-_0x33e885['left']);let _0x43359a=(_0x33e885['top']>_0x35b9b4?_0x33e885['top']-_0x35b9b4:_0x35b9b4-_0x33e885['bottom'])-0x1;if(_0x33e885['left']-0x1<=_0x16d54b&&_0x33e885['right']+0x1>=_0x16d54b&&_0x43359a<_0x278ab1){let _0x206d15=_0x16d54b>=(_0x33e885['left']+_0x33e885['right'])/0x2,_0x21f07c=_0x206d15;(Q_['chrome']||Q_['gecko'])&&(J_(_0x4e6e7b,_0x333a0e)['getBoundingClientRect']()['left']==_0x33e885['right']&&(_0x21f07c=!_0x206d15));if(_0x43359a<=0x0)return{'node':_0x4e6e7b,'offset':_0x333a0e+(_0x21f07c?0x1:0x0)};_0x3b551f=_0x333a0e+(_0x21f07c?0x1:0x0),_0x278ab1=_0x43359a;}}}return{'node':_0x4e6e7b,'offset':_0x3b551f>-0x1?_0x3b551f:_0x351bd0>0x0?_0x4e6e7b['nodeValue']['length']:0x0};}function TT(_0x7d1ef6,_0x4ce40b,_0x5eb27b,_0x1c60d0=-0x1){var _0x16f950,_0x3799f0;let _0x5f7a43,_0x2ee740=_0x7d1ef6['contentDOM']['getBoundingClientRect'](),_0x1def92=_0x2ee740['top']+_0x7d1ef6['viewState']['paddingTop'],{docHeight:_0x27239d}=_0x7d1ef6['viewState'],{x:_0x1211f0,y:_0x4d4036}=_0x4ce40b,_0x3931db=_0x4d4036-_0x1def92;if(_0x3931db<0x0)return 0x0;if(_0x3931db>_0x27239d)return _0x7d1ef6['state']['doc']['length'];for(let _0x9649c8=_0x7d1ef6['viewState']['heightOracle']['textHeight']/0x2,_0x421d82=!0x1;_0x5f7a43=_0x7d1ef6['elementAtHeight'](_0x3931db),_0x5f7a43['type']!=wv['Text'];)for(;_0x3931db=_0x1c60d0>0x0?_0x5f7a43['bottom']+_0x9649c8:_0x5f7a43['top']-_0x9649c8,!(_0x3931db>=0x0&&_0x3931db<=_0x27239d);){if(_0x421d82)return _0x5eb27b?null:0x0;_0x421d82=!0x0,_0x1c60d0=-_0x1c60d0;}_0x4d4036=_0x1def92+_0x3931db;let _0x1ccdf1=_0x5f7a43['from'];if(_0x1ccdf1<_0x7d1ef6['viewport']['from'])return 0x0==_0x7d1ef6['viewport']['from']?0x0:_0x5eb27b?null:ET(_0x7d1ef6,_0x2ee740,_0x5f7a43,_0x1211f0,_0x4d4036);if(_0x1ccdf1>_0x7d1ef6['viewport']['to'])return _0x7d1ef6['viewport']['to']==_0x7d1ef6['state']['doc']['length']?_0x7d1ef6['state']['doc']['length']:_0x5eb27b?null:ET(_0x7d1ef6,_0x2ee740,_0x5f7a43,_0x1211f0,_0x4d4036);let _0x37fa01=_0x7d1ef6['dom']['ownerDocument'],_0x3c1faa=_0x7d1ef6['root']['elementFromPoint']?_0x7d1ef6['root']:_0x37fa01,_0x3bf9a3=_0x3c1faa['elementFromPoint'](_0x1211f0,_0x4d4036);_0x3bf9a3&&!_0x7d1ef6['contentDOM']['contains'](_0x3bf9a3)&&(_0x3bf9a3=null),_0x3bf9a3||(_0x1211f0=Math['max'](_0x2ee740['left']+0x1,Math['min'](_0x2ee740['right']-0x1,_0x1211f0)),_0x3bf9a3=_0x3c1faa['elementFromPoint'](_0x1211f0,_0x4d4036),_0x3bf9a3&&!_0x7d1ef6['contentDOM']['contains'](_0x3bf9a3)&&(_0x3bf9a3=null));let _0x291796,_0x234f28=-0x1;if(_0x3bf9a3&&0x0!=(null===(_0x16f950=_0x7d1ef6['docView']['nearest'](_0x3bf9a3))||void 0x0===_0x16f950?void 0x0:_0x16f950['isEditable'])){if(_0x37fa01['caretPositionFromPoint']){let _0x24aaa4=_0x37fa01['caretPositionFromPoint'](_0x1211f0,_0x4d4036);_0x24aaa4&&({offsetNode:_0x291796,offset:_0x234f28}=_0x24aaa4);}else{if(_0x37fa01['caretRangeFromPoint']){let _0x14e338=_0x37fa01['caretRangeFromPoint'](_0x1211f0,_0x4d4036);_0x14e338&&({startContainer:_0x291796,startOffset:_0x234f28}=_0x14e338);}}_0x291796&&(!_0x7d1ef6['contentDOM']['contains'](_0x291796)||Q_['safari']&&function(_0x10c5b2,_0x2459e6,_0x42b1b4){return AT(_0x10c5b2,_0x2459e6,_0x42b1b4);}(_0x291796,_0x234f28,_0x1211f0)||Q_['chrome']&&function(_0x3aedf1,_0x1582a9,_0x189a7f){if(0x0!=_0x1582a9)return AT(_0x3aedf1,_0x1582a9,_0x189a7f);for(let _0x11e232=_0x3aedf1;;){let _0x3ee845=_0x11e232['parentNode'];if(!_0x3ee845||0x1!=_0x3ee845['nodeType']||_0x3ee845['firstChild']!=_0x11e232)return!0x1;if(_0x3ee845['classList']['contains']('cm-line'))break;_0x11e232=_0x3ee845;}let _0x35be47=0x1==_0x3aedf1['nodeType']?_0x3aedf1['getBoundingClientRect']():J_(_0x3aedf1,0x0,Math['max'](_0x3aedf1['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x189a7f-_0x35be47['left']>0x5;}(_0x291796,_0x234f28,_0x1211f0))&&(_0x291796=void 0x0),_0x291796&&(_0x234f28=Math['min'](Z_(_0x291796),_0x234f28));}if(!_0x291796||!_0x7d1ef6['docView']['dom']['contains'](_0x291796)){let _0x1ef116=LineView['find'](_0x7d1ef6['docView'],_0x1ccdf1);if(!_0x1ef116)return _0x3931db>_0x5f7a43['top']+_0x5f7a43['height']/0x2?_0x5f7a43['to']:_0x5f7a43['from'];({node:_0x291796,offset:_0x234f28}=_T(_0x1ef116['dom'],_0x1211f0,_0x4d4036));}let _0x20acd3=_0x7d1ef6['docView']['nearest'](_0x291796);if(!_0x20acd3)return null;if(_0x20acd3['isWidget']&&0x1==(null===(_0x3799f0=_0x20acd3['dom'])||void 0x0===_0x3799f0?void 0x0:_0x3799f0['nodeType'])){let _0x267f02=_0x20acd3['dom']['getBoundingClientRect']();return _0x4ce40b['y']<_0x267f02['top']||_0x4ce40b['y']<=_0x267f02['bottom']&&_0x4ce40b['x']<=(_0x267f02['left']+_0x267f02['right'])/0x2?_0x20acd3['posAtStart']:_0x20acd3['posAtEnd'];}return _0x20acd3['localPosFromDOM'](_0x291796,_0x234f28)+_0x20acd3['posAtStart'];}function ET(_0x326fd0,_0x2bec65,_0x1f436b,_0x5aa983,_0x15590a){let _0x386eb4=Math['round']((_0x5aa983-_0x2bec65['left'])*_0x326fd0['defaultCharacterWidth']);if(_0x326fd0['lineWrapping']&&_0x1f436b['height']>1.5*_0x326fd0['defaultLineHeight']){let _0x293ca0=_0x326fd0['viewState']['heightOracle']['textHeight'];_0x386eb4+=Math['floor']((_0x15590a-_0x1f436b['top']-0.5*(_0x326fd0['defaultLineHeight']-_0x293ca0))/_0x293ca0)*_0x326fd0['viewState']['heightOracle']['lineLength'];}let _0x585a16=_0x326fd0['state']['sliceDoc'](_0x1f436b['from'],_0x1f436b['to']);return _0x1f436b['from']+g_(_0x585a16,_0x386eb4,_0x326fd0['state']['tabSize']);}function AT(_0x5789ff,_0x49ab92,_0x17ead3){let _0x4fb6bb,_0x6eea0e=_0x5789ff;if(0x3!=_0x5789ff['nodeType']||_0x49ab92!=(_0x4fb6bb=_0x5789ff['nodeValue']['length']))return!0x1;for(;;){let _0x39d3c9=_0x6eea0e['nextSibling'];if(_0x39d3c9){if('BR'==_0x39d3c9['nodeName'])break;return!0x1;}{let _0x188c72=_0x6eea0e['parentNode'];if(!_0x188c72||'DIV'==_0x188c72['nodeName'])break;_0x6eea0e=_0x188c72;}}return J_(_0x5789ff,_0x4fb6bb-0x1,_0x4fb6bb)['getBoundingClientRect']()['right']>_0x17ead3;}function IT(_0x1819d4,_0x68e873,_0xcc9a14){let _0x5f4a0a=_0x1819d4['lineBlockAt'](_0x68e873);if(Array['isArray'](_0x5f4a0a['type'])){let _0x3daaff;for(let _0x572e38 of _0x5f4a0a['type']){if(_0x572e38['from']>_0x68e873)break;if(!(_0x572e38['to']<_0x68e873)){if(_0x572e38['from']<_0x68e873&&_0x572e38['to']>_0x68e873)return _0x572e38;_0x3daaff&&(_0x572e38['type']!=wv['Text']||_0x3daaff['type']==_0x572e38['type']&&!(_0xcc9a14<0x0?_0x572e38['from']<_0x68e873:_0x572e38['to']>_0x68e873))||(_0x3daaff=_0x572e38);}}return _0x3daaff||_0x5f4a0a;}return _0x5f4a0a;}function ST(_0x5bca80,_0x583df8,_0x3c7b0e,_0x577d22){let _0x521bde=_0x5bca80['state']['doc']['lineAt'](_0x583df8['head']),_0x4fb748=_0x5bca80['bidiSpans'](_0x521bde),_0x1b12bb=_0x5bca80['textDirectionAt'](_0x521bde['from']);for(let _0x1a5567=_0x583df8,_0xac14ed=null;;){let _0x1cc6bb=$v(_0x521bde,_0x4fb748,_0x1b12bb,_0x1a5567,_0x3c7b0e),_0x312342=Qv;if(!_0x1cc6bb){if(_0x521bde['number']==(_0x3c7b0e?_0x5bca80['state']['doc']['lines']:0x1))return _0x1a5567;_0x312342='\x0a',_0x521bde=_0x5bca80['state']['doc']['line'](_0x521bde['number']+(_0x3c7b0e?0x1:-0x1)),_0x4fb748=_0x5bca80['bidiSpans'](_0x521bde),_0x1cc6bb=_0x5bca80['visualLineSide'](_0x521bde,!_0x3c7b0e);}if(_0xac14ed){if(!_0xac14ed(_0x312342))return _0x1a5567;}else{if(!_0x577d22)return _0x1cc6bb;_0xac14ed=_0x577d22(_0x312342);}_0x1a5567=_0x1cc6bb;}}function CT(_0x19d1bb,_0x4962b4,_0x2dbf34){for(;;){let _0x57157a=0x0;for(let _0xaef3fd of _0x19d1bb)_0xaef3fd['between'](_0x4962b4-0x1,_0x4962b4+0x1,(_0x3b818c,_0x968872,_0x591a35)=>{if(_0x4962b4>_0x3b818c&&_0x4962b4<_0x968872){let _0x418a02=_0x57157a||_0x2dbf34||(_0x4962b4-_0x3b818c<_0x968872-_0x4962b4?-0x1:0x1);_0x4962b4=_0x418a02<0x0?_0x3b818c:_0x968872,_0x57157a=_0x418a02;}});if(!_0x57157a)return _0x4962b4;}}function kT(_0x7051cf,_0x426b90){let _0x5a4a36=null;for(let _0x53a89a=0x0;_0x53a89a<_0x426b90['ranges']['length'];_0x53a89a++){let _0x3cb4c0=_0x426b90['ranges'][_0x53a89a],_0x22113a=null;if(_0x3cb4c0['empty']){let _0x5f50d0=CT(_0x7051cf,_0x3cb4c0['from'],0x0);_0x5f50d0!=_0x3cb4c0['from']&&(_0x22113a=EditorSelection['cursor'](_0x5f50d0,-0x1));}else{let _0x1f2285=CT(_0x7051cf,_0x3cb4c0['from'],-0x1),_0x48dfc1=CT(_0x7051cf,_0x3cb4c0['to'],0x1);_0x1f2285==_0x3cb4c0['from']&&_0x48dfc1==_0x3cb4c0['to']||(_0x22113a=EditorSelection['range'](_0x3cb4c0['from']==_0x3cb4c0['anchor']?_0x1f2285:_0x48dfc1,_0x3cb4c0['from']==_0x3cb4c0['head']?_0x1f2285:_0x48dfc1));}_0x22113a&&(_0x5a4a36||(_0x5a4a36=_0x426b90['ranges']['slice']()),_0x5a4a36[_0x53a89a]=_0x22113a);}return _0x5a4a36?EditorSelection['create'](_0x5a4a36,_0x426b90['mainIndex']):_0x426b90;}function xT(_0x1400bc,_0x168c93,_0x361233){let _0x283678=CT(_0x1400bc['state']['facet'](cT)['map'](_0x255703=>_0x255703(_0x1400bc)),_0x361233['from'],_0x168c93['head']>_0x361233['from']?-0x1:0x1);return _0x283678==_0x361233['from']?_0x361233:EditorSelection['cursor'](_0x283678,_0x283678<_0x361233['from']?0x1:-0x1);}const RT='';class DOMReader{constructor(_0xa3ad1,_0x3630f2){this['points']=_0xa3ad1,this['text']='',this['lineSeparator']=_0x3630f2['facet'](EditorState['lineSeparator']);}['append'](_0xdf3e5){this['text']+=_0xdf3e5;}['lineBreak'](){this['text']+=RT;}['readRange'](_0x59cd7c,_0x22fea7){if(!_0x59cd7c)return this;let _0x5cf5f5=_0x59cd7c['parentNode'];for(let _0x3e2b60=_0x59cd7c;;){this['findPointBefore'](_0x5cf5f5,_0x3e2b60);let _0x25c160=this['text']['length'];this['readNode'](_0x3e2b60);let _0x515a4a=_0x3e2b60['nextSibling'];if(_0x515a4a==_0x22fea7)break;let _0x338ff7=ContentView['get'](_0x3e2b60),_0x31ebf1=ContentView['get'](_0x515a4a);(_0x338ff7&&_0x31ebf1?_0x338ff7['breakAfter']:(_0x338ff7?_0x338ff7['breakAfter']:H_(_0x3e2b60))||H_(_0x515a4a)&&('BR'!=_0x3e2b60['nodeName']||_0x3e2b60['cmIgnore'])&&this['text']['length']>_0x25c160)&&!MT(_0x515a4a,_0x22fea7)&&this['lineBreak'](),_0x3e2b60=_0x515a4a;}return this['findPointBefore'](_0x5cf5f5,_0x22fea7),this;}['readTextNode'](_0x480dc6){let _0x269de2=_0x480dc6['nodeValue'];for(let _0x486110 of this['points'])_0x486110['node']==_0x480dc6&&(_0x486110['pos']=this['text']['length']+Math['min'](_0x486110['offset'],_0x269de2['length']));for(let _0x1d4486=0x0,_0x4c4b9f=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x1b454f,_0x1268cb=-0x1,_0x406e8f=0x1;if(this['lineSeparator']?(_0x1268cb=_0x269de2['indexOf'](this['lineSeparator'],_0x1d4486),_0x406e8f=this['lineSeparator']['length']):(_0x1b454f=_0x4c4b9f['exec'](_0x269de2))&&(_0x1268cb=_0x1b454f['index'],_0x406e8f=_0x1b454f[0x0]['length']),this['append'](_0x269de2['slice'](_0x1d4486,_0x1268cb<0x0?_0x269de2['length']:_0x1268cb)),_0x1268cb<0x0)break;if(this['lineBreak'](),_0x406e8f>0x1){for(let _0x40a76b of this['points'])_0x40a76b['node']==_0x480dc6&&_0x40a76b['pos']>this['text']['length']&&(_0x40a76b['pos']-=_0x406e8f-0x1);}_0x1d4486=_0x1268cb+_0x406e8f;}}['readNode'](_0x2019bb){if(_0x2019bb['cmIgnore'])return;let _0x382111=ContentView['get'](_0x2019bb),_0x274650=_0x382111&&_0x382111['overrideDOMText'];if(null!=_0x274650){this['findPointInside'](_0x2019bb,_0x274650['length']);for(let _0x33ecfa=_0x274650['iter']();!_0x33ecfa['next']()['done'];)_0x33ecfa['lineBreak']?this['lineBreak']():this['append'](_0x33ecfa['value']);}else 0x3==_0x2019bb['nodeType']?this['readTextNode'](_0x2019bb):'BR'==_0x2019bb['nodeName']?_0x2019bb['nextSibling']&&this['lineBreak']():0x1==_0x2019bb['nodeType']&&this['readRange'](_0x2019bb['firstChild'],null);}['findPointBefore'](_0x20c41f,_0x2c71d0){for(let _0x32b9db of this['points'])_0x32b9db['node']==_0x20c41f&&_0x20c41f['childNodes'][_0x32b9db['offset']]==_0x2c71d0&&(_0x32b9db['pos']=this['text']['length']);}['findPointInside'](_0x2d862a,_0x5e31ee){for(let _0x255a60 of this['points'])(0x3==_0x2d862a['nodeType']?_0x255a60['node']==_0x2d862a:_0x2d862a['contains'](_0x255a60['node']))&&(_0x255a60['pos']=this['text']['length']+(PT(_0x2d862a,_0x255a60['node'],_0x255a60['offset'])?_0x5e31ee:0x0));}}function PT(_0xf2b049,_0x13d6e8,_0x274201){for(;;){if(!_0x13d6e8||_0x274201<Z_(_0x13d6e8))return!0x1;if(_0x13d6e8==_0xf2b049)return!0x0;_0x274201=j_(_0x13d6e8)+0x1,_0x13d6e8=_0x13d6e8['parentNode'];}}function MT(_0x439730,_0x4cc241){let _0x371459;for(;_0x439730!=_0x4cc241&&_0x439730;_0x439730=_0x439730['nextSibling']){let _0x518611=ContentView['get'](_0x439730);if(!(null==_0x518611?void 0x0:_0x518611['isWidget'])&&!_0x439730['cmIgnore'])return!0x1;_0x518611&&(_0x371459||(_0x371459=[]))['push'](_0x518611);}if(_0x371459)for(let _0x1f7789 of _0x371459){let _0x40493f=_0x1f7789['overrideDOMText'];if(null==_0x40493f?void 0x0:_0x40493f['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x5bd12b,_0x5d2b5a){this['node']=_0x5bd12b,this['offset']=_0x5d2b5a,this['pos']=-0x1;}}class DOMChange{constructor(_0x4f21f5,_0x1e8706,_0x12696d,_0x44d296){this['typeOver']=_0x44d296,this['bounds']=null,this['text']='',this['domChanged']=_0x1e8706>-0x1;let {impreciseHead:_0x2c9773,impreciseAnchor:_0x6e383}=_0x4f21f5['docView'];if(_0x4f21f5['state']['readOnly']&&_0x1e8706>-0x1)this['newSel']=null;else{if(_0x1e8706>-0x1&&(this['bounds']=_0x4f21f5['docView']['domBoundsAround'](_0x1e8706,_0x12696d,0x0))){let _0x2c3cfd=_0x2c9773||_0x6e383?[]:function(_0x417c6d){let _0x228534=[];if(_0x417c6d['root']['activeElement']!=_0x417c6d['contentDOM'])return _0x228534;let {anchorNode:_0x1e88f9,anchorOffset:_0x290de9,focusNode:_0x50a80b,focusOffset:_0x1866f1}=_0x417c6d['observer']['selectionRange'];return _0x1e88f9&&(_0x228534['push'](new DOMPoint(_0x1e88f9,_0x290de9)),_0x50a80b==_0x1e88f9&&_0x1866f1==_0x290de9||_0x228534['push'](new DOMPoint(_0x50a80b,_0x1866f1))),_0x228534;}(_0x4f21f5),_0x4d3a3e=new DOMReader(_0x2c3cfd,_0x4f21f5['state']);_0x4d3a3e['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x4d3a3e['text'],this['newSel']=function(_0x3e81f9,_0x3301e5){if(0x0==_0x3e81f9['length'])return null;let _0x381b2d=_0x3e81f9[0x0]['pos'],_0xb8a1d=0x2==_0x3e81f9['length']?_0x3e81f9[0x1]['pos']:_0x381b2d;return _0x381b2d>-0x1&&_0xb8a1d>-0x1?EditorSelection['single'](_0x381b2d+_0x3301e5,_0xb8a1d+_0x3301e5):null;}(_0x2c3cfd,this['bounds']['from']);}else{let _0x517d25=_0x4f21f5['observer']['selectionRange'],_0xe20e2e=_0x2c9773&&_0x2c9773['node']==_0x517d25['focusNode']&&_0x2c9773['offset']==_0x517d25['focusOffset']||!V_(_0x4f21f5['contentDOM'],_0x517d25['focusNode'])?_0x4f21f5['state']['selection']['main']['head']:_0x4f21f5['docView']['posFromDOM'](_0x517d25['focusNode'],_0x517d25['focusOffset']),_0x589b26=_0x6e383&&_0x6e383['node']==_0x517d25['anchorNode']&&_0x6e383['offset']==_0x517d25['anchorOffset']||!V_(_0x4f21f5['contentDOM'],_0x517d25['anchorNode'])?_0x4f21f5['state']['selection']['main']['anchor']:_0x4f21f5['docView']['posFromDOM'](_0x517d25['anchorNode'],_0x517d25['anchorOffset']),_0x65f638=_0x4f21f5['viewport'];if((Q_['ios']||Q_['chrome'])&&_0x4f21f5['state']['selection']['main']['empty']&&_0xe20e2e!=_0x589b26&&(_0x65f638['from']>0x0||_0x65f638['to']<_0x4f21f5['state']['doc']['length'])){let _0x5a057f=Math['min'](_0xe20e2e,_0x589b26),_0x32110f=Math['max'](_0xe20e2e,_0x589b26),_0x29043b=_0x65f638['from']-_0x5a057f,_0x1c6953=_0x65f638['to']-_0x32110f;0x0!=_0x29043b&&0x1!=_0x29043b&&0x0!=_0x5a057f||0x0!=_0x1c6953&&-0x1!=_0x1c6953&&_0x32110f!=_0x4f21f5['state']['doc']['length']||(_0xe20e2e=0x0,_0x589b26=_0x4f21f5['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x589b26,_0xe20e2e);}}}}function NT(_0x31105b,_0x3bb572){let _0x5d3c33,{newSel:_0x45e2f4}=_0x3bb572,_0x364cb9=_0x31105b['state']['selection']['main'],_0x27121f=_0x31105b['inputState']['lastKeyTime']>Date['now']()-0x64?_0x31105b['inputState']['lastKeyCode']:-0x1;if(_0x3bb572['bounds']){let {from:_0x255f1c,to:_0x523242}=_0x3bb572['bounds'],_0x2ed06b=_0x364cb9['from'],_0x5a4c2b=null;(0x8===_0x27121f||Q_['android']&&_0x3bb572['text']['length']<_0x523242-_0x255f1c)&&(_0x2ed06b=_0x364cb9['to'],_0x5a4c2b='end');let _0x2b2573=DT(_0x31105b['state']['doc']['sliceString'](_0x255f1c,_0x523242,RT),_0x3bb572['text'],_0x2ed06b-_0x255f1c,_0x5a4c2b);_0x2b2573&&(Q_['chrome']&&0xd==_0x27121f&&_0x2b2573['toB']==_0x2b2573['from']+0x2&&_0x3bb572['text']['slice'](_0x2b2573['from'],_0x2b2573['toB'])==RT+RT&&_0x2b2573['toB']--,_0x5d3c33={'from':_0x255f1c+_0x2b2573['from'],'to':_0x255f1c+_0x2b2573['toA'],'insert':Text['of'](_0x3bb572['text']['slice'](_0x2b2573['from'],_0x2b2573['toB'])['split'](RT))});}else _0x45e2f4&&(!_0x31105b['hasFocus']&&_0x31105b['state']['facet'](eT)||_0x45e2f4['main']['eq'](_0x364cb9))&&(_0x45e2f4=null);if(!_0x5d3c33&&!_0x45e2f4)return!0x1;if(!_0x5d3c33&&_0x3bb572['typeOver']&&!_0x364cb9['empty']&&_0x45e2f4&&_0x45e2f4['main']['empty']?_0x5d3c33={'from':_0x364cb9['from'],'to':_0x364cb9['to'],'insert':_0x31105b['state']['doc']['slice'](_0x364cb9['from'],_0x364cb9['to'])}:(Q_['mac']||Q_['android'])&&_0x5d3c33&&_0x5d3c33['from']==_0x5d3c33['to']&&_0x5d3c33['from']==_0x364cb9['head']-0x1&&/^\. ?$/['test'](_0x5d3c33['insert']['toString']())&&'off'==_0x31105b['contentDOM']['getAttribute']('autocorrect')?(_0x45e2f4&&0x2==_0x5d3c33['insert']['length']&&(_0x45e2f4=EditorSelection['single'](_0x45e2f4['main']['anchor']-0x1,_0x45e2f4['main']['head']-0x1)),_0x5d3c33={'from':_0x5d3c33['from'],'to':_0x5d3c33['to'],'insert':Text['of']([_0x5d3c33['insert']['toString']()['replace']('.','\x20')])}):_0x5d3c33&&_0x5d3c33['from']>=_0x364cb9['from']&&_0x5d3c33['to']<=_0x364cb9['to']&&(_0x5d3c33['from']!=_0x364cb9['from']||_0x5d3c33['to']!=_0x364cb9['to'])&&_0x364cb9['to']-_0x364cb9['from']-(_0x5d3c33['to']-_0x5d3c33['from'])<=0x4?_0x5d3c33={'from':_0x364cb9['from'],'to':_0x364cb9['to'],'insert':_0x31105b['state']['doc']['slice'](_0x364cb9['from'],_0x5d3c33['from'])['append'](_0x5d3c33['insert'])['append'](_0x31105b['state']['doc']['slice'](_0x5d3c33['to'],_0x364cb9['to']))}:Q_['chrome']&&_0x5d3c33&&_0x5d3c33['from']==_0x5d3c33['to']&&_0x5d3c33['from']==_0x364cb9['head']&&'\x0a\x20'==_0x5d3c33['insert']['toString']()&&_0x31105b['lineWrapping']&&(_0x45e2f4&&(_0x45e2f4=EditorSelection['single'](_0x45e2f4['main']['anchor']-0x1,_0x45e2f4['main']['head']-0x1)),_0x5d3c33={'from':_0x364cb9['from'],'to':_0x364cb9['to'],'insert':Text['of'](['\x20'])}),_0x5d3c33)return LT(_0x31105b,_0x5d3c33,_0x45e2f4,_0x27121f);if(_0x45e2f4&&!_0x45e2f4['main']['eq'](_0x364cb9)){let _0x2fdaf9=!0x1,_0x2efa4f='select';return _0x31105b['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x31105b['inputState']['lastSelectionOrigin']&&(_0x2fdaf9=!0x0),_0x2efa4f=_0x31105b['inputState']['lastSelectionOrigin'],'select.pointer'==_0x2efa4f&&(_0x45e2f4=kT(_0x31105b['state']['facet'](cT)['map'](_0x23a076=>_0x23a076(_0x31105b)),_0x45e2f4))),_0x31105b['dispatch']({'selection':_0x45e2f4,'scrollIntoView':_0x2fdaf9,'userEvent':_0x2efa4f}),!0x0;}return!0x1;}function LT(_0x533071,_0x17cd18,_0x5978f1,_0x478ced=-0x1){if(Q_['ios']&&_0x533071['inputState']['flushIOSKey'](_0x17cd18))return!0x0;let _0x2fabe1=_0x533071['state']['selection']['main'];if(Q_['android']&&(_0x17cd18['to']==_0x2fabe1['to']&&(_0x17cd18['from']==_0x2fabe1['from']||_0x17cd18['from']==_0x2fabe1['from']-0x1&&'\x20'==_0x533071['state']['sliceDoc'](_0x17cd18['from'],_0x2fabe1['from']))&&0x1==_0x17cd18['insert']['length']&&0x2==_0x17cd18['insert']['lines']&&tv(_0x533071['contentDOM'],'Enter',0xd)||(_0x17cd18['from']==_0x2fabe1['from']-0x1&&_0x17cd18['to']==_0x2fabe1['to']&&0x0==_0x17cd18['insert']['length']||0x8==_0x478ced&&_0x17cd18['insert']['length']<_0x17cd18['to']-_0x17cd18['from']&&_0x17cd18['to']>_0x2fabe1['head'])&&tv(_0x533071['contentDOM'],'Backspace',0x8)||_0x17cd18['from']==_0x2fabe1['from']&&_0x17cd18['to']==_0x2fabe1['to']+0x1&&0x0==_0x17cd18['insert']['length']&&tv(_0x533071['contentDOM'],'Delete',0x2e)))return!0x0;let _0x424fab,_0x311810=_0x17cd18['insert']['toString']();_0x533071['inputState']['composing']>=0x0&&_0x533071['inputState']['composing']++;let _0x752cba=()=>_0x424fab||(_0x424fab=function(_0x3a1b37,_0x26843d,_0xf923a9){let _0x2f74dc,_0x55b840=_0x3a1b37['state'],_0x123f12=_0x55b840['selection']['main'],_0x2ccf6c=-0x1;if(_0x26843d['from']==_0x26843d['to']&&_0x26843d['from']<_0x123f12['from']||_0x26843d['from']>_0x123f12['to']){let _0x38fecd=_0x26843d['from']<_0x123f12['from']?-0x1:0x1,_0xb0c9de=_0x38fecd<0x0?_0x123f12['from']:_0x123f12['to'],_0x131c5c=CT(_0x55b840['facet'](cT)['map'](_0xd00119=>_0xd00119(_0x3a1b37)),_0xb0c9de,_0x38fecd);_0x26843d['from']==_0x131c5c&&(_0x2ccf6c=_0x131c5c);}if(_0x2ccf6c>-0x1)_0x2f74dc={'changes':_0x26843d,'selection':EditorSelection['cursor'](_0x26843d['from']+_0x26843d['insert']['length'],-0x1)};else{if(_0x26843d['from']>=_0x123f12['from']&&_0x26843d['to']<=_0x123f12['to']&&_0x26843d['to']-_0x26843d['from']>=(_0x123f12['to']-_0x123f12['from'])/0x3&&(!_0xf923a9||_0xf923a9['main']['empty']&&_0xf923a9['main']['from']==_0x26843d['from']+_0x26843d['insert']['length'])&&_0x3a1b37['inputState']['composing']<0x0){let _0x5de6a6=_0x123f12['from']<_0x26843d['from']?_0x55b840['sliceDoc'](_0x123f12['from'],_0x26843d['from']):'',_0x1f5779=_0x123f12['to']>_0x26843d['to']?_0x55b840['sliceDoc'](_0x26843d['to'],_0x123f12['to']):'';_0x2f74dc=_0x55b840['replaceSelection'](_0x3a1b37['state']['toText'](_0x5de6a6+_0x26843d['insert']['sliceString'](0x0,void 0x0,_0x3a1b37['state']['lineBreak'])+_0x1f5779));}else{let _0x52f440=_0x55b840['changes'](_0x26843d),_0x34f2d8=_0xf923a9&&_0xf923a9['main']['to']<=_0x52f440['newLength']?_0xf923a9['main']:void 0x0;if(_0x55b840['selection']['ranges']['length']>0x1&&_0x3a1b37['inputState']['composing']>=0x0&&_0x26843d['to']<=_0x123f12['to']&&_0x26843d['to']>=_0x123f12['to']-0xa){let _0x584cf3,_0x3797cc=_0x3a1b37['state']['sliceDoc'](_0x26843d['from'],_0x26843d['to']),_0x29da34=_0xf923a9&&mT(_0x3a1b37,_0xf923a9['main']['head']);if(_0x29da34){let _0x32133a=_0x26843d['insert']['length']-(_0x26843d['to']-_0x26843d['from']);_0x584cf3={'from':_0x29da34['from'],'to':_0x29da34['to']-_0x32133a};}else _0x584cf3=_0x3a1b37['state']['doc']['lineAt'](_0x123f12['head']);let _0x1c3c5e=_0x123f12['to']-_0x26843d['to'],_0x40e77f=_0x123f12['to']-_0x123f12['from'];_0x2f74dc=_0x55b840['changeByRange'](_0x31fbdf=>{if(_0x31fbdf['from']==_0x123f12['from']&&_0x31fbdf['to']==_0x123f12['to'])return{'changes':_0x52f440,'range':_0x34f2d8||_0x31fbdf['map'](_0x52f440)};let _0x450323=_0x31fbdf['to']-_0x1c3c5e,_0x33f077=_0x450323-_0x3797cc['length'];if(_0x31fbdf['to']-_0x31fbdf['from']!=_0x40e77f||_0x3a1b37['state']['sliceDoc'](_0x33f077,_0x450323)!=_0x3797cc||_0x31fbdf['to']>=_0x584cf3['from']&&_0x31fbdf['from']<=_0x584cf3['to'])return{'range':_0x31fbdf};let _0xd909f=_0x55b840['changes']({'from':_0x33f077,'to':_0x450323,'insert':_0x26843d['insert']}),_0x428145=_0x31fbdf['to']-_0x123f12['to'];return{'changes':_0xd909f,'range':_0x34f2d8?EditorSelection['range'](Math['max'](0x0,_0x34f2d8['anchor']+_0x428145),Math['max'](0x0,_0x34f2d8['head']+_0x428145)):_0x31fbdf['map'](_0xd909f)};});}else _0x2f74dc={'changes':_0x52f440,'selection':_0x34f2d8&&_0x55b840['selection']['replaceRange'](_0x34f2d8)};}}let _0x347fab='input.type';return(_0x3a1b37['composing']||_0x3a1b37['inputState']['compositionPendingChange']&&_0x3a1b37['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3a1b37['inputState']['compositionPendingChange']=!0x1,_0x347fab+='.compose',_0x3a1b37['inputState']['compositionFirstChange']&&(_0x347fab+='.start',_0x3a1b37['inputState']['compositionFirstChange']=!0x1)),_0x55b840['update'](_0x2f74dc,{'userEvent':_0x347fab,'scrollIntoView':!0x0});}(_0x533071,_0x17cd18,_0x5978f1));return _0x533071['state']['facet'](Gv)['some'](_0x40f008=>_0x40f008(_0x533071,_0x17cd18['from'],_0x17cd18['to'],_0x311810,_0x752cba))||_0x533071['dispatch'](_0x752cba()),!0x0;}function DT(_0x1ac1ff,_0x16b217,_0x39ba9d,_0x335d49){let _0x7b1324=Math['min'](_0x1ac1ff['length'],_0x16b217['length']),_0x3f19c4=0x0;for(;_0x3f19c4<_0x7b1324&&_0x1ac1ff['charCodeAt'](_0x3f19c4)==_0x16b217['charCodeAt'](_0x3f19c4);)_0x3f19c4++;if(_0x3f19c4==_0x7b1324&&_0x1ac1ff['length']==_0x16b217['length'])return null;let _0x5c6436=_0x1ac1ff['length'],_0x57e126=_0x16b217['length'];for(;_0x5c6436>0x0&&_0x57e126>0x0&&_0x1ac1ff['charCodeAt'](_0x5c6436-0x1)==_0x16b217['charCodeAt'](_0x57e126-0x1);)_0x5c6436--,_0x57e126--;'end'==_0x335d49&&(_0x39ba9d-=_0x5c6436+Math['max'](0x0,_0x3f19c4-Math['min'](_0x5c6436,_0x57e126))-_0x3f19c4);if(_0x5c6436<_0x3f19c4&&_0x1ac1ff['length']<_0x16b217['length'])_0x3f19c4-=_0x39ba9d<=_0x3f19c4&&_0x39ba9d>=_0x5c6436?_0x3f19c4-_0x39ba9d:0x0,_0x57e126=_0x3f19c4+(_0x57e126-_0x5c6436),_0x5c6436=_0x3f19c4;else _0x57e126<_0x3f19c4&&(_0x3f19c4-=_0x39ba9d<=_0x3f19c4&&_0x39ba9d>=_0x57e126?_0x3f19c4-_0x39ba9d:0x0,_0x5c6436=_0x3f19c4+(_0x5c6436-_0x57e126),_0x57e126=_0x3f19c4);return{'from':_0x3f19c4,'toA':_0x5c6436,'toB':_0x57e126};}class InputState{['setSelectionOrigin'](_0x189a92){this['lastSelectionOrigin']=_0x189a92,this['lastSelectionTime']=Date['now']();}constructor(_0x426255){this['view']=_0x426255,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']=_0x426255['hasFocus'],Q_['safari']&&_0x426255['contentDOM']['addEventListener']('input',()=>null),Q_['gecko']&&function(_0x54f35c){lE['has'](_0x54f35c)||(lE['add'](_0x54f35c),_0x54f35c['addEventListener']('copy',()=>{}),_0x54f35c['addEventListener']('cut',()=>{}));}(_0x426255['contentDOM']['ownerDocument']);}['handleEvent'](_0x525a12){(function(_0x522716,_0x15ea9a){if(!_0x15ea9a['bubbles'])return!0x0;if(_0x15ea9a['defaultPrevented'])return!0x1;for(let _0x29824b,_0x52b868=_0x15ea9a['target'];_0x52b868!=_0x522716['contentDOM'];_0x52b868=_0x52b868['parentNode'])if(!_0x52b868||0xb==_0x52b868['nodeType']||(_0x29824b=ContentView['get'](_0x52b868))&&_0x29824b['ignoreEvent'](_0x15ea9a))return!0x1;return!0x0;}(this['view'],_0x525a12)&&!this['ignoreDuringComposition'](_0x525a12)&&('keydown'==_0x525a12['type']&&this['keydown'](_0x525a12)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x525a12['type'],_0x525a12)):this['runHandlers'](_0x525a12['type'],_0x525a12))));}['runHandlers'](_0x16a7cc,_0x1ae30c){let _0x218626=this['handlers'][_0x16a7cc];if(_0x218626){for(let _0x5625b0 of _0x218626['observers'])_0x5625b0(this['view'],_0x1ae30c);for(let _0x4d6e92 of _0x218626['handlers']){if(_0x1ae30c['defaultPrevented'])break;if(_0x4d6e92(this['view'],_0x1ae30c)){_0x1ae30c['preventDefault']();break;}}}}['ensureHandlers'](_0x38053c){let _0xbe7a42=$T(_0x38053c),_0x26895f=this['handlers'],_0x2545ed=this['view']['contentDOM'];for(let _0x595735 in _0xbe7a42)if('scroll'!=_0x595735){let _0x58a11d=!_0xbe7a42[_0x595735]['handlers']['length'],_0x562dc0=_0x26895f[_0x595735];_0x562dc0&&_0x58a11d!=!_0x562dc0['handlers']['length']&&(_0x2545ed['removeEventListener'](_0x595735,this['handleEvent']),_0x562dc0=null),_0x562dc0||_0x2545ed['addEventListener'](_0x595735,this['handleEvent'],{'passive':_0x58a11d});}for(let _0x551824 in _0x26895f)'scroll'==_0x551824||_0xbe7a42[_0x551824]||_0x2545ed['removeEventListener'](_0x551824,this['handleEvent']);this['handlers']=_0xbe7a42;}['keydown'](_0x12f726){if(this['lastKeyCode']=_0x12f726['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x12f726['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x12f726['keyCode']&&BT['indexOf'](_0x12f726['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),Q_['android']&&Q_['chrome']&&!_0x12f726['synthetic']&&(0xd==_0x12f726['keyCode']||0x8==_0x12f726['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x12f726['key'],_0x12f726['keyCode']),!0x0;let _0x238630;return!Q_['ios']||_0x12f726['synthetic']||_0x12f726['altKey']||_0x12f726['metaKey']||!((_0x238630=VT['find'](_0x293ec2=>_0x293ec2['keyCode']==_0x12f726['keyCode']))&&!_0x12f726['ctrlKey']||UT['indexOf'](_0x12f726['key'])>-0x1&&_0x12f726['ctrlKey']&&!_0x12f726['shiftKey'])?(0xe5!=_0x12f726['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x238630||_0x12f726,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x25681c){let _0x55d726=this['pendingIOSKey'];return!!_0x55d726&&(!('Enter'==_0x55d726['key']&&_0x25681c&&_0x25681c['from']<_0x25681c['to']&&/^\S+$/['test'](_0x25681c['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,tv(this['view']['contentDOM'],_0x55d726['key'],_0x55d726['keyCode'],_0x55d726 instanceof KeyboardEvent?_0x55d726:void 0x0)));}['ignoreDuringComposition'](_0xabf252){return!(!/^key/['test'](_0xabf252['type'])||_0xabf252['synthetic'])&&(this['composing']>0x0||!!(Q_['safari']&&!Q_['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x1425f1){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x1425f1;}['update'](_0x153fb0){this['view']['observer']['update'](_0x153fb0),this['mouseSelection']&&this['mouseSelection']['update'](_0x153fb0),this['draggedContent']&&_0x153fb0['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x153fb0['changes'])),_0x153fb0['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function QT(_0x229178,_0x5877bf){return(_0x5c79e2,_0x41160b)=>{try{return _0x5877bf['call'](_0x229178,_0x41160b,_0x5c79e2);}catch(_0x4e8052){tT(_0x5c79e2['state'],_0x4e8052);}};}function $T(_0x15641b){let _0x5d3bce=Object['create'](null);function _0x43e9f7(_0x1f3a12){return _0x5d3bce[_0x1f3a12]||(_0x5d3bce[_0x1f3a12]={'observers':[],'handlers':[]});}for(let _0x44e2af of _0x15641b){let _0x953e6e=_0x44e2af['spec'],_0x1e6368=_0x953e6e&&_0x953e6e['plugin']['domEventHandlers'],_0x44e98e=_0x953e6e&&_0x953e6e['plugin']['domEventObservers'];if(_0x1e6368)for(let _0x52a658 in _0x1e6368){let _0x1589cf=_0x1e6368[_0x52a658];_0x1589cf&&_0x43e9f7(_0x52a658)['handlers']['push'](QT(_0x44e2af['value'],_0x1589cf));}if(_0x44e98e)for(let _0x44911a in _0x44e98e){let _0x28c2a5=_0x44e98e[_0x44911a];_0x28c2a5&&_0x43e9f7(_0x44911a)['observers']['push'](QT(_0x44e2af['value'],_0x28c2a5));}}for(let _0x45f827 in jT)_0x43e9f7(_0x45f827)['handlers']['push'](jT[_0x45f827]);for(let _0x35b9ec in HT)_0x43e9f7(_0x35b9ec)['observers']['push'](HT[_0x35b9ec]);return _0x5d3bce;}const VT=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],UT='dthko',BT=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function FT(_0x4ba3b1){return 0.7*Math['max'](0x0,_0x4ba3b1)+0x8;}class MouseSelection{constructor(_0x2ac4d8,_0x140eef,_0x376654,_0x52bd55){this['view']=_0x2ac4d8,this['startEvent']=_0x140eef,this['style']=_0x376654,this['mustSelect']=_0x52bd55,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x140eef,this['scrollParents']=function(_0x3ec387){let _0x4bf8be,_0x5de845,_0x5aad9c=_0x3ec387['ownerDocument'];for(let _0x405fc0=_0x3ec387['parentNode'];_0x405fc0&&!(_0x405fc0==_0x5aad9c['body']||_0x4bf8be&&_0x5de845);)if(0x1==_0x405fc0['nodeType'])!_0x5de845&&_0x405fc0['scrollHeight']>_0x405fc0['clientHeight']&&(_0x5de845=_0x405fc0),!_0x4bf8be&&_0x405fc0['scrollWidth']>_0x405fc0['clientWidth']&&(_0x4bf8be=_0x405fc0),_0x405fc0=_0x405fc0['assignedSlot']||_0x405fc0['parentNode'];else{if(0xb!=_0x405fc0['nodeType'])break;_0x405fc0=_0x405fc0['host'];}return{'x':_0x4bf8be,'y':_0x5de845};}(_0x2ac4d8['contentDOM']),this['atoms']=_0x2ac4d8['state']['facet'](cT)['map'](_0x22c283=>_0x22c283(_0x2ac4d8));let _0x83c84a=_0x2ac4d8['contentDOM']['ownerDocument'];_0x83c84a['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x83c84a['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x140eef['shiftKey'],this['multiple']=_0x2ac4d8['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x4fd2d1,_0x13bb6e){let _0x4010a4=_0x4fd2d1['state']['facet'](Uv);return _0x4010a4['length']?_0x4010a4[0x0](_0x13bb6e):Q_['mac']?_0x13bb6e['metaKey']:_0x13bb6e['ctrlKey'];}(_0x2ac4d8,_0x140eef),this['dragging']=!(!function(_0x16618e,_0x266417){let {main:_0x3e3df9}=_0x16618e['state']['selection'];if(_0x3e3df9['empty'])return!0x1;let _0x3a9283=$_(_0x16618e['root']);if(!_0x3a9283||0x0==_0x3a9283['rangeCount'])return!0x0;let _0x5012c4=_0x3a9283['getRangeAt'](0x0)['getClientRects']();for(let _0x2bc84f=0x0;_0x2bc84f<_0x5012c4['length'];_0x2bc84f++){let _0x45b66f=_0x5012c4[_0x2bc84f];if(_0x45b66f['left']<=_0x266417['clientX']&&_0x45b66f['right']>=_0x266417['clientX']&&_0x45b66f['top']<=_0x266417['clientY']&&_0x45b66f['bottom']>=_0x266417['clientY'])return!0x0;}return!0x1;}(_0x2ac4d8,_0x140eef)||0x1!=sE(_0x140eef))&&null;}['start'](_0x5b69ea){!0x1===this['dragging']&&this['select'](_0x5b69ea);}['move'](_0x546e0d){if(0x0==_0x546e0d['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&function(_0xcb15a3,_0x25f35a){return Math['max'](Math['abs'](_0xcb15a3['clientX']-_0x25f35a['clientX']),Math['abs'](_0xcb15a3['clientY']-_0x25f35a['clientY']));}(this['startEvent'],_0x546e0d)<0xa)return;this['select'](this['lastEvent']=_0x546e0d);let _0x1da45d=0x0,_0x43d504=0x0,_0x309b4e=0x0,_0x3b1971=0x0,_0x26b9ef=this['view']['win']['innerWidth'],_0x1be735=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x309b4e,right:_0x26b9ef}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x3b1971,bottom:_0x1be735}=this['scrollParents']['y']['getBoundingClientRect']());let _0x32c020=dT(this['view']);_0x546e0d['clientX']-_0x32c020['left']<=_0x309b4e+0x6?_0x1da45d=-FT(_0x309b4e-_0x546e0d['clientX']):_0x546e0d['clientX']+_0x32c020['right']>=_0x26b9ef-0x6&&(_0x1da45d=FT(_0x546e0d['clientX']-_0x26b9ef)),_0x546e0d['clientY']-_0x32c020['top']<=_0x3b1971+0x6?_0x43d504=-FT(_0x3b1971-_0x546e0d['clientY']):_0x546e0d['clientY']+_0x32c020['bottom']>=_0x1be735-0x6&&(_0x43d504=FT(_0x546e0d['clientY']-_0x1be735)),this['setScrollSpeed'](_0x1da45d,_0x43d504);}['up'](_0x2a8d61){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x2a8d61['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x4bf8f8=this['view']['contentDOM']['ownerDocument'];_0x4bf8f8['removeEventListener']('mousemove',this['move']),_0x4bf8f8['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x3c5322,_0x452a06){this['scrollSpeed']={'x':_0x3c5322,'y':_0x452a06},_0x3c5322||_0x452a06?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x48bd64,y:_0x2a3ee2}=this['scrollSpeed'];_0x48bd64&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x48bd64,_0x48bd64=0x0),_0x2a3ee2&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x2a3ee2,_0x2a3ee2=0x0),(_0x48bd64||_0x2a3ee2)&&this['view']['win']['scrollBy'](_0x48bd64,_0x2a3ee2),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x3a9033){let {view:_0x2e7c60}=this,_0x49e56d=kT(this['atoms'],this['style']['get'](_0x3a9033,this['extend'],this['multiple']));!this['mustSelect']&&_0x49e56d['eq'](_0x2e7c60['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x49e56d,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x5a29c4){_0x5a29c4['transactions']['some'](_0xaa8f61=>_0xaa8f61['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x5a29c4)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const jT=Object['create'](null),HT=Object['create'](null),GT=Q_['ie']&&Q_['ie_version']<0xf||Q_['ios']&&Q_['webkit_version']<0x25c;function ZT(_0x3a0c85,_0x145f30,_0x12660f){for(let _0x8e5138 of _0x3a0c85['facet'](_0x145f30))_0x12660f=_0x8e5138(_0x12660f,_0x3a0c85);return _0x12660f;}function XT(_0x24fa32,_0x218b35){_0x218b35=ZT(_0x24fa32['state'],Xv,_0x218b35);let _0x30008a,{state:_0x2e1073}=_0x24fa32,_0x1214e7=0x1,_0x15e718=_0x2e1073['toText'](_0x218b35),_0x567f2c=_0x15e718['lines']==_0x2e1073['selection']['ranges']['length'];if(null!=rE&&_0x2e1073['selection']['ranges']['every'](_0x156f3b=>_0x156f3b['empty'])&&rE==_0x15e718['toString']()){let _0x480c06=-0x1;_0x30008a=_0x2e1073['changeByRange'](_0x3984d0=>{let _0x2e74b6=_0x2e1073['doc']['lineAt'](_0x3984d0['from']);if(_0x2e74b6['from']==_0x480c06)return{'range':_0x3984d0};_0x480c06=_0x2e74b6['from'];let _0x8d1ae0=_0x2e1073['toText']((_0x567f2c?_0x15e718['line'](_0x1214e7++)['text']:_0x218b35)+_0x2e1073['lineBreak']);return{'changes':{'from':_0x2e74b6['from'],'insert':_0x8d1ae0},'range':EditorSelection['cursor'](_0x3984d0['from']+_0x8d1ae0['length'])};});}else _0x30008a=_0x567f2c?_0x2e1073['changeByRange'](_0x14460a=>{let _0x2cb621=_0x15e718['line'](_0x1214e7++);return{'changes':{'from':_0x14460a['from'],'to':_0x14460a['to'],'insert':_0x2cb621['text']},'range':EditorSelection['cursor'](_0x14460a['from']+_0x2cb621['length'])};}):_0x2e1073['replaceSelection'](_0x15e718);_0x24fa32['dispatch'](_0x30008a,{'userEvent':'input.paste','scrollIntoView':!0x0});}function qT(_0x5a1d52,_0x499da4,_0x45b6fc,_0x10c976){if(0x1==_0x10c976)return EditorSelection['cursor'](_0x499da4,_0x45b6fc);if(0x2==_0x10c976)return function(_0x1d4cf5,_0x5cd7a7,_0x4ace37=0x1){let _0x16b2a4=_0x1d4cf5['charCategorizer'](_0x5cd7a7),_0x33a699=_0x1d4cf5['doc']['lineAt'](_0x5cd7a7),_0x545681=_0x5cd7a7-_0x33a699['from'];if(0x0==_0x33a699['length'])return EditorSelection['cursor'](_0x5cd7a7);0x0==_0x545681?_0x4ace37=0x1:_0x545681==_0x33a699['length']&&(_0x4ace37=-0x1);let _0x2ab8e8=_0x545681,_0x5d5b70=_0x545681;_0x4ace37<0x0?_0x2ab8e8=gy(_0x33a699['text'],_0x545681,!0x1):_0x5d5b70=gy(_0x33a699['text'],_0x545681);let _0x51b4cb=_0x16b2a4(_0x33a699['text']['slice'](_0x2ab8e8,_0x5d5b70));for(;_0x2ab8e8>0x0;){let _0x396f82=gy(_0x33a699['text'],_0x2ab8e8,!0x1);if(_0x16b2a4(_0x33a699['text']['slice'](_0x396f82,_0x2ab8e8))!=_0x51b4cb)break;_0x2ab8e8=_0x396f82;}for(;_0x5d5b70<_0x33a699['length'];){let _0x1840f8=gy(_0x33a699['text'],_0x5d5b70);if(_0x16b2a4(_0x33a699['text']['slice'](_0x5d5b70,_0x1840f8))!=_0x51b4cb)break;_0x5d5b70=_0x1840f8;}return EditorSelection['range'](_0x2ab8e8+_0x33a699['from'],_0x5d5b70+_0x33a699['from']);}(_0x5a1d52['state'],_0x499da4,_0x45b6fc);{let _0x53a6fa=LineView['find'](_0x5a1d52['docView'],_0x499da4),_0x22a02c=_0x5a1d52['state']['doc']['lineAt'](_0x53a6fa?_0x53a6fa['posAtEnd']:_0x499da4),_0x5dde32=_0x53a6fa?_0x53a6fa['posAtStart']:_0x22a02c['from'],_0x2b57a3=_0x53a6fa?_0x53a6fa['posAtEnd']:_0x22a02c['to'];return _0x2b57a3<_0x5a1d52['state']['doc']['length']&&_0x2b57a3==_0x22a02c['to']&&_0x2b57a3++,EditorSelection['range'](_0x5dde32,_0x2b57a3);}}HT['scroll']=_0x5c4695=>{_0x5c4695['inputState']['lastScrollTop']=_0x5c4695['scrollDOM']['scrollTop'],_0x5c4695['inputState']['lastScrollLeft']=_0x5c4695['scrollDOM']['scrollLeft'];},jT['keydown']=(_0xf00e43,_0x25f106)=>(_0xf00e43['inputState']['setSelectionOrigin']('select'),0x1b==_0x25f106['keyCode']&&0x0!=_0xf00e43['inputState']['tabFocusMode']&&(_0xf00e43['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),HT['touchstart']=(_0x472232,_0x37bd9b)=>{_0x472232['inputState']['lastTouchTime']=Date['now'](),_0x472232['inputState']['setSelectionOrigin']('select.pointer');},HT['touchmove']=_0x9e5e12=>{_0x9e5e12['inputState']['setSelectionOrigin']('select.pointer');},jT['mousedown']=(_0x4d073c,_0x53ec4d)=>{if(_0x4d073c['observer']['flush'](),_0x4d073c['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x3ebc31=null;for(let _0x4b0f1b of _0x4d073c['state']['facet'](Fv))if(_0x3ebc31=_0x4b0f1b(_0x4d073c,_0x53ec4d),_0x3ebc31)break;if(_0x3ebc31||0x0!=_0x53ec4d['button']||(_0x3ebc31=function(_0x2cb5a3,_0x251793){let _0x396eda=KT(_0x2cb5a3,_0x251793),_0x2d2ae1=sE(_0x251793),_0x2a6360=_0x2cb5a3['state']['selection'];return{'update'(_0x28930a){_0x28930a['docChanged']&&(_0x396eda['pos']=_0x28930a['changes']['mapPos'](_0x396eda['pos']),_0x2a6360=_0x2a6360['map'](_0x28930a['changes']));},'get'(_0x164243,_0x56fed0,_0x1ea46c){let _0x55c537,_0x3702a0=KT(_0x2cb5a3,_0x164243),_0x5cc925=qT(_0x2cb5a3,_0x3702a0['pos'],_0x3702a0['bias'],_0x2d2ae1);if(_0x396eda['pos']!=_0x3702a0['pos']&&!_0x56fed0){let _0x3d6595=qT(_0x2cb5a3,_0x396eda['pos'],_0x396eda['bias'],_0x2d2ae1),_0xe19f5d=Math['min'](_0x3d6595['from'],_0x5cc925['from']),_0x59b395=Math['max'](_0x3d6595['to'],_0x5cc925['to']);_0x5cc925=_0xe19f5d<_0x5cc925['from']?EditorSelection['range'](_0xe19f5d,_0x59b395):EditorSelection['range'](_0x59b395,_0xe19f5d);}return _0x56fed0?_0x2a6360['replaceRange'](_0x2a6360['main']['extend'](_0x5cc925['from'],_0x5cc925['to'])):_0x1ea46c&&0x1==_0x2d2ae1&&_0x2a6360['ranges']['length']>0x1&&(_0x55c537=function(_0x2448a0,_0x4623af){for(let _0x46be7a=0x0;_0x46be7a<_0x2448a0['ranges']['length'];_0x46be7a++){let {from:_0x3aee82,to:_0xf05cb6}=_0x2448a0['ranges'][_0x46be7a];if(_0x3aee82<=_0x4623af&&_0xf05cb6>=_0x4623af)return EditorSelection['create'](_0x2448a0['ranges']['slice'](0x0,_0x46be7a)['concat'](_0x2448a0['ranges']['slice'](_0x46be7a+0x1)),_0x2448a0['mainIndex']==_0x46be7a?0x0:_0x2448a0['mainIndex']-(_0x2448a0['mainIndex']>_0x46be7a?0x1:0x0));}return null;}(_0x2a6360,_0x3702a0['pos']))?_0x55c537:_0x1ea46c?_0x2a6360['addRange'](_0x5cc925):EditorSelection['create']([_0x5cc925]);}};}(_0x4d073c,_0x53ec4d)),_0x3ebc31){let _0x3d765f=!_0x4d073c['hasFocus'];_0x4d073c['inputState']['startMouseSelection'](new MouseSelection(_0x4d073c,_0x53ec4d,_0x3ebc31,_0x3d765f)),_0x3d765f&&_0x4d073c['observer']['ignore'](()=>{K_(_0x4d073c['contentDOM']);let _0x4086c4=_0x4d073c['root']['activeElement'];_0x4086c4&&!_0x4086c4['contains'](_0x4d073c['contentDOM'])&&_0x4086c4['blur']();});let _0x4558b6=_0x4d073c['inputState']['mouseSelection'];if(_0x4558b6)return _0x4558b6['start'](_0x53ec4d),!0x1===_0x4558b6['dragging'];}else _0x4d073c['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let zT=(_0x43abc6,_0x6e5e20,_0x2fdaf)=>_0x6e5e20>=_0x2fdaf['top']&&_0x6e5e20<=_0x2fdaf['bottom']&&_0x43abc6>=_0x2fdaf['left']&&_0x43abc6<=_0x2fdaf['right'];function YT(_0x17e4ed,_0x24a109,_0x3471b5,_0x2c4b15){let _0x403a90=LineView['find'](_0x17e4ed['docView'],_0x24a109);if(!_0x403a90)return 0x1;let _0x42b704=_0x24a109-_0x403a90['posAtStart'];if(0x0==_0x42b704)return 0x1;if(_0x42b704==_0x403a90['length'])return-0x1;let _0x14e611=_0x403a90['coordsAt'](_0x42b704,-0x1);if(_0x14e611&&zT(_0x3471b5,_0x2c4b15,_0x14e611))return-0x1;let _0x2249a1=_0x403a90['coordsAt'](_0x42b704,0x1);return _0x2249a1&&zT(_0x3471b5,_0x2c4b15,_0x2249a1)?0x1:_0x14e611&&_0x14e611['bottom']>=_0x2c4b15?-0x1:0x1;}function KT(_0xf92bdf,_0x119b63){let _0xad40d8=_0xf92bdf['posAtCoords']({'x':_0x119b63['clientX'],'y':_0x119b63['clientY']},!0x1);return{'pos':_0xad40d8,'bias':YT(_0xf92bdf,_0xad40d8,_0x119b63['clientX'],_0x119b63['clientY'])};}const JT=Q_['ie']&&Q_['ie_version']<=0xb;let tE=null,eE=0x0,iE=0x0;function sE(_0x3abcf5){if(!JT)return _0x3abcf5['detail'];let _0x41e192=tE,_0x4a845a=iE;return tE=_0x3abcf5,iE=Date['now'](),eE=!_0x41e192||_0x4a845a>Date['now']()-0x190&&Math['abs'](_0x41e192['clientX']-_0x3abcf5['clientX'])<0x2&&Math['abs'](_0x41e192['clientY']-_0x3abcf5['clientY'])<0x2?(eE+0x1)%0x3:0x1;}function nE(_0x152077,_0x3ca713,_0x28ba01,_0x1ff6a9){if(!(_0x28ba01=ZT(_0x152077['state'],Xv,_0x28ba01)))return;let _0x1f63df=_0x152077['posAtCoords']({'x':_0x3ca713['clientX'],'y':_0x3ca713['clientY']},!0x1),{draggedContent:_0x4c34b2}=_0x152077['inputState'],_0x4efa6f=_0x1ff6a9&&_0x4c34b2&&function(_0x5469bf,_0x5da41c){let _0x3834b1=_0x5469bf['state']['facet'](Bv);return _0x3834b1['length']?_0x3834b1[0x0](_0x5da41c):Q_['mac']?!_0x5da41c['altKey']:!_0x5da41c['ctrlKey'];}(_0x152077,_0x3ca713)?{'from':_0x4c34b2['from'],'to':_0x4c34b2['to']}:null,_0x44e893={'from':_0x1f63df,'insert':_0x28ba01},_0x4345ad=_0x152077['state']['changes'](_0x4efa6f?[_0x4efa6f,_0x44e893]:_0x44e893);_0x152077['focus'](),_0x152077['dispatch']({'changes':_0x4345ad,'selection':{'anchor':_0x4345ad['mapPos'](_0x1f63df,-0x1),'head':_0x4345ad['mapPos'](_0x1f63df,0x1)},'userEvent':_0x4efa6f?'move.drop':'input.drop'}),_0x152077['inputState']['draggedContent']=null;}jT['dragstart']=(_0x266a49,_0x22ac81)=>{let {selection:{main:_0x4c26c5}}=_0x266a49['state'];if(_0x22ac81['target']['draggable']){let _0x49d2f7=_0x266a49['docView']['nearest'](_0x22ac81['target']);if(_0x49d2f7&&_0x49d2f7['isWidget']){let _0x1e1aad=_0x49d2f7['posAtStart'],_0x4ba637=_0x1e1aad+_0x49d2f7['length'];(_0x1e1aad>=_0x4c26c5['to']||_0x4ba637<=_0x4c26c5['from'])&&(_0x4c26c5=EditorSelection['range'](_0x1e1aad,_0x4ba637));}}let {inputState:_0x35bd91}=_0x266a49;return _0x35bd91['mouseSelection']&&(_0x35bd91['mouseSelection']['dragging']=!0x0),_0x35bd91['draggedContent']=_0x4c26c5,_0x22ac81['dataTransfer']&&(_0x22ac81['dataTransfer']['setData']('Text',ZT(_0x266a49['state'],qv,_0x266a49['state']['sliceDoc'](_0x4c26c5['from'],_0x4c26c5['to']))),_0x22ac81['dataTransfer']['effectAllowed']='copyMove'),!0x1;},jT['dragend']=_0x37d667=>(_0x37d667['inputState']['draggedContent']=null,!0x1),jT['drop']=(_0x57c6a5,_0x4e6806)=>{if(!_0x4e6806['dataTransfer'])return!0x1;if(_0x57c6a5['state']['readOnly'])return!0x0;let _0x82ba6a=_0x4e6806['dataTransfer']['files'];if(_0x82ba6a&&_0x82ba6a['length']){let _0x304d90=Array(_0x82ba6a['length']),_0x5e4348=0x0,_0x44bd73=()=>{++_0x5e4348==_0x82ba6a['length']&&nE(_0x57c6a5,_0x4e6806,_0x304d90['filter'](_0x335c1d=>null!=_0x335c1d)['join'](_0x57c6a5['state']['lineBreak']),!0x1);};for(let _0x4637e6=0x0;_0x4637e6<_0x82ba6a['length'];_0x4637e6++){let _0x56d50a=new FileReader();_0x56d50a['onerror']=_0x44bd73,_0x56d50a['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x56d50a['result'])||(_0x304d90[_0x4637e6]=_0x56d50a['result']),_0x44bd73();},_0x56d50a['readAsText'](_0x82ba6a[_0x4637e6]);}return!0x0;}{let _0x2bfec1=_0x4e6806['dataTransfer']['getData']('Text');if(_0x2bfec1)return nE(_0x57c6a5,_0x4e6806,_0x2bfec1,!0x0),!0x0;}return!0x1;},jT['paste']=(_0x149ef8,_0x94f4c5)=>{if(_0x149ef8['state']['readOnly'])return!0x0;_0x149ef8['observer']['flush']();let _0x3c45c8=GT?null:_0x94f4c5['clipboardData'];return _0x3c45c8?(XT(_0x149ef8,_0x3c45c8['getData']('text/plain')||_0x3c45c8['getData']('text/uri-list')),!0x0):(function(_0x2c9fc5){let _0x1af7c0=_0x2c9fc5['dom']['parentNode'];if(!_0x1af7c0)return;let _0x88ae68=_0x1af7c0['appendChild'](document['createElement']('textarea'));_0x88ae68['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x88ae68['focus'](),setTimeout(()=>{_0x2c9fc5['focus'](),_0x88ae68['remove'](),XT(_0x2c9fc5,_0x88ae68['value']);},0x32);}(_0x149ef8),!0x1);};let rE=null;jT['copy']=jT['cut']=(_0x45941d,_0x12fad5)=>{let {text:_0x56be5a,ranges:_0xb2669d,linewise:_0x268fdc}=function(_0x45f310){let _0x473a83=[],_0x568813=[],_0x5e4de4=!0x1;for(let _0x4a6032 of _0x45f310['selection']['ranges'])_0x4a6032['empty']||(_0x473a83['push'](_0x45f310['sliceDoc'](_0x4a6032['from'],_0x4a6032['to'])),_0x568813['push'](_0x4a6032));if(!_0x473a83['length']){let _0x1bf386=-0x1;for(let {from:_0x8665f2}of _0x45f310['selection']['ranges']){let _0x2d90e0=_0x45f310['doc']['lineAt'](_0x8665f2);_0x2d90e0['number']>_0x1bf386&&(_0x473a83['push'](_0x2d90e0['text']),_0x568813['push']({'from':_0x2d90e0['from'],'to':Math['min'](_0x45f310['doc']['length'],_0x2d90e0['to']+0x1)})),_0x1bf386=_0x2d90e0['number'];}_0x5e4de4=!0x0;}return{'text':ZT(_0x45f310,qv,_0x473a83['join'](_0x45f310['lineBreak'])),'ranges':_0x568813,'linewise':_0x5e4de4};}(_0x45941d['state']);if(!_0x56be5a&&!_0x268fdc)return!0x1;rE=_0x268fdc?_0x56be5a:null,'cut'!=_0x12fad5['type']||_0x45941d['state']['readOnly']||_0x45941d['dispatch']({'changes':_0xb2669d,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x3b2263=GT?null:_0x12fad5['clipboardData'];return _0x3b2263?(_0x3b2263['clearData'](),_0x3b2263['setData']('text/plain',_0x56be5a),!0x0):(function(_0x2dc763,_0x47bda1){let _0xa75a2a=_0x2dc763['dom']['parentNode'];if(!_0xa75a2a)return;let _0x12ed5a=_0xa75a2a['appendChild'](document['createElement']('textarea'));_0x12ed5a['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x12ed5a['value']=_0x47bda1,_0x12ed5a['focus'](),_0x12ed5a['selectionEnd']=_0x47bda1['length'],_0x12ed5a['selectionStart']=0x0,setTimeout(()=>{_0x12ed5a['remove'](),_0x2dc763['focus']();},0x32);}(_0x45941d,_0x56be5a),!0x1);};const oE=Annotation['define']();function aE(_0x5f7806,_0x252bc7){let _0x48fa4b=[];for(let _0x129846 of _0x5f7806['facet'](Zv)){let _0x5a7c1a=_0x129846(_0x5f7806,_0x252bc7);_0x5a7c1a&&_0x48fa4b['push'](_0x5a7c1a);}return _0x48fa4b['length']?_0x5f7806['update']({'effects':_0x48fa4b,'annotations':oE['of'](!0x0)}):null;}function cE(_0x2fa739){setTimeout(()=>{let _0x1815b1=_0x2fa739['hasFocus'];if(_0x1815b1!=_0x2fa739['inputState']['notifiedFocused']){let _0x1379b8=aE(_0x2fa739['state'],_0x1815b1);_0x1379b8?_0x2fa739['dispatch'](_0x1379b8):_0x2fa739['update']([]);}},0xa);}HT['focus']=_0x533c41=>{_0x533c41['inputState']['lastFocusTime']=Date['now'](),_0x533c41['scrollDOM']['scrollTop']||!_0x533c41['inputState']['lastScrollTop']&&!_0x533c41['inputState']['lastScrollLeft']||(_0x533c41['scrollDOM']['scrollTop']=_0x533c41['inputState']['lastScrollTop'],_0x533c41['scrollDOM']['scrollLeft']=_0x533c41['inputState']['lastScrollLeft']),cE(_0x533c41);},HT['blur']=_0x4c707e=>{_0x4c707e['observer']['clearSelectionRange'](),cE(_0x4c707e);},HT['compositionstart']=HT['compositionupdate']=_0x38f303=>{_0x38f303['observer']['editContext']||(null==_0x38f303['inputState']['compositionFirstChange']&&(_0x38f303['inputState']['compositionFirstChange']=!0x0),_0x38f303['inputState']['composing']<0x0&&(_0x38f303['inputState']['composing']=0x0));},HT['compositionend']=_0x41d0ed=>{_0x41d0ed['observer']['editContext']||(_0x41d0ed['inputState']['composing']=-0x1,_0x41d0ed['inputState']['compositionEndedAt']=Date['now'](),_0x41d0ed['inputState']['compositionPendingKey']=!0x0,_0x41d0ed['inputState']['compositionPendingChange']=_0x41d0ed['observer']['pendingRecords']()['length']>0x0,_0x41d0ed['inputState']['compositionFirstChange']=null,Q_['chrome']&&Q_['android']?_0x41d0ed['observer']['flushSoon']():_0x41d0ed['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x41d0ed['observer']['flush']()):setTimeout(()=>{_0x41d0ed['inputState']['composing']<0x0&&_0x41d0ed['docView']['hasComposition']&&_0x41d0ed['update']([]);},0x32));},HT['contextmenu']=_0x1a7c5a=>{_0x1a7c5a['inputState']['lastContextMenu']=Date['now']();},jT['beforeinput']=(_0x55add6,_0x8cc3a)=>{var _0x29033a,_0x10c285;if('insertReplacementText'==_0x8cc3a['inputType']&&_0x55add6['observer']['editContext']){let _0x4f4ad3=null===(_0x29033a=_0x8cc3a['dataTransfer'])||void 0x0===_0x29033a?void 0x0:_0x29033a['getData']('text/plain'),_0xaf46a1=_0x8cc3a['getTargetRanges']();if(_0x4f4ad3&&_0xaf46a1['length']){let _0x4bce27=_0xaf46a1[0x0],_0x17ea6e=_0x55add6['posAtDOM'](_0x4bce27['startContainer'],_0x4bce27['startOffset']),_0x4e285c=_0x55add6['posAtDOM'](_0x4bce27['endContainer'],_0x4bce27['endOffset']);return LT(_0x55add6,{'from':_0x17ea6e,'to':_0x4e285c,'insert':_0x55add6['state']['toText'](_0x4f4ad3)},null),!0x0;}}let _0x3de3e3;if(Q_['chrome']&&Q_['android']&&(_0x3de3e3=VT['find'](_0x5d1c21=>_0x5d1c21['inputType']==_0x8cc3a['inputType']))&&(_0x55add6['observer']['delayAndroidKey'](_0x3de3e3['key'],_0x3de3e3['keyCode']),'Backspace'==_0x3de3e3['key']||'Delete'==_0x3de3e3['key'])){let _0x3af592=(null===(_0x10c285=window['visualViewport'])||void 0x0===_0x10c285?void 0x0:_0x10c285['height'])||0x0;setTimeout(()=>{var _0x4fe8b1;((null===(_0x4fe8b1=window['visualViewport'])||void 0x0===_0x4fe8b1?void 0x0:_0x4fe8b1['height'])||0x0)>_0x3af592+0xa&&_0x55add6['hasFocus']&&(_0x55add6['contentDOM']['blur'](),_0x55add6['focus']());},0x64);}return Q_['ios']&&'deleteContentForward'==_0x8cc3a['inputType']&&_0x55add6['observer']['flushSoon'](),Q_['safari']&&'insertText'==_0x8cc3a['inputType']&&_0x55add6['inputState']['composing']>=0x0&&setTimeout(()=>HT['compositionend'](_0x55add6,_0x8cc3a),0x14),!0x1;};const lE=new Set(),hE=['pre-wrap','normal','pre-line','break-spaces'];let uE=!0x1;function dE(){uE=!0x1;}class HeightOracle{constructor(_0x382f27){this['lineWrapping']=_0x382f27,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x37e7cf,_0x13f534){let _0x3a9854=this['doc']['lineAt'](_0x13f534)['number']-this['doc']['lineAt'](_0x37e7cf)['number']+0x1;return this['lineWrapping']&&(_0x3a9854+=Math['max'](0x0,Math['ceil']((_0x13f534-_0x37e7cf-_0x3a9854*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x3a9854;}['heightForLine'](_0x37aea3){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x37aea3-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x3df267){return this['doc']=_0x3df267,this;}['mustRefreshForWrapping'](_0x21fdbc){return hE['indexOf'](_0x21fdbc)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0xd60bae){let _0x3842df=!0x1;for(let _0x2b0e9d=0x0;_0x2b0e9d<_0xd60bae['length'];_0x2b0e9d++){let _0x323053=_0xd60bae[_0x2b0e9d];_0x323053<0x0?_0x2b0e9d++:this['heightSamples'][Math['floor'](0xa*_0x323053)]||(_0x3842df=!0x0,this['heightSamples'][Math['floor'](0xa*_0x323053)]=!0x0);}return _0x3842df;}['refresh'](_0xa6901a,_0x2bd8dc,_0x29fe47,_0x5d8252,_0x42b748,_0x558a29){let _0x4f5ede=hE['indexOf'](_0xa6901a)>-0x1,_0x50d4c9=Math['round'](_0x2bd8dc)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x4f5ede;if(this['lineWrapping']=_0x4f5ede,this['lineHeight']=_0x2bd8dc,this['charWidth']=_0x29fe47,this['textHeight']=_0x5d8252,this['lineLength']=_0x42b748,_0x50d4c9){this['heightSamples']={};for(let _0x597efb=0x0;_0x597efb<_0x558a29['length'];_0x597efb++){let _0x4ddf96=_0x558a29[_0x597efb];_0x4ddf96<0x0?_0x597efb++:this['heightSamples'][Math['floor'](0xa*_0x4ddf96)]=!0x0;}}return _0x50d4c9;}}class MeasuredHeights{constructor(_0x52662c,_0x2a6fcc){this['from']=_0x52662c,this['heights']=_0x2a6fcc,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class BlockInfo{constructor(_0x2bc58c,_0x3e6132,_0x156297,_0x34897e,_0x3d673e){this['from']=_0x2bc58c,this['length']=_0x3e6132,this['top']=_0x156297,this['height']=_0x34897e,this['_content']=_0x3d673e;}get['type'](){return'number'==typeof this['_content']?wv['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'](_0x45f84c){let _0x13a657=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x45f84c['_content'])?_0x45f84c['_content']:[_0x45f84c]);return new BlockInfo(this['from'],this['length']+_0x45f84c['length'],this['top'],this['height']+_0x45f84c['height'],_0x13a657);}}var fE=function(_0x58d2d4){return _0x58d2d4[_0x58d2d4['ByPos']=0x0]='ByPos',_0x58d2d4[_0x58d2d4['ByHeight']=0x1]='ByHeight',_0x58d2d4[_0x58d2d4['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x58d2d4;}(fE||(fE={}));const mE=0.001;class HeightMap{constructor(_0x29b8c3,_0x21b99a,_0xe16755=0x2){this['length']=_0x29b8c3,this['height']=_0x21b99a,this['flags']=_0xe16755;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x444455){this['flags']=(_0x444455?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x2f44c6){this['height']!=_0x2f44c6&&(Math['abs'](this['height']-_0x2f44c6)>mE&&(uE=!0x0),this['height']=_0x2f44c6);}['replace'](_0x3a649c,_0xab12c9,_0x25d436){return HeightMap['of'](_0x25d436);}['decomposeLeft'](_0x50b566,_0x599065){_0x599065['push'](this);}['decomposeRight'](_0x189584,_0x4732b8){_0x4732b8['push'](this);}['applyChanges'](_0x68c834,_0x19de17,_0x50809b,_0x64c459){let _0x2dd1c1=this,_0x1ef98e=_0x50809b['doc'];for(let _0x4293f6=_0x64c459['length']-0x1;_0x4293f6>=0x0;_0x4293f6--){let {fromA:_0x2b78e4,toA:_0x276dcc,fromB:_0x11f11a,toB:_0x530930}=_0x64c459[_0x4293f6],_0x48ac68=_0x2dd1c1['lineAt'](_0x2b78e4,fE['ByPosNoHeight'],_0x50809b['setDoc'](_0x19de17),0x0,0x0),_0x34e945=_0x48ac68['to']>=_0x276dcc?_0x48ac68:_0x2dd1c1['lineAt'](_0x276dcc,fE['ByPosNoHeight'],_0x50809b,0x0,0x0);for(_0x530930+=_0x34e945['to']-_0x276dcc,_0x276dcc=_0x34e945['to'];_0x4293f6>0x0&&_0x48ac68['from']<=_0x64c459[_0x4293f6-0x1]['toA'];)_0x2b78e4=_0x64c459[_0x4293f6-0x1]['fromA'],_0x11f11a=_0x64c459[_0x4293f6-0x1]['fromB'],_0x4293f6--,_0x2b78e4<_0x48ac68['from']&&(_0x48ac68=_0x2dd1c1['lineAt'](_0x2b78e4,fE['ByPosNoHeight'],_0x50809b,0x0,0x0));_0x11f11a+=_0x48ac68['from']-_0x2b78e4,_0x2b78e4=_0x48ac68['from'];let _0x27e701=NodeBuilder['build'](_0x50809b['setDoc'](_0x1ef98e),_0x68c834,_0x11f11a,_0x530930);_0x2dd1c1=gE(_0x2dd1c1,_0x2dd1c1['replace'](_0x2b78e4,_0x276dcc,_0x27e701));}return _0x2dd1c1['updateHeight'](_0x50809b,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x5ec9ab){if(0x1==_0x5ec9ab['length'])return _0x5ec9ab[0x0];let _0x3ce764=0x0,_0xf13b6e=_0x5ec9ab['length'],_0x3956ba=0x0,_0x3179e1=0x0;for(;;)if(_0x3ce764==_0xf13b6e){if(_0x3956ba>0x2*_0x3179e1){let _0x40f4cc=_0x5ec9ab[_0x3ce764-0x1];_0x40f4cc['break']?_0x5ec9ab['splice'](--_0x3ce764,0x1,_0x40f4cc['left'],null,_0x40f4cc['right']):_0x5ec9ab['splice'](--_0x3ce764,0x1,_0x40f4cc['left'],_0x40f4cc['right']),_0xf13b6e+=0x1+_0x40f4cc['break'],_0x3956ba-=_0x40f4cc['size'];}else{if(!(_0x3179e1>0x2*_0x3956ba))break;{let _0x9b6794=_0x5ec9ab[_0xf13b6e];_0x9b6794['break']?_0x5ec9ab['splice'](_0xf13b6e,0x1,_0x9b6794['left'],null,_0x9b6794['right']):_0x5ec9ab['splice'](_0xf13b6e,0x1,_0x9b6794['left'],_0x9b6794['right']),_0xf13b6e+=0x2+_0x9b6794['break'],_0x3179e1-=_0x9b6794['size'];}}}else{if(_0x3956ba<_0x3179e1){let _0x1be0bb=_0x5ec9ab[_0x3ce764++];_0x1be0bb&&(_0x3956ba+=_0x1be0bb['size']);}else{let _0x56a03e=_0x5ec9ab[--_0xf13b6e];_0x56a03e&&(_0x3179e1+=_0x56a03e['size']);}}let _0x5a1830=0x0;return null==_0x5ec9ab[_0x3ce764-0x1]?(_0x5a1830=0x1,_0x3ce764--):null==_0x5ec9ab[_0x3ce764]&&(_0x5a1830=0x1,_0xf13b6e++),new HeightMapBranch(HeightMap['of'](_0x5ec9ab['slice'](0x0,_0x3ce764)),_0x5a1830,HeightMap['of'](_0x5ec9ab['slice'](_0xf13b6e)));}}function gE(_0x4e6297,_0x3a3354){return _0x4e6297==_0x3a3354?_0x4e6297:(_0x4e6297['constructor']!=_0x3a3354['constructor']&&(uE=!0x0),_0x3a3354);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x2a00d3,_0x476cb5,_0x444ea1){super(_0x2a00d3,_0x476cb5),this['deco']=_0x444ea1;}['blockAt'](_0x1a2cf1,_0x5b9fbf,_0x3c8241,_0x228ea6){return new BlockInfo(_0x228ea6,this['length'],_0x3c8241,this['height'],this['deco']||0x0);}['lineAt'](_0x44e8d4,_0x1d00f3,_0x243772,_0x18d587,_0x243aa3){return this['blockAt'](0x0,_0x243772,_0x18d587,_0x243aa3);}['forEachLine'](_0x42aac4,_0x5a4ac5,_0x33cd94,_0x191b25,_0x1d6b53,_0x35b461){_0x42aac4<=_0x1d6b53+this['length']&&_0x5a4ac5>=_0x1d6b53&&_0x35b461(this['blockAt'](0x0,_0x33cd94,_0x191b25,_0x1d6b53));}['updateHeight'](_0x454550,_0x36b6ee=0x0,_0x5835c0=!0x1,_0x3f53ef){return _0x3f53ef&&_0x3f53ef['from']<=_0x36b6ee&&_0x3f53ef['more']&&this['setHeight'](_0x3f53ef['heights'][_0x3f53ef['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x390523,_0x4f3acc){super(_0x390523,_0x4f3acc,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x4df769,_0xb3f74b,_0x54ff5c,_0x315a58){return new BlockInfo(_0x315a58,this['length'],_0x54ff5c,this['height'],this['breaks']);}['replace'](_0xdc62b4,_0x293852,_0x5ac9c4){let _0x4d3f55=_0x5ac9c4[0x0];return 0x1==_0x5ac9c4['length']&&(_0x4d3f55 instanceof HeightMapText||_0x4d3f55 instanceof HeightMapGap&&0x4&_0x4d3f55['flags'])&&Math['abs'](this['length']-_0x4d3f55['length'])<0xa?(_0x4d3f55 instanceof HeightMapGap?_0x4d3f55=new HeightMapText(_0x4d3f55['length'],this['height']):_0x4d3f55['height']=this['height'],this['outdated']||(_0x4d3f55['outdated']=!0x1),_0x4d3f55):HeightMap['of'](_0x5ac9c4);}['updateHeight'](_0xb69f36,_0x52d164=0x0,_0x424719=!0x1,_0xde60eb){return _0xde60eb&&_0xde60eb['from']<=_0x52d164&&_0xde60eb['more']?this['setHeight'](_0xde60eb['heights'][_0xde60eb['index']++]):(_0x424719||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0xb69f36['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0xb69f36['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x5f013e){super(_0x5f013e,0x0);}['heightMetrics'](_0xb7514c,_0x3a8a5d){let _0x17e9b7,_0x35fa2e=_0xb7514c['doc']['lineAt'](_0x3a8a5d)['number'],_0x3f22f3=_0xb7514c['doc']['lineAt'](_0x3a8a5d+this['length'])['number'],_0x4945f5=_0x3f22f3-_0x35fa2e+0x1,_0xde9a62=0x0;if(_0xb7514c['lineWrapping']){let _0x264e3f=Math['min'](this['height'],_0xb7514c['lineHeight']*_0x4945f5);_0x17e9b7=_0x264e3f/_0x4945f5,this['length']>_0x4945f5+0x1&&(_0xde9a62=(this['height']-_0x264e3f)/(this['length']-_0x4945f5-0x1));}else _0x17e9b7=this['height']/_0x4945f5;return{'firstLine':_0x35fa2e,'lastLine':_0x3f22f3,'perLine':_0x17e9b7,'perChar':_0xde9a62};}['blockAt'](_0x3a1c09,_0xeb5cd2,_0x5e689f,_0x5a31dd){let {firstLine:_0x899032,lastLine:_0x1333af,perLine:_0x43f82f,perChar:_0x492d87}=this['heightMetrics'](_0xeb5cd2,_0x5a31dd);if(_0xeb5cd2['lineWrapping']){let _0x2a0069=_0x5a31dd+(_0x3a1c09<_0xeb5cd2['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x3a1c09-_0x5e689f)/this['height']))*this['length'])),_0x443477=_0xeb5cd2['doc']['lineAt'](_0x2a0069),_0x58ff30=_0x43f82f+_0x443477['length']*_0x492d87,_0x26e349=Math['max'](_0x5e689f,_0x3a1c09-_0x58ff30/0x2);return new BlockInfo(_0x443477['from'],_0x443477['length'],_0x26e349,_0x58ff30,0x0);}{let _0x55ffe8=Math['max'](0x0,Math['min'](_0x1333af-_0x899032,Math['floor']((_0x3a1c09-_0x5e689f)/_0x43f82f))),{from:_0x47c9e5,length:_0x4e607d}=_0xeb5cd2['doc']['line'](_0x899032+_0x55ffe8);return new BlockInfo(_0x47c9e5,_0x4e607d,_0x5e689f+_0x43f82f*_0x55ffe8,_0x43f82f,0x0);}}['lineAt'](_0xc66922,_0x41030c,_0xb4fa87,_0x5639fb,_0x460ad3){if(_0x41030c==fE['ByHeight'])return this['blockAt'](_0xc66922,_0xb4fa87,_0x5639fb,_0x460ad3);if(_0x41030c==fE['ByPosNoHeight']){let {from:_0x189d45,to:_0x49c886}=_0xb4fa87['doc']['lineAt'](_0xc66922);return new BlockInfo(_0x189d45,_0x49c886-_0x189d45,0x0,0x0,0x0);}let {firstLine:_0x507bed,perLine:_0xcacad2,perChar:_0xb6029a}=this['heightMetrics'](_0xb4fa87,_0x460ad3),_0x1bfcad=_0xb4fa87['doc']['lineAt'](_0xc66922),_0x43c75f=_0xcacad2+_0x1bfcad['length']*_0xb6029a,_0x11e32d=_0x1bfcad['number']-_0x507bed,_0x7bbbd4=_0x5639fb+_0xcacad2*_0x11e32d+_0xb6029a*(_0x1bfcad['from']-_0x460ad3-_0x11e32d);return new BlockInfo(_0x1bfcad['from'],_0x1bfcad['length'],Math['max'](_0x5639fb,Math['min'](_0x7bbbd4,_0x5639fb+this['height']-_0x43c75f)),_0x43c75f,0x0);}['forEachLine'](_0x3c68ca,_0x4af725,_0x185d32,_0xc54672,_0x857ef0,_0x331ae7){_0x3c68ca=Math['max'](_0x3c68ca,_0x857ef0),_0x4af725=Math['min'](_0x4af725,_0x857ef0+this['length']);let {firstLine:_0x33a09e,perLine:_0x1ac432,perChar:_0xbb2147}=this['heightMetrics'](_0x185d32,_0x857ef0);for(let _0x239cce=_0x3c68ca,_0x4d685e=_0xc54672;_0x239cce<=_0x4af725;){let _0x5cf220=_0x185d32['doc']['lineAt'](_0x239cce);if(_0x239cce==_0x3c68ca){let _0x417499=_0x5cf220['number']-_0x33a09e;_0x4d685e+=_0x1ac432*_0x417499+_0xbb2147*(_0x3c68ca-_0x857ef0-_0x417499);}let _0x4d0465=_0x1ac432+_0xbb2147*_0x5cf220['length'];_0x331ae7(new BlockInfo(_0x5cf220['from'],_0x5cf220['length'],_0x4d685e,_0x4d0465,0x0)),_0x4d685e+=_0x4d0465,_0x239cce=_0x5cf220['to']+0x1;}}['replace'](_0x6f9517,_0x326257,_0x58c044){let _0x365442=this['length']-_0x326257;if(_0x365442>0x0){let _0xbaad8d=_0x58c044[_0x58c044['length']-0x1];_0xbaad8d instanceof HeightMapGap?_0x58c044[_0x58c044['length']-0x1]=new HeightMapGap(_0xbaad8d['length']+_0x365442):_0x58c044['push'](null,new HeightMapGap(_0x365442-0x1));}if(_0x6f9517>0x0){let _0x3ce2c3=_0x58c044[0x0];_0x3ce2c3 instanceof HeightMapGap?_0x58c044[0x0]=new HeightMapGap(_0x6f9517+_0x3ce2c3['length']):_0x58c044['unshift'](new HeightMapGap(_0x6f9517-0x1),null);}return HeightMap['of'](_0x58c044);}['decomposeLeft'](_0x75d204,_0x3042f1){_0x3042f1['push'](new HeightMapGap(_0x75d204-0x1),null);}['decomposeRight'](_0x5a7280,_0x1c79af){_0x1c79af['push'](null,new HeightMapGap(this['length']-_0x5a7280-0x1));}['updateHeight'](_0x171af2,_0x3abc12=0x0,_0x462c41=!0x1,_0x54dd50){let _0x317348=_0x3abc12+this['length'];if(_0x54dd50&&_0x54dd50['from']<=_0x3abc12+this['length']&&_0x54dd50['more']){let _0xd6c491=[],_0xfd7fdc=Math['max'](_0x3abc12,_0x54dd50['from']),_0x5adb43=-0x1;for(_0x54dd50['from']>_0x3abc12&&_0xd6c491['push'](new HeightMapGap(_0x54dd50['from']-_0x3abc12-0x1)['updateHeight'](_0x171af2,_0x3abc12));_0xfd7fdc<=_0x317348&&_0x54dd50['more'];){let _0x4b335b=_0x171af2['doc']['lineAt'](_0xfd7fdc)['length'];_0xd6c491['length']&&_0xd6c491['push'](null);let _0x5a8bdf=_0x54dd50['heights'][_0x54dd50['index']++];-0x1==_0x5adb43?_0x5adb43=_0x5a8bdf:Math['abs'](_0x5a8bdf-_0x5adb43)>=mE&&(_0x5adb43=-0x2);let _0x32f3a5=new HeightMapText(_0x4b335b,_0x5a8bdf);_0x32f3a5['outdated']=!0x1,_0xd6c491['push'](_0x32f3a5),_0xfd7fdc+=_0x4b335b+0x1;}_0xfd7fdc<=_0x317348&&_0xd6c491['push'](null,new HeightMapGap(_0x317348-_0xfd7fdc)['updateHeight'](_0x171af2,_0xfd7fdc));let _0x4025cb=HeightMap['of'](_0xd6c491);return(_0x5adb43<0x0||Math['abs'](_0x4025cb['height']-this['height'])>=mE||Math['abs'](_0x5adb43-this['heightMetrics'](_0x171af2,_0x3abc12)['perLine'])>=mE)&&(uE=!0x0),gE(this,_0x4025cb);}return(_0x462c41||this['outdated'])&&(this['setHeight'](_0x171af2['heightForGap'](_0x3abc12,_0x3abc12+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x4bc3d4,_0x5f559e,_0x9ee0f4){super(_0x4bc3d4['length']+_0x5f559e+_0x9ee0f4['length'],_0x4bc3d4['height']+_0x9ee0f4['height'],_0x5f559e|(_0x4bc3d4['outdated']||_0x9ee0f4['outdated']?0x2:0x0)),this['left']=_0x4bc3d4,this['right']=_0x9ee0f4,this['size']=_0x4bc3d4['size']+_0x9ee0f4['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x572830,_0x5377d6,_0x5269a0,_0x1e8b59){let _0x2e2866=_0x5269a0+this['left']['height'];return _0x572830<_0x2e2866?this['left']['blockAt'](_0x572830,_0x5377d6,_0x5269a0,_0x1e8b59):this['right']['blockAt'](_0x572830,_0x5377d6,_0x2e2866,_0x1e8b59+this['left']['length']+this['break']);}['lineAt'](_0x524252,_0x35a2a8,_0x5b1416,_0x4f6f32,_0x37a51b){let _0x5a83ee=_0x4f6f32+this['left']['height'],_0x43ae98=_0x37a51b+this['left']['length']+this['break'],_0x33241e=_0x35a2a8==fE['ByHeight']?_0x524252<_0x5a83ee:_0x524252<_0x43ae98,_0x54db33=_0x33241e?this['left']['lineAt'](_0x524252,_0x35a2a8,_0x5b1416,_0x4f6f32,_0x37a51b):this['right']['lineAt'](_0x524252,_0x35a2a8,_0x5b1416,_0x5a83ee,_0x43ae98);if(this['break']||(_0x33241e?_0x54db33['to']<_0x43ae98:_0x54db33['from']>_0x43ae98))return _0x54db33;let _0xc6e3a3=_0x35a2a8==fE['ByPosNoHeight']?fE['ByPosNoHeight']:fE['ByPos'];return _0x33241e?_0x54db33['join'](this['right']['lineAt'](_0x43ae98,_0xc6e3a3,_0x5b1416,_0x5a83ee,_0x43ae98)):this['left']['lineAt'](_0x43ae98,_0xc6e3a3,_0x5b1416,_0x4f6f32,_0x37a51b)['join'](_0x54db33);}['forEachLine'](_0x3a47c2,_0x4849fa,_0xe4b77a,_0x11a103,_0x258254,_0x3b383b){let _0x43c1d6=_0x11a103+this['left']['height'],_0x1c35db=_0x258254+this['left']['length']+this['break'];if(this['break'])_0x3a47c2<_0x1c35db&&this['left']['forEachLine'](_0x3a47c2,_0x4849fa,_0xe4b77a,_0x11a103,_0x258254,_0x3b383b),_0x4849fa>=_0x1c35db&&this['right']['forEachLine'](_0x3a47c2,_0x4849fa,_0xe4b77a,_0x43c1d6,_0x1c35db,_0x3b383b);else{let _0x990b7e=this['lineAt'](_0x1c35db,fE['ByPos'],_0xe4b77a,_0x11a103,_0x258254);_0x3a47c2<_0x990b7e['from']&&this['left']['forEachLine'](_0x3a47c2,_0x990b7e['from']-0x1,_0xe4b77a,_0x11a103,_0x258254,_0x3b383b),_0x990b7e['to']>=_0x3a47c2&&_0x990b7e['from']<=_0x4849fa&&_0x3b383b(_0x990b7e),_0x4849fa>_0x990b7e['to']&&this['right']['forEachLine'](_0x990b7e['to']+0x1,_0x4849fa,_0xe4b77a,_0x43c1d6,_0x1c35db,_0x3b383b);}}['replace'](_0x1a00ac,_0xa2a91,_0x38a6da){let _0x3b1fff=this['left']['length']+this['break'];if(_0xa2a91<_0x3b1fff)return this['balanced'](this['left']['replace'](_0x1a00ac,_0xa2a91,_0x38a6da),this['right']);if(_0x1a00ac>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x1a00ac-_0x3b1fff,_0xa2a91-_0x3b1fff,_0x38a6da));let _0xe24fe8=[];_0x1a00ac>0x0&&this['decomposeLeft'](_0x1a00ac,_0xe24fe8);let _0xaff76e=_0xe24fe8['length'];for(let _0xb7e62b of _0x38a6da)_0xe24fe8['push'](_0xb7e62b);if(_0x1a00ac>0x0&&pE(_0xe24fe8,_0xaff76e-0x1),_0xa2a91<this['length']){let _0x50268c=_0xe24fe8['length'];this['decomposeRight'](_0xa2a91,_0xe24fe8),pE(_0xe24fe8,_0x50268c);}return HeightMap['of'](_0xe24fe8);}['decomposeLeft'](_0x2e649f,_0x134c8e){let _0x2bf53b=this['left']['length'];if(_0x2e649f<=_0x2bf53b)return this['left']['decomposeLeft'](_0x2e649f,_0x134c8e);_0x134c8e['push'](this['left']),this['break']&&(_0x2bf53b++,_0x2e649f>=_0x2bf53b&&_0x134c8e['push'](null)),_0x2e649f>_0x2bf53b&&this['right']['decomposeLeft'](_0x2e649f-_0x2bf53b,_0x134c8e);}['decomposeRight'](_0x452d5e,_0x9a7dc8){let _0x28c807=this['left']['length'],_0xce130f=_0x28c807+this['break'];if(_0x452d5e>=_0xce130f)return this['right']['decomposeRight'](_0x452d5e-_0xce130f,_0x9a7dc8);_0x452d5e<_0x28c807&&this['left']['decomposeRight'](_0x452d5e,_0x9a7dc8),this['break']&&_0x452d5e<_0xce130f&&_0x9a7dc8['push'](null),_0x9a7dc8['push'](this['right']);}['balanced'](_0x21f3b6,_0x202a9b){return _0x21f3b6['size']>0x2*_0x202a9b['size']||_0x202a9b['size']>0x2*_0x21f3b6['size']?HeightMap['of'](this['break']?[_0x21f3b6,null,_0x202a9b]:[_0x21f3b6,_0x202a9b]):(this['left']=gE(this['left'],_0x21f3b6),this['right']=gE(this['right'],_0x202a9b),this['setHeight'](_0x21f3b6['height']+_0x202a9b['height']),this['outdated']=_0x21f3b6['outdated']||_0x202a9b['outdated'],this['size']=_0x21f3b6['size']+_0x202a9b['size'],this['length']=_0x21f3b6['length']+this['break']+_0x202a9b['length'],this);}['updateHeight'](_0xff29af,_0x549787=0x0,_0x3e0528=!0x1,_0xa782d2){let {left:_0x1ac96e,right:_0x3daa2e}=this,_0xa225d7=_0x549787+_0x1ac96e['length']+this['break'],_0x45c3a4=null;return _0xa782d2&&_0xa782d2['from']<=_0x549787+_0x1ac96e['length']&&_0xa782d2['more']?_0x45c3a4=_0x1ac96e=_0x1ac96e['updateHeight'](_0xff29af,_0x549787,_0x3e0528,_0xa782d2):_0x1ac96e['updateHeight'](_0xff29af,_0x549787,_0x3e0528),_0xa782d2&&_0xa782d2['from']<=_0xa225d7+_0x3daa2e['length']&&_0xa782d2['more']?_0x45c3a4=_0x3daa2e=_0x3daa2e['updateHeight'](_0xff29af,_0xa225d7,_0x3e0528,_0xa782d2):_0x3daa2e['updateHeight'](_0xff29af,_0xa225d7,_0x3e0528),_0x45c3a4?this['balanced'](_0x1ac96e,_0x3daa2e):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function pE(_0x1d7f5a,_0x34057d){let _0x29a30c,_0x34a8a7;null==_0x1d7f5a[_0x34057d]&&(_0x29a30c=_0x1d7f5a[_0x34057d-0x1])instanceof HeightMapGap&&(_0x34a8a7=_0x1d7f5a[_0x34057d+0x1])instanceof HeightMapGap&&_0x1d7f5a['splice'](_0x34057d-0x1,0x3,new HeightMapGap(_0x29a30c['length']+0x1+_0x34a8a7['length']));}class NodeBuilder{constructor(_0x3e28be,_0x3b7fc0){this['pos']=_0x3e28be,this['oracle']=_0x3b7fc0,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x3e28be;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x3d600e,_0x3250b0){if(this['lineStart']>-0x1){let _0x167ad8=Math['min'](_0x3250b0,this['lineEnd']),_0x875b13=this['nodes'][this['nodes']['length']-0x1];_0x875b13 instanceof HeightMapText?_0x875b13['length']+=_0x167ad8-this['pos']:(_0x167ad8>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x167ad8-this['pos'],-0x1)),this['writtenTo']=_0x167ad8,_0x3250b0>_0x167ad8&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x3250b0;}['point'](_0x13e6d8,_0x123b21,_0xaf44e6){if(_0x13e6d8<_0x123b21||_0xaf44e6['heightRelevant']){let _0x42d7e2=_0xaf44e6['widget']?_0xaf44e6['widget']['estimatedHeight']:0x0,_0x4be0b2=_0xaf44e6['widget']?_0xaf44e6['widget']['lineBreaks']:0x0;_0x42d7e2<0x0&&(_0x42d7e2=this['oracle']['lineHeight']);let _0x3888f7=_0x123b21-_0x13e6d8;_0xaf44e6['block']?this['addBlock'](new HeightMapBlock(_0x3888f7,_0x42d7e2,_0xaf44e6)):(_0x3888f7||_0x4be0b2||_0x42d7e2>=0x5)&&this['addLineDeco'](_0x42d7e2,_0x4be0b2,_0x3888f7);}else _0x123b21>_0x13e6d8&&this['span'](_0x13e6d8,_0x123b21);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x2b277c,to:_0x73839e}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x2b277c,this['lineEnd']=_0x73839e,this['writtenTo']<_0x2b277c&&((this['writtenTo']<_0x2b277c-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x2b277c-0x1)),this['nodes']['push'](null)),this['pos']>_0x2b277c&&this['nodes']['push'](new HeightMapText(this['pos']-_0x2b277c,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x2b773b,_0x1b4862){let _0x1f9d06=new HeightMapGap(_0x1b4862-_0x2b773b);return this['oracle']['doc']['lineAt'](_0x2b773b)['to']==_0x1b4862&&(_0x1f9d06['flags']|=0x4),_0x1f9d06;}['ensureLine'](){this['enterLine']();let _0x470ce6=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x470ce6 instanceof HeightMapText)return _0x470ce6;let _0x5a1da7=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x5a1da7),_0x5a1da7;}['addBlock'](_0x52ac19){this['enterLine']();let _0x4cebe7=_0x52ac19['deco'];_0x4cebe7&&_0x4cebe7['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x52ac19),this['writtenTo']=this['pos']=this['pos']+_0x52ac19['length'],_0x4cebe7&&_0x4cebe7['endSide']>0x0&&(this['covering']=_0x52ac19);}['addLineDeco'](_0x4736dc,_0x487fda,_0x1e1ff7){let _0x46f37e=this['ensureLine']();_0x46f37e['length']+=_0x1e1ff7,_0x46f37e['collapsed']+=_0x1e1ff7,_0x46f37e['widgetHeight']=Math['max'](_0x46f37e['widgetHeight'],_0x4736dc),_0x46f37e['breaks']+=_0x487fda,this['writtenTo']=this['pos']=this['pos']+_0x1e1ff7;}['finish'](_0x1dc11f){let _0x2b5f86=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x2b5f86 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x2b5f86)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x52775b=_0x1dc11f;for(let _0xcfec3a of this['nodes'])_0xcfec3a instanceof HeightMapText&&_0xcfec3a['updateHeight'](this['oracle'],_0x52775b),_0x52775b+=_0xcfec3a?_0xcfec3a['length']:0x1;return this['nodes'];}static['build'](_0x3a8358,_0x29a035,_0xcff5fd,_0x399f29){let _0x532504=new NodeBuilder(_0xcff5fd,_0x3a8358);return RangeSet['spans'](_0x29a035,_0xcff5fd,_0x399f29,_0x532504,0x0),_0x532504['finish'](_0xcff5fd);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x4a9a94,_0x2628c2,_0xcaa3d8,_0x181f12){(_0x4a9a94<_0x2628c2||_0xcaa3d8&&_0xcaa3d8['heightRelevant']||_0x181f12&&_0x181f12['heightRelevant'])&&yv(_0x4a9a94,_0x2628c2,this['changes'],0x5);}}function OE(_0x31334b,_0x15e84e){let _0x1f24bf=_0x31334b['getBoundingClientRect'](),_0x65a663=_0x31334b['ownerDocument'],_0x40a999=_0x65a663['defaultView']||window,_0x1cbaf3=Math['max'](0x0,_0x1f24bf['left']),_0x4b5f6b=Math['min'](_0x40a999['innerWidth'],_0x1f24bf['right']),_0x4c757c=Math['max'](0x0,_0x1f24bf['top']),_0x5dee83=Math['min'](_0x40a999['innerHeight'],_0x1f24bf['bottom']);for(let _0x30f10e=_0x31334b['parentNode'];_0x30f10e&&_0x30f10e!=_0x65a663['body'];)if(0x1==_0x30f10e['nodeType']){let _0x396daf=_0x30f10e,_0x232d92=window['getComputedStyle'](_0x396daf);if((_0x396daf['scrollHeight']>_0x396daf['clientHeight']||_0x396daf['scrollWidth']>_0x396daf['clientWidth'])&&'visible'!=_0x232d92['overflow']){let _0x3a3225=_0x396daf['getBoundingClientRect']();_0x1cbaf3=Math['max'](_0x1cbaf3,_0x3a3225['left']),_0x4b5f6b=Math['min'](_0x4b5f6b,_0x3a3225['right']),_0x4c757c=Math['max'](_0x4c757c,_0x3a3225['top']),_0x5dee83=Math['min'](_0x30f10e==_0x31334b['parentNode']?_0x40a999['innerHeight']:_0x5dee83,_0x3a3225['bottom']);}_0x30f10e='absolute'==_0x232d92['position']||'fixed'==_0x232d92['position']?_0x396daf['offsetParent']:_0x396daf['parentNode'];}else{if(0xb!=_0x30f10e['nodeType'])break;_0x30f10e=_0x30f10e['host'];}return{'left':_0x1cbaf3-_0x1f24bf['left'],'right':Math['max'](_0x1cbaf3,_0x4b5f6b)-_0x1f24bf['left'],'top':_0x4c757c-(_0x1f24bf['top']+_0x15e84e),'bottom':Math['max'](_0x4c757c,_0x5dee83)-(_0x1f24bf['top']+_0x15e84e)};}function wE(_0x1ded4c,_0x5c8e41){let _0x4bc382=_0x1ded4c['getBoundingClientRect']();return{'left':0x0,'right':_0x4bc382['right']-_0x4bc382['left'],'top':_0x5c8e41,'bottom':_0x4bc382['bottom']-(_0x4bc382['top']+_0x5c8e41)};}class LineGap{constructor(_0xfe847b,_0x441fd8,_0x4cdd53,_0x50fd33){this['from']=_0xfe847b,this['to']=_0x441fd8,this['size']=_0x4cdd53,this['displaySize']=_0x50fd33;}static['same'](_0x5767db,_0x2c7b0b){if(_0x5767db['length']!=_0x2c7b0b['length'])return!0x1;for(let _0x2aac80=0x0;_0x2aac80<_0x5767db['length'];_0x2aac80++){let _0x50bd10=_0x5767db[_0x2aac80],_0x15f485=_0x2c7b0b[_0x2aac80];if(_0x50bd10['from']!=_0x15f485['from']||_0x50bd10['to']!=_0x15f485['to']||_0x50bd10['size']!=_0x15f485['size'])return!0x1;}return!0x0;}['draw'](_0x460ee2,_0x1ce149){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x1ce149?_0x460ee2['scaleY']:_0x460ee2['scaleX']),_0x1ce149)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x55e2e3,_0x2eec89){super(),this['size']=_0x55e2e3,this['vertical']=_0x2eec89;}['eq'](_0x205c4a){return _0x205c4a['size']==this['size']&&_0x205c4a['vertical']==this['vertical'];}['toDOM'](){let _0x3c8cac=document['createElement']('div');return this['vertical']?_0x3c8cac['style']['height']=this['size']+'px':(_0x3c8cac['style']['width']=this['size']+'px',_0x3c8cac['style']['height']='2px',_0x3c8cac['style']['display']='inline-block'),_0x3c8cac;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x208bf0){this['state']=_0x208bf0,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']=_E,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=vv['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x362630=_0x208bf0['facet'](rT)['some'](_0xb81244=>'function'!=typeof _0xb81244&&'cm-lineWrapping'==_0xb81244['class']);this['heightOracle']=new HeightOracle(_0x362630),this['stateDeco']=_0x208bf0['facet'](oT)['filter'](_0x1acb8f=>'function'!=typeof _0x1acb8f),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x208bf0['doc']),[new ChangedRange(0x0,0x0,0x0,_0x208bf0['doc']['length'])]);for(let _0x2c40b1=0x0;_0x2c40b1<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x2c40b1++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x543b86=>_0x543b86['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x4ee4fe=[this['viewport']],{main:_0x1e8ecf}=this['state']['selection'];for(let _0x2b7d7a=0x0;_0x2b7d7a<=0x1;_0x2b7d7a++){let _0x4d17fc=_0x2b7d7a?_0x1e8ecf['head']:_0x1e8ecf['anchor'];if(!_0x4ee4fe['some'](({from:_0x41d2ff,to:_0x264b1b})=>_0x4d17fc>=_0x41d2ff&&_0x4d17fc<=_0x264b1b)){let {from:_0x1087e3,to:_0x43f88e}=this['lineBlockAt'](_0x4d17fc);_0x4ee4fe['push'](new Viewport(_0x1087e3,_0x43f88e));}}return this['viewports']=_0x4ee4fe['sort']((_0xf8e889,_0x78d3b1)=>_0xf8e889['from']-_0x78d3b1['from']),this['updateScaler']();}['updateScaler'](){let _0x2dcf9a=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_E:new BigScaler(this['heightOracle'],this['heightMap'],this['viewports']),_0x2dcf9a['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,_0x33523c=>{this['viewportLines']['push'](vE(_0x33523c,this['scaler']));});}['update'](_0x1b2efd,_0x197877=null){this['state']=_0x1b2efd['state'];let _0x58d325=this['stateDeco'];this['stateDeco']=this['state']['facet'](oT)['filter'](_0x5e49ad=>'function'!=typeof _0x5e49ad);let _0x1395d7=_0x1b2efd['changedRanges'],_0x506909=ChangedRange['extendWithRanges'](_0x1395d7,function(_0x55542e,_0x26c989,_0x4d54d2){let _0x53e6fb=new DecorationComparator();return RangeSet['compare'](_0x55542e,_0x26c989,_0x4d54d2,_0x53e6fb,0x0),_0x53e6fb['changes'];}(_0x58d325,this['stateDeco'],_0x1b2efd?_0x1b2efd['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x431295=this['heightMap']['height'],_0x576a56=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);dE(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x1b2efd['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x506909),(this['heightMap']['height']!=_0x431295||uE)&&(_0x1b2efd['flags']|=0x2),_0x576a56?(this['scrollAnchorPos']=_0x1b2efd['changes']['mapPos'](_0x576a56['from'],-0x1),this['scrollAnchorHeight']=_0x576a56['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x431295);let _0x57a751=_0x506909['length']?this['mapViewport'](this['viewport'],_0x1b2efd['changes']):this['viewport'];(_0x197877&&(_0x197877['range']['head']<_0x57a751['from']||_0x197877['range']['head']>_0x57a751['to'])||!this['viewportIsAppropriate'](_0x57a751))&&(_0x57a751=this['getViewport'](0x0,_0x197877));let _0x2aa685=_0x57a751['from']!=this['viewport']['from']||_0x57a751['to']!=this['viewport']['to'];this['viewport']=_0x57a751,_0x1b2efd['flags']|=this['updateForViewport'](),(_0x2aa685||!_0x1b2efd['changes']['empty']||0x2&_0x1b2efd['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x1b2efd['changes']))),_0x1b2efd['flags']|=this['computeVisibleRanges'](_0x1b2efd['changes']),_0x197877&&(this['scrollTarget']=_0x197877),!this['mustEnforceCursorAssoc']&&_0x1b2efd['selectionSet']&&_0x1b2efd['view']['lineWrapping']&&_0x1b2efd['state']['selection']['main']['empty']&&_0x1b2efd['state']['selection']['main']['assoc']&&!_0x1b2efd['state']['facet'](zv)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x58e39e){let _0x256932=_0x58e39e['contentDOM'],_0x2d1d1b=window['getComputedStyle'](_0x256932),_0x51bbba=this['heightOracle'],_0x3a83bf=_0x2d1d1b['whiteSpace'];this['defaultTextDirection']='rtl'==_0x2d1d1b['direction']?vv['RTL']:vv['LTR'];let _0x5a5cd9=this['heightOracle']['mustRefreshForWrapping'](_0x3a83bf),_0x146bee=_0x256932['getBoundingClientRect'](),_0x4c6038=_0x5a5cd9||this['mustMeasureContent']||this['contentDOMHeight']!=_0x146bee['height'];this['contentDOMHeight']=_0x146bee['height'],this['mustMeasureContent']=!0x1;let _0x3b090f=0x0,_0x45e9e1=0x0;if(_0x146bee['width']&&_0x146bee['height']){let {scaleX:_0x16631b,scaleY:_0x3581ec}=W_(_0x256932,_0x146bee);(_0x16631b>0.005&&Math['abs'](this['scaleX']-_0x16631b)>0.005||_0x3581ec>0.005&&Math['abs'](this['scaleY']-_0x3581ec)>0.005)&&(this['scaleX']=_0x16631b,this['scaleY']=_0x3581ec,_0x3b090f|=0x10,_0x5a5cd9=_0x4c6038=!0x0);}let _0x3a0ba8=(parseInt(_0x2d1d1b['paddingTop'])||0x0)*this['scaleY'],_0x1eb374=(parseInt(_0x2d1d1b['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x3a0ba8&&this['paddingBottom']==_0x1eb374||(this['paddingTop']=_0x3a0ba8,this['paddingBottom']=_0x1eb374,_0x3b090f|=0x12),this['editorWidth']!=_0x58e39e['scrollDOM']['clientWidth']&&(_0x51bbba['lineWrapping']&&(_0x4c6038=!0x0),this['editorWidth']=_0x58e39e['scrollDOM']['clientWidth'],_0x3b090f|=0x10);let _0x412af4=_0x58e39e['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x412af4&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x412af4),this['scrolledToBottom']=iv(_0x58e39e['scrollDOM']);let _0x3fabc2=(this['printing']?wE:OE)(_0x256932,this['paddingTop']),_0xd1bb2c=_0x3fabc2['top']-this['pixelViewport']['top'],_0x134bab=_0x3fabc2['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x3fabc2;let _0x45bd52=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x45bd52!=this['inView']&&(this['inView']=_0x45bd52,_0x45bd52&&(_0x4c6038=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x39cae5){let _0x434576=_0x39cae5['getBoundingClientRect'](),_0x60278c=_0x39cae5['ownerDocument']['defaultView']||window;return _0x434576['left']<_0x60278c['innerWidth']&&_0x434576['right']>0x0&&_0x434576['top']<_0x60278c['innerHeight']&&_0x434576['bottom']>0x0;}(_0x58e39e['dom']))return 0x0;let _0x52de47=_0x146bee['width'];if(this['contentDOMWidth']==_0x52de47&&this['editorHeight']==_0x58e39e['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x146bee['width'],this['editorHeight']=_0x58e39e['scrollDOM']['clientHeight'],_0x3b090f|=0x10),_0x4c6038){let _0x440334=_0x58e39e['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x51bbba['mustRefreshForHeights'](_0x440334)&&(_0x5a5cd9=!0x0),_0x5a5cd9||_0x51bbba['lineWrapping']&&Math['abs'](_0x52de47-this['contentDOMWidth'])>_0x51bbba['charWidth']){let {lineHeight:_0xc76051,charWidth:_0x167347,textHeight:_0x40ea36}=_0x58e39e['docView']['measureTextSize']();_0x5a5cd9=_0xc76051>0x0&&_0x51bbba['refresh'](_0x3a83bf,_0xc76051,_0x167347,_0x40ea36,Math['max'](0x5,_0x52de47/_0x167347),_0x440334),_0x5a5cd9&&(_0x58e39e['docView']['minWidth']=0x0,_0x3b090f|=0x10);}_0xd1bb2c>0x0&&_0x134bab>0x0?_0x45e9e1=Math['max'](_0xd1bb2c,_0x134bab):_0xd1bb2c<0x0&&_0x134bab<0x0&&(_0x45e9e1=Math['min'](_0xd1bb2c,_0x134bab)),dE();for(let _0x3f3ef7 of this['viewports']){let _0x4ceef8=_0x3f3ef7['from']==this['viewport']['from']?_0x440334:_0x58e39e['docView']['measureVisibleLineHeights'](_0x3f3ef7);this['heightMap']=(_0x5a5cd9?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new ChangedRange(0x0,0x0,0x0,_0x58e39e['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x51bbba,0x0,_0x5a5cd9,new MeasuredHeights(_0x3f3ef7['from'],_0x4ceef8));}uE&&(_0x3b090f|=0x2);}let _0x401b74=!this['viewportIsAppropriate'](this['viewport'],_0x45e9e1)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x401b74&&(0x2&_0x3b090f&&(_0x3b090f|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x45e9e1,this['scrollTarget']),_0x3b090f|=this['updateForViewport']()),(0x2&_0x3b090f||_0x401b74)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x5a5cd9?[]:this['lineGaps'],_0x58e39e)),_0x3b090f|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x58e39e['docView']['enforceCursorAssoc']()),_0x3b090f;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x47a8fa,_0x3a9f66){let _0x1890a6=0.5-Math['max'](-0.5,Math['min'](0.5,_0x47a8fa/0x3e8/0x2)),_0x5e77b1=this['heightMap'],_0xe6c706=this['heightOracle'],{visibleTop:_0x244432,visibleBottom:_0x9cb522}=this,_0xecedb2=new Viewport(_0x5e77b1['lineAt'](_0x244432-0x3e8*_0x1890a6,fE['ByHeight'],_0xe6c706,0x0,0x0)['from'],_0x5e77b1['lineAt'](_0x9cb522+0x3e8*(0x1-_0x1890a6),fE['ByHeight'],_0xe6c706,0x0,0x0)['to']);if(_0x3a9f66){let {head:_0x4d430a}=_0x3a9f66['range'];if(_0x4d430a<_0xecedb2['from']||_0x4d430a>_0xecedb2['to']){let _0x753077,_0x146380=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x16c382=_0x5e77b1['lineAt'](_0x4d430a,fE['ByPos'],_0xe6c706,0x0,0x0);_0x753077='center'==_0x3a9f66['y']?(_0x16c382['top']+_0x16c382['bottom'])/0x2-_0x146380/0x2:'start'==_0x3a9f66['y']||'nearest'==_0x3a9f66['y']&&_0x4d430a<_0xecedb2['from']?_0x16c382['top']:_0x16c382['bottom']-_0x146380,_0xecedb2=new Viewport(_0x5e77b1['lineAt'](_0x753077-0x1f4,fE['ByHeight'],_0xe6c706,0x0,0x0)['from'],_0x5e77b1['lineAt'](_0x753077+_0x146380+0x1f4,fE['ByHeight'],_0xe6c706,0x0,0x0)['to']);}}return _0xecedb2;}['mapViewport'](_0xdc1d5b,_0xe1aa53){let _0x47069f=_0xe1aa53['mapPos'](_0xdc1d5b['from'],-0x1),_0x1731c5=_0xe1aa53['mapPos'](_0xdc1d5b['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x47069f,fE['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x1731c5,fE['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x7d05be,to:_0x10f6a1},_0x224bef=0x0){if(!this['inView'])return!0x0;let {top:_0x187f2c}=this['heightMap']['lineAt'](_0x7d05be,fE['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x488e67}=this['heightMap']['lineAt'](_0x10f6a1,fE['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x1c740f,visibleBottom:_0x747396}=this;return(0x0==_0x7d05be||_0x187f2c<=_0x1c740f-Math['max'](0xa,Math['min'](-_0x224bef,0xfa)))&&(_0x10f6a1==this['state']['doc']['length']||_0x488e67>=_0x747396+Math['max'](0xa,Math['min'](_0x224bef,0xfa)))&&_0x187f2c>_0x1c740f-0x7d0&&_0x488e67<_0x747396+0x7d0;}['mapLineGaps'](_0xe53e40,_0x2b5156){if(!_0xe53e40['length']||_0x2b5156['empty'])return _0xe53e40;let _0x39a73f=[];for(let _0x266e3d of _0xe53e40)_0x2b5156['touchesRange'](_0x266e3d['from'],_0x266e3d['to'])||_0x39a73f['push'](new LineGap(_0x2b5156['mapPos'](_0x266e3d['from']),_0x2b5156['mapPos'](_0x266e3d['to']),_0x266e3d['size'],_0x266e3d['displaySize']));return _0x39a73f;}['ensureLineGaps'](_0x3f99ea,_0x3b8c2e){let _0x354d71=this['heightOracle']['lineWrapping'],_0xaf1952=_0x354d71?0x2710:0x7d0,_0x4b30fc=_0xaf1952>>0x1,_0x2c76d7=_0xaf1952<<0x1;if(this['defaultTextDirection']!=vv['LTR']&&!_0x354d71)return[];let _0xcc0968=[],_0x1cddfb=(_0x2a5ee2,_0x21be1f,_0xb07423,_0x5734a5)=>{if(_0x21be1f-_0x2a5ee2<_0x4b30fc)return;let _0x19dd80=this['state']['selection']['main'],_0x547d19=[_0x19dd80['from']];_0x19dd80['empty']||_0x547d19['push'](_0x19dd80['to']);for(let _0x2518b3 of _0x547d19)if(_0x2518b3>_0x2a5ee2&&_0x2518b3<_0x21be1f)return _0x1cddfb(_0x2a5ee2,_0x2518b3-0xa,_0xb07423,_0x5734a5),void _0x1cddfb(_0x2518b3+0xa,_0x21be1f,_0xb07423,_0x5734a5);let _0x2592dd=function(_0x4ff3db,_0x40722f){for(let _0x572608 of _0x4ff3db)if(_0x40722f(_0x572608))return _0x572608;return;}(_0x3f99ea,_0xb8ade0=>_0xb8ade0['from']>=_0xb07423['from']&&_0xb8ade0['to']<=_0xb07423['to']&&Math['abs'](_0xb8ade0['from']-_0x2a5ee2)<_0x4b30fc&&Math['abs'](_0xb8ade0['to']-_0x21be1f)<_0x4b30fc&&!_0x547d19['some'](_0x435167=>_0xb8ade0['from']<_0x435167&&_0xb8ade0['to']>_0x435167));if(!_0x2592dd){if(_0x21be1f<_0xb07423['to']&&_0x3b8c2e&&_0x354d71&&_0x3b8c2e['visibleRanges']['some'](_0x4e0fa4=>_0x4e0fa4['from']<=_0x21be1f&&_0x4e0fa4['to']>=_0x21be1f)){let _0x2a9984=_0x3b8c2e['moveToLineBoundary'](EditorSelection['cursor'](_0x21be1f),!0x1,!0x0)['head'];_0x2a9984>_0x2a5ee2&&(_0x21be1f=_0x2a9984);}let _0x48133a=this['gapSize'](_0xb07423,_0x2a5ee2,_0x21be1f,_0x5734a5);_0x2592dd=new LineGap(_0x2a5ee2,_0x21be1f,_0x48133a,_0x354d71||_0x48133a<0x1e8480?_0x48133a:0x1e8480);}_0xcc0968['push'](_0x2592dd);},_0x4cff0b=_0x1860fc=>{if(_0x1860fc['length']<_0x2c76d7||_0x1860fc['type']!=wv['Text'])return;let _0x44293c=function(_0x55d597,_0x5a0c26,_0x47f15a){let _0x53361b=[],_0x54de0f=_0x55d597,_0x9ca78b=0x0;return RangeSet['spans'](_0x47f15a,_0x55d597,_0x5a0c26,{'span'(){},'point'(_0x135856,_0x208acf){_0x135856>_0x54de0f&&(_0x53361b['push']({'from':_0x54de0f,'to':_0x135856}),_0x9ca78b+=_0x135856-_0x54de0f),_0x54de0f=_0x208acf;}},0x14),_0x54de0f<_0x5a0c26&&(_0x53361b['push']({'from':_0x54de0f,'to':_0x5a0c26}),_0x9ca78b+=_0x5a0c26-_0x54de0f),{'total':_0x9ca78b,'ranges':_0x53361b};}(_0x1860fc['from'],_0x1860fc['to'],this['stateDeco']);if(_0x44293c['total']<_0x2c76d7)return;let _0x24e77b,_0x4a317b,_0x2884f3=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x354d71){let _0x32b9bd,_0x49875c,_0x311ca5=_0xaf1952/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x2884f3){let _0xe433d1=yE(_0x44293c,_0x2884f3),_0x9cdcd6=((this['visibleBottom']-this['visibleTop'])/0x2+_0x311ca5)/_0x1860fc['height'];_0x32b9bd=_0xe433d1-_0x9cdcd6,_0x49875c=_0xe433d1+_0x9cdcd6;}else _0x32b9bd=(this['visibleTop']-_0x1860fc['top']-_0x311ca5)/_0x1860fc['height'],_0x49875c=(this['visibleBottom']-_0x1860fc['top']+_0x311ca5)/_0x1860fc['height'];_0x24e77b=bE(_0x44293c,_0x32b9bd),_0x4a317b=bE(_0x44293c,_0x49875c);}else{let _0x101f6f=_0x44293c['total']*this['heightOracle']['charWidth'],_0x24870a=_0xaf1952*this['heightOracle']['charWidth'],_0x286d09=0x0;if(_0x101f6f>0x1e8480){for(let _0x2686db of _0x3f99ea)_0x2686db['from']>=_0x1860fc['from']&&_0x2686db['from']<_0x1860fc['to']&&_0x2686db['size']!=_0x2686db['displaySize']&&_0x2686db['from']*this['heightOracle']['charWidth']+_0x286d09<this['pixelViewport']['left']&&(_0x286d09=_0x2686db['size']-_0x2686db['displaySize']);}let _0x166c8c,_0x19a712,_0x235314=this['pixelViewport']['left']+_0x286d09,_0x3b6c45=this['pixelViewport']['right']+_0x286d09;if(null!=_0x2884f3){let _0x4cd8d4=yE(_0x44293c,_0x2884f3),_0x27d226=((_0x3b6c45-_0x235314)/0x2+_0x24870a)/_0x101f6f;_0x166c8c=_0x4cd8d4-_0x27d226,_0x19a712=_0x4cd8d4+_0x27d226;}else _0x166c8c=(_0x235314-_0x24870a)/_0x101f6f,_0x19a712=(_0x3b6c45+_0x24870a)/_0x101f6f;_0x24e77b=bE(_0x44293c,_0x166c8c),_0x4a317b=bE(_0x44293c,_0x19a712);}_0x24e77b>_0x1860fc['from']&&_0x1cddfb(_0x1860fc['from'],_0x24e77b,_0x1860fc,_0x44293c),_0x4a317b<_0x1860fc['to']&&_0x1cddfb(_0x4a317b,_0x1860fc['to'],_0x1860fc,_0x44293c);};for(let _0x5d82dd of this['viewportLines'])Array['isArray'](_0x5d82dd['type'])?_0x5d82dd['type']['forEach'](_0x4cff0b):_0x4cff0b(_0x5d82dd);return _0xcc0968;}['gapSize'](_0x2cd5e8,_0x1242c9,_0x47c83a,_0x43900c){let _0x32cb27=yE(_0x43900c,_0x47c83a)-yE(_0x43900c,_0x1242c9);return this['heightOracle']['lineWrapping']?_0x2cd5e8['height']*_0x32cb27:_0x43900c['total']*this['heightOracle']['charWidth']*_0x32cb27;}['updateLineGaps'](_0x4c78c9){LineGap['same'](_0x4c78c9,this['lineGaps'])||(this['lineGaps']=_0x4c78c9,this['lineGapDeco']=Decoration['set'](_0x4c78c9['map'](_0x2af16c=>_0x2af16c['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x37af81){let _0x5787c2=this['stateDeco'];this['lineGaps']['length']&&(_0x5787c2=_0x5787c2['concat'](this['lineGapDeco']));let _0x4a5e38=[];RangeSet['spans'](_0x5787c2,this['viewport']['from'],this['viewport']['to'],{'span'(_0x43d47f,_0x1d9422){_0x4a5e38['push']({'from':_0x43d47f,'to':_0x1d9422});},'point'(){}},0x14);let _0x43f36e=0x0;if(_0x4a5e38['length']!=this['visibleRanges']['length'])_0x43f36e=0xc;else for(let _0x1c770e=0x0;_0x1c770e<_0x4a5e38['length']&&!(0x8&_0x43f36e);_0x1c770e++){let _0x73dd56=this['visibleRanges'][_0x1c770e],_0x1ac1c2=_0x4a5e38[_0x1c770e];_0x73dd56['from']==_0x1ac1c2['from']&&_0x73dd56['to']==_0x1ac1c2['to']||(_0x43f36e|=0x4,_0x37af81&&_0x37af81['mapPos'](_0x73dd56['from'],-0x1)==_0x1ac1c2['from']&&_0x37af81['mapPos'](_0x73dd56['to'],0x1)==_0x1ac1c2['to']||(_0x43f36e|=0x8));}return this['visibleRanges']=_0x4a5e38,_0x43f36e;}['lineBlockAt'](_0x168fb5){return _0x168fb5>=this['viewport']['from']&&_0x168fb5<=this['viewport']['to']&&this['viewportLines']['find'](_0x101b50=>_0x101b50['from']<=_0x168fb5&&_0x101b50['to']>=_0x168fb5)||vE(this['heightMap']['lineAt'](_0x168fb5,fE['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x37fbbf){return _0x37fbbf>=this['viewportLines'][0x0]['top']&&_0x37fbbf<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x5d43b2=>_0x5d43b2['top']<=_0x37fbbf&&_0x5d43b2['bottom']>=_0x37fbbf)||vE(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x37fbbf),fE['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x57bee2){let _0x2755f8=this['lineBlockAtHeight'](_0x57bee2+0x8);return _0x2755f8['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x57bee2>0xc8?_0x2755f8:this['viewportLines'][0x0];}['elementAtHeight'](_0x469a98){return vE(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x469a98),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(_0x1cce80,_0x55d771){this['from']=_0x1cce80,this['to']=_0x55d771;}}function bE({total:_0xc8b7f6,ranges:_0x3b7bfc},_0x2aa066){if(_0x2aa066<=0x0)return _0x3b7bfc[0x0]['from'];if(_0x2aa066>=0x1)return _0x3b7bfc[_0x3b7bfc['length']-0x1]['to'];let _0x4449b1=Math['floor'](_0xc8b7f6*_0x2aa066);for(let _0x1584ca=0x0;;_0x1584ca++){let {from:_0x3ff0df,to:_0x37814f}=_0x3b7bfc[_0x1584ca],_0x17c7b2=_0x37814f-_0x3ff0df;if(_0x4449b1<=_0x17c7b2)return _0x3ff0df+_0x4449b1;_0x4449b1-=_0x17c7b2;}}function yE(_0x172d65,_0x102b3e){let _0x236206=0x0;for(let {from:_0x43b32d,to:_0x48a541}of _0x172d65['ranges']){if(_0x102b3e<=_0x48a541){_0x236206+=_0x102b3e-_0x43b32d;break;}_0x236206+=_0x48a541-_0x43b32d;}return _0x236206/_0x172d65['total'];}const _E={'toDOM':_0x43b591=>_0x43b591,'fromDOM':_0x597ae9=>_0x597ae9,'scale':0x1,'eq'(_0x1ae37d){return _0x1ae37d==this;}};class BigScaler{constructor(_0x269d23,_0x43b674,_0x2e7cc0){let _0x3dee9e=0x0,_0x48dc5c=0x0,_0x1bd312=0x0;this['viewports']=_0x2e7cc0['map'](({from:_0x174f19,to:_0x5ba368})=>{let _0x36be1f=_0x43b674['lineAt'](_0x174f19,fE['ByPos'],_0x269d23,0x0,0x0)['top'],_0x4c2f50=_0x43b674['lineAt'](_0x5ba368,fE['ByPos'],_0x269d23,0x0,0x0)['bottom'];return _0x3dee9e+=_0x4c2f50-_0x36be1f,{'from':_0x174f19,'to':_0x5ba368,'top':_0x36be1f,'bottom':_0x4c2f50,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x3dee9e)/(_0x43b674['height']-_0x3dee9e);for(let _0x11c7f0 of this['viewports'])_0x11c7f0['domTop']=_0x1bd312+(_0x11c7f0['top']-_0x48dc5c)*this['scale'],_0x1bd312=_0x11c7f0['domBottom']=_0x11c7f0['domTop']+(_0x11c7f0['bottom']-_0x11c7f0['top']),_0x48dc5c=_0x11c7f0['bottom'];}['toDOM'](_0x11a880){for(let _0x4e0891=0x0,_0x555336=0x0,_0x3a09c6=0x0;;_0x4e0891++){let _0x3fd8f4=_0x4e0891<this['viewports']['length']?this['viewports'][_0x4e0891]:null;if(!_0x3fd8f4||_0x11a880<_0x3fd8f4['top'])return _0x3a09c6+(_0x11a880-_0x555336)*this['scale'];if(_0x11a880<=_0x3fd8f4['bottom'])return _0x3fd8f4['domTop']+(_0x11a880-_0x3fd8f4['top']);_0x555336=_0x3fd8f4['bottom'],_0x3a09c6=_0x3fd8f4['domBottom'];}}['fromDOM'](_0x421007){for(let _0x1cdebc=0x0,_0x97439b=0x0,_0x3f76d4=0x0;;_0x1cdebc++){let _0x30df3=_0x1cdebc<this['viewports']['length']?this['viewports'][_0x1cdebc]:null;if(!_0x30df3||_0x421007<_0x30df3['domTop'])return _0x97439b+(_0x421007-_0x3f76d4)/this['scale'];if(_0x421007<=_0x30df3['domBottom'])return _0x30df3['top']+(_0x421007-_0x30df3['domTop']);_0x97439b=_0x30df3['bottom'],_0x3f76d4=_0x30df3['domBottom'];}}['eq'](_0x1842da){return _0x1842da instanceof BigScaler&&(this['scale']==_0x1842da['scale']&&this['viewports']['length']==_0x1842da['viewports']['length']&&this['viewports']['every']((_0x4e254f,_0x46f328)=>_0x4e254f['from']==_0x1842da['viewports'][_0x46f328]['from']&&_0x4e254f['to']==_0x1842da['viewports'][_0x46f328]['to']));}}function vE(_0x4768dd,_0x17ad2d){if(0x1==_0x17ad2d['scale'])return _0x4768dd;let _0x462f13=_0x17ad2d['toDOM'](_0x4768dd['top']),_0x3d728e=_0x17ad2d['toDOM'](_0x4768dd['bottom']);return new BlockInfo(_0x4768dd['from'],_0x4768dd['length'],_0x462f13,_0x3d728e-_0x462f13,Array['isArray'](_0x4768dd['_content'])?_0x4768dd['_content']['map'](_0x10d084=>vE(_0x10d084,_0x17ad2d)):_0x4768dd['_content']);}const TE=Facet['define']({'combine':_0x56077a=>_0x56077a['join']('\x20')}),EE=Facet['define']({'combine':_0x2383d7=>_0x2383d7['indexOf'](!0x0)>-0x1}),AE=StyleModule['newName'](),IE=StyleModule['newName'](),SE=StyleModule['newName'](),CE={'&light':'.'+IE,'&dark':'.'+SE};function kE(_0x108ed6,_0xf01f8,_0x5d0b63){return new StyleModule(_0xf01f8,{'finish':_0x16b24d=>/&/['test'](_0x16b24d)?_0x16b24d['replace'](/&\w*/,_0x39d840=>{if('&'==_0x39d840)return _0x108ed6;if(!_0x5d0b63||!_0x5d0b63[_0x39d840])throw new RangeError('Unsupported\x20selector:\x20'+_0x39d840);return _0x5d0b63[_0x39d840];}):_0x108ed6+'\x20'+_0x16b24d});}const xE=kE('.'+AE,{'&':{'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'}},CE),RE={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},PE=Q_['ie']&&Q_['ie_version']<=0xb;class DOMObserver{constructor(_0x3538ec){this['view']=_0x3538ec,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']=_0x3538ec['contentDOM'],this['observer']=new MutationObserver(_0x213c55=>{for(let _0x78fa3b of _0x213c55)this['queue']['push'](_0x78fa3b);(Q_['ie']&&Q_['ie_version']<=0xb||Q_['ios']&&_0x3538ec['composing'])&&_0x213c55['some'](_0xf27bfc=>'childList'==_0xf27bfc['type']&&_0xf27bfc['removedNodes']['length']||'characterData'==_0xf27bfc['type']&&_0xf27bfc['oldValue']['length']>_0xf27bfc['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!Q_['android']||!0x1===_0x3538ec['constructor']['EDIT_CONTEXT']||Q_['chrome']&&Q_['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x3538ec),_0x3538ec['state']['facet'](eT)&&(_0x3538ec['contentDOM']['editContext']=this['editContext']['editContext'])),PE&&(this['onCharData']=_0x4356bd=>{this['queue']['push']({'target':_0x4356bd['target'],'type':'characterData','oldValue':_0x4356bd['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 _0x3fe4a7;(null===(_0x3fe4a7=this['view']['docView'])||void 0x0===_0x3fe4a7?void 0x0:_0x3fe4a7['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x3538ec['scrollDOM'])),this['addWindowListeners'](this['win']=_0x3538ec['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x1f8771=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x1f8771['length']>0x0&&_0x1f8771[_0x1f8771['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(_0x3bde09=>{_0x3bde09['length']>0x0&&_0x3bde09[_0x3bde09['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x57fd74){this['view']['inputState']['runHandlers']('scroll',_0x57fd74),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x49dfe4){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x49dfe4);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x41f35b){('change'!=_0x41f35b['type']&&_0x41f35b['type']||_0x41f35b['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x3b1921){if(this['gapIntersection']&&(_0x3b1921['length']!=this['gaps']['length']||this['gaps']['some']((_0x256fd0,_0xe7d31)=>_0x256fd0!=_0x3b1921[_0xe7d31]))){this['gapIntersection']['disconnect']();for(let _0x3026ea of _0x3b1921)this['gapIntersection']['observe'](_0x3026ea);this['gaps']=_0x3b1921;}}['onSelectionChange'](_0x48d031){let _0x56ef15=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x1ad2a2}=this,_0x844666=this['selectionRange'];if(_0x1ad2a2['state']['facet'](eT)?_0x1ad2a2['root']['activeElement']!=this['dom']:!U_(this['dom'],_0x844666))return;let _0x5d5611=_0x844666['anchorNode']&&_0x1ad2a2['docView']['nearest'](_0x844666['anchorNode']);_0x5d5611&&_0x5d5611['ignoreEvent'](_0x48d031)?_0x56ef15||(this['selectionChanged']=!0x1):(Q_['ie']&&Q_['ie_version']<=0xb||Q_['android']&&Q_['chrome'])&&!_0x1ad2a2['state']['selection']['main']['empty']&&_0x844666['focusNode']&&F_(_0x844666['focusNode'],_0x844666['focusOffset'],_0x844666['anchorNode'],_0x844666['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x3b3f34}=this,_0x2a2db3=$_(_0x3b3f34['root']);if(!_0x2a2db3)return!0x1;let _0x1d94f6=Q_['safari']&&0xb==_0x3b3f34['root']['nodeType']&&_0x3b3f34['root']['activeElement']==this['dom']&&function(_0x58abdc,_0x51a34a){if(_0x51a34a['getComposedRanges']){let _0x4e8f15=_0x51a34a['getComposedRanges'](_0x58abdc['root'])[0x0];if(_0x4e8f15)return NE(_0x58abdc,_0x4e8f15);}let _0x3b322a=null;function _0x1bafa9(_0x56429b){_0x56429b['preventDefault'](),_0x56429b['stopImmediatePropagation'](),_0x3b322a=_0x56429b['getTargetRanges']()[0x0];}return _0x58abdc['contentDOM']['addEventListener']('beforeinput',_0x1bafa9,!0x0),_0x58abdc['dom']['ownerDocument']['execCommand']('indent'),_0x58abdc['contentDOM']['removeEventListener']('beforeinput',_0x1bafa9,!0x0),_0x3b322a?NE(_0x58abdc,_0x3b322a):null;}(this['view'],_0x2a2db3)||_0x2a2db3;if(!_0x1d94f6||this['selectionRange']['eq'](_0x1d94f6))return!0x1;let _0x25dbb9=U_(this['dom'],_0x1d94f6);return _0x25dbb9&&!this['selectionChanged']&&_0x3b3f34['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x3b3f34['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0xd6c2ca,_0x527830){let _0x6fe86d=_0x527830['focusNode'],_0x12877e=_0x527830['focusOffset'];if(!_0x6fe86d||_0x527830['anchorNode']!=_0x6fe86d||_0x527830['anchorOffset']!=_0x12877e)return!0x1;for(_0x12877e=Math['min'](_0x12877e,Z_(_0x6fe86d));;)if(_0x12877e){if(0x1!=_0x6fe86d['nodeType'])return!0x1;let _0x1de1a0=_0x6fe86d['childNodes'][_0x12877e-0x1];'false'==_0x1de1a0['contentEditable']?_0x12877e--:(_0x6fe86d=_0x1de1a0,_0x12877e=Z_(_0x6fe86d));}else{if(_0x6fe86d==_0xd6c2ca)return!0x0;_0x12877e=j_(_0x6fe86d),_0x6fe86d=_0x6fe86d['parentNode'];}}(this['dom'],_0x1d94f6)?(this['view']['inputState']['lastFocusTime']=0x0,_0x3b3f34['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x1d94f6),_0x25dbb9&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x1d732e,_0x13b096){this['selectionRange']['set'](_0x1d732e['node'],_0x1d732e['offset'],_0x13b096['node'],_0x13b096['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x2fc450=0x0,_0x258c34=null;for(let _0x23d106=this['dom'];_0x23d106;)if(0x1==_0x23d106['nodeType'])!_0x258c34&&_0x2fc450<this['scrollTargets']['length']&&this['scrollTargets'][_0x2fc450]==_0x23d106?_0x2fc450++:_0x258c34||(_0x258c34=this['scrollTargets']['slice'](0x0,_0x2fc450)),_0x258c34&&_0x258c34['push'](_0x23d106),_0x23d106=_0x23d106['assignedSlot']||_0x23d106['parentNode'];else{if(0xb!=_0x23d106['nodeType'])break;_0x23d106=_0x23d106['host'];}if(_0x2fc450<this['scrollTargets']['length']&&!_0x258c34&&(_0x258c34=this['scrollTargets']['slice'](0x0,_0x2fc450)),_0x258c34){for(let _0x23e21e of this['scrollTargets'])_0x23e21e['removeEventListener']('scroll',this['onScroll']);for(let _0x52cd6e of this['scrollTargets']=_0x258c34)_0x52cd6e['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x2c6a64){if(!this['active'])return _0x2c6a64();try{return this['stop'](),_0x2c6a64();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],RE),PE&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),PE&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x5a4637,_0xe6bf95){var _0x1c1ad3;if(!this['delayedAndroidKey']){let _0x5b2072=()=>{let _0x5dd540=this['delayedAndroidKey'];_0x5dd540&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x5dd540['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x5dd540['force']&&tv(this['dom'],_0x5dd540['key'],_0x5dd540['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x5b2072);}this['delayedAndroidKey']&&'Enter'!=_0x5a4637||(this['delayedAndroidKey']={'key':_0x5a4637,'keyCode':_0xe6bf95,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x1c1ad3=this['delayedAndroidKey'])||void 0x0===_0x1c1ad3?void 0x0:_0x1c1ad3['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 _0x402193 of this['observer']['takeRecords']())this['queue']['push'](_0x402193);return this['queue'];}['processRecords'](){let _0x3ebc30=this['pendingRecords']();_0x3ebc30['length']&&(this['queue']=[]);let _0x17d2a0=-0x1,_0x2cbdfc=-0x1,_0x16e76e=!0x1;for(let _0x32da96 of _0x3ebc30){let _0x225cd7=this['readMutation'](_0x32da96);_0x225cd7&&(_0x225cd7['typeOver']&&(_0x16e76e=!0x0),-0x1==_0x17d2a0?{from:_0x17d2a0,to:_0x2cbdfc}=_0x225cd7:(_0x17d2a0=Math['min'](_0x225cd7['from'],_0x17d2a0),_0x2cbdfc=Math['max'](_0x225cd7['to'],_0x2cbdfc)));}return{'from':_0x17d2a0,'to':_0x2cbdfc,'typeOver':_0x16e76e};}['readChange'](){let {from:_0x4d8778,to:_0x2ee3f7,typeOver:_0x2aa742}=this['processRecords'](),_0x24b7c6=this['selectionChanged']&&U_(this['dom'],this['selectionRange']);if(_0x4d8778<0x0&&!_0x24b7c6)return null;_0x4d8778>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x5e2e0a=new DOMChange(this['view'],_0x4d8778,_0x2ee3f7,_0x2aa742);return this['view']['docView']['domChanged']={'newSel':_0x5e2e0a['newSel']?_0x5e2e0a['newSel']['main']:null},_0x5e2e0a;}['flush'](_0x11af96=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x11af96&&this['readSelectionRange']();let _0x43d6a6=this['readChange']();if(!_0x43d6a6)return this['view']['requestMeasure'](),!0x1;let _0x32c529=this['view']['state'],_0x10b803=NT(this['view'],_0x43d6a6);return this['view']['state']==_0x32c529&&(_0x43d6a6['domChanged']||_0x43d6a6['newSel']&&!_0x43d6a6['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x10b803;}['readMutation'](_0x5a9dd5){let _0xb6223a=this['view']['docView']['nearest'](_0x5a9dd5['target']);if(!_0xb6223a||_0xb6223a['ignoreMutation'](_0x5a9dd5))return null;if(_0xb6223a['markDirty']('attributes'==_0x5a9dd5['type']),'attributes'==_0x5a9dd5['type']&&(_0xb6223a['flags']|=0x4),'childList'==_0x5a9dd5['type']){let _0x4a6083=ME(_0xb6223a,_0x5a9dd5['previousSibling']||_0x5a9dd5['target']['previousSibling'],-0x1),_0x2aab2b=ME(_0xb6223a,_0x5a9dd5['nextSibling']||_0x5a9dd5['target']['nextSibling'],0x1);return{'from':_0x4a6083?_0xb6223a['posAfter'](_0x4a6083):_0xb6223a['posAtStart'],'to':_0x2aab2b?_0xb6223a['posBefore'](_0x2aab2b):_0xb6223a['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x5a9dd5['type']?{'from':_0xb6223a['posAtStart'],'to':_0xb6223a['posAtEnd'],'typeOver':_0x5a9dd5['target']['nodeValue']==_0x5a9dd5['oldValue']}:null;}['setWindow'](_0x3e2dd9){_0x3e2dd9!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x3e2dd9,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x2c4edd){_0x2c4edd['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x2c4edd['addEventListener']('beforeprint',this['onPrint']),_0x2c4edd['addEventListener']('scroll',this['onScroll']),_0x2c4edd['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x5a1c82){_0x5a1c82['removeEventListener']('scroll',this['onScroll']),_0x5a1c82['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x5a1c82['removeEventListener']('beforeprint',this['onPrint']),_0x5a1c82['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x2ecd63){this['editContext']&&(this['editContext']['update'](_0x2ecd63),_0x2ecd63['startState']['facet'](eT)!=_0x2ecd63['state']['facet'](eT)&&(_0x2ecd63['view']['contentDOM']['editContext']=_0x2ecd63['state']['facet'](eT)?this['editContext']['editContext']:null));}['destroy'](){var _0xc6f925,_0x34816e,_0x298d2d;this['stop'](),null===(_0xc6f925=this['intersection'])||void 0x0===_0xc6f925||_0xc6f925['disconnect'](),null===(_0x34816e=this['gapIntersection'])||void 0x0===_0x34816e||_0x34816e['disconnect'](),null===(_0x298d2d=this['resizeScroll'])||void 0x0===_0x298d2d||_0x298d2d['disconnect']();for(let _0x893451 of this['scrollTargets'])_0x893451['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 ME(_0x4ead28,_0x4fecb1,_0x441e4e){for(;_0x4fecb1;){let _0x44a94a=ContentView['get'](_0x4fecb1);if(_0x44a94a&&_0x44a94a['parent']==_0x4ead28)return _0x44a94a;let _0x136f11=_0x4fecb1['parentNode'];_0x4fecb1=_0x136f11!=_0x4ead28['dom']?_0x136f11:_0x441e4e>0x0?_0x4fecb1['nextSibling']:_0x4fecb1['previousSibling'];}return null;}function NE(_0x83e073,_0x13f906){let _0x11faa8=_0x13f906['startContainer'],_0x565bb1=_0x13f906['startOffset'],_0xecc6c9=_0x13f906['endContainer'],_0x36ebcc=_0x13f906['endOffset'],_0x3f8e1d=_0x83e073['docView']['domAtPos'](_0x83e073['state']['selection']['main']['anchor']);return F_(_0x3f8e1d['node'],_0x3f8e1d['offset'],_0xecc6c9,_0x36ebcc)&&([_0x11faa8,_0x565bb1,_0xecc6c9,_0x36ebcc]=[_0xecc6c9,_0x36ebcc,_0x11faa8,_0x565bb1]),{'anchorNode':_0x11faa8,'anchorOffset':_0x565bb1,'focusNode':_0xecc6c9,'focusOffset':_0x36ebcc};}class EditContextManager{constructor(_0x46df08){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x46df08['state']);let _0x45c3e1=this['editContext']=new window['EditContext']({'text':_0x46df08['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x46df08['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x46df08['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x5d55f4=>{let _0x24a414=_0x46df08['state']['selection']['main'],{anchor:_0x2d03bb,head:_0x2af354}=_0x24a414,_0x2ce3c1=this['toEditorPos'](_0x5d55f4['updateRangeStart']),_0x4301d9=this['toEditorPos'](_0x5d55f4['updateRangeEnd']);_0x46df08['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x5d55f4['updateRangeStart'],'editorBase':_0x2ce3c1,'drifted':!0x1});let _0x336260=_0x4301d9-_0x2ce3c1>_0x5d55f4['text']['length'];_0x2ce3c1==this['from']&&_0x2d03bb<this['from']?_0x2ce3c1=_0x2d03bb:_0x4301d9==this['to']&&_0x2d03bb>this['to']&&(_0x4301d9=_0x2d03bb);let _0x5dd766=DT(_0x46df08['state']['sliceDoc'](_0x2ce3c1,_0x4301d9),_0x5d55f4['text'],(_0x336260?_0x24a414['from']:_0x24a414['to'])-_0x2ce3c1,_0x336260?'end':null);if(!_0x5dd766){let _0x16d437=EditorSelection['single'](this['toEditorPos'](_0x5d55f4['selectionStart']),this['toEditorPos'](_0x5d55f4['selectionEnd']));return void(_0x16d437['main']['eq'](_0x24a414)||_0x46df08['dispatch']({'selection':_0x16d437,'userEvent':'select'}));}let _0x46a891={'from':_0x5dd766['from']+_0x2ce3c1,'to':_0x5dd766['toA']+_0x2ce3c1,'insert':Text['of'](_0x5d55f4['text']['slice'](_0x5dd766['from'],_0x5dd766['toB'])['split']('\x0a'))};if((Q_['mac']||Q_['android'])&&_0x46a891['from']==_0x2af354-0x1&&/^\. ?$/['test'](_0x5d55f4['text'])&&'off'==_0x46df08['contentDOM']['getAttribute']('autocorrect')&&(_0x46a891={'from':_0x2ce3c1,'to':_0x4301d9,'insert':Text['of']([_0x5d55f4['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x46a891,!_0x46df08['state']['readOnly']){let _0x3d233e=this['to']-this['from']+(_0x46a891['to']-_0x46a891['from']+_0x46a891['insert']['length']);LT(_0x46df08,_0x46a891,EditorSelection['single'](this['toEditorPos'](_0x5d55f4['selectionStart'],_0x3d233e),this['toEditorPos'](_0x5d55f4['selectionEnd'],_0x3d233e)));}this['pendingContextChange']&&(this['revertPending'](_0x46df08['state']),this['setSelection'](_0x46df08['state'])),_0x46a891['from']<_0x46a891['to']&&!_0x46a891['insert']['length']&&_0x46df08['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x45c3e1['text']['slice'](Math['max'](0x0,_0x5d55f4['updateRangeStart']-0x1),Math['min'](_0x45c3e1['text']['length'],_0x5d55f4['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x5d55f4);},this['handlers']['characterboundsupdate']=_0x38ccaa=>{let _0x497f02=[],_0x35d622=null;for(let _0x372425=this['toEditorPos'](_0x38ccaa['rangeStart']),_0x1e3a0f=this['toEditorPos'](_0x38ccaa['rangeEnd']);_0x372425<_0x1e3a0f;_0x372425++){let _0x4a997c=_0x46df08['coordsForChar'](_0x372425);_0x35d622=_0x4a997c&&new DOMRect(_0x4a997c['left'],_0x4a997c['top'],_0x4a997c['right']-_0x4a997c['left'],_0x4a997c['bottom']-_0x4a997c['top'])||_0x35d622||new DOMRect(),_0x497f02['push'](_0x35d622);}_0x45c3e1['updateCharacterBounds'](_0x38ccaa['rangeStart'],_0x497f02);},this['handlers']['textformatupdate']=_0x26c02f=>{let _0x97944c=[];for(let _0x28adf9 of _0x26c02f['getTextFormats']()){let _0xd02423=_0x28adf9['underlineStyle'],_0x1f73fd=_0x28adf9['underlineThickness'];if(!/none/i['test'](_0xd02423)&&!/none/i['test'](_0x1f73fd)){let _0x1211dd=this['toEditorPos'](_0x28adf9['rangeStart']),_0x219f33=this['toEditorPos'](_0x28adf9['rangeEnd']);if(_0x1211dd<_0x219f33){let _0x53cd1f='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0xd02423)?_0xd02423+'\x20':'Dashed'==_0xd02423?'dashed\x20':'Squiggle'==_0xd02423?'wavy\x20':'')+(/thin/i['test'](_0x1f73fd)?0x1:0x2)+'px';_0x97944c['push'](Decoration['mark']({'attributes':{'style':_0x53cd1f}})['range'](_0x1211dd,_0x219f33));}}}_0x46df08['dispatch']({'effects':Jv['of'](Decoration['set'](_0x97944c))});},this['handlers']['compositionstart']=()=>{_0x46df08['inputState']['composing']<0x0&&(_0x46df08['inputState']['composing']=0x0,_0x46df08['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x46df08['inputState']['composing']=-0x1,_0x46df08['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x4a5df7}=this['composing'];this['composing']=null,_0x4a5df7&&this['reset'](_0x46df08['state']);}};for(let _0xc7594e in this['handlers'])_0x45c3e1['addEventListener'](_0xc7594e,this['handlers'][_0xc7594e]);this['measureReq']={'read':_0x45014f=>{this['editContext']['updateControlBounds'](_0x45014f['contentDOM']['getBoundingClientRect']());let _0x2e818f=$_(_0x45014f['root']);_0x2e818f&&_0x2e818f['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x2e818f['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x2533cc){let _0xfef075=0x0,_0x3836d5=!0x1,_0x3405c9=this['pendingContextChange'];return _0x2533cc['changes']['iterChanges']((_0x2dfc12,_0x55dc36,_0xef7e09,_0x264991,_0x216ba7)=>{if(_0x3836d5)return;let _0x270aae=_0x216ba7['length']-(_0x55dc36-_0x2dfc12);if(_0x3405c9&&_0x55dc36>=_0x3405c9['to']){if(_0x3405c9['from']==_0x2dfc12&&_0x3405c9['to']==_0x55dc36&&_0x3405c9['insert']['eq'](_0x216ba7))return _0x3405c9=this['pendingContextChange']=null,_0xfef075+=_0x270aae,void(this['to']+=_0x270aae);_0x3405c9=null,this['revertPending'](_0x2533cc['state']);}if(_0x2dfc12+=_0xfef075,(_0x55dc36+=_0xfef075)<=this['from'])this['from']+=_0x270aae,this['to']+=_0x270aae;else{if(_0x2dfc12<this['to']){if(_0x2dfc12<this['from']||_0x55dc36>this['to']||this['to']-this['from']+_0x216ba7['length']>0x7530)return void(_0x3836d5=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x2dfc12),this['toContextPos'](_0x55dc36),_0x216ba7['toString']()),this['to']+=_0x270aae;}}_0xfef075+=_0x270aae;}),_0x3405c9&&!_0x3836d5&&this['revertPending'](_0x2533cc['state']),!_0x3836d5;}['update'](_0x22a596){let _0x139dc3=this['pendingContextChange'],_0x5ef757=_0x22a596['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x22a596['changes']['touchesRange'](_0x5ef757['from'],_0x5ef757['to'])&&_0x22a596['transactions']['some'](_0x30230b=>!_0x30230b['isUserEvent']('input.type')&&_0x30230b['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x22a596['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x22a596)&&this['rangeIsValid'](_0x22a596['state'])?(_0x22a596['docChanged']||_0x22a596['selectionSet']||_0x139dc3)&&this['setSelection'](_0x22a596['state']):(this['pendingContextChange']=null,this['reset'](_0x22a596['state'])),(_0x22a596['geometryChanged']||_0x22a596['docChanged']||_0x22a596['selectionSet'])&&_0x22a596['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x326866){let {head:_0x549dde}=_0x326866['selection']['main'];this['from']=Math['max'](0x0,_0x549dde-0x2710),this['to']=Math['min'](_0x326866['doc']['length'],_0x549dde+0x2710);}['reset'](_0x59395f){this['resetRange'](_0x59395f),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x59395f['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x59395f);}['revertPending'](_0x526b69){let _0x31b6e2=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x31b6e2['from']),this['toContextPos'](_0x31b6e2['from']+_0x31b6e2['insert']['length']),_0x526b69['doc']['sliceString'](_0x31b6e2['from'],_0x31b6e2['to']));}['setSelection'](_0x6c7c6f){let {main:_0x5b27a8}=_0x6c7c6f['selection'],_0xb6ce49=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x5b27a8['anchor']))),_0x470093=this['toContextPos'](_0x5b27a8['head']);this['editContext']['selectionStart']==_0xb6ce49&&this['editContext']['selectionEnd']==_0x470093||this['editContext']['updateSelection'](_0xb6ce49,_0x470093);}['rangeIsValid'](_0x4e8120){let {head:_0x4ec75c}=_0x4e8120['selection']['main'];return!(this['from']>0x0&&_0x4ec75c-this['from']<0x1f4||this['to']<_0x4e8120['doc']['length']&&this['to']-_0x4ec75c<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x24d8dc,_0x33fe59=this['to']-this['from']){_0x24d8dc=Math['min'](_0x24d8dc,_0x33fe59);let _0x3a215b=this['composing'];return _0x3a215b&&_0x3a215b['drifted']?_0x3a215b['editorBase']+(_0x24d8dc-_0x3a215b['contextBase']):_0x24d8dc+this['from'];}['toContextPos'](_0x107060){let _0xd41bbd=this['composing'];return _0xd41bbd&&_0xd41bbd['drifted']?_0xd41bbd['contextBase']+(_0x107060-_0xd41bbd['editorBase']):_0x107060-this['from'];}['destroy'](){for(let _0x22bee7 in this['handlers'])this['editContext']['removeEventListener'](_0x22bee7,this['handlers'][_0x22bee7]);}}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(_0x1fe4b0={}){var _0x5e3cc7;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']),_0x1fe4b0['parent']&&_0x1fe4b0['parent']['appendChild'](this['dom']);let {dispatch:_0x2011dc}=_0x1fe4b0;this['dispatchTransactions']=_0x1fe4b0['dispatchTransactions']||_0x2011dc&&(_0x22f3bc=>_0x22f3bc['forEach'](_0x118b42=>_0x2011dc(_0x118b42,this)))||(_0x544ac7=>this['update'](_0x544ac7)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x1fe4b0['root']||function(_0x1e6f65){for(;_0x1e6f65;){if(_0x1e6f65&&(0x9==_0x1e6f65['nodeType']||0xb==_0x1e6f65['nodeType']&&_0x1e6f65['host']))return _0x1e6f65;_0x1e6f65=_0x1e6f65['assignedSlot']||_0x1e6f65['parentNode'];}return null;}(_0x1fe4b0['parent'])||document,this['viewState']=new ViewState(_0x1fe4b0['state']||EditorState['create'](_0x1fe4b0)),_0x1fe4b0['scrollTo']&&_0x1fe4b0['scrollTo']['is'](Kv)&&(this['viewState']['scrollTarget']=_0x1fe4b0['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](sT)['map'](_0xdbeb75=>new PluginInstance(_0xdbeb75));for(let _0x46a3b1 of this['plugins'])_0x46a3b1['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===(_0x5e3cc7=document['fonts'])||void 0x0===_0x5e3cc7?void 0x0:_0x5e3cc7['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x45d433){let _0x37d07c=0x1==_0x45d433['length']&&_0x45d433[0x0]instanceof Transaction?_0x45d433:0x1==_0x45d433['length']&&Array['isArray'](_0x45d433[0x0])?_0x45d433[0x0]:[this['state']['update'](..._0x45d433)];this['dispatchTransactions'](_0x37d07c,this);}['update'](_0x348e34){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x599c97,_0x51154c=!0x1,_0x213dd7=!0x1,_0xdc9a67=this['state'];for(let _0x1740dc of _0x348e34){if(_0x1740dc['startState']!=_0xdc9a67)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0xdc9a67=_0x1740dc['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0xdc9a67);let _0x12c0d9=this['hasFocus'],_0x3cdf58=0x0,_0x315dff=null;_0x348e34['some'](_0x3e9608=>_0x3e9608['annotation'](oE))?(this['inputState']['notifiedFocused']=_0x12c0d9,_0x3cdf58=0x1):_0x12c0d9!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x12c0d9,_0x315dff=aE(_0xdc9a67,_0x12c0d9),_0x315dff||(_0x3cdf58=0x1));let _0x3af702=this['observer']['delayedAndroidKey'],_0x5caf52=null;if(_0x3af702?(this['observer']['clearDelayedAndroidKey'](),_0x5caf52=this['observer']['readChange'](),(_0x5caf52&&!this['state']['doc']['eq'](_0xdc9a67['doc'])||!this['state']['selection']['eq'](_0xdc9a67['selection']))&&(_0x5caf52=null)):this['observer']['clear'](),_0xdc9a67['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0xdc9a67);_0x599c97=ViewUpdate['create'](this,_0xdc9a67,_0x348e34),_0x599c97['flags']|=_0x3cdf58;let _0x35a115=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x4cf6b9 of _0x348e34){if(_0x35a115&&(_0x35a115=_0x35a115['map'](_0x4cf6b9['changes'])),_0x4cf6b9['scrollIntoView']){let {main:_0x798efb}=_0x4cf6b9['state']['selection'];_0x35a115=new ScrollTarget(_0x798efb['empty']?_0x798efb:EditorSelection['cursor'](_0x798efb['head'],_0x798efb['head']>_0x798efb['anchor']?-0x1:0x1));}for(let _0x120800 of _0x4cf6b9['effects'])_0x120800['is'](Kv)&&(_0x35a115=_0x120800['value']['clip'](this['state']));}this['viewState']['update'](_0x599c97,_0x35a115),this['bidiCache']=CachedOrder['update'](this['bidiCache'],_0x599c97['changes']),_0x599c97['empty']||(this['updatePlugins'](_0x599c97),this['inputState']['update'](_0x599c97)),_0x51154c=this['docView']['update'](_0x599c97),this['state']['facet'](fT)!=this['styleModules']&&this['mountStyles'](),_0x213dd7=this['updateAttrs'](),this['showAnnouncements'](_0x348e34),this['docView']['updateSelection'](_0x51154c,_0x348e34['some'](_0xa3bc93=>_0xa3bc93['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x599c97['startState']['facet'](TE)!=_0x599c97['state']['facet'](TE)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x51154c||_0x213dd7||_0x35a115||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x51154c&&this['docViewUpdate'](),!_0x599c97['empty']){for(let _0x123b6b of this['state']['facet'](Hv))try{_0x123b6b(_0x599c97);}catch(_0x688b7c){tT(this['state'],_0x688b7c,'update\x20listener');}}(_0x315dff||_0x5caf52)&&Promise['resolve']()['then'](()=>{_0x315dff&&this['state']==_0x315dff['startState']&&this['dispatch'](_0x315dff),_0x5caf52&&!NT(this,_0x5caf52)&&_0x3af702['force']&&tv(this['contentDOM'],_0x3af702['key'],_0x3af702['keyCode']);});}['setState'](_0x4a7d85){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']=_0x4a7d85);this['updateState']=0x2;let _0x5de079=this['hasFocus'];try{for(let _0x3288f5 of this['plugins'])_0x3288f5['destroy'](this);this['viewState']=new ViewState(_0x4a7d85),this['plugins']=_0x4a7d85['facet'](sT)['map'](_0x55af85=>new PluginInstance(_0x55af85)),this['pluginMap']['clear']();for(let _0x1e83bb of this['plugins'])_0x1e83bb['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;}_0x5de079&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0xe8e2b9){let _0x3b84d1=_0xe8e2b9['startState']['facet'](sT),_0x12d5cb=_0xe8e2b9['state']['facet'](sT);if(_0x3b84d1!=_0x12d5cb){let _0x5c2f69=[];for(let _0x19bb39 of _0x12d5cb){let _0x481719=_0x3b84d1['indexOf'](_0x19bb39);if(_0x481719<0x0)_0x5c2f69['push'](new PluginInstance(_0x19bb39));else{let _0x476591=this['plugins'][_0x481719];_0x476591['mustUpdate']=_0xe8e2b9,_0x5c2f69['push'](_0x476591);}}for(let _0xa61294 of this['plugins'])_0xa61294['mustUpdate']!=_0xe8e2b9&&_0xa61294['destroy'](this);this['plugins']=_0x5c2f69,this['pluginMap']['clear']();}else{for(let _0x2fd83a of this['plugins'])_0x2fd83a['mustUpdate']=_0xe8e2b9;}for(let _0x5a1f3f=0x0;_0x5a1f3f<this['plugins']['length'];_0x5a1f3f++)this['plugins'][_0x5a1f3f]['update'](this);_0x3b84d1!=_0x12d5cb&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x4fd967 of this['plugins']){let _0x327ed4=_0x4fd967['value'];if(_0x327ed4&&_0x327ed4['docViewUpdate'])try{_0x327ed4['docViewUpdate'](this);}catch(_0x341055){tT(this['state'],_0x341055,'doc\x20view\x20update\x20listener');}}}['measure'](_0x6fa723=!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,_0x6fa723&&this['observer']['forceFlush']();let _0xd8ba3=null,_0x3b5cfe=this['scrollDOM'],_0x20794e=_0x3b5cfe['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x451d87,scrollAnchorHeight:_0x5aa6f4}=this['viewState'];Math['abs'](_0x20794e-this['viewState']['scrollTop'])>0x1&&(_0x5aa6f4=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x253a02=0x0;;_0x253a02++){if(_0x5aa6f4<0x0){if(iv(_0x3b5cfe))_0x451d87=-0x1,_0x5aa6f4=this['viewState']['heightMap']['height'];else{let _0x55dba5=this['viewState']['scrollAnchorAt'](_0x20794e);_0x451d87=_0x55dba5['from'],_0x5aa6f4=_0x55dba5['top'];}}this['updateState']=0x1;let _0x289b2d=this['viewState']['measure'](this);if(!_0x289b2d&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x253a02>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x24fb97=[];0x4&_0x289b2d||([this['measureRequests'],_0x24fb97]=[_0x24fb97,this['measureRequests']]);let _0xc43274=_0x24fb97['map'](_0x34345e=>{try{return _0x34345e['read'](this);}catch(_0x50f7a3){return tT(this['state'],_0x50f7a3),DE;}}),_0x1052c5=ViewUpdate['create'](this,this['state'],[]),_0x1d7dbf=!0x1;_0x1052c5['flags']|=_0x289b2d,_0xd8ba3?_0xd8ba3['flags']|=_0x289b2d:_0xd8ba3=_0x1052c5,this['updateState']=0x2,_0x1052c5['empty']||(this['updatePlugins'](_0x1052c5),this['inputState']['update'](_0x1052c5),this['updateAttrs'](),_0x1d7dbf=this['docView']['update'](_0x1052c5),_0x1d7dbf&&this['docViewUpdate']());for(let _0x40e3b2=0x0;_0x40e3b2<_0x24fb97['length'];_0x40e3b2++)if(_0xc43274[_0x40e3b2]!=DE)try{let _0x33fdfe=_0x24fb97[_0x40e3b2];_0x33fdfe['write']&&_0x33fdfe['write'](_0xc43274[_0x40e3b2],this);}catch(_0x499ccc){tT(this['state'],_0x499ccc);}if(_0x1d7dbf&&this['docView']['updateSelection'](!0x0),!_0x1052c5['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x5aa6f4=-0x1;continue;}{let _0x1f49d3=(_0x451d87<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x451d87)['top'])-_0x5aa6f4;if(_0x1f49d3>0x1||_0x1f49d3<-0x1){_0x20794e+=_0x1f49d3,_0x3b5cfe['scrollTop']=_0x20794e/this['scaleY'],_0x5aa6f4=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0xd8ba3&&!_0xd8ba3['empty']){for(let _0x4abb35 of this['state']['facet'](Hv))_0x4abb35(_0xd8ba3);}}get['themeClasses'](){return AE+'\x20'+(this['state']['facet'](EE)?SE:IE)+'\x20'+this['state']['facet'](TE);}['updateAttrs'](){let _0x12bcae=QE(this,nT,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x4234c3={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](eT)?'true':'false','class':'cm-content','style':Q_['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x4234c3['aria-readonly']='true'),QE(this,rT,_0x4234c3);let _0x15f0c6=this['observer']['ignore'](()=>{let _0x3d1d29=pv(this['contentDOM'],this['contentAttrs'],_0x4234c3),_0x2bdbe2=pv(this['dom'],this['editorAttrs'],_0x12bcae);return _0x3d1d29||_0x2bdbe2;});return this['editorAttrs']=_0x12bcae,this['contentAttrs']=_0x4234c3,_0x15f0c6;}['showAnnouncements'](_0x5880cf){let _0x522c53=!0x0;for(let _0x4c620d of _0x5880cf)for(let _0x35eaf4 of _0x4c620d['effects'])_0x35eaf4['is'](EditorView['announce'])&&(_0x522c53&&(this['announceDOM']['textContent']=''),_0x522c53=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x35eaf4['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](fT);let _0x859dfd=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](xE)['reverse'](),_0x859dfd?{'nonce':_0x859dfd}: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'](_0x503bbe){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x503bbe){if(this['measureRequests']['indexOf'](_0x503bbe)>-0x1)return;if(null!=_0x503bbe['key']){for(let _0x5c508e=0x0;_0x5c508e<this['measureRequests']['length'];_0x5c508e++)if(this['measureRequests'][_0x5c508e]['key']===_0x503bbe['key'])return void(this['measureRequests'][_0x5c508e]=_0x503bbe);}this['measureRequests']['push'](_0x503bbe);}}['plugin'](_0x5c6047){let _0x42f8a4=this['pluginMap']['get'](_0x5c6047);return(void 0x0===_0x42f8a4||_0x42f8a4&&_0x42f8a4['plugin']!=_0x5c6047)&&this['pluginMap']['set'](_0x5c6047,_0x42f8a4=this['plugins']['find'](_0x596e31=>_0x596e31['plugin']==_0x5c6047)||null),_0x42f8a4&&_0x42f8a4['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'](_0xfd6aab){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0xfd6aab);}['lineBlockAtHeight'](_0xfd3400){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0xfd3400);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x141e5e){return this['viewState']['lineBlockAt'](_0x141e5e);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x3c40ad,_0x4a558f,_0x2af26b){return xT(this,_0x3c40ad,ST(this,_0x3c40ad,_0x4a558f,_0x2af26b));}['moveByGroup'](_0x1c53f1,_0x35f9b7){return xT(this,_0x1c53f1,ST(this,_0x1c53f1,_0x35f9b7,_0x536286=>function(_0x5161df,_0x3e0df3,_0x5a8173){let _0x3ee666=_0x5161df['state']['charCategorizer'](_0x3e0df3),_0x2f3a6d=_0x3ee666(_0x5a8173);return _0x43f47e=>{let _0x58f8ca=_0x3ee666(_0x43f47e);return _0x2f3a6d==t_['Space']&&(_0x2f3a6d=_0x58f8ca),_0x2f3a6d==_0x58f8ca;};}(this,_0x1c53f1['head'],_0x536286)));}['visualLineSide'](_0x413cbe,_0xdabaa3){let _0x5d0e92=this['bidiSpans'](_0x413cbe),_0x3b38a6=this['textDirectionAt'](_0x413cbe['from']),_0x2b585c=_0x5d0e92[_0xdabaa3?_0x5d0e92['length']-0x1:0x0];return EditorSelection['cursor'](_0x2b585c['side'](_0xdabaa3,_0x3b38a6)+_0x413cbe['from'],_0x2b585c['forward'](!_0xdabaa3,_0x3b38a6)?0x1:-0x1);}['moveToLineBoundary'](_0x54b7f9,_0x473221,_0x1e71f1=!0x0){return function(_0x53bf6e,_0x5a0197,_0x56e704,_0x42c03a){let _0x360e37=IT(_0x53bf6e,_0x5a0197['head'],_0x5a0197['assoc']||-0x1),_0x196a40=_0x42c03a&&_0x360e37['type']==wv['Text']&&(_0x53bf6e['lineWrapping']||_0x360e37['widgetLineBreaks'])?_0x53bf6e['coordsAtPos'](_0x5a0197['assoc']<0x0&&_0x5a0197['head']>_0x360e37['from']?_0x5a0197['head']-0x1:_0x5a0197['head']):null;if(_0x196a40){let _0x4cb05d=_0x53bf6e['dom']['getBoundingClientRect'](),_0x1e57f5=_0x53bf6e['textDirectionAt'](_0x360e37['from']),_0x403d61=_0x53bf6e['posAtCoords']({'x':_0x56e704==(_0x1e57f5==vv['LTR'])?_0x4cb05d['right']-0x1:_0x4cb05d['left']+0x1,'y':(_0x196a40['top']+_0x196a40['bottom'])/0x2});if(null!=_0x403d61)return EditorSelection['cursor'](_0x403d61,_0x56e704?-0x1:0x1);}return EditorSelection['cursor'](_0x56e704?_0x360e37['to']:_0x360e37['from'],_0x56e704?-0x1:0x1);}(this,_0x54b7f9,_0x473221,_0x1e71f1);}['moveVertically'](_0x566d2b,_0x4edd80,_0x1c24b0){return xT(this,_0x566d2b,function(_0x221972,_0x2396d3,_0xd7b7db,_0x32a4c3){let _0x31b360=_0x2396d3['head'],_0x2c7467=_0xd7b7db?0x1:-0x1;if(_0x31b360==(_0xd7b7db?_0x221972['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x31b360,_0x2396d3['assoc']);let _0x42fe1c,_0x3de4e3=_0x2396d3['goalColumn'],_0x29f1aa=_0x221972['contentDOM']['getBoundingClientRect'](),_0x5effaa=_0x221972['coordsAtPos'](_0x31b360,_0x2396d3['assoc']||-0x1),_0x479a11=_0x221972['documentTop'];if(_0x5effaa)null==_0x3de4e3&&(_0x3de4e3=_0x5effaa['left']-_0x29f1aa['left']),_0x42fe1c=_0x2c7467<0x0?_0x5effaa['top']:_0x5effaa['bottom'];else{let _0x224df7=_0x221972['viewState']['lineBlockAt'](_0x31b360);null==_0x3de4e3&&(_0x3de4e3=Math['min'](_0x29f1aa['right']-_0x29f1aa['left'],_0x221972['defaultCharacterWidth']*(_0x31b360-_0x224df7['from']))),_0x42fe1c=(_0x2c7467<0x0?_0x224df7['top']:_0x224df7['bottom'])+_0x479a11;}let _0x206ac6=_0x29f1aa['left']+_0x3de4e3,_0xc23eca=null!=_0x32a4c3?_0x32a4c3:_0x221972['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x1e8e09=0x0;;_0x1e8e09+=0xa){let _0xf044dc=_0x42fe1c+(_0xc23eca+_0x1e8e09)*_0x2c7467,_0x45ccb8=TT(_0x221972,{'x':_0x206ac6,'y':_0xf044dc},!0x1,_0x2c7467);if(_0xf044dc<_0x29f1aa['top']||_0xf044dc>_0x29f1aa['bottom']||(_0x2c7467<0x0?_0x45ccb8<_0x31b360:_0x45ccb8>_0x31b360)){let _0x116fff=_0x221972['docView']['coordsForChar'](_0x45ccb8),_0x589f43=!_0x116fff||_0xf044dc<_0x116fff['top']?-0x1:0x1;return EditorSelection['cursor'](_0x45ccb8,_0x589f43,void 0x0,_0x3de4e3);}}}(this,_0x566d2b,_0x4edd80,_0x1c24b0));}['domAtPos'](_0x4483f6){return this['docView']['domAtPos'](_0x4483f6);}['posAtDOM'](_0x47b130,_0x5cf1b2=0x0){return this['docView']['posFromDOM'](_0x47b130,_0x5cf1b2);}['posAtCoords'](_0x7f9f08,_0x4b4870=!0x0){return this['readMeasured'](),TT(this,_0x7f9f08,_0x4b4870);}['coordsAtPos'](_0x4d54f9,_0x7c34a8=0x1){this['readMeasured']();let _0x33fa1c=this['docView']['coordsAt'](_0x4d54f9,_0x7c34a8);if(!_0x33fa1c||_0x33fa1c['left']==_0x33fa1c['right'])return _0x33fa1c;let _0x1323af=this['state']['doc']['lineAt'](_0x4d54f9),_0x589e5b=this['bidiSpans'](_0x1323af);return X_(_0x33fa1c,_0x589e5b[BidiSpan['find'](_0x589e5b,_0x4d54f9-_0x1323af['from'],-0x1,_0x7c34a8)]['dir']==vv['LTR']==_0x7c34a8>0x0);}['coordsForChar'](_0x1c333c){return this['readMeasured'](),this['docView']['coordsForChar'](_0x1c333c);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x5afcf4){return!this['state']['facet'](Wv)||_0x5afcf4<this['viewport']['from']||_0x5afcf4>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x5afcf4));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x11d196){if(_0x11d196['length']>LE)return Dv(_0x11d196['length']);let _0x4c008a,_0x6a226b=this['textDirectionAt'](_0x11d196['from']);for(let _0x291338 of this['bidiCache'])if(_0x291338['from']==_0x11d196['from']&&_0x291338['dir']==_0x6a226b&&(_0x291338['fresh']||Pv(_0x291338['isolates'],_0x4c008a=hT(this,_0x11d196))))return _0x291338['order'];_0x4c008a||(_0x4c008a=hT(this,_0x11d196));let _0xe53b22=function(_0x8ed136,_0x573e2a,_0x56edac){if(!_0x8ed136)return[new BidiSpan(0x0,0x0,_0x573e2a==Ev?0x1:0x0)];if(_0x573e2a==Tv&&!_0x56edac['length']&&!Rv['test'](_0x8ed136))return Dv(_0x8ed136['length']);if(_0x56edac['length']){for(;_0x8ed136['length']>Mv['length'];)Mv[Mv['length']]=0x100;}let _0x4fe4fc=[],_0x3c40f6=_0x573e2a==Tv?0x0:0x1;return Lv(_0x8ed136,_0x3c40f6,_0x3c40f6,_0x56edac,0x0,_0x8ed136['length'],_0x4fe4fc),_0x4fe4fc;}(_0x11d196['text'],_0x6a226b,_0x4c008a);return this['bidiCache']['push'](new CachedOrder(_0x11d196['from'],_0x11d196['to'],_0x6a226b,_0x4c008a,!0x0,_0xe53b22)),_0xe53b22;}get['hasFocus'](){var _0x437f2f;return(this['dom']['ownerDocument']['hasFocus']()||Q_['safari']&&(null===(_0x437f2f=this['inputState'])||void 0x0===_0x437f2f?void 0x0:_0x437f2f['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{K_(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x1d6784){this['_root']!=_0x1d6784&&(this['_root']=_0x1d6784,this['observer']['setWindow']((0x9==_0x1d6784['nodeType']?_0x1d6784:_0x1d6784['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x788466 of this['plugins'])_0x788466['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'](_0x29859d,_0x318e2b={}){return Kv['of'](new ScrollTarget('number'==typeof _0x29859d?EditorSelection['cursor'](_0x29859d):_0x29859d,_0x318e2b['y'],_0x318e2b['x'],_0x318e2b['yMargin'],_0x318e2b['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x1a77a5,scrollLeft:_0x2ba93d}=this['scrollDOM'],_0x4a3d5c=this['viewState']['scrollAnchorAt'](_0x1a77a5);return Kv['of'](new ScrollTarget(EditorSelection['cursor'](_0x4a3d5c['from']),'start','start',_0x4a3d5c['top']-_0x1a77a5,_0x2ba93d,!0x0));}['setTabFocusMode'](_0x53580d){null==_0x53580d?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x53580d?this['inputState']['tabFocusMode']=_0x53580d?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x53580d);}static['domEventHandlers'](_0x25bd8c){return ViewPlugin['define'](()=>({}),{'eventHandlers':_0x25bd8c});}static['domEventObservers'](_0x3840b2){return ViewPlugin['define'](()=>({}),{'eventObservers':_0x3840b2});}static['theme'](_0x539210,_0x45d1fc){let _0x147e54=StyleModule['newName'](),_0xf8717d=[TE['of'](_0x147e54),fT['of'](kE('.'+_0x147e54,_0x539210))];return _0x45d1fc&&_0x45d1fc['dark']&&_0xf8717d['push'](EE['of'](!0x0)),_0xf8717d;}static['baseTheme'](_0x47f359){return $y['lowest'](fT['of'](kE('.'+AE,_0x47f359,CE)));}static['findFromDOM'](_0x19ed33){var _0x41eaf9;let _0x16b23a=_0x19ed33['querySelector']('.cm-content'),_0x3bb183=_0x16b23a&&ContentView['get'](_0x16b23a)||ContentView['get'](_0x19ed33);return(null===(_0x41eaf9=null==_0x3bb183?void 0x0:_0x3bb183['rootView'])||void 0x0===_0x41eaf9?void 0x0:_0x41eaf9['view'])||null;}}EditorView['styleModule']=fT,EditorView['inputHandler']=Gv,EditorView['clipboardInputFilter']=Xv,EditorView['clipboardOutputFilter']=qv,EditorView['scrollHandler']=Yv,EditorView['focusChangeEffect']=Zv,EditorView['perLineTextDirection']=Wv,EditorView['exceptionSink']=jv,EditorView['updateListener']=Hv,EditorView['editable']=eT,EditorView['mouseSelectionStyle']=Fv,EditorView['dragMovesSelection']=Bv,EditorView['clickAddsSelectionRange']=Uv,EditorView['decorations']=oT,EditorView['outerDecorations']=aT,EditorView['atomicRanges']=cT,EditorView['bidiIsolatedRanges']=lT,EditorView['scrollMargins']=uT,EditorView['darkTheme']=EE,EditorView['cspNonce']=Facet['define']({'combine':_0x572d4d=>_0x572d4d['length']?_0x572d4d[0x0]:''}),EditorView['contentAttributes']=rT,EditorView['editorAttributes']=nT,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const LE=0x1000,DE={};class CachedOrder{constructor(_0x5564fb,_0x553963,_0x5c021c,_0x1d34ba,_0x4b9fdc,_0x16655a){this['from']=_0x5564fb,this['to']=_0x553963,this['dir']=_0x5c021c,this['isolates']=_0x1d34ba,this['fresh']=_0x4b9fdc,this['order']=_0x16655a;}static['update'](_0x4a4504,_0x3c3b0f){if(_0x3c3b0f['empty']&&!_0x4a4504['some'](_0x1913a3=>_0x1913a3['fresh']))return _0x4a4504;let _0x5de3ca=[],_0x1aeefb=_0x4a4504['length']?_0x4a4504[_0x4a4504['length']-0x1]['dir']:vv['LTR'];for(let _0x459420=Math['max'](0x0,_0x4a4504['length']-0xa);_0x459420<_0x4a4504['length'];_0x459420++){let _0x406cff=_0x4a4504[_0x459420];_0x406cff['dir']!=_0x1aeefb||_0x3c3b0f['touchesRange'](_0x406cff['from'],_0x406cff['to'])||_0x5de3ca['push'](new CachedOrder(_0x3c3b0f['mapPos'](_0x406cff['from'],0x1),_0x3c3b0f['mapPos'](_0x406cff['to'],-0x1),_0x406cff['dir'],_0x406cff['isolates'],!0x1,_0x406cff['order']));}return _0x5de3ca;}}function QE(_0x1d506b,_0xf0955e,_0x4ce38d){for(let _0x1587d7=_0x1d506b['state']['facet'](_0xf0955e),_0x38deba=_0x1587d7['length']-0x1;_0x38deba>=0x0;_0x38deba--){let _0x25204c=_0x1587d7[_0x38deba],_0x2d384b='function'==typeof _0x25204c?_0x25204c(_0x1d506b):_0x25204c;_0x2d384b&&fv(_0x2d384b,_0x4ce38d);}return _0x4ce38d;}const $E=Q_['mac']?'mac':Q_['windows']?'win':Q_['linux']?'linux':'key';function VE(_0x570e1b,_0x2db0dc,_0x151599){return _0x2db0dc['altKey']&&(_0x570e1b='Alt-'+_0x570e1b),_0x2db0dc['ctrlKey']&&(_0x570e1b='Ctrl-'+_0x570e1b),_0x2db0dc['metaKey']&&(_0x570e1b='Meta-'+_0x570e1b),!0x1!==_0x151599&&_0x2db0dc['shiftKey']&&(_0x570e1b='Shift-'+_0x570e1b),_0x570e1b;}const UE=$y['default'](EditorView['domEventHandlers']({'keydown':(_0x152f9b,_0x1d5ee4)=>function(_0x2002d3,_0x46a232,_0x5a2973,_0x4090ef){GE=_0x46a232;let _0x4553a1=function(_0x317540){var _0xb07ba9=!(v_&&_0x317540['metaKey']&&_0x317540['shiftKey']&&!_0x317540['ctrlKey']&&!_0x317540['altKey']||T_&&_0x317540['shiftKey']&&_0x317540['key']&&0x1==_0x317540['key']['length']||'Unidentified'==_0x317540['key'])&&_0x317540['key']||(_0x317540['shiftKey']?__:y_)[_0x317540['keyCode']]||_0x317540['key']||'Unidentified';return'Esc'==_0xb07ba9&&(_0xb07ba9='Escape'),'Del'==_0xb07ba9&&(_0xb07ba9='Delete'),'Left'==_0xb07ba9&&(_0xb07ba9='ArrowLeft'),'Up'==_0xb07ba9&&(_0xb07ba9='ArrowUp'),'Right'==_0xb07ba9&&(_0xb07ba9='ArrowRight'),'Down'==_0xb07ba9&&(_0xb07ba9='ArrowDown'),_0xb07ba9;}(_0x46a232),_0x47c137=py(_0x4553a1,0x0),_0x46ff80=wy(_0x47c137)==_0x4553a1['length']&&'\x20'!=_0x4553a1,_0x113f37='',_0x842d5e=!0x1,_0x30cc3b=!0x1,_0x47e2d6=!0x1;jE&&jE['view']==_0x5a2973&&jE['scope']==_0x4090ef&&(_0x113f37=jE['prefix']+'\x20',BT['indexOf'](_0x46a232['keyCode'])<0x0&&(_0x30cc3b=!0x0,jE=null));let _0xc52c3,_0x47c273,_0x22c3f1=new Set(),_0xfda40d=_0x14d084=>{if(_0x14d084){for(let _0x1ebf68 of _0x14d084['run'])if(!_0x22c3f1['has'](_0x1ebf68)&&(_0x22c3f1['add'](_0x1ebf68),_0x1ebf68(_0x5a2973)))return _0x14d084['stopPropagation']&&(_0x47e2d6=!0x0),!0x0;_0x14d084['preventDefault']&&(_0x14d084['stopPropagation']&&(_0x47e2d6=!0x0),_0x30cc3b=!0x0);}return!0x1;},_0x5a4c78=_0x2002d3[_0x4090ef];return _0x5a4c78&&(_0xfda40d(_0x5a4c78[_0x113f37+VE(_0x4553a1,_0x46a232,!_0x46ff80)])?_0x842d5e=!0x0:!_0x46ff80||!(_0x46a232['altKey']||_0x46a232['metaKey']||_0x46a232['ctrlKey'])||Q_['windows']&&_0x46a232['ctrlKey']&&_0x46a232['altKey']||Q_['mac']&&_0x46a232['altKey']&&!_0x46a232['ctrlKey']&&!_0x46a232['metaKey']||!(_0xc52c3=y_[_0x46a232['keyCode']])||_0xc52c3==_0x4553a1?_0x46ff80&&_0x46a232['shiftKey']&&_0xfda40d(_0x5a4c78[_0x113f37+VE(_0x4553a1,_0x46a232,!0x0)])&&(_0x842d5e=!0x0):(_0xfda40d(_0x5a4c78[_0x113f37+VE(_0xc52c3,_0x46a232,!0x0)])||_0x46a232['shiftKey']&&(_0x47c273=__[_0x46a232['keyCode']])!=_0x4553a1&&_0x47c273!=_0xc52c3&&_0xfda40d(_0x5a4c78[_0x113f37+VE(_0x47c273,_0x46a232,!0x1)]))&&(_0x842d5e=!0x0),!_0x842d5e&&_0xfda40d(_0x5a4c78['_any'])&&(_0x842d5e=!0x0)),_0x30cc3b&&(_0x842d5e=!0x0),_0x842d5e&&_0x47e2d6&&_0x46a232['stopPropagation'](),(GE=null,_0x842d5e);}(function(_0x7b3b4b){let _0x1dd941=_0x7b3b4b['facet'](BE),_0x301738=FE['get'](_0x1dd941);return _0x301738||FE['set'](_0x1dd941,_0x301738=function(_0xf06c50,_0x2f0ae8=$E){let _0x369e99=Object['create'](null),_0x5f2537=Object['create'](null),_0x4c047f=(_0x1cd999,_0x189188)=>{let _0x21ca6c=_0x5f2537[_0x1cd999];if(null==_0x21ca6c)_0x5f2537[_0x1cd999]=_0x189188;else{if(_0x21ca6c!=_0x189188)throw new Error('Key\x20binding\x20'+_0x1cd999+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x418a98=(_0x51ed76,_0x6781e4,_0x3f642f,_0x4c4f9d,_0x3b335e)=>{var _0x48b48a,_0x81cf1d;let _0xc545bb=_0x369e99[_0x51ed76]||(_0x369e99[_0x51ed76]=Object['create'](null)),_0x236d08=_0x6781e4['split'](/ (?!$)/)['map'](_0x570ba0=>function(_0x2de17c,_0x30fe3b){const _0x3a0c21=_0x2de17c['split'](/-(?!$)/);let _0x466abc,_0x511fbe,_0x42ba7d,_0x4f4076,_0x22d0e6=_0x3a0c21[_0x3a0c21['length']-0x1];'Space'==_0x22d0e6&&(_0x22d0e6='\x20');for(let _0x2397e7=0x0;_0x2397e7<_0x3a0c21['length']-0x1;++_0x2397e7){const _0x2e6876=_0x3a0c21[_0x2397e7];if(/^(cmd|meta|m)$/i['test'](_0x2e6876))_0x4f4076=!0x0;else{if(/^a(lt)?$/i['test'](_0x2e6876))_0x466abc=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x2e6876))_0x511fbe=!0x0;else{if(/^s(hift)?$/i['test'](_0x2e6876))_0x42ba7d=!0x0;else{if(!/^mod$/i['test'](_0x2e6876))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x2e6876);'mac'==_0x30fe3b?_0x4f4076=!0x0:_0x511fbe=!0x0;}}}}}return _0x466abc&&(_0x22d0e6='Alt-'+_0x22d0e6),_0x511fbe&&(_0x22d0e6='Ctrl-'+_0x22d0e6),_0x4f4076&&(_0x22d0e6='Meta-'+_0x22d0e6),_0x42ba7d&&(_0x22d0e6='Shift-'+_0x22d0e6),_0x22d0e6;}(_0x570ba0,_0x2f0ae8));for(let _0x7e6679=0x1;_0x7e6679<_0x236d08['length'];_0x7e6679++){let _0x113f9d=_0x236d08['slice'](0x0,_0x7e6679)['join']('\x20');_0x4c047f(_0x113f9d,!0x0),_0xc545bb[_0x113f9d]||(_0xc545bb[_0x113f9d]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x1eee58=>{let _0x312b73=jE={'view':_0x1eee58,'prefix':_0x113f9d,'scope':_0x51ed76};return setTimeout(()=>{jE==_0x312b73&&(jE=null);},HE),!0x0;}]});}let _0x479ef0=_0x236d08['join']('\x20');_0x4c047f(_0x479ef0,!0x1);let _0x9a4f71=_0xc545bb[_0x479ef0]||(_0xc545bb[_0x479ef0]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x81cf1d=null===(_0x48b48a=_0xc545bb['_any'])||void 0x0===_0x48b48a?void 0x0:_0x48b48a['run'])||void 0x0===_0x81cf1d?void 0x0:_0x81cf1d['slice']())||[]});_0x3f642f&&_0x9a4f71['run']['push'](_0x3f642f),_0x4c4f9d&&(_0x9a4f71['preventDefault']=!0x0),_0x3b335e&&(_0x9a4f71['stopPropagation']=!0x0);};for(let _0x1be276 of _0xf06c50){let _0x2141c1=_0x1be276['scope']?_0x1be276['scope']['split']('\x20'):['editor'];if(_0x1be276['any'])for(let _0x57f7c0 of _0x2141c1){let _0x1bbc12=_0x369e99[_0x57f7c0]||(_0x369e99[_0x57f7c0]=Object['create'](null));_0x1bbc12['_any']||(_0x1bbc12['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x17ba37}=_0x1be276;for(let _0x26f147 in _0x1bbc12)_0x1bbc12[_0x26f147]['run']['push'](_0x1e9189=>_0x17ba37(_0x1e9189,GE));}let _0x3d4617=_0x1be276[_0x2f0ae8]||_0x1be276['key'];if(_0x3d4617){for(let _0x1c48f9 of _0x2141c1)_0x418a98(_0x1c48f9,_0x3d4617,_0x1be276['run'],_0x1be276['preventDefault'],_0x1be276['stopPropagation']),_0x1be276['shift']&&_0x418a98(_0x1c48f9,'Shift-'+_0x3d4617,_0x1be276['shift'],_0x1be276['preventDefault'],_0x1be276['stopPropagation']);}}return _0x369e99;}(_0x1dd941['reduce']((_0xdaeffd,_0x1cbee6)=>_0xdaeffd['concat'](_0x1cbee6),[]))),_0x301738;}(_0x1d5ee4['state']),_0x152f9b,_0x1d5ee4,'editor')})),BE=Facet['define']({'enables':UE}),FE=new WeakMap();let jE=null;const HE=0xfa0;let GE=null;class RectangleMarker{constructor(_0x431bd5,_0x4061c6,_0x5a0074,_0x4ec135,_0x20326d){this['className']=_0x431bd5,this['left']=_0x4061c6,this['top']=_0x5a0074,this['width']=_0x4ec135,this['height']=_0x20326d;}['draw'](){let _0xb57a68=document['createElement']('div');return _0xb57a68['className']=this['className'],this['adjust'](_0xb57a68),_0xb57a68;}['update'](_0x4a2d14,_0x92f8b5){return _0x92f8b5['className']==this['className']&&(this['adjust'](_0x4a2d14),!0x0);}['adjust'](_0x498226){_0x498226['style']['left']=this['left']+'px',_0x498226['style']['top']=this['top']+'px',null!=this['width']&&(_0x498226['style']['width']=this['width']+'px'),_0x498226['style']['height']=this['height']+'px';}['eq'](_0x2d77bc){return this['left']==_0x2d77bc['left']&&this['top']==_0x2d77bc['top']&&this['width']==_0x2d77bc['width']&&this['height']==_0x2d77bc['height']&&this['className']==_0x2d77bc['className'];}static['forRange'](_0xcc0523,_0x2dd872,_0x1320cf){if(_0x1320cf['empty']){let _0x23f808=_0xcc0523['coordsAtPos'](_0x1320cf['head'],_0x1320cf['assoc']||0x1);if(!_0x23f808)return[];let _0x28c036=ZE(_0xcc0523);return[new RectangleMarker(_0x2dd872,_0x23f808['left']-_0x28c036['left'],_0x23f808['top']-_0x28c036['top'],null,_0x23f808['bottom']-_0x23f808['top'])];}return function(_0x2b5ae8,_0x30ac5b,_0x3c350e){if(_0x3c350e['to']<=_0x2b5ae8['viewport']['from']||_0x3c350e['from']>=_0x2b5ae8['viewport']['to'])return[];let _0x1032a2=Math['max'](_0x3c350e['from'],_0x2b5ae8['viewport']['from']),_0x55d762=Math['min'](_0x3c350e['to'],_0x2b5ae8['viewport']['to']),_0x4910ec=_0x2b5ae8['textDirection']==vv['LTR'],_0x2ad561=_0x2b5ae8['contentDOM'],_0x566fe8=_0x2ad561['getBoundingClientRect'](),_0x34f447=ZE(_0x2b5ae8),_0x347269=_0x2ad561['querySelector']('.cm-line'),_0x4e865c=_0x347269&&window['getComputedStyle'](_0x347269),_0x18e81d=_0x566fe8['left']+(_0x4e865c?parseInt(_0x4e865c['paddingLeft'])+Math['min'](0x0,parseInt(_0x4e865c['textIndent'])):0x0),_0x5e98b3=_0x566fe8['right']-(_0x4e865c?parseInt(_0x4e865c['paddingRight']):0x0),_0xefb083=IT(_0x2b5ae8,_0x1032a2,0x1),_0x1f0a73=IT(_0x2b5ae8,_0x55d762,-0x1),_0x56e702=_0xefb083['type']==wv['Text']?_0xefb083:null,_0x31f848=_0x1f0a73['type']==wv['Text']?_0x1f0a73:null;_0x56e702&&(_0x2b5ae8['lineWrapping']||_0xefb083['widgetLineBreaks'])&&(_0x56e702=XE(_0x2b5ae8,_0x1032a2,0x1,_0x56e702)),_0x31f848&&(_0x2b5ae8['lineWrapping']||_0x1f0a73['widgetLineBreaks'])&&(_0x31f848=XE(_0x2b5ae8,_0x55d762,-0x1,_0x31f848));if(_0x56e702&&_0x31f848&&_0x56e702['from']==_0x31f848['from']&&_0x56e702['to']==_0x31f848['to'])return _0x32ce10(_0x5db265(_0x3c350e['from'],_0x3c350e['to'],_0x56e702));{let _0x4ed100=_0x56e702?_0x5db265(_0x3c350e['from'],null,_0x56e702):_0x42b79b(_0xefb083,!0x1),_0x2058a9=_0x31f848?_0x5db265(null,_0x3c350e['to'],_0x31f848):_0x42b79b(_0x1f0a73,!0x0),_0x389195=[];return(_0x56e702||_0xefb083)['to']<(_0x31f848||_0x1f0a73)['from']-(_0x56e702&&_0x31f848?0x1:0x0)||_0xefb083['widgetLineBreaks']>0x1&&_0x4ed100['bottom']+_0x2b5ae8['defaultLineHeight']/0x2<_0x2058a9['top']?_0x389195['push'](_0x262863(_0x18e81d,_0x4ed100['bottom'],_0x5e98b3,_0x2058a9['top'])):_0x4ed100['bottom']<_0x2058a9['top']&&_0x2b5ae8['elementAtHeight']((_0x4ed100['bottom']+_0x2058a9['top'])/0x2)['type']==wv['Text']&&(_0x4ed100['bottom']=_0x2058a9['top']=(_0x4ed100['bottom']+_0x2058a9['top'])/0x2),_0x32ce10(_0x4ed100)['concat'](_0x389195)['concat'](_0x32ce10(_0x2058a9));}function _0x262863(_0x56583f,_0x242269,_0x54be89,_0x315658){return new RectangleMarker(_0x30ac5b,_0x56583f-_0x34f447['left'],_0x242269-_0x34f447['top'],_0x54be89-_0x56583f,_0x315658-_0x242269);}function _0x32ce10({top:_0x5d4cb2,bottom:_0x424251,horizontal:_0x5d6215}){let _0x4b7f37=[];for(let _0x1a36dd=0x0;_0x1a36dd<_0x5d6215['length'];_0x1a36dd+=0x2)_0x4b7f37['push'](_0x262863(_0x5d6215[_0x1a36dd],_0x5d4cb2,_0x5d6215[_0x1a36dd+0x1],_0x424251));return _0x4b7f37;}function _0x5db265(_0xd8e542,_0xbeb790,_0x2628da){let _0x5cf110=0x3b9aca00,_0x88b699=-0x3b9aca00,_0x450ce9=[];function _0x360b1a(_0x45b7b9,_0x474e46,_0x504483,_0x3b90cf,_0x1a22e1){let _0x52774c=_0x2b5ae8['coordsAtPos'](_0x45b7b9,_0x45b7b9==_0x2628da['to']?-0x2:0x2),_0x5c9a35=_0x2b5ae8['coordsAtPos'](_0x504483,_0x504483==_0x2628da['from']?0x2:-0x2);_0x52774c&&_0x5c9a35&&(_0x5cf110=Math['min'](_0x52774c['top'],_0x5c9a35['top'],_0x5cf110),_0x88b699=Math['max'](_0x52774c['bottom'],_0x5c9a35['bottom'],_0x88b699),_0x1a22e1==vv['LTR']?_0x450ce9['push'](_0x4910ec&&_0x474e46?_0x18e81d:_0x52774c['left'],_0x4910ec&&_0x3b90cf?_0x5e98b3:_0x5c9a35['right']):_0x450ce9['push'](!_0x4910ec&&_0x3b90cf?_0x18e81d:_0x5c9a35['left'],!_0x4910ec&&_0x474e46?_0x5e98b3:_0x52774c['right']));}let _0x11f776=null!=_0xd8e542?_0xd8e542:_0x2628da['from'],_0x138b45=null!=_0xbeb790?_0xbeb790:_0x2628da['to'];for(let _0x360679 of _0x2b5ae8['visibleRanges'])if(_0x360679['to']>_0x11f776&&_0x360679['from']<_0x138b45)for(let _0x2b9f3a=Math['max'](_0x360679['from'],_0x11f776),_0x2fc38a=Math['min'](_0x360679['to'],_0x138b45);;){let _0x375766=_0x2b5ae8['state']['doc']['lineAt'](_0x2b9f3a);for(let _0x44ffc1 of _0x2b5ae8['bidiSpans'](_0x375766)){let _0x194bcc=_0x44ffc1['from']+_0x375766['from'],_0x368e04=_0x44ffc1['to']+_0x375766['from'];if(_0x194bcc>=_0x2fc38a)break;_0x368e04>_0x2b9f3a&&_0x360b1a(Math['max'](_0x194bcc,_0x2b9f3a),null==_0xd8e542&&_0x194bcc<=_0x11f776,Math['min'](_0x368e04,_0x2fc38a),null==_0xbeb790&&_0x368e04>=_0x138b45,_0x44ffc1['dir']);}if(_0x2b9f3a=_0x375766['to']+0x1,_0x2b9f3a>=_0x2fc38a)break;}return 0x0==_0x450ce9['length']&&_0x360b1a(_0x11f776,null==_0xd8e542,_0x138b45,null==_0xbeb790,_0x2b5ae8['textDirection']),{'top':_0x5cf110,'bottom':_0x88b699,'horizontal':_0x450ce9};}function _0x42b79b(_0x50b6d0,_0x3416c3){let _0x4c9fd0=_0x566fe8['top']+(_0x3416c3?_0x50b6d0['top']:_0x50b6d0['bottom']);return{'top':_0x4c9fd0,'bottom':_0x4c9fd0,'horizontal':[]};}}(_0xcc0523,_0x2dd872,_0x1320cf);}}function ZE(_0xbcf034){let _0x3c1567=_0xbcf034['scrollDOM']['getBoundingClientRect']();return{'left':(_0xbcf034['textDirection']==vv['LTR']?_0x3c1567['left']:_0x3c1567['right']-_0xbcf034['scrollDOM']['clientWidth']*_0xbcf034['scaleX'])-_0xbcf034['scrollDOM']['scrollLeft']*_0xbcf034['scaleX'],'top':_0x3c1567['top']-_0xbcf034['scrollDOM']['scrollTop']*_0xbcf034['scaleY']};}function XE(_0x181f62,_0x5581ec,_0x30a995,_0x38e638){let _0xb87fab=_0x181f62['coordsAtPos'](_0x5581ec,0x2*_0x30a995);if(!_0xb87fab)return _0x38e638;let _0x8213d2=_0x181f62['dom']['getBoundingClientRect'](),_0x25b69c=(_0xb87fab['top']+_0xb87fab['bottom'])/0x2,_0x28c625=_0x181f62['posAtCoords']({'x':_0x8213d2['left']+0x1,'y':_0x25b69c}),_0x4560a7=_0x181f62['posAtCoords']({'x':_0x8213d2['right']-0x1,'y':_0x25b69c});return null==_0x28c625||null==_0x4560a7?_0x38e638:{'from':Math['max'](_0x38e638['from'],Math['min'](_0x28c625,_0x4560a7)),'to':Math['min'](_0x38e638['to'],Math['max'](_0x28c625,_0x4560a7))};}class LayerView{constructor(_0x1cf37a,_0x3b4b11){this['view']=_0x1cf37a,this['layer']=_0x3b4b11,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x1cf37a['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x3b4b11['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x3b4b11['class']&&this['dom']['classList']['add'](_0x3b4b11['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x1cf37a['state']),_0x1cf37a['requestMeasure'](this['measureReq']),_0x3b4b11['mount']&&_0x3b4b11['mount'](this['dom'],_0x1cf37a);}['update'](_0x148bcb){_0x148bcb['startState']['facet'](qE)!=_0x148bcb['state']['facet'](qE)&&this['setOrder'](_0x148bcb['state']),(this['layer']['update'](_0x148bcb,this['dom'])||_0x148bcb['geometryChanged'])&&(this['scale'](),_0x148bcb['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x35cc87){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x35cc87['requestMeasure'](this['measureReq']);}['setOrder'](_0x4dcc83){let _0x4e3649=0x0,_0x358a8f=_0x4dcc83['facet'](qE);for(;_0x4e3649<_0x358a8f['length']&&_0x358a8f[_0x4e3649]!=this['layer'];)_0x4e3649++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x4e3649);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x28746d,scaleY:_0x65a160}=this['view'];_0x28746d==this['scaleX']&&_0x65a160==this['scaleY']||(this['scaleX']=_0x28746d,this['scaleY']=_0x65a160,this['dom']['style']['transform']='scale('+0x1/_0x28746d+',\x20'+0x1/_0x65a160+')');}['draw'](_0x334235){if(_0x334235['length']!=this['drawn']['length']||_0x334235['some']((_0x3a9aea,_0x367ba2)=>!function(_0x1deffd,_0x19e028){return _0x1deffd['constructor']==_0x19e028['constructor']&&_0x1deffd['eq'](_0x19e028);}(_0x3a9aea,this['drawn'][_0x367ba2]))){let _0x4909be=this['dom']['firstChild'],_0x5cbfb4=0x0;for(let _0x44a743 of _0x334235)_0x44a743['update']&&_0x4909be&&_0x44a743['constructor']&&this['drawn'][_0x5cbfb4]['constructor']&&_0x44a743['update'](_0x4909be,this['drawn'][_0x5cbfb4])?(_0x4909be=_0x4909be['nextSibling'],_0x5cbfb4++):this['dom']['insertBefore'](_0x44a743['draw'](),_0x4909be);for(;_0x4909be;){let _0x166168=_0x4909be['nextSibling'];_0x4909be['remove'](),_0x4909be=_0x166168;}this['drawn']=_0x334235,Q_['safari']&&Q_['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 qE=Facet['define']();function WE(_0x26b449){return[ViewPlugin['define'](_0x306a3f=>new LayerView(_0x306a3f,_0x26b449)),qE['of'](_0x26b449)];}const zE=Facet['define']({'combine':_0x2f20cb=>n_(_0x2f20cb,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x447c4a,_0x15bf31)=>Math['min'](_0x447c4a,_0x15bf31),'drawRangeCursor':(_0x39cff0,_0x4f25d1)=>_0x39cff0||_0x4f25d1})});function YE(_0x35d5f3={}){return[zE['of'](_0x35d5f3),JE,eA,iA,zv['of'](!0x0)];}function KE(_0x58a369){return _0x58a369['startState']['facet'](zE)!=_0x58a369['state']['facet'](zE);}const JE=WE({'above':!0x0,'markers'(_0x5ec7f9){let {state:_0x57ebf3}=_0x5ec7f9,_0x3e54e7=_0x57ebf3['facet'](zE),_0x377523=[];for(let _0x312abc of _0x57ebf3['selection']['ranges']){let _0x14d636=_0x312abc==_0x57ebf3['selection']['main'];if(_0x312abc['empty']||_0x3e54e7['drawRangeCursor']){let _0x5fa2e3=_0x14d636?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x3307ce=_0x312abc['empty']?_0x312abc:EditorSelection['cursor'](_0x312abc['head'],_0x312abc['head']>_0x312abc['anchor']?-0x1:0x1);for(let _0x1343d8 of RectangleMarker['forRange'](_0x5ec7f9,_0x5fa2e3,_0x3307ce))_0x377523['push'](_0x1343d8);}}return _0x377523;},'update'(_0x5a8ac4,_0xe39c61){_0x5a8ac4['transactions']['some'](_0x173cfe=>_0x173cfe['selection'])&&(_0xe39c61['style']['animationName']='cm-blink'==_0xe39c61['style']['animationName']?'cm-blink2':'cm-blink');let _0x1eae17=KE(_0x5a8ac4);return _0x1eae17&&tA(_0x5a8ac4['state'],_0xe39c61),_0x5a8ac4['docChanged']||_0x5a8ac4['selectionSet']||_0x1eae17;},'mount'(_0x4132a7,_0x2c83ba){tA(_0x2c83ba['state'],_0x4132a7);},'class':'cm-cursorLayer'});function tA(_0x2f057a,_0x356eeb){_0x356eeb['style']['animationDuration']=_0x2f057a['facet'](zE)['cursorBlinkRate']+'ms';}const eA=WE({'above':!0x1,'markers':_0xe37134=>_0xe37134['state']['selection']['ranges']['map'](_0x221cc1=>_0x221cc1['empty']?[]:RectangleMarker['forRange'](_0xe37134,'cm-selectionBackground',_0x221cc1))['reduce']((_0x3f6773,_0x449c96)=>_0x3f6773['concat'](_0x449c96)),'update':(_0x5e7233,_0x154a66)=>_0x5e7233['docChanged']||_0x5e7233['selectionSet']||_0x5e7233['viewportChanged']||KE(_0x5e7233),'class':'cm-selectionLayer'}),iA=$y['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'}}}})),sA=StateEffect['define']({'map':(_0x376205,_0x175f56)=>null==_0x376205?null:_0x175f56['mapPos'](_0x376205)}),nA=StateField['define']({'create':()=>null,'update':(_0x33b270,_0x2cd6e4)=>(null!=_0x33b270&&(_0x33b270=_0x2cd6e4['changes']['mapPos'](_0x33b270)),_0x2cd6e4['effects']['reduce']((_0x5923ee,_0x485912)=>_0x485912['is'](sA)?_0x485912['value']:_0x5923ee,_0x33b270))}),rA=ViewPlugin['fromClass'](class{constructor(_0x484e88){this['view']=_0x484e88,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x4ba678){var _0x2bb22e;let _0x3e64f7=_0x4ba678['state']['field'](nA);null==_0x3e64f7?null!=this['cursor']&&(null===(_0x2bb22e=this['cursor'])||void 0x0===_0x2bb22e||_0x2bb22e['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x4ba678['startState']['field'](nA)!=_0x3e64f7||_0x4ba678['docChanged']||_0x4ba678['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x34a982}=this,_0x529817=_0x34a982['state']['field'](nA),_0x20a863=null!=_0x529817&&_0x34a982['coordsAtPos'](_0x529817);if(!_0x20a863)return null;let _0x143154=_0x34a982['scrollDOM']['getBoundingClientRect']();return{'left':_0x20a863['left']-_0x143154['left']+_0x34a982['scrollDOM']['scrollLeft']*_0x34a982['scaleX'],'top':_0x20a863['top']-_0x143154['top']+_0x34a982['scrollDOM']['scrollTop']*_0x34a982['scaleY'],'height':_0x20a863['bottom']-_0x20a863['top']};}['drawCursor'](_0x4ebf00){if(this['cursor']){let {scaleX:_0x451167,scaleY:_0x209b1b}=this['view'];_0x4ebf00?(this['cursor']['style']['left']=_0x4ebf00['left']/_0x451167+'px',this['cursor']['style']['top']=_0x4ebf00['top']/_0x209b1b+'px',this['cursor']['style']['height']=_0x4ebf00['height']/_0x209b1b+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x4977de){this['view']['state']['field'](nA)!=_0x4977de&&this['view']['dispatch']({'effects':sA['of'](_0x4977de)});}},{'eventObservers':{'dragover'(_0xac91f2){this['setDropPos'](this['view']['posAtCoords']({'x':_0xac91f2['clientX'],'y':_0xac91f2['clientY']}));},'dragleave'(_0x5d03e9){_0x5d03e9['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x5d03e9['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function oA(){return[nA,rA];}function aA(_0x37b661,_0x47987e,_0x16637a,_0x487d9e,_0x1058d9){_0x47987e['lastIndex']=0x0;for(let _0x422562,_0x2e8d41=_0x37b661['iterRange'](_0x16637a,_0x487d9e),_0x3b14eb=_0x16637a;!_0x2e8d41['next']()['done'];_0x3b14eb+=_0x2e8d41['value']['length'])if(!_0x2e8d41['lineBreak']){for(;_0x422562=_0x47987e['exec'](_0x2e8d41['value']);)_0x1058d9(_0x3b14eb+_0x422562['index'],_0x422562);}}class MatchDecorator{constructor(_0x71dfa9){const {regexp:_0x5560af,decoration:_0xc06fb,decorate:_0x4e7737,boundary:_0xc0c48e,maxLength:_0x30e739=0x3e8}=_0x71dfa9;if(!_0x5560af['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x5560af,_0x4e7737)this['addMatch']=(_0x14b9a3,_0x241fd7,_0x427d30,_0x516021)=>_0x4e7737(_0x516021,_0x427d30,_0x427d30+_0x14b9a3[0x0]['length'],_0x14b9a3,_0x241fd7);else{if('function'==typeof _0xc06fb)this['addMatch']=(_0x3008ac,_0x24f75e,_0x44efd6,_0x198ba3)=>{let _0x43c3e2=_0xc06fb(_0x3008ac,_0x24f75e,_0x44efd6);_0x43c3e2&&_0x198ba3(_0x44efd6,_0x44efd6+_0x3008ac[0x0]['length'],_0x43c3e2);};else{if(!_0xc06fb)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x5a22de,_0x6dc0d6,_0x2c0294,_0x1fe9a7)=>_0x1fe9a7(_0x2c0294,_0x2c0294+_0x5a22de[0x0]['length'],_0xc06fb);}}this['boundary']=_0xc0c48e,this['maxLength']=_0x30e739;}['createDeco'](_0x7bac30){let _0x5c1ee5=new RangeSetBuilder(),_0xb5d54b=_0x5c1ee5['add']['bind'](_0x5c1ee5);for(let {from:_0x3d8f37,to:_0x1112f0}of function(_0x697546,_0x36571f){let _0x1289ad=_0x697546['visibleRanges'];if(0x1==_0x1289ad['length']&&_0x1289ad[0x0]['from']==_0x697546['viewport']['from']&&_0x1289ad[0x0]['to']==_0x697546['viewport']['to'])return _0x1289ad;let _0x345806=[];for(let {from:_0x533ec7,to:_0x33075a}of _0x1289ad)_0x533ec7=Math['max'](_0x697546['state']['doc']['lineAt'](_0x533ec7)['from'],_0x533ec7-_0x36571f),_0x33075a=Math['min'](_0x697546['state']['doc']['lineAt'](_0x33075a)['to'],_0x33075a+_0x36571f),_0x345806['length']&&_0x345806[_0x345806['length']-0x1]['to']>=_0x533ec7?_0x345806[_0x345806['length']-0x1]['to']=_0x33075a:_0x345806['push']({'from':_0x533ec7,'to':_0x33075a});return _0x345806;}(_0x7bac30,this['maxLength']))aA(_0x7bac30['state']['doc'],this['regexp'],_0x3d8f37,_0x1112f0,(_0x12442b,_0x55dd00)=>this['addMatch'](_0x55dd00,_0x7bac30,_0x12442b,_0xb5d54b));return _0x5c1ee5['finish']();}['updateDeco'](_0xc400e8,_0x1c2163){let _0x442bf4=0x3b9aca00,_0x19d06a=-0x1;return _0xc400e8['docChanged']&&_0xc400e8['changes']['iterChanges']((_0x390e0b,_0x569bc3,_0x14cb15,_0x240131)=>{_0x240131>=_0xc400e8['view']['viewport']['from']&&_0x14cb15<=_0xc400e8['view']['viewport']['to']&&(_0x442bf4=Math['min'](_0x14cb15,_0x442bf4),_0x19d06a=Math['max'](_0x240131,_0x19d06a));}),_0xc400e8['viewportMoved']||_0x19d06a-_0x442bf4>0x3e8?this['createDeco'](_0xc400e8['view']):_0x19d06a>-0x1?this['updateRange'](_0xc400e8['view'],_0x1c2163['map'](_0xc400e8['changes']),_0x442bf4,_0x19d06a):_0x1c2163;}['updateRange'](_0x2f614e,_0x529ec0,_0x5d8377,_0x1bfcd0){for(let _0x4bfbb6 of _0x2f614e['visibleRanges']){let _0xc7c133=Math['max'](_0x4bfbb6['from'],_0x5d8377),_0xeb9a1f=Math['min'](_0x4bfbb6['to'],_0x1bfcd0);if(_0xeb9a1f>=_0xc7c133){let _0x2685e9=_0x2f614e['state']['doc']['lineAt'](_0xc7c133),_0x245a21=_0x2685e9['to']<_0xeb9a1f?_0x2f614e['state']['doc']['lineAt'](_0xeb9a1f):_0x2685e9,_0x50f86a=Math['max'](_0x4bfbb6['from'],_0x2685e9['from']),_0x3321c9=Math['min'](_0x4bfbb6['to'],_0x245a21['to']);if(this['boundary']){for(;_0xc7c133>_0x2685e9['from'];_0xc7c133--)if(this['boundary']['test'](_0x2685e9['text'][_0xc7c133-0x1-_0x2685e9['from']])){_0x50f86a=_0xc7c133;break;}for(;_0xeb9a1f<_0x245a21['to'];_0xeb9a1f++)if(this['boundary']['test'](_0x245a21['text'][_0xeb9a1f-_0x245a21['from']])){_0x3321c9=_0xeb9a1f;break;}}let _0x5389aa,_0x4fca4e=[],_0x21b3fc=(_0x3b7dee,_0x5d5e71,_0x5ccdad)=>_0x4fca4e['push'](_0x5ccdad['range'](_0x3b7dee,_0x5d5e71));if(_0x2685e9==_0x245a21){for(this['regexp']['lastIndex']=_0x50f86a-_0x2685e9['from'];(_0x5389aa=this['regexp']['exec'](_0x2685e9['text']))&&_0x5389aa['index']<_0x3321c9-_0x2685e9['from'];)this['addMatch'](_0x5389aa,_0x2f614e,_0x5389aa['index']+_0x2685e9['from'],_0x21b3fc);}else aA(_0x2f614e['state']['doc'],this['regexp'],_0x50f86a,_0x3321c9,(_0x13dfbc,_0x3587a6)=>this['addMatch'](_0x3587a6,_0x2f614e,_0x13dfbc,_0x21b3fc));_0x529ec0=_0x529ec0['update']({'filterFrom':_0x50f86a,'filterTo':_0x3321c9,'filter':(_0x45d665,_0x68f89b)=>_0x45d665<_0x50f86a||_0x68f89b>_0x3321c9,'add':_0x4fca4e});}}return _0x529ec0;}}const cA=null!=/x/['unicode']?'gu':'g',lA=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',cA),hA={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 uA=null;const dA=Facet['define']({'combine'(_0x49db91){let _0x1d9b9c=n_(_0x49db91,{'render':null,'specialChars':lA,'addSpecialChars':null});return(_0x1d9b9c['replaceTabs']=!(function(){var _0x5e1fe7;if(null==uA&&'undefined'!=typeof document&&document['body']){let _0x385094=document['body']['style'];uA=null!=(null!==(_0x5e1fe7=_0x385094['tabSize'])&&void 0x0!==_0x5e1fe7?_0x5e1fe7:_0x385094['MozTabSize']);}return uA||!0x1;}()))&&(_0x1d9b9c['specialChars']=new RegExp('\x09|'+_0x1d9b9c['specialChars']['source'],cA)),_0x1d9b9c['addSpecialChars']&&(_0x1d9b9c['specialChars']=new RegExp(_0x1d9b9c['specialChars']['source']+'|'+_0x1d9b9c['addSpecialChars']['source'],cA)),_0x1d9b9c;}});function fA(_0x52f5e0={}){return[dA['of'](_0x52f5e0),mA||(mA=ViewPlugin['fromClass'](class{constructor(_0x18af41){this['view']=_0x18af41,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x18af41['state']['facet'](dA)),this['decorations']=this['decorator']['createDeco'](_0x18af41);}['makeDecorator'](_0x6ca2ad){return new MatchDecorator({'regexp':_0x6ca2ad['specialChars'],'decoration':(_0x4a1975,_0xb8d046,_0x5eea80)=>{let {doc:_0x126969}=_0xb8d046['state'],_0x4bc4fc=py(_0x4a1975[0x0],0x0);if(0x9==_0x4bc4fc){let _0x1081f0=_0x126969['lineAt'](_0x5eea80),_0xfeeb87=_0xb8d046['state']['tabSize'],_0x3c0f4d=m_(_0x1081f0['text'],_0xfeeb87,_0x5eea80-_0x1081f0['from']);return Decoration['replace']({'widget':new TabWidget((_0xfeeb87-_0x3c0f4d%_0xfeeb87)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x4bc4fc]||(this['decorationCache'][_0x4bc4fc]=Decoration['replace']({'widget':new SpecialCharWidget(_0x6ca2ad,_0x4bc4fc)}));},'boundary':_0x6ca2ad['replaceTabs']?void 0x0:/[^]/});}['update'](_0x26570e){let _0x8ff3de=_0x26570e['state']['facet'](dA);_0x26570e['startState']['facet'](dA)!=_0x8ff3de?(this['decorator']=this['makeDecorator'](_0x8ff3de),this['decorations']=this['decorator']['createDeco'](_0x26570e['view'])):this['decorations']=this['decorator']['updateDeco'](_0x26570e,this['decorations']);}},{'decorations':_0x57a9ed=>_0x57a9ed['decorations']}))];}let mA=null;class SpecialCharWidget extends WidgetType{constructor(_0x134035,_0x18a51b){super(),this['options']=_0x134035,this['code']=_0x18a51b;}['eq'](_0x212f1e){return _0x212f1e['code']==this['code'];}['toDOM'](_0x297361){let _0x11bcac=function(_0x54760f){return _0x54760f>=0x20?'•':0xa==_0x54760f?'␤':String['fromCharCode'](0x2400+_0x54760f);}(this['code']),_0x359768=_0x297361['state']['phrase']('Control\x20character')+'\x20'+(hA[this['code']]||'0x'+this['code']['toString'](0x10)),_0x288c34=this['options']['render']&&this['options']['render'](this['code'],_0x359768,_0x11bcac);if(_0x288c34)return _0x288c34;let _0x46f629=document['createElement']('span');return _0x46f629['textContent']=_0x11bcac,_0x46f629['title']=_0x359768,_0x46f629['setAttribute']('aria-label',_0x359768),_0x46f629['className']='cm-specialChar',_0x46f629;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x1513ea){super(),this['width']=_0x1513ea;}['eq'](_0x99c27e){return _0x99c27e['width']==this['width'];}['toDOM'](){let _0x32b6d5=document['createElement']('span');return _0x32b6d5['textContent']='\x09',_0x32b6d5['className']='cm-tab',_0x32b6d5['style']['width']=this['width']+'px',_0x32b6d5;}['ignoreEvent'](){return!0x1;}}function gA(){return OA;}const pA=Decoration['line']({'class':'cm-activeLine'}),OA=ViewPlugin['fromClass'](class{constructor(_0x95c4c0){this['decorations']=this['getDeco'](_0x95c4c0);}['update'](_0x325d6b){(_0x325d6b['docChanged']||_0x325d6b['selectionSet'])&&(this['decorations']=this['getDeco'](_0x325d6b['view']));}['getDeco'](_0x57c83e){let _0x22d5b1=-0x1,_0xf4c65a=[];for(let _0x1bf0ed of _0x57c83e['state']['selection']['ranges']){let _0x29bf40=_0x57c83e['lineBlockAt'](_0x1bf0ed['head']);_0x29bf40['from']>_0x22d5b1&&(_0xf4c65a['push'](pA['range'](_0x29bf40['from'])),_0x22d5b1=_0x29bf40['from']);}return Decoration['set'](_0xf4c65a);}},{'decorations':_0x56056d=>_0x56056d['decorations']}),wA=0x7d0;function bA(_0x2efb37,_0x5404cd){let _0x130eae=_0x2efb37['posAtCoords']({'x':_0x5404cd['clientX'],'y':_0x5404cd['clientY']},!0x1),_0x3a7d51=_0x2efb37['state']['doc']['lineAt'](_0x130eae),_0xb4931e=_0x130eae-_0x3a7d51['from'],_0x2bb8d0=_0xb4931e>wA?-0x1:_0xb4931e==_0x3a7d51['length']?function(_0x1659c5,_0x5b8b3f){let _0x4433f9=_0x1659c5['coordsAtPos'](_0x1659c5['viewport']['from']);return _0x4433f9?Math['round'](Math['abs']((_0x4433f9['left']-_0x5b8b3f)/_0x1659c5['defaultCharacterWidth'])):-0x1;}(_0x2efb37,_0x5404cd['clientX']):m_(_0x3a7d51['text'],_0x2efb37['state']['tabSize'],_0x130eae-_0x3a7d51['from']);return{'line':_0x3a7d51['number'],'col':_0x2bb8d0,'off':_0xb4931e};}function yA(_0x514076,_0x625b37){let _0x5e71a2=bA(_0x514076,_0x625b37),_0x1f81e0=_0x514076['state']['selection'];return _0x5e71a2?{'update'(_0x5b670e){if(_0x5b670e['docChanged']){let _0x81d221=_0x5b670e['changes']['mapPos'](_0x5b670e['startState']['doc']['line'](_0x5e71a2['line'])['from']),_0x59b09f=_0x5b670e['state']['doc']['lineAt'](_0x81d221);_0x5e71a2={'line':_0x59b09f['number'],'col':_0x5e71a2['col'],'off':Math['min'](_0x5e71a2['off'],_0x59b09f['length'])},_0x1f81e0=_0x1f81e0['map'](_0x5b670e['changes']);}},'get'(_0xfb60bf,_0x3ab2ec,_0x5d2f89){let _0xa1e037=bA(_0x514076,_0xfb60bf);if(!_0xa1e037)return _0x1f81e0;let _0x4d57a0=function(_0x1d79fc,_0x57c72b,_0x12f3c0){let _0x524c45=Math['min'](_0x57c72b['line'],_0x12f3c0['line']),_0x364ddf=Math['max'](_0x57c72b['line'],_0x12f3c0['line']),_0x4f49ec=[];if(_0x57c72b['off']>wA||_0x12f3c0['off']>wA||_0x57c72b['col']<0x0||_0x12f3c0['col']<0x0){let _0x3b869a=Math['min'](_0x57c72b['off'],_0x12f3c0['off']),_0x49a442=Math['max'](_0x57c72b['off'],_0x12f3c0['off']);for(let _0x19c933=_0x524c45;_0x19c933<=_0x364ddf;_0x19c933++){let _0x48bb78=_0x1d79fc['doc']['line'](_0x19c933);_0x48bb78['length']<=_0x49a442&&_0x4f49ec['push'](EditorSelection['range'](_0x48bb78['from']+_0x3b869a,_0x48bb78['to']+_0x49a442));}}else{let _0x590b55=Math['min'](_0x57c72b['col'],_0x12f3c0['col']),_0x2d23ca=Math['max'](_0x57c72b['col'],_0x12f3c0['col']);for(let _0x4bd1cd=_0x524c45;_0x4bd1cd<=_0x364ddf;_0x4bd1cd++){let _0x41320a=_0x1d79fc['doc']['line'](_0x4bd1cd),_0x9544de=g_(_0x41320a['text'],_0x590b55,_0x1d79fc['tabSize'],!0x0);if(_0x9544de<0x0)_0x4f49ec['push'](EditorSelection['cursor'](_0x41320a['to']));else{let _0x3eaa02=g_(_0x41320a['text'],_0x2d23ca,_0x1d79fc['tabSize']);_0x4f49ec['push'](EditorSelection['range'](_0x41320a['from']+_0x9544de,_0x41320a['from']+_0x3eaa02));}}}return _0x4f49ec;}(_0x514076['state'],_0x5e71a2,_0xa1e037);return _0x4d57a0['length']?_0x5d2f89?EditorSelection['create'](_0x4d57a0['concat'](_0x1f81e0['ranges'])):EditorSelection['create'](_0x4d57a0):_0x1f81e0;}}:null;}function _A(_0x246257){return EditorView['mouseSelectionStyle']['of']((_0x3e54ea,_0x458e9e)=>{return(_0x36c407=_0x458e9e)['altKey']&&0x0==_0x36c407['button']?yA(_0x3e54ea,_0x458e9e):null;var _0x36c407;});}const vA={'Alt':[0x12,_0x4848a3=>!!_0x4848a3['altKey']],'Control':[0x11,_0x5aee3a=>!!_0x5aee3a['ctrlKey']],'Shift':[0x10,_0x2f7648=>!!_0x2f7648['shiftKey']],'Meta':[0x5b,_0x5e121d=>!!_0x5e121d['metaKey']]},TA={'style':'cursor:\x20crosshair'};function EA(_0x22db7c={}){let [_0x1d9ed2,_0x2609ff]=vA[_0x22db7c['key']||'Alt'],_0x4c2e11=ViewPlugin['fromClass'](class{constructor(_0x282c3b){this['view']=_0x282c3b,this['isDown']=!0x1;}['set'](_0x34ff65){this['isDown']!=_0x34ff65&&(this['isDown']=_0x34ff65,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x8ec625){this['set'](_0x8ec625['keyCode']==_0x1d9ed2||_0x2609ff(_0x8ec625));},'keyup'(_0x4181b3){_0x4181b3['keyCode']!=_0x1d9ed2&&_0x2609ff(_0x4181b3)||this['set'](!0x1);},'mousemove'(_0x519e17){this['set'](_0x2609ff(_0x519e17));}}});return[_0x4c2e11,EditorView['contentAttributes']['of'](_0x2a5905=>{var _0x4e5eff;return(null===(_0x4e5eff=_0x2a5905['plugin'](_0x4c2e11))||void 0x0===_0x4e5eff?void 0x0:_0x4e5eff['isDown'])?TA:null;})];}const AA='-10000px';class TooltipViewManager{constructor(_0x3e7172,_0x3ed0d5,_0x36f5b3,_0x28310f){this['facet']=_0x3ed0d5,this['createTooltipView']=_0x36f5b3,this['removeTooltipView']=_0x28310f,this['input']=_0x3e7172['state']['facet'](_0x3ed0d5),this['tooltips']=this['input']['filter'](t=>t);let _0x51b75b=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x51b75b=_0x36f5b3(t,_0x51b75b));}['update'](_0x369721,_0x4f4dd7){var _0x4f8afb;let _0x51df75=_0x369721['state']['facet'](this['facet']),_0x40a92=_0x51df75['filter'](_0x452408=>_0x452408);if(_0x51df75===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x369721);return!0x1;}let _0x4ec37e=[],_0x22cb3c=_0x4f4dd7?[]:null;for(let _0x4ee414=0x0;_0x4ee414<_0x40a92['length'];_0x4ee414++){let _0x32ace8=_0x40a92[_0x4ee414],_0x5f0c1d=-0x1;if(_0x32ace8){for(let _0x461b37=0x0;_0x461b37<this['tooltips']['length'];_0x461b37++){let _0x2df5af=this['tooltips'][_0x461b37];_0x2df5af&&_0x2df5af['create']==_0x32ace8['create']&&(_0x5f0c1d=_0x461b37);}if(_0x5f0c1d<0x0)_0x4ec37e[_0x4ee414]=this['createTooltipView'](_0x32ace8,_0x4ee414?_0x4ec37e[_0x4ee414-0x1]:null),_0x22cb3c&&(_0x22cb3c[_0x4ee414]=!!_0x32ace8['above']);else{let _0x22ec41=_0x4ec37e[_0x4ee414]=this['tooltipViews'][_0x5f0c1d];_0x22cb3c&&(_0x22cb3c[_0x4ee414]=_0x4f4dd7[_0x5f0c1d]),_0x22ec41['update']&&_0x22ec41['update'](_0x369721);}}}for(let t of this['tooltipViews'])_0x4ec37e['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x4f8afb=t['destroy'])||void 0x0===_0x4f8afb||_0x4f8afb['call'](t));return _0x4f4dd7&&(_0x22cb3c['forEach']((_0x13e1e2,_0x1bb1e8)=>_0x4f4dd7[_0x1bb1e8]=_0x13e1e2),_0x4f4dd7['length']=_0x22cb3c['length']),this['input']=_0x51df75,this['tooltips']=_0x40a92,this['tooltipViews']=_0x4ec37e,!0x0;}}function IA(_0x398453){let _0xb4a791=_0x398453['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0xb4a791['clientHeight'],'right':_0xb4a791['clientWidth']};}const SA=Facet['define']({'combine':_0x4165f2=>{var _0x5a63c6,_0x14df27,_0x491d71;return{'position':Q_['ios']?'absolute':(null===(_0x5a63c6=_0x4165f2['find'](_0x29f3e8=>_0x29f3e8['position']))||void 0x0===_0x5a63c6?void 0x0:_0x5a63c6['position'])||'fixed','parent':(null===(_0x14df27=_0x4165f2['find'](_0x26d8d7=>_0x26d8d7['parent']))||void 0x0===_0x14df27?void 0x0:_0x14df27['parent'])||null,'tooltipSpace':(null===(_0x491d71=_0x4165f2['find'](_0x1145d9=>_0x1145d9['tooltipSpace']))||void 0x0===_0x491d71?void 0x0:_0x491d71['tooltipSpace'])||IA};}}),CA=new WeakMap(),kA=ViewPlugin['fromClass'](class{constructor(_0x14dbb9){this['view']=_0x14dbb9,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x5cae52=_0x14dbb9['state']['facet'](SA);this['position']=_0x5cae52['position'],this['parent']=_0x5cae52['parent'],this['classes']=_0x14dbb9['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(_0x14dbb9,MA,(t,_0x437b22)=>this['createTooltip'](t,_0x437b22),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(_0x36c907=>{Date['now']()>this['lastTransaction']-0x32&&_0x36c907['length']>0x0&&_0x36c907[_0x36c907['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x14dbb9['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 _0x46a017 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x46a017['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x4ce5a3){_0x4ce5a3['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x361d09=this['manager']['update'](_0x4ce5a3,this['above']);_0x361d09&&this['observeIntersection']();let _0x15bf8f=_0x361d09||_0x4ce5a3['geometryChanged'],_0x5be311=_0x4ce5a3['state']['facet'](SA);if(_0x5be311['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x5be311['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x15bf8f=!0x0;}if(_0x5be311['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x5be311['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x15bf8f=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x15bf8f&&this['maybeMeasure']();}['createTooltip'](_0x5e3770,_0x16c8eb){let _0x233b1c=_0x5e3770['create'](this['view']),_0x58587b=_0x16c8eb?_0x16c8eb['dom']:null;if(_0x233b1c['dom']['classList']['add']('cm-tooltip'),_0x5e3770['arrow']&&!_0x233b1c['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x150662=document['createElement']('div');_0x150662['className']='cm-tooltip-arrow',_0x233b1c['dom']['appendChild'](_0x150662);}return _0x233b1c['dom']['style']['position']=this['position'],_0x233b1c['dom']['style']['top']=AA,_0x233b1c['dom']['style']['left']='0px',this['container']['insertBefore'](_0x233b1c['dom'],_0x58587b),_0x233b1c['mount']&&_0x233b1c['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x233b1c['dom']),_0x233b1c;}['destroy'](){var _0x5039eb,_0x21357c,_0x122bb2;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x29c0ac of this['manager']['tooltipViews'])_0x29c0ac['dom']['remove'](),null===(_0x5039eb=_0x29c0ac['destroy'])||void 0x0===_0x5039eb||_0x5039eb['call'](_0x29c0ac);this['parent']&&this['container']['remove'](),null===(_0x21357c=this['resizeObserver'])||void 0x0===_0x21357c||_0x21357c['disconnect'](),null===(_0x122bb2=this['intersectionObserver'])||void 0x0===_0x122bb2||_0x122bb2['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x379cca=0x1,_0x354dd7=0x1,_0x3567e2=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x48392c}=this['manager']['tooltipViews'][0x0];if(Q_['gecko'])_0x3567e2=_0x48392c['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x48392c['style']['top']==AA&&'0px'==_0x48392c['style']['left']){let _0x1a739f=_0x48392c['getBoundingClientRect']();_0x3567e2=Math['abs'](_0x1a739f['top']+0x2710)>0x1||Math['abs'](_0x1a739f['left'])>0x1;}}}if(_0x3567e2||'absolute'==this['position']){if(this['parent']){let _0x424621=this['parent']['getBoundingClientRect']();_0x424621['width']&&_0x424621['height']&&(_0x379cca=_0x424621['width']/this['parent']['offsetWidth'],_0x354dd7=_0x424621['height']/this['parent']['offsetHeight']);}else({scaleX:_0x379cca,scaleY:_0x354dd7}=this['view']['viewState']);}let _0x349fdd=this['view']['scrollDOM']['getBoundingClientRect'](),_0x50b265=dT(this['view']);return{'visible':{'left':_0x349fdd['left']+_0x50b265['left'],'top':_0x349fdd['top']+_0x50b265['top'],'right':_0x349fdd['right']-_0x50b265['right'],'bottom':_0x349fdd['bottom']-_0x50b265['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x809d9c)=>{let _0x56b2ec=this['manager']['tooltipViews'][_0x809d9c];return _0x56b2ec['getCoords']?_0x56b2ec['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x2f6803})=>_0x2f6803['getBoundingClientRect']()),'space':this['view']['state']['facet'](SA)['tooltipSpace'](this['view']),'scaleX':_0x379cca,'scaleY':_0x354dd7,'makeAbsolute':_0x3567e2};}['writeMeasure'](_0x5b277e){var _0x1b50ac;if(_0x5b277e['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0xdbcbf7,space:_0x4bd09,scaleX:_0x3d2db8,scaleY:_0x285062}=_0x5b277e,_0x5a9eb7=[];for(let _0x52df59=0x0;_0x52df59<this['manager']['tooltips']['length'];_0x52df59++){let _0x25e40e=this['manager']['tooltips'][_0x52df59],_0xe1513b=this['manager']['tooltipViews'][_0x52df59],{dom:_0x49ba5d}=_0xe1513b,_0x210208=_0x5b277e['pos'][_0x52df59],_0x37e061=_0x5b277e['size'][_0x52df59];if(!_0x210208||!0x1!==_0x25e40e['clip']&&(_0x210208['bottom']<=Math['max'](_0xdbcbf7['top'],_0x4bd09['top'])||_0x210208['top']>=Math['min'](_0xdbcbf7['bottom'],_0x4bd09['bottom'])||_0x210208['right']<Math['max'](_0xdbcbf7['left'],_0x4bd09['left'])-0.1||_0x210208['left']>Math['min'](_0xdbcbf7['right'],_0x4bd09['right'])+0.1)){_0x49ba5d['style']['top']=AA;continue;}let _0x4fcde6=_0x25e40e['arrow']?_0xe1513b['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x4ad0d3=_0x4fcde6?0x7:0x0,_0x2c3bce=_0x37e061['right']-_0x37e061['left'],_0xc69721=null!==(_0x1b50ac=CA['get'](_0xe1513b))&&void 0x0!==_0x1b50ac?_0x1b50ac:_0x37e061['bottom']-_0x37e061['top'],_0x5e7d00=_0xe1513b['offset']||PA,_0x48b5db=this['view']['textDirection']==vv['LTR'],_0x57e508=_0x37e061['width']>_0x4bd09['right']-_0x4bd09['left']?_0x48b5db?_0x4bd09['left']:_0x4bd09['right']-_0x37e061['width']:_0x48b5db?Math['max'](_0x4bd09['left'],Math['min'](_0x210208['left']-(_0x4fcde6?0xe:0x0)+_0x5e7d00['x'],_0x4bd09['right']-_0x2c3bce)):Math['min'](Math['max'](_0x4bd09['left'],_0x210208['left']-_0x2c3bce+(_0x4fcde6?0xe:0x0)-_0x5e7d00['x']),_0x4bd09['right']-_0x2c3bce),_0x2d22af=this['above'][_0x52df59];!_0x25e40e['strictSide']&&(_0x2d22af?_0x210208['top']-_0xc69721-_0x4ad0d3-_0x5e7d00['y']<_0x4bd09['top']:_0x210208['bottom']+_0xc69721+_0x4ad0d3+_0x5e7d00['y']>_0x4bd09['bottom'])&&_0x2d22af==_0x4bd09['bottom']-_0x210208['bottom']>_0x210208['top']-_0x4bd09['top']&&(_0x2d22af=this['above'][_0x52df59]=!_0x2d22af);let _0x9ecc6e=(_0x2d22af?_0x210208['top']-_0x4bd09['top']:_0x4bd09['bottom']-_0x210208['bottom'])-_0x4ad0d3;if(_0x9ecc6e<_0xc69721&&!0x1!==_0xe1513b['resize']){if(_0x9ecc6e<this['view']['defaultLineHeight']){_0x49ba5d['style']['top']=AA;continue;}CA['set'](_0xe1513b,_0xc69721),_0x49ba5d['style']['height']=(_0xc69721=_0x9ecc6e)/_0x285062+'px';}else _0x49ba5d['style']['height']&&(_0x49ba5d['style']['height']='');let _0x3ce337=_0x2d22af?_0x210208['top']-_0xc69721-_0x4ad0d3-_0x5e7d00['y']:_0x210208['bottom']+_0x4ad0d3+_0x5e7d00['y'],_0x3459f0=_0x57e508+_0x2c3bce;if(!0x0!==_0xe1513b['overlap']){for(let _0x67df9e of _0x5a9eb7)_0x67df9e['left']<_0x3459f0&&_0x67df9e['right']>_0x57e508&&_0x67df9e['top']<_0x3ce337+_0xc69721&&_0x67df9e['bottom']>_0x3ce337&&(_0x3ce337=_0x2d22af?_0x67df9e['top']-_0xc69721-0x2-_0x4ad0d3:_0x67df9e['bottom']+_0x4ad0d3+0x2);}if('absolute'==this['position']?(_0x49ba5d['style']['top']=(_0x3ce337-_0x5b277e['parent']['top'])/_0x285062+'px',xA(_0x49ba5d,(_0x57e508-_0x5b277e['parent']['left'])/_0x3d2db8)):(_0x49ba5d['style']['top']=_0x3ce337/_0x285062+'px',xA(_0x49ba5d,_0x57e508/_0x3d2db8)),_0x4fcde6){let _0x215d92=_0x210208['left']+(_0x48b5db?_0x5e7d00['x']:-_0x5e7d00['x'])-(_0x57e508+0xe-0x7);_0x4fcde6['style']['left']=_0x215d92/_0x3d2db8+'px';}!0x0!==_0xe1513b['overlap']&&_0x5a9eb7['push']({'left':_0x57e508,'top':_0x3ce337,'right':_0x3459f0,'bottom':_0x3ce337+_0xc69721}),_0x49ba5d['classList']['toggle']('cm-tooltip-above',_0x2d22af),_0x49ba5d['classList']['toggle']('cm-tooltip-below',!_0x2d22af),_0xe1513b['positioned']&&_0xe1513b['positioned'](_0x5b277e['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 _0x1aa074 of this['manager']['tooltipViews'])_0x1aa074['dom']['style']['top']=AA;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function xA(_0x463890,_0x40e0b9){let _0x5346a9=parseInt(_0x463890['style']['left'],0xa);(isNaN(_0x5346a9)||Math['abs'](_0x40e0b9-_0x5346a9)>0x1)&&(_0x463890['style']['left']=_0x40e0b9+'px');}const RA=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'}}}),PA={'x':0x0,'y':0x0},MA=Facet['define']({'enables':[kA,RA]});function NA(_0x584a44,_0x980c73){let _0x4f8320=_0x584a44['plugin'](kA);if(!_0x4f8320)return null;let _0x55b19e=_0x4f8320['manager']['tooltips']['indexOf'](_0x980c73);return _0x55b19e<0x0?null:_0x4f8320['manager']['tooltipViews'][_0x55b19e];}class GutterMarker extends RangeValue{['compare'](_0xc11984){return this==_0xc11984||this['constructor']==_0xc11984['constructor']&&this['eq'](_0xc11984);}['eq'](_0x3d1f38){return!0x1;}['destroy'](_0x3e9270){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=yy['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const LA=Facet['define'](),DA=Facet['define'](),QA={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},$A=Facet['define']();function VA(_0x71dfdd){return[BA(),$A['of']({...QA,..._0x71dfdd})];}const UA=Facet['define']({'combine':_0x2bfbd6=>_0x2bfbd6['some'](_0x2f03ef=>_0x2f03ef)});function BA(_0x567eb9){return[FA];}const FA=ViewPlugin['fromClass'](class{constructor(_0x2faf79){this['view']=_0x2faf79,this['domAfter']=null,this['prevViewport']=_0x2faf79['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']=_0x2faf79['state']['facet']($A)['map'](_0x44276b=>new SingleGutterView(_0x2faf79,_0x44276b)),this['fixed']=!_0x2faf79['state']['facet'](UA);for(let _0x1cc4e0 of this['gutters'])'after'==_0x1cc4e0['config']['side']?this['getDOMAfter']()['appendChild'](_0x1cc4e0['dom']):this['dom']['appendChild'](_0x1cc4e0['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x2faf79['scrollDOM']['insertBefore'](this['dom'],_0x2faf79['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'](_0x405e1f){if(this['updateGutters'](_0x405e1f)){let _0x5e1cbe=this['prevViewport'],_0x1ee0ef=_0x405e1f['view']['viewport'],_0x4e7a20=Math['min'](_0x5e1cbe['to'],_0x1ee0ef['to'])-Math['max'](_0x5e1cbe['from'],_0x1ee0ef['from']);this['syncGutters'](_0x4e7a20<0.8*(_0x1ee0ef['to']-_0x1ee0ef['from']));}if(_0x405e1f['geometryChanged']){let _0x20a5da=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x20a5da,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x20a5da);}this['view']['state']['facet'](UA)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x405e1f['view']['viewport'];}['syncGutters'](_0x5adcca){let _0x58765a=this['dom']['nextSibling'];_0x5adcca&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x227dd6=RangeSet['iter'](this['view']['state']['facet'](LA),this['view']['viewport']['from']),_0x4afe11=[],_0x1314e3=this['gutters']['map'](_0x1d6cd6=>new UpdateContext(_0x1d6cd6,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x1c86bb of this['view']['viewportLineBlocks'])if(_0x4afe11['length']&&(_0x4afe11=[]),Array['isArray'](_0x1c86bb['type'])){let _0x380887=!0x0;for(let _0x4ca73a of _0x1c86bb['type'])if(_0x4ca73a['type']==wv['Text']&&_0x380887){HA(_0x227dd6,_0x4afe11,_0x4ca73a['from']);for(let _0x431e50 of _0x1314e3)_0x431e50['line'](this['view'],_0x4ca73a,_0x4afe11);_0x380887=!0x1;}else{if(_0x4ca73a['widget']){for(let _0x58d259 of _0x1314e3)_0x58d259['widget'](this['view'],_0x4ca73a);}}}else{if(_0x1c86bb['type']==wv['Text']){HA(_0x227dd6,_0x4afe11,_0x1c86bb['from']);for(let _0x3dbad0 of _0x1314e3)_0x3dbad0['line'](this['view'],_0x1c86bb,_0x4afe11);}else{if(_0x1c86bb['widget']){for(let _0x57d011 of _0x1314e3)_0x57d011['widget'](this['view'],_0x1c86bb);}}}for(let _0x3befd6 of _0x1314e3)_0x3befd6['finish']();_0x5adcca&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x58765a),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x1a3256){let _0x1119fd=_0x1a3256['startState']['facet']($A),_0x169864=_0x1a3256['state']['facet']($A),_0xd0b151=_0x1a3256['docChanged']||_0x1a3256['heightChanged']||_0x1a3256['viewportChanged']||!RangeSet['eq'](_0x1a3256['startState']['facet'](LA),_0x1a3256['state']['facet'](LA),_0x1a3256['view']['viewport']['from'],_0x1a3256['view']['viewport']['to']);if(_0x1119fd==_0x169864){for(let _0x5c6606 of this['gutters'])_0x5c6606['update'](_0x1a3256)&&(_0xd0b151=!0x0);}else{_0xd0b151=!0x0;let _0x442b96=[];for(let _0x3a365b of _0x169864){let _0x421b7a=_0x1119fd['indexOf'](_0x3a365b);_0x421b7a<0x0?_0x442b96['push'](new SingleGutterView(this['view'],_0x3a365b)):(this['gutters'][_0x421b7a]['update'](_0x1a3256),_0x442b96['push'](this['gutters'][_0x421b7a]));}for(let _0x456866 of this['gutters'])_0x456866['dom']['remove'](),_0x442b96['indexOf'](_0x456866)<0x0&&_0x456866['destroy']();for(let _0x8a4b70 of _0x442b96)'after'==_0x8a4b70['config']['side']?this['getDOMAfter']()['appendChild'](_0x8a4b70['dom']):this['dom']['appendChild'](_0x8a4b70['dom']);this['gutters']=_0x442b96;}return _0xd0b151;}['destroy'](){for(let _0x2c812b of this['gutters'])_0x2c812b['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x2ef8d3=>EditorView['scrollMargins']['of'](_0xd2a2f8=>{let _0x1982b6=_0xd2a2f8['plugin'](_0x2ef8d3);if(!_0x1982b6||0x0==_0x1982b6['gutters']['length']||!_0x1982b6['fixed'])return null;let _0x1e85fe=_0x1982b6['dom']['offsetWidth']*_0xd2a2f8['scaleX'],_0x4050ac=_0x1982b6['domAfter']?_0x1982b6['domAfter']['offsetWidth']*_0xd2a2f8['scaleX']:0x0;return _0xd2a2f8['textDirection']==vv['LTR']?{'left':_0x1e85fe,'right':_0x4050ac}:{'right':_0x1e85fe,'left':_0x4050ac};})});function jA(_0x18279e){return Array['isArray'](_0x18279e)?_0x18279e:[_0x18279e];}function HA(_0x8f025,_0x4fbd0c,_0x353c8d){for(;_0x8f025['value']&&_0x8f025['from']<=_0x353c8d;)_0x8f025['from']==_0x353c8d&&_0x4fbd0c['push'](_0x8f025['value']),_0x8f025['next']();}class UpdateContext{constructor(_0xd0da61,_0x49f23d,_0xcd59e5){this['gutter']=_0xd0da61,this['height']=_0xcd59e5,this['i']=0x0,this['cursor']=RangeSet['iter'](_0xd0da61['markers'],_0x49f23d['from']);}['addElement'](_0x39a072,_0x2841a1,_0x2a2370){let {gutter:_0x20b282}=this,_0x24cc65=(_0x2841a1['top']-this['height'])/_0x39a072['scaleY'],_0x2466aa=_0x2841a1['height']/_0x39a072['scaleY'];if(this['i']==_0x20b282['elements']['length']){let _0x5e72b7=new GutterElement(_0x39a072,_0x2466aa,_0x24cc65,_0x2a2370);_0x20b282['elements']['push'](_0x5e72b7),_0x20b282['dom']['appendChild'](_0x5e72b7['dom']);}else _0x20b282['elements'][this['i']]['update'](_0x39a072,_0x2466aa,_0x24cc65,_0x2a2370);this['height']=_0x2841a1['bottom'],this['i']++;}['line'](_0xbbf4fe,_0x1a0f43,_0xe38f3b){let _0x5a4336=[];HA(this['cursor'],_0x5a4336,_0x1a0f43['from']),_0xe38f3b['length']&&(_0x5a4336=_0x5a4336['concat'](_0xe38f3b));let _0x3655c9=this['gutter']['config']['lineMarker'](_0xbbf4fe,_0x1a0f43,_0x5a4336);_0x3655c9&&_0x5a4336['unshift'](_0x3655c9);let _0xfd51d6=this['gutter'];(0x0!=_0x5a4336['length']||_0xfd51d6['config']['renderEmptyElements'])&&this['addElement'](_0xbbf4fe,_0x1a0f43,_0x5a4336);}['widget'](_0x1e0c0a,_0x3ae876){let _0x56dc62=this['gutter']['config']['widgetMarker'](_0x1e0c0a,_0x3ae876['widget'],_0x3ae876),_0x2ad9e0=_0x56dc62?[_0x56dc62]:null;for(let _0x340064 of _0x1e0c0a['state']['facet'](DA)){let _0x5b54dd=_0x340064(_0x1e0c0a,_0x3ae876['widget'],_0x3ae876);_0x5b54dd&&(_0x2ad9e0||(_0x2ad9e0=[]))['push'](_0x5b54dd);}_0x2ad9e0&&this['addElement'](_0x1e0c0a,_0x3ae876,_0x2ad9e0);}['finish'](){let _0x3c0998=this['gutter'];for(;_0x3c0998['elements']['length']>this['i'];){let _0x2f8680=_0x3c0998['elements']['pop']();_0x3c0998['dom']['removeChild'](_0x2f8680['dom']),_0x2f8680['destroy']();}}}class SingleGutterView{constructor(_0x1d0b4b,_0x168db7){this['view']=_0x1d0b4b,this['config']=_0x168db7,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x2dd122 in _0x168db7['domEventHandlers'])this['dom']['addEventListener'](_0x2dd122,_0x37d074=>{let _0x4fb04f,_0x147af5=_0x37d074['target'];if(_0x147af5!=this['dom']&&this['dom']['contains'](_0x147af5)){for(;_0x147af5['parentNode']!=this['dom'];)_0x147af5=_0x147af5['parentNode'];let _0x19dc13=_0x147af5['getBoundingClientRect']();_0x4fb04f=(_0x19dc13['top']+_0x19dc13['bottom'])/0x2;}else _0x4fb04f=_0x37d074['clientY'];let _0xaadd2f=_0x1d0b4b['lineBlockAtHeight'](_0x4fb04f-_0x1d0b4b['documentTop']);_0x168db7['domEventHandlers'][_0x2dd122](_0x1d0b4b,_0xaadd2f,_0x37d074)&&_0x37d074['preventDefault']();});this['markers']=jA(_0x168db7['markers'](_0x1d0b4b)),_0x168db7['initialSpacer']&&(this['spacer']=new GutterElement(_0x1d0b4b,0x0,0x0,[_0x168db7['initialSpacer'](_0x1d0b4b)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x1f70f8){let _0x2b9a72=this['markers'];if(this['markers']=jA(this['config']['markers'](_0x1f70f8['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x36504a=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x1f70f8);_0x36504a!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x1f70f8['view'],0x0,0x0,[_0x36504a]);}let _0x2fea9b=_0x1f70f8['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x2b9a72,_0x2fea9b['from'],_0x2fea9b['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x1f70f8);}['destroy'](){for(let _0x5afa79 of this['elements'])_0x5afa79['destroy']();}}class GutterElement{constructor(_0x43b4a1,_0x1184dd,_0x45db69,_0x25e3c2){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x43b4a1,_0x1184dd,_0x45db69,_0x25e3c2);}['update'](_0x2919c0,_0x1c10d4,_0x51cfd7,_0x349a6c){this['height']!=_0x1c10d4&&(this['height']=_0x1c10d4,this['dom']['style']['height']=_0x1c10d4+'px'),this['above']!=_0x51cfd7&&(this['dom']['style']['marginTop']=(this['above']=_0x51cfd7)?_0x51cfd7+'px':''),function(_0x550b63,_0x42df34){if(_0x550b63['length']!=_0x42df34['length'])return!0x1;for(let _0x7a2285=0x0;_0x7a2285<_0x550b63['length'];_0x7a2285++)if(!_0x550b63[_0x7a2285]['compare'](_0x42df34[_0x7a2285]))return!0x1;return!0x0;}(this['markers'],_0x349a6c)||this['setMarkers'](_0x2919c0,_0x349a6c);}['setMarkers'](_0x867543,_0x2f3df5){let _0x8ef543='cm-gutterElement',_0x1f8c35=this['dom']['firstChild'];for(let _0x5cf796=0x0,_0x31018e=0x0;;){let _0xbdec00=_0x31018e,_0x2e4ec9=_0x5cf796<_0x2f3df5['length']?_0x2f3df5[_0x5cf796++]:null,_0x31bfbc=!0x1;if(_0x2e4ec9){let _0x335513=_0x2e4ec9['elementClass'];_0x335513&&(_0x8ef543+='\x20'+_0x335513);for(let _0x134eb6=_0x31018e;_0x134eb6<this['markers']['length'];_0x134eb6++)if(this['markers'][_0x134eb6]['compare'](_0x2e4ec9)){_0xbdec00=_0x134eb6,_0x31bfbc=!0x0;break;}}else _0xbdec00=this['markers']['length'];for(;_0x31018e<_0xbdec00;){let _0x120b6c=this['markers'][_0x31018e++];if(_0x120b6c['toDOM']){_0x120b6c['destroy'](_0x1f8c35);let _0x277f13=_0x1f8c35['nextSibling'];_0x1f8c35['remove'](),_0x1f8c35=_0x277f13;}}if(!_0x2e4ec9)break;_0x2e4ec9['toDOM']&&(_0x31bfbc?_0x1f8c35=_0x1f8c35['nextSibling']:this['dom']['insertBefore'](_0x2e4ec9['toDOM'](_0x867543),_0x1f8c35)),_0x31bfbc&&_0x31018e++;}this['dom']['className']=_0x8ef543,this['markers']=_0x2f3df5;}['destroy'](){this['setMarkers'](null,[]);}}const GA=Facet['define'](),ZA=Facet['define'](),XA=Facet['define']({'combine':_0x4f1476=>n_(_0x4f1476,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x564b8a,_0x506d66){let _0x2a4090=Object['assign']({},_0x564b8a);for(let _0x4f743a in _0x506d66){let _0xfb138a=_0x2a4090[_0x4f743a],_0x50bc2a=_0x506d66[_0x4f743a];_0x2a4090[_0x4f743a]=_0xfb138a?(_0x5df4c4,_0x57f55d,_0x12903e)=>_0xfb138a(_0x5df4c4,_0x57f55d,_0x12903e)||_0x50bc2a(_0x5df4c4,_0x57f55d,_0x12903e):_0x50bc2a;}return _0x2a4090;}})});class NumberMarker extends GutterMarker{constructor(_0x5b02a8){super(),this['number']=_0x5b02a8;}['eq'](_0x48496c){return this['number']==_0x48496c['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function qA(_0x4f7d8d,_0x13cd8a){return _0x4f7d8d['state']['facet'](XA)['formatNumber'](_0x13cd8a,_0x4f7d8d['state']);}const WA=$A['compute']([XA],_0x5302bc=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x893a46=>_0x893a46['state']['facet'](GA),'lineMarker':(_0x5aa73b,_0x7f504,_0x5cf3ad)=>_0x5cf3ad['some'](_0xb63ef0=>_0xb63ef0['toDOM'])?null:new NumberMarker(qA(_0x5aa73b,_0x5aa73b['state']['doc']['lineAt'](_0x7f504['from'])['number'])),'widgetMarker':(_0x145cb7,_0x53ae93,_0x29d426)=>{for(let _0x2af825 of _0x145cb7['state']['facet'](ZA)){let _0x3a4fd0=_0x2af825(_0x145cb7,_0x53ae93,_0x29d426);if(_0x3a4fd0)return _0x3a4fd0;}return null;},'lineMarkerChange':_0x5e993d=>_0x5e993d['startState']['facet'](XA)!=_0x5e993d['state']['facet'](XA),'initialSpacer':_0x44b0c5=>new NumberMarker(qA(_0x44b0c5,YA(_0x44b0c5['state']['doc']['lines']))),'updateSpacer'(_0x5b1a8a,_0x108ecc){let _0x3acc8b=qA(_0x108ecc['view'],YA(_0x108ecc['view']['state']['doc']['lines']));return _0x3acc8b==_0x5b1a8a['number']?_0x5b1a8a:new NumberMarker(_0x3acc8b);},'domEventHandlers':_0x5302bc['facet'](XA)['domEventHandlers'],'side':'before'}));function zA(_0x1a98ce={}){return[XA['of'](_0x1a98ce),BA(),WA];}function YA(_0x3d7319){let _0x5b3008=0x9;for(;_0x5b3008<_0x3d7319;)_0x5b3008=0xa*_0x5b3008+0x9;return _0x5b3008;}const KA=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),JA=LA['compute'](['selection'],_0x6a3f6b=>{let _0x500ff7=[],_0xcec782=-0x1;for(let _0x5e9563 of _0x6a3f6b['selection']['ranges']){let _0x2bdd2a=_0x6a3f6b['doc']['lineAt'](_0x5e9563['head'])['from'];_0x2bdd2a>_0xcec782&&(_0xcec782=_0x2bdd2a,_0x500ff7['push'](KA['range'](_0x2bdd2a)));}return RangeSet['of'](_0x500ff7);});function tI(){return JA;}const eI=0x400;let iI=0x0;class Range{constructor(_0xfb688d,_0x29511e){this['from']=_0xfb688d,this['to']=_0x29511e;}}class NodeProp{constructor(_0x5b51da={}){this['id']=iI++,this['perNode']=!!_0x5b51da['perNode'],this['deserialize']=_0x5b51da['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x5b51da['combine']||null;}['add'](_0x552590){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x552590&&(_0x552590=NodeType['match'](_0x552590)),_0xa6df77=>{let _0x946d0e=_0x552590(_0xa6df77);return void 0x0===_0x946d0e?null:[this,_0x946d0e];};}}NodeProp['closedBy']=new NodeProp({'deserialize':_0xac08b=>_0xac08b['split']('\x20')}),NodeProp['openedBy']=new NodeProp({'deserialize':_0x2d35cb=>_0x2d35cb['split']('\x20')}),NodeProp['group']=new NodeProp({'deserialize':_0x23bc48=>_0x23bc48['split']('\x20')}),NodeProp['isolate']=new NodeProp({'deserialize':_0x37b4d0=>{if(_0x37b4d0&&'rtl'!=_0x37b4d0&&'ltr'!=_0x37b4d0&&'auto'!=_0x37b4d0)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x37b4d0);return _0x37b4d0||'auto';}}),NodeProp['contextHash']=new NodeProp({'perNode':!0x0}),NodeProp['lookAhead']=new NodeProp({'perNode':!0x0}),NodeProp['mounted']=new NodeProp({'perNode':!0x0});class MountedTree{constructor(_0x4f31b6,_0x18fa6e,_0xfe4c30){this['tree']=_0x4f31b6,this['overlay']=_0x18fa6e,this['parser']=_0xfe4c30;}static['get'](_0x9f4920){return _0x9f4920&&_0x9f4920['props']&&_0x9f4920['props'][NodeProp['mounted']['id']];}}const sI=Object['create'](null);class NodeType{constructor(_0x1ad73d,_0x5d5610,_0x3b438c,_0x48f59b=0x0){this['name']=_0x1ad73d,this['props']=_0x5d5610,this['id']=_0x3b438c,this['flags']=_0x48f59b;}static['define'](_0x3ebcaa){let _0x1d54f0=_0x3ebcaa['props']&&_0x3ebcaa['props']['length']?Object['create'](null):sI,_0x5ea6a7=(_0x3ebcaa['top']?0x1:0x0)|(_0x3ebcaa['skipped']?0x2:0x0)|(_0x3ebcaa['error']?0x4:0x0)|(null==_0x3ebcaa['name']?0x8:0x0),_0x590768=new NodeType(_0x3ebcaa['name']||'',_0x1d54f0,_0x3ebcaa['id'],_0x5ea6a7);if(_0x3ebcaa['props']){for(let _0x9e7f02 of _0x3ebcaa['props'])if(Array['isArray'](_0x9e7f02)||(_0x9e7f02=_0x9e7f02(_0x590768)),_0x9e7f02){if(_0x9e7f02[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x1d54f0[_0x9e7f02[0x0]['id']]=_0x9e7f02[0x1];}}return _0x590768;}['prop'](_0x57e4f1){return this['props'][_0x57e4f1['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'](_0x448c20){if('string'==typeof _0x448c20){if(this['name']==_0x448c20)return!0x0;let _0x56e226=this['prop'](NodeProp['group']);return!!_0x56e226&&_0x56e226['indexOf'](_0x448c20)>-0x1;}return this['id']==_0x448c20;}static['match'](_0x163707){let _0x616cd3=Object['create'](null);for(let _0x353b59 in _0x163707)for(let _0x33e506 of _0x353b59['split']('\x20'))_0x616cd3[_0x33e506]=_0x163707[_0x353b59];return _0xe4bce2=>{for(let _0x394dba=_0xe4bce2['prop'](NodeProp['group']),_0x24a5b8=-0x1;_0x24a5b8<(_0x394dba?_0x394dba['length']:0x0);_0x24a5b8++){let _0x165029=_0x616cd3[_0x24a5b8<0x0?_0xe4bce2['name']:_0x394dba[_0x24a5b8]];if(_0x165029)return _0x165029;}};}}NodeType['none']=new NodeType('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x36273b){this['types']=_0x36273b;for(let _0x335cc9=0x0;_0x335cc9<_0x36273b['length'];_0x335cc9++)if(_0x36273b[_0x335cc9]['id']!=_0x335cc9)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x16aaa3){let _0x1f8bd2=[];for(let _0x5a9f1a of this['types']){let _0xf9b0ba=null;for(let _0x3f60b9 of _0x16aaa3){let _0x22e4bf=_0x3f60b9(_0x5a9f1a);if(_0x22e4bf){_0xf9b0ba||(_0xf9b0ba=Object['assign']({},_0x5a9f1a['props']));let _0x26ad1f=_0x22e4bf[0x1],_0x2754d2=_0x22e4bf[0x0];_0x2754d2['combine']&&_0x2754d2['id']in _0xf9b0ba&&(_0x26ad1f=_0x2754d2['combine'](_0xf9b0ba[_0x2754d2['id']],_0x26ad1f)),_0xf9b0ba[_0x2754d2['id']]=_0x26ad1f;}}_0x1f8bd2['push'](_0xf9b0ba?new NodeType(_0x5a9f1a['name'],_0xf9b0ba,_0x5a9f1a['id'],_0x5a9f1a['flags']):_0x5a9f1a);}return new NodeSet(_0x1f8bd2);}}const nI=new WeakMap(),rI=new WeakMap();var oI;!function(_0x22d752){_0x22d752[_0x22d752['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x22d752[_0x22d752['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x22d752[_0x22d752['IgnoreMounts']=0x4]='IgnoreMounts',_0x22d752[_0x22d752['IgnoreOverlays']=0x8]='IgnoreOverlays';}(oI||(oI={}));class Tree{constructor(_0x53c8d8,_0x14ce75,_0x8d42e,_0x1402b0,_0x4d3fd8){if(this['type']=_0x53c8d8,this['children']=_0x14ce75,this['positions']=_0x8d42e,this['length']=_0x1402b0,this['props']=null,_0x4d3fd8&&_0x4d3fd8['length']){this['props']=Object['create'](null);for(let [_0xcbd1ce,_0x1d4f76]of _0x4d3fd8)this['props']['number'==typeof _0xcbd1ce?_0xcbd1ce:_0xcbd1ce['id']]=_0x1d4f76;}}['toString'](){let _0x109110=MountedTree['get'](this);if(_0x109110&&!_0x109110['overlay'])return _0x109110['tree']['toString']();let _0x176062='';for(let _0x4995b3 of this['children']){let _0x2cf52a=_0x4995b3['toString']();_0x2cf52a&&(_0x176062&&(_0x176062+=','),_0x176062+=_0x2cf52a);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x176062['length']?'('+_0x176062+')':''):_0x176062;}['cursor'](_0x43cf87=0x0){return new TreeCursor(this['topNode'],_0x43cf87);}['cursorAt'](_0x362e32,_0x460c35=0x0,_0x4f010b=0x0){let _0x1a1db7=nI['get'](this)||this['topNode'],_0x182fbe=new TreeCursor(_0x1a1db7);return _0x182fbe['moveTo'](_0x362e32,_0x460c35),nI['set'](this,_0x182fbe['_tree']),_0x182fbe;}get['topNode'](){return new TreeNode(this,0x0,0x0,null);}['resolve'](_0x5c9739,_0x3343f8=0x0){let _0x355a47=cI(nI['get'](this)||this['topNode'],_0x5c9739,_0x3343f8,!0x1);return nI['set'](this,_0x355a47),_0x355a47;}['resolveInner'](_0x557e9d,_0x52ae70=0x0){let _0x567d14=cI(rI['get'](this)||this['topNode'],_0x557e9d,_0x52ae70,!0x0);return rI['set'](this,_0x567d14),_0x567d14;}['resolveStack'](_0x3f71ea,_0x53fef7=0x0){return function(_0x20f7f5,_0x499b25,_0x17046d){let _0x140b2b=_0x20f7f5['resolveInner'](_0x499b25,_0x17046d),_0x243ca1=null;for(let _0x50abe2=_0x140b2b instanceof TreeNode?_0x140b2b:_0x140b2b['context']['parent'];_0x50abe2;_0x50abe2=_0x50abe2['parent'])if(_0x50abe2['index']<0x0){let _0x5d40b7=_0x50abe2['parent'];(_0x243ca1||(_0x243ca1=[_0x140b2b]))['push'](_0x5d40b7['resolve'](_0x499b25,_0x17046d)),_0x50abe2=_0x5d40b7;}else{let _0x4a2012=MountedTree['get'](_0x50abe2['tree']);if(_0x4a2012&&_0x4a2012['overlay']&&_0x4a2012['overlay'][0x0]['from']<=_0x499b25&&_0x4a2012['overlay'][_0x4a2012['overlay']['length']-0x1]['to']>=_0x499b25){let _0x3130c8=new TreeNode(_0x4a2012['tree'],_0x4a2012['overlay'][0x0]['from']+_0x50abe2['from'],-0x1,_0x50abe2);(_0x243ca1||(_0x243ca1=[_0x140b2b]))['push'](cI(_0x3130c8,_0x499b25,_0x17046d,!0x1));}}return _0x243ca1?uI(_0x243ca1):_0x140b2b;}(this,_0x3f71ea,_0x53fef7);}['iterate'](_0x4b7ad5){let {enter:_0x39c1d7,leave:_0x14ea33,from:_0x2b72d1=0x0,to:_0x5a0b9a=this['length']}=_0x4b7ad5,_0x291860=_0x4b7ad5['mode']||0x0,_0x3b5653=(_0x291860&oI['IncludeAnonymous'])>0x0;for(let _0x1dc3ae=this['cursor'](_0x291860|oI['IncludeAnonymous']);;){let _0x560f79=!0x1;if(_0x1dc3ae['from']<=_0x5a0b9a&&_0x1dc3ae['to']>=_0x2b72d1&&(!_0x3b5653&&_0x1dc3ae['type']['isAnonymous']||!0x1!==_0x39c1d7(_0x1dc3ae))){if(_0x1dc3ae['firstChild']())continue;_0x560f79=!0x0;}for(;_0x560f79&&_0x14ea33&&(_0x3b5653||!_0x1dc3ae['type']['isAnonymous'])&&_0x14ea33(_0x1dc3ae),!_0x1dc3ae['nextSibling']();){if(!_0x1dc3ae['parent']())return;_0x560f79=!0x0;}}}['prop'](_0x1ca570){return _0x1ca570['perNode']?this['props']?this['props'][_0x1ca570['id']]:void 0x0:this['type']['prop'](_0x1ca570);}get['propValues'](){let _0x3c1e2e=[];if(this['props']){for(let _0x58774f in this['props'])_0x3c1e2e['push']([+_0x58774f,this['props'][_0x58774f]]);}return _0x3c1e2e;}['balance'](_0x22ee0f={}){return this['children']['length']<=0x8?this:gI(NodeType['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0xd1b789,_0xfc3b21,_0x2436a7)=>new Tree(this['type'],_0xd1b789,_0xfc3b21,_0x2436a7,this['propValues']),_0x22ee0f['makeTree']||((_0x2e792f,_0x1a8438,_0x10fc08)=>new Tree(NodeType['none'],_0x2e792f,_0x1a8438,_0x10fc08)));}static['build'](_0x274a15){return function(_0x2fd796){var _0x4bdf82;let {buffer:_0x5bb52d,nodeSet:_0x51eea5,maxBufferLength:_0x419f75=eI,reused:_0x595e2f=[],minRepeatType:_0xc5a4a7=_0x51eea5['types']['length']}=_0x2fd796,_0xf07b7b=Array['isArray'](_0x5bb52d)?new FlatBufferCursor(_0x5bb52d,_0x5bb52d['length']):_0x5bb52d,_0x5492eb=_0x51eea5['types'],_0x34d258=0x0,_0x1b2aec=0x0;function _0x517148(_0x31f233,_0x1fca5f,_0x337d3f,_0x3455f0,_0x20e010,_0x1bca05){let {id:_0x3b2633,start:_0x3d8b07,end:_0x3dc6e8,size:_0x19a1eb}=_0xf07b7b,_0x3f71f5=_0x1b2aec,_0x5d25f7=_0x34d258;if(_0x19a1eb<0x0){if(_0xf07b7b['next'](),-0x1==_0x19a1eb){let _0x7fcade=_0x595e2f[_0x3b2633];return _0x337d3f['push'](_0x7fcade),void _0x3455f0['push'](_0x3d8b07-_0x31f233);}if(-0x3==_0x19a1eb)return void(_0x34d258=_0x3b2633);if(-0x4==_0x19a1eb)return void(_0x1b2aec=_0x3b2633);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x19a1eb);}let _0x29cc33,_0x597648,_0x16110b=_0x5492eb[_0x3b2633],_0x18072e=_0x3d8b07-_0x31f233;if(_0x3dc6e8-_0x3d8b07<=_0x419f75&&(_0x597648=_0x39a071(_0xf07b7b['pos']-_0x1fca5f,_0x20e010))){let _0x765d41=new Uint16Array(_0x597648['size']-_0x597648['skip']),_0x421af6=_0xf07b7b['pos']-_0x597648['size'],_0x3e2f64=_0x765d41['length'];for(;_0xf07b7b['pos']>_0x421af6;)_0x3e2f64=_0x2046c7(_0x597648['start'],_0x765d41,_0x3e2f64);_0x29cc33=new TreeBuffer(_0x765d41,_0x3dc6e8-_0x597648['start'],_0x51eea5),_0x18072e=_0x597648['start']-_0x31f233;}else{let _0xdae5ec=_0xf07b7b['pos']-_0x19a1eb;_0xf07b7b['next']();let _0x527a1e=[],_0x19b806=[],_0x5b3587=_0x3b2633>=_0xc5a4a7?_0x3b2633:-0x1,_0xd863b4=0x0,_0x1f35e8=_0x3dc6e8;for(;_0xf07b7b['pos']>_0xdae5ec;)_0x5b3587>=0x0&&_0xf07b7b['id']==_0x5b3587&&_0xf07b7b['size']>=0x0?(_0xf07b7b['end']<=_0x1f35e8-_0x419f75&&(_0x468b6d(_0x527a1e,_0x19b806,_0x3d8b07,_0xd863b4,_0xf07b7b['end'],_0x1f35e8,_0x5b3587,_0x3f71f5,_0x5d25f7),_0xd863b4=_0x527a1e['length'],_0x1f35e8=_0xf07b7b['end']),_0xf07b7b['next']()):_0x1bca05>0x9c4?_0x4ddac2(_0x3d8b07,_0xdae5ec,_0x527a1e,_0x19b806):_0x517148(_0x3d8b07,_0xdae5ec,_0x527a1e,_0x19b806,_0x5b3587,_0x1bca05+0x1);if(_0x5b3587>=0x0&&_0xd863b4>0x0&&_0xd863b4<_0x527a1e['length']&&_0x468b6d(_0x527a1e,_0x19b806,_0x3d8b07,_0xd863b4,_0x3d8b07,_0x1f35e8,_0x5b3587,_0x3f71f5,_0x5d25f7),_0x527a1e['reverse'](),_0x19b806['reverse'](),_0x5b3587>-0x1&&_0xd863b4>0x0){let _0x2962a8=_0x63880f(_0x16110b,_0x5d25f7);_0x29cc33=gI(_0x16110b,_0x527a1e,_0x19b806,0x0,_0x527a1e['length'],0x0,_0x3dc6e8-_0x3d8b07,_0x2962a8,_0x2962a8);}else _0x29cc33=_0x3dea56(_0x16110b,_0x527a1e,_0x19b806,_0x3dc6e8-_0x3d8b07,_0x3f71f5-_0x3dc6e8,_0x5d25f7);}_0x337d3f['push'](_0x29cc33),_0x3455f0['push'](_0x18072e);}function _0x4ddac2(_0x95e773,_0x3f7db2,_0x53e141,_0x4e6356){let _0x47dd58=[],_0xfcd2c1=0x0,_0x1f5b7a=-0x1;for(;_0xf07b7b['pos']>_0x3f7db2;){let {id:_0x34a69d,start:_0x10b2c4,end:_0x41e283,size:_0x54d778}=_0xf07b7b;if(_0x54d778>0x4)_0xf07b7b['next']();else{if(_0x1f5b7a>-0x1&&_0x10b2c4<_0x1f5b7a)break;_0x1f5b7a<0x0&&(_0x1f5b7a=_0x41e283-_0x419f75),_0x47dd58['push'](_0x34a69d,_0x10b2c4,_0x41e283),_0xfcd2c1++,_0xf07b7b['next']();}}if(_0xfcd2c1){let _0x542b86=new Uint16Array(0x4*_0xfcd2c1),_0x15d230=_0x47dd58[_0x47dd58['length']-0x2];for(let _0x18c612=_0x47dd58['length']-0x3,_0x32e0a5=0x0;_0x18c612>=0x0;_0x18c612-=0x3)_0x542b86[_0x32e0a5++]=_0x47dd58[_0x18c612],_0x542b86[_0x32e0a5++]=_0x47dd58[_0x18c612+0x1]-_0x15d230,_0x542b86[_0x32e0a5++]=_0x47dd58[_0x18c612+0x2]-_0x15d230,_0x542b86[_0x32e0a5++]=_0x32e0a5;_0x53e141['push'](new TreeBuffer(_0x542b86,_0x47dd58[0x2]-_0x15d230,_0x51eea5)),_0x4e6356['push'](_0x15d230-_0x95e773);}}function _0x63880f(_0x4b8667,_0x530230){return(_0x2b293e,_0x2bfe27,_0xa9dd87)=>{let _0x209f9a,_0x29fb9f,_0x181717=0x0,_0x2d9909=_0x2b293e['length']-0x1;if(_0x2d9909>=0x0&&(_0x209f9a=_0x2b293e[_0x2d9909])instanceof Tree){if(!_0x2d9909&&_0x209f9a['type']==_0x4b8667&&_0x209f9a['length']==_0xa9dd87)return _0x209f9a;(_0x29fb9f=_0x209f9a['prop'](NodeProp['lookAhead']))&&(_0x181717=_0x2bfe27[_0x2d9909]+_0x209f9a['length']+_0x29fb9f);}return _0x3dea56(_0x4b8667,_0x2b293e,_0x2bfe27,_0xa9dd87,_0x181717,_0x530230);};}function _0x468b6d(_0x1689d5,_0x210fe2,_0x19cccb,_0x42bf27,_0x538f50,_0x4c5aa3,_0x6ae01c,_0x4d2aed,_0x4f6dde){let _0x5a719c=[],_0x4aa04f=[];for(;_0x1689d5['length']>_0x42bf27;)_0x5a719c['push'](_0x1689d5['pop']()),_0x4aa04f['push'](_0x210fe2['pop']()+_0x19cccb-_0x538f50);_0x1689d5['push'](_0x3dea56(_0x51eea5['types'][_0x6ae01c],_0x5a719c,_0x4aa04f,_0x4c5aa3-_0x538f50,_0x4d2aed-_0x4c5aa3,_0x4f6dde)),_0x210fe2['push'](_0x538f50-_0x19cccb);}function _0x3dea56(_0x1fdc42,_0x236237,_0x292fe2,_0x2cb895,_0x2a36f8,_0x40c877,_0x4a80be){if(_0x40c877){let _0x32c8cf=[NodeProp['contextHash'],_0x40c877];_0x4a80be=_0x4a80be?[_0x32c8cf]['concat'](_0x4a80be):[_0x32c8cf];}if(_0x2a36f8>0x19){let _0x402d86=[NodeProp['lookAhead'],_0x2a36f8];_0x4a80be=_0x4a80be?[_0x402d86]['concat'](_0x4a80be):[_0x402d86];}return new Tree(_0x1fdc42,_0x236237,_0x292fe2,_0x2cb895,_0x4a80be);}function _0x39a071(_0x32d97f,_0x315f73){let _0x215fea=_0xf07b7b['fork'](),_0x272af4=0x0,_0x49dc0b=0x0,_0x644d7e=0x0,_0x492048=_0x215fea['end']-_0x419f75,_0x31b6ea={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x586a60=_0x215fea['pos']-_0x32d97f;_0x215fea['pos']>_0x586a60;){let _0x3979ca=_0x215fea['size'];if(_0x215fea['id']==_0x315f73&&_0x3979ca>=0x0){_0x31b6ea['size']=_0x272af4,_0x31b6ea['start']=_0x49dc0b,_0x31b6ea['skip']=_0x644d7e,_0x644d7e+=0x4,_0x272af4+=0x4,_0x215fea['next']();continue;}let _0x478aa0=_0x215fea['pos']-_0x3979ca;if(_0x3979ca<0x0||_0x478aa0<_0x586a60||_0x215fea['start']<_0x492048)break;let _0xe04a87=_0x215fea['id']>=_0xc5a4a7?0x4:0x0,_0x15f494=_0x215fea['start'];for(_0x215fea['next']();_0x215fea['pos']>_0x478aa0;){if(_0x215fea['size']<0x0){if(-0x3!=_0x215fea['size'])break t;_0xe04a87+=0x4;}else _0x215fea['id']>=_0xc5a4a7&&(_0xe04a87+=0x4);_0x215fea['next']();}_0x49dc0b=_0x15f494,_0x272af4+=_0x3979ca,_0x644d7e+=_0xe04a87;}return(_0x315f73<0x0||_0x272af4==_0x32d97f)&&(_0x31b6ea['size']=_0x272af4,_0x31b6ea['start']=_0x49dc0b,_0x31b6ea['skip']=_0x644d7e),_0x31b6ea['size']>0x4?_0x31b6ea:void 0x0;}function _0x2046c7(_0x677156,_0x21979d,_0x1acb1a){let {id:_0x258401,start:_0x2d15f7,end:_0x430389,size:_0x3affdf}=_0xf07b7b;if(_0xf07b7b['next'](),_0x3affdf>=0x0&&_0x258401<_0xc5a4a7){let _0x861a06=_0x1acb1a;if(_0x3affdf>0x4){let _0x1ab969=_0xf07b7b['pos']-(_0x3affdf-0x4);for(;_0xf07b7b['pos']>_0x1ab969;)_0x1acb1a=_0x2046c7(_0x677156,_0x21979d,_0x1acb1a);}_0x21979d[--_0x1acb1a]=_0x861a06,_0x21979d[--_0x1acb1a]=_0x430389-_0x677156,_0x21979d[--_0x1acb1a]=_0x2d15f7-_0x677156,_0x21979d[--_0x1acb1a]=_0x258401;}else-0x3==_0x3affdf?_0x34d258=_0x258401:-0x4==_0x3affdf&&(_0x1b2aec=_0x258401);return _0x1acb1a;}let _0x58e09e=[],_0x260acd=[];for(;_0xf07b7b['pos']>0x0;)_0x517148(_0x2fd796['start']||0x0,_0x2fd796['bufferStart']||0x0,_0x58e09e,_0x260acd,-0x1,0x0);let _0x14317a=null!==(_0x4bdf82=_0x2fd796['length'])&&void 0x0!==_0x4bdf82?_0x4bdf82:_0x58e09e['length']?_0x260acd[0x0]+_0x58e09e[0x0]['length']:0x0;return new Tree(_0x5492eb[_0x2fd796['topID']],_0x58e09e['reverse'](),_0x260acd['reverse'](),_0x14317a);}(_0x274a15);}}Tree['empty']=new Tree(NodeType['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x2aa4b4,_0x316f43){this['buffer']=_0x2aa4b4,this['index']=_0x316f43;}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(_0xaa9131,_0x432eab,_0x12de63){this['buffer']=_0xaa9131,this['length']=_0x432eab,this['set']=_0x12de63;}get['type'](){return NodeType['none'];}['toString'](){let _0x4f1f4a=[];for(let _0x4a28a0=0x0;_0x4a28a0<this['buffer']['length'];)_0x4f1f4a['push'](this['childString'](_0x4a28a0)),_0x4a28a0=this['buffer'][_0x4a28a0+0x3];return _0x4f1f4a['join'](',');}['childString'](_0x46dd86){let _0x58b289=this['buffer'][_0x46dd86],_0x422ade=this['buffer'][_0x46dd86+0x3],_0x156fa5=this['set']['types'][_0x58b289],_0x35c746=_0x156fa5['name'];if(/\W/['test'](_0x35c746)&&!_0x156fa5['isError']&&(_0x35c746=JSON['stringify'](_0x35c746)),_0x422ade==(_0x46dd86+=0x4))return _0x35c746;let _0x280634=[];for(;_0x46dd86<_0x422ade;)_0x280634['push'](this['childString'](_0x46dd86)),_0x46dd86=this['buffer'][_0x46dd86+0x3];return _0x35c746+'('+_0x280634['join'](',')+')';}['findChild'](_0x302565,_0x9a7aa9,_0xb3b2b0,_0x50fd30,_0x56f754){let {buffer:_0x58d77a}=this,_0x5cd9d0=-0x1;for(let _0x5e4d3f=_0x302565;_0x5e4d3f!=_0x9a7aa9&&!(aI(_0x56f754,_0x50fd30,_0x58d77a[_0x5e4d3f+0x1],_0x58d77a[_0x5e4d3f+0x2])&&(_0x5cd9d0=_0x5e4d3f,_0xb3b2b0>0x0));_0x5e4d3f=_0x58d77a[_0x5e4d3f+0x3]);return _0x5cd9d0;}['slice'](_0x1cb1ed,_0x5909be,_0x350e8f){let _0xa9e8ec=this['buffer'],_0x2fd128=new Uint16Array(_0x5909be-_0x1cb1ed),_0x31855d=0x0;for(let _0x50eab7=_0x1cb1ed,_0x463cac=0x0;_0x50eab7<_0x5909be;){_0x2fd128[_0x463cac++]=_0xa9e8ec[_0x50eab7++],_0x2fd128[_0x463cac++]=_0xa9e8ec[_0x50eab7++]-_0x350e8f;let _0x3d27ed=_0x2fd128[_0x463cac++]=_0xa9e8ec[_0x50eab7++]-_0x350e8f;_0x2fd128[_0x463cac++]=_0xa9e8ec[_0x50eab7++]-_0x1cb1ed,_0x31855d=Math['max'](_0x31855d,_0x3d27ed);}return new TreeBuffer(_0x2fd128,_0x31855d,this['set']);}}function aI(_0xbe146a,_0x30d671,_0x17b221,_0x3f9c92){switch(_0xbe146a){case-0x2:return _0x17b221<_0x30d671;case-0x1:return _0x3f9c92>=_0x30d671&&_0x17b221<_0x30d671;case 0x0:return _0x17b221<_0x30d671&&_0x3f9c92>_0x30d671;case 0x1:return _0x17b221<=_0x30d671&&_0x3f9c92>_0x30d671;case 0x2:return _0x3f9c92>_0x30d671;case 0x4:return!0x0;}}function cI(_0x36949a,_0x2f30a7,_0x51facd,_0x3c17be){for(var _0x22a0ac;_0x36949a['from']==_0x36949a['to']||(_0x51facd<0x1?_0x36949a['from']>=_0x2f30a7:_0x36949a['from']>_0x2f30a7)||(_0x51facd>-0x1?_0x36949a['to']<=_0x2f30a7:_0x36949a['to']<_0x2f30a7);){let _0x2c0c4f=!_0x3c17be&&_0x36949a instanceof TreeNode&&_0x36949a['index']<0x0?null:_0x36949a['parent'];if(!_0x2c0c4f)return _0x36949a;_0x36949a=_0x2c0c4f;}let _0x1e2afc=_0x3c17be?0x0:oI['IgnoreOverlays'];if(_0x3c17be){for(let _0x15ab4a=_0x36949a,_0x340408=_0x15ab4a['parent'];_0x340408;_0x15ab4a=_0x340408,_0x340408=_0x15ab4a['parent'])_0x15ab4a instanceof TreeNode&&_0x15ab4a['index']<0x0&&(null===(_0x22a0ac=_0x340408['enter'](_0x2f30a7,_0x51facd,_0x1e2afc))||void 0x0===_0x22a0ac?void 0x0:_0x22a0ac['from'])!=_0x15ab4a['from']&&(_0x36949a=_0x340408);}for(;;){let _0x233944=_0x36949a['enter'](_0x2f30a7,_0x51facd,_0x1e2afc);if(!_0x233944)return _0x36949a;_0x36949a=_0x233944;}}class BaseNode{['cursor'](_0x3da972=0x0){return new TreeCursor(this,_0x3da972);}['getChild'](_0x1a69e4,_0x5ba377=null,_0x5b1df4=null){let _0x19c901=lI(this,_0x1a69e4,_0x5ba377,_0x5b1df4);return _0x19c901['length']?_0x19c901[0x0]:null;}['getChildren'](_0x240676,_0x4fefc9=null,_0xb47989=null){return lI(this,_0x240676,_0x4fefc9,_0xb47989);}['resolve'](_0x5d1a83,_0x2d7032=0x0){return cI(this,_0x5d1a83,_0x2d7032,!0x1);}['resolveInner'](_0x5924b3,_0x16aa7e=0x0){return cI(this,_0x5924b3,_0x16aa7e,!0x0);}['matchContext'](_0x565038){return hI(this['parent'],_0x565038);}['enterUnfinishedNodesBefore'](_0x100899){let _0x56c17f=this['childBefore'](_0x100899),_0x2e425e=this;for(;_0x56c17f;){let _0x47c4f0=_0x56c17f['lastChild'];if(!_0x47c4f0||_0x47c4f0['to']!=_0x56c17f['to'])break;_0x47c4f0['type']['isError']&&_0x47c4f0['from']==_0x47c4f0['to']?(_0x2e425e=_0x56c17f,_0x56c17f=_0x47c4f0['prevSibling']):_0x56c17f=_0x47c4f0;}return _0x2e425e;}get['node'](){return this;}get['next'](){return this['parent'];}}class TreeNode extends BaseNode{constructor(_0x194e59,_0x4735dc,_0x5ed77f,_0x47554d){super(),this['_tree']=_0x194e59,this['from']=_0x4735dc,this['index']=_0x5ed77f,this['_parent']=_0x47554d;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x19924b,_0x433dc6,_0x1cd7f9,_0x28c87e,_0x1adf99=0x0){for(let _0x223b68=this;;){for(let {children:_0x50b774,positions:_0x41611e}=_0x223b68['_tree'],_0xd023dd=_0x433dc6>0x0?_0x50b774['length']:-0x1;_0x19924b!=_0xd023dd;_0x19924b+=_0x433dc6){let _0x1e963b=_0x50b774[_0x19924b],_0x14ccba=_0x41611e[_0x19924b]+_0x223b68['from'];if(aI(_0x28c87e,_0x1cd7f9,_0x14ccba,_0x14ccba+_0x1e963b['length'])){if(_0x1e963b instanceof TreeBuffer){if(_0x1adf99&oI['ExcludeBuffers'])continue;let _0x283803=_0x1e963b['findChild'](0x0,_0x1e963b['buffer']['length'],_0x433dc6,_0x1cd7f9-_0x14ccba,_0x28c87e);if(_0x283803>-0x1)return new BufferNode(new BufferContext(_0x223b68,_0x1e963b,_0x19924b,_0x14ccba),null,_0x283803);}else{if(_0x1adf99&oI['IncludeAnonymous']||!_0x1e963b['type']['isAnonymous']||dI(_0x1e963b)){let _0x14c63a;if(!(_0x1adf99&oI['IgnoreMounts'])&&(_0x14c63a=MountedTree['get'](_0x1e963b))&&!_0x14c63a['overlay'])return new TreeNode(_0x14c63a['tree'],_0x14ccba,_0x19924b,_0x223b68);let _0x5654b2=new TreeNode(_0x1e963b,_0x14ccba,_0x19924b,_0x223b68);return _0x1adf99&oI['IncludeAnonymous']||!_0x5654b2['type']['isAnonymous']?_0x5654b2:_0x5654b2['nextChild'](_0x433dc6<0x0?_0x1e963b['children']['length']-0x1:0x0,_0x433dc6,_0x1cd7f9,_0x28c87e);}}}}if(_0x1adf99&oI['IncludeAnonymous']||!_0x223b68['type']['isAnonymous'])return null;if(_0x19924b=_0x223b68['index']>=0x0?_0x223b68['index']+_0x433dc6:_0x433dc6<0x0?-0x1:_0x223b68['_parent']['_tree']['children']['length'],_0x223b68=_0x223b68['_parent'],!_0x223b68)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'](_0x508161){return this['nextChild'](0x0,0x1,_0x508161,0x2);}['childBefore'](_0x27295f){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x27295f,-0x2);}['enter'](_0x2c2c98,_0x21ec26,_0x184583=0x0){let _0x5de88d;if(!(_0x184583&oI['IgnoreOverlays'])&&(_0x5de88d=MountedTree['get'](this['_tree']))&&_0x5de88d['overlay']){let _0x74716e=_0x2c2c98-this['from'];for(let {from:_0x29628d,to:_0x23c8a2}of _0x5de88d['overlay'])if((_0x21ec26>0x0?_0x29628d<=_0x74716e:_0x29628d<_0x74716e)&&(_0x21ec26<0x0?_0x23c8a2>=_0x74716e:_0x23c8a2>_0x74716e))return new TreeNode(_0x5de88d['tree'],_0x5de88d['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x2c2c98,_0x21ec26,_0x184583);}['nextSignificantParent'](){let _0x17486a=this;for(;_0x17486a['type']['isAnonymous']&&_0x17486a['_parent'];)_0x17486a=_0x17486a['_parent'];return _0x17486a;}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 lI(_0x173c37,_0x435d68,_0x2ece8e,_0x51a9a7){let _0x22eca5=_0x173c37['cursor'](),_0x230a56=[];if(!_0x22eca5['firstChild']())return _0x230a56;if(null!=_0x2ece8e){for(let _0x37ac99=!0x1;!_0x37ac99;)if(_0x37ac99=_0x22eca5['type']['is'](_0x2ece8e),!_0x22eca5['nextSibling']())return _0x230a56;}for(;;){if(null!=_0x51a9a7&&_0x22eca5['type']['is'](_0x51a9a7))return _0x230a56;if(_0x22eca5['type']['is'](_0x435d68)&&_0x230a56['push'](_0x22eca5['node']),!_0x22eca5['nextSibling']())return null==_0x51a9a7?_0x230a56:[];}}function hI(_0x189cbc,_0x522cfd,_0x2783ce=_0x522cfd['length']-0x1){for(let _0x425d21=_0x189cbc;_0x2783ce>=0x0;_0x425d21=_0x425d21['parent']){if(!_0x425d21)return!0x1;if(!_0x425d21['type']['isAnonymous']){if(_0x522cfd[_0x2783ce]&&_0x522cfd[_0x2783ce]!=_0x425d21['name'])return!0x1;_0x2783ce--;}}return!0x0;}class BufferContext{constructor(_0x133172,_0x19b52e,_0x4665b7,_0x19c78a){this['parent']=_0x133172,this['buffer']=_0x19b52e,this['index']=_0x4665b7,this['start']=_0x19c78a;}}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(_0x3e1809,_0x47bd16,_0x30a90e){super(),this['context']=_0x3e1809,this['_parent']=_0x47bd16,this['index']=_0x30a90e,this['type']=_0x3e1809['buffer']['set']['types'][_0x3e1809['buffer']['buffer'][_0x30a90e]];}['child'](_0x2cb667,_0x4f5859,_0x15f6e7){let {buffer:_0x126d2e}=this['context'],_0x424496=_0x126d2e['findChild'](this['index']+0x4,_0x126d2e['buffer'][this['index']+0x3],_0x2cb667,_0x4f5859-this['context']['start'],_0x15f6e7);return _0x424496<0x0?null:new BufferNode(this['context'],this,_0x424496);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x143438){return this['child'](0x1,_0x143438,0x2);}['childBefore'](_0xb65470){return this['child'](-0x1,_0xb65470,-0x2);}['enter'](_0x314e9e,_0x4f8adc,_0x3b4902=0x0){if(_0x3b4902&oI['ExcludeBuffers'])return null;let {buffer:_0x579d05}=this['context'],_0x5a55d0=_0x579d05['findChild'](this['index']+0x4,_0x579d05['buffer'][this['index']+0x3],_0x4f8adc>0x0?0x1:-0x1,_0x314e9e-this['context']['start'],_0x4f8adc);return _0x5a55d0<0x0?null:new BufferNode(this['context'],this,_0x5a55d0);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x7e3d66){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x7e3d66,_0x7e3d66,0x0,0x4);}get['nextSibling'](){let {buffer:_0x1fec6a}=this['context'],_0x486e2e=_0x1fec6a['buffer'][this['index']+0x3];return _0x486e2e<(this['_parent']?_0x1fec6a['buffer'][this['_parent']['index']+0x3]:_0x1fec6a['buffer']['length'])?new BufferNode(this['context'],this['_parent'],_0x486e2e):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x5ec13c}=this['context'],_0x77a56d=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x77a56d?this['externalSibling'](-0x1):new BufferNode(this['context'],this['_parent'],_0x5ec13c['findChild'](_0x77a56d,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x48b8a7=[],_0x1eb0fb=[],{buffer:_0x10346f}=this['context'],_0x22a3eb=this['index']+0x4,_0xf72165=_0x10346f['buffer'][this['index']+0x3];if(_0xf72165>_0x22a3eb){let _0x58fa4a=_0x10346f['buffer'][this['index']+0x1];_0x48b8a7['push'](_0x10346f['slice'](_0x22a3eb,_0xf72165,_0x58fa4a)),_0x1eb0fb['push'](0x0);}return new Tree(this['type'],_0x48b8a7,_0x1eb0fb,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function uI(_0x5e8dde){if(!_0x5e8dde['length'])return null;let _0x308773=0x0,_0x49266b=_0x5e8dde[0x0];for(let _0x566b0b=0x1;_0x566b0b<_0x5e8dde['length'];_0x566b0b++){let _0x2ea753=_0x5e8dde[_0x566b0b];(_0x2ea753['from']>_0x49266b['from']||_0x2ea753['to']<_0x49266b['to'])&&(_0x49266b=_0x2ea753,_0x308773=_0x566b0b);}let _0x2735d6=_0x49266b instanceof TreeNode&&_0x49266b['index']<0x0?null:_0x49266b['parent'],_0x38db36=_0x5e8dde['slice']();return _0x2735d6?_0x38db36[_0x308773]=_0x2735d6:_0x38db36['splice'](_0x308773,0x1),new StackIterator(_0x38db36,_0x49266b);}class StackIterator{constructor(_0x2543ba,_0x1c3986){this['heads']=_0x2543ba,this['node']=_0x1c3986;}get['next'](){return uI(this['heads']);}}class TreeCursor{get['name'](){return this['type']['name'];}constructor(_0x1fcda7,_0xe603c8=0x0){if(this['mode']=_0xe603c8,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x1fcda7 instanceof TreeNode)this['yieldNode'](_0x1fcda7);else{this['_tree']=_0x1fcda7['context']['parent'],this['buffer']=_0x1fcda7['context'];for(let _0x493f9e=_0x1fcda7['_parent'];_0x493f9e;_0x493f9e=_0x493f9e['_parent'])this['stack']['unshift'](_0x493f9e['index']);this['bufferNode']=_0x1fcda7,this['yieldBuf'](_0x1fcda7['index']);}}['yieldNode'](_0x1207bc){return!!_0x1207bc&&(this['_tree']=_0x1207bc,this['type']=_0x1207bc['type'],this['from']=_0x1207bc['from'],this['to']=_0x1207bc['to'],!0x0);}['yieldBuf'](_0xd43566,_0x57e79b){this['index']=_0xd43566;let {start:_0x2270e7,buffer:_0x8f729c}=this['buffer'];return this['type']=_0x57e79b||_0x8f729c['set']['types'][_0x8f729c['buffer'][_0xd43566]],this['from']=_0x2270e7+_0x8f729c['buffer'][_0xd43566+0x1],this['to']=_0x2270e7+_0x8f729c['buffer'][_0xd43566+0x2],!0x0;}['yield'](_0x2024f7){return!!_0x2024f7&&(_0x2024f7 instanceof TreeNode?(this['buffer']=null,this['yieldNode'](_0x2024f7)):(this['buffer']=_0x2024f7['context'],this['yieldBuf'](_0x2024f7['index'],_0x2024f7['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x4ecfe7,_0x5a2426,_0x18e72d){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x4ecfe7<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x4ecfe7,_0x5a2426,_0x18e72d,this['mode']));let {buffer:_0x1b535e}=this['buffer'],_0x18c15b=_0x1b535e['findChild'](this['index']+0x4,_0x1b535e['buffer'][this['index']+0x3],_0x4ecfe7,_0x5a2426-this['buffer']['start'],_0x18e72d);return!(_0x18c15b<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x18c15b));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x493cb2){return this['enterChild'](0x1,_0x493cb2,0x2);}['childBefore'](_0x2052a2){return this['enterChild'](-0x1,_0x2052a2,-0x2);}['enter'](_0x588a0b,_0x30fbec,_0x3bfbca=this['mode']){return this['buffer']?!(_0x3bfbca&oI['ExcludeBuffers'])&&this['enterChild'](0x1,_0x588a0b,_0x30fbec):this['yield'](this['_tree']['enter'](_0x588a0b,_0x30fbec,_0x3bfbca));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&oI['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x46183a=this['mode']&oI['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x46183a);}['sibling'](_0x52c273){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x52c273,_0x52c273,0x0,0x4,this['mode']));let {buffer:_0x36d9ee}=this['buffer'],_0x4c01d7=this['stack']['length']-0x1;if(_0x52c273<0x0){let _0x4835c9=_0x4c01d7<0x0?0x0:this['stack'][_0x4c01d7]+0x4;if(this['index']!=_0x4835c9)return this['yieldBuf'](_0x36d9ee['findChild'](_0x4835c9,this['index'],-0x1,0x0,0x4));}else{let _0xa71a81=_0x36d9ee['buffer'][this['index']+0x3];if(_0xa71a81<(_0x4c01d7<0x0?_0x36d9ee['buffer']['length']:_0x36d9ee['buffer'][this['stack'][_0x4c01d7]+0x3]))return this['yieldBuf'](_0xa71a81);}return _0x4c01d7<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x52c273,_0x52c273,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x26324c){let _0x5c7a68,_0x4dd022,{buffer:_0x79617d}=this;if(_0x79617d){if(_0x26324c>0x0){if(this['index']<_0x79617d['buffer']['buffer']['length'])return!0x1;}else{for(let _0x44b66c=0x0;_0x44b66c<this['index'];_0x44b66c++)if(_0x79617d['buffer']['buffer'][_0x44b66c+0x3]<this['index'])return!0x1;}({index:_0x5c7a68,parent:_0x4dd022}=_0x79617d);}else({index:_0x5c7a68,_parent:_0x4dd022}=this['_tree']);for(;_0x4dd022;{index:_0x5c7a68,_parent:_0x4dd022}=_0x4dd022)if(_0x5c7a68>-0x1)for(let _0x4c4a76=_0x5c7a68+_0x26324c,_0x3cae2b=_0x26324c<0x0?-0x1:_0x4dd022['_tree']['children']['length'];_0x4c4a76!=_0x3cae2b;_0x4c4a76+=_0x26324c){let _0x58dd1b=_0x4dd022['_tree']['children'][_0x4c4a76];if(this['mode']&oI['IncludeAnonymous']||_0x58dd1b instanceof TreeBuffer||!_0x58dd1b['type']['isAnonymous']||dI(_0x58dd1b))return!0x1;}return!0x0;}['move'](_0x2d0103,_0x3b77b3){if(_0x3b77b3&&this['enterChild'](_0x2d0103,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x2d0103))return!0x0;if(this['atLastNode'](_0x2d0103)||!this['parent']())return!0x1;}}['next'](_0x58bb16=!0x0){return this['move'](0x1,_0x58bb16);}['prev'](_0x8c50be=!0x0){return this['move'](-0x1,_0x8c50be);}['moveTo'](_0xfc847a,_0x4719ab=0x0){for(;(this['from']==this['to']||(_0x4719ab<0x1?this['from']>=_0xfc847a:this['from']>_0xfc847a)||(_0x4719ab>-0x1?this['to']<=_0xfc847a:this['to']<_0xfc847a))&&this['parent'](););for(;this['enterChild'](0x1,_0xfc847a,_0x4719ab););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x5d326c=this['bufferNode'],_0x2bd36f=null,_0x52f70e=0x0;if(_0x5d326c&&_0x5d326c['context']==this['buffer']){t:for(let _0x4f43b0=this['index'],_0x228c11=this['stack']['length'];_0x228c11>=0x0;){for(let _0x3fdcb8=_0x5d326c;_0x3fdcb8;_0x3fdcb8=_0x3fdcb8['_parent'])if(_0x3fdcb8['index']==_0x4f43b0){if(_0x4f43b0==this['index'])return _0x3fdcb8;_0x2bd36f=_0x3fdcb8,_0x52f70e=_0x228c11+0x1;break t;}_0x4f43b0=this['stack'][--_0x228c11];}}for(let _0x350b43=_0x52f70e;_0x350b43<this['stack']['length'];_0x350b43++)_0x2bd36f=new BufferNode(this['buffer'],_0x2bd36f,this['stack'][_0x350b43]);return this['bufferNode']=new BufferNode(this['buffer'],_0x2bd36f,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x435d55,_0xa4b1ba){for(let _0x28c8ea=0x0;;){let _0x51b211=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x435d55(this)){if(this['firstChild']()){_0x28c8ea++;continue;}this['type']['isAnonymous']||(_0x51b211=!0x0);}for(;;){if(_0x51b211&&_0xa4b1ba&&_0xa4b1ba(this),_0x51b211=this['type']['isAnonymous'],!_0x28c8ea)return;if(this['nextSibling']())break;this['parent'](),_0x28c8ea--,_0x51b211=!0x0;}}}['matchContext'](_0x1127c3){if(!this['buffer'])return hI(this['node']['parent'],_0x1127c3);let {buffer:_0x270310}=this['buffer'],{types:_0x5c1856}=_0x270310['set'];for(let _0x2beaf1=_0x1127c3['length']-0x1,_0x173019=this['stack']['length']-0x1;_0x2beaf1>=0x0;_0x173019--){if(_0x173019<0x0)return hI(this['_tree'],_0x1127c3,_0x2beaf1);let _0x2a610c=_0x5c1856[_0x270310['buffer'][this['stack'][_0x173019]]];if(!_0x2a610c['isAnonymous']){if(_0x1127c3[_0x2beaf1]&&_0x1127c3[_0x2beaf1]!=_0x2a610c['name'])return!0x1;_0x2beaf1--;}}return!0x0;}}function dI(_0xf3ccd7){return _0xf3ccd7['children']['some'](_0x321e51=>_0x321e51 instanceof TreeBuffer||!_0x321e51['type']['isAnonymous']||dI(_0x321e51));}const fI=new WeakMap();function mI(_0x1bdb87,_0x8ee820){if(!_0x1bdb87['isAnonymous']||_0x8ee820 instanceof TreeBuffer||_0x8ee820['type']!=_0x1bdb87)return 0x1;let _0xfef668=fI['get'](_0x8ee820);if(null==_0xfef668){_0xfef668=0x1;for(let _0x2e75e0 of _0x8ee820['children']){if(_0x2e75e0['type']!=_0x1bdb87||!(_0x2e75e0 instanceof Tree)){_0xfef668=0x1;break;}_0xfef668+=mI(_0x1bdb87,_0x2e75e0);}fI['set'](_0x8ee820,_0xfef668);}return _0xfef668;}function gI(_0x566fa5,_0x386934,_0x1b1c09,_0x1c4460,_0xb20d2f,_0x1f9724,_0x52d44a,_0x256710,_0x3278e8){let _0x4128a9=0x0;for(let _0x3f41a8=_0x1c4460;_0x3f41a8<_0xb20d2f;_0x3f41a8++)_0x4128a9+=mI(_0x566fa5,_0x386934[_0x3f41a8]);let _0x4c6ec8=Math['ceil'](1.5*_0x4128a9/0x8),_0x2f1406=[],_0x34c064=[];return function _0x398a2c(_0x1b14eb,_0x18dae6,_0x51d716,_0x2f772d,_0x3d2f5b){for(let _0x99c5e4=_0x51d716;_0x99c5e4<_0x2f772d;){let _0x16a378=_0x99c5e4,_0xcf5da3=_0x18dae6[_0x99c5e4],_0x57f528=mI(_0x566fa5,_0x1b14eb[_0x99c5e4]);for(_0x99c5e4++;_0x99c5e4<_0x2f772d;_0x99c5e4++){let _0x39b40d=mI(_0x566fa5,_0x1b14eb[_0x99c5e4]);if(_0x57f528+_0x39b40d>=_0x4c6ec8)break;_0x57f528+=_0x39b40d;}if(_0x99c5e4==_0x16a378+0x1){if(_0x57f528>_0x4c6ec8){let _0x19ed6d=_0x1b14eb[_0x16a378];_0x398a2c(_0x19ed6d['children'],_0x19ed6d['positions'],0x0,_0x19ed6d['children']['length'],_0x18dae6[_0x16a378]+_0x3d2f5b);continue;}_0x2f1406['push'](_0x1b14eb[_0x16a378]);}else{let _0x23de1b=_0x18dae6[_0x99c5e4-0x1]+_0x1b14eb[_0x99c5e4-0x1]['length']-_0xcf5da3;_0x2f1406['push'](gI(_0x566fa5,_0x1b14eb,_0x18dae6,_0x16a378,_0x99c5e4,_0xcf5da3,_0x23de1b,null,_0x3278e8));}_0x34c064['push'](_0xcf5da3+_0x3d2f5b-_0x1f9724);}}(_0x386934,_0x1b1c09,_0x1c4460,_0xb20d2f,0x0),(_0x256710||_0x3278e8)(_0x2f1406,_0x34c064,_0x52d44a);}class NodeWeakMap{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x162763,_0x415df6,_0x25678e){let _0x3ffb76=this['map']['get'](_0x162763);_0x3ffb76||this['map']['set'](_0x162763,_0x3ffb76=new Map()),_0x3ffb76['set'](_0x415df6,_0x25678e);}['getBuffer'](_0x1b898b,_0x596b56){let _0x165c8a=this['map']['get'](_0x1b898b);return _0x165c8a&&_0x165c8a['get'](_0x596b56);}['set'](_0x57462a,_0x5787e0){_0x57462a instanceof BufferNode?this['setBuffer'](_0x57462a['context']['buffer'],_0x57462a['index'],_0x5787e0):_0x57462a instanceof TreeNode&&this['map']['set'](_0x57462a['tree'],_0x5787e0);}['get'](_0x432888){return _0x432888 instanceof BufferNode?this['getBuffer'](_0x432888['context']['buffer'],_0x432888['index']):_0x432888 instanceof TreeNode?this['map']['get'](_0x432888['tree']):void 0x0;}['cursorSet'](_0x29a61d,_0x12891e){_0x29a61d['buffer']?this['setBuffer'](_0x29a61d['buffer']['buffer'],_0x29a61d['index'],_0x12891e):this['map']['set'](_0x29a61d['tree'],_0x12891e);}['cursorGet'](_0x573ddb){return _0x573ddb['buffer']?this['getBuffer'](_0x573ddb['buffer']['buffer'],_0x573ddb['index']):this['map']['get'](_0x573ddb['tree']);}}class TreeFragment{constructor(_0x505cdf,_0x4963a4,_0x4e5fb2,_0x5785f7,_0x424442=!0x1,_0x172e96=!0x1){this['from']=_0x505cdf,this['to']=_0x4963a4,this['tree']=_0x4e5fb2,this['offset']=_0x5785f7,this['open']=(_0x424442?0x1:0x0)|(_0x172e96?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x39fc74,_0x515c6d=[],_0x5577e7=!0x1){let _0xc72a5=[new TreeFragment(0x0,_0x39fc74['length'],_0x39fc74,0x0,!0x1,_0x5577e7)];for(let _0x5a35ae of _0x515c6d)_0x5a35ae['to']>_0x39fc74['length']&&_0xc72a5['push'](_0x5a35ae);return _0xc72a5;}static['applyChanges'](_0x2e3f75,_0x558883,_0x2527f8=0x80){if(!_0x558883['length'])return _0x2e3f75;let _0x1434d8=[],_0x38e46f=0x1,_0x199b10=_0x2e3f75['length']?_0x2e3f75[0x0]:null;for(let _0x5322f9=0x0,_0x5acbda=0x0,_0x46c6b0=0x0;;_0x5322f9++){let _0x2d29a6=_0x5322f9<_0x558883['length']?_0x558883[_0x5322f9]:null,_0x165db3=_0x2d29a6?_0x2d29a6['fromA']:0x3b9aca00;if(_0x165db3-_0x5acbda>=_0x2527f8)for(;_0x199b10&&_0x199b10['from']<_0x165db3;){let _0x310892=_0x199b10;if(_0x5acbda>=_0x310892['from']||_0x165db3<=_0x310892['to']||_0x46c6b0){let _0x11cdcd=Math['max'](_0x310892['from'],_0x5acbda)-_0x46c6b0,_0x1d900d=Math['min'](_0x310892['to'],_0x165db3)-_0x46c6b0;_0x310892=_0x11cdcd>=_0x1d900d?null:new TreeFragment(_0x11cdcd,_0x1d900d,_0x310892['tree'],_0x310892['offset']+_0x46c6b0,_0x5322f9>0x0,!!_0x2d29a6);}if(_0x310892&&_0x1434d8['push'](_0x310892),_0x199b10['to']>_0x165db3)break;_0x199b10=_0x38e46f<_0x2e3f75['length']?_0x2e3f75[_0x38e46f++]:null;}if(!_0x2d29a6)break;_0x5acbda=_0x2d29a6['toA'],_0x46c6b0=_0x2d29a6['toA']-_0x2d29a6['toB'];}return _0x1434d8;}}class Parser{['startParse'](_0x282273,_0x23e8eb,_0x55ccd6){return'string'==typeof _0x282273&&(_0x282273=new StringInput(_0x282273)),_0x55ccd6=_0x55ccd6?_0x55ccd6['length']?_0x55ccd6['map'](_0x1d8ae6=>new Range(_0x1d8ae6['from'],_0x1d8ae6['to'])):[new Range(0x0,0x0)]:[new Range(0x0,_0x282273['length'])],this['createParse'](_0x282273,_0x23e8eb||[],_0x55ccd6);}['parse'](_0x5b985e,_0x586f94,_0x3a3429){let _0xa872d9=this['startParse'](_0x5b985e,_0x586f94,_0x3a3429);for(;;){let _0x149920=_0xa872d9['advance']();if(_0x149920)return _0x149920;}}}class StringInput{constructor(_0x4bf081){this['string']=_0x4bf081;}get['length'](){return this['string']['length'];}['chunk'](_0xe1d5a7){return this['string']['slice'](_0xe1d5a7);}get['lineChunks'](){return!0x1;}['read'](_0x4c186c,_0x42c1d1){return this['string']['slice'](_0x4c186c,_0x42c1d1);}}function pI(_0x4eae2d){return(_0x22e439,_0x400550,_0x2c6301,_0x1c9b43)=>new MixedParse(_0x22e439,_0x4eae2d,_0x400550,_0x2c6301,_0x1c9b43);}class InnerParse{constructor(_0x341737,_0x221946,_0x315391,_0x458ea4,_0x5881a2){this['parser']=_0x341737,this['parse']=_0x221946,this['overlay']=_0x315391,this['target']=_0x458ea4,this['from']=_0x5881a2;}}function OI(_0x3352c6){if(!_0x3352c6['length']||_0x3352c6['some'](_0x4f7907=>_0x4f7907['from']>=_0x4f7907['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x3352c6));}class ActiveOverlay{constructor(_0x59ab05,_0x475f62,_0x740e29,_0x2fba87,_0x4fd94b,_0x1811c4,_0x7878cc){this['parser']=_0x59ab05,this['predicate']=_0x475f62,this['mounts']=_0x740e29,this['index']=_0x2fba87,this['start']=_0x4fd94b,this['target']=_0x1811c4,this['prev']=_0x7878cc,this['depth']=0x0,this['ranges']=[];}}const wI=new NodeProp({'perNode':!0x0});class MixedParse{constructor(_0x582072,_0x2f7bcb,_0x391b37,_0x1335f4,_0x214d51){this['nest']=_0x2f7bcb,this['input']=_0x391b37,this['fragments']=_0x1335f4,this['ranges']=_0x214d51,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x582072;}['advance'](){if(this['baseParse']){let _0x5b53bd=this['baseParse']['advance']();if(!_0x5b53bd)return null;if(this['baseParse']=null,this['baseTree']=_0x5b53bd,this['startInner'](),null!=this['stoppedAt']){for(let _0x1bf796 of this['inner'])_0x1bf796['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x1610fe=this['baseTree'];return null!=this['stoppedAt']&&(_0x1610fe=new Tree(_0x1610fe['type'],_0x1610fe['children'],_0x1610fe['positions'],_0x1610fe['length'],_0x1610fe['propValues']['concat']([[wI,this['stoppedAt']]]))),_0x1610fe;}let _0x26b882=this['inner'][this['innerDone']],_0x269b88=_0x26b882['parse']['advance']();if(_0x269b88){this['innerDone']++;let _0x42bb62=Object['assign'](Object['create'](null),_0x26b882['target']['props']);_0x42bb62[NodeProp['mounted']['id']]=new MountedTree(_0x269b88,_0x26b882['overlay'],_0x26b882['parser']),_0x26b882['target']['props']=_0x42bb62;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x58e4b0=this['input']['length'];for(let _0x521f1b=this['innerDone'];_0x521f1b<this['inner']['length'];_0x521f1b++)this['inner'][_0x521f1b]['from']<_0x58e4b0&&(_0x58e4b0=Math['min'](_0x58e4b0,this['inner'][_0x521f1b]['parse']['parsedPos']));return _0x58e4b0;}['stopAt'](_0x4d2545){if(this['stoppedAt']=_0x4d2545,this['baseParse'])this['baseParse']['stopAt'](_0x4d2545);else{for(let _0x328f0d=this['innerDone'];_0x328f0d<this['inner']['length'];_0x328f0d++)this['inner'][_0x328f0d]['parse']['stopAt'](_0x4d2545);}}['startInner'](){let _0x46a866=new vI(this['fragments']),_0x2a95ed=null,_0x219079=null,_0x13b239=new TreeCursor(new TreeNode(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),oI['IncludeAnonymous']|oI['IgnoreMounts']);t:for(let _0x596aad,_0x440c6d;;){let _0x7a1e4a,_0x1b7c7e=!0x0;if(null!=this['stoppedAt']&&_0x13b239['from']>=this['stoppedAt'])_0x1b7c7e=!0x1;else{if(_0x46a866['hasNode'](_0x13b239)){if(_0x2a95ed){let _0x3a901c=_0x2a95ed['mounts']['find'](_0xd5c6f5=>_0xd5c6f5['frag']['from']<=_0x13b239['from']&&_0xd5c6f5['frag']['to']>=_0x13b239['to']&&_0xd5c6f5['mount']['overlay']);if(_0x3a901c)for(let _0x593118 of _0x3a901c['mount']['overlay']){let _0x1c2fc3=_0x593118['from']+_0x3a901c['pos'],_0x15bee0=_0x593118['to']+_0x3a901c['pos'];_0x1c2fc3>=_0x13b239['from']&&_0x15bee0<=_0x13b239['to']&&!_0x2a95ed['ranges']['some'](_0x2dfbaa=>_0x2dfbaa['from']<_0x15bee0&&_0x2dfbaa['to']>_0x1c2fc3)&&_0x2a95ed['ranges']['push']({'from':_0x1c2fc3,'to':_0x15bee0});}}_0x1b7c7e=!0x1;}else{if(_0x219079&&(_0x440c6d=bI(_0x219079['ranges'],_0x13b239['from'],_0x13b239['to'])))_0x1b7c7e=0x2!=_0x440c6d;else{if(!_0x13b239['type']['isAnonymous']&&(_0x596aad=this['nest'](_0x13b239,this['input']))&&(_0x13b239['from']<_0x13b239['to']||!_0x596aad['overlay'])){_0x13b239['tree']||(_I(_0x13b239),_0x2a95ed&&_0x2a95ed['depth']++,_0x219079&&_0x219079['depth']++);let _0x11b561=_0x46a866['findMounts'](_0x13b239['from'],_0x596aad['parser']);if('function'==typeof _0x596aad['overlay'])_0x2a95ed=new ActiveOverlay(_0x596aad['parser'],_0x596aad['overlay'],_0x11b561,this['inner']['length'],_0x13b239['from'],_0x13b239['tree'],_0x2a95ed);else{let _0x4ae26d=TI(this['ranges'],_0x596aad['overlay']||(_0x13b239['from']<_0x13b239['to']?[new Range(_0x13b239['from'],_0x13b239['to'])]:[]));_0x4ae26d['length']&&OI(_0x4ae26d),!_0x4ae26d['length']&&_0x596aad['overlay']||this['inner']['push'](new InnerParse(_0x596aad['parser'],_0x4ae26d['length']?_0x596aad['parser']['startParse'](this['input'],AI(_0x11b561,_0x4ae26d),_0x4ae26d):_0x596aad['parser']['startParse'](''),_0x596aad['overlay']?_0x596aad['overlay']['map'](_0x32598f=>new Range(_0x32598f['from']-_0x13b239['from'],_0x32598f['to']-_0x13b239['from'])):null,_0x13b239['tree'],_0x4ae26d['length']?_0x4ae26d[0x0]['from']:_0x13b239['from'])),_0x596aad['overlay']?_0x4ae26d['length']&&(_0x219079={'ranges':_0x4ae26d,'depth':0x0,'prev':_0x219079}):_0x1b7c7e=!0x1;}}else{if(_0x2a95ed&&(_0x7a1e4a=_0x2a95ed['predicate'](_0x13b239))&&(!0x0===_0x7a1e4a&&(_0x7a1e4a=new Range(_0x13b239['from'],_0x13b239['to'])),_0x7a1e4a['from']<_0x7a1e4a['to'])){let _0x53d4be=_0x2a95ed['ranges']['length']-0x1;_0x53d4be>=0x0&&_0x2a95ed['ranges'][_0x53d4be]['to']==_0x7a1e4a['from']?_0x2a95ed['ranges'][_0x53d4be]={'from':_0x2a95ed['ranges'][_0x53d4be]['from'],'to':_0x7a1e4a['to']}:_0x2a95ed['ranges']['push'](_0x7a1e4a);}}}}}if(_0x1b7c7e&&_0x13b239['firstChild']())_0x2a95ed&&_0x2a95ed['depth']++,_0x219079&&_0x219079['depth']++;else for(;!_0x13b239['nextSibling']();){if(!_0x13b239['parent']())break t;if(_0x2a95ed&&!--_0x2a95ed['depth']){let _0xf66246=TI(this['ranges'],_0x2a95ed['ranges']);_0xf66246['length']&&(OI(_0xf66246),this['inner']['splice'](_0x2a95ed['index'],0x0,new InnerParse(_0x2a95ed['parser'],_0x2a95ed['parser']['startParse'](this['input'],AI(_0x2a95ed['mounts'],_0xf66246),_0xf66246),_0x2a95ed['ranges']['map'](_0x30d854=>new Range(_0x30d854['from']-_0x2a95ed['start'],_0x30d854['to']-_0x2a95ed['start'])),_0x2a95ed['target'],_0xf66246[0x0]['from']))),_0x2a95ed=_0x2a95ed['prev'];}_0x219079&&!--_0x219079['depth']&&(_0x219079=_0x219079['prev']);}}}}function bI(_0x44021f,_0x2ff178,_0x576107){for(let _0x3afd42 of _0x44021f){if(_0x3afd42['from']>=_0x576107)break;if(_0x3afd42['to']>_0x2ff178)return _0x3afd42['from']<=_0x2ff178&&_0x3afd42['to']>=_0x576107?0x2:0x1;}return 0x0;}function yI(_0x490854,_0x1964d3,_0xfbd483,_0x5b643a,_0x40a3d8,_0x3950e2){if(_0x1964d3<_0xfbd483){let _0x5e6034=_0x490854['buffer'][_0x1964d3+0x1];_0x5b643a['push'](_0x490854['slice'](_0x1964d3,_0xfbd483,_0x5e6034)),_0x40a3d8['push'](_0x5e6034-_0x3950e2);}}function _I(_0x603600){let {node:_0x11164d}=_0x603600,_0x42e0c3=[],_0x90b9bc=_0x11164d['context']['buffer'];do{_0x42e0c3['push'](_0x603600['index']),_0x603600['parent']();}while(!_0x603600['tree']);let _0x56a94e=_0x603600['tree'],_0x4a736f=_0x56a94e['children']['indexOf'](_0x90b9bc),_0x5d78cb=_0x56a94e['children'][_0x4a736f],_0x3473c3=_0x5d78cb['buffer'],_0x4ed6c6=[_0x4a736f];_0x56a94e['children'][_0x4a736f]=function _0x2a93bc(_0x177c4c,_0x20ab15,_0x25ce34,_0x37ae13,_0x211368,_0x3b843d){let _0x304f3a=_0x42e0c3[_0x3b843d],_0x461b56=[],_0x1735a3=[];yI(_0x5d78cb,_0x177c4c,_0x304f3a,_0x461b56,_0x1735a3,_0x37ae13);let _0x49c92f=_0x3473c3[_0x304f3a+0x1],_0x2468a8=_0x3473c3[_0x304f3a+0x2];_0x4ed6c6['push'](_0x461b56['length']);let _0x17fd95=_0x3b843d?_0x2a93bc(_0x304f3a+0x4,_0x3473c3[_0x304f3a+0x3],_0x5d78cb['set']['types'][_0x3473c3[_0x304f3a]],_0x49c92f,_0x2468a8-_0x49c92f,_0x3b843d-0x1):_0x11164d['toTree']();return _0x461b56['push'](_0x17fd95),_0x1735a3['push'](_0x49c92f-_0x37ae13),yI(_0x5d78cb,_0x3473c3[_0x304f3a+0x3],_0x20ab15,_0x461b56,_0x1735a3,_0x37ae13),new Tree(_0x25ce34,_0x461b56,_0x1735a3,_0x211368);}(0x0,_0x3473c3['length'],NodeType['none'],0x0,_0x5d78cb['length'],_0x42e0c3['length']-0x1);for(let _0x32228b of _0x4ed6c6){let _0x134ceb=_0x603600['tree']['children'][_0x32228b],_0x44f2d2=_0x603600['tree']['positions'][_0x32228b];_0x603600['yield'](new TreeNode(_0x134ceb,_0x44f2d2+_0x603600['from'],_0x32228b,_0x603600['_tree']));}}class StructureCursor{constructor(_0x10fc60,_0x5a9e8b){this['offset']=_0x5a9e8b,this['done']=!0x1,this['cursor']=_0x10fc60['cursor'](oI['IncludeAnonymous']|oI['IgnoreMounts']);}['moveTo'](_0x5e1d8a){let {cursor:_0xb8d5fb}=this,_0x5ac8e4=_0x5e1d8a-this['offset'];for(;!this['done']&&_0xb8d5fb['from']<_0x5ac8e4;)_0xb8d5fb['to']>=_0x5e1d8a&&_0xb8d5fb['enter'](_0x5ac8e4,0x1,oI['IgnoreOverlays']|oI['ExcludeBuffers'])||_0xb8d5fb['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x66ddc7){if(this['moveTo'](_0x66ddc7['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x66ddc7['from']&&this['cursor']['tree'])for(let _0x4ad848=this['cursor']['tree'];;){if(_0x4ad848==_0x66ddc7['tree'])return!0x0;if(!(_0x4ad848['children']['length']&&0x0==_0x4ad848['positions'][0x0]&&_0x4ad848['children'][0x0]instanceof Tree))break;_0x4ad848=_0x4ad848['children'][0x0];}return!0x1;}}let vI=class FragmentCursor{constructor(_0x4db19c){var _0x31080e;if(this['fragments']=_0x4db19c,this['curTo']=0x0,this['fragI']=0x0,_0x4db19c['length']){let _0x162775=this['curFrag']=_0x4db19c[0x0];this['curTo']=null!==(_0x31080e=_0x162775['tree']['prop'](wI))&&void 0x0!==_0x31080e?_0x31080e:_0x162775['to'],this['inner']=new StructureCursor(_0x162775['tree'],-_0x162775['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x26c1db){for(;this['curFrag']&&_0x26c1db['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x26c1db['from']&&this['curTo']>=_0x26c1db['to']&&this['inner']['hasNode'](_0x26c1db);}['nextFrag'](){var _0x4e2529;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x40660e=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x4e2529=_0x40660e['tree']['prop'](wI))&&void 0x0!==_0x4e2529?_0x4e2529:_0x40660e['to'],this['inner']=new StructureCursor(_0x40660e['tree'],-_0x40660e['offset']);}}['findMounts'](_0x594591,_0x361808){var _0x3a6d9c;let _0x17a6cf=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x594591,0x1);for(let _0x11db0b=this['inner']['cursor']['node'];_0x11db0b;_0x11db0b=_0x11db0b['parent']){let _0x30e20a=null===(_0x3a6d9c=_0x11db0b['tree'])||void 0x0===_0x3a6d9c?void 0x0:_0x3a6d9c['prop'](NodeProp['mounted']);if(_0x30e20a&&_0x30e20a['parser']==_0x361808)for(let _0x5df7b3=this['fragI'];_0x5df7b3<this['fragments']['length'];_0x5df7b3++){let _0x377d49=this['fragments'][_0x5df7b3];if(_0x377d49['from']>=_0x11db0b['to'])break;_0x377d49['tree']==this['curFrag']['tree']&&_0x17a6cf['push']({'frag':_0x377d49,'pos':_0x11db0b['from']-_0x377d49['offset'],'mount':_0x30e20a});}}}return _0x17a6cf;}};function TI(_0x548dcd,_0x42745c){let _0x13d2ee=null,_0x188778=_0x42745c;for(let _0x2788f8=0x1,_0x54a3ea=0x0;_0x2788f8<_0x548dcd['length'];_0x2788f8++){let _0x3e6962=_0x548dcd[_0x2788f8-0x1]['to'],_0x209b09=_0x548dcd[_0x2788f8]['from'];for(;_0x54a3ea<_0x188778['length'];_0x54a3ea++){let _0x2191a1=_0x188778[_0x54a3ea];if(_0x2191a1['from']>=_0x209b09)break;_0x2191a1['to']<=_0x3e6962||(_0x13d2ee||(_0x188778=_0x13d2ee=_0x42745c['slice']()),_0x2191a1['from']<_0x3e6962?(_0x13d2ee[_0x54a3ea]=new Range(_0x2191a1['from'],_0x3e6962),_0x2191a1['to']>_0x209b09&&_0x13d2ee['splice'](_0x54a3ea+0x1,0x0,new Range(_0x209b09,_0x2191a1['to']))):_0x2191a1['to']>_0x209b09?_0x13d2ee[_0x54a3ea--]=new Range(_0x209b09,_0x2191a1['to']):_0x13d2ee['splice'](_0x54a3ea--,0x1));}}return _0x188778;}function EI(_0x18fa2b,_0x1c1adc,_0x192f94,_0x806e4b){let _0x56c57d=0x0,_0x194785=0x0,_0x45c9c8=!0x1,_0x4962c5=!0x1,_0xc252b6=-0x3b9aca00,_0x2f0c6c=[];for(;;){let _0xf1289b=_0x56c57d==_0x18fa2b['length']?0x3b9aca00:_0x45c9c8?_0x18fa2b[_0x56c57d]['to']:_0x18fa2b[_0x56c57d]['from'],_0x4f75f8=_0x194785==_0x1c1adc['length']?0x3b9aca00:_0x4962c5?_0x1c1adc[_0x194785]['to']:_0x1c1adc[_0x194785]['from'];if(_0x45c9c8!=_0x4962c5){let _0x1bb13a=Math['max'](_0xc252b6,_0x192f94),_0x1a80d3=Math['min'](_0xf1289b,_0x4f75f8,_0x806e4b);_0x1bb13a<_0x1a80d3&&_0x2f0c6c['push'](new Range(_0x1bb13a,_0x1a80d3));}if(_0xc252b6=Math['min'](_0xf1289b,_0x4f75f8),0x3b9aca00==_0xc252b6)break;_0xf1289b==_0xc252b6&&(_0x45c9c8?(_0x45c9c8=!0x1,_0x56c57d++):_0x45c9c8=!0x0),_0x4f75f8==_0xc252b6&&(_0x4962c5?(_0x4962c5=!0x1,_0x194785++):_0x4962c5=!0x0);}return _0x2f0c6c;}function AI(_0x5380ef,_0x89d5d4){let _0x5774ef=[];for(let {pos:_0x1ac780,mount:_0x5d8a23,frag:_0x4a93e7}of _0x5380ef){let _0x18b5a9=_0x1ac780+(_0x5d8a23['overlay']?_0x5d8a23['overlay'][0x0]['from']:0x0),_0x290ae9=_0x18b5a9+_0x5d8a23['tree']['length'],_0x39f4bf=Math['max'](_0x4a93e7['from'],_0x18b5a9),_0x229a51=Math['min'](_0x4a93e7['to'],_0x290ae9);if(_0x5d8a23['overlay']){let _0x387efa=EI(_0x89d5d4,_0x5d8a23['overlay']['map'](_0x27b21d=>new Range(_0x27b21d['from']+_0x1ac780,_0x27b21d['to']+_0x1ac780)),_0x39f4bf,_0x229a51);for(let _0x238996=0x0,_0x490bcf=_0x39f4bf;;_0x238996++){let _0x25dca7=_0x238996==_0x387efa['length'],_0x24ba3a=_0x25dca7?_0x229a51:_0x387efa[_0x238996]['from'];if(_0x24ba3a>_0x490bcf&&_0x5774ef['push'](new TreeFragment(_0x490bcf,_0x24ba3a,_0x5d8a23['tree'],-_0x18b5a9,_0x4a93e7['from']>=_0x490bcf||_0x4a93e7['openStart'],_0x4a93e7['to']<=_0x24ba3a||_0x4a93e7['openEnd'])),_0x25dca7)break;_0x490bcf=_0x387efa[_0x238996]['to'];}}else _0x5774ef['push'](new TreeFragment(_0x39f4bf,_0x229a51,_0x5d8a23['tree'],-_0x18b5a9,_0x4a93e7['from']>=_0x18b5a9||_0x4a93e7['openStart'],_0x4a93e7['to']<=_0x290ae9||_0x4a93e7['openEnd']));}return _0x5774ef;}let II=0x0;class Tag{constructor(_0x233e20,_0x5e4d76,_0x317ba5,_0x8fc703){this['name']=_0x233e20,this['set']=_0x5e4d76,this['base']=_0x317ba5,this['modified']=_0x8fc703,this['id']=II++;}['toString'](){let {name:_0x26edea}=this;for(let _0x3fc883 of this['modified'])_0x3fc883['name']&&(_0x26edea=_0x3fc883['name']+'('+_0x26edea+')');return _0x26edea;}static['define'](_0x548576,_0x3c1f6d){let _0x2c944c='string'==typeof _0x548576?_0x548576:'?';if(_0x548576 instanceof Tag&&(_0x3c1f6d=_0x548576),null==_0x3c1f6d?void 0x0:_0x3c1f6d['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x2dae2e=new Tag(_0x2c944c,[],null,[]);if(_0x2dae2e['set']['push'](_0x2dae2e),_0x3c1f6d){for(let t of _0x3c1f6d['set'])_0x2dae2e['set']['push'](t);}return _0x2dae2e;}static['defineModifier'](_0x2c0997){let _0x555a71=new Modifier(_0x2c0997);return _0x31abaa=>_0x31abaa['modified']['indexOf'](_0x555a71)>-0x1?_0x31abaa:Modifier['get'](_0x31abaa['base']||_0x31abaa,_0x31abaa['modified']['concat'](_0x555a71)['sort']((_0x6c751a,_0x59177a)=>_0x6c751a['id']-_0x59177a['id']));}}let SI=0x0;class Modifier{constructor(_0x36ea44){this['name']=_0x36ea44,this['instances']=[],this['id']=SI++;}static['get'](_0x5cb270,_0x2109a8){if(!_0x2109a8['length'])return _0x5cb270;let _0x3cc7a5=_0x2109a8[0x0]['instances']['find'](t=>t['base']==_0x5cb270&&function(_0x19892c,_0x1de1c5){return _0x19892c['length']==_0x1de1c5['length']&&_0x19892c['every']((_0x332266,_0x589ac2)=>_0x332266==_0x1de1c5[_0x589ac2]);}(_0x2109a8,t['modified']));if(_0x3cc7a5)return _0x3cc7a5;let _0x4f2b72=[],_0x927387=new Tag(_0x5cb270['name'],_0x4f2b72,_0x5cb270,_0x2109a8);for(let _0x5e37e6 of _0x2109a8)_0x5e37e6['instances']['push'](_0x927387);let _0x41e49c=function(_0x2fc727){let _0x142a1b=[[]];for(let _0x11442d=0x0;_0x11442d<_0x2fc727['length'];_0x11442d++)for(let _0x981b7a=0x0,_0xb3365f=_0x142a1b['length'];_0x981b7a<_0xb3365f;_0x981b7a++)_0x142a1b['push'](_0x142a1b[_0x981b7a]['concat'](_0x2fc727[_0x11442d]));return _0x142a1b['sort']((_0x26be76,_0x3b630d)=>_0x3b630d['length']-_0x26be76['length']);}(_0x2109a8);for(let _0x35545c of _0x5cb270['set'])if(!_0x35545c['modified']['length']){for(let _0x538054 of _0x41e49c)_0x4f2b72['push'](Modifier['get'](_0x35545c,_0x538054));}return _0x927387;}}function CI(_0x28d46d){let _0x6844c1=Object['create'](null);for(let _0xa5064c in _0x28d46d){let _0xa495ab=_0x28d46d[_0xa5064c];Array['isArray'](_0xa495ab)||(_0xa495ab=[_0xa495ab]);for(let _0x304706 of _0xa5064c['split']('\x20'))if(_0x304706){let _0x5c08c8=[],_0x395727=0x2,_0x319f7d=_0x304706;for(let _0x27a3f1=0x0;;){if('...'==_0x319f7d&&_0x27a3f1>0x0&&_0x27a3f1+0x3==_0x304706['length']){_0x395727=0x1;break;}let _0x1558a6=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x319f7d);if(!_0x1558a6)throw new RangeError('Invalid\x20path:\x20'+_0x304706);if(_0x5c08c8['push']('*'==_0x1558a6[0x0]?'':'\x22'==_0x1558a6[0x0][0x0]?JSON['parse'](_0x1558a6[0x0]):_0x1558a6[0x0]),_0x27a3f1+=_0x1558a6[0x0]['length'],_0x27a3f1==_0x304706['length'])break;let _0x3c6b36=_0x304706[_0x27a3f1++];if(_0x27a3f1==_0x304706['length']&&'!'==_0x3c6b36){_0x395727=0x0;break;}if('/'!=_0x3c6b36)throw new RangeError('Invalid\x20path:\x20'+_0x304706);_0x319f7d=_0x304706['slice'](_0x27a3f1);}let _0x5e9b45=_0x5c08c8['length']-0x1,_0xf65411=_0x5c08c8[_0x5e9b45];if(!_0xf65411)throw new RangeError('Invalid\x20path:\x20'+_0x304706);let _0x5f3e73=new Rule(_0xa495ab,_0x395727,_0x5e9b45>0x0?_0x5c08c8['slice'](0x0,_0x5e9b45):null);_0x6844c1[_0xf65411]=_0x5f3e73['sort'](_0x6844c1[_0xf65411]);}}return kI['add'](_0x6844c1);}const kI=new NodeProp({'combine'(_0x3d5cd6,_0x1c7adf){let _0xeda681,_0x4995cb,_0x5e0707;for(;_0x3d5cd6||_0x1c7adf;){if(!_0x3d5cd6||_0x1c7adf&&_0x3d5cd6['depth']>=_0x1c7adf['depth']?(_0x5e0707=_0x1c7adf,_0x1c7adf=_0x1c7adf['next']):(_0x5e0707=_0x3d5cd6,_0x3d5cd6=_0x3d5cd6['next']),_0xeda681&&_0xeda681['mode']==_0x5e0707['mode']&&!_0x5e0707['context']&&!_0xeda681['context'])continue;let _0x52f393=new Rule(_0x5e0707['tags'],_0x5e0707['mode'],_0x5e0707['context']);_0xeda681?_0xeda681['next']=_0x52f393:_0x4995cb=_0x52f393,_0xeda681=_0x52f393;}return _0x4995cb;}});class Rule{constructor(_0x2433f6,_0x58d1aa,_0x2a55b7,_0x5d635d){this['tags']=_0x2433f6,this['mode']=_0x58d1aa,this['context']=_0x2a55b7,this['next']=_0x5d635d;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0xb437f9){return!_0xb437f9||_0xb437f9['depth']<this['depth']?(this['next']=_0xb437f9,this):(_0xb437f9['next']=this['sort'](_0xb437f9['next']),_0xb437f9);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function xI(_0x38fad5,_0x6074f7){let _0xc12ae=Object['create'](null);for(let _0x59df6f of _0x38fad5)if(Array['isArray'](_0x59df6f['tag'])){for(let _0x1430e2 of _0x59df6f['tag'])_0xc12ae[_0x1430e2['id']]=_0x59df6f['class'];}else _0xc12ae[_0x59df6f['tag']['id']]=_0x59df6f['class'];let {scope:_0x4d1b62,all:_0x427ee3=null}=_0x6074f7||{};return{'style':_0x5cd436=>{let _0x49ef0f=_0x427ee3;for(let _0x387b07 of _0x5cd436)for(let _0x18932a of _0x387b07['set']){let _0xb5c82e=_0xc12ae[_0x18932a['id']];if(_0xb5c82e){_0x49ef0f=_0x49ef0f?_0x49ef0f+'\x20'+_0xb5c82e:_0xb5c82e;break;}}return _0x49ef0f;},'scope':_0x4d1b62};}function RI(_0x901397,_0x37046a,_0x58d137,_0x2f580c=0x0,_0xef3d61=_0x901397['length']){let _0x26aba8=new HighlightBuilder(_0x2f580c,Array['isArray'](_0x37046a)?_0x37046a:[_0x37046a],_0x58d137);_0x26aba8['highlightRange'](_0x901397['cursor'](),_0x2f580c,_0xef3d61,'',_0x26aba8['highlighters']),_0x26aba8['flush'](_0xef3d61);}Rule['empty']=new Rule([],0x2,null);class HighlightBuilder{constructor(_0x384b77,_0x3ee6de,_0x170eb7){this['at']=_0x384b77,this['highlighters']=_0x3ee6de,this['span']=_0x170eb7,this['class']='';}['startSpan'](_0x23131b,_0x2cd863){_0x2cd863!=this['class']&&(this['flush'](_0x23131b),_0x23131b>this['at']&&(this['at']=_0x23131b),this['class']=_0x2cd863);}['flush'](_0x44f189){_0x44f189>this['at']&&this['class']&&this['span'](this['at'],_0x44f189,this['class']);}['highlightRange'](_0x47f26e,_0x363bd0,_0x42a95f,_0x531fad,_0x50c545){let {type:_0xaab7f0,from:_0x2aaee7,to:_0x5e7b37}=_0x47f26e;if(_0x2aaee7>=_0x42a95f||_0x5e7b37<=_0x363bd0)return;_0xaab7f0['isTop']&&(_0x50c545=this['highlighters']['filter'](_0x22c3f5=>!_0x22c3f5['scope']||_0x22c3f5['scope'](_0xaab7f0)));let _0x38768d=_0x531fad,_0x4d33a0=function(_0x346f5e){let _0x3bad45=_0x346f5e['type']['prop'](kI);for(;_0x3bad45&&_0x3bad45['context']&&!_0x346f5e['matchContext'](_0x3bad45['context']);)_0x3bad45=_0x3bad45['next'];return _0x3bad45||null;}(_0x47f26e)||Rule['empty'],_0x11e121=function(_0x27f32c,_0x195c77){let _0x5d6a9a=null;for(let _0x1e6887 of _0x27f32c){let _0x12177c=_0x1e6887['style'](_0x195c77);_0x12177c&&(_0x5d6a9a=_0x5d6a9a?_0x5d6a9a+'\x20'+_0x12177c:_0x12177c);}return _0x5d6a9a;}(_0x50c545,_0x4d33a0['tags']);if(_0x11e121&&(_0x38768d&&(_0x38768d+='\x20'),_0x38768d+=_0x11e121,0x1==_0x4d33a0['mode']&&(_0x531fad+=(_0x531fad?'\x20':'')+_0x11e121)),this['startSpan'](Math['max'](_0x363bd0,_0x2aaee7),_0x38768d),_0x4d33a0['opaque'])return;let _0x592dcd=_0x47f26e['tree']&&_0x47f26e['tree']['prop'](NodeProp['mounted']);if(_0x592dcd&&_0x592dcd['overlay']){let _0x22b899=_0x47f26e['node']['enter'](_0x592dcd['overlay'][0x0]['from']+_0x2aaee7,0x1),_0x18de81=this['highlighters']['filter'](_0x18b08f=>!_0x18b08f['scope']||_0x18b08f['scope'](_0x592dcd['tree']['type'])),_0x403374=_0x47f26e['firstChild']();for(let _0x3f3aa5=0x0,_0x2fe9ab=_0x2aaee7;;_0x3f3aa5++){let _0x362c2c=_0x3f3aa5<_0x592dcd['overlay']['length']?_0x592dcd['overlay'][_0x3f3aa5]:null,_0xf21741=_0x362c2c?_0x362c2c['from']+_0x2aaee7:_0x5e7b37,_0x23e0f9=Math['max'](_0x363bd0,_0x2fe9ab),_0x13346d=Math['min'](_0x42a95f,_0xf21741);if(_0x23e0f9<_0x13346d&&_0x403374){for(;_0x47f26e['from']<_0x13346d&&(this['highlightRange'](_0x47f26e,_0x23e0f9,_0x13346d,_0x531fad,_0x50c545),this['startSpan'](Math['min'](_0x13346d,_0x47f26e['to']),_0x38768d),!(_0x47f26e['to']>=_0xf21741)&&_0x47f26e['nextSibling']()););}if(!_0x362c2c||_0xf21741>_0x42a95f)break;_0x2fe9ab=_0x362c2c['to']+_0x2aaee7,_0x2fe9ab>_0x363bd0&&(this['highlightRange'](_0x22b899['cursor'](),Math['max'](_0x363bd0,_0x362c2c['from']+_0x2aaee7),Math['min'](_0x42a95f,_0x2fe9ab),'',_0x18de81),this['startSpan'](Math['min'](_0x42a95f,_0x2fe9ab),_0x38768d));}_0x403374&&_0x47f26e['parent']();}else{if(_0x47f26e['firstChild']()){_0x592dcd&&(_0x531fad='');do{if(!(_0x47f26e['to']<=_0x363bd0)){if(_0x47f26e['from']>=_0x42a95f)break;this['highlightRange'](_0x47f26e,_0x363bd0,_0x42a95f,_0x531fad,_0x50c545),this['startSpan'](Math['min'](_0x42a95f,_0x47f26e['to']),_0x38768d);}}while(_0x47f26e['nextSibling']());_0x47f26e['parent']();}}}}const t=Tag['define'],PI=t(),MI=t(),NI=t(MI),LI=t(MI),DI=t(),QI=t(DI),$I=t(DI),VI=t(),UI=t(VI),BI=t(),FI=t(),jI=t(),HI=t(jI),GI=t(),ZI={'comment':PI,'lineComment':t(PI),'blockComment':t(PI),'docComment':t(PI),'name':MI,'variableName':t(MI),'typeName':NI,'tagName':t(NI),'propertyName':LI,'attributeName':t(LI),'className':t(MI),'labelName':t(MI),'namespace':t(MI),'macroName':t(MI),'literal':DI,'string':QI,'docString':t(QI),'character':t(QI),'attributeValue':t(QI),'number':$I,'integer':t($I),'float':t($I),'bool':t(DI),'regexp':t(DI),'escape':t(DI),'color':t(DI),'url':t(DI),'keyword':BI,'self':t(BI),'null':t(BI),'atom':t(BI),'unit':t(BI),'modifier':t(BI),'operatorKeyword':t(BI),'controlKeyword':t(BI),'definitionKeyword':t(BI),'moduleKeyword':t(BI),'operator':FI,'derefOperator':t(FI),'arithmeticOperator':t(FI),'logicOperator':t(FI),'bitwiseOperator':t(FI),'compareOperator':t(FI),'updateOperator':t(FI),'definitionOperator':t(FI),'typeOperator':t(FI),'controlOperator':t(FI),'punctuation':jI,'separator':t(jI),'bracket':HI,'angleBracket':t(HI),'squareBracket':t(HI),'paren':t(HI),'brace':t(HI),'content':VI,'heading':UI,'heading1':t(UI),'heading2':t(UI),'heading3':t(UI),'heading4':t(UI),'heading5':t(UI),'heading6':t(UI),'contentSeparator':t(VI),'list':t(VI),'quote':t(VI),'emphasis':t(VI),'strong':t(VI),'link':t(VI),'monospace':t(VI),'strikethrough':t(VI),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':GI,'documentMeta':t(GI),'annotation':t(GI),'processingInstruction':t(GI),'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 ZI){let i=ZI[e];i instanceof Tag&&(i['name']=e);}var XI;xI([{'tag':ZI['link'],'class':'tok-link'},{'tag':ZI['heading'],'class':'tok-heading'},{'tag':ZI['emphasis'],'class':'tok-emphasis'},{'tag':ZI['strong'],'class':'tok-strong'},{'tag':ZI['keyword'],'class':'tok-keyword'},{'tag':ZI['atom'],'class':'tok-atom'},{'tag':ZI['bool'],'class':'tok-bool'},{'tag':ZI['url'],'class':'tok-url'},{'tag':ZI['labelName'],'class':'tok-labelName'},{'tag':ZI['inserted'],'class':'tok-inserted'},{'tag':ZI['deleted'],'class':'tok-deleted'},{'tag':ZI['literal'],'class':'tok-literal'},{'tag':ZI['string'],'class':'tok-string'},{'tag':ZI['number'],'class':'tok-number'},{'tag':[ZI['regexp'],ZI['escape'],ZI['special'](ZI['string'])],'class':'tok-string2'},{'tag':ZI['variableName'],'class':'tok-variableName'},{'tag':ZI['local'](ZI['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':ZI['definition'](ZI['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':ZI['special'](ZI['variableName']),'class':'tok-variableName2'},{'tag':ZI['definition'](ZI['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':ZI['typeName'],'class':'tok-typeName'},{'tag':ZI['namespace'],'class':'tok-namespace'},{'tag':ZI['className'],'class':'tok-className'},{'tag':ZI['macroName'],'class':'tok-macroName'},{'tag':ZI['propertyName'],'class':'tok-propertyName'},{'tag':ZI['operator'],'class':'tok-operator'},{'tag':ZI['comment'],'class':'tok-comment'},{'tag':ZI['meta'],'class':'tok-meta'},{'tag':ZI['invalid'],'class':'tok-invalid'},{'tag':ZI['punctuation'],'class':'tok-punctuation'}]);const qI=new NodeProp();function WI(_0xaa393f){return Facet['define']({'combine':_0xaa393f?_0x144bd8=>_0x144bd8['concat'](_0xaa393f):void 0x0});}const zI=new NodeProp();class Language{constructor(_0x3e87ce,_0x37dae4,_0x53046c=[],_0x4efec6=''){this['data']=_0x3e87ce,this['name']=_0x4efec6,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return KI(this);}}),this['parser']=_0x37dae4,this['extension']=[nS['of'](this),EditorState['languageData']['of']((_0x35c28d,_0x2d13fa,_0x4e1583)=>{let _0x299945=YI(_0x35c28d,_0x2d13fa,_0x4e1583),_0x4da6ae=_0x299945['type']['prop'](qI);if(!_0x4da6ae)return[];let _0x106cc1=_0x35c28d['facet'](_0x4da6ae),_0x4efaac=_0x299945['type']['prop'](zI);if(_0x4efaac){let _0x453b21=_0x299945['resolve'](_0x2d13fa-_0x299945['from'],_0x4e1583);for(let _0x295247 of _0x4efaac)if(_0x295247['test'](_0x453b21,_0x35c28d)){let _0x340887=_0x35c28d['facet'](_0x295247['facet']);return'replace'==_0x295247['type']?_0x340887:_0x340887['concat'](_0x106cc1);}}return _0x106cc1;})]['concat'](_0x53046c);}['isActiveAt'](_0xde9b12,_0x193b54,_0x561880=-0x1){return YI(_0xde9b12,_0x193b54,_0x561880)['type']['prop'](qI)==this['data'];}['findRegions'](_0xb3235f){let _0x1c3edb=_0xb3235f['facet'](nS);if((null==_0x1c3edb?void 0x0:_0x1c3edb['data'])==this['data'])return[{'from':0x0,'to':_0xb3235f['doc']['length']}];if(!_0x1c3edb||!_0x1c3edb['allowsNesting'])return[];let _0x79210b=[],_0x5f3f78=(_0x80a3fa,_0xaa3e49)=>{if(_0x80a3fa['prop'](qI)==this['data'])return void _0x79210b['push']({'from':_0xaa3e49,'to':_0xaa3e49+_0x80a3fa['length']});let _0x395d61=_0x80a3fa['prop'](NodeProp['mounted']);if(_0x395d61){if(_0x395d61['tree']['prop'](qI)==this['data']){if(_0x395d61['overlay']){for(let _0x542555 of _0x395d61['overlay'])_0x79210b['push']({'from':_0x542555['from']+_0xaa3e49,'to':_0x542555['to']+_0xaa3e49});}else _0x79210b['push']({'from':_0xaa3e49,'to':_0xaa3e49+_0x80a3fa['length']});return;}if(_0x395d61['overlay']){let _0x146661=_0x79210b['length'];if(_0x5f3f78(_0x395d61['tree'],_0x395d61['overlay'][0x0]['from']+_0xaa3e49),_0x79210b['length']>_0x146661)return;}}for(let _0x362a07=0x0;_0x362a07<_0x80a3fa['children']['length'];_0x362a07++){let _0x652e2a=_0x80a3fa['children'][_0x362a07];_0x652e2a instanceof Tree&&_0x5f3f78(_0x652e2a,_0x80a3fa['positions'][_0x362a07]+_0xaa3e49);}};return _0x5f3f78(KI(_0xb3235f),0x0),_0x79210b;}get['allowsNesting'](){return!0x0;}}function YI(_0x295d87,_0x5c6462,_0x10ae3b){let _0x11a1b0=_0x295d87['facet'](nS),_0x390801=KI(_0x295d87)['topNode'];if(!_0x11a1b0||_0x11a1b0['allowsNesting']){for(let _0x2dca3e=_0x390801;_0x2dca3e;_0x2dca3e=_0x2dca3e['enter'](_0x5c6462,_0x10ae3b,oI['ExcludeBuffers']))_0x2dca3e['type']['isTop']&&(_0x390801=_0x2dca3e);}return _0x390801;}Language['setState']=StateEffect['define']();class LRLanguage extends Language{constructor(_0xc4338b,_0x3cb178,_0x18fe64){super(_0xc4338b,_0x3cb178,[],_0x18fe64),this['parser']=_0x3cb178;}static['define'](_0x329260){let _0x24ae5f=WI(_0x329260['languageData']);return new LRLanguage(_0x24ae5f,_0x329260['parser']['configure']({'props':[qI['add'](_0x53f39=>_0x53f39['isTop']?_0x24ae5f:void 0x0)]}),_0x329260['name']);}['configure'](_0x1c0e7d,_0x341c69){return new LRLanguage(this['data'],this['parser']['configure'](_0x1c0e7d),_0x341c69||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function KI(_0x4a2bca){let _0x4ab6f8=_0x4a2bca['field'](Language['state'],!0x1);return _0x4ab6f8?_0x4ab6f8['tree']:Tree['empty'];}class DocInput{constructor(_0x281682){this['doc']=_0x281682,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x281682['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x48972e){return this['string']=this['cursor']['next'](_0x48972e-this['cursorPos'])['value'],this['cursorPos']=_0x48972e+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x5f26f4){return this['syncTo'](_0x5f26f4),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x23eb87,_0xccae98){let _0x5ac4dc=this['cursorPos']-this['string']['length'];return _0x23eb87<_0x5ac4dc||_0xccae98>=this['cursorPos']?this['doc']['sliceString'](_0x23eb87,_0xccae98):this['string']['slice'](_0x23eb87-_0x5ac4dc,_0xccae98-_0x5ac4dc);}}let JI=null;class ParseContext{constructor(_0x1900ec,_0x2f1e5b,_0x50b0fd=[],_0x7d4702,_0x178331,_0x511b51,_0x43ed77,_0x54c3a7){this['parser']=_0x1900ec,this['state']=_0x2f1e5b,this['fragments']=_0x50b0fd,this['tree']=_0x7d4702,this['treeLen']=_0x178331,this['viewport']=_0x511b51,this['skipped']=_0x43ed77,this['scheduleOn']=_0x54c3a7,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x38427f,_0x5842fb,_0x49131d){return new ParseContext(_0x38427f,_0x5842fb,[],Tree['empty'],0x0,_0x49131d,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x33110e,_0x3da798){return null!=_0x3da798&&_0x3da798>=this['state']['doc']['length']&&(_0x3da798=void 0x0),this['tree']!=Tree['empty']&&this['isDone'](null!=_0x3da798?_0x3da798:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x54588f;if('number'==typeof _0x33110e){let _0x52477f=Date['now']()+_0x33110e;_0x33110e=()=>Date['now']()>_0x52477f;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x3da798&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x3da798)&&_0x3da798<this['state']['doc']['length']&&this['parse']['stopAt'](_0x3da798);;){let _0x3115dc=this['parse']['advance']();if(_0x3115dc){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x3115dc,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x54588f=this['parse']['stoppedAt'])&&void 0x0!==_0x54588f?_0x54588f:this['state']['doc']['length'],this['tree']=_0x3115dc,this['parse']=null,!(this['treeLen']<(null!=_0x3da798?_0x3da798:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x33110e())return!0x1;}});}['takeTree'](){let _0x4baede,_0x12a9b0;this['parse']&&(_0x4baede=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4baede)&&this['parse']['stopAt'](_0x4baede),this['withContext'](()=>{for(;!(_0x12a9b0=this['parse']['advance']()););}),this['treeLen']=_0x4baede,this['tree']=_0x12a9b0,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x1b6ae8){let _0x3a4c66=JI;JI=this;try{return _0x1b6ae8();}finally{JI=_0x3a4c66;}}['withoutTempSkipped'](_0x5cf449){for(let _0x36194b;_0x36194b=this['tempSkipped']['pop']();)_0x5cf449=tS(_0x5cf449,_0x36194b['from'],_0x36194b['to']);return _0x5cf449;}['changes'](_0x550959,_0x38603a){let {fragments:_0x3fd0b0,tree:_0xf99bf7,treeLen:_0x175510,viewport:_0x503320,skipped:_0x583091}=this;if(this['takeTree'](),!_0x550959['empty']){let _0x14f608=[];if(_0x550959['iterChangedRanges']((_0x316f59,_0x1e76a9,_0xddc4c0,_0x1e6dbf)=>_0x14f608['push']({'fromA':_0x316f59,'toA':_0x1e76a9,'fromB':_0xddc4c0,'toB':_0x1e6dbf})),_0x3fd0b0=TreeFragment['applyChanges'](_0x3fd0b0,_0x14f608),_0xf99bf7=Tree['empty'],_0x175510=0x0,_0x503320={'from':_0x550959['mapPos'](_0x503320['from'],-0x1),'to':_0x550959['mapPos'](_0x503320['to'],0x1)},this['skipped']['length']){_0x583091=[];for(let _0x2c8589 of this['skipped']){let _0xd44c12=_0x550959['mapPos'](_0x2c8589['from'],0x1),_0x43e3=_0x550959['mapPos'](_0x2c8589['to'],-0x1);_0xd44c12<_0x43e3&&_0x583091['push']({'from':_0xd44c12,'to':_0x43e3});}}}return new ParseContext(this['parser'],_0x38603a,_0x3fd0b0,_0xf99bf7,_0x175510,_0x503320,_0x583091,this['scheduleOn']);}['updateViewport'](_0x1f2e90){if(this['viewport']['from']==_0x1f2e90['from']&&this['viewport']['to']==_0x1f2e90['to'])return!0x1;this['viewport']=_0x1f2e90;let _0x422b94=this['skipped']['length'];for(let _0x10634a=0x0;_0x10634a<this['skipped']['length'];_0x10634a++){let {from:_0x379289,to:_0xc1175a}=this['skipped'][_0x10634a];_0x379289<_0x1f2e90['to']&&_0xc1175a>_0x1f2e90['from']&&(this['fragments']=tS(this['fragments'],_0x379289,_0xc1175a),this['skipped']['splice'](_0x10634a--,0x1));}return!(this['skipped']['length']>=_0x422b94)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x4a63cc,_0x13705a){this['skipped']['push']({'from':_0x4a63cc,'to':_0x13705a});}static['getSkippingParser'](_0x6f2129){return new class extends Parser{['createParse'](_0x1b5d63,_0x5070d2,_0x1ae12c){let _0x56d5f6=_0x1ae12c[0x0]['from'],_0x4ba921=_0x1ae12c[_0x1ae12c['length']-0x1]['to'];return{'parsedPos':_0x56d5f6,'advance'(){let _0x96f60d=JI;if(_0x96f60d){for(let _0x11d294 of _0x1ae12c)_0x96f60d['tempSkipped']['push'](_0x11d294);_0x6f2129&&(_0x96f60d['scheduleOn']=_0x96f60d['scheduleOn']?Promise['all']([_0x96f60d['scheduleOn'],_0x6f2129]):_0x6f2129);}return this['parsedPos']=_0x4ba921,new Tree(NodeType['none'],[],[],_0x4ba921-_0x56d5f6);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x23643b){_0x23643b=Math['min'](_0x23643b,this['state']['doc']['length']);let _0x5a1169=this['fragments'];return this['treeLen']>=_0x23643b&&_0x5a1169['length']&&0x0==_0x5a1169[0x0]['from']&&_0x5a1169[0x0]['to']>=_0x23643b;}static['get'](){return JI;}}function tS(_0x17d532,_0x858f06,_0x349a64){return TreeFragment['applyChanges'](_0x17d532,[{'fromA':_0x858f06,'toA':_0x349a64,'fromB':_0x858f06,'toB':_0x349a64}]);}class LanguageState{constructor(_0x413578){this['context']=_0x413578,this['tree']=_0x413578['tree'];}['apply'](_0x1ede85){if(!_0x1ede85['docChanged']&&this['tree']==this['context']['tree'])return this;let _0xe3fa94=this['context']['changes'](_0x1ede85['changes'],_0x1ede85['state']),_0xe56347=this['context']['treeLen']==_0x1ede85['startState']['doc']['length']?void 0x0:Math['max'](_0x1ede85['changes']['mapPos'](this['context']['treeLen']),_0xe3fa94['viewport']['to']);return _0xe3fa94['work'](0x14,_0xe56347)||_0xe3fa94['takeTree'](),new LanguageState(_0xe3fa94);}static['init'](_0x4ced83){let _0x55241d=Math['min'](0xbb8,_0x4ced83['doc']['length']),_0x2a1ae2=ParseContext['create'](_0x4ced83['facet'](nS)['parser'],_0x4ced83,{'from':0x0,'to':_0x55241d});return _0x2a1ae2['work'](0x14,_0x55241d)||_0x2a1ae2['takeTree'](),new LanguageState(_0x2a1ae2);}}Language['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x540b2c,_0x1f271){for(let _0x44c483 of _0x1f271['effects'])if(_0x44c483['is'](Language['setState']))return _0x44c483['value'];return _0x1f271['startState']['facet'](nS)!=_0x1f271['state']['facet'](nS)?LanguageState['init'](_0x1f271['state']):_0x540b2c['apply'](_0x1f271);}});let eS=_0x211ec2=>{let _0x238f2d=setTimeout(()=>_0x211ec2(),0x1f4);return()=>clearTimeout(_0x238f2d);};'undefined'!=typeof requestIdleCallback&&(eS=_0x2931a7=>{let _0x5acdc8=-0x1,_0x4882ea=setTimeout(()=>{_0x5acdc8=requestIdleCallback(_0x2931a7,{'timeout':0x190});},0x64);return()=>_0x5acdc8<0x0?clearTimeout(_0x4882ea):cancelIdleCallback(_0x5acdc8);});const iS='undefined'!=typeof navigator&&(null===(XI=navigator['scheduling'])||void 0x0===XI?void 0x0:XI['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,sS=ViewPlugin['fromClass'](class ParseWorker{constructor(_0x536658){this['view']=_0x536658,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x2bd38e){let _0x5df897=this['view']['state']['field'](Language['state'])['context'];(_0x5df897['updateViewport'](_0x2bd38e['view']['viewport'])||this['view']['viewport']['to']>_0x5df897['treeLen'])&&this['scheduleWork'](),(_0x2bd38e['docChanged']||_0x2bd38e['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x5df897);}['scheduleWork'](){if(this['working'])return;let {state:_0x15166b}=this['view'],_0x486113=_0x15166b['field'](Language['state']);_0x486113['tree']==_0x486113['context']['tree']&&_0x486113['context']['isDone'](_0x15166b['doc']['length'])||(this['working']=eS(this['work']));}['work'](_0x3cbec5){this['working']=null;let _0x55cc2b=Date['now']();if(this['chunkEnd']<_0x55cc2b&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x55cc2b+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x8a858d,viewport:{to:_0x2712e6}}=this['view'],_0x342c13=_0x8a858d['field'](Language['state']);if(_0x342c13['tree']==_0x342c13['context']['tree']&&_0x342c13['context']['isDone'](_0x2712e6+0x186a0))return;let _0x335d6e=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x3cbec5&&!iS?Math['max'](0x19,_0x3cbec5['timeRemaining']()-0x5):0x3b9aca00),_0x35c091=_0x342c13['context']['treeLen']<_0x2712e6&&_0x8a858d['doc']['length']>_0x2712e6+0x3e8,_0x4b6e5e=_0x342c13['context']['work'](()=>iS&&iS()||Date['now']()>_0x335d6e,_0x2712e6+(_0x35c091?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x55cc2b,(_0x4b6e5e||this['chunkBudget']<=0x0)&&(_0x342c13['context']['takeTree'](),this['view']['dispatch']({'effects':Language['setState']['of'](new LanguageState(_0x342c13['context']))})),this['chunkBudget']>0x0&&(!_0x4b6e5e||_0x35c091)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x342c13['context']);}['checkAsyncSchedule'](_0x2d2e1b){_0x2d2e1b['scheduleOn']&&(this['workScheduled']++,_0x2d2e1b['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x4725dc=>tT(this['view']['state'],_0x4725dc))['then'](()=>this['workScheduled']--),_0x2d2e1b['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),nS=Facet['define']({'combine':_0x18e254=>_0x18e254['length']?_0x18e254[0x0]:null,'enables':_0x28699c=>[Language['state'],sS,EditorView['contentAttributes']['compute']([_0x28699c],_0x2afaaa=>{let _0x2e4f0f=_0x2afaaa['facet'](_0x28699c);return _0x2e4f0f&&_0x2e4f0f['name']?{'data-language':_0x2e4f0f['name']}:{};})]});class LanguageSupport{constructor(_0x594ed8,_0x4b69bd=[]){this['language']=_0x594ed8,this['support']=_0x4b69bd,this['extension']=[_0x594ed8,_0x4b69bd];}}class LanguageDescription{constructor(_0xab627,_0x29a650,_0x3f86ce,_0x368588,_0x217ba1,_0x332501=void 0x0){this['name']=_0xab627,this['alias']=_0x29a650,this['extensions']=_0x3f86ce,this['filename']=_0x368588,this['loadFunc']=_0x217ba1,this['support']=_0x332501,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x9c3815=>this['support']=_0x9c3815,_0x19eabe=>{throw this['loading']=null,_0x19eabe;}));}static['of'](_0x1df258){let {load:_0x3a1133,support:_0x3038a5}=_0x1df258;if(!_0x3a1133){if(!_0x3038a5)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x3a1133=()=>Promise['resolve'](_0x3038a5);}return new LanguageDescription(_0x1df258['name'],(_0x1df258['alias']||[])['concat'](_0x1df258['name'])['map'](_0x431f3e=>_0x431f3e['toLowerCase']()),_0x1df258['extensions']||[],_0x1df258['filename'],_0x3a1133,_0x3038a5);}static['matchFilename'](_0x4d43e6,_0x50b88e){for(let _0x294a88 of _0x4d43e6)if(_0x294a88['filename']&&_0x294a88['filename']['test'](_0x50b88e))return _0x294a88;let _0x4d3e57=/\.([^.]+)$/['exec'](_0x50b88e);if(_0x4d3e57){for(let _0x12868d of _0x4d43e6)if(_0x12868d['extensions']['indexOf'](_0x4d3e57[0x1])>-0x1)return _0x12868d;}return null;}static['matchLanguageName'](_0x433241,_0x18a7e2,_0x298917=!0x0){_0x18a7e2=_0x18a7e2['toLowerCase']();for(let _0x5a9592 of _0x433241)if(_0x5a9592['alias']['some'](_0x40e4e0=>_0x40e4e0==_0x18a7e2))return _0x5a9592;if(_0x298917){for(let _0x4b3cdd of _0x433241)for(let _0x39c86d of _0x4b3cdd['alias']){let _0x3dd8e5=_0x18a7e2['indexOf'](_0x39c86d);if(_0x3dd8e5>-0x1&&(_0x39c86d['length']>0x2||!/\w/['test'](_0x18a7e2[_0x3dd8e5-0x1])&&!/\w/['test'](_0x18a7e2[_0x3dd8e5+_0x39c86d['length']])))return _0x4b3cdd;}}return null;}}const rS=Facet['define'](),oS=Facet['define']({'combine':_0x5e7768=>{if(!_0x5e7768['length'])return'\x20\x20';let _0x3c5b46=_0x5e7768[0x0];if(!_0x3c5b46||/\S/['test'](_0x3c5b46)||Array['from'](_0x3c5b46)['some'](_0x2a3414=>_0x2a3414!=_0x3c5b46[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x5e7768[0x0]));return _0x3c5b46;}});function aS(_0x5da159){let _0x55fd3e=_0x5da159['facet'](oS);return 0x9==_0x55fd3e['charCodeAt'](0x0)?_0x5da159['tabSize']*_0x55fd3e['length']:_0x55fd3e['length'];}function cS(_0x383fdb,_0x1f3f03){let _0x3129d6='',_0x4b8520=_0x383fdb['tabSize'],_0x4981c9=_0x383fdb['facet'](oS)[0x0];if('\x09'==_0x4981c9){for(;_0x1f3f03>=_0x4b8520;)_0x3129d6+='\x09',_0x1f3f03-=_0x4b8520;_0x4981c9='\x20';}for(let _0x589650=0x0;_0x589650<_0x1f3f03;_0x589650++)_0x3129d6+=_0x4981c9;return _0x3129d6;}function lS(_0x186fe2,_0x5190bb){_0x186fe2 instanceof EditorState&&(_0x186fe2=new IndentContext(_0x186fe2));for(let _0x2b84e0 of _0x186fe2['state']['facet'](rS)){let _0x366c4a=_0x2b84e0(_0x186fe2,_0x5190bb);if(void 0x0!==_0x366c4a)return _0x366c4a;}let _0x11da8a=KI(_0x186fe2['state']);return _0x11da8a['length']>=_0x5190bb?function(_0x4cc1d3,_0x3a56dc,_0x3403f1){let _0x3fde8a=_0x3a56dc['resolveStack'](_0x3403f1),_0x23d7d4=_0x3a56dc['resolveInner'](_0x3403f1,-0x1)['resolve'](_0x3403f1,0x0)['enterUnfinishedNodesBefore'](_0x3403f1);if(_0x23d7d4!=_0x3fde8a['node']){let _0x19a7cf=[];for(let _0x8140a2=_0x23d7d4;_0x8140a2&&!(_0x8140a2['from']<_0x3fde8a['node']['from']||_0x8140a2['to']>_0x3fde8a['node']['to']||_0x8140a2['from']==_0x3fde8a['node']['from']&&_0x8140a2['type']==_0x3fde8a['node']['type']);_0x8140a2=_0x8140a2['parent'])_0x19a7cf['push'](_0x8140a2);for(let _0x2ebd99=_0x19a7cf['length']-0x1;_0x2ebd99>=0x0;_0x2ebd99--)_0x3fde8a={'node':_0x19a7cf[_0x2ebd99],'next':_0x3fde8a};}return uS(_0x3fde8a,_0x4cc1d3,_0x3403f1);}(_0x186fe2,_0x11da8a,_0x5190bb):null;}class IndentContext{constructor(_0x19cb12,_0x1310cd={}){this['state']=_0x19cb12,this['options']=_0x1310cd,this['unit']=aS(_0x19cb12);}['lineAt'](_0x63bb9e,_0x4e033f=0x1){let _0x4d291b=this['state']['doc']['lineAt'](_0x63bb9e),{simulateBreak:_0x3eab2b,simulateDoubleBreak:_0x1a1642}=this['options'];return null!=_0x3eab2b&&_0x3eab2b>=_0x4d291b['from']&&_0x3eab2b<=_0x4d291b['to']?_0x1a1642&&_0x3eab2b==_0x63bb9e?{'text':'','from':_0x63bb9e}:(_0x4e033f<0x0?_0x3eab2b<_0x63bb9e:_0x3eab2b<=_0x63bb9e)?{'text':_0x4d291b['text']['slice'](_0x3eab2b-_0x4d291b['from']),'from':_0x3eab2b}:{'text':_0x4d291b['text']['slice'](0x0,_0x3eab2b-_0x4d291b['from']),'from':_0x4d291b['from']}:_0x4d291b;}['textAfterPos'](_0x41cc9e,_0x34725a=0x1){if(this['options']['simulateDoubleBreak']&&_0x41cc9e==this['options']['simulateBreak'])return'';let {text:_0x286629,from:_0x41c641}=this['lineAt'](_0x41cc9e,_0x34725a);return _0x286629['slice'](_0x41cc9e-_0x41c641,Math['min'](_0x286629['length'],_0x41cc9e+0x64-_0x41c641));}['column'](_0x586b42,_0x3dd468=0x1){let {text:_0x5dfef8,from:_0x592d6b}=this['lineAt'](_0x586b42,_0x3dd468),_0x1a2290=this['countColumn'](_0x5dfef8,_0x586b42-_0x592d6b),_0x5eb0ed=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x592d6b):-0x1;return _0x5eb0ed>-0x1&&(_0x1a2290+=_0x5eb0ed-this['countColumn'](_0x5dfef8,_0x5dfef8['search'](/\S|$/))),_0x1a2290;}['countColumn'](_0x1b8ad3,_0x2e039f=_0x1b8ad3['length']){return m_(_0x1b8ad3,this['state']['tabSize'],_0x2e039f);}['lineIndent'](_0x19281b,_0x3e84cd=0x1){let {text:_0x2a2966,from:_0x3c121a}=this['lineAt'](_0x19281b,_0x3e84cd),_0x42a97d=this['options']['overrideIndentation'];if(_0x42a97d){let _0x493ce7=_0x42a97d(_0x3c121a);if(_0x493ce7>-0x1)return _0x493ce7;}return this['countColumn'](_0x2a2966,_0x2a2966['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const hS=new NodeProp();function uS(_0x24049f,_0x15c3b8,_0x5c0021){for(let _0x33a746=_0x24049f;_0x33a746;_0x33a746=_0x33a746['next']){let _0x4d4be6=dS(_0x33a746['node']);if(_0x4d4be6)return _0x4d4be6(TreeIndentContext['create'](_0x15c3b8,_0x5c0021,_0x33a746));}return 0x0;}function dS(_0x450ee7){let _0x1e0ef2=_0x450ee7['type']['prop'](hS);if(_0x1e0ef2)return _0x1e0ef2;let _0x359d3f,_0xee8f1d=_0x450ee7['firstChild'];if(_0xee8f1d&&(_0x359d3f=_0xee8f1d['type']['prop'](NodeProp['closedBy']))){let _0x285a65=_0x450ee7['lastChild'],_0x4fe495=_0x285a65&&_0x359d3f['indexOf'](_0x285a65['name'])>-0x1;return _0x4b2944=>pS(_0x4b2944,!0x0,0x1,void 0x0,_0x4fe495&&!function(_0x43ca38){return _0x43ca38['pos']==_0x43ca38['options']['simulateBreak']&&_0x43ca38['options']['simulateDoubleBreak'];}(_0x4b2944)?_0x285a65['from']:void 0x0);}return null==_0x450ee7['parent']?fS:null;}function fS(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0xc97f44,_0x565741,_0x4cf9e3){super(_0xc97f44['state'],_0xc97f44['options']),this['base']=_0xc97f44,this['pos']=_0x565741,this['context']=_0x4cf9e3;}get['node'](){return this['context']['node'];}static['create'](_0x3f2122,_0x2fb4c4,_0x189ead){return new TreeIndentContext(_0x3f2122,_0x2fb4c4,_0x189ead);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x33b57b){let _0x5c3885=this['state']['doc']['lineAt'](_0x33b57b['from']);for(;;){let _0x50a67a=_0x33b57b['resolve'](_0x5c3885['from']);for(;_0x50a67a['parent']&&_0x50a67a['parent']['from']==_0x50a67a['from'];)_0x50a67a=_0x50a67a['parent'];if(mS(_0x50a67a,_0x33b57b))break;_0x5c3885=this['state']['doc']['lineAt'](_0x50a67a['from']);}return this['lineIndent'](_0x5c3885['from']);}['continue'](){return uS(this['context']['next'],this['base'],this['pos']);}}function mS(_0x57393a,_0x47452a){for(let _0xfbfcc7=_0x47452a;_0xfbfcc7;_0xfbfcc7=_0xfbfcc7['parent'])if(_0x57393a==_0xfbfcc7)return!0x0;return!0x1;}function gS({closing:_0x3cf8d8,align:_0x429bc5=!0x0,units:_0x38137c=0x1}){return _0xcecd5e=>pS(_0xcecd5e,_0x429bc5,_0x38137c,_0x3cf8d8);}function pS(_0x4128ec,_0x549599,_0x174068,_0x746d78,_0x5577a5){let _0x2c1291=_0x4128ec['textAfter'],_0x5777f4=_0x2c1291['match'](/^\s*/)[0x0]['length'],_0x22fc6b=_0x746d78&&_0x2c1291['slice'](_0x5777f4,_0x5777f4+_0x746d78['length'])==_0x746d78||_0x5577a5==_0x4128ec['pos']+_0x5777f4,_0x2d9711=_0x549599?function(_0x4521e1){let _0x3ff3dc=_0x4521e1['node'],_0x3833c5=_0x3ff3dc['childAfter'](_0x3ff3dc['from']),_0x13f329=_0x3ff3dc['lastChild'];if(!_0x3833c5)return null;let _0x25f58f=_0x4521e1['options']['simulateBreak'],_0x2eacff=_0x4521e1['state']['doc']['lineAt'](_0x3833c5['from']),_0x4d7ddf=null==_0x25f58f||_0x25f58f<=_0x2eacff['from']?_0x2eacff['to']:Math['min'](_0x2eacff['to'],_0x25f58f);for(let _0x2e1ab4=_0x3833c5['to'];;){let _0x57a2ab=_0x3ff3dc['childAfter'](_0x2e1ab4);if(!_0x57a2ab||_0x57a2ab==_0x13f329)return null;if(!_0x57a2ab['type']['isSkipped']){if(_0x57a2ab['from']>=_0x4d7ddf)return null;let _0x2397e8=/^ */['exec'](_0x2eacff['text']['slice'](_0x3833c5['to']-_0x2eacff['from']))[0x0]['length'];return{'from':_0x3833c5['from'],'to':_0x3833c5['to']+_0x2397e8};}_0x2e1ab4=_0x57a2ab['to'];}}(_0x4128ec):null;return _0x2d9711?_0x22fc6b?_0x4128ec['column'](_0x2d9711['from']):_0x4128ec['column'](_0x2d9711['to']):_0x4128ec['baseIndent']+(_0x22fc6b?0x0:_0x4128ec['unit']*_0x174068);}function OS({except:_0x2a5fff,units:_0x38d947=0x1}={}){return _0x50f8d7=>{let _0x12ce08=_0x2a5fff&&_0x2a5fff['test'](_0x50f8d7['textAfter']);return _0x50f8d7['baseIndent']+(_0x12ce08?0x0:_0x38d947*_0x50f8d7['unit']);};}function wS(){return EditorState['transactionFilter']['of'](_0x1d937e=>{if(!_0x1d937e['docChanged']||!_0x1d937e['isUserEvent']('input.type')&&!_0x1d937e['isUserEvent']('input.complete'))return _0x1d937e;let _0x4796f2=_0x1d937e['startState']['languageDataAt']('indentOnInput',_0x1d937e['startState']['selection']['main']['head']);if(!_0x4796f2['length'])return _0x1d937e;let _0x56e69d=_0x1d937e['newDoc'],{head:_0xc821fc}=_0x1d937e['newSelection']['main'],_0x40bd85=_0x56e69d['lineAt'](_0xc821fc);if(_0xc821fc>_0x40bd85['from']+0xc8)return _0x1d937e;let _0x40711a=_0x56e69d['sliceString'](_0x40bd85['from'],_0xc821fc);if(!_0x4796f2['some'](_0x3ae4ac=>_0x3ae4ac['test'](_0x40711a)))return _0x1d937e;let {state:_0x181ce6}=_0x1d937e,_0x5c76d4=-0x1,_0x220801=[];for(let {head:_0xf890a1}of _0x181ce6['selection']['ranges']){let _0x58fcae=_0x181ce6['doc']['lineAt'](_0xf890a1);if(_0x58fcae['from']==_0x5c76d4)continue;_0x5c76d4=_0x58fcae['from'];let _0xb3a03b=lS(_0x181ce6,_0x58fcae['from']);if(null==_0xb3a03b)continue;let _0x575a4d=/^\s*/['exec'](_0x58fcae['text'])[0x0],_0x5c3581=cS(_0x181ce6,_0xb3a03b);_0x575a4d!=_0x5c3581&&_0x220801['push']({'from':_0x58fcae['from'],'to':_0x58fcae['from']+_0x575a4d['length'],'insert':_0x5c3581});}return _0x220801['length']?[_0x1d937e,{'changes':_0x220801,'sequential':!0x0}]:_0x1d937e;});}const bS=Facet['define'](),yS=new NodeProp();function _S(_0x4863e7){let _0x51999f=_0x4863e7['firstChild'],_0x462358=_0x4863e7['lastChild'];return _0x51999f&&_0x51999f['to']<_0x462358['from']?{'from':_0x51999f['to'],'to':_0x462358['type']['isError']?_0x4863e7['to']:_0x462358['from']}:null;}function vS(_0x482431){let _0x160ec4=_0x482431['lastChild'];return _0x160ec4&&_0x160ec4['to']==_0x482431['to']&&_0x160ec4['type']['isError'];}function TS(_0xb9545e,_0x57e086,_0x203121){for(let _0x2cf630 of _0xb9545e['facet'](bS)){let _0x5a06dd=_0x2cf630(_0xb9545e,_0x57e086,_0x203121);if(_0x5a06dd)return _0x5a06dd;}return function(_0x256dc8,_0x660017,_0x2d97b5){let _0x39b631=KI(_0x256dc8);if(_0x39b631['length']<_0x2d97b5)return null;let _0x36c07b=null;for(let _0x9ba8c5=_0x39b631['resolveStack'](_0x2d97b5,0x1);_0x9ba8c5;_0x9ba8c5=_0x9ba8c5['next']){let _0x29102d=_0x9ba8c5['node'];if(_0x29102d['to']<=_0x2d97b5||_0x29102d['from']>_0x2d97b5)continue;if(_0x36c07b&&_0x29102d['from']<_0x660017)break;let _0x2abfef=_0x29102d['type']['prop'](yS);if(_0x2abfef&&(_0x29102d['to']<_0x39b631['length']-0x32||_0x39b631['length']==_0x256dc8['doc']['length']||!vS(_0x29102d))){let _0x3327ed=_0x2abfef(_0x29102d,_0x256dc8);_0x3327ed&&_0x3327ed['from']<=_0x2d97b5&&_0x3327ed['from']>=_0x660017&&_0x3327ed['to']>_0x2d97b5&&(_0x36c07b=_0x3327ed);}}return _0x36c07b;}(_0xb9545e,_0x57e086,_0x203121);}function ES(_0x261cb3,_0x2a3b6e){let _0x3f0992=_0x2a3b6e['mapPos'](_0x261cb3['from'],0x1),_0x187c12=_0x2a3b6e['mapPos'](_0x261cb3['to'],-0x1);return _0x3f0992>=_0x187c12?void 0x0:{'from':_0x3f0992,'to':_0x187c12};}const AS=StateEffect['define']({'map':ES}),IS=StateEffect['define']({'map':ES});function SS(_0x3e5c6b){let _0x13c139=[];for(let {head:_0x3f45f5}of _0x3e5c6b['state']['selection']['ranges'])_0x13c139['some'](_0x253ec9=>_0x253ec9['from']<=_0x3f45f5&&_0x253ec9['to']>=_0x3f45f5)||_0x13c139['push'](_0x3e5c6b['lineBlockAt'](_0x3f45f5));return _0x13c139;}const CS=StateField['define']({'create':()=>Decoration['none'],'update'(_0x3e410c,_0xce1d2e){_0xce1d2e['isUserEvent']('delete')&&_0xce1d2e['changes']['iterChangedRanges']((_0x5c5208,_0x1d641f)=>_0x3e410c=kS(_0x3e410c,_0x5c5208,_0x1d641f)),_0x3e410c=_0x3e410c['map'](_0xce1d2e['changes']);for(let _0x18db68 of _0xce1d2e['effects'])if(_0x18db68['is'](AS)&&!RS(_0x3e410c,_0x18db68['value']['from'],_0x18db68['value']['to'])){let {preparePlaceholder:_0x2675ee}=_0xce1d2e['state']['facet'](DS),_0xddc5ad=_0x2675ee?Decoration['replace']({'widget':new PreparedFoldWidget(_0x2675ee(_0xce1d2e['state'],_0x18db68['value']))}):VS;_0x3e410c=_0x3e410c['update']({'add':[_0xddc5ad['range'](_0x18db68['value']['from'],_0x18db68['value']['to'])]});}else _0x18db68['is'](IS)&&(_0x3e410c=_0x3e410c['update']({'filter':(_0x2c6667,_0xe9dac5)=>_0x18db68['value']['from']!=_0x2c6667||_0x18db68['value']['to']!=_0xe9dac5,'filterFrom':_0x18db68['value']['from'],'filterTo':_0x18db68['value']['to']}));return _0xce1d2e['selection']&&(_0x3e410c=kS(_0x3e410c,_0xce1d2e['selection']['main']['head'])),_0x3e410c;},'provide':_0x445066=>EditorView['decorations']['from'](_0x445066),'toJSON'(_0x4c935a,_0xfb81ce){let _0x3ca535=[];return _0x4c935a['between'](0x0,_0xfb81ce['doc']['length'],(_0x909594,_0x58a67e)=>{_0x3ca535['push'](_0x909594,_0x58a67e);}),_0x3ca535;},'fromJSON'(_0x2a98cf){if(!Array['isArray'](_0x2a98cf)||_0x2a98cf['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x3d87ff=[];for(let _0x5f2371=0x0;_0x5f2371<_0x2a98cf['length'];){let _0x15b02d=_0x2a98cf[_0x5f2371++],_0x7570cd=_0x2a98cf[_0x5f2371++];if('number'!=typeof _0x15b02d||'number'!=typeof _0x7570cd)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x3d87ff['push'](VS['range'](_0x15b02d,_0x7570cd));}return Decoration['set'](_0x3d87ff,!0x0);}});function kS(_0x3e3196,_0x3c3c34,_0x5f3376=_0x3c3c34){let _0x423148=!0x1;return _0x3e3196['between'](_0x3c3c34,_0x5f3376,(_0x5f2e9b,_0x2a3a74)=>{_0x5f2e9b<_0x5f3376&&_0x2a3a74>_0x3c3c34&&(_0x423148=!0x0);}),_0x423148?_0x3e3196['update']({'filterFrom':_0x3c3c34,'filterTo':_0x5f3376,'filter':(_0x2e2907,_0x36a47c)=>_0x2e2907>=_0x5f3376||_0x36a47c<=_0x3c3c34}):_0x3e3196;}function xS(_0x106d58,_0x473763,_0xf2d864){var _0x451229;let _0x5645ac=null;return null===(_0x451229=_0x106d58['field'](CS,!0x1))||void 0x0===_0x451229||_0x451229['between'](_0x473763,_0xf2d864,(_0x19f938,_0x1bc32b)=>{(!_0x5645ac||_0x5645ac['from']>_0x19f938)&&(_0x5645ac={'from':_0x19f938,'to':_0x1bc32b});}),_0x5645ac;}function RS(_0x350326,_0x427088,_0x37a83d){let _0x3e9f63=!0x1;return _0x350326['between'](_0x427088,_0x427088,(_0x4bcb02,_0x5f3f13)=>{_0x4bcb02==_0x427088&&_0x5f3f13==_0x37a83d&&(_0x3e9f63=!0x0);}),_0x3e9f63;}function PS(_0x3e200d,_0x5ef30a){return _0x3e200d['field'](CS,!0x1)?_0x5ef30a:_0x5ef30a['concat'](StateEffect['appendConfig']['of'](QS()));}function MS(_0xdfb507,_0x233fda,_0x44d366=!0x0){let _0x4717d0=_0xdfb507['state']['doc']['lineAt'](_0x233fda['from'])['number'],_0x617e3e=_0xdfb507['state']['doc']['lineAt'](_0x233fda['to'])['number'];return EditorView['announce']['of'](_0xdfb507['state']['phrase'](_0x44d366?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x4717d0+'\x20'+_0xdfb507['state']['phrase']('to')+'\x20'+_0x617e3e+'.');}const NS=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0xcb0822=>{for(let _0x4a214b of SS(_0xcb0822)){let _0x270a43=TS(_0xcb0822['state'],_0x4a214b['from'],_0x4a214b['to']);if(_0x270a43)return _0xcb0822['dispatch']({'effects':PS(_0xcb0822['state'],[AS['of'](_0x270a43),MS(_0xcb0822,_0x270a43)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x2638ff=>{if(!_0x2638ff['state']['field'](CS,!0x1))return!0x1;let _0x548b24=[];for(let _0x4e30b0 of SS(_0x2638ff)){let _0x4221c8=xS(_0x2638ff['state'],_0x4e30b0['from'],_0x4e30b0['to']);_0x4221c8&&_0x548b24['push'](IS['of'](_0x4221c8),MS(_0x2638ff,_0x4221c8,!0x1));}return _0x548b24['length']&&_0x2638ff['dispatch']({'effects':_0x548b24}),_0x548b24['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x18d24a=>{let {state:_0x2583a2}=_0x18d24a,_0x1b346c=[];for(let _0x26379f=0x0;_0x26379f<_0x2583a2['doc']['length'];){let _0x5c348c=_0x18d24a['lineBlockAt'](_0x26379f),_0x25c6ff=TS(_0x2583a2,_0x5c348c['from'],_0x5c348c['to']);_0x25c6ff&&_0x1b346c['push'](AS['of'](_0x25c6ff)),_0x26379f=(_0x25c6ff?_0x18d24a['lineBlockAt'](_0x25c6ff['to']):_0x5c348c)['to']+0x1;}return _0x1b346c['length']&&_0x18d24a['dispatch']({'effects':PS(_0x18d24a['state'],_0x1b346c)}),!!_0x1b346c['length'];}},{'key':'Ctrl-Alt-]','run':_0x2827ac=>{let _0x38c27d=_0x2827ac['state']['field'](CS,!0x1);if(!_0x38c27d||!_0x38c27d['size'])return!0x1;let _0x53cb0d=[];return _0x38c27d['between'](0x0,_0x2827ac['state']['doc']['length'],(_0x186a77,_0x6f331d)=>{_0x53cb0d['push'](IS['of']({'from':_0x186a77,'to':_0x6f331d}));}),_0x2827ac['dispatch']({'effects':_0x53cb0d}),!0x0;}}],LS={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},DS=Facet['define']({'combine':_0x25de1f=>n_(_0x25de1f,LS)});function QS(_0x56a96d){return[CS,FS];}function $S(_0x340ea3,_0x1aedee){let {state:_0x52d589}=_0x340ea3,_0x416423=_0x52d589['facet'](DS),_0x262e7d=_0x21c845=>{let _0x14457f=_0x340ea3['lineBlockAt'](_0x340ea3['posAtDOM'](_0x21c845['target'])),_0x174875=xS(_0x340ea3['state'],_0x14457f['from'],_0x14457f['to']);_0x174875&&_0x340ea3['dispatch']({'effects':IS['of'](_0x174875)}),_0x21c845['preventDefault']();};if(_0x416423['placeholderDOM'])return _0x416423['placeholderDOM'](_0x340ea3,_0x262e7d,_0x1aedee);let _0x4f1ae6=document['createElement']('span');return _0x4f1ae6['textContent']=_0x416423['placeholderText'],_0x4f1ae6['setAttribute']('aria-label',_0x52d589['phrase']('folded\x20code')),_0x4f1ae6['title']=_0x52d589['phrase']('unfold'),_0x4f1ae6['className']='cm-foldPlaceholder',_0x4f1ae6['onclick']=_0x262e7d,_0x4f1ae6;}const VS=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x4cfdf6){return $S(_0x4cfdf6,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x28d75a){super(),this['value']=_0x28d75a;}['eq'](_0x47c49f){return this['value']==_0x47c49f['value'];}['toDOM'](_0x58503c){return $S(_0x58503c,this['value']);}}const US={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class FoldMarker extends GutterMarker{constructor(_0x13c3e7,_0x2788dc){super(),this['config']=_0x13c3e7,this['open']=_0x2788dc;}['eq'](_0x4b53db){return this['config']==_0x4b53db['config']&&this['open']==_0x4b53db['open'];}['toDOM'](_0x4401f0){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x434ea4=document['createElement']('span');return _0x434ea4['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x434ea4['title']=_0x4401f0['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x434ea4;}}function BS(_0x50f871={}){let _0x52bf74={...US,..._0x50f871},_0x1a4c6f=new FoldMarker(_0x52bf74,!0x0),_0xe9ae00=new FoldMarker(_0x52bf74,!0x1),_0x2b7ea4=ViewPlugin['fromClass'](class{constructor(_0x1cfe28){this['from']=_0x1cfe28['viewport']['from'],this['markers']=this['buildMarkers'](_0x1cfe28);}['update'](_0x492a34){(_0x492a34['docChanged']||_0x492a34['viewportChanged']||_0x492a34['startState']['facet'](nS)!=_0x492a34['state']['facet'](nS)||_0x492a34['startState']['field'](CS,!0x1)!=_0x492a34['state']['field'](CS,!0x1)||KI(_0x492a34['startState'])!=KI(_0x492a34['state'])||_0x52bf74['foldingChanged'](_0x492a34))&&(this['markers']=this['buildMarkers'](_0x492a34['view']));}['buildMarkers'](_0xb16650){let _0x25f973=new RangeSetBuilder();for(let _0x2b9f3f of _0xb16650['viewportLineBlocks']){let _0x4b76ce=xS(_0xb16650['state'],_0x2b9f3f['from'],_0x2b9f3f['to'])?_0xe9ae00:TS(_0xb16650['state'],_0x2b9f3f['from'],_0x2b9f3f['to'])?_0x1a4c6f:null;_0x4b76ce&&_0x25f973['add'](_0x2b9f3f['from'],_0x2b9f3f['from'],_0x4b76ce);}return _0x25f973['finish']();}}),{domEventHandlers:_0x33e028}=_0x52bf74;return[_0x2b7ea4,VA({'class':'cm-foldGutter','markers'(_0x38d51c){var _0x5965c4;return(null===(_0x5965c4=_0x38d51c['plugin'](_0x2b7ea4))||void 0x0===_0x5965c4?void 0x0:_0x5965c4['markers'])||RangeSet['empty'];},'initialSpacer':()=>new FoldMarker(_0x52bf74,!0x1),'domEventHandlers':{..._0x33e028,'click':(_0x29937d,_0x4dded1,_0x330dcc)=>{if(_0x33e028['click']&&_0x33e028['click'](_0x29937d,_0x4dded1,_0x330dcc))return!0x0;let _0x503e5e=xS(_0x29937d['state'],_0x4dded1['from'],_0x4dded1['to']);if(_0x503e5e)return _0x29937d['dispatch']({'effects':IS['of'](_0x503e5e)}),!0x0;let _0xdc406e=TS(_0x29937d['state'],_0x4dded1['from'],_0x4dded1['to']);return!!_0xdc406e&&(_0x29937d['dispatch']({'effects':AS['of'](_0xdc406e)}),!0x0);}}}),QS()];}const FS=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(_0x664226,_0x311a47){let _0x52d8cf;function _0x49d883(_0x20350c){let _0x4465aa=StyleModule['newName']();return(_0x52d8cf||(_0x52d8cf=Object['create'](null)))['.'+_0x4465aa]=_0x20350c,_0x4465aa;}this['specs']=_0x664226;const _0x1589f8='string'==typeof _0x311a47['all']?_0x311a47['all']:_0x311a47['all']?_0x49d883(_0x311a47['all']):void 0x0,_0x60cc35=_0x311a47['scope'];this['scope']=_0x60cc35 instanceof Language?_0x2f8f27=>_0x2f8f27['prop'](qI)==_0x60cc35['data']:_0x60cc35?_0x3d0eaf=>_0x3d0eaf==_0x60cc35:void 0x0,this['style']=xI(_0x664226['map'](_0x2fc49b=>({'tag':_0x2fc49b['tag'],'class':_0x2fc49b['class']||_0x49d883(Object['assign']({},_0x2fc49b,{'tag':null}))})),{'all':_0x1589f8})['style'],this['module']=_0x52d8cf?new StyleModule(_0x52d8cf):null,this['themeType']=_0x311a47['themeType'];}static['define'](_0x598c8a,_0x4666ec){return new HighlightStyle(_0x598c8a,_0x4666ec||{});}}const jS=Facet['define'](),HS=Facet['define']({'combine':_0x2331e6=>_0x2331e6['length']?[_0x2331e6[0x0]]:null});function GS(_0x3d9bda){let _0x129c52=_0x3d9bda['facet'](jS);return _0x129c52['length']?_0x129c52:_0x3d9bda['facet'](HS);}function ZS(_0x5995df,_0x172ee4){let _0x2cd4ab,_0x133186=[XS];return _0x5995df instanceof HighlightStyle&&(_0x5995df['module']&&_0x133186['push'](EditorView['styleModule']['of'](_0x5995df['module'])),_0x2cd4ab=_0x5995df['themeType']),(null==_0x172ee4?void 0x0:_0x172ee4['fallback'])?_0x133186['push'](HS['of'](_0x5995df)):_0x2cd4ab?_0x133186['push'](jS['computeN']([EditorView['darkTheme']],_0x2cd8ac=>_0x2cd8ac['facet'](EditorView['darkTheme'])==('dark'==_0x2cd4ab)?[_0x5995df]:[])):_0x133186['push'](jS['of'](_0x5995df)),_0x133186;}class TreeHighlighter{constructor(_0x467fa9){this['markCache']=Object['create'](null),this['tree']=KI(_0x467fa9['state']),this['decorations']=this['buildDeco'](_0x467fa9,GS(_0x467fa9['state'])),this['decoratedTo']=_0x467fa9['viewport']['to'];}['update'](_0x5f380c){let _0x485819=KI(_0x5f380c['state']),_0x754fc4=GS(_0x5f380c['state']),_0x1fdfd8=_0x754fc4!=GS(_0x5f380c['startState']),{viewport:_0x215120}=_0x5f380c['view'],_0x1b2dd6=_0x5f380c['changes']['mapPos'](this['decoratedTo'],0x1);_0x485819['length']<_0x215120['to']&&!_0x1fdfd8&&_0x485819['type']==this['tree']['type']&&_0x1b2dd6>=_0x215120['to']?(this['decorations']=this['decorations']['map'](_0x5f380c['changes']),this['decoratedTo']=_0x1b2dd6):(_0x485819!=this['tree']||_0x5f380c['viewportChanged']||_0x1fdfd8)&&(this['tree']=_0x485819,this['decorations']=this['buildDeco'](_0x5f380c['view'],_0x754fc4),this['decoratedTo']=_0x215120['to']);}['buildDeco'](_0x3ed8ed,_0x564272){if(!_0x564272||!this['tree']['length'])return Decoration['none'];let _0x336f27=new RangeSetBuilder();for(let {from:_0x599bc2,to:_0x30cc2a}of _0x3ed8ed['visibleRanges'])RI(this['tree'],_0x564272,(_0x76f558,_0x9a6f5a,_0x53ec3e)=>{_0x336f27['add'](_0x76f558,_0x9a6f5a,this['markCache'][_0x53ec3e]||(this['markCache'][_0x53ec3e]=Decoration['mark']({'class':_0x53ec3e})));},_0x599bc2,_0x30cc2a);return _0x336f27['finish']();}}const XS=$y['high'](ViewPlugin['fromClass'](TreeHighlighter,{'decorations':_0x22d92e=>_0x22d92e['decorations']})),qS=HighlightStyle['define']([{'tag':ZI['meta'],'color':'#404740'},{'tag':ZI['link'],'textDecoration':'underline'},{'tag':ZI['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':ZI['emphasis'],'fontStyle':'italic'},{'tag':ZI['strong'],'fontWeight':'bold'},{'tag':ZI['strikethrough'],'textDecoration':'line-through'},{'tag':ZI['keyword'],'color':'#708'},{'tag':[ZI['atom'],ZI['bool'],ZI['url'],ZI['contentSeparator'],ZI['labelName']],'color':'#219'},{'tag':[ZI['literal'],ZI['inserted']],'color':'#164'},{'tag':[ZI['string'],ZI['deleted']],'color':'#a11'},{'tag':[ZI['regexp'],ZI['escape'],ZI['special'](ZI['string'])],'color':'#e40'},{'tag':ZI['definition'](ZI['variableName']),'color':'#00f'},{'tag':ZI['local'](ZI['variableName']),'color':'#30a'},{'tag':[ZI['typeName'],ZI['namespace']],'color':'#085'},{'tag':ZI['className'],'color':'#167'},{'tag':[ZI['special'](ZI['variableName']),ZI['macroName']],'color':'#256'},{'tag':ZI['definition'](ZI['propertyName']),'color':'#00c'},{'tag':ZI['comment'],'color':'#940'},{'tag':ZI['invalid'],'color':'#f00'}]),zS=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),YS='()[]{}',KS=Facet['define']({'combine':_0x1f6f9e=>n_(_0x1f6f9e,{'afterCursor':!0x0,'brackets':YS,'maxScanDistance':0x2710,'renderMatch':eC})}),JS=Decoration['mark']({'class':'cm-matchingBracket'}),tC=Decoration['mark']({'class':'cm-nonmatchingBracket'});function eC(_0x164d8a){let _0x5b0de1=[],_0x2e59e0=_0x164d8a['matched']?JS:tC;return _0x5b0de1['push'](_0x2e59e0['range'](_0x164d8a['start']['from'],_0x164d8a['start']['to'])),_0x164d8a['end']&&_0x5b0de1['push'](_0x2e59e0['range'](_0x164d8a['end']['from'],_0x164d8a['end']['to'])),_0x5b0de1;}const iC=StateField['define']({'create':()=>Decoration['none'],'update'(_0x5e9382,_0x5c1a37){if(!_0x5c1a37['docChanged']&&!_0x5c1a37['selection'])return _0x5e9382;let _0x2c0df9=[],_0x19c182=_0x5c1a37['state']['facet'](KS);for(let _0x541778 of _0x5c1a37['state']['selection']['ranges']){if(!_0x541778['empty'])continue;let _0x5dea02=cC(_0x5c1a37['state'],_0x541778['head'],-0x1,_0x19c182)||_0x541778['head']>0x0&&cC(_0x5c1a37['state'],_0x541778['head']-0x1,0x1,_0x19c182)||_0x19c182['afterCursor']&&(cC(_0x5c1a37['state'],_0x541778['head'],0x1,_0x19c182)||_0x541778['head']<_0x5c1a37['state']['doc']['length']&&cC(_0x5c1a37['state'],_0x541778['head']+0x1,-0x1,_0x19c182));_0x5dea02&&(_0x2c0df9=_0x2c0df9['concat'](_0x19c182['renderMatch'](_0x5dea02,_0x5c1a37['state'])));}return Decoration['set'](_0x2c0df9,!0x0);},'provide':_0x353697=>EditorView['decorations']['from'](_0x353697)}),sC=[iC,zS];function nC(_0x1daaec={}){return[KS['of'](_0x1daaec),sC];}const rC=new NodeProp();function oC(_0xb4ab01,_0x44d610,_0x53e181){let _0x581ff3=_0xb4ab01['prop'](_0x44d610<0x0?NodeProp['openedBy']:NodeProp['closedBy']);if(_0x581ff3)return _0x581ff3;if(0x1==_0xb4ab01['name']['length']){let _0x212ff8=_0x53e181['indexOf'](_0xb4ab01['name']);if(_0x212ff8>-0x1&&_0x212ff8%0x2==(_0x44d610<0x0?0x1:0x0))return[_0x53e181[_0x212ff8+_0x44d610]];}return null;}function aC(_0x3c8e1b){let _0x8a47c3=_0x3c8e1b['type']['prop'](rC);return _0x8a47c3?_0x8a47c3(_0x3c8e1b['node']):_0x3c8e1b;}function cC(_0x1c9416,_0x55a3e1,_0x25e544,_0x525cc6={}){let _0x50ac11=_0x525cc6['maxScanDistance']||0x2710,_0xd7de50=_0x525cc6['brackets']||YS,_0xe1d8eb=KI(_0x1c9416),_0x82e74f=_0xe1d8eb['resolveInner'](_0x55a3e1,_0x25e544);for(let _0x343f6e=_0x82e74f;_0x343f6e;_0x343f6e=_0x343f6e['parent']){let _0x2e4e39=oC(_0x343f6e['type'],_0x25e544,_0xd7de50);if(_0x2e4e39&&_0x343f6e['from']<_0x343f6e['to']){let _0x5979ea=aC(_0x343f6e);if(_0x5979ea&&(_0x25e544>0x0?_0x55a3e1>=_0x5979ea['from']&&_0x55a3e1<_0x5979ea['to']:_0x55a3e1>_0x5979ea['from']&&_0x55a3e1<=_0x5979ea['to']))return lC(_0x1c9416,_0x55a3e1,_0x25e544,_0x343f6e,_0x5979ea,_0x2e4e39,_0xd7de50);}}return function(_0x5cd938,_0x5d370d,_0x22013c,_0x335819,_0x2b13a3,_0x5ccf4a,_0x1ef66){let _0x5db212=_0x22013c<0x0?_0x5cd938['sliceDoc'](_0x5d370d-0x1,_0x5d370d):_0x5cd938['sliceDoc'](_0x5d370d,_0x5d370d+0x1),_0x1eb7c5=_0x1ef66['indexOf'](_0x5db212);if(_0x1eb7c5<0x0||_0x1eb7c5%0x2==0x0!=_0x22013c>0x0)return null;let _0x2c1c0e={'from':_0x22013c<0x0?_0x5d370d-0x1:_0x5d370d,'to':_0x22013c>0x0?_0x5d370d+0x1:_0x5d370d},_0xe42439=_0x5cd938['doc']['iterRange'](_0x5d370d,_0x22013c>0x0?_0x5cd938['doc']['length']:0x0),_0x2dd503=0x0;for(let _0x19453b=0x0;!_0xe42439['next']()['done']&&_0x19453b<=_0x5ccf4a;){let _0x3cbf47=_0xe42439['value'];_0x22013c<0x0&&(_0x19453b+=_0x3cbf47['length']);let _0x5e4a60=_0x5d370d+_0x19453b*_0x22013c;for(let _0x8a7c59=_0x22013c>0x0?0x0:_0x3cbf47['length']-0x1,_0x1d0d70=_0x22013c>0x0?_0x3cbf47['length']:-0x1;_0x8a7c59!=_0x1d0d70;_0x8a7c59+=_0x22013c){let _0x503136=_0x1ef66['indexOf'](_0x3cbf47[_0x8a7c59]);if(!(_0x503136<0x0||_0x335819['resolveInner'](_0x5e4a60+_0x8a7c59,0x1)['type']!=_0x2b13a3)){if(_0x503136%0x2==0x0==_0x22013c>0x0)_0x2dd503++;else{if(0x1==_0x2dd503)return{'start':_0x2c1c0e,'end':{'from':_0x5e4a60+_0x8a7c59,'to':_0x5e4a60+_0x8a7c59+0x1},'matched':_0x503136>>0x1==_0x1eb7c5>>0x1};_0x2dd503--;}}}_0x22013c>0x0&&(_0x19453b+=_0x3cbf47['length']);}return _0xe42439['done']?{'start':_0x2c1c0e,'matched':!0x1}:null;}(_0x1c9416,_0x55a3e1,_0x25e544,_0xe1d8eb,_0x82e74f['type'],_0x50ac11,_0xd7de50);}function lC(_0x85c633,_0x5f5462,_0x69a0b1,_0x1322a5,_0xe72bc7,_0x4b961a,_0x2523a4){let _0xe5bf65=_0x1322a5['parent'],_0x3ccf5f={'from':_0xe72bc7['from'],'to':_0xe72bc7['to']},_0x2a623d=0x0,_0x3f383c=null==_0xe5bf65?void 0x0:_0xe5bf65['cursor']();if(_0x3f383c&&(_0x69a0b1<0x0?_0x3f383c['childBefore'](_0x1322a5['from']):_0x3f383c['childAfter'](_0x1322a5['to'])))do{if(_0x69a0b1<0x0?_0x3f383c['to']<=_0x1322a5['from']:_0x3f383c['from']>=_0x1322a5['to']){if(0x0==_0x2a623d&&_0x4b961a['indexOf'](_0x3f383c['type']['name'])>-0x1&&_0x3f383c['from']<_0x3f383c['to']){let _0x345774=aC(_0x3f383c);return{'start':_0x3ccf5f,'end':_0x345774?{'from':_0x345774['from'],'to':_0x345774['to']}:void 0x0,'matched':!0x0};}if(oC(_0x3f383c['type'],_0x69a0b1,_0x2523a4))_0x2a623d++;else{if(oC(_0x3f383c['type'],-_0x69a0b1,_0x2523a4)){if(0x0==_0x2a623d){let _0x4da1f8=aC(_0x3f383c);return{'start':_0x3ccf5f,'end':_0x4da1f8&&_0x4da1f8['from']<_0x4da1f8['to']?{'from':_0x4da1f8['from'],'to':_0x4da1f8['to']}:void 0x0,'matched':!0x1};}_0x2a623d--;}}}}while(_0x69a0b1<0x0?_0x3f383c['prevSibling']():_0x3f383c['nextSibling']());return{'start':_0x3ccf5f,'matched':!0x1};}const hC=Object['create'](null),uC=[NodeType['none']],dC=[],fC=Object['create'](null),mC=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']])mC[e]=pC(hC,i);function gC(_0x5ac930,_0x259379){dC['indexOf'](_0x5ac930)>-0x1||(dC['push'](_0x5ac930),console['warn'](_0x259379));}function pC(_0x261e91,_0x500e98){let _0xcec1ec=[];for(let _0x3dd8cf of _0x500e98['split']('\x20')){let _0x410404=[];for(let _0x3e9de6 of _0x3dd8cf['split']('.')){let _0x47fb89=_0x261e91[_0x3e9de6]||ZI[_0x3e9de6];_0x47fb89?'function'==typeof _0x47fb89?_0x410404['length']?_0x410404=_0x410404['map'](_0x47fb89):gC(_0x3e9de6,'Modifier\x20'+_0x3e9de6+'\x20used\x20at\x20start\x20of\x20tag'):_0x410404['length']?gC(_0x3e9de6,'Tag\x20'+_0x3e9de6+'\x20used\x20as\x20modifier'):_0x410404=Array['isArray'](_0x47fb89)?_0x47fb89:[_0x47fb89]:gC(_0x3e9de6,'Unknown\x20highlighting\x20tag\x20'+_0x3e9de6);}for(let _0x186f9f of _0x410404)_0xcec1ec['push'](_0x186f9f);}if(!_0xcec1ec['length'])return 0x0;let _0x5e1179=_0x500e98['replace'](/ /g,'_'),_0x12a771=_0x5e1179+'\x20'+_0xcec1ec['map'](t=>t['id']),_0x4b414b=fC[_0x12a771];if(_0x4b414b)return _0x4b414b['id'];let _0x2a00df=fC[_0x12a771]=NodeType['define']({'id':uC['length'],'name':_0x5e1179,'props':[CI({[_0x5e1179]:_0xcec1ec})]});return uC['push'](_0x2a00df),_0x2a00df['id'];}vv['RTL'],vv['LTR'];function OC(_0x1556dc,_0x1d38c8){return({state:_0x584389,dispatch:_0x2fa6ae})=>{if(_0x584389['readOnly'])return!0x1;let _0x2d505e=_0x1556dc(_0x1d38c8,_0x584389);return!!_0x2d505e&&(_0x2fa6ae(_0x584389['update'](_0x2d505e)),!0x0);};}const wC=OC(EC,0x0),bC=OC(TC,0x0),yC=OC((_0x3c4947,_0x365b0a)=>TC(_0x3c4947,_0x365b0a,function(_0x32c53c){let _0x1a1d89=[];for(let _0x263471 of _0x32c53c['selection']['ranges']){let _0x441117=_0x32c53c['doc']['lineAt'](_0x263471['from']),_0x9168af=_0x263471['to']<=_0x441117['to']?_0x441117:_0x32c53c['doc']['lineAt'](_0x263471['to']);_0x9168af['from']>_0x441117['from']&&_0x9168af['from']==_0x263471['to']&&(_0x9168af=_0x263471['to']==_0x441117['to']+0x1?_0x441117:_0x32c53c['doc']['lineAt'](_0x263471['to']-0x1));let _0x3b69d0=_0x1a1d89['length']-0x1;_0x3b69d0>=0x0&&_0x1a1d89[_0x3b69d0]['to']>_0x441117['from']?_0x1a1d89[_0x3b69d0]['to']=_0x9168af['to']:_0x1a1d89['push']({'from':_0x441117['from']+/^\s*/['exec'](_0x441117['text'])[0x0]['length'],'to':_0x9168af['to']});}return _0x1a1d89;}(_0x365b0a)),0x0);function _C(_0x4900ff,_0x22d4a3){let _0x1e7bbd=_0x4900ff['languageDataAt']('commentTokens',_0x22d4a3,0x1);return _0x1e7bbd['length']?_0x1e7bbd[0x0]:{};}const vC=0x32;function TC(_0x257e38,_0x4ec632,_0x1b9a44=_0x4ec632['selection']['ranges']){let _0x1cd8bf=_0x1b9a44['map'](_0x275166=>_C(_0x4ec632,_0x275166['from'])['block']);if(!_0x1cd8bf['every'](_0x2fffa7=>_0x2fffa7))return null;let _0x2a7ed6=_0x1b9a44['map']((_0x1df748,_0x187963)=>function(_0x90c27a,{open:_0x1b05ab,close:_0x43ae50},_0x2791d9,_0x124165){let _0x2904df,_0x1ec358,_0x3cdabc=_0x90c27a['sliceDoc'](_0x2791d9-vC,_0x2791d9),_0x340b11=_0x90c27a['sliceDoc'](_0x124165,_0x124165+vC),_0x1b9575=/\s*$/['exec'](_0x3cdabc)[0x0]['length'],_0x558dfc=/^\s*/['exec'](_0x340b11)[0x0]['length'],_0x2f8766=_0x3cdabc['length']-_0x1b9575;if(_0x3cdabc['slice'](_0x2f8766-_0x1b05ab['length'],_0x2f8766)==_0x1b05ab&&_0x340b11['slice'](_0x558dfc,_0x558dfc+_0x43ae50['length'])==_0x43ae50)return{'open':{'pos':_0x2791d9-_0x1b9575,'margin':_0x1b9575&&0x1},'close':{'pos':_0x124165+_0x558dfc,'margin':_0x558dfc&&0x1}};_0x124165-_0x2791d9<=0x2*vC?_0x2904df=_0x1ec358=_0x90c27a['sliceDoc'](_0x2791d9,_0x124165):(_0x2904df=_0x90c27a['sliceDoc'](_0x2791d9,_0x2791d9+vC),_0x1ec358=_0x90c27a['sliceDoc'](_0x124165-vC,_0x124165));let _0x1d2507=/^\s*/['exec'](_0x2904df)[0x0]['length'],_0x125eb9=/\s*$/['exec'](_0x1ec358)[0x0]['length'],_0x35629d=_0x1ec358['length']-_0x125eb9-_0x43ae50['length'];return _0x2904df['slice'](_0x1d2507,_0x1d2507+_0x1b05ab['length'])==_0x1b05ab&&_0x1ec358['slice'](_0x35629d,_0x35629d+_0x43ae50['length'])==_0x43ae50?{'open':{'pos':_0x2791d9+_0x1d2507+_0x1b05ab['length'],'margin':/\s/['test'](_0x2904df['charAt'](_0x1d2507+_0x1b05ab['length']))?0x1:0x0},'close':{'pos':_0x124165-_0x125eb9-_0x43ae50['length'],'margin':/\s/['test'](_0x1ec358['charAt'](_0x35629d-0x1))?0x1:0x0}}:null;}(_0x4ec632,_0x1cd8bf[_0x187963],_0x1df748['from'],_0x1df748['to']));if(0x2!=_0x257e38&&!_0x2a7ed6['every'](_0x846b3b=>_0x846b3b))return{'changes':_0x4ec632['changes'](_0x1b9a44['map']((_0x1816bb,_0x155dd9)=>_0x2a7ed6[_0x155dd9]?[]:[{'from':_0x1816bb['from'],'insert':_0x1cd8bf[_0x155dd9]['open']+'\x20'},{'from':_0x1816bb['to'],'insert':'\x20'+_0x1cd8bf[_0x155dd9]['close']}]))};if(0x1!=_0x257e38&&_0x2a7ed6['some'](_0x3f1db3=>_0x3f1db3)){let _0x53972f=[];for(let _0x5ce122,_0x86f86e=0x0;_0x86f86e<_0x2a7ed6['length'];_0x86f86e++)if(_0x5ce122=_0x2a7ed6[_0x86f86e]){let _0xc3deeb=_0x1cd8bf[_0x86f86e],{open:_0x595f73,close:_0x2d83a9}=_0x5ce122;_0x53972f['push']({'from':_0x595f73['pos']-_0xc3deeb['open']['length'],'to':_0x595f73['pos']+_0x595f73['margin']},{'from':_0x2d83a9['pos']-_0x2d83a9['margin'],'to':_0x2d83a9['pos']+_0xc3deeb['close']['length']});}return{'changes':_0x53972f};}return null;}function EC(_0x4a5b5e,_0x4a691b,_0xff3bbb=_0x4a691b['selection']['ranges']){let _0x53c4fb=[],_0x7046d1=-0x1;for(let {from:_0x1a64c2,to:_0x2c9776}of _0xff3bbb){let _0x2fedb0=_0x53c4fb['length'],_0x5e116b=0x3b9aca00,_0x578299=_C(_0x4a691b,_0x1a64c2)['line'];if(_0x578299){for(let _0x20c202=_0x1a64c2;_0x20c202<=_0x2c9776;){let _0x5d0269=_0x4a691b['doc']['lineAt'](_0x20c202);if(_0x5d0269['from']>_0x7046d1&&(_0x1a64c2==_0x2c9776||_0x2c9776>_0x5d0269['from'])){_0x7046d1=_0x5d0269['from'];let _0x40958c=/^\s*/['exec'](_0x5d0269['text'])[0x0]['length'],_0x2ebd85=_0x40958c==_0x5d0269['length'],_0x18253b=_0x5d0269['text']['slice'](_0x40958c,_0x40958c+_0x578299['length'])==_0x578299?_0x40958c:-0x1;_0x40958c<_0x5d0269['text']['length']&&_0x40958c<_0x5e116b&&(_0x5e116b=_0x40958c),_0x53c4fb['push']({'line':_0x5d0269,'comment':_0x18253b,'token':_0x578299,'indent':_0x40958c,'empty':_0x2ebd85,'single':!0x1});}_0x20c202=_0x5d0269['to']+0x1;}if(_0x5e116b<0x3b9aca00){for(let _0x1da1a8=_0x2fedb0;_0x1da1a8<_0x53c4fb['length'];_0x1da1a8++)_0x53c4fb[_0x1da1a8]['indent']<_0x53c4fb[_0x1da1a8]['line']['text']['length']&&(_0x53c4fb[_0x1da1a8]['indent']=_0x5e116b);}_0x53c4fb['length']==_0x2fedb0+0x1&&(_0x53c4fb[_0x2fedb0]['single']=!0x0);}}if(0x2!=_0x4a5b5e&&_0x53c4fb['some'](_0x2d9492=>_0x2d9492['comment']<0x0&&(!_0x2d9492['empty']||_0x2d9492['single']))){let _0x566cc6=[];for(let {line:_0x4918b5,token:_0x1f776a,indent:_0xee792d,empty:_0x26ee10,single:_0x1b1963}of _0x53c4fb)!_0x1b1963&&_0x26ee10||_0x566cc6['push']({'from':_0x4918b5['from']+_0xee792d,'insert':_0x1f776a+'\x20'});let _0x407a6b=_0x4a691b['changes'](_0x566cc6);return{'changes':_0x407a6b,'selection':_0x4a691b['selection']['map'](_0x407a6b,0x1)};}if(0x1!=_0x4a5b5e&&_0x53c4fb['some'](_0x4d4d4e=>_0x4d4d4e['comment']>=0x0)){let _0xf0b109=[];for(let {line:_0x472583,comment:_0xccd126,token:_0x5400a7}of _0x53c4fb)if(_0xccd126>=0x0){let _0x139fb5=_0x472583['from']+_0xccd126,_0x5bfc23=_0x139fb5+_0x5400a7['length'];'\x20'==_0x472583['text'][_0x5bfc23-_0x472583['from']]&&_0x5bfc23++,_0xf0b109['push']({'from':_0x139fb5,'to':_0x5bfc23});}return{'changes':_0xf0b109};}return null;}const AC=Annotation['define'](),IC=Annotation['define'](),SC=Facet['define'](),CC=Facet['define']({'combine':_0x5b1e03=>n_(_0x5b1e03,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x17a91d,_0x322508)=>_0x322508},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x40f149,_0x24c44)=>(_0x38bcf3,_0x281c45)=>_0x40f149(_0x38bcf3,_0x281c45)||_0x24c44(_0x38bcf3,_0x281c45)})}),kC=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x3322fb,_0x57bef5){let _0x5581b6=_0x57bef5['state']['facet'](CC),_0x132939=_0x57bef5['annotation'](AC);if(_0x132939){let _0x204566=HistEvent['fromTransaction'](_0x57bef5,_0x132939['selection']),_0x1af059=_0x132939['side'],_0x377eaf=0x0==_0x1af059?_0x3322fb['undone']:_0x3322fb['done'];return _0x377eaf=_0x204566?DC(_0x377eaf,_0x377eaf['length'],_0x5581b6['minDepth'],_0x204566):UC(_0x377eaf,_0x57bef5['startState']['selection']),new HistoryState(0x0==_0x1af059?_0x132939['rest']:_0x377eaf,0x0==_0x1af059?_0x377eaf:_0x132939['rest']);}let _0x38c21a=_0x57bef5['annotation'](IC);if('full'!=_0x38c21a&&'before'!=_0x38c21a||(_0x3322fb=_0x3322fb['isolate']()),!0x1===_0x57bef5['annotation'](Transaction['addToHistory']))return _0x57bef5['changes']['empty']?_0x3322fb:_0x3322fb['addMapping'](_0x57bef5['changes']['desc']);let _0x5d1696=HistEvent['fromTransaction'](_0x57bef5),_0x401689=_0x57bef5['annotation'](Transaction['time']),_0x5c99ff=_0x57bef5['annotation'](Transaction['userEvent']);return _0x5d1696?_0x3322fb=_0x3322fb['addChanges'](_0x5d1696,_0x401689,_0x5c99ff,_0x5581b6,_0x57bef5):_0x57bef5['selection']&&(_0x3322fb=_0x3322fb['addSelection'](_0x57bef5['startState']['selection'],_0x401689,_0x5c99ff,_0x5581b6['newGroupDelay'])),'full'!=_0x38c21a&&'after'!=_0x38c21a||(_0x3322fb=_0x3322fb['isolate']()),_0x3322fb;},'toJSON':_0x3c08c8=>({'done':_0x3c08c8['done']['map'](_0x21e1de=>_0x21e1de['toJSON']()),'undone':_0x3c08c8['undone']['map'](_0x3611d5=>_0x3611d5['toJSON']())}),'fromJSON':_0x546f19=>new HistoryState(_0x546f19['done']['map'](HistEvent['fromJSON']),_0x546f19['undone']['map'](HistEvent['fromJSON']))});function xC(_0x18f139={}){return[kC,CC['of'](_0x18f139),EditorView['domEventHandlers']({'beforeinput'(_0x27e2d0,_0x40e3de){let _0x117b19='historyUndo'==_0x27e2d0['inputType']?PC:'historyRedo'==_0x27e2d0['inputType']?MC:null;return!!_0x117b19&&(_0x27e2d0['preventDefault'](),_0x117b19(_0x40e3de));}})];}function RC(_0x390ca6,_0x3065c5){return function({state:_0x4754c3,dispatch:_0x1d3f48}){if(!_0x3065c5&&_0x4754c3['readOnly'])return!0x1;let _0x57f4cb=_0x4754c3['field'](kC,!0x1);if(!_0x57f4cb)return!0x1;let _0x1dbc34=_0x57f4cb['pop'](_0x390ca6,_0x4754c3,_0x3065c5);return!!_0x1dbc34&&(_0x1d3f48(_0x1dbc34),!0x0);};}const PC=RC(0x0,!0x1),MC=RC(0x1,!0x1),NC=RC(0x0,!0x0),LC=RC(0x1,!0x0);class HistEvent{constructor(_0x34ad6a,_0xe59c64,_0x5a8000,_0x191814,_0x11b181){this['changes']=_0x34ad6a,this['effects']=_0xe59c64,this['mapped']=_0x5a8000,this['startSelection']=_0x191814,this['selectionsAfter']=_0x11b181;}['setSelAfter'](_0x132974){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x132974);}['toJSON'](){var _0x26f398,_0x2b1184,_0x4a13fc;return{'changes':null===(_0x26f398=this['changes'])||void 0x0===_0x26f398?void 0x0:_0x26f398['toJSON'](),'mapped':null===(_0x2b1184=this['mapped'])||void 0x0===_0x2b1184?void 0x0:_0x2b1184['toJSON'](),'startSelection':null===(_0x4a13fc=this['startSelection'])||void 0x0===_0x4a13fc?void 0x0:_0x4a13fc['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x1792b3=>_0x1792b3['toJSON']())};}static['fromJSON'](_0x367520){return new HistEvent(_0x367520['changes']&&ChangeSet['fromJSON'](_0x367520['changes']),[],_0x367520['mapped']&&ChangeDesc['fromJSON'](_0x367520['mapped']),_0x367520['startSelection']&&EditorSelection['fromJSON'](_0x367520['startSelection']),_0x367520['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x571bde,_0x1f88be){let _0x17260a=$C;for(let _0x939cc4 of _0x571bde['startState']['facet'](SC)){let _0x160c35=_0x939cc4(_0x571bde);_0x160c35['length']&&(_0x17260a=_0x17260a['concat'](_0x160c35));}return!_0x17260a['length']&&_0x571bde['changes']['empty']?null:new HistEvent(_0x571bde['changes']['invert'](_0x571bde['startState']['doc']),_0x17260a,void 0x0,_0x1f88be||_0x571bde['startState']['selection'],$C);}static['selection'](_0x53ad82){return new HistEvent(void 0x0,$C,void 0x0,void 0x0,_0x53ad82);}}function DC(_0x36bc90,_0x1f783a,_0x36a8fe,_0xa238d8){let _0x3c05fd=_0x1f783a+0x1>_0x36a8fe+0x14?_0x1f783a-_0x36a8fe-0x1:0x0,_0x14cf8f=_0x36bc90['slice'](_0x3c05fd,_0x1f783a);return _0x14cf8f['push'](_0xa238d8),_0x14cf8f;}function QC(_0x49e343,_0x3d7164){return _0x49e343['length']?_0x3d7164['length']?_0x49e343['concat'](_0x3d7164):_0x49e343:_0x3d7164;}const $C=[],VC=0xc8;function UC(_0x47b80b,_0x543c20){if(_0x47b80b['length']){let _0x1be1bf=_0x47b80b[_0x47b80b['length']-0x1],_0x2463b7=_0x1be1bf['selectionsAfter']['slice'](Math['max'](0x0,_0x1be1bf['selectionsAfter']['length']-VC));return _0x2463b7['length']&&_0x2463b7[_0x2463b7['length']-0x1]['eq'](_0x543c20)?_0x47b80b:(_0x2463b7['push'](_0x543c20),DC(_0x47b80b,_0x47b80b['length']-0x1,0x3b9aca00,_0x1be1bf['setSelAfter'](_0x2463b7)));}return[HistEvent['selection']([_0x543c20])];}function BC(_0x75fa36){let _0x2add2d=_0x75fa36[_0x75fa36['length']-0x1],_0x327eb4=_0x75fa36['slice']();return _0x327eb4[_0x75fa36['length']-0x1]=_0x2add2d['setSelAfter'](_0x2add2d['selectionsAfter']['slice'](0x0,_0x2add2d['selectionsAfter']['length']-0x1)),_0x327eb4;}function FC(_0x49a879,_0x4514cd){if(!_0x49a879['length'])return _0x49a879;let _0x8a9577=_0x49a879['length'],_0x5a2183=$C;for(;_0x8a9577;){let _0xce0634=jC(_0x49a879[_0x8a9577-0x1],_0x4514cd,_0x5a2183);if(_0xce0634['changes']&&!_0xce0634['changes']['empty']||_0xce0634['effects']['length']){let _0xf8552b=_0x49a879['slice'](0x0,_0x8a9577);return _0xf8552b[_0x8a9577-0x1]=_0xce0634,_0xf8552b;}_0x4514cd=_0xce0634['mapped'],_0x8a9577--,_0x5a2183=_0xce0634['selectionsAfter'];}return _0x5a2183['length']?[HistEvent['selection'](_0x5a2183)]:$C;}function jC(_0x268b4c,_0x5dde31,_0x12a725){let _0x4ae93d=QC(_0x268b4c['selectionsAfter']['length']?_0x268b4c['selectionsAfter']['map'](_0x2f675e=>_0x2f675e['map'](_0x5dde31)):$C,_0x12a725);if(!_0x268b4c['changes'])return HistEvent['selection'](_0x4ae93d);let _0x37aad2=_0x268b4c['changes']['map'](_0x5dde31),_0x2d7d4b=_0x5dde31['mapDesc'](_0x268b4c['changes'],!0x0),_0x45d4df=_0x268b4c['mapped']?_0x268b4c['mapped']['composeDesc'](_0x2d7d4b):_0x2d7d4b;return new HistEvent(_0x37aad2,StateEffect['mapEffects'](_0x268b4c['effects'],_0x5dde31),_0x45d4df,_0x268b4c['startSelection']['map'](_0x2d7d4b),_0x4ae93d);}const HC=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x161d92,_0x578740,_0x1ad9c3=0x0,_0x2ed61b=void 0x0){this['done']=_0x161d92,this['undone']=_0x578740,this['prevTime']=_0x1ad9c3,this['prevUserEvent']=_0x2ed61b;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x26f981,_0x43a584,_0x13792f,_0x395a24,_0x24f234){let _0x7cc8bf=this['done'],_0x1a0aaa=_0x7cc8bf[_0x7cc8bf['length']-0x1];return _0x7cc8bf=_0x1a0aaa&&_0x1a0aaa['changes']&&!_0x1a0aaa['changes']['empty']&&_0x26f981['changes']&&(!_0x13792f||HC['test'](_0x13792f))&&(!_0x1a0aaa['selectionsAfter']['length']&&_0x43a584-this['prevTime']<_0x395a24['newGroupDelay']&&_0x395a24['joinToEvent'](_0x24f234,function(_0x23378e,_0x2f7830){let _0x23dc2b=[],_0x57a149=!0x1;return _0x23378e['iterChangedRanges']((_0x5784fc,t)=>_0x23dc2b['push'](_0x5784fc,t)),_0x2f7830['iterChangedRanges']((_0x5d0571,_0x35b9a9,_0x37803e,t)=>{for(let _0x5d0840=0x0;_0x5d0840<_0x23dc2b['length'];){let _0x438295=_0x23dc2b[_0x5d0840++],_0x4f551c=_0x23dc2b[_0x5d0840++];t>=_0x438295&&_0x37803e<=_0x4f551c&&(_0x57a149=!0x0);}}),_0x57a149;}(_0x1a0aaa['changes'],_0x26f981['changes']))||'input.type.compose'==_0x13792f)?DC(_0x7cc8bf,_0x7cc8bf['length']-0x1,_0x395a24['minDepth'],new HistEvent(_0x26f981['changes']['compose'](_0x1a0aaa['changes']),QC(StateEffect['mapEffects'](_0x26f981['effects'],_0x1a0aaa['changes']),_0x1a0aaa['effects']),_0x1a0aaa['mapped'],_0x1a0aaa['startSelection'],$C)):DC(_0x7cc8bf,_0x7cc8bf['length'],_0x395a24['minDepth'],_0x26f981),new HistoryState(_0x7cc8bf,$C,_0x43a584,_0x13792f);}['addSelection'](_0x4febb9,_0x5bda21,_0x122d96,_0x153192){let _0x365fc7=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:$C;return _0x365fc7['length']>0x0&&_0x5bda21-this['prevTime']<_0x153192&&_0x122d96==this['prevUserEvent']&&_0x122d96&&/^select($|\.)/['test'](_0x122d96)&&function(_0x118b82,_0x2f8018){return _0x118b82['ranges']['length']==_0x2f8018['ranges']['length']&&0x0===_0x118b82['ranges']['filter']((_0x47de7a,_0x224236)=>_0x47de7a['empty']!=_0x2f8018['ranges'][_0x224236]['empty'])['length'];}(_0x365fc7[_0x365fc7['length']-0x1],_0x4febb9)?this:new HistoryState(UC(this['done'],_0x4febb9),this['undone'],_0x5bda21,_0x122d96);}['addMapping'](_0x27e4b8){return new HistoryState(FC(this['done'],_0x27e4b8),FC(this['undone'],_0x27e4b8),this['prevTime'],this['prevUserEvent']);}['pop'](_0x5866bc,_0x1dd117,_0x26ade2){let _0x4e324b=0x0==_0x5866bc?this['done']:this['undone'];if(0x0==_0x4e324b['length'])return null;let _0x57a564=_0x4e324b[_0x4e324b['length']-0x1],_0x462f71=_0x57a564['selectionsAfter'][0x0]||_0x1dd117['selection'];if(_0x26ade2&&_0x57a564['selectionsAfter']['length'])return _0x1dd117['update']({'selection':_0x57a564['selectionsAfter'][_0x57a564['selectionsAfter']['length']-0x1],'annotations':AC['of']({'side':_0x5866bc,'rest':BC(_0x4e324b),'selection':_0x462f71}),'userEvent':0x0==_0x5866bc?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x57a564['changes']){let _0x30b939=0x1==_0x4e324b['length']?$C:_0x4e324b['slice'](0x0,_0x4e324b['length']-0x1);return _0x57a564['mapped']&&(_0x30b939=FC(_0x30b939,_0x57a564['mapped'])),_0x1dd117['update']({'changes':_0x57a564['changes'],'selection':_0x57a564['startSelection'],'effects':_0x57a564['effects'],'annotations':AC['of']({'side':_0x5866bc,'rest':_0x30b939,'selection':_0x462f71}),'filter':!0x1,'userEvent':0x0==_0x5866bc?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState($C,$C);const GC=[{'key':'Mod-z','run':PC,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':MC,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':MC,'preventDefault':!0x0},{'key':'Mod-u','run':NC,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':LC,'preventDefault':!0x0}];function ZC(_0xe80381,_0x19594b){return EditorSelection['create'](_0xe80381['ranges']['map'](_0x19594b),_0xe80381['mainIndex']);}function XC(_0xb28263,_0x5dd2f0){return _0xb28263['update']({'selection':_0x5dd2f0,'scrollIntoView':!0x0,'userEvent':'select'});}function qC({state:_0x26cb8b,dispatch:_0x375b59},_0x55ef1f){let _0x502d8f=ZC(_0x26cb8b['selection'],_0x55ef1f);return!_0x502d8f['eq'](_0x26cb8b['selection'],!0x0)&&(_0x375b59(XC(_0x26cb8b,_0x502d8f)),!0x0);}function WC(_0x15bac5,_0x55f32d){return EditorSelection['cursor'](_0x55f32d?_0x15bac5['to']:_0x15bac5['from']);}function zC(_0x9428ae,_0x27171c){return qC(_0x9428ae,_0xe68bbf=>_0xe68bbf['empty']?_0x9428ae['moveByChar'](_0xe68bbf,_0x27171c):WC(_0xe68bbf,_0x27171c));}function YC(_0x55d7e9){return _0x55d7e9['textDirectionAt'](_0x55d7e9['state']['selection']['main']['head'])==vv['LTR'];}const KC=_0x476200=>zC(_0x476200,!YC(_0x476200)),JC=_0x5149d7=>zC(_0x5149d7,YC(_0x5149d7));function tk(_0x28e0fa,_0x379875){return qC(_0x28e0fa,_0x55cdc1=>_0x55cdc1['empty']?_0x28e0fa['moveByGroup'](_0x55cdc1,_0x379875):WC(_0x55cdc1,_0x379875));}function ek(_0x5650e7,_0x2c4bc4,_0x28cff7){if(_0x2c4bc4['type']['prop'](_0x28cff7))return!0x0;let _0x5d6904=_0x2c4bc4['to']-_0x2c4bc4['from'];return _0x5d6904&&(_0x5d6904>0x2||/[^\s,.;:]/['test'](_0x5650e7['sliceDoc'](_0x2c4bc4['from'],_0x2c4bc4['to'])))||_0x2c4bc4['firstChild'];}function ik(_0x3ba6bf,_0xed0727,_0x3cd5d7){let _0x4160d9,_0x2a7289,_0x3096f5=KI(_0x3ba6bf)['resolveInner'](_0xed0727['head']),_0xc8ff9b=_0x3cd5d7?NodeProp['closedBy']:NodeProp['openedBy'];for(let _0x1d1fed=_0xed0727['head'];;){let _0x5793a5=_0x3cd5d7?_0x3096f5['childAfter'](_0x1d1fed):_0x3096f5['childBefore'](_0x1d1fed);if(!_0x5793a5)break;ek(_0x3ba6bf,_0x5793a5,_0xc8ff9b)?_0x3096f5=_0x5793a5:_0x1d1fed=_0x3cd5d7?_0x5793a5['to']:_0x5793a5['from'];}return _0x2a7289=_0x3096f5['type']['prop'](_0xc8ff9b)&&(_0x4160d9=_0x3cd5d7?cC(_0x3ba6bf,_0x3096f5['from'],0x1):cC(_0x3ba6bf,_0x3096f5['to'],-0x1))&&_0x4160d9['matched']?_0x3cd5d7?_0x4160d9['end']['to']:_0x4160d9['end']['from']:_0x3cd5d7?_0x3096f5['to']:_0x3096f5['from'],EditorSelection['cursor'](_0x2a7289,_0x3cd5d7?-0x1:0x1);}function sk(_0x205ff5,_0x3942e6){return qC(_0x205ff5,_0x5611d4=>{if(!_0x5611d4['empty'])return WC(_0x5611d4,_0x3942e6);let _0x2d626d=_0x205ff5['moveVertically'](_0x5611d4,_0x3942e6);return _0x2d626d['head']!=_0x5611d4['head']?_0x2d626d:_0x205ff5['moveToLineBoundary'](_0x5611d4,_0x3942e6);});}const nk=_0x107394=>sk(_0x107394,!0x1),rk=_0xfc10bb=>sk(_0xfc10bb,!0x0);function ok(_0x1893db){let _0x4d9345,_0x14892e=_0x1893db['scrollDOM']['clientHeight']<_0x1893db['scrollDOM']['scrollHeight']-0x2,_0x2e0e01=0x0,_0x3aa420=0x0;if(_0x14892e){for(let _0x4fc624 of _0x1893db['state']['facet'](EditorView['scrollMargins'])){let _0x35e67e=_0x4fc624(_0x1893db);(null==_0x35e67e?void 0x0:_0x35e67e['top'])&&(_0x2e0e01=Math['max'](null==_0x35e67e?void 0x0:_0x35e67e['top'],_0x2e0e01)),(null==_0x35e67e?void 0x0:_0x35e67e['bottom'])&&(_0x3aa420=Math['max'](null==_0x35e67e?void 0x0:_0x35e67e['bottom'],_0x3aa420));}_0x4d9345=_0x1893db['scrollDOM']['clientHeight']-_0x2e0e01-_0x3aa420;}else _0x4d9345=(_0x1893db['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x2e0e01,'marginBottom':_0x3aa420,'selfScroll':_0x14892e,'height':Math['max'](_0x1893db['defaultLineHeight'],_0x4d9345-0x5)};}function ak(_0x41fd77,_0x3367b1){let _0x29672f,_0x54b030=ok(_0x41fd77),{state:_0xae035}=_0x41fd77,_0x18e088=ZC(_0xae035['selection'],_0x3f068f=>_0x3f068f['empty']?_0x41fd77['moveVertically'](_0x3f068f,_0x3367b1,_0x54b030['height']):WC(_0x3f068f,_0x3367b1));if(_0x18e088['eq'](_0xae035['selection']))return!0x1;if(_0x54b030['selfScroll']){let _0x3467d5=_0x41fd77['coordsAtPos'](_0xae035['selection']['main']['head']),_0x547a26=_0x41fd77['scrollDOM']['getBoundingClientRect'](),_0x747f0=_0x547a26['top']+_0x54b030['marginTop'],_0x34f38d=_0x547a26['bottom']-_0x54b030['marginBottom'];_0x3467d5&&_0x3467d5['top']>_0x747f0&&_0x3467d5['bottom']<_0x34f38d&&(_0x29672f=EditorView['scrollIntoView'](_0x18e088['main']['head'],{'y':'start','yMargin':_0x3467d5['top']-_0x747f0}));}return _0x41fd77['dispatch'](XC(_0xae035,_0x18e088),{'effects':_0x29672f}),!0x0;}const ck=_0x48abc2=>ak(_0x48abc2,!0x1),lk=_0x48c9e1=>ak(_0x48c9e1,!0x0);function hk(_0xe23f58,_0x475d2b,_0x2076a7){let _0x23a818=_0xe23f58['lineBlockAt'](_0x475d2b['head']),_0x18b50c=_0xe23f58['moveToLineBoundary'](_0x475d2b,_0x2076a7);if(_0x18b50c['head']==_0x475d2b['head']&&_0x18b50c['head']!=(_0x2076a7?_0x23a818['to']:_0x23a818['from'])&&(_0x18b50c=_0xe23f58['moveToLineBoundary'](_0x475d2b,_0x2076a7,!0x1)),!_0x2076a7&&_0x18b50c['head']==_0x23a818['from']&&_0x23a818['length']){let _0x9fec05=/^\s*/['exec'](_0xe23f58['state']['sliceDoc'](_0x23a818['from'],Math['min'](_0x23a818['from']+0x64,_0x23a818['to'])))[0x0]['length'];_0x9fec05&&_0x475d2b['head']!=_0x23a818['from']+_0x9fec05&&(_0x18b50c=EditorSelection['cursor'](_0x23a818['from']+_0x9fec05));}return _0x18b50c;}function uk(_0x5bef76,_0x50aa52){let _0x2e4317=ZC(_0x5bef76['state']['selection'],_0x4ade3f=>{let _0x4b586e=_0x50aa52(_0x4ade3f);return EditorSelection['range'](_0x4ade3f['anchor'],_0x4b586e['head'],_0x4b586e['goalColumn'],_0x4b586e['bidiLevel']||void 0x0);});return!_0x2e4317['eq'](_0x5bef76['state']['selection'])&&(_0x5bef76['dispatch'](XC(_0x5bef76['state'],_0x2e4317)),!0x0);}function dk(_0x5f4f91,_0x49d635){return uk(_0x5f4f91,_0x484e52=>_0x5f4f91['moveByChar'](_0x484e52,_0x49d635));}const fk=_0x23c7c2=>dk(_0x23c7c2,!YC(_0x23c7c2)),mk=_0x254829=>dk(_0x254829,YC(_0x254829));function gk(_0x90efd2,_0x11d652){return uk(_0x90efd2,_0x5fbe8a=>_0x90efd2['moveByGroup'](_0x5fbe8a,_0x11d652));}function pk(_0x21e647,_0x43d69d){return uk(_0x21e647,_0x19f451=>_0x21e647['moveVertically'](_0x19f451,_0x43d69d));}const Ok=_0x380cee=>pk(_0x380cee,!0x1),wk=_0xb0949c=>pk(_0xb0949c,!0x0);function bk(_0x3d10b2,_0x4fb8ca){return uk(_0x3d10b2,_0x4ea3dd=>_0x3d10b2['moveVertically'](_0x4ea3dd,_0x4fb8ca,ok(_0x3d10b2)['height']));}const yk=_0x2556ef=>bk(_0x2556ef,!0x1),_k=_0x1da166=>bk(_0x1da166,!0x0),vk=({state:_0x1a896d,dispatch:_0x325b4c})=>(_0x325b4c(XC(_0x1a896d,{'anchor':0x0})),!0x0),Tk=({state:_0x36c2a2,dispatch:_0x2af0a1})=>(_0x2af0a1(XC(_0x36c2a2,{'anchor':_0x36c2a2['doc']['length']})),!0x0),Ek=({state:_0x593bb8,dispatch:_0x21b74d})=>(_0x21b74d(XC(_0x593bb8,{'anchor':_0x593bb8['selection']['main']['anchor'],'head':0x0})),!0x0),Ak=({state:_0x2e603a,dispatch:_0xf37526})=>(_0xf37526(XC(_0x2e603a,{'anchor':_0x2e603a['selection']['main']['anchor'],'head':_0x2e603a['doc']['length']})),!0x0);function Ik(_0x3cc74c,_0x10dbcb){if(_0x3cc74c['state']['readOnly'])return!0x1;let _0xf1e19d='delete.selection',{state:_0x3d9724}=_0x3cc74c,_0x4acfdd=_0x3d9724['changeByRange'](_0x5e3d7a=>{let {from:_0x3ad5d3,to:_0x1f7848}=_0x5e3d7a;if(_0x3ad5d3==_0x1f7848){let _0x43533c=_0x10dbcb(_0x5e3d7a);_0x43533c<_0x3ad5d3?(_0xf1e19d='delete.backward',_0x43533c=Sk(_0x3cc74c,_0x43533c,!0x1)):_0x43533c>_0x3ad5d3&&(_0xf1e19d='delete.forward',_0x43533c=Sk(_0x3cc74c,_0x43533c,!0x0)),_0x3ad5d3=Math['min'](_0x3ad5d3,_0x43533c),_0x1f7848=Math['max'](_0x1f7848,_0x43533c);}else _0x3ad5d3=Sk(_0x3cc74c,_0x3ad5d3,!0x1),_0x1f7848=Sk(_0x3cc74c,_0x1f7848,!0x0);return _0x3ad5d3==_0x1f7848?{'range':_0x5e3d7a}:{'changes':{'from':_0x3ad5d3,'to':_0x1f7848},'range':EditorSelection['cursor'](_0x3ad5d3,_0x3ad5d3<_0x5e3d7a['head']?-0x1:0x1)};});return!_0x4acfdd['changes']['empty']&&(_0x3cc74c['dispatch'](_0x3d9724['update'](_0x4acfdd,{'scrollIntoView':!0x0,'userEvent':_0xf1e19d,'effects':'delete.selection'==_0xf1e19d?EditorView['announce']['of'](_0x3d9724['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function Sk(_0x599733,_0x464822,_0x32fd0c){if(_0x599733 instanceof EditorView){for(let _0xc847d0 of _0x599733['state']['facet'](EditorView['atomicRanges'])['map'](_0x1edbcf=>_0x1edbcf(_0x599733)))_0xc847d0['between'](_0x464822,_0x464822,(_0x1130de,_0x18805b)=>{_0x1130de<_0x464822&&_0x18805b>_0x464822&&(_0x464822=_0x32fd0c?_0x18805b:_0x1130de);});}return _0x464822;}const Ck=(_0x25b362,_0x5a53ec,_0x2502e6)=>Ik(_0x25b362,_0x1e9361=>{let _0x3374be,_0x2c6630,_0xb95e47=_0x1e9361['from'],{state:_0x5b986a}=_0x25b362,_0x12733b=_0x5b986a['doc']['lineAt'](_0xb95e47);if(_0x2502e6&&!_0x5a53ec&&_0xb95e47>_0x12733b['from']&&_0xb95e47<_0x12733b['from']+0xc8&&!/[^ \t]/['test'](_0x3374be=_0x12733b['text']['slice'](0x0,_0xb95e47-_0x12733b['from']))){if('\x09'==_0x3374be[_0x3374be['length']-0x1])return _0xb95e47-0x1;let _0x2fb20b=m_(_0x3374be,_0x5b986a['tabSize'])%aS(_0x5b986a)||aS(_0x5b986a);for(let _0x3c4fd8=0x0;_0x3c4fd8<_0x2fb20b&&'\x20'==_0x3374be[_0x3374be['length']-0x1-_0x3c4fd8];_0x3c4fd8++)_0xb95e47--;_0x2c6630=_0xb95e47;}else _0x2c6630=gy(_0x12733b['text'],_0xb95e47-_0x12733b['from'],_0x5a53ec,_0x5a53ec)+_0x12733b['from'],_0x2c6630==_0xb95e47&&_0x12733b['number']!=(_0x5a53ec?_0x5b986a['doc']['lines']:0x1)?_0x2c6630+=_0x5a53ec?0x1:-0x1:!_0x5a53ec&&/[\ufe00-\ufe0f]/['test'](_0x12733b['text']['slice'](_0x2c6630-_0x12733b['from'],_0xb95e47-_0x12733b['from']))&&(_0x2c6630=gy(_0x12733b['text'],_0x2c6630-_0x12733b['from'],!0x1,!0x1)+_0x12733b['from']);return _0x2c6630;}),kk=_0x5d1955=>Ck(_0x5d1955,!0x1,!0x0),xk=_0x46abb8=>Ck(_0x46abb8,!0x0,!0x1),Rk=(_0x476b4a,_0x3b72fd)=>Ik(_0x476b4a,_0x3c2ae4=>{let _0x2bdcf1=_0x3c2ae4['head'],{state:_0x434468}=_0x476b4a,_0x26a26c=_0x434468['doc']['lineAt'](_0x2bdcf1),_0x5af0d2=_0x434468['charCategorizer'](_0x2bdcf1);for(let _0x3d1b4b=null;;){if(_0x2bdcf1==(_0x3b72fd?_0x26a26c['to']:_0x26a26c['from'])){_0x2bdcf1==_0x3c2ae4['head']&&_0x26a26c['number']!=(_0x3b72fd?_0x434468['doc']['lines']:0x1)&&(_0x2bdcf1+=_0x3b72fd?0x1:-0x1);break;}let _0xfa9bc=gy(_0x26a26c['text'],_0x2bdcf1-_0x26a26c['from'],_0x3b72fd)+_0x26a26c['from'],_0x403d2b=_0x26a26c['text']['slice'](Math['min'](_0x2bdcf1,_0xfa9bc)-_0x26a26c['from'],Math['max'](_0x2bdcf1,_0xfa9bc)-_0x26a26c['from']),_0x1c8b0a=_0x5af0d2(_0x403d2b);if(null!=_0x3d1b4b&&_0x1c8b0a!=_0x3d1b4b)break;'\x20'==_0x403d2b&&_0x2bdcf1==_0x3c2ae4['head']||(_0x3d1b4b=_0x1c8b0a),_0x2bdcf1=_0xfa9bc;}return _0x2bdcf1;}),Pk=_0xcedfbd=>Rk(_0xcedfbd,!0x1);function Mk(_0x33d911){let _0xecdf22=[],_0x5eb709=-0x1;for(let _0x4ae370 of _0x33d911['selection']['ranges']){let _0x56bf4c=_0x33d911['doc']['lineAt'](_0x4ae370['from']),_0x1e77dd=_0x33d911['doc']['lineAt'](_0x4ae370['to']);if(_0x4ae370['empty']||_0x4ae370['to']!=_0x1e77dd['from']||(_0x1e77dd=_0x33d911['doc']['lineAt'](_0x4ae370['to']-0x1)),_0x5eb709>=_0x56bf4c['number']){let _0x3fffd4=_0xecdf22[_0xecdf22['length']-0x1];_0x3fffd4['to']=_0x1e77dd['to'],_0x3fffd4['ranges']['push'](_0x4ae370);}else _0xecdf22['push']({'from':_0x56bf4c['from'],'to':_0x1e77dd['to'],'ranges':[_0x4ae370]});_0x5eb709=_0x1e77dd['number']+0x1;}return _0xecdf22;}function Nk(_0x113b8f,_0x514f5b,_0x1fa5cf){if(_0x113b8f['readOnly'])return!0x1;let _0x1e8fd5=[],_0x51e727=[];for(let _0x11490d of Mk(_0x113b8f)){if(_0x1fa5cf?_0x11490d['to']==_0x113b8f['doc']['length']:0x0==_0x11490d['from'])continue;let _0x586540=_0x113b8f['doc']['lineAt'](_0x1fa5cf?_0x11490d['to']+0x1:_0x11490d['from']-0x1),_0x30af20=_0x586540['length']+0x1;if(_0x1fa5cf){_0x1e8fd5['push']({'from':_0x11490d['to'],'to':_0x586540['to']},{'from':_0x11490d['from'],'insert':_0x586540['text']+_0x113b8f['lineBreak']});for(let _0x236f41 of _0x11490d['ranges'])_0x51e727['push'](EditorSelection['range'](Math['min'](_0x113b8f['doc']['length'],_0x236f41['anchor']+_0x30af20),Math['min'](_0x113b8f['doc']['length'],_0x236f41['head']+_0x30af20)));}else{_0x1e8fd5['push']({'from':_0x586540['from'],'to':_0x11490d['from']},{'from':_0x11490d['to'],'insert':_0x113b8f['lineBreak']+_0x586540['text']});for(let _0x2b5820 of _0x11490d['ranges'])_0x51e727['push'](EditorSelection['range'](_0x2b5820['anchor']-_0x30af20,_0x2b5820['head']-_0x30af20));}}return!!_0x1e8fd5['length']&&(_0x514f5b(_0x113b8f['update']({'changes':_0x1e8fd5,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x51e727,_0x113b8f['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function Lk(_0x75c5b5,_0x16d407,_0x188822){if(_0x75c5b5['readOnly'])return!0x1;let _0x17d210=[];for(let _0x6d037e of Mk(_0x75c5b5))_0x188822?_0x17d210['push']({'from':_0x6d037e['from'],'insert':_0x75c5b5['doc']['slice'](_0x6d037e['from'],_0x6d037e['to'])+_0x75c5b5['lineBreak']}):_0x17d210['push']({'from':_0x6d037e['to'],'insert':_0x75c5b5['lineBreak']+_0x75c5b5['doc']['slice'](_0x6d037e['from'],_0x6d037e['to'])});return _0x16d407(_0x75c5b5['update']({'changes':_0x17d210,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const Dk=$k(!0x1),Qk=$k(!0x0);function $k(_0x298268){return({state:_0x2cb85e,dispatch:_0x182875})=>{if(_0x2cb85e['readOnly'])return!0x1;let _0x20e54b=_0x2cb85e['changeByRange'](_0x59fdc2=>{let {from:_0x986831,to:_0x265d7a}=_0x59fdc2,_0x1bb2b4=_0x2cb85e['doc']['lineAt'](_0x986831),_0x5633ef=!_0x298268&&_0x986831==_0x265d7a&&function(_0x5352c2,_0x450457){if(/\(\)|\[\]|\{\}/['test'](_0x5352c2['sliceDoc'](_0x450457-0x1,_0x450457+0x1)))return{'from':_0x450457,'to':_0x450457};let _0x2f741e,_0x765b5d=KI(_0x5352c2)['resolveInner'](_0x450457),_0x219f10=_0x765b5d['childBefore'](_0x450457),_0x3e6f4b=_0x765b5d['childAfter'](_0x450457);return _0x219f10&&_0x3e6f4b&&_0x219f10['to']<=_0x450457&&_0x3e6f4b['from']>=_0x450457&&(_0x2f741e=_0x219f10['type']['prop'](NodeProp['closedBy']))&&_0x2f741e['indexOf'](_0x3e6f4b['name'])>-0x1&&_0x5352c2['doc']['lineAt'](_0x219f10['to'])['from']==_0x5352c2['doc']['lineAt'](_0x3e6f4b['from'])['from']&&!/\S/['test'](_0x5352c2['sliceDoc'](_0x219f10['to'],_0x3e6f4b['from']))?{'from':_0x219f10['to'],'to':_0x3e6f4b['from']}:null;}(_0x2cb85e,_0x986831);_0x298268&&(_0x986831=_0x265d7a=(_0x265d7a<=_0x1bb2b4['to']?_0x1bb2b4:_0x2cb85e['doc']['lineAt'](_0x265d7a))['to']);let _0x59854f=new IndentContext(_0x2cb85e,{'simulateBreak':_0x986831,'simulateDoubleBreak':!!_0x5633ef}),_0x8b17d5=lS(_0x59854f,_0x986831);for(null==_0x8b17d5&&(_0x8b17d5=m_(/^\s*/['exec'](_0x2cb85e['doc']['lineAt'](_0x986831)['text'])[0x0],_0x2cb85e['tabSize']));_0x265d7a<_0x1bb2b4['to']&&/\s/['test'](_0x1bb2b4['text'][_0x265d7a-_0x1bb2b4['from']]);)_0x265d7a++;_0x5633ef?{from:_0x986831,to:_0x265d7a}=_0x5633ef:_0x986831>_0x1bb2b4['from']&&_0x986831<_0x1bb2b4['from']+0x64&&!/\S/['test'](_0x1bb2b4['text']['slice'](0x0,_0x986831))&&(_0x986831=_0x1bb2b4['from']);let _0x4e4033=['',cS(_0x2cb85e,_0x8b17d5)];return _0x5633ef&&_0x4e4033['push'](cS(_0x2cb85e,_0x59854f['lineIndent'](_0x1bb2b4['from'],-0x1))),{'changes':{'from':_0x986831,'to':_0x265d7a,'insert':Text['of'](_0x4e4033)},'range':EditorSelection['cursor'](_0x986831+0x1+_0x4e4033[0x1]['length'])};});return _0x182875(_0x2cb85e['update'](_0x20e54b,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function Vk(_0x3ac6bd,_0xb84dc6){let _0x198aab=-0x1;return _0x3ac6bd['changeByRange'](_0x481840=>{let _0x3b9491=[];for(let _0x3525f2=_0x481840['from'];_0x3525f2<=_0x481840['to'];){let _0x38d8f8=_0x3ac6bd['doc']['lineAt'](_0x3525f2);_0x38d8f8['number']>_0x198aab&&(_0x481840['empty']||_0x481840['to']>_0x38d8f8['from'])&&(_0xb84dc6(_0x38d8f8,_0x3b9491,_0x481840),_0x198aab=_0x38d8f8['number']),_0x3525f2=_0x38d8f8['to']+0x1;}let _0x30976c=_0x3ac6bd['changes'](_0x3b9491);return{'changes':_0x3b9491,'range':EditorSelection['range'](_0x30976c['mapPos'](_0x481840['anchor'],0x1),_0x30976c['mapPos'](_0x481840['head'],0x1))};});}const Uk=({state:_0x568a32,dispatch:_0x15006e})=>!_0x568a32['readOnly']&&(_0x15006e(_0x568a32['update'](Vk(_0x568a32,(_0x53e33e,_0x4e926d)=>{_0x4e926d['push']({'from':_0x53e33e['from'],'insert':_0x568a32['facet'](oS)});}),{'userEvent':'input.indent'})),!0x0),Bk=({state:_0x3f90a2,dispatch:_0xb08d3e})=>!_0x3f90a2['readOnly']&&(_0xb08d3e(_0x3f90a2['update'](Vk(_0x3f90a2,(_0x5d8877,_0x20d094)=>{let _0x396059=/^\s*/['exec'](_0x5d8877['text'])[0x0];if(!_0x396059)return;let _0x475ca9=m_(_0x396059,_0x3f90a2['tabSize']),_0x4830f4=0x0,_0x3c541e=cS(_0x3f90a2,Math['max'](0x0,_0x475ca9-aS(_0x3f90a2)));for(;_0x4830f4<_0x396059['length']&&_0x4830f4<_0x3c541e['length']&&_0x396059['charCodeAt'](_0x4830f4)==_0x3c541e['charCodeAt'](_0x4830f4);)_0x4830f4++;_0x20d094['push']({'from':_0x5d8877['from']+_0x4830f4,'to':_0x5d8877['from']+_0x396059['length'],'insert':_0x3c541e['slice'](_0x4830f4)});}),{'userEvent':'delete.dedent'})),!0x0),Fk=_0x118490=>(_0x118490['setTabFocusMode'](),!0x0),jk=[{'key':'Ctrl-b','run':KC,'shift':fk,'preventDefault':!0x0},{'key':'Ctrl-f','run':JC,'shift':mk},{'key':'Ctrl-p','run':nk,'shift':Ok},{'key':'Ctrl-n','run':rk,'shift':wk},{'key':'Ctrl-a','run':_0x10921c=>qC(_0x10921c,_0x50a5ec=>EditorSelection['cursor'](_0x10921c['lineBlockAt'](_0x50a5ec['head'])['from'],0x1)),'shift':_0x40411d=>uk(_0x40411d,_0x4968c1=>EditorSelection['cursor'](_0x40411d['lineBlockAt'](_0x4968c1['head'])['from']))},{'key':'Ctrl-e','run':_0x367833=>qC(_0x367833,_0x564085=>EditorSelection['cursor'](_0x367833['lineBlockAt'](_0x564085['head'])['to'],-0x1)),'shift':_0x659912=>uk(_0x659912,_0x178967=>EditorSelection['cursor'](_0x659912['lineBlockAt'](_0x178967['head'])['to']))},{'key':'Ctrl-d','run':xk},{'key':'Ctrl-h','run':kk},{'key':'Ctrl-k','run':_0x27efe6=>Ik(_0x27efe6,_0x21e1dc=>{let _0x3585b2=_0x27efe6['lineBlockAt'](_0x21e1dc['head'])['to'];return _0x21e1dc['head']<_0x3585b2?_0x3585b2:Math['min'](_0x27efe6['state']['doc']['length'],_0x21e1dc['head']+0x1);})},{'key':'Ctrl-Alt-h','run':Pk},{'key':'Ctrl-o','run':({state:_0xffef97,dispatch:_0x594f4e})=>{if(_0xffef97['readOnly'])return!0x1;let _0x364259=_0xffef97['changeByRange'](_0x354963=>({'changes':{'from':_0x354963['from'],'to':_0x354963['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x354963['from'])}));return _0x594f4e(_0xffef97['update'](_0x364259,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x250fa2,dispatch:_0x2e4111})=>{if(_0x250fa2['readOnly'])return!0x1;let _0x249ec7=_0x250fa2['changeByRange'](_0x313a3b=>{if(!_0x313a3b['empty']||0x0==_0x313a3b['from']||_0x313a3b['from']==_0x250fa2['doc']['length'])return{'range':_0x313a3b};let _0x36ab9b=_0x313a3b['from'],_0x33ddb6=_0x250fa2['doc']['lineAt'](_0x36ab9b),_0x4073a6=_0x36ab9b==_0x33ddb6['from']?_0x36ab9b-0x1:gy(_0x33ddb6['text'],_0x36ab9b-_0x33ddb6['from'],!0x1)+_0x33ddb6['from'],_0x52f507=_0x36ab9b==_0x33ddb6['to']?_0x36ab9b+0x1:gy(_0x33ddb6['text'],_0x36ab9b-_0x33ddb6['from'],!0x0)+_0x33ddb6['from'];return{'changes':{'from':_0x4073a6,'to':_0x52f507,'insert':_0x250fa2['doc']['slice'](_0x36ab9b,_0x52f507)['append'](_0x250fa2['doc']['slice'](_0x4073a6,_0x36ab9b))},'range':EditorSelection['cursor'](_0x52f507)};});return!_0x249ec7['changes']['empty']&&(_0x2e4111(_0x250fa2['update'](_0x249ec7,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':lk}],Hk=[{'key':'ArrowLeft','run':KC,'shift':fk,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x3a9f49=>tk(_0x3a9f49,!YC(_0x3a9f49)),'shift':_0x1d7c7d=>gk(_0x1d7c7d,!YC(_0x1d7c7d)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x2a67c2=>qC(_0x2a67c2,_0x188209=>hk(_0x2a67c2,_0x188209,!YC(_0x2a67c2))),'shift':_0x241633=>uk(_0x241633,_0x45d9f3=>hk(_0x241633,_0x45d9f3,!YC(_0x241633))),'preventDefault':!0x0},{'key':'ArrowRight','run':JC,'shift':mk,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x13aa88=>tk(_0x13aa88,YC(_0x13aa88)),'shift':_0x10d307=>gk(_0x10d307,YC(_0x10d307)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x561d19=>qC(_0x561d19,_0xe12a07=>hk(_0x561d19,_0xe12a07,YC(_0x561d19))),'shift':_0x35b811=>uk(_0x35b811,_0x36e861=>hk(_0x35b811,_0x36e861,YC(_0x35b811))),'preventDefault':!0x0},{'key':'ArrowUp','run':nk,'shift':Ok,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':vk,'shift':Ek},{'mac':'Ctrl-ArrowUp','run':ck,'shift':yk},{'key':'ArrowDown','run':rk,'shift':wk,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':Tk,'shift':Ak},{'mac':'Ctrl-ArrowDown','run':lk,'shift':_k},{'key':'PageUp','run':ck,'shift':yk},{'key':'PageDown','run':lk,'shift':_k},{'key':'Home','run':_0x322a87=>qC(_0x322a87,_0x221cec=>hk(_0x322a87,_0x221cec,!0x1)),'shift':_0x948085=>uk(_0x948085,_0x3a6ae7=>hk(_0x948085,_0x3a6ae7,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':vk,'shift':Ek},{'key':'End','run':_0x478fe8=>qC(_0x478fe8,_0x2129e9=>hk(_0x478fe8,_0x2129e9,!0x0)),'shift':_0x15e1f3=>uk(_0x15e1f3,_0x57c377=>hk(_0x15e1f3,_0x57c377,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':Tk,'shift':Ak},{'key':'Enter','run':Dk,'shift':Dk},{'key':'Mod-a','run':({state:_0x79ddae,dispatch:_0x5c4d2a})=>(_0x5c4d2a(_0x79ddae['update']({'selection':{'anchor':0x0,'head':_0x79ddae['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':kk,'shift':kk},{'key':'Delete','run':xk},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':Pk},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x4cdf42=>Rk(_0x4cdf42,!0x0)},{'mac':'Mod-Backspace','run':_0x318665=>Ik(_0x318665,_0x232125=>{let _0x4684e6=_0x318665['moveToLineBoundary'](_0x232125,!0x1)['head'];return _0x232125['head']>_0x4684e6?_0x4684e6:Math['max'](0x0,_0x232125['head']-0x1);})},{'mac':'Mod-Delete','run':_0x4c44c5=>Ik(_0x4c44c5,_0x59d619=>{let _0x308078=_0x4c44c5['moveToLineBoundary'](_0x59d619,!0x0)['head'];return _0x59d619['head']<_0x308078?_0x308078:Math['min'](_0x4c44c5['state']['doc']['length'],_0x59d619['head']+0x1);})}]['concat'](jk['map'](_0x372001=>({'mac':_0x372001['key'],'run':_0x372001['run'],'shift':_0x372001['shift']}))),Gk=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x2ff722=>qC(_0x2ff722,_0x4faefa=>ik(_0x2ff722['state'],_0x4faefa,!YC(_0x2ff722))),'shift':_0x5c8b5a=>uk(_0x5c8b5a,_0x3646ed=>ik(_0x5c8b5a['state'],_0x3646ed,!YC(_0x5c8b5a)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x28387d=>qC(_0x28387d,_0x1c23b3=>ik(_0x28387d['state'],_0x1c23b3,YC(_0x28387d))),'shift':_0x37f157=>uk(_0x37f157,_0x4e02a7=>ik(_0x37f157['state'],_0x4e02a7,YC(_0x37f157)))},{'key':'Alt-ArrowUp','run':({state:_0x6cb3de,dispatch:_0x5dba00})=>Nk(_0x6cb3de,_0x5dba00,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x528480,dispatch:_0x4cc9de})=>Lk(_0x528480,_0x4cc9de,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x2a2afb,dispatch:_0x1829af})=>Nk(_0x2a2afb,_0x1829af,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x58a973,dispatch:_0x2ee1b0})=>Lk(_0x58a973,_0x2ee1b0,!0x0)},{'key':'Escape','run':({state:_0xa8a50a,dispatch:_0xc6f05e})=>{let _0x8ca17f=_0xa8a50a['selection'],_0x2463cc=null;return _0x8ca17f['ranges']['length']>0x1?_0x2463cc=EditorSelection['create']([_0x8ca17f['main']]):_0x8ca17f['main']['empty']||(_0x2463cc=EditorSelection['create']([EditorSelection['cursor'](_0x8ca17f['main']['head'])])),!!_0x2463cc&&(_0xc6f05e(XC(_0xa8a50a,_0x2463cc)),!0x0);}},{'key':'Mod-Enter','run':Qk},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x3f08d9,dispatch:_0x5d1693})=>{let _0x2ce3b3=Mk(_0x3f08d9)['map'](({from:_0x3f86df,to:_0x281743})=>EditorSelection['range'](_0x3f86df,Math['min'](_0x281743+0x1,_0x3f08d9['doc']['length'])));return _0x5d1693(_0x3f08d9['update']({'selection':EditorSelection['create'](_0x2ce3b3),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x2291ff,dispatch:_0x1865de})=>{let _0x14b957=ZC(_0x2291ff['selection'],_0x3a6d0b=>{let _0x2cf433=KI(_0x2291ff),_0x56a8f7=_0x2cf433['resolveStack'](_0x3a6d0b['from'],0x1);if(_0x3a6d0b['empty']){let _0x306e47=_0x2cf433['resolveStack'](_0x3a6d0b['from'],-0x1);_0x306e47['node']['from']>=_0x56a8f7['node']['from']&&_0x306e47['node']['to']<=_0x56a8f7['node']['to']&&(_0x56a8f7=_0x306e47);}for(let _0x1a8f15=_0x56a8f7;_0x1a8f15;_0x1a8f15=_0x1a8f15['next']){let {node:_0x57bf1d}=_0x1a8f15;if((_0x57bf1d['from']<_0x3a6d0b['from']&&_0x57bf1d['to']>=_0x3a6d0b['to']||_0x57bf1d['to']>_0x3a6d0b['to']&&_0x57bf1d['from']<=_0x3a6d0b['from'])&&_0x1a8f15['next'])return EditorSelection['range'](_0x57bf1d['to'],_0x57bf1d['from']);}return _0x3a6d0b;});return!_0x14b957['eq'](_0x2291ff['selection'])&&(_0x1865de(XC(_0x2291ff,_0x14b957)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':Bk},{'key':'Mod-]','run':Uk},{'key':'Mod-Alt-\x5c','run':({state:_0x197e36,dispatch:_0x4b541e})=>{if(_0x197e36['readOnly'])return!0x1;let _0x56c150=Object['create'](null),_0x400161=new IndentContext(_0x197e36,{'overrideIndentation':_0x5d57f5=>{let _0x1b4acc=_0x56c150[_0x5d57f5];return null==_0x1b4acc?-0x1:_0x1b4acc;}}),_0x4422c0=Vk(_0x197e36,(_0x113db9,_0x1a3eeb,_0x389b9c)=>{let _0x5a9d92=lS(_0x400161,_0x113db9['from']);if(null==_0x5a9d92)return;/\S/['test'](_0x113db9['text'])||(_0x5a9d92=0x0);let _0x51f9d4=/^\s*/['exec'](_0x113db9['text'])[0x0],_0x2fd097=cS(_0x197e36,_0x5a9d92);(_0x51f9d4!=_0x2fd097||_0x389b9c['from']<_0x113db9['from']+_0x51f9d4['length'])&&(_0x56c150[_0x113db9['from']]=_0x5a9d92,_0x1a3eeb['push']({'from':_0x113db9['from'],'to':_0x113db9['from']+_0x51f9d4['length'],'insert':_0x2fd097}));});return _0x4422c0['changes']['empty']||_0x4b541e(_0x197e36['update'](_0x4422c0,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x212544=>{if(_0x212544['state']['readOnly'])return!0x1;let {state:_0x2ed78d}=_0x212544,_0x372fc3=_0x2ed78d['changes'](Mk(_0x2ed78d)['map'](({from:_0x187be3,to:_0x341c09})=>(_0x187be3>0x0?_0x187be3--:_0x341c09<_0x2ed78d['doc']['length']&&_0x341c09++,{'from':_0x187be3,'to':_0x341c09}))),_0x12fe02=ZC(_0x2ed78d['selection'],_0x2e4731=>{let _0x294d63;if(_0x212544['lineWrapping']){let _0x496aa2=_0x212544['lineBlockAt'](_0x2e4731['head']),_0x31c6bf=_0x212544['coordsAtPos'](_0x2e4731['head'],_0x2e4731['assoc']||0x1);_0x31c6bf&&(_0x294d63=_0x496aa2['bottom']+_0x212544['documentTop']-_0x31c6bf['bottom']+_0x212544['defaultLineHeight']/0x2);}return _0x212544['moveVertically'](_0x2e4731,!0x0,_0x294d63);})['map'](_0x372fc3);return _0x212544['dispatch']({'changes':_0x372fc3,'selection':_0x12fe02,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x9e45ab,dispatch:_0x1a0059})=>function(_0x1c79b2,_0x3cd3c8){let _0x3a150e=!0x1,_0x490997=ZC(_0x1c79b2['selection'],_0x37499c=>{let _0x502ee3=cC(_0x1c79b2,_0x37499c['head'],-0x1)||cC(_0x1c79b2,_0x37499c['head'],0x1)||_0x37499c['head']>0x0&&cC(_0x1c79b2,_0x37499c['head']-0x1,0x1)||_0x37499c['head']<_0x1c79b2['doc']['length']&&cC(_0x1c79b2,_0x37499c['head']+0x1,-0x1);if(!_0x502ee3||!_0x502ee3['end'])return _0x37499c;_0x3a150e=!0x0;let _0x2e458a=_0x502ee3['start']['from']==_0x37499c['head']?_0x502ee3['end']['to']:_0x502ee3['end']['from'];return EditorSelection['cursor'](_0x2e458a);});return!!_0x3a150e&&(_0x3cd3c8(XC(_0x1c79b2,_0x490997)),!0x0);}(_0x9e45ab,_0x1a0059)},{'key':'Mod-/','run':_0x2d43b2=>{let {state:_0x10c84c}=_0x2d43b2,_0x4c1404=_0x10c84c['doc']['lineAt'](_0x10c84c['selection']['main']['from']),_0x4a6f34=_C(_0x2d43b2['state'],_0x4c1404['from']);return _0x4a6f34['line']?wC(_0x2d43b2):!!_0x4a6f34['block']&&yC(_0x2d43b2);}},{'key':'Alt-A','run':bC},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':Fk}]['concat'](Hk);class CompletionContext{constructor(_0x1fb95f,_0x42ea21,_0x35b31f,_0x227afb){this['state']=_0x1fb95f,this['pos']=_0x42ea21,this['explicit']=_0x35b31f,this['view']=_0x227afb,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x4046f5){let _0x24a911=KI(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x24a911&&_0x4046f5['indexOf'](_0x24a911['name'])<0x0;)_0x24a911=_0x24a911['parent'];return _0x24a911?{'from':_0x24a911['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x24a911['from'],this['pos']),'type':_0x24a911['type']}:null;}['matchBefore'](_0x2661e4){let _0x21190c=this['state']['doc']['lineAt'](this['pos']),_0x163df7=Math['max'](_0x21190c['from'],this['pos']-0xfa),_0x3e1358=_0x21190c['text']['slice'](_0x163df7-_0x21190c['from'],this['pos']-_0x21190c['from']),_0x39a787=_0x3e1358['search'](Wk(_0x2661e4,!0x1));return _0x39a787<0x0?null:{'from':_0x163df7+_0x39a787,'to':this['pos'],'text':_0x3e1358['slice'](_0x39a787)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x3cbf8c,_0x35b360,_0x420e29){'abort'==_0x3cbf8c&&this['abortListeners']&&(this['abortListeners']['push'](_0x35b360),_0x420e29&&_0x420e29['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function Zk(_0x428ce0){let _0x31bf0f=Object['keys'](_0x428ce0)['join'](''),_0x5a15ea=/\w/['test'](_0x31bf0f);return _0x5a15ea&&(_0x31bf0f=_0x31bf0f['replace'](/\w/g,'')),'['+(_0x5a15ea?'\x5cw':'')+_0x31bf0f['replace'](/[^\w\s]/g,'\x5c$&')+']';}function Xk(_0x327fce){let _0x5abf14=_0x327fce['map'](_0x67cbfa=>'string'==typeof _0x67cbfa?{'label':_0x67cbfa}:_0x67cbfa),[_0x9511f2,_0xe61554]=_0x5abf14['every'](_0x19c0f3=>/^\w+$/['test'](_0x19c0f3['label']))?[/\w*$/,/\w+$/]:function(_0x113fbc){let _0x5e178f=Object['create'](null),_0x1e87cb=Object['create'](null);for(let {label:_0x15f217}of _0x113fbc){_0x5e178f[_0x15f217[0x0]]=!0x0;for(let _0x4f1750=0x1;_0x4f1750<_0x15f217['length'];_0x4f1750++)_0x1e87cb[_0x15f217[_0x4f1750]]=!0x0;}let _0x489796=Zk(_0x5e178f)+Zk(_0x1e87cb)+'*$';return[new RegExp('^'+_0x489796),new RegExp(_0x489796)];}(_0x5abf14);return _0x405bb8=>{let _0x35cf22=_0x405bb8['matchBefore'](_0xe61554);return _0x35cf22||_0x405bb8['explicit']?{'from':_0x35cf22?_0x35cf22['from']:_0x405bb8['pos'],'options':_0x5abf14,'validFor':_0x9511f2}:null;};}class Option{constructor(_0x45e705,_0xfd0060,_0x447b8b,_0x2741b9){this['completion']=_0x45e705,this['source']=_0xfd0060,this['match']=_0x447b8b,this['score']=_0x2741b9;}}function qk(_0x4ddece){return _0x4ddece['selection']['main']['from'];}function Wk(_0x45e6b1,_0xf2b592){var _0x512855;let {source:_0x4f9140}=_0x45e6b1,_0xba0a08=_0xf2b592&&'^'!=_0x4f9140[0x0],_0x4d1e24='$'!=_0x4f9140[_0x4f9140['length']-0x1];return _0xba0a08||_0x4d1e24?new RegExp((_0xba0a08?'^':'')+'(?:'+_0x4f9140+')'+(_0x4d1e24?'$':''),null!==(_0x512855=_0x45e6b1['flags'])&&void 0x0!==_0x512855?_0x512855:_0x45e6b1['ignoreCase']?'i':''):_0x45e6b1;}const zk=Annotation['define']();function Yk(_0x5893af,_0x318878,_0x2efcac,_0x47e2c6){let {main:_0x107a8d}=_0x5893af['selection'],_0x3a0dd7=_0x2efcac-_0x107a8d['from'],_0x1d6f40=_0x47e2c6-_0x107a8d['from'];return{..._0x5893af['changeByRange'](_0x56f2aa=>{if(_0x56f2aa!=_0x107a8d&&_0x2efcac!=_0x47e2c6&&_0x5893af['sliceDoc'](_0x56f2aa['from']+_0x3a0dd7,_0x56f2aa['from']+_0x1d6f40)!=_0x5893af['sliceDoc'](_0x2efcac,_0x47e2c6))return{'range':_0x56f2aa};let _0x129cd0=_0x5893af['toText'](_0x318878);return{'changes':{'from':_0x56f2aa['from']+_0x3a0dd7,'to':_0x47e2c6==_0x107a8d['from']?_0x56f2aa['to']:_0x56f2aa['from']+_0x1d6f40,'insert':_0x129cd0},'range':EditorSelection['cursor'](_0x56f2aa['from']+_0x3a0dd7+_0x129cd0['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const Kk=new WeakMap();function Jk(_0x3915bc){if(!Array['isArray'](_0x3915bc))return _0x3915bc;let _0x176cd7=Kk['get'](_0x3915bc);return _0x176cd7||Kk['set'](_0x3915bc,_0x176cd7=Xk(_0x3915bc)),_0x176cd7;}const tx=StateEffect['define'](),ex=StateEffect['define']();class FuzzyMatcher{constructor(_0x1c830c){this['pattern']=_0x1c830c,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x1fdc60=0x0;_0x1fdc60<_0x1c830c['length'];){let _0x5ed9a4=py(_0x1c830c,_0x1fdc60),_0x3818fe=wy(_0x5ed9a4);this['chars']['push'](_0x5ed9a4);let _0x4d3294=_0x1c830c['slice'](_0x1fdc60,_0x1fdc60+_0x3818fe),_0x65cf97=_0x4d3294['toUpperCase']();this['folded']['push'](py(_0x65cf97==_0x4d3294?_0x4d3294['toLowerCase']():_0x65cf97,0x0)),_0x1fdc60+=_0x3818fe;}this['astral']=_0x1c830c['length']!=this['chars']['length'];}['ret'](_0x3af311,_0x930190){return this['score']=_0x3af311,this['matched']=_0x930190,this;}['match'](_0x146fb1){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x146fb1['length']<this['pattern']['length'])return null;let {chars:_0x68b856,folded:_0x3398f9,any:_0x95df47,precise:_0x3d2404,byWord:_0x895ba8}=this;if(0x1==_0x68b856['length']){let _0x352794=py(_0x146fb1,0x0),_0x4afa07=wy(_0x352794),_0x53bd1f=_0x4afa07==_0x146fb1['length']?0x0:-0x64;if(_0x352794==_0x68b856[0x0]);else{if(_0x352794!=_0x3398f9[0x0])return null;_0x53bd1f+=-0xc8;}return this['ret'](_0x53bd1f,[0x0,_0x4afa07]);}let _0x1d862f=_0x146fb1['indexOf'](this['pattern']);if(0x0==_0x1d862f)return this['ret'](_0x146fb1['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x33f1db=_0x68b856['length'],_0x1fccac=0x0;if(_0x1d862f<0x0){for(let _0x7fbed2=0x0,_0x263b84=Math['min'](_0x146fb1['length'],0xc8);_0x7fbed2<_0x263b84&&_0x1fccac<_0x33f1db;){let _0x5b2daa=py(_0x146fb1,_0x7fbed2);_0x5b2daa!=_0x68b856[_0x1fccac]&&_0x5b2daa!=_0x3398f9[_0x1fccac]||(_0x95df47[_0x1fccac++]=_0x7fbed2),_0x7fbed2+=wy(_0x5b2daa);}if(_0x1fccac<_0x33f1db)return null;}let _0x348e93=0x0,_0x4bfc53=0x0,_0x44070a=!0x1,_0x32bf60=0x0,_0x1279ae=-0x1,_0x2611a2=-0x1,_0x5dcf44=/[a-z]/['test'](_0x146fb1),_0x4c4956=!0x0;for(let _0x5fca00=0x0,_0x2342ca=Math['min'](_0x146fb1['length'],0xc8),_0x1ac59f=0x0;_0x5fca00<_0x2342ca&&_0x4bfc53<_0x33f1db;){let _0x48641a=py(_0x146fb1,_0x5fca00);_0x1d862f<0x0&&(_0x348e93<_0x33f1db&&_0x48641a==_0x68b856[_0x348e93]&&(_0x3d2404[_0x348e93++]=_0x5fca00),_0x32bf60<_0x33f1db&&(_0x48641a==_0x68b856[_0x32bf60]||_0x48641a==_0x3398f9[_0x32bf60]?(0x0==_0x32bf60&&(_0x1279ae=_0x5fca00),_0x2611a2=_0x5fca00+0x1,_0x32bf60++):_0x32bf60=0x0));let _0x27b63a,_0x422c68=_0x48641a<0xff?_0x48641a>=0x30&&_0x48641a<=0x39||_0x48641a>=0x61&&_0x48641a<=0x7a?0x2:_0x48641a>=0x41&&_0x48641a<=0x5a?0x1:0x0:(_0x27b63a=Oy(_0x48641a))!=_0x27b63a['toLowerCase']()?0x1:_0x27b63a!=_0x27b63a['toUpperCase']()?0x2:0x0;(!_0x5fca00||0x1==_0x422c68&&_0x5dcf44||0x0==_0x1ac59f&&0x0!=_0x422c68)&&(_0x68b856[_0x4bfc53]==_0x48641a||_0x3398f9[_0x4bfc53]==_0x48641a&&(_0x44070a=!0x0)?_0x895ba8[_0x4bfc53++]=_0x5fca00:_0x895ba8['length']&&(_0x4c4956=!0x1)),_0x1ac59f=_0x422c68,_0x5fca00+=wy(_0x48641a);}return _0x4bfc53==_0x33f1db&&0x0==_0x895ba8[0x0]&&_0x4c4956?this['result']((_0x44070a?-0xc8:0x0)-0x64,_0x895ba8,_0x146fb1):_0x32bf60==_0x33f1db&&0x0==_0x1279ae?this['ret'](-0xc8-_0x146fb1['length']+(_0x2611a2==_0x146fb1['length']?0x0:-0x64),[0x0,_0x2611a2]):_0x1d862f>-0x1?this['ret'](-0x2bc-_0x146fb1['length'],[_0x1d862f,_0x1d862f+this['pattern']['length']]):_0x32bf60==_0x33f1db?this['ret'](-0x384-_0x146fb1['length'],[_0x1279ae,_0x2611a2]):_0x4bfc53==_0x33f1db?this['result']((_0x44070a?-0xc8:0x0)-0x64-0x2bc+(_0x4c4956?0x0:-0x44c),_0x895ba8,_0x146fb1):0x2==_0x68b856['length']?null:this['result']((_0x95df47[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x95df47,_0x146fb1);}['result'](_0x441e95,_0x175def,_0x5b886a){let _0x2e617d=[],_0x1b4a1c=0x0;for(let _0x1eff02 of _0x175def){let _0x1883af=_0x1eff02+(this['astral']?wy(py(_0x5b886a,_0x1eff02)):0x1);_0x1b4a1c&&_0x2e617d[_0x1b4a1c-0x1]==_0x1eff02?_0x2e617d[_0x1b4a1c-0x1]=_0x1883af:(_0x2e617d[_0x1b4a1c++]=_0x1eff02,_0x2e617d[_0x1b4a1c++]=_0x1883af);}return this['ret'](_0x441e95-_0x5b886a['length'],_0x2e617d);}}class StrictMatcher{constructor(_0x42fcdf){this['pattern']=_0x42fcdf,this['matched']=[],this['score']=0x0,this['folded']=_0x42fcdf['toLowerCase']();}['match'](_0x58b512){if(_0x58b512['length']<this['pattern']['length'])return null;let _0x550d74=_0x58b512['slice'](0x0,this['pattern']['length']),_0x591dd7=_0x550d74==this['pattern']?0x0:_0x550d74['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x591dd7?null:(this['matched']=[0x0,_0x550d74['length']],this['score']=_0x591dd7+(_0x58b512['length']==this['pattern']['length']?0x0:-0x64),this);}}const ix=Facet['define']({'combine':_0x15fda2=>n_(_0x15fda2,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':nx,'filterStrict':!0x1,'compareCompletions':(_0x3dbb1e,_0x27f937)=>_0x3dbb1e['label']['localeCompare'](_0x27f937['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x36c6b5,_0x8215bd)=>_0x36c6b5&&_0x8215bd,'closeOnBlur':(_0xf444a7,_0x100011)=>_0xf444a7&&_0x100011,'icons':(_0x39925e,_0x27990b)=>_0x39925e&&_0x27990b,'tooltipClass':(_0x26fd7c,_0x11708f)=>_0x5cf102=>sx(_0x26fd7c(_0x5cf102),_0x11708f(_0x5cf102)),'optionClass':(_0x2e32e4,_0x3c7f92)=>_0x359de0=>sx(_0x2e32e4(_0x359de0),_0x3c7f92(_0x359de0)),'addToOptions':(_0x1d0397,_0x48a199)=>_0x1d0397['concat'](_0x48a199),'filterStrict':(_0x10d382,_0x19c6a5)=>_0x10d382||_0x19c6a5})});function sx(_0x3e84b0,_0x41a1ac){return _0x3e84b0?_0x41a1ac?_0x3e84b0+'\x20'+_0x41a1ac:_0x3e84b0:_0x41a1ac;}function nx(_0x4a3760,_0x300296,_0x52bed4,_0x4836e2,_0x1b6249,_0x1c3662){let _0x58e471,_0x1829aa,_0x4e7261=_0x4a3760['textDirection']==vv['RTL'],_0x3be88e=_0x4e7261,_0x3aa2dd=!0x1,_0x255796='top',_0x979aec=_0x300296['left']-_0x1b6249['left'],_0x4e2ca9=_0x1b6249['right']-_0x300296['right'],_0x34a245=_0x4836e2['right']-_0x4836e2['left'],_0x2f8731=_0x4836e2['bottom']-_0x4836e2['top'];if(_0x3be88e&&_0x979aec<Math['min'](_0x34a245,_0x4e2ca9)?_0x3be88e=!0x1:!_0x3be88e&&_0x4e2ca9<Math['min'](_0x34a245,_0x979aec)&&(_0x3be88e=!0x0),_0x34a245<=(_0x3be88e?_0x979aec:_0x4e2ca9))_0x58e471=Math['max'](_0x1b6249['top'],Math['min'](_0x52bed4['top'],_0x1b6249['bottom']-_0x2f8731))-_0x300296['top'],_0x1829aa=Math['min'](0x190,_0x3be88e?_0x979aec:_0x4e2ca9);else{_0x3aa2dd=!0x0,_0x1829aa=Math['min'](0x190,(_0x4e7261?_0x300296['right']:_0x1b6249['right']-_0x300296['left'])-0x1e);let _0x32e961=_0x1b6249['bottom']-_0x300296['bottom'];_0x32e961>=_0x2f8731||_0x32e961>_0x300296['top']?_0x58e471=_0x52bed4['bottom']-_0x300296['top']:(_0x255796='bottom',_0x58e471=_0x300296['bottom']-_0x52bed4['top']);}return{'style':_0x255796+':\x20'+_0x58e471/((_0x300296['bottom']-_0x300296['top'])/_0x1c3662['offsetHeight'])+'px;\x20max-width:\x20'+_0x1829aa/((_0x300296['right']-_0x300296['left'])/_0x1c3662['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x3aa2dd?_0x4e7261?'left-narrow':'right-narrow':_0x3be88e?'left':'right')};}function rx(_0x15943d,_0x3e723b,_0x2b5e5b){if(_0x15943d<=_0x2b5e5b)return{'from':0x0,'to':_0x15943d};if(_0x3e723b<0x0&&(_0x3e723b=0x0),_0x3e723b<=_0x15943d>>0x1){let _0x248ede=Math['floor'](_0x3e723b/_0x2b5e5b);return{'from':_0x248ede*_0x2b5e5b,'to':(_0x248ede+0x1)*_0x2b5e5b};}let _0x34e55=Math['floor']((_0x15943d-_0x3e723b)/_0x2b5e5b);return{'from':_0x15943d-(_0x34e55+0x1)*_0x2b5e5b,'to':_0x15943d-_0x34e55*_0x2b5e5b};}class CompletionTooltip{constructor(_0x2db59d,_0x3d8715,_0x57c312){this['view']=_0x2db59d,this['stateField']=_0x3d8715,this['applyCompletion']=_0x57c312,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x459ad6=>this['placeInfo'](_0x459ad6),'key':this},this['space']=null,this['currentClass']='';let _0x4b48a3=_0x2db59d['state']['field'](_0x3d8715),{options:_0x440724,selected:_0x383457}=_0x4b48a3['open'],_0x530670=_0x2db59d['state']['facet'](ix);this['optionContent']=function(_0x5dc9fc){let _0x5123ad=_0x5dc9fc['addToOptions']['slice']();return _0x5dc9fc['icons']&&_0x5123ad['push']({'render'(_0x2734a1){let _0x4c9fc5=document['createElement']('div');return _0x4c9fc5['classList']['add']('cm-completionIcon'),_0x2734a1['type']&&_0x4c9fc5['classList']['add'](..._0x2734a1['type']['split'](/\s+/g)['map'](_0x4f0239=>'cm-completionIcon-'+_0x4f0239)),_0x4c9fc5['setAttribute']('aria-hidden','true'),_0x4c9fc5;},'position':0x14}),_0x5123ad['push']({'render'(_0x52e646,_0x53be87,_0x3b499e,_0x461c21){let _0x51c96d=document['createElement']('span');_0x51c96d['className']='cm-completionLabel';let _0x59ec27=_0x52e646['displayLabel']||_0x52e646['label'],_0x3e1117=0x0;for(let _0x3d2a4b=0x0;_0x3d2a4b<_0x461c21['length'];){let _0x209dee=_0x461c21[_0x3d2a4b++],_0x300c15=_0x461c21[_0x3d2a4b++];_0x209dee>_0x3e1117&&_0x51c96d['appendChild'](document['createTextNode'](_0x59ec27['slice'](_0x3e1117,_0x209dee)));let _0x16e5a3=_0x51c96d['appendChild'](document['createElement']('span'));_0x16e5a3['appendChild'](document['createTextNode'](_0x59ec27['slice'](_0x209dee,_0x300c15))),_0x16e5a3['className']='cm-completionMatchedText',_0x3e1117=_0x300c15;}return _0x3e1117<_0x59ec27['length']&&_0x51c96d['appendChild'](document['createTextNode'](_0x59ec27['slice'](_0x3e1117))),_0x51c96d;},'position':0x32},{'render'(_0x38b68e){if(!_0x38b68e['detail'])return null;let _0x862173=document['createElement']('span');return _0x862173['className']='cm-completionDetail',_0x862173['textContent']=_0x38b68e['detail'],_0x862173;},'position':0x50}),_0x5123ad['sort']((_0x19a6a3,_0x47e14f)=>_0x19a6a3['position']-_0x47e14f['position'])['map'](_0x12a1b8=>_0x12a1b8['render']);}(_0x530670),this['optionClass']=_0x530670['optionClass'],this['tooltipClass']=_0x530670['tooltipClass'],this['range']=rx(_0x440724['length'],_0x383457,_0x530670['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x2db59d['state']),this['dom']['addEventListener']('mousedown',_0x2b6754=>{let {options:_0x4525c2}=_0x2db59d['state']['field'](_0x3d8715)['open'];for(let _0x3b2fe0,_0x3c8656=_0x2b6754['target'];_0x3c8656&&_0x3c8656!=this['dom'];_0x3c8656=_0x3c8656['parentNode'])if('LI'==_0x3c8656['nodeName']&&(_0x3b2fe0=/-(\d+)$/['exec'](_0x3c8656['id']))&&+_0x3b2fe0[0x1]<_0x4525c2['length'])return this['applyCompletion'](_0x2db59d,_0x4525c2[+_0x3b2fe0[0x1]]),void _0x2b6754['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x2ad97e=>{let _0x28fafa=_0x2db59d['state']['field'](this['stateField'],!0x1);_0x28fafa&&_0x28fafa['tooltip']&&_0x2db59d['state']['facet'](ix)['closeOnBlur']&&_0x2ad97e['relatedTarget']!=_0x2db59d['contentDOM']&&_0x2db59d['dispatch']({'effects':ex['of'](null)});}),this['showOptions'](_0x440724,_0x4b48a3['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x4296ba,_0x34b864){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x4296ba,_0x34b864,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x58527a){var _0x1f0f01;let _0x3d1194=_0x58527a['state']['field'](this['stateField']),_0x2f5b11=_0x58527a['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x58527a['state']),_0x3d1194!=_0x2f5b11){let {options:_0x91570c,selected:_0x248998,disabled:_0x5b1f53}=_0x3d1194['open'];_0x2f5b11['open']&&_0x2f5b11['open']['options']==_0x91570c||(this['range']=rx(_0x91570c['length'],_0x248998,_0x58527a['state']['facet'](ix)['maxRenderedOptions']),this['showOptions'](_0x91570c,_0x3d1194['id'])),this['updateSel'](),_0x5b1f53!=(null===(_0x1f0f01=_0x2f5b11['open'])||void 0x0===_0x1f0f01?void 0x0:_0x1f0f01['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x5b1f53);}}['updateTooltipClass'](_0x113240){let _0x23923e=this['tooltipClass'](_0x113240);if(_0x23923e!=this['currentClass']){for(let _0x527cdd of this['currentClass']['split']('\x20'))_0x527cdd&&this['dom']['classList']['remove'](_0x527cdd);for(let _0x3c2577 of _0x23923e['split']('\x20'))_0x3c2577&&this['dom']['classList']['add'](_0x3c2577);this['currentClass']=_0x23923e;}}['positioned'](_0x580f3d){this['space']=_0x580f3d,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x45dd97=this['view']['state']['field'](this['stateField']),_0x18bef9=_0x45dd97['open'];(_0x18bef9['selected']>-0x1&&_0x18bef9['selected']<this['range']['from']||_0x18bef9['selected']>=this['range']['to'])&&(this['range']=rx(_0x18bef9['options']['length'],_0x18bef9['selected'],this['view']['state']['facet'](ix)['maxRenderedOptions']),this['showOptions'](_0x18bef9['options'],_0x45dd97['id']));let _0x253f27=this['updateSelectedOption'](_0x18bef9['selected']);if(_0x253f27){this['destroyInfo']();let {completion:_0x203bef}=_0x18bef9['options'][_0x18bef9['selected']],{info:_0x20e6bf}=_0x203bef;if(!_0x20e6bf)return;let _0xbebe1f='string'==typeof _0x20e6bf?document['createTextNode'](_0x20e6bf):_0x20e6bf(_0x203bef);if(!_0xbebe1f)return;'then'in _0xbebe1f?_0xbebe1f['then'](_0x303e81=>{_0x303e81&&this['view']['state']['field'](this['stateField'],!0x1)==_0x45dd97&&this['addInfoPane'](_0x303e81,_0x203bef);})['catch'](_0x388bd4=>tT(this['view']['state'],_0x388bd4,'completion\x20info')):(this['addInfoPane'](_0xbebe1f,_0x203bef),_0x253f27['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x40aa9e,_0x389c03){this['destroyInfo']();let _0xfc1f9a=this['info']=document['createElement']('div');if(_0xfc1f9a['className']='cm-tooltip\x20cm-completionInfo',_0xfc1f9a['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x40aa9e['nodeType'])_0xfc1f9a['appendChild'](_0x40aa9e),this['infoDestroy']=null;else{let {dom:_0x693cd6,destroy:_0x1db8ec}=_0x40aa9e;_0xfc1f9a['appendChild'](_0x693cd6),this['infoDestroy']=_0x1db8ec||null;}this['dom']['appendChild'](_0xfc1f9a),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x1c1807){let _0x58fc5d=null;for(let _0x5f5644=this['list']['firstChild'],_0x7378e4=this['range']['from'];_0x5f5644;_0x5f5644=_0x5f5644['nextSibling'],_0x7378e4++)'LI'==_0x5f5644['nodeName']&&_0x5f5644['id']?_0x7378e4==_0x1c1807?_0x5f5644['hasAttribute']('aria-selected')||(_0x5f5644['setAttribute']('aria-selected','true'),_0x58fc5d=_0x5f5644):_0x5f5644['hasAttribute']('aria-selected')&&(_0x5f5644['removeAttribute']('aria-selected'),_0x5f5644['removeAttribute']('aria-describedby')):_0x7378e4--;return _0x58fc5d&&function(_0x437ddc,_0x1c5667){let _0x1b375a=_0x437ddc['getBoundingClientRect'](),_0x2243c8=_0x1c5667['getBoundingClientRect'](),_0x4c028d=_0x1b375a['height']/_0x437ddc['offsetHeight'];_0x2243c8['top']<_0x1b375a['top']?_0x437ddc['scrollTop']-=(_0x1b375a['top']-_0x2243c8['top'])/_0x4c028d:_0x2243c8['bottom']>_0x1b375a['bottom']&&(_0x437ddc['scrollTop']+=(_0x2243c8['bottom']-_0x1b375a['bottom'])/_0x4c028d);}(this['list'],_0x58fc5d),_0x58fc5d;}['measureInfo'](){let _0x4f49cd=this['dom']['querySelector']('[aria-selected]');if(!_0x4f49cd||!this['info'])return null;let _0x356931=this['dom']['getBoundingClientRect'](),_0x1fa383=this['info']['getBoundingClientRect'](),_0x1e3955=_0x4f49cd['getBoundingClientRect'](),_0x5f12d7=this['space'];if(!_0x5f12d7){let _0x11e833=this['dom']['ownerDocument']['documentElement'];_0x5f12d7={'left':0x0,'top':0x0,'right':_0x11e833['clientWidth'],'bottom':_0x11e833['clientHeight']};}return _0x1e3955['top']>Math['min'](_0x5f12d7['bottom'],_0x356931['bottom'])-0xa||_0x1e3955['bottom']<Math['max'](_0x5f12d7['top'],_0x356931['top'])+0xa?null:this['view']['state']['facet'](ix)['positionInfo'](this['view'],_0x356931,_0x1e3955,_0x1fa383,_0x5f12d7,this['dom']);}['placeInfo'](_0x45fc1d){this['info']&&(_0x45fc1d?(_0x45fc1d['style']&&(this['info']['style']['cssText']=_0x45fc1d['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x45fc1d['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x272877,_0x23ef18,_0x1e63ec){const _0x41ccdd=document['createElement']('ul');_0x41ccdd['id']=_0x23ef18,_0x41ccdd['setAttribute']('role','listbox'),_0x41ccdd['setAttribute']('aria-expanded','true'),_0x41ccdd['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x41ccdd['addEventListener']('mousedown',_0x654a6c=>{_0x654a6c['target']==_0x41ccdd&&_0x654a6c['preventDefault']();});let _0x10b35a=null;for(let _0x42b6d1=_0x1e63ec['from'];_0x42b6d1<_0x1e63ec['to'];_0x42b6d1++){let {completion:_0x233627,match:_0x527408}=_0x272877[_0x42b6d1],{section:_0xbd3c20}=_0x233627;if(_0xbd3c20){let _0x28638e='string'==typeof _0xbd3c20?_0xbd3c20:_0xbd3c20['name'];if(_0x28638e!=_0x10b35a&&(_0x42b6d1>_0x1e63ec['from']||0x0==_0x1e63ec['from'])){if(_0x10b35a=_0x28638e,'string'!=typeof _0xbd3c20&&_0xbd3c20['header'])_0x41ccdd['appendChild'](_0xbd3c20['header'](_0xbd3c20));else _0x41ccdd['appendChild'](document['createElement']('completion-section'))['textContent']=_0x28638e;}}const _0xb4768d=_0x41ccdd['appendChild'](document['createElement']('li'));_0xb4768d['id']=_0x23ef18+'-'+_0x42b6d1,_0xb4768d['setAttribute']('role','option');let _0x1c3cb2=this['optionClass'](_0x233627);_0x1c3cb2&&(_0xb4768d['className']=_0x1c3cb2);for(let _0x3f15c2 of this['optionContent']){let _0x401e2b=_0x3f15c2(_0x233627,this['view']['state'],this['view'],_0x527408);_0x401e2b&&_0xb4768d['appendChild'](_0x401e2b);}}return _0x1e63ec['from']&&_0x41ccdd['classList']['add']('cm-completionListIncompleteTop'),_0x1e63ec['to']<_0x272877['length']&&_0x41ccdd['classList']['add']('cm-completionListIncompleteBottom'),_0x41ccdd;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function ox(_0x5d7007,_0xa030eb){return _0x1d319d=>new CompletionTooltip(_0x1d319d,_0x5d7007,_0xa030eb);}function ax(_0x2ee0b0){return 0x64*(_0x2ee0b0['boost']||0x0)+(_0x2ee0b0['apply']?0xa:0x0)+(_0x2ee0b0['info']?0x5:0x0)+(_0x2ee0b0['type']?0x1:0x0);}class CompletionDialog{constructor(_0x4dcc15,_0x565944,_0x414436,_0x5261e1,_0x2c69a7,_0x4fabfe){this['options']=_0x4dcc15,this['attrs']=_0x565944,this['tooltip']=_0x414436,this['timestamp']=_0x5261e1,this['selected']=_0x2c69a7,this['disabled']=_0x4fabfe;}['setSelected'](_0x1ff6a0,_0x400856){return _0x1ff6a0==this['selected']||_0x1ff6a0>=this['options']['length']?this:new CompletionDialog(this['options'],hx(_0x400856,_0x1ff6a0),this['tooltip'],this['timestamp'],_0x1ff6a0,this['disabled']);}static['build'](_0x36e828,_0x34776c,_0x1c0dff,_0x5134bd,_0x33e2b6,_0x4f91d2){if(_0x5134bd&&!_0x4f91d2&&_0x36e828['some'](_0x25074a=>_0x25074a['isPending']))return _0x5134bd['setDisabled']();let _0x432fd3=function(_0x2a396d,_0x46ce60){let _0x3b6c4a=[],_0x28257d=null,_0x188886=null,_0x2dffb3=_0x4a9895=>{_0x3b6c4a['push'](_0x4a9895);let {section:_0xab2794}=_0x4a9895['completion'];if(_0xab2794){_0x28257d||(_0x28257d=[]);let _0x3fedc0='string'==typeof _0xab2794?_0xab2794:_0xab2794['name'];_0x28257d['some'](_0x4c6254=>_0x4c6254['name']==_0x3fedc0)||_0x28257d['push']('string'==typeof _0xab2794?{'name':_0x3fedc0}:_0xab2794);}},_0x36a45f=_0x46ce60['facet'](ix);for(let _0xdfb474 of _0x2a396d)if(_0xdfb474['hasResult']()){let _0x160196=_0xdfb474['result']['getMatch'];if(!0x1===_0xdfb474['result']['filter']){for(let _0x49c9b8 of _0xdfb474['result']['options'])_0x2dffb3(new Option(_0x49c9b8,_0xdfb474['source'],_0x160196?_0x160196(_0x49c9b8):[],0x3b9aca00-_0x3b6c4a['length']));}else{let _0x1c3290,_0x2c1902=_0x46ce60['sliceDoc'](_0xdfb474['from'],_0xdfb474['to']),_0xaddd9d=_0x36a45f['filterStrict']?new StrictMatcher(_0x2c1902):new FuzzyMatcher(_0x2c1902);for(let _0x59ebb3 of _0xdfb474['result']['options'])if(_0x1c3290=_0xaddd9d['match'](_0x59ebb3['label'])){let _0x4e7157=_0x59ebb3['displayLabel']?_0x160196?_0x160196(_0x59ebb3,_0x1c3290['matched']):[]:_0x1c3290['matched'],_0x9e7ead=_0x1c3290['score']+(_0x59ebb3['boost']||0x0);if(_0x2dffb3(new Option(_0x59ebb3,_0xdfb474['source'],_0x4e7157,_0x9e7ead)),'object'==typeof _0x59ebb3['section']&&'dynamic'===_0x59ebb3['section']['rank']){let {name:_0x167709}=_0x59ebb3['section'];_0x188886||(_0x188886=Object['create'](null)),_0x188886[_0x167709]=Math['max'](_0x9e7ead,_0x188886[_0x167709]||-0x3b9aca00);}}}}if(_0x28257d){let _0x579654=Object['create'](null),_0x53ee26=0x0,_0x5da818=(_0x5ad7d7,_0x5c9f2a)=>('dynamic'===_0x5ad7d7['rank']&&'dynamic'===_0x5c9f2a['rank']?_0x188886[_0x5c9f2a['name']]-_0x188886[_0x5ad7d7['name']]:0x0)||('number'==typeof _0x5ad7d7['rank']?_0x5ad7d7['rank']:0x3b9aca00)-('number'==typeof _0x5c9f2a['rank']?_0x5c9f2a['rank']:0x3b9aca00)||(_0x5ad7d7['name']<_0x5c9f2a['name']?-0x1:0x1);for(let _0x47ef60 of _0x28257d['sort'](_0x5da818))_0x53ee26-=0x186a0,_0x579654[_0x47ef60['name']]=_0x53ee26;for(let _0xe8f152 of _0x3b6c4a){let {section:_0x4fe6c9}=_0xe8f152['completion'];_0x4fe6c9&&(_0xe8f152['score']+=_0x579654['string'==typeof _0x4fe6c9?_0x4fe6c9:_0x4fe6c9['name']]);}}let _0x343d0d=[],_0x214351=null,_0x4f8a57=_0x36a45f['compareCompletions'];for(let _0x30bbfd of _0x3b6c4a['sort']((_0x82f142,_0x36d853)=>_0x36d853['score']-_0x82f142['score']||_0x4f8a57(_0x82f142['completion'],_0x36d853['completion']))){let _0xd53469=_0x30bbfd['completion'];!_0x214351||_0x214351['label']!=_0xd53469['label']||_0x214351['detail']!=_0xd53469['detail']||null!=_0x214351['type']&&null!=_0xd53469['type']&&_0x214351['type']!=_0xd53469['type']||_0x214351['apply']!=_0xd53469['apply']||_0x214351['boost']!=_0xd53469['boost']?_0x343d0d['push'](_0x30bbfd):ax(_0x30bbfd['completion'])>ax(_0x214351)&&(_0x343d0d[_0x343d0d['length']-0x1]=_0x30bbfd),_0x214351=_0x30bbfd['completion'];}return _0x343d0d;}(_0x36e828,_0x34776c);if(!_0x432fd3['length'])return _0x5134bd&&_0x36e828['some'](_0x54fb14=>_0x54fb14['isPending'])?_0x5134bd['setDisabled']():null;let _0x21d64b=_0x34776c['facet'](ix)['selectOnOpen']?0x0:-0x1;if(_0x5134bd&&_0x5134bd['selected']!=_0x21d64b&&-0x1!=_0x5134bd['selected']){let _0xbd1aef=_0x5134bd['options'][_0x5134bd['selected']]['completion'];for(let _0x5c1cc4=0x0;_0x5c1cc4<_0x432fd3['length'];_0x5c1cc4++)if(_0x432fd3[_0x5c1cc4]['completion']==_0xbd1aef){_0x21d64b=_0x5c1cc4;break;}}return new CompletionDialog(_0x432fd3,hx(_0x1c0dff,_0x21d64b),{'pos':_0x36e828['reduce']((_0x3310a4,_0x29ca7c)=>_0x29ca7c['hasResult']()?Math['min'](_0x3310a4,_0x29ca7c['from']):_0x3310a4,0x5f5e100),'create':Ox,'above':_0x33e2b6['aboveCursor']},_0x5134bd?_0x5134bd['timestamp']:Date['now'](),_0x21d64b,!0x1);}['map'](_0x12d6b6){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x12d6b6['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(_0x4e1bff,_0xb8cadc,_0x4d7dc7){this['active']=_0x4e1bff,this['id']=_0xb8cadc,this['open']=_0x4d7dc7;}static['start'](){return new CompletionState(ux,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0xdb2e13){let {state:_0x591b23}=_0xdb2e13,_0xbfbd29=_0x591b23['facet'](ix),_0x267830=(_0xbfbd29['override']||_0x591b23['languageDataAt']('autocomplete',qk(_0x591b23))['map'](Jk))['map'](_0x48f2a8=>{let _0x1e2f52=this['active']['find'](_0x3bcfbd=>_0x3bcfbd['source']==_0x48f2a8)||new ActiveSource(_0x48f2a8,this['active']['some'](_0x574815=>0x0!=_0x574815['state'])?0x1:0x0);return _0x1e2f52['update'](_0xdb2e13,_0xbfbd29);});_0x267830['length']==this['active']['length']&&_0x267830['every']((_0x1f2866,_0x372866)=>_0x1f2866==this['active'][_0x372866])&&(_0x267830=this['active']);let _0x83044d=this['open'],_0x3ab484=_0xdb2e13['effects']['some'](_0x38723e=>_0x38723e['is'](fx));_0x83044d&&_0xdb2e13['docChanged']&&(_0x83044d=_0x83044d['map'](_0xdb2e13['changes'])),_0xdb2e13['selection']||_0x267830['some'](_0x2ca4cb=>_0x2ca4cb['hasResult']()&&_0xdb2e13['changes']['touchesRange'](_0x2ca4cb['from'],_0x2ca4cb['to']))||!function(_0x3034ed,_0x1fc6a3){if(_0x3034ed==_0x1fc6a3)return!0x0;for(let _0x18adac=0x0,_0x573d26=0x0;;){for(;_0x18adac<_0x3034ed['length']&&!_0x3034ed[_0x18adac]['hasResult']();)_0x18adac++;for(;_0x573d26<_0x1fc6a3['length']&&!_0x1fc6a3[_0x573d26]['hasResult']();)_0x573d26++;let _0x15696e=_0x18adac==_0x3034ed['length'],_0x481463=_0x573d26==_0x1fc6a3['length'];if(_0x15696e||_0x481463)return _0x15696e==_0x481463;if(_0x3034ed[_0x18adac++]['result']!=_0x1fc6a3[_0x573d26++]['result'])return!0x1;}}(_0x267830,this['active'])||_0x3ab484?_0x83044d=CompletionDialog['build'](_0x267830,_0x591b23,this['id'],_0x83044d,_0xbfbd29,_0x3ab484):_0x83044d&&_0x83044d['disabled']&&!_0x267830['some'](_0x4a204d=>_0x4a204d['isPending'])&&(_0x83044d=null),!_0x83044d&&_0x267830['every'](_0x631236=>!_0x631236['isPending'])&&_0x267830['some'](_0x5dfeff=>_0x5dfeff['hasResult']())&&(_0x267830=_0x267830['map'](_0x1fdc7a=>_0x1fdc7a['hasResult']()?new ActiveSource(_0x1fdc7a['source'],0x0):_0x1fdc7a));for(let _0x4dba67 of _0xdb2e13['effects'])_0x4dba67['is'](mx)&&(_0x83044d=_0x83044d&&_0x83044d['setSelected'](_0x4dba67['value'],this['id']));return _0x267830==this['active']&&_0x83044d==this['open']?this:new CompletionState(_0x267830,this['id'],_0x83044d);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?cx:lx;}}const cx={'aria-autocomplete':'list'},lx={};function hx(_0xed8dfc,_0x2d2959){let _0x4e6ee8={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0xed8dfc};return _0x2d2959>-0x1&&(_0x4e6ee8['aria-activedescendant']=_0xed8dfc+'-'+_0x2d2959),_0x4e6ee8;}const ux=[];function dx(_0x3eeef0,_0x5b6bbf){if(_0x3eeef0['isUserEvent']('input.complete')){let _0x35a7a9=_0x3eeef0['annotation'](zk);if(_0x35a7a9&&_0x5b6bbf['activateOnCompletion'](_0x35a7a9))return 0xc;}let _0x5bdd18=_0x3eeef0['isUserEvent']('input.type');return _0x5bdd18&&_0x5b6bbf['activateOnTyping']?0x5:_0x5bdd18?0x1:_0x3eeef0['isUserEvent']('delete.backward')?0x2:_0x3eeef0['selection']?0x8:_0x3eeef0['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x3055b8,_0x51c5d0,_0x379fd=!0x1){this['source']=_0x3055b8,this['state']=_0x51c5d0,this['explicit']=_0x379fd;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x131568,_0x32335d){let _0x492cab=dx(_0x131568,_0x32335d),_0x263315=this;(0x8&_0x492cab||0x10&_0x492cab&&this['touches'](_0x131568))&&(_0x263315=new ActiveSource(_0x263315['source'],0x0)),0x4&_0x492cab&&0x0==_0x263315['state']&&(_0x263315=new ActiveSource(this['source'],0x1)),_0x263315=_0x263315['updateFor'](_0x131568,_0x492cab);for(let _0x2dbbd3 of _0x131568['effects'])if(_0x2dbbd3['is'](tx))_0x263315=new ActiveSource(_0x263315['source'],0x1,_0x2dbbd3['value']);else{if(_0x2dbbd3['is'](ex))_0x263315=new ActiveSource(_0x263315['source'],0x0);else{if(_0x2dbbd3['is'](fx)){for(let _0x36dad1 of _0x2dbbd3['value'])_0x36dad1['source']==_0x263315['source']&&(_0x263315=_0x36dad1);}}}return _0x263315;}['updateFor'](_0x291e15,_0x408c70){return this['map'](_0x291e15['changes']);}['map'](_0x5ce025){return this;}['touches'](_0x5ebf0f){return _0x5ebf0f['changes']['touchesRange'](qk(_0x5ebf0f['state']));}}class ActiveResult extends ActiveSource{constructor(_0x20d825,_0x5ab456,_0x13ca16,_0x2d9dd3,_0x5f491b,_0x5ca322){super(_0x20d825,0x3,_0x5ab456),this['limit']=_0x13ca16,this['result']=_0x2d9dd3,this['from']=_0x5f491b,this['to']=_0x5ca322;}['hasResult'](){return!0x0;}['updateFor'](_0x4c94a3,_0x4aca65){var _0x49ddbe;if(!(0x3&_0x4aca65))return this['map'](_0x4c94a3['changes']);let _0x452149=this['result'];_0x452149['map']&&!_0x4c94a3['changes']['empty']&&(_0x452149=_0x452149['map'](_0x452149,_0x4c94a3['changes']));let _0x19a809=_0x4c94a3['changes']['mapPos'](this['from']),_0x3254f8=_0x4c94a3['changes']['mapPos'](this['to'],0x1),_0x2103a1=qk(_0x4c94a3['state']);if(_0x2103a1>_0x3254f8||!_0x452149||0x2&_0x4aca65&&(qk(_0x4c94a3['startState'])==this['from']||_0x2103a1<this['limit']))return new ActiveSource(this['source'],0x4&_0x4aca65?0x1:0x0);let _0x457220=_0x4c94a3['changes']['mapPos'](this['limit']);return function(_0x369e32,_0x30874b,_0x386fbe,_0x2ec6d7){if(!_0x369e32)return!0x1;let _0x490da6=_0x30874b['sliceDoc'](_0x386fbe,_0x2ec6d7);return'function'==typeof _0x369e32?_0x369e32(_0x490da6,_0x386fbe,_0x2ec6d7,_0x30874b):Wk(_0x369e32,!0x0)['test'](_0x490da6);}(_0x452149['validFor'],_0x4c94a3['state'],_0x19a809,_0x3254f8)?new ActiveResult(this['source'],this['explicit'],_0x457220,_0x452149,_0x19a809,_0x3254f8):_0x452149['update']&&(_0x452149=_0x452149['update'](_0x452149,_0x19a809,_0x3254f8,new CompletionContext(_0x4c94a3['state'],_0x2103a1,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x457220,_0x452149,_0x452149['from'],null!==(_0x49ddbe=_0x452149['to'])&&void 0x0!==_0x49ddbe?_0x49ddbe:qk(_0x4c94a3['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x44eca2){if(_0x44eca2['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x44eca2):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x44eca2['mapPos'](this['limit']),this['result'],_0x44eca2['mapPos'](this['from']),_0x44eca2['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x3912f9){return _0x3912f9['changes']['touchesRange'](this['from'],this['to']);}}const fx=StateEffect['define']({'map':(_0x4bc88c,_0x39085f)=>_0x4bc88c['map'](_0x10d7a9=>_0x10d7a9['map'](_0x39085f))}),mx=StateEffect['define'](),gx=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x9ee91b,_0x3afea)=>_0x9ee91b['update'](_0x3afea),'provide':_0x9c5b3=>[MA['from'](_0x9c5b3,_0x335383=>_0x335383['tooltip']),EditorView['contentAttributes']['from'](_0x9c5b3,_0x3384f9=>_0x3384f9['attrs'])]});function px(_0x90769d,_0x18a0a1){const _0x400e82=_0x18a0a1['completion']['apply']||_0x18a0a1['completion']['label'];let _0x5b4fcb=_0x90769d['state']['field'](gx)['active']['find'](_0x1d330e=>_0x1d330e['source']==_0x18a0a1['source']);return _0x5b4fcb instanceof ActiveResult&&('string'==typeof _0x400e82?_0x90769d['dispatch']({...Yk(_0x90769d['state'],_0x400e82,_0x5b4fcb['from'],_0x5b4fcb['to']),'annotations':zk['of'](_0x18a0a1['completion'])}):_0x400e82(_0x90769d,_0x18a0a1['completion'],_0x5b4fcb['from'],_0x5b4fcb['to']),!0x0);}const Ox=ox(gx,px);function wx(_0x54dac5,_0x2283cb='option'){return _0x43054f=>{let _0xd463e9=_0x43054f['state']['field'](gx,!0x1);if(!_0xd463e9||!_0xd463e9['open']||_0xd463e9['open']['disabled']||Date['now']()-_0xd463e9['open']['timestamp']<_0x43054f['state']['facet'](ix)['interactionDelay'])return!0x1;let _0x308a12,_0x2bc9a8=0x1;'page'==_0x2283cb&&(_0x308a12=NA(_0x43054f,_0xd463e9['open']['tooltip']))&&(_0x2bc9a8=Math['max'](0x2,Math['floor'](_0x308a12['dom']['offsetHeight']/_0x308a12['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x2eec94}=_0xd463e9['open']['options'],_0x19362c=_0xd463e9['open']['selected']>-0x1?_0xd463e9['open']['selected']+_0x2bc9a8*(_0x54dac5?0x1:-0x1):_0x54dac5?0x0:_0x2eec94-0x1;return _0x19362c<0x0?_0x19362c='page'==_0x2283cb?0x0:_0x2eec94-0x1:_0x19362c>=_0x2eec94&&(_0x19362c='page'==_0x2283cb?_0x2eec94-0x1:0x0),_0x43054f['dispatch']({'effects':mx['of'](_0x19362c)}),!0x0;};}const bx=_0x2fcbb2=>!!_0x2fcbb2['state']['field'](gx,!0x1)&&(_0x2fcbb2['dispatch']({'effects':tx['of'](!0x0)}),!0x0);class RunningQuery{constructor(_0x2a3f53,_0x54672b){this['active']=_0x2a3f53,this['context']=_0x54672b,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const yx=ViewPlugin['fromClass'](class{constructor(_0x40369c){this['view']=_0x40369c,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x206969 of _0x40369c['state']['field'](gx)['active'])_0x206969['isPending']&&this['startQuery'](_0x206969);}['update'](_0x1c7869){let _0x3287c6=_0x1c7869['state']['field'](gx),_0x5517df=_0x1c7869['state']['facet'](ix);if(!_0x1c7869['selectionSet']&&!_0x1c7869['docChanged']&&_0x1c7869['startState']['field'](gx)==_0x3287c6)return;let _0x3d2b61=_0x1c7869['transactions']['some'](_0x319db8=>{let _0x3507ac=dx(_0x319db8,_0x5517df);return 0x8&_0x3507ac||(_0x319db8['selection']||_0x319db8['docChanged'])&&!(0x3&_0x3507ac);});for(let _0x10c2d3=0x0;_0x10c2d3<this['running']['length'];_0x10c2d3++){let _0x3516cf=this['running'][_0x10c2d3];if(_0x3d2b61||_0x3516cf['context']['abortOnDocChange']&&_0x1c7869['docChanged']||_0x3516cf['updates']['length']+_0x1c7869['transactions']['length']>0x32&&Date['now']()-_0x3516cf['time']>0x3e8){for(let _0x344359 of _0x3516cf['context']['abortListeners'])try{_0x344359();}catch(_0x4e6bc0){tT(this['view']['state'],_0x4e6bc0);}_0x3516cf['context']['abortListeners']=null,this['running']['splice'](_0x10c2d3--,0x1);}else _0x3516cf['updates']['push'](..._0x1c7869['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x1c7869['transactions']['some'](_0xeae85e=>_0xeae85e['effects']['some'](_0x381981=>_0x381981['is'](tx)))&&(this['pendingStart']=!0x0);let _0x3752b2=this['pendingStart']?0x32:_0x5517df['activateOnTypingDelay'];if(this['debounceUpdate']=_0x3287c6['active']['some'](_0x89045d=>_0x89045d['isPending']&&!this['running']['some'](_0x13fc19=>_0x13fc19['active']['source']==_0x89045d['source']))?setTimeout(()=>this['startUpdate'](),_0x3752b2):-0x1,0x0!=this['composing']){for(let _0x10a2eb of _0x1c7869['transactions'])_0x10a2eb['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x10a2eb['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x4d0311}=this['view'],_0x45fdab=_0x4d0311['field'](gx);for(let _0x19d0ed of _0x45fdab['active'])_0x19d0ed['isPending']&&!this['running']['some'](_0x5875b9=>_0x5875b9['active']['source']==_0x19d0ed['source'])&&this['startQuery'](_0x19d0ed);this['running']['length']&&_0x45fdab['open']&&_0x45fdab['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](ix)['updateSyncTime']));}['startQuery'](_0x4c5d68){let {state:_0xbf200e}=this['view'],_0x37ed7c=qk(_0xbf200e),_0x45b617=new CompletionContext(_0xbf200e,_0x37ed7c,_0x4c5d68['explicit'],this['view']),_0x547853=new RunningQuery(_0x4c5d68,_0x45b617);this['running']['push'](_0x547853),Promise['resolve'](_0x4c5d68['source'](_0x45b617))['then'](_0x43a20e=>{_0x547853['context']['aborted']||(_0x547853['done']=_0x43a20e||null,this['scheduleAccept']());},_0x5667d5=>{this['view']['dispatch']({'effects':ex['of'](null)}),tT(this['view']['state'],_0x5667d5);});}['scheduleAccept'](){this['running']['every'](_0x18cf65=>void 0x0!==_0x18cf65['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](ix)['updateSyncTime']));}['accept'](){var _0xbd2308;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x2f190b=[],_0x463df7=this['view']['state']['facet'](ix),_0x22c7db=this['view']['state']['field'](gx);for(let _0x339b21=0x0;_0x339b21<this['running']['length'];_0x339b21++){let _0x597775=this['running'][_0x339b21];if(void 0x0===_0x597775['done'])continue;if(this['running']['splice'](_0x339b21--,0x1),_0x597775['done']){let _0x3f3985=qk(_0x597775['updates']['length']?_0x597775['updates'][0x0]['startState']:this['view']['state']),_0x49bdc7=Math['min'](_0x3f3985,_0x597775['done']['from']+(_0x597775['active']['explicit']?0x0:0x1)),_0x1f1fa6=new ActiveResult(_0x597775['active']['source'],_0x597775['active']['explicit'],_0x49bdc7,_0x597775['done'],_0x597775['done']['from'],null!==(_0xbd2308=_0x597775['done']['to'])&&void 0x0!==_0xbd2308?_0xbd2308:_0x3f3985);for(let _0x5219f1 of _0x597775['updates'])_0x1f1fa6=_0x1f1fa6['update'](_0x5219f1,_0x463df7);if(_0x1f1fa6['hasResult']()){_0x2f190b['push'](_0x1f1fa6);continue;}}let _0x4e171a=_0x22c7db['active']['find'](_0x468d58=>_0x468d58['source']==_0x597775['active']['source']);if(_0x4e171a&&_0x4e171a['isPending']){if(null==_0x597775['done']){let _0x36758a=new ActiveSource(_0x597775['active']['source'],0x0);for(let _0x163ee1 of _0x597775['updates'])_0x36758a=_0x36758a['update'](_0x163ee1,_0x463df7);_0x36758a['isPending']||_0x2f190b['push'](_0x36758a);}else this['startQuery'](_0x4e171a);}}(_0x2f190b['length']||_0x22c7db['open']&&_0x22c7db['open']['disabled'])&&this['view']['dispatch']({'effects':fx['of'](_0x2f190b)});}},{'eventHandlers':{'blur'(_0x386e8e){let _0x12cbe3=this['view']['state']['field'](gx,!0x1);if(_0x12cbe3&&_0x12cbe3['tooltip']&&this['view']['state']['facet'](ix)['closeOnBlur']){let _0x1c1c70=_0x12cbe3['open']&&NA(this['view'],_0x12cbe3['open']['tooltip']);_0x1c1c70&&_0x1c1c70['dom']['contains'](_0x386e8e['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':ex['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':tx['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_x='object'==typeof navigator&&/Win/['test'](navigator['platform']),vx=$y['highest'](EditorView['domEventHandlers']({'keydown'(_0x5e8fd5,_0x58b636){let _0x52e635=_0x58b636['state']['field'](gx,!0x1);if(!_0x52e635||!_0x52e635['open']||_0x52e635['open']['disabled']||_0x52e635['open']['selected']<0x0||_0x5e8fd5['key']['length']>0x1||_0x5e8fd5['ctrlKey']&&(!_x||!_0x5e8fd5['altKey'])||_0x5e8fd5['metaKey'])return!0x1;let _0x5dcd21=_0x52e635['open']['options'][_0x52e635['open']['selected']],_0x2b59d5=_0x52e635['active']['find'](_0x2e38e1=>_0x2e38e1['source']==_0x5dcd21['source']),_0x4a44a7=_0x5dcd21['completion']['commitCharacters']||_0x2b59d5['result']['commitCharacters'];return _0x4a44a7&&_0x4a44a7['indexOf'](_0x5e8fd5['key'])>-0x1&&px(_0x58b636,_0x5dcd21),!0x1;}})),Tx=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(_0x777655,_0x487f66,_0x2f8e91,_0x2184f7){this['field']=_0x777655,this['line']=_0x487f66,this['from']=_0x2f8e91,this['to']=_0x2184f7;}}class FieldRange{constructor(_0x30e88c,_0x1a6ea4,_0x1ac993){this['field']=_0x30e88c,this['from']=_0x1a6ea4,this['to']=_0x1ac993;}['map'](_0x1b4fc6){let _0x250987=_0x1b4fc6['mapPos'](this['from'],-0x1,yy['TrackDel']),_0x9e629=_0x1b4fc6['mapPos'](this['to'],0x1,yy['TrackDel']);return null==_0x250987||null==_0x9e629?null:new FieldRange(this['field'],_0x250987,_0x9e629);}}class Snippet{constructor(_0x942513,_0x1349df){this['lines']=_0x942513,this['fieldPositions']=_0x1349df;}['instantiate'](_0x2d3dee,_0x46c975){let _0xa5f74f=[],_0xeee7ef=[_0x46c975],_0x32581a=_0x2d3dee['doc']['lineAt'](_0x46c975),_0x37a58c=/^\s*/['exec'](_0x32581a['text'])[0x0];for(let _0x4bb76b of this['lines']){if(_0xa5f74f['length']){let _0x5486da=_0x37a58c,_0x2d5f6a=/^\t*/['exec'](_0x4bb76b)[0x0]['length'];for(let _0x227905=0x0;_0x227905<_0x2d5f6a;_0x227905++)_0x5486da+=_0x2d3dee['facet'](oS);_0xeee7ef['push'](_0x46c975+_0x5486da['length']-_0x2d5f6a),_0x4bb76b=_0x5486da+_0x4bb76b['slice'](_0x2d5f6a);}_0xa5f74f['push'](_0x4bb76b),_0x46c975+=_0x4bb76b['length']+0x1;}let _0x1b4b4b=this['fieldPositions']['map'](_0x4e18d7=>new FieldRange(_0x4e18d7['field'],_0xeee7ef[_0x4e18d7['line']]+_0x4e18d7['from'],_0xeee7ef[_0x4e18d7['line']]+_0x4e18d7['to']));return{'text':_0xa5f74f,'ranges':_0x1b4b4b};}static['parse'](_0x2b9507){let _0x4d8b25,_0x5734e5=[],_0x18528d=[],_0x35a55e=[];for(let _0x201b44 of _0x2b9507['split'](/\r\n?|\n/)){for(;_0x4d8b25=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x201b44);){let _0x5a0e87=_0x4d8b25[0x1]?+_0x4d8b25[0x1]:null,_0x3da2a3=_0x4d8b25[0x2]||_0x4d8b25[0x3]||'',_0x3fc512=-0x1,_0x3aa292=_0x3da2a3['replace'](/\\[{}]/g,_0x533a6a=>_0x533a6a[0x1]);for(let _0x486128=0x0;_0x486128<_0x5734e5['length'];_0x486128++)(null!=_0x5a0e87?_0x5734e5[_0x486128]['seq']==_0x5a0e87:_0x3aa292&&_0x5734e5[_0x486128]['name']==_0x3aa292)&&(_0x3fc512=_0x486128);if(_0x3fc512<0x0){let _0x292916=0x0;for(;_0x292916<_0x5734e5['length']&&(null==_0x5a0e87||null!=_0x5734e5[_0x292916]['seq']&&_0x5734e5[_0x292916]['seq']<_0x5a0e87);)_0x292916++;_0x5734e5['splice'](_0x292916,0x0,{'seq':_0x5a0e87,'name':_0x3aa292}),_0x3fc512=_0x292916;for(let _0x198600 of _0x35a55e)_0x198600['field']>=_0x3fc512&&_0x198600['field']++;}for(let _0x213be9 of _0x35a55e)if(_0x213be9['line']==_0x18528d['length']&&_0x213be9['from']>_0x4d8b25['index']){let _0x368d63=_0x4d8b25[0x2]?0x3+(_0x4d8b25[0x1]||'')['length']:0x2;_0x213be9['from']-=_0x368d63,_0x213be9['to']-=_0x368d63;}_0x35a55e['push'](new FieldPos(_0x3fc512,_0x18528d['length'],_0x4d8b25['index'],_0x4d8b25['index']+_0x3aa292['length'])),_0x201b44=_0x201b44['slice'](0x0,_0x4d8b25['index'])+_0x3da2a3+_0x201b44['slice'](_0x4d8b25['index']+_0x4d8b25[0x0]['length']);}_0x201b44=_0x201b44['replace'](/\\([{}])/g,(_0x47feac,_0x547094,_0x2df1d7)=>{for(let _0x49ab22 of _0x35a55e)_0x49ab22['line']==_0x18528d['length']&&_0x49ab22['from']>_0x2df1d7&&(_0x49ab22['from']--,_0x49ab22['to']--);return _0x547094;}),_0x18528d['push'](_0x201b44);}return new Snippet(_0x18528d,_0x35a55e);}}let Ex=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x395d5d=document['createElement']('span');return _0x395d5d['className']='cm-snippetFieldPosition',_0x395d5d;}['ignoreEvent'](){return!0x1;}}()}),Ax=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x5bdf6e,_0x3caf58){this['ranges']=_0x5bdf6e,this['active']=_0x3caf58,this['deco']=Decoration['set'](_0x5bdf6e['map'](_0x191bac=>(_0x191bac['from']==_0x191bac['to']?Ex:Ax)['range'](_0x191bac['from'],_0x191bac['to'])),!0x0);}['map'](_0x21f881){let _0x46ca03=[];for(let _0x239474 of this['ranges']){let _0x58e874=_0x239474['map'](_0x21f881);if(!_0x58e874)return null;_0x46ca03['push'](_0x58e874);}return new ActiveSnippet(_0x46ca03,this['active']);}['selectionInsideField'](_0x2227f9){return _0x2227f9['ranges']['every'](_0xd6447d=>this['ranges']['some'](_0x4c36e1=>_0x4c36e1['field']==this['active']&&_0x4c36e1['from']<=_0xd6447d['from']&&_0x4c36e1['to']>=_0xd6447d['to']));}}const Ix=StateEffect['define']({'map':(_0x250ec4,_0x1f3c0b)=>_0x250ec4&&_0x250ec4['map'](_0x1f3c0b)}),Sx=StateEffect['define'](),Cx=StateField['define']({'create':()=>null,'update'(_0x2a8fe5,_0x3b0a04){for(let _0x23ff82 of _0x3b0a04['effects']){if(_0x23ff82['is'](Ix))return _0x23ff82['value'];if(_0x23ff82['is'](Sx)&&_0x2a8fe5)return new ActiveSnippet(_0x2a8fe5['ranges'],_0x23ff82['value']);}return _0x2a8fe5&&_0x3b0a04['docChanged']&&(_0x2a8fe5=_0x2a8fe5['map'](_0x3b0a04['changes'])),_0x2a8fe5&&_0x3b0a04['selection']&&!_0x2a8fe5['selectionInsideField'](_0x3b0a04['selection'])&&(_0x2a8fe5=null),_0x2a8fe5;},'provide':_0x22f890=>EditorView['decorations']['from'](_0x22f890,_0xe8f76b=>_0xe8f76b?_0xe8f76b['deco']:Decoration['none'])});function kx(_0x234475,_0x5abe09){return EditorSelection['create'](_0x234475['filter'](_0x31eaa6=>_0x31eaa6['field']==_0x5abe09)['map'](_0x238829=>EditorSelection['range'](_0x238829['from'],_0x238829['to'])));}function xx(_0x25f3fb){let _0x459a38=Snippet['parse'](_0x25f3fb);return(_0x28aa19,_0x5a6380,_0xbab2e6,_0x954dca)=>{let {text:_0x3d016d,ranges:_0x4f9b42}=_0x459a38['instantiate'](_0x28aa19['state'],_0xbab2e6),{main:_0x2b8802}=_0x28aa19['state']['selection'],_0xf9053c={'changes':{'from':_0xbab2e6,'to':_0x954dca==_0x2b8802['from']?_0x2b8802['to']:_0x954dca,'insert':Text['of'](_0x3d016d)},'scrollIntoView':!0x0,'annotations':_0x5a6380?[zk['of'](_0x5a6380),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x4f9b42['length']&&(_0xf9053c['selection']=kx(_0x4f9b42,0x0)),_0x4f9b42['some'](_0x12eb30=>_0x12eb30['field']>0x0)){let _0x2b07c0=new ActiveSnippet(_0x4f9b42,0x0),_0xc158eb=_0xf9053c['effects']=[Ix['of'](_0x2b07c0)];void 0x0===_0x28aa19['state']['field'](Cx,!0x1)&&_0xc158eb['push'](StateEffect['appendConfig']['of']([Cx,Nx,Dx,Tx]));}_0x28aa19['dispatch'](_0x28aa19['state']['update'](_0xf9053c));};}function Rx(_0x2cab34){return({state:_0x34950e,dispatch:_0x4d9139})=>{let _0x41221e=_0x34950e['field'](Cx,!0x1);if(!_0x41221e||_0x2cab34<0x0&&0x0==_0x41221e['active'])return!0x1;let _0x222247=_0x41221e['active']+_0x2cab34,_0x549044=_0x2cab34>0x0&&!_0x41221e['ranges']['some'](_0x389f0e=>_0x389f0e['field']==_0x222247+_0x2cab34);return _0x4d9139(_0x34950e['update']({'selection':kx(_0x41221e['ranges'],_0x222247),'effects':Ix['of'](_0x549044?null:new ActiveSnippet(_0x41221e['ranges'],_0x222247)),'scrollIntoView':!0x0})),!0x0;};}const Px=[{'key':'Tab','run':Rx(0x1),'shift':Rx(-0x1)},{'key':'Escape','run':({state:_0x4d6bfb,dispatch:_0x30f5d1})=>!!_0x4d6bfb['field'](Cx,!0x1)&&(_0x30f5d1(_0x4d6bfb['update']({'effects':Ix['of'](null)})),!0x0)}],Mx=Facet['define']({'combine':_0x1b23d7=>_0x1b23d7['length']?_0x1b23d7[0x0]:Px}),Nx=$y['highest'](BE['compute']([Mx],_0x4b524f=>_0x4b524f['facet'](Mx)));function Lx(_0x252d16,_0x25290b){return{..._0x25290b,'apply':xx(_0x252d16)};}const Dx=EditorView['domEventHandlers']({'mousedown'(_0x5a89f3,_0x3ddad6){let _0x1e329d,_0x3cf3fe=_0x3ddad6['state']['field'](Cx,!0x1);if(!_0x3cf3fe||null==(_0x1e329d=_0x3ddad6['posAtCoords']({'x':_0x5a89f3['clientX'],'y':_0x5a89f3['clientY']})))return!0x1;let _0x223f58=_0x3cf3fe['ranges']['find'](_0x3f6390=>_0x3f6390['from']<=_0x1e329d&&_0x3f6390['to']>=_0x1e329d);return!(!_0x223f58||_0x223f58['field']==_0x3cf3fe['active'])&&(_0x3ddad6['dispatch']({'selection':kx(_0x3cf3fe['ranges'],_0x223f58['field']),'effects':Ix['of'](_0x3cf3fe['ranges']['some'](_0x38dc7e=>_0x38dc7e['field']>_0x223f58['field'])?new ActiveSnippet(_0x3cf3fe['ranges'],_0x223f58['field']):null),'scrollIntoView':!0x0}),!0x0);}}),Qx={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},$x=StateEffect['define']({'map'(_0x35eada,_0x25b9b9){let _0x3d2ee4=_0x25b9b9['mapPos'](_0x35eada,-0x1,yy['TrackAfter']);return null==_0x3d2ee4?void 0x0:_0x3d2ee4;}}),Vx=new class extends RangeValue{}();Vx['startSide']=0x1,Vx['endSide']=-0x1;const Ux=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x1f0604,_0x19f055){if(_0x1f0604=_0x1f0604['map'](_0x19f055['changes']),_0x19f055['selection']){let _0x2d7afc=_0x19f055['state']['doc']['lineAt'](_0x19f055['selection']['main']['head']);_0x1f0604=_0x1f0604['update']({'filter':_0x55d776=>_0x55d776>=_0x2d7afc['from']&&_0x55d776<=_0x2d7afc['to']});}for(let _0x5d0c86 of _0x19f055['effects'])_0x5d0c86['is']($x)&&(_0x1f0604=_0x1f0604['update']({'add':[Vx['range'](_0x5d0c86['value'],_0x5d0c86['value']+0x1)]}));return _0x1f0604;}});function Bx(){return[Zx,Ux];}const Fx='()[]{}<>«»»«［］｛｝';function jx(_0x2bc382){for(let _0x3315b4=0x0;_0x3315b4<0x10;_0x3315b4+=0x2)if(Fx['charCodeAt'](_0x3315b4)==_0x2bc382)return Fx['charAt'](_0x3315b4+0x1);return Oy(_0x2bc382<0x80?_0x2bc382:_0x2bc382+0x1);}function Hx(_0xd7d4d0,_0x51f685){return _0xd7d4d0['languageDataAt']('closeBrackets',_0x51f685)[0x0]||Qx;}const Gx='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),Zx=EditorView['inputHandler']['of']((_0x24826a,_0x433f64,_0x437d85,_0x539bd7)=>{if((Gx?_0x24826a['composing']:_0x24826a['compositionStarted'])||_0x24826a['state']['readOnly'])return!0x1;let _0x2fe4f1=_0x24826a['state']['selection']['main'];if(_0x539bd7['length']>0x2||0x2==_0x539bd7['length']&&0x1==wy(py(_0x539bd7,0x0))||_0x433f64!=_0x2fe4f1['from']||_0x437d85!=_0x2fe4f1['to'])return!0x1;let _0x4b92ba=function(_0x4bee0b,_0x2fc4e9){let _0x26e848=Hx(_0x4bee0b,_0x4bee0b['selection']['main']['head']),_0x194112=_0x26e848['brackets']||Qx['brackets'];for(let _0x6c2204 of _0x194112){let _0x5e17be=jx(py(_0x6c2204,0x0));if(_0x2fc4e9==_0x6c2204)return _0x5e17be==_0x6c2204?Kx(_0x4bee0b,_0x6c2204,_0x194112['indexOf'](_0x6c2204+_0x6c2204+_0x6c2204)>-0x1,_0x26e848):zx(_0x4bee0b,_0x6c2204,_0x5e17be,_0x26e848['before']||Qx['before']);if(_0x2fc4e9==_0x5e17be&&qx(_0x4bee0b,_0x4bee0b['selection']['main']['from']))return Yx(_0x4bee0b,_0x6c2204,_0x5e17be);}return null;}(_0x24826a['state'],_0x539bd7);return!!_0x4b92ba&&(_0x24826a['dispatch'](_0x4b92ba),!0x0);}),Xx=[{'key':'Backspace','run':({state:_0x1f92fa,dispatch:_0x48b151})=>{if(_0x1f92fa['readOnly'])return!0x1;let _0xcb2619=Hx(_0x1f92fa,_0x1f92fa['selection']['main']['head'])['brackets']||Qx['brackets'],_0x369bbc=null,_0x13ff1a=_0x1f92fa['changeByRange'](_0xc137c8=>{if(_0xc137c8['empty']){let _0x48ad84=function(_0x17feb4,_0x54fa13){let _0x281c86=_0x17feb4['sliceString'](_0x54fa13-0x2,_0x54fa13);return wy(py(_0x281c86,0x0))==_0x281c86['length']?_0x281c86:_0x281c86['slice'](0x1);}(_0x1f92fa['doc'],_0xc137c8['head']);for(let _0x56579e of _0xcb2619)if(_0x56579e==_0x48ad84&&Wx(_0x1f92fa['doc'],_0xc137c8['head'])==jx(py(_0x56579e,0x0)))return{'changes':{'from':_0xc137c8['head']-_0x56579e['length'],'to':_0xc137c8['head']+_0x56579e['length']},'range':EditorSelection['cursor'](_0xc137c8['head']-_0x56579e['length'])};}return{'range':_0x369bbc=_0xc137c8};});return _0x369bbc||_0x48b151(_0x1f92fa['update'](_0x13ff1a,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x369bbc;}}];function qx(_0x154e4e,_0x431f50){let _0x3a8eec=!0x1;return _0x154e4e['field'](Ux)['between'](0x0,_0x154e4e['doc']['length'],_0x1c71d0=>{_0x1c71d0==_0x431f50&&(_0x3a8eec=!0x0);}),_0x3a8eec;}function Wx(_0x330522,_0x53e7f1){let _0x5c060b=_0x330522['sliceString'](_0x53e7f1,_0x53e7f1+0x2);return _0x5c060b['slice'](0x0,wy(py(_0x5c060b,0x0)));}function zx(_0x532cd4,_0x4bb69e,_0x39c883,_0x2c28b1){let _0x2fed5a=null,_0x19a4a6=_0x532cd4['changeByRange'](_0x4d2f31=>{if(!_0x4d2f31['empty'])return{'changes':[{'insert':_0x4bb69e,'from':_0x4d2f31['from']},{'insert':_0x39c883,'from':_0x4d2f31['to']}],'effects':$x['of'](_0x4d2f31['to']+_0x4bb69e['length']),'range':EditorSelection['range'](_0x4d2f31['anchor']+_0x4bb69e['length'],_0x4d2f31['head']+_0x4bb69e['length'])};let _0x14505b=Wx(_0x532cd4['doc'],_0x4d2f31['head']);return!_0x14505b||/\s/['test'](_0x14505b)||_0x2c28b1['indexOf'](_0x14505b)>-0x1?{'changes':{'insert':_0x4bb69e+_0x39c883,'from':_0x4d2f31['head']},'effects':$x['of'](_0x4d2f31['head']+_0x4bb69e['length']),'range':EditorSelection['cursor'](_0x4d2f31['head']+_0x4bb69e['length'])}:{'range':_0x2fed5a=_0x4d2f31};});return _0x2fed5a?null:_0x532cd4['update'](_0x19a4a6,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function Yx(_0x3860fc,_0x3bf46d,_0x314518){let _0x5b1776=null,_0x530758=_0x3860fc['changeByRange'](_0x57e33f=>_0x57e33f['empty']&&Wx(_0x3860fc['doc'],_0x57e33f['head'])==_0x314518?{'changes':{'from':_0x57e33f['head'],'to':_0x57e33f['head']+_0x314518['length'],'insert':_0x314518},'range':EditorSelection['cursor'](_0x57e33f['head']+_0x314518['length'])}:_0x5b1776={'range':_0x57e33f});return _0x5b1776?null:_0x3860fc['update'](_0x530758,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function Kx(_0x5ae793,_0x4a2d3e,_0x291c22,_0x3977a){let _0x5cf640=_0x3977a['stringPrefixes']||Qx['stringPrefixes'],_0x19cbe6=null,_0xa9c732=_0x5ae793['changeByRange'](_0x380968=>{if(!_0x380968['empty'])return{'changes':[{'insert':_0x4a2d3e,'from':_0x380968['from']},{'insert':_0x4a2d3e,'from':_0x380968['to']}],'effects':$x['of'](_0x380968['to']+_0x4a2d3e['length']),'range':EditorSelection['range'](_0x380968['anchor']+_0x4a2d3e['length'],_0x380968['head']+_0x4a2d3e['length'])};let _0x92821,_0x3a43e9=_0x380968['head'],_0x5b9fff=Wx(_0x5ae793['doc'],_0x3a43e9);if(_0x5b9fff==_0x4a2d3e){if(Jx(_0x5ae793,_0x3a43e9))return{'changes':{'insert':_0x4a2d3e+_0x4a2d3e,'from':_0x3a43e9},'effects':$x['of'](_0x3a43e9+_0x4a2d3e['length']),'range':EditorSelection['cursor'](_0x3a43e9+_0x4a2d3e['length'])};if(qx(_0x5ae793,_0x3a43e9)){let _0x217b6e=_0x291c22&&_0x5ae793['sliceDoc'](_0x3a43e9,_0x3a43e9+0x3*_0x4a2d3e['length'])==_0x4a2d3e+_0x4a2d3e+_0x4a2d3e?_0x4a2d3e+_0x4a2d3e+_0x4a2d3e:_0x4a2d3e;return{'changes':{'from':_0x3a43e9,'to':_0x3a43e9+_0x217b6e['length'],'insert':_0x217b6e},'range':EditorSelection['cursor'](_0x3a43e9+_0x217b6e['length'])};}}else{if(_0x291c22&&_0x5ae793['sliceDoc'](_0x3a43e9-0x2*_0x4a2d3e['length'],_0x3a43e9)==_0x4a2d3e+_0x4a2d3e&&(_0x92821=tR(_0x5ae793,_0x3a43e9-0x2*_0x4a2d3e['length'],_0x5cf640))>-0x1&&Jx(_0x5ae793,_0x92821))return{'changes':{'insert':_0x4a2d3e+_0x4a2d3e+_0x4a2d3e+_0x4a2d3e,'from':_0x3a43e9},'effects':$x['of'](_0x3a43e9+_0x4a2d3e['length']),'range':EditorSelection['cursor'](_0x3a43e9+_0x4a2d3e['length'])};if(_0x5ae793['charCategorizer'](_0x3a43e9)(_0x5b9fff)!=t_['Word']&&tR(_0x5ae793,_0x3a43e9,_0x5cf640)>-0x1&&!function(_0x2f6209,_0x27a8b6,_0x4b9d84,_0x2a8b5b){let _0x21e567=KI(_0x2f6209)['resolveInner'](_0x27a8b6,-0x1),_0x1fc962=_0x2a8b5b['reduce']((_0x2cae6e,_0x2d7cee)=>Math['max'](_0x2cae6e,_0x2d7cee['length']),0x0);for(let _0x45d8e7=0x0;_0x45d8e7<0x5;_0x45d8e7++){let _0x47b966=_0x2f6209['sliceDoc'](_0x21e567['from'],Math['min'](_0x21e567['to'],_0x21e567['from']+_0x4b9d84['length']+_0x1fc962)),_0x57254b=_0x47b966['indexOf'](_0x4b9d84);if(!_0x57254b||_0x57254b>-0x1&&_0x2a8b5b['indexOf'](_0x47b966['slice'](0x0,_0x57254b))>-0x1){let _0x6b17c7=_0x21e567['firstChild'];for(;_0x6b17c7&&_0x6b17c7['from']==_0x21e567['from']&&_0x6b17c7['to']-_0x6b17c7['from']>_0x4b9d84['length']+_0x57254b;){if(_0x2f6209['sliceDoc'](_0x6b17c7['to']-_0x4b9d84['length'],_0x6b17c7['to'])==_0x4b9d84)return!0x1;_0x6b17c7=_0x6b17c7['firstChild'];}return!0x0;}let _0x1a1755=_0x21e567['to']==_0x27a8b6&&_0x21e567['parent'];if(!_0x1a1755)break;_0x21e567=_0x1a1755;}return!0x1;}(_0x5ae793,_0x3a43e9,_0x4a2d3e,_0x5cf640))return{'changes':{'insert':_0x4a2d3e+_0x4a2d3e,'from':_0x3a43e9},'effects':$x['of'](_0x3a43e9+_0x4a2d3e['length']),'range':EditorSelection['cursor'](_0x3a43e9+_0x4a2d3e['length'])};}return{'range':_0x19cbe6=_0x380968};});return _0x19cbe6?null:_0x5ae793['update'](_0xa9c732,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function Jx(_0x39bec2,_0x26cf08){let _0x4a4d58=KI(_0x39bec2)['resolveInner'](_0x26cf08+0x1);return _0x4a4d58['parent']&&_0x4a4d58['from']==_0x26cf08;}function tR(_0x3caf28,_0x2151ec,_0x2e5938){let _0x2168b8=_0x3caf28['charCategorizer'](_0x2151ec);if(_0x2168b8(_0x3caf28['sliceDoc'](_0x2151ec-0x1,_0x2151ec))!=t_['Word'])return _0x2151ec;for(let _0xaca1dc of _0x2e5938){let _0x1f1eb6=_0x2151ec-_0xaca1dc['length'];if(_0x3caf28['sliceDoc'](_0x1f1eb6,_0x2151ec)==_0xaca1dc&&_0x2168b8(_0x3caf28['sliceDoc'](_0x1f1eb6-0x1,_0x1f1eb6))!=t_['Word'])return _0x1f1eb6;}return-0x1;}function eR(_0x47413e={}){return[vx,gx,ix['of'](_0x47413e),yx,sR,Tx];}const iR=[{'key':'Ctrl-Space','run':bx},{'mac':'Alt-`','run':bx},{'mac':'Alt-i','run':bx},{'key':'Escape','run':_0x3018e9=>{let _0x517b43=_0x3018e9['state']['field'](gx,!0x1);return!(!_0x517b43||!_0x517b43['active']['some'](_0x4dbc5e=>0x0!=_0x4dbc5e['state']))&&(_0x3018e9['dispatch']({'effects':ex['of'](null)}),!0x0);}},{'key':'ArrowDown','run':wx(!0x0)},{'key':'ArrowUp','run':wx(!0x1)},{'key':'PageDown','run':wx(!0x0,'page')},{'key':'PageUp','run':wx(!0x1,'page')},{'key':'Enter','run':_0x24ae11=>{let _0x51dea8=_0x24ae11['state']['field'](gx,!0x1);return!(_0x24ae11['state']['readOnly']||!_0x51dea8||!_0x51dea8['open']||_0x51dea8['open']['selected']<0x0||_0x51dea8['open']['disabled']||Date['now']()-_0x51dea8['open']['timestamp']<_0x24ae11['state']['facet'](ix)['interactionDelay'])&&px(_0x24ae11,_0x51dea8['open']['options'][_0x51dea8['open']['selected']]);}}],sR=$y['highest'](BE['computeN']([ix],_0x6ad496=>_0x6ad496['facet'](ix)['defaultKeymap']?[iR]:[]));class Stack{constructor(_0x4bc69c,_0xae62f2,_0x1f5edd,_0x5d3017,_0x48bc2e,_0x3205dd,_0x3b7f3c,_0x446849,_0x434d3c,_0x505e30=0x0,_0x2b047a){this['p']=_0x4bc69c,this['stack']=_0xae62f2,this['state']=_0x1f5edd,this['reducePos']=_0x5d3017,this['pos']=_0x48bc2e,this['score']=_0x3205dd,this['buffer']=_0x3b7f3c,this['bufferBase']=_0x446849,this['curContext']=_0x434d3c,this['lookAhead']=_0x505e30,this['parent']=_0x2b047a;}['toString'](){return'['+this['stack']['filter']((_0x211580,_0x121839)=>_0x121839%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x2e6e5c,_0x15d345,_0x253a86=0x0){let _0x4fbca6=_0x2e6e5c['parser']['context'];return new Stack(_0x2e6e5c,[],_0x15d345,_0x253a86,_0x253a86,0x0,[],0x0,_0x4fbca6?new StackContext(_0x4fbca6,_0x4fbca6['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x1c5817,_0x489d52){this['stack']['push'](this['state'],_0x489d52,this['bufferBase']+this['buffer']['length']),this['state']=_0x1c5817;}['reduce'](_0x2e8d78){var _0x4f6f12;let _0xbd1fc=_0x2e8d78>>0x13,_0x1f175c=0xffff&_0x2e8d78,{parser:_0x4863c1}=this['p'],_0x20c3fd=this['reducePos']<this['pos']-0x19;_0x20c3fd&&this['setLookAhead'](this['pos']);let _0x99bb0c=_0x4863c1['dynamicPrecedence'](_0x1f175c);if(_0x99bb0c&&(this['score']+=_0x99bb0c),0x0==_0xbd1fc)return this['pushState'](_0x4863c1['getGoto'](this['state'],_0x1f175c,!0x0),this['reducePos']),_0x1f175c<_0x4863c1['minRepeatTerm']&&this['storeNode'](_0x1f175c,this['reducePos'],this['reducePos'],_0x20c3fd?0x8:0x4,!0x0),void this['reduceContext'](_0x1f175c,this['reducePos']);let _0x57f114=this['stack']['length']-0x3*(_0xbd1fc-0x1)-(0x40000&_0x2e8d78?0x6:0x0),_0x1496be=_0x57f114?this['stack'][_0x57f114-0x2]:this['p']['ranges'][0x0]['from'],_0x66ba81=this['reducePos']-_0x1496be;_0x66ba81>=0x7d0&&!(null===(_0x4f6f12=this['p']['parser']['nodeSet']['types'][_0x1f175c])||void 0x0===_0x4f6f12?void 0x0:_0x4f6f12['isAnonymous'])&&(_0x1496be==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x66ba81):this['p']['lastBigReductionSize']<_0x66ba81&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x1496be,this['p']['lastBigReductionSize']=_0x66ba81));let _0x143ea4=_0x57f114?this['stack'][_0x57f114-0x1]:0x0,_0x51f805=this['bufferBase']+this['buffer']['length']-_0x143ea4;if(_0x1f175c<_0x4863c1['minRepeatTerm']||0x20000&_0x2e8d78){let _0x3c2cca=_0x4863c1['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x1f175c,_0x1496be,_0x3c2cca,_0x51f805+0x4,!0x0);}if(0x40000&_0x2e8d78)this['state']=this['stack'][_0x57f114];else{let _0x589276=this['stack'][_0x57f114-0x3];this['state']=_0x4863c1['getGoto'](_0x589276,_0x1f175c,!0x0);}for(;this['stack']['length']>_0x57f114;)this['stack']['pop']();this['reduceContext'](_0x1f175c,_0x1496be);}['storeNode'](_0x501a4e,_0xeacc0,_0x4c9062,_0x203481=0x4,_0x142fca=!0x1){if(0x0==_0x501a4e&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x170873=this,_0x31ede0=this['buffer']['length'];if(0x0==_0x31ede0&&_0x170873['parent']&&(_0x31ede0=_0x170873['bufferBase']-_0x170873['parent']['bufferBase'],_0x170873=_0x170873['parent']),_0x31ede0>0x0&&0x0==_0x170873['buffer'][_0x31ede0-0x4]&&_0x170873['buffer'][_0x31ede0-0x1]>-0x1){if(_0xeacc0==_0x4c9062)return;if(_0x170873['buffer'][_0x31ede0-0x2]>=_0xeacc0)return void(_0x170873['buffer'][_0x31ede0-0x2]=_0x4c9062);}}if(_0x142fca&&this['pos']!=_0x4c9062){let _0x224e47=this['buffer']['length'];if(_0x224e47>0x0&&(0x0!=this['buffer'][_0x224e47-0x4]||this['buffer'][_0x224e47-0x1]<0x0)){let _0x36f843=!0x1;for(let _0x50f01b=_0x224e47;_0x50f01b>0x0&&this['buffer'][_0x50f01b-0x2]>_0x4c9062;_0x50f01b-=0x4)if(this['buffer'][_0x50f01b-0x1]>=0x0){_0x36f843=!0x0;break;}if(_0x36f843){for(;_0x224e47>0x0&&this['buffer'][_0x224e47-0x2]>_0x4c9062;)this['buffer'][_0x224e47]=this['buffer'][_0x224e47-0x4],this['buffer'][_0x224e47+0x1]=this['buffer'][_0x224e47-0x3],this['buffer'][_0x224e47+0x2]=this['buffer'][_0x224e47-0x2],this['buffer'][_0x224e47+0x3]=this['buffer'][_0x224e47-0x1],_0x224e47-=0x4,_0x203481>0x4&&(_0x203481-=0x4);}}this['buffer'][_0x224e47]=_0x501a4e,this['buffer'][_0x224e47+0x1]=_0xeacc0,this['buffer'][_0x224e47+0x2]=_0x4c9062,this['buffer'][_0x224e47+0x3]=_0x203481;}else this['buffer']['push'](_0x501a4e,_0xeacc0,_0x4c9062,_0x203481);}['shift'](_0x9cc222,_0xcc3961,_0x49432b,_0x373126){if(0x20000&_0x9cc222)this['pushState'](0xffff&_0x9cc222,this['pos']);else{if(0x40000&_0x9cc222)this['pos']=_0x373126,this['shiftContext'](_0xcc3961,_0x49432b),_0xcc3961<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0xcc3961,_0x49432b,_0x373126,0x4);else{let _0x596489=_0x9cc222,{parser:_0x424c6a}=this['p'];(_0x373126>this['pos']||_0xcc3961<=_0x424c6a['maxNode'])&&(this['pos']=_0x373126,_0x424c6a['stateFlag'](_0x596489,0x1)||(this['reducePos']=_0x373126)),this['pushState'](_0x596489,_0x49432b),this['shiftContext'](_0xcc3961,_0x49432b),_0xcc3961<=_0x424c6a['maxNode']&&this['buffer']['push'](_0xcc3961,_0x49432b,_0x373126,0x4);}}}['apply'](_0x26766d,_0x226584,_0x492751,_0x1f6fdc){0x10000&_0x26766d?this['reduce'](_0x26766d):this['shift'](_0x26766d,_0x226584,_0x492751,_0x1f6fdc);}['useNode'](_0x5a63da,_0x5709eb){let _0x565942=this['p']['reused']['length']-0x1;(_0x565942<0x0||this['p']['reused'][_0x565942]!=_0x5a63da)&&(this['p']['reused']['push'](_0x5a63da),_0x565942++);let _0x42e5fd=this['pos'];this['reducePos']=this['pos']=_0x42e5fd+_0x5a63da['length'],this['pushState'](_0x5709eb,_0x42e5fd),this['buffer']['push'](_0x565942,_0x42e5fd,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x5a63da,this,this['p']['stream']['reset'](this['pos']-_0x5a63da['length'])));}['split'](){let _0x383d35=this,_0x4a54ac=_0x383d35['buffer']['length'];for(;_0x4a54ac>0x0&&_0x383d35['buffer'][_0x4a54ac-0x2]>_0x383d35['reducePos'];)_0x4a54ac-=0x4;let _0x2a040b=_0x383d35['buffer']['slice'](_0x4a54ac),_0x44d4ff=_0x383d35['bufferBase']+_0x4a54ac;for(;_0x383d35&&_0x44d4ff==_0x383d35['bufferBase'];)_0x383d35=_0x383d35['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x2a040b,_0x44d4ff,this['curContext'],this['lookAhead'],_0x383d35);}['recoverByDelete'](_0x12c8e4,_0x5e1838){let _0x3f630a=_0x12c8e4<=this['p']['parser']['maxNode'];_0x3f630a&&this['storeNode'](_0x12c8e4,this['pos'],_0x5e1838,0x4),this['storeNode'](0x0,this['pos'],_0x5e1838,_0x3f630a?0x8:0x4),this['pos']=this['reducePos']=_0x5e1838,this['score']-=0xbe;}['canShift'](_0x2b0a98){for(let _0x57577c=new SimulatedStack(this);;){let _0x5f43c6=this['p']['parser']['stateSlot'](_0x57577c['state'],0x4)||this['p']['parser']['hasAction'](_0x57577c['state'],_0x2b0a98);if(0x0==_0x5f43c6)return!0x1;if(!(0x10000&_0x5f43c6))return!0x0;_0x57577c['reduce'](_0x5f43c6);}}['recoverByInsert'](_0x5331e6){if(this['stack']['length']>=0x12c)return[];let _0x765a08=this['p']['parser']['nextStates'](this['state']);if(_0x765a08['length']>0x8||this['stack']['length']>=0x78){let _0x3bffd5=[];for(let _0x2d16e7,_0x2c831c=0x0;_0x2c831c<_0x765a08['length'];_0x2c831c+=0x2)(_0x2d16e7=_0x765a08[_0x2c831c+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x2d16e7,_0x5331e6)&&_0x3bffd5['push'](_0x765a08[_0x2c831c],_0x2d16e7);if(this['stack']['length']<0x78)for(let _0x19b5fd=0x0;_0x3bffd5['length']<0x8&&_0x19b5fd<_0x765a08['length'];_0x19b5fd+=0x2){let _0xd0cd53=_0x765a08[_0x19b5fd+0x1];_0x3bffd5['some']((_0x330ac3,_0x1898d1)=>0x1&_0x1898d1&&_0x330ac3==_0xd0cd53)||_0x3bffd5['push'](_0x765a08[_0x19b5fd],_0xd0cd53);}_0x765a08=_0x3bffd5;}let _0x5db83b=[];for(let _0x211eb0=0x0;_0x211eb0<_0x765a08['length']&&_0x5db83b['length']<0x4;_0x211eb0+=0x2){let _0x56823e=_0x765a08[_0x211eb0+0x1];if(_0x56823e==this['state'])continue;let _0x25635c=this['split']();_0x25635c['pushState'](_0x56823e,this['pos']),_0x25635c['storeNode'](0x0,_0x25635c['pos'],_0x25635c['pos'],0x4,!0x0),_0x25635c['shiftContext'](_0x765a08[_0x211eb0],this['pos']),_0x25635c['reducePos']=this['pos'],_0x25635c['score']-=0xc8,_0x5db83b['push'](_0x25635c);}return _0x5db83b;}['forceReduce'](){let {parser:_0x3e6c4c}=this['p'],_0x26f435=_0x3e6c4c['stateSlot'](this['state'],0x5);if(!(0x10000&_0x26f435))return!0x1;if(!_0x3e6c4c['validAction'](this['state'],_0x26f435)){let _0x296856=_0x26f435>>0x13,_0x5c9501=0xffff&_0x26f435,_0x5df685=this['stack']['length']-0x3*_0x296856;if(_0x5df685<0x0||_0x3e6c4c['getGoto'](this['stack'][_0x5df685],_0x5c9501,!0x1)<0x0){let _0x31a186=this['findForcedReduction']();if(null==_0x31a186)return!0x1;_0x26f435=_0x31a186;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x26f435),!0x0;}['findForcedReduction'](){let {parser:_0x9e4dc2}=this['p'],_0x47f350=[],_0x32b004=(_0x5d2d2d,_0x442210)=>{if(!_0x47f350['includes'](_0x5d2d2d))return _0x47f350['push'](_0x5d2d2d),_0x9e4dc2['allActions'](_0x5d2d2d,_0x44a80e=>{if(0x60000&_0x44a80e);else{if(0x10000&_0x44a80e){let _0x46ca55=(_0x44a80e>>0x13)-_0x442210;if(_0x46ca55>0x1){let _0x493088=0xffff&_0x44a80e,_0x5467c5=this['stack']['length']-0x3*_0x46ca55;if(_0x5467c5>=0x0&&_0x9e4dc2['getGoto'](this['stack'][_0x5467c5],_0x493088,!0x1)>=0x0)return _0x46ca55<<0x13|0x10000|_0x493088;}}else{let _0x4e9a33=_0x32b004(_0x44a80e,_0x442210+0x1);if(null!=_0x4e9a33)return _0x4e9a33;}}});};return _0x32b004(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:_0x56a724}=this['p'];return 0xffff==_0x56a724['data'][_0x56a724['stateSlot'](this['state'],0x1)]&&!_0x56a724['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x6453b9){if(this['state']!=_0x6453b9['state']||this['stack']['length']!=_0x6453b9['stack']['length'])return!0x1;for(let _0x5e4323=0x0;_0x5e4323<this['stack']['length'];_0x5e4323+=0x3)if(this['stack'][_0x5e4323]!=_0x6453b9['stack'][_0x5e4323])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x3e9b8a){return this['p']['parser']['dialect']['flags'][_0x3e9b8a];}['shiftContext'](_0x173715,_0x3593d7){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x173715,this,this['p']['stream']['reset'](_0x3593d7)));}['reduceContext'](_0x63d747,_0x57bce4){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x63d747,this,this['p']['stream']['reset'](_0x57bce4)));}['emitContext'](){let _0x59303c=this['buffer']['length']-0x1;(_0x59303c<0x0||-0x3!=this['buffer'][_0x59303c])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x4bacd1=this['buffer']['length']-0x1;(_0x4bacd1<0x0||-0x4!=this['buffer'][_0x4bacd1])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x4fae8c){if(_0x4fae8c!=this['curContext']['context']){let _0x99086=new StackContext(this['curContext']['tracker'],_0x4fae8c);_0x99086['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x99086;}}['setLookAhead'](_0x26f98f){_0x26f98f>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x26f98f);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x4e3cd5,_0x1e81b2){this['tracker']=_0x4e3cd5,this['context']=_0x1e81b2,this['hash']=_0x4e3cd5['strict']?_0x4e3cd5['hash'](_0x1e81b2):0x0;}}class SimulatedStack{constructor(_0x39fc65){this['start']=_0x39fc65,this['state']=_0x39fc65['state'],this['stack']=_0x39fc65['stack'],this['base']=this['stack']['length'];}['reduce'](_0x4c22ca){let _0xa8b4c2=0xffff&_0x4c22ca,_0x26bb18=_0x4c22ca>>0x13;0x0==_0x26bb18?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x26bb18-0x1);let _0x577f90=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0xa8b4c2,!0x0);this['state']=_0x577f90;}}class StackBufferCursor{constructor(_0x409e9e,_0x3b30c9,_0x594d89){this['stack']=_0x409e9e,this['pos']=_0x3b30c9,this['index']=_0x594d89,this['buffer']=_0x409e9e['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x3bab41,_0x41f2d2=_0x3bab41['bufferBase']+_0x3bab41['buffer']['length']){return new StackBufferCursor(_0x3bab41,_0x41f2d2,_0x41f2d2-_0x3bab41['bufferBase']);}['maybeNext'](){let _0x292b7c=this['stack']['parent'];null!=_0x292b7c&&(this['index']=this['stack']['bufferBase']-_0x292b7c['bufferBase'],this['stack']=_0x292b7c,this['buffer']=_0x292b7c['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 nR(_0x3bfaca,_0xc2ab18=Uint16Array){if('string'!=typeof _0x3bfaca)return _0x3bfaca;let _0x1922cb=null;for(let _0x34869a=0x0,_0x3e16c3=0x0;_0x34869a<_0x3bfaca['length'];){let _0x331f4b=0x0;for(;;){let _0x1811fd=_0x3bfaca['charCodeAt'](_0x34869a++),_0x144b73=!0x1;if(0x7e==_0x1811fd){_0x331f4b=0xffff;break;}_0x1811fd>=0x5c&&_0x1811fd--,_0x1811fd>=0x22&&_0x1811fd--;let _0xf6d3bb=_0x1811fd-0x20;if(_0xf6d3bb>=0x2e&&(_0xf6d3bb-=0x2e,_0x144b73=!0x0),_0x331f4b+=_0xf6d3bb,_0x144b73)break;_0x331f4b*=0x2e;}_0x1922cb?_0x1922cb[_0x3e16c3++]=_0x331f4b:_0x1922cb=new _0xc2ab18(_0x331f4b);}return _0x1922cb;}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 rR=new CachedToken();class InputStream{constructor(_0x500e1a,_0x155cb4){this['input']=_0x500e1a,this['ranges']=_0x155cb4,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=rR,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x155cb4[0x0]['from'],this['range']=_0x155cb4[0x0],this['end']=_0x155cb4[_0x155cb4['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x2f481a,_0x1ad6c9){let _0x1537b0=this['range'],_0x259169=this['rangeIndex'],_0xc70e11=this['pos']+_0x2f481a;for(;_0xc70e11<_0x1537b0['from'];){if(!_0x259169)return null;let _0x342786=this['ranges'][--_0x259169];_0xc70e11-=_0x1537b0['from']-_0x342786['to'],_0x1537b0=_0x342786;}for(;_0x1ad6c9<0x0?_0xc70e11>_0x1537b0['to']:_0xc70e11>=_0x1537b0['to'];){if(_0x259169==this['ranges']['length']-0x1)return null;let _0x13c769=this['ranges'][++_0x259169];_0xc70e11+=_0x13c769['from']-_0x1537b0['to'],_0x1537b0=_0x13c769;}return _0xc70e11;}['clipPos'](_0x341e24){if(_0x341e24>=this['range']['from']&&_0x341e24<this['range']['to'])return _0x341e24;for(let _0x3e8d2f of this['ranges'])if(_0x3e8d2f['to']>_0x341e24)return Math['max'](_0x341e24,_0x3e8d2f['from']);return this['end'];}['peek'](_0x3c6935){let _0x50afb9,_0x28e3eb,_0x14257d=this['chunkOff']+_0x3c6935;if(_0x14257d>=0x0&&_0x14257d<this['chunk']['length'])_0x50afb9=this['pos']+_0x3c6935,_0x28e3eb=this['chunk']['charCodeAt'](_0x14257d);else{let _0x441de0=this['resolveOffset'](_0x3c6935,0x1);if(null==_0x441de0)return-0x1;if(_0x50afb9=_0x441de0,_0x50afb9>=this['chunk2Pos']&&_0x50afb9<this['chunk2Pos']+this['chunk2']['length'])_0x28e3eb=this['chunk2']['charCodeAt'](_0x50afb9-this['chunk2Pos']);else{let _0x35fbc4=this['rangeIndex'],_0x54cb7b=this['range'];for(;_0x54cb7b['to']<=_0x50afb9;)_0x54cb7b=this['ranges'][++_0x35fbc4];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x50afb9),_0x50afb9+this['chunk2']['length']>_0x54cb7b['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x54cb7b['to']-_0x50afb9)),_0x28e3eb=this['chunk2']['charCodeAt'](0x0);}}return _0x50afb9>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x50afb9+0x1),_0x28e3eb;}['acceptToken'](_0x11e357,_0x3bec93=0x0){let _0x542d45=_0x3bec93?this['resolveOffset'](_0x3bec93,-0x1):this['pos'];if(null==_0x542d45||_0x542d45<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x11e357,this['token']['end']=_0x542d45;}['acceptTokenTo'](_0x35f6c7,_0x220a77){this['token']['value']=_0x35f6c7,this['token']['end']=_0x220a77;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x59a8d6,chunkPos:_0x319376}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x59a8d6,this['chunk2Pos']=_0x319376,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x52af9f=this['input']['chunk'](this['pos']),_0xd920ab=this['pos']+_0x52af9f['length'];this['chunk']=_0xd920ab>this['range']['to']?_0x52af9f['slice'](0x0,this['range']['to']-this['pos']):_0x52af9f,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'](_0x4591ad=0x1){for(this['chunkOff']+=_0x4591ad;this['pos']+_0x4591ad>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x4591ad-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x4591ad,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'](_0x1eb824,_0x1b34c9){if(_0x1b34c9?(this['token']=_0x1b34c9,_0x1b34c9['start']=_0x1eb824,_0x1b34c9['lookAhead']=_0x1eb824+0x1,_0x1b34c9['value']=_0x1b34c9['extended']=-0x1):this['token']=rR,this['pos']!=_0x1eb824){if(this['pos']=_0x1eb824,_0x1eb824==this['end'])return this['setDone'](),this;for(;_0x1eb824<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x1eb824>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x1eb824>=this['chunkPos']&&_0x1eb824<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x1eb824-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x280032,_0x119b9b){if(_0x280032>=this['chunkPos']&&_0x119b9b<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x280032-this['chunkPos'],_0x119b9b-this['chunkPos']);if(_0x280032>=this['chunk2Pos']&&_0x119b9b<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x280032-this['chunk2Pos'],_0x119b9b-this['chunk2Pos']);if(_0x280032>=this['range']['from']&&_0x119b9b<=this['range']['to'])return this['input']['read'](_0x280032,_0x119b9b);let _0x54a6de='';for(let _0x3bf9b5 of this['ranges']){if(_0x3bf9b5['from']>=_0x119b9b)break;_0x3bf9b5['to']>_0x280032&&(_0x54a6de+=this['input']['read'](Math['max'](_0x3bf9b5['from'],_0x280032),Math['min'](_0x3bf9b5['to'],_0x119b9b)));}return _0x54a6de;}}class TokenGroup{constructor(_0x445bd1,_0x2a49e7){this['data']=_0x445bd1,this['id']=_0x2a49e7;}['token'](_0x3b7400,_0x2cbaac){let {parser:_0x4eb248}=_0x2cbaac['p'];oR(this['data'],_0x3b7400,_0x2cbaac,this['id'],_0x4eb248['data'],_0x4eb248['tokenPrecTable']);}}TokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class LocalTokenGroup{constructor(_0x1b2bf4,_0x30e92f,_0x388d25){this['precTable']=_0x30e92f,this['elseToken']=_0x388d25,this['data']='string'==typeof _0x1b2bf4?nR(_0x1b2bf4):_0x1b2bf4;}['token'](_0x1c0c9a,_0x2d0caa){let _0x48985e=_0x1c0c9a['pos'],_0x36db3d=0x0;for(;;){let _0x1ea235=_0x1c0c9a['next']<0x0,_0x5db794=_0x1c0c9a['resolveOffset'](0x1,0x1);if(oR(this['data'],_0x1c0c9a,_0x2d0caa,0x0,this['data'],this['precTable']),_0x1c0c9a['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x1ea235||_0x36db3d++,null==_0x5db794)break;_0x1c0c9a['reset'](_0x5db794,_0x1c0c9a['token']);}_0x36db3d&&(_0x1c0c9a['reset'](_0x48985e,_0x1c0c9a['token']),_0x1c0c9a['acceptToken'](this['elseToken'],_0x36db3d));}}LocalTokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0xfb3e17,_0x44e149={}){this['token']=_0xfb3e17,this['contextual']=!!_0x44e149['contextual'],this['fallback']=!!_0x44e149['fallback'],this['extend']=!!_0x44e149['extend'];}}function oR(_0xf7ebb7,_0x453982,_0xbfe58a,_0x1e13ee,_0x26eb3e,_0x411911){let _0x453103=0x0,_0x492aae=0x1<<_0x1e13ee,{dialect:_0xb2e636}=_0xbfe58a['p']['parser'];t:for(;0x0!=(_0x492aae&_0xf7ebb7[_0x453103]);){let _0x26b8ef=_0xf7ebb7[_0x453103+0x1];for(let _0x12d097=_0x453103+0x3;_0x12d097<_0x26b8ef;_0x12d097+=0x2)if((_0xf7ebb7[_0x12d097+0x1]&_0x492aae)>0x0){let _0x302df4=_0xf7ebb7[_0x12d097];if(_0xb2e636['allows'](_0x302df4)&&(-0x1==_0x453982['token']['value']||_0x453982['token']['value']==_0x302df4||cR(_0x302df4,_0x453982['token']['value'],_0x26eb3e,_0x411911))){_0x453982['acceptToken'](_0x302df4);break;}}let _0x10fefa=_0x453982['next'],_0x464934=0x0,_0x2fd9a7=_0xf7ebb7[_0x453103+0x2];if(!(_0x453982['next']<0x0&&_0x2fd9a7>_0x464934&&0xffff==_0xf7ebb7[_0x26b8ef+0x3*_0x2fd9a7-0x3])){for(;_0x464934<_0x2fd9a7;){let _0x5d6bfa=_0x464934+_0x2fd9a7>>0x1,_0xca7cbf=_0x26b8ef+_0x5d6bfa+(_0x5d6bfa<<0x1),_0x8bd40a=_0xf7ebb7[_0xca7cbf],_0x20a0c6=_0xf7ebb7[_0xca7cbf+0x1]||0x10000;if(_0x10fefa<_0x8bd40a)_0x2fd9a7=_0x5d6bfa;else{if(!(_0x10fefa>=_0x20a0c6)){_0x453103=_0xf7ebb7[_0xca7cbf+0x2],_0x453982['advance']();continue t;}_0x464934=_0x5d6bfa+0x1;}}break;}_0x453103=_0xf7ebb7[_0x26b8ef+0x3*_0x2fd9a7-0x1];}}function aR(_0x3a5a89,_0x478e34,_0x286567){for(let _0xc43bfd,_0x492870=_0x478e34;0xffff!=(_0xc43bfd=_0x3a5a89[_0x492870]);_0x492870++)if(_0xc43bfd==_0x286567)return _0x492870-_0x478e34;return-0x1;}function cR(_0x38ec15,_0x5b60f7,_0x23cd75,_0x209046){let _0x17dbc2=aR(_0x23cd75,_0x209046,_0x5b60f7);return _0x17dbc2<0x0||aR(_0x23cd75,_0x209046,_0x38ec15)<_0x17dbc2;}const lR='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let hR=null;function uR(_0x228166,_0x41cb24,_0x58a8c8){let _0xa5399b=_0x228166['cursor'](oI['IncludeAnonymous']);for(_0xa5399b['moveTo'](_0x41cb24);;)if(!(_0x58a8c8<0x0?_0xa5399b['childBefore'](_0x41cb24):_0xa5399b['childAfter'](_0x41cb24)))for(;;){if((_0x58a8c8<0x0?_0xa5399b['to']<_0x41cb24:_0xa5399b['from']>_0x41cb24)&&!_0xa5399b['type']['isError'])return _0x58a8c8<0x0?Math['max'](0x0,Math['min'](_0xa5399b['to']-0x1,_0x41cb24-0x19)):Math['min'](_0x228166['length'],Math['max'](_0xa5399b['from']+0x1,_0x41cb24+0x19));if(_0x58a8c8<0x0?_0xa5399b['prevSibling']():_0xa5399b['nextSibling']())break;if(!_0xa5399b['parent']())return _0x58a8c8<0x0?0x0:_0x228166['length'];}}let dR=class FragmentCursor{constructor(_0x48a226,_0x4471ec){this['fragments']=_0x48a226,this['nodeSet']=_0x4471ec,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0xf39133=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0xf39133){for(this['safeFrom']=_0xf39133['openStart']?uR(_0xf39133['tree'],_0xf39133['from']+_0xf39133['offset'],0x1)-_0xf39133['offset']:_0xf39133['from'],this['safeTo']=_0xf39133['openEnd']?uR(_0xf39133['tree'],_0xf39133['to']+_0xf39133['offset'],-0x1)-_0xf39133['offset']:_0xf39133['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0xf39133['tree']),this['start']['push'](-_0xf39133['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x115799){if(_0x115799<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x115799;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x3d0199=this['trees']['length']-0x1;if(_0x3d0199<0x0)return this['nextFragment'](),null;let _0x4e943f=this['trees'][_0x3d0199],_0x385192=this['index'][_0x3d0199];if(_0x385192==_0x4e943f['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x394594=_0x4e943f['children'][_0x385192],_0x53ee94=this['start'][_0x3d0199]+_0x4e943f['positions'][_0x385192];if(_0x53ee94>_0x115799)return this['nextStart']=_0x53ee94,null;if(_0x394594 instanceof Tree){if(_0x53ee94==_0x115799){if(_0x53ee94<this['safeFrom'])return null;let _0x2c5524=_0x53ee94+_0x394594['length'];if(_0x2c5524<=this['safeTo']){let _0xc0b9e6=_0x394594['prop'](NodeProp['lookAhead']);if(!_0xc0b9e6||_0x2c5524+_0xc0b9e6<this['fragment']['to'])return _0x394594;}}this['index'][_0x3d0199]++,_0x53ee94+_0x394594['length']>=Math['max'](this['safeFrom'],_0x115799)&&(this['trees']['push'](_0x394594),this['start']['push'](_0x53ee94),this['index']['push'](0x0));}else this['index'][_0x3d0199]++,this['nextStart']=_0x53ee94+_0x394594['length'];}}};class TokenCache{constructor(_0x13661b,_0x27dec2){this['stream']=_0x27dec2,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x13661b['tokenizers']['map'](_0x31d28f=>new CachedToken());}['getActions'](_0x22c719){let _0x5c6f79=0x0,_0x2eb41c=null,{parser:_0x129ebb}=_0x22c719['p'],{tokenizers:_0xdf076c}=_0x129ebb,_0x574956=_0x129ebb['stateSlot'](_0x22c719['state'],0x3),_0x2a95ad=_0x22c719['curContext']?_0x22c719['curContext']['hash']:0x0,_0x1f4cfc=0x0;for(let _0x2f1508=0x0;_0x2f1508<_0xdf076c['length'];_0x2f1508++){if(!(0x1<<_0x2f1508&_0x574956))continue;let _0x3bc5ef=_0xdf076c[_0x2f1508],_0x18ab71=this['tokens'][_0x2f1508];if((!_0x2eb41c||_0x3bc5ef['fallback'])&&((_0x3bc5ef['contextual']||_0x18ab71['start']!=_0x22c719['pos']||_0x18ab71['mask']!=_0x574956||_0x18ab71['context']!=_0x2a95ad)&&(this['updateCachedToken'](_0x18ab71,_0x3bc5ef,_0x22c719),_0x18ab71['mask']=_0x574956,_0x18ab71['context']=_0x2a95ad),_0x18ab71['lookAhead']>_0x18ab71['end']+0x19&&(_0x1f4cfc=Math['max'](_0x18ab71['lookAhead'],_0x1f4cfc)),0x0!=_0x18ab71['value'])){let _0x14eafb=_0x5c6f79;if(_0x18ab71['extended']>-0x1&&(_0x5c6f79=this['addActions'](_0x22c719,_0x18ab71['extended'],_0x18ab71['end'],_0x5c6f79)),_0x5c6f79=this['addActions'](_0x22c719,_0x18ab71['value'],_0x18ab71['end'],_0x5c6f79),!_0x3bc5ef['extend']&&(_0x2eb41c=_0x18ab71,_0x5c6f79>_0x14eafb))break;}}for(;this['actions']['length']>_0x5c6f79;)this['actions']['pop']();return _0x1f4cfc&&_0x22c719['setLookAhead'](_0x1f4cfc),_0x2eb41c||_0x22c719['pos']!=this['stream']['end']||(_0x2eb41c=new CachedToken(),_0x2eb41c['value']=_0x22c719['p']['parser']['eofTerm'],_0x2eb41c['start']=_0x2eb41c['end']=_0x22c719['pos'],_0x5c6f79=this['addActions'](_0x22c719,_0x2eb41c['value'],_0x2eb41c['end'],_0x5c6f79)),this['mainToken']=_0x2eb41c,this['actions'];}['getMainToken'](_0x4b76e7){if(this['mainToken'])return this['mainToken'];let _0x190997=new CachedToken(),{pos:_0x3457b2,p:_0x1e5c80}=_0x4b76e7;return _0x190997['start']=_0x3457b2,_0x190997['end']=Math['min'](_0x3457b2+0x1,_0x1e5c80['stream']['end']),_0x190997['value']=_0x3457b2==_0x1e5c80['stream']['end']?_0x1e5c80['parser']['eofTerm']:0x0,_0x190997;}['updateCachedToken'](_0x52586d,_0x431c40,_0x1fbdee){let _0x182d0e=this['stream']['clipPos'](_0x1fbdee['pos']);if(_0x431c40['token'](this['stream']['reset'](_0x182d0e,_0x52586d),_0x1fbdee),_0x52586d['value']>-0x1){let {parser:_0x36b4cd}=_0x1fbdee['p'];for(let _0x474204=0x0;_0x474204<_0x36b4cd['specialized']['length'];_0x474204++)if(_0x36b4cd['specialized'][_0x474204]==_0x52586d['value']){let _0x195c58=_0x36b4cd['specializers'][_0x474204](this['stream']['read'](_0x52586d['start'],_0x52586d['end']),_0x1fbdee);if(_0x195c58>=0x0&&_0x1fbdee['p']['parser']['dialect']['allows'](_0x195c58>>0x1)){0x1&_0x195c58?_0x52586d['extended']=_0x195c58>>0x1:_0x52586d['value']=_0x195c58>>0x1;break;}}}else _0x52586d['value']=0x0,_0x52586d['end']=this['stream']['clipPos'](_0x182d0e+0x1);}['putAction'](_0x5a1b6d,_0x524f85,_0x4faa93,_0x852642){for(let _0x2f470e=0x0;_0x2f470e<_0x852642;_0x2f470e+=0x3)if(this['actions'][_0x2f470e]==_0x5a1b6d)return _0x852642;return this['actions'][_0x852642++]=_0x5a1b6d,this['actions'][_0x852642++]=_0x524f85,this['actions'][_0x852642++]=_0x4faa93,_0x852642;}['addActions'](_0x190247,_0x1433c7,_0x352fb5,_0x3c934){let {state:_0x411aa1}=_0x190247,{parser:_0x31c4b6}=_0x190247['p'],{data:_0x194f5f}=_0x31c4b6;for(let _0x4ae59e=0x0;_0x4ae59e<0x2;_0x4ae59e++)for(let _0x1b1172=_0x31c4b6['stateSlot'](_0x411aa1,_0x4ae59e?0x2:0x1);;_0x1b1172+=0x3){if(0xffff==_0x194f5f[_0x1b1172]){if(0x1!=_0x194f5f[_0x1b1172+0x1]){0x0==_0x3c934&&0x2==_0x194f5f[_0x1b1172+0x1]&&(_0x3c934=this['putAction'](gR(_0x194f5f,_0x1b1172+0x2),_0x1433c7,_0x352fb5,_0x3c934));break;}_0x1b1172=gR(_0x194f5f,_0x1b1172+0x2);}_0x194f5f[_0x1b1172]==_0x1433c7&&(_0x3c934=this['putAction'](gR(_0x194f5f,_0x1b1172+0x1),_0x1433c7,_0x352fb5,_0x3c934));}return _0x3c934;}}class Parse{constructor(_0x234aed,_0xe74da2,_0x58ae51,_0x595702){this['parser']=_0x234aed,this['input']=_0xe74da2,this['ranges']=_0x595702,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(_0xe74da2,_0x595702),this['tokens']=new TokenCache(_0x234aed,this['stream']),this['topTerm']=_0x234aed['top'][0x1];let {from:_0x39b8a7}=_0x595702[0x0];this['stacks']=[Stack['start'](this,_0x234aed['top'][0x0],_0x39b8a7)],this['fragments']=_0x58ae51['length']&&this['stream']['end']-_0x39b8a7>0x4*_0x234aed['bufferLength']?new dR(_0x58ae51,_0x234aed['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x12e713,_0x49923c,_0x286873=this['stacks'],_0x310d24=this['minStackPos'],_0x1db279=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x286873['length']){let [_0x13670f]=_0x286873;for(;_0x13670f['forceReduce']()&&_0x13670f['stack']['length']&&_0x13670f['stack'][_0x13670f['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x4c72e6=0x0;_0x4c72e6<_0x286873['length'];_0x4c72e6++){let _0x2622bd=_0x286873[_0x4c72e6];for(;;){if(this['tokens']['mainToken']=null,_0x2622bd['pos']>_0x310d24)_0x1db279['push'](_0x2622bd);else{if(this['advanceStack'](_0x2622bd,_0x1db279,_0x286873))continue;{_0x12e713||(_0x12e713=[],_0x49923c=[]),_0x12e713['push'](_0x2622bd);let _0x30405c=this['tokens']['getMainToken'](_0x2622bd);_0x49923c['push'](_0x30405c['value'],_0x30405c['end']);}}break;}}if(!_0x1db279['length']){let _0x2399c6=_0x12e713&&function(_0x161b0f){let _0x2b2bc6=null;for(let _0x115376 of _0x161b0f){let _0x4f9c5e=_0x115376['p']['stoppedAt'];(_0x115376['pos']==_0x115376['p']['stream']['end']||null!=_0x4f9c5e&&_0x115376['pos']>_0x4f9c5e)&&_0x115376['p']['parser']['stateFlag'](_0x115376['state'],0x2)&&(!_0x2b2bc6||_0x2b2bc6['score']<_0x115376['score'])&&(_0x2b2bc6=_0x115376);}return _0x2b2bc6;}(_0x12e713);if(_0x2399c6)return lR&&console['log']('Finish\x20with\x20'+this['stackID'](_0x2399c6)),this['stackToTree'](_0x2399c6);if(this['parser']['strict'])throw lR&&_0x12e713&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x310d24);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x12e713){let _0x2b029d=null!=this['stoppedAt']&&_0x12e713[0x0]['pos']>this['stoppedAt']?_0x12e713[0x0]:this['runRecovery'](_0x12e713,_0x49923c,_0x1db279);if(_0x2b029d)return lR&&console['log']('Force-finish\x20'+this['stackID'](_0x2b029d)),this['stackToTree'](_0x2b029d['forceAll']());}if(this['recovering']){let _0x1ce98f=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x1db279['length']>_0x1ce98f){for(_0x1db279['sort']((_0x22a150,_0x5f418d)=>_0x5f418d['score']-_0x22a150['score']);_0x1db279['length']>_0x1ce98f;)_0x1db279['pop']();}_0x1db279['some'](_0x4ca284=>_0x4ca284['reducePos']>_0x310d24)&&this['recovering']--;}else{if(_0x1db279['length']>0x1){t:for(let _0x2f29b1=0x0;_0x2f29b1<_0x1db279['length']-0x1;_0x2f29b1++){let _0x3c54d3=_0x1db279[_0x2f29b1];for(let _0x4fac6a=_0x2f29b1+0x1;_0x4fac6a<_0x1db279['length'];_0x4fac6a++){let _0x145bd8=_0x1db279[_0x4fac6a];if(_0x3c54d3['sameState'](_0x145bd8)||_0x3c54d3['buffer']['length']>0x1f4&&_0x145bd8['buffer']['length']>0x1f4){if(!((_0x3c54d3['score']-_0x145bd8['score']||_0x3c54d3['buffer']['length']-_0x145bd8['buffer']['length'])>0x0)){_0x1db279['splice'](_0x2f29b1--,0x1);continue t;}_0x1db279['splice'](_0x4fac6a--,0x1);}}}_0x1db279['length']>0xc&&_0x1db279['splice'](0xc,_0x1db279['length']-0xc);}}this['minStackPos']=_0x1db279[0x0]['pos'];for(let _0x7d023=0x1;_0x7d023<_0x1db279['length'];_0x7d023++)_0x1db279[_0x7d023]['pos']<this['minStackPos']&&(this['minStackPos']=_0x1db279[_0x7d023]['pos']);return null;}['stopAt'](_0x1d3d6a){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1d3d6a)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1d3d6a;}['advanceStack'](_0x5c2576,_0x470dae,_0x266927){let _0x436b6f=_0x5c2576['pos'],{parser:_0x23edfa}=this,_0x57cb74=lR?this['stackID'](_0x5c2576)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x436b6f>this['stoppedAt'])return _0x5c2576['forceReduce']()?_0x5c2576:null;if(this['fragments']){let _0x31c8ca=_0x5c2576['curContext']&&_0x5c2576['curContext']['tracker']['strict'],_0x2a85ab=_0x31c8ca?_0x5c2576['curContext']['hash']:0x0;for(let _0x5a91e0=this['fragments']['nodeAt'](_0x436b6f);_0x5a91e0;){let _0x4ccf64=this['parser']['nodeSet']['types'][_0x5a91e0['type']['id']]==_0x5a91e0['type']?_0x23edfa['getGoto'](_0x5c2576['state'],_0x5a91e0['type']['id']):-0x1;if(_0x4ccf64>-0x1&&_0x5a91e0['length']&&(!_0x31c8ca||(_0x5a91e0['prop'](NodeProp['contextHash'])||0x0)==_0x2a85ab))return _0x5c2576['useNode'](_0x5a91e0,_0x4ccf64),lR&&console['log'](_0x57cb74+this['stackID'](_0x5c2576)+('\x20(via\x20reuse\x20of\x20'+_0x23edfa['getName'](_0x5a91e0['type']['id'])+')')),!0x0;if(!(_0x5a91e0 instanceof Tree)||0x0==_0x5a91e0['children']['length']||_0x5a91e0['positions'][0x0]>0x0)break;let _0x398666=_0x5a91e0['children'][0x0];if(!(_0x398666 instanceof Tree&&0x0==_0x5a91e0['positions'][0x0]))break;_0x5a91e0=_0x398666;}}let _0x207b32=_0x23edfa['stateSlot'](_0x5c2576['state'],0x4);if(_0x207b32>0x0)return _0x5c2576['reduce'](_0x207b32),lR&&console['log'](_0x57cb74+this['stackID'](_0x5c2576)+('\x20(via\x20always-reduce\x20'+_0x23edfa['getName'](0xffff&_0x207b32)+')')),!0x0;if(_0x5c2576['stack']['length']>=0x20d0){for(;_0x5c2576['stack']['length']>0x1770&&_0x5c2576['forceReduce'](););}let _0x10f660=this['tokens']['getActions'](_0x5c2576);for(let _0x17d346=0x0;_0x17d346<_0x10f660['length'];){let _0x1284e1=_0x10f660[_0x17d346++],_0x2a7111=_0x10f660[_0x17d346++],_0x343eec=_0x10f660[_0x17d346++],_0x18d641=_0x17d346==_0x10f660['length']||!_0x266927,_0x2518c5=_0x18d641?_0x5c2576:_0x5c2576['split'](),_0x3e83bb=this['tokens']['mainToken'];if(_0x2518c5['apply'](_0x1284e1,_0x2a7111,_0x3e83bb?_0x3e83bb['start']:_0x2518c5['pos'],_0x343eec),lR&&console['log'](_0x57cb74+this['stackID'](_0x2518c5)+('\x20(via\x20'+(0x10000&_0x1284e1?'reduce\x20of\x20'+_0x23edfa['getName'](0xffff&_0x1284e1):'shift')+'\x20for\x20'+_0x23edfa['getName'](_0x2a7111)+'\x20@\x20'+_0x436b6f+(_0x2518c5==_0x5c2576?'':',\x20split')+')')),_0x18d641)return!0x0;_0x2518c5['pos']>_0x436b6f?_0x470dae['push'](_0x2518c5):_0x266927['push'](_0x2518c5);}return!0x1;}['advanceFully'](_0x51c333,_0x5ea022){let _0x511fcb=_0x51c333['pos'];for(;;){if(!this['advanceStack'](_0x51c333,null,null))return!0x1;if(_0x51c333['pos']>_0x511fcb)return fR(_0x51c333,_0x5ea022),!0x0;}}['runRecovery'](_0x1f9f59,_0x256bf4,_0x2d4dd3){let _0x482cfc=null,_0x2a10a6=!0x1;for(let _0x9bc1c0=0x0;_0x9bc1c0<_0x1f9f59['length'];_0x9bc1c0++){let _0x1c759e=_0x1f9f59[_0x9bc1c0],_0x5f28a0=_0x256bf4[_0x9bc1c0<<0x1],_0x506b9b=_0x256bf4[0x1+(_0x9bc1c0<<0x1)],_0x36a9f1=lR?this['stackID'](_0x1c759e)+'\x20->\x20':'';if(_0x1c759e['deadEnd']){if(_0x2a10a6)continue;if(_0x2a10a6=!0x0,_0x1c759e['restart'](),lR&&console['log'](_0x36a9f1+this['stackID'](_0x1c759e)+'\x20(restarted)'),this['advanceFully'](_0x1c759e,_0x2d4dd3))continue;}let _0x3c64d3=_0x1c759e['split'](),_0x4d4eea=_0x36a9f1;for(let _0x44d6f8=0x0;_0x44d6f8<0xa&&_0x3c64d3['forceReduce']();_0x44d6f8++){if(lR&&console['log'](_0x4d4eea+this['stackID'](_0x3c64d3)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x3c64d3,_0x2d4dd3))break;lR&&(_0x4d4eea=this['stackID'](_0x3c64d3)+'\x20->\x20');}for(let _0x38bb80 of _0x1c759e['recoverByInsert'](_0x5f28a0))lR&&console['log'](_0x36a9f1+this['stackID'](_0x38bb80)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x38bb80,_0x2d4dd3);this['stream']['end']>_0x1c759e['pos']?(_0x506b9b==_0x1c759e['pos']&&(_0x506b9b++,_0x5f28a0=0x0),_0x1c759e['recoverByDelete'](_0x5f28a0,_0x506b9b),lR&&console['log'](_0x36a9f1+this['stackID'](_0x1c759e)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x5f28a0)+')')),fR(_0x1c759e,_0x2d4dd3)):(!_0x482cfc||_0x482cfc['score']<_0x1c759e['score'])&&(_0x482cfc=_0x1c759e);}return _0x482cfc;}['stackToTree'](_0x569a09){return _0x569a09['close'](),Tree['build']({'buffer':StackBufferCursor['create'](_0x569a09),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x569a09['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x2e1847){let _0x40755f=(hR||(hR=new WeakMap()))['get'](_0x2e1847);return _0x40755f||hR['set'](_0x2e1847,_0x40755f=String['fromCodePoint'](this['nextStackID']++)),_0x40755f+_0x2e1847;}}function fR(_0x3b88ff,_0x35aec1){for(let _0x2e6e87=0x0;_0x2e6e87<_0x35aec1['length'];_0x2e6e87++){let _0x1d5346=_0x35aec1[_0x2e6e87];if(_0x1d5346['pos']==_0x3b88ff['pos']&&_0x1d5346['sameState'](_0x3b88ff))return void(_0x35aec1[_0x2e6e87]['score']<_0x3b88ff['score']&&(_0x35aec1[_0x2e6e87]=_0x3b88ff));}_0x35aec1['push'](_0x3b88ff);}class Dialect{constructor(_0x1d31fd,_0x51250b,_0x5c4627){this['source']=_0x1d31fd,this['flags']=_0x51250b,this['disabled']=_0x5c4627;}['allows'](_0x5abf4a){return!this['disabled']||0x0==this['disabled'][_0x5abf4a];}}const mR=_0xceca17=>_0xceca17;class ContextTracker{constructor(_0x175ec4){this['start']=_0x175ec4['start'],this['shift']=_0x175ec4['shift']||mR,this['reduce']=_0x175ec4['reduce']||mR,this['reuse']=_0x175ec4['reuse']||mR,this['hash']=_0x175ec4['hash']||(()=>0x0),this['strict']=!0x1!==_0x175ec4['strict'];}}class LRParser extends Parser{constructor(_0x31b483){if(super(),this['wrappers']=[],0xe!=_0x31b483['version'])throw new RangeError('Parser\x20version\x20('+_0x31b483['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x4c35d2=_0x31b483['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x4c35d2['length'];for(let _0x156c6d=0x0;_0x156c6d<_0x31b483['repeatNodeCount'];_0x156c6d++)_0x4c35d2['push']('');let _0x4df144=Object['keys'](_0x31b483['topRules'])['map'](_0x4c4762=>_0x31b483['topRules'][_0x4c4762][0x1]),_0x3772bc=[];for(let _0xad4b5b=0x0;_0xad4b5b<_0x4c35d2['length'];_0xad4b5b++)_0x3772bc['push']([]);function _0x43a0ad(_0x11ee89,_0x484009,_0x5ba28f){_0x3772bc[_0x11ee89]['push']([_0x484009,_0x484009['deserialize'](String(_0x5ba28f))]);}if(_0x31b483['nodeProps'])for(let _0x2161d7 of _0x31b483['nodeProps']){let _0x19ccdc=_0x2161d7[0x0];'string'==typeof _0x19ccdc&&(_0x19ccdc=NodeProp[_0x19ccdc]);for(let _0x423d4b=0x1;_0x423d4b<_0x2161d7['length'];){let _0x52645b=_0x2161d7[_0x423d4b++];if(_0x52645b>=0x0)_0x43a0ad(_0x52645b,_0x19ccdc,_0x2161d7[_0x423d4b++]);else{let _0x4a226f=_0x2161d7[_0x423d4b+-_0x52645b];for(let _0x49c5f3=-_0x52645b;_0x49c5f3>0x0;_0x49c5f3--)_0x43a0ad(_0x2161d7[_0x423d4b++],_0x19ccdc,_0x4a226f);_0x423d4b++;}}}this['nodeSet']=new NodeSet(_0x4c35d2['map']((_0x60366c,_0x52b638)=>NodeType['define']({'name':_0x52b638>=this['minRepeatTerm']?void 0x0:_0x60366c,'id':_0x52b638,'props':_0x3772bc[_0x52b638],'top':_0x4df144['indexOf'](_0x52b638)>-0x1,'error':0x0==_0x52b638,'skipped':_0x31b483['skippedNodes']&&_0x31b483['skippedNodes']['indexOf'](_0x52b638)>-0x1}))),_0x31b483['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x31b483['propSources'])),this['strict']=!0x1,this['bufferLength']=eI;let _0x2770c6=nR(_0x31b483['tokenData']);this['context']=_0x31b483['context'],this['specializerSpecs']=_0x31b483['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x5bc885=0x0;_0x5bc885<this['specializerSpecs']['length'];_0x5bc885++)this['specialized'][_0x5bc885]=this['specializerSpecs'][_0x5bc885]['term'];this['specializers']=this['specializerSpecs']['map'](pR),this['states']=nR(_0x31b483['states'],Uint32Array),this['data']=nR(_0x31b483['stateData']),this['goto']=nR(_0x31b483['goto']),this['maxTerm']=_0x31b483['maxTerm'],this['tokenizers']=_0x31b483['tokenizers']['map'](_0x3035b7=>'number'==typeof _0x3035b7?new TokenGroup(_0x2770c6,_0x3035b7):_0x3035b7),this['topRules']=_0x31b483['topRules'],this['dialects']=_0x31b483['dialects']||{},this['dynamicPrecedences']=_0x31b483['dynamicPrecedences']||null,this['tokenPrecTable']=_0x31b483['tokenPrec'],this['termNames']=_0x31b483['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x4a0c43,_0x53c1c2,_0x14f8c4){let _0xcbfe34=new Parse(this,_0x4a0c43,_0x53c1c2,_0x14f8c4);for(let _0x2c6c83 of this['wrappers'])_0xcbfe34=_0x2c6c83(_0xcbfe34,_0x4a0c43,_0x53c1c2,_0x14f8c4);return _0xcbfe34;}['getGoto'](_0x10eb9a,_0x1870eb,_0x41fae2=!0x1){let _0x492818=this['goto'];if(_0x1870eb>=_0x492818[0x0])return-0x1;for(let _0xd1c604=_0x492818[_0x1870eb+0x1];;){let _0x21fb08=_0x492818[_0xd1c604++],_0x4bad78=0x1&_0x21fb08,_0xf4ba61=_0x492818[_0xd1c604++];if(_0x4bad78&&_0x41fae2)return _0xf4ba61;for(let _0x95a26d=_0xd1c604+(_0x21fb08>>0x1);_0xd1c604<_0x95a26d;_0xd1c604++)if(_0x492818[_0xd1c604]==_0x10eb9a)return _0xf4ba61;if(_0x4bad78)return-0x1;}}['hasAction'](_0xaa1b15,_0x3dc3ca){let _0x57a335=this['data'];for(let _0x401c77=0x0;_0x401c77<0x2;_0x401c77++)for(let _0x23cb78,_0x39f046=this['stateSlot'](_0xaa1b15,_0x401c77?0x2:0x1);;_0x39f046+=0x3){if(0xffff==(_0x23cb78=_0x57a335[_0x39f046])){if(0x1!=_0x57a335[_0x39f046+0x1]){if(0x2==_0x57a335[_0x39f046+0x1])return gR(_0x57a335,_0x39f046+0x2);break;}_0x23cb78=_0x57a335[_0x39f046=gR(_0x57a335,_0x39f046+0x2)];}if(_0x23cb78==_0x3dc3ca||0x0==_0x23cb78)return gR(_0x57a335,_0x39f046+0x1);}return 0x0;}['stateSlot'](_0x4a4391,_0x32514c){return this['states'][0x6*_0x4a4391+_0x32514c];}['stateFlag'](_0x4a9506,_0x2a7271){return(this['stateSlot'](_0x4a9506,0x0)&_0x2a7271)>0x0;}['validAction'](_0x8d6faa,_0x4d0e01){return!!this['allActions'](_0x8d6faa,_0x26d7ad=>_0x26d7ad==_0x4d0e01||null);}['allActions'](_0x38917a,_0xd2a060){let _0x5d6ef4=this['stateSlot'](_0x38917a,0x4),_0x4aa0d3=_0x5d6ef4?_0xd2a060(_0x5d6ef4):void 0x0;for(let _0x49eaa1=this['stateSlot'](_0x38917a,0x1);null==_0x4aa0d3;_0x49eaa1+=0x3){if(0xffff==this['data'][_0x49eaa1]){if(0x1!=this['data'][_0x49eaa1+0x1])break;_0x49eaa1=gR(this['data'],_0x49eaa1+0x2);}_0x4aa0d3=_0xd2a060(gR(this['data'],_0x49eaa1+0x1));}return _0x4aa0d3;}['nextStates'](_0x252944){let _0x3dcae9=[];for(let _0x4a56f6=this['stateSlot'](_0x252944,0x1);;_0x4a56f6+=0x3){if(0xffff==this['data'][_0x4a56f6]){if(0x1!=this['data'][_0x4a56f6+0x1])break;_0x4a56f6=gR(this['data'],_0x4a56f6+0x2);}if(!(0x1&this['data'][_0x4a56f6+0x2])){let _0xe9bd63=this['data'][_0x4a56f6+0x1];_0x3dcae9['some']((_0x468703,_0x230f8f)=>0x1&_0x230f8f&&_0x468703==_0xe9bd63)||_0x3dcae9['push'](this['data'][_0x4a56f6],_0xe9bd63);}}return _0x3dcae9;}['configure'](_0xb5119b){let _0x313af4=Object['assign'](Object['create'](LRParser['prototype']),this);if(_0xb5119b['props']&&(_0x313af4['nodeSet']=this['nodeSet']['extend'](..._0xb5119b['props'])),_0xb5119b['top']){let _0x224ab4=this['topRules'][_0xb5119b['top']];if(!_0x224ab4)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0xb5119b['top']);_0x313af4['top']=_0x224ab4;}return _0xb5119b['tokenizers']&&(_0x313af4['tokenizers']=this['tokenizers']['map'](t=>{let _0x31eadb=_0xb5119b['tokenizers']['find'](_0x2d1756=>_0x2d1756['from']==t);return _0x31eadb?_0x31eadb['to']:t;})),_0xb5119b['specializers']&&(_0x313af4['specializers']=this['specializers']['slice'](),_0x313af4['specializerSpecs']=this['specializerSpecs']['map']((_0x40d3aa,_0x2efb1c)=>{let _0x2c7fb2=_0xb5119b['specializers']['find'](_0x7fc112=>_0x7fc112['from']==_0x40d3aa['external']);if(!_0x2c7fb2)return _0x40d3aa;let _0x22953f=Object['assign'](Object['assign']({},_0x40d3aa),{'external':_0x2c7fb2['to']});return _0x313af4['specializers'][_0x2efb1c]=pR(_0x22953f),_0x22953f;})),_0xb5119b['contextTracker']&&(_0x313af4['context']=_0xb5119b['contextTracker']),_0xb5119b['dialect']&&(_0x313af4['dialect']=this['parseDialect'](_0xb5119b['dialect'])),null!=_0xb5119b['strict']&&(_0x313af4['strict']=_0xb5119b['strict']),_0xb5119b['wrap']&&(_0x313af4['wrappers']=_0x313af4['wrappers']['concat'](_0xb5119b['wrap'])),null!=_0xb5119b['bufferLength']&&(_0x313af4['bufferLength']=_0xb5119b['bufferLength']),_0x313af4;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x925a35){return this['termNames']?this['termNames'][_0x925a35]:String(_0x925a35<=this['maxNode']&&this['nodeSet']['types'][_0x925a35]['name']||_0x925a35);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x5809f7){let _0x1ef75b=this['dynamicPrecedences'];return null==_0x1ef75b?0x0:_0x1ef75b[_0x5809f7]||0x0;}['parseDialect'](_0x48387d){let _0xa451da=Object['keys'](this['dialects']),_0xceccd=_0xa451da['map'](()=>!0x1);if(_0x48387d)for(let _0x2e58a6 of _0x48387d['split']('\x20')){let _0x4a4a1e=_0xa451da['indexOf'](_0x2e58a6);_0x4a4a1e>=0x0&&(_0xceccd[_0x4a4a1e]=!0x0);}let _0x25fcd9=null;for(let _0x5d7109=0x0;_0x5d7109<_0xa451da['length'];_0x5d7109++)if(!_0xceccd[_0x5d7109]){for(let _0x49c309,_0x3f3a78=this['dialects'][_0xa451da[_0x5d7109]];0xffff!=(_0x49c309=this['data'][_0x3f3a78++]);)(_0x25fcd9||(_0x25fcd9=new Uint8Array(this['maxTerm']+0x1)))[_0x49c309]=0x1;}return new Dialect(_0x48387d,_0xceccd,_0x25fcd9);}static['deserialize'](_0xffffe6){return new LRParser(_0xffffe6);}}function gR(_0x16cb98,_0x4e86d1){return _0x16cb98[_0x4e86d1]|_0x16cb98[_0x4e86d1+0x1]<<0x10;}function pR(_0x4265a2){if(_0x4265a2['external']){let _0x2f8bd0=_0x4265a2['extend']?0x1:0x0;return(_0x113faa,_0x50a4f7)=>_0x4265a2['external'](_0x113faa,_0x50a4f7)<<0x1|_0x2f8bd0;}return _0x4265a2['get'];}const OR={'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},wR={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},bR={'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 yR(_0x4ff83e){return 0x2d==_0x4ff83e||0x2e==_0x4ff83e||0x3a==_0x4ff83e||_0x4ff83e>=0x41&&_0x4ff83e<=0x5a||0x5f==_0x4ff83e||_0x4ff83e>=0x61&&_0x4ff83e<=0x7a||_0x4ff83e>=0xa1;}let _R=null,vR=null,TR=0x0;function ER(_0x348fe2,_0x2de99b){let _0x4050f3=_0x348fe2['pos']+_0x2de99b;if(TR==_0x4050f3&&vR==_0x348fe2)return _R;let _0x916533=_0x348fe2['peek'](_0x2de99b),_0x953f0e='';for(;yR(_0x916533);)_0x953f0e+=String['fromCharCode'](_0x916533),_0x916533=_0x348fe2['peek'](++_0x2de99b);return vR=_0x348fe2,TR=_0x4050f3,_R=_0x953f0e?_0x953f0e['toLowerCase']():_0x916533==AR||_0x916533==IR?void 0x0:null;}const AR=0x3f,IR=0x21;function SR(_0x4e5fbc,_0x93900d){this['name']=_0x4e5fbc,this['parent']=_0x93900d;}const CR=[0x6,0xa,0x7,0x8,0x9],kR=new ContextTracker({'start':null,'shift':(_0x5e830e,_0x478b34,_0x4c23f0,_0x432706)=>CR['indexOf'](_0x478b34)>-0x1?new SR(ER(_0x432706,0x1)||'',_0x5e830e):_0x5e830e,'reduce':(_0x52a574,_0x3817b0)=>0x15==_0x3817b0&&_0x52a574?_0x52a574['parent']:_0x52a574,'reuse'(_0x2f0645,_0x4b2598,_0x8348b7,_0xe754da){let _0x33f07f=_0x4b2598['type']['id'];return 0x6==_0x33f07f||0x25==_0x33f07f?new SR(ER(_0xe754da,0x1)||'',_0x2f0645):_0x2f0645;},'strict':!0x1}),xR=new ExternalTokenizer((_0x25d156,_0x95638b)=>{if(0x3c!=_0x25d156['next'])return void(_0x25d156['next']<0x0&&_0x95638b['context']&&_0x25d156['acceptToken'](0x3a));_0x25d156['advance']();let _0x136f30=0x2f==_0x25d156['next'];_0x136f30&&_0x25d156['advance']();let _0x5a98f3=ER(_0x25d156,0x0);if(void 0x0===_0x5a98f3)return;if(!_0x5a98f3)return _0x25d156['acceptToken'](_0x136f30?0xf:0xe);let _0x44b293=_0x95638b['context']?_0x95638b['context']['name']:null;if(_0x136f30){if(_0x5a98f3==_0x44b293)return _0x25d156['acceptToken'](0xb);if(_0x44b293&&wR[_0x44b293])return _0x25d156['acceptToken'](0x3a,-0x2);if(_0x95638b['dialectEnabled'](0x0))return _0x25d156['acceptToken'](0xc);for(let _0x56f64b=_0x95638b['context'];_0x56f64b;_0x56f64b=_0x56f64b['parent'])if(_0x56f64b['name']==_0x5a98f3)return;_0x25d156['acceptToken'](0xd);}else{if('script'==_0x5a98f3)return _0x25d156['acceptToken'](0x7);if('style'==_0x5a98f3)return _0x25d156['acceptToken'](0x8);if('textarea'==_0x5a98f3)return _0x25d156['acceptToken'](0x9);if(OR['hasOwnProperty'](_0x5a98f3))return _0x25d156['acceptToken'](0xa);_0x44b293&&bR[_0x44b293]&&bR[_0x44b293][_0x5a98f3]?_0x25d156['acceptToken'](0x3a,-0x1):_0x25d156['acceptToken'](0x6);}},{'contextual':!0x0}),RR=new ExternalTokenizer(_0x488230=>{for(let _0x8b2d86=0x0,_0x563587=0x0;;_0x563587++){if(_0x488230['next']<0x0){_0x563587&&_0x488230['acceptToken'](0x3b);break;}if(0x2d==_0x488230['next'])_0x8b2d86++;else{if(0x3e==_0x488230['next']&&_0x8b2d86>=0x2){_0x563587>=0x3&&_0x488230['acceptToken'](0x3b,-0x2);break;}_0x8b2d86=0x0;}_0x488230['advance']();}}),PR=new ExternalTokenizer((_0xa5840,_0xb78bf7)=>{if(0x2f==_0xa5840['next']&&0x3e==_0xa5840['peek'](0x1)){let _0x4ece13=_0xb78bf7['dialectEnabled'](0x1)||function(_0x4c620f){for(;_0x4c620f;_0x4c620f=_0x4c620f['parent'])if('svg'==_0x4c620f['name']||'math'==_0x4c620f['name'])return!0x0;return!0x1;}(_0xb78bf7['context']);_0xa5840['acceptToken'](_0x4ece13?0x5:0x4,0x2);}else 0x3e==_0xa5840['next']&&_0xa5840['acceptToken'](0x4,0x1);});function MR(_0xf1168c,_0x4fe18a,_0x20d4cf){let _0x3450f8=0x2+_0xf1168c['length'];return new ExternalTokenizer(_0x57de72=>{for(let _0x41d713=0x0,_0x205bd3=0x0,_0x52c580=0x0;;_0x52c580++){if(_0x57de72['next']<0x0){_0x52c580&&_0x57de72['acceptToken'](_0x4fe18a);break;}if(0x0==_0x41d713&&0x3c==_0x57de72['next']||0x1==_0x41d713&&0x2f==_0x57de72['next']||_0x41d713>=0x2&&_0x41d713<_0x3450f8&&_0x57de72['next']==_0xf1168c['charCodeAt'](_0x41d713-0x2))_0x41d713++,_0x205bd3++;else{if(_0x41d713==_0x3450f8&&0x3e==_0x57de72['next']){_0x52c580>_0x205bd3?_0x57de72['acceptToken'](_0x4fe18a,-_0x205bd3):_0x57de72['acceptToken'](_0x20d4cf,-(_0x205bd3-0x2));break;}if((0xa==_0x57de72['next']||0xd==_0x57de72['next'])&&_0x52c580){_0x57de72['acceptToken'](_0x4fe18a,0x1);break;}_0x41d713=_0x205bd3=0x0;}_0x57de72['advance']();}});}const NR=MR('script',0x37,0x1),LR=MR('style',0x38,0x2),DR=MR('textarea',0x39,0x3),QR=CI({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':ZI['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':ZI['angleBracket'],'TagName':ZI['tagName'],'MismatchedCloseTag/TagName':[ZI['tagName'],ZI['invalid']],'AttributeName':ZI['attributeName'],'AttributeValue\x20UnquotedAttributeValue':ZI['attributeValue'],'Is':ZI['definitionOperator'],'EntityReference\x20CharacterReference':ZI['character'],'Comment':ZI['blockComment'],'ProcessingInst':ZI['processingInstruction'],'DoctypeDecl':ZI['documentMeta']}),$R=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':kR,'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':[QR],'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':[NR,LR,DR,PR,xR,RR,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function VR(_0x4cac25,_0x518236){let _0x44a798=Object['create'](null);for(let _0x50931d of _0x4cac25['getChildren'](0x18)){let _0x236547=_0x50931d['getChild'](0x19),_0x502048=_0x50931d['getChild'](0x1b)||_0x50931d['getChild'](0x1c);_0x236547&&(_0x44a798[_0x518236['read'](_0x236547['from'],_0x236547['to'])]=_0x502048?0x1b==_0x502048['type']['id']?_0x518236['read'](_0x502048['from']+0x1,_0x502048['to']-0x1):_0x518236['read'](_0x502048['from'],_0x502048['to']):'');}return _0x44a798;}function UR(_0x262213,_0x19c62f){let _0x49a8d5=_0x262213['getChild'](0x17);return _0x49a8d5?_0x19c62f['read'](_0x49a8d5['from'],_0x49a8d5['to']):'\x20';}function BR(_0x26dc67,_0x9df57e,_0x5afc2d){let _0x31af03;for(let _0x7d5edf of _0x5afc2d)if(!_0x7d5edf['attrs']||_0x7d5edf['attrs'](_0x31af03||(_0x31af03=VR(_0x26dc67['node']['parent']['firstChild'],_0x9df57e))))return{'parser':_0x7d5edf['parser']};return null;}function FR(_0x55d160=[],_0x1a5e66=[]){let _0x53fc94=[],_0x53d2a8=[],_0x5c26fa=[],_0x5b3188=[];for(let _0x1635cf of _0x55d160){('script'==_0x1635cf['tag']?_0x53fc94:'style'==_0x1635cf['tag']?_0x53d2a8:'textarea'==_0x1635cf['tag']?_0x5c26fa:_0x5b3188)['push'](_0x1635cf);}let _0x5918b8=_0x1a5e66['length']?Object['create'](null):null;for(let _0x105f21 of _0x1a5e66)(_0x5918b8[_0x105f21['name']]||(_0x5918b8[_0x105f21['name']]=[]))['push'](_0x105f21);return pI((_0x4e672c,_0x388965)=>{let _0x20bfb2=_0x4e672c['type']['id'];if(0x1d==_0x20bfb2)return BR(_0x4e672c,_0x388965,_0x53fc94);if(0x20==_0x20bfb2)return BR(_0x4e672c,_0x388965,_0x53d2a8);if(0x23==_0x20bfb2)return BR(_0x4e672c,_0x388965,_0x5c26fa);if(0x15==_0x20bfb2&&_0x5b3188['length']){let _0x453601,_0x30c0b4=_0x4e672c['node'],_0x2a123f=_0x30c0b4['firstChild'],_0x3074a5=_0x2a123f&&UR(_0x2a123f,_0x388965);if(_0x3074a5){for(let _0x4391a2 of _0x5b3188)if(_0x4391a2['tag']==_0x3074a5&&(!_0x4391a2['attrs']||_0x4391a2['attrs'](_0x453601||(_0x453601=VR(_0x2a123f,_0x388965))))){let _0x2aecfb=_0x30c0b4['lastChild'],_0x527b6f=0x26==_0x2aecfb['type']['id']?_0x2aecfb['from']:_0x30c0b4['to'];if(_0x527b6f>_0x2a123f['to'])return{'parser':_0x4391a2['parser'],'overlay':[{'from':_0x2a123f['to'],'to':_0x527b6f}]};}}}if(_0x5918b8&&0x18==_0x20bfb2){let _0x457afb,_0x18f4cd=_0x4e672c['node'];if(_0x457afb=_0x18f4cd['firstChild']){let _0x4b1bbd=_0x5918b8[_0x388965['read'](_0x457afb['from'],_0x457afb['to'])];if(_0x4b1bbd)for(let _0x55020e of _0x4b1bbd){if(_0x55020e['tagName']&&_0x55020e['tagName']!=UR(_0x18f4cd['parent'],_0x388965))continue;let _0x320125=_0x18f4cd['lastChild'];if(0x1b==_0x320125['type']['id']){let _0x40626c=_0x320125['from']+0x1,_0x1fc4fa=_0x320125['lastChild'],_0x27a02a=_0x320125['to']-(_0x1fc4fa&&_0x1fc4fa['isError']?0x0:0x1);if(_0x27a02a>_0x40626c)return{'parser':_0x55020e['parser'],'overlay':[{'from':_0x40626c,'to':_0x27a02a}]};}else{if(0x1c==_0x320125['type']['id'])return{'parser':_0x55020e['parser'],'overlay':[{'from':_0x320125['from'],'to':_0x320125['to']}]};}}}}return null;});}const jR=[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 HR(_0x165554){return _0x165554>=0x41&&_0x165554<=0x5a||_0x165554>=0x61&&_0x165554<=0x7a||_0x165554>=0xa1;}function GR(_0x2568d2){return _0x2568d2>=0x30&&_0x2568d2<=0x39;}function ZR(_0x5afff5){return GR(_0x5afff5)||_0x5afff5>=0x61&&_0x5afff5<=0x66||_0x5afff5>=0x41&&_0x5afff5<=0x46;}const XR=(_0x4f5da3,_0x56345a,_0x49be32)=>(_0x3b2ffa,_0x45206e)=>{for(let _0x192f6e=!0x1,_0x4ec312=0x0,_0x5e817d=0x0;;_0x5e817d++){let {next:_0x228700}=_0x3b2ffa;if(HR(_0x228700)||0x2d==_0x228700||0x5f==_0x228700||_0x192f6e&&GR(_0x228700))!_0x192f6e&&(0x2d!=_0x228700||_0x5e817d>0x0)&&(_0x192f6e=!0x0),_0x4ec312===_0x5e817d&&0x2d==_0x228700&&_0x4ec312++,_0x3b2ffa['advance']();else{if(0x5c!=_0x228700||0xa==_0x3b2ffa['peek'](0x1)){_0x192f6e&&_0x3b2ffa['acceptToken'](0x2==_0x4ec312&&_0x45206e['canShift'](0x2)?_0x56345a:0x28==_0x228700?_0x49be32:_0x4f5da3);break;}if(_0x3b2ffa['advance'](),ZR(_0x3b2ffa['next'])){do{_0x3b2ffa['advance']();}while(ZR(_0x3b2ffa['next']));0x20==_0x3b2ffa['next']&&_0x3b2ffa['advance']();}else _0x3b2ffa['next']>-0x1&&_0x3b2ffa['advance']();_0x192f6e=!0x0;}}},qR=new ExternalTokenizer(XR(0x7b,0x2,0x7c)),WR=new ExternalTokenizer(XR(0x7d,0x3,0x4)),zR=new ExternalTokenizer(_0x370687=>{if(jR['includes'](_0x370687['peek'](-0x1))){let {next:_0x412bd6}=_0x370687;(HR(_0x412bd6)||0x5f==_0x412bd6||0x23==_0x412bd6||0x2e==_0x412bd6||0x2a==_0x412bd6||0x5b==_0x412bd6||0x3a==_0x412bd6&&HR(_0x370687['peek'](0x1))||0x2d==_0x412bd6||0x26==_0x412bd6)&&_0x370687['acceptToken'](0x7a);}}),YR=new ExternalTokenizer(_0x622ae9=>{if(!jR['includes'](_0x622ae9['peek'](-0x1))){let {next:_0x5e9a7c}=_0x622ae9;if(0x25==_0x5e9a7c&&(_0x622ae9['advance'](),_0x622ae9['acceptToken'](0x1)),HR(_0x5e9a7c)){do{_0x622ae9['advance']();}while(HR(_0x622ae9['next'])||GR(_0x622ae9['next']));_0x622ae9['acceptToken'](0x1);}}}),KR=CI({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':ZI['definitionKeyword'],'from\x20to\x20selector':ZI['keyword'],'NamespaceName':ZI['namespace'],'KeyframeName':ZI['labelName'],'KeyframeRangeName':ZI['operatorKeyword'],'TagName':ZI['tagName'],'ClassName':ZI['className'],'PseudoClassName':ZI['constant'](ZI['className']),'IdName':ZI['labelName'],'FeatureName\x20PropertyName':ZI['propertyName'],'AttributeName':ZI['attributeName'],'NumberLiteral':ZI['number'],'KeywordQuery':ZI['keyword'],'UnaryQueryOp':ZI['operatorKeyword'],'CallTag\x20ValueName':ZI['atom'],'VariableName':ZI['variableName'],'Callee':ZI['operatorKeyword'],'Unit':ZI['unit'],'UniversalSelector\x20NestingSelector':ZI['definitionOperator'],'MatchOp\x20CompareOp':ZI['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':ZI['logicOperator'],'BinOp':ZI['arithmeticOperator'],'Important':ZI['modifier'],'Comment':ZI['blockComment'],'ColorLiteral':ZI['color'],'ParenthesizedContent\x20StringLiteral':ZI['string'],':':ZI['punctuation'],'PseudoOp\x20#':ZI['derefOperator'],';\x20,':ZI['separator'],'(\x20)':ZI['paren'],'[\x20]':ZI['squareBracket'],'{\x20}':ZI['brace']}),JR={'__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},tP={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},eP={'__proto__':null,'selector':0x70,'layer':0xa6},iP={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},sP={'__proto__':null,'to':0xcf},nP=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':[KR],'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':[zR,YR,qR,WR,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':_0x199cfc=>JR[_0x199cfc]||-0x1},{'term':0x7d,'get':_0x1d2514=>tP[_0x1d2514]||-0x1},{'term':0x4,'get':_0x14dc34=>eP[_0x14dc34]||-0x1},{'term':0x19,'get':_0x306869=>iP[_0x306869]||-0x1},{'term':0x7b,'get':_0x231040=>sP[_0x231040]||-0x1}],'tokenPrec':0x7ab});let rP=null;function oP(){if(!rP&&'object'==typeof document&&document['body']){let {style:_0x595544}=document['body'],_0x39546e=[],_0x5eea61=new Set();for(let _0x277853 in _0x595544)'cssText'!=_0x277853&&'cssFloat'!=_0x277853&&'string'==typeof _0x595544[_0x277853]&&(/[A-Z]/['test'](_0x277853)&&(_0x277853=_0x277853['replace'](/[A-Z]/g,_0x146809=>'-'+_0x146809['toLowerCase']())),_0x5eea61['has'](_0x277853)||(_0x39546e['push'](_0x277853),_0x5eea61['add'](_0x277853)));rP=_0x39546e['sort']()['map'](_0x199e2a=>({'type':'property','label':_0x199e2a,'apply':_0x199e2a+':\x20'}));}return rP||[];}const aP=['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'](_0x3cff9c=>({'type':'class','label':_0x3cff9c})),cP=['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'](_0x1052c9=>({'type':'keyword','label':_0x1052c9}))['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'](_0x2b0011=>({'type':'constant','label':_0x2b0011}))),lP=['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'](_0x27d102=>({'type':'type','label':_0x27d102})),hP=['@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'](_0x51dab5=>({'type':'keyword','label':_0x51dab5})),uP=/^(\w[\w-]*|-\w[\w-]*|)$/,dP=/^-(-[\w-]*)?$/,fP=new NodeWeakMap(),mP=['Declaration'];function gP(_0x182671){for(let _0x2d9ff9=_0x182671;;){if(_0x2d9ff9['type']['isTop'])return _0x2d9ff9;if(!(_0x2d9ff9=_0x2d9ff9['parent']))return _0x182671;}}function pP(_0x5da060,_0x44102c,_0x50c95a){if(_0x44102c['to']-_0x44102c['from']>0x1000){let _0x4b1185=fP['get'](_0x44102c);if(_0x4b1185)return _0x4b1185;let _0x32c137=[],_0x342bee=new Set(),_0x5a2070=_0x44102c['cursor'](oI['IncludeAnonymous']);if(_0x5a2070['firstChild']())do{for(let _0x8bb53b of pP(_0x5da060,_0x5a2070['node'],_0x50c95a))_0x342bee['has'](_0x8bb53b['label'])||(_0x342bee['add'](_0x8bb53b['label']),_0x32c137['push'](_0x8bb53b));}while(_0x5a2070['nextSibling']());return fP['set'](_0x44102c,_0x32c137),_0x32c137;}{let _0x117916=[],_0x1431c1=new Set();return _0x44102c['cursor']()['iterate'](_0x3bfb63=>{var _0x43ca29;if(_0x50c95a(_0x3bfb63)&&_0x3bfb63['matchContext'](mP)&&':'==(null===(_0x43ca29=_0x3bfb63['node']['nextSibling'])||void 0x0===_0x43ca29?void 0x0:_0x43ca29['name'])){let _0x30fd50=_0x5da060['sliceString'](_0x3bfb63['from'],_0x3bfb63['to']);_0x1431c1['has'](_0x30fd50)||(_0x1431c1['add'](_0x30fd50),_0x117916['push']({'label':_0x30fd50,'type':'variable'}));}}),_0x117916;}}const OP=_0x4f9e87=>_0x2bd5be=>{let {state:_0x508e33,pos:_0xaef2ec}=_0x2bd5be,_0x5a6f26=KI(_0x508e33)['resolveInner'](_0xaef2ec,-0x1),_0x3b13f8=_0x5a6f26['type']['isError']&&_0x5a6f26['from']==_0x5a6f26['to']-0x1&&'-'==_0x508e33['doc']['sliceString'](_0x5a6f26['from'],_0x5a6f26['to']);if('PropertyName'==_0x5a6f26['name']||(_0x3b13f8||'TagName'==_0x5a6f26['name'])&&/^(Block|Styles)$/['test'](_0x5a6f26['resolve'](_0x5a6f26['to'])['name']))return{'from':_0x5a6f26['from'],'options':oP(),'validFor':uP};if('ValueName'==_0x5a6f26['name'])return{'from':_0x5a6f26['from'],'options':cP,'validFor':uP};if('PseudoClassName'==_0x5a6f26['name'])return{'from':_0x5a6f26['from'],'options':aP,'validFor':uP};if(_0x4f9e87(_0x5a6f26)||(_0x2bd5be['explicit']||_0x3b13f8)&&function(_0x2b72b8,_0x129d6f){var _0x30f2ec;if(('('==_0x2b72b8['name']||_0x2b72b8['type']['isError'])&&(_0x2b72b8=_0x2b72b8['parent']||_0x2b72b8),'ArgList'!=_0x2b72b8['name'])return!0x1;let _0x59b05f=null===(_0x30f2ec=_0x2b72b8['parent'])||void 0x0===_0x30f2ec?void 0x0:_0x30f2ec['firstChild'];return'Callee'==(null==_0x59b05f?void 0x0:_0x59b05f['name'])&&'var'==_0x129d6f['sliceString'](_0x59b05f['from'],_0x59b05f['to']);}(_0x5a6f26,_0x508e33['doc']))return{'from':_0x4f9e87(_0x5a6f26)||_0x3b13f8?_0x5a6f26['from']:_0xaef2ec,'options':pP(_0x508e33['doc'],gP(_0x5a6f26),_0x4f9e87),'validFor':dP};if('TagName'==_0x5a6f26['name']){for(let {parent:_0x382913}=_0x5a6f26;_0x382913;_0x382913=_0x382913['parent'])if('Block'==_0x382913['name'])return{'from':_0x5a6f26['from'],'options':oP(),'validFor':uP};return{'from':_0x5a6f26['from'],'options':lP,'validFor':uP};}if('AtKeyword'==_0x5a6f26['name'])return{'from':_0x5a6f26['from'],'options':hP,'validFor':uP};if(!_0x2bd5be['explicit'])return null;let _0x1b5825=_0x5a6f26['resolve'](_0xaef2ec),_0x63934b=_0x1b5825['childBefore'](_0xaef2ec);return _0x63934b&&':'==_0x63934b['name']&&'PseudoClassSelector'==_0x1b5825['name']?{'from':_0xaef2ec,'options':aP,'validFor':uP}:_0x63934b&&':'==_0x63934b['name']&&'Declaration'==_0x1b5825['name']||'ArgList'==_0x1b5825['name']?{'from':_0xaef2ec,'options':cP,'validFor':uP}:'Block'==_0x1b5825['name']||'Styles'==_0x1b5825['name']?{'from':_0xaef2ec,'options':oP(),'validFor':uP}:null;},wP=OP(_0x150b60=>'VariableName'==_0x150b60['name']),bP=LRLanguage['define']({'name':'css','parser':nP['configure']({'props':[hS['add']({'Declaration':OS()}),yS['add']({'Block\x20KeyframeList':_S})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),yP=[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],_P=new ContextTracker({'start':!0x1,'shift':(_0x49600d,_0x25bf14)=>0x5==_0x25bf14||0x6==_0x25bf14||0x140==_0x25bf14?_0x49600d:0x141==_0x25bf14,'strict':!0x1}),vP=new ExternalTokenizer((_0x508977,_0x2d5897)=>{let {next:_0x59a74c}=_0x508977;(0x7d==_0x59a74c||-0x1==_0x59a74c||_0x2d5897['context'])&&_0x508977['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),TP=new ExternalTokenizer((_0x491f0c,_0x60b96e)=>{let _0x420eb1,{next:_0x15669c}=_0x491f0c;yP['indexOf'](_0x15669c)>-0x1||(0x2f!=_0x15669c||0x2f!=(_0x420eb1=_0x491f0c['peek'](0x1))&&0x2a!=_0x420eb1)&&(0x7d==_0x15669c||0x3b==_0x15669c||-0x1==_0x15669c||_0x60b96e['context']||_0x491f0c['acceptToken'](0x13c));},{'contextual':!0x0}),EP=new ExternalTokenizer((_0x2d4c98,_0x13679f)=>{0x5b!=_0x2d4c98['next']||_0x13679f['context']||_0x2d4c98['acceptToken'](0x13d);},{'contextual':!0x0}),AP=new ExternalTokenizer((_0x5e7d15,_0x4c8723)=>{let {next:_0x256548}=_0x5e7d15;if(0x2b==_0x256548||0x2d==_0x256548){if(_0x5e7d15['advance'](),_0x256548==_0x5e7d15['next']){_0x5e7d15['advance']();let _0x5f5251=!_0x4c8723['context']&&_0x4c8723['canShift'](0x1);_0x5e7d15['acceptToken'](_0x5f5251?0x1:0x2);}}else 0x3f==_0x256548&&0x2e==_0x5e7d15['peek'](0x1)&&(_0x5e7d15['advance'](),_0x5e7d15['advance'](),(_0x5e7d15['next']<0x30||_0x5e7d15['next']>0x39)&&_0x5e7d15['acceptToken'](0x3));},{'contextual':!0x0});function IP(_0x59eec1,_0xe11ba0){return _0x59eec1>=0x41&&_0x59eec1<=0x5a||_0x59eec1>=0x61&&_0x59eec1<=0x7a||0x5f==_0x59eec1||_0x59eec1>=0xc0||!_0xe11ba0&&_0x59eec1>=0x30&&_0x59eec1<=0x39;}const SP=new ExternalTokenizer((_0x25bbc6,_0x4a1149)=>{if(0x3c!=_0x25bbc6['next']||!_0x4a1149['dialectEnabled'](0x0))return;if(_0x25bbc6['advance'](),0x2f==_0x25bbc6['next'])return;let _0x2e8fce=0x0;for(;yP['indexOf'](_0x25bbc6['next'])>-0x1;)_0x25bbc6['advance'](),_0x2e8fce++;if(IP(_0x25bbc6['next'],!0x0)){for(_0x25bbc6['advance'](),_0x2e8fce++;IP(_0x25bbc6['next'],!0x1);)_0x25bbc6['advance'](),_0x2e8fce++;for(;yP['indexOf'](_0x25bbc6['next'])>-0x1;)_0x25bbc6['advance'](),_0x2e8fce++;if(0x2c==_0x25bbc6['next'])return;for(let _0x2b8c2c=0x0;;_0x2b8c2c++){if(0x7==_0x2b8c2c){if(!IP(_0x25bbc6['next'],!0x0))return;break;}if(_0x25bbc6['next']!='extends'['charCodeAt'](_0x2b8c2c))break;_0x25bbc6['advance'](),_0x2e8fce++;}}_0x25bbc6['acceptToken'](0x4,-_0x2e8fce);}),CP=CI({'get\x20set\x20async\x20static':ZI['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':ZI['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':ZI['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':ZI['definitionKeyword'],'import\x20export\x20from':ZI['moduleKeyword'],'with\x20debugger\x20new':ZI['keyword'],'TemplateString':ZI['special'](ZI['string']),'super':ZI['atom'],'BooleanLiteral':ZI['bool'],'this':ZI['self'],'null':ZI['null'],'Star':ZI['modifier'],'VariableName':ZI['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':ZI['function'](ZI['variableName']),'VariableDefinition':ZI['definition'](ZI['variableName']),'Label':ZI['labelName'],'PropertyName':ZI['propertyName'],'PrivatePropertyName':ZI['special'](ZI['propertyName']),'CallExpression/MemberExpression/PropertyName':ZI['function'](ZI['propertyName']),'FunctionDeclaration/VariableDefinition':ZI['function'](ZI['definition'](ZI['variableName'])),'ClassDeclaration/VariableDefinition':ZI['definition'](ZI['className']),'NewExpression/VariableName':ZI['className'],'PropertyDefinition':ZI['definition'](ZI['propertyName']),'PrivatePropertyDefinition':ZI['definition'](ZI['special'](ZI['propertyName'])),'UpdateOp':ZI['updateOperator'],'LineComment\x20Hashbang':ZI['lineComment'],'BlockComment':ZI['blockComment'],'Number':ZI['number'],'String':ZI['string'],'Escape':ZI['escape'],'ArithOp':ZI['arithmeticOperator'],'LogicOp':ZI['logicOperator'],'BitOp':ZI['bitwiseOperator'],'CompareOp':ZI['compareOperator'],'RegExp':ZI['regexp'],'Equals':ZI['definitionOperator'],'Arrow':ZI['function'](ZI['punctuation']),':\x20Spread':ZI['punctuation'],'(\x20)':ZI['paren'],'[\x20]':ZI['squareBracket'],'{\x20}':ZI['brace'],'InterpolationStart\x20InterpolationEnd':ZI['special'](ZI['brace']),'.':ZI['derefOperator'],',\x20;':ZI['separator'],'@':ZI['meta'],'TypeName':ZI['typeName'],'TypeDefinition':ZI['definition'](ZI['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':ZI['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':ZI['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':ZI['operatorKeyword'],'JSXAttributeValue':ZI['attributeValue'],'JSXText':ZI['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':ZI['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':ZI['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':ZI['attributeName'],'JSXBuiltin/JSXIdentifier':ZI['standard'](ZI['tagName'])}),kP={'__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},xP={'__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},RP={'__proto__':null,'<':0xc1},PP=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':_P,'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':[CP],'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':[TP,EP,AP,SP,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,vP,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':_0x4799e2=>kP[_0x4799e2]||-0x1},{'term':0x157,'get':_0x2df416=>xP[_0x2df416]||-0x1},{'term':0x5f,'get':_0x4455a6=>RP[_0x4455a6]||-0x1}],'tokenPrec':0x3b61}),MP=[Lx('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),Lx('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),Lx('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),Lx('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),Lx('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),Lx('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),Lx('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),Lx('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),Lx('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),Lx('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),Lx('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],NP=MP['concat']([Lx('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),Lx('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),Lx('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),LP=new NodeWeakMap(),DP=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function QP(_0x1a8d91){return(_0x161751,_0x388215)=>{let _0x2b1ae8=_0x161751['node']['getChild']('VariableDefinition');return _0x2b1ae8&&_0x388215(_0x2b1ae8,_0x1a8d91),!0x0;};}const $P=['FunctionDeclaration'],VP={'FunctionDeclaration':QP('function'),'ClassDeclaration':QP('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':QP('constant'),'TypeAliasDeclaration':QP('type'),'NamespaceDeclaration':QP('namespace'),'VariableDefinition'(_0x34f75f,_0xacc962){_0x34f75f['matchContext']($P)||_0xacc962(_0x34f75f,'variable');},'TypeDefinition'(_0x4e4d35,_0x4509c9){_0x4509c9(_0x4e4d35,'type');},'__proto__':null};function UP(_0x210528,_0x283258){let _0x225396=LP['get'](_0x283258);if(_0x225396)return _0x225396;let _0x41d4fc=[],_0x667d58=!0x0;function _0x35e663(_0x42cf0a,_0x111087){let _0x441ad9=_0x210528['sliceString'](_0x42cf0a['from'],_0x42cf0a['to']);_0x41d4fc['push']({'label':_0x441ad9,'type':_0x111087});}return _0x283258['cursor'](oI['IncludeAnonymous'])['iterate'](_0xea2b47=>{if(_0x667d58)_0x667d58=!0x1;else{if(_0xea2b47['name']){let _0x154aa2=VP[_0xea2b47['name']];if(_0x154aa2&&_0x154aa2(_0xea2b47,_0x35e663)||DP['has'](_0xea2b47['name']))return!0x1;}else{if(_0xea2b47['to']-_0xea2b47['from']>0x2000){for(let _0x53b539 of UP(_0x210528,_0xea2b47['node']))_0x41d4fc['push'](_0x53b539);return!0x1;}}}}),LP['set'](_0x283258,_0x41d4fc),_0x41d4fc;}const BP=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,FP=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function jP(_0xf63ed7){let _0x48d00b=KI(_0xf63ed7['state'])['resolveInner'](_0xf63ed7['pos'],-0x1);if(FP['indexOf'](_0x48d00b['name'])>-0x1)return null;let _0x4b3615='VariableName'==_0x48d00b['name']||_0x48d00b['to']-_0x48d00b['from']<0x14&&BP['test'](_0xf63ed7['state']['sliceDoc'](_0x48d00b['from'],_0x48d00b['to']));if(!_0x4b3615&&!_0xf63ed7['explicit'])return null;let _0x204ecb=[];for(let _0x1ed4d6=_0x48d00b;_0x1ed4d6;_0x1ed4d6=_0x1ed4d6['parent'])DP['has'](_0x1ed4d6['name'])&&(_0x204ecb=_0x204ecb['concat'](UP(_0xf63ed7['state']['doc'],_0x1ed4d6)));return{'options':_0x204ecb,'from':_0x4b3615?_0x48d00b['from']:_0xf63ed7['pos'],'validFor':BP};}const HP=LRLanguage['define']({'name':'javascript','parser':PP['configure']({'props':[hS['add']({'IfStatement':OS({'except':/^\s*({|else\b)/}),'TryStatement':OS({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x1d0f8f=>_0x1d0f8f['baseIndent'],'SwitchBody':_0x45d091=>{let _0x5469b3=_0x45d091['textAfter'],_0x5242c8=/^\s*\}/['test'](_0x5469b3),_0x5b55bb=/^\s*(case|default)\b/['test'](_0x5469b3);return _0x45d091['baseIndent']+(_0x5242c8?0x0:_0x5b55bb?0x1:0x2)*_0x45d091['unit'];},'Block':gS({'closing':'}'}),'ArrowFunction':_0x3a8429=>_0x3a8429['baseIndent']+_0x3a8429['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':OS({'except':/^\s*{/}),'JSXElement'(_0x31edab){let _0x4115d4=/^\s*<\//['test'](_0x31edab['textAfter']);return _0x31edab['lineIndent'](_0x31edab['node']['from'])+(_0x4115d4?0x0:_0x31edab['unit']);},'JSXEscape'(_0x3ccaa9){let _0x231c93=/\s*\}/['test'](_0x3ccaa9['textAfter']);return _0x3ccaa9['lineIndent'](_0x3ccaa9['node']['from'])+(_0x231c93?0x0:_0x3ccaa9['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x33ba6a=>_0x33ba6a['column'](_0x33ba6a['node']['from'])+_0x33ba6a['unit']}),yS['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_S,'BlockComment':_0x21131f=>({'from':_0x21131f['from']+0x2,'to':_0x21131f['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),GP={'test':_0x488f3e=>/^JSX/['test'](_0x488f3e['name']),'facet':WI({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},ZP=HP['configure']({'dialect':'ts'},'typescript'),XP=HP['configure']({'dialect':'jsx','props':[zI['add'](_0x5efed3=>_0x5efed3['isTop']?[GP]:void 0x0)]}),qP=HP['configure']({'dialect':'jsx\x20ts','props':[zI['add'](_0x5312c7=>_0x5312c7['isTop']?[GP]:void 0x0)]},'typescript');let WP=_0xf355e9=>({'label':_0xf355e9,'type':'keyword'});const zP='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'](WP),YP=zP['concat'](['declare','implements','private','protected','public']['map'](WP));function KP(_0x38ab7a={}){let _0x5b0654=_0x38ab7a['jsx']?_0x38ab7a['typescript']?qP:XP:_0x38ab7a['typescript']?ZP:HP,_0x168902=_0x38ab7a['typescript']?NP['concat'](YP):MP['concat'](zP);return new LanguageSupport(_0x5b0654,[HP['data']['of']({'autocomplete':(_0x49ba4b=FP,_0x4e79f7=Xk(_0x168902),_0x152938=>{for(let _0x528b9d=KI(_0x152938['state'])['resolveInner'](_0x152938['pos'],-0x1);_0x528b9d;_0x528b9d=_0x528b9d['parent']){if(_0x49ba4b['indexOf'](_0x528b9d['name'])>-0x1)return null;if(_0x528b9d['type']['isTop'])break;}return _0x4e79f7(_0x152938);})}),HP['data']['of']({'autocomplete':jP}),_0x38ab7a['jsx']?eM:[]]);var _0x49ba4b,_0x4e79f7;}function JP(_0x1f0987,_0x6cbb28,_0x3e8255=_0x1f0987['length']){for(let _0x8e2b8d=null==_0x6cbb28?void 0x0:_0x6cbb28['firstChild'];_0x8e2b8d;_0x8e2b8d=_0x8e2b8d['nextSibling'])if('JSXIdentifier'==_0x8e2b8d['name']||'JSXBuiltin'==_0x8e2b8d['name']||'JSXNamespacedName'==_0x8e2b8d['name']||'JSXMemberExpression'==_0x8e2b8d['name'])return _0x1f0987['sliceString'](_0x8e2b8d['from'],Math['min'](_0x8e2b8d['to'],_0x3e8255));return'';}const tM='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),eM=EditorView['inputHandler']['of']((_0x4460fe,_0x4598ef,_0x1a6750,_0x4e1369,_0x11a944)=>{if((tM?_0x4460fe['composing']:_0x4460fe['compositionStarted'])||_0x4460fe['state']['readOnly']||_0x4598ef!=_0x1a6750||'>'!=_0x4e1369&&'/'!=_0x4e1369||!HP['isActiveAt'](_0x4460fe['state'],_0x4598ef,-0x1))return!0x1;let _0x5d3574=_0x11a944(),{state:_0x587445}=_0x5d3574,_0x409e49=_0x587445['changeByRange'](_0x2164df=>{var _0x578447;let _0x973999,{head:_0x4cd9ed}=_0x2164df,_0x16da14=KI(_0x587445)['resolveInner'](_0x4cd9ed-0x1,-0x1);if('JSXStartTag'==_0x16da14['name']&&(_0x16da14=_0x16da14['parent']),_0x587445['doc']['sliceString'](_0x4cd9ed-0x1,_0x4cd9ed)!=_0x4e1369||'JSXAttributeValue'==_0x16da14['name']&&_0x16da14['to']>_0x4cd9ed);else{if('>'==_0x4e1369&&'JSXFragmentTag'==_0x16da14['name'])return{'range':_0x2164df,'changes':{'from':_0x4cd9ed,'insert':'</>'}};if('/'==_0x4e1369&&'JSXStartCloseTag'==_0x16da14['name']){let _0x3518b5=_0x16da14['parent'],_0x4f8eb2=_0x3518b5['parent'];if(_0x4f8eb2&&_0x3518b5['from']==_0x4cd9ed-0x2&&((_0x973999=JP(_0x587445['doc'],_0x4f8eb2['firstChild'],_0x4cd9ed))||'JSXFragmentTag'==(null===(_0x578447=_0x4f8eb2['firstChild'])||void 0x0===_0x578447?void 0x0:_0x578447['name']))){let _0x2e2275=_0x973999+'>';return{'range':EditorSelection['cursor'](_0x4cd9ed+_0x2e2275['length'],-0x1),'changes':{'from':_0x4cd9ed,'insert':_0x2e2275}};}}else{if('>'==_0x4e1369){let _0x2f6c3b=function(_0x2ae0c5){for(;;){if('JSXOpenTag'==_0x2ae0c5['name']||'JSXSelfClosingTag'==_0x2ae0c5['name']||'JSXFragmentTag'==_0x2ae0c5['name'])return _0x2ae0c5;if('JSXEscape'==_0x2ae0c5['name']||!_0x2ae0c5['parent'])return null;_0x2ae0c5=_0x2ae0c5['parent'];}}(_0x16da14);if(_0x2f6c3b&&'JSXOpenTag'==_0x2f6c3b['name']&&!/^\/?>|^<\//['test'](_0x587445['doc']['sliceString'](_0x4cd9ed,_0x4cd9ed+0x2))&&(_0x973999=JP(_0x587445['doc'],_0x2f6c3b,_0x4cd9ed)))return{'range':_0x2164df,'changes':{'from':_0x4cd9ed,'insert':'</'+_0x973999+'>'}};}}}return{'range':_0x2164df};});return!_0x409e49['changes']['empty']&&(_0x4460fe['dispatch']([_0x5d3574,_0x587445['update'](_0x409e49,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),iM=['_blank','_self','_top','_parent'],sM=['ascii','utf-8','utf-16','latin1','latin1'],nM=['get','post','put','delete'],rM=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],oM=['true','false'],aM={},cM={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':iM,'hreflang':null}},'abbr':aM,'address':aM,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':aM,'aside':aM,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':aM,'base':{'attrs':{'href':null,'target':iM}},'bdi':aM,'bdo':aM,'blockquote':{'attrs':{'cite':null}},'body':aM,'br':aM,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':rM,'formmethod':nM,'formnovalidate':['novalidate'],'formtarget':iM,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':aM,'center':aM,'cite':aM,'code':aM,'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':aM,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':aM,'div':aM,'dl':aM,'dt':aM,'em':aM,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':aM,'figure':aM,'footer':aM,'form':{'attrs':{'action':null,'name':null,'accept-charset':sM,'autocomplete':['on','off'],'enctype':rM,'method':nM,'novalidate':['novalidate'],'target':iM}},'h1':aM,'h2':aM,'h3':aM,'h4':aM,'h5':aM,'h6':aM,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':aM,'hgroup':aM,'hr':aM,'html':{'attrs':{'manifest':null}},'i':aM,'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':rM,'formmethod':nM,'formnovalidate':['novalidate'],'formtarget':iM,'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':aM,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':aM,'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':aM,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':sM,'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':aM,'noscript':aM,'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':aM,'param':{'attrs':{'name':null,'value':null}},'pre':aM,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':aM,'rt':aM,'ruby':aM,'samp':aM,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':sM}},'section':aM,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':aM,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':aM,'strong':aM,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':aM,'summary':aM,'sup':aM,'table':aM,'tbody':aM,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':aM,'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':aM,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':aM,'time':{'attrs':{'datetime':null}},'title':aM,'tr':aM,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':aM,'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':aM},lM={'accesskey':null,'class':null,'contenteditable':oM,'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':oM,'autocorrect':oM,'autocapitalize':oM,'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':oM,'aria-autocomplete':['inline','list','both','none'],'aria-busy':oM,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':oM,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':oM,'aria-hidden':oM,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':oM,'aria-multiselectable':oM,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':oM,'aria-relevant':null,'aria-required':oM,'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},hM='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'](_0xe0000=>'on'+_0xe0000);for(let e of hM)lM[e]=null;class Schema{constructor(_0x10a189,_0x13a453){this['tags']={...cM,..._0x10a189},this['globalAttrs']={...lM,..._0x13a453},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function uM(_0x3eb6e7,_0x3e381a,_0x2aee42=_0x3eb6e7['length']){if(!_0x3e381a)return'';let _0x228a9d=_0x3e381a['firstChild'],_0x57e30f=_0x228a9d&&_0x228a9d['getChild']('TagName');return _0x57e30f?_0x3eb6e7['sliceString'](_0x57e30f['from'],Math['min'](_0x57e30f['to'],_0x2aee42)):'';}function dM(_0x441c9b,_0x54a0a3=!0x1){for(;_0x441c9b;_0x441c9b=_0x441c9b['parent'])if('Element'==_0x441c9b['name']){if(!_0x54a0a3)return _0x441c9b;_0x54a0a3=!0x1;}return null;}function fM(_0x4f65d1,_0xa645dc,_0x27dd68){let _0x178881=_0x27dd68['tags'][uM(_0x4f65d1,dM(_0xa645dc))];return(null==_0x178881?void 0x0:_0x178881['children'])||_0x27dd68['allTags'];}function mM(_0x5d15ba,_0x2f3ead){let _0x7bc395=[];for(let _0x25e9b6=dM(_0x2f3ead);_0x25e9b6&&!_0x25e9b6['type']['isTop'];_0x25e9b6=dM(_0x25e9b6['parent'])){let _0x348ddb=uM(_0x5d15ba,_0x25e9b6);if(_0x348ddb&&'CloseTag'==_0x25e9b6['lastChild']['name'])break;_0x348ddb&&_0x7bc395['indexOf'](_0x348ddb)<0x0&&('EndTag'==_0x2f3ead['name']||_0x2f3ead['from']>=_0x25e9b6['firstChild']['to'])&&_0x7bc395['push'](_0x348ddb);}return _0x7bc395;}Schema['default']=new Schema();const gM=/^[:\-\.\w\u00b7-\uffff]*$/;function pM(_0x4606b3,_0x49b578,_0x2a10b7,_0x1dadcd,_0x3deee5){let _0x11838f=/\s*>/['test'](_0x4606b3['sliceDoc'](_0x3deee5,_0x3deee5+0x5))?'':'>',_0xd58f48=dM(_0x2a10b7,'StartTag'==_0x2a10b7['name']||'TagName'==_0x2a10b7['name']);return{'from':_0x1dadcd,'to':_0x3deee5,'options':fM(_0x4606b3['doc'],_0xd58f48,_0x49b578)['map'](_0x501f59=>({'label':_0x501f59,'type':'type'}))['concat'](mM(_0x4606b3['doc'],_0x2a10b7)['map']((_0x515588,_0x5c33f1)=>({'label':'/'+_0x515588,'apply':'/'+_0x515588+_0x11838f,'type':'type','boost':0x63-_0x5c33f1}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function OM(_0x5d8958,_0x12526b,_0x3c1ed0,_0x7df017){let _0x6bcf7b=/\s*>/['test'](_0x5d8958['sliceDoc'](_0x7df017,_0x7df017+0x5))?'':'>';return{'from':_0x3c1ed0,'to':_0x7df017,'options':mM(_0x5d8958['doc'],_0x12526b)['map']((_0x2529bd,_0x1925e8)=>({'label':_0x2529bd,'apply':_0x2529bd+_0x6bcf7b,'type':'type','boost':0x63-_0x1925e8})),'validFor':gM};}function wM(_0x72750,_0x38173e){let {state:_0x40866d,pos:_0xe8e78e}=_0x38173e,_0x153830=KI(_0x40866d)['resolveInner'](_0xe8e78e,-0x1),_0x3e77b0=_0x153830['resolve'](_0xe8e78e);for(let _0x33d0dc,_0x58e201=_0xe8e78e;_0x3e77b0==_0x153830&&(_0x33d0dc=_0x153830['childBefore'](_0x58e201));){let _0x4772f2=_0x33d0dc['lastChild'];if(!_0x4772f2||!_0x4772f2['type']['isError']||_0x4772f2['from']<_0x4772f2['to'])break;_0x3e77b0=_0x153830=_0x33d0dc,_0x58e201=_0x4772f2['from'];}return'TagName'==_0x153830['name']?_0x153830['parent']&&/CloseTag$/['test'](_0x153830['parent']['name'])?OM(_0x40866d,_0x153830,_0x153830['from'],_0xe8e78e):pM(_0x40866d,_0x72750,_0x153830,_0x153830['from'],_0xe8e78e):'StartTag'==_0x153830['name']||'IncompleteTag'==_0x153830['name']?pM(_0x40866d,_0x72750,_0x153830,_0xe8e78e,_0xe8e78e):'StartCloseTag'==_0x153830['name']||'IncompleteCloseTag'==_0x153830['name']?OM(_0x40866d,_0x153830,_0xe8e78e,_0xe8e78e):'OpenTag'==_0x153830['name']||'SelfClosingTag'==_0x153830['name']||'AttributeName'==_0x153830['name']?function(_0x4b150a,_0x28ced7,_0x55e594,_0xca1cca,_0x582520){let _0x127fed=dM(_0x55e594),_0x51c5ff=_0x127fed?_0x28ced7['tags'][uM(_0x4b150a['doc'],_0x127fed)]:null,_0x3db95b=_0x51c5ff&&_0x51c5ff['attrs']?Object['keys'](_0x51c5ff['attrs']):[];return{'from':_0xca1cca,'to':_0x582520,'options':(_0x51c5ff&&!0x1===_0x51c5ff['globalAttrs']?_0x3db95b:_0x3db95b['length']?_0x3db95b['concat'](_0x28ced7['globalAttrNames']):_0x28ced7['globalAttrNames'])['map'](_0x317254=>({'label':_0x317254,'type':'property'})),'validFor':gM};}(_0x40866d,_0x72750,_0x153830,'AttributeName'==_0x153830['name']?_0x153830['from']:_0xe8e78e,_0xe8e78e):'Is'==_0x153830['name']||'AttributeValue'==_0x153830['name']||'UnquotedAttributeValue'==_0x153830['name']?function(_0x32dbe5,_0x2c9d79,_0x299f98,_0x3c2ec4,_0x5ddc44){var _0x3235e2;let _0x2217a6,_0xbc8e16=null===(_0x3235e2=_0x299f98['parent'])||void 0x0===_0x3235e2?void 0x0:_0x3235e2['getChild']('AttributeName'),_0x554937=[];if(_0xbc8e16){let _0x28aa17=_0x32dbe5['sliceDoc'](_0xbc8e16['from'],_0xbc8e16['to']),_0x31fbb8=_0x2c9d79['globalAttrs'][_0x28aa17];if(!_0x31fbb8){let _0x2c3675=dM(_0x299f98),_0x51b406=_0x2c3675?_0x2c9d79['tags'][uM(_0x32dbe5['doc'],_0x2c3675)]:null;_0x31fbb8=(null==_0x51b406?void 0x0:_0x51b406['attrs'])&&_0x51b406['attrs'][_0x28aa17];}if(_0x31fbb8){let _0x450e4b=_0x32dbe5['sliceDoc'](_0x3c2ec4,_0x5ddc44)['toLowerCase'](),_0x2626dc='\x22',_0x4766cf='\x22';/^['"]/['test'](_0x450e4b)?(_0x2217a6='\x22'==_0x450e4b[0x0]?/^[^"]*$/:/^[^']*$/,_0x2626dc='',_0x4766cf=_0x32dbe5['sliceDoc'](_0x5ddc44,_0x5ddc44+0x1)==_0x450e4b[0x0]?'':_0x450e4b[0x0],_0x450e4b=_0x450e4b['slice'](0x1),_0x3c2ec4++):_0x2217a6=/^[^\s<>='"]*$/;for(let _0x4f9ab6 of _0x31fbb8)_0x554937['push']({'label':_0x4f9ab6,'apply':_0x2626dc+_0x4f9ab6+_0x4766cf,'type':'constant'});}}return{'from':_0x3c2ec4,'to':_0x5ddc44,'options':_0x554937,'validFor':_0x2217a6};}(_0x40866d,_0x72750,_0x153830,'Is'==_0x153830['name']?_0xe8e78e:_0x153830['from'],_0xe8e78e):!_0x38173e['explicit']||'Element'!=_0x3e77b0['name']&&'Text'!=_0x3e77b0['name']&&'Document'!=_0x3e77b0['name']?null:function(_0x162366,_0x193177,_0x11c3f8,_0x3ae6be){let _0x1ad5ee=[],_0x4a922c=0x0;for(let _0x4a0457 of fM(_0x162366['doc'],_0x11c3f8,_0x193177))_0x1ad5ee['push']({'label':'<'+_0x4a0457,'type':'type'});for(let _0x2bd35 of mM(_0x162366['doc'],_0x11c3f8))_0x1ad5ee['push']({'label':'</'+_0x2bd35+'>','type':'type','boost':0x63-_0x4a922c++});return{'from':_0x3ae6be,'to':_0x3ae6be,'options':_0x1ad5ee,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x40866d,_0x72750,_0x153830,_0xe8e78e);}function bM(_0x351743){let {extraTags:_0x323a11,extraGlobalAttributes:_0x4d1690}=_0x351743,_0x49ebbf=_0x4d1690||_0x323a11?new Schema(_0x323a11,_0x4d1690):Schema['default'];return _0x4c62ba=>wM(_0x49ebbf,_0x4c62ba);}const yM=HP['parser']['configure']({'top':'SingleExpression'}),_M=[{'tag':'script','attrs':_0x3ba7dd=>'text/typescript'==_0x3ba7dd['type']||'ts'==_0x3ba7dd['lang'],'parser':ZP['parser']},{'tag':'script','attrs':_0x45e569=>'text/babel'==_0x45e569['type']||'text/jsx'==_0x45e569['type'],'parser':XP['parser']},{'tag':'script','attrs':_0x29b697=>'text/typescript-jsx'==_0x29b697['type'],'parser':qP['parser']},{'tag':'script','attrs':_0x298dd9=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x298dd9['type']),'parser':yM},{'tag':'script','attrs':_0x18e771=>!_0x18e771['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x18e771['type']),'parser':HP['parser']},{'tag':'style','attrs':_0x228911=>(!_0x228911['lang']||'css'==_0x228911['lang'])&&(!_0x228911['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x228911['type'])),'parser':bP['parser']}],vM=[{'name':'style','parser':bP['parser']['configure']({'top':'Styles'})}]['concat'](hM['map'](_0x572bd4=>({'name':_0x572bd4,'parser':HP['parser']}))),TM=LRLanguage['define']({'name':'html','parser':$R['configure']({'props':[hS['add']({'Element'(_0x421866){let _0x58ae16=/^(\s*)(<\/)?/['exec'](_0x421866['textAfter']);return _0x421866['node']['to']<=_0x421866['pos']+_0x58ae16[0x0]['length']?_0x421866['continue']():_0x421866['lineIndent'](_0x421866['node']['from'])+(_0x58ae16[0x2]?0x0:_0x421866['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x2a4bdb=>_0x2a4bdb['column'](_0x2a4bdb['node']['from'])+_0x2a4bdb['unit'],'Document'(_0x1d4443){if(_0x1d4443['pos']+/\s*/['exec'](_0x1d4443['textAfter'])[0x0]['length']<_0x1d4443['node']['to'])return _0x1d4443['continue']();let _0x15f06e,_0x391d6c=null;for(let _0x298fa=_0x1d4443['node'];;){let _0x10fb46=_0x298fa['lastChild'];if(!_0x10fb46||'Element'!=_0x10fb46['name']||_0x10fb46['to']!=_0x298fa['to'])break;_0x391d6c=_0x298fa=_0x10fb46;}return _0x391d6c&&(!(_0x15f06e=_0x391d6c['lastChild'])||'CloseTag'!=_0x15f06e['name']&&'SelfClosingTag'!=_0x15f06e['name'])?_0x1d4443['lineIndent'](_0x391d6c['from'])+_0x1d4443['unit']:null;}}),yS['add']({'Element'(_0x4c1364){let _0x1c4f6d=_0x4c1364['firstChild'],_0x473231=_0x4c1364['lastChild'];return _0x1c4f6d&&'OpenTag'==_0x1c4f6d['name']?{'from':_0x1c4f6d['to'],'to':'CloseTag'==_0x473231['name']?_0x473231['from']:_0x4c1364['to']}:null;}}),rC['add']({'OpenTag\x20CloseTag':_0x3b39b0=>_0x3b39b0['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),EM=TM['configure']({'wrap':FR(_M,vM)});function AM(_0x58adf2={}){let _0x14fa5a,_0x398643='';!0x1===_0x58adf2['matchClosingTags']&&(_0x398643='noMatch'),!0x0===_0x58adf2['selfClosingTags']&&(_0x398643=(_0x398643?_0x398643+'\x20':'')+'selfClosing'),(_0x58adf2['nestedLanguages']&&_0x58adf2['nestedLanguages']['length']||_0x58adf2['nestedAttributes']&&_0x58adf2['nestedAttributes']['length'])&&(_0x14fa5a=FR((_0x58adf2['nestedLanguages']||[])['concat'](_M),(_0x58adf2['nestedAttributes']||[])['concat'](vM)));let _0x3cb7d0=_0x14fa5a?TM['configure']({'wrap':_0x14fa5a,'dialect':_0x398643}):_0x398643?EM['configure']({'dialect':_0x398643}):EM;return new LanguageSupport(_0x3cb7d0,[EM['data']['of']({'autocomplete':bM(_0x58adf2)}),!0x1!==_0x58adf2['autoCloseTags']?SM:[],KP()['support'],new LanguageSupport(bP,bP['data']['of']({'autocomplete':wP}))['support']]);}const IM=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),SM=EditorView['inputHandler']['of']((_0x559f6c,_0x48d3d5,_0x2df4bf,_0x12102a,_0x2ebdf6)=>{if(_0x559f6c['composing']||_0x559f6c['state']['readOnly']||_0x48d3d5!=_0x2df4bf||'>'!=_0x12102a&&'/'!=_0x12102a||!EM['isActiveAt'](_0x559f6c['state'],_0x48d3d5,-0x1))return!0x1;let _0x76d67e=_0x2ebdf6(),{state:_0x55698e}=_0x76d67e,_0x344485=_0x55698e['changeByRange'](_0x2edcf3=>{var _0x53528e,_0x5ae95b,_0x2086a0;let _0x3a5925,_0x2dafaf=_0x55698e['doc']['sliceString'](_0x2edcf3['from']-0x1,_0x2edcf3['to'])==_0x12102a,{head:_0x3f3f96}=_0x2edcf3,_0x2f7381=KI(_0x55698e)['resolveInner'](_0x3f3f96,-0x1);if(_0x2dafaf&&'>'==_0x12102a&&'EndTag'==_0x2f7381['name']){let _0x772ab7=_0x2f7381['parent'];if('CloseTag'!=(null===(_0x5ae95b=null===(_0x53528e=_0x772ab7['parent'])||void 0x0===_0x53528e?void 0x0:_0x53528e['lastChild'])||void 0x0===_0x5ae95b?void 0x0:_0x5ae95b['name'])&&(_0x3a5925=uM(_0x55698e['doc'],_0x772ab7['parent'],_0x3f3f96))&&!IM['has'](_0x3a5925))return{'range':_0x2edcf3,'changes':{'from':_0x3f3f96,'to':_0x3f3f96+('>'===_0x55698e['doc']['sliceString'](_0x3f3f96,_0x3f3f96+0x1)?0x1:0x0),'insert':'</'+_0x3a5925+'>'}};}else{if(_0x2dafaf&&'/'==_0x12102a&&'IncompleteCloseTag'==_0x2f7381['name']){let _0x1c62d0=_0x2f7381['parent'];if(_0x2f7381['from']==_0x3f3f96-0x2&&'CloseTag'!=(null===(_0x2086a0=_0x1c62d0['lastChild'])||void 0x0===_0x2086a0?void 0x0:_0x2086a0['name'])&&(_0x3a5925=uM(_0x55698e['doc'],_0x1c62d0,_0x3f3f96))&&!IM['has'](_0x3a5925)){let _0x1e1070=_0x3f3f96+('>'===_0x55698e['doc']['sliceString'](_0x3f3f96,_0x3f3f96+0x1)?0x1:0x0),_0x452333=_0x3a5925+'>';return{'range':EditorSelection['cursor'](_0x3f3f96+_0x452333['length'],-0x1),'changes':{'from':_0x3f3f96,'to':_0x1e1070,'insert':_0x452333}};}}}return{'range':_0x2edcf3};});return!_0x344485['changes']['empty']&&(_0x559f6c['dispatch']([_0x76d67e,_0x55698e['update'](_0x344485,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x421621,_0xa4fe5d,_0x38dff9,_0x45f938,_0x4f4e20){return new CompositeBlock(_0x421621,_0xa4fe5d,_0x38dff9,_0x45f938+(_0x45f938<<0x8)+_0x421621+(_0xa4fe5d<<0x4)|0x0,_0x4f4e20,[],[]);}constructor(_0x178c59,_0x5af4a9,_0xb9dc4,_0xf7e91a,_0x5ba297,_0x331da4,_0x1435dc){this['type']=_0x178c59,this['value']=_0x5af4a9,this['from']=_0xb9dc4,this['hash']=_0xf7e91a,this['end']=_0x5ba297,this['children']=_0x331da4,this['positions']=_0x1435dc,this['hashProp']=[[NodeProp['contextHash'],_0xf7e91a]];}['addChild'](_0x50e9b3,_0x1b08ad){_0x50e9b3['prop'](NodeProp['contextHash'])!=this['hash']&&(_0x50e9b3=new Tree(_0x50e9b3['type'],_0x50e9b3['children'],_0x50e9b3['positions'],_0x50e9b3['length'],this['hashProp'])),this['children']['push'](_0x50e9b3),this['positions']['push'](_0x1b08ad);}['toTree'](_0x5ba7b9,_0x50e5f6=this['end']){let _0x1d294f=this['children']['length']-0x1;return _0x1d294f>=0x0&&(_0x50e5f6=Math['max'](_0x50e5f6,this['positions'][_0x1d294f]+this['children'][_0x1d294f]['length']+this['from'])),new Tree(_0x5ba7b9['types'][this['type']],this['children'],this['positions'],_0x50e5f6-this['from'])['balance']({'makeTree':(_0x219de4,_0x1ceee3,_0x497eab)=>new Tree(NodeType['none'],_0x219de4,_0x1ceee3,_0x497eab,this['hashProp'])});}}var CM;!function(_0x5b50da){_0x5b50da[_0x5b50da['Document']=0x1]='Document',_0x5b50da[_0x5b50da['CodeBlock']=0x2]='CodeBlock',_0x5b50da[_0x5b50da['FencedCode']=0x3]='FencedCode',_0x5b50da[_0x5b50da['Blockquote']=0x4]='Blockquote',_0x5b50da[_0x5b50da['HorizontalRule']=0x5]='HorizontalRule',_0x5b50da[_0x5b50da['BulletList']=0x6]='BulletList',_0x5b50da[_0x5b50da['OrderedList']=0x7]='OrderedList',_0x5b50da[_0x5b50da['ListItem']=0x8]='ListItem',_0x5b50da[_0x5b50da['ATXHeading1']=0x9]='ATXHeading1',_0x5b50da[_0x5b50da['ATXHeading2']=0xa]='ATXHeading2',_0x5b50da[_0x5b50da['ATXHeading3']=0xb]='ATXHeading3',_0x5b50da[_0x5b50da['ATXHeading4']=0xc]='ATXHeading4',_0x5b50da[_0x5b50da['ATXHeading5']=0xd]='ATXHeading5',_0x5b50da[_0x5b50da['ATXHeading6']=0xe]='ATXHeading6',_0x5b50da[_0x5b50da['SetextHeading1']=0xf]='SetextHeading1',_0x5b50da[_0x5b50da['SetextHeading2']=0x10]='SetextHeading2',_0x5b50da[_0x5b50da['HTMLBlock']=0x11]='HTMLBlock',_0x5b50da[_0x5b50da['LinkReference']=0x12]='LinkReference',_0x5b50da[_0x5b50da['Paragraph']=0x13]='Paragraph',_0x5b50da[_0x5b50da['CommentBlock']=0x14]='CommentBlock',_0x5b50da[_0x5b50da['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x5b50da[_0x5b50da['Escape']=0x16]='Escape',_0x5b50da[_0x5b50da['Entity']=0x17]='Entity',_0x5b50da[_0x5b50da['HardBreak']=0x18]='HardBreak',_0x5b50da[_0x5b50da['Emphasis']=0x19]='Emphasis',_0x5b50da[_0x5b50da['StrongEmphasis']=0x1a]='StrongEmphasis',_0x5b50da[_0x5b50da['Link']=0x1b]='Link',_0x5b50da[_0x5b50da['Image']=0x1c]='Image',_0x5b50da[_0x5b50da['InlineCode']=0x1d]='InlineCode',_0x5b50da[_0x5b50da['HTMLTag']=0x1e]='HTMLTag',_0x5b50da[_0x5b50da['Comment']=0x1f]='Comment',_0x5b50da[_0x5b50da['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x5b50da[_0x5b50da['Autolink']=0x21]='Autolink',_0x5b50da[_0x5b50da['HeaderMark']=0x22]='HeaderMark',_0x5b50da[_0x5b50da['QuoteMark']=0x23]='QuoteMark',_0x5b50da[_0x5b50da['ListMark']=0x24]='ListMark',_0x5b50da[_0x5b50da['LinkMark']=0x25]='LinkMark',_0x5b50da[_0x5b50da['EmphasisMark']=0x26]='EmphasisMark',_0x5b50da[_0x5b50da['CodeMark']=0x27]='CodeMark',_0x5b50da[_0x5b50da['CodeText']=0x28]='CodeText',_0x5b50da[_0x5b50da['CodeInfo']=0x29]='CodeInfo',_0x5b50da[_0x5b50da['LinkTitle']=0x2a]='LinkTitle',_0x5b50da[_0x5b50da['LinkLabel']=0x2b]='LinkLabel',_0x5b50da[_0x5b50da['URL']=0x2c]='URL';}(CM||(CM={}));class LeafBlock{constructor(_0x770d4c,_0x1f62e9){this['start']=_0x770d4c,this['content']=_0x1f62e9,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 _0x173a5c=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x173a5c,this['pos'],this['indent']),this['pos']=_0x173a5c,this['next']=_0x173a5c==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x173a5c);}['skipSpace'](_0x5e57ee){return PM(this['text'],_0x5e57ee);}['reset'](_0x536fc7){for(this['text']=_0x536fc7,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0xc6923e){this['basePos']=_0xc6923e,this['baseIndent']=this['countIndent'](_0xc6923e,this['pos'],this['indent']);}['moveBaseColumn'](_0x47bd92){this['baseIndent']=_0x47bd92,this['basePos']=this['findColumn'](_0x47bd92);}['addMarker'](_0x541504){this['markers']['push'](_0x541504);}['countIndent'](_0x67a589,_0x4fc074=0x0,_0x38e326=0x0){for(let _0x30aad0=_0x4fc074;_0x30aad0<_0x67a589;_0x30aad0++)_0x38e326+=0x9==this['text']['charCodeAt'](_0x30aad0)?0x4-_0x38e326%0x4:0x1;return _0x38e326;}['findColumn'](_0x31ddb4){let _0x1986d3=0x0;for(let _0x30f5f5=0x0;_0x1986d3<this['text']['length']&&_0x30f5f5<_0x31ddb4;_0x1986d3++)_0x30f5f5+=0x9==this['text']['charCodeAt'](_0x1986d3)?0x4-_0x30f5f5%0x4:0x1;return _0x1986d3;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x104b9d='';for(let _0x12a047=0x0;_0x12a047<this['basePos'];_0x12a047++)_0x104b9d+='\x20';return _0x104b9d+this['text']['slice'](this['basePos']);}}function kM(_0x160fd3,_0x4af8b9,_0x97422b){if(_0x97422b['pos']==_0x97422b['text']['length']||_0x160fd3!=_0x4af8b9['block']&&_0x97422b['indent']>=_0x4af8b9['stack'][_0x97422b['depth']+0x1]['value']+_0x97422b['baseIndent'])return!0x0;if(_0x97422b['indent']>=_0x97422b['baseIndent']+0x4)return!0x1;let _0x3fe761=(_0x160fd3['type']==CM['OrderedList']?VM:$M)(_0x97422b,_0x4af8b9,!0x1);return _0x3fe761>0x0&&(_0x160fd3['type']!=CM['BulletList']||DM(_0x97422b,_0x4af8b9,!0x1)<0x0)&&_0x97422b['text']['charCodeAt'](_0x97422b['pos']+_0x3fe761-0x1)==_0x160fd3['value'];}const xM={[CM['Blockquote']]:(_0x57c61c,_0x4b8bd0,_0x11a4ad)=>0x3e==_0x11a4ad['next']&&(_0x11a4ad['markers']['push'](cN(CM['QuoteMark'],_0x4b8bd0['lineStart']+_0x11a4ad['pos'],_0x4b8bd0['lineStart']+_0x11a4ad['pos']+0x1)),_0x11a4ad['moveBase'](_0x11a4ad['pos']+(RM(_0x11a4ad['text']['charCodeAt'](_0x11a4ad['pos']+0x1))?0x2:0x1)),_0x57c61c['end']=_0x4b8bd0['lineStart']+_0x11a4ad['text']['length'],!0x0),[CM['ListItem']]:(_0x30ffe8,_0x3bba39,_0x19d4ea)=>!(_0x19d4ea['indent']<_0x19d4ea['baseIndent']+_0x30ffe8['value']&&_0x19d4ea['next']>-0x1)&&(_0x19d4ea['moveBaseColumn'](_0x19d4ea['baseIndent']+_0x30ffe8['value']),!0x0),[CM['OrderedList']]:kM,[CM['BulletList']]:kM,[CM['Document']]:()=>!0x0};function RM(_0x503d24){return 0x20==_0x503d24||0x9==_0x503d24||0xa==_0x503d24||0xd==_0x503d24;}function PM(_0x2f2d6d,_0x4b3614=0x0){for(;_0x4b3614<_0x2f2d6d['length']&&RM(_0x2f2d6d['charCodeAt'](_0x4b3614));)_0x4b3614++;return _0x4b3614;}function MM(_0x406c00,_0x37c0df,_0x1a628a){for(;_0x37c0df>_0x1a628a&&RM(_0x406c00['charCodeAt'](_0x37c0df-0x1));)_0x37c0df--;return _0x37c0df;}function NM(_0x1c08e6){if(0x60!=_0x1c08e6['next']&&0x7e!=_0x1c08e6['next'])return-0x1;let _0x43c39a=_0x1c08e6['pos']+0x1;for(;_0x43c39a<_0x1c08e6['text']['length']&&_0x1c08e6['text']['charCodeAt'](_0x43c39a)==_0x1c08e6['next'];)_0x43c39a++;if(_0x43c39a<_0x1c08e6['pos']+0x3)return-0x1;if(0x60==_0x1c08e6['next']){for(let _0x58effa=_0x43c39a;_0x58effa<_0x1c08e6['text']['length'];_0x58effa++)if(0x60==_0x1c08e6['text']['charCodeAt'](_0x58effa))return-0x1;}return _0x43c39a;}function LM(_0x4444b8){return 0x3e!=_0x4444b8['next']?-0x1:0x20==_0x4444b8['text']['charCodeAt'](_0x4444b8['pos']+0x1)?0x2:0x1;}function DM(_0x32849c,_0x32e59f,_0x540075){if(0x2a!=_0x32849c['next']&&0x2d!=_0x32849c['next']&&0x5f!=_0x32849c['next'])return-0x1;let _0x765161=0x1;for(let _0x5dc1a7=_0x32849c['pos']+0x1;_0x5dc1a7<_0x32849c['text']['length'];_0x5dc1a7++){let _0x100af6=_0x32849c['text']['charCodeAt'](_0x5dc1a7);if(_0x100af6==_0x32849c['next'])_0x765161++;else{if(!RM(_0x100af6))return-0x1;}}return _0x540075&&0x2d==_0x32849c['next']&&BM(_0x32849c)>-0x1&&_0x32849c['depth']==_0x32e59f['stack']['length']&&_0x32e59f['parser']['leafBlockParsers']['indexOf'](YM['SetextHeading'])>-0x1||_0x765161<0x3?-0x1:0x1;}function QM(_0x447c47,_0x696fca){for(let _0x4e4b75=_0x447c47['stack']['length']-0x1;_0x4e4b75>=0x0;_0x4e4b75--)if(_0x447c47['stack'][_0x4e4b75]['type']==_0x696fca)return!0x0;return!0x1;}function $M(_0x5f14c7,_0x2dff9a,_0x1fe89b){return 0x2d!=_0x5f14c7['next']&&0x2b!=_0x5f14c7['next']&&0x2a!=_0x5f14c7['next']||_0x5f14c7['pos']!=_0x5f14c7['text']['length']-0x1&&!RM(_0x5f14c7['text']['charCodeAt'](_0x5f14c7['pos']+0x1))||!(!_0x1fe89b||QM(_0x2dff9a,CM['BulletList'])||_0x5f14c7['skipSpace'](_0x5f14c7['pos']+0x2)<_0x5f14c7['text']['length'])?-0x1:0x1;}function VM(_0x29d4fb,_0x55d7c5,_0x179afd){let _0x3105f2=_0x29d4fb['pos'],_0x5064ed=_0x29d4fb['next'];for(;_0x5064ed>=0x30&&_0x5064ed<=0x39;){if(_0x3105f2++,_0x3105f2==_0x29d4fb['text']['length'])return-0x1;_0x5064ed=_0x29d4fb['text']['charCodeAt'](_0x3105f2);}return _0x3105f2==_0x29d4fb['pos']||_0x3105f2>_0x29d4fb['pos']+0x9||0x2e!=_0x5064ed&&0x29!=_0x5064ed||_0x3105f2<_0x29d4fb['text']['length']-0x1&&!RM(_0x29d4fb['text']['charCodeAt'](_0x3105f2+0x1))||_0x179afd&&!QM(_0x55d7c5,CM['OrderedList'])&&(_0x29d4fb['skipSpace'](_0x3105f2+0x1)==_0x29d4fb['text']['length']||_0x3105f2>_0x29d4fb['pos']+0x1||0x31!=_0x29d4fb['next'])?-0x1:_0x3105f2+0x1-_0x29d4fb['pos'];}function UM(_0x5217b7){if(0x23!=_0x5217b7['next'])return-0x1;let _0x56f440=_0x5217b7['pos']+0x1;for(;_0x56f440<_0x5217b7['text']['length']&&0x23==_0x5217b7['text']['charCodeAt'](_0x56f440);)_0x56f440++;if(_0x56f440<_0x5217b7['text']['length']&&0x20!=_0x5217b7['text']['charCodeAt'](_0x56f440))return-0x1;let _0x15c2f9=_0x56f440-_0x5217b7['pos'];return _0x15c2f9>0x6?-0x1:_0x15c2f9;}function BM(_0x4c46d5){if(0x2d!=_0x4c46d5['next']&&0x3d!=_0x4c46d5['next']||_0x4c46d5['indent']>=_0x4c46d5['baseIndent']+0x4)return-0x1;let _0xb2f5c4=_0x4c46d5['pos']+0x1;for(;_0xb2f5c4<_0x4c46d5['text']['length']&&_0x4c46d5['text']['charCodeAt'](_0xb2f5c4)==_0x4c46d5['next'];)_0xb2f5c4++;let _0x510b26=_0xb2f5c4;for(;_0xb2f5c4<_0x4c46d5['text']['length']&&RM(_0x4c46d5['text']['charCodeAt'](_0xb2f5c4));)_0xb2f5c4++;return _0xb2f5c4==_0x4c46d5['text']['length']?_0x510b26:-0x1;}const FM=/^[ \t]*$/,jM=/-->/,HM=/\?>/,GM=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,jM],[/^\s*<\?/,HM],[/^\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,FM],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,FM]];function ZM(_0xd92c0e,_0x4523a6,_0x4c018f){if(0x3c!=_0xd92c0e['next'])return-0x1;let _0x5070b0=_0xd92c0e['text']['slice'](_0xd92c0e['pos']);for(let _0x437702=0x0,_0x2170fc=GM['length']-(_0x4c018f?0x1:0x0);_0x437702<_0x2170fc;_0x437702++)if(GM[_0x437702][0x0]['test'](_0x5070b0))return _0x437702;return-0x1;}function XM(_0x424de6,_0x483e72){let _0x376e36=_0x424de6['countIndent'](_0x483e72,_0x424de6['pos'],_0x424de6['indent']),_0x5a119c=_0x424de6['countIndent'](_0x424de6['skipSpace'](_0x483e72),_0x483e72,_0x376e36);return _0x5a119c>=_0x376e36+0x5?_0x376e36+0x1:_0x5a119c;}function qM(_0x53da25,_0x174af9,_0x38b5ef){let _0x48f8e0=_0x53da25['length']-0x1;_0x48f8e0>=0x0&&_0x53da25[_0x48f8e0]['to']==_0x174af9&&_0x53da25[_0x48f8e0]['type']==CM['CodeText']?_0x53da25[_0x48f8e0]['to']=_0x38b5ef:_0x53da25['push'](cN(CM['CodeText'],_0x174af9,_0x38b5ef));}const WM={'LinkReference':void 0x0,'IndentedCode'(_0x983f3,_0x17ffd3){let _0x2b7084=_0x17ffd3['baseIndent']+0x4;if(_0x17ffd3['indent']<_0x2b7084)return!0x1;let _0x1f7f3b=_0x17ffd3['findColumn'](_0x2b7084),_0x5b1664=_0x983f3['lineStart']+_0x1f7f3b,_0x8e80d5=_0x983f3['lineStart']+_0x17ffd3['text']['length'],_0x475249=[],_0x38dec8=[];for(qM(_0x475249,_0x5b1664,_0x8e80d5);_0x983f3['nextLine']()&&_0x17ffd3['depth']>=_0x983f3['stack']['length'];)if(_0x17ffd3['pos']==_0x17ffd3['text']['length']){qM(_0x38dec8,_0x983f3['lineStart']-0x1,_0x983f3['lineStart']);for(let _0x11927a of _0x17ffd3['markers'])_0x38dec8['push'](_0x11927a);}else{if(_0x17ffd3['indent']<_0x2b7084)break;{if(_0x38dec8['length']){for(let _0x1537a5 of _0x38dec8)_0x1537a5['type']==CM['CodeText']?qM(_0x475249,_0x1537a5['from'],_0x1537a5['to']):_0x475249['push'](_0x1537a5);_0x38dec8=[];}qM(_0x475249,_0x983f3['lineStart']-0x1,_0x983f3['lineStart']);for(let _0x583ebe of _0x17ffd3['markers'])_0x475249['push'](_0x583ebe);_0x8e80d5=_0x983f3['lineStart']+_0x17ffd3['text']['length'];let _0xf84216=_0x983f3['lineStart']+_0x17ffd3['findColumn'](_0x17ffd3['baseIndent']+0x4);_0xf84216<_0x8e80d5&&qM(_0x475249,_0xf84216,_0x8e80d5);}}return _0x38dec8['length']&&(_0x38dec8=_0x38dec8['filter'](_0x59660c=>_0x59660c['type']!=CM['CodeText']),_0x38dec8['length']&&(_0x17ffd3['markers']=_0x38dec8['concat'](_0x17ffd3['markers']))),_0x983f3['addNode'](_0x983f3['buffer']['writeElements'](_0x475249,-_0x5b1664)['finish'](CM['CodeBlock'],_0x8e80d5-_0x5b1664),_0x5b1664),!0x0;},'FencedCode'(_0x60c2a7,_0x2b2cf1){let _0x27c148=NM(_0x2b2cf1);if(_0x27c148<0x0)return!0x1;let _0x4c38d2=_0x60c2a7['lineStart']+_0x2b2cf1['pos'],_0xb7a073=_0x2b2cf1['next'],_0x2c5817=_0x27c148-_0x2b2cf1['pos'],_0x1d15c5=_0x2b2cf1['skipSpace'](_0x27c148),_0x408f4c=MM(_0x2b2cf1['text'],_0x2b2cf1['text']['length'],_0x1d15c5),_0x3cd93c=[cN(CM['CodeMark'],_0x4c38d2,_0x4c38d2+_0x2c5817)];_0x1d15c5<_0x408f4c&&_0x3cd93c['push'](cN(CM['CodeInfo'],_0x60c2a7['lineStart']+_0x1d15c5,_0x60c2a7['lineStart']+_0x408f4c));for(let _0x35775b=!0x0;_0x60c2a7['nextLine']()&&_0x2b2cf1['depth']>=_0x60c2a7['stack']['length'];_0x35775b=!0x1){let _0x1be55a=_0x2b2cf1['pos'];if(_0x2b2cf1['indent']-_0x2b2cf1['baseIndent']<0x4){for(;_0x1be55a<_0x2b2cf1['text']['length']&&_0x2b2cf1['text']['charCodeAt'](_0x1be55a)==_0xb7a073;)_0x1be55a++;}if(_0x1be55a-_0x2b2cf1['pos']>=_0x2c5817&&_0x2b2cf1['skipSpace'](_0x1be55a)==_0x2b2cf1['text']['length']){for(let _0x2dd245 of _0x2b2cf1['markers'])_0x3cd93c['push'](_0x2dd245);_0x3cd93c['push'](cN(CM['CodeMark'],_0x60c2a7['lineStart']+_0x2b2cf1['pos'],_0x60c2a7['lineStart']+_0x1be55a)),_0x60c2a7['nextLine']();break;}{_0x35775b||qM(_0x3cd93c,_0x60c2a7['lineStart']-0x1,_0x60c2a7['lineStart']);for(let _0x20937d of _0x2b2cf1['markers'])_0x3cd93c['push'](_0x20937d);let _0xfc5cdb=_0x60c2a7['lineStart']+_0x2b2cf1['basePos'],_0x380bb2=_0x60c2a7['lineStart']+_0x2b2cf1['text']['length'];_0xfc5cdb<_0x380bb2&&qM(_0x3cd93c,_0xfc5cdb,_0x380bb2);}}return _0x60c2a7['addNode'](_0x60c2a7['buffer']['writeElements'](_0x3cd93c,-_0x4c38d2)['finish'](CM['FencedCode'],_0x60c2a7['prevLineEnd']()-_0x4c38d2),_0x4c38d2),!0x0;},'Blockquote'(_0x383fe6,_0x54bf1b){let _0x310980=LM(_0x54bf1b);return!(_0x310980<0x0)&&(_0x383fe6['startContext'](CM['Blockquote'],_0x54bf1b['pos']),_0x383fe6['addNode'](CM['QuoteMark'],_0x383fe6['lineStart']+_0x54bf1b['pos'],_0x383fe6['lineStart']+_0x54bf1b['pos']+0x1),_0x54bf1b['moveBase'](_0x54bf1b['pos']+_0x310980),null);},'HorizontalRule'(_0x28bc42,_0x364d9a){if(DM(_0x364d9a,_0x28bc42,!0x1)<0x0)return!0x1;let _0x4a4883=_0x28bc42['lineStart']+_0x364d9a['pos'];return _0x28bc42['nextLine'](),_0x28bc42['addNode'](CM['HorizontalRule'],_0x4a4883),!0x0;},'BulletList'(_0x35f952,_0x492a1e){let _0x5550ea=$M(_0x492a1e,_0x35f952,!0x1);if(_0x5550ea<0x0)return!0x1;_0x35f952['block']['type']!=CM['BulletList']&&_0x35f952['startContext'](CM['BulletList'],_0x492a1e['basePos'],_0x492a1e['next']);let _0x4a5bdd=XM(_0x492a1e,_0x492a1e['pos']+0x1);return _0x35f952['startContext'](CM['ListItem'],_0x492a1e['basePos'],_0x4a5bdd-_0x492a1e['baseIndent']),_0x35f952['addNode'](CM['ListMark'],_0x35f952['lineStart']+_0x492a1e['pos'],_0x35f952['lineStart']+_0x492a1e['pos']+_0x5550ea),_0x492a1e['moveBaseColumn'](_0x4a5bdd),null;},'OrderedList'(_0x39e7de,_0x6316b7){let _0x400fee=VM(_0x6316b7,_0x39e7de,!0x1);if(_0x400fee<0x0)return!0x1;_0x39e7de['block']['type']!=CM['OrderedList']&&_0x39e7de['startContext'](CM['OrderedList'],_0x6316b7['basePos'],_0x6316b7['text']['charCodeAt'](_0x6316b7['pos']+_0x400fee-0x1));let _0x5a84bd=XM(_0x6316b7,_0x6316b7['pos']+_0x400fee);return _0x39e7de['startContext'](CM['ListItem'],_0x6316b7['basePos'],_0x5a84bd-_0x6316b7['baseIndent']),_0x39e7de['addNode'](CM['ListMark'],_0x39e7de['lineStart']+_0x6316b7['pos'],_0x39e7de['lineStart']+_0x6316b7['pos']+_0x400fee),_0x6316b7['moveBaseColumn'](_0x5a84bd),null;},'ATXHeading'(_0x5665a2,_0x52a506){let _0x193dc7=UM(_0x52a506);if(_0x193dc7<0x0)return!0x1;let _0x3ed926=_0x52a506['pos'],_0x52c42e=_0x5665a2['lineStart']+_0x3ed926,_0x28a39b=MM(_0x52a506['text'],_0x52a506['text']['length'],_0x3ed926),_0xf3faf=_0x28a39b;for(;_0xf3faf>_0x3ed926&&_0x52a506['text']['charCodeAt'](_0xf3faf-0x1)==_0x52a506['next'];)_0xf3faf--;_0xf3faf!=_0x28a39b&&_0xf3faf!=_0x3ed926&&RM(_0x52a506['text']['charCodeAt'](_0xf3faf-0x1))||(_0xf3faf=_0x52a506['text']['length']);let _0x2c0490=_0x5665a2['buffer']['write'](CM['HeaderMark'],0x0,_0x193dc7)['writeElements'](_0x5665a2['parser']['parseInline'](_0x52a506['text']['slice'](_0x3ed926+_0x193dc7+0x1,_0xf3faf),_0x52c42e+_0x193dc7+0x1),-_0x52c42e);_0xf3faf<_0x52a506['text']['length']&&_0x2c0490['write'](CM['HeaderMark'],_0xf3faf-_0x3ed926,_0x28a39b-_0x3ed926);let _0x256551=_0x2c0490['finish'](CM['ATXHeading1']-0x1+_0x193dc7,_0x52a506['text']['length']-_0x3ed926);return _0x5665a2['nextLine'](),_0x5665a2['addNode'](_0x256551,_0x52c42e),!0x0;},'HTMLBlock'(_0x5605f0,_0x2dbe10){let _0x298ecf=ZM(_0x2dbe10,0x0,!0x1);if(_0x298ecf<0x0)return!0x1;let _0x4f57a3=_0x5605f0['lineStart']+_0x2dbe10['pos'],_0x1d4b32=GM[_0x298ecf][0x1],_0x2faf6e=[],_0x529394=_0x1d4b32!=FM;for(;!_0x1d4b32['test'](_0x2dbe10['text'])&&_0x5605f0['nextLine']();){if(_0x2dbe10['depth']<_0x5605f0['stack']['length']){_0x529394=!0x1;break;}for(let _0x4d59ef of _0x2dbe10['markers'])_0x2faf6e['push'](_0x4d59ef);}_0x529394&&_0x5605f0['nextLine']();let _0x24476d=_0x1d4b32==jM?CM['CommentBlock']:_0x1d4b32==HM?CM['ProcessingInstructionBlock']:CM['HTMLBlock'],_0xe9fc91=_0x5605f0['prevLineEnd']();return _0x5605f0['addNode'](_0x5605f0['buffer']['writeElements'](_0x2faf6e,-_0x4f57a3)['finish'](_0x24476d,_0xe9fc91-_0x4f57a3),_0x4f57a3),!0x0;},'SetextHeading':void 0x0};class LinkReferenceParser{constructor(_0x18dfbe){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x18dfbe['start'],this['advance'](_0x18dfbe['content']);}['nextLine'](_0x23a303,_0x1a41ff,_0x548e28){if(-0x1==this['stage'])return!0x1;let _0x50d8cb=_0x548e28['content']+'\x0a'+_0x1a41ff['scrub'](),_0x337cde=this['advance'](_0x50d8cb);return _0x337cde>-0x1&&_0x337cde<_0x50d8cb['length']&&this['complete'](_0x23a303,_0x548e28,_0x337cde);}['finish'](_0x182c50,_0x5cecb2){return(0x2==this['stage']||0x3==this['stage'])&&PM(_0x5cecb2['content'],this['pos'])==_0x5cecb2['content']['length']&&this['complete'](_0x182c50,_0x5cecb2,_0x5cecb2['content']['length']);}['complete'](_0x201e30,_0x36601c,_0x47f778){return _0x201e30['addLeafElement'](_0x36601c,cN(CM['LinkReference'],this['start'],this['start']+_0x47f778,this['elts'])),!0x0;}['nextStage'](_0x4a9149){return _0x4a9149?(this['pos']=_0x4a9149['to']-this['start'],this['elts']['push'](_0x4a9149),this['stage']++,!0x0):(!0x1===_0x4a9149&&(this['stage']=-0x1),!0x1);}['advance'](_0x1e2395){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](bN(_0x1e2395,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x1e2395['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](cN(CM['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x5ca2e9=PM(_0x1e2395,this['pos']),_0x12679f=0x0;if(_0x5ca2e9>this['pos']){let _0x14c37e=wN(_0x1e2395,_0x5ca2e9,this['start']);if(_0x14c37e){let _0xdcac90=zM(_0x1e2395,_0x14c37e['to']-this['start']);_0xdcac90>0x0&&(this['nextStage'](_0x14c37e),_0x12679f=_0xdcac90);}}return _0x12679f||(_0x12679f=zM(_0x1e2395,this['pos'])),_0x12679f>0x0&&_0x12679f<_0x1e2395['length']?_0x12679f:-0x1;}return zM(_0x1e2395,this['pos']);}if(!this['nextStage'](ON(_0x1e2395,PM(_0x1e2395,this['pos']),this['start'])))return-0x1;}}}}function zM(_0x3215fa,_0x3b68b1){for(;_0x3b68b1<_0x3215fa['length'];_0x3b68b1++){let _0x5dfd95=_0x3215fa['charCodeAt'](_0x3b68b1);if(0xa==_0x5dfd95)break;if(!RM(_0x5dfd95))return-0x1;}return _0x3b68b1;}class SetextHeadingParser{['nextLine'](_0x40ed2c,_0x10d527,_0x111fff){let _0x1995cc=_0x10d527['depth']<_0x40ed2c['stack']['length']?-0x1:BM(_0x10d527),_0x507fb8=_0x10d527['next'];if(_0x1995cc<0x0)return!0x1;let _0x268b5e=cN(CM['HeaderMark'],_0x40ed2c['lineStart']+_0x10d527['pos'],_0x40ed2c['lineStart']+_0x1995cc);return _0x40ed2c['nextLine'](),_0x40ed2c['addLeafElement'](_0x111fff,cN(0x3d==_0x507fb8?CM['SetextHeading1']:CM['SetextHeading2'],_0x111fff['start'],_0x40ed2c['prevLineEnd'](),[..._0x40ed2c['parser']['parseInline'](_0x111fff['content'],_0x111fff['start']),_0x268b5e])),!0x0;}['finish'](){return!0x1;}}const YM={'LinkReference':(_0x45d573,_0xf917a1)=>0x5b==_0xf917a1['content']['charCodeAt'](0x0)?new LinkReferenceParser(_0xf917a1):null,'SetextHeading':()=>new SetextHeadingParser()},KM=[(_0xb1bea8,_0x5cee16)=>UM(_0x5cee16)>=0x0,(_0x5ab78e,_0x19ad11)=>NM(_0x19ad11)>=0x0,(_0x53eff9,_0x3215d3)=>LM(_0x3215d3)>=0x0,(_0xddf1b7,_0x43a100)=>$M(_0x43a100,_0xddf1b7,!0x0)>=0x0,(_0xfaf7a4,_0x121706)=>VM(_0x121706,_0xfaf7a4,!0x0)>=0x0,(_0x2aaaef,_0x5747de)=>DM(_0x5747de,_0x2aaaef,!0x0)>=0x0,(_0x2013b8,_0x2cf0ef)=>ZM(_0x2cf0ef,0x0,!0x0)>=0x0],JM={'text':'','end':0x0};class BlockContext{constructor(_0x53928c,_0x4d827e,_0x23b507,_0xff99a5){this['parser']=_0x53928c,this['input']=_0x4d827e,this['ranges']=_0xff99a5,this['line']=new Line(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0xff99a5[_0xff99a5['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0xff99a5[0x0]['from'],this['block']=CompositeBlock['create'](CM['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x23b507['length']?new FragmentCursor(_0x23b507,_0x4d827e):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x479c4f}=this;for(;;){for(let _0xc025a=0x0;;){let _0x6e821c=_0x479c4f['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0xc025a<_0x479c4f['markers']['length']&&(!_0x6e821c||_0x479c4f['markers'][_0xc025a]['from']<_0x6e821c['end']);){let _0x20d201=_0x479c4f['markers'][_0xc025a++];this['addNode'](_0x20d201['type'],_0x20d201['from'],_0x20d201['to']);}if(!_0x6e821c)break;this['finishContext']();}if(_0x479c4f['pos']<_0x479c4f['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x479c4f['basePos']))return null;t:for(;;){for(let _0x33e8d5 of this['parser']['blockParsers'])if(_0x33e8d5){let _0x1f8f76=_0x33e8d5(this,_0x479c4f);if(0x0!=_0x1f8f76){if(0x1==_0x1f8f76)return null;_0x479c4f['forward']();continue t;}}break;}let _0x1b8d55=new LeafBlock(this['lineStart']+_0x479c4f['pos'],_0x479c4f['text']['slice'](_0x479c4f['pos']));for(let _0x23af37 of this['parser']['leafBlockParsers'])if(_0x23af37){let _0x3c6c54=_0x23af37(this,_0x1b8d55);_0x3c6c54&&_0x1b8d55['parsers']['push'](_0x3c6c54);}t:for(;this['nextLine']()&&_0x479c4f['pos']!=_0x479c4f['text']['length'];){if(_0x479c4f['indent']<_0x479c4f['baseIndent']+0x4){for(let _0x5a475a of this['parser']['endLeafBlock'])if(_0x5a475a(this,_0x479c4f,_0x1b8d55))break t;}for(let _0x461031 of _0x1b8d55['parsers'])if(_0x461031['nextLine'](this,_0x479c4f,_0x1b8d55))return null;_0x1b8d55['content']+='\x0a'+_0x479c4f['scrub']();for(let _0x2af2d2 of _0x479c4f['markers'])_0x1b8d55['marks']['push'](_0x2af2d2);}return this['finishLeaf'](_0x1b8d55),null;}['stopAt'](_0xbf968c){if(null!=this['stoppedAt']&&this['stoppedAt']<_0xbf968c)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0xbf968c;}['reuseFragment'](_0x2c778e){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x2c778e,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x1a4778=this['fragments']['takeNodes'](this);return!!_0x1a4778&&(this['absoluteLineStart']+=_0x1a4778,this['lineStart']=vN(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'](_0x146267=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x146267]['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'](_0x4a61aa){let _0x227a76=JM;if(_0x227a76['end']=_0x4a61aa,_0x4a61aa>=this['to'])_0x227a76['text']='';else{if(_0x227a76['text']=this['lineChunkAt'](_0x4a61aa),_0x227a76['end']+=_0x227a76['text']['length'],this['ranges']['length']>0x1){let _0x3624e6=this['absoluteLineStart'],_0x7ac9c2=this['rangeI'];for(;this['ranges'][_0x7ac9c2]['to']<_0x227a76['end'];){_0x7ac9c2++;let _0x2d383d=this['ranges'][_0x7ac9c2]['from'],_0x53bd08=this['lineChunkAt'](_0x2d383d);_0x227a76['end']=_0x2d383d+_0x53bd08['length'],_0x227a76['text']=_0x227a76['text']['slice'](0x0,this['ranges'][_0x7ac9c2-0x1]['to']-_0x3624e6)+_0x53bd08,_0x3624e6=_0x227a76['end']-_0x227a76['text']['length'];}}}return _0x227a76;}['readLine'](){let {line:_0x3a7a6c}=this,{text:_0x41cd86,end:_0x4d776c}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x4d776c,_0x3a7a6c['reset'](_0x41cd86);_0x3a7a6c['depth']<this['stack']['length'];_0x3a7a6c['depth']++){let _0x553442=this['stack'][_0x3a7a6c['depth']],_0x3a2f81=this['parser']['skipContextMarkup'][_0x553442['type']];if(!_0x3a2f81)throw new Error('Unhandled\x20block\x20context\x20'+CM[_0x553442['type']]);let _0x5622e9=this['line']['markers']['length'];if(!_0x3a2f81(_0x553442,this,_0x3a7a6c)){this['line']['markers']['length']>_0x5622e9&&(_0x553442['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x3a7a6c['forward']();}}['lineChunkAt'](_0x59f6d2){let _0x58dcc8,_0xcf6a5d=this['input']['chunk'](_0x59f6d2);if(this['input']['lineChunks'])_0x58dcc8='\x0a'==_0xcf6a5d?'':_0xcf6a5d;else{let _0x14d328=_0xcf6a5d['indexOf']('\x0a');_0x58dcc8=_0x14d328<0x0?_0xcf6a5d:_0xcf6a5d['slice'](0x0,_0x14d328);}return _0x59f6d2+_0x58dcc8['length']>this['to']?_0x58dcc8['slice'](0x0,this['to']-_0x59f6d2):_0x58dcc8;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0xbb827d,_0x32d1ac,_0x34c0a9=0x0){this['block']=CompositeBlock['create'](_0xbb827d,_0x34c0a9,this['lineStart']+_0x32d1ac,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x14a103,_0x2bd218,_0x336116=0x0){this['startContext'](this['parser']['getNodeType'](_0x14a103),_0x2bd218,_0x336116);}['addNode'](_0x4002d1,_0xf10a1,_0x1d37f0){'number'==typeof _0x4002d1&&(_0x4002d1=new Tree(this['parser']['nodeSet']['types'][_0x4002d1],rN,rN,(null!=_0x1d37f0?_0x1d37f0:this['prevLineEnd']())-_0xf10a1)),this['block']['addChild'](_0x4002d1,_0xf10a1-this['block']['from']);}['addElement'](_0x580e7a){this['block']['addChild'](_0x580e7a['toTree'](this['parser']['nodeSet']),_0x580e7a['from']-this['block']['from']);}['addLeafElement'](_0x58dd2f,_0x41044d){this['addNode'](this['buffer']['writeElements'](yN(_0x41044d['children'],_0x58dd2f['marks']),-_0x41044d['from'])['finish'](_0x41044d['type'],_0x41044d['to']-_0x41044d['from']),_0x41044d['from']);}['finishContext'](){let _0x19cde8=this['stack']['pop'](),_0x4be946=this['stack'][this['stack']['length']-0x1];_0x4be946['addChild'](_0x19cde8['toTree'](this['parser']['nodeSet']),_0x19cde8['from']-_0x4be946['from']),this['block']=_0x4be946;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0xad61b7){return this['ranges']['length']>0x1?tN(this['ranges'],0x0,_0xad61b7['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0xad61b7;}['finishLeaf'](_0x479ad6){for(let _0x584564 of _0x479ad6['parsers'])if(_0x584564['finish'](this,_0x479ad6))return;let _0x4ab480=yN(this['parser']['parseInline'](_0x479ad6['content'],_0x479ad6['start']),_0x479ad6['marks']);this['addNode'](this['buffer']['writeElements'](_0x4ab480,-_0x479ad6['start'])['finish'](CM['Paragraph'],_0x479ad6['content']['length']),_0x479ad6['start']);}['elt'](_0x39a46f,_0x3b4396,_0x5600a1,_0x534380){return'string'==typeof _0x39a46f?cN(this['parser']['getNodeType'](_0x39a46f),_0x3b4396,_0x5600a1,_0x534380):new TreeElement(_0x39a46f,_0x3b4396);}get['buffer'](){return new oN(this['parser']['nodeSet']);}}function tN(_0x354bd1,_0x58aa27,_0x417c33,_0x4513b1,_0x474e72){let _0x3162ad=_0x354bd1[_0x58aa27]['to'],_0x3ae7ea=[],_0x4ad75a=[],_0x22ab00=_0x417c33['from']+_0x4513b1;function _0x3effbc(_0x154799,_0x2220a1){for(;_0x2220a1?_0x154799>=_0x3162ad:_0x154799>_0x3162ad;){let _0x37b44b=_0x354bd1[_0x58aa27+0x1]['from']-_0x3162ad;_0x4513b1+=_0x37b44b,_0x154799+=_0x37b44b,_0x58aa27++,_0x3162ad=_0x354bd1[_0x58aa27]['to'];}}for(let _0x46ac20=_0x417c33['firstChild'];_0x46ac20;_0x46ac20=_0x46ac20['nextSibling']){_0x3effbc(_0x46ac20['from']+_0x4513b1,!0x0);let _0x412ca6,_0x2f6089=_0x46ac20['from']+_0x4513b1,_0x454459=_0x474e72['get'](_0x46ac20['tree']);_0x454459?_0x412ca6=_0x454459:_0x46ac20['to']+_0x4513b1>_0x3162ad?(_0x412ca6=tN(_0x354bd1,_0x58aa27,_0x46ac20,_0x4513b1,_0x474e72),_0x3effbc(_0x46ac20['to']+_0x4513b1,!0x1)):_0x412ca6=_0x46ac20['toTree'](),_0x3ae7ea['push'](_0x412ca6),_0x4ad75a['push'](_0x2f6089-_0x22ab00);}return _0x3effbc(_0x417c33['to']+_0x4513b1,!0x1),new Tree(_0x417c33['type'],_0x3ae7ea,_0x4ad75a,_0x417c33['to']+_0x4513b1-_0x22ab00,_0x417c33['tree']?_0x417c33['tree']['propValues']:void 0x0);}class MarkdownParser extends Parser{constructor(_0x47021b,_0x11eab3,_0xf4adac,_0x175724,_0x57932f,_0x143f79,_0x52d423,_0x1c027b,_0x5aad66){super(),this['nodeSet']=_0x47021b,this['blockParsers']=_0x11eab3,this['leafBlockParsers']=_0xf4adac,this['blockNames']=_0x175724,this['endLeafBlock']=_0x57932f,this['skipContextMarkup']=_0x143f79,this['inlineParsers']=_0x52d423,this['inlineNames']=_0x1c027b,this['wrappers']=_0x5aad66,this['nodeTypes']=Object['create'](null);for(let t of _0x47021b['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x1d3ee7,_0x9cce20,_0x48e65c){let _0xe44f0f=new BlockContext(this,_0x1d3ee7,_0x9cce20,_0x48e65c);for(let _0x5af247 of this['wrappers'])_0xe44f0f=_0x5af247(_0xe44f0f,_0x1d3ee7,_0x9cce20,_0x48e65c);return _0xe44f0f;}['configure'](_0x243e2d){let _0x37511f=iN(_0x243e2d);if(!_0x37511f)return this;let {nodeSet:_0x31f403,skipContextMarkup:_0xafe635}=this,_0x4d161a=this['blockParsers']['slice'](),_0x5499fe=this['leafBlockParsers']['slice'](),_0x4d19f8=this['blockNames']['slice'](),_0x43ce44=this['inlineParsers']['slice'](),_0x38f58e=this['inlineNames']['slice'](),_0x46d5b9=this['endLeafBlock']['slice'](),_0x9bd59a=this['wrappers'];if(eN(_0x37511f['defineNodes'])){_0xafe635=Object['assign']({},_0xafe635);let _0x3664a4,_0x40688d=_0x31f403['types']['slice']();for(let _0x5d9302 of _0x37511f['defineNodes']){let {name:_0xb06b1c,block:_0x5734be,composite:_0xbbb8fc,style:_0x416cbd}='string'==typeof _0x5d9302?{'name':_0x5d9302}:_0x5d9302;if(_0x40688d['some'](t=>t['name']==_0xb06b1c))continue;_0xbbb8fc&&(_0xafe635[_0x40688d['length']]=(_0x266a38,_0xc50bf5,_0x6fd0b6)=>_0xbbb8fc(_0xc50bf5,_0x6fd0b6,_0x266a38['value']));let _0x45bdb7=_0x40688d['length'],_0x566e22=_0xbbb8fc?['Block','BlockContext']:_0x5734be?_0x45bdb7>=CM['ATXHeading1']&&_0x45bdb7<=CM['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x40688d['push'](NodeType['define']({'id':_0x45bdb7,'name':_0xb06b1c,'props':_0x566e22&&[[NodeProp['group'],_0x566e22]]})),_0x416cbd&&(_0x3664a4||(_0x3664a4={}),Array['isArray'](_0x416cbd)||_0x416cbd instanceof Tag?_0x3664a4[_0xb06b1c]=_0x416cbd:Object['assign'](_0x3664a4,_0x416cbd));}_0x31f403=new NodeSet(_0x40688d),_0x3664a4&&(_0x31f403=_0x31f403['extend'](CI(_0x3664a4)));}if(eN(_0x37511f['props'])&&(_0x31f403=_0x31f403['extend'](..._0x37511f['props'])),eN(_0x37511f['remove']))for(let _0x25ad77 of _0x37511f['remove']){let _0x427982=this['blockNames']['indexOf'](_0x25ad77),_0x25ba20=this['inlineNames']['indexOf'](_0x25ad77);_0x427982>-0x1&&(_0x4d161a[_0x427982]=_0x5499fe[_0x427982]=void 0x0),_0x25ba20>-0x1&&(_0x43ce44[_0x25ba20]=void 0x0);}if(eN(_0x37511f['parseBlock']))for(let _0x2d75c2 of _0x37511f['parseBlock']){let _0x392f6e=_0x4d19f8['indexOf'](_0x2d75c2['name']);if(_0x392f6e>-0x1)_0x4d161a[_0x392f6e]=_0x2d75c2['parse'],_0x5499fe[_0x392f6e]=_0x2d75c2['leaf'];else{let _0x25702b=_0x2d75c2['before']?sN(_0x4d19f8,_0x2d75c2['before']):_0x2d75c2['after']?sN(_0x4d19f8,_0x2d75c2['after'])+0x1:_0x4d19f8['length']-0x1;_0x4d161a['splice'](_0x25702b,0x0,_0x2d75c2['parse']),_0x5499fe['splice'](_0x25702b,0x0,_0x2d75c2['leaf']),_0x4d19f8['splice'](_0x25702b,0x0,_0x2d75c2['name']);}_0x2d75c2['endLeaf']&&_0x46d5b9['push'](_0x2d75c2['endLeaf']);}if(eN(_0x37511f['parseInline']))for(let _0x3fd6c3 of _0x37511f['parseInline']){let _0x4e9e48=_0x38f58e['indexOf'](_0x3fd6c3['name']);if(_0x4e9e48>-0x1)_0x43ce44[_0x4e9e48]=_0x3fd6c3['parse'];else{let _0x3b047b=_0x3fd6c3['before']?sN(_0x38f58e,_0x3fd6c3['before']):_0x3fd6c3['after']?sN(_0x38f58e,_0x3fd6c3['after'])+0x1:_0x38f58e['length']-0x1;_0x43ce44['splice'](_0x3b047b,0x0,_0x3fd6c3['parse']),_0x38f58e['splice'](_0x3b047b,0x0,_0x3fd6c3['name']);}}return _0x37511f['wrap']&&(_0x9bd59a=_0x9bd59a['concat'](_0x37511f['wrap'])),new MarkdownParser(_0x31f403,_0x4d161a,_0x5499fe,_0x4d19f8,_0x46d5b9,_0xafe635,_0x43ce44,_0x38f58e,_0x9bd59a);}['getNodeType'](_0xe4ca88){let _0xadfbc=this['nodeTypes'][_0xe4ca88];if(null==_0xadfbc)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0xe4ca88+'\x27');return _0xadfbc;}['parseInline'](_0x2ddc87,_0x5e278c){let _0x3d358f=new InlineContext(this,_0x2ddc87,_0x5e278c);t:for(let _0xe9fb73=_0x5e278c;_0xe9fb73<_0x3d358f['end'];){let _0x45be2c=_0x3d358f['char'](_0xe9fb73);for(let _0x16a623 of this['inlineParsers'])if(_0x16a623){let _0x586abf=_0x16a623(_0x3d358f,_0x45be2c,_0xe9fb73);if(_0x586abf>=0x0){_0xe9fb73=_0x586abf;continue t;}}_0xe9fb73++;}return _0x3d358f['resolveMarkers'](0x0);}}function eN(_0x4d829c){return null!=_0x4d829c&&_0x4d829c['length']>0x0;}function iN(_0x37ada7){if(!Array['isArray'](_0x37ada7))return _0x37ada7;if(0x0==_0x37ada7['length'])return null;let _0xf61a84=iN(_0x37ada7[0x0]);if(0x1==_0x37ada7['length'])return _0xf61a84;let _0x1b5f92=iN(_0x37ada7['slice'](0x1));if(!_0x1b5f92||!_0xf61a84)return _0xf61a84||_0x1b5f92;let _0x436eba=(_0x1ade0a,_0x653f8f)=>(_0x1ade0a||rN)['concat'](_0x653f8f||rN),_0x74b134=_0xf61a84['wrap'],_0x4245f9=_0x1b5f92['wrap'];return{'props':_0x436eba(_0xf61a84['props'],_0x1b5f92['props']),'defineNodes':_0x436eba(_0xf61a84['defineNodes'],_0x1b5f92['defineNodes']),'parseBlock':_0x436eba(_0xf61a84['parseBlock'],_0x1b5f92['parseBlock']),'parseInline':_0x436eba(_0xf61a84['parseInline'],_0x1b5f92['parseInline']),'remove':_0x436eba(_0xf61a84['remove'],_0x1b5f92['remove']),'wrap':_0x74b134?_0x4245f9?(_0x4390cb,_0x5c1cdf,_0x40728e,_0x25e943)=>_0x74b134(_0x4245f9(_0x4390cb,_0x5c1cdf,_0x40728e,_0x25e943),_0x5c1cdf,_0x40728e,_0x25e943):_0x74b134:_0x4245f9};}function sN(_0x4ffb4f,_0x194e22){let _0x165a9a=_0x4ffb4f['indexOf'](_0x194e22);if(_0x165a9a<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x194e22);return _0x165a9a;}let nN=[NodeType['none']];for(let e,i=0x1;e=CM[i];i++)nN[i]=NodeType['define']({'id':i,'name':e,'props':i>=CM['Escape']?[]:[[NodeProp['group'],i in xM?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==e});const rN=[];let oN=class Buffer{constructor(_0x368d85){this['nodeSet']=_0x368d85,this['content']=[],this['nodes']=[];}['write'](_0x34735d,_0x505ab8,_0x23f5f6,_0x2e97cd=0x0){return this['content']['push'](_0x34735d,_0x505ab8,_0x23f5f6,0x4+0x4*_0x2e97cd),this;}['writeElements'](_0xafcec2,_0x465a92=0x0){for(let _0x22be19 of _0xafcec2)_0x22be19['writeTo'](this,_0x465a92);return this;}['finish'](_0x511d59,_0x1faba9){return Tree['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x511d59,'length':_0x1faba9});}},aN=class Element{constructor(_0x3b9689,_0x4522ab,_0x2c4726,_0x183a31=rN){this['type']=_0x3b9689,this['from']=_0x4522ab,this['to']=_0x2c4726,this['children']=_0x183a31;}['writeTo'](_0x5dd58e,_0x2f1a68){let _0x1c6bac=_0x5dd58e['content']['length'];_0x5dd58e['writeElements'](this['children'],_0x2f1a68),_0x5dd58e['content']['push'](this['type'],this['from']+_0x2f1a68,this['to']+_0x2f1a68,_0x5dd58e['content']['length']+0x4-_0x1c6bac);}['toTree'](_0x25e776){return new oN(_0x25e776)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x249a80,_0x102938){this['tree']=_0x249a80,this['from']=_0x102938;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return rN;}['writeTo'](_0x2876b5,_0x45f080){_0x2876b5['nodes']['push'](this['tree']),_0x2876b5['content']['push'](_0x2876b5['nodes']['length']-0x1,this['from']+_0x45f080,this['to']+_0x45f080,-0x1);}['toTree'](){return this['tree'];}}function cN(_0x375205,_0x9f4fcc,_0x5b661f,_0x59f355){return new aN(_0x375205,_0x9f4fcc,_0x5b661f,_0x59f355);}const lN={'resolve':'Emphasis','mark':'EmphasisMark'},hN={'resolve':'Emphasis','mark':'EmphasisMark'},uN={},dN={};class InlineDelimiter{constructor(_0x59ccd9,_0x58c9f8,_0x1e025d,_0x1f6b1a){this['type']=_0x59ccd9,this['from']=_0x58c9f8,this['to']=_0x1e025d,this['side']=_0x1f6b1a;}}const fN='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let mN=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{mN=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x2c803e){}const gN={'Escape'(_0x35c4fc,_0x201757,_0x131875){if(0x5c!=_0x201757||_0x131875==_0x35c4fc['end']-0x1)return-0x1;let _0x2b728f=_0x35c4fc['char'](_0x131875+0x1);for(let _0x5baa32=0x0;_0x5baa32<0x20;_0x5baa32++)if(fN['charCodeAt'](_0x5baa32)==_0x2b728f)return _0x35c4fc['append'](cN(CM['Escape'],_0x131875,_0x131875+0x2));return-0x1;},'Entity'(_0x5a0d9b,_0x223571,_0x23fae1){if(0x26!=_0x223571)return-0x1;let _0x5c9c5b=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x5a0d9b['slice'](_0x23fae1+0x1,_0x23fae1+0x1f));return _0x5c9c5b?_0x5a0d9b['append'](cN(CM['Entity'],_0x23fae1,_0x23fae1+0x1+_0x5c9c5b[0x0]['length'])):-0x1;},'InlineCode'(_0x29ea43,_0x179da5,_0x490fb0){if(0x60!=_0x179da5||_0x490fb0&&0x60==_0x29ea43['char'](_0x490fb0-0x1))return-0x1;let _0x301a63=_0x490fb0+0x1;for(;_0x301a63<_0x29ea43['end']&&0x60==_0x29ea43['char'](_0x301a63);)_0x301a63++;let _0xf79051=_0x301a63-_0x490fb0,_0x1f59ed=0x0;for(;_0x301a63<_0x29ea43['end'];_0x301a63++)if(0x60==_0x29ea43['char'](_0x301a63)){if(_0x1f59ed++,_0x1f59ed==_0xf79051&&0x60!=_0x29ea43['char'](_0x301a63+0x1))return _0x29ea43['append'](cN(CM['InlineCode'],_0x490fb0,_0x301a63+0x1,[cN(CM['CodeMark'],_0x490fb0,_0x490fb0+_0xf79051),cN(CM['CodeMark'],_0x301a63+0x1-_0xf79051,_0x301a63+0x1)]));}else _0x1f59ed=0x0;return-0x1;},'HTMLTag'(_0x4c09c5,_0x32ed25,_0xfa173a){if(0x3c!=_0x32ed25||_0xfa173a==_0x4c09c5['end']-0x1)return-0x1;let _0x175131=_0x4c09c5['slice'](_0xfa173a+0x1,_0x4c09c5['end']),_0x37edd6=/^(?:[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'](_0x175131);if(_0x37edd6)return _0x4c09c5['append'](cN(CM['Autolink'],_0xfa173a,_0xfa173a+0x1+_0x37edd6[0x0]['length'],[cN(CM['LinkMark'],_0xfa173a,_0xfa173a+0x1),cN(CM['URL'],_0xfa173a+0x1,_0xfa173a+_0x37edd6[0x0]['length']),cN(CM['LinkMark'],_0xfa173a+_0x37edd6[0x0]['length'],_0xfa173a+0x1+_0x37edd6[0x0]['length'])]));let _0x5a2170=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x175131);if(_0x5a2170)return _0x4c09c5['append'](cN(CM['Comment'],_0xfa173a,_0xfa173a+0x1+_0x5a2170[0x0]['length']));let _0x1b3e38=/^\?[^]*?\?>/['exec'](_0x175131);if(_0x1b3e38)return _0x4c09c5['append'](cN(CM['ProcessingInstruction'],_0xfa173a,_0xfa173a+0x1+_0x1b3e38[0x0]['length']));let _0x61120c=/^(?:![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'](_0x175131);return _0x61120c?_0x4c09c5['append'](cN(CM['HTMLTag'],_0xfa173a,_0xfa173a+0x1+_0x61120c[0x0]['length'])):-0x1;},'Emphasis'(_0xad5ffc,_0x72d164,_0x281e83){if(0x5f!=_0x72d164&&0x2a!=_0x72d164)return-0x1;let _0x4340ef=_0x281e83+0x1;for(;_0xad5ffc['char'](_0x4340ef)==_0x72d164;)_0x4340ef++;let _0x18e360=_0xad5ffc['slice'](_0x281e83-0x1,_0x281e83),_0x28a0b6=_0xad5ffc['slice'](_0x4340ef,_0x4340ef+0x1),_0xe7f31=mN['test'](_0x18e360),_0x1af692=mN['test'](_0x28a0b6),_0x262902=/\s|^$/['test'](_0x18e360),_0x1f35a3=/\s|^$/['test'](_0x28a0b6),_0x43adf2=!_0x1f35a3&&(!_0x1af692||_0x262902||_0xe7f31),_0x39f7b9=!_0x262902&&(!_0xe7f31||_0x1f35a3||_0x1af692),_0x10c776=_0x43adf2&&(0x2a==_0x72d164||!_0x39f7b9||_0xe7f31),_0x856231=_0x39f7b9&&(0x2a==_0x72d164||!_0x43adf2||_0x1af692);return _0xad5ffc['append'](new InlineDelimiter(0x5f==_0x72d164?lN:hN,_0x281e83,_0x4340ef,(_0x10c776?0x1:0x0)|(_0x856231?0x2:0x0)));},'HardBreak'(_0xe83ed8,_0x49a412,_0x511542){if(0x5c==_0x49a412&&0xa==_0xe83ed8['char'](_0x511542+0x1))return _0xe83ed8['append'](cN(CM['HardBreak'],_0x511542,_0x511542+0x2));if(0x20==_0x49a412){let _0x1806d9=_0x511542+0x1;for(;0x20==_0xe83ed8['char'](_0x1806d9);)_0x1806d9++;if(0xa==_0xe83ed8['char'](_0x1806d9)&&_0x1806d9>=_0x511542+0x2)return _0xe83ed8['append'](cN(CM['HardBreak'],_0x511542,_0x1806d9+0x1));}return-0x1;},'Link':(_0x40d2a7,_0x19f303,_0x25a5db)=>0x5b==_0x19f303?_0x40d2a7['append'](new InlineDelimiter(uN,_0x25a5db,_0x25a5db+0x1,0x1)):-0x1,'Image':(_0x33e6b0,_0x12c100,_0x20fdb9)=>0x21==_0x12c100&&0x5b==_0x33e6b0['char'](_0x20fdb9+0x1)?_0x33e6b0['append'](new InlineDelimiter(dN,_0x20fdb9,_0x20fdb9+0x2,0x1)):-0x1,'LinkEnd'(_0x442b7f,_0x59ede0,_0x9254f6){if(0x5d!=_0x59ede0)return-0x1;for(let _0x227dfd=_0x442b7f['parts']['length']-0x1;_0x227dfd>=0x0;_0x227dfd--){let _0x11aaf6=_0x442b7f['parts'][_0x227dfd];if(_0x11aaf6 instanceof InlineDelimiter&&(_0x11aaf6['type']==uN||_0x11aaf6['type']==dN)){if(!_0x11aaf6['side']||_0x442b7f['skipSpace'](_0x11aaf6['to'])==_0x9254f6&&!/[(\[]/['test'](_0x442b7f['slice'](_0x9254f6+0x1,_0x9254f6+0x2)))return _0x442b7f['parts'][_0x227dfd]=null,-0x1;let _0x1f4bcd=_0x442b7f['takeContent'](_0x227dfd),_0x33c227=_0x442b7f['parts'][_0x227dfd]=pN(_0x442b7f,_0x1f4bcd,_0x11aaf6['type']==uN?CM['Link']:CM['Image'],_0x11aaf6['from'],_0x9254f6+0x1);if(_0x11aaf6['type']==uN)for(let _0x445359=0x0;_0x445359<_0x227dfd;_0x445359++){let _0x3cf0be=_0x442b7f['parts'][_0x445359];_0x3cf0be instanceof InlineDelimiter&&_0x3cf0be['type']==uN&&(_0x3cf0be['side']=0x0);}return _0x33c227['to'];}}return-0x1;}};function pN(_0x544145,_0x380fb5,_0x2ef29b,_0x5cb300,_0x452bc4){let {text:_0x35c094}=_0x544145,_0x399f1f=_0x544145['char'](_0x452bc4),_0x3b102c=_0x452bc4;if(_0x380fb5['unshift'](cN(CM['LinkMark'],_0x5cb300,_0x5cb300+(_0x2ef29b==CM['Image']?0x2:0x1))),_0x380fb5['push'](cN(CM['LinkMark'],_0x452bc4-0x1,_0x452bc4)),0x28==_0x399f1f){let _0x59f27c,_0x4d6833=_0x544145['skipSpace'](_0x452bc4+0x1),_0x4dc2b2=ON(_0x35c094,_0x4d6833-_0x544145['offset'],_0x544145['offset']);_0x4dc2b2&&(_0x4d6833=_0x544145['skipSpace'](_0x4dc2b2['to']),_0x4d6833!=_0x4dc2b2['to']&&(_0x59f27c=wN(_0x35c094,_0x4d6833-_0x544145['offset'],_0x544145['offset']),_0x59f27c&&(_0x4d6833=_0x544145['skipSpace'](_0x59f27c['to'])))),0x29==_0x544145['char'](_0x4d6833)&&(_0x380fb5['push'](cN(CM['LinkMark'],_0x452bc4,_0x452bc4+0x1)),_0x3b102c=_0x4d6833+0x1,_0x4dc2b2&&_0x380fb5['push'](_0x4dc2b2),_0x59f27c&&_0x380fb5['push'](_0x59f27c),_0x380fb5['push'](cN(CM['LinkMark'],_0x4d6833,_0x3b102c)));}else{if(0x5b==_0x399f1f){let _0xf8ae=bN(_0x35c094,_0x452bc4-_0x544145['offset'],_0x544145['offset'],!0x1);_0xf8ae&&(_0x380fb5['push'](_0xf8ae),_0x3b102c=_0xf8ae['to']);}}return cN(_0x2ef29b,_0x5cb300,_0x3b102c,_0x380fb5);}function ON(_0xbf3177,_0x9f6ffd,_0x31685d){if(0x3c==_0xbf3177['charCodeAt'](_0x9f6ffd)){for(let _0x4b308d=_0x9f6ffd+0x1;_0x4b308d<_0xbf3177['length'];_0x4b308d++){let _0x5275d2=_0xbf3177['charCodeAt'](_0x4b308d);if(0x3e==_0x5275d2)return cN(CM['URL'],_0x9f6ffd+_0x31685d,_0x4b308d+0x1+_0x31685d);if(0x3c==_0x5275d2||0xa==_0x5275d2)return!0x1;}return null;}{let _0x4f838c=0x0,_0x419e81=_0x9f6ffd;for(let _0x35524b=!0x1;_0x419e81<_0xbf3177['length'];_0x419e81++){let _0x3dc5fd=_0xbf3177['charCodeAt'](_0x419e81);if(RM(_0x3dc5fd))break;if(_0x35524b)_0x35524b=!0x1;else{if(0x28==_0x3dc5fd)_0x4f838c++;else{if(0x29==_0x3dc5fd){if(!_0x4f838c)break;_0x4f838c--;}else 0x5c==_0x3dc5fd&&(_0x35524b=!0x0);}}}return _0x419e81>_0x9f6ffd?cN(CM['URL'],_0x9f6ffd+_0x31685d,_0x419e81+_0x31685d):_0x419e81==_0xbf3177['length']&&null;}}function wN(_0x4ac3c3,_0x22e6eb,_0x20c6ee){let _0x50a6ad=_0x4ac3c3['charCodeAt'](_0x22e6eb);if(0x27!=_0x50a6ad&&0x22!=_0x50a6ad&&0x28!=_0x50a6ad)return!0x1;let _0x2b9633=0x28==_0x50a6ad?0x29:_0x50a6ad;for(let _0xb6d106=_0x22e6eb+0x1,_0x26545f=!0x1;_0xb6d106<_0x4ac3c3['length'];_0xb6d106++){let _0x27bbfb=_0x4ac3c3['charCodeAt'](_0xb6d106);if(_0x26545f)_0x26545f=!0x1;else{if(_0x27bbfb==_0x2b9633)return cN(CM['LinkTitle'],_0x22e6eb+_0x20c6ee,_0xb6d106+0x1+_0x20c6ee);0x5c==_0x27bbfb&&(_0x26545f=!0x0);}}return null;}function bN(_0x5c3d7e,_0x22b1a5,_0x21f6d0,_0x4f1226){for(let _0x202bd6=!0x1,_0x4ee5e2=_0x22b1a5+0x1,_0x216950=Math['min'](_0x5c3d7e['length'],_0x4ee5e2+0x3e7);_0x4ee5e2<_0x216950;_0x4ee5e2++){let _0x20ce94=_0x5c3d7e['charCodeAt'](_0x4ee5e2);if(_0x202bd6)_0x202bd6=!0x1;else{if(0x5d==_0x20ce94)return!_0x4f1226&&cN(CM['LinkLabel'],_0x22b1a5+_0x21f6d0,_0x4ee5e2+0x1+_0x21f6d0);if(_0x4f1226&&!RM(_0x20ce94)&&(_0x4f1226=!0x1),0x5b==_0x20ce94)return!0x1;0x5c==_0x20ce94&&(_0x202bd6=!0x0);}}return null;}class InlineContext{constructor(_0x313a55,_0xa4e627,_0xb4730c){this['parser']=_0x313a55,this['text']=_0xa4e627,this['offset']=_0xb4730c,this['parts']=[];}['char'](_0x348ffc){return _0x348ffc>=this['end']?-0x1:this['text']['charCodeAt'](_0x348ffc-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x3b6e2d,_0x62d9f9){return this['text']['slice'](_0x3b6e2d-this['offset'],_0x62d9f9-this['offset']);}['append'](_0x3ab87a){return this['parts']['push'](_0x3ab87a),_0x3ab87a['to'];}['addDelimiter'](_0x7b626d,_0x8c052d,_0x547134,_0x23cffe,_0x58d45b){return this['append'](new InlineDelimiter(_0x7b626d,_0x8c052d,_0x547134,(_0x23cffe?0x1:0x0)|(_0x58d45b?0x2:0x0)));}get['hasOpenLink'](){for(let _0x13ba94=this['parts']['length']-0x1;_0x13ba94>=0x0;_0x13ba94--){let _0x4b2543=this['parts'][_0x13ba94];if(_0x4b2543 instanceof InlineDelimiter&&(_0x4b2543['type']==uN||_0x4b2543['type']==dN))return!0x0;}return!0x1;}['addElement'](_0x2b0ffe){return this['append'](_0x2b0ffe);}['resolveMarkers'](_0x1f4e6c){for(let _0x3cfb2c=_0x1f4e6c;_0x3cfb2c<this['parts']['length'];_0x3cfb2c++){let _0x27f38f=this['parts'][_0x3cfb2c];if(!(_0x27f38f instanceof InlineDelimiter&&_0x27f38f['type']['resolve']&&0x2&_0x27f38f['side']))continue;let _0x59d453,_0x591dd5=_0x27f38f['type']==lN||_0x27f38f['type']==hN,_0x3ab363=_0x27f38f['to']-_0x27f38f['from'],_0x569ccb=_0x3cfb2c-0x1;for(;_0x569ccb>=_0x1f4e6c;_0x569ccb--){let _0x26621a=this['parts'][_0x569ccb];if(_0x26621a instanceof InlineDelimiter&&0x1&_0x26621a['side']&&_0x26621a['type']==_0x27f38f['type']&&!(_0x591dd5&&(0x1&_0x27f38f['side']||0x2&_0x26621a['side'])&&(_0x26621a['to']-_0x26621a['from']+_0x3ab363)%0x3==0x0&&((_0x26621a['to']-_0x26621a['from'])%0x3||_0x3ab363%0x3))){_0x59d453=_0x26621a;break;}}if(!_0x59d453)continue;let _0x567d4d=_0x27f38f['type']['resolve'],_0x354514=[],_0x2e7b7e=_0x59d453['from'],_0x2c2f03=_0x27f38f['to'];if(_0x591dd5){let _0x276720=Math['min'](0x2,_0x59d453['to']-_0x59d453['from'],_0x3ab363);_0x2e7b7e=_0x59d453['to']-_0x276720,_0x2c2f03=_0x27f38f['from']+_0x276720,_0x567d4d=0x1==_0x276720?'Emphasis':'StrongEmphasis';}_0x59d453['type']['mark']&&_0x354514['push'](this['elt'](_0x59d453['type']['mark'],_0x2e7b7e,_0x59d453['to']));for(let _0x5b7540=_0x569ccb+0x1;_0x5b7540<_0x3cfb2c;_0x5b7540++)this['parts'][_0x5b7540]instanceof aN&&_0x354514['push'](this['parts'][_0x5b7540]),this['parts'][_0x5b7540]=null;_0x27f38f['type']['mark']&&_0x354514['push'](this['elt'](_0x27f38f['type']['mark'],_0x27f38f['from'],_0x2c2f03));let _0x508052=this['elt'](_0x567d4d,_0x2e7b7e,_0x2c2f03,_0x354514);this['parts'][_0x569ccb]=_0x591dd5&&_0x59d453['from']!=_0x2e7b7e?new InlineDelimiter(_0x59d453['type'],_0x59d453['from'],_0x2e7b7e,_0x59d453['side']):null,(this['parts'][_0x3cfb2c]=_0x591dd5&&_0x27f38f['to']!=_0x2c2f03?new InlineDelimiter(_0x27f38f['type'],_0x2c2f03,_0x27f38f['to'],_0x27f38f['side']):null)?this['parts']['splice'](_0x3cfb2c,0x0,_0x508052):this['parts'][_0x3cfb2c]=_0x508052;}let _0x77c6d6=[];for(let _0x224b84=_0x1f4e6c;_0x224b84<this['parts']['length'];_0x224b84++){let _0x1dde7a=this['parts'][_0x224b84];_0x1dde7a instanceof aN&&_0x77c6d6['push'](_0x1dde7a);}return _0x77c6d6;}['findOpeningDelimiter'](_0x57849a){for(let _0x1eb8c8=this['parts']['length']-0x1;_0x1eb8c8>=0x0;_0x1eb8c8--){let _0x287c58=this['parts'][_0x1eb8c8];if(_0x287c58 instanceof InlineDelimiter&&_0x287c58['type']==_0x57849a&&0x1&_0x287c58['side'])return _0x1eb8c8;}return null;}['takeContent'](_0x42e6f7){let _0x11502b=this['resolveMarkers'](_0x42e6f7);return this['parts']['length']=_0x42e6f7,_0x11502b;}['getDelimiterAt'](_0x2b3f34){let _0x548d16=this['parts'][_0x2b3f34];return _0x548d16 instanceof InlineDelimiter?_0x548d16:null;}['skipSpace'](_0x20c726){return PM(this['text'],_0x20c726-this['offset'])+this['offset'];}['elt'](_0x25667c,_0x19fec8,_0x4bd03f,_0x52b9b5){return'string'==typeof _0x25667c?cN(this['parser']['getNodeType'](_0x25667c),_0x19fec8,_0x4bd03f,_0x52b9b5):new TreeElement(_0x25667c,_0x19fec8);}}function yN(_0x41d262,_0xa0c8f3){if(!_0xa0c8f3['length'])return _0x41d262;if(!_0x41d262['length'])return _0xa0c8f3;let _0x1b8fbe=_0x41d262['slice'](),_0x386a96=0x0;for(let _0x51fd31 of _0xa0c8f3){for(;_0x386a96<_0x1b8fbe['length']&&_0x1b8fbe[_0x386a96]['to']<_0x51fd31['to'];)_0x386a96++;if(_0x386a96<_0x1b8fbe['length']&&_0x1b8fbe[_0x386a96]['from']<_0x51fd31['from']){let _0x2f8341=_0x1b8fbe[_0x386a96];_0x2f8341 instanceof aN&&(_0x1b8fbe[_0x386a96]=new aN(_0x2f8341['type'],_0x2f8341['from'],_0x2f8341['to'],yN(_0x2f8341['children'],[_0x51fd31])));}else _0x1b8fbe['splice'](_0x386a96++,0x0,_0x51fd31);}return _0x1b8fbe;}InlineContext['linkStart']=uN,InlineContext['imageStart']=dN;const _N=[CM['CodeBlock'],CM['ListItem'],CM['OrderedList'],CM['BulletList']];class FragmentCursor{constructor(_0x310c38,_0x46eb30){this['fragments']=_0x310c38,this['input']=_0x46eb30,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x310c38['length']&&(this['fragment']=_0x310c38[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x527571,_0x373d2f){for(;this['fragment']&&this['fragment']['to']<=_0x527571;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x527571?_0x527571-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x11a224=this['fragment']['to'];for(;_0x11a224>0x0&&'\x0a'!=this['input']['read'](_0x11a224-0x1,_0x11a224);)_0x11a224--;this['fragmentEnd']=_0x11a224?_0x11a224-0x1:0x0;}let _0x257a54=this['cursor'];_0x257a54||(_0x257a54=this['cursor']=this['fragment']['tree']['cursor'](),_0x257a54['firstChild']());let _0x5b2add=_0x527571+this['fragment']['offset'];for(;_0x257a54['to']<=_0x5b2add;)if(!_0x257a54['parent']())return!0x1;for(;;){if(_0x257a54['from']>=_0x5b2add)return this['fragment']['from']<=_0x373d2f;if(!_0x257a54['childAfter'](_0x5b2add))return!0x1;}}['matches'](_0x1b1fc3){let _0x4fcd2d=this['cursor']['tree'];return _0x4fcd2d&&_0x4fcd2d['prop'](NodeProp['contextHash'])==_0x1b1fc3;}['takeNodes'](_0x380606){let _0x360f91=this['cursor'],_0x1af781=this['fragment']['offset'],_0x3e49ad=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x302da4=_0x380606['absoluteLineStart'],_0xa36c35=_0x302da4,_0x2b4ab8=_0x380606['block']['children']['length'],_0x59ebc5=_0xa36c35,_0xd3a236=_0x2b4ab8;for(;;){if(_0x360f91['to']-_0x1af781>_0x3e49ad){if(_0x360f91['type']['isAnonymous']&&_0x360f91['firstChild']())continue;break;}let _0x1a14d4=vN(_0x360f91['from']-_0x1af781,_0x380606['ranges']);if(_0x360f91['to']-_0x1af781<=_0x380606['ranges'][_0x380606['rangeI']]['to'])_0x380606['addNode'](_0x360f91['tree'],_0x1a14d4);else{let _0x1fdd8e=new Tree(_0x380606['parser']['nodeSet']['types'][CM['Paragraph']],[],[],0x0,_0x380606['block']['hashProp']);_0x380606['reusePlaceholders']['set'](_0x1fdd8e,_0x360f91['tree']),_0x380606['addNode'](_0x1fdd8e,_0x1a14d4);}if(_0x360f91['type']['is']('Block')&&(_N['indexOf'](_0x360f91['type']['id'])<0x0?(_0xa36c35=_0x360f91['to']-_0x1af781,_0x2b4ab8=_0x380606['block']['children']['length']):(_0xa36c35=_0x59ebc5,_0x2b4ab8=_0xd3a236,_0x59ebc5=_0x360f91['to']-_0x1af781,_0xd3a236=_0x380606['block']['children']['length'])),!_0x360f91['nextSibling']())break;}for(;_0x380606['block']['children']['length']>_0x2b4ab8;)_0x380606['block']['children']['pop'](),_0x380606['block']['positions']['pop']();return _0xa36c35-_0x302da4;}}function vN(_0x55b51a,_0x2f1718){let _0x51f37c=_0x55b51a;for(let _0x1706fe=0x1;_0x1706fe<_0x2f1718['length'];_0x1706fe++){let _0xeddfdd=_0x2f1718[_0x1706fe-0x1]['to'],_0x4604d8=_0x2f1718[_0x1706fe]['from'];_0xeddfdd<_0x55b51a&&(_0x51f37c-=_0x4604d8-_0xeddfdd);}return _0x51f37c;}const TN=CI({'Blockquote/...':ZI['quote'],'HorizontalRule':ZI['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':ZI['heading1'],'ATXHeading2/...\x20SetextHeading2/...':ZI['heading2'],'ATXHeading3/...':ZI['heading3'],'ATXHeading4/...':ZI['heading4'],'ATXHeading5/...':ZI['heading5'],'ATXHeading6/...':ZI['heading6'],'Comment\x20CommentBlock':ZI['comment'],'Escape':ZI['escape'],'Entity':ZI['character'],'Emphasis/...':ZI['emphasis'],'StrongEmphasis/...':ZI['strong'],'Link/...\x20Image/...':ZI['link'],'OrderedList/...\x20BulletList/...':ZI['list'],'BlockQuote/...':ZI['quote'],'InlineCode\x20CodeText':ZI['monospace'],'URL\x20Autolink':ZI['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':ZI['processingInstruction'],'CodeInfo\x20LinkLabel':ZI['labelName'],'LinkTitle':ZI['string'],'Paragraph':ZI['content']}),EN=new MarkdownParser(new NodeSet(nN)['extend'](TN),Object['keys'](WM)['map'](_0x3899b7=>WM[_0x3899b7]),Object['keys'](WM)['map'](_0x4a7856=>YM[_0x4a7856]),Object['keys'](WM),KM,xM,Object['keys'](gN)['map'](_0x2a4e30=>gN[_0x2a4e30]),Object['keys'](gN),[]);function AN(_0x5f2493,_0x378a91,_0xa020b2){let _0x57e56=[];for(let _0x46d8e8=_0x5f2493['firstChild'],_0x301e2a=_0x378a91;;_0x46d8e8=_0x46d8e8['nextSibling']){let _0x388f25=_0x46d8e8?_0x46d8e8['from']:_0xa020b2;if(_0x388f25>_0x301e2a&&_0x57e56['push']({'from':_0x301e2a,'to':_0x388f25}),!_0x46d8e8)break;_0x301e2a=_0x46d8e8['to'];}return _0x57e56;}const IN={'resolve':'Strikethrough','mark':'StrikethroughMark'},SN={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':ZI['strikethrough']}},{'name':'StrikethroughMark','style':ZI['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x39f319,_0x5b715f,_0x34075d){if(0x7e!=_0x5b715f||0x7e!=_0x39f319['char'](_0x34075d+0x1)||0x7e==_0x39f319['char'](_0x34075d+0x2))return-0x1;let _0x7d456c=_0x39f319['slice'](_0x34075d-0x1,_0x34075d),_0x5dc542=_0x39f319['slice'](_0x34075d+0x2,_0x34075d+0x3),_0x3b4512=/\s|^$/['test'](_0x7d456c),_0xffb235=/\s|^$/['test'](_0x5dc542),_0xb4bdf0=mN['test'](_0x7d456c),_0x4ca4f0=mN['test'](_0x5dc542);return _0x39f319['addDelimiter'](IN,_0x34075d,_0x34075d+0x2,!_0xffb235&&(!_0x4ca4f0||_0x3b4512||_0xb4bdf0),!_0x3b4512&&(!_0xb4bdf0||_0xffb235||_0x4ca4f0));},'after':'Emphasis'}]};function CN(_0x544858,_0x21c1ae,_0x31c16a=0x0,_0x1b128a,_0x588b99=0x0){let _0xec9837=0x0,_0xb7e5c1=!0x0,_0x31d25d=-0x1,_0x16cc95=-0x1,_0x218bb2=!0x1,_0x557ac9=()=>{_0x1b128a['push'](_0x544858['elt']('TableCell',_0x588b99+_0x31d25d,_0x588b99+_0x16cc95,_0x544858['parser']['parseInline'](_0x21c1ae['slice'](_0x31d25d,_0x16cc95),_0x588b99+_0x31d25d)));};for(let _0x3a482f=_0x31c16a;_0x3a482f<_0x21c1ae['length'];_0x3a482f++){let _0x1f5cc6=_0x21c1ae['charCodeAt'](_0x3a482f);0x7c!=_0x1f5cc6||_0x218bb2?(_0x218bb2||0x20!=_0x1f5cc6&&0x9!=_0x1f5cc6)&&(_0x31d25d<0x0&&(_0x31d25d=_0x3a482f),_0x16cc95=_0x3a482f+0x1):((!_0xb7e5c1||_0x31d25d>-0x1)&&_0xec9837++,_0xb7e5c1=!0x1,_0x1b128a&&(_0x31d25d>-0x1&&_0x557ac9(),_0x1b128a['push'](_0x544858['elt']('TableDelimiter',_0x3a482f+_0x588b99,_0x3a482f+_0x588b99+0x1))),_0x31d25d=_0x16cc95=-0x1),_0x218bb2=!_0x218bb2&&0x5c==_0x1f5cc6;}return _0x31d25d>-0x1&&(_0xec9837++,_0x1b128a&&_0x557ac9()),_0xec9837;}function kN(_0x38b7b7,_0x454085){for(let _0x1a442c=_0x454085;_0x1a442c<_0x38b7b7['length'];_0x1a442c++){let _0x1cffdb=_0x38b7b7['charCodeAt'](_0x1a442c);if(0x7c==_0x1cffdb)return!0x0;0x5c==_0x1cffdb&&_0x1a442c++;}return!0x1;}const xN=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class TableParser{constructor(){this['rows']=null;}['nextLine'](_0x595ae1,_0x4cfedb,_0x1225b1){if(null==this['rows']){let _0x2aadb3;if(this['rows']=!0x1,(0x2d==_0x4cfedb['next']||0x3a==_0x4cfedb['next']||0x7c==_0x4cfedb['next'])&&xN['test'](_0x2aadb3=_0x4cfedb['text']['slice'](_0x4cfedb['pos']))){let _0x2fb25c=[];CN(_0x595ae1,_0x1225b1['content'],0x0,_0x2fb25c,_0x1225b1['start'])==CN(_0x595ae1,_0x2aadb3,_0x4cfedb['pos'])&&(this['rows']=[_0x595ae1['elt']('TableHeader',_0x1225b1['start'],_0x1225b1['start']+_0x1225b1['content']['length'],_0x2fb25c),_0x595ae1['elt']('TableDelimiter',_0x595ae1['lineStart']+_0x4cfedb['pos'],_0x595ae1['lineStart']+_0x4cfedb['text']['length'])]);}}else{if(this['rows']){let _0x2689b3=[];CN(_0x595ae1,_0x4cfedb['text'],_0x4cfedb['pos'],_0x2689b3,_0x595ae1['lineStart']),this['rows']['push'](_0x595ae1['elt']('TableRow',_0x595ae1['lineStart']+_0x4cfedb['pos'],_0x595ae1['lineStart']+_0x4cfedb['text']['length'],_0x2689b3));}}return!0x1;}['finish'](_0x4b2792,_0x2bff80){return!!this['rows']&&(_0x4b2792['addLeafElement'](_0x2bff80,_0x4b2792['elt']('Table',_0x2bff80['start'],_0x2bff80['start']+_0x2bff80['content']['length'],this['rows'])),!0x0);}}const RN={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':ZI['heading']}},'TableRow',{'name':'TableCell','style':ZI['content']},{'name':'TableDelimiter','style':ZI['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x3528a8,_0x5f0bcf)=>kN(_0x5f0bcf['content'],0x0)?new TableParser():null,'endLeaf'(_0x3b8c8d,_0x202cba,_0x4c2fcc){if(_0x4c2fcc['parsers']['some'](_0x33619f=>_0x33619f instanceof TableParser)||!kN(_0x202cba['text'],_0x202cba['basePos']))return!0x1;let _0x4dae72=_0x3b8c8d['peekLine']();return xN['test'](_0x4dae72)&&CN(_0x3b8c8d,_0x202cba['text'],_0x202cba['basePos'])==CN(_0x3b8c8d,_0x4dae72,_0x202cba['basePos']);},'before':'SetextHeading'}]};class TaskParser{['nextLine'](){return!0x1;}['finish'](_0x234626,_0x57cc12){return _0x234626['addLeafElement'](_0x57cc12,_0x234626['elt']('Task',_0x57cc12['start'],_0x57cc12['start']+_0x57cc12['content']['length'],[_0x234626['elt']('TaskMarker',_0x57cc12['start'],_0x57cc12['start']+0x3),..._0x234626['parser']['parseInline'](_0x57cc12['content']['slice'](0x3),_0x57cc12['start']+0x3)])),!0x0;}}const PN={'defineNodes':[{'name':'Task','block':!0x0,'style':ZI['list']},{'name':'TaskMarker','style':ZI['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x2165d8,_0x7c12a3)=>/^\[[ xX]\][ \t]/['test'](_0x7c12a3['content'])&&'ListItem'==_0x2165d8['parentType']()['name']?new TaskParser():null,'after':'SetextHeading'}]},MN=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,NN=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,LN=/[\w-]+\.[\w-]+($|\/)/,DN=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,QN=/\/[a-zA-Z\d@.]+/gy;function $N(_0x524a5d,_0x4401f5,_0x3abbea,_0x4f14cf){let _0x5ecc25=0x0;for(let _0x2bfa1e=_0x4401f5;_0x2bfa1e<_0x3abbea;_0x2bfa1e++)_0x524a5d[_0x2bfa1e]==_0x4f14cf&&_0x5ecc25++;return _0x5ecc25;}function VN(_0x469d0f,_0x145166){DN['lastIndex']=_0x145166;let _0x3b2b8f=DN['exec'](_0x469d0f);if(!_0x3b2b8f)return-0x1;let _0x603e70=_0x3b2b8f[0x0][_0x3b2b8f[0x0]['length']-0x1];return'_'==_0x603e70||'-'==_0x603e70?-0x1:_0x145166+_0x3b2b8f[0x0]['length']-('.'==_0x603e70?0x1:0x0);}const UN=[RN,PN,SN,{'parseInline':[{'name':'Autolink','parse'(_0x3d27ae,_0x4deb6a,_0x5adfda){let _0x4ee34a=_0x5adfda-_0x3d27ae['offset'];if(_0x4ee34a&&/\w/['test'](_0x3d27ae['text'][_0x4ee34a-0x1]))return-0x1;MN['lastIndex']=_0x4ee34a;let _0x1ee9b0=MN['exec'](_0x3d27ae['text']),_0x5052f7=-0x1;if(!_0x1ee9b0)return-0x1;if(_0x1ee9b0[0x1]||_0x1ee9b0[0x2])(_0x5052f7=function(_0x5bda51,_0x3eaf7a){NN['lastIndex']=_0x3eaf7a;let _0x3a5943=NN['exec'](_0x5bda51);if(!_0x3a5943||LN['exec'](_0x3a5943[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x350b64=_0x3eaf7a+_0x3a5943[0x0]['length'];for(;;){let _0x515275,_0x4bd649=_0x5bda51[_0x350b64-0x1];if(/[?!.,:*_~]/['test'](_0x4bd649)||')'==_0x4bd649&&$N(_0x5bda51,_0x3eaf7a,_0x350b64,')')>$N(_0x5bda51,_0x3eaf7a,_0x350b64,'('))_0x350b64--;else{if(';'!=_0x4bd649||!(_0x515275=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x5bda51['slice'](_0x3eaf7a,_0x350b64))))break;_0x350b64=_0x3eaf7a+_0x515275['index'];}}return _0x350b64;}(_0x3d27ae['text'],_0x4ee34a+_0x1ee9b0[0x0]['length']),_0x5052f7>-0x1&&_0x3d27ae['hasOpenLink'])&&(_0x5052f7=_0x4ee34a+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x3d27ae['text']['slice'](_0x4ee34a,_0x5052f7))[0x0]['length']);else _0x1ee9b0[0x3]?_0x5052f7=VN(_0x3d27ae['text'],_0x4ee34a):(_0x5052f7=VN(_0x3d27ae['text'],_0x4ee34a+_0x1ee9b0[0x0]['length']),_0x5052f7>-0x1&&'xmpp:'==_0x1ee9b0[0x0]&&(QN['lastIndex']=_0x5052f7,_0x1ee9b0=QN['exec'](_0x3d27ae['text']),_0x1ee9b0&&(_0x5052f7=_0x1ee9b0['index']+_0x1ee9b0[0x0]['length'])));return _0x5052f7<0x0?-0x1:(_0x3d27ae['addElement'](_0x3d27ae['elt']('URL',_0x5adfda,_0x5052f7+_0x3d27ae['offset'])),_0x5052f7+_0x3d27ae['offset']);}}]}];function BN(_0x171a75,_0x360dae,_0x215b1b){return(_0xe21c2b,_0x387c07,_0x115112)=>{if(_0x387c07!=_0x171a75||_0xe21c2b['char'](_0x115112+0x1)==_0x171a75)return-0x1;let _0x4abf64=[_0xe21c2b['elt'](_0x215b1b,_0x115112,_0x115112+0x1)];for(let _0x127b36=_0x115112+0x1;_0x127b36<_0xe21c2b['end'];_0x127b36++){let _0x5c5a35=_0xe21c2b['char'](_0x127b36);if(_0x5c5a35==_0x171a75)return _0xe21c2b['addElement'](_0xe21c2b['elt'](_0x360dae,_0x115112,_0x127b36+0x1,_0x4abf64['concat'](_0xe21c2b['elt'](_0x215b1b,_0x127b36,_0x127b36+0x1))));if(0x5c==_0x5c5a35&&_0x4abf64['push'](_0xe21c2b['elt']('Escape',_0x127b36,0x2+_0x127b36++)),RM(_0x5c5a35))break;}return-0x1;};}const FN={'defineNodes':[{'name':'Superscript','style':ZI['special'](ZI['content'])},{'name':'SuperscriptMark','style':ZI['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':BN(0x5e,'Superscript','SuperscriptMark')}]},jN={'defineNodes':[{'name':'Subscript','style':ZI['special'](ZI['content'])},{'name':'SubscriptMark','style':ZI['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':BN(0x7e,'Subscript','SubscriptMark')}]},HN={'defineNodes':[{'name':'Emoji','style':ZI['character']}],'parseInline':[{'name':'Emoji','parse'(_0x57d37a,_0x2be6a0,_0x125ef8){let _0x2a832;return 0x3a==_0x2be6a0&&(_0x2a832=/^[a-zA-Z_0-9]+:/['exec'](_0x57d37a['slice'](_0x125ef8+0x1,_0x57d37a['end'])))?_0x57d37a['addElement'](_0x57d37a['elt']('Emoji',_0x125ef8,_0x125ef8+0x1+_0x2a832[0x0]['length'])):-0x1;}}]},GN=WI({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),ZN=new NodeProp(),XN=EN['configure']({'props':[yS['add'](_0x2f2c80=>!_0x2f2c80['is']('Block')||_0x2f2c80['is']('Document')||null!=qN(_0x2f2c80)||function(_0x56dc0f){return'OrderedList'==_0x56dc0f['name']||'BulletList'==_0x56dc0f['name'];}(_0x2f2c80)?void 0x0:(_0x5c35bd,_0xc2e2d4)=>({'from':_0xc2e2d4['doc']['lineAt'](_0x5c35bd['from'])['to'],'to':_0x5c35bd['to']})),ZN['add'](qN),hS['add']({'Document':()=>null}),qI['add']({'Document':GN})]});function qN(_0x4659fe){let _0x3ba3ff=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x4659fe['name']);return _0x3ba3ff?+_0x3ba3ff[0x1]:void 0x0;}function WN(_0x20bfe5,_0xa8ea9f){let _0x117fc5=_0x20bfe5;for(;;){let _0x1713cf,_0x59f7b8=_0x117fc5['nextSibling'];if(!_0x59f7b8||null!=(_0x1713cf=qN(_0x59f7b8['type']))&&_0x1713cf<=_0xa8ea9f)break;_0x117fc5=_0x59f7b8;}return _0x117fc5['to'];}const zN=bS['of']((_0x43fc4b,_0x561d98,_0x7537d7)=>{for(let _0x491901=KI(_0x43fc4b)['resolveInner'](_0x7537d7,-0x1);_0x491901&&!(_0x491901['from']<_0x561d98);_0x491901=_0x491901['parent']){let _0x5d41f7=_0x491901['type']['prop'](ZN);if(null==_0x5d41f7)continue;let _0x20aafa=WN(_0x491901,_0x5d41f7);if(_0x20aafa>_0x7537d7)return{'from':_0x7537d7,'to':_0x20aafa};}return null;});function YN(_0x54211c){return new Language(GN,_0x54211c,[zN],'markdown');}const KN=YN(XN),JN=YN(XN['configure']([UN,jN,FN,HN,{'props':[yS['add']({'Table':(_0x49ee67,_0x43dd88)=>({'from':_0x43dd88['doc']['lineAt'](_0x49ee67['from'])['to'],'to':_0x49ee67['to']})})]}]));class Context{constructor(_0x54fc0d,_0x1ca43e,_0x303a3d,_0x2a9d9b,_0x523f4a,_0xd93223,_0x421432){this['node']=_0x54fc0d,this['from']=_0x1ca43e,this['to']=_0x303a3d,this['spaceBefore']=_0x2a9d9b,this['spaceAfter']=_0x523f4a,this['type']=_0xd93223,this['item']=_0x421432;}['blank'](_0xed5845,_0x16c5f0=!0x0){let _0x370df5=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0xed5845){for(;_0x370df5['length']<_0xed5845;)_0x370df5+='\x20';return _0x370df5;}for(let _0xb22480=this['to']-this['from']-_0x370df5['length']-this['spaceAfter']['length'];_0xb22480>0x0;_0xb22480--)_0x370df5+='\x20';return _0x370df5+(_0x16c5f0?this['spaceAfter']:'');}['marker'](_0x39f39b,_0x40ca12){let _0x3c1cd='OrderedList'==this['node']['name']?String(+eL(this['item'],_0x39f39b)[0x2]+_0x40ca12):'';return this['spaceBefore']+_0x3c1cd+this['type']+this['spaceAfter'];}}function tL(_0xe61c0d,_0x4fcbc2){let _0x578a33=[],_0x19613f=[];for(let _0x3440ae=_0xe61c0d;_0x3440ae;_0x3440ae=_0x3440ae['parent']){if('FencedCode'==_0x3440ae['name'])return _0x19613f;'ListItem'!=_0x3440ae['name']&&'Blockquote'!=_0x3440ae['name']||_0x578a33['push'](_0x3440ae);}for(let _0x4337dc=_0x578a33['length']-0x1;_0x4337dc>=0x0;_0x4337dc--){let _0x2b53f8,_0x7ad89c=_0x578a33[_0x4337dc],_0x592bcd=_0x4fcbc2['lineAt'](_0x7ad89c['from']),_0x2ffabb=_0x7ad89c['from']-_0x592bcd['from'];if('Blockquote'==_0x7ad89c['name']&&(_0x2b53f8=/^ *>( ?)/['exec'](_0x592bcd['text']['slice'](_0x2ffabb))))_0x19613f['push'](new Context(_0x7ad89c,_0x2ffabb,_0x2ffabb+_0x2b53f8[0x0]['length'],'',_0x2b53f8[0x1],'>',null));else{if('ListItem'==_0x7ad89c['name']&&'OrderedList'==_0x7ad89c['parent']['name']&&(_0x2b53f8=/^( *)\d+([.)])( *)/['exec'](_0x592bcd['text']['slice'](_0x2ffabb)))){let _0x143c56=_0x2b53f8[0x3],_0x489869=_0x2b53f8[0x0]['length'];_0x143c56['length']>=0x4&&(_0x143c56=_0x143c56['slice'](0x0,_0x143c56['length']-0x4),_0x489869-=0x4),_0x19613f['push'](new Context(_0x7ad89c['parent'],_0x2ffabb,_0x2ffabb+_0x489869,_0x2b53f8[0x1],_0x143c56,_0x2b53f8[0x2],_0x7ad89c));}else{if('ListItem'==_0x7ad89c['name']&&'BulletList'==_0x7ad89c['parent']['name']&&(_0x2b53f8=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x592bcd['text']['slice'](_0x2ffabb)))){let _0x197f25=_0x2b53f8[0x4],_0xbda664=_0x2b53f8[0x0]['length'];_0x197f25['length']>0x4&&(_0x197f25=_0x197f25['slice'](0x0,_0x197f25['length']-0x4),_0xbda664-=0x4);let _0x167afd=_0x2b53f8[0x2];_0x2b53f8[0x3]&&(_0x167afd+=_0x2b53f8[0x3]['replace'](/[xX]/,'\x20')),_0x19613f['push'](new Context(_0x7ad89c['parent'],_0x2ffabb,_0x2ffabb+_0xbda664,_0x2b53f8[0x1],_0x197f25,_0x167afd,_0x7ad89c));}}}}return _0x19613f;}function eL(_0x3f45bf,_0x57c7aa){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x57c7aa['sliceString'](_0x3f45bf['from'],_0x3f45bf['from']+0xa));}function iL(_0x34bc19,_0xb5c3b3,_0x33ccf8,_0x29c296=0x0){for(let _0x578f4d=-0x1,_0x28f246=_0x34bc19;;){if('ListItem'==_0x28f246['name']){let _0x3a03da=eL(_0x28f246,_0xb5c3b3),_0x1d91ff=+_0x3a03da[0x2];if(_0x578f4d>=0x0){if(_0x1d91ff!=_0x578f4d+0x1)return;_0x33ccf8['push']({'from':_0x28f246['from']+_0x3a03da[0x1]['length'],'to':_0x28f246['from']+_0x3a03da[0x0]['length'],'insert':String(_0x578f4d+0x2+_0x29c296)});}_0x578f4d=_0x1d91ff;}let _0x45cb27=_0x28f246['nextSibling'];if(!_0x45cb27)break;_0x28f246=_0x45cb27;}}function sL(_0x529434,_0x1ad974){let _0x58cb8e=/^[ \t]*/['exec'](_0x529434)[0x0]['length'];if(!_0x58cb8e||'\x09'!=_0x1ad974['facet'](oS))return _0x529434;let _0xac598d='';for(let _0x46cba9=m_(_0x529434,0x4,_0x58cb8e);_0x46cba9>0x0;)_0x46cba9>=0x4?(_0xac598d+='\x09',_0x46cba9-=0x4):(_0xac598d+='\x20',_0x46cba9--);return _0xac598d+_0x529434['slice'](_0x58cb8e);}function nL(_0x438271){return'QuoteMark'==_0x438271['name']||'ListMark'==_0x438271['name'];}function rL(_0x37b9fe,_0x374322,_0x129ad0){let _0x5df4d4='';for(let _0x4b077c=0x0,_0x13738e=_0x37b9fe['length']-0x2;_0x4b077c<=_0x13738e;_0x4b077c++)_0x5df4d4+=_0x37b9fe[_0x4b077c]['blank'](_0x4b077c<_0x13738e?m_(_0x129ad0['text'],0x4,Math['min'](_0x129ad0['text']['length'],_0x37b9fe[_0x4b077c+0x1]['from']))-_0x5df4d4['length']:null,_0x4b077c<_0x13738e);return sL(_0x5df4d4,_0x374322);}const oL=[{'key':'Enter','run':({state:_0x137fe2,dispatch:_0x47acea})=>{let _0xcf7c57=KI(_0x137fe2),{doc:_0x81d2c6}=_0x137fe2,_0x407617=null,_0x2fc6f2=_0x137fe2['changeByRange'](_0x1fc779=>{if(!_0x1fc779['empty']||!JN['isActiveAt'](_0x137fe2,_0x1fc779['from'],0x0))return _0x407617={'range':_0x1fc779};let _0x3aa332=_0x1fc779['from'],_0x2652d6=_0x81d2c6['lineAt'](_0x3aa332),_0x154941=tL(_0xcf7c57['resolveInner'](_0x3aa332,-0x1),_0x81d2c6);for(;_0x154941['length']&&_0x154941[_0x154941['length']-0x1]['from']>_0x3aa332-_0x2652d6['from'];)_0x154941['pop']();if(!_0x154941['length'])return _0x407617={'range':_0x1fc779};let _0x50fd80=_0x154941[_0x154941['length']-0x1];if(_0x50fd80['to']-_0x50fd80['spaceAfter']['length']>_0x3aa332-_0x2652d6['from'])return _0x407617={'range':_0x1fc779};let _0x22718a=_0x3aa332>=_0x50fd80['to']-_0x50fd80['spaceAfter']['length']&&!/\S/['test'](_0x2652d6['text']['slice'](_0x50fd80['to']));if(_0x50fd80['item']&&_0x22718a){let _0x38f3a9=_0x50fd80['node']['firstChild'],_0x18b700=_0x50fd80['node']['getChild']('ListItem','ListItem');if(_0x38f3a9['to']>=_0x3aa332||_0x18b700&&_0x18b700['to']<_0x3aa332||_0x2652d6['from']>0x0&&!/[^\s>]/['test'](_0x81d2c6['lineAt'](_0x2652d6['from']-0x1)['text'])){let _0x372ea5,_0x42194c=_0x154941['length']>0x1?_0x154941[_0x154941['length']-0x2]:null,_0x11ce26='';_0x42194c&&_0x42194c['item']?(_0x372ea5=_0x2652d6['from']+_0x42194c['from'],_0x11ce26=_0x42194c['marker'](_0x81d2c6,0x1)):_0x372ea5=_0x2652d6['from']+(_0x42194c?_0x42194c['to']:0x0);let _0x4cdeb2=[{'from':_0x372ea5,'to':_0x3aa332,'insert':_0x11ce26}];return'OrderedList'==_0x50fd80['node']['name']&&iL(_0x50fd80['item'],_0x81d2c6,_0x4cdeb2,-0x2),_0x42194c&&'OrderedList'==_0x42194c['node']['name']&&iL(_0x42194c['item'],_0x81d2c6,_0x4cdeb2),{'range':EditorSelection['cursor'](_0x372ea5+_0x11ce26['length']),'changes':_0x4cdeb2};}{let _0x1a7018=rL(_0x154941,_0x137fe2,_0x2652d6);return{'range':EditorSelection['cursor'](_0x3aa332+_0x1a7018['length']+0x1),'changes':{'from':_0x2652d6['from'],'insert':_0x1a7018+_0x137fe2['lineBreak']}};}}if('Blockquote'==_0x50fd80['node']['name']&&_0x22718a&&_0x2652d6['from']){let _0x3eb74d=_0x81d2c6['lineAt'](_0x2652d6['from']-0x1),_0x1c41ed=/>\s*$/['exec'](_0x3eb74d['text']);if(_0x1c41ed&&_0x1c41ed['index']==_0x50fd80['from']){let _0x1e8a72=_0x137fe2['changes']([{'from':_0x3eb74d['from']+_0x1c41ed['index'],'to':_0x3eb74d['to']},{'from':_0x2652d6['from']+_0x50fd80['from'],'to':_0x2652d6['to']}]);return{'range':_0x1fc779['map'](_0x1e8a72),'changes':_0x1e8a72};}}let _0x2feb97=[];'OrderedList'==_0x50fd80['node']['name']&&iL(_0x50fd80['item'],_0x81d2c6,_0x2feb97);let _0x24fc5d=_0x50fd80['item']&&_0x50fd80['item']['from']<_0x2652d6['from'],_0xfd271c='';if(!_0x24fc5d||/^[\s\d.)\-+*>]*/['exec'](_0x2652d6['text'])[0x0]['length']>=_0x50fd80['to']){for(let _0x1a3e55=0x0,_0x85963f=_0x154941['length']-0x1;_0x1a3e55<=_0x85963f;_0x1a3e55++)_0xfd271c+=_0x1a3e55!=_0x85963f||_0x24fc5d?_0x154941[_0x1a3e55]['blank'](_0x1a3e55<_0x85963f?m_(_0x2652d6['text'],0x4,_0x154941[_0x1a3e55+0x1]['from'])-_0xfd271c['length']:null):_0x154941[_0x1a3e55]['marker'](_0x81d2c6,0x1);}let _0x2393cb=_0x3aa332;for(;_0x2393cb>_0x2652d6['from']&&/\s/['test'](_0x2652d6['text']['charAt'](_0x2393cb-_0x2652d6['from']-0x1));)_0x2393cb--;return _0xfd271c=sL(_0xfd271c,_0x137fe2),function(_0x3f608d,_0x398b30){if('OrderedList'!=_0x3f608d['name']&&'BulletList'!=_0x3f608d['name'])return!0x1;let _0x56085d=_0x3f608d['firstChild'],_0x5c8676=_0x3f608d['getChild']('ListItem','ListItem');if(!_0x5c8676)return!0x1;let _0x1ba58b=_0x398b30['lineAt'](_0x56085d['to']),_0x255e87=_0x398b30['lineAt'](_0x5c8676['from']),_0x41d68a=/^[\s>]*$/['test'](_0x1ba58b['text']);return _0x1ba58b['number']+(_0x41d68a?0x0:0x1)<_0x255e87['number'];}(_0x50fd80['node'],_0x137fe2['doc'])&&(_0xfd271c=rL(_0x154941,_0x137fe2,_0x2652d6)+_0x137fe2['lineBreak']+_0xfd271c),_0x2feb97['push']({'from':_0x2393cb,'to':_0x3aa332,'insert':_0x137fe2['lineBreak']+_0xfd271c}),{'range':EditorSelection['cursor'](_0x2393cb+_0xfd271c['length']+0x1),'changes':_0x2feb97};});return!_0x407617&&(_0x47acea(_0x137fe2['update'](_0x2fc6f2,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x125b6b,dispatch:_0x5a3299})=>{let _0xb7ae94=KI(_0x125b6b),_0x538fad=null,_0x3da127=_0x125b6b['changeByRange'](_0x357475=>{let _0x513295=_0x357475['from'],{doc:_0x195f82}=_0x125b6b;if(_0x357475['empty']&&JN['isActiveAt'](_0x125b6b,_0x357475['from'])){let _0x2a8645=_0x195f82['lineAt'](_0x513295),_0x1f50b7=tL(function(_0x46cdb8,_0x59e338){let _0x36b99c=_0x46cdb8['resolveInner'](_0x59e338,-0x1),_0x2f0edb=_0x59e338;nL(_0x36b99c)&&(_0x2f0edb=_0x36b99c['from'],_0x36b99c=_0x36b99c['parent']);for(let _0x36eee0;_0x36eee0=_0x36b99c['childBefore'](_0x2f0edb);)if(nL(_0x36eee0))_0x2f0edb=_0x36eee0['from'];else{if('OrderedList'!=_0x36eee0['name']&&'BulletList'!=_0x36eee0['name'])break;_0x36b99c=_0x36eee0['lastChild'],_0x2f0edb=_0x36b99c['to'];}return _0x36b99c;}(_0xb7ae94,_0x513295),_0x195f82);if(_0x1f50b7['length']){let _0x3ad274=_0x1f50b7[_0x1f50b7['length']-0x1],_0x3ba854=_0x3ad274['to']-_0x3ad274['spaceAfter']['length']+(_0x3ad274['spaceAfter']?0x1:0x0);if(_0x513295-_0x2a8645['from']>_0x3ba854&&!/\S/['test'](_0x2a8645['text']['slice'](_0x3ba854,_0x513295-_0x2a8645['from'])))return{'range':EditorSelection['cursor'](_0x2a8645['from']+_0x3ba854),'changes':{'from':_0x2a8645['from']+_0x3ba854,'to':_0x513295}};if(_0x513295-_0x2a8645['from']==_0x3ba854&&(!_0x3ad274['item']||_0x2a8645['from']<=_0x3ad274['item']['from']||!/\S/['test'](_0x2a8645['text']['slice'](0x0,_0x3ad274['to'])))){let _0x4a2715=_0x2a8645['from']+_0x3ad274['from'];if(_0x3ad274['item']&&_0x3ad274['node']['from']<_0x3ad274['item']['from']&&/\S/['test'](_0x2a8645['text']['slice'](_0x3ad274['from'],_0x3ad274['to']))){let _0x1513dd=_0x3ad274['blank'](m_(_0x2a8645['text'],0x4,_0x3ad274['to'])-m_(_0x2a8645['text'],0x4,_0x3ad274['from']));return _0x4a2715==_0x2a8645['from']&&(_0x1513dd=sL(_0x1513dd,_0x125b6b)),{'range':EditorSelection['cursor'](_0x4a2715+_0x1513dd['length']),'changes':{'from':_0x4a2715,'to':_0x2a8645['from']+_0x3ad274['to'],'insert':_0x1513dd}};}if(_0x4a2715<_0x513295)return{'range':EditorSelection['cursor'](_0x4a2715),'changes':{'from':_0x4a2715,'to':_0x513295}};}}}return _0x538fad={'range':_0x357475};});return!_0x538fad&&(_0x5a3299(_0x125b6b['update'](_0x3da127,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],aL=AM({'matchClosingTags':!0x1});function cL(_0x4dc74b={}){let {codeLanguages:_0x114967,defaultCodeLanguage:_0x3dcffb,addKeymap:_0x358a0c=!0x0,base:{parser:_0x54ae2c}=KN,completeHTMLTags:_0x47e43c=!0x0,htmlTagLanguage:_0xd8a2f9=aL}=_0x4dc74b;if(!(_0x54ae2c instanceof MarkdownParser))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x58c7d6,_0x3552b0=_0x4dc74b['extensions']?[_0x4dc74b['extensions']]:[],_0x2e3ce7=[_0xd8a2f9['support']];_0x3dcffb instanceof LanguageSupport?(_0x2e3ce7['push'](_0x3dcffb['support']),_0x58c7d6=_0x3dcffb['language']):_0x3dcffb&&(_0x58c7d6=_0x3dcffb);let _0x813507=_0x114967||_0x58c7d6?(_0x26da0e=_0x114967,_0x33cf44=_0x58c7d6,_0x31a25e=>{if(_0x31a25e&&_0x26da0e){let _0x4f4d6d=null;if(_0x31a25e=/\S*/['exec'](_0x31a25e)[0x0],_0x4f4d6d='function'==typeof _0x26da0e?_0x26da0e(_0x31a25e):LanguageDescription['matchLanguageName'](_0x26da0e,_0x31a25e,!0x0),_0x4f4d6d instanceof LanguageDescription)return _0x4f4d6d['support']?_0x4f4d6d['support']['language']['parser']:ParseContext['getSkippingParser'](_0x4f4d6d['load']());if(_0x4f4d6d)return _0x4f4d6d['parser'];}return _0x33cf44?_0x33cf44['parser']:null;}):void 0x0;var _0x26da0e,_0x33cf44;_0x3552b0['push'](function(_0x5ee904){let {codeParser:_0x5603b2,htmlParser:_0x28dbfb}=_0x5ee904,_0x32f77f=pI((_0xd75e4f,_0x1db6bd)=>{let _0x2b043a=_0xd75e4f['type']['id'];if(!_0x5603b2||_0x2b043a!=CM['CodeBlock']&&_0x2b043a!=CM['FencedCode']){if(_0x28dbfb&&(_0x2b043a==CM['HTMLBlock']||_0x2b043a==CM['HTMLTag']||_0x2b043a==CM['CommentBlock']))return{'parser':_0x28dbfb,'overlay':AN(_0xd75e4f['node'],_0xd75e4f['from'],_0xd75e4f['to'])};}else{let _0x25412b='';if(_0x2b043a==CM['FencedCode']){let _0x567979=_0xd75e4f['node']['getChild'](CM['CodeInfo']);_0x567979&&(_0x25412b=_0x1db6bd['read'](_0x567979['from'],_0x567979['to']));}let _0x1615f6=_0x5603b2(_0x25412b);if(_0x1615f6)return{'parser':_0x1615f6,'overlay':_0x49d87e=>_0x49d87e['type']['id']==CM['CodeText']};}return null;});return{'wrap':_0x32f77f};}({'codeParser':_0x813507,'htmlParser':_0xd8a2f9['language']['parser']})),_0x358a0c&&_0x2e3ce7['push']($y['high'](BE['of'](oL)));let _0x830433=YN(_0x54ae2c['configure'](_0x3552b0));return _0x47e43c&&_0x2e3ce7['push'](_0x830433['data']['of']({'autocomplete':lL})),new LanguageSupport(_0x830433,_0x2e3ce7);}function lL(_0x3d6bb3){let {state:_0x1d6f1a,pos:_0x1364b9}=_0x3d6bb3,_0x14c10e=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x1d6f1a['sliceDoc'](_0x1364b9-0x19,_0x1364b9));if(!_0x14c10e)return null;let _0x1be1d3=KI(_0x1d6f1a)['resolveInner'](_0x1364b9,-0x1);for(;_0x1be1d3&&!_0x1be1d3['type']['isTop'];){if('CodeBlock'==_0x1be1d3['name']||'FencedCode'==_0x1be1d3['name']||'ProcessingInstructionBlock'==_0x1be1d3['name']||'CommentBlock'==_0x1be1d3['name']||'Link'==_0x1be1d3['name']||'Image'==_0x1be1d3['name'])return null;_0x1be1d3=_0x1be1d3['parent'];}return{'from':_0x1364b9-_0x14c10e[0x0]['length'],'to':_0x1364b9,'options':uL(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let hL=null;function uL(){if(hL)return hL;let _0x1e1f1b=(_0x1bf16f=new CompletionContext(EditorState['create']({'extensions':aL}),0x0,!0x0),wM(Schema['default'],_0x1bf16f));var _0x1bf16f;return hL=_0x1e1f1b?_0x1e1f1b['options']:[];}const dL='#e06c75',fL='#abb2bf',mL='#7d8799',gL='#d19a66',pL='#2c313a',OL='#282c34',wL='#353a42',bL='#528bff',yL=[EditorView['theme']({'&':{'color':fL,'backgroundColor':OL},'.cm-content':{'caretColor':bL},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':bL},'&.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':fL},'.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':OL,'color':mL,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':pL},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':wL},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':wL,'borderBottomColor':wL},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':pL,'color':fL}}},{'dark':!0x0}),ZS(HighlightStyle['define']([{'tag':ZI['keyword'],'color':'#c678dd'},{'tag':[ZI['name'],ZI['deleted'],ZI['character'],ZI['propertyName'],ZI['macroName']],'color':dL},{'tag':[ZI['function'](ZI['variableName']),ZI['labelName']],'color':'#61afef'},{'tag':[ZI['color'],ZI['constant'](ZI['name']),ZI['standard'](ZI['name'])],'color':gL},{'tag':[ZI['definition'](ZI['name']),ZI['separator']],'color':fL},{'tag':[ZI['typeName'],ZI['className'],ZI['number'],ZI['changed'],ZI['annotation'],ZI['modifier'],ZI['self'],ZI['namespace']],'color':'#e5c07b'},{'tag':[ZI['operator'],ZI['operatorKeyword'],ZI['url'],ZI['escape'],ZI['regexp'],ZI['link'],ZI['special'](ZI['string'])],'color':'#56b6c2'},{'tag':[ZI['meta'],ZI['comment']],'color':mL},{'tag':ZI['strong'],'fontWeight':'bold'},{'tag':ZI['emphasis'],'fontStyle':'italic'},{'tag':ZI['strikethrough'],'textDecoration':'line-through'},{'tag':ZI['link'],'color':mL,'textDecoration':'underline'},{'tag':ZI['heading'],'fontWeight':'bold','color':dL},{'tag':[ZI['atom'],ZI['bool'],ZI['special'](ZI['variableName'])],'color':gL},{'tag':[ZI['processingInstruction'],ZI['string'],ZI['inserted']],'color':'#98c379'},{'tag':ZI['invalid'],'color':'#ffffff'}]))];function _L(_0x483fa2){const _0x13f52e=[EditorView['lineWrapping'],eR(),nC(),Bx(),EA(),YE(),oA(),zA(),BS(),gA(),tI(),fA(),xC(),wS(),_A(),ZS(qS,{'fallback':!0x0})],_0x55277d=new Compartment();_0x13f52e['push'](_0x55277d['of'](EditorView['editable']['of'](!0x0))),'html'===_0x483fa2['syntaxLanguage']?_0x13f52e['push'](AM()):_0x13f52e['push'](cL());const _0xf48b5d=function(_0x1d0415){if(_0x1d0415&&'default'!==_0x1d0415)return'dark'===_0x1d0415?yL:_0x1d0415;return null;}(_0x483fa2['theme']);_0xf48b5d&&_0x13f52e['push'](_0xf48b5d),_0x13f52e['push'](BE['of']([...Xx,...Gk,...GC,...NS,...iR,{'key':'Tab','run':Uk,'shift':Bk,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':MC,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':MC,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':PC,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x15db33=new EditorView({'extensions':_0x13f52e,'parent':_0x483fa2['parent']});return Fk(_0x15db33),{'focus':()=>{_0x15db33['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x15db33['focus']();},'getData':()=>_0x15db33['state']['doc']['toString'](),'setData':_0x1410ba=>{_0x15db33['dispatch']({'changes':{'from':0x0,'to':_0x15db33['state']['doc']['length'],'insert':_0x1410ba},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3b8de0=>{_0x15db33['dispatch']({'effects':[_0x55277d['reconfigure'](EditorView['editable']['of'](!_0x3b8de0))]});},'destroy':()=>{_0x15db33['destroy']();},'instance':_0x15db33};}class CodeEditorView extends _0x3989d4{['_codeEditorApi']=null;['_options'];constructor(_0x31235d,_0x545bb5){super(_0x31235d),this['_options']=_0x545bb5,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']=_L({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x48bdbe,_0x3fe1e0,_0x417c4)=>{this['setReadOnly'](_0x417c4);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x40e4c4){this['_codeEditorApi']['setData'](_0x40e4c4);}['setReadOnly'](_0x413372){this['_codeEditorApi']['setReadOnly'](_0x413372);}}const vL='SourceEditingEnhancedMode';class EditSourceCommand extends _0x15bad7{constructor(_0x306520){super(_0x306520),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x204cf0)['on']('change:hasAny',(_0x4bfb97,_0x20ea4e,_0x3e18f1)=>{_0x3e18f1?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xcd776f=this['editor'];for(const _0x54e8d7 of _0xcd776f['commands']['names']())['replaceSource','editSource']['includes'](_0x54e8d7)||_0xcd776f['commands']['get'](_0x54e8d7)['forceDisabled'](vL);}['_enableCommands'](){const _0x11b8a5=this['editor'];for(const _0x1e6552 of _0x11b8a5['commands']['commands']())_0x1e6552['clearForceDisabled'](vL);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4c4a09=this['editor'],_0x487e9b=_0x4c4a09['locale'],_0xa6a208=_0x4c4a09['plugins']['get']('Dialog'),_0x2ab147=Yb(_0x4c4a09),_0x59a701=_0x4c4a09['data']['get']({'rootName':_0x2ab147}),_0x1f2de9=Jb(_0x1e5766=_0x59a701)?_0x4e540a(_0x1e5766):_0x1e5766;var _0x1e5766;const _0x152d38=new CodeEditorView(_0x487e9b,{'syntaxLanguage':_0x4c4a09['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4c4a09['config']['get']('sourceEditingEnhanced.theme')});let _0x54c491=!0x0;const _0x21f872=_0x20fcd8=>{if(!_0x54c491)return;return Kb(_0x152d38['getData']())!==Kb(_0x1f2de9)?window['confirm'](zb(_0x487e9b,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x20fcd8['stop']():void 0x0;};_0xa6a208['show']({'id':'sourceEditingEnhanced','title':zb(_0x487e9b,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x152d38,'actionButtons':[{'label':zb(_0x487e9b,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xa6a208['hide']();}},{'label':zb(_0x487e9b,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3f59be=Kb(_0x152d38['getData']())!==Kb(_0x1f2de9);(_0x3f59be&&_0x4c4a09['execute']('replaceSource',_0x152d38['getData']()),_0x54c491=!0x1,_0xa6a208['hide'](),_0x3f59be&&'editables'in _0x4c4a09['ui']['view'])&&_0x4c4a09['ui']['view']['editables'][_0x2ab147]['element']['focus']();},'onCreate':_0x392fc3=>{_0x392fc3['set']('isEnabled',!_0x4c4a09['isReadOnly']),_0x392fc3['bind']('isEnabled')['to'](_0x4c4a09,'isReadOnly',this,'isEnabled',(_0x3b0577,_0x5f2008)=>!_0x3b0577&&_0x5f2008);}}],'onHide':()=>{this['_enableCommands'](),_0xa6a208['off']('hide',_0x21f872),_0x152d38['destroy']();},'onShow':()=>{_0x152d38['bind']('isReadOnly')['to'](_0x4c4a09,'isReadOnly',this,'isEnabled',(_0x29e48c,_0x39b6bf)=>_0x29e48c||!_0x39b6bf),_0x152d38['setData'](_0x1f2de9),_0x152d38['focus'](),_0xa6a208['on']('hide',_0x21f872,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x13517b{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x204cf0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x47428f=this['editor'],_0x19b668=_0x47428f['locale'],_0xd87490=new EditSourceCommand(_0x47428f);_0x47428f['commands']['add']('editSource',_0xd87490),_0x47428f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0xfec936=this['_createButton'](_0x2e803a,_0xd87490);return _0xfec936['set']({'label':zb(_0x19b668,'Source'),'icon':_0x247a61,'tooltip':zb(_0x19b668,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0xfec936;}),_0x47428f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2310a2=this['_createButton'](ot,_0xd87490,!0x0);return _0x2310a2['set']({'label':zb(_0x19b668,'Edit\x20source\x20modal\x20label'),'icon':_0x247a61,'role':'menuitemcheckbox'}),_0x2310a2;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xf6affc){const _0x5be907=_0x2be0d1([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]),_0x2fe7c8=0x5dba9314,_0xd373a=0x5dbd1cd4^_0x2fe7c8,_0x2683af=window[_0x2be0d1([0x44,0x61,0x74,0x65])][_0x2be0d1([0x6e,0x6f,0x77])](),_0x2544d9=_0xf6affc[_0x2be0d1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2968dd=new window[(_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26d521=>{_0x2544d9[_0x2be0d1([0x6f,0x6e,0x63,0x65])](_0x2be0d1([0x72,0x65,0x61,0x64,0x79]),_0x26d521);}),_0x366832={[_0x2be0d1([0x6b,0x74,0x79])]:_0x2be0d1([0x45,0x43]),[_0x2be0d1([0x75,0x73,0x65])]:_0x2be0d1([0x73,0x69,0x67]),[_0x2be0d1([0x63,0x72,0x76])]:_0x2be0d1([0x50,0x2d,0x32,0x35,0x36]),[_0x2be0d1([0x78])]:_0x2be0d1([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]),[_0x2be0d1([0x79])]:_0x2be0d1([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]),[_0x2be0d1([0x61,0x6c,0x67])]:_0x2be0d1([0x45,0x53,0x32,0x35,0x36])},_0x3a6092=_0x2544d9[_0x2be0d1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2be0d1([0x67,0x65,0x74])](_0x2be0d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5435fe(){let _0x4fd481,_0x5b2314=null,_0x1d6a47=null;try{if(_0x3a6092==_0x2be0d1([0x47,0x50,0x4c]))return _0x2be0d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4fd481=_0xb0b947(),!_0x4fd481)return _0x2be0d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4fd481[_0x2be0d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d6a47=_0x932526(_0x4fd481[_0x2be0d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4fd481[_0x2be0d1([0x6a,0x74,0x69])])),await _0x465817()?_0x186e8e()?_0x439cc8()?_0x2be0d1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d7579()?(_0x4fd481[_0x2be0d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2be0d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b2314=_0x3b2f78(_0x2be0d1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x539fe4()):_0x2be0d1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2be0d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2be0d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2be0d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x439cc8(){const _0x4451ba=[_0x2be0d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2be0d1([0x74,0x72,0x69,0x61,0x6c])][_0x2be0d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fd481[_0x2be0d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2683af/0x3e8:0xe10*_0xd373a;return _0x4fd481[_0x2be0d1([0x65,0x78,0x70])]<_0x4451ba;}function _0x186e8e(){const _0x4749a9=_0x4fd481[_0x2be0d1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4749a9&&(!!_0x4749a9[_0x2be0d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2be0d1([0x2a]))||!!_0x4749a9[_0x2be0d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2be0d1([0x53,0x45,0x45])));}function _0x3d7579(){const _0x377b73=_0x4fd481[_0x2be0d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x377b73||0x0==_0x377b73[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39bde4}=new URL(window[_0x2be0d1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x377b73[_0x2be0d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39bde4))return!0x0;const _0x40df85=_0x39bde4[_0x2be0d1([0x73,0x70,0x6c,0x69,0x74])](_0x2be0d1([0x2e]));return _0x377b73[_0x2be0d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3da9c6=>_0x3da9c6[_0x2be0d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2be0d1([0x2a])))[_0x2be0d1([0x6d,0x61,0x70])](_0x5062fb=>_0x5062fb[_0x2be0d1([0x73,0x70,0x6c,0x69,0x74])](_0x2be0d1([0x2e])))[_0x2be0d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fb9ca=>_0x4fb9ca[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40df85[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2be0d1([0x6d,0x61,0x70])](_0x2c30fb=>Array(_0x40df85[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c30fb[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2be0d1([0x66,0x69,0x6c,0x6c])](_0x2c30fb[0x0]===_0x2be0d1([0x2a])?_0x2be0d1([0x2a]):'')[_0x2be0d1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c30fb))[_0x2be0d1([0x73,0x6f,0x6d,0x65])](_0x15d7f7=>_0x40df85[_0x2be0d1([0x65,0x76,0x65,0x72,0x79])]((_0x4da805,_0x4eb7ce)=>_0x15d7f7[_0x4eb7ce]===_0x4da805||_0x15d7f7[_0x4eb7ce]===_0x2be0d1([0x2a])));}function _0x539fe4(){return _0x5b2314&&_0x1d6a47?new window[(_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf43113,_0x2d48ec)=>{_0x5b2314[_0x2be0d1([0x74,0x68,0x65,0x6e])](_0xf43113,_0x2d48ec),_0x1d6a47[_0x2be0d1([0x74,0x68,0x65,0x6e])](_0x276cbd=>{_0x276cbd!=_0x2be0d1([0x56,0x61,0x6c,0x69,0x64])&&_0xf43113(_0x276cbd);},_0x2d48ec);}):_0x5b2314||_0x1d6a47||_0x2be0d1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x932526(_0x48bf0e,_0x42fa8a){return new window[(_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x135032=>{if(_0x582a0d())return _0x135032(_0x2be0d1([0x56,0x61,0x6c,0x69,0x64]));_0x210c3b(),_0x2544d9[_0x2be0d1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2be0d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20e1f0=!0x1;const _0x577056=_0x5c5c0c();function _0x33149b(_0x489c6c){return!!_0x489c6c&&(typeof _0x489c6c===_0x2be0d1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x489c6c===_0x2be0d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x489c6c[_0x2be0d1([0x74,0x68,0x65,0x6e])]===_0x2be0d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x489c6c[_0x2be0d1([0x63,0x61,0x74,0x63,0x68])]===_0x2be0d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21e0b9(_0x48d7ac){_0x3e8e6c(_0x48d7ac)[_0x2be0d1([0x74,0x68,0x65,0x6e])](_0x4122b2=>{if(!_0x4122b2||_0x4122b2[_0x2be0d1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2be0d1([0x6f,0x6b]))return _0x2be0d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30598e(_0xa85fd1(_0x577056+_0x42fa8a))!=_0x4122b2[_0x2be0d1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2be0d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2be0d1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2be0d1([0x74,0x68,0x65,0x6e])](_0x2ac245=>(_0x32b501(),_0x2ac245),()=>{const _0x542672=_0x3a1b87();return null==_0x542672?(_0x32b501(),_0x2be0d1([0x56,0x61,0x6c,0x69,0x64])):_0x2be0d1(_0x2683af-_0x542672>(0x79b61714^_0x2fe7c8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2be0d1([0x74,0x68,0x65,0x6e])](_0x135032)[_0x2be0d1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x135032(_0x2be0d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x592ec7=0x5d8c7d94^_0x2fe7c8;function _0x32b501(){const _0x3f1061=_0x2be0d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x30598e(_0xa85fd1(_0x48bf0e)),_0x3355a7=_0x530721(_0x30598e(window[_0x2be0d1([0x4d,0x61,0x74,0x68])][_0x2be0d1([0x63,0x65,0x69,0x6c])](_0x2683af/_0x592ec7)));window[_0x2be0d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2be0d1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f1061,_0x3355a7);}function _0x3a1b87(){const _0x273349=_0x2be0d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x30598e(_0xa85fd1(_0x48bf0e)),_0x21e4b2=window[_0x2be0d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2be0d1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x273349);return _0x21e4b2?window[_0x2be0d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x530721(_0x21e4b2),0x10)*_0x592ec7:null;}function _0x3e8e6c(_0x135ce4){return new window[(_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1270f1,_0x128494)=>{_0x135ce4[_0x2be0d1([0x74,0x68,0x65,0x6e])](_0x1270f1,_0x128494),window[_0x2be0d1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x128494,0x5dbb47d4^_0x2fe7c8);});}}_0x2544d9[_0x2be0d1([0x6f,0x6e])](_0x2be0d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bf1bc,_0x2bb7ce)=>{if(_0x2bb7ce[0x0]!=_0x48bf0e)return _0x135032(_0x2be0d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bb7ce[0x1]={..._0x2bb7ce[0x1],[_0x2be0d1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x577056};},{[_0x2be0d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2be0d1([0x68,0x69,0x67,0x68])}),_0x2544d9[_0x2be0d1([0x6f,0x6e])](_0x2be0d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b155f=>{_0x33149b(_0x4b155f[_0x2be0d1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20e1f0=!0x0,_0x21e0b9(_0x4b155f[_0x2be0d1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2be0d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2be0d1([0x6c,0x6f,0x77])}),_0x2968dd[_0x2be0d1([0x74,0x68,0x65,0x6e])](()=>{_0x20e1f0||_0x135032(_0x2be0d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x582a0d(){return _0x2544d9[_0x2be0d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2be0d1([0x76,0x69,0x65,0x77])][_0x2be0d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2be0d1([0x61,0x75,0x74,0x6f]);}function _0x210c3b(){_0x2544d9[_0x2be0d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2be0d1([0x76,0x69,0x65,0x77])][_0x2be0d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2be0d1([0x61,0x75,0x74,0x6f]);}}function _0x3b2f78(_0x9001d0){const _0x57cbb5=[new window[(_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20108e=>setTimeout(_0x20108e,0x5db3add8^_0x2fe7c8)),_0x2968dd[_0x2be0d1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c515f=>{let _0xac3f83=0x0;_0x2544d9[_0x2be0d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2be0d1([0x6f,0x6e])](_0x2be0d1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35e701,_0x5290f3)=>{_0x5290f3[0x0][_0x2be0d1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xac3f83++,_0xac3f83==(0x5dba96fc^_0x2fe7c8)&&(_0x3c515f(),_0x35e701[_0x2be0d1([0x6f,0x66,0x66])]());});}))];return window[_0x2be0d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2be0d1([0x72,0x61,0x63,0x65])](_0x57cbb5)[_0x2be0d1([0x74,0x68,0x65,0x6e])](()=>_0x9001d0);}async function _0x66e339(){await _0x2968dd,_0x2544d9[_0x2be0d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2be0d1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27f6b4,_0x2544d9[_0x2be0d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2be0d1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27f6b4,_0x2544d9[_0x2be0d1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2be0d1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x230786(_0x3b80b0){const _0x2e781f=_0x4ad60c();_0x2544d9[_0x2e781f]=_0x2be0d1([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])+_0x3b80b0,_0x3b80b0!=_0x2be0d1([0x56,0x61,0x6c,0x69,0x64])&&_0x66e339();}function _0x4ad60c(){const _0x46c19a=window[_0x2be0d1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2be0d1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2be0d1([0x6e,0x6f,0x77])]())[_0x2be0d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2be0d1([0x2e]),'');let _0xd661cb=_0x2be0d1([0x4e]);for(let _0x2a876a=0x0;_0x2a876a<_0x46c19a[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a876a+=0x2){let _0x4e8959=window[_0x2be0d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46c19a[_0x2be0d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a876a,_0x2a876a+0x2));_0x4e8959>=_0x5be907[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e8959-=_0x5be907[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd661cb+=_0x5be907[_0x4e8959];}return _0xd661cb;}function _0xb0b947(){const _0x553f19=_0x3a6092[_0x2be0d1([0x73,0x70,0x6c,0x69,0x74])](_0x2be0d1([0x2e]));if(0x3!=_0x553f19[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x193402(_0x553f19[0x1]);function _0x193402(_0x17d9fe){const _0x1181ee=_0x29caee(_0x17d9fe);return _0x1181ee&&_0x15f8ae()?_0x1181ee:null;function _0x15f8ae(){const _0x1de48b=_0x1181ee[_0x2be0d1([0x6a,0x74,0x69])],_0x1b5e64=window[_0x2be0d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de48b[_0x2be0d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1de48b[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f703b={..._0x1181ee,[_0x2be0d1([0x6a,0x74,0x69])]:_0x1de48b[_0x2be0d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1de48b[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f703b[_0x2be0d1([0x76,0x63])],_0xa85fd1(_0x3f703b)==_0x1b5e64;}}}async function _0x465817(){let _0x27f509=!0x0;try{const _0x343c77=_0x3a6092[_0x2be0d1([0x73,0x70,0x6c,0x69,0x74])](_0x2be0d1([0x2e])),[_0x3959be,_0x4928c5,_0x3d95d9]=_0x343c77;return _0x212a56(_0x3959be),await _0x28727c(_0x3959be,_0x4928c5,_0x3d95d9),_0x27f509;}catch{return!0x1;}function _0x212a56(_0x3039a7){const _0x4e8eb5=_0x29caee(_0x3039a7);_0x4e8eb5&&_0x4e8eb5[_0x2be0d1([0x61,0x6c,0x67])]==_0x2be0d1([0x45,0x53,0x32,0x35,0x36])||(_0x27f509=!0x1);}async function _0x28727c(_0x35e845,_0x318fa1,_0x2ed1e7){const _0x301fcd=window[_0x2be0d1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2be0d1([0x66,0x72,0x6f,0x6d])](_0x13c8cb(_0x2ed1e7),_0x2eff70=>_0x2eff70[_0x2be0d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45816f=new window[(_0x2be0d1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2be0d1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35e845+_0x2be0d1([0x2e])+_0x318fa1),_0x527614=window[_0x2be0d1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2be0d1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x527614)return;const _0x482927=await _0x527614[_0x2be0d1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2be0d1([0x6a,0x77,0x6b]),_0x366832,{[_0x2be0d1([0x6e,0x61,0x6d,0x65])]:_0x2be0d1([0x45,0x43,0x44,0x53,0x41]),[_0x2be0d1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2be0d1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2be0d1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x527614[_0x2be0d1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2be0d1([0x6e,0x61,0x6d,0x65])]:_0x2be0d1([0x45,0x43,0x44,0x53,0x41]),[_0x2be0d1([0x68,0x61,0x73,0x68])]:{[_0x2be0d1([0x6e,0x61,0x6d,0x65])]:_0x2be0d1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x482927,_0x301fcd,_0x45816f)||(_0x27f509=!0x1);}}function _0x29caee(_0xac822c){return _0xac822c[_0x2be0d1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2be0d1([0x65,0x79]))?JSON[_0x2be0d1([0x70,0x61,0x72,0x73,0x65])](_0x13c8cb(_0xac822c)):null;}function _0x13c8cb(_0x16d144){return window[_0x2be0d1([0x61,0x74,0x6f,0x62])](_0x16d144[_0x2be0d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2be0d1([0x2b]))[_0x2be0d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2be0d1([0x2f])));}function _0xa85fd1(_0x3a0bb2){let _0x2eb3ad=0x1505;function _0x33a67c(_0x24fbe1){for(let _0x4b8121=0x0;_0x4b8121<_0x24fbe1[_0x2be0d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b8121++){const _0xf67852=_0x24fbe1[_0x2be0d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b8121);_0x2eb3ad=(_0x2eb3ad<<0x5)+_0x2eb3ad+_0xf67852,_0x2eb3ad&=_0x2eb3ad;}}function _0x5f4dc2(_0x4b7043){Array[_0x2be0d1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b7043)?_0x4b7043[_0x2be0d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f4dc2):_0x4b7043&&typeof _0x4b7043==_0x2be0d1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2be0d1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b7043)[_0x2be0d1([0x73,0x6f,0x72,0x74])]()[_0x2be0d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x228ffc,_0x4df873])=>{_0x33a67c(_0x228ffc),_0x5f4dc2(_0x4df873);}):_0x33a67c(window[_0x2be0d1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b7043));}return _0x5f4dc2(_0x3a0bb2),_0x2eb3ad>>>0x0;}function _0x30598e(_0x13a257){return _0x13a257[_0x2be0d1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2be0d1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2be0d1([0x30]));}function _0x530721(_0x362234){return _0x362234[_0x2be0d1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2be0d1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2be0d1([0x6a,0x6f,0x69,0x6e])]('');}function _0x27f6b4(){}function _0x2be0d1(_0xe6df34){return _0xe6df34['map'](_0x33ea34=>String['fromCharCode'](_0x33ea34))['join']('');}_0x230786(await _0x5435fe());}(this);}['_createButton'](_0x2418b0,_0x42992d,_0x502a39=!0x1){const _0x4ec745=new _0x2418b0(this['editor']['locale']);return _0x4ec745['set']({'withText':_0x502a39,'isToggleable':!0x1}),_0x4ec745['bind']('isEnabled')['to'](_0x42992d,'isEnabled'),this['listenTo'](_0x4ec745,'execute',()=>_0x42992d['execute']()),_0x4ec745;}['_registerKeybindings'](){const _0x8fc074=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':zb(_0x8fc074,'Source\x20Editing\x20Enhanced')});const _0x839379=_0x3ff8da['isMac']||_0x3ff8da['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':zb(_0x8fc074,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':zb(_0x8fc074,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':zb(_0x8fc074,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':zb(_0x8fc074,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':zb(_0x8fc074,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':zb(_0x8fc074,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':zb(_0x8fc074,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x839379?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':zb(_0x8fc074,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':zb(_0x8fc074,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':zb(_0x8fc074,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':zb(_0x8fc074,'Select\x20line'),'keystroke':_0x839379?'Ctrl!+L':'Alt+L'},{'label':zb(_0x8fc074,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x839379?'Alt+Shift+M':'Ctrl+M'},{'label':zb(_0x8fc074,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':zb(_0x8fc074,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':zb(_0x8fc074,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':zb(_0x8fc074,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':zb(_0x8fc074,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x839379?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class ReplaceSourceCommand extends _0x15bad7{constructor(_0x2687af){super(_0x2687af),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x40a530,_0x365de5){const _0x18bbe6=this['editor'],_0x4b64c8=_0x365de5?.['rootName']??Yb(_0x18bbe6);_0x18bbe6['data']['set']({[_0x4b64c8]:_0x40a530},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x96c7a2){super(_0x96c7a2),_0x96c7a2['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 _0x1f4597=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e39af;for(const _0x2ef48e in _0x1f4597){const _0x7fd020=_0x2ef48e,_0x4e6c97=_0x1f4597[_0x7fd020];if('sourceEditingEnhancedLicenseKeyValid'==_0x4e6c97||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4e6c97||'sourceEditingEnhancedLicenseKeyExpired'==_0x4e6c97||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4e6c97||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4e6c97||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4e6c97||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4e6c97){delete _0x1f4597[_0x7fd020],_0x3e39af=_0x4e6c97,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3e39af&&_0x1f4597['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3e39af&&_0x1f4597['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3e39af&&_0x1f4597['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3e39af&&_0x1f4597['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3e39af&&_0x1f4597['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3e39af&&_0x1f4597['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x7a9be2=this['editor'],_0xc82e63=_0x7a9be2['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xc82e63&&_0x7a9be2['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x37fbfa('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xc82e63&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x45a420=>_0x7a9be2['plugins']['has'](_0x45a420))&&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.'),_0x7a9be2['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 _0x15bad7{['execute'](_0x44d66b){const {model:_0x1b37b4}=this['editor'];let _0x4b5f4d;switch(typeof _0x44d66b){case'string':_0x4b5f4d=_0x44d66b;break;case'function':_0x4b5f4d=_0x44d66b();}'string'==typeof _0x4b5f4d&&_0x1b37b4['change'](()=>{const _0x43ae4a=this['editor']['data']['htmlProcessor']['toView'](_0x4b5f4d),_0xbe8539=this['editor']['data']['toModel'](_0x43ae4a);_0x1b37b4['insertContent'](_0xbe8539);});}}class TemplateEditing extends _0x13517b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a5255}=this;_0x4a5255['commands']['add']('insertTemplate',new TemplateCommand(_0x4a5255)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b7ad7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x36f413;for(const _0x5ee005 in _0x4b7ad7){const _0x198950=_0x5ee005,_0x2709cb=_0x4b7ad7[_0x198950];if('templateLicenseKeyValid'==_0x2709cb||'templateLicenseKeyInvalid'==_0x2709cb||'templateLicenseKeyExpired'==_0x2709cb||'templateLicenseKeyDomainLimit'==_0x2709cb||'templateLicenseKeyNotAllowed'==_0x2709cb||'templateLicenseKeyEvaluationLimit'==_0x2709cb||'templateLicenseKeyUsageLimit'==_0x2709cb){delete _0x4b7ad7[_0x198950],_0x36f413=_0x2709cb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x36f413&&_0x4b7ad7['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x36f413&&_0x4b7ad7['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x36f413&&_0x4b7ad7['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x36f413&&_0x4b7ad7['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x36f413&&_0x4b7ad7['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x36f413&&_0x4b7ad7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x3523c8{['filter'](_0x2f6833){if(!_0x2f6833)return this['_resetFiltering']();const _0x14e974=new Map(),_0x244184=this['items']['map'](_0x12222d=>{const _0x587a2a=_0x12222d['buttonView']['isMatching'](_0x2f6833);return _0x12222d['isVisible']=!!_0x587a2a,_0x12222d['buttonView']['highlightText'](_0x587a2a?_0x2f6833:null),_0x587a2a&&_0x14e974['set'](_0x12222d,_0x587a2a),_0x12222d;})['sort'](TL)['sort'](function(_0x37b108){return function(_0x3ed777,_0x30c165){const _0x1818af=_0x37b108['get'](_0x3ed777),_0x1915c0=_0x37b108['get'](_0x30c165);return _0x1818af&&!_0x1915c0?-0x1:_0x1915c0&&!_0x1818af?0x1:_0x1818af||_0x1915c0?_0x1818af['title']&&!_0x1915c0['title']?-0x1:!_0x1818af['title']&&_0x1915c0['title']?0x1:0x0:0x0;};}(_0x14e974));return this['items']['clear'](),this['items']['addMany'](_0x244184),{'resultsCount':_0x14e974['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x2902eb=this['items']['map'](_0x3625dd=>_0x3625dd)['sort'](TL);return _0x2902eb['forEach'](_0x22b4b2=>{_0x22b4b2['isVisible']=!0x0,_0x22b4b2['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x2902eb),{'resultsCount':_0x2902eb['length'],'totalItemsCount':_0x2902eb['length']};}}function TL(_0x4fa745,_0x1b597c){return _0x4fa745['originalIndex']-_0x1b597c['originalIndex'];}class TemplateListItemView extends _0x5d952b{['originalIndex'];['buttonView'];constructor(_0x24c4f8,_0x1e9c19){super(_0x24c4f8),this['originalIndex']=_0x1e9c19,this['buttonView']=null;}}class TemplateListButtonView extends _0x2e803a{['templateDefinition'];['textPartView'];constructor(_0x9c90d0,_0xa18e7e){super(_0x9c90d0),this['templateDefinition']=_0xa18e7e,this['textPartView']=null;const {icon:_0x16efb0=_0x4248c5}=_0xa18e7e;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x16efb0}),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'](_0x319b71){const {title:_0x557e7e,description:_0x3e3a9f}=this['templateDefinition'],_0x1b0c9c=!!_0x557e7e['match'](_0x319b71),_0x42bb9c=!(!_0x3e3a9f||!_0x3e3a9f['match'](_0x319b71));return _0x1b0c9c||_0x42bb9c?{'title':_0x1b0c9c,'description':_0x42bb9c}:null;}['highlightText'](_0x2c34f4){this['textPartView']['highlightText'](_0x2c34f4);}}class TextPartView extends _0x3989d4{constructor(_0x1d7a01,_0x30e5f4,_0x4e8045){super(_0x1d7a01),this['title']=_0x30e5f4['title'],this['description']=_0x30e5f4['description'],this['titleView']=new _t(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4e8045}});const _0x820cc7=[this['titleView']];this['description']&&(this['descriptionView']=new _t(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x820cc7['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x820cc7});}['highlightText'](_0x1e32c7){this['titleView']['highlightText'](_0x1e32c7),this['description']&&this['descriptionView']['highlightText'](_0x1e32c7);}}function EL(_0x28efcf,_0x2e9578,..._0x1b8cb8){const t=_0x28efcf['t'];switch(_0x2e9578){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1b8cb8);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',..._0x1b8cb8);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x2e9578;}}class TemplateUI extends _0x13517b{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ada91}=this,_0xa09a2d=_0x2ada91['config']['get']('template.definitions')||[];_0x2ada91['ui']['componentFactory']['add']('insertTemplate',_0x4d0a53=>{const _0x21c9f2=st(_0x4d0a53),_0x236d51=this['_createTemplateListView'](_0x4d0a53,_0xa09a2d),_0xd2f505=new At(_0x4d0a53,{'filteredView':_0x236d51,'queryView':{'label':EL(_0x4d0a53,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x485d5d=>EL(_0x4d0a53,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x485d5d),'secondary':EL(_0x4d0a53,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':EL(_0x4d0a53,'No\x20templates\x20available.')}}}}),_0x4e4a77=_0x2ada91['commands']['get']('insertTemplate');return _0xd2f505['on']('search',(_0x3724fc,_0x4c9eb0)=>{_0x4c9eb0['query']&&_0x4c9eb0['query']['length']&&_0x2ada91['ui']['ariaLiveAnnouncer']['announce'](EL(_0x4d0a53,'%0\x20templates\x20found',_0x4c9eb0['resultsCount']));}),_0x21c9f2['bind']('isEnabled')['to'](_0x4e4a77),_0x21c9f2['panelView']['children']['add'](_0xd2f505),_0x21c9f2['buttonView']['set']({'label':EL(_0x4d0a53,'Insert\x20template'),'icon':_0x343174,'tooltip':!0x0}),_0x21c9f2['on']('change:isOpen',(_0x2eb5f2,_0x25b805,_0x33e1a0)=>{_0x33e1a0||_0xd2f505['reset']();}),_0x21c9f2;}),_0x2ada91['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x29ee5b=>{const _0x1c811c=_0x2ada91['commands']['get']('insertTemplate'),_0x4038c1=new rt(_0x29ee5b);_0x4038c1['buttonView']['set']({'label':EL(_0x29ee5b,'Template'),'icon':_0x343174});const _0x2d86d5=new ct(_0x29ee5b);if(!_0xa09a2d||!_0xa09a2d['length']){const _0x1895b3=new lt(_0x29ee5b,_0x4038c1),_0x5cda8e=new ot(_0x29ee5b);_0x5cda8e['set']({'label':EL(_0x29ee5b,'No\x20templates\x20available.')}),_0x5cda8e['delegate']('execute')['to'](_0x4038c1),_0x5cda8e['on']('execute',()=>{_0x2ada91['editing']['view']['focus']();}),_0x1895b3['children']['add'](_0x5cda8e),_0x2d86d5['items']['add'](_0x1895b3);}for(const _0x336207 of _0xa09a2d){const _0x4d27ee=new lt(_0x29ee5b,_0x4038c1),_0x33e40f=new ot(_0x29ee5b);_0x33e40f['set']({'class':'ck-template-button','label':_0x336207['title'],'icon':_0x336207['icon']||_0x4248c5}),_0x33e40f['delegate']('execute')['to'](_0x4038c1),_0x33e40f['on']('execute',()=>{_0x2ada91['execute']('insertTemplate',_0x336207['data']),_0x2ada91['editing']['view']['focus']();}),_0x4d27ee['children']['add'](_0x33e40f),_0x2d86d5['items']['add'](_0x4d27ee);}return _0x4038c1['panelView']['children']['add'](_0x2d86d5),_0x4038c1['bind']('isEnabled')['to'](_0x1c811c,'isEnabled'),_0x4038c1;});}['afterInit'](){!async function(_0x287d74){const _0x496d5e=_0x5e4884([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]),_0xcb813d=0x6b0f5e6f,_0x52d71a=0x6b08d1af^_0xcb813d,_0x3bb279=window[_0x5e4884([0x44,0x61,0x74,0x65])][_0x5e4884([0x6e,0x6f,0x77])](),_0x18287a=_0x287d74[_0x5e4884([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33ed88=new window[(_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59e609=>{_0x18287a[_0x5e4884([0x6f,0x6e,0x63,0x65])](_0x5e4884([0x72,0x65,0x61,0x64,0x79]),_0x59e609);}),_0x636cb7={[_0x5e4884([0x6b,0x74,0x79])]:_0x5e4884([0x45,0x43]),[_0x5e4884([0x75,0x73,0x65])]:_0x5e4884([0x73,0x69,0x67]),[_0x5e4884([0x63,0x72,0x76])]:_0x5e4884([0x50,0x2d,0x32,0x35,0x36]),[_0x5e4884([0x78])]:_0x5e4884([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]),[_0x5e4884([0x79])]:_0x5e4884([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]),[_0x5e4884([0x61,0x6c,0x67])]:_0x5e4884([0x45,0x53,0x32,0x35,0x36])},_0x433f72=_0x18287a[_0x5e4884([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e4884([0x67,0x65,0x74])](_0x5e4884([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x449ce8(){let _0x4f6559,_0x3d0330=null,_0x339079=null;try{if(_0x433f72==_0x5e4884([0x47,0x50,0x4c]))return _0x5e4884([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f6559=_0x5c0786(),!_0x4f6559)return _0x5e4884([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f6559[_0x5e4884([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x339079=_0x418be3(_0x4f6559[_0x5e4884([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f6559[_0x5e4884([0x6a,0x74,0x69])])),await _0x2565ce()?_0x4fd889()?_0x5297dd()?_0x5e4884([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ae59e()?(_0x4f6559[_0x5e4884([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e4884([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d0330=_0x7d647f(_0x5e4884([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35bbc0()):_0x5e4884([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e4884([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e4884([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e4884([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5297dd(){const _0x46baba=[_0x5e4884([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e4884([0x74,0x72,0x69,0x61,0x6c])][_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f6559[_0x5e4884([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3bb279/0x3e8:0xe10*_0x52d71a;return _0x4f6559[_0x5e4884([0x65,0x78,0x70])]<_0x46baba;}function _0x4fd889(){const _0x4d09d4=_0x4f6559[_0x5e4884([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d09d4&&(!!_0x4d09d4[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e4884([0x2a]))||(!!_0x4d09d4[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e4884([0x54,0x50,0x4c]))||(!!_0x4d09d4[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e4884([0x50,0x50]))||(!(!_0x4d09d4[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e4884([0x44,0x52,0x55,0x50]))||!_0x33178a())||!(!_0x4d09d4[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e4884([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x41d2eb())))));}function _0x2ae59e(){const _0x60c516=_0x4f6559[_0x5e4884([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x60c516||0x0==_0x60c516[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x47001a}=new URL(window[_0x5e4884([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x60c516[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47001a))return!0x0;const _0x4918c2=_0x47001a[_0x5e4884([0x73,0x70,0x6c,0x69,0x74])](_0x5e4884([0x2e]));return _0x60c516[_0x5e4884([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x845b7b=>_0x845b7b[_0x5e4884([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e4884([0x2a])))[_0x5e4884([0x6d,0x61,0x70])](_0x1bd5c6=>_0x1bd5c6[_0x5e4884([0x73,0x70,0x6c,0x69,0x74])](_0x5e4884([0x2e])))[_0x5e4884([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3eb5cb=>_0x3eb5cb[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4918c2[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e4884([0x6d,0x61,0x70])](_0xd01c95=>Array(_0x4918c2[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd01c95[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e4884([0x66,0x69,0x6c,0x6c])](_0xd01c95[0x0]===_0x5e4884([0x2a])?_0x5e4884([0x2a]):'')[_0x5e4884([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd01c95))[_0x5e4884([0x73,0x6f,0x6d,0x65])](_0x283a1b=>_0x4918c2[_0x5e4884([0x65,0x76,0x65,0x72,0x79])]((_0x55e945,_0x10fbac)=>_0x283a1b[_0x10fbac]===_0x55e945||_0x283a1b[_0x10fbac]===_0x5e4884([0x2a])));}function _0x35bbc0(){return _0x3d0330&&_0x339079?new window[(_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44c7a4,_0x3d49c9)=>{_0x3d0330[_0x5e4884([0x74,0x68,0x65,0x6e])](_0x44c7a4,_0x3d49c9),_0x339079[_0x5e4884([0x74,0x68,0x65,0x6e])](_0x5e0be5=>{_0x5e0be5!=_0x5e4884([0x56,0x61,0x6c,0x69,0x64])&&_0x44c7a4(_0x5e0be5);},_0x3d49c9);}):_0x3d0330||_0x339079||_0x5e4884([0x56,0x61,0x6c,0x69,0x64]);}}function _0x418be3(_0x540383,_0x440907){return new window[(_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42571f=>{if(_0x1d7a34())return _0x42571f(_0x5e4884([0x56,0x61,0x6c,0x69,0x64]));_0x374639(),_0x18287a[_0x5e4884([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e4884([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ed919=!0x1;const _0x13b7b2=_0x5c5c0c();function _0x508dc6(_0x556070){return!!_0x556070&&(typeof _0x556070===_0x5e4884([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x556070===_0x5e4884([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x556070[_0x5e4884([0x74,0x68,0x65,0x6e])]===_0x5e4884([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x556070[_0x5e4884([0x63,0x61,0x74,0x63,0x68])]===_0x5e4884([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2aebc1(_0x16f727){_0x456c9a(_0x16f727)[_0x5e4884([0x74,0x68,0x65,0x6e])](_0x1967d5=>{if(!_0x1967d5||_0x1967d5[_0x5e4884([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e4884([0x6f,0x6b]))return _0x5e4884([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36d45e(_0x11b8ae(_0x13b7b2+_0x440907))!=_0x1967d5[_0x5e4884([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e4884([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e4884([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e4884([0x74,0x68,0x65,0x6e])](_0x366191=>(_0x52545d(),_0x366191),()=>{const _0x4bdd94=_0x58960f();return null==_0x4bdd94?(_0x52545d(),_0x5e4884([0x56,0x61,0x6c,0x69,0x64])):_0x5e4884(_0x3bb279-_0x4bdd94>(0x4f03da6f^_0xcb813d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e4884([0x74,0x68,0x65,0x6e])](_0x42571f)[_0x5e4884([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42571f(_0x5e4884([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1baa01=0x6b39b0ef^_0xcb813d;function _0x52545d(){const _0x3aa309=_0x5e4884([0x6c,0x6c,0x63,0x74,0x2d])+_0x36d45e(_0x11b8ae(_0x540383)),_0x1cdab1=_0x10f493(_0x36d45e(window[_0x5e4884([0x4d,0x61,0x74,0x68])][_0x5e4884([0x63,0x65,0x69,0x6c])](_0x3bb279/_0x1baa01)));window[_0x5e4884([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e4884([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3aa309,_0x1cdab1);}function _0x58960f(){const _0x3c42c2=_0x5e4884([0x6c,0x6c,0x63,0x74,0x2d])+_0x36d45e(_0x11b8ae(_0x540383)),_0xa01711=window[_0x5e4884([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e4884([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c42c2);return _0xa01711?window[_0x5e4884([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10f493(_0xa01711),0x10)*_0x1baa01:null;}function _0x456c9a(_0x23863c){return new window[(_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x177585,_0x284090)=>{_0x23863c[_0x5e4884([0x74,0x68,0x65,0x6e])](_0x177585,_0x284090),window[_0x5e4884([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x284090,0x6b0e8aaf^_0xcb813d);});}}_0x18287a[_0x5e4884([0x6f,0x6e])](_0x5e4884([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e7c4a,_0x150a6a)=>{if(_0x150a6a[0x0]!=_0x540383)return _0x42571f(_0x5e4884([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x150a6a[0x1]={..._0x150a6a[0x1],[_0x5e4884([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13b7b2};},{[_0x5e4884([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e4884([0x68,0x69,0x67,0x68])}),_0x18287a[_0x5e4884([0x6f,0x6e])](_0x5e4884([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x194ad3=>{_0x508dc6(_0x194ad3[_0x5e4884([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ed919=!0x0,_0x2aebc1(_0x194ad3[_0x5e4884([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e4884([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e4884([0x6c,0x6f,0x77])}),_0x33ed88[_0x5e4884([0x74,0x68,0x65,0x6e])](()=>{_0x5ed919||_0x42571f(_0x5e4884([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d7a34(){return _0x18287a[_0x5e4884([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e4884([0x76,0x69,0x65,0x77])][_0x5e4884([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e4884([0x61,0x75,0x74,0x6f]);}function _0x374639(){_0x18287a[_0x5e4884([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e4884([0x76,0x69,0x65,0x77])][_0x5e4884([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e4884([0x61,0x75,0x74,0x6f]);}}function _0x7d647f(_0x11a13d){const _0x1a2049=[new window[(_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b5437=>setTimeout(_0x5b5437,0x6b0660a3^_0xcb813d)),_0x33ed88[_0x5e4884([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeb45b9=>{let _0x4d1a25=0x0;_0x18287a[_0x5e4884([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e4884([0x6f,0x6e])](_0x5e4884([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27a6d1,_0x2f4e28)=>{_0x2f4e28[0x0][_0x5e4884([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d1a25++,_0x4d1a25==(0x6b0f5b87^_0xcb813d)&&(_0xeb45b9(),_0x27a6d1[_0x5e4884([0x6f,0x66,0x66])]());});}))];return window[_0x5e4884([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e4884([0x72,0x61,0x63,0x65])](_0x1a2049)[_0x5e4884([0x74,0x68,0x65,0x6e])](()=>_0x11a13d);}async function _0x13a2dd(){await _0x33ed88,_0x18287a[_0x5e4884([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e4884([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5402b3,_0x18287a[_0x5e4884([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e4884([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5402b3,_0x18287a[_0x5e4884([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e4884([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33178a(){return window[_0x5e4884([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x41d2eb(){return window[_0x5e4884([0x67,0x6c,0x6f,0x62])]&&window[_0x5e4884([0x67,0x6c,0x6f,0x62])][_0x5e4884([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x22bbe8(_0x1341e7){const _0x260ad2=_0x555ad8();_0x18287a[_0x260ad2]=_0x5e4884([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1341e7,_0x1341e7!=_0x5e4884([0x56,0x61,0x6c,0x69,0x64])&&_0x13a2dd();}function _0x555ad8(){const _0x5d70dd=window[_0x5e4884([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e4884([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e4884([0x6e,0x6f,0x77])]())[_0x5e4884([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e4884([0x2e]),'');let _0x299b3e=_0x5e4884([0x67]);for(let _0x1b8cf3=0x0;_0x1b8cf3<_0x5d70dd[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b8cf3+=0x2){let _0x51f94c=window[_0x5e4884([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d70dd[_0x5e4884([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b8cf3,_0x1b8cf3+0x2));_0x51f94c>=_0x496d5e[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51f94c-=_0x496d5e[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x299b3e+=_0x496d5e[_0x51f94c];}return _0x299b3e;}function _0x5c0786(){const _0x252190=_0x433f72[_0x5e4884([0x73,0x70,0x6c,0x69,0x74])](_0x5e4884([0x2e]));if(0x3!=_0x252190[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a0dd0(_0x252190[0x1]);function _0x3a0dd0(_0x2e4378){const _0x42c05b=_0x5aaa3d(_0x2e4378);return _0x42c05b&&_0x350506()?_0x42c05b:null;function _0x350506(){const _0x44ad61=_0x42c05b[_0x5e4884([0x6a,0x74,0x69])],_0x166f92=window[_0x5e4884([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ad61[_0x5e4884([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44ad61[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d7914={..._0x42c05b,[_0x5e4884([0x6a,0x74,0x69])]:_0x44ad61[_0x5e4884([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44ad61[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d7914[_0x5e4884([0x76,0x63])],_0x11b8ae(_0x2d7914)==_0x166f92;}}}async function _0x2565ce(){let _0x550f6e=!0x0;try{const _0xecbfbb=_0x433f72[_0x5e4884([0x73,0x70,0x6c,0x69,0x74])](_0x5e4884([0x2e])),[_0x21882d,_0x11bf4d,_0x44b766]=_0xecbfbb;return _0x391784(_0x21882d),await _0x37034b(_0x21882d,_0x11bf4d,_0x44b766),_0x550f6e;}catch{return!0x1;}function _0x391784(_0x53ac67){const _0x1f8a9f=_0x5aaa3d(_0x53ac67);_0x1f8a9f&&_0x1f8a9f[_0x5e4884([0x61,0x6c,0x67])]==_0x5e4884([0x45,0x53,0x32,0x35,0x36])||(_0x550f6e=!0x1);}async function _0x37034b(_0x164924,_0x5f3043,_0x3ea4bb){const _0xdde610=window[_0x5e4884([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e4884([0x66,0x72,0x6f,0x6d])](_0x5b10f7(_0x3ea4bb),_0x3c4ba0=>_0x3c4ba0[_0x5e4884([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18965e=new window[(_0x5e4884([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e4884([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x164924+_0x5e4884([0x2e])+_0x5f3043),_0x20be8e=window[_0x5e4884([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e4884([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20be8e)return;const _0x162376=await _0x20be8e[_0x5e4884([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e4884([0x6a,0x77,0x6b]),_0x636cb7,{[_0x5e4884([0x6e,0x61,0x6d,0x65])]:_0x5e4884([0x45,0x43,0x44,0x53,0x41]),[_0x5e4884([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e4884([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e4884([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20be8e[_0x5e4884([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e4884([0x6e,0x61,0x6d,0x65])]:_0x5e4884([0x45,0x43,0x44,0x53,0x41]),[_0x5e4884([0x68,0x61,0x73,0x68])]:{[_0x5e4884([0x6e,0x61,0x6d,0x65])]:_0x5e4884([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x162376,_0xdde610,_0x18965e)||(_0x550f6e=!0x1);}}function _0x5aaa3d(_0x508b1d){return _0x508b1d[_0x5e4884([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e4884([0x65,0x79]))?JSON[_0x5e4884([0x70,0x61,0x72,0x73,0x65])](_0x5b10f7(_0x508b1d)):null;}function _0x5b10f7(_0x5d5f71){return window[_0x5e4884([0x61,0x74,0x6f,0x62])](_0x5d5f71[_0x5e4884([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e4884([0x2b]))[_0x5e4884([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e4884([0x2f])));}function _0x11b8ae(_0x2afc09){let _0x18e791=0x1505;function _0x321de3(_0x5c9758){for(let _0x158f33=0x0;_0x158f33<_0x5c9758[_0x5e4884([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158f33++){const _0x380196=_0x5c9758[_0x5e4884([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x158f33);_0x18e791=(_0x18e791<<0x5)+_0x18e791+_0x380196,_0x18e791&=_0x18e791;}}function _0x226e2f(_0x534c97){Array[_0x5e4884([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x534c97)?_0x534c97[_0x5e4884([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x226e2f):_0x534c97&&typeof _0x534c97==_0x5e4884([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e4884([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x534c97)[_0x5e4884([0x73,0x6f,0x72,0x74])]()[_0x5e4884([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x252cef,_0x1f543e])=>{_0x321de3(_0x252cef),_0x226e2f(_0x1f543e);}):_0x321de3(window[_0x5e4884([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x534c97));}return _0x226e2f(_0x2afc09),_0x18e791>>>0x0;}function _0x36d45e(_0x27424c){return _0x27424c[_0x5e4884([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e4884([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e4884([0x30]));}function _0x10f493(_0x1a72f0){return _0x1a72f0[_0x5e4884([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e4884([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e4884([0x6a,0x6f,0x69,0x6e])]('');}function _0x5402b3(){}function _0x5e4884(_0x1d989f){return _0x1d989f['map'](_0x405af4=>String['fromCharCode'](_0x405af4))['join']('');}_0x22bbe8(await _0x449ce8());}(this);}['_createTemplateListView'](_0x43dd7d,_0x4caf73){const {editor:_0x416a35}=this,_0x75c757=new TemplateListView(_0x43dd7d);return _0x75c757['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x75c757['items']['addMany'](_0x4caf73['map']((_0x4c58fd,_0x2e26dc)=>{const _0x1612d4=new TemplateListItemView(_0x43dd7d,_0x2e26dc),_0x4d395f=new TemplateListButtonView(_0x43dd7d,_0x4c58fd);return _0x1612d4['buttonView']=_0x4d395f,_0x1612d4['children']['add'](_0x4d395f),_0x1612d4['buttonView']['on']('execute',_0x232510=>{_0x416a35['execute']('insertTemplate',_0x232510['source']['templateDefinition']['data']),_0x416a35['editing']['view']['focus']();}),_0x1612d4;})),_0x75c757;}}class Template extends _0x13517b{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class TrackChangesCommand extends _0x15bad7{['_enabledCommands'];constructor(_0x1fa1d1,_0x19aa64){super(_0x1fa1d1),this['_enabledCommands']=_0x19aa64,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 _0xb239a7 of this['editor']['commands']['commands']())_0xb239a7['affectsData']&&!this['_enabledCommands']['has'](_0xb239a7)&&_0xb239a7['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x46fbec of this['editor']['commands']['commands']())_0x46fbec['affectsData']&&!this['_enabledCommands']['has'](_0x46fbec)&&_0x46fbec['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x15bad7{['_suggestions'];constructor(_0x3045e9,_0x3a6ead){super(_0x3045e9),this['_suggestions']=_0x3a6ead,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x4a631e){const _0x2ea273=this['_suggestions']['get'](_0x4a631e);if(!_0x2ea273)throw new _0x37fbfa('track-changes-accept-suggestion-not-found',this);const _0x4e5a55=_0x2ea273['getRanges']();this['editor']['model']['canEditAt'](_0x4e5a55)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x2ea273);}}class DiscardSuggestionCommand extends _0x15bad7{['_suggestions'];constructor(_0x42bce1,_0x1121f1){super(_0x42bce1),this['_suggestions']=_0x1121f1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x35d3de){const _0x9aa582=this['_suggestions']['get'](_0x35d3de);if(!_0x9aa582)throw new _0x37fbfa('track-changes-discard-suggestion-not-found',this);const _0x267fe6=_0x9aa582['getRanges']();this['editor']['model']['canEditAt'](_0x267fe6)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x9aa582);}}function AL(_0x2df48f,_0x42fc17){let _0x1599a4='';return _0x1599a4+=_0x2df48f['split']('*')['map']((_0x6c5ecf,_0x2c538e)=>_0x2c538e%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+IL(_0x6c5ecf)+'</span>':IL(_0x6c5ecf))['join'](''),_0x42fc17&&(_0x1599a4+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x42fc17['value']+'\x22\x20title=\x22'+_0x42fc17['title']+'\x22></span>'),_0x1599a4;}function IL(_0x3c6bf7){const _0x52a1bc=document['createElement']('span');return _0x52a1bc['innerText']=_0x3c6bf7,_0x52a1bc['innerHTML'];}function SL(_0x474012){return _0x474012['sort']((_0xa3d668,_0x15ba75)=>'attribute'===_0xa3d668['type']&&'attribute'!==_0x15ba75['type']?-0x1:'attribute'!==_0xa3d668['type']&&'attribute'===_0x15ba75['type']?0x1:'deletion'==_0xa3d668['type']&&'deletion'!=_0x15ba75['type']?-0x1:'deletion'!=_0xa3d668['type']&&'deletion'==_0x15ba75['type']?0x1:0x0);}function CL(_0x2d4334,_0x42f84b){let _0xfce3a5,_0x1e0d7c=0x0;const _0x33b756=[],_0x2c8c86=_0x42f84b['schema'];for(;_0x1e0d7c<_0x2d4334['length'];){const _0x5a393d=_0x2d4334[_0x1e0d7c],_0x265e16=_0x2d4334[_0x1e0d7c+0x1];_0xfce3a5||(_0xfce3a5=_0x42f84b['createPositionBefore'](_0x5a393d)),kL(_0x42f84b,_0x5a393d,_0x265e16)||(_0x33b756['push'](_0x42f84b['createRange'](_0xfce3a5,_0x2c8c86['isObject'](_0x5a393d)?_0x42f84b['createPositionAfter'](_0x5a393d):_0x42f84b['createPositionAt'](_0x5a393d,'end'))),_0xfce3a5=null),_0x1e0d7c++;}return _0x33b756;}function kL(_0x14a706,_0xbc2c51,_0x53cb72){if(!_0x53cb72)return!0x1;const _0x5d342f=_0x14a706['createPositionAfter'](_0xbc2c51),_0x3617ea=_0x14a706['createPositionBefore'](_0x53cb72);return _0x5d342f['isTouching'](_0x3617ea);}function xL(_0x4bb342,_0x3b140d,_0x1c69dc){for(;_0x1c69dc['length'];){const _0x506ad5=_0x1c69dc['splice'](0x0,0x64);_0x4bb342['change'](()=>{for(const _0x2edc6e of _0x506ad5)_0x2edc6e['isInContent']&&_0x3b140d['execute'](_0x2edc6e['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x15bad7{['_command'];['_suggestions'];constructor(_0x8a691f,_0x35cf03,_0x1e0b56){super(_0x8a691f),this['_command']=_0x35cf03,this['_suggestions']=_0x1e0b56,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x39c1ba=Array['from'](this['_suggestions']['values']())['some'](_0x1a23b0=>_0x1a23b0['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x39c1ba;}['execute'](){const _0xc11249=SL(Array['from'](this['_suggestions']['values']()));for(const _0x5ba04f of _0xc11249){const _0x5da7b7=_0x5ba04f['getRanges']();if(!this['editor']['model']['canEditAt'](_0x5da7b7))return;}xL(this['editor']['model'],this['_command'],_0xc11249);}}class ExecuteOnSelectedSuggestionsCommand extends _0x15bad7{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0xfa2e0b,_0x547db5,_0x2113f0){super(_0xfa2e0b),this['_command']=_0x547db5,this['_suggestions']=_0x2113f0,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x259038=this['editor']['model']['document']['selection'],_0x218023=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x3d49bc,_0xdc0f){const _0x2fccd9=Array['from'](_0x3d49bc['getRanges']()),_0xff9d1c=new Set();for(const _0x157653 of _0xdc0f)if(_0x157653['isInContent']){for(const _0x35da7b of _0x2fccd9)for(const _0x149648 of _0x157653['getRanges']())(_0x35da7b['isIntersecting'](_0x149648)||_0x3d49bc['isCollapsed']&&!_0x157653['isMultiRange']&&_0x157653['next']&&_0x149648['end']['isTouching'](_0x35da7b['start']))&&_0xff9d1c['add'](_0x157653);}return _0xff9d1c;}(_0x259038,_0x218023),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x204802=SL(Array['from'](this['_selectedSuggestions']));for(const _0x40648d of _0x204802){const _0x4ce916=_0x40648d['getRanges']();if(!this['editor']['model']['canEditAt'](_0x4ce916))return;}xL(this['editor']['model'],this['_command'],_0x204802);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x20f52a(){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x5af621,_0x5e2d0d){super(),this['id']=_0x5e2d0d['id'],this['type']=_0x5e2d0d['type'],this['subType']=_0x5e2d0d['subType']||null,this['author']=_0x5e2d0d['author'],this['creator']=_0x5e2d0d['creator']||_0x5e2d0d['author'],this['isExternal']=Boolean(_0x5e2d0d['attributes']&&_0x5e2d0d['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x5e2d0d['originalSuggestionId']||null,this['_model']=_0x5af621,this['_onAccept']=_0x5e2d0d['onAccept'],this['_onDiscard']=_0x5e2d0d['onDiscard'],this['_onAttributesChange']=_0x5e2d0d['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x5e2d0d['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 _0x1a7194=this;for(;_0x1a7194['previous'];)_0x1a7194=_0x1a7194['previous'];return _0x1a7194;}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'](_0x83ac8b){this['_markerNames']['add'](_0x83ac8b);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x15a7b2=>this['_model']['markers']['get'](_0x15a7b2))['filter'](_0x1796de=>_0x1796de);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x4cf263=>{for(const _0x5a1c66 of this['getMarkers']())_0x4cf263['removeMarker'](_0x5a1c66);}),this['_markerNames']['clear']();}['removeMarker'](_0xd8d637){this['_model']['change'](_0x44b66=>{_0x44b66['removeMarker'](_0xd8d637);}),this['_markerNames']['delete'](_0xd8d637);}['addRange'](_0x4f53e1){const _0x280e4b='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x280e4b),this['_model']['change'](_0x536810=>{_0x536810['addMarker'](_0x280e4b,{'range':_0x4f53e1,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x26730b){for(const _0xb8b7fb of this['getRanges']())if(_0xb8b7fb['isIntersecting'](_0x26730b))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x713739=>_0x713739['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x3ee146,_0xdeaa62)=>[..._0x3ee146,..._0xdeaa62['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x3b0b3f=this['getRanges']();if(0x1!=_0x3b0b3f['length'])return null;const _0x4d946c=_0x3b0b3f[0x0],_0x468b05=_0x4d946c['start']['nodeAfter'],_0xf422c8=_0x4d946c['end']['nodeBefore'];return _0x468b05 instanceof _0x23e369?_0x468b05!=_0xf422c8?null:_0x468b05: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 _0x234b71=[];let _0x1c04db=this['head'];for(;_0x1c04db;)_0x234b71['push'](_0x1c04db),_0x1c04db=_0x1c04db['next'];return _0x234b71;}['setAttribute'](_0x5516d6,_0x534b04){const _0x495622=Cr(this['attributes']);Qr(_0x495622,_0x5516d6,_0x534b04),Zr(_0x495622,this['attributes'])||(this['attributes']=_0x495622,this['_onAttributesChange'](_0x495622));}['removeAttribute'](_0x42d308){const _0x3c89c9=Cr(this['attributes']);Nr(_0x3c89c9,_0x42d308),Zr(_0x3c89c9,this['attributes'])||(this['attributes']=_0x3c89c9,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 _0x5c5c0c()['substr'](0x1,0x5);}}function RL(_0x586cf6,_0x149400,_0x418636){const _0x58a407=_0x586cf6['t'],t=_0x586cf6['t'];switch(_0x149400){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',_0x418636);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x418636);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x418636);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x418636);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x418636);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',_0x418636);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x418636);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',_0x418636);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x418636);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x418636);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x418636);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x418636);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x418636);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x418636);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x418636);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x418636);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x418636);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x418636);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x418636);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x418636);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x418636);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x418636);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x418636);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x418636);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x418636);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'},_0x418636);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x418636);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x418636);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x418636);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x418636);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x418636);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x418636);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x418636);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'},_0x418636);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x418636);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x418636);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x418636);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x418636);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'},_0x418636);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x418636);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'},_0x418636);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'},_0x418636);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x418636);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'},_0x418636);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x418636);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'},_0x418636);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x418636);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x418636);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x418636);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x418636);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x418636);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'},_0x418636);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x418636);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 _0x58a407({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x418636);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x58a407({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x418636);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x418636);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'},_0x418636);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'},_0x418636);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'},_0x418636);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x149400;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x3f8e58,_0x223fbc){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x3f8e58,this['_locale']=_0x223fbc;}['getDescriptions'](_0x4f37d3){const _0x12fb38=[],_0x3be6c8=new Set(),_0x254cfe=new Set();for(let _0x12901d=0x0;_0x12901d<_0x4f37d3['length'];_0x12901d++){const _0x5acb13=_0x4f37d3[_0x12901d];if(!_0x5acb13['isInContent'])continue;const _0x58be5c=this['_handleCustomCallbackDescription'](_0x5acb13);if(_0x58be5c){if(null!=_0x5acb13['subType']){if(_0x3be6c8['has'](_0x5acb13['subType']))continue;_0x3be6c8['add'](_0x5acb13['subType']);}_0x12fb38['push'](_0x58be5c);}else{if('attribute'==_0x5acb13['type']){const _0x416ac7=_0x5acb13['data']['key'];if(_0x254cfe['has'](_0x416ac7))continue;_0x254cfe['add'](_0x5acb13['data']['key']),_0x416ac7==qL?this['_handleRenameSuggestionDescription'](_0x12fb38,_0x5acb13):this['_handleAttributeSuggestionDescription'](_0x12fb38,_0x5acb13);continue;}'insertion'!=_0x5acb13['type']&&'deletion'!=_0x5acb13['type']||this['_handleInsertRemoveSuggestionDescription'](_0x12fb38,_0x5acb13,_0x4f37d3[_0x12901d+0x1]);}}return this['_resolveDescriptionItems'](_0x12fb38);}['registerDescriptionCallback'](_0x5e0818){this['_customCallbacks']['push'](_0x5e0818);}['registerElementLabel'](_0x4fb0f2,_0x1356a7,_0x5c3d7b=_0x244365['normal']){'function'==typeof _0x4fb0f2?_0x24b377(this['_itemLabelsCallbacks'],{'matchingCallback':_0x4fb0f2,'label':_0x1356a7,'priority':_0x5c3d7b}):this['_itemLabels']['set'](_0x4fb0f2,_0x1356a7);}['registerAttributeLabel'](_0xc89ed8,_0x592eae){this['_attributeLabels']['set'](_0xc89ed8,_0x592eae);}['getItemLabel'](_0x404a49,_0x3943fb=0x1){let _0xdc9f5a;for(const _0x2b92db of this['_itemLabelsCallbacks'])if(_0x2b92db['matchingCallback'](_0x404a49)){_0xdc9f5a=_0x2b92db['label'];break;}return _0xdc9f5a||(_0xdc9f5a=this['_itemLabels']['get'](_0x404a49['name'])),_0xdc9f5a?_0xdc9f5a(_0x3943fb):0x1!==_0x3943fb?_0x3943fb+'\x20'+_0x404a49['name']+'s':''+_0x404a49['name'];}['_addDescriptionItems'](_0x4ebfb8,_0x25b6bf){const _0x415c75=_0x25b6bf['getFirstRange']()['getWalker'](),_0x4cb73d='insertion'==_0x25b6bf['type']?'add':'remove';for(const _0x3a2c2a of _0x415c75){const _0x36d31d=_0x3a2c2a['item'],_0x1edb7a=_0x4ebfb8[_0x4ebfb8['length']-0x1];if(_0x36d31d['is']('$textProxy'))_0x1edb7a&&_0x1edb7a['type']['indexOf']('Container')>-0x1&&_0x4ebfb8['pop'](),_0x1edb7a&&'text'==_0x1edb7a['type']?_0x1edb7a[_0x4cb73d]+=_0x36d31d['data']:_0x4ebfb8['push']({'type':'text','add':'add'==_0x4cb73d?_0x36d31d['data']:'','remove':'remove'==_0x4cb73d?_0x36d31d['data']:''});else{if(this['_schema']['isObject'](_0x36d31d)){const _0x51ef2b=_0x36d31d;if(_0x1edb7a&&_0x1edb7a['type']['indexOf']('Container')>-0x1&&_0x4ebfb8['pop'](),'elementEnd'==_0x3a2c2a['type'])continue;_0x1edb7a&&_0x1edb7a['type']==_0x4cb73d+'Object'&&_0x1edb7a['element']['name']==_0x51ef2b['name']?_0x1edb7a['quantity']++:_0x4ebfb8['push']({'type':_0x4cb73d+'Object','element':_0x51ef2b,'quantity':0x1}),_0x415c75['skip'](_0x5b8f00=>!('elementEnd'==_0x5b8f00['type']&&_0x5b8f00['item']==_0x36d31d));}else{if(this['_schema']['checkChild'](_0x36d31d,'$text')||_0x36d31d['is']('element','softBreak')){const _0x1edc5=_0x36d31d;if('add'==_0x4cb73d&&'elementStart'==_0x3a2c2a['type']||'remove'==_0x4cb73d&&'elementEnd'==_0x3a2c2a['type'])continue;if(_0x1edb7a&&-0x1==_0x1edb7a['type']['indexOf']('Container')){'text'==_0x1edb7a['type']&&(_0x1edb7a[_0x4cb73d]+='\x0a');continue;}let _0x441ce8;if(_0x441ce8='add'==_0x4cb73d?_0x1edc5['nextSibling']&&!this['_schema']['isObject'](_0x1edc5['nextSibling'])?_0x1edc5['nextSibling']:null:_0x1edc5['previousSibling']&&!this['_schema']['isObject'](_0x1edc5['previousSibling'])?_0x1edc5['previousSibling']:null,_0x1edc5['isEmpty']||_0x441ce8&&_0x441ce8['isEmpty']){const _0x40b0ab=_0x441ce8&&_0x441ce8['isEmpty']?_0x441ce8:_0x1edc5;_0x1edb7a&&_0x1edb7a['type']==_0x4cb73d+'EmptyContainer'&&_0x1edb7a['element']['name']==_0x40b0ab['name']?_0x1edb7a['quantity']++:_0x4ebfb8['push']({'type':_0x4cb73d+'EmptyContainer','element':_0x40b0ab,'quantity':0x1});}else _0x4ebfb8['push']({'type':_0x4cb73d+'Container','element':_0x1edc5});}}}}}['_resolveDescriptionItems'](_0x1936df){const _0x56d84c=this['_locale'],_0x583429=[],_0x3986d1=[],_0xe08a2c=[];for(const _0x443830 of _0x1936df)switch(_0x443830['type']){case'text':if(_0x443830['add']=_0x443830['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x443830['remove']=_0x443830['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x443830['add']&&''!=_0x443830['remove']){_0x583429['push']({'type':'replace','content':RL(_0x56d84c,'REPLACE_TEXT',['\x22'+_0x443830['remove']+'\x22','\x22'+_0x443830['add']+'\x22'])});continue;}if(null!=_0x443830['add']['match'](/^ +$/)){_0x583429['push']({'type':'insertion','content':RL(_0x56d84c,'*Insert:*\x20%0',RL(_0x56d84c,'ELEMENT_SPACE',_0x443830['add']['length']))});continue;}if(null!=_0x443830['remove']['match'](/^ +$/)){_0x583429['push']({'type':'deletion','content':RL(_0x56d84c,'*Remove:*\x20%0',RL(_0x56d84c,'ELEMENT_SPACE',_0x443830['remove']['length']))});continue;}if(''!=_0x443830['add']){_0x583429['push']({'type':'insertion','content':RL(_0x56d84c,'*Insert:*\x20%0','\x22'+_0x443830['add']+'\x22')});continue;}_0x583429['push']({'type':'deletion','content':RL(_0x56d84c,'*Remove:*\x20%0','\x22'+_0x443830['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x583429['push']({'type':'insertion','content':RL(_0x56d84c,'*Insert:*\x20%0',this['getItemLabel'](_0x443830['element'],_0x443830['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x583429['push']({'type':'deletion','content':RL(_0x56d84c,'*Remove:*\x20%0',this['getItemLabel'](_0x443830['element'],_0x443830['quantity']))});continue;case'addContainer':_0x583429['push']({'type':'insertion','content':RL(_0x56d84c,'*Split:*\x20%0',this['getItemLabel'](_0x443830['element'],_0x443830['quantity']))});continue;case'removeContainer':_0x583429['push']({'type':'deletion','content':RL(_0x56d84c,'*Merge:*\x20%0',this['getItemLabel'](_0x443830['element'],_0x443830['quantity']))});continue;case'addFormat':_0x3986d1['push'](_0x443830['key']);continue;case'removeFormat':_0xe08a2c['push'](_0x443830['key']);continue;default:_0x583429['push'](_0x443830);}if(_0x3986d1['length']){const _0x2c83cc=_0x3986d1['map'](_0xcc576f=>this['_attributeLabels']['has'](_0xcc576f)?this['_attributeLabels']['get'](_0xcc576f):_0xcc576f)['join'](',\x20');_0x583429['push']({'type':'format','content':RL(this['_locale'],'*Set\x20format:*\x20%0',_0x2c83cc)});}if(_0xe08a2c['length']){const _0x4fde6b=_0xe08a2c['map'](_0x57d89b=>this['_attributeLabels']['has'](_0x57d89b)?this['_attributeLabels']['get'](_0x57d89b):_0x57d89b)['join'](',\x20');_0x583429['push']({'type':'format','content':RL(this['_locale'],'*Remove\x20format:*\x20%0',_0x4fde6b)});}return _0x583429;}['_handleCustomCallbackDescription'](_0x904f1e){for(const _0x1627a8 of this['_customCallbacks']){const _0x9978f4=_0x1627a8(_0x904f1e);if(_0x9978f4&&'type'in _0x9978f4)return _0x9978f4;}}['_handleAttributeSuggestionDescription'](_0x1088b1,_0x931b4b){const _0x136563=_0x931b4b['data'],_0x37b46f=void 0x0===_0x136563['newValue']?'removeFormat':'addFormat';_0x1088b1['push']({'type':_0x37b46f,'key':_0x136563['key']});}['_handleRenameSuggestionDescription'](_0x8c3e7d,_0x129730){_0x8c3e7d['push']({'type':'format','content':RL(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x129730['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x258f50,_0xc8f79e,_0x3a0d11){if(this['_addDescriptionItems'](_0x258f50,_0xc8f79e),_0x3a0d11&&_0x3a0d11['getFirstRange']()&&!_0xc8f79e['getFirstRange']()['end']['isEqual'](_0x3a0d11['getFirstRange']()['start'])){const _0x3adc07=_0x258f50[_0x258f50['length']-0x1],_0x663aad='insertion'==_0xc8f79e['type']?'add':'remove';_0x3adc07&&'text'==_0x3adc07['type']&&(_0x3adc07[_0x663aad]+='\x0a');}}}class TrackChangesAIAssistant extends _0x13517b{['afterInit'](){const _0x271427=this['editor'],_0x1079a5=_0x271427['plugins']['get']('TrackChangesEditing');_0x271427['commands']['get']('showAIAssistant')&&_0x1079a5['enableCommand']('showAIAssistant');}}class TrackChangesAI extends _0x13517b{['afterInit'](){const _0x456bfa=this['editor'],_0x3e8261=_0x456bfa['plugins']['get']('TrackChangesEditing');_0x456bfa['commands']['get']('toggleAi')&&_0x3e8261['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x13517b{['afterInit'](){const _0x3802d7=this['editor'],_0x595059=_0x3802d7['plugins']['get']('TrackChangesEditing');_0x3802d7['commands']['get']('aiQuickAction')&&_0x595059['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x13517b{['afterInit'](){const _0x6edef3=this['editor'],_0x15b519=_0x6edef3['locale'];if(!_0x6edef3['plugins']['has']('AlignmentEditing'))return;const _0x1493b7=_0x6edef3['plugins']['get']('TrackChangesEditing');_0x1493b7['enableDefaultAttributesIntegration']('alignment'),_0x1493b7['descriptionFactory']['registerAttributeLabel']('alignment',RL(_0x15b519,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x7dcf61=this['editor'],_0xf7257d=_0x7dcf61['locale'];_0x7dcf61['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x44d414=>{if('formatBlock'!=_0x44d414['type'])return;const {data:_0x351419}=_0x44d414;if(_0x351419&&'alignment'==_0x351419['commandName']){const _0x520ff9=_0x351419['commandParams'][0x0]['value'];return{'type':'format','content':RL(_0xf7257d,'*Format:*\x20%0',function(_0xb34d37){switch(_0xb34d37){case'left':return RL(_0xf7257d,'FORMAT_ALIGN_TO_LEFT');case'right':return RL(_0xf7257d,'FORMAT_ALIGN_TO_RIGHT');case'center':return RL(_0xf7257d,'FORMAT_ALIGN_TO_CENTER');case'justify':return RL(_0xf7257d,'FORMAT_JUSTIFY_TEXT');}}(_0x520ff9))};}});}}const PL=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x13517b{['afterInit'](){const _0x54c9cf=this['editor'],_0x430a48=_0x54c9cf['plugins']['get']('TrackChangesEditing'),_0x4b7a04=_0x54c9cf['locale'];for(const _0x379a98 of PL){if(!_0x54c9cf['plugins']['has'](_0x379a98))continue;const _0x595e71=_0x379a98['slice'](0x0,-0x7)['toLowerCase'](),_0x2bbc0f='FORMAT_'+_0x595e71['toUpperCase']();_0x430a48['enableDefaultAttributesIntegration'](_0x595e71),_0x430a48['descriptionFactory']['registerAttributeLabel'](_0x595e71,RL(_0x4b7a04,_0x2bbc0f));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5cb1bf=this['editor'],_0x206b39=_0x5cb1bf['locale'],_0x2544ad=_0x5cb1bf['plugins']['get']('TrackChangesEditing');function _0x375249(_0xf09cf3,_0x1af97b){_0x2544ad['descriptionFactory']['registerDescriptionCallback'](_0x47ab0c=>{if('formatInline'!=_0x47ab0c['type'])return;const {data:_0x385b81}=_0x47ab0c;return _0x385b81&&_0x385b81['commandName']===_0xf09cf3?_0x385b81['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0x206b39,'*Format:*\x20%0',_0x1af97b)}:{'type':'format','content':RL(_0x206b39,'*Remove\x20format:*\x20%0',_0x1af97b)}:void 0x0;});}_0x375249('bold',RL(_0x206b39,'FORMAT_BOLD')),_0x375249('italic',RL(_0x206b39,'FORMAT_ITALIC')),_0x375249('underline',RL(_0x206b39,'FORMAT_UNDERLINE')),_0x375249('code',RL(_0x206b39,'FORMAT_CODE')),_0x375249('strikethrough',RL(_0x206b39,'FORMAT_STRIKETHROUGH')),_0x375249('subscript',RL(_0x206b39,'FORMAT_SUBSCRIPT')),_0x375249('superscript',RL(_0x206b39,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x13517b{['afterInit'](){const _0x555c23=this['editor'],_0x1a5736=_0x555c23['locale'];if(!_0x555c23['plugins']['has']('BlockQuoteEditing'))return;const _0x4c07dd=_0x555c23['plugins']['get']('TrackChangesEditing'),_0x59bd6a=this['editor']['commands']['get']('blockQuote');_0x4c07dd['enableCommand']('blockQuote',(_0x9d7e4d,_0x479540={})=>{const _0x5b1c05=this['editor']['model']['document']['selection'],_0x269fde=_0x479540&&void 0x0!==_0x479540['forceValue']?_0x479540['forceValue']:!_0x59bd6a['value'];let _0x4eaf2f=[];if(_0x269fde){const _0x471808=Array['from'](_0x5b1c05['getSelectedBlocks']())['filter'](_0x46a825=>ML(_0x46a825)||function(_0x3b3cee,_0x5d5834){const _0x4f9d5a=_0x5d5834['checkChild'](_0x3b3cee['parent'],'blockQuote'),_0x536455=_0x5d5834['checkChild'](['$root','blockQuote'],_0x3b3cee);return _0x4f9d5a&&_0x536455;}(_0x46a825,this['editor']['model']['schema']));_0x4eaf2f=CL(_0x471808,_0x555c23['model']);}else{const _0x3e4207=Array['from'](_0x5b1c05['getSelectedBlocks']())['filter'](_0x506ece=>ML(_0x506ece));_0x4eaf2f=CL(_0x3e4207,_0x555c23['model']);}_0x555c23['model']['change'](()=>{for(const _0x4dd854 of _0x4eaf2f)_0x4c07dd['markBlockFormat'](_0x4dd854,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x269fde}]});});}),_0x4c07dd['descriptionFactory']['registerDescriptionCallback'](_0x4919b8=>{const {data:_0x2202a6}=_0x4919b8;if(_0x2202a6&&'blockQuote'==_0x2202a6['commandName']){const _0x2a02fa=RL(_0x1a5736,'ELEMENT_BLOCK_QUOTE');return _0x2202a6['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0x1a5736,'*Set\x20format:*\x20%0',_0x2a02fa)}:{'type':'format','content':RL(_0x1a5736,'*Remove\x20format:*\x20%0',_0x2a02fa)};}});}}function ML(_0x3e2d27){return'blockQuote'==_0x3e2d27['parent']['name'];}class TrackChangesBookmark extends _0x13517b{['afterInit'](){const _0x20bfaf=this['editor'],_0xfd1d17=_0x20bfaf['locale'],_0x35075b=_0x20bfaf['plugins']['get']('TrackChangesEditing');_0x20bfaf['plugins']['has']('BookmarkEditing')&&(_0x35075b['enableCommand']('insertBookmark'),_0x35075b['enableDefaultAttributesIntegration']('updateBookmark'),_0x35075b['descriptionFactory']['registerDescriptionCallback'](_0x2685a7=>{if('insertion'!=_0x2685a7['type']&&'deletion'!=_0x2685a7['type']&&'attribute'!=_0x2685a7['type'])return;const _0x58aaee=_0x2685a7['getContainedElement']();if(null==_0x58aaee)return;if(!_0x58aaee['is']('element','bookmark'))return;const _0x9a6633=_0x58aaee['getAttribute']('bookmarkId');if('insertion'==_0x2685a7['type'])return{'type':'insertion','content':RL(_0xfd1d17,'*Insert:*\x20%0','\x22'+_0x9a6633+'\x22\x20'+RL(_0xfd1d17,'ELEMENT_BOOKMARK'))};if('deletion'==_0x2685a7['type'])return{'type':'deletion','content':RL(_0xfd1d17,'*Remove:*\x20%0','\x22'+_0x9a6633+'\x22\x20'+RL(_0xfd1d17,'ELEMENT_BOOKMARK'))};const {data:_0x4c5e91}=_0x2685a7;if(!_0x4c5e91||'bookmarkId'!=_0x4c5e91['key'])return;return{'type':'format','content':RL(_0xfd1d17,'*Set\x20bookmark:*\x20%0','\x22'+_0x4c5e91['newValue']+'\x22')};}));}}class TrackChangesCaseChange extends _0x13517b{['afterInit'](){const _0x2d4689=this['editor'];_0x2d4689['plugins']['has']('CaseChange')&&(_0x2d4689['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x2d4689['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x2d4689['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class TrackChangesCKBox extends _0x13517b{['afterInit'](){const _0x46060f=this['editor'];_0x46060f['commands']['get']('ckbox')&&_0x46060f['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class TrackChangesCodeBlock extends _0x13517b{['afterInit'](){const _0x237cfe=this['editor'];if(!_0x237cfe['plugins']['has']('CodeBlock'))return;const _0x3e7be9=_0x237cfe['plugins']['get']('TrackChangesEditing'),_0x2ccc43=_0x237cfe['locale'],_0x1d7814=_0x237cfe['config']['get']('codeBlock')['languages'],_0x3ba838=_0x237cfe['commands']['get']('codeBlock');_0x3e7be9['enableCommand']('indentCodeBlock'),_0x3e7be9['enableCommand']('outdentCodeBlock'),_0x3e7be9['enableCommand']('codeBlock',(_0x5628f8,_0x22cad3={})=>{const _0x46fc4a=_0x237cfe['model'],_0x320294=_0x237cfe['model']['document']['selection'],_0x1bde00=_0x22cad3&&void 0x0!==_0x22cad3['forceValue']?_0x22cad3['forceValue']:!_0x3ba838['value'];let _0x188769;_0x22cad3['language']||(_0x22cad3['language']=_0x1d7814[0x0]['language']),_0x188769=_0x1bde00?Array['from'](_0x320294['getSelectedBlocks']())['filter'](_0x305eb7=>NL(_0x305eb7)||function(_0x3ffccb,_0x22d7fb){if(_0x3ffccb['is']('rootElement')||_0x22d7fb['isLimit'](_0x3ffccb))return!0x1;return _0x22d7fb['checkChild'](_0x3ffccb['parent'],'codeBlock');}(_0x305eb7,_0x46fc4a['schema'])):Array['from'](_0x320294['getSelectedBlocks']())['filter'](_0x2ded03=>NL(_0x2ded03));const _0x507f5d=CL(_0x188769,_0x46fc4a);_0x46fc4a['change'](()=>{for(const _0x323cdd of _0x507f5d)_0x3e7be9['markBlockFormat'](_0x323cdd,{'commandName':'codeBlock','commandParams':[{..._0x22cad3,'forceValue':_0x1bde00}],'formatGroupId':'blockName'});});}),(_0x3e7be9['descriptionFactory']['registerElementLabel']('codeBlock',_0x3a15e3=>RL(_0x2ccc43,'ELEMENT_CODE_BLOCK',_0x3a15e3)),_0x3e7be9['descriptionFactory']['registerDescriptionCallback'](_0x4e8fc5=>{if('formatBlock'!=_0x4e8fc5['type'])return;const _0x134c21=_0x2ccc43['t'],{data:_0x219e36}=_0x4e8fc5;if(!_0x219e36||'codeBlock'!=_0x219e36['commandName'])return;const _0x272f6f=_0x219e36['commandParams'][0x0]['language'],_0x5c4e5f=_0x1d7814['find'](_0x485a92=>_0x485a92['language']===_0x272f6f)['label'],_0x53575d=_0x134c21(_0x5c4e5f)['toLowerCase']();return _0x219e36['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0x2ccc43,'*Set\x20format:*\x20%0',RL(_0x2ccc43,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x53575d+')')}:{'type':'format','content':RL(_0x2ccc43,'*Remove\x20format:*\x20%0',RL(_0x2ccc43,'ELEMENT_CODE_BLOCK',0x1))};}));}}function NL(_0x94f540){return'codeBlock'==_0x94f540['name'];}class TrackChangesComments extends _0x13517b{['afterInit'](){const _0x392e49=this['editor'];if(!_0x392e49['plugins']['has']('CommentsEditing'))return;_0x392e49['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x13517b{static get['requires'](){return[_0x229d51];}['init'](){const _0x3a5951=this['editor'],_0x509da4=_0x3a5951['plugins']['get']('TrackChangesEditing');_0x509da4['enableCommand']('delete');const _0x4321f1=_0x3a5951['commands']['get']('deleteForward');_0x509da4['enableCommand']('deleteForward',(_0x46b56d,_0x273824={})=>{const _0x86ad2=_0x3a5951['model']['createSelection'](_0x3a5951['model']['document']['selection']);_0x86ad2['isCollapsed']&&_0x3a5951['model']['modifySelection'](_0x86ad2,{'direction':'forward','unit':_0x273824['unit']});const _0x20e417=_0x86ad2['getFirstRange'](),_0x50a65b=_0x19f373['fromRange'](_0x20e417);let _0x34b783;_0x46b56d(_0x273824),_0x34b783='$graveyard'==_0x50a65b['root']['rootName']?_0x3a5951['model']['createRange'](_0x20e417['start']):_0x3a5951['model']['createRange'](_0x50a65b['start'],_0x50a65b['end']),_0x50a65b['detach'](),_0x3a5951['model']['enqueueChange'](_0x4321f1['buffer']['batch'],_0x7fd7c7=>{_0x4321f1['buffer']['lock'](),_0x7fd7c7['setSelection'](_0x7fd7c7['createRange'](_0x34b783['end'])),_0x4321f1['buffer']['unlock']();});});}}class TrackChangesList extends _0x13517b{['afterInit'](){const _0x16bd69=this['editor'];if(!_0x16bd69['plugins']['has']('ListEditing'))return;const _0x1c991f=_0x16bd69['locale'],_0x5c75bb=_0x16bd69['plugins']['get']('TrackChangesEditing'),_0x260823=_0x16bd69['plugins']['has']('TodoListEditing'),_0x46a8cf=!!_0x16bd69['config']['get']('list.multiBlock');function _0x22a5f1(_0x393d1d){return{'type':'format','content':''+RL(_0x1c991f,'*Set\x20format:*\x20%0',_0x393d1d)};}function _0x3602bd(_0x3f1bed){return{'type':'format','content':''+RL(_0x1c991f,'*Remove\x20format:*\x20%0',_0x3f1bed)};}_0x5c75bb['enableDefaultAttributesIntegration']('numberedList'),_0x5c75bb['enableDefaultAttributesIntegration']('bulletedList'),_0x5c75bb['enableDefaultAttributesIntegration']('customNumberedList'),_0x5c75bb['enableDefaultAttributesIntegration']('customBulletedList'),_0x5c75bb['enableDefaultAttributesIntegration']('indentList'),_0x5c75bb['enableDefaultAttributesIntegration']('outdentList'),_0x5c75bb['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x5c75bb['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x46a8cf&&(_0x5c75bb['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x5c75bb['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x260823&&(_0x5c75bb['enableDefaultAttributesIntegration']('todoList'),_0x5c75bb['enableDefaultAttributesIntegration']('checkTodoList'),_0x5c75bb['descriptionFactory']['registerDescriptionCallback'](_0x459359=>{const {data:_0x172c59}=_0x459359;if(_0x172c59&&'todoListChecked'==_0x172c59['key'])return{'type':'format','content':_0x172c59['newValue']?RL(_0x1c991f,'*Check\x20item*'):RL(_0x1c991f,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x29c42a=>{if(_0x29c42a['batch']['isUndo'])return!0x1;let _0x4e3dac=!0x1;const _0x5293d1=_0x5c75bb['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2ad558=>'todoListChecked'===_0x5c75bb['_getAttributeKey'](_0x2ad558));for(const _0x18ec13 of _0x5293d1){'todo'!=_0x18ec13['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x5c75bb['_findSuggestions'](_0x18ec13['getFirstRange'](),'attribute')['find'](_0xccd818=>'listType'===_0x5c75bb['_getAttributeKey'](_0xccd818['suggestion']))||(_0x29c42a['removeMarker'](_0x18ec13['getFirstMarker']()),_0x4e3dac=!0x0));}return _0x4e3dac;})),_0x5c75bb['descriptionFactory']['registerAttributeLabel']('listIndent',RL(_0x1c991f,'FORMAT_INDENT'));const _0x47c193={'type':'format','content':''};_0x5c75bb['descriptionFactory']['registerDescriptionCallback'](_0x11d1b9=>{const {data:_0x340031}=_0x11d1b9;if(!_0x340031||'listType'!=_0x340031['key'])return;let _0xf12955=_0x11d1b9['head'];for(;_0xf12955;){if(_0xf12955['data']&&(('listStyle'==_0xf12955['data']['key']||'listMarkerStyle'==_0xf12955['data']['key'])&&(_0xf12955['data']['newValue']&&'default'!=_0xf12955['data']['newValue']||'default'!=_0xf12955['data']['oldValue']&&!_0x340031['newValue'])||!_0x46a8cf&&_0xf12955['data']['key']==qL))return _0x47c193;_0xf12955=_0xf12955['next'];}if(null==_0x340031['newValue'])switch(_0x340031['oldValue']){case'bulleted':return _0x3602bd(RL(_0x1c991f,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x3602bd(RL(_0x1c991f,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3602bd(RL(_0x1c991f,'ELEMENT_TODO_LIST'));}switch(_0x340031['newValue']){case'bulleted':return _0x22a5f1(RL(_0x1c991f,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x22a5f1(RL(_0x1c991f,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x22a5f1(RL(_0x1c991f,'ELEMENT_TODO_LIST'));}}),_0x5c75bb['descriptionFactory']['registerDescriptionCallback'](_0x48ac20=>{const {data:_0x258357}=_0x48ac20;if(_0x258357&&'listIndent'==_0x258357['key'])return null==_0x258357['newValue']||null==_0x258357['oldValue']&&0x0==_0x258357['newValue']?_0x47c193:void 0x0;}),_0x5c75bb['descriptionFactory']['registerDescriptionCallback'](_0x41996d=>{if('attribute'!=_0x41996d['type'])return;const {data:_0x510589}=_0x41996d;if(!_0x510589||'listItemId'!=_0x510589['key'])return;const _0x1a8120=LL(_0x41996d);return'newValue'==_0x1a8120?{'type':'format','content':RL(_0x1c991f,'*Merge:*\x20list\x20item')}:'oldValue'==_0x1a8120?{'type':'format','content':RL(_0x1c991f,'*Split:*\x20list\x20item')}:_0x47c193;}),_0x16bd69['model']['document']['registerPostFixer'](_0x33bef7=>this['listItemIdFixer'](_0x33bef7)),_0x16bd69['model']['document']['registerPostFixer'](_0x53df7b=>this['noTrackChangesFixer'](_0x53df7b)),_0x16bd69['model']['document']['on']('change:data',(_0x522b60,_0x1fe93e)=>{if(_0x1fe93e['isUndo']||!_0x1fe93e['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x3449bd){if(_0x3449bd['batch']['isUndo']||!_0x3449bd['batch']['isLocal'])return!0x1;let _0x11344d=!0x1;const _0x12b607=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3fc109=>_0x3fc109['data']&&'listItemId'==_0x3fc109['data']['key'])['filter'](_0x3e6c17=>_0x3e6c17['data']['newValue']&&_0x3e6c17['data']['oldValue']);for(const _0x3184ab of _0x12b607)LL(_0x3184ab)||(_0x3449bd['removeMarker'](_0x3184ab['getFirstMarker']()),_0x11344d=!0x0);return _0x11344d;}['noTrackChangesFixer'](_0x206218){if(_0x206218['batch']['isUndo']||!_0x206218['batch']['isLocal'])return!0x1;const _0x35e096=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x35e096['trackChangesCommand']['value'])return!0x1;let _0x143f98=!0x1;const _0x569a23=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x1049af=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x11d1ba=>'attribute'==_0x11d1ba['type'])['filter'](_0x44fd72=>_0x569a23['includes'](_0x44fd72['attributeKey']));if(0x0==_0x1049af['length'])return _0x143f98;for(const _0x1381b7 of _0x1049af){const _0x21cf3f=_0x35e096['_findSuggestions'](_0x1381b7['range'],'attribute')['filter'](_0x450eb6=>!_0x450eb6['meta']['isNextTo'])['map'](_0x2f6c25=>_0x2f6c25['suggestion'])['filter'](_0x34ec69=>{const _0x1946a7=_0x35e096['_getAttributeKey'](_0x34ec69);return _0x569a23['includes'](_0x1946a7);});if(_0x21cf3f['length']){for(const _0x26f384 of _0x21cf3f)_0x206218['removeMarker'](_0x26f384['getFirstMarker']());_0x143f98=!0x0;}}return _0x143f98;}['assureChains'](){const _0x1b8758=this['editor']['plugins']['get']('TrackChangesEditing'),_0x9c40f7=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x3e6bbf;const _0x52fd5f=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x5b0bd4=>{if(_0x5b0bd4['data']['oldRange']||!_0x5b0bd4['data']['newRange'])return null;if(!_0x5b0bd4['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x562f79}=_0x1b8758['_splitMarkerName'](_0x5b0bd4['name']);if(!_0x1b8758['hasSuggestion'](_0x562f79))return null;const _0x2439b6=_0x1b8758['getSuggestion'](_0x562f79);return _0x9c40f7['includes'](_0x2439b6['data']['key']);})['map'](_0x26b608=>{const {id:_0x36eeda}=_0x1b8758['_splitMarkerName'](_0x26b608['name']),_0x5c31fc=_0x1b8758['getSuggestion'](_0x36eeda);return _0x3e6bbf=_0x5c31fc['attributes']['groupId'],_0x5c31fc['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x52fd5f['size'])return;const _0x2ad62d=_0x1b8758['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x517f1b=>'attribute'==_0x517f1b['type']&&_0x517f1b['data']&&_0x9c40f7['includes'](_0x517f1b['data']['key'])&&_0x517f1b['attributes']['groupId']!=_0x3e6bbf)['map'](_0x39299e=>({'listItem':_0x39299e['getFirstRange']()['start']['nodeAfter'],'groupId':_0x39299e['attributes']['groupId']})),_0x37bb90=new Set();for(const {groupId:_0x1090dd,listItem:_0x3a8323}of _0x2ad62d)_0x52fd5f['has'](_0x3a8323)&&_0x37bb90['add'](_0x1090dd);for(const _0x562915 of _0x1b8758['getSuggestions']())_0x37bb90['has'](_0x562915['attributes']['groupId'])&&_0x562915['setAttribute']('groupId',_0x3e6bbf);}['_supportLegacySuggestions'](){const _0x287883=this['editor'],_0x99777f=_0x287883['locale'],_0x589574=_0x287883['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x589574['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x4a1407,_0x3c2c4d){const _0x1039bd=[];for(let _0x3e46f3 of _0x4a1407)_0x3e46f3['start']['nodeAfter']===_0x3e46f3['end']['parent']&&(_0x3e46f3=_0x287883['model']['createRange'](_0x287883['model']['createPositionAt'](_0x3e46f3['start']['nodeAfter'],0x0))),_0x1039bd['push'](_0x3e46f3);_0x287883['model']['change'](_0x298050=>{const _0x8bdaad=_0x287883['model']['document']['selection'],_0x22f6d7=Array['from'](_0x8bdaad['getRanges']())['map'](_0x56750b=>_0x19f373['fromRange'](_0x56750b));_0x298050['setSelection'](_0x1039bd),_0x287883['commands']['get'](_0x3c2c4d['commandName'])['refresh'](),_0x3c2c4d['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x287883['execute'](_0x3c2c4d['commandName'],..._0x3c2c4d['commandParams']),_0x298050['setSelection'](_0x22f6d7);for(const _0x295e1f of _0x22f6d7)_0x295e1f['detach']();});}),_0x589574['descriptionFactory']['registerElementLabel'](function(_0xbcb2db){const _0x285f9d=!_0x287883['model']['schema']['isObject'](_0xbcb2db),_0x5f1aec=_0xbcb2db['previousSibling'],_0xfe7530=_0xbcb2db['nextSibling'],_0x400b48=_0xbcb2db['getAttribute']('listItemId'),_0x4df66e=!_0x5f1aec||_0x5f1aec['getAttribute']('listItemId')!==_0x400b48,_0x5bfcf2=!_0xfe7530||_0xfe7530['getAttribute']('listItemId')!==_0x400b48;return _0x285f9d&&Boolean(_0x400b48)&&_0x4df66e&&_0x5bfcf2;},_0x133876=>RL(_0x99777f,'ELEMENT_LIST_ITEM',_0x133876));}['_registerLegacyDescription'](){const _0x2d10ae=this['editor'],_0x1a525c=_0x2d10ae['locale'];function _0x837cb(_0x8ff8c5){const _0xffbf22=_0x2d10ae['commands']['get']('bulletedList')['value'],_0xcf4cdf=_0x2d10ae['commands']['get']('numberedList')['value'];return'numberedList'===_0x8ff8c5?_0xffbf22:_0xcf4cdf;}_0x2d10ae['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x731d06){if('formatBlock'!=_0x731d06['type'])return;const {data:_0x23a6e9}=_0x731d06;if(!_0x23a6e9)return;let _0xac99e5,_0x1a2847,_0x4f7167,_0x23bf69;switch(_0x23a6e9['commandName']){case'bulletedList':_0x4f7167=_0x23a6e9['commandParams'][0x0]['forceValue'],_0x23bf69=_0x837cb(_0x23a6e9['commandName']),_0xac99e5=_0x4f7167?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x23bf69&&_0x2d10ae['config']['get']('list.multiBlock')||(_0xac99e5='*Change\x20to:*\x20%0'),_0x1a2847={'type':'format','content':RL(_0x1a525c,_0xac99e5,RL(_0x1a525c,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x4f7167=_0x23a6e9['commandParams'][0x0]['forceValue'],_0x23bf69=_0x837cb(_0x23a6e9['commandName']),_0xac99e5=_0x4f7167?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x23bf69&&_0x2d10ae['config']['get']('list.multiBlock')||(_0xac99e5='*Change\x20to:*\x20%0'),_0x1a2847={'type':'format','content':RL(_0x1a525c,_0xac99e5,RL(_0x1a525c,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0xac99e5='*Indent:*\x20%0',_0x1a2847={'type':'format','content':RL(_0x1a525c,_0xac99e5,RL(_0x1a525c,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0xac99e5=function(_0x498685){const _0x5dc3b2=_0x498685['getFirstRange']();let _0x10edb4=_0x5dc3b2['start']['nodeAfter'];for(;_0x10edb4&&_0x5dc3b2['containsItem'](_0x10edb4);){if(_0x10edb4['getAttribute']('listIndent')>0x0)return!0x1;_0x10edb4=_0x10edb4['nextSibling'];}return!0x0;}(_0x731d06)?RL(_0x1a525c,'*Format:*\x20remove\x20from\x20%0',RL(_0x1a525c,function(_0x14e62b){return'ELEMENT_'+_0x14e62b['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x731d06))):RL(_0x1a525c,'*Outdent:*\x20%0',RL(_0x1a525c,'ELEMENT_LIST_ITEM')),_0x1a2847={'type':'format','content':_0xac99e5};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x23a6e9['multipleBlocks']&&(_0xac99e5='*Merge:*\x20%0',_0x1a2847={'type':'deletion','content':RL(_0x1a525c,_0xac99e5,RL(_0x1a525c,'ELEMENT_LIST_ITEM'))});}return _0x1a2847;});}}function LL(_0x5e23a0){let _0x20fd8d=_0x5e23a0['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x20fd8d;){const _0x3932b6=_0x20fd8d['getAttribute']('listItemId');if(!_0x3932b6)return!0x1;if(_0x3932b6==_0x5e23a0['data']['newValue'])return'newValue';if(_0x3932b6==_0x5e23a0['data']['oldValue'])return'oldValue';_0x20fd8d=_0x20fd8d['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x13517b{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0xd4ac58=this['editor']['config']['get']('list.properties'),_0x14b648=this['editor']['plugins']['get']('TrackChangesEditing');_0xd4ac58['styles']&&_0x14b648['enableDefaultAttributesIntegration']('listStyle'),_0xd4ac58['reversed']&&_0x14b648['enableDefaultAttributesIntegration']('listReversed'),_0xd4ac58['startIndex']&&_0x14b648['enableDefaultAttributesIntegration']('listStart');const _0x56622d={'type':'format','content':''};_0x14b648['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x45142a=this['editor']['locale'];_0x14b648['descriptionFactory']['registerAttributeLabel']('listReversed',RL(_0x45142a,'FORMAT_LIST_REVERSED')),_0x14b648['descriptionFactory']['registerDescriptionCallback'](_0x1f6f6b=>{const {data:_0x2cca8d}=_0x1f6f6b;if(_0x2cca8d&&'listReversed'==_0x2cca8d['key'])return null==_0x2cca8d['newValue']||0x0==_0x2cca8d['newValue']&&null==_0x2cca8d['oldValue']?_0x56622d:void 0x0;}),_0x14b648['descriptionFactory']['registerAttributeLabel']('listStart',RL(_0x45142a,'FORMAT_LIST_START')),_0x14b648['descriptionFactory']['registerDescriptionCallback'](_0x4b7132=>{const {data:_0x2ca860}=_0x4b7132;if(_0x2ca860&&'listStart'==_0x2ca860['key'])return null==_0x2ca860['newValue']||0x1==_0x2ca860['newValue']&&null==_0x2ca860['oldValue']?_0x56622d:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x1e706c=>{if(_0x1e706c['batch']['isUndo'])return!0x1;let _0x58edd7=!0x1;const _0x20c915=_0x14b648['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x851d0=>{const _0x4cd78a=_0x14b648['_getAttributeKey'](_0x851d0);return'listStart'==_0x4cd78a||'listReversed'==_0x4cd78a;});for(const _0x2d1fb1 of _0x20c915){const _0x2cb8a=_0x2d1fb1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x2cb8a||'customNumbered'==_0x2cb8a)continue;_0x14b648['_findSuggestions'](_0x2d1fb1['getFirstRange'](),'attribute')['find'](_0x42edae=>'listType'==_0x14b648['_getAttributeKey'](_0x42edae['suggestion']))||(_0x1e706c['removeMarker'](_0x2d1fb1['getFirstMarker']()),_0x58edd7=!0x0);}return _0x58edd7;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x103dd2){const _0x145ef7=this['editor']['locale'],{data:_0x5521c8}=_0x103dd2,_0x38cd40={'type':'format','content':''};if(!_0x5521c8||'listStyle'!=_0x5521c8['key'])return;if(!_0x5521c8['oldValue'])return'default'==_0x5521c8['newValue']?_0x38cd40:{'type':'format','content':''+RL(_0x145ef7,'*Set\x20format:*\x20%0',RL(_0x145ef7,this['_getTranslationKeyForListStyle'](_0x5521c8['newValue'])))};if(!_0x5521c8['newValue']){if('default'==_0x5521c8['oldValue'])return _0x38cd40;let _0x3602e2=_0x103dd2['head'];for(;_0x3602e2;){if(_0x3602e2['data']&&'listType'==_0x3602e2['data']['key']&&_0x3602e2['data']['newValue'])return _0x38cd40;_0x3602e2=_0x3602e2['next'];}return{'type':'format','content':''+RL(_0x145ef7,'*Remove\x20format:*\x20%0',RL(_0x145ef7,this['_getTranslationKeyForListStyle'](_0x5521c8['oldValue'])))};}if('default'!=_0x5521c8['newValue'])return{'type':'format','content':''+RL(_0x145ef7,'*Set\x20format:*\x20%0',RL(_0x145ef7,this['_getTranslationKeyForListStyle'](_0x5521c8['newValue'])))};let _0x47352c=_0x103dd2['head'];for(;_0x47352c;){if(_0x47352c['data']&&'listType'==_0x47352c['data']['key']&&_0x47352c['data']['newValue']&&_0x47352c['data']['oldValue'])return _0x38cd40;_0x47352c=_0x47352c['next'];}return{'type':'format','content':RL(_0x145ef7,'*Set\x20format:*\x20%0',RL(_0x145ef7,'ELEMENT_'+_0x103dd2['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x5080bd=this['editor'],_0xe30dc7=_0x5080bd['locale'];_0x5080bd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x332fd6=>{if('formatBlock'!=_0x332fd6['type'])return;const {data:_0x1dfe71}=_0x332fd6;if(!_0x1dfe71)return;let _0x177b00,_0x2aa37b;switch(_0x1dfe71['commandName']){case'listStyle':_0x177b00='*Change\x20to:*\x20%0',_0x2aa37b={'type':'format','content':RL(_0xe30dc7,_0x177b00,RL(_0xe30dc7,this['_getTranslationKeyForListStyle'](_0x1dfe71['commandParams'][0x0]['type'])))};break;case'listReversed':_0x177b00=_0x1dfe71['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x2aa37b={'type':'format','content':RL(_0xe30dc7,_0x177b00)};break;case'listStart':_0x177b00='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2aa37b={'type':'format','content':RL(_0xe30dc7,_0x177b00,_0x1dfe71['commandParams'][0x0]['startIndex'])};}return _0x2aa37b;});}['_getTranslationKeyForListStyle'](_0x50fe61){return'ELEMENT_'+function(_0x19a6aa){if(DL['includes'](_0x19a6aa))return'bulleted';if(QL['includes'](_0x19a6aa))return'numbered';return null;}(_0x50fe61)['toUpperCase']()+'_LIST_'+_0x50fe61['toUpperCase']()['replace'](/-/g,'_');}}const DL=['disc','circle','square'],QL=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class TrackChangesEmoji extends _0x13517b{['afterInit'](){const _0x54bfab=this['editor'];_0x54bfab['commands']['get']('emoji')&&_0x54bfab['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x13517b{static get['requires'](){return[_0x42baeb];}['init'](){const _0x5ad433=this['editor'],_0x12d7fa=_0x5ad433['plugins']['get']('TrackChangesEditing'),_0x467759=_0x5ad433['commands']['get']('enter');_0x12d7fa['enableCommand']('enter',()=>{_0x5ad433['model']['change'](_0x55d0c5=>{const _0x38be0a=_0x5ad433['model']['document']['selection'],_0x3b5bb5=_0x38be0a['getFirstPosition'](),_0x2cebcc=_0x19f373['fromRange'](_0x38be0a['getFirstRange']());if(_0x467759['enterBlock'](_0x55d0c5)){const _0xcede98=_0x5ad433['model']['createPositionAt'](_0x3b5bb5['parent']['nextSibling'],0x0),_0xb9a085=_0x55d0c5['createRange'](_0x3b5bb5,_0xcede98);_0x12d7fa['markInsertion'](_0xb9a085);}else _0x55d0c5['setSelection'](_0x55d0c5['createRange'](_0x2cebcc['end']));_0x2cebcc['detach'](),_0x467759['fire']('afterExecute',{'writer':_0x55d0c5});});});}}class TrackChangesFindAndReplace extends _0x13517b{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x3ee7a1=this['editor']['plugins']['get']('TrackChangesEditing');_0x3ee7a1['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x3ee7a1['enableCommand']('findNext'),_0x3ee7a1['enableCommand']('findPrevious'),_0x3ee7a1['enableCommand']('replace'),_0x3ee7a1['enableCommand']('replaceAll');}['handleFindCommand'](_0x3e5ad6,_0x2cc81f,_0x4329e8={}){const _0x4c7ddc=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x3e5ad6(_0x446538=>{let _0x2996de=('string'==typeof _0x2cc81f?_0x4c7ddc['findByTextCallback'](_0x2cc81f,_0x4329e8):_0x2cc81f)(_0x446538);Array['isArray'](_0x2996de)&&(_0x2996de={'results':_0x2996de,'searchText':'string'==typeof _0x2cc81f?_0x2cc81f:''});const _0x59013a=_0x2996de['results']['filter'](_0x42a2ee=>!0x1===this['_isInDeletionRange'](_0x42a2ee,_0x446538['item']));return{..._0x2996de,'results':_0x59013a};},_0x4329e8);}['_isInDeletionRange'](_0x1d5a18,_0x2f4cda){const _0x961eda=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x2f4cda,_0x1d5a18['start']),this['editor']['model']['createPositionAt'](_0x2f4cda,_0x1d5a18['end']));for(const _0x5df097 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x961eda['getIntersection'](_0x5df097['getRange']()))return!0x0;return!0x1;}}const $L=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x13517b{['afterInit'](){const _0x5dcf8b=this['editor']['locale'],_0x5a84f4=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x58face,commandName:_0x3f4e1a}of $L)this['editor']['plugins']['has'](_0x58face)&&_0x5a84f4['enableDefaultAttributesIntegration'](_0x3f4e1a);_0x5a84f4['descriptionFactory']['registerAttributeLabel']('fontSize',RL(_0x5dcf8b,'FORMAT_FONT_SIZE')),_0x5a84f4['descriptionFactory']['registerAttributeLabel']('fontFamily',RL(_0x5dcf8b,'FORMAT_FONT_FAMILY')),_0x5a84f4['descriptionFactory']['registerAttributeLabel']('fontColor',RL(_0x5dcf8b,'FORMAT_FONT_COLOR')),_0x5a84f4['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',RL(_0x5dcf8b,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x7a6815=this['editor'],_0x4cd99e=_0x7a6815['locale'];_0x7a6815['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5ae463=>{const _0x442e61=_0x4cd99e['t'];if('formatInline'!=_0x5ae463['type'])return;const {data:_0x413ed1}=_0x5ae463;if(null!=_0x413ed1){if('fontSize'==_0x413ed1['commandName']){const _0x4c3261=_0x413ed1['commandParams'][0x0]['value'];if(_0x4c3261){const _0x56e6df=_0x442e61(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x2db569=>_0x2db569['model']==_0x4c3261)['title'])['toLowerCase']();return{'type':'format','content':RL(_0x4cd99e,'*Set\x20font\x20size:*\x20%0',_0x56e6df)};}return{'type':'format','content':RL(_0x4cd99e,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x413ed1['commandName']){const _0x577a28=_0x413ed1['commandParams'][0x0]['value'];return _0x577a28?{'type':'format','content':RL(_0x4cd99e,'*Set\x20font\x20family:*\x20%0',_0x577a28)}:{'type':'format','content':RL(_0x4cd99e,'*Reset\x20font\x20family*')};}if('fontColor'==_0x413ed1['commandName']){const _0x36f515=_0x413ed1['commandParams'][0x0]['value'];if(_0x36f515){const _0x3f3c44=Kt(this['editor']['config']['get']('fontColor.colors'))['find'](_0x3c5c31=>_0x3c5c31['model']==_0x36f515);let _0x8dac11=_0x36f515,_0x49daad='';return _0x3f3c44&&(_0x8dac11=_0x3f3c44['label'],_0x49daad=_0x442e61(_0x8dac11)['toLowerCase']()),{'type':'format','content':RL(_0x4cd99e,'*Set\x20font\x20color:*\x20%0',_0x49daad)['trim'](),'color':{'value':_0x36f515,'title':_0x49daad||_0x8dac11}};}return{'type':'format','content':RL(_0x4cd99e,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x413ed1['commandName']){const _0x3f4495=_0x413ed1['commandParams'][0x0]['value'];if(_0x3f4495){const _0x145579=Kt(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x2c6372=>_0x2c6372['model']==_0x3f4495);let _0x51721b=_0x3f4495,_0x4a7559='';return _0x145579&&(_0x51721b=_0x145579['label'],_0x4a7559=_0x442e61(_0x51721b)['toLowerCase']()),{'type':'format','content':RL(_0x4cd99e,'*Set\x20font\x20background\x20color:*\x20%0',_0x4a7559)['trim'](),'color':{'value':_0x3f4495,'title':_0x4a7559||_0x51721b}};}return{'type':'format','content':RL(_0x4cd99e,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x13517b{['afterInit'](){const {plugins:_0x45308c}=this['editor'];_0x45308c['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x45308c['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x180628,plugins:_0x2294dd,commands:_0x4d1443}=this['editor'],_0x46d90d=_0x2294dd['get']('TrackChangesEditing');_0x4d1443['get']('footnotesStyle')&&_0x46d90d['enableDefaultAttributesIntegration']('footnotesStyle'),_0x4d1443['get']('footnotesStart')&&_0x46d90d['enableDefaultAttributesIntegration']('footnotesStart'),_0x46d90d['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',RL(_0x180628,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x46d90d['descriptionFactory']['registerAttributeLabel']('footnotesListStart',RL(_0x180628,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x465285=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x17a6c7,commands:_0x5ab329}=this['editor'];_0x5ab329['get']('insertFootnote')&&_0x465285['enableCommand']('insertFootnote'),_0x465285['descriptionFactory']['registerElementLabel']('footnoteRef',_0x2f860b=>RL(_0x17a6c7,'ELEMENT_FOOTNOTE_REF',_0x2f860b)),_0x465285['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x2256f4=>RL(_0x17a6c7,'ELEMENT_FOOTNOTE_DEFINITION',_0x2256f4)),_0x465285['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x367f54=>RL(_0x17a6c7,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x367f54));}}class TrackChangesFormatPainter extends _0x13517b{['afterInit'](){const _0x1e2f36=this['editor'],_0x372bd3=_0x1e2f36['plugins']['get']('TrackChangesEditing'),_0x26e82e=_0x1e2f36['commands']['get']('copyFormat'),_0x205d94=_0x1e2f36['commands']['get']('pasteFormat');_0x26e82e&&_0x205d94&&(_0x372bd3['enableDefaultAttributesIntegration']('pasteFormat'),_0x372bd3['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x6bd686=this['editor'],_0x477db1=_0x6bd686['locale'];_0x6bd686['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xf4393c=>{if('formatBlock'!=_0xf4393c['type']&&'formatInline'!=_0xf4393c['type'])return;const {data:_0x2b7eb5}=_0xf4393c;if(_0x2b7eb5&&'pasteFormat'===_0x2b7eb5['commandName']){const _0x3657ff=[],_0x29ece3=_0x2b7eb5['commandParams'][0x0];for(const [_0x35e8bf,_0x58647a]of Object['entries'](_0x29ece3))_0x3657ff['push'](VL(_0x6bd686,_0x35e8bf,_0x58647a));return _0x3657ff['length']?{'type':'format','content':RL(_0x477db1,'*Set\x20format\x20to:*\x20%0',_0x3657ff['join'](',\x20'))}:{'type':'format','content':RL(_0x477db1,'*Remove\x20all\x20formatting*')};}});}}function VL(_0x52a46e,_0x54d0a8,_0x66135a){const _0x358ab4=_0x52a46e['locale']['t'],_0x5d62e6=_0x54d0a8['split'](/(?=[A-Z])/)['join']('\x20'),_0x3c1a16=_0x358ab4(_0x5d62e6['charAt'](0x0)['toUpperCase']()+_0x5d62e6['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x66135a)return _0x3c1a16;if('fontColor'===_0x54d0a8||'fontBackgroundColor'===_0x54d0a8){const _0x45e6d7=Kt(_0x52a46e['config']['get']('fontColor.colors'))['find'](_0x49c394=>_0x49c394['model']==_0x66135a);return _0x3c1a16+'\x20('+(_0x45e6d7?_0x358ab4(_0x45e6d7['label'])['toLowerCase']():_0x66135a)+')';}if('fontSize'===_0x54d0a8&&isNaN(parseFloat(_0x66135a))){const _0x5e0e55=_0x52a46e['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x52a46e['config']['get']('fontSize.options'))['find'](_0x522a4c=>_0x522a4c['model']==_0x66135a);return _0x3c1a16+'\x20('+(_0x5e0e55?_0x358ab4(_0x5e0e55['title'])['toLowerCase']():_0x66135a)+')';}return _0x3c1a16+'\x20('+_0x66135a+')';}class TrackChangesHeading extends _0x13517b{['_headingOptions'];['afterInit'](){const _0x4e9330=this['editor'];if(!_0x4e9330['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x4e9330['config']['get']('heading.options');const _0xe5ab1d=_0x4e9330['locale'],_0x43393c=_0x4e9330['plugins']['get']('TrackChangesEditing');_0x43393c['enableDefaultAttributesIntegration']('heading');for(const _0x1b5744 of this['_headingOptions'])'paragraph'!=_0x1b5744['model']&&_0x43393c['descriptionFactory']['registerElementLabel'](_0x1b5744['model'],_0x581b35=>{const _0x421431=this['_getHeadingLevel'](_0x1b5744['model']);return null!==_0x421431?_0x15fd38(_0x581b35,_0x421431):_0x52cb5a(_0x581b35,_0x1b5744['title']);});function _0x15fd38(_0x3858b9,_0x40f0a3){return RL(_0xe5ab1d,'ELEMENT_HEADING',[_0x3858b9,_0x40f0a3]);}function _0x52cb5a(_0x587893,_0x256e08){return RL(_0xe5ab1d,'ELEMENT_HEADING_CUSTOM',[_0x587893,_0x256e08]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x28155c=this['editor'],_0x31f1a0=_0x28155c['locale'];function _0x10b9be(_0x4faa73,_0x2ac98d){return RL(_0x31f1a0,'ELEMENT_HEADING_CUSTOM',[_0x4faa73,_0x2ac98d]);}_0x28155c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2f560d=>{if('formatBlock'!=_0x2f560d['type'])return;const {data:_0x101564}=_0x2f560d;if(_0x101564&&'heading'==_0x101564['commandName']){const _0x2d2780=_0x101564['commandParams'][0x0]['value'],_0xe476f4=this['_getHeadingLevel'](_0x2d2780);if(null!==_0xe476f4)return{'type':'format','content':RL(_0x31f1a0,'*Change\x20to:*\x20%0',(_0x38dce9=0x1,_0x5204ab=_0xe476f4,RL(_0x31f1a0,'ELEMENT_HEADING',[_0x38dce9,_0x5204ab])))};const _0xf46aff=this['_headingOptions']['find'](_0x61e9a2=>_0x61e9a2['model']===_0x2d2780)['title'];return{'type':'format','content':RL(_0x31f1a0,'*Change\x20to:*\x20%0',_0x10b9be(0x1,_0xf46aff))};}var _0x38dce9,_0x5204ab;});}['_getHeadingLevel'](_0x2d6e8d){const _0x22ffa1=_0x2d6e8d['match'](/^heading(\d+)/);if(_0x22ffa1)return _0x22ffa1[0x1];const _0x4188b4=this['_headingOptions']?.['find'](_0x3714d6=>_0x3714d6['model']==_0x2d6e8d);if(_0x4188b4&&_0x4188b4['view']){const _0x807540=_0x4188b4['view'],_0x4fd283=(_0x807540['name']??_0x807540)['match'](/^h(\d+)/);if(_0x4fd283)return _0x4fd283[0x1];}return null;}}class TrackChangesHighlight extends _0x13517b{['afterInit'](){const _0xa7f977=this['editor'];if(!_0xa7f977['plugins']['has']('HighlightEditing'))return;const _0x5645e6=_0xa7f977['plugins']['get']('TrackChangesEditing'),_0x55d0ed=_0xa7f977['locale'];_0x5645e6['enableDefaultAttributesIntegration']('highlight'),_0x5645e6['descriptionFactory']['registerAttributeLabel']('highlight',RL(_0x55d0ed,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x52f395=this['editor'],_0x2e27a8=_0x52f395['locale'];_0x52f395['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x25f81f=>{if('formatInline'!=_0x25f81f['type'])return;const {data:_0x181653}=_0x25f81f;if(_0x181653&&'highlight'==_0x181653['commandName']){const _0x4deedc=_0x2e27a8['t'],_0xdfbd8f=_0x181653['commandParams'][0x0]['value'];if(_0xdfbd8f){const _0xb89f82=_0x52f395['config']['get']('highlight.options')['find'](_0x11e82d=>_0x11e82d['model']==_0xdfbd8f),_0x91ab17=_0x4deedc(_0xb89f82['title'])['toLowerCase']();return{'type':'format','content':RL(_0x2e27a8,'*Set\x20highlight:*\x20%0',_0x91ab17),'color':{'value':_0xb89f82['color'],'title':_0xb89f82['title']}};}return{'type':'format','content':RL(_0x2e27a8,'*Remove\x20highlight*',RL(_0x2e27a8,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x13517b{['afterInit'](){const _0x4c5898=this['editor'];if(!_0x4c5898['plugins']['has']('HorizontalLineEditing'))return;_0x4c5898['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x39f677=_0x4c5898['plugins']['get']('TrackChangesEditing'),_0x34fee0=_0x4c5898['locale'];_0x39f677['descriptionFactory']['registerElementLabel']('horizontalLine',_0x4c4149=>RL(_0x34fee0,'ELEMENT_HORIZONTAL_LINE',_0x4c4149));}}class TrackChangesHtmlEmbed extends _0x13517b{['afterInit'](){const _0x46c80a=this['editor'];if(!_0x46c80a['plugins']['has']('HtmlEmbed'))return;const _0xe3a49=_0x46c80a['plugins']['get']('TrackChangesEditing'),_0x2f6744=_0x46c80a['locale'];_0xe3a49['descriptionFactory']['registerElementLabel']('rawHtml',_0x8df59f=>RL(_0x2f6744,'ELEMENT_HTML_EMBED',_0x8df59f)),_0xe3a49['enableDefaultAttributesIntegration']('htmlEmbed'),_0xe3a49['descriptionFactory']['registerDescriptionCallback'](_0x1cbc83=>{if('attribute'!=_0x1cbc83['type'])return;const {data:_0x1dc1ef}=_0x1cbc83;if(_0x1dc1ef&&'value'==_0x1dc1ef['key']&&_0x1cbc83['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x3e0776=RL(_0x2f6744,'ELEMENT_HTML_EMBED');return{'type':'format','content':RL(_0x2f6744,'*Change\x20%0\x20content*',_0x3e0776)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x41b488=this['editor'],_0x3047b9=_0x41b488['locale'];_0x41b488['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x41242e=>{if('formatBlock'!=_0x41242e['type'])return;const {data:_0x23eae3}=_0x41242e;if(_0x23eae3&&'htmlEmbed'==_0x23eae3['commandName']){const _0x3fe8a=RL(_0x3047b9,'ELEMENT_HTML_EMBED');return{'type':'format','content':RL(_0x3047b9,'*Change\x20%0\x20content*',_0x3fe8a)};}});}}class TrackChangesImage extends _0x13517b{['afterInit'](){const _0x2074cf=this['editor'];if(!_0x2074cf['plugins']['has']('ImageEditing'))return;const _0x48a829=_0x2074cf['plugins']['get']('TrackChangesEditing'),_0x506953=_0x2074cf['plugins']['get']('ImageUtils'),_0x2447f7=_0x2074cf['locale'];_0x48a829['enableCommand']('insertImage'),_0x48a829['descriptionFactory']['registerElementLabel']('imageBlock',_0x1ff9fd=>RL(_0x2447f7,'ELEMENT_IMAGE',_0x1ff9fd)),_0x48a829['descriptionFactory']['registerElementLabel']('imageInline',_0x4fd2be=>RL(_0x2447f7,'ELEMENT_INLINE_IMAGE',_0x4fd2be)),_0x48a829['descriptionFactory']['registerElementLabel']('caption',()=>RL(_0x2447f7,'ELEMENT_CAPTION')),_0x2074cf['plugins']['has']('ImageUploadEditing')&&_0x48a829['enableCommand']('uploadImage'),_0x2074cf['plugins']['has']('ImageBlockEditing')&&_0x2074cf['plugins']['has']('ImageInlineEditing')&&(_0x48a829['enableCommand']('imageTypeInline',(_0x293175,_0x4f7a24)=>{const _0x4e2269=_0x506953['getClosestSelectedImageElement'](_0x2074cf['model']['document']['selection']);_0x2074cf['model']['change'](()=>{_0x48a829['markBlockFormat'](_0x4e2269,{'commandName':'imageTypeInline','commandParams':[_0x4f7a24]},[],'convertBlockImageToInline');});}),_0x48a829['enableCommand']('imageTypeBlock',(_0x4907c9,_0x2b1806)=>{_0x2074cf['model']['change'](_0x53cdc1=>{let _0x5a2ed3=_0x506953['getClosestSelectedImageElement'](_0x2074cf['model']['document']['selection']),_0x498a38=_0x53cdc1['createRangeOn'](_0x5a2ed3);const _0x4197c4=_0x4ec256['fromPosition'](_0x498a38['start'],'toPrevious'),_0x49ef40=_0x4ec256['fromPosition'](_0x498a38['end'],'toNext');_0x48a829['forceDefaultExecution'](()=>_0x4907c9(_0x2b1806)),_0x5a2ed3=_0x506953['getClosestSelectedImageElement'](_0x2074cf['model']['document']['selection']),_0x498a38=_0x53cdc1['createRangeOn'](_0x5a2ed3);const _0x312e0c=_0x53cdc1['createRange'](_0x4197c4,_0x49ef40);_0x4197c4['detach'](),_0x49ef40['detach'](),_0x48a829['markBlockFormat'](_0x5a2ed3,{'commandName':'imageTypeInline','commandParams':[_0x2b1806]},[],'convertInlineImageToBlock'),_0x312e0c['start']['isBefore'](_0x498a38['start'])&&_0x48a829['markInsertion'](_0x53cdc1['createRange'](_0x312e0c['start'],_0x498a38['start']),'convertInlineImageToBlock'),_0x498a38['end']['isBefore'](_0x312e0c['end'])&&_0x48a829['markInsertion'](_0x53cdc1['createRange'](_0x498a38['end'],_0x312e0c['end']),'convertInlineImageToBlock');});}),_0x48a829['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x48a829['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x48a829['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x48a829['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x48a829['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x48a829['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0xc04d5f])=>{const _0x40f74d=_0x48a829['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x367982=_0xc04d5f['start'],_0x9d65e5=_0xc04d5f['end'];const _0x124487=_0x2074cf['model']['schema']['getNearestSelectionRange'](_0x367982,'backward'),_0x4141e9=_0x2074cf['model']['schema']['getNearestSelectionRange'](_0x9d65e5,'forward');_0x124487['isCollapsed']&&(_0x367982=_0x124487['start']),_0x4141e9['isCollapsed']&&(_0x9d65e5=_0x4141e9['end']),_0x40f74d([_0x2074cf['model']['createRange'](_0x367982,_0x9d65e5)]);}),_0x48a829['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x22e024),_0x48a829['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x22e024)),_0x2074cf['plugins']['has']('ImageCaptionEditing')&&(_0x48a829['enableCommand']('toggleImageCaption',(_0x16cc57,_0x42ec31)=>{const _0x83be01=_0x2074cf['plugins']['get']('ImageCaptionUtils');let _0x3d26d5=_0x506953['getClosestSelectedImageElement'](_0x2074cf['model']['document']['selection']),_0x248f4b=_0x83be01['getCaptionFromImageModelElement'](_0x3d26d5);_0x2074cf['model']['change'](()=>{if(_0x248f4b)return void _0x48a829['markDeletion'](_0x2074cf['model']['createRangeOn'](_0x248f4b));const _0x257938=_0x506953['isBlockImage'](_0x3d26d5);_0x16cc57(_0x42ec31),_0x3d26d5=_0x506953['getClosestSelectedImageElement'](_0x2074cf['model']['document']['selection']),_0x248f4b=_0x83be01['getCaptionFromImageModelElement'](_0x3d26d5),_0x48a829['markInsertion'](_0x2074cf['model']['createRangeOn'](_0x248f4b),_0x257938?null:'imageCaption');});}),_0x48a829['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x22e024));const _0x43752e=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x24447c(_0x4b6156,_0x508847){const _0x11959c=_0x43752e['findIndex'](({type:_0x3fb81f,subType:_0x429bd2})=>_0x4b6156['type']==_0x3fb81f&&_0x4b6156['subType']==_0x429bd2),_0x2a6549=_0x43752e['findIndex'](({type:_0x109dc8,subType:_0x517b58})=>_0x508847['type']==_0x109dc8&&_0x508847['subType']==_0x517b58);if(_0x11959c<0x0||_0x2a6549<0x0)return!0x1;const _0x212bd8=_0x4b6156['getFirstRange'](),_0x42307f=_0x508847['getFirstRange']();if((0x0==_0x11959c||0x1==_0x11959c)&&0x2==_0x2a6549&&_0x212bd8['isIntersecting'](_0x42307f))return!0x0;if(0x2==_0x11959c&&0x3==_0x2a6549){const _0x4935e7=_0x48a829['_findSuggestions'](_0x212bd8,'insertion')['filter'](({suggestion:_0x297ca2,meta:_0x185616})=>_0x185616['isOwn']&&'convertInlineImageToBlock'==_0x297ca2['subType']);if(_0x4935e7['length']>0x1&&_0x42307f['end']['isEqual'](_0x212bd8['start']))return!0x0;if(0x1==_0x4935e7['length']&&(_0x212bd8['start']['isEqual'](_0x42307f['end'])||_0x212bd8['end']['isEqual'](_0x42307f['start'])))return!0x0;}if(0x3==_0x11959c&&0x3==_0x2a6549&&_0x212bd8['start']['isBefore'](_0x42307f['start'])){const _0x1f2f77=_0x212bd8['end']['nodeAfter'],_0x4bc371=_0x42307f['start']['nodeBefore'];return _0x506953['isBlockImage'](_0x1f2f77)&&_0x1f2f77===_0x4bc371;}return!0x1;}function _0x22e024(_0x4d2174,_0x11e42c){return _0x24447c(_0x4d2174,_0x11e42c)?[_0x4d2174,_0x11e42c]:_0x24447c(_0x11e42c,_0x4d2174)?[_0x11e42c,_0x4d2174]:null;}_0x2074cf['plugins']['has']('ImageResize')&&(_0x48a829['enableDefaultAttributesIntegration']('resizeImage'),_0x48a829['descriptionFactory']['registerAttributeLabel']('resizedWidth',RL(_0x2447f7,'FORMAT_IMAGE_SIZE'))),_0x2074cf['plugins']['has']('ImageTextAlternativeEditing')&&_0x48a829['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x2074cf['plugins']['has']('PictureEditing')&&_0x48a829['descriptionFactory']['registerDescriptionCallback'](_0x12ade3=>{if('attribute'!=_0x12ade3['type'])return;const {data:_0x53dc93}=_0x12ade3;return _0x53dc93&&'sources'==_0x53dc93['key']?{'type':'format','content':''}:void 0x0;}),_0x2074cf['plugins']['has']('ImageSizeAttributes')&&_0x48a829['descriptionFactory']['registerDescriptionCallback'](_0x3ed9d7=>{if('attribute'!=_0x3ed9d7['type'])return;const {data:_0x15ba8a}=_0x3ed9d7;return!_0x15ba8a||'width'!=_0x15ba8a['key']&&'height'!=_0x15ba8a['key']?void 0x0:{'type':'format','content':''};}),_0x48a829['descriptionFactory']['registerDescriptionCallback'](_0x5da2bf=>{if(!!_0x43752e['find'](({type:_0x38c042,subType:_0x5bd716})=>_0x5da2bf['type']==_0x38c042&&_0x5da2bf['subType']==_0x5bd716))return _0x5da2bf['previous']?{}:void 0x0;}),_0x48a829['descriptionFactory']['registerDescriptionCallback'](_0x21402c=>{if('insertion'==_0x21402c['type']||'deletion'==_0x21402c['type']){const _0x51d637=_0x21402c['getContainedElement']();if(_0x51d637&&_0x51d637['is']('element','caption'))return{'type':'insertion'==_0x21402c['type']?'addObject':'removeObject','element':_0x51d637,'quantity':0x1};}}),_0x48a829['descriptionFactory']['registerDescriptionCallback'](_0x355de4=>'formatBlock'==_0x355de4['type']&&'convertInlineImageToBlock'==_0x355de4['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x355de4['type']&&'convertBlockImageToInline'==_0x355de4['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x48a829['descriptionFactory']['registerDescriptionCallback'](_0x38ac22=>{if('attribute'!=_0x38ac22['type'])return;const {data:_0x41a172}=_0x38ac22;if(!_0x41a172||'alt'!=_0x41a172['key'])return;const _0x561d26=_0x41a172['newValue'];return _0x561d26?{'type':'format','content':RL(_0x2447f7,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x561d26+'\x22')}:{'type':'format','content':RL(_0x2447f7,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3b185b=this['editor'],_0x59ed20=_0x3b185b['locale'];_0x3b185b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4389a7=>{if('formatBlock'!=_0x4389a7['type']&&'formatInline'!=_0x4389a7['type'])return;const {data:_0x464803}=_0x4389a7;if(_0x464803){if('imageTextAlternative'==_0x464803['commandName']){const _0x3fb487=_0x464803['commandParams'][0x0]['newValue'];return _0x3fb487?{'type':'format','content':RL(_0x59ed20,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3fb487+'\x22')}:{'type':'format','content':RL(_0x59ed20,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x464803['commandName']){const _0x302445=_0x464803['commandParams'][0x0]['width'];return _0x302445?{'type':'format','content':RL(_0x59ed20,'*Set\x20image\x20width:*\x20%0',_0x302445)}:{'type':'format','content':RL(_0x59ed20,'*Reset\x20image\x20width*')};}}});}}class TrackChangesImageReplace extends _0x13517b{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x3a17d8=this['editor']['locale'],_0x165567=this['editor']['plugins']['get']('TrackChangesEditing');_0x165567['enableDefaultAttributesIntegration']('replaceImageSource'),_0x165567['descriptionFactory']['registerDescriptionCallback'](_0x5c86a9=>{if('attribute'!=_0x5c86a9['type'])return;const {data:_0x549f2b}=_0x5c86a9;return _0x549f2b&&'src'==_0x549f2b['key']?_0x549f2b['newValue']&&_0x549f2b['oldValue']?{'type':'format','content':RL(_0x3a17d8,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x166850=this['editor']['plugins']['get']('TrackChangesEditing');_0x166850['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x166850['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x166850['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x166850['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x56c47d=this['editor'],_0x4275fe=_0x56c47d['locale'];_0x56c47d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4cbd18=>{if('formatBlock'!=_0x4cbd18['type']&&'formatInline'!=_0x4cbd18['type'])return;const {data:_0x30db0d}=_0x4cbd18;if(!_0x30db0d||'replaceImageSource'!=_0x30db0d['commandName'])return;return{'type':'format','content':RL(_0x4275fe,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x13517b{['afterInit'](){const _0x39ff9d=this['editor'];if(!_0x39ff9d['plugins']['has']('ImageStyleEditing'))return;const _0x519a87=_0x39ff9d['plugins']['get']('TrackChangesEditing'),_0x10cb11=_0x39ff9d['plugins']['get']('ImageUtils'),_0x50b2c8={};_0x519a87['enableCommand']('imageStyle',(_0xc7c942,_0x2800ed)=>{const _0x4f7eaa=_0x39ff9d['plugins']['get']('Users')['me'],_0x3c8035=_0x39ff9d['commands']['get']('imageStyle');let _0x13a251=_0x10cb11['getClosestSelectedImageElement'](_0x39ff9d['model']['document']['selection']),_0x2fa38d=_0x39ff9d['model']['createRangeOn'](_0x13a251),_0x2e10bc=_0x3c8035['value'];if(_0x2e10bc==_0x2800ed['value'])return;const _0x253afe={'commandName':'imageStyle','commandParams':[_0x2800ed],'formatGroupId':_0x5c5c0c()};_0x39ff9d['model']['change'](()=>{if(_0x519a87['getSuggestions']()['filter'](_0x2582a1=>_0x2582a1['isInContent']&&_0x4f7eaa==_0x2582a1['author']&&('formatBlock'==_0x2582a1['type']||'formatInline'==_0x2582a1['type'])&&('imageStylePreApply'==_0x2582a1['subType']||'imageStylePostApply'==_0x2582a1['subType'])&&_0x2582a1['getFirstRange']()['isEqual'](_0x2fa38d))['forEach'](_0x2bd3e9=>_0x519a87['discardSuggestion'](_0x2bd3e9['head'])),_0x13a251=_0x10cb11['getClosestSelectedImageElement'](_0x39ff9d['model']['document']['selection']),_0x2fa38d=_0x39ff9d['model']['createRangeOn'](_0x13a251),_0x3c8035['refresh'](),_0x39ff9d['commands']['get']('imageTypeInline')['refresh'](),_0x39ff9d['commands']['get']('imageTypeBlock')['refresh'](),_0x2e10bc=_0x3c8035['value'],_0x2e10bc!=_0x2800ed['value'])return _0x10cb11['isInlineImage'](_0x13a251)&&_0x3c8035['shouldConvertImageType'](_0x2800ed['value'],_0x13a251)?(_0xc7c942({..._0x2800ed,'setImageSizes':!0x1}),_0x13a251=_0x10cb11['getClosestSelectedImageElement'](_0x39ff9d['model']['document']['selection']),void _0x519a87['markBlockFormat'](_0x13a251,{..._0x253afe,'commandReversedParams':[{'value':_0x2e10bc||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x10cb11['isBlockImage'](_0x13a251)?_0x519a87['markBlockFormat'](_0x13a251,_0x253afe,[],'imageStylePostApply'):_0x519a87['markInlineFormat'](_0x2fa38d,_0x253afe,'imageStylePostApply'));});});for(const _0x16752d of _0x39ff9d['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x50b2c8[_0x16752d['name']]=_0x16752d['title']['toLowerCase']();_0x519a87['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x519a87['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x519a87['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x519a87['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x8b8c94])=>{_0x10cb11['setImageNaturalSizeAttributes'](_0x8b8c94['getContainedElement']());}),_0x519a87['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x499294,_0x40c390)=>{_0x519a87['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x499294,{'commandName':_0x40c390['commandName'],'commandParams':_0x40c390['commandReversedParams']});}),_0x519a87['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x5e06ae,_0x432465){if(_0x991912(_0x5e06ae,_0x432465))return[_0x5e06ae,_0x432465];if(_0x991912(_0x432465,_0x5e06ae))return[_0x432465,_0x5e06ae];return null;});const _0x4a4553=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x991912(_0x2318f4,_0x4ee73a){const _0x567b1d=_0x4a4553['findIndex'](({type:_0x428864,subType:_0x329af6})=>_0x2318f4['type']==_0x428864&&_0x2318f4['subType']==_0x329af6),_0x4175ab=_0x4a4553['findIndex'](({type:_0x453cb9,subType:_0x41fea1})=>_0x4ee73a['type']==_0x453cb9&&_0x4ee73a['subType']==_0x41fea1);if(_0x567b1d<0x0||_0x4175ab<0x0)return!0x1;const _0xc296d2=_0x2318f4['getFirstRange'](),_0xc43ca=_0x4ee73a['getFirstRange']();if((0x0==_0x567b1d||0x1==_0x567b1d)&&0x2==_0x4175ab&&_0xc296d2['isIntersecting'](_0xc43ca))return!0x0;if(0x2==_0x567b1d&&0x3==_0x4175ab){const _0x1bd657=_0x519a87['_findSuggestions'](_0xc296d2,'insertion')['filter'](({suggestion:_0x261fab,meta:_0x5181e9})=>_0x5181e9['isOwn']&&'convertInlineImageToBlock'==_0x261fab['subType']);if(_0x1bd657['length']>0x1&&_0xc43ca['end']['isEqual'](_0xc296d2['start']))return!0x0;if(0x1==_0x1bd657['length']&&(_0xc296d2['start']['isEqual'](_0xc43ca['end'])||_0xc296d2['end']['isEqual'](_0xc43ca['start'])))return!0x0;}if(0x3==_0x567b1d&&0x3==_0x4175ab&&_0xc296d2['start']['isBefore'](_0xc43ca['start'])){const _0x50c66a=_0xc296d2['end']['nodeAfter'],_0x3baeee=_0xc43ca['start']['nodeBefore'];return _0x10cb11['isBlockImage'](_0x50c66a)&&_0x50c66a===_0x3baeee;}return!0x1;}_0x39ff9d['model']['document']['registerPostFixer'](()=>{let _0x26c975=!0x1;const _0x4986c5=Array['from'](_0x39ff9d['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x3aac2c,data:_0x1d7fd9}of _0x4986c5){const {group:_0x837db7,type:_0x3499c3,subType:_0xcce759,id:_0xb01060}=_0x519a87['_splitMarkerName'](_0x3aac2c);if('suggestion'==_0x837db7&&_0x519a87['hasSuggestion'](_0xb01060)){if('formatBlock'==_0x3499c3&&('imageStylePreApply'==_0xcce759||'imageStylePostApply'==_0xcce759)){const _0x289c93=_0x519a87['getSuggestion'](_0xb01060);if(_0x1d7fd9['newRange']){const _0x1c51df=_0x289c93['getFirstRange']()['getContainedElement']();if(_0x10cb11['isBlockImage'](_0x1c51df))continue;_0x519a87['discardSuggestion'](_0x289c93),_0x26c975=!0x0;}}if('insertion'==_0x3499c3&&'imageCaption'==_0xcce759&&!_0x1d7fd9['newRange']){const _0x5358eb=_0x519a87['getSuggestion'](_0xb01060);_0x5358eb['next']&&_0x5358eb['next']['isInContent']&&(_0x519a87['discardSuggestion'](_0x5358eb['next']),_0x26c975=!0x0);}}}return _0x26c975;}),this['_registerLegacyDescription'](_0x50b2c8);}['_registerLegacyDescription'](_0x3f1445){const _0x4f5d0c=this['editor'],_0x176738=_0x4f5d0c['locale'];_0x4f5d0c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x535755=>{if('formatBlock'!=_0x535755['type']&&'formatInline'!=_0x535755['type'])return;const {data:_0x43ab42}=_0x535755;if(!_0x43ab42||'imageStyle'!=_0x43ab42['commandName'])return;const _0x257e0b=_0x43ab42['commandParams'][0x0]['value'];return _0x398b83('side'===_0x257e0b?RL(_0x176738,'FORMAT_SIDE_IMAGE'):_0x3f1445[_0x257e0b]||_0x257e0b);function _0x398b83(_0xa86382){return{'type':'format','content':RL(_0x176738,'*Format:*\x20%0',_0xa86382)};}});}}class TrackChangesImportWord extends _0x13517b{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x42044a){super(_0x42044a),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x53a808=this['editor'],_0x4a9d14=_0x53a808['commands']['get']('importWord'),_0x3880e3=_0x53a808['commands']['get']('trackChanges');_0x4a9d14&&(_0x4a9d14['on']('execute',(_0x2bad7e,[,_0x1c700a])=>{this['_trackChangesValueDuringImport']=_0x3880e3['value'],_0x1c700a['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x4a9d14,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x4a9d14,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x3880e3['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x53a808['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x573ab6,_0x166321){const {suggestions:_0x1f9692}=_0x166321,_0x1ee202=this['editor']['commands']['get']('trackChanges'),_0x1d209a=_0x1ee202['value'];this['_trackChangesValueDuringImport']!==_0x1d209a&&(_0x1ee202['execute'](),this['_trackChangesExecuted']=!0x0),_0x1f9692&&_0x1f9692['forEach'](({id:_0x1a4d72,type:_0x3e63b5,author:_0xa4a3f3,created_at:_0x575b36})=>{const _0x18528a={'id':_0x1a4d72,'type':_0x3e63b5,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xa4a3f3,'createdAt':_0x575b36?new Date(_0x575b36):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x18528a);});}}class TrackChangesIndent extends _0x13517b{['afterInit'](){const _0x41beaa=this['editor'],_0x1b470c=_0x41beaa['plugins']['get']('TrackChangesEditing');if(_0x41beaa['plugins']['has']('IndentEditing')&&(_0x1b470c['enableCommand']('indent'),_0x1b470c['enableCommand']('outdent')),_0x41beaa['plugins']['has']('IndentBlock')){for(const _0x3d86ef of['indentBlock','outdentBlock'])_0x1b470c['enableDefaultAttributesIntegration'](_0x3d86ef);if(_0x41beaa['plugins']['has']('ListEditing')){for(const _0x2b9da5 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x1b470c['enableDefaultAttributesIntegration'](_0x2b9da5);}}const _0xab1658=_0x41beaa['locale'];_0x1b470c['descriptionFactory']['registerAttributeLabel']('blockIndent',RL(_0xab1658,'FORMAT_INDENT')),_0x1b470c['descriptionFactory']['registerAttributeLabel']('blockIndentList',RL(_0xab1658,'FORMAT_INDENT')),_0x1b470c['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',RL(_0xab1658,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1006c6=this['editor'],_0x1f8c2d=_0x1006c6['locale'],_0x2ada3e=_0x1006c6['plugins']['get']('TrackChangesEditing');_0x2ada3e['descriptionFactory']['registerDescriptionCallback'](_0x72cc12=>{if('formatBlock'!=_0x72cc12['type'])return;const {data:_0x269300}=_0x72cc12;if(!_0x269300)return;if('indentBlock'!=_0x269300['commandName']&&'outdentBlock'!=_0x269300['commandName'])return;const _0xa575ff=_0x72cc12['getItems']()[0x0],_0x30db5b=_0x2ada3e['descriptionFactory']['getItemLabel'](_0xa575ff);return'indentBlock'==_0x269300['commandName']?{'type':'format','content':RL(_0x1f8c2d,'*Indent:*\x20%0',_0x30db5b)}:'outdentBlock'==_0x269300['commandName']?{'type':'format','content':RL(_0x1f8c2d,'*Outdent:*\x20%0',_0x30db5b)}:void 0x0;});}}class TrackChangesInputCommand extends _0x13517b{static get['requires'](){return[_0xa89161];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class TrackChangesLink extends _0x13517b{['afterInit'](){const _0x5456d7=this['editor'];if(!_0x5456d7['plugins']['has']('LinkEditing'))return;const _0xdefe65=_0x5456d7['plugins']['get']('TrackChangesEditing'),_0x35a951=_0x5456d7['commands']['get']('link');_0xdefe65['enableDefaultAttributesIntegration']('link'),_0xdefe65['enableDefaultAttributesIntegration']('unlink');for(const _0x2f20b7 of _0x35a951['manualDecorators'])_0xdefe65['descriptionFactory']['registerAttributeLabel'](_0x2f20b7['id'],'link\x20('+_0x2f20b7['label']['toLowerCase']()+')');_0xdefe65['descriptionFactory']['registerDescriptionCallback'](_0x1fc8ea=>{if('attribute'!=_0x1fc8ea['type'])return;const {data:_0x48eceb}=_0x1fc8ea;if(!_0x48eceb||'linkHref'!=_0x48eceb['key'])return;const _0x2a154d=_0x48eceb['newValue'],_0x2c1160=_0x5456d7['locale'];return{'type':'format','content':null==_0x2a154d?RL(_0x2c1160,'*Remove\x20link*'):RL(_0x2c1160,'*Set\x20link:*\x20%0','\x22'+_0x2a154d+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1ce0bd=this['editor'],_0x14974b=_0x1ce0bd['locale'];_0x1ce0bd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4d9d0f=>{if('formatInline'!=_0x4d9d0f['type'])return;const {data:_0x347e09}=_0x4d9d0f;if(_0x347e09){if('link'==_0x347e09['commandName']){const _0x144680=_0x347e09['commandParams'][0x0];return{'type':'format','content':RL(_0x14974b,'*Set\x20link:*\x20%0','\x22'+_0x144680+'\x22')};}return'unlink'==_0x347e09['commandName']?{'type':'format','content':RL(_0x14974b,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x13517b{['afterInit'](){const _0xa0905=this['editor'],_0x33b962=_0xa0905['locale'];if(!_0xa0905['plugins']['has']('LegacyListEditing'))return;const _0x1717a0=_0xa0905['plugins']['get']('TrackChangesEditing'),_0x2af6c8=_0xa0905['plugins']['has']('LegacyTodoListEditing');function _0x1ce07f(_0x1d02a1){return()=>{const _0x3e4ec1=_0xa0905['model']['document']['selection'],_0x430b16=_0xa0905['commands']['get'](_0x1d02a1);if(_0x430b16['value'])return void _0xa0905['execute']('paragraph',{});const _0x358177=_0x1d02a1['slice'](0x0,-0x4),_0x931ab4=function(_0x2ee263,_0x2ea5aa,_0x525863){let _0x43184e=Array['from'](_0x2ee263)['filter'](_0x18fbc9=>function(_0x20358f,_0x5794da){return _0x5794da['checkChild'](_0x20358f['parent'],'listItem')&&!_0x5794da['isObject'](_0x20358f);}(_0x18fbc9,_0x525863));_0x43184e=_0x43184e['filter'](_0x3e839d=>!_0x3e839d['is']('element','listItem')||_0x3e839d['getAttribute']('listType')!=_0x2ea5aa);const _0x4fe30c=new Set();for(const _0x339f8d of _0x43184e)_0x339f8d['is']('element','listItem')?_0x4fe30c['add'](UL(_0x339f8d)):_0x4fe30c['add'](_0x339f8d);return Array['from'](_0x4fe30c);}(_0x3e4ec1['getSelectedBlocks'](),_0x358177,_0xa0905['model']['schema']);_0xa0905['model']['change'](()=>{for(const _0x59c2f0 of _0x931ab4)_0x1717a0['markBlockFormat'](_0x59c2f0,{'commandName':_0x1d02a1,'commandParams':[{'forceValue':!_0x430b16['value']}],'formatGroupId':'blockName'},BL(_0x59c2f0));});};}function _0x5c68be(_0x5706fb){return()=>{const _0x33e845=function(_0x21da83){let _0x444b8e=Array['from'](_0x21da83);const _0x29c4b1=_0x444b8e['findIndex'](_0x57a8e5=>'listItem'!=_0x57a8e5['name']);return _0x29c4b1>-0x1&&(_0x444b8e=_0x444b8e['slice'](0x0,_0x29c4b1)),_0x444b8e;}(_0xa0905['model']['document']['selection']['getSelectedBlocks']()),_0x2c8b17=_0xa0905['model']['createRange'](_0xa0905['model']['createPositionAt'](_0x33e845[0x0],'before'),_0xa0905['model']['createPositionAt'](_0x33e845[_0x33e845['length']-0x1],'end'));_0xa0905['model']['change'](()=>{_0x1717a0['markBlockFormat'](_0x2c8b17,{'commandName':_0x5706fb,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4c1b7c){const _0x25a4aa=new Set();for(const _0x59a8ef of _0x4c1b7c){let _0x50e161=_0x59a8ef['nextSibling'];for(;_0x50e161&&_0x50e161['getAttribute']('listIndent')>_0x59a8ef['getAttribute']('listIndent');)_0x25a4aa['add'](_0x50e161),_0x50e161=_0x50e161['nextSibling'];}return Array['from'](_0x25a4aa);}(_0x33e845));});};}_0x1717a0['enableCommand']('numberedList',_0x1ce07f('numberedList')),_0x1717a0['enableCommand']('bulletedList',_0x1ce07f('bulletedList')),_0x2af6c8&&_0x1717a0['enableCommand']('todoList',_0x1ce07f('todoList')),_0x1717a0['enableCommand']('indentList',_0x5c68be('indentList')),_0x1717a0['enableCommand']('outdentList',_0x5c68be('outdentList')),_0x2af6c8&&_0x1717a0['enableCommand']('checkTodoList',()=>{const _0x4c5529=_0xa0905['commands']['get']('checkTodoList'),_0x5c03c2=Array['from'](_0x4c5529['_selectedElements']);_0x5c03c2['filter'](_0x412447=>_0x412447['getAttribute']('todoListChecked')!=_0x4c5529['value']),_0xa0905['model']['change'](()=>{for(const _0x252d4c of _0x5c03c2)_0x1717a0['markBlockFormat'](_0x252d4c,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x4c5529['value']}]});});}),_0x1717a0['descriptionFactory']['registerElementLabel']('listItem',_0x402efa=>RL(_0x33b962,'ELEMENT_LIST_ITEM',_0x402efa)),_0x1717a0['descriptionFactory']['registerDescriptionCallback'](_0x2e3e3b=>{if('formatBlock'!=_0x2e3e3b['type']&&'formatInline'!=_0x2e3e3b['type'])return;const {data:_0x458e11}=_0x2e3e3b;if(_0x458e11){if('numberedList'==_0x458e11['commandName']||'bulletedList'==_0x458e11['commandName']||'todoList'==_0x458e11['commandName'])switch(_0x458e11['commandName']['replace']('List','')){case'bulleted':return _0x2db33f(RL(_0x33b962,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x2db33f(RL(_0x33b962,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x2db33f(RL(_0x33b962,'ELEMENT_TODO_LIST'));}if('indentList'==_0x458e11['commandName'])return{'type':'format','content':RL(_0x33b962,'*Indent:*\x20%0',RL(_0x33b962,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x458e11['commandName'])return{'type':'format','content':RL(_0x33b962,'*Outdent:*\x20%0',RL(_0x33b962,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x458e11['commandName'])return _0x458e11['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0x33b962,'*Check\x20item*')}:{'type':'format','content':RL(_0x33b962,'*Uncheck\x20item*')};}function _0x2db33f(_0x576cc3){return{'type':'format','content':RL(_0x33b962,'*Change\x20to:*\x20%0',_0x576cc3)};}});}}function UL(_0x4ca393){const _0x1b9419=_0x4ca393['getAttribute']('listIndent');if(0x0==_0x1b9419)return _0x4ca393;let _0x49a6cc=_0x4ca393;for(;_0x4ca393['previousSibling']&&_0x4ca393['previousSibling']['is']('element','listItem');){const _0x24cb9b=_0x4ca393['previousSibling']['getAttribute']('listIndent');if(_0x24cb9b==_0x1b9419)_0x49a6cc=_0x4ca393['previousSibling'];else{if(_0x24cb9b<_0x1b9419)break;}_0x4ca393=_0x4ca393['previousSibling'];}return _0x49a6cc;}function BL(_0x876aca){const _0x4e44e0=[];if(_0x876aca['is']('element','listItem')&&_0x876aca['getAttribute']('listIndent')>0x0){let _0x19dc12=_0x876aca['nextSibling'];for(;_0x19dc12&&'listItem'==_0x19dc12['name']&&_0x19dc12['getAttribute']('listIndent')==_0x876aca['getAttribute']('listIndent');)_0x4e44e0['push'](_0x19dc12),_0x19dc12=_0x19dc12['nextSibling'];}return _0x4e44e0;}class TrackChangesLegacyListProperties extends _0x13517b{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x5ac350=this['editor']['config']['get']('list.properties'),_0x25441e=this['editor']['plugins']['get']('TrackChangesEditing');_0x5ac350['styles']&&_0x25441e['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x5ac350['reversed']&&_0x25441e['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x5ac350['startIndex']&&_0x25441e['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x25441e['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x66804e,_0xbf77dc={}){const _0x16ab9b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1e8a3c=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x16ab9b['markMultiRangeBlockFormat'](_0x1e8a3c,{'commandName':'listStyle','commandParams':[{'type':_0xbf77dc['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x300970,_0x158c75={}){const _0x3881ab=this['editor']['plugins']['get']('TrackChangesEditing'),_0xf705b5=this['_getSuggestionBlocks'](_0x5a43fe=>_0x5a43fe['is']('element','listItem')&&'numbered'===_0x5a43fe['getAttribute']('listType'));if(_0xf705b5['length']<0x1)return;const _0x9ca27f=_0xf705b5['map'](_0x3a51ff=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3a51ff,'before'),this['editor']['model']['createPositionAt'](_0x3a51ff,0x0)));this['editor']['model']['change'](()=>{_0x3881ab['markMultiRangeBlockFormat'](_0x9ca27f,{'commandName':'listReversed','commandParams':[{'reversed':_0x158c75['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x37483e,_0x58b9c7={}){const _0x2a1b8d=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3df889=this['_getSuggestionBlocks'](_0x5b42b9=>_0x5b42b9['is']('element','listItem')&&'numbered'===_0x5b42b9['getAttribute']('listType'));if(_0x3df889['length']<0x1)return;const _0x1b2111=_0x3df889['map'](_0x3f6d54=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3f6d54,'before'),this['editor']['model']['createPositionAt'](_0x3f6d54,0x0)));this['editor']['model']['change'](()=>{_0x2a1b8d['markMultiRangeBlockFormat'](_0x1b2111,{'commandName':'listStart','commandParams':[{'startIndex':_0x58b9c7['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x2c0281){if('formatBlock'!=_0x2c0281['type']&&'formatInline'!=_0x2c0281['type'])return;const _0x149d54=this['editor']['locale'],{data:_0x227798}=_0x2c0281;if(!_0x227798)return;let _0xae469c,_0x462a16;switch(_0x227798['commandName']){case'listStyle':_0xae469c='*Change\x20to:*\x20%0',_0x462a16={'type':'format','content':RL(_0x149d54,_0xae469c,RL(_0x149d54,this['_getTranslationKeyForListStyle'](_0x227798['commandParams'][0x0]['type'])))};break;case'listReversed':_0xae469c=_0x227798['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x462a16={'type':'format','content':RL(_0x149d54,_0xae469c)};break;case'listStart':_0xae469c='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x462a16={'type':'format','content':RL(_0x149d54,_0xae469c,_0x227798['commandParams'][0x0]['startIndex'])};}return _0x462a16;}['_getSuggestionBlocksForListStyle'](){const _0x37f10e=this['editor']['plugins']['get']('LegacyListUtils');let _0x53dd06=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x53dd06[0x0]?.['is']('element','listItem')&&_0x53dd06['unshift'](..._0x37f10e['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x53dd06[_0x53dd06['length']-0x1]?.['is']('element','listItem')&&_0x53dd06['push'](..._0x37f10e['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x53dd06=[...new Set(_0x53dd06)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x53dd06=_0x53dd06['filter'](_0x144670=>_0x144670['is']('element','listItem'))),_0x53dd06;}['_getSuggestionBlocks'](_0x2a5abe){const _0xdea3f0=this['editor']['plugins']['get']('LegacyListUtils');let _0x4ae6f5=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x2a5abe)['map'](_0x1e4e4e=>{const _0x17fc0e=this['editor']['model']['createPositionAt'](_0x1e4e4e,0x0);return[..._0xdea3f0['getSiblingNodes'](_0x17fc0e,'backward'),..._0xdea3f0['getSiblingNodes'](_0x17fc0e,'forward')];})['flat']();return _0x4ae6f5=[...new Set(_0x4ae6f5)],_0x4ae6f5;}['_getTranslationKeyForListStyle'](_0x2f5c37){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x2f5c37)||'default')['toUpperCase']()+'_LIST_'+_0x2f5c37['toUpperCase']()['replace'](/-/g,'_');}}class TrackChangesMediaEmbed extends _0x13517b{['afterInit'](){const _0x39ca5b=this['editor'];if(!_0x39ca5b['plugins']['has']('MediaEmbedEditing'))return;const _0x3cd31e=_0x39ca5b['plugins']['get']('TrackChangesEditing'),_0x39f350=_0x39ca5b['locale'];_0x3cd31e['enableCommand']('mediaEmbed'),_0x3cd31e['descriptionFactory']['registerElementLabel']('media',_0x5dca8e=>RL(_0x39f350,'ELEMENT_MEDIA',_0x5dca8e));}}class TrackChangesMention extends _0x13517b{['afterInit'](){const _0x1b8fad=this['editor'];_0x1b8fad['plugins']['has']('MentionEditing')&&_0x1b8fad['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class TrackChangesMergeFields extends _0x13517b{['afterInit'](){const _0x10c980=this['editor'];if(!_0x10c980['plugins']['has']('MergeFieldsEditing'))return;const _0x33d06a=_0x10c980['plugins']['get']('TrackChangesEditing'),_0x802b8e=_0x10c980['locale'];_0x33d06a['enableCommand']('insertMergeField'),_0x33d06a['enableCommand']('insertMergeFieldBlock'),_0x33d06a['enableCommand']('insertMergeFieldImage'),_0x33d06a['descriptionFactory']['registerElementLabel']('mergeField',_0x1f6e15=>RL(_0x802b8e,'ELEMENT_MERGE_FIELD',_0x1f6e15)),_0x33d06a['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x5e7d24=>RL(_0x802b8e,'ELEMENT_MERGE_FIELD',_0x5e7d24)),_0x33d06a['descriptionFactory']['registerDescriptionCallback'](_0x4794fc=>{if('insertion'!=_0x4794fc['type']&&'deletion'!=_0x4794fc['type'])return;const _0x38f8e3=_0x4794fc['getContainedElement']();if(null==_0x38f8e3)return;const _0x317a9e=_0x10c980['plugins']['get']('MergeFieldsEditing');let _0x59e6dc;switch(_0x317a9e['getMergeFieldType'](_0x38f8e3)){case null:return;case'image':{const _0x12b47d=_0x317a9e['unwrapAffixes'](_0x38f8e3['getAttribute']('src'));_0x59e6dc=_0x317a9e['getLabel'](_0x12b47d)||_0x12b47d;break;}default:{const _0x57ff88=_0x38f8e3['getAttribute']('id');_0x59e6dc=_0x317a9e['getLabel'](_0x57ff88)||_0x57ff88;break;}}return'insertion'==_0x4794fc['type']?{'type':'insertion','content':RL(_0x802b8e,'*Insert:*\x20%0','\x22'+_0x59e6dc+'\x22\x20'+RL(_0x802b8e,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':RL(_0x802b8e,'*Remove:*\x20%0','\x22'+_0x59e6dc+'\x22\x20'+RL(_0x802b8e,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x13517b{['afterInit'](){const _0x2c8330=this['editor'],_0x3824ac=_0x2c8330['plugins']['get']('TrackChangesEditing');_0x2c8330['plugins']['has']('MultiLevelList')&&(_0x3824ac['enableDefaultAttributesIntegration']('multiLevelList'),_0x3824ac['descriptionFactory']['registerDescriptionCallback'](_0x19dd31=>this['handleDescriptions'](_0x19dd31)));}['handleDescriptions'](_0x436421){const _0x30f208=this['editor']['locale'],{data:_0x29c400}=_0x436421,_0x62587b={'type':'format','content':''};if(_0x29c400&&'listMarkerStyle'==_0x29c400['key']){if(!_0x29c400['oldValue'])return{'type':'format','content':RL(_0x30f208,'*Set\x20format:*\x20%0',RL(_0x30f208,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x29c400['newValue']+')'};if(!_0x29c400['newValue']){let _0x20042e=_0x436421['head'];for(;_0x20042e;){if(_0x20042e['data']&&'listType'==_0x20042e['data']['key']&&_0x20042e['data']['newValue'])return _0x62587b;_0x20042e=_0x20042e['next'];}return{'type':'format','content':RL(_0x30f208,'*Remove\x20format:*\x20%0',RL(_0x30f208,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x29c400['oldValue']+')'};}}}}class TrackChangesPageBreak extends _0x13517b{['afterInit'](){const _0x5af28d=this['editor'];if(!_0x5af28d['plugins']['has']('PageBreakEditing'))return;_0x5af28d['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x4bd16c=_0x5af28d['plugins']['get']('TrackChangesEditing'),_0x5abe94=_0x5af28d['locale'];_0x4bd16c['descriptionFactory']['registerElementLabel']('pageBreak',_0x592ff0=>RL(_0x5abe94,'ELEMENT_PAGE_BREAK',_0x592ff0));}}class TrackChangesParagraph extends _0x13517b{['afterInit'](){const _0x29addc=this['editor'];if(!_0x29addc['plugins']['has']('Paragraph'))return;const _0x175be2=_0x29addc['locale'],_0x45f73e=_0x29addc['plugins']['get']('TrackChangesEditing');_0x45f73e['descriptionFactory']['registerElementLabel']('paragraph',_0x471343=>RL(_0x175be2,'ELEMENT_PARAGRAPH',_0x471343)),_0x45f73e['enableDefaultAttributesIntegration']('paragraph'),_0x45f73e['enableCommand']('insertParagraph');const _0x45df41=_0x45f73e['descriptionFactory'];_0x45df41['registerDescriptionCallback'](_0x210eaa=>{if('insertion'!==_0x210eaa['type'])return;const {start:_0x575de9,end:_0x458958}=_0x210eaa['getFirstRange']();if(!_0x575de9['isTouching'](_0x458958)||!_0x575de9['nodeAfter'])return;const _0x665726=_0x29addc['model']['schema'],_0x2c61a7=_0x575de9['nodeAfter'];return _0x665726['isBlock'](_0x2c61a7)&&!_0x665726['isLimit'](_0x2c61a7)&&_0x665726['checkChild'](_0x2c61a7,'$text')?{'type':'insertion','content':RL(_0x175be2,'*Insert:*\x20%0',_0x45df41['getItemLabel'](_0x2c61a7,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2f908d=this['editor'],_0x4c87ba=_0x2f908d['locale'];_0x2f908d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x26bad8=>{if('formatBlock'!=_0x26bad8['type'])return;const {data:_0x1129b7}=_0x26bad8;return _0x1129b7&&'paragraph'==_0x1129b7['commandName']?{'type':'format','content':RL(_0x4c87ba,'*Change\x20to:*\x20%0',RL(_0x4c87ba,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class TrackChangesReplaceSourceCommand extends _0x13517b{['afterInit'](){const _0xefebad=this['editor'];_0xefebad['commands']['get']('replaceSource')&&_0xefebad['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x13517b{['afterInit'](){const _0x29c061=this['editor'];if(!_0x29c061['plugins']['has']('RemoveFormatEditing'))return;_0x29c061['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5015d5=this['editor'];_0x5015d5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xdd0a78=>{if('formatBlock'!=_0xdd0a78['type']&&'formatInline'!=_0xdd0a78['type'])return;const {data:_0x85212a}=_0xdd0a78;return _0x85212a&&'removeFormat'==_0x85212a['commandName']?{'type':'format','content':RL(_0x5015d5['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x13517b{['afterInit'](){const _0x528970=this['editor'];if(!_0x528970['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x371c76=_0x528970['plugins']['get']('TrackChangesEditing');_0x371c76['enableCommand']('goToPreviousRestrictedEditingException'),_0x371c76['enableCommand']('goToNextRestrictedEditingException');const _0x1d8287=_0x528970['plugins']['get']('RestrictedEditingModeEditing');_0x1d8287['enableCommand']('trackChanges'),_0x1d8287['enableCommand']('acceptSuggestion'),_0x1d8287['enableCommand']('discardSuggestion'),_0x1d8287['enableCommand']('acceptAllSuggestions'),_0x1d8287['enableCommand']('discardAllSuggestions'),_0x1d8287['enableCommand']('acceptSelectedSuggestions'),_0x1d8287['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x13517b{['afterInit'](){const _0x940897=this['editor'];if(!_0x940897['plugins']['has']('ShiftEnter'))return;const _0x141119=_0x940897['plugins']['get']('TrackChangesEditing');_0x141119['enableCommand']('shiftEnter'),_0x141119['descriptionFactory']['registerElementLabel']('softBreak',_0x5bc985=>RL(_0x940897['locale'],'ELEMENT_LINE_BREAK',_0x5bc985));}}function FL(_0x55ae44,_0x4cc713,_0x41430d){const _0x42a81a=[];for(const _0x461e1f of _0x4cc713['getItems']())_0x461e1f['hasAttribute'](_0x55ae44)&&_0x42a81a['push'](_0x41430d['createRangeOn'](_0x461e1f));return _0x42a81a;}class TrackChangesStandardEditingMode extends _0x13517b{['afterInit'](){const _0x461764=this['editor'],_0x1ac548=_0x461764['plugins']['get']('TrackChangesEditing');_0x461764['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x1ac548['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x3a9234=this['editor'],_0x195f01=_0x3a9234['model'],_0xd19dfc=_0x3a9234['locale'],_0x4da3b4=_0x3a9234['plugins']['get']('TrackChangesEditing'),_0x582657='restrictedEditingException',_0x1be9a8=_0x3a9234['commands']['get'](_0x582657);_0x4da3b4['enableCommand'](_0x582657,(_0x22ec34,_0x2e4b91={})=>{const _0x5517e8=_0x195f01['document']['selection'];if(_0x5517e8['isCollapsed'])return void _0x22ec34(_0x2e4b91);const _0x2ddb6a=void 0x0!==_0x2e4b91['forceValue']?_0x2e4b91['forceValue']:!_0x1be9a8['value'];_0x195f01['change'](()=>{const _0x322911=Array['from'](_0x5517e8['getRanges']());for(const _0x3821f4 of _0x322911){const _0x1c2745=_0x2ddb6a?[_0x3821f4]:FL(_0x582657,_0x3821f4,_0x195f01);for(const _0x318256 of _0x1c2745)_0x4da3b4['markInlineFormat'](_0x318256,{'commandName':_0x582657,'commandParams':[{'forceValue':_0x2ddb6a}]});}});}),_0x4da3b4['descriptionFactory']['registerDescriptionCallback'](_0x1ddfcb=>{if('formatBlock'!=_0x1ddfcb['type']&&'formatInline'!=_0x1ddfcb['type'])return;const {data:_0xa3c477}=_0x1ddfcb;return _0xa3c477&&_0xa3c477['commandName']==_0x582657?_0xa3c477['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0xd19dfc,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':RL(_0xd19dfc,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x1fa78a=this['editor'],_0x31acd5=_0x1fa78a['locale'],_0x312d44=_0x1fa78a['plugins']['get']('TrackChangesEditing'),_0x5fe832='restrictedEditingExceptionBlock',_0x47ae32=this['editor']['commands']['get'](_0x5fe832);_0x312d44['enableCommand'](_0x5fe832,(_0x5004ca,_0x28bd63={})=>{const _0x282ae4=this['editor']['model']['document']['selection'],_0x362b51=_0x28bd63&&void 0x0!==_0x28bd63['forceValue']?_0x28bd63['forceValue']:!_0x47ae32['value'];let _0xab9835=[];if(_0x362b51){const _0x55ac57=Array['from'](_0x282ae4['getSelectedBlocks']())['filter'](_0x57363b=>function(_0x5c1cd1){return!!_0x5c1cd1['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x57363b)||function(_0x4cd4f1,_0x317c91){const _0x143890=_0x317c91['createContext'](_0x4cd4f1['parent']);if(!_0x317c91['checkChild'](_0x143890,'restrictedEditingException'))return!0x1;if(!_0x317c91['checkChild'](_0x143890['push']('restrictedEditingException'),_0x4cd4f1))return!0x1;return!0x0;}(_0x57363b,this['editor']['model']['schema']));_0xab9835=CL(_0x55ac57,_0x1fa78a['model']);}else{const _0x5c06f7=Array['from'](_0x282ae4['getSelectedBlocks']())['map'](_0x5c0c34=>function(_0x16ad3d){let _0x4e5db1=_0x16ad3d;for(;_0x4e5db1['parent'];){if('restrictedEditingException'==_0x4e5db1['parent']['name'])return _0x4e5db1;_0x4e5db1=_0x4e5db1['parent'];}return null;}(_0x5c0c34))['filter'](_0x3351cc=>!!_0x3351cc);_0xab9835=CL(_0x5c06f7,_0x1fa78a['model']);}_0x1fa78a['model']['change'](()=>{for(const _0x26a112 of _0xab9835)_0x312d44['markBlockFormat'](_0x26a112,{'commandName':_0x5fe832,'commandParams':[{'forceValue':_0x362b51}]});});}),_0x312d44['descriptionFactory']['registerDescriptionCallback'](_0x58e195=>{const {data:_0x26aff0}=_0x58e195;if(_0x26aff0&&_0x26aff0['commandName']==_0x5fe832)return _0x26aff0['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0x31acd5,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':RL(_0x31acd5,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x13517b{['afterInit'](){const _0xe96037=this['editor'];if(!_0xe96037['plugins']['has']('Style')||!_0xe96037['plugins']['has']('DataSchema'))return;const _0x9b588a=_0xe96037['plugins']['get']('TrackChangesEditing'),_0x43a737=_0xe96037['locale'],_0x1d62f5=_0xe96037['config']['get']('style')||{},_0x3f57a3=_0xe96037['plugins']['get']('GeneralHtmlSupport'),_0x373d92=_0xe96037['plugins']['get']('StyleUtils')['normalizeConfig'](_0xe96037['plugins']['get']('DataSchema'),_0x1d62f5['definitions']);_0x9b588a['enableDefaultAttributesIntegration']('style');const _0x26616a=new Set();for(const _0x3b5723 of _0x373d92['block']){const _0xd7f0e0=_0x3f57a3['getGhsAttributeNameForElement'](_0x3b5723['element']);_0x26616a['add'](_0xd7f0e0);}const _0x3bc91e=new Set();for(const _0x249c5e of _0x373d92['inline']){const _0x32d8d3=_0x3f57a3['getGhsAttributeNameForElement'](_0x249c5e['element']);_0x3bc91e['add'](_0x32d8d3);for(const _0x4c8c13 of _0x249c5e['ghsAttributes'])_0x3bc91e['add'](_0x4c8c13);}for(const _0x570a68 of _0x26616a)_0x9b588a['descriptionFactory']['registerAttributeLabel'](_0x570a68,RL(_0x43a737,'FORMAT_STYLE'));for(const _0x1b407e of _0x3bc91e)_0x9b588a['descriptionFactory']['registerAttributeLabel'](_0x1b407e,RL(_0x43a737,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x39fe50=this['editor'],_0x4d17db=_0x39fe50['locale'];_0x39fe50['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x183520=>{if('formatBlock'!=_0x183520['type']&&'formatInline'!=_0x183520['type'])return;const {data:_0x306281}=_0x183520;return _0x306281&&'style'===_0x306281['commandName']?_0x306281['commandParams'][0x0]['forceValue']?{'type':'format','content':RL(_0x4d17db,'*Set\x20format:*\x20%0',_0x306281['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':RL(_0x4d17db,'*Remove\x20format:*\x20%0',_0x306281['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class TrackChangesTable extends _0x13517b{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x43c8c2){super(_0x43c8c2),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x5a61ea=this['editor'],_0x80e4d7=_0x5a61ea['model']['document']['selection'];if(!_0x5a61ea['plugins']['has']('TableEditing'))return;const _0x23a675=_0x5a61ea['locale'],_0x3bc0ad=_0x5a61ea['plugins']['get']('TrackChangesEditing'),_0x3b2231=_0x5a61ea['plugins']['get']('TableUtils');_0x3bc0ad['descriptionFactory']['registerElementLabel']('table',_0x3cd8a8=>RL(_0x23a675,'ELEMENT_TABLE',_0x3cd8a8)),this['_setupColumnsRowsFixing'](),_0x3bc0ad['enableCommand']('insertTable'),_0x3bc0ad['enableCommand']('selectTableRow'),_0x3bc0ad['enableCommand']('selectTableColumn');for(const _0x1dc254 of['insertTableRowAbove','insertTableRowBelow']){const _0x1664f3=_0x5a61ea['commands']['get'](_0x1dc254);_0x3bc0ad['enableCommand'](_0x1dc254,_0x43abf6=>{_0x5a61ea['model']['change'](_0x58d239=>{_0x43abf6();const _0x303900='above'===_0x1664f3['order'],_0x42d4c6=_0x3b2231['getSelectionAffectedTableCells'](_0x80e4d7),_0x190202=_0x3b2231['getRowIndexes'](_0x42d4c6),_0x1024a7=_0x303900?_0x190202['first']-0x1:_0x190202['last']+0x1,_0x1c2fec=_0x42d4c6[0x0]['findAncestor']('table'),_0x557aa2=_0x3b2231['createTableWalker'](_0x1c2fec,{'startRow':_0x1024a7,'endRow':_0x1024a7}),_0x30235e=Array['from'](_0x557aa2)['map'](_0x32b837=>_0x58d239['createRangeOn'](_0x32b837['cell']));_0x3bc0ad['markMultiRangeInsertion'](_0x30235e,'tableRow');});});}for(const _0x160ad9 of['insertTableColumnLeft','insertTableColumnRight']){const _0x568577=_0x5a61ea['commands']['get'](_0x160ad9);_0x3bc0ad['enableCommand'](_0x160ad9,_0x470691=>{_0x5a61ea['model']['change'](_0x2b1086=>{_0x470691();const _0x3703d='left'===_0x568577['order'],_0x170573=_0x3b2231['getSelectionAffectedTableCells'](_0x80e4d7),_0x530d58=_0x3b2231['getColumnIndexes'](_0x170573),_0x11621f=_0x3703d?_0x530d58['first']-0x1:_0x530d58['last']+0x1,_0x4e5acb=_0x170573[0x0]['findAncestor']('table'),_0x34c591=_0x3b2231['createTableWalker'](_0x4e5acb,{'startRow':0x0,'column':_0x11621f,'includeAllSlots':!0x1}),_0xb4d299=Array['from'](_0x34c591)['map'](_0x1ffa3b=>_0x2b1086['createRangeOn'](_0x1ffa3b['cell']));_0x3bc0ad['markMultiRangeInsertion'](_0xb4d299,'tableColumn');});});}for(const _0x3a1e2e of['removeTableRow','removeTableColumn']){const _0x153f97=_0x3a1e2e['substr'](0xb),_0x4a52fd=_0x153f97['toLowerCase'](),_0x4adb36=_0x4a52fd['substr'](0x0,0x3)+'span',_0x472c1a='table'+_0x153f97,_0x3ddb24='min'+_0x153f97,_0x1d6cce='max'+_0x153f97;_0x3bc0ad['enableCommand'](_0x3a1e2e,()=>{_0x5a61ea['model']['change'](_0x1497b0=>{const _0x19a3b4=_0x3b2231['getSelectionAffectedTableCells'](_0x80e4d7),_0x58ec1f=_0x19a3b4[0x0]['findAncestor']('table');let _0x1756a5;if('removeTableRow'==_0x3a1e2e){const _0x5cddcc=_0x3b2231['getRowIndexes'](_0x19a3b4);_0x1756a5={'startRow':_0x5cddcc['first'],'endRow':_0x5cddcc['last'],'includeAllSlots':!0x0};}else{const _0x29bc3e=_0x3b2231['getColumnIndexes'](_0x19a3b4);_0x1756a5={'startColumn':_0x29bc3e['first'],'endColumn':_0x29bc3e['last'],'includeAllSlots':!0x0};}const _0x29c14c=_0x3b2231['createTableWalker'](_0x58ec1f,_0x1756a5),_0x5df098=Array['from'](_0x29c14c)['map'](({cell:_0x32c22b})=>_0x32c22b),_0xdd474c=jL(_0x5df098['filter'](_0x36c95b=>_0x36c95b['hasAttribute'](_0x4adb36))),_0x1c4cfd=jL(_0x5df098['filter'](_0x463be3=>!_0x463be3['hasAttribute'](_0x4adb36)))['map'](_0xb23051=>_0x1497b0['createRangeOn'](_0xb23051)),_0x241adb=_0x3bc0ad['markMultiRangeDeletion'](_0x1c4cfd,_0x472c1a);if(_0x241adb&&('tableRow'==_0x241adb['subType']||'tableColumn'==_0x241adb['subType'])){const _0x4db4b1=this['_getSuggestionCoords'](_0x241adb);for(const _0x968f4f of _0xdd474c){const _0x858cce=_0x1497b0['createRangeOn'](_0x968f4f),_0x173b6c=_0x3b2231['getCellLocation'](_0x968f4f),_0x52f4eb=_0x968f4f['getAttribute'](_0x4adb36)-0x1,_0xded725=_0x4db4b1[_0x3ddb24],_0xa1caa9=_0x4db4b1[_0x1d6cce];_0xded725<=_0x173b6c[_0x4a52fd]&&_0x173b6c[_0x4a52fd]+_0x52f4eb<=_0xa1caa9&&_0x241adb['addRange'](_0x858cce);}}});});}function _0x46275f(_0x24681e){const _0x21194b=Array['from'](_0x80e4d7['getRanges']())['map'](_0x187f26=>_0x19f373['fromRange'](_0x187f26));_0x5a61ea['model']['change'](_0x388a64=>{const _0x14cc34=_0x388a64['batch'];_0x24681e=_0x24681e['filter'](_0x3d81a4=>'$graveyard'!=_0x3d81a4['root']['rootName']),_0x388a64['setSelection'](_0x24681e),_0x5a61ea['commands']['get']('removeTableRow')['refresh'](),_0x5a61ea['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x5a61ea['model']['enqueueChange'](()=>{_0x5a61ea['model']['enqueueChange'](_0x14cc34,_0x28e94e=>{const _0x1b9aee=_0x21194b['filter'](_0x2e9930=>'$graveyard'!=_0x2e9930['root']['rootName']);_0x1b9aee['length']>0x0&&_0x28e94e['setSelection'](_0x1b9aee);for(const _0x42a2f6 of _0x21194b)_0x42a2f6['detach']();});});});}function _0x323f74(_0x1510cc){_0x5a61ea['model']['change'](_0x23660a=>{const _0x3a90a4=Array['from'](_0x80e4d7['getRanges']())['map'](_0x5bf713=>_0x19f373['fromRange'](_0x5bf713)),_0x494ca0=[];for(const _0x529aba of _0x1510cc)for(const _0x41966a of _0x529aba['getItems']({'shallow':!0x0}))_0x494ca0['push'](_0x41966a);for(const _0x252129 of _0x494ca0)'$graveyard'!=_0x252129['root']['rootName']&&(_0x23660a['setSelection'](_0x23660a['createPositionAt'](_0x252129,0x0)),_0x5a61ea['commands']['get']('removeTableColumn')['refresh'](),_0x5a61ea['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x2f24dd=_0x3a90a4['filter'](_0x16ea85=>'$graveyard'!=_0x16ea85['root']['rootName']);_0x2f24dd['length']>0x0&&_0x23660a['setSelection'](_0x2f24dd);for(const _0x2fa150 of _0x3a90a4)_0x2fa150['detach']();});}function _0x2fc3e1(_0x4f6953,_0x5c06ca){return _0x5c06ca['every'](_0x355316=>_0x4f6953['some'](_0xb90736=>_0xb90736['end']['isEqual'](_0x355316['start'])||_0x355316['end']['isEqual'](_0xb90736['start'])));}function _0x4e9ad2(_0x36f3d1,_0x3dfc4a){return!_0x36f3d1['some'](_0x3e41c0=>_0x3dfc4a['some'](_0x1b5c31=>_0x3e41c0['isIntersecting'](_0x1b5c31)))&&_0x36f3d1['some'](_0x17f3e3=>_0x3dfc4a['some'](_0x2f6cce=>_0x17f3e3['end']['isTouching'](_0x2f6cce['start'])));}_0x3bc0ad['descriptionFactory']['registerDescriptionCallback'](_0x40d995=>{if('insertion'!=_0x40d995['type']&&'deletion'!=_0x40d995['type'])return;const _0x2f06ff=_0x40d995['getContainedElement']();if(null!=_0x2f06ff&&_0x2f06ff['is']('element','table')){if('insertion'==_0x40d995['type']){const _0x3fcea9=_0x40d995['getItems']()['filter'](_0x28eb6c=>_0x28eb6c['is']('$textProxy'))['map'](_0x2a5c07=>_0x2a5c07['data']);if(_0x3fcea9['length'])return{'type':'insertion','content':RL(_0x23a675,'*Insert:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3fcea9['join']('\x20')+'\x22'))};}if('deletion'==_0x40d995['type']){const _0x3d1b9d=_0x40d995['getItems']()['filter'](_0xb59d1f=>_0xb59d1f['is']('$textProxy'))['map'](_0x51e527=>_0x51e527['data']);if(_0x3d1b9d['length'])return{'type':'deletion','content':RL(_0x23a675,'*Remove:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3d1b9d['join']('\x20')+'\x22'))};}}}),_0x3bc0ad['descriptionFactory']['registerDescriptionCallback'](_0x53a11c=>{if('tableRow'==_0x53a11c['subType']){const _0x5332e5=_0x53a11c['getItems']()['filter'](_0x92eed=>_0x92eed['is']('$textProxy'))['map'](_0x1b6756=>_0x1b6756['data']),_0x22d178=this['_getSuggestionCoords'](_0x53a11c),_0x1f4ff8=_0x22d178['maxRow']-_0x22d178['minRow']+0x1;if('insertion'==_0x53a11c['type'])return _0x5332e5['length']?{'type':'insertion','content':RL(_0x23a675,'*Insert:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1f4ff8,'\x22'+_0x5332e5['join']('\x20')+'\x22']))}:{'type':'insertion','content':RL(_0x23a675,'*Insert:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_ROW',_0x1f4ff8))};if('deletion'==_0x53a11c['type'])return _0x5332e5['length']?{'type':'deletion','content':RL(_0x23a675,'*Remove:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1f4ff8,'\x22'+_0x5332e5['join']('\x20')+'\x22']))}:{'type':'deletion','content':RL(_0x23a675,'*Remove:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_ROW',_0x1f4ff8))};}if('tableColumn'==_0x53a11c['subType']){const _0x44ba6b=_0x53a11c['getItems']()['filter'](_0x36bacd=>_0x36bacd['is']('$textProxy'))['map'](_0x10639d=>_0x10639d['data']),_0x53aab3=this['_getSuggestionCoords'](_0x53a11c),_0x5c90eb=_0x53aab3['maxColumn']-_0x53aab3['minColumn']+0x1;if('insertion'==_0x53a11c['type'])return _0x44ba6b['length']?{'type':'insertion','content':RL(_0x23a675,'*Insert:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5c90eb,'\x22'+_0x44ba6b['join']('\x20')+'\x22']))}:{'type':'insertion','content':RL(_0x23a675,'*Insert:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_COLUMN',_0x5c90eb))};if('deletion'==_0x53a11c['type'])return _0x44ba6b['length']?{'type':'deletion','content':RL(_0x23a675,'*Remove:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5c90eb,'\x22'+_0x44ba6b['join']('\x20')+'\x22']))}:{'type':'deletion','content':RL(_0x23a675,'*Remove:*\x20%0',RL(_0x23a675,'ELEMENT_TABLE_COLUMN',_0x5c90eb))};}}),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x46275f),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x46275f),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x323f74),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x323f74),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x2fc3e1),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x2fc3e1),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x4e9ad2),_0x3bc0ad['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x4e9ad2);}['_acceptFormatSuggestionCallbackFactory'](){const _0x3de7eb=this['editor'],_0x426d68=_0x3de7eb['model']['document']['selection'];return(_0x39243c,_0x325ad0)=>{_0x3de7eb['model']['change'](_0x65171a=>{const {commandName:_0xd19f10,commandParams:_0x3af36b}=_0x325ad0;let _0xf4d40a=_0x39243c[0x0]['end']['nodeBefore'];_0x3af36b&&_0x3af36b[0x0]&&!0x1===_0x3af36b[0x0]['forceValue']&&(_0xf4d40a=_0x39243c[0x0]['start']['nodeAfter']);const _0x23c9ea=_0x65171a['createRangeIn'](_0xf4d40a);if('$graveyard'==_0x23c9ea['root']['rootName'])return;const _0x13803f=Array['from'](_0x426d68['getRanges']())['map'](_0x281617=>_0x19f373['fromRange'](_0x281617));_0x65171a['setSelection'](_0x23c9ea),_0x3de7eb['commands']['get'](_0xd19f10)['refresh'](),_0x3af36b['push']({'forceDefaultExecution':!0x0}),_0x3de7eb['execute'](_0xd19f10,..._0x3af36b);const _0x346683=_0x13803f['filter'](_0x24733b=>'$graveyard'!=_0x24733b['root']['rootName']);_0x346683['length']>0x0&&_0x65171a['setSelection'](_0x346683);for(const _0x72b469 of _0x13803f)_0x72b469['detach']();});};}['_getCoordsForCells'](_0xd866aa){const _0x54e740=this['editor']['plugins']['get']('TableUtils');let _0x4ca7b8=Number['MAX_SAFE_INTEGER'],_0x4a0d68=Number['MIN_SAFE_INTEGER'],_0x5dcca5=Number['MAX_SAFE_INTEGER'],_0x15a145=Number['MIN_SAFE_INTEGER'];for(const _0x41c534 of _0xd866aa){if('$graveyard'==_0x41c534['root']['rootName'])continue;const {row:_0x2d96f9,column:_0x5f2a50}=_0x54e740['getCellLocation'](_0x41c534),_0x3b42d8=_0x41c534['hasAttribute']('rowspan')?_0x41c534['getAttribute']('rowspan')-0x1:0x0,_0x12ff2b=_0x41c534['hasAttribute']('colspan')?_0x41c534['getAttribute']('colspan')-0x1:0x0;_0x4ca7b8=_0x2d96f9<_0x4ca7b8?_0x2d96f9:_0x4ca7b8,_0x4a0d68=_0x2d96f9+_0x3b42d8>_0x4a0d68?_0x2d96f9+_0x3b42d8:_0x4a0d68,_0x5dcca5=_0x5f2a50<_0x5dcca5?_0x5f2a50:_0x5dcca5,_0x15a145=_0x5f2a50+_0x12ff2b>_0x15a145?_0x5f2a50+_0x12ff2b:_0x15a145;}return{'minRow':_0x4ca7b8,'maxRow':_0x4a0d68,'minColumn':_0x5dcca5,'maxColumn':_0x15a145};}['_setupColumnsRowsFixing'](){const _0x2cbf2f=this['editor'],_0x42beed=_0x2cbf2f['plugins']['get']('TrackChangesEditing'),_0x252f05=_0x2cbf2f['plugins']['get']('TableUtils');_0x2cbf2f['model']['document']['on']('change:data',()=>{const _0x4e0bbf=Array['from'](_0x2cbf2f['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x18a0e1,data:_0x40aa91}of _0x4e0bbf){const {group:_0x53a449,id:_0x49a5de,subType:_0x356da7}=_0x42beed['_splitMarkerName'](_0x18a0e1);if('suggestion'!=_0x53a449)continue;if(null!=_0x40aa91['oldRange'])continue;const _0x1f2013=_0x42beed['getSuggestion'](_0x49a5de);this['_tablePostFixingSubtypes']['includes'](_0x356da7)&&this['_tableSuggestions']['add'](_0x1f2013);}},{'priority':'low'});const _0x7ec6ab=(_0x501ba4,_0x7d9051)=>{let _0x576089=!0x1;const _0x129bf5=_0x7d9051['createRangeOn'](_0x501ba4),_0x27d1ed=_0x501ba4['findAncestor']('table'),_0x3d7720=_0x252f05['getCellLocation'](_0x501ba4);for(const _0x1d3a65 of this['_tableSuggestions']){const _0x2e303a=_0x1d3a65['subType'],_0x4fe512=_0x2e303a['startsWith']('tablePaste'),_0x3a16ba=_0x2e303a['substr'](_0x4fe512?0xa:0x5),_0x23e601=_0x3a16ba['toLowerCase'](),_0x269f8d=_0x23e601['substr'](0x0,0x3)+'span',_0x4c5126='min'+_0x3a16ba,_0x5d419d='max'+_0x3a16ba;if(!_0x1d3a65['isInContent'])continue;if(_0x27d1ed!=_0x1d3a65['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x1d3a65['isIntersectingWithRange'](_0x129bf5))continue;const _0x263e73=_0x501ba4['hasAttribute'](_0x269f8d)?_0x501ba4['getAttribute'](_0x269f8d)-0x1:0x0,_0x5047ec=this['_getSuggestionCoords'](_0x1d3a65),_0x545b09=_0x5047ec[_0x4c5126],_0x1e62bc=_0x5047ec[_0x5d419d];_0x545b09<=_0x3d7720[_0x23e601]&&_0x3d7720[_0x23e601]+_0x263e73<=_0x1e62bc&&(_0x1d3a65['addRange'](_0x129bf5),_0x576089=!0x0);}return _0x576089;};_0x2cbf2f['model']['document']['registerPostFixer'](_0x306b01=>{let _0x1646c0=!0x1;for(const _0x51c8d7 of _0x2cbf2f['model']['document']['differ']['getChanges']())if('insert'==_0x51c8d7['type']){if('tableRow'==_0x51c8d7['name']){for(const _0x378aa5 of _0x51c8d7['position']['nodeAfter']['getChildren']())_0x1646c0=_0x1646c0||_0x7ec6ab(_0x378aa5,_0x306b01);}else'tableCell'==_0x51c8d7['name']&&(_0x1646c0=_0x1646c0||_0x7ec6ab(_0x51c8d7['position']['nodeAfter'],_0x306b01));}return _0x1646c0;});}['_getSuggestionCoords'](_0xb7437b){return this['_getCoordsForCells'](_0xb7437b['getRanges']()['map'](_0x4e2417=>_0x4e2417['start']['nodeAfter']));}}function jL(_0x2febd7){return Array['from'](new Set(_0x2febd7)['values']());}class TrackChangesTableMergeSplit extends _0x13517b{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x1d3622=this['editor'],_0x4e919e=_0x1d3622['model']['document']['selection'],_0x1ca4e6=_0x1d3622['locale'];if(!_0x1d3622['plugins']['has']('TableEditing'))return;const _0xacf6ac=_0x1d3622['plugins']['get']('TrackChangesEditing'),_0x1260d4=_0x1d3622['plugins']['get']('TableUtils'),_0x10821b=_0x1d3622['plugins']['get'](TrackChangesTable);_0x10821b['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0xacf6ac['enableCommand']('mergeTableCells',()=>{const _0xed9e05=_0x1260d4['getSelectionAffectedTableCells'](_0x1d3622['model']['document']['selection']);_0x1d3622['model']['change'](()=>{_0xacf6ac['markMultiRangeBlockFormat'](_0xed9e05,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x1d3622['commands']['get']('mergeTableCells')['on']('execute',(_0x4a315a,_0x59c84d)=>{_0x1d3622['commands']['get']('trackChanges')['value']&&(_0x59c84d['length']>0x0&&_0x59c84d[_0x59c84d['length']-0x1]&&_0x59c84d[_0x59c84d['length']-0x1]['forceDefaultExecution']||_0xacf6ac['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x4a315a['stop']());},{'priority':'highest'});for(const _0x5aa21f of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x2dbeb6=_0x1d3622['commands']['get'](_0x5aa21f);_0xacf6ac['enableCommand'](_0x5aa21f,()=>{const _0x2e881b=_0x1d3622['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x2594b5=>_0x2594b5['is']('element','tableCell')),_0x30e5c9=_0x2dbeb6['value'];_0x1d3622['model']['change'](()=>{_0xacf6ac['markMultiRangeBlockFormat']([_0x2e881b,_0x30e5c9],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0xc9aef1 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x1b99a5=_0x1d3622['commands']['get'](_0xc9aef1);_0xacf6ac['enableCommand'](_0xc9aef1,()=>{const _0x2f6303=_0x1260d4['getSelectionAffectedTableCells'](_0x1d3622['model']['document']['selection'])[0x0],_0x147797=_0x2f6303['findAncestor']('table'),{column:_0x3df498,row:_0x42cd09}=_0x1260d4['getCellLocation'](_0x2f6303);let _0x574f88=[];if('horizontally'==_0x1b99a5['direction']){const _0x291fa9=_0x1260d4['createTableWalker'](_0x147797,{'startRow':_0x42cd09,'endRow':_0x42cd09,'includeAllSlots':!0x0});_0x574f88=Array['from'](_0x291fa9)['map'](_0x2a64f5=>_0x2a64f5['cell']);}else{const _0x38ad65=_0x1260d4['createTableWalker'](_0x147797,{'column':_0x3df498,'includeAllSlots':!0x0});_0x574f88=Array['from'](_0x38ad65)['map'](_0x413dfe=>_0x413dfe['cell']);}_0x1d3622['model']['change'](_0xe81221=>{_0xacf6ac['markBlockFormat'](_0xe81221['createRangeOn'](_0x2f6303),{'commandName':_0xc9aef1,'commandParams':[]},_0x574f88,_0xc9aef1);});});}_0xacf6ac['descriptionFactory']['registerDescriptionCallback'](_0x2b2fc4=>{if('formatBlock'!=_0x2b2fc4['type']&&'formatInline'!=_0x2b2fc4['type'])return;const {data:_0x292f4e}=_0x2b2fc4;return _0x292f4e&&'mergeTableCells'==_0x292f4e['commandName']?{'type':'format','content':RL(_0x1ca4e6,'*Merge\x20cells*')}:void 0x0;}),_0xacf6ac['descriptionFactory']['registerDescriptionCallback'](_0x2ec216=>{if('formatBlock'!=_0x2ec216['type']&&'formatInline'!=_0x2ec216['type'])return;const {data:_0xfc7d34}=_0x2ec216;return _0xfc7d34?'splitTableCellVertically'==_0xfc7d34['commandName']?{'type':'format','content':RL(_0x1ca4e6,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0xfc7d34['commandName']?{'type':'format','content':RL(_0x1ca4e6,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x47a8c9=_0x10821b['_acceptFormatSuggestionCallbackFactory']();for(const _0xa427d6 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0xacf6ac['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xa427d6,'accept',_0x47a8c9);for(const _0x14d627 of['splitTableCellVertically','splitTableCellHorizontally'])_0xacf6ac['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x14d627,'accept',_0x47a8c9);_0xacf6ac['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x5e8dce=>{_0x1d3622['model']['change'](_0x1e2102=>{const _0x35ac07=Array['from'](_0x4e919e['getRanges']())['map'](_0x3b5fec=>_0x19f373['fromRange'](_0x3b5fec));_0x1e2102['setSelection'](_0x5e8dce),_0x1d3622['commands']['get']('mergeTableCells')['refresh'](),_0x1d3622['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x88d4de=_0x35ac07['filter'](_0x330f10=>'$graveyard'!=_0x330f10['root']['rootName']);_0x88d4de['length']>0x0&&_0x1e2102['setSelection'](_0x88d4de);for(const _0x69ffe9 of _0x35ac07)_0x69ffe9['detach']();});});for(const _0x34985e of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x50722d=_0x1d3622['commands']['get'](_0x34985e);_0x50722d['on']('set:isEnabled',(_0x52e268,_0x26ae55,_0x299cd0)=>{if(_0x299cd0){const _0x51c0b6=_0x1d3622['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0xe43f61=>_0xe43f61['is']('element','tableCell'));this['_areMergableCells'](_0x50722d['value'],_0x51c0b6)||(_0x52e268['return']=!0x1,_0x52e268['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x46a5fb=this['editor']['commands']['get']('mergeTableCells'),_0x402fc0=this['editor']['plugins']['get']('TableUtils');if(!_0x46a5fb['isEnabled'])return!0x1;const _0x2c7d4a=_0x402fc0['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x31e478 of _0x2c7d4a)for(const _0x5f2799 of _0x2c7d4a)if(_0x31e478!=_0x5f2799&&!this['_areMergableCells'](_0x31e478,_0x5f2799))return!0x1;return!0x0;}['_areMergableCells'](_0x153082,_0x53d9a8){const _0x36c338=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2b8724=this['editor']['model']['createRangeOn'](_0x153082),_0x594d61=this['editor']['model']['createRangeOn'](_0x53d9a8),_0x28240a=new Set(),_0x468f55=new Set();for(const _0x576df1 of _0x36c338['getSuggestions']())if(('insertion'==_0x576df1['type']||'deletion'==_0x576df1['type']||'mergeTableCells'==_0x576df1['subType'])&&_0x576df1['isInContent']){for(const _0x3bb92d of _0x576df1['getRanges']())_0x3bb92d['containsRange'](_0x2b8724,!0x0)&&_0x28240a['add'](_0x576df1['type']+':'+_0x576df1['author']['id']),_0x3bb92d['containsRange'](_0x594d61,!0x0)&&_0x468f55['add'](_0x576df1['type']+':'+_0x576df1['author']['id']);}if(_0x28240a['size']!=_0x468f55['size'])return!0x1;for(const _0x18280b of _0x28240a)if(!_0x468f55['has'](_0x18280b))return!0x1;return!0x0;}}class TrackChangesTableHeadings extends _0x13517b{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x37811d=this['editor'];if(!_0x37811d['plugins']['has']('TableEditing'))return;const _0x29bb41=_0x37811d['locale'],_0x413222=_0x37811d['plugins']['get']('TrackChangesEditing');_0x413222['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x413222['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x413222['descriptionFactory']['registerAttributeLabel']('headingRows',RL(_0x29bb41,'FORMAT_HEADER_ROW')),_0x413222['descriptionFactory']['registerAttributeLabel']('headingColumns',RL(_0x29bb41,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x473229=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3e4753=this['editor']['plugins']['get'](TrackChangesTable)['_acceptFormatSuggestionCallbackFactory']();_0x473229['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x3e4753),_0x473229['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x3e4753),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x17255a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x38c2fe=this['editor']['plugins']['get']('TableUtils');function _0x5bb847({showActiveMarker:_0x4adff5=!0x0,setDataAttribute:_0x3e49bd=!0x0}={}){return(_0x4f1532,_0x45d56c,_0xe0df49)=>{const {type:_0x44a7b1,id:_0x17f8e4}=_0x17255a['_splitMarkerName'](_0x45d56c['markerName']);if(!_0x17255a['hasSuggestion'](_0x17f8e4))return;const _0x111086=_0x17255a['getSuggestion'](_0x17f8e4),_0x345015=_0x111086['data'];if('formatBlock'!=_0x111086['type']||!_0x345015||'setTableColumnHeader'!=_0x345015['commandName'])return;if(_0x45d56c['item'])return void _0x4f1532['stop']();if(!_0xe0df49['consumable']['consume'](_0x45d56c['markerRange'],_0x4f1532['name']))return;const _0x39e30a=_0x45d56c['markerRange']['start']['nodeAfter'],_0x1fb90b=_0x45d56c['markerRange']['end']['nodeBefore'],_0x47be93=_0x39e30a['parent']['parent'],{column:_0x5b2327}=_0x38c2fe['getCellLocation'](_0x39e30a),{column:_0x3a36de}=_0x38c2fe['getCellLocation'](_0x1fb90b);for(let _0x336a8a=_0x5b2327;_0x336a8a<=_0x3a36de;_0x336a8a++){const _0x54c541=_0x38c2fe['createTableWalker'](_0x47be93,{'column':_0x336a8a,'includeAllSlots':!0x1});for(const _0x40b2e0 of _0x54c541){const _0xf473b7=_0x40b2e0['cell'],_0x10ea5a=_0xe0df49['mapper']['toViewElement'](_0xf473b7);_0xe0df49['writer']['addClass']('ck-suggestion-marker-'+_0x44a7b1,_0x10ea5a),_0x3e49bd&&_0xe0df49['writer']['setAttribute']('data-suggestion',_0x17f8e4,_0x10ea5a),_0xe0df49['mapper']['bindElementToMarker'](_0x10ea5a,_0x45d56c['markerName']),_0x4adff5&&(_0x17255a['activeMarkers']['includes'](_0x45d56c['markerName'])?_0xe0df49['writer']['addClass']('ck-suggestion-marker--active',_0x10ea5a):_0xe0df49['writer']['removeClass']('ck-suggestion-marker--active',_0x10ea5a));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x5bb847(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3146d9,_0x2b2e3a,_0x1a0b40)=>{_0x1a0b40['options']['showSuggestionHighlights']&&_0x5bb847({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3146d9,_0x2b2e3a,_0x1a0b40);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x360cc2,_0x4d4b09,_0x2b19f4)=>{const {type:_0x108844,id:_0x2eb4c0}=_0x17255a['_splitMarkerName'](_0x4d4b09['markerName']);if(!_0x17255a['hasSuggestion'](_0x2eb4c0))return;const _0x43bd0f=_0x17255a['getSuggestion'](_0x2eb4c0),_0x4e7bc0=_0x43bd0f['data'];if('formatBlock'!=_0x43bd0f['type']||!_0x4e7bc0||'setTableColumnHeader'!=_0x4e7bc0['commandName'])return;const _0x44a974=_0x2b19f4['mapper']['markerNameToElements'](_0x4d4b09['markerName']);if(_0x44a974){for(const _0x3ebe9f of _0x44a974)_0x2b19f4['writer']['removeClass']('ck-suggestion-marker-'+_0x108844,_0x3ebe9f),_0x2b19f4['writer']['removeClass']('ck-suggestion-marker--active',_0x3ebe9f),_0x2b19f4['writer']['removeAttribute']('data-suggestion',_0x3ebe9f),_0x2b19f4['mapper']['unbindElementFromMarkerName'](_0x3ebe9f,_0x4d4b09['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x3ad96b=this['editor'],_0x5e9f2d=_0x3ad96b['locale'];function _0x49fa98(_0x2187f2){return{'type':'format','content':RL(_0x5e9f2d,'*Format:*\x20%0',_0x2187f2)};}_0x3ad96b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5c5782=>{if('formatBlock'!=_0x5c5782['type'])return;const {data:_0x5ce6b0}=_0x5c5782;if(_0x5ce6b0){if('setTableRowHeader'==_0x5ce6b0['commandName']){const _0x39bf65=_0x5ce6b0['commandParams'][0x0]['forceValue'];return _0x49fa98(RL(_0x5e9f2d,_0x39bf65?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x5ce6b0['commandName']){const _0x3eba67=_0x5ce6b0['commandParams'][0x0]['forceValue'];return _0x49fa98(RL(_0x5e9f2d,_0x3eba67?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends _0x13517b{['afterInit'](){const _0x497d27=this['editor'],_0x20e432=_0x497d27['locale'],_0x3e4006=_0x497d27['plugins']['get']('TrackChangesEditing');function _0x2212a4(_0x59a328){return{'type':'format','content':''+RL(_0x20e432,'*Set\x20table\x20type:*\x20%0',_0x59a328)};}_0x497d27['plugins']['has']('TableLayout')&&(_0x3e4006['enableCommand']('insertTableLayout'),_0x3e4006['enableDefaultAttributesIntegration']('tableType'),_0x3e4006['descriptionFactory']['registerElementLabel'](_0x170df8=>_0x170df8['is']('element','table')&&'layout'===_0x170df8['getAttribute']('tableType'),_0x5a9b18=>RL(_0x20e432,'ELEMENT_LAYOUT_TABLE',_0x5a9b18)),_0x3e4006['descriptionFactory']['registerDescriptionCallback'](_0x2fa9f8=>{const {data:_0x16f769}=_0x2fa9f8;if(_0x16f769&&'tableType'==_0x16f769['key'])switch(_0x16f769['newValue']){case'layout':return _0x2212a4(RL(_0x20e432,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x2212a4(RL(_0x20e432,'ELEMENT_CONTENT_TABLE'));}}));}}const HL=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],GL=/* #__PURE__ -- @preserve */
Object['fromEntries'](HL['map'](_0x13ea6c=>[_0x13ea6c,null]));class TrackChangesTableClipboard extends _0x13517b{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x1bee71=this['editor'];if(!_0x1bee71['plugins']['has']('TableClipboard'))return;const _0x2c0e12=_0x1bee71['plugins']['get']('TrackChangesEditing'),_0x5c6045=_0x1bee71['plugins']['get']('TableUtils'),_0x443a45=_0x1bee71['plugins']['get'](TrackChangesTable),_0x5f332c=_0x1bee71['plugins']['get']('TableClipboard'),_0x2ded20=_0x1bee71['plugins']['get']('TableSelection'),_0x3fd9cb=_0x1bee71['plugins']['get'](_0x3c05db);_0x443a45['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x1bee71['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x1bee71['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x33284e=null,_0x1f6e4e=!0x1;_0x3fd9cb['on']('contentInsertion',(_0x33d7d8,_0x533578)=>{_0x1f6e4e='paste'===_0x533578['method'];}),_0x1bee71['model']['on']('insertContent',(_0x15e5bf,_0x29356f)=>{if(!_0x1f6e4e&&null===_0x2ded20['getSelectedTableCells']())return;const [_0x18db59,_0x2c6863]=_0x29356f,_0x52becb=_0x29356f[_0x29356f['length']-0x1];_0x52becb&&_0x52becb['forceDefaultExecution']||_0x2c0e12['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x503e5d,_0x39f6d6,_0x439ba6,_0x598077,_0x56d3b3){if(_0x39f6d6&&!_0x39f6d6['is']('documentSelection'))return!0x1;const _0xccdfd6=_0x56d3b3['getTableIfOnlyTableInContent'](_0x503e5d,_0x439ba6);if(!_0xccdfd6||!XL(_0xccdfd6,void 0x0,_0x598077))return!0x1;const _0x1292fa=_0x598077['getSelectionAffectedTableCells'](_0x439ba6['document']['selection']);if(!_0x1292fa['length'])return!0x1;const _0x48e1a6=_0x1292fa[0x0]['findAncestor']('table'),_0x3d2b34=_0x598077['getRowIndexes'](_0x1292fa),_0x260c79=_0x598077['getColumnIndexes'](_0x1292fa),_0x1e5142={'startRow':_0x3d2b34['first'],'endRow':_0x3d2b34['last'],'startColumn':_0x260c79['first'],'endColumn':_0x260c79['last']};return 0x1==_0x1292fa['length']&&(_0x1e5142['endRow']+=_0x598077['getRows'](_0xccdfd6)-0x1,_0x1e5142['endColumn']+=_0x598077['getColumns'](_0xccdfd6)-0x1),XL(_0x48e1a6,_0x1e5142,_0x598077);}(_0x18db59,_0x2c6863,_0x1bee71['model'],_0x5c6045,_0x5f332c)&&(_0x15e5bf['stop'](),_0x33284e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1bee71['model']['change'](()=>{_0x1bee71['model']['insertContent'](_0x29356f[0x0],_0x29356f[0x1],_0x29356f[0x2],{'forceDefaultExecution':!0x0});const _0x13d8f6=_0x5c5c0c(),{rowInsertionRanges:_0xd12d78,columnInsertionRanges:_0x4d8805,insertionRanges:_0x2d7f87,deletionRanges:_0x28dc1a,cells:_0x4e1538}=_0x33284e;_0xd12d78['length']&&_0x2c0e12['markMultiRangeInsertion'](_0xd12d78,'tablePasteRow',{'tablePasteChainId':_0x13d8f6}),_0x4d8805['length']&&_0x2c0e12['markMultiRangeInsertion'](_0x4d8805,'tablePasteColumn',{'tablePasteChainId':_0x13d8f6}),_0x2d7f87['length']&&(_0x2c0e12['markMultiRangeInsertion'](_0x2d7f87,'tablePaste',{'tablePasteChainId':_0x13d8f6,'skipNestingCheck':!0x0}),_0x2d7f87['forEach'](_0x506704=>_0x506704['detach']?.())),_0x28dc1a['length']&&(_0x2c0e12['markMultiRangeDeletion'](_0x28dc1a,'tablePaste',{'tablePasteChainId':_0x13d8f6,'skipNestingCheck':!0x0}),_0x28dc1a['forEach'](_0x366504=>_0x366504['detach']?.()));const _0x366e1c=_0x2c0e12['markMultiRangeBlockFormat'](_0x4e1538['map'](({element:_0x135b0c})=>_0x135b0c),{'formatGroupId':_0x5c5c0c()},[],'tablePasteCell',{'tablePasteChainId':_0x13d8f6});if(_0x366e1c){const _0x1cf0a9=_0x366e1c['getMarkers'](),_0x208fc4=[];for(const {element:_0x1b0027,attributes:_0x20b13b}of _0x4e1538){if(!_0x20b13b)continue;const _0xb1c124=_0x1bee71['model']['createRangeOn'](_0x1b0027),_0x3d53d2=_0x1cf0a9['find'](_0x116886=>_0x116886['getRange']()['isEqual'](_0xb1c124));_0x3d53d2&&_0x208fc4['push']([_0x3d53d2['name'],_0x20b13b]);}_0x208fc4['length']&&_0x366e1c['setAttribute']('markerAttributes',Object['fromEntries'](_0x208fc4));}_0x33284e=null;}));},{'priority':_0x244365['high']+0xa}),_0x3fd9cb['on']('contentInsertion',()=>{_0x1f6e4e=!0x1;},{'priority':'lowest'}),_0x1bee71['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x87e7a8,_0x57afab)=>{const [_0x1b97f3,_0xccc6e1,,_0xed75ef]=_0x57afab;if(!_0x33284e)return;_0x87e7a8['stop']();const _0x386935=_0x1b97f3['cell'],_0xd8482e=_0xccc6e1,_0x4e1629=ZL(_0x386935),_0x1c7888=ZL(_0xd8482e);_0x87e7a8['return']=_0x386935;let _0x30f20c=null,_0x320e67=null;if(_0x1c7888||_0x4e1629){if(_0x4e1629&&!_0x1c7888){_0xed75ef['remove'](_0x386935['getChild'](0x0));for(const _0x77d5ec of Array['from'](_0xd8482e['getChildren']()))_0xed75ef['insert'](_0x77d5ec,_0x386935,'end');const _0x1e8353=_0x33284e['rowInsertionIndexes']['includes'](_0x1b97f3['row']),_0x3a5aa7=_0x33284e['columnInsertionIndexes']['includes'](_0x1b97f3['column']);_0x1e8353||_0x3a5aa7||(_0x30f20c=_0x19f373['fromRange'](_0xed75ef['createRangeIn'](_0x386935)));}else _0x1c7888&&!_0x4e1629&&(_0x320e67=_0xed75ef['createRangeIn'](_0x386935));}else{const _0x934b2a=_0xed75ef['createElement']('tableCellSuggestion'),_0x49e134=_0xed75ef['createElement']('tableCellSuggestion');_0xed75ef['wrap'](_0xed75ef['createRangeIn'](_0x386935),_0x49e134),_0xed75ef['insert'](_0x934b2a,_0x386935,0x0);for(const _0x5c31ad of Array['from'](_0xd8482e['getChildren']()))_0xed75ef['insert'](_0x5c31ad,_0x934b2a,'end');_0x30f20c=_0x19f373['fromRange'](_0xed75ef['createRangeOn'](_0x934b2a)),_0x320e67=_0x19f373['fromRange'](_0xed75ef['createRangeOn'](_0x49e134));}const _0xd1230c=Array['from'](_0xd8482e['getAttributes']())['filter'](([_0x10437e])=>HL['includes'](_0x10437e));_0x33284e['cells']['push']({'element':_0x386935,'attributes':_0xd1230c['length']?Object['fromEntries'](_0xd1230c):null}),_0x30f20c&&_0x33284e['insertionRanges']['push'](_0x30f20c),_0x320e67&&_0x33284e['deletionRanges']['push'](_0x320e67);},{'priority':'high'}),_0x5c6045['on']('insertColumns',(_0x5152a0,_0x28bf08)=>{const [_0x256df6,_0x1dc108={}]=_0x28bf08;if(!_0x33284e)return;const _0xa8b84c=_0x1dc108['at']||0x0,_0x4ecdf1=_0x1dc108['columns']||0x1;_0x33284e['columnInsertionIndexes']=new Array(_0x4ecdf1)['fill'](_0xa8b84c)['map']((_0x3e249c,_0x11c6d6)=>_0x3e249c+_0x11c6d6);for(const {cell:_0x2d15d9}of _0x5c6045['createTableWalker'](_0x256df6,{'startColumn':_0xa8b84c,'endColumn':_0xa8b84c+_0x4ecdf1-0x1}))_0x33284e['columnInsertionRanges']['push'](_0x1bee71['model']['createRangeOn'](_0x2d15d9));},{'priority':'low'}),_0x5c6045['on']('insertRows',(_0x2b2152,_0x3ac33e)=>{const [_0x528347,_0x31c995={}]=_0x3ac33e;if(!_0x33284e)return;const _0x3dd855=_0x31c995['at']||0x0,_0x169009=_0x31c995['rows']||0x1;_0x33284e['rowInsertionIndexes']=new Array(_0x169009)['fill'](_0x3dd855)['map']((_0x3eb6bb,_0x215b04)=>_0x3eb6bb+_0x215b04);for(const {cell:_0x291b2c}of _0x5c6045['createTableWalker'](_0x528347,{'startRow':_0x3dd855,'endRow':_0x3dd855+_0x169009-0x1}))_0x33284e['rowInsertionRanges']['push'](_0x1bee71['model']['createRangeOn'](_0x291b2c));},{'priority':'low'}),_0x2c0e12['descriptionFactory']['registerDescriptionCallback'](_0x59e697=>{if(_0x59e697['subType']&&_0x59e697['subType']['startsWith']('tablePaste'))return _0x59e697['previous']?{}:{'type':'insertion','content':RL(_0x1bee71['locale'],'*Replace\x20table\x20cells*')};});const _0xd65c81=()=>!0x1;for(const _0x59480 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x2c0e12['_suggestionFactory']['registerCustomCallback']('insertion',_0x59480,'join',_0xd65c81),_0x2c0e12['_suggestionFactory']['registerCustomCallback']('deletion',_0x59480,'join',_0xd65c81),_0x2c0e12['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x59480,'join',_0xd65c81);_0x2c0e12['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0xd65c81),_0x2c0e12['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x53e0f0,_0x26bb84,_0x599e19)=>{const _0x53828e=_0x53e0f0['map'](_0x40b8b5=>_0x40b8b5['getContainedElement']())['filter'](_0x37232b=>_0x37232b),_0x2308a5=new Map(_0x53828e['map'](_0x4bf910=>[_0x4bf910,null]));if(_0x33284e){for(const {element:_0x4f32fa,attributes:_0x3e15da}of _0x33284e['cells'])_0x3e15da&&_0x2308a5['set'](_0x4f32fa,_0x3e15da);}else{if(_0x599e19&&_0x599e19['markerAttributes'])for(const [_0x18457d,_0x2846bb]of Object['entries'](_0x599e19['markerAttributes'])){const _0x502a68=_0x1bee71['model']['markers']['get'](_0x18457d),_0x4e29fd=_0x502a68?_0x502a68['getRange']()['getContainedElement']():null;_0x4e29fd&&_0x2308a5['set'](_0x4e29fd,_0x2846bb);}}_0x1bee71['model']['change'](_0x1a55b2=>{for(const [_0x58fdab,_0x52f391]of _0x2308a5)_0x1a55b2['setAttributes']({...GL,..._0x52f391},_0x58fdab);});});const _0x80c1d8=(_0x50b275,_0x1670ab)=>{_0x2c0e12['_suggestionFactory']['registerCustomCallback'](_0x50b275,'tablePaste',_0x1670ab,(_0x4eedb7,_0x4eff17,_0x194989)=>{_0x1bee71['model']['change'](_0x1a39e6=>{const _0x374078=[];for(const _0x21b7d2 of _0x4eedb7){const _0x51bc24=_0x21b7d2['start']['nodeAfter'];_0x51bc24['is']('element','tableCellSuggestion')&&_0x374078['push'](_0x51bc24);}_0x2c0e12['_suggestionFactory']['getSuggestionCallback'](_0x50b275,null,_0x1670ab)(_0x4eedb7,_0x4eff17,_0x194989);for(const _0x1fbf51 of _0x374078)'$graveyard'!=_0x1fbf51['root']['rootName']&&_0x1a39e6['unwrap'](_0x1fbf51);});});};_0x80c1d8('insertion','accept'),_0x80c1d8('insertion','discard'),_0x80c1d8('deletion','accept'),_0x80c1d8('deletion','discard'),_0x2c0e12['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x18b9be=>{const _0x14aac5=_0x18b9be['map'](_0x479309=>_0x479309['getContainedElement']()),_0x3ca5a9=_0x14aac5[0x0]['findAncestor']('table'),{minRow:_0x427316,maxRow:_0x3b5c91}=_0x443a45['_getCoordsForCells'](_0x14aac5);_0x5c6045['removeRows'](_0x3ca5a9,{'at':_0x427316,'rows':_0x3b5c91-_0x427316+0x1});}),_0x2c0e12['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x39ff33=>{const _0x2a00c8=_0x39ff33['map'](_0x53f127=>_0x53f127['getContainedElement']()),_0x53fb64=_0x2a00c8[0x0]['findAncestor']('table'),{minColumn:_0x1bf265,maxColumn:_0x3e509b}=_0x443a45['_getCoordsForCells'](_0x2a00c8);_0x5c6045['removeColumns'](_0x53fb64,{'at':_0x1bf265,'columns':_0x3e509b-_0x1bf265+0x1});});const _0x3cc06c=(_0x1d2332,_0xc96e8f)=>{if(!_0xc96e8f['subType']||!_0xc96e8f['subType']['startsWith']('tablePaste'))return;const _0x2786f6=_0xc96e8f['attributes']['tablePasteChainId'],_0x9aad69=_0x2c0e12['getSuggestions']()['filter'](_0x2ccb4e=>_0x2ccb4e['isInContent']&&_0x2ccb4e['attributes']&&_0x2ccb4e['attributes']['tablePasteChainId']==_0x2786f6);_0x9aad69['length']&&_0xc96e8f['getAllAdjacentSuggestions']()['length']!=_0x9aad69['length']&&_0x9aad69['reduce']((_0x94be5d,_0x595dff)=>(_0x94be5d['next']=_0x595dff,_0x595dff['previous']=_0x94be5d,_0x595dff));};function _0x502bcc(_0x1fea11,_0x1de9d7=!0x0){const {id:_0x191e42,authorId:_0x5cbba2}=_0x2c0e12['_splitMarkerName'](_0x1fea11['markerName']),_0x5b084a=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x17b49d=_0x2c0e12['activeMarkers']['includes'](_0x1fea11['markerName']);return _0x17b49d&&_0x5b084a['push']('ck-suggestion-marker--active'),{'classes':_0x5b084a,'attributes':{'data-suggestion':_0x191e42,'data-author-id':_0x5cbba2},'priority':_0x17b49d&&_0x1de9d7?0xbc2:0xbb8};}_0x2c0e12['on']('suggestionLoaded',_0x3cc06c,{'priority':'high'}),_0x2c0e12['on']('suggestionUnloaded',_0x3cc06c,{'priority':'high'}),_0x1bee71['model']['document']['registerPostFixer'](()=>{let _0x4001fc=!0x1;const _0x3c43cf=Array['from'](_0x1bee71['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x409999,data:_0x134073}of _0x3c43cf){const {group:_0xebde5,type:_0x306204,id:_0x54cca0}=_0x2c0e12['_splitMarkerName'](_0x409999);if('suggestion'!=_0xebde5||'deletion'!=_0x306204||_0x134073['oldRange'])continue;if(!_0x2c0e12['hasSuggestion'](_0x54cca0))continue;const _0x2f8636=_0x2c0e12['getSuggestion'](_0x54cca0)['getRanges'](),_0x2f2518=_0x1bee71['plugins']['get']('Users')['me'];for(const _0x42ce4b of _0x2c0e12['getSuggestions']()){if(!_0x42ce4b['isInContent']||_0x42ce4b['author']!=_0x2f2518)continue;if('formatBlock'!=_0x42ce4b['type']||'tablePasteCell'!=_0x42ce4b['subType'])continue;if(_0x42ce4b['getRanges']()['every'](_0x1ff26e=>_0x2f8636['some'](_0x3084e4=>_0x3084e4['containsRange'](_0x1ff26e,!0x0)))){for(const _0x559828 of _0x42ce4b['getAllAdjacentSuggestions']())_0x559828['isInContent']&&(_0x559828['discard'](),_0x4001fc=!0x0);}}}return _0x4001fc;}),_0x1bee71['model']['document']['registerPostFixer'](_0x1c4539=>{const _0x46b539=_0x1bee71['commands']['get']('redo');if(!_0x46b539||!_0x46b539['_createdBatches']['has'](_0x1c4539['batch']))return!0x1;let _0x457f03=!0x1;const _0x4a3d8f=_0x1bee71['plugins']['get']('Users')['me'],_0x44ebf8=_0x1bee71['model']['document']['differ']['getChanges'](),_0xb44af=Array['from'](_0x1bee71['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0xb5a62,data:_0x453bba})=>{const {group:_0x59a7cd,subType:_0x83b7e9,authorId:_0x322179}=_0x2c0e12['_splitMarkerName'](_0xb5a62);return'suggestion'==_0x59a7cd&&'tablePaste'==_0x83b7e9&&_0x322179==_0x4a3d8f['id']&&!_0x453bba['oldRange'];});for(const _0x53fd3d of _0x44ebf8){if('insert'!=_0x53fd3d['type']||'tableCellSuggestion'!=_0x53fd3d['name']||0x1!=_0x53fd3d['length'])continue;const _0x4b2554=_0x1c4539['createRange'](_0x53fd3d['position'],_0x53fd3d['position']['getShiftedBy'](0x1)),_0x417220=_0xb44af['find'](({data:_0x2b0bb1})=>_0x2b0bb1['newRange']['isEqual'](_0x4b2554));if(!_0x417220){for(const {name:_0xc98d8b,data:_0x3c3b80}of _0xb44af)if(_0x4b2554['containsRange'](_0x3c3b80['newRange'])){_0x1c4539['updateMarker'](_0xc98d8b,{'range':_0x4b2554}),_0x457f03=!0x0;break;}}}return _0x457f03;}),_0x1bee71['model']['document']['registerPostFixer'](_0x258f6e=>{let _0x1d0aa8=!0x1;const _0x40eb62=_0x1bee71['plugins']['get']('Users')['me'],_0x2031d0=_0x2c0e12['getSuggestions']()['filter'](_0x3e28fb=>_0x3e28fb['isInContent']&&_0x3e28fb['author']==_0x40eb62),_0x34d20c=new Set(),_0x1ccd79=new Set();for(const _0x5be802 of _0x2031d0)if('tablePaste'==_0x5be802['subType'])for(const _0x298c97 of _0x5be802['getMarkers']()){const _0x4fec38=_0x298c97['getRange']()['getContainedElement']();if(_0x4fec38){if(_0x4fec38['is']('element','tableCellSuggestion')&&ZL(_0x4fec38)){_0x5be802['removeMarker'](_0x298c97['name']),_0x34d20c['add'](_0x4fec38),_0x1d0aa8=!0x0;const _0x2610ab=_0x4fec38['nextSibling'],_0x49579f=_0x4fec38['previousSibling'],_0x3a55f3=_0x2610ab&&_0x2610ab['is']('element','tableCellSuggestion'),_0x5079bf=_0x49579f&&_0x49579f['is']('element','tableCellSuggestion');_0x3a55f3&&!_0x34d20c['has'](_0x2610ab)&&_0x1ccd79['add'](_0x2610ab),_0x5079bf&&!_0x34d20c['has'](_0x49579f)&&_0x1ccd79['add'](_0x49579f);}else _0x4fec38['is']('element','paragraph')&&_0x4fec38['isEmpty']&&(_0x5be802['removeMarker'](_0x298c97['name']),_0x1d0aa8=!0x0);}}else{if('tablePasteCell'==_0x5be802['subType']){if(!_0x5be802['attributes']||!_0x5be802['attributes']['tablePasteChainId'])continue;const _0x43ae32=_0x5be802['attributes']['markerAttributes'];if(_0x43ae32&&Object['keys'](_0x43ae32)['length'])continue;const _0x3b7839=_0x5be802['attributes']['tablePasteChainId'];let _0x5192d6=!0x0,_0x124cd4=!0x0;for(const _0x5c0c8e of _0x2031d0)if(_0x5c0c8e['subType']&&_0x5c0c8e['subType']['startsWith']('tablePaste')){if(!_0x5c0c8e['attributes']['tablePasteChainId']){_0x124cd4=!0x1;break;}if(_0x5c0c8e['id']!=_0x5be802['id']&&_0x5c0c8e['attributes']['tablePasteChainId']==_0x3b7839){_0x5192d6=!0x1;break;}}_0x124cd4&&_0x5192d6&&(_0x5be802['removeMarkers'](),_0x1d0aa8=!0x0);}}for(const _0x375793 of _0x34d20c)_0x258f6e['remove'](_0x375793);for(const _0x3017fc of _0x1ccd79)_0x258f6e['unwrap'](_0x3017fc);return _0x1d0aa8;}),_0x1bee71['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0xf6fcdd=>_0x502bcc(_0xf6fcdd),'converterPriority':'high'}),_0x1bee71['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x526566,_0x88f4aa)=>_0x88f4aa['options']['showSuggestionHighlights']?_0x502bcc(_0x526566,!0x1):null,'converterPriority':'high'});const _0x5b450c=_0x1bee71['editing']['view'];this['listenTo'](_0x5b450c['document'],'clipboardOutput',(_0x2592dc,_0xe4555)=>{const _0x2cd98f=[];for(const _0x4144d5 of _0x5b450c['createRangeIn'](_0xe4555['content'])['getItems']())_0x4144d5['is']('element','suggestion-td')&&_0x2cd98f['push'](_0x4144d5);_0x5b450c['change'](_0x5f0841=>{for(const _0x4b9a62 of _0x2cd98f)_0x5f0841['move'](_0x5f0841['createRangeIn'](_0x4b9a62),_0x5f0841['createPositionBefore'](_0x4b9a62)),_0x5f0841['remove'](_0x4b9a62);});});}}function ZL(_0x26c9f6){if(_0x26c9f6['isEmpty'])return!0x0;const _0x35111f=_0x26c9f6['getChild'](0x0);return _0x35111f['is']('element','paragraph')&&_0x35111f['isEmpty'];}function XL(_0x2b8a56,_0x4b522b={},_0xf9859d){for(const {isAnchor:_0x34e064,cellHeight:_0x571972,cellWidth:_0x371b31}of _0xf9859d['createTableWalker'](_0x2b8a56,{'includeAllSlots':!0x0,..._0x4b522b}))if(!_0x34e064||0x1!=_0x571972||0x1!=_0x371b31)return!0x1;return!0x0;}class TrackChangesTableColumnResize extends _0x13517b{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x5db8fb=this['editor']['plugins']['get']('TrackChangesEditing');_0x5db8fb['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x5db8fb['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x5db8fb['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x5db8fb['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x5db8fb['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x5db8fb['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0xc63462,_0x545928){const _0x50e440=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3524af=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x222851=_0x545928['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x358fcf=_0x3524af['getColumnGroupElement'](_0x222851);let _0x4e7c45=_0x358fcf?_0x3524af['getTableColumnsWidths'](_0x358fcf):null,_0x36b3b0=_0x222851['getAttribute']('tableWidth')||null;const _0x22e348=_0x545928['tableWidth']||_0x36b3b0,_0xce31dc=_0x545928['columnWidths']||_0x4e7c45,_0x2031bf=this['editor']['plugins']['get']('Users')['me'];for(const _0x23e2e4 of _0x50e440['getSuggestions']()){const _0x5976da=_0x23e2e4['getContainedElement']();if('resizeTable'===_0x23e2e4['subType']&&_0x5976da===_0x222851){_0x23e2e4['author']!==_0x2031bf&&_0x23e2e4['discard']();const _0x29536e=_0x23e2e4['data']['commandParams'];_0x36b3b0=_0x29536e[0x0]['tableWidth'],_0x4e7c45=_0x29536e[0x0]['columnWidths'];break;}}_0xc63462({'table':_0x222851,'tableWidth':_0x22e348,'columnWidths':_0xce31dc}),_0x50e440['markBlockFormat'](_0x222851,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x36b3b0,'columnWidths':_0x4e7c45}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x41ab7f){if('formatBlock'!=_0x41ab7f['type']&&'formatInline'!=_0x41ab7f['type'])return;const {data:_0x4db8db}=_0x41ab7f;if(_0x4db8db&&'resizeTable'===_0x4db8db['formatGroupId']){const _0xb13e85='*Format:*\x20resize\x20table';return{'type':'format','content':RL(this['editor']['locale'],_0xb13e85)};}}}class TrackChangesTemplate extends _0x13517b{['afterInit'](){const _0x3feeb2=this['editor'];_0x3feeb2['plugins']['has']('Template')&&_0x3feeb2['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x13517b{['afterInit'](){const _0x3a2f86=this['editor'];if(!_0x3a2f86['commands']['get']('insertTableOfContents'))return;_0x3a2f86['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x35ea65=_0x3a2f86['plugins']['get']('TrackChangesEditing'),_0x5eda18=_0x3a2f86['locale'];_0x35ea65['descriptionFactory']['registerElementLabel']('tableOfContents',_0x6529a7=>RL(_0x5eda18,'ELEMENT_TABLE_OF_CONTENTS',_0x6529a7));}}class TrackChangesTitle extends _0x13517b{['afterInit'](){const _0x48a1cb=this['editor'];if(!_0x48a1cb['plugins']['has']('Title'))return;const _0x4021ea=_0x48a1cb['plugins']['get']('TrackChangesEditing');_0x4021ea['descriptionFactory']['registerElementLabel']('title-content',()=>RL(_0x48a1cb['locale'],'ELEMENT_TITLE')),_0x48a1cb['model']['document']['registerPostFixer'](_0x11b4a5=>{let _0x433f36=!0x1;const _0x410250=Array['from'](_0x48a1cb['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x5b8e40,data:_0x59fb99}of _0x410250){const {group:_0x203ee8}=_0x4021ea['_splitMarkerName'](_0x5b8e40);if('suggestion'!==_0x203ee8||!_0x59fb99['newRange'])continue;const _0x554ede=_0x59fb99['newRange'],_0x59f526=_0x554ede['end']['nodeBefore'];if(!_0x59f526||!_0x59f526['is']('element','title-content'))continue;if(!_0x554ede['start']['isTouching'](_0x554ede['end']))continue;const _0xebd277=_0x48a1cb['model']['schema']['getNearestSelectionRange'](_0x554ede['end'],'forward');if(_0xebd277&&_0xebd277['isCollapsed']){const _0x1e0e9c=_0x11b4a5['createRange'](_0x554ede['start'],_0xebd277['start']);_0x1e0e9c['isEqual'](_0x554ede)||(_0x11b4a5['updateMarker'](_0x5b8e40,{'range':_0x1e0e9c}),_0x433f36=!0x0);}_0x433f36||(_0x11b4a5['removeMarker'](_0x5b8e40),_0x433f36=!0x0);}return _0x433f36;});}}class TrackChangesUploadcare extends _0x13517b{['afterInit'](){const _0x13b4b0=this['editor'],_0x2af34f=_0x13b4b0['plugins']['get']('TrackChangesEditing');_0x13b4b0['plugins']['has']('Uploadcare')&&(_0x2af34f['enableCommand']('uploadcare'),_0x13b4b0['plugins']['has']('UploadcareImageEdit')&&(_0x2af34f['enableCommand']('uploadcareImageEdit'),_0x2af34f['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x2af34f['descriptionFactory']['registerDescriptionCallback'](_0x492c86=>{if('attribute'!=_0x492c86['type'])return;const {data:_0x2bab83}=_0x492c86;return _0x2bab83&&'uploadcareImageId'==_0x2bab83['key']?{'type':'format','content':''}:void 0x0;})));}}class TrackChangesUndo extends _0x13517b{['afterInit'](){const _0x2f3845=this['editor'],_0x1de7f3=_0x2f3845['plugins']['get']('TrackChangesEditing');_0x2f3845['plugins']['has']('UndoEditing')&&(_0x1de7f3['enableCommand']('undo'),_0x1de7f3['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x13517b{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x3e40fb=this['editor'];if(!_0x3e40fb['plugins']['has']('TableCaptionEditing'))return;_0x3e40fb['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x13517b{['tableProperties'];['tableCellProperties'];constructor(_0x398d38){super(_0x398d38),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x398d38['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 _0x2ebd43=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x111cf4 of this['tableProperties'])_0x2ebd43['enableCommand'](_0x111cf4,(_0x1f4a9a,_0x2f4ddf)=>{const _0x56f782=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x111cf4,[_0x56f782],this['tableProperties'],'tableProperties',_0x1f4a9a,_0x2f4ddf);});_0x2ebd43['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x2ebd43['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x2ebd43['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x1b5d29,_0xfcb983)=>this['handleDiscardAction'](this['tableProperties'],_0x1b5d29,_0xfcb983)),_0x2ebd43['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x2237aa of this['tableCellProperties'])this['editor']['commands']['get'](_0x2237aa)&&_0x2ebd43['enableCommand'](_0x2237aa,(_0x107402,_0x389f83)=>{const _0x4f4d21=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x2237aa,_0x4f4d21,this['tableCellProperties'],'tableCellProperties',_0x107402,_0x389f83);});_0x2ebd43['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x2ebd43['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x2ebd43['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x454f30,_0x3b1a68)=>this['handleDiscardAction'](this['tableCellProperties'],_0x454f30,_0x3b1a68)),_0x2ebd43['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x2ebd43['descriptionFactory']['registerAttributeLabel']('tableCellType',RL(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x2ebd43['descriptionFactory']['registerDescriptionCallback'](_0x25aee9=>this['handleSuggestionDescription'](_0x25aee9)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x297578,_0x3d1dad,_0x11b353,_0xd0acf,_0x50dd5b,_0x2432aa){const _0x1d569a=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x2432aa['batch'],()=>{for(const _0x1b539c of _0x3d1dad){if(this['_getSuggestion'](_0x1b539c,_0xd0acf))_0x50dd5b(_0x2432aa);else{const _0x1f3501={};for(const _0x1525cf of _0x11b353){const _0x17448b=_0x1b539c['getAttribute'](_0x1525cf);void 0x0!==_0x17448b&&(_0x1f3501[_0x1525cf]=_0x17448b);}_0x50dd5b(_0x2432aa),_0x1d569a['markBlockFormat'](_0x1b539c,{'commandParams':[_0x1f3501]},[],_0xd0acf);}}});}['handleDiscardAction'](_0x1fd7bf,_0x2e3978,_0x4848e7){const _0x4f1ad2=_0x2e3978[0x0]['start']['nodeAfter'],_0xd6b108=_0x4848e7['commandParams'][0x0];this['editor']['model']['change'](_0x51823c=>{for(const _0x5eb584 of _0x1fd7bf)void 0x0!==_0xd6b108[_0x5eb584]?_0x51823c['setAttribute'](_0x5eb584,_0xd6b108[_0x5eb584],_0x4f1ad2):_0x51823c['removeAttribute'](_0x5eb584,_0x4f1ad2);});}['handleSuggestionDescription'](_0x43bc71){if(_0x43bc71['data'])switch(_0x43bc71['subType']){case'tableProperties':return{'type':'format','content':RL(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':RL(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x5d8f4d,_0x2edb1c){const _0x53d2cc=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x1a23ce of _0x53d2cc['getSuggestions']({'skipNotAttached':!0x0})){const _0x27eb07=_0x1a23ce['getContainedElement']();if(_0x1a23ce['subType']===_0x2edb1c&&_0x27eb07===_0x5d8f4d)return _0x1a23ce;}return null;}['_registerTablePropertiesAttributes'](){const _0x22bb48=this['editor']['plugins']['get']('TrackChangesEditing'),_0x156d4e=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x4f5cbc of _0x156d4e){const _0x4f30ae=_0x4f5cbc['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x22bb48['descriptionFactory']['registerAttributeLabel'](_0x4f5cbc,RL(this['editor']['locale'],'FORMAT_'+_0x4f30ae));}}}class TrackChangesLineHeight extends _0x13517b{['afterInit'](){const _0x5c5cac=this['editor'];if(!_0x5c5cac['plugins']['has']('LineHeight'))return;const _0x43abfc=_0x5c5cac['plugins']['get']('TrackChangesEditing'),_0x636a83=_0x5c5cac['locale'];_0x43abfc['enableDefaultAttributesIntegration']('lineHeight'),_0x43abfc['descriptionFactory']['registerAttributeLabel']('lineHeight',RL(_0x636a83,'FORMAT_LINE_HEIGHT'));}}const qL='$elementName';class TrackChangesEditing extends _0x13517b{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,Users,_0x204cf0,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(_0x351896){super(_0x351896),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x1bd4e9,_0x4d76d9,_0x867f7,_0x29be34)=>{this['_model']['change'](()=>{for(const _0x39ffd2 of[..._0x29be34,..._0x867f7])this['_model']['markers']['has'](_0x39ffd2)&&_0x351896['editing']['reconvertMarker'](_0x39ffd2);});}),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']=_0x351896['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x351896['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x351896['config']['get']('trackChanges.trackFormatChanges'),_0x351896['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x351896['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new TrackChangesCommand(_0x351896,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x4e8f71=this['editor'];_0x4e8f71['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xf9f990,{writer:_0x5c3428})=>{let _0x432ffc='suggestion:'+_0xf9f990['getAttribute']('suggestion-type')+':'+_0xf9f990['getAttribute']('id');return _0xf9f990['getAttribute']('marker-count')&&(_0x432ffc+=':'+_0xf9f990['getAttribute']('marker-count')),_0x5c3428['createElement']('$marker',{'data-name':_0x432ffc});}}),_0x4e8f71['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x4e8f71['model']['document']['registerPostFixer'](_0x1110ae=>{let _0xd84b34=!0x1;const _0x1ed2d8=Array['from'](_0x4e8f71['model']['document']['differ']['getChangedMarkers']()),_0x8c0d65=new Set();for(const {name:_0x17fc33,data:_0x127615}of _0x1ed2d8){const {group:_0x1a9ca9,type:_0x147e23,subType:_0x416754,id:_0x20db6a}=this['_splitMarkerName'](_0x17fc33);if('suggestion'!==_0x1a9ca9)continue;const _0x8c3615=_0x416754?'suggestion:'+_0x147e23+':'+_0x416754+':'+_0x20db6a:'suggestion:'+_0x147e23+':'+_0x20db6a,_0x419777=_0x4e8f71['model']['markers']['getMarkersGroup'](_0x8c3615),_0x42dee2=_0x4e8f71['model']['markers']['get'](_0x17fc33),_0x205e4b=this['_suggestions']['get'](_0x20db6a);if(null!=_0x127615['newRange']){'formatInline'==_0x147e23&&(_0xd84b34=_0xd84b34||YL(_0x127615['newRange'],_0x17fc33,_0x1110ae,_0x4e8f71['model']['schema']));const _0x33df03='attribute'==_0x147e23&&this['_isBlockAttribute'](_0x416754['split']('|')[0x0]),_0x415c08='attribute'==_0x147e23&&this['_isInlineAttribute'](_0x416754['split']('|')[0x0]);if(_0x127615['newRange']['isCollapsed']||'$graveyard'==_0x127615['newRange']['root']['rootName']||'formatBlock'==_0x147e23&&!JL(_0x127615['newRange'])||_0x33df03&&!JL(_0x127615['newRange'])||_0x415c08&&tD(_0x127615['newRange'])||'deletion'==_0x147e23&&tD(_0x127615['newRange'])||_0x42dee2&&eD(_0x42dee2,_0x419777))_0x1110ae['removeMarker'](_0x17fc33),_0xd84b34=!0x0;else{if(!_0x205e4b||!_0x205e4b['isInContent'])continue;if(_0x127615['newRange']&&_0x127615['oldRange']&&_0x127615['newRange']['isEqual'](_0x127615['oldRange']))continue;_0x8c0d65['add'](_0x205e4b);}}}return _0x8c0d65['size']>0x0&&(_0xd84b34=!!this['_joinWithAdjacentSuggestions'](_0x8c0d65)||_0xd84b34),_0xd84b34;}),_0x4e8f71['model']['document']['registerPostFixer'](_0x442e46=>{let _0x459530=!0x1;for(const _0x7de878 of _0x4e8f71['model']['document']['differ']['getChanges']())if('insert'==_0x7de878['type'])for(const _0x103acf of this['_suggestions']['values']()){if(_0x103acf['isMultiRange']||!_0x103acf['isInContent'])continue;const _0x93ef21='formatBlock'==_0x103acf['type'],_0x3561f8=this['_getAttributeKey'](_0x103acf),_0x47535e=_0x3561f8&&this['_isBlockAttribute'](_0x3561f8);if(!_0x93ef21&&!_0x47535e)continue;const _0x198b38=_0x103acf['getFirstRange']();if(_0x198b38['start']['parent']!=_0x198b38['end']['parent']&&!_0x198b38['end']['isAtEnd']){const _0x2f1fb3=_0x4e8f71['model']['createPositionAt'](_0x198b38['start']['nodeAfter'],'end'),_0x21ef0a=_0x4e8f71['model']['createRange'](_0x198b38['start'],_0x2f1fb3);_0x442e46['updateMarker'](_0x103acf['getFirstMarker'](),{'range':_0x21ef0a}),_0x459530=!0x0;}}return _0x459530;}),_0x4e8f71['model']['document']['registerPostFixer'](_0x5cb526=>this['_processAttributeChanges'](_0x5cb526)),_0x4e8f71['model']['document']['registerPostFixer'](_0x5cd95f=>!_0x5cd95f['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x5cd95f)),_0x4e8f71['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x4e8f71['model']['document']['on']('change:data',(_0x35446f,_0x1b32d9)=>{if(!_0x1b32d9['isLocal']||_0x1b32d9['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x257400=_0x4e8f71['model']['document']['differ']['getChanges']();if(0x0==_0x257400['length'])return;const _0xc0b958=[],_0x3c6cfb=_0x257400['filter'](_0x240351=>'attribute'==_0x240351['type']),_0x20a710=_0x257400['filter'](_0x2e3606=>'insert'==_0x2e3606['type']&&'$text'!=_0x2e3606['name']);for(const _0x11dbb7 of _0x3c6cfb)this['_isRegisteredAttribute'](_0x11dbb7['attributeKey'])&&_0xc0b958['push']({'key':_0x11dbb7['attributeKey'],'newValue':_0x11dbb7['attributeNewValue'],'oldValue':_0x11dbb7['attributeOldValue'],'range':iD(_0x11dbb7['range'],_0x4e8f71['model'])});for(const _0x233721 of _0x20a710){if('rename'!=_0x233721['action']&&'refresh'!=_0x233721['action'])continue;const _0x38b573=sD(_0x233721['position']['nodeAfter'],_0x4e8f71['model']),_0x40216b=_0x233721['before'];'rename'==_0x233721['action']&&_0xc0b958['push']({'key':qL,'newValue':_0x233721['name'],'oldValue':_0x40216b['name'],'range':_0x38b573});for(const [_0x177869,_0x5a50fd]of _0x40216b['attributes']){if(!this['_isRegisteredAttribute'](_0x177869))continue;const _0x127f13=_0x233721['attributes']['get'](_0x177869);_0x5a50fd!==_0x127f13&&_0xc0b958['push']({'key':_0x177869,'newValue':_0x127f13,'oldValue':_0x5a50fd,'range':_0x38b573});}for(const [_0x1ac350,_0x3f784d]of _0x233721['attributes'])this['_isRegisteredAttribute'](_0x1ac350)&&(_0x40216b['attributes']['has'](_0x1ac350)||_0xc0b958['push']({'key':_0x1ac350,'newValue':_0x3f784d,'oldValue':null,'range':_0x38b573}));}0x0!=_0xc0b958['length']&&_0x4e8f71['model']['enqueueChange'](_0x1b32d9,_0x187bf1=>{const _0x574208=_0x5c5c0c();for(const {range:_0x484ccb,key:_0x31d83e,oldValue:_0x16a146,newValue:_0x2835a4}of _0xc0b958)this['markAttributeChange'](_0x484ccb,_0x31d83e,_0x16a146,_0x2835a4,{'groupId':_0x574208});this['_reduceExistingSuggestions'](_0x187bf1,_0xc0b958);});},{'priority':'lowest'}),_0x4e8f71['model']['markers']['on']('update:suggestion',(_0x32a45f,_0x4d090a,_0x4cc5bf)=>{if(null==_0x4cc5bf){const {id:_0x1cba6d}=this['_splitMarkerName'](_0x4d090a['name']),_0x41dd81=this['_suggestions']['get'](_0x1cba6d);_0x41dd81&&_0x41dd81['addMarkerName'](_0x4d090a['name']);}}),_0x4e8f71['model']['document']['on']('change:data',()=>{const _0x23a6a2=Array['from'](_0x4e8f71['model']['document']['differ']['getChangedMarkers']())['filter'](_0x1cf00b=>'suggestion'===this['_splitMarkerName'](_0x1cf00b['name'])['group']);if(0x0===_0x23a6a2['length'])return;_0x23a6a2['sort']((_0x507d57,_0x58acc7)=>{const _0x179bde=_0x507d57['data']['oldRange'],_0x56d0ad=_0x58acc7['data']['oldRange'];return null===_0x179bde&&null===_0x56d0ad?0x0:null===_0x179bde&&null!==_0x56d0ad?-0x1:null!==_0x179bde&&null===_0x56d0ad?0x1:_0x179bde['start']['isBefore'](_0x56d0ad['start'])?-0x1:0x1;});const _0x43f2b3=new Set(),_0x4e8f79=new Set();for(const {name:_0x9e680a,data:_0x14b94a}of _0x23a6a2){const {id:_0x23e4ec}=this['_splitMarkerName'](_0x9e680a);if(null===_0x14b94a['oldRange']){const _0x33289b=this['_handleNewSuggestionMarker'](_0x9e680a);_0x4e8f79['add'](_0x33289b);}else{const _0x3d62f9=this['_suggestions']['get'](_0x23e4ec);null!==_0x14b94a['newRange']||_0x3d62f9['isInContent']?(_0x43f2b3['add'](_0x3d62f9['head']),_0x4e8f79['add'](_0x3d62f9)):this['_removeSuggestion'](_0x3d62f9);}}_0x4e8f79['size']>0x0&&this['_refreshSuggestionsChain'](_0x4e8f79);for(const _0x4a1e99 of _0x43f2b3)this['fire']('suggestionChanged',_0x4a1e99);}),_0x4e8f71['model']['on']('applyOperation',(_0x2d486d,_0x528fbd)=>{const _0x14d64f=_0x528fbd[0x0];if(!this['_suggestions']['size'])return;if(!_0x14d64f['isDocumentOperation'])return;if(_0x14d64f['batch']['isUndo']||!_0x14d64f['batch']['isLocal'])return;let _0x522c28,_0x1c25f8;switch(_0x14d64f['type']){case'insert':_0x522c28=_0x4e8f71['model']['createPositionAt'](_0x14d64f['position']),_0x1c25f8=_0x522c28['getShiftedBy'](_0x14d64f['howMany']);break;case'split':_0x522c28=_0x4e8f71['model']['createPositionAt'](_0x14d64f['splitPosition']),_0x1c25f8=_0x4e8f71['model']['createPositionAt'](_0x14d64f['moveTargetPosition']);break;case'move':_0x522c28=_0x4e8f71['model']['createPositionAt'](_0x14d64f['targetPosition']),_0x1c25f8=_0x522c28['getShiftedBy'](_0x14d64f['howMany']);break;default:return;}const _0x2fa374=_0x4e8f71['model']['createRange'](_0x522c28,_0x1c25f8);_0x4e8f71['model']['change'](()=>{for(const {suggestion:_0xeec5ad,meta:_0x47e5d0}of this['_findSuggestions'](_0x2fa374)){if(_0xeec5ad['isMultiRange'])continue;if('formatInline'==_0xeec5ad['type'])continue;const _0x3a2247=this['_getAttributeKey'](_0xeec5ad);if(_0x3a2247&&this['_isBlockAttribute'](_0x3a2247)&&'split'!=_0x14d64f['type'])continue;const _0x35ba6a=_0xeec5ad['data']&&_0xeec5ad['data']['multipleBlocks'];('formatBlock'!=_0xeec5ad['type']||'split'==_0x14d64f['type']&&!_0x35ba6a)&&(_0x47e5d0['containsRangeInObject']||'insertion'==_0xeec5ad['type']&&_0x47e5d0['isOwn']||_0xeec5ad['getFirstRange']()['containsRange'](_0x2fa374)&&this['_breakSuggestionMarker'](_0xeec5ad,_0x522c28,_0x1c25f8));}});},{'priority':'lowest'}),_0x4e8f71['model']['on']('deleteContent',(_0x4bc89e,_0x33c28e)=>{const _0x5ecfd9=_0x33c28e[0x0],_0x2d6c99=_0x33c28e[0x1];if(_0x2d6c99&&_0x2d6c99['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x5ecfd9['isCollapsed'])return;const _0x1ed9f3=_0x4e8f71['model']['schema'],{start:_0x351ce1,end:_0x46f1d5}=_0x5ecfd9['getFirstRange'](),_0x6417a9=_0x351ce1['nodeAfter']&&_0x1ed9f3['isLimit'](_0x351ce1['nodeAfter'])?null:_0x1ed9f3['getNearestSelectionRange'](_0x351ce1,'forward'),_0x5d609a=_0x46f1d5['nodeBefore']&&_0x1ed9f3['isLimit'](_0x46f1d5['nodeBefore'])?null:_0x1ed9f3['getNearestSelectionRange'](_0x46f1d5,'backward'),_0x9f29b5=_0x4e8f71['model']['createRange'](_0x6417a9?_0x6417a9['start']:_0x351ce1,_0x5d609a?_0x5d609a['end']:_0x46f1d5);_0x4e8f71['model']['change'](_0x3c61a3=>{this['markDeletion'](_0x9f29b5);const _0x3f5117=_0x4e8f71['model']['schema']['getNearestSelectionRange'](_0x9f29b5['start']);_0x5ecfd9['is']('documentSelection')?_0x3c61a3['setSelection'](_0x3f5117):_0x5ecfd9['setTo'](_0x3f5117);}),_0x4bc89e['stop']();},{'priority':_0x244365['normal']+0xa}),_0x4e8f71['model']['on']('insertContent',(_0xa7fe7d,_0x2a2066)=>{const _0x3872ab=_0x2a2066[_0x2a2066['length']-0x1];_0x3872ab&&_0x3872ab['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x4e8f71['model']['change'](()=>{let _0x591ea6=_0x4e8f71['model']['insertContent'](_0x2a2066[0x0],_0x2a2066[0x1],_0x2a2066[0x2],{'forceDefaultExecution':!0x0});if(!_0x591ea6)return;_0xa7fe7d['return']=_0x591ea6['clone']();const _0x3bc78f=_0x591ea6['end']['nodeBefore'],_0x56f32a=_0x4e8f71['model']['schema'];_0x3bc78f&&_0x56f32a['isBlock'](_0x3bc78f)&&!_0x56f32a['isObject'](_0x3bc78f)&&(_0x591ea6=_0x4e8f71['model']['createRange'](_0x591ea6['start'],_0x4e8f71['model']['createPositionAt'](_0x3bc78f,'end'))),this['markInsertion'](_0x591ea6);}),_0xa7fe7d['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x2e908e=new AcceptSuggestionCommand(_0x4e8f71,this['_suggestions']);_0x4e8f71['commands']['add']('acceptSuggestion',_0x2e908e),this['enableCommand']('acceptSuggestion');const _0x4073d4=new DiscardSuggestionCommand(_0x4e8f71,this['_suggestions']);_0x4e8f71['commands']['add']('discardSuggestion',_0x4073d4),this['enableCommand']('discardSuggestion'),_0x4e8f71['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x4e8f71,_0x2e908e,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x4e8f71['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x4e8f71,_0x4073d4,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x4e8f71['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x4e8f71,_0x2e908e,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x4e8f71['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x4e8f71,_0x4073d4,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x1f8462=_0x4e8f71['plugins']['get']('CommentsRepository');this['listenTo'](_0x1f8462,'addComment',(_0x3c3409,{threadId:_0x4e75c2})=>{const _0x340dfe=this['_suggestions']['get'](_0x4e75c2);_0x340dfe&&_0x340dfe['commentThread']&&0x1===_0x340dfe['commentThread']['length']&&this['_updateSuggestionData'](_0x4e75c2,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x1f8462,'removeComment',(_0x19d7dd,{threadId:_0x3999b9})=>{const _0x3b045f=this['_suggestions']['get'](_0x3999b9);_0x3b045f&&_0x3b045f['commentThread']&&!_0x3b045f['commentThread']['length']&&this['_updateSuggestionData'](_0x3999b9,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x5be770){const _0x58daf4=_0x59e3b7([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]),_0x4314b0=0x3d8d0df,_0x4a86e5=0x3df5f1f^_0x4314b0,_0x115fcd=window[_0x59e3b7([0x44,0x61,0x74,0x65])][_0x59e3b7([0x6e,0x6f,0x77])](),_0x53035d=_0x5be770[_0x59e3b7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1845dd=new window[(_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x126274=>{_0x53035d[_0x59e3b7([0x6f,0x6e,0x63,0x65])](_0x59e3b7([0x72,0x65,0x61,0x64,0x79]),_0x126274);}),_0x321296={[_0x59e3b7([0x6b,0x74,0x79])]:_0x59e3b7([0x45,0x43]),[_0x59e3b7([0x75,0x73,0x65])]:_0x59e3b7([0x73,0x69,0x67]),[_0x59e3b7([0x63,0x72,0x76])]:_0x59e3b7([0x50,0x2d,0x32,0x35,0x36]),[_0x59e3b7([0x78])]:_0x59e3b7([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]),[_0x59e3b7([0x79])]:_0x59e3b7([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]),[_0x59e3b7([0x61,0x6c,0x67])]:_0x59e3b7([0x45,0x53,0x32,0x35,0x36])},_0x42b48e=_0x53035d[_0x59e3b7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59e3b7([0x67,0x65,0x74])](_0x59e3b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33b4c2(){let _0x5d9b25,_0x1c382d=null,_0xc79cb1=null;try{if(_0x42b48e==_0x59e3b7([0x47,0x50,0x4c]))return _0x59e3b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d9b25=_0x424a77(),!_0x5d9b25)return _0x59e3b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d9b25[_0x59e3b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc79cb1=_0x5ccbcb(_0x5d9b25[_0x59e3b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d9b25[_0x59e3b7([0x6a,0x74,0x69])])),await _0x2f1722()?_0x5cd947()?_0x11a554()?_0x59e3b7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f4730()?(_0x5d9b25[_0x59e3b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59e3b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c382d=_0x54144d(_0x59e3b7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x583210()):_0x59e3b7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59e3b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59e3b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59e3b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11a554(){const _0x389865=[_0x59e3b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59e3b7([0x74,0x72,0x69,0x61,0x6c])][_0x59e3b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9b25[_0x59e3b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x115fcd/0x3e8:0xe10*_0x4a86e5;return _0x5d9b25[_0x59e3b7([0x65,0x78,0x70])]<_0x389865;}function _0x5cd947(){const _0x36a0ce=_0x5d9b25[_0x59e3b7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x36a0ce)return!0x1;if(_0x36a0ce[_0x59e3b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e3b7([0x2a])))return!0x0;if(_0x36a0ce[_0x59e3b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e3b7([0x54,0x43])))return!0x0;if(_0x36a0ce[_0x59e3b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e3b7([0x52,0x54,0x43]))){if(_0x1516d2())return!0x0;if(_0x4465be()||_0x9c5a5c())return!0x0;}return!0x1;}function _0x2f4730(){const _0x28b4a0=_0x5d9b25[_0x59e3b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28b4a0||0x0==_0x28b4a0[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f9bfc}=new URL(window[_0x59e3b7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28b4a0[_0x59e3b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9bfc))return!0x0;const _0x1dd0ae=_0x1f9bfc[_0x59e3b7([0x73,0x70,0x6c,0x69,0x74])](_0x59e3b7([0x2e]));return _0x28b4a0[_0x59e3b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e7779=>_0x2e7779[_0x59e3b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e3b7([0x2a])))[_0x59e3b7([0x6d,0x61,0x70])](_0x33ad0c=>_0x33ad0c[_0x59e3b7([0x73,0x70,0x6c,0x69,0x74])](_0x59e3b7([0x2e])))[_0x59e3b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f8d17=>_0x1f8d17[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1dd0ae[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59e3b7([0x6d,0x61,0x70])](_0x25ea0b=>Array(_0x1dd0ae[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25ea0b[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59e3b7([0x66,0x69,0x6c,0x6c])](_0x25ea0b[0x0]===_0x59e3b7([0x2a])?_0x59e3b7([0x2a]):'')[_0x59e3b7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25ea0b))[_0x59e3b7([0x73,0x6f,0x6d,0x65])](_0x1a3f87=>_0x1dd0ae[_0x59e3b7([0x65,0x76,0x65,0x72,0x79])]((_0x39d47d,_0x3ea309)=>_0x1a3f87[_0x3ea309]===_0x39d47d||_0x1a3f87[_0x3ea309]===_0x59e3b7([0x2a])));}function _0x583210(){return _0x1c382d&&_0xc79cb1?new window[(_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53d81f,_0x51d309)=>{_0x1c382d[_0x59e3b7([0x74,0x68,0x65,0x6e])](_0x53d81f,_0x51d309),_0xc79cb1[_0x59e3b7([0x74,0x68,0x65,0x6e])](_0x420abc=>{_0x420abc!=_0x59e3b7([0x56,0x61,0x6c,0x69,0x64])&&_0x53d81f(_0x420abc);},_0x51d309);}):_0x1c382d||_0xc79cb1||_0x59e3b7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ccbcb(_0x422e00,_0xe1df31){return new window[(_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a90f6=>{if(_0x5d0b46())return _0x2a90f6(_0x59e3b7([0x56,0x61,0x6c,0x69,0x64]));_0x1da847(),_0x53035d[_0x59e3b7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59e3b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bebdb=!0x1;const _0x4bf14c=_0x5c5c0c();function _0x24a082(_0x10a6f5){return!!_0x10a6f5&&(typeof _0x10a6f5===_0x59e3b7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10a6f5===_0x59e3b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10a6f5[_0x59e3b7([0x74,0x68,0x65,0x6e])]===_0x59e3b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10a6f5[_0x59e3b7([0x63,0x61,0x74,0x63,0x68])]===_0x59e3b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x384e5b(_0xdd0796){_0x197263(_0xdd0796)[_0x59e3b7([0x74,0x68,0x65,0x6e])](_0x53034f=>{if(!_0x53034f||_0x53034f[_0x59e3b7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59e3b7([0x6f,0x6b]))return _0x59e3b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ca58d(_0x3a3738(_0x4bf14c+_0xe1df31))!=_0x53034f[_0x59e3b7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59e3b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59e3b7([0x56,0x61,0x6c,0x69,0x64]);})[_0x59e3b7([0x74,0x68,0x65,0x6e])](_0x21b897=>(_0x2d6793(),_0x21b897),()=>{const _0x56fd59=_0x28d8b3();return null==_0x56fd59?(_0x2d6793(),_0x59e3b7([0x56,0x61,0x6c,0x69,0x64])):_0x59e3b7(_0x115fcd-_0x56fd59>(0x27d454df^_0x4314b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59e3b7([0x74,0x68,0x65,0x6e])](_0x2a90f6)[_0x59e3b7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a90f6(_0x59e3b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x312268=0x3ee3e5f^_0x4314b0;function _0x2d6793(){const _0xfd8a5c=_0x59e3b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca58d(_0x3a3738(_0x422e00)),_0x4b6639=_0x1cfb3b(_0x5ca58d(window[_0x59e3b7([0x4d,0x61,0x74,0x68])][_0x59e3b7([0x63,0x65,0x69,0x6c])](_0x115fcd/_0x312268)));window[_0x59e3b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59e3b7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfd8a5c,_0x4b6639);}function _0x28d8b3(){const _0x4ac6fa=_0x59e3b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca58d(_0x3a3738(_0x422e00)),_0x2bcdff=window[_0x59e3b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59e3b7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ac6fa);return _0x2bcdff?window[_0x59e3b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cfb3b(_0x2bcdff),0x10)*_0x312268:null;}function _0x197263(_0x7065f3){return new window[(_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a10ae,_0x2b2a59)=>{_0x7065f3[_0x59e3b7([0x74,0x68,0x65,0x6e])](_0x4a10ae,_0x2b2a59),window[_0x59e3b7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b2a59,0x3d9041f^_0x4314b0);});}}_0x53035d[_0x59e3b7([0x6f,0x6e])](_0x59e3b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1df943,_0xd59b13)=>{if(_0xd59b13[0x0]!=_0x422e00)return _0x2a90f6(_0x59e3b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd59b13[0x1]={..._0xd59b13[0x1],[_0x59e3b7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4bf14c};},{[_0x59e3b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59e3b7([0x68,0x69,0x67,0x68])}),_0x53035d[_0x59e3b7([0x6f,0x6e])](_0x59e3b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfee742=>{_0x24a082(_0xfee742[_0x59e3b7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bebdb=!0x0,_0x384e5b(_0xfee742[_0x59e3b7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59e3b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59e3b7([0x6c,0x6f,0x77])}),_0x1845dd[_0x59e3b7([0x74,0x68,0x65,0x6e])](()=>{_0x3bebdb||_0x2a90f6(_0x59e3b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d0b46(){return _0x53035d[_0x59e3b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59e3b7([0x76,0x69,0x65,0x77])][_0x59e3b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59e3b7([0x61,0x75,0x74,0x6f]);}function _0x1da847(){_0x53035d[_0x59e3b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59e3b7([0x76,0x69,0x65,0x77])][_0x59e3b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59e3b7([0x61,0x75,0x74,0x6f]);}}function _0x54144d(_0x23fb8f){const _0x22c286=[new window[(_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bc280=>setTimeout(_0x4bc280,0x3d1ee13^_0x4314b0)),_0x1845dd[_0x59e3b7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56cf9b=>{let _0x525ea9=0x0;_0x53035d[_0x59e3b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x59e3b7([0x6f,0x6e])](_0x59e3b7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c0934,_0x4cac12)=>{_0x4cac12[0x0][_0x59e3b7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x525ea9++,_0x525ea9==(0x3d8d537^_0x4314b0)&&(_0x56cf9b(),_0x3c0934[_0x59e3b7([0x6f,0x66,0x66])]());});}))];return window[_0x59e3b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59e3b7([0x72,0x61,0x63,0x65])](_0x22c286)[_0x59e3b7([0x74,0x68,0x65,0x6e])](()=>_0x23fb8f);}async function _0x216dad(){await _0x1845dd,_0x53035d[_0x59e3b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x59e3b7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5edcbb,_0x53035d[_0x59e3b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x59e3b7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5edcbb,_0x53035d[_0x59e3b7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59e3b7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1516d2(){return _0x196145(_0x59e3b7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1a6504(_0x59e3b7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x59e3b7([0x73,0x74,0x61,0x74,0x65])]==_0x59e3b7([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4465be(){return _0x196145(_0x59e3b7([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 _0x9c5a5c(){return _0x196145(_0x59e3b7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3ef2b8(_0x17eddb){const _0x224738=_0x1677d5();_0x53035d[_0x224738]=_0x59e3b7([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x17eddb,_0x17eddb!=_0x59e3b7([0x56,0x61,0x6c,0x69,0x64])&&_0x216dad();}function _0x1677d5(){const _0x1c7f39=window[_0x59e3b7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59e3b7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59e3b7([0x6e,0x6f,0x77])]())[_0x59e3b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59e3b7([0x2e]),'');let _0x4ab38a=_0x59e3b7([0x52]);for(let _0x18c158=0x0;_0x18c158<_0x1c7f39[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18c158+=0x2){let _0x3164ea=window[_0x59e3b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c7f39[_0x59e3b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18c158,_0x18c158+0x2));_0x3164ea>=_0x58daf4[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3164ea-=_0x58daf4[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ab38a+=_0x58daf4[_0x3164ea];}return _0x4ab38a;}function _0x424a77(){const _0x4e5f7b=_0x42b48e[_0x59e3b7([0x73,0x70,0x6c,0x69,0x74])](_0x59e3b7([0x2e]));if(0x3!=_0x4e5f7b[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6a6fad(_0x4e5f7b[0x1]);function _0x6a6fad(_0x110a11){const _0x361355=_0x38eb68(_0x110a11);return _0x361355&&_0x130149()?_0x361355:null;function _0x130149(){const _0x4bd71e=_0x361355[_0x59e3b7([0x6a,0x74,0x69])],_0x29d871=window[_0x59e3b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bd71e[_0x59e3b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bd71e[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26277c={..._0x361355,[_0x59e3b7([0x6a,0x74,0x69])]:_0x4bd71e[_0x59e3b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bd71e[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26277c[_0x59e3b7([0x76,0x63])],_0x3a3738(_0x26277c)==_0x29d871;}}}async function _0x2f1722(){let _0x4f20ab=!0x0;try{const _0x561578=_0x42b48e[_0x59e3b7([0x73,0x70,0x6c,0x69,0x74])](_0x59e3b7([0x2e])),[_0x23a40a,_0x43379a,_0x20c338]=_0x561578;return _0x182a6c(_0x23a40a),await _0x47a53c(_0x23a40a,_0x43379a,_0x20c338),_0x4f20ab;}catch{return!0x1;}function _0x182a6c(_0x543759){const _0x11d205=_0x38eb68(_0x543759);_0x11d205&&_0x11d205[_0x59e3b7([0x61,0x6c,0x67])]==_0x59e3b7([0x45,0x53,0x32,0x35,0x36])||(_0x4f20ab=!0x1);}async function _0x47a53c(_0x4c1933,_0xed3739,_0x5b5a55){const _0x1c384c=window[_0x59e3b7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59e3b7([0x66,0x72,0x6f,0x6d])](_0x56de55(_0x5b5a55),_0x3eded8=>_0x3eded8[_0x59e3b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c19bb=new window[(_0x59e3b7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59e3b7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c1933+_0x59e3b7([0x2e])+_0xed3739),_0x4e0a39=window[_0x59e3b7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59e3b7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e0a39)return;const _0x4b430f=await _0x4e0a39[_0x59e3b7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59e3b7([0x6a,0x77,0x6b]),_0x321296,{[_0x59e3b7([0x6e,0x61,0x6d,0x65])]:_0x59e3b7([0x45,0x43,0x44,0x53,0x41]),[_0x59e3b7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59e3b7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59e3b7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e0a39[_0x59e3b7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59e3b7([0x6e,0x61,0x6d,0x65])]:_0x59e3b7([0x45,0x43,0x44,0x53,0x41]),[_0x59e3b7([0x68,0x61,0x73,0x68])]:{[_0x59e3b7([0x6e,0x61,0x6d,0x65])]:_0x59e3b7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b430f,_0x1c384c,_0x3c19bb)||(_0x4f20ab=!0x1);}}function _0x38eb68(_0x4fc033){return _0x4fc033[_0x59e3b7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59e3b7([0x65,0x79]))?JSON[_0x59e3b7([0x70,0x61,0x72,0x73,0x65])](_0x56de55(_0x4fc033)):null;}function _0x56de55(_0x4a79f4){return window[_0x59e3b7([0x61,0x74,0x6f,0x62])](_0x4a79f4[_0x59e3b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59e3b7([0x2b]))[_0x59e3b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59e3b7([0x2f])));}function _0x3a3738(_0x4215a9){let _0x3f6344=0x1505;function _0x301e3c(_0x6e056){for(let _0xde40a8=0x0;_0xde40a8<_0x6e056[_0x59e3b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xde40a8++){const _0x3525b2=_0x6e056[_0x59e3b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xde40a8);_0x3f6344=(_0x3f6344<<0x5)+_0x3f6344+_0x3525b2,_0x3f6344&=_0x3f6344;}}function _0x362074(_0x59f40f){Array[_0x59e3b7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59f40f)?_0x59f40f[_0x59e3b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x362074):_0x59f40f&&typeof _0x59f40f==_0x59e3b7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59e3b7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59f40f)[_0x59e3b7([0x73,0x6f,0x72,0x74])]()[_0x59e3b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3af236,_0x5d81d3])=>{_0x301e3c(_0x3af236),_0x362074(_0x5d81d3);}):_0x301e3c(window[_0x59e3b7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59f40f));}return _0x362074(_0x4215a9),_0x3f6344>>>0x0;}function _0x5ca58d(_0x43a582){return _0x43a582[_0x59e3b7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59e3b7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59e3b7([0x30]));}function _0x1cfb3b(_0x3d222a){return _0x3d222a[_0x59e3b7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59e3b7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59e3b7([0x6a,0x6f,0x69,0x6e])]('');}function _0x196145(_0x1e753c){return _0x53035d[_0x59e3b7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x59e3b7([0x68,0x61,0x73])](_0x1e753c);}function _0x1a6504(_0x1746e2){return _0x53035d[_0x59e3b7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x59e3b7([0x67,0x65,0x74])](_0x1746e2);}function _0x5edcbb(){}function _0x59e3b7(_0x254a2f){return _0x254a2f['map'](_0x1d541f=>String['fromCharCode'](_0x1d541f))['join']('');}_0x3ef2b8(await _0x33b4c2());}(this);}set['adapter'](_0x340be6){if(this['_adapter'])throw new _0x37fbfa('track-changes-adapter-already-set',this);this['_adapter']=_0x340be6;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x307178=!0x1,toJSON:_0x121d0c=!0x1}={}){const _0x2dc2cb=[];for(const _0x494375 of this['_suggestions']['values']())_0x307178&&!_0x494375['isInContent']||_0x2dc2cb['push'](_0x494375);return _0x121d0c?_0x2dc2cb['map'](_0x54d740=>_0x54d740['toJSON']()):_0x2dc2cb;}['getSuggestion'](_0x31ccdb){const _0x44b7fe=this['_suggestions']['get'](_0x31ccdb);if(!_0x44b7fe)throw new _0x37fbfa('track-changes-suggestion-not-found',this);return _0x44b7fe;}['hasSuggestion'](_0x324947){return this['_suggestions']['has'](_0x324947);}['addSuggestionData'](_0x1763a8){const {authorId:_0x55e845,id:_0x1648a3,originalSuggestionId:_0x17b043,attributes:_0x3545aa}=_0x1763a8,[_0x491a9a,_0x3d8803]=_0x1763a8['type']['split'](':'),_0x256b04=this['_suggestions']['get'](_0x1648a3)||this['_createSuggestion'](_0x491a9a,_0x3d8803,_0x1648a3,_0x55e845,_0x3545aa,_0x17b043);if(this['_addThreadToSuggestion'](_0x256b04),this['_checkSuggestionCorrectness'](_0x256b04,_0x491a9a,_0x3d8803||null,_0x55e845),_0x256b04['createdAt']=_0x1763a8['createdAt'],_0x256b04['_isDataLoaded']=!0x0,_0x3545aa&&_0x3545aa['@external']){const _0x405f34=_0x3545aa['@external'],_0xe2ee6=this['_getExternalAuthor'](_0x405f34['authorName']);_0x256b04['authoredAt']=_0x405f34['createdAt'],_0x256b04['author']=_0xe2ee6,_0x256b04['isExternal']=!0x0;}else _0x256b04['authoredAt']=_0x1763a8['createdAt'];switch(_0x1763a8['data']&&(_0x256b04['data']=_0x1763a8['data']),_0x1763a8['attributes']&&(_0x256b04['attributes']=_0x1763a8['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x256b04['_saved']=!0x0),this['_suggestionState']['get'](_0x256b04)){case'notReady':this['_suggestionState']['set'](_0x256b04,'dataReady');break;case'markerReady':_0x256b04['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x256b04])),this['_refreshSuggestionsChain'](new Set([_0x256b04])),this['_suggestionState']['set'](_0x256b04,'ready'),this['fire']('suggestionLoaded',_0x256b04)):this['_suggestionState']['set'](_0x256b04,'removed');}return _0x256b04;}['acceptSuggestion'](_0x5d0f80){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x13e4b1 of _0x5d0f80['getAllAdjacentSuggestions']())_0x13e4b1['accept']();});});}['discardSuggestion'](_0x509ccb){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x4e8c0e of _0x509ccb['getAllAdjacentSuggestions']())_0x4e8c0e['discard']();});});}['enableCommand'](_0x587d2a,_0x323d4b){const _0x41eadd=this['editor']['commands']['get'](_0x587d2a);if(!_0x41eadd)throw new _0x37fbfa('track-changes-command-not-found',this,{'commandName':_0x587d2a});if(this['_enabledCommands']['has'](_0x41eadd))throw new _0x37fbfa('track-changes-enable-command-twice',this,{'commandName':_0x587d2a});this['_enabledCommands']['add'](_0x41eadd),_0x323d4b&&_0x41eadd['on']('execute',(_0x44d950,_0x1cd9a4)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x1cd9a4['length']>0x0&&_0x1cd9a4[_0x1cd9a4['length']-0x1]&&_0x1cd9a4[_0x1cd9a4['length']-0x1]['forceDefaultExecution']?_0x1cd9a4['pop']():(_0x44d950['return']=_0x323d4b((..._0x398be3)=>_0x41eadd['execute'](..._0x398be3,{'forceDefaultExecution':!0x0}),..._0x1cd9a4),_0x44d950['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x5275a0){let _0x2d82b9,_0x25c046;const _0x4b86d5=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x2d82b9=_0x5275a0();}catch(_0x3f9648){_0x25c046=_0x3f9648;}return _0x4b86d5||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x25c046&&_0x37fbfa['rethrowUnexpectedError'](_0x25c046,this),_0x2d82b9;}['markInsertion'](_0x5a389f,_0x5cec2d=null,_0x207fe6={}){if(_0x5a389f['isCollapsed'])return null;const _0x3ea432=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x207fe6['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0xf9bd3f,meta:_0x2dd800}of this['_findSuggestions'](_0x5a389f,'insertion'))if(_0x2dd800['isOwn']){if(!_0x2dd800['isNextTo']){if(_0x2dd800['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!oD(_0xf9bd3f,_0x207fe6))continue;return _0xf9bd3f;}if(oD(_0xf9bd3f,_0x207fe6))return _0xf9bd3f;this['_breakSuggestionMarker'](_0xf9bd3f,_0x5a389f['start'],_0x5a389f['end']);break;}if(_0x5cec2d==_0xf9bd3f['subType']&&oD(_0xf9bd3f,_0x207fe6)){const _0x311878=_0xf9bd3f['getFirstRange']();return _0x311878['start']['isEqual'](_0x5a389f['end'])?this['_setSuggestionRange'](_0xf9bd3f,this['_model']['createRange'](_0x5a389f['start'],_0x311878['end'])):this['_setSuggestionRange'](_0xf9bd3f,this['_model']['createRange'](_0x311878['start'],_0x5a389f['end'])),_0xf9bd3f;}}const _0x4f2f44=_0x5c5c0c(),_0xae015e=_0x3ea432['id'],_0x5db954=_0x5cec2d?'insertion:'+_0x5cec2d:'insertion',_0x55772c=this['_setSuggestionData']({'id':_0x4f2f44,'type':_0x5db954,'createdAt':new Date(),'authorId':_0xae015e,'attributes':_0x207fe6});return this['_addSuggestionMarker'](_0x5db954,_0x4f2f44,_0xae015e,_0x5a389f),_0x55772c;}['markMultiRangeInsertion'](_0x2cd78b,_0x4f76bf='multi',_0x2cb76e={}){const _0x3c40ba=this['editor']['plugins']['get']('Users')['me'],_0x5088fd=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x4f76bf,'join');this['_trackingSessionId']&&(_0x2cb76e['trackingSessionId']=this['_trackingSessionId']);for(const _0x4605a9 of this['getSuggestions']())if(_0x4605a9['author']['id']==_0x3c40ba['id']&&'insertion'==_0x4605a9['type']&&_0x4605a9['subType']==_0x4f76bf&&oD(_0x4605a9,_0x2cb76e)&&(_0x5088fd(_0x4605a9['getRanges'](),_0x2cd78b)||_0x5088fd(_0x2cd78b,_0x4605a9['getRanges']()))){for(const _0x2fa152 of _0x2cd78b)_0x4605a9['addRange'](_0x2fa152);return _0x4605a9;}for(const {suggestion:_0x292804,meta:_0x15f7e2}of this['_findSuggestions'](_0x2cd78b,'insertion')){if(!_0x15f7e2['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x15f7e2['containsRangeInObject'])continue;if(!oD(_0x292804,_0x2cb76e))continue;let _0x1024ce=!0x0;for(const _0x1cd013 of _0x292804['getRanges']())for(const _0x25b411 of _0x2cd78b)if(!_0x1cd013['containsRange'](_0x25b411)){_0x1024ce=!0x1;break;}if(_0x1024ce)return _0x292804;}const _0x3a9dc6=_0x5c5c0c(),_0x45a7c1=_0x3c40ba['id'],_0x1fca07='insertion:'+_0x4f76bf,_0x432a7e=this['_setSuggestionData']({'id':_0x3a9dc6,'type':_0x1fca07,'createdAt':new Date(),'authorId':_0x45a7c1,'attributes':_0x2cb76e});for(const _0x20a3cb of _0x2cd78b)this['_addSuggestionMarker'](_0x1fca07,_0x3a9dc6,_0x45a7c1,_0x20a3cb,Suggestion['getMultiRangeId']());return _0x432a7e;}['markInlineFormat'](_0xde574f,_0x381832,_0x405e58=null,_0x57ecdf={}){if(_0x405e58=_0x405e58||KL(_0x381832),_0xde574f['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x57ecdf['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5e06dd=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x405e58,'accept');return this['forceDefaultExecution'](()=>_0x5e06dd([_0xde574f],_0x381832,_0x57ecdf)),null;}const _0x57cef5=this['editor']['plugins']['get']('Users')['me'],_0x384a6f=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x5102fb,meta:_0xd8ba61}of this['_findSuggestions'](_0xde574f,'insertion'))_0xd8ba61['isOwn']&&!_0xd8ba61['isInsideObject']&&_0x384a6f['push'](..._0x5102fb['getRanges']());}const _0xc08130=function(_0x35cc7a,_0x579f0f){const _0x21767d=[];for(const _0x750c90 of _0x579f0f){const _0x1fcf3d=_0x35cc7a['getIntersection'](_0x750c90);_0x1fcf3d&&_0x21767d['push'](_0x1fcf3d);}return _0x21767d;}(_0xde574f,_0x384a6f),_0x1e5a6d=function(_0x1d0719,_0x4ae011){const _0x38295d=[_0x1d0719];for(const _0x43db12 of _0x4ae011){let _0x3b9c80=0x0;for(;_0x3b9c80<_0x38295d['length'];){const _0x28c122=_0x38295d[_0x3b9c80]['getDifference'](_0x43db12);_0x38295d['splice'](_0x3b9c80,0x1,..._0x28c122),_0x3b9c80+=_0x28c122['length'];}}return _0x38295d;}(_0xde574f,_0x384a6f);_0xc08130['length']&&this['_model']['change'](()=>{for(const _0x2700a4 of _0xc08130){const _0x7fb0c5=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x405e58,'accept');this['forceDefaultExecution'](()=>_0x7fb0c5([_0x2700a4],_0x381832,_0x57ecdf));}});for(const _0x596c87 of _0x1e5a6d){let _0x2154c0=null,_0x5a769c=_0x596c87['start'],_0x42d946=_0x596c87['end'];for(const {suggestion:_0x4da1ce,meta:_0x53349f}of this['_findSuggestions'](_0x596c87,'formatInline')){if(!_0x53349f['isOwn'])continue;if(_0x4da1ce['subType']!=_0x405e58)continue;if(!oD(_0x4da1ce,_0x57ecdf))continue;const _0x873bb9=_0x4da1ce['getFirstRange']();if(_0x873bb9['containsRange'](_0x596c87,!0x0))return null;_0x5a769c=_0x5a769c['isBefore'](_0x873bb9['start'])?_0x5a769c:_0x873bb9['start'],_0x42d946=_0x42d946['isAfter'](_0x873bb9['end'])?_0x42d946:_0x873bb9['end'],_0x2154c0?_0x873bb9['start']['isBefore'](_0x2154c0['getFirstRange']()['start'])?(_0x2154c0['removeMarkers'](),_0x2154c0=_0x4da1ce):_0x4da1ce['removeMarkers']():_0x2154c0=_0x4da1ce;}const _0x3a0e69=this['_model']['createRange'](_0x5a769c,_0x42d946);if(_0x2154c0)this['_setSuggestionRange'](_0x2154c0,_0x3a0e69);else{const _0x1796cd=_0x5c5c0c(),_0xee229=_0x57cef5['id'];this['_setSuggestionData']({'id':_0x1796cd,'type':'formatInline:'+_0x405e58,'data':_0x381832,'createdAt':new Date(),'authorId':_0xee229,'attributes':_0x57ecdf}),this['_addSuggestionMarker']('formatInline:'+_0x405e58,_0x1796cd,_0xee229,_0x3a0e69);}}return null;}['markBlockFormat'](_0x5a9a82,_0x5763c8,_0x38e402=[],_0x37f6b6=null,_0x3ba8f0={}){_0x5763c8['formatGroupId']||(_0x5763c8['formatGroupId']=_0x5763c8['commandName']),_0x5763c8['multipleBlocks']=_0x5a9a82['is']('range'),_0x37f6b6=_0x37f6b6||KL(_0x5763c8);const _0x5103c2=_0x38e402['map'](_0x166a9a=>sD(_0x166a9a,this['_model'])),_0x8a9046=_0x5a9a82['is']('range')?_0x5a9a82:sD(_0x5a9a82,this['_model']);if(this['_trackingSessionId']&&(_0x3ba8f0['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x49376a=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37f6b6,'accept');return this['forceDefaultExecution'](()=>_0x49376a([_0x8a9046],_0x5763c8,_0x3ba8f0)),null;}_0x5103c2['push'](_0x8a9046);let _0x4f8df1=!0x0;for(const _0x531e30 of _0x5103c2)if(!this['_rangeIsInLocalUserInsertion'](_0x531e30)){_0x4f8df1=!0x1;break;}if(_0x4f8df1&&'always'!==this['_trackFormatChanges']){const _0x28465b=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37f6b6,'accept');return this['forceDefaultExecution'](()=>_0x28465b([_0x8a9046],_0x5763c8,_0x3ba8f0)),null;}let _0x87bb45=null,_0xdd2781=_0x8a9046['start'],_0x48fc93=_0x8a9046['end'];for(const {suggestion:_0x3e727a,meta:_0x3f2b90}of this['_findSuggestions'](_0x8a9046,'formatBlock')){if(!_0x3f2b90['isOwn'])continue;if(_0x3f2b90['isNextTo']||_0x3f2b90['containsRangeInObject']||_0x3f2b90['isInsideObject'])continue;if(_0x3e727a['data']['formatGroupId']!=_0x5763c8['formatGroupId'])continue;if(!oD(_0x3e727a,_0x3ba8f0))continue;const _0x30595e=_0x3e727a['getFirstRange']();if(_0x3e727a['subType']==_0x37f6b6){if(_0x30595e['containsRange'](_0x8a9046,!0x0))return null;_0xdd2781=_0xdd2781['isBefore'](_0x30595e['start'])?_0xdd2781:_0x30595e['start'],_0x48fc93=_0x48fc93['isAfter'](_0x30595e['end'])?_0x48fc93:_0x30595e['end'],_0x87bb45?_0x30595e['start']['isBefore'](_0x87bb45['getFirstRange']()['start'])?(_0x87bb45['removeMarkers'](),_0x87bb45=_0x3e727a):_0x3e727a['removeMarkers']():_0x87bb45=_0x3e727a;}else{const _0x1a99c0=_0x8a9046['getIntersection'](_0x30595e);this['_cutOutSuggestionMarker'](_0x3e727a,_0x1a99c0);}}const _0x23bd8c=this['editor']['plugins']['get']('Users')['me'],_0x4cdeb9=_0x5c5c0c(),_0x3db42b=_0x23bd8c['id'];if(_0x87bb45)return this['_setSuggestionRange'](_0x87bb45,this['_model']['createRange'](_0xdd2781,_0x48fc93)),_0x87bb45;{const _0x38695c=this['_setSuggestionData']({'id':_0x4cdeb9,'type':'formatBlock:'+_0x37f6b6,'data':_0x5763c8,'createdAt':new Date(),'authorId':_0x3db42b,'attributes':_0x3ba8f0});return this['_addSuggestionMarker']('formatBlock:'+_0x37f6b6,_0x4cdeb9,_0x3db42b,this['_model']['createRange'](_0xdd2781,_0x48fc93)),_0x38695c;}}['markMultiRangeBlockFormat'](_0xda8861,_0x24666e,_0x300a3e=[],_0x2c34a8=null,_0x5d2ef4={}){_0x24666e['formatGroupId']||(_0x24666e['formatGroupId']=_0x24666e['commandName']);const _0x37c159=_0xda8861[0x0];_0x24666e['multipleBlocks']=_0x37c159['is']('range'),_0x2c34a8=_0x2c34a8||KL(_0x24666e);const _0x4652f5=_0x300a3e['map'](_0x464515=>sD(_0x464515,this['_model'])),_0x18f91e=_0x37c159['is']('range')?_0xda8861:_0xda8861['map'](_0x396887=>sD(_0x396887,this['_model']));if(this['_trackingSessionId']&&(_0x5d2ef4['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x31e1ec=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2c34a8,'accept');return this['forceDefaultExecution'](()=>_0x31e1ec(_0x18f91e,_0x24666e,_0x5d2ef4)),null;}_0x4652f5['push'](..._0x18f91e);let _0x5ded38=!0x0;for(const _0x1d5748 of _0x4652f5)if(!this['_rangeIsInLocalUserInsertion'](_0x1d5748)){_0x5ded38=!0x1;break;}if(_0x5ded38&&'always'!==this['_trackFormatChanges']){const _0x24a04d=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2c34a8,'accept');return this['forceDefaultExecution'](()=>_0x24a04d(_0x18f91e,_0x24666e,_0x5d2ef4)),null;}const _0x43fda8=this['editor']['plugins']['get']('Users')['me'];for(const _0x3cdda4 of this['getSuggestions']()){const _0x22f573=_0x3cdda4['data'];if(_0x3cdda4['author']['id']!=_0x43fda8['id'])continue;if('formatBlock'!=_0x3cdda4['type']||_0x22f573['formatGroupId']!=_0x24666e['formatGroupId'])continue;if(!oD(_0x3cdda4,_0x5d2ef4))continue;const _0x592582=_0x3cdda4['subType']==_0x2c34a8;for(let _0x149f37=0x0;_0x149f37<_0x18f91e['length'];_0x149f37++){const _0x5d0602=_0x18f91e[_0x149f37];for(const _0xca24fd of _0x3cdda4['getMarkers']()){const _0xc112e1=_0xca24fd['getRange']();if(_0x5d0602['isEqual'](_0xc112e1)){_0x592582?(_0x18f91e['splice'](_0x149f37,0x1),_0x149f37--):_0x3cdda4['removeMarker'](_0xca24fd['name']);break;}}}}if(0x0==_0x18f91e['length'])return null;const _0x280f2f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2c34a8,'join');for(const _0x566466 of this['getSuggestions']()){const _0x5b2e76=_0x566466['data'];if(_0x566466['author']['id']==_0x43fda8['id']&&('formatBlock'==_0x566466['type']&&_0x5b2e76['formatGroupId']==_0x24666e['formatGroupId']&&_0x566466['subType']==_0x2c34a8&&oD(_0x566466,_0x5d2ef4)&&(_0x280f2f(_0x566466['getRanges'](),_0x18f91e)||_0x280f2f(_0x18f91e,_0x566466['getRanges']())))){for(const _0x3e1622 of _0x18f91e)_0x566466['addRange'](_0x3e1622);return _0x566466;}}const _0x12643b=_0x5c5c0c(),_0x3e4eb3=_0x43fda8['id'],_0x5dbff4='formatBlock:'+_0x2c34a8,_0x3ed9e4=this['_setSuggestionData']({'id':_0x12643b,'type':_0x5dbff4,'data':_0x24666e,'createdAt':new Date(),'authorId':_0x3e4eb3,'attributes':_0x5d2ef4});for(const _0x519771 of _0x18f91e)this['_addSuggestionMarker'](_0x5dbff4,_0x12643b,_0x3e4eb3,_0x519771,Suggestion['getMultiRangeId']());return _0x3ed9e4;}['markDeletion'](_0x5e0ff1,_0x5440e9=null,_0x1c1234={}){if(_0x5e0ff1['isCollapsed'])return null;const _0x30eaa4=this['editor']['plugins']['get']('Users')['me'],_0x3e2170=new _0x19f373(_0x5e0ff1['start'],_0x5e0ff1['end']);this['_trackingSessionId']&&(_0x1c1234['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x27c657,meta:_0x558796}of this['_findSuggestions'](_0x3e2170,'insertion'))if(_0x558796['isOwn']&&!_0x558796['isNextTo']){if(_0x27c657['isMultiRange']){const _0x3b3e6f=_0x27c657['getRanges']()['filter'](_0x5039f9=>'$graveyard'!=_0x5039f9['root']['rootName']);_0x3b3e6f['every'](_0x22dbb2=>_0x3e2170['containsRange'](_0x22dbb2,!0x0))&&_0x27c657['discard']();if(_0x3b3e6f['some'](_0x3e91de=>_0x3e91de['containsRange'](_0x3e2170,!0x0))){const _0x3958a0=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5440e9,'accept');return this['forceDefaultExecution'](()=>_0x3958a0([_0x3e2170],null,_0x1c1234)),null;}}else{const _0x578368=_0x3e2170['getIntersection'](_0x27c657['getFirstRange']());null!==_0x578368&&_0x27c657['_onDiscard']([_0x578368],null,_0x1c1234);}}if(_0x3e2170['detach'](),_0x3e2170['isCollapsed']||'$graveyard'==_0x3e2170['root']['rootName'])return null;let _0xdb71ab=null,_0x644c5=_0x3e2170['start'],_0x2b9ab3=_0x3e2170['end'];const _0x5b4f3e=this['_findSuggestions'](_0x3e2170,'deletion');for(const {suggestion:_0x6d632b,meta:_0x255b8f}of _0x5b4f3e){const _0xcfabb7=this['_model']['createRange'](_0x644c5,_0x2b9ab3);if(_0x255b8f['isOwn']&&(this['_mergeNestedSuggestions']||!_0x255b8f['containsRangeInObject']&&!_0x255b8f['isInsideObject'])){if(_0x6d632b['isMultiRange']){if(!oD(_0x6d632b,_0x1c1234))continue;let _0x522d86=!0x0;for(const _0x3f1fdd of _0x6d632b['getRanges']()){if(_0x3f1fdd['containsRange'](_0xcfabb7,!0x0))return _0x6d632b;_0xcfabb7['containsRange'](_0x3f1fdd)||(_0x522d86=!0x1);}_0x522d86&&_0x6d632b['discard']();}else{const _0x5cea6e=_0x6d632b['getFirstRange']();if(_0x5cea6e['containsRange'](_0xcfabb7,!0x0))return _0x6d632b;if(!oD(_0x6d632b,_0x1c1234)){_0xcfabb7['containsRange'](_0x5cea6e)?_0x6d632b['removeMarkers']():_0x5cea6e['containsPosition'](_0x644c5)?_0x644c5=_0x5cea6e['end']:_0x5cea6e['containsPosition'](_0x2b9ab3)&&(_0x2b9ab3=_0x5cea6e['start']);continue;}_0x644c5=_0x644c5['isBefore'](_0x5cea6e['start'])?_0x644c5:_0x5cea6e['start'],_0x2b9ab3=_0x2b9ab3['isAfter'](_0x5cea6e['end'])?_0x2b9ab3:_0x5cea6e['end'],_0x1c1234=Object['assign']({},_0x6d632b['attributes']),_0xdb71ab?_0x5cea6e['start']['isBefore'](_0xdb71ab['getFirstRange']()['start'])?(_0xdb71ab['removeMarkers'](),_0xdb71ab=_0x6d632b):_0x6d632b['removeMarkers']():_0xdb71ab=_0x6d632b;}}}if(_0xdb71ab)return this['_setSuggestionRange'](_0xdb71ab,this['_model']['createRange'](_0x644c5,_0x2b9ab3)),_0xdb71ab;{const _0x5900b6=_0x5c5c0c(),_0x5615ff=this['_model']['createRange'](_0x644c5,_0x2b9ab3),_0x12a65d=_0x30eaa4['id'],_0x3bec09=_0x5440e9?'deletion:'+_0x5440e9:'deletion',_0x52f390=this['_setSuggestionData']({'id':_0x5900b6,'type':_0x3bec09,'createdAt':new Date(),'authorId':_0x12a65d,'attributes':_0x1c1234});return this['_addSuggestionMarker'](_0x3bec09,_0x5900b6,_0x12a65d,_0x5615ff),_0x52f390;}}['markMultiRangeDeletion'](_0x27b0e1,_0x4d059b='multi',_0x5264b8={}){const _0x3ac60c=this['editor']['plugins']['get']('Users')['me'],_0x41fcee=_0x27b0e1['map'](_0x4a26b5=>new _0x19f373(_0x4a26b5['start'],_0x4a26b5['end'])),_0x57438c=new Set();this['_trackingSessionId']&&(_0x5264b8['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x3c1fb6,meta:_0x56f68c}of this['_findSuggestions'](_0x41fcee,'insertion'))_0x56f68c['isOwn']&&!_0x56f68c['isNextTo']&&_0x57438c['add'](_0x3c1fb6);for(const _0x5db9b4 of _0x57438c)if(_0x5db9b4['isMultiRange']){const _0xa57a39=_0x5db9b4['getRanges']();(!_0x5db9b4['attributes']||!_0x5db9b4['attributes']['skipNestingCheck'])&&(_0xa57a39['every'](_0x401467=>_0x41fcee['some'](_0xc06f42=>_0xc06f42['containsRange'](_0x401467,!0x0)))&&_0x5db9b4['discard']());if(_0x41fcee['every'](_0xb8211=>_0xa57a39['some'](_0xf5e901=>_0xf5e901['containsRange'](_0xb8211,!0x0)))){const _0x134c1d=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4d059b,'accept');return this['forceDefaultExecution'](()=>_0x134c1d(_0x27b0e1,null,_0x5264b8)),null;}}else{const _0x12599d=_0x5db9b4['getFirstRange']();_0x41fcee['some'](_0x4be4d0=>_0x4be4d0['containsRange'](_0x12599d,!0x0))&&_0x5db9b4['discard']();if(_0x41fcee['every'](_0x556867=>_0x12599d['containsRange'](_0x556867,!0x0))){const _0x3a63c7=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4d059b,'accept');return this['forceDefaultExecution'](()=>_0x3a63c7(_0x41fcee,null,_0x5264b8)),null;}}const _0x57add8=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4d059b,'join');let _0x13399c=null;for(const _0x2e84db of this['getSuggestions']())if(_0x2e84db['author']['id']==_0x3ac60c['id']&&_0x2e84db['isInContent']&&'deletion'==_0x2e84db['type']&&_0x2e84db['subType']==_0x4d059b&&oD(_0x2e84db,_0x5264b8)&&(_0x57add8(_0x2e84db['getRanges'](),_0x41fcee)||_0x57add8(_0x41fcee,_0x2e84db['getRanges']()))){if(_0x13399c){if(_0x2e84db['commentThread']&&_0x2e84db['commentThread']['length'])continue;for(const _0x54fdaf of _0x2e84db['getRanges']())_0x13399c['isIntersectingWithRange'](_0x54fdaf)||_0x13399c['addRange'](_0x54fdaf);_0x2e84db['removeMarkers']();}else{_0x13399c=_0x2e84db;for(const _0x127903 of _0x41fcee)_0x2e84db['isIntersectingWithRange'](_0x127903)||_0x2e84db['addRange'](_0x127903);}}if(_0x13399c)return _0x13399c;_0x57438c['clear']();for(const {suggestion:_0x110fce,meta:_0x5c8715}of this['_findSuggestions'](_0x41fcee,'deletion'))_0x5c8715['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5c8715['containsRangeInObject']&&!_0x5c8715['isInsideObject'])&&oD(_0x110fce,_0x5264b8)&&_0x57438c['add'](_0x110fce);for(const _0x117235 of _0x57438c){const _0x4ffa70=_0x117235['getRanges']();if(!_0x5264b8||!_0x5264b8['skipNestingCheck']){if(_0x41fcee['every'](_0x542724=>_0x4ffa70['some'](_0x2b9447=>_0x2b9447['containsRange'](_0x542724,!0x0))))return _0x117235;}(!_0x117235['attributes']||!_0x117235['attributes']['skipNestingCheck'])&&(_0x4ffa70['every'](_0x169992=>_0x41fcee['some'](_0x13ca4d=>_0x13ca4d['containsRange'](_0x169992,!0x0)))&&_0x117235['discard']());}const _0x25ff8b=_0x5c5c0c(),_0x3c64f0=_0x3ac60c['id'],_0x316548='deletion:'+_0x4d059b,_0x427cce=this['_setSuggestionData']({'id':_0x25ff8b,'type':_0x316548,'createdAt':new Date(),'authorId':_0x3c64f0,'attributes':_0x5264b8});for(const _0x42c4c5 of _0x41fcee)_0x42c4c5['detach'](),_0x42c4c5['isCollapsed']||'$graveyard'==_0x42c4c5['root']['rootName']||this['_addSuggestionMarker'](_0x316548,_0x25ff8b,_0x3c64f0,_0x42c4c5,Suggestion['getMultiRangeId']());return _0x427cce;}['markAttributeChange'](_0x2b7468,_0x4af96f,_0x211ed3,_0x4f5f0e,_0x2dc036){if(_0x2b7468['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x397622=this['editor']['plugins']['get']('Users')['me']['id'],_0x4d29df=Array['from'](this['_suggestions']['values']())['filter'](_0x58183=>'attribute'==_0x58183['type']&&_0x58183['data']['key']==_0x4af96f&&_0x58183['isIntersectingWithRange'](_0x2b7468));if(this['_trackingSessionId']&&(_0x2dc036['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x3e54f3=this['_findSuggestions'](_0x2b7468,'insertion')['filter'](({meta:_0x42c969})=>_0x42c969['isOwn']&&!_0x42c969['isInsideObject']&&!_0x42c969['isNextTo'])['map'](({suggestion:_0x5dc641})=>_0x5dc641);_0x4d29df['unshift'](..._0x3e54f3);}const _0x152338=new Map([[_0x2b7468,_0x211ed3]]);for(const _0x2131be of _0x4d29df){const _0x128bbf='attribute'==_0x2131be['type']?_0x2131be['data']['oldValue']:void 0x0,_0x3cae21=_0x2131be['getFirstRange'](),_0x36fa99=Array['from'](_0x152338['keys']())['find'](_0x35add4=>_0x35add4['isIntersecting'](_0x3cae21));if(!_0x36fa99)continue;const _0x4b158f=_0x36fa99['getDifference'](_0x3cae21);this['_isBlockAttribute'](_0x4af96f)&&'insertion'==_0x2131be['type']&&0x0!=_0x4b158f['length']||(_0x152338['delete'](_0x36fa99),_0x4b158f['forEach'](_0x5d64f8=>{_0x152338['set'](_0x5d64f8,_0x211ed3);}),'insertion'!=_0x2131be['type']&&_0x128bbf!=_0x4f5f0e&&_0x152338['set'](_0x36fa99['getIntersection'](_0x3cae21),_0x128bbf));}const _0x3a5f21=[];for(const [_0x2ddb42,_0x588dc7]of _0x152338){const _0x274796=_0x5c5c0c(),_0x5298c4={'key':_0x4af96f,'oldValue':_0x588dc7,'newValue':_0x4f5f0e};_0x4af96f['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':_0x4af96f});const _0x2e15a5=('attribute:'+(_0x4af96f+'|'+KL({'newValue':_0x4f5f0e})))['substring'](0x0,0x3c),_0x1d247f=this['_setSuggestionData']({'id':_0x274796,'type':_0x2e15a5,'data':_0x5298c4,'createdAt':new Date(),'authorId':_0x397622,'attributes':_0x2dc036});_0x3a5f21['push'](_0x1d247f),this['_addSuggestionMarker'](_0x2e15a5,_0x274796,_0x397622,_0x2ddb42);}return _0x3a5f21;}['enableDefaultAttributesIntegration'](_0x4245e1){this['enableCommand'](_0x4245e1,(_0x2b7258,..._0x1fc741)=>{this['recordAttributeChanges'](()=>{_0x2b7258(..._0x1fc741);});});}['registerBlockAttribute'](_0x5328cc){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x5328cc);}['registerInlineAttribute'](_0x4e54d8){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x4e54d8);}['startTrackingSession'](_0x2571de){return this['_trackingSessionId']=void 0x0!==_0x2571de?_0x2571de:_0x5c5c0c(),this['_trackingSessionId'];}['_getAttributeKey'](_0x4252a9){return'attribute'==_0x4252a9['type']?_0x4252a9['subType']['split']('|')[0x0]:null;}['_applyOperationsAsSuggestions'](_0x48a89d){if(0x0==_0x48a89d['length'])return;const _0x17a77a=this['editor'],_0x4877e9=_0x17a77a['plugins']['get'](DocumentCompare),_0x5d6736=[];_0x17a77a['model']['change'](_0x3fe117=>{for(let _0x17ea65=0x0;_0x17ea65<_0x48a89d['length'];_0x17ea65++){const _0x2b4182=_0x48a89d[_0x17ea65];if(_0x2b4182['baseVersion']=_0x17a77a['model']['document']['version'],_0x2b4182['isDocumentOperation']=!0x0,_0x4877e9['isMarkedRemoveOperation'](_0x2b4182)){const _0x1f27c1=Ja(_0x2b4182['newRange'],_0x17a77a['model']);_0x5d6736['unshift'](_0x19f373['fromRange'](_0x1f27c1));}else switch(_0x2b4182['type']){case'rename':{const _0x47dd93=_0x2b4182['oldName'],_0x57750c=_0x2b4182['newName'];if(_0x47dd93==_0x57750c)break;_0x3fe117['batch']['addOperation'](_0x2b4182),_0x17a77a['model']['applyOperation'](_0x2b4182);const _0x3e3c8f='$elementName',_0xd88a97=_0x2b4182['position'],_0x56d04e=_0x17a77a['model']['createRange'](_0xd88a97,_0x17a77a['model']['createPositionAt'](_0xd88a97['nodeAfter'],'end'));this['markAttributeChange'](_0x56d04e,_0x3e3c8f,_0x47dd93,_0x57750c,{'groupId':_0x5c5c0c()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x3c0c13=_0x2b4182['oldValue'],_0x561667=_0x2b4182['newValue'];if(_0x3c0c13==_0x561667)break;_0x3fe117['batch']['addOperation'](_0x2b4182),_0x17a77a['model']['applyOperation'](_0x2b4182);const _0x2c965d=_0x2b4182['key'];if(!this['_isRegisteredAttribute'](_0x2c965d))break;const _0x1cd0df=Ja(_0x2b4182['range'],_0x17a77a['model']);this['markAttributeChange'](_0x1cd0df,_0x2c965d,_0x3c0c13,_0x561667,{'groupId':_0x5c5c0c()});break;}case'insert':{_0x3fe117['batch']['addOperation'](_0x2b4182),_0x17a77a['model']['applyOperation'](_0x2b4182);if(_0x48a89d[_0x17ea65+0x1]&&'move'==_0x48a89d[_0x17ea65+0x1]['type'])break;const _0x46807e=_0x2b4182['position'],_0x4b0fb9=_0x2b4182['howMany'],_0x183f35=Ja(_0x17a77a['model']['createRange'](_0x46807e,_0x46807e['getShiftedBy'](_0x4b0fb9)),_0x17a77a['model']);this['markInsertion'](_0x183f35);break;}case'split':{_0x3fe117['batch']['addOperation'](_0x2b4182),_0x17a77a['model']['applyOperation'](_0x2b4182);const _0x45d5f0=_0x2b4182['splitPosition'],_0x5c5143=_0x2b4182['moveTargetPosition'];this['markInsertion'](_0x17a77a['model']['createRange'](_0x45d5f0,_0x5c5143));break;}case'move':case'remove':_0x3fe117['batch']['addOperation'](_0x2b4182),_0x17a77a['model']['applyOperation'](_0x2b4182);}}for(const _0x58f085 of _0x5d6736)_0x58f085['detach'](),this['markDeletion'](_0x58f085);});}['_setSuggestionRange'](_0x1d3a4a,_0xa58ba5){const _0x19e53f=_0x1d3a4a['getFirstMarker']();this['_model']['change'](_0x30710a=>{_0x30710a['updateMarker'](_0x19e53f,{'range':_0xa58ba5});});}['_addThreadToSuggestion'](_0x56c67e){const _0x3fab37=_0x56c67e['id'],_0x575799=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x3fab37)||this['_commentsRepository']['addCommentThread']({'channelId':_0x575799,'threadId':_0x3fab37,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2c79e7=this['_commentsRepository']['getCommentThread'](_0x3fab37);_0x2c79e7['unbind']('isRemovable'),_0x2c79e7['isRemovable']=!0x1,_0x56c67e['commentThread']=_0x2c79e7;}['_checkSuggestionCorrectness'](_0x386c0d,_0x5ef77b,_0x2bca0,_0xbace69){if(_0x386c0d['type']!=_0x5ef77b||_0x386c0d['subType']!=_0x2bca0||_0x386c0d['creator']['id']!=_0xbace69)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x37fbfa('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x1b94ec,_0xe82c5c){const _0x2c9822=_0x1b94ec['getFirstRange']();if(_0xe82c5c['isEqual'](_0x2c9822))_0x1b94ec['removeMarkers']();else{if(_0x2c9822['containsRange'](_0xe82c5c)){const _0x4a9f04=this['_model']['createPositionAt'](_0xe82c5c['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x1b94ec,this['_model']['createRange'](_0x2c9822['start'],_0x4a9f04));const _0x49fddb=_0x5c5c0c(),_0x4913d1=_0x1b94ec['creator']['id'],_0x9843ec=_0x1b94ec['type']+':'+_0x1b94ec['subType'];this['_setSuggestionData']({'id':_0x49fddb,'type':_0x9843ec,'createdAt':new Date(),'authorId':_0x4913d1,'data':_0x1b94ec['data'],'attributes':_0x1b94ec['attributes']});const _0x5f5be1=this['_model']['createPositionAt'](_0xe82c5c['end']['parent'],'after'),_0x42456c=this['_model']['createRange'](_0x5f5be1,_0x2c9822['end']);this['_addSuggestionMarker'](_0x9843ec,_0x49fddb,_0x4913d1,_0x42456c);}else{if(_0x2c9822['containsPosition'](_0xe82c5c['start'])){const _0x1f3fcc=this['_model']['createPositionAt'](_0xe82c5c['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x1b94ec,this['_model']['createRange'](_0x2c9822['start'],_0x1f3fcc));}else{const _0x49ea5f=this['_model']['createPositionAt'](_0xe82c5c['end']['parent'],'after');this['_setSuggestionRange'](_0x1b94ec,this['_model']['createRange'](_0x49ea5f,_0x2c9822['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x2851c1){for(const {suggestion:_0x4f6d25,meta:_0x7894b6}of this['_findSuggestions'](_0x2851c1,'insertion')){if(!_0x7894b6['isOwn'])continue;const _0xca044=_0x4f6d25['getRanges']();for(const _0x195630 of _0xca044)if(!_0x2851c1['getDifference'](_0x195630)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0xf7f2b5){return this['editor']['plugins']['get']('Users')['getUser'](_0xf7f2b5);}['_getExternalAuthor'](_0x3f9850){const _0x455273=this['editor']['plugins']['get']('Users'),_0x5ab718=Ju('external:'+_0x3f9850),_0x23e2df=_0x455273['getUser'](_0x5ab718);return _0x23e2df||_0x455273['addUser']({'id':_0x5ab718,'name':_0x3f9850});}['_createSuggestion'](_0x4d5189,_0x3785e8,_0x2ed8a4,_0x4429a7,_0x599278,_0x5c2739){const _0x28f9fb=this['_getAuthorFromId'](_0x4429a7);if(!_0x28f9fb)throw new _0x37fbfa('track-changes-user-not-found',this,{'authorId':_0x4429a7,'suggestionId':_0x2ed8a4});const _0x18c00e=this['_suggestionFactory']['buildSuggestion'](_0x4d5189,_0x3785e8,_0x2ed8a4,_0x28f9fb,_0x599278,_0x91314e=>{this['_updateSuggestionData'](_0x2ed8a4,{'attributes':_0x91314e});const _0x52d33b=this['getSuggestion'](_0x2ed8a4);this['_joinWithAdjacentSuggestions'](new Set([_0x52d33b])),this['_refreshSuggestionsChain'](new Set([_0x52d33b]));},_0x5c2739);return this['listenTo'](_0x18c00e,'accept',()=>{this['_updateSuggestionData'](_0x2ed8a4,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x18c00e,'discard',()=>{this['_updateSuggestionData'](_0x2ed8a4,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x2ed8a4,_0x18c00e),this['_suggestionState']['set'](_0x18c00e,'notReady'),_0x18c00e;}['_splitMarkerName'](_0x151d65){return Ka(_0x151d65);}['_breakSuggestionMarker'](_0x57d7c7,_0x3fea71,_0x326e9d){const _0x22fdbf=_0x57d7c7['getFirstRange'](),_0x3dc2ce=_0x22fdbf['start'],_0x4bca88=_0x22fdbf['end'];this['_setSuggestionRange'](_0x57d7c7,this['_model']['createRange'](_0x3dc2ce,_0x3fea71));const _0xc63a8=_0x5c5c0c(),_0x48937d=_0x57d7c7['creator']['id'],_0x3e2022=_0x57d7c7['type']+(_0x57d7c7['subType']?':'+_0x57d7c7['subType']:'');this['_setSuggestionData']({'id':_0xc63a8,'type':_0x3e2022,'createdAt':new Date(),'authorId':_0x48937d,'originalSuggestionId':_0x57d7c7['_originalSuggestionId']||_0x57d7c7['id'],'attributes':_0x57d7c7['attributes'],'data':_0x57d7c7['data']});const _0x45870e=this['_getAttributeKey'](_0x57d7c7);('formatBlock'==_0x57d7c7['type']||_0x45870e&&this['_isBlockAttribute'](_0x45870e))&&(_0x326e9d=this['_model']['createPositionBefore'](_0x326e9d['parent'])),this['_addSuggestionMarker'](_0x3e2022,_0xc63a8,_0x48937d,this['_model']['createRange'](_0x326e9d,_0x4bca88));}['_findSuggestions'](_0x146dba,_0x252ad8=null){const _0x1c21d7=[],_0x45cd32=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x146dba)||(_0x146dba=[_0x146dba]);for(const _0x489b9a of this['getSuggestions']()){if(!_0x489b9a['isInContent'])continue;if(_0x252ad8&&_0x489b9a['type']!=_0x252ad8)continue;let _0x3d95e9=!0x1;for(const _0x453ee3 of _0x489b9a['getRanges']()){for(const _0x1f5d0f of _0x146dba){const _0x5ac7fa=_0x1f5d0f['start']['isEqual'](_0x453ee3['end'])||_0x1f5d0f['end']['isEqual'](_0x453ee3['start']);if(_0x5ac7fa||_0x1f5d0f['getIntersection'](_0x453ee3)){const _0x5921bb=_0x1f5d0f['containsRange'](_0x453ee3)&&WL(this['_model']['schema'],_0x453ee3['start'],_0x1f5d0f),_0x19cf80=_0x453ee3['containsRange'](_0x1f5d0f)&&WL(this['_model']['schema'],_0x1f5d0f['start'],_0x453ee3);_0x1c21d7['push']({'suggestion':_0x489b9a,'meta':{'isOwn':_0x45cd32==_0x489b9a['author'],'isNextTo':_0x5ac7fa,'isInsideObject':_0x5921bb,'containsRangeInObject':_0x19cf80}}),_0x3d95e9=!0x0;break;}}if(_0x3d95e9)break;}}return _0x1c21d7;}['_addSuggestionMarker'](_0x16ea0f,_0x466af5,_0x367397,_0x5f3d14,_0x56cc66){this['_model']['change'](_0x5b0a69=>{let _0x1bd5ea='suggestion:'+_0x16ea0f+':'+_0x466af5+':'+_0x367397;_0x56cc66&&(_0x1bd5ea=_0x1bd5ea+':'+_0x56cc66),_0x5b0a69['addMarker'](_0x1bd5ea,{'range':_0x5f3d14,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x277aad){const _0x56f1fe=_0x277aad['previous'],_0x4560ab=_0x277aad['next'];_0x277aad['previous']=null,_0x277aad['next']=null,null!=_0x56f1fe&&_0x56f1fe['next']==_0x277aad&&(_0x56f1fe['next']=_0x4560ab),null!=_0x4560ab&&_0x4560ab['previous']==_0x277aad&&(_0x4560ab['previous']=_0x56f1fe),'ready'==this['_suggestionState']['get'](_0x277aad)&&(this['_suggestionState']['set'](_0x277aad,'removed'),this['fire']('suggestionUnloaded',_0x277aad,_0x56f1fe,_0x4560ab));}['_setSuggestionData'](_0x30df62){const _0x254b70=_0x30df62['id'],_0x33de00=this['addSuggestionData'](_0x30df62);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x1908a7=this['editor']['plugins']['get']('PendingActions'),_0x1f34c2=_0x33de00['hasComments'],_0x5c6634=_0x33de00['subType']?_0x33de00['type']+':'+_0x33de00['subType']:_0x33de00['type'],_0x45acac=this['editor']['locale'],_0x4c1680=_0x1908a7['add'](RL(_0x45acac,'PENDING_ACTION_SUGGESTION')),_0x11fdef={'id':_0x254b70,'type':_0x5c6634,'hasComments':_0x1f34c2,'data':_0x30df62['data']||null,'originalSuggestionId':_0x30df62['originalSuggestionId']||null,'attributes':_0x33de00['attributes']};this['_adapter']['addSuggestion'](_0x11fdef)['then'](_0x3396dc=>{_0x33de00['_saved']=!0x0,_0x1908a7['remove'](_0x4c1680),_0x3396dc&&_0x3396dc['createdAt']&&(this['_suggestions']['get'](_0x254b70)['createdAt']=_0x3396dc['createdAt']);})['catch'](_0x3bd729=>{throw _0xd86012('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x33de00['discard']();}),_0x33de00['stopListening'](),this['_suggestions']['delete'](_0x33de00['id']),this['_suggestionState']['delete'](_0x33de00),_0x3bd729;});}return _0x33de00;}['_isBlockAttribute'](_0x2f9e07){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x2f9e07);}['_isInlineAttribute'](_0x4104d5){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x4104d5);}['_updateSuggestionData'](_0x537f3e,_0x4467c6){const _0x8c3c44=this['editor']['plugins']['get']('PendingActions'),_0x581be7=this['getSuggestion'](_0x537f3e);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x581be7['_saved']){const _0x19357c=_0x8c3c44['add'](RL(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x537f3e,_0x4467c6)['then'](()=>{_0x8c3c44['remove'](_0x19357c);});}else _0x581be7['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x537f3e,_0x4467c6);});}}['_getSuggestionData'](_0x30c7e4){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x37fbfa('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x30c7e4);}['_handleNewSuggestionMarker'](_0x24e336){const {id:_0x526737,type:_0x299876,subType:_0x5b81f7,authorId:_0xed0218}=this['_splitMarkerName'](_0x24e336),_0x37bf9e=this['_suggestions']['get'](_0x526737)||this['_createSuggestion'](_0x299876,_0x5b81f7,_0x526737,_0xed0218,{});switch(this['_checkSuggestionCorrectness'](_0x37bf9e,_0x299876,_0x5b81f7,_0xed0218),this['_suggestionState']['get'](_0x37bf9e)){case'notReady':this['_getSuggestionData'](_0x526737)['then'](_0x2e8c2c=>{let _0x5f6803=Promise['resolve']();_0x2e8c2c['hasComments']&&(_0x5f6803=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x526737})),_0x5f6803['then'](()=>{this['addSuggestionData'](_0x2e8c2c)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x37bf9e,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x526737,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x37bf9e,'ready'),this['fire']('suggestionLoaded',_0x37bf9e);break;case'ready':this['fire']('suggestionChanged',_0x37bf9e);}return _0x37bf9e['addMarkerName'](_0x24e336),_0x37bf9e;}['_refreshSuggestionsChain'](_0x40fa36){const _0x470cf2=Array['from'](_0x40fa36),_0x5d61b0=_0x470cf2['filter'](_0x5f52d8=>'attribute'==_0x5f52d8['type']);this['_refreshAttributeSuggestionsChain'](_0x5d61b0);const _0x209b54=_0x470cf2['filter'](_0x52b7e3=>!_0x52b7e3['isMultiRange']&&'attribute'!=_0x52b7e3['type']),_0xf83d34=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5533bb=>!_0x5533bb['isMultiRange']&&'attribute'!=_0x5533bb['type']),_0x4ca192=_0xf83d34['filter'](_0x5bebc5=>!_0x40fa36['has'](_0x5bebc5)),_0x1937f9=new Map(_0xf83d34['map'](_0x10a852=>[_0x10a852,this['_suggestionFactory']['getSuggestionCallback'](_0x10a852['type'],_0x10a852['subType'],'chain')])),_0x52a525=new Map(_0xf83d34['map'](_0x24f813=>[_0x24f813,_0x24f813['getFirstRange']()])),_0x2e7086=new Set(),_0x5b61a2=new Set();for(let _0x4721f7=0x0;_0x4721f7<_0x209b54['length'];_0x4721f7++)_0x30b516(_0x209b54[_0x4721f7],_0x209b54,_0x4721f7+0x1);for(let _0x66ddfb=0x0;_0x66ddfb<_0x209b54['length'];_0x66ddfb++)_0x30b516(_0x209b54[_0x66ddfb],_0x4ca192,0x0);const _0x3e570c=new Set();for(let _0x11ed17=0x0;_0x11ed17<_0x209b54['length'];_0x11ed17++){const _0x1fcd7e=_0x209b54[_0x11ed17];!_0x5b61a2['has'](_0x1fcd7e)&&_0x1fcd7e['previous']&&(_0x3e570c['add'](_0x1fcd7e['previous']),_0x1fcd7e['previous']['next']===_0x1fcd7e&&(_0x1fcd7e['previous']['next']=null),_0x1fcd7e['previous']=null),!_0x2e7086['has'](_0x1fcd7e)&&_0x1fcd7e['next']&&(_0x3e570c['add'](_0x1fcd7e['next']),_0x1fcd7e['next']['previous']===_0x1fcd7e&&(_0x1fcd7e['next']['previous']=null),_0x1fcd7e['next']=null);}function _0x30b516(_0x272245,_0x27c8bf,_0x3b5f1c){for(let _0x1c2cc1=_0x3b5f1c;_0x1c2cc1<_0x27c8bf['length'];_0x1c2cc1++){const _0x2e7198=_0x93eb04(_0x272245,_0x27c8bf[_0x1c2cc1]);_0x2e7198&&(_0x2e7198[0x0]['next']=_0x2e7198[0x1],_0x2e7198[0x1]['previous']=_0x2e7198[0x0],_0x2e7086['add'](_0x2e7198[0x0]),_0x5b61a2['add'](_0x2e7198[0x1]));}}function _0x93eb04(_0x1ac829,_0x3dde8){if(_0x1ac829['author']['id']!==_0x3dde8['author']['id'])return null;const _0x3fdc7f=_0x1937f9['get'](_0x1ac829)(_0x1ac829,_0x3dde8,_0x52a525['get'](_0x1ac829),_0x52a525['get'](_0x3dde8));if(!_0x3fdc7f)return null;return _0x1937f9['get'](_0x3dde8)(_0x1ac829,_0x3dde8,_0x52a525['get'](_0x1ac829),_0x52a525['get'](_0x3dde8))?_0x3fdc7f[0x1]['commentThread']&&_0x3fdc7f[0x1]['commentThread']['length']?null:_0x3fdc7f:null;}_0x3e570c['size']&&this['_refreshSuggestionsChain'](_0x3e570c);}['_refreshAttributeSuggestionsChain'](_0x4efa53){if(0x0==_0x4efa53['length'])return;const _0x1bbfc1=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x316d2b=>'attribute'==_0x316d2b['type']&&_0x316d2b['_isDataLoaded']),_0x2f944c=[],_0x396872=new Map();for(const _0x41796d of _0x1bbfc1){const _0x4a1de8=Ju(_0x41796d['attributes']);_0x396872['has'](_0x4a1de8)||(_0x396872['set'](_0x4a1de8,_0x2f944c['length']),_0x2f944c['push']([]));const _0x31cba5=_0x396872['get'](_0x4a1de8);_0x2f944c[_0x31cba5]['push'](_0x41796d);}!(function(){_0x2f944c['sort']((_0x32ac84,_0x2c8a7f)=>{const _0x340391=_0x32ac84[0x0]['createdAt'],_0x24271f=_0x2c8a7f[0x0]['createdAt'];return _0x340391==_0x24271f?_0x32ac84[0x0]['attributes']['groupId']<_0x2c8a7f[0x0]['attributes']['groupId']?-0x1:0x1:_0x340391<_0x24271f?-0x1:0x1;});for(const _0x3617e9 of _0x2f944c)_0x3617e9['sort']((_0x95a598,_0x209315)=>_0x95a598['id']<_0x209315['id']?-0x1:0x1);}());for(let _0x4f6beb=0x0;_0x4f6beb<_0x2f944c['length'];_0x4f6beb++){if(0x0==_0x2f944c[_0x4f6beb]['length'])continue;const _0x4a28e0=[];for(let _0x215ae5=_0x4f6beb+0x1;_0x215ae5<_0x2f944c['length'];_0x215ae5++)0x0!=_0x2f944c[_0x215ae5]['length']&&_0x46d399(_0x2f944c[_0x4f6beb],_0x2f944c[_0x215ae5])&&_0x4a28e0['push'](_0x215ae5);for(const _0x2d59aa of _0x4a28e0)_0x2f944c[_0x4f6beb]=_0x2f944c[_0x4f6beb]['concat'](_0x2f944c[_0x2d59aa]),_0x2f944c[_0x2d59aa]=[];}for(const _0x19d950 of _0x2f944c)for(let _0x42d328=0x0;_0x42d328<_0x19d950['length'];_0x42d328++){const _0x1eb21a=_0x19d950[_0x42d328+0x1]||null;_0x19d950[_0x42d328]['next']!==_0x1eb21a&&(_0x19d950[_0x42d328]['next']=_0x1eb21a);}for(const _0x5d0d6c of _0x2f944c)for(let _0x27dfbb=0x0;_0x27dfbb<_0x5d0d6c['length'];_0x27dfbb++){const _0xbbbe87=_0x5d0d6c[_0x27dfbb-0x1]||null;_0x5d0d6c[_0x27dfbb]['previous']!==_0xbbbe87&&(_0x5d0d6c[_0x27dfbb]['previous']=_0xbbbe87);}function _0x46d399(_0x484ff5,_0x1edce1){if(_0x484ff5[0x0]['attributes']['groupId']!==_0x1edce1[0x0]['attributes']['groupId']&&_0x484ff5[0x0]['author']!==_0x1edce1[0x0]['author'])return!0x1;if(!function(_0x3e13cb,_0x294b3d){if(!_0x3e13cb['hasComments']&&!_0x294b3d['hasComments'])return!0x0;if(_0x3e13cb['hasComments']&&_0x294b3d['hasComments'])return!0x1;if(_0x3e13cb['hasComments']&&_0x294b3d['createdAt']<_0x3e13cb['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x294b3d['hasComments']&&_0x3e13cb['createdAt']<_0x294b3d['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x484ff5[0x0],_0x1edce1[0x0]))return!0x1;if(!Zr(Xr(_0x484ff5[0x0]['attributes'],['groupId','trackingSessionId']),Xr(_0x1edce1[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x484ff5[0x0]['attributes']['groupId']==_0x1edce1[0x0]['attributes']['groupId'])return!0x0;if(_0x484ff5[0x0]['attributes']['trackingSessionId']!==_0x1edce1[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x484ff5['every'](_0x71d15d=>_0x1edce1['some'](_0x57898a=>_0x71d15d['getFirstRange']()['isEqual'](_0x57898a['getFirstRange']())))&&_0x1edce1['every'](_0x1403d2=>_0x484ff5['some'](_0x3f0b5b=>_0x1403d2['getFirstRange']()['isEqual'](_0x3f0b5b['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x3a3267){const _0x101839=Array['from'](_0x3a3267),_0x39e43f=this['getSuggestions']({'skipNotAttached':!0x0}),_0x3047e0=_0x39e43f['filter'](_0x24cc1d=>!_0x3a3267['has'](_0x24cc1d)),_0x4a196f=new Map(_0x101839['map'](_0x58b716=>[_0x58b716,this['_suggestionFactory']['getSuggestionCallback'](_0x58b716['type'],_0x58b716['subType'],'join')])),_0x17508e=new Map(_0x39e43f['map'](_0x1e41a1=>[_0x1e41a1,_0x1e41a1['getRanges']()]));for(let _0x5f34e9=0x0;_0x5f34e9<_0x101839['length'];_0x5f34e9++){if(_0x3d9a15(this,_0x101839[_0x5f34e9],_0x101839,_0x5f34e9+0x1))return!0x0;}for(let _0x40d153=0x0;_0x40d153<_0x101839['length'];_0x40d153++){if(_0x3d9a15(this,_0x101839[_0x40d153],_0x3047e0,0x0))return!0x0;}return!0x1;function _0x3d9a15(_0x5d482c,_0x32bf9f,_0x16ec56,_0x1aa0fc){for(let _0x2531a6=_0x1aa0fc;_0x2531a6<_0x16ec56['length'];_0x2531a6++){const _0x408781=_0x16ec56[_0x2531a6];if(_0x408781['type']!==_0x32bf9f['type']||_0x408781['author']['id']!==_0x32bf9f['author']['id']||_0x408781['subType']!==_0x32bf9f['subType'])continue;if(!rD(_0x32bf9f,_0x408781))continue;if('attribute'==_0x32bf9f['type']&&_0x32bf9f['data']['oldValue']!=_0x408781['data']['oldValue'])continue;if('attribute'==_0x32bf9f['type']&&_0x5d482c['_isBlockAttribute'](_0x32bf9f['data']['key']))continue;if('formatBlock'==_0x32bf9f['type']){const _0x35ec6b=_0x5d482c['editor']['model'],_0xf77a95=_0x32bf9f['getContainedElement']();if(_0xf77a95&&(_0x35ec6b['schema']['isObject'](_0xf77a95)||_0x35ec6b['schema']['isLimit'](_0xf77a95)))continue;}const _0x4a00f6=_0x4a196f['get'](_0x32bf9f),_0x3a5aca=_0x17508e['get'](_0x32bf9f),_0xf94743=_0x17508e['get'](_0x408781),_0x3291f4=_0x32bf9f['commentThread']&&_0x32bf9f['commentThread']['length'],_0x44ee28=_0x408781['commentThread']&&_0x408781['commentThread']['length'];if(!_0x3291f4&&_0x4a00f6(_0xf94743,_0x3a5aca))return _0x5d482c['_joinSuggestions'](_0x408781,_0x32bf9f),_0x17508e['delete'](_0x32bf9f),!0x0;if(!_0x44ee28&&_0x4a00f6(_0x3a5aca,_0xf94743))return _0x5d482c['_joinSuggestions'](_0x32bf9f,_0x408781),_0x17508e['delete'](_0x408781),!0x0;}return!0x1;}}['_joinSuggestions'](_0x998fb6,_0x3a06e5){if(_0x998fb6['isMultiRange']){for(const _0x544c1c of _0x3a06e5['getRanges']())_0x998fb6['addRange'](_0x544c1c);}else{const _0x2dd27e=_0x3a06e5['getFirstRange']()['end'];this['_setSuggestionRange'](_0x998fb6,this['_model']['createRange'](_0x998fb6['getFirstRange']()['start'],_0x2dd27e));}_0x3a06e5['removeMarkers']();}['_getMarkerAnnouncementText'](_0x5886f3,_0x2adcad,_0x195656){const _0x2484e0=_0x5886f3['startsWith']('format')||_0x5886f3['startsWith']('attribute')?'FORMATTING':_0x5886f3['toUpperCase']();return RL(this['editor']['locale'],_0x2adcad+'_'+_0x2484e0+'_SUGGESTION_ANNOUNCEMENT',_0x195656);}['_initAriaMarkerChangeAnnouncements'](){const _0x12398a=this['editor'];if(!_0x12398a['ui'])return;const {ariaLiveAnnouncer:_0x5b280c}=_0x12398a['ui'];ld(this['_model'],({left:_0x499d62,entered:_0x123bb3})=>{for(const _0x36e11e of _0x499d62){const {group:_0x3cf217,type:_0x4dd3cd}=this['_splitMarkerName'](_0x36e11e['name']);if('suggestion'===_0x3cf217){_0x5b280c['announce'](this['_getMarkerAnnouncementText'](_0x4dd3cd,'LEAVE'));break;}}for(const _0x7872b9 of _0x123bb3){const {group:_0x594914,type:_0x386b32}=this['_splitMarkerName'](_0x7872b9['name']);if('suggestion'===_0x594914){_0x5b280c['announce'](this['_getMarkerAnnouncementText'](_0x386b32,'ENTER',_0x37fc5a(hd)));break;}}});}['_processAttributeChanges'](_0x258427){if(this['_recordAttributeSuggestions'])return!0x1;const _0x5d493d=this['editor'],_0x1e7929=_0x5d493d['model']['document']['differ']['getChanges']();if(0x0==_0x1e7929['length'])return!0x1;const _0x4e7fe2=[],_0xf01231=_0x1e7929['filter'](_0x54ec3a=>'attribute'==_0x54ec3a['type']),_0x1d9925=_0x1e7929['filter'](_0x45361f=>'insert'==_0x45361f['type']&&'$text'!=_0x45361f['name']),_0x5211b2=_0x1e7929['filter'](_0x3373ee=>'remove'==_0x3373ee['type']&&'$text'!=_0x3373ee['name']);for(const _0x2c4223 of _0xf01231)_0x4e7fe2['push']({'key':_0x2c4223['attributeKey'],'newValue':_0x2c4223['attributeNewValue'],'oldValue':_0x2c4223['attributeOldValue'],'range':iD(_0x2c4223['range'],_0x5d493d['model'])});for(const _0x140396 of _0x1d9925){const _0x333d86=_0x5211b2['find'](_0x42c95d=>_0x42c95d['position']['isEqual'](_0x140396['position']));_0x333d86&&_0x4e7fe2['push']({'key':qL,'newValue':_0x140396['name'],'oldValue':_0x333d86['name'],'range':_0x5d493d['model']['createRangeOn'](_0x140396['position']['nodeAfter'])});}return 0x0!=_0x4e7fe2['length']&&this['_reduceExistingSuggestions'](_0x258427,_0x4e7fe2);}['_processAttributeSuggestions'](_0x2ea57d){let _0x58b248=!0x1;const _0x5a5df3=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2cf8cd=>_0x2cf8cd['data']['newRange']&&_0x2cf8cd['name']['startsWith']('suggestion:attribute:'));for(const _0xd268e1 of _0x5a5df3){const {subType:_0x3553d3,id:_0x4afe16}=this['_splitMarkerName'](_0xd268e1['name']),_0x3efaaa=_0x3553d3['split']('|')[0x0];for(const _0x57fc5d of this['getSuggestions']({'skipNotAttached':!0x0}))_0x57fc5d['id']!=_0x4afe16&&'attribute'==_0x57fc5d['type']&&_0x57fc5d['data']&&_0x57fc5d['data']['key']==_0x3efaaa&&_0x57fc5d['getFirstRange']()['isIntersecting'](_0xd268e1['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x57fc5d,_0xd268e1['data']['newRange'],_0x2ea57d),_0x58b248=!0x0);}return _0x58b248;}['recordAttributeChanges'](_0x4aae5f){this['_recordAttributeSuggestions']=!0x0,_0x4aae5f();}['_isRegisteredAttribute'](_0x5ab592){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x5ab592);}['_reduceExistingSuggestions'](_0x2a4e66,_0x14c486){if(0x0==_0x14c486['length'])return!0x1;let _0x3a3b5b=!0x1;for(const _0x26c15d of _0x14c486){const _0x52d118=this['_findSuggestions'](_0x26c15d['range'],'attribute')['filter'](_0x1a04fa=>!_0x1a04fa['meta']['isNextTo'])['map'](_0x2400ca=>_0x2400ca['suggestion']),_0x301fb8=Ju({'newValue':_0x26c15d['newValue']});_0x52d118['filter'](_0x1a5880=>{const [_0x1781bd,_0xce987d]=_0x1a5880['subType']['split']('|');return _0x1781bd==_0x26c15d['key']&&_0xce987d!=_0x301fb8;})['forEach'](_0x185412=>{this['_reduceSuggestionAttributeRange'](_0x185412,_0x26c15d['range'],_0x2a4e66),_0x3a3b5b=!0x0;});}return _0x3a3b5b;}['_reduceSuggestionAttributeRange'](_0x286244,_0x3ec1ba,_0x43ce9a){const _0x27d439=_0x286244['getFirstRange']()['getDifference'](_0x3ec1ba);0x0!==_0x27d439['length']?0x1!==_0x27d439['length']?this['_breakSuggestionMarker'](_0x286244,_0x3ec1ba['start'],_0x3ec1ba['end']):this['_setSuggestionRange'](_0x286244,_0x27d439[0x0]):_0x43ce9a['removeMarker'](_0x286244['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x5da4de){this['_editor']=_0x5da4de,this['_model']=_0x5da4de['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0xbf9a5f,_0x27e671,_0x517a4e,_0x16a1ea,_0x21531c,_0x181d89,_0x3d5e7a){return new Suggestion(this['_model'],{'type':_0xbf9a5f,'subType':_0x27e671,'id':_0x517a4e,'originalSuggestionId':_0x3d5e7a,'author':_0x16a1ea,'creator':_0x16a1ea,'attributes':_0x21531c,'onAttributesChange':_0x181d89,'onAccept':(..._0x32c5cc)=>this['getSuggestionCallback'](_0xbf9a5f,_0x27e671,'accept')(..._0x32c5cc),'onDiscard':(..._0x213910)=>this['getSuggestionCallback'](_0xbf9a5f,_0x27e671,'discard')(..._0x213910)});}['registerCustomCallback'](_0x75dcea,_0x5d98d7,_0x2272c1,_0x15d307){const _0x2f551d=_0x75dcea+':'+_0x5d98d7+':'+_0x2272c1;this['_customCallbacks']['set'](_0x2f551d,_0x15d307);}['getSuggestionCallback'](_0x1446ef,_0x157514,_0x18901d){const _0x388dd4=_0x1446ef+':'+_0x157514+':'+_0x18901d;return this['_customCallbacks']['get'](_0x388dd4)||this['_defaultCallbacks']['get'](_0x1446ef+':'+_0x18901d);}['_registerDefaultCallbacks'](){const _0x2d66eb=()=>!0x1,_0x115acc=_0xad038d=>{_0xad038d['sort']((_0x4de9fc,_0x2e8897)=>_0x4de9fc['start']['isBefore'](_0x2e8897['start'])?0x1:-0x1),this['_model']['change'](_0x3530af=>{for(const _0x1452d6 of _0xad038d){let _0x3919ec;_0x3919ec=_0x1452d6['end']['isAtEnd']&&_0x1452d6['end']['parent']==_0x1452d6['start']['nodeAfter']?_0x3530af['createSelection'](_0x1452d6['start']['nodeAfter'],'on'):_0x3530af['createSelection'](_0x1452d6),this['_model']['deleteContent'](_0x3919ec,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x2f0d58=(_0x21659b,_0x44c233)=>{_0x44c233&&this['_model']['change'](_0x399298=>{const {commandName:_0x6f086f,commandParams:_0x205fb1=[]}=_0x44c233,_0x39c8d1=_0x21659b['map'](_0x33a072=>(zL(_0x33a072)&&(_0x33a072=this['_model']['createRange'](_0x33a072['end'])),_0x33a072))['filter'](_0x2f39c5=>'$graveyard'!==_0x2f39c5['root']['rootName']);if(_0x39c8d1['length']<0x1)return;const _0x2cc416=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x499981=>_0x19f373['fromRange'](_0x499981));_0x399298['setSelection'](_0x39c8d1);for(const _0x5a9a4a of this['_editor']['commands']['commands']())_0x5a9a4a['refresh']();_0x205fb1['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x6f086f,..._0x205fb1);const _0x4947f0=_0x2cc416['filter'](_0x46083e=>'$graveyard'!=_0x46083e['root']['rootName']);_0x4947f0['length']>0x0&&_0x399298['setSelection'](_0x4947f0);for(const _0x30b76a of _0x2cc416)_0x30b76a['detach']();});},_0xc8942a=(_0x205834,_0x7d846d)=>0x1==_0x205834['length']&&0x1==_0x7d846d['length']&&_0x205834[0x0]['end']['isEqual'](_0x7d846d[0x0]['start']),_0x61328c=(_0x3ad7b1,_0x17e940,_0x1dbc32,_0xe6f00b)=>nD(_0x3ad7b1,_0x17e940,_0x1dbc32,_0xe6f00b)?[_0x3ad7b1,_0x17e940]:nD(_0x17e940,_0x3ad7b1,_0xe6f00b,_0x1dbc32)?[_0x17e940,_0x3ad7b1]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x2d66eb),this['_defaultCallbacks']['set']('insertion:discard',_0x115acc),this['_defaultCallbacks']['set']('insertion:join',_0xc8942a),this['_defaultCallbacks']['set']('insertion:chain',_0x61328c),this['_defaultCallbacks']['set']('deletion:accept',_0x115acc),this['_defaultCallbacks']['set']('deletion:discard',_0x2d66eb),this['_defaultCallbacks']['set']('deletion:join',_0xc8942a),this['_defaultCallbacks']['set']('deletion:chain',_0x61328c),this['_defaultCallbacks']['set']('formatInline:accept',_0x2f0d58),this['_defaultCallbacks']['set']('formatInline:discard',_0x2d66eb),this['_defaultCallbacks']['set']('formatInline:join',_0xc8942a),this['_defaultCallbacks']['set']('formatInline:chain',_0x2d66eb),this['_defaultCallbacks']['set']('formatBlock:accept',_0x2f0d58),this['_defaultCallbacks']['set']('formatBlock:discard',_0x2d66eb),this['_defaultCallbacks']['set']('formatBlock:join',_0xc8942a),this['_defaultCallbacks']['set']('formatBlock:chain',_0x2d66eb),this['_defaultCallbacks']['set']('attribute:accept',_0x2d66eb),this['_defaultCallbacks']['set']('attribute:discard',(_0x252d1c,_0x4482ff)=>{if(!_0x4482ff)return;const _0x259bc6=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x47a7d2=>{if(_0x4482ff['key']==qL)for(const _0x3ba907 of _0x252d1c){const _0x265e1d=_0x3ba907['start']['nodeAfter'],_0x50ccbf=_0x4482ff['oldValue'];_0x47a7d2['rename'](_0x265e1d,_0x50ccbf);}else{if(_0x259bc6['_isBlockAttribute'](_0x4482ff['key'])){for(const _0x2ff002 of _0x252d1c)void 0x0!==_0x4482ff['oldValue']?_0x47a7d2['setAttribute'](_0x4482ff['key'],_0x4482ff['oldValue'],_0x2ff002['start']['nodeAfter']):_0x47a7d2['removeAttribute'](_0x4482ff['key'],_0x2ff002['start']['nodeAfter']);}else{for(const _0x4fa24a of _0x252d1c)_0x4482ff['oldValue']?_0x47a7d2['setAttribute'](_0x4482ff['key'],_0x4482ff['oldValue'],_0x4fa24a):_0x47a7d2['removeAttribute'](_0x4482ff['key'],_0x4fa24a);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0xc8942a);}}function WL(_0x5692cd,_0x1dc5e4,_0x52b8ba){for(const _0xe8054a of _0x1dc5e4['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xe8054a['root']==_0xe8054a)return!0x1;if(!_0x52b8ba['containsItem'](_0xe8054a))return!0x1;if(_0x5692cd['isObject'](_0xe8054a)||_0x5692cd['isLimit'](_0xe8054a))return!0x0;}return!0x1;}function zL(_0x1d2871){return _0x1d2871['end']['parent']==_0x1d2871['start']['nodeAfter']&&_0x1d2871['end']['isAtStart'];}function YL(_0x4b7134,_0x3990cd,_0x3025dd,_0x55aa4a){const _0xe96534=_0xcc4682=>!_0xcc4682['item']['is']('$textProxy')&&!_0x55aa4a['isObject'](_0xcc4682['item']),_0x4c05af=_0x4b7134['start']['getLastMatchingPosition'](_0xe96534),_0x45fac1=_0x4b7134['end']['getLastMatchingPosition'](_0xe96534,{'direction':'backward'});return(!_0x4b7134['start']['isEqual'](_0x4c05af)||!_0x4b7134['end']['isEqual'](_0x45fac1))&&(_0x4c05af['isBefore'](_0x45fac1)?_0x3025dd['updateMarker'](_0x3990cd,{'range':_0x3025dd['createRange'](_0x4c05af,_0x45fac1)}):_0x3025dd['removeMarker'](_0x3990cd),!0x0);}function KL(_0x4f1698){return Ju(_0x4f1698);}function JL(_0xf61067){const _0x136c43=_0xf61067['start']['nodeAfter'];return _0x136c43&&_0x136c43['is']('element');}function tD(_0x47ca22){return zL(_0x47ca22)||function(_0x1c0684){return _0x1c0684['start']['parent']==_0x1c0684['end']['nodeBefore']&&_0x1c0684['start']['isAtEnd'];}(_0x47ca22);}function eD(_0x53031b,_0xba665d){try{const _0x12fde9=_0x53031b['getRange']();for(const _0x3b16ce of _0xba665d)if(_0x53031b!==_0x3b16ce&&_0x12fde9&&_0x12fde9['isIntersecting'](_0x3b16ce['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function iD(_0x46154d,_0x55bdb7){return null==_0x46154d['end']['nodeBefore']&&_0x46154d['end']['parent']==_0x46154d['start']['nodeAfter']?sD(_0x46154d['start']['nodeAfter'],_0x55bdb7):_0x46154d;}function sD(_0x308b70,_0x176ad9){const _0x855563=_0x176ad9['schema']['isObject'](_0x308b70)||_0x176ad9['schema']['isSelectable'](_0x308b70);return _0x176ad9['createRange'](_0x176ad9['createPositionAt'](_0x308b70,'before'),_0x855563?_0x176ad9['createPositionAfter'](_0x308b70):_0x176ad9['createPositionAt'](_0x308b70,'end'));}function nD(_0x3b4d66,_0x5c2a49,_0x581081,_0x4cd191){return!!rD(_0x3b4d66,_0x5c2a49)&&_0x581081['end']['isEqual'](_0x4cd191['start']);}function rD(_0x4da16f,_0x2b417f){if(!_0x4da16f['_isDataLoaded']||!_0x2b417f['_isDataLoaded'])return!0x1;const _0x4e6cc6=new Set(Object['keys'](_0x4da16f['attributes'])),_0x5b464e=new Set(Object['keys'](_0x2b417f['attributes']));if(_0x4e6cc6['delete']('groupId'),_0x5b464e['delete']('groupId'),0x0==_0x4e6cc6['size']&&0x0==_0x5b464e['size'])return!0x0;if(_0x4e6cc6['size']!=_0x5b464e['size'])return!0x1;const _0x66449={..._0x4da16f['attributes']},_0x466317={..._0x2b417f['attributes']};return delete _0x66449['groupId'],delete _0x466317['groupId'],JSON['stringify'](_0x66449)==JSON['stringify'](_0x466317);}function oD(_0xe1bb74,_0x53dc7b){const _0x360296=aD(_0xe1bb74['attributes']),_0x34c566=aD(_0x53dc7b);if(!_0xe1bb74['_isDataLoaded'])return!0x1;for(const _0x93ed90 of Object['keys'](_0x34c566))if(!Zr(_0x360296[_0x93ed90],_0x34c566[_0x93ed90]))return!0x1;return!0x0;}function aD(_0xabe78){const _0x34947e=Object['assign']({},_0xabe78);return delete _0x34947e['skipNestingCheck'],delete _0x34947e['tablePasteChainId'],_0x34947e;}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x20f52a(){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x2299d5,_0x1f5bf1,_0x3c02cb,_0x1b640d){super(),this['model']=_0x1f5bf1,this['view']=_0x3c02cb,this['commentThreadController']=_0x1b640d,this['_editor']=_0x2299d5,this['_acceptCommand']=_0x2299d5['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x2299d5['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x227995,_0x1a20a3)=>_0x227995||_0x1a20a3),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x57839e=>_0x57839e&&this['_editor']['model']['canEditAt'](_0x1f5bf1['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x4ce60f=>_0x4ce60f&&this['_editor']['model']['canEditAt'](_0x1f5bf1['getRanges']())),this['_pendingAction']=null,_0x3c02cb['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x3c02cb,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x3c02cb,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x3c02cb,'change:isDirty',()=>{_0x3c02cb['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 _0x408281=RL(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x408281);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0x3989d4{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x431dea,_0x2dde51,_0x399201,_0x5f216e){super(_0x431dea),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x431dea,RL(_0x431dea,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x2dde51['authoredAt']),this['bind']('authoredAt')['to'](_0x2dde51),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',_0x2dde51,'authoredAt',this,'descriptionParts',(_0x471f2a,_0x56fedc,_0x435045)=>{const _0x168008=_0x435045['map'](_0x41bdf1=>AL(_0x41bdf1['content']))['join']('.\x20')+'.';return RL(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x471f2a-0x1,_0x2dde51['author']['name'],_0x56fedc?_0x5f216e['formatDateTime'](_0x56fedc):'',new DOMParser()['parseFromString'](_0x168008,'text/html')['body']['textContent']]);}),this['focusables']=new vt(),this['focusTracker']=new _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3797c0=>_0x3797c0['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x2dde51,this['_localUser']=_0x399201,this['_config']=_0x5f216e,_0x5f216e['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:_0x385d52}=this['_config'];this['commentsListView']=new _0x385d52(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',_0xa4acf5=>_0xa4acf5+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x3ce34f,_0x3a91e2)=>_0x3ce34f||!!_0x3a91e2);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x259a87}=this['_config'],_0x3d31ec=new _0x259a87(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x409622=_0x3d31ec['commentInputView'];return _0x3d31ec['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x409622,'value',(_0x209271,_0x1d3a97,_0x17341a)=>!!_0x17341a||_0x209271&&!_0x1d3a97),_0x409622['on']('submit',(_0x28b514,_0x27e9b6)=>{this['fire']('addComment',_0x27e9b6),_0x409622['editor']['setData']('');}),_0x409622['on']('cancel',()=>this['focus']()),_0x409622['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x3d31ec;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x5ebe60,_0x9d8d62,_0x769c75,_0x450594){super(_0x5ebe60,_0x9d8d62,_0x769c75,_0x450594),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x23aa2d=>_0x23aa2d&&_0x23aa2d[0x0]?_0x23aa2d[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x39dfa8,_0x228cf2)=>{let _0x296dcb='';for(const _0x524a4f of _0x39dfa8)_0x296dcb+='<p>'+AL(_0x524a4f['content'],_0x524a4f['color'])+'</p>';return _0x228cf2?_0x296dcb:zu(_0x296dcb,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x450594['SuggestionView'](_0x5ebe60,_0x9d8d62,{'formatDateTime':_0x450594['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 _0x210735=this['bindTemplate'],_0x392ea3=[this['suggestionView']];this['commentsListView']&&_0x392ea3['push'](this['commentsListView']),this['commentThreadInputView']&&_0x392ea3['push'](this['commentThreadInputView']),_0x392ea3['push'](this['ariaDescriptionView']);const _0x26ee63={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x210735['if']('isActive','ck-suggestion-wrapper--active'),_0x210735['to']('type',_0x27f62a=>'ck-suggestion-'+_0x27f62a),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':_0x210735['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x392ea3};return _0x26ee63;}['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 _0x3989d4{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x5d8143,_0x7e11f3,_0x3cba2d){super(_0x5d8143),this['_model']=_0x7e11f3,this['_config']=_0x3cba2d,this['set']('description',''),this['bind']('authoredAt')['to'](_0x7e11f3),this['acceptButton']=this['_createButton'](RL(_0x5d8143,'Accept\x20suggestion'),_0x5071d2,'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](RL(_0x5d8143,'Discard\x20suggestion'),_0xfcb135,'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new UserView(_0x5d8143,_0x7e11f3['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 _0x2c5be9(),this['keystrokes']=new _0x5e251c(),this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x39d0ad=>_0x39d0ad['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x23ae38=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x23ae38['innerHTML']=this['description'],this['on']('change:description',(_0x44ce59,_0x4ab082,_0x2e923f)=>{_0x23ae38['innerHTML']=_0x2e923f;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x397ff4=this['bindTemplate'],_0x4ed731=[{'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':_0x397ff4['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x397ff4['to']('authoredAt',_0x2e544d=>this['_config']['formatDateTime'](_0x2e544d))}]}]},{'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']&&_0x4ed731['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':_0x4ed731}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?RL(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):RL(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?RL(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):RL(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x480df6,_0x20808d,_0x23a532,_0x13e59c,_0x5b3255){const _0x2798ca=new LateFocusButtonView(this['locale']);return _0x2798ca['set']({'label':_0x480df6,'icon':_0x20808d,'tooltip':!0x0,'tooltipPosition':_0x5b3255}),_0x2798ca['extendTemplate']({'attributes':{'class':_0x23a532}}),_0x2798ca['on']('execute',()=>{this['fire'](_0x13e59c,this['_model']['id']);}),_0x2798ca;}['_setupKeyboardNavigation'](){const _0x34bc91=this['element'];this['keystrokes']['listenTo'](_0x34bc91);for(const _0x3bbf0b of this['focusables'])this['focusTracker']['add'](_0x3bbf0b['element']),this['keystrokes']['listenTo'](_0x3bbf0b['element']);this['keystrokes']['set']('enter',(_0xa3e673,_0x4b2a4a)=>{_0x34bc91===_0xa3e673['target']&&(this['focusCycler']['focusFirst'](),_0x4b2a4a());}),this['keystrokes']['set']('esc',(_0x5b8c43,_0x2652c9)=>{_0x34bc91!==_0x5b8c43['target']&&(this['focus'](),_0x2652c9());});}}class TrackChangesUI extends _0x13517b{['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(_0x582715){super(_0x582715),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x4788e2=this['editor']['config'];_0x4788e2['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x4788e2['define']('trackChanges.SuggestionView',SuggestionView),_0x4788e2['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x4788e2['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x32cc53,_0x4aae22){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x1f9a71,_0x2105ff]of this['_handleControllerBuffer']){const _0x574659=this['_suggestionToController']['has'](_0x1f9a71);_0x574659||_0x2105ff?_0x574659&&_0x2105ff&&this['_destroyController'](_0x1f9a71):this['_initializeController'](_0x1f9a71);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x32cc53,_0x4aae22);}['init'](){const _0x1df2e2=this['editor'],_0x44fd61=_0x1df2e2['plugins']['get']('TrackChangesEditing'),_0x3f4547=_0x1df2e2['plugins']['get']('Annotations'),_0x273d62=_0x1df2e2['plugins']['get']('EditorAnnotations'),_0x578dff=_0x1df2e2['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x273d62['addSourceCollector'](()=>{const _0x460a45=[];for(const [_0x302bb4,_0x16e7af]of Array['from'](this['_suggestionToController'])){const _0x5e4c16=_0x302bb4['getAllAdjacentSuggestions'](),_0x39be91=[];for(const _0x1915a8 of _0x5e4c16){if(!_0x1915a8['isInContent'])continue;if(_0x1915a8['isMultiRange']){_0x39be91['push'](..._0x1915a8['getRanges']());continue;}const _0x29294b=_0x1915a8['getFirstRange']();if(_0x39be91['length']>0x0){const _0x58d206=_0x39be91[0x0]['getJoined'](_0x29294b);if(_0x58d206){_0x39be91[0x0]=_0x58d206;continue;}}_0x39be91['push'](_0x29294b);}_0x460a45['push']([_0x16e7af['view'],_0x39be91]);}return _0x460a45;}),this['listenTo'](_0x44fd61,'suggestionLoaded',(_0x33adf6,_0x5d0d64)=>{this['listenTo'](_0x5d0d64,'change:previous',(_0x1c684c,_0x22a957,_0x78a29d,_0x159433)=>{_0x5d0d64['isInContent']&&(null==_0x78a29d?(this['_updateController'](_0x159433['head']),this['_handleSuggestionControllerDelayed'](_0x5d0d64,!0x1)):(this['_updateController'](_0x78a29d['head']),null==_0x159433&&this['_handleSuggestionControllerDelayed'](_0x5d0d64,!0x0)));}),null!==_0x5d0d64['previous']?this['_updateController'](_0x5d0d64['head']):this['_handleSuggestionControllerDelayed'](_0x5d0d64,!0x1);}),this['listenTo'](_0x44fd61,'suggestionUnloaded',(_0x4c0ce0,_0x4d460b,_0x4c88e6)=>{this['stopListening'](_0x4d460b,'change:previous'),this['_handleControllerBuffer']['delete'](_0x4d460b),this['_suggestionToController']['has'](_0x4d460b)&&this['_destroyController'](_0x4d460b),_0x4c88e6&&this['_updateController'](_0x4c88e6['head']);}),this['listenTo'](_0x44fd61,'suggestionChanged',(_0xa3a702,_0x2100d7)=>{this['_updateController'](_0x2100d7);}),this['listenTo'](_0x3f4547,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x578dff,'addComment',(_0x136af5,{threadId:_0x124353,isFromAdapter:_0x58c3c1})=>{if(_0x58c3c1||!_0x44fd61['hasSuggestion'](_0x124353))return;const _0x345bb4=_0x44fd61['getSuggestion'](_0x124353);this['_suggestionToController']['get'](_0x345bb4)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b3804=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x288a1d;for(const _0x3b45e4 in _0x5b3804){const _0x15de04=_0x3b45e4,_0x1b5109=_0x5b3804[_0x15de04];if('trackChangesLicenseKeyValid'==_0x1b5109||'trackChangesLicenseKeyInvalid'==_0x1b5109||'trackChangesLicenseKeyExpired'==_0x1b5109||'trackChangesLicenseKeyDomainLimit'==_0x1b5109||'trackChangesLicenseKeyNotAllowed'==_0x1b5109||'trackChangesLicenseKeyEvaluationLimit'==_0x1b5109||'trackChangesLicenseKeyUsageLimit'==_0x1b5109){delete _0x5b3804[_0x15de04],_0x288a1d=_0x1b5109,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x288a1d&&_0x5b3804['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x288a1d&&_0x5b3804['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x288a1d&&_0x5b3804['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x288a1d&&_0x5b3804['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x288a1d&&_0x5b3804['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x288a1d&&_0x5b3804['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x337bd6){const _0x143110=this['_suggestionToController']['get'](_0x337bd6);if(!_0x143110)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x143110['view'])||null;}['getSuggestionForAnnotation'](_0x14d78c){const _0x396404=this['_viewToController']['get'](_0x14d78c['innerView']);return _0x396404?_0x396404['model']:null;}['_refreshActiveMarkers'](){const _0x37ba2e=this['editor']['plugins']['get']('Annotations'),_0x2f7271=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4b72fb=Array['from'](_0x37ba2e['activeAnnotations'],_0x264d9c=>_0x264d9c['innerView'])['filter'](_0x10aab8=>this['_viewToController']['has'](_0x10aab8)),_0x560955=[];for(const _0x5d9107 of _0x4b72fb){const _0x19d62f=this['_viewToController']['get'](_0x5d9107)['model']['getAllAdjacentSuggestions']();_0x560955['push'](..._0x19d62f['reduce']((_0x4a2362,_0xdda5cf)=>[..._0x4a2362,..._0xdda5cf['getMarkerNames']()],[]));}_0x2f7271['activeMarkers']=_0x560955;}['_addUIComponentsToFactory'](){const _0x270138=this['editor'],_0x29b901=_0x270138['locale'],_0x5a6cd4=RL(_0x29b901,'Track\x20changes'),_0x199c04=new _0x4711ed([{'type':'switchbutton','model':new pt({'withText':!0x0,'isToggleable':!0x0,'label':_0x5a6cd4,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new pt({'withText':!0x0,'label':RL(_0x29b901,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new pt({'withText':!0x0,'label':RL(_0x29b901,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new pt({'withText':!0x0,'label':RL(_0x29b901,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new pt({'withText':!0x0,'label':RL(_0x29b901,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x270138['plugins']['has']('TrackChangesPreview')&&_0x199c04['addMany']([{'type':'separator'},{'type':'button','model':new pt({'withText':!0x0,'label':RL(_0x29b901,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x1a9967 of _0x199c04)if(cD(_0x1a9967)){const _0x8c8dd5=_0x270138['commands']['get'](_0x1a9967['model']['commandName']);_0x1a9967['model']['bind']('isOn','isEnabled')['to'](_0x8c8dd5,'value','isEnabled');}_0x270138['ui']['componentFactory']['add']('trackChanges',_0x5b300d=>this['_createToolbarButton'](_0x5b300d,_0x199c04,_0x5a6cd4)),_0x270138['ui']['componentFactory']['add']('menuBar:trackChanges',_0x1fb1d9=>this['_createMenuBarMenu'](_0x1fb1d9,_0x199c04,_0x5a6cd4));}['_createToolbarButton'](_0x543684,_0x334841,_0x12a43e){const _0x45fff2=st(_0x543684,Bt),_0xc9d716=this['editor']['commands']['get']('trackChanges');_0x45fff2['buttonView']['set']({'tooltip':_0x12a43e,'label':_0x12a43e,'icon':_0x159729}),_0x45fff2['buttonView']['bind']('isOn')['to'](_0xc9d716,'value'),_0x45fff2['buttonView']['on']('execute',()=>{_0xc9d716['execute'](),this['editor']['editing']['view']['focus']();}),gt(_0x45fff2,_0x334841,{'role':'menu'});const _0x57ed90=[];for(const _0xee6106 of _0x334841)cD(_0xee6106)&&_0x57ed90['push'](this['editor']['commands']['get'](_0xee6106['model']['commandName']));const _0x46c266=_0x45fff2['buttonView'];return _0x46c266['actionView']['unbind']('isEnabled'),_0x46c266['arrowView']['unbind']('isEnabled'),_0x46c266['actionView']['bind']('isEnabled')['to'](_0xc9d716,'isEnabled'),_0x46c266['arrowView']['bind']('isEnabled')['toMany'](_0x57ed90,'isEnabled',(..._0x34d460)=>_0x34d460['some'](_0x53d07b=>_0x53d07b)),_0x45fff2['on']('execute',_0xe1be41=>{this['editor']['execute'](_0xe1be41['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x45fff2;}['_createMenuBarMenu'](_0x5dcb16,_0x515fe3,_0x12178f){const _0x4a1815=new rt(_0x5dcb16),_0x1b197a=this['editor']['commands']['get']('trackChanges');_0x4a1815['buttonView']['set']({'label':_0x12178f,'icon':_0x159729});const _0x57f652=new ct(_0x5dcb16);for(const _0x39bc46 of _0x515fe3){if('separator'==_0x39bc46['type']){_0x57f652['items']['add'](new Jt(_0x5dcb16));continue;}const _0x619eb7=new lt(_0x5dcb16,_0x4a1815),_0xc529e9=new ot(_0x5dcb16),_0x10bbb8=_0x39bc46['model'];_0xc529e9['bind'](...Object['keys'](_0x10bbb8))['to'](_0x10bbb8),_0xc529e9['delegate']('execute')['to'](_0x4a1815),_0xc529e9['on']('execute',()=>{this['editor']['execute'](_0x10bbb8['commandName']),this['editor']['editing']['view']['focus']();}),_0x619eb7['children']['add'](_0xc529e9),_0x57f652['items']['add'](_0x619eb7);}return _0x4a1815['bind']('isEnabled')['to'](_0x1b197a,'isEnabled'),_0x4a1815['panelView']['children']['add'](_0x57f652),_0x4a1815;}['_initializeController'](_0x27556e){const _0x1f97b4=this['editor'],_0x3c6854=_0x1f97b4['config'],_0x5d0533=_0x1f97b4['plugins']['get']('Annotations'),_0x123ffa=_0x1f97b4['plugins']['get']('CommentsRepository'),_0x571f28=_0x1f97b4['plugins']['get']('EditorAnnotations'),_0x2bbcc8=_0x1f97b4['plugins']['get'](Users)['me'],_0x5e17c3=_0x3c6854['get']('trackChanges')['SuggestionThreadView'],_0x33e015=_0x3c6854['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x4d51f9,CommentThreadInputView:_0x542c6f}=_0x1f97b4['plugins']['get']('CommentsUI');let _0x1bcc2e,_0x2a914a,_0x5372c3;this['_annotationViews']['has'](_0x27556e['id'])?(_0x2a914a=this['_annotationViews']['get'](_0x27556e['id']),_0x1bcc2e=_0x2a914a['mainView']):(_0x1bcc2e=new _0x5e17c3(_0x1f97b4['locale'],_0x27556e,_0x2bbcc8,{'disableComments':this['_disableComments'],'editorConfig':{..._0x3c6854['get']('comments.editorConfig'),'licenseKey':_0x3c6854['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x3c6854['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x3c6854['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x3c6854['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':Xu(_0x3c6854['get']('locale'),_0x1f97b4['locale']),'CommentView':_0x3c6854['get']('comments')['CommentView'],'CommentsListView':_0x4d51f9,'CommentThreadInputView':_0x542c6f,'SuggestionView':_0x33e015}),_0x1bcc2e['suggestionView']['acceptButton']['on']('execute',()=>{_0x1f97b4['editing']['view']['focus']();}),_0x1bcc2e['suggestionView']['discardButton']['on']('execute',()=>{_0x1f97b4['editing']['view']['focus']();}),_0x2a914a=_0x5d0533['createAnnotationView'](this['editor']['locale'],_0x1bcc2e),_0x2a914a['bind']('isDirty')['to'](_0x1bcc2e,'isDirty'),_0x2a914a['bind']('length')['to'](_0x1bcc2e),_0x2a914a['bind']('type')['to'](_0x1bcc2e,'type',_0x5085d1=>'suggestion-'+_0x5085d1),_0x1bcc2e['on']('escape',()=>{_0x5372c3['fire']('escape');}),this['_annotationViews']['set'](_0x27556e['id'],_0x2a914a));const _0xd7d63a=_0x123ffa['createCommentThreadController'](_0x27556e['commentThread'],_0x1bcc2e),_0x11bab1=new SuggestionController(_0x1f97b4,_0x27556e,_0x1bcc2e,_0xd7d63a),_0x576800=_0x27556e['getAllAdjacentSuggestions']()['filter'](_0xa5f5ad=>_0xa5f5ad['isInContent']);_0x1bcc2e['descriptionParts']=_0x1f97b4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x576800),this['_suggestionToController']['set'](_0x27556e,_0x11bab1),this['_viewToController']['set'](_0x1bcc2e,_0x11bab1);const _0x53fae8=()=>{const _0x352605=[],_0x220342=_0x27556e['getAllAdjacentSuggestions']()['filter'](_0x58a7ca=>_0x58a7ca['isInContent']);for(const _0x563f8e of _0x220342)_0x352605['push'](..._0x563f8e['getMarkers']());return Wu(_0x1f97b4['editing'],_0x352605);};_0x5372c3=_0x5d0533['createAnnotation']({'view':_0x2a914a,'target':_0x53fae8,'type':()=>'suggestion-'+_0x11bab1['view']['type'],'isVisible':!!_0x53fae8()}),_0x123ffa['_bindAnnotationToEditors'](_0x1bcc2e,_0x5372c3),_0x5d0533['add'](_0x5372c3),_0x571f28['registerAnnotation'](_0x5372c3);}['_destroyController'](_0x1fbeb6){const _0x2e4a74=this['editor']['plugins']['get']('CommentsRepository'),_0x15a7ba=this['editor']['plugins']['get']('Annotations'),_0x3a5681=this['_suggestionToController']['get'](_0x1fbeb6),_0xb11124=_0x3a5681['view'],_0x5c8747=_0x15a7ba['getByInnerView'](_0xb11124);_0x2e4a74['_unbindEditors'](_0xb11124),_0x5c8747&&_0x15a7ba['remove'](_0x5c8747),this['_suggestionToController']['delete'](_0x1fbeb6),this['_viewToController']['delete'](_0xb11124),_0x3a5681['destroy']();}['_updateController'](_0x37ffae){if(!_0x37ffae['isInContent']||!this['_suggestionToController']['has'](_0x37ffae))return;const _0x3dc501=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2d5ad5=this['_suggestionToController']['get'](_0x37ffae),_0x2eaade=_0x37ffae['getAllAdjacentSuggestions']();_0x2d5ad5['view']['descriptionParts']=_0x3dc501['descriptionFactory']['getDescriptions'](_0x2eaade);}['destroy'](){for(const _0x18b458 of this['_suggestionToController']['keys']())this['_destroyController'](_0x18b458);for(const _0x41f69b of this['_annotationViews']['values']())_0x41f69b['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function cD(_0x4a8b2a){return'model'in _0x4a8b2a;}class TrackChanges extends _0x13517b{static get['requires'](){return[TrackChangesEditing,TrackChangesUI,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x403416){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x403416;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x22d29c){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x22d29c);}['getSuggestions']({skipNotAttached:_0x7f85bc=!0x1,toJSON:_0x4678f3=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x7f85bc,'toJSON':_0x4678f3});}['getSuggestion'](_0x2e5b8c){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x2e5b8c);}}const lD=['Pagination'];class TrackChangesData extends _0x13517b{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x211cfd=this['editor'];if(_0x211cfd['config']['define']('trackChangesData.editorCreator',_0x3c4d36=>{const _0x29b3d1=_0x211cfd['model']['document']['getRootNames']()['reduce']((_0xf33e53,_0x1aec15)=>(_0xf33e53[_0x1aec15]='',_0xf33e53),{});return _0x211cfd['constructor']['create'](_0x29b3d1,_0x3c4d36);}),'function'!=typeof _0x211cfd['config']['get']('trackChangesData')['editorCreator'])throw new _0x37fbfa('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x266171){return uD(this['editor'],!0x0,_0x266171);}['getDataWithDiscardedSuggestions'](_0x3850c4){return uD(this['editor'],!0x1,_0x3850c4);}}class TrackChangesDataGetter extends _0x13517b{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3971eb){function _0x3b7cb8(_0x534088){return _0x534088['map'](_0x4b6733=>String['fromCharCode'](_0x4b6733))['join']('');}super(_0x3971eb),this['result']='end',_0x3971eb[_0x3b7cb8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b7cb8([0x76,0x69,0x65,0x77])][_0x3b7cb8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b7cb8([0x61,0x75,0x74,0x6f]),_0x3971eb[_0x3b7cb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3b7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b7cb8([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3b7cb8([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3b7cb8([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 hD(_0x3bf2c1){return void 0x0!==_0x3bf2c1['getRootsAttributes'];}async function uD(_0x4883b5,_0x4cba39,_0x22684b){const _0x1a56b8=cd(_0x4883b5,lD);_0x1a56b8['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x1a56b8['rootsAttributes']=hD(_0x4883b5)?_0x4883b5['getRootsAttributes']():void 0x0;const _0x339af3=document['createDocumentFragment'](),_0x1d9b92=_0x4883b5['config']['get']('trackChangesData')['editorCreator'],_0x575ca3=await _0x1d9b92(_0x1a56b8,()=>function(_0x4fe3b8){const _0x2f9c02=document['createElement']('div');return _0x4fe3b8['appendChild'](_0x2f9c02),_0x2f9c02;}(_0x339af3));!function(_0x1b3dc1,_0x326a26){const _0x2f9811=_0x1b3dc1['model']['document']['getRootNames']()['reduce']((_0x3bc9d4,_0x283503)=>(_0x3bc9d4[_0x283503]=_0x1b3dc1['data']['get']({'rootName':_0x283503}),_0x3bc9d4),{}),_0x321207=_0x1b3dc1['plugins']['get']('Users')['users']['map'](_0x22bf05=>({'id':_0x22bf05['id'],'name':_0x22bf05['name']})),_0x3c8b16=_0x1b3dc1['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5d7bc6=_0x1b3dc1['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x10e6ae=_0x326a26['plugins']['get']('Users'),_0x5d6368=_0x326a26['plugins']['get']('TrackChangesEditing'),_0x24dcda=_0x326a26['plugins']['get']('CommentsRepository');for(const _0xd26a86 of _0x24dcda['getCommentThreads']())_0xd26a86['remove']();for(const _0x4a0bc9 of _0x321207)_0x10e6ae['getUser'](_0x4a0bc9['id'])||_0x10e6ae['addUser'](_0x4a0bc9);_0x10e6ae['me']||_0x10e6ae['useAnonymousUser']();for(const _0x3f3196 of _0x5d7bc6)_0x24dcda['addCommentThread'](_0x3f3196);for(const _0x9129dd of _0x3c8b16)_0x5d6368['addSuggestionData'](_0x9129dd);_0x326a26['data']['set'](_0x2f9811);}(_0x4883b5,_0x575ca3),_0x575ca3['execute'](_0x4cba39?'acceptAllSuggestions':'discardAllSuggestions');const _0x98ace0=hD(_0x575ca3)?_0x575ca3['getFullData'](_0x22684b):_0x575ca3['data']['get'](_0x22684b);return await _0x575ca3['destroy'](),_0x98ace0;}class TrackChangesPreviewView extends _0x3989d4{['options'];constructor(_0x26d208,_0x22a401){super(_0x26d208),this['options']=_0x22a401,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'](_0x3289ea,_0xe45256){if(!this['element'])return;const _0x24515a=[];for(const [_0x524881,_0xc20bb1]of _0x3289ea){const _0xf99252=document['createElement']('div');_0xf99252['setAttribute']('data-ck-root-name',_0x524881),_0xf99252['className']=_0xc20bb1['classes']+'\x20ck-track-changes-preview__root-container',_0xf99252['innerHTML']=_0xc20bb1['content'],_0x24515a['push'](_0xf99252);}_0xe45256(this['element'],_0x24515a),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x15bad7{constructor(_0xb1d1bb){super(_0xb1d1bb),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3aec63=this['editor'],_0x3e4352=_0x3aec63['locale'],_0x22e858=_0x3aec63['plugins']['get']('Dialog');let _0x53df50;const _0xd3eb23=function(_0x8a4b1f){const _0x33a509={};if('editables'in _0x8a4b1f['ui']['view']){for(const [_0x10f15d,_0x18bdeb]of Object['entries'](_0x8a4b1f['ui']['view']['editables']))_0x33a509[_0x10f15d]=_0x18bdeb['element'];}else _0x33a509[_0x8a4b1f['model']['document']['getRootNames']()[0x0]]=_0x8a4b1f['ui']['view']['editable']['element'];return _0x33a509;}(_0x3aec63),_0x410d30=function(_0xdce410){let _0x28e296=0x0;for(const _0x1b7cf8 of Object['values'](_0xdce410))_0x28e296=Math['max'](_0x28e296,_0x1b7cf8['getBoundingClientRect']()['width']);let _0x4b9c36=0x0;for(const _0x2537ad of Object['values'](_0xdce410))_0x4b9c36+=_0x2537ad['getBoundingClientRect']()['height'];const _0x6f786d=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0xb7f756=Math['min'](_0x4b9c36,_0x6f786d);return{'width':_0x28e296,'height':_0xb7f756};}(_0xd3eb23);_0x22e858['show']({'id':'finalContentPreview','title':RL(_0x3e4352,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new TrackChangesPreviewView(_0x3e4352,{'dialogRects':_0x410d30}),'onHide':()=>{_0x53df50['detachFromDom']();},'onShow':()=>{_0x3aec63['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x4f59b7=>{const _0x4db352=this['_standarizeRootsData'](_0x4f59b7,_0x3aec63,_0xd3eb23);_0x22e858['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x4db352,_0x3aec63['config']['get']('trackChanges.preview.renderFunction'));}),_0x53df50=new dt(_0x3e4352,[_0x22e858['view']]),_0x53df50['attachToDom'](),_0x53df50['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x3aec63['once']('destroy',()=>{_0x53df50['detachFromDom']();});const _0x5a6d6b=_0x22e858['view']['headerView']['class'];_0x22e858['view']['headerView']['class']=_0x5a6d6b?_0x5a6d6b+'\x20ck-reset_all':'ck-reset_all',_0x22e858['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x22e858['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x3dbfb0=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x42e307=_0x3dbfb0['previewMode'],_0x13c1aa={};if('$labels'===_0x42e307){for(const _0x5ee06a of _0x3dbfb0['getMergeFieldsIds']())_0x13c1aa[_0x5ee06a]=_0x3dbfb0['getLabel'](_0x5ee06a)||_0x5ee06a;}else{const _0xb8452e='$defaultValues'===_0x42e307?_0x3dbfb0['getDefaultValues']():_0x3dbfb0['getDataSetValues'](_0x42e307,!0x0);for(const _0xde9802 of Object['entries'](_0xb8452e)){const [_0x4fcd6b,_0x284155]=_0xde9802;_0x13c1aa[_0x4fcd6b]=null!==_0x284155?_0x284155:_0x3dbfb0['getLabel'](_0x4fcd6b)||_0x4fcd6b;}}return{'mergeFieldsData':_0x13c1aa};}['_standarizeRootsData'](_0x4efd0e,_0x36266f,_0x54d437){let _0x3fb2a4;if('string'==typeof _0x4efd0e){const _0x12c488=_0x36266f['model']['document']['getRootNames']()[0x0];_0x3fb2a4={[_0x12c488]:_0x4efd0e};}else _0x3fb2a4=_0x4efd0e;const _0x52c268=this['_fixMediaEmbeds'](_0x3fb2a4,_0x36266f),_0x10a3d4=function(_0x15a60b,_0x2f75aa){for(const [_0x2b04dd,_0xe74ab9]of _0x15a60b)_0xe74ab9['classes']=_0x2f75aa[_0x2b04dd]['classList']['value']['replace']('ck-focused','');return _0x15a60b;}(this['_sortRoots'](_0x36266f)['reduce']((_0x23e1d3,_0x2dcb2a)=>(_0x23e1d3['push']([_0x2dcb2a,{'content':_0x52c268[_0x2dcb2a],'classes':''}]),_0x23e1d3),[]),_0x54d437);return _0x10a3d4;}['_fixMediaEmbeds'](_0x2ff51a,_0x3deaf6){if(!_0x3deaf6['plugins']['has']('MediaEmbedEditing'))return _0x2ff51a;const _0x35c1a2=_0x3deaf6['plugins']['get']('MediaEmbedEditing');for(const [_0x34f1ae,_0x52665a]of Object['entries'](_0x2ff51a)){const _0x1ef3c9=document['createElement']('div');_0x1ef3c9['innerHTML']=_0x52665a,(_0x1ef3c9['querySelectorAll']('figure.media')['forEach'](_0x551ee0=>{const _0x52d194=_0x551ee0['querySelector']('oembed');if(_0x52d194){const _0x34fa2e=_0x52d194['getAttribute']('url');if(_0x34fa2e){const _0x52ccee=_0x35c1a2['registry']['getMediaViewElement'](new _0x12d7ae(_0x3deaf6['editing']['view']['document']),_0x34fa2e,{'elementName':'','renderForEditingView':!0x0}),_0x548d27=document['createElement']('div');_0x548d27['classList']['add']('ck-media__wrapper'),_0x52ccee['render'](_0x548d27,_0x3deaf6['editing']['view']['domConverter']),_0x52d194['replaceWith'](_0x548d27);}}}),_0x2ff51a[_0x34f1ae]=_0x1ef3c9['innerHTML']);}return _0x2ff51a;}['_sortRoots'](_0x1c4544){if(!function(_0x1cdf0e){return void 0x0!==_0x1cdf0e['getRootsAttributes'];}(_0x1c4544))return _0x1c4544['model']['document']['getRootNames']();const _0x1e65eb=[],_0xded77f=new Map();for(const _0x5bd1c3 of _0x1c4544['model']['document']['getRootNames']()){const _0x2bc8c0=_0x1c4544['editing']['view']['getDomRoot'](_0x5bd1c3)['getClientRects']()['item'](0x0);_0x1e65eb['push'](_0x5bd1c3),_0xded77f['set'](_0x5bd1c3,_0x2bc8c0);}return _0x1e65eb['sort']((_0x3b7967,_0x431f29)=>{const _0x2e62dd=_0xded77f['get'](_0x3b7967),_0x1baf30=_0xded77f['get'](_0x431f29);return _0x2e62dd['y']-_0x1baf30['y']||_0x2e62dd['x']-_0x1baf30['x'];}),_0x1e65eb;}}class TrackChangesPreview extends _0x13517b{static get['requires'](){return[TrackChangesData,it];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1201e5){super(_0x1201e5),_0x1201e5['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x1201e5['config']['define']('trackChanges.preview.renderFunction',(_0x469bce,_0xdeadf9)=>{for(const _0x5c55c6 of _0xdeadf9)_0x469bce['appendChild'](_0x5c55c6);});}}var dD=function(_0x19dfe6){return _0x19dfe6['Local']='local',_0x19dfe6['URL']='url',_0x19dfe6['Dropbox']='dropbox',_0x19dfe6['GDrive']='gdrive',_0x19dfe6['Facebook']='facebook',_0x19dfe6['GPhotos']='gphotos',_0x19dfe6['OneDrive']='onedrive',_0x19dfe6;}({});function fD(_0x1d04f2,_0x31afb9,_0x109745){const t=_0x1d04f2['t'],_0x114ee8=_0x1d04f2['t'];switch(_0x31afb9){case dD['Local']:return{'text':_0x114ee8('Insert'===_0x109745?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x114ee8('From\x20computer')};case dD['URL']:return{'text':'Insert'===_0x109745?_0x114ee8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x114ee8('Via\x20URL')};case dD['Dropbox']:return{'text':t('Insert'===_0x109745?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case dD['Facebook']:return{'text':t('Insert'===_0x109745?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case dD['GDrive']:return{'text':t('Insert'===_0x109745?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case dD['GPhotos']:return{'text':t('Insert'===_0x109745?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case dD['OneDrive']:return{'text':t('Insert'===_0x109745?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31afb9;}}class UploadcareUI extends _0x13517b{['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 _0xb3edd3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x516c17;for(const _0xa6952b in _0xb3edd3){const _0x42b277=_0xa6952b,_0x42cb87=_0xb3edd3[_0x42b277];if('uploadcareLicenseKeyValid'==_0x42cb87||'uploadcareLicenseKeyInvalid'==_0x42cb87||'uploadcareLicenseKeyExpired'==_0x42cb87||'uploadcareLicenseKeyDomainLimit'==_0x42cb87||'uploadcareLicenseKeyNotAllowed'==_0x42cb87||'uploadcareLicenseKeyEvaluationLimit'==_0x42cb87||'uploadcareLicenseKeyUsageLimit'==_0x42cb87){delete _0xb3edd3[_0x42b277],_0x516c17=_0x42cb87,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x516c17&&_0xb3edd3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x516c17&&_0xb3edd3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x516c17&&_0xb3edd3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x516c17&&_0xb3edd3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x516c17&&_0xb3edd3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x516c17&&_0xb3edd3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x46e8bb}=this,_0x708880=_0x46e8bb['commands']['get']('uploadcare');if(!_0x708880)return;const _0x41093a=this['_normalizeConfigSourceList'](_0x46e8bb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1bbeb6,_0x3a3949)=>{const _0xa399b5=this['_getIntegrationKey'](_0x3a3949['type']);return _0x1bbeb6[_0xa399b5]||(_0x1bbeb6[_0xa399b5]=[]),_0x1bbeb6[_0xa399b5]['push'](_0x3a3949),_0x1bbeb6;},{});_0x46e8bb['plugins']['has']('ImageInsertUI')&&_0x46e8bb['commands']['get']('uploadcare')&&Object['entries'](_0x41093a)['forEach'](([_0x1fb5cf,_0x153a67])=>{_0x46e8bb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1fb5cf,'observable':()=>_0x708880,'buttonViewCreator':()=>this['_createToolbarButton'](_0x153a67),'formViewCreator':()=>this['_createDropdownButtons'](_0x153a67),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x153a67),'override':'assetManager'!==_0x1fb5cf});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x13067d){const {locale:_0x328257}=this['editor'];return _0x13067d['map'](_0x4f358a=>{const _0x2b9d63=fD(_0x328257,_0x4f358a,'Insert');switch(_0x4f358a){case dD['Local']:return{'icon':_0xfaa207,'type':dD['Local'],..._0x2b9d63};case dD['URL']:return{'icon':_0x2d41f6,'type':dD['URL'],..._0x2b9d63};case dD['Dropbox']:return{'icon':_0x487398,'type':dD['Dropbox'],..._0x2b9d63};case dD['Facebook']:return{'icon':_0xa95a7f,'type':dD['Facebook'],..._0x2b9d63};case dD['GDrive']:return{'icon':_0x59f899,'type':dD['GDrive'],..._0x2b9d63};case dD['GPhotos']:return{'icon':_0x5d20df,'type':dD['GPhotos'],..._0x2b9d63};case dD['OneDrive']:return{'icon':_0x514d48,'type':dD['OneDrive'],..._0x2b9d63};}});}['_getIntegrationKey'](_0x211e59){switch(_0x211e59){case dD['Local']:return'upload';case dD['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xe98103,_0x3ee622){const _0x3dbc1d=this['editor'],_0x150475=new _0xe98103(_0x3dbc1d['locale']),_0x4498be=_0x3dbc1d['commands']['get']('uploadcare');return _0x150475['bind']('isEnabled')['to'](_0x4498be),_0x150475['on']('execute',()=>{_0x4498be['execute'](_0x3ee622);}),_0x150475;}['_createToolbarButton'](_0x1b4f2b){const {locale:_0x4f1097}=this['editor'],_0x8b59e7=this['editor']['plugins']['get']('ImageInsertUI'),_0x3c3b73=_0x1b4f2b[0x0],_0xf80a1a=this['_createButton'](_0x2e803a,_0x3c3b73['type']);return _0xf80a1a['icon']=_0x3c3b73['icon'],_0xf80a1a['bind']('label')['to'](_0x8b59e7,'isImageSelected',_0x185fca=>fD(_0x4f1097,_0x3c3b73['type'],_0x185fca?'Replace':'Insert')['text']),_0xf80a1a['tooltip']=!0x0,_0xf80a1a;}['_createDropdownButtons'](_0x3aea64){const {locale:_0x17e452}=this['editor'],_0xf694c5=this['editor']['plugins']['get']('ImageInsertUI');return _0x3aea64['map'](_0x28253a=>{const _0x14a318=this['_createButton'](_0x2e803a,_0x28253a['type']);return _0x14a318['withText']=!0x0,_0x14a318['icon']=_0x28253a['icon'],_0x14a318['bind']('label')['to'](_0xf694c5,'isImageSelected',_0x2b426f=>fD(_0x17e452,_0x28253a['type'],_0x2b426f?'Replace':'Insert')['text']),_0x14a318;});}['_createMenuBarButtons'](_0x98540b){return _0x98540b['map'](_0x144e7c=>{const _0x2ffeba=this['_createButton'](ot,_0x144e7c['type']);return _0x2ffeba['icon']=_0x144e7c['icon'],_0x2ffeba['label']=_0x144e7c['shortText'],_0x2ffeba;});}}class DialogFocusManagerView extends _0x3989d4{['focusTracker'];['focusCycler'];constructor(_0x4f6f7f){super(_0x4f6f7f),this['focusTracker']=new _0x2c5be9(),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(_0xd721d9,_0x509fac){super(_0xd721d9),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-'+_0x509fac}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function mD(_0x566e4c,_0x337a69){const _0x1dd0ad=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x35a2b2=>_0x35a2b2<=_0x337a69)['map'](_0x227a84=>_0x566e4c['replace'](/\/$/,'')+'/-/resize/'+_0x227a84+'x/\x20'+_0x227a84+'w');return{'imageFallbackUrl':_0x566e4c,'imageSources':[{'srcset':_0x1dd0ad['join'](',\x20'),'sizes':'(max-width:\x20'+_0x337a69+'px)\x20100vw,\x20'+_0x337a69+'px','type':'image/webp'}]};}function gD(_0x939c36,_0x75c221,_0x4594b9){const _0x3afa99=_0x939c36['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3afa99?parseInt(_0x3afa99[0x1],0xa):_0x75c221,'height':_0x3afa99?parseInt(_0x3afa99[0x2],0xa):_0x4594b9};}function pD(_0x4b4b7f,_0x46eb29){const _0x3698e1=new(_0xa9fff4())(),_0x568459=_0x4b4b7f['plugins']['get']('ImageUtils'),_0x4b3605=_0x4b4b7f['editing']['mapper']['toViewElement'](_0x46eb29),_0x1160ce=_0x568459['findViewImgElement'](_0x4b3605),_0xdbddef=_0x4b4b7f['editing']['view']['domConverter']['viewToDom'](_0x1160ce),_0xd01832=_0x46eb29['getAttribute']('width'),_0xf6f4e3=_0x46eb29['getAttribute']('height'),_0x57205e='image-processing';_0x4b4b7f['editing']['view']['change'](_0x7a36ec=>{_0x7a36ec['addClass'](_0x57205e,_0x4b3605),_0x7a36ec['setStyle']('aspect-ratio',_0xd01832+'/'+_0xf6f4e3,_0x1160ce);}),_0x3698e1['listenTo'](_0xdbddef,'load',()=>{_0x3698e1['stopListening'](_0xdbddef,'load'),_0x4b4b7f['editing']['view']['change'](_0x467c6d=>{_0x467c6d['removeClass'](_0x57205e,_0x4b3605),_0x467c6d['removeStyle']('aspect-ratio',_0x1160ce);});});}function OD(_0x45e9f1){if(Array['isArray'](_0x45e9f1)){const _0x4b84c2=_0x45e9f1['map'](OD);return _0x273a69=>_0x4b84c2['some'](_0x23c430=>_0x23c430(_0x273a69));}if('origin'==_0x45e9f1){const _0x466c32=_0x4cdc9d['window']['location']['origin'];return _0x185cb5=>new URL(_0x185cb5,_0x4cdc9d['document']['baseURI'])['origin']==_0x466c32;}return'function'==typeof _0x45e9f1?_0x45e9f1:_0x45e9f1 instanceof RegExp?_0x532555=>!(!_0x532555['match'](_0x45e9f1)&&!_0x532555['replace'](/^https?:\/\//,'')['match'](_0x45e9f1)):()=>!0x1;}function wD(_0x18402e,_0x4524fb){return _0x56e620(_0x18402e['target'])['includes'](_0x4524fb);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x20f52a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x59281b,_0x1511f1,_0x41b604){super(),this['_editor']=_0x59281b,this['_editing']=_0x1511f1,this['_dialog']=_0x59281b['plugins']['get'](it),this['_api']=_0x1511f1['ctxElement']['getAPI'](),this['_type']=_0x41b604,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:_0x10d26c,model:_0x522367}=this['_editor'],_0x1ad4e1=_0x522367['document']['selection']['getSelectedElement'](),_0x32d6ef=_0x1ad4e1&&(_0x1ad4e1['is']('element','imageBlock')||_0x1ad4e1['is']('element','imageInline'));this['_formView']=new UploadcareFormView(_0x10d26c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xfaa207,'title':fD(_0x10d26c,this['_type'],_0x32d6ef?'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':_0x56de27=>!wD(_0x56de27,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4476cc}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2a1d30=>{const _0x304163=_0x4476cc['length'];for(const _0x4c396f of _0x4476cc){const _0x552f52=_0x4c396f===_0x4476cc[_0x304163-0x1],{cdnUrl:_0x14fa44,fileInfo:_0x467e4a}=_0x4c396f;if(!_0x14fa44||!_0x467e4a)continue;const {width:_0x350b93,height:_0x58343a}=_0x467e4a['imageInfo'],_0x5ec033=gD(_0x14fa44,_0x350b93,_0x58343a),_0xe4de37=mD(_0x14fa44,_0x5ec033['width']),_0x1fb0bd={'id':_0x467e4a['uuid'],'type':'image','attributes':{'imageDimension':_0x5ec033,..._0xe4de37}};this['_insertAsset'](_0x1fb0bd,_0x552f52,_0x2a1d30);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x11485f=>{'idle'===_0x11485f['detail']['status']&&!_0x11485f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===dD['Local']?this['_api']['setCurrentActivity'](dD['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1d6eea,_0x17420c,_0x275f18){const _0x54ef4a=this['_editor']['model']['document']['selection'],_0x46c27c=_0x54ef4a['getSelectedElement'](),_0x405c18=!(!_0x46c27c||!_0x46c27c['is']('element','imageInline'));_0x275f18['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1d6eea,_0x405c18),_0x17420c||_0x275f18['setSelection'](_0x54ef4a['getLastPosition']());}['_insertImage'](_0x9c0894,_0x6c9012){const _0x187392=this['_editor'],{imageDimension:_0x404ebf,imageFallbackUrl:_0x2aaaa1,imageSources:_0x286c3d}=_0x9c0894['attributes'];_0x187392['execute']('insertImage',{'imageType':_0x6c9012?'imageInline':null,'source':{'uploadcareImageId':_0x9c0894['id'],'src':_0x2aaaa1,'sources':_0x286c3d,..._0x404ebf}});}}class UploadcareCommand extends _0x15bad7{['_editing'];['_controller']=null;static get['requires'](){return[it,UploadcareEditing];}constructor(_0x370bb6){super(_0x370bb6),this['_editing']=_0x370bb6['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3860ce){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x3860ce);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function bD(_0x3a10c5){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3a10c5);}const yD=/\W|_/g;function _D(_0x377dfe){return _0x377dfe['split'](yD)['map']((_0x178917,_0x8697af)=>_0x178917['charAt'](0x0)[_0x8697af>0x0?'toUpperCase':'toLowerCase']()+_0x178917['slice'](0x1))['join']('');}function vD(_0x27f5d2,{ignoreKeys:_0x748c2f}={'ignoreKeys':[]}){return Array['isArray'](_0x27f5d2)?_0x27f5d2['map'](_0x10a2ff=>TD(_0x10a2ff,{'ignoreKeys':_0x748c2f})):_0x27f5d2;}function TD(_0x17952c,{ignoreKeys:_0x526650}={'ignoreKeys':[]}){if(Array['isArray'](_0x17952c))return vD(_0x17952c,{'ignoreKeys':_0x526650});if(!bD(_0x17952c))return _0x17952c;const _0x45881a={};for(const _0xd114f2 of Object['keys'](_0x17952c)){let _0x16a613=_0x17952c[_0xd114f2];_0x526650['includes'](_0xd114f2)?_0x45881a[_0xd114f2]=_0x16a613:(bD(_0x16a613)?_0x16a613=TD(_0x16a613,{'ignoreKeys':_0x526650}):Array['isArray'](_0x16a613)&&(_0x16a613=vD(_0x16a613,{'ignoreKeys':_0x526650})),_0x45881a[_D(_0xd114f2)]=_0x16a613);}return _0x45881a;}const ED={'factor':0x2,'time':0x64};function AD(_0x15cfc9,_0x2573ba=ED){let _0xf23706=0x0;return function _0x225288(_0x59475c){const _0x10a2bb=Math['round'](_0x2573ba['time']*_0x2573ba['factor']**_0xf23706);return _0x59475c({'attempt':_0xf23706,'retry':_0x14328a=>(_0x5690f4=>new Promise(_0x58966a=>setTimeout(_0x58966a,_0x5690f4)))(_0x14328a??_0x10a2bb)['then'](()=>(_0xf23706+=0x1,_0x225288(_0x59475c)))});}(_0x15cfc9);}let ID=class UploadcareError extends Error{},SD=class NetworkError extends ID{['originalProgressEvent'];constructor(_0x3f86b1){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3f86b1;}};const CD=(_0x53ef90,_0x517dd8)=>{_0x53ef90&&(_0x53ef90['aborted']?Promise['resolve']()['then'](_0x517dd8):_0x53ef90['addEventListener']('abort',()=>_0x517dd8(),{'once':!0x0}));};let kD=class CancelError extends ID{['isCancel']=!0x0;constructor(_0x28e891='Request\x20canceled'){super(_0x28e891),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}};const xD=({check:_0xb343a1,interval:_0x4a35cf=0x1f4,timeout:_0x344a33,signal:_0xf27665})=>new Promise((_0x2cda83,_0x12c164)=>{let _0x22bb72,_0xdfaa8b;CD(_0xf27665,()=>{_0x22bb72&&clearTimeout(_0x22bb72),_0x12c164(new kD('Poll\x20cancelled'));}),_0x344a33&&(_0xdfaa8b=setTimeout(()=>{_0x22bb72&&clearTimeout(_0x22bb72),_0x12c164(new kD('Timed\x20out'));},_0x344a33));const _0x59e7c2=()=>{try{Promise['resolve'](_0xb343a1(_0xf27665))['then'](_0x5dc279=>{_0x5dc279?(_0xdfaa8b&&clearTimeout(_0xdfaa8b),_0x2cda83(_0x5dc279)):_0x22bb72=setTimeout(_0x59e7c2,_0x4a35cf);})['catch'](_0x48d8c8=>{_0xdfaa8b&&clearTimeout(_0xdfaa8b),_0x12c164(_0x48d8c8);});}catch(_0x29815c){_0xdfaa8b&&clearTimeout(_0xdfaa8b),_0x12c164(_0x29815c);}};_0x22bb72=setTimeout(_0x59e7c2,0x0);}),RD='https://ucarecdn.com',PD='https://upload.uploadcare.com',MD=0x1,ND=0x3,LD=0x1900000,DD=0x500000,QD=0x4,$D='79ae88bd931ea68464d9',VD='application/octet-stream',UD='original',BD=({method:_0x1b770d,url:_0x150431,data:_0x28c116,headers:_0x376a3a={},signal:_0x3d6a8b,onProgress:_0x55c84e})=>new Promise((_0x1a735c,_0x24cc5a)=>{const _0x5c234c=new XMLHttpRequest(),_0xf33bbd=_0x1b770d?.['toUpperCase']()||'GET';let _0x134d32=!0x1;_0x5c234c['open'](_0xf33bbd,_0x150431,!0x0),_0x376a3a&&Object['entries'](_0x376a3a)['forEach'](_0x27c881=>{const [_0x217e86,_0x8b40af]=_0x27c881;void 0x0!==_0x8b40af&&!Array['isArray'](_0x8b40af)&&_0x5c234c['setRequestHeader'](_0x217e86,_0x8b40af);}),_0x5c234c['responseType']='text',CD(_0x3d6a8b,()=>{_0x134d32=!0x0,_0x5c234c['abort'](),_0x24cc5a(new kD());}),_0x5c234c['onload']=()=>{if(0xc8!=_0x5c234c['status'])_0x24cc5a(new Error('Error\x20'+_0x5c234c['status']+':\x20'+_0x5c234c['statusText']));else{const _0x4e0929={'method':_0xf33bbd,'url':_0x150431,'data':_0x28c116,'headers':_0x376a3a||void 0x0,'signal':_0x3d6a8b,'onProgress':_0x55c84e},_0x46f9d9=_0x5c234c['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0xa82d18={};_0x46f9d9['forEach'](function(_0x21314d){const _0x1530ff=_0x21314d['split'](':\x20'),_0x3e5333=_0x1530ff['shift'](),_0x10e48=_0x1530ff['join'](':\x20');_0x3e5333&&void 0x0!==_0x3e5333&&(_0xa82d18[_0x3e5333]=_0x10e48);});const _0x151ee0=_0x5c234c['response'],_0x2f23f9=_0x5c234c['status'];_0x1a735c({'request':_0x4e0929,'data':_0x151ee0,'headers':_0xa82d18,'status':_0x2f23f9});}},_0x5c234c['onerror']=_0x1e407a=>{_0x134d32||_0x24cc5a(new SD(_0x1e407a));},_0x55c84e&&'function'==typeof _0x55c84e&&(_0x5c234c['upload']['onprogress']=_0x336f86=>{_0x336f86['lengthComputable']?_0x55c84e({'isComputable':!0x0,'value':_0x336f86['loaded']/_0x336f86['total']}):_0x55c84e({'isComputable':!0x1});}),_0x28c116?_0x5c234c['send'](_0x28c116):_0x5c234c['send']();}),FD=function(_0x21f510,..._0xd4809d){return _0x21f510;},jD=_0x453f63=>'undefined'!=typeof Blob&&_0x453f63 instanceof Blob,HD=_0x50c038=>'undefined'!=typeof File&&_0x50c038 instanceof File,GD=_0x5ea134=>!!_0x5ea134&&'object'==typeof _0x5ea134&&!Array['isArray'](_0x5ea134)&&'uri'in _0x5ea134&&'string'==typeof _0x5ea134['uri'],ZD=_0x67a229=>jD(_0x67a229)||HD(_0x67a229)||GD(_0x67a229);function XD(_0x1d9fe4,_0x556fa7,_0x411d6d){if(Array['isArray'](_0x411d6d)){for(const _0x4ce131 of _0x411d6d)XD(_0x1d9fe4,_0x556fa7+'[]',_0x4ce131);}else{if((_0x1694e9=>!!_0x1694e9&&'object'==typeof _0x1694e9&&'data'in _0x1694e9&&ZD(_0x1694e9['data']))(_0x411d6d)){const {name:_0x326a30,contentType:_0x187f13}=_0x411d6d,_0x40c0fb=FD(_0x411d6d['data'],_0x326a30,_0x187f13??VD),_0xb373d8=(({name:_0x23b734})=>_0x23b734?[_0x23b734]:[])({'name':_0x326a30});_0x1d9fe4['push']([_0x556fa7,_0x40c0fb,..._0xb373d8]);}else{if((_0x1a7196=>!!_0x1a7196&&'object'==typeof _0x1a7196&&!Array['isArray'](_0x1a7196))(_0x411d6d)){for(const [_0x2ad3e2,_0xb3fdb7]of Object['entries'](_0x411d6d))void 0x0!==_0xb3fdb7&&_0x1d9fe4['push']([_0x556fa7+'['+_0x2ad3e2+']',String(_0xb3fdb7)]);}else(_0x4c2771=>'string'==typeof _0x4c2771||'number'==typeof _0x4c2771||void 0x0===_0x4c2771)(_0x411d6d)&&_0x411d6d&&_0x1d9fe4['push']([_0x556fa7,_0x411d6d['toString']()]);}}}function qD(_0x509b76){const _0x543812=new FormData(),_0x5e9489=function(_0x153eef){const _0x45d7bd=[];for(const [_0x5b5740,_0x4a60e5]of Object['entries'](_0x153eef))XD(_0x45d7bd,_0x5b5740,_0x4a60e5);return _0x45d7bd;}(_0x509b76);for(const _0x19515e of _0x5e9489){const [_0x57698d,_0x536e1d,..._0x112ad1]=_0x19515e;_0x543812['append'](_0x57698d,_0x536e1d,..._0x112ad1);}return _0x543812;}let WD=class UploadError extends ID{['code'];['request'];['response'];['headers'];constructor(_0x27ef9e,_0x3ad746,_0x3c9c5a,_0x534fd3,_0x5a9d55){super(),this['name']='UploadError',this['message']=_0x27ef9e,this['code']=_0x3ad746,this['request']=_0x3c9c5a,this['response']=_0x534fd3,this['headers']=_0x5a9d55,Object['setPrototypeOf'](this,UploadError['prototype']);}};const zD=(_0x4bec28,_0x4a51fa,_0x3e7686)=>{const _0x4f18bc=new URL(_0x4bec28);return _0x4f18bc['pathname']=(_0x4f18bc['pathname']+_0x4a51fa)['replace']('//','/'),_0x3e7686&&(_0x4f18bc['search']=(_0xa9b5f=>{const _0x3136d7=new URLSearchParams();for(const [_0x20a1df,_0x24a64d]of Object['entries'](_0xa9b5f))_0x24a64d&&'object'==typeof _0x24a64d&&!Array['isArray'](_0x24a64d)?Object['entries'](_0x24a64d)['filter'](_0x46d2cc=>_0x46d2cc[0x1]??!0x1)['forEach'](_0x1497de=>_0x3136d7['set'](_0x20a1df+'['+_0x1497de[0x0]+']',String(_0x1497de[0x1]))):Array['isArray'](_0x24a64d)?_0x24a64d['forEach'](_0x229653=>{_0x3136d7['append'](_0x20a1df+'[]',_0x229653);}):'string'==typeof _0x24a64d&&_0x24a64d?_0x3136d7['set'](_0x20a1df,_0x24a64d):'number'==typeof _0x24a64d&&_0x3136d7['set'](_0x20a1df,_0x24a64d['toString']());return _0x3136d7['toString']();})(_0x3e7686)),_0x4f18bc['toString']();};function YD(_0x3abed6){return function({libraryName:_0x126f60,libraryVersion:_0x5dee90,userAgent:_0x59a58d,publicKey:_0x170f8d='',integration:_0x5e74f4=''}){const _0xd12522='JavaScript';return'string'==typeof _0x59a58d?_0x59a58d:'function'==typeof _0x59a58d?_0x59a58d({'publicKey':_0x170f8d,'libraryName':_0x126f60,'libraryVersion':_0x5dee90,'languageName':_0xd12522,'integration':_0x5e74f4}):[_0x126f60,_0x5dee90,_0x170f8d]['filter'](Boolean)['join']('/')+'\x20('+[_0xd12522,_0x5e74f4]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x3abed6});}function KD(_0x5eb1f2,_0x56646e){const {retryThrottledRequestMaxTimes:_0x5cf97f,retryNetworkErrorMaxTimes:_0x31e91a}=_0x56646e;return AD(({attempt:_0x5e8c78,retry:_0x522192})=>_0x5eb1f2()['catch'](_0x28ec8d=>{if('response'in _0x28ec8d&&'RequestThrottledError'===_0x28ec8d?.['code']&&_0x5e8c78<_0x5cf97f)return _0x522192(function(_0x137cc1){const {headers:_0x38cc81}=_0x137cc1||{};if(!_0x38cc81||'string'!=typeof _0x38cc81['retry-after'])return 0x3a98;const _0x3e6158=parseInt(_0x38cc81['retry-after'],0xa);return Number['isFinite'](_0x3e6158)?0x3e8*_0x3e6158:0x3a98;}(_0x28ec8d));if(_0x28ec8d instanceof SD&&_0x5e8c78<_0x31e91a)return _0x522192(0x3e8*(_0x5e8c78+0x1));throw _0x28ec8d;}));}const JD=_0x5bba55=>{let _0x1d005b='';return(jD(_0x5bba55)||HD(_0x5bba55)||GD(_0x5bba55))&&(_0x1d005b=_0x5bba55['type']),_0x1d005b||VD;},tQ=_0x199cac=>{let _0x358bd5='';return HD(_0x199cac)&&_0x199cac['name']?_0x358bd5=_0x199cac['name']:jD(_0x199cac)?_0x358bd5='':GD(_0x199cac)&&_0x199cac['name']&&(_0x358bd5=_0x199cac['name']),_0x358bd5||UD;};function eQ(_0x42a4b1){return void 0x0===_0x42a4b1||'auto'===_0x42a4b1?'auto':_0x42a4b1?'1':'0';}var iQ,sQ;!function(_0x3f2b84){_0x3f2b84['Token']='token',_0x3f2b84['FileInfo']='file_info';}(iQ||(iQ={})),function(_0x2dfa31){_0x2dfa31['Unknown']='unknown',_0x2dfa31['Waiting']='waiting',_0x2dfa31['Progress']='progress',_0x2dfa31['Error']='error',_0x2dfa31['Success']='success';}(sQ||(sQ={}));function nQ(_0x1164f4,{publicKey:_0x25604d,baseURL:_0x58792c=PD,signal:_0x78fc6e,integration:_0x3fafef,userAgent:_0x1e3c61,retryThrottledRequestMaxTimes:_0x35b1d3=MD,retryNetworkErrorMaxTimes:_0x36228b=ND}={}){return KD(()=>BD({'method':'GET','headers':_0x25604d?{'X-UC-User-Agent':YD({'publicKey':_0x25604d,'integration':_0x3fafef,'userAgent':_0x1e3c61})}:void 0x0,'url':zD(_0x58792c,'/from_url/status/',{'jsonerrors':0x1,'token':_0x1164f4}),'signal':_0x78fc6e})['then'](({data:_0x4b9f69,headers:_0x405e79,request:_0x3c7775})=>{const _0x53bbd9=TD(JSON['parse'](_0x4b9f69));if('error'in _0x53bbd9&&!(_0x3e96a4=>'status'in _0x3e96a4&&_0x3e96a4['status']===sQ['Error'])(_0x53bbd9))throw new WD(_0x53bbd9['error']['content'],_0x53bbd9['error']['errorCode'],_0x3c7775,_0x53bbd9,_0x405e79);return _0x53bbd9;}),{'retryNetworkErrorMaxTimes':_0x36228b,'retryThrottledRequestMaxTimes':_0x35b1d3});}function rQ(_0x31fac2,{publicKey:_0x4d12c9,baseURL:_0x47ce5d=PD,signal:_0x312708,source:_0x26dcd1,integration:_0x3233bc,userAgent:_0x117564,retryThrottledRequestMaxTimes:_0x394dcc=MD,retryNetworkErrorMaxTimes:_0x15567e=ND}){return KD(()=>BD({'method':'GET','headers':{'X-UC-User-Agent':YD({'publicKey':_0x4d12c9,'integration':_0x3233bc,'userAgent':_0x117564})},'url':zD(_0x47ce5d,'/info/',{'jsonerrors':0x1,'pub_key':_0x4d12c9,'file_id':_0x31fac2,'source':_0x26dcd1}),'signal':_0x312708})['then'](({data:_0xbd5300,headers:_0x2d8862,request:_0x2f3b8b})=>{const _0x2530bf=TD(JSON['parse'](_0xbd5300));if('error'in _0x2530bf)throw new WD(_0x2530bf['error']['content'],_0x2530bf['error']['errorCode'],_0x2f3b8b,_0x2530bf,_0x2d8862);return _0x2530bf;}),{'retryThrottledRequestMaxTimes':_0x394dcc,'retryNetworkErrorMaxTimes':_0x15567e});}function oQ(_0x2bcf3c,{publicKey:_0x462ba4,baseURL:_0x3547d0,source:_0xfdeef6,integration:_0x68cc52,userAgent:_0x157a71,retryThrottledRequestMaxTimes:_0x20e44b,retryNetworkErrorMaxTimes:_0x341379,signal:_0x80b622,onProgress:_0x389b7e}){return xD({'check':_0x4981b4=>rQ(_0x2bcf3c,{'publicKey':_0x462ba4,'baseURL':_0x3547d0,'signal':_0x4981b4,'source':_0xfdeef6,'integration':_0x68cc52,'userAgent':_0x157a71,'retryThrottledRequestMaxTimes':_0x20e44b,'retryNetworkErrorMaxTimes':_0x341379})['then'](_0x12fe12=>_0x12fe12['isReady']?_0x12fe12:(_0x389b7e&&_0x389b7e({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x80b622});}let aQ=class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x39eb78,{baseCDN:_0x748114=RD,fileName:_0x46efaf}={}){const {uuid:_0x6bca23,s3Bucket:_0x4f03d7}=_0x39eb78,_0x523cc5=zD(_0x748114,_0x6bca23+'/'),_0x46128d=_0x4f03d7?zD('https://'+_0x4f03d7+'.s3.amazonaws.com/',_0x6bca23+'/'+_0x39eb78['filename']):null;this['uuid']=_0x6bca23,this['name']=_0x46efaf||_0x39eb78['filename'],this['size']=_0x39eb78['size'],this['isStored']=_0x39eb78['isStored'],this['isImage']=_0x39eb78['isImage'],this['mimeType']=_0x39eb78['mimeType'],this['cdnUrl']=_0x523cc5,this['originalFilename']=_0x39eb78['originalFilename'],this['imageInfo']=_0x39eb78['imageInfo'],this['videoInfo']=_0x39eb78['videoInfo'],this['contentInfo']=_0x39eb78['contentInfo'],this['metadata']=_0x39eb78['metadata']||null,this['s3Bucket']=_0x4f03d7||null,this['s3Url']=_0x46128d,function(_0xcff972){return'defaultEffects'in _0xcff972;}(_0x39eb78)&&(this['defaultEffects']=_0x39eb78['defaultEffects']);}};const cQ=(_0x363a0d,{publicKey:_0x3b3ed1,fileName:_0x1e287b,baseURL:_0x3b7dd6,secureSignature:_0x261990,secureExpire:_0x5d6b37,store:_0x56e0e9,contentType:_0x250504,signal:_0xee2c7e,onProgress:_0x1dbec2,source:_0x197640,integration:_0x505651,userAgent:_0x570d55,retryThrottledRequestMaxTimes:_0x4750ae,retryNetworkErrorMaxTimes:_0x481f04,baseCDN:_0xc8ac35,metadata:_0x3edeed})=>function(_0x3907f3,{publicKey:_0x2f1626,fileName:_0x7d8a36,contentType:_0x3e9fcf,baseURL:_0x45b7d1=PD,secureSignature:_0x2e795e,secureExpire:_0x1b53fd,store:_0x103f52,signal:_0x1f7eb3,onProgress:_0x16cea1,source:_0x2d352d='local',integration:_0x5a6f79,userAgent:_0x5a4092,retryThrottledRequestMaxTimes:_0x5cdfbb=MD,retryNetworkErrorMaxTimes:_0x25ff21=ND,metadata:_0x8f4bfc}){return KD(()=>BD({'method':'POST','url':zD(_0x45b7d1,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':YD({'publicKey':_0x2f1626,'integration':_0x5a6f79,'userAgent':_0x5a4092})},'data':qD({'file':{'data':_0x3907f3,'name':_0x7d8a36||tQ(_0x3907f3),'contentType':_0x3e9fcf||JD(_0x3907f3)},'UPLOADCARE_PUB_KEY':_0x2f1626,'UPLOADCARE_STORE':eQ(_0x103f52),'signature':_0x2e795e,'expire':_0x1b53fd,'source':_0x2d352d,'metadata':_0x8f4bfc}),'signal':_0x1f7eb3,'onProgress':_0x16cea1})['then'](({data:_0x1663a4,headers:_0x3dfd76,request:_0x304b18})=>{const _0xdbebb=TD(JSON['parse'](_0x1663a4));if('error'in _0xdbebb)throw new WD(_0xdbebb['error']['content'],_0xdbebb['error']['errorCode'],_0x304b18,_0xdbebb,_0x3dfd76);return _0xdbebb;}),{'retryNetworkErrorMaxTimes':_0x25ff21,'retryThrottledRequestMaxTimes':_0x5cdfbb});}(_0x363a0d,{'publicKey':_0x3b3ed1,'fileName':_0x1e287b,'contentType':_0x250504,'baseURL':_0x3b7dd6,'secureSignature':_0x261990,'secureExpire':_0x5d6b37,'store':_0x56e0e9,'signal':_0xee2c7e,'onProgress':_0x1dbec2,'source':_0x197640,'integration':_0x505651,'userAgent':_0x570d55,'retryThrottledRequestMaxTimes':_0x4750ae,'retryNetworkErrorMaxTimes':_0x481f04,'metadata':_0x3edeed})['then'](({file:_0x3bf49d})=>oQ(_0x3bf49d,{'publicKey':_0x3b3ed1,'baseURL':_0x3b7dd6,'source':_0x197640,'integration':_0x505651,'userAgent':_0x570d55,'retryThrottledRequestMaxTimes':_0x4750ae,'retryNetworkErrorMaxTimes':_0x481f04,'onProgress':_0x1dbec2,'signal':_0xee2c7e}))['then'](_0x1a6557=>new aQ(_0x1a6557,{'baseCDN':_0xc8ac35})),lQ=(_0xd7e71b,{signal:_0x59ee30}={})=>{let _0x41594e=null,_0x16c7c8=null;const _0x9ecdb2=_0xd7e71b['map'](()=>new AbortController());return CD(_0x59ee30,()=>{_0x9ecdb2['forEach'](_0x3becc1=>_0x3becc1['abort']());}),Promise['all'](_0xd7e71b['map']((_0x3c95d6,_0xa2aad4)=>{const _0x41d637=(_0xa2109d=>()=>{_0x16c7c8=_0xa2109d,_0x9ecdb2['forEach']((_0x45dcd0,_0x5d3a9f)=>_0x5d3a9f!==_0xa2109d&&_0x45dcd0['abort']());})(_0xa2aad4);return Promise['resolve']()['then'](()=>_0x3c95d6({'stopRace':_0x41d637,'signal':_0x9ecdb2[_0xa2aad4]['signal']}))['then'](_0x43b4a6=>(_0x41d637(),_0x43b4a6))['catch'](_0x22a07c=>(_0x41594e=_0x22a07c,null));}))['then'](_0xc1835=>{if(null===_0x16c7c8)throw _0x41594e;return _0xc1835[_0x16c7c8];});};var hQ=window['WebSocket'];let uQ=class Events{['events']=Object['create']({});['emit'](_0x2e76f5,_0x343e05){this['events'][_0x2e76f5]?.['forEach'](_0x5b89b8=>_0x5b89b8(_0x343e05));}['on'](_0x1b32c5,_0xb262e9){this['events'][_0x1b32c5]=this['events'][_0x1b32c5]||[],this['events'][_0x1b32c5]['push'](_0xb262e9);}['off'](_0x2bc4b6,_0x3f01d3){this['events'][_0x2bc4b6]=_0x3f01d3?this['events'][_0x2bc4b6]['filter'](_0x365378=>_0x365378!==_0x3f01d3):[];}},dQ=class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new uQ();['disconnectTimeoutId']=null;constructor(_0xc01246,_0x22a3f0=0x7530){this['key']=_0xc01246,this['disconnectTime']=_0x22a3f0;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x28c5d5='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new hQ(_0x28c5d5),this['ws']['addEventListener']('error',_0x36de38=>{this['emmitter']['emit']('error',new Error(_0x36de38['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x2072da=>this['send'](_0x2072da['event'],_0x2072da['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x3d0669=>{const _0x2b1cab=JSON['parse'](_0x3d0669['data']['toString']());switch(_0x2b1cab['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'](_0x2b1cab['channel'],((_0x145d65,_0x1ee5ea)=>'success'===_0x145d65?{'status':sQ['Success'],..._0x1ee5ea}:'progress'===_0x145d65?{'status':sQ['Progress'],..._0x1ee5ea}:{'status':sQ['Error'],..._0x1ee5ea})(_0x2b1cab['event'],JSON['parse'](_0x2b1cab['data'])));}});}}['disconnect'](){const _0x52b5d5=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x52b5d5();},this['disconnectTime']):_0x52b5d5();}['send'](_0x26743e,_0x595c2b){const _0x40b032=JSON['stringify']({'event':_0x26743e,'data':_0x595c2b});this['ws']?.['send'](_0x40b032);}['subscribe'](_0x4dbffe,_0x5afb15){this['subscribers']+=0x1,this['connect']();const _0x414b4b='task-status-'+_0x4dbffe,_0x3609c2={'event':'pusher:subscribe','data':{'channel':_0x414b4b}};this['emmitter']['on'](_0x414b4b,_0x5afb15),this['isConnected']?this['send'](_0x3609c2['event'],_0x3609c2['data']):this['queue']['push'](_0x3609c2);}['unsubscribe'](_0x10419f){this['subscribers']-=0x1;const _0x28d68d='task-status-'+_0x10419f,_0xdce41a={'event':'pusher:unsubscribe','data':{'channel':_0x28d68d}};this['emmitter']['off'](_0x28d68d),this['isConnected']?this['send'](_0xdce41a['event'],_0xdce41a['data']):this['queue']=this['queue']['filter'](_0x3e7a52=>_0x3e7a52['data']['channel']!==_0x28d68d),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x2e7464){return this['emmitter']['on']('error',_0x2e7464),()=>this['emmitter']['off']('error',_0x2e7464);}},fQ=null;const mQ=_0x134577=>{if(!fQ){const _0x1cbfa5='undefined'==typeof window?0x0:0x7530;fQ=new dQ(_0x134577,_0x1cbfa5);}return fQ;},gQ=(_0x484e67,{publicKey:_0x3f9fec,fileName:_0x38433e,baseURL:_0x5c4acc,baseCDN:_0x3b0a4c,checkForUrlDuplicates:_0x5a83d5,saveUrlForRecurrentUploads:_0x5f0bca,secureSignature:_0x35e116,secureExpire:_0x4ce908,store:_0x50a392,signal:_0x29a7b7,onProgress:_0x1b1fde,source:_0x16c33f,integration:_0x4583d6,userAgent:_0x39d33c,retryThrottledRequestMaxTimes:_0x41bd1c,pusherKey:_0x14031e=$D,metadata:_0x375e47})=>{return Promise['resolve']((_0x2b6211=_0x14031e,void mQ(_0x2b6211)['connect']()))['then'](()=>function(_0x18edb2,{publicKey:_0x2d0c53,baseURL:_0x498b36=PD,store:_0x16afcf,fileName:_0x1a614a,checkForUrlDuplicates:_0x54572f,saveUrlForRecurrentUploads:_0x4e3436,secureSignature:_0x1d8a53,secureExpire:_0x3e17ef,source:_0x51a1ba='url',signal:_0x2fca63,integration:_0x3fe09e,userAgent:_0x392bc4,retryThrottledRequestMaxTimes:_0x1aaa2e=MD,retryNetworkErrorMaxTimes:_0x43ab9f=ND,metadata:_0x2c7107}){return KD(()=>BD({'method':'POST','headers':{'X-UC-User-Agent':YD({'publicKey':_0x2d0c53,'integration':_0x3fe09e,'userAgent':_0x392bc4})},'url':zD(_0x498b36,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x2d0c53,'source_url':_0x18edb2,'store':eQ(_0x16afcf),'filename':_0x1a614a,'check_URL_duplicates':_0x54572f?0x1:void 0x0,'save_URL_duplicates':_0x4e3436?0x1:void 0x0,'signature':_0x1d8a53,'expire':_0x3e17ef,'source':_0x51a1ba,'metadata':_0x2c7107}),'signal':_0x2fca63})['then'](({data:_0x1a1bcd,headers:_0x1d1d5f,request:_0x1e65c2})=>{const _0xb27db5=TD(JSON['parse'](_0x1a1bcd));if('error'in _0xb27db5)throw new WD(_0xb27db5['error']['content'],_0xb27db5['error']['errorCode'],_0x1e65c2,_0xb27db5,_0x1d1d5f);return _0xb27db5;}),{'retryNetworkErrorMaxTimes':_0x43ab9f,'retryThrottledRequestMaxTimes':_0x1aaa2e});}(_0x484e67,{'publicKey':_0x3f9fec,'fileName':_0x38433e,'baseURL':_0x5c4acc,'checkForUrlDuplicates':_0x5a83d5,'saveUrlForRecurrentUploads':_0x5f0bca,'secureSignature':_0x35e116,'secureExpire':_0x4ce908,'store':_0x50a392,'signal':_0x29a7b7,'source':_0x16c33f,'integration':_0x4583d6,'userAgent':_0x39d33c,'retryThrottledRequestMaxTimes':_0x41bd1c,'metadata':_0x375e47}))['catch'](_0x592314=>{const _0x1dedc3=mQ(_0x14031e);return _0x1dedc3?.['disconnect'](),Promise['reject'](_0x592314);})['then'](_0x5ef48a=>_0x5ef48a['type']===iQ['FileInfo']?_0x5ef48a:lQ([({signal:_0x21fd44})=>function({token:_0x102771,publicKey:_0x5c5b38,baseURL:_0x11046c,integration:_0x494c8e,userAgent:_0x26a863,retryThrottledRequestMaxTimes:_0x2e3a95,retryNetworkErrorMaxTimes:_0x71f47f,onProgress:_0x5a1b99,signal:_0x1981d9}){return xD({'check':_0x2f02c=>nQ(_0x102771,{'publicKey':_0x5c5b38,'baseURL':_0x11046c,'integration':_0x494c8e,'userAgent':_0x26a863,'retryThrottledRequestMaxTimes':_0x2e3a95,'retryNetworkErrorMaxTimes':_0x71f47f,'signal':_0x2f02c})['then'](_0x557e70=>{switch(_0x557e70['status']){case sQ['Error']:return new WD(_0x557e70['error'],_0x557e70['errorCode']);case sQ['Waiting']:return!0x1;case sQ['Unknown']:return new WD('Token\x20\x22'+_0x102771+'\x22\x20was\x20not\x20found.');case sQ['Progress']:return _0x5a1b99&&('unknown'===_0x557e70['total']?_0x5a1b99({'isComputable':!0x1}):_0x5a1b99({'isComputable':!0x0,'value':_0x557e70['done']/_0x557e70['total']})),!0x1;case sQ['Success']:return _0x5a1b99&&_0x5a1b99({'isComputable':!0x0,'value':_0x557e70['done']/_0x557e70['total']}),_0x557e70;default:throw new Error('Unknown\x20status');}}),'signal':_0x1981d9});}({'token':_0x5ef48a['token'],'publicKey':_0x3f9fec,'baseURL':_0x5c4acc,'integration':_0x4583d6,'userAgent':_0x39d33c,'retryThrottledRequestMaxTimes':_0x41bd1c,'onProgress':_0x1b1fde,'signal':_0x21fd44}),({signal:_0x44ce2a})=>(({token:_0x15dacf,pusherKey:_0x461e93,signal:_0xf7bbfe,onProgress:_0x112b35})=>new Promise((_0x465cf1,_0x172772)=>{const _0x29e286=mQ(_0x461e93),_0x1ddf7a=_0x29e286['onError'](_0x172772),_0x11c7bc=()=>{_0x1ddf7a(),_0x29e286['unsubscribe'](_0x15dacf);};CD(_0xf7bbfe,()=>{_0x11c7bc(),_0x172772(new kD('pusher\x20cancelled'));}),_0x29e286['subscribe'](_0x15dacf,_0x15188e=>{switch(_0x15188e['status']){case sQ['Progress']:_0x112b35&&('unknown'===_0x15188e['total']?_0x112b35({'isComputable':!0x1}):_0x112b35({'isComputable':!0x0,'value':_0x15188e['done']/_0x15188e['total']}));break;case sQ['Success']:_0x11c7bc(),_0x112b35&&_0x112b35({'isComputable':!0x0,'value':_0x15188e['done']/_0x15188e['total']}),_0x465cf1(_0x15188e);break;case sQ['Error']:_0x11c7bc(),_0x172772(new WD(_0x15188e['msg'],_0x15188e['error_code']));}});}))({'token':_0x5ef48a['token'],'pusherKey':_0x14031e,'signal':_0x44ce2a,'onProgress':_0x1b1fde})],{'signal':_0x29a7b7}))['then'](_0xdee6a2=>{if(_0xdee6a2 instanceof WD)throw _0xdee6a2;return _0xdee6a2;})['then'](_0x405b67=>oQ(_0x405b67['uuid'],{'publicKey':_0x3f9fec,'baseURL':_0x5c4acc,'integration':_0x4583d6,'userAgent':_0x39d33c,'retryThrottledRequestMaxTimes':_0x41bd1c,'onProgress':_0x1b1fde,'signal':_0x29a7b7}))['then'](_0x542ec1=>new aQ(_0x542ec1,{'baseCDN':_0x3b0a4c}));var _0x2b6211;},pQ=new WeakMap(),OQ=async _0x2859fd=>{if(HD(_0x2859fd)||jD(_0x2859fd))return _0x2859fd['size'];if(GD(_0x2859fd))return(await(async _0x52bf10=>{if(pQ['has'](_0x52bf10))return pQ['get'](_0x52bf10);const _0x50abbd=await fetch(_0x52bf10['uri'])['then'](_0x2a4054=>_0x2a4054['blob']());return pQ['set'](_0x52bf10,_0x50abbd),_0x50abbd;})(_0x2859fd))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},wQ=async(_0x2aac25,_0x3b3f69,_0x1810f6)=>_0x366939=>((_0xf2d16c,_0x79da6b,_0x4d491c,_0x34601a)=>{const _0x25b2ed=_0x34601a*_0x79da6b,_0x1c6076=Math['min'](_0x25b2ed+_0x34601a,_0x4d491c);return _0xf2d16c['slice'](_0x25b2ed,_0x1c6076);})(_0x2aac25,_0x366939,_0x3b3f69,_0x1810f6),bQ=(_0x311543,_0x8a53e,{publicKey:_0x525588,contentType:_0x43d31e,onProgress:_0x4c2bd4,signal:_0x3032a0,integration:_0x69746b,retryThrottledRequestMaxTimes:_0x6a4db5,retryNetworkErrorMaxTimes:_0x45ebe5})=>function(_0x2c57e2,_0xa92fae,{contentType:_0x4b2946,signal:_0x30ab43,onProgress:_0x4cd346,retryThrottledRequestMaxTimes:_0x225419=MD,retryNetworkErrorMaxTimes:_0x457a0d=ND}){return KD(()=>BD({'method':'PUT','url':_0xa92fae,'data':_0x2c57e2,'onProgress':_0x4cd346,'signal':_0x30ab43,'headers':{'Content-Type':_0x4b2946||VD}})['then'](_0x30d7df=>(_0x4cd346&&_0x4cd346({'isComputable':!0x0,'value':0x1}),_0x30d7df))['then'](({status:_0x18c03e})=>({'code':_0x18c03e})),{'retryThrottledRequestMaxTimes':_0x225419,'retryNetworkErrorMaxTimes':_0x457a0d});}(_0x311543,_0x8a53e,{'contentType':_0x43d31e,'onProgress':_0x4c2bd4,'signal':_0x3032a0,'retryThrottledRequestMaxTimes':_0x6a4db5,'retryNetworkErrorMaxTimes':_0x45ebe5}),yQ=async(_0x1e2511,{publicKey:_0x4b9dbf,fileName:_0x3cba85,fileSize:_0x49c27a,baseURL:_0x392722,secureSignature:_0x53652b,secureExpire:_0x446036,store:_0x4606df,signal:_0x5e08ac,onProgress:_0x3fb6dd,source:_0x17bc0e,integration:_0x12601a,userAgent:_0x45ab62,retryThrottledRequestMaxTimes:_0x10642f,retryNetworkErrorMaxTimes:_0x414601,contentType:_0x252765,multipartChunkSize:_0x57fe0c=DD,maxConcurrentRequests:_0x4f3970=QD,baseCDN:_0x300971,metadata:_0x5f1dc8})=>{const _0x155355=_0x49c27a??await OQ(_0x1e2511);let _0x4ac5be;const _0x205da5=(_0x45306b,_0x7f45e1)=>{if(!_0x3fb6dd)return;_0x4ac5be||(_0x4ac5be=Array(_0x45306b)['fill'](0x0));const _0x57f84b=_0x318af6=>_0x318af6['reduce']((_0x4df7f3,_0x22ea9c)=>_0x4df7f3+_0x22ea9c,0x0);return _0x23861a=>{_0x23861a['isComputable']&&(_0x4ac5be[_0x7f45e1]=_0x23861a['value'],_0x3fb6dd({'isComputable':!0x0,'value':_0x57f84b(_0x4ac5be)/_0x45306b}));};};return _0x252765||=JD(_0x1e2511),function(_0x26ca04,{publicKey:_0x3cac38,contentType:_0x177276,fileName:_0x25b7ef,multipartChunkSize:_0x5d724a=DD,baseURL:_0x7ce42d='',secureSignature:_0x285ac,secureExpire:_0x32c6e6,store:_0x53281a,signal:_0x2edd2b,source:_0x4ed70a='local',integration:_0x44619f,userAgent:_0x36c99e,retryThrottledRequestMaxTimes:_0x4dbff7=MD,retryNetworkErrorMaxTimes:_0x1df13a=ND,metadata:_0x4a9a04}){return KD(()=>BD({'method':'POST','url':zD(_0x7ce42d,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':YD({'publicKey':_0x3cac38,'integration':_0x44619f,'userAgent':_0x36c99e})},'data':qD({'filename':_0x25b7ef||UD,'size':_0x26ca04,'content_type':_0x177276||VD,'part_size':_0x5d724a,'UPLOADCARE_STORE':eQ(_0x53281a),'UPLOADCARE_PUB_KEY':_0x3cac38,'signature':_0x285ac,'expire':_0x32c6e6,'source':_0x4ed70a,'metadata':_0x4a9a04}),'signal':_0x2edd2b})['then'](({data:_0x38f108,headers:_0x196c3e,request:_0x358f37})=>{const _0x32b917=TD(JSON['parse'](_0x38f108));if('error'in _0x32b917)throw new WD(_0x32b917['error']['content'],_0x32b917['error']['errorCode'],_0x358f37,_0x32b917,_0x196c3e);return _0x32b917['parts']=Object['keys'](_0x32b917['parts'])['map'](_0x354852=>_0x32b917['parts'][Number(_0x354852)]),_0x32b917;}),{'retryThrottledRequestMaxTimes':_0x4dbff7,'retryNetworkErrorMaxTimes':_0x1df13a});}(_0x155355,{'publicKey':_0x4b9dbf,'contentType':_0x252765,'fileName':_0x3cba85||tQ(_0x1e2511),'baseURL':_0x392722,'secureSignature':_0x53652b,'secureExpire':_0x446036,'store':_0x4606df,'signal':_0x5e08ac,'source':_0x17bc0e,'integration':_0x12601a,'userAgent':_0x45ab62,'retryThrottledRequestMaxTimes':_0x10642f,'retryNetworkErrorMaxTimes':_0x414601,'metadata':_0x5f1dc8,'multipartChunkSize':_0x57fe0c})['then'](async({uuid:_0x3cdb4e,parts:_0x12a4ea})=>{const _0x914d05=await wQ(_0x1e2511,_0x155355,_0x57fe0c);return Promise['all']([_0x3cdb4e,(_0x43bc6b=_0x4f3970,_0x4a3ed0=_0x12a4ea['map']((_0x15121e,_0xd9aa34)=>()=>bQ(_0x914d05(_0xd9aa34),_0x15121e,{'publicKey':_0x4b9dbf,'contentType':_0x252765,'onProgress':_0x205da5(_0x12a4ea['length'],_0xd9aa34),'signal':_0x5e08ac,'integration':_0x12601a,'retryThrottledRequestMaxTimes':_0x10642f,'retryNetworkErrorMaxTimes':_0x414601})),new Promise((_0x5b096d,_0x31e64a)=>{const _0x4ecf1a=[];let _0x5b747c=!0x1,_0x3ffe34=_0x4a3ed0['length'];const _0x44da5e=[..._0x4a3ed0],_0x4c0b75=()=>{const _0x57d598=_0x4a3ed0['length']-_0x44da5e['length'],_0x2b0ed3=_0x44da5e['shift']();_0x2b0ed3&&_0x2b0ed3()['then'](_0x319c47=>{_0x5b747c||(_0x4ecf1a[_0x57d598]=_0x319c47,_0x3ffe34-=0x1,_0x3ffe34?_0x4c0b75():_0x5b096d(_0x4ecf1a));})['catch'](_0x2c0ddd=>{_0x5b747c=!0x0,_0x31e64a(_0x2c0ddd);});};for(let _0x5efb74=0x0;_0x5efb74<_0x43bc6b;_0x5efb74++)_0x4c0b75();}))]);var _0x43bc6b,_0x4a3ed0;})['then'](([_0x3804b4])=>function(_0x30a8d2,{publicKey:_0x35ebbf,baseURL:_0xd4936a=PD,source:_0x21b16a='local',signal:_0xddb988,integration:_0x5e8d8b,userAgent:_0x568d02,retryThrottledRequestMaxTimes:_0x2ba63c=MD,retryNetworkErrorMaxTimes:_0x3c3d27=ND}){return KD(()=>BD({'method':'POST','url':zD(_0xd4936a,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':YD({'publicKey':_0x35ebbf,'integration':_0x5e8d8b,'userAgent':_0x568d02})},'data':qD({'uuid':_0x30a8d2,'UPLOADCARE_PUB_KEY':_0x35ebbf,'source':_0x21b16a}),'signal':_0xddb988})['then'](({data:_0xf1bcfd,headers:_0x18d7da,request:_0x576267})=>{const _0x23b5ee=TD(JSON['parse'](_0xf1bcfd));if('error'in _0x23b5ee)throw new WD(_0x23b5ee['error']['content'],_0x23b5ee['error']['errorCode'],_0x576267,_0x23b5ee,_0x18d7da);return _0x23b5ee;}),{'retryThrottledRequestMaxTimes':_0x2ba63c,'retryNetworkErrorMaxTimes':_0x3c3d27});}(_0x3804b4,{'publicKey':_0x4b9dbf,'baseURL':_0x392722,'source':_0x17bc0e,'integration':_0x12601a,'userAgent':_0x45ab62,'retryThrottledRequestMaxTimes':_0x10642f,'retryNetworkErrorMaxTimes':_0x414601}))['then'](_0x50abca=>_0x50abca['isReady']?_0x50abca:oQ(_0x50abca['uuid'],{'publicKey':_0x4b9dbf,'baseURL':_0x392722,'source':_0x17bc0e,'integration':_0x12601a,'userAgent':_0x45ab62,'retryThrottledRequestMaxTimes':_0x10642f,'retryNetworkErrorMaxTimes':_0x414601,'onProgress':_0x3fb6dd,'signal':_0x5e08ac}))['then'](_0x42ec93=>new aQ(_0x42ec93,{'baseCDN':_0x300971}));};async function _Q(_0x129346,{publicKey:_0x4cff30,fileName:_0x5bfbe6,baseURL:_0x2f577f=PD,secureSignature:_0x2ce872,secureExpire:_0x4e32f3,store:_0x5dee05,signal:_0x3df76f,onProgress:_0x11c965,source:_0x214c07,integration:_0xa61600,userAgent:_0x534095,retryThrottledRequestMaxTimes:_0x34c380,retryNetworkErrorMaxTimes:_0x5b4034,contentType:_0x1cb056,multipartMinFileSize:_0x3fb26c,multipartChunkSize:_0x13e671,maxConcurrentRequests:_0x254b8c,baseCDN:_0xe3eb4e=RD,checkForUrlDuplicates:_0x5b45de,saveUrlForRecurrentUploads:_0x226c5c,pusherKey:_0x19f214,metadata:_0x3a2acd}){if(ZD(_0x129346)){const _0x118594=await OQ(_0x129346);return((_0x2b6f89,_0x3eec5f=LD)=>_0x2b6f89>=_0x3eec5f)(_0x118594,_0x3fb26c)?yQ(_0x129346,{'publicKey':_0x4cff30,'contentType':_0x1cb056,'multipartChunkSize':_0x13e671,'fileSize':_0x118594,'fileName':_0x5bfbe6,'baseURL':_0x2f577f,'secureSignature':_0x2ce872,'secureExpire':_0x4e32f3,'store':_0x5dee05,'signal':_0x3df76f,'onProgress':_0x11c965,'source':_0x214c07,'integration':_0xa61600,'userAgent':_0x534095,'maxConcurrentRequests':_0x254b8c,'retryThrottledRequestMaxTimes':_0x34c380,'retryNetworkErrorMaxTimes':_0x5b4034,'baseCDN':_0xe3eb4e,'metadata':_0x3a2acd}):cQ(_0x129346,{'publicKey':_0x4cff30,'fileName':_0x5bfbe6,'contentType':_0x1cb056,'baseURL':_0x2f577f,'secureSignature':_0x2ce872,'secureExpire':_0x4e32f3,'store':_0x5dee05,'signal':_0x3df76f,'onProgress':_0x11c965,'source':_0x214c07,'integration':_0xa61600,'userAgent':_0x534095,'retryThrottledRequestMaxTimes':_0x34c380,'retryNetworkErrorMaxTimes':_0x5b4034,'baseCDN':_0xe3eb4e,'metadata':_0x3a2acd});}if((_0x34c0d9=>{const _0x159c20=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!ZD(_0x34c0d9)&&_0x159c20['test'](_0x34c0d9);})(_0x129346))return gQ(_0x129346,{'publicKey':_0x4cff30,'fileName':_0x5bfbe6,'baseURL':_0x2f577f,'baseCDN':_0xe3eb4e,'checkForUrlDuplicates':_0x5b45de,'saveUrlForRecurrentUploads':_0x226c5c,'secureSignature':_0x2ce872,'secureExpire':_0x4e32f3,'store':_0x5dee05,'signal':_0x3df76f,'onProgress':_0x11c965,'source':_0x214c07,'integration':_0xa61600,'userAgent':_0x534095,'retryThrottledRequestMaxTimes':_0x34c380,'pusherKey':_0x19f214,'metadata':_0x3a2acd});if((_0x38e8e2=>{const _0x44c92c=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!ZD(_0x38e8e2)&&_0x44c92c['test'](_0x38e8e2);})(_0x129346))return((_0x5a4955,{publicKey:_0x5def07,fileName:_0x413391,baseURL:_0x1464da,signal:_0x1f8f16,onProgress:_0x2e4efb,source:_0xc9e5c1,integration:_0x42d3ef,userAgent:_0x479940,retryThrottledRequestMaxTimes:_0x4302c3,retryNetworkErrorMaxTimes:_0xa8579e,baseCDN:_0x545f18})=>rQ(_0x5a4955,{'publicKey':_0x5def07,'baseURL':_0x1464da,'signal':_0x1f8f16,'source':_0xc9e5c1,'integration':_0x42d3ef,'userAgent':_0x479940,'retryThrottledRequestMaxTimes':_0x4302c3,'retryNetworkErrorMaxTimes':_0xa8579e})['then'](_0x365744=>new aQ(_0x365744,{'baseCDN':_0x545f18,'fileName':_0x413391}))['then'](_0x550c2c=>(_0x2e4efb&&_0x2e4efb({'isComputable':!0x0,'value':0x1}),_0x550c2c)))(_0x129346,{'publicKey':_0x4cff30,'fileName':_0x5bfbe6,'baseURL':_0x2f577f,'signal':_0x3df76f,'onProgress':_0x11c965,'source':_0x214c07,'integration':_0xa61600,'userAgent':_0x534095,'retryThrottledRequestMaxTimes':_0x34c380,'retryNetworkErrorMaxTimes':_0x5b4034,'baseCDN':_0xe3eb4e});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x129346+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x3740dd,..._0x26130b}){return _Q(_0x3740dd,_0x26130b);}static['getInfo'](_0x117270,_0x4bd182){return rQ(_0x117270,_0x4bd182);}}class UploadcareUploadAdapter extends _0x13517b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5d9236,UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2880ae=this['editor'];if(!!!_0x2880ae['config']['get']('uploadcare'))return;_0x2880ae['plugins']['get'](_0x5d9236)['createUploadAdapter']=_0x350690=>new Adapter(_0x350690,_0x2880ae),_0x2880ae['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x809496,{imageElement:_0x109297,data:_0x732a61})=>{_0x2880ae['model']['change'](_0x9a7a24=>{_0x9a7a24['setAttribute']('uploadcareImageId',_0x732a61['uploadcareImageId'],_0x109297);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0xdde5fa,_0x483609){this['loader']=_0xdde5fa,this['editor']=_0x483609,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1d3cc7=await this['loader']['file'];return UploadUtils['upload']({'file':_0x1d3cc7,'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':_0x2dc518=>{_0x2dc518&&_0x2dc518['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dc518['value']);}})['then'](async _0x22aa4e=>{const {imageFallbackUrl:_0x59e267,imageSources:_0x48a7a0}=mD(_0x22aa4e['cdnUrl'],_0x22aa4e['imageInfo']['width']);return{'uploadcareImageId':_0x22aa4e['uuid'],'default':_0x59e267,'sources':_0x48a7a0};})['catch'](()=>{const _0x3fb4df=t('Cannot\x20upload\x20file:')+('\x20'+_0x1d3cc7['name']+'.');return Promise['reject'](_0x3fb4df);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x13517b{['_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(_0x2aa2ee){super(_0x2aa2ee),this['ucContextId']=_0x5c5c0c();}['init'](){const _0xb638cc=this['editor'];_0xb638cc['commands']['add']('uploadcare',new UploadcareCommand(_0xb638cc));}['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 _0x2cb742=_0x4cdc9d['document']['querySelector']('input[uploadcare-file-input]');_0x2cb742&&_0x2cb742['remove']();}),async function(_0x56476f){const _0x118b79=_0xe05153([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]),_0x4dd7d5=0x535f8c3a,_0x565083=0x535803fa^_0x4dd7d5,_0x575ee2=window[_0xe05153([0x44,0x61,0x74,0x65])][_0xe05153([0x6e,0x6f,0x77])](),_0x31edeb=_0x56476f[_0xe05153([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a0a01=new window[(_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56e452=>{_0x31edeb[_0xe05153([0x6f,0x6e,0x63,0x65])](_0xe05153([0x72,0x65,0x61,0x64,0x79]),_0x56e452);}),_0x3750a5={[_0xe05153([0x6b,0x74,0x79])]:_0xe05153([0x45,0x43]),[_0xe05153([0x75,0x73,0x65])]:_0xe05153([0x73,0x69,0x67]),[_0xe05153([0x63,0x72,0x76])]:_0xe05153([0x50,0x2d,0x32,0x35,0x36]),[_0xe05153([0x78])]:_0xe05153([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]),[_0xe05153([0x79])]:_0xe05153([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]),[_0xe05153([0x61,0x6c,0x67])]:_0xe05153([0x45,0x53,0x32,0x35,0x36])},_0xc4e6c=_0x31edeb[_0xe05153([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe05153([0x67,0x65,0x74])](_0xe05153([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x197431(){let _0x3c889e,_0x282eb3=null,_0x53d448=null;try{if(_0xc4e6c==_0xe05153([0x47,0x50,0x4c]))return _0xe05153([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c889e=_0x4b1f44(),!_0x3c889e)return _0xe05153([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c889e[_0xe05153([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53d448=_0x469366(_0x3c889e[_0xe05153([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c889e[_0xe05153([0x6a,0x74,0x69])])),await _0x101034()?_0x3bff1c()?_0x45dcba()?_0xe05153([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x576349()?(_0x3c889e[_0xe05153([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe05153([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x282eb3=_0x1949ee(_0xe05153([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x394ac2()):_0xe05153([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe05153([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe05153([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe05153([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45dcba(){const _0x465df2=[_0xe05153([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe05153([0x74,0x72,0x69,0x61,0x6c])][_0xe05153([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c889e[_0xe05153([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x575ee2/0x3e8:0xe10*_0x565083;return _0x3c889e[_0xe05153([0x65,0x78,0x70])]<_0x465df2;}function _0x3bff1c(){const _0x3b8851=_0x3c889e[_0xe05153([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b8851&&(!!_0x3b8851[_0xe05153([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe05153([0x2a]))||!!_0x3b8851[_0xe05153([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe05153([0x55,0x50,0x4c,0x43])));}function _0x576349(){const _0x4e4cce=_0x3c889e[_0xe05153([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e4cce||0x0==_0x4e4cce[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34ebb0}=new URL(window[_0xe05153([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e4cce[_0xe05153([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ebb0))return!0x0;const _0x5a6d06=_0x34ebb0[_0xe05153([0x73,0x70,0x6c,0x69,0x74])](_0xe05153([0x2e]));return _0x4e4cce[_0xe05153([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48afc1=>_0x48afc1[_0xe05153([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe05153([0x2a])))[_0xe05153([0x6d,0x61,0x70])](_0x5a8f0e=>_0x5a8f0e[_0xe05153([0x73,0x70,0x6c,0x69,0x74])](_0xe05153([0x2e])))[_0xe05153([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54708d=>_0x54708d[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a6d06[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe05153([0x6d,0x61,0x70])](_0x3ba87a=>Array(_0x5a6d06[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ba87a[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe05153([0x66,0x69,0x6c,0x6c])](_0x3ba87a[0x0]===_0xe05153([0x2a])?_0xe05153([0x2a]):'')[_0xe05153([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ba87a))[_0xe05153([0x73,0x6f,0x6d,0x65])](_0x5aa5a8=>_0x5a6d06[_0xe05153([0x65,0x76,0x65,0x72,0x79])]((_0x52e8c6,_0x4171bf)=>_0x5aa5a8[_0x4171bf]===_0x52e8c6||_0x5aa5a8[_0x4171bf]===_0xe05153([0x2a])));}function _0x394ac2(){return _0x282eb3&&_0x53d448?new window[(_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a5850,_0xf16e9b)=>{_0x282eb3[_0xe05153([0x74,0x68,0x65,0x6e])](_0x5a5850,_0xf16e9b),_0x53d448[_0xe05153([0x74,0x68,0x65,0x6e])](_0x309c99=>{_0x309c99!=_0xe05153([0x56,0x61,0x6c,0x69,0x64])&&_0x5a5850(_0x309c99);},_0xf16e9b);}):_0x282eb3||_0x53d448||_0xe05153([0x56,0x61,0x6c,0x69,0x64]);}}function _0x469366(_0x1b4937,_0x14d3c0){return new window[(_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29b464=>{if(_0x515f53())return _0x29b464(_0xe05153([0x56,0x61,0x6c,0x69,0x64]));_0x339677(),_0x31edeb[_0xe05153([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe05153([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9cc8bf=!0x1;const _0x4fc9b5=_0x5c5c0c();function _0x123f8f(_0x16f040){return!!_0x16f040&&(typeof _0x16f040===_0xe05153([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f040===_0xe05153([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f040[_0xe05153([0x74,0x68,0x65,0x6e])]===_0xe05153([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f040[_0xe05153([0x63,0x61,0x74,0x63,0x68])]===_0xe05153([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d6071(_0x154a43){_0xa5fbc3(_0x154a43)[_0xe05153([0x74,0x68,0x65,0x6e])](_0xaff5bb=>{if(!_0xaff5bb||_0xaff5bb[_0xe05153([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe05153([0x6f,0x6b]))return _0xe05153([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b7d1b(_0x2ca2a5(_0x4fc9b5+_0x14d3c0))!=_0xaff5bb[_0xe05153([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe05153([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe05153([0x56,0x61,0x6c,0x69,0x64]);})[_0xe05153([0x74,0x68,0x65,0x6e])](_0x288597=>(_0x5ed3c4(),_0x288597),()=>{const _0x533fc9=_0x115534();return null==_0x533fc9?(_0x5ed3c4(),_0xe05153([0x56,0x61,0x6c,0x69,0x64])):_0xe05153(_0x575ee2-_0x533fc9>(0x7753083a^_0x4dd7d5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe05153([0x74,0x68,0x65,0x6e])](_0x29b464)[_0xe05153([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29b464(_0xe05153([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fac0d=0x536962ba^_0x4dd7d5;function _0x5ed3c4(){const _0x2569b=_0xe05153([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b7d1b(_0x2ca2a5(_0x1b4937)),_0x3a24a4=_0xbaedd3(_0x1b7d1b(window[_0xe05153([0x4d,0x61,0x74,0x68])][_0xe05153([0x63,0x65,0x69,0x6c])](_0x575ee2/_0x4fac0d)));window[_0xe05153([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe05153([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2569b,_0x3a24a4);}function _0x115534(){const _0x5a97f3=_0xe05153([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b7d1b(_0x2ca2a5(_0x1b4937)),_0x121ab9=window[_0xe05153([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe05153([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a97f3);return _0x121ab9?window[_0xe05153([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbaedd3(_0x121ab9),0x10)*_0x4fac0d:null;}function _0xa5fbc3(_0x63e6f8){return new window[(_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48ae01,_0x175dd4)=>{_0x63e6f8[_0xe05153([0x74,0x68,0x65,0x6e])](_0x48ae01,_0x175dd4),window[_0xe05153([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x175dd4,0x535e58fa^_0x4dd7d5);});}}_0x31edeb[_0xe05153([0x6f,0x6e])](_0xe05153([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe70162,_0x564737)=>{if(_0x564737[0x0]!=_0x1b4937)return _0x29b464(_0xe05153([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x564737[0x1]={..._0x564737[0x1],[_0xe05153([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4fc9b5};},{[_0xe05153([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe05153([0x68,0x69,0x67,0x68])}),_0x31edeb[_0xe05153([0x6f,0x6e])](_0xe05153([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b3d6a=>{_0x123f8f(_0x3b3d6a[_0xe05153([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9cc8bf=!0x0,_0x1d6071(_0x3b3d6a[_0xe05153([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe05153([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe05153([0x6c,0x6f,0x77])}),_0x2a0a01[_0xe05153([0x74,0x68,0x65,0x6e])](()=>{_0x9cc8bf||_0x29b464(_0xe05153([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x515f53(){return _0x31edeb[_0xe05153([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe05153([0x76,0x69,0x65,0x77])][_0xe05153([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe05153([0x61,0x75,0x74,0x6f]);}function _0x339677(){_0x31edeb[_0xe05153([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe05153([0x76,0x69,0x65,0x77])][_0xe05153([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe05153([0x61,0x75,0x74,0x6f]);}}function _0x1949ee(_0x4bb0db){const _0x21d0f1=[new window[(_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12350f=>setTimeout(_0x12350f,0x5356b2f6^_0x4dd7d5)),_0x2a0a01[_0xe05153([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x306c3a=>{let _0x38b626=0x0;_0x31edeb[_0xe05153([0x6d,0x6f,0x64,0x65,0x6c])][_0xe05153([0x6f,0x6e])](_0xe05153([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12db24,_0x58c319)=>{_0x58c319[0x0][_0xe05153([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38b626++,_0x38b626==(0x535f89d2^_0x4dd7d5)&&(_0x306c3a(),_0x12db24[_0xe05153([0x6f,0x66,0x66])]());});}))];return window[_0xe05153([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe05153([0x72,0x61,0x63,0x65])](_0x21d0f1)[_0xe05153([0x74,0x68,0x65,0x6e])](()=>_0x4bb0db);}async function _0x21f0fd(){await _0x2a0a01,_0x31edeb[_0xe05153([0x6d,0x6f,0x64,0x65,0x6c])][_0xe05153([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc89d19,_0x31edeb[_0xe05153([0x6d,0x6f,0x64,0x65,0x6c])][_0xe05153([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc89d19,_0x31edeb[_0xe05153([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe05153([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fd81c(_0x3c09c8){const _0x1681eb=_0x104e1a();_0x31edeb[_0x1681eb]=_0xe05153([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3c09c8,_0x3c09c8!=_0xe05153([0x56,0x61,0x6c,0x69,0x64])&&_0x21f0fd();}function _0x104e1a(){const _0x1d6e1a=window[_0xe05153([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe05153([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe05153([0x6e,0x6f,0x77])]())[_0xe05153([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe05153([0x2e]),'');let _0x59d57d=_0xe05153([0x68]);for(let _0x27808e=0x0;_0x27808e<_0x1d6e1a[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27808e+=0x2){let _0xbea86d=window[_0xe05153([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d6e1a[_0xe05153([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27808e,_0x27808e+0x2));_0xbea86d>=_0x118b79[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbea86d-=_0x118b79[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59d57d+=_0x118b79[_0xbea86d];}return _0x59d57d;}function _0x4b1f44(){const _0x1a11db=_0xc4e6c[_0xe05153([0x73,0x70,0x6c,0x69,0x74])](_0xe05153([0x2e]));if(0x3!=_0x1a11db[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41bd7a(_0x1a11db[0x1]);function _0x41bd7a(_0x32d5cb){const _0x5cb85d=_0x3721f7(_0x32d5cb);return _0x5cb85d&&_0xaa52d9()?_0x5cb85d:null;function _0xaa52d9(){const _0x131dc8=_0x5cb85d[_0xe05153([0x6a,0x74,0x69])],_0x50c22f=window[_0xe05153([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x131dc8[_0xe05153([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x131dc8[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fcca7={..._0x5cb85d,[_0xe05153([0x6a,0x74,0x69])]:_0x131dc8[_0xe05153([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x131dc8[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fcca7[_0xe05153([0x76,0x63])],_0x2ca2a5(_0x4fcca7)==_0x50c22f;}}}async function _0x101034(){let _0x4c1d1f=!0x0;try{const _0x3ad8db=_0xc4e6c[_0xe05153([0x73,0x70,0x6c,0x69,0x74])](_0xe05153([0x2e])),[_0x174b1d,_0x56d480,_0xc647d5]=_0x3ad8db;return _0x87f16f(_0x174b1d),await _0x1fa0e5(_0x174b1d,_0x56d480,_0xc647d5),_0x4c1d1f;}catch{return!0x1;}function _0x87f16f(_0x512239){const _0x17cb0f=_0x3721f7(_0x512239);_0x17cb0f&&_0x17cb0f[_0xe05153([0x61,0x6c,0x67])]==_0xe05153([0x45,0x53,0x32,0x35,0x36])||(_0x4c1d1f=!0x1);}async function _0x1fa0e5(_0x166ae6,_0x15528a,_0xac3ae){const _0x9685be=window[_0xe05153([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe05153([0x66,0x72,0x6f,0x6d])](_0x317d54(_0xac3ae),_0x1f6b97=>_0x1f6b97[_0xe05153([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x243e4b=new window[(_0xe05153([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe05153([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x166ae6+_0xe05153([0x2e])+_0x15528a),_0x3403d8=window[_0xe05153([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe05153([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3403d8)return;const _0x35cc37=await _0x3403d8[_0xe05153([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe05153([0x6a,0x77,0x6b]),_0x3750a5,{[_0xe05153([0x6e,0x61,0x6d,0x65])]:_0xe05153([0x45,0x43,0x44,0x53,0x41]),[_0xe05153([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe05153([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe05153([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3403d8[_0xe05153([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe05153([0x6e,0x61,0x6d,0x65])]:_0xe05153([0x45,0x43,0x44,0x53,0x41]),[_0xe05153([0x68,0x61,0x73,0x68])]:{[_0xe05153([0x6e,0x61,0x6d,0x65])]:_0xe05153([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35cc37,_0x9685be,_0x243e4b)||(_0x4c1d1f=!0x1);}}function _0x3721f7(_0x22ac21){return _0x22ac21[_0xe05153([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe05153([0x65,0x79]))?JSON[_0xe05153([0x70,0x61,0x72,0x73,0x65])](_0x317d54(_0x22ac21)):null;}function _0x317d54(_0x7edd9b){return window[_0xe05153([0x61,0x74,0x6f,0x62])](_0x7edd9b[_0xe05153([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe05153([0x2b]))[_0xe05153([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe05153([0x2f])));}function _0x2ca2a5(_0x171d93){let _0x35c6a1=0x1505;function _0x28c022(_0x9e253c){for(let _0x2f8e6d=0x0;_0x2f8e6d<_0x9e253c[_0xe05153([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f8e6d++){const _0x3c1539=_0x9e253c[_0xe05153([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f8e6d);_0x35c6a1=(_0x35c6a1<<0x5)+_0x35c6a1+_0x3c1539,_0x35c6a1&=_0x35c6a1;}}function _0x1590cc(_0x1dfc15){Array[_0xe05153([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dfc15)?_0x1dfc15[_0xe05153([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1590cc):_0x1dfc15&&typeof _0x1dfc15==_0xe05153([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe05153([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dfc15)[_0xe05153([0x73,0x6f,0x72,0x74])]()[_0xe05153([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38d06d,_0x2066cd])=>{_0x28c022(_0x38d06d),_0x1590cc(_0x2066cd);}):_0x28c022(window[_0xe05153([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dfc15));}return _0x1590cc(_0x171d93),_0x35c6a1>>>0x0;}function _0x1b7d1b(_0x68c4c7){return _0x68c4c7[_0xe05153([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe05153([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe05153([0x30]));}function _0xbaedd3(_0x5dc782){return _0x5dc782[_0xe05153([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe05153([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe05153([0x6a,0x6f,0x69,0x6e])]('');}function _0xc89d19(){}function _0xe05153(_0x512af2){return _0x512af2['map'](_0x4e0542=>String['fromCharCode'](_0x4e0542))['join']('');}_0x4fd81c(await _0x197431());}(this);}['_initSchema'](){const _0x12421f=this['editor']['model']['schema'];_0x12421f['isRegistered']('imageBlock')&&_0x12421f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x12421f['isRegistered']('imageInline')&&_0x12421f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2506f3=this['editor'];_0x2506f3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2506f3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x26ffca=>_0x26ffca['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x223ef3=_0x2506f3['commands']['get']('replaceImageSource');_0x223ef3&&this['listenTo'](_0x223ef3,'cleanupImage',(_0x27a655,[_0x196a4d,_0xe95e56])=>{_0x196a4d['removeAttribute']('uploadcareImageId',_0xe95e56);});}['_initConfig'](){const _0x2f703c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1ac70b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2df385(_0x4cdc9d['document'],'uc-config',{..._0x2f703c,'pubkey':_0x1ac70b,'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']=_0x58904f=>{if('closeMax'==_0x58904f)return'#uc-icon-arrow-down';},_0x4cdc9d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2df385(_0x4cdc9d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4cdc9d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1999c2=this['editor']['commands']['get']('insertImage');_0x1999c2&&this['listenTo'](_0x1999c2,'execute',()=>{const _0x48e3d9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48e3d9&&_0x48e3d9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{pD(this['editor'],_0x48e3d9);});});const _0x24c792=this['editor']['commands']['get']('uploadcareImageReplace');_0x24c792&&this['listenTo'](_0x24c792,'execute',()=>{const _0x21cdf1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x21cdf1&&_0x21cdf1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{pD(this['editor'],_0x21cdf1);});});}}var vQ=Object['defineProperty'],TQ=(_0x2e3482,_0x2fd1e3,_0x43a132)=>(((_0xd21066,_0x21e8f2,_0x81852e)=>{_0x21e8f2 in _0xd21066?vQ(_0xd21066,_0x21e8f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x81852e}):_0xd21066[_0x21e8f2]=_0x81852e;})(_0x2e3482,'symbol'!=typeof _0x2fd1e3?_0x2fd1e3+'':_0x2fd1e3,_0x43a132),_0x43a132),EQ=class{constructor(_0x565318){_0x565318['constructor']===Object?this['store']=function(_0x189f49){let _0x27be49=_0x666248=>{var _0x55217e;for(let _0x2ce68a in _0x666248)(null==(_0x55217e=_0x666248[_0x2ce68a])?void 0x0:_0x55217e['constructor'])===Object&&(_0x666248[_0x2ce68a]=_0x27be49(_0x666248[_0x2ce68a]));return{..._0x666248};};return _0x27be49(_0x189f49);}(_0x565318):(this['_storeIsProxy']=!0x0,this['store']=_0x565318),this['callbackMap']=Object['create'](null);}static['warn'](_0xa3ded3,_0x5b0172){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0xa3ded3+'.\x20Prop\x20name:\x20'+_0x5b0172);}['read'](_0x2bb5ff){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x2bb5ff)?this['store'][_0x2bb5ff]:(EQ['warn']('read',_0x2bb5ff),null);}['has'](_0x217e92){return this['_storeIsProxy']?void 0x0!==this['store'][_0x217e92]:this['store']['hasOwnProperty'](_0x217e92);}['add'](_0x365c97,_0x4dcd8d,_0x203122=!0x1){!_0x203122&&Object['keys'](this['store'])['includes'](_0x365c97)||(this['store'][_0x365c97]=_0x4dcd8d,this['notify'](_0x365c97));}['pub'](_0x334ab2,_0x403137){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x334ab2)?(this['store'][_0x334ab2]=_0x403137,this['notify'](_0x334ab2)):EQ['warn']('publish',_0x334ab2);}['multiPub'](_0x41feae){for(let _0x29444e in _0x41feae)this['pub'](_0x29444e,_0x41feae[_0x29444e]);}['notify'](_0x378086){this['callbackMap'][_0x378086]&&this['callbackMap'][_0x378086]['forEach'](_0x4c0d1d=>{_0x4c0d1d(this['store'][_0x378086]);});}['sub'](_0x55b095,_0x286a75,_0x3e6756=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x55b095)?(this['callbackMap'][_0x55b095]||(this['callbackMap'][_0x55b095]=new Set()),this['callbackMap'][_0x55b095]['add'](_0x286a75),_0x3e6756&&_0x286a75(this['store'][_0x55b095]),{'remove':()=>{this['callbackMap'][_0x55b095]['delete'](_0x286a75),this['callbackMap'][_0x55b095]['size']||delete this['callbackMap'][_0x55b095];},'callback':_0x286a75}):(EQ['warn']('subscribe',_0x55b095),null);}static['registerCtx'](_0x1ac1d2,_0x4e2f07=Symbol()){let _0xa2ee93=EQ['globalStore']['get'](_0x4e2f07);return _0xa2ee93?console['warn']('State:\x20context\x20UID\x20\x22'+_0x4e2f07+'\x22\x20already\x20in\x20use'):(_0xa2ee93=new EQ(_0x1ac1d2),EQ['globalStore']['set'](_0x4e2f07,_0xa2ee93)),_0xa2ee93;}static['deleteCtx'](_0x5a1886){EQ['globalStore']['delete'](_0x5a1886);}static['getCtx'](_0x2b9e2d,_0x395f5c=!0x0){return EQ['globalStore']['get'](_0x2b9e2d)||(_0x395f5c&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x2b9e2d+'\x22'),null);}};EQ['globalStore']=new Map();var AQ=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'}),IQ='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',SQ=class{static['generate'](_0x4cdbab='XXXXXXXXX-XXX'){let _0x3b03f9='';for(let _0x31f3e8=0x0;_0x31f3e8<_0x4cdbab['length'];_0x31f3e8++)_0x3b03f9+='-'===_0x4cdbab[_0x31f3e8]?_0x4cdbab[_0x31f3e8]:IQ['charAt'](0x3d*Math['random']());return _0x3b03f9;}};function CQ(_0x2f52ab,_0x263997,_0x21a7ec){let _0x4af31e,_0x3056d6=!0x0,_0x20d622=_0x263997['split']('.');return _0x20d622['forEach']((_0x25eb7a,_0x2a9a85)=>{_0x2a9a85<_0x20d622['length']-0x1?_0x2f52ab=_0x2f52ab[_0x25eb7a]:_0x4af31e=_0x25eb7a;}),_0x2f52ab?_0x2f52ab[_0x4af31e]=_0x21a7ec:_0x3056d6=!0x1,_0x3056d6;}var kQ='__default__',xQ='{{',RQ='}}',PQ=[function(_0x4c4ef2,_0x12b8e7){[..._0x4c4ef2['querySelectorAll']('['+AQ['REPEAT_ATTR']+']')]['forEach'](_0x24b687=>{let _0x5baad2,_0x191aab=_0x24b687['getAttribute'](AQ['REPEAT_ITEM_TAG_ATTR']);if(_0x191aab&&(_0x5baad2=window['customElements']['get'](_0x191aab)),!_0x5baad2){_0x5baad2=class extends _0x12b8e7['BaseComponent']{constructor(){super(),_0x191aab||(this['style']['display']='contents');}};let _0x339bb2=_0x24b687['innerHTML'];_0x5baad2['template']=_0x339bb2,_0x5baad2['reg'](_0x191aab);}for(;_0x24b687['firstChild'];)_0x24b687['firstChild']['remove']();let _0x585d85=_0x24b687['getAttribute'](AQ['REPEAT_ATTR']);_0x12b8e7['sub'](_0x585d85,_0x2af381=>{if(!_0x2af381){for(;_0x24b687['firstChild'];)_0x24b687['firstChild']['remove']();return;}let _0x14c33b,_0x5b5112=[..._0x24b687['children']],_0x3d6679=_0x479a18=>{_0x479a18['forEach']((_0x1150a4,_0xad118)=>{if(_0x5b5112[_0xad118]){if(_0x5b5112[_0xad118]['set$'])setTimeout(()=>{_0x5b5112[_0xad118]['set$'](_0x1150a4);});else{for(let _0x1d7436 in _0x1150a4)_0x5b5112[_0xad118][_0x1d7436]=_0x1150a4[_0x1d7436];}}else{_0x14c33b||(_0x14c33b=new DocumentFragment());let _0x2dd569=new _0x5baad2();Object['assign'](_0x2dd569['init$'],_0x1150a4),_0x14c33b['appendChild'](_0x2dd569);}}),_0x14c33b&&_0x24b687['appendChild'](_0x14c33b);let _0x210c34=_0x5b5112['slice'](_0x479a18['length'],_0x5b5112['length']);for(let _0x38b519 of _0x210c34)_0x38b519['remove']();};if(_0x2af381['constructor']===Array)_0x3d6679(_0x2af381);else{if(_0x2af381['constructor']===Object){let _0x4d1ab9=[];for(let _0x136dc7 in _0x2af381){let _0x4b41a1=_0x2af381[_0x136dc7];Object['defineProperty'](_0x4b41a1,'_KEY_',{'value':_0x136dc7,'enumerable':!0x0}),_0x4d1ab9['push'](_0x4b41a1);}_0x3d6679(_0x4d1ab9);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x2af381);}}),_0x24b687['removeAttribute'](AQ['REPEAT_ATTR']),_0x24b687['removeAttribute'](AQ['REPEAT_ITEM_TAG_ATTR']);});},function(_0x22b471,_0x490ad1){if(_0x490ad1['shadowRoot'])return;let _0x1d2325=[..._0x22b471['querySelectorAll']('slot')];if(!_0x1d2325['length'])return;let _0x5f5022={};_0x1d2325['forEach'](_0xf4fea8=>{let _0x1fb38e=_0xf4fea8['getAttribute']('name')||kQ;_0x5f5022[_0x1fb38e]={'slot':_0xf4fea8,'fr':document['createDocumentFragment']()};}),_0x490ad1['initChildren']['forEach'](_0x53879d=>{var _0x39da8b;let _0x2b0722=kQ;_0x53879d instanceof Element&&_0x53879d['hasAttribute']('slot')&&(_0x2b0722=_0x53879d['getAttribute']('slot'),_0x53879d['removeAttribute']('slot')),null==(_0x39da8b=_0x5f5022[_0x2b0722])||_0x39da8b['fr']['appendChild'](_0x53879d);}),Object['values'](_0x5f5022)['forEach'](_0x3a4d74=>{if(_0x3a4d74['fr']['childNodes']['length'])_0x3a4d74['slot']['parentNode']['replaceChild'](_0x3a4d74['fr'],_0x3a4d74['slot']);else{if(_0x3a4d74['slot']['childNodes']['length']){let _0x555f53=document['createDocumentFragment']();_0x555f53['append'](..._0x3a4d74['slot']['childNodes']),_0x3a4d74['slot']['parentNode']['replaceChild'](_0x555f53,_0x3a4d74['slot']);}else _0x3a4d74['slot']['remove']();}});},function(_0xd03a14,_0x17aa6b){[..._0xd03a14['querySelectorAll']('['+AQ['EL_REF_ATTR']+']')]['forEach'](_0x2c9196=>{let _0x10f891=_0x2c9196['getAttribute'](AQ['EL_REF_ATTR']);_0x17aa6b['ref'][_0x10f891]=_0x2c9196,_0x2c9196['removeAttribute'](AQ['EL_REF_ATTR']);});},function(_0x4a4d2b,_0x5b7d1a){[..._0x4a4d2b['querySelectorAll']('['+AQ['BIND_ATTR']+']')]['forEach'](_0x27c1e5=>{let _0x2937e4=_0x27c1e5['getAttribute'](AQ['BIND_ATTR'])['split'](';');[..._0x27c1e5['attributes']]['forEach'](_0x5db2ef=>{if(_0x5db2ef['name']['startsWith']('-')&&_0x5db2ef['value']){let _0x198f07=function(_0x5635bc){return _0x5635bc['split']('-')['map']((_0x2a4c45,_0x331611)=>_0x2a4c45&&_0x331611?_0x2a4c45[0x0]['toUpperCase']()+_0x2a4c45['slice'](0x1):_0x2a4c45)['join']('')['split']('_')['map']((_0x2969f5,_0x43f739)=>_0x2969f5&&_0x43f739?_0x2969f5['toUpperCase']():_0x2969f5)['join']('');}(_0x5db2ef['name']['replace']('-',''));_0x2937e4['push'](_0x198f07+':'+_0x5db2ef['value']),_0x27c1e5['removeAttribute'](_0x5db2ef['name']);}}),_0x2937e4['forEach'](_0x20634c=>{if(!_0x20634c)return;let _0x47fbd9,_0x293a29=_0x20634c['split'](':')['map'](_0x31d1a8=>_0x31d1a8['trim']()),_0x45d683=_0x293a29[0x0];0x0===_0x45d683['indexOf'](AQ['ATTR_BIND_PRFX'])&&(_0x47fbd9=!0x0,_0x45d683=_0x45d683['replace'](AQ['ATTR_BIND_PRFX'],''));let _0x816cae=_0x293a29[0x1]['split'](',')['map'](_0x39fd87=>_0x39fd87['trim']());for(let _0x42bea1 of _0x816cae){let _0x3f7bca;_0x42bea1['startsWith']('!!')?(_0x3f7bca='double',_0x42bea1=_0x42bea1['replace']('!!','')):_0x42bea1['startsWith']('!')&&(_0x3f7bca='single',_0x42bea1=_0x42bea1['replace']('!','')),_0x5b7d1a['sub'](_0x42bea1,_0x49c4ab=>{'double'===_0x3f7bca?_0x49c4ab=!!_0x49c4ab:'single'===_0x3f7bca&&(_0x49c4ab=!_0x49c4ab),_0x47fbd9?(null==_0x49c4ab?void 0x0:_0x49c4ab['constructor'])===Boolean?_0x49c4ab?_0x27c1e5['setAttribute'](_0x45d683,''):_0x27c1e5['removeAttribute'](_0x45d683):_0x27c1e5['setAttribute'](_0x45d683,_0x49c4ab):CQ(_0x27c1e5,_0x45d683,_0x49c4ab)||(_0x27c1e5[AQ['SET_LATER_KEY']]||(_0x27c1e5[AQ['SET_LATER_KEY']]=Object['create'](null)),_0x27c1e5[AQ['SET_LATER_KEY']][_0x45d683]=_0x49c4ab);});}}),_0x27c1e5['removeAttribute'](AQ['BIND_ATTR']);});},function(_0x5338bb,_0x45d254){let _0x5c78eb=function(_0x159563){let _0x3a257e,_0x225222=[],_0x56d23a=document['createTreeWalker'](_0x159563,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x2b72c1=>{var _0x1b0000;return!(null==(_0x1b0000=_0x2b72c1['parentElement'])?void 0x0:_0x1b0000['hasAttribute']('skip-text'))&&_0x2b72c1['textContent']['includes'](xQ)&&_0x2b72c1['textContent']['includes'](RQ)&&0x1;}});for(;_0x3a257e=_0x56d23a['nextNode']();)_0x225222['push'](_0x3a257e);return _0x225222;}(_0x5338bb);_0x5c78eb['forEach'](_0x2c7dd4=>{let _0x44df1a,_0x1cd9dc=[];for(;_0x2c7dd4['textContent']['includes'](RQ);)_0x2c7dd4['textContent']['startsWith'](xQ)?(_0x44df1a=_0x2c7dd4['textContent']['indexOf'](RQ)+0x2,_0x2c7dd4['splitText'](_0x44df1a),_0x1cd9dc['push'](_0x2c7dd4)):(_0x44df1a=_0x2c7dd4['textContent']['indexOf'](xQ),_0x2c7dd4['splitText'](_0x44df1a)),_0x2c7dd4=_0x2c7dd4['nextSibling'];_0x1cd9dc['forEach'](_0x562470=>{let _0x14fdb5=_0x562470['textContent']['replace'](xQ,'')['replace'](RQ,'');_0x562470['textContent']='',_0x45d254['sub'](_0x14fdb5,_0x2d6cd6=>{_0x562470['textContent']=_0x2d6cd6;});});});}],MQ='\x27',NQ='\x22',LQ=/\\([0-9a-fA-F]{1,6} ?)/g;function DQ(_0x2e2d0a){let _0x547e64=_0x2e2d0a;var _0x3f5654;(_0x3f5654=_0x2e2d0a)[0x0]!==NQ&&_0x3f5654[0x0]!==MQ||_0x3f5654[_0x3f5654['length']-0x1]!==NQ&&_0x3f5654[_0x3f5654['length']-0x1]!==MQ||(_0x547e64=function(_0x5b78c8){return _0x5b78c8[0x0]!==NQ&&_0x5b78c8[0x0]!==MQ||(_0x5b78c8=_0x5b78c8['slice'](0x1)),_0x5b78c8[_0x5b78c8['length']-0x1]!==NQ&&_0x5b78c8[_0x5b78c8['length']-0x1]!==MQ||(_0x5b78c8=_0x5b78c8['slice'](0x0,-0x1)),_0x5b78c8;}(_0x547e64),_0x547e64=_0x547e64['replace'](LQ,(_0x2b5e68,_0x2d34fa)=>String['fromCodePoint'](parseInt(_0x2d34fa['trim'](),0x10))),_0x547e64=_0x547e64['replaceAll']('\x5c\x0a','\x5cn'),_0x547e64=function(_0x53979a){let _0x3a9eed='',_0x36befe='';for(var _0x25d633=0x0;_0x25d633<_0x53979a['length'];_0x25d633++){const _0x470f59=_0x53979a[_0x25d633+0x1];'\x5c'===_0x53979a[_0x25d633]&&'\x22'===_0x470f59?(_0x3a9eed+='\x5c\x22',_0x25d633++):'\x22'===_0x53979a[_0x25d633]&&'\x5c'!==_0x36befe?_0x3a9eed+='\x5c\x22':_0x3a9eed+=_0x53979a[_0x25d633],_0x36befe=_0x53979a[_0x25d633];}return _0x3a9eed;}(_0x547e64),_0x547e64=NQ+_0x547e64+NQ);try{return JSON['parse'](_0x547e64);}catch(_0x430239){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x547e64+'.\x20Original\x20input:\x20'+_0x2e2d0a);}}var QQ=0x0,$Q=null,VQ=null,UQ=class extends HTMLElement{constructor(){super(),TQ(this,'updateCssData',()=>{var _0x2d1af2;this['dropCssDataCache'](),null==(_0x2d1af2=this['__boundCssProps'])||_0x2d1af2['forEach'](_0x28eaf9=>{let _0x4884e6=this['getCssData'](this['__extractCssName'](_0x28eaf9),!0x0);null!==_0x4884e6&&this['$'][_0x28eaf9]!==_0x4884e6&&(this['$'][_0x28eaf9]=_0x4884e6);});}),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 UQ;}['initCallback'](){}['__initCallback'](){var _0x3ab796;this['__initialized']||(this['__initialized']=!0x0,null==(_0x3ab796=this['initCallback'])||_0x3ab796['call'](this));}['render'](_0x1041c6,_0x1e902e=this['renderShadow']){let _0x400a24;if(!_0x1e902e&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x1a87b6=this['getAttribute'](AQ['USE_TPL']);if(_0x1a87b6){let _0x4bdf00=this['getRootNode'](),_0x45c5f5=(null==_0x4bdf00?void 0x0:_0x4bdf00['querySelector'](_0x1a87b6))||document['querySelector'](_0x1a87b6);_0x45c5f5?_0x1041c6=_0x45c5f5['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x1a87b6+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x29531c of this['tplProcessors'])_0x29531c(this,this);}if(_0x1041c6||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x1041c6?void 0x0:_0x1041c6['constructor'])===DocumentFragment)_0x400a24=_0x1041c6;else{if((null==_0x1041c6?void 0x0:_0x1041c6['constructor'])===String){let _0x482fce=document['createElement']('template');_0x482fce['innerHTML']=_0x1041c6,_0x400a24=_0x482fce['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x400a24=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0xbf942f of this['tplProcessors'])_0xbf942f(_0x400a24,this);}let _0x483f20=()=>{_0x400a24&&(_0x1e902e&&this['shadowRoot']['appendChild'](_0x400a24)||this['appendChild'](_0x400a24)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x1e902e=!0x0;let _0x1dac7c=document['createElement']('link');_0x1dac7c['rel']='stylesheet',_0x1dac7c['href']=this['constructor']['__shadowStylesUrl'],_0x1dac7c['onload']=_0x483f20,this['shadowRoot']['prepend'](_0x1dac7c);}else _0x483f20();}['addTemplateProcessor'](_0x7cc6ae){this['tplProcessors']['add'](_0x7cc6ae);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=SQ['generate'](),this['style']['setProperty'](AQ['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](AQ['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x5f208c;let _0x4f32f5=(null==(_0x5f208c=this['getAttribute'](AQ['CTX_NAME_ATTR']))?void 0x0:_0x5f208c['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x4f32f5,_0x4f32f5;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=EQ['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return EQ['getCtx'](this['ctxName'],!0x1)||EQ['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x2d5be8,_0x1032d1){let _0x252cf2,_0x11f462;if(_0x2d5be8['startsWith'](AQ['EXT_DATA_CTX_PRFX']))_0x252cf2=_0x1032d1['nodeCtx'],_0x11f462=_0x2d5be8['replace'](AQ['EXT_DATA_CTX_PRFX'],'');else{if(_0x2d5be8['includes'](AQ['NAMED_DATA_CTX_SPLTR'])){let _0x1a47a9=_0x2d5be8['split'](AQ['NAMED_DATA_CTX_SPLTR']);_0x252cf2=EQ['getCtx'](_0x1a47a9[0x0]),_0x11f462=_0x1a47a9[0x1];}else _0x252cf2=_0x1032d1['localCtx'],_0x11f462=_0x2d5be8;}return{'ctx':_0x252cf2,'name':_0x11f462};}['sub'](_0x2dca57,_0x1661e3,_0x54bf58=!0x0){let _0x390de1=_0x2e9f37=>{this['isConnected']&&_0x1661e3(_0x2e9f37);},_0x1da12b=UQ['__parseProp'](_0x2dca57,this);_0x1da12b['ctx']['has'](_0x1da12b['name'])?this['allSubs']['add'](_0x1da12b['ctx']['sub'](_0x1da12b['name'],_0x390de1,_0x54bf58)):window['setTimeout'](()=>{this['allSubs']['add'](_0x1da12b['ctx']['sub'](_0x1da12b['name'],_0x390de1,_0x54bf58));});}['notify'](_0x1c4d0e){let _0x4ca0bb=UQ['__parseProp'](_0x1c4d0e,this);_0x4ca0bb['ctx']['notify'](_0x4ca0bb['name']);}['has'](_0x5dfcc8){let _0xcaebb6=UQ['__parseProp'](_0x5dfcc8,this);return _0xcaebb6['ctx']['has'](_0xcaebb6['name']);}['add'](_0x3f11b0,_0x56740d,_0x1ab383=!0x1){let _0xfd2f77=UQ['__parseProp'](_0x3f11b0,this);_0xfd2f77['ctx']['add'](_0xfd2f77['name'],_0x56740d,_0x1ab383);}['add$'](_0x1644ca,_0x38412c=!0x1){for(let _0x3f46d2 in _0x1644ca)this['add'](_0x3f46d2,_0x1644ca[_0x3f46d2],_0x38412c);}get['$'](){if(!this['__stateProxy']){let _0x3ab045=Object['create'](null);this['__stateProxy']=new Proxy(_0x3ab045,{'set':(_0x2ac77c,_0x3974a2,_0x4e30f0)=>{let _0x590704=UQ['__parseProp'](_0x3974a2,this);return _0x590704['ctx']['pub'](_0x590704['name'],_0x4e30f0),!0x0;},'get':(_0x1ea760,_0x5d9075)=>{let _0x2fea5a=UQ['__parseProp'](_0x5d9075,this);return _0x2fea5a['ctx']['read'](_0x2fea5a['name']);}});}return this['__stateProxy'];}['set$'](_0x486702,_0x3a55c8=!0x1){for(let _0x4506c5 in _0x486702){let _0x475995=_0x486702[_0x4506c5],_0x205ee6=[String,Number,Boolean];(_0x3a55c8||!_0x205ee6['includes'](null==_0x475995?void 0x0:_0x475995['constructor'])||this['$'][_0x4506c5]!==_0x475995)&&(this['$'][_0x4506c5]=_0x475995);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](AQ['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](AQ['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x5bb0cd=this['constructor']['__attrDesc'];if(_0x5bb0cd){for(let _0x2a3513 of Object['values'](_0x5bb0cd))Object['keys'](this['init$'])['includes'](_0x2a3513)||(this['init$'][_0x2a3513]='');}for(let _0x3d7ae7 in this['init$'])if(_0x3d7ae7['startsWith'](AQ['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x3d7ae7['replace'](AQ['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x3d7ae7],this['__ctxOwner']);else{if(_0x3d7ae7['includes'](AQ['NAMED_DATA_CTX_SPLTR'])){let _0xc983ef=_0x3d7ae7['split'](AQ['NAMED_DATA_CTX_SPLTR']),_0x59bbd6=_0xc983ef[0x0]['trim'](),_0x45e33c=_0xc983ef[0x1]['trim']();if(_0x59bbd6&&_0x45e33c){let _0xd50caf=EQ['getCtx'](_0x59bbd6,!0x1);_0xd50caf||(_0xd50caf=EQ['registerCtx']({},_0x59bbd6)),_0xd50caf['add'](_0x45e33c,this['init$'][_0x3d7ae7]);}}else this['localCtx']['add'](_0x3d7ae7,this['init$'][_0x3d7ae7]);}for(let _0xc345dc in this['cssInit$'])this['bindCssData'](_0xc345dc,this['cssInit$'][_0xc345dc]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x598173;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x264d28=null==(_0x598173=this['getAttribute'](AQ['CTX_NAME_ATTR']))?void 0x0:_0x598173['trim']();if(_0x264d28&&this['style']['setProperty'](AQ['CSS_CTX_PROP'],'\x27'+_0x264d28+'\x27'),this['__initDataCtx'](),this[AQ['SET_LATER_KEY']]){for(let _0x28073c in this[AQ['SET_LATER_KEY']])CQ(this,_0x28073c,this[AQ['SET_LATER_KEY']][_0x28073c]);delete this[AQ['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x2e0286 of PQ)this['addTemplateProcessor'](_0x2e0286);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x5ee30b=this['getRootNode']();if(!_0x5ee30b)return;if(null==_0x5ee30b?void 0x0:_0x5ee30b['querySelector']('link['+AQ['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x5dc6b2=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x5dc6b2['setAttribute'](AQ['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x5dc6b2['onload']=()=>{this['render']();},_0x5ee30b['nodeType']===Node['DOCUMENT_NODE']?_0x5ee30b['head']['appendChild'](_0x5dc6b2):_0x5ee30b['prepend'](_0x5dc6b2);}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 _0x37c5e3 of this['allSubs'])_0x37c5e3['remove'](),this['allSubs']['delete'](_0x37c5e3);for(let _0x5305d1 of this['tplProcessors'])this['tplProcessors']['delete'](_0x5305d1);null==VQ||VQ['delete'](this['updateCssData']),(null==VQ?void 0x0:VQ['size'])||(null==$Q||$Q['disconnect'](),$Q=null,VQ=null);},0x64)));}static['reg'](_0x91088c,_0x2cac95=!0x1){_0x91088c||(QQ++,_0x91088c=AQ['AUTO_TAG_PRFX']+'-'+QQ),this['__tag']=_0x91088c;let _0x4696fd=window['customElements']['get'](_0x91088c);_0x4696fd?_0x2cac95||_0x4696fd===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x91088c+'\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'](_0x91088c,_0x2cac95?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x529763){this['observedAttributes']=Object['keys'](_0x529763),this['__attrDesc']=_0x529763;}['attributeChangedCallback'](_0x4d232b,_0x4ffb3e,_0x3bd9e4){var _0x2595ee;if(_0x4ffb3e===_0x3bd9e4)return;let _0x4cfb8e=null==(_0x2595ee=this['constructor']['__attrDesc'])?void 0x0:_0x2595ee[_0x4d232b];_0x4cfb8e?this['__dataCtxInitialized']?this['$'][_0x4cfb8e]=_0x3bd9e4:this['init$'][_0x4cfb8e]=_0x3bd9e4:this[_0x4d232b]=_0x3bd9e4;}['getCssData'](_0x3f659a,_0x4d08a7=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x3f659a)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x2281eb=this['__computedStyle']['getPropertyValue'](_0x3f659a)['trim']();try{this['__cssDataCache'][_0x3f659a]=DQ(_0x2281eb);}catch(_0x3e1c4b){!_0x4d08a7&&console['warn']('CSS\x20Data\x20error:\x20'+_0x3f659a),this['__cssDataCache'][_0x3f659a]=null;}}return this['__cssDataCache'][_0x3f659a];}['__extractCssName'](_0x57af5e){return _0x57af5e['split']('--')['map']((_0x4367db,_0x2dd967)=>0x0===_0x2dd967?'':_0x4367db)['join']('--');}['__initStyleAttrObserver'](){VQ||(VQ=new Set()),VQ['add'](this['updateCssData']),$Q||($Q=new MutationObserver(_0x2ebad9=>{'attributes'===_0x2ebad9[0x0]['type']&&VQ['forEach'](_0x575de5=>{_0x575de5();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x508183,_0x5b0258=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x508183);let _0x28f11f=this['getCssData'](this['__extractCssName'](_0x508183),!0x0);null===_0x28f11f&&(_0x28f11f=_0x5b0258),this['add'](_0x508183,_0x28f11f),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x3ec7e9,_0x28f22d,_0x4de4cf){let _0x21f949='__'+_0x3ec7e9;this[_0x21f949]=this[_0x3ec7e9],Object['defineProperty'](this,_0x3ec7e9,{'set':_0x50ab81=>{this[_0x21f949]=_0x50ab81,_0x4de4cf?window['setTimeout'](()=>{null==_0x28f22d||_0x28f22d(_0x50ab81);}):null==_0x28f22d||_0x28f22d(_0x50ab81);},'get':()=>this[_0x21f949]}),this[_0x3ec7e9]=this[_0x21f949];}static set['shadowStyles'](_0x299b8a){let _0x456758=new Blob([_0x299b8a],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x456758);}static set['rootStyles'](_0x374908){if(!this['__rootStylesLink']){let _0x182752=new Blob([_0x374908],{'type':'text/css'}),_0x1069e1=URL['createObjectURL'](_0x182752),_0x523fa1=document['createElement']('link');_0x523fa1['href']=_0x1069e1,_0x523fa1['rel']='stylesheet',this['__rootStylesLink']=_0x523fa1;}}},BQ=UQ;function FQ(_0x2586b2,_0x5282e5){for(let _0x15b0e1 in _0x5282e5)_0x15b0e1['includes']('-')?_0x2586b2['style']['setProperty'](_0x15b0e1,_0x5282e5[_0x15b0e1]):_0x2586b2['style'][_0x15b0e1]=_0x5282e5[_0x15b0e1];}function jQ(_0x39ab51={'tag':'div'}){let _0x4e5cc3=document['createElement'](_0x39ab51['tag']);if(_0x39ab51['attributes']&&function(_0x4c365a,_0x4eff36){for(let _0x5cafd2 in _0x4eff36)_0x4eff36[_0x5cafd2]['constructor']===Boolean?_0x4eff36[_0x5cafd2]?_0x4c365a['setAttribute'](_0x5cafd2,''):_0x4c365a['removeAttribute'](_0x5cafd2):_0x4c365a['setAttribute'](_0x5cafd2,_0x4eff36[_0x5cafd2]);}(_0x4e5cc3,_0x39ab51['attributes']),_0x39ab51['styles']&&FQ(_0x4e5cc3,_0x39ab51['styles']),_0x39ab51['properties']){for(let _0x4e2c06 in _0x39ab51['properties'])_0x4e5cc3[_0x4e2c06]=_0x39ab51['properties'][_0x4e2c06];}return _0x39ab51['processors']&&_0x39ab51['processors']['forEach'](_0x2cc944=>{_0x2cc944(_0x4e5cc3);}),_0x39ab51['children']&&_0x39ab51['children']['forEach'](_0x463cfa=>{let _0x58f745=jQ(_0x463cfa);_0x4e5cc3['appendChild'](_0x58f745);}),_0x4e5cc3;}TQ(BQ,'template');var HQ='idb-store-ready',GQ=class{['_notifyWhenReady'](_0x4f06e7=null){window['dispatchEvent'](new CustomEvent(HQ,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x4f06e7}}));}get['_updEventName'](){return'symbiote-idb-update_'+this['name'];}['_getUpdateEvent'](_0x4d4d63){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x4d4d63}});}['_notifySubscribers'](_0x2854d5){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x2854d5),window['dispatchEvent'](this['_getUpdateEvent'](_0x2854d5));}constructor(_0x516118,_0x1e6278){this['name']=_0x516118,this['storeName']=_0x1e6278,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x473fe9=>{this['db']=_0x473fe9['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x1e6278,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x955ed8=>{this['_notifyWhenReady'](_0x955ed8);};},this['request']['onsuccess']=_0x2ae1af=>{this['db']=_0x2ae1af['target']['result'],this['_notifyWhenReady'](_0x2ae1af);},this['request']['onerror']=_0x4addcb=>{console['error'](_0x4addcb);},this['_subscriptionsMap']={},this['_updateHandler']=_0x6cb29a=>{_0x6cb29a['key']===this['name']&&this['_subscriptionsMap'][_0x6cb29a['newValue']]&&this['_subscriptionsMap'][_0x6cb29a['newValue']]['forEach'](async _0x777f74=>{_0x777f74(await this['read'](_0x6cb29a['newValue']));});},this['_localUpdateHandler']=_0x5cacb1=>{this['_updateHandler'](_0x5cacb1['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x2dd441){let _0x820fbb=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x2dd441);return new Promise((_0x896f55,_0x3face6)=>{_0x820fbb['onsuccess']=_0x550d30=>{var _0x424558;(null==(_0x424558=_0x550d30['target']['result'])?void 0x0:_0x424558['_value'])?_0x896f55(_0x550d30['target']['result']['_value']):(_0x896f55(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x2dd441+'\x22'));},_0x820fbb['onerror']=_0x54eed5=>{_0x3face6(_0x54eed5);};});}['write'](_0x3928db,_0x4507ba,_0x42fbfc=!0x1){let _0x51eaf7={'_key':_0x3928db,'_value':_0x4507ba},_0x1748cf=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x51eaf7);return new Promise((_0x46c508,_0x35a68f)=>{_0x1748cf['onsuccess']=_0x377bca=>{_0x42fbfc||this['_notifySubscribers'](_0x3928db),_0x46c508(_0x377bca['target']['result']);},_0x1748cf['onerror']=_0x48c72b=>{_0x35a68f(_0x48c72b);};});}['delete'](_0x33040d,_0x334516=!0x1){let _0x360afb=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x33040d);return new Promise((_0x1e7430,_0x1e8a2c)=>{_0x360afb['onsuccess']=_0xce124a=>{_0x334516||this['_notifySubscribers'](_0x33040d),_0x1e7430(_0xce124a);},_0x360afb['onerror']=_0x4a76e8=>{_0x1e8a2c(_0x4a76e8);};});}['getAll'](){let _0x71dfe8=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x35534e,_0x592cb7)=>{_0x71dfe8['onsuccess']=_0x4b1349=>{let _0x426ed3=_0x4b1349['target']['result'];_0x35534e(_0x426ed3['map'](_0x475e3f=>_0x475e3f['_value']));},_0x71dfe8['onerror']=_0x276ca0=>{_0x592cb7(_0x276ca0);};});}['subscribe'](_0x1e8817,_0x4fdc53){this['_subscriptionsMap'][_0x1e8817]||(this['_subscriptionsMap'][_0x1e8817]=new Set());let _0x4ad934=this['_subscriptionsMap'][_0x1e8817];return _0x4ad934['add'](_0x4fdc53),{'remove':()=>{_0x4ad934['delete'](_0x4fdc53),_0x4ad934['size']||delete this['_subscriptionsMap'][_0x1e8817];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,ZQ['clear'](this['name']);}},ZQ=class{static get['readyEventName'](){return HQ;}static['open'](_0x217fc7='symbiote-db',_0x58a0a4='store'){let _0x33d345=_0x217fc7+'/'+_0x58a0a4;return this['_reg'][_0x33d345]||(this['_reg'][_0x33d345]=new GQ(_0x217fc7,_0x58a0a4)),this['_reg'][_0x33d345];}static['clear'](_0x4868cf){window['indexedDB']['deleteDatabase'](_0x4868cf);for(let _0x17c1d8 in this['_reg'])_0x17c1d8['split']('/')[0x0]===_0x4868cf&&delete this['_reg'][_0x17c1d8];}};function XQ(_0x752a71){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x752a71);}TQ(ZQ,'_reg',Object['create'](null));const qQ=/\W|_/g;function WQ(_0x3bac17){return _0x3bac17['split'](qQ)['map']((_0x1998e3,_0x21a969)=>_0x1998e3['charAt'](0x0)[_0x21a969>0x0?'toUpperCase':'toLowerCase']()+_0x1998e3['slice'](0x1))['join']('');}function zQ(_0x20b8fa,{ignoreKeys:_0x11aa3e}={'ignoreKeys':[]}){return Array['isArray'](_0x20b8fa)?_0x20b8fa['map'](_0x5f4c0b=>YQ(_0x5f4c0b,{'ignoreKeys':_0x11aa3e})):_0x20b8fa;}function YQ(_0x33bb41,{ignoreKeys:_0x3cc24e}={'ignoreKeys':[]}){if(Array['isArray'](_0x33bb41))return zQ(_0x33bb41,{'ignoreKeys':_0x3cc24e});if(!XQ(_0x33bb41))return _0x33bb41;const _0x3080fa={};for(const _0x354913 of Object['keys'](_0x33bb41)){let _0x584826=_0x33bb41[_0x354913];_0x3cc24e['includes'](_0x354913)?_0x3080fa[_0x354913]=_0x584826:(XQ(_0x584826)?_0x584826=YQ(_0x584826,{'ignoreKeys':_0x3cc24e}):Array['isArray'](_0x584826)&&(_0x584826=zQ(_0x584826,{'ignoreKeys':_0x3cc24e})),_0x3080fa[WQ(_0x354913)]=_0x584826);}return _0x3080fa;}function KQ({libraryName:_0x564acf,libraryVersion:_0x151b4c,userAgent:_0x15ef4e,publicKey:_0x35ad7b='',integration:_0x2ca21b=''}){const _0x2ffc7d='JavaScript';if('string'==typeof _0x15ef4e)return _0x15ef4e;if('function'==typeof _0x15ef4e)return _0x15ef4e({'publicKey':_0x35ad7b,'libraryName':_0x564acf,'libraryVersion':_0x151b4c,'languageName':_0x2ffc7d,'integration':_0x2ca21b});return[_0x564acf,_0x151b4c,_0x35ad7b]['filter'](Boolean)['join']('/')+'\x20('+[_0x2ffc7d,_0x2ca21b]['filter'](Boolean)['join'](';\x20')+')';}const JQ={'factor':0x2,'time':0x64};function t$(_0x385fc0,_0xda243c=JQ){let _0x33244f=0x0;return function _0x2c2101(_0x59cf52){const _0x3f7334=Math['round'](_0xda243c['time']*_0xda243c['factor']**_0x33244f);return _0x59cf52({'attempt':_0x33244f,'retry':_0x458e17=>(_0x3e7553=>new Promise(_0x3d9c02=>setTimeout(_0x3d9c02,_0x3e7553)))(_0x458e17??_0x3f7334)['then'](()=>(_0x33244f+=0x1,_0x2c2101(_0x59cf52)))});}(_0x385fc0);}class UploadcareError extends Error{}class NetworkError extends UploadcareError{['originalProgressEvent'];constructor(_0x3d9a53){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3d9a53;}}const e$=(_0x34c718,_0x1ffbd5)=>{_0x34c718&&(_0x34c718['aborted']?Promise['resolve']()['then'](_0x1ffbd5):_0x34c718['addEventListener']('abort',()=>_0x1ffbd5(),{'once':!0x0}));};class CancelError extends UploadcareError{['isCancel']=!0x0;constructor(_0x42f095='Request\x20canceled'){super(_0x42f095),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}}const i$=({check:_0x43a73a,interval:_0x1afa99=0x1f4,timeout:_0x42a63f,signal:_0x3ebc05})=>new Promise((_0x3e9a45,_0x44f0fb)=>{let _0x46a1c0,_0x446e7e;e$(_0x3ebc05,()=>{_0x46a1c0&&clearTimeout(_0x46a1c0),_0x44f0fb(new CancelError('Poll\x20cancelled'));}),_0x42a63f&&(_0x446e7e=setTimeout(()=>{_0x46a1c0&&clearTimeout(_0x46a1c0),_0x44f0fb(new CancelError('Timed\x20out'));},_0x42a63f));const _0x51a980=()=>{try{Promise['resolve'](_0x43a73a(_0x3ebc05))['then'](_0x5aa687=>{_0x5aa687?(_0x446e7e&&clearTimeout(_0x446e7e),_0x3e9a45(_0x5aa687)):_0x46a1c0=setTimeout(_0x51a980,_0x1afa99);})['catch'](_0x50457e=>{_0x446e7e&&clearTimeout(_0x446e7e),_0x44f0fb(_0x50457e);});}catch(_0x483d99){_0x446e7e&&clearTimeout(_0x446e7e),_0x44f0fb(_0x483d99);}};_0x46a1c0=setTimeout(_0x51a980,0x0);}),s$='https://ucarecdn.com',n$='https://upload.uploadcare.com',r$=0x1,o$=0x3,a$=0x1900000,c$=0x500000,l$=0x4,h$='79ae88bd931ea68464d9',u$='application/octet-stream',d$='original',f$=({method:_0x10fe00,url:_0x5d2ef8,data:_0x284714,headers:_0x344816={},signal:_0xfadff3,onProgress:_0x3e0b4b})=>new Promise((_0x50afbf,_0x189c30)=>{const _0x4cdd07=new XMLHttpRequest(),_0x32546c=_0x10fe00?.['toUpperCase']()||'GET';let _0x15825a=!0x1;_0x4cdd07['open'](_0x32546c,_0x5d2ef8,!0x0),_0x344816&&Object['entries'](_0x344816)['forEach'](_0x2e5762=>{const [_0x2f68e2,_0x548886]=_0x2e5762;void 0x0!==_0x548886&&!Array['isArray'](_0x548886)&&_0x4cdd07['setRequestHeader'](_0x2f68e2,_0x548886);}),_0x4cdd07['responseType']='text',e$(_0xfadff3,()=>{_0x15825a=!0x0,_0x4cdd07['abort'](),_0x189c30(new CancelError());}),_0x4cdd07['onload']=()=>{if(0xc8!=_0x4cdd07['status'])_0x189c30(new Error('Error\x20'+_0x4cdd07['status']+':\x20'+_0x4cdd07['statusText']));else{const _0x37cf65={'method':_0x32546c,'url':_0x5d2ef8,'data':_0x284714,'headers':_0x344816||void 0x0,'signal':_0xfadff3,'onProgress':_0x3e0b4b},_0x197954=_0x4cdd07['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0xb12a05={};_0x197954['forEach'](function(_0x52807b){const _0x2295f7=_0x52807b['split'](':\x20'),_0x1f1d2b=_0x2295f7['shift'](),_0x19eae2=_0x2295f7['join'](':\x20');_0x1f1d2b&&void 0x0!==_0x1f1d2b&&(_0xb12a05[_0x1f1d2b]=_0x19eae2);});const _0x12f86f=_0x4cdd07['response'],_0x3b18e9=_0x4cdd07['status'];_0x50afbf({'request':_0x37cf65,'data':_0x12f86f,'headers':_0xb12a05,'status':_0x3b18e9});}},_0x4cdd07['onerror']=_0x1e29b9=>{_0x15825a||_0x189c30(new NetworkError(_0x1e29b9));},_0x3e0b4b&&'function'==typeof _0x3e0b4b&&(_0x4cdd07['upload']['onprogress']=_0x4e25f5=>{_0x4e25f5['lengthComputable']?_0x3e0b4b({'isComputable':!0x0,'value':_0x4e25f5['loaded']/_0x4e25f5['total']}):_0x3e0b4b({'isComputable':!0x1});}),_0x284714?_0x4cdd07['send'](_0x284714):_0x4cdd07['send']();}),m$=function(_0x39760b,..._0x519b90){return _0x39760b;},g$=_0x638610=>'undefined'!=typeof Blob&&_0x638610 instanceof Blob,p$=_0x471d81=>'undefined'!=typeof File&&_0x471d81 instanceof File,O$=_0x1e13f5=>!!_0x1e13f5&&'object'==typeof _0x1e13f5&&!Array['isArray'](_0x1e13f5)&&'uri'in _0x1e13f5&&'string'==typeof _0x1e13f5['uri'],w$=_0x3c9c0e=>g$(_0x3c9c0e)||p$(_0x3c9c0e)||O$(_0x3c9c0e);function b$(_0x57cf51,_0x1dfaf5,_0x5e0722){if(Array['isArray'](_0x5e0722)){for(const _0x3b2a25 of _0x5e0722)b$(_0x57cf51,_0x1dfaf5+'[]',_0x3b2a25);}else{if((_0x18525d=>!!_0x18525d&&'object'==typeof _0x18525d&&'data'in _0x18525d&&w$(_0x18525d['data']))(_0x5e0722)){const {name:_0x1acce5,contentType:_0x6397b}=_0x5e0722,_0x37aba3=m$(_0x5e0722['data'],_0x1acce5,_0x6397b??u$),_0x58c2f7=(({name:_0x51ff4c})=>_0x51ff4c?[_0x51ff4c]:[])({'name':_0x1acce5});_0x57cf51['push']([_0x1dfaf5,_0x37aba3,..._0x58c2f7]);}else{if((_0x12954e=>!!_0x12954e&&'object'==typeof _0x12954e&&!Array['isArray'](_0x12954e))(_0x5e0722)){for(const [_0x4c0006,_0x2a043f]of Object['entries'](_0x5e0722))void 0x0!==_0x2a043f&&_0x57cf51['push']([_0x1dfaf5+'['+_0x4c0006+']',String(_0x2a043f)]);}else(_0x304675=>'string'==typeof _0x304675||'number'==typeof _0x304675||void 0x0===_0x304675)(_0x5e0722)&&_0x5e0722&&_0x57cf51['push']([_0x1dfaf5,_0x5e0722['toString']()]);}}}function y$(_0x3d887a){const _0x332e5f=new FormData(),_0x3b83c5=function(_0x196ed0){const _0x256197=[];for(const [_0x262653,_0x5aeb43]of Object['entries'](_0x196ed0))b$(_0x256197,_0x262653,_0x5aeb43);return _0x256197;}(_0x3d887a);for(const _0x315489 of _0x3b83c5){const [_0xb14370,_0x3ca670,..._0x514567]=_0x315489;_0x332e5f['append'](_0xb14370,_0x3ca670,..._0x514567);}return _0x332e5f;}class UploadError extends UploadcareError{['code'];['request'];['response'];['headers'];constructor(_0x24030a,_0x2080be,_0x14a23d,_0x18a3c5,_0x451fbb){super(),this['name']='UploadError',this['message']=_0x24030a,this['code']=_0x2080be,this['request']=_0x14a23d,this['response']=_0x18a3c5,this['headers']=_0x451fbb,Object['setPrototypeOf'](this,UploadError['prototype']);}}const _$=(_0x37d7f7,_0x270338,_0x2a6480)=>{const _0x126571=new URL(_0x37d7f7);return _0x126571['pathname']=(_0x126571['pathname']+_0x270338)['replace']('//','/'),_0x2a6480&&(_0x126571['search']=(_0x5e3fb4=>{const _0x43f870=new URLSearchParams();for(const [_0x5c02d7,_0xb51aa6]of Object['entries'](_0x5e3fb4))_0xb51aa6&&'object'==typeof _0xb51aa6&&!Array['isArray'](_0xb51aa6)?Object['entries'](_0xb51aa6)['filter'](_0xe55d50=>_0xe55d50[0x1]??!0x1)['forEach'](_0x16c8c1=>_0x43f870['set'](_0x5c02d7+'['+_0x16c8c1[0x0]+']',String(_0x16c8c1[0x1]))):Array['isArray'](_0xb51aa6)?_0xb51aa6['forEach'](_0x2f2157=>{_0x43f870['append'](_0x5c02d7+'[]',_0x2f2157);}):'string'==typeof _0xb51aa6&&_0xb51aa6?_0x43f870['set'](_0x5c02d7,_0xb51aa6):'number'==typeof _0xb51aa6&&_0x43f870['set'](_0x5c02d7,_0xb51aa6['toString']());return _0x43f870['toString']();})(_0x2a6480)),_0x126571['toString']();};function v$(_0x27b94e){return KQ({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.2',..._0x27b94e});}function T$(_0x14bc1d,_0x20daac){const {retryThrottledRequestMaxTimes:_0x1fe526,retryNetworkErrorMaxTimes:_0x375889}=_0x20daac;return t$(({attempt:_0x1b337b,retry:_0x3a73d8})=>_0x14bc1d()['catch'](_0x5851ec=>{if('response'in _0x5851ec&&'RequestThrottledError'===_0x5851ec?.['code']&&_0x1b337b<_0x1fe526)return _0x3a73d8(function(_0x159b71){const {headers:_0x4b313b}=_0x159b71||{};if(!_0x4b313b||'string'!=typeof _0x4b313b['retry-after'])return 0x3a98;const _0x187ffa=parseInt(_0x4b313b['retry-after'],0xa);return Number['isFinite'](_0x187ffa)?0x3e8*_0x187ffa:0x3a98;}(_0x5851ec));if(_0x5851ec instanceof NetworkError&&_0x1b337b<_0x375889)return _0x3a73d8(0x3e8*(_0x1b337b+0x1));throw _0x5851ec;}));}const E$=_0x263fe7=>{let _0x5e0137='';return(g$(_0x263fe7)||p$(_0x263fe7)||O$(_0x263fe7))&&(_0x5e0137=_0x263fe7['type']),_0x5e0137||u$;},A$=_0x3f242a=>{let _0x5a3321='';return p$(_0x3f242a)&&_0x3f242a['name']?_0x5a3321=_0x3f242a['name']:g$(_0x3f242a)?_0x5a3321='':O$(_0x3f242a)&&_0x3f242a['name']&&(_0x5a3321=_0x3f242a['name']),_0x5a3321||d$;};function I$(_0xb5bdec){return void 0x0===_0xb5bdec||'auto'===_0xb5bdec?'auto':_0xb5bdec?'1':'0';}var S$,C$;!function(_0x4f0be5){_0x4f0be5['Token']='token',_0x4f0be5['FileInfo']='file_info';}(S$||(S$={})),function(_0x15c518){_0x15c518['Unknown']='unknown',_0x15c518['Waiting']='waiting',_0x15c518['Progress']='progress',_0x15c518['Error']='error',_0x15c518['Success']='success';}(C$||(C$={}));function k$(_0x4a8cb1,{publicKey:_0x58e04e,baseURL:_0x22a7da=n$,signal:_0x28e415,integration:_0x4f1527,userAgent:_0x562eb4,retryThrottledRequestMaxTimes:_0x5a7eed=r$,retryNetworkErrorMaxTimes:_0x239f2b=o$}={}){return T$(()=>f$({'method':'GET','headers':_0x58e04e?{'X-UC-User-Agent':v$({'publicKey':_0x58e04e,'integration':_0x4f1527,'userAgent':_0x562eb4})}:void 0x0,'url':_$(_0x22a7da,'/from_url/status/',{'jsonerrors':0x1,'token':_0x4a8cb1}),'signal':_0x28e415})['then'](({data:_0x100367,headers:_0x5dd389,request:_0x24a389})=>{const _0x3247f9=YQ(JSON['parse'](_0x100367));if('error'in _0x3247f9&&!(_0x4c23d6=>'status'in _0x4c23d6&&_0x4c23d6['status']===C$['Error'])(_0x3247f9))throw new UploadError(_0x3247f9['error']['content'],_0x3247f9['error']['errorCode'],_0x24a389,_0x3247f9,_0x5dd389);return _0x3247f9;}),{'retryNetworkErrorMaxTimes':_0x239f2b,'retryThrottledRequestMaxTimes':_0x5a7eed});}function x$(_0xdaf827,{publicKey:_0x2a55f6,baseURL:_0x31d618=n$,signal:_0x162401,source:_0x5e6dc5,integration:_0x8c63ff,userAgent:_0x45e458,retryThrottledRequestMaxTimes:_0x2ffa3f=r$,retryNetworkErrorMaxTimes:_0x50edf1=o$}){return T$(()=>f$({'method':'GET','headers':{'X-UC-User-Agent':v$({'publicKey':_0x2a55f6,'integration':_0x8c63ff,'userAgent':_0x45e458})},'url':_$(_0x31d618,'/info/',{'jsonerrors':0x1,'pub_key':_0x2a55f6,'file_id':_0xdaf827,'source':_0x5e6dc5}),'signal':_0x162401})['then'](({data:_0x4fbce6,headers:_0x50d28b,request:_0x3fde7c})=>{const _0x323d23=YQ(JSON['parse'](_0x4fbce6));if('error'in _0x323d23)throw new UploadError(_0x323d23['error']['content'],_0x323d23['error']['errorCode'],_0x3fde7c,_0x323d23,_0x50d28b);return _0x323d23;}),{'retryThrottledRequestMaxTimes':_0x2ffa3f,'retryNetworkErrorMaxTimes':_0x50edf1});}function R$(_0x1aaf88,{publicKey:_0x3c43dd,baseURL:_0x53e4b3,source:_0x27af68,integration:_0x5e11ad,userAgent:_0x22b2c9,retryThrottledRequestMaxTimes:_0x18a472,retryNetworkErrorMaxTimes:_0x49cd19,signal:_0x42f604,onProgress:_0x2d672c}){return i$({'check':_0xa6563c=>x$(_0x1aaf88,{'publicKey':_0x3c43dd,'baseURL':_0x53e4b3,'signal':_0xa6563c,'source':_0x27af68,'integration':_0x5e11ad,'userAgent':_0x22b2c9,'retryThrottledRequestMaxTimes':_0x18a472,'retryNetworkErrorMaxTimes':_0x49cd19})['then'](_0xfd4d02=>_0xfd4d02['isReady']?_0xfd4d02:(_0x2d672c&&_0x2d672c({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x42f604});}class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x4102f0,{baseCDN:_0x20f5a3=s$,fileName:_0x7669b2}={}){const {uuid:_0x49b1ed,s3Bucket:_0x7fe7f7}=_0x4102f0,_0x5c7d1c=_$(_0x20f5a3,_0x49b1ed+'/'),_0x3eda77=_0x7fe7f7?_$('https://'+_0x7fe7f7+'.s3.amazonaws.com/',_0x49b1ed+'/'+_0x4102f0['filename']):null;this['uuid']=_0x49b1ed,this['name']=_0x7669b2||_0x4102f0['filename'],this['size']=_0x4102f0['size'],this['isStored']=_0x4102f0['isStored'],this['isImage']=_0x4102f0['isImage'],this['mimeType']=_0x4102f0['mimeType'],this['cdnUrl']=_0x5c7d1c,this['originalFilename']=_0x4102f0['originalFilename'],this['imageInfo']=_0x4102f0['imageInfo'],this['videoInfo']=_0x4102f0['videoInfo'],this['contentInfo']=_0x4102f0['contentInfo'],this['metadata']=_0x4102f0['metadata']||null,this['s3Bucket']=_0x7fe7f7||null,this['s3Url']=_0x3eda77,function(_0x3f0612){return'defaultEffects'in _0x3f0612;}(_0x4102f0)&&(this['defaultEffects']=_0x4102f0['defaultEffects']);}}const P$=(_0x15254a,{publicKey:_0x24862b,fileName:_0x5863f1,baseURL:_0x90d7ed,secureSignature:_0x19bbe0,secureExpire:_0x55a5c1,store:_0x3c775e,contentType:_0x48be6e,signal:_0x407dbc,onProgress:_0xc0ba65,source:_0x2652f7,integration:_0x5a3cdd,userAgent:_0x53338b,retryThrottledRequestMaxTimes:_0x365995,retryNetworkErrorMaxTimes:_0x5a360f,baseCDN:_0x31e000,metadata:_0x3daba2})=>function(_0x5587c1,{publicKey:_0x3879c3,fileName:_0xe17d7d,contentType:_0x58213c,baseURL:_0x462430=n$,secureSignature:_0x4a3108,secureExpire:_0x4b2cf5,store:_0x5b4484,signal:_0x35099c,onProgress:_0x43052e,source:_0x3a7a7d='local',integration:_0x2be583,userAgent:_0x5ac285,retryThrottledRequestMaxTimes:_0x2a673e=r$,retryNetworkErrorMaxTimes:_0x1f9170=o$,metadata:_0x206a1a}){return T$(()=>f$({'method':'POST','url':_$(_0x462430,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':v$({'publicKey':_0x3879c3,'integration':_0x2be583,'userAgent':_0x5ac285})},'data':y$({'file':{'data':_0x5587c1,'name':_0xe17d7d||A$(_0x5587c1),'contentType':_0x58213c||E$(_0x5587c1)},'UPLOADCARE_PUB_KEY':_0x3879c3,'UPLOADCARE_STORE':I$(_0x5b4484),'signature':_0x4a3108,'expire':_0x4b2cf5,'source':_0x3a7a7d,'metadata':_0x206a1a}),'signal':_0x35099c,'onProgress':_0x43052e})['then'](({data:_0x8c0760,headers:_0x15b351,request:_0x5d1cc7})=>{const _0x35dece=YQ(JSON['parse'](_0x8c0760));if('error'in _0x35dece)throw new UploadError(_0x35dece['error']['content'],_0x35dece['error']['errorCode'],_0x5d1cc7,_0x35dece,_0x15b351);return _0x35dece;}),{'retryNetworkErrorMaxTimes':_0x1f9170,'retryThrottledRequestMaxTimes':_0x2a673e});}(_0x15254a,{'publicKey':_0x24862b,'fileName':_0x5863f1,'contentType':_0x48be6e,'baseURL':_0x90d7ed,'secureSignature':_0x19bbe0,'secureExpire':_0x55a5c1,'store':_0x3c775e,'signal':_0x407dbc,'onProgress':_0xc0ba65,'source':_0x2652f7,'integration':_0x5a3cdd,'userAgent':_0x53338b,'retryThrottledRequestMaxTimes':_0x365995,'retryNetworkErrorMaxTimes':_0x5a360f,'metadata':_0x3daba2})['then'](({file:_0xb9c11})=>R$(_0xb9c11,{'publicKey':_0x24862b,'baseURL':_0x90d7ed,'source':_0x2652f7,'integration':_0x5a3cdd,'userAgent':_0x53338b,'retryThrottledRequestMaxTimes':_0x365995,'retryNetworkErrorMaxTimes':_0x5a360f,'onProgress':_0xc0ba65,'signal':_0x407dbc}))['then'](_0x27b1f7=>new UploadcareFile(_0x27b1f7,{'baseCDN':_0x31e000})),M$=(_0x3ca633,{signal:_0x5065ec}={})=>{let _0x1f6ef0=null,_0x37b55f=null;const _0x4496cb=_0x3ca633['map'](()=>new AbortController());return e$(_0x5065ec,()=>{_0x4496cb['forEach'](_0xec1178=>_0xec1178['abort']());}),Promise['all'](_0x3ca633['map']((_0x213cbe,_0x5286b5)=>{const _0x5800b7=(_0x4af3af=>()=>{_0x37b55f=_0x4af3af,_0x4496cb['forEach']((_0x4cb690,_0x169d4c)=>_0x169d4c!==_0x4af3af&&_0x4cb690['abort']());})(_0x5286b5);return Promise['resolve']()['then'](()=>_0x213cbe({'stopRace':_0x5800b7,'signal':_0x4496cb[_0x5286b5]['signal']}))['then'](_0x39df14=>(_0x5800b7(),_0x39df14))['catch'](_0x551fd7=>(_0x1f6ef0=_0x551fd7,null));}))['then'](_0x280985=>{if(null===_0x37b55f)throw _0x1f6ef0;return _0x280985[_0x37b55f];});};var N$=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x303193,_0x1d491f){this['events'][_0x303193]?.['forEach'](_0x189476=>_0x189476(_0x1d491f));}['on'](_0x1b88f7,_0x20ced2){this['events'][_0x1b88f7]=this['events'][_0x1b88f7]||[],this['events'][_0x1b88f7]['push'](_0x20ced2);}['off'](_0x305986,_0x58c760){this['events'][_0x305986]=_0x58c760?this['events'][_0x305986]['filter'](_0x474d4f=>_0x474d4f!==_0x58c760):[];}}class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x4d6c57,_0x5d89ba=0x7530){this['key']=_0x4d6c57,this['disconnectTime']=_0x5d89ba;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x198352='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new N$(_0x198352),this['ws']['addEventListener']('error',_0x300589=>{this['emmitter']['emit']('error',new Error(_0x300589['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x59fd91=>this['send'](_0x59fd91['event'],_0x59fd91['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x134f30=>{const _0x3008e2=JSON['parse'](_0x134f30['data']['toString']());switch(_0x3008e2['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'](_0x3008e2['channel'],((_0x40f27b,_0x122311)=>'success'===_0x40f27b?{'status':C$['Success'],..._0x122311}:'progress'===_0x40f27b?{'status':C$['Progress'],..._0x122311}:{'status':C$['Error'],..._0x122311})(_0x3008e2['event'],JSON['parse'](_0x3008e2['data'])));}});}}['disconnect'](){const _0x46811e=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x46811e();},this['disconnectTime']):_0x46811e();}['send'](_0x1c93db,_0x46b25f){const _0x4b868f=JSON['stringify']({'event':_0x1c93db,'data':_0x46b25f});this['ws']?.['send'](_0x4b868f);}['subscribe'](_0x2dc717,_0x18036a){this['subscribers']+=0x1,this['connect']();const _0x48bd1f='task-status-'+_0x2dc717,_0x21f7db={'event':'pusher:subscribe','data':{'channel':_0x48bd1f}};this['emmitter']['on'](_0x48bd1f,_0x18036a),this['isConnected']?this['send'](_0x21f7db['event'],_0x21f7db['data']):this['queue']['push'](_0x21f7db);}['unsubscribe'](_0x731f70){this['subscribers']-=0x1;const _0x191481='task-status-'+_0x731f70,_0x17b008={'event':'pusher:unsubscribe','data':{'channel':_0x191481}};this['emmitter']['off'](_0x191481),this['isConnected']?this['send'](_0x17b008['event'],_0x17b008['data']):this['queue']=this['queue']['filter'](_0x532a91=>_0x532a91['data']['channel']!==_0x191481),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x28f355){return this['emmitter']['on']('error',_0x28f355),()=>this['emmitter']['off']('error',_0x28f355);}}let L$=null;const D$=_0x340b66=>{if(!L$){const _0x12f8aa='undefined'==typeof window?0x0:0x7530;L$=new Pusher(_0x340b66,_0x12f8aa);}return L$;},Q$=(_0x483c51,{publicKey:_0x430230,fileName:_0x157df7,baseURL:_0x55440a,baseCDN:_0x2f604a,checkForUrlDuplicates:_0x103d61,saveUrlForRecurrentUploads:_0x3c5e5b,secureSignature:_0x247936,secureExpire:_0x37f030,store:_0x33d950,signal:_0x41800a,onProgress:_0x28a13d,source:_0xfb3b1d,integration:_0x30528b,userAgent:_0x1e9915,retryThrottledRequestMaxTimes:_0x312251,pusherKey:_0x6aa13f=h$,metadata:_0x2b7450})=>{return Promise['resolve']((_0x510199=_0x6aa13f,void D$(_0x510199)['connect']()))['then'](()=>function(_0x3a400e,{publicKey:_0x148282,baseURL:_0x8c8157=n$,store:_0x3abb9a,fileName:_0x2a5ddd,checkForUrlDuplicates:_0x407526,saveUrlForRecurrentUploads:_0xde353a,secureSignature:_0x4f2c23,secureExpire:_0x2f6b81,source:_0x3d5309='url',signal:_0x9ec461,integration:_0x56f9b3,userAgent:_0x36409d,retryThrottledRequestMaxTimes:_0x1ca936=r$,retryNetworkErrorMaxTimes:_0x25c76a=o$,metadata:_0x4a2075}){return T$(()=>f$({'method':'POST','headers':{'X-UC-User-Agent':v$({'publicKey':_0x148282,'integration':_0x56f9b3,'userAgent':_0x36409d})},'url':_$(_0x8c8157,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x148282,'source_url':_0x3a400e,'store':I$(_0x3abb9a),'filename':_0x2a5ddd,'check_URL_duplicates':_0x407526?0x1:void 0x0,'save_URL_duplicates':_0xde353a?0x1:void 0x0,'signature':_0x4f2c23,'expire':_0x2f6b81,'source':_0x3d5309,'metadata':_0x4a2075}),'signal':_0x9ec461})['then'](({data:_0xb359a6,headers:_0x5dab5a,request:_0x2aee46})=>{const _0x12ebc6=YQ(JSON['parse'](_0xb359a6));if('error'in _0x12ebc6)throw new UploadError(_0x12ebc6['error']['content'],_0x12ebc6['error']['errorCode'],_0x2aee46,_0x12ebc6,_0x5dab5a);return _0x12ebc6;}),{'retryNetworkErrorMaxTimes':_0x25c76a,'retryThrottledRequestMaxTimes':_0x1ca936});}(_0x483c51,{'publicKey':_0x430230,'fileName':_0x157df7,'baseURL':_0x55440a,'checkForUrlDuplicates':_0x103d61,'saveUrlForRecurrentUploads':_0x3c5e5b,'secureSignature':_0x247936,'secureExpire':_0x37f030,'store':_0x33d950,'signal':_0x41800a,'source':_0xfb3b1d,'integration':_0x30528b,'userAgent':_0x1e9915,'retryThrottledRequestMaxTimes':_0x312251,'metadata':_0x2b7450}))['catch'](_0x4a0ffe=>{const _0x176e55=D$(_0x6aa13f);return _0x176e55?.['disconnect'](),Promise['reject'](_0x4a0ffe);})['then'](_0x42f865=>_0x42f865['type']===S$['FileInfo']?_0x42f865:M$([({signal:_0x157215})=>function({token:_0x430978,publicKey:_0x2861b7,baseURL:_0x52ce99,integration:_0x20d7c3,userAgent:_0x3d97d9,retryThrottledRequestMaxTimes:_0x4decb4,retryNetworkErrorMaxTimes:_0x194d9d,onProgress:_0x2b593a,signal:_0x1ba28e}){return i$({'check':_0x123345=>k$(_0x430978,{'publicKey':_0x2861b7,'baseURL':_0x52ce99,'integration':_0x20d7c3,'userAgent':_0x3d97d9,'retryThrottledRequestMaxTimes':_0x4decb4,'retryNetworkErrorMaxTimes':_0x194d9d,'signal':_0x123345})['then'](_0x4017e1=>{switch(_0x4017e1['status']){case C$['Error']:return new UploadError(_0x4017e1['error'],_0x4017e1['errorCode']);case C$['Waiting']:return!0x1;case C$['Unknown']:return new UploadError('Token\x20\x22'+_0x430978+'\x22\x20was\x20not\x20found.');case C$['Progress']:return _0x2b593a&&('unknown'===_0x4017e1['total']?_0x2b593a({'isComputable':!0x1}):_0x2b593a({'isComputable':!0x0,'value':_0x4017e1['done']/_0x4017e1['total']})),!0x1;case C$['Success']:return _0x2b593a&&_0x2b593a({'isComputable':!0x0,'value':_0x4017e1['done']/_0x4017e1['total']}),_0x4017e1;default:throw new Error('Unknown\x20status');}}),'signal':_0x1ba28e});}({'token':_0x42f865['token'],'publicKey':_0x430230,'baseURL':_0x55440a,'integration':_0x30528b,'userAgent':_0x1e9915,'retryThrottledRequestMaxTimes':_0x312251,'onProgress':_0x28a13d,'signal':_0x157215}),({signal:_0x4e7662})=>(({token:_0x3bef61,pusherKey:_0x1790e4,signal:_0x550d2d,onProgress:_0x42e78c})=>new Promise((_0x17ae82,_0x2cd858)=>{const _0xbbb747=D$(_0x1790e4),_0x3c9213=_0xbbb747['onError'](_0x2cd858),_0x30bc9c=()=>{_0x3c9213(),_0xbbb747['unsubscribe'](_0x3bef61);};e$(_0x550d2d,()=>{_0x30bc9c(),_0x2cd858(new CancelError('pusher\x20cancelled'));}),_0xbbb747['subscribe'](_0x3bef61,_0x337e07=>{switch(_0x337e07['status']){case C$['Progress']:_0x42e78c&&('unknown'===_0x337e07['total']?_0x42e78c({'isComputable':!0x1}):_0x42e78c({'isComputable':!0x0,'value':_0x337e07['done']/_0x337e07['total']}));break;case C$['Success']:_0x30bc9c(),_0x42e78c&&_0x42e78c({'isComputable':!0x0,'value':_0x337e07['done']/_0x337e07['total']}),_0x17ae82(_0x337e07);break;case C$['Error']:_0x30bc9c(),_0x2cd858(new UploadError(_0x337e07['msg'],_0x337e07['error_code']));}});}))({'token':_0x42f865['token'],'pusherKey':_0x6aa13f,'signal':_0x4e7662,'onProgress':_0x28a13d})],{'signal':_0x41800a}))['then'](_0x1c4770=>{if(_0x1c4770 instanceof UploadError)throw _0x1c4770;return _0x1c4770;})['then'](_0x265d28=>R$(_0x265d28['uuid'],{'publicKey':_0x430230,'baseURL':_0x55440a,'integration':_0x30528b,'userAgent':_0x1e9915,'retryThrottledRequestMaxTimes':_0x312251,'onProgress':_0x28a13d,'signal':_0x41800a}))['then'](_0x181ee5=>new UploadcareFile(_0x181ee5,{'baseCDN':_0x2f604a}));var _0x510199;},$$=new WeakMap(),V$=async _0x3aab05=>{if(p$(_0x3aab05)||g$(_0x3aab05))return _0x3aab05['size'];if(O$(_0x3aab05))return(await(async _0x284b2c=>{if($$['has'](_0x284b2c))return $$['get'](_0x284b2c);const _0x4f76ae=await fetch(_0x284b2c['uri'])['then'](_0xdf25f5=>_0xdf25f5['blob']());return $$['set'](_0x284b2c,_0x4f76ae),_0x4f76ae;})(_0x3aab05))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},U$=_0x48eb05=>{const _0x2edefd=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!w$(_0x48eb05)&&_0x2edefd['test'](_0x48eb05);},B$=_0x408065=>{const _0x58bafc=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!w$(_0x408065)&&_0x58bafc['test'](_0x408065);},F$=async(_0x34d8e9,_0x237e0e,_0x4cdfb6)=>_0x5bdee2=>((_0x18a14e,_0x1d9025,_0x4f48dc,_0x3bc0bf)=>{const _0x8bef9d=_0x3bc0bf*_0x1d9025,_0x476a27=Math['min'](_0x8bef9d+_0x3bc0bf,_0x4f48dc);return _0x18a14e['slice'](_0x8bef9d,_0x476a27);})(_0x34d8e9,_0x5bdee2,_0x237e0e,_0x4cdfb6),j$=(_0x27724f,_0x298e30,{publicKey:_0x43a6bc,contentType:_0x5c9dcb,onProgress:_0xe5ec34,signal:_0x3a1753,integration:_0xa92e9a,retryThrottledRequestMaxTimes:_0x4ffb13,retryNetworkErrorMaxTimes:_0x4b6683})=>function(_0x50b43a,_0x2a1b23,{contentType:_0x73eab2,signal:_0x34981a,onProgress:_0x3f5c65,retryThrottledRequestMaxTimes:_0x50a018=r$,retryNetworkErrorMaxTimes:_0x1390a9=o$}){return T$(()=>f$({'method':'PUT','url':_0x2a1b23,'data':_0x50b43a,'onProgress':_0x3f5c65,'signal':_0x34981a,'headers':{'Content-Type':_0x73eab2||u$}})['then'](_0x47203a=>(_0x3f5c65&&_0x3f5c65({'isComputable':!0x0,'value':0x1}),_0x47203a))['then'](({status:_0x540199})=>({'code':_0x540199})),{'retryThrottledRequestMaxTimes':_0x50a018,'retryNetworkErrorMaxTimes':_0x1390a9});}(_0x27724f,_0x298e30,{'contentType':_0x5c9dcb,'onProgress':_0xe5ec34,'signal':_0x3a1753,'retryThrottledRequestMaxTimes':_0x4ffb13,'retryNetworkErrorMaxTimes':_0x4b6683}),H$=async(_0x4165db,{publicKey:_0x198e8b,fileName:_0x3c7d53,fileSize:_0x3ef507,baseURL:_0x307ebc,secureSignature:_0x237061,secureExpire:_0xf4f0eb,store:_0x4a4430,signal:_0xa07231,onProgress:_0x56185b,source:_0x47213e,integration:_0x2cfaca,userAgent:_0x470424,retryThrottledRequestMaxTimes:_0x13ae02,retryNetworkErrorMaxTimes:_0x591dd4,contentType:_0x2f609d,multipartChunkSize:_0x588d3f=c$,maxConcurrentRequests:_0x10337a=l$,baseCDN:_0x268453,metadata:_0x692b78})=>{const _0x29b14e=_0x3ef507??await V$(_0x4165db);let _0x49519c;const _0x56ebf3=(_0x524508,_0x5d571f)=>{if(!_0x56185b)return;_0x49519c||(_0x49519c=Array(_0x524508)['fill'](0x0));const _0x3099d4=_0x43a65a=>_0x43a65a['reduce']((_0x55952c,_0x5ecf04)=>_0x55952c+_0x5ecf04,0x0);return _0x56e643=>{_0x56e643['isComputable']&&(_0x49519c[_0x5d571f]=_0x56e643['value'],_0x56185b({'isComputable':!0x0,'value':_0x3099d4(_0x49519c)/_0x524508}));};};return _0x2f609d||=E$(_0x4165db),function(_0x56992a,{publicKey:_0x4a9f1c,contentType:_0x36a830,fileName:_0x247dbb,multipartChunkSize:_0x332051=c$,baseURL:_0x333a5b='',secureSignature:_0xcdb2eb,secureExpire:_0x4520c8,store:_0x595075,signal:_0x121f38,source:_0x12dc80='local',integration:_0x589de2,userAgent:_0x2db514,retryThrottledRequestMaxTimes:_0x4bf55b=r$,retryNetworkErrorMaxTimes:_0x2ac402=o$,metadata:_0x1f601c}){return T$(()=>f$({'method':'POST','url':_$(_0x333a5b,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':v$({'publicKey':_0x4a9f1c,'integration':_0x589de2,'userAgent':_0x2db514})},'data':y$({'filename':_0x247dbb||d$,'size':_0x56992a,'content_type':_0x36a830||u$,'part_size':_0x332051,'UPLOADCARE_STORE':I$(_0x595075),'UPLOADCARE_PUB_KEY':_0x4a9f1c,'signature':_0xcdb2eb,'expire':_0x4520c8,'source':_0x12dc80,'metadata':_0x1f601c}),'signal':_0x121f38})['then'](({data:_0x26db98,headers:_0x45e8f5,request:_0x1be05a})=>{const _0x416e4=YQ(JSON['parse'](_0x26db98));if('error'in _0x416e4)throw new UploadError(_0x416e4['error']['content'],_0x416e4['error']['errorCode'],_0x1be05a,_0x416e4,_0x45e8f5);return _0x416e4['parts']=Object['keys'](_0x416e4['parts'])['map'](_0x355a3a=>_0x416e4['parts'][Number(_0x355a3a)]),_0x416e4;}),{'retryThrottledRequestMaxTimes':_0x4bf55b,'retryNetworkErrorMaxTimes':_0x2ac402});}(_0x29b14e,{'publicKey':_0x198e8b,'contentType':_0x2f609d,'fileName':_0x3c7d53||A$(_0x4165db),'baseURL':_0x307ebc,'secureSignature':_0x237061,'secureExpire':_0xf4f0eb,'store':_0x4a4430,'signal':_0xa07231,'source':_0x47213e,'integration':_0x2cfaca,'userAgent':_0x470424,'retryThrottledRequestMaxTimes':_0x13ae02,'retryNetworkErrorMaxTimes':_0x591dd4,'metadata':_0x692b78,'multipartChunkSize':_0x588d3f})['then'](async({uuid:_0x94e643,parts:_0x5649bd})=>{const _0x5cb3b3=await F$(_0x4165db,_0x29b14e,_0x588d3f);return Promise['all']([_0x94e643,(_0x435e5c=_0x10337a,_0x3a8366=_0x5649bd['map']((_0x21058a,_0x417511)=>()=>j$(_0x5cb3b3(_0x417511),_0x21058a,{'publicKey':_0x198e8b,'contentType':_0x2f609d,'onProgress':_0x56ebf3(_0x5649bd['length'],_0x417511),'signal':_0xa07231,'integration':_0x2cfaca,'retryThrottledRequestMaxTimes':_0x13ae02,'retryNetworkErrorMaxTimes':_0x591dd4})),new Promise((_0x1d07d6,_0x53d611)=>{const _0x5aa6ff=[];let _0x653f63=!0x1,_0x137ed6=_0x3a8366['length'];const _0xa45b4f=[..._0x3a8366],_0x5c2afb=()=>{const _0x404032=_0x3a8366['length']-_0xa45b4f['length'],_0x2dc9e6=_0xa45b4f['shift']();_0x2dc9e6&&_0x2dc9e6()['then'](_0x5597a2=>{_0x653f63||(_0x5aa6ff[_0x404032]=_0x5597a2,_0x137ed6-=0x1,_0x137ed6?_0x5c2afb():_0x1d07d6(_0x5aa6ff));})['catch'](_0x50a0e6=>{_0x653f63=!0x0,_0x53d611(_0x50a0e6);});};for(let _0x4d0851=0x0;_0x4d0851<_0x435e5c;_0x4d0851++)_0x5c2afb();}))]);var _0x435e5c,_0x3a8366;})['then'](([_0x36554d])=>function(_0x4e10e7,{publicKey:_0x5baa99,baseURL:_0x397c7a=n$,source:_0x4de898='local',signal:_0x556894,integration:_0x33ccc8,userAgent:_0x1c68fd,retryThrottledRequestMaxTimes:_0x29d3b6=r$,retryNetworkErrorMaxTimes:_0x8e83ae=o$}){return T$(()=>f$({'method':'POST','url':_$(_0x397c7a,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':v$({'publicKey':_0x5baa99,'integration':_0x33ccc8,'userAgent':_0x1c68fd})},'data':y$({'uuid':_0x4e10e7,'UPLOADCARE_PUB_KEY':_0x5baa99,'source':_0x4de898}),'signal':_0x556894})['then'](({data:_0x5437c6,headers:_0x3c5dc5,request:_0x55dc63})=>{const _0xe8f5c7=YQ(JSON['parse'](_0x5437c6));if('error'in _0xe8f5c7)throw new UploadError(_0xe8f5c7['error']['content'],_0xe8f5c7['error']['errorCode'],_0x55dc63,_0xe8f5c7,_0x3c5dc5);return _0xe8f5c7;}),{'retryThrottledRequestMaxTimes':_0x29d3b6,'retryNetworkErrorMaxTimes':_0x8e83ae});}(_0x36554d,{'publicKey':_0x198e8b,'baseURL':_0x307ebc,'source':_0x47213e,'integration':_0x2cfaca,'userAgent':_0x470424,'retryThrottledRequestMaxTimes':_0x13ae02,'retryNetworkErrorMaxTimes':_0x591dd4}))['then'](_0x437afc=>_0x437afc['isReady']?_0x437afc:R$(_0x437afc['uuid'],{'publicKey':_0x198e8b,'baseURL':_0x307ebc,'source':_0x47213e,'integration':_0x2cfaca,'userAgent':_0x470424,'retryThrottledRequestMaxTimes':_0x13ae02,'retryNetworkErrorMaxTimes':_0x591dd4,'onProgress':_0x56185b,'signal':_0xa07231}))['then'](_0x1e0e87=>new UploadcareFile(_0x1e0e87,{'baseCDN':_0x268453}));};async function G$(_0x23279f,{publicKey:_0x52e728,fileName:_0x80d614,baseURL:_0xf31ec7=n$,secureSignature:_0x52c6dd,secureExpire:_0x4a78fa,store:_0x5e376b,signal:_0x5d8f9b,onProgress:_0x410316,source:_0x4fbba2,integration:_0x2fc569,userAgent:_0x257445,retryThrottledRequestMaxTimes:_0x4703dd,retryNetworkErrorMaxTimes:_0x47ee34,contentType:_0x4cf74b,multipartMinFileSize:_0xdf8b7a,multipartChunkSize:_0x569155,maxConcurrentRequests:_0x1832c1,baseCDN:_0x3364a5=s$,checkForUrlDuplicates:_0x5040d6,saveUrlForRecurrentUploads:_0x2768de,pusherKey:_0x15db85,metadata:_0x1f27a1}){if(w$(_0x23279f)){const _0x23f2d9=await V$(_0x23279f);return((_0x138286,_0x339a3d=a$)=>_0x138286>=_0x339a3d)(_0x23f2d9,_0xdf8b7a)?H$(_0x23279f,{'publicKey':_0x52e728,'contentType':_0x4cf74b,'multipartChunkSize':_0x569155,'fileSize':_0x23f2d9,'fileName':_0x80d614,'baseURL':_0xf31ec7,'secureSignature':_0x52c6dd,'secureExpire':_0x4a78fa,'store':_0x5e376b,'signal':_0x5d8f9b,'onProgress':_0x410316,'source':_0x4fbba2,'integration':_0x2fc569,'userAgent':_0x257445,'maxConcurrentRequests':_0x1832c1,'retryThrottledRequestMaxTimes':_0x4703dd,'retryNetworkErrorMaxTimes':_0x47ee34,'baseCDN':_0x3364a5,'metadata':_0x1f27a1}):P$(_0x23279f,{'publicKey':_0x52e728,'fileName':_0x80d614,'contentType':_0x4cf74b,'baseURL':_0xf31ec7,'secureSignature':_0x52c6dd,'secureExpire':_0x4a78fa,'store':_0x5e376b,'signal':_0x5d8f9b,'onProgress':_0x410316,'source':_0x4fbba2,'integration':_0x2fc569,'userAgent':_0x257445,'retryThrottledRequestMaxTimes':_0x4703dd,'retryNetworkErrorMaxTimes':_0x47ee34,'baseCDN':_0x3364a5,'metadata':_0x1f27a1});}if(B$(_0x23279f))return Q$(_0x23279f,{'publicKey':_0x52e728,'fileName':_0x80d614,'baseURL':_0xf31ec7,'baseCDN':_0x3364a5,'checkForUrlDuplicates':_0x5040d6,'saveUrlForRecurrentUploads':_0x2768de,'secureSignature':_0x52c6dd,'secureExpire':_0x4a78fa,'store':_0x5e376b,'signal':_0x5d8f9b,'onProgress':_0x410316,'source':_0x4fbba2,'integration':_0x2fc569,'userAgent':_0x257445,'retryThrottledRequestMaxTimes':_0x4703dd,'pusherKey':_0x15db85,'metadata':_0x1f27a1});if(U$(_0x23279f))return((_0x19e3ab,{publicKey:_0x5ef760,fileName:_0x2d6049,baseURL:_0x79d044,signal:_0x518bba,onProgress:_0x3c7133,source:_0x42465a,integration:_0x470771,userAgent:_0x56c6cd,retryThrottledRequestMaxTimes:_0x4a093a,retryNetworkErrorMaxTimes:_0x43831f,baseCDN:_0x119569})=>x$(_0x19e3ab,{'publicKey':_0x5ef760,'baseURL':_0x79d044,'signal':_0x518bba,'source':_0x42465a,'integration':_0x470771,'userAgent':_0x56c6cd,'retryThrottledRequestMaxTimes':_0x4a093a,'retryNetworkErrorMaxTimes':_0x43831f})['then'](_0x4373c9=>new UploadcareFile(_0x4373c9,{'baseCDN':_0x119569,'fileName':_0x2d6049}))['then'](_0x2b8f52=>(_0x3c7133&&_0x3c7133({'isComputable':!0x0,'value':0x1}),_0x2b8f52)))(_0x23279f,{'publicKey':_0x52e728,'fileName':_0x80d614,'baseURL':_0xf31ec7,'signal':_0x5d8f9b,'onProgress':_0x410316,'source':_0x4fbba2,'integration':_0x2fc569,'userAgent':_0x257445,'retryThrottledRequestMaxTimes':_0x4703dd,'retryNetworkErrorMaxTimes':_0x47ee34,'baseCDN':_0x3364a5});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x23279f+'\x22\x20is\x20not\x20supported');}class UploadcareGroup{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x53fe1d,{baseCDN:_0x4b4a65=s$}={}){this['uuid']=_0x53fe1d['id'],this['filesCount']=_0x53fe1d['filesCount'];const _0x4889c2=_0x53fe1d['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x4889c2)['reduce']((_0x1e1fc8,_0x4b5101)=>_0x1e1fc8+_0x4b5101['size'],0x0),this['isStored']=!!_0x53fe1d['datetimeStored'],this['isImage']=!!Object['values'](_0x4889c2)['filter'](_0x5724c3=>_0x5724c3['isImage'])['length'],this['cdnUrl']=_0x53fe1d['cdnUrl'],this['files']=_0x4889c2['map'](_0x16dc72=>new UploadcareFile(_0x16dc72,{'baseCDN':_0x4b4a65})),this['createdAt']=_0x53fe1d['datetimeCreated'],this['storedAt']=_0x53fe1d['datetimeStored'];}}function Z$(_0xaa3bc9,{publicKey:_0x3dc0ae,fileName:_0x48c424,baseURL:_0x3f8e11=n$,secureSignature:_0x3287e8,secureExpire:_0x1a36e9,store:_0x5d78ff,signal:_0x5d03ff,onProgress:_0x56b40d,source:_0x172984,integration:_0xd0264a,userAgent:_0x3eaaeb,retryThrottledRequestMaxTimes:_0x5f0f21,retryNetworkErrorMaxTimes:_0x5d3d75,contentType:_0x57f249,multipartChunkSize:_0x185c91=c$,baseCDN:_0x50d0ef=s$,checkForUrlDuplicates:_0x516a42,saveUrlForRecurrentUploads:_0x32dcc2,jsonpCallback:_0x46dc0b}){if(!(_0x5d77b4=>{for(const _0x3e5fcc of _0x5d77b4)if(!w$(_0x3e5fcc))return!0x1;return!0x0;})(_0xaa3bc9)&&!(_0x43d156=>{for(const _0x4bd731 of _0x43d156)if(!B$(_0x4bd731))return!0x1;return!0x0;})(_0xaa3bc9)&&!(_0x6d06ac=>{for(const _0x1bccb9 of _0x6d06ac)if(!U$(_0x1bccb9))return!0x1;return!0x0;})(_0xaa3bc9))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0xaa3bc9+'\x22\x20is\x20not\x20supported');let _0x5e2ed3,_0x21c7fa=!0x0;const _0x3643d2=_0xaa3bc9['length'],_0x3807c8=(_0x55ad3f,_0x40a3ff)=>{if(!_0x56b40d)return;_0x5e2ed3||(_0x5e2ed3=Array(_0x55ad3f)['fill'](0x0));const _0x5090a5=_0x5b81db=>_0x5b81db['reduce']((_0x14cfbf,_0x368595)=>_0x14cfbf+_0x368595)/_0x55ad3f;return _0x18b3a3=>{if(!_0x18b3a3['isComputable']||!_0x21c7fa)return _0x21c7fa=!0x1,void _0x56b40d({'isComputable':!0x1});_0x5e2ed3[_0x40a3ff]=_0x18b3a3['value'],_0x56b40d({'isComputable':!0x0,'value':_0x5090a5(_0x5e2ed3)});};};return Promise['all'](_0xaa3bc9['map']((_0x129a2f,_0x45f75e)=>w$(_0x129a2f)||B$(_0x129a2f)?G$(_0x129a2f,{'publicKey':_0x3dc0ae,'fileName':_0x48c424,'baseURL':_0x3f8e11,'secureSignature':_0x3287e8,'secureExpire':_0x1a36e9,'store':_0x5d78ff,'signal':_0x5d03ff,'onProgress':_0x3807c8(_0x3643d2,_0x45f75e),'source':_0x172984,'integration':_0xd0264a,'userAgent':_0x3eaaeb,'retryThrottledRequestMaxTimes':_0x5f0f21,'retryNetworkErrorMaxTimes':_0x5d3d75,'contentType':_0x57f249,'multipartChunkSize':_0x185c91,'baseCDN':_0x50d0ef,'checkForUrlDuplicates':_0x516a42,'saveUrlForRecurrentUploads':_0x32dcc2})['then'](_0x8a6fa9=>_0x8a6fa9['uuid']):_0x129a2f))['then'](_0x359a8b=>function(_0x54252c,{publicKey:_0x13731e,baseURL:_0x5170d0=n$,jsonpCallback:_0x66ce95,secureSignature:_0x47ccce,secureExpire:_0x593efa,signal:_0x43cb3d,source:_0x3cadf1,integration:_0xdcd704,userAgent:_0x2aa704,retryThrottledRequestMaxTimes:_0xe53c39=r$,retryNetworkErrorMaxTimes:_0x361a27=o$}){return T$(()=>f$({'method':'POST','headers':{'X-UC-User-Agent':v$({'publicKey':_0x13731e,'integration':_0xdcd704,'userAgent':_0x2aa704})},'url':_$(_0x5170d0,'/group/',{'jsonerrors':0x1}),'data':y$({'files':_0x54252c,'callback':_0x66ce95,'pub_key':_0x13731e,'signature':_0x47ccce,'expire':_0x593efa,'source':_0x3cadf1}),'signal':_0x43cb3d})['then'](({data:_0x5d1968,headers:_0x3d4641,request:_0x3c9d05})=>{const _0xfc2644=YQ(JSON['parse'](_0x5d1968));if('error'in _0xfc2644)throw new UploadError(_0xfc2644['error']['content'],_0xfc2644['error']['errorCode'],_0x3c9d05,_0xfc2644,_0x3d4641);return _0xfc2644;}),{'retryNetworkErrorMaxTimes':_0x361a27,'retryThrottledRequestMaxTimes':_0xe53c39});}(_0x359a8b,{'publicKey':_0x3dc0ae,'baseURL':_0x3f8e11,'jsonpCallback':_0x46dc0b,'secureSignature':_0x3287e8,'secureExpire':_0x1a36e9,'signal':_0x5d03ff,'source':_0x172984,'integration':_0xd0264a,'userAgent':_0x3eaaeb,'retryThrottledRequestMaxTimes':_0x5f0f21,'retryNetworkErrorMaxTimes':_0x5d3d75})['then'](_0x98d635=>new UploadcareGroup(_0x98d635,{'baseCDN':_0x50d0ef}))['then'](_0x30b270=>(_0x56b40d&&_0x56b40d({'isComputable':!0x0,'value':0x1}),_0x30b270)));}class Queue{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x36209a){this['_concurrency']=_0x36209a;}['run'](){const _0x44d56f=this['_concurrency']-this['_running'];for(let _0x3e5052=0x0;_0x3e5052<_0x44d56f;_0x3e5052++){const _0x5d1b2f=this['_pending']['shift']();if(!_0x5d1b2f)return;const _0x383ca9=this['_resolvers']['get'](_0x5d1b2f),_0x3ce883=this['_rejectors']['get'](_0x5d1b2f);if(!_0x383ca9||!_0x3ce883)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x5d1b2f()['finally'](()=>{this['_resolvers']['delete'](_0x5d1b2f),this['_rejectors']['delete'](_0x5d1b2f),this['_running']-=0x1,this['run']();})['then'](_0x1d1db1=>_0x383ca9(_0x1d1db1))['catch'](_0x4f68c1=>_0x3ce883(_0x4f68c1));}}['add'](_0x1814cd,{autoRun:_0x471763}={'autoRun':!0x0}){return new Promise((_0x1b49ce,_0x4959f1)=>{this['_resolvers']['set'](_0x1814cd,_0x1b49ce),this['_rejectors']['set'](_0x1814cd,_0x4959f1),this['_pending']['push'](_0x1814cd),_0x471763&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x4ba173){this['_concurrency']=_0x4ba173,this['run']();}get['concurrency'](){return this['_concurrency'];}}const X$={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function q$(_0x365d1b,_0x16c24c){_0x16c24c['tabIndex']=0x0,_0x16c24c['focus'](),_0x365d1b['tabIndex']=-0x1;}function W$(_0x401ecb){let _0x13ca5b=_0x401ecb['role']||_0x401ecb['type']||_0x401ecb['tagName'];if(!_0x13ca5b)return null;let _0x56b4af=X$[_0x13ca5b['toLowerCase']()];if(!_0x56b4af)return null;for(let _0x305a8a of _0x56b4af){let _0x161814=_0x401ecb['closest']('[role='+_0x305a8a+']');if(_0x161814)return _0x161814;}}function z$(_0xd17f6d,_0x623520){return'toolbar'===_0x623520['role']?function(_0x4d3a44){let _0x35b3a4=[..._0x4d3a44['querySelectorAll']('*')];return _0x35b3a4['filter'](_0x3b0a80=>'button'===_0x3b0a80['role']||'button'===_0x3b0a80['type']||'checkbox'===_0x3b0a80['role']||'checkbox'===_0x3b0a80['type']);}(_0x623520):_0x623520['querySelectorAll']('[role='+_0xd17f6d['role']+']');}function Y$(){return _0x4010c1=>{let _0x3a6901=[];function _0x1beb33(){let _0x52880b=_0x3a6901['pop']();if(!_0x52880b)return void _0x4010c1['document']['activeElement']['blur']();let _0x5bcce4=_0x52880b['deref']();_0x5bcce4&&_0x5bcce4['isConnected']?_0x5bcce4['focus']():_0x1beb33();}let _0x3db4e2,_0x3a0253=0x0;function _0x5d3811(_0x50e643){clearInterval(_0x3db4e2);let _0x44c712=_0x50e643['getAttribute']('aria-controls');_0x3db4e2=setInterval(()=>{if(_0x3a0253++>0x32)return void clearInterval(_0x3db4e2);let _0x18833e=_0x4010c1['document']['getElementById'](_0x44c712);if(_0x18833e){let _0x4acfca=_0x18833e['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4acfca&&(clearInterval(_0x3db4e2),_0x18833e['dispatchEvent'](new _0x4010c1['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x4956a8){let _0x44887b=_0x4010c1['document']['activeElement'];_0x44887b&&_0x44887b!==_0x4010c1['document']['body']&&_0x3a6901['push'](new WeakRef(_0x44887b)),_0x4956a8['focus']({'focusVisible':!0x0});}(_0x4acfca));}},0x32);}function _0x4e9a0e(_0x5451c2){_0x5451c2['target']['getAttribute']('aria-controls')&&'Enter'===_0x5451c2['key']&&_0x5d3811(_0x5451c2['target']),'Escape'===_0x5451c2['key']&&_0x1beb33();}return _0x4010c1['addEventListener']('keydown',_0x4e9a0e),()=>{_0x4010c1['removeEventListener']('keydown',_0x4e9a0e);};};}function K$(_0x3e510f){let _0x47b405,_0x189686,_0xa6d8d5=_0x3e510f['split']('\x20');function _0x3c06bf(_0x2283a3){'Enter'!==_0x2283a3['key']||'BUTTON'!==_0x2283a3['target']['tagName']&&'A'!==_0x2283a3['target']['tagName']||(_0x39556a(),_0x2283a3['target']['classList']['add'](..._0xa6d8d5),_0x47b405=_0x2283a3['target'],_0x189686=_0x2283a3['target']);}function _0x39556a(){_0x47b405&&_0x47b405['classList']['remove'](..._0xa6d8d5),_0x189686=null;}function _0x117fba(_0x43ee34){0x0===_0x43ee34['clientX']&&0x0===_0x43ee34['clientY']&&_0x189686!==_0x43ee34['target']&&(_0x39556a(),_0x43ee34['target']['classList']['add'](..._0xa6d8d5),_0x47b405=_0x43ee34['target']);}return _0x224d5c=>(_0x224d5c['addEventListener']('click',_0x117fba),_0x224d5c['addEventListener']('keydown',_0x3c06bf),_0x224d5c['addEventListener']('keyup',_0x39556a),()=>{_0x224d5c['removeEventListener']('click',_0x117fba),_0x224d5c['removeEventListener']('keydown',_0x3c06bf),_0x224d5c['removeEventListener']('keyup',_0x39556a);});}function J$(_0x320646){return Array['isArray'](_0x320646)?_0x320646['map'](_0x5464e5=>'object'==typeof _0x5464e5&&null!==_0x5464e5?J$(_0x5464e5):_0x5464e5):'object'!=typeof _0x320646||null===_0x320646?_0x320646:Object['fromEntries'](Object['entries'](_0x320646)['map'](([_0x48f837,_0x16cbe8])=>{const t=function(_0x4f2667){return _0x4f2667['replace'](/[A-Z]/g,_0x1ab30e=>'_'+_0x1ab30e['toLowerCase']())['replace'](/__/g,'_');}(_0x48f837);return'object'==typeof _0x16cbe8&&null!==_0x16cbe8?[t,J$(_0x16cbe8)]:[t,_0x16cbe8];}));}function tV(_0x1e2074){return{'ok':!0x1,'error':_0x1e2074};}class y{constructor(_0x2814d6='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x2814d6;}async['base'](_0x1e68be,_0x48b38d={}){const t=''+this['baseUrl']+_0x1e68be;try{const _0x30e302=await fetch(t,_0x48b38d);if(!_0x30e302['ok'])return tV(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x30e302['status']['toString']()));try{const _0x1863a8=await _0x30e302['json']();return{'ok':!0x0,'value':_0x1863a8};}catch(_0x3a6431){return tV(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x3a6431));}}catch(_0x529d99){return tV(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x529d99));}}async['post'](_0x37dc29,_0x1c445f,t={}){return await this['base'](_0x37dc29,{...t,'method':'POST','body':JSON['stringify'](J$(_0x1c445f)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x2939d3,_0x437eaf={}){return await this['base'](_0x2939d3,{'method':'GET',..._0x437eaf});}}class p extends y{constructor(){super();}async['sendEvent'](_0x3ba6d7,_0xc646df){const t=await(async(_0x5f1893,_0x4d9505)=>({'success':!0x0,'data':_0x4d9505}))(0x0,_0x3ba6d7);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',_0x3ba6d7,_0xc646df);}}const eV=_0x4f115f=>{if(_0x4f115f<=0x0n)return'0';let _0x9e13ac='';for(;_0x4f115f>0x0n;){_0x9e13ac='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x4f115f%0x24n)]+_0x9e13ac,_0x4f115f/=0x24n;}return _0x9e13ac;},iV=async _0x58aa3c=>{const _0x14a647=await(async _0x56e33a=>{const _0x24dbe4=new TextEncoder()['encode'](_0x56e33a),t=await window['crypto']['subtle']['digest']('SHA-256',_0x24dbe4),_0x4b7162=Array['from'](new Uint8Array(t))['map'](_0x413ace=>_0x413ace['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x4b7162);})(_0x58aa3c);return eV(_0x14a647)['slice'](0x0,0xa);},sV=async(_0x357614,_0x1eef9d)=>((_0x146c92,_0x890a06)=>{const _0x3b8985=new URL(_0x890a06);return _0x3b8985['hostname']=_0x146c92+'.'+_0x3b8985['hostname'],_0x3b8985['toString']()['replace'](/\/$/,'');})(await iV(_0x357614),_0x1eef9d),nV=()=>{const _0xa3995e=[];return{'stack':_0xa3995e,'promiseReadJpegChunks':_0x23c027=>new Promise((_0xbeeefe,_0xf7d89a)=>{let _0x57b18a=0x2;const _0xeef0ff=(_0x4192c7,_0x1403c2)=>{const _0x5d635c=new FileReader();_0x5d635c['addEventListener']('load',()=>{_0x1403c2(new DataView(_0x5d635c['result']));}),_0x5d635c['addEventListener']('error',_0x385c9f=>{_0xf7d89a('Reader\x20error:\x20'+_0x385c9f);}),_0x5d635c['readAsArrayBuffer'](_0x4192c7);},_0x1505b3=()=>_0xeef0ff(_0x23c027['slice'](_0x57b18a,_0x57b18a+0x80),_0x182dee=>{let _0x18b52a,_0x5cd57d,_0x30603e;for(_0x18b52a=_0x5cd57d=0x0,_0x30603e=_0x182dee['byteLength'];_0x30603e>=0x0?_0x5cd57d<_0x30603e:_0x5cd57d>_0x30603e;_0x18b52a=_0x30603e>=0x0?++_0x5cd57d:--_0x5cd57d)if(0xff===_0x182dee['getUint8'](_0x18b52a)){_0x57b18a+=_0x18b52a;break;}_0x5364f0();}),_0x5364f0=()=>{const _0x4f5342=_0x57b18a;return _0xeef0ff(_0x23c027['slice'](_0x57b18a,_0x57b18a+=0x4),_0x2b52bd=>{if(0x4!==_0x2b52bd['byteLength']||0xff!==_0x2b52bd['getUint8'](0x0))return void _0xf7d89a('Corrupted');const _0x44e323=_0x2b52bd['getUint8'](0x1);if(0xda===_0x44e323)return void _0xbeeefe(!0x0);const _0x1a4a36=_0x2b52bd['getUint16'](0x2)-0x2;return _0xeef0ff(_0x23c027['slice'](_0x57b18a,_0x57b18a+=_0x1a4a36),_0x3d84f3=>{_0x3d84f3['byteLength']===_0x1a4a36?(_0xa3995e['push']({'startPos':_0x4f5342,'length':_0x1a4a36,'marker':_0x44e323,'view':_0x3d84f3}),_0x1505b3()):_0xf7d89a('Corrupted');});});};FileReader&&DataView||_0xf7d89a('Not\x20Support'),_0xeef0ff(_0x23c027['slice'](0x0,0x2),_0x24581e=>{0xffd8!==_0x24581e['getUint16'](0x0)&&_0xf7d89a('Not\x20jpeg'),_0x1505b3();});})};},rV=async _0x45a6f0=>{const _0x382def=[],{promiseReadJpegChunks:_0x37ce46,stack:_0x264ba3}=nV();return await _0x37ce46(_0x45a6f0),_0x264ba3['forEach'](({marker:_0x4acd72,view:_0x5ec89f})=>{0xe2===_0x4acd72&&0x4943435f===_0x5ec89f['getUint32'](0x0)&&0x50524f46===_0x5ec89f['getUint32'](0x4)&&0x494c4500===_0x5ec89f['getUint32'](0x8)&&_0x382def['push'](_0x5ec89f);}),_0x382def;},oV=async(_0x2791f,_0x25e4e8,_0x3debe9)=>{{const _0x58f89e=[],_0x315fe7=[],{promiseReadJpegChunks:_0x55849c,stack:_0x420a14}=nV();await _0x55849c(_0x2791f),_0x420a14['forEach'](_0x12c929=>{if(_0x12c929['marker']===_0x25e4e8)return _0x58f89e['push'](_0x12c929['startPos']),_0x315fe7['push'](_0x12c929['length']);});const _0x90321d=[_0x2791f['slice'](0x0,0x2)];for(const _0x554547 of _0x3debe9){const _0x2e9105=new DataView(new ArrayBuffer(0x4));_0x2e9105['setUint16'](0x0,0xff00+_0x25e4e8),_0x2e9105['setUint16'](0x2,_0x554547['byteLength']+0x2),_0x90321d['push'](_0x2e9105['buffer']),_0x90321d['push'](_0x554547);}let _0x5d47c6=0x2;for(let _0x4bdecb=0x0;_0x4bdecb<_0x58f89e['length'];_0x4bdecb++)_0x58f89e[_0x4bdecb]>_0x5d47c6&&_0x90321d['push'](_0x2791f['slice'](_0x5d47c6,_0x58f89e[_0x4bdecb])),_0x5d47c6=_0x58f89e[_0x4bdecb]+_0x315fe7[_0x4bdecb]+0x4;return _0x90321d['push'](_0x2791f['slice'](_0x5d47c6,_0x2791f['size'])),new Blob(_0x90321d,{'type':_0x2791f['type']});}},aV=(_0x5ed335,_0xcb4db9)=>oV(_0x5ed335,0xe2,_0xcb4db9['map'](_0x5876e6=>_0x5876e6['buffer'])),cV=()=>{const _0x3ec463=document['createElement']('canvas'),_0x370c03=_0x3ec463['getContext']('2d');return{'canvas':_0x3ec463,'ctx':_0x370c03};},lV=async _0x1b64b3=>{let _0x51a5aa=null;const {promiseReadJpegChunks:_0x5b146c,stack:_0x414952}=nV();return await _0x5b146c(_0x1b64b3),_0x414952['forEach'](({marker:_0x594266,view:_0x22ee2b})=>{!_0x51a5aa&&0xe1===_0x594266&&_0x22ee2b['byteLength']>=0xe&&0x45786966===_0x22ee2b['getUint32'](0x0)&&0x0===_0x22ee2b['getUint16'](0x4)&&(_0x51a5aa=_0x22ee2b);}),_0x51a5aa;};let hV;const uV=_0x2579ca=>((_0x10044a,_0x54dba4)=>new Promise((_0x4b9090,_0x6c6f9a)=>{_0x54dba4&&(_0x10044a['src']=_0x54dba4),_0x10044a['complete']?_0x4b9090(_0x10044a):(_0x10044a['addEventListener']('load',()=>{_0x4b9090(_0x10044a);}),_0x10044a['addEventListener']('error',()=>{_0x6c6f9a(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x2579ca),dV=[0x1,0x3],fV=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],mV={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},gV=(_0x31a82e,_0x21dd43)=>{const _0x3ae9f3={};return(..._0x16ff48)=>{const _0x379c7b=_0x21dd43(_0x16ff48,_0x3ae9f3);return _0x379c7b in _0x3ae9f3?_0x3ae9f3[_0x379c7b]:_0x3ae9f3[_0x379c7b]=_0x31a82e(..._0x16ff48);};},pV=(_0x3cfee0,_0x5a75f4)=>{const [_0x4cf4d1]=_0x3cfee0,_0x4d995d=Object['keys'](_0x5a75f4)['map'](_0x30f755=>parseInt(_0x30f755,0xa))['sort']((_0x1aae5c,_0x5821ef)=>_0x1aae5c-_0x5821ef);for(let _0x541d94=0x0;_0x541d94<_0x4d995d['length'];_0x541d94++){const _0x1aec0c=_0x4d995d[_0x541d94],_0x32b63a=!!_0x5a75f4[_0x1aec0c];if(_0x1aec0c>_0x4cf4d1&&_0x32b63a)return _0x1aec0c;if(_0x1aec0c<_0x4cf4d1&&!_0x32b63a)return _0x1aec0c;}return _0x4cf4d1;},OV=0x37,wV=0x6e,bV=0xa5,yV=0xff,_V='rgba('+OV+',\x20'+wV+',\x20'+bV+',\x20'+yV/0xff+')',vV=(_0x4c0cd4,_0x12bbf4)=>{try{const _0x3060cd=[_0x4c0cd4-0x1,_0x12bbf4-0x1,0x1,0x1],{canvas:_0x58624e,ctx:_0x465e2e}=cV();_0x58624e['width']=0x1,_0x58624e['height']=0x1;const {canvas:_0x236137,ctx:_0x32a6bb}=cV();_0x236137['width']=_0x4c0cd4,_0x236137['height']=_0x12bbf4,_0x32a6bb&&(_0x32a6bb['fillStyle']=_V,_0x32a6bb['fillRect'](..._0x3060cd),_0x465e2e['drawImage'](_0x236137,_0x4c0cd4-0x1,_0x12bbf4-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x266413=_0x465e2e&&_0x465e2e['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x48349e=!0x1;return _0x266413&&(_0x48349e=_0x266413[0x0]===OV&&_0x266413[0x1]===wV&&_0x266413[0x2]===bV&&_0x266413[0x3]===yV),_0x236137['width']=_0x236137['height']=0x1,_0x48349e;}catch(_0x1917e4){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x4c0cd4+'x'+_0x12bbf4+'.'),!0x1;}};function TV(_0x2a13c7){return(..._0x11f2a4)=>new Promise(_0x53645c=>{setTimeout(()=>{const _0x2922f7=_0x2a13c7(..._0x11f2a4);_0x53645c(_0x2922f7);},0x0);});}const EV=TV(gV(vV,pV)),AV=TV(gV(vV,pV)),IV=async(_0xcbff3a,_0x746375)=>{const _0x3df6b8=mV['squareSide']['find'](_0x5149e4=>_0x5149e4*_0x5149e4>=_0xcbff3a*_0x746375),_0x1f2ce4=mV['dimension']['find'](_0x3f78d1=>_0x3f78d1>=_0xcbff3a&&_0x3f78d1>=_0x746375);if(!_0x3df6b8||!_0x1f2ce4)throw new Error('Not\x20supported');const [_0x3c6d87,_0x1ca4b2]=await Promise['all']([EV(_0x3df6b8,_0x3df6b8),AV(_0x1f2ce4,0x1)]);if(_0x3c6d87&&_0x1ca4b2)return!0x0;throw new Error('Not\x20supported');},SV=async(_0x2fd177,_0x39a921,_0x5cb521)=>{try{const {ctx:_0x4d811e,canvas:_0x2e5b05}=cV();return _0x2e5b05['width']=_0x39a921,_0x2e5b05['height']=_0x5cb521,_0x4d811e['imageSmoothingQuality']='high',_0x4d811e['drawImage'](_0x2fd177,0x0,0x0,_0x39a921,_0x5cb521),_0x2fd177 instanceof HTMLImageElement&&(_0x2fd177['src']='//:0'),_0x2fd177 instanceof HTMLCanvasElement&&(_0x2fd177['width']=_0x2fd177['height']=0x1),_0x2e5b05;}catch(_0x543392){throw new Error('Canvas\x20resize\x20error',{'cause':_0x543392});}},CV=({img:_0x34e317,sourceW:_0x140971,targetW:_0x3e358c,targetH:_0x2c7b15,step:_0xac3929})=>{const _0x5a6714=function({sourceW:_0x54fd73,targetW:_0x168015,targetH:_0x44216a,step:_0x184d51}){const _0x26b417=[];let _0x4312ab=_0x168015,_0x359025=_0x44216a;do{_0x26b417['push']([_0x4312ab,_0x359025]),_0x4312ab=Math['round'](_0x4312ab/_0x184d51),_0x359025=Math['round'](_0x359025/_0x184d51);}while(_0x4312ab<_0x54fd73*_0x184d51);return _0x26b417['reverse']();}({'sourceW':_0x140971,'targetW':_0x3e358c,'targetH':_0x2c7b15,'step':_0xac3929});return _0x5a6714['reduce']((_0x231e14,[_0x565381,_0xdac68f],_0x4bdf31)=>_0x231e14['then'](_0x2473f9=>IV(_0x565381,_0xdac68f)['then'](()=>SV(_0x2473f9,_0x565381,_0xdac68f))['catch'](()=>{if(_0x4bdf31===_0x5a6714['length']-0x1)throw new Error('Not\x20supported');return _0x2473f9;})),Promise['resolve'](_0x34e317));},kV=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),xV=0.71,RV=(_0x51b349,_0x50dd59)=>{if(_0x51b349['width']*xV*_0x51b349['height']*xV<_0x50dd59['size'])throw new Error('Not\x20required');const _0x35bab3=_0x51b349['width'],_0x2470ed=_0x51b349['height'],_0x2c4dbb=_0x35bab3/_0x2470ed,_0x26550e=Math['floor'](Math['sqrt'](_0x50dd59['size']*_0x2c4dbb)),_0x238d43=Math['floor'](_0x50dd59['size']/Math['sqrt'](_0x50dd59['size']*_0x2c4dbb));return IV(_0x26550e,_0x238d43)['then'](()=>{const {ctx:_0x1bd1b5}=cV();return'imageSmoothingQuality'in _0x1bd1b5&&!(/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']))&&!kV?(({img:_0x2fca8e,targetW:_0x1f1dd7,targetH:_0x2e0921})=>SV(_0x2fca8e,_0x1f1dd7,_0x2e0921))({'img':_0x51b349,'targetW':_0x26550e,'targetH':_0x238d43}):CV({'img':_0x51b349,'sourceW':_0x35bab3,'targetW':_0x26550e,'targetH':_0x238d43,'step':xV});})['catch'](()=>Promise['reject']('Not\x20supported'));},PV=async(_0x166d62,_0x16d04e)=>{try{const _0x29eb4c=await(async _0x25e8f8=>{let _0x2fe5d6=!0x1;const {promiseReadJpegChunks:_0x1fbcad,stack:_0x48fe5d}=nV();return await _0x1fbcad(_0x25e8f8)['then'](()=>(_0x48fe5d['forEach'](({marker:_0x2399a4,view:_0x4c8031})=>{if(!_0x2fe5d6&&fV['indexOf'](_0x2399a4)>=0x0){const _0xf33047=_0x4c8031['getUint8'](0x5);dV['indexOf'](_0xf33047)<0x0&&(_0x2fe5d6=!0x0);}}),_0x2fe5d6))['catch'](()=>_0x2fe5d6);})(_0x166d62);if(_0x29eb4c)throw new Error('Should\x20skipped');const _0x3abc58=await Promise['allSettled']([lV(_0x166d62),new Promise(_0x22cd06=>{if(void 0x0!==hV)_0x22cd06(hV);else{const _0x129487=new Image();_0x129487['addEventListener']('load',()=>{hV=_0x129487['naturalWidth']<_0x129487['naturalHeight'],_0x129487['src']='//:0',_0x22cd06(hV);}),_0x129487['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),rV(_0x166d62)]),_0x11fa97=!_0x3abc58['some'](_0x4ba446=>'rejected'===_0x4ba446['status']),[_0x218677,_0x43810a,_0x511f8b]=_0x3abc58,_0x5f1d21=await(async _0x3cb8db=>{try{return await aV(_0x3cb8db,[]);}catch(_0x279a36){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x279a36);}})(_0x166d62)['catch'](()=>_0x166d62),_0x34b2b3=await uV(URL['createObjectURL'](_0x5f1d21));URL['revokeObjectURL'](_0x34b2b3['src']);const _0x3136ae=await RV(_0x34b2b3,_0x16d04e);let _0x336c92='image/jpeg',_0x92386d=_0x16d04e?.['quality']||0.8;!_0x11fa97&&(_0x2d0f18=>{const {ctx:_0x39fd0f,canvas:_0x593983}=cV();_0x593983['width']=_0x593983['height']=0x32,_0x39fd0f['drawImage'](_0x2d0f18,0x0,0x0,0x32,0x32);const _0x592568=_0x39fd0f['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x593983['width']=_0x593983['height']=0x1;for(let _0x159c5b=0x3;_0x159c5b<_0x592568['length'];_0x159c5b+=0x4)if(_0x592568[_0x159c5b]<0xfe)return!0x0;return!0x1;})(_0x3136ae)&&(_0x336c92='image/png',_0x92386d=void 0x0);let _0x3b8ab5=await((_0x4a5420,_0x3accfc,_0x1f5faa)=>new Promise((_0x58327e,_0x51fcb2)=>{_0x4a5420['toBlob'](_0x7b07db=>{_0x7b07db?_0x58327e(_0x7b07db):_0x51fcb2('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x3accfc,_0x1f5faa),_0x4a5420['width']=_0x4a5420['height']=0x1;}))(_0x3136ae,_0x336c92,_0x92386d);if(_0x11fa97&&'fulfilled'===_0x218677['status']&&_0x218677['value']){const _0x324d06=_0x218677['value'],_0x510d44='fulfilled'===_0x43810a['status']&&_0x43810a['value'];_0x3b8ab5=await(async(_0x4c260a,_0x14df53,_0x1f224f)=>(_0x1f224f&&((_0x5e7a1c,_0x2495d9)=>{((_0x3bf515,_0x184688)=>{let _0x619ad1,_0x243ccb,_0x2b6f7a,_0x44ff43;if(_0x3bf515&&!(_0x3bf515['byteLength']<0xe)&&0x45786966===_0x3bf515['getUint32'](0x0)&&0x0===_0x3bf515['getUint16'](0x4)){if(0x4949===_0x3bf515['getUint16'](0x6))_0x243ccb=!0x0;else{if(0x4d4d!==_0x3bf515['getUint16'](0x6))return;_0x243ccb=!0x1;}if(0x2a===_0x3bf515['getUint16'](0x8,_0x243ccb))for(_0x2b6f7a=0x8+_0x3bf515['getUint32'](0xa,_0x243ccb),_0x619ad1=0x0,_0x44ff43=_0x3bf515['getUint16'](_0x2b6f7a-0x2,_0x243ccb);_0x44ff43>=0x0?_0x619ad1<_0x44ff43:_0x619ad1>_0x44ff43;_0x44ff43>=0x0?++_0x619ad1:--_0x619ad1){if(_0x3bf515['byteLength']<_0x2b6f7a+0xa)return;0x112===_0x3bf515['getUint16'](_0x2b6f7a,_0x243ccb)&&_0x184688(_0x2b6f7a+0x8,_0x243ccb),_0x2b6f7a+=0xc;}}})(_0x5e7a1c,(_0x1f1189,_0x491137)=>_0x5e7a1c['setUint16'](_0x1f1189,_0x2495d9,_0x491137));})(_0x14df53,0x1),oV(_0x4c260a,0xe1,[_0x14df53['buffer']])))(_0x3b8ab5,_0x324d06,_0x510d44);}return _0x11fa97&&'fulfilled'===_0x511f8b['status']&&_0x511f8b['value']['length']>0x0&&(_0x3b8ab5=await aV(_0x3b8ab5,_0x511f8b['value'])),_0x3b8ab5;}catch(_0x511f0c){let _0x11e3ab;throw _0x511f0c instanceof Error&&(_0x11e3ab=_0x511f0c['message']),'string'==typeof _0x511f0c&&(_0x11e3ab=_0x511f0c),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x11e3ab?'Message:\x20\x22'+_0x11e3ab+'\x22.':''),{'cause':_0x511f0c});}};var MV=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),NV=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'}),LV=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x5e697c){this['_debugPrint']=_0x5e697c;}['bindTarget'](_0x28d32f){this['_targets']['add'](_0x28d32f);}['unbindTarget'](_0x593fff){this['_targets']['delete'](_0x593fff);}['_dispatch'](_0x46b228,_0x3b1865){for(const _0x346f63 of this['_targets'])_0x346f63['dispatchEvent'](new CustomEvent(_0x46b228,{'detail':_0x3b1865}));this['_debugPrint']?.(()=>{const _0x581bf7=_0x3b1865&&'object'==typeof _0x3b1865?{..._0x3b1865}:_0x3b1865;return['event\x20\x22'+_0x46b228+'\x22',_0x581bf7];});}['emit'](_0x1b9313,_0x153b57,_0x3f02f0={}){const {debounce:_0x8b482}=_0x3f02f0;if('number'!=typeof _0x8b482&&!_0x8b482)return void this['_dispatch'](_0x1b9313,'function'==typeof _0x153b57?_0x153b57():_0x153b57);this['_timeoutStore']['has'](_0x1b9313)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x1b9313));const _0x426bb7='number'==typeof _0x8b482?_0x8b482:0x14,_0x445eb8=window['setTimeout'](()=>{this['_dispatch'](_0x1b9313,'function'==typeof _0x153b57?_0x153b57():_0x153b57),this['_timeoutStore']['delete'](_0x1b9313);},_0x426bb7);this['_timeoutStore']['set'](_0x1b9313,_0x445eb8);}};function DV(_0x1cc5b3,_0x465ae4){let _0x35d908;const _0x21f0fe=(..._0x27e07d)=>{_0x35d908&&clearTimeout(_0x35d908),_0x35d908=setTimeout(()=>_0x1cc5b3(..._0x27e07d),_0x465ae4);};return _0x21f0fe['cancel']=()=>{_0x35d908&&clearTimeout(_0x35d908);},_0x21f0fe;}var QV=_0x5004e7=>_0x5004e7?_0x5004e7['split'](',')['map'](_0x54d642=>_0x54d642['trim']())['filter'](Boolean):[],$V=_0x4b9073=>_0x4b9073['join'](','),VV=_0x3dbe3c=>{if('string'!=typeof _0x3dbe3c||!_0x3dbe3c)return'';let _0x36b2f9=_0x3dbe3c['trim']();return _0x36b2f9['startsWith']('-/')?_0x36b2f9=_0x36b2f9['slice'](0x2):_0x36b2f9['startsWith']('/')&&(_0x36b2f9=_0x36b2f9['slice'](0x1)),_0x36b2f9['endsWith']('/')&&(_0x36b2f9=_0x36b2f9['slice'](0x0,_0x36b2f9['length']-0x1)),_0x36b2f9;},UV=(..._0x8ed22d)=>_0x8ed22d['filter'](_0x24f83a=>'string'==typeof _0x24f83a&&!!_0x24f83a)['map'](_0x559d85=>VV(_0x559d85))['join']('/-/'),BV=(..._0x4da448)=>{const _0x1392fa=UV(..._0x4da448);return _0x1392fa?'-/'+_0x1392fa+'/':'';};function FV(_0x181e30){const _0x11a78c=new URL(_0x181e30),_0x357111=_0x11a78c['pathname']+_0x11a78c['search']+_0x11a78c['hash'],_0x377b74=_0x357111['lastIndexOf']('http'),_0x580e5d=_0x357111['lastIndexOf']('/');let _0x28690a='';return _0x377b74>=0x0?_0x28690a=_0x357111['slice'](_0x377b74):_0x580e5d>=0x0&&(_0x28690a=_0x357111['slice'](_0x580e5d+0x1)),_0x28690a;}function jV(_0x1afbf8){const _0x12b846=new URL(_0x1afbf8),{pathname:_0x44a9d7}=_0x12b846,_0x574cd0=_0x44a9d7['indexOf']('/'),_0x351397=_0x44a9d7['indexOf']('/',_0x574cd0+0x1);return _0x44a9d7['substring'](_0x574cd0+0x1,_0x351397);}function HV(_0x489d9c){const _0x4986c7=ZV(_0x489d9c),_0x1260fc=new URL(_0x4986c7),_0x4e93bc=_0x1260fc['pathname']['indexOf']('/-/');if(-0x1===_0x4e93bc)return'';return _0x1260fc['pathname']['substring'](_0x4e93bc)['slice'](0x1);}function GV(_0xe3116f){return HV(_0xe3116f)['split']('/-/')['filter'](Boolean)['map'](_0x2d5941=>VV(_0x2d5941));}function ZV(_0x49211d){const _0x3c4da9=new URL(_0x49211d),_0x434914=FV(_0x49211d),_0x3d5f65=XV(_0x434914)?qV(_0x434914)['pathname']:_0x434914;return _0x3c4da9['pathname']=_0x3c4da9['pathname']['replace'](_0x3d5f65,''),_0x3c4da9['search']='',_0x3c4da9['hash']='',_0x3c4da9['toString']();}function XV(_0x5d8a42){return _0x5d8a42['startsWith']('http');}function qV(_0x5449b2){const _0x23edb5=new URL(_0x5449b2);return{'pathname':''+_0x23edb5['origin']+(_0x23edb5['pathname']??''),'search':_0x23edb5['search']??'','hash':_0x23edb5['hash']??''};}var WV=(_0x6a29df,_0x156c7e,_0x5b075d)=>{const _0x1b5618=new URL(ZV(_0x6a29df)),_0x561251=_0x5b075d??FV(_0x6a29df),_0x4a95cd=_0x156c7e??'';if(_0x1b5618['pathname']['startsWith']('//')&&(_0x1b5618['pathname']=_0x1b5618['pathname']['replace']('//','/')),_0x561251&&XV(_0x561251)){const _0x2365e9=qV(_0x561251);_0x1b5618['pathname']=''+_0x1b5618['pathname']+_0x4a95cd+(_0x2365e9['pathname']||''),_0x1b5618['search']=_0x2365e9['search'],_0x1b5618['hash']=_0x2365e9['hash'];}else _0x1b5618['pathname']=''+_0x1b5618['pathname']+_0x4a95cd+(_0x561251||'');return _0x1b5618['toString']();},zV=(_0x38b749,_0x5ab158)=>{const _0x38f329=new URL(_0x38b749);return _0x38f329['pathname']=_0x5ab158+'/',_0x38f329['toString']();},YV=(_0x16c7d6,_0x3a0a46=',')=>_0x16c7d6['trim']()['split'](_0x3a0a46)['map'](_0x407428=>_0x407428['trim']())['filter'](_0xfa2b00=>_0xfa2b00['length']>0x0),KV=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}),JV=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function tU(_0x45a329){return UV(...JV['filter'](_0x2eafe7=>void 0x0!==_0x45a329[_0x2eafe7]&&null!==_0x45a329[_0x2eafe7])['map'](_0xae1ce2=>function(_0x27ef74,_0x577b64){if('number'==typeof _0x577b64){const _0x3bcf41=_0x577b64;return KV[_0x27ef74]!==_0x3bcf41?_0x27ef74+'/'+_0x3bcf41:'';}if('boolean'==typeof _0x577b64){const _0x27f260=_0x577b64;return KV[_0x27ef74]!==_0x27f260?''+_0x27ef74:'';}if('filter'===_0x27ef74&&_0x577b64){const {name:_0x294f6f,amount:_0xc20212}=_0x577b64;return KV['filter']===_0xc20212?'':_0x27ef74+'/'+_0x294f6f+'/'+_0xc20212;}if('crop'===_0x27ef74&&_0x577b64){const {dimensions:_0xddb1fe,coords:_0x5a91c5}=_0x577b64;return _0x27ef74+'/'+_0xddb1fe['join']('x')+'/'+_0x5a91c5['join'](',');}return'';}(_0xae1ce2,_0x45a329[_0xae1ce2]))['filter'](_0x41bd69=>!!_0x41bd69));}var eU=UV('format/auto','progressive/yes'),iU=([_0x14636a])=>void 0x0!==_0x14636a?Number(_0x14636a):void 0x0,sU=()=>!0x0,nU=Object['freeze']({'enhance':iU,'brightness':iU,'exposure':iU,'gamma':iU,'contrast':iU,'saturation':iU,'vibrance':iU,'warmth':iU,'filter':([_0x216182,_0x296b89])=>({'name':_0x216182,'amount':void 0x0!==_0x296b89?Number(_0x296b89):0x64}),'mirror':sU,'flip':sU,'rotate':iU,'crop':_0x3f63f5=>{const [_0x4c3cdf,_0xbcedd9]=_0x3f63f5,{dimensions:_0x34cc81,coords:_0x16d1f5}=(([_0x36b61a,_0x4a562e])=>{if(!/\d+x\d+/['test'](_0x36b61a)||!/\d+,\d+/['test'](_0x4a562e))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':YV(_0x36b61a,'x')['map'](Number),'coords':YV(_0x4a562e)['map'](Number)};})([_0x4c3cdf,_0xbcedd9]);return{'dimensions':_0x34cc81,'coords':_0x16d1f5};}});function rU(_0x1c7950){const _0x45aa17={};for(const _0x1aa788 of _0x1c7950){const [_0x4dbb1c,..._0xff8875]=_0x1aa788['split']('/');if(!_0x4dbb1c||!JV['includes'](_0x4dbb1c))continue;const _0x13fc1c=_0x4dbb1c,_0x114222=nU[_0x13fc1c];try{const _0x4b057c=_0x114222(_0xff8875);_0x45aa17[_0x13fc1c]=_0x4b057c;}catch(_0x289275){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x1aa788+'\x22.\x20It\x20will\x20be\x20ignored.',_0x289275 instanceof Error?'Error\x20message:\x20\x22'+_0x289275['message']+'\x22':_0x289275,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x45aa17;}var oU=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),aU=Object['freeze']([oU['CROP'],oU['TUNING'],oU['FILTERS']]),cU=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),lU=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']),hU=Object['freeze'](['rotate','mirror','flip']),uU=KV,dU=Object['freeze']({'brightness':{'zero':uU['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':uU['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':uU['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':uU['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':uU['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':uU['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':uU['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':uU['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':uU['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),fU='https://ucarecdn.com',mU={'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':$V(aU),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':fU,'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},gU=Object['freeze'](mU),pU=(_0x18fd8a,_0x40cf9b)=>new Intl['PluralRules'](_0x18fd8a)['select'](_0x40cf9b),OU=_0x19230d=>_0x19230d,wU='{{',bU='}}',yU='plural:';function _U(_0x2d17ad,_0x16b4bf={},_0x880fd={}){const {openToken:_0x2f0be3=wU,closeToken:_0x2248b0=bU,transform:_0x4d3e5c=OU}=_0x880fd;for(const _0x5d3327 in _0x16b4bf){const _0x2a580b=_0x16b4bf[_0x5d3327],_0x16060e=null!=_0x2a580b?_0x2a580b['toString']():void 0x0,_0x2e4c50='string'==typeof _0x16060e?_0x4d3e5c(_0x16060e):String(_0x16060e);_0x2d17ad=_0x2d17ad['replaceAll'](_0x2f0be3+_0x5d3327+_0x2248b0,_0x2e4c50);}return _0x2d17ad;}var vU='--uploadcare-blocks-window-height',TU=class _WindowHeightTracker{static ['clientsRegistry']=new Set();static ['flush']=DV(()=>{document['documentElement']['style']['setProperty'](vU,window['innerHeight']+'px');},0x64);static['registerClient'](_0x26fd9e){0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['attachTracker'](),_WindowHeightTracker['clientsRegistry']['add'](_0x26fd9e);}static['unregisterClient'](_0x12fb3f){_WindowHeightTracker['clientsRegistry']['delete'](_0x12fb3f),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'](vU);}},EU=_0x2b51c2=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x2b51c2['modalManager']?.['close'](_0x2b51c2['$']['*currentActivity']),_0x2b51c2['set$']({'*currentActivity':null});}}),AU=_0x4c8dbe=>({...EU(_0x4c8dbe),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new Queue(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),IU={'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'},SU=new Map(),CU=new Map(),kU=(_0x14d02f,_0x76b743)=>{SU['has'](_0x14d02f)&&console['log']('Locale\x20'+_0x14d02f+'\x20is\x20already\x20defined.\x20Overwriting...'),SU['set'](_0x14d02f,{...IU,..._0x76b743});},xU=(_0x444bb9,_0x338a52)=>{'function'==typeof _0x338a52?((_0x519aad,_0x5e5d95)=>{CU['set'](_0x519aad,_0x5e5d95);})(_0x444bb9,_0x338a52):kU(_0x444bb9,_0x338a52);};xU('en',IU);var RU=_0x5f10ef=>'*l10n/'+_0x5f10ef,PU=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x3daabc){this['_blockInstance']=_0x3daabc;for(const [_0x220764,_0x1e7084]of Object['entries'](IU)){const _0x3bb035=!this['_blockInstance']['has'](RU(_0x220764))||!this['_blockInstance']['$'][RU(_0x220764)];this['_blockInstance']['add'](RU(_0x220764),_0x1e7084,_0x3bb035);}setTimeout(()=>{_0x3daabc['subConfigValue']('localeName',async _0x2b514e=>{if(!this['_blockInstance']||!_0x2b514e)return;this['_localeName']=_0x2b514e;const _0x3502e9=await(async _0x809438=>{if(!SU['has'](_0x809438)){if(!CU['has'](_0x809438))throw new Error('Locale\x20'+_0x809438+'\x20is\x20not\x20defined');const _0x394d46=CU['get'](_0x809438),_0x358a28=await _0x394d46();kU(_0x809438,_0x358a28);}return SU['get'](_0x809438);})(_0x2b514e);if('en'!==_0x2b514e&&this['_localeName']!==_0x2b514e)return;const _0x2fa309=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x2b514e];for(const [_0x28ad4b,_0x4f2c08]of Object['entries'](_0x3502e9)){const _0x524bf8=_0x2fa309?.[_0x28ad4b];this['_blockInstance']['add'](RU(_0x28ad4b),_0x524bf8??_0x4f2c08,!0x0);for(const _0xa6d038 of this['_callbacks'])_0xa6d038();}}),_0x3daabc['subConfigValue']('localeDefinitionOverride',_0x1950d9=>{if(!_0x1950d9)return;const _0x593575=_0x1950d9[this['_localeName']];if(_0x593575)for(const [_0x513d1f,_0x4f0f96]of Object['entries'](_0x593575)){this['_blockInstance']?.['add'](RU(_0x513d1f),_0x4f0f96,!0x0);for(const _0x13d10b of this['_callbacks'])_0x13d10b();}});});}['onLocaleChange'](_0x177f2a){const _0x243849=DV(_0x177f2a,0x0);return this['_callbacks']['add'](_0x243849),()=>{this['_callbacks']['delete'](_0x243849);};}['bindL10n'](_0x34c6f1,_0xaeebe0,_0x1d3507){_0x34c6f1['$'][_0xaeebe0]=_0x1d3507(),this['_boundBlocks']['has'](_0x34c6f1)||this['_boundBlocks']['set'](_0x34c6f1,new Map()),this['_boundBlocks']['get'](_0x34c6f1)?.['get'](_0xaeebe0)?.();const _0x2991df=this['onLocaleChange'](()=>{_0x34c6f1['$'][_0xaeebe0]=_0x1d3507();});this['_boundBlocks']['get'](_0x34c6f1)?.['set'](_0xaeebe0,_0x2991df);}['destroyL10nBindings'](_0x4e366a){const _0x18f593=this['_boundBlocks']['get'](_0x4e366a);if(_0x18f593){for(const _0x4b77be of _0x18f593['values']())_0x4b77be();this['_boundBlocks']['delete'](_0x4e366a);}}['destroy'](){this['_callbacks']['clear']();}};function MU(_0x5411b3,_0x3e9446){[..._0x5411b3['querySelectorAll']('[l10n]')]['forEach'](_0x5ac1f4=>{const _0x241271=_0x5ac1f4['getAttribute']('l10n');if(!_0x241271)return;const _0x5c8953=_0x241271['split'](';');for(const _0x5e000d of _0x5c8953)_0x5e000d&&NU(_0x5ac1f4,_0x5e000d,_0x3e9446);});}var NU=(_0x5a0e25,_0x8f3925,_0x52e1a6)=>{let _0x420ac3='textContent',_0x3dbddc=!0x1;if(_0x8f3925['includes'](':')){const _0x3a58d4=_0x8f3925['split'](':');if(0x2!==_0x3a58d4['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x8f3925);const _0x21c184=_0x3a58d4;_0x420ac3=_0x21c184[0x0],_0x8f3925=_0x21c184[0x1],_0x420ac3['startsWith']('@')&&(_0x420ac3=_0x420ac3['slice'](0x1),_0x3dbddc=!0x0);}const _0x58d943=_0x8f3925;_0x52e1a6['has'](_0x58d943)&&_0x52e1a6['sub'](_0x58d943,_0x24b8e0=>{if(!_0x24b8e0)return;_0x52e1a6['l10nProcessorSubs']['has'](_0x58d943)||_0x52e1a6['l10nProcessorSubs']['set'](_0x58d943,new Set());const _0x24bde5=_0x52e1a6['l10nProcessorSubs']['get'](_0x58d943);_0x24bde5?.['forEach'](_0x4aa5df=>{_0x4aa5df['remove'](),_0x24bde5['delete'](_0x4aa5df),_0x52e1a6['allSubs']['delete'](_0x4aa5df);});const _0x543ca6=RU(_0x24b8e0)['replace']('*','');_0x52e1a6['nodeCtx']['has'](_0x543ca6)||_0x52e1a6['nodeCtx']['add'](_0x543ca6,_0x24b8e0);const _0x65baed=_0x52e1a6['nodeCtx']['sub'](_0x543ca6,()=>{_0x5a0e25[_0x420ac3]=_0x52e1a6['l10n'](_0x24b8e0);});_0x24bde5?.['add'](_0x65baed),_0x52e1a6['allSubs']['add'](_0x65baed),_0x5a0e25['removeAttribute']('l10n');});const _0x10d1e2=RU(_0x8f3925);_0x52e1a6['has'](_0x10d1e2)||_0x52e1a6['add'](_0x10d1e2,''),_0x52e1a6['sub'](_0x10d1e2,()=>{_0x3dbddc?_0x5a0e25['setAttribute'](_0x420ac3,_0x52e1a6['l10n'](_0x8f3925)):_0x5a0e25[_0x420ac3]=_0x52e1a6['l10n'](_0x8f3925);}),_0x5a0e25['removeAttribute']('l10n');},LU=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x3e03e4,_0x2b5727){const _0x100958=_0x312ce4=>{const _0x3fbcbe=_0x312ce4['target'];_0x3fbcbe instanceof Node&&this['_scope']['some'](_0x4e235d=>_0x4e235d===_0x3fbcbe||_0x4e235d['contains'](_0x3fbcbe))&&_0x2b5727(_0x312ce4);};this['_listeners']['set'](_0x2b5727,_0x100958),window['addEventListener'](_0x3e03e4,_0x100958);}['removeEventListener'](_0x1f0278,_0x60c090){const _0x1c20eb=this['_listeners']['get'](_0x60c090);_0x1c20eb&&window['removeEventListener'](_0x1f0278,_0x1c20eb),this['_listeners']['delete'](_0x60c090);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x3da00c){this['_scope']['push'](_0x3da00c);}['destroy'](){this['_scope']=[];for(const _0x2731c1 of this['_listeners']['values']())window['removeEventListener']('keydown',_0x2731c1),window['removeEventListener']('keyup',_0x2731c1);this['_listeners']['clear']();}},DU=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new LU(),this['_destroyKeyUX']=function(_0x35d380,_0x57862a){let _0x2e5728=_0x57862a['map'](_0x426c70=>_0x426c70(_0x35d380));return()=>{_0x2e5728['forEach'](_0x1bca1f=>_0x1bca1f());};}(this['_scopedWindow'],[_0x10f5a5=>{let _0x367ad0=!0x1,_0x3ca942=0x0,_0x1cfe42='';function _0x101d41(_0x26fcbd){let _0x27f924=W$(_0x26fcbd['target']);if(!_0x27f924)return void _0x18cf89();let _0x209004=z$(_0x26fcbd['target'],_0x27f924),_0x576065=Array['from'](_0x209004)['indexOf'](_0x26fcbd['target']),_0x13ff6d='ArrowDown',_0x557d5a='ArrowUp';if(function(_0x5e3557){let _0x1dd3c4=_0x5e3557['getAttribute']('aria-orientation');if('vertical'===_0x1dd3c4)return!0x1;if('horizontal'===_0x1dd3c4)return!0x0;let _0x2368a6=_0x5e3557['role'];return'menubar'===_0x2368a6||'tablist'===_0x2368a6||'toolbar'===_0x2368a6;}(_0x27f924)&&('rtl'===_0x10f5a5['document']['dir']?(_0x13ff6d='ArrowLeft',_0x557d5a='ArrowRight'):(_0x13ff6d='ArrowRight',_0x557d5a='ArrowLeft')),_0x26fcbd['key']===_0x13ff6d)_0x26fcbd['preventDefault'](),q$(_0x26fcbd['target'],_0x209004[_0x576065+0x1]||_0x209004[0x0]);else{if(_0x26fcbd['key']===_0x557d5a)_0x26fcbd['preventDefault'](),q$(_0x26fcbd['target'],_0x209004[_0x576065-0x1]||_0x209004[_0x209004['length']-0x1]);else{if('Home'===_0x26fcbd['key'])_0x26fcbd['preventDefault'](),q$(_0x26fcbd['target'],_0x209004[0x0]);else{if('End'===_0x26fcbd['key'])_0x26fcbd['preventDefault'](),q$(_0x26fcbd['target'],_0x209004[_0x209004['length']-0x1]);else{if(0x1===_0x26fcbd['key']['length']&&'tablist'!==_0x27f924['role']){let _0x23944a=Date['now']();_0x23944a-_0x3ca942<=0x12c?_0x1cfe42+=_0x26fcbd['key']['toLowerCase']():_0x1cfe42=_0x26fcbd['key']['toLowerCase'](),_0x3ca942=_0x23944a;let _0x5385c3=Array['from'](_0x209004)['find'](_0x185655=>_0x185655['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x1cfe42));_0x5385c3&&(_0x26fcbd['preventDefault'](),q$(_0x26fcbd['target'],_0x5385c3));}}}}}}function _0x18cf89(){_0x367ad0=!0x1,_0x10f5a5['removeEventListener']('keydown',_0x101d41);}function _0x313249(_0x2c6b53){let _0x4674bc=W$(_0x2c6b53['target']);if(_0x4674bc){_0x367ad0||(_0x367ad0=!0x0,_0x10f5a5['addEventListener']('keydown',_0x101d41));let _0x599f55=z$(_0x2c6b53['target'],_0x4674bc);for(let _0x11a001 of _0x599f55)_0x11a001!==_0x2c6b53['target']&&_0x11a001['setAttribute']('tabindex',-0x1);}else _0x367ad0&&_0x18cf89();}function _0x2497ea(_0x551def){_0x551def['relatedTarget']&&_0x551def['relatedTarget']!==_0x10f5a5['document']||_0x18cf89();}function _0x6c05c1(_0x17e084){let _0x167a67=W$(_0x17e084['target']);if(_0x167a67){let _0x558e18=z$(_0x17e084['target'],_0x167a67);for(let _0x1080e5 of _0x558e18)_0x1080e5!==_0x17e084['target']&&_0x1080e5['setAttribute']('tabindex',-0x1);_0x17e084['target']['setAttribute']('tabindex',0x0);}}return _0x10f5a5['addEventListener']('click',_0x6c05c1),_0x10f5a5['addEventListener']('focusin',_0x313249),_0x10f5a5['addEventListener']('focusout',_0x2497ea),()=>{_0x18cf89(),_0x10f5a5['removeEventListener']('click',_0x6c05c1),_0x10f5a5['removeEventListener']('focusin',_0x313249),_0x10f5a5['removeEventListener']('focusout',_0x2497ea);};},K$('is-pressed'),Y$(),_0x3a49e2=>{let _0x438cd8,_0x5ed61b;function _0xb81c1e(_0x50e138){if('true'===_0x50e138['target']['getAttribute']('aria-hidden')){_0x438cd8=_0x50e138['target'],_0x438cd8['setAttribute']('aria-hidden','false'),_0x5ed61b=_0x438cd8['hidden'],_0x5ed61b&&(_0x438cd8['hidden']=!0x1);let _0xa4d9c0=_0x50e138['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0xa4d9c0&&(_0xa4d9c0['tabIndex']=0x0);}}function _0x31d8de(_0x37886c){!_0x438cd8||!_0x438cd8['contains'](_0x37886c['target'])||_0x37886c['relatedTarget']&&_0x438cd8['contains'](_0x37886c['relatedTarget'])||(_0x37886c['target']['tabIndex']=-0x1,_0x438cd8['setAttribute']('aria-hidden','true'),_0x5ed61b&&(_0x438cd8['hidden']=!0x0),_0x438cd8=null);}return _0x3a49e2['addEventListener']('keyuxJump',_0xb81c1e),_0x3a49e2['addEventListener']('focusout',_0x31d8de),()=>{_0x3a49e2['removeEventListener']('keyuxJump',_0xb81c1e),_0x3a49e2['removeEventListener']('focusout',_0x31d8de);};}]);}['registerBlock'](_0x27a553){this['_scopedWindow']['registerScope'](_0x27a553);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},QU=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),$U=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x375131){this['_block']=_0x375131;}['_debugPrint'](..._0x8c0223){this['_block']['debugPrint']('[modal-manager]',..._0x8c0223);}['registerModal'](_0x4b67d4,_0x587ea4){this['_modals']['set'](_0x4b67d4,_0x587ea4),this['_notify'](QU['ADD'],{'id':_0x4b67d4,'modal':_0x587ea4});}['deleteModal'](_0x5a662f){if(!this['_modals']['has'](_0x5a662f))return!0x1;const _0x2292f0=this['_modals']['get'](_0x5a662f);return this['_modals']['delete'](_0x5a662f),this['_activeModals']['delete'](_0x5a662f),this['_notify'](QU['DELETE'],{'id':_0x5a662f,'modal':_0x2292f0}),!0x0;}['open'](_0x1c9f0a){if(!this['_modals']['has'](_0x1c9f0a))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x1c9f0a+'\x22\x20not\x20found'),!0x1;const _0x3306f8=this['_modals']['get'](_0x1c9f0a);return this['_activeModals']['add'](_0x1c9f0a),this['_notify'](QU['OPEN'],{'modal':_0x3306f8,'id':_0x1c9f0a}),!0x0;}['close'](_0x4c99a4){if(!this['_modals']['has'](_0x4c99a4)||!this['_activeModals']['has'](_0x4c99a4))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x4c99a4+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x14e730=this['_modals']['get'](_0x4c99a4);return this['_activeModals']['delete'](_0x4c99a4),this['_notify'](QU['CLOSE'],{'id':_0x4c99a4,'modal':_0x14e730}),!0x0;}['toggle'](_0x731325){return this['_modals']['has'](_0x731325)?this['_activeModals']['has'](_0x731325)?this['close'](_0x731325):this['open'](_0x731325):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x731325+'\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 _0x1859cf=Array['from'](this['_activeModals'])['pop']();return!!_0x1859cf&&this['close'](_0x1859cf);}['closeAll'](){const _0x397763=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](QU['CLOSE_ALL'],{}),_0x397763;}['subscribe'](_0x2a47f9,_0x177aaa){return this['_subscribers']['has'](_0x2a47f9)||this['_subscribers']['set'](_0x2a47f9,new Set()),this['_subscribers']['get'](_0x2a47f9)?.['add'](_0x177aaa),()=>this['unsubscribe'](_0x2a47f9,_0x177aaa);}['unsubscribe'](_0x433696,_0x792cd5){this['_subscribers']['has'](_0x433696)&&this['_subscribers']['get'](_0x433696)?.['delete'](_0x792cd5);}['_notify'](_0x310b7a,_0x35219){if(this['_subscribers']['has'](_0x310b7a)){for(const _0x3df500 of this['_subscribers']['get'](_0x310b7a)??new Set())try{_0x3df500(_0x35219);}catch(_0x489e6d){this['_block']['telemetryManager']['sendEventError'](_0x489e6d,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x489e6d);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](QU['DESTROY'],{});}},VU='blocks',UU='1.24.5',BU=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(gU);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x5ee54e){this['_block']=_0x5ee54e,this['_telemetryInstance']=new p(),this['_queue']=new Queue(0xa);for(const _0x1b641a of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x1b641a,_0x4d92d1=>{this['_initialized']&&this['_config'][_0x1b641a]!==_0x4d92d1&&this['sendEvent']({'eventType':MV['CHANGE_CONFIG']}),this['_setConfig'](_0x1b641a,_0x4d92d1);});}['_init'](_0xbdb374){_0xbdb374!==MV['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0xd0fe4a,_0x584a8d){this['_config'][_0xd0fe4a]!==_0x584a8d&&(this['_config'][_0xd0fe4a]=_0x584a8d);}['_formattingPayload'](_0x1f061a){const _0x47f953=_0x1f061a['payload']?{..._0x1f061a['payload']}:{};_0x47f953['activity']&&(_0x47f953['activity']=void 0x0);const _0x3e9519={..._0x1f061a};return _0x1f061a['eventType']!==MV['INIT_SOLUTION']&&_0x1f061a['eventType']!==MV['CHANGE_CONFIG']||(_0x3e9519['config']=this['_config']),{..._0x3e9519,'appVersion':UU,'appName':VU,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x3e9519['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x47f953}};}['_excludedEvents'](_0x577f94){return!(!_0x577f94||![NV['CHANGE'],NV['COMMON_UPLOAD_PROGRESS'],NV['FILE_ADDED'],NV['FILE_REMOVED'],NV['FILE_UPLOAD_START'],NV['FILE_UPLOAD_PROGRESS'],NV['FILE_UPLOAD_SUCCESS'],NV['FILE_UPLOAD_FAILED']]['includes'](_0x577f94));}['sendEvent'](_0x2b2fbd){const _0x48b60b=this['_formattingPayload']({'eventType':_0x2b2fbd['eventType'],'payload':_0x2b2fbd['payload'],'config':_0x2b2fbd['config']});this['_init'](_0x2b2fbd['eventType']);if(this['_excludedEvents'](_0x2b2fbd['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x48b60b)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x48b60b,await this['_telemetryInstance']['sendEvent'](_0x48b60b);});}['sendEventError'](_0x4b5efa,_0x8f0de8='unknown'){this['sendEvent']({'eventType':MV['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x8f0de8,'error':_0x4b5efa['message']}}});}['sendEventCloudImageEditor'](_0x51520c,_0x380757,_0x45f236={}){this['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x380757,'node':_0x51520c['currentTarget']?.['tagName'],'event':_0x51520c['type'],..._0x45f236}}});}['_checkObj'](_0x4ffc2,_0x381266){if(JSON['stringify'](_0x4ffc2)===JSON['stringify'](_0x381266))return!0x0;if('object'!=typeof _0x4ffc2||'object'!=typeof _0x381266||null==_0x4ffc2||null==_0x381266)return!0x1;const _0x2aea27=Object['keys'](_0x4ffc2),_0x396bfe=Object['keys'](_0x381266);if(_0x2aea27['length']!==_0x396bfe['length'])return!0x1;for(const _0x185b9a of _0x2aea27){if(!Object['hasOwn'](_0x381266,_0x185b9a))return!0x1;if(!this['_checkObj'](_0x4ffc2[_0x185b9a],_0x381266[_0x185b9a]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x4a9143=this['_block']['$']['*solution'];return _0x4a9143?_0x4a9143['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},FU=_0x345691=>'*cfg/'+_0x345691;function jU(_0x108d22,_0x59778f){const _0x52a6eb=_0x108d22['querySelectorAll']('[data-testid]');if(0x0===_0x52a6eb['length'])return;const _0x5a6375=new WeakMap();for(const _0x4a4bb9 of _0x52a6eb){const _0x349f19=_0x4a4bb9['getAttribute']('data-testid');_0x349f19&&_0x5a6375['set'](_0x4a4bb9,_0x349f19);}_0x59778f['subConfigValue']('testMode',_0x37cb3e=>{if(!_0x37cb3e){for(const _0x1aca9b of _0x52a6eb)_0x1aca9b['removeAttribute']('data-testid');return;}const _0x3e8984=_0x59778f['testId'];for(const _0x57b742 of _0x52a6eb){const _0x3c6103=_0x5a6375['get'](_0x57b742);_0x3c6103&&_0x57b742['setAttribute']('data-testid',_0x3e8984+'--'+_0x3c6103);}});}var HU=class extends BQ{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']={};['l10n'](_0x4adac0,_0x9608f2={}){if(!_0x4adac0)return'';const _0x4b85d2=this['$'][RU(_0x4adac0)]||_0x4adac0,_0x55ca62=function(_0x4d7081){const _0x1edaa9=[];let _0xbd0a7=_0x4d7081['indexOf'](wU);for(;-0x1!==_0xbd0a7;){const _0x4541aa=_0x4d7081['indexOf'](bU,_0xbd0a7);if(-0x1===_0x4541aa)break;const _0x55439f=_0x4d7081['substring'](_0xbd0a7+0x2,_0x4541aa);if(_0x55439f['startsWith'](yU)){const _0x135085=_0x4d7081['substring'](_0xbd0a7+0x2,_0x4541aa)['replace'](yU,''),_0x3f973c=_0x135085['substring'](0x0,_0x135085['indexOf']('(')),_0x2eef30=_0x135085['substring'](_0x135085['indexOf']('(')+0x1,_0x135085['indexOf'](')'));_0x1edaa9['push']({'variable':_0x55439f,'pluralKey':_0x3f973c,'countVariable':_0x2eef30});}_0xbd0a7=_0x4d7081['indexOf'](wU,_0x4541aa);}return _0x1edaa9;}(_0x4b85d2);for(const _0x8855ac of _0x55ca62)_0x9608f2[_0x8855ac['variable']]=this['pluralize'](_0x8855ac['pluralKey'],Number(_0x9608f2[_0x8855ac['countVariable']]));return _U(_0x4b85d2,_0x9608f2);}['pluralize'](_0x2d7006,_0x427276){const _0x2e200c=this['l10n']('locale-id')||'en',_0x169f02=pU(_0x2e200c,_0x427276);return this['l10n'](_0x2d7006+'__'+_0x169f02);}['bindL10n'](_0x3ef8e2,_0x56f558){this['localeManager']?.['bindL10n'](this,_0x3ef8e2,_0x56f558);}constructor(){super(),this['addTemplateProcessor'](MU),this['addTemplateProcessor'](jU);}['emit'](_0x4a1382,_0x3c64d0,_0x2c886d){const _0x4055c0=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x4055c0&&(_0x4055c0['emit'](_0x4a1382,_0x3c64d0,_0x2c886d),this['telemetryManager']['sendEvent']({'eventType':_0x4a1382,'payload':'function'==typeof _0x3c64d0?_0x3c64d0():_0x3c64d0}));}['hasBlockInCtx'](_0x3a72d4){for(const _0x2dfabd of this['blocksRegistry'])if(_0x3a72d4(_0x2dfabd))return!0x0;return!0x1;}['setOrAddState'](_0x17d000,_0x4e228d){this['add$']({[_0x17d000]:_0x4e228d},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x676e2=>{this['setAttribute'](_0x676e2,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?(({element:_0xdcbbb6,attribute:_0x1c3fba,onSuccess:_0x3fa894,onTimeout:_0x24dcaf,timeout:_0x2a30c5=0x12c})=>{const _0x5bf836=_0xdcbbb6['getAttribute'](_0x1c3fba);if(null!==_0x5bf836)return void _0x3fa894(_0x5bf836);const _0x42cad3=new MutationObserver(_0x50ca93=>{const _0x5cee00=_0x50ca93[_0x50ca93['length']-0x1];_0x5cee00&&_0x495cae(_0x5cee00);});_0x42cad3['observe'](_0xdcbbb6,{'attributes':!0x0,'attributeFilter':[_0x1c3fba]});const _0x3f176d=window['setTimeout'](()=>{_0x42cad3['disconnect'](),_0x24dcaf();},_0x2a30c5),_0x495cae=_0x527f62=>{const _0x2564a2=_0xdcbbb6['getAttribute'](_0x1c3fba);'attributes'===_0x527f62['type']&&_0x527f62['attributeName']===_0x1c3fba&&null!==_0x2564a2&&(window['clearTimeout'](_0x3f176d),_0x42cad3['disconnect'](),_0x3fa894(_0x2564a2));};})({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),TU['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),TU['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new LV(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new PU(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new BU(this)),this['has']('*a11y')||this['add']('*a11y',new DU()),this['has']('*modalManager')||this['add']('*modalManager',new $U(this)),this['sub'](RU('locale-id'),_0x3645dc=>{const _0x5396f5=(_0x3d3db2=>{const _0x1575c3=new Intl['Locale'](_0x3d3db2);let _0x3563e8='ltr';const _0x592d02=_0x1575c3['getTextInfo']?.()['direction'];return _0x592d02?_0x3563e8=_0x592d02:_0x1575c3['textInfo']?.['direction']&&(_0x3563e8=_0x1575c3['textInfo']['direction']),_0x3563e8;})(_0x3645dc);this['style']['direction']='ltr'===_0x5396f5?'':_0x5396f5;}),this['subConfigValue']('testMode',_0x4156ab=>{_0x4156ab&&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 _0xc1dbb9=this['blocksRegistry'];_0xc1dbb9?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),EQ['deleteCtx'](this),0x0===_0xc1dbb9?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){EQ['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x416c71){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'](_0x416c71,{'uuid':jV(_0x416c71),'cdnUrlModifiers':HV(_0x416c71),'fileName':FV(_0x416c71)});}catch(_0x325473){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x325473),this['telemetryManager']['sendEventError'](_0x325473,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x416c71;}return this['cfg']['secureDeliveryProxy']?_U(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x416c71},{'transform':_0x2d5a07=>window['encodeURIComponent'](_0x2d5a07)}):_0x416c71;}get['cfg'](){if(!this['__cfgProxy']){const _0x3afc4d=Object['create'](null);this['__cfgProxy']=new Proxy(_0x3afc4d,{'set':(_0x2ea15d,_0x2492b7,_0x25b065)=>{if('string'!=typeof _0x2492b7)return!0x1;const _0x1bfe2d=FU(_0x2492b7);return this['has'](_0x1bfe2d)||this['add'](_0x1bfe2d,gU[_0x2492b7]),this['$'][_0x1bfe2d]=_0x25b065,!0x0;},'get':(_0x48d607,_0x316664)=>{const _0x1c9eb1=FU(_0x316664);return this['has'](_0x1c9eb1)||this['add'](_0x1c9eb1,gU[_0x316664]),this['$'][FU(_0x316664)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x51d708,_0x22c5cd){const _0x29d2ae=FU(_0x51d708);this['has'](_0x29d2ae)||this['add'](_0x29d2ae,gU[_0x51d708]),this['sub'](_0x29d2ae,_0x22c5cd);}['debugPrint'](..._0x3d7176){if(!this['cfg']['debug'])return;let _0x1da94f=_0x3d7176;'function'==typeof _0x3d7176?.[0x0]&&(_0x1da94f=(0x0,_0x3d7176[0x0])()),console['log']('['+this['ctxName']+']',..._0x1da94f);}static['reg'](_0xe98466){_0xe98466?_0xe98466['startsWith']('uc-')&&super['reg'](_0xe98466):super['reg']();}},GU='active',ZU='___ACTIVITY_IS_ACTIVE___',XU=class _ActivityBlock extends HU{['historyTracked']=!0x1;[ZU];['init$']=EU(this);['_debouncedHistoryFlush']=DV(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x43b04e=_ActivityBlock['_activityCallbacks']['get'](this);this[ZU]=!0x1,this['removeAttribute'](GU),_0x43b04e?.['deactivateCallback']?.();}['_activate'](){const _0x44e7ba=_ActivityBlock['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[ZU]=!0x0,this['setAttribute'](GU,''),_0x44e7ba?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](NV['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x26ee0d=>{try{this['activityType']!==_0x26ee0d&&this[ZU]?this['_deactivate']():this['activityType']!==_0x26ee0d||this[ZU]||this['_activate']();}catch(_0x4cf572){this['telemetryManager']['sendEventError'](_0x4cf572,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x4cf572),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x26ee0d||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x3fc6ef=this['$']['*history'];_0x3fc6ef&&(_0x3fc6ef['length']>0xa&&(_0x3fc6ef=_0x3fc6ef['slice'](_0x3fc6ef['length']-0xb,_0x3fc6ef['length']-0x1)),this['historyTracked']&&_0x3fc6ef[_0x3fc6ef['length']-0x1]!==this['activityType']&&_0x3fc6ef['push'](this['activityType']),this['$']['*history']=_0x3fc6ef);}['_isActivityRegistered'](){return!!this['activityType']&&_ActivityBlock['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[ZU];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x1fb2a1,_0x5a69fe={}){const {onActivate:_0x3ecfa1,onDeactivate:_0x18ddcc}=_0x5a69fe;_ActivityBlock['_activityCallbacks']['set'](this,{'activateCallback':_0x3ecfa1,'deactivateCallback':_0x18ddcc});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_ActivityBlock['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x5defc7=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x280975=>_0x280975 instanceof _ActivityBlock&&_0x280975['activityType']===_0x5defc7)||(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 _0x1d1faf=this['$']['*history'];if(_0x1d1faf){let _0x20a799=_0x1d1faf['pop']();for(;_0x20a799===this['activityType'];)_0x20a799=_0x1d1faf['pop']();let _0x2bcf5e=!!_0x20a799;if(_0x20a799){const _0x5b0759=[...this['blocksRegistry']]['find'](_0x1252b1=>_0x1252b1['activityType']===_0x20a799);_0x2bcf5e=_0x5b0759?.['couldOpenActivity']??!0x1;}_0x20a799=_0x2bcf5e?_0x20a799:void 0x0,_0x20a799&&this['modalManager']?.['open'](_0x20a799),this['$']['*currentActivity']=_0x20a799,this['$']['*history']=_0x1d1faf,_0x20a799||this['modalManager']?.['closeAll']();}}};function qU(_0x45bc30){for(const _0x4c5392 in _0x45bc30){let _0x2cf0ab=[..._0x4c5392]['reduce']((_0x3cb1b8,_0x1ddaae)=>(_0x1ddaae['toUpperCase']()===_0x1ddaae&&(_0x1ddaae='-'+_0x1ddaae['toLowerCase']()),_0x3cb1b8+=_0x1ddaae),'');_0x2cf0ab['startsWith']('-')&&(_0x2cf0ab=_0x2cf0ab['replace']('-','')),_0x2cf0ab['startsWith']('uc-')||(_0x2cf0ab='uc-'+_0x2cf0ab),_0x45bc30[_0x4c5392]['reg']&&_0x45bc30[_0x4c5392]['reg'](_0x2cf0ab);}}XU['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 WU='UC',zU=class extends HU{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=(e=>({...AU(e),'*solution':null}))(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x84108f){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>'+_0x84108f+'<slot></slot>';}static get['template'](){return this['_template'];}},YU=1.5,KU=0x64/0x3;function JU(_0x2f423c,_0x42e03d){for(const [_0x37f605,_0x26c156]of Object['entries'](_0x42e03d))_0x2f423c['setAttributeNS'](null,_0x37f605,_0x26c156['toString']());}function tB(_0x48e5e7,_0x103079={}){const _0x5cf666=document['createElementNS']('http://www.w3.org/2000/svg',_0x48e5e7);return JU(_0x5cf666,_0x103079),_0x5cf666;}function eB(_0x29440d,_0x27680e,_0x434a22){const {x:_0x4f7229,y:_0x4be6d3,width:_0x3c44f9,height:_0x55de51}=_0x29440d,_0x468615=_0x27680e['includes']('w')?0x0:0x1,_0x5cf6b0=_0x27680e['includes']('n')?0x0:0x1,_0x3c16e8=0x0===_0x468615?-0x1:0x1,_0x55858f=0x0===_0x5cf6b0?-0x1:0x1,_0x1c1fad=[_0x4f7229+_0x468615*_0x3c44f9+YU*_0x3c16e8,_0x4be6d3+_0x5cf6b0*_0x55de51+YU*_0x55858f-0x18*_0x434a22*_0x55858f],_0x48546e=[_0x4f7229+_0x468615*_0x3c44f9+YU*_0x3c16e8,_0x4be6d3+_0x5cf6b0*_0x55de51+YU*_0x55858f],_0x4cabf9=[_0x4f7229+_0x468615*_0x3c44f9-0x18*_0x434a22*_0x3c16e8+YU*_0x3c16e8,_0x4be6d3+_0x5cf6b0*_0x55de51+YU*_0x55858f];return{'d':'M\x20'+_0x1c1fad[0x0]+'\x20'+_0x1c1fad[0x1]+'\x20L\x20'+_0x48546e[0x0]+'\x20'+_0x48546e[0x1]+'\x20L\x20'+_0x4cabf9[0x0]+'\x20'+_0x4cabf9[0x1],'center':[_0x48546e[0x0],_0x48546e[0x1]]};}function iB(_0x290cf6,_0x11b449,_0x4ea964){const {x:_0x457bf6,y:_0x3acfae,width:_0x5ac472,height:_0x4707ce}=_0x290cf6,_0x3d99d8='n'===_0x11b449||'s'===_0x11b449,_0x3c17d7=_0x3d99d8?0.5:'w'===_0x11b449?0x0:0x1,_0x3e2b64='w'===_0x11b449||'e'===_0x11b449?0.5:'n'===_0x11b449?0x0:0x1,_0x18d222='w'===_0x11b449?-0x1:'e'===_0x11b449?0x1:0x0,_0x55fa98='n'===_0x11b449?-0x1:'s'===_0x11b449?0x1:0x0;let _0x21b295,_0x53f3db;return _0x3d99d8?(_0x21b295=[_0x457bf6+_0x3c17d7*_0x5ac472-0x22*_0x4ea964/0x2,_0x3acfae+_0x3e2b64*_0x4707ce+YU*_0x55fa98],_0x53f3db=[_0x457bf6+_0x3c17d7*_0x5ac472+0x22*_0x4ea964/0x2,_0x3acfae+_0x3e2b64*_0x4707ce+YU*_0x55fa98]):(_0x21b295=[_0x457bf6+_0x3c17d7*_0x5ac472+YU*_0x18d222,_0x3acfae+_0x3e2b64*_0x4707ce-0x22*_0x4ea964/0x2],_0x53f3db=[_0x457bf6+_0x3c17d7*_0x5ac472+YU*_0x18d222,_0x3acfae+_0x3e2b64*_0x4707ce+0x22*_0x4ea964/0x2]),{'d':'M\x20'+_0x21b295[0x0]+'\x20'+_0x21b295[0x1]+'\x20L\x20'+_0x53f3db[0x0]+'\x20'+_0x53f3db[0x1],'center':[(_0x21b295[0x0]+_0x53f3db[0x0])/0x2,(_0x21b295[0x1]+_0x53f3db[0x1])/0x2]};}function sB(_0x43e708,_0x5a09bb){let {x:_0x5cae3a}=_0x43e708,{y:_0x625c7}=_0x43e708;return _0x43e708['x']<_0x5a09bb['x']?_0x5cae3a=_0x5a09bb['x']:_0x43e708['x']+_0x43e708['width']>_0x5a09bb['x']+_0x5a09bb['width']&&(_0x5cae3a=_0x5a09bb['x']+_0x5a09bb['width']-_0x43e708['width']),_0x43e708['y']<_0x5a09bb['y']?_0x625c7=_0x5a09bb['y']:_0x43e708['y']+_0x43e708['height']>_0x5a09bb['y']+_0x5a09bb['height']&&(_0x625c7=_0x5a09bb['y']+_0x5a09bb['height']-_0x43e708['height']),{..._0x43e708,'x':_0x5cae3a,'y':_0x625c7};}function nB({direction:_0x4f19a3,..._0x46c5c8}){switch(_0x4f19a3){case'n':return function({rect:_0x578d12,delta:_0x23f663,aspectRatio:_0x326a5d,imageBox:_0x15eac6}){const [,_0x4ce99d]=_0x23f663;let {y:_0x1386c9,width:_0xd8134e,height:_0xafc55c}=_0x578d12;_0x1386c9+=_0x4ce99d,_0xafc55c-=_0x4ce99d,_0x326a5d&&(_0xd8134e=_0xafc55c*_0x326a5d);let _0x4c39ed=_0x578d12['x']+_0x578d12['width']/0x2-_0xd8134e/0x2;return _0x1386c9<=_0x15eac6['y']&&(_0x1386c9=_0x15eac6['y'],_0xafc55c=_0x578d12['y']+_0x578d12['height']-_0x1386c9,_0x326a5d&&(_0xd8134e=_0xafc55c*_0x326a5d,_0x4c39ed=_0x578d12['x']+_0x578d12['width']/0x2-_0xd8134e/0x2)),_0x4c39ed<=_0x15eac6['x']&&(_0x4c39ed=_0x15eac6['x'],_0x1386c9=_0x578d12['y']+_0x578d12['height']-_0xafc55c),_0x4c39ed+_0xd8134e>=_0x15eac6['x']+_0x15eac6['width']&&(_0x4c39ed=Math['max'](_0x15eac6['x'],_0x15eac6['x']+_0x15eac6['width']-_0xd8134e),_0xd8134e=_0x15eac6['x']+_0x15eac6['width']-_0x4c39ed,_0x326a5d&&(_0xafc55c=_0xd8134e/_0x326a5d),_0x1386c9=_0x578d12['y']+_0x578d12['height']-_0xafc55c),_0xafc55c<0x1&&(_0xafc55c=0x1,_0x326a5d&&(_0xd8134e=_0xafc55c*_0x326a5d,_0x4c39ed=_0x578d12['x']+_0x578d12['width']/0x2-_0xd8134e/0x2),_0x1386c9=_0x578d12['y']+_0x578d12['height']-_0xafc55c),_0xd8134e<0x1&&(_0xd8134e=0x1,_0x326a5d&&(_0xafc55c=_0xd8134e/_0x326a5d,_0x4c39ed=_0x578d12['x']+_0x578d12['width']/0x2-_0xd8134e/0x2),_0x1386c9=_0x578d12['y']+_0x578d12['height']-_0xafc55c),{'x':_0x4c39ed,'y':_0x1386c9,'width':_0xd8134e,'height':_0xafc55c};}(_0x46c5c8);case'w':return function({rect:_0x56115b,delta:_0x135a35,aspectRatio:_0x4ce972,imageBox:_0x10247c}){const [_0x140e31]=_0x135a35;let {x:_0x49eab2,width:_0x70eac4,height:_0x1ac757}=_0x56115b;_0x49eab2+=_0x140e31,_0x70eac4-=_0x140e31,_0x4ce972&&(_0x1ac757=_0x70eac4/_0x4ce972);let _0x7726fa=_0x56115b['y']+_0x56115b['height']/0x2-_0x1ac757/0x2;return _0x49eab2<=_0x10247c['x']&&(_0x49eab2=_0x10247c['x'],_0x70eac4=_0x56115b['x']+_0x56115b['width']-_0x49eab2,_0x4ce972&&(_0x1ac757=_0x70eac4/_0x4ce972,_0x7726fa=_0x56115b['y']+_0x56115b['height']/0x2-_0x1ac757/0x2)),_0x7726fa<=_0x10247c['y']&&(_0x7726fa=_0x10247c['y'],_0x49eab2=_0x56115b['x']+_0x56115b['width']-_0x70eac4),_0x7726fa+_0x1ac757>=_0x10247c['y']+_0x10247c['height']&&(_0x7726fa=Math['max'](_0x10247c['y'],_0x10247c['y']+_0x10247c['height']-_0x1ac757),_0x1ac757=_0x10247c['y']+_0x10247c['height']-_0x7726fa,_0x4ce972&&(_0x70eac4=_0x1ac757*_0x4ce972),_0x49eab2=_0x56115b['x']+_0x56115b['width']-_0x70eac4),_0x1ac757<0x1&&(_0x1ac757=0x1,_0x4ce972&&(_0x70eac4=_0x1ac757*_0x4ce972),_0x7726fa=_0x56115b['y']+_0x56115b['height']/0x2-_0x1ac757/0x2,_0x49eab2=_0x56115b['x']+_0x56115b['width']-_0x70eac4),_0x70eac4<0x1&&(_0x70eac4=0x1,_0x4ce972&&(_0x1ac757=_0x70eac4/_0x4ce972),_0x7726fa=_0x56115b['y']+_0x56115b['height']/0x2-_0x1ac757/0x2,_0x49eab2=_0x56115b['x']+_0x56115b['width']-_0x70eac4),{'x':_0x49eab2,'y':_0x7726fa,'width':_0x70eac4,'height':_0x1ac757};}(_0x46c5c8);case's':return function({rect:_0x359214,delta:_0x3f0ddb,aspectRatio:_0x1e469b,imageBox:_0x2ddb3d}){const [,_0x442a04]=_0x3f0ddb;let {y:_0x152972,width:_0x4dd2ad,height:_0x252beb}=_0x359214;_0x252beb+=_0x442a04,_0x1e469b&&(_0x4dd2ad=_0x252beb*_0x1e469b);let _0x43c0fa=_0x359214['x']+_0x359214['width']/0x2-_0x4dd2ad/0x2;return _0x152972+_0x252beb>=_0x2ddb3d['y']+_0x2ddb3d['height']&&(_0x252beb=_0x2ddb3d['y']+_0x2ddb3d['height']-_0x152972,_0x1e469b&&(_0x4dd2ad=_0x252beb*_0x1e469b),_0x43c0fa=_0x359214['x']+_0x359214['width']/0x2-_0x4dd2ad/0x2),_0x43c0fa<=_0x2ddb3d['x']&&(_0x43c0fa=_0x2ddb3d['x'],_0x152972=_0x359214['y']),_0x43c0fa+_0x4dd2ad>=_0x2ddb3d['x']+_0x2ddb3d['width']&&(_0x43c0fa=Math['max'](_0x2ddb3d['x'],_0x2ddb3d['x']+_0x2ddb3d['width']-_0x4dd2ad),_0x4dd2ad=_0x2ddb3d['x']+_0x2ddb3d['width']-_0x43c0fa,_0x1e469b&&(_0x252beb=_0x4dd2ad/_0x1e469b),_0x152972=_0x359214['y']),_0x252beb<0x1&&(_0x252beb=0x1,_0x1e469b&&(_0x4dd2ad=_0x252beb*_0x1e469b),_0x43c0fa=_0x359214['x']+_0x359214['width']/0x2-_0x4dd2ad/0x2),_0x4dd2ad<0x1&&(_0x4dd2ad=0x1,_0x1e469b&&(_0x252beb=_0x4dd2ad/_0x1e469b),_0x43c0fa=_0x359214['x']+_0x359214['width']/0x2-_0x4dd2ad/0x2),{'x':_0x43c0fa,'y':_0x152972,'width':_0x4dd2ad,'height':_0x252beb};}(_0x46c5c8);case'e':return function({rect:_0x5a0777,delta:_0x524ace,aspectRatio:_0x9767fb,imageBox:_0x102921}){const [_0x42ad95]=_0x524ace;let {x:_0x158034,width:_0x4de7b0,height:_0x40273f}=_0x5a0777;_0x4de7b0+=_0x42ad95,_0x9767fb&&(_0x40273f=_0x4de7b0/_0x9767fb);let _0x125ec3=_0x5a0777['y']+_0x5a0777['height']/0x2-_0x40273f/0x2;return _0x158034+_0x4de7b0>=_0x102921['x']+_0x102921['width']&&(_0x4de7b0=_0x102921['x']+_0x102921['width']-_0x158034,_0x9767fb&&(_0x40273f=_0x4de7b0/_0x9767fb),_0x125ec3=_0x5a0777['y']+_0x5a0777['height']/0x2-_0x40273f/0x2),_0x125ec3<=_0x102921['y']&&(_0x125ec3=_0x102921['y'],_0x158034=_0x5a0777['x']),_0x125ec3+_0x40273f>=_0x102921['y']+_0x102921['height']&&(_0x125ec3=Math['max'](_0x102921['y'],_0x102921['y']+_0x102921['height']-_0x40273f),_0x40273f=_0x102921['y']+_0x102921['height']-_0x125ec3,_0x9767fb&&(_0x4de7b0=_0x40273f*_0x9767fb),_0x158034=_0x5a0777['x']),_0x40273f<0x1&&(_0x40273f=0x1,_0x9767fb&&(_0x4de7b0=_0x40273f*_0x9767fb),_0x125ec3=_0x5a0777['y']+_0x5a0777['height']/0x2-_0x40273f/0x2),_0x4de7b0<0x1&&(_0x4de7b0=0x1,_0x9767fb&&(_0x40273f=_0x4de7b0/_0x9767fb),_0x125ec3=_0x5a0777['y']+_0x5a0777['height']/0x2-_0x40273f/0x2),{'x':_0x158034,'y':_0x125ec3,'width':_0x4de7b0,'height':_0x40273f};}(_0x46c5c8);case'nw':return function({rect:_0x6726c,delta:_0x112d94,aspectRatio:_0x50ea91,imageBox:_0x1f9af8}){let [_0x5deb80,_0x37e081]=_0x112d94,{x:_0x5ee7ce,y:_0x401493,width:_0x2c4724,height:_0x27f627}=_0x6726c;return _0x5ee7ce+_0x5deb80<_0x1f9af8['x']&&(_0x5deb80=_0x1f9af8['x']-_0x5ee7ce),_0x401493+_0x37e081<_0x1f9af8['y']&&(_0x37e081=_0x1f9af8['y']-_0x401493),_0x5ee7ce+=_0x5deb80,_0x2c4724-=_0x5deb80,_0x401493+=_0x37e081,_0x27f627-=_0x37e081,_0x50ea91&&Math['abs'](_0x2c4724/_0x27f627)>_0x50ea91?(_0x37e081=_0x2c4724/_0x50ea91-_0x27f627,_0x27f627+=_0x37e081,_0x401493-=_0x37e081,_0x401493<=_0x1f9af8['y']&&(_0x27f627-=_0x1f9af8['y']-_0x401493,_0x2c4724=_0x27f627*_0x50ea91,_0x5ee7ce=_0x6726c['x']+_0x6726c['width']-_0x2c4724,_0x401493=_0x1f9af8['y'])):_0x50ea91&&(_0x5deb80=_0x27f627*_0x50ea91-_0x2c4724,_0x2c4724+=_0x5deb80,_0x5ee7ce-=_0x5deb80,_0x5ee7ce<=_0x1f9af8['x']&&(_0x2c4724-=_0x1f9af8['x']-_0x5ee7ce,_0x27f627=_0x2c4724/_0x50ea91,_0x5ee7ce=_0x1f9af8['x'],_0x401493=_0x6726c['y']+_0x6726c['height']-_0x27f627)),_0x27f627<0x1&&(_0x27f627=0x1,_0x50ea91&&(_0x2c4724=_0x27f627*_0x50ea91),_0x5ee7ce=_0x6726c['x']+_0x6726c['width']-_0x2c4724,_0x401493=_0x6726c['y']+_0x6726c['height']-_0x27f627),_0x2c4724<0x1&&(_0x2c4724=0x1,_0x50ea91&&(_0x27f627=_0x2c4724/_0x50ea91),_0x5ee7ce=_0x6726c['x']+_0x6726c['width']-_0x2c4724,_0x401493=_0x6726c['y']+_0x6726c['height']-_0x27f627),{'x':_0x5ee7ce,'y':_0x401493,'width':_0x2c4724,'height':_0x27f627};}(_0x46c5c8);case'ne':return function({rect:_0x51cc45,delta:_0x366c69,aspectRatio:_0x36a8ec,imageBox:_0x35b311}){let [_0x53e702,_0x56842d]=_0x366c69,{x:_0x39cc82,y:_0x554526,width:_0x4dbd41,height:_0x310aa2}=_0x51cc45;return _0x39cc82+_0x4dbd41+_0x53e702>_0x35b311['x']+_0x35b311['width']&&(_0x53e702=_0x35b311['x']+_0x35b311['width']-_0x39cc82-_0x4dbd41),_0x554526+_0x56842d<_0x35b311['y']&&(_0x56842d=_0x35b311['y']-_0x554526),_0x4dbd41+=_0x53e702,_0x554526+=_0x56842d,_0x310aa2-=_0x56842d,_0x36a8ec&&Math['abs'](_0x4dbd41/_0x310aa2)>_0x36a8ec?(_0x56842d=_0x4dbd41/_0x36a8ec-_0x310aa2,_0x310aa2+=_0x56842d,_0x554526-=_0x56842d,_0x554526<=_0x35b311['y']&&(_0x310aa2-=_0x35b311['y']-_0x554526,_0x4dbd41=_0x310aa2*_0x36a8ec,_0x39cc82=_0x51cc45['x'],_0x554526=_0x35b311['y'])):_0x36a8ec&&(_0x53e702=_0x310aa2*_0x36a8ec-_0x4dbd41,_0x4dbd41+=_0x53e702,_0x39cc82+_0x4dbd41>=_0x35b311['x']+_0x35b311['width']&&(_0x4dbd41=_0x35b311['x']+_0x35b311['width']-_0x39cc82,_0x310aa2=_0x4dbd41/_0x36a8ec,_0x39cc82=_0x35b311['x']+_0x35b311['width']-_0x4dbd41,_0x554526=_0x51cc45['y']+_0x51cc45['height']-_0x310aa2)),_0x310aa2<0x1&&(_0x310aa2=0x1,_0x36a8ec&&(_0x4dbd41=_0x310aa2*_0x36a8ec),_0x554526=_0x51cc45['y']+_0x51cc45['height']-_0x310aa2),_0x4dbd41<0x1&&(_0x4dbd41=0x1,_0x36a8ec&&(_0x310aa2=_0x4dbd41/_0x36a8ec),_0x554526=_0x51cc45['y']+_0x51cc45['height']-_0x310aa2),{'x':_0x39cc82,'y':_0x554526,'width':_0x4dbd41,'height':_0x310aa2};}(_0x46c5c8);case'sw':return function({rect:_0x500af8,delta:_0x294251,aspectRatio:_0xb158cd,imageBox:_0x1fe713}){let [_0xeb2897,_0x2b7f03]=_0x294251,{x:_0x1e5894,y:_0x38edb4,width:_0x4a722e,height:_0x495d55}=_0x500af8;return _0x1e5894+_0xeb2897<_0x1fe713['x']&&(_0xeb2897=_0x1fe713['x']-_0x1e5894),_0x38edb4+_0x495d55+_0x2b7f03>_0x1fe713['y']+_0x1fe713['height']&&(_0x2b7f03=_0x1fe713['y']+_0x1fe713['height']-_0x38edb4-_0x495d55),_0x1e5894+=_0xeb2897,_0x4a722e-=_0xeb2897,_0x495d55+=_0x2b7f03,_0xb158cd&&Math['abs'](_0x4a722e/_0x495d55)>_0xb158cd?(_0x2b7f03=_0x4a722e/_0xb158cd-_0x495d55,_0x495d55+=_0x2b7f03,_0x38edb4+_0x495d55>=_0x1fe713['y']+_0x1fe713['height']&&(_0x495d55=_0x1fe713['y']+_0x1fe713['height']-_0x38edb4,_0x4a722e=_0x495d55*_0xb158cd,_0x1e5894=_0x500af8['x']+_0x500af8['width']-_0x4a722e,_0x38edb4=_0x1fe713['y']+_0x1fe713['height']-_0x495d55)):_0xb158cd&&(_0xeb2897=_0x495d55*_0xb158cd-_0x4a722e,_0x4a722e+=_0xeb2897,_0x1e5894-=_0xeb2897,_0x1e5894<=_0x1fe713['x']&&(_0x4a722e-=_0x1fe713['x']-_0x1e5894,_0x495d55=_0x4a722e/_0xb158cd,_0x1e5894=_0x1fe713['x'],_0x38edb4=_0x500af8['y'])),_0x495d55<0x1&&(_0x495d55=0x1,_0xb158cd&&(_0x4a722e=_0x495d55*_0xb158cd),_0x1e5894=_0x500af8['x']+_0x500af8['width']-_0x4a722e),_0x4a722e<0x1&&(_0x4a722e=0x1,_0xb158cd&&(_0x495d55=_0x4a722e/_0xb158cd),_0x1e5894=_0x500af8['x']+_0x500af8['width']-_0x4a722e),{'x':_0x1e5894,'y':_0x38edb4,'width':_0x4a722e,'height':_0x495d55};}(_0x46c5c8);case'se':return function({rect:_0x4fde78,delta:_0x3c4a9b,aspectRatio:_0x4a6329,imageBox:_0x4e8d48}){let [_0x25d56c,_0x125cfa]=_0x3c4a9b,{x:_0x9e734e,y:_0x44697c,width:_0x97d463,height:_0x1bb464}=_0x4fde78;return _0x9e734e+_0x97d463+_0x25d56c>_0x4e8d48['x']+_0x4e8d48['width']&&(_0x25d56c=_0x4e8d48['x']+_0x4e8d48['width']-_0x9e734e-_0x97d463),_0x44697c+_0x1bb464+_0x125cfa>_0x4e8d48['y']+_0x4e8d48['height']&&(_0x125cfa=_0x4e8d48['y']+_0x4e8d48['height']-_0x44697c-_0x1bb464),_0x97d463+=_0x25d56c,_0x1bb464+=_0x125cfa,_0x4a6329&&Math['abs'](_0x97d463/_0x1bb464)>_0x4a6329?(_0x125cfa=_0x97d463/_0x4a6329-_0x1bb464,_0x1bb464+=_0x125cfa,_0x44697c+_0x1bb464>=_0x4e8d48['y']+_0x4e8d48['height']&&(_0x1bb464=_0x4e8d48['y']+_0x4e8d48['height']-_0x44697c,_0x97d463=_0x1bb464*_0x4a6329,_0x9e734e=_0x4fde78['x'],_0x44697c=_0x4e8d48['y']+_0x4e8d48['height']-_0x1bb464)):_0x4a6329&&(_0x25d56c=_0x1bb464*_0x4a6329-_0x97d463,_0x97d463+=_0x25d56c,_0x9e734e+_0x97d463>=_0x4e8d48['x']+_0x4e8d48['width']&&(_0x97d463=_0x4e8d48['x']+_0x4e8d48['width']-_0x9e734e,_0x1bb464=_0x97d463/_0x4a6329,_0x9e734e=_0x4e8d48['x']+_0x4e8d48['width']-_0x97d463,_0x44697c=_0x4fde78['y'])),_0x1bb464<0x1&&(_0x1bb464=0x1,_0x4a6329&&(_0x97d463=_0x1bb464*_0x4a6329)),_0x97d463<0x1&&(_0x97d463=0x1,_0x4a6329&&(_0x1bb464=_0x97d463/_0x4a6329)),{'x':_0x9e734e,'y':_0x44697c,'width':_0x97d463,'height':_0x1bb464};}(_0x46c5c8);default:return _0x46c5c8['rect'];}}function rB({width:_0x41edfa,height:_0x2ef1a4},_0x4e9087){const _0x129915=_0x4e9087/0x5a%0x2!=0x0;return{'width':_0x129915?_0x2ef1a4:_0x41edfa,'height':_0x129915?_0x41edfa:_0x2ef1a4};}function oB(_0x1ee09f,_0x164d06,_0x57a242){let _0x519eb6,_0x50cb15;_0x1ee09f/_0x164d06>_0x57a242?(_0x519eb6=Math['round'](_0x164d06*_0x57a242),_0x50cb15=_0x164d06):(_0x519eb6=_0x1ee09f,_0x50cb15=Math['round'](_0x1ee09f/_0x57a242));const _0x4f04b9=Math['round']((_0x1ee09f-_0x519eb6)/0x2),_0x38ccc7=Math['round']((_0x164d06-_0x50cb15)/0x2);return _0x4f04b9+_0x519eb6>_0x1ee09f&&(_0x519eb6=_0x1ee09f-_0x4f04b9),_0x38ccc7+_0x50cb15>_0x164d06&&(_0x50cb15=_0x164d06-_0x38ccc7),{'x':_0x4f04b9,'y':_0x38ccc7,'width':_0x519eb6,'height':_0x50cb15};}function aB(_0x1e910c){return{'x':Math['round'](_0x1e910c['x']),'y':Math['round'](_0x1e910c['y']),'width':Math['round'](_0x1e910c['width']),'height':Math['round'](_0x1e910c['height'])};}function cB(_0x8bb6ef,_0x3be66e,_0x24e4bc){return Math['min'](Math['max'](_0x8bb6ef,_0x3be66e),_0x24e4bc);}var lB=['free'],hB=_0x480cfb=>{const _0x16dafe=YV(_0x480cfb);if(!_0x16dafe||0x0===_0x16dafe['length'])return[];const _0x319790=[];for(const _0x1dcd6c of _0x16dafe){const _0x51ac7a=_0x1dcd6c['trim']();if(!_0x51ac7a)continue;const _0x1565da=_0x51ac7a['indexOf'](':');if(-0x1===_0x1565da&&!lB['includes'](_0x51ac7a)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x51ac7a);continue;}const _0x5a82cc=Number(_0x51ac7a['slice'](0x0,_0x1565da)),_0x1d9db1=Number(_0x51ac7a['slice'](_0x1565da+0x1));!(!Number['isFinite'](_0x5a82cc)||!Number['isFinite'](_0x1d9db1)||_0x5a82cc<=0x0||_0x1d9db1<=0x0)||lB['includes'](_0x51ac7a)?_0x319790['push']({'id':SQ['generate'](),'type':'aspect-ratio','width':lB['includes'](_0x51ac7a)?0x0:_0x5a82cc,'height':lB['includes'](_0x51ac7a)?0x0:_0x1d9db1,'hasFreeform':lB['includes'](_0x51ac7a)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x51ac7a);}return _0x319790;},uB=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),dB=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),fB=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',...dB,...uB});function mB(_0x523139){return KQ({..._0x523139,'libraryName':VU,'libraryVersion':UU});}var gB=_0x24d645=>'number'!=typeof _0x24d645?0x0:Math['floor'](_0x24d645/0x3e8),pB=class{['_block'];['_secureToken']=null;constructor(_0x47b3b7){this['_block']=_0x47b3b7;}['_debugPrint'](..._0x4effd5){this['_block']['debugPrint']('[secure-uploads]',..._0x4effd5);}async['getSecureToken'](){const {secureSignature:_0x1c77a1,secureExpire:_0x4e0313,secureUploadsSignatureResolver:_0x63fc57}=this['_block']['cfg'];if((_0x1c77a1||_0x4e0313)&&_0x63fc57&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x63fc57){if(!this['_secureToken']||((_0x2898db,{threshold:_0x7ecd4a})=>{const {secureExpire:_0x1f2e54}=_0x2898db,_0x4c0997=gB(Date['now']()),_0x3678db=Number(_0x1f2e54);return _0x4c0997+gB(_0x7ecd4a)>=_0x3678db;})(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 _0x4c72fa=await _0x63fc57();_0x4c72fa?_0x4c72fa['secureSignature']&&_0x4c72fa['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x4c72fa),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x4c72fa['secureExpire']))['toISOString']()),this['_secureToken']=_0x4c72fa):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x4c72fa):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x200f8b){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x200f8b),this['_block']['telemetryManager']['sendEventError'](_0x200f8b,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x1c77a1&&_0x4e0313?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x1c77a1,'secureExpire':_0x4e0313}),{'secureSignature':_0x1c77a1,'secureExpire':_0x4e0313}):null;}},OB=(_0x403fb1,_0x2d86c2)=>{if(_0x403fb1['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x2d86c2['l10n']('some-files-were-not-uploaded')};},wB=(_0x330e69,_0x5b76e5)=>{const _0x46b87d=_0x330e69['totalCount'],_0x4c897d=_0x5b76e5['cfg']['multiple']?_0x5b76e5['cfg']['multipleMin']:0x0,_0x5cf8f7=_0x5b76e5['cfg']['multiple']?_0x5b76e5['cfg']['multipleMax']:0x1;if(_0x4c897d&&_0x46b87d<_0x4c897d)return{'type':'TOO_FEW_FILES','message':_0x5b76e5['l10n']('files-count-limit-error-too-few',{'min':_0x4c897d,'max':_0x5cf8f7,'total':_0x46b87d}),'payload':{'total':_0x46b87d,'min':_0x4c897d,'max':_0x5cf8f7}};if(_0x5cf8f7&&_0x46b87d>_0x5cf8f7)return{'type':'TOO_MANY_FILES','message':_0x5b76e5['l10n']('files-count-limit-error-too-many',{'min':_0x4c897d,'max':_0x5cf8f7,'total':_0x46b87d}),'payload':{'total':_0x46b87d,'min':_0x4c897d,'max':_0x5cf8f7}};},bB={'safariDesktop':((()=>{const _0x3052ff=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x3052ff)&&/Version\/[\d.]+.*Safari/['test'](_0x3052ff)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x3052ff);})())},yB={'htmlMediaCapture':'capture'in document['createElement']('input')},_B='image/*',vB='video/*',TB=bB['safariDesktop']?[_B]:[_B,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],EB=_0x1b534a=>_0x1b534a?_0x1b534a['filter'](_0x98815e=>'string'==typeof _0x98815e)['flatMap'](_0x313324=>YV(_0x313324)):[],AB=(_0x2ec0f5,_0x1e26f0)=>_0x1e26f0['some'](_0x24efc5=>{if(_0x24efc5['endsWith']('*')){const _0x522f7b=_0x24efc5['replace']('*','');return _0x2ec0f5['startsWith'](_0x522f7b);}return _0x2ec0f5===_0x24efc5;}),IB=_0x2d0736=>{const _0xb2cd3a=_0x2d0736?.['type'];return!!_0xb2cd3a&&AB(_0xb2cd3a,TB);},SB=(_0x311f06,_0x33ce2e)=>{const _0x595a86=_0x33ce2e['cfg']['imgOnly'],_0x1be354=_0x33ce2e['cfg']['accept'],_0xe5926b=EB([..._0x595a86?TB:[],_0x1be354]);if(!_0xe5926b['length'])return;const _0xa22c98=_0x311f06['mimeType'],_0x4b0f52=_0x311f06['name'];if(!_0xa22c98||!_0x4b0f52)return;const _0x5df663=AB(_0xa22c98,_0xe5926b),_0x35c030=((_0x30db58,_0xc5351a)=>_0xc5351a['some'](_0x41d10a=>!!_0x41d10a['startsWith']('.')&&_0x30db58['toLowerCase']()['endsWith'](_0x41d10a['toLowerCase']())))(_0x4b0f52,_0xe5926b);return _0x5df663||_0x35c030?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x33ce2e['l10n']('file-type-not-allowed'),'payload':{'entry':_0x311f06}};},CB=(_0x3701a7,_0x578faf)=>{const _0x3e19fc=_0x578faf['cfg']['imgOnly'],_0x310914=_0x3701a7['isImage'];if(_0x3e19fc&&!_0x310914&&(_0x3701a7['fileInfo']||!_0x3701a7['externalUrl'])&&(_0x3701a7['fileInfo']||_0x3701a7['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x578faf['l10n']('images-only-accepted'),'payload':{'entry':_0x3701a7}};},kB=0x3e8,xB=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),RB=_0x3f15ce=>Math['ceil'](0x64*_0x3f15ce)/0x64,PB=(_0x3e255c,_0x9cf245=xB['AUTO'])=>{const _0x472918=_0x9cf245===xB['AUTO'];if(_0x9cf245===xB['BYTE']||_0x472918&&_0x3e255c<0x3e8)return _0x3e255c+'\x20'+('one'===pU('en-US',_0x3e255c)?'byte':'bytes');return _0x9cf245===xB['KB']||_0x472918&&_0x3e255c<0xf4240?RB(_0x3e255c/0x3e8)+'\x20KB':_0x9cf245===xB['MB']||_0x472918&&_0x3e255c<kB**0x3?RB(_0x3e255c/0xf4240)+'\x20MB':_0x9cf245===xB['GB']||_0x472918&&_0x3e255c<kB**0x4?RB(_0x3e255c/kB**0x3)+'\x20GB':_0x9cf245===xB['TB']||_0x472918&&_0x3e255c<kB**0x5?RB(_0x3e255c/kB**0x4)+'\x20TB':RB(_0x3e255c/kB**0x5)+'\x20PB';},MB=(_0x178e9b,_0x37f1dd)=>{const _0x5b36c4=_0x37f1dd['cfg']['maxLocalFileSizeBytes'],_0x210bb7=_0x178e9b['size'];if(_0x5b36c4&&_0x210bb7&&_0x210bb7>_0x5b36c4)return{'type':'FILE_SIZE_EXCEEDED','message':_0x37f1dd['l10n']('files-max-size-limit-error',{'maxFileSize':PB(_0x5b36c4)}),'payload':{'entry':_0x178e9b}};},NB=(_0x56ed33,_0x16e827)=>{const {internalId:_0x3690bf}=_0x56ed33,_0x54ac9c=_0x16e827['_uploadCollection']['read'](_0x3690bf),_0x419ad8=_0x54ac9c?.['getValue']('uploadError');if(!_0x419ad8)return;if(_0x419ad8 instanceof UploadError)return{'type':'UPLOAD_ERROR','message':_0x419ad8['message'],'payload':{'entry':_0x56ed33,'error':_0x419ad8}};if(_0x419ad8 instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x419ad8['message'],'payload':{'entry':_0x56ed33,'error':_0x419ad8}};const _0x384333=_0x419ad8 instanceof Error?_0x419ad8:new Error('Unknown\x20error',{'cause':_0x419ad8});return{'type':'UNKNOWN_ERROR','message':_0x384333['message'],'payload':{'entry':_0x56ed33,'error':_0x384333}};},LB='File\x20validator\x20execution\x20has\x20failed',DB='File\x20validator\x20execution\x20has\x20timed\x20out',QB='Collection\x20validator\x20execution\x20has\x20failed',$B='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',VB=_0x262550=>'function'==typeof _0x262550?{'runOn':'change','validator':_0x262550}:_0x262550,UB=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[CB,SB,MB,NB];['_commonCollectionValidators']=[wB,OB];['_queue']=new Queue(0x14);['_runQueueDebounced']=DV(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x5e5109){this['_blockInstance']=_0x5e5109,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x5b3618=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x5b3618),this['_blockInstance']['subConfigValue']('multipleMin',_0x5b3618),this['_blockInstance']['subConfigValue']('multipleMax',_0x5b3618),this['_blockInstance']['subConfigValue']('multiple',_0x5b3618),this['_blockInstance']['subConfigValue']('imgOnly',_0x5b3618),this['_blockInstance']['subConfigValue']('accept',_0x5b3618),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x37be11=>{this['_queue']['concurrency']=_0x37be11;});}['runFileValidators'](_0x5cfe93,_0x40a929){const _0x5d7fd5=_0x40a929??this['_uploadCollection']['items']();for(const _0xbe015c of _0x5d7fd5){const _0x28defa=this['_uploadCollection']['read'](_0xbe015c);_0x28defa&&this['_runFileValidatorsForEntry'](_0x28defa,_0x5cfe93);}}['runCollectionValidators'](){const _0x140520=this['_blockInstance']['api']['getOutputCollectionState'](),_0x5432b5=[];for(const _0x4fddc8 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x514160=_0x4fddc8(_0x140520,this['_blockInstance']['api']);if(!_0x514160)continue;_0x514160&&(_0x5432b5['push'](this['_addCustomTypeToValidationError'](_0x514160)),_0x514160['message']||console['warn']($B));}catch(_0x2d2e41){console['warn'](QB,_0x2d2e41);}this['_blockInstance']['$']['*collectionErrors']=_0x5432b5,_0x5432b5['length']>0x0&&this['_blockInstance']['emit'](NV['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x266820){const _0x10c72a=this['_entryValidationState']['get'](_0x266820['uid']);_0x10c72a&&(_0x10c72a['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x266820['uid']));}async['_runFileValidatorsForEntry'](_0x54db51,_0x321859){const _0x28e656=this['_getValidatorDescriptorsForEntry'](_0x54db51,_0x321859);if(0x0===_0x28e656['length'])return;_0x54db51['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x1cac8d=this['_blockInstance']['api']['getOutputItem'](_0x54db51['uid']),_0xa58fa1=this['_getEntryValidationState'](_0x54db51);_0xa58fa1['promise']&&await _0xa58fa1['promise'];const {promise:_0x5640ad,resolve:_0x5d978e}=((()=>{let _0x306fd2=()=>{},_0x5f1b69=()=>{};return{'promise':new Promise((_0xf60d45,_0x202ec2)=>{_0x306fd2=_0xf60d45,_0x5f1b69=_0x202ec2;}),'resolve':_0x306fd2,'reject':_0x5f1b69};})());_0xa58fa1['promise']=_0x5640ad;const _0x56634c=new AbortController();_0xa58fa1['abortController']=_0x56634c;const _0x141e60=this['_blockInstance']['cfg']['validationTimeout'],_0x5ee334=this['_getValidatorDescriptors'](),_0x188ae7=new Set(_0x28e656['map'](_0x3c7c42=>_0x3c7c42['validator'])),_0x15b614=[];for(const _0x1663b9 of _0x5ee334)if(!_0x188ae7['has'](_0x1663b9['validator'])){const _0x2b7f7f=_0xa58fa1['lastErrorThrownByValidator']['get'](_0x1663b9['validator']);_0x2b7f7f&&_0x15b614['push'](_0x2b7f7f);}const _0x2ed8cc=_0x28e656['map'](_0x1f58db=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x50ee40=setTimeout(()=>{_0xa58fa1['skippedValidators']['add'](_0x1f58db['validator']),_0x56634c['abort'](),console['warn'](DB);},_0x141e60);try{const _0x4b71da=await _0x1f58db['validator'](_0x1cac8d,this['_blockInstance']['api'],{'signal':_0x56634c['signal']});if(!_0x4b71da||_0x56634c['signal']['aborted'])return void _0xa58fa1['lastErrorThrownByValidator']['set'](_0x1f58db['validator'],void 0x0);const _0x24dc24=this['_addCustomTypeToValidationError'](_0x4b71da);_0xa58fa1['lastErrorThrownByValidator']['set'](_0x1f58db['validator'],_0x24dc24),_0x15b614['push'](_0x24dc24),_0x4b71da['message']||console['warn']($B);}catch(_0x36b8ca){_0x56634c['signal']['aborted']||(_0xa58fa1['skippedValidators']['add'](_0x1f58db['validator']),console['warn'](LB,_0x36b8ca),this['_blockInstance']['telemetryManager']['sendEventError'](_0x36b8ca,'file\x20validator.\x20'+LB));}finally{clearTimeout(_0x50ee40),'change'!==_0x1f58db['runOn']&&_0xa58fa1['skippedValidators']['add'](_0x1f58db['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x54db51['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x2ed8cc['map'](_0xc296c1=>_0xc296c1()))['catch'](()=>{});},{'autoRun':!0x1}),_0x56634c['signal']['aborted'])return _0x54db51['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x5d978e();_0x54db51['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x15b614}),_0x5d978e();}['_addCustomTypeToValidationError'](_0x4fbe32){return{..._0x4fbe32,'type':_0x4fbe32['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x44f5bd){const _0x19d6bf=this['_entryValidationState']['get'](_0x44f5bd['uid']);if(_0x19d6bf)return _0x19d6bf;const _0x4c9eaf={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x44f5bd['uid'],_0x4c9eaf),_0x4c9eaf;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](VB);}['_getValidatorDescriptorsForEntry'](_0x3e3068,_0xc95fd5){const _0xdb6559=this['_getEntryValidationState'](_0x3e3068);return this['_getValidatorDescriptors']()['filter'](_0x1cdb54=>!_0xdb6559['skippedValidators']['has'](_0x1cdb54['validator']))['filter'](_0x21f3c1=>_0x21f3c1['runOn']===_0xc95fd5);}},BB='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',FB=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x3d35f7,_0x299936){this['__typedSchema']=_0x3d35f7,this['__ctxId']=_0x299936||SQ['generate'](),this['__schema']=Object['keys'](_0x3d35f7)['reduce']((_0x73fe09,_0x8c8e21)=>(_0x3d35f7[_0x8c8e21]&&(_0x73fe09[_0x8c8e21]=_0x3d35f7[_0x8c8e21]['value']),_0x73fe09),{}),this['__data']=EQ['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x2ec323,_0x592512){if(!Object['hasOwn'](this['__typedSchema'],_0x2ec323)||!this['__typedSchema'][_0x2ec323])return void console['warn'](BB+_0x2ec323);const _0x31f169=this['__typedSchema'][_0x2ec323],_0x28e204=_0x592512?.['constructor']===_0x31f169['type'],_0x5e4c0e=_0x592512 instanceof _0x31f169['type'],_0x424d9a=_0x31f169['nullable']&&null===_0x592512;_0x28e204||_0x5e4c0e||_0x424d9a?this['__data']['pub'](_0x2ec323,_0x592512):console['warn']('[Typed\x20State]\x20Wrong\x20property\x20type:\x20'+_0x2ec323);}['setMultipleValues'](_0x1df308){for(const [_0x557e73,_0x212791]of Object['entries'](_0x1df308))this['setValue'](_0x557e73,_0x212791);}['getValue'](_0x3cab8b){return Object['hasOwn'](this['__typedSchema'],_0x3cab8b)||console['warn'](BB+_0x3cab8b),this['__data']['read'](_0x3cab8b);}['subscribe'](_0x59bb27,_0x25b483){return this['__data']['sub'](_0x59bb27,_0x25b483);}['remove'](){EQ['deleteCtx'](this['__ctxId']);}},jB=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(_0x31069f){this['__typedSchema']=_0x31069f['typedSchema'],this['__ctxId']=_0x31069f['ctxName']||SQ['generate'](),this['__data']=EQ['registerCtx']({},this['__ctxId']),this['__watchList']=_0x31069f['watchList']||[];let _0x1bbc4d=Object['create'](null);this['__notifyObservers']=(_0x4d5b95,_0x503a2a)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x1bbc4d[_0x4d5b95]||(_0x1bbc4d[_0x4d5b95]=new Set()),_0x1bbc4d[_0x4d5b95]['add'](_0x503a2a),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x1bbc4d)['length']&&(this['__propertyObservers']['forEach'](_0x2622d3=>{_0x2622d3({..._0x1bbc4d});}),_0x1bbc4d=Object['create'](null));});},_0x31069f['handler']&&this['observeCollection'](_0x31069f['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x59c29d=new Set(this['__added']),_0x236ab5=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x368f24 of this['__collectionObservers'])_0x368f24?.([...this['__items']],_0x59c29d,_0x236ab5);});}['observeCollection'](_0x2a1bee){return this['__collectionObservers']['add'](_0x2a1bee),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x2a1bee);};}['unobserveCollection'](_0x1889b1){this['__collectionObservers']['delete'](_0x1889b1);}['add'](_0x4d8e75){const _0x33cd3c=new FB(this['__typedSchema']);for(const [_0x6656fd,_0x584945]of Object['entries'](_0x4d8e75))void 0x0!==_0x584945&&_0x33cd3c['setValue'](_0x6656fd,_0x584945);return this['__items']['add'](_0x33cd3c['uid']),this['notify'](),this['__data']['add'](_0x33cd3c['uid'],_0x33cd3c),this['__added']['add'](_0x33cd3c),this['__watchList']['forEach'](_0x2f7535=>{this['__subsMap'][_0x33cd3c['uid']]||(this['__subsMap'][_0x33cd3c['uid']]=[]),this['__subsMap'][_0x33cd3c['uid']]?.['push'](_0x33cd3c['subscribe'](_0x2f7535,()=>{this['__notifyObservers'](_0x2f7535,_0x33cd3c['uid']);}));}),_0x33cd3c['uid'];}['read'](_0x229180){return this['__data']['read'](_0x229180);}['readProp'](_0x55ea88,_0x182c10){const _0x27615f=this['read'](_0x55ea88);return _0x27615f?_0x27615f['getValue'](_0x182c10):(console['warn']('Item\x20with\x20id\x20'+_0x55ea88+'\x20not\x20found'),null);}['publishProp'](_0x461fee,_0x31367c,_0x4b9da5){const _0x57d022=this['read'](_0x461fee);_0x57d022?_0x57d022['setValue'](_0x31367c,_0x4b9da5):console['warn']('Item\x20with\x20id\x20'+_0x461fee+'\x20not\x20found');}['remove'](_0x11b18c){const _0x2672dc=this['read'](_0x11b18c);_0x2672dc&&this['__removed']['add'](_0x2672dc),this['__items']['delete'](_0x11b18c),this['notify'](),this['__data']['pub'](_0x11b18c,null),delete this['__subsMap'][_0x11b18c];}['clearAll'](){this['__items']['forEach'](_0x2fe135=>{this['remove'](_0x2fe135);});}['observeProperties'](_0x13bf34){return this['__propertyObservers']['add'](_0x13bf34),()=>{this['unobserveProperties'](_0x13bf34);};}['unobserveProperties'](_0x3ff3fb){this['__propertyObservers']['delete'](_0x3ff3fb);}['findItems'](_0x196d11){const _0x5ef18d=[];return this['__items']['forEach'](_0x4445ff=>{const _0x4f8c02=this['read'](_0x4445ff);_0x4f8c02&&_0x196d11(_0x4f8c02)&&_0x5ef18d['push'](_0x4445ff);}),_0x5ef18d;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){EQ['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x5e0052 in this['__subsMap'])this['__subsMap'][_0x5e0052]?.['forEach'](_0x40c5f6=>{_0x40c5f6['remove']();}),delete this['__subsMap'][_0x5e0052];}},HB=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),GB=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),ZB=_0x4b9667=>({'isVideoRecordingEnabled':QV(_0x4b9667['cameraModes'])['includes'](HB['VIDEO']),'isPhotoEnabled':QV(_0x4b9667['cameraModes'])['includes'](HB['PHOTO'])}),XB=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 qB(_0x5478ca){const _0x20a3d8=new Map();return(..._0x4b622c)=>{const _0x3383c4=JSON['stringify'](_0x4b622c);if(_0x20a3d8['has'](_0x3383c4))return _0x20a3d8['get'](_0x3383c4);const _0x59cc77=_0x5478ca(..._0x4b622c);return _0x20a3d8['set'](_0x3383c4,_0x59cc77),_0x59cc77;};}var WB=new Set();function zB(_0x3fe07e){WB['has'](_0x3fe07e)||(WB['add'](_0x3fe07e),console['warn'](_0x3fe07e));}function YB(_0x3dd3b5){const _0x5a81d0={},_0x34e3c2={'progress':()=>_0x3dd3b5['$']['*commonProgress'],'errors':()=>_0x3dd3b5['$']['*collectionErrors'],'group':()=>_0x3dd3b5['$']['*groupInfo'],'totalCount':()=>_0x3dd3b5['uploadCollection']['size'],'failedCount':()=>_0x5a81d0['failedEntries']['length'],'successCount':()=>_0x5a81d0['successEntries']['length'],'uploadingCount':()=>_0x5a81d0['uploadingEntries']['length'],'status':()=>_0x5a81d0['isFailed']?'failed':_0x5a81d0['isUploading']?'uploading':_0x5a81d0['isSuccess']?'success':'idle','isSuccess':()=>_0x5a81d0['allEntries']['length']>0x0&&0x0===_0x5a81d0['errors']['length']&&_0x5a81d0['successEntries']['length']===_0x5a81d0['allEntries']['length'],'isUploading':()=>_0x5a81d0['allEntries']['some'](_0x2c10f0=>'uploading'===_0x2c10f0['status']),'isFailed':()=>_0x5a81d0['errors']['length']>0x0||_0x5a81d0['failedEntries']['length']>0x0,'allEntries':()=>_0x3dd3b5['getOutputData'](),'successEntries':()=>_0x5a81d0['allEntries']['filter'](_0x160c8d=>'success'===_0x160c8d['status']),'failedEntries':()=>_0x5a81d0['allEntries']['filter'](_0x4e0282=>'failed'===_0x4e0282['status']),'uploadingEntries':()=>_0x5a81d0['allEntries']['filter'](_0x5d41b6=>'uploading'===_0x5d41b6['status']),'idleEntries':()=>_0x5a81d0['allEntries']['filter'](_0x4d6e59=>'idle'===_0x4d6e59['status'])},_0x6cdb9=function(_0x3b6b4e){let _0x22d24c=!0x1;return setTimeout(()=>{_0x22d24c=!0x0;},0x0),_0x421a4b=>(..._0x5abf4b)=>(_0x22d24c&&zB(_0x3b6b4e),_0x421a4b(..._0x5abf4b));}('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 [_0x17e9af,_0x2b52db]of Object['entries'](_0x34e3c2)){const _0x4906ab=_0x17e9af,_0x2e2adc=qB(_0x6cdb9(_0x2b52db));Object['defineProperty'](_0x5a81d0,_0x4906ab,{'get':_0x2e2adc,'enumerable':!0x0});}return _0x5a81d0;}var KB=class{['_ctx'];constructor(_0x121dc9){this['_ctx']=_0x121dc9;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x88f2a1,{silent:_0x1618cc,fileName:_0x2426a6,source:_0x475d15}={})=>{const _0x353bd1=this['_uploadCollection']['add']({'externalUrl':_0x88f2a1,'fileName':_0x2426a6??null,'silent':_0x1618cc??!0x1,'source':_0x475d15??fB['API']});return this['getOutputItem'](_0x353bd1);};['addFileFromUuid']=(_0x5e6238,{silent:_0x131206,fileName:_0x393471,source:_0x28c59b}={})=>{const _0x26bcd3=this['_uploadCollection']['add']({'uuid':_0x5e6238,'fileName':_0x393471??null,'silent':_0x131206??!0x1,'source':_0x28c59b??fB['API']});return this['getOutputItem'](_0x26bcd3);};['addFileFromCdnUrl']=(_0x5de297,{silent:_0x383bea,fileName:_0x3adf57,source:_0xc95356}={})=>{const _0x1c6572=(({url:_0x52eee8,cdnBase:_0x18d072})=>{const _0x4f91a0=new URL(_0x18d072),_0x1ddcaa=new URL(fU),_0x2fe229=new URL(_0x52eee8);if(_0x4f91a0['host']!==_0x2fe229['host']&&_0x1ddcaa['host']!==_0x2fe229['host'])return null;const _0x52bb6c=XB['exec'](_0x2fe229['pathname']);if(!_0x52bb6c)return null;const [,_0x165a3f,_0x304b0f,_0x328756]=_0x52bb6c;return _0x165a3f?{'uuid':_0x165a3f,'cdnUrlModifiers':_0x304b0f||'','filename':_0x328756||null}:null;})({'url':_0x5de297,'cdnBase':this['cfg']['cdnCname']});if(!_0x1c6572)throw new Error('Invalid\x20CDN\x20URL');const _0x23ec01=this['_uploadCollection']['add']({'uuid':_0x1c6572['uuid'],'cdnUrl':_0x5de297,'cdnUrlModifiers':_0x1c6572['cdnUrlModifiers'],'fileName':_0x3adf57??_0x1c6572['filename']??null,'silent':_0x383bea??!0x1,'source':_0xc95356??fB['API']});return this['getOutputItem'](_0x23ec01);};['addFileFromObject']=(_0x2d8495,{silent:_0x177ee4,fileName:_0x5ad51d,source:_0x4e741f,fullPath:_0x3359c0}={})=>{const _0x4ca244=this['_uploadCollection']['add']({'file':_0x2d8495,'isImage':IB(_0x2d8495),'mimeType':_0x2d8495['type'],'fileName':_0x5ad51d??_0x2d8495['name'],'fileSize':_0x2d8495['size'],'silent':_0x177ee4??!0x1,'source':_0x4e741f??fB['API'],'fullPath':_0x3359c0??null});return this['getOutputItem'](_0x4ca244);};['removeFileByInternalId']=_0xbb6473=>{if(!this['_uploadCollection']['read'](_0xbb6473))throw new Error('File\x20with\x20internalId\x20'+_0xbb6473+'\x20not\x20found');this['_uploadCollection']['remove'](_0xbb6473);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x555f10=this['_uploadCollection']['items']()['filter'](_0x26ab29=>{const _0x1fdf9f=this['_uploadCollection']['read'](_0x26ab29);return!!_0x1fdf9f&&!(_0x1fdf9f['getValue']('isRemoved')||_0x1fdf9f['getValue']('isUploading')||_0x1fdf9f['getValue']('fileInfo')||0x0!==_0x1fdf9f['getValue']('errors')['length']||_0x1fdf9f['getValue']('isValidationPending')||_0x1fdf9f['getValue']('isQueuedForValidation'));});0x0!==_0x555f10['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x555f10),this['_ctx']['emit'](NV['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x47837d={})=>{const _0x3a1da6=$V(EB([this['cfg']['accept']??'',...this['cfg']['imgOnly']?TB:[]])),_0x390351='uploadcare-file-input',_0x5f0947=document['createElement']('input');if(_0x5f0947['setAttribute'](_0x390351,''),FQ(_0x5f0947,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x5f0947['type']='file',_0x5f0947['multiple']=this['cfg']['multiple'],_0x47837d['captureCamera']){_0x5f0947['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x4ac776,isVideoRecordingEnabled:_0xca1bbc}=ZB(this['cfg']);_0x47837d['modeCamera']===HB['PHOTO']&&_0x4ac776?_0x5f0947['accept']=_B:_0x47837d['modeCamera']===HB['VIDEO']&&_0xca1bbc?_0x5f0947['accept']=vB:_0x5f0947['accept']=[_B,_0xca1bbc&&vB]['filter'](Boolean)['join'](',');}else _0x5f0947['accept']=_0x3a1da6;_0x5f0947['addEventListener']('change',()=>{_0x5f0947['files']&&([..._0x5f0947['files']]['forEach'](_0x113a63=>{this['addFileFromObject'](_0x113a63,{'source':_0x47837d['captureCamera']?fB['CAMERA']:fB['LOCAL']});}),this['_ctx']['modalManager']?.['open'](XU['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=XU['activities']['UPLOAD_LIST'],_0x5f0947['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x390351+']')['forEach'](_0x390e57=>{_0x390e57['remove']();}),document['body']['appendChild'](_0x5f0947),_0x5f0947['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0xbb695b){const _0x13b14c=EQ['getCtx'](_0xbb695b)['store'],_0x1e5fba=_0x13b14c['fileInfo'],_0x245296=_0x13b14c['isRemoved']?'removed':_0x13b14c['errors']['length']>0x0?'failed':_0x13b14c['fileInfo']?'success':_0x13b14c['isUploading']?'uploading':'idle';return{'uuid':_0x1e5fba?.['uuid']??_0x13b14c['uuid']??null,'internalId':_0xbb695b,'name':_0x1e5fba?.['originalFilename']??_0x13b14c['fileName'],'size':_0x1e5fba?.['size']??_0x13b14c['fileSize'],'isImage':_0x1e5fba?.['isImage']??_0x13b14c['isImage'],'mimeType':_0x1e5fba?.['mimeType']??_0x13b14c['mimeType'],'file':_0x13b14c['file'],'externalUrl':_0x13b14c['externalUrl'],'cdnUrlModifiers':_0x13b14c['cdnUrlModifiers'],'cdnUrl':_0x13b14c['cdnUrl']??_0x1e5fba?.['cdnUrl']??null,'fullPath':_0x13b14c['fullPath'],'uploadProgress':_0x13b14c['uploadProgress'],'fileInfo':_0x1e5fba??null,'metadata':_0x13b14c['metadata']??_0x1e5fba?.['metadata']??null,'isSuccess':'success'===_0x245296,'isUploading':'uploading'===_0x245296,'isFailed':'failed'===_0x245296,'isRemoved':'removed'===_0x245296,'isValidationPending':_0x13b14c['isValidationPending'],'errors':_0x13b14c['errors'],'status':_0x245296,'source':_0x13b14c?.['source']};}['getOutputCollectionState'](){return YB(this['_ctx']);}['initFlow']=(_0xb0f89a=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0xb0f89a)this['_ctx']['modalManager']?.['open'](XU['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':XU['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x58d7ef=this['_sourceList'][0x0];if('local'===_0x58d7ef)return this['_ctx']['$']['*currentActivity']=XU['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x58d7ef&&yB['htmlMediaCapture']){const {isPhotoEnabled:_0x4a5664,isVideoRecordingEnabled:_0x28459f}=ZB(this['cfg']);if(_0x4a5664&&_0x28459f)return void this['_ctx']['set$']({'*currentActivity':XU['activities']['START_FROM']});if(_0x4a5664||_0x28459f)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x4a5664?HB['PHOTO']:HB['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':HB['PHOTO']});}const _0x1874e0=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x116306=>'type'in _0x116306&&_0x116306['type']===_0x58d7ef);_0x1874e0?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](XU['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':XU['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']=(_0x531223,..._0x1d66f9)=>{this['_ctx']['hasBlockInCtx'](_0x28db21=>_0x28db21['activityType']===_0x531223)?this['_ctx']['set$']({'*currentActivityParams':_0x1d66f9??{},'*currentActivity':_0x531223}):console['warn']('Activity\x20type\x20\x22'+_0x531223+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x59c350=>{!_0x59c350||this['_ctx']['$']['*currentActivity']?_0x59c350?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 _0x540973=[];return this['cfg']['sourceList']&&(_0x540973=YV(this['cfg']['sourceList'])),_0x540973;}},JB=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})}),tF=class _UploaderBlock extends XU{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=AU(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x4caa70=>_0x4caa70 instanceof _UploaderBlock&&(_0x4caa70['isCtxOwner']&&_0x4caa70['isConnected']&&_0x4caa70!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x4872cc=new jB({'typedSchema':JB,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x4872cc);}this['has']('*publicApi')||this['add']('*publicApi',new KB(this)),this['has']('*validationManager')||this['add']('*validationManager',new UB(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',_0x555536=>{this['$']['*uploadQueue']['concurrency']=Number(_0x555536)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new pB(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'](_0x1a1653){const _0x341e13=await this['getUploadClientOptions'](),_0x4d108e=_0x1a1653['allEntries']['map'](_0x17f301=>_0x17f301['uuid']+(_0x17f301['cdnUrlModifiers']?'/'+_0x17f301['cdnUrlModifiers']:'')),_0x2491d6=new AbortController(),_0x591bb0=await Z$(_0x4d108e,{..._0x341e13,'signal':_0x2491d6['signal']});if(this['$']['*collectionState']!==_0x1a1653)return void _0x2491d6['abort']();this['$']['*groupInfo']=_0x591bb0;const _0x16c516=this['api']['getOutputCollectionState']();this['emit'](NV['GROUP_CREATED'],_0x16c516),this['emit'](NV['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x16c516;}['_flushOutputItems']=DV(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](NV['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x45c2c6,_0x36f3ee,_0x61d79e)=>{(_0x36f3ee['size']||_0x61d79e['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x36f3ee]['map'](_0x2de43b=>_0x2de43b['uid']));for(const _0x4372ba of _0x36f3ee)_0x4372ba['getValue']('silent')||this['emit'](NV['FILE_ADDED'],this['api']['getOutputItem'](_0x4372ba['uid']));this['validationManager']['runCollectionValidators']();for(const _0x242820 of _0x61d79e){this['$']['*uploadTrigger']['delete'](_0x242820['uid']),this['validationManager']['cleanupValidationForEntry'](_0x242820),_0x242820['getValue']('abortController')?.['abort'](),_0x242820['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x18432c=_0x242820?.['getValue']('thumbUrl');_0x18432c&&URL['revokeObjectURL'](_0x18432c),this['emit'](NV['FILE_REMOVED'],this['api']['getOutputItem'](_0x242820['uid']));}this['$']['*uploadList']=_0x45c2c6['map'](_0x27fa3c=>({'uid':_0x27fa3c})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x1d4ed9=>{this['_flushOutputItems']();const _0x418e93=this['uploadCollection'],_0x5f57d7=[...new Set(Object['entries'](_0x1d4ed9)['filter'](([_0x1dc99e])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x1dc99e))['flatMap'](([,_0x5868bd])=>[..._0x5868bd]))];if(_0x5f57d7['length']>0x0&&setTimeout(()=>{const _0x2fbbcd=_0x5f57d7['filter'](_0x39b938=>_0x1d4ed9['fileInfo']?.['has'](_0x39b938)&&!!EQ['getCtx'](_0x39b938)['store']['fileInfo']);_0x2fbbcd['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x2fbbcd),this['validationManager']['runFileValidators']('change',_0x5f57d7);}),_0x1d4ed9['uploadProgress']){for(const _0x454e86 of _0x1d4ed9['uploadProgress']){const {isUploading:_0x21d1df,silent:_0x369ada}=EQ['getCtx'](_0x454e86)['store'];_0x21d1df&&!_0x369ada&&this['emit'](NV['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x454e86));}this['_flushCommonUploadProgress']();}if(_0x1d4ed9['isUploading'])for(const _0x25a775 of _0x1d4ed9['isUploading']){const {isUploading:_0x4a8f89,silent:_0x37afe1}=EQ['getCtx'](_0x25a775)['store'];_0x4a8f89&&!_0x37afe1&&this['emit'](NV['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x25a775));}if(_0x1d4ed9['fileInfo']){for(const _0x5a8cc5 of _0x1d4ed9['fileInfo']){const {fileInfo:_0x375729,silent:_0xe3befc}=EQ['getCtx'](_0x5a8cc5)['store'];_0x375729&&!_0xe3befc&&this['emit'](NV['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x5a8cc5));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x1d4ed9['errors']){this['validationManager']['runCollectionValidators']();for(const _0x144e49 of _0x1d4ed9['errors']){const {errors:_0x5aabfa}=EQ['getCtx'](_0x144e49)['store'];_0x5aabfa['length']>0x0&&(this['emit'](NV['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x144e49)),this['emit'](NV['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x33f032=_0x418e93['findItems'](_0x5a1477=>!!_0x5a1477['getValue']('fileInfo')),_0x517f34=_0x418e93['findItems'](_0x3d7d06=>_0x3d7d06['getValue']('errors')['length']>0x0);_0x418e93['size']>0x0&&0x0===_0x517f34['length']&&_0x418e93['size']===_0x33f032['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](NV['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}if(_0x1d4ed9['cdnUrl']){const _0x49166e=[..._0x1d4ed9['cdnUrl']]['filter'](_0x573df1=>!!this['uploadCollection']['read'](_0x573df1)?.['getValue']('cdnUrl'));_0x49166e['forEach'](_0x56d858=>{this['emit'](NV['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x56d858));}),this['$']['*groupInfo']=null;}};['_flushCommonUploadProgress']=()=>{let _0x8f53b7=0x0;const _0x2f5b97=[...this['$']['*uploadTrigger']]['filter'](_0x403f18=>!!this['uploadCollection']['read'](_0x403f18));_0x2f5b97['forEach'](_0x4863c5=>{const _0x4ff2ed=this['uploadCollection']['readProp'](_0x4863c5,'uploadProgress');'number'==typeof _0x4ff2ed&&(_0x8f53b7+=_0x4ff2ed);});const _0x2aadd8=_0x2f5b97['length']?Math['round'](_0x8f53b7/_0x2f5b97['length']):0x0;this['$']['*commonProgress']!==_0x2aadd8&&(this['$']['*commonProgress']=_0x2aadd8,this['emit'](NV['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x4a442a]=this['uploadCollection']['findItems'](_0x2acea1=>!!_0x2acea1['getValue']('fileInfo')&&_0x2acea1['getValue']('isImage'))['map'](_0x174939=>this['uploadCollection']['read'](_0x174939));_0x4a442a&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x4a8d76=>_0x4a8d76['activityType']===XU['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x4a442a['uid']},this['$']['*currentActivity']=XU['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](XU['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x19c8e9=hB(this['cfg']['cropPreset']);if(_0x19c8e9){const [_0x26634e]=_0x19c8e9,_0x213e0f=this['uploadCollection']['findItems'](_0x4c0072=>!!_0x4c0072['getValue']('fileInfo')&&_0x4c0072['getValue']('isImage')&&!_0x4c0072['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x257c88=>this['uploadCollection']['read'](_0x257c88))['filter'](Boolean);for(const _0x2741e0 of _0x213e0f){const _0x1b844d=_0x2741e0['getValue']('fileInfo');if(!_0x1b844d||!_0x1b844d['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x2741e0['uid']);continue;}const {width:_0x21c47e,height:_0x54e6f0}=_0x1b844d['imageInfo'],_0x189097=oB(_0x21c47e,_0x54e6f0,'number'==typeof _0x26634e?.['width']&&'number'==typeof _0x26634e?.['height']&&_0x26634e['width']>0x0&&_0x26634e['height']>0x0?_0x26634e['width']/_0x26634e['height']:0x1),_0x24e9c2=BV('crop/'+_0x189097['width']+'x'+_0x189097['height']+'/'+_0x189097['x']+','+_0x189097['y'],'preview'),_0x1882a8=_0x2741e0['getValue']('cdnUrl');_0x1882a8?(_0x2741e0['setMultipleValues']({'cdnUrlModifiers':_0x24e9c2,'cdnUrl':WV(_0x1882a8,_0x24e9c2)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x127f7d=>_0x127f7d['activityType']===XU['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x2741e0['uid']},this['$']['*currentActivity']=XU['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](XU['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x2741e0['uid']);}}}async['getMetadataFor'](_0x4ae98){const _0x5b6fe6=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x5b6fe6){const _0x90ef5e=this['api']['getOutputItem'](_0x4ae98);return await _0x5b6fe6(_0x90ef5e);}return _0x5b6fe6;}async['getUploadClientOptions'](){const _0xe62efd=this['$']['*secureUploadsManager'],_0x12af2e=await _0xe62efd['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':mB,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x12af2e?.['secureSignature'],'secureExpire':_0x12af2e?.['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'](_0xf108e7=>this['api']['getOutputItem'](_0xf108e7));}};tF['extSrcList']=Object['freeze']({...uB}),tF['sourceTypes']=Object['freeze']({...fB});var eF={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},iF=['camera','microphone'];function sF(_0x549cc6){return Math['floor'](_0x549cc6/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x549cc6%0x3c)['toString']()['padStart'](0x2,'0');}var nF='image/jpeg',rF='video/webm',oF=class extends tF{['couldBeCtxOwner']=!0x0;['activityType']=XU['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':_0x56051f=>{const _0x560374=_0x56051f['target'];_0x560374&&(this['_selectedCameraId']=_0x560374['value'],this['_capture']());},'onAudioSelectChange':_0x27e1bd=>{const _0x3fbe02=_0x27e1bd['target'];_0x3fbe02&&(this['_selectedAudioId']=_0x3fbe02['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':MV['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':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x2105df=>{const _0x20340d=_0x2105df['currentTarget'],_0xa6df49=_0x20340d?.['getAttribute']('data-id');_0xa6df49&&this['_handleActiveTab'](_0xa6df49);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===HB['PHOTO']&&this['_shot'](),this['_activeTab']===HB['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x324da0=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x67ac2d=this['cfg']['maxVideoRecordingDuration']-_0x324da0;if(_0x67ac2d<=0x0){const _0x5e37c9=this['ref']['timer'];return _0x5e37c9&&(_0x5e37c9['textContent']=sF(_0x67ac2d)),void this['_stopRecording']();}const _0x463b51=this['ref']['timer'];_0x463b51&&(_0x463b51['textContent']=sF(_0x67ac2d));}else{const _0x5834e7=this['ref']['timer'];_0x5834e7&&(_0x5834e7['textContent']=sF(_0x324da0));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x4e44f8=this['ref']['video'];if(!_0x4e44f8)return;const _0xc2c96a=_0x4e44f8['currentTime'],_0x1b99e4=_0x4e44f8['duration']||0x1,_0x364a13=this['ref']['line'];_0x364a13&&(_0x364a13['style']['transform']='scaleX('+_0xc2c96a/_0x1b99e4+')');const _0x50d660=this['ref']['timer'];_0x50d660&&(_0x50d660['textContent']=sF(_0xc2c96a)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x3c7aea}=this['cfg']['mediaRecorderOptions']||{};_0x3c7aea&&MediaRecorder['isTypeSupported'](_0x3c7aea)?this['_options']['mimeType']=_0x3c7aea:MediaRecorder['isTypeSupported'](rF)?this['_options']['mimeType']=rF:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x4fbdb5=>{this['_chunks']['push'](_0x4fbdb5['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](GB['PLAY']));}catch(_0x47a80b){console['error']('Failed\x20to\x20start\x20recording',_0x47a80b),this['telemetryManager']['sendEventError'](_0x47a80b,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](GB['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':MV['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'](_0x16b111=>{_0x16b111['enabled']=!_0x16b111['enabled'],this['$']['toggleMicrophoneIcon']=_0x16b111['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x16b111['enabled'];});};['_previewVideo']=()=>{try{const _0x2112a2=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x5521ec=URL['createObjectURL'](_0x2112a2),_0x3c321e=this['ref']['video'];if(!_0x3c321e)return;_0x3c321e['muted']=!0x1,_0x3c321e['volume']=0x1,this['$']['video']=null,_0x3c321e['src']=_0x5521ec,_0x3c321e['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x3c321e['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x257bfc){console['error']('Failed\x20to\x20preview\x20video',_0x257bfc),this['telemetryManager']['sendEventError'](_0x257bfc,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](GB['RETAKE']),this['_activeTab']===HB['VIDEO']){this['$']['video']=this['_stream'];const _0x333b88=this['ref']['video'];_0x333b88&&(_0x333b88['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](GB['ACCEPT']),this['_activeTab']===HB['PHOTO'])return void this['_canvas']?.['toBlob'](_0x4da3c3=>{if(!_0x4da3c3)return;const _0x3ae31d=this['_createFile']('camera','jpeg',nF,_0x4da3c3);this['_toSend'](_0x3ae31d);},nF);const _0x3128c7=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x1355b8=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x488f1e=this['_createFile']('video',_0x1355b8,'video/'+_0x1355b8,_0x3128c7);this['_toSend'](_0x488f1e),this['_chunks']=[];};['_handlePhoto']=_0x3663f2=>{_0x3663f2===GB['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x3663f2!==GB['RETAKE']&&_0x3663f2!==GB['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](HB['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](HB['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x2074b5=>{_0x2074b5===GB['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'}),_0x2074b5===GB['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x2074b5!==GB['RETAKE']&&_0x2074b5!==GB['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](HB['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](HB['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']=_0x5c6edb=>{this['_activeTab']!==HB['PHOTO']||'shot'!==_0x5c6edb&&'retake'!==_0x5c6edb&&'accept'!==_0x5c6edb||this['_handlePhoto'](_0x5c6edb),this['_activeTab']!==HB['VIDEO']||'play'!==_0x5c6edb&&'stop'!==_0x5c6edb&&'retake'!==_0x5c6edb&&'accept'!==_0x5c6edb&&'pause'!==_0x5c6edb&&'resume'!==_0x5c6edb||this['_handleVideo'](_0x5c6edb);};['_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']=_0x3e1b9d=>{const _0x4ff82e=this['ref']['switcher'];_0x4ff82e?.['querySelectorAll']('button')['forEach'](_0x46159b=>{_0x46159b['classList']['toggle']('uc-active',_0x46159b['getAttribute']('data-id')===_0x3e1b9d);}),_0x3e1b9d===HB['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x3e1b9d===HB['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':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0x3e1b9d}}}),this['_activeTab']=_0x3e1b9d;};['_createFile']=(_0x1f3650,_0xf2e31c,_0x7ae5c1,_0x1ca1e8)=>{const _0x14958d=Date['now']();return new File([_0x1ca1e8],_0x1f3650+'-'+_0x14958d+'.'+_0xf2e31c,{'lastModified':_0x14958d,'type':_0x7ae5c1});};['_guessExtensionByMime'](_0x946271){const _0x4f0559={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x946271)return'webm';if(_0x946271){const _0x4c286d=_0x946271['split']('/');if('video'===_0x4c286d?.[0x0]){const _0x11d68d=_0x4c286d['slice'](0x1)['join']('/'),_0x58aed8=_0x11d68d?.['split'](';')[0x0];if(_0x58aed8&&_0x4f0559[_0x58aed8])return _0x4f0559[_0x58aed8];}}return'avi';}['_toSend']=_0x379a69=>{this['api']['addFileFromObject'](_0x379a69,{'source':fB['CAMERA']}),this['set$']({'*currentActivity':XU['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](XU['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return YV(this['cfg']['cameraModes'])['filter'](_0x60f76e=>_0x60f76e===HB['PHOTO']||_0x60f76e===HB['VIDEO']);}['_setPermissionsState']=DV(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===HB['VIDEO']&&this['cfg']['enableAudioRecording'],s=this['_activeTab']===HB['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](HB['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](HB['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'](HB['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](HB['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x1b2150=this['_stream']?.['getAudioTracks'](),_0x5bf7c4=this['_stream']?.['getVideoTracks']();return _0x1b2150['forEach'](_0x5e0580=>{_0x5e0580['stop']();}),_0x5bf7c4['forEach'](_0x7ebcd2=>{_0x7ebcd2['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x5d21ab=this['$']['video']?.['getTracks']?.();_0x5d21ab?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x53eb7c={'video':{...eF},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x53eb7c['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x53eb7c['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x53eb7c),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x16f233){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x16f233),this['telemetryManager']['sendEventError'](_0x16f233,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x5bfacf of iF){const _0x3c0a1a=await navigator['permissions']['query']({'name':_0x5bfacf});this['_permissionResponses'][_0x5bfacf]=_0x3c0a1a,_0x3c0a1a['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x277cbf){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x277cbf),this['telemetryManager']['sendEventError'](_0x277cbf,'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(_0x3da10d){this['telemetryManager']['sendEventError'](_0x3da10d,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x3da10d);}};['_getDevices']=async()=>{try{const _0x41500a=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x41500a['filter'](_0x351c1b=>'videoinput'===_0x351c1b['kind'])['map']((_0x1d72f8,_0x5744ab)=>({'text':_0x1d72f8['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x5744ab+0x1),'value':_0x1d72f8['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x41500a['filter'](_0x2672ac=>'audioinput'===_0x2672ac['kind'])['map'](_0x355936=>({'text':_0x355936['label']['trim'](),'value':_0x355936['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(_0x59275d){this['telemetryManager']['sendEventError'](_0x59275d,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x59275d);}};['_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']=_0x2f88a7=>{this['$']['tabVideoHidden']=!_0x2f88a7['includes'](HB['VIDEO']),this['$']['tabCameraHidden']=!_0x2f88a7['includes'](HB['PHOTO']);const _0x6dbe79=_0x2f88a7[0x0];!_0x6dbe79||this['_activeTab']&&_0x2f88a7['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x6dbe79);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x5ad6a5=>{this['$']['videoTransformCss']=_0x5ad6a5?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x4075c5=>{this['$']['audioToggleMicrophoneHidden']=!_0x4075c5,this['$']['audioSelectDisabled']=!_0x4075c5;}),this['subConfigValue']('cameraModes',_0x5ebcca=>{if(!this['isActivityActive'])return;const _0x532a3a=QV(_0x5ebcca);this['_handleCameraModes'](_0x532a3a['filter'](_0x17e5bb=>_0x17e5bb===HB['PHOTO']||_0x17e5bb===HB['VIDEO']));});}['_destroy'](){for(const _0x25c5a6 of iF)this['_permissionResponses'][_0x25c5a6]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};oF['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 aF='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function cF(..._0x1683e6){return _0x1683e6['reduce']((_0x5d8ef6,_0x59eb9b)=>{if('string'==typeof _0x59eb9b)return _0x5d8ef6[_0x59eb9b]=!0x0,_0x5d8ef6;for(const _0x4d19f9 of Object['keys'](_0x59eb9b))_0x5d8ef6[_0x4d19f9]=_0x59eb9b[_0x4d19f9];return _0x5d8ef6;},{});}function lF(..._0x3c070f){const _0x39b24a=cF(..._0x3c070f);return Object['keys'](_0x39b24a)['reduce']((_0x3dd18a,_0x248ebf)=>(_0x39b24a[_0x248ebf]&&_0x3dd18a['push'](_0x248ebf),_0x3dd18a),[])['join']('\x20');}var hF=_0x1cb45c=>aU['includes'](_0x1cb45c),uF='\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'+aF+'\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',dF=class extends HU{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=DV(this['_showLoader']['bind'](this),0x12c);constructor(){var _0x2373b3;super(),this['init$']={...this['init$'],...(_0x2373b3=this,{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':aU,'*tabId':oU['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':aF,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':$V([...aU]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x1ce90c=_0x2373b3['querySelectorAll']('img');for(const _0xafb4c3 of _0x1ce90c){const _0x4d65a2=_0xafb4c3['src'];_0xafb4c3['src']=aF,_0xafb4c3['src']=_0x4d65a2;}_0x2373b3['$']['*networkProblems']=!0x1;},'*on.apply':_0x5a71b2=>{if(!_0x5a71b2)return;const _0x3efa38=_0x2373b3['$']['*originalUrl'],_0x8dd6da=BV(tU(_0x5a71b2),'preview'),_0x160c63={'originalUrl':_0x3efa38,'cdnUrlModifiers':_0x8dd6da,'cdnUrl':WV(_0x3efa38,_0x8dd6da),'transformations':_0x5a71b2};_0x2373b3['dispatchEvent'](new CustomEvent('apply',{'detail':_0x160c63,'bubbles':!0x0,'composed':!0x0})),_0x2373b3['remove']();},'*on.cancel':()=>{_0x2373b3['remove'](),_0x2373b3['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}})};}['_showLoader'](_0x3317e8){this['$']['showLoader']=_0x3317e8;}['_waitForSize'](){return new Promise((_0x49a1cd,_0x3b1d7a)=>{const _0xd78fdc=window['setTimeout'](()=>{_0x3b1d7a(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x5490ed=new ResizeObserver(_0x4c34bb=>{const [_0x5168e6]=_0x4c34bb;_0x5168e6&&_0x5168e6['contentRect']['width']>0x0&&_0x5168e6['contentRect']['height']>0x0&&(window['clearTimeout'](_0xd78fdc),_0x5490ed['disconnect'](),window['setTimeout'](()=>_0x49a1cd(),0x0));});_0x5490ed['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 _0xf0cba=this['$']['cdnUrl'],_0x19fae1=jV(_0xf0cba),_0xa7582a=zV(_0xf0cba,_0x19fae1);if(_0xa7582a===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0xa7582a;const _0x28ca92=rU(GV(_0xf0cba));this['$']['*editorTransformations']=_0x28ca92;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x16c93c=zV(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x16c93c===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x16c93c,this['$']['*editorTransformations']={};}}this['$']['*tabId']===oU['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x2ba098=this['$']['*originalUrl'],_0x576d17=await this['proxyUrl'](WV(_0x2ba098,BV('json'))),_0x922852=await fetch(_0x576d17)['then'](_0xc69a43=>_0xc69a43['json']()),{width:_0x58654e,height:_0x4605d9}=_0x922852;this['$']['*imageSize']={'width':_0x58654e,'height':_0x4605d9},this['$']['*tabId']===oU['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x2ba098});}catch(_0x5e7300){_0x5e7300&&(this['telemetryManager']['sendEventError'](_0x5e7300,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x5e7300));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x1874a5){return void(this['isConnected']&&console['error'](_0x1874a5['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==aF&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x356e46=>{const _0x403454=this['ref']['img-el'];_0x403454['src']!==_0x356e46&&(_0x403454['src']=_0x356e46||aF);}),this['sub']('tabs',_0x2a7b41=>{this['$']['*tabList']=(_0x144d4f=>{if(!_0x144d4f)return aU;const _0x5290ac=QV(_0x144d4f)['filter'](hF);return 0x0===_0x5290ac['length']?aU:_0x5290ac;})(_0x2a7b41);}),this['sub']('*tabId',_0x733322=>{this['ref']['img-el']['className']=lF('uc-image',{'uc-image_hidden_to_cropper':_0x733322===oU['CROP'],'uc-image_hidden_effects':_0x733322!==oU['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x5550f6=>{this['$']['presence.networkProblems']=_0x5550f6,this['$']['presence.modalCaption']=!_0x5550f6;}),this['sub']('*editorTransformations',_0x1aa578=>{if(0x0===Object['keys'](_0x1aa578)['length'])return;const _0x53c090=this['$']['*originalUrl'],_0x44adbe=BV(tU(_0x1aa578),'preview'),_0xc8bcc3={'originalUrl':_0x53c090,'cdnUrlModifiers':_0x44adbe,'cdnUrl':WV(_0x53c090,_0x44adbe),'transformations':_0x1aa578};this['dispatchEvent'](new CustomEvent('change',{'detail':_0xc8bcc3,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x5181b9=>_0x5181b9&&this['updateImage']()),this['sub']('cdnUrl',_0x355ff9=>_0x355ff9&&this['updateImage']()),this['sub']('cropPreset',_0x54cf0a=>{const _0x46416b=hB(_0x54cf0a);let _0x5bc3b2=null;if(this['$']['cdnUrl']){const _0x28a9ea=rU(GV(this['$']['cdnUrl']));if(Array['isArray'](_0x28a9ea?.['crop']?.['dimensions'])){const [_0x4e1b89,_0x4d8a83]=_0x28a9ea['crop']['dimensions'];_0x5bc3b2=((_0x3ba9c8,_0x1dbbe5,_0xe769ad,_0x548ca7=0.1)=>{const _0x4b945f=_0x3ba9c8/_0x1dbbe5;let _0x4beb76=null,_0x5b86a5=0x1/0x0;for(const _0x531432 of _0xe769ad){const [_0x5d7f6d,_0x4b278e]=[_0x531432['width'],_0x531432['height']],_0x419192=_0x5d7f6d/_0x4b278e,_0x7126b9=Math['abs'](_0x4b945f-_0x419192);_0x7126b9<_0x5b86a5&&(_0x5b86a5=_0x7126b9,_0x4beb76=_0x531432);}if(_0x4beb76){const [_0x384919,_0x333491]=[_0x4beb76['width'],_0x4beb76['height']],_0x4f080e=_0x384919/_0x333491;if(Math['abs'](_0x4b945f-_0x4f080e)/_0x4f080e>_0x548ca7)return null;}return _0x4beb76;})(_0x4e1b89,_0x4d8a83,_0x46416b,0.1);}}this['$']['*cropPresetList']=_0x46416b,this['$']['*currentAspectRatio']=_0x5bc3b2??_0x46416b?.[0x0]??null;});}};dF['template']=uF,dF['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var fF=class extends HU{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+SQ['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'](_0x17f079){const _0x6e7836=this['$']['*imageBox'];if(!_0x6e7836)return!0x1;if(''===_0x17f079&&_0x6e7836['height']<=0x1&&_0x6e7836['width']<=0x1)return!0x0;const _0x3a8421=_0x6e7836['height']<=0x1&&(_0x17f079['includes']('n')||_0x17f079['includes']('s')),_0x14ce98=_0x6e7836['width']<=0x1&&(_0x17f079['includes']('e')||_0x17f079['includes']('w'));return _0x3a8421||_0x14ce98;}['_createBackdrop'](){const _0xb300fa=this['$']['*cropBox'];if(!_0xb300fa)return;const {x:_0x143d70,y:_0x38c00b,width:_0x51efc5,height:_0x3180ae}=_0xb300fa,_0x2144ce=this['ref']['svg-el'],_0x1d1e12=tB('mask',{'id':this['_backdropMaskId']}),_0xe4b74e=tB('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x4d9428=tB('rect',{'x':_0x143d70,'y':_0x38c00b,'width':_0x51efc5,'height':_0x3180ae,'fill':'black'});_0x1d1e12['appendChild'](_0xe4b74e),_0x1d1e12['appendChild'](_0x4d9428);const _0x35bffa=tB('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x2144ce['appendChild'](_0x35bffa),_0x2144ce['appendChild'](_0x1d1e12),this['_backdropMask']=_0x1d1e12,this['_backdropMaskInner']=_0x4d9428;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x2be036=this['$']['*cropBox'];if(!_0x2be036)return;const {x:_0x1d127d,y:_0x381371,width:_0x2a24c1,height:_0x5be7a1}=_0x2be036;this['_backdropMaskInner']&&JU(this['_backdropMaskInner'],{'x':_0x1d127d,'y':_0x381371,'width':_0x2a24c1,'height':_0x5be7a1});}['_updateFrame'](){const _0x2a90bf=this['$']['*cropBox'];if(_0x2a90bf&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x1ec5fa of Object['values'](this['_frameThumbs'])){if(!_0x1ec5fa)continue;const {direction:_0x5be120,pathNode:_0x2fa49d,interactionNode:_0x1de9c8,groupNode:_0x37cc62}=_0x1ec5fa,_0x9da75b=''===_0x5be120,_0x210176=0x2===_0x5be120['length'],{x:_0x324ddc,y:_0x533ea0,width:_0x2d0faa,height:_0x69e809}=_0x2a90bf;if(_0x9da75b)JU(_0x1de9c8,{'x':_0x324ddc,'y':_0x533ea0,'width':_0x2d0faa,'height':_0x69e809});else{const _0x8e1725=cB(Math['min'](_0x2d0faa,_0x69e809)/0x52/0x2,0x0,0x1),_0x22c447=_0x210176?eB(_0x2a90bf,_0x5be120,_0x8e1725):iB(_0x2a90bf,_0x5be120,_0x8e1725),_0x4f9ec4=_0x22c447['center'];if(!_0x4f9ec4)continue;const _0x45cd97=Math['max'](0x18*cB(Math['min'](_0x2d0faa,_0x69e809)/0x18/0x3,0x0,0x1),0x6);JU(_0x1de9c8,{'x':_0x4f9ec4[0x0]-_0x45cd97,'y':_0x4f9ec4[0x1]-_0x45cd97,'width':0x2*_0x45cd97,'height':0x2*_0x45cd97}),JU(_0x2fa49d,{'d':_0x22c447['d']});}const _0x480600=this['_shouldThumbBeDisabled'](_0x5be120);_0x37cc62['setAttribute']('class',lF('uc-thumb',{'uc-thumb--hidden':_0x480600,'uc-thumb--visible':!_0x480600}));}JU(this['_frameGuides'],{'x':_0x2a90bf['x']-0.5,'y':_0x2a90bf['y']-0.5,'width':_0x2a90bf['width']+0x1,'height':_0x2a90bf['height']+0x1});}}['_createThumb'](_0x13007c,_0x354755){const _0x12458e=tB('g');_0x12458e['classList']['add']('uc-thumb'),_0x12458e['setAttribute']('with-effects','');const _0x247833=tB('rect',{'fill':'transparent'}),_0x4f2254=tB('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x12458e['appendChild'](_0x4f2254),_0x12458e['appendChild'](_0x247833),_0x13007c[_0x354755]={'direction':_0x354755,'pathNode':_0x4f2254,'interactionNode':_0x247833,'groupNode':_0x12458e},''===_0x354755&&(_0x12458e['style']['cursor']='move'),_0x247833['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x354755));}['_createThumbs'](){const _0x5c056f={};for(let _0x32a8a4=0x0;_0x32a8a4<0x3;_0x32a8a4++)for(let _0x30e75f=0x0;_0x30e75f<0x3;_0x30e75f++){const _0x35d95f=''+['n','','s'][_0x32a8a4]+['w','','e'][_0x30e75f];''!==_0x35d95f&&this['_createThumb'](_0x5c056f,_0x35d95f);}return this['_createThumb'](_0x5c056f,''),_0x5c056f;}['_createGuides'](){const _0x4c1f8a=tB('svg'),_0x23a4a2=tB('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});_0x4c1f8a['appendChild'](_0x23a4a2);for(let _0x31d2d6=0x1;_0x31d2d6<=0x2;_0x31d2d6++){const _0x58c7aa=tB('line',{'x1':KU*_0x31d2d6+'%','y1':'0%','x2':KU*_0x31d2d6+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0x4c1f8a['appendChild'](_0x58c7aa);}for(let _0xb729df=0x1;_0xb729df<=0x2;_0xb729df++){const _0x534556=tB('line',{'x1':'0%','y1':KU*_0xb729df+'%','x2':'100%','y2':KU*_0xb729df+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0x4c1f8a['appendChild'](_0x534556);}return _0x4c1f8a['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x4c1f8a;}['_createFrame'](){const _0x5d613f=this['ref']['svg-el'],_0x3f7b3f=document['createDocumentFragment'](),_0x1e709c=this['_createGuides']();_0x3f7b3f['appendChild'](_0x1e709c);const _0x4b3c7b=this['_createThumbs']();for(const {groupNode:_0x12ecfe}of Object['values'](_0x4b3c7b))_0x3f7b3f['appendChild'](_0x12ecfe);_0x5d613f['appendChild'](_0x3f7b3f),this['_frameThumbs']=_0x4b3c7b,this['_frameGuides']=_0x1e709c;}['_handlePointerDown'](_0x5610d5,_0x1c6157){if(!this['_frameThumbs'])return;const _0x2551da=this['_frameThumbs'][_0x5610d5];if(!_0x2551da)return;if(this['_shouldThumbBeDisabled'](_0x5610d5))return;const _0x3fd620=this['$']['*cropBox'],_0x53807a=this['ref']['svg-el'],{x:_0x11abcd,y:_0x535d4f}=_0x53807a['getBoundingClientRect'](),_0x4d1015=_0x1c6157['x']-_0x11abcd,_0x3030a3=_0x1c6157['y']-_0x535d4f;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x2551da,this['_dragStartPoint']=[_0x4d1015,_0x3030a3],this['_dragStartCrop']={..._0x3fd620};}['_handlePointerUp_'](_0x5266c8){this['_updateCursor'](),this['$']['dragging']&&(_0x5266c8['stopPropagation'](),_0x5266c8['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x2429a7){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x2429a7['stopPropagation'](),_0x2429a7['preventDefault']();const _0x980b7e=this['ref']['svg-el'],{x:_0x4e0710,y:_0x3f3aa6}=_0x980b7e['getBoundingClientRect'](),_0x5db286=_0x2429a7['x']-_0x4e0710,_0x2065bf=_0x2429a7['y']-_0x3f3aa6,_0x3a623c=_0x5db286-this['_dragStartPoint'][0x0],_0x3f6146=_0x2065bf-this['_dragStartPoint'][0x1],{direction:_0xfce1e8}=this['_draggingThumb'],_0x26112f=this['_calcCropBox'](_0xfce1e8,[_0x3a623c,_0x3f6146]);_0x26112f&&(this['$']['*cropBox']=_0x26112f);}['_calcCropBox'](_0x3b95ba,_0x39f19a){const [_0x47c6e6,_0x160990]=_0x39f19a,_0x249a84=this['$']['*imageBox'];let _0x31ebd4=this['_dragStartCrop']??this['$']['*cropBox'];const _0x116ac0=this['$']['*currentAspectRatio'],_0x1a0486=_0x116ac0?_0x116ac0['width']/_0x116ac0['height']:void 0x0;if(_0x31ebd4=''===_0x3b95ba?function({rect:_0x20b6ed,delta:[_0x2b594e,_0x466837],imageBox:_0x18aa8c}){return sB({..._0x20b6ed,'x':_0x20b6ed['x']+_0x2b594e,'y':_0x20b6ed['y']+_0x466837},_0x18aa8c);}({'rect':_0x31ebd4,'delta':[_0x47c6e6,_0x160990],'imageBox':_0x249a84}):nB({'rect':_0x31ebd4,'delta':[_0x47c6e6,_0x160990],'direction':_0x3b95ba,'aspectRatio':_0x1a0486,'imageBox':_0x249a84}),Object['values'](_0x31ebd4)['every'](_0x51e549=>Number['isFinite'](_0x51e549)&&_0x51e549>=0x0))return sB(aB(_0x31ebd4),_0x249a84);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x31ebd4});}['_handleSvgPointerMove_'](_0xa9bd49){if(!this['_frameThumbs'])return;const _0x598728=Object['values'](this['_frameThumbs'])['find'](_0x5a3d75=>{if(!_0x5a3d75)return!0x1;if(this['_shouldThumbBeDisabled'](_0x5a3d75['direction']))return!0x1;const _0x108cb5=_0x5a3d75['interactionNode']['getBoundingClientRect'](),_0x4863bd=function(_0x3b5b1a,[_0x3b9a32,_0x3a1498]){return _0x3b5b1a['x']<=_0x3b9a32&&_0x3b9a32<=_0x3b5b1a['x']+_0x3b5b1a['width']&&_0x3b5b1a['y']<=_0x3a1498&&_0x3a1498<=_0x3b5b1a['y']+_0x3b5b1a['height'];}({'x':_0x108cb5['x'],'y':_0x108cb5['y'],'width':_0x108cb5['width'],'height':_0x108cb5['height']},[_0xa9bd49['x'],_0xa9bd49['y']]);return _0x4863bd;});this['_hoverThumb']=_0x598728,this['_updateCursor']();}['_updateCursor'](){const _0xb20ff5=this['_hoverThumb'];var _0x39c7b6;this['ref']['svg-el']['style']['cursor']=_0xb20ff5?''===(_0x39c7b6=_0xb20ff5['direction'])?'move':['e','w']['includes'](_0x39c7b6)?'ew-resize':['n','s']['includes'](_0x39c7b6)?'ns-resize':['nw','se']['includes'](_0x39c7b6)?'nwse-resize':'nesw-resize':'initial';}['_createMask'](_0x287cc1){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x287cc1);const _0x2f1e8c=this['ref']['svg-el'],_0x3bb3ac=document['createDocumentFragment'](),_0x234b0a=tB('image',{'href':_0x287cc1});_0x234b0a['setAttribute']('class','uc-cloud-mask'),_0x3bb3ac['appendChild'](_0x234b0a),_0x2f1e8c['appendChild'](_0x3bb3ac),this['_frameImage']=_0x234b0a;}['_updateMask'](){const _0xb8b8bb=this['$']['*cropBox'];if(!_0xb8b8bb||!this['_frameImage'])return;const {x:_0x358879,y:_0x56d6b7,width:_0x16a9bb,height:_0x4130f5}=_0xb8b8bb;JU(this['_frameImage'],{'x':_0x358879,'y':_0x56d6b7,'height':_0x4130f5,'width':_0x16a9bb});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x1ffe1b){if(this['_frameThumbs'])for(const _0x2472ed of Object['values'](this['_frameThumbs'])){if(!_0x2472ed)continue;const {groupNode:_0x1317cd}=_0x2472ed;_0x1317cd['setAttribute']('class',lF('uc-thumb',{'uc-thumb--hidden':!_0x1ffe1b,'uc-thumb--visible':_0x1ffe1b}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x4d9d63=>{_0x4d9d63&&(this['_guidesHidden']=_0x4d9d63['height']<=0x1||_0x4d9d63['width']<=0x1,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x3acc76=>{_0x3acc76&&this['_createMask'](_0x3acc76);}),this['sub']('dragging',_0x2f4d8f=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',lF({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x2f4d8f,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x2f4d8f}));}),(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']));}};fF['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var mF=class extends HU{['_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',_0x3601b9=>{const _0x2603e2=this['_titleEl'];_0x2603e2&&(_0x2603e2['style']['display']=_0x3601b9?'block':'none');}),this['sub']('active',_0x968ec=>{this['className']=lF({'uc-active':_0x968ec,'uc-not_active':!_0x968ec});}),this['sub']('on.click',_0x4f0432=>{this['onclick']=_0x4f0432??null;});}};mF['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 gF=class extends mF{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x21b75d=>{this['$']['title']=_0x21b75d['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x21b75d['width']+':'+_0x21b75d['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};gF['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 pF=class extends mF{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x141971=>{if(!_0x141971)return;const _0x61ded3=!!_0x141971['hasFreeform'];this['$']['title']=_0x61ded3?this['l10n']('custom'):_0x141971['width']+':'+_0x141971['height'],_0x61ded3||this['_renderRectBasedOnAspectRatio'](_0x141971),_0x61ded3&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x141971,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x61ded3?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x141971['width']+':'+_0x141971['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x14fbd5=>{this['$']['active']=_0x14fbd5&&_0x14fbd5['id']===this['_aspectRatio']?.['id']||_0x14fbd5?.['width']===this['_aspectRatio']?.['width']&&_0x14fbd5?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x720624=this['$']['*currentAspectRatio'];_0x720624?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x51efa7){const {width:_0x3d7600,height:_0x3315d4}=(_0x4bc201=>{let _0xfede2f=0xc,_0x33bb3f=0xc;return _0x4bc201['width']/_0x4bc201['height']>=0x1?(_0xfede2f=0xc,_0x33bb3f=Math['round'](0xc*_0x4bc201['height']/_0x4bc201['width'])):(_0x33bb3f=0xc,_0xfede2f=Math['round'](0xc*_0x4bc201['width']/_0x4bc201['height'])),{'width':_0xfede2f,'height':_0x33bb3f};})(_0x51efa7),_0x14721d=tB('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(0x10-_0x3d7600)/0x2,'y':(0x10-_0x3315d4)/0x2,'rx':0x2,'width':_0x3d7600,'height':_0x3315d4}),_0x2e3447=this['ref']['icon-el']?.['ref']?.['svg'];_0x2e3447&&(_0x2e3447['innerHTML']='',_0x2e3447['appendChild'](_0x14721d));}['_aspectRatio'];},OF=class extends mF{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x92b607=>{_0x92b607&&(this['_operation']=_0x92b607,this['$']['icon']=_0x92b607,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x92b607)['toLowerCase']()})));}),this['$']['on.click']=_0x3e1ae2=>{if(!this['_operation'])return;const _0xbf8017=this['$']['*cropperEl'],_0x27a55e=_0xbf8017['getValue'](this['_operation']),_0x44becc=function(_0x3f8d1e,_0x811690){if('rotate'===_0x3f8d1e)return function(_0x4af8ba){let _0x49d5a1=_0x4af8ba+0x5a;return _0x49d5a1=_0x49d5a1>=0x168?0x0:_0x49d5a1,_0x49d5a1;}('number'==typeof _0x811690?_0x811690:0x0);if('mirror'===_0x3f8d1e||'flip'===_0x3f8d1e)return!_0x811690;throw new Error('Unsupported\x20operation:\x20'+_0x3f8d1e);}(this['_operation'],_0x27a55e);this['telemetryManager']['sendEventCloudImageEditor'](_0x3e1ae2,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x44becc,'prev':_0x27a55e}),_0xbf8017['setValue'](this['_operation'],_0x44becc);};}};function wF(_0x2f5104){const _0x17f972=new Image();return{'promise':new Promise((_0x39385f,_0x7eab48)=>{_0x17f972['src']=_0x2f5104,_0x17f972['onload']=()=>_0x39385f(),_0x17f972['onerror']=_0x356994=>_0x7eab48(_0x356994);}),'image':_0x17f972,'cancel':()=>{0x0===_0x17f972['naturalWidth']&&(_0x17f972['src']=aF);}};}function bF(_0x5d4bd0){const _0xe744cc=[];for(const _0x5659d6 of _0x5d4bd0){const _0x5d4fc2=wF(_0x5659d6);_0xe744cc['push'](_0x5d4fc2);}const _0x429c51=_0xe744cc['map'](_0x480e03=>_0x480e03['image']);return{'promise':Promise['allSettled'](_0xe744cc['map'](_0x370311=>_0x370311['promise'])),'images':_0x429c51,'cancel':()=>{_0xe744cc['forEach'](_0x3b1cf3=>{_0x3b1cf3['cancel']();});}};}var yF='original',_F=class extends HU{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x23949b=>{const _0x12717e=this['$']['*faderEl'];_0x12717e?.['set'](_0x23949b),this['$']['value']=_0x23949b;}};}['setOperation'](_0x1763d5,_0x1d53f4){this['_operation']=_0x1763d5,this['_filter']=_0x1d53f4,this['_initializeValues']();const _0x3f00e0=this['$']['*faderEl'],_0x43e721=this['_originalUrl']||this['$']['*originalUrl'];_0x3f00e0&&_0x43e721&&_0x3f00e0['activate']({'url':_0x43e721,'operation':this['_operation'],'value':this['_filter']===yF?void 0x0:this['$']['value'],'filter':this['_filter']===yF?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0x7cd0e9=this['_operation'],{range:_0x1ae376,zero:_0x23956c}=dU[_0x7cd0e9],[_0x22cd68,_0x3d42d8]=_0x1ae376;this['$']['min']=_0x22cd68,this['$']['max']=_0x3d42d8,this['$']['zero']=_0x23956c;const _0x297178=this['$']['*editorTransformations'][_0x7cd0e9];if('filter'===_0x7cd0e9){let _0xdcaff2=Number(_0x3d42d8);const _0x2752c9=_0x297178;if(_0x2752c9){const {name:_0x832ce6,amount:_0x2b56f3}=_0x2752c9;_0xdcaff2=_0x832ce6===this['_filter']?_0x2b56f3:_0x3d42d8;}return this['$']['value']=_0xdcaff2,void(this['$']['defaultValue']=_0xdcaff2);}const _0x36d858=void 0x0!==_0x297178?_0x297178:_0x23956c;this['$']['value']=_0x36d858,this['$']['defaultValue']=_0x36d858;}['apply'](){const _0x386e4e={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==yF?_0x386e4e['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x386e4e['filter']:_0x386e4e[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x386e4e;}['cancel'](){const _0x2a9d6b=this['$']['*faderEl'];_0x2a9d6b?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x466e56=>{this['_originalUrl']=_0x466e56;}),this['sub']('value',_0x28b645=>{const _0x187fe9=(this['_filter']??this['_operation'])+'\x20'+_0x28b645;this['$']['*operationTooltip']=_0x187fe9;});}};function vF(_0x3c9921){const _0x41bf39=_0x3c9921['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x41bf39)return null;const [,_0x3f73fa,_0x13345c]=_0x41bf39;return _0x3f73fa&&void 0x0!==_0x13345c?{'filter':_0x3f73fa,'value':Number(_0x13345c)}:null;}_F['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 TF=class extends mF{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x10ee86=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x21ecea=window['devicePixelRatio'],_0x10d199=Math['ceil'](_0x21ecea*_0x10ee86),_0x2043e1=_0x21ecea>=0x2?'lightest':'normal',_0xf76a48={...this['$']['*editorTransformations']};return _0xf76a48[this['_operation']]=this['_filter']!==yF?{'name':this['_filter'],'amount':0x64}:void 0x0,WV(this['_originalUrl'],BV(eU,tU(_0xf76a48),'quality/'+_0x2043e1,'scale_crop/'+_0x10d199+'x'+_0x10d199+'/center'));}async['_observerCallback'](_0x180997,_0x910f88){const _0x76663f=_0x180997[0x0];if(_0x76663f?.['isIntersecting']){const _0x133710=await this['proxyUrl'](this['_previewSrc']()),_0x3269e1=this['ref']['preview-el'],{promise:_0x76706e,cancel:_0x4f9e8a}=wF(_0x133710);this['_cancelPreload']=_0x4f9e8a,_0x76706e['catch'](_0x3e82b7=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x3e82b7});})['finally'](()=>{_0x3269e1['style']['backgroundImage']='url('+_0x133710+')',_0x3269e1['setAttribute']('loaded',''),_0x910f88['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x102264=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x95b7ef=this['$']['*sliderEl'];_0x95b7ef['setOperation'](this['_operation'],this['_filter']),_0x95b7ef['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x102264,this['$']['*tabId'],{'operation':vF(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0xf82bb2=>{this['_operation']='filter',this['_filter']=_0xf82bb2,this['$']['isOriginal']=_0xf82bb2===yF,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0xf82bb2['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0xb118e5=this['$']['*originalUrl'];if(this['_originalUrl']=_0xb118e5,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x6906ca=>{this['$']['active']=_0x6906ca&&_0x6906ca===this['_filter'];}),this['sub']('isOriginal',_0x3cc31f=>{this['$']['iconSize']=_0x3cc31f?0x28:0x14;}),this['sub']('active',_0x5c034f=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x5c034f?'1':'0';const _0x886921=this['ref']['preview-el'];_0x5c034f?_0x886921['style']['opacity']='0':_0x886921['style']['backgroundImage']&&(_0x886921['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x283db9=>{if(!_0x283db9){const _0x5652fa=await this['proxyUrl'](this['_previewSrc']()),_0x4b750e=this['ref']['preview-el'];_0x4b750e['style']['backgroundImage']&&(_0x4b750e['style']['backgroundImage']='none',_0x4b750e['style']['backgroundImage']='url('+_0x5652fa+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};TF['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 EF=(_0x2573a1,_0x4c2435)=>{let _0x370a3c,_0x5498b0=!0x1,_0x565554=0x0;const _0x224557=(..._0x3b43aa)=>{_0x5498b0?(_0x370a3c&&clearTimeout(_0x370a3c),_0x370a3c=setTimeout(()=>{Date['now']()-_0x565554>=_0x4c2435&&(_0x2573a1(..._0x3b43aa),_0x565554=Date['now']());},Math['max'](_0x4c2435-(Date['now']()-_0x565554),0x0))):(_0x2573a1(..._0x3b43aa),_0x565554=Date['now'](),_0x5498b0=!0x0);};return Object['defineProperty'](_0x224557,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x370a3c&&clearTimeout(_0x370a3c);}}),_0x224557;};function AF(_0x1af0fc,_0x596f06,_0x1b7564){const _0x56e882=window['devicePixelRatio'],_0x49dde0=Math['min'](Math['ceil'](_0x596f06*_0x56e882),0xbb8),_0x4d012e=_0x56e882>=0x2?'lightest':'normal';return WV(_0x1af0fc,BV(eU,tU(_0x1b7564),'quality/'+_0x4d012e,'stretch/off/-/resize/'+_0x49dde0+'x','@clib/'+VU+'/'+UU+'/uc-cloud-image-editor/'));}var IF=class extends HU{['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']=DV(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=EF(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0xe0c3e=function(_0x464d78,_0x1b4ed2){const _0x1c7f95={};for(const _0x322fe7 of _0x1b4ed2){const _0xf41e86=_0x464d78[_0x322fe7];(Object['hasOwn'](_0x464d78,_0x322fe7)||void 0x0!==_0xf41e86)&&(_0x1c7f95[_0x322fe7]=_0xf41e86);}return _0x1c7f95;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x479ec8={...this['$']['*operations'],..._0xe0c3e};this['$']['*operations']=_0x479ec8;}['_initCanvas'](){const _0x441847=this['ref']['canvas-el'],_0x54633a=_0x441847['getContext']('2d'),_0x1a2243=this['offsetWidth'],_0x2ccf76=this['offsetHeight'],_0x4807e1=window['devicePixelRatio'];_0x441847['style']['width']=_0x1a2243+'px',_0x441847['style']['height']=_0x2ccf76+'px',_0x441847['width']=_0x1a2243*_0x4807e1,_0x441847['height']=_0x2ccf76*_0x4807e1,_0x54633a?.['scale'](_0x4807e1,_0x4807e1),this['_canvas']=_0x441847,this['_ctx']=_0x54633a;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x21183d=this['$']['image'],_0x484c15=this['$']['*padding'],_0x3099f5=this['$']['*operations'],{rotate:_0x1eb8cb}=_0x3099f5,_0x35a5d9=this['offsetWidth'],_0x104005=this['offsetHeight'],_0x167a8e=rB({'width':_0x21183d['naturalWidth'],'height':_0x21183d['naturalHeight']},_0x1eb8cb);let _0x37658d;if(_0x167a8e['width']>_0x35a5d9-0x2*_0x484c15||_0x167a8e['height']>_0x104005-0x2*_0x484c15){const _0x216845=_0x167a8e['width']/_0x167a8e['height'];if(_0x216845>_0x35a5d9/_0x104005){const _0x5a146a=_0x35a5d9-0x2*_0x484c15,_0x1af7c2=_0x5a146a/_0x216845;_0x37658d={'x':0x0+_0x484c15,'y':_0x484c15+(_0x104005-0x2*_0x484c15)/0x2-_0x1af7c2/0x2,'width':_0x5a146a,'height':_0x1af7c2};}else{const _0x3b3fac=_0x104005-0x2*_0x484c15,_0x3cf6b8=_0x3b3fac*_0x216845;_0x37658d={'x':_0x484c15+(_0x35a5d9-0x2*_0x484c15)/0x2-_0x3cf6b8/0x2,'y':0x0+_0x484c15,'width':_0x3cf6b8,'height':_0x3b3fac};}}else{const {width:_0x1a6723,height:_0x1a33cd}=_0x167a8e;_0x37658d={'x':_0x484c15+(_0x35a5d9-0x2*_0x484c15)/0x2-_0x1a6723/0x2,'y':_0x484c15+(_0x104005-0x2*_0x484c15)/0x2-_0x1a33cd/0x2,'width':_0x1a6723,'height':_0x1a33cd};}this['$']['*imageBox']=aB(_0x37658d);}['_alignCrop'](){let _0xb40105=this['$']['*cropBox'];const _0x21d2c3=this['$']['*imageBox'],_0x4c5998=this['$']['*operations'],{rotate:_0x1c74fe}=_0x4c5998,_0x481710=this['$']['*editorTransformations']['crop'],{width:_0xf3b82,x:_0x224efc,y:_0x58b8f5}=_0x21d2c3;if(_0x481710){const {dimensions:[_0x19c55d,_0x1d1236],coords:[_0x3dbba0,_0x13ef38]}=_0x481710,{width:_0x40d17b}=rB(this['_imageSize'],_0x1c74fe),_0x281dc1=_0xf3b82/_0x40d17b;_0xb40105=sB(aB({'x':_0x224efc+_0x3dbba0*_0x281dc1,'y':_0x58b8f5+_0x13ef38*_0x281dc1,'width':_0x19c55d*_0x281dc1,'height':_0x1d1236*_0x281dc1}),_0x21d2c3);}const _0x39fb3a=this['$']['*currentAspectRatio'],_0x2fdcf5=_0x39fb3a?_0x39fb3a['width']/_0x39fb3a['height']:void 0x0;if(_0x1b4dbb=_0x21d2c3,!((_0x391e18=_0xb40105)['x']>=_0x1b4dbb['x']&&_0x391e18['y']>=_0x1b4dbb['y']&&_0x391e18['x']+_0x391e18['width']<=_0x1b4dbb['x']+_0x1b4dbb['width']&&_0x391e18['y']+_0x391e18['height']<=_0x1b4dbb['y']+_0x1b4dbb['height'])||_0x2fdcf5&&(_0x3d15fc=_0xb40105,_0x4dac29=_0x2fdcf5,!(Math['abs'](_0x3d15fc['width']/_0x3d15fc['height']-_0x4dac29)<0.1))){const _0x41aa14=_0x21d2c3['width']/_0x21d2c3['height'];let _0x7c83e8=_0x21d2c3['width'],_0x58f179=_0x21d2c3['height'];_0x2fdcf5&&(_0x41aa14>_0x2fdcf5?_0x7c83e8=Math['min'](_0x21d2c3['height']*_0x2fdcf5,_0x21d2c3['width']):_0x58f179=Math['min'](_0x21d2c3['width']/_0x2fdcf5,_0x21d2c3['height'])),_0xb40105={'x':_0x21d2c3['x']+_0x21d2c3['width']/0x2-_0x7c83e8/0x2,'y':_0x21d2c3['y']+_0x21d2c3['height']/0x2-_0x58f179/0x2,'width':_0x7c83e8,'height':_0x58f179};}var _0x3d15fc,_0x4dac29,_0x391e18,_0x1b4dbb;this['$']['*cropBox']=sB(aB(_0xb40105),_0x21d2c3);}['_drawImage'](){const _0x1efe01=this['_ctx'];if(!_0x1efe01)return;const _0x28165e=this['$']['image'],_0x533629=this['$']['*imageBox'],_0x54b268=this['$']['*operations'],{mirror:_0x428985,flip:_0x4734f4,rotate:_0x431ebc}=_0x54b268,_0x12e156=rB({'width':_0x533629['width'],'height':_0x533629['height']},_0x431ebc);_0x1efe01['save'](),_0x1efe01['translate'](_0x533629['x']+_0x533629['width']/0x2,_0x533629['y']+_0x533629['height']/0x2),_0x1efe01['rotate'](_0x431ebc*Math['PI']*-0x1/0xb4),_0x1efe01['scale'](_0x428985?-0x1:0x1,_0x4734f4?-0x1:0x1),_0x1efe01['drawImage'](_0x28165e,-_0x12e156['width']/0x2,-_0x12e156['height']/0x2,_0x12e156['width'],_0x12e156['height']),_0x1efe01['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x14e247=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x14e247['width'],_0x14e247['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x5d3db8}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=lF({'uc-active_from_viewer':_0x5d3db8,'uc-active_from_editor':!_0x5d3db8,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x45593f=this['$']['*cropBox'],_0x5a5b49=this['$']['*imageBox'],_0x52a6fe=this['$']['*operations'],{rotate:_0x15b9be}=_0x52a6fe,{width:_0xc85006,height:_0x53e532}=_0x5a5b49,{width:_0xf08801,height:_0x910780}=rB(this['_imageSize'],_0x15b9be),{width:_0x54b93b,height:_0x151249}=_0x45593f,_0x370a60=_0xc85006/_0xf08801,_0x18b41d=_0x53e532/_0x910780;return[cB(Math['round'](_0x54b93b/_0x370a60),0x1,_0xf08801),cB(Math['round'](_0x151249/_0x18b41d),0x1,_0x910780)];}['_getCropTransformation'](){const _0x426b24=this['$']['*cropBox'],_0x4ffaae=this['$']['*imageBox'],_0x2098c8=this['$']['*operations'],{rotate:_0x4df113}=_0x2098c8,{width:_0x5977c7,height:_0x472f22,x:_0x3b0f27,y:_0x305f5e}=_0x4ffaae,{width:_0x1634d8,height:_0x172e3b}=rB(this['_imageSize'],_0x4df113),{x:_0x40abcc,y:_0xa1f41}=_0x426b24,_0x2e8344=_0x5977c7/_0x1634d8,_0x3fc1df=_0x472f22/_0x172e3b,_0x202a35=this['_getCropDimensions'](),_0x974b0e={'dimensions':_0x202a35,'coords':[cB(Math['round']((_0x40abcc-_0x3b0f27)/_0x2e8344),0x0,_0x1634d8-_0x202a35[0x0]),cB(Math['round']((_0xa1f41-_0x305f5e)/_0x3fc1df),0x0,_0x172e3b-_0x202a35[0x1])]};if(function(_0x25ec3e){if(!_0x25ec3e)return!0x0;const _0x2292b4=[({dimensions:_0xf58847,coords:_0x108588})=>[..._0xf58847,..._0x108588]['every'](_0x131eb0=>Number['isInteger'](_0x131eb0)&&Number['isFinite'](_0x131eb0)),({dimensions:_0x30c553,coords:_0x300ed6})=>_0x30c553['every'](_0x135417=>_0x135417>0x0)&&_0x300ed6['every'](_0x723f4c=>_0x723f4c>=0x0)];return _0x2292b4['every'](_0x4f2da1=>_0x4f2da1(_0x25ec3e));}(_0x974b0e)){if(_0x202a35[0x0]!==_0x1634d8||_0x202a35[0x1]!==_0x172e3b)return _0x974b0e;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x974b0e});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x4f1b50=this['$']['*operations'],{rotate:_0x5f2576,mirror:_0x4f6e01,flip:_0x100f7e}=_0x4f1b50,_0x208f78=this['_getCropTransformation'](),_0x4db880={...this['$']['*editorTransformations'],'crop':_0x208f78,'rotate':_0x5f2576,'mirror':_0x4f6e01,'flip':_0x100f7e};this['$']['*editorTransformations']=_0x4db880;}['setValue'](_0x252582,_0x44e1bd){this['$']['*operations']={...this['$']['*operations'],[_0x252582]:_0x44e1bd},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x54bc7c){return this['$']['*operations'][_0x54bc7c];}async['activate'](_0x50503a,{fromViewer:_0x7a41d6}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x50503a,this['removeEventListener']('transitionend',this['_reset']);try{const _0x3e93a7=this['$']['*originalUrl'],_0x108620=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x3e93a7,_0x108620),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x7a41d6});}catch(_0x832e0d){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x832e0d}),this['telemetryManager']['sendEventError'](_0x832e0d,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x416d29=>{const [_0x25901b]=_0x416d29;if(!_0x25901b)return;_0x25901b['contentRect']['width']>0x0&&_0x25901b['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x55d079=!0x1}={}){this['_isActive']&&(!_0x55d079&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=lF({'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 _0x4644aa=this['_getCropDimensions'](),_0x54062a=this['$']['*cropBox'],_0x26dfa5=Math['min'](this['offsetWidth'],_0x4644aa[0x0])/_0x54062a['width'],_0x3abc7e=Math['min'](this['offsetHeight'],_0x4644aa[0x1])/_0x54062a['height'],_0x5eeba8=Math['min'](_0x26dfa5,_0x3abc7e),_0xd65b79=_0x54062a['x']+_0x54062a['width']/0x2,_0x3361ac=_0x54062a['y']+_0x54062a['height']/0x2;this['style']['transform']='scale('+_0x5eeba8+')\x20translate('+(this['offsetWidth']/0x2-_0xd65b79)/_0x5eeba8+'px,\x20'+(this['offsetHeight']/0x2-_0x3361ac)/_0x5eeba8+'px)',this['style']['transformOrigin']=_0xd65b79+'px\x20'+_0x3361ac+'px';}['_transitionToImage'](){const _0x19945d=this['$']['*cropBox'],_0x6cf229=_0x19945d['x']+_0x19945d['width']/0x2,_0x228902=_0x19945d['y']+_0x19945d['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x6cf229+'px\x20'+_0x228902+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x4eafa1,_0x2e6038){const _0x3b2a4c=this['offsetWidth'];_0x2e6038={..._0x2e6038,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x566e19=await this['proxyUrl'](AF(_0x4eafa1,_0x3b2a4c,_0x2e6038)),{promise:_0x3f868f,cancel:_0x202b2f,image:_0x4c0fcf}=wF(_0x566e19),_0x1cccaf=this['_handleImageLoading'](_0x566e19);return _0x4c0fcf['addEventListener']('load',_0x1cccaf,{'once':!0x0}),_0x4c0fcf['addEventListener']('error',_0x1cccaf,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x202b2f,_0x3f868f['then'](()=>_0x4c0fcf)['catch'](_0x312285=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x312285}),this['$']['*networkProblems']=!0x0,_0x4c0fcf));}['_handleImageLoading'](_0x5c7944){const _0x266184='crop',_0x10bc39=this['$']['*loadingOperations'];let _0x115646=_0x10bc39['get'](_0x266184);return _0x115646||(_0x115646=new Map(),_0x10bc39['set'](_0x266184,_0x115646)),_0x115646['get'](_0x5c7944)||(_0x115646['set'](_0x5c7944,!0x0),this['$']['*loadingOperations']=_0x10bc39),()=>{const _0x5edb97=_0x10bc39['get'](_0x266184);_0x5edb97?.['has'](_0x5c7944)&&(_0x5edb97['delete'](_0x5c7944),this['$']['*loadingOperations']=_0x10bc39);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x2de01e=>{_0x2de01e||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function SF(_0x11f582,_0x58b9ca,_0x459c7f){const _0xdee8=_0x459c7f-0x1,_0x37f91c=new Array(_0x459c7f);for(let _0x525761=_0xdee8;_0x525761>=0x0;_0x525761-=0x1)_0x37f91c[_0x525761]=Math['ceil']((_0x525761*_0x58b9ca+(_0xdee8-_0x525761)*_0x11f582)/_0xdee8);return _0x37f91c;}function CF(_0x47c759,_0xaf5fbd){const _0x24cf72=dU[_0x47c759]['keypointsNumber'],{range:_0x31a41a,zero:_0x13aab6}=dU[_0x47c759];return[...new Set([...SF(_0x31a41a[0x0],_0x13aab6,_0x24cf72+0x1),...SF(_0x13aab6,_0x31a41a[0x1],_0x24cf72+0x1),_0x13aab6,_0xaf5fbd])]['sort']((_0x3735f9,_0xd0dab5)=>_0x3735f9-_0xd0dab5);}IF['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 kF=class extends mF{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x319ba2=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x319ba2,this['$']['*tabId'],{'operation':vF(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x2ec815=>{_0x2ec815&&(this['_operation']=_0x2ec815,this['$']['icon']=_0x2ec815,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x2ec815)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x2ec815)));}),this['sub']('*editorTransformations',_0x2aa37c=>{if(!this['_operation'])return;const {zero:_0x2ee3fe}=dU[this['_operation']],_0x36366f=_0x2aa37c[this['_operation']],_0x25a575=void 0x0!==_0x36366f&&_0x36366f!==_0x2ee3fe;this['$']['active']=_0x25a575;});}},xF=class extends HU{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x220f16=>{_0x220f16['preventDefault']();const {deltaY:_0x2cce5f,deltaX:_0x4bd5d1}=_0x220f16;Math['abs'](_0x4bd5d1)>0x1?this['scrollLeft']+=_0x4bd5d1:this['scrollLeft']+=_0x2cce5f;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};xF['template']='\x20<slot></slot>\x20';var RF=class extends HU{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':yF,'*currentOperation':null,'showLoader':!0x1,'filters':lU,'colorOperations':cU,'cropOperations':hU,'*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':_0x4cea63=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x4cea63,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0xda8c63=>{this['telemetryManager']['sendEventCloudImageEditor'](_0xda8c63,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x267160=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x267160,this['$']['*tabId'],{'action':'apply-slider','operation':vF(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x54f802=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x54f802,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x3c7ee3=>{const _0x1388b3=_0x3c7ee3['currentTarget'],_0xff057e=_0x1388b3?.['getAttribute']('data-id');_0xff057e&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x3c7ee3,_0xff057e),this['_activateTab'](_0xff057e,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+oU['TUNING']]:'tab_'+oU['TUNING'],['tab_'+oU['CROP']]:'tab_'+oU['CROP'],['tab_'+oU['FILTERS']]:'tab_'+oU['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']=DV(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=DV(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===oU['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===oU['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x28a1f0){const _0x376d5b=new kF();return _0x376d5b['operation']=_0x28a1f0,_0x376d5b;}['_createFilterControl'](_0x22fd78){const _0x3f5abe=new TF();return _0x3f5abe['filter']=_0x22fd78,_0x3f5abe;}['_createToggleControl'](_0x537cba){const _0x540d2b=new OF();return _0x540d2b['operation']=_0x537cba,_0x540d2b;}['_createAspectRatioControl'](_0x4a7dca){const _0x57cb5f=new pF();return _0x57cb5f['aspectRatio']=_0x4a7dca,_0x57cb5f;}['_createFreeformControl'](){return new gF();}['_clearListAspectRatio'](){const _0x2088cc=this['$']['*listAspectRatioEl'];_0x2088cc&&(_0x2088cc['innerHTML']='');}['_renderControlsList'](_0x8f9b5){const _0x1424e6=this['ref']['controls-list-'+_0x8f9b5],_0x5c546b=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x8f9b5===oU['CROP']){const _0x38a807=this['$']['*cropPresetList'],_0x5a7800=_0x38a807['length']>=0x3;if(_0x5a7800){const _0x1b2610=this['_createFreeformControl']();_0x5c546b['appendChild'](_0x1b2610);}for(const _0x4cde9a of _0x38a807){const _0x192fe2=this['_createAspectRatioControl'](_0x4cde9a);if(_0x5c546b['appendChild'](_0x192fe2),_0x5a7800){const _0x906e36=this['$']['*listAspectRatioEl'];_0x906e36?.['appendChild'](_0x192fe2);}}for(const _0x1711a9 of this['$']['cropOperations']){const _0x2bbb25=this['_createToggleControl'](_0x1711a9);_0x5c546b['appendChild'](_0x2bbb25);}}else{if(_0x8f9b5===oU['FILTERS']){const _0x4ff02c=this['$']['filters'];[yF,..._0x4ff02c]['forEach'](_0x54a5c4=>{const _0x1eacdf=this['_createFilterControl'](_0x54a5c4);_0x5c546b['appendChild'](_0x1eacdf);});}else{if(_0x8f9b5===oU['TUNING'])for(const _0x95e85 of this['$']['colorOperations']){const _0x14cc46=this['_createOperationControl'](_0x95e85);_0x5c546b['appendChild'](_0x14cc46);}}}[..._0x5c546b['children']]['forEach']((_0x47d9b0,_0x468afe)=>{_0x468afe===_0x5c546b['childNodes']['length']-0x1&&_0x47d9b0['classList']['add']('uc-controls-list_last-item');}),_0x1424e6['innerHTML']='',_0x1424e6['appendChild'](_0x5c546b);}['_activateTab'](_0x364b2b,{fromViewer:_0x26a628}={}){this['$']['*tabId']=_0x364b2b;const _0x1b4d3d=this['$']['*faderEl'],_0xbc882c=this['$']['*cropperEl'];_0x364b2b===oU['CROP']?(_0x1b4d3d?.['deactivate'](),_0xbc882c?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x26a628})):(_0x1b4d3d?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x26a628}),_0xbc882c?.['deactivate']());for(const _0x2d1ea0 of aU){const _0x56f809=_0x2d1ea0===_0x364b2b;this['ref']['tab-toggle-'+_0x2d1ea0]['active']=_0x56f809,_0x56f809?(this['_renderControlsList'](_0x364b2b),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x2d1ea0),this['$']['presence.tabContent.'+_0x2d1ea0]=_0x56f809;}}['_unmountTabControls'](_0xb9ef7a){const _0x4244e2=this['ref']['controls-list-'+_0xb9ef7a];_0x4244e2&&(_0x4244e2['innerHTML']='');}['_syncTabIndicator'](){const _0x4ead54=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x4ead54['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x3d7f4d=this['$']['*imgContainerEl']['offsetWidth'],_0x2fefa8=await this['proxyUrl'](AF(this['$']['*originalUrl'],_0x3d7f4d,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x53c900}=bF([_0x2fefa8]);this['_cancelPreload']=()=>{_0x53c900(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x446c73){this['$']['showLoader']=_0x446c73;}['_updateInfoTooltipHandler'](){const _0x32ed6e=this['$']['*editorTransformations'],_0x593cdc=this['$']['*currentOperation'];let _0x2d0591='',_0x48a1a0=!0x1;if(this['$']['*tabId']===oU['FILTERS']){if(_0x48a1a0=!0x0,this['$']['*currentFilter']&&_0x32ed6e?.['filter']?.['name']===this['$']['*currentFilter']){const _0xe4cd=_0x32ed6e?.['filter']?.['amount']||0x64;_0x2d0591=this['$']['*currentFilter']+'\x20'+_0xe4cd;}else _0x2d0591=this['l10n'](yF);}else{if(this['$']['*tabId']===oU['TUNING']&&_0x593cdc){_0x48a1a0=!0x0;const _0x1ad850=_0x32ed6e?.[_0x593cdc]||dU[_0x593cdc]['zero'];_0x2d0591=this['l10n'](_0x593cdc)+'\x20'+_0x1ad850;}}_0x48a1a0&&(this['$']['*operationTooltip']=_0x2d0591),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x48a1a0);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x1cca34=>{_0x1cca34&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x4e3b9b=>{const _0xa7e7b4=_0x4e3b9b?.['filter']?.['name'];this['$']['*currentFilter']!==_0xa7e7b4&&(this['$']['*currentFilter']=_0xa7e7b4);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x409641=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x409641);}),this['sub']('*loadingOperations',_0x376f6f=>{let _0x17f581=!0x1;for(const [,_0x2cabc2]of _0x376f6f['entries']()){if(_0x17f581)break;for(const [,_0x3baeb6]of _0x2cabc2['entries']())if(_0x3baeb6){_0x17f581=!0x0;break;}}this['_debouncedShowLoader'](_0x17f581);}),this['sub']('*showSlider',_0x12a4e5=>{this['$']['presence.subToolbar']=_0x12a4e5,this['$']['presence.mainToolbar']=!_0x12a4e5,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x19ed21=>{this['$']['presence.subToolbar']=_0x19ed21,this['$']['presence.mainToolbar']=!_0x19ed21,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x3cb66d=>{this['$']['presence.tabToggles']=_0x3cb66d['length']>0x1;for(const _0x3a40e2 of aU){this['$']['presence.tabToggle.'+_0x3a40e2]=_0x3cb66d['includes'](_0x3a40e2),this['ref']['tab-toggle-'+_0x3a40e2]['style']['gridColumn']=''+(_0x3cb66d['indexOf'](_0x3a40e2)+0x1);}if(!_0x3cb66d['includes'](this['$']['*tabId'])&&_0x3cb66d['length']>0x0){const [_0x239a45]=_0x3cb66d;_0x239a45&&this['_activateTab'](_0x239a45,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};RF['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>'+aU['map'](function(_0x504af1){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x504af1+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x504af1+';\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-'+_0x504af1+'\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'+aU['map'](function(_0x467592){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.'+_0x467592+';\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-'+_0x467592+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x467592+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x467592+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x467592+';\x20title-prop:\x20a11y-editor-tab-'+_0x467592+'\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 PF=class extends HU{['_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',_0x5a105a=>{_0x5a105a?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return lF('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',_0x147a1d=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x147a1d,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x479ddb=>{_0x479ddb&&'custom'!==_0x479ddb&&(this['className']='uc-'+_0x479ddb);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x1b1c5b=>{this['$']['aria-role']=_0x1b1c5b||'';}),this['defineAccessor']('aria-controls',_0x5add06=>{this['$']['aria-controls']=_0x5add06||'';}),this['defineAccessor']('title-prop',_0x336374=>{this['$']['title-prop']=_0x336374||'';});}set['reverse'](_0x3384d9){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};PF['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),PF['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 MF=class extends HU{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x1b7c6f=this['ref']['line-el'];_0x1b7c6f['style']['transition']='initial',_0x1b7c6f['style']['opacity']='0',_0x1b7c6f['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x13aff5=>{'boolean'==typeof _0x13aff5&&(_0x13aff5?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x32721e}=this['getBoundingClientRect'](),_0xb51b9e=this['ref']['line-el'];_0xb51b9e['style']['transition']='transform\x201s',_0xb51b9e['style']['opacity']='1',_0xb51b9e['style']['transform']='translateX('+_0x32721e+'px)',_0xb51b9e['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};MF['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 NF='uc-transition',LF='uc-visible',DF='uc-hidden',QF=class extends HU{['_visible']=!0x1;['_visibleStyle']=LF;['_hiddenStyle']=DF;['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x132ea0=>{_0x132ea0&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x132ea0['visible']??LF,this['_hiddenStyle']=_0x132ea0['hidden']??DF);}),this['defineAccessor']('visible',_0x9c0441=>{'boolean'==typeof _0x9c0441&&(this['_visible']=_0x9c0441,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',function(_0x1a779c,..._0x22fa02){const _0x1b82f2=cF(..._0x22fa02);for(const _0x542beb of Object['keys'](_0x1b82f2))_0x1a779c['classList']['toggle'](_0x542beb,Boolean(_0x1b82f2[_0x542beb]));}(this,{[NF]:!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'](NF),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};QF['template']='<slot></slot>\x20';var $F=class extends HU{['_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 _0x5f2dee=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x5f2dee),this['$']['onInput']?.(_0x5f2dee);},'on.sliderChange':()=>{const _0x32282a=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x32282a);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x6a5fc2=>{this['$']['disabled']=_0x6a5fc2;}),this['defineAccessor']('min',_0x1dd47b=>{this['$']['min']=_0x1dd47b;}),this['defineAccessor']('max',_0x46937f=>{this['$']['max']=_0x46937f;}),this['defineAccessor']('defaultValue',_0x2d3cd0=>{this['$']['defaultValue']=_0x2d3cd0,(this['_inputEl']()['value']=String(_0x2d3cd0),this['_updateValue'](_0x2d3cd0));}),this['defineAccessor']('zero',_0x2048a0=>{this['_zero']=_0x2048a0;}),this['defineAccessor']('onInput',_0x591558=>{_0x591558&&(this['$']['onInput']=_0x591558);}),this['defineAccessor']('onChange',_0x3bbc68=>{_0x3bbc68&&(this['$']['onChange']=_0x3bbc68);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x2f73d3=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x2f73d3);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x5e9df3=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x5e9df3);},0x0),this['sub']('disabled',_0x18b493=>{const _0x4990c5=this['_inputEl']();_0x18b493?_0x4990c5['setAttribute']('disabled','disabled'):_0x4990c5['removeAttribute']('disabled');});const _0x4de560=this['_inputEl']();_0x4de560['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x4de560['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'](_0x172acf){this['_updateZeroDot'](_0x172acf);const {width:_0x2dba0c}=this['getBoundingClientRect'](),_0x3ae975=0x64/(this['$']['max']-this['$']['min'])*(_0x172acf-this['$']['min'])*(_0x2dba0c-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x3ae975+'px)';});}['_updateZeroDot'](_0x195b91){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x195b91===this['_zero']?'0':'1';const {width:_0x10dda7}=this['getBoundingClientRect'](),_0x3015a0=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x10dda7-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x3015a0+'px)');});}['_updateSteps'](){const _0x13f268=this['_stepsEl'](),{width:_0x2309ab}=_0x13f268['getBoundingClientRect'](),_0xd264a=Math['ceil'](_0x2309ab/0x2),_0x2c4b0d=Math['ceil'](_0xd264a/0xf)-0x2;if(this['_stepsCount']===_0x2c4b0d)return;const _0x3a9982=document['createDocumentFragment'](),_0x579280=document['createElement']('div'),_0x30dcf3=document['createElement']('div');_0x579280['className']='uc-minor-step',_0x30dcf3['className']='uc-border-step',_0x3a9982['appendChild'](_0x30dcf3);for(let _0x2c5b7f=0x0;_0x2c5b7f<_0x2c4b0d;_0x2c5b7f+=0x1)_0x3a9982['appendChild'](_0x579280['cloneNode']());_0x3a9982['appendChild'](_0x30dcf3['cloneNode']());for(let _0x31087c=0x0;_0x31087c<_0x2c4b0d;_0x31087c+=0x1)_0x3a9982['appendChild'](_0x579280['cloneNode']());_0x3a9982['appendChild'](_0x30dcf3['cloneNode']());const _0x30d801=document['createElement']('div');_0x30d801['className']='uc-zero-dot',_0x3a9982['appendChild'](_0x30d801),this['_zeroDotEl']=_0x30d801,_0x13f268['innerHTML']='',_0x13f268['appendChild'](_0x3a9982),this['_stepsCount']=_0x2c4b0d;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};$F['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 VF=_0x29d7d9=>_0x29d7d9['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x195769=>_0x195769['toLowerCase']())['join']('-'),UF=[{'test':_0x28022f=>!!_0x28022f['accept']&&!!_0x28022f['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':_0x686b7b=>null!==_0x686b7b['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':_0x1c7824=>null!==_0x1c7824['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],BF=DV(_0xf98745=>{for(const {test:_0x363b94,message:_0x2754a6}of UF)_0x363b94(_0xf98745)&&zB(_0x2754a6);},0x0),FF=_0x7c1d56=>_0x7c1d56 instanceof Promise||Boolean(_0x7c1d56&&'object'==typeof _0x7c1d56&&'then'in _0x7c1d56&&'function'==typeof _0x7c1d56['then']),jF=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x4ad952,enableVideoRecording:_0x598c0f})=>{if(null===_0x598c0f)return _0x4ad952;let _0x58f2e3=QV(_0x4ad952);return _0x598c0f&&!_0x58f2e3['includes']('video')?_0x58f2e3=_0x58f2e3['concat']('video'):_0x598c0f||(_0x58f2e3=_0x58f2e3['filter'](_0x4e6709=>'video'!==_0x4e6709)),$V(_0x58f2e3);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x40379,defaultCameraMode:_0x42c68d})=>{if(null===_0x42c68d)return _0x40379;let _0x1f403c=QV(_0x40379);return _0x1f403c=_0x1f403c['sort']((_0x518794,_0x5901b8)=>_0x518794===_0x42c68d?-0x1:_0x5901b8===_0x42c68d?0x1:0x0),$V(_0x1f403c);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x3bcb9c,cdnCname:_0x4976eb,cdnCnamePrefixed:_0x29a219})=>_0x3bcb9c&&(_0x4976eb===fU||((_0x12b2ac,_0x34052b)=>{try{const _0x5a0fc9=new URL(_0x12b2ac),t=new URL(_0x34052b);return _0x5a0fc9['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}})(_0x4976eb,_0x29a219))?sV(_0x3bcb9c,_0x29a219):_0x4976eb}],HF=({key:_0x54d338,setValue:_0x12a1f6,getValue:_0x16464a,computationControllers:_0x286ce})=>{for(const _0x3480b7 of jF)if(_0x3480b7['deps']['includes'](_0x54d338)){const _0x1e0f1c={[_0x3480b7['key']]:_0x16464a(_0x3480b7['key'])};for(const _0xc284ae of _0x3480b7['deps'])_0x1e0f1c[_0xc284ae]=_0x16464a(_0xc284ae);const _0x1716b2=new AbortController();let _0x4bf300;_0x286ce['get'](_0x3480b7['key'])?.['abort'](),_0x286ce['set'](_0x3480b7['key'],_0x1716b2);try{_0x4bf300=_0x3480b7['fn'](_0x1e0f1c,{'signal':_0x1716b2['signal']});}catch(_0x4fc3a4){return _0x286ce['get'](_0x3480b7['key'])===_0x1716b2&&_0x286ce['delete'](_0x3480b7['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x3480b7['key']+'\x22',_0x4fc3a4);}FF(_0x4bf300)?_0x4bf300['then'](_0x1b5400=>{_0x1716b2['signal']['aborted']||_0x12a1f6(_0x3480b7['key'],_0x1b5400);})['catch'](_0x39c587=>{_0x1716b2['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x3480b7['key']+'\x22',_0x39c587);})['finally'](()=>{_0x286ce['get'](_0x3480b7['key'])===_0x1716b2&&_0x286ce['delete'](_0x3480b7['key']);}):_0x12a1f6(_0x3480b7['key'],_0x4bf300);}},GF=_0x2e4482=>String(_0x2e4482),ZF=_0x36d2b5=>{const _0x154315=Number(_0x36d2b5);if(Number['isNaN'](_0x154315))throw new Error('Invalid\x20number:\x20\x22'+_0x36d2b5+'\x22');return _0x154315;},XF=_0x173428=>{if(null==_0x173428)return!0x1;if('boolean'==typeof _0x173428)return _0x173428;if('true'===_0x173428)return!0x0;if(''===_0x173428)return!0x0;if('false'===_0x173428)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x173428+'\x22');},qF=_0x4ca933=>{if('object'==typeof _0x4ca933)return _0x4ca933;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},WF=_0xda8942=>{if('function'==typeof _0xda8942)return _0xda8942;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},zF=_0xfef68e=>{if(Array['isArray'](_0xfef68e))return _0xfef68e;throw new Error('Must\x20be\x20an\x20array.');},YF={'pubkey':GF,'multiple':XF,'multipleMin':ZF,'multipleMax':ZF,'confirmUpload':XF,'imgOnly':XF,'accept':GF,'externalSourcesPreferredTypes':GF,'externalSourcesEmbedCss':GF,'store':_0x1e45eb=>'auto'===_0x1e45eb?_0x1e45eb:XF(_0x1e45eb),'cameraMirror':XF,'cameraCapture':_0x100653=>{const _0x2bc561=GF(_0x100653);if('user'!==_0x2bc561&&'environment'!==_0x2bc561&&''!==_0x2bc561)throw new Error('Invalid\x20value:\x20\x22'+_0x2bc561+'\x22');return _0x2bc561;},'sourceList':GF,'topLevelOrigin':GF,'maxLocalFileSizeBytes':ZF,'thumbSize':ZF,'showEmptyList':XF,'useLocalImageEditor':XF,'useCloudImageEditor':XF,'cloudImageEditorTabs':GF,'removeCopyright':XF,'cropPreset':GF,'imageShrink':GF,'modalScrollLock':XF,'modalBackdropStrokes':XF,'sourceListWrap':XF,'remoteTabSessionKey':GF,'cdnCname':GF,'cdnCnamePrefixed':GF,'baseUrl':GF,'socialBaseUrl':GF,'secureSignature':GF,'secureExpire':GF,'secureDeliveryProxy':GF,'retryThrottledRequestMaxTimes':ZF,'retryNetworkErrorMaxTimes':ZF,'multipartMinFileSize':ZF,'multipartChunkSize':ZF,'maxConcurrentRequests':ZF,'multipartMaxConcurrentRequests':ZF,'multipartMaxAttempts':ZF,'checkForUrlDuplicates':XF,'saveUrlForRecurrentUploads':XF,'groupOutput':XF,'userAgentIntegration':GF,'debug':XF,'localeName':GF,'metadata':_0xbbf1fb=>{if('object'==typeof _0xbbf1fb&&!Array['isArray'](_0xbbf1fb))return _0xbbf1fb;if('function'==typeof _0xbbf1fb)return _0xbbf1fb;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':ZF,'localeDefinitionOverride':_0x12a1ec=>qF(_0x12a1ec),'secureUploadsSignatureResolver':_0x2d5677=>WF(_0x2d5677),'secureDeliveryProxyUrlResolver':_0x2ef381=>WF(_0x2ef381),'iconHrefResolver':_0x380bdb=>WF(_0x380bdb),'fileValidators':zF,'collectionValidators':zF,'validationTimeout':ZF,'validationConcurrency':ZF,'cameraModes':_0x485672=>{const _0x2ce560=GF(_0x485672),_0x1a29f9=QV(_0x2ce560);if(_0x1a29f9['some'](_0x3745e2=>!Object['values'](HB)['includes'](_0x3745e2)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x1a29f9)+'\x22');return _0x2ce560;},'defaultCameraMode':_0x4fb4f4=>{const _0x2c29f8=GF(_0x4fb4f4);if(!Object['values'](HB)['includes'](_0x2c29f8))throw new Error('Invalid\x20value:\x20\x22'+_0x2c29f8+'\x22');return _0x2c29f8;},'enableAudioRecording':XF,'enableVideoRecording':XF,'mediaRecorderOptions':qF,'maxVideoRecordingDuration':ZF,'filesViewMode':_0x1fecd5=>{const _0x552583=GF(_0x1fecd5);if(['grid','list']['includes'](_0x552583))return _0x552583;throw new Error('Invalid\x20value:\x20\x22'+_0x552583+'\x22');},'gridShowFileNames':XF,'cloudImageEditorAutoOpen':XF,'cloudImageEditorMaskHref':GF,'testMode':XF,'qualityInsights':XF},KF=[...new Set(['debug',...Object['keys'](gU)])],JF=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],tj=_0x148b81=>JF['includes'](_0x148b81),ej=KF['filter'](_0xc9612d=>!tj(_0xc9612d)),ij={...Object['fromEntries'](ej['map'](_0x22ed0b=>[VF(_0x22ed0b),_0x22ed0b])),...Object['fromEntries'](ej['map'](_0xcc05de=>[_0xcc05de['toLowerCase'](),_0xcc05de]))},sj={...Object['fromEntries'](ej['map'](_0x22ccf3=>[VF(_0x22ccf3),FU(_0x22ccf3)])),...Object['fromEntries'](ej['map'](_0x4c83c2=>[_0x4c83c2['toLowerCase'](),FU(_0x4c83c2)]))},nj=_0x679668=>'__'+_0x679668,rj=class extends HU{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](gU)['map'](([_0x24ed10,_0x4c326d])=>[FU(_0x24ed10),_0x4c326d])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x725d84,_0x413921){if(!tj(_0x725d84)){const _0x5ae965=[...new Set([VF(_0x725d84),_0x725d84['toLowerCase']()])];for(const _0x3a3aec of _0x5ae965)null==_0x413921?this['removeAttribute'](_0x3a3aec):this['getAttribute'](_0x3a3aec)!==_0x413921['toString']()&&this['setAttribute'](_0x3a3aec,_0x413921['toString']());}}['_flushValueToState'](_0x278f1b,_0x33c510){this['$'][FU(_0x278f1b)]!==_0x33c510&&(this['$'][FU(_0x278f1b)]=null==_0x33c510?gU[_0x278f1b]:_0x33c510);}['_setValue'](_0x3162c3,_0x54fba4){const _0x406df4=this,_0x83c163=((_0x3c0338,_0x43fb2a)=>{if(null!=_0x43fb2a)try{return YF[_0x3c0338](_0x43fb2a);}catch(_0x2532fd){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x3c0338+'\x22.',_0x2532fd),gU[_0x3c0338];}})(_0x3162c3,_0x54fba4),_0x2993b2=nj(_0x3162c3);_0x406df4[_0x2993b2]!==_0x83c163&&(this['_assertSameValueDifferentReference'](_0x3162c3,_0x406df4[_0x2993b2],_0x83c163),_0x406df4[_0x2993b2]=_0x83c163,this['_flushValueToAttribute'](_0x3162c3,_0x83c163),this['_flushValueToState'](_0x3162c3,_0x83c163),this['debugPrint']('[uc-config]\x20\x22'+_0x3162c3+'\x22',_0x83c163),BF(this['cfg']));}['_getValue'](_0x52e1b2){return this[nj(_0x52e1b2)]??this['$'][FU(_0x52e1b2)];}['_assertSameValueDifferentReference'](_0x536e4b,_0x3cc899,_0x6e0054){this['cfg']['debug']&&_0x6e0054!==_0x3cc899&&'object'==typeof _0x6e0054&&'object'==typeof _0x3cc899&&JSON['stringify'](_0x6e0054)===JSON['stringify'](_0x3cc899)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x536e4b+'\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'+_0x536e4b+'\x22\x20previous\x20value:',_0x3cc899),console['warn']('[uc-config]\x20\x22'+_0x536e4b+'\x22\x20new\x20value:',_0x6e0054));}['initCallback'](){super['initCallback']();const _0x2dac6e=this;for(const _0x49c15d of ej)this['sub'](FU(_0x49c15d),_0x2fc2fb=>{this['_setValue'](_0x49c15d,_0x2fc2fb);},!0x1);for(const _0x4902c5 of KF){const _0x1ac54b=_0x2dac6e[_0x4902c5]??this['$'][FU(_0x4902c5)];_0x1ac54b!==gU[_0x4902c5]&&this['_setValue'](_0x4902c5,_0x1ac54b),Object['defineProperty'](this,_0x4902c5,{'set':_0xcac736=>{this['_setValue'](_0x4902c5,_0xcac736);},'get':()=>this['_getValue'](_0x4902c5)});}for(const _0x11f8fe of KF)this['sub'](FU(_0x11f8fe),()=>{HF({'key':_0x11f8fe,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x170c68,_0x53e4de,_0x209129){if(_0x53e4de===_0x209129)return;const _0x476494=this,_0x1d921e=ij[_0x170c68];_0x1d921e&&(_0x476494[_0x1d921e]=_0x209129);}get['computationControllers'](){return this['$']['computationControllers'];}};rj['bindAttributes'](sj);for(const e of KF)rj['prototype'][e]=void 0x0;function oj(_0x2895f9){return new Promise(_0x32b6f0=>{'function'!=typeof window['FileReader']&&_0x32b6f0(!0x1);try{const _0x44dbeb=new FileReader();_0x44dbeb['onerror']=()=>{_0x32b6f0(!0x0);};const _0x79d1b3=_0x228e2e=>{'loadend'!==_0x228e2e['type']&&_0x44dbeb['abort'](),_0x32b6f0(!0x1);};_0x44dbeb['onloadend']=_0x79d1b3,_0x44dbeb['onprogress']=_0x79d1b3,_0x44dbeb['readAsDataURL'](_0x2895f9);}catch{_0x32b6f0(!0x1);}});}function aj(_0x4d879d,_0x2972f6){return new Promise(_0x1b4199=>{let _0x303401=0x0;const _0x5ad858=[],_0x1606f9=_0x1fee7f=>{if(!_0x1fee7f)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x1b4199(null);_0x1fee7f['isFile']?(_0x303401++,_0x1fee7f['file'](_0x3ae716=>{_0x303401--;const _0x3f4f6b=new File([_0x3ae716],_0x3ae716['name'],{'type':_0x3ae716['type']||_0x2972f6});_0x5ad858['push']({'type':'file','file':_0x3f4f6b,'fullPath':_0x1fee7f['fullPath']}),0x0===_0x303401&&_0x1b4199(_0x5ad858);})):_0x1fee7f['isDirectory']&&_0x1f1003(_0x1fee7f['createReader']());},_0x1f1003=_0xcdc316=>{_0x303401++,_0xcdc316['readEntries'](_0x1eab9e=>{_0x303401--;for(const _0x56ede2 of _0x1eab9e)_0x1606f9(_0x56ede2);0x0===_0x303401&&_0x1b4199(_0x5ad858);});};_0x1606f9(_0x4d879d);});}var cj=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),lj=['focus'],hj=new Map();function uj(_0x482524){let _0x27abb8=0x0;const _0x466af6=document['body'],_0x5943f6=new Set();let _0x5a3dc6=cj['INACTIVE'];const _0x19ab08=_0x4e9f8d=>{_0x482524['shouldIgnore']()&&_0x4e9f8d!==cj['INACTIVE']||(_0x5a3dc6!==_0x4e9f8d&&_0x5943f6['forEach'](_0x3a7996=>{_0x3a7996(_0x4e9f8d);}),_0x5a3dc6=_0x4e9f8d);},_0x127dde=()=>_0x27abb8>0x0;var _0x25f0d8;_0x25f0d8=_0x4d6f2a=>_0x482524['onChange'](_0x4d6f2a),_0x5943f6['add'](_0x25f0d8);const _0x32130c=()=>{_0x27abb8=0x0,_0x19ab08(cj['INACTIVE']);},_0xf69071=()=>{_0x27abb8+=0x1,_0x5a3dc6===cj['INACTIVE']&&_0x19ab08(cj['ACTIVE']);},_0x593675=()=>{_0x27abb8-=0x1,_0x127dde()||_0x19ab08(cj['INACTIVE']);},_0x13a4e4=_0x4ef9e3=>{_0x4ef9e3['preventDefault'](),_0x27abb8=0x0,_0x19ab08(cj['INACTIVE']);},_0x3a71b4=_0x57f628=>{if(_0x482524['shouldIgnore']())return;_0x127dde()||(_0x27abb8+=0x1);const _0x44fe16=[_0x57f628['x'],_0x57f628['y']],_0x34dc3c=_0x482524['element']['getBoundingClientRect'](),_0x2bf387=Math['floor'](function(_0xdcae2d,_0xfc811e){const _0x5543a7=Math['max'](Math['min'](_0xdcae2d[0x0],_0xfc811e['x']+_0xfc811e['width']),_0xfc811e['x']),_0x4c1be7=Math['max'](Math['min'](_0xdcae2d[0x1],_0xfc811e['y']+_0xfc811e['height']),_0xfc811e['y']);return Math['sqrt']((_0xdcae2d[0x0]-_0x5543a7)*(_0xdcae2d[0x0]-_0x5543a7)+(_0xdcae2d[0x1]-_0x4c1be7)*(_0xdcae2d[0x1]-_0x4c1be7));}(_0x44fe16,_0x34dc3c)),_0x1b39c9=_0x2bf387<0x64,_0x30a4d9=_0x57f628['composedPath']()['includes'](_0x482524['element']);hj['set'](_0x482524['element'],_0x2bf387);const _0x11fec0=Math['min'](...hj['values']())===_0x2bf387;_0x30a4d9&&_0x11fec0?(_0x57f628['preventDefault'](),_0x19ab08(cj['OVER'])):_0x19ab08(_0x1b39c9&&_0x11fec0?cj['NEAR']:cj['ACTIVE']);},_0x26a0a0=async _0x2665a0=>{if(_0x482524['shouldIgnore']())return;_0x2665a0['preventDefault']();const {dataTransfer:_0x4ecba4}=_0x2665a0;if(!_0x4ecba4)return;const _0x215fc0=await function(_0x547efb){const _0x1a4c96=[],_0x148a65=[];for(let _0x23e78b=0x0;_0x23e78b<_0x547efb['items']['length'];_0x23e78b++){const _0x3b9a81=_0x547efb['items'][_0x23e78b];if(_0x3b9a81){if('file'===_0x3b9a81['kind']){const _0x3cf4a8=_0x3b9a81['type'],_0x526b93=_0x3b9a81;if('function'==typeof _0x526b93['webkitGetAsEntry']||'function'==typeof _0x526b93['getAsEntry']){const _0x3fb450='function'==typeof _0x526b93['webkitGetAsEntry']?_0x526b93['webkitGetAsEntry']():_0x526b93['getAsEntry']?.();_0x3fb450&&_0x148a65['push'](aj(_0x3fb450,_0x3cf4a8)['then'](_0x1b1a47=>{_0x1b1a47&&_0x1a4c96['push'](..._0x1b1a47);}));continue;}const _0x4597c1=_0x3b9a81['getAsFile']();_0x4597c1&&_0x148a65['push'](oj(_0x4597c1)['then'](_0x26d1fa=>{_0x26d1fa||_0x1a4c96['push']({'type':'file','file':_0x4597c1});}));}else'string'===_0x3b9a81['kind']&&/^text\/uri-list/['test'](_0x3b9a81['type'])&&_0x148a65['push'](new Promise(_0x403f64=>{_0x3b9a81['getAsString'](_0x4fbaa1=>{_0x1a4c96['push']({'type':'url','url':_0x4fbaa1}),_0x403f64();});}));}}return Promise['all'](_0x148a65)['then'](()=>_0x1a4c96);}(_0x4ecba4);_0x482524['onItems'](_0x215fc0),_0x19ab08(cj['INACTIVE']);};return _0x466af6['addEventListener']('drop',_0x13a4e4),_0x466af6['addEventListener']('dragleave',_0x593675),_0x466af6['addEventListener']('dragenter',_0xf69071),_0x466af6['addEventListener']('dragover',_0x3a71b4),_0x482524['element']['addEventListener']('drop',_0x26a0a0),lj['forEach'](_0x3fc76d=>{window['addEventListener'](_0x3fc76d,_0x32130c);}),()=>{hj['delete'](_0x482524['element']),_0x466af6['removeEventListener']('drop',_0x13a4e4),_0x466af6['removeEventListener']('dragleave',_0x593675),_0x466af6['removeEventListener']('dragenter',_0xf69071),_0x466af6['removeEventListener']('dragover',_0x3a71b4),_0x482524['element']['removeEventListener']('drop',_0x26a0a0),lj['forEach'](_0x19d3d7=>{window['removeEventListener'](_0x19d3d7,_0x32130c);});};}var dj='uc-drop-area',fj=dj+'/registry',mj=class extends tF{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':cj['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[fj]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x30b201=this['getBoundingClientRect'](),_0x1867f8=_0x30b201['width']>0x0&&_0x30b201['height']>0x0,_0x59d883=_0x30b201['top']>=0x0&&_0x30b201['left']>=0x0&&_0x30b201['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x30b201['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x452b04=window['getComputedStyle'](this),_0x303883='hidden'!==_0x452b04['visibility']&&'none'!==_0x452b04['display'];return _0x1867f8&&_0x303883&&_0x59d883;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][fj]['add'](this),this['defineAccessor']('disabled',_0x437504=>{this['set$']({'isEnabled':!XF(_0x437504)});}),this['defineAccessor']('clickable',_0x24cd54=>{this['set$']({'isClickable':XF(_0x24cd54)});}),this['defineAccessor']('initflow',_0x2570b1=>{this['set$']({'isInitFlow':XF(_0x2570b1)});}),this['defineAccessor']('with-icon',_0x1f437c=>{this['set$']({'withIcon':XF(_0x1f437c)});}),this['defineAccessor']('fullscreen',_0x8b93f1=>{this['set$']({'isFullscreen':XF(_0x8b93f1)});}),this['defineAccessor']('text',_0x1f1559=>{'string'==typeof _0x1f1559?this['bindL10n']('text',()=>this['l10n'](_0x1f1559)||_0x1f1559):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=uj({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x10bb5e=>{this['$']['state']=_0x10bb5e;},'onItems':_0x3acec0=>{_0x3acec0['length']&&(_0x3acec0['forEach'](_0x1eb21e=>{'url'===_0x1eb21e['type']?this['api']['addFileFromUrl'](_0x1eb21e['url'],{'source':fB['DROP_AREA']}):'file'===_0x1eb21e['type']&&this['api']['addFileFromObject'](_0x1eb21e['file'],{'source':fB['DROP_AREA'],'fullPath':_0x1eb21e['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](XU['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':XU['activities']['UPLOAD_LIST']})));}}));const _0x3b62b4=this['ref']['content-wrapper'];if(_0x3b62b4&&(this['_destroyContentWrapperDropzone']=uj({'element':_0x3b62b4,'onChange':_0x1d3ce1=>{const _0x38c625=Object['entries'](cj)['find'](([,_0x59b1e5])=>_0x59b1e5===_0x1d3ce1)?.[0x0]['toLowerCase']();_0x38c625&&_0x3b62b4['setAttribute']('drag-state',_0x38c625);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x274d70=>{const _0x1904ac=Object['entries'](cj)['find'](([,_0x361e6f])=>_0x361e6f===_0x274d70)?.[0x0]['toLowerCase']();_0x1904ac&&this['setAttribute']('drag-state',_0x1904ac);}),this['subConfigValue']('sourceList',_0x566af6=>{const _0xaf2efc=YV(_0x566af6);this['$']['isEnabled']=_0xaf2efc['includes'](fB['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x2e627c=>{this['toggleAttribute']('hidden',!_0x2e627c);}),this['sub']('isClickable',_0x2b5c25=>{this['toggleAttribute']('clickable',_0x2b5c25);}),this['$']['isClickable']){const _0x415182=_0x5867f8=>{if(_0x5867f8 instanceof KeyboardEvent){if('Space'===_0x5867f8['code']||'Enter'===_0x5867f8['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x5867f8 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x415182,this['addEventListener']('keydown',_0x415182),this['addEventListener']('click',_0x415182);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x5cfd0a=this['$'][fj];if(0x0===_0x5cfd0a['size'])return!0x1;return[..._0x5cfd0a]['filter'](_0x550759=>_0x550759!==this)['filter'](_0x385aab=>_0x385aab['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x2c95e6=this['cfg']['multiple'],_0x283921=this['cfg']['multipleMax'],_0x329f6b=this['uploadCollection']['size'];return!(_0x2c95e6&&_0x283921&&_0x329f6b>=_0x283921)&&!(!_0x2c95e6&&_0x329f6b>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x3cf70d=this['$'][fj];_0x3cf70d['delete'](this),0x0===_0x3cf70d['size']&&EQ['deleteCtx'](dj),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};mj['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',mj['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var gj=()=>{const _0x1db84a=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x1db84a['location']['origin'];}catch(_0x395f21){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x395f21),globalThis['location']['origin'];}},pj=_0x537171=>_0x537171['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),Oj=(_0x1d365a,_0x1e998d='i')=>{const _0x1526e4=_0x1d365a['split']('*')['map'](pj);return new RegExp('^'+_0x1526e4['join']('.+')+'$',_0x1e998d);},wj=['--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'],bj=(_0x353e6a,_0x576906)=>window['getComputedStyle'](_0x353e6a)['getPropertyValue'](_0x576906)['trim'](),yj=_0xf6704=>{const _0x2c301d={};for(const _0x488bf1 of wj){const _0x3b3117=bj(_0xf6704,_0x488bf1);_0x3b3117&&(_0x2c301d[_0x488bf1]=_0x3b3117);}return _0x2c301d;},_j=['selected-files-change','toolbar-state-change'],vj=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x47a69c,_0x5070ff){this['_context']=_0x47a69c,this['_getTargetOrigin']=_0x5070ff,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x2d87e5=>{if(_0x2d87e5['source']!==this['_context'])return;const _0x230298=_0x2d87e5['data'];if(!(_0x207742=>{if(!_0x207742)return!0x1;if('object'!=typeof _0x207742)return!0x1;if(!('type'in _0x207742))return!0x1;const _0x46e3fc=_0x207742['type'];return'string'==typeof _0x46e3fc&&!!_j['includes'](_0x46e3fc);})(_0x230298))return;const _0x8a6180=this['_handlerMap']['get'](_0x230298['type']);if(_0x8a6180){for(const _0x44bce3 of _0x8a6180)_0x44bce3(_0x230298);}};['on'](_0x20efc7,_0x1e6970){const _0x6527f=this['_handlerMap']['get'](_0x20efc7)??new Set();this['_handlerMap']['has'](_0x20efc7)||this['_handlerMap']['set'](_0x20efc7,_0x6527f),_0x6527f['add'](_0x1e6970);}['send'](_0x2421a4){const _0x41a523=this['_getTargetOrigin']();this['_context']['postMessage'](_0x2421a4,_0x41a523);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}},Tj={[uB['GDRIVE']]:'ngdrive'},Ej=class extends tF{['couldBeCtxOwner']=!0x0;['activityType']=XU['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 _0x81db6 of this['$']['selectedList']){const _0x20edb7=this['extractUrlFromSelectedFile'](_0x81db6),{filename:_0x33b23a}=_0x81db6,{externalSourceType:_0x10bb82}=this['activityParams'];this['api']['addFileFromUrl'](_0x20edb7,{'fileName':_0x33b23a,'source':_0x10bb82});}this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](XU['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0x3422c8=super['activityParams'];if('externalSourceType'in _0x3422c8)return _0x3422c8;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0xa39084}=this['activityParams'];if(!_0xa39084)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':''+_0xa39084[0x0]?.['toUpperCase']()+_0xa39084?.['slice'](0x1),'activityIcon':_0xa39084}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x2c2112=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x5795ec=>{_0x5795ec!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x357454=>{this['$']['showSelectionStatus']=_0x357454;}),this['subConfigValue']('localeName',_0x2e8102=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x2b53bd=>{this['applyEmbedCss'](_0x2b53bd);});}['extractUrlFromSelectedFile'](_0x4d06a4){if(_0x4d06a4['alternatives']){const _0x46c940=YV(this['cfg']['externalSourcesPreferredTypes']);for(const _0x45a5cd of _0x46c940){const _0x39a809=Oj(_0x45a5cd);for(const [_0x2e8d21,_0x40b5f0]of Object['entries'](_0x4d06a4['alternatives']))if(_0x39a809['test'](_0x2e8d21))return _0x40b5f0;}}return _0x4d06a4['url'];}['handleToolbarStateChange'](_0x56ea65){this['set$']({'toolbarVisible':_0x56ea65['isVisible']});}async['handleSelectedFilesChange'](_0x40faf6){this['cfg']['multiple']===_0x40faf6['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x40faf6['selectedCount'],'total':_0x40faf6['total']})),this['set$']({'doneBtnTextClass':_0x40faf6['isReady']?'':'uc-hidden','isSelectionReady':_0x40faf6['isReady'],'isDoneBtnEnabled':_0x40faf6['isReady']&&_0x40faf6['selectedFiles']['length']>0x0,'showSelectionStatus':_0x40faf6['isMultipleMode']&&_0x40faf6['total']>0x0,'couldSelectAll':_0x40faf6['selectedCount']<_0x40faf6['total'],'couldDeselectAll':_0x40faf6['selectedCount']===_0x40faf6['total'],'selectedList':_0x40faf6['selectedFiles'],'showDoneBtn':_0x40faf6['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':yj(this)});}['applyEmbedCss'](_0x299f17){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x299f17});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x343233,remoteTabSessionKey:_0x1e3d7f,socialBaseUrl:_0x5f18e9,multiple:_0x339ea6}=this['cfg'],{externalSourceType:_0x40455b}=this['activityParams'],_0x179a86=Tj[_0x40455b]??_0x40455b,_0x1b2065={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x343233,'images_only':(!0x1)['toString'](),'session_key':_0x1e3d7f,'wait_for_theme':!0x0,'multiple':_0x339ea6['toString'](),'origin':this['cfg']['topLevelOrigin']||gj(),'debug':this['cfg']['debug']},_0x5782c0=new URL('/window4/'+_0x179a86,_0x5f18e9);return _0x5782c0['search']=function(_0x4a9c67){const _0x478925=[];for(const [_0x33d203,_0x2716de]of Object['entries'](_0x4a9c67))null==_0x2716de||'string'==typeof _0x2716de&&0x0===_0x2716de['length']||_0x478925['push'](_0x33d203+'='+encodeURIComponent(_0x2716de));return _0x478925['join']('&');}(_0x1b2065),_0x5782c0['toString']();}['mountIframe'](){const _0x242074=jQ({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x242074['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x242074),_0x242074['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new vj(_0x242074['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});}};Ej['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 Aj=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,Ij=class extends tF{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x55f1c5){return(..._0x28e423)=>{const _0x85b11f=this['_entry'];if(_0x85b11f)return _0x55f1c5(_0x85b11f,..._0x28e423);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x2f6b31,_0x12a63c){this['_withEntry']((_0x465e46,_0x1a91eb,_0x4a39bb)=>{const _0x119994=_0x465e46['subscribe'](_0x1a91eb,_0x3c2e43=>{this['isConnected']&&_0x4a39bb(_0x3c2e43);});this['_entrySubs']['add'](_0x119994);})(_0x2f6b31,_0x12a63c);}['_reset'](){for(const _0x3d9ad9 of this['_entrySubs'])_0x3d9ad9['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},Sj=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')}),Cj=class extends HU{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x2b70a3=>{if(!_0x2b70a3)return;let _0x5424db='#uc-icon-'+_0x2b70a3;this['subConfigValue']('iconHrefResolver',_0x36fffb=>{if(_0x36fffb){const _0x406d58=_0x36fffb(_0x2b70a3);_0x5424db=_0x406d58??_0x5424db;}this['$']['href']=_0x5424db;});}),this['setAttribute']('aria-hidden','true');}};Cj['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',Cj['bindAttributes']({'name':'name'});var kj='--uc-img-',xj='unresolved',Rj=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),Pj=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),Mj=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}}),Nj=Object['create'](null);for(const e in Mj)Nj[kj+e]=Mj[e]?.['default']||'';var Lj=class extends BQ{['cssInit$']=Nj;['$$'](_0x4a2b08){return this['$'][kj+_0x4a2b08];}['set$$'](_0x16c1b0){for(const _0x4038af in _0x16c1b0)this['$'][kj+_0x4038af]=_0x16c1b0[_0x4038af];}['sub$$'](_0x1b8fc3,_0x50bd0e){this['sub'](kj+_0x1b8fc3,_0x29d710=>{null!==_0x29d710&&''!==_0x29d710&&_0x50bd0e(_0x29d710);});}['analyticsParams'](){return'-/@clib/'+VU+'/'+UU+'/uc-img/';}['initAttributes'](_0x52bffd){[...this['attributes']]['forEach'](_0x4d57d7=>{Mj[_0x4d57d7['name']]||_0x52bffd['setAttribute'](_0x4d57d7['name'],_0x4d57d7['value']);});}['initIntersection'](_0x2287fe,_0x281033){this['_isnObserver']=new IntersectionObserver(_0x55cbb7=>{_0x55cbb7['forEach'](_0x569743=>{_0x569743['isIntersecting']&&(_0x281033(),this['_isnObserver']['unobserve'](_0x2287fe));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x2287fe),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x2287fe);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x4c9f76=>{this['_isnObserver']['unobserve'](_0x4c9f76);}),this['_isnObserver']=null),EQ['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](Mj);}['attributeChangedCallback'](_0x2bc47b,_0x11886b,_0x2622db){window['setTimeout'](()=>{this['$'][kj+_0x2bc47b]=_0x2622db;});}},Dj=class extends Lj{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x546fbe){return!_0x546fbe['includes']('//')&&!Rj&&(_0x546fbe=new URL(_0x546fbe,document['baseURI'])['href']),_0x546fbe;}['_validateSize'](_0x4e37ce){if(''!==_0x4e37ce?.['trim']()){const _0x339701=_0x4e37ce['match'](/\d+/)[0x0],_0x3c1dd4=_0x4e37ce['match'](/[a-zA-Z]+/)[0x0],_0x55429b=parseInt(_0x339701,0xa);if(Number(_0x55429b)>0x1388&&this['hasFormatJPG'])return 0x1388+_0x3c1dd4;if(Number(_0x55429b)>0xbb8&&!this['hasFormatJPG'])return 0xbb8+_0x3c1dd4;}return _0x4e37ce;}['_getCdnModifiers'](_0x5f163e,_0x35104c){const _0x1d98f2={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x5f163e),'blur':_0x35104c,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return BV(...(_0x4898b4=>Object['entries'](_0x4898b4)['filter'](([_0x52e5c2,_0x4208ee])=>void 0x0!==_0x4208ee&&''!==_0x4208ee)['map'](([_0x3cf00b,_0x5c31aa])=>'cdn-operations'===_0x3cf00b||'analytics'===_0x3cf00b?_0x5c31aa:_0x3cf00b+'/'+_0x5c31aa))(_0x1d98f2));}['_getUrlBase'](_0x19e066='',_0x37b1da=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(Rj&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x56ec10=this['_getCdnModifiers'](_0x19e066,_0x37b1da);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?WV(this['$$']('src'),_0x56ec10):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](WV(zV(this['$$']('cdn-cname'),this['$$']('uuid')),_0x56ec10)):this['$$']('proxy-cname')?this['_proxyUrl'](WV(this['$$']('proxy-cname'),_0x56ec10,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](WV('https://'+this['$$']('pubkey')+'.ucr.io/',_0x56ec10,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x17e095){return this['$$']('secure-delivery-proxy')?_U(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x17e095},{'transform':_0x1cffd8=>window['encodeURIComponent'](_0x1cffd8)}):_0x17e095;}['_getElSize'](_0x7c61e9,_0x289e6f=0x1,_0x47420b=!0x0){const _0x312358=_0x7c61e9['getBoundingClientRect'](),_0x2653e5=_0x289e6f*Math['round'](_0x312358['width']),_0x1e85a6=_0x47420b?'':_0x289e6f*Math['round'](_0x312358['height']);return _0x2653e5||_0x1e85a6?(_0x2653e5||'')+'x'+(_0x1e85a6||''):null;}['_setupEventProxy'](_0x50faa4){const _0x5a5d4c=_0x301763=>{_0x301763['stopPropagation']();const _0x4512fa=new Event(_0x301763['type'],_0x301763);this['dispatchEvent'](_0x4512fa);},_0x57dea2=['load','error'];for(const _0x4c8613 of _0x57dea2)_0x50faa4['addEventListener'](_0x4c8613,_0x5a5d4c);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':Pj['PREVIEW'],'img':this['_imgPreview']}:{'type':Pj['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x360fb1=YV(this['$$']('breakpoints'));return _0x2f7c32=_0x360fb1['map'](_0x5f36a2=>parseInt(_0x5f36a2,0xa)),[...new Set(_0x2f7c32)];}return null;var _0x2f7c32;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x2f1955){const _0x4670d7=new Set();_0x4670d7['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2f1955))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x4670d7['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2f1955,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x4670d7['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2f1955,0x3))+'\x22)\x203x');const _0x59076b='image-set('+[..._0x4670d7]['join'](',\x20')+')';_0x2f1955['style']['setProperty']('background-image',_0x59076b),_0x2f1955['style']['setProperty']('background-image','-webkit-'+_0x59076b);}['getSrcset'](){const _0x2118ab=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x1c3a39=>{_0x2118ab['add'](this['_getUrlBase'](_0x1c3a39+'x')+('\x20'+this['_validateSize'](_0x1c3a39+'w'))),this['$$']('hi-res-support')&&_0x2118ab['add'](this['_getUrlBase'](0x2*_0x1c3a39+'x')+('\x20'+this['_validateSize'](0x2*_0x1c3a39+'w'))),this['$$']('ultra-res-support')&&_0x2118ab['add'](this['_getUrlBase'](0x3*_0x1c3a39+'x')+('\x20'+this['_validateSize'](0x3*_0x1c3a39+'w')));}):(_0x2118ab['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x2118ab['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x2118ab['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x2118ab]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x488d5d=>{this['$$']('intersection')?this['initIntersection'](_0x488d5d,()=>{this['renderBg'](_0x488d5d);}):this['renderBg'](_0x488d5d);});}['_appendURL']({elNode:_0x371d59,src:_0x52833e,srcset:_0x434742}){_0x52833e&&(_0x371d59['src']=_0x52833e),_0x434742&&(_0x371d59['srcset']=_0x434742);}['_setupConfigForImage']({elNode:_0x4aed62}){this['_setupEventProxy'](_0x4aed62),this['initAttributes'](_0x4aed62);}['loaderImage']({src:_0x4c1cbd,srcset:_0x424fec,elNode:_0x4e8179}){return new Promise((_0x287307,_0x3669a1)=>{this['_setupConfigForImage']({'elNode':_0x4e8179}),_0x4e8179['setAttribute'](xj,''),_0x4e8179['addEventListener']('load',()=>{_0x4e8179['removeAttribute'](xj),_0x287307(_0x4e8179);}),_0x4e8179['addEventListener']('error',()=>{_0x3669a1(!0x1);}),this['_appendURL']({'elNode':_0x4e8179,'src':_0x4c1cbd,'srcset':_0x424fec});});}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(_0x44feba){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(_0x73df1c){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},Qj=null,$j=class extends HU{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']=_0x2c6a13=>{this['_mouseDownTarget']=_0x2c6a13['target'];};['_handleDialogMouseUp']=_0x59502f=>{const _0x3765e9=_0x59502f['target'];_0x3765e9===this['ref']['dialog']&&_0x3765e9===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x54a182=this['ref']['dialog'];'function'==typeof _0x54a182['showModal']?(this['setAttribute']('aria-modal','true'),_0x54a182['showModal']()):_0x54a182['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x3dbf73=this['ref']['dialog'];'function'==typeof _0x3dbf73['close']?(this['setAttribute']('aria-modal','false'),_0x3dbf73['close']()):_0x3dbf73['removeAttribute']('open');}['_handleModalOpen']({id:_0xff817f}){_0xff817f===this['id']?(Qj=_0xff817f,this['show'](),this['emit'](NV['MODAL_OPEN'],{'modalId':_0xff817f},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x527000}){_0x527000===this['id']&&(this['hide'](),this['emit'](NV['MODAL_CLOSE'],{'modalId':_0x527000,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x1d0f9c){this['hide'](),Qj===this['id']&&this['emit'](NV['MODAL_CLOSE'],{'modalId':Qj,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x4e7197=this['ref']['dialog'];_0x4e7197['addEventListener']('close',this['_handleDialogClose']),_0x4e7197['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x4e7197['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x317d9e=>{_0x317d9e?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'](QU['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](QU['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](QU['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x48a3eb=this['ref']['dialog'];_0x48a3eb['removeEventListener']('close',this['_handleDialogClose']),_0x48a3eb['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x48a3eb['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](QU['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](QU['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](QU['CLOSE_ALL'],this['handleModalCloseAll']);}};$j['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var Vj=class extends HU{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0xeac138=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0xeac138['classList']['add']('uc-fake-progress--hidden'):_0xeac138['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x45e414=>{null!=_0x45e414&&(this['_value']=_0x45e414,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x22b21c=>{this['_visible']=_0x22b21c,this['classList']['toggle']('uc-progress-bar--hidden',!_0x22b21c);}));}};Vj['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 Uj=class extends tF{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0xd229cc=this['uploadCollection']['items']()['some'](_0x4efd2c=>{const _0x332194=this['uploadCollection']['read'](_0x4efd2c);return _0x332194?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0xd229cc;}),this['sub']('visible',_0x1ff58f=>{_0x1ff58f?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x472089=>{this['$']['value']=_0x472089;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};Uj['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Bj=class extends HU{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x170c61=>{_0x170c61['preventDefault'](),_0x170c61['stopPropagation']();const _0xb98d52=this['ref']['select'];this['value']=_0xb98d52['value'],this['$']['currentText']=this['$']['options']['find'](_0x7b33c7=>_0x7b33c7['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x44cd9d=>{this['$']['currentText']=_0x44cd9d?.[0x0]?.['text']||'';let _0x4ffeef='';_0x44cd9d?.['forEach'](_0x14199e=>{_0x4ffeef+='<option\x20value=\x22'+_0x14199e['value']+'\x22>'+_0x14199e['text']+'</option>';}),this['$']['selectHtml']=_0x4ffeef;});}};Bj['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var Fj=class extends tF{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',_0x33f64a=>{void 0x0!==_0x33f64a&&(this['$']['withDropZone']=XF(_0x33f64a));}),this['subConfigValue']('multiple',_0xd035e0=>{this['$']['button-text']=_0xd035e0?'upload-files':'upload-file';});}};Fj['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',Fj['bindAttributes']({'dropzone':null});var jj=class extends tF{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':fB['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':fB['URL'],'activity':XU['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':fB['CAMERA'],'activity':XU['activities']['CAMERA'],'activate':()=>{const _0x3b1195=yB['htmlMediaCapture'];return _0x3b1195&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x3b1195;}}),this['registerType']({'type':'draw','activity':XU['activities']['DRAW'],'icon':'edit-draw'});for(const _0x40a0e4 of Object['values'](dB))this['registerType']({'type':_0x40a0e4,'activity':XU['activities']['CAMERA'],'activate':()=>{const _0x3758a5=yB['htmlMediaCapture'];return _0x3758a5&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x40a0e4?HB['PHOTO']:HB['VIDEO']}),!_0x3758a5;}});for(const _0xc0ca37 of Object['values'](uB))this['registerType']({'type':_0xc0ca37,'activity':XU['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0xc0ca37}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x1af82e=>{_0x1af82e&&this['applyType'](_0x1af82e);});}['registerType'](_0x288bee){this['_registeredTypes'][_0x288bee['type']]=_0x288bee;}['getType'](_0x182278){return this['_registeredTypes'][_0x182278];}['activate'](){if(!this['type'])return;const _0x1a3d9f=this['_registeredTypes'][this['type']];if(!_0x1a3d9f)return;const {activity:_0x54578c,activate:_0x3b7cfe,activityParams:_0x59b85b={}}=_0x1a3d9f;(_0x3b7cfe?_0x3b7cfe():!!_0x54578c)&&_0x54578c&&(this['modalManager']?.['open'](_0x54578c),this['set$']({'*currentActivityParams':_0x59b85b,'*currentActivity':_0x54578c}));}['applyType'](_0x3f6513){const _0x4e8495=this['_registeredTypes'][_0x3f6513];if(!_0x4e8495)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x3f6513);const {textKey:_0x3c2ffd=_0x3f6513,icon:_0x28f388=_0x3f6513}=_0x4e8495;this['$']['src-type']='src-type-'+_0x3c2ffd,this['$']['iconName']=_0x28f388,this['onclick']=()=>{this['activate']();};}};jj['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',jj['bindAttributes']({'type':null});var Hj=class extends BQ{};Hj['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var Gj=class extends XU{['historyTracked']=!0x0;['activityType']=XU['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function Zj(_0x3570ff,_0x547626=0x28){if('image/svg+xml'===_0x3570ff['type'])return URL['createObjectURL'](_0x3570ff);const _0x36c4f5=document['createElement']('canvas'),_0x3f147b=_0x36c4f5['getContext']('2d');if(!_0x3f147b)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x3c412b=new Image(),_0x3ff6d6=new Promise((_0x44944a,_0x46c639)=>{_0x3c412b['onload']=()=>{const _0x51de2f=_0x3c412b['height']/_0x3c412b['width'];_0x51de2f>0x1?(_0x36c4f5['width']=_0x547626,_0x36c4f5['height']=_0x547626*_0x51de2f):(_0x36c4f5['height']=_0x547626,_0x36c4f5['width']=_0x547626/_0x51de2f),_0x3f147b['fillStyle']='rgb(240,\x20240,\x20240)',_0x3f147b['fillRect'](0x0,0x0,_0x36c4f5['width'],_0x36c4f5['height']),_0x3f147b['drawImage'](_0x3c412b,0x0,0x0,_0x36c4f5['width'],_0x36c4f5['height']),_0x36c4f5['toBlob'](_0x376a77=>{if(!_0x376a77)return void _0x46c639();const _0xd1e113=URL['createObjectURL'](_0x376a77);_0x44944a(_0xd1e113);});},_0x3c412b['onerror']=_0x1e3b94=>{_0x46c639(_0x1e3b94);};});return _0x3c412b['src']=URL['createObjectURL'](_0x3570ff),_0x3ff6d6;}function Xj(_0x31ab6c='hsl(209,\x2021%,\x2065%)',_0x4ded53=0x20,_0x555efa=0x20){return function(_0x542b5b){const _0x3c9288=new Blob([_0x542b5b],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x3c9288);}('\x0a\x20\x20<svg\x20width=\x22'+_0x4ded53+'\x22\x20height=\x22'+_0x555efa+'\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'+_0x31ab6c+'\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');}Gj['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var qj=class extends Ij{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x18eb3a=!0x1){_0x18eb3a&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x393e5c=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x393e5c*=window['devicePixelRatio']),Math['min'](_0x393e5c,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'](WV(zV(this['cfg']['cdnCname'],r),BV(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:s}=wF(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 Zj(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',Xj(s));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await Zj(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',Xj(s));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',Xj(i));}});['_debouncedGenerateThumb']=DV(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x40648c){const [_0x2eb555]=_0x40648c;_0x2eb555&&(this['_isIntersecting']=_0x2eb555['isIntersecting'],_0x2eb555['isIntersecting']&&(this['_thumbRect']=_0x2eb555['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x2eb555['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x55df64){this['_reset']();const _0x5b1b20=this['uploadCollection']?.['read'](_0x55df64);this['_entry']=_0x5b1b20,_0x5b1b20&&(this['_subEntry']('fileInfo',_0xa335a6=>{_0xa335a6?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x5bde33=>{this['$']['thumbUrl']=_0x5bde33?'url('+_0x5bde33+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x52467f=>{this['$']['badgeIcon']=_0x52467f;}),this['defineAccessor']('uid',_0x540ab3=>{this['set$']({'uid':_0x540ab3});}),this['sub']('uid',_0x2a0507=>{this['_handleEntryId'](_0x2a0507);}),this['subConfigValue']('filesViewMode',_0xcf0877=>{'grid'!==_0xcf0877||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']();}};qj['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',qj['bindAttributes']({'badgeIcon':null,'uid':null});var Wj=class extends tF{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=XU['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':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](NV['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](NV['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=EF(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x3762fb=this['api']['getOutputCollectionState'](),_0xd269e8={'total':_0x3762fb['totalCount'],'succeed':_0x3762fb['successCount'],'uploading':_0x3762fb['uploadingCount'],'failed':_0x3762fb['failedCount'],'validatingBeforeUploading':_0x3762fb['idleEntries']['filter'](_0x4d6e9c=>_0x4d6e9c['isValidationPending'])['length']},_0x12225b=!_0x3762fb['errors']['some'](_0x4c94c0=>'TOO_MANY_FILES'===_0x4c94c0['type']||'TOO_FEW_FILES'===_0x4c94c0['type']),_0x331a69=_0x3762fb['errors']['some'](_0x1d2a2b=>'TOO_MANY_FILES'===_0x1d2a2b['type']),_0x3a6ab9=_0x3762fb['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x106b2f=_0x3762fb['allEntries']['some'](_0x196069=>_0x196069['isValidationPending']),_0xc2aded=0x0===_0xd269e8['failed']&&0x0===_0x3762fb['errors']['length']&&!_0x106b2f;let _0x24db89=!0x1,_0x41986e=!0x1,_0x37f11a=!0x1;if(_0xd269e8['total']-_0xd269e8['succeed']-_0xd269e8['uploading']-_0xd269e8['failed']>0x0&&_0x12225b&&_0xc2aded)_0x24db89=!0x0;else{_0x41986e=!0x0;const _0x2afef0=!this['cfg']['groupOutput']||!!_0x3762fb['group'];_0x37f11a=_0xd269e8['total']===_0xd269e8['succeed']&&_0x12225b&&_0xc2aded&&_0x2afef0;}this['set$']({'doneBtnVisible':_0x41986e,'doneBtnEnabled':_0x37f11a,'uploadBtnVisible':_0x24db89,'addMoreBtnEnabled':0x0===_0xd269e8['total']||!_0x331a69&&!_0x3a6ab9,'addMoreBtnVisible':!_0x3a6ab9||this['cfg']['multiple'],'hasFiles':_0xd269e8['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0xd269e8));}['_getHeaderText'](_0x29c7d1){const _0x5e959b=_0x432c97=>{let _0x57a596=_0x29c7d1[_0x432c97];return'uploading'===_0x432c97&&(_0x57a596+=_0x29c7d1['validatingBeforeUploading']),this['l10n']('header-'+_0x432c97,{'count':_0x57a596});};return _0x29c7d1['uploading']>0x0||_0x29c7d1['validatingBeforeUploading']>0x0?_0x5e959b('uploading'):_0x29c7d1['failed']>0x0?_0x5e959b('failed'):_0x29c7d1['succeed']>0x0?_0x5e959b('succeed'):_0x5e959b('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',_0x2d204b=>{_0x2d204b&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x483aab=>{this['setAttribute']('mode',_0x483aab);}),this['sub']('*currentActivity',_0x12d268=>{this['couldOpenActivity']||_0x12d268!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x114ebf=>{const _0xcc7142=_0x114ebf['filter'](_0x508a68=>'SOME_FILES_HAS_ERRORS'!==_0x508a68['type'])[0x0];_0xcc7142?this['set$']({'commonErrorMessage':_0xcc7142['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};Wj['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 zj=class extends tF{['couldBeCtxOwner']=!0x0;['activityType']=XU['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x5c4eb6=>{_0x5c4eb6['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x39e391=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x39e391,{'source':fB['URL']}),this['modalManager']?.['open'](XU['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x14a6bd=>{const _0x5a6fa4=_0x14a6bd['target']?.['value']??'';this['set$']({'importDisabled':!_0x5a6fa4});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0xa3b0a4=this['ref']['input'];_0xa3b0a4['value']='',_0xa3b0a4['focus']();}});}};zj['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 Yj=class extends dF{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':MV['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},Kj=class extends zU{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x27a965=this['$']['*historyBack'];return void _0x27a965?.();}this['couldShowList']&&(this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x55e84d=this['$']['*history'];return!(!_0x55e84d||_0x55e84d['length']<=0x1)&&_0x55e84d[_0x55e84d['length']-0x1]!==XU['activities']['START_FROM'];}get['couldShowList'](){const _0x47e519=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x47e519)&&_0x47e519['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':MV['INIT_SOLUTION']});const _0x3f18dd=this['ref']['uBlock'];_0x3f18dd&&(this['sub']('*currentActivity',_0x3fb743=>{_0x3fb743||(this['$']['*currentActivity']=_0x3f18dd['initActivity']||XU['activities']['START_FROM']);}),this['sub']('*uploadList',_0x1e89c4=>{Array['isArray'](_0x1e89c4)&&_0x1e89c4['length']>0x0&&this['$']['*currentActivity']===(_0x3f18dd['initActivity']||XU['activities']['START_FROM'])&&(this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};Kj['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 Jj='active',tH=class extends zU{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'](_0x3751c7){_0x3751c7['id']===XU['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':Jj}),this['$']['*currentActivity']===XU['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':Jj,'isHiddenStartFrom':!0x0});const _0x371328=this['$']['*uploadList'];(!_0x371328||_0x371328['length']<=0x0)&&this['set$']({'classStartFrom':Jj});}['_handleModalClose'](_0x428b2d){_0x428b2d['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x428b2d['id']===XU['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':MV['INIT_SOLUTION']});const _0x4cefb9=this['ref']['uBlock'];_0x4cefb9&&(this['sub']('*currentActivity',_0x57c8b6=>{_0x57c8b6===XU['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x57c8b6||(this['$']['*currentActivity']=_0x4cefb9['initActivity']||XU['activities']['START_FROM']);}),this['sub']('*uploadList',_0x2439ef=>{Array['isArray'](_0x2439ef)&&_0x2439ef['length']>0x0?(this['$']['*currentActivity']=XU['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':''})):(this['set$']({'classUploadList':'','isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x4cefb9['initActivity']||XU['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x17a3e8=>{!0x1!==_0x17a3e8&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x5d96c9=>{this['setAttribute']('mode',_0x5d96c9),this['subConfigValue']('multiple',_0x4a4232=>{'grid'===_0x5d96c9?(_0x4a4232?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x4a4232):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x1f632c=>{this['_handleModalOpen'](_0x1f632c);},this['handleModalClose']=_0x22a69c=>{this['_handleModalClose'](_0x22a69c);},this['modalManager']?.['subscribe'](QU['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](QU['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](QU['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](QU['CLOSE'],this['handleModalClose']);}};tH['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 eH=class extends zU{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x3488fa={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x3488fa;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':MV['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x246b90=>{this['set$']({'isHidden':XF(_0x246b90)});});}};eH['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',eH['bindAttributes']({'headless':null});var iH=Object['freeze']({'__proto__':null,'ActivityBlock':XU,'ActivityHeader':class extends XU{},'BaseComponent':BQ,'Block':HU,'BtnUi':PF,'CameraSource':oF,'CloudImageEditor':Yj,'CloudImageEditorActivity':class extends tF{['couldBeCtxOwner']=!0x0;['activityType']=XU['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x3c3552=super['activityParams'];if('internalId'in _0x3c3552)return _0x3c3552;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',_0x375762=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x375762&&this['_instance']['setAttribute']('crop-preset',_0x375762);}),this['subConfigValue']('cloudImageEditorTabs',_0x492f65=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x492f65&&this['_instance']['setAttribute']('tabs',_0x492f65);});}['handleApply'](_0x81d66e){if(!this['_entry'])return;const _0x25c252=_0x81d66e['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x25c252['cdnUrl'],'cdnUrlModifiers':_0x25c252['cdnUrlModifiers']}),this['modalManager']?.['close'](XU['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](XU['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0x38e17c}=this['activityParams'],_0x43c893=this['uploadCollection']['read'](_0x38e17c);if(!_0x43c893)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x38e17c+'\x22\x20not\x20found');this['_entry']=_0x43c893;const _0x31e230=this['_entry']['getValue']('cdnUrl');if(!_0x31e230)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x38e17c+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x57b3f7=new dF(),_0x3376d1=this['cfg']['cropPreset'],_0x39d4e1=this['cfg']['cloudImageEditorTabs'];_0x57b3f7['setAttribute']('ctx-name',this['ctxName']),_0x57b3f7['setAttribute']('cdn-url',_0x31e230),_0x3376d1&&_0x57b3f7['setAttribute']('crop-preset',_0x3376d1),_0x39d4e1&&_0x57b3f7['setAttribute']('tabs',_0x39d4e1),_0x57b3f7['addEventListener']('apply',_0x89708d=>{const _0xbffa21=_0x89708d;this['handleApply'](_0xbffa21),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0xbffa21['detail']);}),_0x57b3f7['addEventListener']('cancel',_0x163b05=>{const _0x3531db=_0x163b05;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x3531db['detail']);}),_0x57b3f7['addEventListener']('change',_0x1f9099=>{const _0x377f12=_0x1f9099;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x377f12['detail']);}),this['innerHTML']='',this['appendChild'](_0x57b3f7),this['_instance']=_0x57b3f7;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},'CloudImageEditorBlock':dF,'Config':rj,'Copyright':class extends HU{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x33c6ce=>{this['toggleAttribute']('hidden',!!_0x33c6ce);});}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':fF,'Data':EQ,'DropArea':mj,'EditorAspectRatioButtonControl':pF,'EditorCropButtonControl':OF,'EditorFilterControl':TF,'EditorFreeformButtonControl':gF,'EditorImageCropper':IF,'EditorImageFader':class extends HU{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=DV(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x31d813){const _0x437e1f=this['_operation'],_0x1731d4=this['$']['*loadingOperations'];_0x1731d4['has'](_0x437e1f)||_0x1731d4['set'](_0x437e1f,new Map());const _0x55370b=_0x1731d4['get'](_0x437e1f);return _0x55370b&&!_0x55370b['get'](_0x31d813)&&(_0x55370b['set'](_0x31d813,!0x0),this['$']['*loadingOperations']=_0x1731d4),()=>{const _0x3233c5=_0x1731d4['get'](_0x437e1f);_0x3233c5?.['has'](_0x31d813)&&(_0x3233c5['delete'](_0x31d813),this['$']['*loadingOperations']=_0x1731d4);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x18400e of this['_keypoints']){const {image:_0x542acc}=_0x18400e;_0x542acc&&(_0x542acc['style']['opacity']=_0x18400e['opacity']['toString'](),_0x542acc['style']['zIndex']=_0x18400e['zIndex']['toString']());}});}['_imageSrc']({url:_0x54075c=this['_url'],filter:_0x301cac=this['_filter']??void 0x0,operation:_0x359f4a,value:_0x4f53e2}={}){if(!_0x54075c)throw new Error('URL\x20is\x20not\x20defined');const _0x144656={...this['_transformations']};_0x359f4a&&('filter'===_0x359f4a?_0x301cac&&'number'==typeof _0x4f53e2&&(_0x144656['filter']={'name':_0x301cac,'amount':_0x4f53e2}):'number'==typeof _0x4f53e2&&(_0x144656[_0x359f4a]=_0x4f53e2));const _0x4ceb35=this['offsetWidth'];return this['proxyUrl'](AF(_0x54075c,_0x4ceb35,_0x144656));}async['_constructKeypoint'](_0x21d9d4,_0x49a61b){return{'src':await this['_imageSrc']({'operation':_0x21d9d4,'value':_0x49a61b}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x49a61b};}['_isSame'](_0x5daea1,_0x1f1941){return this['_operation']===_0x5daea1&&this['_filter']===_0x1f1941;}async['_addKeypoint'](_0x5dbe2a,_0x2c1f42,_0x899787){const _0x12271c=()=>!this['_isSame'](_0x5dbe2a,_0x2c1f42)||this['_value']!==_0x899787||!!this['_keypoints']['find'](_0x21415b=>_0x21415b['value']===_0x899787);if(_0x12271c())return;const _0x2294f4=await this['_constructKeypoint'](_0x5dbe2a,_0x899787),_0x225580=new Image();_0x225580['src']=_0x2294f4['src'];const _0x312593=this['_handleImageLoading'](_0x2294f4['src']);_0x225580['addEventListener']('load',_0x312593,{'once':!0x0}),_0x225580['addEventListener']('error',_0x312593,{'once':!0x0}),_0x2294f4['image']=_0x225580,_0x225580['classList']['add']('uc-fader-image'),_0x225580['addEventListener']('load',()=>{if(_0x12271c())return;const _0x2cc184=this['_keypoints'];let _0x4531b3=_0x2cc184['findIndex'](_0xc8544c=>_0xc8544c['value']>_0x899787);-0x1===_0x4531b3&&(_0x4531b3=_0x2cc184['length']);const _0x4ac087=_0x2cc184[_0x4531b3],_0x521c4c=_0x4ac087?.['image'],_0x59006d=this['_container'];!_0x59006d||_0x521c4c&&!_0x59006d['contains'](_0x521c4c)||(_0x2cc184['splice'](_0x4531b3,0x0,_0x2294f4),_0x521c4c&&_0x59006d['insertBefore'](_0x225580,_0x521c4c),this['_update'](_0x5dbe2a,_0x899787));},{'once':!0x0}),_0x225580['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x58edd1){const _0x5b9315='string'==typeof _0x58edd1?parseInt(_0x58edd1,0xa):_0x58edd1;(function(_0x2a14d7){return'string'==typeof _0x2a14d7&&_0x2a14d7 in dU;}(this['_operation'])&&Number['isFinite'](_0x5b9315)&&(this['_update'](this['_operation'],_0x5b9315),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x5b9315)));}['_update'](_0x3f0268,_0x57da3f){this['_operation']=_0x3f0268,this['_value']=_0x57da3f;const {zero:_0x102ceb}=dU[_0x3f0268],_0x5c15c4=this['_keypoints']['map'](_0x3a0669=>_0x3a0669['value']),_0x150de3=function(_0x265294,_0x7e5ff9,_0xc3ba1c){const _0x555f64=function(_0xb55f75){const _0x264323=[];for(let _0x3b27ec=0x0;_0x3b27ec<_0xb55f75['length']-0x1;_0x3b27ec+=0x1){const _0x485137=_0xb55f75[_0x3b27ec],_0x356e5b=_0xb55f75[_0x3b27ec+0x1];'number'==typeof _0x485137&&'number'==typeof _0x356e5b&&_0x264323['push']([_0x485137,_0x356e5b]);}return _0x264323;}(_0x265294)['find'](([_0x56eebd,_0x35c23d])=>_0x56eebd<=_0x7e5ff9&&_0x7e5ff9<=_0x35c23d);if(!_0x555f64)return _0x265294['map'](()=>0x0);const [_0x4a9356,_0x3d7e10]=_0x555f64;return _0x265294['map'](_0x589b8b=>{const _0x1bf5d8=Math['abs'](_0x4a9356-_0x3d7e10)||0x1,_0x2cadcc=Math['abs'](_0x7e5ff9-_0x4a9356)/_0x1bf5d8;return _0x4a9356===_0x589b8b?_0x7e5ff9>_0xc3ba1c?0x1:0x1-_0x2cadcc:_0x3d7e10===_0x589b8b?_0x7e5ff9>=_0xc3ba1c?_0x2cadcc:0x1:0x0;});}(_0x5c15c4,_0x57da3f,_0x102ceb),_0x47d389=function(_0x1b54b1,_0x129cfa){return _0x1b54b1['map']((_0x655904,_0x3906ef)=>_0x655904<_0x129cfa?_0x1b54b1['length']-_0x3906ef:_0x3906ef);}(_0x5c15c4,_0x102ceb);this['_keypoints']['forEach']((_0x1aabe8,_0x4a8257)=>{const _0x3dbb5c=_0x150de3[_0x4a8257],_0x441799=_0x47d389[_0x4a8257];'number'==typeof _0x3dbb5c&&(_0x1aabe8['opacity']=_0x3dbb5c),'number'==typeof _0x441799&&(_0x1aabe8['zIndex']=_0x441799);}),this['_flush']();}['_createPreviewImage'](){const _0x419599=new Image();return _0x419599['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x419599['style']['opacity']='0',_0x419599;}async['_initNodes'](){const _0x342b54=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0xe86dc9=this['_previewImage'];this['contains'](_0xe86dc9)||_0x342b54['appendChild'](_0xe86dc9);const _0x150075=document['createElement']('div');_0x342b54['appendChild'](_0x150075);const _0x4f5bdc=this['_keypoints']['map'](_0x5262bc=>_0x5262bc['src']),{images:_0x1f8da1,promise:_0x53e108,cancel:_0x5d41ce}=bF(_0x4f5bdc);_0x1f8da1['forEach'](_0x51de64=>{const _0x4acbb3=this['_handleImageLoading'](_0x51de64['src']);_0x51de64['addEventListener']('load',_0x4acbb3),_0x51de64['addEventListener']('error',_0x4acbb3);}),this['_cancelLastImages']=()=>{_0x5d41ce(),this['_cancelLastImages']=void 0x0;};const _0x2dacf7=this['_operation'],_0x31ecc3=this['_filter'];await _0x53e108,this['_isActive']&&this['_isSame'](_0x2dacf7,_0x31ecc3)&&(this['_container']?.['remove'](),this['_container']=_0x150075,this['_keypoints']['forEach']((_0x2f5887,_0x50019b)=>{const _0x3bbaab=_0x1f8da1[_0x50019b];_0x3bbaab&&(_0x3bbaab['classList']['add']('uc-fader-image'),_0x2f5887['image']=_0x3bbaab,this['_container']?.['appendChild'](_0x3bbaab));}),this['appendChild'](_0x342b54),this['_flush']());}async['setTransformations'](_0x2c2fe2){if(this['_transformations']=_0x2c2fe2,this['_previewImage']){const _0x562aa7=await this['_imageSrc'](),_0x340f95=this['_handleImageLoading'](_0x562aa7);this['_previewImage']['src']=_0x562aa7,this['_previewImage']['addEventListener']('load',_0x340f95,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x340f95,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x5ed8de,filter:_0x33b552,operation:_0x460025,value:_0x277c2f}){if(!_0x460025||'number'!=typeof _0x277c2f)return;this['_cancelBatchPreload']?.();const _0x35a420=CF(_0x460025,_0x277c2f),_0x114765=await Promise['all'](_0x35a420['map'](_0x596866=>this['_imageSrc']({'url':_0x5ed8de,'filter':_0x33b552,'operation':_0x460025,'value':_0x596866}))),{cancel:_0x8698ef}=bF(_0x114765);this['_cancelBatchPreload']=_0x8698ef;}['_setOriginalSrc'](_0xf731b){const _0xe01624=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0xe01624)||this['appendChild'](_0xe01624),this['_previewImage']=_0xe01624,_0xe01624['src']===_0xf731b)return _0xe01624['style']['opacity']='1',_0xe01624['style']['transform']='scale(1)',void(this['className']=lF({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0xe01624['style']['opacity']='0';const _0x4c3639=this['_handleImageLoading'](_0xf731b);_0xe01624['addEventListener']('error',_0x4c3639,{'once':!0x0}),_0xe01624['src']=_0xf731b,_0xe01624['addEventListener']('load',()=>{_0x4c3639(),_0xe01624&&(_0xe01624['style']['opacity']='1',_0xe01624['style']['transform']='scale(1)',this['className']=lF({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0xe01624['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x2d1461,operation:_0x54341c,value:_0x38bcbe,filter:_0x29cfcc,fromViewer:_0x4294a9}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x2d1461,this['_operation']=_0x54341c??'initial',this['_value']=_0x38bcbe,this['_filter']=_0x29cfcc,this['_fromViewer']=_0x4294a9;if('number'!=typeof _0x38bcbe&&!_0x29cfcc){const _0x50f93f=await this['_imageSrc']({'operation':_0x54341c,'value':_0x38bcbe});return this['_setOriginalSrc'](_0x50f93f),void this['_container']?.['remove']();}_0x54341c&&'number'==typeof _0x38bcbe&&(this['_keypoints']=await Promise['all'](CF(_0x54341c,_0x38bcbe)['map'](_0x2dad72=>this['_constructKeypoint'](_0x54341c,_0x2dad72))),this['_update'](_0x54341c,_0x38bcbe),this['_initNodes']());}['deactivate']({hide:_0x116966=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x116966&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=lF({'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':kF,'EditorScroller':xF,'EditorSlider':_F,'EditorToolbar':RF,'ExternalSource':Ej,'ExternalUploadSource':uB,'FileItem':class _FileItem extends Ij{['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':Sj['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x2640ee=>{this['telemetryManager']['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x2640ee['uid']},this['modalManager']?.['open'](XU['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=XU['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':MV['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=Sj['IDLE'];e['getValue']('errors')['length']>0x0?i=Sj['FAILED']:e['getValue']('isQueuedForUploading')?i=Sj['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=Sj['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=Sj['VALIDATION']:e['getValue']('isUploading')?i=Sj['UPLOADING']:e['getValue']('fileInfo')&&(i=Sj['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=DV(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](EF((e,i)=>{const s=e['getValue']('errors')?.[0x0]?.['message'],n=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===Sj['FINISHED'],a=i===Sj['UPLOADING'],c=i===Sj['QUEUED_UPLOADING'],l=i===Sj['QUEUED_VALIDATION'],h=i===Sj['VALIDATION'],u=e['getValue']('fileName');let d='';s?d='':!o&&r&&n&&Object['values'](uB)['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===Sj['FAILED']?this['$']['badgeIcon']='badge-error':i===Sj['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===Sj['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===Sj['FAILED'],'isUploading':i===Sj['UPLOADING'],'isFinished':i===Sj['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x4cd245){const [_0x467e53]=_0x4cd245;_0x467e53&&(this['_isIntersecting']=_0x467e53['isIntersecting'],this['_thumbRect']=_0x467e53['boundingClientRect'],_0x467e53['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x2f473a){this['_reset']();const _0x21e40b=this['uploadCollection']?.['read'](_0x2f473a);this['_entry']=_0x21e40b,_0x21e40b&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x98049e=>{this['$']['itemName']=_0x98049e||_0x21e40b['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x134f2e=>{this['$']['itemName']=_0x21e40b['getValue']('fileName')||_0x134f2e||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'](_0x1acc49){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x1acc49;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x505336=>{this['_handleEntryId'](_0x505336);}),this['sub']('state',_0x5cbb9d=>{this['_handleState'](_0x5cbb9d);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x24ee9a=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x24ee9a);}),this['subConfigValue']('gridShowFileNames',_0x4a64e6=>{this['_updateShowFileNames'](_0x4a64e6);}),this['onclick']=()=>{_FileItem['activeInstances']['forEach'](_0x1fca38=>{_0x1fca38===this?_0x1fca38['setAttribute']('focused',''):_0x1fca38['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x81bc34=>{this['_entry']&&!_0x81bc34['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(_0x36794a=>{if('string'!=typeof _0x36794a)return!0x1;const _0x2d82dc=Aj['exec'](_0x36794a['toLocaleLowerCase']())??[];if(0x0===_0x2d82dc['length'])return!0x1;const _0x43293e=Number(_0x2d82dc[0x1])*Number(_0x2d82dc[0x2]);return _0x43293e>0x10000000?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x2d82dc[0x1]+'x'+_0x2d82dc[0x2]+'\x20('+Math['ceil'](_0x43293e/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x2d82dc[0x3]?Number(_0x2d82dc[0x3])/0x64:void 0x0,'size':_0x43293e};})(this['cfg']['imageShrink']);}async['_processShrink'](_0x5d18f0){const _0x2fd943=this['_settingsOfShrink']();return _0x2fd943?await PV(_0x5d18f0,_0x2fd943):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x5d18f0);}['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),G$(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':Kj,'FileUploaderMinimal':tH,'FileUploaderRegular':eH,'FormInput':class extends tF{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x77c147=document['createElement']('input');return _0x77c147['type']='text',_0x77c147['name']=this['ctxName'],_0x77c147['required']=this['cfg']['multipleMin']>0x0,_0x77c147['tabIndex']=-0x1,FQ(_0x77c147,{'opacity':0x0,'height':0x0,'width':0x0}),_0x77c147;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0xcd94bf=>{{if(!this['_dynamicInputsContainer']){const _0x3e5bf6=document['createElement']('div');this['appendChild'](_0x3e5bf6),this['_dynamicInputsContainer']=_0x3e5bf6;}if(!this['_validationInputElement']){const _0x43c607=this['_createValidationInput']();this['appendChild'](_0x43c607),this['_validationInputElement']=_0x43c607;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0xcd94bf['status']||'idle'===_0xcd94bf['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0xcd94bf['status']){const _0x4731f7=_0xcd94bf['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x4731f7??'');}const _0x26274a=_0xcd94bf['group']?_0xcd94bf['group']:null;if(_0x26274a)return this['_validationInputElement']['value']=_0x26274a['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x11cdd4=_0xcd94bf['allEntries']['map'](_0x345126=>_0x345126['cdnUrl'])['filter'](_0x4efda9=>'string'==typeof _0x4efda9);if(!this['cfg']['multiple']&&0x1===_0x11cdd4['length']&&_0x11cdd4[0x0])return this['_validationInputElement']['value']=_0x11cdd4[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x4613af=new DocumentFragment();for(const _0x5368f2 of _0x11cdd4){const _0x90bc0d=document['createElement']('input');_0x90bc0d['type']='hidden',_0x90bc0d['name']=this['ctxName']+'[]',_0x90bc0d['value']=_0x5368f2,_0x4613af['appendChild'](_0x90bc0d);}this['_dynamicInputsContainer']['replaceChildren'](_0x4613af);}},!0x1);}},'Icon':Cj,'Img':class extends Dj{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x50986b=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x50986b?'lazy':'eager');});}},'LineLoaderUi':MF,'Modal':$j,'ModalEvents':QU,'PACKAGE_NAME':VU,'PACKAGE_VERSION':UU,'PresenceToggle':QF,'ProgressBar':Vj,'ProgressBarCommon':Uj,'Select':Bj,'SimpleBtn':Fj,'SliderUi':$F,'SolutionBlock':zU,'SourceBtn':jj,'SourceList':class extends HU{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x1c7b7b=>{const _0x3baf1c=YV(_0x1c7b7b);let _0x34848f='';_0x3baf1c['forEach'](_0x14c390=>{'instagram'!==_0x14c390?'camera'===_0x14c390&&yB['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x14f74e=>{const _0x3a12fb=QV(_0x14f74e);_0x3a12fb['forEach'](_0x14c078=>{_0x34848f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x14c078+'-camera\x22></uc-source-btn>';}),0x0===_0x3a12fb['length']&&(_0x34848f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x34848f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x14c390+'\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']=_0x34848f:this['outerHTML']=_0x34848f;});}},'Spinner':Hj,'StartFrom':Gj,'Thumb':qj,'UID':SQ,'UploadCtxProvider':class extends tF{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=NV;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},'UploadList':Wj,'UploadSource':fB,'UploaderBlock':tF,'UrlSource':zj,'defineComponents':qU,'defineLocale':xU,'loadFileUploaderFrom':function(_0x4ad57,_0x4c3ac6=!0x1){return new Promise((_0xca5935,_0xe6833b)=>{if('object'!=typeof document)return void _0xca5935(null);if('object'==typeof window&&window[WU])return void _0xca5935(window[WU]);const _0x1be30d=document['createElement']('script');_0x1be30d['async']=!0x0,_0x1be30d['src']=_0x4ad57,_0x1be30d['onerror']=()=>{_0xe6833b();},_0x1be30d['onload']=()=>{const _0x2a8bc1=window[WU];_0x4c3ac6&&qU(_0x2a8bc1),_0xca5935(_0x2a8bc1);},document['head']['appendChild'](_0x1be30d);});},'toKebabCase':VF});class Uploadcare extends _0x13517b{static get['requires'](){return[UploadcareEditing,UploadcareUI];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x374859){super(_0x374859),_0x374859['config']['define']('uploadcare.uploader.sourceList',[dD['Local'],dD['URL']]),qU(iH),this['_defineLocale']();}['_defineLocale'](){const _0x2dd2cf=this['editor']['config']['get']('uploadcare.locale'),_0x33fe35=this['editor']['locale']['contentLanguage'];_0x2dd2cf&&xU(_0x33fe35,_0x2dd2cf);}}class UploadcareImageEditFormLoadingView extends _0x3989d4{constructor(_0x38c874){super(_0x38c874);const t=_0x38c874['t'],_0x394261=this['bindTemplate'],_0x4ac703=new _0x4341e6();_0x4ac703['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':[_0x4ac703,{'text':_0x394261['to']('imageUploadProgress',_0x380873=>t('Loading\x20image...')+'\x20('+(_0x380873||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 _0x3989d4{constructor(_0x58fe8f){super(_0x58fe8f);const t=_0x58fe8f['t'];this['set']('errorType',null);const _0x301b4d=new _0x2e803a(_0x58fe8f);_0x301b4d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x301b4d['withText']=!0x0,_0x301b4d['class']='ck-button-action',_0x301b4d['on']('execute',()=>{this['fire']('retry');}),_0x301b4d['bind']('isVisible')['to'](this,'errorType',_0x52b13c=>'NotFound'!==_0x52b13c);const _0xf977f1=new _0x1bf0d6();_0xf977f1['content']=_0xf250d9,_0xf977f1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2b84e6=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':[_0xf977f1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2b84e6['to']('errorType',_0x2c6745=>t('NotFound'!==_0x2c6745?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x301b4d]},{'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 _0x3989d4{constructor(_0x4fad4c,_0x29dacb){super(_0x4fad4c);const _0x4dafb5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x29dacb,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4dafb5['to']('imageSrc')}});}}class UploadcareImageEditFormView extends DialogFocusManagerView{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x68e203,_0x3cb2b1,_0x2c0338){super(_0x68e203),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x68e203),this['_errorView']=new UploadcareImageEditFormErrorView(_0x68e203),this['_editingView']=new UploadcareImageEditFormEditingView(_0x68e203,_0x2c0338),this['_focusableView']=new _0x3989d4(_0x68e203),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3cb2b1),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'],_0x6ace81=>{this['_addUploadcareImageEditorListeners'](_0x6ace81);});}),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'](_0x5015ff,_0x2864bc){const _0x32a499='uc-cloud-image-editor',_0x92dc1a=_0x5015ff['querySelector'](_0x32a499);if(_0x92dc1a)return _0x2864bc(_0x92dc1a);const _0x407af1=new MutationObserver(_0x3b013a=>{const _0x5c05b1=_0x3b013a['filter'](_0x15cb32=>_0x15cb32['target']===_0x5015ff&&_0x15cb32['addedNodes']['length']>0x0&&_0x15cb32['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x32a499);_0x5c05b1['length']&&(_0x407af1['disconnect'](),_0x2864bc(_0x5c05b1[0x0]['addedNodes'][0x0]));});_0x407af1['observe'](_0x5015ff,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5488ac){_0x5488ac['addEventListener']('apply',_0x54bff0=>{this['fire']('apply',{'imageSrc':_0x54bff0['detail']['cdnUrl']});}),_0x5488ac['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x20f52a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x398a4d,_0x30a05f,_0xca78a){super(),this['_editor']=_0x398a4d,this['_dialog']=_0x30a05f,this['_imageElement']=_0xca78a,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 _0x5bd63b=this['_imageElement'],_0x42cb3f=_0x5bd63b['getAttribute']('uploadcareImageId'),_0x37e78a=_0x5bd63b['getAttribute']('src');if(_0x42cb3f)await this['_loadImageInfo'](_0x42cb3f,_0x37e78a);else{if(this['_imageCache']['has'](_0x37e78a)){const _0x178542=this['_imageCache']['get'](_0x37e78a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x178542['url'],this['imageDimension']=_0x178542['dimension'],this['imageId']=_0x178542['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x16cdb5}=this['_editor'],t=_0x16cdb5['t'],_0x5d8789=new UploadcareImageEditFormView(_0x16cdb5,this['imageStatus'],this['_attributes']);_0x5d8789['bind']('status')['to'](this,'imageStatus'),_0x5d8789['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5d8789['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5d8789['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5d8789,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5024b2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5d8789,'position':at['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5d8789['focus']();},'onHide':()=>{_0x5d8789['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x48c784=>!wD(_0x48c784,_0x5d8789['element'])}});}['_loadImageInfo'](_0x46e3c5,_0x3b5e3b){return UploadUtils['getInfo'](_0x46e3c5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2eba09=>{const {width:_0x74da07,height:_0x4de15a}=_0x2eba09['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b5e3b,this['imageDimension']={'width':_0x74da07,'height':_0x4de15a},this['imageId']=_0x46e3c5;})['catch'](_0x2f4848=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f4848['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x522d5b,_0x241bb7){return this['_getImageAsFile'](_0x522d5b)['then'](_0x37a9d7=>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':_0x241bb7['signal'],'file':_0x37a9d7,'onProgress':_0x5b46cd=>{_0x5b46cd&&_0x5b46cd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5b46cd['value']));}}))['then'](_0x503fbd=>{const {width:_0x1eca84,height:_0x47aaa7}=_0x503fbd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x503fbd['cdnUrl'],this['imageDimension']={'width':_0x1eca84,'height':_0x47aaa7},this['imageId']=_0x503fbd['uuid'],this['imageUploadProgress']=null;const _0x44a70b=_0x522d5b['getAttribute']('src');this['_imageCache']['set'](_0x44a70b,{'id':_0x503fbd['uuid'],'url':_0x503fbd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x19af4b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19af4b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x21e175,_0x5707bf){_0x21e175['on']('apply',(_0x5b9d62,_0x1ff536)=>{this['_replaceImage'](_0x5707bf,_0x1ff536['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x21e175['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x21e175['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1f6df3,_0x4d8dac,_0x3413f0){const _0x2252ff=this['_editor'],{width:_0x5e4c3c,height:_0x42173a}=gD(_0x4d8dac,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x21c9bc,imageSources:_0x1c142f}=mD(_0x4d8dac,_0x5e4c3c);_0x2252ff['model']['change'](_0x197aa4=>{if('$graveyard'===_0x1f6df3['root']['rootName']){_0x2252ff['execute']('insertImage',{'imageType':_0x1f6df3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1f6df3['getAttributes']()),'uploadcareImageId':_0x3413f0,'src':_0x21c9bc,'sources':_0x1c142f,'width':_0x5e4c3c,'height':_0x42173a}});const _0x393e60=_0x1f6df3['getChildren']();_0x1f6df3=_0x2252ff['model']['document']['selection']['getSelectedElement']();for(const _0xa8f346 of _0x393e60)_0x197aa4['append'](_0x197aa4['cloneElement'](_0xa8f346),_0x1f6df3);}else _0x197aa4['setSelection'](_0x1f6df3,'on'),_0x2252ff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1f6df3['getAttributes']()),'uploadcareImageId':_0x3413f0,'src':_0x21c9bc,'sources':_0x1c142f,'width':_0x5e4c3c,'height':_0x42173a},_0x1f6df3);_0x197aa4['setSelection'](_0x1f6df3,'on');});}async['_getImageAsFile'](_0x2243c1){const _0x1ce513=_0x4cdc9d['window'],_0x77b479=_0x4cdc9d['document']['location']['href'],_0x7ba608=new _0x1ce513['URL'](_0x2243c1['getAttribute']('src'),_0x77b479);if('data:'===_0x7ba608['protocol']){const _0x371419=_0x7ba608['href']['split'](','),_0x1d6597=_0x371419[0x0]['match'](/:(.*?);/)[0x1],_0x5d22d8=_0x1d6597['split']('/')[0x1],_0x1221eb=_0x1ce513['atob'](_0x371419[_0x371419['length']-0x1]);let _0x38f2cf=_0x1221eb['length'];const _0x4c2d37=new _0x1ce513['Uint8Array'](_0x38f2cf);for(;_0x38f2cf--;)_0x4c2d37[_0x38f2cf]=_0x1221eb['charCodeAt'](_0x38f2cf);return new _0x1ce513['File']([_0x4c2d37],'image.'+_0x5d22d8,{'type':_0x1d6597});}const _0x23fee1=_0x7ba608['href']['split']('/'),_0x22e99b=_0x23fee1[_0x23fee1['length']-0x1],_0x45fac0=_0x22e99b['split']('.')[0x1];return _0x1ce513['fetch'](_0x7ba608['href'])['then'](_0x57115c=>_0x57115c['clone']()['blob']())['then'](_0x4bb84a=>new _0x1ce513['File']([_0x4bb84a],_0x22e99b,{'type':'image/'+_0x45fac0}));}}class UploadcareImageEditCommand extends _0x15bad7{['imageEditController'];static get['requires'](){return[it];}['_isEditable'];constructor(_0x31fc9f){super(_0x31fc9f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x32411e){const _0x215faa=OD(_0x32411e);return _0x1f31a0=>!(!_0x1f31a0||!_0x1f31a0['is']('element','imageBlock')&&!_0x1f31a0['is']('element','imageInline'))&&(!!_0x1f31a0['hasAttribute']('uploadcareImageId')||!!_0x1f31a0['hasAttribute']('src')&&_0x215faa(_0x1f31a0['getAttribute']('src')));}(_0x31fc9f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x10e90e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x10e90e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x175af2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x175af2&&(_0x175af2['is']('element','imageBlock')||_0x175af2['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](it),_0x175af2),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class UploadcareImageReplaceCommand extends _0x15bad7{['refresh'](){const _0x47139c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x47139c&&(_0x47139c['is']('element','imageBlock')||_0x47139c['is']('element','imageInline')));}['execute'](_0x1ed772){const _0x3be97e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x246d32=>{_0x246d32['setAttributes'](_0x1ed772,_0x3be97e),_0x246d32['removeAttribute']('srcset',_0x3be97e),_0x246d32['removeAttribute']('sizes',_0x3be97e);});}}class UploadcareImageEditEditing extends _0x13517b{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:_0x2267f4}=this;_0x2267f4['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x2267f4)),_0x2267f4['commands']['add']('uploadcareImageReplace',new UploadcareImageReplaceCommand(_0x2267f4));}}class UploadcareImageEditUI extends _0x13517b{['_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 _0x1bbb95=this['editor'];_0x1bbb95['ui']['componentFactory']['add']('uploadcareImageEdit',_0x335c24=>{const _0xc6781f=_0x1bbb95['commands']['get']('uploadcareImageEdit'),_0x11b5ad=new _0x2e803a(_0x335c24),t=_0x335c24['t'];return _0x11b5ad['set']({'icon':_0x5024b2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11b5ad['bind']('isEnabled')['to'](_0xc6781f),_0x11b5ad['bind']('isOn')['to'](_0xc6781f,'isActive'),this['listenTo'](_0x11b5ad,'execute',()=>{_0x1bbb95['execute']('uploadcareImageEdit'),_0x1bbb95['editing']['view']['focus']();}),_0x11b5ad;}),this['_initConfig']();}['_initConfig'](){const _0x2bd39b=_0x2df385(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2bd39b),this['listenTo'](this['editor'],'destroy',()=>{_0x2bd39b['remove']();});}}class UploadcareImageEdit extends _0x13517b{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};