/*
 *             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 _0x7cf71c,Command as _0x4d9dc4,ContextPlugin as _0x32a432,Editor as _0x519668,PendingActions as _0x4247fd,Context as _0x71dde0,ElementApiMixin as _0x494fd4}from'ckeditor5';import{uid as _0x462bc0,CKEditorError as _0x3ae0e8,ObservableMixin as _0x18fa86,global as _0x37cedc,isVisible as _0x22a890,Rect as _0xbeaf38,Collection as _0x307d11,FocusTracker as _0x2423e3,KeystrokeHandler as _0x247474,first as _0x506e56,logWarning as _0x5eb6e4,logError as _0x39bd32,toArray as _0x5ddbb4,version as _0x515330,EmitterMixin as _0x14630b,scrollViewportToShowTarget as _0x32a032,insertToPriorityArray as _0x2901f1,scrollAncestorsToShowTarget as _0x2228c5,ResizeObserver as _0x5fea7,_isMotionReduced as _0x23aca3,getConstrainedViewportRect as _0x578e1a,DomEmitterMixin as _0x1b863a,diff as _0x230f57,priorities as _0x387442,getEnvKeystrokeText as _0x5d4350,toUnit as _0x50f0f7,keyCodes as _0x21d6cc,diffToChanges as _0x2310b6,collectStylesheets as _0x4670b0,createElement as _0xe26ae8,env as _0x3c0c38,ElementReplacer as _0x1e17b6,formatHtml as _0x2329cc,getAncestors as _0x5b0d8d}from'ckeditor5';import{ToolbarView as _0x3e23dd,ButtonView as _0x1a631f,View as _0x278baa,SpinnerView as _0x5a3bb9,IconView as _0x24ab51,AutocompleteView as _0x3264fa,ListView as _0x171307,ListItemGroupView as _0x494766,ListItemView as _0x3a2da2,ButtonLabelView as tt,FocusCycler as et,createLabeledTextarea as it,Dialog as st,createDropdown as nt,addMenuToDropdown as rt,MenuBarMenuView as ot,MenuBarMenuListItemButtonView as at,DialogViewPosition as ct,MenuBarMenuListView as lt,MenuBarMenuListItemView as ht,DropdownButtonView as ut,isViewWithFocusCycler as dt,BodyCollection as ft,BalloonPanelView as mt,clickOutsideHandler as gt,addListToDropdown as pt,UIModel as Ot,submitHandler as wt,LabeledFieldView as bt,createLabeledInputText as yt,FormHeaderView as vt,HighlightedTextView as _t,ViewCollection as Et,FileDialogButtonView as Tt,InputTextView as At,SearchTextView as St,ListItemButtonView as It,ButtonLabelWithHighlightView as Ct,DropdownMenuPanelPositioningFunctions as kt,BalloonToolbar as xt,FormRowView as Rt,TextareaView as Pt,EditorUIView as Mt,InlineEditableUIView as Nt,EditorUI as Lt,focusChildOnDropdownOpen as $t,ContextualBalloon as Dt,Notification as Qt,addKeyboardHandlingForGrid as Vt,CollapsibleView as Ut,createLabeledInputNumber as Bt,SplitButtonView as jt,MenuBarMenuListItemFileDialogButtonView as Ft,filterGroupAndItemNames as Ht,LabelWithHighlightView as Gt,InputNumberView as Zt,normalizeColorOptions as Xt,ListSeparatorView as qt,CssTransitionDisablerMixin as Wt,ToolbarSeparatorView as zt,normalizeToolbarConfig as Yt,BoxedEditorUIView as Kt,StickyPanelView as Jt,LabelView as te}from'ckeditor5';import{IconCopy as _0x3fdc56,IconCheck as _0x28777c,IconError as _0x3d3ce7,IconSubmit as _0x27786c,IconAIHistory as _0x9eadb2,IconMagicWand as _0x261480,IconRobotPencil as _0xbfac00,IconMaximize as _0x498a6c,IconMinimize as _0x1f9d5e,IconNotification as _0x4f4fbc,IconCancel as _0x592cb9,IconShowChangesOn as _0xcd177b,IconShowChangesOff as _0x45ada1,IconDocument as _0x1f8e2f,IconBoxWithCross as _0x3cecc5,IconBoxWithCheck as _0x24a62b,IconBoxWithMarker as _0xae6026,IconInfo as _0x489b0f,IconWeb as _0x55d6b3,IconSelection as _0x59833a,IconFileUpload as _0x3a5ed4,IconLink as _0x579491,IconBulb as _0x3260e2,IconAI as _0x3171e6,IconPreviousArrow as _0x3379a0,IconDocumentOutline as _0x48b97d,IconLoupe as _0x20bb0f,IconPaperClip as _0x47ab62,IconBrowseFiles as _0x54f1b2,IconDropdownArrow as _0x219487,IconStop as _0x268240,IconPlus as _0x21b9c7,IconAIChat as _0x286b8d,IconPin as _0x4a96da,IconThreeHorizontalDots as _0x4365e6,IconAIReview as _0x16415e,IconAITranslate as _0x16e83c,IconAIAskAI as _0x107614,IconThumbUp as _0x3b000e,IconThumbDown as _0x50a03f,IconChevronDown as _0x3cec3c,IconChevronUp as _0x526f3c,IconAIQuickActions as _0x3334db,IconAIChatCommands as _0xf70737,IconAIImproveWriting as _0x1999ff,IconAIContinueWriting as _0x35ed0d,IconAIGrammarCheck as _0x5a7467,IconAIAdjustLength as _0x2cac94,IconAIChangeTone as _0xe7f0cf,IconAIOther as _0x122304,IconRefresh as _0x3e2897,IconNextArrow as _0x38c43f,IconOutdated as _0x16b887,IconEye as ti,IconEyeCrossedOut as _0x3049d0,IconChevronRight as _0x22f6a8,IconCaseChange as _0x5a3699,IconUndo as _0x28e8a7,IconPencil as _0x23339a,IconRemoveComment as _0x509e24,IconThreeVerticalDots as _0x2d8cb4,IconAddComment as _0x4e468c,IconCommentsArchive as _0xfe3c66,IconTableOfContents as _0x4d082c,IconExportPdf as _0x598d01,IconExportWord as _0x145514,IconFootnote as _0x134512,IconListStyleDecimal as _0x54a216,IconListStyleDecimalLeadingZero as _0x14a803,IconListStyleLowerRoman as _0x9200a3,IconListStyleUpperRoman as _0x3a18a7,IconListStyleLowerLatin as _0x457eae,IconListStyleUpperLatin as _0xb565da,IconListStyleArabicIndic as _0x19b2bd,IconPaintRoller as _0x1a2241,IconImportWord as _0x3436ff,IconLineHeight as _0x5c1658,IconMultiLevelList as _0x2b70ca,IconWarning as _0x133f22,IconInsertMergeField as _0x5a7fd3,IconPreviewMergeFields as _0x3413f8,IconArrowDown as _0x1a67e4,IconArrowUp as _0x22dc7c,IconTrackChanges as _0x4a1067,IconHistory as _0x145406,IconUser as _0x22dcb0,IconQuote as _0x560bd3,IconBulletedList as _0x546709,IconCodeBlock as _0x29f181,IconEmoji as _0x1c23d9,IconHeading1 as _0x41de7d,IconHeading2 as _0x4e59a7,IconHeading3 as _0x33860b,IconHeading4 as _0x2fdda8,IconHeading5 as _0x447287,IconHeading6 as _0x40d83e,IconHorizontalLine as _0x234ee6,IconHtml as _0x4feca7,IconIndent as _0x42288a,IconTable as _0x330098,IconNumberedList as _0x55877e,IconOutdent as _0x2c3365,IconParagraph as _0x2c56f7,IconTodoList as _0x233159,IconPlay as _0x5e568f,IconSource as _0x288815,IconTemplateGeneric as _0x40943d,IconTemplate as ts,IconOneDrive as _0x2ffd6c,IconGooglePhotos as _0x3fc76d,IconGoogleDrive as _0xca1113,IconFacebook as _0x58e0,IconDropbox as _0x5f585d,IconUploadcareLink as _0x38bec5,IconUploadcareImageUpload as _0x33d57a,IconUploadcareImageEdit as _0x2cdc09}from'ckeditor5';import{setHighlightHandling as _0x17c59e,toWidget as _0x5eb950,Widget as _0x3d4884,isWidget as _0x1a69bd,toWidgetEditable as _0x54d72a,WidgetToolbarRepository as _0x24cb0e,findOptimalInsertionRange as _0x54f803,viewToModelPositionOutsideModelElement as _0x5eadbd}from'ckeditor5';import{ViewDocumentDomEventData as _0x19bba3,ViewDataTransfer as _0x44ed96,ViewUpcastWriter as _0x1d3328,Matcher as _0x35f644,InsertOperation as _0x45fe9,MoveOperation as _0x474875,ModelPosition as _0x40b13b,ModelRange as _0x23c7fa,MarkerOperation as _0x19b14a,MergeOperation as _0x56fbb6,SplitOperation as _0x3028b9,RenameOperation as _0x4b074c,AttributeOperation as _0x7f9942,ModelTreeWalker as _0x908d36,ModelText as _0x1f1db5,_DetachOperation as _0x2a1d8f,_insertIntoModelNodeList as _0x515c38,_removeFromModelNodeList as _0x3efdeb,transformOperationSets as _0x10917c,ViewDowncastWriter as _0x14e92,ModelDocumentFragment as _0x3a4ada,disableViewPlaceholder as _0x3ef2e4,enableViewPlaceholder as _0x2c3dac,MouseObserver as _0x50499b,StylesMap as _0x34412a,addMarginStylesRules as _0x3109a1,addPaddingStylesRules as _0x24936a,PointerObserver as _0x39e37f,ClickObserver as _0x4c9889,isPercentageStyleValue as _0x5cafdf,ViewDocument as _0x3daffa,ViewDomConverter as _0x93155b,ModelLiveRange as _0x495f74,History as _0x321b8f,NoOperation as _0x20dfac,RootAttributeOperation as _0x2e8a43,OperationFactory as _0x4f4494,ModelElement as tn,ModelLivePosition as _0x381405,ViewContainerElement as _0x3814e8,ViewAttributeElement as _0x1dd922,ViewEmptyElement as _0x349de6,ViewRawElement as _0x32cd3d,ViewUIElement as _0x1d5466,ViewDocumentFragment as _0x3d5785,ViewText as _0x5e9d1d,ViewElement as _0x2eb3a5}from'ckeditor5';import{ClipboardPipeline as _0xfaf27a,ClipboardMarkersUtils as _0x222849,Clipboard as _0x1133f8}from'ckeditor5';import{Enter as _0x98fec6,ShiftEnter as _0x3aac58}from'ckeditor5';import{SelectAll as _0x15253a}from'ckeditor5';import{Typing as _0x1f0d64,Delete as _0x1fedb8,Input as _0x106291}from'ckeditor5';import{Undo as _0x4117d2}from'ckeditor5';import{Paragraph as _0x37061d}from'ckeditor5';import{CloudServices as _0x337566}from'ckeditor5';import{RemoveFormatCommand as _0x20f4aa}from'ckeditor5';import{ListEditing as _0x21caf5,_isFirstBlockOfListItem as _0x1790e0}from'ckeditor5';import{ImageUtils as _0x358c38,ImageEditing as _0x29f90a,ImageUploadEditing as _0x576699,ImageUploadProgress as _0x39d9da,PictureEditing as _0xa37a21}from'ckeditor5';import{Mention as _0x2d70b0}from'ckeditor5';import{PasteFromOfficeMSWordNormalizer as _0xf8dc75,PasteFromOffice as _0x32c3c3,parsePasteOfficeHtml as _0x14176f}from'ckeditor5';import{MarkdownGfmMdToHtmlDefaultPlugins as _0x4db103,MarkdownGfmMdToHtml as _0x56bb66}from'ckeditor5';import{FileRepository as _0x36d330}from'ckeditor5';const Qn='_ungrouppedCommands';function Vn(_0x599a6f,_0x405f38){const _0xdd6fc4=(0x0,_0x405f38['t'])('Other');return _0x599a6f['length']?'groupId'in _0x599a6f[0x0]?_0x599a6f:[{'groupId':Qn,'groupLabel':_0xdd6fc4,'order':0x1/0x0,'commands':_0x599a6f}]:[{'groupId':Qn,'groupLabel':_0xdd6fc4,'order':0x1/0x0,'commands':[]}];}const Un=globalThis['DataTransfer'],Bn='ai-ui';class AIAssistantEditing extends _0x7cf71c{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bdb60}=this,_0xd08680=['ck-fake-ai-selection'];_0x2bdb60['config']['get']('ai.assistant.useTheme')&&_0xd08680['push']('ck-ai-assistant-ui_theme'),_0x2bdb60['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Bn,'view':{'classes':_0xd08680,'priority':0xc}}),_0x2bdb60['conversion']['for']('editingDowncast')['markerToElement']({'model':Bn,'view':(_0x4afb1e,{writer:_0x1ab3f3})=>{if(!_0x4afb1e['markerRange']['isCollapsed'])return null;const _0x138224=_0x1ab3f3['createUIElement']('span');return _0x1ab3f3['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x138224),_0x138224;}});}['afterInit'](){!async function(_0x5b8e3c){const _0x5ee577=_0x2b14c4([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]),_0x3144c1=0x3dffc4e1,_0x276f66=0x3df84e89^_0x3144c1,_0x4e718d=window[_0x2b14c4([0x44,0x61,0x74,0x65])][_0x2b14c4([0x6e,0x6f,0x77])](),_0x520b3b=_0x5b8e3c[_0x2b14c4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40fbf8=new window[(_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20040c=>{_0x520b3b[_0x2b14c4([0x6f,0x6e,0x63,0x65])](_0x2b14c4([0x72,0x65,0x61,0x64,0x79]),_0x20040c);}),_0x30f5e2={[_0x2b14c4([0x6b,0x74,0x79])]:_0x2b14c4([0x45,0x43]),[_0x2b14c4([0x75,0x73,0x65])]:_0x2b14c4([0x73,0x69,0x67]),[_0x2b14c4([0x63,0x72,0x76])]:_0x2b14c4([0x50,0x2d,0x32,0x35,0x36]),[_0x2b14c4([0x78])]:_0x2b14c4([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]),[_0x2b14c4([0x79])]:_0x2b14c4([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]),[_0x2b14c4([0x61,0x6c,0x67])]:_0x2b14c4([0x45,0x53,0x32,0x35,0x36])},_0x4fabe2=_0x520b3b[_0x2b14c4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b14c4([0x67,0x65,0x74])](_0x2b14c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f7516(){let _0x423d96,_0x4e7f95=null,_0x59fdb0=null;try{if(_0x4fabe2==_0x2b14c4([0x47,0x50,0x4c]))return _0x2b14c4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x423d96=_0x40447a(),!_0x423d96)return _0x2b14c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x423d96[_0x2b14c4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59fdb0=_0x512e39(_0x423d96[_0x2b14c4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x423d96[_0x2b14c4([0x6a,0x74,0x69])])),await _0x25ec53()?_0x21639a()?_0xce7056()?_0x2b14c4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2394cc()?(_0x423d96[_0x2b14c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b14c4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e7f95=_0x340b67(_0x2b14c4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3cf547()):_0x2b14c4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b14c4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b14c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b14c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xce7056(){const _0x3161ec=[_0x2b14c4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b14c4([0x74,0x72,0x69,0x61,0x6c])][_0x2b14c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x423d96[_0x2b14c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e718d/0x3e8:0xe10*_0x276f66;return _0x423d96[_0x2b14c4([0x65,0x78,0x70])]<_0x3161ec;}function _0x21639a(){const _0x5bd340=_0x423d96[_0x2b14c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bd340&&(!!_0x5bd340[_0x2b14c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b14c4([0x2a]))||!!_0x5bd340[_0x2b14c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b14c4([0x41,0x49])));}function _0x2394cc(){const _0x351c39=_0x423d96[_0x2b14c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x351c39||0x0==_0x351c39[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17dc23}=new URL(window[_0x2b14c4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x351c39[_0x2b14c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17dc23))return!0x0;const _0x50b70d=_0x17dc23[_0x2b14c4([0x73,0x70,0x6c,0x69,0x74])](_0x2b14c4([0x2e]));return _0x351c39[_0x2b14c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x173e4d=>_0x173e4d[_0x2b14c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b14c4([0x2a])))[_0x2b14c4([0x6d,0x61,0x70])](_0x7893cb=>_0x7893cb[_0x2b14c4([0x73,0x70,0x6c,0x69,0x74])](_0x2b14c4([0x2e])))[_0x2b14c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x473513=>_0x473513[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50b70d[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b14c4([0x6d,0x61,0x70])](_0x3ed24f=>Array(_0x50b70d[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ed24f[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b14c4([0x66,0x69,0x6c,0x6c])](_0x3ed24f[0x0]===_0x2b14c4([0x2a])?_0x2b14c4([0x2a]):'')[_0x2b14c4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ed24f))[_0x2b14c4([0x73,0x6f,0x6d,0x65])](_0x457560=>_0x50b70d[_0x2b14c4([0x65,0x76,0x65,0x72,0x79])]((_0x17c8ef,_0x460ada)=>_0x457560[_0x460ada]===_0x17c8ef||_0x457560[_0x460ada]===_0x2b14c4([0x2a])));}function _0x3cf547(){return _0x4e7f95&&_0x59fdb0?new window[(_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x417077,_0x2ac43f)=>{_0x4e7f95[_0x2b14c4([0x74,0x68,0x65,0x6e])](_0x417077,_0x2ac43f),_0x59fdb0[_0x2b14c4([0x74,0x68,0x65,0x6e])](_0x349183=>{_0x349183!=_0x2b14c4([0x56,0x61,0x6c,0x69,0x64])&&_0x417077(_0x349183);},_0x2ac43f);}):_0x4e7f95||_0x59fdb0||_0x2b14c4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x512e39(_0x26e8f8,_0x4df50c){return new window[(_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fbae5=>{if(_0x38712f())return _0x3fbae5(_0x2b14c4([0x56,0x61,0x6c,0x69,0x64]));_0x41f4a7(),_0x520b3b[_0x2b14c4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b14c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a9a64=!0x1;const _0x56db3a=_0x462bc0();function _0x588b0c(_0x4631f1){return!!_0x4631f1&&(typeof _0x4631f1===_0x2b14c4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4631f1===_0x2b14c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4631f1[_0x2b14c4([0x74,0x68,0x65,0x6e])]===_0x2b14c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4631f1[_0x2b14c4([0x63,0x61,0x74,0x63,0x68])]===_0x2b14c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8693cb(_0x374bff){_0x46207f(_0x374bff)[_0x2b14c4([0x74,0x68,0x65,0x6e])](_0x4595e1=>{if(!_0x4595e1||_0x4595e1[_0x2b14c4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b14c4([0x6f,0x6b]))return _0x2b14c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2941c4(_0x448d75(_0x56db3a+_0x4df50c))!=_0x4595e1[_0x2b14c4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b14c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b14c4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b14c4([0x74,0x68,0x65,0x6e])](_0x34562d=>(_0x1ca90e(),_0x34562d),()=>{const _0x260c1e=_0x4f6720();return null==_0x260c1e?(_0x1ca90e(),_0x2b14c4([0x56,0x61,0x6c,0x69,0x64])):_0x2b14c4(_0x4e718d-_0x260c1e>(0x19f340e1^_0x3144c1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b14c4([0x74,0x68,0x65,0x6e])](_0x3fbae5)[_0x2b14c4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fbae5(_0x2b14c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32a021=0x3dc92a61^_0x3144c1;function _0x1ca90e(){const _0x2c472e=_0x2b14c4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2941c4(_0x448d75(_0x26e8f8)),_0x4eab2e=_0x4867c1(_0x2941c4(window[_0x2b14c4([0x4d,0x61,0x74,0x68])][_0x2b14c4([0x63,0x65,0x69,0x6c])](_0x4e718d/_0x32a021)));window[_0x2b14c4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b14c4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c472e,_0x4eab2e);}function _0x4f6720(){const _0x4b7e39=_0x2b14c4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2941c4(_0x448d75(_0x26e8f8)),_0x11d757=window[_0x2b14c4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b14c4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b7e39);return _0x11d757?window[_0x2b14c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4867c1(_0x11d757),0x10)*_0x32a021:null;}function _0x46207f(_0x4ffcbc){return new window[(_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x527bfe,_0x10bd17)=>{_0x4ffcbc[_0x2b14c4([0x74,0x68,0x65,0x6e])](_0x527bfe,_0x10bd17),window[_0x2b14c4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10bd17,0x3dfe1021^_0x3144c1);});}}_0x520b3b[_0x2b14c4([0x6f,0x6e])](_0x2b14c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fdc7e,_0x3c9268)=>{if(_0x3c9268[0x0]!=_0x26e8f8)return _0x3fbae5(_0x2b14c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c9268[0x1]={..._0x3c9268[0x1],[_0x2b14c4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56db3a};},{[_0x2b14c4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b14c4([0x68,0x69,0x67,0x68])}),_0x520b3b[_0x2b14c4([0x6f,0x6e])](_0x2b14c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x589479=>{_0x588b0c(_0x589479[_0x2b14c4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a9a64=!0x0,_0x8693cb(_0x589479[_0x2b14c4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b14c4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b14c4([0x6c,0x6f,0x77])}),_0x40fbf8[_0x2b14c4([0x74,0x68,0x65,0x6e])](()=>{_0x2a9a64||_0x3fbae5(_0x2b14c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38712f(){return _0x520b3b[_0x2b14c4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b14c4([0x76,0x69,0x65,0x77])][_0x2b14c4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b14c4([0x61,0x75,0x74,0x6f]);}function _0x41f4a7(){_0x520b3b[_0x2b14c4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b14c4([0x76,0x69,0x65,0x77])][_0x2b14c4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b14c4([0x61,0x75,0x74,0x6f]);}}function _0x340b67(_0x4f72e8){const _0x5809c9=[new window[(_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309568=>setTimeout(_0x309568,0x3df6fa2d^_0x3144c1)),_0x40fbf8[_0x2b14c4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170b37=>{let _0x5d76af=0x0;_0x520b3b[_0x2b14c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b14c4([0x6f,0x6e])](_0x2b14c4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b042,_0x71ed70)=>{_0x71ed70[0x0][_0x2b14c4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d76af++,_0x5d76af==(0x3dffc109^_0x3144c1)&&(_0x170b37(),_0x3b042[_0x2b14c4([0x6f,0x66,0x66])]());});}))];return window[_0x2b14c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b14c4([0x72,0x61,0x63,0x65])](_0x5809c9)[_0x2b14c4([0x74,0x68,0x65,0x6e])](()=>_0x4f72e8);}async function _0x3cd82a(){await _0x40fbf8,_0x520b3b[_0x2b14c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b14c4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3da657,_0x520b3b[_0x2b14c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b14c4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3da657,_0x520b3b[_0x2b14c4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b14c4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x351ab7(_0x4770f5){const _0x235727=_0xa70c62();_0x520b3b[_0x235727]=_0x2b14c4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4770f5,_0x4770f5!=_0x2b14c4([0x56,0x61,0x6c,0x69,0x64])&&_0x3cd82a();}function _0xa70c62(){const _0x223969=window[_0x2b14c4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b14c4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b14c4([0x6e,0x6f,0x77])]())[_0x2b14c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b14c4([0x2e]),'');let _0x4de946=_0x2b14c4([0x6e]);for(let _0x43b441=0x0;_0x43b441<_0x223969[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43b441+=0x2){let _0x3abc97=window[_0x2b14c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x223969[_0x2b14c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43b441,_0x43b441+0x2));_0x3abc97>=_0x5ee577[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3abc97-=_0x5ee577[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4de946+=_0x5ee577[_0x3abc97];}return _0x4de946;}function _0x40447a(){const _0x277fa3=_0x4fabe2[_0x2b14c4([0x73,0x70,0x6c,0x69,0x74])](_0x2b14c4([0x2e]));if(0x3!=_0x277fa3[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xdea781(_0x277fa3[0x1]);function _0xdea781(_0x2c57d5){const _0x2371c6=_0x546177(_0x2c57d5);return _0x2371c6&&_0x17f762()?_0x2371c6:null;function _0x17f762(){const _0x4c6857=_0x2371c6[_0x2b14c4([0x6a,0x74,0x69])],_0x1f15b9=window[_0x2b14c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c6857[_0x2b14c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c6857[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a22de={..._0x2371c6,[_0x2b14c4([0x6a,0x74,0x69])]:_0x4c6857[_0x2b14c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c6857[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a22de[_0x2b14c4([0x76,0x63])],_0x448d75(_0x4a22de)==_0x1f15b9;}}}async function _0x25ec53(){let _0x50d7ad=!0x0;try{const _0x2b0cb0=_0x4fabe2[_0x2b14c4([0x73,0x70,0x6c,0x69,0x74])](_0x2b14c4([0x2e])),[_0x49088e,_0x2851ca,_0x3224ab]=_0x2b0cb0;return _0xd3f52(_0x49088e),await _0x38b9cf(_0x49088e,_0x2851ca,_0x3224ab),_0x50d7ad;}catch{return!0x1;}function _0xd3f52(_0x558210){const _0x234c37=_0x546177(_0x558210);_0x234c37&&_0x234c37[_0x2b14c4([0x61,0x6c,0x67])]==_0x2b14c4([0x45,0x53,0x32,0x35,0x36])||(_0x50d7ad=!0x1);}async function _0x38b9cf(_0x414ce3,_0x4ad63d,_0x10e650){const _0x51b459=window[_0x2b14c4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b14c4([0x66,0x72,0x6f,0x6d])](_0x381a90(_0x10e650),_0x4a1db0=>_0x4a1db0[_0x2b14c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x182ddb=new window[(_0x2b14c4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b14c4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x414ce3+_0x2b14c4([0x2e])+_0x4ad63d),_0x3be700=window[_0x2b14c4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b14c4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3be700)return;const _0x22fbcc=await _0x3be700[_0x2b14c4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b14c4([0x6a,0x77,0x6b]),_0x30f5e2,{[_0x2b14c4([0x6e,0x61,0x6d,0x65])]:_0x2b14c4([0x45,0x43,0x44,0x53,0x41]),[_0x2b14c4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b14c4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b14c4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3be700[_0x2b14c4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b14c4([0x6e,0x61,0x6d,0x65])]:_0x2b14c4([0x45,0x43,0x44,0x53,0x41]),[_0x2b14c4([0x68,0x61,0x73,0x68])]:{[_0x2b14c4([0x6e,0x61,0x6d,0x65])]:_0x2b14c4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22fbcc,_0x51b459,_0x182ddb)||(_0x50d7ad=!0x1);}}function _0x546177(_0x43c66e){return _0x43c66e[_0x2b14c4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b14c4([0x65,0x79]))?JSON[_0x2b14c4([0x70,0x61,0x72,0x73,0x65])](_0x381a90(_0x43c66e)):null;}function _0x381a90(_0x2f827a){return window[_0x2b14c4([0x61,0x74,0x6f,0x62])](_0x2f827a[_0x2b14c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b14c4([0x2b]))[_0x2b14c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b14c4([0x2f])));}function _0x448d75(_0x25ea3f){let _0x2db5e9=0x1505;function _0x42fb63(_0x5ea764){for(let _0x48070c=0x0;_0x48070c<_0x5ea764[_0x2b14c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48070c++){const _0x4bfdc7=_0x5ea764[_0x2b14c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48070c);_0x2db5e9=(_0x2db5e9<<0x5)+_0x2db5e9+_0x4bfdc7,_0x2db5e9&=_0x2db5e9;}}function _0x16ad61(_0x48aba0){Array[_0x2b14c4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48aba0)?_0x48aba0[_0x2b14c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16ad61):_0x48aba0&&typeof _0x48aba0==_0x2b14c4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b14c4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48aba0)[_0x2b14c4([0x73,0x6f,0x72,0x74])]()[_0x2b14c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2927b6,_0xfa4be7])=>{_0x42fb63(_0x2927b6),_0x16ad61(_0xfa4be7);}):_0x42fb63(window[_0x2b14c4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48aba0));}return _0x16ad61(_0x25ea3f),_0x2db5e9>>>0x0;}function _0x2941c4(_0x4ccfaa){return _0x4ccfaa[_0x2b14c4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b14c4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b14c4([0x30]));}function _0x4867c1(_0x352019){return _0x352019[_0x2b14c4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b14c4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b14c4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3da657(){}function _0x2b14c4(_0x2f71f0){return _0x2f71f0['map'](_0x2cd9f7=>String['fromCharCode'](_0x2cd9f7))['join']('');}_0x351ab7(await _0x1f7516());}(this);}['showFakeVisualSelection'](){const _0x4f9375=this['editor']['model'];_0x4f9375['change'](_0xd55a67=>{const _0xae7c5b=_0x4f9375['document']['selection']['getRanges']();let _0x2c510a=0x0;for(const _0x2039c7 of _0xae7c5b){const _0x19d996=Bn+':'+_0x2c510a;if(_0x4f9375['markers']['has'](_0x19d996))_0xd55a67['updateMarker'](_0x19d996,{'range':_0x2039c7});else{if(_0x2039c7['start']['isAtEnd']){const _0x65d5b1=_0x2039c7['start']['getLastMatchingPosition'](({item:_0x18630b})=>!_0x4f9375['schema']['isContent'](_0x18630b),{'boundaries':_0x2039c7});_0xd55a67['addMarker'](_0x19d996,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xd55a67['createRange'](_0x65d5b1,_0x2039c7['end'])});}else _0xd55a67['addMarker'](_0x19d996,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2039c7});}_0x2c510a++;}});}['hideFakeVisualSelection'](){const _0xefc7a7=this['editor']['model'],_0x3f6928=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](Bn));_0x3f6928['length']&&_0xefc7a7['change'](_0x13c410=>{_0x3f6928['forEach'](_0x3fd943=>{_0x13c410['removeMarker'](_0x3fd943);});});}['insertContent'](_0x595393,_0x6e02c6){const _0x3e3f30=this['_getAISelection'](),_0xf22611=_0x6e02c6||_0x3e3f30['getFirstRange']();this['editor']['model']['canEditAt'](_0xf22611)&&this['editor']['model']['change'](_0x13057e=>{this['hideFakeVisualSelection'](),_0x6e02c6||this['_resetContentOfSelectedTableCells'](_0x13057e,_0x3e3f30),this['_pasteHTMLUsingClipboard']({'insertAt':_0xf22611,'writer':_0x13057e,'html':_0x595393});});}['insertContentBelow'](_0x3c83e6){const {model:_0x369168}=this['editor'],_0x3997a3=this['_getAISelection']();_0x369168['change'](()=>{const _0x480d77=this['_prepareTableInsertBelowPosition'](_0x3c83e6,_0x3997a3)||this['_getDefaultInsertBelowPosition'](_0x3997a3);this['insertContent'](_0x3c83e6,_0x480d77);});}['_getAISelection'](){const _0xd2a703=this['editor']['model'],_0x385c65=Array['from'](_0xd2a703['markers']['getMarkersGroup'](Bn))['map'](_0x3574dc=>_0x3574dc['getRange']());return _0xd2a703['createSelection'](_0x385c65);}['_pasteHTMLUsingClipboard']({writer:_0x25fcad,html:_0x4fe506,insertAt:_0x2b64c7}){const {view:_0x12b8f4}=this['editor']['editing'],_0x6ec41f=this['editor']['plugins']['get'](_0xfaf27a),_0x11efc1=new Un();_0x11efc1['setData']('text/html',_0x4fe506);const _0xb6d193=new ClipboardEvent('paste',{'clipboardData':_0x11efc1}),_0x419bbe=new _0x19bba3(_0x12b8f4,_0xb6d193,{'dataTransfer':new _0x44ed96(_0x11efc1)});_0x25fcad['setSelection'](_0x2b64c7);const _0x762668=(_0x6fb8fa,_0x3fcf4f)=>{_0x3fcf4f['resultRange']&&_0x25fcad['setSelection'](_0x3fcf4f['resultRange']);};_0x6ec41f['once']('contentInsertion',_0x762668,{'priority':'lowest'}),_0x12b8f4['document']['fire']('paste',_0x419bbe),_0x6ec41f['off']('contentInsertion',_0x762668);}['_getDefaultInsertBelowPosition'](_0x1a2585){const {model:_0x171592}=this['editor'],_0x42b0f8=Array['from'](_0x1a2585['getSelectedBlocks']());return _0x42b0f8['length']?_0x171592['createPositionAfter'](_0x42b0f8['pop']()):_0x1a2585['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x263ebe,_0x4c8385){const {model:_0x319abe,plugins:_0x490abb}=this['editor'];if(_0x490abb['has']('TableUtils')){const _0x154fc8=_0x490abb['get']('TableUtils')['getSelectedTableCells'](_0x4c8385);if(_0x154fc8['length']){const _0x2c9cc0=this['_getTableRowCountFromContent'](_0x263ebe),_0x269c37=this['_createEmptyTableRows'](_0x154fc8,_0x2c9cc0);return _0x319abe['createPositionAt'](_0x269c37,0x0);}}return null;}['_getTableRowCountFromContent'](_0x825306){const _0x4c696e=this['editor']['plugins']['get']('TableUtils'),_0x4dd9db=this['editor']['data']['parse'](_0x825306),_0x46074d=Array['from'](_0x4dd9db['getChildren']())['filter'](_0x542733=>_0x542733['is']('element','table'));let _0x3667d5=0x0;return _0x46074d['forEach'](_0x143e63=>{_0x3667d5+=_0x4c696e['getRows'](_0x143e63);}),_0x3667d5;}['_createEmptyTableRows'](_0x58473d,_0x2cec53){const _0x30527c=this['editor']['plugins']['get']('TableUtils'),_0x54e805=_0x30527c['getRowIndexes'](_0x58473d),_0x58827f=_0x30527c['getColumnIndexes'](_0x58473d),_0x29d71d=_0x54e805['last']+0x1,_0x24024a=_0x58827f['first'],_0x380025=_0x58473d[0x0]['findAncestor']('table');for(let _0x961900=0x0;_0x961900<_0x2cec53;_0x961900++)_0x30527c['insertRows'](_0x380025,{'at':_0x29d71d});return _0x380025['getChild'](_0x29d71d)['getChild'](_0x24024a);}['_resetContentOfSelectedTableCells'](_0x46ff79,_0x4ca33e){const {plugins:_0x4c4ab4}=this['editor'],{model:_0x4bb5df}=_0x46ff79;if(!_0x4c4ab4['has']('TableUtils'))return;_0x4c4ab4['get']('TableUtils')['getSelectedTableCells'](_0x4ca33e)['length']&&_0x4bb5df['deleteContent'](_0x4ca33e);}}class AIAdapter extends _0x7cf71c{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x3ae0e8('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x5e82fe){super(_0x5e82fe),this['name']='AIRequestError';}}function jn(_0x2e6b68,_0x28db63,_0x3a3496){const t=_0x2e6b68['t'];switch(_0x28db63){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',_0x3a3496);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3a3496);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'},_0x3a3496);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 _0x28db63;}}class ShowAIAssistantCommand extends _0x4d9dc4{['_commandDefinitions'];constructor(_0x147baa,_0x4831d2){super(_0x147baa),this['_commandDefinitions']=_0x4831d2,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x1adf10,_0x2a71e7,_0x249f3a)=>{this['isEnabled']&&(this['enabledCommandsIds']=Fn(this['_commandDefinitions'],_0x249f3a));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x35c878,_0x2f3b74,_0x30dacb)=>{this['enabledCommandsIds']=_0x30dacb?Fn(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x1569fa=this['editor']['model'];this['_hasContext']=function(_0x3b1a10){const _0x5ce098=_0x3b1a10['document']['selection'];return _0x5ce098['isCollapsed']?0x0!==[..._0x5ce098['getSelectedBlocks']()]['length']&&![..._0x5ce098['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x3b1a10['hasContent'](_0x5ce098['getFirstRange']());}(_0x1569fa);const _0x5da7c3=_0x1569fa['document']['selection'],_0x27c62=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x4c2fd5 of _0x5da7c3['getRanges']())for(const _0x55df1b of _0x4c2fd5['getItems']())if(_0x55df1b['is']('element')&&_0x27c62['includes'](_0x55df1b['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x37f3d8='',_0x563ab8='',_0x18c070='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x37f3d8,_0x563ab8,_0x18c070);}}function Fn(_0x452844,_0x2257cf){const _0x3a3bcb=new Set();for(const _0x57d8af of _0x452844['values']())(_0x2257cf||!0x1===_0x57d8af['requiresContent'])&&_0x3a3bcb['add'](_0x57d8af['id']);return Array['from'](_0x3a3bcb);}const Hn=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x18fa86(){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x1a8499,_0x4361a9,_0x369368){super(),this['editor']=_0x1a8499,this['textAdapter']=_0x4361a9,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x369368,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x426183,_0x20b815,_0x40ca6c)=>{this['view']['value']=this['_sanitizeHTML'](_0x40ca6c);}),this['listenTo'](this['view'],'submitPrompt',(_0x5a7b1e,_0x3ee43f)=>{const _0x4b31a7=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x3ee43f,_0x4b31a7,'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:_0x51b794,query:_0x4a4801,htmlContent:_0x42d5e0,label:_0x1d8c69,mainActionLabel:_0x59afc0}){this['view']['prompt']=_0x1d8c69,this['view']['mainAction']=_0x59afc0,this['initialContext']=_0x42d5e0,_0x4a4801&&(this['view']['isRendered']?this['_handleQuery'](_0x4a4801,_0x42d5e0,_0x51b794,_0x1d8c69):this['view']['once']('render',()=>{this['_handleQuery'](_0x4a4801,_0x42d5e0,_0x51b794,_0x1d8c69);}));}['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'](_0x57ed55,_0x39187a,_0x512cab,_0x484ff9){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x39187a,this['previousQuery']=_0x57ed55,this['previousLabel']=_0x484ff9||_0x57ed55,this['previousActionId']=_0x512cab,new Promise(_0x53a7ff=>{this['textAdapter']['makeRequest']({'query':_0x57ed55,'context':_0x39187a,'onData':_0x18cb3d=>{this['currentResponse']=_0x18cb3d,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x512cab})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x53969c=>{_0x53969c instanceof AIRequestError?this['view']['handleError'](_0x53969c['message']):this['view']['handleError'](),_0x53a7ff();})['finally'](()=>{this['stopProcessing'](),_0x53a7ff();});});}['_parseAndNormalizeContent'](_0x30f5d5,_0x184f86=!0x1){const _0x2a9cc1=Hn['exec'](_0x30f5d5);_0x30f5d5=_0x2a9cc1?_0x30f5d5['substring'](_0x2a9cc1[0x1]['length']):_0x30f5d5['length']<0x64&&!_0x184f86?'':this['_stripMarkdownSyntax'](_0x30f5d5);const _0x471bc1=this['_domParser']['parseFromString'](_0x30f5d5,'text/html');if(_0x2a9cc1){const _0x24e930=Array['from'](_0x471bc1['body']['childNodes']);_0x24e930['reverse']();for(const _0x8e2666 of _0x24e930){if(_0x8e2666['nodeType']==Node['ELEMENT_NODE'])break;_0x8e2666['remove']();}}const _0x3b6f7a=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x471bc1['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x3b6f7a);const _0x21ff1e=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x5a79bf=this['editor']['data']['toModel'](_0x3b6f7a);return _0x21ff1e||_0x5a79bf['markers']['clear'](),this['editor']['data']['stringify'](_0x5a79bf);}['_normalizeResponseHeadings'](_0x5d49a4){const _0x556a09=new _0x1d3328(this['editor']['editing']['view']['document']),_0xad616=new _0x35f644({'name':/^h[1-5]$/}),_0x2749f9=[];let _0x5f0352=!0x1;for(const _0x212cf8 of _0x5d49a4)_0x212cf8['is']('element')&&_0xad616['match'](_0x212cf8)&&(_0x2749f9['push'](_0x212cf8),'h1'==_0x212cf8['name']&&(_0x5f0352=!0x0));if(_0x5f0352){for(const _0xe2ac5 of _0x2749f9)_0x556a09['rename']('h'+(parseInt(_0xe2ac5['name'][0x1])+0x1),_0xe2ac5);}}['_isH1TagSupportEnabled'](){const {data:_0x2c5518,editing:_0x44e9b8}=this['editor'],_0x3d58b9=_0x2c5518['htmlProcessor']['toView']('<h1></h1>'),_0x180ccf=_0x2c5518['toView'](_0x2c5518['toModel'](_0x3d58b9));return!!_0x44e9b8['view']['domConverter']['viewToDom'](_0x180ccf)['querySelector']('h1');}['_sanitizeHTML'](_0x264aba){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x264aba),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x46d0a2){const _0x5536bb=_0x46d0a2['trim']();return _0x5536bb['startsWith']('```html')?_0x5536bb['endsWith']('```')?_0x5536bb['substring'](0x7,_0x5536bb['length']-0x3):_0x5536bb['substring'](0x7):_0x46d0a2;}}const Gn={'REPLACE':'replace','INSERT':'insert'};class AIFormToolbarView extends _0x3e23dd{constructor(_0x1054a3){super(_0x1054a3),this['set']('isVisible',!0x1),this['set']('mainAction',Gn['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x5c974e=>jn(_0x1054a3,'AI_'+_0x5c974e['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](jn(_0x1054a3,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](jn(_0x1054a3,'Try\x20again')),this['stopButton']=this['_createButton'](jn(_0x1054a3,'Stop'));const _0x7b0cd=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x7b0cd['if']('isVisible','ck-hidden',_0x28fb28=>!_0x28fb28)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x35ba64,_0x109006){const _0x273e75=new _0x1a631f(this['locale']);return _0x273e75['set']({'label':_0x35ba64,'class':_0x109006||'','isVisible':!0x0,'withText':!0x0}),_0x273e75;}}class AIFormContentArea extends _0x278baa{['contentFieldView'];['copyButtonView'];constructor(_0x4215c1,_0x44296d=''){super(_0x4215c1),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x26b8a6=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x4215c1,_0x44296d),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x26b8a6['if']('isVisible','ck-hidden',_0x2dac54=>!_0x2dac54)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x26b8a6['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 _0x2b1859=!0x1;this['on']('change:value',(_0x1330c0,_0x12722f,_0x56ca4a)=>{const _0x2121bc=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x56ca4a),this['isProcessing']&&_0x2121bc&&!_0x2b1859&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x3b59fc,_0x58e76d,_0xd7a850)=>{_0x2b1859=!0x1,_0xd7a850?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x2b1859=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x2b1859=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x26c9ca=this['locale'],_0x59296a=new _0x1a631f(this['locale']),_0x34c5e4='ck-ai-form__copy-button';return _0x59296a['set']({'label':jn(_0x26c9ca,'Copy'),'icon':_0x3fdc56,'class':_0x34c5e4,'tooltip':!0x0}),_0x59296a['bind']('isVisible')['to'](this,'value',_0x444a6b=>!!_0x444a6b),_0x59296a['bind']('isEnabled')['to'](this,'isProcessing',_0x5ddb43=>!_0x5ddb43),_0x59296a['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x59296a['icon']=_0x28777c,_0x59296a['class']=_0x34c5e4+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x59296a['icon']=_0x3fdc56,_0x59296a['class']=_0x34c5e4;},0x3e8);}),_0x59296a;}['_copyHTMLToClipboard'](_0x1f2e3d){const {window:_0x3f5eae,document:_0x1db31b}=_0x37cedc;if(_0x3f5eae['ClipboardItem']){const {Blob:_0x35d41a,ClipboardItem:_0x3dc2cd}=_0x3f5eae,_0x363c8e=[new _0x3dc2cd({'text/html':new _0x35d41a([_0x1f2e3d['innerHTML']],{'type':'text/html'}),'text/plain':new _0x35d41a([_0x1f2e3d['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x363c8e);}else{const _0x6eda16=_0x1db31b['createElement']('div');_0x6eda16['style']['position']='absolute',_0x6eda16['style']['left']='-9999px',_0x6eda16['innerHTML']='<span>[</span>'+_0x1f2e3d['innerHTML']+'<span>]</span>',_0x1db31b['body']['appendChild'](_0x6eda16);const _0x1d80c9=_0x1db31b['createRange']();_0x1d80c9['setStartAfter'](_0x6eda16['firstElementChild']),_0x1d80c9['setEndBefore'](_0x6eda16['lastElementChild']);const _0x50954f=_0x3f5eae['getSelection']();_0x50954f['removeAllRanges'](),_0x50954f['addRange'](_0x1d80c9),_0x1db31b['execCommand']('copy'),_0x6eda16['remove']();}}}class ContentFieldView extends _0x278baa{constructor(_0x3dc048,_0x36e629=''){super(_0x3dc048),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x36e629,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x1c45a7){this['element']['innerHTML']=_0x1c45a7;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0xee2dbb=new _0x278baa(),_0x3409cd=this['locale'],_0x24e9f9=new _0x5a3bb9();return _0x24e9f9['isVisible']=!0x0,_0xee2dbb['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x24e9f9,{'text':jn(_0x3409cd,'AI\x20is\x20writing...')}]}),_0xee2dbb['render'](),_0xee2dbb;}}class AIFormErrorView extends _0x278baa{constructor(_0x4c82d8,_0x524d1e=''){super(_0x4c82d8);const _0x563277=new _0x24ab51(),_0x257117=this['bindTemplate'];this['set']('text',_0x524d1e),_0x563277['content']=_0x3d3ce7,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x563277,{'text':_0x257117['to']('text')}]});}}class AIFormPromptView extends _0x3264fa{['submitButtonView'];['showHistoryButtonView'];constructor(_0x5486c6,_0x278785){super(_0x5486c6,_0x278785),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',(_0x76ffdb,_0x4d5772)=>{_0x76ffdb['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x4d5772());});}['_createSubmitButton'](){const _0x3c2f9e=new _0x1a631f(this['locale']),_0x415922=this['locale'];return _0x3c2f9e['set']({'icon':_0x27786c,'label':jn(_0x415922,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x3c2f9e['on']('execute',()=>{this['submit']();}),_0x3c2f9e['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x4c31e9,_0x17a871)=>!_0x4c31e9&&_0x17a871),_0x3c2f9e;}['_createShowHistoryButton'](){const _0x5987ca=new _0x1a631f(this['locale']),_0x10fcf1=this['resultsView'],_0x523df3=this['locale'];_0x5987ca['set']({'label':jn(_0x523df3,'History'),'withText':!0x1,'icon':_0x9eadb2,'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x5987ca['bind']('isOn')['to'](_0x10fcf1,'isVisible'),_0x5987ca['bind']('isEnabled')['to'](this,'isEnabled'),_0x5987ca['on']('execute',()=>{_0x10fcf1['isVisible']=!_0x10fcf1['isVisible'],_0x10fcf1['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x559155=()=>{_0x37cedc['window']['requestAnimationFrame'](()=>{if(_0x22a890(this['element'])){const _0xa2c6b=new _0xbeaf38(this['queryView']['fieldView']['element']),_0x4dc897=_0xa2c6b['width'],_0x539804='rtl'===_0x523df3['uiLanguageDirection']?'left':'right';_0xa2c6b['excludeScrollbarsAndBorders'](),_0x5987ca['element']['style'][_0x539804]=_0x4dc897-_0xa2c6b['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x559155),this['on']('render',_0x559155),_0x5987ca;}['submit'](){const _0x157641=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x157641);}['focus'](_0x54d705){-0x1===_0x54d705?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0x171307{['historyGroupView'];['clearHistoryButton'];constructor(_0x357b1a){super(_0x357b1a),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x494766(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=jn(_0x357b1a,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x19b457=0x0;for(const _0x499f7b of this['items'])_0x19b457+=_0x499f7b['items']['length'];return{'resultsCount':_0x19b457,'totalItemsCount':_0x19b457};}['_createClearHistoryButton'](){const _0x25d332=this['locale'],_0x53fc49=new _0x1a631f(this['locale']);return _0x53fc49['set']({'label':'('+jn(_0x25d332,'Clear')+')','withText':!0x0}),_0x53fc49['on']('execute',()=>this['fire']('clearHistory')),_0x53fc49;}}function Zn(_0x547c94){return null!=_0x547c94&&'function'!=typeof _0x547c94&&function(_0x50aa99){return Number['isSafeInteger'](_0x50aa99)&&_0x50aa99>=0x0;}(_0x547c94['length']);}function Xn(_0x5984e0){return'__proto__'===_0x5984e0;}function qn(_0x356311){switch(typeof _0x356311){case'number':case'symbol':return!0x1;case'string':return _0x356311['includes']('.')||_0x356311['includes']('[')||_0x356311['includes'](']');}}function Wn(_0x581a72){return'string'==typeof _0x581a72||'symbol'==typeof _0x581a72?_0x581a72:Object['is'](_0x581a72?.['valueOf']?.(),-0x0)?'-0':String(_0x581a72);}function zn(_0xfbcd3f){if(null==_0xfbcd3f)return'';if('string'==typeof _0xfbcd3f)return _0xfbcd3f;if(Array['isArray'](_0xfbcd3f))return _0xfbcd3f['map'](zn)['join'](',');const _0x381bba=String(_0xfbcd3f);return'0'===_0x381bba&&Object['is'](Number(_0xfbcd3f),-0x0)?'-0':_0x381bba;}function Yn(_0x8bc2d0){if(Array['isArray'](_0x8bc2d0))return _0x8bc2d0['map'](Wn);if('symbol'==typeof _0x8bc2d0)return[_0x8bc2d0];const _0x793862=[],_0x22eade=(_0x8bc2d0=zn(_0x8bc2d0))['length'];if(0x0===_0x22eade)return _0x793862;let _0x1f5725=0x0,_0xb3dab0='',_0x2d6651='',_0x42d831=!0x1;for(0x2e===_0x8bc2d0['charCodeAt'](0x0)&&(_0x793862['push'](''),_0x1f5725++);_0x1f5725<_0x22eade;){const _0x53b474=_0x8bc2d0[_0x1f5725];_0x2d6651?'\x5c'===_0x53b474&&_0x1f5725+0x1<_0x22eade?(_0x1f5725++,_0xb3dab0+=_0x8bc2d0[_0x1f5725]):_0x53b474===_0x2d6651?_0x2d6651='':_0xb3dab0+=_0x53b474:_0x42d831?'\x22'===_0x53b474||'\x27'===_0x53b474?_0x2d6651=_0x53b474:']'===_0x53b474?(_0x42d831=!0x1,_0x793862['push'](_0xb3dab0),_0xb3dab0=''):_0xb3dab0+=_0x53b474:'['===_0x53b474?(_0x42d831=!0x0,_0xb3dab0&&(_0x793862['push'](_0xb3dab0),_0xb3dab0='')):'.'===_0x53b474?_0xb3dab0&&(_0x793862['push'](_0xb3dab0),_0xb3dab0=''):_0xb3dab0+=_0x53b474,_0x1f5725++;}return _0xb3dab0&&_0x793862['push'](_0xb3dab0),_0x793862;}function Kn(_0x27f25f,_0x3bd862,_0x11f66b){if(null==_0x27f25f)return _0x11f66b;switch(typeof _0x3bd862){case'string':{if(Xn(_0x3bd862))return _0x11f66b;const _0x3011eb=_0x27f25f[_0x3bd862];return void 0x0===_0x3011eb?qn(_0x3bd862)?Kn(_0x27f25f,Yn(_0x3bd862),_0x11f66b):_0x11f66b:_0x3011eb;}case'number':case'symbol':{'number'==typeof _0x3bd862&&(_0x3bd862=Wn(_0x3bd862));const _0x227672=_0x27f25f[_0x3bd862];return void 0x0===_0x227672?_0x11f66b:_0x227672;}default:{if(Array['isArray'](_0x3bd862))return function(_0x3f175a,_0xf264d6,_0x56bda2){if(0x0===_0xf264d6['length'])return _0x56bda2;let _0x5b8bbc=_0x3f175a;for(let _0x1f2f48=0x0;_0x1f2f48<_0xf264d6['length'];_0x1f2f48++){if(null==_0x5b8bbc)return _0x56bda2;if(Xn(_0xf264d6[_0x1f2f48]))return _0x56bda2;_0x5b8bbc=_0x5b8bbc[_0xf264d6[_0x1f2f48]];}if(void 0x0===_0x5b8bbc)return _0x56bda2;return _0x5b8bbc;}(_0x27f25f,_0x3bd862,_0x11f66b);if(Xn(_0x3bd862=Object['is'](_0x3bd862?.['valueOf'](),-0x0)?'-0':String(_0x3bd862)))return _0x11f66b;const _0x34dbeb=_0x27f25f[_0x3bd862];return void 0x0===_0x34dbeb?_0x11f66b:_0x34dbeb;}}}function Jn(_0x507283){return null!==_0x507283&&('object'==typeof _0x507283||'function'==typeof _0x507283);}function tr(_0x5ae40e,_0x5b0cdb){return _0x5ae40e===_0x5b0cdb||Number['isNaN'](_0x5ae40e)&&Number['isNaN'](_0x5b0cdb);}function er(_0x3c23ce){return Object['getOwnPropertySymbols'](_0x3c23ce)['filter'](_0x20cb9f=>Object['prototype']['propertyIsEnumerable']['call'](_0x3c23ce,_0x20cb9f));}function ir(_0x4d8c07){return null==_0x4d8c07?void 0x0===_0x4d8c07?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x4d8c07);}const sr='[object\x20RegExp]',nr='[object\x20String]',rr='[object\x20Number]',or='[object\x20Boolean]',ar='[object\x20Arguments]',cr='[object\x20Symbol]',lr='[object\x20Date]',hr='[object\x20Map]',ur='[object\x20Set]',dr='[object\x20Array]',fr='[object\x20ArrayBuffer]',mr='[object\x20Object]',gr='[object\x20DataView]',pr='[object\x20Uint8Array]',Or='[object\x20Uint8ClampedArray]',wr='[object\x20Uint16Array]',br='[object\x20Uint32Array]',yr='[object\x20Int8Array]',vr='[object\x20Int16Array]',_r='[object\x20Int32Array]',Er='[object\x20Float32Array]',Tr='[object\x20Float64Array]';function Ar(_0x465bbf){return ArrayBuffer['isView'](_0x465bbf)&&!(_0x465bbf instanceof DataView);}function Sr(_0x585e97,_0x5129bc,_0x12625e,_0x5ea64b=new Map(),_0x271ba3=void 0x0){const _0x2d5050=_0x271ba3?.(_0x585e97,_0x5129bc,_0x12625e,_0x5ea64b);if(void 0x0!==_0x2d5050)return _0x2d5050;if(function(_0x3d6ec2){return null==_0x3d6ec2||'object'!=typeof _0x3d6ec2&&'function'!=typeof _0x3d6ec2;}(_0x585e97))return _0x585e97;if(_0x5ea64b['has'](_0x585e97))return _0x5ea64b['get'](_0x585e97);if(Array['isArray'](_0x585e97)){const _0x44eac5=new Array(_0x585e97['length']);_0x5ea64b['set'](_0x585e97,_0x44eac5);for(let _0x31e8c0=0x0;_0x31e8c0<_0x585e97['length'];_0x31e8c0++)_0x44eac5[_0x31e8c0]=Sr(_0x585e97[_0x31e8c0],_0x31e8c0,_0x12625e,_0x5ea64b,_0x271ba3);return Object['hasOwn'](_0x585e97,'index')&&(_0x44eac5['index']=_0x585e97['index']),Object['hasOwn'](_0x585e97,'input')&&(_0x44eac5['input']=_0x585e97['input']),_0x44eac5;}if(_0x585e97 instanceof Date)return new Date(_0x585e97['getTime']());if(_0x585e97 instanceof RegExp){const _0x5a501f=new RegExp(_0x585e97['source'],_0x585e97['flags']);return _0x5a501f['lastIndex']=_0x585e97['lastIndex'],_0x5a501f;}if(_0x585e97 instanceof Map){const _0x3ddd9f=new Map();_0x5ea64b['set'](_0x585e97,_0x3ddd9f);for(const [_0x3fda12,_0x3ec0d0]of _0x585e97)_0x3ddd9f['set'](_0x3fda12,Sr(_0x3ec0d0,_0x3fda12,_0x12625e,_0x5ea64b,_0x271ba3));return _0x3ddd9f;}if(_0x585e97 instanceof Set){const _0x121049=new Set();_0x5ea64b['set'](_0x585e97,_0x121049);for(const _0x1d3dd9 of _0x585e97)_0x121049['add'](Sr(_0x1d3dd9,void 0x0,_0x12625e,_0x5ea64b,_0x271ba3));return _0x121049;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x585e97))return _0x585e97['subarray']();if(Ar(_0x585e97)){const _0xf5e0ee=new(Object['getPrototypeOf'](_0x585e97))['constructor'](_0x585e97['length']);_0x5ea64b['set'](_0x585e97,_0xf5e0ee);for(let _0x26f3fc=0x0;_0x26f3fc<_0x585e97['length'];_0x26f3fc++)_0xf5e0ee[_0x26f3fc]=Sr(_0x585e97[_0x26f3fc],_0x26f3fc,_0x12625e,_0x5ea64b,_0x271ba3);return _0xf5e0ee;}if(_0x585e97 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x585e97 instanceof SharedArrayBuffer)return _0x585e97['slice'](0x0);if(_0x585e97 instanceof DataView){const _0x814152=new DataView(_0x585e97['buffer']['slice'](0x0),_0x585e97['byteOffset'],_0x585e97['byteLength']);return _0x5ea64b['set'](_0x585e97,_0x814152),Ir(_0x814152,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x814152;}if('undefined'!=typeof File&&_0x585e97 instanceof File){const _0x406845=new File([_0x585e97],_0x585e97['name'],{'type':_0x585e97['type']});return _0x5ea64b['set'](_0x585e97,_0x406845),Ir(_0x406845,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x406845;}if('undefined'!=typeof Blob&&_0x585e97 instanceof Blob){const _0x4c3c1a=new Blob([_0x585e97],{'type':_0x585e97['type']});return _0x5ea64b['set'](_0x585e97,_0x4c3c1a),Ir(_0x4c3c1a,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x4c3c1a;}if(_0x585e97 instanceof Error){const _0x25eb72=structuredClone(_0x585e97);return _0x5ea64b['set'](_0x585e97,_0x25eb72),_0x25eb72['message']=_0x585e97['message'],_0x25eb72['name']=_0x585e97['name'],_0x25eb72['stack']=_0x585e97['stack'],_0x25eb72['cause']=_0x585e97['cause'],_0x25eb72['constructor']=_0x585e97['constructor'],Ir(_0x25eb72,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x25eb72;}if(_0x585e97 instanceof Boolean){const _0x1bafae=new Boolean(_0x585e97['valueOf']());return _0x5ea64b['set'](_0x585e97,_0x1bafae),Ir(_0x1bafae,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x1bafae;}if(_0x585e97 instanceof Number){const _0x337b91=new Number(_0x585e97['valueOf']());return _0x5ea64b['set'](_0x585e97,_0x337b91),Ir(_0x337b91,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x337b91;}if(_0x585e97 instanceof String){const _0x49c551=new String(_0x585e97['valueOf']());return _0x5ea64b['set'](_0x585e97,_0x49c551),Ir(_0x49c551,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x49c551;}if('object'==typeof _0x585e97&&function(_0x5c3ece){switch(ir(_0x5c3ece)){case ar:case dr:case fr:case gr:case or:case lr:case Er:case Tr:case yr:case vr:case _r:case hr:case rr:case mr:case sr:case ur:case nr:case cr:case pr:case Or:case wr:case br:return!0x0;default:return!0x1;}}(_0x585e97)){const _0x5371e6=Object['create'](Object['getPrototypeOf'](_0x585e97));return _0x5ea64b['set'](_0x585e97,_0x5371e6),Ir(_0x5371e6,_0x585e97,_0x12625e,_0x5ea64b,_0x271ba3),_0x5371e6;}return _0x585e97;}function Ir(_0x49a9c4,_0x9a1267,_0x32b057=_0x49a9c4,_0x1cec31,_0x2019ab){const _0x460a56=[...Object['keys'](_0x9a1267),...er(_0x9a1267)];for(let _0x5237bc=0x0;_0x5237bc<_0x460a56['length'];_0x5237bc++){const _0x2ab341=_0x460a56[_0x5237bc],_0xd82f9d=Object['getOwnPropertyDescriptor'](_0x49a9c4,_0x2ab341);(null==_0xd82f9d||_0xd82f9d['writable'])&&(_0x49a9c4[_0x2ab341]=Sr(_0x9a1267[_0x2ab341],_0x2ab341,_0x32b057,_0x1cec31,_0x2019ab));}}function Cr(_0x4eb3a9,_0x1a84a7){return function(_0x1ce7fb,_0x4131da){return Sr(_0x1ce7fb,void 0x0,_0x1ce7fb,new Map(),_0x4131da);}(_0x4eb3a9,(_0x215be2,_0x31303a,_0x466169,_0x39284c)=>{const _0x225c8d=_0x1a84a7?.(_0x215be2,_0x31303a,_0x466169,_0x39284c);if(void 0x0!==_0x225c8d)return _0x225c8d;if('object'==typeof _0x4eb3a9){if(ir(_0x4eb3a9)===mr&&'function'!=typeof _0x4eb3a9['constructor']){const _0x14db5e={};return _0x39284c['set'](_0x4eb3a9,_0x14db5e),Ir(_0x14db5e,_0x4eb3a9,_0x466169,_0x39284c),_0x14db5e;}switch(Object['prototype']['toString']['call'](_0x4eb3a9)){case rr:case nr:case or:{const _0x3ab3ee=new _0x4eb3a9['constructor'](_0x4eb3a9?.['valueOf']());return Ir(_0x3ab3ee,_0x4eb3a9),_0x3ab3ee;}case ar:{const _0x4669d7={};return Ir(_0x4669d7,_0x4eb3a9),_0x4669d7['length']=_0x4eb3a9['length'],_0x4669d7[Symbol['iterator']]=_0x4eb3a9[Symbol['iterator']],_0x4669d7;}default:return;}}});}function kr(_0x6003ae){return Cr(_0x6003ae);}const xr=/^(?:0|[1-9]\d*)$/;function Rr(_0x22328c,_0x5a1780=Number['MAX_SAFE_INTEGER']){switch(typeof _0x22328c){case'number':return Number['isInteger'](_0x22328c)&&_0x22328c>=0x0&&_0x22328c<_0x5a1780;case'symbol':return!0x1;case'string':return xr['test'](_0x22328c);}}function Pr(_0x4c0a19){return'symbol'==typeof _0x4c0a19||_0x4c0a19 instanceof Symbol;}function Mr(_0x2d6541){if(!_0x2d6541)return 0x0===_0x2d6541?_0x2d6541:0x0;if((_0x2d6541=function(_0x50ce9d){return Pr(_0x50ce9d)?NaN:Number(_0x50ce9d);}(_0x2d6541))===0x1/0x0||_0x2d6541===-0x1/0x0)return(_0x2d6541<0x0?-0x1:0x1)*Number['MAX_VALUE'];return _0x2d6541==_0x2d6541?_0x2d6541:0x0;}const Nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;function $r(_0x1e4883,_0x24390d){if(null==_0x1e4883)return!0x0;switch(typeof _0x24390d){case'symbol':case'number':case'object':if(Array['isArray'](_0x24390d))return Dr(_0x1e4883,_0x24390d);if('number'==typeof _0x24390d?_0x24390d=Wn(_0x24390d):'object'==typeof _0x24390d&&(_0x24390d=Object['is'](_0x24390d?.['valueOf'](),-0x0)?'-0':String(_0x24390d)),Xn(_0x24390d))return!0x1;if(void 0x0===_0x1e4883?.[_0x24390d])return!0x0;try{return delete _0x1e4883[_0x24390d],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x1e4883?.[_0x24390d]&&qn(_0x24390d))return Dr(_0x1e4883,Yn(_0x24390d));if(Xn(_0x24390d))return!0x1;try{return delete _0x1e4883[_0x24390d],!0x0;}catch{return!0x1;}}}function Dr(_0x24037c,_0x1efe03){const _0x3fe91e=0x1===_0x1efe03['length']?_0x24037c:Kn(_0x24037c,_0x1efe03['slice'](0x0,-0x1)),_0x45407d=_0x1efe03[_0x1efe03['length']-0x1];if(void 0x0===_0x3fe91e?.[_0x45407d])return!0x0;if(Xn(_0x45407d))return!0x1;try{return delete _0x3fe91e[_0x45407d],!0x0;}catch{return!0x1;}}const Qr=(_0x590773,_0x37e4d6,_0x43aa00)=>{const _0x19e91b=_0x590773[_0x37e4d6];Object['hasOwn'](_0x590773,_0x37e4d6)&&tr(_0x19e91b,_0x43aa00)&&(void 0x0!==_0x43aa00||_0x37e4d6 in _0x590773)||(_0x590773[_0x37e4d6]=_0x43aa00);};function Vr(_0x382453,_0x2e5b83,_0x5ac7d2,_0x5743b9){if(null==_0x382453&&!Jn(_0x382453))return _0x382453;let _0x19e393;_0x19e393=function(_0x58930c,_0x48214a){return!Array['isArray'](_0x58930c)&&(!('number'!=typeof _0x58930c&&'boolean'!=typeof _0x58930c&&null!=_0x58930c&&!Pr(_0x58930c))||'string'==typeof _0x58930c&&(Lr['test'](_0x58930c)||!Nr['test'](_0x58930c))||null!=_0x48214a&&Object['hasOwn'](_0x48214a,_0x58930c));}(_0x2e5b83,_0x382453)?[_0x2e5b83]:Array['isArray'](_0x2e5b83)?_0x2e5b83:Yn(_0x2e5b83);const _0x527cd6=_0x5ac7d2(Kn(_0x382453,_0x19e393));let _0x37ab2b=_0x382453;for(let _0x4dc4e1=0x0;_0x4dc4e1<_0x19e393['length']&&null!=_0x37ab2b;_0x4dc4e1++){const _0x1762e5=Wn(_0x19e393[_0x4dc4e1]);if(Xn(_0x1762e5))continue;let _0x4c0686;if(_0x4dc4e1===_0x19e393['length']-0x1)_0x4c0686=_0x527cd6;else{const _0x53ac2a=_0x37ab2b[_0x1762e5],_0x47bb36=_0x5743b9?.(_0x53ac2a,_0x1762e5,_0x382453);_0x4c0686=void 0x0!==_0x47bb36?_0x47bb36:Jn(_0x53ac2a)?_0x53ac2a:Rr(_0x19e393[_0x4dc4e1+0x1])?[]:{};}Qr(_0x37ab2b,_0x1762e5,_0x4c0686),_0x37ab2b=_0x37ab2b[_0x1762e5];}return _0x382453;}function Ur(_0x5ce958,_0x1bfe55,_0x54e392){return Vr(_0x5ce958,_0x1bfe55,()=>_0x54e392,()=>{});}function Br(_0x55fcb9,_0x59d9a5,{signal:_0x47a834,edges:_0x57908f}={}){let _0x530f87,_0x35f3de=null;const _0x4e12be=null!=_0x57908f&&_0x57908f['includes']('leading'),_0x50b645=null==_0x57908f||_0x57908f['includes']('trailing'),_0x4c1d70=()=>{null!==_0x35f3de&&(_0x55fcb9['apply'](_0x530f87,_0x35f3de),_0x530f87=void 0x0,_0x35f3de=null);};let _0x182675=null;const _0xbac93=()=>{null!=_0x182675&&clearTimeout(_0x182675),_0x182675=setTimeout(()=>{_0x182675=null,_0x50b645&&_0x4c1d70(),_0x542c86();},_0x59d9a5);},_0x542c86=()=>{null!==_0x182675&&(clearTimeout(_0x182675),_0x182675=null),_0x530f87=void 0x0,_0x35f3de=null;},_0x298a6d=function(..._0x54f5d6){if(_0x47a834?.['aborted'])return;_0x530f87=this,_0x35f3de=_0x54f5d6;const _0x25bc15=null==_0x182675;_0xbac93(),_0x4e12be&&_0x25bc15&&_0x4c1d70();};return _0x298a6d['schedule']=_0xbac93,_0x298a6d['cancel']=_0x542c86,_0x298a6d['flush']=()=>{_0x4c1d70();},_0x47a834?.['addEventListener']('abort',_0x542c86,{'once':!0x0}),_0x298a6d;}function jr(_0x3e5918,_0x1ef5ac=0x0,_0x3573be={}){'object'!=typeof _0x3573be&&(_0x3573be={});const {leading:_0x355da8=!0x1,trailing:_0x16d7db=!0x0,maxWait:_0x1bd41a}=_0x3573be,_0x102727=Array(0x2);let _0x46d176;_0x355da8&&(_0x102727[0x0]='leading'),_0x16d7db&&(_0x102727[0x1]='trailing');let _0x3af017=null;const _0x1c4f2c=Br(function(..._0x16345b){_0x46d176=_0x3e5918['apply'](this,_0x16345b),_0x3af017=null;},_0x1ef5ac,{'edges':_0x102727}),_0x2d0685=function(..._0x5213b1){return null!=_0x1bd41a&&(null===_0x3af017&&(_0x3af017=Date['now']()),Date['now']()-_0x3af017>=_0x1bd41a)?(_0x46d176=_0x3e5918['apply'](this,_0x5213b1),_0x3af017=Date['now'](),_0x1c4f2c['cancel'](),_0x1c4f2c['schedule'](),_0x46d176):(_0x1c4f2c['apply'](this,_0x5213b1),_0x46d176);};return _0x2d0685['cancel']=_0x1c4f2c['cancel'],_0x2d0685['flush']=()=>(_0x1c4f2c['flush'](),_0x46d176),_0x2d0685;}function Fr(_0x599ae4,_0x513db3=0x0,_0x3aa91c={}){const {leading:_0x589e2c=!0x0,trailing:_0x394072=!0x0}=_0x3aa91c;return jr(_0x599ae4,_0x513db3,{'leading':_0x589e2c,'maxWait':_0x513db3,'trailing':_0x394072});}function Hr(_0x34a43c){if(!_0x34a43c||'object'!=typeof _0x34a43c)return!0x1;const _0x23efa5=Object['getPrototypeOf'](_0x34a43c);return!(null!==_0x23efa5&&_0x23efa5!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x23efa5))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x34a43c);}function Gr(_0x32dbbe,_0x3df200,_0x48de39,_0x269fa1,_0x5a188f,_0x15dadd,_0x147a30){const _0x2c75f7=_0x147a30(_0x32dbbe,_0x3df200,_0x48de39,_0x269fa1,_0x5a188f,_0x15dadd);if(void 0x0!==_0x2c75f7)return _0x2c75f7;if(typeof _0x32dbbe==typeof _0x3df200)switch(typeof _0x32dbbe){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x32dbbe===_0x3df200;case'number':return _0x32dbbe===_0x3df200||Object['is'](_0x32dbbe,_0x3df200);case'object':return Zr(_0x32dbbe,_0x3df200,_0x15dadd,_0x147a30);}return Zr(_0x32dbbe,_0x3df200,_0x15dadd,_0x147a30);}function Zr(_0x5a6430,_0xdd5f2a,_0x1dd49b,_0x39785f){if(Object['is'](_0x5a6430,_0xdd5f2a))return!0x0;let _0x3eb944=ir(_0x5a6430),_0x3783d9=ir(_0xdd5f2a);if(_0x3eb944===ar&&(_0x3eb944=mr),_0x3783d9===ar&&(_0x3783d9=mr),_0x3eb944!==_0x3783d9)return!0x1;switch(_0x3eb944){case nr:return _0x5a6430['toString']()===_0xdd5f2a['toString']();case rr:return tr(_0x5a6430['valueOf'](),_0xdd5f2a['valueOf']());case or:case lr:case cr:return Object['is'](_0x5a6430['valueOf'](),_0xdd5f2a['valueOf']());case sr:return _0x5a6430['source']===_0xdd5f2a['source']&&_0x5a6430['flags']===_0xdd5f2a['flags'];case'[object\x20Function]':return _0x5a6430===_0xdd5f2a;}const _0x41f7c6=(_0x1dd49b=_0x1dd49b??new Map())['get'](_0x5a6430),_0x5d7d0c=_0x1dd49b['get'](_0xdd5f2a);if(null!=_0x41f7c6&&null!=_0x5d7d0c)return _0x41f7c6===_0xdd5f2a;_0x1dd49b['set'](_0x5a6430,_0xdd5f2a),_0x1dd49b['set'](_0xdd5f2a,_0x5a6430);try{switch(_0x3eb944){case hr:if(_0x5a6430['size']!==_0xdd5f2a['size'])return!0x1;for(const [_0x1dc3a4,_0x24f2aa]of _0x5a6430['entries']())if(!_0xdd5f2a['has'](_0x1dc3a4)||!Gr(_0x24f2aa,_0xdd5f2a['get'](_0x1dc3a4),_0x1dc3a4,_0x5a6430,_0xdd5f2a,_0x1dd49b,_0x39785f))return!0x1;return!0x0;case ur:{if(_0x5a6430['size']!==_0xdd5f2a['size'])return!0x1;const _0x31bf72=Array['from'](_0x5a6430['values']()),_0xddc5c5=Array['from'](_0xdd5f2a['values']());for(let _0x4ad8ef=0x0;_0x4ad8ef<_0x31bf72['length'];_0x4ad8ef++){const _0x442537=_0x31bf72[_0x4ad8ef],_0x3ba437=_0xddc5c5['findIndex'](_0x45bf55=>Gr(_0x442537,_0x45bf55,void 0x0,_0x5a6430,_0xdd5f2a,_0x1dd49b,_0x39785f));if(-0x1===_0x3ba437)return!0x1;_0xddc5c5['splice'](_0x3ba437,0x1);}return!0x0;}case dr:case pr:case Or:case wr:case br:case'[object\x20BigUint64Array]':case yr:case vr:case _r:case'[object\x20BigInt64Array]':case Er:case Tr:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x5a6430)!==Buffer['isBuffer'](_0xdd5f2a))return!0x1;if(_0x5a6430['length']!==_0xdd5f2a['length'])return!0x1;for(let _0x43dd76=0x0;_0x43dd76<_0x5a6430['length'];_0x43dd76++)if(!Gr(_0x5a6430[_0x43dd76],_0xdd5f2a[_0x43dd76],_0x43dd76,_0x5a6430,_0xdd5f2a,_0x1dd49b,_0x39785f))return!0x1;return!0x0;case fr:return _0x5a6430['byteLength']===_0xdd5f2a['byteLength']&&Zr(new Uint8Array(_0x5a6430),new Uint8Array(_0xdd5f2a),_0x1dd49b,_0x39785f);case gr:return _0x5a6430['byteLength']===_0xdd5f2a['byteLength']&&_0x5a6430['byteOffset']===_0xdd5f2a['byteOffset']&&Zr(new Uint8Array(_0x5a6430),new Uint8Array(_0xdd5f2a),_0x1dd49b,_0x39785f);case'[object\x20Error]':return _0x5a6430['name']===_0xdd5f2a['name']&&_0x5a6430['message']===_0xdd5f2a['message'];case mr:{if(!(Zr(_0x5a6430['constructor'],_0xdd5f2a['constructor'],_0x1dd49b,_0x39785f)||Hr(_0x5a6430)&&Hr(_0xdd5f2a)))return!0x1;const _0x199a88=[...Object['keys'](_0x5a6430),...er(_0x5a6430)],_0x4558ee=[...Object['keys'](_0xdd5f2a),...er(_0xdd5f2a)];if(_0x199a88['length']!==_0x4558ee['length'])return!0x1;for(let _0x31fce2=0x0;_0x31fce2<_0x199a88['length'];_0x31fce2++){const _0x426d33=_0x199a88[_0x31fce2],_0x13f7c2=_0x5a6430[_0x426d33];if(!Object['hasOwn'](_0xdd5f2a,_0x426d33))return!0x1;if(!Gr(_0x13f7c2,_0xdd5f2a[_0x426d33],_0x426d33,_0x5a6430,_0xdd5f2a,_0x1dd49b,_0x39785f))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x1dd49b['delete'](_0x5a6430),_0x1dd49b['delete'](_0xdd5f2a);}}function Xr(){}function qr(_0x296353,_0x58dc77){return function(_0x253277,_0x38299e,_0x858a9f){return Gr(_0x253277,_0x38299e,void 0x0,void 0x0,void 0x0,void 0x0,_0x858a9f);}(_0x296353,_0x58dc77,Xr);}function Wr(_0x443f50,_0x406e70){if(_0x443f50=function(_0x30bdce){const _0x1e6aa6=Mr(_0x30bdce),_0x216b58=_0x1e6aa6%0x1;return _0x216b58?_0x1e6aa6-_0x216b58:_0x1e6aa6;}(_0x443f50),_0x443f50<0x1||!Number['isSafeInteger'](_0x443f50))return[];const _0x50b42=new Array(_0x443f50);for(let _0x4c1719=0x0;_0x4c1719<_0x443f50;_0x4c1719++)_0x50b42[_0x4c1719]='function'==typeof _0x406e70?_0x406e70(_0x4c1719):_0x4c1719;return _0x50b42;}function zr(_0x21a887){if(null==_0x21a887)return[];switch(typeof _0x21a887){case'object':case'function':return Zn(_0x21a887)?function(_0x893b51){const _0x2eb9b7=Wr(_0x893b51['length'],_0x3ac37=>''+_0x3ac37),_0x3e544b=new Set(_0x2eb9b7);(function(_0x131361){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x131361);}(_0x893b51)&&(_0x3e544b['add']('offset'),_0x3e544b['add']('parent')),function(_0x453e2b){return Ar(_0x453e2b);}(_0x893b51)&&(_0x3e544b['add']('buffer'),_0x3e544b['add']('byteLength'),_0x3e544b['add']('byteOffset')));const _0x133ac0=Yr(_0x893b51)['filter'](_0x5ed2c4=>!_0x3e544b['has'](_0x5ed2c4));if(Array['isArray'](_0x893b51))return[..._0x2eb9b7,..._0x133ac0];return[..._0x2eb9b7['filter'](_0x3c055b=>Object['hasOwn'](_0x893b51,_0x3c055b)),..._0x133ac0];}(_0x21a887):function(_0x3574fb){const _0x131833=_0x3574fb?.['constructor'];return _0x3574fb===('function'==typeof _0x131833?_0x131833['prototype']:Object['prototype']);}(_0x21a887)?function(_0x3750b0){const _0x1bd875=Yr(_0x3750b0);return _0x1bd875['filter'](_0x55fe37=>'constructor'!==_0x55fe37);}(_0x21a887):Yr(_0x21a887);default:return Yr(Object(_0x21a887));}}function Yr(_0x13bc45){const _0x421f0e=[];for(const _0x35e48d in _0x13bc45)_0x421f0e['push'](_0x35e48d);return _0x421f0e;}function Kr(_0x523dac){if('object'!=typeof _0x523dac)return!0x1;if(null==_0x523dac)return!0x1;if(null===Object['getPrototypeOf'](_0x523dac))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x523dac)){const _0x353aaf=_0x523dac[Symbol['toStringTag']];if(null==_0x353aaf)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x523dac,Symbol['toStringTag'])?.['writable']&&_0x523dac['toString']()==='[object\x20'+_0x353aaf+']';}let _0x3e5eb1=_0x523dac;for(;null!==Object['getPrototypeOf'](_0x3e5eb1);)_0x3e5eb1=Object['getPrototypeOf'](_0x3e5eb1);return Object['getPrototypeOf'](_0x523dac)===_0x3e5eb1;}function Jr(_0x3e2374){const _0x442a38=[];for(;_0x3e2374;)_0x442a38['push'](...er(_0x3e2374)),_0x3e2374=Object['getPrototypeOf'](_0x3e2374);return _0x442a38;}function to(_0x4ac1db,..._0x9aa408){if(null==_0x4ac1db)return{};_0x9aa408=function(_0x12b8fd,_0x5c0d38=0x1){const _0x22d19f=[],_0x317156=Math['floor'](_0x5c0d38);if(!Zn(_0x12b8fd))return _0x22d19f;const _0x187ff1=(_0x2d7c98,_0x4f857e)=>{for(let _0x28a948=0x0;_0x28a948<_0x2d7c98['length'];_0x28a948++){const _0x29e9de=_0x2d7c98[_0x28a948];_0x4f857e<_0x317156&&(Array['isArray'](_0x29e9de)||Boolean(_0x29e9de?.[Symbol['isConcatSpreadable']])||null!==_0x29e9de&&'object'==typeof _0x29e9de&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x29e9de))?Array['isArray'](_0x29e9de)?_0x187ff1(_0x29e9de,_0x4f857e+0x1):_0x187ff1(Array['from'](_0x29e9de),_0x4f857e+0x1):_0x22d19f['push'](_0x29e9de);}};return _0x187ff1(Array['from'](_0x12b8fd),0x0),_0x22d19f;}(_0x9aa408);const _0x18d1a0=function(_0x4faaa1,_0x1d2068){const _0x334af4=_0x1d2068['some'](_0x21fa4c=>Array['isArray'](_0x21fa4c)||qn(_0x21fa4c));if(_0x334af4)return function(_0x1ebe74){const _0xe3b2d3={},_0x3efc1a=[...zr(_0x1ebe74),...Jr(_0x1ebe74)];for(let _0x1529d0=0x0;_0x1529d0<_0x3efc1a['length'];_0x1529d0++){const _0xf01bcb=_0x3efc1a[_0x1529d0];_0xe3b2d3[_0xf01bcb]=Cr(_0x1ebe74[_0xf01bcb],_0x8ca38c=>{if(!Kr(_0x8ca38c))return _0x8ca38c;});}return _0xe3b2d3;}(_0x4faaa1);return function(_0x1bae14){const _0x39505e={},_0x2ca610=[...zr(_0x1bae14),...Jr(_0x1bae14)];for(let _0x28fd63=0x0;_0x28fd63<_0x2ca610['length'];_0x28fd63++){const _0x1c576c=_0x2ca610[_0x28fd63];_0x39505e[_0x1c576c]=_0x1bae14[_0x1c576c];}return _0x39505e;}(_0x4faaa1);}(_0x4ac1db,_0x9aa408);for(let _0x242619=0x0;_0x242619<_0x9aa408['length'];_0x242619++){let _0x5964ed=_0x9aa408[_0x242619];switch(typeof _0x5964ed){case'object':Array['isArray'](_0x5964ed)||(_0x5964ed=Array['from'](_0x5964ed));for(let _0x2b46c6=0x0;_0x2b46c6<_0x5964ed['length'];_0x2b46c6++){$r(_0x18d1a0,_0x5964ed[_0x2b46c6]);}break;case'string':case'symbol':case'number':$r(_0x18d1a0,_0x5964ed);}}return _0x18d1a0;}const eo={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function io(_0x419fd2){return zn(_0x419fd2)['replace'](/[&<>"']/g,_0x1de4e4=>eo[_0x1de4e4]);}function so(_0x1f8f5f){return function(_0xb7ae2d){return _0xb7ae2d['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(zn(_0x1f8f5f));}const no={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function ro(_0x4c0ae8){return function(_0x500789){return _0x500789['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x3362d0=>no[_0x3362d0]||'\x27');}(zn(_0x4c0ae8));}class AIHistoryListItemView extends _0x3a2da2{constructor(_0x1c3ee4){super();const _0x540dd6=new tt(),_0x51e631=new _0x1a631f(this['locale'],_0x540dd6);this['children']['add'](_0x51e631),_0x51e631['set']({'label':_0x1c3ee4['prompt'],'withText':!0x0}),_0x51e631['on']('execute',()=>{this['fire']('execute',{'value':ro(_0x1c3ee4['prompt'])});});}}const oo='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0x307d11{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x59c6fa,_0xdf7f96)=>{const _0x583ea2=ao(_0xdf7f96['prompt']);for(const _0x3a0abe of this)if(_0x3a0abe!=_0xdf7f96&&ao(_0x3a0abe['prompt'])===_0x583ea2){this['remove'](_0x3a0abe);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x1ff9db=sessionStorage['getItem'](oo)||'[]';this['addMany'](JSON['parse'](_0x1ff9db));}['_saveToSessionStorage'](){sessionStorage['setItem'](oo,JSON['stringify'](this['map'](_0x25f6a4=>_0x25f6a4)));}}function ao(_0x127065){return _0x127065['toLowerCase']()['trim']();}class AIFormView extends _0x278baa{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x5131f3,_0x46e7c8,_0x4b5d12=''){super(_0x5131f3),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',Gn['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new AIFormErrorView(_0x5131f3),this['contentArea']=new AIFormContentArea(_0x5131f3,_0x4b5d12),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 _0x2423e3(),this['keystrokes']=new _0x247474(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new et({'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 _0x5d2015=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x46e7c8],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x5d2015['if']('isError','ck-hidden',_0x19a758=>!_0x19a758)]},'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'](_0x4dbbb6=0x1){-0x1===_0x4dbbb6?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 _0x157a50=this['locale'],_0x15929a=new AIFormPromptView(_0x157a50,{'queryView':{'label':jn(_0x157a50,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':it,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':jn(_0x157a50,'Empty\x20history'),'secondary':jn(_0x157a50,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x15929a['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x1edd75,_0x22d609)=>_0x1edd75&&!_0x22d609),this['listenTo'](_0x15929a,'submit',(_0x2b453d,_0x5985b8)=>{this['prompt']=_0x5985b8;const _0x5abb04=io(_0x5985b8);this['fire']('submitPrompt',_0x5abb04),_0x5985b8['trim']()&&this['_promptHistory']['add']({'prompt':_0x5abb04},0x0);},{'priority':'high'}),_0x15929a;}['_createHistoryView'](){const _0x4bac49=new AIHistoryListView(this['locale']);return _0x4bac49['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x4bac49['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x4bac49;}['_createToolbar'](){const _0x2e6c5c=new AIFormToolbarView(this['locale']);return _0x2e6c5c['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x1304f5,_0x2a5060,_0x1c628f)=>_0x1304f5&&!_0x2a5060&&!!_0x1c628f),_0x2e6c5c['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x2e6c5c['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0xd196c6,_0x11f391,_0x413478)=>_0xd196c6&&!_0x11f391&&!!_0x413478),_0x2e6c5c['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x2e6c5c['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x2b764e,_0x2f1c96)=>_0x2b764e&&!_0x2f1c96),_0x2e6c5c['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x2e6c5c['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x2e6c5c['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x2e6c5c;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x101c94=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=jn(_0x101c94,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x1ef3f7){const _0x14d43f=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x1ef3f7||jn(_0x14d43f,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const co=globalThis['DataTransfer'];class AIAssistantUI extends _0x7cf71c{['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[_0x222849,AIAssistantEditing,AIAdapter,st];}constructor(_0x4d4f0c){super(_0x4d4f0c),_0x4d4f0c['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x4d4f0c['config']['define']('ai.assistant.contentAreaCssClass',''),_0x4d4f0c['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x4d4f0c['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x5e4255}=this;this['_aiAdapter']=_0x5e4255['plugins']['get'](AIAdapter),this['_dialog']=_0x5e4255['plugins']['get'](st),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x533ca3=new ShowAIAssistantCommand(_0x5e4255,Array['from'](this['_commandDefinitions']['values']()));_0x5e4255['commands']['add']('showAIAssistant',_0x533ca3),_0x5e4255['ui']['componentFactory']['add']('aiCommands',_0x4ef0ee=>{const _0x4c9ade=nt(_0x4ef0ee);return _0x4c9ade['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x4c9ade['buttonView']['set']({'label':jn(_0x4ef0ee,'AI\x20Commands'),'icon':_0x261480,'tooltip':!0x0}),_0x4c9ade['on']('execute',_0x5eff92=>this['_onExecute'](_0x5eff92['source']['id'])),rt(_0x4c9ade,_0x5e4255['ui']['view']['body'],function(_0x4fa39c){const _0x1ee0ac=Vn(_0x4fa39c['config']['get']('ai.assistant.commands'),_0x4fa39c['locale']),_0xe131cc=ho(_0x4fa39c,_0x1ee0ac)['filter'](_0x31abd1=>_0x31abd1['commands']['length']);if(0x1===_0xe131cc['length'])return ho(_0x4fa39c,_0xe131cc[0x0]['commands'])['map'](_0x227212=>({'id':_0x227212['id'],'label':_0x227212['label']}));return _0xe131cc['map'](_0x424d76=>{const {groupId:_0x4d15f9,groupLabel:_0x54d90f,commands:_0x428674}=_0x424d76,_0x30aaae=ho(_0x4fa39c,_0x428674)['map'](_0xb02c76=>({'id':_0xb02c76['id'],'label':_0xb02c76['label']}));return{'id':_0x4d15f9,'menu':_0x54d90f||_0x4d15f9,'children':_0x30aaae};});}(_0x5e4255),{'ariaLabel':jn(_0x4ef0ee,'AI\x20Commands')}),_0x4c9ade['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x533ca3['on']('change:enabledCommandsIds',_0x459150),_0x4c9ade['menuView']['once']('render',_0x459150),_0x4c9ade;function _0x459150(){_0x4c9ade['isEnabled']=_0x533ca3['enabledCommandsIds']['length']>0x0;for(const _0x27591f of _0x4c9ade['menuView']['buttons'])_0x27591f['isEnabled']=_0x533ca3['enabledCommandsIds']['includes'](_0x27591f['id']);}}),_0x5e4255['ui']['componentFactory']['add']('menuBar:aiCommands',_0x1e16d5=>{const _0x5e549f=new ot(_0x1e16d5);_0x5e549f['buttonView']['set']({'label':jn(_0x1e16d5,'AI\x20Commands'),'icon':_0x261480}),_0x5e549f['bind']('isEnabled')['to'](_0x533ca3,'enabledCommandsIds',_0xa34dd4=>_0xa34dd4['length']>0x0);const _0xa84e37=Vn(_0x5e4255['config']['get']('ai.assistant.commands'),_0x1e16d5);return this['_populateMenuBarMenu'](_0x533ca3,_0x5e549f,_0xa84e37,_0x2d7eab=>this['_onExecute'](_0x2d7eab)),_0x5e549f;}),_0x5e4255['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x4a520e=this['_createAIAssistantUIButton'](_0x1a631f);return _0x4a520e['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x4a520e;}),_0x5e4255['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x5cb9ff=this['_createAIAssistantUIButton'](at);return _0x5cb9ff['set']({'role':'menuitemcheckbox'}),_0x5cb9ff;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5a27db=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x206c28;for(const _0x59a96b in _0x5a27db){const _0x2d14e0=_0x59a96b,_0x408698=_0x5a27db[_0x2d14e0];if('aiLicenseKeyValid'==_0x408698||'aiLicenseKeyInvalid'==_0x408698||'aiLicenseKeyExpired'==_0x408698||'aiLicenseKeyDomainLimit'==_0x408698||'aiLicenseKeyNotAllowed'==_0x408698||'aiLicenseKeyEvaluationLimit'==_0x408698||'aiLicenseKeyUsageLimit'==_0x408698){delete _0x5a27db[_0x2d14e0],_0x206c28=_0x408698,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x206c28&&_0x5a27db['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x206c28&&_0x5a27db['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x206c28&&_0x5a27db['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x206c28&&_0x5a27db['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x206c28&&_0x5a27db['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x206c28&&_0x5a27db['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x1c2e12='',_0x28d586='',_0x11b740='custom'){const _0x44f477=this['editor'],_0x882935=_0x44f477['editing']['view'],_0x1fd897=_0x44f477['plugins']['get'](AIAssistantEditing),_0xa7594c=_0x44f477['plugins']['get'](_0x222849);_0x1fd897['showFakeVisualSelection']();const _0x47dd99=new co(),_0x171804=new ClipboardEvent('copy',{'clipboardData':_0x47dd99}),_0x2e61f2=new _0x44ed96(_0x47dd99),_0x1bc080=new _0x19bba3(_0x882935,_0x171804,{'dataTransfer':_0x2e61f2});_0xa7594c['_forceMarkersCopy']('comment',()=>{_0x882935['document']['fire']('copy',_0x1bc080);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x44f477,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x48d16c=_0x2e61f2['getData']('text/html');const _0x2876b7=_0x44f477['model']['document']['selection'],_0x25ec72=Array['from'](_0x2876b7['getRanges']());0x1===_0x25ec72['length']&&_0x25ec72[0x0]['isFlat']&&!_0x2876b7['getSelectedElement']()&&''!==_0x48d16c['replace'](/&nbsp;/g,'')['trim']()&&(_0x48d16c='<p>'+_0x48d16c+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x11b740,'query':_0x1c2e12,'htmlContent':_0x48d16c,'label':_0x28d586,'mainActionLabel':Gn[_0x44f477['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0xbfac00,'title':jn(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':ct['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x1fd897['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x5d39e8=new Map(),_0x492dcb=Vn(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x56c191 of _0x492dcb)for(const _0x388c0d of _0x56c191['commands'])_0x5d39e8['set'](_0x388c0d['id'],{..._0x388c0d,'groupId':_0x56c191['groupId'],'groupLabel':_0x56c191['groupLabel']||_0x56c191['groupId']});return _0x5d39e8;}['_createAIAssistantUIButton'](_0x19c84a){const _0x459bd9=this['editor'],_0x296ccf=_0x459bd9['commands']['get']('showAIAssistant'),_0x230b33=new _0x19c84a(_0x459bd9['locale']);return _0x230b33['set']({'label':jn(_0x459bd9['locale'],'AI\x20Assistant'),'icon':_0xbfac00,'isToggleable':!0x0}),_0x230b33['bind']('isEnabled')['to'](_0x296ccf),_0x230b33['bind']('isOn')['to'](this['_dialog'],'id',_0x4b8f57=>'aiAssistant'===_0x4b8f57),this['listenTo'](_0x230b33,'execute',()=>{_0x230b33['isOn']?this['hideUI']():_0x296ccf['execute']();}),_0x230b33;}['_initView'](){const _0x54087e=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',()=>{_0x54087e['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x54087e['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x80abfd,ui:{ariaLiveAnnouncer:_0x34bdef}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x30e36f,_0x1ef587,_0x463db1)=>{const _0x4bb742=this['_aiAssistantController']['currentContext'];_0x463db1?_0x34bdef['announce'](jn(_0x80abfd,'AI\x20is\x20writing')):_0x4bb742&&_0x34bdef['announce'](jn(_0x80abfd,'Generated\x20content:\x20%0',_0x4bb742),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x4acd9e,_0x150b89,_0x3f3412)=>{if(_0x3f3412){const _0xe43819=this['_formView']['errorView']['text'];_0x34bdef['announce'](jn(_0x80abfd,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xe43819));}});}['_onExecute'](_0x5ad164){const _0x7445a9=this['_commandDefinitions']['get'](_0x5ad164),_0x20a3ea=this['editor'],_0x34a71b=_0x20a3ea['model']['document']['selection'],_0x1c8777=_0x20a3ea['commands']['get']('showAIAssistant'),_0x488bfa=_0x20a3ea['plugins']['get'](AIAssistantEditing),_0x55053e=''+(_0x7445a9['groupId']!==Qn?_0x7445a9['groupLabel']+':\x20':'')+_0x7445a9['label'];if(!0x1!==_0x7445a9['requiresContent']&&_0x34a71b['isCollapsed']){const _0x49425e=_0x506e56(_0x34a71b['getSelectedBlocks']())||_0x20a3ea['model']['schema']['getLimitElement'](_0x34a71b);_0x20a3ea['model']['change'](_0x1c30e8=>{_0x1c30e8['setSelection'](_0x49425e,'in');});}_0x488bfa['showFakeVisualSelection'](),_0x1c8777['execute'](_0x7445a9['prompt'],_0x55053e,'command:'+_0x5ad164);}['_populateMenuBarMenu'](_0x55d7f1,_0x3ba043,_0x4e6bd6,_0x205b1d){const _0x9b0c85=this['editor'],_0x2e7eeb=_0x9b0c85['locale'],_0x456308=new lt(_0x2e7eeb),_0x11c25a=ho(_0x9b0c85,_0x4e6bd6)['filter'](_0x4bedf6=>_0x4bedf6['commands']['length']);0x1===_0x11c25a['length']?this['_getMenuBarGroupButtons']({'command':_0x55d7f1,'commands':_0x11c25a[0x0]['commands'],'parentMenuView':_0x3ba043,'onExecute':_0x205b1d})['forEach'](_0x579523=>_0x456308['items']['add'](_0x579523)):_0x11c25a['forEach'](({groupId:_0x13ab27,groupLabel:_0x479c49,commands:_0x1f6f55})=>{const _0x306102=new ht(_0x2e7eeb,_0x3ba043),_0x2cdbe3=new ot(_0x2e7eeb),_0x27b132=new lt(_0x2e7eeb),_0x28812d=this['_getMenuBarGroupButtons']({'command':_0x55d7f1,'commands':_0x1f6f55,'parentMenuView':_0x2cdbe3,'onExecute':_0x205b1d});_0x2cdbe3['buttonView']['set']({'label':_0x479c49||_0x13ab27}),_0x2cdbe3['delegate']('execute')['to'](_0x3ba043),_0x27b132['items']['addMany'](_0x28812d),_0x2cdbe3['panelView']['children']['add'](_0x27b132),_0x306102['children']['add'](_0x2cdbe3),_0x456308['items']['add'](_0x306102);}),_0x3ba043['panelView']['children']['add'](_0x456308);}['_getMenuBarGroupButtons']({command:_0x54ac5f,commands:_0x566d93,parentMenuView:_0x3d6db9,onExecute:_0x4be9ff}){const _0x261b1f=this['editor'],_0x118c06=_0x261b1f['locale'];return ho(_0x261b1f,_0x566d93)['map'](_0x1edd9a=>{const _0x4b58b5=new ht(_0x118c06,_0x3d6db9),_0x12cbfe=new at(_0x118c06);return _0x12cbfe['set']({'label':_0x1edd9a['label']}),_0x12cbfe['delegate']('execute')['to'](_0x3d6db9),_0x12cbfe['on']('execute',()=>_0x4be9ff(_0x1edd9a['id'])),_0x12cbfe['bind']('isEnabled')['to'](_0x54ac5f,'enabledCommandsIds',_0x331aca=>_0x331aca['includes'](_0x1edd9a['id'])),_0x4b58b5['children']['add'](_0x12cbfe),_0x4b58b5;});}}function lo(_0x458261,_0xe0fcf0){return void 0x0!==_0x458261['order']&&void 0x0===_0xe0fcf0['order']?0x1:void 0x0===_0x458261['order']&&void 0x0!==_0xe0fcf0['order']?-0x1:void 0x0!==_0x458261['order']&&void 0x0!==_0xe0fcf0['order']?_0x458261['order']-_0xe0fcf0['order']:0x0;}function ho(_0x26883b,_0x130282){_0x130282['sort'](lo);const _0x24e026={},_0x440205=[];for(const _0x45f516 of _0x130282)if(void 0x0!==_0x45f516['order']){if(_0x45f516['order']in _0x24e026)throw new _0x3ae0e8('ai-commands-config-order-collision',_0x26883b,{'conflictingDefinitions':[_0x45f516,_0x24e026[_0x45f516['order']]]});_0x24e026[_0x45f516['order']]=_0x45f516,_0x440205['splice'](_0x45f516['order'],0x0,_0x45f516);}else _0x440205['push'](_0x45f516);return _0x440205;}class AIAssistant extends _0x7cf71c{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3ee9a5){super(_0x3ee9a5);const _0x3ca317=_0x3ee9a5['config'],_0x67d61d=_0x3ee9a5['locale'];_0x3ca317['define']('ai.assistant.preserveComments',!0x0),_0x3ca317['define']('ai.assistant.commands',uo(_0x67d61d)),_0x3ca317['define']('ai.assistant.extraCommandGroups',[]),_0x3ca317['define']('ai.assistant.removeCommands',[]);let _0x4131cf=Vn(_0x3ca317['get']('ai.assistant.commands'),_0x67d61d);const _0x5940ae=_0x3ca317['get']('ai.assistant.extraCommandGroups'),_0x484967=_0x3ca317['get']('ai.assistant.removeCommands');_0x5940ae['forEach'](_0x2d7712=>{const _0x4b7a31=_0x4131cf['find'](_0x2400a7=>_0x2400a7['groupId']===_0x2d7712['groupId']);_0x4b7a31?_0x4b7a31['commands']=_0x4b7a31['commands']['concat'](_0x2d7712['commands']):_0x4131cf['push'](_0x2d7712);}),_0x4131cf=_0x4131cf['filter'](_0x13e012=>!_0x484967['includes'](_0x13e012['groupId'])),_0x4131cf['forEach'](_0x175233=>{_0x175233['commands']=_0x175233['commands']['filter'](_0x56d4ac=>!_0x484967['includes'](_0x56d4ac['id']));}),_0x3ca317['set']('ai.assistant.commands',_0x4131cf);}}function uo(_0x130540){return[{'groupId':'editOrReview','groupLabel':jn(_0x130540,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':jn(_0x130540,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':jn(_0x130540,'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(_0x130540,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':jn(_0x130540,'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(_0x130540,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':jn(_0x130540,'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(_0x130540,'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(_0x130540,'Change\x20tone'),'commands':[{'id':'professional','label':jn(_0x130540,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':jn(_0x130540,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':jn(_0x130540,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':jn(_0x130540,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':jn(_0x130540,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':jn(_0x130540,'Change\x20style'),'commands':[{'id':'business','label':jn(_0x130540,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':jn(_0x130540,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':jn(_0x130540,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':jn(_0x130540,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':jn(_0x130540,'Translate'),'commands':[{'id':'translateEnglish','label':jn(_0x130540,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':jn(_0x130540,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':jn(_0x130540,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':jn(_0x130540,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':jn(_0x130540,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':jn(_0x130540,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':jn(_0x130540,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':jn(_0x130540,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x7cf71c{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0xb85ff1){super(_0xb85ff1),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'](_0x1e472f){return this['sendRequest'](_0x1e472f)['catch'](_0x454bce=>{if(_0x454bce instanceof AIRequestError)return Promise['reject'](_0x454bce);if('AbortError'==_0x454bce['name'])return Promise['resolve']();throw console['error'](_0x454bce),new _0x3ae0e8('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x310b49,_0x322e72){const _0x1e41ee=this['editor']['locale'],_0x5f0616={'Content-Type':'application/json'};if('object'==typeof _0x310b49)Object['assign'](_0x5f0616,_0x310b49);else{if(_0x310b49)try{const _0x16d939=await _0x310b49(_0x322e72);Object['assign'](_0x5f0616,_0x16d939);}catch{return Promise['reject'](new AIRequestError(jn(_0x1e41ee,'AI_ERROR_GET_HEADERS')));}}return _0x5f0616;}async['_prepareRequestParameters'](_0x205d7f,_0x35f10f){const _0x4f82b3=this['editor']['locale'];if('object'==typeof _0x205d7f)return _0x205d7f;try{return await _0x205d7f(_0x35f10f);}catch{return Promise['reject'](new AIRequestError(jn(_0x4f82b3,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0xc0b8ad){super(_0xc0b8ad),_0xc0b8ad['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0xc0b8ad['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0xc0b8ad['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0xc0b8ad['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0xc0b8ad['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0xc0b8ad['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x4aa3f6,context:_0x24feb3,onData:_0x290822,actionId:_0x57780e}){const _0x5eddf4=this['editor']['locale'],_0x514afb=await this['prepareMessages'](_0x4aa3f6,_0x24feb3,_0x57780e),_0x13d728=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x57780e),_0x1f4c16=await this['_prepareRequestParameters'](this['_requestParameters'],_0x57780e),_0x1a50a5={'messages':_0x514afb,..._0x1f4c16},_0x225997={'method':'POST','headers':_0x13d728,'body':JSON['stringify'](_0x1a50a5),'signal':this['abortController']['signal']},_0x2db75e=await fetch(this['_apiUrl'],_0x225997);if(_0x2db75e['ok'])return _0x1f4c16['stream']?await this['_readStreamableResponse'](_0x2db75e,_0x290822):await this['_readStaticResponse'](_0x2db75e,_0x290822),Promise['resolve']();{const _0x134d38=await _0x2db75e['text']();return _0x134d38['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(jn(_0x5eddf4,'AI_ERROR_CONTEXT_LENGTH'))):_0x134d38['includes']('Moderation')?Promise['reject'](new AIRequestError(jn(_0x5eddf4,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x134d38));}}async['prepareMessages'](_0x537879,_0x281793,_0x561fa2){let _0x290bdb,_0x591c9f;return _0x281793?(_0x290bdb='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.',_0x591c9f='Instruction:\x0a'+_0x537879+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x281793):(_0x290bdb='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.',_0x591c9f=_0x537879),[{'role':'system','content':_0x290bdb},{'role':'user','content':_0x591c9f}];}async['_readStreamableResponse'](_0xde3466,_0x382c96){const _0x58f079=_0xde3466['body']['getReader'](),_0x4a869f=new TextDecoder();let _0x3c442f='',_0x2cbc7b='',_0x4bd167='',_0x46caab=!0x1;for(;!_0x46caab;){const {done:_0x1ee8e1,value:_0x1b3e99}=await _0x58f079['read'](),_0x3ac0af=_0x3c442f+_0x4a869f['decode'](_0x1b3e99);let _0x280c65='';_0x46caab=_0x1ee8e1;try{_0x280c65=this['_cleanUpData'](_0x3ac0af),_0x3c442f='';}catch{_0x3c442f=_0x3ac0af;continue;}_0x2cbc7b+=_0x280c65,!_0x46caab&&this['_isBufferIncomplete'](_0x2cbc7b)||_0x2cbc7b&&(_0x4bd167+=_0x2cbc7b,_0x2cbc7b='',_0x382c96(_0x4bd167));}return Promise['resolve']();}async['_readStaticResponse'](_0x249d43,_0x24673a){return _0x24673a((await _0x249d43['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x30a60f){const _0x17b567=_0x30a60f['split']('<')['length']!==_0x30a60f['split']('>')['length'],_0x3796bd=_0x30a60f['length']<0x1e;return _0x17b567&&_0x3796bd;}['_cleanUpData'](_0x2a8755){return _0x2a8755['split'](/\n(?![^{]*\})/g)['map'](_0x419383=>_0x419383['replace']('data:\x20',''))['filter'](_0x4f0e48=>_0x4f0e48&&_0x4f0e48['length']>0x0&&'[DONE]'!==_0x4f0e48)['map'](_0x58f8e0=>{const {choices:_0x3b5d56}=JSON['parse'](_0x58f8e0);if(_0x3b5d56[0x0]?.['delta']?.['content'])return _0x3b5d56[0x0]['delta']['content'];})['filter'](_0x3728df=>_0x3728df)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x5eb6e4('ai-aws-adapter-not-supported');}async['sendRequest'](_0x25643){throw _0x39bd32('ai-aws-adapter-not-supported'),new AIRequestError(jn(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}}class TabButtonView extends _0x1a631f{constructor(_0x48d72d,_0x7b24d5={}){super(_0x48d72d),this['isToggleable']=!0x0,this['set']('side',_0x7b24d5['side']||'top');const _0x2af946=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x5ddbb4(_0x7b24d5['class']||[]),_0x2af946['to']('side',_0x298f8d=>'ck-tab-button_'+_0x298f8d),_0x2af946['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class TabPanelView extends _0x278baa{['children'];constructor(_0x1b84b0,_0x1e0541={}){super(_0x1b84b0);const _0x2544bf=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',..._0x5ddbb4(_0x1e0541['class']||[]),_0x2544bf['to']('class'),_0x2544bf['if']('isVisible','ck-hidden',_0x599cf1=>!_0x599cf1)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class AITabsView extends _0x278baa{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x42112a,_0x32e873={}){super(_0x42112a),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x32e873['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x32e873['collapsible']||!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'activeTab',(_0x58ddb8,_0x4e2bda)=>_0x58ddb8&&null!==_0x4e2bda);const _0x5e9c35=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x5ddbb4(_0x32e873['class']||[]),_0x5e9c35['to']('side',_0x148c41=>'ck-tabs_'+_0x148c41),_0x5e9c35['to']('class'),_0x5e9c35['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x5e9c35['to']('activeTab',_0x3c4513=>null===_0x3c4513?'ck-ai-tabs_collapsed':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x5e9c35['to']('side',_0x2bad50=>'ck-tabs__buttons-container_'+_0x2bad50)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x5e9c35['to']('side',_0x319f94=>'ck-tabs__panels-container_'+_0x319f94)]},'children':this['panelViews']},..._0x5ddbb4(_0x32e873['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x550999){const _0x539d92=this['_tabs']['get'](_0x550999);return _0x539d92||null;}['addTab'](_0x47c3d1){const _0x513a80=this['_setupButton']({'id':_0x47c3d1['id'],'label':_0x47c3d1['buttonLabel'],'icon':_0x47c3d1['buttonIcon'],'order':_0x47c3d1['order']}),_0x3f984c=new TabPanelView(this['locale']);return _0x3f984c['render'](),_0x47c3d1['content']&&_0x3f984c['children']['add'](_0x47c3d1['content']),this['panelViews']['add'](_0x3f984c),this['_tabs']['set'](_0x47c3d1['id'],{'button':_0x513a80,'panel':_0x3f984c,'order':void 0x0!==_0x47c3d1['order']?_0x47c3d1['order']:null}),this['fire']('addTab:'+_0x47c3d1['id'],{'id':_0x47c3d1['id'],'button':_0x513a80,'panel':_0x3f984c}),null===this['activeTab']?this['activateTab'](_0x47c3d1['id']):this['_hidePanel'](_0x47c3d1['id']),{'button':_0x513a80,'panel':_0x3f984c};}['activateTab'](_0x4bce07){if(null!==_0x4bce07&&!this['getTab'](_0x4bce07))throw new _0x3ae0e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x4bce07});if(this['activeTab']===_0x4bce07)return;const _0x269cb6=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x4bce07,_0x4bce07&&this['_showPanel'](_0x4bce07),this['fire']('activateTab:'+_0x4bce07,{'newTab':_0x4bce07,'oldTab':_0x269cb6});}['toggleTabPanel'](_0x2d0fa0){if(!this['getTab'](_0x2d0fa0))throw new _0x3ae0e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2d0fa0});this['activeTab']===_0x2d0fa0?this['collapsible']&&(this['activeTab']=null):this['activateTab'](_0x2d0fa0);}['showTab'](_0x5075c6){if(!this['getTab'](_0x5075c6))throw new _0x3ae0e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x5075c6});this['_showPanel'](_0x5075c6),this['_showButton'](_0x5075c6),this['fire']('show:'+_0x5075c6,_0x5075c6);}['hideTab'](_0x1f4561){if(!this['getTab'](_0x1f4561))throw new _0x3ae0e8('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x1f4561});const _0x3e9e8f=this['activeTab'];this['_hidePanel'](_0x1f4561),this['_hideButton'](_0x1f4561);const _0x5a1416=this['getTabIds']();_0x3e9e8f===_0x1f4561&&_0x5a1416['length']>0x1&&this['activateTab'](_0x5a1416['find'](_0x3c20eb=>_0x3c20eb!==_0x1f4561)),this['fire']('hide:'+_0x1f4561,_0x1f4561);}['_getPanel'](_0x417c14){const _0x369372=this['_tabs']['get'](_0x417c14);return _0x369372?_0x369372['panel']:null;}['_showPanel'](_0x4380b7){null!==this['activeTab']&&this['activeTab']!==_0x4380b7||this['_getPanel'](_0x4380b7)['show']();}['_hidePanel'](_0x28c7e6){const _0x6723f4=this['_getPanel'](_0x28c7e6);_0x6723f4['isVisible']&&(this['activeTab']===_0x28c7e6&&(this['activeTab']=null),_0x6723f4['hide']());}['_getButton'](_0x210c8d){const _0x2120e2=this['_tabs']['get'](_0x210c8d);return _0x2120e2?_0x2120e2['button']:null;}['_showButton'](_0x312a3f){this['_getButton'](_0x312a3f)['show']();}['_hideButton'](_0x25852c){this['_getButton'](_0x25852c)['hide']();}['_setupButton'](_0x5dcec0){const _0x372da1=new TabButtonView(this['locale'],{'side':this['side']}),_0x412d1e=this['buttonViews'];if(_0x372da1['set']({'label':_0x5dcec0['label'],'icon':_0x5dcec0['icon'],'tooltip':!0x0,'withText':!0x0}),_0x372da1['bind']('isOn')['to'](this,'activeTab',_0x193733=>_0x193733===_0x5dcec0['id']),_0x372da1['bind']('side')['to'](this,'side'),_0x5dcec0['order']){const _0x57d72d=[...this['_tabs']]['reduce']((_0x5f45ec,_0x5a9099)=>{const _0xaed380=_0x5a9099[0x0],{order:_0x324f23}=_0x5a9099[0x1];return!_0x324f23||_0x324f23>_0x5dcec0['order']?_0x5f45ec:_0x324f23>=_0x5f45ec['order']?{'id':_0xaed380,'order':_0x324f23}:_0x5f45ec;},{'id':'','order':0x0}),_0x2db661=_0x412d1e['getIndex'](this['_getButton'](_0x57d72d['id']));_0x412d1e['add'](_0x372da1,_0x2db661+0x1);}else _0x412d1e['add'](_0x372da1);return _0x372da1['on']('execute',()=>{this['toggleTabPanel'](_0x5dcec0['id']);}),_0x372da1;}}const fo=['overlay','sidebar','custom'],mo=['left','right'];class AITabsMainView extends AITabsView{constructor(_0x1475fe,_0x45e63b={}){super(_0x1475fe,_0x45e63b),this['set']('type',_0x45e63b['type']||'sidebar'),this['set']('side',_0x45e63b['side']||'right'),this['set']('isVisible',_0x45e63b['visibleByDefault']??!0x0);const _0x28bf09=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x28bf09['if']('type','ck-ai-tabs__overlay',_0x3f89a3=>'overlay'===_0x3f89a3),_0x28bf09['if']('type','ck-ai-tabs__sidebar',_0x56146a=>'sidebar'===_0x56146a),_0x28bf09['if']('isVisible','ck-hidden',_0x523cfc=>!_0x523cfc)]}}),this['buttonViews']['on']('add',(_0x2b9a3c,_0x282490)=>{_0x282490['set']('withText',!0x1);});}}class AITabs extends _0x32a432{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a3ffc){if(super(_0x4a3ffc),!this['context']['config']['get']('ai.container'))throw new _0x3ae0e8('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x1a4c33=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x1a4c33['showResizeButton']&&(this['showResizeButton']=_0x1a4c33['showResizeButton']),'sidebar'!==_0x1a4c33['type']&&'overlay'!==_0x1a4c33['type']||_0x1a4c33['side']&&(this['side']=_0x1a4c33['side']),'sidebar'===_0x1a4c33['type']){if(this['container']=_0x1a4c33['element'],this['set']('type','sidebar'),!this['container'])throw new _0x3ae0e8('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x1a4c33['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':_0x1a4c33['visibleByDefault'],'collapsible':_0x1a4c33['collapsible']}),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 _0x519668&&this['context']['ui']['focusTracker']['add'](this['view']['element']),this['listenTo'](this,'resizeTabs',()=>{this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);});}['switchType'](_0x4e0ad4){if(_0x4e0ad4&&this['type']!==_0x4e0ad4){if(!fo['includes'](_0x4e0ad4))throw new _0x3ae0e8('ai-tabs-unsupported-ui-type');this['type']=_0x4e0ad4;}}['switchSide'](_0x23bbaa){if(_0x23bbaa&&this['side']!==_0x23bbaa){if(!mo['includes'](_0x23bbaa))throw new _0x3ae0e8('ai-tabs-unsupported-ui-side');this['side']=_0x23bbaa;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class ParseError extends Error{constructor(_0x1f607a,_0x41975f){super(_0x1f607a),this['name']='ParseError',this['type']=_0x41975f['type'],this['field']=_0x41975f['field'],this['value']=_0x41975f['value'],this['line']=_0x41975f['line'];}}function go(_0xd8defa){}function po(_0x451212){if('function'==typeof _0x451212)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x193f25=go,onError:_0x1f2853=go,onRetry:_0x1b4a4d=go,onComment:_0x39973f}=_0x451212;let _0x4abb48,_0x28fd24='',_0x4123e3=!0x0,_0xf53b85='',_0x53c086='';function _0x5c7240(_0x2feec5){if(''===_0x2feec5)return _0xf53b85['length']>0x0&&_0x193f25({'id':_0x4abb48,'event':_0x53c086||void 0x0,'data':_0xf53b85['endsWith']('\x0a')?_0xf53b85['slice'](0x0,-0x1):_0xf53b85}),_0x4abb48=void 0x0,_0xf53b85='',void(_0x53c086='');if(_0x2feec5['startsWith'](':'))return void(_0x39973f&&_0x39973f(_0x2feec5['slice'](_0x2feec5['startsWith'](':\x20')?0x2:0x1)));const _0x5cefa4=_0x2feec5['indexOf'](':');if(-0x1!==_0x5cefa4){const _0x13c355=_0x2feec5['slice'](0x0,_0x5cefa4),_0x42f67c='\x20'===_0x2feec5[_0x5cefa4+0x1]?0x2:0x1;return void _0x2447d1(_0x13c355,_0x2feec5['slice'](_0x5cefa4+_0x42f67c),_0x2feec5);}_0x2447d1(_0x2feec5,'',_0x2feec5);}function _0x2447d1(_0x110e0d,_0x39042d,_0x561c32){switch(_0x110e0d){case'event':_0x53c086=_0x39042d;break;case'data':_0xf53b85=''+_0xf53b85+_0x39042d+'\x0a';break;case'id':_0x4abb48=_0x39042d['includes']('\x00')?void 0x0:_0x39042d;break;case'retry':/^\d+$/['test'](_0x39042d)?_0x1b4a4d(parseInt(_0x39042d,0xa)):_0x1f2853(new ParseError('Invalid\x20`retry`\x20value:\x20\x22'+_0x39042d+'\x22',{'type':'invalid-retry','value':_0x39042d,'line':_0x561c32}));break;default:_0x1f2853(new ParseError('Unknown\x20field\x20\x22'+(_0x110e0d['length']>0x14?_0x110e0d['slice'](0x0,0x14)+'…':_0x110e0d)+'\x22',{'type':'unknown-field','field':_0x110e0d,'value':_0x39042d,'line':_0x561c32}));}}return{'feed':function(_0x558c63){const _0x4a3880=_0x4123e3?_0x558c63['replace'](/^\xEF\xBB\xBF/,''):_0x558c63,[_0xd38522,_0x7f766b]=function(_0xab713){const _0x316699=[];let _0x3ad863='',_0x32c5df=0x0;for(;_0x32c5df<_0xab713['length'];){const _0x1a139a=_0xab713['indexOf']('\x0d',_0x32c5df),_0x141a43=_0xab713['indexOf']('\x0a',_0x32c5df);let _0xfaa142=-0x1;if(-0x1!==_0x1a139a&&-0x1!==_0x141a43?_0xfaa142=Math['min'](_0x1a139a,_0x141a43):-0x1!==_0x1a139a?_0xfaa142=_0x1a139a:-0x1!==_0x141a43&&(_0xfaa142=_0x141a43),-0x1===_0xfaa142){_0x3ad863=_0xab713['slice'](_0x32c5df);break;}{const _0xf049e3=_0xab713['slice'](_0x32c5df,_0xfaa142);_0x316699['push'](_0xf049e3),_0x32c5df=_0xfaa142+0x1,'\x0d'===_0xab713[_0x32c5df-0x1]&&'\x0a'===_0xab713[_0x32c5df]&&_0x32c5df++;}}return[_0x316699,_0x3ad863];}(''+_0x28fd24+_0x4a3880);for(const _0x545ce8 of _0xd38522)_0x5c7240(_0x545ce8);_0x28fd24=_0x7f766b,_0x4123e3=!0x1;},'reset':function(_0x85aeb3={}){_0x28fd24&&_0x85aeb3['consume']&&_0x5c7240(_0x28fd24),_0x4123e3=!0x0,_0x4abb48=void 0x0,_0xf53b85='',_0x53c086='',_0x28fd24='';}};}class AIConnector extends _0x32a432{['_apiUrl'];['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[_0x337566];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb56318){super(_0xb56318),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(),this['_responseCache']=new Map();}['init'](){const _0x531b6a=this['context']['plugins']['get'](_0x337566);if(!_0x531b6a['token'])throw new _0x3ae0e8('ai-missing-token',this);this['_token']=_0x531b6a['token'];}['startConversation'](_0x436ab1,_0x265808){const _0x379e51=this['_sendApiRequest']('/conversations','POST',{'id':_0x436ab1,'group':_0x265808});return{'getConversation':async()=>(await _0x379e51['request'])['json'](),'abortController':_0x379e51['abortController']};}['queryAssistant']({message:_0x2780a5,conversationId:_0x4960bc,parts:_0x1d86b3,capabilities:_0x1046e5,model:_0x33cee0,attributes:_0x1e8d88}){const _0x14175e={'prompt':_0x2780a5,'content':_0x1d86b3,'model':_0x33cee0,..._0x1046e5&&{'capabilities':_0x1046e5},..._0x1e8d88&&{'attributes':_0x1e8d88}},_0x51aac6=this['_sendApiRequest']('/conversations/'+_0x4960bc+'/messages','POST',_0x14175e);return{'getStream':async()=>{const _0x2ef837=(await _0x51aac6['request'])['body'];return this['_getStreamReader'](_0x2ef837);},'abortController':_0x51aac6['abortController']};}['executeCustomAction']({content:_0x360eee,message:_0x46c8bd,model:_0x4fdb5f,outputFormat:_0x1998ca}){const _0x662b8b={'content':[{'type':'text','content':_0x360eee}],'prompt':_0x46c8bd,'model':_0x4fdb5f,'outputFormat':_0x1998ca},_0x16d38f=this['_sendApiRequest']('/actions/custom/calls','POST',_0x662b8b);return{'getStream':async()=>{const _0x47a873=(await _0x16d38f['request'])['body'];return this['_getStreamReader'](_0x47a873);},'abortController':_0x16d38f['abortController']};}['executeAction']({actionName:_0x338544,content:_0x12609b,args:_0x429513}){const _0x5d3488={'content':[{'type':'text','content':_0x12609b}],'args':_0x429513},_0x111597=this['_sendApiRequest']('/actions/system/'+_0x338544+'/calls','POST',_0x5d3488);return{'getStream':async()=>{const _0x1b85b8=(await _0x111597['request'])['body'];return this['_getStreamReader'](_0x1b85b8);},'abortController':_0x111597['abortController']};}['uploadFile'](_0x524c92,_0x41458c,_0x283da3){const _0x1c5d88=new FormData();_0x1c5d88['append']('file',_0x41458c,_0x41458c['name']),_0x283da3&&_0x1c5d88['append']('attributes',JSON['stringify'](_0x283da3));const _0x382180=this['_sendApiRequest']('/conversations/'+_0x524c92+'/files','POST',_0x1c5d88);return{'getId':async()=>(await _0x382180['request'])['json'](),'abortController':_0x382180['abortController']};}['fetchDocument'](_0x3a9b5e,_0x4dec81){const _0x50e790=this['_sendApiRequest']('/conversations/'+_0x3a9b5e+'/documents/'+_0x4dec81,'GET');return{'getDocument':async()=>(await _0x50e790['request'])['json'](),'abortController':_0x50e790['abortController']};}['uploadDocument'](_0x3140db,_0x465f47,_0x3c0083){const _0x192048={'content':_0x465f47};_0x3c0083&&(_0x192048['attributes']=_0x3c0083);const _0x450752=this['_sendApiRequest']('/conversations/'+_0x3140db+'/documents','POST',_0x192048);return{'getId':async()=>(await _0x450752['request'])['json'](),'abortController':_0x450752['abortController']};}['uploadDocuments'](_0x11085a,_0x3743c3){const _0x336d04={'documents':_0x3743c3['map'](_0x4c3fb1=>({'content':_0x4c3fb1['content'],'attributes':{'version':_0x4c3fb1['version'],'sessionId':_0x4c3fb1['sessionId'],'channelId':_0x4c3fb1['channelId'],'rootName':_0x4c3fb1['rootName'],'selections':_0x4c3fb1['selections']},...void 0x0!==_0x4c3fb1['name']?{'name':_0x4c3fb1['name']}:{},...void 0x0!==_0x4c3fb1['description']?{'description':_0x4c3fb1['description']}:{}}))},_0x4c3cec=this['_sendApiRequest']('/conversations/'+_0x11085a+'/documents/batch','POST',_0x336d04);return{'getIds':async()=>(await _0x4c3cec['request'])['json'](),'abortController':_0x4c3cec['abortController']};}['fetchDocuments'](_0x4a476d,_0x297976){const _0x32e3d1=new URLSearchParams();_0x32e3d1['append']('documentIds',_0x297976['join'](','));const _0x2b5962=this['_sendApiRequest']('/conversations/'+_0x4a476d+'/documents/batch?'+_0x32e3d1['toString'](),'GET');return{'getDocuments':async()=>(await _0x2b5962['request'])['json'](),'abortController':_0x2b5962['abortController']};}['fetchConversations'](_0x547690,_0x581ab0={}){const _0x245af3=new URLSearchParams();_0x245af3['append']('group',_0x547690),_0x245af3['append']('excludeEmpty',!0x1!==_0x581ab0['excludeEmpty']?'true':'false'),_0x245af3['append']('limit',_0x581ab0['limit']?_0x581ab0['limit']['toString']():'100'),_0x245af3['append']('sortBy',_0x581ab0['sortBy']?_0x581ab0['sortBy']:'createdAt'),_0x245af3['append']('order',_0x581ab0['order']?_0x581ab0['order']:'desc');const _0x4c4073=this['_sendApiRequest']('/conversations?'+_0x245af3['toString'](),'GET');return{'getConversations':async()=>{const _0xff2a3a=await _0x4c4073['request'];return(await _0xff2a3a['json']())['items'];},'abortController':_0x4c4073['abortController']};}['deleteConversation'](_0x22f880){const _0x56e5af=this['_sendApiRequest']('/conversations/'+_0x22f880,'DELETE');return{'execute':async()=>{await _0x56e5af['request'];},'abortController':_0x56e5af['abortController']};}['updateConversation'](_0x247ce0,_0x6696c4){const _0x21f581=this['_sendApiRequest']('/conversations/'+_0x247ce0,'PATCH',_0x6696c4);return{'getResult':async()=>(await _0x21f581['request'],_0x6696c4),'abortController':_0x21f581['abortController']};}['fetchConversation'](_0x5c65a7){const _0x1ba87b=this['_sendApiRequest']('/conversations/'+_0x5c65a7,'GET');return{'getConversation':async()=>(await _0x1ba87b['request'])['json'](),'abortController':_0x1ba87b['abortController']};}['fetchConversationMessages'](_0x24b7d4){const _0x5cbeb5=this['_sendApiRequest']('/conversations/'+_0x24b7d4+'/messages','GET');return{'getMessages':async()=>{const _0x21bf85=await _0x5cbeb5['request'];return(await _0x21bf85['json']())['items'];},'abortController':_0x5cbeb5['abortController']};}['uploadUrl'](_0x288d4c,_0x2ac42e,_0x27803f){const _0x198b9f=this['_sendApiRequest']('/conversations/'+_0x288d4c+'/web-resources','POST',{'url':_0x2ac42e,'attributes':_0x27803f});return{'getId':async()=>(await _0x198b9f['request'])['json'](),'abortController':_0x198b9f['abortController']};}['getModels'](_0x20a737='en'){const _0x2bc1ff=new URLSearchParams();_0x2bc1ff['append']('language',_0x20a737);const _0x211d17='/models/1?'+_0x2bc1ff['toString'](),_0x4bd48b=this['_sendApiRequest'](_0x211d17,'GET',void 0x0,!0x0);return{'list':async()=>await(await _0x4bd48b['request'])['json'](),'abortController':_0x4bd48b['abortController']};}['deleteFile'](_0xfe4515,_0xeb2bae){const _0x1e7500=this['_sendApiRequest']('/conversations/'+_0xfe4515+'/files/'+_0xeb2bae,'DELETE');return{'execute':async()=>{await _0x1e7500['request'];},'abortController':_0x1e7500['abortController']};}['deleteDocument'](_0x49c09a,_0x1b1179){const _0x13d023=this['_sendApiRequest']('/conversations/'+_0x49c09a+'/documents/'+_0x1b1179,'DELETE');return{'execute':async()=>{await _0x13d023['request'];},'abortController':_0x13d023['abortController']};}['deleteWebResource'](_0x5b1390,_0x345b82){const _0x338026=this['_sendApiRequest']('/conversations/'+_0x5b1390+'/web-resources/'+_0x345b82,'DELETE');return{'execute':async()=>{await _0x338026['request'];},'abortController':_0x338026['abortController']};}['callSystemReview']({reviewName:_0x15dd7e,content:_0x1fbb64,args:_0x1bcec6}){const _0x19ec57=this['_sendApiRequest']('/reviews/system/'+_0x15dd7e+'/calls','POST',{'content':[{'type':'text','content':_0x1fbb64}],'args':_0x1bcec6});return{'getStream':async()=>{const _0x4bbd59=(await _0x19ec57['request'])['body'];return this['_getStreamReader'](_0x4bbd59);},'abortController':_0x19ec57['abortController']};}['callCustomReview']({content:_0x39ad5e,prompt:_0x5c846d,model:_0x2fdb9f}){const _0xc10369=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x39ad5e}],'prompt':_0x5c846d,'model':_0x2fdb9f});return{'getStream':async()=>{const _0x24387a=(await _0xc10369['request'])['body'];return this['_getStreamReader'](_0x24387a);},'abortController':_0xc10369['abortController']};}['upsertAIChatRating'](_0x5939f7,_0x52ecd3,_0xfa4c80){const _0x338043=this['_sendApiRequest']('/conversations/'+_0x5939f7+'/messages/'+_0x52ecd3+'/ratings','PUT',{'positiveCount':_0xfa4c80['positiveCount'],'totalCount':_0xfa4c80['totalCount'],'modificationId':_0xfa4c80['modificationId']});return{'execute':async()=>{await _0x338043['request'];},'abortController':_0x338043['abortController']};}['upsertAIActionRating'](_0x507510,_0x622bb4,_0x592795){const _0x43c9ec=this['_sendApiRequest']('/actions/system/'+_0x507510+'/calls/'+_0x622bb4+'/ratings','PUT',{'positiveCount':_0x592795['positiveCount'],'totalCount':_0x592795['totalCount']});return{'execute':async()=>{await _0x43c9ec['request'];},'abortController':_0x43c9ec['abortController']};}['upsertCustomAIActionRating'](_0x1921fe,_0x5836d7){const _0x15dfbf=this['_sendApiRequest']('/actions/custom/calls/'+_0x1921fe+'/ratings','PUT',{'positiveCount':_0x5836d7['positiveCount'],'totalCount':_0x5836d7['totalCount']});return{'execute':async()=>{await _0x15dfbf['request'];},'abortController':_0x15dfbf['abortController']};}['upsertAIReviewRating'](_0x522ab4,_0x38a9c1,_0x3a390c,_0x3931ee){const _0x30c9e5=this['_sendApiRequest']('/reviews/system/'+_0x522ab4+'/calls/'+_0x38a9c1+'/ratings','PUT',{'positiveCount':_0x3a390c['positiveCount'],'totalCount':_0x3a390c['totalCount'],'dataId':_0x3931ee});return{'execute':async()=>{await _0x30c9e5['request'];},'abortController':_0x30c9e5['abortController']};}['upsertCustomAIReviewRating'](_0x361521,_0x212562,_0x142929){const _0x14e114=this['_sendApiRequest']('/reviews/custom/calls/'+_0x361521+'/ratings','PUT',{'positiveCount':_0x212562['positiveCount'],'totalCount':_0x212562['totalCount'],'dataId':_0x142929});return{'execute':async()=>{await _0x14e114['request'];},'abortController':_0x14e114['abortController']};}['_sendApiRequest'](_0x13b963,_0x1a2cc6,_0x53297d,_0x469579=!0x1){const _0x1c72ba=new AbortController(),_0x55280b=_0x469579?_0x1a2cc6+':'+_0x13b963:null;if(_0x55280b){const _0x3accd5=this['_responseCache']['get'](_0x55280b);if(_0x3accd5)return{'request':_0x3accd5['then'](_0x1176ad=>_0x1176ad['clone']()),'abortController':_0x1c72ba};}const _0x53c50d=_0x53297d instanceof FormData,_0x1f146a={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0x515330};_0x53297d&&!_0x53c50d&&(_0x1f146a['Content-Type']='application/json');const _0x26c58c={'method':_0x1a2cc6,'headers':_0x1f146a,'signal':_0x1c72ba['signal']};_0x53297d&&(_0x26c58c['body']=_0x53c50d?_0x53297d:JSON['stringify'](_0x53297d));const _0xf71c8d=fetch(''+this['_apiUrl']+_0x13b963,_0x26c58c)['catch'](_0xdeafb7=>{_0x55280b&&this['_responseCache']['delete'](_0x55280b),this['_handleError'](_0xdeafb7);})['then'](_0x5dff16=>_0x5dff16['ok']?_0x5dff16:_0x5dff16['json']()['then'](_0x1b61d9=>{throw _0x55280b&&this['_responseCache']['delete'](_0x55280b),{'url':this['_apiUrl'],'path':_0x13b963,'method':_0x1a2cc6,'body':_0x53297d,'status':(_0x5dff16||{})['status'],'statusText':(_0x5dff16||{})['statusText'],'code':_0x1b61d9['code'],'message':_0x1b61d9['message'],'traceId':_0x1b61d9['traceId']};}));return _0x55280b&&this['_responseCache']['set'](_0x55280b,_0xf71c8d['then'](_0x3ba322=>_0x3ba322['clone']())),{'request':_0xf71c8d,'abortController':_0x1c72ba};}async*['_getStreamReader'](_0x4fa5ec){const _0x3f1f44=[],_0x3f8833=_0x4fa5ec['getReader'](),_0x3b9a8f=po({'onError':_0x2d17e9=>{this['_handleError'](_0x2d17e9);},'onEvent':_0xe928ed=>{_0xe928ed['data']=JSON['parse'](_0xe928ed['data']),_0x3f1f44['push'](_0xe928ed);}});try{let _0x3268f5=!0x1;for(;!_0x3268f5;){const {done:_0xba315f,value:_0x3a9737}=await _0x3f8833['read']();_0xba315f&&(_0x3268f5=!0x0),_0x3b9a8f['feed'](this['_decoder']['decode'](_0x3a9737,{'stream':!0x0})),yield*_0x3f1f44,_0x3f1f44['length']=0x0;}}catch(_0x2adf17){this['_handleError'](_0x2adf17);}finally{_0x3f8833['releaseLock'](),_0x3b9a8f['reset']();}}['_handleError'](_0x23482a){if(_0x23482a instanceof _0x3ae0e8)throw _0x23482a;if(_0x23482a instanceof Error&&'AbortError'===_0x23482a['name'])throw new _0x3ae0e8('ai-request-aborted',this,{'originalError':_0x23482a});throw new _0x3ae0e8('ai-request-failed',this,{'originalError':_0x23482a});}}function Oo(_0x472050,_0x16b550,_0x4ac7f8){const t=_0x472050['t'];switch(_0x16b550){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'},_0x4ac7f8);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':'Response\x20stopped.'});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.'},_0x4ac7f8);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.'},_0x4ac7f8);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.'},_0x4ac7f8);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'},_0x4ac7f8);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x4ac7f8);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'},_0x4ac7f8);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.'},_0x4ac7f8);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.'},_0x4ac7f8);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.'},_0x4ac7f8);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.'},_0x4ac7f8);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'},_0x4ac7f8);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.'},_0x4ac7f8);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 _0x16b550;}}const wo='ck-ai-button-primary',bo='ck-ai-button-secondary',yo='ck-ai-button-tertiary';function vo(_0x44b3a0,_0xe2226c){const _0x3aad44=new _0x1a631f(_0x44b3a0),_0x5f3bb8=Oo(_0x44b3a0,'AI_TABS_LABEL_MINIMIZE'),_0x69de16=Oo(_0x44b3a0,'AI_TABS_LABEL_MAXIMIZE');return _0x3aad44['set']({'withText':!0x1,'icon':_0x498a6c,'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+yo}),_0x3aad44['bind']('label')['to'](_0xe2226c,'isMaximized',_0xc0f99d=>_0xc0f99d?_0x5f3bb8:_0x69de16),_0x3aad44['bind']('icon')['to'](_0xe2226c,'isMaximized',_0x30dbd3=>_0x30dbd3?_0x1f9d5e:_0x498a6c),_0x3aad44['bind']('isOn')['to'](_0xe2226c,'isMaximized'),_0x3aad44['on']('execute',()=>{_0xe2226c['fire']('resizeTabs');}),_0x3aad44;}const _o=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'](_0x58b95a=>_0x58b95a['charCodeAt'](0x0))),Eo=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x2d26c4=>_0x2d26c4['charCodeAt'](0x0)));var To;const Ao=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]]),So=null!==(To=String['fromCodePoint'])&&void 0x0!==To?To:function(_0xd350c3){let _0x3f73bb='';return _0xd350c3>0xffff&&(_0xd350c3-=0x10000,_0x3f73bb+=String['fromCharCode'](_0xd350c3>>>0xa&0x3ff|0xd800),_0xd350c3=0xdc00|0x3ff&_0xd350c3),_0x3f73bb+=String['fromCharCode'](_0xd350c3),_0x3f73bb;};var Io;!function(_0x2c101f){_0x2c101f[_0x2c101f['NUM']=0x23]='NUM',_0x2c101f[_0x2c101f['SEMI']=0x3b]='SEMI',_0x2c101f[_0x2c101f['EQUALS']=0x3d]='EQUALS',_0x2c101f[_0x2c101f['ZERO']=0x30]='ZERO',_0x2c101f[_0x2c101f['NINE']=0x39]='NINE',_0x2c101f[_0x2c101f['LOWER_A']=0x61]='LOWER_A',_0x2c101f[_0x2c101f['LOWER_F']=0x66]='LOWER_F',_0x2c101f[_0x2c101f['LOWER_X']=0x78]='LOWER_X',_0x2c101f[_0x2c101f['LOWER_Z']=0x7a]='LOWER_Z',_0x2c101f[_0x2c101f['UPPER_A']=0x41]='UPPER_A',_0x2c101f[_0x2c101f['UPPER_F']=0x46]='UPPER_F',_0x2c101f[_0x2c101f['UPPER_Z']=0x5a]='UPPER_Z';}(Io||(Io={}));var Co,ko,xo,Ro,Po,Mo;function No(_0x2c2c9c){return _0x2c2c9c>=Io['ZERO']&&_0x2c2c9c<=Io['NINE'];}function Lo(_0x45cbcb){return _0x45cbcb>=Io['UPPER_A']&&_0x45cbcb<=Io['UPPER_F']||_0x45cbcb>=Io['LOWER_A']&&_0x45cbcb<=Io['LOWER_F'];}function $o(_0x406750){return _0x406750===Io['EQUALS']||function(_0x2d0b97){return _0x2d0b97>=Io['UPPER_A']&&_0x2d0b97<=Io['UPPER_Z']||_0x2d0b97>=Io['LOWER_A']&&_0x2d0b97<=Io['LOWER_Z']||No(_0x2d0b97);}(_0x406750);}!function(_0x4d9eb0){_0x4d9eb0[_0x4d9eb0['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x4d9eb0[_0x4d9eb0['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x4d9eb0[_0x4d9eb0['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(Co||(Co={})),function(_0x5d6e49){_0x5d6e49[_0x5d6e49['EntityStart']=0x0]='EntityStart',_0x5d6e49[_0x5d6e49['NumericStart']=0x1]='NumericStart',_0x5d6e49[_0x5d6e49['NumericDecimal']=0x2]='NumericDecimal',_0x5d6e49[_0x5d6e49['NumericHex']=0x3]='NumericHex',_0x5d6e49[_0x5d6e49['NamedEntity']=0x4]='NamedEntity';}(ko||(ko={})),function(_0x48c5b1){_0x48c5b1[_0x48c5b1['Legacy']=0x0]='Legacy',_0x48c5b1[_0x48c5b1['Strict']=0x1]='Strict',_0x48c5b1[_0x48c5b1['Attribute']=0x2]='Attribute';}(xo||(xo={}));class EntityDecoder{constructor(_0x391a1a,_0xf7cf57,_0x13bf3d){this['decodeTree']=_0x391a1a,this['emitCodePoint']=_0xf7cf57,this['errors']=_0x13bf3d,this['state']=ko['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=xo['Strict'];}['startEntity'](_0x578941){this['decodeMode']=_0x578941,this['state']=ko['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0xffff14,_0x13a486){switch(this['state']){case ko['EntityStart']:return _0xffff14['charCodeAt'](_0x13a486)===Io['NUM']?(this['state']=ko['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0xffff14,_0x13a486+0x1)):(this['state']=ko['NamedEntity'],this['stateNamedEntity'](_0xffff14,_0x13a486));case ko['NumericStart']:return this['stateNumericStart'](_0xffff14,_0x13a486);case ko['NumericDecimal']:return this['stateNumericDecimal'](_0xffff14,_0x13a486);case ko['NumericHex']:return this['stateNumericHex'](_0xffff14,_0x13a486);case ko['NamedEntity']:return this['stateNamedEntity'](_0xffff14,_0x13a486);}}['stateNumericStart'](_0x1de088,_0xbebb5c){return _0xbebb5c>=_0x1de088['length']?-0x1:(0x20|_0x1de088['charCodeAt'](_0xbebb5c))===Io['LOWER_X']?(this['state']=ko['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x1de088,_0xbebb5c+0x1)):(this['state']=ko['NumericDecimal'],this['stateNumericDecimal'](_0x1de088,_0xbebb5c));}['addToNumericResult'](_0x52193f,_0xe889c6,_0x7c72ee,_0x52ce9a){if(_0xe889c6!==_0x7c72ee){const _0x69e843=_0x7c72ee-_0xe889c6;this['result']=this['result']*Math['pow'](_0x52ce9a,_0x69e843)+Number['parseInt'](_0x52193f['substr'](_0xe889c6,_0x69e843),_0x52ce9a),this['consumed']+=_0x69e843;}}['stateNumericHex'](_0xf9c622,_0x2e034d){const _0x39ffe2=_0x2e034d;for(;_0x2e034d<_0xf9c622['length'];){const _0x238034=_0xf9c622['charCodeAt'](_0x2e034d);if(!No(_0x238034)&&!Lo(_0x238034))return this['addToNumericResult'](_0xf9c622,_0x39ffe2,_0x2e034d,0x10),this['emitNumericEntity'](_0x238034,0x3);_0x2e034d+=0x1;}return this['addToNumericResult'](_0xf9c622,_0x39ffe2,_0x2e034d,0x10),-0x1;}['stateNumericDecimal'](_0x4d8524,_0x4ba1fd){const _0x1944de=_0x4ba1fd;for(;_0x4ba1fd<_0x4d8524['length'];){const _0x55bc14=_0x4d8524['charCodeAt'](_0x4ba1fd);if(!No(_0x55bc14))return this['addToNumericResult'](_0x4d8524,_0x1944de,_0x4ba1fd,0xa),this['emitNumericEntity'](_0x55bc14,0x2);_0x4ba1fd+=0x1;}return this['addToNumericResult'](_0x4d8524,_0x1944de,_0x4ba1fd,0xa),-0x1;}['emitNumericEntity'](_0x4ae6a4,_0x541023){var _0x149d4e;if(this['consumed']<=_0x541023)return null===(_0x149d4e=this['errors'])||void 0x0===_0x149d4e||_0x149d4e['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x4ae6a4===Io['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===xo['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x45f483){var _0x5e6c89;return _0x45f483>=0xd800&&_0x45f483<=0xdfff||_0x45f483>0x10ffff?0xfffd:null!==(_0x5e6c89=Ao['get'](_0x45f483))&&void 0x0!==_0x5e6c89?_0x5e6c89:_0x45f483;}(this['result']),this['consumed']),this['errors']&&(_0x4ae6a4!==Io['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x3783d4,_0x16b8cc){const {decodeTree:_0x344545}=this;let _0x45d35f=_0x344545[this['treeIndex']],_0x3ed697=(_0x45d35f&Co['VALUE_LENGTH'])>>0xe;for(;_0x16b8cc<_0x3783d4['length'];_0x16b8cc++,this['excess']++){const _0x43ef06=_0x3783d4['charCodeAt'](_0x16b8cc);if(this['treeIndex']=Do(_0x344545,_0x45d35f,this['treeIndex']+Math['max'](0x1,_0x3ed697),_0x43ef06),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===xo['Attribute']&&(0x0===_0x3ed697||$o(_0x43ef06))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x45d35f=_0x344545[this['treeIndex']],_0x3ed697=(_0x45d35f&Co['VALUE_LENGTH'])>>0xe,0x0!==_0x3ed697){if(_0x43ef06===Io['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x3ed697,this['consumed']+this['excess']);this['decodeMode']!==xo['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x325131;const {result:_0x5b4503,decodeTree:_0x2fd4d7}=this,_0x3f6083=(_0x2fd4d7[_0x5b4503]&Co['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x5b4503,_0x3f6083,this['consumed']),null===(_0x325131=this['errors'])||void 0x0===_0x325131||_0x325131['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x1949ad,_0x2c298f,_0x37c34f){const {decodeTree:_0x154d66}=this;return this['emitCodePoint'](0x1===_0x2c298f?_0x154d66[_0x1949ad]&~Co['VALUE_LENGTH']:_0x154d66[_0x1949ad+0x1],_0x37c34f),0x3===_0x2c298f&&this['emitCodePoint'](_0x154d66[_0x1949ad+0x2],_0x37c34f),_0x37c34f;}['end'](){var _0x59d326;switch(this['state']){case ko['NamedEntity']:return 0x0===this['result']||this['decodeMode']===xo['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case ko['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case ko['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case ko['NumericStart']:return null===(_0x59d326=this['errors'])||void 0x0===_0x59d326||_0x59d326['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case ko['EntityStart']:return 0x0;}}}function Do(_0x3d7341,_0x3d794b,_0x1cd6d9,_0x585807){const _0x1b2c26=(_0x3d794b&Co['BRANCH_LENGTH'])>>0x7,_0x5f4dbd=_0x3d794b&Co['JUMP_TABLE'];if(0x0===_0x1b2c26)return 0x0!==_0x5f4dbd&&_0x585807===_0x5f4dbd?_0x1cd6d9:-0x1;if(_0x5f4dbd){const _0x91adf=_0x585807-_0x5f4dbd;return _0x91adf<0x0||_0x91adf>=_0x1b2c26?-0x1:_0x3d7341[_0x1cd6d9+_0x91adf]-0x1;}let _0x204fb8=_0x1cd6d9,_0x4cb27d=_0x204fb8+_0x1b2c26-0x1;for(;_0x204fb8<=_0x4cb27d;){const _0x5b78d4=_0x204fb8+_0x4cb27d>>>0x1,_0x161d85=_0x3d7341[_0x5b78d4];if(_0x161d85<_0x585807)_0x204fb8=_0x5b78d4+0x1;else{if(!(_0x161d85>_0x585807))return _0x3d7341[_0x5b78d4+_0x1b2c26];_0x4cb27d=_0x5b78d4-0x1;}}return-0x1;}function Qo(_0x310d1d){return _0x310d1d===Ro['Space']||_0x310d1d===Ro['NewLine']||_0x310d1d===Ro['Tab']||_0x310d1d===Ro['FormFeed']||_0x310d1d===Ro['CarriageReturn'];}function Vo(_0x388fe7){return _0x388fe7===Ro['Slash']||_0x388fe7===Ro['Gt']||Qo(_0x388fe7);}!function(_0x10d533){_0x10d533[_0x10d533['Tab']=0x9]='Tab',_0x10d533[_0x10d533['NewLine']=0xa]='NewLine',_0x10d533[_0x10d533['FormFeed']=0xc]='FormFeed',_0x10d533[_0x10d533['CarriageReturn']=0xd]='CarriageReturn',_0x10d533[_0x10d533['Space']=0x20]='Space',_0x10d533[_0x10d533['ExclamationMark']=0x21]='ExclamationMark',_0x10d533[_0x10d533['Number']=0x23]='Number',_0x10d533[_0x10d533['Amp']=0x26]='Amp',_0x10d533[_0x10d533['SingleQuote']=0x27]='SingleQuote',_0x10d533[_0x10d533['DoubleQuote']=0x22]='DoubleQuote',_0x10d533[_0x10d533['Dash']=0x2d]='Dash',_0x10d533[_0x10d533['Slash']=0x2f]='Slash',_0x10d533[_0x10d533['Zero']=0x30]='Zero',_0x10d533[_0x10d533['Nine']=0x39]='Nine',_0x10d533[_0x10d533['Semi']=0x3b]='Semi',_0x10d533[_0x10d533['Lt']=0x3c]='Lt',_0x10d533[_0x10d533['Eq']=0x3d]='Eq',_0x10d533[_0x10d533['Gt']=0x3e]='Gt',_0x10d533[_0x10d533['Questionmark']=0x3f]='Questionmark',_0x10d533[_0x10d533['UpperA']=0x41]='UpperA',_0x10d533[_0x10d533['LowerA']=0x61]='LowerA',_0x10d533[_0x10d533['UpperF']=0x46]='UpperF',_0x10d533[_0x10d533['LowerF']=0x66]='LowerF',_0x10d533[_0x10d533['UpperZ']=0x5a]='UpperZ',_0x10d533[_0x10d533['LowerZ']=0x7a]='LowerZ',_0x10d533[_0x10d533['LowerX']=0x78]='LowerX',_0x10d533[_0x10d533['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Ro||(Ro={})),function(_0x54f067){_0x54f067[_0x54f067['Text']=0x1]='Text',_0x54f067[_0x54f067['BeforeTagName']=0x2]='BeforeTagName',_0x54f067[_0x54f067['InTagName']=0x3]='InTagName',_0x54f067[_0x54f067['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x54f067[_0x54f067['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x54f067[_0x54f067['InClosingTagName']=0x6]='InClosingTagName',_0x54f067[_0x54f067['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x54f067[_0x54f067['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x54f067[_0x54f067['InAttributeName']=0x9]='InAttributeName',_0x54f067[_0x54f067['AfterAttributeName']=0xa]='AfterAttributeName',_0x54f067[_0x54f067['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x54f067[_0x54f067['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x54f067[_0x54f067['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x54f067[_0x54f067['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x54f067[_0x54f067['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x54f067[_0x54f067['InDeclaration']=0x10]='InDeclaration',_0x54f067[_0x54f067['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x54f067[_0x54f067['BeforeComment']=0x12]='BeforeComment',_0x54f067[_0x54f067['CDATASequence']=0x13]='CDATASequence',_0x54f067[_0x54f067['InSpecialComment']=0x14]='InSpecialComment',_0x54f067[_0x54f067['InCommentLike']=0x15]='InCommentLike',_0x54f067[_0x54f067['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x54f067[_0x54f067['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x54f067[_0x54f067['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x54f067[_0x54f067['InSpecialTag']=0x19]='InSpecialTag',_0x54f067[_0x54f067['InEntity']=0x1a]='InEntity';}(Po||(Po={})),function(_0x28395c){_0x28395c[_0x28395c['NoValue']=0x0]='NoValue',_0x28395c[_0x28395c['Unquoted']=0x1]='Unquoted',_0x28395c[_0x28395c['Single']=0x2]='Single',_0x28395c[_0x28395c['Double']=0x3]='Double';}(Mo||(Mo={}));const Uo={'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:_0x2b84e1=!0x1,decodeEntities:_0x21f0ab=!0x0},_0x22c004){this['cbs']=_0x22c004,this['state']=Po['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=Po['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x2b84e1,this['decodeEntities']=_0x21f0ab,this['entityDecoder']=new EntityDecoder(_0x2b84e1?Eo:_o,(_0x56bb71,_0x538077)=>this['emitCodePoint'](_0x56bb71,_0x538077));}['reset'](){this['state']=Po['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=Po['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x7ae98b){this['offset']+=this['buffer']['length'],this['buffer']=_0x7ae98b,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'](_0x57993c){_0x57993c===Ro['Lt']||!this['decodeEntities']&&this['fastForwardTo'](Ro['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=Po['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x57993c===Ro['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x160014){const _0x41b47c=this['sequenceIndex']===this['currentSequence']['length'];if(_0x41b47c?Vo(_0x160014):(0x20|_0x160014)===this['currentSequence'][this['sequenceIndex']]){if(!_0x41b47c)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=Po['InTagName'],this['stateInTagName'](_0x160014);}['stateInSpecialTag'](_0x2a0e48){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x2a0e48===Ro['Gt']||Qo(_0x2a0e48)){const _0x53449a=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x53449a){const _0x144de7=this['index'];this['index']=_0x53449a,this['cbs']['ontext'](this['sectionStart'],_0x53449a),this['index']=_0x144de7;}return this['isSpecial']=!0x1,this['sectionStart']=_0x53449a+0x2,void this['stateInClosingTagName'](_0x2a0e48);}this['sequenceIndex']=0x0;}(0x20|_0x2a0e48)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===Uo['TitleEnd']?this['decodeEntities']&&_0x2a0e48===Ro['Amp']&&this['startEntity']():this['fastForwardTo'](Ro['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x2a0e48===Ro['Lt']);}['stateCDATASequence'](_0x32e412){_0x32e412===Uo['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===Uo['Cdata']['length']&&(this['state']=Po['InCommentLike'],this['currentSequence']=Uo['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=Po['InDeclaration'],this['stateInDeclaration'](_0x32e412));}['fastForwardTo'](_0xbb807f){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0xbb807f)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x28ee93){_0x28ee93===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===Uo['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']=Po['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x28ee93!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x15e27e){return this['xmlMode']?!Vo(_0x15e27e):function(_0x5e7525){return _0x5e7525>=Ro['LowerA']&&_0x5e7525<=Ro['LowerZ']||_0x5e7525>=Ro['UpperA']&&_0x5e7525<=Ro['UpperZ'];}(_0x15e27e);}['startSpecial'](_0x2f74ba,_0x4a5524){this['isSpecial']=!0x0,this['currentSequence']=_0x2f74ba,this['sequenceIndex']=_0x4a5524,this['state']=Po['SpecialStartSequence'];}['stateBeforeTagName'](_0x28df9f){if(_0x28df9f===Ro['ExclamationMark'])this['state']=Po['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x28df9f===Ro['Questionmark'])this['state']=Po['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x28df9f)){const _0x3e317b=0x20|_0x28df9f;this['sectionStart']=this['index'],this['xmlMode']?this['state']=Po['InTagName']:_0x3e317b===Uo['ScriptEnd'][0x2]?this['state']=Po['BeforeSpecialS']:_0x3e317b===Uo['TitleEnd'][0x2]||_0x3e317b===Uo['XmpEnd'][0x2]?this['state']=Po['BeforeSpecialT']:this['state']=Po['InTagName'];}else _0x28df9f===Ro['Slash']?this['state']=Po['BeforeClosingTagName']:(this['state']=Po['Text'],this['stateText'](_0x28df9f));}}}['stateInTagName'](_0x737a5c){Vo(_0x737a5c)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x737a5c));}['stateBeforeClosingTagName'](_0x514b49){Qo(_0x514b49)||(_0x514b49===Ro['Gt']?this['state']=Po['Text']:(this['state']=this['isTagStartChar'](_0x514b49)?Po['InClosingTagName']:Po['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x161b38){(_0x161b38===Ro['Gt']||Qo(_0x161b38))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Po['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x161b38));}['stateAfterClosingTagName'](_0x1db481){(_0x1db481===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x2c74fc){_0x2c74fc===Ro['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=Po['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=Po['Text'],this['sectionStart']=this['index']+0x1):_0x2c74fc===Ro['Slash']?this['state']=Po['InSelfClosingTag']:Qo(_0x2c74fc)||(this['state']=Po['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x58053f){_0x58053f===Ro['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):Qo(_0x58053f)||(this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x58053f));}['stateInAttributeName'](_0x4a4c39){(_0x4a4c39===Ro['Eq']||Vo(_0x4a4c39))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=Po['AfterAttributeName'],this['stateAfterAttributeName'](_0x4a4c39));}['stateAfterAttributeName'](_0x5aa15c){_0x5aa15c===Ro['Eq']?this['state']=Po['BeforeAttributeValue']:_0x5aa15c===Ro['Slash']||_0x5aa15c===Ro['Gt']?(this['cbs']['onattribend'](Mo['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5aa15c)):Qo(_0x5aa15c)||(this['cbs']['onattribend'](Mo['NoValue'],this['sectionStart']),this['state']=Po['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x5f51a3){_0x5f51a3===Ro['DoubleQuote']?(this['state']=Po['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x5f51a3===Ro['SingleQuote']?(this['state']=Po['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):Qo(_0x5f51a3)||(this['sectionStart']=this['index'],this['state']=Po['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x5f51a3));}['handleInAttributeValue'](_0x420979,_0x2b2d62){_0x420979===_0x2b2d62||!this['decodeEntities']&&this['fastForwardTo'](_0x2b2d62)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x2b2d62===Ro['DoubleQuote']?Mo['Double']:Mo['Single'],this['index']+0x1),this['state']=Po['BeforeAttributeName']):this['decodeEntities']&&_0x420979===Ro['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x4441a7){this['handleInAttributeValue'](_0x4441a7,Ro['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x145fc0){this['handleInAttributeValue'](_0x145fc0,Ro['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x4c133a){Qo(_0x4c133a)||_0x4c133a===Ro['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](Mo['Unquoted'],this['index']),this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4c133a)):this['decodeEntities']&&_0x4c133a===Ro['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x545abc){_0x545abc===Ro['OpeningSquareBracket']?(this['state']=Po['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x545abc===Ro['Dash']?Po['BeforeComment']:Po['InDeclaration'];}['stateInDeclaration'](_0x569ac1){(_0x569ac1===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x8e8f11){(_0x8e8f11===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x42ed2f){_0x42ed2f===Ro['Dash']?(this['state']=Po['InCommentLike'],this['currentSequence']=Uo['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=Po['InDeclaration'];}['stateInSpecialComment'](_0x288db3){(_0x288db3===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x2e78e6){const _0x54b267=0x20|_0x2e78e6;_0x54b267===Uo['ScriptEnd'][0x3]?this['startSpecial'](Uo['ScriptEnd'],0x4):_0x54b267===Uo['StyleEnd'][0x3]?this['startSpecial'](Uo['StyleEnd'],0x4):(this['state']=Po['InTagName'],this['stateInTagName'](_0x2e78e6));}['stateBeforeSpecialT'](_0xf73742){switch(0x20|_0xf73742){case Uo['TitleEnd'][0x3]:this['startSpecial'](Uo['TitleEnd'],0x4);break;case Uo['TextareaEnd'][0x3]:this['startSpecial'](Uo['TextareaEnd'],0x4);break;case Uo['XmpEnd'][0x3]:this['startSpecial'](Uo['XmpEnd'],0x4);break;default:this['state']=Po['InTagName'],this['stateInTagName'](_0xf73742);}}['startEntity'](){this['baseState']=this['state'],this['state']=Po['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?xo['Strict']:this['baseState']===Po['Text']||this['baseState']===Po['InSpecialTag']?xo['Legacy']:xo['Attribute']);}['stateInEntity'](){const _0x209e62=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x209e62>=0x0?(this['state']=this['baseState'],0x0===_0x209e62&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===Po['Text']||this['state']===Po['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==Po['InAttributeValueDq']&&this['state']!==Po['InAttributeValueSq']&&this['state']!==Po['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 _0x40235e=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case Po['Text']:this['stateText'](_0x40235e);break;case Po['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x40235e);break;case Po['InSpecialTag']:this['stateInSpecialTag'](_0x40235e);break;case Po['CDATASequence']:this['stateCDATASequence'](_0x40235e);break;case Po['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x40235e);break;case Po['InAttributeName']:this['stateInAttributeName'](_0x40235e);break;case Po['InCommentLike']:this['stateInCommentLike'](_0x40235e);break;case Po['InSpecialComment']:this['stateInSpecialComment'](_0x40235e);break;case Po['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x40235e);break;case Po['InTagName']:this['stateInTagName'](_0x40235e);break;case Po['InClosingTagName']:this['stateInClosingTagName'](_0x40235e);break;case Po['BeforeTagName']:this['stateBeforeTagName'](_0x40235e);break;case Po['AfterAttributeName']:this['stateAfterAttributeName'](_0x40235e);break;case Po['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x40235e);break;case Po['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x40235e);break;case Po['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x40235e);break;case Po['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x40235e);break;case Po['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x40235e);break;case Po['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x40235e);break;case Po['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x40235e);break;case Po['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x40235e);break;case Po['InDeclaration']:this['stateInDeclaration'](_0x40235e);break;case Po['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x40235e);break;case Po['BeforeComment']:this['stateBeforeComment'](_0x40235e);break;case Po['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x40235e);break;case Po['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===Po['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x2d5bea=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x2d5bea||(this['state']===Po['InCommentLike']?this['currentSequence']===Uo['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x2d5bea,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x2d5bea,0x0):this['state']===Po['InTagName']||this['state']===Po['BeforeAttributeName']||this['state']===Po['BeforeAttributeValue']||this['state']===Po['AfterAttributeName']||this['state']===Po['InAttributeName']||this['state']===Po['InAttributeValueSq']||this['state']===Po['InAttributeValueDq']||this['state']===Po['InAttributeValueNq']||this['state']===Po['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x2d5bea));}['emitCodePoint'](_0x596213,_0x13e4b6){this['baseState']!==Po['Text']&&this['baseState']!==Po['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x13e4b6,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x596213)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x13e4b6,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x596213,this['sectionStart']));}}const Bo=new Set(['input','option','optgroup','select','button','datalist','textarea']),jo=new Set(['p']),Fo=new Set(['thead','tbody']),Ho=new Set(['dd','dt']),Go=new Set(['rt','rp']),Zo=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',jo],['h1',jo],['h2',jo],['h3',jo],['h4',jo],['h5',jo],['h6',jo],['select',Bo],['input',Bo],['output',Bo],['button',Bo],['datalist',Bo],['textarea',Bo],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',Ho],['dt',Ho],['address',jo],['article',jo],['aside',jo],['blockquote',jo],['details',jo],['div',jo],['dl',jo],['fieldset',jo],['figcaption',jo],['figure',jo],['footer',jo],['form',jo],['header',jo],['hr',jo],['main',jo],['nav',jo],['ol',jo],['pre',jo],['section',jo],['table',jo],['ul',jo],['rt',Go],['rp',Go],['tbody',Fo],['tfoot',Fo]]),Xo=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),qo=new Set(['math','svg']),Wo=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),zo=/\s|\//;let Yo=class Parser{constructor(_0x3769ba,_0x587812={}){var _0x41d890,_0x341f22,_0x5d4aa6,_0x3b8bac,_0x3dfe2f,_0xfe1806;this['options']=_0x587812,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!=_0x3769ba?_0x3769ba:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x41d890=_0x587812['lowerCaseTags'])&&void 0x0!==_0x41d890?_0x41d890:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x341f22=_0x587812['lowerCaseAttributeNames'])&&void 0x0!==_0x341f22?_0x341f22:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x5d4aa6=_0x587812['recognizeSelfClosing'])&&void 0x0!==_0x5d4aa6?_0x5d4aa6:!this['htmlMode'],this['tokenizer']=new(null!==(_0x3b8bac=_0x587812['Tokenizer'])&&void 0x0!==_0x3b8bac?_0x3b8bac:Tokenizer)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0xfe1806=(_0x3dfe2f=this['cbs'])['onparserinit'])||void 0x0===_0xfe1806||_0xfe1806['call'](_0x3dfe2f,this);}['ontext'](_0x2ed2d0,_0x18cc2d){var _0x5c6740,_0x337ff4;const _0x2bd6da=this['getSlice'](_0x2ed2d0,_0x18cc2d);this['endIndex']=_0x18cc2d-0x1,null===(_0x337ff4=(_0x5c6740=this['cbs'])['ontext'])||void 0x0===_0x337ff4||_0x337ff4['call'](_0x5c6740,_0x2bd6da),this['startIndex']=_0x18cc2d;}['ontextentity'](_0x3510d1,_0x1499ec){var _0x5eae33,_0x572fd7;this['endIndex']=_0x1499ec-0x1,null===(_0x572fd7=(_0x5eae33=this['cbs'])['ontext'])||void 0x0===_0x572fd7||_0x572fd7['call'](_0x5eae33,So(_0x3510d1)),this['startIndex']=_0x1499ec;}['isVoidElement'](_0x2fa3c3){return this['htmlMode']&&Xo['has'](_0x2fa3c3);}['onopentagname'](_0x493f58,_0x40c9cb){this['endIndex']=_0x40c9cb;let _0x17ea67=this['getSlice'](_0x493f58,_0x40c9cb);this['lowerCaseTagNames']&&(_0x17ea67=_0x17ea67['toLowerCase']()),this['emitOpenTag'](_0x17ea67);}['emitOpenTag'](_0x338ec5){var _0x13646b,_0x56deb0,_0x12a279,_0xecece6;this['openTagStart']=this['startIndex'],this['tagname']=_0x338ec5;const _0xab40d2=this['htmlMode']&&Zo['get'](_0x338ec5);if(_0xab40d2)for(;this['stack']['length']>0x0&&_0xab40d2['has'](this['stack'][0x0]);){const _0x244d6c=this['stack']['shift']();null===(_0x56deb0=(_0x13646b=this['cbs'])['onclosetag'])||void 0x0===_0x56deb0||_0x56deb0['call'](_0x13646b,_0x244d6c,!0x0);}this['isVoidElement'](_0x338ec5)||(this['stack']['unshift'](_0x338ec5),this['htmlMode']&&(qo['has'](_0x338ec5)?this['foreignContext']['unshift'](!0x0):Wo['has'](_0x338ec5)&&this['foreignContext']['unshift'](!0x1))),null===(_0xecece6=(_0x12a279=this['cbs'])['onopentagname'])||void 0x0===_0xecece6||_0xecece6['call'](_0x12a279,_0x338ec5),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x264bb6){var _0x503fe3,_0x42903c;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x42903c=(_0x503fe3=this['cbs'])['onopentag'])||void 0x0===_0x42903c||_0x42903c['call'](_0x503fe3,this['tagname'],this['attribs'],_0x264bb6),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0xe49b99){this['endIndex']=_0xe49b99,this['endOpenTag'](!0x1),this['startIndex']=_0xe49b99+0x1;}['onclosetag'](_0x3d61ff,_0x3ec0e6){var _0x277a05,_0x38f1b3,_0x5bafeb,_0xb67f94,_0x537ecb,_0x57bfb0,_0x25a039,_0x4331a6;this['endIndex']=_0x3ec0e6;let _0x5b0a05=this['getSlice'](_0x3d61ff,_0x3ec0e6);if(this['lowerCaseTagNames']&&(_0x5b0a05=_0x5b0a05['toLowerCase']()),this['htmlMode']&&(qo['has'](_0x5b0a05)||Wo['has'](_0x5b0a05))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x5b0a05))this['htmlMode']&&'br'===_0x5b0a05&&(null===(_0xb67f94=(_0x5bafeb=this['cbs'])['onopentagname'])||void 0x0===_0xb67f94||_0xb67f94['call'](_0x5bafeb,'br'),null===(_0x57bfb0=(_0x537ecb=this['cbs'])['onopentag'])||void 0x0===_0x57bfb0||_0x57bfb0['call'](_0x537ecb,'br',{},!0x0),null===(_0x4331a6=(_0x25a039=this['cbs'])['onclosetag'])||void 0x0===_0x4331a6||_0x4331a6['call'](_0x25a039,'br',!0x1));else{const _0x318f5b=this['stack']['indexOf'](_0x5b0a05);if(-0x1!==_0x318f5b)for(let _0x2af13d=0x0;_0x2af13d<=_0x318f5b;_0x2af13d++){const _0x49ebda=this['stack']['shift']();null===(_0x38f1b3=(_0x277a05=this['cbs'])['onclosetag'])||void 0x0===_0x38f1b3||_0x38f1b3['call'](_0x277a05,_0x49ebda,_0x2af13d!==_0x318f5b);}else this['htmlMode']&&'p'===_0x5b0a05&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x3ec0e6+0x1;}['onselfclosingtag'](_0x3c0b9b){this['endIndex']=_0x3c0b9b,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x3c0b9b+0x1):this['onopentagend'](_0x3c0b9b);}['closeCurrentTag'](_0x2f51f1){var _0xd009f,_0x30d72e;const _0x82024c=this['tagname'];this['endOpenTag'](_0x2f51f1),this['stack'][0x0]===_0x82024c&&(null===(_0x30d72e=(_0xd009f=this['cbs'])['onclosetag'])||void 0x0===_0x30d72e||_0x30d72e['call'](_0xd009f,_0x82024c,!_0x2f51f1),this['stack']['shift']());}['onattribname'](_0x596411,_0x367417){this['startIndex']=_0x596411;const _0x54844b=this['getSlice'](_0x596411,_0x367417);this['attribname']=this['lowerCaseAttributeNames']?_0x54844b['toLowerCase']():_0x54844b;}['onattribdata'](_0x2e1ecd,_0x288542){this['attribvalue']+=this['getSlice'](_0x2e1ecd,_0x288542);}['onattribentity'](_0x50275e){this['attribvalue']+=So(_0x50275e);}['onattribend'](_0x13f20d,_0x4574d7){var _0x2184fe,_0x4bc652;this['endIndex']=_0x4574d7,null===(_0x4bc652=(_0x2184fe=this['cbs'])['onattribute'])||void 0x0===_0x4bc652||_0x4bc652['call'](_0x2184fe,this['attribname'],this['attribvalue'],_0x13f20d===Mo['Double']?'\x22':_0x13f20d===Mo['Single']?'\x27':_0x13f20d===Mo['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x180b11){const _0x490808=_0x180b11['search'](zo);let _0x88b531=_0x490808<0x0?_0x180b11:_0x180b11['substr'](0x0,_0x490808);return this['lowerCaseTagNames']&&(_0x88b531=_0x88b531['toLowerCase']()),_0x88b531;}['ondeclaration'](_0x3ac2ba,_0x5345a1){this['endIndex']=_0x5345a1;const _0x2c9a9e=this['getSlice'](_0x3ac2ba,_0x5345a1);if(this['cbs']['onprocessinginstruction']){const _0x20110e=this['getInstructionName'](_0x2c9a9e);this['cbs']['onprocessinginstruction']('!'+_0x20110e,'!'+_0x2c9a9e);}this['startIndex']=_0x5345a1+0x1;}['onprocessinginstruction'](_0x2824e0,_0x2da975){this['endIndex']=_0x2da975;const _0x1663ed=this['getSlice'](_0x2824e0,_0x2da975);if(this['cbs']['onprocessinginstruction']){const _0x477012=this['getInstructionName'](_0x1663ed);this['cbs']['onprocessinginstruction']('?'+_0x477012,'?'+_0x1663ed);}this['startIndex']=_0x2da975+0x1;}['oncomment'](_0x4cd195,_0x91e0e,_0x51fef1){var _0x4d8501,_0x58cbd1,_0x35d4b3,_0x188da0;this['endIndex']=_0x91e0e,null===(_0x58cbd1=(_0x4d8501=this['cbs'])['oncomment'])||void 0x0===_0x58cbd1||_0x58cbd1['call'](_0x4d8501,this['getSlice'](_0x4cd195,_0x91e0e-_0x51fef1)),null===(_0x188da0=(_0x35d4b3=this['cbs'])['oncommentend'])||void 0x0===_0x188da0||_0x188da0['call'](_0x35d4b3),this['startIndex']=_0x91e0e+0x1;}['oncdata'](_0x3e083b,_0x3ff1e8,_0x4d547b){var _0x1080c8,_0xb82e34,_0x4c9234,_0x140330,_0x445303,_0x14a66d,_0x4b2137,_0x1f7c28,_0x4a2011,_0x1a8fa3;this['endIndex']=_0x3ff1e8;const _0x5e6c6f=this['getSlice'](_0x3e083b,_0x3ff1e8-_0x4d547b);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0xb82e34=(_0x1080c8=this['cbs'])['oncdatastart'])||void 0x0===_0xb82e34||_0xb82e34['call'](_0x1080c8),null===(_0x140330=(_0x4c9234=this['cbs'])['ontext'])||void 0x0===_0x140330||_0x140330['call'](_0x4c9234,_0x5e6c6f),null===(_0x14a66d=(_0x445303=this['cbs'])['oncdataend'])||void 0x0===_0x14a66d||_0x14a66d['call'](_0x445303)):(null===(_0x1f7c28=(_0x4b2137=this['cbs'])['oncomment'])||void 0x0===_0x1f7c28||_0x1f7c28['call'](_0x4b2137,'[CDATA['+_0x5e6c6f+']]'),null===(_0x1a8fa3=(_0x4a2011=this['cbs'])['oncommentend'])||void 0x0===_0x1a8fa3||_0x1a8fa3['call'](_0x4a2011)),this['startIndex']=_0x3ff1e8+0x1;}['onend'](){var _0x23c245,_0x355211;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x27918e=0x0;_0x27918e<this['stack']['length'];_0x27918e++)this['cbs']['onclosetag'](this['stack'][_0x27918e],!0x0);}null===(_0x355211=(_0x23c245=this['cbs'])['onend'])||void 0x0===_0x355211||_0x355211['call'](_0x23c245);}['reset'](){var _0x9f9a96,_0x3e0da4,_0x4d92f4,_0x2fabad;null===(_0x3e0da4=(_0x9f9a96=this['cbs'])['onreset'])||void 0x0===_0x3e0da4||_0x3e0da4['call'](_0x9f9a96),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x2fabad=(_0x4d92f4=this['cbs'])['onparserinit'])||void 0x0===_0x2fabad||_0x2fabad['call'](_0x4d92f4,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x49d7c9){this['reset'](),this['end'](_0x49d7c9);}['getSlice'](_0x76bb71,_0x1bf1ca){for(;_0x76bb71-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x32198b=this['buffers'][0x0]['slice'](_0x76bb71-this['bufferOffset'],_0x1bf1ca-this['bufferOffset']);for(;_0x1bf1ca-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x32198b+=this['buffers'][0x0]['slice'](0x0,_0x1bf1ca-this['bufferOffset']);return _0x32198b;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x3e66a3){var _0x57a025,_0x3a4a13;this['ended']?null===(_0x3a4a13=(_0x57a025=this['cbs'])['onerror'])||void 0x0===_0x3a4a13||_0x3a4a13['call'](_0x57a025,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x3e66a3),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x3e66a3),this['writeIndex']++));}['end'](_0x445353){var _0x3b4ad1,_0x32078f;this['ended']?null===(_0x32078f=(_0x3b4ad1=this['cbs'])['onerror'])||void 0x0===_0x32078f||_0x32078f['call'](_0x3b4ad1,new Error('.end()\x20after\x20done!')):(_0x445353&&this['write'](_0x445353),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'](_0xe831fb){this['write'](_0xe831fb);}['done'](_0x4954ed){this['end'](_0x4954ed);}};var Ko;!function(_0x59567a){_0x59567a['Root']='root',_0x59567a['Text']='text',_0x59567a['Directive']='directive',_0x59567a['Comment']='comment',_0x59567a['Script']='script',_0x59567a['Style']='style',_0x59567a['Tag']='tag',_0x59567a['CDATA']='cdata',_0x59567a['Doctype']='doctype';}(Ko||(Ko={}));const Jo=Ko['Root'],ta=Ko['Text'],ea=Ko['Directive'],ia=Ko['Comment'],sa=Ko['Script'],na=Ko['Style'],ra=Ko['Tag'],oa=Ko['CDATA'],aa=Ko['Doctype'];let ca=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'](_0x558436){this['parent']=_0x558436;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x43bbbc){this['prev']=_0x43bbbc;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x224a2b){this['next']=_0x224a2b;}['cloneNode'](_0x81d1fd=!0x1){return wa(this,_0x81d1fd);}};class DataNode extends ca{constructor(_0x4a9669){super(),this['data']=_0x4a9669;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x3bb04c){this['data']=_0x3bb04c;}}let la=class Text extends DataNode{constructor(){super(...arguments),this['type']=Ko['Text'];}get['nodeType'](){return 0x3;}},ha=class Comment extends DataNode{constructor(){super(...arguments),this['type']=Ko['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x577f01,_0x173fac){super(_0x173fac),this['name']=_0x577f01,this['type']=Ko['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends ca{constructor(_0x5eb5f1){super(),this['children']=_0x5eb5f1;}get['firstChild'](){var _0x2116e8;return null!==(_0x2116e8=this['children'][0x0])&&void 0x0!==_0x2116e8?_0x2116e8:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x370c7e){this['children']=_0x370c7e;}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this['type']=Ko['CDATA'];}get['nodeType'](){return 0x4;}}let ua=class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=Ko['Root'];}get['nodeType'](){return 0x9;}},da=class Element extends NodeWithChildren{constructor(_0x105ed4,_0x1087c4,_0x5c1aec=[],_0x50b305='script'===_0x105ed4?Ko['Script']:'style'===_0x105ed4?Ko['Style']:Ko['Tag']){super(_0x5c1aec),this['name']=_0x105ed4,this['attribs']=_0x1087c4,this['type']=_0x50b305;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x35b5ac){this['name']=_0x35b5ac;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0xc6c27b=>{var _0x256de1,_0xe809b2;return{'name':_0xc6c27b,'value':this['attribs'][_0xc6c27b],'namespace':null===(_0x256de1=this['x-attribsNamespace'])||void 0x0===_0x256de1?void 0x0:_0x256de1[_0xc6c27b],'prefix':null===(_0xe809b2=this['x-attribsPrefix'])||void 0x0===_0xe809b2?void 0x0:_0xe809b2[_0xc6c27b]};});}};function fa(_0x4fe485){return(_0x1c66f7=_0x4fe485)['type']===Ko['Tag']||_0x1c66f7['type']===Ko['Script']||_0x1c66f7['type']===Ko['Style'];var _0x1c66f7;}function ma(_0x475f66){return _0x475f66['type']===Ko['Text'];}function ga(_0x995c52){return _0x995c52['type']===Ko['Comment'];}function pa(_0x14f01d){return _0x14f01d['type']===Ko['Root'];}function Oa(_0xfc024c){return Object['prototype']['hasOwnProperty']['call'](_0xfc024c,'children');}function wa(_0x1b6e80,_0x2b2041=!0x1){let _0x7f8249;if(ma(_0x1b6e80))_0x7f8249=new la(_0x1b6e80['data']);else{if(ga(_0x1b6e80))_0x7f8249=new ha(_0x1b6e80['data']);else{if(fa(_0x1b6e80)){const _0x2a57af=_0x2b2041?ba(_0x1b6e80['children']):[],_0x59a5be=new da(_0x1b6e80['name'],{..._0x1b6e80['attribs']},_0x2a57af);_0x2a57af['forEach'](_0x58d794=>_0x58d794['parent']=_0x59a5be),null!=_0x1b6e80['namespace']&&(_0x59a5be['namespace']=_0x1b6e80['namespace']),_0x1b6e80['x-attribsNamespace']&&(_0x59a5be['x-attribsNamespace']={..._0x1b6e80['x-attribsNamespace']}),_0x1b6e80['x-attribsPrefix']&&(_0x59a5be['x-attribsPrefix']={..._0x1b6e80['x-attribsPrefix']}),_0x7f8249=_0x59a5be;}else{if(function(_0x26c04e){return _0x26c04e['type']===Ko['CDATA'];}(_0x1b6e80)){const _0x26e314=_0x2b2041?ba(_0x1b6e80['children']):[],_0x402ab6=new CDATA(_0x26e314);_0x26e314['forEach'](_0x510a96=>_0x510a96['parent']=_0x402ab6),_0x7f8249=_0x402ab6;}else{if(pa(_0x1b6e80)){const _0x336ed5=_0x2b2041?ba(_0x1b6e80['children']):[],_0x74e4a2=new ua(_0x336ed5);_0x336ed5['forEach'](_0x3bed29=>_0x3bed29['parent']=_0x74e4a2),_0x1b6e80['x-mode']&&(_0x74e4a2['x-mode']=_0x1b6e80['x-mode']),_0x7f8249=_0x74e4a2;}else{if(!function(_0x1a0dfb){return _0x1a0dfb['type']===Ko['Directive'];}(_0x1b6e80))throw new Error('Not\x20implemented\x20yet:\x20'+_0x1b6e80['type']);{const _0x1c1bbc=new ProcessingInstruction(_0x1b6e80['name'],_0x1b6e80['data']);null!=_0x1b6e80['x-name']&&(_0x1c1bbc['x-name']=_0x1b6e80['x-name'],_0x1c1bbc['x-publicId']=_0x1b6e80['x-publicId'],_0x1c1bbc['x-systemId']=_0x1b6e80['x-systemId']),_0x7f8249=_0x1c1bbc;}}}}}}return _0x7f8249['startIndex']=_0x1b6e80['startIndex'],_0x7f8249['endIndex']=_0x1b6e80['endIndex'],null!=_0x1b6e80['sourceCodeLocation']&&(_0x7f8249['sourceCodeLocation']=_0x1b6e80['sourceCodeLocation']),_0x7f8249;}function ba(_0x5be997){const _0x4e183d=_0x5be997['map'](_0x4ba035=>wa(_0x4ba035,!0x0));for(let _0x7fcd92=0x1;_0x7fcd92<_0x4e183d['length'];_0x7fcd92++)_0x4e183d[_0x7fcd92]['prev']=_0x4e183d[_0x7fcd92-0x1],_0x4e183d[_0x7fcd92-0x1]['next']=_0x4e183d[_0x7fcd92];return _0x4e183d;}const ya={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class DomHandler{constructor(_0x94a2e6,_0x5c315f,_0x1fc0b5){this['dom']=[],this['root']=new ua(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x5c315f&&(_0x1fc0b5=_0x5c315f,_0x5c315f=ya),'object'==typeof _0x94a2e6&&(_0x5c315f=_0x94a2e6,_0x94a2e6=void 0x0),this['callback']=null!=_0x94a2e6?_0x94a2e6:null,this['options']=null!=_0x5c315f?_0x5c315f:ya,this['elementCB']=null!=_0x1fc0b5?_0x1fc0b5:null;}['onparserinit'](_0x4c9f71){this['parser']=_0x4c9f71;}['onreset'](){this['dom']=[],this['root']=new ua(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'](_0x280b57){this['handleCallback'](_0x280b57);}['onclosetag'](){this['lastNode']=null;const _0x24c76a=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x24c76a['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x24c76a);}['onopentag'](_0x2c542d,_0x3b69ab){const _0x1036ac=this['options']['xmlMode']?Ko['Tag']:void 0x0,_0x5635e0=new da(_0x2c542d,_0x3b69ab,void 0x0,_0x1036ac);this['addNode'](_0x5635e0),this['tagStack']['push'](_0x5635e0);}['ontext'](_0x170645){const {lastNode:_0x312c95}=this;if(_0x312c95&&_0x312c95['type']===Ko['Text'])_0x312c95['data']+=_0x170645,this['options']['withEndIndices']&&(_0x312c95['endIndex']=this['parser']['endIndex']);else{const _0x1f038b=new la(_0x170645);this['addNode'](_0x1f038b),this['lastNode']=_0x1f038b;}}['oncomment'](_0x59a975){if(this['lastNode']&&this['lastNode']['type']===Ko['Comment'])return void(this['lastNode']['data']+=_0x59a975);const _0x523145=new ha(_0x59a975);this['addNode'](_0x523145),this['lastNode']=_0x523145;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x4d2eb1=new la(''),_0x3bd771=new CDATA([_0x4d2eb1]);this['addNode'](_0x3bd771),_0x4d2eb1['parent']=_0x3bd771,this['lastNode']=_0x4d2eb1;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x38674,_0xd77b51){const _0x37de49=new ProcessingInstruction(_0x38674,_0xd77b51);this['addNode'](_0x37de49);}['handleCallback'](_0x58448f){if('function'==typeof this['callback'])this['callback'](_0x58448f,this['dom']);else{if(_0x58448f)throw _0x58448f;}}['addNode'](_0x5289cc){const _0x4fe2a0=this['tagStack'][this['tagStack']['length']-0x1],_0xfcf0d2=_0x4fe2a0['children'][_0x4fe2a0['children']['length']-0x1];this['options']['withStartIndices']&&(_0x5289cc['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x5289cc['endIndex']=this['parser']['endIndex']),_0x4fe2a0['children']['push'](_0x5289cc),_0xfcf0d2&&(_0x5289cc['prev']=_0xfcf0d2,_0xfcf0d2['next']=_0x5289cc),_0x5289cc['parent']=_0x4fe2a0,this['lastNode']=null;}}const va=/["&'<>$\x80-\uFFFF]/g,_a=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),Ea=null!=String['prototype']['codePointAt']?(_0x1270b6,_0x2c6671)=>_0x1270b6['codePointAt'](_0x2c6671):(_0x3a05bb,_0x346f3f)=>0xd800==(0xfc00&_0x3a05bb['charCodeAt'](_0x346f3f))?0x400*(_0x3a05bb['charCodeAt'](_0x346f3f)-0xd800)+_0x3a05bb['charCodeAt'](_0x346f3f+0x1)-0xdc00+0x10000:_0x3a05bb['charCodeAt'](_0x346f3f);function Ta(_0x31e6eb){let _0x45412f,_0x5833a7='',_0x1152bb=0x0;for(;null!==(_0x45412f=va['exec'](_0x31e6eb));){const _0x2fa655=_0x45412f['index'],_0x2caef0=_0x31e6eb['charCodeAt'](_0x2fa655),_0x5cce8a=_a['get'](_0x2caef0);void 0x0!==_0x5cce8a?(_0x5833a7+=_0x31e6eb['substring'](_0x1152bb,_0x2fa655)+_0x5cce8a,_0x1152bb=_0x2fa655+0x1):(_0x5833a7+=_0x31e6eb['substring'](_0x1152bb,_0x2fa655)+'&#x'+Ea(_0x31e6eb,_0x2fa655)['toString'](0x10)+';',_0x1152bb=va['lastIndex']+=Number(0xd800==(0xfc00&_0x2caef0)));}return _0x5833a7+_0x31e6eb['substr'](_0x1152bb);}function Aa(_0x52ec7f,_0x318266){return function(_0x23c733){let _0x4f271d,_0x5bda5b=0x0,_0x1b6632='';for(;_0x4f271d=_0x52ec7f['exec'](_0x23c733);)_0x5bda5b!==_0x4f271d['index']&&(_0x1b6632+=_0x23c733['substring'](_0x5bda5b,_0x4f271d['index'])),_0x1b6632+=_0x318266['get'](_0x4f271d[0x0]['charCodeAt'](0x0)),_0x5bda5b=_0x4f271d['index']+0x1;return _0x1b6632+_0x23c733['substring'](_0x5bda5b);};}const Sa=Aa(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),Ia=Aa(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),Ca=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'](_0x4d0424=>[_0x4d0424['toLowerCase'](),_0x4d0424])),ka=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'](_0x544408=>[_0x544408['toLowerCase'](),_0x544408])),xa=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function Ra(_0x485010){return _0x485010['replace'](/"/g,'&quot;');}const Pa=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function Ma(_0x1d7964,_0x2e34de={}){const _0x20f035='length'in _0x1d7964?_0x1d7964:[_0x1d7964];let _0x52cda0='';for(let _0x53e2cd=0x0;_0x53e2cd<_0x20f035['length'];_0x53e2cd++)_0x52cda0+=Na(_0x20f035[_0x53e2cd],_0x2e34de);return _0x52cda0;}function Na(_0x3f9e55,_0x2dbd5e){switch(_0x3f9e55['type']){case Jo:return Ma(_0x3f9e55['children'],_0x2dbd5e);case aa:case ea:return'<'+_0x3f9e55['data']+'>';case ia:return function(_0x4b4a0a){return'<!--'+_0x4b4a0a['data']+'-->';}(_0x3f9e55);case oa:return function(_0x5782e1){return'<![CDATA['+_0x5782e1['children'][0x0]['data']+']]>';}(_0x3f9e55);case sa:case na:case ra:return function(_0x5e900f,_0x129ddd){var _0x2ec9cb;'foreign'===_0x129ddd['xmlMode']&&(_0x5e900f['name']=null!==(_0x2ec9cb=Ca['get'](_0x5e900f['name']))&&void 0x0!==_0x2ec9cb?_0x2ec9cb:_0x5e900f['name'],_0x5e900f['parent']&&La['has'](_0x5e900f['parent']['name'])&&(_0x129ddd={..._0x129ddd,'xmlMode':!0x1})),!_0x129ddd['xmlMode']&&$a['has'](_0x5e900f['name'])&&(_0x129ddd={..._0x129ddd,'xmlMode':'foreign'});let _0x10f5ad='<'+_0x5e900f['name'];const _0x3a42c6=function(_0x31e1f4,_0x90af7d){var _0x5d4cad;if(!_0x31e1f4)return;const _0x1c439e=!0x1===(null!==(_0x5d4cad=_0x90af7d['encodeEntities'])&&void 0x0!==_0x5d4cad?_0x5d4cad:_0x90af7d['decodeEntities'])?Ra:_0x90af7d['xmlMode']||'utf8'!==_0x90af7d['encodeEntities']?Ta:Sa;return Object['keys'](_0x31e1f4)['map'](_0x47c4a7=>{var _0xcd29a5,_0x202e47;const _0x1b7ec5=null!==(_0xcd29a5=_0x31e1f4[_0x47c4a7])&&void 0x0!==_0xcd29a5?_0xcd29a5:'';return'foreign'===_0x90af7d['xmlMode']&&(_0x47c4a7=null!==(_0x202e47=ka['get'](_0x47c4a7))&&void 0x0!==_0x202e47?_0x202e47:_0x47c4a7),_0x90af7d['emptyAttrs']||_0x90af7d['xmlMode']||''!==_0x1b7ec5?_0x47c4a7+'=\x22'+_0x1c439e(_0x1b7ec5)+'\x22':_0x47c4a7;})['join']('\x20');}(_0x5e900f['attribs'],_0x129ddd);return _0x3a42c6&&(_0x10f5ad+='\x20'+_0x3a42c6),0x0===_0x5e900f['children']['length']&&(_0x129ddd['xmlMode']?!0x1!==_0x129ddd['selfClosingTags']:_0x129ddd['selfClosingTags']&&Pa['has'](_0x5e900f['name']))?(_0x129ddd['xmlMode']||(_0x10f5ad+='\x20'),_0x10f5ad+='/>'):(_0x10f5ad+='>',_0x5e900f['children']['length']>0x0&&(_0x10f5ad+=Ma(_0x5e900f['children'],_0x129ddd)),!_0x129ddd['xmlMode']&&Pa['has'](_0x5e900f['name'])||(_0x10f5ad+='</'+_0x5e900f['name']+'>')),_0x10f5ad;}(_0x3f9e55,_0x2dbd5e);case ta:return function(_0x4bdf89,_0x4413db){var _0xf5c2c3;let _0x127768=_0x4bdf89['data']||'';return!0x1===(null!==(_0xf5c2c3=_0x4413db['encodeEntities'])&&void 0x0!==_0xf5c2c3?_0xf5c2c3:_0x4413db['decodeEntities'])||!_0x4413db['xmlMode']&&_0x4bdf89['parent']&&xa['has'](_0x4bdf89['parent']['name'])||(_0x127768=_0x4413db['xmlMode']||'utf8'!==_0x4413db['encodeEntities']?Ta(_0x127768):Ia(_0x127768)),_0x127768;}(_0x3f9e55,_0x2dbd5e);}}const La=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),$a=new Set(['svg','math']);function Da(_0x3a7dc5){return Array['isArray'](_0x3a7dc5)?_0x3a7dc5['map'](Da)['join'](''):Oa(_0x3a7dc5)&&!ga(_0x3a7dc5)?Da(_0x3a7dc5['children']):ma(_0x3a7dc5)?_0x3a7dc5['data']:'';}function Qa(_0x49be57){return _0x49be57['parent']||null;}function Va(_0xc390cb){if(_0xc390cb['prev']&&(_0xc390cb['prev']['next']=_0xc390cb['next']),_0xc390cb['next']&&(_0xc390cb['next']['prev']=_0xc390cb['prev']),_0xc390cb['parent']){const _0x4c17c0=_0xc390cb['parent']['children'],_0x321a5f=_0x4c17c0['lastIndexOf'](_0xc390cb);_0x321a5f>=0x0&&_0x4c17c0['splice'](_0x321a5f,0x1);}_0xc390cb['next']=null,_0xc390cb['prev']=null,_0xc390cb['parent']=null;}function Ua(_0x1078d9,_0x131ce3){const _0x3cae4f=_0x131ce3['prev']=_0x1078d9['prev'];_0x3cae4f&&(_0x3cae4f['next']=_0x131ce3);const _0x175b02=_0x131ce3['next']=_0x1078d9['next'];_0x175b02&&(_0x175b02['prev']=_0x131ce3);const _0x283b44=_0x131ce3['parent']=_0x1078d9['parent'];if(_0x283b44){const _0x1d6fea=_0x283b44['children'];_0x1d6fea[_0x1d6fea['lastIndexOf'](_0x1078d9)]=_0x131ce3,_0x1078d9['parent']=null;}}function Ba(_0x1910c7,_0x376268){Va(_0x376268);const {parent:_0x3b2108}=_0x1910c7,_0x51cf71=_0x1910c7['next'];if(_0x376268['next']=_0x51cf71,_0x376268['prev']=_0x1910c7,_0x1910c7['next']=_0x376268,_0x376268['parent']=_0x3b2108,_0x51cf71){if(_0x51cf71['prev']=_0x376268,_0x3b2108){const _0x3c26a2=_0x3b2108['children'];_0x3c26a2['splice'](_0x3c26a2['lastIndexOf'](_0x51cf71),0x0,_0x376268);}}else _0x3b2108&&_0x3b2108['children']['push'](_0x376268);}function ja(_0x2331d3,_0x94a249){if(Va(_0x94a249),_0x94a249['parent']=_0x2331d3,_0x94a249['prev']=null,0x1!==_0x2331d3['children']['unshift'](_0x94a249)){const _0x2b94d2=_0x2331d3['children'][0x1];_0x2b94d2['prev']=_0x94a249,_0x94a249['next']=_0x2b94d2;}else _0x94a249['next']=null;}function Fa(_0x5bcece,_0x3618cf){Va(_0x3618cf);const {parent:_0x4e0205}=_0x5bcece;if(_0x4e0205){const _0x267873=_0x4e0205['children'];_0x267873['splice'](_0x267873['indexOf'](_0x5bcece),0x0,_0x3618cf);}_0x5bcece['prev']&&(_0x5bcece['prev']['next']=_0x3618cf),_0x3618cf['parent']=_0x4e0205,_0x3618cf['prev']=_0x5bcece['prev'],_0x3618cf['next']=_0x5bcece,_0x5bcece['prev']=_0x3618cf;}function Ha(_0x4acdf0,_0x266895,_0x3cbeab=!0x0){const _0x4837b9=Array['isArray'](_0x266895)?_0x266895:[_0x266895];for(let _0x5d7429=0x0;_0x5d7429<_0x4837b9['length'];_0x5d7429++){const _0x531f07=_0x4837b9[_0x5d7429];if(fa(_0x531f07)&&_0x4acdf0(_0x531f07))return _0x531f07;if(_0x3cbeab&&Oa(_0x531f07)&&_0x531f07['children']['length']>0x0){const _0x197e7b=Ha(_0x4acdf0,_0x531f07['children'],!0x0);if(_0x197e7b)return _0x197e7b;}}return null;}function Ga(_0x4be34d,_0x1bd676){const _0x5131ff=[],_0xf810ff=[Array['isArray'](_0x1bd676)?_0x1bd676:[_0x1bd676]],_0xa27d0f=[0x0];for(;;){if(_0xa27d0f[0x0]>=_0xf810ff[0x0]['length']){if(0x1===_0xf810ff['length'])return _0x5131ff;_0xf810ff['shift'](),_0xa27d0f['shift']();continue;}const _0x41b428=_0xf810ff[0x0][_0xa27d0f[0x0]++];fa(_0x41b428)&&_0x4be34d(_0x41b428)&&_0x5131ff['push'](_0x41b428),Oa(_0x41b428)&&_0x41b428['children']['length']>0x0&&(_0xa27d0f['unshift'](0x0),_0xf810ff['unshift'](_0x41b428['children']));}}function Za(_0x4765de){return function(_0x90cdb9,_0x6018e){const _0x428866=new DomHandler(void 0x0,_0x6018e);return new Yo(_0x428866,_0x6018e)['end'](_0x90cdb9),_0x428866['root'];}(_0x4765de);}function Xa(_0x584733){return Ma(_0x584733);}function qa(_0x4b0340,_0x16cd25,_0x2bd675){const _0x1172cd=null!==_0x16cd25?_0x456b44=>_0x456b44['attribs'][_0x4b0340]===_0x16cd25:_0x40a839=>Boolean(_0x40a839['attribs'][_0x4b0340]);return Ha(_0xf5b9fa=>fa(_0xf5b9fa)&&_0x1172cd(_0xf5b9fa),_0x2bd675);}function Wa(_0x305d72,_0x39c486,_0x565716){const _0x2951ac=null!==_0x39c486?_0x1cd538=>_0x1cd538['attribs'][_0x305d72]===_0x39c486:_0x54b3b5=>Boolean(_0x54b3b5['attribs'][_0x305d72]);return Ga(_0x2248e6=>fa(_0x2248e6)&&_0x2951ac(_0x2248e6),_0x565716);}function za(_0x45c735){return function(_0x282c02,_0x2415a9,_0x44f52d,_0x28a4a5){const _0x401488=[],_0x4bb1bd=[Array['isArray'](_0x2415a9)?_0x2415a9:[_0x2415a9]],_0xd6416d=[0x0];for(;;){if(_0xd6416d[0x0]>=_0x4bb1bd[0x0]['length']){if(0x1===_0xd6416d['length'])return _0x401488;_0x4bb1bd['shift'](),_0xd6416d['shift']();continue;}const _0x292f29=_0x4bb1bd[0x0][_0xd6416d[0x0]++];if(_0x282c02(_0x292f29)&&(_0x401488['push'](_0x292f29),--_0x28a4a5<=0x0))return _0x401488;Oa(_0x292f29)&&_0x292f29['children']['length']>0x0&&(_0xd6416d['unshift'](0x0),_0x4bb1bd['unshift'](_0x292f29['children']));}}(_0x269562=>ga(_0x269562),_0x45c735,0x0,0x1/0x0);}function Ya(_0x506da1,_0x515a69){return _0x506da1&&fa(_0x506da1)?_0x506da1['attribs'][_0x515a69]:null;}function Ka(_0x3bf7a4,_0x4330b3,_0x26e35a){fa(_0x3bf7a4)&&(null===_0x26e35a?delete _0x3bf7a4['attribs'][_0x4330b3]:_0x3bf7a4['attribs'][_0x4330b3]=_0x26e35a);}function Ja(_0x35f88d,_0x190329,_0x35086e){const _0x19fe62=_0x190329['cloneNode'](!0x0);'beforebegin'===_0x35086e?Fa(_0x35f88d,_0x19fe62):'afterbegin'===_0x35086e?ja(_0x35f88d,_0x19fe62):'beforeend'===_0x35086e?function(_0x7876d7,_0x1e3abe){if(Va(_0x1e3abe),_0x1e3abe['next']=null,_0x1e3abe['parent']=_0x7876d7,_0x7876d7['children']['push'](_0x1e3abe)>0x1){const _0x232847=_0x7876d7['children'][_0x7876d7['children']['length']-0x2];_0x232847['next']=_0x1e3abe,_0x1e3abe['prev']=_0x232847;}else _0x1e3abe['prev']=null;}(_0x35f88d,_0x19fe62):'afterend'===_0x35086e&&Ba(_0x35f88d,_0x19fe62);}function tc(_0x4c9759){const _0x11d100=[];let _0x2f5dca=_0x4c9759;for(;_0x2f5dca;)_0x2f5dca=Qa(_0x2f5dca),_0x2f5dca&&_0x11d100['push'](_0x2f5dca);return _0x11d100;}function ec(_0xd72116){return _0xd72116['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function ic(_0x11dd58){let _0x34c27c=0x0;for(;_0x11dd58['parentNode'];)_0x11dd58=_0x11dd58['parentNode'],_0x34c27c++;return _0x34c27c;}function sc(_0x58a584){const _0x5df08e=[];let _0x12e570=_0x58a584['nextSibling'];for(;_0x12e570;)_0x5df08e['push'](_0x12e570),_0x12e570=_0x12e570['nextSibling'];_0x5df08e['forEach'](_0xd04818=>{Va(_0xd04818);});}const nc='object'==typeof self?self:globalThis,rc=_0x283a5d=>((_0x535f0a,_0xd5a05a)=>{const _0x408e51=(_0x1152a5,_0x594f62)=>(_0x535f0a['set'](_0x594f62,_0x1152a5),_0x1152a5),_0x1f2203=_0x4de48c=>{if(_0x535f0a['has'](_0x4de48c))return _0x535f0a['get'](_0x4de48c);const [_0x187ab5,_0x148fbb]=_0xd5a05a[_0x4de48c];switch(_0x187ab5){case 0x0:case-0x1:return _0x408e51(_0x148fbb,_0x4de48c);case 0x1:{const _0x2bacd0=_0x408e51([],_0x4de48c);for(const _0x5198b6 of _0x148fbb)_0x2bacd0['push'](_0x1f2203(_0x5198b6));return _0x2bacd0;}case 0x2:{const _0x2b565e=_0x408e51({},_0x4de48c);for(const [_0x4de3a9,_0x234ecd]of _0x148fbb)_0x2b565e[_0x1f2203(_0x4de3a9)]=_0x1f2203(_0x234ecd);return _0x2b565e;}case 0x3:return _0x408e51(new Date(_0x148fbb),_0x4de48c);case 0x4:{const {source:_0x180715,flags:_0x219594}=_0x148fbb;return _0x408e51(new RegExp(_0x180715,_0x219594),_0x4de48c);}case 0x5:{const _0x14a6c7=_0x408e51(new Map(),_0x4de48c);for(const [_0x516f39,_0x2d3760]of _0x148fbb)_0x14a6c7['set'](_0x1f2203(_0x516f39),_0x1f2203(_0x2d3760));return _0x14a6c7;}case 0x6:{const _0x2b94db=_0x408e51(new Set(),_0x4de48c);for(const _0x59d690 of _0x148fbb)_0x2b94db['add'](_0x1f2203(_0x59d690));return _0x2b94db;}case 0x7:{const {name:_0x2f2bda,message:_0x402227}=_0x148fbb;return _0x408e51(new nc[_0x2f2bda](_0x402227),_0x4de48c);}case 0x8:return _0x408e51(BigInt(_0x148fbb),_0x4de48c);case'BigInt':return _0x408e51(Object(BigInt(_0x148fbb)),_0x4de48c);case'ArrayBuffer':return _0x408e51(new Uint8Array(_0x148fbb)['buffer'],_0x148fbb);case'DataView':{const {buffer:_0x1e51ff}=new Uint8Array(_0x148fbb);return _0x408e51(new DataView(_0x1e51ff),_0x148fbb);}}return _0x408e51(new nc[_0x187ab5](_0x148fbb),_0x4de48c);};return _0x1f2203;})(new Map(),_0x283a5d)(0x0),oc='',{toString:ac}={},{keys:cc}=Object,lc=_0x9bf871=>{const _0x36d55e=typeof _0x9bf871;if('object'!==_0x36d55e||!_0x9bf871)return[0x0,_0x36d55e];const _0x401f26=ac['call'](_0x9bf871)['slice'](0x8,-0x1);switch(_0x401f26){case'Array':return[0x1,oc];case'Object':return[0x2,oc];case'Date':return[0x3,oc];case'RegExp':return[0x4,oc];case'Map':return[0x5,oc];case'Set':return[0x6,oc];case'DataView':return[0x1,_0x401f26];}return _0x401f26['includes']('Array')?[0x1,_0x401f26]:_0x401f26['includes']('Error')?[0x7,_0x401f26]:[0x2,_0x401f26];},hc=([_0x1d57a1,_0x3fad7d])=>0x0===_0x1d57a1&&('function'===_0x3fad7d||'symbol'===_0x3fad7d),uc=(_0x41f1b4,{json:_0x2bdf87,lossy:_0xc42ad}={})=>{const _0x6eecd5=[];return((_0x4dea4b,_0x252394,_0x4c318d,_0xb05137)=>{const _0x2a0adb=(_0xca19f9,_0x42e2f6)=>{const _0x51f60f=_0xb05137['push'](_0xca19f9)-0x1;return _0x4c318d['set'](_0x42e2f6,_0x51f60f),_0x51f60f;},_0x51ccfc=_0x9f7a2a=>{if(_0x4c318d['has'](_0x9f7a2a))return _0x4c318d['get'](_0x9f7a2a);let [_0x1c7f09,_0x1c4048]=lc(_0x9f7a2a);switch(_0x1c7f09){case 0x0:{let _0x24b3e6=_0x9f7a2a;switch(_0x1c4048){case'bigint':_0x1c7f09=0x8,_0x24b3e6=_0x9f7a2a['toString']();break;case'function':case'symbol':if(_0x4dea4b)throw new TypeError('unable\x20to\x20serialize\x20'+_0x1c4048);_0x24b3e6=null;break;case'undefined':return _0x2a0adb([-0x1],_0x9f7a2a);}return _0x2a0adb([_0x1c7f09,_0x24b3e6],_0x9f7a2a);}case 0x1:{if(_0x1c4048){let _0x1d796a=_0x9f7a2a;return'DataView'===_0x1c4048?_0x1d796a=new Uint8Array(_0x9f7a2a['buffer']):'ArrayBuffer'===_0x1c4048&&(_0x1d796a=new Uint8Array(_0x9f7a2a)),_0x2a0adb([_0x1c4048,[..._0x1d796a]],_0x9f7a2a);}const _0x2390b2=[],_0x1ea1d5=_0x2a0adb([_0x1c7f09,_0x2390b2],_0x9f7a2a);for(const _0x135603 of _0x9f7a2a)_0x2390b2['push'](_0x51ccfc(_0x135603));return _0x1ea1d5;}case 0x2:{if(_0x1c4048)switch(_0x1c4048){case'BigInt':return _0x2a0adb([_0x1c4048,_0x9f7a2a['toString']()],_0x9f7a2a);case'Boolean':case'Number':case'String':return _0x2a0adb([_0x1c4048,_0x9f7a2a['valueOf']()],_0x9f7a2a);}if(_0x252394&&'toJSON'in _0x9f7a2a)return _0x51ccfc(_0x9f7a2a['toJSON']());const _0x2bb469=[],_0x1ef95b=_0x2a0adb([_0x1c7f09,_0x2bb469],_0x9f7a2a);for(const _0x4a9ae6 of cc(_0x9f7a2a))!_0x4dea4b&&hc(lc(_0x9f7a2a[_0x4a9ae6]))||_0x2bb469['push']([_0x51ccfc(_0x4a9ae6),_0x51ccfc(_0x9f7a2a[_0x4a9ae6])]);return _0x1ef95b;}case 0x3:return _0x2a0adb([_0x1c7f09,_0x9f7a2a['toISOString']()],_0x9f7a2a);case 0x4:{const {source:_0x52366b,flags:_0x30f793}=_0x9f7a2a;return _0x2a0adb([_0x1c7f09,{'source':_0x52366b,'flags':_0x30f793}],_0x9f7a2a);}case 0x5:{const _0x4ab1ba=[],_0x49afc7=_0x2a0adb([_0x1c7f09,_0x4ab1ba],_0x9f7a2a);for(const [_0x1e9d06,_0xfc8176]of _0x9f7a2a)(_0x4dea4b||!hc(lc(_0x1e9d06))&&!hc(lc(_0xfc8176)))&&_0x4ab1ba['push']([_0x51ccfc(_0x1e9d06),_0x51ccfc(_0xfc8176)]);return _0x49afc7;}case 0x6:{const _0x3cfa64=[],_0x2cd965=_0x2a0adb([_0x1c7f09,_0x3cfa64],_0x9f7a2a);for(const _0x45b0c4 of _0x9f7a2a)!_0x4dea4b&&hc(lc(_0x45b0c4))||_0x3cfa64['push'](_0x51ccfc(_0x45b0c4));return _0x2cd965;}}const {message:_0x227c0b}=_0x9f7a2a;return _0x2a0adb([_0x1c7f09,{'name':_0x1c4048,'message':_0x227c0b}],_0x9f7a2a);};return _0x51ccfc;})(!(_0x2bdf87||_0xc42ad),!!_0x2bdf87,new Map(),_0x6eecd5)(_0x41f1b4),_0x6eecd5;};var dc='function'==typeof structuredClone?(_0x130266,_0x4cc341)=>_0x4cc341&&('json'in _0x4cc341||'lossy'in _0x4cc341)?rc(uc(_0x130266,_0x4cc341)):structuredClone(_0x130266):(_0xa7294c,_0x430045)=>rc(uc(_0xa7294c,_0x430045));const fc=gc('end'),mc=gc('start');function gc(_0x133ffd){return function(_0x3a2810){const _0x42b040=_0x3a2810&&_0x3a2810['position']&&_0x3a2810['position'][_0x133ffd]||{};if('number'==typeof _0x42b040['line']&&_0x42b040['line']>0x0&&'number'==typeof _0x42b040['column']&&_0x42b040['column']>0x0)return{'line':_0x42b040['line'],'column':_0x42b040['column'],'offset':'number'==typeof _0x42b040['offset']&&_0x42b040['offset']>-0x1?_0x42b040['offset']:void 0x0};};}const pc=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],Oc={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[...pc,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[...pc],'h2':[['className','sr-only']],'img':[...pc,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[...pc,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[...pc],'table':[...pc],'ul':[...pc,['className','contains-task-list']],'*':['abbr','accept','acceptCharset','accessKey','action','align','alt','axis','border','cellPadding','cellSpacing','char','charOff','charSet','checked','clear','colSpan','color','cols','compact','coords','dateTime','dir','encType','frame','hSpace','headers','height','hrefLang','htmlFor','id','isMap','itemProp','label','lang','maxLength','media','method','multiple','name','noHref','noShade','noWrap','open','prompt','readOnly','rev','rowSpan','rows','rules','scope','selected','shape','size','span','start','summary','tabIndex','title','useMap','vAlign','value','width']},'clobber':['ariaDescribedBy','ariaLabelledBy','id','name'],'clobberPrefix':'user-content-','protocols':{'cite':['http','https'],'href':['http','https','irc','ircs','mailto','xmpp'],'longDesc':['http','https'],'src':['http','https']},'required':{'input':{'disabled':!0x0,'type':'checkbox'}},'strip':['script'],'tagNames':['a','b','blockquote','br','code','dd','del','details','div','dl','dt','em','h1','h2','h3','h4','h5','h6','hr','i','img','input','ins','kbd','li','ol','p','picture','pre','q','rp','rt','ruby','s','samp','section','source','span','strike','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','tr','tt','ul','var']},wc={}['hasOwnProperty'];function bc(_0x3faa45,_0x5ce476){if(_0x5ce476&&'object'==typeof _0x5ce476){const _0x457e71=_0x5ce476;switch('string'==typeof _0x457e71['type']?_0x457e71['type']:''){case'comment':return function(_0x396e3c,_0x166143){if(_0x396e3c['schema']['allowComments']){const _0x47fda2='string'==typeof _0x166143['value']?_0x166143['value']:'',_0x29aacf=_0x47fda2['indexOf']('-->'),_0x49b4c1={'type':'comment','value':_0x29aacf<0x0?_0x47fda2:_0x47fda2['slice'](0x0,_0x29aacf)};return Ec(_0x49b4c1,_0x166143),_0x49b4c1;}}(_0x3faa45,_0x457e71);case'doctype':return function(_0x184d90,_0x1f18d2){if(_0x184d90['schema']['allowDoctypes']){const _0x40500b={'type':'doctype'};return Ec(_0x40500b,_0x1f18d2),_0x40500b;}}(_0x3faa45,_0x457e71);case'element':return function(_0x369349,_0x5130c4){const _0x190735='string'==typeof _0x5130c4['tagName']?_0x5130c4['tagName']:'';_0x369349['stack']['push'](_0x190735);const _0x337493=yc(_0x369349,_0x5130c4['children']),_0xc9be3d=function(_0x352a81,_0x5a1ed3){const _0x55a5a3=_0x352a81['stack'][_0x352a81['stack']['length']-0x1],_0x31d0b5=_0x352a81['schema']['attributes'],_0x562c3e=_0x352a81['schema']['required'],_0x33e6ef=_0x31d0b5&&wc['call'](_0x31d0b5,_0x55a5a3)?_0x31d0b5[_0x55a5a3]:void 0x0,_0x526d01=_0x31d0b5&&wc['call'](_0x31d0b5,'*')?_0x31d0b5['*']:void 0x0,_0x151a4e=_0x5a1ed3&&'object'==typeof _0x5a1ed3?_0x5a1ed3:{},_0x27b60f={};let _0x30c1f8;for(_0x30c1f8 in _0x151a4e)if(wc['call'](_0x151a4e,_0x30c1f8)){const _0x529846=_0x151a4e[_0x30c1f8];let _0x5ee9e1=vc(_0x352a81,Tc(_0x33e6ef,_0x30c1f8),_0x30c1f8,_0x529846);null==_0x5ee9e1&&(_0x5ee9e1=vc(_0x352a81,Tc(_0x526d01,_0x30c1f8),_0x30c1f8,_0x529846)),null!=_0x5ee9e1&&(_0x27b60f[_0x30c1f8]=_0x5ee9e1);}if(_0x562c3e&&wc['call'](_0x562c3e,_0x55a5a3)){const _0xaa0169=_0x562c3e[_0x55a5a3];for(_0x30c1f8 in _0xaa0169)wc['call'](_0xaa0169,_0x30c1f8)&&!wc['call'](_0x27b60f,_0x30c1f8)&&(_0x27b60f[_0x30c1f8]=_0xaa0169[_0x30c1f8]);}return _0x27b60f;}(_0x369349,_0x5130c4['properties']);_0x369349['stack']['pop']();let _0xac8007=!0x1;if(_0x190735&&'*'!==_0x190735&&(!_0x369349['schema']['tagNames']||_0x369349['schema']['tagNames']['includes'](_0x190735))&&(_0xac8007=!0x0,_0x369349['schema']['ancestors']&&wc['call'](_0x369349['schema']['ancestors'],_0x190735))){const _0x881b42=_0x369349['schema']['ancestors'][_0x190735];let _0x5e6c8d=-0x1;for(_0xac8007=!0x1;++_0x5e6c8d<_0x881b42['length'];)_0x369349['stack']['includes'](_0x881b42[_0x5e6c8d])&&(_0xac8007=!0x0);}if(!_0xac8007)return _0x369349['schema']['strip']&&!_0x369349['schema']['strip']['includes'](_0x190735)?_0x337493:void 0x0;const _0x4225a0={'type':'element','tagName':_0x190735,'properties':_0xc9be3d,'children':_0x337493};return Ec(_0x4225a0,_0x5130c4),_0x4225a0;}(_0x3faa45,_0x457e71);case'root':return function(_0x26a3d0,_0x44044f){const _0x26a0fa=yc(_0x26a3d0,_0x44044f['children']),_0xc2a235={'type':'root','children':_0x26a0fa};return Ec(_0xc2a235,_0x44044f),_0xc2a235;}(_0x3faa45,_0x457e71);case'text':return function(_0x1e2611,_0x24efd7){const _0x43e439='string'==typeof _0x24efd7['value']?_0x24efd7['value']:'',_0x3ff9ef={'type':'text','value':_0x43e439};return Ec(_0x3ff9ef,_0x24efd7),_0x3ff9ef;}(0x0,_0x457e71);}}}function yc(_0x6353c4,_0x22cda3){const _0x53a861=[];if(Array['isArray'](_0x22cda3)){const _0x28f4ed=_0x22cda3;let _0x2d7627=-0x1;for(;++_0x2d7627<_0x28f4ed['length'];){const _0x3d1303=bc(_0x6353c4,_0x28f4ed[_0x2d7627]);_0x3d1303&&(Array['isArray'](_0x3d1303)?_0x53a861['push'](..._0x3d1303):_0x53a861['push'](_0x3d1303));}}return _0x53a861;}function vc(_0x1b5a54,_0x2179aa,_0x3ae59f,_0x29fb6e){return _0x2179aa?Array['isArray'](_0x29fb6e)?function(_0xce8367,_0x4cced2,_0x1a554c,_0x2de083){let _0x48f6f5=-0x1;const _0xfdc056=[];for(;++_0x48f6f5<_0x2de083['length'];){const _0x58e6eb=_c(_0xce8367,_0x4cced2,_0x1a554c,_0x2de083[_0x48f6f5]);'number'!=typeof _0x58e6eb&&'string'!=typeof _0x58e6eb||_0xfdc056['push'](_0x58e6eb);}return _0xfdc056;}(_0x1b5a54,_0x2179aa,_0x3ae59f,_0x29fb6e):_c(_0x1b5a54,_0x2179aa,_0x3ae59f,_0x29fb6e):void 0x0;}function _c(_0x2b22f9,_0x2881a7,_0x1e1cc5,_0x3001d5){if(('boolean'==typeof _0x3001d5||'number'==typeof _0x3001d5||'string'==typeof _0x3001d5)&&function(_0x54f350,_0x3ec8cc,_0x280aae){const _0x48e9a7=_0x54f350['schema']['protocols']&&wc['call'](_0x54f350['schema']['protocols'],_0x3ec8cc)?_0x54f350['schema']['protocols'][_0x3ec8cc]:void 0x0;if(!_0x48e9a7||0x0===_0x48e9a7['length'])return!0x0;const _0x7741c9=String(_0x280aae),_0x45b27f=_0x7741c9['indexOf'](':'),_0x28c4a8=_0x7741c9['indexOf']('?'),_0x19ef41=_0x7741c9['indexOf']('#'),_0x141953=_0x7741c9['indexOf']('/');if(_0x45b27f<0x0||_0x141953>-0x1&&_0x45b27f>_0x141953||_0x28c4a8>-0x1&&_0x45b27f>_0x28c4a8||_0x19ef41>-0x1&&_0x45b27f>_0x19ef41)return!0x0;let _0x2760e7=-0x1;for(;++_0x2760e7<_0x48e9a7['length'];){const _0x1ec738=_0x48e9a7[_0x2760e7];if(_0x45b27f===_0x1ec738['length']&&_0x7741c9['slice'](0x0,_0x1ec738['length'])===_0x1ec738)return!0x0;}return!0x1;}(_0x2b22f9,_0x1e1cc5,_0x3001d5)){if('object'==typeof _0x2881a7&&_0x2881a7['length']>0x1){let _0x565cfb=!0x1,_0x16a745=0x0;for(;++_0x16a745<_0x2881a7['length'];){const _0x2860ed=_0x2881a7[_0x16a745];if(_0x2860ed&&'object'==typeof _0x2860ed&&'flags'in _0x2860ed){if(_0x2860ed['test'](String(_0x3001d5))){_0x565cfb=!0x0;break;}}else{if(_0x2860ed===_0x3001d5){_0x565cfb=!0x0;break;}}}if(!_0x565cfb)return;}return _0x2b22f9['schema']['clobber']&&_0x2b22f9['schema']['clobberPrefix']&&_0x2b22f9['schema']['clobber']['includes'](_0x1e1cc5)?_0x2b22f9['schema']['clobberPrefix']+_0x3001d5:_0x3001d5;}}function Ec(_0xaafdcc,_0x5cd5a6){const _0x439ba0=function(_0x1d578d){const _0x3d4ec0=mc(_0x1d578d),_0x5c8b99=fc(_0x1d578d);if(_0x3d4ec0&&_0x5c8b99)return{'start':_0x3d4ec0,'end':_0x5c8b99};}(_0x5cd5a6);_0x5cd5a6['data']&&(_0xaafdcc['data']=dc(_0x5cd5a6['data'])),_0x439ba0&&(_0xaafdcc['position']=_0x439ba0);}function Tc(_0x12f2f2,_0x5cd08c){let _0x2d9cd2,_0x1371a1=-0x1;if(_0x12f2f2)for(;++_0x1371a1<_0x12f2f2['length'];){const _0x24a9af=_0x12f2f2[_0x1371a1],_0xafb6d8='string'==typeof _0x24a9af?_0x24a9af:_0x24a9af[0x0];if(_0xafb6d8===_0x5cd08c)return _0x24a9af;'data*'===_0xafb6d8&&(_0x2d9cd2=_0x24a9af);}if(_0x5cd08c['length']>0x4&&'data'===_0x5cd08c['slice'](0x0,0x4)['toLowerCase']())return _0x2d9cd2;}function Ac(_0x276165){return function(_0x509866){const _0x52a456=function(_0x23c85a,_0x312a41){let _0x31fb7f={'type':'root','children':[]};const _0x18f59f=bc({'schema':_0x312a41?{...Oc,..._0x312a41}:Oc,'stack':[]},_0x23c85a);return _0x18f59f&&(Array['isArray'](_0x18f59f)?0x1===_0x18f59f['length']?_0x31fb7f=_0x18f59f[0x0]:_0x31fb7f['children']=_0x18f59f:_0x31fb7f=_0x18f59f),_0x31fb7f;}(_0x509866,_0x276165);return _0x52a456;};}class AIResponseParser extends/* #__PURE__ -- @preserve */
_0x18fa86(){['_m2html'];constructor(){super();const _0x1e01e3=Object['entries'](_0x4db103),_0x20952a=_0x1e01e3['findIndex'](([_0x209ba7])=>'rehypeDomRaw'===_0x209ba7);if(-0x1===_0x20952a)throw new _0x3ae0e8('ai-response-parser-unable-to-set-up-parser');_0x1e01e3['splice'](_0x20952a+0x1,0x0,['rehypeSanitize',Ac]),this['_m2html']=new _0x56bb66({'plugins':Object['fromEntries'](_0x1e01e3)});}['convertMarkdownToHTML'](_0x220834){const _0x34cdf5=this['_m2html']['parse'](_0x220834);return this['parseAndNormalizeHTML'](_0x34cdf5);}['parseAndNormalizeHTML'](_0x197a34){return this['_parseHTML'](_0x197a34);}['_parseHTML'](_0x11efbb){const _0x491398=Za('<dummy>'+_0x11efbb['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x491398['children']=_0x491398['children'][0x0]['children'],_0x491398;}}class AIResponseApplier extends/* #__PURE__ -- @preserve */
_0x18fa86(){['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x5bc4a0){super(),this['_generateUid']=_0x5bc4a0||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x2afcf5,_0x21b5ff,_0x9e69f2){this['_uidCounter']=0x0;const _0x51272e=_0x2afcf5['cloneNode'](!0x0),_0x5146ee=_0x51272e['childNodes'],_0x1b1c77=Array['from'](_0x5146ee)['filter'](_0xdfec67=>!(0x3===_0xdfec67['nodeType']&&''===Xa(_0xdfec67)['trim']())),_0xdf0694=_0x1b1c77['length'],_0x155ec1=new Map();for(const _0xc4553f of _0x1b1c77)_0xc4553f&&fa(_0xc4553f)&&void 0x0===_0xc4553f['attribs']['data-id']&&Ka(_0xc4553f,'data-id','new-element');if(0x0===_0x21b5ff['childNodes']['length']){const _0x430775=[];return Wa('data-id','new-element',_0x51272e)['forEach'](_0x401b57=>{const _0x148c6a=this['_generateUid']();Ka(_0x401b57,'data-id',_0x148c6a),_0x430775['push'](_0x148c6a);}),this['_removeSpecialComments'](_0x51272e),{'parsedContent':_0x51272e,'newNodeIds':_0x430775,'modifiedNodeIds':[],'removedNodeIds':[],'newAnchorIds':_0x155ec1};}_0x9e69f2&&_0x9e69f2['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x51272e),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(Wa('data-id',null,_0x21b5ff)['map'](_0x42e0cd=>Ya(_0x42e0cd,'data-id'))['filter'](_0x4d7e53=>!!_0x4d7e53));let _0x5e553d=-0x1,_0x330029=!0x1;for(let _0x2abadb=0x0;_0x2abadb<_0xdf0694;_0x2abadb++){const _0xa13965=_0x1b1c77[_0x2abadb],_0x4bb5c7=_0x1b1c77[_0x2abadb+0x1];if(this['_isNewNode'](_0xa13965)){if(-0x1===_0x5e553d&&(_0x5e553d=_0x2abadb),this['_markWrappedElements'](_0xa13965),!this['_isNewNode'](_0x4bb5c7)){const [_0x2c808c,_0x6348c9]=this['_findReferenceNode'](_0xa13965,_0x330029,_0x21b5ff);if(_0x2c808c){const _0x20f1ba=Array['from'](_0x1b1c77)['slice'](_0x5e553d,_0x2abadb+0x1),_0x3b4ab4=Ya(_0x2c808c,'data-id');if(this['_insertNodes'](_0x2c808c,_0x20f1ba,_0x6348c9),_0x3b4ab4)for(const _0x2a3257 of _0x20f1ba){const _0x581978=Ya(_0x2a3257,'data-id');_0x581978&&_0x155ec1['set'](_0x581978,_0x3b4ab4);}_0x5e553d=-0x1;}}}else{if(this['_isExistingContentComment'](_0xa13965))_0x330029=!0x0;else{if(this['_isExistingNode'](_0xa13965)){const _0x3346f5=Ya(_0xa13965,'data-id');if(_0x3346f5&&this['_existingDataIds']['has'](_0x3346f5)){const _0x3c9524=qa('data-id',_0x3346f5,_0x21b5ff);this['_replaceNode'](_0x3c9524,_0xa13965);}}else{if(this['_isDelNode'](_0xa13965)){const _0x224f7e=this['_getNodeDataId'](_0xa13965);!!qa('data-id',_0x224f7e,_0x51272e)||this['_touchedNodesState']['removedIds']['push'](_0x224f7e);}}}}}for(const _0x1ee1ec of this['_touchedNodesState']['removedIds']){const _0x4fb6a6=qa('data-id',_0x1ee1ec,_0x21b5ff);_0x4fb6a6&&this['_removeNode'](_0x4fb6a6,_0x1ee1ec,_0x9e69f2);}if(Wa('data-id','new-element',_0x21b5ff)['forEach'](_0x2cb0ef=>{const _0x4b2e87=this['_getUid'](_0x2cb0ef);Ka(_0x2cb0ef,'data-id',_0x4b2e87),this['_touchedNodesState']['newIds']['push'](_0x4b2e87);}),this['_removeSpecialComments'](_0x21b5ff),_0x9e69f2&&_0x9e69f2['markUnstableElements']&&this['_markUnstableElements'](_0x21b5ff,_0x9e69f2['markUnstableElementsDepth']||0x0),this['_processWrappedElements'](_0x21b5ff,_0x9e69f2),_0x9e69f2&&_0x9e69f2['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){const _0xae8907=Wa('data-id',this['_touchedNodesState']['lastTouchedId'],_0x21b5ff);let _0x21facb=_0xae8907[_0xae8907['length']-0x1];for(;_0x21facb;)sc(_0x21facb),_0x21facb=_0x21facb['parentNode'];}return{'parsedContent':_0x21b5ff,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds'],'newAnchorIds':_0x155ec1};}['_insertNodes'](_0x327e11,_0x5bba67,_0x3b9c2d){for(const _0x224726 of _0x5bba67){const _0x5c52bf=this['_getUid'](_0x224726);Ka(_0x224726,'data-id',_0x5c52bf),this['_touchedNodesState']['newIds']['push'](_0x5c52bf),this['_touchedNodesState']['lastTouchedId']=_0x5c52bf;}const _0x40b0ff='afterbegin'===_0x3b9c2d||'afterend'===_0x3b9c2d?_0x5bba67['reverse']():_0x5bba67;for(const _0x4bf5ca of _0x40b0ff)Ja(_0x327e11,_0x4bf5ca,_0x3b9c2d);}['_replaceNode'](_0x24467f,_0x3d5e01){if(!_0x24467f)return;if(_0x10575f=_0x3d5e01,ec(Xa(_0x24467f))===ec(Xa(_0x10575f)))return;var _0x10575f;const _0x483a82=this['_getUid'](_0x24467f);Ka(_0x3d5e01,'data-id',_0x483a82),this['_touchedNodesState']['modifiedIds']['push'](_0x483a82),this['_touchedNodesState']['lastTouchedId']=_0x483a82,Ua(_0x24467f,_0x3d5e01['cloneNode'](!0x0));}['_removeNode'](_0x2190dd,_0x182df8,_0x566209){if(_0x566209&&_0x566209['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x182df8;const _0x22bb6a=_0x566209['replaceRemovedWith']['cloneNode'](!0x0);Ka(_0x22bb6a,'data-id',_0x182df8),Ka(_0x22bb6a,'data-removed','true'),Ua(_0x2190dd,_0x22bb6a);}else Va(_0x2190dd);}['_findReferenceNode'](_0x50b94,_0x479df2,_0x4c45d8){const _0x617329=this['_findPrevElementWithDataId'](_0x50b94,!0x1);if(_0x617329){const _0x3b62e2=this['_getNodeDataId'](_0x617329),_0x352c4d=qa('data-id',_0x3b62e2,_0x4c45d8);if(_0x352c4d)return[_0x352c4d,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x3b62e2);}const _0x290d96=this['_findNextElementWithDataId'](_0x50b94,!0x1);if(_0x290d96){const _0x2759db=this['_getNodeDataId'](_0x290d96),_0xcd32fe=qa('data-id',_0x2759db,_0x4c45d8);if(_0xcd32fe)return[_0xcd32fe,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x2759db);}return _0x479df2?_0x50b94['nextSibling']?this['_findFallbackReferenceNode'](_0x50b94,_0x4c45d8):[_0x4c45d8['childNodes'][_0x4c45d8['childNodes']['length']-0x1],'afterend']:[_0x4c45d8['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x5eb99b,_0x4a51bf){const _0x290fea=[],_0x3845f3=this['_findPrevElementWithDataId'](_0x5eb99b,!0x0);if(_0x3845f3){const _0x227e83=qa('data-id',this['_getNodeDataId'](_0x3845f3),_0x4a51bf);_0x227e83&&_0x290fea['push']([_0x227e83,'afterend']);}const _0xf4edd1=this['_findNextElementWithDataId'](_0x5eb99b,!0x0);if(_0xf4edd1){const _0x2c4755=qa('data-id',this['_getNodeDataId'](_0xf4edd1),_0x4a51bf);_0x2c4755&&_0x290fea['push']([_0x2c4755,'beforebegin']);}if(_0x290fea['length']>0x1)return ic(_0x290fea[0x0][0x0])<=ic(_0x290fea[0x1][0x0])?_0x290fea[0x0]:_0x290fea[0x1];return 0x1===_0x290fea['length']?_0x290fea[0x0]:[_0x4a51bf['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x6dcb49,_0x23dc1b){let _0x4faaa4=_0x6dcb49['nextSibling'],_0x2c4dc6=null,_0x1d7deb=!0x1;for(;_0x4faaa4;){if(ga(_0x4faaa4)){if(this['_isDelNode'](_0x4faaa4)&&(_0x2c4dc6=_0x4faaa4),this['_isExistingContentComment'](_0x4faaa4)&&_0x23dc1b&&!_0x1d7deb){_0x1d7deb=!0x0,_0x4faaa4=_0x4faaa4['nextSibling'];continue;}break;}const _0x57f511=Ya(_0x4faaa4,'data-id');if(_0x57f511&&'new-element'!==_0x57f511&&this['_existingDataIds']['has'](_0x57f511)){_0x2c4dc6=_0x4faaa4;break;}_0x4faaa4=_0x4faaa4['nextSibling'];}return _0x2c4dc6;}['_findPrevElementWithDataId'](_0xc598a5,_0xa48113){let _0xdcaa5c=_0xc598a5['previousSibling'],_0xadabb8=null,_0x356722=!0x1;for(;_0xdcaa5c;){if(ga(_0xdcaa5c)){if(this['_isDelNode'](_0xdcaa5c)&&(_0xadabb8=_0xdcaa5c),this['_isExistingContentComment'](_0xdcaa5c)&&_0xa48113&&!_0x356722){_0x356722=!0x0,_0xdcaa5c=_0xdcaa5c['previousSibling'];continue;}break;}const _0x24fd67=Ya(_0xdcaa5c,'data-id');if(_0x24fd67&&'new-element'!==_0x24fd67&&this['_existingDataIds']['has'](_0x24fd67)){_0xadabb8=_0xdcaa5c;break;}_0xdcaa5c=_0xdcaa5c['previousSibling'];}return _0xadabb8;}['_markWrappedElements'](_0x59100c){fa(_0x59100c)&&Wa('data-id',null,_0x59100c)['forEach'](_0x1965f1=>{this['_isExistingNode'](_0x1965f1)&&(Ka(_0x1965f1,'data-wrapped-id',Ya(_0x1965f1,'data-id')),Ka(_0x1965f1,'data-id',null));});}['_processWrappedElements'](_0x59e6b0,_0x2ce25b){Wa('data-wrapped-id',null,_0x59e6b0)['forEach'](_0x3d8d2d=>{const _0x1ba1d4=Ya(_0x3d8d2d,'data-wrapped-id');if(Ya(_0x3d8d2d,'data-unstable')||this['_hasUnstableParent'](_0x3d8d2d))return;const _0x29a036=qa('data-id',_0x1ba1d4,_0x59e6b0);Ka(_0x3d8d2d,'data-id',_0x1ba1d4),Ka(_0x3d8d2d,'data-wrapped-id',null),_0x29a036&&(this['_removeNode'](_0x29a036,_0x1ba1d4,_0x2ce25b),this['_touchedNodesState']['removedIds']['push'](_0x1ba1d4),this['_touchedNodesState']['lastTouchedId']=_0x1ba1d4);});}['_hasUnstableParent'](_0x283574){let _0x26f186=_0x283574['parentNode'];for(;_0x26f186;){if(Ya(_0x26f186,'data-unstable'))return!0x0;_0x26f186=_0x26f186['parentNode'];}return!0x1;}['_getNodeDataId'](_0x227693){if(!_0x227693)return null;if(fa(_0x227693))return Ya(_0x227693,'data-id');if(ga(_0x227693)){const _0x34d328=Xa(_0x227693)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x34d328&&_0x34d328[0x1])return _0x34d328[0x1];}return null;}['_getUid'](_0x29a14d){return this['_isExistingNode'](_0x29a14d)?Ya(_0x29a14d,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x655b23){za(_0x655b23)['filter'](_0x348eaf=>this['_isDelNode'](_0x348eaf)||this['_isExistingContentComment'](_0x348eaf))['forEach'](_0xc0ffc4=>{Va(_0xc0ffc4);});}['_markLastTagElementUnstable'](_0x311a12){const _0x48757e=_0x311a12['childNodes'],_0x1e9a25=_0x48757e[_0x48757e['length']-0x1];_0x1e9a25&&fa(_0x1e9a25)&&Ka(_0x1e9a25,'data-unstable','true');}['_markUnstableElements'](_0x38e30a,_0x5641a9){const _0x2a5123=qa('data-unstable','true',_0x38e30a);if(!_0x2a5123)return;const _0x3acf40=tc(_0x2a5123)['slice'](0x0,-0x1),_0x42bbf9=_0x3acf40['length'];let _0x1dfa63=_0x2a5123;if(_0x42bbf9>_0x5641a9){let _0x11d43e=_0x42bbf9,_0xa97e19=null;for(;_0x11d43e>_0x5641a9&&_0x11d43e>=0x0;)_0x11d43e--,_0xa97e19=_0x3acf40[_0x11d43e];_0xa97e19&&(_0x1dfa63=_0xa97e19,Ka(_0x2a5123,'data-unstable',null),Ka(_0xa97e19,'data-unstable','true'));}else{if(_0x42bbf9<_0x5641a9){let _0x4769af=_0x42bbf9,_0x56193c=_0x2a5123;for(;_0x4769af<_0x5641a9;){const _0x55f5d5=_0x56193c['childNodes']['filter'](_0x15d884=>fa(_0x15d884));if(0x0===_0x55f5d5['length'])break;_0x4769af++,_0x56193c=_0x55f5d5[_0x55f5d5['length']-0x1];}_0x56193c&&(_0x1dfa63=_0x56193c,Ka(_0x2a5123,'data-unstable',null),Ka(_0x56193c,'data-unstable','true'));}}let _0x196f6c=_0x1dfa63;for(;_0x196f6c;){for(;_0x196f6c['nextSibling'];)_0x196f6c=_0x196f6c['nextSibling'],fa(_0x196f6c)&&Ka(_0x196f6c,'data-unstable','true');_0x196f6c=_0x196f6c['parentNode'];}}['_isNewNode'](_0x5252a0){return Boolean('new-element'===Ya(_0x5252a0,'data-id'));}['_isExistingNode'](_0x10278a){return Boolean((Ya(_0x10278a,'data-id')||'')['length']>0x0&&'new-element'!==Ya(_0x10278a,'data-id'));}['_isDelNode'](_0x2059ba){return!!_0x2059ba&&Boolean(ga(_0x2059ba)&&Xa(_0x2059ba)['match'](/removed[\s*-]data-id="[^"]+"/));}['_isExistingContentComment'](_0x494dea){return Boolean(ga(_0x494dea)&&Xa(_0x494dea)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class Permissions extends _0x32a432{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5d84ce,_0x313c4c){let _0x395f21;if(_0x313c4c||(_0x313c4c=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x313c4c?_0x395f21=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x395f21=this['context']['editors']['find'](_0x13d986=>_0x13d986['config']['get']('collaboration.channelId')==_0x313c4c)),!_0x395f21)throw new _0x3ae0e8('permissions-set-permissions-invalid-channel-id',null);const _0x33fed9=_0x395f21['plugins'],_0x4571da=_0x33fed9['has']('CommentsRepository')?_0x33fed9['get']('CommentsRepository'):void 0x0,_0x2f73fe=_0x33fed9['has']('CommentsOnly')&&_0x33fed9['get']('CommentsOnly'),_0x5ecfa6=_0x5d84ce['includes']('document:write'),_0x24bc7a=_0x5d84ce['includes']('comment:modify_all'),_0x28b0bf=_0x5d84ce['includes']('comment:admin'),_0x55d11b=_0x5d84ce['includes']('comment:write'),_0x10974a=_0x55d11b||_0x28b0bf,_0x2a441d=_0x10974a||_0x24bc7a,_0x306c6b=_0x5ecfa6||_0x10974a;(_0x2f73fe&&(_0x2f73fe['isEnabled']=!_0x5ecfa6&&_0x2a441d),_0x395f21 instanceof _0x519668)&&(!(_0x5ecfa6||_0x2a441d&&_0x4571da)?_0x395f21['enableReadOnlyMode']('no-permissions'):_0x395f21['disableReadOnlyMode']('no-permissions'));if(_0x4571da){_0x4571da['setPermissions']({'admin':_0x28b0bf,'modifyAll':_0x24bc7a,'write':_0x55d11b,'resolve':_0x306c6b},_0x313c4c);const _0x1a521f=_0x395f21 instanceof _0x519668&&_0x395f21['commands']['get']('addCommentThread');_0x1a521f&&(_0x10974a?_0x1a521f['clearForceDisabled']('noPermissions'):_0x1a521f['forceDisabled']('noPermissions'));}}}function Sc(_0x45dea4,_0x382438){const t=_0x45dea4['t'];switch(_0x382438){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 _0x32a432{['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(_0x521941){super(_0x521941),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x307d11(),this['_locale']=_0x521941['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:_0x10484f,name:_0x126878,..._0x313c86}){if(!_0x10484f||'string'!=typeof _0x10484f)throw new _0x3ae0e8('users-add-invalid-id');if(this['users']['has'](_0x10484f))throw new _0x3ae0e8('users-add-duplicated-id',null,{'id':_0x10484f});const _0x4f2b19=this['context']['config']['get']('users.getInitialsCallback'),_0x5a4f04={..._0x313c86,'id':_0x10484f,'name':Cc(this['_locale'],_0x126878),'color':this['_getNextColor']()};_0x5a4f04['name']=Cc(this['_locale'],_0x5a4f04['name']);const _0x464e05=new Ic(_0x5a4f04,_0x4f2b19);return this['users']['add'](_0x464e05),_0x464e05;}['getUser'](_0xf7d24d){return this['users']['get'](_0xf7d24d);}['useAnonymousUser'](){const _0x4a25c=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4a25c);}['defineMe'](_0x132871){if(this['_myId'])throw new _0x3ae0e8('users-me-already-defined',null);const _0x3291f5=this['getUser'](_0x132871);if(!_0x3291f5)throw new _0x3ae0e8('users-me-missing-user',null);this['_myId']=_0x132871,_0x3291f5['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x258093=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x258093&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4455a4=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4455a4,'name':Sc(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let Ic=class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4490c4,_0x1ee029){this['id']=_0x4490c4['id'],this['color']=_0x4490c4['color'],this['name']=_0x4490c4['name'],this['initials']=_0x1ee029?_0x1ee029(this['name']):this['_computeInitials'](),this['avatar']=_0x4490c4['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x205921=this['name']['split']('\x20')['filter'](_0x5c4f16=>/^[\p{Letter}]/u['test'](_0x5c4f16));return 0x1===_0x205921['length']?this['_getInitial'](_0x205921[0x0]):0x0===_0x205921['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x205921[0x0])+this['_getInitial'](_0x205921[_0x205921['length']-0x1]);}['_getInitial'](_0x249ad7){return String['fromCodePoint'](_0x249ad7['codePointAt'](0x0))['toUpperCase']();}};function Cc(_0x168829,_0x12a572=''){return''==(_0x12a572=_0x12a572['trim']())?Sc(_0x168829,'Anonymous'):_0x12a572;}class CollaborationUserColor{['_id'];constructor(_0xb77eb5){this['_id']=_0xb77eb5;}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'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x278baa{['name'];['notificationView'];constructor(_0xec0206,_0x2154bb,_0x5a063c){super(_0xec0206),this['name']=_0x2154bb['name'],this['notificationView']=null;const _0x5af959=['ck','ck-user'],_0x4a47dc=['ck','ck-user__img'];if(_0x2154bb['isAnonymous']&&_0x4a47dc['push']('ck-user__anonymous'),!_0x2154bb['isAnonymous']&&_0x2154bb['isMe']&&_0x5af959['push']('ck-user_me'),_0x2154bb['avatar']&&_0x4a47dc['push']('ck-user__avatar'),_0x5a063c){const _0x7185db=new _0x24ab51();_0x7185db['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x7185db['content']=_0x4f4fbc,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5a063c},'children':[_0x7185db]};}const _0x3a02a2=[{'tag':'div','attributes':{'class':_0x4a47dc,'style':{'background-image':_0x2154bb['avatar']?'url(\x27'+_0x2154bb['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2154bb['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x2154bb['name']},'children':[{'text':_0x2154bb['initials']}]}];this['notificationView']&&_0x3a02a2['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5af959,'data-user-id':_0x2154bb['id']},'children':_0x3a02a2});}}class AriaDescriptionView extends _0x278baa{['id'];constructor(_0x4960ec,_0x48ffa7){super(_0x4960ec),this['id']='ck-aria-description-'+_0x462bc0(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x48ffa7}]});}}class LateFocusButtonView extends _0x1a631f{['render'](){super['render'](),kc(this);}}class LateFocusDropdownButtonView extends ut{['render'](){super['render'](),kc(this);}}function kc(_0x33a810){_0x33a810['listenTo'](_0x33a810['element'],'mousedown',(_0x51202c,_0x3b7025)=>{_0x3b7025['stopPropagation'](),_0x3b7025['preventDefault']();}),_0x33a810['listenTo'](_0x33a810['element'],'mouseup',()=>{_0x33a810['element']['focus']();});}function xc(_0x15c8be){const _0x13f64c=_0x15c8be['split'](':');return{'group':_0x13f64c[0x0],'type':_0x13f64c[0x1],'subType':_0x13f64c['length']>=0x5?_0x13f64c[0x2]:null,'id':_0x13f64c['length']<0x5?_0x13f64c[0x2]:_0x13f64c[0x3],'authorId':_0x13f64c['length']<0x5?_0x13f64c[0x3]:_0x13f64c[0x4],'markerCount':0x6==_0x13f64c['length']?_0x13f64c[0x5]:null};}function Rc(_0x335b68,_0x46edf3){const _0x21db5a=_0x335b68['end']['nodeBefore'];if(_0x21db5a&&_0x21db5a['is']('element')&&_0x46edf3['schema']['isBlock'](_0x21db5a)&&!_0x46edf3['schema']['isObject'](_0x21db5a)){const _0x528b8b=_0x46edf3['createPositionAt'](_0x21db5a,'end');return _0x46edf3['createRange'](_0x335b68['start'],_0x528b8b);}return _0x335b68;}class SuggestionsConversionAlignment extends _0x7cf71c{['afterInit'](){const _0x17fbf8=this['editor'];if(!_0x17fbf8['plugins']['has']('AlignmentEditing'))return;_0x17fbf8['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const Pc=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x7cf71c{['afterInit'](){const _0x406de3=this['editor'],_0x2a84da=_0x406de3['plugins']['get']('SuggestionsConversion');for(const _0x52393b of Pc){if(!_0x406de3['plugins']['has'](_0x52393b))continue;const _0x32a81b=_0x52393b['slice'](0x0,-0x7)['toLowerCase']();_0x2a84da['registerInlineAttribute'](_0x32a81b);}}}class SuggestionsConversionBookmark extends _0x7cf71c{['afterInit'](){const _0x2831b3=this['editor'],_0x1ee885=_0x2831b3['plugins']['get']('SuggestionsConversion');_0x2831b3['plugins']['has']('BookmarkEditing')&&_0x1ee885['registerBlockAttribute']('bookmarkId');}}const Mc=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x7cf71c{['afterInit'](){const _0x18fb2d=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x2da646,commandName:_0x11e2a2}of Mc)this['editor']['plugins']['has'](_0x2da646)&&_0x18fb2d['registerInlineAttribute'](_0x11e2a2);}}class SuggestionsConversionFootnotes extends _0x7cf71c{['afterInit'](){const {editor:_0x46bcee}=this;if(!_0x46bcee['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x14bb30=_0x46bcee['plugins']['get']('SuggestionsConversion');_0x14bb30['registerBlockAttribute']('footnotesListStyle'),_0x14bb30['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends _0x7cf71c{['afterInit'](){const _0x3fd93a=this['editor'];if(!_0x3fd93a['plugins']['has']('HighlightEditing'))return;_0x3fd93a['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x7cf71c{['afterInit'](){const _0x57c5d3=this['editor'];if(!_0x57c5d3['plugins']['has']('HtmlEmbed'))return;_0x57c5d3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x7cf71c{['afterInit'](){const _0x542b05=this['editor'];if(!_0x542b05['plugins']['has']('ImageEditing'))return;const _0x3f57a=_0x542b05['plugins']['get']('SuggestionsConversion');_0x3f57a['registerBlockAttribute']('src'),_0x542b05['plugins']['has']('ImageResize')&&_0x3f57a['registerBlockAttribute']('resizedWidth'),_0x542b05['plugins']['has']('ImageTextAlternativeEditing')&&_0x3f57a['registerBlockAttribute']('alt'),_0x542b05['plugins']['has']('PictureEditing')&&_0x3f57a['registerBlockAttribute']('sources'),_0x542b05['plugins']['has']('ImageSizeAttributes')&&(_0x3f57a['registerBlockAttribute']('width'),_0x3f57a['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x7cf71c{['afterInit'](){const _0x31be1c=this['editor'],_0x14a341=_0x31be1c['plugins']['get']('SuggestionsConversion');_0x31be1c['plugins']['has']('IndentBlock')&&(_0x14a341['registerBlockAttribute']('blockIndent'),_0x31be1c['plugins']['has']('ListEditing')&&(_0x14a341['registerBlockAttribute']('blockIndentList'),_0x14a341['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x7cf71c{['afterInit'](){const _0x4e73ea=this['editor'];if(!_0x4e73ea['plugins']['has']('LineHeight'))return;_0x4e73ea['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x7cf71c{['afterInit'](){const _0x40748a=this['editor'];if(!_0x40748a['plugins']['has']('LinkEditing'))return;const _0x2635d3=_0x40748a['plugins']['get']('SuggestionsConversion'),_0x3796a5=_0x40748a['commands']['get']('link');_0x2635d3['registerInlineAttribute']('linkHref');for(const _0x1938ae of _0x3796a5['manualDecorators'])_0x2635d3['registerInlineAttribute'](_0x1938ae['id']);}}class SuggestionsConversionList extends _0x7cf71c{['afterInit'](){const _0x411c27=this['editor'];if(!_0x411c27['plugins']['has']('ListEditing'))return;const _0x5319a7=_0x411c27['plugins']['get']('SuggestionsConversion'),_0x15904f=_0x411c27['plugins']['has']('TodoListEditing');_0x5319a7['registerBlockAttribute']('listItemId'),_0x5319a7['registerBlockAttribute']('listType'),_0x5319a7['registerBlockAttribute']('listIndent'),_0x15904f&&_0x5319a7['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x7cf71c{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3929bb=this['editor']['config']['get']('list.properties'),_0x4209b8=this['editor']['plugins']['get']('SuggestionsConversion');_0x3929bb['styles']&&_0x4209b8['registerBlockAttribute']('listStyle'),_0x3929bb['reversed']&&_0x4209b8['registerBlockAttribute']('listReversed'),_0x3929bb['startIndex']&&_0x4209b8['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x7cf71c{['afterInit'](){const _0x53f8c8=this['editor'],_0x133fc0=_0x53f8c8['plugins']['get']('SuggestionsConversion');_0x53f8c8['plugins']['has']('MultiLevelList')&&_0x133fc0['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends _0x7cf71c{['afterInit'](){const _0x5ef9c2=this['editor'];if(!_0x5ef9c2['plugins']['has']('Style')||!_0x5ef9c2['plugins']['has']('DataSchema')||!_0x5ef9c2['config']['get']('style.definitions'))return;const _0x1a1f86=_0x5ef9c2['plugins']['get']('SuggestionsConversion'),_0xe8ef09=_0x5ef9c2['config']['get']('style.definitions'),_0x5c3951=_0x5ef9c2['plugins']['get']('GeneralHtmlSupport'),_0x2fe155=_0x5ef9c2['plugins']['get']('StyleUtils')['normalizeConfig'](_0x5ef9c2['plugins']['get']('DataSchema'),_0xe8ef09),_0x5e31e3=new Set();for(const _0x15138b of _0x2fe155['block']){const _0x1e6f19=_0x5c3951['getGhsAttributeNameForElement'](_0x15138b['element']);_0x5e31e3['add'](_0x1e6f19);}const _0x4186e0=new Set();for(const _0x269047 of _0x2fe155['inline']){const _0x42a59f=_0x5c3951['getGhsAttributeNameForElement'](_0x269047['element']);_0x4186e0['add'](_0x42a59f);for(const _0x5c7a65 of _0x269047['ghsAttributes'])_0x4186e0['add'](_0x5c7a65);}for(const _0x289997 of _0x5e31e3)_0x1a1f86['registerBlockAttribute'](_0x289997);for(const _0x61a80a of _0x4186e0)_0x1a1f86['registerInlineAttribute'](_0x61a80a);}}class SuggestionsConversionTableHeadings extends _0x7cf71c{['afterInit'](){const _0x146489=this['editor'];if(!_0x146489['plugins']['has']('TableEditing'))return;const _0x393eb3=_0x146489['plugins']['get']('SuggestionsConversion');_0x393eb3['registerBlockAttribute']('headingRows'),_0x393eb3['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x7cf71c{['afterInit'](){const {plugins:_0x1bd9b1}=this['editor'];if(!_0x1bd9b1['has']('TablePropertiesEditing'))return;const _0x78efe7=_0x1bd9b1['get']('SuggestionsConversion'),_0x4161c9=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x55bef6 of _0x4161c9)_0x78efe7['registerBlockAttribute'](_0x55bef6);}}class SuggestionsConversionTableLayout extends _0x7cf71c{['afterInit'](){const _0x2e018a=this['editor'],_0x99304e=_0x2e018a['plugins']['get']('SuggestionsConversion');_0x2e018a['plugins']['has']('TableLayout')&&_0x99304e['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x7cf71c{['afterInit'](){const _0x435712=this['editor'],_0x1eec58=this['editor']['plugins']['get']('SuggestionsConversion');_0x435712['plugins']['has']('Uploadcare')&&_0x435712['plugins']['has']('UploadcareImageEdit')&&_0x1eec58['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x7cf71c{['afterInit'](){const _0x39a20e=this['editor'];if(!_0x39a20e['plugins']['has']('ShiftEnter'))return;const _0x1134a0=_0x39a20e['plugins']['get']('SuggestionsConversion'),_0x70dd00=(_0x16a087,_0x150489,_0x244cf6,_0xfcd3b1)=>{if(_0xfcd3b1&&!_0x244cf6['options']['showSuggestionHighlights'])return;if(!_0x244cf6['consumable']['test'](_0x150489['markerRange'],_0x16a087['name']))return;const _0x5c8ba9=_0x39a20e['model'];for(const _0x59b024 of _0x150489['markerRange']['getItems']()){if(!_0x59b024['is']('element','softBreak'))continue;const _0x4ddfae='deletion'==_0x150489['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x598078,authorId:_0x4bbc39}=xc(_0x150489['markerName']),_0x182e3a=_0x244cf6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4ddfae,'data-suggestion':_0x598078,'data-author-id':_0x4bbc39}),_0x447fdf=_0x244cf6['mapper']['toViewPosition'](_0x5c8ba9['createPositionBefore'](_0x59b024));!_0xfcd3b1&&_0x1134a0['_activeMarkers']['includes'](_0x150489['markerName'])&&_0x244cf6['writer']['addClass']('ck-suggestion-marker--active',_0x182e3a),_0x244cf6['writer']['insert'](_0x447fdf,_0x182e3a),_0x244cf6['mapper']['bindElementToMarker'](_0x182e3a,_0x150489['markerName']);}};_0x39a20e['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x32cf80,_0x2715c0,_0x250a21)=>{_0x70dd00(_0x32cf80,_0x2715c0,_0x250a21,!0x1);},{'priority':'high'}),_0x39a20e['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4732b7,_0x389b3e,_0x3855f1)=>{_0x70dd00(_0x4732b7,_0x389b3e,_0x3855f1,!0x1);},{'priority':'high'}),_0x39a20e['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x13beb5,_0x292152,_0x1e0ed2)=>{_0x70dd00(_0x13beb5,_0x292152,_0x1e0ed2,!0x0);},{'priority':'high'}),_0x39a20e['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x96f5b1,_0x4fb2d6,_0x41494c)=>{_0x70dd00(_0x96f5b1,_0x4fb2d6,_0x41494c,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x7cf71c{['afterInit'](){const _0x431c16=this['editor'];_0x431c16['plugins']['has']('MediaEmbedEditing')&&(_0x431c16['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x512335,{writer:_0x575f7a,options:_0x18b784})=>{if(_0x18b784['showSuggestionHighlights'])return _0x575f7a['createEmptyElement']('div');},'converterPriority':'high'}),_0x431c16['data']['downcastDispatcher']['on']('attribute:url:media',(_0x38fef4,_0x47f124,_0x30a336)=>{_0x30a336['options']['showSuggestionHighlights']&&_0x38fef4['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends _0x7cf71c{['afterInit'](){const _0x292b2f=this['editor'];if(!_0x292b2f['plugins']['has']('Table'))return;_0x292b2f['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x41ba29,_0x3d6bb6,_0x28abe3)=>{((_0x4dbc2f,_0x2d8af7,_0x19b3bd)=>{if(!_0x19b3bd['options']['showSuggestionHighlights'])return;const _0x1c3f2d=_0x2d8af7['item'];if(!_0x1c3f2d||!_0x1c3f2d['is']('element','tableCell'))return;const _0x413f01=_0x19b3bd['mapper']['toViewElement'](_0x1c3f2d);if(_0x413f01){const {id:_0x3f7254,authorId:_0x5cdb6a}=xc(_0x2d8af7['markerName']);_0x17c59e(_0x413f01,_0x19b3bd['writer'],(_0x29049e,_0x396380,_0x509620)=>{_0x509620['addClass'](_0x5ddbb4(_0x396380['classes']),_0x29049e),_0x509620['setAttribute']('data-suggestion',_0x3f7254,_0x29049e),_0x509620['setAttribute']('data-author-id',_0x5cdb6a,_0x29049e);});}})(0x0,_0x3d6bb6,_0x28abe3);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x7cf71c{['afterInit'](){const _0x1714a3=this['editor'];_0x1714a3['plugins']['has']('HorizontalLineEditing')&&_0x1714a3['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3606f8,{writer:_0x560a23,options:_0x4dcb42})=>{if(!_0x4dcb42['showSuggestionHighlights'])return null;const _0x4eefe9=_0x560a23['createContainerElement']('div'),_0x33cd2d=_0x560a23['createEmptyElement']('hr');return _0x560a23['addClass']('ck-horizontal-line',_0x4eefe9),_0x560a23['insert'](_0x560a23['createPositionAt'](_0x4eefe9,0x0),_0x33cd2d),_0x4eefe9;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x7cf71c{['afterInit'](){const {plugins:_0x5971f3,model:_0x630912}=this['editor'];if(!_0x5971f3['has']('TableCellPropertiesEditing'))return;const _0x27ab62=_0x5971f3['get']('SuggestionsConversion'),_0x3374b0=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x27e732 of _0x3374b0)_0x27ab62['registerBlockAttribute'](_0x27e732);_0x630912['schema']['checkAttribute']('tableCell','tableCellType')&&_0x27ab62['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x7cf71c{['afterInit'](){const _0x1c3d2b=this['editor'];if(!_0x1c3d2b['plugins']['has']('TableEditing')||!_0x1c3d2b['config']['get']('table.enableFooters'))return;_0x1c3d2b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x7cf71c{['_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,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x587a54=this['editor'],_0x5f5770=(_0x41c17f,_0x1795b1,_0x7047be)=>{const {id:_0x678d53,authorId:_0x1bcd47,type:_0x9ee5,subType:_0x5117b0}=xc(_0x41c17f['markerName']),_0x5d704c=['ck-suggestion-marker',this['_getClassName'](_0x9ee5,_0x5117b0)];let _0x3a4375=0xbb8;return!_0x7047be&&(this['_activeMarkers']['includes'](_0x41c17f['markerName'])&&(_0x5d704c['push']('ck-suggestion-marker--active'),_0x3a4375=0xbc2)),('deletion'==_0x9ee5&&(_0x3a4375+=0x5),{'classes':_0x5d704c,'attributes':{'data-suggestion':_0x678d53,'data-author-id':_0x1bcd47},'priority':_0x3a4375});};_0x587a54['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3cf1e6,_0x3cb28b)=>_0x5f5770(_0x3cf1e6,0x0,!0x1)}),_0x587a54['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2115d1,_0x41a4fb)=>_0x5f5770(_0x2115d1,0x0,!0x0)}),_0x587a54['conversion']['for']('dataDowncast')['add'](_0x3332c1=>{_0x3332c1['on']('addMarker:suggestion',(_0x5a9610,_0x223e7b,_0x3389d2)=>{if(!_0x3389d2['options']['showSuggestionHighlights'])return;const _0x29db01=_0x223e7b['item'];if(!_0x29db01)return;const _0x2d7f83=_0x3389d2['mapper']['toViewElement'](_0x29db01);_0x587a54['model']['schema']['isObject'](_0x29db01)&&_0x2d7f83&&!_0x2d7f83['getCustomProperty']('widget')&&_0x2d7f83['is']('containerElement')&&_0x5eb950(_0x2d7f83,_0x3389d2['writer']);},{'priority':'high'});});const _0x57216c=(_0x48f65d,_0x387735,_0x4a5196,_0x1014a2,_0x445271)=>{if(_0x1014a2&&!_0x4a5196['options']['showSuggestionHighlights'])return;if(!_0x387735['item'])return;const {id:_0xd111b0,authorId:_0x53720d,subType:_0x2afc23}=xc(_0x387735['markerName']);if(_0x445271){const _0xd6483d=_0x2afc23['split']('|')[0x0];if(!this['isBlockAttribute'](_0xd6483d))return;}if(_0x387735['item']['is']('selection'))return void _0x4a5196['consumable']['consume'](_0x387735['item'],_0x48f65d['name']);const _0x488d24=_0x4a5196['mapper']['toViewElement'](_0x387735['item']);if(_0x387735['item']['is']('element')&&_0x587a54['model']['schema']['isBlock'](_0x387735['item'])&&!_0x488d24['getCustomProperty']('addHighlight')){_0x4a5196['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x488d24),_0x4a5196['writer']['setAttribute']('data-suggestion',_0xd111b0,_0x488d24),_0x4a5196['writer']['setAttribute']('data-author-id',_0x53720d,_0x488d24),_0x4a5196['mapper']['bindElementToMarker'](_0x488d24,_0x387735['markerName']),_0x1014a2||(this['_activeMarkers']['includes'](_0x387735['markerName'])?_0x4a5196['writer']['addClass']('ck-suggestion-marker--active',_0x488d24):_0x4a5196['writer']['removeClass']('ck-suggestion-marker--active',_0x488d24));for(const _0x29852a of _0x587a54['model']['createRangeIn'](_0x387735['item'])['getItems']())_0x4a5196['consumable']['consume'](_0x29852a,_0x48f65d['name']);_0x4a5196['consumable']['consume'](_0x387735['item'],_0x48f65d['name']);}},_0x54e03b=(_0x1f7dd7,_0x225f21,_0x379a11,_0x54b1e8)=>{const _0x4f4a37=_0x379a11['mapper']['markerNameToElements'](_0x225f21['markerName']);if(_0x4f4a37){if(_0x54b1e8){const {subType:_0x16a885}=xc(_0x225f21['markerName']),_0x3471f4=_0x16a885['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3471f4))return;}for(const _0x560382 of _0x4f4a37)_0x560382['getCustomProperty']('addHighlight')||(_0x379a11['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x560382),_0x379a11['writer']['removeAttribute']('data-suggestion',_0x560382),_0x379a11['writer']['removeAttribute']('data-author-id',_0x560382),_0x379a11['mapper']['unbindElementFromMarkerName'](_0x560382,_0x225f21['markerName']));}};_0x587a54['conversion']['for']('editingDowncast')['add'](_0x3901ef=>{_0x3901ef['on']('addMarker:suggestion:formatBlock',(_0x3a5ee5,_0x20ea3f,_0x140525)=>{_0x57216c(_0x3a5ee5,_0x20ea3f,_0x140525,!0x1,!0x1);},{'priority':'high'});}),_0x587a54['conversion']['for']('editingDowncast')['add'](_0x5d16a2=>{_0x5d16a2['on']('addMarker:suggestion:attribute',(_0x310c71,_0x370c27,_0x42bdba)=>{_0x57216c(_0x310c71,_0x370c27,_0x42bdba,!0x1,!0x0);},{'priority':'high'});}),_0x587a54['conversion']['for']('editingDowncast')['add'](_0x5e815a=>{_0x5e815a['on']('removeMarker:suggestion:formatBlock',(_0x3ccc3c,_0x4c7990,_0x33fc76)=>{_0x54e03b(0x0,_0x4c7990,_0x33fc76,!0x1);},{'priority':'high'});}),_0x587a54['conversion']['for']('editingDowncast')['add'](_0x23aee0=>{_0x23aee0['on']('removeMarker:suggestion:attribute',(_0xb9368c,_0x20a4e2,_0x36675b)=>{_0x54e03b(0x0,_0x20a4e2,_0x36675b,!0x0);},{'priority':'high'});}),_0x587a54['conversion']['for']('dataDowncast')['add'](_0x107d50=>{_0x107d50['on']('addMarker:suggestion:formatBlock',(_0x593719,_0x349a64,_0xbd618c)=>{_0x57216c(_0x593719,_0x349a64,_0xbd618c,!0x0,!0x1);},{'priority':'highest'});}),_0x587a54['conversion']['for']('dataDowncast')['add'](_0x3864e4=>{_0x3864e4['on']('addMarker:suggestion:attribute',(_0x1ee64e,_0x24b1ed,_0x19af85)=>{_0x57216c(_0x1ee64e,_0x24b1ed,_0x19af85,!0x0,!0x0);},{'priority':'highest'});}),_0x587a54['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x5e68b7,_0x5550df)=>_0x5550df['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x5e68b7['substr'](0xb)}});const _0x48c2f0=(_0x1be031,_0x141447,_0xc0ca08,_0x5bf946,_0x551290)=>{if(_0x5bf946&&!_0xc0ca08['options']['showSuggestionHighlights'])return;if(!_0xc0ca08['consumable']['test'](_0x141447['markerRange'],_0x1be031['name']))return;const _0x39fa8=this['_activeMarkers'],_0x3c641e=_0x141447['markerRange']['getWalker'](),_0x3b4a58=_0x141447['markerRange']['start'],_0x4372d7=_0x587a54['model']['schema'];let _0xc2f7f3=null,_0x50f7ea=null,_0x75f8b5=!0x1,_0x3a47d6=!0x1;for(const _0x574fc7 of _0x3c641e){const _0x246926=_0x574fc7['item'];_0x75f8b5=_0x75f8b5||_0x4372d7['isContent'](_0x246926);const _0x1faa87=_0xc0ca08['mapper']['toViewElement'](_0x246926);if(_0x1faa87&&_0x1faa87['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x574fc7['type']&&(_0x4372d7['isBlock'](_0x246926)&&!_0x4372d7['isLimit'](_0x246926)&&(_0x246926['nextSibling']||_0x3b4a58['isAtEnd']?_0xc2f7f3&&_0xc2f7f3['parent']==_0x246926||(_0xc2f7f3=_0x246926,_0x2a1f46(_0x574fc7['previousPosition']),_0x3a47d6=!0x0):_0x50f7ea=_0x50f7ea||_0x574fc7['previousPosition']));}function _0x2a1f46(_0x2bdbad){const {id:_0x8ff23c,authorId:_0x3209ea}=xc(_0x141447['markerName']),_0x587a2b=_0xc0ca08['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x551290,'data-suggestion':_0x8ff23c,'data-author-id':_0x3209ea}),_0x4b28d0=_0xc0ca08['mapper']['toViewPosition'](_0x2bdbad);!_0x5bf946&&_0x39fa8['includes'](_0x141447['markerName'])&&_0xc0ca08['writer']['addClass']('ck-suggestion-marker--active',_0x587a2b),_0xc0ca08['writer']['insert'](_0x4b28d0,_0x587a2b),_0xc0ca08['mapper']['bindElementToMarker'](_0x587a2b,_0x141447['markerName']);}_0x75f8b5||_0x3a47d6||!_0x50f7ea||_0x2a1f46(_0x50f7ea);};_0x587a54['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x114cf7,_0x2afa70,_0xc0188a)=>{_0x48c2f0(_0x114cf7,_0x2afa70,_0xc0188a,!0x1,'merge');},{'priority':'high'}),_0x587a54['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x157d85,_0x5c6222,_0x2cd928)=>{_0x48c2f0(_0x157d85,_0x5c6222,_0x2cd928,!0x0,'merge');},{'priority':'high'}),_0x587a54['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xca241c,_0x3364f1,_0x535188)=>{_0x48c2f0(_0xca241c,_0x3364f1,_0x535188,!0x1,'split');},{'priority':'high'}),_0x587a54['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x365d60,_0x13ea0f,_0x3c6c16)=>{_0x48c2f0(_0x365d60,_0x13ea0f,_0x3c6c16,!0x0,'split');},{'priority':'high'}),_0x587a54['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x391061,_0x32cdb4,_0x3fc2b7)=>{((_0x230173,_0x3f9bac,_0x2e03fb)=>{const _0x52598c=_0x2e03fb['mapper']['markerNameToElements'](_0x3f9bac['markerName']);if(_0x52598c){for(const _0x4bc5cd of _0x52598c)(_0x4bc5cd['hasClass']('ck-suggestion-marker-split')||_0x4bc5cd['hasClass']('ck-suggestion-marker-merge'))&&(_0x2e03fb['mapper']['unbindElementFromMarkerName'](_0x4bc5cd,_0x3f9bac['markerName']),_0x2e03fb['writer']['remove'](_0x4bc5cd));}})(0x0,_0x32cdb4,_0x3fc2b7);},{'priority':'high'});const _0x38be42=(_0x7ac508,_0x339385,_0x3038c0,_0xae5c06)=>{if(_0xae5c06&&!_0x3038c0['options']['showSuggestionHighlights'])return;const _0x1a2da7=_0x339385['markerRange']['start'],_0x9586a5=_0x339385['markerRange']['end'],_0x18fd29=_0x587a54['model']['schema'];if(!_0x1a2da7['isTouching'](_0x9586a5)||!_0x1a2da7['nodeAfter'])return;const _0x2503a5=_0x1a2da7['nodeAfter'];if(_0x18fd29['isBlock'](_0x2503a5)&&!_0x18fd29['isLimit'](_0x2503a5)&&_0x18fd29['checkChild'](_0x2503a5,'$text')){if(!_0x3038c0['consumable']['consume'](_0x339385['markerRange'],_0x7ac508['name']))return;const {id:_0x38fcbd,authorId:_0x4a5c26}=xc(_0x339385['markerName']),_0x5e3506=_0x3038c0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x38fcbd,'data-author-id':_0x4a5c26}),_0x2c4f50=_0x3038c0['mapper']['toViewPosition'](_0x9586a5);!_0xae5c06&&this['_activeMarkers']['includes'](_0x339385['markerName'])&&_0x3038c0['writer']['addClass']('ck-suggestion-marker--active',_0x5e3506),_0x3038c0['writer']['insert'](_0x2c4f50,_0x5e3506),_0x3038c0['mapper']['bindElementToMarker'](_0x5e3506,_0x339385['markerName']);}};_0x587a54['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xb650ff,_0x425a8e,_0x334b0a)=>{_0x38be42(_0xb650ff,_0x425a8e,_0x334b0a,!0x1);},{'priority':'high'}),_0x587a54['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x51c48f,_0x52ef1a,_0x186eff)=>{_0x38be42(_0x51c48f,_0x52ef1a,_0x186eff,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x13d535,_0x26f97d,_0x7d955b)=>{this['_activeMarkers']=_0x7d955b['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x2aefdc){this['_blockAttributeKeys']['add'](_0x2aefdc);}['registerInlineAttribute'](_0x6db769){this['_inlineAttributeKeys']['add'](_0x6db769);}['isBlockAttribute'](_0x4ab0ff){return this['_blockAttributeKeys']['has'](_0x4ab0ff);}['isInlineAttribute'](_0x43ad5f){return this['_inlineAttributeKeys']['has'](_0x43ad5f);}['isRegisteredAttribute'](_0x5360ca){return this['isInlineAttribute'](_0x5360ca)||this['isBlockAttribute'](_0x5360ca);}['_getClassName'](_0x4447ea,_0x1480f9){if('attribute'!=_0x4447ea)return'ck-suggestion-marker-'+_0x4447ea;const _0x357a4f=_0x1480f9['split']('|')[0x0];return this['isBlockAttribute'](_0x357a4f)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(_0x46bc68){super('Invalid\x20DateTime:\x20'+_0x46bc68['toMessage']());}}class InvalidIntervalError extends LuxonError{constructor(_0x3bfabe){super('Invalid\x20Interval:\x20'+_0x3bfabe['toMessage']());}}class InvalidDurationError extends LuxonError{constructor(_0x3837ae){super('Invalid\x20Duration:\x20'+_0x3837ae['toMessage']());}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(_0x365474){super('Invalid\x20unit\x20'+_0x365474);}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const Nc='numeric',Lc='short',$c='long',Dc={'year':Nc,'month':Nc,'day':Nc},Qc={'year':Nc,'month':Lc,'day':Nc},Vc={'year':Nc,'month':Lc,'day':Nc,'weekday':Lc},Uc={'year':Nc,'month':$c,'day':Nc},Bc={'year':Nc,'month':$c,'day':Nc,'weekday':$c},jc={'hour':Nc,'minute':Nc},Fc={'hour':Nc,'minute':Nc,'second':Nc},Hc={'hour':Nc,'minute':Nc,'second':Nc,'timeZoneName':Lc},Gc={'hour':Nc,'minute':Nc,'second':Nc,'timeZoneName':$c},Zc={'hour':Nc,'minute':Nc,'hourCycle':'h23'},Xc={'hour':Nc,'minute':Nc,'second':Nc,'hourCycle':'h23'},qc={'hour':Nc,'minute':Nc,'second':Nc,'hourCycle':'h23','timeZoneName':Lc},Wc={'hour':Nc,'minute':Nc,'second':Nc,'hourCycle':'h23','timeZoneName':$c},zc={'year':Nc,'month':Nc,'day':Nc,'hour':Nc,'minute':Nc},Yc={'year':Nc,'month':Nc,'day':Nc,'hour':Nc,'minute':Nc,'second':Nc},Kc={'year':Nc,'month':Lc,'day':Nc,'hour':Nc,'minute':Nc},Jc={'year':Nc,'month':Lc,'day':Nc,'hour':Nc,'minute':Nc,'second':Nc},tl={'year':Nc,'month':Lc,'day':Nc,'weekday':Lc,'hour':Nc,'minute':Nc},el={'year':Nc,'month':$c,'day':Nc,'hour':Nc,'minute':Nc,'timeZoneName':Lc},il={'year':Nc,'month':$c,'day':Nc,'hour':Nc,'minute':Nc,'second':Nc,'timeZoneName':Lc},sl={'year':Nc,'month':$c,'day':Nc,'weekday':$c,'hour':Nc,'minute':Nc,'timeZoneName':$c},nl={'year':Nc,'month':$c,'day':Nc,'weekday':$c,'hour':Nc,'minute':Nc,'second':Nc,'timeZoneName':$c};class Zone{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x2fdfe6,_0x2949d5){throw new ZoneIsAbstractError();}['formatOffset'](_0xba5136,_0x445312){throw new ZoneIsAbstractError();}['offset'](_0x37dd30){throw new ZoneIsAbstractError();}['equals'](_0x2c3249){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let rl=null;class SystemZone extends Zone{static get['instance'](){return null===rl&&(rl=new SystemZone()),rl;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x24fb95,{format:_0x43da06,locale:_0x5ed945}){return ph(_0x24fb95,_0x43da06,_0x5ed945);}['formatOffset'](_0x51817d,_0x5a401d){return yh(this['offset'](_0x51817d),_0x5a401d);}['offset'](_0x267efe){return-new Date(_0x267efe)['getTimezoneOffset']();}['equals'](_0x25a937){return'system'===_0x25a937['type'];}get['isValid'](){return!0x0;}}const ol=new Map(),al={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},cl=new Map();class IANAZone extends Zone{static['create'](_0x9a97d5){let _0x56b6f0=cl['get'](_0x9a97d5);return void 0x0===_0x56b6f0&&cl['set'](_0x9a97d5,_0x56b6f0=new IANAZone(_0x9a97d5)),_0x56b6f0;}static['resetCache'](){cl['clear'](),ol['clear']();}static['isValidSpecifier'](_0x4a6a4b){return this['isValidZone'](_0x4a6a4b);}static['isValidZone'](_0x2d7f0c){if(!_0x2d7f0c)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x2d7f0c})['format'](),!0x0;}catch(_0x3afea5){return!0x1;}}constructor(_0x136b1e){super(),this['zoneName']=_0x136b1e,this['valid']=IANAZone['isValidZone'](_0x136b1e);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x2b7999,{format:_0xa69ad2,locale:_0x5813dd}){return ph(_0x2b7999,_0xa69ad2,_0x5813dd,this['name']);}['formatOffset'](_0x57e02d,_0x27d844){return yh(this['offset'](_0x57e02d),_0x27d844);}['offset'](_0x127a20){if(!this['valid'])return NaN;const _0x3d1cbc=new Date(_0x127a20);if(isNaN(_0x3d1cbc))return NaN;const _0x4ab78a=function(_0x5ba3d4){let _0x329b43=ol['get'](_0x5ba3d4);return void 0x0===_0x329b43&&(_0x329b43=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x5ba3d4,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),ol['set'](_0x5ba3d4,_0x329b43)),_0x329b43;}(this['name']);let [_0x436ffc,_0x2b0c8d,_0xe0e4d6,_0x5cd359,_0x436595,_0x42fbeb,_0x1edd04]=_0x4ab78a['formatToParts']?function(_0x461b7d,_0x537a24){const _0x22ce27=_0x461b7d['formatToParts'](_0x537a24),_0x3e12cd=[];for(let _0x2c14e8=0x0;_0x2c14e8<_0x22ce27['length'];_0x2c14e8++){const {type:_0x1a41a6,value:_0x455951}=_0x22ce27[_0x2c14e8],_0x4c2054=al[_0x1a41a6];'era'===_0x1a41a6?_0x3e12cd[_0x4c2054]=_0x455951:Wl(_0x4c2054)||(_0x3e12cd[_0x4c2054]=parseInt(_0x455951,0xa));}return _0x3e12cd;}(_0x4ab78a,_0x3d1cbc):function(_0x16dddd,_0x17ca1a){const _0x44bd1e=_0x16dddd['format'](_0x17ca1a)['replace'](/\u200E/g,''),_0x55934f=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x44bd1e),[,_0x5cca55,_0x50ad3d,_0x2961ea,_0x94e7f8,_0x43791f,_0x41ce31,_0x14a81e]=_0x55934f;return[_0x2961ea,_0x5cca55,_0x50ad3d,_0x94e7f8,_0x43791f,_0x41ce31,_0x14a81e];}(_0x4ab78a,_0x3d1cbc);'BC'===_0x5cd359&&(_0x436ffc=0x1-Math['abs'](_0x436ffc));let _0x3c17e2=+_0x3d1cbc;const _0x25c5e4=_0x3c17e2%0x3e8;return _0x3c17e2-=_0x25c5e4>=0x0?_0x25c5e4:0x3e8+_0x25c5e4,(dh({'year':_0x436ffc,'month':_0x2b0c8d,'day':_0xe0e4d6,'hour':0x18===_0x436595?0x0:_0x436595,'minute':_0x42fbeb,'second':_0x1edd04,'millisecond':0x0})-_0x3c17e2)/0xea60;}['equals'](_0x2136ed){return'iana'===_0x2136ed['type']&&_0x2136ed['name']===this['name'];}get['isValid'](){return this['valid'];}}let ll={};const hl=new Map();function ul(_0x3000f7,_0x496b6f={}){const _0x9dd30d=JSON['stringify']([_0x3000f7,_0x496b6f]);let _0x514e7c=hl['get'](_0x9dd30d);return void 0x0===_0x514e7c&&(_0x514e7c=new Intl['DateTimeFormat'](_0x3000f7,_0x496b6f),hl['set'](_0x9dd30d,_0x514e7c)),_0x514e7c;}const dl=new Map(),fl=new Map();let ml=null;const gl=new Map();function pl(_0x26ceb0){let _0x43ce11=gl['get'](_0x26ceb0);return void 0x0===_0x43ce11&&(_0x43ce11=new Intl['DateTimeFormat'](_0x26ceb0)['resolvedOptions'](),gl['set'](_0x26ceb0,_0x43ce11)),_0x43ce11;}const Ol=new Map();function wl(_0x5baa6a,_0x3f131c,_0x37d886,_0x5e9d1b){const _0x13ae75=_0x5baa6a['listingMode']();return'error'===_0x13ae75?null:'en'===_0x13ae75?_0x37d886(_0x3f131c):_0x5e9d1b(_0x3f131c);}class PolyNumberFormatter{constructor(_0x3115cf,_0x1e0f89,_0x2e55f9){this['padTo']=_0x2e55f9['padTo']||0x0,this['floor']=_0x2e55f9['floor']||!0x1;const {padTo:_0x6284e0,floor:_0x32f42a,..._0x4f2e49}=_0x2e55f9;if(!_0x1e0f89||Object['keys'](_0x4f2e49)['length']>0x0){const _0x9af69c={'useGrouping':!0x1,..._0x2e55f9};_0x2e55f9['padTo']>0x0&&(_0x9af69c['minimumIntegerDigits']=_0x2e55f9['padTo']),this['inf']=function(_0xbf111d,_0xdea4f6={}){const _0x57c2e3=JSON['stringify']([_0xbf111d,_0xdea4f6]);let _0xe58e6=dl['get'](_0x57c2e3);return void 0x0===_0xe58e6&&(_0xe58e6=new Intl['NumberFormat'](_0xbf111d,_0xdea4f6),dl['set'](_0x57c2e3,_0xe58e6)),_0xe58e6;}(_0x3115cf,_0x9af69c);}}['format'](_0x368ab8){if(this['inf']){const _0x3b57dc=this['floor']?Math['floor'](_0x368ab8):_0x368ab8;return this['inf']['format'](_0x3b57dc);}return nh(this['floor']?Math['floor'](_0x368ab8):ch(_0x368ab8,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x457145,_0x5538b6,_0x14ebcb){let _0x335836;if(this['opts']=_0x14ebcb,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x457145;else{if('fixed'===_0x457145['zone']['type']){const _0x2204ed=_0x457145['offset']/0x3c*-0x1,_0x8e1cba=_0x2204ed>=0x0?'Etc/GMT+'+_0x2204ed:'Etc/GMT'+_0x2204ed;0x0!==_0x457145['offset']&&IANAZone['create'](_0x8e1cba)['valid']?(_0x335836=_0x8e1cba,this['dt']=_0x457145):(_0x335836='UTC',this['dt']=0x0===_0x457145['offset']?_0x457145:_0x457145['setZone']('UTC')['plus']({'minutes':_0x457145['offset']}),this['originalZone']=_0x457145['zone']);}else'system'===_0x457145['zone']['type']?this['dt']=_0x457145:'iana'===_0x457145['zone']['type']?(this['dt']=_0x457145,_0x335836=_0x457145['zone']['name']):(_0x335836='UTC',this['dt']=_0x457145['setZone']('UTC')['plus']({'minutes':_0x457145['offset']}),this['originalZone']=_0x457145['zone']);}const _0x2cb307={...this['opts']};_0x2cb307['timeZone']=_0x2cb307['timeZone']||_0x335836,this['dtf']=ul(_0x5538b6,_0x2cb307);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x4338e0})=>_0x4338e0)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0xc3489e=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0xc3489e['map'](_0x5a59a6=>{if('timeZoneName'===_0x5a59a6['type']){const _0x30ec23=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x5a59a6,'value':_0x30ec23};}return _0x5a59a6;}):_0xc3489e;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x43d7df,_0x406338,_0x1727f6){this['opts']={'style':'long',..._0x1727f6},!_0x406338&&Kl()&&(this['rtf']=function(_0x35398d,_0x278acd={}){const {base:_0x18ef25,..._0x4ca212}=_0x278acd,_0x3e52c4=JSON['stringify']([_0x35398d,_0x4ca212]);let _0x1dadcf=fl['get'](_0x3e52c4);return void 0x0===_0x1dadcf&&(_0x1dadcf=new Intl['RelativeTimeFormat'](_0x35398d,_0x278acd),fl['set'](_0x3e52c4,_0x1dadcf)),_0x1dadcf;}(_0x43d7df,_0x1727f6));}['format'](_0x3ad4e6,_0x4892db){return this['rtf']?this['rtf']['format'](_0x3ad4e6,_0x4892db):function(_0x54d5cf,_0xe33d3d,_0x2ed5b4='always',_0xaa4c6d=!0x1){const _0x5cc92b={'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.']},_0x5f1863=-0x1===['hours','minutes','seconds']['indexOf'](_0x54d5cf);if('auto'===_0x2ed5b4&&_0x5f1863){const _0x13d14f='days'===_0x54d5cf;switch(_0xe33d3d){case 0x1:return _0x13d14f?'tomorrow':'next\x20'+_0x5cc92b[_0x54d5cf][0x0];case-0x1:return _0x13d14f?'yesterday':'last\x20'+_0x5cc92b[_0x54d5cf][0x0];case 0x0:return _0x13d14f?'today':'this\x20'+_0x5cc92b[_0x54d5cf][0x0];}}const _0x5c3cc2=Object['is'](_0xe33d3d,-0x0)||_0xe33d3d<0x0,_0x2f7d16=Math['abs'](_0xe33d3d),_0x2bce0d=0x1===_0x2f7d16,_0x572cd6=_0x5cc92b[_0x54d5cf],_0x4ca9c6=_0xaa4c6d?_0x2bce0d?_0x572cd6[0x1]:_0x572cd6[0x2]||_0x572cd6[0x1]:_0x2bce0d?_0x5cc92b[_0x54d5cf][0x0]:_0x54d5cf;return _0x5c3cc2?_0x2f7d16+'\x20'+_0x4ca9c6+'\x20ago':'in\x20'+_0x2f7d16+'\x20'+_0x4ca9c6;}(_0x4892db,_0x3ad4e6,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x4e527c,_0x526e3a){return this['rtf']?this['rtf']['formatToParts'](_0x4e527c,_0x526e3a):[];}}const bl={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class Locale{static['fromOpts'](_0x2a8ea6){return Locale['create'](_0x2a8ea6['locale'],_0x2a8ea6['numberingSystem'],_0x2a8ea6['outputCalendar'],_0x2a8ea6['weekSettings'],_0x2a8ea6['defaultToEN']);}static['create'](_0x557e74,_0x236a22,_0x11e54a,_0x400731,_0x5bf9c8=!0x1){const _0x5a2164=_0x557e74||Settings['defaultLocale'],_0x562f60=_0x5a2164||(_0x5bf9c8?'en-US':ml||(ml=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],ml)),_0x1bfeb8=_0x236a22||Settings['defaultNumberingSystem'],_0x1817ac=_0x11e54a||Settings['defaultOutputCalendar'],_0x34b9c9=ih(_0x400731)||Settings['defaultWeekSettings'];return new Locale(_0x562f60,_0x1bfeb8,_0x1817ac,_0x34b9c9,_0x5a2164);}static['resetCache'](){ml=null,hl['clear'](),dl['clear'](),fl['clear'](),gl['clear'](),Ol['clear']();}static['fromObject']({locale:_0x3a8b56,numberingSystem:_0x599390,outputCalendar:_0x198709,weekSettings:_0x52b125}={}){return Locale['create'](_0x3a8b56,_0x599390,_0x198709,_0x52b125);}constructor(_0x3f61ba,_0x43878e,_0x31d8ad,_0x51abc1,_0xe9f4c7){const [_0x352afc,_0x2ac136,_0x59debb]=function(_0x1af26a){const _0x5de687=_0x1af26a['indexOf']('-x-');-0x1!==_0x5de687&&(_0x1af26a=_0x1af26a['substring'](0x0,_0x5de687));const _0x4440ac=_0x1af26a['indexOf']('-u-');if(-0x1===_0x4440ac)return[_0x1af26a];{let _0x2ffbae,_0x522175;try{_0x2ffbae=ul(_0x1af26a)['resolvedOptions'](),_0x522175=_0x1af26a;}catch(_0x1e002d){const _0x568719=_0x1af26a['substring'](0x0,_0x4440ac);_0x2ffbae=ul(_0x568719)['resolvedOptions'](),_0x522175=_0x568719;}const {numberingSystem:_0x2dfb2f,calendar:_0xdc581d}=_0x2ffbae;return[_0x522175,_0x2dfb2f,_0xdc581d];}}(_0x3f61ba);this['locale']=_0x352afc,this['numberingSystem']=_0x43878e||_0x2ac136||null,this['outputCalendar']=_0x31d8ad||_0x59debb||null,this['weekSettings']=_0x51abc1,this['intl']=function(_0x4407c8,_0x335643,_0x56c7b0){return _0x56c7b0||_0x335643?(_0x4407c8['includes']('-u-')||(_0x4407c8+='-u'),_0x56c7b0&&(_0x4407c8+='-ca-'+_0x56c7b0),_0x335643&&(_0x4407c8+='-nu-'+_0x335643),_0x4407c8):_0x4407c8;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0xe9f4c7,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x3b302b;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x3b302b=this)['numberingSystem']||'latn'===_0x3b302b['numberingSystem'])&&('latn'===_0x3b302b['numberingSystem']||!_0x3b302b['locale']||_0x3b302b['locale']['startsWith']('en')||'latn'===pl(_0x3b302b['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x3a5beb=this['isEnglish'](),_0x3f44ae=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x3a5beb&&_0x3f44ae?'en':'intl';}['clone'](_0x3ac451){return _0x3ac451&&0x0!==Object['getOwnPropertyNames'](_0x3ac451)['length']?Locale['create'](_0x3ac451['locale']||this['specifiedLocale'],_0x3ac451['numberingSystem']||this['numberingSystem'],_0x3ac451['outputCalendar']||this['outputCalendar'],ih(_0x3ac451['weekSettings'])||this['weekSettings'],_0x3ac451['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x3528af={}){return this['clone']({..._0x3528af,'defaultToEN':!0x0});}['redefaultToSystem'](_0xfd408b={}){return this['clone']({..._0xfd408b,'defaultToEN':!0x1});}['months'](_0x30c28a,_0x4a6152=!0x1){return wl(this,_0x30c28a,Ah,()=>{const _0x429d0b=_0x4a6152?{'month':_0x30c28a,'day':'numeric'}:{'month':_0x30c28a},_0x4b4fba=_0x4a6152?'format':'standalone';return this['monthsCache'][_0x4b4fba][_0x30c28a]||(this['monthsCache'][_0x4b4fba][_0x30c28a]=function(_0x4ba35b){const _0x31289c=[];for(let _0x53c1b4=0x1;_0x53c1b4<=0xc;_0x53c1b4++){const _0x1a04b2=DateTime['utc'](0x7d9,_0x53c1b4,0x1);_0x31289c['push'](_0x4ba35b(_0x1a04b2));}return _0x31289c;}(_0x5e6006=>this['extract'](_0x5e6006,_0x429d0b,'month'))),this['monthsCache'][_0x4b4fba][_0x30c28a];});}['weekdays'](_0x23c7db,_0x42cd39=!0x1){return wl(this,_0x23c7db,kh,()=>{const _0x3eb08a=_0x42cd39?{'weekday':_0x23c7db,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x23c7db},_0x24f76b=_0x42cd39?'format':'standalone';return this['weekdaysCache'][_0x24f76b][_0x23c7db]||(this['weekdaysCache'][_0x24f76b][_0x23c7db]=function(_0x3f1b48){const _0x52ede5=[];for(let _0x4847d8=0x1;_0x4847d8<=0x7;_0x4847d8++){const _0x584eac=DateTime['utc'](0x7e0,0xb,0xd+_0x4847d8);_0x52ede5['push'](_0x3f1b48(_0x584eac));}return _0x52ede5;}(_0x27c80c=>this['extract'](_0x27c80c,_0x3eb08a,'weekday'))),this['weekdaysCache'][_0x24f76b][_0x23c7db];});}['meridiems'](){return wl(this,void 0x0,()=>xh,()=>{if(!this['meridiemCache']){const _0x39641f={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x449a9c=>this['extract'](_0x449a9c,_0x39641f,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x42c3de){return wl(this,_0x42c3de,Nh,()=>{const _0xd348f5={'era':_0x42c3de};return this['eraCache'][_0x42c3de]||(this['eraCache'][_0x42c3de]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x336908=>this['extract'](_0x336908,_0xd348f5,'era'))),this['eraCache'][_0x42c3de];});}['extract'](_0x3964b9,_0x1e0ce1,_0x581e4d){const _0x3dd959=this['dtFormatter'](_0x3964b9,_0x1e0ce1)['formatToParts']()['find'](_0x5c461f=>_0x5c461f['type']['toLowerCase']()===_0x581e4d);return _0x3dd959?_0x3dd959['value']:null;}['numberFormatter'](_0x39a12e={}){return new PolyNumberFormatter(this['intl'],_0x39a12e['forceSimple']||this['fastNumbers'],_0x39a12e);}['dtFormatter'](_0x22bc4b,_0x3d7b73={}){return new PolyDateFormatter(_0x22bc4b,this['intl'],_0x3d7b73);}['relFormatter'](_0xab287={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0xab287);}['listFormatter'](_0x4eefd2={}){return function(_0x3872ea,_0x2a7d6c={}){const _0x1c3b89=JSON['stringify']([_0x3872ea,_0x2a7d6c]);let _0x54ab43=ll[_0x1c3b89];return _0x54ab43||(_0x54ab43=new Intl['ListFormat'](_0x3872ea,_0x2a7d6c),ll[_0x1c3b89]=_0x54ab43),_0x54ab43;}(this['intl'],_0x4eefd2);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||pl(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:Jl()?function(_0x5af222){let _0x467510=Ol['get'](_0x5af222);if(!_0x467510){const _0x3a6a76=new Intl['Locale'](_0x5af222);_0x467510='getWeekInfo'in _0x3a6a76?_0x3a6a76['getWeekInfo']():_0x3a6a76['weekInfo'],'minimalDays'in _0x467510||(_0x467510={...bl,..._0x467510}),Ol['set'](_0x5af222,_0x467510);}return _0x467510;}(this['locale']):bl;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x59687f){return this['locale']===_0x59687f['locale']&&this['numberingSystem']===_0x59687f['numberingSystem']&&this['outputCalendar']===_0x59687f['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let yl=null;class FixedOffsetZone extends Zone{static get['utcInstance'](){return null===yl&&(yl=new FixedOffsetZone(0x0)),yl;}static['instance'](_0x5390e6){return 0x0===_0x5390e6?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x5390e6);}static['parseSpecifier'](_0x145207){if(_0x145207){const _0x5eab68=_0x145207['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x5eab68)return new FixedOffsetZone(Oh(_0x5eab68[0x1],_0x5eab68[0x2]));}return null;}constructor(_0x1f6121){super(),this['fixed']=_0x1f6121;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+yh(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+yh(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x3f0d24,_0x4177ad){return yh(this['fixed'],_0x4177ad);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x25d2c7){return'fixed'===_0x25d2c7['type']&&_0x25d2c7['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class InvalidZone extends Zone{constructor(_0x490b0f){super(),this['zoneName']=_0x490b0f;}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 vl(_0x5cf56d,_0x2872b5){if(Wl(_0x5cf56d)||null===_0x5cf56d)return _0x2872b5;if(_0x5cf56d instanceof Zone)return _0x5cf56d;if('string'==typeof _0x5cf56d){const _0xeca504=_0x5cf56d['toLowerCase']();return'default'===_0xeca504?_0x2872b5:'local'===_0xeca504||'system'===_0xeca504?SystemZone['instance']:'utc'===_0xeca504||'gmt'===_0xeca504?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0xeca504)||IANAZone['create'](_0x5cf56d);}return zl(_0x5cf56d)?FixedOffsetZone['instance'](_0x5cf56d):'object'==typeof _0x5cf56d&&'offset'in _0x5cf56d&&'function'==typeof _0x5cf56d['offset']?_0x5cf56d:new InvalidZone(_0x5cf56d);}const _l={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},El={'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]},Tl=_l['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),Al=new Map();function Sl({numberingSystem:_0x4572b6},_0x38e3f9=''){const _0x36dbb4=_0x4572b6||'latn';let _0x2fcf02=Al['get'](_0x36dbb4);void 0x0===_0x2fcf02&&(_0x2fcf02=new Map(),Al['set'](_0x36dbb4,_0x2fcf02));let _0x1b5354=_0x2fcf02['get'](_0x38e3f9);return void 0x0===_0x1b5354&&(_0x1b5354=new RegExp(''+_l[_0x36dbb4]+_0x38e3f9),_0x2fcf02['set'](_0x38e3f9,_0x1b5354)),_0x1b5354;}let Il,Cl=()=>Date['now'](),kl='system',xl=null,Rl=null,Pl=null,Ml=0x3c,Nl=null;class Settings{static get['now'](){return Cl;}static set['now'](_0x5e36aa){Cl=_0x5e36aa;}static set['defaultZone'](_0x2f047d){kl=_0x2f047d;}static get['defaultZone'](){return vl(kl,SystemZone['instance']);}static get['defaultLocale'](){return xl;}static set['defaultLocale'](_0x4e8cf6){xl=_0x4e8cf6;}static get['defaultNumberingSystem'](){return Rl;}static set['defaultNumberingSystem'](_0x4ad29b){Rl=_0x4ad29b;}static get['defaultOutputCalendar'](){return Pl;}static set['defaultOutputCalendar'](_0x4f34fc){Pl=_0x4f34fc;}static get['defaultWeekSettings'](){return Nl;}static set['defaultWeekSettings'](_0x397366){Nl=ih(_0x397366);}static get['twoDigitCutoffYear'](){return Ml;}static set['twoDigitCutoffYear'](_0x5107e3){Ml=_0x5107e3%0x64;}static get['throwOnInvalid'](){return Il;}static set['throwOnInvalid'](t){Il=t;}static['resetCaches'](){Locale['resetCache'](),IANAZone['resetCache'](),DateTime['resetCache'](),Al['clear']();}}class Invalid{constructor(_0x4ba2c1,_0x31ed4f){this['reason']=_0x4ba2c1,this['explanation']=_0x31ed4f;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const Ll=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],$l=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function Dl(_0x1f6ac1,_0x4067d0){return new Invalid('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x4067d0+'\x20(of\x20type\x20'+typeof _0x4067d0+')\x20as\x20a\x20'+_0x1f6ac1+',\x20which\x20is\x20invalid');}function Ql(_0x519ff2,_0x4713c8,_0x15da6a){const _0x317f95=new Date(Date['UTC'](_0x519ff2,_0x4713c8-0x1,_0x15da6a));_0x519ff2<0x64&&_0x519ff2>=0x0&&_0x317f95['setUTCFullYear'](_0x317f95['getUTCFullYear']()-0x76c);const _0x357324=_0x317f95['getUTCDay']();return 0x0===_0x357324?0x7:_0x357324;}function Vl(_0x229d55,_0x289e9b,_0x1d4281){return _0x1d4281+(lh(_0x229d55)?$l:Ll)[_0x289e9b-0x1];}function Ul(_0x5d0af0,_0x1c413b){const _0x1dd109=lh(_0x5d0af0)?$l:Ll,_0x5bd1c9=_0x1dd109['findIndex'](_0x5019a3=>_0x5019a3<_0x1c413b);return{'month':_0x5bd1c9+0x1,'day':_0x1c413b-_0x1dd109[_0x5bd1c9]};}function Bl(_0x312010,_0x339c8b){return(_0x312010-_0x339c8b+0x7)%0x7+0x1;}function jl(_0x412d88,_0x2bc7ff=0x4,_0x5cd19b=0x1){const {year:_0x12efd6,month:_0x2de623,day:_0x4a0cb4}=_0x412d88,_0x3c433=Vl(_0x12efd6,_0x2de623,_0x4a0cb4),_0x4881ed=Bl(Ql(_0x12efd6,_0x2de623,_0x4a0cb4),_0x5cd19b);let _0x501440,_0x339c12=Math['floor']((_0x3c433-_0x4881ed+0xe-_0x2bc7ff)/0x7);return _0x339c12<0x1?(_0x501440=_0x12efd6-0x1,_0x339c12=mh(_0x501440,_0x2bc7ff,_0x5cd19b)):_0x339c12>mh(_0x12efd6,_0x2bc7ff,_0x5cd19b)?(_0x501440=_0x12efd6+0x1,_0x339c12=0x1):_0x501440=_0x12efd6,{'weekYear':_0x501440,'weekNumber':_0x339c12,'weekday':_0x4881ed,...vh(_0x412d88)};}function Fl(_0x3e6338,_0x252db9=0x4,_0xe1774=0x1){const {weekYear:_0x20e66e,weekNumber:_0x40ae28,weekday:_0x174097}=_0x3e6338,_0x52cf71=Bl(Ql(_0x20e66e,0x1,_0x252db9),_0xe1774),_0x100455=hh(_0x20e66e);let _0x2cadaf,_0x41bea7=0x7*_0x40ae28+_0x174097-_0x52cf71-0x7+_0x252db9;_0x41bea7<0x1?(_0x2cadaf=_0x20e66e-0x1,_0x41bea7+=hh(_0x2cadaf)):_0x41bea7>_0x100455?(_0x2cadaf=_0x20e66e+0x1,_0x41bea7-=hh(_0x20e66e)):_0x2cadaf=_0x20e66e;const {month:_0x3d157d,day:_0x18dec8}=Ul(_0x2cadaf,_0x41bea7);return{'year':_0x2cadaf,'month':_0x3d157d,'day':_0x18dec8,...vh(_0x3e6338)};}function Hl(_0x36dcc3){const {year:_0x5b5e78,month:_0x3aa70c,day:_0x1f46fb}=_0x36dcc3;return{'year':_0x5b5e78,'ordinal':Vl(_0x5b5e78,_0x3aa70c,_0x1f46fb),...vh(_0x36dcc3)};}function Gl(_0x2c51d3){const {year:_0x54e917,ordinal:_0x3647c1}=_0x2c51d3,{month:_0x1e0c5f,day:_0x2a1e94}=Ul(_0x54e917,_0x3647c1);return{'year':_0x54e917,'month':_0x1e0c5f,'day':_0x2a1e94,...vh(_0x2c51d3)};}function Zl(_0xb58b57,_0x636276){if(!Wl(_0xb58b57['localWeekday'])||!Wl(_0xb58b57['localWeekNumber'])||!Wl(_0xb58b57['localWeekYear'])){if(!Wl(_0xb58b57['weekday'])||!Wl(_0xb58b57['weekNumber'])||!Wl(_0xb58b57['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return Wl(_0xb58b57['localWeekday'])||(_0xb58b57['weekday']=_0xb58b57['localWeekday']),Wl(_0xb58b57['localWeekNumber'])||(_0xb58b57['weekNumber']=_0xb58b57['localWeekNumber']),Wl(_0xb58b57['localWeekYear'])||(_0xb58b57['weekYear']=_0xb58b57['localWeekYear']),delete _0xb58b57['localWeekday'],delete _0xb58b57['localWeekNumber'],delete _0xb58b57['localWeekYear'],{'minDaysInFirstWeek':_0x636276['getMinDaysInFirstWeek'](),'startOfWeek':_0x636276['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function Xl(_0x425657){const _0xdb9725=Yl(_0x425657['year']),_0x5b87f4=sh(_0x425657['month'],0x1,0xc),_0x4cc3ab=sh(_0x425657['day'],0x1,uh(_0x425657['year'],_0x425657['month']));return _0xdb9725?_0x5b87f4?!_0x4cc3ab&&Dl('day',_0x425657['day']):Dl('month',_0x425657['month']):Dl('year',_0x425657['year']);}function ql(_0x3bf26d){const {hour:_0x4a27b4,minute:_0x212bb5,second:_0x316f97,millisecond:_0x40f3b2}=_0x3bf26d,_0x58ed94=sh(_0x4a27b4,0x0,0x17)||0x18===_0x4a27b4&&0x0===_0x212bb5&&0x0===_0x316f97&&0x0===_0x40f3b2,_0x2f437f=sh(_0x212bb5,0x0,0x3b),_0x30a11c=sh(_0x316f97,0x0,0x3b),_0x3a2555=sh(_0x40f3b2,0x0,0x3e7);return _0x58ed94?_0x2f437f?_0x30a11c?!_0x3a2555&&Dl('millisecond',_0x40f3b2):Dl('second',_0x316f97):Dl('minute',_0x212bb5):Dl('hour',_0x4a27b4);}function Wl(_0x25227b){return void 0x0===_0x25227b;}function zl(_0x5f70ea){return'number'==typeof _0x5f70ea;}function Yl(_0x30cf1c){return'number'==typeof _0x30cf1c&&_0x30cf1c%0x1==0x0;}function Kl(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x3c06fe){return!0x1;}}function Jl(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0xebf73c){return!0x1;}}function th(_0x59cbfc,_0x409641,_0x32c563){if(0x0!==_0x59cbfc['length'])return _0x59cbfc['reduce']((_0x37d27b,_0x4341ec)=>{const _0x4eebe8=[_0x409641(_0x4341ec),_0x4341ec];return _0x37d27b&&_0x32c563(_0x37d27b[0x0],_0x4eebe8[0x0])===_0x37d27b[0x0]?_0x37d27b:_0x4eebe8;},null)[0x1];}function eh(_0x3c54e2,_0x182b9f){return Object['prototype']['hasOwnProperty']['call'](_0x3c54e2,_0x182b9f);}function ih(_0x3d2422){if(null==_0x3d2422)return null;if('object'!=typeof _0x3d2422)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!sh(_0x3d2422['firstDay'],0x1,0x7)||!sh(_0x3d2422['minimalDays'],0x1,0x7)||!Array['isArray'](_0x3d2422['weekend'])||_0x3d2422['weekend']['some'](_0x329554=>!sh(_0x329554,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x3d2422['firstDay'],'minimalDays':_0x3d2422['minimalDays'],'weekend':Array['from'](_0x3d2422['weekend'])};}function sh(_0x57e309,_0x4f881d,_0x4dac30){return Yl(_0x57e309)&&_0x57e309>=_0x4f881d&&_0x57e309<=_0x4dac30;}function nh(_0x166f4c,_0x8eb417=0x2){let _0x4c0613;return _0x4c0613=_0x166f4c<0x0?'-'+(''+-_0x166f4c)['padStart'](_0x8eb417,'0'):(''+_0x166f4c)['padStart'](_0x8eb417,'0'),_0x4c0613;}function rh(_0x856cd9){return Wl(_0x856cd9)||null===_0x856cd9||''===_0x856cd9?void 0x0:parseInt(_0x856cd9,0xa);}function oh(_0x4ebfd0){return Wl(_0x4ebfd0)||null===_0x4ebfd0||''===_0x4ebfd0?void 0x0:parseFloat(_0x4ebfd0);}function ah(_0x47a4d5){if(!Wl(_0x47a4d5)&&null!==_0x47a4d5&&''!==_0x47a4d5){const _0x67f9f7=0x3e8*parseFloat('0.'+_0x47a4d5);return Math['floor'](_0x67f9f7);}}function ch(_0x51522c,_0x220830,_0x256411=!0x1){const _0x4b14c9=0xa**_0x220830;return(_0x256411?Math['trunc']:Math['round'])(_0x51522c*_0x4b14c9)/_0x4b14c9;}function lh(_0x1caef7){return _0x1caef7%0x4==0x0&&(_0x1caef7%0x64!=0x0||_0x1caef7%0x190==0x0);}function hh(_0x45e8ce){return lh(_0x45e8ce)?0x16e:0x16d;}function uh(_0x39719a,_0x52442f){const _0xea3e09=function(_0x2dfb6a,_0x585e13){return _0x2dfb6a-_0x585e13*Math['floor'](_0x2dfb6a/_0x585e13);}(_0x52442f-0x1,0xc)+0x1;return 0x2===_0xea3e09?lh(_0x39719a+(_0x52442f-_0xea3e09)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0xea3e09-0x1];}function dh(_0x39aa81){let _0x1e6d90=Date['UTC'](_0x39aa81['year'],_0x39aa81['month']-0x1,_0x39aa81['day'],_0x39aa81['hour'],_0x39aa81['minute'],_0x39aa81['second'],_0x39aa81['millisecond']);return _0x39aa81['year']<0x64&&_0x39aa81['year']>=0x0&&(_0x1e6d90=new Date(_0x1e6d90),_0x1e6d90['setUTCFullYear'](_0x39aa81['year'],_0x39aa81['month']-0x1,_0x39aa81['day'])),+_0x1e6d90;}function fh(_0x3b4ea4,_0x4ef336,_0x21266b){return-Bl(Ql(_0x3b4ea4,0x1,_0x4ef336),_0x21266b)+_0x4ef336-0x1;}function mh(_0x8000f0,_0x32abbf=0x4,_0x46e0c1=0x1){const _0xa778d6=fh(_0x8000f0,_0x32abbf,_0x46e0c1),_0x4d96d8=fh(_0x8000f0+0x1,_0x32abbf,_0x46e0c1);return(hh(_0x8000f0)-_0xa778d6+_0x4d96d8)/0x7;}function gh(_0x36e4a9){return _0x36e4a9>0x63?_0x36e4a9:_0x36e4a9>Settings['twoDigitCutoffYear']?0x76c+_0x36e4a9:0x7d0+_0x36e4a9;}function ph(_0x372a87,_0x53a355,_0x38e6b1,_0x35b0bb=null){const _0x1a3e2a=new Date(_0x372a87),_0x35346f={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x35b0bb&&(_0x35346f['timeZone']=_0x35b0bb);const _0x14e18d={'timeZoneName':_0x53a355,..._0x35346f},_0x327d4c=new Intl['DateTimeFormat'](_0x38e6b1,_0x14e18d)['formatToParts'](_0x1a3e2a)['find'](_0x1d26a1=>'timezonename'===_0x1d26a1['type']['toLowerCase']());return _0x327d4c?_0x327d4c['value']:null;}function Oh(_0x5b4e90,_0x2465b0){let _0x3f7ce0=parseInt(_0x5b4e90,0xa);Number['isNaN'](_0x3f7ce0)&&(_0x3f7ce0=0x0);const _0xfb2283=parseInt(_0x2465b0,0xa)||0x0;return 0x3c*_0x3f7ce0+(_0x3f7ce0<0x0||Object['is'](_0x3f7ce0,-0x0)?-_0xfb2283:_0xfb2283);}function wh(_0x1a0829){const _0x286be7=Number(_0x1a0829);if('boolean'==typeof _0x1a0829||''===_0x1a0829||Number['isNaN'](_0x286be7))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x1a0829);return _0x286be7;}function bh(_0x36c52d,_0x438c53){const _0x17732c={};for(const _0x37c42c in _0x36c52d)if(eh(_0x36c52d,_0x37c42c)){const _0x5ccace=_0x36c52d[_0x37c42c];if(null==_0x5ccace)continue;_0x17732c[_0x438c53(_0x37c42c)]=wh(_0x5ccace);}return _0x17732c;}function yh(_0x5bc307,_0x1f2eb2){const _0x3b814a=Math['trunc'](Math['abs'](_0x5bc307/0x3c)),_0xff3f8a=Math['trunc'](Math['abs'](_0x5bc307%0x3c)),_0x51252e=_0x5bc307>=0x0?'+':'-';switch(_0x1f2eb2){case'short':return''+_0x51252e+nh(_0x3b814a,0x2)+':'+nh(_0xff3f8a,0x2);case'narrow':return''+_0x51252e+_0x3b814a+(_0xff3f8a>0x0?':'+_0xff3f8a:'');case'techie':return''+_0x51252e+nh(_0x3b814a,0x2)+nh(_0xff3f8a,0x2);default:throw new RangeError('Value\x20format\x20'+_0x1f2eb2+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function vh(_0x347f85){return function(_0x29d79b,_0x4bb5af){return _0x4bb5af['reduce']((_0x4934d7,_0x1170af)=>(_0x4934d7[_0x1170af]=_0x29d79b[_0x1170af],_0x4934d7),{});}(_0x347f85,['hour','minute','second','millisecond']);}const _h=['January','February','March','April','May','June','July','August','September','October','November','December'],Eh=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],Th=['J','F','M','A','M','J','J','A','S','O','N','D'];function Ah(_0xe6e75a){switch(_0xe6e75a){case'narrow':return[...Th];case'short':return[...Eh];case'long':return[..._h];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 Sh=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],Ih=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],Ch=['M','T','W','T','F','S','S'];function kh(_0x54a891){switch(_0x54a891){case'narrow':return[...Ch];case'short':return[...Ih];case'long':return[...Sh];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const xh=['AM','PM'],Rh=['Before\x20Christ','Anno\x20Domini'],Ph=['BC','AD'],Mh=['B','A'];function Nh(_0x266b4b){switch(_0x266b4b){case'narrow':return[...Mh];case'short':return[...Ph];case'long':return[...Rh];default:return null;}}function Lh(_0x173ec0,_0x1639e1){let _0x5798cd='';for(const _0x4932da of _0x173ec0)_0x4932da['literal']?_0x5798cd+=_0x4932da['val']:_0x5798cd+=_0x1639e1(_0x4932da['val']);return _0x5798cd;}const $h={'D':Dc,'DD':Qc,'DDD':Uc,'DDDD':Bc,'t':jc,'tt':Fc,'ttt':Hc,'tttt':Gc,'T':Zc,'TT':Xc,'TTT':qc,'TTTT':Wc,'f':zc,'ff':Kc,'fff':el,'ffff':sl,'F':Yc,'FF':Jc,'FFF':il,'FFFF':nl};class Formatter{static['create'](_0x33724c,_0x104ef4={}){return new Formatter(_0x33724c,_0x104ef4);}static['parseFormat'](_0x21662f){let _0x3f0ee4=null,_0x548cb1='',_0x3aa2d5=!0x1;const _0xda8be4=[];for(let _0x4b2bc4=0x0;_0x4b2bc4<_0x21662f['length'];_0x4b2bc4++){const _0x3c38f1=_0x21662f['charAt'](_0x4b2bc4);'\x27'===_0x3c38f1?(_0x548cb1['length']>0x0&&_0xda8be4['push']({'literal':_0x3aa2d5||/^\s+$/['test'](_0x548cb1),'val':_0x548cb1}),_0x3f0ee4=null,_0x548cb1='',_0x3aa2d5=!_0x3aa2d5):_0x3aa2d5||_0x3c38f1===_0x3f0ee4?_0x548cb1+=_0x3c38f1:(_0x548cb1['length']>0x0&&_0xda8be4['push']({'literal':/^\s+$/['test'](_0x548cb1),'val':_0x548cb1}),_0x548cb1=_0x3c38f1,_0x3f0ee4=_0x3c38f1);}return _0x548cb1['length']>0x0&&_0xda8be4['push']({'literal':_0x3aa2d5||/^\s+$/['test'](_0x548cb1),'val':_0x548cb1}),_0xda8be4;}static['macroTokenToFormatOpts'](_0x5963c9){return $h[_0x5963c9];}constructor(_0x61436a,_0x248d61){this['opts']=_0x248d61,this['loc']=_0x61436a,this['systemLoc']=null;}['formatWithSystemDefault'](_0x888e5e,_0x9a207b){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x888e5e,{...this['opts'],..._0x9a207b})['format']();}['dtFormatter'](_0x745266,_0x3d1606={}){return this['loc']['dtFormatter'](_0x745266,{...this['opts'],..._0x3d1606});}['formatDateTime'](_0x15491c,_0x23315e){return this['dtFormatter'](_0x15491c,_0x23315e)['format']();}['formatDateTimeParts'](_0x4327eb,_0x545dcb){return this['dtFormatter'](_0x4327eb,_0x545dcb)['formatToParts']();}['formatInterval'](_0x5f4f31,_0x19a269){return this['dtFormatter'](_0x5f4f31['start'],_0x19a269)['dtf']['formatRange'](_0x5f4f31['start']['toJSDate'](),_0x5f4f31['end']['toJSDate']());}['resolvedOptions'](_0x58f6a2,_0x272d6f){return this['dtFormatter'](_0x58f6a2,_0x272d6f)['resolvedOptions']();}['num'](_0xe8eb7c,_0x54c050=0x0){if(this['opts']['forceSimple'])return nh(_0xe8eb7c,_0x54c050);const _0x2a70bf={...this['opts']};return _0x54c050>0x0&&(_0x2a70bf['padTo']=_0x54c050),this['loc']['numberFormatter'](_0x2a70bf)['format'](_0xe8eb7c);}['formatDateTimeFromString'](_0xf50bda,_0xc54e50){const _0x29c71c='en'===this['loc']['listingMode'](),_0x278dc3=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x4565f2=(_0x12e40a,_0x51ef4d)=>this['loc']['extract'](_0xf50bda,_0x12e40a,_0x51ef4d),_0x136b5f=_0x5bd525=>_0xf50bda['isOffsetFixed']&&0x0===_0xf50bda['offset']&&_0x5bd525['allowZ']?'Z':_0xf50bda['isValid']?_0xf50bda['zone']['formatOffset'](_0xf50bda['ts'],_0x5bd525['format']):'',_0x252a2f=()=>_0x29c71c?function(_0x59c592){return xh[_0x59c592['hour']<0xc?0x0:0x1];}(_0xf50bda):_0x4565f2({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x1ae001=(_0x21daa2,_0x54f5a4)=>_0x29c71c?function(_0xece5a6,_0x4d5924){return Ah(_0x4d5924)[_0xece5a6['month']-0x1];}(_0xf50bda,_0x21daa2):_0x4565f2(_0x54f5a4?{'month':_0x21daa2}:{'month':_0x21daa2,'day':'numeric'},'month'),_0x437293=(_0x2c3d8a,_0x2a0a51)=>_0x29c71c?function(_0x1cfbf8,_0x3d773d){return kh(_0x3d773d)[_0x1cfbf8['weekday']-0x1];}(_0xf50bda,_0x2c3d8a):_0x4565f2(_0x2a0a51?{'weekday':_0x2c3d8a}:{'weekday':_0x2c3d8a,'month':'long','day':'numeric'},'weekday'),_0x5f4cc5=_0x254e9f=>{const _0x40a0b0=Formatter['macroTokenToFormatOpts'](_0x254e9f);return _0x40a0b0?this['formatWithSystemDefault'](_0xf50bda,_0x40a0b0):_0x254e9f;},_0x44f1e9=_0x7c1211=>_0x29c71c?function(_0x295800,_0x216d5a){return Nh(_0x216d5a)[_0x295800['year']<0x0?0x0:0x1];}(_0xf50bda,_0x7c1211):_0x4565f2({'era':_0x7c1211},'era');return Lh(Formatter['parseFormat'](_0xc54e50),_0x1c223a=>{switch(_0x1c223a){case'S':return this['num'](_0xf50bda['millisecond']);case'u':case'SSS':return this['num'](_0xf50bda['millisecond'],0x3);case's':return this['num'](_0xf50bda['second']);case'ss':return this['num'](_0xf50bda['second'],0x2);case'uu':return this['num'](Math['floor'](_0xf50bda['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0xf50bda['millisecond']/0x64));case'm':return this['num'](_0xf50bda['minute']);case'mm':return this['num'](_0xf50bda['minute'],0x2);case'h':return this['num'](_0xf50bda['hour']%0xc==0x0?0xc:_0xf50bda['hour']%0xc);case'hh':return this['num'](_0xf50bda['hour']%0xc==0x0?0xc:_0xf50bda['hour']%0xc,0x2);case'H':return this['num'](_0xf50bda['hour']);case'HH':return this['num'](_0xf50bda['hour'],0x2);case'Z':return _0x136b5f({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x136b5f({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x136b5f({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0xf50bda['zone']['offsetName'](_0xf50bda['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0xf50bda['zone']['offsetName'](_0xf50bda['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0xf50bda['zoneName'];case'a':return _0x252a2f();case'd':return _0x278dc3?_0x4565f2({'day':'numeric'},'day'):this['num'](_0xf50bda['day']);case'dd':return _0x278dc3?_0x4565f2({'day':'2-digit'},'day'):this['num'](_0xf50bda['day'],0x2);case'c':case'E':return this['num'](_0xf50bda['weekday']);case'ccc':return _0x437293('short',!0x0);case'cccc':return _0x437293('long',!0x0);case'ccccc':return _0x437293('narrow',!0x0);case'EEE':return _0x437293('short',!0x1);case'EEEE':return _0x437293('long',!0x1);case'EEEEE':return _0x437293('narrow',!0x1);case'L':return _0x278dc3?_0x4565f2({'month':'numeric','day':'numeric'},'month'):this['num'](_0xf50bda['month']);case'LL':return _0x278dc3?_0x4565f2({'month':'2-digit','day':'numeric'},'month'):this['num'](_0xf50bda['month'],0x2);case'LLL':return _0x1ae001('short',!0x0);case'LLLL':return _0x1ae001('long',!0x0);case'LLLLL':return _0x1ae001('narrow',!0x0);case'M':return _0x278dc3?_0x4565f2({'month':'numeric'},'month'):this['num'](_0xf50bda['month']);case'MM':return _0x278dc3?_0x4565f2({'month':'2-digit'},'month'):this['num'](_0xf50bda['month'],0x2);case'MMM':return _0x1ae001('short',!0x1);case'MMMM':return _0x1ae001('long',!0x1);case'MMMMM':return _0x1ae001('narrow',!0x1);case'y':return _0x278dc3?_0x4565f2({'year':'numeric'},'year'):this['num'](_0xf50bda['year']);case'yy':return _0x278dc3?_0x4565f2({'year':'2-digit'},'year'):this['num'](_0xf50bda['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x278dc3?_0x4565f2({'year':'numeric'},'year'):this['num'](_0xf50bda['year'],0x4);case'yyyyyy':return _0x278dc3?_0x4565f2({'year':'numeric'},'year'):this['num'](_0xf50bda['year'],0x6);case'G':return _0x44f1e9('short');case'GG':return _0x44f1e9('long');case'GGGGG':return _0x44f1e9('narrow');case'kk':return this['num'](_0xf50bda['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0xf50bda['weekYear'],0x4);case'W':return this['num'](_0xf50bda['weekNumber']);case'WW':return this['num'](_0xf50bda['weekNumber'],0x2);case'n':return this['num'](_0xf50bda['localWeekNumber']);case'nn':return this['num'](_0xf50bda['localWeekNumber'],0x2);case'ii':return this['num'](_0xf50bda['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0xf50bda['localWeekYear'],0x4);case'o':return this['num'](_0xf50bda['ordinal']);case'ooo':return this['num'](_0xf50bda['ordinal'],0x3);case'q':return this['num'](_0xf50bda['quarter']);case'qq':return this['num'](_0xf50bda['quarter'],0x2);case'X':return this['num'](Math['floor'](_0xf50bda['ts']/0x3e8));case'x':return this['num'](_0xf50bda['ts']);default:return _0x5f4cc5(_0x1c223a);}});}['formatDurationFromString'](_0x1cff3f,_0x411e9e){const _0x46228b=_0x4500ab=>{switch(_0x4500ab[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;}},_0x38d17b=Formatter['parseFormat'](_0x411e9e),_0x34a7b8=_0x38d17b['reduce']((_0x2b75c3,{literal:_0x5d15ea,val:_0x56fde7})=>_0x5d15ea?_0x2b75c3:_0x2b75c3['concat'](_0x56fde7),[]),_0x34ed3b=_0x1cff3f['shiftTo'](..._0x34a7b8['map'](_0x46228b)['filter'](t=>t));return Lh(_0x38d17b,(_0x380d2d=>_0x3b6fc0=>{const _0x4d2350=_0x46228b(_0x3b6fc0);return _0x4d2350?this['num'](_0x380d2d['get'](_0x4d2350),_0x3b6fc0['length']):_0x3b6fc0;})(_0x34ed3b));}}const Dh=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Qh(..._0x20c366){const _0x4af6a7=_0x20c366['reduce']((_0x3716ff,_0x24c959)=>_0x3716ff+_0x24c959['source'],'');return RegExp('^'+_0x4af6a7+'$');}function Vh(..._0x27d12b){return _0x198c4f=>_0x27d12b['reduce'](([_0x4e01ad,_0x1e51e3,_0x959eb2],_0x4b9a1a)=>{const [_0x2efa8f,_0x5ce4bc,_0x23cfa3]=_0x4b9a1a(_0x198c4f,_0x959eb2);return[{..._0x4e01ad,..._0x2efa8f},_0x5ce4bc||_0x1e51e3,_0x23cfa3];},[{},null,0x1])['slice'](0x0,0x2);}function Uh(_0x52784a,..._0x5c264d){if(null==_0x52784a)return[null,null];for(const [_0x17b64e,_0x57c248]of _0x5c264d){const _0x504641=_0x17b64e['exec'](_0x52784a);if(_0x504641)return _0x57c248(_0x504641);}return[null,null];}function Bh(..._0x4eee3c){return(_0x3b0cda,_0x1c5605)=>{const _0x84f560={};let _0x4376d6;for(_0x4376d6=0x0;_0x4376d6<_0x4eee3c['length'];_0x4376d6++)_0x84f560[_0x4eee3c[_0x4376d6]]=rh(_0x3b0cda[_0x1c5605+_0x4376d6]);return[_0x84f560,null,_0x1c5605+_0x4376d6];};}const jh=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fh=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Hh=RegExp(''+Fh['source']+('(?:'+jh['source']+'?(?:\x5c[('+Dh['source']+')\x5c])?)?')),Gh=RegExp('(?:T'+Hh['source']+')?'),Zh=Bh('weekYear','weekNumber','weekDay'),Xh=Bh('year','ordinal'),qh=RegExp(Fh['source']+'\x20?(?:'+jh['source']+'|('+Dh['source']+'))?'),Wh=RegExp('(?:\x20'+qh['source']+')?');function zh(_0x2cb973,_0x411e38,_0x533eaf){const _0x5479d4=_0x2cb973[_0x411e38];return Wl(_0x5479d4)?_0x533eaf:rh(_0x5479d4);}function Yh(_0x284b48,_0x2da4f9){return[{'hours':zh(_0x284b48,_0x2da4f9,0x0),'minutes':zh(_0x284b48,_0x2da4f9+0x1,0x0),'seconds':zh(_0x284b48,_0x2da4f9+0x2,0x0),'milliseconds':ah(_0x284b48[_0x2da4f9+0x3])},null,_0x2da4f9+0x4];}function Kh(_0x4a5673,_0x90cdb2){const _0x5ac417=!_0x4a5673[_0x90cdb2]&&!_0x4a5673[_0x90cdb2+0x1],_0x34e6cf=Oh(_0x4a5673[_0x90cdb2+0x1],_0x4a5673[_0x90cdb2+0x2]);return[{},_0x5ac417?null:FixedOffsetZone['instance'](_0x34e6cf),_0x90cdb2+0x3];}function Jh(_0x49c37d,_0x10dba0){return[{},_0x49c37d[_0x10dba0]?IANAZone['create'](_0x49c37d[_0x10dba0]):null,_0x10dba0+0x1];}const tu=RegExp('^T?'+Fh['source']+'$'),eu=/^-?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 iu(_0x4102ca){const [_0x1530c4,_0x236ab3,_0x528caf,_0x1e9f46,_0x2448fd,_0x19671f,_0x59fc99,_0x4aa628,_0x40420a]=_0x4102ca,_0x1c1cfb='-'===_0x1530c4[0x0],_0x21cc7a=_0x4aa628&&'-'===_0x4aa628[0x0],_0x3166dd=(_0x144719,_0x2bc1ed=!0x1)=>void 0x0!==_0x144719&&(_0x2bc1ed||_0x144719&&_0x1c1cfb)?-_0x144719:_0x144719;return[{'years':_0x3166dd(oh(_0x236ab3)),'months':_0x3166dd(oh(_0x528caf)),'weeks':_0x3166dd(oh(_0x1e9f46)),'days':_0x3166dd(oh(_0x2448fd)),'hours':_0x3166dd(oh(_0x19671f)),'minutes':_0x3166dd(oh(_0x59fc99)),'seconds':_0x3166dd(oh(_0x4aa628),'-0'===_0x4aa628),'milliseconds':_0x3166dd(ah(_0x40420a),_0x21cc7a)}];}const su={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function nu(_0x472a1a,_0x26c854,_0x1e56af,_0x5836ec,_0x180e93,_0x5a1375,_0x580d9f){const _0x9b5f23={'year':0x2===_0x26c854['length']?gh(rh(_0x26c854)):rh(_0x26c854),'month':Eh['indexOf'](_0x1e56af)+0x1,'day':rh(_0x5836ec),'hour':rh(_0x180e93),'minute':rh(_0x5a1375)};return _0x580d9f&&(_0x9b5f23['second']=rh(_0x580d9f)),_0x472a1a&&(_0x9b5f23['weekday']=_0x472a1a['length']>0x3?Sh['indexOf'](_0x472a1a)+0x1:Ih['indexOf'](_0x472a1a)+0x1),_0x9b5f23;}const ru=/^(?:(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 ou(_0x18f097){const [,_0xa95fa7,_0x280f68,_0x217483,_0xb740d2,_0x1e1259,_0x6f4d34,_0x237cfe,_0x251a47,_0x4a1317,_0x2f1134,_0x6315d7]=_0x18f097,_0x3a8fcf=nu(_0xa95fa7,_0xb740d2,_0x217483,_0x280f68,_0x1e1259,_0x6f4d34,_0x237cfe);let _0x3094d4;return _0x3094d4=_0x251a47?su[_0x251a47]:_0x4a1317?0x0:Oh(_0x2f1134,_0x6315d7),[_0x3a8fcf,new FixedOffsetZone(_0x3094d4)];}const au=/^(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$/,cu=/^(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$/,lu=/^(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 hu(_0x96ee77){const [,_0x54b6f4,_0x1573a,_0xb1662f,_0x5a58cc,_0x2b35be,_0x481908,_0x5103f]=_0x96ee77;return[nu(_0x54b6f4,_0x5a58cc,_0xb1662f,_0x1573a,_0x2b35be,_0x481908,_0x5103f),FixedOffsetZone['utcInstance']];}function uu(_0x3f9f7d){const [,_0x166de2,_0x28aa5c,_0x457f0f,_0x426b16,_0x9cce35,_0x20c66b,_0x4f46bb]=_0x3f9f7d;return[nu(_0x166de2,_0x4f46bb,_0x28aa5c,_0x457f0f,_0x426b16,_0x9cce35,_0x20c66b),FixedOffsetZone['utcInstance']];}const du=Qh(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Gh),fu=Qh(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Gh),mu=Qh(/(\d{4})-?(\d{3})/,Gh),gu=Qh(Hh),pu=Vh(function(_0x5a015a,_0x4ea7f4){return[{'year':zh(_0x5a015a,_0x4ea7f4),'month':zh(_0x5a015a,_0x4ea7f4+0x1,0x1),'day':zh(_0x5a015a,_0x4ea7f4+0x2,0x1)},null,_0x4ea7f4+0x3];},Yh,Kh,Jh),Ou=Vh(Zh,Yh,Kh,Jh),wu=Vh(Xh,Yh,Kh,Jh),bu=Vh(Yh,Kh,Jh),yu=Vh(Yh),vu=Qh(/(\d{4})-(\d\d)-(\d\d)/,Wh),_u=Qh(qh),Eu=Vh(Yh,Kh,Jh),Tu='Invalid\x20Duration',Au={'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}},Su={'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},...Au},Iu=365.2425,Cu=30.436875,ku={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':Iu,'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':Cu,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},...Au},xu=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],Ru=xu['slice'](0x0)['reverse']();function Pu(_0x1d4205,_0x41d5f2,_0x34e661=!0x1){const _0x411566={'values':_0x34e661?_0x41d5f2['values']:{..._0x1d4205['values'],..._0x41d5f2['values']||{}},'loc':_0x1d4205['loc']['clone'](_0x41d5f2['loc']),'conversionAccuracy':_0x41d5f2['conversionAccuracy']||_0x1d4205['conversionAccuracy'],'matrix':_0x41d5f2['matrix']||_0x1d4205['matrix']};return new Duration(_0x411566);}function Mu(_0x3b373d,_0x25afdf){let _0x4081db=_0x25afdf['milliseconds']??0x0;for(const _0x237342 of Ru['slice'](0x1))_0x25afdf[_0x237342]&&(_0x4081db+=_0x25afdf[_0x237342]*_0x3b373d[_0x237342]['milliseconds']);return _0x4081db;}function Nu(_0x5ca034,_0x2a9914){const _0xe492f3=Mu(_0x5ca034,_0x2a9914)<0x0?-0x1:0x1;xu['reduceRight']((_0x30147e,_0x249e1e)=>{if(Wl(_0x2a9914[_0x249e1e]))return _0x30147e;if(_0x30147e){const _0x1e94eb=_0x2a9914[_0x30147e]*_0xe492f3,_0x1123ea=_0x5ca034[_0x249e1e][_0x30147e],_0x2cd063=Math['floor'](_0x1e94eb/_0x1123ea);_0x2a9914[_0x249e1e]+=_0x2cd063*_0xe492f3,_0x2a9914[_0x30147e]-=_0x2cd063*_0x1123ea*_0xe492f3;}return _0x249e1e;},null),xu['reduce']((_0x5d695e,_0x112e52)=>{if(Wl(_0x2a9914[_0x112e52]))return _0x5d695e;if(_0x5d695e){const _0x4c045d=_0x2a9914[_0x5d695e]%0x1;_0x2a9914[_0x5d695e]-=_0x4c045d,_0x2a9914[_0x112e52]+=_0x4c045d*_0x5ca034[_0x5d695e][_0x112e52];}return _0x112e52;},null);}class Duration{constructor(_0x56310e){const _0x7f5383='longterm'===_0x56310e['conversionAccuracy']||!0x1;let _0x565033=_0x7f5383?ku:Su;_0x56310e['matrix']&&(_0x565033=_0x56310e['matrix']),this['values']=_0x56310e['values'],this['loc']=_0x56310e['loc']||Locale['create'](),this['conversionAccuracy']=_0x7f5383?'longterm':'casual',this['invalid']=_0x56310e['invalid']||null,this['matrix']=_0x565033,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x191278,_0x169b4a){return Duration['fromObject']({'milliseconds':_0x191278},_0x169b4a);}static['fromObject'](_0x3d8582,_0x27a893={}){if(null==_0x3d8582||'object'!=typeof _0x3d8582)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x3d8582?'null':typeof _0x3d8582));return new Duration({'values':bh(_0x3d8582,Duration['normalizeUnit']),'loc':Locale['fromObject'](_0x27a893),'conversionAccuracy':_0x27a893['conversionAccuracy'],'matrix':_0x27a893['matrix']});}static['fromDurationLike'](_0x36f1fe){if(zl(_0x36f1fe))return Duration['fromMillis'](_0x36f1fe);if(Duration['isDuration'](_0x36f1fe))return _0x36f1fe;if('object'==typeof _0x36f1fe)return Duration['fromObject'](_0x36f1fe);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x36f1fe+'\x20of\x20type\x20'+typeof _0x36f1fe);}static['fromISO'](_0x2b7219,_0x3066e1){const [_0x3636d7]=function(_0x357725){return Uh(_0x357725,[eu,iu]);}(_0x2b7219);return _0x3636d7?Duration['fromObject'](_0x3636d7,_0x3066e1):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x2b7219+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0xf65b28,_0xf99253){const [_0x1cba77]=function(_0x2af6d0){return Uh(_0x2af6d0,[tu,yu]);}(_0xf65b28);return _0x1cba77?Duration['fromObject'](_0x1cba77,_0xf99253):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0xf65b28+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x1d8f2a,_0x13e837=null){if(!_0x1d8f2a)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x4090b0=_0x1d8f2a instanceof Invalid?_0x1d8f2a:new Invalid(_0x1d8f2a,_0x13e837);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x4090b0);return new Duration({'invalid':_0x4090b0});}static['normalizeUnit'](_0x24d04c){const _0x4202ff={'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'}[_0x24d04c?_0x24d04c['toLowerCase']():_0x24d04c];if(!_0x4202ff)throw new InvalidUnitError(_0x24d04c);return _0x4202ff;}static['isDuration'](_0x48b00b){return _0x48b00b&&_0x48b00b['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x5ced19,_0xe33698={}){const _0x45334b={..._0xe33698,'floor':!0x1!==_0xe33698['round']&&!0x1!==_0xe33698['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x45334b)['formatDurationFromString'](this,_0x5ced19):Tu;}['toHuman'](_0x3b7038={}){if(!this['isValid'])return Tu;const _0x1bb908=xu['map'](_0x236dc4=>{const _0x3cdb18=this['values'][_0x236dc4];return Wl(_0x3cdb18)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x3b7038,'unit':_0x236dc4['slice'](0x0,-0x1)})['format'](_0x3cdb18);})['filter'](_0x3e00b8=>_0x3e00b8);return this['loc']['listFormatter']({'type':'conjunction','style':_0x3b7038['listStyle']||'narrow',..._0x3b7038})['format'](_0x1bb908);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x32ea9c='P';return 0x0!==this['years']&&(_0x32ea9c+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x32ea9c+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x32ea9c+=this['weeks']+'W'),0x0!==this['days']&&(_0x32ea9c+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x32ea9c+='T'),0x0!==this['hours']&&(_0x32ea9c+=this['hours']+'H'),0x0!==this['minutes']&&(_0x32ea9c+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x32ea9c+=ch(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x32ea9c&&(_0x32ea9c+='T0S'),_0x32ea9c;}['toISOTime'](_0x36924b={}){if(!this['isValid'])return null;const _0x552df1=this['toMillis']();if(_0x552df1<0x0||_0x552df1>=0x5265c00)return null;return _0x36924b={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x36924b,'includeOffset':!0x1},DateTime['fromMillis'](_0x552df1,{'zone':'UTC'})['toISOTime'](_0x36924b);}['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']?Mu(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x4021b1){if(!this['isValid'])return this;const _0x526009=Duration['fromDurationLike'](_0x4021b1),_0x6446ab={};for(const _0x18e261 of xu)(eh(_0x526009['values'],_0x18e261)||eh(this['values'],_0x18e261))&&(_0x6446ab[_0x18e261]=_0x526009['get'](_0x18e261)+this['get'](_0x18e261));return Pu(this,{'values':_0x6446ab},!0x0);}['minus'](_0x4d12cb){if(!this['isValid'])return this;const _0x105620=Duration['fromDurationLike'](_0x4d12cb);return this['plus'](_0x105620['negate']());}['mapUnits'](_0x362ee9){if(!this['isValid'])return this;const _0x5b9364={};for(const _0x34b15c of Object['keys'](this['values']))_0x5b9364[_0x34b15c]=wh(_0x362ee9(this['values'][_0x34b15c],_0x34b15c));return Pu(this,{'values':_0x5b9364},!0x0);}['get'](_0x333a77){return this[Duration['normalizeUnit'](_0x333a77)];}['set'](_0x4bbcdb){if(!this['isValid'])return this;return Pu(this,{'values':{...this['values'],...bh(_0x4bbcdb,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x52607c,numberingSystem:_0x32fcee,conversionAccuracy:_0x121852,matrix:_0x4968e5}={}){return Pu(this,{'loc':this['loc']['clone']({'locale':_0x52607c,'numberingSystem':_0x32fcee}),'matrix':_0x4968e5,'conversionAccuracy':_0x121852});}['as'](_0x1161e0){return this['isValid']?this['shiftTo'](_0x1161e0)['get'](_0x1161e0):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x2b98b5=this['toObject']();return Nu(this['matrix'],_0x2b98b5),Pu(this,{'values':_0x2b98b5},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x1515a8=function(_0x3e907b){const _0x5c00cf={};for(const [_0x2cee05,_0x4d31d7]of Object['entries'](_0x3e907b))0x0!==_0x4d31d7&&(_0x5c00cf[_0x2cee05]=_0x4d31d7);return _0x5c00cf;}(this['normalize']()['shiftToAll']()['toObject']());return Pu(this,{'values':_0x1515a8},!0x0);}['shiftTo'](..._0x5dce9b){if(!this['isValid'])return this;if(0x0===_0x5dce9b['length'])return this;_0x5dce9b=_0x5dce9b['map'](_0x2edd23=>Duration['normalizeUnit'](_0x2edd23));const _0x4cb961={},_0x14c58b={},_0xe5d85c=this['toObject']();let _0x1a6274;for(const _0xdbb6c4 of xu)if(_0x5dce9b['indexOf'](_0xdbb6c4)>=0x0){_0x1a6274=_0xdbb6c4;let _0xcd6f19=0x0;for(const _0x585a17 in _0x14c58b)_0xcd6f19+=this['matrix'][_0x585a17][_0xdbb6c4]*_0x14c58b[_0x585a17],_0x14c58b[_0x585a17]=0x0;zl(_0xe5d85c[_0xdbb6c4])&&(_0xcd6f19+=_0xe5d85c[_0xdbb6c4]);const _0x2f4551=Math['trunc'](_0xcd6f19);_0x4cb961[_0xdbb6c4]=_0x2f4551,_0x14c58b[_0xdbb6c4]=(0x3e8*_0xcd6f19-0x3e8*_0x2f4551)/0x3e8;}else zl(_0xe5d85c[_0xdbb6c4])&&(_0x14c58b[_0xdbb6c4]=_0xe5d85c[_0xdbb6c4]);for(const _0x24a6ca in _0x14c58b)0x0!==_0x14c58b[_0x24a6ca]&&(_0x4cb961[_0x1a6274]+=_0x24a6ca===_0x1a6274?_0x14c58b[_0x24a6ca]:_0x14c58b[_0x24a6ca]/this['matrix'][_0x1a6274][_0x24a6ca]);return Nu(this['matrix'],_0x4cb961),Pu(this,{'values':_0x4cb961},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x21ef47={};for(const _0x258c67 of Object['keys'](this['values']))_0x21ef47[_0x258c67]=0x0===this['values'][_0x258c67]?0x0:-this['values'][_0x258c67];return Pu(this,{'values':_0x21ef47},!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'](_0x171064){if(!this['isValid']||!_0x171064['isValid'])return!0x1;if(!this['loc']['equals'](_0x171064['loc']))return!0x1;function _0x9ddbd7(_0x26d419,_0x512752){return void 0x0===_0x26d419||0x0===_0x26d419?void 0x0===_0x512752||0x0===_0x512752:_0x26d419===_0x512752;}for(const _0x5d7f47 of xu)if(!_0x9ddbd7(this['values'][_0x5d7f47],_0x171064['values'][_0x5d7f47]))return!0x1;return!0x0;}}const Lu='Invalid\x20Interval';class Interval{constructor(_0xd7a3a8){this['s']=_0xd7a3a8['start'],this['e']=_0xd7a3a8['end'],this['invalid']=_0xd7a3a8['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x382e68,_0xf97bef=null){if(!_0x382e68)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x78bad8=_0x382e68 instanceof Invalid?_0x382e68:new Invalid(_0x382e68,_0xf97bef);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x78bad8);return new Interval({'invalid':_0x78bad8});}static['fromDateTimes'](_0x388075,_0x154463){const _0x2cf4f2=Td(_0x388075),_0x287105=Td(_0x154463),_0xf3e175=function(_0x358ff8,_0x4f560e){return _0x358ff8&&_0x358ff8['isValid']?_0x4f560e&&_0x4f560e['isValid']?_0x4f560e<_0x358ff8?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x358ff8['toISO']()+'\x20and\x20end='+_0x4f560e['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x2cf4f2,_0x287105);return null==_0xf3e175?new Interval({'start':_0x2cf4f2,'end':_0x287105}):_0xf3e175;}static['after'](_0x345f59,_0x98e0c9){const _0x3cbac3=Duration['fromDurationLike'](_0x98e0c9),_0x407364=Td(_0x345f59);return Interval['fromDateTimes'](_0x407364,_0x407364['plus'](_0x3cbac3));}static['before'](_0x3042a1,_0x1e9a59){const _0xcf536e=Duration['fromDurationLike'](_0x1e9a59),_0x1d1454=Td(_0x3042a1);return Interval['fromDateTimes'](_0x1d1454['minus'](_0xcf536e),_0x1d1454);}static['fromISO'](_0x5aa80d,_0x2b4026){const [_0x4b11ae,_0x5d2c54]=(_0x5aa80d||'')['split']('/',0x2);if(_0x4b11ae&&_0x5d2c54){let _0x3d9694,_0x282762,_0x21bb3d,_0x196c65;try{_0x3d9694=DateTime['fromISO'](_0x4b11ae,_0x2b4026),_0x282762=_0x3d9694['isValid'];}catch(_0x490179){_0x282762=!0x1;}try{_0x21bb3d=DateTime['fromISO'](_0x5d2c54,_0x2b4026),_0x196c65=_0x21bb3d['isValid'];}catch(_0x11fa48){_0x196c65=!0x1;}if(_0x282762&&_0x196c65)return Interval['fromDateTimes'](_0x3d9694,_0x21bb3d);if(_0x282762){const _0x63e5e3=Duration['fromISO'](_0x5d2c54,_0x2b4026);if(_0x63e5e3['isValid'])return Interval['after'](_0x3d9694,_0x63e5e3);}else{if(_0x196c65){const _0x229f76=Duration['fromISO'](_0x4b11ae,_0x2b4026);if(_0x229f76['isValid'])return Interval['before'](_0x21bb3d,_0x229f76);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x5aa80d+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x278811){return _0x278811&&_0x278811['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'](_0x2f8a92='milliseconds'){return this['isValid']?this['toDuration'](_0x2f8a92)['get'](_0x2f8a92):NaN;}['count'](_0x4b8e3f='milliseconds',_0x51dde2){if(!this['isValid'])return NaN;const _0x4f3bcf=this['start']['startOf'](_0x4b8e3f,_0x51dde2);let _0x404a5c;return _0x404a5c=_0x51dde2?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x4f3bcf['locale']}):this['end'],_0x404a5c=_0x404a5c['startOf'](_0x4b8e3f,_0x51dde2),Math['floor'](_0x404a5c['diff'](_0x4f3bcf,_0x4b8e3f)['get'](_0x4b8e3f))+(_0x404a5c['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x3f6747){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x3f6747));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x38c16a){return!!this['isValid']&&this['s']>_0x38c16a;}['isBefore'](_0x185766){return!!this['isValid']&&this['e']<=_0x185766;}['contains'](_0xeb8185){return!!this['isValid']&&(this['s']<=_0xeb8185&&this['e']>_0xeb8185);}['set']({start:_0x5d2ed9,end:_0x503185}={}){return this['isValid']?Interval['fromDateTimes'](_0x5d2ed9||this['s'],_0x503185||this['e']):this;}['splitAt'](..._0x3cda52){if(!this['isValid'])return[];const _0x5524e6=_0x3cda52['map'](Td)['filter'](_0x273909=>this['contains'](_0x273909))['sort']((_0x452ce9,_0x29a44c)=>_0x452ce9['toMillis']()-_0x29a44c['toMillis']()),_0x2230b3=[];let {s:_0x39447f}=this,_0x5aec15=0x0;for(;_0x39447f<this['e'];){const _0x1c941c=_0x5524e6[_0x5aec15]||this['e'],_0x47e0e6=+_0x1c941c>+this['e']?this['e']:_0x1c941c;_0x2230b3['push'](Interval['fromDateTimes'](_0x39447f,_0x47e0e6)),_0x39447f=_0x47e0e6,_0x5aec15+=0x1;}return _0x2230b3;}['splitBy'](_0x5e2c53){const _0x2249be=Duration['fromDurationLike'](_0x5e2c53);if(!this['isValid']||!_0x2249be['isValid']||0x0===_0x2249be['as']('milliseconds'))return[];let _0x446a98,{s:_0x57357b}=this,_0x3e4306=0x1;const _0x3995f4=[];for(;_0x57357b<this['e'];){const _0x574d9a=this['start']['plus'](_0x2249be['mapUnits'](_0x5d8cfe=>_0x5d8cfe*_0x3e4306));_0x446a98=+_0x574d9a>+this['e']?this['e']:_0x574d9a,_0x3995f4['push'](Interval['fromDateTimes'](_0x57357b,_0x446a98)),_0x57357b=_0x446a98,_0x3e4306+=0x1;}return _0x3995f4;}['divideEqually'](_0x5b6a16){return this['isValid']?this['splitBy'](this['length']()/_0x5b6a16)['slice'](0x0,_0x5b6a16):[];}['overlaps'](_0x43fce9){return this['e']>_0x43fce9['s']&&this['s']<_0x43fce9['e'];}['abutsStart'](_0x137877){return!!this['isValid']&&+this['e']===+_0x137877['s'];}['abutsEnd'](_0x5631b0){return!!this['isValid']&&+_0x5631b0['e']===+this['s'];}['engulfs'](_0x3440be){return!!this['isValid']&&(this['s']<=_0x3440be['s']&&this['e']>=_0x3440be['e']);}['equals'](_0x521341){return!(!this['isValid']||!_0x521341['isValid'])&&(this['s']['equals'](_0x521341['s'])&&this['e']['equals'](_0x521341['e']));}['intersection'](_0x46f233){if(!this['isValid'])return this;const _0x5e4f0d=this['s']>_0x46f233['s']?this['s']:_0x46f233['s'],_0x19902d=this['e']<_0x46f233['e']?this['e']:_0x46f233['e'];return _0x5e4f0d>=_0x19902d?null:Interval['fromDateTimes'](_0x5e4f0d,_0x19902d);}['union'](_0x2de4fa){if(!this['isValid'])return this;const _0x36fe9a=this['s']<_0x2de4fa['s']?this['s']:_0x2de4fa['s'],_0x5e9031=this['e']>_0x2de4fa['e']?this['e']:_0x2de4fa['e'];return Interval['fromDateTimes'](_0x36fe9a,_0x5e9031);}static['merge'](_0x22d8d0){const [_0x41d08a,_0x13e041]=_0x22d8d0['sort']((_0x2b7df0,_0x1a8da0)=>_0x2b7df0['s']-_0x1a8da0['s'])['reduce'](([_0x1d6109,_0x247f6f],_0x119cc5)=>_0x247f6f?_0x247f6f['overlaps'](_0x119cc5)||_0x247f6f['abutsStart'](_0x119cc5)?[_0x1d6109,_0x247f6f['union'](_0x119cc5)]:[_0x1d6109['concat']([_0x247f6f]),_0x119cc5]:[_0x1d6109,_0x119cc5],[[],null]);return _0x13e041&&_0x41d08a['push'](_0x13e041),_0x41d08a;}static['xor'](_0xb954e0){let _0x53757d=null,_0x3072d0=0x0;const _0x42380e=[],_0x111455=_0xb954e0['map'](_0x4b557a=>[{'time':_0x4b557a['s'],'type':'s'},{'time':_0x4b557a['e'],'type':'e'}]),_0x418658=Array['prototype']['concat'](..._0x111455)['sort']((_0x325b34,_0x5b1893)=>_0x325b34['time']-_0x5b1893['time']);for(const _0x16c6db of _0x418658)_0x3072d0+='s'===_0x16c6db['type']?0x1:-0x1,0x1===_0x3072d0?_0x53757d=_0x16c6db['time']:(_0x53757d&&+_0x53757d!==+_0x16c6db['time']&&_0x42380e['push'](Interval['fromDateTimes'](_0x53757d,_0x16c6db['time'])),_0x53757d=null);return Interval['merge'](_0x42380e);}['difference'](..._0xb14cfd){return Interval['xor']([this]['concat'](_0xb14cfd))['map'](_0x45f802=>this['intersection'](_0x45f802))['filter'](_0x474a6f=>_0x474a6f&&!_0x474a6f['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':Lu;}[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'](_0x362dbe=Dc,_0x269d71={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x269d71),_0x362dbe)['formatInterval'](this):Lu;}['toISO'](_0x4c0228){return this['isValid']?this['s']['toISO'](_0x4c0228)+'/'+this['e']['toISO'](_0x4c0228):Lu;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():Lu;}['toISOTime'](_0xfe5b68){return this['isValid']?this['s']['toISOTime'](_0xfe5b68)+'/'+this['e']['toISOTime'](_0xfe5b68):Lu;}['toFormat'](_0x371a73,{separator:_0x35b119='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x371a73)+_0x35b119+this['e']['toFormat'](_0x371a73):Lu;}['toDuration'](_0x4da4b2,_0x270aca){return this['isValid']?this['e']['diff'](this['s'],_0x4da4b2,_0x270aca):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x46d7be){return Interval['fromDateTimes'](_0x46d7be(this['s']),_0x46d7be(this['e']));}}class Info{static['hasDST'](_0x5411d0=Settings['defaultZone']){const _0x44d53d=DateTime['now']()['setZone'](_0x5411d0)['set']({'month':0xc});return!_0x5411d0['isUniversal']&&_0x44d53d['offset']!==_0x44d53d['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x1f8143){return IANAZone['isValidZone'](_0x1f8143);}static['normalizeZone'](_0x3a4755){return vl(_0x3a4755,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x3c753f=null,locObj:_0xf618d5=null}={}){return(_0xf618d5||Locale['create'](_0x3c753f))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x2d5982=null,locObj:_0x12189e=null}={}){return(_0x12189e||Locale['create'](_0x2d5982))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x26e90b=null,locObj:_0x13d83e=null}={}){return(_0x13d83e||Locale['create'](_0x26e90b))['getWeekendDays']()['slice']();}static['months'](_0x1c5fad='long',{locale:_0x1427fa=null,numberingSystem:_0x5a1d05=null,locObj:_0x437b4c=null,outputCalendar:_0x24ee8a='gregory'}={}){return(_0x437b4c||Locale['create'](_0x1427fa,_0x5a1d05,_0x24ee8a))['months'](_0x1c5fad);}static['monthsFormat'](_0x2e8b69='long',{locale:_0x26ec0b=null,numberingSystem:_0xd9f5eb=null,locObj:_0x4868a1=null,outputCalendar:_0x3d12f7='gregory'}={}){return(_0x4868a1||Locale['create'](_0x26ec0b,_0xd9f5eb,_0x3d12f7))['months'](_0x2e8b69,!0x0);}static['weekdays'](_0x14d1cc='long',{locale:_0x2d54d2=null,numberingSystem:_0x4559e7=null,locObj:_0x32ed4d=null}={}){return(_0x32ed4d||Locale['create'](_0x2d54d2,_0x4559e7,null))['weekdays'](_0x14d1cc);}static['weekdaysFormat'](_0x555b61='long',{locale:_0x2d8fc3=null,numberingSystem:_0x19d85b=null,locObj:_0x35871d=null}={}){return(_0x35871d||Locale['create'](_0x2d8fc3,_0x19d85b,null))['weekdays'](_0x555b61,!0x0);}static['meridiems']({locale:_0x679d2=null}={}){return Locale['create'](_0x679d2)['meridiems']();}static['eras'](_0x3588c7='short',{locale:_0x3b9fca=null}={}){return Locale['create'](_0x3b9fca,null,'gregory')['eras'](_0x3588c7);}static['features'](){return{'relative':Kl(),'localeWeek':Jl()};}}function $u(_0x1649e2,_0x48f2ad){const _0x47e99a=_0x3be099=>_0x3be099['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x547efd=_0x47e99a(_0x48f2ad)-_0x47e99a(_0x1649e2);return Math['floor'](Duration['fromMillis'](_0x547efd)['as']('days'));}function Du(_0x2356cb,_0x34733e,_0xd59036,_0x162fe5){let [_0x40476b,_0x20aee9,_0x24ac94,_0x4cb9f3]=function(_0x20ce75,_0x5e867,_0x137095){const _0x16481c=[['years',(_0x46b835,_0x1cc91d)=>_0x1cc91d['year']-_0x46b835['year']],['quarters',(_0x1f7fa7,_0x97bc0a)=>_0x97bc0a['quarter']-_0x1f7fa7['quarter']+0x4*(_0x97bc0a['year']-_0x1f7fa7['year'])],['months',(_0x107980,_0x1949bb)=>_0x1949bb['month']-_0x107980['month']+0xc*(_0x1949bb['year']-_0x107980['year'])],['weeks',(_0x5e8522,_0x52f6a5)=>{const _0x3b8dc2=$u(_0x5e8522,_0x52f6a5);return(_0x3b8dc2-_0x3b8dc2%0x7)/0x7;}],['days',$u]],_0x339277={},_0x3b3811=_0x20ce75;let _0x283e63,_0x46ba5d;for(const [_0x2016bc,_0x3701b6]of _0x16481c)_0x137095['indexOf'](_0x2016bc)>=0x0&&(_0x283e63=_0x2016bc,_0x339277[_0x2016bc]=_0x3701b6(_0x20ce75,_0x5e867),_0x46ba5d=_0x3b3811['plus'](_0x339277),_0x46ba5d>_0x5e867?(_0x339277[_0x2016bc]--,(_0x20ce75=_0x3b3811['plus'](_0x339277))>_0x5e867&&(_0x46ba5d=_0x20ce75,_0x339277[_0x2016bc]--,_0x20ce75=_0x3b3811['plus'](_0x339277))):_0x20ce75=_0x46ba5d);return[_0x20ce75,_0x339277,_0x46ba5d,_0x283e63];}(_0x2356cb,_0x34733e,_0xd59036);const _0x100a87=_0x34733e-_0x40476b,_0x171db7=_0xd59036['filter'](_0x5eee71=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x5eee71)>=0x0);0x0===_0x171db7['length']&&(_0x24ac94<_0x34733e&&(_0x24ac94=_0x40476b['plus']({[_0x4cb9f3]:0x1})),_0x24ac94!==_0x40476b&&(_0x20aee9[_0x4cb9f3]=(_0x20aee9[_0x4cb9f3]||0x0)+_0x100a87/(_0x24ac94-_0x40476b)));const _0x410947=Duration['fromObject'](_0x20aee9,_0x162fe5);return _0x171db7['length']>0x0?Duration['fromMillis'](_0x100a87,_0x162fe5)['shiftTo'](..._0x171db7)['plus'](_0x410947):_0x410947;}function Qu(_0x2ebb72,_0x4fd9f8=_0x451b22=>_0x451b22){return{'regex':_0x2ebb72,'deser':([_0x5351fd])=>_0x4fd9f8(function(_0x409f07){let _0x2756a3=parseInt(_0x409f07,0xa);if(isNaN(_0x2756a3)){_0x2756a3='';for(let _0x345054=0x0;_0x345054<_0x409f07['length'];_0x345054++){const _0x5aa385=_0x409f07['charCodeAt'](_0x345054);if(-0x1!==_0x409f07[_0x345054]['search'](_l['hanidec']))_0x2756a3+=Tl['indexOf'](_0x409f07[_0x345054]);else for(const _0x2e89f8 in El){const [_0x535d81,_0x3144f7]=El[_0x2e89f8];_0x5aa385>=_0x535d81&&_0x5aa385<=_0x3144f7&&(_0x2756a3+=_0x5aa385-_0x535d81);}}return parseInt(_0x2756a3,0xa);}return _0x2756a3;}(_0x5351fd))};}const Vu='[\x20'+String['fromCharCode'](0xa0)+']',Uu=new RegExp(Vu,'g');function Bu(_0x300c79){return _0x300c79['replace'](/\./g,'\x5c.?')['replace'](Uu,Vu);}function ju(_0x224b5a){return _0x224b5a['replace'](/\./g,'')['replace'](Uu,'\x20')['toLowerCase']();}function Fu(_0x42ee0d,_0x40aa53){return null===_0x42ee0d?null:{'regex':RegExp(_0x42ee0d['map'](Bu)['join']('|')),'deser':([_0x444589])=>_0x42ee0d['findIndex'](_0x5b4b62=>ju(_0x444589)===ju(_0x5b4b62))+_0x40aa53};}function Hu(_0x3496b5,_0x42d912){return{'regex':_0x3496b5,'deser':([,_0x5aeee9,_0x3d7e66])=>Oh(_0x5aeee9,_0x3d7e66),'groups':_0x42d912};}function Gu(_0x234420){return{'regex':_0x234420,'deser':([_0x287793])=>_0x287793};}function Zu(_0x38d341){return _0x38d341['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const Xu={'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 qu=null;function Wu(_0x473f4e,_0x23bb24){return Array['prototype']['concat'](..._0x473f4e['map'](t=>function(_0x14b129,_0x38d6ff){if(_0x14b129['literal'])return _0x14b129;const _0x509010=Yu(Formatter['macroTokenToFormatOpts'](_0x14b129['val']),_0x38d6ff);return null==_0x509010||_0x509010['includes'](void 0x0)?_0x14b129:_0x509010;}(t,_0x23bb24)));}class TokenParser{constructor(_0x263a27,_0x1f0407){if(this['locale']=_0x263a27,this['format']=_0x1f0407,this['tokens']=Wu(Formatter['parseFormat'](_0x1f0407),_0x263a27),this['units']=this['tokens']['map'](t=>function(_0x34ee0c,_0x58db55){const _0x3072fb=Sl(_0x58db55),_0x584f4d=Sl(_0x58db55,'{2}'),_0x44cead=Sl(_0x58db55,'{3}'),_0x1a9c5e=Sl(_0x58db55,'{4}'),_0x170312=Sl(_0x58db55,'{6}'),_0x4b20b2=Sl(_0x58db55,'{1,2}'),_0x537646=Sl(_0x58db55,'{1,3}'),_0x3b4aed=Sl(_0x58db55,'{1,6}'),_0x327c55=Sl(_0x58db55,'{1,9}'),_0x17b891=Sl(_0x58db55,'{2,4}'),_0xc7874=Sl(_0x58db55,'{4,6}'),_0x298829=t=>({'regex':RegExp(Zu(t['val'])),'deser':([_0x26acf5])=>_0x26acf5,'literal':!0x0}),_0x29bf16=(t=>{if(_0x34ee0c['literal'])return _0x298829(t);switch(t['val']){case'G':return Fu(_0x58db55['eras']('short'),0x0);case'GG':return Fu(_0x58db55['eras']('long'),0x0);case'y':return Qu(_0x3b4aed);case'yy':case'kk':return Qu(_0x17b891,gh);case'yyyy':case'kkkk':return Qu(_0x1a9c5e);case'yyyyy':return Qu(_0xc7874);case'yyyyyy':return Qu(_0x170312);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return Qu(_0x4b20b2);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return Qu(_0x584f4d);case'MMM':return Fu(_0x58db55['months']('short',!0x0),0x1);case'MMMM':return Fu(_0x58db55['months']('long',!0x0),0x1);case'LLL':return Fu(_0x58db55['months']('short',!0x1),0x1);case'LLLL':return Fu(_0x58db55['months']('long',!0x1),0x1);case'o':case'S':return Qu(_0x537646);case'ooo':case'SSS':return Qu(_0x44cead);case'u':return Gu(_0x327c55);case'uu':return Gu(_0x4b20b2);case'uuu':case'E':case'c':return Qu(_0x3072fb);case'a':return Fu(_0x58db55['meridiems'](),0x0);case'EEE':return Fu(_0x58db55['weekdays']('short',!0x1),0x1);case'EEEE':return Fu(_0x58db55['weekdays']('long',!0x1),0x1);case'ccc':return Fu(_0x58db55['weekdays']('short',!0x0),0x1);case'cccc':return Fu(_0x58db55['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return Hu(new RegExp('([+-]'+_0x4b20b2['source']+')(?::('+_0x584f4d['source']+'))?'),0x2);case'ZZZ':return Hu(new RegExp('([+-]'+_0x4b20b2['source']+')('+_0x584f4d['source']+')?'),0x2);case'z':return Gu(/[a-z_+-/]{1,256}?/i);case'\x20':return Gu(/[^\S\n\r]/);default:return _0x298829(t);}})(_0x34ee0c)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x29bf16['token']=_0x34ee0c,_0x29bf16;}(t,_0x263a27)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x35e801,_0x1a60d1]=['^'+(_0x823919=this['units'])['map'](_0x24438a=>_0x24438a['regex'])['reduce']((_0x46d9fe,_0x351b08)=>_0x46d9fe+'('+_0x351b08['source']+')','')+'$',_0x823919];this['regex']=RegExp(_0x35e801,'i'),this['handlers']=_0x1a60d1;}var _0x823919;}['explainFromTokens'](_0x11a248){if(this['isValid']){const [_0x35e584,_0x979b57]=function(_0x5a2b44,_0x1b148a,_0x534763){const _0x3e7adc=_0x5a2b44['match'](_0x1b148a);if(_0x3e7adc){const _0xaef3ec={};let _0x321089=0x1;for(const _0xfa7bf1 in _0x534763)if(eh(_0x534763,_0xfa7bf1)){const _0x53bf07=_0x534763[_0xfa7bf1],_0x126803=_0x53bf07['groups']?_0x53bf07['groups']+0x1:0x1;!_0x53bf07['literal']&&_0x53bf07['token']&&(_0xaef3ec[_0x53bf07['token']['val'][0x0]]=_0x53bf07['deser'](_0x3e7adc['slice'](_0x321089,_0x321089+_0x126803))),_0x321089+=_0x126803;}return[_0x3e7adc,_0xaef3ec];}return[_0x3e7adc,{}];}(_0x11a248,this['regex'],this['handlers']),[_0x58e6c1,_0xa2c1d5,_0x5c4567]=_0x979b57?function(_0xaaf461){let _0x566f64,_0x24af2e=null;Wl(_0xaaf461['z'])||(_0x24af2e=IANAZone['create'](_0xaaf461['z'])),Wl(_0xaaf461['Z'])||(_0x24af2e||(_0x24af2e=new FixedOffsetZone(_0xaaf461['Z'])),_0x566f64=_0xaaf461['Z']),Wl(_0xaaf461['q'])||(_0xaaf461['M']=0x3*(_0xaaf461['q']-0x1)+0x1),Wl(_0xaaf461['h'])||(_0xaaf461['h']<0xc&&0x1===_0xaaf461['a']?_0xaaf461['h']+=0xc:0xc===_0xaaf461['h']&&0x0===_0xaaf461['a']&&(_0xaaf461['h']=0x0)),0x0===_0xaaf461['G']&&_0xaaf461['y']&&(_0xaaf461['y']=-_0xaaf461['y']),Wl(_0xaaf461['u'])||(_0xaaf461['S']=ah(_0xaaf461['u']));const _0x5cce7e=Object['keys'](_0xaaf461)['reduce']((_0x4edba3,_0x156a16)=>{const _0x160eb0=(_0x4eb7d5=>{switch(_0x4eb7d5){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;}})(_0x156a16);return _0x160eb0&&(_0x4edba3[_0x160eb0]=_0xaaf461[_0x156a16]),_0x4edba3;},{});return[_0x5cce7e,_0x24af2e,_0x566f64];}(_0x979b57):[null,null,void 0x0];if(eh(_0x979b57,'a')&&eh(_0x979b57,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x11a248,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x35e584,'matches':_0x979b57,'result':_0x58e6c1,'zone':_0xa2c1d5,'specificOffset':_0x5c4567};}return{'input':_0x11a248,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function zu(_0x56b1db,_0x2abda1,_0x121e07){return new TokenParser(_0x56b1db,_0x121e07)['explainFromTokens'](_0x2abda1);}function Yu(_0x19a5aa,_0x75dcdc){if(!_0x19a5aa)return null;const _0x17e33a=Formatter['create'](_0x75dcdc,_0x19a5aa)['dtFormatter']((qu||(qu=DateTime['fromMillis'](0x16a2e5618e3)),qu)),_0x20728f=_0x17e33a['formatToParts'](),_0x5edc8e=_0x17e33a['resolvedOptions']();return _0x20728f['map'](_0x3e957d=>function(_0x56b7bb,_0x49373f,_0x3d3bef){const {type:_0x1e99c3,value:_0x2c7efa}=_0x56b7bb;if('literal'===_0x1e99c3){const _0x9b320a=/^\s+$/['test'](_0x2c7efa);return{'literal':!_0x9b320a,'val':_0x9b320a?'\x20':_0x2c7efa};}const _0xd7da53=_0x49373f[_0x1e99c3];let _0xf6a169=_0x1e99c3;'hour'===_0x1e99c3&&(_0xf6a169=null!=_0x49373f['hour12']?_0x49373f['hour12']?'hour12':'hour24':null!=_0x49373f['hourCycle']?'h11'===_0x49373f['hourCycle']||'h12'===_0x49373f['hourCycle']?'hour12':'hour24':_0x3d3bef['hour12']?'hour12':'hour24');let _0x1fd8b2=Xu[_0xf6a169];if('object'==typeof _0x1fd8b2&&(_0x1fd8b2=_0x1fd8b2[_0xd7da53]),_0x1fd8b2)return{'literal':!0x1,'val':_0x1fd8b2};}(_0x3e957d,_0x19a5aa,_0x5edc8e));}const Ku='Invalid\x20DateTime',Ju=0x1eb208c2dc0000;function td(_0x304fdf){return new Invalid('unsupported\x20zone','the\x20zone\x20\x22'+_0x304fdf['name']+'\x22\x20is\x20not\x20supported');}function ed(_0x29a7b6){return null===_0x29a7b6['weekData']&&(_0x29a7b6['weekData']=jl(_0x29a7b6['c'])),_0x29a7b6['weekData'];}function id(_0x104c90){return null===_0x104c90['localWeekData']&&(_0x104c90['localWeekData']=jl(_0x104c90['c'],_0x104c90['loc']['getMinDaysInFirstWeek'](),_0x104c90['loc']['getStartOfWeek']())),_0x104c90['localWeekData'];}function sd(_0x1021ba,_0x45fcb9){const _0x44fc95={'ts':_0x1021ba['ts'],'zone':_0x1021ba['zone'],'c':_0x1021ba['c'],'o':_0x1021ba['o'],'loc':_0x1021ba['loc'],'invalid':_0x1021ba['invalid']};return new DateTime({..._0x44fc95,..._0x45fcb9,'old':_0x44fc95});}function nd(_0x2e3e76,_0x46b3af,_0xe96f90){let _0x48ddf1=_0x2e3e76-0x3c*_0x46b3af*0x3e8;const _0x18c119=_0xe96f90['offset'](_0x48ddf1);if(_0x46b3af===_0x18c119)return[_0x48ddf1,_0x46b3af];_0x48ddf1-=0x3c*(_0x18c119-_0x46b3af)*0x3e8;const _0x2a09e7=_0xe96f90['offset'](_0x48ddf1);return _0x18c119===_0x2a09e7?[_0x48ddf1,_0x18c119]:[_0x2e3e76-0x3c*Math['min'](_0x18c119,_0x2a09e7)*0x3e8,Math['max'](_0x18c119,_0x2a09e7)];}function rd(_0x8b2f9f,_0x344d38){const _0x3e8486=new Date(_0x8b2f9f+=0x3c*_0x344d38*0x3e8);return{'year':_0x3e8486['getUTCFullYear'](),'month':_0x3e8486['getUTCMonth']()+0x1,'day':_0x3e8486['getUTCDate'](),'hour':_0x3e8486['getUTCHours'](),'minute':_0x3e8486['getUTCMinutes'](),'second':_0x3e8486['getUTCSeconds'](),'millisecond':_0x3e8486['getUTCMilliseconds']()};}function od(_0x1e2e4c,_0x342f88,_0x5979f5){return nd(dh(_0x1e2e4c),_0x342f88,_0x5979f5);}function ad(_0x27077a,_0x3e2d99){const _0x4c47fa=_0x27077a['o'],_0x5eddfd=_0x27077a['c']['year']+Math['trunc'](_0x3e2d99['years']),_0x45ddb0=_0x27077a['c']['month']+Math['trunc'](_0x3e2d99['months'])+0x3*Math['trunc'](_0x3e2d99['quarters']),_0x1dad56={..._0x27077a['c'],'year':_0x5eddfd,'month':_0x45ddb0,'day':Math['min'](_0x27077a['c']['day'],uh(_0x5eddfd,_0x45ddb0))+Math['trunc'](_0x3e2d99['days'])+0x7*Math['trunc'](_0x3e2d99['weeks'])},_0x1bb712=Duration['fromObject']({'years':_0x3e2d99['years']-Math['trunc'](_0x3e2d99['years']),'quarters':_0x3e2d99['quarters']-Math['trunc'](_0x3e2d99['quarters']),'months':_0x3e2d99['months']-Math['trunc'](_0x3e2d99['months']),'weeks':_0x3e2d99['weeks']-Math['trunc'](_0x3e2d99['weeks']),'days':_0x3e2d99['days']-Math['trunc'](_0x3e2d99['days']),'hours':_0x3e2d99['hours'],'minutes':_0x3e2d99['minutes'],'seconds':_0x3e2d99['seconds'],'milliseconds':_0x3e2d99['milliseconds']})['as']('milliseconds'),_0x172c44=dh(_0x1dad56);let [_0x1b150d,_0x58640c]=nd(_0x172c44,_0x4c47fa,_0x27077a['zone']);return 0x0!==_0x1bb712&&(_0x1b150d+=_0x1bb712,_0x58640c=_0x27077a['zone']['offset'](_0x1b150d)),{'ts':_0x1b150d,'o':_0x58640c};}function cd(_0x1d8a80,_0x2ee7c6,_0x20d284,_0x3ea76e,_0x1713b7,_0xb8cd46){const {setZone:_0x1adbf9,zone:_0x3908a0}=_0x20d284;if(_0x1d8a80&&0x0!==Object['keys'](_0x1d8a80)['length']||_0x2ee7c6){const _0x2efe69=_0x2ee7c6||_0x3908a0,_0x34d261=DateTime['fromObject'](_0x1d8a80,{..._0x20d284,'zone':_0x2efe69,'specificOffset':_0xb8cd46});return _0x1adbf9?_0x34d261:_0x34d261['setZone'](_0x3908a0);}return DateTime['invalid'](new Invalid('unparsable','the\x20input\x20\x22'+_0x1713b7+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x3ea76e));}function ld(_0x442ed8,_0x4b47df,_0x3df61f=!0x0){return _0x442ed8['isValid']?Formatter['create'](Locale['create']('en-US'),{'allowZ':_0x3df61f,'forceSimple':!0x0})['formatDateTimeFromString'](_0x442ed8,_0x4b47df):null;}function hd(_0x1c93f7,_0x1c625f){const _0x471187=_0x1c93f7['c']['year']>0x270f||_0x1c93f7['c']['year']<0x0;let _0x1c8b0b='';return _0x471187&&_0x1c93f7['c']['year']>=0x0&&(_0x1c8b0b+='+'),_0x1c8b0b+=nh(_0x1c93f7['c']['year'],_0x471187?0x6:0x4),_0x1c625f?(_0x1c8b0b+='-',_0x1c8b0b+=nh(_0x1c93f7['c']['month']),_0x1c8b0b+='-',_0x1c8b0b+=nh(_0x1c93f7['c']['day'])):(_0x1c8b0b+=nh(_0x1c93f7['c']['month']),_0x1c8b0b+=nh(_0x1c93f7['c']['day'])),_0x1c8b0b;}function ud(_0x466406,_0x4717ac,_0x16b746,_0xb1ffc8,_0x5d0c41,_0x31e749){let _0x4bb553=nh(_0x466406['c']['hour']);return _0x4717ac?(_0x4bb553+=':',_0x4bb553+=nh(_0x466406['c']['minute']),0x0===_0x466406['c']['millisecond']&&0x0===_0x466406['c']['second']&&_0x16b746||(_0x4bb553+=':')):_0x4bb553+=nh(_0x466406['c']['minute']),0x0===_0x466406['c']['millisecond']&&0x0===_0x466406['c']['second']&&_0x16b746||(_0x4bb553+=nh(_0x466406['c']['second']),0x0===_0x466406['c']['millisecond']&&_0xb1ffc8||(_0x4bb553+='.',_0x4bb553+=nh(_0x466406['c']['millisecond'],0x3))),_0x5d0c41&&(_0x466406['isOffsetFixed']&&0x0===_0x466406['offset']&&!_0x31e749?_0x4bb553+='Z':_0x466406['o']<0x0?(_0x4bb553+='-',_0x4bb553+=nh(Math['trunc'](-_0x466406['o']/0x3c)),_0x4bb553+=':',_0x4bb553+=nh(Math['trunc'](-_0x466406['o']%0x3c))):(_0x4bb553+='+',_0x4bb553+=nh(Math['trunc'](_0x466406['o']/0x3c)),_0x4bb553+=':',_0x4bb553+=nh(Math['trunc'](_0x466406['o']%0x3c)))),_0x31e749&&(_0x4bb553+='['+_0x466406['zone']['ianaName']+']'),_0x4bb553;}const dd={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},fd={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},md={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},gd=['year','month','day','hour','minute','second','millisecond'],pd=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],Od=['year','ordinal','hour','minute','second','millisecond'];function wd(_0x15873d){switch(_0x15873d['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x10ec2d){const _0x20ca0f={'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'}[_0x10ec2d['toLowerCase']()];if(!_0x20ca0f)throw new InvalidUnitError(_0x10ec2d);return _0x20ca0f;}(_0x15873d);}}function bd(_0x178454,_0x208d24){const _0x5cba64=vl(_0x208d24['zone'],Settings['defaultZone']);if(!_0x5cba64['isValid'])return DateTime['invalid'](td(_0x5cba64));const _0x307253=Locale['fromObject'](_0x208d24);let _0x306763,_0x37f60c;if(Wl(_0x178454['year']))_0x306763=Settings['now']();else{for(const _0x5f57ef of gd)Wl(_0x178454[_0x5f57ef])&&(_0x178454[_0x5f57ef]=dd[_0x5f57ef]);const _0x31dd55=Xl(_0x178454)||ql(_0x178454);if(_0x31dd55)return DateTime['invalid'](_0x31dd55);const _0x416a8f=function(_0x5c3e43){if(void 0x0===_d&&(_d=Settings['now']()),'iana'!==_0x5c3e43['type'])return _0x5c3e43['offset'](_d);const _0x2ee982=_0x5c3e43['name'];let _0x1e0eb1=Ed['get'](_0x2ee982);return void 0x0===_0x1e0eb1&&(_0x1e0eb1=_0x5c3e43['offset'](_d),Ed['set'](_0x2ee982,_0x1e0eb1)),_0x1e0eb1;}(_0x5cba64);[_0x306763,_0x37f60c]=od(_0x178454,_0x416a8f,_0x5cba64);}return new DateTime({'ts':_0x306763,'zone':_0x5cba64,'loc':_0x307253,'o':_0x37f60c});}function yd(_0x3adbb2,_0x5818df,_0x34ef49){const _0x3ca2da=!!Wl(_0x34ef49['round'])||_0x34ef49['round'],_0x36bf6b=(_0x2d0768,_0x252e1d)=>{return _0x2d0768=ch(_0x2d0768,_0x3ca2da||_0x34ef49['calendary']?0x0:0x2,!0x0),_0x5818df['loc']['clone'](_0x34ef49)['relFormatter'](_0x34ef49)['format'](_0x2d0768,_0x252e1d);},_0x559934=_0x53b16e=>_0x34ef49['calendary']?_0x5818df['hasSame'](_0x3adbb2,_0x53b16e)?0x0:_0x5818df['startOf'](_0x53b16e)['diff'](_0x3adbb2['startOf'](_0x53b16e),_0x53b16e)['get'](_0x53b16e):_0x5818df['diff'](_0x3adbb2,_0x53b16e)['get'](_0x53b16e);if(_0x34ef49['unit'])return _0x36bf6b(_0x559934(_0x34ef49['unit']),_0x34ef49['unit']);for(const _0x20334b of _0x34ef49['units']){const _0x19190f=_0x559934(_0x20334b);if(Math['abs'](_0x19190f)>=0x1)return _0x36bf6b(_0x19190f,_0x20334b);}return _0x36bf6b(_0x3adbb2>_0x5818df?-0x0:0x0,_0x34ef49['units'][_0x34ef49['units']['length']-0x1]);}function vd(_0xf4b447){let _0x241463,_0xf5e27e={};return _0xf4b447['length']>0x0&&'object'==typeof _0xf4b447[_0xf4b447['length']-0x1]?(_0xf5e27e=_0xf4b447[_0xf4b447['length']-0x1],_0x241463=Array['from'](_0xf4b447)['slice'](0x0,_0xf4b447['length']-0x1)):_0x241463=Array['from'](_0xf4b447),[_0xf5e27e,_0x241463];}let _d;const Ed=new Map();class DateTime{constructor(_0x45d1d0){const _0x3a2de6=_0x45d1d0['zone']||Settings['defaultZone'];let _0x1d3546=_0x45d1d0['invalid']||(Number['isNaN'](_0x45d1d0['ts'])?new Invalid('invalid\x20input'):null)||(_0x3a2de6['isValid']?null:td(_0x3a2de6));this['ts']=Wl(_0x45d1d0['ts'])?Settings['now']():_0x45d1d0['ts'];let _0xc3b1d0=null,_0x2d855f=null;if(!_0x1d3546){if(_0x45d1d0['old']&&_0x45d1d0['old']['ts']===this['ts']&&_0x45d1d0['old']['zone']['equals'](_0x3a2de6))[_0xc3b1d0,_0x2d855f]=[_0x45d1d0['old']['c'],_0x45d1d0['old']['o']];else{const _0x1f2893=zl(_0x45d1d0['o'])&&!_0x45d1d0['old']?_0x45d1d0['o']:_0x3a2de6['offset'](this['ts']);_0xc3b1d0=rd(this['ts'],_0x1f2893),_0x1d3546=Number['isNaN'](_0xc3b1d0['year'])?new Invalid('invalid\x20input'):null,_0xc3b1d0=_0x1d3546?null:_0xc3b1d0,_0x2d855f=_0x1d3546?null:_0x1f2893;}}this['_zone']=_0x3a2de6,this['loc']=_0x45d1d0['loc']||Locale['create'](),this['invalid']=_0x1d3546,this['weekData']=null,this['localWeekData']=null,this['c']=_0xc3b1d0,this['o']=_0x2d855f,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x481de1,_0x68f02f]=vd(arguments),[_0x31d5dc,_0xee5b24,_0x591938,_0x4d993a,_0x4a4e25,_0x336b5e,_0x152ca2]=_0x68f02f;return bd({'year':_0x31d5dc,'month':_0xee5b24,'day':_0x591938,'hour':_0x4d993a,'minute':_0x4a4e25,'second':_0x336b5e,'millisecond':_0x152ca2},_0x481de1);}static['utc'](){const [_0xe741bd,_0x2c1cf5]=vd(arguments),[_0x51ce04,_0x12c471,_0x23aa12,_0x25b1a1,_0x34c93a,_0x6cd42e,_0x10478a]=_0x2c1cf5;return _0xe741bd['zone']=FixedOffsetZone['utcInstance'],bd({'year':_0x51ce04,'month':_0x12c471,'day':_0x23aa12,'hour':_0x25b1a1,'minute':_0x34c93a,'second':_0x6cd42e,'millisecond':_0x10478a},_0xe741bd);}static['fromJSDate'](_0x56799f,_0x2ad9c4={}){const _0x8a7ce9=(_0x81a9d2=_0x56799f,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x81a9d2)?_0x56799f['valueOf']():NaN);var _0x81a9d2;if(Number['isNaN'](_0x8a7ce9))return DateTime['invalid']('invalid\x20input');const _0x37a4cd=vl(_0x2ad9c4['zone'],Settings['defaultZone']);return _0x37a4cd['isValid']?new DateTime({'ts':_0x8a7ce9,'zone':_0x37a4cd,'loc':Locale['fromObject'](_0x2ad9c4)}):DateTime['invalid'](td(_0x37a4cd));}static['fromMillis'](_0x493288,_0x79f27d={}){if(zl(_0x493288))return _0x493288<-Ju||_0x493288>Ju?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x493288,'zone':vl(_0x79f27d['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x79f27d)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x493288+'\x20with\x20value\x20'+_0x493288);}static['fromSeconds'](_0x2e8672,_0x251f65={}){if(zl(_0x2e8672))return new DateTime({'ts':0x3e8*_0x2e8672,'zone':vl(_0x251f65['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x251f65)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x3f8a31,_0x4d8717={}){_0x3f8a31=_0x3f8a31||{};const _0x1d359c=vl(_0x4d8717['zone'],Settings['defaultZone']);if(!_0x1d359c['isValid'])return DateTime['invalid'](td(_0x1d359c));const _0x25e466=Locale['fromObject'](_0x4d8717),_0x139ff7=bh(_0x3f8a31,wd),{minDaysInFirstWeek:_0x24325e,startOfWeek:_0x14c411}=Zl(_0x139ff7,_0x25e466),_0x637fa6=Settings['now'](),_0x150aad=Wl(_0x4d8717['specificOffset'])?_0x1d359c['offset'](_0x637fa6):_0x4d8717['specificOffset'],_0x412f71=!Wl(_0x139ff7['ordinal']),_0x5203c4=!Wl(_0x139ff7['year']),_0xdbb15c=!Wl(_0x139ff7['month'])||!Wl(_0x139ff7['day']),_0x497d0b=_0x5203c4||_0xdbb15c,_0x4ba909=_0x139ff7['weekYear']||_0x139ff7['weekNumber'];if((_0x497d0b||_0x412f71)&&_0x4ba909)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0xdbb15c&&_0x412f71)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x2328d1=_0x4ba909||_0x139ff7['weekday']&&!_0x497d0b;let _0x40fdef,_0x1e87c0,_0x57beec=rd(_0x637fa6,_0x150aad);_0x2328d1?(_0x40fdef=pd,_0x1e87c0=fd,_0x57beec=jl(_0x57beec,_0x24325e,_0x14c411)):_0x412f71?(_0x40fdef=Od,_0x1e87c0=md,_0x57beec=Hl(_0x57beec)):(_0x40fdef=gd,_0x1e87c0=dd);let _0x3e7d5f=!0x1;for(const _0x2a32bb of _0x40fdef){Wl(_0x139ff7[_0x2a32bb])?_0x139ff7[_0x2a32bb]=_0x3e7d5f?_0x1e87c0[_0x2a32bb]:_0x57beec[_0x2a32bb]:_0x3e7d5f=!0x0;}const _0x130c3a=_0x2328d1?function(_0x44a38e,_0x1da585=0x4,_0x1bd800=0x1){const _0x301d91=Yl(_0x44a38e['weekYear']),_0x3a0357=sh(_0x44a38e['weekNumber'],0x1,mh(_0x44a38e['weekYear'],_0x1da585,_0x1bd800)),_0x52af61=sh(_0x44a38e['weekday'],0x1,0x7);return _0x301d91?_0x3a0357?!_0x52af61&&Dl('weekday',_0x44a38e['weekday']):Dl('week',_0x44a38e['weekNumber']):Dl('weekYear',_0x44a38e['weekYear']);}(_0x139ff7,_0x24325e,_0x14c411):_0x412f71?function(_0x311626){const _0x2eb64a=Yl(_0x311626['year']),_0xd09626=sh(_0x311626['ordinal'],0x1,hh(_0x311626['year']));return _0x2eb64a?!_0xd09626&&Dl('ordinal',_0x311626['ordinal']):Dl('year',_0x311626['year']);}(_0x139ff7):Xl(_0x139ff7),_0x5d26dd=_0x130c3a||ql(_0x139ff7);if(_0x5d26dd)return DateTime['invalid'](_0x5d26dd);const _0x5496dd=_0x2328d1?Fl(_0x139ff7,_0x24325e,_0x14c411):_0x412f71?Gl(_0x139ff7):_0x139ff7,[_0x7e8657,_0x43e5e7]=od(_0x5496dd,_0x150aad,_0x1d359c),_0x470d2d=new DateTime({'ts':_0x7e8657,'zone':_0x1d359c,'o':_0x43e5e7,'loc':_0x25e466});return _0x139ff7['weekday']&&_0x497d0b&&_0x3f8a31['weekday']!==_0x470d2d['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x139ff7['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x470d2d['toISO']()):_0x470d2d['isValid']?_0x470d2d:DateTime['invalid'](_0x470d2d['invalid']);}static['fromISO'](_0x6607ba,_0x25aff0={}){const [_0x596161,_0x37e339]=function(_0x4890d3){return Uh(_0x4890d3,[du,pu],[fu,Ou],[mu,wu],[gu,bu]);}(_0x6607ba);return cd(_0x596161,_0x37e339,_0x25aff0,'ISO\x208601',_0x6607ba);}static['fromRFC2822'](_0x24213f,_0x391f8c={}){const [_0x1c0e76,_0x298df8]=function(_0x20ed1d){return Uh(function(_0x1f48ec){return _0x1f48ec['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x20ed1d),[ru,ou]);}(_0x24213f);return cd(_0x1c0e76,_0x298df8,_0x391f8c,'RFC\x202822',_0x24213f);}static['fromHTTP'](_0x58fcf7,_0x57e7d9={}){const [_0x4a9b7c,_0x138d9b]=function(_0x315249){return Uh(_0x315249,[au,hu],[cu,hu],[lu,uu]);}(_0x58fcf7);return cd(_0x4a9b7c,_0x138d9b,_0x57e7d9,'HTTP',_0x57e7d9);}static['fromFormat'](_0x308aac,_0x5c138f,_0x5abb97={}){if(Wl(_0x308aac)||Wl(_0x5c138f))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x147c78=null,numberingSystem:_0x5c5e10=null}=_0x5abb97,_0x29186e=Locale['fromOpts']({'locale':_0x147c78,'numberingSystem':_0x5c5e10,'defaultToEN':!0x0}),[_0x5f3b83,_0x3e4354,_0x3c1300,_0xaa5b6a]=function(_0x21ea3e,_0x17124f,_0x45ffe2){const {result:_0x3c9e37,zone:_0x407374,specificOffset:_0x2274ca,invalidReason:_0x564f3e}=zu(_0x21ea3e,_0x17124f,_0x45ffe2);return[_0x3c9e37,_0x407374,_0x2274ca,_0x564f3e];}(_0x29186e,_0x308aac,_0x5c138f);return _0xaa5b6a?DateTime['invalid'](_0xaa5b6a):cd(_0x5f3b83,_0x3e4354,_0x5abb97,'format\x20'+_0x5c138f,_0x308aac,_0x3c1300);}static['fromString'](_0x456329,_0x49633d,_0x29e259={}){return DateTime['fromFormat'](_0x456329,_0x49633d,_0x29e259);}static['fromSQL'](_0x53601b,_0x27120c={}){const [_0x42bcf8,_0x18af3f]=function(_0x586c94){return Uh(_0x586c94,[vu,pu],[_u,Eu]);}(_0x53601b);return cd(_0x42bcf8,_0x18af3f,_0x27120c,'SQL',_0x53601b);}static['invalid'](_0x24f4ec,_0x266658=null){if(!_0x24f4ec)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x4972f4=_0x24f4ec instanceof Invalid?_0x24f4ec:new Invalid(_0x24f4ec,_0x266658);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x4972f4);return new DateTime({'invalid':_0x4972f4});}static['isDateTime'](_0x516a0e){return _0x516a0e&&_0x516a0e['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0xe2d507,_0x55e120={}){const _0x3c3317=Yu(_0xe2d507,Locale['fromObject'](_0x55e120));return _0x3c3317?_0x3c3317['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x57864b,_0x7d8f30={}){return Wu(Formatter['parseFormat'](_0x57864b),Locale['fromObject'](_0x7d8f30))['map'](t=>t['val'])['join']('');}static['resetCache'](){_d=void 0x0,Ed['clear']();}['get'](_0x5305c5){return this[_0x5305c5];}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']?ed(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?ed(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?ed(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?id(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?id(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?id(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?Hl(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 _0x34e841=0x5265c00,_0x500583=0xea60,_0x4ac59c=dh(this['c']),_0x155053=this['zone']['offset'](_0x4ac59c-_0x34e841),_0x301269=this['zone']['offset'](_0x4ac59c+_0x34e841),_0x57c34c=this['zone']['offset'](_0x4ac59c-_0x155053*_0x500583),_0x1515db=this['zone']['offset'](_0x4ac59c-_0x301269*_0x500583);if(_0x57c34c===_0x1515db)return[this];const _0x51938b=_0x4ac59c-_0x57c34c*_0x500583,_0x1bb561=_0x4ac59c-_0x1515db*_0x500583,_0x29e8de=rd(_0x51938b,_0x57c34c),_0x27dd2f=rd(_0x1bb561,_0x1515db);return _0x29e8de['hour']===_0x27dd2f['hour']&&_0x29e8de['minute']===_0x27dd2f['minute']&&_0x29e8de['second']===_0x27dd2f['second']&&_0x29e8de['millisecond']===_0x27dd2f['millisecond']?[sd(this,{'ts':_0x51938b}),sd(this,{'ts':_0x1bb561})]:[this];}get['isInLeapYear'](){return lh(this['year']);}get['daysInMonth'](){return uh(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?hh(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?mh(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?mh(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x2da97b={}){const {locale:_0x39e59f,numberingSystem:_0x3166c5,calendar:_0x41a144}=Formatter['create'](this['loc']['clone'](_0x2da97b),_0x2da97b)['resolvedOptions'](this);return{'locale':_0x39e59f,'numberingSystem':_0x3166c5,'outputCalendar':_0x41a144};}['toUTC'](_0x368b97=0x0,_0x386a86={}){return this['setZone'](FixedOffsetZone['instance'](_0x368b97),_0x386a86);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x3127d9,{keepLocalTime:_0x231314=!0x1,keepCalendarTime:_0x533ab3=!0x1}={}){if((_0x3127d9=vl(_0x3127d9,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x3127d9['isValid']){let _0x59275a=this['ts'];if(_0x231314||_0x533ab3){const _0x3e0668=_0x3127d9['offset'](this['ts']),_0x208714=this['toObject']();[_0x59275a]=od(_0x208714,_0x3e0668,_0x3127d9);}return sd(this,{'ts':_0x59275a,'zone':_0x3127d9});}return DateTime['invalid'](td(_0x3127d9));}['reconfigure']({locale:_0x429d63,numberingSystem:_0x551dce,outputCalendar:_0x16e6d1}={}){return sd(this,{'loc':this['loc']['clone']({'locale':_0x429d63,'numberingSystem':_0x551dce,'outputCalendar':_0x16e6d1})});}['setLocale'](_0x29bc95){return this['reconfigure']({'locale':_0x29bc95});}['set'](_0x47cb2b){if(!this['isValid'])return this;const _0x5a9760=bh(_0x47cb2b,wd),{minDaysInFirstWeek:_0x1fee67,startOfWeek:_0x53e0fe}=Zl(_0x5a9760,this['loc']),_0x216598=!Wl(_0x5a9760['weekYear'])||!Wl(_0x5a9760['weekNumber'])||!Wl(_0x5a9760['weekday']),_0x3772ef=!Wl(_0x5a9760['ordinal']),_0x3e93fa=!Wl(_0x5a9760['year']),_0x2a8b6e=!Wl(_0x5a9760['month'])||!Wl(_0x5a9760['day']),_0x625825=_0x3e93fa||_0x2a8b6e,_0xbdd2d9=_0x5a9760['weekYear']||_0x5a9760['weekNumber'];if((_0x625825||_0x3772ef)&&_0xbdd2d9)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x2a8b6e&&_0x3772ef)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x2719a6;_0x216598?_0x2719a6=Fl({...jl(this['c'],_0x1fee67,_0x53e0fe),..._0x5a9760},_0x1fee67,_0x53e0fe):Wl(_0x5a9760['ordinal'])?(_0x2719a6={...this['toObject'](),..._0x5a9760},Wl(_0x5a9760['day'])&&(_0x2719a6['day']=Math['min'](uh(_0x2719a6['year'],_0x2719a6['month']),_0x2719a6['day']))):_0x2719a6=Gl({...Hl(this['c']),..._0x5a9760});const [_0x5824ab,_0x5b41a4]=od(_0x2719a6,this['o'],this['zone']);return sd(this,{'ts':_0x5824ab,'o':_0x5b41a4});}['plus'](_0x2e07ce){if(!this['isValid'])return this;return sd(this,ad(this,Duration['fromDurationLike'](_0x2e07ce)));}['minus'](_0x5310ca){if(!this['isValid'])return this;return sd(this,ad(this,Duration['fromDurationLike'](_0x5310ca)['negate']()));}['startOf'](_0x460790,{useLocaleWeeks:_0x395b61=!0x1}={}){if(!this['isValid'])return this;const _0x3c80bc={},_0x6e88ef=Duration['normalizeUnit'](_0x460790);switch(_0x6e88ef){case'years':_0x3c80bc['month']=0x1;case'quarters':case'months':_0x3c80bc['day']=0x1;case'weeks':case'days':_0x3c80bc['hour']=0x0;case'hours':_0x3c80bc['minute']=0x0;case'minutes':_0x3c80bc['second']=0x0;case'seconds':_0x3c80bc['millisecond']=0x0;}if('weeks'===_0x6e88ef){if(_0x395b61){const _0x556232=this['loc']['getStartOfWeek'](),{weekday:_0x25ac9f}=this;_0x25ac9f<_0x556232&&(_0x3c80bc['weekNumber']=this['weekNumber']-0x1),_0x3c80bc['weekday']=_0x556232;}else _0x3c80bc['weekday']=0x1;}if('quarters'===_0x6e88ef){const _0x3910aa=Math['ceil'](this['month']/0x3);_0x3c80bc['month']=0x3*(_0x3910aa-0x1)+0x1;}return this['set'](_0x3c80bc);}['endOf'](_0x51a269,_0x535ea4){return this['isValid']?this['plus']({[_0x51a269]:0x1})['startOf'](_0x51a269,_0x535ea4)['minus'](0x1):this;}['toFormat'](_0x528b34,_0x5a68e3={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x5a68e3))['formatDateTimeFromString'](this,_0x528b34):Ku;}['toLocaleString'](_0x12186f=Dc,_0x1c9ef1={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x1c9ef1),_0x12186f)['formatDateTime'](this):Ku;}['toLocaleParts'](_0x17d522={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x17d522),_0x17d522)['formatDateTimeParts'](this):[];}['toISO']({format:_0x1fb879='extended',suppressSeconds:_0xb2156=!0x1,suppressMilliseconds:_0x264807=!0x1,includeOffset:_0x61317=!0x0,extendedZone:_0x5792e8=!0x1}={}){if(!this['isValid'])return null;const _0x3013a0='extended'===_0x1fb879;let _0x9935ce=hd(this,_0x3013a0);return _0x9935ce+='T',_0x9935ce+=ud(this,_0x3013a0,_0xb2156,_0x264807,_0x61317,_0x5792e8),_0x9935ce;}['toISODate']({format:_0x192290='extended'}={}){return this['isValid']?hd(this,'extended'===_0x192290):null;}['toISOWeekDate'](){return ld(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x34f516=!0x1,suppressSeconds:_0x56cacc=!0x1,includeOffset:_0x27d815=!0x0,includePrefix:_0x5e936e=!0x1,extendedZone:_0x2d8bda=!0x1,format:_0x52cf48='extended'}={}){if(!this['isValid'])return null;return(_0x5e936e?'T':'')+ud(this,'extended'===_0x52cf48,_0x56cacc,_0x34f516,_0x27d815,_0x2d8bda);}['toRFC2822'](){return ld(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return ld(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?hd(this,!0x0):null;}['toSQLTime']({includeOffset:_0x4200a4=!0x0,includeZone:_0x1c0735=!0x1,includeOffsetSpace:_0x15384e=!0x0}={}){let _0x37c084='HH:mm:ss.SSS';return(_0x1c0735||_0x4200a4)&&(_0x15384e&&(_0x37c084+='\x20'),_0x1c0735?_0x37c084+='z':_0x4200a4&&(_0x37c084+='ZZ')),ld(this,_0x37c084,!0x0);}['toSQL'](_0x5f10c8={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x5f10c8):null;}['toString'](){return this['isValid']?this['toISO']():Ku;}[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'](_0x5e4c38={}){if(!this['isValid'])return{};const _0x1d0556={...this['c']};return _0x5e4c38['includeConfig']&&(_0x1d0556['outputCalendar']=this['outputCalendar'],_0x1d0556['numberingSystem']=this['loc']['numberingSystem'],_0x1d0556['locale']=this['loc']['locale']),_0x1d0556;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x31fe27,_0x41a039='milliseconds',_0x18e122={}){if(!this['isValid']||!_0x31fe27['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x715d62={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x18e122},_0x2ea89e=(_0x1b8695=_0x41a039,Array['isArray'](_0x1b8695)?_0x1b8695:[_0x1b8695])['map'](Duration['normalizeUnit']),_0x30e149=_0x31fe27['valueOf']()>this['valueOf'](),_0x1c7858=Du(_0x30e149?this:_0x31fe27,_0x30e149?_0x31fe27:this,_0x2ea89e,_0x715d62);var _0x1b8695;return _0x30e149?_0x1c7858['negate']():_0x1c7858;}['diffNow'](_0x4c798f='milliseconds',_0xcb12e1={}){return this['diff'](DateTime['now'](),_0x4c798f,_0xcb12e1);}['until'](_0x33b8a7){return this['isValid']?Interval['fromDateTimes'](this,_0x33b8a7):this;}['hasSame'](_0x3518c0,_0x59b6c5,_0x52cf6f){if(!this['isValid'])return!0x1;const _0x50da3b=_0x3518c0['valueOf'](),_0x4c5274=this['setZone'](_0x3518c0['zone'],{'keepLocalTime':!0x0});return _0x4c5274['startOf'](_0x59b6c5,_0x52cf6f)<=_0x50da3b&&_0x50da3b<=_0x4c5274['endOf'](_0x59b6c5,_0x52cf6f);}['equals'](_0x89ee4c){return this['isValid']&&_0x89ee4c['isValid']&&this['valueOf']()===_0x89ee4c['valueOf']()&&this['zone']['equals'](_0x89ee4c['zone'])&&this['loc']['equals'](_0x89ee4c['loc']);}['toRelative'](_0x57c764={}){if(!this['isValid'])return null;const _0x2942e1=_0x57c764['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0xb24522=_0x57c764['padding']?this<_0x2942e1?-_0x57c764['padding']:_0x57c764['padding']:0x0;let _0x3d7660=['years','months','days','hours','minutes','seconds'],_0x5133db=_0x57c764['unit'];return Array['isArray'](_0x57c764['unit'])&&(_0x3d7660=_0x57c764['unit'],_0x5133db=void 0x0),yd(_0x2942e1,this['plus'](_0xb24522),{..._0x57c764,'numeric':'always','units':_0x3d7660,'unit':_0x5133db});}['toRelativeCalendar'](_0x5a6151={}){return this['isValid']?yd(_0x5a6151['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x5a6151,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x2f2bc2){if(!_0x2f2bc2['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return th(_0x2f2bc2,_0x2dd17f=>_0x2dd17f['valueOf'](),Math['min']);}static['max'](..._0x48ff6e){if(!_0x48ff6e['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return th(_0x48ff6e,_0x83066a=>_0x83066a['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x2fc99c,_0x20188f,_0x395714={}){const {locale:_0x7b378=null,numberingSystem:_0xa52d7e=null}=_0x395714;return zu(Locale['fromOpts']({'locale':_0x7b378,'numberingSystem':_0xa52d7e,'defaultToEN':!0x0}),_0x2fc99c,_0x20188f);}static['fromStringExplain'](_0x450511,_0x49bd5f,_0x51d035={}){return DateTime['fromFormatExplain'](_0x450511,_0x49bd5f,_0x51d035);}static['buildFormatParser'](_0x238984,_0x1ed3c2={}){const {locale:_0x14c27a=null,numberingSystem:_0x33e560=null}=_0x1ed3c2,_0x5259de=Locale['fromOpts']({'locale':_0x14c27a,'numberingSystem':_0x33e560,'defaultToEN':!0x0});return new TokenParser(_0x5259de,_0x238984);}static['fromFormatParser'](_0x49ab27,_0x2f32ac,_0x1eb80b={}){if(Wl(_0x49ab27)||Wl(_0x2f32ac))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x29bd16=null,numberingSystem:_0x5de933=null}=_0x1eb80b,_0x5068e6=Locale['fromOpts']({'locale':_0x29bd16,'numberingSystem':_0x5de933,'defaultToEN':!0x0});if(!_0x5068e6['equals'](_0x2f32ac['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x5068e6+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x2f32ac['locale']);const {result:_0x21d256,zone:_0x24edb0,specificOffset:_0x1dd128,invalidReason:_0x640123}=_0x2f32ac['explainFromTokens'](_0x49ab27);return _0x640123?DateTime['invalid'](_0x640123):cd(_0x21d256,_0x24edb0,_0x1eb80b,'format\x20'+_0x2f32ac['format'],_0x49ab27,_0x1dd128);}static get['DATE_SHORT'](){return Dc;}static get['DATE_MED'](){return Qc;}static get['DATE_MED_WITH_WEEKDAY'](){return Vc;}static get['DATE_FULL'](){return Uc;}static get['DATE_HUGE'](){return Bc;}static get['TIME_SIMPLE'](){return jc;}static get['TIME_WITH_SECONDS'](){return Fc;}static get['TIME_WITH_SHORT_OFFSET'](){return Hc;}static get['TIME_WITH_LONG_OFFSET'](){return Gc;}static get['TIME_24_SIMPLE'](){return Zc;}static get['TIME_24_WITH_SECONDS'](){return Xc;}static get['TIME_24_WITH_SHORT_OFFSET'](){return qc;}static get['TIME_24_WITH_LONG_OFFSET'](){return Wc;}static get['DATETIME_SHORT'](){return zc;}static get['DATETIME_SHORT_WITH_SECONDS'](){return Yc;}static get['DATETIME_MED'](){return Kc;}static get['DATETIME_MED_WITH_SECONDS'](){return Jc;}static get['DATETIME_MED_WITH_WEEKDAY'](){return tl;}static get['DATETIME_FULL'](){return el;}static get['DATETIME_FULL_WITH_SECONDS'](){return il;}static get['DATETIME_HUGE'](){return sl;}static get['DATETIME_HUGE_WITH_SECONDS'](){return nl;}}function Td(_0x3cfd8e){if(DateTime['isDateTime'](_0x3cfd8e))return _0x3cfd8e;if(_0x3cfd8e&&_0x3cfd8e['valueOf']&&zl(_0x3cfd8e['valueOf']()))return DateTime['fromJSDate'](_0x3cfd8e);if(_0x3cfd8e&&'object'==typeof _0x3cfd8e)return DateTime['fromObject'](_0x3cfd8e);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x3cfd8e+',\x20of\x20type\x20'+typeof _0x3cfd8e);}function Ad(_0xe304f5={},_0x4b0bb6){if(void 0x0!==_0xe304f5['dateTimeFormat']&&'function'!=typeof _0xe304f5['dateTimeFormat'])throw new _0x3ae0e8('invalid-date-time-format');return _0x57be44=>{const _0x2e01c2='string'==typeof _0x57be44?DateTime['fromISO'](_0x57be44):DateTime['fromJSDate'](_0x57be44),_0x5bb01e=DateTime['now'](),_0x14927b=Math['floor'](_0x5bb01e['diff'](_0x2e01c2,'days')['days']);return _0xe304f5['dateTimeFormat']?_0xe304f5['dateTimeFormat'](_0x2e01c2['toJSDate'](),_0x4b0bb6&&_0x4b0bb6['t']?_0x4b0bb6['t']:void 0x0):0x0===_0x14927b?_0x4b0bb6?Sc(_0x4b0bb6,'Today')+'\x20'+_0x2e01c2['toFormat']('hh:mma'):_0x2e01c2['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x14927b?_0x4b0bb6?Sc(_0x4b0bb6,'Yesterday')+'\x20'+_0x2e01c2['toFormat']('hh:mma'):_0x2e01c2['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x14927b<0x7?_0x4b0bb6?Sc(_0x4b0bb6,'Last')+'\x20'+Sc(_0x4b0bb6,_0x2e01c2['toFormat']('EEEE'))+'\x20'+_0x2e01c2['toFormat']('hh:mma'):_0x2e01c2['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2e01c2['toFormat']('LL-dd-yyyy\x20hh:mma');};}function Sd(_0xb0f727,_0x2df647){const _0x482df4=_0xb0f727['mapper']['markerNameToElements'](_0x2df647['name']);if(!_0x482df4)return null;const _0x5ea89d=_0x506e56(_0x482df4['values']());return _0xb0f727['view']['domConverter']['mapViewToDom'](_0x5ea89d)||null;}function Id(_0x4d92b4,_0x21b215){if(0x0===_0x21b215['length'])return null;const _0x22644c=[],_0x3ce798=_0x4d92b4['view']['domConverter'];for(const _0x20ae3c of _0x21b215){const _0x3650d3=_0x4d92b4['mapper']['markerNameToElements'](_0x20ae3c['name']);if(!_0x3650d3)continue;const _0x3a1ede=Array['from'](_0x3650d3)['map'](_0x4319c2=>_0x3ce798['mapViewToDom'](_0x4319c2))['filter'](_0x2810ce=>!!_0x2810ce);_0x22644c['push'](..._0x3a1ede);}if(0x0===_0x22644c['length'])return null;const _0x45ed92=[];for(const _0x21e719 of _0x22644c){const _0x4a2e1f=_0x21e719['getClientRects']()['item'](0x0);_0x4a2e1f&&_0x45ed92['push']({'x':_0x4a2e1f['x'],'y':_0x4a2e1f['y'],'domElement':_0x21e719});}return 0x0===_0x45ed92['length']?null:(_0x45ed92['sort']((_0x37b912,_0x46493a)=>_0x37b912['y']-_0x46493a['y']||_0x37b912['x']-_0x46493a['x']),_0x45ed92['map'](_0x193ee4=>_0x193ee4['domElement']));}function Cd(_0x387289,{limit:_0xd3eb47,suffix:_0x4afec0='...'}){const _0x562508=[];let _0x5b7110=0x0;const _0x2dc39e=_0x387289['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5253dd=0x0;_0x5253dd<_0x2dc39e['length'];_0x5253dd++){let _0x284d8f=_0x2dc39e[_0x5253dd];const _0x5a8ea6=kd(_0x284d8f);if(_0x284d8f['startsWith']('<')){if(_0x5b7110>=_0xd3eb47){const _0x3dd1fb=_0x284d8f['match'](/[a-zA-Z]+/);if(!_0x3dd1fb){_0x2dc39e[_0x5253dd]='';continue;}const _0x452968=_0x3dd1fb[0x0];_0x284d8f['startsWith']('</')?(_0x562508['length']&&(_0x284d8f=''),_0x562508['pop']()):(_0x562508['push'](_0x452968),_0x284d8f='');}}else{if(_0x5b7110>=_0xd3eb47)_0x284d8f='';else{if(_0x5b7110+_0x5a8ea6['length']>=_0xd3eb47){let _0x5e36d5=_0xd3eb47-_0x5b7110;if('\x20'===_0x5a8ea6[_0x5e36d5-0x1])_0x5e36d5--;else{const _0x42040a=_0x5a8ea6['slice'](_0x5e36d5)['indexOf']('\x20');-0x1!==_0x42040a?_0x5e36d5+=_0x42040a:_0x5e36d5=_0x284d8f['length'];}_0x284d8f=_0x5a8ea6['slice'](0x0,_0x5e36d5)['join']('')+_0x4afec0,_0x5b7110=_0xd3eb47;}else _0x5b7110+=_0x5a8ea6['length'];}}_0x2dc39e[_0x5253dd]=_0x284d8f;}return _0x2dc39e['join']('\x0a')['replace'](/\n/g,'');}function kd(_0x4bab16){const _0x3b3251=[];for(let _0x1cf275=0x0;_0x1cf275<_0x4bab16['length'];_0x1cf275++){const _0xbc6ac8=_0x4bab16['substring'](_0x1cf275)['match'](/^&[a-z0-9#]+;/);if(_0xbc6ac8){const _0x1fd4fb=_0xbc6ac8[0x0];_0x3b3251['push'](_0x1fd4fb),_0x1cf275+=_0x1fd4fb['length']-0x1;}else _0x3b3251['push'](_0x4bab16[_0x1cf275]);}return _0x3b3251;}class ConfirmView extends _0x278baa{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x22d410){super(_0x22d410);const _0x21465c=this['bindTemplate'];this['set']('message',Sc(_0x22d410,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x22d410,Sc(_0x22d410,'Yes'),_0x28777c,'submit'),this['cancelView']=this['_createButtonView'](_0x22d410,Sc(_0x22d410,'No'),_0x592cb9,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'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':_0x21465c['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'](_0x587dbf,_0x553bd9,_0x429721,_0x5aa52e){const _0x449608=new _0x1a631f(_0x587dbf);return _0x449608['label']=_0x553bd9,_0x449608['icon']=_0x429721,_0x449608['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x5aa52e}}),_0x449608['on']('execute',()=>this['fire'](_0x5aa52e)),_0x449608;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x385586=>{this['keystrokes']['listenTo'](_0x385586['element']),this['focusTracker']['add'](_0x385586['element']);}),this['keystrokes']['set']('esc',(_0x5a770a,_0x3c48d1)=>{this['fire']('cancel'),_0x3c48d1();});}}function xd(_0x447ef4){return class _0x37c239 extends _0x447ef4{['showConfirm'](_0x3aa13c,_0x313687){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x3aa13c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x313687['appendChild'](this['confirmView']['element']),_0x313687['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x598016,_0x20982e,_0x3eb054)=>{_0x3eb054||_0x313687['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x2fac19=>this['confirmView']['on']('submit',_0x2fac19));}['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 Rd(_0x3a72af){let _0x443e9c=0x0,_0x5dee73=0x0;for(const _0x51cead of Md(_0x3a72af))_0x443e9c=(_0x443e9c<<0x5)-_0x443e9c+_0x51cead,_0x443e9c&=_0x443e9c,[_0x443e9c,_0x5dee73]=[_0x5dee73,_0x443e9c];return $d(_0x443e9c)+$d(_0x5dee73);}function*Pd(_0x748603){null==_0x748603||null==_0x748603?yield 0x12b9b0a1:0x0===_0x748603||!0x1===_0x748603?yield 0x0:0x1===_0x748603||0x1==_0x748603?yield 0x1:Array['isArray'](_0x748603)?yield*function*(_0x32dbbf){for(const _0x3ffbd2 of _0x32dbbf)yield*Pd(_0x3ffbd2);}(_0x748603):'object'==typeof _0x748603?yield*Md(_0x748603):'string'==typeof _0x748603?yield*Nd(_0x748603):'number'==typeof _0x748603&&(yield _0x748603);}function*Md(_0x40e4db){if(yield Ld('{'),_0x40e4db){const _0x5defd1=Object['keys'](_0x40e4db)['sort']();for(const _0x15d758 of _0x5defd1){yield*Nd(_0x15d758),yield Ld(':');const _0x49c2b0=_0x40e4db[_0x15d758];yield*Pd(_0x49c2b0);}}yield Ld('}');}function*Nd(_0x147cb2){yield Ld('\x22');for(const _0x3a61c1 of _0x147cb2)yield Ld(_0x3a61c1);yield Ld('\x22');}function Ld(_0x36e13e){return _0x36e13e['charCodeAt'](0x0);}function $d(_0x3acefd){return(_0x3acefd*=Math['sign'](_0x3acefd))['toString'](0x24);}const Dd=['root','roots','initialData','context','toolbar','rootsAttributes'],Qd=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Vd(_0x424bdc,_0x21c854,_0x2507ea,_0x418f33=[]){const _0x266f8a='string'==typeof _0x424bdc?_0x2507ea['get'](_0x424bdc)['constructor']:_0x424bdc['prototype']['constructor'];if(_0x21c854['has'](_0x266f8a))return _0x21c854['get'](_0x266f8a);_0x21c854['set'](_0x266f8a,!0x0);const _0x70921a=[...Qd,..._0x418f33]['map'](_0x1f7eda=>{if(_0x2507ea['has'](_0x1f7eda))return _0x2507ea['get'](_0x1f7eda)['constructor'];})['filter'](_0x2d3db1=>_0x2d3db1);if(_0x266f8a&&_0x70921a['includes'](_0x266f8a))return _0x21c854['set'](_0x266f8a,!0x1),!0x1;if(!_0x266f8a['requires'])return _0x21c854['set'](_0x266f8a,!0x0),!0x0;const _0x187f75=_0x266f8a['requires']['every'](_0x2cb3cf=>Vd(_0x2cb3cf,_0x21c854,_0x2507ea,_0x418f33));return _0x21c854['set'](_0x266f8a,_0x187f75),_0x187f75;}function Ud(_0x17cdc2,_0x4010a1){const _0x47d87a={};for(const _0x4e5988 of _0x17cdc2['config']['names']())Dd['includes'](_0x4e5988)||(_0x47d87a[_0x4e5988]=_0x17cdc2['config']['get'](_0x4e5988));const _0x51a257=_0x47d87a['plugins']||[],_0x17fcb8=_0x17cdc2['constructor']['builtinPlugins']||[],_0x538238=_0x51a257['length']?_0x51a257:_0x17fcb8,_0x31539f=_0x47d87a['extraPlugins']||[];delete _0x47d87a['extraPlugins'];const _0x5f37dd=_0x47d87a['removePlugins']||[];delete _0x47d87a['removePlugins'];const _0x2624db=_0x17cdc2['_context']['config']['get']('plugins')||[],_0x488ae4=_0x538238['concat'](_0x31539f)['concat'](_0x2624db)['map'](_0x4713a7=>'string'==typeof _0x4713a7?_0x17fcb8['find'](_0x5cda7e=>_0x5cda7e['pluginName']==_0x4713a7):_0x4713a7)['filter'](_0x4c6dc9=>!_0x5f37dd['includes'](_0x4c6dc9)&&!_0x5f37dd['includes'](_0x4c6dc9['pluginName'])),_0x386d8c=Array['from'](new Set(_0x488ae4)),_0x17a117=new Map();return _0x47d87a['plugins']=_0x386d8c['filter'](_0x696465=>Vd(_0x696465,_0x17a117,_0x17cdc2['plugins'],_0x4010a1)),_0x47d87a;}function Bd(_0x161969,_0x118073){const _0x97d362=[];_0x161969['document']['selection']['on']('change:range',()=>{const _0x3eb58b=function(_0x467539,_0x2c7fda){const _0x18693d=[];for(const _0x2ad19a of _0x467539['markers']){const _0x358cc4=_0x2ad19a['getRange']();(_0x358cc4['containsPosition'](_0x2c7fda)||_0x358cc4['start']['isEqual'](_0x2c7fda)||_0x358cc4['end']['isEqual'](_0x2c7fda))&&_0x18693d['push'](_0x2ad19a);}return _0x18693d;}(_0x161969,_0x161969['document']['selection']['focus']),_0xea8432=[],_0x32ceec=[],_0x205fc4=[];for(const _0x463961 of _0x97d362)_0x3eb58b['includes'](_0x463961)||_0xea8432['push'](_0x463961);for(const _0x4a73bc of _0x3eb58b)_0x97d362['includes'](_0x4a73bc)||_0x32ceec['push'](_0x4a73bc),_0x205fc4['push'](_0x4a73bc);(_0xea8432['length']||_0x32ceec['length'])&&_0x118073({'left':_0xea8432,'entered':_0x32ceec}),_0x97d362['length']=0x0,_0x97d362['push'](..._0x205fc4);});}const jd='Ctrl+Shift+E';function Fd(_0x3c8d74,_0x2f29cc){const _0x319465=_0x3c8d74['element'];_0x3c8d74['keystrokes']['listenTo'](_0x319465);for(const _0x3fa744 of _0x2f29cc)Hd(_0x3c8d74,_0x3fa744);_0x2f29cc['on']('change',(_0x1cb51c,_0x34171c)=>{for(const _0x2bbdd4 of _0x34171c['removed'])Gd(_0x3c8d74,_0x2bbdd4);for(const _0x2f288b of Array['from'](_0x34171c['added'])['reverse']())Hd(_0x3c8d74,_0x2f288b);}),_0x3c8d74['keystrokes']['set']('enter',(_0x5fbfc9,_0x8a6972)=>{_0x319465===_0x5fbfc9['target']&&(_0x3c8d74['focusCycler']['focusFirst'](),_0x8a6972());},{'filter':_0x42fde8=>_0x42fde8['target']===_0x319465}),_0x3c8d74['keystrokes']['set']('esc',(_0x18866c,_0x23fdcc)=>{_0x319465!==_0x18866c['target']?_0x3c8d74['focus']():_0x3c8d74['fire']('escape'),_0x23fdcc();}),_0x3c8d74['keystrokes']['set']('arrowdown',(_0x5bbdc5,_0x2a5b53)=>{_0x319465===_0x5bbdc5['target']&&(_0x3c8d74['fire']('arrowdown'),_0x2a5b53());}),_0x3c8d74['keystrokes']['set']('arrowup',(_0x16aa66,_0x5a91ae)=>{_0x319465===_0x16aa66['target']&&(_0x3c8d74['fire']('arrowup'),_0x5a91ae());});}function Hd(_0x1e5fe3,_0x5bcbf2){_0x5bcbf2['isRendered']&&(_0x1e5fe3['focusTracker']['add'](_0x5bcbf2['element']),_0x1e5fe3['keystrokes']['listenTo'](_0x5bcbf2['element']),dt(_0x5bcbf2)&&function(_0x3804ad,_0x513186){const _0x38924e=_0x3804ad['actions'],_0x264b88=_0x513186['actions'];for(const _0x100739 of Object['keys'](_0x38924e))if(_0x100739 in _0x264b88&&_0x38924e[_0x100739]!==_0x264b88[_0x100739])return!0x1;return!0x0;}(_0x1e5fe3['focusCycler'],_0x5bcbf2['focusCycler'])&&_0x1e5fe3['focusCycler']['chain'](_0x5bcbf2['focusCycler']));}function Gd(_0x1d2f69,_0x25b7ae){_0x1d2f69['focusTracker']['remove'](_0x25b7ae['element']),_0x1d2f69['keystrokes']['stopListening'](_0x25b7ae['element']),dt(_0x25b7ae)&&_0x1d2f69['focusCycler']['unchain'](_0x25b7ae['focusCycler']);}class Diff{['diff'](_0x535dac,_0x44e4c5,_0x16566c={}){let _0x81f7e3;'function'==typeof _0x16566c?(_0x81f7e3=_0x16566c,_0x16566c={}):'callback'in _0x16566c&&(_0x81f7e3=_0x16566c['callback']);const _0x37ea35=this['castInput'](_0x535dac,_0x16566c),_0x399514=this['castInput'](_0x44e4c5,_0x16566c),_0x59be33=this['removeEmpty'](this['tokenize'](_0x37ea35,_0x16566c)),_0x7d6ae=this['removeEmpty'](this['tokenize'](_0x399514,_0x16566c));return this['diffWithOptionsObj'](_0x59be33,_0x7d6ae,_0x16566c,_0x81f7e3);}['diffWithOptionsObj'](_0x139c9d,_0x31601d,_0x16bce3,_0x539860){var _0x4fec42;const _0x5541de=_0x327cfc=>(_0x327cfc=this['postProcess'](_0x327cfc,_0x16bce3),_0x539860?void setTimeout(function(){_0x539860(_0x327cfc);},0x0):_0x327cfc),_0x2ef1ca=_0x31601d['length'],_0x227752=_0x139c9d['length'];let _0x365b00=0x1,_0x4ca4be=_0x2ef1ca+_0x227752;null!=_0x16bce3['maxEditLength']&&(_0x4ca4be=Math['min'](_0x4ca4be,_0x16bce3['maxEditLength']));const _0x4da746=null!==(_0x4fec42=_0x16bce3['timeout'])&&void 0x0!==_0x4fec42?_0x4fec42:0x1/0x0,_0x4bbc09=Date['now']()+_0x4da746,_0x27465b=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x4b1e7b=this['extractCommon'](_0x27465b[0x0],_0x31601d,_0x139c9d,0x0,_0x16bce3);if(_0x27465b[0x0]['oldPos']+0x1>=_0x227752&&_0x4b1e7b+0x1>=_0x2ef1ca)return _0x5541de(this['buildValues'](_0x27465b[0x0]['lastComponent'],_0x31601d,_0x139c9d));let _0x52c4fc=-0x1/0x0,_0x6bdbd2=0x1/0x0;const _0x4cc974=()=>{for(let _0x5a9187=Math['max'](_0x52c4fc,-_0x365b00);_0x5a9187<=Math['min'](_0x6bdbd2,_0x365b00);_0x5a9187+=0x2){let _0x3c9f54;const _0x86e24b=_0x27465b[_0x5a9187-0x1],_0x3542cb=_0x27465b[_0x5a9187+0x1];_0x86e24b&&(_0x27465b[_0x5a9187-0x1]=void 0x0);let _0x447baa=!0x1;if(_0x3542cb){const _0xbe6a1b=_0x3542cb['oldPos']-_0x5a9187;_0x447baa=_0x3542cb&&0x0<=_0xbe6a1b&&_0xbe6a1b<_0x2ef1ca;}const _0x403132=_0x86e24b&&_0x86e24b['oldPos']+0x1<_0x227752;if(_0x447baa||_0x403132){if(_0x3c9f54=!_0x403132||_0x447baa&&_0x86e24b['oldPos']<_0x3542cb['oldPos']?this['addToPath'](_0x3542cb,!0x0,!0x1,0x0,_0x16bce3):this['addToPath'](_0x86e24b,!0x1,!0x0,0x1,_0x16bce3),_0x4b1e7b=this['extractCommon'](_0x3c9f54,_0x31601d,_0x139c9d,_0x5a9187,_0x16bce3),_0x3c9f54['oldPos']+0x1>=_0x227752&&_0x4b1e7b+0x1>=_0x2ef1ca)return _0x5541de(this['buildValues'](_0x3c9f54['lastComponent'],_0x31601d,_0x139c9d))||!0x0;_0x27465b[_0x5a9187]=_0x3c9f54,_0x3c9f54['oldPos']+0x1>=_0x227752&&(_0x6bdbd2=Math['min'](_0x6bdbd2,_0x5a9187-0x1)),_0x4b1e7b+0x1>=_0x2ef1ca&&(_0x52c4fc=Math['max'](_0x52c4fc,_0x5a9187+0x1));}else _0x27465b[_0x5a9187]=void 0x0;}_0x365b00++;};if(_0x539860)!function _0x177f3b(){setTimeout(function(){if(_0x365b00>_0x4ca4be||Date['now']()>_0x4bbc09)return _0x539860(void 0x0);_0x4cc974()||_0x177f3b();},0x0);}();else for(;_0x365b00<=_0x4ca4be&&Date['now']()<=_0x4bbc09;){const _0x490da2=_0x4cc974();if(_0x490da2)return _0x490da2;}}['addToPath'](_0xf72062,_0x2e1481,_0x54b8bc,_0x77ec0f,_0x3f95cd){const _0x21253e=_0xf72062['lastComponent'];return _0x21253e&&!_0x3f95cd['oneChangePerToken']&&_0x21253e['added']===_0x2e1481&&_0x21253e['removed']===_0x54b8bc?{'oldPos':_0xf72062['oldPos']+_0x77ec0f,'lastComponent':{'count':_0x21253e['count']+0x1,'added':_0x2e1481,'removed':_0x54b8bc,'previousComponent':_0x21253e['previousComponent']}}:{'oldPos':_0xf72062['oldPos']+_0x77ec0f,'lastComponent':{'count':0x1,'added':_0x2e1481,'removed':_0x54b8bc,'previousComponent':_0x21253e}};}['extractCommon'](_0x5d1e4f,_0x40f0e0,_0x56c8a3,_0x86c4a8,_0x294e67){const _0x2ac33a=_0x40f0e0['length'],_0x472b60=_0x56c8a3['length'];let _0x100730=_0x5d1e4f['oldPos'],_0x5de631=_0x100730-_0x86c4a8,_0x3e3a49=0x0;for(;_0x5de631+0x1<_0x2ac33a&&_0x100730+0x1<_0x472b60&&this['equals'](_0x56c8a3[_0x100730+0x1],_0x40f0e0[_0x5de631+0x1],_0x294e67);)_0x5de631++,_0x100730++,_0x3e3a49++,_0x294e67['oneChangePerToken']&&(_0x5d1e4f['lastComponent']={'count':0x1,'previousComponent':_0x5d1e4f['lastComponent'],'added':!0x1,'removed':!0x1});return _0x3e3a49&&!_0x294e67['oneChangePerToken']&&(_0x5d1e4f['lastComponent']={'count':_0x3e3a49,'previousComponent':_0x5d1e4f['lastComponent'],'added':!0x1,'removed':!0x1}),_0x5d1e4f['oldPos']=_0x100730,_0x5de631;}['equals'](_0x596968,_0x3bfc94,_0xfd8afd){return _0xfd8afd['comparator']?_0xfd8afd['comparator'](_0x596968,_0x3bfc94):_0x596968===_0x3bfc94||!!_0xfd8afd['ignoreCase']&&_0x596968['toLowerCase']()===_0x3bfc94['toLowerCase']();}['removeEmpty'](_0xccc7c5){const _0x3ec36f=[];for(let _0x2036cc=0x0;_0x2036cc<_0xccc7c5['length'];_0x2036cc++)_0xccc7c5[_0x2036cc]&&_0x3ec36f['push'](_0xccc7c5[_0x2036cc]);return _0x3ec36f;}['castInput'](_0x9a7292,_0x11336e){return _0x9a7292;}['tokenize'](_0x174caa,_0xacba2a){return Array['from'](_0x174caa);}['join'](_0x2ab3a6){return _0x2ab3a6['join']('');}['postProcess'](_0xb92e88,_0xbabb18){return _0xb92e88;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x1d0b05,_0x52dc95,_0x1525ec){const _0x2c37e2=[];let _0xa3ddba;for(;_0x1d0b05;)_0x2c37e2['push'](_0x1d0b05),_0xa3ddba=_0x1d0b05['previousComponent'],delete _0x1d0b05['previousComponent'],_0x1d0b05=_0xa3ddba;_0x2c37e2['reverse']();const _0x1e984c=_0x2c37e2['length'];let _0x770d10=0x0,_0x447e7f=0x0,_0xc85a97=0x0;for(;_0x770d10<_0x1e984c;_0x770d10++){const _0x367ea6=_0x2c37e2[_0x770d10];if(_0x367ea6['removed'])_0x367ea6['value']=this['join'](_0x1525ec['slice'](_0xc85a97,_0xc85a97+_0x367ea6['count'])),_0xc85a97+=_0x367ea6['count'];else{if(!_0x367ea6['added']&&this['useLongestToken']){let _0x5a1dfc=_0x52dc95['slice'](_0x447e7f,_0x447e7f+_0x367ea6['count']);_0x5a1dfc=_0x5a1dfc['map'](function(_0x576309,_0x1b80a4){const _0x5ec2c4=_0x1525ec[_0xc85a97+_0x1b80a4];return _0x5ec2c4['length']>_0x576309['length']?_0x5ec2c4:_0x576309;}),_0x367ea6['value']=this['join'](_0x5a1dfc);}else _0x367ea6['value']=this['join'](_0x52dc95['slice'](_0x447e7f,_0x447e7f+_0x367ea6['count']));_0x447e7f+=_0x367ea6['count'],_0x367ea6['added']||(_0xc85a97+=_0x367ea6['count']);}}return _0x2c37e2;}}const Zd=new class ArrayDiff extends Diff{['tokenize'](_0x55fbb0){return _0x55fbb0['slice']();}['join'](_0x4c7f2e){return _0x4c7f2e;}['removeEmpty'](_0x420be9){return _0x420be9;}}();function Xd(_0x171eb4,_0x1fccb1,_0x3cff3f){return Zd['diff'](_0x171eb4,_0x1fccb1,_0x3cff3f);}const qd='$elementId',Wd='data-id';class DocumentCompare extends _0x32a432{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x519668?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x24ec21,_0x4b392d)=>{_0x4b392d['on']('ready',()=>{this['_integrateEditor'](_0x4b392d);});});}get['editor'](){if(this['context']instanceof _0x519668)return this['context'];{const _0x37723a=this['context']['editors']['first'];if(!_0x37723a)throw new _0x3ae0e8('documentcompare-no-editor',this);return _0x37723a;}}['getDiff'](_0x8a3edc,_0x11e42d,_0x56dd30={'anchor':'main','markDeletions':!0x1}){const _0x59710f=_0x56dd30['targetEditor']||this['editor'];let _0x5acbbf,_0x561cfd;if('string'==typeof _0x56dd30['anchor']){const _0x1ccd0f=_0x59710f['model']['document']['getRoot'](_0x56dd30['anchor']);if(!_0x1ccd0f)throw new _0x3ae0e8('documentcompare-compare-no-root',this,{'anchor':_0x56dd30['anchor']});_0x5acbbf=_0x1ccd0f,_0x561cfd=_0x59710f['model']['createPositionAt'](_0x1ccd0f,0x0);}else _0x5acbbf=_0x56dd30['anchor']['clone'](),_0x561cfd=_0x56dd30['anchor']['clone']();const _0x148181=_0x59710f['data']['parse'](_0x8a3edc,_0x5acbbf),_0x11e236=_0x59710f['data']['parse'](_0x11e42d,_0x5acbbf);return new DocumentDiff({'editor':_0x59710f,'before':_0x148181,'after':_0x11e236,'options':{'anchor':_0x561cfd,'markDeletions':_0x56dd30['markDeletions']}});}['isMarkedRemoveOperation'](_0x54e3fc){return'marker'==_0x54e3fc['type']&&_0x54e3fc['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0xdcecbc){_0xdcecbc['conversion']['for']('upcast')['add'](_0x5189cb=>{_0x5189cb['on']('element',(_0x2c6ef8,_0x47689b,_0x3e808d)=>{if(_0x47689b['modelRange'])for(const _0x41f35b of _0x47689b['modelRange']['getItems']({'shallow':!0x0})){if(_0x41f35b['is']('$textProxy'))continue;const _0xc04a51=_0x47689b['viewItem']['getAttribute'](Wd);_0xc04a51&&_0x3e808d['writer']['setAttribute'](qd,_0xc04a51,_0x41f35b);}},{'priority':'lowest'});}),_0xdcecbc['model']['schema']['addAttributeCheck'](()=>!0x0,qd);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x22220f,before:_0x561667,after:_0x570586,options:_0x86c1d9}){this['_editor']=_0x22220f,this['_markDeletions']=!!_0x86c1d9['markDeletions'],this['_anchor']=_0x86c1d9['anchor'];const _0x39c45b=this['_tokenizeModel'](_0x561667),_0x22d3ce=this['_tokenizeModel'](_0x570586);this['_diffItems']=this['_diffModelTokens'](_0x39c45b,_0x22d3ce),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x561667['markers'],_0x570586['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x2654af=this['_editor']['model']['document'],_0xa56940=[];let _0x240cad=_0x2654af['version'];for(const _0x2c02d3 of this['_operationsData'])switch(_0x2c02d3['type']){case'attribute':{const _0x2993d0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['path']),_0x45669e=_0x2993d0['getShiftedBy'](_0x2c02d3['howMany']),_0xc21c42=new _0x23c7fa(_0x2993d0,_0x45669e),_0x29a070=JSON['parse'](_0x2c02d3['oldValue']),_0x182a92=JSON['parse'](_0x2c02d3['newValue']);_0xa56940['push'](new _0x7f9942(_0xc21c42,_0x2c02d3['key'],_0x29a070,_0x182a92,_0x240cad++));break;}case'insert':{const _0x232295=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['path']),_0x409347=this['_makeModelFromTokens'](_0x2c02d3['tokens']);_0xa56940['push'](new _0x45fe9(_0x232295,_0x409347,_0x240cad++));break;}case'remove':{const _0x1baf5d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['path']),_0x44b7af=new _0x40b13b(_0x2654af['graveyard'],[0x0]);_0xa56940['push'](new _0x474875(_0x1baf5d,_0x2c02d3['howMany'],_0x44b7af,_0x240cad++));break;}case'rename':{const _0x4d80f6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['path']);_0xa56940['push'](new _0x4b074c(_0x4d80f6,_0x2c02d3['oldName'],_0x2c02d3['newName'],_0x240cad++));break;}case'split':{const _0x39741e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['path']),_0x2a66c4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['path']['slice'](0x0,-0x1));_0x2a66c4['offset']++,_0xa56940['push'](new _0x3028b9(_0x39741e,Number['NEGATIVE_INFINITY'],_0x2a66c4,null,_0x240cad++));break;}case'merge':{const _0x165117=_0x2c02d3['path']['slice'](),_0x1eeebd=_0x165117['slice'](0x0,-0x1);_0x1eeebd[_0x1eeebd['length']-0x1]++,_0x1eeebd['push'](0x0);const _0x195092=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1eeebd),_0x44e663=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x165117),_0x23ace1=new _0x40b13b(_0x2654af['graveyard'],[0x0]);_0xa56940['push'](new _0x56fbb6(_0x195092,Number['NEGATIVE_INFINITY'],_0x44e663,_0x23ace1,_0x240cad++));break;}case'marker':case'markedRemove':{let _0x87d962=null;if(_0x2c02d3['range']){const _0x9cbf47=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['range']['start']),_0x3afd57=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['range']['end']);_0x87d962=new _0x23c7fa(_0x9cbf47,_0x3afd57);}const _0x3807d4='marker'==_0x2c02d3['type']?_0x2c02d3['name']:'$markedRemove:'+_0x462bc0();_0xa56940['push'](new _0x19b14a(_0x3807d4,null,_0x87d962,_0x2654af['model']['markers'],!0x0,_0x240cad++));break;}case'unwrap':{const _0xc5c90e=_0x2c02d3['path']['slice']();_0xc5c90e['push'](0x0);const _0x3b2875=_0x2c02d3['path']['slice'](),_0x13be44=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc5c90e),_0x1eb1b8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3b2875),_0x2b3fe9=new _0x40b13b(_0x2654af['graveyard'],[0x0]);_0xa56940['push'](new _0x474875(_0x13be44,_0x2c02d3['howMany'],_0x1eb1b8,_0x240cad++)),_0xa56940['push'](new _0x474875(_0x1eb1b8['getShiftedBy'](_0x2c02d3['howMany']),0x1,_0x2b3fe9,_0x240cad++));break;}case'wrap':{const _0x3387f0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['range']['start']),_0x3ed29e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c02d3['range']['end']),_0x134fc4=_0x2c02d3['token']['element']['_clone'](!0x1),_0x23b436=_0x2c02d3['range']['end']['slice']();_0x23b436['push'](0x0);const _0x12e719=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x23b436);_0xa56940['push'](new _0x45fe9(_0x3ed29e,_0x134fc4,_0x240cad++)),_0xa56940['push'](new _0x474875(_0x3387f0,_0x3ed29e['offset']-_0x3387f0['offset'],_0x12e719,_0x240cad++));break;}}return _0xa56940;}['_tokenizeModel'](_0x5c04f0){const _0xb6497c=[],_0x553707=_0x23c7fa['_createIn'](_0x5c04f0),_0x58376a=new _0x908d36({'boundaries':_0x553707});let _0xaaf6b1='',_0x2e7416=null;const _0xee6473=[''],_0x287244=new Map();for(const _0x1303c3 of _0x58376a)if('elementStart'==_0x1303c3['type']||'elementEnd'==_0x1303c3['type']){let _0x128883=_0xee6473[0x0];''!==_0xaaf6b1&&(_0xb6497c['push'](...this['_makeTokensFromTextByWords'](_0xaaf6b1,_0x2e7416,_0x128883)),_0xaaf6b1='');const _0x32b133=_0x1303c3['item'];let _0xb915e3;_0x32b133['getAttribute'](qd)?_0xb915e3=_0x32b133['getAttribute'](qd):'elementStart'==_0x1303c3['type']?(_0xb915e3=Yd(_0x32b133),_0x287244['set'](_0x32b133,_0xb915e3)):_0xb915e3=_0x287244['get'](_0x32b133);const _0x429d5b=this['_getElementCategory'](_0x32b133);'solid'==_0x429d5b&&('elementStart'==_0x1303c3['type']?(_0x128883=_0xb915e3,_0xee6473['unshift'](_0x128883)):_0xee6473['shift']());const _0x52e8b5={'type':'element','element':_0x32b133,'elementId':_0xb915e3,'category':_0x429d5b,'isStart':'elementStart'==_0x1303c3['type'],'limitId':_0x128883};_0xb6497c['push'](_0x52e8b5);}else''==_0xaaf6b1&&(_0x2e7416=_0x1303c3['previousPosition']['clone']()),_0xaaf6b1+=_0x1303c3['item']['data'];return''!==_0xaaf6b1&&_0xb6497c['push'](...this['_makeTokensFromTextByWords'](_0xaaf6b1,_0x2e7416,_0xee6473[0x0])),_0xb6497c;}['_makeTokensFromTextByWords'](_0x8f1dff,_0x36eb41,_0xedbe30){const _0x4db543=_0x8f1dff['matchAll'](/(\s)/g),_0xb82d77=Array['from'](_0x4db543)['map'](_0x773496=>_0x773496['index']);_0xb82d77['push'](_0x8f1dff['length']),0x0==_0xb82d77[0x0]&&_0xb82d77['shift']();const _0x4c19f4=[],_0x866c08=_0x36eb41['parent'];let _0x502ba8=0x0,_0x112890=_0x36eb41['offset'];for(let _0x176204=0x0;_0x176204<_0xb82d77['length'];_0x176204++)_0x4c19f4['push']({'type':'text','data':_0x8f1dff['slice'](_0x502ba8,_0xb82d77[_0x176204]),'parent':_0x866c08,'offset':_0x112890,'limitId':_0xedbe30}),_0x502ba8=_0xb82d77[_0x176204],_0x112890=_0x36eb41['offset']+_0xb82d77[_0x176204];return _0x4c19f4;}['_getElementCategory'](_0x140a24){const _0x4202a1=this['_editor']['model']['schema'];return _0x4202a1['isLimit'](_0x140a24)||_0x4202a1['isContent'](_0x140a24)||_0x4202a1['isInline'](_0x140a24)?'solid':_0x4202a1['isBlock'](_0x140a24)?'block':'container';}['_diffModelTokens'](_0x3080a2,_0x390679){const _0x13d3b8=Xd(_0x3080a2,_0x390679,{'comparator':zd});this['_handleUnclosedBlockOpeningTags'](_0x13d3b8);const _0x3fe128=_0x13d3b8['flatMap'](_0x3f6c6f=>{const _0x3a49d0=_0x3f6c6f['added']?'added':_0x3f6c6f['removed']?'removed':'unchanged';return _0x3f6c6f['value']['map'](_0x402eca=>({'token':_0x402eca,'change':_0x3a49d0}));});let _0x5a4dc0=0x0;for(const _0x398941 of _0x3fe128)'added'!=_0x398941['change']&&('unchanged'==_0x398941['change']&&(_0x398941['before']=_0x3080a2[_0x5a4dc0]),_0x5a4dc0++);return _0x3fe128;}['_handleUnclosedBlockOpeningTags'](_0x2c6a12){for(let _0x3ac743=0x0;_0x3ac743<_0x2c6a12['length']-0x1;_0x3ac743++)if(_0x2c6a12[_0x3ac743]['removed']&&_0x2c6a12[_0x3ac743+0x1]['added']){const _0x4e693c=this['_findUnclosedBlockOpeningToken'](_0x2c6a12[_0x3ac743]['value']);if(null!==_0x4e693c){const _0x465cb3=this['_findUnclosedBlockOpeningToken'](_0x2c6a12[_0x3ac743+0x1]['value']),_0x2980e2=_0x2c6a12[_0x3ac743]['value']['splice'](_0x4e693c),_0x1bc9cf=_0x2c6a12[_0x3ac743+0x1]['value']['splice'](_0x465cb3),_0x1c6fef=[_0x1bc9cf['shift']()];_0x2980e2['shift']();const _0xf5e744={'value':_0x2980e2,'removed':!0x0},_0x5ac083={'value':_0x1bc9cf,'added':!0x0},_0x391769={'value':_0x1c6fef};_0x2c6a12['splice'](_0x3ac743+0x2,0x0,_0x391769,_0xf5e744,_0x5ac083);}}}['_findUnclosedBlockOpeningToken'](_0x2e13fb){let _0x436bc7=0x0,_0x5063a9=-0x1;for(let _0x34e535=0x0;_0x34e535<_0x2e13fb['length'];_0x34e535++){const _0x3860d1=_0x2e13fb[_0x34e535];'element'==_0x3860d1['type']&&'block'==_0x3860d1['category']&&(_0x436bc7+=_0x3860d1['isStart']?0x1:-0x1,_0x3860d1['isStart']&&(_0x5063a9=_0x34e535));}return 0x0===_0x436bc7?null:_0x5063a9;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2c912e=0x0;_0x2c912e<this['_diffItems']['length'];_0x2c912e++){const _0x28f732=this['_diffItems'][_0x2c912e]['change'],_0x1c36e4=[];_0x1c36e4['push'](this['_diffItems'][_0x2c912e]);let _0x5d4df9=_0x2c912e+0x1;for(;this['_diffItems'][_0x5d4df9]&&this['_diffItems'][_0x5d4df9]['change']==_0x28f732;)_0x1c36e4['push'](this['_diffItems'][_0x5d4df9]),_0x5d4df9++,_0x2c912e++;const _0x256ac4=_0x1c36e4['map'](_0x2f0ac1=>_0x2f0ac1['token']);if('unchanged'==_0x28f732)_0x1c36e4['map'](_0x1bdcc9=>_0x1bdcc9['before'])['forEach'](_0x273029=>this['_traverseOverItem'](_0x273029));else{if('removed'==_0x28f732){if(this['_markDeletions']){const _0x575272=this['_path']['slice']();_0x256ac4['forEach'](_0x498138=>this['_traverseOverItem'](_0x498138));const _0x9a18b0=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x575272,'end':_0x9a18b0}});}else this['_handleChanged'](_0x256ac4,!0x0,this['_path']['slice']());}else{const _0xfb87e7=_0x256ac4['filter'](_0xe767e2=>'element'!=_0xe767e2['type']||'container'!=_0xe767e2['category']);this['_handleChanged'](_0xfb87e7,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x28df54=0x0;_0x28df54<this['_diffItems']['length'];_0x28df54++){const _0xaa7f42=this['_diffItems'][_0x28df54]['change'],_0x14dc85=[];_0x14dc85['push'](this['_diffItems'][_0x28df54]);let _0xaa09a0=_0x28df54+0x1;for(;this['_diffItems'][_0xaa09a0]&&this['_diffItems'][_0xaa09a0]['change']==_0xaa7f42;)_0x14dc85['push'](this['_diffItems'][_0xaa09a0]),_0xaa09a0++,_0x28df54++;const _0x40377c=_0x14dc85['map'](_0x13e00d=>_0x13e00d['token']);if('unchanged'==_0xaa7f42){const _0x4aaa33=_0x14dc85['map'](_0x4eaf5b=>_0x4eaf5b['before']);this['_handleUnchanged'](_0x4aaa33,_0x40377c);}else('added'==_0xaa7f42||this['_markDeletions'])&&_0x40377c['forEach'](_0x1aaef4=>{'element'==_0x1aaef4['type']&&_0x1aaef4['isStart']&&this['_splitPostponedData']['has'](_0x1aaef4['element'])&&this['_handleSplitPostponedData'](_0x1aaef4['element'],this['_path']),this['_traverseOverItem'](_0x1aaef4);});}}['_handleSplitPostponedData'](_0x17ecaa,_0x18f21f){const _0x2b5d24=this['_splitPostponedData']['get'](_0x17ecaa);for(const _0x302b28 of _0x2b5d24)'rename'==_0x302b28['type']?this['_operationsData']['push']({'type':'rename','path':_0x18f21f['slice'](),'oldName':_0x302b28['oldValue'],'newName':_0x17ecaa['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x18f21f['slice'](),'howMany':0x1,'key':_0x302b28['key'],'oldValue':_0x302b28['oldValue'],'newValue':JSON['stringify'](_0x17ecaa['getAttribute'](_0x302b28['key'])??null)});}['_calculateMarkersOperationsData'](_0x15a12a,_0x25f10a){const _0x171327={};for(const [_0x5f5c2f]of _0x15a12a)_0x171327[_0x5f5c2f]=null;for(const [_0x28e07f,_0x2b9c31]of _0x25f10a)_0x171327[_0x28e07f]=_0x2b9c31;const _0x9512d3=Object['entries'](_0x171327)['map'](([_0x496743,_0x2e12c6])=>({'type':'marker','name':_0x496743,'range':_0x2e12c6?{'start':_0x2e12c6['start']['path']['slice'](),'end':_0x2e12c6['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x9512d3);}['_handleUnwraps'](){const _0x30a046=new Map(),_0x1affaa=[],_0x4e1c28=[0x0];let _0x275c91=this['_diffItems']['length']+0x1;for(let _0x2b9c3d=this['_diffItems']['length']-0x1;_0x2b9c3d>=0x0;_0x2b9c3d--){const {token:_0x1eb3b9,before:_0x2c2758,change:_0x26c772}=this['_diffItems'][_0x2b9c3d];if('removed'!=_0x26c772&&(_0x275c91=_0x2b9c3d),'element'!=_0x1eb3b9['type']||'container'!=_0x1eb3b9['category']||'added'==_0x26c772)continue;const _0x29163d=_0x2c2758?_0x2c2758['element']:_0x1eb3b9['element'];if(_0x1eb3b9['isStart']){const _0x4dea40=_0x30a046['get'](_0x29163d),_0xd0b198=this['_diffItems'][_0x4dea40];('removed'==_0x26c772||'removed'==_0xd0b198['change'])&&_0x275c91<_0x4dea40&&(this['_operationsData']['push']({'type':'unwrap','path':_0x29163d['getPath'](),'howMany':_0x29163d['maxOffset']+_0x4e1c28[0x0]}),_0x4e1c28['shift'](),_0x4e1c28[0x0]+=_0x29163d['maxOffset']-0x1,_0x1affaa['push'](_0x2b9c3d),_0x1affaa['push'](_0x4dea40));}else _0x30a046['set'](_0x29163d,_0x2b9c3d),_0x4e1c28['unshift'](0x0);}_0x1affaa['sort']((_0x22c82f,_0xf0d44)=>_0xf0d44-_0x22c82f),_0x1affaa['forEach'](_0x35511b=>{const _0x1104bf=this['_diffItems'][_0x35511b];'removed'==_0x1104bf['change']?this['_diffItems']['splice'](_0x35511b,0x1):(_0x1104bf['change']='added',delete _0x1104bf['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x49ffe7=[];for(let _0x30708e=0x0;_0x30708e<this['_diffItems']['length'];_0x30708e++){const {change:_0x11e382,token:_0x80ea2a}=this['_diffItems'][_0x30708e];if('added'==_0x11e382&&'element'==_0x80ea2a['type']&&'container'==_0x80ea2a['category']){if(_0x80ea2a['isStart'])_0x49ffe7['push'](this['_path']['slice']());else{if(!_0x80ea2a['isStart']){const _0x436d01=_0x49ffe7['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x436d01,'end':this['_path']['slice']()},'token':_0x80ea2a}),this['_path'][this['_path']['length']-0x1]=_0x436d01[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x11e382||this['_markDeletions'])&&this['_traverseOverItem'](_0x80ea2a);}}['_handleUnchanged'](_0xb2b504,_0x234deb){for(let _0x2894d2=0x0;_0x2894d2<_0xb2b504['length'];_0x2894d2++){const _0x46ccd2=_0xb2b504[_0x2894d2];if('element'==_0x46ccd2['type']&&_0x46ccd2['isStart']){const _0x964209=_0x234deb[_0x2894d2];'block'==_0x46ccd2['category']&&this['_handleElementRename'](_0x46ccd2['element'],_0x964209['element'],this['_path']),this['_handleElementAttributeChanges'](_0x46ccd2['element'],_0x964209['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x964209);}else{if('element'!=_0x46ccd2['type']||_0x46ccd2['isStart']){if('text'==_0x46ccd2['type']){const _0x58d2a6=this['_path']['slice'](),_0x27e2e2=[],_0xa56e50=[];for(;_0xb2b504[_0x2894d2]&&'text'==_0xb2b504[_0x2894d2]['type'];)_0x27e2e2['push'](_0xb2b504[_0x2894d2]),_0xa56e50['push'](_0x234deb[_0x2894d2]),this['_path'][this['_path']['length']-0x1]+=_0xb2b504[_0x2894d2]['data']['length'],_0x2894d2++;_0x2894d2--,this['_handleTextAttributeChanges'](_0x27e2e2,_0xa56e50,_0x58d2a6);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x460f1f,_0x1054bc,_0x3c0d86){const _0x56a757=[],_0x498c34=[],_0x43745f=_0x3c0d86['slice']();let _0x1fa83f=this['_parents']['length']-0x1;for(let _0x2ddee5=0x0;_0x2ddee5<_0x460f1f['length'];_0x2ddee5++){const _0x520107=_0x460f1f[_0x2ddee5],_0x545281=_0x3c0d86['slice']();'element'!=_0x520107['type']||_0x520107['isStart']?'element'==_0x520107['type']&&_0x520107['isStart']?(_0x3c0d86['push'](0x0),_0x1fa83f++,_0x498c34['push']({'before':_0x545281,'after':_0x3c0d86['slice'](),'index':_0x2ddee5})):_0x3c0d86[_0x3c0d86['length']-0x1]+=_0x520107['data']['length']:(_0x3c0d86['pop'](),_0x3c0d86[_0x3c0d86['length']-0x1]++,_0x1fa83f--,_0x498c34['length']?_0x498c34['pop']():_0x56a757['push']({'before':_0x545281,'after':_0x3c0d86['slice'](),'index':_0x2ddee5}));}if(_0x498c34['length']!==_0x56a757['length'])throw new _0x3ae0e8('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x460f1f,'isRemove':_0x1054bc});const _0x667a6e=[{'after':_0x43745f['slice'](),'index':-0x1},..._0x56a757,..._0x498c34,{'before':_0x3c0d86['slice'](),'index':_0x460f1f['length']}];if(_0x1054bc){for(let _0x1be51b=_0x667a6e['length']-0x1;_0x1be51b>=0x1;_0x1be51b--){const _0x1f507d=_0x667a6e[_0x1be51b-0x1]['after'],_0x54c9e7=_0x667a6e[_0x1be51b]['before'],_0xbdcc5=_0x54c9e7[_0x54c9e7['length']-0x1]-_0x1f507d[_0x1f507d['length']-0x1];_0xbdcc5&&(this['_operationsData']['push']({'type':'remove','path':_0x1f507d,'howMany':_0xbdcc5}),_0x54c9e7[_0x54c9e7['length']-0x1]-=_0xbdcc5);}for(const {before:_0x55c670}of _0x56a757)this['_operationsData']['push']({'type':'merge','path':_0x55c670});}else for(let _0x5693b7=0x0;_0x5693b7<_0x667a6e['length']-0x1;_0x5693b7++){const _0x255ebc=_0x667a6e[_0x5693b7]['after'],_0x135302=_0x667a6e[_0x5693b7+0x1]['before'],_0xab8aca=_0x667a6e[_0x5693b7]['index']+0x1,_0x65cf79=_0x667a6e[_0x5693b7+0x1]['index'];if(_0xab8aca!==_0x65cf79&&this['_operationsData']['push']({'type':'insert','path':_0x255ebc,'tokens':_0x460f1f['slice'](_0xab8aca,_0x65cf79)}),_0x5693b7<_0x56a757['length']){this['_operationsData']['push']({'type':'split','path':_0x135302});const _0x379390=_0x460f1f[_0x498c34[_0x498c34['length']-0x1-_0x5693b7]['index']],_0x4dd425=this['_parents'][_0x1fa83f]['element'];_0x4dd425['name']!=_0x379390['element']['name']&&this['_addSplitPostponedData'](_0x379390['element'],{'type':'rename','oldValue':_0x4dd425['name']});const _0xa917e0=this['_getAttributeChanges'](_0x4dd425['getAttributes'](),_0x379390['element']['getAttributes']());for(const _0x355fe1 in _0xa917e0){const _0x2197c8=_0xa917e0[_0x355fe1]['oldValue'];this['_addSplitPostponedData'](_0x379390['element'],{'type':'attribute','key':_0x355fe1,'oldValue':_0x2197c8});}}}}['_addSplitPostponedData'](_0x30ae83,_0x1d0dbd){const _0x5bf5b4=this['_splitPostponedData']['get'](_0x30ae83)||[];_0x5bf5b4['push'](_0x1d0dbd),this['_splitPostponedData']['set'](_0x30ae83,_0x5bf5b4);}['_traverseOverItem'](_0x3c29ec){'element'==_0x3c29ec['type']&&_0x3c29ec['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3c29ec)):'element'!=_0x3c29ec['type']||_0x3c29ec['isStart']?'text'==_0x3c29ec['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3c29ec['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x4bbe30,_0xad3423,_0x204238){_0x4bbe30['name']!=_0xad3423['name']&&this['_operationsData']['push']({'type':'rename','path':_0x204238['slice'](),'oldName':_0x4bbe30['name'],'newName':_0xad3423['name']});}['_handleElementAttributeChanges'](_0x5876e4,_0x2625b0,_0x2c6215){const _0x128dd4=this['_getAttributeChanges'](_0x5876e4['getAttributes'](),_0x2625b0['getAttributes']());for(const _0x48c118 in _0x128dd4){const {oldValue:_0x2bd879,newValue:_0x32d7c9}=_0x128dd4[_0x48c118];this['_operationsData']['push']({'type':'attribute','path':_0x2c6215['slice'](),'howMany':0x1,'key':_0x48c118,'oldValue':_0x2bd879,'newValue':_0x32d7c9});}}['_handleTextAttributeChanges'](_0x558af3,_0xf45dce,_0x45dccb){const _0x5a8faa=this['_operationsData'],_0x52268a=_0x558af3[0x0]['parent'],_0x150595=_0x558af3[0x0]['offset'],_0x12fec2=_0xf45dce[0x0]['parent'],_0xc71aa6=_0xf45dce[0x0]['offset'],_0x36ea7b=_0x558af3['reduce']((_0x2f2103,_0x2b9bb2)=>_0x2f2103+_0x2b9bb2['data']['length'],0x0),_0x469591=this['_getAttrsForOffsets'](_0x52268a,_0x150595,_0x36ea7b),_0x32ed87=this['_getAttrsForOffsets'](_0x12fec2,_0xc71aa6,_0x36ea7b),_0xf2b2c6={};for(let _0x288c1f=0x0;_0x288c1f<_0x36ea7b;_0x288c1f++){const _0x3a43a3=_0x469591[_0x150595+_0x288c1f],_0x52ba3c=_0x32ed87[_0xc71aa6+_0x288c1f],_0x46045f=this['_getAttributeChanges'](_0x3a43a3,_0x52ba3c);for(const _0x47ed7d in _0xf2b2c6)_0x46045f[_0x47ed7d]||_0xdb46be(_0x47ed7d);for(const _0x5d3363 in _0x46045f){const {oldValue:_0x5065bb,newValue:_0x4d2b6b}=_0x46045f[_0x5d3363],_0x2ef8b3=_0xf2b2c6[_0x5d3363];_0x2ef8b3?_0x2ef8b3['oldValue']==_0x5065bb&&_0x2ef8b3['newValue']==_0x4d2b6b?_0x2ef8b3['length']++:(_0xdb46be(_0x5d3363),_0xf2b2c6[_0x5d3363]={'oldValue':_0x5065bb,'newValue':_0x4d2b6b,'start':_0x288c1f,'length':0x1}):_0xf2b2c6[_0x5d3363]={'oldValue':_0x5065bb,'newValue':_0x4d2b6b,'start':_0x288c1f,'length':0x1};}}for(const _0x5a06d3 in _0xf2b2c6)_0xdb46be(_0x5a06d3);function _0xdb46be(_0x3a7bdb){const _0x16bef8=_0xf2b2c6[_0x3a7bdb],_0x5bdf34=_0x45dccb['slice']();_0x5bdf34[_0x5bdf34['length']-0x1]+=_0x16bef8['start'],_0x5a8faa['push']({'type':'attribute','path':_0x5bdf34,'howMany':_0x16bef8['length'],'key':_0x3a7bdb,'oldValue':_0x16bef8['oldValue'],'newValue':_0x16bef8['newValue']}),delete _0xf2b2c6[_0x3a7bdb];}}['_getAttributeChanges'](_0x4e6266,_0x4b216f){const _0x5ab0b1={};for(const [_0x5b68c0,_0x3f58aa]of _0x4e6266)_0x5ab0b1[_0x5b68c0]={'oldValue':JSON['stringify'](_0x3f58aa),'newValue':'null'};for(const [_0x5c2a87,_0xfa54c1]of _0x4b216f){const _0x45897f=JSON['stringify'](_0xfa54c1);_0x5ab0b1[_0x5c2a87]?_0x5ab0b1[_0x5c2a87]['oldValue']==_0x45897f?delete _0x5ab0b1[_0x5c2a87]:_0x5ab0b1[_0x5c2a87]['newValue']=_0x45897f:_0x5ab0b1[_0x5c2a87]={'oldValue':'null','newValue':_0x45897f};}return delete _0x5ab0b1[qd],_0x5ab0b1;}['_getAttrsForOffsets'](_0x49012b,_0x4f8b48,_0x367fa0){const _0x962b42=new Array(_0x4f8b48+_0x367fa0);let _0x12237d=_0x49012b['getChildAtOffset'](_0x4f8b48),_0x18603f=_0x12237d['startOffset'];for(;_0x12237d&&_0x18603f<_0x4f8b48+_0x367fa0;){const _0x20ae6f=Array['from'](_0x12237d['getAttributes']());_0x962b42['fill'](_0x20ae6f,_0x18603f,_0x18603f+_0x12237d['offsetSize']),_0x18603f+=_0x12237d['offsetSize'],_0x12237d=_0x12237d['nextSibling'];}return _0x962b42;}['_getPositionFromAnchorAndPath'](_0x5c9d6b,_0x5bc1fe){const _0x1a542d=[..._0x5c9d6b['path']['slice'](0x0,-0x1),_0x5c9d6b['offset']+_0x5bc1fe[0x0],..._0x5bc1fe['slice'](0x1)];return new _0x40b13b(_0x5c9d6b['root'],_0x1a542d);}['_makeModelFromTokens'](_0x175f8a){const _0x6b75d=[];let _0x5558a6=null;for(const _0x1a93df of _0x175f8a)if('element'!=_0x1a93df['type']||_0x1a93df['isStart']||_0x5558a6!=_0x1a93df['element']){if(!_0x5558a6){if('text'==_0x1a93df['type']){const _0x3b80f6=_0x40b13b['_createAt'](_0x1a93df['parent'],_0x1a93df['offset']),_0x4c19c9=_0x23c7fa['_createFromPositionAndShift'](_0x3b80f6,_0x1a93df['data']['length']),_0xcaacdd=Array['from'](_0x4c19c9['getItems']())['map'](_0x492407=>new _0x1f1db5(_0x492407['data'],_0x492407['getAttributes']()));_0x6b75d['push'](..._0xcaacdd);}else{_0x5558a6=_0x1a93df['element'];const _0x1b957b=_0x1a93df['element']['_clone'](!0x0);_0x1b957b['_removeAttribute'](qd);for(const _0x55eddb of this['_editor']['model']['createRangeIn'](_0x1b957b)['getItems']())_0x55eddb['is']('element')&&_0x55eddb['_removeAttribute'](qd);_0x6b75d['push'](_0x1b957b);}}}else _0x5558a6=null;return _0x6b75d;}}function zd(_0x1b251c,_0x1c13ba){return _0x1b251c['type']===_0x1c13ba['type']&&(_0x1b251c['limitId']===_0x1c13ba['limitId']&&('text'==_0x1b251c['type']?_0x1b251c['data']==_0x1c13ba['data']:function(_0x7074f8,_0x19e8ec){if(_0x7074f8['isStart']!=_0x19e8ec['isStart'])return!0x1;if(_0x7074f8['isStart']&&_0x7074f8['elementId']!=_0x19e8ec['elementId'])return!0x1;if(_0x7074f8['category']!=_0x19e8ec['category'])return!0x1;if('block'==_0x7074f8['category'])return!0x0;if('container'==_0x7074f8['category']&&_0x7074f8['elementId']!=_0x19e8ec['elementId'])return!0x1;return _0x7074f8['element']['name']==_0x19e8ec['element']['name'];}(_0x1b251c,_0x1c13ba)));}function Yd(_0x4e15a3){return Rd({'name':_0x4e15a3['name'],...Object['fromEntries'](_0x4e15a3['getAttributes']())});}function Kd({editor:_0x5a3d6e,changeGroups:_0x5cabc8,documentContextContent:_0x438589,showDiff:_0x1b6064,trimUnchanged:_0x1dc120=!0x0}){return _0x5cabc8['map'](_0x41afd9=>{const _0x5e7b41=new ua([]),_0x23fa7e=new ua([]),_0x3e7a57=new Set();for(const _0x47e149 of _0x41afd9['changes'])'new'==_0x47e149['type']&&Wa('data-id',null,_0x47e149['node'])['forEach'](_0x306b3e=>{_0x3e7a57['add'](Ya(_0x306b3e,'data-id'));});for(const _0x377cd9 of _0x41afd9['changes'])if('removed'!=_0x377cd9['type']?_0x23fa7e['children']['push'](_0x377cd9['node']['cloneNode'](!0x0)):_0x1b6064||_0x3e7a57['has'](_0x377cd9['id'])||_0x23fa7e['children']['push'](_0x377cd9['node']['cloneNode'](!0x0)),'new'!=_0x377cd9['type']&&(_0x1b6064||'removed'!=_0x377cd9['type'])){const _0x2e3ef4=Ha(_0x2603d8=>Ya(_0x2603d8,'data-id')==_0x377cd9['id'],_0x438589,!0x0);_0x2e3ef4&&_0x5e7b41['children']['push'](_0x2e3ef4['cloneNode'](!0x0));}const {content:_0x22723f,hasChanges:_0x2ed41e}=function(_0x34191c,_0x4ea040,_0x4d7128,_0x450ccb,_0x2e496d=!0x0){const _0x61ed9=_0x34191c['plugins']['get']('DocumentCompare'),_0x8e9668=Xa(_0x4ea040),_0x5807f4=Xa(_0x4d7128),_0x135f22=_0x34191c['data']['parse'](_0x8e9668,'$root'),_0x15283a=_0x34191c['model']['createPositionAt'](_0x135f22,0x0),_0x4fdcf2=_0x61ed9['getDiff'](_0x8e9668,_0x5807f4,{'anchor':_0x15283a,'markDeletions':_0x450ccb,'targetEditor':_0x34191c}),_0x75b4fd=_0x4fdcf2['getOperations']();if(0x0==_0x75b4fd['length'])return{'content':_0x4ea040['cloneNode'](!0x0),'hasChanges':!0x1};_0x450ccb?function(_0x3eebb5,_0x57c5e3,_0x22ed8b){if(0x0==_0x3eebb5['length'])return;const _0x77c6c8=_0x22ed8b['plugins']['get']('DocumentCompare'),_0x5e1c72=_0x22ed8b['plugins']['get']('SuggestionsConversion');_0x22ed8b['model']['change'](_0x476af6=>{const _0xf2fa21=new Set();for(let _0x409238=0x0;_0x409238<_0x3eebb5['length'];_0x409238++){const _0x192790=_0x3eebb5[_0x409238];if(_0x192790['baseVersion']=null,_0x192790['isDocumentOperation']=!0x1,_0x77c6c8['isMarkedRemoveOperation'](_0x192790)){const _0x283850=Rc(_0x192790['newRange'],_0x22ed8b['model']),_0x289590='suggestion:deletion:'+_0x462bc0()+':$aiSuggestion';_0x57c5e3['markers']['set'](_0x289590,_0x283850);}else switch(_0x192790['type']){case'rename':{if(_0x192790['oldName']==_0x192790['newName'])break;_0x476af6['batch']['addOperation'](_0x192790),_0x22ed8b['model']['applyOperation'](_0x192790);const _0x3a2f2d='$elementName',_0x5e7d9b=_0x192790['position'],_0x1a7daf=_0x22ed8b['model']['createRange'](_0x5e7d9b,_0x22ed8b['model']['createPositionAt'](_0x5e7d9b['nodeAfter'],'end')),_0x3669d2='suggestion:attribute:'+_0x3a2f2d+':'+_0x462bc0()+':$aiSuggestion';_0x57c5e3['markers']['set'](_0x3669d2,_0x1a7daf);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x192790['oldValue']==_0x192790['newValue'])break;_0x476af6['batch']['addOperation'](_0x192790),_0x22ed8b['model']['applyOperation'](_0x192790);const _0x3c8255=_0x192790['key'];if(!_0x5e1c72['isRegisteredAttribute'](_0x3c8255))break;const _0x5d62af=Rc(_0x192790['range'],_0x22ed8b['model']),_0x52a20a='suggestion:attribute:'+_0x3c8255+':'+_0x462bc0()+':$aiSuggestion';_0x57c5e3['markers']['set'](_0x52a20a,_0x5d62af);break;}case'insert':{_0x476af6['batch']['addOperation'](_0x192790),_0x22ed8b['model']['applyOperation'](_0x192790);if(_0x3eebb5[_0x409238+0x1]&&'move'==_0x3eebb5[_0x409238+0x1]['type']){Jd(_0x57c5e3,_0x192790);break;}const _0x38a0bf=_0x192790['position'],_0x15f35d=_0x192790['howMany'],_0x43e6be=Rc(_0x22ed8b['model']['createRange'](_0x38a0bf,_0x38a0bf['getShiftedBy'](_0x15f35d)),_0x22ed8b['model']),_0x560fc2='suggestion:insertion:'+_0x462bc0()+':$aiSuggestion';_0x57c5e3['markers']['set'](_0x560fc2,_0x43e6be);break;}case'split':{_0x476af6['batch']['addOperation'](_0x192790),_0x22ed8b['model']['applyOperation'](_0x192790);const _0x3ef071=_0x192790['splitPosition'],_0x144f9b=_0x192790['moveTargetPosition'],_0x1a8b13=_0x22ed8b['model']['createRange'](_0x3ef071,_0x144f9b),_0xa8d47e='suggestion:insertion:'+_0x462bc0()+':$aiSuggestion';_0x57c5e3['markers']['set'](_0xa8d47e,_0x1a8b13);break;}case'move':{_0x476af6['batch']['addOperation'](_0x192790),_0x22ed8b['model']['applyOperation'](_0x192790),_0x3eebb5[_0x409238-0x1]&&'insert'==_0x3eebb5[_0x409238-0x1]['type']&&Jd(_0x57c5e3,_0x192790);const _0x379d3b=_0x192790['getMovedRangeStart'](),_0x1cb8e0=_0x192790['howMany'];for(let _0x2a97af=0x0;_0x2a97af<_0x1cb8e0;_0x2a97af++){const _0x56e541=_0x379d3b['getShiftedBy'](_0x2a97af)['nodeAfter'];_0xf2fa21['add'](_0x56e541);}break;}case'remove':{const _0x2d19f7=_0x192790['sourcePosition'],_0x475703=_0x192790['howMany'],_0x4c1065=new _0x2a1d8f(_0x2d19f7,_0x475703);_0x476af6['batch']['addOperation'](_0x4c1065),_0x22ed8b['model']['applyOperation'](_0x4c1065);break;}}}for(const _0x326fb2 of _0xf2fa21){const _0x210f56=_0x22ed8b['model']['createRangeOn'](_0x326fb2),_0x1615c6='suggestion:formatBlock:$fakeWrap:'+_0x462bc0()+':$aiSuggestion';_0x57c5e3['markers']['set'](_0x1615c6,Rc(_0x210f56,_0x22ed8b['model']));}});}(_0x75b4fd,_0x135f22,_0x34191c):_0x34191c['model']['change'](_0x45a949=>{for(const _0x3d3ec0 of _0x75b4fd)if('remove'==_0x3d3ec0['type']){const _0x461028=_0x3d3ec0['sourcePosition'],_0x5f0660=_0x3d3ec0['howMany'],_0x49fe0a=new _0x2a1d8f(_0x461028,_0x5f0660);_0x45a949['batch']['addOperation'](_0x49fe0a),_0x34191c['model']['applyOperation'](_0x49fe0a);}else{if('marker'==_0x3d3ec0['type']){const _0x17ac3f=_0x3d3ec0['name'],_0x22830d=_0x3d3ec0['newRange'];null!==_0x22830d?_0x135f22['markers']['set'](_0x17ac3f,_0x22830d):_0x135f22['markers']['delete'](_0x17ac3f);}else _0x3d3ec0['baseVersion']=null,_0x3d3ec0['isDocumentOperation']=!0x1,_0x45a949['batch']['addOperation'](_0x3d3ec0),_0x34191c['model']['applyOperation'](_0x3d3ec0);}});if(_0x2e496d){const _0x13c680=tf(_0x34191c,_0x75b4fd,_0x135f22);ef(_0x34191c['model'],_0x13c680),function(_0x45b15,_0x54479e){const _0x2fa712=_0x54479e['getFirstRange']()['start'];let _0x39c1c4=_0x54479e['getFirstRange']()['end'];const _0x576954=_0x2fa712['root'];(_0x39c1c4['textNode']||_0x39c1c4['nodeAfter']&&_0x39c1c4['nodeAfter']['is']('$text'))&&(_0x515c38(_0x39c1c4,'...'),_0x39c1c4=_0x39c1c4['getShiftedBy'](0x3)),(_0x2fa712['textNode']||_0x2fa712['nodeBefore']&&_0x2fa712['nodeBefore']['is']('$text'))&&(_0x515c38(_0x2fa712,'...'),function(_0x5d1113,_0x4a9222,_0x4baa61){for(let [_0x5c789e,_0x47af4d]of _0x5d1113['markers']){const _0x5cde01=_0x47af4d['_getTransformedByInsertion'](_0x4a9222,_0x4baa61,!0x1);_0x47af4d=_0x5cde01[0x0],_0x5d1113['markers']['set'](_0x5c789e,_0x47af4d);}}(_0x576954,_0x2fa712,0x3),_0x2fa712['parent']==_0x39c1c4['parent']&&(_0x39c1c4=_0x39c1c4['getShiftedBy'](0x3)));const _0x2e8d39=_0x45b15['createRange'](_0x45b15['createPositionAt'](_0x576954,0x0),_0x2fa712),_0x982328=_0x45b15['createRange'](_0x39c1c4,_0x45b15['createPositionAt'](_0x576954,'end')),_0x2bfa47=[..._0x2e8d39['getMinimalFlatRanges'](),..._0x982328['getMinimalFlatRanges']()];_0x2bfa47['reverse']();for(const _0x4067c1 of _0x2bfa47)_0x3efdeb(_0x4067c1),nf(_0x576954,_0x4067c1);}(_0x34191c['model'],_0x13c680);}const _0x8d07f=_0x34191c['data']['stringify'](_0x135f22,{'showSuggestionHighlights':!0x0});return{'content':Za(_0x8d07f),'hasChanges':!0x0};}(_0x5a3d6e,_0x5e7b41,_0x23fa7e,_0x1b6064,_0x1dc120);return{'type':_0x41afd9['changes'][0x0]['type'],'index':_0x41afd9['index'],'content':_0x22723f,'hasChanges':_0x2ed41e};});}function Jd(_0x3df532,_0x3ed742){for(const [_0x8aa5e7,_0x9d0d6b]of _0x3df532['markers']){const _0x1725cf=_0x23c7fa['_createFromRanges'](_0x9d0d6b['getTransformedByOperation'](_0x3ed742));_0x3df532['markers']['set'](_0x8aa5e7,_0x1725cf);}}function tf(_0x3a01e8,_0x537c0a,_0x3e486d){const _0x367afc=_0x3a01e8['plugins']['get']('DocumentCompare');let _0x3aebf9=_0x3a01e8['model']['createPositionAt'](_0x3e486d,Number['POSITIVE_INFINITY']),_0x4cba46=_0x3a01e8['model']['createPositionAt'](_0x3e486d,0x0);for(const _0x11f6ba of _0x537c0a){let _0xe559ca,_0x12d9b3;if(_0x367afc['isMarkedRemoveOperation'](_0x11f6ba))_0xe559ca=_0x11f6ba['newRange']['start'],_0x12d9b3=_0x11f6ba['newRange']['end'];else switch(_0x3aebf9=_0x3aebf9['getTransformedByOperation'](_0x11f6ba),_0x4cba46=_0x4cba46['getTransformedByOperation'](_0x11f6ba),_0x11f6ba['type']){case'rename':_0xe559ca=_0x11f6ba['position'],_0x12d9b3=_0xe559ca['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0xe559ca=_0x11f6ba['range']['start'],_0x12d9b3=_0x11f6ba['range']['end'];break;case'insert':_0xe559ca=_0x11f6ba['position'],_0x12d9b3=_0xe559ca['getShiftedBy'](_0x11f6ba['howMany']);break;case'split':_0xe559ca=_0x11f6ba['splitPosition'],_0x12d9b3=_0x11f6ba['moveTargetPosition'];break;case'merge':{const _0x11f3fb=_0x11f6ba['targetPosition']['path']['slice'](0x0,-0x1);_0xe559ca=_0x3a01e8['model']['createPositionFromPath'](_0x3e486d,_0x11f3fb),_0x12d9b3=_0xe559ca['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x415c53=_0x11f6ba['howMany'],_0x2ffa7d=_0x11f6ba['sourcePosition']['_getTransformedByInsertion'](_0x11f6ba['targetPosition'],_0x415c53),_0x2bf9f0=_0x11f6ba['getMovedRangeStart']();'remove'==_0x11f6ba['type']?(_0xe559ca=_0x2ffa7d,_0x12d9b3=_0x2ffa7d):(_0xe559ca=_0x2bf9f0,_0x12d9b3=_0x2bf9f0['getShiftedBy'](_0x415c53));break;}}_0xe559ca&&_0xe559ca['isBefore'](_0x3aebf9)&&(_0x3aebf9=_0xe559ca['clone'](),_0x3aebf9['stickiness']='toNone'),_0x12d9b3&&_0x12d9b3['isAfter'](_0x4cba46)&&(_0x4cba46=_0x12d9b3['clone'](),_0x4cba46['stickiness']='toNone');}return _0x3a01e8['model']['createSelection'](_0x3a01e8['model']['createRange'](_0x3aebf9,_0x4cba46));}function ef(_0x510e25,_0x53e380){sf(_0x510e25,_0x53e380,'forward');const _0x1af98a=_0x53e380['getFirstRange']();_0x53e380['setTo']([]),_0x53e380['setTo'](_0x1af98a,{'backward':!0x0}),sf(_0x510e25,_0x53e380,'backward');}function sf(_0xde1972,_0x5ac89b,_0x4c8467){let _0x3f9212=0x14;for(;_0x3f9212;){_0xde1972['modifySelection'](_0x5ac89b,{'unit':'word','direction':_0x4c8467}),_0x3f9212--;const _0x428966=_0x5ac89b['focus']['forward'==_0x4c8467?'nodeBefore':'nodeAfter'];if(_0x428966&&_0x428966['is']('element')&&_0xde1972['schema']['isBlock'](_0x428966)&&_0xde1972['schema']['isObject'](_0x428966))break;}}function nf(_0x1596ea,_0xc493de){for(const [_0x151712,_0x24685c]of _0x1596ea['markers']){const _0x365fdd=_0x24685c['_getTransformedByDeletion'](_0xc493de['start'],_0xc493de['end']['offset']-_0xc493de['start']['offset']);null!=_0x365fdd?_0x1596ea['markers']['set'](_0x151712,_0x365fdd):_0x1596ea['markers']['delete'](_0x151712);}}class AIReply extends _0x18fa86(){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new ua([]);['parsedMergedContent']=new ua([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['isFromHistory']=!0x1;['documentContextContent'];['documentId'];['dataIdDocumentSources'];['newNodeAnchorIds']=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x4b48a2,content:_0x51d620='',isDone:_0x45a0d7=!0x1,isComplete:_0x107e1d,interactionId:_0x391305,areActionsDisabled:_0x2660f0,isFromHistory:_0x237562=!0x1,documentContextContent:_0x1482cb,dataIdDocumentSources:_0x32a350,documentId:_0x3d84cf,locale:_0x37d0a4,id:_0x3f4500}){super(),this['id']=_0x3f4500||_0x462bc0(),this['interactionId']=_0x391305,this['type']=_0x4b48a2,this['areActionsDisabled']=!!_0x2660f0,this['locale']=_0x37d0a4,this['dataIdDocumentSources']=_0x32a350,this['documentId']=_0x3d84cf,this['isFromHistory']=_0x237562,this['aiResponseParser']=new AIResponseParser(),this['aiResponseApplier']=new AIResponseApplier(),this['documentContextContent']=Za(_0x1482cb||''),this['set']('isDone',_0x45a0d7),this['set']('isComplete',_0x107e1d??_0x45a0d7),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x51d620);}['appendContent'](_0x5db116){this['set']('content',this['content']+_0x5db116);}['done'](_0x18ad20=!0x0){this['isComplete']=_0x18ad20,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x4b7916,_0x398ba4){this['changeGroups'][_0x4b7916]['state']=_0x398ba4,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x4b7916,'state':_0x398ba4});}['getContentParts']({showDiff:_0x2b052c,groupIndex:_0x23fe15,editor:_0x307240}){const _0x5b2333=this['_getCachedContentParts'](_0x2b052c,_0x23fe15);if(_0x5b2333)return _0x5b2333;let _0x208a52=[];if(void 0x0===_0x23fe15)_0x208a52=this['changeGroups'];else{const _0x36ddb6=this['changeGroups']['find'](({index:_0x18f86a})=>_0x18f86a===_0x23fe15);if(!_0x36ddb6)throw new _0x3ae0e8('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x23fe15});_0x208a52=[_0x36ddb6];}const _0x53678a=Kd({'editor':_0x307240,'showDiff':_0x2b052c,'changeGroups':_0x208a52,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x2b052c,_0x53678a),_0x53678a;}['_getCachedContentParts'](_0x19a1a5,_0x2523ff){const _0x5858ba=_0x19a1a5?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x5858ba]['length'])return null;const _0x855e19=this['cachedSuggestionContentParts'][_0x5858ba];if(void 0x0===_0x2523ff)return _0x855e19['length']>0x0&&_0x855e19['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x19a1a5,null),null):kr(_0x855e19);{const _0x2343e=_0x855e19['find'](({index:_0x27aba8})=>_0x27aba8===_0x2523ff);if(_0x2343e)return[kr(_0x2343e)];}return null;}['_setCachedContentParts'](_0x5e2433,_0x5c8f56){const _0x19feaf=_0x5e2433?'withDiff':'withoutDiff';_0x5c8f56?_0x5c8f56['forEach'](_0x4104df=>{const _0x4cf4bd=this['cachedSuggestionContentParts'][_0x19feaf],_0x6fb2ee=_0x4cf4bd['find'](({index:_0x42cc2a})=>_0x42cc2a===_0x4104df['index']);if(_0x6fb2ee){const _0x2e396a=_0x4cf4bd['indexOf'](_0x6fb2ee);_0x4cf4bd['splice'](_0x2e396a,0x1,_0x4104df);}else _0x4cf4bd['push'](_0x4104df);}):this['cachedSuggestionContentParts'][_0x19feaf]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x12b5e1=this['changeGroups'];this['updateChangeGroups']();const _0x3ae7d6=this['_getDifferentChangeGroups'](_0x12b5e1,this['changeGroups']);(_0x3ae7d6['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x3ae7d6),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x29ea72,_0x3dff6a){const _0x3b1ffc=[];for(const _0x2210f3 of _0x3dff6a){const _0x3d3e71=_0x29ea72[_0x2210f3['index']];_0x3d3e71?_0x3d3e71['changes']['length']!==_0x2210f3['changes']['length']?_0x3b1ffc['push'](_0x2210f3):_0x3d3e71['changes']['forEach']((_0x5df3fa,_0x3174b5)=>{const _0x3788a9=_0x2210f3['changes'][_0x3174b5];_0x5df3fa['id']!==_0x3788a9['id']&&_0x3b1ffc['push'](_0x2210f3);}):_0x3b1ffc['push'](_0x2210f3);}return _0x3b1ffc;}['updateChangeGroups'](){const _0x4008d6=this['locale']?new da('p',{},[new da('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new la(Oo(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]):void 0x0,_0x2c9780=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x4008d6,'cutAfterLastChange':!this['isDone']||!this['isComplete']});if(!_0x2c9780['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x2c9780['parsedContent'],this['newNodeAnchorIds']=_0x2c9780['newAnchorIds'];let _0x5c6b0c=[];if(Ga(_0x13c6e0=>{const _0x507194=Ya(_0x13c6e0,'data-id');if(!_0x507194||!_0x127594(_0x507194))return!0x1;const _0x1d12cd=[_0x13c6e0,...tc(_0x13c6e0)]['at'](-0x2);if(_0x13c6e0!=_0x1d12cd){const _0x2772fd=Ya(_0x1d12cd,'data-id');_0x127594(_0x2772fd)||(_0x5c6b0c['push']({'node':_0x1d12cd,'id':_0x2772fd,'type':'modified'}),_0x2c9780['modifiedNodeIds']['push'](_0x2772fd));}else _0x2c9780['modifiedNodeIds']['includes'](_0x507194)?_0x5c6b0c['push']({'node':_0x13c6e0,'type':'modified','id':_0x507194}):_0x2c9780['newNodeIds']['includes'](_0x507194)?_0x5c6b0c['push']({'node':_0x13c6e0,'type':'new','id':_0x507194,'anchorId':Ya(_0x13c6e0['previousSibling'],'data-id')}):_0x5c6b0c['push']({'node':_0x13c6e0,'type':'removed','id':_0x507194});return!0x0;},this['parsedMergedContent']),_0x5c6b0c=_0x5c6b0c['filter'](({node:_0x3a46ba})=>[...tc(_0x3a46ba),_0x3a46ba]['every'](_0x2b8fa2=>!Ya(_0x2b8fa2,'data-unstable'))),0x0==_0x5c6b0c['length'])return;const _0x2065ef=[[_0x5c6b0c[0x0]]];for(let _0x1350c8=0x1;_0x1350c8<_0x5c6b0c['length'];_0x1350c8++){const _0x485468=_0x2065ef[_0x2065ef['length']-0x1],_0x42c4f4=_0x485468[_0x485468['length']-0x1];_0x5c6b0c[_0x1350c8]['node']['previousSibling']==_0x42c4f4['node']&&'modified'!=_0x5c6b0c[_0x1350c8]['type']&&'modified'!=_0x42c4f4['type']&&this['_isSameDocument'](_0x5c6b0c[_0x1350c8]['node'],_0x42c4f4['node'])?_0x485468['push'](_0x5c6b0c[_0x1350c8]):_0x2065ef['push']([_0x5c6b0c[_0x1350c8]]);}for(const _0xe2ced2 of _0x2065ef){const _0x3fb277=_0xe2ced2[0x0],_0x262c59=_0xe2ced2[_0xe2ced2['length']-0x1],_0x35b4fb=_0x3b54f3(_0x3fb277['node']['previousSibling']);_0x35b4fb&&this['_isSameDocument'](_0x35b4fb['node'],_0x3fb277['node'])&&_0xe2ced2['unshift'](_0x35b4fb);const _0x2d5146=_0x3b54f3(_0x262c59['node']['nextSibling']);_0x2d5146&&this['_isSameDocument'](_0x2d5146['node'],_0x262c59['node'])&&_0xe2ced2['push'](_0x2d5146);}function _0x127594(_0x17ffc0){return _0x2c9780['modifiedNodeIds']['includes'](_0x17ffc0)||_0x2c9780['newNodeIds']['includes'](_0x17ffc0)||_0x2c9780['removedNodeIds']['includes'](_0x17ffc0);}function _0x3b54f3(_0x1be7c8){if(_0x1be7c8&&Ya(_0x1be7c8,'data-id')&&!Ya(_0x1be7c8,'data-unstable')){const _0x1b286c=Ya(_0x1be7c8,'data-id');if(!_0x127594(_0x1b286c))return{'node':_0x1be7c8,'type':'context','id':_0x1b286c};}return null;}this['changeGroups']=_0x2065ef['map']((_0x53910d,_0xd7f384)=>({'changes':_0x53910d,'state':'pending','index':_0xd7f384}));}['_isSameDocument'](_0x15eb20,_0x3580a2){if(!this['dataIdDocumentSources']?.['size'])return!0x0;const _0x3c3144=this['_resolveDocumentSource'](_0x15eb20),_0x48b32f=this['_resolveDocumentSource'](_0x3580a2);return!_0x3c3144||!_0x48b32f||_0x3c3144['editor']===_0x48b32f['editor']&&_0x3c3144['rootName']===_0x48b32f['rootName'];}['_resolveDocumentSource'](_0xc6b720){if(!_0xc6b720||!this['dataIdDocumentSources'])return;const _0x1adc33=Ya(_0xc6b720,'data-id');if(_0x1adc33){const _0x2e175a=this['dataIdDocumentSources']['get'](_0x1adc33);if(_0x2e175a)return _0x2e175a;const _0x1587cc=this['newNodeAnchorIds']['get'](_0x1adc33),_0x50d537=_0x1587cc?this['dataIdDocumentSources']['get'](_0x1587cc):void 0x0;if(_0x50d537)return _0x50d537;}for(let _0x52dfd=_0xc6b720['previousSibling'];_0x52dfd;_0x52dfd=_0x52dfd['previousSibling']){const _0x5d2c89=Ya(_0x52dfd,'data-id'),_0x5504f8=_0x5d2c89?this['dataIdDocumentSources']['get'](_0x5d2c89):void 0x0;if(_0x5504f8)return _0x5504f8;}for(let _0x3dada0=_0xc6b720['nextSibling'];_0x3dada0;_0x3dada0=_0x3dada0['nextSibling']){const _0x2d759c=Ya(_0x3dada0,'data-id'),_0x154a87=_0x2d759c?this['dataIdDocumentSources']['get'](_0x2d759c):void 0x0;if(_0x154a87)return _0x154a87;}}}const rf=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x14630b(){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x252e1c,locale:_0x375dea}){super(),this['id']=_0x462bc0(),this['connector']=_0x252e1c,this['isStopped']=!0x0,this['locale']=_0x375dea;}async['start'](){const _0x4557e2=[];let _0x436f6a,_0x27cd5c,_0x40e847,_0x47f924=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x198a40=await this['currentRequest']['getStream']();for await(const _0x5c9dcd of _0x198a40){if(this['isStopped'])return;if('error'==_0x5c9dcd['event'])return void this['fire']('error',{'error':new _0x3ae0e8('ai-chat-interaction-error',this)});switch(_0x5c9dcd['event']){case'message-metadata':this['messageId']=_0x5c9dcd['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x5c9dcd['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x5c9dcd['data']['conversationTitle'],!0x0);break;case'source':_0x4557e2['push'](_0x5c9dcd['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'](),_0x436f6a='modification-delta'==_0x5c9dcd['event']?'modification':'text',_0x27cd5c='modification-delta'==_0x5c9dcd['event']?_0x5c9dcd['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x436f6a&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']?'modification-delta'==_0x5c9dcd['event']&&(this['currentReply']['documentId']=_0x5c9dcd['data']['documentId']):(this['currentReply']=this['createReply']({'type':_0x436f6a,'interactionId':this['id'],'id':_0x27cd5c,...'modification-delta'==_0x5c9dcd['event']&&{'documentId':_0x5c9dcd['data']['documentId']}}),'modification'==_0x436f6a&&(this['currentReply']['sources']=_0x4557e2['splice'](0x0))),this['currentReply']['appendContent'](_0x5c9dcd['data']['textDelta']);break;case'mcp-tool-result':_0x40e847=JSON['parse'](_0x5c9dcd['data']['result']),this['_handleToolResultData']({'toolName':_0x5c9dcd['data']['toolName'],'data':_0x40e847['data'],'attributes':_0x40e847['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x5c9dcd['data']['toolName'],'data':_0x5c9dcd['data']['data']});}}_0x47f924=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x4557e2['length']>0x0&&(this['currentReply']['sources']=_0x4557e2['splice'](0x0)),this['_finalizeInteraction'](_0x47f924),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x29630e){return this['replies']['find'](_0x411bdf=>_0x411bdf['id']===_0x29630e);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x40c1b8=>_0x40c1b8['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x3e0f42){const _0x39a521=new AIReply({'locale':this['locale'],'documentContextContent':this['getDocumentContext']()?.['content'],'dataIdDocumentSources':this['getDocumentContext']()?.['dataIdDocumentSources'],..._0x3e0f42});return this['replies']['push'](_0x39a521),_0x39a521['delegate'](...rf)['to'](this),this['fire']('replyCreated',_0x39a521),_0x39a521;}['setConversationTitle'](_0x2d96db,_0x44f1d0=!0x1){this['fire']('setConversationTitle',_0x2d96db,_0x44f1d0);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x39be9e){this['fire']('toolDataReceived',{'type':'result','toolName':_0x39be9e['toolName'],'data':structuredClone(_0x39be9e['data']||{}),'attributes':structuredClone(_0x39be9e['attributes']||{})},this);}['_handleToolNotificationData'](_0x521e90){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x521e90['toolName'],'data':structuredClone(_0x521e90['data'])},this);}['_finalizeInteraction'](_0x4737cf=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x4737cf),this['currentRequest']=this['currentReply']=void 0x0;}}const of=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']]),af=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0x18fa86(){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x16dc3b,config:_0x5a2c3a,ownerId:_0x449781}){super(),this['_connector']=_0x16dc3b,this['_config']=_0x5a2c3a,this['_ownerId']=_0x449781;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_documentSources']=new Map(),this['_dataIdToSource']=new Map(),this['_setAddContextOptionsDefaultState']();}['_getDocumentSource'](_0x36ea40){if(_0x36ea40)return this['_documentSources']['get'](_0x36ea40);}['getSourceByDataId'](_0x4a8381){if(_0x4a8381)return this['_dataIdToSource']['get'](_0x4a8381);}['_getDocumentContextSlice'](_0x1d0c53){const _0xe15274=this['_getDocumentSource'](_0x1d0c53);if(_0xe15274)return{'editor':_0xe15274['editor'],'rootName':_0xe15274['rootName'],'html':_0xe15274['content'],'version':_0xe15274['version']};}['getDocumentContextSliceByDataId'](_0x412061){const _0x48a936=this['getSourceByDataId'](_0x412061);return _0x48a936?this['_getDocumentContextSlice'](_0x48a936['documentId']):void 0x0;}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x4358ed){const _0x1aee3d=await this['_createContextItemFromContent'](_0x4358ed);return this['_addToConversationContextItem'](_0x1aee3d),'current-document'===_0x1aee3d['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x1aee3d;}async['populateDocumentsFromMessage'](_0x5c3cc1,_0x5c50d9){const _0x5ed697=_0x5c3cc1['filter'](_0x5e901f=>'document'===_0x5e901f['type']);if(0x0===_0x5ed697['length'])return{'hasUnmatched':!0x1};if(0x1===_0x5ed697['length'])return{'contextItem':await this['populateFromMessage'](_0x5ed697[0x0]),'hasUnmatched':!0x1};const _0x1cb948=_0x5ed697['map'](_0x28de74=>_0x28de74['id']),_0x1329fd=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x1cb948)['getDocuments'](),_0x281480=new Map(_0x1329fd['map'](_0x151633=>[_0x151633['id'],_0x151633]));this['_documentSources']['clear'](),this['_dataIdToSource']['clear']();const _0x49a263=[];let _0x1916ea=!0x1;for(const _0x86dbd1 of _0x5ed697){const _0x468a36=_0x281480['get'](_0x86dbd1['id']);if(!_0x468a36)continue;const _0x271c19=this['_matchDocumentToRoot'](_0x468a36,_0x5c50d9),_0x4358e6=_0x5c50d9[0x0]&&this['_getFirstRoot'](_0x5c50d9[0x0]);_0x271c19||(_0x1916ea=!0x0);const _0x408c00=_0x271c19?.['editor']??_0x4358e6?.['editor'],_0x3e3e9a=_0x271c19?.['rootName']??_0x4358e6?.['rootName'];if(_0x408c00&&_0x3e3e9a){const _0x10239c={'editor':_0x408c00,'rootName':_0x3e3e9a,'content':_0x468a36['content'],'version':_0x468a36['attributes']?.['version']??0x0,'name':_0x468a36['name'],'description':_0x468a36['description']};this['_documentSources']['set'](_0x468a36['id'],_0x10239c);const _0x463079=Za(_0x468a36['content']);for(const _0x18f108 of Ga(_0x408c69=>!!Ya(_0x408c69,'data-id'),_0x463079)){const _0x1de771=Ya(_0x18f108,'data-id');_0x1de771&&this['_dataIdToSource']['set'](_0x1de771,{..._0x10239c,'documentId':_0x468a36['id']});}}_0x49a263['push']({'id':_0x468a36['id'],'content':_0x468a36['content'],'version':_0x468a36['attributes']?.['version']??0x0,'sessionId':_0x468a36['attributes']?.['sessionId']??null,'selection':[]});}const _0x432c30={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0x49a263,'dataIdDocumentSources':new Map(this['_dataIdToSource'])};return this['_addToConversationContextItem'](_0x432c30),this['_toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x432c30,'hasUnmatched':_0x1916ea};}['_matchDocumentToRoot'](_0x7f137b,_0x1b3a09){const _0x5503f5=_0x7f137b['attributes']?.['channelId'],_0x32d5b9=_0x7f137b['attributes']?.['rootName'];if(_0x5503f5&&_0x32d5b9){for(const _0x2fd63 of _0x1b3a09)if(_0x2fd63['config']['get']('collaboration.channelId')===_0x5503f5){for(const _0x5798db of _0x2fd63['model']['document']['getRoots']())if('$graveyard'!==_0x5798db['rootName']&&_0x5798db['rootName']===_0x32d5b9)return{'editor':_0x2fd63,'rootName':_0x5798db['rootName']};}}}['_getFirstRoot'](_0x5ca243){for(const _0xeae208 of _0x5ca243['model']['document']['getRoots']())if('$graveyard'!==_0xeae208['rootName'])return{'editor':_0x5ca243,'rootName':_0xeae208['rootName']};}async['_createContextItemFromContent'](_0x40f6fe){if('document'===_0x40f6fe['type']){const _0x2f1b2c=await this['_connector']['fetchDocument'](this['_ownerId'],_0x40f6fe['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x40f6fe['type'],'content':_0x2f1b2c['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x2f1b2c['attributes']?.['version'],'sessionId':_0x2f1b2c['attributes']?.['sessionId']};}if('mcp-tool-context'===_0x40f6fe['type'])return{'id':_0x40f6fe['id'],'uiId':_0x40f6fe['id'],'label':_0x40f6fe['data']?.['label']||_0x40f6fe['id'],'type':'mcp-tool-context','mcpServerName':_0x40f6fe['mcpServerName'],'toolName':_0x40f6fe['toolName'],'data':_0x40f6fe['data']||{}};return{'id':_0x40f6fe['id'],'uiId':_0x40f6fe['id'],'label':_0x40f6fe['attributes']?.['label']||_0x40f6fe['name']||_0x40f6fe['url']||_0x40f6fe['id'],'type':_0x40f6fe['type'],..._0x40f6fe?.['attributes']?.['resourceId']?{'resourceId':_0x40f6fe['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0xf707f7){const _0x4d6e9b=this['_pendingContextItems']['get'](_0xf707f7);_0x4d6e9b?.['isReadOnly']||this['_removeContextItem'](_0xf707f7);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x2d12f6 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x2d12f6['uiId']);const _0x4f453d=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x4f453d&&this['_addContextItem']({..._0x4f453d,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x241c42){for(const _0x3f7643 of _0x241c42['values']())this['_addToConversationContextItem'](_0x3f7643);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'](_0x21500c){return Array['from'](_0x21500c['values']())['flatMap'](_0x4a92f8=>this['_mapContextItemToRequestData'](_0x4a92f8));}async['addFilesToContext'](_0x250ba9,_0x3ecdfc,_0x31d4ba='file'){const _0x9153b9='files-'+_0x462bc0();this['_startUploadOperation'](_0x9153b9);try{await Promise['all'](_0x250ba9['map'](async _0x1dba15=>{const _0x74df22='file-'+_0x462bc0(),_0x3e3981=io(_0x1dba15['name']);try{this['_addContextItem']({'type':_0x31d4ba,'label':_0x3ecdfc?.['label']||_0x3e3981,'uiId':_0x74df22,'resourceId':_0x3ecdfc?.['resourceId']},!0x0);const _0x4e1ea5=this['_connector']['uploadFile'](this['_ownerId'],_0x1dba15,_0x3ecdfc);this['_ongoingUploads']['set'](_0x74df22,_0x4e1ea5['abortController']);const {id:_0x2f41e4}=await _0x4e1ea5['getId']();this['_ongoingUploads']['delete'](_0x74df22),this['_finishContextItemLoading']({'type':_0x31d4ba,'id':_0x2f41e4,'label':_0x3ecdfc?.['label']||_0x3e3981,'uiId':_0x74df22,'resourceId':_0x3ecdfc?.['resourceId']},!0x1);}catch(_0x53b42d){this['_ongoingUploads']['delete'](_0x74df22);if(!(_0x53b42d instanceof _0x3ae0e8&&_0x53b42d['message']['startsWith']('ai-request-aborted'))){const _0x3942d0=of['get'](_0x53b42d['code'])||'ai-chat-file-upload-failed',_0xa7276=new _0x3ae0e8(_0x3942d0,null,{'fileName':_0x3e3981,..._0x53b42d});_0xa7276['stack']=_0x53b42d['stack'],this['fire']('error',{'error':_0xa7276});}this['_removeContextItem'](_0x74df22);}}));}finally{this['_finishUploadOperation'](_0x9153b9);}}['addCurrentDocumentToContext'](_0x3b6bf2){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x4b5c5b={'type':'document','uiId':'current-document','label':_0x3b6bf2,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x4b5c5b);}async['updateCurrentDocument'](_0x57b0f4,_0x3aca0d,_0x32e7c4,_0x5a48e8,_0x587f01,_0x52c9ff){const _0x2d6a60=this['_pendingContextItems']['get']('current-document');if(_0x2d6a60&&_0x57b0f4){_0x2d6a60['selection']=_0x52c9ff?_0x52c9ff['map'](_0x258329=>({'start':_0x258329['start'],'end':_0x258329['end']})):[];try{if(_0x2d6a60['version']===_0x3aca0d)return;const {id:_0x55564f}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x57b0f4,{'version':_0x3aca0d,'sessionId':_0x32e7c4,'channelId':_0x5a48e8,'rootName':_0x587f01})['getId']();_0x2d6a60['id']=_0x55564f,_0x2d6a60['content']=_0x57b0f4,_0x2d6a60['version']=_0x3aca0d,_0x2d6a60['sessionId']=_0x32e7c4;}catch(_0x236155){const _0xbfeb4e=new _0x3ae0e8('ai-chat-document-upload-failed',null);_0xbfeb4e['stack']=_0x236155['stack'],this['fire']('error',{'error':_0xbfeb4e});}}}async['updateCurrentDocuments'](_0x40764f){const _0x1fff2d=this['_pendingContextItems']['get']('current-document');if(!_0x1fff2d||!_0x40764f['length']||_0x40764f['every'](_0x5d4f93=>!_0x5d4f93['content']))return;_0x40764f['length']>0x1&&_0x40764f['some'](_0x4895dd=>!_0x4895dd['description'])&&_0x5eb6e4('ai-chat-documents-missing-description');const _0x580776=_0x4404a3=>_0x4404a3?_0x4404a3['map'](_0x7716c5=>({'start':_0x7716c5['start'],'end':_0x7716c5['end']})):[],_0x4da1b0=_0x1fff2d['documents']??[],_0x5a50b6=_0x4da1b0['length']===_0x40764f['length']&&_0x40764f['every']((_0x31a7fc,_0x4bd769)=>_0x4da1b0[_0x4bd769]?.['version']===_0x31a7fc['version']);if(_0x5a50b6)_0x1fff2d['documents']=_0x4da1b0['map']((_0x484bdd,_0x4a8fee)=>({..._0x484bdd,'selection':_0x580776(_0x40764f[_0x4a8fee]['selections'])}));else try{const _0x3ba63f=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x40764f)['getIds']();_0x1fff2d['documents']=_0x40764f['map']((_0x1380b9,_0x3339e8)=>({'id':_0x3ba63f[_0x3339e8]?.['id'],'content':_0x1380b9['content'],'version':_0x1380b9['version'],'sessionId':_0x1380b9['sessionId'],'selection':_0x580776(_0x1380b9['selections'])})),this['_documentSources']['clear'](),this['_dataIdToSource']['clear']();for(let _0x43d8d8=0x0;_0x43d8d8<_0x40764f['length'];_0x43d8d8++){const _0x318cd4=_0x3ba63f[_0x43d8d8]?.['id'],_0x6a15fb=_0x40764f[_0x43d8d8];if(!_0x318cd4)continue;const _0x19d314={'editor':_0x6a15fb['editor'],'rootName':_0x6a15fb['rootName'],'content':_0x6a15fb['content'],'version':_0x6a15fb['version'],'name':_0x6a15fb['name'],'description':_0x6a15fb['description']};this['_documentSources']['set'](_0x318cd4,_0x19d314);const _0x77c614=Za(_0x6a15fb['content']);for(const _0x20861b of Ga(_0x53ab26=>!!Ya(_0x53ab26,'data-id'),_0x77c614)){const _0x2080d3=Ya(_0x20861b,'data-id');_0x2080d3&&this['_dataIdToSource']['set'](_0x2080d3,{..._0x19d314,'documentId':_0x318cd4});}}_0x1fff2d['dataIdDocumentSources']=new Map(this['_dataIdToSource']);}catch(_0x27ebc9){const _0x50c14e=new _0x3ae0e8('ai-chat-document-upload-failed',null);_0x50c14e['stack']=_0x27ebc9['stack'],this['fire']('error',{'error':_0x50c14e});}}['addSelectionToContext'](_0x54c2cd){this['_addContextItem']({'type':'selection','label':_0x54c2cd,'uiId':'selection','content':_0x54c2cd});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x3ddd26,_0x7ee31e){const _0x1bf358='url-'+_0x462bc0();this['_startUploadOperation'](_0x1bf358);const _0x163522='url-'+_0x462bc0();try{this['_addContextItem']({'type':'web-resource','label':_0x7ee31e?.['label']||_0x3ddd26,'uiId':_0x163522,'resourceId':_0x7ee31e?.['resourceId']},!0x0);const _0x26aba9=this['_connector']['uploadUrl'](this['_ownerId'],_0x3ddd26,_0x7ee31e);this['_ongoingUploads']['set'](_0x163522,_0x26aba9['abortController']);const {id:_0x4feff4}=await _0x26aba9['getId']();this['_ongoingUploads']['delete'](_0x163522),this['_finishContextItemLoading']({'type':'web-resource','id':_0x4feff4,'label':_0x7ee31e?.['label']||_0x3ddd26,'uiId':_0x163522,'resourceId':_0x7ee31e?.['resourceId']},!0x1);}catch(_0x55da37){this['_ongoingUploads']['delete'](_0x163522),(_0x55da37['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x3ae0e8('ai-chat-url-upload-failed',this,{'url':_0x3ddd26,'originalError':_0x55da37}),'url':_0x3ddd26}),this['_removeContextItem'](_0x163522));}finally{this['_finishUploadOperation'](_0x1bf358);}}['addToolItemToContext'](_0x18b02d){_0x18b02d['id']=_0x18b02d['id']??_0x462bc0()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x18b02d['uiId'],_0x18b02d),this['fire']('contextItemAdded',{'contextItem':_0x18b02d,'isLoading':!0x1});}async['loadSourceResources'](_0x20f6ec,_0x35df8b,_0x2b2a0c){const _0x172cb4=this['_addContextOptionsState']['sources']['find'](_0x368da3=>_0x368da3['id']===_0x20f6ec);if(!_0x172cb4)return this['fire']('error',{'error':new _0x3ae0e8('ai-chat-source-not-found',this,{'sourceId':_0x20f6ec}),'sourceId':_0x20f6ec}),[];try{const _0x9853dd=(await _0x172cb4['getResources'](_0x35df8b))['map'](_0x5f484f=>{const _0x36b28a=this['_isResourceInContext'](_0x5f484f['id']);return{..._0x5f484f,'isInContext':_0x36b28a};});return _0x172cb4['resources']=_0x9853dd,this['fire']('sourceResourcesLoaded',{'sourceId':_0x20f6ec,'source':_0x172cb4,'resources':_0x9853dd,'uid':_0x2b2a0c}),_0x9853dd;}catch(_0x11bdc0){return this['fire']('error',{'error':new _0x3ae0e8('ai-chat-source-resources-load-failed',this,{'sourceId':_0x20f6ec,'originalError':_0x11bdc0}),'sourceId':_0x20f6ec,'sourceLabel':_0x172cb4['label']}),[];}}async['addResourceToContext'](_0x9e6e06,_0x414a12){if(this['_isResourceInContext'](_0x414a12['id']))return;let _0x24f297=_0x414a12['data'];if(!_0x24f297&&_0x9e6e06['getData'])try{_0x24f297=await _0x9e6e06['getData'](_0x414a12['id']);}catch(_0x3269bc){return void this['fire']('error',{'error':new _0x3ae0e8('ai-chat-resource-load-failed',this,{'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id'],'originalError':_0x3269bc}),'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']});}if(_0x24f297)switch(_0x414a12['type']){case'web-resource':if('string'!=typeof _0x24f297)return void this['fire']('error',{'error':new _0x3ae0e8('ai-chat-context-invalid-data',this,{'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id'],'expectedType':'string','actualType':typeof _0x24f297}),'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']});await this['addUrlToContext'](_0x24f297,{'label':_0x414a12['label'],'resourceId':_0x414a12['id']});break;case'file':if(!(_0x24f297 instanceof File))return void this['fire']('error',{'error':new _0x3ae0e8('ai-chat-context-invalid-data',this,{'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id'],'expectedType':'File','actualType':typeof _0x24f297}),'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']});await this['addFilesToContext']([_0x24f297],{'label':_0x414a12['label'],'resourceId':_0x414a12['id']});break;case'text':if('object'!=typeof _0x24f297||!('content'in _0x24f297)||!('type'in _0x24f297))return void this['fire']('error',{'error':new _0x3ae0e8('ai-chat-context-invalid-data',this,{'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x24f297}),'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']});_0x24f297=AIChatContext['_convertTextResourceToFile'](_0x24f297,_0x414a12['label']),await this['addFilesToContext']([_0x24f297],{'label':_0x414a12['label'],'resourceId':_0x414a12['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x3ae0e8('ai-chat-context-unsupported-type',this,{'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id'],'resourceType':_0x414a12['type']}),'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']});}else this['fire']('error',{'error':new _0x3ae0e8('ai-chat-resource-no-data',this,{'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']}),'resourceId':_0x414a12['id'],'sourceId':_0x9e6e06['id']});}static['_convertTextResourceToFile'](_0x2e5c3f,_0x42d1d9){switch(_0x2e5c3f['type']){case'markdown':return new File([_0x2e5c3f['content']],_0x42d1d9,{'type':'text/markdown'});case'html':return new File([_0x2e5c3f['content']],_0x42d1d9,{'type':'text/html'});default:return new File([_0x2e5c3f['content']],_0x42d1d9,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x4ea721){switch(_0x4ea721['type']){case'file':case'text':return[{'type':'file','id':_0x4ea721['id']}];case'web-resource':return[{'type':'web-resource','id':_0x4ea721['id']}];case'document':return _0x4ea721['documents']?.['length']?_0x4ea721['documents']['map'](_0x26c395=>({'type':'document','id':_0x26c395['id'],..._0x26c395['selection']?.['length']&&{'selection':_0x26c395['selection']}})):[{'type':'document','id':_0x4ea721['id'],..._0x4ea721['selection']?.['length']&&{'selection':_0x4ea721['selection']}}];case'mcp-tool-context':{const _0x5fdf3d=_0x4ea721;return[{'type':'mcp-tool-context','mcpServerName':_0x5fdf3d['mcpServerName'],'toolName':_0x5fdf3d['toolName'],'data':{..._0x5fdf3d['data'],'label':_0x5fdf3d['label']||_0x5fdf3d['data']?.['label']||_0x5fdf3d['id']},'id':_0x5fdf3d['id']}];}default:return[];}}['_addContextItem'](_0x5e751c,_0x16b410=!0x1){if(this['_pendingContextItems']['set'](_0x5e751c['uiId'],_0x5e751c),_0x5e751c['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x5e751c,'isLoading':_0x16b410}),'current-document'===_0x5e751c['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x5e751c['resourceId']){const _0xae20fc=this['_findSourceIdsByResourceId'](_0x5e751c['resourceId']);_0xae20fc&&_0xae20fc['forEach'](_0x5e2f6e=>{this['_updateResourceInContextState'](_0x5e2f6e,_0x5e751c['resourceId'],!0x0);});}}['_removeContextItem'](_0x10bb51){const _0xcdd1a7=this['_pendingContextItems']['get'](_0x10bb51),_0x2b59ed=this['_ongoingUploads']['get'](_0x10bb51);if(_0x2b59ed&&(_0x2b59ed['abort'](),this['_ongoingUploads']['delete'](_0x10bb51)),_0xcdd1a7?.['resourceId']){const _0x332906=this['_findSourceIdsByResourceId'](_0xcdd1a7['resourceId']);_0x332906&&_0x332906['forEach'](_0x3809b5=>{this['_updateResourceInContextState'](_0x3809b5,_0xcdd1a7['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x10bb51),this['fire']('contextItemRemoved',{'uiId':_0x10bb51,'type':_0xcdd1a7?.['type']}),'current-document'===_0x10bb51&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x2d9e7f,_0x2384e5){if(this['_pendingContextItems']['has'](_0x2d9e7f['uiId'])&&(this['_pendingContextItems']['set'](_0x2d9e7f['uiId'],_0x2d9e7f),this['fire']('contextItemLoadingEnded',{'contextItem':_0x2d9e7f,'isLoading':_0x2384e5}),_0x2d9e7f['resourceId'])){const _0x5cc342=this['_findSourceIdsByResourceId'](_0x2d9e7f['resourceId']);_0x5cc342&&_0x5cc342['forEach'](_0x62ffc2=>{this['_updateResourceInContextState'](_0x62ffc2,_0x2d9e7f['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x26709b){this['_conversationContextItems']['set'](_0x26709b['uiId'],_0x26709b);}['_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'](_0x1c1c7e=>({..._0x1c1c7e,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x241ddc=>({..._0x241ddc,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x3cf90c=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x3cf90c,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x1b58eb){for(const _0x2933b6 of this['_pendingContextItems']['values']())if(_0x2933b6['resourceId']===_0x1b58eb)return!0x0;for(const _0x34545f of this['_conversationContextItems']['values']())if(_0x34545f['resourceId']===_0x1b58eb)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x363581){const _0x30c10f=[];for(const _0x410f42 of this['_addContextOptionsState']['sources']){_0x410f42['resources']['find'](_0x4e9701=>_0x4e9701['id']===_0x363581)&&_0x30c10f['push'](_0x410f42['id']);}return 0x0===_0x30c10f['length']?null:_0x30c10f;}['_updateResourceInContextState'](_0x2533cc,_0x97c0f4,_0x2f231f){const _0x5d830f=this['_addContextOptionsState']['sources']['find'](_0x225438=>_0x225438['id']===_0x2533cc);if(!_0x5d830f)return;const _0x592385=_0x5d830f['resources']['find'](_0x28b7b8=>_0x28b7b8['id']===_0x97c0f4);_0x592385&&(_0x592385['isInContext']=_0x2f231f,this['fire']('resourceStateChanged',{'sourceId':_0x2533cc,'resourceId':_0x97c0f4,'isInContext':_0x2f231f}));}['_startUploadOperation'](_0x6b5f9b){this['_ongoingUploadOperations']['set'](_0x6b5f9b,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x3b2c92){this['_ongoingUploadOperations']['delete'](_0x3b2c92),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const cf=['capabilitiesUpdated'];class AICapabilities extends _0x14630b(){['_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'](_0x195ccc){const _0x3d1349={};return _0x195ccc&&_0x195ccc['isWebSearchEnabled']&&(_0x3d1349['webSearch']={}),_0x195ccc&&_0x195ccc['isReasoningEnabled']&&(_0x3d1349['reasoning']={}),_0x3d1349;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x3af79e){_0x3af79e!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x3af79e,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x223526){_0x223526!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x223526,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x23cfea){super(_0x23cfea),this['conversationId']=_0x23cfea['conversationId'],this['contextItems']=_0x23cfea['contextItems'],this['capabilities']=_0x23cfea['capabilities'],this['userMessage']=_0x23cfea['userMessage'],this['model']=_0x23cfea['model'],this['attributes']=_0x23cfea['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');}['createReply'](_0x2ab4be){const _0x4e3792=this['getDocumentContext']();if(_0x4e3792?.['documents']?.['length']){const _0x19abbb=_0x4e3792['documents']['map'](_0x71b7b1=>_0x71b7b1['content']??'')['join']('');if(_0x19abbb)return super['createReply']({'documentContextContent':_0x19abbb,..._0x2ab4be});}return super['createReply'](_0x2ab4be);}}class AIChatConversation extends _0x14630b(){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x3dd00a){super(),this['options']=_0x3dd00a,this['connector']=_0x3dd00a['connector'],this['chatModels']=_0x3dd00a['chatModels'],this['id']=_0x3dd00a['conversationId'],this['isFromHistory']=_0x3dd00a['isFromHistory'];}async['init'](_0x131a3f){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x131a3f,'ownerId':this['id']}),this['chatContext']['delegate'](...af)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](...cf)['to'](this),this['chatCapabilities']['init']();const _0x48a8c2=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x48a8c2});const _0x5cbce9=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x5cbce9&&await this['setModel'](_0x5cbce9);}catch(_0x47c7b4){const _0x44c960=new _0x3ae0e8('ai-chat-conversation-init-failed',null,{'message':_0x47c7b4['message']||_0x47c7b4});_0x44c960['stack']=_0x47c7b4['stack'],this['fire']('error',{'error':_0x44c960});}}async['start'](){if(this['isStarted'])throw new _0x3ae0e8('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x3ae0e8('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x269ca2}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x269ca2,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x2276d4){const _0x47ba25=new _0x3ae0e8('ai-chat-conversation-start-failed',null,{'message':_0x2276d4['message'],'conversationId':this['id']});throw _0x47ba25['stack']=_0x2276d4['stack'],this['fire']('error',{'error':_0x47ba25}),_0x47ba25;}}async['load'](_0x291548,_0x576d0c){try{const _0x575e5d=await this['connector']['fetchConversation'](_0x291548)['getConversation'](),_0x105b58=await this['connector']['fetchConversationMessages'](_0x291548)['getMessages'](),_0xdd6ff1=_0x105b58[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x575e5d['id'],'title'in _0x575e5d?this['fire']('setConversationTitle',_0x575e5d['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x37951a=(await this['chatModels']['getAll']())['find'](_0x91f99f=>_0x91f99f['id']['toLowerCase']()===_0xdd6ff1['toLowerCase']());return this['selectedModel']=_0x37951a,this['fire']('modelSelected',{'selectedModel':_0x37951a,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x105b58,_0x576d0c,_0xdd6ff1),this['currentInteraction']=void 0x0,this;}catch(_0x5e17a1){const _0x98ef81=new _0x3ae0e8('ai-chat-conversation-init-from-id-failed',null,{'message':_0x5e17a1['message'],'conversationId':_0x291548});throw _0x98ef81['stack']=_0x5e17a1['stack'],this['fire']('error',{'error':_0x98ef81}),_0x98ef81;}}async['_processMessagesToInteractions'](_0x3c5a1b,_0x15de6c,_0x54e7d9){let _0x11d39e,_0x42dac5=!0x1;for(const _0x7c07fd of _0x3c5a1b)if('user'===_0x7c07fd['role']){const {contextItems:_0x4bbf82,hasUnmatched:_0x102fd4}=await this['_extractContextItems'](_0x7c07fd);_0x42dac5=_0x102fd4;const _0x404df7={'isReasoningEnabled':Object['hasOwn'](_0x7c07fd['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x7c07fd['capabilities'],'webSearch')};_0x11d39e=this['createInteraction']({'userMessage':_0x7c07fd['prompt'],'contextItems':_0x4bbf82,'capabilities':_0x404df7,'modelId':_0x54e7d9,'attributes':_0x7c07fd['attributes']}),this['currentInteraction']=_0x11d39e,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x7c07fd['role']&&_0x11d39e){const _0x2d3985=[];for(const _0x450e03 of _0x7c07fd['content'])switch(_0x450e03['type']){case'text':case'modification':{const _0x4fdff3=_0x11d39e['getDocumentContext'](),_0x1c982a=_0x4fdff3?.['documents']?.['length']?_0x4fdff3['documents']['some'](_0x3b0b41=>_0x3b0b41['sessionId']!==_0x15de6c):_0x4fdff3?.['sessionId']!==_0x15de6c,_0x42405c=_0x1c982a||_0x42dac5;_0x11d39e['currentReply']?.['type']!==_0x450e03['type']&&(_0x11d39e['currentReply']=_0x11d39e['createReply']({'type':_0x450e03['type'],'isDone':!0x0,'interactionId':_0x11d39e['id'],'areActionsDisabled':_0x42405c,'isFromHistory':!0x0}),_0x2d3985['length']>0x0&&(_0x11d39e['currentReply']['sources']=_0x2d3985['splice'](0x0))),_0x11d39e['currentReply']['appendContent'](_0x450e03['content']);break;}case'url':_0x2d3985['push'](_0x450e03);break;case'mcp-tool-result':{const {data:_0x1d12af,attributes:_0x31ba91}=JSON['parse'](_0x450e03['content']);_0x11d39e['_handleToolResultData']({'toolName':_0x450e03['toolName'],'data':_0x1d12af,'attributes':_0x31ba91});break;}}}}}async['_extractContextItems'](_0x1a4cb3){const _0x57b13d=new Map();if(!_0x1a4cb3['content'])return{'contextItems':_0x57b13d,'hasUnmatched':!0x1};const _0x598869=this['_resolveEditors'](),{contextItem:_0x18c52f,hasUnmatched:_0x51583e}=await this['chatContext']['populateDocumentsFromMessage'](_0x1a4cb3['content'],_0x598869);_0x18c52f&&_0x57b13d['set'](_0x18c52f['id'],_0x18c52f);for(const _0x3f8d39 of _0x1a4cb3['content']){if('document'===_0x3f8d39['type'])continue;const _0x5d00be=await this['chatContext']['populateFromMessage'](_0x3f8d39);_0x5d00be&&_0x57b13d['set'](_0x5d00be['id'],_0x5d00be);}return{'contextItems':_0x57b13d,'hasUnmatched':_0x51583e};}['_resolveEditors'](){return this['options']['getEditors']?this['options']['getEditors']():this['options']['getEditor']?[this['options']['getEditor']()]:[];}async['handleUserInteraction']({userMessage:_0x502b93,attributes:_0x1282b6}){if(!this['isStarted'])throw new _0x3ae0e8('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x3ae0e8('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x17ead9=this['chatContext']['getPendingContextItems'](),_0x398e39=this['chatCapabilities']['getCapabilitiesConfig'](),_0x52f0b7=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x502b93,'contextItems':_0x17ead9,'capabilities':_0x398e39,'modelId':_0x52f0b7,'attributes':_0x1282b6}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x5e49db){if(_0x5e49db instanceof _0x3ae0e8)this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x5e49db});else{const _0x4386b3=of['get'](_0x5e49db['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x3ae0e8(_0x4386b3,null,{'error':_0x5e49db})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x1b53a4,contextItems:_0x2289f4,capabilities:_0x46208f,modelId:_0x2da0cf,attributes:_0x1a9feb}){const _0x4f5a40=new AIChatInteraction({'userMessage':_0x1b53a4,'contextItems':_0x2289f4,'capabilities':_0x46208f,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x2da0cf,'attributes':_0x1a9feb});return _0x4f5a40['delegate'](...rf)['to'](this),this['interactions']['push'](_0x4f5a40),this['fire']('interactionCreated',_0x4f5a40),_0x4f5a40;}['getInteraction'](_0x303bb3){return this['interactions']['find'](_0x47d06f=>_0x47d06f['id']===_0x303bb3);}['removeInteraction'](_0x2108c6){const _0x371d16=this['getInteraction'](_0x2108c6);_0x371d16&&(_0x371d16['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x371d16),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x1f0bd1){this['chatContext']['addCurrentDocumentToContext'](_0x1f0bd1);}async['updateCurrentDocumentInContext']({content:_0x5f54ec,version:_0x1c016d,sessionId:_0x3bdd0e,channelId:_0x5d7e91,rootName:_0x1c8bdb,selections:_0x1847e3}){await this['chatContext']['updateCurrentDocument'](_0x5f54ec,_0x1c016d,_0x3bdd0e,_0x5d7e91,_0x1c8bdb,_0x1847e3);}async['updateCurrentDocumentsInContext'](_0x21505b){await this['chatContext']['updateCurrentDocuments'](_0x21505b);}['getSourceByDataId'](_0x41595a){return this['chatContext']['getSourceByDataId'](_0x41595a);}['getDocumentContextSliceByDataId'](_0x49d3b5){return this['chatContext']['getDocumentContextSliceByDataId'](_0x49d3b5);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x195b84){this['chatContext']['addSelectionToContext'](_0x195b84);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x40137e){this['chatContext']['addFilesToContext'](_0x40137e);}['addUrlToContext'](_0x3d8f5b){this['chatContext']['addUrlToContext'](_0x3d8f5b);}['addToolItemToContext'](_0x2e90da){this['chatContext']['addToolItemToContext'](_0x2e90da);}['addResourceToContext'](_0x4dea69,_0x3da0b1){this['chatContext']['addResourceToContext'](_0x4dea69,_0x3da0b1);}['loadSourceResources'](_0x4518ae,_0x4a1ad6,_0x20a739){return this['chatContext']['loadSourceResources'](_0x4518ae,_0x4a1ad6,_0x20a739);}['removeFromContext'](_0x2722c5){this['chatContext']['removeFromContext'](_0x2722c5);}['setWebSearch'](_0x401627){this['chatCapabilities']['setWebSearch'](_0x401627);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x266fcc){this['chatCapabilities']['setReasoning'](_0x266fcc);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x408fa5){_0x408fa5?!0x1===await this['chatModels']['isAvailable'](_0x408fa5)&&(_0x5eb6e4('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x408fa5}),_0x408fa5=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x5eb6e4('ai-chat-conversation-set-model-null',{'conversation':this}),_0x408fa5=(await this['chatModels']['getAvailableModels']())[0x0]),_0x408fa5['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x408fa5,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x408fa5}));}}class AIModels extends _0x14630b(){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x135e48,config:_0x154f20,locale:_0x8c8ce5}){super(),this['_connector']=_0x135e48,this['_config']=_0x154f20,this['_locale']=_0x8c8ce5;}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 _0x377771=await this['getAll']();let _0x3647b9;return _0x3647b9=this['_availableModels']?this['_filterModels'](_0x377771,this['_availableModels']):_0x377771['filter'](_0x29a7cd=>_0x29a7cd['recommended']),_0x3647b9;}async['getModel'](_0x156b47){const _0x55ad68=await this['getAll']();if(!_0x55ad68['length'])return null;if(_0x156b47){const _0x2072f1=this['_getModelById'](_0x55ad68,_0x156b47);if(_0x2072f1)return _0x2072f1;_0x5eb6e4('ai-chat-model-id-unrecognized',{'modelId':_0x156b47,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x2b1669=await this['getAvailableModels']();if(!_0x2b1669['length'])return null;if(this['_defaultModelId']){const _0x395819=this['_getModelById'](_0x2b1669,this['_defaultModelId']);if(_0x395819)return _0x395819;_0x5eb6e4('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x2b1669[0x0]['id']});}return _0x2b1669[0x0];}async['isAvailable'](_0x3bf139){return(await this['getAvailableModels']())['some'](_0x361de4=>_0x361de4['name']===_0x3bf139['name']&&_0x361de4['provider']===_0x3bf139['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x273e74=this['_locale']['uiLanguage']||'en',_0x308c3a=this['_connector']['getModels'](_0x273e74),_0x33cfcb=await _0x308c3a['list']();this['_modelList']=_0x33cfcb['items']['map'](_0x39b092=>lf(_0x39b092)?{..._0x39b092,'name':Oo(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x39b092);}catch(_0x19dedf){throw _0x39bd32('ai-models-unable-to-retrieve',{'error':_0x19dedf}),_0x19dedf;}return[...this['_modelList']];}['_filterModels'](_0x4bb658,_0x10b1c8){let _0x13af59;if(_0x10b1c8){_0x13af59=[];const _0x53f12a=new Set(),_0x221e1d='string'==typeof _0x10b1c8?[_0x10b1c8['toLocaleLowerCase']()]:_0x10b1c8['map'](_0x4e0c1a=>_0x4e0c1a['toLocaleLowerCase']());for(const _0x179ec7 of _0x221e1d)for(const _0xfc05bc of _0x4bb658)!_0x53f12a['has'](_0xfc05bc['id'])&&this['_isMatchingFilter'](_0xfc05bc,_0x179ec7)&&(_0x13af59['push'](_0xfc05bc),_0x53f12a['add'](_0xfc05bc['id']));}else _0x13af59=_0x4bb658;return _0x13af59;}['_isMatchingFilter'](_0xdeb724,_0x4ed633){const _0x41f2ac=_0xdeb724['id']['toLocaleLowerCase'](),_0x549a59=_0xdeb724['name']['toLocaleLowerCase'](),_0x2c8917=_0xdeb724['provider']['toLocaleLowerCase']();return _0x41f2ac===_0x4ed633||_0x549a59===_0x4ed633||lf(_0xdeb724)&&'auto'===_0x4ed633||_0x2c8917===_0x4ed633||_0x41f2ac['startsWith'](_0x4ed633);}['_getModelById'](_0x4de898,_0x26e247){return _0x4de898['find'](_0x185d95=>lf(_0x185d95)&&'auto'===_0x26e247?_0x185d95:_0x185d95['id']===_0x26e247)||null;}}function lf(_0x589ffd){return _0x589ffd['id']['startsWith']('agent');}function hf(_0x40527c){return _0x40527c?_0x40527c instanceof _0x519668?[_0x40527c]:_0x40527c['editors']&&0x0!==_0x40527c['editors']['length']?Array['from'](_0x40527c['editors']):[]:[];}function uf(_0x10ad01){const _0x1887f0=hf(_0x10ad01);if(!_0x1887f0['length'])throw new _0x3ae0e8('ai-get-editor-from-context-no-editor');if(0x1===_0x1887f0['length'])return _0x1887f0[0x0];const _0x2ca7a1=_0x1887f0['find'](_0x2675b4=>_0x2675b4['ui']?.['focusTracker']?.['isFocused']);if(_0x2ca7a1)return _0x2ca7a1;const _0x2eade6=function(_0x552969){if(_0x552969 instanceof _0x519668)return;const _0x2a450d=_0x552969;if(!_0x2a450d['plugins']||!_0x2a450d['plugins']['has']('AIEditing'))return;const _0x1ea1b0=_0x2a450d['plugins']['get']('AIEditing');return _0x1ea1b0['getLastContentFocusedEditor']?.();}(_0x10ad01);return _0x2eade6&&_0x1887f0['includes'](_0x2eade6)?_0x2eade6:_0x1887f0[0x0];}function df(_0x1c79f1){return uf(_0x1c79f1);}function ff({editor:_0x986b59,interaction:_0x29896f,reply:_0x392b6f,groups:_0x73c280,transform:_0x492e74,documentCompare:_0x8fcf2,documentCompareOptions:_0x253066,documentContextSlice:_0x5f08f8}){const _0x258051=_0x29896f['getDocumentContext']();if(!_0x258051)return[];const _0x1c8220=_0x392b6f['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x1cca1e}of _0x73c280){const _0x1aa71b=_0x1cca1e['filter'](_0x1bfae3=>'new'!=_0x1bfae3['type'])['map'](_0x5507d5=>qa('data-id',_0x5507d5['id'],_0x1c8220)),_0xc0d2f6=_0x1cca1e['filter'](_0x4c5fb3=>'removed'!=_0x4c5fb3['type'])['map'](_0x52e09c=>_0x52e09c['node']['cloneNode'](!0x0));let _0x388d9c=null;if(_0x1aa71b['length']){_0x388d9c=_0x1aa71b[0x0]['previousSibling'];for(let _0x57bf8f=0x0;_0x57bf8f<_0x1aa71b['length'];_0x57bf8f++)Va(_0x1aa71b[_0x57bf8f]);}if(_0xc0d2f6['length']){_0x388d9c||(_0x1cca1e[0x0]['anchorId']?_0x388d9c=qa('data-id',_0x1cca1e[0x0]['anchorId'],_0x1c8220):(_0x388d9c=_0xc0d2f6['shift'](),ja(_0x1c8220,_0x388d9c)));for(let _0x40d1d6=0x0;_0x40d1d6<_0xc0d2f6['length'];_0x40d1d6++)Ba(_0x388d9c,_0xc0d2f6[_0x40d1d6]),_0x388d9c=_0xc0d2f6[_0x40d1d6];}}let _0x127da2,_0x3b60a3,_0x4377de,_0xf74852=_0x253066;if(_0x5f08f8){_0x127da2=_0x5f08f8['html'],_0x4377de=_0x5f08f8['version'],_0xf74852={..._0x253066,'anchor':_0x5f08f8['rootName']};const _0x4d2ed2=new ua([]),_0x2f4177=_0x1c8220['children'],_0x37ccba=_0x392b6f['dataIdDocumentSources'],_0x23f618=_0x392b6f['newNodeAnchorIds'],_0x476d62=_0x5f08f8['editor'],_0x2349de=_0x5f08f8['rootName'],_0x1bfb6c=new Array(_0x2f4177['length']),_0x522cb2=_0x5d9f42=>_0x5d9f42?_0x5d9f42['editor']===_0x476d62&&_0x5d9f42['rootName']===_0x2349de:void 0x0;for(let _0x3dadd2=0x0;_0x3dadd2<_0x2f4177['length'];_0x3dadd2++){const _0x1ba8a6=Ya(_0x2f4177[_0x3dadd2],'data-id');if(!_0x1ba8a6)continue;const _0x27e96b=_0x522cb2(_0x37ccba?.['get'](_0x1ba8a6));if(void 0x0!==_0x27e96b){_0x1bfb6c[_0x3dadd2]=_0x27e96b;continue;}const _0x34c0c1=_0x23f618['get'](_0x1ba8a6),_0x2a5344=_0x34c0c1?_0x522cb2(_0x37ccba?.['get'](_0x34c0c1)):void 0x0;void 0x0!==_0x2a5344&&(_0x1bfb6c[_0x3dadd2]=_0x2a5344);}for(let _0x26de62=0x0;_0x26de62<_0x2f4177['length'];_0x26de62++)if(void 0x0===_0x1bfb6c[_0x26de62]){for(let _0x3afdbc=_0x26de62-0x1;_0x3afdbc>=0x0;_0x3afdbc--)if(void 0x0!==_0x1bfb6c[_0x3afdbc]){_0x1bfb6c[_0x26de62]=_0x1bfb6c[_0x3afdbc];break;}if(void 0x0===_0x1bfb6c[_0x26de62]){for(let _0x1c9bc1=_0x26de62+0x1;_0x1c9bc1<_0x2f4177['length'];_0x1c9bc1++)if(void 0x0!==_0x1bfb6c[_0x1c9bc1]){_0x1bfb6c[_0x26de62]=_0x1bfb6c[_0x1c9bc1];break;}}}for(let _0x54bee7=0x0;_0x54bee7<_0x2f4177['length'];_0x54bee7++)_0x1bfb6c[_0x54bee7]&&_0x4d2ed2['children']['push'](wa(_0x2f4177[_0x54bee7],!0x0));_0x3b60a3=Xa(_0x4d2ed2);}else _0x127da2=_0x258051['content'],_0x4377de=_0x258051['version'],_0x3b60a3=Xa(_0x1c8220);const _0x3e2ca5=_0x8fcf2['getDiff'](_0x127da2,_0x3b60a3,{..._0xf74852,'targetEditor':_0x986b59})['getOperations']();if(_0x492e74){const _0x227f54=_0x986b59['model']['document']['history']['getOperations'](_0x4377de),_0x340da6={'document':_0x986b59['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x10917c(_0x3e2ca5,_0x227f54,_0x340da6)['operationsA'];}return _0x3e2ca5;}function mf(_0x5a9d70,_0x213c45){if('marker'!=_0x213c45['type'])return;const _0x51da27=_0x5a9d70['model']['markers']['get'](_0x213c45['name']);_0x51da27&&(_0x213c45['oldRange']=_0x51da27['getRange']());}class AIChatController extends _0x32a432{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_activeBalloon'];['_wiredBalloons']=new Set();['_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 ft(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 _0x168595=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x82c178,_0x2010a7)=>{this['_handleUIUserMessage']({'message':_0x2010a7});}),this['listenTo'](_0x168595['view'],'change:activeTab',(_0x4c5d25,_0x2eac44,_0x26f2d1)=>{'chat'!==_0x26f2d1&&this['removeSelectionFromChatContext']();}),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',(_0x56b0a8,_0x1abc25)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x1abc25));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x2f02b1,_0x1d563d)=>{this['activeConversation']?.['addUrlToContext'](_0x1d563d);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x18fe8e,_0x54c4d4)=>{_0x54c4d4['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x56989c,_0x9ab52a)=>{this['activeConversation']?.['addResourceToContext'](_0x9ab52a['source'],_0x9ab52a['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x3e3f25,_0x2637e6)=>{this['_removeFromContext'](_0x2637e6);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x1017bc,_0x8a7fff)=>{this['activeConversation']?.['loadSourceResources'](_0x8a7fff['sourceId'],_0x8a7fff['query'],_0x8a7fff['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x43b1df,_0x57e65d)=>{this['activeConversation']?.['setModel'](_0x57e65d);}),this['listenTo'](this['_aiChatUi'],'like',(_0x39bd2a,{replyId:_0x5cfa5f})=>{console['log']('Liked\x20response',_0x5cfa5f);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x421265,{replyId:_0x41ee9c})=>{console['log']('Disliked\x20response',_0x41ee9c);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x3cc6e7,_0x10416d)=>{this['_insertSuggestion'](_0x10416d);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x1ed528,{replyId:_0x331db7,partIndex:_0x1b10b6})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x331db7,_0x1b10b6);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x476ba5,{replyId:_0x4802ac,partIndex:_0x11317a})=>{const _0x5ecab7=this['_getDocumentRangeForReplyChanges'](_0x4802ac,_0x11317a);_0x5ecab7&&'$graveyard'!=_0x5ecab7['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'ranges':[_0x5ecab7['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x1f8220,_0x4d7a60)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x4d7a60);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x3273d2,{replyId:_0x21f7c5,showDiff:_0x448631})=>{const {reply:_0x3f0824}=this['getInteractionAndReplyById'](_0x21f7c5),_0x170919=_0x3f0824['getContentParts']({'showDiff':_0x448631,'editor':df(this['context'])});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x3f0824['id'],'parts':_0x170919});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x357e47,{replyId:_0x1b5187,partIndex:_0x5d06d7})=>{this['_rejectSuggestion']({'replyId':_0x1b5187,'partIndex':_0x5d06d7}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon')),this['on']('interactionCreated',(_0x90302d,_0x584b04)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x584b04);}),this['on']('replyCreated',(_0x4d7db1,_0x20eaad)=>{this['_addFeedItemReply'](_0x20eaad);});}async['afterInit'](){this['context']instanceof _0x519668?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4c4182,_0x2527f2)=>{_0x2527f2['on']('ready',()=>{this['_integrateEditor'](_0x2527f2);});});const _0x47ca78=this['context']['config']['get']('ai.chat.initialConversation');let _0x39ef36=_0x47ca78;if('lastCreated'!=_0x47ca78||(_0x39ef36=await this['_getLastCreatedConversationId'](),_0x39ef36))return'new'==_0x39ef36?this['_startConversationSafely']():this['loadConversation'](_0x39ef36);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x485307){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null,(this['context']['plugins']['get'](AITabs)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x485307)['getConversation'](),await this['_startConversationSafely']({'id':_0x485307}),this['_updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x485307,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x18dead){this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x485307}),this['_logError'](new _0x3ae0e8('ai-chat-conversation-not-found',this,{'error':_0x18dead}));}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x451ff9){let _0x3dd44d=null,_0x1a6fd2=null;this['on']('toolDataReceived',(_0x81c249,_0x4427d5,_0x332355)=>{_0x332355['id']!==_0x3dd44d&&(_0x3dd44d=_0x332355['id'],_0x1a6fd2=this['_getAIChatFeedAPI'](_0x332355)),_0x451ff9(_0x4427d5,_0x1a6fd2);});}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](Oo(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x1b34ba=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x1b34ba),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0x1aaa98){await this['_startConversationSafely']({'modelId':_0x1aaa98?.['modelId']});}async['sendMessage'](_0x3d91cf){await this['_handleUIUserMessage'](_0x3d91cf);}['getGroupId'](){const _0x4add16=this['context']['config']['get']('collaboration.channelId');if(!_0x4add16)throw new _0x3ae0e8('ai-missing-channel-id',this);return _0x4add16;}['_handleRemovedConversation'](_0x19db23){this['activeConversation']['id']===_0x19db23&&this['_startConversationSafely']();}['_insertSuggestion'](_0x13305f){const _0x2c8a2a=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x48b096,interaction:_0x3acc16}=this['getInteractionAndReplyById'](_0x13305f['replyId']),_0x42494a=void 0x0!==_0x13305f['partIndex']?[_0x48b096['changeGroups'][_0x13305f['partIndex']]]:_0x48b096['changeGroups']['filter'](_0x30f692=>'pending'==_0x30f692['state']);for(const _0x1e652a of this['_groupChangesByTarget'](_0x48b096,_0x42494a)){const {target:_0xf6bf,groups:_0x350f44,groupsIndexes:_0x3ba135,slice:_0x3decb0}=_0x1e652a;if(!_0xf6bf['editor']['plugins']['has']('TrackChanges'))throw new _0x3ae0e8('ai-no-track-changes',null);const _0x248fa9=this['_getDocumentRangeForReplyChanges'](_0x13305f['replyId'],_0x3ba135[0x0]);if(!_0x248fa9||'$graveyard'==_0x248fa9['range']['root']['rootName']){_0x3ba135['forEach'](_0x1a25ea=>_0x48b096['setChangeGroupState'](_0x1a25ea,'outdated'));continue;}_0x3ba135['forEach'](_0x122801=>_0x48b096['setChangeGroupState'](_0x122801,'accepted'));const _0x5a598f=ff({'editor':_0xf6bf['editor'],'reply':_0x48b096,'interaction':_0x3acc16,'groups':_0x350f44,'transform':!0x0,'documentCompare':_0x2c8a2a,'documentCompareOptions':{'anchor':_0x3decb0?.['rootName']??'main','markDeletions':!0x0},'documentContextSlice':_0x3decb0});let _0x4a2219;this['_scrollToSuggestionRange'](_0x248fa9['range'],!0x1,_0xf6bf['editor']),_0xf6bf['editor']['model']['change'](_0x4c379c=>{_0x4a2219=_0x4c379c['batch'],_0xf6bf['editor']['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x5a598f),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x4a2219,{'interactionId':_0x3acc16['id'],'replyId':_0x48b096['id'],'indexes':_0x3ba135['slice']()});}this['_updateRatings'](_0x48b096);}['_applySuggestion'](_0x47b4eb){const _0x4f33cd=this['context']['plugins']['get'](DocumentCompare),{reply:_0xd82caa,interaction:_0x272f02}=this['getInteractionAndReplyById'](_0x47b4eb['replyId']),_0x529417=void 0x0!==_0x47b4eb['partIndex']?[_0xd82caa['changeGroups'][_0x47b4eb['partIndex']]]:_0xd82caa['changeGroups']['filter'](_0x160c96=>'pending'==_0x160c96['state']);for(const _0x5e922c of this['_groupChangesByTarget'](_0xd82caa,_0x529417)){const {target:_0x46e9d4,groups:_0x7ada6d,groupsIndexes:_0x1a10f5,slice:_0x39e8b2}=_0x5e922c,_0x457561=this['_getDocumentRangeForReplyChanges'](_0x47b4eb['replyId'],_0x1a10f5[0x0]);if(!_0x457561||'$graveyard'==_0x457561['range']['root']['rootName']){_0x1a10f5['forEach'](_0x5dd0f2=>_0xd82caa['setChangeGroupState'](_0x5dd0f2,'outdated'));continue;}_0x1a10f5['forEach'](_0x3e90f8=>_0xd82caa['setChangeGroupState'](_0x3e90f8,'accepted'));const _0x8ee76f=ff({'editor':_0x46e9d4['editor'],'reply':_0xd82caa,'interaction':_0x272f02,'groups':_0x7ada6d,'transform':!0x0,'documentCompare':_0x4f33cd,'documentCompareOptions':{'anchor':_0x39e8b2?.['rootName']??'main','markDeletions':!0x1},'documentContextSlice':_0x39e8b2});let _0x8ea481;this['_scrollToSuggestionRange'](_0x457561['range'],!0x1,_0x46e9d4['editor']),_0x46e9d4['editor']['model']['change'](_0x406697=>{_0x8ea481=_0x406697['batch'];for(const _0x5d8de3 of _0x8ee76f)_0x5d8de3['baseVersion']=_0x46e9d4['editor']['model']['document']['version'],mf(_0x46e9d4['editor'],_0x5d8de3),_0x406697['batch']['addOperation'](_0x5d8de3),_0x46e9d4['editor']['model']['applyOperation'](_0x5d8de3);}),this['_batchToChanges']['set'](_0x8ea481,{'interactionId':_0x272f02['id'],'replyId':_0xd82caa['id'],'indexes':_0x1a10f5['slice']()});}this['_updateRatings'](_0xd82caa);}['_rejectSuggestion'](_0x16809c){const {reply:_0x2c528f}=this['getInteractionAndReplyById'](_0x16809c['replyId']);_0x2c528f['setChangeGroupState'](_0x16809c['partIndex'],'rejected');}['_openBalloonFor'](_0x4c9c22,_0xa4748e){if(!this['_aiChatBalloon'])return;const {reply:_0x365b67}=this['getInteractionAndReplyById'](_0x4c9c22),_0x39382d=_0x365b67['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'editor':df(this['context'])});let _0x3811bb,_0x572032;if(void 0x0!==_0xa4748e?(_0x572032=_0x39382d['find'](_0xba9211=>_0xba9211['index']==_0xa4748e),_0x3811bb=_0x572032?.['index']):(_0x572032=_0x39382d[0x0],_0x3811bb=_0x572032['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x4c9c22&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x3811bb)return;const _0x5395ac=this['_getUserPresentableContentPartDocumentRange'](_0x4c9c22,_0x365b67,_0x572032),_0x196091=_0x365b67['changeGroups']['find'](_0xe5ac5=>_0xe5ac5['index']==_0x3811bb),_0x1bcecf=_0x196091?this['_resolveGroupTarget'](_0x365b67,_0x196091):null,_0x20dc4b=_0x1bcecf?.['editor']??df(this['context']),_0x27cbea=_0x20dc4b['plugins']['has']('AIChatBalloon')?_0x20dc4b['plugins']['get']('AIChatBalloon'):this['_aiChatBalloon'];if(this['_activeBalloon']&&this['_activeBalloon']!==_0x27cbea&&this['_activeBalloon']['close'](),!_0x5395ac)return _0x27cbea['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x27cbea,this['_currentPreviewedChangeGroup']={'replyId':_0x4c9c22,'partIndex':_0x3811bb},this['_scrollToSuggestionRange'](_0x5395ac,!0x0,_0x20dc4b);const _0x53e1a4=this['_getPresentableSiblingContentPartIndex'](_0x4c9c22,_0x3811bb,'next');_0x27cbea['updateContent']({'part':_0x572032,'renderingStrategy':'static'}),_0x27cbea['open']({'index':_0x3811bb,'title':Oo(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x3811bb+0x1)['toString']()),'showRotator':null!==_0x53e1a4,'ranges':[_0x5395ac],'areActionsDisabled':_0x365b67['areActionsDisabled'],'targetEditor':_0x20dc4b}),_0x27cbea['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x4c9c22,_0x3811bb),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x4c9c22,'index':_0x3811bb,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x5c8a73,_0x15f122,_0x28a9f2){const {reply:_0x3a4600}=this['getInteractionAndReplyById'](_0x5c8a73),_0x13ecd3=_0x3a4600['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'editor':df(this['context'])});if(0x1==_0x13ecd3['length'])return null;const _0x43abde=_0x13ecd3['findIndex'](_0x731810=>_0x731810['index']==_0x15f122),_0x4c9633='next'==_0x28a9f2?0x1:-0x1;let _0x2eb4f4=_0x13ecd3['at']((_0x43abde+_0x4c9633)%_0x13ecd3['length'])['index'],_0x58a8e5=_0x13ecd3[_0x2eb4f4];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x5c8a73,_0x3a4600,_0x58a8e5);){if(_0x2eb4f4=_0x13ecd3['at']((_0x2eb4f4+_0x4c9633)%_0x13ecd3['length'])['index'],_0x2eb4f4===_0x43abde)return null;_0x58a8e5=_0x13ecd3[_0x2eb4f4];}return _0x2eb4f4;}['_getUserPresentableContentPartDocumentRange'](_0x171f5e,_0x5c10b9,_0x3f9de6){const _0x126870=_0x5c10b9['changeGroups'];if(!_0x3f9de6['hasChanges'])return null;const _0x3c771f=_0x126870['find'](_0xc4442a=>_0xc4442a['index']==_0x3f9de6['index']);if('pending'!==_0x3c771f?.['state'])return null;const _0x7da448=this['_getDocumentRangeForReplyChanges'](_0x171f5e,_0x3f9de6['index']);if(!_0x7da448)return _0x5c10b9['setChangeGroupState'](_0x3f9de6['index'],'outdated'),null;const {range:_0x2ee2b1,currentIndex:_0x3b2379}=_0x7da448;return'$graveyard'==_0x2ee2b1['root']['rootName']?(_0x5c10b9['setChangeGroupState'](_0x3b2379,'outdated'),null):_0x7da448['range'];}['_getDocumentRangeForReplyChanges'](_0x1008b6,_0x54b858){const {reply:_0x2815d8}=this['getInteractionAndReplyById'](_0x1008b6),_0x545ba9=_0x2815d8['changeGroups']['filter'](_0x28b82b=>'pending'==_0x28b82b['state']),_0x57bbde=_0x545ba9['map'](_0x2252c4=>_0x2815d8['changeGroups']['indexOf'](_0x2252c4));void 0x0===_0x54b858&&(_0x54b858=_0x57bbde[0x0]);const _0x492773=_0x57bbde['indexOf'](_0x54b858);if(-0x1==_0x492773)return null;const _0x976c2d=_0x545ba9[_0x492773],_0xa365ac=this['_resolveGroupTarget'](_0x2815d8,_0x976c2d);if(!_0xa365ac)return null;const {editor:_0x132b78,root:_0x4bac58,parsedDocumentContent:_0xedfbcc,serializedDocumentContent:_0x5be845,version:_0x2cd13a}=_0xa365ac,_0x410ea3=new ua([]),_0xa9010e=new ua([]);for(const _0x1d6ecb of _0x976c2d['changes']){const _0x153530=this['activeConversation']?.['getSourceByDataId'](_0x1d6ecb['id']);if((!_0x153530||_0x153530['editor']===_0xa365ac['editor']&&_0x153530['rootName']===_0xa365ac['root']['rootName'])&&('removed'!=_0x1d6ecb['type']&&_0xa9010e['children']['push'](_0x1d6ecb['node']['cloneNode'](!0x0)),'new'!=_0x1d6ecb['type'])){const _0x248209=Ha(_0x5912fb=>Ya(_0x5912fb,'data-id')==_0x1d6ecb['id'],_0xedfbcc,!0x0);if(!_0x248209)return null;_0x410ea3['children']['push'](_0x248209['cloneNode'](!0x0));}}if(0x0==_0x410ea3['children']['length']){if(_0x976c2d['changes'][0x0]['anchorId']){const _0x2cde7c=qa('data-id',_0x976c2d['changes'][0x0]['anchorId'],_0xedfbcc);_0x410ea3['children']['unshift'](_0x2cde7c['cloneNode'](!0x0)),_0xa9010e['children']['unshift'](_0x2cde7c['cloneNode'](!0x0)),_0x2cde7c['nextSibling']&&(_0x410ea3['children']['push'](_0x2cde7c['nextSibling']['cloneNode'](!0x0)),_0xa9010e['children']['push'](_0x2cde7c['nextSibling']['cloneNode'](!0x0)));}else{const _0x5d32d5=_0xedfbcc['children'][0x0];if(!_0x5d32d5)return null;_0x410ea3['children']['push'](_0x5d32d5['cloneNode'](!0x0)),_0xa9010e['children']['push'](_0x5d32d5['cloneNode'](!0x0));}}const _0x102bee=_0x132b78['data']['parse'](_0x5be845),_0x2032e7=Xa(_0x410ea3),_0xb0f020=_0x132b78['data']['parse'](_0x2032e7),_0x27659a=_0x132b78['data']['parse'](_0x2032e7),_0xff72af=_0x132b78['model']['createPositionAt'](_0xb0f020,0x0),_0x5e0266=Xa(_0xa9010e),_0x4d3486={'targetEditor':_0x132b78,'anchor':_0xff72af,'markDeletions':!0x1},_0x531cfb=_0x132b78['plugins']['get'](DocumentCompare)['getDiff'](_0x2032e7,_0x5e0266,_0x4d3486)['getOperations']();if(!_0x531cfb['length'])return null;_0x132b78['model']['change'](_0x518d95=>{for(const _0x269c67 of _0x531cfb)if('remove'==_0x269c67['type']){const _0x50efed=_0x269c67['sourcePosition'],_0x3429e4=_0x269c67['howMany'],_0x59c4c2=new _0x2a1d8f(_0x50efed,_0x3429e4);_0x518d95['batch']['addOperation'](_0x59c4c2),_0x132b78['model']['applyOperation'](_0x59c4c2);}else'marker'!==_0x269c67['type']&&(_0x269c67['baseVersion']=null,_0x269c67['isDocumentOperation']=!0x1,_0x518d95['batch']['addOperation'](_0x269c67),_0x132b78['model']['applyOperation'](_0x269c67));});const _0x45d351=tf(_0x132b78,_0x531cfb,_0xb0f020);ef(_0x132b78['model'],_0x45d351);const _0x5d1a9a=_0x45d351['getFirstRange']()['start']['path']['slice'](),_0x33b2e2=_0x45d351['getFirstRange']()['end']['path']['slice'](),_0x2e3bec=[];let _0x3dd443=_0xb0f020,_0x48b878=_0x27659a;for(let _0x265154=0x0;_0x265154<_0x33b2e2['length'];_0x265154++){const _0x10a1fe=_0x3dd443['maxOffset']-_0x33b2e2[_0x265154];_0x2e3bec[_0x265154]=_0x48b878['maxOffset']-_0x10a1fe,_0x3dd443=_0x3dd443['getChildAtOffset'](_0x33b2e2[_0x265154]),_0x48b878=_0x48b878['getChildAtOffset'](_0x2e3bec[_0x265154]);}const _0x39b866=_0x132b78['model']['createRange'](_0x132b78['model']['createPositionFromPath'](_0x27659a,_0x5d1a9a),_0x132b78['model']['createPositionFromPath'](_0x27659a,_0x2e3bec)),_0x46a780=_0x27659a['getChild'](0x0)['getAttribute'](qd),_0x42c2ee=Array['from'](_0x102bee['getChildren']())['find'](_0x524a1e=>_0x524a1e['getAttribute'](qd)==_0x46a780),_0x27783f=_0x42c2ee['getPath'](),_0x37cbce=_0x39b866['start']['path']['slice'](),_0x15fab5=_0x39b866['end']['path']['slice']();_0x37cbce[0x0]=_0x27783f[0x0]+_0x37cbce[0x0],_0x15fab5[0x0]=_0x27783f[0x0]+_0x15fab5[0x0];let _0x31ad0e=_0x132b78['model']['createRange'](_0x132b78['model']['createPositionFromPath'](_0x4bac58,_0x37cbce),_0x132b78['model']['createPositionFromPath'](_0x4bac58,_0x15fab5));const _0x113135=_0x132b78['model']['document']['history']['getOperations'](_0x2cd13a);for(const _0x274690 of _0x113135)_0x31ad0e=_0x23c7fa['_createFromRanges'](_0x31ad0e['getTransformedByOperation'](_0x274690));return{'range':_0x31ad0e,'currentIndex':_0x54b858};}['_integrateEditorBalloon'](_0x166a4f){if(!_0x166a4f['plugins']['has']('AIChatBalloon'))return;const _0x3ee4dd=_0x166a4f['plugins']['get']('AIChatBalloon');this['_wiredBalloons']['has'](_0x3ee4dd)||(this['_wiredBalloons']['add'](_0x3ee4dd),this['_aiChatBalloon']||(this['_aiChatBalloon']=_0x3ee4dd),_0x3ee4dd['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x3ee4dd,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x4b4d3a,partIndex:_0x4b943a}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x3dfd87}=this['getInteractionAndReplyById'](_0x4b4d3a),_0x216be3=_0x3dfd87['changeGroups']['find'](_0xd76e08=>_0xd76e08['index']===_0x4b943a),_0x26f6fc=_0x216be3?this['_resolveGroupTarget'](_0x3dfd87,_0x216be3):null,_0x5b0cba=_0x3dfd87['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x4b943a,'editor':_0x26f6fc?.['editor']??df(this['context'])});(this['_activeBalloon']??_0x3ee4dd)['updateContent']({'part':_0x5b0cba[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x3ee4dd,'applySuggestion',()=>{const {replyId:_0x1a46f2,partIndex:_0x47dc39}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x1a46f2,'partIndex':_0x47dc39}),(this['_activeBalloon']??_0x3ee4dd)['setState']('accepted');}),this['listenTo'](_0x3ee4dd,'insertSuggestion',()=>{const {replyId:_0x4afa82,partIndex:_0xfa8a15}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x4afa82,'partIndex':_0xfa8a15}),(this['_activeBalloon']??_0x3ee4dd)['setState']('accepted');}),this['listenTo'](_0x3ee4dd,'rejectSuggestion',()=>{const {replyId:_0x76a256,partIndex:_0x28a9ae}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x76a256,'partIndex':_0x28a9ae}),(this['_activeBalloon']??_0x3ee4dd)['setState']('rejected');}),this['listenTo'](_0x3ee4dd,'showNext',()=>{const {replyId:_0x3b02b4,partIndex:_0x5cc20c}=this['_currentPreviewedChangeGroup'],_0x2737f0=this['_getPresentableSiblingContentPartIndex'](_0x3b02b4,_0x5cc20c,'next');null!==_0x2737f0&&this['_openBalloonFor'](_0x3b02b4,_0x2737f0);}),this['listenTo'](_0x3ee4dd,'showPrevious',()=>{const {replyId:_0x5e3026,partIndex:_0x179c36}=this['_currentPreviewedChangeGroup'],_0x40aa9a=this['_getPresentableSiblingContentPartIndex'](_0x5e3026,_0x179c36,'previous');null!==_0x40aa9a&&this['_openBalloonFor'](_0x5e3026,_0x40aa9a);}),this['listenTo'](_0x3ee4dd,'dialogClosed',(_0x58ba02,{id:_0x24ff5a})=>{if('aiChatBalloon'!==_0x24ff5a)return;const {replyId:_0x2fe01b,partIndex:_0x3dfbce}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x2fe01b,'index':_0x3dfbce,'isActive':!0x1}),this['_activeBalloon']===_0x3ee4dd&&(this['_activeBalloon']=void 0x0);}));}['_integrateEditor'](_0x150630){if(this['_integrateEditorBalloon'](_0x150630),_0x150630['plugins']['has']('Undo')){const _0x5b805d=_0x150630['commands']['get']('undo'),_0x2bf6ea=_0x150630['commands']['get']('redo');this['listenTo'](_0x5b805d,'revert',(_0x458d53,_0x20cb4e,_0x73cacf)=>{const _0x153d4f=this['_batchToChanges']['get'](_0x20cb4e);if(!_0x153d4f)return;const _0x2a8f8b=this['activeConversation']['getInteraction'](_0x153d4f['interactionId']),_0xc5cea5=_0x2a8f8b?.['getReply'](_0x153d4f['replyId']);this['_batchToChanges']['delete'](_0x20cb4e),_0x2a8f8b&&_0xc5cea5&&(_0x153d4f['indexes']['forEach'](_0x2f6e09=>_0xc5cea5['setChangeGroupState'](_0x2f6e09,'pending')),this['_batchToChanges']['set'](_0x73cacf,_0x153d4f));}),this['listenTo'](_0x2bf6ea,'revert',(_0x5c3157,_0x4e1067,_0x4749ef)=>{const _0x558d26=this['_batchToChanges']['get'](_0x4e1067);if(!_0x558d26)return;const _0x15825d=this['activeConversation']['getInteraction'](_0x558d26['interactionId']),_0x1fa576=_0x15825d?.['getReply'](_0x558d26['replyId']);this['_batchToChanges']['delete'](_0x4e1067),_0x15825d&&_0x1fa576&&(_0x558d26['indexes']['forEach'](_0xd87611=>_0x1fa576['setChangeGroupState'](_0xd87611,'accepted')),this['_batchToChanges']['set'](_0x4749ef,_0x558d26));});}const _0x3f7ccc=_0x150630['config']['get']('ai.chat.context');_0x3f7ccc['alwaysAddSelection']&&_0x3f7ccc['document']['enabled']&&this['listenTo'](_0x150630['model']['document']['selection'],'change:range',(_0x3aa571,_0x240bea)=>{if(!_0x240bea['directChange'])return;'chat'===_0x150630['plugins']['get']('AITabs')['view']['activeTab']&&(_0x150630['model']['hasContent'](_0x150630['model']['document']['selection'])?this['addSelectionToChatContext']():this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x226d4d=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x1541a2=await _0x226d4d['getConversations']();return _0x1541a2['length']?_0x1541a2[0x0]['id']:'new';}catch(_0x35bc7b){return this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x462bc0()}),this['_logError'](new _0x3ae0e8('ai-chat-conversation-init-failed',this,{'error':_0x35bc7b})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x6b8de9={}){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x6b8de9);}catch(_0x3e2e3b){this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x6b8de9['id']||_0x462bc0()}),console['error'](_0x3e2e3b),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x37503e,modelId:_0x3a6583}={}){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;let _0x22142a=_0x3a6583;_0x22142a||(_0x37503e||!this['activeConversation']?_0x22142a=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x22142a=this['activeConversation']['selectedModel']['id'])),await this['_stopLastInteraction']();const _0x5677ba=this['getGroupId'](),_0x1f3e21=_0x37503e||_0x462bc0();let _0x5404a5;this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x22142a,'conversationId':_0x1f3e21,'group':_0x5677ba,'getEditor':()=>df(this['context']),'getEditors':()=>hf(this['context']),'locale':this['context']['locale'],'isFromHistory':!!_0x37503e}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x20ade1,_0x1d3f12)=>{this['_aiChatUi']['createConversation'](_0x1d3f12),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x37503e||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x3654cc,_0x4deaf2)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x4deaf2['isUploadInProgress']);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x2c1c62=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x2c1c62);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x5e6b3a=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x5e6b3a);}),this['activeConversation']['on']('webSearchFinished',(_0x16af53,_0x497261)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x497261,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x1526f8,_0x545605)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x545605,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x470426,_0x461a58)=>{this['_aiChatUi']['removeFeedInteraction'](_0x461a58['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x2cedf8,_0x2d0aaa,_0x4e5e31)=>{this['_updateConversationTitle'](_0x2d0aaa,_0x4e5e31);}),this['activeConversation']['on']('replyContentUpdated',async(_0x58fa27,_0x5872c9)=>{void 0x0!==_0x5404a5&&_0x5404a5!==_0x5872c9['id']&&this['_updateReplyContentThrottled']['flush'](),_0x5404a5=_0x5872c9['id'],_0x5872c9['isFromHistory']?await this['_updateReplyContent']({'reply':_0x5872c9}):await this['_updateReplyContentThrottled']({'reply':_0x5872c9});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x110c8b,{reply:_0x31ed9b,index:_0x441bee,state:_0x1e894e})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x31ed9b['id'],'index':_0x441bee,'state':_0x1e894e}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x31ed9b['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x441bee&&(this['_activeBalloon']??this['_aiChatBalloon'])?.['setState'](_0x1e894e);}),this['activeConversation']['on']('contextItemAdded',(_0x34f2ed,_0xaac343)=>{if(this['_aiChatUi']['addContextItem'](_0xaac343['contextItem'],_0xaac343['isLoading']),'selection'===_0xaac343['contextItem']['type']){const _0x1af582=[...df(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'ranges':_0x1af582,'id':'context','priority':0x1});}}),this['activeConversation']['on']('contextItemRemoved',(_0x23ce4e,_0x5c6649)=>{this['_aiChatUi']['removeContextItem'](_0x5c6649['uiId']),'current-document'==_0x5c6649['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x5c6649['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x390cb2,_0x46b1bc)=>{this['_aiChatUi']['setContextItemLoading'](_0x46b1bc['contextItem']['uiId'],_0x46b1bc['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x568f95,_0x298d5b)=>{this['_aiChatUi']['setConversationContext'](_0x298d5b['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x487935,_0x579f4c)=>{this['_aiChatUi']['setAddContextOptions'](_0x579f4c['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x5c6eea,_0x1a48ad)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x1a48ad['sourceId'],_0x1a48ad['source'],_0x1a48ad['resources'],_0x1a48ad['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x3abcea,_0x38f4ae)=>{this['_aiChatUi']['updateResourceState'](_0x38f4ae['sourceId'],_0x38f4ae['resourceId'],_0x38f4ae['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0xd9485f,_0xe1a5d3)=>{this['_aiChatUi']['updateCapabilities'](_0xe1a5d3);}),this['activeConversation']['on']('modelSelected',async(_0x15bd79,_0x5db311)=>{const _0x5b7062=(await this['_aiChatModels']['getAll']())['find'](_0x591a95=>_0x591a95['id']===_0x5db311['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x5b7062,_0x5db311['isDisabled']);}),this['activeConversation']['on']('error',(_0x5e2e0c,{error:_0x1f288f,interactionId:_0x1d5547,fileName:_0x5a21d2,url:_0x1edc87,sourceId:_0x5643d5,sourceLabel:_0xcf6cd4})=>{const _0x4b9ba8=_0x1d5547?_0x1d5547+':'+_0x462bc0():_0x462bc0();_0x1f288f['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':Oo(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x4b9ba8}):_0x1f288f['message']['startsWith']('ai-chat-conversation-init-failed')||_0x1f288f['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x5a21d2),'id':_0x4b9ba8}):_0x1f288f['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x1edc87),'id':_0x4b9ba8}):_0x1f288f['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x4b9ba8}):_0x1f288f['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x4b9ba8}):_0x1f288f['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x5643d5&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x5643d5),this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0xcf6cd4||'source'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):_0x1f288f['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x4b9ba8}),this['_logError'](_0x1f288f));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x37503e||await this['activeConversation']['start']();}async['_handleUIUserMessage']({message:_0x127c1f,attributes:_0x63a84}){if(!this['activeConversation'])throw new _0x3ae0e8('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x3712d8=await this['_aiEditing']['getDocumentData']();_0x3712d8['length']>0x1?await this['activeConversation']['updateCurrentDocumentsInContext'](_0x3712d8):await this['activeConversation']['updateCurrentDocumentInContext'](_0x3712d8[0x0]);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x127c1f,'attributes':_0x63a84});}['_logError'](_0x21875b){_0x39bd32(_0x21875b['message']);}['_removeFromContext'](_0x3e4182){this['activeConversation']?.['removeFromContext'](_0x3e4182);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x84a16d){const [_0x3bb852,_0x2a81eb]=_0x84a16d['split'](':'),_0x22456b=this['activeConversation']['getInteraction'](_0x3bb852),_0x49f452=_0x22456b['getReply'](_0x2a81eb);return{'interaction':_0x22456b,'reply':_0x49f452};}['_resolveGroupTarget'](_0x291eef,_0x3ed26e){const _0x16cf9b=[..._0x3ed26e['changes']['filter'](_0x526ef3=>'context'!==_0x526ef3['type']),..._0x3ed26e['changes']['filter'](_0x5039e1=>'context'===_0x5039e1['type'])];for(const _0x9c871c of _0x16cf9b){const _0x1180b8=_0x291eef['newNodeAnchorIds']['get'](_0x9c871c['id']),_0x2ef18f=this['activeConversation']?.['getSourceByDataId'](_0x9c871c['id'])||this['activeConversation']?.['getSourceByDataId'](_0x1180b8)||this['activeConversation']?.['getSourceByDataId'](_0x9c871c['anchorId']??void 0x0);if(_0x2ef18f){if('destroyed'===_0x2ef18f['editor']['state'])return null;const _0x35f651=_0x2ef18f['editor']['model']['document']['getRoot'](_0x2ef18f['rootName']);return _0x35f651?{'editor':_0x2ef18f['editor'],'root':_0x35f651,'parsedDocumentContent':Za(_0x2ef18f['content']),'serializedDocumentContent':_0x2ef18f['content'],'version':_0x2ef18f['version']}:null;}}const _0x3dad94=df(this['context']),_0x4708db=this['activeConversation']['getInteraction'](_0x291eef['interactionId']),_0x2b2e8b=_0x4708db?.['getDocumentContext']();return{'editor':_0x3dad94,'root':_0x3dad94['model']['document']['getRoot'](),'parsedDocumentContent':_0x291eef['documentContextContent'],'serializedDocumentContent':_0x2b2e8b?.['content'],'version':_0x2b2e8b?.['version']};}['_groupChangesByTarget'](_0x43dffd,_0x5ab12c){const _0x3675b3=new Map();for(const _0x2b5de9 of _0x5ab12c){const _0x44eaf3=this['_resolveGroupTarget'](_0x43dffd,_0x2b5de9);if(!_0x44eaf3)continue;const _0x3b9e94=(_0x44eaf3['editor']['id']||'e')+'|'+_0x44eaf3['root']['rootName'];let _0x2d450a=_0x3675b3['get'](_0x3b9e94);if(!_0x2d450a){let _0x5a89ab;for(const _0x34482a of[..._0x2b5de9['changes']['filter'](_0x130a67=>'context'!==_0x130a67['type']),..._0x2b5de9['changes']['filter'](_0x483a6c=>'context'===_0x483a6c['type'])])if(_0x5a89ab=this['activeConversation']?.['getDocumentContextSliceByDataId'](_0x34482a['id'])||this['activeConversation']?.['getDocumentContextSliceByDataId'](_0x43dffd['newNodeAnchorIds']['get'](_0x34482a['id'])),_0x5a89ab)break;_0x2d450a={'target':{'editor':_0x44eaf3['editor'],'root':_0x44eaf3['root']},'slice':_0x5a89ab,'groups':[],'groupsIndexes':[]},_0x3675b3['set'](_0x3b9e94,_0x2d450a);}_0x2d450a['groups']['push'](_0x2b5de9),_0x2d450a['groupsIndexes']['push'](_0x43dffd['changeGroups']['indexOf'](_0x2b5de9));}return Array['from'](_0x3675b3['values']());}['_scrollToSuggestionRange'](_0x56bc5c,_0x266ff1=!0x1,_0x4306a3){const _0x9361af={'target':_0x4306a3['editing']['view']['domConverter']['viewRangeToDom'](_0x4306a3['editing']['mapper']['toViewRange'](_0x56bc5c)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x266ff1};_0x266ff1&&(_0x9361af['alignToTop']=!0x0),_0x32a032(_0x9361af);}['_updateConversationTitle'](_0x17327f,_0x14737a=!0x1){this['_aiChatUi']['setConversationTitle'](_0x17327f||Oo(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x14737a);}['_addFeedItemReply'](_0x17708){'text'===_0x17708['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x17708):this['_aiChatUi']['addFeedItemAISuggestion'](_0x17708);}async['_updateReplyContent']({reply:_0x51f151,renderingStrategy:_0x138424}){const {id:_0x34b73d,interactionId:_0x1721ae,isDone:_0x2e54c3,type:_0x115997,parsedContent:_0x21db7d}=_0x51f151,_0x1f2ecb=_0x1721ae+':'+_0x34b73d;if('modification'===_0x115997){const _0x179f85=_0x51f151['getContentParts']({'showDiff':this['_aiChatUi']['showDiff'],'editor':df(this['context'])});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x1f2ecb,'parts':_0x179f85,'isDone':_0x2e54c3,'skipLoadingEffects':_0x51f151['isFromHistory']});}else'text'===_0x115997&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x1f2ecb,'parsedContent':_0x21db7d,'renderingStrategy':_0x138424,'isDone':_0x2e54c3});_0x2e54c3&&_0x51f151['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x1f2ecb,_0x51f151['sources']);}['_updateReplyContentThrottled']=Fr(this['_updateReplyContent']['bind'](this),0xc8);async['_stopLastInteraction'](){const _0x24253c=this['activeConversation']?.['lastInteraction'];_0x24253c&&(_0x24253c['stop'](),this['_aiChatUi']['stopInteraction'](_0x24253c)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x15e06f=this['activeConversation']?.['lastInteraction'];if(_0x15e06f){for await(const _0x384cd3 of _0x15e06f['replies'])this['_aiChatUi']['hasFeedItem'](_0x384cd3['id'])||this['_addFeedItemReply'](_0x384cd3),await this['_updateReplyContent']({'reply':_0x384cd3,'renderingStrategy':'static'});}}['_updateRatings'](_0x1ae08b){const _0x5528a8={'positiveCount':_0x1ae08b['changeGroups']['filter'](_0x2b36d2=>'accepted'===_0x2b36d2['state'])['length'],'totalCount':_0x1ae08b['changeGroups']['length'],'modificationId':_0x1ae08b['id']},_0x1b98dc=this['activeConversation']['getInteraction'](_0x1ae08b['interactionId'])['messageId'];_0x1b98dc&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x1b98dc,_0x5528a8);}['_getAIChatFeedAPI'](_0x94958c){const _0x2df188=this['_aiChatUi'],_0x498f9b=()=>{_0x94958c['resetWebSearchState'](),_0x94958c['resetReasoningState'](),_0x2df188['clearLoadingMessage']();},_0x578db8=()=>{_0x94958c['currentReply']&&(_0x94958c['currentReply']['done'](),_0x94958c['currentReply']=void 0x0);};return{'insertTextReply':(_0x267f19,_0x1667a7)=>{_0x578db8(),_0x498f9b();const _0x1e23f9=_0x94958c['currentReply']=_0x94958c['createReply']({'type':'text','interactionId':_0x94958c['id'],'content':_0x267f19,'id':_0x1667a7||_0x462bc0()});return _0x578db8(),_0x1e23f9;},'insertCustomElement':async(_0x3f9e89,_0x41b046)=>(_0x578db8(),_0x498f9b(),_0x2df188['addFeedItemCustomElement'](_0x3f9e89,_0x41b046||_0x462bc0())),'setLoadingMessage':_0x585455=>{_0x2df188['setLoadingMessage'](_0x585455);},'clearLoadingMessage':()=>{_0x2df188['clearLoadingMessage']();}};}}const gf='ai-selection',pf=['br'];class AIEditing extends _0x32a432{constructor(_0x198b62){super(_0x198b62),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionId'];['_lastContentFocusedEditor'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['getLastContentFocusedEditor'](){return this['_lastContentFocusedEditor'];}get['sessionId'](){if(!this['_sessionId']){const _0x1faf1a=hf(this['context']),_0x22ee87=_0x1faf1a['find'](_0x668801=>_0x668801['plugins']['has']('RealTimeCollaborationClient'))||_0x1faf1a[0x0],_0x3cf3a3=_0x22ee87['plugins']['has']('RealTimeCollaborationClient')&&_0x22ee87['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x3cf3a3||_0x462bc0();}return this['_sessionId'];}async['getDocumentData'](){const _0x7c6f0=hf(this['context']);if(!_0x7c6f0['length'])throw new _0x3ae0e8('ai-get-editor-from-context-no-editor');const _0x532b17=[],_0x5414b4=new Set();for(const _0x5b573e of _0x7c6f0){const _0x153ed0=_0x5b573e['config']['get']('roots')||{};for(const _0x351a8b of _0x5b573e['model']['document']['getRoots']()){if('$graveyard'===_0x351a8b['rootName'])continue;const _0x1ca948=await this['_getDocumentDataForEditorRoot'](_0x5b573e,_0x351a8b,_0x5414b4),_0xb794b9=_0x153ed0[_0x351a8b['rootName']];let _0x3761e2;_0xb794b9?.['label']?_0x3761e2=_0xb794b9['label']:(_0x5eb6e4('ai-document-root-missing-label',{'editor':_0x5b573e,'rootConfig':_0xb794b9}),_0x3761e2=_0x351a8b['rootName']),_0x532b17['push']({'editor':_0x5b573e,'rootName':_0x351a8b['rootName'],'content':_0x1ca948['content'],'version':_0x1ca948['version'],'sessionId':this['sessionId'],'channelId':_0x5b573e['config']['get']('collaboration.channelId'),'selections':_0x1ca948['selections'],'name':_0x3761e2,'description':_0xb794b9?.['description']});}}return _0x532b17;}async['_getDocumentDataForEditorRoot'](_0x1f06cc,_0x309f0a,_0x46f754){const _0x326a97=_0x1f06cc['data']['toView'](_0x309f0a,{'convertAiChatSelectionMarker':!0x0}),_0x14aa77=new _0x14e92(_0x1f06cc['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x326a97,_0x14aa77,_0x46f754);let _0x1aa40c=await this['_getDocumentDataStringFromView'](_0x326a97,_0x1f06cc);const _0x1aaaba=this['_getMarkersInDocumentOrder'](_0x1f06cc,_0x309f0a),_0x22f237=[];for(const _0x3c57d6 of _0x1aaaba){const _0x521e20='<'+_0x3c57d6['name']+':start></'+_0x3c57d6['name']+':start>',_0x360333=_0x1aa40c['indexOf'](_0x521e20);_0x1aa40c=_0x1aa40c['substring'](0x0,_0x360333)+_0x1aa40c['substring'](_0x360333+_0x521e20['length']);const _0x25c791='<'+_0x3c57d6['name']+':end></'+_0x3c57d6['name']+':end>',_0x398ee1=_0x1aa40c['indexOf'](_0x25c791);_0x1aa40c=_0x1aa40c['substring'](0x0,_0x398ee1)+_0x1aa40c['substring'](_0x398ee1+_0x25c791['length']),_0x22f237['push']({'markerName':_0x3c57d6['name'],'start':_0x360333,'end':_0x398ee1,'htmlFragment':_0x1aa40c['substring'](_0x360333,_0x398ee1)});}return{'content':_0x1aa40c,'version':_0x1f06cc['model']['document']['version'],'selections':_0x22f237};}async['afterInit'](){this['context']instanceof _0x519668?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5083ea,_0x1713d4)=>{_0x1713d4['on']('ready',()=>{this['_integrateEditor'](_0x1713d4);});});}['_setOutputDataProcessor'](_0x21a6e2){this['_outputDataProcessor']=_0x21a6e2;}async['_getDocumentDataStringFromView'](_0x1edd54,_0x545267){let _0x30d3d0;if(this['_outputDataProcessor']){const _0x37a609=_0x545267['data']['processor']['domConverter']['viewToDom'](_0x1edd54),_0x23b406=await this['_outputDataProcessor'](_0x37a609);_0x30d3d0=_0x545267['data']['processor']['htmlWriter']['getHtml'](_0x23b406);}else _0x30d3d0=_0x545267['data']['processor']['toData'](_0x1edd54);return _0x30d3d0;}['_integrateEditor'](_0x4d8c2c){if(!_0x4d8c2c['config']['get']('collaboration.channelId'))throw new _0x3ae0e8('ai-missing-channel-id',_0x4d8c2c);_0x4d8c2c['ui']['focusTracker']['on']('change:isFocused',(_0x20810d,_0x21a0b0,_0x19bfc7)=>{_0x19bfc7&&(this['_lastContentFocusedEditor']=_0x4d8c2c);}),_0x4d8c2c['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x4d8c2c&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x4d8c2c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':gf,'view':({markerName:_0x1e4b31})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x1e4b31['split'](':')[0x1]],'priority':0xc})}),_0x4d8c2c['conversion']['for']('dataDowncast')['markerToElement']({'model':gf+':context','view':(_0x289689,{writer:_0x1abadd,options:_0x1994c1})=>_0x1994c1['convertAiChatSelectionMarker']?_0x1abadd['createUIElement'](_0x289689['markerName']+':'+(_0x289689['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x8fd472){const _0x5dee72=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x8fd472);const _0xf1c5cd=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x5dee72,_0xf1c5cd);}['hideFakeVisualSelection'](_0x4560cf){const _0x2b2649=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x4560cf);const _0x2b7bda=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x2b2649,_0x2b7bda);}async['modelToDataWithIds'](_0x3275aa){const _0x571d6d=df(this['context']),_0xc4e784=_0x571d6d['data']['toView'](_0x3275aa),_0x41ee53=new _0x14e92(_0x571d6d['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0xc4e784,_0x41ee53),this['_getDocumentDataStringFromView'](_0xc4e784,_0x571d6d);}['_setDataIdsOnChildren'](_0x13e1c6,_0x15a459,_0x20c54a=new Set()){let _0x3d9f9a=!0x1;for(const _0x42e448 of _0x13e1c6['getChildren']()){if(!_0x42e448['is']('view:element')||pf['includes'](_0x42e448['name']))continue;const _0x4cc6b2=_0x42e448['is']('view:containerElement'),_0x55f98f=_0x42e448['is']('view:emptyElement'),_0x36e2fc=this['_setDataIdsOnChildren'](_0x42e448,_0x15a459,_0x20c54a);if(_0x42e448['hasAttribute']('data-id')){_0x3d9f9a=!0x0,_0x20c54a['add'](_0x42e448['getAttribute']('data-id'));continue;}(_0x4cc6b2||_0x55f98f||_0x36e2fc)&&(_0x15a459['setAttribute']('data-id',this['_nextDataId'](_0x20c54a),_0x42e448),_0x3d9f9a=!0x0);}return _0x3d9f9a;}['_nextDataId'](_0x353f9f){let _0x3aea40;do{_0x3aea40='';for(let _0x7bcc63=0x0;_0x7bcc63<0x4;_0x7bcc63++)_0x3aea40+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x353f9f['has'](_0x3aea40));return _0x353f9f['add'](_0x3aea40),_0x3aea40;}['getSelectionText'](){const {model:_0x5d26da}=df(this['context']),_0x3b730b=_0x5d26da['document']['selection'],_0x5018ed=[],_0x19b12f=Array['from'](_0x3b730b['getRanges']());_0x19b12f['sort']((_0x3a92cc,_0x3b3a5c)=>_0x3a92cc['start']['isBefore'](_0x3b3a5c['start'])?-0x1:0x1);for(const _0x245f88 of _0x19b12f)for(const _0x2804ed of _0x245f88['getItems']())_0x2804ed['is']('$textProxy')?_0x5018ed['push'](_0x2804ed['data']):_0x2804ed['is']('element')&&_0x5018ed['length']>0x0&&'\x20'!==_0x5018ed[_0x5018ed['length']-0x1]&&_0x5018ed['push']('\x20');return _0x5018ed['length']?'\x22'+_0x5018ed['join']('')['trim']()+'\x22':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x373a){for(let _0xb495b8=0x0;_0xb495b8<this['_fakeSelections']['length'];_0xb495b8++)if(this['_fakeSelections'][_0xb495b8]['id']==_0x373a)return void this['_fakeSelections']['splice'](_0xb495b8,0x1);}['_addFakeSelection'](_0xe163c7){this['_removeFakeSelectionById'](_0xe163c7['id']),_0x2901f1(this['_fakeSelections'],_0xe163c7);}['_refreshFakeSelection'](_0x81665d,_0x1318d0){if(_0x81665d==_0x1318d0)return;const _0x132d02=_0x81665d?this['_getEditorForFakeSelection'](_0x81665d):null,_0xe7ec62=_0x1318d0?this['_getEditorForFakeSelection'](_0x1318d0):null,_0xbec58e=(_0x358981,_0x43428a)=>{const _0x490166=_0x43428a['model']['markers']['getMarkersGroup'](gf);for(const _0x35cb2d of _0x490166)_0x358981['removeMarker'](_0x35cb2d);},_0x1489a0=(_0x25e190,_0x345676,_0x353262)=>{const _0x24a36a=_0x345676['model'];for(let _0xc5a726=0x0;_0xc5a726<_0x353262['ranges']['length'];_0xc5a726++){let _0x4ee6e4=_0x353262['ranges'][_0xc5a726];const _0x25080c=gf+':'+_0x353262['id']+':'+_0xc5a726;if(_0x4ee6e4['start']['isAtEnd']){const _0x21f612=_0x4ee6e4['start']['getLastMatchingPosition'](({item:_0x1c509d})=>!_0x24a36a['schema']['isContent'](_0x1c509d),{'boundaries':_0x4ee6e4});_0x4ee6e4=_0x25e190['createRange'](_0x21f612,_0x4ee6e4['end']);}_0x25e190['addMarker'](_0x25080c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ee6e4});}};_0x132d02&&_0xe7ec62&&_0x132d02===_0xe7ec62&&_0x1318d0?_0x132d02['model']['change'](_0x1875c8=>{_0xbec58e(_0x1875c8,_0x132d02),_0x1489a0(_0x1875c8,_0xe7ec62,_0x1318d0);}):(_0x132d02&&_0x132d02['model']['change'](_0x1c7a4f=>_0xbec58e(_0x1c7a4f,_0x132d02)),_0xe7ec62&&_0x1318d0&&_0xe7ec62['model']['change'](_0x557ac5=>_0x1489a0(_0x557ac5,_0xe7ec62,_0x1318d0)));}['_getEditorForFakeSelection'](_0x112697){if(!_0x112697['ranges']['length'])return df(this['context']);const _0x11753e=_0x112697['ranges'][0x0]['root']['document'];return hf(this['context'])['find'](_0x2a8063=>_0x2a8063['model']['document']===_0x11753e)??df(this['context']);}['_getMarkersInDocumentOrder'](_0x622fc9,_0x376cc7){const _0x184386=Array['from'](_0x622fc9['model']['markers']['getMarkersGroup'](gf+':context')),_0x56a3ef=_0x376cc7?_0x184386['filter'](_0x32623e=>{const _0x235a63=_0x32623e['getRange']();return _0x235a63&&_0x235a63['root']['rootName']===_0x376cc7['rootName'];}):_0x184386;return _0x56a3ef['sort']((_0x2dcb48,_0x34972b)=>_0x2dcb48['getStart']()['isBefore'](_0x34972b['getStart']())?-0x1:_0x2dcb48['getStart']()['isAfter'](_0x34972b['getStart']())?0x1:0x0);}}const Of=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],wf=[...Of,'startConversation','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var bf,yf='undefined'==typeof document?void 0x0:document,vf=!!yf&&'content'in yf['createElement']('template'),_f=!!yf&&yf['createRange']&&'createContextualFragment'in yf['createRange']();function Ef(_0x2b6b05){return _0x2b6b05=_0x2b6b05['trim'](),vf?function(_0xf89253){var _0x3e61b0=yf['createElement']('template');return _0x3e61b0['innerHTML']=_0xf89253,_0x3e61b0['content']['childNodes'][0x0];}(_0x2b6b05):_f?function(_0x1e9654){return bf||(bf=yf['createRange']())['selectNode'](yf['body']),bf['createContextualFragment'](_0x1e9654)['childNodes'][0x0];}(_0x2b6b05):function(_0x890f77){var _0x3f80ca=yf['createElement']('body');return _0x3f80ca['innerHTML']=_0x890f77,_0x3f80ca['childNodes'][0x0];}(_0x2b6b05);}function Tf(_0x26a0f3,_0x50080d){var _0x2f7a75,_0x27adf6,_0x1b7f6b=_0x26a0f3['nodeName'],_0x229119=_0x50080d['nodeName'];return _0x1b7f6b===_0x229119||(_0x2f7a75=_0x1b7f6b['charCodeAt'](0x0),_0x27adf6=_0x229119['charCodeAt'](0x0),_0x2f7a75<=0x5a&&_0x27adf6>=0x61?_0x1b7f6b===_0x229119['toUpperCase']():_0x27adf6<=0x5a&&_0x2f7a75>=0x61&&_0x229119===_0x1b7f6b['toUpperCase']());}function Af(_0x3cbfdf,_0xb4d8d1,_0x156315){_0x3cbfdf[_0x156315]!==_0xb4d8d1[_0x156315]&&(_0x3cbfdf[_0x156315]=_0xb4d8d1[_0x156315],_0x3cbfdf[_0x156315]?_0x3cbfdf['setAttribute'](_0x156315,''):_0x3cbfdf['removeAttribute'](_0x156315));}var Sf={'OPTION':function(_0x195aaa,_0x30a815){var _0x4a5139=_0x195aaa['parentNode'];if(_0x4a5139){var _0x58da49=_0x4a5139['nodeName']['toUpperCase']();'OPTGROUP'===_0x58da49&&(_0x58da49=(_0x4a5139=_0x4a5139['parentNode'])&&_0x4a5139['nodeName']['toUpperCase']()),'SELECT'!==_0x58da49||_0x4a5139['hasAttribute']('multiple')||(_0x195aaa['hasAttribute']('selected')&&!_0x30a815['selected']&&(_0x195aaa['setAttribute']('selected','selected'),_0x195aaa['removeAttribute']('selected')),_0x4a5139['selectedIndex']=-0x1);}Af(_0x195aaa,_0x30a815,'selected');},'INPUT':function(_0x1c17ea,_0x42c4c3){Af(_0x1c17ea,_0x42c4c3,'checked'),Af(_0x1c17ea,_0x42c4c3,'disabled'),_0x1c17ea['value']!==_0x42c4c3['value']&&(_0x1c17ea['value']=_0x42c4c3['value']),_0x42c4c3['hasAttribute']('value')||_0x1c17ea['removeAttribute']('value');},'TEXTAREA':function(_0x1e8965,_0x57fa51){var _0x1f715d=_0x57fa51['value'];_0x1e8965['value']!==_0x1f715d&&(_0x1e8965['value']=_0x1f715d);var _0x3086c9=_0x1e8965['firstChild'];if(_0x3086c9){var _0x4f1735=_0x3086c9['nodeValue'];if(_0x4f1735==_0x1f715d||!_0x1f715d&&_0x4f1735==_0x1e8965['placeholder'])return;_0x3086c9['nodeValue']=_0x1f715d;}},'SELECT':function(_0x144409,_0x14f762){if(!_0x14f762['hasAttribute']('multiple')){for(var _0x256671,_0x2d8cd6,_0x45903c=-0x1,_0x34755c=0x0,_0x52479f=_0x144409['firstChild'];_0x52479f;)if('OPTGROUP'===(_0x2d8cd6=_0x52479f['nodeName']&&_0x52479f['nodeName']['toUpperCase']()))(_0x52479f=(_0x256671=_0x52479f)['firstChild'])||(_0x52479f=_0x256671['nextSibling'],_0x256671=null);else{if('OPTION'===_0x2d8cd6){if(_0x52479f['hasAttribute']('selected')){_0x45903c=_0x34755c;break;}_0x34755c++;}!(_0x52479f=_0x52479f['nextSibling'])&&_0x256671&&(_0x52479f=_0x256671['nextSibling'],_0x256671=null);}_0x144409['selectedIndex']=_0x45903c;}}};function If(){}function Cf(_0x485d7a){if(_0x485d7a)return _0x485d7a['getAttribute']&&_0x485d7a['getAttribute']('id')||_0x485d7a['id'];}var kf=function(_0x300f29){return function(_0x217a03,_0x3b8d4d,_0x8f8320){if(_0x8f8320||(_0x8f8320={}),'string'==typeof _0x3b8d4d){if('#document'===_0x217a03['nodeName']||'HTML'===_0x217a03['nodeName']||'BODY'===_0x217a03['nodeName']){var _0x2b6e5a=_0x3b8d4d;(_0x3b8d4d=yf['createElement']('html'))['innerHTML']=_0x2b6e5a;}else _0x3b8d4d=Ef(_0x3b8d4d);}else 0xb===_0x3b8d4d['nodeType']&&(_0x3b8d4d=_0x3b8d4d['firstElementChild']);var _0x206ec3=_0x8f8320['getNodeKey']||Cf,_0x351558=_0x8f8320['onBeforeNodeAdded']||If,_0x3a8d3d=_0x8f8320['onNodeAdded']||If,_0xa9ace7=_0x8f8320['onBeforeElUpdated']||If,_0x1add3d=_0x8f8320['onElUpdated']||If,_0x58c697=_0x8f8320['onBeforeNodeDiscarded']||If,_0x3f35ad=_0x8f8320['onNodeDiscarded']||If,_0x212627=_0x8f8320['onBeforeElChildrenUpdated']||If,_0x3e31a1=_0x8f8320['skipFromChildren']||If,_0x496522=_0x8f8320['addChild']||function(_0xe9ba0f,_0x35de05){return _0xe9ba0f['appendChild'](_0x35de05);},_0x2e7b9f=!0x0===_0x8f8320['childrenOnly'],_0x2d213a=Object['create'](null),_0x43c471=[];function _0x211782(_0x470087){_0x43c471['push'](_0x470087);}function _0x2a1da3(_0x4ce869,_0x259e5d){if(0x1===_0x4ce869['nodeType'])for(var _0x56b4cd=_0x4ce869['firstChild'];_0x56b4cd;){var _0x442171=void 0x0;_0x259e5d&&(_0x442171=_0x206ec3(_0x56b4cd))?_0x211782(_0x442171):(_0x3f35ad(_0x56b4cd),_0x56b4cd['firstChild']&&_0x2a1da3(_0x56b4cd,_0x259e5d)),_0x56b4cd=_0x56b4cd['nextSibling'];}}function _0x5cad47(_0x31e358,_0x4f2f87,_0x43a6c0){!0x1!==_0x58c697(_0x31e358)&&(_0x4f2f87&&_0x4f2f87['removeChild'](_0x31e358),_0x3f35ad(_0x31e358),_0x2a1da3(_0x31e358,_0x43a6c0));}function _0x501691(_0x1794b5){if(0x1===_0x1794b5['nodeType']||0xb===_0x1794b5['nodeType'])for(var _0x3b3626=_0x1794b5['firstChild'];_0x3b3626;){var _0x2b4958=_0x206ec3(_0x3b3626);_0x2b4958&&(_0x2d213a[_0x2b4958]=_0x3b3626),_0x501691(_0x3b3626),_0x3b3626=_0x3b3626['nextSibling'];}}function _0x19e21b(_0x48bad6){_0x3a8d3d(_0x48bad6);for(var _0x3c143d=_0x48bad6['firstChild'];_0x3c143d;){var _0x503f59=_0x3c143d['nextSibling'],_0x47408=_0x206ec3(_0x3c143d);if(_0x47408){var _0x53d7be=_0x2d213a[_0x47408];_0x53d7be&&Tf(_0x3c143d,_0x53d7be)?(_0x3c143d['parentNode']['replaceChild'](_0x53d7be,_0x3c143d),_0x38420e(_0x53d7be,_0x3c143d)):_0x19e21b(_0x3c143d);}else _0x19e21b(_0x3c143d);_0x3c143d=_0x503f59;}}function _0x38420e(_0x1f04cc,_0x1cb54d,_0x2eef00){var _0x4d6a51=_0x206ec3(_0x1cb54d);if(_0x4d6a51&&delete _0x2d213a[_0x4d6a51],!_0x2eef00){var _0x126344=_0xa9ace7(_0x1f04cc,_0x1cb54d);if(!0x1===_0x126344)return;if(_0x126344 instanceof HTMLElement&&_0x501691(_0x1f04cc=_0x126344),_0x300f29(_0x1f04cc,_0x1cb54d),_0x1add3d(_0x1f04cc),!0x1===_0x212627(_0x1f04cc,_0x1cb54d))return;}'TEXTAREA'!==_0x1f04cc['nodeName']?function(_0x476341,_0x55dded){var _0x42fb25,_0x3a37bd,_0xcbfb5f,_0x389460,_0x43055f,_0x32dc34=_0x3e31a1(_0x476341,_0x55dded),_0x20186f=_0x55dded['firstChild'],_0x331009=_0x476341['firstChild'];t:for(;_0x20186f;){for(_0x389460=_0x20186f['nextSibling'],_0x42fb25=_0x206ec3(_0x20186f);!_0x32dc34&&_0x331009;){if(_0xcbfb5f=_0x331009['nextSibling'],_0x20186f['isSameNode']&&_0x20186f['isSameNode'](_0x331009)){_0x20186f=_0x389460,_0x331009=_0xcbfb5f;continue t;}_0x3a37bd=_0x206ec3(_0x331009);var _0x26ce03=_0x331009['nodeType'],_0x487248=void 0x0;if(_0x26ce03===_0x20186f['nodeType']&&(0x1===_0x26ce03?(_0x42fb25?_0x42fb25!==_0x3a37bd&&((_0x43055f=_0x2d213a[_0x42fb25])?_0xcbfb5f===_0x43055f?_0x487248=!0x1:(_0x476341['insertBefore'](_0x43055f,_0x331009),_0x3a37bd?_0x211782(_0x3a37bd):_0x5cad47(_0x331009,_0x476341,!0x0),_0x3a37bd=_0x206ec3(_0x331009=_0x43055f)):_0x487248=!0x1):_0x3a37bd&&(_0x487248=!0x1),(_0x487248=!0x1!==_0x487248&&Tf(_0x331009,_0x20186f))&&_0x38420e(_0x331009,_0x20186f)):0x3!==_0x26ce03&&0x8!=_0x26ce03||(_0x487248=!0x0,_0x331009['nodeValue']!==_0x20186f['nodeValue']&&(_0x331009['nodeValue']=_0x20186f['nodeValue']))),_0x487248){_0x20186f=_0x389460,_0x331009=_0xcbfb5f;continue t;}_0x3a37bd?_0x211782(_0x3a37bd):_0x5cad47(_0x331009,_0x476341,!0x0),_0x331009=_0xcbfb5f;}if(_0x42fb25&&(_0x43055f=_0x2d213a[_0x42fb25])&&Tf(_0x43055f,_0x20186f))_0x32dc34||_0x496522(_0x476341,_0x43055f),_0x38420e(_0x43055f,_0x20186f);else{var _0x5445f3=_0x351558(_0x20186f);!0x1!==_0x5445f3&&(_0x5445f3&&(_0x20186f=_0x5445f3),_0x20186f['actualize']&&(_0x20186f=_0x20186f['actualize'](_0x476341['ownerDocument']||yf)),_0x496522(_0x476341,_0x20186f),_0x19e21b(_0x20186f));}_0x20186f=_0x389460,_0x331009=_0xcbfb5f;}!function(_0x18d068,_0x5a3067,_0x1cb8bb){for(;_0x5a3067;){var _0x334c60=_0x5a3067['nextSibling'];(_0x1cb8bb=_0x206ec3(_0x5a3067))?_0x211782(_0x1cb8bb):_0x5cad47(_0x5a3067,_0x18d068,!0x0),_0x5a3067=_0x334c60;}}(_0x476341,_0x331009,_0x3a37bd);var _0x48fd2b=Sf[_0x476341['nodeName']];_0x48fd2b&&_0x48fd2b(_0x476341,_0x55dded);}(_0x1f04cc,_0x1cb54d):Sf['TEXTAREA'](_0x1f04cc,_0x1cb54d);}_0x501691(_0x217a03);var _0x325868=_0x217a03,_0x7d2fd8=_0x325868['nodeType'],_0x3e3a6a=_0x3b8d4d['nodeType'];if(!_0x2e7b9f){if(0x1===_0x7d2fd8)0x1===_0x3e3a6a?Tf(_0x217a03,_0x3b8d4d)||(_0x3f35ad(_0x217a03),_0x325868=function(_0x5cdca8,_0x499649){for(var _0x1f8381=_0x5cdca8['firstChild'];_0x1f8381;){var _0x2955c2=_0x1f8381['nextSibling'];_0x499649['appendChild'](_0x1f8381),_0x1f8381=_0x2955c2;}return _0x499649;}(_0x217a03,function(_0x118513,_0x9b99b8){return _0x9b99b8&&'http://www.w3.org/1999/xhtml'!==_0x9b99b8?yf['createElementNS'](_0x9b99b8,_0x118513):yf['createElement'](_0x118513);}(_0x3b8d4d['nodeName'],_0x3b8d4d['namespaceURI']))):_0x325868=_0x3b8d4d;else{if(0x3===_0x7d2fd8||0x8===_0x7d2fd8){if(_0x3e3a6a===_0x7d2fd8)return _0x325868['nodeValue']!==_0x3b8d4d['nodeValue']&&(_0x325868['nodeValue']=_0x3b8d4d['nodeValue']),_0x325868;_0x325868=_0x3b8d4d;}}}if(_0x325868===_0x3b8d4d)_0x3f35ad(_0x217a03);else{if(_0x3b8d4d['isSameNode']&&_0x3b8d4d['isSameNode'](_0x325868))return;if(_0x38420e(_0x325868,_0x3b8d4d,_0x2e7b9f),_0x43c471)for(var _0x312fd0=0x0,_0x5d8222=_0x43c471['length'];_0x312fd0<_0x5d8222;_0x312fd0++){var _0x3d083b=_0x2d213a[_0x43c471[_0x312fd0]];_0x3d083b&&_0x5cad47(_0x3d083b,_0x3d083b['parentNode'],!0x1);}}return!_0x2e7b9f&&_0x325868!==_0x217a03&&_0x217a03['parentNode']&&(_0x325868['actualize']&&(_0x325868=_0x325868['actualize'](_0x217a03['ownerDocument']||yf)),_0x217a03['parentNode']['replaceChild'](_0x325868,_0x217a03)),_0x325868;};}(function(_0x44c2c0,_0x11f46d){var _0x5e52a2,_0x1ff6a9,_0x37bda9,_0x1f70c5,_0x3cd18d=_0x11f46d['attributes'];if(0xb!==_0x11f46d['nodeType']&&0xb!==_0x44c2c0['nodeType']){for(var _0x2058f0=_0x3cd18d['length']-0x1;_0x2058f0>=0x0;_0x2058f0--)_0x1ff6a9=(_0x5e52a2=_0x3cd18d[_0x2058f0])['name'],_0x37bda9=_0x5e52a2['namespaceURI'],_0x1f70c5=_0x5e52a2['value'],_0x37bda9?(_0x1ff6a9=_0x5e52a2['localName']||_0x1ff6a9,_0x44c2c0['getAttributeNS'](_0x37bda9,_0x1ff6a9)!==_0x1f70c5&&('xmlns'===_0x5e52a2['prefix']&&(_0x1ff6a9=_0x5e52a2['name']),_0x44c2c0['setAttributeNS'](_0x37bda9,_0x1ff6a9,_0x1f70c5))):_0x44c2c0['getAttribute'](_0x1ff6a9)!==_0x1f70c5&&_0x44c2c0['setAttribute'](_0x1ff6a9,_0x1f70c5);for(var _0x2e2146=_0x44c2c0['attributes'],_0x29e4d6=_0x2e2146['length']-0x1;_0x29e4d6>=0x0;_0x29e4d6--)_0x1ff6a9=(_0x5e52a2=_0x2e2146[_0x29e4d6])['name'],(_0x37bda9=_0x5e52a2['namespaceURI'])?(_0x1ff6a9=_0x5e52a2['localName']||_0x1ff6a9,_0x11f46d['hasAttributeNS'](_0x37bda9,_0x1ff6a9)||_0x44c2c0['removeAttributeNS'](_0x37bda9,_0x1ff6a9)):_0x11f46d['hasAttribute'](_0x1ff6a9)||_0x44c2c0['removeAttribute'](_0x1ff6a9);}});function xf(_0x449716){const _0x4f4117=new AbortController();return{'promise':new Promise((_0x154000,_0xcac372)=>{const _0x675a08=setTimeout(_0x154000,_0x449716);_0x4f4117['signal']['addEventListener']('abort',()=>{clearTimeout(_0x675a08),_0xcac372();});}),'abortController':_0x4f4117};}class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x1effb9){this['options']={'delay':_0x1effb9?.['delay']??0xa,'textNodeStyle':_0x1effb9?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async['stream']({document:_0x5e9458,targetElement:_0xedca30,abortSignal:_0x577f03}){this['isStreaming']&&this['stop'](),_0x577f03?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=wa(_0x5e9458,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x1d19c8=0x0;_0x1d19c8<this['currentIndex'];_0x1d19c8++)this['nodesList'][_0x1d19c8]['shouldBeStreamed']=!0x0;do{const _0x4ff663=Date['now'](),_0x2d250c=this['nodesList'][this['currentIndex']],_0x3bb447=_0x4ff663-this['lastUpdateTime'];if(_0x2d250c){_0x2d250c['shouldBeStreamed']=!0x0;let _0x169c6d=_0x2d250c['parent'];for(;_0x169c6d;)_0x169c6d['shouldBeStreamed']=!0x0,_0x169c6d=_0x169c6d['parent'];}if(_0x3bb447<this['options']['delay'])try{const {promise:_0x2a8156,abortController:_0x62a05d}=xf(this['options']['delay']-_0x3bb447);this['timeoutAbortController']=_0x62a05d,await _0x2a8156;}catch(_0x44d91f){return;}kf(_0xedca30,'<'+_0xedca30['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0xedca30['tagName']+'>',{'childrenOnly':!0x0}),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:_0x3b586d}){Array['from'](_0x3b586d['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x1d92fb=>{_0x1d92fb['replaceWith'](_0x1d92fb['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x42ca4a){let _0x21da7c='';if(function(_0xe3a867){return pa(_0xe3a867);}(_0x42ca4a)){for(const _0x5e4f1c of _0x42ca4a['children'])_0x21da7c+=this['renderNode'](_0x5e4f1c);}else{if(Mf(_0x42ca4a)){if(!_0x42ca4a['shouldBeStreamed'])return'';const _0x4f7830=_0x42ca4a,_0x30e44b=Object['entries'](_0x4f7830['attribs'])['map'](([_0x4dee11,_0x18e022])=>_0x4dee11+'=\x22'+_0x18e022+'\x22')['join']('\x20');_0x21da7c+='<'+_0x4f7830['tagName']+(_0x30e44b?'\x20'+_0x30e44b:'')+'>';for(const _0x412ced of Oa(_0x1c74b8=_0x4f7830)?_0x1c74b8['children']:[])_0x21da7c+=this['renderNode'](_0x412ced);_0x21da7c+='</'+_0x4f7830['tagName']+'>';}else{if(!Pf(_0x42ca4a))return'';if(!_0x42ca4a['shouldBeStreamed'])return'';!function(_0x217655){if(!_0x217655['parent']||!Mf(_0x217655['parent']))return!0x1;if(!Rf['includes'](_0x217655['parent']['tagName']))return!0x1;return!Da(_0x217655)['match'](/^\s*[<>]\s*$/);}(_0x42ca4a)?_0x21da7c+=Ma(_0x42ca4a):_0x21da7c+=Ma(new da('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x42ca4a]));}}var _0x1c74b8;return _0x21da7c;}['getParsedDocumentNodeList'](){const _0x572a18=[];return function(_0xa78e9b,_0x489549){const _0x3db917=_0x25f629=>{if(_0x489549(_0x25f629),_0x25f629 instanceof NodeWithChildren)for(let _0x5a653a=0x0;_0x5a653a<_0x25f629['children']['length'];_0x5a653a++){const _0x2f79b4=_0x25f629['children'][_0x5a653a];_0x3db917(_0x2f79b4);}};for(let _0x915f4f=0x0;_0x915f4f<_0xa78e9b['children']['length'];_0x915f4f++)_0x3db917(_0xa78e9b['children'][_0x915f4f]);}(this['document'],_0x8cf1ec=>{if(Pf(_0x8cf1ec)){const _0x25491b=this['splitTextNodeIntoWordNodes'](_0x8cf1ec);_0x25491b['length']&&_0x572a18['push'](..._0x25491b);}_0x8cf1ec['isWordSplitSource']||_0x8cf1ec['isWordSplitResult']||_0x572a18['push'](_0x8cf1ec);}),_0x572a18;}['splitTextNodeIntoWordNodes'](_0x5d86fd){if(_0x5d86fd['isWordSplitSource']||_0x5d86fd['isWordSplitResult'])return[];const _0x1ca508=Da(_0x5d86fd)['match'](/(?:\s*\S+\s*)/g),_0x4353ca=[];if(_0x1ca508&&_0x1ca508['length']>0x1){for(const _0x1441f8 of _0x1ca508){const _0x2743f0=new la(_0x1441f8);_0x2743f0['isWordSplitResult']=!0x0,Fa(_0x5d86fd,_0x2743f0),_0x4353ca['push'](_0x2743f0);}_0x5d86fd['isWordSplitSource']=!0x0,Va(_0x5d86fd);}return _0x4353ca;}}const Rf=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function Pf(_0x471806){return ma(_0x471806);}function Mf(_0x57b1be){return fa(_0x57b1be);}class AIChatFeedItemView extends _0x278baa{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x35efca){super();const _0x3bd8ee=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer(),this['options']=_0x35efca,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x3bd8ee['if']('isDone','ck-ai-chat__feed__item_done'),_0x3bd8ee['if']('isVisible','ck-hidden',_0x3d7b7=>!_0x3d7b7),'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'](_0x2f2679=>{_0x2f2679['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x2b8236,_0x15c8a1,_0x4cd4f1){await this['htmlStreamer']['stream']({'document':_0x2b8236,'targetElement':_0x15c8a1,'abortSignal':_0x4cd4f1});}}class AISuggestionHeaderView extends _0x278baa{['showChangesToggleView'];constructor(_0x4366e9,_0x4a72e8){super(_0x4366e9),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new ShowChangesToggleView(_0x4366e9),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+yo,'label':Oo(_0x4366e9,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x4a72e8['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x9a46be=>_0x9a46be?_0xcd177b:_0x45ada1),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x2ff33d=new _0x24ab51();_0x2ff33d['content']=_0x1f8e2f,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x4a72e8['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x2ff33d,{'tag':'span','children':[Oo(_0x4366e9,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class ShowChangesToggleView extends _0x1a631f{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const Nf={'accepted':_0x24a62b,'rejected':_0x3cecc5,'outdated':_0x3cecc5};class AISuggestionContentPartStateView extends _0x278baa{['stateIconView'];constructor(_0x25f558){super(_0x25f558);const _0xc07951=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',_0xc07951['to']('state',_0x5d5ed3=>'ck-ai-suggestion__content-part-state_'+_0x5d5ed3),_0xc07951['if']('isVisible','ck-hidden',_0xef9295=>!_0xef9295)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xc07951['to']('state',_0x5427ec=>{switch(_0x5427ec){case'accepted':return Oo(_0x25f558,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return Oo(_0x25f558,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return Oo(_0x25f558,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x4d83f5){this['state']=_0x4d83f5;}}class StateIconView extends _0x24ab51{constructor(){super(),this['set']('state','accepted'),this['content']=Nf[this['state']],this['on']('change:state',()=>{this['content']=Nf[this['state']];});}}class AISuggestionContentPartToolbarView extends _0x3e23dd{['_applyButton'];['_suggestButton'];constructor(_0x46f7bd,_0x515e1d,_0x9f18bd){super(_0x46f7bd);const _0x486c05=Boolean(_0x9f18bd);this['set']('isEnabled',!_0x486c05),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x204015=[];if(_0x486c05){const _0x29e030=new _0x1a631f(_0x46f7bd);_0x29e030['set']({'label':Oo(_0x46f7bd,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x489b0f}),_0x29e030['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x204015['push'](_0x29e030);}else{_0x515e1d['includes']('applySuggestion')&&(this['_applyButton']=new _0x1a631f(_0x46f7bd),this['_applyButton']['set']({'label':Oo(_0x46f7bd,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x24a62b}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x204015['push'](this['_applyButton'])),_0x515e1d['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x1a631f(_0x46f7bd),this['_suggestButton']['set']({'label':Oo(_0x46f7bd,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xae6026}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x204015['push'](this['_suggestButton']));const _0x4e902a=new _0x1a631f(_0x46f7bd);_0x4e902a['set']({'label':Oo(_0x46f7bd,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3cecc5}),_0x4e902a['bind']('isEnabled')['to'](this),_0x4e902a['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x204015['push'](_0x4e902a);}this['items']['addMany'](_0x204015);const _0x18b4c7=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x18b4c7['if']('isVisible','ck-hidden',_0x27b81d=>!_0x27b81d)]}});}['setButtonsVisibility']({showApplyButton:_0x1de81e,showSuggestButton:_0x3cf583}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x1de81e),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x3cf583);}}class AISuggestionContentPartHeaderView extends _0x278baa{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x2c2c00,{part:_0x530a98,uiIndex:_0x1c0dda,availableActions:_0x3bb02c,areActionsDisabled:_0x9b636}){super(_0x2c2c00),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x2c2c00,_0x3bb02c,_0x9b636),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x530a98['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x530a98['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x530a98['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x2c2c00),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x2c2c00,_0x1c0dda),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',(_0xf72a3e,_0x1a2f10,_0x48fa68,_0x5c29e0)=>{'pending'===_0x5c29e0?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x48fa68?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x48fa68),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x278baa{constructor(_0x250e9d,_0x3ed906){super(_0x250e9d),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[Oo(_0x250e9d,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x3ed906['toString']())]});}}class AISuggestionStreamableContentView extends _0x278baa{['htmlStreamer'];constructor(_0x364731){super(_0x364731),this['htmlStreamer']=new HTMLStreamer(),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x39b514,renderingStrategy:_0x748396,abortSignal:_0x8ea4ae}){'streaming'===_0x748396?await this['htmlStreamer']['stream']({'document':_0x39b514['content'],'targetElement':this['element'],'abortSignal':_0x8ea4ae}):kf(this['element'],'<'+this['element']['tagName']+'>'+Xa(_0x39b514['content'])+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends _0x278baa{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x49192d,{part:_0x20d4ad,uiIndex:_0x44f53d,areActionsDisabled:_0x71b021,availableActions:_0x405796}){super(_0x49192d);const _0xed22cc=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x193551=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x71b021;};this['on']('change:state',_0x193551),this['on']('change:isDone',_0x193551),_0x193551(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x49192d,{'part':_0x20d4ad,'uiIndex':_0x44f53d,'availableActions':_0x405796,'areActionsDisabled':_0x71b021}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](...Of)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x49192d),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0xed22cc['to']('state',_0x33c453=>'ck-ai-suggestion__body__content-part_'+_0x33c453),_0xed22cc['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0xed22cc['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0xed22cc['if']('isVisible','ck-hidden',_0x43d38d=>!_0x43d38d)]},'children':this['_children'],'on':{'mouseenter':_0xed22cc['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x20d4ad['index']});}),'mouseleave':_0xed22cc['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x20d4ad['index']});}),'click':_0xed22cc['to'](_0x4d2a39=>{const _0x32b905=_0x4d2a39['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x32b905)&&this['fire']('showChangeInText',{'index':_0x20d4ad['index']});})}});}async['updateContent']({part:_0x5992bc,showUnchangedParts:_0x46b0fb=!0x1,abortSignal:_0x565c5f}){this['partDefinition']=_0x5992bc,this['isVisible']=this['partDefinition']['hasChanges']||_0x46b0fb,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x5992bc,'renderingStrategy':'static','abortSignal':_0x565c5f});}['markAsDone'](){this['isDone']=!0x0;}}class AISkeletonView extends _0x278baa{constructor(_0x32f27b,_0x722200){super(_0x32f27b),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x2de3f2=>!_0x2de3f2)]},'children':this['_createSkeletonItems'](_0x722200)});}['_createSkeletonItems'](_0x4227c4){const _0x1ea869=['ck','ck-ai-skeleton__item'];return _0x4227c4['map'](_0x29f1be=>{let _0x56a8bd='';switch(_0x29f1be['attributes']['align']){case'right':_0x56a8bd='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x56a8bd='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x56a8bd='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x29f1be['tag'],'attributes':{'class':[..._0x1ea869,_0x29f1be['attributes']['class']?_0x29f1be['attributes']['class']:''],'style':'width:\x20'+_0x29f1be['attributes']['width']+';\x20height:\x20'+_0x29f1be['attributes']['height']+';'+_0x56a8bd}};});}}const Lf={'aiSuggestionBody':[{'tag':'div','attributes':{'width':'50%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'85%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'75%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}}],'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':$f(0x5,'100%','44px','right'),'aiChatResources':$f(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 $f(_0xc22739,_0x33d822,_0x71a0a1,_0x2a130e){return new Array(_0xc22739)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x33d822,'height':_0x71a0a1,'align':_0x2a130e}}));}class PromiseQueue extends _0x14630b(){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x4c331c){const _0x1ba39b=this['createTask'](_0x4c331c);return this['queue']['push'](_0x1ba39b),this['_processQueue'](),_0x1ba39b['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(_0x2589f2=>{this['once']('_queueEmpty',()=>{_0x2589f2();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x4667e8=this['queue']['shift']();try{await _0x4667e8['callback'](this['_abortController']['signal']),_0x4667e8['resolve']();}catch(_0x576a51){_0x4667e8['reject'](_0x576a51);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x1fa3ea){let _0x40b331,_0x3bc9e7;const _0x20a9e7=new Promise((_0x511098,_0xfa06ae)=>{_0x40b331=_0x511098,_0x3bc9e7=_0xfa06ae;});return{'callback':_0x1fa3ea,'resolve':_0x40b331,'reject':_0x3bc9e7,'completePromise':_0x20a9e7};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0xcab378){super(_0xcab378),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0xcab378['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x37dd98){this['element']['innerHTML']=_0x37dd98;}}const Df=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0x278baa{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x3d5390,_0x195d25=[...Df],_0x284daa){super(_0x3d5390);const _0x46ab88=this['bindTemplate'],_0x2b3868=Boolean(_0x284daa);if(this['set']('isEnabled',!_0x2b3868),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x2b3868){const _0x1854a9=new _0x1a631f(_0x3d5390);_0x1854a9['set']({'label':Oo(_0x3d5390,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x489b0f}),_0x1854a9['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x3ac18b=new _0x278baa(_0x3d5390);_0x3ac18b['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[Oo(_0x3d5390,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x1854a9]}]}),this['children']['add'](_0x3ac18b);}else this['_applyChangesButton']=new _0x1a631f(_0x3d5390),this['_applyChangesButton']['set']({'label':Oo(_0x3d5390,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x195d25['includes']('applySuggestion'),'class':wo}),this['_insertSuggestionsButton']=new _0x1a631f(_0x3d5390),this['_insertSuggestionsButton']['set']({'label':Oo(_0x3d5390,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x195d25['includes']('insertSuggestion'),'class':bo}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x5b87c6=>{_0x5b87c6['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',_0x46ab88['if']('isVisible','ck-hidden',_0x4eb5a5=>!_0x4eb5a5)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x5d592a){this['isVisible']=_0x5d592a;}['_switchButtonLabelsPlurality'](_0x188a5c){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x188a5c?(this['_applyChangesButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}class AIWebSourcesView extends _0x278baa{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x13d2e4,_0x1293eb){super(_0x13d2e4),this['bodyCollection']=_0x1293eb,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',_0x29cebb=>!_0x29cebb)]},'children':this['children']});const _0x2e58aa=new _0x278baa(this['locale']),_0x708f0a=new _0x24ab51();_0x708f0a['content']=_0x55d6b3,_0x2e58aa['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x708f0a,{'tag':'span','children':[{'text':Oo(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x2e58aa),this['_setupBalloonPanel'](_0x13d2e4);}['addSource'](_0x1ce1e0){this['children']['add'](new AIWebSourceView(this['locale'],_0x1ce1e0,this['balloonPanelView']));}['_setupBalloonPanel'](_0x4d88f9){this['balloonPanelView']=new mt(_0x4d88f9),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class AIWebSourceView extends _0x1a631f{['balloonPanelView'];['source'];constructor(_0x5ec93c,_0x5447af,_0xffdba7){super(_0x5ec93c),this['source']=_0x5447af,this['balloonPanelView']=_0xffdba7,this['set']({'label':_0x5447af['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x2f1fa7=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x2f1fa7['to'](()=>{window['open'](_0x5447af['url'],'_blank');}),'mouseenter':_0x2f1fa7['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x2f1fa7['to'](()=>{this['_hideTooltip']();})}}),_0x5447af['favicon']){const _0x38327e=new _0x278baa(_0x5ec93c);_0x38327e['setTemplate']({'tag':'img','attributes':{'src':_0x5447af['favicon']||_0x55d6b3,'alt':_0x5447af['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x38327e);}else this['set']('icon',_0x55d6b3);}['_createTooltipContentView'](_0x5ec74e,_0x2837a6){const _0xaefab5=new _0x278baa(_0x5ec74e),_0x552f27=[];let _0x2345e5;_0x2837a6?.['favicon']?(_0x2345e5=new _0x278baa(_0x5ec74e),_0x2345e5['setTemplate']({'tag':'img','attributes':{'src':_0x2837a6['favicon'],'alt':_0x2837a6['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x2345e5=new _0x24ab51(),_0x2345e5['content']=_0x55d6b3,_0x2345e5['extendTemplate']({'attributes':{'alt':_0x2837a6['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x552f27['push'](_0x2345e5);const _0x4ed8a3=new _0x278baa(_0x5ec74e);_0x4ed8a3['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x2837a6['url']},'children':[{'text':new URL(_0x2837a6['url'])?.['hostname']}]}),_0x552f27['push'](_0x4ed8a3);const _0x56f083=new _0x278baa(_0x5ec74e);_0x56f083['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x552f27});const _0x1c9578=new _0x278baa(_0x5ec74e);return _0x1c9578['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x2837a6['title']['length']>0x190?_0x2837a6['title']['substring'](0x0,0x190)+'...':_0x2837a6['title']}]}),_0xaefab5['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x56f083,_0x1c9578]}),_0xaefab5;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[mt['defaultPositions']['northArrowSouth'],mt['defaultPositions']['northArrowSouthWest'],mt['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 _0x7ed55b=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x7ed55b);}}class AISuggestionBodyView extends _0x278baa{['_actionsView'];['_sourcesView'];['_children'];['_skeletonView'];['_showSkeletonDebounced']=jr(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},0x3e8);['_skeletonShownAt']=null;['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x2c3192,_0x278111){super(_0x2c3192);const {areActionsDisabled:_0x441adc,showUnchangedParts:_0x406f00,availableActions:_0x153e04}=_0x278111;this['_areActionsDisabled']=_0x441adc,this['_showUnchangedParts']=_0x406f00,this['_availableActions']=_0x153e04,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new AISkeletonView(_0x2c3192,Lf['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new PromiseQueue(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':Oo(_0x2c3192,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x2c3192,_0x278111['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new AIWebSourcesView(this['locale'],_0x278111['bodyCollection']),_0x278111['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](...Of)['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']]});}['destroy'](){this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),super['destroy']();}get['partsCount'](){return this['_contentPartViews']['length'];}get['_contentPartViews'](){return Array['from'](this['_children'])['filter'](_0x350090=>_0x350090 instanceof AISuggestionBodyViewContentPartView);}async['updateContentParts']({parts:_0x5d5bc9,abortSignal:_0x437dcd,skipLoadingEffects:_0x18271c}){this['_cachedContentParts']['length']?_0x5d5bc9['forEach'](_0x2a7ba3=>{const _0x1a6619=this['_cachedContentParts']['findIndex'](_0x5a1b97=>_0x5a1b97['index']==_0x2a7ba3['index']);-0x1===_0x1a6619?this['_cachedContentParts']['push'](_0x2a7ba3):this['_cachedContentParts'][_0x1a6619]=_0x2a7ba3;}):this['_cachedContentParts']=_0x5d5bc9;const _0xaeacc1=this['_showUnchangedParts']?_0x5d5bc9:_0x5d5bc9['filter'](_0x479d2f=>_0x479d2f['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0xaeacc1['length']>0x1),_0x18271c&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x5b6782 of _0xaeacc1)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x455a16=>{let _0x15d860=this['getPartView'](_0x5b6782['index']);if(!_0x15d860){if(_0x15d860=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x5b6782,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x15d860['delegate'](...Of)['to'](this),!_0x18271c&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x455a16),_0x455a16['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x15d860,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x18271c||this['_showSkeletonDebounced']();}await _0x15d860['updateContent']({'part':_0x5b6782,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x455a16}),_0x15d860['markAsDone']();});return _0x437dcd?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x59d30f,_0x3dc491){const _0x286364=this['getPartView'](_0x59d30f);_0x286364&&(_0x286364['state']=_0x3dc491),this['hasPendingParts']='pending'==_0x3dc491||this['_contentPartViews']['some'](_0x27bd7b=>'pending'==_0x27bd7b['state']);}['setPartActive'](_0x5ba8e9,_0x49dd70){if(!0x1===_0x5ba8e9){for(const _0x1b20a2 of this['_contentPartViews'])_0x1b20a2['isActive']=!0x1;}else{const _0xc0c5c0=this['getPartView'](_0x5ba8e9);_0xc0c5c0&&(_0xc0c5c0['isActive']=_0x49dd70);}}['updateSources'](_0x1319c6){_0x1319c6['forEach'](_0x5596f9=>this['_sourcesView']['addSource'](_0x5596f9)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x999d79){return this['_contentPartViews']['find'](_0x4ad09e=>_0x4ad09e['partDefinition']['index']==_0x999d79)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x4bba87=!this['_cachedContentParts']['find'](({hasChanges:_0x5b1c59})=>_0x5b1c59),_0x1a65aa=!!this['_cachedContentParts']['find'](({hasChanges:_0x3c3419})=>!_0x3c3419);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x1a65aa,_0x4bba87?this['_emptyPartsWarningView']['setContent'](Oo(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](Oo(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x4e1308=>_0x4e1308['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x2dd6a7){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x169067=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x169067>0x0){const {promise:_0x12f9ff,abortController:_0x19e0f0}=xf(_0x169067);_0x2dd6a7?.['addEventListener']('abort',()=>_0x19e0f0['abort']()),await _0x12f9ff['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0xbe08d9=>_0xbe08d9['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0x278baa{['bodyView'];['children'];['headerView'];constructor(_0x51d30f,_0x1f26b1,_0x49c5ef){super(_0x51d30f);const {showDiff:_0x20c160,areActionsDisabled:_0x3111ac,showUnchangedParts:_0x52f91a,availableActions:_0x5636b5}=_0x1f26b1;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x51d30f,{'showDiff':_0x20c160}),this['headerView']['on']('toggleShowChanges',(_0x2b0e3c,_0x2a6ae5)=>{this['areChangesVisible']=_0x2a6ae5['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x2a6ae5['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x51d30f,{'areActionsDisabled':_0x3111ac,'showUnchangedParts':!!_0x52f91a,'availableActions':_0x5636b5,'bodyCollection':_0x49c5ef}),this['bodyView']['delegate'](...Of)['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'](_0x332934){await this['bodyView']['updateContentParts'](_0x332934);}['updateSources'](_0x59b53d){this['bodyView']['updateSources'](_0x59b53d);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x1b0f6f,_0x53167a,_0xa569ba){super(_0x53167a),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x1b0f6f,{'showDiff':_0x53167a['showDiff'],'areActionsDisabled':_0x53167a['areActionsDisabled'],'availableActions':_0x53167a['availableActions']},_0xa569ba),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x3fead9,_0x2e5036)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x2e5036['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',(_0x822b69,{index:_0x3490f5})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x3490f5});}),this['containerView']['on']('applySuggestion',(_0x2f2c74,{index:_0x5d3750}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x5d3750});}),this['containerView']['on']('insertSuggestion',(_0x728864,{index:_0x581fbd}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x581fbd});}),this['containerView']['on']('rejectSuggestion',(_0x410b8e,{index:_0x50c4a1})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x50c4a1});}),this['containerView']['on']('mouseOverSuggestion',(_0x484d64,{index:_0x2ec987})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2ec987});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x4e3cfa,{index:_0x3171a6})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x3171a6});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x5b6220){await this['containerView']['updateContent'](_0x5b6220);}['updatePartState'](_0xe3c420,_0x4041c9){this['containerView']['bodyView']['updatePartState'](_0xe3c420,_0x4041c9);}['setPartActive'](_0x7c0b16,_0x397623){!0x1===_0x7c0b16?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x7c0b16,_0x397623);}['updateSources'](_0xbfb0c5){this['containerView']['updateSources'](_0xbfb0c5);}['getPartView'](_0x56a21c){return this['containerView']['bodyView']['getPartView'](_0x56a21c);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0xd92093,_0x1fb775,_0xa8cb0d){super(_0x1fb775),this['_bodyCollection']=_0xa8cb0d,this['locale']=_0xd92093,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x278baa(),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':Za(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x560c5a,renderingStrategy:_0x2fda8b,abortSignal:_0x582832}){'streaming'===_0x2fda8b?await this['streamIntoElement'](_0x560c5a,this['replyContainer']['element'],_0x582832):this['replyContainer']['element']['innerHTML']=Ma(_0x560c5a);}['updateSources'](_0x2c0add){const _0xf670f4=new AIWebSourcesView(this['locale'],this['_bodyCollection']);_0xf670f4['children']['addMany'](_0x2c0add['map'](_0x4a2fc4=>new AIWebSourceView(this['locale'],_0x4a2fc4,_0xf670f4['balloonPanelView']))),_0xf670f4['isVisible']=!0x0,this['children']['add'](_0xf670f4);}}class AISpinnerView extends _0x5a3bb9{constructor(_0x5d408a=void 0x0){super();const _0x21f709=_0x5d408a?'ck-ai-spinner_'+_0x5d408a:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x21f709]}});}}const Qf={'file':_0x3a5ed4,'document':_0x1f8e2f,'web-resource':_0x579491,'text':_0x3a5ed4,'selection':_0x59833a,'mcp-tool-context':_0x1f8e2f},Vf='ck-ai-chat-context-chip',Uf='ck-ai-chat-context-chip_wide',Bf='ck-ai-chat-context-chip_document',jf='ck-ai-chat-context-chip__label',Ff='ck-ai-chat-context-chip__type-icon',Hf='ck-ai-chat-context-controls__chip-tooltip',Gf='n';class AIChatContextItemButtonView extends _0x1a631f{constructor(_0x325eb7,_0x8c94c1,_0x4dc9ab,_0x12c53d,_0x2051ce=!0x1){super(_0x325eb7),this['_isAnimationOnEnterEnabled']=_0x12c53d,this['_initializeProperties'](_0x8c94c1,_0x4dc9ab,_0x2051ce),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'](_0x271f14,_0x1d35e7,_0x24cd70){this['set']('label',_0x271f14['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x271f14['type']),this['set']('id',_0x271f14['uiId']),this['set']('readonly',_0x1d35e7),this['set']('isLoading',_0x24cd70);}['_setupTemplate'](){const _0x256d88=this['_createIconView'](),_0x13be92=this['_createRemoveButton'](),_0x5911c4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x5911c4),'children':this['_createTemplateChildren'](_0x256d88,_0x13be92,_0x5911c4)});}['_createTemplateAttributes'](_0x509728){return{'class':[Vf,_0x509728['if']('itemType',Bf,_0x70457=>'document'==_0x70457),_0x509728['if']('itemType',Uf,_0x59bab2=>'selection'==_0x59bab2)],'data-cke-tooltip-text':_0x509728['to']('label',Zf),'data-cke-tooltip-position':Gf,'data-cke-tooltip-class':Hf};}['_createTemplateChildren'](_0x2eb7e0,_0xe22125,_0x489fbd){const _0x2a0929=this['_createLabelElement'](_0x489fbd),_0x5b06f4=this['_createLoaderIcon']();return this['readonly']?[_0x2eb7e0,_0x2a0929]:[_0x2eb7e0,_0x5b06f4,_0x2a0929,_0xe22125];}['_createLabelElement'](_0x52654a){return{'tag':'span','attributes':{'class':jf},'children':[{'text':_0x52654a['to']('label')}]};}['_createRemoveButton'](){const _0x39cfcf=new _0x1a631f(this['locale']);return _0x39cfcf['set']({'label':Oo(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x592cb9}),this['_setupRemoveButtonEvent'](_0x39cfcf),_0x39cfcf;}['_setupRemoveButtonEvent'](_0x4cc6f1){_0x4cc6f1['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x3106a4=this['bindTemplate'],_0x1f7f74=new _0x24ab51();return _0x1f7f74['content']=Qf[this['itemType']],_0x1f7f74['extendTemplate']({'attributes':{'class':[Ff,_0x3106a4['if']('isLoading','ck-hidden',_0x56e212=>_0x56e212)]}}),_0x1f7f74;}['_handleAnimationEndOnce'](_0x22dbd3,_0x36c71c){if(!_0x22dbd3)return;const _0x556337=()=>{_0x36c71c(),_0x22dbd3['removeEventListener']('animationend',_0x556337),_0x22dbd3['removeEventListener']('webkitAnimationEnd',_0x556337);};_0x22dbd3['addEventListener']('animationend',_0x556337),_0x22dbd3['addEventListener']('webkitAnimationEnd',_0x556337);}['_createLoaderIcon'](){const _0x545adc=new AISpinnerView('small');return _0x545adc['bind']('isVisible')['to'](this,'isLoading',_0x113a78=>_0x113a78),_0x545adc;}}function Zf(_0x179585){if(!_0x179585)return _0x179585;if(_0x179585['length']<=0x78)return _0x179585;const _0x5518a8=_0x179585['slice'](0x0,0x78),_0x439e39=_0x5518a8['lastIndexOf']('\x20');return(_0x439e39>0x0?_0x5518a8['slice'](0x0,_0x439e39):_0x5518a8)+'…';}const Xf={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},qf='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x46f00d,_0x5b088a,_0xc3f6a3,_0x1fe646,_0x1b4e5c){this['_locale']=_0x46f00d,this['_visibleChips']=_0x5b088a,this['_config']={...Xf,..._0xc3f6a3,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0xc3f6a3['cssClasses']}},this['_overflowChips']=new _0x307d11(),this['_bodyCollection']=_0x1fe646,this['_parentView']=_0x1b4e5c||null;}['setContainerElement'](_0x484a2f){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x484a2f,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 _0xbdf177=[...this['_visibleChips'],...this['_overflowChips']],_0x430fc0=this['_createCalculationContainer'](),_0x1582fb=this['_calculateOverflowInContainer'](_0x430fc0,_0xbdf177),_0x58ebfa=_0x430fc0['_ancestorsToRestore'];_0x58ebfa&&this['_restoreAncestorVisibility'](_0x58ebfa),_0x430fc0['remove'](),this['_applyOverflowResults'](_0xbdf177,_0x1582fb);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),gt({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x5b25bc=new _0x1a631f(this['_locale']);_0x5b25bc['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4598b8=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x4598b8['push'](this['_config']['cssClasses']['controlsButton']),_0x5b25bc['extendTemplate']({'attributes':{'class':_0x4598b8}}),_0x5b25bc;}['_createShowMoreBalloonPanelView'](){const _0x4c7103=new mt(this['_locale']);return _0x4c7103['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x4c7103),_0x4c7103;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x255bfa=>{_0x255bfa['disableAnimationOnEnter']();});const _0x432712=new _0x278baa(this['_locale']);_0x432712['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x432712);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x51a490=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x51a490?'':'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'](_0x56484a){const _0x338c26=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x2b0349=this['_containerElement']?.['classList'];if(_0x2b0349){const _0x73109d=_0x2b0349[0x0]||'',_0x22afaf=_0x56484a['querySelector']('.'+_0x73109d),_0x1710fc=_0x56484a['querySelector'](_0x338c26);return _0x22afaf||_0x1710fc||_0x56484a;}return _0x56484a['querySelector'](_0x338c26)||_0x56484a;}['_calculateContainerWidth'](){const _0x99e9fb=this['_parentView']?.['element']||this['_containerElement'];if(!_0x99e9fb)return qf;const _0x5fd803=window['getComputedStyle'](_0x99e9fb)['width'];if('auto'===_0x5fd803||'0px'===_0x5fd803||!_0x5fd803){const _0x40924b=_0x99e9fb['parentElement'];if(_0x40924b){const _0xb2ae5b=window['getComputedStyle'](_0x40924b);return'auto'!==_0xb2ae5b['width']?_0xb2ae5b['width']:qf;}return qf;}return _0x5fd803;}['_applyCalculationStyles'](_0x112724,_0x230ffe){this['_config']['cssClasses']['calculationContainer']&&_0x112724['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x112724['style']['width']=_0x230ffe,_0x112724['style']['position']='absolute',_0x112724['style']['top']='-9999px',_0x112724['style']['left']='-9999px',_0x112724['style']['opacity']='0',_0x112724['style']['pointerEvents']='none',_0x112724['style']['zIndex']='-1',_0x112724['style']['visibility']='visible\x20!important',_0x112724['style']['display']='block\x20!important',_0x112724['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x534bb8){_0x534bb8['forEach'](({element:_0x21ce3f,originalDisplay:_0x594d16,originalVisibility:_0x3f268e})=>{_0x21ce3f['style']['display']=_0x594d16,_0x21ce3f['style']['visibility']=_0x3f268e;});}['_makeAncestorsVisible'](_0x149520){const _0x2773a6=[];let _0x89b14a=_0x149520;for(;_0x89b14a&&_0x89b14a!==document['body'];){const _0x69b109=window['getComputedStyle'](_0x89b14a);'none'!==_0x69b109['display']&&'hidden'!==_0x69b109['visibility']||(_0x2773a6['push']({'element':_0x89b14a,'originalDisplay':_0x89b14a['style']['display'],'originalVisibility':_0x89b14a['style']['visibility']}),_0x89b14a['style']['display']='block',_0x89b14a['style']['visibility']='visible'),_0x89b14a=_0x89b14a['parentElement'];}return _0x2773a6;}['_createContainerElements'](){let _0x2a039c,_0x11dcf3;return this['_parentView']?.['element']?(_0x2a039c=this['_parentView']['element']['cloneNode'](!0x0),_0x11dcf3=this['_findTargetContainer'](_0x2a039c)):(_0x2a039c=document['createElement']('div'),_0x11dcf3=_0x2a039c),{'calculationContainer':_0x2a039c,'targetContainer':_0x11dcf3};}['_createCalculationContainer'](){const {calculationContainer:_0x411091,targetContainer:_0x1afbdc}=this['_createContainerElements'](),_0xb28536=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x411091,_0xb28536);const _0x2a960b=this['_parentView']?.['element']||this['_containerElement'],_0xa53d37=_0x2a960b?.['parentElement'];_0xa53d37?_0xa53d37['appendChild'](_0x411091):document['body']['appendChild'](_0x411091),_0x411091['_targetContainer']=_0x1afbdc;const _0x10352d=this['_makeAncestorsVisible'](_0xa53d37||null);return _0x411091['offsetWidth'],_0x411091['_ancestorsToRestore']=_0x10352d,_0x411091;}['_calculateOverflowInContainer'](_0x4c5102,_0x4f8bfd){const _0x8014fa=_0x4c5102['_targetContainer']||_0x4c5102,_0x43e732=[],{rowCount:_0x527618}=this['_renderChipsAndCountRows'](_0x8014fa,_0x4f8bfd);if(_0x527618<=this['_config']['maxVisibleRows'])return _0x43e732;const _0x5cb8cb=_0x4f8bfd['slice']();for(;_0x5cb8cb['length']>0x0;){if(this['_testButtonFit'](_0x4c5102,_0x8014fa,_0x5cb8cb)){const _0x531730=_0x4f8bfd['filter'](_0x5bbde9=>!_0x5cb8cb['includes'](_0x5bbde9));_0x43e732['push'](..._0x531730);break;}if(!_0x5cb8cb['pop']())break;}return _0x43e732;}['_renderChipsAndCountRows'](_0x42fb7c,_0x10629b){_0x42fb7c['innerHTML']='',_0x10629b['forEach'](_0xaea642=>{if(_0xaea642['element']){const _0xa4a4a3=_0xaea642['element']['cloneNode'](!0x0);_0x42fb7c['appendChild'](_0xa4a4a3);}}),_0x42fb7c['offsetWidth'];const _0x3493ea=_0x42fb7c['children'],_0x34db5a=[];return Array['from'](_0x3493ea)['forEach'](_0x1995e2=>{const _0x43ea2a=_0x1995e2['getBoundingClientRect']()['top'];_0x34db5a['some'](_0x3347c4=>Math['abs'](_0x3347c4-_0x43ea2a)<this['_config']['rowDetectionTolerance'])||_0x34db5a['push'](_0x43ea2a);}),{'rowCount':_0x34db5a['length']};}['_createMockButton'](){const _0x5696df=document['createElement']('button');return _0x5696df['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x5696df['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x5696df['textContent']='+\x201',_0x5696df;}['_testButtonFit'](_0x563c57,_0x2d5b75,_0x3889b2){this['_renderChipsAndCountRows'](_0x2d5b75,_0x3889b2);const _0xa5149c=this['_createMockButton']();_0x563c57['appendChild'](_0xa5149c),_0x563c57['offsetWidth'];const _0x423701=[..._0x2d5b75['children'],_0xa5149c],_0x13a94c=[];_0x423701['forEach'](_0x35f4a5=>{const _0x37eb06=_0x35f4a5['getBoundingClientRect']()['top'];_0x13a94c['some'](_0x2184d4=>Math['abs'](_0x2184d4-_0x37eb06)<this['_config']['rowDetectionTolerance'])||_0x13a94c['push'](_0x37eb06);});const _0x45be2b=_0x13a94c['length'];return _0xa5149c['remove'](),_0x45be2b<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x4fb91d,_0x360789){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x4fb91d['forEach'](_0x3ca536=>{_0x360789['includes'](_0x3ca536)?this['_overflowChips']['add'](_0x3ca536):this['_visibleChips']['add'](_0x3ca536);});}['_updateOverflowUI'](_0x418332){if(_0x418332>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x418332>0x0&&this['_showMoreButtonView']){const _0x532b8e=''+this['_config']['showMoreLabelPrefix']+(_0x418332<0x63?_0x418332:'99');this['_showMoreButtonView']['label']=_0x532b8e;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x342a8e,_0x35773d){this['_distributeChips'](_0x342a8e,_0x35773d),this['_updateOverflowUI'](_0x35773d['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x3e2e62=>{_0x3e2e62[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 _0x5423f9=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x5423f9['width']||0x0===_0x5423f9['height'])return!0x1;const _0x1b2799=window['innerHeight']||document['documentElement']['clientHeight'],_0x12b627=window['innerWidth']||document['documentElement']['clientWidth'],_0xa8b98d=0xc8;return _0x5423f9['bottom']>=-0xc8&&_0x5423f9['top']<=_0x1b2799+_0xa8b98d&&_0x5423f9['right']>=-0xc8&&_0x5423f9['left']<=_0x12b627+_0xa8b98d;}}const Wf='ck-ai-chat__feed__context-chips',zf='ck-ai-chat-context-chips-wrapper',Yf='ck-ai-chat-context-chips-wrapper-balloon',Kf='ck-ai-chat-controls-button',Jf='ck-ai-chat-controls_context_show-more-button',tm='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0x278baa{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x1ca253,_0x1d3be6,_0x1d053e){super(_0x1ca253),this['_bodyCollection']=_0x1d053e,this['_createContextChips'](_0x1d3be6);const _0x4cde7b={'cssClasses':{'showMoreButton':Jf+'\x20'+yo,'showMoreBalloon':tm,'overflowContainer':Yf,'controlsButton':Kf}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x1ca253,this['_contextChips'],_0x4cde7b,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[Wf,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':zf},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x43835d=this['element']['querySelector']('.'+zf);_0x43835d&&(this['_overflowManager']['setContainerElement'](_0x43835d),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x5ae7ef){for(const _0x6ff4c2 of _0x5ae7ef){const _0x191554=new AIChatContextItemButtonView(this['locale'],_0x6ff4c2,!0x0,!0x1);this['_contextChips']['add'](_0x191554);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x2d4d21,_0x12fef6,_0x425f8e){super(_0x12fef6),this['_locale']=_0x2d4d21,this['_bodyCollection']=_0x425f8e,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'](_0x56b1c5=>!_0x56b1c5['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x278baa(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(_0x2ae05c,_0x2cb413){super(_0x2cb413);const {isWebSearchEnabled:_0x221f20,isReasoningEnabled:_0xeb43ee}=_0x2cb413['capabilities'],_0x411476=[];let _0x108f21='';_0x221f20&&_0xeb43ee?(_0x108f21=Oo(_0x2ae05c,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x411476['push'](em(_0x55d6b3)),_0x411476['push'](em(_0x3260e2))):_0x221f20?(_0x108f21=Oo(_0x2ae05c,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x411476['push'](em(_0x55d6b3))):_0xeb43ee&&(_0x108f21=Oo(_0x2ae05c,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x411476['push'](em(_0x3260e2))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x108f21?'':'ck-hidden']}});const _0x5aa556=new _0x278baa();_0x5aa556['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x411476,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x108f21]}]}),this['children']['add'](_0x5aa556),this['capabilities']=_0x2cb413['capabilities'];}}function em(_0x2a9bc5){const _0x2f1cff=new _0x24ab51();return _0x2f1cff['content']=_0x2a9bc5,_0x2f1cff;}const im=['wheel','touchstart','pointerdown','keydown'],sm=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class ScrollManager{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x1f2e03){this['element']=_0x1f2e03,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x31e5d2 of im){const _0x4a4366='keydown'!==_0x31e5d2;this['element']['addEventListener'](_0x31e5d2,this['_onUserEvent']['bind'](this),{'passive':_0x4a4366,'signal':this['abortController']['signal']});}}['start']({smooth:_0x3ef666=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x3ef666?'smooth':'auto',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'](_0xd65699){if(this['isRunning']){if('keydown'===_0xd65699['type']){const _0xf670af=_0xd65699['key'];if(!sm['includes'](_0xf670af))return;}_0xd65699 instanceof WheelEvent?_0xd65699['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x36e75c,scrollHeight:_0x5b6587,clientHeight:_0x50da8f}=this['element'];return _0x5b6587-_0x36e75c-_0x50da8f<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':this['scrollBehavior']}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x5b2c5d){super(_0x5b2c5d),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 _0x278baa{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x5a8fc5,_0x459e47){super(_0x5a8fc5),this['_bodyCollection']=_0x459e47,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](...wf)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new ScrollManager(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x20c6c3,_0x40c6d5){let _0x5e4525;return'ai-reply'===_0x20c6c3?_0x5e4525=new AIChatFeedReplyItemView(this['locale'],_0x40c6d5,this['_bodyCollection']):'ai-suggestion-reply'===_0x20c6c3?(_0x5e4525=new AIChatFeedSuggestionItemView(this['locale'],_0x40c6d5,this['_bodyCollection']),_0x5e4525['bind']('isTrackChangesOn')['to'](this)):_0x5e4525='user-message'===_0x20c6c3?new AIChatFeedUserMessageItemView(this['locale'],_0x40c6d5,this['_bodyCollection']):'interaction-header'===_0x20c6c3?new AIChatFeedInteractionHeaderView(this['locale'],_0x40c6d5):'custom-element'===_0x20c6c3?new AIChatFeedCustomElementView(_0x40c6d5):new AIChatFeedErrorItemView(_0x40c6d5),this['children']['add'](_0x5e4525),_0x5e4525;}async['updateReplyItem']({id:_0x2e0f8c,parsedContent:_0x5b7f2e,renderingStrategy:_0x3ef68f,abortSignal:_0x348834}){const _0x284ad0=this['getItemById'](_0x2e0f8c);if(!(_0x284ad0 instanceof AIChatFeedReplyItemView))throw new _0x3ae0e8('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x284ad0,'id':_0x2e0f8c,'parsedContent':_0x5b7f2e});await _0x284ad0['updateContent']({'parsedContent':_0x5b7f2e,'renderingStrategy':_0x3ef68f,'abortSignal':_0x348834});}async['updateWebSources'](_0x146a35,_0x6c62e9){const _0x3c3c69=this['getItemById'](_0x146a35);if(_0x3c3c69 instanceof AIChatFeedSuggestionItemView)_0x3c3c69['updateSources'](_0x6c62e9);else{if(!(_0x3c3c69 instanceof AIChatFeedReplyItemView))throw new _0x3ae0e8('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x3c3c69,'id':_0x146a35,'sources':_0x6c62e9});_0x3c3c69['updateSources'](_0x6c62e9);}}async['updateSuggestionItem']({id:_0x54d68f,parts:_0x91712b,abortSignal:_0x1c7152,skipLoadingEffects:_0x5906ec}){const _0x509c63=this['getItemById'](_0x54d68f);if(!(_0x509c63 instanceof AIChatFeedSuggestionItemView))throw new _0x3ae0e8('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x509c63,'id':_0x54d68f,'parts':_0x91712b});await _0x509c63['updateContent']({'parts':_0x91712b,'abortSignal':_0x1c7152,'skipLoadingEffects':_0x5906ec});}['updateSuggestionPartState']({id:_0x361426,index:_0x4c05c6,state:_0x59b512}){const _0x22698c=this['getItemById'](_0x361426);if(!(_0x22698c instanceof AIChatFeedSuggestionItemView))throw new _0x3ae0e8('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x361426});_0x22698c['updatePartState'](_0x4c05c6,_0x59b512);}['setSuggestionPartActive']({id:_0x195e0e,index:_0x5d9718,isActive:_0x124af8}){const _0x5d0efc=this['getItemById'](_0x195e0e);if(!(_0x5d0efc instanceof AIChatFeedSuggestionItemView))throw new _0x3ae0e8('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x195e0e});this['children']['filter'](_0x115bb0=>_0x115bb0 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x240dbe=>{_0x240dbe['setPartActive'](!0x1);}),_0x5d0efc['setPartActive'](_0x5d9718,_0x124af8);}['markItemAsDone'](_0x515cbc){this['getItemById'](_0x515cbc)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x2bd629=>_0x2bd629['options']['id']);}['removeItem'](_0x55f68a){this['children']['remove'](this['getItemById'](_0x55f68a));}['hasItem'](_0x4e9cea){return!!this['children']['find'](_0x1aa3fe=>_0x1aa3fe['options']['id']['includes'](_0x4e9cea));}['scrollToSuggestion'](_0x15c9d5,_0x4454a0){const _0x4cddea=this['getItemById'](_0x15c9d5);if(!(_0x4cddea instanceof AIChatFeedSuggestionItemView))return void _0x5eb6e4('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x15c9d5,'partIndex':_0x4454a0});const _0x443e6f=_0x4cddea['getPartView'](_0x4454a0);_0x443e6f?_0x2228c5(_0x443e6f['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x5eb6e4('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x15c9d5,'partIndex':_0x4454a0});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x283c07=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x283c07,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x1f21f3=new AISkeletonView(this['locale'],Lf['aiFeed']);return _0x1f21f3['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x1f21f3;}['_createFeedItems'](){const _0x1b9a31=new _0x278baa(this['locale']);return _0x1b9a31['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x1b9a31;}['_createFeedLoader'](){const _0x394638=new _0x278baa(this['locale']);return _0x394638['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0xdf5623=>!_0xdf5623)]},'children':this['_createLoaderChildren']()}),_0x394638;}['_createLoaderChildren'](){const _0xe0e77d=new AISpinnerView();return _0xe0e77d['isVisible']=!0x0,[_0xe0e77d,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x4fc693){const _0x5ae033=this['children']['find'](_0x4d15ae=>_0x4d15ae['options']['id']['includes'](_0x4fc693));if(!_0x5ae033)throw new _0x3ae0e8('ai-chat-feed-view-item-not-found',this,{'id':_0x4fc693});return _0x5ae033;}['setLoadingMessage'](_0xe0f46a){this['set']('loadingMessage',_0xe0f46a);}['toggleLoadingSkeleton'](_0x5c9278){this['set']('isLoadingSkeletonVisible',_0x5c9278);}['startAutoScroll'](_0x5e76ba={}){this['scrollManager']['start'](_0x5e76ba);}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0x171307{['filter'](){let _0x5177cb=0x0;for(const _0x1a8042 of this['items'])_0x5177cb+=_0x1a8042['items']['length'];return{'resultsCount':_0x5177cb,'totalItemsCount':_0x5177cb};}}const nm='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0x3264fa{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x6b5f78,_0x380cde){super(_0x6b5f78,{'queryView':{'label':'','creator':it,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x6b5f78),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x380cde,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',(_0xeefd03,_0x1f1d83)=>!_0xeefd03&&!_0x1f1d83),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x4e58d0,_0x5adb6b)=>{this['isUploadInProgress']||this['isEmpty']||_0x4e58d0['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x5adb6b());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x4f8cd8=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x4f8cd8)return this['queryView']['errorText']=Oo(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x163c34=io(_0x4f8cd8);this['fire']('sendUserMessage',_0x163c34),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x42dd76){this['queryView']['fieldView']['set']('placeholder',_0x42dd76);}['focus'](_0x20cdf8=!0x1){super['focus'](),_0x20cdf8&&(this['element']['classList']['contains'](nm)||(this['element']['classList']['add'](nm),setTimeout(()=>{this['element']['classList']['remove'](nm);},0x320)));}['_createSubmitButton'](){const _0x27c930=new _0x1a631f(this['locale']);return _0x27c930['set']({'icon':_0x27786c,'label':Oo(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+wo,'isEnabled':!0x1}),_0x27c930['on']('execute',()=>{this['submit']();}),_0x27c930;}['setIsUploadInProgress'](_0x230e4b){this['isUploadInProgress']=_0x230e4b;}['_setUpAddContextButtonPositioning'](){const _0x427365=this['locale'],_0x5d65a0=()=>{_0x37cedc['window']['requestAnimationFrame'](()=>{if(_0x22a890(this['element'])){const _0xd733b7=new _0xbeaf38(this['queryView']['fieldView']['element']),_0x56241d=new _0xbeaf38(this['_addContextButtonView']['element']),_0x2fdc29=_0xd733b7['width'],_0x1e0d22='rtl'===_0x427365['uiLanguageDirection']?'right':'left';_0xd733b7['excludeScrollbarsAndBorders']();const _0x4aa376=_0x2fdc29-_0xd733b7['width']+0x1;this['_addContextButtonView']['element']['style'][_0x1e0d22]='calc('+(_0x2fdc29-_0x56241d['width']-_0x4aa376)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x5d65a0),this['on']('render',()=>{_0x5d65a0(),this['_queryViewResizeObserver']=new _0x5fea7(this['queryView']['fieldView']['element'],()=>{_0x5d65a0();});});}}const rm='ck-ai-chat__prompt-capabilities',om='ck-ai-chat-controls-button',am='ck-ai-chat-controls-button--commands',cm='ck-ai-chat-controls__model-selection',lm='ck-ai-chat-controls__model-selection__item-name',hm='ck-ai-chat-controls__model-selection__item-description',um='ck-ai-chat-controls__model-selection__item-capabilities',dm='n';class AIChatPromptCapabilitiesView extends _0x278baa{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x29fde3){super(_0x29fde3),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',_0x5f39c9=>'selector'===_0x5f39c9),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x5983ca=>_0x5983ca?this['_modelSelectionDropdown']['buttonView']['label']:Oo(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x506415=>_0x506415),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x2416dd=>_0x2416dd),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x2e73ea=>Oo(this['locale'],_0x2e73ea?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x3fc37e=>_0x3fc37e),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x4e123d=>Oo(this['locale'],_0x4e123d?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[rm]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x307d11(),pt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x3c2558,_0x3d9262){if(_0x3d9262)this['set']('modelDisplayMode','hidden');else{const _0x1585da=0x1===_0x3c2558['length'];this['set']('modelDisplayMode',_0x1585da?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x3c2558?.['length'])for(const _0x15cb2d of _0x3c2558){const _0x3dd859=new Ot({'label':_0x15cb2d['name'],'withText':!0x0,'role':'menuitemradio','id':_0x15cb2d['id'],'model':_0x15cb2d});_0x3dd859['bind']('isOn')['to'](this,'activeModelId',_0xe11e3b=>_0xe11e3b===_0x15cb2d['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3dd859,'labelView':new fm(this['locale'],_0x15cb2d)});}}['setWebSearch'](_0x224345){this['set']('webSearchActive',_0x224345);}['setReasoning'](_0x178635){this['set']('reasoningActive',_0x178635);}['setModel'](_0x2c6051){if(!_0x2c6051)return;this['activeModelId']=_0x2c6051['id'],this['activeModelName']=_0x2c6051['name']||_0x2c6051['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x2c6051['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x2c6051['name']);const _0x4dded9=_0x2c6051['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x4dded9),this['_webSearchButton']['set']('isVisible',_0x4dded9);const _0x30d512=_0x2c6051['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x30d512),this['_reasoningButton']['set']('isVisible',_0x30d512);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x190142){this['set']('modelSelectorEnabled',!0x1),_0x190142&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x3684b9=new _0x1a631f();return _0x3684b9['set']({'label':Oo(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x55d6b3,'class':om+'\x20'+yo,'isToggleable':!0x0,'tooltipPosition':dm}),_0x3684b9['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x3684b9;}['_createReasoningButton'](){const _0x425917=new _0x1a631f();return _0x425917['set']({'label':Oo(this['locale'],'AI_CHAT_REASONING'),'icon':_0x3260e2,'class':om+'\x20'+yo,'isToggleable':!0x0,'tooltipPosition':dm}),_0x425917['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x425917;}['_createCommandsButton'](){const _0x4eef13=new _0x1a631f();return _0x4eef13['set']({'label':Oo(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x3171e6,'withText':!0x0,'class':om+'\x20'+yo,'isToggleable':!0x0,'tooltip':Oo(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':dm}),_0x4eef13['extendTemplate']({'attributes':{'class':[am]}}),_0x4eef13['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x4eef13;}['_createModelSelectionDropdown'](){const _0x4e4031=nt(this['locale']);return _0x4e4031['set']({'panelPosition':'ne','class':[cm]}),_0x4e4031['buttonView']['set']({'label':Oo(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':dm,'class':yo}),this['listenTo'](_0x4e4031,'execute',_0x5e83b7=>{this['fire']('selectModel',_0x5e83b7['source']['model']);}),_0x4e4031;}['_createModelNameView'](){const _0x19732f=new mm(this['locale']);return _0x19732f['bind']('text')['to'](this,'activeModelName',_0x47e9e7=>_0x47e9e7??''),_0x19732f['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4b9c10=>'name'===_0x4b9c10),_0x19732f;}}let fm=class ModelButtonLabelView extends tt{constructor(_0x145b1f,_0x3ec0ca){super();const _0x45c0f3=this['bindTemplate'],_0x4a6307=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x45c0f3['to']('style'),'id':_0x45c0f3['to']('id')},'children':[{'tag':'div','attributes':{'class':[lm]},'children':[{'text':_0x45c0f3['to']('text')}]},{'tag':'div','attributes':{'class':[hm]},'children':[{'tag':'span','children':[{'text':_0x3ec0ca['description']}]}]},{'tag':'div','attributes':{'class':[um]},'children':_0x4a6307}]}),_0x4a6307['addMany'](this['_getCapabilityParts'](_0x145b1f,_0x55d6b3,'AI_CHAT_SEARCH_WEB',_0x3ec0ca['capabilities']['webSearch']?.['enabled']??!0x1)),_0x4a6307['addMany'](this['_getCapabilityParts'](_0x145b1f,_0x3260e2,'AI_CHAT_REASONING',_0x3ec0ca['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x3b174e,_0x281e76,_0xc486c9,_0x268cfa){const _0x11b46d=new _0x24ab51();_0x11b46d['content']=_0x281e76;const _0x1e2e86=new _0x278baa(_0x3b174e);_0x1e2e86['setTemplate']({'tag':'span','children':[{'text':Oo(_0x3b174e,_0xc486c9)+':\x20'}]});const _0x26c18f=new _0x278baa(_0x3b174e);return _0x26c18f['setTemplate']({'tag':'span','children':[{'text':Oo(_0x3b174e,_0x268cfa?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x11b46d,_0x1e2e86,_0x26c18f];}},mm=class ModelNameView extends _0x278baa{constructor(_0x4a7ddb){super(_0x4a7ddb),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x561baa=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x561baa['if']('isVisible','ck-hidden',_0x26efa5=>!_0x26efa5)]},'children':[{'text':_0x561baa['to']('text')}]});}};const gm='ck-ai-chat-context-controls__url-form',pm='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0x278baa{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x48550a){super(_0x48550a),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),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 et({'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'](_0x418a3b=>{this['focusTracker']['add'](_0x418a3b['element']),this['keystrokes']['listenTo'](_0x418a3b['element']);}),wt({'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'](_0x58085d){this['urlInputField']['errorText']=_0x58085d,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x2105e7=new _0x1a631f(this['locale']);return _0x2105e7['set']({'icon':_0x3379a0,'tooltip':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x43e4a6,_0x5c1b0b,_0x44925f)=>{_0x2105e7['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x44925f?'':'\x20ck-hidden')]});}),_0x2105e7;}['_createUrlInputField'](){const _0x52472c=new bt(this['locale'],yt);return _0x52472c['set']({'label':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x52472c['fieldView']['set']({'placeholder':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x52472c;}['_createConfirmButton'](){const _0x1d8373=new _0x1a631f(this['locale']);return _0x1d8373['set']({'icon':_0x28777c,'tooltip':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x1d8373;}['_setupTemplate'](){const _0xa12658=new vt(this['locale'],{'label':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0xa12658['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':gm,'tabindex':'-1'},'children':[_0xa12658,{'tag':'div','attributes':{'class':pm},'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',_0x20fca3=>{_0x20fca3['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x1f2bc8,_0x4f99fc)=>{this['clear'](),this['fire']('cancel'),_0x4f99fc();});}['_handleSubmit'](){const _0x3d00ea=this['getValue']()['trim']();_0x3d00ea?this['_isValidUrl'](_0x3d00ea)?(this['clearError'](),this['fire']('submitUrl',_0x3d00ea)):this['setError'](Oo(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](Oo(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x414184=this['getValue']()['trim'](),_0x384d13=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x414184['length']>0x0&&!_0x384d13;}['_isValidUrl'](_0x2316b1){try{return!!new URL(_0x2316b1);}catch{return!0x1;}}}const Om='ck-ai-chat-resources__item',wm='ck-ai-chat-resources__item--in-context',bm='ck-ai-chat-resources__item-title',ym='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0x3a2da2{['resource'];['_titleView'];['_iconView'];constructor(_0x3fca74,_0xa03777){super(_0x3fca74),this['resource']=_0xa03777,this['set']('isInContext',!!_0xa03777['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x4e36a2){if(_0x4e36a2['isInContext'])return _0x28777c;switch(_0x4e36a2['type']){case'document':return _0x1f8e2f;case'web-resource':return _0x579491;case'file':case'text':return _0x3a5ed4;default:return _0x48b97d;}}['highlightText'](_0x439fee){if(!_0x439fee||''===_0x439fee['trim']())return void this['_titleView']['highlightText'](null);const _0x48e1a6=new RegExp(so(_0x439fee),'gi');this['_titleView']['highlightText'](_0x48e1a6);}['updateResourceState'](_0x46688b){this['resource']['isInContext']=_0x46688b,this['isInContext']=_0x46688b,this['_updateIcon']();}['_createTitleView'](){const _0x389c77=new _t();return _0x389c77['text']=this['resource']['label'],_0x389c77['extendTemplate']({'tag':'span','attributes':{'class':[bm]}}),_0x389c77;}['_createIconView'](){const _0x36d928=new _0x24ab51();return _0x36d928['content']=this['getResourceIcon'](this['resource']),_0x36d928;}['_setupTemplate'](){const _0x1edce6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[Om,_0x1edce6['if']('isVisible','ck-hidden',_0x29fca0=>!_0x29fca0),_0x1edce6['if']('isInContext',wm)]},'children':[{'tag':'div','attributes':{'class':[ym]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x1edce6['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const vm='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0x171307{['_source'];constructor(_0x13e48e,_0x730290){super(_0x13e48e),this['_source']=_0x730290,this['extendTemplate']({'attributes':{'class':[vm]}});}['setResources'](_0x50c5a5,_0x32b318){this['items']['clear']();let _0x433f0a=_0x50c5a5;if(this['_source']['useDefaultFiltering']&&_0x32b318&&''!==_0x32b318['trim']()){const _0xcb1495=new RegExp(_0x32b318['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x433f0a=_0x50c5a5['filter'](_0x4cfcca=>_0xcb1495['test'](_0x4cfcca['label']));}for(const _0x531087 of _0x433f0a){const _0x1ff2e8=new AIChatResourceListItemView(this['locale'],_0x531087);_0x1ff2e8['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x531087);}),this['items']['add'](_0x1ff2e8);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x32b318);}['highlightText'](_0x2e600e){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x140c81=>{_0x140c81['highlightText'](_0x2e600e);});}['updateResourceState'](_0x2696d1,_0x4010d0){for(const _0xab49e8 of this['items']){const _0x22762d=_0xab49e8;_0x22762d['resource']['id']===_0x2696d1&&_0x22762d['updateResourceState'](_0x4010d0);}}['_handleResourceSelection'](_0x2f8b57,_0xdba36a){this['fire']('addResourceToContext',{'source':_0x2f8b57,'resource':_0xdba36a});}}class AIChatContextResourcesSearchInputView extends bt{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x50618e){const t=_0x50618e['t'],_0x5c1034={'showResetButton':!0x0,'showIcon':!0x0,'creator':yt,'label':Oo(_0x50618e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x50618e,_0x5c1034['creator']),this['label']=_0x5c1034['label'],this['_viewConfig']=_0x5c1034,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x50618e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x535101){this['fire']('search',_0x535101);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x24ab51(),this['iconView']['content']=_0x20bb0f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x1f5ba4,t){this['resetButtonView']=new _0x1a631f(_0x1f5ba4),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x592cb9,'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',_0xc5dfd1=>!_0xc5dfd1),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 _0x278baa{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x5f4ae7,_0x291d2a){super(_0x5f4ae7),this['_source']=_0x291d2a['source'],this['_searchInputVisibleFrom']=_0x291d2a['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 Et([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 _0x2288f1=new _0x278baa(this['locale']);return _0x2288f1['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x208bdd,_0x59f087)=>{this['loadResources'](_0x59f087),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x59f087);}),_0x2288f1;}['_createResourcesListView'](){const _0x288bf5=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x288bf5['delegate']('addResourceToContext')['to'](this),_0x288bf5['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x288bf5;}['_createSkeletonView'](){const _0x173486=new AISkeletonView(this['locale'],Lf['aiChatResources']);return _0x173486['bind']('isVisible')['to'](this,'isLoading'),_0x173486;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x35c69d){const _0x19e49e=_0x462bc0();this['_latestLoadResourcesUid']=_0x19e49e,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x35c69d,'uid':_0x19e49e}),this['isLoading']=!0x0;}['setResources'](_0x538209,_0x5e7bb3){if(_0x5e7bb3&&_0x5e7bb3!==this['_latestLoadResourcesUid'])return;const _0x5e6a7f=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x538209,_0x5e6a7f),_0x538209['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x4fff26,_0x149a93){this['_resourcesListView']['updateResourceState'](_0x4fff26,_0x149a93);}}const _m='ck-ai-chat-context-controls__source-balloon-panel',Em='ck-button-icon\x20ck-button-back',Tm='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x2e651e,_0x14237b,_0x5d3543){this['_locale']=_0x2e651e,this['_bodyCollection']=_0x14237b,this['_config']=_0x5d3543;}['showSourceResourcesBalloon']({source:_0x4bc20e,withBackButton:_0x17ee6b}){let _0x310469=this['_sourceResourceBalloons']['get'](_0x4bc20e['id']);_0x310469||(_0x310469=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x4bc20e['id'],_0x310469),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x310469)),this['_addSourceResourceContent']({'balloonPanel':_0x310469,'source':_0x4bc20e,'withBackButton':_0x17ee6b}),_0x310469['show']();const _0x380117=this['_config']['getTargetElement']();_0x380117&&_0x310469['pin']({'target':_0x380117,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x59a13e,_0x544074,_0x304457){const _0x1183b5=this['_sourceResourceBalloons']['get'](_0x59a13e);if(!_0x1183b5)return;const _0x1a879a=this['_getResourcesViewFromBalloon'](_0x1183b5);_0x1a879a&&(_0x1a879a['setResources'](_0x544074,_0x304457),_0x1a879a['once']('change:isLoading',()=>{_0x1183b5['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x261367){const _0x36008f=this['_sourceResourceBalloons']['get'](_0x261367);_0x36008f&&requestAnimationFrame(()=>{_0x36008f['hide'](),this['_sourceResourceBalloons']['delete'](_0x261367),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x541a2f of this['_sourceResourceBalloons']['values']())if(_0x541a2f['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x2348c9,_0x5e4a1d,_0xe2a13d){const _0x5ef5ac=this['_sourceResourceBalloons']['get'](_0x2348c9);if(!_0x5ef5ac||!_0x5ef5ac['isVisible'])return;const _0x480630=this['_config']['getTargetElement']();if(!_0x480630)return;_0x5ef5ac['pin']({'target':_0x480630,'limiter':this['_config']['getLimiterElement']()});const _0x360151=this['_getResourcesViewFromBalloon'](_0x5ef5ac);_0x360151&&_0x360151['updateResourceState'](_0x5e4a1d,_0xe2a13d);}['destroy'](){for(const _0x2df35e of this['_sourceResourceBalloons']['values']())_0x2df35e['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x5b6e2f=new mt(this['_locale']);return _0x5b6e2f['extendTemplate']({'attributes':{'class':_m}}),this['_bodyCollection']['add'](_0x5b6e2f),_0x5b6e2f;}['_addSourceResourceContent']({balloonPanel:_0x26e823,source:_0x2b17ab,withBackButton:_0x2adc45}){_0x26e823['content']['clear']();const _0x168dd8=this['_createBalloonHeader']({'balloonPanel':_0x26e823,'source':_0x2b17ab,'withBackButton':_0x2adc45});_0x26e823['content']['add'](_0x168dd8);const _0x106e48=this['_createBalloonResourcesView'](_0x2b17ab);_0x26e823['content']['add'](_0x106e48);}['_createBalloonHeader']({balloonPanel:_0x376658,source:_0x4da27e,withBackButton:_0x2972ba}){const _0x341242=new vt(this['_locale'],{'label':_0x4da27e['label'],'class':Tm});return _0x2972ba&&_0x341242['children']['add'](this['_createBackButton'](_0x376658),0x0),_0x341242;}['_createBackButton'](_0x1e9238){const _0x432033=new _0x1a631f(this['_locale']);return _0x432033['set']({'icon':_0x3379a0,'tooltip':Oo(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':Em}),_0x432033['on']('execute',()=>{_0x1e9238['hide'](),this['_config']['onBackToContext']();}),_0x432033;}['_createBalloonResourcesView'](_0xa4af6d){const _0x317057=new AIChatContextResourcesView(this['_locale'],{'source':_0xa4af6d,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x317057['on']('loadSourceResources',(_0x56b148,_0x231194)=>{this['_config']['onLoadSourceResources'](_0x231194);}),_0x317057['on']('addResourceToContext',(_0x233fcd,_0xaa9aed)=>{this['_config']['onResourceSelected'](_0xaa9aed['source'],_0xaa9aed['resource']),this['closeSourceResourceBalloon'](_0xa4af6d['id']);}),_0x317057;}['_getResourcesViewFromBalloon'](_0x3367f5){const _0x388ce6=_0x3367f5['content']['get'](0x1);return _0x388ce6 instanceof AIChatContextResourcesView?_0x388ce6:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x523c43){gt({'emitter':_0x523c43,'contextElements':[_0x523c43['element']],'callback':()=>{_0x523c43['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x523c43['isVisible']});}}const Am=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],Sm='ck-ai-chat-context-controls',Im='ck-ai-chat-context-controls__pending-contexts',Cm='ck-ai-chat-context-controls__add-context-balloon-panel',km='ck-ai-chat-context-controls__add-context-button',xm='ck-ai-chat-context-controls__url-balloon-panel',Rm='ck-ai-chat-context-controls__balloon-button',Pm='ck-ai-chat-context-controls__balloon-button-source',Mm='ck-ai-chat-controls-button',Nm='ck-ai-chat-context-chips-wrapper-balloon',Lm='ck-ai-chat-controls_context_show-more-button',$m='ck-ai-chat-context-controls__show-more-balloon-panel',Dm='ck-ai-chat',Qm=[mt['defaultPositions']['northArrowSouthWest'],mt['defaultPositions']['northArrowSouth'],mt['defaultPositions']['northArrowSouthEast'],mt['defaultPositions']['southArrowNorthWest'],mt['defaultPositions']['southArrowNorth'],mt['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0x278baa{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0xc2d269,_0x2b2055){super(_0xc2d269),this['bodyCollection']=_0x2b2055['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0xc2d269),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0xc2d269),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0xc2d269),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0xc2d269,_0x2b2055);const _0x52a2d3={'cssClasses':{'showMoreButton':Lm+'\x20'+yo,'showMoreBalloon':$m,'overflowContainer':Nm,'controlsButton':Mm}};this['_overflowManager']=new AIChatChipsOverflowManager(_0xc2d269,this['_currentContextsChips'],_0x52a2d3,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'](_0x432728,_0x37fdbf){const _0xa7f248=this['_createContextButton'](_0x432728,'current',!0x0,_0x37fdbf);this['_addContextToCollection'](_0xa7f248,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x485437){this['_removeContextFromCollection'](_0x485437,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x485437,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x541105,_0x2c1d57){let _0x5c955d=this['_currentContextsChips']['find'](_0x4abe77=>_0x4abe77['id']===_0x541105);_0x5c955d||(_0x5c955d=this['_overflowManager']['overflowChips']['find'](_0x5058bf=>_0x5058bf['id']===_0x541105)),_0x5c955d&&(_0x5c955d['isLoading']=_0x2c1d57);}['setConversationContext'](_0x3c0f1c){this['_conversationContextsChips']['clear']();for(const _0x16712d of _0x3c0f1c){const _0xfd588b=this['_createContextButton'](_0x16712d,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0xfd588b,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x1599b0,_0x23f318,_0x5adb6a){this['_resourcesBalloonView']['updateResourceState'](_0x1599b0,_0x23f318,_0x5adb6a);}['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:_0x5c265e,withBackButton:_0x568b9f}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x5c265e,'withBackButton':_0x568b9f}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x4a551c,_0x45c356,_0x44918e,_0x2311bb){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x4a551c,_0x44918e,_0x2311bb);}['closeSourceResourceBalloon'](_0x410d9c){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x410d9c),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x268a25){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x268a25),this['_setAddContextButtonEnabled'](_0x268a25);}['_setAddContextButtonEnabled'](_0x18174e){const _0x323245=!_0x18174e['document']['isHidden']&&_0x18174e['document']['enabled'],_0x49d4cf=_0x18174e['urls']['enabled'],_0x24ef35=_0x18174e['files']['enabled'],_0x205db7=_0x18174e['sources']['length']>0x0,_0x365fc7=_0x18174e['customItems']&&_0x18174e['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x323245||_0x49d4cf||_0x24ef35||_0x205db7||_0x365fc7;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[Sm,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':Im},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x5cad01){const _0x3ace92=new _0x1a631f(_0x5cad01);return _0x3ace92['set']({'label':Oo(_0x5cad01,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':Mm+'\x20'+km+'\x20'+yo,'icon':_0x47ab62,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x3ace92;}['_createAddContextBalloonPanelView'](_0x8e31ce){return this['_createBaseBalloonPanel'](_0x8e31ce,Cm);}['_createUrlBalloonPanelView'](_0x65a78){const _0x55f163=this['_createBaseBalloonPanel'](_0x65a78,xm);return this['_addUrlContent'](_0x55f163,_0x65a78),_0x55f163;}['_createResourcesBalloonView'](_0x42642f,_0x26731f){const _0x18ff76={'searchInputVisibleFrom':_0x26731f['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Qm});},'onResourceSelected':(_0xe03033,_0x4c1195)=>{this['fire']('addResourceToContext',{'source':_0xe03033,'resource':_0x4c1195});},'onLoadSourceResources':_0x57a98c=>{this['fire']('loadSourceResources',_0x57a98c);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x42642f,_0x26731f['bodyCollection'],_0x18ff76);}['_getLimiterElement'](){return this['element']?.['closest']('.'+Dm)||document['body'];}['_createBaseBalloonPanel'](_0x57b1fa,_0x7269e3){const _0x23a29e=new mt(_0x57b1fa);return _0x23a29e['extendTemplate']({'attributes':{'class':_0x7269e3}}),this['bodyCollection']['add'](_0x23a29e),_0x23a29e;}['_setBalloonPanelContent'](_0x2fffbc,_0x31cda4,_0x24a97b){if(_0x2fffbc['content']['clear'](),!_0x24a97b['document']['isHidden']&&_0x24a97b['document']['enabled']){const _0x251d89=this['_createBalloonButton'](_0x31cda4,{'label':Oo(_0x31cda4,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x1f8e2f});_0x251d89['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x2fffbc['content']['add'](_0x251d89);}if(_0x24a97b['urls']['enabled']){const _0x28a5f2=this['_createBalloonButton'](_0x31cda4,{'label':Oo(_0x31cda4,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x579491});_0x28a5f2['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Qm}),this['_urlInputView']['focus']();}),_0x2fffbc['content']['add'](_0x28a5f2);}if(_0x24a97b['files']['enabled']){const _0x3cd179=new Tt(_0x31cda4);_0x3cd179['set']({'label':Oo(_0x31cda4,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x54f1b2,'withText':!0x0,'tooltip':!0x0,'class':Rm,'allowMultipleFiles':!0x0}),_0x3cd179['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x3cd179['on']('done',(_0x1bb68a,_0xd5207f)=>{this['fire']('addFileToContext',_0xd5207f);}),_0x3cd179['tooltip']=!0x0,_0x2fffbc['content']['add'](_0x3cd179);}for(const _0xc5587d of _0x24a97b['sources']){const _0x5c12b7=this['_createBalloonButton'](_0x31cda4,{'label':_0xc5587d['label'],'icon':_0xc5587d['icon']||_0x48b97d,'type':'source'});_0x2fffbc['content']['add'](_0x5c12b7),_0x5c12b7['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0xc5587d,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x1e156c of _0x24a97b['customItems']||[]){const _0x157443=this['_createBalloonButton'](_0x31cda4,{'label':_0x1e156c['label'],'icon':_0x1e156c['icon']||_0x48b97d,'type':'customItem'});_0x2fffbc['content']['add'](_0x157443),_0x157443['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x1e156c);});}this['_hasExactlyOneSource']=0x1===_0x2fffbc['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x1d1ecb,_0x129dd7){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x129dd7),this['_urlInputView']['on']('submitUrl',(_0x491b66,_0x181e8b)=>{this['_handleUrlSubmit'](_0x181e8b);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Qm}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Qm});}),_0x1d1ecb['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x559425,_0x4d0e28){const _0x46a5c7='source'===_0x4d0e28['type']?new SourcesBalloonButtonView(_0x559425):new _0x1a631f(_0x559425);return _0x46a5c7['set']({'label':_0x4d0e28['label'],'icon':_0x4d0e28['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Rm}),_0x46a5c7;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){gt({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x3e266c){const _0x2f4e34=this['_addContextBalloonConfig'];_0x2f4e34['buttonView']['isOn']=_0x3e266c,_0x3e266c?_0x2f4e34['balloonView']['show']():_0x2f4e34['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x3d44dd,buttonView:_0x23eeef,hideMethod:_0x1950c1}=this['_addContextBalloonConfig'];gt({'emitter':_0x3d44dd,'contextElements':[_0x3d44dd['element'],_0x23eeef['element']],'callback':()=>{_0x1950c1();},'activator':()=>_0x23eeef['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x13be5c,_0x418a3c,_0x1bd627=!0x1,_0x37f2f2=!0x1){const _0x3047cc='conversation'===_0x418a3c||!0x0===_0x13be5c['isReadOnly'],_0x572b19=new AIChatContextItemButtonView(this['locale'],_0x13be5c,_0x3047cc,_0x1bd627,_0x37f2f2);return _0x3047cc||_0x572b19['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x572b19['id']);}),_0x572b19;}['_addContextToCollection'](_0x4a0f2b,_0x26b0d1){_0x26b0d1['add'](_0x4a0f2b,0x0);}['_removeContextFromCollection'](_0xee3321,_0x20aedd){const _0x37371c=_0x20aedd['find'](_0x23da93=>_0x23da93['id']===_0xee3321);_0x37371c&&_0x20aedd['remove'](_0x37371c);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Qm}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x13c48a){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x13c48a);}}class SourcesBalloonButtonView extends _0x1a631f{['arrowView'];constructor(_0x4c52c){super(_0x4c52c),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[Pm]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x3e0193=new _0x24ab51();return _0x3e0193['content']=_0x219487,_0x3e0193['extendTemplate']({'attributes':{'class':Pm+'__arrow'}}),_0x3e0193;}}class AIChatControlsLoaderView extends _0x278baa{['_cancelButtonView'];['_loaderView'];constructor(_0x25c95b){super(_0x25c95b),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 _0x5f428f=new _0x1a631f(this['locale']);return _0x5f428f['set']({'label':Oo(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':bo+'\x20ck-ai-button-stop-generating','icon':_0x268240}),_0x5f428f['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x5f428f;}['_createLoaderView'](){const _0x39c69b=new _0x278baa(this['locale']);return _0x39c69b['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':Oo(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x39c69b;}}class AIChatControlsView extends _0x278baa{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x1a339e,_0x1c3116){super(_0x1a339e),this['_contextPanelView']=this['_createContextPanelView'](_0x1a339e,{'bodyCollection':_0x1c3116['bodyCollection'],'searchInputVisibleFrom':_0x1c3116['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x1a339e),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x1a339e),this['_loaderView']=this['_createLoaderView'](_0x1a339e),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x1a339e),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'](...Am)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x41de89=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x41de89['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x41de89['if']('isLoading','ck-hidden',_0x2a82ed=>_0x2a82ed||!this['isModelAvailable']),_0x41de89['if']('isModelAvailable','ck-hidden',_0xc035db=>!_0xc035db||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x41de89['if']('isLoading','ck-hidden',_0x578ede=>!_0x578ede)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x41de89['if']('isModelAvailable','ck-hidden',_0x25ab33=>_0x25ab33)]},'children':[this['_modelUnavailableMessageView']]}]}),gt({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x1b744d,_0x53f3ea){return new AIChatContextPanelView(_0x1b744d,_0x53f3ea);}['_createPromptInputView'](_0x3ccef2){return new AIChatPromptInputView(_0x3ccef2,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0xf77fac){return new AIChatPromptCapabilitiesView(_0xf77fac);}['_createLoaderView'](_0x463dcf){return new AIChatControlsLoaderView(_0x463dcf);}['_createModelUnavailableMessageView'](_0x144687){const _0x24b14a=new AIChatModelUnavailableMessageView(_0x144687);return _0x24b14a['delegate']('startConversation')['to'](this),_0x24b14a;}['_handlePromptInputFocus'](_0x12bbd0,_0x14456a,_0x350f25){_0x350f25?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x45c4ad,_0x10c679){this['_contextPanelView']['addContextItem'](_0x45c4ad,_0x10c679);}['removeContextItem'](_0x24dfd0){this['_contextPanelView']['removeContextItem'](_0x24dfd0);}['setContextItemLoading'](_0x2784c1,_0x9562da){this['_contextPanelView']['setContextItemLoading'](_0x2784c1,_0x9562da);}['setIsUploadInProgress'](_0x19fe61){this['_promptInputView']['setIsUploadInProgress'](_0x19fe61);}['setConversationContext'](_0x4d1bff){this['_contextPanelView']['setConversationContext'](_0x4d1bff);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x5bbe8b,_0x1bcac6,_0x1d8467){this['_contextPanelView']['updateResourceState'](_0x5bbe8b,_0x1bcac6,_0x1d8467);}['setWebSearch'](_0x2ca511){this['_promptCapabilitiesView']['setWebSearch'](_0x2ca511);}['setReasoning'](_0x39c50a){this['_promptCapabilitiesView']['setReasoning'](_0x39c50a);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x1d9179){this['_contextPanelView']['setAddContextOptions'](_0x1d9179);}['setInputPlaceholder'](_0x327c45){this['_promptInputView']['setPlaceholderText'](_0x327c45);}['setModelList'](_0x40defa,_0x30c0e0){this['_promptCapabilitiesView']['setModelList'](_0x40defa,_0x30c0e0);}['setModel'](_0x49b780){_0x49b780?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x49b780)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x3582cc){this['_promptCapabilitiesView']['disableModelSelector'](_0x3582cc);}['populateSourceResourceBalloon'](_0xab163f,_0x1a6d90,_0x25c132,_0x526828){this['_contextPanelView']['populateSourceResourceBalloon'](_0xab163f,_0x1a6d90,_0x25c132,_0x526828);}['closeSourceResourceBalloon'](_0x4f3ab8){this['_contextPanelView']['closeSourceResourceBalloon'](_0x4f3ab8);}['focusPromptInput'](_0x4bbc38=!0x1){this['_promptInputView']['focus'](_0x4bbc38);}['setPromptInputValue'](_0x3c0f63){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x3c0f63;}}class AIChatModelUnavailableMessageView extends _0x278baa{constructor(_0xd6499c){super(_0xd6499c);const _0x33c14d=new _0x1a631f(_0xd6499c);_0x33c14d['set']({'label':Oo(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x33c14d['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':Oo(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x33c14d]}]});}}class AIHeaderView extends vt{['resizeButton'];constructor(_0x4f56f4,_0x6b38e4){super(_0x4f56f4,{'label':_0x6b38e4['label'],'class':'ck-ai-header\x20'+_0x6b38e4['class'],'icon':_0x6b38e4['icon']}),this['set']('isMaximized',!0x1),_0x6b38e4['content']&&this['children']['add'](_0x6b38e4['content']),_0x6b38e4['showResizeButton']&&(this['resizeButton']=vo(_0x4f56f4,this),this['children']['add'](this['resizeButton']));}}class AIDisclaimerView extends _0x278baa{constructor(_0x5525a2){super(_0x5525a2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':Oo(_0x5525a2,'AI_DISCLAIMER_TEXT')}]}]});}}function Vm(_0xb8e224,_0xa5a79b){const _0x42e487=new _0x1a631f(_0xb8e224);return _0x42e487['set']({'label':Oo(_0xb8e224,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x21b9c7,'class':'ck-ai-chat__start-conversation\x20'+bo}),_0x42e487['on']('execute',()=>{_0xa5a79b['fire']('startConversation');}),_0x42e487;}class AIChatView extends _0x278baa{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x31b3ff,_0x174bc7){super(_0x31b3ff),this['_bodyCollection']=new ft(_0x31b3ff),this['_bodyCollection']['attachToDom']();const _0x45740d=Vm(_0x31b3ff,this);this['chatHeader']=new AIHeaderView(_0x31b3ff,{'label':Oo(_0x31b3ff,'AI_CHAT_HEADING'),'icon':_0x286b8d,'class':'ck-ai-header_chat','content':_0x45740d,'showResizeButton':_0x174bc7['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new AIChatFeedView(_0x31b3ff,this['_bodyCollection']),this['chatFeed']['delegate'](...wf)['to'](this),this['chatControls']=new AIChatControlsView(_0x31b3ff,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x174bc7['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](...wf)['to'](this),this['chatDisclaimer']=new AIDisclaimerView(_0x31b3ff),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x31b3ff['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0xe6c9f5,_0x504d08,_0x54fcc9,_0x2d221d){this['chatControls']['populateSourceResourceBalloon'](_0xe6c9f5,_0x504d08,_0x54fcc9,_0x2d221d);}['closeSourceResourceBalloon'](_0x4f0d7a){this['chatControls']['closeSourceResourceBalloon'](_0x4f0d7a);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x32a432{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(_0x5e5f7a){super(_0x5e5f7a);const _0x38312a=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new PromiseQueue(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x38312a['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate']('resizeTabs')['to'](_0x38312a),this['_view']['delegate'](...wf)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x395b9f,{showDiff:_0x559aae})=>{this['showDiff']=_0x559aae;}),_0x38312a['view']['addTab']({'id':'chat','buttonLabel':Oo(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x286b8d,'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x38312a['view'],'isMaximized',_0x1e5ed7=>_0x1e5ed7),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x47806e=>_0x47806e),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x438833){const _0x32fee5=this['context']['config']['get']('ai.chat.welcomeMessage')??Oo(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x438833['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x32fee5}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x3c70a7,staticMessage:_0x4bf7b9}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x3c70a7,'initialContent':'<p>'+_0x4bf7b9+'</p>'});});}async['addFeedItemUserMessage'](_0x22c532){const _0x83447b=_0x22c532['attributes']?.['displayedPrompt']||_0x22c532['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x22c532['contextItems']['values']()),'initialContent':'<p>'+_0x83447b+'</p>','id':_0x22c532['id']});});}async['addFeedItemError']({errorMessage:_0x5e097e,id:_0x12943d}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x5e097e+'</p>','id':_0x12943d});});}async['addFeedItemAIReply'](_0x28999c){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x28999c['interactionId']+':'+_0x28999c['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x245762){const _0x42b5bd=df(this['context']);let _0x2e1a1f=_0x42b5bd['config']['get']('ai.availableReplyActions')||[...Df];if(_0x42b5bd['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x420489=_0x42b5bd['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x420489,'value');}}else _0x2e1a1f=_0x2e1a1f['filter'](_0x5afa90=>'insertSuggestion'!=_0x5afa90);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x245762['interactionId']+':'+_0x245762['id'],'areActionsDisabled':_0x245762['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x2e1a1f}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x457636,_0x1da770){return this['_promiseQueue']['enqueue'](async()=>{const _0x5f2d3c=this['_view']['chatFeed']['children']['last'];if(_0x5f2d3c instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x5f2d3c),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x457636['id'],'capabilities':{'isWebSearchEnabled':_0x5f2d3c['capabilities']['isWebSearchEnabled']||_0x1da770['isWebSearchEnabled'],'isReasoningEnabled':_0x5f2d3c['capabilities']['isReasoningEnabled']||_0x1da770['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x457636['id'],'capabilities':_0x1da770});});}async['addFeedItemCustomElement'](_0x419e90,_0x46c47c){let _0x46fe81;return await this['_promiseQueue']['enqueue'](async()=>{_0x46fe81=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x419e90,'id':_0x46c47c});}),_0x46fe81;}['removeFeedItem'](_0x492f33){this['_view']['chatFeed']['removeItem'](_0x492f33);}['hasFeedItem'](_0x194c7f){return this['_view']['chatFeed']['hasItem'](_0x194c7f);}['updateFeedInteractionHeader'](_0x4ccc3e){const _0x5d261a=this['_view']['chatFeed']['children']['find'](_0x453e33=>_0x453e33['options']['id']==_0x4ccc3e['id']&&_0x453e33 instanceof AIChatFeedInteractionHeaderView);_0x5d261a&&_0x5d261a['set']('isVisible',_0x4ccc3e['isVisible']);}async['updateFeedItemAIReplyContent'](_0x197495){const _0x5dca63=_0x197495['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x1aa1b7=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x197495,'abortSignal':_0x1aa1b7,'renderingStrategy':_0x5dca63}),_0x197495['isDone']&&this['markFeedItemAsDone'](_0x197495['id']);});}['updateFeedItemAIReplySources'](_0x21ec50,_0x8e0238){this['_view']['chatFeed']['updateWebSources'](_0x21ec50,_0x8e0238);}async['updateFeedItemAIReplySuggestionContent'](_0x445650){return this['_promiseQueue']['enqueue'](async _0x4f2dc9=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x445650,'abortSignal':_0x4f2dc9}),_0x445650['isDone']&&this['markFeedItemAsDone'](_0x445650['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x43358b){this['_view']['chatFeed']['updateSuggestionPartState'](_0x43358b);}['setFeedItemAIReplySuggestionPartActive'](_0x467eee){this['_view']['chatFeed']['setSuggestionPartActive'](_0x467eee);}['markFeedItemAsDone'](_0x69c5cb){this['_view']['chatFeed']['markItemAsDone'](_0x69c5cb);}['removeFeedInteraction'](_0x514afa){this['_view']['chatFeed']['getItemIds']()['filter'](_0x1dd34a=>_0x1dd34a['startsWith'](_0x514afa))['forEach'](_0x26ef7b=>this['_view']['chatFeed']['removeItem'](_0x26ef7b));}['startInteraction'](){const _0x48eea4=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x48eea4),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x4cba7a){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x391b7b=>_0x391b7b['startsWith'](_0x4cba7a['id']))['forEach'](_0x3de977=>this['markFeedItemAsDone'](_0x3de977)),this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0xb13a9,_0xf5cec0){this['_view']['chatControls']['addContextItem'](_0xb13a9,_0xf5cec0);}['removeContextItem'](_0x4ba622){this['_view']['chatControls']['removeContextItem'](_0x4ba622);}['setContextItemLoading'](_0x34eedd,_0x2b7874){this['_view']['chatControls']['setContextItemLoading'](_0x34eedd,_0x2b7874);}['setIsUploadInProgress'](_0x525d3e){this['_view']['chatControls']['setIsUploadInProgress'](_0x525d3e);}['setConversationContext'](_0x12685d){this['_view']['chatControls']['setConversationContext'](_0x12685d);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x1740a0,_0x2fe979,_0x6d0758){this['_view']['chatControls']['updateResourceState'](_0x1740a0,_0x2fe979,_0x6d0758);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x17b72d){this['_view']['chatControls']['setAddContextOptions'](_0x17b72d);}['updateCapabilities'](_0x237fa1){this['_view']['chatControls']['setWebSearch'](_0x237fa1['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x237fa1['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x237fa1));}['setSelectedModel'](_0x487d1d,_0x30198d){this['_view']['chatControls']['setModel'](_0x487d1d),_0x30198d&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0xe2ca3b){this['feedItemRenderingStrategy']=_0xe2ca3b;}['toggleLoadingSkeleton'](_0x2632a0){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x2632a0);}['resetConversationTitle'](){this['setConversationTitle'](Oo(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x1bdf9f,_0x162cd7=!0x1){if(_0x162cd7&&!_0x23aca3()&&_0x1bdf9f['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x1bdf9f);this['_view']['chatHeader']['label']=_0x1bdf9f;}['setLoadingMessage'](_0x30c8b6){this['_view']['chatFeed']['setLoadingMessage'](_0x30c8b6);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x2af247){let _0x19dcb5=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x2af247[_0x19dcb5],_0x19dcb5++,_0x19dcb5===_0x2af247['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x1ab95d){return _0x1ab95d['isWebSearchEnabled']&&_0x1ab95d['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x1ab95d['isWebSearchEnabled']?Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x1ab95d['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x132405){return _0x132405?_0x132405['isWebSearchEnabled']&&_0x132405['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x132405['isWebSearchEnabled']?Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x132405['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x3dd574,_0x1075d6,_0x3f275c,_0x12f9fa){this['_view']['populateSourceResourceBalloon'](_0x3dd574,_0x1075d6,_0x3f275c,_0x12f9fa);}['closeSourceResourceBalloon'](_0x3f6dae){this['_view']['closeSourceResourceBalloon'](_0x3f6dae);}['setPromptInputValue'](_0x5d29dc){this['_view']['chatControls']['setPromptInputValue'](_0x5d29dc);}['focusPromptInput'](_0x20912d=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x20912d);}['scrollFeedToSuggestion'](_0x477cb1,_0x1a8bd1){this['_view']['chatFeed']['scrollToSuggestion'](_0x477cb1,_0x1a8bd1);}['startAutoScroll'](_0x115b4f={}){this['_view']['chatFeed']['startAutoScroll'](_0x115b4f);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0x171307{['sections'];constructor(_0x31eef5,_0xe8c33a){super(_0x31eef5),this['sections']=_0xe8c33a,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x39d2ce){let _0x39de19=0x0,_0x5773b2=0x0;for(const _0x28ec9e of this['sections']){const {resultsCount:_0x268808,totalItemsCount:_0x12c6e8}=_0x28ec9e['filter'](_0x39d2ce);_0x39de19+=_0x268808,_0x5773b2+=_0x12c6e8;}return{'resultsCount':_0x39de19,'totalItemsCount':_0x5773b2};}}class AIChatHistoryListView extends _0x3a2da2{['title'];['itemsViews'];['_itemsListView'];constructor(_0x706579,{title:_0x113104,items:_0x10c863}){super(_0x706579);const _0x2f0bd5=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x113104,this['itemsViews']=_0x10c863;const _0x332175=new _0x278baa(_0x706579);_0x332175['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x171307(_0x706579),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x2f0bd5['if']('isVisible','ck-hidden',_0x12a38c=>!_0x12a38c)]},'children':[_0x332175,this['_itemsListView']]});}['filter'](_0x12bd46){const _0x247f86=this['itemsViews']['length'];let _0x375e98=0x0;for(const _0x48400b of this['itemsViews']){if(_0x12bd46){const _0x17984c=_0x48400b['isMatching'](_0x12bd46);_0x48400b['isVisible']=!!_0x17984c,_0x48400b['highlightText'](_0x12bd46);}else _0x48400b['isVisible']=!0x0,_0x48400b['highlightText'](null);_0x48400b['isVisible']&&_0x375e98++;}return this['isVisible']=_0x375e98>0x0,{'resultsCount':_0x375e98,'totalItemsCount':_0x247f86};}['getItem'](_0x628b6e){return this['itemsViews']['find'](_0x4728aa=>_0x4728aa['id']===_0x628b6e);}['removeItem'](_0x92c3c3){const _0x3e5175=this['itemsViews']['indexOf'](_0x92c3c3);-0x1!==_0x3e5175&&(this['itemsViews']['splice'](_0x3e5175,0x1),this['_itemsListView']['items']['remove'](_0x92c3c3));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
xd(_0x3a2da2){['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(_0x3d5a0d,_0x30bc58){super(_0x3d5a0d);const _0x426341=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x30bc58['pinned']),this['set']('loadingState',null),this['set']('title',_0x30bc58['title']),this['id']=_0x30bc58['id'];const {createdAt:_0x5fc0b4,active:_0x18a097=!0x1}=_0x30bc58;this['_titleView']=new _t(),this['_titleView']['bind']('text')['to'](this,'title',t=>io(t||'')),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x9ca60b=this['_createCheckView'](),_0x5be505=this['_createPinButtonView'](_0x3d5a0d),_0x20f7fe=this['_createMenuDropdownView'](),_0x325906=this['_createEditInputView'](_0x3d5a0d),_0x31b84b=this['_createAcceptEditButtonView'](_0x3d5a0d,_0x325906),_0xbc7c9e=this['_createCancelEditButtonView'](_0x3d5a0d);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x5be505),this['actions']['add'](_0x20f7fe),this['on']('change:isEdit',(_0x5ba77c,_0x4b7f08,_0x98c009)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x98c009?(this['actions']['add'](_0x31b84b),this['actions']['add'](_0xbc7c9e),this['mainContent']['add'](_0x325906),_0x325906['element']['value']=this['title']||'',_0x325906['element']['focus']()):(this['actions']['add'](_0x5be505),this['actions']['add'](_0x20f7fe),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x18a097?'ck-ai-chat-history__item--active':'',_0x426341['if']('isVisible','ck-hidden',_0x242aa8=>!_0x242aa8),_0x426341['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',_0x426341['if']('loadingState','ck-hidden',_0x6519bc=>!!_0x6519bc)]},'children':_0x18a097?[_0x9ca60b]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x426341['if']('loadingState','ck-hidden',_0x858568=>!_0x858568)]},'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-container',_0x426341['if']('loadingState','ck-hidden',_0x149f34=>!!_0x149f34)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x426341['if']('loadingState','ck-hidden',_0x5eb23e=>!_0x5eb23e)]},'children':[{'text':_0x426341['to']('loadingState',_0x340a16=>_0x340a16?Oo(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x340a16]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x5fc0b4]}]},{'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'](_0x3c56de){this['set']('title',_0x3c56de);}['updateLoadingState'](_0x22bc25,_0xa74854){this['set']('loadingState',_0xa74854?_0x22bc25:null);}['_createCheckView'](){const _0xd618d1=new _0x24ab51();return _0xd618d1['set']({'content':_0x28777c}),_0xd618d1;}['_createPinButtonView'](_0xbf8aee){const _0x5f3a1f=new _0x1a631f(_0xbf8aee);return _0x5f3a1f['set']({'label':Oo(_0xbf8aee,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x4a96da,'withText':!0x1,'tooltip':!0x0}),_0x5f3a1f['bind']('isOn')['to'](this,'pinned'),_0x5f3a1f['on']('execute',()=>{const _0x408bbf=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x408bbf});}),_0x5f3a1f;}['_createMenuDropdownView'](){const _0x44f87f=nt(this['locale']),_0x2e6553=_0x44f87f['panelView']['children'];_0x44f87f['buttonView']['set']({'label':Oo(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x4365e6}),_0x44f87f['panelPosition']='sw';const _0x4ecade=new _0x1a631f(this['locale']);_0x4ecade['label']=Oo(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x4ecade['withText']=!0x0,_0x4ecade['on']('execute',()=>{this['isEdit']=!0x0;});const _0x22d422=new _0x1a631f(this['locale']);_0x22d422['label']=Oo(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x22d422['withText']=!0x0,_0x22d422['on']('execute',()=>{this['showConfirm'](Oo(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x59b7a6=new _0x171307(this['locale']),_0x53a23c=new _0x3a2da2(this['locale']);_0x53a23c['children']['add'](_0x4ecade);const _0x4f9323=new _0x3a2da2(this['locale']);return _0x4f9323['children']['add'](_0x22d422),_0x59b7a6['items']['addMany']([_0x53a23c,_0x4f9323]),_0x2e6553['add'](_0x59b7a6),_0x44f87f;}['_createEditInputView'](_0x5e7625){const _0x300d85=new At(_0x5e7625),_0xeed114=_0x300d85['bindTemplate'];return _0x300d85['extendTemplate']({'on':{'keydown':_0xeed114['to'](_0xf5c4a6=>{'Enter'==_0xf5c4a6['key']&&this['_commitEditInputValue'](_0x300d85);})}}),_0x300d85;}['_createAcceptEditButtonView'](_0x30f84d,_0x21d2d7){const _0x33ddfa=new _0x1a631f(_0x30f84d);return _0x33ddfa['set']({'icon':_0x28777c,'withText':!0x1,'tooltip':Oo(_0x30f84d,'AI_CHAT_HISTORY_ACCEPT')}),_0x33ddfa['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x33ddfa['on']('execute',()=>{this['_commitEditInputValue'](_0x21d2d7);}),_0x33ddfa;}['_commitEditInputValue'](_0x1ef2b1){const _0x44ab1a=_0x1ef2b1['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x44ab1a});}['_createCancelEditButtonView'](_0x8ea07f){const _0x50cbfa=new _0x1a631f(_0x8ea07f);return _0x50cbfa['set']({'icon':_0x592cb9,'withText':!0x1,'tooltip':Oo(_0x8ea07f,'AI_CHAT_HISTORY_CANCEL')}),_0x50cbfa['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x50cbfa['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x50cbfa;}['_createSpinnerView'](){const _0xf21990=new AISpinnerView('tiny');return _0xf21990['isVisible']=!0x0,_0xf21990;}['isMatching'](_0x387443){return'string'==typeof this['title']&&this['title']['match'](_0x387443)?{'title':!0x0}:null;}['highlightText'](_0x2a2f47){this['_titleView']['highlightText'](_0x2a2f47);}}class AIChatHistoryView extends _0x278baa{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x20099c,_0x3eda46){super(_0x20099c),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x2b5884=Vm(_0x20099c,this);this['headerView']=new AIHeaderView(_0x20099c,{'label':Oo(_0x20099c,'AI_CHAT_HISTORY_HEADING'),'icon':_0x9eadb2,'class':'ck-ai-header_history','content':_0x2b5884,'showResizeButton':_0x3eda46}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new AIChatHistorySectionListView(_0x20099c,[]),this['sectionsView']['delegate'](...Um)['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',_0x31be16=>!_0x31be16)]}}),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':[this['headerView'],{'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 _0x3c2dfb=new St(this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':Oo(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x144590=>Oo(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x144590),'secondary':Oo(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x1266cb=this['_createErrorView']();return _0x1266cb['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0xba9e8b=>!_0xba9e8b)]}}),_0x3c2dfb['on']('render',()=>{_0x3c2dfb['children']['add'](_0x1266cb,0x1);}),_0x3c2dfb['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x15f814=>!_0x15f814)]}}),_0x3c2dfb;}['_createSkeletonView'](){const _0x358443=new AISkeletonView(this['locale'],Lf['aiHistory']);return _0x358443['bind']('isVisible')['to'](this,'isLoading'),_0x358443;}['_createErrorView'](){const _0x5a4cdb=new _0x278baa(this['locale']),_0x2f0a0c=new _0x1a631f(this['locale']);_0x2f0a0c['set']({'withText':!0x1,'icon':_0x592cb9,'class':'ck-ai-notification_error__dismiss-button'}),_0x2f0a0c['bind']('isVisible')['to'](this,'hasItems',_0x19d529=>!!_0x19d529),_0x2f0a0c['on']('execute',()=>{this['errorMessage']='';});const _0x1d52db=this['bindTemplate'];return _0x5a4cdb['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x1d52db['to']('errorMessage')}]},_0x2f0a0c]}),_0x5a4cdb;}['_createEmptyStateView'](){const _0x347427=new _0x278baa(this['locale']);return _0x347427['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x157d5d=>!_0x157d5d)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[Oo(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x347427;}['_createListItemViews'](_0x5665fe,_0x13eda4){const _0x522a5f=[];for(const _0x334d70 of _0x5665fe){const _0x4651b1=new AIChatHistoryListItemView(_0x13eda4,_0x334d70);_0x4651b1['delegate'](...Um)['to'](this),_0x522a5f['push'](_0x4651b1);}return _0x522a5f;}['updateHistoryItemsWithCategories'](_0x38f083){const _0x551836=this['locale']||'en',_0x1d8dd6=[];for(const _0x197e30 of _0x38f083){const _0x1224fd=this['_createListItemViews'](_0x197e30['items'],_0x551836);_0x1d8dd6['push'](new AIChatHistoryListView(_0x551836,{'title':_0x197e30['title'],'items':_0x1224fd}));}this['sectionsView']['sections']=_0x1d8dd6,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x1d8dd6),this['hasItems']=_0x38f083['some'](_0x59166f=>_0x59166f['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x29455e){for(const _0x3764e8 of this['sectionsView']['sections']){const _0x32a10c=_0x3764e8['getItem'](_0x29455e);if(_0x32a10c){if(_0x3764e8['removeItem'](_0x32a10c),0x0===_0x3764e8['itemsViews']['length']){const _0x5c80ce=this['sectionsView']['sections']['indexOf'](_0x3764e8);-0x1!==_0x5c80ce&&(this['sectionsView']['sections']['splice'](_0x5c80ce,0x1),this['sectionsView']['items']['remove'](_0x3764e8));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0xab52e8,_0x257b76){for(const _0x43758f of this['sectionsView']['sections']){const _0x42ef73=_0x43758f['getItem'](_0xab52e8);if(_0x42ef73){_0x42ef73['updateTitle'](_0x257b76);break;}}}['updateItemLoadingState'](_0x418487,_0x12c607,_0x202e70){for(const _0x2a9342 of this['sectionsView']['sections']){const _0x58a33d=_0x2a9342['getItem'](_0x418487);if(_0x58a33d){_0x58a33d['updateLoadingState'](_0x12c607,_0x202e70);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x2f23d0=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x2f23d0);}}}const Um=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];class AIChatHistoryUI extends _0x32a432{static get['requires'](){return[AITabs];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x55593a){super(_0x55593a);const _0x4b048b=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x4b048b['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x4b048b),this['_historyView']['delegate'](...Um)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x4b048b['view'],'isMaximized',_0x2f47fc=>_0x2f47fc),_0x4b048b['view']['addTab']({'id':'history','buttonLabel':Oo(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x9eadb2,'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x5586d7){this['_historyView']['removeHistoryItem'](_0x5586d7);}['updateItems'](_0x16a2e9){this['_historyView']['updateHistoryItemsWithCategories'](_0x16a2e9);}['updateItemTitle'](_0xf5e46f,_0xfc4ab1){this['_historyView']['updateItemTitle'](_0xf5e46f,_0xfc4ab1);}['updateItemLoadingState'](_0x82010c,_0x154505,_0x56a42d){this['_historyView']['updateItemLoadingState'](_0x82010c,_0x154505,_0x56a42d);}['setLoadingSkeleton'](_0x18a30b){this['_historyView']['isLoading']=_0x18a30b;}['showError'](_0x2a7efc){this['_historyView']['errorMessage']=_0x2a7efc;}['hideError'](){this['_historyView']['errorMessage']='';}}class AIChatHistoryItem extends _0x18fa86(){['id'];['createdAt'];constructor({id:_0x29b74c,title:_0xa00b61,createdAt:_0x2b2391,updatedAt:_0x42e5da,pinned:_0x369b4b}){super(),this['id']=_0x29b74c,this['createdAt']=new Date(_0x2b2391),this['set']('title',_0xa00b61),this['set']('updatedAt',_0x42e5da?new Date(_0x42e5da):null),this['set']('pinned',_0x369b4b||!0x1);}['updateTitle'](_0x3ad0f8){this['set']('title',_0x3ad0f8),this['updatedAt']=new Date();}['updatePinned'](_0xce4806){this['set']('pinned',_0xce4806),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x14630b(){['items']=[];['connector'];['group'];constructor({connector:_0x4faabb,group:_0x402f4b}){super(),this['connector']=_0x4faabb,this['group']=_0x402f4b;}async['init'](){try{const _0x1b7002=this['connector']['fetchConversations'](this['group']),_0x1ac415=await _0x1b7002['getConversations']();this['loadItems'](_0x1ac415);}catch(_0x55e0a9){this['fire']('error',{'error':_0x55e0a9,'operation':'init'});}}['addItem'](_0x63815f){this['items']['push'](_0x63815f);}async['removeItem'](_0x2948a0){const _0x5a7c5a=this['items']['findIndex'](_0x54c630=>_0x54c630['id']===_0x2948a0);if(-0x1===_0x5a7c5a)return!0x1;try{return await this['connector']['deleteConversation'](_0x2948a0)['execute'](),this['items']['splice'](_0x5a7c5a,0x1),this['fire']('itemRemoved',{'itemId':_0x2948a0}),!0x0;}catch(_0x4d3195){return this['fire']('error',{'error':_0x4d3195,'operation':'removeItem','itemId':_0x2948a0}),!0x1;}}['getItem'](_0x2c9a2b){return this['items']['find'](_0x50665e=>_0x50665e['id']===_0x2c9a2b);}async['updateItemTitle'](_0x5a8041,_0x2d7a69){const _0x13bf52=this['getItem'](_0x5a8041);if(!_0x13bf52)return!0x1;try{return await this['connector']['updateConversation'](_0x5a8041,{'title':_0x2d7a69})['getResult'](),_0x13bf52['updateTitle'](_0x2d7a69),this['fire']('itemUpdated',{'itemId':_0x5a8041,'updates':{'title':_0x2d7a69}}),!0x0;}catch(_0x19df51){return this['fire']('error',{'error':_0x19df51,'operation':'updateItemTitle','itemId':_0x5a8041}),!0x1;}}async['updateItemPinned'](_0x1ca2e1,_0x108a2f){const _0x5d40cc=this['getItem'](_0x1ca2e1);if(!_0x5d40cc)return!0x1;try{return await this['connector']['updateConversation'](_0x1ca2e1,{'pinned':_0x108a2f})['getResult'](),_0x5d40cc['updatePinned'](_0x108a2f),this['fire']('itemUpdated',{'itemId':_0x1ca2e1,'updates':{'pinned':_0x108a2f}}),!0x0;}catch(_0x20fad7){return this['fire']('error',{'error':_0x20fad7,'operation':'updateItemPinned','itemId':_0x1ca2e1}),!0x1;}}['loadItems'](_0x5ae1af){try{this['items']=[],_0x5ae1af['map'](_0xe2f0d2=>{this['addItem'](new AIChatHistoryItem(_0xe2f0d2));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x36f7ed){this['fire']('error',{'error':_0x36f7ed,'operation':'loadItems'});}}['getItems'](_0x2c4568={}){const _0x5244c7=void 0x0!==_0x2c4568['pinned']&&_0x2c4568['pinned'],_0x1b22d9=_0x2c4568['from']?new Date(_0x2c4568['from']['getFullYear'](),_0x2c4568['from']['getMonth'](),_0x2c4568['from']['getDate']()):null,_0x29c0ba=_0x2c4568['to']?new Date(_0x2c4568['to']['getFullYear'](),_0x2c4568['to']['getMonth'](),_0x2c4568['to']['getDate']()):null;return this['items']['filter'](_0xb30dc4=>{if(_0xb30dc4['pinned']!==_0x5244c7)return!0x1;if(_0x29c0ba){const _0x4f34c2=new Date(_0xb30dc4['createdAt']['getFullYear'](),_0xb30dc4['createdAt']['getMonth'](),_0xb30dc4['createdAt']['getDate']());return _0x1b22d9?_0x1b22d9['getTime']()===_0x29c0ba['getTime']()?_0x4f34c2['getTime']()===_0x1b22d9['getTime']():_0x4f34c2<_0x29c0ba&&_0x4f34c2>=_0x1b22d9:_0x4f34c2<_0x29c0ba;}return!0x0;});}}class AIChatHistoryController extends _0x32a432{['_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 _0x5d4e01=this['context']['plugins']['get'](AITabs);try{const _0xf90c75=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0xf90c75}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x3b4c25,_0x2f0df6)=>{this['_setItemLoading'](_0x2f0df6['id'],'remove'),this['_handleRemove'](_0x2f0df6['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x3f291f,_0x28919)=>{this['_setItemLoading'](_0x28919['id'],'rename'),this['_handleEditTitle'](_0x28919['id'],_0x28919['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x42f260,_0x5ccfde)=>{void 0x0!==_0x5ccfde['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x5ccfde['itemId'],_0x5ccfde['updates']['title']),void 0x0!==_0x5ccfde['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x5ccfde['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x1b86d7,_0x5b9f9a)=>{this['_aiChatController']['_handleRemovedConversation'](_0x5b9f9a['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x5b9f9a['itemId']),this['_clearItemLoading'](_0x5b9f9a['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x3321e9,_0x274842)=>{this['_handleHistoryErrorUI'](_0x274842['error'],_0x274842['operation'],_0x274842['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x5d95af,_0x1405db)=>{this['_handleSelectConversation'](_0x1405db['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x368bf6,_0x369733)=>{const _0x1bd6bc=_0x369733['pinned']?'pin':'unpin';this['_setItemLoading'](_0x369733['id'],_0x1bd6bc),this['_handleTogglePin'](_0x369733['id'],_0x369733['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x5d4e01['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x5d4e01['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x467d6f){this['_handleHistoryErrorUI'](_0x467d6f,'init');}}async['_handleEditTitle'](_0x2c86bf,_0x2ce9c4){await this['history']['updateItemTitle'](_0x2c86bf,_0x2ce9c4);}async['_handleTogglePin'](_0x1e0328,_0x5c14b1){await this['history']['updateItemPinned'](_0x1e0328,_0x5c14b1);}async['_handleRemove'](_0x54794d){await this['history']['removeItem'](_0x54794d);}async['_handleSelectConversation'](_0x5c02ac){await this['_aiChatController']['loadConversation'](_0x5c02ac);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x194258=this['_aiChatController']['activeConversation']?.['id'],_0x8017de=this['_getCategorizedItems']()['map'](_0x4c6cfd=>({'title':_0x4c6cfd['title'],'items':_0x4c6cfd['items']['map'](_0x5b5f4f=>({'id':_0x5b5f4f['id'],'title':_0x5b5f4f['title']||Oo(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x5b5f4f['createdAt'])['toLocaleDateString'](),'active':_0x5b5f4f['id']===_0x194258,'pinned':_0x5b5f4f['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x8017de);}['_setItemLoading'](_0x59c3e5,_0x4ffca9){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x59c3e5,_0x4ffca9,!0x0);}['_clearItemLoading'](_0x9d9fa3){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x9d9fa3,null,!0x1);}['_handleHistoryErrorUI'](_0x3b5a4b,_0x547d64,_0x20b4a1){const _0x58f8ce=this['_generateErrorMessage'](_0x547d64,_0x20b4a1);this['_aiChatHistoryUi']['showError'](_0x58f8ce),_0x20b4a1&&this['_clearItemLoading'](_0x20b4a1),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x1a21d5,_0xebd4d8){const _0xbfcf3f=_0xebd4d8?this['history']['getItem'](_0xebd4d8):null,_0x5c8ecf=_0xbfcf3f?.['title']||Oo(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x1a21d5){case'updateItemTitle':return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x5c8ecf);case'updateItemPinned':{const _0x453eff=Oo(this['context']['locale'],_0xbfcf3f?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x453eff,_0x5c8ecf]);}case'removeItem':return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x5c8ecf);case'init':case'loadItems':return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x3fa9bc=new Date(),_0x5d3b53=new Date(_0x3fa9bc['getFullYear'](),_0x3fa9bc['getMonth'](),_0x3fa9bc['getDate']()),_0x56220b=new Date(_0x5d3b53);_0x56220b['setDate'](_0x56220b['getDate']()-0x1);const _0x5ad2aa=new Date(_0x5d3b53);_0x5ad2aa['setDate'](_0x5ad2aa['getDate']()-0xe);const _0x117482=this['history']['getItems']({'pinned':!0x0}),_0x2a9e35=this['history']['getItems']({'from':_0x5d3b53,'to':_0x5d3b53}),_0x2b1541=this['history']['getItems']({'from':_0x56220b,'to':_0x56220b}),_0x3c514b=this['history']['getItems']({'from':_0x5ad2aa,'to':_0x56220b}),_0xbd094b=this['history']['getItems']({'to':_0x5ad2aa}),_0x28e020=[];return _0x117482['length']>0x0&&_0x28e020['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x117482}),_0x2a9e35['length']>0x0&&_0x28e020['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x2a9e35}),_0x2b1541['length']>0x0&&_0x28e020['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x2b1541}),_0x3c514b['length']>0x0&&_0x28e020['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x3c514b}),_0xbd094b['length']>0x0&&_0x28e020['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0xbd094b}),_0x28e020;}}class AIChatHistory extends _0x32a432{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends _0x32a432{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x475a0b){super(_0x475a0b),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1}),this['context']['config']['define']('ai.chat.initialConversation','new');}}class AIChatShortcutView extends _0x1a631f{['id'];constructor(_0x2c23b9,_0x24f359){super(_0x2c23b9);const {id:_0x15f866,type:_0x3c852f,icon:_0x304caf}=_0x24f359;this['id']=_0x15f866,this['set']({'label':_0x24f359['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x24f359['id']}}),_0x304caf?this['icon']=_0x304caf:'chat'===_0x3c852f?this['icon']=_0x286b8d:'review'===_0x3c852f?this['icon']=_0x16415e:'translate'===_0x3c852f&&(this['icon']=_0x16e83c);}}class AIChatShortcutsView extends _0x278baa{['listView'];constructor(_0xb09dcb,_0x2dd042){super(_0xb09dcb);const _0x4b1c78=_0x2dd042['map'](_0x811c47=>{const _0x1b48eb=new _0x3a2da2(this['locale']),_0x576688=new AIChatShortcutView(this['locale'],_0x811c47);return _0x1b48eb['children']['add'](_0x576688),_0x576688['delegate']('execute')['to'](this),_0x1b48eb;});this['listView']=new _0x171307(this['locale']),this['listView']['items']['addMany'](_0x4b1c78),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const Bm='chat-shortcuts';class AIChatShortcuts extends _0x32a432{['_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 _0x13c977=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x13c977['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x13c977,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x2921cc=['chat','review','translate'];this['_shortcuts']['forEach'](_0x1fb601=>{let _0x31eb73=!0x0;if(_0x1fb601['id']&&_0x1fb601['label']&&_0x2921cc['includes'](_0x1fb601['type'])?'chat'===_0x1fb601['type']&&(_0x31eb73='string'==typeof _0x1fb601['prompt']):_0x31eb73=!0x1,!_0x31eb73)throw new _0x3ae0e8('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x1fb601});});}['_injectShortcuts'](){const _0x15034a=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x15034a['addFeedItemCustomElement'](this['_shortcutsView']['element'],Bm),this['_shortcutsView']['on']('execute',_0x4a5399=>{const _0x4c579a=_0x4a5399['source']['id'];this['_executeShortcut'](_0x4c579a);});}['_removeShortcuts'](){const _0x349f36=this['context']['plugins']['get'](AIChatUI);_0x349f36['hasFeedItem'](Bm)&&_0x349f36['removeFeedItem'](Bm),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x4df052){const _0x106162=this['_shortcuts']['find'](_0x13e6c4=>_0x13e6c4['id']===_0x4df052),_0x47fb69=_0x106162['type'];'chat'===_0x47fb69?this['_runChatShortcut'](_0x106162):'review'===_0x47fb69?_0x106162['commandId']?this['_runReviewShortcut'](_0x106162):this['_switchTab']('reviewMode'):'translate'===_0x47fb69&&(_0x106162['language']?this['_runTranslateShortcut'](_0x106162):this['_switchTab']('translate'));}['_switchTab'](_0x468f06){if(!this['context']['plugins']['has']('AITabs'))throw new _0x3ae0e8('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x468f06});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x468f06);}async['_runChatShortcut']({prompt:_0x491e26,draftMode:_0xae0b8d,useWebSearch:_0x4d90cf=!0x1,useReasoning:_0x381cff=!0x1,model:_0x10cf0b}){const _0x2c3fba=this['context']['plugins']['get']('AIChatController'),_0x462932=_0x2c3fba['activeConversation'];let _0x3f2d20;_0x3f2d20=_0x10cf0b?await _0x462932['chatModels']['getModel'](_0x10cf0b):await _0x462932['chatModels']['getDefault'](),_0x3f2d20&&await _0x462932['setModel'](_0x3f2d20),_0x462932['setWebSearch'](_0x4d90cf),_0x462932['setReasoning'](_0x381cff),_0x2c3fba['addCurrentDocumentToChatContext'](),_0xae0b8d?(this['_aiChatUI']['setPromptInputValue'](_0x491e26),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x2c3fba['sendMessage']({'message':_0x491e26});}['_runReviewShortcut']({commandId:_0x2d7bb5,model:_0x1ba4bc,prompt:_0x3852b9,params:_0x120101}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x3ae0e8('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x3f86cc={'id':_0x2d7bb5,'isCustom':'custom'===_0x2d7bb5};_0x1ba4bc&&_0x3852b9&&(_0x3f86cc['args']={'model':_0x1ba4bc,'prompt':_0x3852b9}),_0x120101&&(_0x3f86cc['params']=_0x120101),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x3f86cc);}['_runTranslateShortcut']({language:_0x607127}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x3ae0e8('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x607127,'args':{'language':_0x607127}});}}class ToggleAICommand extends _0x4d9dc4{constructor(_0x2d39c2){super(_0x2d39c2);const _0x3b9779=_0x2d39c2['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x3b9779,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x138ee3=this['editor']['plugins']['get']('AITabs')['view'];_0x138ee3['isVisible']=!_0x138ee3['isVisible'];}}class AIToggleButtonUI extends _0x7cf71c{static get['requires'](){return[AITabs];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15a6fd=this['editor'];_0x15a6fd['commands']['add']('toggleAi',new ToggleAICommand(_0x15a6fd)),_0x15a6fd['ui']['componentFactory']['add']('toggleAi',()=>{const _0xa51a39=this['_createAIUIButton'](_0x1a631f);return _0xa51a39['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xa51a39;}),_0x15a6fd['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x1f3e60=this['_createAIUIButton'](at);return _0x1f3e60['set']({'role':'menuitemcheckbox'}),_0x1f3e60;});}['_createAIUIButton'](_0x14b649){const _0x44d19a=this['editor'],_0x44035d=_0x44d19a['commands']['get']('toggleAi'),_0x4779a3=new _0x14b649(_0x44d19a['locale']);return _0x4779a3['set']({'label':Oo(_0x44d19a['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x107614,'isToggleable':!0x0}),_0x4779a3['bind']('isEnabled')['to'](_0x44035d),_0x4779a3['bind']('isOn')['to'](_0x44035d,'value',_0x29634a=>!!_0x29634a),this['listenTo'](_0x4779a3,'execute',()=>{_0x44035d['execute']();}),_0x4779a3;}}const jm=['applySuggestion','insertSuggestion','showNext','showPrevious'];class AIBalloonView extends _0x278baa{['_errorView'];constructor(_0x586a81){super(_0x586a81),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x53a7f7){this['showError'](_0x53a7f7);}['showError'](_0x25e515){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x25e515,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x10493c=new _0x278baa(this['locale']),_0x2009ae=new _0x278baa(this['locale']);return _0x2009ae['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x10493c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x1a1294=>!_0x1a1294)]},'children':[_0x2009ae]}),_0x10493c;}}const Fm=0xa;class AIBalloon extends _0x32a432{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_getTargetEditor'](){return this['_currentConfig']?.['targetEditor']??df(this['context']);}['_isUpdatingMarkers']=!0x1;['open'](_0x2ce413){const {id:_0x52e72a}=this['_currentConfig']??{};this['_currentConfig']=_0x2ce413;const {id:_0x519e4a}=this['_currentConfig'];this['isOpen']&&_0x52e72a===_0x519e4a?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x487a6d=this['_getTargetEditor']()['plugins']['get']('Dialog');_0x487a6d['isOpen']&&this['_currentConfig']&&_0x487a6d['id']===this['_currentConfig']['id']&&_0x487a6d['hide']();}['_updateDialog'](){const _0x19e76b=this['_getTargetEditor']()['plugins']['get']('Dialog'),{icon:_0xc84101,title:_0x2980da}=this['_currentConfig'];_0x19e76b['view']?.['headerView']&&(_0x19e76b['view']['headerView']['label']=_0x2980da,_0x19e76b['view']['headerView']['iconView']&&_0xc84101&&(_0x19e76b['view']['headerView']['iconView']['content']=_0xc84101)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x19e76b['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection']({'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x4a5698=this['_getTargetEditor']()['plugins']['get']('Dialog'),{id:_0x1bcf52,title:_0xd55a8a,icon:_0x1f01d9,class:_0xde4e9e,mainView:_0x4c3a57}=this['_currentConfig'];_0x4c3a57['delegate'](...jm)['to'](this),_0x4a5698['show']({'title':_0xd55a8a,'icon':_0x1f01d9,'hasCloseButton':!0x0,'id':_0x1bcf52,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0xde4e9e||''),'content':_0x4c3a57,'onShow':_0x13c7db=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x13c7db['view']?.['updatePosition']();const _0x529ee0=this['_getSelectionElements']();_0x529ee0&&_0x529ee0[0x0]&&_0x32a032({'target':_0x529ee0[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x13c7db['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x1bcf52});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x1bcf52}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x3e2814,_0x5d868f){if(!_0x5d868f){const _0x266595=this['_getTargetRootDomRect']();if(!_0x266595)return null;_0x5d868f=_0x266595;}const _0x48d797=this['_getSelectionElements']();if(!_0x48d797||0x0===_0x48d797['length'])return{'left':Math['round'](_0x5d868f['left']+_0x5d868f['width']/0x2-_0x3e2814['width']/0x2),'top':Math['round'](_0x5d868f['top']+_0x5d868f['height']/0x2-_0x3e2814['height']/0x2)};const _0x55fa54=Math['round'](_0x5d868f['left']+_0x5d868f['width']/0x2-_0x3e2814['width']/0x2),_0xef52be=_0x48d797['map'](_0x13b502=>new _0xbeaf38(_0x13b502)),_0x5b69e1=_0x3e2814['height'];return{'left':_0x55fa54,'top':this['_calculateOptimalTopPosition'](_0xef52be,_0x5b69e1,_0x5d868f)};}['_calculateOptimalTopPosition'](_0x1f72d5,_0x592686,_0x5cc930){const _0xda6008=new _0xbeaf38(_0x37cedc['window']),_0x42423f=_0x1f72d5['map'](_0x50d6d9=>_0x50d6d9['getVisible']())['filter'](_0x3f0f09=>_0x3f0f09),_0x4183f3=_0xbeaf38['getBoundingRect'](_0x42423f);if(!_0x4183f3)return Math['round'](_0x5cc930['top']+_0x5cc930['height']/0x2);const _0x300a0f=_0xda6008['getIntersection'](_0x4183f3);if(!_0x300a0f)return Math['round'](_0x5cc930['top']+_0x5cc930['height']/0x2);const _0x455c93=_0x5cc930['getVisible'](),_0x532024=_0x455c93&&_0x4183f3['height']>_0x455c93['height'],_0x3e132f=_0x300a0f['top'],_0x5addcd=_0x300a0f['bottom'];if(_0x532024){const _0x3db231=(_0x455c93||_0xda6008)['height']/0x2-_0x592686/0x2,_0x5d4869=_0x3e132f-Fm-_0x5cc930['top'],_0x49e216=_0x5cc930['bottom']-_0x5addcd-Fm;return _0x5d4869>=_0x592686?Math['max'](Fm,_0x3e132f-_0x592686-Fm):_0x49e216>=_0x592686?_0x5addcd+Fm:Math['max'](Fm,_0x3db231);}const _0x43f0ef=_0x3e132f-_0x592686,_0x12bee4=_0x5cc930['bottom']-_0x5addcd-Fm,_0x143d4c=_0x3e132f-Fm-_0x5cc930['top'];let _0x546af9;if(_0x12bee4>=_0x592686)_0x546af9=_0x5addcd+Fm;else{if(_0x143d4c>=_0x592686)_0x546af9=_0x43f0ef-Fm;else _0x546af9=_0x3e132f+_0x4183f3['height']/0x2-_0x592686/0x2;}return _0x546af9;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x4049ee=this['_getTargetEditor']();this['listenTo'](_0x4049ee['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0xa996fe,data:{newRange:_0xdce674}}of _0x4049ee['model']['document']['differ']['getChangedMarkers']())if(_0xa996fe['startsWith'](gf+':')&&(_0xdce674&&(_0xdce674['start']['isEqual'](_0xdce674['end'])||'$graveyard'==_0xdce674['root']['rootName'])||null==_0xdce674)){const _0x136a2d=Oo(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x136a2d),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x2f795c=this['_getTargetEditor']();this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x2f795c['model']['document']);}['_getSelectionElements'](){const _0x50f745=this['_getTargetEditor']();return Id(_0x50f745['editing'],[..._0x50f745['model']['markers']['getMarkersGroup']('ai-selection'),..._0x50f745['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getTargetRootDomRect'](){const _0x453ab7=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];if(!_0x453ab7)return null;const _0x3855bc=this['_getTargetEditor'](),_0x53b74b=_0x3855bc['editing']['view']['document']['getRoot'](_0x453ab7['rootName']);if(!_0x53b74b)return null;const _0x2d01e7=_0x3855bc['editing']['view']['domConverter']['mapViewToDom'](_0x53b74b);return _0x2d01e7&&_0x2d01e7 instanceof HTMLElement?new _0xbeaf38(_0x2d01e7):null;}}class AIMiniToolbarView extends _0x3e23dd{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x295167,_0x15c169={}){super(_0x295167),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x15c169};const _0x2ece51=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x2ece51?'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'](_0x33be71){this['showChangesButton']['isEnabled']=_0x33be71;}['_setupRatingButtons'](){this['likeButton']=new _0x1a631f(this['locale']),this['likeButton']['set']({'icon':_0x3b000e,'label':Oo(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':yo,'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x1a631f(this['locale']),this['dislikeButton']['set']({'icon':_0x50a03f,'label':Oo(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':yo,'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0x1a631f(this['locale']),this['copyButton']['set']({'icon':_0x3fdc56,'label':Oo(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+yo,'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x2f3be3=new _0x24ab51();_0x2f3be3['set']({'content':_0x28777c}),_0x2f3be3['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\x20'+yo,setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+yo;},0x7d0);}),this['copyButton']['children']['add'](_0x2f3be3);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x1a631f(this['locale']),this['showChangesButton']['set']({'icon':_0x45ada1,'label':Oo(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':yo}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x308c97=>_0x308c97?_0xcd177b:_0x45ada1),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(_0x531433,_0x26a966){super(_0x531433);const _0x3c33f3=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x2423e3(),this['_keystrokes']=new _0x247474(),this['_focusables']=this['createCollection'](),this['focusCycler']=new et({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x26a966,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x531433),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x531433,_0x26a966['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x26a966),this['_stateView']=new AISuggestionContentPartStateView(_0x531433),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new AIMiniToolbarView(_0x531433,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x531433,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x351ec1,_0x3c5f8f,_0x2fcd77,_0x2d7363)=>{let _0x147ce9,_0xe8025;'pending'===_0x2d7363?(_0x147ce9=this['_partToolbarView'],_0xe8025=this['_stateView']):(_0x147ce9=this['_stateView'],_0xe8025=this['_partToolbarView']),this['_stateView']['setState'](_0x2fcd77),_0x147ce9['isVisible']=!0x1,_0xe8025['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x3c33f3['to']('_state',_0x1e2b9f=>'ck-ai-chat-balloon-main_state_'+_0x1e2b9f)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x26a966);});}['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'](_0x1a51e3){_0x1a51e3?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x1a51e3);}['setState'](_0x3d3000){this['_state']=_0x3d3000;}['showError'](_0x1129f3){super['showError'](_0x1129f3),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x3f8bd6){super['showBlockingError'](_0x3f8bd6),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x272063){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x272063;}['togglePartToolbarEnabled'](_0x1156fb){this['_partToolbarView']['isEnabled']=_0x1156fb;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x467b63,showSuggestButton:_0x43dec9}){_0x467b63=_0x467b63&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x43dec9=_0x43dec9&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x467b63,'showSuggestButton':_0x43dec9});}['_createNextButtonView'](){const _0x7be6ee=new _0x1a631f(this['locale']);return _0x7be6ee['set']({'icon':_0x3cec3c,'label':Oo(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x7be6ee['on']('execute',()=>{this['fire']('showNext');}),_0x7be6ee;}['_createPreviousButtonView'](){const _0x4a26b4=new _0x1a631f(this['locale']);return _0x4a26b4['set']({'icon':_0x526f3c,'label':Oo(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x4a26b4['on']('execute',()=>{this['fire']('showPrevious');}),_0x4a26b4;}}class AIChatBalloonToolbarContainerView extends _0x278baa{constructor(_0x27834f,_0x45f8b1){super(_0x27834f),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x45f8b1});}}class AIChatBalloon extends _0x7cf71c{static get['requires'](){return[st,AIBalloon];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x2e8d61){super(_0x2e8d61),this['set']('showDiff',!0x1);}['open'](_0x5c8685){const _0xb5f39=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0xb5f39['plugins']['get']('AIBalloon')['open']({..._0x5c8685,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x5c8685['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x5c8685['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x5570d2){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x5570d2);}['setState'](_0x5b2867){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x5b2867);}['_createChatBalloonView'](){const _0x233a64=this['editor'],_0x41f529=_0x233a64['plugins']['get']('AIBalloon'),_0x5553ff=_0x233a64['commands']['get']('trackChanges');let _0x4755d4=_0x233a64['config']['get']('ai.availableReplyActions')||[...Df];_0x233a64['plugins']['has']('TrackChanges')||(_0x4755d4=_0x4755d4['filter'](_0x36857a=>'insertSuggestion'!=_0x36857a));const _0x2fdaa1=new AIChatBalloonView(_0x233a64['locale'],{'availableActions':_0x4755d4,'showApplyButton':!0x0,'showSuggestButton':!!_0x5553ff});return _0x2fdaa1['bind']('showDiff')['to'](this),_0x2fdaa1['delegate'](...Of)['to'](this),_0x2fdaa1['delegate']('showPrevious','showNext')['to'](this),_0x41f529['delegate']('dialogClosed')['to'](this),_0x2fdaa1['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2fdaa1['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2fdaa1['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x5553ff&&_0x2fdaa1['bind']('isTrackChangesOn')['to'](_0x5553ff,'value'),_0x2fdaa1['render'](),_0x2fdaa1;}['_toggleRotatorButtonsInDialogHeader'](_0x49efac){const _0x1f078c=this['editor'],_0x345a4f=_0x1f078c['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x49efac),_0x345a4f['has'](this['_chatBalloonView']['previousButtonView'])||(_0x345a4f['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x1f078c['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x345a4f['remove'](this['_chatBalloonView']['previousButtonView']),_0x345a4f['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x7cf71c{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Hm(_0x5c4481){const {editor:_0x4e4119,action:_0x18b024,withText:_0x36ccc9=!0x1,withIcon:_0x138c47=!0x0,isInDropdown:_0x4b652b=!0x0,shouldPreventFocus:_0x18779b=!0x1}=_0x5c4481;return()=>{const _0x2a7b41=_0x4e4119['locale'],_0x2bbec9=new _0x1a631f(_0x2a7b41),_0x10f1d4=_0x2bbec9['bindTemplate'];_0x4b652b&&_0x2bbec9['extendTemplate']({'on':{'mouseenter':_0x10f1d4['to'](()=>{_0x18779b&&_0x18779b()||_0x2bbec9['focus']();})}});const _0x49259c=_0x18b024['icon']??_0x18b024['parent']?.['icon'];return _0x2bbec9['set']({'label':_0x18b024['label'],'withText':_0x36ccc9,'role':'menuitem','icon':_0x138c47?_0x49259c??_0x3334db:void 0x0,'tooltip':!_0x36ccc9,'class':'ck-ai-quick-actions-button','isEnabled':_0x18b024['isEnabled']}),_0x2bbec9['on']('execute',()=>{_0x4e4119['editing']['view']['focus'](),_0x4e4119['commands']['execute']('aiQuickAction',_0x18b024);}),_0x2bbec9;};}class DropdownMenuButtonWithHighlightView extends It{['arrowView'];constructor(_0x270838,_0x36eb5b){super(_0x270838,_0x36eb5b);const _0x4d7276=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',_0x152443=>String(_0x152443)),'data-cke-tooltip-disabled':_0x4d7276['to']('isOn')},'on':{'mouseenter':_0x4d7276['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x2fae90=new _0x24ab51();return _0x2fae90['content']=_0x219487,_0x2fae90['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x2fae90;}}class AIQuickActionsFilteredListView extends _0x171307{['_allListItems'];['_allSearchableItems'];constructor(_0x206f5b,_0x2bbfda,_0x21a786){super(_0x206f5b),this['_allListItems']=_0x2bbfda,this['_allSearchableItems']=_0x21a786;}['filter'](_0x198522){if(!_0x198522)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x6eea37=_0x198522['source']['toLowerCase']()['trim'](),_0x4446ae=this['_allSearchableItems']['filter'](_0x39754d=>(_0x39754d['groupLabel']?_0x39754d['label']+'\x20('+_0x39754d['groupLabel']+')':_0x39754d['label'])['toLowerCase']()['includes'](_0x6eea37));return this['items']['clear'](),this['items']['addMany'](_0x4446ae['sort']((_0x562d03,_0x3d0345)=>{const _0x3ccba1=_0x562d03['groupLabel'],_0x2abaa4=_0x3d0345['groupLabel'];return _0x3ccba1||_0x2abaa4?_0x3ccba1?0x1:-0x1:0x0;})['map'](_0x264479=>_0x264479['item'])),this['_highlightQuery'](_0x6eea37,_0x4446ae),{'resultsCount':_0x4446ae['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x59b183,_0x1820b1){if(!_0x59b183)return;const _0x52dfae=new RegExp(so(_0x59b183),'gi');_0x1820b1['forEach'](_0x56c020=>{_0x56c020['highlightViews']&&_0x56c020['highlightViews']['forEach'](_0x393b3e=>{'function'==typeof _0x393b3e['highlightText']&&_0x393b3e['highlightText'](_0x52dfae);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x3a3768=>{_0x3a3768['highlightViews']&&_0x3a3768['highlightViews']['forEach'](_0x429c32=>{'function'==typeof _0x429c32['highlightText']&&_0x429c32['highlightText'](null);});});}}const Gm='menu',Zm='menuitem';class AIQuickActionsDropdownContentView extends _0x278baa{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x508bbb,_0x8572a3,_0x2966b9,_0x9978c7,_0x9ef3b6=!0x1){const _0x377346=_0x508bbb['locale'];super(_0x377346),this['_bodyCollection']=_0x9978c7,this['_hasSearch']=_0x9ef3b6;const _0x1bbeb0=this['_createListItems'](_0x508bbb,_0x8572a3,_0x2966b9);this['optionsListView']=new AIQuickActionsFilteredListView(_0x377346,_0x1bbeb0,this['_allSearchableItems']),this['optionsListView']['role']=Gm,this['optionsListView']['items']['addMany'](_0x1bbeb0),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),_0x9ef3b6&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x1bbeb0,this['focusCycler']=new et({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x9ef3b6&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x32899d=_0x9ef3b6&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new Et(_0x32899d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x377346['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new St(this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':Oo(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':Oo(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x19ef6e=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x19ef6e);}['_createListItems'](_0x13aa79,_0x4b348c,_0x4ed548){const _0x267ed5=new Et();return _0x4b348c['forEach'](_0x5c873d=>{if('actions'in _0x5c873d){const {listItem:_0x21a4b9}=this['_createActionGroupButton'](_0x13aa79,_0x5c873d,_0x4ed548);_0x267ed5['add'](_0x21a4b9),_0x5c873d['actions']['forEach'](_0x517bdf=>{this['_createActionButton'](_0x13aa79,_0x517bdf,_0x5c873d['label'],_0x5c873d['icon']);const {listItem:_0x318443,highlightViews:_0x4cb5fb}=this['_createSearchResultActionButton'](_0x13aa79,_0x517bdf,_0x5c873d['label'],_0x5c873d['icon']);this['_allSearchableItems']['push']({'item':_0x318443,'label':_0x517bdf['label'],'groupLabel':_0x5c873d['label'],'highlightViews':_0x4cb5fb});});}else{const {listItem:_0x53dc8e}=this['_createActionButton'](_0x13aa79,_0x5c873d);_0x267ed5['add'](_0x53dc8e);const _0x92bcc3=_0x53dc8e['children']['first'];if(_0x92bcc3){const {listItem:_0xd85c20,highlightViews:_0x2ea579}=this['_createSearchResultActionButton'](_0x13aa79,_0x5c873d);this['_allSearchableItems']['push']({'item':_0xd85c20,'label':_0x92bcc3['label']||'','highlightViews':_0x2ea579});}}}),_0x267ed5;}['_createActionButton'](_0x3d05af,_0x326c7d,_0x420a6c,_0x63e44e){const _0x4283a7=new _0x3a2da2(this['locale']);if(_0x420a6c&&_0x63e44e){const _0x597f96=new _0x1a631f(this['locale']),_0x104135=_0x597f96['bindTemplate'],_0x377c71=new _t();_0x377c71['text']=_0x326c7d['label'];const _0x2681e8=new _t();_0x2681e8['text']=_0x420a6c;const _0x5d6c8b=new _0x24ab51();_0x5d6c8b['content']=_0x63e44e,_0x5d6c8b['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x251b02=new _0x278baa(this['locale']);_0x251b02['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x4f5910=new _0x278baa(this['locale']);return _0x4f5910['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x597f96['set']({'label':_0x326c7d['label']+'\x20('+_0x420a6c+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x597f96['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':[_0x377c71,_0x251b02,_0x5d6c8b,_0x2681e8,_0x4f5910],'on':{'mouseenter':_0x104135['to'](()=>{this['_isSearchFocused']()||_0x597f96['focus']();}),'click':_0x104135['to'](()=>{_0x597f96['fire']('execute');})}}),_0x597f96['on']('execute',()=>{_0x3d05af['editing']['view']['focus'](),_0x3d05af['commands']['execute']('aiQuickAction',_0x326c7d);}),_0x4283a7['children']['add'](_0x597f96),{'listItem':_0x4283a7,'highlightViews':[_0x377c71,_0x2681e8]};}{const _0x5e558b=new Ct(),_0x44a579=new _0x1a631f(this['locale'],_0x5e558b),_0x1cbd84=_0x44a579['bindTemplate'],_0x3edec6=_0x326c7d['icon']??_0x326c7d['parent']?.['icon'],_0x388d21=void 0x0!==_0x326c7d['icon'];return _0x44a579['set']({'label':_0x326c7d['label'],'withText':!0x0,'role':'menuitem','icon':_0x388d21?_0x3edec6??_0x3334db:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x44a579['extendTemplate']({'on':{'mouseenter':_0x1cbd84['to'](()=>{this['_isSearchFocused']()||_0x44a579['focus']();})}}),_0x44a579['on']('execute',()=>{_0x3d05af['editing']['view']['focus'](),_0x3d05af['commands']['execute']('aiQuickAction',_0x326c7d);}),_0x4283a7['children']['add'](_0x44a579),{'listItem':_0x4283a7,'highlightViews':[_0x5e558b]};}}['_createSearchResultActionButton'](_0x2bcfc2,_0x257bd2,_0x28167d,_0x31651b){return _0x28167d&&_0x31651b?this['_createSearchResultGroupedActionButton'](_0x2bcfc2,_0x257bd2,_0x28167d,_0x31651b):this['_createSearchResultIndividualActionButton'](_0x2bcfc2,_0x257bd2);}['_createSearchResultGroupedActionButton'](_0x2ad0ec,_0x405958,_0x332cc3,_0x415228){const _0x3bcfe7=new _0x3a2da2(this['locale']),_0x39c1d5=new _0x1a631f(this['locale']),_0x3fb8c3=_0x39c1d5['bindTemplate'],{view:_0x48f5f5,highlightView:_0x4b30b6}=this['_createSearchResultGroupRow'](_0x332cc3,_0x415228),{view:_0xeaf96b,highlightView:_0x405933}=this['_createSearchResultActionRow'](_0x405958['label']),_0x43fdec=this['_createSearchResultContentView'](_0x48f5f5,_0xeaf96b);return _0x39c1d5['set']({'label':_0x405958['label'],'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}),_0x39c1d5['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':[_0x43fdec],'on':{'mouseenter':_0x3fb8c3['to'](()=>{this['_isSearchFocused']()||_0x39c1d5['focus']();}),'click':_0x3fb8c3['to'](()=>{this['_handleSearchResultButtonClick'](_0x39c1d5);})}}),this['_setupActionButtonExecution'](_0x39c1d5,_0x2ad0ec,_0x405958),_0x3bcfe7['children']['add'](_0x39c1d5),{'listItem':_0x3bcfe7,'highlightViews':[_0x4b30b6,_0x405933]};}['_createSearchResultIndividualActionButton'](_0x131ad3,_0x360f50){const _0xb6e5f1=new _0x3a2da2(this['locale']),_0x35087a=new Ct(),_0x272470=new _0x1a631f(this['locale'],_0x35087a),_0x434dd6=_0x272470['bindTemplate'];return _0x272470['set']({'label':_0x360f50['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x272470['extendTemplate']({'on':{'mouseenter':_0x434dd6['to'](()=>{this['_isSearchFocused']()||_0x272470['focus']();})}}),this['_setupActionButtonExecution'](_0x272470,_0x131ad3,_0x360f50),_0xb6e5f1['children']['add'](_0x272470),{'listItem':_0xb6e5f1,'highlightViews':[_0x35087a]};}['_createSearchResultGroupRow'](_0x2e737d,_0xa58fc){const _0x47138b=new _0x278baa(this['locale']),_0x306478=new _0x24ab51();_0x306478['content']=_0xa58fc,_0x306478['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x20f793=new _t();return _0x20f793['text']=_0x2e737d,_0x47138b['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x306478,_0x20f793]}),{'view':_0x47138b,'highlightView':_0x20f793};}['_createSearchResultActionRow'](_0x4cdae9){const _0x28d170=new _0x278baa(this['locale']),_0x16851a=new _t();return _0x16851a['text']=_0x4cdae9,_0x28d170['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x16851a]}),{'view':_0x28d170,'highlightView':_0x16851a};}['_createSearchResultContentView'](_0x1d3551,_0x573c52){const _0x3687e5=new _0x278baa(this['locale']);return _0x3687e5['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x1d3551,_0x573c52]}),_0x3687e5;}['_setupActionButtonExecution'](_0x432ca4,_0x7b4f95,_0x15b8cc){_0x432ca4['on']('execute',()=>{_0x7b4f95['editing']['view']['focus'](),_0x7b4f95['commands']['execute']('aiQuickAction',_0x15b8cc);});}['_createActionGroupButton'](_0x521167,_0x478b28,_0x5b2772){const _0xe43f04=new _0x3a2da2(this['locale']),_0x54ae1d=new Ct(),_0x3f2273=new DropdownMenuButtonWithHighlightView(this['locale'],_0x54ae1d),_0x1836e6=_0x3f2273['bindTemplate'],_0x2cff91=this['_getPanelKeystroke'](_0x5b2772),_0x3ed585=this['_createGroupActionsList'](_0x521167,_0x478b28['actions'],_0x5b2772);_0x3f2273['set']({'label':_0x478b28['label'],'withText':!0x0,'role':Zm,'icon':_0x478b28['icon']??_0x3334db,'isEnabled':_0x478b28['actions']['some'](_0x4de09e=>_0x4de09e['isEnabled'])}),_0x3f2273['extendTemplate']({'on':{'mouseenter':_0x1836e6['to'](()=>{this['_isSearchFocused']()||_0x3f2273['focus']();})}});const _0x40afb3=new mt(this['locale']);return _0x40afb3['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x1836e6['to'](_0x253e7c=>{this['_handlePanelKeydown'](_0x253e7c,_0x2cff91,_0x3f2273,_0x40afb3);})}}),_0x3f2273['bind']('isOn')['to'](_0x40afb3,'isVisible'),this['_bodyCollection']['add'](_0x40afb3),_0x40afb3['content']['add'](_0x3ed585),this['_setupGroupMenuBehavior'](_0x3f2273,_0x40afb3),_0xe43f04['children']['add'](_0x3f2273),{'listItem':_0xe43f04,'highlightView':_0x54ae1d};}['_createGroupActionsList'](_0x15487c,_0x52973c,_0x17482c){const _0x1f5be0=new _0x171307(this['locale']);return _0x1f5be0['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x52973c['forEach'](_0x37d193=>{const _0x3d4697=new _0x3a2da2(this['locale']),_0x128fc5=Hm({'editor':_0x15487c,'action':_0x37d193,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x3d4697['children']['add'](_0x128fc5),_0x17482c['focusTracker']['add'](_0x128fc5),_0x1f5be0['items']['add'](_0x3d4697);}),_0x1f5be0;}['_setupGroupMenuBehavior'](_0x22fd37,_0x3b7689){const _0x168078=_0x22fd37['bindTemplate'],_0x1b64d1=this['_getButtonKeystroke'](_0x22fd37);_0x22fd37['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x168078['to'](()=>{this['_showNestedPanel'](_0x3b7689,_0x22fd37);}),'mouseleave':_0x168078['to'](_0x1fdeda=>{const _0x1a9f52=_0x1fdeda['relatedTarget'];this['_isMovingToNestedMenu'](_0x1a9f52,_0x3b7689)||this['_hideNestedPanel'](_0x3b7689);}),'keydown':_0x168078['to'](_0x5e982d=>{_0x5e982d['key']==_0x1b64d1&&(this['_showNestedPanel'](_0x3b7689,_0x22fd37),_0x3b7689['content']['get'](0x0)['focus']());})}}),_0x3b7689['on']('render',()=>{_0x3b7689['element']?.['addEventListener']('mouseleave',_0x5d2a5c=>{const _0x51808e=_0x5d2a5c['relatedTarget'];_0x22fd37['element']?.['contains'](_0x51808e)||this['_isMovingToNestedMenu'](_0x51808e,_0x3b7689)||this['_hideNestedPanel'](_0x3b7689);});});}['_showNestedPanel'](_0x4371cb,_0x151af5){this['_openNestedPanels']['forEach'](_0x37afa9=>{_0x37afa9!==_0x4371cb&&_0x37afa9['isVisible']&&_0x37afa9['hide']();}),_0x4371cb['show'](),_0x4371cb['pin']({'positions':[kt['eastSouth']],'target':_0x151af5['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x4371cb);}['_hideNestedPanel'](_0x20d523){_0x20d523['hide'](),this['_openNestedPanels']['delete'](_0x20d523);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x5589c7=>_0x5589c7['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x3a6d11,_0x1ffcb5){if(!_0x3a6d11)return!0x1;if(_0x1ffcb5['element']?.['contains'](_0x3a6d11))return!0x0;const _0x370c57=_0x3a6d11;return _0x370c57['closest']&&(null!==_0x370c57['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x370c57['closest']('.ck-ai-quick-actions-group-list')||null!==_0x370c57['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'](_0x12413b){return'rtl'===_0x12413b['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x59e36d){return'rtl'===_0x59e36d['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x620006,_0x4a5c5a,_0x54bcf6,_0x31f438){_0x620006['key']==_0x4a5c5a&&(_0x54bcf6['focus'](),this['_hideNestedPanel'](_0x31f438));}['_handleSearchResultButtonClick'](_0x24458a){_0x24458a['fire']('execute');}}function Xm(_0x38a67c){const {editor:_0x15ab3f,content:_0x39ce94,buttonDefinition:_0x57a609,bodyCollection:_0x408506,hasSearch:_0x45bd2d=!0x1}=_0x38a67c;return()=>{const _0x4f8834=_0x15ab3f['locale'],_0x4a58b6=_0x15ab3f['commands']['get']('aiQuickAction'),_0x5436e8=nt(_0x4f8834);_0x5436e8['bind']('isEnabled')['to'](_0x4a58b6),_0x5436e8['buttonView']['set']({'icon':_0x57a609['icon']??_0x3334db,'label':_0x57a609['label'],'tooltip':!0x0}),_0x5436e8['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x1a0417=new AIQuickActionsDropdownContentView(_0x15ab3f,_0x39ce94,_0x5436e8,_0x408506,_0x45bd2d);return _0x5436e8['panelView']['children']['add'](_0x1a0417),_0x45bd2d&&_0x5436e8['on']('change:isOpen',(_0x1d35a,_0x3c1264,_0x59b1b4)=>{if(_0x59b1b4){if(_0x15ab3f['plugins']['has']('AIEditing')){const _0x213233=_0x15ab3f['plugins']['get'](AIEditing),_0x472b94=_0x15ab3f['model']['document']['selection'],_0x3ea59a=Array['from'](_0x472b94['getRanges']());_0x3ea59a['length']>0x0&&_0x213233['showFakeVisualSelection']({'ranges':_0x3ea59a,'id':'quick-action','priority':0x14});}}else _0x15ab3f['plugins']['has']('AIEditing')&&_0x15ab3f['plugins']['get'](AIEditing)['hideFakeVisualSelection']('quick-action'),_0x1a0417['resetSearch']();}),_0x5436e8;};}const qm='<task>Explain\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x20plain,\x20simple\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).-\x20Avoid\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><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20explanation,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant,\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',Wm='<task>Summarize\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x202–4\x20clear\x20sentences,\x20capturing\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><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20summary,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',zm='<task>Extract\x20and\x20present\x20the\x20key\x20points\x20from\x20the\x20selected\x20part\x20of\x20the\x20document\x20as\x20a\x20concise\x20bulleted\x20list.</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><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20key\x20points\x20list,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',Ym=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());class AIQuickActionsUI extends _0x7cf71c{static get['requires'](){return[xt,AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0xb224ff=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0xb224ff),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x9fb08b){return function(_0x3cc1b5){const _0x3fedb4=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x3cc1b5['uiLanguage']),_0x8c82ac=_0x3fedb4||'English',_0x5d1231=[{'id':'ask-ai','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0xf70737},{'id':'chat-commands','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0xf70737,'actions':[{'id':'explain','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':qm['replace']('%0',_0x8c82ac),'type':'chat'},{'id':'summarize','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':Wm['replace']('%0',_0x8c82ac),'type':'chat'},{'id':'highlight-key-points','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':zm['replace']('%0',_0x8c82ac),'type':'chat'}]},{'id':'improve-writing','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x1999ff},{'id':'continue','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x35ed0d},{'id':'fix-grammar','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x5a7467},{'id':'adjust-length','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x2cac94,'actions':[{'id':'make-shorter','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0xe7f0cf,'actions':[{'id':'make-tone-casual','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x16e83c,'actions':[{'id':'translate-to-english','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':Oo(_0x3cc1b5,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x122304,'actions':[]}];return _0x5d1231;}(_0x9fb08b);}async['_getDefaultAndCustomActions'](){const _0x241dd8=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x5df64b=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x52c6af,_0x287bee=[];try{const _0x324460=new AIModels({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']});_0x287bee=await _0x324460['getAll'](),_0x52c6af=(await _0x324460['getDefault']())?.['id'];}catch(_0x2d8105){const _0x4a0435=new _0x3ae0e8('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x2d8105});_0x39bd32(_0x4a0435['message']);}finally{const _0x4b6031=_0x5df64b['map'](_0xc5ef8c=>({..._0xc5ef8c,'type':'chat'===_0xc5ef8c['type']?'chat':'action','model':'chat'!==_0xc5ef8c['type']?_0xc5ef8c['model']||_0x52c6af:_0xc5ef8c['model'],'icon':void 0x0}));_0x241dd8['find'](_0x4bb6b8=>'other'===_0x4bb6b8['id'])['actions']['push'](..._0x4b6031),_0x241dd8['forEach'](_0x4bdccc=>{if('actions'in _0x4bdccc)_0x4bdccc['actions']['forEach'](_0x4e13fc=>{if(_0x4e13fc['isEnabled']=!!_0x287bee['find'](_0x5d39f9=>_0x5d39f9['id']===_0x4e13fc['model'])||void 0x0===_0x4e13fc['model'],!_0x4e13fc['isEnabled']){const _0xcd100c=new _0x3ae0e8('ai-quick-actions-unavailable-model',this,{'actionId':_0x4e13fc['id'],'modelId':_0x4e13fc['model']});_0x39bd32(_0xcd100c['message']);}});else{if(_0x4bdccc['isEnabled']=!!_0x287bee['find'](_0x341953=>_0x341953['id']===_0x4bdccc['model'])||void 0x0===_0x4bdccc['model'],!_0x4bdccc['isEnabled']){const _0x257003=new _0x3ae0e8('ai-quick-actions-unavailable-model',this,{'actionId':_0x4bdccc['id'],'modelId':_0x4bdccc['model']});_0x39bd32(_0x257003['message']);}}});}return _0x241dd8;}['_initializeQuickActionsComponentsAndCommands'](){const _0x33dfa6=new ft(this['editor']['locale']);_0x33dfa6['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x33dfa6),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x33dfa6);}['_initializeQuickActionsDropdown'](_0x37e95f){const _0x1d1048=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',Xm({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x3334db,'label':Oo(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x37e95f,'hasSearch':_0x1d1048}));}['_prepareQuickActionsDefinition'](_0x387920){this['_quickActionsDefinition']=_0x387920['map'](_0x52b1b6=>{if('actions'in _0x52b1b6){const _0x58732c=_0x52b1b6;return{..._0x58732c,'actions':_0x58732c['actions']['map'](_0x31e9ef=>{const {actions:_0xc03c3c,..._0x2c7917}=_0x58732c;return{..._0x31e9ef,'parent':_0x2c7917};})['filter'](_0x64de0b=>this['_shouldIncludeAction'](_0x64de0b))};}return _0x52b1b6;})['filter'](_0x2276e7=>'actions'in _0x2276e7?_0x2276e7['actions']['length']>0x0:this['_shouldIncludeAction'](_0x2276e7));}['_shouldIncludeAction'](_0x5eded9){const _0x58e367=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](Ym[_0x5eded9['type']])&&!_0x58e367['includes'](_0x5eded9['id'])&&!('chat'===_0x5eded9['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x2ac6d4){this['_quickActionsDefinition']['forEach'](_0x4025ee=>{if('actions'in _0x4025ee){const _0x3b39bb=Xm({'editor':this['editor'],'content':_0x4025ee['actions'],'buttonDefinition':_0x4025ee,'bodyCollection':_0x2ac6d4});this['editor']['ui']['componentFactory']['add'](_0x4025ee['id'],_0x3b39bb),_0x4025ee['actions']['forEach'](_0x1d0054=>{const _0x490d7f=Hm({'editor':this['editor'],'action':_0x1d0054});this['editor']['ui']['componentFactory']['add'](_0x1d0054['id'],_0x490d7f);});}else{const _0x3b104f=Hm({'editor':this['editor'],'action':_0x4025ee,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x4025ee['id'],_0x3b104f);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x455380=>{const _0x3ffc13=this['editor']['commands']['get']('aiQuickAction'),_0xce80b5=new ot(_0x455380),_0x8f840f=Oo(_0x455380,'AI_QUICK_ACTIONS_HEADING');_0xce80b5['buttonView']['set']({'label':_0x8f840f,'icon':_0x3334db});const _0x4570cf=new lt(_0x455380);return _0x4570cf['set']({'ariaLabel':_0x8f840f,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x1cf589=>{if('actions'in _0x1cf589){const _0x4aeef6=_0x1cf589,_0x12aede=new ht(_0x455380,_0xce80b5),_0xd51019=new ot(_0x455380),_0x4acdb2=new lt(_0x455380);_0xd51019['buttonView']['set']({'label':_0x4aeef6['label'],'icon':_0x4aeef6['icon']}),_0x4aeef6['actions']['forEach'](_0x109ffb=>{const _0x39d81d=new ht(_0x455380,_0xd51019),_0x248f68=new at(_0x455380);_0x248f68['set']({'label':_0x109ffb['label'],'icon':_0x109ffb['icon'],'role':'menuitem','isEnabled':_0x109ffb['isEnabled']}),_0x248f68['on']('execute',()=>{this['_executeQuickAction'](_0x109ffb);}),_0x248f68['delegate']('execute')['to'](_0xd51019),_0x39d81d['children']['add'](_0x248f68),_0x4acdb2['items']['add'](_0x39d81d);}),_0xd51019['panelView']['children']['add'](_0x4acdb2),_0x12aede['children']['add'](_0xd51019),_0x4570cf['items']['add'](_0x12aede);}else{const _0x1b26d0=_0x1cf589,_0x13d19b=new ht(_0x455380,_0xce80b5),_0x40899f=new at(_0x455380);_0x40899f['set']({'label':_0x1b26d0['label'],'icon':_0x1b26d0['icon'],'role':'menuitem','isEnabled':_0x1b26d0['isEnabled']}),_0x40899f['on']('execute',()=>{this['_executeQuickAction'](_0x1b26d0);}),_0x40899f['delegate']('execute')['to'](_0xce80b5),_0x13d19b['children']['add'](_0x40899f),_0x4570cf['items']['add'](_0x13d19b);}}),(Object['values'](Ym)['some'](_0x25449c=>this['editor']['plugins']['has'](_0x25449c))?_0xce80b5['bind']('isEnabled')['to'](_0x3ffc13):_0xce80b5['set']({'isEnabled':!0x1}),_0xce80b5['panelView']['children']['add'](_0x4570cf),_0xce80b5);});}['_executeQuickAction'](_0x27ba9a){const _0x5d1fc4=this['editor'];_0x5d1fc4['editing']['view']['focus'](),_0x5d1fc4['commands']['execute']('aiQuickAction',_0x27ba9a);const _0x1c81b1=_0x5d1fc4['ui']['view']['menuBarView'];_0x1c81b1&&_0x1c81b1['close']&&_0x1c81b1['close']();}}class AIQuickActionsCommand extends _0x4d9dc4{['execute'](_0x55f192){switch(this['_expandSelectionIfCollapsed'](),_0x55f192['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x1990dd=Oo(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x3ae0e8('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x1990dd});}this['_handleAIChatAction'](_0x55f192);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x595f52=Oo(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x3ae0e8('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x595f52});}this['_handleAIActionsAction'](_0x55f192);}}async['_handleAIChatAction'](_0x3275c0){const _0x48257=this['editor']['plugins']['get']('AIChatController'),_0x2e0b56=this['editor']['plugins']['get']('AITabs')['view'];if(_0x2e0b56['isVisible']||(_0x2e0b56['isVisible']=!0x0),'chat'!==_0x2e0b56['activeTab']&&_0x2e0b56['activateTab']('chat'),'ask-ai'===_0x3275c0['id'])_0x48257['removeSelectionFromChatContext'](),_0x48257['addSelectionToChatContext'](),_0x48257['focusPromptInput']();else await _0x48257['startConversation']({'modelId':_0x3275c0['model']}),_0x48257['removeSelectionFromChatContext'](),_0x48257['addSelectionToChatContext'](),_0x48257['focusPromptInput'](),await _0x48257['sendMessage']({'message':_0x3275c0['prompt']||_0x3275c0['displayedPrompt']||_0x3275c0['label'],'attributes':{'quickActionData':{'id':_0x3275c0['id']},'displayedPrompt':_0x3275c0['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x1f4e9e=this['editor'],_0x39471b=_0x1f4e9e['model']['document']['selection'];if(!_0x39471b['isCollapsed'])return;const _0x1a07e5=_0x506e56(_0x39471b['getSelectedBlocks']())||_0x1f4e9e['model']['schema']['getLimitElement'](_0x39471b);_0x1f4e9e['model']['change'](_0x5ce21c=>{_0x5ce21c['setSelection'](_0x1a07e5,'in');});}['_handleAIActionsActionLabel'](_0x3cc6af){return _0x3cc6af['parent']?.['label']&&'other'!==_0x3cc6af['parent']?.['id']?_0x3cc6af['parent']['label']+':\x20'+_0x3cc6af['label']:_0x3cc6af['label'];}async['_handleAIActionsAction'](_0x18573f){const _0x2a9410=this['editor']['plugins']['get']('AIActions'),_0xd44e37=_0x18573f['prompt']?{'userMessage':_0x18573f['prompt'],'model':_0x18573f['model']}:{'actionName':_0x18573f['actionName']||_0x18573f['id'],'args':_0x18573f['args']},_0x42807d=this['_handleAIActionsActionLabel'](_0x18573f);await _0x2a9410['executeAction'](_0xd44e37,_0x42807d,_0x18573f['icon']);}}class AIQuickActionsEditing extends _0x7cf71c{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x572a13=this['editor'],_0x58d913=new AIQuickActionsCommand(this['editor']);if(_0x572a13['commands']['add']('aiQuickAction',_0x58d913),_0x572a13['plugins']['has']('AIChat')){const _0x59ed48=this['editor']['plugins']['get']('AIChatController');_0x572a13['model']['document']['selection']['on']('change:range',(_0x1e7879,_0xa7f48e)=>{_0xa7f48e['directChange']&&_0x59ed48['removeSelectionFromChatContext']();});}}}class AIActionsReply extends AIReply{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x22f062=Xd(this['documentContextContent']['children']['map'](_0x58706a=>({'node':_0x58706a,'id':Ya(_0x58706a,'data-id')})),this['parsedMergedContent']['children']['map'](_0x5cb5ac=>({'node':_0x5cb5ac,'id':Ya(_0x5cb5ac,'data-id')||_0x462bc0()})),{'comparator':(_0x169bca,_0x101ca7)=>_0x169bca['id']==_0x101ca7['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x22f062['length']&&_0x22f062[_0x22f062['length']-0x1]['removed'];)_0x22f062['pop']();}const _0x31caf8=_0x22f062['map'](_0x2b26da=>{const _0x4b191a=_0x2b26da['added']?'new':_0x2b26da['removed']?'removed':'modified';return{'node':_0x2b26da['value'][0x0]['node'],'type':_0x4b191a,'id':_0x2b26da['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x31caf8,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x293be9,_0x5e2ece){return _0x5e2ece;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x169def){super(_0x169def),this['content']=_0x169def['content'],this['version']=_0x169def['version'],this['actionName']=_0x169def['actionName'],this['args']=_0x169def['args'],this['userMessage']=_0x169def['userMessage'],this['model']=_0x169def['model'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}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':'text','content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x53322d){const _0x4d148b=new AIActionsReply({'locale':this['locale'],'documentContextContent':this['content'],..._0x53322d});return this['replies']['push'](_0x4d148b),_0x4d148b['delegate'](...rf)['to'](this),this['fire']('replyCreated',_0x4d148b),_0x4d148b;}}class AIActionsBalloonToolbarView extends _0x3e23dd{constructor(_0x26b81c,_0x40c2a1=!0x0,_0x21cd75=!0x0){super(_0x26b81c),this['set']('isEnabled',!0x1),_0x40c2a1&&(this['applyButton']=this['_createButton'](Oo(_0x26b81c,'AI_BALLOON_APPLY_BUTTON'),wo),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x21cd75&&(this['suggestButton']=this['_createButton'](Oo(_0x26b81c,'AI_BALLOON_SUGGEST_BUTTON'),_0x40c2a1?bo:wo),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x40c2a1,'showSuggestButton':_0x21cd75}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x45c0ca,showSuggestButton:_0x48ffde}){this['applyButton']&&(this['applyButton']['isVisible']=_0x45c0ca),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x48ffde);}['_createButton'](_0x39dfa3,_0x4793e6){const _0x5ba28e=new _0x1a631f(this['locale']);return _0x5ba28e['set']({'label':_0x39dfa3,'class':_0x4793e6,'isVisible':!0x0,'withText':!0x0}),_0x5ba28e;}}class AIActionsBalloonDisclaimerView extends _0x278baa{constructor(_0x1cabab){super(_0x1cabab),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':Oo(_0x1cabab,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0x278baa{constructor(_0x4dbae5){super(_0x4dbae5),this['set']('isVisible',!0x0);const _0x46f1d2=new AISpinnerView('small');_0x46f1d2['isVisible']=!0x0;const _0x4b97e6=new _0x278baa(this['locale']);_0x4b97e6['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[Oo(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x2b7116=>!_0x2b7116)]},'children':[_0x46f1d2,_0x4b97e6]});}}class AIActionsBalloonView extends AIBalloonView{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x4495e,_0x2a9eff){super(_0x4495e),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x2a9eff,this['_focusTracker']=new _0x2423e3(),this['_keystrokes']=new _0x247474(),this['_focusables']=this['createCollection'](),this['focusCycler']=new et({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new Et(),this['_addContentWrapper'](_0x2a9eff),this['_addDisclaimerView'](),this['_addToolbar'](_0x2a9eff),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'](_0x2a9eff);});}['render'](){super['render']();for(const _0x324285 of this['_focusables'])this['_focusTracker']['add'](_0x324285['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x2c736a){-0x1===_0x2c736a?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x5571c7){this['_isLoading']=_0x5571c7;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x134ff9){super['showError'](_0x134ff9),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x3a5d34){super['showBlockingError'](_0x3a5d34),this['setErrorState']();}['addMiniToolbarItem'](_0x13aa8b){this['_miniToolbarView']['items']['has'](_0x13aa8b)||this['_miniToolbarView']['items']['add'](_0x13aa8b);}['removeMiniToolbarItem'](_0x10ce7a){this['_miniToolbarView']['items']['has'](_0x10ce7a)&&this['_miniToolbarView']['items']['remove'](_0x10ce7a);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x3362cb,showSuggestButton:_0x55a7d9}){_0x3362cb=_0x3362cb&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x55a7d9=_0x55a7d9&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x3362cb,'showSuggestButton':_0x55a7d9});}async['updateContent'](_0x497b12){await this['_streamableContentView']['update'](_0x497b12);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x5601c5){this['_contentWrapper']=new _0x278baa(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'](_0x5601c5['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x32b8c8,showSuggestButton:_0x24ce2c}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x32b8c8,_0x24ce2c),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',(_0x191392,_0x2df309,_0x54e418)=>!(_0x191392||_0x2df309||_0x54e418)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x32b8c8,'showSuggestButton':_0x24ce2c}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x56f946){return this['_miniToolbarView']=new AIMiniToolbarView(this['locale'],_0x56f946),this['_miniToolbarView']['delegate'](...Of)['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',(_0x4fe657,_0x1e97d0)=>!(_0x4fe657||_0x1e97d0)),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 _0x4fcf07=new _0x1a631f(this['locale']),_0x13886c=new _0x1a631f(this['locale']),_0x5443ba=new AIActionsBalloonNavigationCounterView(this['locale']),_0x52332a=new _0x1a631f(this['locale']);_0x4fcf07['set']({'icon':_0x3e2897,'label':Oo(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+yo}),_0x13886c['set']({'icon':_0x3379a0,'tooltip':Oo(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+yo}),_0x52332a['set']({'icon':_0x38c43f,'tooltip':Oo(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+yo}),_0x4fcf07['bind']('isEnabled')['to'](this,'isBusy',_0x47079c=>!_0x47079c),_0x4fcf07['on']('execute',()=>{this['fire']('tryAgain');}),_0x13886c['bind']('isEnabled')['to'](this,'isBusy',_0x26a06c=>!_0x26a06c),_0x13886c['on']('execute',()=>{this['fire']('showPrevious');}),_0x52332a['bind']('isEnabled')['to'](this,'isBusy',_0x59c651=>!_0x59c651),_0x52332a['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x13886c,this['_navigationCounter']=_0x5443ba,this['_navigationNextButton']=_0x52332a,this['_navigationTryAgainButton']=_0x4fcf07;}['updateMiniToolbarButtons'](_0x50dfc8,_0x18c5c4){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x1540a2=_0x50dfc8>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x1540a2){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x43f9f2=_0x50dfc8-_0x18c5c4;this['_navigationCounter']['setInteractionCount'](_0x43f9f2+'/'+_0x50dfc8),this['_navigationPreviousButton']['isEnabled']=_0x18c5c4<_0x50dfc8-0x1,this['_navigationNextButton']['isEnabled']=_0x18c5c4>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'](_0x1a9f53){this['_isLoading']=_0x1a9f53;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x2a2513=this['_getScrollableElement']();_0x2a2513&&!this['_scrollManager']&&(this['_scrollManager']=new ScrollManager(_0x2a2513));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0x278baa{constructor(_0x201771){super(_0x201771);const _0x4fca4e=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x4fca4e['to']('interactionCount')}]});}['setInteractionCount'](_0x1c15bd){this['set']('interactionCount',_0x1c15bd);}}class AIActions extends _0x7cf71c{static get['requires'](){return[AIConnector,st,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(_0x3f6a67){super(_0x3f6a67),this['_bodyCollection']=new ft(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'](_0x25383d,_0x5e036f,_0x181c9c){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x27ecaa,anchorData:_0x5d7dee,root:_0x11e898}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x25383d,_0x27ecaa,_0x5d7dee,_0x11e898,_0x5e036f,_0x181c9c);}}const {modelFragment:_0x14d1b1,anchorData:_0x4578c9,root:_0x5697df}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x25383d,_0x14d1b1,_0x4578c9,_0x5697df,_0x5e036f,_0x181c9c);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0xd4d1df=this['editor']['plugins']['has']('TrackChanges');let _0x5acf8b=this['editor']['config']['get']('ai.availableReplyActions')||[...Df];_0xd4d1df||(_0x5acf8b=_0x5acf8b['filter'](_0x2e3f25=>'insertSuggestion'!=_0x2e3f25));const _0x169707=this['editor']['commands']['get']('trackChanges'),_0x34743e=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0xd4d1df,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x5acf8b});return _0x34743e['bind']('isBusy')['to'](this),_0x169707&&_0x34743e['bind']('isTrackChangesOn')['to'](_0x169707,'value'),_0x34743e['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x34743e['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x34743e['on']('showNext',()=>{this['_navigateToNext']();}),_0x34743e;}['_getExecuteDataRegular'](){const _0x303776=this['editor']['model']['document']['selection'],_0x49ed85=_0x303776['getFirstRange']()['start']['root'];if(_0x303776['isCollapsed']){const _0x2aa6c6=_0x506e56(_0x303776['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x303776);this['editor']['model']['change'](_0x46e046=>{_0x46e046['setSelection'](_0x2aa6c6,'in');});}const _0x24e8da=_0x303776['getFirstRange'](),_0x3b8a85=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x303776),_0x24e8da['start'],_0x24e8da['end']);this['_copyMarkersToFragment'](_0x3b8a85,_0x303776,{'isTableSelection':!0x1});const _0x3853ee=_0x303776['getFirstRange']()['start'],_0x1c2e2e=new Map();let _0x3f6f93=_0x3b8a85;for(let _0x111347=0x0;_0x111347<_0x3853ee['path']['length'];_0x111347++)_0x1c2e2e['set'](_0x3f6f93,_0x3853ee['path'][_0x111347]),_0x3f6f93=_0x3f6f93['getChild'](0x0);return{'modelFragment':_0x3b8a85,'anchorData':_0x1c2e2e,'root':_0x49ed85};}['_getExecuteDataInTable'](){const _0x527af1=this['editor']['model']['document']['selection'],_0x1a2558=this['editor']['plugins']['get']('TableSelection'),_0x4012a8=_0x527af1['getFirstRange']()['start']['root'],_0x2dfd37=_0x1a2558['getSelectionAsFragment'](),_0x1db88d=_0x527af1['getFirstRange']()['start']['parent']['parent'],_0x192b13=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x1db88d),this['editor']['model']['createPositionAfter'](_0x1db88d)),_0x20a562=this['_wrapWithCommonAncestors'](_0x2dfd37,_0x192b13['start'],_0x192b13['end']);this['_copyMarkersToFragment'](_0x20a562,_0x527af1,{'isTableSelection':!0x0});const _0x5ea8c7=_0x527af1['getFirstRange']()['start'],_0x2c5481=new Map();let _0x1ac5b8=_0x20a562;for(let _0x148382=0x0;_0x148382<_0x5ea8c7['path']['length'];_0x148382++)if(_0x2c5481['set'](_0x1ac5b8,_0x5ea8c7['path'][_0x148382]),_0x148382<_0x5ea8c7['path']['length']-0x1)_0x1ac5b8=_0x1ac5b8['getChild'](0x0);else{let _0x564d20=_0x1ac5b8['nextSibling'];for(;_0x564d20;)_0x2c5481['set'](_0x564d20,_0x5ea8c7['path'][_0x148382]),_0x564d20=_0x564d20['nextSibling'];}return{'modelFragment':_0x20a562,'anchorData':_0x2c5481,'root':_0x4012a8};}async['_executeAction'](_0x3b7710,_0x3186d7,_0x2ab846,_0xafc77f,_0x50cbf6,_0x28ae5a){const _0x5777cd=this['editor']['plugins']['get'](AIEditing),_0x4ababa=this['editor']['plugins']['get'](AIBalloon),_0x162ef4=this['editor']['model']['document']['selection'],_0x480be8=await _0x5777cd['modelToDataWithIds'](_0x3186d7),_0x19c2d8=this['editor']['model']['document']['version'],_0x4da9e9=[..._0x162ef4['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x4ababa['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x50cbf6,'icon':_0x28ae5a||_0x3334db,'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x4da9e9,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x4ababa),this['_interactionParams']={'action':_0x3b7710,'content':_0x480be8,'version':_0x19c2d8,'aiBalloon':_0x4ababa,'modelFragment':_0x3186d7,'anchorData':_0x2ab846,'root':_0xafc77f},this['_setupApplyListeners'](),this['listenTo'](_0x4ababa,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x4ababa,'dialogClosed',(_0xb584d8,{id:_0x183ad9})=>{if('aiActionsBalloon'===_0x183ad9){for(const _0x2c6bd9 of this['_interactions']){if(0x0===_0x2c6bd9['replies']['length']||_0x2c6bd9['stoppedExplicitly'])continue;const _0x518692=_0x2c6bd9['replies'][_0x2c6bd9['replies']['length']-0x1],_0x33a269=_0x518692['changeGroups'][0x0];_0x33a269&&'pending'===_0x33a269['state']&&_0x518692['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x4ababa);}}),this['_createInteraction'](_0x480be8,_0x19c2d8,_0x4ababa,_0x3b7710);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x464c26,anchorData:_0x3d0419,root:_0x1f0cb9}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x464c26,_0x3d0419,_0x1f0cb9,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x464c26,_0x3d0419,_0x1f0cb9,!0x0);});}['_wrapWithCommonAncestors'](_0x1b8296,_0x21e154,_0x369b47){const _0x1760af=this['editor']['model']['createRange'](_0x21e154,_0x369b47)['getCommonAncestor'](),_0x1ca62a=_0x1760af['is']('documentFragment')?[]:_0x1760af['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x1ca62a['length']){const _0x3f4452=_0x1ca62a['map'](_0xcfea52=>_0xcfea52['_clone'](!0x1));for(let _0x10c64d=0x1;_0x10c64d<_0x3f4452['length'];_0x10c64d++)_0x3f4452[_0x10c64d-0x1]['_appendChild'](_0x3f4452[_0x10c64d]);return _0x3f4452[_0x3f4452['length']-0x1]['_appendChild'](_0x1b8296),new _0x3a4ada(_0x3f4452[0x0]);}return _0x1b8296;}['_copyMarkersToFragment'](_0x3e3f01,_0x446aa7,_0x32e64a={'isTableSelection':!0x1}){const _0x42e3e8=this['editor']['model'],_0x5c9210=Array['from'](_0x446aa7['getRanges']()),_0x24cf9d=_0x446aa7['getFirstRange']()['start'];for(const _0x4ba8d0 of _0x42e3e8['markers']){if(_0x4ba8d0['name']['startsWith'](gf)||!_0x4ba8d0['affectsData'])continue;const _0x1dcb11=_0x4ba8d0['getRange']();if(!_0x5c9210['some'](_0x3d2a6d=>_0x3d2a6d['containsRange'](_0x1dcb11,!0x0)))continue;const _0x4f15c5=this['_regularCalculateMarkerPath'](_0x1dcb11['start'],_0x24cf9d,_0x32e64a['isTableSelection']),_0x10de54=this['_regularCalculateMarkerPath'](_0x1dcb11['end'],_0x24cf9d,_0x32e64a['isTableSelection']),_0x47a6cb=_0x42e3e8['createPositionFromPath'](_0x3e3f01,_0x4f15c5),_0x20750a=_0x42e3e8['createPositionFromPath'](_0x3e3f01,_0x10de54);if(!_0x47a6cb['isEqual'](_0x20750a)){const _0x5959ad=_0x42e3e8['createRange'](_0x47a6cb,_0x20750a);_0x3e3f01['markers']['set'](_0x4ba8d0['name'],_0x5959ad);}}}['_regularCalculateMarkerPath'](_0x5d0bdf,_0x5356a5,_0xcebde1=!0x1){const _0x15c033=[..._0x5d0bdf['path']['slice']()];for(let _0x5d997c=0x0;_0x5d997c<Math['max'](_0x5356a5['path']['length'],_0x5d0bdf['path']['length']);_0x5d997c++){const _0x48c270=_0x5356a5['path'][_0x5d997c]||0x0,_0x380aa6=(_0x5d0bdf['path'][_0x5d997c]||0x0)-_0x48c270;if(_0x15c033[_0x5d997c]=_0x380aa6,0x0!==_0x380aa6&&!_0xcebde1)break;}return _0x15c033;}async['_createInteraction'](_0x1ddec3,_0x4264d4,_0x416755,_0xcd14d9){const _0x23b562=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0xcd14d9,'content':_0x1ddec3,'version':_0x4264d4,'aiBalloon':_0x416755,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':this['editor']['model']['document']['selection']['getFirstRange']()['start']['root']});const _0x2f5526=new AIActionsInteraction({'connector':this['_aiConnector'],'locale':_0x23b562['locale'],'content':_0x1ddec3,'version':_0x4264d4,..._0xcd14d9});this['_interactions']['push'](_0x2f5526);const _0x557e60=(_0x58d905,_0x4606d3=!0x1,_0x41aacf='streaming')=>this['_promiseQueue']['enqueue'](async _0x4bf718=>{try{const _0x23000d=Kd({'editor':_0x23b562,'changeGroups':_0x58d905['changeGroups'],'documentContextContent':_0x58d905['documentContextContent'],'showDiff':_0x4606d3,'trimUnchanged':!0x1});_0x23000d['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x23000d[0x0],'renderingStrategy':_0x41aacf,'abortSignal':_0x4bf718});}catch(_0x82f351){if(this['_isAbortError'](_0x82f351))return;throw _0x82f351;}});_0x2f5526['on']('replyCreated',(_0x2c0324,_0x4d7b7c)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x557e60(_0x4d7b7c)['catch'](_0x82386f=>{this['_isAbortError'](_0x82386f)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x82386f),this['_setErrorState'](_0x2f5526));});}),_0x2f5526['on']('replyContentUpdated',(_0x28ada0,_0x1e3ff8)=>{_0x557e60(_0x1e3ff8)['catch'](_0x3631a9=>{this['_isAbortError'](_0x3631a9)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x3631a9),this['_setErrorState'](_0x2f5526));});}),_0x2f5526['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x31d4db){this['_isAbortError'](_0x31d4db)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x31d4db),this['_setErrorState'](_0x2f5526));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x20a315,{showDiff:_0x2ac2dc})=>{try{this['_balloonShowDiff']=_0x2ac2dc;const _0x369b3b=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x369b3b&&await _0x557e60(_0x369b3b,_0x2ac2dc,'static');}catch(_0x33c67b){this['_isAbortError'](_0x33c67b)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x33c67b),this['_setErrorState'](_0x2f5526));}}),_0x2f5526['on']('replyChangeGroupStateUpdated',()=>{const _0x36fb9c={'positiveCount':_0x2f5526['replies']['reduce']((_0x18e662,_0x230bc6)=>_0x18e662+_0x230bc6['changeGroups']['filter'](_0x10e9cf=>'accepted'===_0x10e9cf['state'])['length'],0x0),'totalCount':_0x2f5526['replies']['reduce']((_0x41d88b,_0x7669bc)=>_0x41d88b+_0x7669bc['changeGroups']['length'],0x0)},_0x2a49b5=_0x2f5526['actionCallId'],_0x5e925a=_0x2f5526['actionName'];_0x5e925a?this['_aiConnector']['upsertAIActionRating'](_0x5e925a,_0x2a49b5,_0x36fb9c):this['_aiConnector']['upsertCustomAIActionRating'](_0x2a49b5,_0x36fb9c);}),this['_setLoadingState']();try{const _0x1bcc5b=await _0x2f5526['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x1bcc5b;}catch(_0x47b828){if(this['_isAbortError'](_0x47b828))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x2f5526);}}['_applyChanges'](_0x420e39,_0x3e9e0b,_0x3699b3,_0x236aa0){const _0x492d24=this['editor'];if(_0x236aa0&&!_0x492d24['plugins']['has']('TrackChanges'))throw new _0x3ae0e8('ai-no-track-changes',null);const _0x27f3f1=this['editor']['plugins']['get'](DocumentCompare),_0xe653ea=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0xe653ea||!_0xe653ea['replies']['length'])return;const _0x19d640=_0xe653ea['replies'][_0xe653ea['replies']['length']-0x1],_0x1f95c3=_0x19d640['changeGroups'];_0x19d640['setChangeGroupState'](0x0,'accepted');let _0x280e08=ff({'editor':_0x492d24,'reply':_0x19d640,'interaction':_0xe653ea,'groups':_0x1f95c3,'transform':!0x1,'documentCompare':_0x27f3f1,'documentCompareOptions':{'anchor':_0x492d24['model']['createPositionAt'](_0x420e39,0x0),'markDeletions':_0x236aa0}});_0x280e08=this['_filterOperationsOutsideRange'](_0x280e08,_0x3e9e0b);for(const _0x19bb05 of _0x280e08)this['_anchorOperation'](_0x3e9e0b,_0x19bb05,_0x3699b3);const _0x5e466e=_0xe653ea['getDocumentContext']()['version'],_0x290f4b=_0x492d24['model']['document']['history']['getOperations'](_0x5e466e),_0x145db2={'document':_0x492d24['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x18413f=_0x10917c(_0x280e08,_0x290f4b,_0x145db2)['operationsA'];_0x492d24['model']['change'](_0x366ce2=>{if(_0x366ce2['setSelection'](_0x492d24['model']['document']['selection']['focus']),_0x236aa0)_0x492d24['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x18413f);else{for(const _0x1cac43 of _0x18413f)_0x1cac43['baseVersion']=_0x492d24['model']['document']['version'],mf(_0x492d24,_0x1cac43),_0x366ce2['batch']['addOperation'](_0x1cac43),_0x492d24['model']['applyOperation'](_0x1cac43);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x9c1594,_0x33217e){return _0x9c1594['filter'](_0x491b93=>{if('rename'==_0x491b93['type']){const _0x4a9a1c=_0x491b93['position']['nodeAfter'];return!_0x33217e['has'](_0x4a9a1c);}if(_0x491b93['type']['indexOf']('Attribute')>-0x1){const _0x2a11ab=_0x491b93['range']['start']['nodeAfter'];return!_0x33217e['has'](_0x2a11ab);}return!0x0;});}['_anchorOperation'](_0x533047,_0x6f2da1,_0x579c27){const _0x38879e=_0x6f2da1['clone']();for(const _0x4f8d63 in _0x6f2da1){const _0x49afe4=_0x6f2da1[_0x4f8d63];_0x49afe4 instanceof _0x23c7fa?_0x6f2da1[_0x4f8d63]=new _0x23c7fa(_0x12aec5(_0x49afe4['start']),_0x12aec5(_0x49afe4['end'])):_0x49afe4 instanceof _0x40b13b&&(_0x6f2da1[_0x4f8d63]=_0x12aec5(_0x49afe4));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x38879e['type'])){if(_0x38879e['isDocumentOperation']=!0x1,_0x38879e['baseVersion']=null,'remove'==_0x38879e['type']){const _0x4f61d6=_0x38879e['sourcePosition'],_0x11e117=_0x38879e['howMany'];new _0x2a1d8f(_0x4f61d6,_0x11e117)['_execute']();}else _0x38879e['_execute']();}function _0x12aec5(_0x3f151b){if('$graveyard'==_0x3f151b['root']['rootName'])return _0x3f151b;const _0xdf2061=[];let _0x54a5b2=_0x3f151b['root'];for(let _0x402517=0x0;_0x402517<_0x3f151b['path']['length'];_0x402517++){const _0x52b0f=_0x533047['get'](_0x54a5b2)||0x0;_0xdf2061[_0x402517]=_0x3f151b['path'][_0x402517]+_0x52b0f,_0x54a5b2=_0x54a5b2['getChildAtOffset'](_0x3f151b['path'][_0x402517]);}return new _0x40b13b(_0x579c27,_0xdf2061,_0x3f151b['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x32025f,content:_0x492924,version:_0x1cc70a,aiBalloon:_0x53e8f4}=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'](_0x492924,_0x1cc70a,_0x53e8f4,_0x32025f)['catch'](_0x204643=>{this['_isAbortError'](_0x204643)||console['error']('Error\x20refreshing\x20interaction:',_0x204643);});}['_isAbortError'](_0x496a63){return!!_0x496a63['message']&&_0x496a63['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 _0x3ccd2e=this['_interactions']['length'];this['_currentInteractionIndex']<_0x3ccd2e-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x36506a){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x36506a;const _0x37a0df=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x37a0df)return;if(_0x37a0df['hasError'])return this['_setErrorState'](_0x37a0df),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x37a0df['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x1d0cdc=_0x37a0df['replies'][_0x37a0df['replies']['length']-0x1];if(_0x1d0cdc){const _0x558f49=this['editor'];try{const _0x36282c=Kd({'editor':_0x558f49,'changeGroups':_0x1d0cdc['changeGroups'],'documentContextContent':_0x1d0cdc['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x53eec2=>setTimeout(_0x53eec2,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x36282c[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x2b22f3){this['_isAbortError'](_0x2b22f3)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x2b22f3);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x195774){const _0x16f5e3=Oo(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x16f5e3),_0x195774['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 _0x7cf71c{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x370b2d){super(_0x370b2d),_0x370b2d['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0x278baa{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x4bde16,_0x3d40d1){super(_0x4bde16),this['id']=_0x3d40d1,this['set']('status','pending'),this['set']('changeId',_0x3d40d1),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',(_0x4e55a3,_0x30f660)=>{_0x30f660&&_0x30f660['target']&&'A'===_0x30f660['target']['tagName']&&_0x30f660['preventDefault'](),this['fire']('activateChange',{'id':_0x3d40d1,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x3d40d1,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x3d40d1,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x170827=new _0x278baa(this['locale']);return _0x170827['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',_0x5d0495=>!_0x5d0495)]}}),_0x170827;}['_createAcceptButtonView'](){const _0x3ab2c9=new _0x1a631f(this['locale']);return _0x3ab2c9['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x3ab2c9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1e4c99=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x1e4c99['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x1fce29=>'pending'!==_0x1fce29&&'accepted'!==_0x1fce29),this['bindTemplate']['if']('status',bo,_0x2e9ed7=>'pending'===_0x2e9ed7),this['bindTemplate']['if']('status',yo,_0x1d9db3=>'pending'!==_0x1d9db3),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x2237f6=>'accepted'===_0x2237f6)]}}),this['on']('change:status',(_0x2ec7bd,_0x1723e5,_0x1ca05d)=>{_0x3ab2c9['isEnabled']='pending'===_0x1ca05d,'accepted'===_0x1ca05d&&(_0x3ab2c9['label']=Oo(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x3ab2c9['icon']=_0x28777c);}),_0x3ab2c9;}['_createDismissButtonView'](){const _0x3aa371=new _0x1a631f(this['locale']);return _0x3aa371['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x3aa371['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1fa54a=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x1fa54a['stopPropagation']();})},'attributes':{'class':[yo,this['bindTemplate']['if']('status','ck-hidden',_0x2259af=>'pending'!==_0x2259af&&'rejected'!==_0x2259af),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0xc90d1a=>'pending'===_0xc90d1a),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x417588=>'rejected'===_0x417588)]}}),this['on']('change:status',(_0x1f7ae3,_0x9b37ad,_0x18403f)=>{_0x3aa371['isEnabled']='pending'===_0x18403f,'rejected'===_0x18403f&&(_0x3aa371['label']=Oo(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x3aa371['icon']=_0x592cb9);}),_0x3aa371;}['_createInfoButtonView'](){const _0x5a9b6f=new _0x1a631f(this['locale']);return _0x5a9b6f['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x489b0f,'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':yo+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x5a9b6f['bind']('isOn')['to'](this,'isInfoToggleOn',_0x550f3d=>_0x550f3d),_0x5a9b6f['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x5a9b6f;}['_createOutdatedButtonView'](){const _0x3934ae=new _0x1a631f(this['locale']);return _0x3934ae['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x16b887,'withText':!0x0,'isEnabled':!0x1}),_0x3934ae['extendTemplate']({'attributes':{'class':[yo,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x566fca=>'outdated'!==_0x566fca)],'disabled':'disabled'}}),_0x3934ae;}}class AIReviewCoreBalloonSuggestionItemView extends mt{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x3e310a,_0x4c5e1e){super(_0x3e310a),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']()),_0x4c5e1e['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x218411){this['resultItemView']['changeId']=_0x218411['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x218411['contentDiffed'];}['showBalloon'](_0x493015,_0x4975e6,_0x4bc627,_0x5f5b34,_0x28df93,_0x41f206){const _0x417953=_0x4975e6();if(!_0x417953)return;this['updateContent'](_0x493015),this['show']();const _0x47814c=Array['from'](_0x417953['getClientRects']())['reverse'](),_0x522003=this['_getPointedRectIndexFromEvent'](_0x4bc627,_0x47814c),_0x391793=_0x47814c[_0x522003??0x0];'click'===_0x5f5b34?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x4975e6(),_0x522003,_0x493015['id'],_0x28df93,_0x41f206)||_0x391793})):'hover'===_0x5f5b34&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x4975e6(),_0x522003,_0x493015['id'])||_0x391793}));}['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'](){gt({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x5a4ac0=[this['element']];return this['_pinnedTargetElement']&&_0x5a4ac0['push'](this['_pinnedTargetElement']),_0x5a4ac0;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x5f38bd=new _0x278baa();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x5f38bd['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']]}]}),_0x5f38bd;}['_getBestRectPositionOnClick'](_0x52f2ef,_0x2889b1,_0x168d36,_0x2fe88f,_0x1d4774){if(!_0x52f2ef)return null;const _0x26a73f=this['position']['replace']('arrow_',''),_0x392f83=Array['from'](_0x52f2ef['getClientRects']());let _0xbbd622,_0x14c95f=_0x392f83['reverse']();return void 0x0!==_0x2889b1&&this['_isPinnedRectVisible'](_0x14c95f[_0x2889b1],_0x2fe88f,_0x1d4774)?(_0xbbd622=_0x14c95f[_0x2889b1],this['_pinnedRectIndex']=_0x2889b1):this['_isPinnedRectVisible'](_0x14c95f[0x0],_0x2fe88f,_0x1d4774)&&void 0x0===_0x2889b1?_0xbbd622=_0x14c95f[0x0]:(_0x14c95f='s'==_0x26a73f[0x0]?[..._0x392f83]['reverse']():_0x392f83,_0x14c95f['forEach'](_0x5d580a=>{this['_isPinnedRectVisible'](_0x5d580a,_0x2fe88f,_0x1d4774)&&(_0xbbd622=_0x5d580a);})),this['_pinnedTargetChangeId']=_0x168d36,this['_pinnedTargetElement']=_0x52f2ef,_0xbbd622||_0x52f2ef['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0xf37109,_0x39139b,_0x1f7fcf){if(!_0xf37109)return null;const _0x34b6de=Array['from'](_0xf37109['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x39139b&&this['_pinnedTargetChangeId']!==_0x1f7fcf)return this['_pinnedRectIndex']=_0x39139b,this['_pinnedTargetElement']=_0xf37109,this['_pinnedTargetChangeId']=_0x1f7fcf,_0x34b6de[_0x39139b];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x1f7fcf){if(_0xf37109!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x34b6de[this['_pinnedRectIndex']];}return void 0x0!==_0x39139b&&this['_pinnedTargetChangeId']!==_0x1f7fcf?(this['_pinnedRectIndex']=_0x39139b,this['_pinnedTargetElement']=_0xf37109,this['_pinnedTargetChangeId']=_0x1f7fcf,_0x34b6de[_0x39139b]):_0xf37109['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x1dacd5,_0x46ca11){if(_0x1dacd5)for(let _0x51d625=0x0;_0x51d625<_0x46ca11['length'];_0x51d625++){const _0x5964d6=_0x46ca11[_0x51d625];if(_0x1dacd5['clientX']>=_0x5964d6['left']-0x3&&_0x1dacd5['clientX']<=_0x5964d6['right']+0x3&&_0x1dacd5['clientY']>=_0x5964d6['top']-0x3&&_0x1dacd5['clientY']<=_0x5964d6['bottom']+0x3)return _0x51d625;}}['_isPinnedRectVisible'](_0x108a7a,_0x8532f4,_0x5c2356){const _0x117d11=new _0xbeaf38(_0x108a7a),_0x3cbcb4=_0x8532f4||document['documentElement'],_0x323e9f=_0x117d11['getIntersection'](_0x578e1a(_0x5c2356)),_0x3086fe=new _0xbeaf38(_0x3cbcb4)['getIntersection'](_0x117d11);return!!(_0x323e9f&&_0x3086fe&&_0x117d11['width']>0x0);}}const Km=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class AIReviewCoreUI extends _0x32a432{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[AITabs];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x19cbfa){super(_0x19cbfa),this['_bodyCollection']=new ft(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](...Km)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x35089c=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x35089c);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x53bb5e){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x2da7c0=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x53bb5e,_0x2da7c0);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x1b88aa){_0x1b88aa&&('error-general'!==_0x1b88aa['status']?'error-chunk'!==_0x1b88aa['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x220cb0){this['_mainView']['addCheckRunResult'](_0x220cb0);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x1487a4){this['_mainView']['showGeneralReviewCoreErrorView'](_0x1487a4??Oo(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x55c5e2,_0xd70c38){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x55c5e2,_0xd70c38);}['setActiveStateInResults'](_0x241bc2){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x1b356b=>{_0x1b356b['id']===_0x241bc2&&_0x1b356b['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x1443e9=>_0x1443e9['setItemAsInactive']());}['updateChangeState'](_0x22b51a,_0x421102){'accepted'===_0x421102||'rejected'===_0x421102||'outdated'===_0x421102?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x22b51a,_0x421102):this['_mainView']['reviewCheckResultsView']['showResult'](_0x22b51a,_0x421102);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x9dca41,_0x101e66,_0x359a7c,_0x3b2368,_0x753f20,_0x13d5f9){this['_balloonSuggestionView']['showBalloon'](_0x9dca41,_0x101e66,_0x359a7c,_0x3b2368,_0x753f20,_0x13d5f9);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x1481f2){const _0x13b550=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x54f000=>_0x54f000['id']===_0x1481f2);return _0x13b550?_0x13b550['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class AIReviewCoreGeneralErrorView extends _0x278baa{constructor(_0x40434c){super(_0x40434c),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x36c32e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x36c32e['if']('isVisible','ck-hidden',_0x405bf8=>!_0x405bf8)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x36c32e['to']('errorMessage')}]}]});}}class AIReviewCoreView extends _0x278baa{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x58e492,_0x5b96ff){super(_0x58e492),this['reviewCoreHeader']=_0x5b96ff['header'],this['generalErrorView']=new AIReviewCoreGeneralErrorView(_0x58e492),this['reviewCheckListView']=_0x5b96ff['list'],this['reviewCheckListView']['delegate'](...Km)['to'](this),this['reviewCheckResultsView']=_0x5b96ff['results'],this['reviewCheckResultsView']['delegate'](...Km)['to'](this),this['reviewCompletedView']=_0x5b96ff['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'](_0x37d52f){this['reviewCheckResultsView']['addResult'](_0x37d52f),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'](_0x4322d3){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x4322d3;}['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 _0x1a631f{constructor(_0x285fbf,_0x32519f){super(_0x32519f),this['set']({'label':_0x285fbf,'withText':!0x0,'class':wo}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0x3a2da2{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x382776,_0x217cf4){super(_0x382776),this['_contents']=_0x217cf4,this['_resultViews']=new Et(),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['_resultsBody']=this['_createResultsBodyView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new AIDisclaimerView(_0x382776),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 _0x23e5bc=this['_createCombinedSkeletonLoader'](),_0x149002=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x149002['if']('isLoading','ck-ai_review__check-run_loading',_0x4ef101=>_0x4ef101),_0x149002['if']('isResultReady','ck-ai_review__check-run_ready',_0x35608f=>_0x35608f),_0x149002['if']('isVisible','ck-hidden',_0x344fb0=>!_0x344fb0)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x23e5bc,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x3a2c7d){const _0x148d0f=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x3a2c7d['id']);_0x148d0f['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x148d0f),_0x148d0f['resultResponseView']['element']['innerHTML']=_0x3a2c7d['contentDiffed'];}['hideResult'](_0x42e04d,_0x181542){if('pending'===_0x181542)return;const _0x3d9407=this['_resultViews']['find'](_0x644104=>_0x644104['id']===_0x42e04d);_0x3d9407&&(_0x3d9407['status']=_0x181542,_0x3d9407['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x190adb,_0xcccd6c){if('pending'!==_0xcccd6c)return;const _0x1c9686=this['_resultViews']['find'](_0x4cff18=>_0x4cff18['id']===_0x190adb);_0x1c9686&&(_0x1c9686['status']=_0xcccd6c,_0x1c9686['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x4d464e,_0x3b6385){this['headerTitle']=_0x4d464e,this['headerSubtitle']=_0x3b6385||'';}['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'],Lf['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x12aff4=new _0x278baa(this['locale']),_0xa4917d=[];for(let _0x26ac1b=0x0;_0x26ac1b<0x10;_0x26ac1b++){const _0x36fcaf=this['_createSkeletonLoader']();_0x36fcaf['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xa4917d['push'](_0x36fcaf);}return _0x12aff4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x537bff=>!_0x537bff)]},'children':_0xa4917d}),_0x12aff4;}['_createResultsBodyView'](){const _0x2da04a=new _0x278baa(this['locale']);return _0x2da04a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x292a88=>_0x292a88)]},'children':this['_resultViews']}),_0x2da04a;}['_createErrorView'](){const _0x56fc4c=new _0x278baa(this['locale']),_0x4db969=new _0x1a631f(this['locale']),t=this['locale']['t'];return _0x56fc4c['delegate']('retryReview')['to'](this),_0x4db969['set']({'label':t('Try\x20again'),'withText':!0x0,'class':bo+'\x20ck-ai_review__check-run-error-retry-button'}),_0x4db969['on']('execute',()=>{this['fire']('retryReview');}),_0x56fc4c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1b5d60=>!_0x1b5d60),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3118d3=>'chunk'===_0x3118d3)]},'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',_0x3e1bf0=>'chunk'===_0x3e1bf0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3183d5=>'general'!==_0x3183d5)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x30fd6b=>'chunk'!==_0x30fd6b)]},'children':[{'text':Oo(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x4db969]}),_0x56fc4c;}['_createCancelButtonView'](){const _0x5353e3=new _0x1a631f(this['locale']);return _0x5353e3['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[bo+'\x20ck-ai-button-stop-generating'],'icon':_0x268240}),_0x5353e3['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x44dd7d=>_0x44dd7d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x209d1f=>_0x209d1f)]}}),_0x5353e3['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5353e3;}['_createToggleDiffButtonView'](){const _0x183aa8=new _0x1a631f(this['locale']);_0x183aa8['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x183aa8['bind']('isEnabled')['to'](this,'isError',_0x56b140=>!_0x56b140),_0x183aa8['extendTemplate']({'attributes':{'class':[bo,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xc9ee00=>!_0xc9ee00),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1f91dd=>_0x1f91dd)]}});const _0x1a902c=Oo(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x32b610=Oo(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x183aa8['bind']('isOn')['to'](this,'isToggleDiffOn',_0x34db13=>_0x34db13),_0x183aa8['bind']('icon')['to'](this,'isToggleDiffOn',_0x876a17=>_0x876a17?ti:_0x3049d0),_0x183aa8['bind']('label')['to'](this,'isToggleDiffOn',_0x59063b=>_0x59063b?_0x1a902c:_0x32b610),_0x183aa8['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x183aa8;}['_createAcceptAllButtonView'](){const _0x4bbae2=new _0x1a631f(this['locale']);return _0x4bbae2['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4bbae2['bind']('isEnabled')['to'](this,'isError',_0x5e210d=>!_0x5e210d),_0x4bbae2['extendTemplate']({'attributes':{'class':[wo,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x57f638=>!_0x57f638),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x24fbf2=>_0x24fbf2)]}}),_0x4bbae2['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4bbae2;}['_createExitReviewButtonView'](){const _0x499f1f=new _0x1a631f(this['locale']);return _0x499f1f['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x499f1f['extendTemplate']({'attributes':{'class':[yo,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2db18f=>!_0x2db18f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x390620=>_0x390620)]}}),_0x499f1f['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x499f1f;}['_createResultHeaderView'](){const _0x1f9fea=new _0x278baa(this['locale']),_0x39b8d1=this['_createTitleView']();return _0x1f9fea['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x166533=>_0x166533)]},'children':[_0x39b8d1,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x1f9fea;}['_createTitleView'](){const _0x4adc66=new _0x278baa(this['locale']),_0x384a5e=new AISpinnerView();return _0x384a5e['bind']('isVisible')['to'](this,'isResultReady',_0x5e5565=>!_0x5e5565),_0x4adc66['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x384a5e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x50661c=>_0x50661c)]},'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',_0x1332eb=>!_0x1332eb)]},'children':[{'text':Oo(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x4adc66;}['_createFinishReviewButtonView'](){const _0x5b9ad0=new AIReviewCoreFinishReviewButtonView(Oo(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x5b9ad0['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ba2a0=>!_0x1ba2a0)]}}),_0x5b9ad0['delegate']('finishReview')['to'](this),_0x5b9ad0;}}class AIReviewCoreReviewCompletedView extends _0x3a2da2{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x212d91,_0x5c96b0){super(_0x212d91),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x5c96b0['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x5c96b0['headerText']);const _0x34eb3c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x34eb3c['if']('isVisible','ck-hidden',_0x2f2a07=>!_0x2f2a07)]},'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':_0x5c96b0['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x1a971b){const _0x30194b=new AIReviewCoreFinishReviewButtonView(_0x1a971b,this['locale']);return _0x30194b['delegate']('finishReview')['to'](this),_0x30194b;}['_createResultHeaderView'](_0x534405){const _0x1d1a63=new _0x278baa(this['locale']);return _0x1d1a63['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':_0x534405}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x1d1a63;}}class AIReviewCoreFormDropdownView extends _0x278baa{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x1430f2,_0x15a1d5){super(_0x1430f2),this['_defaultValue']=_0x15a1d5['default']||(_0x15a1d5['data']['length']>0x0?_0x15a1d5['data'][0x0]['id']:''),this['_defaultLabel']=_0x15a1d5['data']['find'](_0x2f3219=>_0x2f3219['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=nt(this['locale']);const _0x5dd7e6=this['_prepareListOptions'](_0x15a1d5['data']);pt(this['_dropdownView'],_0x5dd7e6,{'role':'menu','ariaLabel':_0x15a1d5['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2a27e0=>{_0x2a27e0['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x31975a=>{this['formValue']=_0x31975a['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x31975a['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'](_0x44a023=[]){const _0xe4d747=new _0x307d11();this['resetToDefault']();for(const _0x5a262d of _0x44a023){const _0x359e02=new Ot({'label':_0x5a262d['label'],'withText':!0x0,'role':'menuitemradio','id':_0x5a262d['id'],'model':_0x5a262d});_0x359e02['bind']('isOn')['to'](this,'formValue',_0x26b593=>_0x26b593===_0x359e02['id']);const _0x547256={'type':'button','model':_0x359e02};_0xe4d747['add'](_0x547256);}return _0xe4d747;}}class AIReviewCoreFormManagerView extends _0x3a2da2{['_formItem']=null;constructor(_0x2f690d,_0x854b4b,_0x4cee65){super(_0x2f690d),this['argsKey']=_0x854b4b?.['argsKey'];if('dropdown'===_0x854b4b['formType'])this['_formItem']=new AIReviewCoreFormDropdownView(this['locale'],_0x854b4b);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x35a031=new Rt(this['locale'],{'children':[this['_formItem']],'class':[_0x4cee65?'ck-form__row_with-submit':'']});_0x4cee65&&_0x35a031['children']['add'](_0x4cee65),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x35a031]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends Pt{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x129420){super(_0x129420),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x247474(),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 _0x278baa{['focusTracker']=new _0x2423e3();['keystrokes']=new _0x247474();['focusCycler'];['_focusables']=new Et();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4cd059,_0x59501c,_0x4b11ff=!0x1){super(_0x4cd059),this['_check']=_0x59501c,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x59501c['defaultModel']?_0x59501c['defaultModel']['id']:'',this['_defaultLabel']=_0x59501c['defaultModel']?_0x59501c['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new bt(this['locale'],()=>new AIReviewCorePromptInputView(_0x4cd059)),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 _0x307d11(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x4b11ff),pt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new Rt(this['locale'],{'children':[this['promptInputView']]}),new Rt(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4a9899,_0x4e7b8d)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4e7b8d()):_0x4e7b8d();}),this['focusCycler']=new et({'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'](_0x2f12e5=>{this['_focusables']['add'](_0x2f12e5),this['focusTracker']['add'](_0x2f12e5['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 _0x36e37a of this['_getFormValidators']()){const _0x326b74=_0x36e37a();if(_0x326b74)return this['promptInputView']['errorText']=_0x326b74,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return Oo(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3f843e=new _0x1a631f(this['locale']),t=this['locale']['t'];return _0x3f843e['set']({'label':t('Submit'),'withText':!0x0,'class':wo}),_0x3f843e['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3f843e;}['_createCancelButtonView'](){const _0x1e23e6=new _0x1a631f(this['locale']),t=this['locale']['t'];return _0x1e23e6['set']({'label':t('Cancel'),'withText':!0x0,'class':yo}),_0x1e23e6['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x24969e=>{_0x24969e['stopPropagation']();})}}),_0x1e23e6['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1e23e6;}['_setModelList'](_0x1f9282){this['_modelSelectionDropdownItems']['clear']();const _0x2e7cd1=this['_check']['models'];if(_0x1f9282)this['set']('modelDisplayMode','hidden');else{const _0x80150d=0x1===_0x2e7cd1['length'];this['set']('modelDisplayMode',_0x80150d?'name':'selector');}if(this['resetToDefault'](),_0x2e7cd1?.['length']){0x1===_0x2e7cd1['length']&&this['set']('activeModelName',_0x2e7cd1[0x0]['name']||_0x2e7cd1[0x0]['id']);for(const _0x122302 of _0x2e7cd1){const _0x1c1809=new Ot({'label':_0x122302['name'],'withText':!0x0,'role':'menuitemradio','id':_0x122302['id'],'model':_0x122302});_0x1c1809['bind']('isOn')['to'](this,'modelId',_0x17acf3=>_0x17acf3===_0x122302['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x1c1809,'labelView':new ModelButtonLabelView(this['locale'],_0x122302)});}}}['_createModelSelectionDropdown'](){const _0x5647f9=nt(this['locale']);return _0x5647f9['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x5647f9['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':yo}),_0x5647f9['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2fcc18=>'selector'===_0x2fcc18),this['listenTo'](_0x5647f9,'execute',_0x2f2b40=>{this['modelId']=_0x2f2b40['source']['model']['id'],_0x5647f9['buttonView']['label']=_0x2f2b40['source']['label'];}),_0x5647f9;}['_createModelNameView'](){const _0x338eb0=new ModelNameView(this['locale']);return _0x338eb0['bind']('text')['to'](this,'activeModelName',_0x51e279=>_0x51e279??''),_0x338eb0['bind']('isVisible')['to'](this,'modelDisplayMode',_0x5f3e89=>'name'===_0x5f3e89),_0x338eb0;}['_createActionsFooterView'](){const _0x15cbdd=new _0x278baa(this['locale']);return _0x15cbdd['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']]}]}),_0x15cbdd;}}class ModelNameView extends _0x278baa{constructor(_0x184a02){super(_0x184a02),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x244838=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x244838['if']('isVisible','ck-hidden',_0x4638a4=>!_0x4638a4)]},'children':[{'text':_0x244838['to']('text')}]});}}class ModelButtonLabelView extends tt{constructor(_0x1c56df,_0x20a43a){super();const _0x22c671=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x22c671['to']('style'),'id':_0x22c671['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x22c671['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x20a43a['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0x3a2da2{['_formItemsCollection']=new Et();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x1b6996,_0x50f5f9,_0x575561,_0x3af83f=!0x1){super(_0x1b6996),this['_hideModels']=_0x3af83f,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x50f5f9['isParameterized']);const _0x138f32=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',_0x5daa64=>_0x5daa64),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x549281=>_0x549281)],'style':{'--ck-ai-review-check-list-item-index':_0x575561}},'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':_0x50f5f9['title']}]},_0x138f32]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x50f5f9['description']?[{'text':_0x50f5f9['description']}]:[]}]}]},..._0x50f5f9['isParameterized']?[this['_createParameterizedView'](_0x50f5f9)]:[],...'custom'===_0x50f5f9['id']?[this['_createCustomView'](_0x50f5f9,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x50f5f9['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x50f5f9['id'],'args':_0x50f5f9['useArgs']?_0x50f5f9['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&gt({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x3456aa=>{_0x3456aa['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1731a9=new _0x24ab51();return _0x1731a9['content']=_0x22f6a8,_0x1731a9['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1731a9;}['_createParameterizedView'](_0x3b3cda){const _0x324391=new _0x278baa(),_0xede2d6=this['_createFormView'](_0x3b3cda);return _0x324391['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x212991=>!_0x212991)]},'children':[_0xede2d6]}),_0x324391;}['_createFormView'](_0x112cdc){const _0xd1993=new _0x278baa(),_0x1af17e=Array['isArray'](_0x112cdc['options'])?_0x112cdc['options']:[],_0x2e82e8=new _0x1a631f(this['locale']),t=this['locale']['t'];_0x2e82e8['set']({'label':t('Submit'),'withText':!0x0,'class':wo}),_0x2e82e8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x748f38=>{_0x748f38['stopPropagation']();})}}),_0x2e82e8['on']('execute',()=>{const _0x569a0e=[],_0x1f272e={};this['_formItemsCollection']['forEach'](_0x4bd999=>{_0x569a0e['push'](_0x4bd999['value']),_0x112cdc['useArgs']&&_0x112cdc['options']&&(_0x1f272e[_0x4bd999['argsKey']]=_0x4bd999['value']);}),this['fire']('runReviewCheck',{'id':_0x112cdc['id'],'params':_0x569a0e['length']?_0x569a0e:void 0x0,'args':Object['keys'](_0x1f272e)['length']?_0x1f272e:void 0x0});});const _0x36b243=_0x1af17e['length'];return _0x1af17e['forEach']((_0x51716d,_0x40d5b9)=>{const _0x4cc086=_0x40d5b9===_0x36b243-0x1;this['_formItemsCollection']['add'](new AIReviewCoreFormManagerView(this['locale'],_0x51716d,_0x4cc086?_0x2e82e8:null));}),_0xd1993['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xd1993;}['_createCustomView'](_0x746c04,_0x87dca9=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x746c04,_0x87dca9),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',_0x314473=>!_0x314473)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x5ee8ff,_0x25ada8,_0x1f85c6)=>{_0x1f85c6||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0x3a2da2{['_checkViews'];constructor(_0x524f00){super(_0x524f00),this['_checkViews']=new Et(),this['_setupTemplate']();}['setChecks'](_0x58827c,_0x1634b4=!0x1){this['_checkViews']['clear']();for(const [_0x1e5dad,_0x1ae8de]of _0x58827c['entries']()){const _0x72c1cc=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x1ae8de,_0x1e5dad,_0x1634b4);_0x72c1cc['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x72c1cc);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x44aac2 of this['_checkViews'])_0x44aac2 instanceof AIReviewCoreReviewCommandListItemView&&_0x44aac2['resetToDefault']();}['_setupTemplate'](){const _0x1a2fe3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1a2fe3['if']('isVisible','ck-hidden',_0x4b1044=>!_0x4b1044)]},'children':this['_checkViews']});}}class AIReviewModeUI extends AIReviewCoreUI{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x2d6467=this['context']['plugins']['get']('AITabs'),_0x19c52c=this['context']['locale'],_0x462a4e=new AIHeaderView(_0x19c52c,{'label':Oo(_0x19c52c,'AI_REVIEW_MODE'),'icon':_0x16415e,'class':'ck-ai-header_review','showResizeButton':_0x2d6467['showResizeButton']});return _0x462a4e['delegate']('resizeTabs')['to'](_0x2d6467),_0x462a4e['bind']('isMaximized')['to'](_0x2d6467['view'],'isMaximized',_0x44c42e=>_0x44c42e),new AIReviewCoreView(this['context']['locale'],{'header':_0x462a4e,'list':new AIReviewCoreReviewCheckListView(_0x19c52c),'results':new AIReviewCoreUICheckResultsView(_0x19c52c,{'generalErrorText':Oo(_0x19c52c,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x19c52c,{'headerText':Oo(_0x19c52c,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':Oo(_0x19c52c,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':Oo(_0x19c52c,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x351dff=this['context']['plugins']['get']('AITabs');_0x351dff['view']['on']('activateTab',(_0x3fcbd0,{newTab:_0x1dc4ca,oldTab:_0x491519})=>{'reviewMode'===_0x1dc4ca?this['fire']('getReviewCheckList'):'reviewMode'===_0x491519&&this['fire']('leaveReview');}),_0x351dff['view']['addTab']({'id':'reviewMode','buttonLabel':Oo(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x16415e,'order':0x0,'content':this['_mainView']});}}const Jm='review-',tg=['softBreak'];class AIReviewCoreEditing extends _0x32a432{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'];['_reviewEditingAttachedEditors']=new WeakSet();['_boundEditables']=new WeakMap();constructor(_0x12dfbb){super(_0x12dfbb),this['_domEmitter']=new(_0x1b863a())(),this['_eventEmitter']=new(_0x14630b())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x391d30=_0x55318d=>this['_scheduleAttachReviewEditingToEditor'](_0x55318d);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x519668)return void _0x391d30(this['context']);const _0x2e1a89=this['context'];for(const _0x1faafb of _0x2e1a89['editors'])_0x391d30(_0x1faafb);this['listenTo'](_0x2e1a89['editors'],'add',(_0x20def6,_0x37afd5)=>{_0x391d30(_0x37afd5);}),this['listenTo'](_0x2e1a89['editors'],'remove',(_0x34c81c,_0x54809e)=>{for(const [_0x40f295,_0x151beb]of this['_markers'])_0x151beb['editor']===_0x54809e&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x40f295,'changeId':_0x151beb['groupId']}),this['_markers']['delete'](_0x40f295));});}['_scheduleAttachReviewEditingToEditor'](_0x190a17){const _0x1d01ca=()=>{'destroyed'!==_0x190a17['state']&&_0x190a17['conversion']&&this['_attachReviewEditingToEditor'](_0x190a17);};if('ready'===_0x190a17['state'])return void _0x1d01ca();const _0x643533=()=>{this['stopListening'](_0x190a17,'ready',_0x643533),_0x1d01ca();};this['listenTo'](_0x190a17,'ready',_0x643533);}['_attachReviewEditingToEditor'](_0x539e93){this['_reviewEditingAttachedEditors']['has'](_0x539e93)||(_0x539e93['conversion']['for']('editingDowncast')['markerToElement']({'model':Jm+'insert','view':(_0x2f1fc8,{writer:_0x3f539d})=>{const _0x12a329=this['_markers']['get'](_0x2f1fc8['markerName']),_0xc5beac={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x12a329?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x2f1fc8['markerName']};return _0x3f539d['createUIElement']('span',_0xc5beac,function(_0x59c5f7){const _0x1946b8=this['toDomElement'](_0x59c5f7);return _0x1946b8['innerHTML']=_0x12a329?.['content']?.['asString']||'',_0x1946b8;});}}),_0x539e93['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Jm+'remove-only','view':_0x4eb209=>{const _0x3540a0=this['_markers']['get'](_0x4eb209['markerName']),_0x5328e5=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x3540a0?.['id']||'')&&_0x5328e5['push']('ck-ai_review__change_active'),{'classes':_0x5328e5,'attributes':{'data-marker-id':_0x4eb209['markerName']}};}}),_0x539e93['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Jm+'remove-context','view':_0x3604e5=>{const _0x22f6fe=this['_markers']['get'](_0x3604e5['markerName']),_0x10ea24=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x22f6fe?.['id']||'')&&_0x10ea24['push']('ck-ai_review__change_active'),{'classes':_0x10ea24,'attributes':{'data-marker-id':_0x3604e5['markerName']}};}}),_0x539e93['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Jm+'remove-text','view':_0x5c1390=>{const _0x3345eb=this['_markers']['get'](_0x5c1390['markerName']),_0x9746b6=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x3345eb?.['id']||'')&&_0x9746b6['push']('ck-ai_review__change_active'),{'classes':_0x9746b6,'attributes':{'data-marker-id':_0x5c1390['markerName']}};}}),_0x539e93['conversion']['for']('dataDowncast')['markerToElement']({'model':Jm+'suggestion-context','view':(_0x4a50eb,{writer:_0x5b70af})=>_0x5b70af['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x4a50eb['isOpening']?'start':'end')})}),_0x539e93['conversion']['for']('downcast')['attributeToAttribute']({'model':qd,'view':Wd}),this['_updateMouseMarkerInteractionListeners'](_0x539e93),this['listenTo'](_0x539e93,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x539e93),{'priority':'lowest'}),this['listenTo'](_0x539e93,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x539e93),{'priority':'lowest'}),_0x539e93['model']['document']['registerPostFixer'](_0x1dab97=>this['_validateMarkers'](_0x539e93,_0x1dab97)),_0x539e93['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x539e93)),this['_reviewEditingAttachedEditors']['add'](_0x539e93));}['_updateMouseMarkerInteractionListeners'](_0x69ef6d){let _0x548cc5=this['_boundEditables']['get'](_0x69ef6d);_0x548cc5||(_0x548cc5=new Map(),this['_boundEditables']['set'](_0x69ef6d,_0x548cc5));const _0x7270bf=new Set(_0x69ef6d['ui']['getEditableElementsNames']());for(const _0x1e9a61 of _0x7270bf){if(_0x548cc5['has'](_0x1e9a61))continue;const _0x2cfc21=_0x69ef6d['ui']['getEditableElement'](_0x1e9a61);_0x548cc5['set'](_0x1e9a61,_0x2cfc21),this['_attachMouseMarkerInteractionListeners'](_0x2cfc21);}for(const [_0x324bce,_0x226d65]of _0x548cc5)_0x7270bf['has'](_0x324bce)||(_0x548cc5['delete'](_0x324bce),this['_domEmitter']['stopListening'](_0x226d65));}['_attachMouseMarkerInteractionListeners'](_0x3336c7){this['_domEmitter']['listenTo'](_0x3336c7,'mouseup',(_0x3fa2ce,_0x3524ce)=>{const _0x34ee8c=_0x3524ce['target'],_0x38e076=this['_findMarkerElement'](_0x34ee8c);if(!_0x38e076)return;const _0x3899fd=_0x38e076['getAttribute']('data-marker-id'),_0x54f50a=_0x3899fd['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x3899fd,'changeId':_0x54f50a,'markerElement':()=>this['_findMarkerElementById'](_0x3899fd),'domEvent':_0x3524ce});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x3336c7,'mouseover',(_0x250f8c,_0x2ca9bb)=>{const _0x2be090=_0x2ca9bb['target'],_0x4edc2c=_0x2ca9bb['relatedTarget'];let _0x501cc8=this['_findMarkerElement'](_0x2be090);if(!_0x501cc8&&_0x4edc2c&&(_0x501cc8=this['_findMarkerElement'](_0x4edc2c)),!_0x501cc8)return;const _0x15b346=_0x501cc8['getAttribute']('data-marker-id'),_0x5f25f2=_0x15b346['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x5f25f2,'markerElement':()=>this['_findMarkerElementById'](_0x15b346),'domEvent':_0x2ca9bb});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',jr((_0x2b69b9,_0x4fc529)=>{const _0x31a081=_0x4fc529['target'];if(this['_findMarkerElement'](_0x31a081))return;_0x31a081['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x3b916e=this['context']['plugins']['get']('AIEditing'),_0x1bd78f=hf(this['context']);if(!_0x1bd78f['length'])throw new _0x3ae0e8('ai-get-editor-from-context-no-editor',this);const _0x5f2662=new Set(),_0x38ae5b=[],_0x4e15e6=new Map();for(const _0x4625d5 of _0x1bd78f)for(const _0x282c1f of _0x4625d5['model']['document']['getRoots']()){if('$graveyard'===_0x282c1f['rootName'])continue;const _0xd01b8a=this['_buildDocumentDataSliceForRoot'](_0x4625d5,_0x282c1f,_0x3b916e,_0x5f2662);_0x38ae5b['push'](_0xd01b8a['content']);for(const [_0x510ed0,_0x2626b7]of _0xd01b8a['elements'])_0x4e15e6['set'](_0x510ed0,_0x2626b7);}return{'elements':_0x4e15e6,'content':_0x38ae5b['join']('')};}['_buildDocumentDataSliceForRoot'](_0x1c11c7,_0x2a5973,_0x515c2b,_0x4db43a){const _0x5a7609=_0x1c11c7['model'],_0x454442=new _0x3a4ada();for(const _0x19f528 of _0x2a5973['getChildren']())_0x454442['_appendChild'](_0x19f528['_clone'](!0x0));for(const _0x7411b6 of _0x5a7609['markers']){const _0xd1c3a9=_0x7411b6['getRange']();_0xd1c3a9&&_0xd1c3a9['root']['rootName']===_0x2a5973['rootName']&&_0x454442['markers']['set'](_0x7411b6['name'],this['_changeRangeOwnerDocument'](_0xd1c3a9['clone'](),_0x454442));}const _0x286996=new Map(),_0x39ec80=_0x5a7609['document']['version'],_0x11a4f1=new _0x908d36({'ignoreElementEnd':!0x0,'startPosition':_0x5a7609['createPositionAt'](_0x454442,0x0)});for(const {item:_0x22f9b8}of _0x11a4f1){if(!_0x22f9b8['is']('$textProxy'))continue;const _0x1829dd=_0x22f9b8['parent'];if(!_0x1829dd||!_0x1829dd['is']('element'))continue;const _0x4b68df=this['_upsertDataId'](_0x1829dd,()=>_0x515c2b['_nextDataId'](_0x4db43a));_0x4db43a['add'](_0x4b68df);for(const _0x4ebc56 of _0x1829dd['getChildren']())_0x4ebc56['is']('element')&&(_0x4ebc56['name']&&tg['includes'](_0x4ebc56['name'])||_0x4db43a['add'](this['_upsertDataId'](_0x4ebc56,()=>_0x515c2b['_nextDataId'](_0x4db43a))));let _0x26016f=_0x1829dd;for(;_0x26016f['parent']&&!_0x26016f['parent']['is']('documentFragment');)_0x26016f=_0x26016f['parent'],_0x26016f['hasAttribute'](qd)&&_0x26016f['_removeAttribute'](qd);_0x286996['set'](_0x4b68df,{'editor':_0x1c11c7,'rootName':_0x2a5973['rootName'],'path':_0x1829dd['getPath'](),'documentVersion':_0x39ec80,'getContent':this['_createGetContentUsingDataIdFn'](_0x26016f['_clone'](!0x0),_0x4b68df,_0x1c11c7['data'])}),_0x11a4f1['jumpTo'](_0x5a7609['createPositionAfter'](_0x1829dd));}return{'content':_0x1c11c7['data']['processor']['toData'](_0x1c11c7['data']['toView'](_0x454442)),'elements':_0x286996};}['diffContent'](_0x5c4129,_0x18d02b,_0x3adc28,_0x7f128a=!0x1){const _0x35becc=[],_0x2dca0f=_0x5c4129['data']['parse'](_0x3adc28,'$documentFragment'),_0x5ea949=_0x5c4129['data']['parse'](_0x18d02b,'$documentFragment'),_0x101140=_0x5c4129['model']['createPositionAt'](_0x5ea949,0x0);if(this['_haveSingleTopLevelElement'](_0x2dca0f)){if(!this['_hasSameTopLevelElement'](_0x5ea949,_0x2dca0f))return _0x35becc;}else{const _0x1070fa=_0x5c4129['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x5ea949,_0x1070fa)||!this['_haveOnlyInlineContent'](_0x2dca0f,_0x1070fa))return _0x35becc;}const _0x290f9c=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x18d02b,_0x3adc28,{'targetEditor':_0x5c4129,'anchor':_0x101140,'markDeletions':!0x0})['getOperations']()['filter'](_0x4d3513=>'insert'===_0x4d3513['type']||'marker'===_0x4d3513['type']&&_0x4d3513['name']['startsWith']('$markedRemove')),_0x3d0091=this['_groupAdjacentOperations'](_0x290f9c),_0x342f55=[];if(_0x7f128a){if(_0x3d0091['length']){const _0x3f8e5b=_0x3d0091[0x0]['operations'][0x0],_0x36e150='insert'===_0x3f8e5b['type']?_0x3f8e5b['position']:_0x3f8e5b['newRange']['start'],_0x2659a8=this['_getPositionLimitingRange'](_0x36e150,_0x5c4129,'inside'),_0xf5ac92=_0x2659a8?_0x2dca0f['getChild'](0x0)['getChildren']():_0x2dca0f['getChildren'](),_0x43d666=_0x2659a8||_0x5c4129['model']['createRangeIn'](_0x5ea949),_0x1f11a3=[new _0x19b14a('$markedRemove:synthetic'+_0x462bc0(),null,_0x43d666,_0x5c4129['model']['document']['model']['markers'],!0x0,_0x5c4129['model']['document']['version']+0x1),new _0x45fe9(_0x43d666['end'],_0xf5ac92,_0x5c4129['model']['document']['version']+0x2)];_0x342f55['push']({'operations':_0x1f11a3,'operationsIsolated':_0x1f11a3,'groupOffset':0x0});}}else _0x342f55['push'](..._0x3d0091);let _0x591d9f=0x0;return _0x5c4129['model']['change'](_0x517e7a=>{for(let _0x1ec0a9=0x0;_0x1ec0a9<_0x342f55['length'];_0x1ec0a9++){const _0x1efd60=_0x342f55[_0x1ec0a9],_0x59ab16=_0x517e7a['createDocumentFragment']();for(const _0x2d1b9c of _0x5ea949['getChildren']())_0x517e7a['append'](_0x2d1b9c['_clone'](!0x0),_0x59ab16);for(const _0x3fc494 of _0x1efd60['operationsIsolated'])if('insert'===_0x3fc494['type']){const _0x445dab=_0x3fc494;_0x445dab['baseVersion']=null,_0x445dab['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x445dab,_0x59ab16),_0x517e7a['batch']['addOperation'](_0x3fc494),_0x5c4129['model']['applyOperation'](_0x3fc494);const _0x59315b='suggestion:insertion:id:authorId:'+_0x591d9f++,_0x122d78=_0x5c4129['model']['createRange'](_0x445dab['position'],_0x445dab['position']['getShiftedBy'](_0x445dab['howMany']));_0x59ab16['markers']['set'](_0x59315b,_0x122d78);}else{if('marker'===_0x3fc494['type']&&_0x3fc494['name']['startsWith']('$markedRemove')){const _0x5dfc23=_0x3fc494,_0x3f87c6='suggestion:deletion:id:authorId:'+_0x591d9f++;this['_changeOperationOwnerDocument'](_0x5dfc23,_0x59ab16),_0x59ab16['markers']['set'](_0x3f87c6,_0x5dfc23['newRange']);}}if(_0x7f128a)_0x35becc['push']({..._0x1efd60,'context':this['_createGetContentFn'](_0x5ea949,_0x5c4129['data']),'content':this['_createGetContentFn'](_0x5ea949,_0x5c4129['data'])});else{const _0x5a3898=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x1efd60['operationsIsolated'][0x0]),_0x59ab16),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x1efd60['operationsIsolated'][_0x1efd60['operationsIsolated']['length']-0x1]),_0x59ab16),_0x5c4129);_0x59ab16['markers']['set'](Jm+'suggestion-context',new _0x23c7fa(_0x5a3898['start'],_0x5a3898['end'])),_0x35becc['push']({..._0x1efd60,'context':this['_createGetContextFn'](_0x59ab16,_0x5c4129['data'],{'ellipsisBefore':_0x5a3898['hasContentBefore'],'ellipsisAfter':_0x5a3898['hasContentAfter']}),'content':this['_createGetContentFn'](_0x59ab16,_0x5c4129['data'])});}}}),_0x35becc;}['markChangePositionInEditorContent'](_0x58b6b0,_0x525d6d){if(!_0x58b6b0['length'])return;const _0x4d3426=_0x58b6b0[0x0]['parent']['id'],_0x4486ee=_0x525d6d['elements']['get'](_0x4d3426);if(!_0x4486ee)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x4d3426);const _0x991b61=_0x4486ee['path'],_0x47c820=_0x4486ee['editor'],_0x418d82=_0x47c820['model']['document']['getRoot'](_0x4486ee['rootName']);if(!_0x418d82)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0x4486ee['rootName']);const _0x4ed7e0=_0x47c820['model']['document']['history']['getOperations'](_0x4486ee['documentVersion']),_0x463202=[];for(const _0x5726c5 of _0x58b6b0){const _0x1f53f0=_0x5726c5['operationsIsolated']['map'](_0x24ee80=>this['_translateOperationToEditorContent'](_0x24ee80,_0x991b61,_0x418d82));if(!_0x1f53f0||!_0x1f53f0['length'])continue;const _0x21ef35=_0x1f53f0['every'](_0x340236=>'marker'===_0x340236['type']&&_0x340236['name']['startsWith']('$markedRemove')),_0x391b10={'document':_0x47c820['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4e81aa=_0x10917c(_0x1f53f0,_0x4ed7e0,_0x391b10)['operationsA'];for(const _0x347506 of _0x4e81aa)if('insert'===_0x347506['type']){const _0x45db6c=_0x347506,_0x1f3952=_0x45db6c['nodes'];_0x47c820['model']['change'](_0x43ccd5=>{const _0x3257de=_0x43ccd5['createDocumentFragment']();for(const _0x4b194f of _0x1f3952)_0x43ccd5['append'](_0x4b194f['_clone'](!0x0),_0x3257de);_0x463202['push']({'start':_0x45db6c['position'],'end':_0x45db6c['position'],'type':'insert','groupId':_0x5726c5['id'],'content':{'asString':this['_createGetContentFn'](_0x3257de,_0x47c820['data'])(),'asFragment':_0x3257de}});});}else{if('marker'===_0x347506['type']&&_0x347506['name']['startsWith']('$markedRemove')){const _0xb24988=_0x347506;let _0x1fe2cb='remove-text';if(_0x21ef35){const _0x55ef5a=this['_findAdjacentContextDistance'](_0xb24988['newRange']['start'],'backward',_0x47c820['model']['schema']),_0x1f786c=this['_findAdjacentContextDistance'](_0xb24988['newRange']['end'],'forward',_0x47c820['model']['schema']);if(_0x55ef5a||_0x1f786c){const _0x32ee68=_0xb24988['newRange']['start']['getShiftedBy'](-_0x55ef5a),_0x507150=_0xb24988['newRange']['end']['getShiftedBy'](_0x1f786c);_0x463202['push']({'start':_0x32ee68,'end':_0x507150,'groupId':_0x5726c5['id'],'type':'remove-context'});}else _0x1fe2cb='remove-only';}_0x463202['push']({'start':_0xb24988['newRange']['start'],'end':_0xb24988['newRange']['end'],'groupId':_0x5726c5['id'],'type':_0x1fe2cb});}}}this['_insertMarkers'](_0x463202,_0x47c820);}['clearAllMarkers'](){const _0x37b3d2=new Map();for(const _0x2ecdfd of this['_markers']['keys']()){const _0x3f04c3=this['_markers']['get'](_0x2ecdfd);_0x3f04c3?.['editor']&&(_0x37b3d2['has'](_0x3f04c3['editor'])||_0x37b3d2['set'](_0x3f04c3['editor'],[]),_0x37b3d2['get'](_0x3f04c3['editor'])['push'](_0x2ecdfd));}for(const [_0x1132f5,_0x55a9fd]of _0x37b3d2)_0x1132f5['model']['change'](_0x176509=>{for(const _0xb76d2a of _0x55a9fd)_0x1132f5['model']['markers']['get'](_0xb76d2a)&&_0x176509['removeMarker'](_0xb76d2a);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x19584b of hf(this['context']))_0x19584b['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x2581f4 of hf(this['context']))_0x2581f4['disableReadOnlyMode']('ai-review');}['applyChange'](_0x1a23c4){const _0x25ba09=_0x1a23c4['map'](_0x4d197e=>this['_getMarkersDataForGroup'](_0x4d197e))['flat'](),_0x5a8c14=new Map();for(const _0x362954 of _0x25ba09)_0x5a8c14['has'](_0x362954['editor'])||_0x5a8c14['set'](_0x362954['editor'],[]),_0x5a8c14['get'](_0x362954['editor'])['push'](_0x362954);for(const [_0x4b9bdf,_0x16cd2b]of _0x5a8c14){const _0x370038=_0x4b9bdf['model'];_0x370038['change'](_0x457edc=>{for(const _0x5cb6fa of _0x16cd2b){const _0x593b5f=_0x4b9bdf['model']['markers']['get'](_0x5cb6fa['id']);if(_0x593b5f){if('insert'===_0x5cb6fa['type']){if(!_0x5cb6fa['content'])continue;_0x370038['insertContent'](_0x5cb6fa['content']['asFragment']||null,_0x593b5f['getRange']()['start']);}else'remove-text'!==_0x5cb6fa['type']&&'remove-only'!==_0x5cb6fa['type']||_0x370038['deleteContent'](_0x370038['createSelection'](_0x593b5f['getRange']()));_0x457edc['removeMarker'](_0x5cb6fa['id']),this['_markers']['delete'](_0x5cb6fa['id']);}}});}}['rejectChange'](_0x10b600){const _0x2d26f4=this['_getMarkersDataForGroup'](_0x10b600),_0x30d872=new Map();for(const _0x20eed1 of _0x2d26f4)_0x30d872['has'](_0x20eed1['editor'])||_0x30d872['set'](_0x20eed1['editor'],[]),_0x30d872['get'](_0x20eed1['editor'])['push'](_0x20eed1);for(const [_0x29fd53,_0x19f562]of _0x30d872)_0x29fd53['model']['change'](_0x3b6086=>{for(const _0x521858 of _0x19f562)_0x3b6086['removeMarker'](_0x521858['id']),this['_markers']['delete'](_0x521858['id']);});}['getEditor'](){return df(this['context']);}['getEditors'](){return hf(this['context']);}['getEditorForChange'](_0x578126){const _0x36c357=this['_getMarkersDataForGroup'](_0x578126);return _0x36c357[0x0]?.['editor'];}['getMarkerElementForChange'](_0x169818){const _0x53da3f=Array['from'](this['_markers']['values']())['filter'](_0x42f2b2=>_0x42f2b2['groupId']===_0x169818);if(!_0x53da3f['length'])return null;const _0x24466f=0x1===_0x53da3f['length']?_0x53da3f[0x0]:this['_sortMarkers'](_0x53da3f)[0x0],_0x3a60aa=_0x24466f['editor']['model']['markers']['get'](_0x24466f['id']);if(!_0x3a60aa)return null;return{'modelRange':_0x3a60aa['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x24466f['id'])};}['getContentElementForChange'](_0x5d1a09){const _0x217d7d=Array['from'](this['_markers']['values']())['filter'](_0x5a8487=>_0x5a8487['groupId']===_0x5d1a09);if(!_0x217d7d['length'])return null;const _0x48cb77=0x1===_0x217d7d['length']?_0x217d7d[0x0]:this['_sortMarkers'](_0x217d7d)[0x0],_0x5e71b9=_0x48cb77['editor'],_0x2b1043=_0x5e71b9['model']['markers']['get'](_0x48cb77['id']);if(!_0x2b1043)return null;const _0x3cb25e=_0x2b1043['getRange'](),_0xca50c0=_0x5e71b9['editing']['view']['getDomRoot'](_0x3cb25e['root']['rootName'])||_0x5e71b9['editing']['view']['getDomRoot']();if(!_0xca50c0||!_0x3cb25e)return null;let _0x5e2607=_0x3cb25e['start']['parent'];for(;_0x5e2607['parent']&&'$root'!==_0x5e2607['parent']['name'];)_0x5e2607=_0x5e2607['parent'];if(!_0x5e2607||!_0x5e2607['name'])return null;const _0x1695b9=_0xca50c0['querySelector']('[data-marker-id=\x22'+_0x48cb77['id']+'\x22]');if(!_0x1695b9)return null;let _0x51f982=null;_0x5e71b9['model']['change'](_0x101337=>{_0x51f982=_0x101337['createDocumentFragment'](),_0x101337['append'](_0x5e2607['_clone'](!0x0),_0x51f982);});const _0x335cd3=_0x5e71b9['data']['toView'](_0x51f982)['getChild'](0x0);return _0x1695b9['closest'](_0x335cd3['name']);}['reactivateMarkers'](_0x282b4e){const _0x5ca471=this['_getMarkersDataForGroup'](_0x282b4e);if(!_0x5ca471['length'])return;const _0x34aa7d=Array['from'](this['_activeMarkers'])['sort'](),_0x32052b=Array['from'](new Set(_0x5ca471['map'](_0x23bdd7=>_0x23bdd7['id'])))['sort']();_0x34aa7d['join']('|')!==_0x32052b['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x282b4e));}['setMarkersInElementAsActive'](_0x5e09de){const _0x111d70=this['_getMarkersDataForGroup'](_0x5e09de);if(!_0x111d70['length'])return;const _0x5a03e7=_0x111d70[0x0]['editor'],_0x31f355=new Set(_0x111d70['map'](_0x4d24ff=>_0x4d24ff['id'])),_0x573805=Array['from'](_0x31f355['values']())['map'](_0x2afe83=>_0x5a03e7['model']['markers']['get'](_0x2afe83))['filter'](_0x1fb3fd=>!!_0x1fb3fd);_0x31f355['forEach'](_0x1cba2a=>{this['_activeMarkers']['add'](_0x1cba2a);}),_0x5a03e7['model']['change'](()=>{_0x573805['forEach'](_0x1b8953=>{_0x5a03e7['editing']['reconvertMarker'](_0x1b8953);});});}['setAllMarkersAsInactive'](){const _0x46c235=Array['from'](this['_activeMarkers']);if(!_0x46c235['length'])return;this['_activeMarkers']['clear']();const _0x4c4b96=new Map();for(const _0x42e9f1 of _0x46c235){const _0x382f32=this['_markers']['get'](_0x42e9f1);if(!_0x382f32)continue;const _0x3d406f=_0x382f32['editor'],_0x4aa4fe=_0x3d406f['model']['markers']['get'](_0x42e9f1);_0x4aa4fe&&(_0x4c4b96['has'](_0x3d406f)||_0x4c4b96['set'](_0x3d406f,[]),_0x4c4b96['get'](_0x3d406f)['push'](_0x4aa4fe));}for(const [_0x4603fe,_0x35322b]of _0x4c4b96)_0x4603fe['model']['change'](()=>{_0x35322b['forEach'](_0x5caa54=>{_0x4603fe['editing']['reconvertMarker'](_0x5caa54);});});}['_getPositionLimitingRange'](_0x82108b,_0x13dbe0,_0x4c728c='outside'){if(!_0x82108b)return null;let _0x98cb86=_0x82108b['parent'];for(;_0x98cb86&&_0x98cb86['parent']&&'$root'!==_0x98cb86['parent']['name']&&!_0x13dbe0['model']['schema']['isLimit'](_0x98cb86)&&!_0x13dbe0['model']['schema']['isBlock'](_0x98cb86);)_0x98cb86=_0x98cb86['parent'];if(!_0x98cb86||!_0x98cb86['name']||'$root'===_0x98cb86['name'])return null;let _0x8c4ac0=null;return _0x13dbe0['model']['change'](_0x38ef2c=>{_0x8c4ac0='inside'===_0x4c728c?_0x38ef2c['createRangeIn'](_0x98cb86):_0x38ef2c['createRangeOn'](_0x98cb86);}),_0x8c4ac0;}['_validateMarkers'](_0x36ae27,_0x286bc6){const _0x45510c=Array['from'](this['_markers']['keys']()),_0x435417=new Map();for(const _0x4ab1df of _0x45510c){const _0x2874ed=_0x36ae27['model']['markers']['get'](_0x4ab1df);if(!_0x2874ed)continue;const _0x39078a=_0x2874ed['getStart']()['root']['rootName']+':'+_0x2874ed['getStart']()['path'][0x0];_0x435417['has'](_0x39078a)||_0x435417['set'](_0x39078a,[]),_0x435417['get'](_0x39078a)['push'](_0x2874ed);}const _0x10744=new Set();for(const _0x2dc236 of _0x36ae27['model']['document']['differ']['getChanges']()){let _0x3291f9='',_0x2a127d=null;if('insert'===_0x2dc236['type'])_0x2a127d=new _0x23c7fa(_0x2dc236['position'],_0x2dc236['position']['getShiftedBy'](_0x2dc236['length'])),_0x3291f9=_0x2dc236['position']['root']['rootName']+':'+_0x2dc236['position']['path'][0x0];else{if('remove'!==_0x2dc236['type'])continue;_0x2a127d=new _0x23c7fa(_0x2dc236['position']),_0x3291f9=_0x2dc236['position']['root']['rootName']+':'+_0x2dc236['position']['path'][0x0];}const _0x205d2b=_0x435417['get'](_0x3291f9)||[];if(_0x205d2b['length']){for(const _0x31eb69 of _0x205d2b)if(_0x2a127d['root']['rootName']===_0x31eb69['getRange']()['root']['rootName']&&('insert'!==_0x2dc236['type']||!_0x2a127d['containsRange'](_0x31eb69['getRange']()))&&(_0x2a127d['isIntersecting'](_0x31eb69['getRange']())||_0x2a127d['start']['isTouching'](_0x31eb69['getRange']()['end'])||_0x2a127d['end']['isTouching'](_0x31eb69['getRange']()['start']))){const _0x3d8a55=this['_parseMarkerName'](_0x31eb69['name']);Array['from'](this['_markers']['values']())['filter'](_0x5983bc=>_0x5983bc['groupId']===_0x3d8a55['groupId'])['forEach'](_0x145fbe=>_0x10744['add'](_0x145fbe['id']));}}}if(_0x10744['size']){for(const _0x45f401 of _0x10744)_0x286bc6['removeMarker'](_0x45f401);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x512229){for(const {name:_0x25b5e8,data:_0x54de51}of _0x512229['model']['document']['differ']['getChangedMarkers']()){if(!_0x25b5e8['startsWith'](Jm))continue;const _0x5c82c4=_0x54de51['oldRange'],_0x1c75a0=_0x54de51['newRange'],_0xa424e7=_0x5c82c4&&'$graveyard'===_0x5c82c4['root']['rootName'],_0x53a1cf=_0x1c75a0&&'$graveyard'===_0x1c75a0['root']['rootName'];if(_0xa424e7&&_0x53a1cf)continue;const _0x470255=this['_parseMarkerName'](_0x25b5e8);this['_markers']['get'](_0x25b5e8)&&(_0x53a1cf||!_0x1c75a0?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x25b5e8,'changeId':_0x470255['groupId']}):_0xa424e7&&_0x1c75a0&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x25b5e8,'changeId':_0x470255['groupId']}));}}['_parseMarkerName'](_0x8e2d20){const _0x504b3b=_0x8e2d20['split'](':'),_0x1ef74e=(_0x504b3b[0x1]||'')['split']('_');return{'prefix':_0x504b3b[0x0],'groupId':_0x1ef74e[0x0],'suffix':_0x1ef74e[0x1]};}['_translateOperationToEditorContent'](_0x2baf41,_0x59dfe0,_0x41812a){if('insert'===_0x2baf41['type']){const _0x91bdc7=_0x2baf41;return new _0x45fe9(this['_changePosition'](_0x59dfe0['concat'](_0x91bdc7['position']['offset']),_0x41812a),_0x91bdc7['nodes'],_0x91bdc7['baseVersion']);}if('marker'===_0x2baf41['type']&&_0x2baf41['name']['startsWith']('$markedRemove')){const _0x2c98da=_0x2baf41;return new _0x19b14a(_0x2c98da['name'],_0x2c98da['oldRange'],this['_changeRange'](_0x2c98da['newRange'],_0x59dfe0['concat'](_0x2c98da['newRange']['start']['offset']),_0x59dfe0['concat'](_0x2c98da['newRange']['end']['offset']),_0x41812a),_0x2c98da['_markers'],_0x2c98da['affectsData'],_0x2c98da['baseVersion']);}return _0x2baf41;}['_groupAdjacentOperations'](_0x2d275b){if(!_0x2d275b['length'])return[];const _0x4d5715=[];let _0x52eac4=0x0,_0x1c6e48=0x0,_0x3fef4b=[];for(let _0x11344e=0x0;_0x11344e<=_0x2d275b['length'];_0x11344e++){const _0x127340=_0x2d275b[_0x11344e],_0x3f10a9=_0x2d275b[_0x11344e-0x1];!_0x127340||_0x3f10a9&&!this['_getOperationEnd'](_0x3f10a9)['isTouching'](this['_getOperationStart'](_0x127340))?(_0x4d5715['push']({'operations':_0x3fef4b,'operationsIsolated':_0x3fef4b['map'](_0x46a77f=>this['_shiftOperation'](_0x46a77f['clone'](),-_0x1c6e48)),'groupOffset':_0x52eac4}),_0x3fef4b=_0x127340?[_0x127340]:[],_0x1c6e48+=_0x52eac4,_0x52eac4=0x0):_0x3fef4b['push'](_0x127340),_0x127340&&'insert'===_0x127340['type']&&(_0x52eac4+=_0x127340['howMany']);}return _0x4d5715;}['_findAdjacentContextDistance'](_0x33d318,_0x177743,_0x5a2d52,_0x451e42=0x1){const _0x5d7f2c=new _0x908d36({'startPosition':_0x33d318,'direction':_0x177743});let _0x564d14=0x0;for(let _0x2cd00e=0x0;_0x2cd00e<_0x451e42;_0x2cd00e++){let _0x286d04=0x0,_0x189656=!0x1,_0x31ebd2='forward'===_0x177743?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x443c72}of _0x5d7f2c)if(_0x443c72['is']('$textProxy')){const _0xe0cba4=_0x31ebd2['exec'](_0x443c72['data']);if(_0xe0cba4&&_0xe0cba4['length']){if(_0x286d04+='forward'===_0x177743?_0xe0cba4['index']+_0xe0cba4[0x0]['length']:_0x443c72['data']['length']-_0xe0cba4['index'],_0xe0cba4[0x0]['length']!==_0x443c72['data']['length'])break;_0x189656=!0x0,_0x31ebd2='forward'===_0x177743?/^\w+/:/\w+$/;}else{if(_0x189656)break;_0x286d04+=_0x443c72['offsetSize'];}}else{if(_0x443c72['is']('element')){_0x5a2d52['isInline'](_0x443c72)&&!_0x189656&&(_0x286d04+=0x1);break;}}_0x564d14+=_0x286d04,_0x5d7f2c['jumpTo'](_0x33d318['getShiftedBy']('forward'===_0x177743?_0x564d14:-_0x564d14));}return _0x564d14;}['_getChangeContext'](_0x223c27,_0x2c3b07,_0x35632c){const _0x2133d9=_0x35632c['model']['schema'],_0x175607=this['_findAdjacentContextDistance'](_0x223c27,'backward',_0x2133d9,0x6),_0xa11ff6=this['_findAdjacentContextDistance'](_0x2c3b07,'forward',_0x2133d9,0x6),_0x543739=_0x223c27['getShiftedBy'](-_0x175607),_0x597006=_0x2c3b07['getShiftedBy'](_0xa11ff6);return{'start':_0x543739,'end':_0x597006,'hasContentBefore':!_0x543739['isAtStart'],'hasContentAfter':!_0x597006['isAtEnd']};}['_insertMarkers'](_0x24b0f4,_0x536155){const _0x5884e3=this['context']['plugins']['get']('AIEditing'),_0x5e55bc=new Set();_0x536155['model']['change'](_0x3cc9f5=>{for(const _0x3cf508 of _0x24b0f4){const _0x4e9ac2=''+Jm+_0x3cf508['type']+':'+_0x3cf508['groupId']+'_'+_0x5884e3['_nextDataId'](_0x5e55bc);this['_markers']['set'](_0x4e9ac2,{'id':_0x4e9ac2,'groupId':_0x3cf508['groupId'],'type':_0x3cf508['type'],'content':_0x3cf508['content'],'editor':_0x536155}),_0x3cc9f5['addMarker'](_0x4e9ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3cc9f5['createRange'](_0x3cf508['start'],_0x3cf508['end'])});}});}['_createGetContextFn'](_0x5c3bf6,_0x2ed627,_0xc9a184){let _0x598f9e='';return()=>{if(!_0x598f9e){const _0x56b433=_0x2ed627['toView'](_0x5c3bf6,{'showSuggestionHighlights':!0x0});let _0x6d8689=_0x56b433['getChild'](0x0);if(_0x6d8689['is']('containerElement')||(_0x6d8689=_0x56b433),!_0x6d8689)return'';let _0x31bc49=!0x1;const _0x213688=[];for(const _0x2e1064 of _0x6d8689['getChildren']())_0x2e1064['is']('element','span')&&_0x2e1064['hasClass']('ck-ai_review-marker_context-end')&&(_0x31bc49=!0x1),_0x31bc49&&_0x213688['push'](_0x2e1064),_0x2e1064['is']('element','span')&&_0x2e1064['hasClass']('ck-ai_review-marker_context-start')&&(_0x31bc49=!0x0);_0x6d8689['_removeChildren'](0x0,_0x6d8689['childCount']),_0xc9a184?.['ellipsisBefore']&&_0x6d8689['_appendChild']('…'),_0x6d8689['_appendChild'](_0x213688),_0xc9a184?.['ellipsisAfter']&&_0x6d8689['_appendChild']('…');const _0x4de16c=_0x2ed627['htmlProcessor']['domConverter']['viewToDom'](_0x56b433),_0x5f17af=_0x2ed627['htmlProcessor']['htmlWriter']['getHtml'](_0x4de16c);_0x598f9e=_0x5f17af;}return _0x598f9e;};}['_createGetContentFn'](_0x4d1835,_0x15ce3c){let _0x5d9b9d='';return()=>(_0x5d9b9d||(_0x5d9b9d=_0x15ce3c['stringify'](_0x4d1835,{'showSuggestionHighlights':!0x0})),_0x5d9b9d);}['_createGetContentUsingDataIdFn'](_0x5407b1,_0x1479ee,_0x379301){let _0xa726b3='';return()=>{if(!_0xa726b3){const _0x37c01e=_0x379301['toView'](new _0x3a4ada(_0x5407b1)),_0x52aeb2=_0x379301['htmlProcessor']['domConverter']['viewToDom'](_0x37c01e)['querySelector']('[data-id=\x22'+_0x1479ee+'\x22]');_0xa726b3=_0x52aeb2?.['outerHTML']||'';}return _0xa726b3;};}['_findMarkerElement'](_0x1a4ea9,_0x4bd5d6=0x5){let _0x3c0fb8=_0x1a4ea9,_0x2399fc=null;for(let _0x336567=0x0;_0x336567<_0x4bd5d6&&_0x3c0fb8;_0x336567++){if(!_0x3c0fb8['className']){_0x3c0fb8=_0x3c0fb8['parentElement'];continue;}if(!(''+_0x3c0fb8['className'])['includes']('ck-ai_review-marker_')){_0x3c0fb8=_0x3c0fb8['parentElement'];continue;}if(!_0x3c0fb8['getAttribute']('data-marker-id'))break;_0x2399fc=_0x3c0fb8;break;}return _0x2399fc;}['_findMarkerElementById'](_0x4e1237){const _0x2b431c=this['_markers']['get'](_0x4e1237),_0x171b19=_0x2b431c?.['editor']??df(this['context']),_0x1097fc=_0x171b19['model']['markers']['get'](_0x4e1237);return _0x1097fc?Sd(_0x171b19['editing'],_0x1097fc):null;}['_getMarkersDataForGroup'](_0x1966a6){return Array['from'](this['_markers']['values']())['filter'](_0x1bb1ca=>_0x1bb1ca['groupId']===_0x1966a6);}['_getOperationStart'](_0x2fad84){return'insert'===_0x2fad84['type']?_0x2fad84['position']:_0x2fad84['newRange']['start'];}['_getOperationEnd'](_0x1ad3cb,_0x87ec30=!0x1){return'insert'===_0x1ad3cb['type']?_0x87ec30?_0x1ad3cb['position']:_0x1ad3cb['position']['getShiftedBy'](_0x1ad3cb['howMany']):_0x1ad3cb['newRange']['end'];}['_shiftOperation'](_0x207a06,_0x54d08f){return'insert'===_0x207a06['type']?_0x207a06['position']=_0x207a06['position']['getShiftedBy'](_0x54d08f):'marker'===_0x207a06['type']&&_0x207a06['newRange']&&(_0x207a06['newRange']=new _0x23c7fa(_0x207a06['newRange']['start']['getShiftedBy'](_0x54d08f),_0x207a06['newRange']['end']['getShiftedBy'](_0x54d08f))),_0x207a06;}['_changeOperationOwnerDocument'](_0x10371b,_0x4e6c4d){'insert'===_0x10371b['type']?_0x10371b['position']=this['_changePositionOwnerDocument'](_0x10371b['position'],_0x4e6c4d):'marker'===_0x10371b['type']&&_0x10371b['newRange']&&(_0x10371b['newRange']=this['_changeRangeOwnerDocument'](_0x10371b['newRange'],_0x4e6c4d));}['_changePositionOwnerDocument'](_0x1439c9,_0x468104){return new _0x40b13b(_0x468104,_0x1439c9['path']);}['_changeRangeOwnerDocument'](_0xccd700,_0xfee59d){return new _0x23c7fa(this['_changePositionOwnerDocument'](_0xccd700['start'],_0xfee59d),this['_changePositionOwnerDocument'](_0xccd700['end'],_0xfee59d));}['_changePosition'](_0x496285,_0x508127){return new _0x40b13b(_0x508127,[..._0x496285]);}['_changeRange'](_0x58ee17,_0x5d905a,_0x14db38,_0x3b62e1){return new _0x23c7fa(this['_changePosition'](_0x5d905a,_0x3b62e1),this['_changePosition'](_0x14db38,_0x3b62e1));}['_sortMarkers'](_0x204782){const _0x3b2d6b=_0x212f0b=>{switch(_0x212f0b){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x204782['sort']((_0x5ea9bf,_0x67d0a0)=>_0x3b2d6b(_0x5ea9bf['type'])-_0x3b2d6b(_0x67d0a0['type']));}['_hasSameTopLevelElement'](_0x4f9f87,_0xba15bc){const _0x54c038=_0x4f9f87['getChild'](0x0),_0x4fead0=_0xba15bc['getChild'](0x0);return!(!_0x54c038||!_0x4fead0)&&((!_0x54c038['is']('element')||!_0x4fead0['is']('element')||_0x54c038['name']===_0x4fead0['name'])&&!(_0x54c038['is']('element')&&!_0x4fead0['is']('element')||!_0x54c038['is']('element')&&_0x4fead0['is']('element')));}['_haveSingleTopLevelElement'](_0x400973){return 0x1===_0x400973['childCount'];}['_haveOnlyInlineContent'](_0x353b99,_0x36a7bc){for(const _0x420f09 of _0x353b99['getChildren']())if(_0x420f09['is']('element')&&!_0x36a7bc['isInline'](_0x420f09))return!0x1;return!0x0;}['_upsertDataId'](_0x533d0e,_0x3020f7){let _0x1af2d6=_0x533d0e['getAttribute'](qd);return _0x1af2d6||(_0x1af2d6=_0x3020f7(),_0x533d0e['_setAttribute'](qd,_0x1af2d6)),_0x1af2d6;}}class AIReviewCheckResult extends _0x14630b(){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x1f911b,contentNew:_0x315230,contentInitial:_0x1418e9,documentVersion:_0x4ee0c3}){super(),this['id']=_0x1f911b,this['contentNew']=_0x315230,this['contentInitial']=_0x1418e9,this['documentVersion']=_0x4ee0c3;}}class AIReviewCheckResultChange extends _0x18fa86(){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x5854a6,_0x569e1a,_0x3c7f78){super(),this['id']=_0x5854a6,this['parent']=_0x3c7f78,this['_data']=_0x569e1a,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 _0x18fa86(){['id']=_0x462bc0();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x98ca40,_0x56a3fe,_0x2b8790,_0x542a1f,_0x54a120){super(),this['_sourceCheck']=_0x56a3fe,this['_documentData']=_0x98ca40,this['_aiConnector']=_0x2b8790,this['_reviewParams']=_0x542a1f,this['_reviewArgs']=_0x54a120,this['on']('change:status',(_0x24735a,_0x2160e4,_0x130611)=>{'aborted'==_0x130611&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x130611,'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'](_0x2d42b0=>'pending'===_0x2d42b0['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x597261){this['_documentData']=_0x597261;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x25fbb8=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x25d75c of _0x25fbb8)'unmodified'!==_0x25d75c['data']['operation']&&('error'!==_0x25d75c['data']['operation']?'review-metadata'!==_0x25d75c['event']?this['_addReviewCheckResult'](_0x25d75c['data']['dataId'],_0x25d75c['data']['textDelta']):this['callId']=_0x25d75c['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(_0x3e3dec){this['_currentError']=_0x3e3dec,_0x3e3dec instanceof Error&&_0x3e3dec['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'](_0x4d6135,_0x40b078){const _0x736341=this['_results']['get'](_0x4d6135);if(!_0x736341)return;if(0x0===_0x40b078['length'])return;const _0x118ac4=[];_0x40b078['forEach']((_0x20ef0c,_0x5bb386)=>{const _0x53e8e1=new AIReviewCheckResultChange(_0x736341['id']+'-'+_0x5bb386,_0x20ef0c,_0x736341);_0x53e8e1['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x53e8e1,'status':_0x53e8e1['status']});}),_0x53e8e1['on']('change:isActivated',()=>{_0x53e8e1['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x53e8e1}):this['fire']('reviewCheckResultDeactivated',{'change':_0x53e8e1});}),this['_changes']['push'](_0x53e8e1),_0x118ac4['push'](_0x53e8e1);}),this['fire']('reviewCheckResultReady',{'changes':_0x118ac4,'result':_0x736341,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x104b76){const _0x3f10ac=this['_changes']['find'](_0x545e8=>_0x545e8['id']===_0x104b76);return!(!_0x3f10ac||'pending'!==_0x3f10ac['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x475404=>!0x0===_0x475404['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x2e3ce8=>'pending'===_0x2e3ce8['status']);}['getChangeById'](_0x2772e6){return this['_changes']['find'](_0x38f6cf=>_0x38f6cf['id']===_0x2772e6);}['markAllChangesAsAccepted'](){for(const _0x26180d of this['_changes'])'pending'===_0x26180d['status']&&(_0x26180d['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x8c142a){const _0x547cfe=this['_changes']['find'](_0x22ead8=>_0x22ead8['id']===_0x8c142a);_0x547cfe&&'pending'===_0x547cfe['status']&&(_0x547cfe['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x549b61){const _0x301fae=this['_changes']['find'](_0x5988e9=>_0x5988e9['id']===_0x549b61);_0x301fae&&'pending'===_0x301fae['status']&&(_0x301fae['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x6ae0ab){const _0x250873=this['_changes']['find'](_0x107b34=>_0x107b34['id']===_0x6ae0ab);_0x250873&&'pending'===_0x250873['status']&&(_0x250873['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x469fdf){const _0x53749c=this['_changes']['find'](_0x90b19b=>_0x90b19b['id']===_0x469fdf);_0x53749c&&'outdated'===_0x53749c['status']&&(_0x53749c['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x516f90){this['_changes']['filter'](_0x40543e=>_0x40543e['isActivated']&&_0x40543e['id']!==_0x516f90)['forEach'](_0x176cc2=>{_0x176cc2['isActivated']=!0x1;});const _0x2cdd4c=this['_changes']['find'](_0x1e365a=>_0x1e365a['id']===_0x516f90);_0x2cdd4c&&'pending'===_0x2cdd4c['status']&&(_0x2cdd4c['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x262a06=>_0x262a06['isActivated'])['forEach'](_0x80aff=>{_0x80aff['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x86a733){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x429b41;if(_0x86a733){const _0x3a2438=this['_changes']['find'](_0x17dd82=>_0x17dd82['id']===_0x86a733);if(_0x3a2438&&_0x3a2438['isRated'])return;_0x3a2438&&(_0x429b41=_0x3a2438['parent']['id'],_0x3a2438['isRated']=!0x0);}const _0x6ef7b1={'positiveCount':this['_changes']['filter'](_0x42c5ad=>'accepted'===_0x42c5ad['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x6ef7b1,this['callId'],_0x429b41);}['_addReviewCheckResult'](_0x49cd24,_0x3b55de){const _0x114ad4=this['_documentData']['elements']['get'](_0x49cd24);if(!_0x114ad4)return;const _0x211e13=_0x114ad4['getContent']();if(_0x211e13===_0x3b55de)return;const _0x2d79d5=new AIReviewCheckResult({'id':_0x49cd24,'contentInitial':_0x211e13,'contentNew':_0x3b55de,'documentVersion':_0x114ad4['documentVersion']});this['_results']['set'](_0x2d79d5['id'],_0x2d79d5),this['fire']('reviewCheckResultAdded',{'result':_0x2d79d5,'source':this,'editor':_0x114ad4['editor']});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x2b4ed4=>'pending'===_0x2b4ed4['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0xdf0049=>'pending'===_0xdf0049['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends AIReviewCheckRun{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x1ca966=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x272698=0x0;_0x272698<this['_reviewParams']['length'];_0x272698++){if(!this['_reviewParams'][_0x272698]||!this['_sourceCheck']['options'][_0x272698])continue;const _0x35d945=this['_sourceCheck']['options'][_0x272698],_0x3109e4=_0x35d945['data']?.['find'](_0x4d25d8=>_0x4d25d8['id']===this['_reviewParams'][_0x272698]);_0x3109e4&&_0x1ca966['push'](_0x3109e4['label']);}return _0x1ca966['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x1e755a,_0x1c256b,_0x3be5b3){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x1c256b,_0x1e755a,_0x3be5b3);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x32a432{['_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(_0x438084,_0x623463)=>{const _0x4f17af=this['_aiReviewCheckList']['getCheckById'](_0x623463['id']);if(_0x4f17af){this['_onReviewCheckRun'](_0x623463),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x623463,_0x4f17af),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x1fe059,_0x3bfe71)=>{switch(_0x3bfe71['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x3bfe71);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 _0x3ae0e8('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x3ae0e8('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'!==_0x3bfe71['status']&&'error-chunk'!==_0x3bfe71['status']&&'error-general'!==_0x3bfe71['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x2a79c0,_0x2183de)=>{if(!this['_currentReviewCheckRun'])throw new _0x3ae0e8('ai-review-mode-no-current-check-run',this);const _0x14df0f=this['_diffContent'](_0x2183de['editor'],_0x2183de['result']['contentInitial'],_0x2183de['result']['contentNew']);_0x2183de['source']['addResultChanges'](_0x2183de['result']['id'],_0x14df0f);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x459346,_0x157640)=>{for(const _0x337348 of _0x157640['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x337348);this['_markChangePositionInEditorContent'](_0x157640['changes'],_0x157640['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x662b60,_0x231a5d)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x231a5d['change']['id'],_0x231a5d['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x24040f,_0x5a2552)=>{this['_onReviewCheckResultActivated'](_0x5a2552);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x12a608){_0x12a608 instanceof Error&&_0x12a608['message']['includes']('ai-request-aborted')||(_0x12a608 instanceof _0x3ae0e8?this['_logError'](_0x12a608):this['_logError'](new _0x3ae0e8('ai-review-mode-check-run-failed',this,void 0x0,_0x12a608)));}}else this['_logError'](new _0x3ae0e8('ai-review-mode-source-check-not-found',this,{'checkId':_0x623463['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 _0x2d31f3=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x2d31f3['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x2d31f3['map'](_0x3e4c1d=>_0x3e4c1d['id']));const _0x5b966e=this['_currentReviewCheckRun'];_0x5b966e['markAllChangesAsAccepted'](),_0x5b966e['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x1b76f8,_0x223ec0)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x223ec0['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x223ec0['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x223ec0['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x223ec0['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x27fdf6,_0x3a9444)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x3a9444['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x3a9444['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x3a9444['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x3a9444['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',(_0x3ed7b2,_0x103813)=>{this['_onActivateChange'](_0x103813);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x343b77,_0x3c01d0)=>{this['_onDeactivateChange'](_0x3c01d0);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x14d48d,_0x1c2737)=>{this['_onChangeMarkerClicked'](_0x14d48d,_0x1c2737);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x52ea87,_0x143723)=>{this['_onChangeMarkerHovered'](_0x52ea87,_0x143723);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x1e3224,_0x557802)=>{this['_onChangeMarkerRemoved'](_0x1e3224,_0x557802);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x51332e,_0x30f433)=>{this['_onChangeMarkerRestored'](_0x51332e,_0x30f433);});}['_createReviewCheckRun'](_0x338f5c,_0x2cf157){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2cf157,this['_aiConnector'],_0x338f5c['params'],_0x338f5c['args']);}['_onChangeMarkerRemoved'](_0x3d6beb,_0x449110){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x449110['changeId']);}['_onChangeMarkerRestored'](_0x3a252c,_0x131074){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x131074['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x1c5db4=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x1c5db4&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x2c0d90 of this['_aiReviewCoreEditing']['getEditors']())_0x2c0d90['editing']['view']['change'](_0x5aab33=>{for(const _0x62d489 of _0x2c0d90['editing']['view']['document']['getRoots']())_0x5aab33['removeClass']('ck-ai_review-diff',_0x62d489),_0x5aab33['removeClass']('ck-ai_review-highlights',_0x62d489),_0x5aab33['removeClass']('ck-ai-translate-mode-content',_0x62d489);});}['_getTranslationWithDefault'](_0x4915fd,_0xa95833){const _0x43521d=Oo(this['context']['locale'],_0x4915fd);return _0x43521d===_0x4915fd?_0xa95833:_0x43521d;}['_logError'](_0x273729,_0x26d1a6=!0x1){_0x39bd32(_0x273729['message']),_0x26d1a6||(_0x273729['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x2eee8a){if('content'===this['_changeActivationSource']){const _0x3b105d=this['_aiReviewCoreUi']['getChangeElement'](_0x2eee8a);_0x3b105d&&_0x2228c5(_0x3b105d['closest']('.ck-ai_review__check-run-result')||_0x3b105d);}else{if('panel'===this['_changeActivationSource']){const _0x235e9e=this['_getChangeContentElement'](_0x2eee8a);if(!_0x235e9e)return;_0x32a032({'target':_0x235e9e,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}const eg=[{'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(_0x5d5f04){this['id']=_0x5d5f04['id'],this['commandId']=_0x5d5f04['commandId'],this['title']=_0x5d5f04['title'],this['description']=_0x5d5f04['description'],this['isParameterized']=_0x5d5f04['isParameterized'],this['useArgs']=_0x5d5f04['useArgs'],this['options']=_0x5d5f04['options'],this['args']=_0x5d5f04['args'];}}class AIReviewCheckList extends _0x18fa86(){['_checks']=[];['setupChecks'](_0x3aad84){this['_checks']=_0x3aad84['map'](_0x407346=>new AIReviewCheck(_0x407346));}get['checks'](){return this['_checks'];}['getCheckById'](_0x4f207b){return this['checks']['find'](_0x4a2b7f=>_0x4a2b7f['id']===_0x4f207b);}['removeCheckById'](_0x558e81){this['_checks']=this['_checks']['filter'](_0x36ca59=>_0x36ca59['id']!==_0x558e81);}}class AIReviewCheckCustom extends AIReviewCheck{['_models']=[];['_defaultModel']=null;constructor(_0x585b58,_0x244002,_0x43264e){super(_0x585b58),this['_models']=_0x244002,this['_defaultModel']=_0x43264e;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends AIReviewCheck{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x31131f,_0x228e19,_0x1159dd){super(_0x31131f),this['prompt']=_0x31131f['prompt'],this['model']=_0x31131f['model'],this['model']?this['_defaultModel']=_0x228e19['find'](_0x3574ea=>_0x3574ea['id']===this['model'])||null:this['_defaultModel']=_0x1159dd;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x39772a,_0x44d7f3,_0x499430){super(),this['_allModels']=_0x39772a,this['_recommendedModels']=_0x44d7f3,this['_defaultModel']=_0x499430;}['setupChecks'](_0x4c9405){this['_checks']=_0x4c9405['map'](_0x2f0969=>!0x0===_0x2f0969['isExtra']?new AIReviewCheckExtra(_0x2f0969,this['_allModels'],this['_defaultModel']):'custom'===_0x2f0969['id']?new AIReviewCheckCustom(_0x2f0969,this['_recommendedModels'],this['_defaultModel']):new AIReviewCheck(_0x2f0969));}}class AIReviewCustomCheckRun extends AIReviewCheckRun{['_prompt'];['_model'];constructor(_0x2ff003,_0x5a8f32,_0x1d4ffa,_0x4b8a18,_0x2c5bf2){super(_0x1d4ffa,_0x4b8a18,_0x2c5bf2),this['_prompt']=_0x2ff003,this['_model']=_0x5a8f32;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x3f76ca,_0x306416,_0x380b3b){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x306416,_0x3f76ca,_0x380b3b);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x2feef1){this['_prompt']=_0x2feef1;}set['model'](_0x432fdc){this['_model']=_0x432fdc;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x596c76){super(_0x596c76),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',eg['map'](_0x46d27e=>_0x46d27e['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0xdeccdc,_0x2715f4)=>{this['_isDiffOn']=_0x2715f4['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0xf1bf35,_0x218b6c){return _0xf1bf35['isCustom']?new AIReviewCustomCheckRun(_0xf1bf35['args']['prompt'],_0xf1bf35['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x218b6c,this['_aiConnector']):_0x218b6c['isExtra']?new AIReviewExtraCheckRun(_0x218b6c['prompt'],_0x218b6c['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x218b6c,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x218b6c,this['_aiConnector'],_0xf1bf35['params'],_0xf1bf35['args']);}['_onReviewCheckResultActivated'](_0x55a528){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x55a528['change']['id']),this['_scrollToChange'](_0x55a528['change']['id']);const _0x334b40=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x55a528['change']['id']);if(!_0x334b40)return;const _0x11886d=this['_aiReviewCoreEditing']['getEditorForChange'](_0x55a528['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x55a528['change'],()=>_0x334b40['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x11886d,_0x334b40['modelRange']['root']['rootName']),_0x11886d?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x55a528['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x58082e){this['_currentReviewCheckRun']&&'click'===_0x58082e['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x58082e['id']));}['_onDeactivateChange'](_0x32afe9){this['_currentReviewCheckRun']&&'balloon'===_0x32afe9['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x1c4be9,_0x4a7370){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x4a7370['changeId']);const _0x10af3c=this['_currentReviewCheckRun']['getChangeById'](_0x4a7370['changeId']);if(!_0x10af3c)return;const _0x5ef2cc=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4a7370['changeId']),_0x4016df=this['_aiReviewCoreEditing']['getEditorForChange'](_0x4a7370['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x10af3c,_0x4a7370['markerElement'],_0x4a7370['domEvent'],'click',this['_getBalloonDomRoot'](_0x4016df,_0x5ef2cc?.['modelRange']['root']['rootName']),_0x4016df?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x1116d3,_0xc42cc2){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x303c96=this['_currentReviewCheckRun']['getChangeById'](_0xc42cc2['changeId']);if(!_0x303c96)return;const _0x50cebf=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0xc42cc2['changeId']),_0x57736b=this['_aiReviewCoreEditing']['getEditorForChange'](_0xc42cc2['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x303c96,_0xc42cc2['markerElement'],_0xc42cc2['domEvent'],'hover',this['_getBalloonDomRoot'](_0x57736b,_0x50cebf?.['modelRange']['root']['rootName']),_0x57736b?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x52c219){const _0x423ef9=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x52c219);return _0x423ef9?_0x423ef9['getElement']():null;}['_markChangePositionInEditorContent'](_0x507d76,_0x4e3718){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x507d76,_0x4e3718);}['_diffContent'](_0x1527f0,_0x3f087b,_0x55e7ee){return this['_aiReviewCoreEditing']['diffContent'](_0x1527f0,_0x3f087b,_0x55e7ee,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x4f798c){_0x4f798c?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x122277 of this['_aiReviewCoreEditing']['getEditors']())_0x122277['editing']['view']['change'](_0x535930=>{for(const _0x2da4fe of _0x122277['editing']['view']['document']['getRoots']()){for(const _0x82e84c of _0x2da4fe['getClassNames']())_0x82e84c['startsWith']('ck-ai_review-')&&_0x535930['removeClass'](_0x82e84c,_0x2da4fe);_0x535930['addClass'](_0x4f798c?'ck-ai_review-diff':'ck-ai_review-highlights',_0x2da4fe);}});}['_getBalloonDomRoot'](_0x3e43a3,_0x157717){const _0x341fa2=_0x3e43a3['editing']['view'];if(_0x157717){const _0x1b0bd8=_0x341fa2['getDomRoot'](_0x157717);if(_0x1b0bd8)return _0x1b0bd8;}return _0x341fa2['getDomRoot']()??void 0x0;}async['_getChecksList'](){const _0x33b44d=[...eg,...this['_getExtraChecks']()],_0x53d3b0=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x53d3b0,_0x33b44d);let _0x13774a=_0x33b44d;this['_hasDefaultAvailableCommands']||(_0x13774a=_0x53d3b0['map'](_0x486515=>_0x33b44d['find'](_0x28225c=>_0x28225c['id']===_0x486515))['filter'](_0x275def=>!!_0x275def)),_0x13774a=_0x13774a['map'](_0x33c481=>_0x33c481['isExtra']?_0x33c481:this['_translateReviewCheck'](_0x33c481));const _0x5aa73a=_0x13774a['some'](_0x1e0c89=>_0x1e0c89['isExtra']||'custom'===_0x1e0c89['id']);let _0x4df369=[],_0xa6ad4a=[],_0x33b4e5=null;if(_0x5aa73a){const _0x48e860=await this['_getModels']();_0x4df369=_0x48e860['all'],_0xa6ad4a=_0x48e860['recommended'],_0x33b4e5=_0x48e860['default'];}const _0x2f772d=new AIReviewModeCheckList(_0x4df369,_0xa6ad4a,_0x33b4e5);return _0x2f772d['setupChecks'](_0x13774a),_0x5aa73a&&this['_filterChecksWithMissingModel'](_0x2f772d),_0x2f772d;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x422df8=>({'id':_0x422df8['id'],'commandId':_0x422df8['id'],'title':_0x422df8['label'],'description':_0x422df8['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x422df8['prompt'],'model':_0x422df8['model']}));}['_logErrorForNonExistentChecks'](_0x16ffaa,_0x3b5a5e){const _0x242d88=_0x16ffaa['filter'](_0x49cb05=>!_0x3b5a5e['some'](_0x3139ee=>_0x3139ee['id']===_0x49cb05));_0x242d88['length']&&this['_logError'](new _0x3ae0e8('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x242d88['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x51011e=new AIModels({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x51011e['getAll'](),'recommended':await _0x51011e['getAvailableModels'](),'default':await _0x51011e['getDefault']()};}catch(_0x3e8d9c){return this['_logError'](new _0x3ae0e8('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x3e8d9c)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0xc30377){const _0x51387d='AI_REVIEW_CHECK_'+_0xc30377['id']['toUpperCase']()['replaceAll']('-','_'),_0x22c29b={..._0xc30377,'title':this['_getTranslationWithDefault'](_0x51387d+'_TITLE',_0xc30377['title']),'description':this['_getTranslationWithDefault'](_0x51387d+'_DESCRIPTION',_0xc30377['description'])};return _0xc30377['options']&&(_0x22c29b['options']=_0xc30377['options']['map'](_0x29636f=>({..._0x29636f,'label':this['_getTranslationWithDefault'](_0x51387d+'_OPTIONS_LABEL',_0x29636f['label']||''),'data':_0x29636f['data']?_0x29636f['data']['map'](_0x3e440f=>({..._0x3e440f,'label':this['_getTranslationWithDefault'](_0x51387d+'_OPTIONS_DATA_'+_0x3e440f['id']['toUpperCase'](),_0x3e440f['label'])})):void 0x0}))),_0x22c29b;}['_filterChecksWithMissingModel'](_0x45bc4f){const _0x2d0172=[];_0x45bc4f['checks']['forEach'](_0x5dea92=>{(_0x5dea92 instanceof AIReviewCheckExtra&&!_0x5dea92['defaultModel']||_0x5dea92 instanceof AIReviewCheckCustom&&!_0x5dea92['models']['length'])&&_0x2d0172['push'](_0x5dea92['id']);}),_0x2d0172['length']&&_0x2d0172['forEach'](_0x511121=>{_0x45bc4f['removeCheckById'](_0x511121),this['_logError'](new _0x3ae0e8('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x511121}),!0x0);});}}class AIReviewMode extends _0x32a432{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'](_0x1aa7b1){this['_checks']=_0x1aa7b1['map'](_0x2f2995=>new AITranslateCheck(_0x2f2995));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x4c3dd6,_0x5d7154,_0x55bcff,_0x42282f,_0x43d746,_0x32fb51){super(_0x4c3dd6,_0x5d7154,_0x55bcff,_0x43d746,_0x32fb51),this['_title']=_0x42282f;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x48216f){super(_0x48216f),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'](_0x336d25,_0x7d0b80){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x7d0b80,this['_aiConnector'],Oo(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x336d25['params'],_0x336d25['args']);}['_onReviewCheckResultActivated'](_0x49beb5){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x49beb5['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x49beb5['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x492164){this['_currentReviewCheckRun']&&('hover'===_0x492164['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x492164['id'])),'click'===_0x492164['uiInteraction']&&this['_scrollToChange'](_0x492164['id']));}['_onDeactivateChange'](_0x2232f9){this['_currentReviewCheckRun']&&'panel'===_0x2232f9['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x44d9a1,_0x29f415){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x29f415['changeId']),this['_scrollToChange'](_0x29f415['changeId']));}['_onChangeMarkerHovered'](_0x99fedc,_0x1065d8){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x1065d8['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x1065d8['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x52e4c1){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x52e4c1);}['_markChangePositionInEditorContent'](_0x4dae2c,_0x391d23){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x4dae2c,_0x391d23);}['_diffContent'](_0x27a8be,_0x1c658d,_0x4c7cbf){return this['_aiReviewCoreEditing']['diffContent'](_0x27a8be,_0x1c658d,_0x4c7cbf,!0x0);}['_onReviewCheckRun'](){for(const _0x1daf3d of this['_aiReviewCoreEditing']['getEditors']())_0x1daf3d['editing']['view']['change'](_0x16681f=>{for(const _0x564160 of _0x1daf3d['editing']['view']['document']['getRoots']())_0x16681f['addClass']('ck-ai-translate-mode-content',_0x564160);});}async['_getChecksList'](){const _0x422ef0=[],_0x185013=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x5167c7 of _0x185013)_0x422ef0['push']({'title':_0x5167c7['label'],'id':_0x5167c7['id'],'commandId':_0x5167c7['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x5167c7['id']}});const _0x3beb15=new AITranslateCheckList();return _0x3beb15['setupChecks'](this['_translateChecks'](_0x422ef0)),_0x3beb15;}['_translateChecks'](_0x463dd2){return _0x463dd2['map'](_0x3f2f34=>{const _0x533760='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x3f2f34['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x3f2f34,'title':this['_getTranslationWithDefault'](_0x533760,_0x3f2f34['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x25ced3,_0x18e21e){super(_0x25ced3,_0x18e21e),this['on']('set:isLoading',(_0x1b7cf9,_0x3626b,_0x39fe8d)=>{_0x39fe8d&&(this['headerTitle']=Oo(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x29e437,_0x416a06,_0x80ea44)=>{_0x80ea44&&(this['headerTitle']=Oo(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0xc563d4=super['_createAcceptAllButtonView']();return _0xc563d4['set']('label',Oo(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0xc563d4;}['_createExitReviewButtonView'](){const _0x240aed=super['_createExitReviewButtonView']();return _0x240aed['set']('label',Oo(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x240aed;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x5b9244=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x5b9244['if']('isVisible','ck-hidden',_0x52c80e=>!_0x52c80e)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':Oo(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':Oo(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x5b9244['if']('isVisible','ck-hidden',_0xeeb413=>!_0xeeb413)]},'children':this['_checkViews']}]});}}class AITranslateUI extends AIReviewCoreUI{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x332aa3=this['context']['plugins']['get']('AITabs'),_0x27bc9c=this['context']['locale'],_0x1225e7=new AIHeaderView(_0x27bc9c,{'label':Oo(_0x27bc9c,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x16e83c,'class':'ck-ai-header_review-translate','showResizeButton':_0x332aa3['showResizeButton']});_0x1225e7['delegate']('resizeTabs')['to'](_0x332aa3),_0x1225e7['bind']('isMaximized')['to'](_0x332aa3['view'],'isMaximized',_0x3b1ee=>_0x3b1ee);const _0x3135d9=new AIReviewCoreView(_0x27bc9c,{'header':_0x1225e7,'list':new AITranslateCheckListView(_0x27bc9c),'results':new AITranslateCheckResultsView(_0x27bc9c,{'generalErrorText':Oo(_0x27bc9c,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x27bc9c,{'headerText':Oo(_0x27bc9c,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':Oo(_0x27bc9c,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':Oo(_0x27bc9c,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x3135d9['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x3135d9;}['registerTab'](){const _0x4e4c7f=this['context']['plugins']['get']('AITabs');_0x4e4c7f['view']['on']('activateTab',(_0x1ad350,{newTab:_0x3da784,oldTab:_0x4317df})=>{'translate'===_0x3da784?this['fire']('getReviewCheckList'):'translate'===_0x4317df&&this['fire']('leaveReview');}),_0x4e4c7f['view']['addTab']({'id':'translate','buttonLabel':Oo(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x16e83c,'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x32a432{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 _0x4d9dc4{['_transformCallback'];constructor(_0x1a73f5,_0x5daaea){super(_0x1a73f5),this['_transformCallback']=_0x5daaea;}['execute'](){const _0xf58a44=this['editor']['model'],_0x21341a=Array['from'](this['_getAffectedRanges']()),_0x9c79bb=Array['from'](_0xf58a44['document']['selection']['getRanges']());_0xf58a44['change'](_0x522ed5=>{for(const _0xcd2627 of _0x21341a)this['_modifyContent'](_0xcd2627,_0x522ed5);_0x522ed5['setSelection'](_0x9c79bb);});}['refresh'](){for(const _0xb5fdb4 of this['_getAffectedRanges']())for(const _0x299c22 of _0xb5fdb4)if(_0x299c22['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x118466=this['editor']['model'],_0x40becc=_0x118466['document']['selection'];if(_0x40becc['isCollapsed']){const _0x8f6537=this['_findAncestorTextBlock'](_0x40becc['getFirstPosition']()['parent']);return _0x8f6537?[_0x118466['createRangeIn'](_0x8f6537)]:[];}return _0x40becc['getRanges']();}['_modifyContent'](_0x4da73d,_0x3bc17f){for(const _0x2d7cb9 of this['_getElementsAllowingText'](_0x4da73d)){const _0x4c4c5e=this['_getElementTextContent'](_0x2d7cb9),_0x48fc1f=this['_transformCallback'](_0x4c4c5e);for(const _0x21a58e of this['_getTextNodesRangeLimited'](_0x2d7cb9,_0x4da73d))this['_replaceTextNodeData'](_0x21a58e,_0x48fc1f,_0x3bc17f);}}['_findAncestorTextBlock'](_0x30fa6d){const _0x5462c5=this['editor']['model']['schema'];if(_0x30fa6d['is']('element')&&_0x5462c5['checkChild'](_0x30fa6d,'$text'))return _0x30fa6d;const _0x28b328=_0x30fa6d['parent'];return!_0x28b328||_0x5462c5['isLimit'](_0x30fa6d)?null:this['_findAncestorTextBlock'](_0x28b328);}*['_getElementsAllowingText'](_0x904230){const _0x2b1f7e=new Set();for(const {item:_0x2cd345}of _0x904230['getWalker']()){const _0x41e729=this['_findAncestorTextBlock'](_0x2cd345);_0x41e729&&!_0x2b1f7e['has'](_0x41e729)&&(_0x2b1f7e['add'](_0x41e729),yield _0x41e729);}}['_getElementTextContent'](_0x181369){return Array['from'](_0x181369['getChildren']())['reduce']((_0x4bf8df,_0x1e47b5)=>_0x4bf8df+(_0x1e47b5['is']('$text')?_0x1e47b5['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x3e19c4,_0x61d957){const _0x13358c=_0x61d957['getIntersection'](this['editor']['model']['createRangeIn'](_0x3e19c4));if(_0x13358c){for(const _0xe1180 of _0x13358c['getItems']())_0xe1180['is']('$textProxy')&&_0xe1180['parent']==_0x3e19c4&&(yield _0xe1180);}}['_replaceTextNodeData'](_0xe99df6,_0x68cdec,_0x21ebee){const _0x4c5eda=_0x68cdec['substring'](_0xe99df6['startOffset'],_0xe99df6['endOffset']);if(_0x4c5eda===_0xe99df6['data'])return;const _0x4c199c=_0xe99df6['getAttributes']();this['editor']['model']['insertContent'](_0x21ebee['createText'](_0x4c5eda,_0x4c199c),_0x21ebee['createSelection'](_0x21ebee['createRangeOn'](_0xe99df6)));}}function ig(_0x2eee35,_0xee61b7,..._0x3122cb){const t=_0x2eee35['t'];switch(_0xee61b7){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',..._0x3122cb);default:return _0xee61b7;}}class CaseChangeEditing extends _0x7cf71c{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x579970=this['editor'],_0x305b61=_0x579970['locale']['contentLanguage'],_0x2a9386=function(_0x13fe06=[]){return'function'==typeof _0x13fe06?_0x13fe06:(_0x590a05,{wordIndex:_0x42edc4})=>_0x42edc4>0x0&&_0x13fe06['includes'](_0x590a05);}(_0x579970['config']['get']('caseChange.titleCase.excludeWords')),_0x1b92de={'changeCaseUpper':new CaseChangeCommand(_0x579970,_0x4b2c92=>_0x4b2c92['toLocaleUpperCase'](_0x305b61)),'changeCaseLower':new CaseChangeCommand(_0x579970,_0x3b7d9f=>_0x3b7d9f['toLocaleLowerCase'](_0x305b61)),'changeCaseTitle':new CaseChangeCommand(_0x579970,_0x555788=>function(_0x5e74b4,_0x46fc43,_0x257048){return function(_0x2b2cef,_0x11135b){let _0x3e0b10='',_0x391f86=0x0,_0x3363b6=0x0;for(const _0x55f835 of _0x2b2cef['matchAll'](/ +/g)){const _0x47a792=_0x55f835['index'],_0x3c6ebf=_0x2b2cef['substring'](_0x391f86,_0x47a792);_0x3c6ebf['length']&&(_0x3e0b10+=_0x11135b(_0x3c6ebf,_0x391f86,_0x3363b6++)),_0x3e0b10+=_0x55f835[0x0],_0x391f86=_0x47a792+_0x55f835[0x0]['length'];}const _0x43a0fb=_0x2b2cef['substring'](_0x391f86);return _0x43a0fb['length']&&(_0x3e0b10+=_0x11135b(_0x43a0fb,_0x391f86,_0x3363b6)),_0x3e0b10;}(_0x5e74b4,(_0x4c8c7f,_0x555c27,_0x5556cd)=>{const _0x558b62=_0x4c8c7f['toLocaleLowerCase'](_0x257048);return _0x46fc43(_0x558b62,{'charOffset':_0x555c27,'wordIndex':_0x5556cd,'blockText':_0x5e74b4})?_0x558b62:_0x558b62['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x145f41=>_0x145f41['toLocaleUpperCase'](_0x257048));});}(_0x555788,_0x2a9386,_0x305b61))};for(const [_0x1ad91e,_0x1e3c03]of Object['entries'](_0x1b92de))_0x579970['commands']['add'](_0x1ad91e,_0x1e3c03),_0x1e3c03['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x1ad91e);});this['listenTo'](_0x579970['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x579970['keystrokes']['set']('shift+f3',(_0x2ff09b,_0x37e027)=>{const _0x18198a=sg(this['editor']['locale']),_0x5dcff1=_0x18198a[this['_currentCommandIndex']%_0x18198a['length']]['commandName'];_0x579970['execute'](_0x5dcff1),this['_currentCommandIndex']++,_0x37e027();});}['afterInit'](){!async function(_0x40f143){const _0x245bf3=_0x477474([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]),_0xfb21ed=0x334129cd,_0x1278c3=0x3346a3a5^_0xfb21ed,_0x955b39=window[_0x477474([0x44,0x61,0x74,0x65])][_0x477474([0x6e,0x6f,0x77])](),_0x5580d8=_0x40f143[_0x477474([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a78c2=new window[(_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cf680=>{_0x5580d8[_0x477474([0x6f,0x6e,0x63,0x65])](_0x477474([0x72,0x65,0x61,0x64,0x79]),_0x4cf680);}),_0x4fe0dd={[_0x477474([0x6b,0x74,0x79])]:_0x477474([0x45,0x43]),[_0x477474([0x75,0x73,0x65])]:_0x477474([0x73,0x69,0x67]),[_0x477474([0x63,0x72,0x76])]:_0x477474([0x50,0x2d,0x32,0x35,0x36]),[_0x477474([0x78])]:_0x477474([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]),[_0x477474([0x79])]:_0x477474([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]),[_0x477474([0x61,0x6c,0x67])]:_0x477474([0x45,0x53,0x32,0x35,0x36])},_0x354be2=_0x5580d8[_0x477474([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x477474([0x67,0x65,0x74])](_0x477474([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x346893(){let _0x467336,_0x1b5e5b=null,_0x2d6caa=null;try{if(_0x354be2==_0x477474([0x47,0x50,0x4c]))return _0x477474([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x467336=_0x29d380(),!_0x467336)return _0x477474([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x467336[_0x477474([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d6caa=_0x14e9e0(_0x467336[_0x477474([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x467336[_0x477474([0x6a,0x74,0x69])])),await _0x1b0981()?_0x4fade4()?_0x292280()?_0x477474([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb874cb()?(_0x467336[_0x477474([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x477474([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b5e5b=_0x211914(_0x477474([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36cf4e()):_0x477474([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x477474([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x477474([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x477474([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x292280(){const _0x6cc3e0=[_0x477474([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x477474([0x74,0x72,0x69,0x61,0x6c])][_0x477474([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467336[_0x477474([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x955b39/0x3e8:0xe10*_0x1278c3;return _0x467336[_0x477474([0x65,0x78,0x70])]<_0x6cc3e0;}function _0x4fade4(){const _0x3fc175=_0x467336[_0x477474([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fc175&&(!!_0x3fc175[_0x477474([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477474([0x2a]))||(!!_0x3fc175[_0x477474([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477474([0x43,0x43]))||!!_0x3fc175[_0x477474([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477474([0x50,0x50]))));}function _0xb874cb(){const _0x3ed9b0=_0x467336[_0x477474([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed9b0||0x0==_0x3ed9b0[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bd55f}=new URL(window[_0x477474([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ed9b0[_0x477474([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd55f))return!0x0;const _0x3d49d8=_0x3bd55f[_0x477474([0x73,0x70,0x6c,0x69,0x74])](_0x477474([0x2e]));return _0x3ed9b0[_0x477474([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e92f3=>_0x1e92f3[_0x477474([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477474([0x2a])))[_0x477474([0x6d,0x61,0x70])](_0x28ebfb=>_0x28ebfb[_0x477474([0x73,0x70,0x6c,0x69,0x74])](_0x477474([0x2e])))[_0x477474([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ca6c9=>_0x4ca6c9[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d49d8[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x477474([0x6d,0x61,0x70])](_0x31df19=>Array(_0x3d49d8[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31df19[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x477474([0x66,0x69,0x6c,0x6c])](_0x31df19[0x0]===_0x477474([0x2a])?_0x477474([0x2a]):'')[_0x477474([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31df19))[_0x477474([0x73,0x6f,0x6d,0x65])](_0xd33a4f=>_0x3d49d8[_0x477474([0x65,0x76,0x65,0x72,0x79])]((_0x426483,_0x4795ec)=>_0xd33a4f[_0x4795ec]===_0x426483||_0xd33a4f[_0x4795ec]===_0x477474([0x2a])));}function _0x36cf4e(){return _0x1b5e5b&&_0x2d6caa?new window[(_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x864fad,_0x13c51e)=>{_0x1b5e5b[_0x477474([0x74,0x68,0x65,0x6e])](_0x864fad,_0x13c51e),_0x2d6caa[_0x477474([0x74,0x68,0x65,0x6e])](_0x3ef505=>{_0x3ef505!=_0x477474([0x56,0x61,0x6c,0x69,0x64])&&_0x864fad(_0x3ef505);},_0x13c51e);}):_0x1b5e5b||_0x2d6caa||_0x477474([0x56,0x61,0x6c,0x69,0x64]);}}function _0x14e9e0(_0x4923f6,_0x2f1b36){return new window[(_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xadd5bb=>{if(_0x1f54dd())return _0xadd5bb(_0x477474([0x56,0x61,0x6c,0x69,0x64]));_0x4d1232(),_0x5580d8[_0x477474([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x477474([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xad84f6=!0x1;const _0x19acd9=_0x462bc0();function _0x52a704(_0x30b638){return!!_0x30b638&&(typeof _0x30b638===_0x477474([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30b638===_0x477474([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30b638[_0x477474([0x74,0x68,0x65,0x6e])]===_0x477474([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30b638[_0x477474([0x63,0x61,0x74,0x63,0x68])]===_0x477474([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x376baa(_0xee7ded){_0x24a3a9(_0xee7ded)[_0x477474([0x74,0x68,0x65,0x6e])](_0xfe224=>{if(!_0xfe224||_0xfe224[_0x477474([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x477474([0x6f,0x6b]))return _0x477474([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11ee3a(_0x22946e(_0x19acd9+_0x2f1b36))!=_0xfe224[_0x477474([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x477474([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x477474([0x56,0x61,0x6c,0x69,0x64]);})[_0x477474([0x74,0x68,0x65,0x6e])](_0x3ce91a=>(_0x238c19(),_0x3ce91a),()=>{const _0x529848=_0x4e76c6();return null==_0x529848?(_0x238c19(),_0x477474([0x56,0x61,0x6c,0x69,0x64])):_0x477474(_0x955b39-_0x529848>(0x174dadcd^_0xfb21ed)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x477474([0x74,0x68,0x65,0x6e])](_0xadd5bb)[_0x477474([0x63,0x61,0x74,0x63,0x68])](()=>{_0xadd5bb(_0x477474([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6e4241=0x3377c74d^_0xfb21ed;function _0x238c19(){const _0x4f0816=_0x477474([0x6c,0x6c,0x63,0x74,0x2d])+_0x11ee3a(_0x22946e(_0x4923f6)),_0x1ea105=_0x2bb92c(_0x11ee3a(window[_0x477474([0x4d,0x61,0x74,0x68])][_0x477474([0x63,0x65,0x69,0x6c])](_0x955b39/_0x6e4241)));window[_0x477474([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x477474([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f0816,_0x1ea105);}function _0x4e76c6(){const _0xd9f3b5=_0x477474([0x6c,0x6c,0x63,0x74,0x2d])+_0x11ee3a(_0x22946e(_0x4923f6)),_0x154739=window[_0x477474([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x477474([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd9f3b5);return _0x154739?window[_0x477474([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bb92c(_0x154739),0x10)*_0x6e4241:null;}function _0x24a3a9(_0x52d62e){return new window[(_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x402337,_0x17c54b)=>{_0x52d62e[_0x477474([0x74,0x68,0x65,0x6e])](_0x402337,_0x17c54b),window[_0x477474([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17c54b,0x3340fd0d^_0xfb21ed);});}}_0x5580d8[_0x477474([0x6f,0x6e])](_0x477474([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c6431,_0x3bafba)=>{if(_0x3bafba[0x0]!=_0x4923f6)return _0xadd5bb(_0x477474([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bafba[0x1]={..._0x3bafba[0x1],[_0x477474([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19acd9};},{[_0x477474([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x477474([0x68,0x69,0x67,0x68])}),_0x5580d8[_0x477474([0x6f,0x6e])](_0x477474([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4004bc=>{_0x52a704(_0x4004bc[_0x477474([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xad84f6=!0x0,_0x376baa(_0x4004bc[_0x477474([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x477474([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x477474([0x6c,0x6f,0x77])}),_0x3a78c2[_0x477474([0x74,0x68,0x65,0x6e])](()=>{_0xad84f6||_0xadd5bb(_0x477474([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f54dd(){return _0x5580d8[_0x477474([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x477474([0x76,0x69,0x65,0x77])][_0x477474([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x477474([0x61,0x75,0x74,0x6f]);}function _0x4d1232(){_0x5580d8[_0x477474([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x477474([0x76,0x69,0x65,0x77])][_0x477474([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x477474([0x61,0x75,0x74,0x6f]);}}function _0x211914(_0xc538e){const _0x1978ae=[new window[(_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19b16a=>setTimeout(_0x19b16a,0x33481701^_0xfb21ed)),_0x3a78c2[_0x477474([0x74,0x68,0x65,0x6e])](()=>new window[(_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5138d3=>{let _0x25714c=0x0;_0x5580d8[_0x477474([0x6d,0x6f,0x64,0x65,0x6c])][_0x477474([0x6f,0x6e])](_0x477474([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28f13d,_0x31cccd)=>{_0x31cccd[0x0][_0x477474([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25714c++,_0x25714c==(0x33412c25^_0xfb21ed)&&(_0x5138d3(),_0x28f13d[_0x477474([0x6f,0x66,0x66])]());});}))];return window[_0x477474([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x477474([0x72,0x61,0x63,0x65])](_0x1978ae)[_0x477474([0x74,0x68,0x65,0x6e])](()=>_0xc538e);}async function _0x568e20(){await _0x3a78c2,_0x5580d8[_0x477474([0x6d,0x6f,0x64,0x65,0x6c])][_0x477474([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f4f1b,_0x5580d8[_0x477474([0x6d,0x6f,0x64,0x65,0x6c])][_0x477474([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f4f1b,_0x5580d8[_0x477474([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x477474([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a4eb9(_0x17895f){const _0x457d0b=_0x1cd913();_0x5580d8[_0x457d0b]=_0x477474([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x17895f,_0x17895f!=_0x477474([0x56,0x61,0x6c,0x69,0x64])&&_0x568e20();}function _0x1cd913(){const _0x565875=window[_0x477474([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x477474([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x477474([0x6e,0x6f,0x77])]())[_0x477474([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x477474([0x2e]),'');let _0x985650=_0x477474([0x45]);for(let _0x19d8ff=0x0;_0x19d8ff<_0x565875[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19d8ff+=0x2){let _0x11009b=window[_0x477474([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x565875[_0x477474([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19d8ff,_0x19d8ff+0x2));_0x11009b>=_0x245bf3[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11009b-=_0x245bf3[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x985650+=_0x245bf3[_0x11009b];}return _0x985650;}function _0x29d380(){const _0x48ec8b=_0x354be2[_0x477474([0x73,0x70,0x6c,0x69,0x74])](_0x477474([0x2e]));if(0x3!=_0x48ec8b[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33df65(_0x48ec8b[0x1]);function _0x33df65(_0x351700){const _0x281c8d=_0x234006(_0x351700);return _0x281c8d&&_0x573d31()?_0x281c8d:null;function _0x573d31(){const _0x5ced8b=_0x281c8d[_0x477474([0x6a,0x74,0x69])],_0x30749d=window[_0x477474([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ced8b[_0x477474([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ced8b[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1650bf={..._0x281c8d,[_0x477474([0x6a,0x74,0x69])]:_0x5ced8b[_0x477474([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ced8b[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1650bf[_0x477474([0x76,0x63])],_0x22946e(_0x1650bf)==_0x30749d;}}}async function _0x1b0981(){let _0x47e854=!0x0;try{const _0x13a8d4=_0x354be2[_0x477474([0x73,0x70,0x6c,0x69,0x74])](_0x477474([0x2e])),[_0x1884e9,_0x3fb599,_0x268e24]=_0x13a8d4;return _0x483075(_0x1884e9),await _0x183d8b(_0x1884e9,_0x3fb599,_0x268e24),_0x47e854;}catch{return!0x1;}function _0x483075(_0x4ce4a9){const _0x184499=_0x234006(_0x4ce4a9);_0x184499&&_0x184499[_0x477474([0x61,0x6c,0x67])]==_0x477474([0x45,0x53,0x32,0x35,0x36])||(_0x47e854=!0x1);}async function _0x183d8b(_0x1e8377,_0x2e9e2f,_0x50abe7){const _0xb3e676=window[_0x477474([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x477474([0x66,0x72,0x6f,0x6d])](_0x9fe8ed(_0x50abe7),_0xd95007=>_0xd95007[_0x477474([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x307405=new window[(_0x477474([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x477474([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e8377+_0x477474([0x2e])+_0x2e9e2f),_0x389348=window[_0x477474([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x477474([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x389348)return;const _0x57b26f=await _0x389348[_0x477474([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x477474([0x6a,0x77,0x6b]),_0x4fe0dd,{[_0x477474([0x6e,0x61,0x6d,0x65])]:_0x477474([0x45,0x43,0x44,0x53,0x41]),[_0x477474([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x477474([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x477474([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x389348[_0x477474([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x477474([0x6e,0x61,0x6d,0x65])]:_0x477474([0x45,0x43,0x44,0x53,0x41]),[_0x477474([0x68,0x61,0x73,0x68])]:{[_0x477474([0x6e,0x61,0x6d,0x65])]:_0x477474([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57b26f,_0xb3e676,_0x307405)||(_0x47e854=!0x1);}}function _0x234006(_0xb12d02){return _0xb12d02[_0x477474([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x477474([0x65,0x79]))?JSON[_0x477474([0x70,0x61,0x72,0x73,0x65])](_0x9fe8ed(_0xb12d02)):null;}function _0x9fe8ed(_0xf3483e){return window[_0x477474([0x61,0x74,0x6f,0x62])](_0xf3483e[_0x477474([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x477474([0x2b]))[_0x477474([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x477474([0x2f])));}function _0x22946e(_0x15ee1f){let _0x196e09=0x1505;function _0x215480(_0x529436){for(let _0x21fd86=0x0;_0x21fd86<_0x529436[_0x477474([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21fd86++){const _0x526840=_0x529436[_0x477474([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21fd86);_0x196e09=(_0x196e09<<0x5)+_0x196e09+_0x526840,_0x196e09&=_0x196e09;}}function _0x387c5b(_0x19ffd3){Array[_0x477474([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19ffd3)?_0x19ffd3[_0x477474([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x387c5b):_0x19ffd3&&typeof _0x19ffd3==_0x477474([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x477474([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19ffd3)[_0x477474([0x73,0x6f,0x72,0x74])]()[_0x477474([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21d370,_0x2529cd])=>{_0x215480(_0x21d370),_0x387c5b(_0x2529cd);}):_0x215480(window[_0x477474([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19ffd3));}return _0x387c5b(_0x15ee1f),_0x196e09>>>0x0;}function _0x11ee3a(_0x4a997b){return _0x4a997b[_0x477474([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x477474([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x477474([0x30]));}function _0x2bb92c(_0x37216b){return _0x37216b[_0x477474([0x73,0x70,0x6c,0x69,0x74])]('')[_0x477474([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x477474([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f4f1b(){}function _0x477474(_0x4320e2){return _0x4320e2['map'](_0x346d66=>String['fromCharCode'](_0x346d66))['join']('');}_0x3a4eb9(await _0x346893());}(this);}['_announceCaseChangeOperation'](_0x5b2065){const {ui:_0x1b5614,locale:_0xf7fccf}=this['editor'],_0x3c9af8=sg(_0xf7fccf)['find'](_0x3b1e9b=>_0x3b1e9b['commandName']===_0x5b2065)['label']['toLowerCase']();_0x1b5614['ariaLiveAnnouncer']['announce'](ig(_0xf7fccf,'Changed\x20case\x20to\x20%0',_0x3c9af8));}}function sg(_0x3ddf5e){return[{'label':ig(_0x3ddf5e,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':ig(_0x3ddf5e,'lowercase'),'commandName':'changeCaseLower'},{'label':ig(_0x3ddf5e,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class CaseChangeUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x16baef=this['editor'];this['_registerComponents'](),_0x16baef['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':ig(_0x16baef['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x53070=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x428304;for(const _0x28fe42 in _0x53070){const _0x2d970b=_0x28fe42,_0x4ef99d=_0x53070[_0x2d970b];if('caseChangeLicenseKeyValid'==_0x4ef99d||'caseChangeLicenseKeyInvalid'==_0x4ef99d||'caseChangeLicenseKeyExpired'==_0x4ef99d||'caseChangeLicenseKeyDomainLimit'==_0x4ef99d||'caseChangeLicenseKeyNotAllowed'==_0x4ef99d||'caseChangeLicenseKeyEvaluationLimit'==_0x4ef99d||'caseChangeLicenseKeyUsageLimit'==_0x4ef99d){delete _0x53070[_0x2d970b],_0x428304=_0x4ef99d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x428304&&_0x53070['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x428304&&_0x53070['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x428304&&_0x53070['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x428304&&_0x53070['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x428304&&_0x53070['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x428304&&_0x53070['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x3e69e5=this['editor'],{itemDefinitions:_0x517674,commands:_0x202ee3}=this['_getListItemDefinitionsAndCommands']();_0x3e69e5['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x517674,_0x202ee3)),_0x3e69e5['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x517674,_0x202ee3));}['_createMenuBarMenuView'](_0x318f08,_0x21590a){const _0x494722=this['editor'],_0x267568=_0x494722['locale'],_0x549c7e=new ot(_0x267568),_0x1504e0=new lt(_0x267568);_0x1504e0['set']({'ariaLabel':ig(_0x267568,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x549c7e['buttonView']),_0x549c7e['bind']('isEnabled')['toMany'](_0x21590a,'isEnabled',(..._0x1b3cd3)=>_0x1b3cd3['some'](_0x48833e=>_0x48833e));for(const _0x11ca3d of _0x318f08){const _0x2d1588=new ht(_0x267568,_0x549c7e),_0x4298bc=new at(_0x267568);_0x4298bc['delegate']('execute')['to'](_0x549c7e),_0x4298bc['bind'](...Object['keys'](_0x11ca3d['model']))['to'](_0x11ca3d['model']),_0x4298bc['on']('execute',()=>{_0x494722['execute'](_0x11ca3d['model']['commandName']),_0x494722['editing']['view']['focus']();}),_0x2d1588['children']['add'](_0x4298bc),_0x1504e0['items']['add'](_0x2d1588);}return _0x549c7e['panelView']['children']['add'](_0x1504e0),_0x549c7e;}['_createDropdownView'](_0x4165b1,_0x59c56b){const _0xa7ea83=this['editor'],_0x38e299=nt(_0xa7ea83['locale']);return this['_setButtonProperties'](_0x38e299['buttonView']),_0x38e299['buttonView']['set']({'tooltip':!0x0}),_0x38e299['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),pt(_0x38e299,_0x4165b1,{'ariaLabel':ig(_0xa7ea83['locale'],'Case\x20change'),'role':'menu'}),_0x38e299['bind']('isEnabled')['toMany'](_0x59c56b,'isEnabled',(..._0x14a077)=>_0x14a077['some'](_0x1b18f8=>_0x1b18f8)),this['listenTo'](_0x38e299,'execute',_0x2fd3e0=>{_0xa7ea83['execute'](_0x2fd3e0['source']['commandName']),_0xa7ea83['editing']['view']['focus']();}),_0x38e299;}['_setButtonProperties'](_0x1ff7c5){const _0x39809f=this['editor'];_0x1ff7c5['set']({'label':ig(_0x39809f['locale'],'Case\x20change'),'icon':_0x5a3699,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x534b2c=new _0x307d11(),_0x4ebc8=[];for(const _0x3afa82 of sg(this['editor']['locale'])){const _0x55343d=this['editor']['commands']['get'](_0x3afa82['commandName']),_0x4a9301=new Ot({'commandName':_0x3afa82['commandName'],'label':_0x3afa82['label'],'role':'menuitemradio','withText':!0x0});_0x4a9301['bind']('isEnabled')['to'](_0x55343d,'isEnabled'),_0x534b2c['add']({'type':'button','model':_0x4a9301}),_0x4ebc8['push'](_0x55343d);}return{'itemDefinitions':_0x534b2c,'commands':_0x4ebc8};}}class CaseChange extends _0x7cf71c{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 */
_0x18fa86(){['model'];['view'];constructor(_0x2c3aed,_0x29d351){super(),this['model']=_0x2c3aed,this['model']['_isAttached']=!0x0,this['view']=_0x29d351,this['listenTo'](_0x29d351,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x29d351,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x29d351,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x29d351,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x29d351,'addComment',(_0x3462cb,_0x1eecc5)=>this['addComment'](_0x1eecc5)),this['listenTo'](_0x29d351,'updateComment',(_0x1be94e,_0x4292c4,_0x546c5d)=>this['updateComment'](_0x4292c4,_0x546c5d)),this['listenTo'](_0x29d351,'removeComment',(_0x52cd9c,_0x4c83e5)=>this['removeComment'](_0x4c83e5));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x4e51d7){this['model']['addComment']({'content':_0x4e51d7,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x11042b,_0x500ff4){this['model']['getComment'](_0x11042b)['update']({'content':_0x500ff4});}['removeComment'](_0x1f84f2){this['model']['getComment'](_0x1f84f2)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function ng(_0x3c8e32,_0x4d5f50,_0x131f60){const t=_0x3c8e32['t'];switch(_0x4d5f50){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'},_0x131f60);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'},_0x131f60);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'},_0x131f60);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'},_0x131f60);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x131f60);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'},_0x131f60);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'},_0x131f60);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'},_0x131f60);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 Mt{['main'];['editable'];constructor(_0x5e53aa,_0x5f0d39){super(_0x5e53aa);const _0x2c5d65=_0x462bc0();this['main']=this['createCollection'](),this['editable']=new Nt(_0x5e53aa,_0x5f0d39,void 0x0,{'label':()=>ng(_0x5e53aa,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x5e53aa['uiLanguageDirection'],'lang':_0x5e53aa['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x2c5d65},'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 Lt{['view'];constructor(_0xb1c565){super(_0xb1c565),this['view']=new CommentEditorUIView(_0xb1c565['locale'],_0xb1c565['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x364313=this['editor']['editing']['view'],_0x5e23a6=this['view']['editable'],_0xae7a48=_0x364313['document']['getRoot']();_0x5e23a6['name']=_0xae7a48['rootName'],this['view']['render']();const _0x398995=_0x5e23a6['element'];this['setEditableElement'](_0x5e23a6['name'],_0x398995),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x364313['attachDomRoot'](_0x398995),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const rg=[_0x1133f8,_0x98fec6,_0x3aac58,_0x15253a,_0x1f0d64,_0x4117d2,_0x37061d];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x18fa86(_0x519668){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>rg)());constructor(_0x3a6dfd={}){function _0x4534f6(_0x1adf53){return _0x1adf53['map'](_0x385a02=>String['fromCharCode'](_0x385a02))['join']('');}(_0x3a6dfd=Object['assign']({},_0x3a6dfd))['plugins']||(_0x3a6dfd['plugins']=CommentEditor['defaultPlugins']),super(_0x3a6dfd),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[_0x4534f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4534f6([0x76,0x69,0x65,0x77])][_0x4534f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4534f6([0x61,0x75,0x74,0x6f]),this[_0x4534f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4534f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4534f6([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4534f6([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4534f6([0x6f,0x6b])});}['create'](){const _0x421798=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x421798))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0xc8f841=>{const _0x4dc4c8=this['model']['document']['getRoot'](),_0x15a919=_0x4dc4c8&&_0x4dc4c8['getChild'](_0x4dc4c8['childCount']-0x1);_0xc8f841['setSelection'](_0x15a919,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x559df2=this['editing']['view'],_0x5ba35d=_0x559df2['document']['getRoot'](),_0x39db4b=_0x5ba35d['getChild'](0x0);_0x5ba35d['childCount']>0x1||!_0x39db4b||'p'!=_0x39db4b['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x3ef2e4(_0x559df2,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x39db4b['placeholder']=this['placeholder']),_0x2c3dac({'view':_0x559df2,'element':_0x39db4b,'keepOnFocus':!0x0}),this['placeholderElement']=_0x39db4b);}}class CommentInputView extends _0x278baa{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x2ea6d4,_0x13a68c={}){super(_0x2ea6d4),this['editor']=null,this['_editorConfig']=_0x13a68c,this['set']('value',_0x13a68c['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',ng(_0x2ea6d4,'Reply...')),this['set']('submitLabel',ng(_0x2ea6d4,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x247474(),this['focusTracker']=new _0x2423e3(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2e3c6f=>!_0x2e3c6f['defaultPrevented']},'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',(_0x16bf49,_0x38fd04)=>{this['cancelButtonView']['fire']('execute'),_0x38fd04();}),this['keystrokes']['set']('Ctrl+Enter',(_0x43a1ed,_0x1621c3)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x1621c3());}),this['on']('submit',(_0x4d7d64,_0x559b59)=>{_0x559b59['length']>0xfde8?(alert(ng(_0x2ea6d4,'TOO_LONG_COMMENT_ALERT',[_0x559b59['length'],0xfde8])),_0x4d7d64['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 _0x4c4062=this['editor'];this['element']['insertBefore'](_0x4c4062['ui']['element'],this['element']['firstChild']),_0x4c4062['model']['document']['on']('change',()=>this['value']=_0x4c4062['getData']()),_0x4c4062['bind']('placeholder')['to'](this),this['focusables']['add'](_0x4c4062['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x3ceadc){-0x1===_0x3ceadc?(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:_0x4e7fb5}=this,_0x5a3800=new _0x1a631f(_0x4e7fb5);return _0x5a3800['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x5a3800['withText']=!0x0,_0x5a3800['bind']('label')['to'](this,'submitLabel'),_0x5a3800['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x5a3800['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x539625,_0x59f986)=>!_0x59f986&&!!_0x539625['trim']()),_0x5a3800;}['_createCancelButton'](){const {locale:_0x61c01f}=this,_0x3392e4=new _0x1a631f(_0x61c01f);return _0x3392e4['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x3392e4['label']=ng(_0x61c01f,'Cancel'),_0x3392e4['withText']=!0x0,_0x3392e4['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x3392e4;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x870167=>{this['focusTracker']['add'](_0x870167['element']);}),this['focusables']['on']('change',(_0x2793c2,_0x35d582)=>{for(const _0x5a42a6 of Array['from'](_0x35d582['added'])['reverse']())this['focusTracker']['add'](_0x5a42a6['element']);});}}class CommentThreadInputView extends _0x278baa{constructor(_0x358e82,_0x3f3cfc,_0x16c9aa){super(_0x358e82),this['commentInputView']=new CommentInputView(_0x358e82,_0x16c9aa),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x2cf4e9,_0x500fcc)=>_0x2cf4e9||!!_0x500fcc),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(_0x358e82,_0x3f3cfc),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'](_0x404990){this['commentInputView']['focus'](_0x404990);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x2ce7e0,_0x13a0c9)=>{const {submitButtonView:_0x3e8118,cancelButtonView:_0x38c87d,editor:_0x2ae412}=this['commentInputView'],_0x6933d7=[_0x3e8118['element'],_0x38c87d['element'],_0x2ae412?_0x2ae412['editing']['view']['getDomRoot']():null]['filter'](_0x5d0068=>_0x5d0068)['some'](_0x3473d4=>_0x3473d4['contains'](_0x13a0c9['target']));_0x6933d7||(this['focus'](),_0x13a0c9['preventDefault']());});}}class CollapsedCommentsView extends _0x278baa{constructor(_0x1214ea){super(_0x1214ea);const _0x394ab1=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x394ab1['to']('count',_0x2ec59f=>ng(_0x1214ea,'NUMBER_OF_COMMENTS',_0x2ec59f))}]});}}class CommentsListView extends _0x278baa{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0xac2353,_0x294fcf,_0x51ec96){super(_0xac2353);const _0x11b5fb=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x294fcf['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x294fcf,this['_config']=_0x51ec96,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x4d7001=>this['commentViews']['map'](_0x3e4622=>_0x3e4622['element'])['includes'](_0x4d7001['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0xac2353),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x1b5117=>_0x1b5117-this['_config']['maxCommentsWhenCollapsed']);for(const _0x2e4006 of _0x294fcf['comments'])this['_handleNewCommentModel'](_0x2e4006);this['_handleInfoComment'](),this['listenTo'](_0x294fcf['comments'],'add',(_0x22c3b4,_0x3de32e)=>{const _0x471532=this['_calculatePosition'](_0x3de32e);this['length']++,this['_handleNewCommentModel'](_0x3de32e,_0x471532),this['refreshVisibleViews']();}),this['listenTo'](_0x294fcf['comments'],'remove',(_0x512bf2,_0x1897b2)=>{this['length']--,this['_handleRemoveCommentModel'](_0x1897b2),this['refreshVisibleViews']();}),this['listenTo'](_0x294fcf,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x294fcf,'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',_0x11b5fb['if']('length','ck-hidden',_0x28ebd8=>!_0x28ebd8)],'aria-label':ng(_0xac2353,'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'](_0x1f1059){-0x1===_0x1f1059?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x5b01e9 of this['commentViews'])_0x5b01e9['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x1590ab,_0x2516a1){const _0x2ee9d9=new this['_config']['CommentView'](this['locale'],_0x1590ab,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x2ee9d9['viewUid']=_0x1590ab['id'],_0x2ee9d9['delegate']('removeComment')['to'](this),_0x2ee9d9['delegate']('updateComment')['to'](this),_0x2ee9d9['delegate']('resolveCommentThread')['to'](this),_0x2ee9d9['delegate']('editorReady')['to'](this),_0x2ee9d9['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x2ee9d9,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x2ee9d9,_0x2516a1);}['_calculatePosition'](_0x127ba5){const _0x35c714=this['_model']['_findOptimalIndex'](_0x127ba5);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x127ba5['authoredAt']?_0x35c714-0x1:_0x35c714:_0x35c714-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0xcd0a68={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':ng(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0xcd0a68,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0xcd0a68));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x2aa4c6){const _0x65eba4=this['commentViews']['remove'](_0x2aa4c6['id']);this['stopListening'](_0x65eba4),_0x65eba4['isEditMode']&&this['_updateHasDirtyComment'](),_0x65eba4['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x3eb592=>_0x3eb592['isEditMode']);}['_rearrangeCollapse'](){const _0x1de254=function(_0x4f3539){const _0x176633=new _0x307d11();for(const _0x1e0f19 of _0x4f3539)_0x176633['add'](_0x1e0f19);return _0x176633;}(this['commentViews']),_0x34811a=this['_collapsedCommentsView']['count'];for(let _0x400c16=0x1;_0x400c16<=_0x34811a;_0x400c16++)_0x1de254['remove'](0x1);for(const _0x3b1fc8 of _0x1de254)_0x3b1fc8['collapse']();_0x34811a>0x0&&_0x1de254['add'](this['_collapsedCommentsView'],0x1),og(_0x230f57(Array['from'](this['visibleViews']),Array['from'](_0x1de254)),this['visibleViews'],_0x1de254);}['_rearrangeExpand'](){og(_0x230f57(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0xe791e9 of this['visibleViews'])_0xe791e9['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x4fbfa0=>{this['focusTracker']['add'](_0x4fbfa0['element']),this['keystrokes']['listenTo'](_0x4fbfa0['element']);}),this['commentViews']['on']('change',(_0x3ad138,_0x3e04d3)=>{for(const _0x39d9dc of _0x3e04d3['removed'])this['focusTracker']['remove'](_0x39d9dc['element']),this['keystrokes']['stopListening'](_0x39d9dc['element']);for(const _0x1f9ecb of Array['from'](_0x3e04d3['added'])['reverse']())this['focusTracker']['add'](_0x1f9ecb['element']),this['keystrokes']['listenTo'](_0x1f9ecb['element']);});}}function og(_0xa44706,_0x2b1944,_0x98a1bc){let _0x15d8c1=0x0;for(const _0x1435a2 of _0xa44706)switch(_0x1435a2){case'insert':_0x2b1944['add'](_0x98a1bc['get'](_0x15d8c1),_0x15d8c1),_0x15d8c1++;break;case'delete':_0x2b1944['remove'](_0x15d8c1);break;case'equal':_0x15d8c1++;}}class CommentThreadHeaderContextView extends _0x278baa{constructor(_0x332d1c){super(_0x332d1c);const _0x5d0e3=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x5d0e3['to']('contextValue',_0x36456d=>ng(_0x332d1c,'THREAD_CONTEXT_LABEL',_0x36456d)),'tabindex':-0x1},'children':[{'text':_0x5d0e3['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0x278baa{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x10d616,_0x550fce){super(_0x10d616);const _0xfd2f15=this['bindTemplate'];this['_model']=_0x550fce,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x150fa6=>!!_0x150fa6),this['bind']('contextValue')['to'](this['_model'],'context',_0x208325=>_0x208325&&_0x208325['value']?this['_trimContextValue'](_0x208325['value']):ng(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',_0xfd2f15['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 _0x22e949=new _0x1a631f(this['locale']);return _0x22e949['label']=ng(this['locale'],'Reopen'),_0x22e949['tooltip']=ng(this['locale'],'Reopen'),_0x22e949['icon']=_0x28e8a7,_0x22e949['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x499331=>!_0x499331),_0x22e949['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x27a583,_0x869475)=>_0x27a583&&_0x869475),_0x22e949['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x22e949;}['_trimContextValue'](_0x2e6164){if(_0x2e6164['length']<0x96)return _0x2e6164;const _0x43d7f3=_0x2e6164['lastIndexOf']('\x20',0x93);return _0x2e6164['substring'](0x0,_0x43d7f3>-0x1?_0x43d7f3:0x93)+'...';}['_attachContextActions'](){const _0x306994=this['element']['querySelector']('.ck-context'),_0x372418=_0x306994['querySelector']('.ck-context__value');this['listenTo'](_0x306994,'mouseenter',()=>{_0x372418['offsetWidth']<_0x372418['scrollWidth']&&_0x306994['classList']['add']('overlay');}),this['listenTo'](_0x306994,'mouseleave',()=>{_0x306994['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x2be666 of this['focusables'])this['focusTracker']['add'](_0x2be666['element']),this['keystrokes']['listenTo'](_0x2be666['element']);}['_createContextView'](){const _0x3a51f5=new CommentThreadHeaderContextView(this['locale']);return _0x3a51f5['bind']('contextValue')['to'](this),_0x3a51f5;}}class BaseCommentThreadView extends _0x278baa{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x4899d3,_0x36c462,_0x149cab,_0x214662){super(_0x4899d3),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x36c462,this['_localUser']=_0x149cab,this['_config']=_0x214662,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x4899d3,_0x36c462),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x4899d3,ng(_0x4899d3,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x4899d3,_0x36c462,Object['assign']({'CommentView':this['_config']['CommentView']},_0x214662)),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',(_0x1785c9,_0x372cb0)=>_0x1785c9||!!_0x372cb0),this['bind']('isUnlinked')['to'](_0x36c462,'unlinkedAt',_0x55dc4b=>!!_0x55dc4b),this['bind']('ariaLabel')['to'](this,'length',_0x6e2ebc=>{const _0x50f303=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return ng(this['locale'],'COMMENT_THREAD_LABEL',[_0x6e2ebc,_0x50f303]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x226dea=>_0x226dea['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),Fd(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x1d354e=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x103076=_0x1d354e['commentInputView'];return _0x1d354e['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x103076,'value',(_0x3abf9c,_0x5281b9,_0x4aafca,_0x4d1609,_0x4798a1)=>!!_0x4798a1||!!_0x4d1609&&_0x4aafca&&!_0x5281b9||_0x3abf9c&&_0x4aafca&&!_0x5281b9),_0x103076['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x572d64,_0x303413,_0x1a8c82)=>{let _0x13bb65;return _0x13bb65=_0x1a8c82&&_0x303413?'Reply\x20to\x20reopen\x20discussion...':_0x572d64?'Reply...':'Write\x20a\x20comment...',ng(this['locale'],_0x13bb65);}),_0x103076['bind']('submitLabel')['to'](this,'length',_0x47070e=>ng(this['locale'],_0x47070e?'Reply':'Comment')),_0x103076['on']('submit',(_0x36e56e,_0x23005d)=>{this['fire']('addComment',_0x23005d),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x103076['on']('cancel',()=>{this['focus']();}),_0x103076['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x103076['on']('cancel',_0x4e680d=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x4e680d['stop']());}),this['on']('change:isActive',(_0x306f6c,_0x4769de,_0x58b70d)=>{_0x58b70d||this['length']||_0x103076['value']||this['fire']('removeCommentThread');}),_0x1d354e;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
xd(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x3c46a8,_0x1f3260,_0x3da1fc,_0x1185d1){super(_0x3c46a8,_0x1f3260,_0x3da1fc,_0x1185d1),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x3c46a8,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x4dea23,_0x534b8a,_0x30be1a)=>{_0x30be1a||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x4595bc,_0x171365,_0x51087a)=>{_0x51087a&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x4a038d=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x4a038d['if']('isActive','ck-thread--active'),_0x4a038d['if']('isUnlinked','ck-thread--unlinked'),_0x4a038d['to']('actionIndicator',_0x1681db=>_0x1681db?'ck-thread--'+_0x1681db:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x4a038d['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 _0x5069a0 of this['commentsListView']['commentViews'])_0x5069a0['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x760820}=this,_0x33e386=this['commentsListView']['commentViews']['get'](0x0);_0x33e386===this['_boundFirstCommentView']||_0x33e386['isSystemComment']||(this['_boundFirstCommentView']=_0x33e386,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x33e386,'actionIndicator',_0xcee300=>'remove'===_0xcee300?'remove':null),_0x33e386['placeholder']=ng(_0x760820,'Write\x20a\x20comment...'),_0x33e386['removeButton']['on']('execute',_0x4c3560=>{_0x4c3560['stop'](),this['showConfirm'](ng(_0x760820,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x33e386['focus']();}),_0x33e386['actionBar']['add'](this['resolveButton'],0x0),_0x33e386['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x1d2bd9=new LateFocusButtonView(this['locale']);return _0x1d2bd9['label']=ng(this['locale'],'Resolve'),_0x1d2bd9['tooltip']=ng(this['locale'],'Resolve'),_0x1d2bd9['icon']=_0x28777c,_0x1d2bd9['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x1d2bd9['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x28c73a=>!_0x28c73a),_0x1d2bd9['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x59dcd6,_0x1295ea)=>_0x59dcd6&&!_0x1295ea),_0x1d2bd9['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x1d2bd9;}['_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 _0x278baa{constructor(_0x582245){super(_0x582245),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x385a56,_0x460a68,_0x520a36)=>{this['element']['innerHTML']=_0x520a36;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0x278baa{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x553537,_0x17fe4d,_0x23a4be){super(_0x553537),this['_model']=_0x17fe4d,this['_config']=_0x23a4be,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x17fe4d,'content',_0x17fe4d,'authoredAt',(_0x177498,_0x3258c4)=>ng(_0x553537,'COMMENT_ARIA_LABEL',[_0x17fe4d['author']['name'],_0x23a4be['formatDateTime'](_0x3258c4),new DOMParser()['parseFromString'](_0x177498,'text/html')['body']['textContent'],_0x17fe4d['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x553537,ng(_0x553537,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new Et(),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x5b1746=>_0x5b1746['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']?ng(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):ng(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?ng(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):ng(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x29a7c4=new CommentContentView(this['locale']);return _0x29a7c4['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x1b90a1,_0x31575e)=>_0x31575e?Cd(_0x1b90a1,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x1b90a1),_0x29a7c4;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x578e0c=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x578e0c['value']=this['_model']['content'],_0x578e0c['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x578e0c['submitLabel']=ng(this['locale'],'Save'),_0x578e0c['on']('submit',(_0x50a619,_0x3a86c0)=>{this['fire']('updateComment',this['_model']['id'],_0x3a86c0),this['switchToDisplayMode'](),this['focus']();}),_0x578e0c['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x578e0c['once']('editorReady',()=>{_0x578e0c['focus']();}),_0x578e0c['createEditor'](),_0x578e0c['delegate']('editorReady')['to'](this),_0x578e0c['delegate']('editorDestroyed')['to'](this),_0x578e0c;}['_setupKeyboardNavigation'](){const _0x444ace=this['element'];this['keystrokes']['listenTo'](_0x444ace);for(const _0x43a999 of this['focusables'])this['focusTracker']['add'](_0x43a999['element']),this['keystrokes']['listenTo'](_0x43a999['element']);this['focusables']['on']('change',(_0xabc2c5,_0x395402)=>{for(const _0x5106b1 of _0x395402['removed'])this['focusTracker']['remove'](_0x5106b1['element']),this['keystrokes']['stopListening'](_0x5106b1['element']);for(const _0x52d9b7 of _0x395402['added'])this['focusTracker']['add'](_0x52d9b7['element']),this['keystrokes']['listenTo'](_0x52d9b7['element']);}),this['keystrokes']['set']('enter',(_0x4b2419,_0xa6c789)=>{_0x444ace===_0x4b2419['target']&&(this['focusCycler']['focusFirst'](),_0xa6c789());}),this['keystrokes']['set']('esc',(_0x35d18f,_0x354567)=>{_0x444ace!==_0x35d18f['target']&&(this['focus'](),_0x354567());});}}class CommentView extends/* #__PURE__ -- @preserve */
xd(BaseCommentView){['actionBar'];['userView'];constructor(_0x242117,_0x46fbbe,_0x3fbc2e){super(_0x242117,_0x46fbbe,_0x3fbc2e),this['set']('actionIndicator',null),this['set']('placeholder',ng(_0x242117,'Reply...')),this['bind']('authoredAt')['to'](_0x46fbbe),this['bind']('resolvedAt')['to'](_0x46fbbe),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(_0x242117,_0x46fbbe['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x46fbbe,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x55375f=this['bindTemplate'],_0x29b909=[{'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':_0x55375f['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x55375f['to']('authoredAt',_0x5e3ca4=>this['_config']['formatDateTime'](_0x5e3ca4))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x55375f['if']('isEditMode','ck-comment__actions--hidden'),_0x55375f['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']&&_0x29b909['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x55375f['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x55375f['if']('isEditMode','ck-comment--edit'),_0x55375f['if']('isSystemComment','ck-comment--info'),_0x55375f['to']('actionIndicator',_0x59ee41=>_0x59ee41?'ck-comment--'+_0x59ee41:'')],'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':_0x29b909}]}]};}['_createEditButton'](){const _0x5baddd=new _0x1a631f(this['locale']);return _0x5baddd['label']=ng(this['locale'],'Edit'),_0x5baddd['icon']=_0x23339a,_0x5baddd['withText']=!0x0,_0x5baddd['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x5baddd['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3af95d=>!_0x3af95d),_0x5baddd['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x5baddd['on']('execute',()=>this['switchToEditMode']()),_0x5baddd;}['_createRemoveButton'](){const _0x57fe6d=new _0x1a631f(this['locale']);return _0x57fe6d['label']=ng(this['locale'],'Remove'),_0x57fe6d['icon']=_0x509e24,_0x57fe6d['withText']=!0x0,_0x57fe6d['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x57fe6d['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x227887=>!_0x227887),_0x57fe6d['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x57fe6d['on']('execute',()=>{this['showConfirm'](ng(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x57fe6d;}['_createDropdown'](){const _0x47f028=nt(this['locale'],LateFocusDropdownButtonView),_0x3fd967=_0x47f028['panelView']['children'],_0x550db3=new _0x171307(this['locale']),_0x26e403=_0x47f028['bindTemplate'];$t(_0x47f028,()=>this['items']['find'](_0x1584d2=>_0x1584d2['isVisible'])),_0x47f028['extendTemplate']({'attributes':{'class':[_0x26e403['if']('isVisible','ck-hidden',_0x4aee28=>!_0x4aee28)]}});const _0x442f8d=(_0x42f85c,_0x5bf333=-0x1)=>{const _0x36de36=new _0x3a2da2(this['locale']);_0x36de36['children']['add'](_0x42f85c);const _0x1da4cd=_0x5bf333>-0x1?_0x5bf333:_0x550db3['items']['length'];_0x550db3['items']['add'](_0x36de36,_0x1da4cd);const _0x1755f4=Array['from'](this['items']);_0x47f028['unbind']('isEnabled','isVisible'),_0x47f028['bind']('isEnabled')['toMany'](_0x1755f4,'isEnabled',(..._0x59f093)=>_0x59f093['some'](_0x3ab66c=>_0x3ab66c)),_0x47f028['bind']('isVisible')['toMany'](_0x1755f4,'isVisible',(..._0xd50eb4)=>_0xd50eb4['some'](_0x59c0c7=>_0x59c0c7));};_0x47f028['panelPosition']='sw',_0x47f028['buttonView']['set']({'label':ng(this['locale'],'Show\x20more\x20items'),'icon':_0x2d8cb4});for(const _0xbfc067 of this['items'])_0x442f8d(_0xbfc067);return _0x3fd967['add'](_0x550db3),_0x47f028['listenTo'](this['items'],'add',(_0x3f597d,_0x59ab02,_0x450379)=>{_0x442f8d(_0x59ab02,_0x450379);}),_0x47f028['listenTo'](this['items'],'remove',(_0x223f74,_0x27c551,_0x1da2e0)=>{_0x550db3['items']['remove'](_0x1da2e0);}),_0x47f028;}['_attachActions'](_0x30e896,_0x4ea711){const _0x276d09=_0x30e896&&_0x30e896['element'];_0x276d09&&(this['listenTo'](_0x276d09,'mouseenter',()=>this['actionIndicator']=_0x4ea711),this['listenTo'](_0x276d09,'focus',()=>this['actionIndicator']=_0x4ea711),this['listenTo'](_0x276d09,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x276d09,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x13baec=super['_createCommentInputView']();return _0x13baec['bind']('placeholder')['to'](this),_0x13baec;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function ag(_0x1ab106){const _0x5f3cab=Fr(_0x1ab106,0x1e),_0x58d9dd=new MutationObserver(_0x4155ad=>{for(const _0x3dc703 of _0x4155ad)('attributes'==_0x3dc703['type']&&'class'==_0x3dc703['attributeName']||'childList'==_0x3dc703['type']||'characterData'==_0x3dc703['type'])&&_0x5f3cab();});return{'attach'(_0x4f5619){_0x58d9dd['observe'](_0x4f5619,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x58d9dd['disconnect'](),_0x5f3cab['cancel']();}};}class AnnotationView extends _0x278baa{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x30315c,_0x1e4ba8){super(_0x30315c),this['id']=_0x462bc0(),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['keystrokes']['set']('Esc',(_0x3a4c9f,_0x39d65d)=>this['fire']('Esc',_0x39d65d)),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']=ag(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x1e4ba8),this['mainView']=_0x1e4ba8;const _0x5194fc=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x5194fc['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 _0x1e4669=this['element']['clientHeight'];_0x1e4669&&(this['height']=_0x1e4669);}}let cg=class Annotation extends/* #__PURE__ -- @preserve */
_0x18fa86(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x45a243,target:_0x289726,type:_0x329ede,isVisible:_0x132b19=!0x0}){super(),this['view']=_0x45a243,this['view']['element']||this['view']['render'](),this['_type']=_0x329ede,this['_target']=_0x289726,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x307d11([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x1da726,_0x31111d)=>{this['view']['focusTracker']['add'](_0x31111d);}),this['focusableElements']['on']('remove',(_0x49baee,_0x4136f5)=>{this['view']['focusTracker']['remove'](_0x4136f5);}),this['set']('isVisible',_0x132b19);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x4c7ef8=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x4c7ef8),_0x4c7ef8;}get['targetRect'](){const _0x35d085=this['target'];if(null===_0x35d085)return null;if(_0x35d085 instanceof _0xbeaf38)return _0x35d085;const _0x2c84a0=_0x35d085['filter'](_0xf53623=>function(_0x3bbfc3){const _0xabeaea=_0x3bbfc3['offsetParent'];if(_0xabeaea)return!0x0;const _0x1cabbe=_0x3bbfc3['getClientRects']()['item'](0x0);return!!_0x1cabbe;}(_0xf53623));return 0x0===_0x2c84a0['length']?null:_0xbeaf38['getDomElementRects'](_0x2c84a0[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x12f1e2){this['view']['isActive']=_0x12f1e2,this['view']['mainView']['isActive']=_0x12f1e2;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x171dd8){if(!(null===_0x171dd8||_0x171dd8 instanceof _0xbeaf38||Array['isArray'](_0x171dd8)&&_0x171dd8['every'](_0x2d8ee4=>lg(_0x2d8ee4))))throw new _0x3ae0e8('annotation-invalid-target',null,{'target':_0x171dd8});}['_getNormalizedTarget'](){const _0x4fce0c='function'==typeof this['_target']?this['_target']():this['_target'];return lg(_0x4fce0c)?[_0x4fce0c]:_0x4fce0c;}};function lg(_0x2778d5){return null!==_0x2778d5&&'object'==typeof _0x2778d5&&'nodeType'in _0x2778d5&&0x1===_0x2778d5['nodeType'];}class AnnotationCollection extends _0x307d11{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x4b371a=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x2423e3(),this['_focusTracker']['on']('change:isFocused',(_0x4de746,_0x3eeae3,_0x462ecb)=>{_0x462ecb||this['fire']('blur');});for(const _0x4af88a of _0x4b371a)this['add'](_0x4af88a);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x494dda){if(this['has'](_0x494dda))throw new _0x3ae0e8('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x494dda['innerView'],_0x494dda),this['_viewToAnnotation']['set'](_0x494dda['view'],_0x494dda);for(const _0x41eeec of _0x494dda['focusableElements'])this['_focusTracker']['add'](_0x41eeec);if(this['listenTo'](_0x494dda['focusableElements'],'add',(_0x486ab7,_0x46cc36)=>{this['_focusTracker']['add'](_0x46cc36);}),this['listenTo'](_0x494dda['focusableElements'],'remove',(_0x22b9a8,_0x4d8cd1)=>{this['_focusTracker']['remove'](_0x4d8cd1);}),this['listenTo'](_0x494dda['view']['focusTracker'],'change:isFocused',(_0x48eb05,_0x440ec6,_0xee7e88)=>{_0xee7e88&&this['fire']('focus',_0x494dda);}),_0x494dda['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x4e6a63 of this)_0x4e6a63['updateTargetRect']();}const _0x363c9c=this['_getOrderInContent'](_0x494dda['view']['targetRect']);return super['add'](_0x494dda,_0x363c9c);}['remove'](_0x3ae967){if(!this['has'](_0x3ae967))throw new _0x3ae0e8('annotationcollection-not-existing-item',null);this['stopListening'](_0x3ae967['view']['focusTracker']),this['stopListening'](_0x3ae967['focusableElements']);for(const _0x6e7dc0 of _0x3ae967['focusableElements'])this['_focusTracker']['remove'](_0x6e7dc0);return this['_viewToAnnotation']['delete'](_0x3ae967['view']),this['_innerViewToAnnotation']['delete'](_0x3ae967['innerView']),super['remove'](_0x3ae967);}['getByInnerView'](_0xb21564){return this['_innerViewToAnnotation']['get'](_0xb21564);}['getByView'](_0x5d4c81){return this['_viewToAnnotation']['get'](_0x5d4c81);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x5aca27 of this)_0x5aca27['updateTargetRect']();this['_sort']();}['_sort'](){const _0x1d415c=Array['from'](this)['sort']((_0x5ef65d,_0x49cbfd)=>ug(_0x5ef65d['view']['targetRect'],_0x49cbfd['view']['targetRect']));for(let _0xdde1be=_0x1d415c['length']-0x1;_0xdde1be>0x0;_0xdde1be--){const _0x35fe2a=_0x1d415c[_0xdde1be];_0xdde1be!==this['getIndex'](_0x35fe2a)&&(this['remove'](_0x35fe2a),this['add'](_0x35fe2a));}}['_getOrderInContent'](_0x212e51){let _0x46dc84=0x0;if(!_0x212e51)return this['length'];for(const _0x297580 of this){const _0xd5dc34=_0x297580['view']['targetRect'];if(_0xd5dc34){if(ug(_0x212e51,_0xd5dc34)<0x0)return _0x46dc84;_0x46dc84++;}}return _0x46dc84;}['_areCachedRectsStale'](){const _0x2f23e6=this['get'](0x0);if(!_0x2f23e6)return!0x1;const _0x4920ee=_0x2f23e6['view']['targetRect'],_0x23d4ff=_0x2f23e6['targetRect'];return!(!_0x4920ee||!_0x23d4ff)&&(_0x4920ee['top']!==_0x23d4ff['top']||_0x4920ee['left']!==_0x23d4ff['left']);}}function hg({source:_0x1d0061,target:_0x4746aa,filter:_0x1caba6}){for(const _0x3005c4 of _0x1d0061)_0x1caba6(_0x3005c4)&&_0x4746aa['add'](_0x3005c4);_0x4746aa['listenTo'](_0x1d0061,'add',(_0x2c9e49,_0x8e4442)=>{_0x1caba6(_0x8e4442)&&_0x4746aa['add'](_0x8e4442);}),_0x4746aa['listenTo'](_0x1d0061,'remove',(_0x263b39,_0x4bd85)=>{_0x4746aa['has'](_0x4bd85)&&_0x4746aa['remove'](_0x4bd85);});}function ug(_0x4352ae,_0x1aff1f){if(null===_0x4352ae&&null===_0x1aff1f)return 0x0;if(null===_0x4352ae)return-0x1;if(null===_0x1aff1f)return 0x1;const _0x43f009=_0x4352ae['top']-_0x1aff1f['top'];return 0x0==_0x43f009?_0x4352ae['left']-_0x1aff1f['left']:_0x43f009;}class Annotations extends _0x32a432{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29a251){if(super(_0x29a251),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x29a251 instanceof _0x519668){const _0x571228=_0x29a251['locale'];_0x29a251['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':ng(_0x571228,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x1cf4c0){this['collection']['add'](_0x1cf4c0);}['remove'](_0x38dd4b){this['collection']['remove'](_0x38dd4b),_0x38dd4b['destroy']();}['refreshVisibility'](){for(const _0x23b1f7 of this['collection'])_0x23b1f7['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x5d189b){return this['collection']['getByInnerView'](_0x5d189b);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x592000 of this['collection'])_0x592000['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x56bc72){this['fire']('_activateAnnotation',_0x56bc72);}['createAnnotation'](_0x5e72e2){return new cg(_0x5e72e2);}['createAnnotationView'](_0xba706a,_0x18dfde){return new AnnotationView(_0xba706a,_0x18dfde);}['_addActiveAnnotation'](_0xda3020){const _0x44b4e0=new Set(this['activeAnnotations']);_0x44b4e0['add'](_0xda3020),this['activeAnnotations']=_0x44b4e0;}['_removeActiveAnnotation'](_0x1cc6b8){const _0x5ce530=new Set(this['activeAnnotations']);_0x5ce530['delete'](_0x1cc6b8),this['activeAnnotations']=_0x5ce530;}['_bindAnnotationsToVisibleAnnotations'](){const _0x14487c=this['collection'],_0x5498fd=this['_visibleAnnotations'];function _0x59842e(_0x5a900a){const _0x4ffc2c=_0x5a900a['source'];_0x4ffc2c['isVisible']&&!_0x5498fd['has'](_0x4ffc2c)?_0x5498fd['add'](_0x4ffc2c):!_0x4ffc2c['isVisible']&&_0x5498fd['has'](_0x4ffc2c)&&_0x5498fd['remove'](_0x4ffc2c),_0x4ffc2c['view']['focusTracker']['remove'](_0x4ffc2c['view']['element']),_0x4ffc2c['view']['focusTracker']['add'](_0x4ffc2c['view']['element']);}this['listenTo'](_0x14487c,'add',(_0xf622c,_0x33d974)=>{_0x33d974['isVisible']&&_0x5498fd['add'](_0x33d974),this['listenTo'](_0x33d974,'change:isVisible',_0x59842e);}),this['listenTo'](_0x14487c,'remove',(_0x153ff1,_0x2dd6c2)=>{_0x5498fd['has'](_0x2dd6c2)&&_0x5498fd['remove'](_0x2dd6c2),this['stopListening'](_0x2dd6c2,'change:isVisible',_0x59842e);});}['_setupEnterAnnotationKeystroke'](){const _0x183dfd=_0x5addee=>{_0x5addee['on']('ready',()=>{_0x5addee['keystrokes']['set'](jd,(_0x5e42b4,_0x4c1fb7)=>{const _0x445ae3=_0x506e56(this['activeAnnotations']['values']());_0x445ae3&&(_0x445ae3['view']['focus'](),_0x4c1fb7());});});};this['context']instanceof _0x519668?_0x183dfd(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x377506,_0x274f17)=>{_0x183dfd(_0x274f17);});}['_setupEscapeAnnotationHandling'](){const _0x16ba1a=_0x3a3bb8=>{const _0x33132b=_0x3a3bb8['source'],_0x5d50df=[];let _0x4bf974;if(Array['isArray'](_0x33132b['target'])){_0x4bf974=_0x33132b['target'][0x0],this['context']instanceof _0x519668?_0x5d50df['push'](this['context']):this['context']['editors']&&_0x5d50df['push'](...this['context']['editors']);for(const _0x349fa9 of _0x5d50df)for(const _0x21ae7e of _0x349fa9['editing']['view']['domRoots']['values']())if(_0x21ae7e['contains'](_0x4bf974))return void _0x349fa9['editing']['view']['focus']();_0x4bf974['focus']();}};this['listenTo'](this['collection'],'add',(_0x3e28dc,_0xbdc930)=>{this['listenTo'](_0xbdc930,'escape',_0x16ba1a,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x33b9dd,_0x32603f)=>{this['stopListening'](_0x32603f,'escape',_0x16ba1a);});}}const dg=Symbol('noChannel'),fg={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x32a432{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0x4247fd,Users];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f5cd2){super(_0x1f5cd2),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x3f23b6=this['context']['config'];_0x3f23b6['define']('comments.maxCommentsWhenCollapsed',0x2),_0x3f23b6['define']('comments.maxThreadTotalWeight',0x1f4),_0x3f23b6['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x3f23b6['define']('comments.CommentThreadView',CommentThreadView),_0x3f23b6['define']('comments.CommentView',CommentView),_0x3f23b6['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x5150e1=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x1e61c3,_0x1beec6)=>this['_addCommentThread'](_0x1beec6)),this['on']('submitCommentThread',(_0x50529b,_0x5d35e0)=>this['_submitCommentThread'](_0x5d35e0)),this['on']('resolveCommentThread',(_0x5a31b8,_0x12a084)=>this['_resolveCommentThread'](_0x12a084)),this['on']('resolveCommentThread',(_0xed5df1,_0x4f78ac)=>this['_updateActiveAnnotation'](_0x4f78ac),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x1b9b3a,_0x277d37)=>this['_reopenCommentThread'](_0x277d37)),this['on']('reopenCommentThread',(_0x3e5508,_0x1831c0)=>this['_updateActiveAnnotation'](_0x1831c0),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x446429,_0x3bffba)=>this['_removeCommentThread'](_0x3bffba)),this['on']('updateCommentThread',(_0x4a2296,_0xc6d14f)=>this['_updateCommentThread'](_0xc6d14f)),this['on']('updateCommentThread',(_0x4f9002,_0x590cb3)=>this['_updateActiveAnnotation'](_0x590cb3),{'priority':'lowest'}),this['on']('addComment',(_0x11ba16,_0x4e1bcd)=>this['_addComment'](_0x4e1bcd)),this['on']('updateComment',(_0x51d4c2,_0x3ade43)=>this['_updateComment'](_0x3ade43)),this['on']('removeComment',(_0x30d318,_0x2a8304)=>this['_removeComment'](_0x2a8304)),this['on']('addComment',(_0x2352a2,{threadId:_0x399c67,isFromAdapter:_0x2aa37d})=>{if(_0x2aa37d)return;const _0x480ef8=this['getCommentThread'](_0x399c67),_0x32a858=_0x480ef8&&this['_threadToController']['get'](_0x480ef8);_0x32a858&&_0x32a858['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x5150e1,'change:activeAnnotations',(_0x32e692,_0x124764,_0x2e1a9e)=>{const _0x4f2092=Array['from'](_0x2e1a9e)['map'](_0x572572=>this['_viewToController']['get'](_0x572572['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x4f2092?_0x4f2092['model']:null;});}set['adapter'](_0x5b0fa5){if(this['_adapter'])throw new _0x3ae0e8('commentsrepository-adapter-already-set');this['_adapter']=_0x5b0fa5;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x48ace8=dg,threadId:_0x3516f2=_0x462bc0(),comments:_0x485936=[],unlinkedAt:_0x32f070=null,resolvedAt:_0x55547e=null,resolvedBy:_0x516834=null,target:_0x161842=null,context:_0x2aab5c=null,attributes:_0x31acb7={},isResolvable:_0x57a6c2=!0x0,isSubmitted:_0x382dec=!0x1,isFromAdapter:_0x5512e4=!0x1}={}){return this['fire'](gg('addCommentThread',_0x48ace8),{'channelId':_0x48ace8,'threadId':_0x3516f2,'comments':_0x485936,'unlinkedAt':_0x32f070,'resolvedAt':_0x55547e,'resolvedBy':_0x516834,'target':_0x161842,'context':_0x2aab5c,'attributes':_0x31acb7,'isFromAdapter':_0x5512e4,'isResolvable':_0x57a6c2,'isSubmitted':_0x382dec}),this['getCommentThread'](_0x3516f2);}['openNewCommentThread']({channelId:_0x277443=dg,threadId:_0x789f0d=_0x462bc0(),target:_0x484f0e,context:_0x4c65f8=null,isResolvable:_0x498230=!0x0}){if(this['_readOnlyChannels']['has'](_0x277443)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x484f0e)throw new _0x3ae0e8('commentsrepository-missing-target');const _0x303a22=this['addCommentThread']({'channelId':_0x277443,'threadId':_0x789f0d,'target':_0x484f0e,'context':_0x4c65f8,'isResolvable':_0x498230});if(!_0x303a22)return null;const _0x5d7c0a=this['_threadToController']['get'](_0x303a22),_0x306eee=_0x5d7c0a['view']['commentThreadInputView']['commentInputView'],_0x2c9ad8=this['context']['plugins']['get'](Annotations),_0x1709e0=_0x2c9ad8['getByInnerView'](_0x5d7c0a['view']);return _0x2c9ad8['activate'](_0x1709e0),_0x306eee['once']('editorReady',()=>_0x306eee['focus']()),_0x303a22;}['hasCommentThread'](_0x882e84){if('string'!=typeof _0x882e84)throw new _0x3ae0e8('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x882e84);}['updateCommentThread']({channelId:_0x48a850=dg,threadId:_0x42f04c,context:_0x29ffd2,unlinkedAt:_0xd93083,attributes:_0x21798a,isFromAdapter:_0xf7f592=!0x1}){return this['fire'](gg('updateCommentThread',_0x48a850),{'channelId':_0x48a850,'threadId':_0x42f04c,'context':_0x29ffd2,'unlinkedAt':_0xd93083,'attributes':_0x21798a,'isFromAdapter':_0xf7f592}),this['getCommentThread'](_0x42f04c);}['getCommentThread'](_0xb0050f){if('string'!=typeof _0xb0050f)throw new _0x3ae0e8('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0xb0050f);}['fetchCommentThread']({channelId:_0x51203d,threadId:_0x3bd8ae}={}){const _0x3c5d3a=this['getCommentThread'](_0x3bd8ae);if(_0x3c5d3a)return Promise['resolve'](_0x3c5d3a);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x3ae0e8('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x51203d,'threadId':_0x3bd8ae})['then'](_0x5517d0=>this['hasCommentThread'](_0x3bd8ae)?this['getCommentThread'](_0x3bd8ae):_0x5517d0?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x51203d},_0x5517d0)):void 0x0)['catch'](_0x19c730=>{throw console['error'](_0x19c730),new _0x3ae0e8('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0xcd7c8a,skipNotAttached:_0x5c23a8=!0x1,skipEmpty:_0x1b09fb=!0x1,toJSON:_0x1bd761=!0x1}={}){const _0x511830=[];for(const _0x40bd5b of this['_threads']['values']())_0xcd7c8a&&_0x40bd5b['channelId']!==_0xcd7c8a||_0x5c23a8&&!_0x40bd5b['isAttached']||_0x1b09fb&&0x0===_0x40bd5b['length']||_0x511830['push'](_0x40bd5b);return _0x1bd761?_0x511830['map'](_0x4e65d8=>_0x4e65d8['toJSON']()):_0x511830;}['getAnnotationForCommentThread'](_0x405b7f){const _0x1c7222=this['_threadToController']['get'](_0x405b7f);if(!_0x1c7222)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x1c7222['view'])||null;}['getCommentThreadForAnnotation'](_0x31fbc4){const _0x3afbf3=this['_viewToController']['get'](_0x31fbc4['innerView']);return _0x3afbf3?_0x3afbf3['model']:null;}['setActiveCommentThread'](_0x3c77ff){const _0x235e07=this['context']['plugins']['get'](Annotations);if(!_0x3c77ff)return void(this['activeCommentThread']&&_0x235e07['deactivateAll']());const _0x5d6248=this['getCommentThread'](_0x3c77ff);if(!_0x5d6248)throw new _0x3ae0e8('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x3c77ff});if(!this['_threadToController']['has'](_0x5d6248))throw new _0x3ae0e8('commentsrepository-active-not-attached',null,{'threadId':_0x3c77ff});const _0x3ab6db=_0x235e07['getByInnerView'](this['_threadToController']['get'](_0x5d6248)['view']);_0x235e07['activate'](_0x3ab6db);}['switchReadOnly'](_0xaa5baf,_0x469b0c){_0xaa5baf?this['_readOnlyChannels']['add'](_0x469b0c):this['_readOnlyChannels']['delete'](_0x469b0c),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x2f6fc8){return this['_readOnlyChannels']['has'](_0x2f6fc8)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x3a024f,_0x2ae64f){return new CommentThreadController(_0x3a024f,_0x2ae64f);}['setPermissions'](_0x311aa7,_0x3cc8db=dg){this['_permissions']['set'](_0x3cc8db,_0x311aa7),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x51f279=dg){return this['_permissions']['has'](_0x51f279)?this['_permissions']['get'](_0x51f279):fg;}['_addCommentThread']({channelId:_0x446df4,threadId:_0x218942,comments:_0x209d5d,unlinkedAt:_0x33dd41,resolvedAt:_0x9ffec,resolvedBy:_0x555e48,target:_0x41b694,context:_0x309bb3,attributes:_0x261809,isFromAdapter:_0x1c00b9,isResolvable:_0x36efd4,isSubmitted:_0x237517}){if('string'!=typeof _0x218942)throw new _0x3ae0e8('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x218942});if(this['hasCommentThread'](_0x218942))throw new _0x3ae0e8('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x218942});const _0x421ec7=new CommentThread(this,{'channelId':_0x446df4,'id':_0x218942,'context':_0x309bb3,'attributes':_0x261809,'unlinkedAt':_0x33dd41,'resolvedAt':_0x9ffec,'resolvedBy':_0x555e48?this['context']['plugins']['get'](Users)['getUser'](_0x555e48):null,'isResolvable':_0x36efd4,'isSubmitted':_0x237517||_0x1c00b9});this['_threads']['set'](_0x218942,_0x421ec7);for(const _0x2f891b of _0x209d5d)_0x421ec7['_add'](this['_createNewComment']({'threadId':_0x218942,..._0x2f891b}));return _0x41b694&&_0x421ec7['attachTo'](_0x41b694),_0x1c00b9||!_0x421ec7['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x446df4,'threadId':_0x218942});}['_submitCommentThread']({channelId:_0x5c52f9,threadId:_0xf25284}){if(!this['hasCommentThread'](_0xf25284))throw new _0x3ae0e8('commentsrepository-missing-comment-thread',this);const _0x30f07f=this['getCommentThread'](_0xf25284);if(_0x30f07f['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x24c3d7,comments:_0x564a4d,resolvedAt:_0x41a589,resolvedBy:_0x31b768,context:_0xce5174,attributes:_0x41c63f}=_0x30f07f,_0x3dee81=this['context']['plugins']['get']('PendingActions'),_0x36bcee=_0x3dee81['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x5c52f9,'threadId':_0x24c3d7,'comments':_0x564a4d['map'](_0x100b4d=>_0x100b4d['toJSON']()),'resolvedAt':_0x41a589,'resolvedBy':_0x31b768?_0x31b768['id']:_0x31b768,'context':_0xce5174,'attributes':_0x41c63f})['then'](({comments:_0x5aaec2})=>{_0x3dee81['remove'](_0x36bcee);for(const _0x8e36f6 of _0x5aaec2)this['_updateComment']({'channelId':_0x5c52f9,'threadId':_0xf25284,'commentId':_0x8e36f6['commentId'],'createdAt':_0x8e36f6['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x48c28c=>{throw console['error'](_0x48c28c),new _0x3ae0e8('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x2d36f4,target:_0x584546}){const _0x55e2e0=this['getCommentThread'](_0x2d36f4);if(!_0x55e2e0)throw new _0x3ae0e8('commentsrepository-attach-missing-comment-thread',this);const _0x57afd6=this['context']['plugins']['get']('PendingActions'),_0x599bce=this['context']['plugins']['get'](Annotations),_0x17ac85=this['_createCommentThreadView'](_0x55e2e0),_0x4f7391=new CommentThreadController(_0x55e2e0,_0x17ac85);let _0xdabb3b=null;_0x17ac85['on']('change:isDirty',(_0x1b8a68,_0x45f07f,_0x27a61d)=>{_0x27a61d?_0xdabb3b=_0x57afd6['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0xdabb3b&&(_0x57afd6['remove'](_0xdabb3b),_0xdabb3b=null);}),this['_threadToController']['set'](_0x55e2e0,_0x4f7391),this['_viewToController']['set'](_0x17ac85,_0x4f7391);const _0x246bea=new AnnotationView(this['context']['locale'],_0x17ac85);_0x246bea['bind']('length')['to'](_0x17ac85),_0x246bea['bind']('isDirty')['to'](_0x17ac85,'isDirty',_0x17ac85,'length',(_0x181242,_0x34638b)=>_0x181242||!_0x34638b),_0x246bea['bind']('isActive')['to'](_0x17ac85),_0x246bea['type']='comment';const _0x49f3be=new cg({'view':_0x246bea,'target':_0x584546,'type':'comment','isVisible':!_0x55e2e0['archivedAt']&&!!('function'==typeof _0x584546?_0x584546():_0x584546)});return _0x17ac85['on']('escape',()=>{_0x49f3be['fire']('escape');}),this['_bindAnnotationToEditors'](_0x17ac85,_0x49f3be),_0x599bce['add'](_0x49f3be),_0x49f3be;}['_bindAnnotationToEditors'](_0x52c1d5,_0x20d5cd){this['listenTo'](_0x52c1d5,'editorReady',(_0x386bdb,_0x5e6158)=>{const _0x463816=_0x5e6158['ui']['view']['body']['bodyCollectionContainer'];_0x20d5cd['focusableElements']['add'](_0x463816),this['context']instanceof _0x519668&&this['context']['ui']['focusTracker']['add'](_0x463816);},{'priority':'highest'}),this['listenTo'](_0x52c1d5,'editorDestroyed',(_0x5092f2,_0x53bdbc)=>{const _0x14ed54=_0x53bdbc['ui']['view']['body']['bodyCollectionContainer'];_0x20d5cd['focusableElements']['has'](_0x14ed54)&&_0x20d5cd['focusableElements']['remove'](_0x14ed54),this['context']instanceof _0x519668&&this['context']['ui']['focusTracker']['remove'](_0x14ed54);});}['_unbindEditors'](_0x115bd7){this['stopListening'](_0x115bd7,'editorReady'),this['stopListening'](_0x115bd7,'editorDestroyed');}['_createCommentThreadView'](_0x5a5c97){const _0x433533=this['context']['plugins']['get'](Users),{config:_0x564c1c,locale:_0x5234d2}=this['context'],_0x131d88=Ad(_0x564c1c['get']('locale'),_0x5234d2);return new(0x0,(_0x564c1c['get']('comments'))['CommentThreadView'])(_0x5234d2,_0x5a5c97,_0x433533['me'],{'editorConfig':{..._0x564c1c['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x564c1c['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x564c1c['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x564c1c['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x564c1c['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x131d88,'CommentView':_0x564c1c['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x202e29,channelId:_0x1b3595,resolvedAt:_0x1fe77d,resolvedBy:_0x3e6bc9,isFromAdapter:_0x2974da}){if(!this['hasCommentThread'](_0x202e29))throw new _0x3ae0e8('commentsrepository-missing-comment-thread',null,{'threadId':_0x202e29});const _0xf5d19d=this['getCommentThread'](_0x202e29);if(_0xf5d19d['isResolved'])throw new _0x3ae0e8('commentsrepository-resolved-comment-thread',null,{'threadId':_0x202e29});const _0xe05848=this['context']['plugins']['get'](Users);if(_0xf5d19d['resolvedBy']=_0xe05848['getUser'](_0x3e6bc9),_0xf5d19d['resolvedAt']=_0x1fe77d,_0x2974da||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x4bff8f=this['context']['plugins']['get']('PendingActions'),_0x367b52=_0x4bff8f['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x1b3595,'threadId':_0x202e29})['then'](({resolvedAt:_0x855a2f,resolvedBy:_0x1baa95})=>{_0x4bff8f['remove'](_0x367b52),_0xf5d19d['resolvedBy']['id']!==_0x1baa95&&(_0xf5d19d['resolvedBy']=_0xe05848['getUser'](_0x1baa95)),_0xf5d19d['resolvedAt']=_0x855a2f;})['catch'](_0x3468e0=>{throw console['error'](_0x3468e0),new _0x3ae0e8('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x553f00,channelId:_0x3a91d9,isFromAdapter:_0x2c6ded}){if(!this['hasCommentThread'](_0x553f00))throw new _0x3ae0e8('commentsrepository-missing-comment-thread',null,{'threadId':_0x553f00});const _0x410e82=this['getCommentThread'](_0x553f00);if(!_0x410e82['isResolved'])throw new _0x3ae0e8('commentsrepository-reopen-comment-thread',null,{'threadId':_0x553f00});if(_0x410e82['resolvedBy']=null,_0x410e82['resolvedAt']=null,_0x2c6ded||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x5504c6=this['context']['plugins']['get']('PendingActions'),_0x3ccb89=_0x5504c6['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x3a91d9,'threadId':_0x553f00})['then'](()=>_0x5504c6['remove'](_0x3ccb89))['catch'](_0x2d174d=>{throw console['error'](_0x2d174d),new _0x3ae0e8('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x519b3b,isFromAdapter:_0x492647}){const _0x552989=this['getCommentThread'](_0x519b3b);if(!_0x552989)throw new _0x3ae0e8('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x519b3b),this['_threads']['delete'](_0x519b3b),!_0x552989['isSubmitted']||_0x492647||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x2bd596=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1710f6}=_0x552989,_0x111131=_0x2bd596['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x1710f6,'threadId':_0x519b3b})['then'](()=>_0x2bd596['remove'](_0x111131))['catch'](_0x5886a3=>{throw console['error'](_0x5886a3),new _0x3ae0e8('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x1dfb6c,unlinkedAt:_0x2c93da,context:_0x277026,attributes:_0x134d3f,isFromAdapter:_0x3ab0d0}){if('string'!=typeof _0x1dfb6c)throw new _0x3ae0e8('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1dfb6c});if(!this['hasCommentThread'](_0x1dfb6c))throw new _0x3ae0e8('commentsrepository-missing-comment-thread',null,{'threadId':_0x1dfb6c});const _0x72e980=this['getCommentThread'](_0x1dfb6c);let _0x512db0=!0x1;if(void 0x0!==_0x277026&&_0x72e980['context']!==_0x277026&&(_0x72e980['context']=_0x277026,_0x512db0=!0x0),void 0x0!==_0x2c93da&&_0x72e980['unlinkedAt']!==_0x2c93da&&(_0x72e980['unlinkedAt']=_0x2c93da,_0x512db0=!0x0),_0x134d3f&&!qr(_0x134d3f,_0x72e980['attributes'])&&(_0x72e980['attributes']=_0x134d3f,_0x512db0=!0x0),!_0x512db0)return Promise['resolve']();if(!_0x72e980['isSubmitted']||_0x3ab0d0||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x38a8f9=this['context']['plugins']['get']('PendingActions'),{channelId:_0x6f7012}=_0x72e980,_0x4b614f=_0x38a8f9['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x6f7012,'threadId':_0x1dfb6c,'context':_0x277026,'unlinkedAt':_0x2c93da,'attributes':_0x134d3f})['then'](()=>_0x38a8f9['remove'](_0x4b614f))['catch'](_0x5e46fd=>{throw console['error'](_0x5e46fd),new _0x3ae0e8('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x39ed9f){const _0x520f72=this['context']['plugins']['get'](Annotations),_0x3ed598=this['getCommentThread'](_0x39ed9f);if(_0x3ed598['_isAttached']=!0x1,this['_threadToController']['has'](_0x3ed598)){const _0x4362f1=this['_threadToController']['get'](_0x3ed598),_0x4c8cb3=_0x4362f1['view'],_0x2eb384=_0x520f72['getByInnerView'](_0x4c8cb3);this['_threadToController']['delete'](_0x3ed598),this['_viewToController']['delete'](_0x4c8cb3),_0x2eb384&&_0x520f72['remove'](_0x2eb384),_0x4362f1['destroy'](),_0x4c8cb3['destroy']()['then'](()=>{this['_unbindEditors'](_0x4c8cb3);});}}['_updateActiveAnnotation']({threadId:_0x39cf9a,resolvedAt:_0x3c407b,unlinkedAt:_0x54d274}){const _0x56a268=!!_0x3c407b,_0x132bdf=this['context']['plugins']['get'](Annotations),_0x41f89d=this['getCommentThread'](_0x39cf9a);if(this['_threadToController']['has'](_0x41f89d)){const _0x243dda=this['_threadToController']['get'](_0x41f89d)['view'],_0x1c11d5=_0x132bdf['getByInnerView'](_0x243dda);_0x1c11d5&&(_0x56a268&&_0x132bdf['_removeActiveAnnotation'](_0x1c11d5),_0x54d274?_0x1c11d5['isVisible']=!0x1:_0x1c11d5['refreshVisibility']());}}['_getExternalAuthor'](_0x3c1f47){const _0x148ca7=this['context']['plugins']['get'](Users),_0x1d26ff=Rd('external:'+_0x3c1f47),_0x45eb5b=_0x148ca7['getUser'](_0x1d26ff);return _0x45eb5b||_0x148ca7['addUser']({'id':_0x1d26ff,'name':_0x3c1f47});}['_createNewComment']({threadId:_0x106aa0,commentId:_0x1ab9d2=_0x462bc0(),content:_0xb179b3,authorId:_0x44053d,createdAt:_0x32c913,attributes:_0x43c67e}){if('string'!=typeof _0x1ab9d2)throw new _0x3ae0e8('commentsrepository-invalid-commentid');if('string'!=typeof _0x44053d)throw new _0x3ae0e8('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0xb179b3||!_0xb179b3['trim']())throw new _0x3ae0e8('commentsrepository-invalid-comment-content');const _0x1bda19=this['context']['plugins']['get'](Users)['getUser'](_0x44053d);if(!_0x1bda19)throw new _0x3ae0e8('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x44053d});let _0xa527b3=null,_0x46c853=_0x32c913;return _0x43c67e?.['@external']&&(_0xa527b3=this['_getExternalAuthor'](_0x43c67e['@external']['authorName']),_0x46c853=new Date(_0x43c67e['@external']['createdAt'])),new mg(this,{'threadId':_0x106aa0,'id':_0x1ab9d2,'author':_0xa527b3||_0x1bda19,'creator':_0x1bda19,'content':_0xb179b3,'createdAt':_0x32c913,'authoredAt':_0x46c853,'attributes':_0x43c67e});}['_addComment'](_0x30a128){let {threadId:_0x1df02d,content:_0x3cf1e7,attributes:_0x42f681,isFromAdapter:_0xadd21f}=_0x30a128;const _0x1c1355=this['getCommentThread'](_0x30a128['threadId']);if(!_0x1c1355)throw new _0x3ae0e8('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x27d344=this['_createNewComment'](_0x30a128),{id:_0x4d3d58}=_0x27d344;if(_0x1c1355['_add'](_0x27d344),_0xadd21f||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x1c1355['isSubmitted'])return Promise['resolve']();const _0x200ccf=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2696ed}=_0x1c1355,_0x4cbe00=_0x200ccf['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x42f681||(_0x42f681={}),this['adapter']['addComment']({'channelId':_0x2696ed,'threadId':_0x1df02d,'commentId':_0x4d3d58,'content':_0x3cf1e7,'attributes':_0x42f681})['then'](_0x430ddf=>{_0x200ccf['remove'](_0x4cbe00),_0x430ddf&&this['_updateComment']({'channelId':_0x2696ed,'threadId':_0x1df02d,'commentId':_0x4d3d58,'createdAt':_0x430ddf['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x7440e2=>{throw console['error'](_0x7440e2),new _0x3ae0e8('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x49afc6,commentId:_0x500693,content:_0x3af054,createdAt:_0x2189ea,attributes:_0x552048,isFromAdapter:_0x559322}){if(void 0x0!==_0x3af054&&('string'!=typeof _0x3af054||!_0x3af054['trim']()['length']))throw new _0x3ae0e8('commentsrepository-update-comment-invalid-content');const _0x49392e=this['getCommentThread'](_0x49afc6),_0x4ec34b=_0x49392e['getComment'](_0x500693);if(!_0x4ec34b)throw new _0x3ae0e8('commentsrepository-update-missing-comment',this);let _0xcd8e6d=!0x1;if(_0x3af054&&_0x3af054!==_0x4ec34b['content']&&(_0x4ec34b['isEditable']||_0x559322)&&(_0x4ec34b['content']=_0x3af054,_0xcd8e6d=!0x0),_0x2189ea&&_0x2189ea!==_0x4ec34b['createdAt']&&(_0x4ec34b['createdAt']=_0x2189ea,_0x4ec34b['attributes']&&_0x4ec34b['attributes']['@external']||(_0x4ec34b['authoredAt']=_0x2189ea),_0xcd8e6d=!0x0),_0x552048&&!qr(_0x552048,_0x4ec34b['attributes'])&&(_0x4ec34b['attributes']=_0x552048,_0xcd8e6d=!0x0),!_0xcd8e6d)return Promise['resolve']();if(_0x49392e['fire']('commentUpdated'),_0x559322||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x176b54=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2e89f3}=this['getCommentThread'](_0x4ec34b['threadId']),_0xcfd26f=_0x176b54['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x2e89f3,'threadId':_0x49afc6,'commentId':_0x500693,'content':_0x3af054,'attributes':_0x552048})['then'](()=>_0x176b54['remove'](_0xcfd26f))['catch'](_0x131302=>{throw console['error'](_0x131302),new _0x3ae0e8('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x3eac8a,commentId:_0x27b525,isFromAdapter:_0x15a011}){const _0x244768=this['getCommentThread'](_0x3eac8a),_0x49531f=_0x244768['getComment'](_0x27b525);if(!_0x49531f)throw new _0x3ae0e8('commentsrepository-remove-missing-comment',this);if(_0x244768['_remove'](_0x49531f),_0x15a011||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x22a455=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5e3f4f}=_0x244768,_0x2f3b69=_0x22a455['add'](ng(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x5e3f4f,'threadId':_0x3eac8a,'commentId':_0x27b525})['then'](()=>_0x22a455['remove'](_0x2f3b69))['catch'](_0xb8854a=>{throw console['error'](_0xb8854a),new _0x3ae0e8('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x18fa86(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x5a43c,_0x33e38e){super();const _0x576fe0=_0x33e38e['isResolvable'];this['channelId']=_0x33e38e['channelId'],this['id']=_0x33e38e['id'],this['comments']=new _0x307d11(),this['_repository']=_0x5a43c,this['_isAttached']=!0x1,this['_isSubmitted']=_0x33e38e['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x5a43c,'_permissions',_0x5a43c,'_readOnlyChannels',()=>_0x5a43c['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x5a43c,'_permissions',()=>_0x5a43c['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x5a43c,'_permissions',()=>{const _0x25a392=_0x5a43c['getPermissions'](this['channelId']);return _0x25a392['write']||_0x25a392['admin'];}),this['bind']('isResolvable')['to'](_0x5a43c,'_permissions',()=>_0x576fe0&&_0x5a43c['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x33e38e['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x4ecfd4,_0x46b28f)=>_0x4ecfd4?_0x46b28f?_0x4ecfd4<_0x46b28f?_0x4ecfd4:_0x46b28f:_0x4ecfd4:_0x46b28f),this['set']('unlinkedAt',_0x33e38e['unlinkedAt']||null),this['set']('resolvedAt',_0x33e38e['resolvedAt']||null),this['set']('resolvedBy',_0x33e38e['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x4c57c2=>!!_0x4c57c2),this['set']('attributes',_0x33e38e['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x1ade14,_0x3ad88e)=>_0x1ade14+_0x3ad88e['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x20324e,id:_0x102fa1}=this;this['_repository']['fire'](gg('submitCommentThread',_0x20324e),{'channelId':_0x20324e,'threadId':_0x102fa1});}['setUnlinkedAt'](_0x49042c){this['_update']({'unlinkedAt':_0x49042c});}['resolve']({resolvedAt:_0x5cfe17=new Date(),resolvedBy:_0x35e277='',isFromAdapter:_0x24876a=!0x1}={}){const _0x218dea=this['_repository']['context']['plugins']['get'](Users)['me'],{channelId:_0x24da36,id:_0x27b932}=this;this['_repository']['fire'](gg('resolveCommentThread',_0x24da36),{'channelId':_0x24da36,'threadId':_0x27b932,'resolvedAt':_0x5cfe17,'resolvedBy':_0x35e277||_0x218dea['id'],'isFromAdapter':_0x24876a});}['reopen']({isFromAdapter:_0x57e030=!0x1}={}){const {channelId:_0x234e28,id:_0x16e650}=this;this['_repository']['fire'](gg('reopenCommentThread',_0x234e28),{'channelId':_0x234e28,'threadId':_0x16e650,'isFromAdapter':_0x57e030});}['setContext'](_0x125c21){this['context']||this['_update']({'context':_0x125c21});}['setAttribute'](_0x5073a2,_0x4e2c37){const _0x34cab4=kr(this['attributes']);Ur(_0x34cab4,_0x5073a2,_0x4e2c37),this['_update']({'attributes':_0x34cab4});}['removeAttribute'](_0x28f8fd){const _0x41a858=kr(this['attributes']);$r(_0x41a858,_0x28f8fd),this['_update']({'attributes':_0x41a858});}['remove']({isFromAdapter:_0x52e00a=!0x1}={}){const {channelId:_0x518b8a,id:_0x30e1ab}=this;this['_repository']['fire'](gg('removeCommentThread',_0x518b8a),{'channelId':_0x518b8a,'threadId':_0x30e1ab,'isFromAdapter':_0x52e00a});}['attachTo'](_0x443cd2){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x443cd2});}['addComment'](_0xe22f19){const {channelId:_0x4380d9,id:_0x1d74a0}=this;this['_repository']['fire'](gg('addComment',_0x4380d9,_0x1d74a0),Object['assign']({'channelId':_0x4380d9,'threadId':_0x1d74a0},_0xe22f19));}['getComment'](_0x6484f9){if('string'!=typeof _0x6484f9)throw new _0x3ae0e8('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x6484f9});return this['comments']['get'](_0x6484f9);}['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'](_0x1d4599=>_0x1d4599['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3b2b5a){return this['listenTo'](_0x3b2b5a,'change:authoredAt',()=>{const _0xb8d5f2=this['_findOptimalIndex'](_0x3b2b5a),_0x270d08=this['comments'];_0xb8d5f2-0x1!=_0x270d08['getIndex'](_0x3b2b5a)&&_0xb8d5f2+0x1!=_0x270d08['getIndex'](_0x3b2b5a)&&(this['_remove'](_0x3b2b5a),this['_add'](_0x3b2b5a));}),this['comments']['add'](_0x3b2b5a,this['_findOptimalIndex'](_0x3b2b5a));}['_update'](_0x17977e){const {channelId:_0x3bcf53,id:_0x5b2c13}=this;this['_repository']['fire'](gg('updateCommentThread',_0x3bcf53),{..._0x17977e,'channelId':_0x3bcf53,'threadId':_0x5b2c13});}['_remove'](_0x12455b){return this['stopListening'](_0x12455b),_0x12455b['destroy'](),this['comments']['remove'](_0x12455b);}['_findOptimalIndex'](_0x17e4d0){const _0x31bfcd=this['comments']['find'](_0x353f71=>new Date(_0x353f71['authoredAt'])['getTime']()>new Date(_0x17e4d0['authoredAt'])['getTime']());return _0x31bfcd?this['comments']['getIndex'](_0x31bfcd):this['length'];}}let mg=class Comment extends/* #__PURE__ -- @preserve */
_0x18fa86(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x1de836,_0x15aa95){super();const _0x2afbc5=_0x1de836['context']['plugins']['get'](Users)['me'],_0x2b4261=_0x1de836['getCommentThread'](_0x15aa95['threadId']),_0x2c6dd1=0x0===_0x2b4261['comments']['length'],_0x36c9e3=_0x2afbc5===_0x15aa95['author'];this['id']=_0x15aa95['id'],this['threadId']=_0x15aa95['threadId'],this['author']=_0x15aa95['author'],this['creator']=_0x15aa95['creator'],this['isExternal']=Boolean(_0x15aa95['attributes']&&_0x15aa95['attributes']['@external']),this['set']('content',_0x15aa95['content']),this['createdAt']=_0x15aa95['createdAt']||new Date(),this['set']('authoredAt',_0x15aa95['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x2b4261,'resolvedAt'),this['set']('attributes',_0x15aa95['attributes']||{}),this['bind']('isEditable')['to'](_0x1de836,'_permissions',()=>{const _0x25d670=_0x1de836['getPermissions'](_0x2b4261['channelId'])['write'],_0x1896d2=_0x1de836['getPermissions'](_0x2b4261['channelId'])['modifyAll'];return _0x36c9e3&&_0x25d670||!_0x36c9e3&&_0x1896d2;}),this['bind']('isRemovable')['to'](_0x2b4261,'isRemovable',_0x1de836,'_permissions',_0x4c1690=>{const _0x4d248f=_0x1de836['getPermissions'](_0x2b4261['channelId'])['write'],_0x435fa1=_0x1de836['getPermissions'](_0x2b4261['channelId'])['modifyAll'];return _0x36c9e3&&_0x4d248f||_0x4c1690&&_0x2c6dd1||!_0x36c9e3&&_0x435fa1&&!_0x2c6dd1;}),this['bind']('isReadOnly')['to'](_0x2b4261,'isReadOnly'),this['_repository']=_0x1de836;}get['weight'](){return Math['max'](function(_0x23a820){const _0x2472d3=document['createElement']('div');return _0x2472d3['innerHTML']=_0x23a820,_0x2472d3['textContent']['length'];}(this['content']),0xc8);}['update'](_0x3544e4){const {threadId:_0x1b12a4,id:_0x23d9e4}=this;if(!this['_repository']['hasCommentThread'](_0x1b12a4))throw new _0x3ae0e8('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x3f8d11}=this['_repository']['getCommentThread'](_0x1b12a4);this['_repository']['fire'](gg('updateComment',_0x3f8d11,_0x1b12a4),{'channelId':_0x3f8d11,'threadId':_0x1b12a4,'commentId':_0x23d9e4,..._0x3544e4});}['setAttribute'](_0x44d4d7,_0x23f80d){const _0x35df7a=kr(this['attributes']);Ur(_0x35df7a,_0x44d4d7,_0x23f80d),this['update']({'attributes':_0x35df7a});}['removeAttribute'](_0x335e95){const _0x4ea212=kr(this['attributes']);$r(_0x4ea212,_0x335e95),this['update']({'attributes':_0x4ea212});}['remove'](_0x3ccf24={}){if(!_0x3ccf24['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x5b4de1,id:_0x10c19b}=this;if(!this['_repository']['hasCommentThread'](_0x5b4de1))throw new _0x3ae0e8('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x1373b8}=this['_repository']['getCommentThread'](_0x5b4de1);this['_repository']['fire'](gg('removeComment',_0x1373b8,_0x5b4de1),{'channelId':_0x1373b8,'threadId':_0x5b4de1,'commentId':_0x10c19b,..._0x3ccf24});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function gg(_0x50c3ce,..._0x3ea5a9){for(const _0x48b6f9 of _0x3ea5a9)void 0x0!==_0x48b6f9&&(_0x50c3ce+=':'+String(_0x48b6f9));return _0x50c3ce;}class AddCommentThreadCommand extends _0x4d9dc4{constructor(_0x52a2a0){super(_0x52a2a0),this['set']('hasContent',!0x1);}['refresh'](){const _0x35e00e=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x505ced of _0x35e00e['getRanges']())if(this['_hasContent'](_0x505ced))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x4dfbb4=_0x462bc0(),ranges:_0x52f677,comment:_0x1ed473}={}){const _0x30d1da=this['editor']['model'],_0x38b2ff=_0x52f677??Array['from'](_0x30d1da['document']['selection']['getRanges']()),_0x2a3820=[];for(const _0x3a63a1 of _0x38b2ff)this['_hasContent'](_0x3a63a1)&&_0x2a3820['push'](this['_trimToContent'](_0x3a63a1));if(!_0x2a3820['length'])throw new _0x3ae0e8('addcommentthreadcommand-incorrect-ranges',null);_0x1ed473&&this['_createCommentThread'](_0x4dfbb4,_0x1ed473),this['_createMarkersFromRanges'](_0x4dfbb4,_0x2a3820,!!_0x1ed473);}['_createMarkersFromRanges'](_0x4cf078,_0x5311db,_0x26218b){this['editor']['model']['change'](_0x903723=>{for(const _0x5ca506 of _0x5311db){const _0x351d8b=_0x462bc0()['substr'](0x1,0x5),_0x498e0e='comment:'+_0x4cf078+':'+_0x351d8b;_0x903723['addMarker'](_0x498e0e,{'range':_0x5ca506,'usingOperation':_0x26218b,'affectsData':_0x26218b});}});}['_createCommentThread'](_0xd6e44d,_0x31c0cd){const _0x468150=this['editor']['plugins']['get']('CommentsRepository'),_0x3630de=this['editor']['config']['get']('collaboration.channelId'),_0x4c635e=this['editor']['plugins']['get']('Users')['me'];if(!_0x4c635e)throw new _0x3ae0e8('addcommentthreadcommand-user-not-found',null);_0x468150['addCommentThread']({'threadId':_0xd6e44d,'channelId':_0x3630de,'comments':[{'authorId':_0x4c635e['id'],'content':_0x31c0cd,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x68fe67){for(const _0x293e28 of _0x68fe67['getItems']())if(this['_itemIsContent'](_0x293e28))return!0x0;return!0x1;}['_itemIsContent'](_0x1a0804){return _0x1a0804['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x1a0804)&&!_0x1a0804['is']('element','tableCell');}['_trimToContent'](_0x181d38){const _0x553f52=_0x1cca71=>!this['_itemIsContent'](_0x1cca71['item']),_0xf69dcf=_0x181d38['start']['getLastMatchingPosition'](_0x553f52),_0x3c10a6=_0x181d38['end']['getLastMatchingPosition'](_0x553f52,{'direction':'backward'});return this['editor']['model']['createRange'](_0xf69dcf,_0x3c10a6);}}class EditorAnnotations extends _0x7cf71c{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d7a6c){super(_0x4d7a6c),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x2e59f0=this['editor'],_0x4fc7d7=_0x2e59f0['model']['document']['selection'],_0xf4d41a=jr(()=>this['refreshSelectedViews'](),0xa);_0x4fc7d7['on']('change:range',(_0x2d9df9,_0x242557)=>{_0x242557['directChange']&&(_0xf4d41a['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x2e59f0['editing']['view']['document'],'change:isFocused',(_0x32024d,_0x456d9e,_0x21a161)=>{_0x21a161&&_0xf4d41a();}),this['listenTo'](_0x2e59f0['ui']['focusTracker'],'change:isFocused',(_0x2769e4,_0x244a7f,_0x19acfb)=>{_0x19acfb||this['fire']('blur',{'isAnnotationTracked':_0x30d8df=>this['_editorAnnotationsData']['has'](_0x30d8df['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x21ddee){if(this['_editorAnnotations']['has'](_0x21ddee['view']))return;this['_editorAnnotations']['add'](_0x21ddee['view']),this['editor']['ui']['focusTracker']['add'](_0x21ddee['view']['element']);const _0x3f0d7e=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x3f0d7e['collection'],'remove',(_0x1a0cfe,_0x1e93a7)=>{this['editor']['ui']['focusTracker']['remove'](_0x1e93a7['view']['element']),this['_editorAnnotations']['delete'](_0x1e93a7['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x476552){if('function'!=typeof _0x476552)throw new _0x3ae0e8('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x476552);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x168a91,annotations:_0x58a978}){const _0x540903=[],_0x653cda=this['editor']['model']['document']['selection'],_0x31f4df=Array['from'](_0x653cda['getRanges']());for(const [_0x1b478b,_0x1c362c]of this['_editorAnnotationsData']){const _0x129e98=_0x6d4d93(_0x1c362c),_0x1bea45=_0x58a978['getByInnerView'](_0x1b478b);_0x129e98&&_0x1bea45&&_0x540903['push']({'annotation':_0x1bea45,'range':_0x129e98});}function _0x6d4d93(_0x4e3bc5){for(const _0x24630a of _0x4e3bc5)for(const _0x5dd8ab of _0x31f4df)if(_0x24630a['containsRange'](_0x5dd8ab,!_0x653cda['isCollapsed']))return _0x24630a;return null;}return _0x540903['sort']((_0x289abf,_0x33a861)=>{const _0x2d1eaa=_0x289abf['range'],_0x3c98d5=_0x33a861['range'];if(!_0x2d1eaa['isEqual'](_0x3c98d5)){if(_0x2d1eaa['containsRange'](_0x3c98d5,!0x0))return 0x1;if(_0x3c98d5['containsRange'](_0x2d1eaa,!0x0))return-0x1;}return _0x289abf['annotation']==_0x168a91?-0x1:_0x33a861['annotation']==_0x168a91?0x1:0x0;})['map'](_0x9d0b74=>_0x9d0b74['annotation']);}get['_editorAnnotationsData'](){const _0x125cd2=new Map();for(const _0x5b51c6 of Array['from'](this['_dataCollectors']))for(const [_0x23feb8,_0x4951e8]of _0x5b51c6())_0x125cd2['set'](_0x23feb8,_0x4951e8);return _0x125cd2;}}class CommentsRestrictedEditingMode extends _0x7cf71c{['afterInit'](){const _0x10d029=this['editor'];if(!_0x10d029['plugins']['has']('RestrictedEditingModeEditing'))return;_0x10d029['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x7cf71c{constructor(_0x1f1552){super(_0x1f1552),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x49cdcb=this['editor'],_0x80dbd1=_0x49cdcb['commands']['get']('importWord'),_0x55c153=_0x49cdcb['plugins']['get'](Users);_0x80dbd1&&(_0x80dbd1['on']('execute',(_0x2e02f7,[,_0x44e7a5])=>{_0x44e7a5['collaboration_features']={'comments':!0x0,'user_id':_0x55c153['me']['id']};},{'priority':_0x387442['high']+0xa}),this['listenTo'](_0x80dbd1,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x1be115,_0x5a3f03){const {comment_threads:_0x14581e}=_0x5a3f03;_0x14581e&&_0x14581e['forEach'](({thread_id:_0x4f5523,comments:_0x2530f6,is_resolved:_0x5ae0cb})=>{const _0x804aa1=new Date(),_0x4227fb=_0x2530f6['map'](({author:_0x1ba1d9,content:_0x2c2d6a,created_at:_0x256919})=>({'content':_0x2c2d6a,'authorId':this['editor']['plugins']['get'](Users)['me']['id'],'createdAt':_0x804aa1,'attributes':{'@external':{'authorName':_0x1ba1d9,'createdAt':_0x256919?new Date(_0x256919):new Date(),'source':'importWord'}}})),_0x4aad7c=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x4aad7c,'threadId':_0x4f5523,'comments':_0x4227fb,'resolvedAt':_0x5ae0cb?_0x804aa1:null});});}}class CommentsClipboard extends _0x7cf71c{constructor(_0x36c902){super(_0x36c902),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x222849,_0xfaf27a];}['afterInit'](){const _0x49ab8b=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x49ab8b,'contentInsertion',(_0x11d2aa,_0x60b433)=>this['_removeMarkersWithoutThreads'](_0x60b433['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x2ea8f){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x2ea8f;const _0x1ba6ce=this['editor']['plugins']['get']('CommentsRepository');for(const _0x2f211f of _0x2ea8f['keys']()){const [_0x30d1c6,_0x2fde9a]=_0x2f211f['split'](':');'comment'!=_0x30d1c6||_0x1ba6ce['hasCommentThread'](_0x2fde9a)||_0x2ea8f['delete'](_0x2f211f);}return _0x2ea8f;}['_registerMarkerInClipboardPipeline'](){const _0x1d3f0=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x2e38b1=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x2e38b1&&_0x1d3f0['_registerMarkerToCopy']('comment',_0x2e38b1);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0xe504ef){switch(_0xe504ef){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function pg(_0x4a34de){const _0x56fd20=_0x4a34de['split'](':');return{'group':_0x56fd20[0x0],'id':_0x56fd20[0x1],'part':_0x56fd20[0x2]};}class ShowCommentHighlights extends _0x7cf71c{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x5b8ac2,_0x2c9f27)=>{if(!_0x2c9f27['options']['showCommentHighlights'])return null;if(_0x2c9f27['options']['ignoreResolvedComments']){const {id:_0x556454}=pg(_0x5b8ac2['markerName']),_0x3e3ef5=this['editor']['plugins']['get'](CommentsRepository);if(_0x3e3ef5['getCommentThread'](_0x556454)?.['isResolved']&&_0x5b8ac2['item'])return _0x2c9f27['consumable']['consume'](_0x5b8ac2['item'],'addMarker:'+_0x5b8ac2['markerName']),_0x2c9f27['consumable']['consume'](_0x5b8ac2['item'],'removeMarker:'+_0x5b8ac2['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4d265e=>{_0x4d265e['on']('addMarker:comment',(_0xb1a279,_0x309736,_0x35d760)=>{if(!_0x35d760['options']['showCommentHighlights'])return;const _0x28bc39=_0x309736['item'];if(!_0x28bc39)return;const _0x2710dc=_0x35d760['mapper']['toViewElement'](_0x28bc39);this['editor']['model']['schema']['isObject'](_0x28bc39)&&_0x2710dc&&!_0x2710dc['getCustomProperty']('widget')&&_0x2710dc['is']('containerElement')&&_0x5eb950(_0x2710dc,_0x35d760['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4b307e,{writer:_0x127489,options:_0x3fb9fc})=>{if(!_0x3fb9fc['showCommentHighlights'])return null;const _0x3cd59d=_0x127489['createContainerElement']('div'),_0x4fc4d8=_0x127489['createEmptyElement']('hr');return _0x127489['addClass']('ck-horizontal-line',_0x3cd59d),_0x127489['insert'](_0x127489['createPositionAt'](_0x3cd59d,0x0),_0x4fc4d8),_0x3cd59d;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x1b75d2,{writer:_0xad540d,options:_0x3b7464})=>{if(!_0x3b7464['showCommentHighlights'])return null;const _0x14212f=_0xad540d['createContainerElement']('span'),_0x4c9037=_0xad540d['createEmptyElement']('img');return _0xad540d['addClass']('image-inline',_0x14212f),_0xad540d['insert'](_0xad540d['createPositionAt'](_0x14212f,0x0),_0x4c9037),_0x14212f;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x199efd,{writer:_0x4ba14a,options:_0x9ccb9b})=>{if(_0x9ccb9b['showCommentHighlights'])return _0x4ba14a['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x329511,_0x4cea7e,_0x3634ca)=>{_0x3634ca['options']['showCommentHighlights']&&_0x329511['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x7cf71c{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(_0x52d5a1){super(_0x52d5a1),this['set']('isThreadsLoadingPaused',!0x0),_0x52d5a1['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x1ea2dc,_0x435292,_0xa1be1f,_0x565192)=>{const _0x435cb8=_0x52d5a1['plugins']['get'](CommentsRepository),_0x3c82d7=_0xa1be1f?pg(_0xa1be1f)['id']:null;_0x52d5a1['model']['change'](()=>{if(_0x3c82d7){const _0x91ad6a=this['getAllMarkersForId'](_0x3c82d7);for(const _0xbf35bd of _0x91ad6a)_0x52d5a1['editing']['reconvertMarker'](_0xbf35bd);}if(_0x565192){const {id:_0x19d469}=pg(_0x565192),_0x70f56c=_0x435cb8['getCommentThread'](_0x19d469);if(_0x70f56c&&_0x70f56c['unlinkedAt'])return;if(_0x70f56c&&!_0x70f56c['isAttached'])return;const _0x576573=this['getAllMarkersForId'](_0x19d469);for(const _0x545e67 of _0x576573)_0x52d5a1['editing']['reconvertMarker'](_0x545e67);}}),_0x3c82d7&&this['scrollToThreadMarker'](_0x3c82d7);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x4b196c=this['editor'],_0x3a5090=_0x4b196c['plugins']['get'](CommentsRepository),_0x2a1a4e=_0x4b196c['config']['get']('collaboration.channelId'),_0x120dbb=_0x3a5090['getCommentThreads']()['filter'](_0x41bc16=>_0x41bc16['channelId']!==_0x2a1a4e);_0x4b196c['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x4b196c)),this['listenTo'](_0x4b196c,'change:isReadOnly',(_0xb53734,_0x74d9f7,_0x5c7309)=>{_0x3a5090['switchReadOnly'](_0x5c7309,_0x4b196c['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x3a5090,Og('addCommentThread',_0x2a1a4e),(_0x3e9d75,{threadId:_0x189c78})=>{const _0x11a492=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x189c78);_0x11a492?.['unlinkedAt']&&this['_attachArchivedThread'](_0x189c78);}),this['listenTo'](_0x3a5090,Og('removeCommentThread',_0x2a1a4e),(_0x5e2738,{threadId:_0x761b1b})=>{_0x4b196c['model']['enqueueChange']({'isUndoable':!0x1},_0x54f306=>{const _0xd8babd=this['getAllMarkersForId'](_0x761b1b);for(const _0x18e794 of _0xd8babd)_0x54f306['removeMarker'](_0x18e794);});}),this['listenTo'](_0x3a5090,Og('resolveCommentThread',_0x2a1a4e),(_0x56500,{threadId:_0x56205f})=>{this['_reconvertMarkers'](_0x56205f);const _0x16e724=this['editor']['plugins']['get'](Annotations);(this['editor']['editing']['view']['hasDomSelection']||_0x16e724['collection']['isFocused'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x56205f)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x3a5090,Og('reopenCommentThread',_0x2a1a4e),(_0x1562fe,{threadId:_0x5056f6})=>{this['_reconvertMarkers'](_0x5056f6);},{'priority':'low'}),this['listenTo'](_0x3a5090,Og('addComment',_0x2a1a4e),(_0x5ec748,{threadId:_0x3bbc8a,isFromAdapter:_0x548571})=>{const _0x2c5180=this['getAllMarkersForId'](_0x3bbc8a);if(_0x548571||0x0==_0x2c5180['length']||!_0x3a5090['hasCommentThread'](_0x3bbc8a))return;0x1===_0x3a5090['getCommentThread'](_0x3bbc8a)['length']&&_0x4b196c['model']['enqueueChange']({'isUndoable':!0x1},_0x1dd0cf=>{for(const _0x47be78 of _0x2c5180)_0x1dd0cf['updateMarker'](_0x47be78,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x120dbb);}['afterInit'](){!async function(_0x50192f){const _0x587666=_0x1ee9a8([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]),_0x33e3d8=0x73460ab3,_0x3e00c7=0x734180db^_0x33e3d8,_0x5ea6d2=window[_0x1ee9a8([0x44,0x61,0x74,0x65])][_0x1ee9a8([0x6e,0x6f,0x77])](),_0x46f9f8=_0x50192f[_0x1ee9a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39ec9a=new window[(_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1934e6=>{_0x46f9f8[_0x1ee9a8([0x6f,0x6e,0x63,0x65])](_0x1ee9a8([0x72,0x65,0x61,0x64,0x79]),_0x1934e6);}),_0x373a75={[_0x1ee9a8([0x6b,0x74,0x79])]:_0x1ee9a8([0x45,0x43]),[_0x1ee9a8([0x75,0x73,0x65])]:_0x1ee9a8([0x73,0x69,0x67]),[_0x1ee9a8([0x63,0x72,0x76])]:_0x1ee9a8([0x50,0x2d,0x32,0x35,0x36]),[_0x1ee9a8([0x78])]:_0x1ee9a8([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]),[_0x1ee9a8([0x79])]:_0x1ee9a8([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]),[_0x1ee9a8([0x61,0x6c,0x67])]:_0x1ee9a8([0x45,0x53,0x32,0x35,0x36])},_0x33d14d=_0x46f9f8[_0x1ee9a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ee9a8([0x67,0x65,0x74])](_0x1ee9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc2cb5c(){let _0x1b11fe,_0xb0fdc5=null,_0x478976=null;try{if(_0x33d14d==_0x1ee9a8([0x47,0x50,0x4c]))return _0x1ee9a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b11fe=_0x40f1aa(),!_0x1b11fe)return _0x1ee9a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b11fe[_0x1ee9a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x478976=_0xc925ab(_0x1b11fe[_0x1ee9a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b11fe[_0x1ee9a8([0x6a,0x74,0x69])])),await _0x4ed2f3()?_0x24b225()?_0x2f739b()?_0x1ee9a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e55b5()?(_0x1b11fe[_0x1ee9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ee9a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb0fdc5=_0xc1f275(_0x1ee9a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f531c()):_0x1ee9a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ee9a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ee9a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ee9a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f739b(){const _0x1bf018=[_0x1ee9a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ee9a8([0x74,0x72,0x69,0x61,0x6c])][_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b11fe[_0x1ee9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ea6d2/0x3e8:0xe10*_0x3e00c7;return _0x1b11fe[_0x1ee9a8([0x65,0x78,0x70])]<_0x1bf018;}function _0x24b225(){const _0x5ed1fe=_0x1b11fe[_0x1ee9a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5ed1fe)return!0x1;if(_0x5ed1fe[_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee9a8([0x2a])))return!0x0;if(_0x5ed1fe[_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee9a8([0x43,0x4d,0x54])))return!0x0;if(_0x5ed1fe[_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee9a8([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x1c99f4())return!0x0;if(_0x5ed1fe[_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee9a8([0x52,0x43,0x4d,0x54]))){if(_0x50cc96())return!0x0;if(_0x4ecd05()||_0x301e93())return!0x0;}return!0x1;}function _0x4e55b5(){const _0x49ab86=_0x1b11fe[_0x1ee9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49ab86||0x0==_0x49ab86[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8b63d5}=new URL(window[_0x1ee9a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49ab86[_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b63d5))return!0x0;const _0x3cdfb6=_0x8b63d5[_0x1ee9a8([0x73,0x70,0x6c,0x69,0x74])](_0x1ee9a8([0x2e]));return _0x49ab86[_0x1ee9a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5308db=>_0x5308db[_0x1ee9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee9a8([0x2a])))[_0x1ee9a8([0x6d,0x61,0x70])](_0x5286cf=>_0x5286cf[_0x1ee9a8([0x73,0x70,0x6c,0x69,0x74])](_0x1ee9a8([0x2e])))[_0x1ee9a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x183596=>_0x183596[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cdfb6[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ee9a8([0x6d,0x61,0x70])](_0xc4aa55=>Array(_0x3cdfb6[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc4aa55[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ee9a8([0x66,0x69,0x6c,0x6c])](_0xc4aa55[0x0]===_0x1ee9a8([0x2a])?_0x1ee9a8([0x2a]):'')[_0x1ee9a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc4aa55))[_0x1ee9a8([0x73,0x6f,0x6d,0x65])](_0x13c6cb=>_0x3cdfb6[_0x1ee9a8([0x65,0x76,0x65,0x72,0x79])]((_0x707a23,_0x8dcf8c)=>_0x13c6cb[_0x8dcf8c]===_0x707a23||_0x13c6cb[_0x8dcf8c]===_0x1ee9a8([0x2a])));}function _0x5f531c(){return _0xb0fdc5&&_0x478976?new window[(_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x231358,_0x28b847)=>{_0xb0fdc5[_0x1ee9a8([0x74,0x68,0x65,0x6e])](_0x231358,_0x28b847),_0x478976[_0x1ee9a8([0x74,0x68,0x65,0x6e])](_0x37c1d3=>{_0x37c1d3!=_0x1ee9a8([0x56,0x61,0x6c,0x69,0x64])&&_0x231358(_0x37c1d3);},_0x28b847);}):_0xb0fdc5||_0x478976||_0x1ee9a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc925ab(_0x12fbce,_0x286a18){return new window[(_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x444ad8=>{if(_0x290a13())return _0x444ad8(_0x1ee9a8([0x56,0x61,0x6c,0x69,0x64]));_0x46842b(),_0x46f9f8[_0x1ee9a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ee9a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15f6f8=!0x1;const _0x38948c=_0x462bc0();function _0x34964f(_0x9efe13){return!!_0x9efe13&&(typeof _0x9efe13===_0x1ee9a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9efe13===_0x1ee9a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9efe13[_0x1ee9a8([0x74,0x68,0x65,0x6e])]===_0x1ee9a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9efe13[_0x1ee9a8([0x63,0x61,0x74,0x63,0x68])]===_0x1ee9a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e543f(_0x3f6961){_0x562524(_0x3f6961)[_0x1ee9a8([0x74,0x68,0x65,0x6e])](_0x1364c7=>{if(!_0x1364c7||_0x1364c7[_0x1ee9a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ee9a8([0x6f,0x6b]))return _0x1ee9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27bf93(_0x25890d(_0x38948c+_0x286a18))!=_0x1364c7[_0x1ee9a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ee9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ee9a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ee9a8([0x74,0x68,0x65,0x6e])](_0x1b4130=>(_0x1686fd(),_0x1b4130),()=>{const _0x4f45fb=_0x3b850d();return null==_0x4f45fb?(_0x1686fd(),_0x1ee9a8([0x56,0x61,0x6c,0x69,0x64])):_0x1ee9a8(_0x5ea6d2-_0x4f45fb>(0x574a8eb3^_0x33e3d8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ee9a8([0x74,0x68,0x65,0x6e])](_0x444ad8)[_0x1ee9a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x444ad8(_0x1ee9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2955eb=0x7370e433^_0x33e3d8;function _0x1686fd(){const _0x1e4784=_0x1ee9a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x27bf93(_0x25890d(_0x12fbce)),_0x146e58=_0x44c8fd(_0x27bf93(window[_0x1ee9a8([0x4d,0x61,0x74,0x68])][_0x1ee9a8([0x63,0x65,0x69,0x6c])](_0x5ea6d2/_0x2955eb)));window[_0x1ee9a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ee9a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e4784,_0x146e58);}function _0x3b850d(){const _0x13b399=_0x1ee9a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x27bf93(_0x25890d(_0x12fbce)),_0x2de8ff=window[_0x1ee9a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ee9a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13b399);return _0x2de8ff?window[_0x1ee9a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44c8fd(_0x2de8ff),0x10)*_0x2955eb:null;}function _0x562524(_0x1de769){return new window[(_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16bf65,_0xe9c37d)=>{_0x1de769[_0x1ee9a8([0x74,0x68,0x65,0x6e])](_0x16bf65,_0xe9c37d),window[_0x1ee9a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe9c37d,0x7347de73^_0x33e3d8);});}}_0x46f9f8[_0x1ee9a8([0x6f,0x6e])](_0x1ee9a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51893e,_0x37ccef)=>{if(_0x37ccef[0x0]!=_0x12fbce)return _0x444ad8(_0x1ee9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37ccef[0x1]={..._0x37ccef[0x1],[_0x1ee9a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38948c};},{[_0x1ee9a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ee9a8([0x68,0x69,0x67,0x68])}),_0x46f9f8[_0x1ee9a8([0x6f,0x6e])](_0x1ee9a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x193ac9=>{_0x34964f(_0x193ac9[_0x1ee9a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15f6f8=!0x0,_0x2e543f(_0x193ac9[_0x1ee9a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ee9a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ee9a8([0x6c,0x6f,0x77])}),_0x39ec9a[_0x1ee9a8([0x74,0x68,0x65,0x6e])](()=>{_0x15f6f8||_0x444ad8(_0x1ee9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x290a13(){return _0x46f9f8[_0x1ee9a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ee9a8([0x76,0x69,0x65,0x77])][_0x1ee9a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ee9a8([0x61,0x75,0x74,0x6f]);}function _0x46842b(){_0x46f9f8[_0x1ee9a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ee9a8([0x76,0x69,0x65,0x77])][_0x1ee9a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ee9a8([0x61,0x75,0x74,0x6f]);}}function _0xc1f275(_0x4e3a89){const _0x19e344=[new window[(_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x378bcf=>setTimeout(_0x378bcf,0x734f347f^_0x33e3d8)),_0x39ec9a[_0x1ee9a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x459321=>{let _0x5333ff=0x0;_0x46f9f8[_0x1ee9a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ee9a8([0x6f,0x6e])](_0x1ee9a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c6e6b,_0x4e4966)=>{_0x4e4966[0x0][_0x1ee9a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5333ff++,_0x5333ff==(0x73460f5b^_0x33e3d8)&&(_0x459321(),_0x2c6e6b[_0x1ee9a8([0x6f,0x66,0x66])]());});}))];return window[_0x1ee9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ee9a8([0x72,0x61,0x63,0x65])](_0x19e344)[_0x1ee9a8([0x74,0x68,0x65,0x6e])](()=>_0x4e3a89);}async function _0x4feaaa(){await _0x39ec9a,_0x46f9f8[_0x1ee9a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ee9a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x148452,_0x46f9f8[_0x1ee9a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ee9a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x148452,_0x46f9f8[_0x1ee9a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ee9a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c99f4(){return window[_0x1ee9a8([0x67,0x6c,0x6f,0x62])]&&window[_0x1ee9a8([0x67,0x6c,0x6f,0x62])][_0x1ee9a8([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x50cc96(){return _0x381cc8(_0x1ee9a8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x27d431(_0x1ee9a8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1ee9a8([0x73,0x74,0x61,0x74,0x65])]==_0x1ee9a8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4ecd05(){return _0x381cc8(_0x1ee9a8([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 _0x301e93(){return _0x381cc8(_0x1ee9a8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1a959a(_0x28276d){const _0x326dc3=_0x910b18();_0x46f9f8[_0x326dc3]=_0x1ee9a8([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28276d,_0x28276d!=_0x1ee9a8([0x56,0x61,0x6c,0x69,0x64])&&_0x4feaaa();}function _0x910b18(){const _0x217cc1=window[_0x1ee9a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ee9a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ee9a8([0x6e,0x6f,0x77])]())[_0x1ee9a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ee9a8([0x2e]),'');let _0x59c4a5=_0x1ee9a8([0x4b]);for(let _0x4cdc23=0x0;_0x4cdc23<_0x217cc1[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cdc23+=0x2){let _0x3526f7=window[_0x1ee9a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x217cc1[_0x1ee9a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cdc23,_0x4cdc23+0x2));_0x3526f7>=_0x587666[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3526f7-=_0x587666[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59c4a5+=_0x587666[_0x3526f7];}return _0x59c4a5;}function _0x40f1aa(){const _0x524d01=_0x33d14d[_0x1ee9a8([0x73,0x70,0x6c,0x69,0x74])](_0x1ee9a8([0x2e]));if(0x3!=_0x524d01[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5207b8(_0x524d01[0x1]);function _0x5207b8(_0x4597b0){const _0x260f1b=_0x2a84a9(_0x4597b0);return _0x260f1b&&_0x5e7f3d()?_0x260f1b:null;function _0x5e7f3d(){const _0x1458e0=_0x260f1b[_0x1ee9a8([0x6a,0x74,0x69])],_0x4b4463=window[_0x1ee9a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1458e0[_0x1ee9a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1458e0[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38876e={..._0x260f1b,[_0x1ee9a8([0x6a,0x74,0x69])]:_0x1458e0[_0x1ee9a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1458e0[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38876e[_0x1ee9a8([0x76,0x63])],_0x25890d(_0x38876e)==_0x4b4463;}}}async function _0x4ed2f3(){let _0x59930b=!0x0;try{const _0x118c13=_0x33d14d[_0x1ee9a8([0x73,0x70,0x6c,0x69,0x74])](_0x1ee9a8([0x2e])),[_0x507587,_0x2fccd5,_0x320dee]=_0x118c13;return _0x7966ad(_0x507587),await _0x29ecb7(_0x507587,_0x2fccd5,_0x320dee),_0x59930b;}catch{return!0x1;}function _0x7966ad(_0x4fb9f0){const _0x458672=_0x2a84a9(_0x4fb9f0);_0x458672&&_0x458672[_0x1ee9a8([0x61,0x6c,0x67])]==_0x1ee9a8([0x45,0x53,0x32,0x35,0x36])||(_0x59930b=!0x1);}async function _0x29ecb7(_0x251533,_0x2ab4a1,_0x21c330){const _0x235208=window[_0x1ee9a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ee9a8([0x66,0x72,0x6f,0x6d])](_0xc50d0e(_0x21c330),_0x517f2d=>_0x517f2d[_0x1ee9a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32806e=new window[(_0x1ee9a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ee9a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x251533+_0x1ee9a8([0x2e])+_0x2ab4a1),_0x56e3fd=window[_0x1ee9a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ee9a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56e3fd)return;const _0x49ff0d=await _0x56e3fd[_0x1ee9a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ee9a8([0x6a,0x77,0x6b]),_0x373a75,{[_0x1ee9a8([0x6e,0x61,0x6d,0x65])]:_0x1ee9a8([0x45,0x43,0x44,0x53,0x41]),[_0x1ee9a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ee9a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ee9a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56e3fd[_0x1ee9a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ee9a8([0x6e,0x61,0x6d,0x65])]:_0x1ee9a8([0x45,0x43,0x44,0x53,0x41]),[_0x1ee9a8([0x68,0x61,0x73,0x68])]:{[_0x1ee9a8([0x6e,0x61,0x6d,0x65])]:_0x1ee9a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49ff0d,_0x235208,_0x32806e)||(_0x59930b=!0x1);}}function _0x2a84a9(_0x182e43){return _0x182e43[_0x1ee9a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ee9a8([0x65,0x79]))?JSON[_0x1ee9a8([0x70,0x61,0x72,0x73,0x65])](_0xc50d0e(_0x182e43)):null;}function _0xc50d0e(_0x4fb11e){return window[_0x1ee9a8([0x61,0x74,0x6f,0x62])](_0x4fb11e[_0x1ee9a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ee9a8([0x2b]))[_0x1ee9a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ee9a8([0x2f])));}function _0x25890d(_0x8915d0){let _0x3c599f=0x1505;function _0xab9352(_0x27ab6d){for(let _0x406898=0x0;_0x406898<_0x27ab6d[_0x1ee9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x406898++){const _0x3d9be0=_0x27ab6d[_0x1ee9a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x406898);_0x3c599f=(_0x3c599f<<0x5)+_0x3c599f+_0x3d9be0,_0x3c599f&=_0x3c599f;}}function _0xda10ef(_0x2f704d){Array[_0x1ee9a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f704d)?_0x2f704d[_0x1ee9a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xda10ef):_0x2f704d&&typeof _0x2f704d==_0x1ee9a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ee9a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f704d)[_0x1ee9a8([0x73,0x6f,0x72,0x74])]()[_0x1ee9a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x177697,_0x1bbaba])=>{_0xab9352(_0x177697),_0xda10ef(_0x1bbaba);}):_0xab9352(window[_0x1ee9a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f704d));}return _0xda10ef(_0x8915d0),_0x3c599f>>>0x0;}function _0x27bf93(_0x4b24c7){return _0x4b24c7[_0x1ee9a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ee9a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ee9a8([0x30]));}function _0x44c8fd(_0x2ff63d){return _0x2ff63d[_0x1ee9a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ee9a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ee9a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x381cc8(_0x2187db){return _0x46f9f8[_0x1ee9a8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1ee9a8([0x68,0x61,0x73])](_0x2187db);}function _0x27d431(_0x3a4c4a){return _0x46f9f8[_0x1ee9a8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1ee9a8([0x67,0x65,0x74])](_0x3a4c4a);}function _0x148452(){}function _0x1ee9a8(_0xdbe1d9){return _0xdbe1d9['map'](_0x171d16=>String['fromCharCode'](_0x171d16))['join']('');}_0x1a959a(await _0xc2cb5c());}(this);}['destroy'](){const _0x1c58c5=this['editor']['plugins']['get'](CommentsRepository),_0x38a185=this['editor']['config']['get']('collaboration.channelId');for(const _0x1c54d7 of _0x1c58c5['getCommentThreads']({'channelId':_0x38a185}))_0x1c58c5['_detachCommentThread'](_0x1c54d7['id']),_0x1c58c5['_threads']['delete'](_0x1c54d7['id']);super['destroy']();}['hasMarkerForId'](_0x475288){return this['getAllMarkersForId'](_0x475288)['length']>0x0;}['getAllMarkersForId'](_0x197ce3){const _0x2386f0=[];for(const _0x28940c of this['editor']['model']['markers'])_0x28940c['name']['startsWith']('comment:'+_0x197ce3)&&_0x2386f0['push'](_0x28940c);return _0x2386f0;}['scrollToThreadMarker'](_0x45d94c){setTimeout(()=>{const _0x53c839=this['_getTargetForId'](_0x45d94c);if(!_0x53c839)return;this['activeMarker']&&pg(this['activeMarker'])['id']===_0x45d94c&&_0x32a032({'target':_0x53c839[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0xbbdb1a){this['editor']['model']['change'](()=>{for(const _0x4a66cc of this['getAllMarkersForId'](_0xbbdb1a))this['editor']['editing']['reconvertMarker'](_0x4a66cc);});}['_attachArchivedThread'](_0x41bc13){const _0x4c3ac5=this['editor']['plugins']['get'](CommentsRepository),_0x36c35c=this['editor']['plugins']['get'](EditorAnnotations),_0x30c1f4=_0x4c3ac5['getCommentThread'](_0x41bc13);if(!_0x30c1f4['isAttached']){const _0x10045b=_0x30c1f4['attachTo'](()=>this['_getTargetForId'](_0x30c1f4['id']));_0x36c35c['registerAnnotation'](_0x10045b),_0x30c1f4['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x1163f8=this['editor'],_0x15b440=_0x1163f8['plugins']['get'](Users);_0x1163f8['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x3e488d,_0x4ba37e)=>{const {id:_0x5b4053}=pg(_0x3e488d['markerName']),_0x5b72c0=_0x1163f8['plugins']['get'](CommentsRepository)['getCommentThread'](_0x5b4053),_0x33652e=this['activeMarker']&&pg(this['activeMarker'])['id']===_0x5b4053;let _0x45e7e5;if(_0x5b72c0&&_0x5b72c0['isResolved']&&!_0x33652e&&_0x3e488d['item'])return _0x4ba37e['consumable']['consume'](_0x3e488d['item'],'addMarker:'+_0x3e488d['markerName']),_0x4ba37e['consumable']['consume'](_0x3e488d['item'],'removeMarker:'+_0x3e488d['markerName']),null;const _0x3c8859=['ck-comment-marker'];return _0x33652e&&_0x3c8859['push']('ck-comment-marker--active'),_0x45e7e5=_0x5b72c0?.['length']?_0x5b72c0['comments']['first']['author']['id']:_0x15b440['me']['id'],{'classes':_0x3c8859,'attributes':{'data-comment':_0x5b4053,'data-author-id':_0x45e7e5}};}}),_0x1163f8['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x4be526,{options:_0x503be9})=>{if(_0x503be9['showCommentHighlights'])return null;const _0x594cea=_0x1163f8['plugins']['get'](CommentsRepository),_0x2635b5=_0x1163f8['model']['markers']['get'](_0x4be526),{id:_0x4acd57,part:_0xb1cd38}=pg(_0x4be526);return _0x2635b5&&!_0x2635b5['affectsData']||_0x503be9['ignoreResolvedComments']&&_0x594cea['getCommentThread'](_0x4acd57)?.['isResolved']?null:{'group':'comment','name':_0xb1cd38?_0x4acd57+':'+_0xb1cd38:_0x4acd57};}}),_0x1163f8['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x190ab0,{writer:_0x3bf808})=>_0x3bf808['createElement']('$marker',{'data-name':'comment:'+_0x190ab0['getAttribute']('id')})}),_0x1163f8['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x418efe=this['editor'],_0x42653e=_0x418efe['plugins']['get'](CommentsRepository),_0xdd453b=new Set(),_0x32a749=new Set();_0x418efe['model']['document']['registerPostFixer'](_0xff7d6d=>{let _0x23ef04=!0x1;for(const {name:_0x3c425b,data:_0x1b2c2c}of _0x418efe['model']['document']['differ']['getChangedMarkers']()){const {group:_0x381679,id:_0xd13704}=pg(_0x3c425b);let _0x5a252c=_0x1b2c2c['newRange'];if('comment'!==_0x381679||!_0x5a252c)continue;const _0x2de176='$graveyard'===_0x5a252c['root']['rootName'];_0x2de176||(_0x5a252c=wg(_0x5a252c,_0x418efe['model']),!_0x5a252c||_0x5a252c['isCollapsed']||!_0x1b2c2c['newRange']||_0x5a252c['isEqual'](_0x1b2c2c['newRange']))?_0x418efe['model']['hasContent'](_0x5a252c)&&!_0x2de176?this['isThreadsLoadingPaused']?_0xdd453b['add'](_0x3c425b):this['_handleThreadMarker'](_0x3c425b,_0xd13704):(_0x32a749['add'](_0x3c425b),_0xdd453b['delete'](_0x3c425b),_0xff7d6d['removeMarker'](_0x3c425b),_0x23ef04=!0x0):(_0xff7d6d['updateMarker'](_0x3c425b,{'range':_0x5a252c}),_0x23ef04=!0x0);}return _0x23ef04;}),this['on']('change:isThreadsLoadingPaused',(_0x134db6,_0x173250,_0x5aaa71)=>{if(!_0x5aaa71&&_0xdd453b['size'])for(const _0x11f566 of _0xdd453b){const {id:_0x431ff7}=pg(_0x11f566);_0xdd453b['delete'](_0x11f566),_0x418efe['model']['markers']['get'](_0x11f566)&&this['_handleThreadMarker'](_0x11f566,_0x431ff7);}}),this['listenTo'](_0x418efe['model']['document'],'change',()=>{for(const {name:_0x5c9c79,data:{newRange:_0x4d37bc}}of _0x418efe['model']['document']['differ']['getChangedMarkers']()){const {group:_0x1c7137,id:_0x3c1665}=pg(_0x5c9c79);if('comment'!==_0x1c7137)continue;const _0x23fbc8=_0x42653e['getCommentThread'](_0x3c1665),_0x4404be=this['hasMarkerForId'](_0x3c1665);_0x23fbc8&&(!_0x23fbc8['_hasTargetInContent']&&_0x4d37bc&&_0x418efe['editing']['view']['once']('render',()=>{const _0x61bb49=_0x418efe['plugins']['get'](Annotations),_0x115938=_0x42653e['_threadToController']['get'](_0x23fbc8)['view'];_0x61bb49['getByInnerView'](_0x115938)['refreshVisibility']();},{'priority':'low'}),_0x23fbc8['_hasTargetInContent']=_0x4404be||!!_0x4d37bc),_0x4d37bc||(_0x32a749['add'](_0x5c9c79),_0xdd453b['delete'](_0x5c9c79));}for(const _0x19de39 of _0x32a749){const {id:_0x4d2c75}=pg(_0x19de39),_0x53436e=_0x42653e['getCommentThread'](_0x4d2c75);if(_0xdd453b['delete'](_0x19de39),!_0x53436e)continue;const _0x553e39=this['hasMarkerForId'](_0x4d2c75);_0x553e39||_0x53436e['isSubmitted']?_0x553e39||_0x53436e['unlinkedAt']||_0x53436e['setUnlinkedAt'](new Date()):_0x53436e['remove']();}_0x32a749['clear']();});}['_handleInitialThreads'](_0x1f8329){_0x1f8329['forEach'](_0x545385=>{_0x545385['unlinkedAt']&&this['_attachArchivedThread'](_0x545385['id']);});}['_getTargetForId'](_0x2c9e51){const _0x4d244f=this['editor'],_0x16f01c=this['getAllMarkersForId'](_0x2c9e51);return Id(_0x4d244f['editing'],_0x16f01c);}['_getTextContext'](_0xa70569){const _0x11f83b=this['getAllMarkersForId'](_0xa70569);let _0x53ab1e='',_0x5df9a5=!0x1;for(const _0x497a48 of _0x11f83b){const _0x569403=_0x497a48['getRange']();for(const _0x4fc93e of Array['from'](_0x569403['getItems']()))_0x4fc93e['is']('$textProxy')?(_0x53ab1e&&_0x5df9a5&&(_0x53ab1e+='\x20',_0x5df9a5=!0x1),_0x53ab1e+=_0x4fc93e['data']):_0x5df9a5=!0x0;_0x5df9a5=!0x0;}return _0x53ab1e['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x3353ee,_0x435992){const _0x2ff3a7=this['editor'],_0x1c3a2f=_0x2ff3a7['plugins']['get'](CommentsRepository);let _0x240967=_0x1c3a2f['getCommentThread'](_0x435992);const _0xa7004c=_0x2ff3a7['config']['get']('collaboration.channelId'),_0x29d8fa=_0x2ff3a7['plugins']['get'](EditorAnnotations);if(_0x240967&&(_0x240967['unlinkedAt']&&_0x240967['setUnlinkedAt'](null),_0x240967['isAttached']))return _0x240967;return!this['getAllMarkersForId'](_0x435992)[0x0]['managedUsingOperations']?_0x2ff3a7['editing']['view']['once']('render',()=>{if(_0x1c3a2f['getCommentThread'](_0x435992))return;const _0x4e92ae=_0x2ff3a7['plugins']['get'](Annotations);_0x240967=_0x1c3a2f['openNewCommentThread']({'channelId':_0xa7004c,'threadId':_0x435992,'target':()=>this['_getTargetForId'](_0x435992),'context':{'type':'text','value':this['_getTextContext'](_0x435992)}});const _0x16b053=_0x1c3a2f['_threadToController']['get'](_0x240967)['view'],_0xdbcfa6=_0x4e92ae['getByInnerView'](_0x16b053);_0xdbcfa6&&_0x29d8fa['registerAnnotation'](_0xdbcfa6);},{'priority':'low'}):_0x1c3a2f['fetchCommentThread']({'channelId':_0xa7004c,'threadId':_0x435992})['then'](_0x139b1e=>{if('destroyed'!==_0x2ff3a7['state']){if(_0x240967=_0x139b1e,_0x240967&&!_0x240967['isAttached']){const _0x4aabdc=_0x240967['attachTo'](()=>this['_getTargetForId'](_0x435992));_0x29d8fa['registerAnnotation'](_0x4aabdc),_0x240967['isResolved']&&this['_reconvertMarkers'](_0x435992);}else{if(!_0x240967){const _0x3e5063=this['getAllMarkersForId'](_0x435992);_0x2ff3a7['model']['change'](_0x52c52d=>{for(const _0x2437c3 of _0x3e5063)_0x52c52d['removeMarker'](_0x2437c3);});}}}}),_0x240967;}['_handleThreadMarker'](_0xa999bd,_0x370cf8){const _0x351cbc=this['_attachMarkerToThread'](_0xa999bd,_0x370cf8);_0x351cbc&&!_0x351cbc['context']&&_0x351cbc['setContext']({'type':'text','value':this['_getTextContext'](_0x370cf8)});}['_initAriaMarkerChangeAnnouncements'](){const _0x4e3579=this['editor'];Bd(_0x4e3579['model'],({left:_0x84d209,entered:_0x3ead6d})=>{for(const _0x3232ca of _0x84d209)if(bg(_0x3232ca)){_0x4e3579['ui']['ariaLiveAnnouncer']['announce'](ng(_0x4e3579['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x5dc974 of _0x3ead6d)if(bg(_0x5dc974)){_0x4e3579['ui']['ariaLiveAnnouncer']['announce'](ng(_0x4e3579['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x5d4350(jd)));break;}});}}function Og(_0x532c87,_0x333f45){return _0x333f45?_0x532c87+':'+_0x333f45:_0x532c87;}function wg(_0xe8db36,_0x15745b){const _0x472a38=_0x15745b['schema'],_0x5530d1=_0x15745b['createRange'](_0xe8db36['start']);for(const _0x2c03c4 of _0xe8db36['getWalker']()){const {type:_0x250d25,item:_0x1d4786,nextPosition:_0x1ea3ba}=_0x2c03c4;if('text'===_0x250d25||_0x472a38['isObject'](_0x1d4786)){const _0x4b8a32=_0x15745b['createPositionBefore'](_0x1d4786);_0x5530d1['isCollapsed']&&(_0x5530d1['start']=_0x4b8a32),_0x5530d1['end']=_0x1ea3ba;}}return _0x5530d1;}function bg(_0x29dd71){return'comment'===pg(_0x29dd71['name'])['group'];}class CommentsUI extends _0x7cf71c{['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 _0x2596d0=this['editor'],_0x8fa3f=_0x2596d0['plugins']['get'](CommentsRepository),_0x4f3ba2=_0x2596d0['plugins']['get'](CommentsEditing),_0x5740a5=_0x2596d0['plugins']['get'](Annotations),_0x4d07e1=_0x2596d0['plugins']['get'](EditorAnnotations);_0x2596d0['ui']['componentFactory']['add']('comment',()=>{const _0x4a12e8=this['_createUIButton'](_0x1a631f);return _0x4a12e8['tooltip']=!0x0,_0x4a12e8;}),_0x2596d0['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](at)),_0x4d07e1['addSourceCollector'](()=>{const _0x40f730=[];for(const [_0x55c936,_0x2025d7]of _0x8fa3f['_threadToController']){const _0x338e08=_0x4f3ba2['getAllMarkersForId'](_0x55c936['id']),_0x63a391=_0x338e08['map'](_0x34523b=>_0x34523b['getRange']());_0x338e08['length']>0x0&&_0x40f730['push']([_0x2025d7['view'],_0x63a391]);}return _0x40f730;}),this['listenTo'](_0x5740a5,'change:activeAnnotations',(_0x4b4bcb,_0x440e94,_0x32e3fc)=>{const _0x363b22=Array['from'](_0x32e3fc)['map'](_0x191cc3=>_0x191cc3['innerView'])['find'](_0x20e5e2=>_0x8fa3f['_viewToController']['has'](_0x20e5e2));if(!_0x363b22)return void(_0x4f3ba2['activeMarker']=null);const _0x207e05=_0x8fa3f['_viewToController']['get'](_0x363b22)['model']['id'],_0x9b8604='comment:'+_0x207e05;_0x207e05&&_0x4f3ba2['hasMarkerForId'](_0x207e05)?_0x4f3ba2['activeMarker']=_0x9b8604:_0x4f3ba2['activeMarker']&&(_0x4f3ba2['activeMarker']=null);}),this['listenTo'](_0x8fa3f,'removeCommentThread',(_0x28a477,{threadId:_0x4772ad,isFromAdapter:_0x48556a})=>{!_0x48556a&&_0x2596d0['ui']['focusTracker']['isFocused']&&_0x4f3ba2['hasMarkerForId'](_0x4772ad)&&_0x2596d0['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x8fa3f,'addComment',(_0x1be40b,{threadId:_0xf52bbf,isFromAdapter:_0x422b68})=>{if(_0x422b68||!_0x4f3ba2['hasMarkerForId'](_0xf52bbf)||!_0x8fa3f['hasCommentThread'](_0xf52bbf))return;0x1===_0x8fa3f['getCommentThread'](_0xf52bbf)['length']&&(_0x2596d0['editing']['view']['focus'](),_0x1be40b['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x15597e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x464249;for(const _0x70d7c8 in _0x15597e){const _0x3cf87e=_0x70d7c8,_0x40eb1c=_0x15597e[_0x3cf87e];if('commentsLicenseKeyValid'==_0x40eb1c||'commentsLicenseKeyInvalid'==_0x40eb1c||'commentsLicenseKeyExpired'==_0x40eb1c||'commentsLicenseKeyDomainLimit'==_0x40eb1c||'commentsLicenseKeyNotAllowed'==_0x40eb1c||'commentsLicenseKeyEvaluationLimit'==_0x40eb1c||'commentsLicenseKeyUsageLimit'==_0x40eb1c){delete _0x15597e[_0x3cf87e],_0x464249=_0x40eb1c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x464249&&_0x15597e['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x464249&&_0x15597e['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x464249&&_0x15597e['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x464249&&_0x15597e['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x464249&&_0x15597e['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x464249&&_0x15597e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x286b0e){const _0x143785=this['editor'],_0x47c01b=new _0x286b0e(_0x143785['locale']),_0x27ccb7=_0x143785['commands']['get']('addCommentThread');return _0x47c01b['set']({'label':ng(_0x143785['locale'],'Comment'),'icon':_0x4e468c}),_0x47c01b['bind']('isEnabled')['to'](_0x27ccb7,'isEnabled',_0x27ccb7,'hasContent',(_0x28f8c8,_0x491b63)=>_0x28f8c8&&_0x491b63),this['listenTo'](_0x47c01b,'execute',()=>{_0x27ccb7['execute']();}),_0x47c01b;}}class CommentsOnly extends _0x7cf71c{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x3d976c){super(_0x3d976c),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0xd131b3,_0x329129,_0x481c63)=>{_0x481c63?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x253d3e,_0x5dc546]of this['editor']['commands'])_0x5dc546['affectsData']&&'addCommentThread'!==_0x253d3e&&_0x5dc546['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 _0x3ca736=this['editor']['editing']['view']['document'];this['listenTo'](_0x3ca736,'cut',_0x51681b=>_0x51681b['stop'](),{'priority':'highest'}),this['listenTo'](_0x3ca736,'clipboardInput',_0x5d1299=>_0x5d1299['stop'](),{'priority':'highest'}),this['listenTo'](_0x3ca736,'delete',_0x5ea8ef=>_0x5ea8ef['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0xcec8ee,_0x18e8b2]of this['editor']['commands'])_0x18e8b2['affectsData']&&'addCommentThread'!==_0xcec8ee&&_0x18e8b2['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 _0x32a432{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30eed4){super(_0x30eed4),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x546a83=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x546a83,'_activateAnnotation',(_0x2e5324,_0x2f0619)=>{for(const _0x284590 of this['activeUIs']){const _0x432881=this['_uis']['get'](_0x284590);(0x0,this['uisData']['get'](_0x284590)['filter'])(_0x2f0619)&&_0x432881['setActiveAnnotation'](_0x2f0619);}}),this['listenTo'](_0x546a83,'_deactivateAllAnnotations',()=>{for(const _0x485e81 of this['activeUIs']){this['_uis']['get'](_0x485e81)['setActiveAnnotation'](null);}}),this['listenTo'](_0x546a83['_visibleAnnotations'],'add',(_0x3cbc6a,_0x265535)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x265535);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x2fd13c){return this['activeUIs']['has'](_0x2fd13c);}['activate'](_0x58fb43,_0x263ef2=this['defaultFilter']){const _0x3c6f64=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x58fb43))throw new _0x3ae0e8('annotationsuis-missing-ui',this,{'uiName':_0x58fb43});this['isActive'](_0x58fb43)&&this['deactivate'](_0x58fb43),this['activeUIs']['add'](_0x58fb43);const _0x386591=new AnnotationCollection();hg({'source':_0x3c6f64['_visibleAnnotations'],'target':_0x386591,'filter':_0x263ef2}),this['uisData']['set'](_0x58fb43,{'collection':_0x386591,'filter':_0x263ef2});const _0x9cf978=this['_uis']['get'](_0x58fb43);_0x9cf978['attach'](_0x386591),this['listenTo'](_0x9cf978,'change:activeAnnotation',(_0x3da605,_0x282ca5,_0x18a885,_0x531cf7)=>{_0x531cf7&&_0x3c6f64['_removeActiveAnnotation'](_0x531cf7),_0x18a885&&_0x3c6f64['_addActiveAnnotation'](_0x18a885);});}['deactivate'](_0x457d1e){if(this['activeUIs']['delete'](_0x457d1e),!this['_uis']['has'](_0x457d1e))throw new _0x3ae0e8('annotationsuis-missing-ui',this,{'uiName':_0x457d1e});const _0x300d30=this['_uis']['get'](_0x457d1e);_0x300d30['detach'](),this['stopListening'](_0x300d30),this['uisData']['get'](_0x457d1e)['collection']['destroy'](),this['uisData']['delete'](_0x457d1e);}['switchTo'](_0xc5044){if(!this['_uis']['has'](_0xc5044))throw new _0x3ae0e8('annotationsuis-missing-ui',this,{'uiName':_0xc5044});const _0x3b47ef=this['context']['plugins']['get'](Annotations),_0xe3e1=Array['from'](_0x3b47ef['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0xc5044);const _0xef3894=this['_uis']['get'](_0xc5044);_0xef3894['setActiveAnnotation'](_0xe3e1),_0xef3894['_setSelectedAnnotations']&&_0xe3e1&&_0xef3894['_setSelectedAnnotations']([_0xe3e1]);}['deactivateAll'](){for(const _0x51be8a of this['activeUIs'])this['deactivate'](_0x51be8a);}['register'](_0xb3ba04,_0x4f526c){if(this['_uis']['has'](_0xb3ba04))throw new _0x3ae0e8('annotationsuis-register-already-registered');if('function'!=typeof _0x4f526c['attach']||'function'!=typeof _0x4f526c['detach']||'function'!=typeof _0x4f526c['setActiveAnnotation'])throw new _0x3ae0e8('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0xb3ba04,_0x4f526c);}['refilterAnnotations'](){const _0x15860c=this['context']['plugins']['get'](Annotations)['collection'],_0x174c38=new Map(),_0x38b9bb=Array['from'](this['activeUIs']);for(const _0x5c3dbd of this['activeUIs']){const _0x5b7dcf=this['uisData']['get'](_0x5c3dbd)['collection'];for(const _0x1ba6a0 of _0x5b7dcf)_0x174c38['set'](_0x1ba6a0,_0x5c3dbd);}for(const _0x48a065 of _0x15860c){const _0x9f38a0=_0x174c38['get'](_0x48a065);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x48a065);const _0x5b46e3=_0x38b9bb['find'](_0x34071b=>this['uisData']['get'](_0x34071b)['filter'](_0x48a065));_0x9f38a0!==_0x5b46e3&&(_0x9f38a0&&this['uisData']['get'](_0x9f38a0)['collection']['remove'](_0x48a065),_0x5b46e3&&this['uisData']['get'](_0x5b46e3)['collection']['add'](_0x48a065));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1bcd68){const _0x5e91f8=[];for(const _0x5077e5 of this['activeUIs']){(0x0,this['uisData']['get'](_0x5077e5)['filter'])(_0x1bcd68)&&_0x5e91f8['push'](_0x5077e5);}if(_0x5e91f8['length']>0x1)throw new _0x3ae0e8('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x5e91f8,'annotationType':_0x1bcd68['type']});}}const yg=/* #__PURE__ -- @preserve */
_0x50f0f7('px');class AnnotationsSidebarView extends _0x278baa{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x1eeb5d){super(_0x1eeb5d);const _0x4b367c=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 _0x2423e3(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x4b367c['to']('class')],'style':{'minHeight':_0x4b367c['to']('minHeight',_0x4d7768=>'number'==typeof _0x4d7768?yg(_0x4d7768+0xa):null)},'dir':_0x1eeb5d['uiLanguageDirection'],'role':'application','aria-label':ng(_0x1eeb5d,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':ng(_0x1eeb5d,'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',_0x1acdd3=>{this['_updateItemPositionInFocusables'](_0x1acdd3['source']);}),this['list']['forEach'](_0x4a4957=>{this['focusTracker']['add'](_0x4a4957['element']),this['_updateItemPositionInFocusables'](_0x4a4957);}),this['list']['on']('change',(_0x58e3d9,_0x291fb0)=>{for(const _0x56f567 of _0x291fb0['removed'])this['focusTracker']['remove'](_0x56f567['element']),this['focusables']['remove'](_0x56f567);for(const _0x2a8a42 of _0x291fb0['added'])this['focusTracker']['add'](_0x2a8a42['element']),this['_updateItemPositionInFocusables'](_0x2a8a42);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x51c905){const _0x2bd225=this['focusables']['getIndex'](_0x51c905);let _0x50a77d,_0x42ae66;for(const _0x5a5ed7 of this['focusables'])if(_0x51c905['top']<_0x5a5ed7['top']){_0x50a77d=_0x5a5ed7;break;}if(_0x42ae66=_0x50a77d?this['focusables']['getIndex'](_0x50a77d):this['focusables']['length'],-0x1!==_0x2bd225){if(_0x2bd225===_0x42ae66-0x1)return;this['focusables']['remove'](_0x51c905),_0x42ae66=_0x50a77d?this['focusables']['getIndex'](_0x50a77d):this['focusables']['length'];}this['focusables']['add'](_0x51c905,_0x42ae66);}}const vg=/* #__PURE__ -- @preserve */
_0x50f0f7('px');class AnnotationsSidebarItemView extends _0x278baa{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x4680d5){super(_0x4680d5),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x471dd8,_0x575a6e)=>_0x471dd8+_0x575a6e),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=ag(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x166b65=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x166b65['to']('isAnimationDisabled',_0x22452f=>_0x22452f?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x166b65['to']('top',_0x54a4d4=>vg(_0x54a4d4))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0xf64c01=this['element']['clientHeight'];_0xf64c01&&(this['height']=_0xf64c01);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class Sidebar extends _0x32a432{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xff1c3e){super(_0xff1c3e),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 _0x1dba75=this['context']['config']['get']('sidebar.container');_0x1dba75&&this['setContainer'](_0x1dba75);}['setContainer'](_0x5ec875){if(!Eg(_0x5ec875))throw new _0x3ae0e8('sidebar-setcontainer-invalid-element');this['container']=_0x5ec875;}['_attachToContainer']({viewClass:_0x4e945c='',spaceBetweenItems:_0x5c8f46=0x19}={}){if(!Eg(this['container']))throw new _0x3ae0e8('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x4e945c,this['_spaceBetweenItems']=_0x5c8f46;}['rearrange']({removedAnnotation:_0x4e4747,previousAnnotation:_0x530a27,nextAnnotation:_0x1c4a57}){const _0x384071=this['getSidebarItemView'](_0x4e4747);this['view']['list']['remove'](_0x384071),this['_destroySidebarItemView'](_0x4e4747),_0x530a27&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x530a27)),_0x1c4a57&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1c4a57)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x26d202,activatedAnnotation:_0xcddc98,disableAnimationOnActivatedAnnotation:_0x4ffae9}){if(this['_activeAnnotation']=_0xcddc98,_0x26d202){_0x26d202['isActive']=!0x1;const _0x4c978d=this['getSidebarItemView'](_0x26d202);_0x4c978d&&_0x4ffae9&&(_0x4c978d['isAnimationDisabled']=!0x1);}if(_0xcddc98){const _0xaa2b69=this['getSidebarItemView'](_0xcddc98);_0xaa2b69&&(_0xcddc98['isActive']=!0x0,_0x4ffae9&&(_0xaa2b69['isAnimationDisabled']=!0x0,_0xaa2b69['top']+=0x1),this['_alignToTargetRect'](_0xaa2b69));}}['_detachFromContainer'](_0x36fb26){if(this['view']['element']['remove'](),_0x36fb26){for(const _0x19c99c of _0x36fb26)this['_destroySidebarItemView'](_0x19c99c);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x4ed3fb,_0x4687b0){_0x4687b0||(_0x4687b0=_0x4ed3fb['view']);const _0x574391=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x574391,_0x4ed3fb),this['_annotationToSidebarItemView']['set'](_0x4ed3fb,_0x574391),_0x574391['content']['add'](_0x4687b0),this['listenTo'](_0x4ed3fb['view'],'change:targetRect',(_0x1cb662,_0x38b928,_0x35210d)=>{const _0x1d7b36=this['_getTargetTop'](_0x4ed3fb,_0x35210d);_0x574391['_targetTop']!=_0x1d7b36&&(_0x574391['_targetTop']=_0x1d7b36,this['_setItemTop'](_0x574391,_0x1d7b36));}),this['listenTo'](_0x574391,'change:top',()=>{this['_recalculate'](_0x574391,'top');}),this['listenTo'](_0x574391,'change:bottom',()=>{this['_recalculate'](_0x574391,'bottom');}),this['_alignToTargetRect'](_0x574391);const _0x353ab1=this['_getItemBefore'](_0x574391);if(_0x353ab1)this['_alignAfterItem'](_0x353ab1,_0x574391)||this['_alignToTargetRect'](_0x574391);else this['_alignToTargetRect'](_0x574391);return this['_updateLastItem'](),this['view']['list']['add'](_0x574391),_0x574391;}['_alignForTopChange'](_0x3a8ab0){if(!_0x3a8ab0['content']['length'])return;const _0x984c05=this['_getItemBefore'](_0x3a8ab0);if(!_0x984c05)return;const _0x54482f=this['_sidebarItemViewToAnnotation']['get'](_0x984c05),_0x4e6b5f=this['_activeAnnotation'];_0x4e6b5f&&_0x4e6b5f===_0x54482f?this['_alignAfterItem'](_0x984c05,_0x3a8ab0):this['_alignBeforeItem'](_0x3a8ab0,_0x984c05);}['_alignForBottomChange'](_0x53403c){if(!_0x53403c['content']['length'])return;const _0x5a15f9=this['_getItemAfter'](_0x53403c);if(!_0x5a15f9)return;const _0x591df8=this['_sidebarItemViewToAnnotation']['get'](_0x5a15f9),_0x2124b6=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x48dc73=this['_activeAnnotation'];_0x48dc73&&_0x48dc73===_0x591df8&&_0x2124b6?(this['_alignBeforeItem'](_0x5a15f9,_0x53403c),this['_alignAfterItem'](_0x53403c,_0x5a15f9)):_0x48dc73&&_0x48dc73===_0x591df8?this['_alignBeforeItem'](_0x5a15f9,_0x53403c):this['_alignAfterItem'](_0x53403c,_0x5a15f9);}['_recalculate'](_0x55028d,_0x2b1cac){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x11fe94,changedProp:_0x47eb23}of this['_recalculateBuffer'])'top'===_0x47eb23?this['_alignForTopChange'](_0x11fe94):this['_alignForBottomChange'](_0x11fe94);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x55028d,'changedProp':_0x2b1cac});}['getSidebarItemView'](_0x18a5cd){return this['_annotationToSidebarItemView']['get'](_0x18a5cd);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x31b50c){const _0x4f633d=this['getSidebarItemView'](_0x31b50c);this['stopListening'](_0x4f633d),this['stopListening'](_0x31b50c['view']),_0x4f633d['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x31b50c),this['_sidebarItemViewToAnnotation']['delete'](_0x4f633d);}['_createSidebarView'](){const _0x46285a=new AnnotationsSidebarView(this['context']['locale']);return _0x46285a['render'](),this['on']('change:_lastItem',(_0x4084f9,_0xd08e45,_0x5cb4d4,_0x3637a5)=>{_0x3637a5&&_0x46285a['unbind']('minHeight'),_0x5cb4d4?_0x46285a['bind']('minHeight')['to'](_0x5cb4d4,'bottom'):_0x46285a['minHeight']=null;}),_0x46285a;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x350ee4){const _0x175f25=this['_sidebarItemViewToAnnotation']['get'](_0x350ee4),_0x52bb71=_0x175f25&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x175f25)-0x1);return _0x52bb71&&this['getSidebarItemView'](_0x52bb71)||null;}['_getItemAfter'](_0x47a303){const _0x50b19f=this['_sidebarItemViewToAnnotation']['get'](_0x47a303),_0x5def1f=_0x50b19f&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x50b19f)+0x1);return _0x5def1f&&this['getSidebarItemView'](_0x5def1f)||null;}['_alignBeforeItem'](_0x5bda6c,_0x1d071b){_0x5bda6c['updateHeight']();const _0x5bb688=_g(_0x1d071b['bottom']+this['_spaceBetweenItems'],_0x5bda6c['top']);return!!_0x5bb688&&(this['_setItemTop'](_0x1d071b,_0x1d071b['top']-_0x5bb688),!0x0);}['_alignAfterItem'](_0x5c7c61,_0x385d64){_0x5c7c61['updateHeight']();const _0x59737a=_g(_0x5c7c61['bottom']+this['_spaceBetweenItems'],_0x385d64['top']);return!!_0x59737a&&(this['_setItemTop'](_0x385d64,_0x385d64['top']+_0x59737a,!0x1),!0x0);}['_alignToTargetRect'](_0x3aada9){const _0x2c9ebe=this['_sidebarItemViewToAnnotation']['get'](_0x3aada9);if(!_0x2c9ebe||!_0x2c9ebe['target']||!_0x2c9ebe['targetRect'])return;const _0x5e92d8=this['_getTargetTop'](_0x2c9ebe,_0x2c9ebe['targetRect']);this['_setItemTop'](_0x3aada9,_0x5e92d8);}['_getTargetTop'](_0x486d62,_0x219ae3){if(null===_0x219ae3)return 0x0;if(_0x486d62['target']instanceof _0xbeaf38)return _0x219ae3['top'];{const _0x4fd386=new _0xbeaf38(this['view']['element'])['top'];return _0x219ae3['top']-_0x4fd386;}}['_setItemTop'](_0x18cd9e,_0x506ed1,_0x120ae0=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x120ae0&&(_0x506ed1=Math['max'](_0x506ed1,this['_getMaxAvailableTop'](_0x18cd9e))),_0x18cd9e['top']=_0x506ed1;}['_getMaxAvailableTop'](_0x1d8712){let _0x4330bd=this['_getItemBefore'](_0x1d8712),_0x196699=0x0;for(;_0x4330bd;)_0x4330bd['updateHeight'](),_0x196699+=this['_spaceBetweenItems']+_0x4330bd['height'],_0x4330bd=this['_getItemBefore'](_0x4330bd);return _0x196699;}}function _g(_0x4bab72,_0x4d0579){return Math['max'](_0x4bab72-_0x4d0579,0x0);}function Eg(_0x219bfd){return null!==_0x219bfd&&'object'==typeof _0x219bfd&&0x1===_0x219bfd['nodeType'];}class WideSidebar extends _0x32a432{['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(_0x6ab760){super(_0x6ab760),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x307d11(),this['_refreshPositioningDebounced']=jr(()=>{_0x6ab760['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x2e9c74=this['context']['plugins']['get'](AnnotationsUIs),_0x38c3de=this['context']['plugins']['get'](Sidebar);_0x2e9c74['register']('wideSidebar',this),_0x38c3de['container']&&_0x2e9c74['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x56a7f){if(_0x56a7f===this['activeAnnotation'])return;const _0x127982=this['context']['plugins']['get'](Sidebar);_0x127982['_activeAnnotation']=_0x56a7f;const _0x1aa2d7=this['activeAnnotation'];_0x127982['refresh']({'blurredAnnotation':_0x1aa2d7,'activatedAnnotation':_0x56a7f}),this['activeAnnotation']=_0x56a7f;}['attach'](_0x48bf22){this['annotations']=_0x48bf22;const _0x452d8e=this['context']['plugins']['get'](Sidebar);if(_0x452d8e['_annotations']=_0x48bf22,this['isAttached'])throw new _0x3ae0e8('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x452d8e,'set:container',()=>{this['detach'](),this['listenTo'](_0x452d8e,'change:container',_0x409d77=>{_0x409d77['off'](),this['attach'](_0x48bf22);});}),_0x452d8e['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x563f29=_0xe71728=>{_0xe71728['updateTargetRect'](),_0x452d8e['addAnnotation'](_0xe71728);};for(const _0x4169ca of _0x48bf22)_0x563f29(_0x4169ca);this['listenTo'](_0x48bf22,'add',(_0x556ca0,_0x1041b1)=>{_0x563f29(_0x1041b1);}),this['listenTo'](_0x48bf22,'remove',(_0x5c693f,_0xaa0c11,_0xf7f644)=>{_0x452d8e['rearrange']({'removedAnnotation':_0xaa0c11,'previousAnnotation':_0x48bf22['get'](_0xf7f644-0x1),'nextAnnotation':_0x48bf22['get'](_0xf7f644+0x1)}),_0xaa0c11===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x48bf22,'focus',(_0x11f971,_0x104640)=>{this['setActiveAnnotation'](_0x104640);}),this['listenTo'](_0x48bf22,'blur',()=>{this['setActiveAnnotation'](null);});const _0x3af62c=this['context']instanceof _0x71dde0?this['context']['editors']:new _0x307d11([this['context']]);for(const _0x1b450f of _0x3af62c)this['_integrateWithEditorAnnotations'](_0x1b450f);this['listenTo'](_0x3af62c,'add',(_0xfea096,_0x27dbce)=>{this['listenTo'](_0x27dbce,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x27dbce);});}),this['listenTo'](_0x3af62c,'remove',(_0x588304,_0x582157)=>{_0x582157['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x582157['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x3ae0e8('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x35a0b1=this['context']['plugins']['get'](Sidebar);_0x35a0b1['_detachFromContainer'](this['annotations']),this['stopListening'](_0x35a0b1),this['stopListening'](this['annotations']),this['context']instanceof _0x71dde0&&this['stopListening'](this['context']['editors']);for(const _0x29b463 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x29b463);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x4d94a7){if(!_0x4d94a7['plugins']['has']('EditorAnnotations'))return;const _0x110d4a=_0x4d94a7['plugins']['get']('EditorAnnotations'),_0x4cf7fe=()=>{const _0x23f53f=_0x110d4a['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x23f53f[0x0]||null);};this['listenTo'](_0x110d4a,'refresh',_0x4cf7fe),this['listenTo'](_0x110d4a,'blur',(_0x5269d0,{isAnnotationTracked:_0x556c6f})=>{this['activeAnnotation']&&_0x556c6f(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x110d4a,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0xebb365=>{_0x110d4a['hasDomSelection']()&&(_0x4cf7fe(),_0xebb365['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x110d4a);}['_destroyEditorAnnotationsIntegration'](_0x41fb3e){this['stopListening'](_0x41fb3e),this['_editorAnnotations']['remove'](_0x41fb3e);}}class AnnotationCounterButtonView extends _0x1a631f{['counterView'];constructor(_0x2d98d8){super(_0x2d98d8);const _0x2b4c0e=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x317b00,_0x147128)=>_0x317b00?'...':_0x147128['toString']()),this['set']('annotationType',''),this['icon']=_0x4e468c,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x278baa(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x2b4c0e['to']('annotationType',_0x4fb641=>'ck-annotation-counter__badge--'+_0x4fb641),_0x2b4c0e['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x2b4c0e['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class NarrowSidebar extends _0x32a432{['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(_0x102207){super(_0x102207),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x1b863a())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x307d11(),this['_refreshPositioningDebounced']=jr(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new ft(this['context']['locale']),this['balloonPanelView']=new mt(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x1f4280){this['annotations']=_0x1f4280;const _0x13c3f9=this['context']['plugins']['get'](Sidebar),_0x382056=this['balloonPanelView'];if(_0x13c3f9['_annotations']=_0x1f4280,this['isAttached'])throw new _0x3ae0e8('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x13c3f9,'set:container',()=>{this['detach'](),this['listenTo'](_0x13c3f9,'change:container',_0x572afe=>{_0x572afe['off'](),this['attach'](_0x1f4280);});}),_0x13c3f9['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x141b68=_0x27a172=>{const _0x4ab0d1=new AnnotationCounterButtonView(this['context']['locale']);_0x13c3f9['addAnnotation'](_0x27a172,_0x4ab0d1),this['_annotationToNarrowView']['set'](_0x27a172,_0x4ab0d1),_0x4ab0d1['bind']('isDirty','annotationType','number')['to'](_0x27a172['view'],'isDirty','type','length'),_0x4ab0d1['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x382056['content']['first']!==_0x27a172['view']?(this['_showBalloon'](_0x27a172),_0x27a172['view']['element']['focus'](),this['setActiveAnnotation'](_0x27a172)):this['setActiveAnnotation'](null);});};for(const _0x492e3e of _0x1f4280)_0x141b68(_0x492e3e);this['listenTo'](_0x1f4280,'add',(_0x9613ba,_0x2c7dcd)=>{_0x141b68(_0x2c7dcd);}),this['listenTo'](_0x1f4280,'remove',(_0x4dac3e,_0x21913a,_0x2a0101)=>{this['_annotationToNarrowView']['get'](_0x21913a)['destroy'](),this['_annotationToNarrowView']['delete'](_0x21913a),_0x13c3f9['rearrange']({'removedAnnotation':_0x21913a,'previousAnnotation':_0x1f4280['get'](_0x2a0101-0x1),'nextAnnotation':_0x1f4280['get'](_0x2a0101+0x1)}),_0x21913a===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x1f4280,'focus',(_0x15f65f,_0x3712d6)=>{this['setActiveAnnotation'](_0x3712d6);}),this['listenTo'](_0x1f4280,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x16c18a,_0x343ae3)=>{_0x343ae3['keyCode']===_0x21d6cc['esc']&&_0x382056['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x382056['content']['first']),this['_hideBalloon'](),_0x343ae3['stopPropagation'](),_0x343ae3['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x21a6b1,_0x4e1e72)=>{const _0x70cb5a=_0x4e1e72['target'];_0x382056['isVisible']&&_0x382056['element']['contains'](_0x70cb5a)||_0x13c3f9['view']['element']['contains'](_0x70cb5a)||_0x21a6b1['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x586d9b=>_0x586d9b['contains'](_0x70cb5a))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x4539ea=this['context']instanceof _0x71dde0?this['context']['editors']:new _0x307d11([this['context']]);for(const _0x29d7f0 of _0x4539ea)this['_integrateWithEditorAnnotations'](_0x29d7f0);this['listenTo'](_0x4539ea,'add',(_0x33d778,_0x365c3a)=>{this['listenTo'](_0x365c3a,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x365c3a);});}),this['listenTo'](_0x4539ea,'remove',(_0x4224af,_0x50dd1d)=>{_0x50dd1d['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x50dd1d['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x1ecdc3){if(_0x1ecdc3===this['activeAnnotation'])return;const _0x4d7207=this['context']['plugins']['get'](Sidebar);if(_0x4d7207['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x1ecdc3,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1ecdc3)_0x4d7207['getSidebarItemView'](_0x1ecdc3)?this['_showBalloon'](_0x1ecdc3):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x1ecdc3;}['detach'](){if(!this['isAttached'])throw new _0x3ae0e8('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x15324e=this['context']['plugins']['get'](Sidebar);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x311c5a=>_0x311c5a['destroy']()),this['_annotationToNarrowView']['clear'](),_0x15324e['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x71dde0&&this['stopListening'](this['context']['editors']);for(const _0x3d0813 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x3d0813);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'](_0xba33f){if(!_0xba33f['plugins']['has']('EditorAnnotations'))return;const _0x20fb1f=_0xba33f['plugins']['get']('EditorAnnotations'),_0x1c7427=this['context']['plugins']['get'](Sidebar),_0xf17cbd=this['annotations'],_0x101437=this['balloonPanelView'],_0x183383=()=>{const _0x8bc4fb=_0x20fb1f['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x8bc4fb),this['setActiveAnnotation'](_0x8bc4fb[0x0]||null);};this['listenTo'](_0x20fb1f,'refresh',_0x183383),this['listenTo'](_0x20fb1f,'blur',(_0x26bbc8,{isAnnotationTracked:_0x133b5c})=>{this['activeAnnotation']&&_0x133b5c(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x20fb1f,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0xf17cbd,'blur',_0xb222b0=>{_0x20fb1f['hasDomSelection']()&&_0xb222b0['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x3a8eb4,_0x53505d)=>{const _0x31c2e1=_0x53505d['target'];_0x101437['isVisible']&&_0x101437['element']['contains'](_0x31c2e1)||_0x1c7427['view']['element']['contains'](_0x31c2e1)||this['activeAnnotation']&&_0x20fb1f['hasDomSelection']()&&(_0x183383(),_0x3a8eb4['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x20fb1f);}['_destroyEditorAnnotationsIntegration'](_0x476594){_0x476594&&(this['stopListening'](_0x476594),this['_editorAnnotations']['remove'](_0x476594));}['_setSelectedAnnotations'](_0x3b0db1){for(const _0xf8acfd of this['_selectedAnnotations'])_0x3b0db1['includes'](_0xf8acfd)||this['_manuallyClosedAnnotationViews']['delete'](_0xf8acfd['view']);this['_selectedAnnotations']=_0x3b0db1;}['_refreshPositioning'](){const _0x1e8fc5=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x1e8fc5['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x162fae){if(this['_manuallyClosedAnnotationViews']['has'](_0x162fae['view']))return;const _0x2511d1=this['balloonPanelView']['content']['first'];_0x2511d1!==_0x162fae['view']?(_0x2511d1&&this['_detachListeners'](_0x2511d1),this['_attachListeners'](_0x162fae['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x162fae['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0xebd92c=this['balloonPanelView']['content']['first'],_0x206c83=_0xebd92c&&this['annotations']['getByView'](_0xebd92c);if(!_0x206c83||!this['_annotationToNarrowView']['has'](_0x206c83))return;const _0x47f3b2=this['_annotationToNarrowView']['get'](_0x206c83)['element'],_0x1a2e79=(function(){const _0x5e5763=mt['defaultPositions'];return[_0x5e5763['southArrowNorthEast'],_0x5e5763['northArrowSouthEast'],_0x5e5763['southArrowNorth'],_0x5e5763['northArrowSouth'],_0x5e5763['southArrowNorthWest'],_0x5e5763['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x47f3b2,'positions':_0x1a2e79});}['_hideBalloon'](){const _0x518100=this['balloonPanelView'],_0x3854a0=_0x518100['content']['first'];_0x3854a0&&(this['_detachListeners'](_0x3854a0),_0x518100['unpin'](),_0x518100['content']['clear']());}['_attachListeners'](_0x42b458){this['listenTo'](_0x42b458,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x42b458,'Esc',(_0x31aa0d,_0x5d6a71)=>{this['_manuallyClosedAnnotationViews']['add'](_0x42b458),this['_hideBalloon'](),_0x5d6a71();});}['_detachListeners'](_0x6e0a8c){this['stopListening'](_0x6e0a8c);}}class InlineAnnotations extends _0x7cf71c{['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(_0x3cecf0){super(_0x3cecf0),_0x3cecf0['editing']['view']['addObserver'](_0x50499b),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x3cecf0['plugins']['get'](Dt),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=jr(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x115068=this['editor']['plugins']['get'](AnnotationsUIs);_0x115068['context']===this['editor']&&(_0x115068['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x3dabcc,_0x2ead3d)=>{const _0x16d8cd=this['_balloon'];if(this['isAttached']&&_0x16d8cd['visibleView']){const _0x407017=this['annotations']['getByView'](_0x16d8cd['visibleView']);_0x407017&&this['_closeAnnotation'](_0x407017),_0x2ead3d();}}));}['afterInit'](){const _0x9a3dc7=this['editor']['plugins']['get'](AnnotationsUIs);_0x9a3dc7['context']===this['editor']&&(_0x9a3dc7['hasActive']()||_0x9a3dc7['switchTo']('inline'));}['setActiveAnnotation'](_0x24d8c7){_0x24d8c7!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x24d8c7&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x24d8c7)&&this['_addAnnotationToBalloon'](_0x24d8c7,!0x0),_0x24d8c7['isActive']=!0x0),_0x24d8c7||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x24d8c7);}['attach'](_0x25d176){this['annotations']=_0x25d176;const _0x7cf22=this['editor']['plugins']['get'](AnnotationsUIs),_0xaf4751=this['_balloon'];if(this['isAttached'])throw new _0x3ae0e8('inlineannotations-attach-already-attached',this);if(_0x7cf22['context']!==this['editor'])throw new _0x3ae0e8('inlineannotations-not-allowed-with-context',this);const _0xcae87d=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0xcae87d,'refresh',()=>{const _0x16a90d=_0xcae87d['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x5e9098,_0x413d8b;!this['_forceRefresh']&&(_0x5e9098=_0x16a90d,_0x413d8b=this['_selectedAnnotations'],_0x5e9098['length']===_0x413d8b['length']&&_0x5e9098['every'](_0x4a2458=>_0x413d8b['includes'](_0x4a2458)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x16a90d),this['setActiveAnnotation'](_0x16a90d[0x0]||null));}),this['listenTo'](_0xcae87d,'blur',(_0x31623d,{isAnnotationTracked:_0x321d03})=>{this['activeAnnotation']&&_0x321d03(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0xcae87d,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x326b6d,_0x3645f0,_0x594986)=>{_0x594986||this['setActiveAnnotation'](null);}),this['listenTo'](_0x25d176,'remove',(_0x28fade,_0xf8840)=>{this['_removeAnnotationFromBalloon'](_0xf8840),_0xf8840===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0xaf4751,'change:visibleView',(_0x2da93b,_0xed6ad0,_0x2856e4,_0x4e6434)=>{_0x4e6434&&this['stopListening'](_0x4e6434);const _0xe89d42=_0x25d176['getByView'](_0x2856e4);_0x2856e4&&_0xe89d42&&(this['listenTo'](_0x2856e4,'change:height',()=>{_0xaf4751['updatePosition']();}),this['listenTo'](_0x2856e4,'Esc',()=>{this['_closeAnnotation'](_0xe89d42),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0xe89d42&&this['setActiveAnnotation'](_0xe89d42));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0xaf4751['visibleView']&&(_0x25d176['getByView'](_0xaf4751['visibleView'])&&_0xaf4751['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 _0x3ae0e8('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x36227d of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x36227d);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x3dfde1){for(const _0x4bbb2e of this['_selectedAnnotations'])_0x3dfde1['includes'](_0x4bbb2e)||this['_manuallyClosed']['delete'](_0x4bbb2e);for(const _0x235d4c of this['annotations'])_0x3dfde1['includes'](_0x235d4c)||this['_removeAnnotationFromBalloon'](_0x235d4c);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x1ef76e of _0x3dfde1)this['_addAnnotationToBalloon'](_0x1ef76e);}this['_selectedAnnotations']=_0x3dfde1;}['_addAnnotationToBalloon'](_0x2ba15a,_0x19a401=!0x1){this['_manuallyClosed']['has'](_0x2ba15a)||(this['_addedAnnotations']['has'](_0x2ba15a)||this['_balloon']['hasView'](_0x2ba15a['view'])||(this['_addedAnnotations']['add'](_0x2ba15a),this['_balloon']['add']({'stackId':_0x2ba15a['view']['id'],'view':_0x2ba15a['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x2ba15a)}})),_0x19a401&&this['_balloon']['showStack'](_0x2ba15a['view']['id']));}['_getBalloonTargetForAnnotation'](_0x59cb9a){const _0x341b39=_0x59cb9a['target'],_0x51f0f9=this['editor']['editing']['view'],_0x89ea21=_0x51f0f9['document']['selection']['getFirstRange'](),_0x5974e5=_0x51f0f9['domConverter']['viewRangeToDom'](_0x89ea21);if(_0x5974e5['collapse'](!0x0),_0x341b39){if(_0x341b39 instanceof _0xbeaf38)return _0x341b39;let _0x565e97=[];for(const _0x3573ef of _0x341b39)_0x565e97['push'](..._0xbeaf38['getDomElementRects'](_0x3573ef));_0x565e97=function(_0x327db6){const _0x2959ce=[];let _0x411134=_0x327db6[0x0];for(let _0x58a1bd=0x1;_0x58a1bd<_0x327db6['length'];_0x58a1bd++)if(Tg(_0x411134,_0x327db6[_0x58a1bd])){const _0x488841=_0x327db6[_0x58a1bd]['width'];_0x411134['width']+=_0x488841,_0x411134['right']+=_0x488841;}else _0x2959ce['push'](_0x411134),_0x411134=_0x327db6[_0x58a1bd];return _0x2959ce['push'](_0x411134),_0x2959ce;}(_0x565e97);const _0x5037d8=_0x5974e5['getBoundingClientRect']();return _0x565e97['find'](_0x319390=>_0x319390['top']<=_0x5037d8['top']&&_0x319390['bottom']>=_0x5037d8['bottom']&&_0x319390['left']<=_0x5037d8['left']&&_0x319390['right']>=_0x5037d8['right'])||_0x565e97[0x0];}return _0x59cb9a['targetRect']||_0x5974e5;}['_removeAnnotationFromBalloon'](_0x12586b){this['_addedAnnotations']['has'](_0x12586b)&&this['_balloon']['hasView'](_0x12586b['view'])&&(this['_addedAnnotations']['delete'](_0x12586b),this['_balloon']['remove'](_0x12586b['view']));}['_closeAnnotation'](_0x2f9991){this['_manuallyClosed']['add'](_0x2f9991),this['_removeAnnotationFromBalloon'](_0x2f9991);}}function Tg(_0x139023,_0x35cff9){return _0x139023['top']===_0x35cff9['top']&&_0x139023['bottom']===_0x35cff9['bottom']&&_0x139023['right']===_0x35cff9['left'];}class CommentsArchiveView extends _0x278baa{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x3ef4d2,_0x2107ee){super(_0x3ef4d2),this['set']('isEmpty',!_0x2107ee['length']),this['focusTracker']=new _0x2423e3(),this['_annotationViews']=_0x2107ee,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new et({'focusables':_0x2107ee,'focusTracker':this['focusTracker']}),this['listenTo'](_0x2107ee,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x2107ee,'remove',(_0x3f081e,_0xb1aeb2)=>{_0xb1aeb2['isActive']&&this['focus'](),_0x2107ee['length']||(this['isEmpty']=!0x0);});const _0x4bcbe4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':ng(_0x3ef4d2,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x2107ee},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x4bcbe4['if']('isEmpty','ck-hidden',_0x3a8ec1=>!_0x3a8ec1)]},'children':[{'text':ng(_0x3ef4d2,'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 _0x36a560 of this['_annotationViews'])this['focusTracker']['add'](_0x36a560['element']);this['_annotationViews']['on']('change',(_0x1f1cc4,{added:_0x2de910,removed:_0x1591dd})=>{for(const _0x1b94fb of _0x2de910)this['focusTracker']['add'](_0x1b94fb['element']);for(const _0x26b910 of _0x1591dd)this['focusTracker']['remove'](_0x26b910['element']);});}}class CommentsArchive extends _0x32a432{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x38bbf4){super(_0x38bbf4),this['archivedThreads']=new _0x307d11();}['init'](){const _0x4731eb=this['context'],_0xf51502=_0x4731eb['plugins']['get'](CommentsRepository),_0x35fcc2=_0x4731eb['plugins']['get'](Annotations);this['listenTo'](_0xf51502,'addCommentThread',(_0x4a283e,{threadId:_0x460b9b})=>{const _0x1c6fcf=_0xf51502['getCommentThread'](_0x460b9b);_0x1c6fcf['archivedAt']&&this['archivedThreads']['add'](_0x1c6fcf,this['_calculatePosition'](_0x1c6fcf['archivedAt'])),this['listenTo'](_0x1c6fcf,'change:archivedAt',(_0x4d323d,_0x23b33c,_0x5cdd45)=>{_0x5cdd45?this['archivedThreads']['has'](_0x1c6fcf)||this['archivedThreads']['add'](_0x1c6fcf,this['_calculatePosition'](_0x1c6fcf['archivedAt'])):this['archivedThreads']['has'](_0x1c6fcf)&&this['archivedThreads']['remove'](_0x1c6fcf);});}),this['listenTo'](_0xf51502,'removeCommentThread',(_0x340c97,{threadId:_0x22875c})=>{const _0x508b82=_0xf51502['getCommentThread'](_0x22875c);this['stopListening'](_0x508b82),this['archivedThreads']['has'](_0x508b82)&&this['archivedThreads']['remove'](_0x508b82);},{'priority':'highest'}),this['listenTo'](_0x35fcc2['collection'],'focus',(_0x1feaf1,_0x10346d)=>{_0x10346d['isVisible']||(_0x10346d['isActive']=!0x0,_0x35fcc2['activate'](_0x10346d));});}['_calculatePosition'](_0x4b7caa){const _0x5dd00d=[...this['archivedThreads']]['findIndex'](_0x23c6fc=>_0x23c6fc['archivedAt']<_0x4b7caa);return _0x5dd00d>-0x1?_0x5dd00d:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x7cf71c{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,st];}constructor(_0x34d64c){super(_0x34d64c),this['annotationViews']=new Et(),this['_pendingThreads']=[];}['init'](){const _0x2beb0c=this['editor'],_0x1abefc=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x2beb0c['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x1a631f,!0x0)),_0x2beb0c['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x43b5a3=this['_createCommentsArchiveButton'](at);return _0x43b5a3['set']({'role':'menuitemcheckbox'}),_0x43b5a3;});const _0x137698=_0x2beb0c['plugins']['get'](CommentsArchive),_0xa80b5b=_0x2beb0c['plugins']['get']('Annotations'),_0x2a28d0=_0x2beb0c['plugins']['get']('CommentsRepository');_0x137698['archivedThreads']['forEach'](_0x103124=>{this['_handleNewThread'](_0x103124);}),this['listenTo'](_0x137698['archivedThreads'],'add',(_0x41b44e,_0x56ddbf)=>{this['_handleNewThread'](_0x56ddbf);}),this['listenTo'](_0xa80b5b['collection'],'add',(_0x5f4b25,_0x910a7c)=>{const _0x29473a=this['_pendingThreads']['find'](_0xda3f96=>{const _0x525186=_0x2a28d0['_threadToController']['get'](_0xda3f96);return _0x525186&&_0x910a7c['innerView']===_0x525186['view'];});if(_0x29473a){const _0x738206=this['_calculatePosition'](_0x29473a['archivedAt']);this['_addAnnotationToArchive'](_0x910a7c,_0x738206),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x29473a),0x1);}}),this['listenTo'](_0x137698['archivedThreads'],'remove',(_0x15ec87,_0x2d9a08)=>{const _0x1c8c93=_0x2beb0c['config']['get']('collaboration.channelId');if(!_0x1c8c93||_0x2d9a08['channelId']===_0x1c8c93){if(this['_pendingThreads']['includes'](_0x2d9a08))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x2d9a08),0x1);else{const _0x1fe847=_0x2a28d0['_threadToController']['get'](_0x2d9a08),_0xa97349=_0xa80b5b['getByInnerView'](_0x1fe847['view']);this['annotationViews']['remove'](_0xa97349['view']),this['stopListening'](_0xa97349),this['stopListening'](_0xa97349['focusableElements']);}}}),this['listenTo'](_0xa80b5b['collection'],'add',(_0xb72f89,_0x1f88aa)=>{this['listenTo'](_0x1f88aa,'escape',_0x1abefc);}),this['listenTo'](_0xa80b5b['collection'],'remove',(_0x1f1660,_0x4a7ac2)=>{this['stopListening'](_0x4a7ac2,'escape',_0x1abefc);});}['_addAnnotationToArchive'](_0x4a46cf,_0x2bae8d){this['listenTo'](_0x4a46cf,'set:isVisible',_0x2f2bb2=>{_0x2f2bb2['return']=!0x1,_0x2f2bb2['stop']();}),this['annotationViews']['add'](_0x4a46cf['view'],_0x2bae8d);}['_handleNewThread'](_0x460250){const _0xb2283d=this['editor']['plugins']['get']('CommentsRepository'),_0x5a7d3e=this['editor']['plugins']['get']('Annotations'),_0x509054=this['editor']['config']['get']('collaboration.channelId');if(!_0x509054||_0x460250['channelId']===_0x509054){const _0x2264e1=_0xb2283d['_threadToController']['get'](_0x460250);if(!_0x2264e1)return void this['_pendingThreads']['push'](_0x460250);const _0x2bf26e=this['_calculatePosition'](_0x460250['archivedAt']),_0x400187=_0x5a7d3e['getByInnerView'](_0x2264e1['view']);_0x400187['isVisible']&&_0x5a7d3e['_visibleAnnotations']['remove'](_0x400187),this['_addAnnotationToArchive'](_0x400187,_0x2bf26e);}}['_calculatePosition'](_0x1f1a5f){const _0xc7bad7=this['editor']['config']['get']('collaboration.channelId'),_0xd57fd1=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x5e3c95=>_0x5e3c95['channelId']===_0xc7bad7)['findIndex'](_0x3d5a31=>_0x3d5a31['archivedAt']<_0x1f1a5f);return _0xd57fd1<0x0||_0xd57fd1>this['annotationViews']['length']?this['annotationViews']['length']:_0xd57fd1-0x1;}['_toggleDialog'](){const _0x427703=this['editor'],_0x16cb67=_0x427703['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x427703['locale'],this['annotationViews'])),'commentsArchive'===_0x16cb67['id']?_0x16cb67['hide']():_0x16cb67['show']({'id':'commentsArchive','title':ng(_0x427703['locale'],'COMMENTS_ARCHIVE'),'icon':_0xfe3c66,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ct['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x33dfc1,_0x4d747e=!0x1){const _0x58ef09=this['editor']['locale'],_0x389326=this['editor']['plugins']['get']('Dialog'),_0x1c986c=new _0x33dfc1(_0x58ef09);return _0x1c986c['bind']('isEnabled')['to'](this,'isEnabled'),_0x1c986c['bind']('isOn')['to'](_0x389326,'id',_0x41e4a4=>'commentsArchive'===_0x41e4a4),_0x1c986c['set']({'label':ng(_0x58ef09,'COMMENTS_ARCHIVE'),'icon':_0xfe3c66,'isToggleable':!0x0}),_0x4d747e&&(_0x1c986c['tooltip']=!0x0),this['listenTo'](_0x1c986c,'execute',()=>this['_toggleDialog']()),_0x1c986c;}['_hideDialogOnAnnotationEscape']=_0x42e52d=>{const _0x3b07ad=_0x42e52d['source'];if(!this['annotationViews']['has'](_0x3b07ad['view']))return;const _0x420aaf=this['editor']['plugins']['get']('Dialog');_0x420aaf['isOpen']&&'commentsArchive'===_0x420aaf['id']&&(_0x420aaf['hide'](),_0x42e52d['stop']());};}class Comments extends _0x7cf71c{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 Ag(_0x48b30d){let _0x17e0ee='';for(const _0x6cad5a of _0x48b30d['getChildren']())_0x6cad5a instanceof _0x1f1db5&&(_0x17e0ee+=_0x6cad5a['data']);return _0x17e0ee;}class DocumentOutlineUtils extends _0x7cf71c{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x2df4e6=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x8d3d40=[];_0x2df4e6['model']['document']['on']('change',jr(()=>{const _0x43278e=_0x8d3d40;_0x8d3d40=this['_getOutlineDefinitions']();const _0x547dc4=_0x230f57(_0x43278e,_0x8d3d40,(_0x4845aa,_0x635bac)=>_0x4845aa['level']===_0x635bac['level']&&_0x4845aa['text']===_0x635bac['text']&&_0x4845aa['modelElement']===_0x635bac['modelElement']),_0x54e1a6=_0x2310b6(_0x547dc4,_0x8d3d40),_0x542f7a=this['_getActiveHeading'](),_0x1c3501=_0x8d3d40['findIndex'](_0x1289ca=>_0x1289ca['modelElement']===_0x542f7a);_0x54e1a6['length']&&this['fire']('change',{'outlineDefinitions':_0x8d3d40,'activeItemIndex':_0x1c3501,'outlineChanges':_0x54e1a6}),this['fire']('activeItemIndex',{'index':_0x1c3501});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x4eb230=this['editor'],_0x432e7e=[],_0x5895e3=this['_headingNames'];for(const _0x3b5b29 of _0x4eb230['model']['document']['getRootNames']())_0x968c08(_0x4eb230['model']['document']['getRoot'](_0x3b5b29));function _0x968c08(_0x25dbc2){for(const _0x47c60a of _0x25dbc2['getChildren']())_0x47c60a['is']('element')&&(_0x5895e3['includes'](_0x47c60a['name'])&&_0x432e7e['push']({'level':_0x5895e3['indexOf'](_0x47c60a['name'])+0x1,'text':Ag(_0x47c60a),'modelElement':_0x47c60a}),_0x968c08(_0x47c60a));}return _0x432e7e;}['_getActiveHeading'](){const _0x22f99c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x21a58a=new _0x908d36({'direction':'backward','startPosition':_0x22f99c});for(const _0x3e06a1 of _0x21a58a)if(_0x3e06a1['item']['is']('element')&&this['_headingNames']['includes'](_0x3e06a1['item']['name']))return _0x3e06a1['item'];}['_getHeadingNames'](){const _0xe5d81c=this['editor']['config']['get']('documentOutline.headings');return _0xe5d81c||function(_0x57bbd2){const _0x5d9865=_0x57bbd2['config']['get']('heading.options');return _0x5d9865?_0x5d9865['reduce']((_0x47c6b2,_0x178fff)=>('paragraph'!==_0x178fff['model']&&_0x47c6b2['push'](_0x178fff['model']),_0x47c6b2),[]):_0x57bbd2['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x44e151=this['editor'],_0x410567=['h1','h2','h3','h4','h5','h6'],_0x2b6742=[];for(const _0x69af75 of _0x410567){const _0x3f4d66=_0x44e151['editing']['view']['domConverter']['domToView'](document['createElement'](_0x69af75)),_0x23b7fd=_0x44e151['data']['toModel'](_0x3f4d66)['getChild'](0x0);_0x23b7fd?.['is']('element')&&_0x2b6742['push'](_0x23b7fd['name']);}this['_headingNames']=_0x2b6742;}}function Sg(_0x4456c0,_0x51341d){const t=_0x4456c0['t'];switch(_0x51341d){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 _0x51341d;}}class DocumentOutlineItemView extends _0x278baa{constructor(_0x594c3f,_0x333195=!0x1){super(_0x594c3f);const _0x125692=this['bindTemplate'],_0x3f1536=_0x333195?'['+Sg(_0x594c3f,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2ea474=>!_0x2ea474),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x125692['to']('level',_0x56c89a=>'ck-document-outline__item_level-'+_0x56c89a),_0x125692['if']('isActive','ck-document-outline__item_active'),_0x125692['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x125692['to']('text')},'children':[{'text':_0x125692['to']('text',_0x4f46c3=>_0x4f46c3||_0x3f1536)}],'on':{'click':_0x125692['to']('click')}});}}class DocumentOutlineView extends _0x278baa{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x38cc27,_0x1d08ad=!0x1,_0x33352f){super(_0x38cc27),this['showEmptyHeadingText']=_0x1d08ad,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x33352f,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x35a86b,_0x2501cf,_0x3c868b,_0xa62950)=>{this['_setActiveItem'](_0xa62950,_0x3c868b);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x38cc27['contentLanguageDirection'],'data-document-outline-empty-placeholder':Sg(_0x38cc27,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x46f98a){_0x46f98a['forEach'](_0x3cb31e=>{'insert'==_0x3cb31e['type']?this['_insertItem'](_0x3cb31e['index'],..._0x3cb31e['values']):'delete'==_0x3cb31e['type']&&this['_deleteItem'](_0x3cb31e['index'],_0x3cb31e['howMany']);});}['_setActiveItem'](_0x62316a,_0x30c6dd){if(-0x1!==_0x62316a){const _0x17feda=this['items']['get'](_0x62316a);_0x17feda&&(_0x17feda['isActive']=!0x1);}-0x1!==_0x30c6dd&&(this['items']['get'](_0x30c6dd)['isActive']=!0x0,this['_scrollToItem'](_0x30c6dd));}['_insertItem'](_0x2922c7,..._0x36966e){const _0xcfd967=_0x36966e['map']((_0x6d788c,_0x26ab61)=>{const _0x3ebaeb=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x3ebaeb['text']=_0x6d788c['text'],_0x3ebaeb['level']=_0x6d788c['level'],_0x2922c7+_0x26ab61===this['activeItemIndex']&&(_0x3ebaeb['isActive']=!0x0),_0x3ebaeb;});this['items']['addMany'](_0xcfd967,_0x2922c7);}['_deleteItem'](_0x4dce06,_0x347053){do{this['items']['remove'](_0x4dce06);}while(--_0x347053);}['_handleItemClick'](_0x369e7f){const _0x1134cf=this['items']['getIndex'](_0x369e7f['source']);this['fire']('itemSelected',_0x1134cf);}['_scrollToItem'](_0xf8ff4a){_0x2228c5(this['items']['get'](_0xf8ff4a)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x7cf71c{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb89158){super(_0xb89158),this['view']=new DocumentOutlineView(_0xb89158['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=Fr(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x386172=this['editor'],_0x306246=_0x386172['plugins']['get']('DocumentOutlineUtils');let _0x5e6131=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x386172['config']['get']('documentOutline.container'))throw new _0x3ae0e8('document-outline-container-not-provided',{'editor':_0x386172});_0x386172['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x306246['on']('change',this['_handleOutlineChange']['bind'](this)),_0x306246['on']('activeItemIndex',(_0x2ceedf,{index:_0x5e00d2})=>this['_setActiveViewItem'](_0x5e00d2)),this['view']['on']('itemSelected',(_0xe85d57,_0xf39550)=>{_0x5e6131=!0x0,this['_handleItemSelected'](_0xf39550);}),this['view']['listenTo'](_0x37cedc['document'],'scroll',()=>{_0x5e6131?_0x5e6131=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x37cedc['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4e6b6c){const _0xe239d7=_0x969f28([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]),_0x299a15=0x1cb264a3,_0x456052=0x1cb5eecb^_0x299a15,_0x356fb4=window[_0x969f28([0x44,0x61,0x74,0x65])][_0x969f28([0x6e,0x6f,0x77])](),_0x2efc20=_0x4e6b6c[_0x969f28([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ac592=new window[(_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xadf0de=>{_0x2efc20[_0x969f28([0x6f,0x6e,0x63,0x65])](_0x969f28([0x72,0x65,0x61,0x64,0x79]),_0xadf0de);}),_0x3f8dba={[_0x969f28([0x6b,0x74,0x79])]:_0x969f28([0x45,0x43]),[_0x969f28([0x75,0x73,0x65])]:_0x969f28([0x73,0x69,0x67]),[_0x969f28([0x63,0x72,0x76])]:_0x969f28([0x50,0x2d,0x32,0x35,0x36]),[_0x969f28([0x78])]:_0x969f28([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]),[_0x969f28([0x79])]:_0x969f28([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]),[_0x969f28([0x61,0x6c,0x67])]:_0x969f28([0x45,0x53,0x32,0x35,0x36])},_0x4b4413=_0x2efc20[_0x969f28([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x969f28([0x67,0x65,0x74])](_0x969f28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fe1a9(){let _0x638d26,_0x357e7a=null,_0x2cf74f=null;try{if(_0x4b4413==_0x969f28([0x47,0x50,0x4c]))return _0x969f28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x638d26=_0x211f09(),!_0x638d26)return _0x969f28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x638d26[_0x969f28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cf74f=_0x1082fb(_0x638d26[_0x969f28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x638d26[_0x969f28([0x6a,0x74,0x69])])),await _0x1fe580()?_0x4c2eee()?_0x5854b6()?_0x969f28([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38bc58()?(_0x638d26[_0x969f28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x969f28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x357e7a=_0x3b803d(_0x969f28([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d47ae()):_0x969f28([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x969f28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x969f28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x969f28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5854b6(){const _0x20ed21=[_0x969f28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x969f28([0x74,0x72,0x69,0x61,0x6c])][_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x638d26[_0x969f28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x356fb4/0x3e8:0xe10*_0x456052;return _0x638d26[_0x969f28([0x65,0x78,0x70])]<_0x20ed21;}function _0x4c2eee(){const _0x5344ae=_0x638d26[_0x969f28([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5344ae&&(!!_0x5344ae[_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x969f28([0x2a]))||(!!_0x5344ae[_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x969f28([0x44,0x4f]))||(!!_0x5344ae[_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x969f28([0x50,0x50]))||!(!_0x5344ae[_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x969f28([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3c83f3()))));}function _0x38bc58(){const _0xd34e8e=_0x638d26[_0x969f28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd34e8e||0x0==_0xd34e8e[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fa543}=new URL(window[_0x969f28([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd34e8e[_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa543))return!0x0;const _0x311ffe=_0x1fa543[_0x969f28([0x73,0x70,0x6c,0x69,0x74])](_0x969f28([0x2e]));return _0xd34e8e[_0x969f28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54a570=>_0x54a570[_0x969f28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x969f28([0x2a])))[_0x969f28([0x6d,0x61,0x70])](_0x8cc11d=>_0x8cc11d[_0x969f28([0x73,0x70,0x6c,0x69,0x74])](_0x969f28([0x2e])))[_0x969f28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x480e7f=>_0x480e7f[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x311ffe[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x969f28([0x6d,0x61,0x70])](_0x212ce6=>Array(_0x311ffe[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x212ce6[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x969f28([0x66,0x69,0x6c,0x6c])](_0x212ce6[0x0]===_0x969f28([0x2a])?_0x969f28([0x2a]):'')[_0x969f28([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x212ce6))[_0x969f28([0x73,0x6f,0x6d,0x65])](_0x110e3e=>_0x311ffe[_0x969f28([0x65,0x76,0x65,0x72,0x79])]((_0x54c82f,_0x5e8b21)=>_0x110e3e[_0x5e8b21]===_0x54c82f||_0x110e3e[_0x5e8b21]===_0x969f28([0x2a])));}function _0x1d47ae(){return _0x357e7a&&_0x2cf74f?new window[(_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f0d2b,_0x5f4217)=>{_0x357e7a[_0x969f28([0x74,0x68,0x65,0x6e])](_0x4f0d2b,_0x5f4217),_0x2cf74f[_0x969f28([0x74,0x68,0x65,0x6e])](_0x3d4cb6=>{_0x3d4cb6!=_0x969f28([0x56,0x61,0x6c,0x69,0x64])&&_0x4f0d2b(_0x3d4cb6);},_0x5f4217);}):_0x357e7a||_0x2cf74f||_0x969f28([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1082fb(_0x321767,_0x29c705){return new window[(_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x179fe3=>{if(_0x2549da())return _0x179fe3(_0x969f28([0x56,0x61,0x6c,0x69,0x64]));_0x3a5e77(),_0x2efc20[_0x969f28([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x969f28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1906d8=!0x1;const _0x2415b8=_0x462bc0();function _0x2e32da(_0x48c7f7){return!!_0x48c7f7&&(typeof _0x48c7f7===_0x969f28([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48c7f7===_0x969f28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48c7f7[_0x969f28([0x74,0x68,0x65,0x6e])]===_0x969f28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48c7f7[_0x969f28([0x63,0x61,0x74,0x63,0x68])]===_0x969f28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x443125(_0x535404){_0x2b32e8(_0x535404)[_0x969f28([0x74,0x68,0x65,0x6e])](_0x1d1d66=>{if(!_0x1d1d66||_0x1d1d66[_0x969f28([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x969f28([0x6f,0x6b]))return _0x969f28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x223435(_0x881e98(_0x2415b8+_0x29c705))!=_0x1d1d66[_0x969f28([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x969f28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x969f28([0x56,0x61,0x6c,0x69,0x64]);})[_0x969f28([0x74,0x68,0x65,0x6e])](_0x57f0c6=>(_0x46b4c7(),_0x57f0c6),()=>{const _0x29a8ad=_0x2ed3ae();return null==_0x29a8ad?(_0x46b4c7(),_0x969f28([0x56,0x61,0x6c,0x69,0x64])):_0x969f28(_0x356fb4-_0x29a8ad>(0x38bee0a3^_0x299a15)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x969f28([0x74,0x68,0x65,0x6e])](_0x179fe3)[_0x969f28([0x63,0x61,0x74,0x63,0x68])](()=>{_0x179fe3(_0x969f28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12e42d=0x1c848a23^_0x299a15;function _0x46b4c7(){const _0x552605=_0x969f28([0x6c,0x6c,0x63,0x74,0x2d])+_0x223435(_0x881e98(_0x321767)),_0x7c9ceb=_0x55ee29(_0x223435(window[_0x969f28([0x4d,0x61,0x74,0x68])][_0x969f28([0x63,0x65,0x69,0x6c])](_0x356fb4/_0x12e42d)));window[_0x969f28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x969f28([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x552605,_0x7c9ceb);}function _0x2ed3ae(){const _0x2e8b0e=_0x969f28([0x6c,0x6c,0x63,0x74,0x2d])+_0x223435(_0x881e98(_0x321767)),_0x5bc0c7=window[_0x969f28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x969f28([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e8b0e);return _0x5bc0c7?window[_0x969f28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55ee29(_0x5bc0c7),0x10)*_0x12e42d:null;}function _0x2b32e8(_0x5a4391){return new window[(_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xae6d81,_0x4845a1)=>{_0x5a4391[_0x969f28([0x74,0x68,0x65,0x6e])](_0xae6d81,_0x4845a1),window[_0x969f28([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4845a1,0x1cb3b063^_0x299a15);});}}_0x2efc20[_0x969f28([0x6f,0x6e])](_0x969f28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f274e,_0x4ce164)=>{if(_0x4ce164[0x0]!=_0x321767)return _0x179fe3(_0x969f28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ce164[0x1]={..._0x4ce164[0x1],[_0x969f28([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2415b8};},{[_0x969f28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x969f28([0x68,0x69,0x67,0x68])}),_0x2efc20[_0x969f28([0x6f,0x6e])](_0x969f28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39330e=>{_0x2e32da(_0x39330e[_0x969f28([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1906d8=!0x0,_0x443125(_0x39330e[_0x969f28([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x969f28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x969f28([0x6c,0x6f,0x77])}),_0x4ac592[_0x969f28([0x74,0x68,0x65,0x6e])](()=>{_0x1906d8||_0x179fe3(_0x969f28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2549da(){return _0x2efc20[_0x969f28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x969f28([0x76,0x69,0x65,0x77])][_0x969f28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x969f28([0x61,0x75,0x74,0x6f]);}function _0x3a5e77(){_0x2efc20[_0x969f28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x969f28([0x76,0x69,0x65,0x77])][_0x969f28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x969f28([0x61,0x75,0x74,0x6f]);}}function _0x3b803d(_0x139024){const _0x4ac8d7=[new window[(_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23740b=>setTimeout(_0x23740b,0x1cbb5a6f^_0x299a15)),_0x4ac592[_0x969f28([0x74,0x68,0x65,0x6e])](()=>new window[(_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277c95=>{let _0x2408ac=0x0;_0x2efc20[_0x969f28([0x6d,0x6f,0x64,0x65,0x6c])][_0x969f28([0x6f,0x6e])](_0x969f28([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1637be,_0x548836)=>{_0x548836[0x0][_0x969f28([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2408ac++,_0x2408ac==(0x1cb2614b^_0x299a15)&&(_0x277c95(),_0x1637be[_0x969f28([0x6f,0x66,0x66])]());});}))];return window[_0x969f28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x969f28([0x72,0x61,0x63,0x65])](_0x4ac8d7)[_0x969f28([0x74,0x68,0x65,0x6e])](()=>_0x139024);}async function _0x528b43(){await _0x4ac592,_0x2efc20[_0x969f28([0x6d,0x6f,0x64,0x65,0x6c])][_0x969f28([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45e936,_0x2efc20[_0x969f28([0x6d,0x6f,0x64,0x65,0x6c])][_0x969f28([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45e936,_0x2efc20[_0x969f28([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x969f28([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c83f3(){return window[_0x969f28([0x67,0x6c,0x6f,0x62])]&&window[_0x969f28([0x67,0x6c,0x6f,0x62])][_0x969f28([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x10e28b(_0x112624){const _0x290801=_0x32c1();_0x2efc20[_0x290801]=_0x969f28([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])+_0x112624,_0x112624!=_0x969f28([0x56,0x61,0x6c,0x69,0x64])&&_0x528b43();}function _0x32c1(){const _0x25be98=window[_0x969f28([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x969f28([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x969f28([0x6e,0x6f,0x77])]())[_0x969f28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x969f28([0x2e]),'');let _0x599616=_0x969f28([0x61]);for(let _0x3e0348=0x0;_0x3e0348<_0x25be98[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e0348+=0x2){let _0x4bc044=window[_0x969f28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25be98[_0x969f28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e0348,_0x3e0348+0x2));_0x4bc044>=_0xe239d7[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bc044-=_0xe239d7[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x599616+=_0xe239d7[_0x4bc044];}return _0x599616;}function _0x211f09(){const _0x3e1813=_0x4b4413[_0x969f28([0x73,0x70,0x6c,0x69,0x74])](_0x969f28([0x2e]));if(0x3!=_0x3e1813[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xdbc85c(_0x3e1813[0x1]);function _0xdbc85c(_0x43ae85){const _0x3b96a9=_0x32d4b0(_0x43ae85);return _0x3b96a9&&_0x84d0f3()?_0x3b96a9:null;function _0x84d0f3(){const _0x467902=_0x3b96a9[_0x969f28([0x6a,0x74,0x69])],_0x1399eb=window[_0x969f28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x467902[_0x969f28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x467902[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa85f6a={..._0x3b96a9,[_0x969f28([0x6a,0x74,0x69])]:_0x467902[_0x969f28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x467902[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa85f6a[_0x969f28([0x76,0x63])],_0x881e98(_0xa85f6a)==_0x1399eb;}}}async function _0x1fe580(){let _0x2f2645=!0x0;try{const _0x3465e0=_0x4b4413[_0x969f28([0x73,0x70,0x6c,0x69,0x74])](_0x969f28([0x2e])),[_0x3634ad,_0x4543dc,_0x1a5f6e]=_0x3465e0;return _0x308980(_0x3634ad),await _0x269e7e(_0x3634ad,_0x4543dc,_0x1a5f6e),_0x2f2645;}catch{return!0x1;}function _0x308980(_0x2e8a6e){const _0x1adc91=_0x32d4b0(_0x2e8a6e);_0x1adc91&&_0x1adc91[_0x969f28([0x61,0x6c,0x67])]==_0x969f28([0x45,0x53,0x32,0x35,0x36])||(_0x2f2645=!0x1);}async function _0x269e7e(_0x4e6d86,_0x32da3a,_0x5f0333){const _0x165a03=window[_0x969f28([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x969f28([0x66,0x72,0x6f,0x6d])](_0xba017(_0x5f0333),_0x551623=>_0x551623[_0x969f28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4efd23=new window[(_0x969f28([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x969f28([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e6d86+_0x969f28([0x2e])+_0x32da3a),_0x158419=window[_0x969f28([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x969f28([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x158419)return;const _0x5dd6d2=await _0x158419[_0x969f28([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x969f28([0x6a,0x77,0x6b]),_0x3f8dba,{[_0x969f28([0x6e,0x61,0x6d,0x65])]:_0x969f28([0x45,0x43,0x44,0x53,0x41]),[_0x969f28([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x969f28([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x969f28([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x158419[_0x969f28([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x969f28([0x6e,0x61,0x6d,0x65])]:_0x969f28([0x45,0x43,0x44,0x53,0x41]),[_0x969f28([0x68,0x61,0x73,0x68])]:{[_0x969f28([0x6e,0x61,0x6d,0x65])]:_0x969f28([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5dd6d2,_0x165a03,_0x4efd23)||(_0x2f2645=!0x1);}}function _0x32d4b0(_0x7efae1){return _0x7efae1[_0x969f28([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x969f28([0x65,0x79]))?JSON[_0x969f28([0x70,0x61,0x72,0x73,0x65])](_0xba017(_0x7efae1)):null;}function _0xba017(_0x365e5b){return window[_0x969f28([0x61,0x74,0x6f,0x62])](_0x365e5b[_0x969f28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x969f28([0x2b]))[_0x969f28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x969f28([0x2f])));}function _0x881e98(_0x403c52){let _0x4771c7=0x1505;function _0x56aa0b(_0x4af6ed){for(let _0x8f9902=0x0;_0x8f9902<_0x4af6ed[_0x969f28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8f9902++){const _0x58606b=_0x4af6ed[_0x969f28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8f9902);_0x4771c7=(_0x4771c7<<0x5)+_0x4771c7+_0x58606b,_0x4771c7&=_0x4771c7;}}function _0x5da3b5(_0x566873){Array[_0x969f28([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x566873)?_0x566873[_0x969f28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5da3b5):_0x566873&&typeof _0x566873==_0x969f28([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x969f28([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x566873)[_0x969f28([0x73,0x6f,0x72,0x74])]()[_0x969f28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4cdd0b,_0x12f829])=>{_0x56aa0b(_0x4cdd0b),_0x5da3b5(_0x12f829);}):_0x56aa0b(window[_0x969f28([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x566873));}return _0x5da3b5(_0x403c52),_0x4771c7>>>0x0;}function _0x223435(_0x3ecc99){return _0x3ecc99[_0x969f28([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x969f28([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x969f28([0x30]));}function _0x55ee29(_0x9e3bd6){return _0x9e3bd6[_0x969f28([0x73,0x70,0x6c,0x69,0x74])]('')[_0x969f28([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x969f28([0x6a,0x6f,0x69,0x6e])]('');}function _0x45e936(){}function _0x969f28(_0x3f56b7){return _0x3f56b7['map'](_0x170f4f=>String['fromCharCode'](_0x170f4f))['join']('');}_0x10e28b(await _0x2fe1a9());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x566671,{outlineDefinitions:_0xe81e26,outlineChanges:_0x23be13}){this['_currentOutlineDefinitions']=_0xe81e26,this['view']['sync'](_0x23be13);}['_setActiveViewItem'](_0x2a0a39){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x2a0a39]&&(this['view']['activeItemIndex']=_0x2a0a39);}['_handleItemSelected'](_0xb3e649){const _0x1a7f6f=this['_currentOutlineDefinitions'][_0xb3e649]['modelElement'];this['editor']['model']['change'](_0x25a0d1=>{_0x25a0d1['setSelection'](_0x1a7f6f,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xb3e649);}['_updateActiveDefinitionOnViewportChange'](){const _0x217084=this['editor'];let _0x18a82d;for(const _0x27a7e1 of _0x217084['model']['document']['getRootNames']()){const _0x55bc16=_0x217084['editing']['view']['getDomRoot'](_0x27a7e1),_0x47966b=_0x55bc16&&new _0xbeaf38(_0x55bc16)['getVisible']();if(_0x47966b){const _0x3d569a=new _0xbeaf38(_0x37cedc['window'])['getIntersection'](_0x47966b);_0x3d569a&&(_0x18a82d=_0x3d569a['top']+0.25*_0x3d569a['height']);}}if(void 0x0===_0x18a82d)return;const _0x432107=Ig(_0x217084['editing'],this['_currentOutlineDefinitions'],_0x18a82d);_0x432107?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x432107)):this['_setActiveViewItem'](-0x1);}}function Ig(_0x32ac67,_0x30f3ab,_0x3e55c3,_0x11da92=0x0,_0x2003e0=_0x30f3ab['length']-0x1){const _0x5ac61d=Math['floor'](_0x11da92+(_0x2003e0-_0x11da92)/0x2);if(_0x2003e0>=_0x11da92){const _0x3e1b63=_0x30f3ab[_0x5ac61d],_0x3d1063=_0x32ac67['mapper']['toViewElement'](_0x3e1b63['modelElement']);if(!_0x3d1063)return null;const _0x4a30ab=_0x32ac67['view']['domConverter']['mapViewToDom'](_0x3d1063);return new _0xbeaf38(_0x4a30ab)['bottom']>_0x3e55c3?Ig(_0x32ac67,_0x30f3ab,_0x3e55c3,_0x11da92,_0x5ac61d-0x1):Ig(_0x32ac67,_0x30f3ab,_0x3e55c3,_0x5ac61d+0x1,_0x2003e0);}return _0x5ac61d<0x0?null:_0x30f3ab[_0x5ac61d];}class DocumentOutline extends _0x7cf71c{['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 _0xe9ad54=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x557feb;for(const _0x1be691 in _0xe9ad54){const _0xa7d07b=_0x1be691,_0xa20a5a=_0xe9ad54[_0xa7d07b];if('documentOutlineLicenseKeyValid'==_0xa20a5a||'documentOutlineLicenseKeyInvalid'==_0xa20a5a||'documentOutlineLicenseKeyExpired'==_0xa20a5a||'documentOutlineLicenseKeyDomainLimit'==_0xa20a5a||'documentOutlineLicenseKeyNotAllowed'==_0xa20a5a||'documentOutlineLicenseKeyEvaluationLimit'==_0xa20a5a||'documentOutlineLicenseKeyUsageLimit'==_0xa20a5a){delete _0xe9ad54[_0xa7d07b],_0x557feb=_0xa20a5a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x557feb&&_0xe9ad54['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x557feb&&_0xe9ad54['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x557feb&&_0xe9ad54['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x557feb&&_0xe9ad54['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x557feb&&_0xe9ad54['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x557feb&&_0xe9ad54['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x4d9dc4{['execute'](){this['editor']['model']['change'](_0xbfc19e=>{this['editor']['model']['insertObject'](_0xbfc19e['createElement']('tableOfContents'));});}['refresh'](){const _0x3914ae=this['editor']['model'],_0x2a86a5=_0x3914ae['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2a86a5&&_0x3914ae['schema']['findAllowedParent'](_0x2a86a5,'tableOfContents'));}}class HeadingId extends _0x7cf71c{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x22cdb6=this['editor'];if(_0x22cdb6['config']['get']('headingId.modelAttributeName'))return;const _0x3f1e4a=function(_0x403236){const _0xf30f21=new Map();if(_0x403236)return _0x403236['forEach'](_0x135a0a=>{'paragraph'!==_0x135a0a['model']&&_0xf30f21['set'](_0x135a0a['view'],_0x135a0a['model']);}),_0xf30f21['get']('h1')||_0xf30f21['set']('h1','heading1'),_0xf30f21;return _0xf30f21;}(this['editor']['config']['get']('heading.options'));_0x3f1e4a['forEach']((_0x1431c2,_0x5e1402)=>{this['_customUpcastHeadingsConversion'](_0x5e1402),this['_customDataDowncastHeadingsConversion'](_0x1431c2),_0x22cdb6['model']['schema']['isRegistered'](_0x1431c2)&&_0x22cdb6['model']['schema']['extend'](_0x1431c2,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x14d134){this['editor']['conversion']['for']('upcast')['add'](_0x466a62=>_0x466a62['on']('element:'+_0x14d134,(_0x370921,_0x36d54f,_0x26ecfd)=>{const {consumable:_0x54b0a1,writer:_0x351e03}=_0x26ecfd,_0x18b9d9=_0x36d54f['viewItem']['getAttribute']('id'),_0x164fe7=_0x36d54f['modelRange']['getContainedElement']();if(_0x164fe7)return _0x18b9d9&&_0x18b9d9['length']||_0x164fe7['hasAttribute']('headingId')?void(_0x54b0a1['consume'](_0x36d54f['viewItem'],{'attributes':['id']})&&_0x351e03['setAttribute']('headingId',_0x18b9d9,_0x164fe7)):(_0x54b0a1['consume'](_0x36d54f['viewItem'],{'attributes':['id']}),void _0x351e03['setAttribute']('headingId',_0x462bc0(),_0x164fe7));},{'priority':_0x387442['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x287501){this['editor']['conversion']['for']('downcast')['add'](_0x37f024=>_0x37f024['on']('attribute:headingId:'+_0x287501,(_0x1b4c19,_0x35182e,_0x32c730)=>{if(!_0x32c730['consumable']['consume'](_0x35182e['item'],_0x1b4c19['name']))return;const _0x4f5e1a=_0x35182e['item']['getAttribute']('headingId'),_0x49dba7=_0x32c730['mapper']['toViewElement'](_0x35182e['item']);_0x32c730['writer']['setAttribute']('id',_0x4f5e1a,_0x49dba7);}));}['_registerHeadingIdAttributePostfixer'](){const _0xb3636=this['editor'],_0x33a58a=new Set(),_0xef1424=new Set();function _0x11852(_0x450f7b,_0x462745){const _0x29567d=_0x462bc0();return _0xef1424['add'](_0x29567d),_0x450f7b['setAttribute']('headingId',_0x29567d,_0x462745),_0x29567d;}function _0xa0930a(_0x200b24,_0x40aedb){_0x200b24['removeAttribute']('headingId',_0x40aedb);}_0xb3636['model']['document']['registerPostFixer'](_0x457b18=>{const _0xa6289e=_0xb3636['model']['document']['differ']['getChanges']();let _0x32c7be=!0x1;for(const _0x1c9859 of _0xa6289e)if('insert'==_0x1c9859['type']&&_0x1c9859['name']){if(Cg(_0x1c9859['name'])){const _0x94b96b=_0x1c9859['attributes']['get']('headingId');'string'==typeof _0x94b96b?_0x33a58a['has'](_0x94b96b)?(_0x11852(_0x457b18,_0x1c9859['position']['nodeAfter']),_0x32c7be=!0x0):_0xef1424['add'](_0x94b96b):(_0x11852(_0x457b18,_0x1c9859['position']['nodeAfter']),_0x32c7be=!0x0);}else'string'==typeof _0x1c9859['attributes']['get']('headingId')&&(_0xa0930a(_0x457b18,_0x1c9859['position']['nodeAfter']),_0x32c7be=!0x0);}else{if('remove'==_0x1c9859['type']){const _0x4f81d6=_0x1c9859['attributes']['get']('headingId');'string'==typeof _0x4f81d6&&_0x33a58a['delete'](_0x4f81d6);}}return _0x32c7be;}),_0xb3636['model']['document']['on']('change',()=>{_0xef1424['forEach'](_0xb919e1=>_0x33a58a['add'](_0xb919e1)),_0xef1424['clear']();});}}function Cg(_0x3fcb73){return!!_0x3fcb73['match'](/heading\d/);}class TableOfContentsEditing extends _0x7cf71c{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3d4884,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x47e4fb){super(_0x47e4fb),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x54487d=this['editor'],_0x44477f=_0x54487d['editing']['view']['document'];_0x54487d['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x54487d['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x44477f,'click',(_0x161184,_0xeed06b)=>{if(!_0xeed06b['target'])return;const _0x471354=_0xeed06b['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x471354)&&(_0xeed06b['domEvent']['preventDefault'](),_0x161184['stop'](),this['_handleScrollToHeading'](_0x471354));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x54487d['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x54487d));const _0x29399d=_0x54487d['config']['get']('tableOfContents.headings');if(_0x29399d&&_0x29399d['length'])this['listenTo'](_0x54487d['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x29399d),this['_updateTableOfContentsElements']();});else _0x54487d['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x1ab060,_0xec2ea0)=>{this['_currentOutlineDefinitions']=_0xec2ea0['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x54487d['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x5db20e){const _0x38dc1e=_0x4d000e([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]),_0x277b28=0x6b9b05fd,_0x4914af=0x6b9c8f95^_0x277b28,_0x135438=window[_0x4d000e([0x44,0x61,0x74,0x65])][_0x4d000e([0x6e,0x6f,0x77])](),_0x230d3b=_0x5db20e[_0x4d000e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bd653=new window[(_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d0b6d=>{_0x230d3b[_0x4d000e([0x6f,0x6e,0x63,0x65])](_0x4d000e([0x72,0x65,0x61,0x64,0x79]),_0x5d0b6d);}),_0x5b6dcb={[_0x4d000e([0x6b,0x74,0x79])]:_0x4d000e([0x45,0x43]),[_0x4d000e([0x75,0x73,0x65])]:_0x4d000e([0x73,0x69,0x67]),[_0x4d000e([0x63,0x72,0x76])]:_0x4d000e([0x50,0x2d,0x32,0x35,0x36]),[_0x4d000e([0x78])]:_0x4d000e([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]),[_0x4d000e([0x79])]:_0x4d000e([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]),[_0x4d000e([0x61,0x6c,0x67])]:_0x4d000e([0x45,0x53,0x32,0x35,0x36])},_0x55a035=_0x230d3b[_0x4d000e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d000e([0x67,0x65,0x74])](_0x4d000e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e8567(){let _0x101079,_0x14cb96=null,_0x53b537=null;try{if(_0x55a035==_0x4d000e([0x47,0x50,0x4c]))return _0x4d000e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x101079=_0x215424(),!_0x101079)return _0x4d000e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x101079[_0x4d000e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53b537=_0xdf478f(_0x101079[_0x4d000e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x101079[_0x4d000e([0x6a,0x74,0x69])])),await _0x2216fb()?_0x24d21a()?_0x4afe12()?_0x4d000e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4709f0()?(_0x101079[_0x4d000e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d000e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14cb96=_0x39a7b1(_0x4d000e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5970c9()):_0x4d000e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d000e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d000e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d000e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4afe12(){const _0xaae739=[_0x4d000e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d000e([0x74,0x72,0x69,0x61,0x6c])][_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101079[_0x4d000e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x135438/0x3e8:0xe10*_0x4914af;return _0x101079[_0x4d000e([0x65,0x78,0x70])]<_0xaae739;}function _0x24d21a(){const _0x5376b6=_0x101079[_0x4d000e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5376b6&&(!!_0x5376b6[_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d000e([0x2a]))||(!!_0x5376b6[_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d000e([0x54,0x4f,0x43]))||(!!_0x5376b6[_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d000e([0x50,0x50]))||!(!_0x5376b6[_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d000e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x29e59e()))));}function _0x4709f0(){const _0x358744=_0x101079[_0x4d000e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x358744||0x0==_0x358744[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b8071}=new URL(window[_0x4d000e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x358744[_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b8071))return!0x0;const _0xb09076=_0x4b8071[_0x4d000e([0x73,0x70,0x6c,0x69,0x74])](_0x4d000e([0x2e]));return _0x358744[_0x4d000e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45d960=>_0x45d960[_0x4d000e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d000e([0x2a])))[_0x4d000e([0x6d,0x61,0x70])](_0x11d8bd=>_0x11d8bd[_0x4d000e([0x73,0x70,0x6c,0x69,0x74])](_0x4d000e([0x2e])))[_0x4d000e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdbbdb0=>_0xdbbdb0[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb09076[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d000e([0x6d,0x61,0x70])](_0x3a832=>Array(_0xb09076[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a832[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d000e([0x66,0x69,0x6c,0x6c])](_0x3a832[0x0]===_0x4d000e([0x2a])?_0x4d000e([0x2a]):'')[_0x4d000e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a832))[_0x4d000e([0x73,0x6f,0x6d,0x65])](_0x535316=>_0xb09076[_0x4d000e([0x65,0x76,0x65,0x72,0x79])]((_0x3282f3,_0x4092ad)=>_0x535316[_0x4092ad]===_0x3282f3||_0x535316[_0x4092ad]===_0x4d000e([0x2a])));}function _0x5970c9(){return _0x14cb96&&_0x53b537?new window[(_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xce1c79,_0x1d93d8)=>{_0x14cb96[_0x4d000e([0x74,0x68,0x65,0x6e])](_0xce1c79,_0x1d93d8),_0x53b537[_0x4d000e([0x74,0x68,0x65,0x6e])](_0x1e7dcc=>{_0x1e7dcc!=_0x4d000e([0x56,0x61,0x6c,0x69,0x64])&&_0xce1c79(_0x1e7dcc);},_0x1d93d8);}):_0x14cb96||_0x53b537||_0x4d000e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdf478f(_0x522761,_0x291f14){return new window[(_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a4017=>{if(_0x436fe5())return _0x5a4017(_0x4d000e([0x56,0x61,0x6c,0x69,0x64]));_0x816275(),_0x230d3b[_0x4d000e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d000e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47c069=!0x1;const _0x37e200=_0x462bc0();function _0x515003(_0x3894ae){return!!_0x3894ae&&(typeof _0x3894ae===_0x4d000e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3894ae===_0x4d000e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3894ae[_0x4d000e([0x74,0x68,0x65,0x6e])]===_0x4d000e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3894ae[_0x4d000e([0x63,0x61,0x74,0x63,0x68])]===_0x4d000e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17e115(_0x1e9c64){_0x1d4f89(_0x1e9c64)[_0x4d000e([0x74,0x68,0x65,0x6e])](_0x39bdd7=>{if(!_0x39bdd7||_0x39bdd7[_0x4d000e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d000e([0x6f,0x6b]))return _0x4d000e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x395558(_0x201f32(_0x37e200+_0x291f14))!=_0x39bdd7[_0x4d000e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d000e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d000e([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d000e([0x74,0x68,0x65,0x6e])](_0x5e9aac=>(_0xcfdef4(),_0x5e9aac),()=>{const _0x33e56b=_0x2154e5();return null==_0x33e56b?(_0xcfdef4(),_0x4d000e([0x56,0x61,0x6c,0x69,0x64])):_0x4d000e(_0x135438-_0x33e56b>(0x4f9781fd^_0x277b28)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d000e([0x74,0x68,0x65,0x6e])](_0x5a4017)[_0x4d000e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a4017(_0x4d000e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41b136=0x6badeb7d^_0x277b28;function _0xcfdef4(){const _0x258c3f=_0x4d000e([0x6c,0x6c,0x63,0x74,0x2d])+_0x395558(_0x201f32(_0x522761)),_0x21352a=_0xb32600(_0x395558(window[_0x4d000e([0x4d,0x61,0x74,0x68])][_0x4d000e([0x63,0x65,0x69,0x6c])](_0x135438/_0x41b136)));window[_0x4d000e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d000e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x258c3f,_0x21352a);}function _0x2154e5(){const _0x18f63a=_0x4d000e([0x6c,0x6c,0x63,0x74,0x2d])+_0x395558(_0x201f32(_0x522761)),_0x1a9b23=window[_0x4d000e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d000e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18f63a);return _0x1a9b23?window[_0x4d000e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb32600(_0x1a9b23),0x10)*_0x41b136:null;}function _0x1d4f89(_0x328ecf){return new window[(_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c6216,_0x49ee61)=>{_0x328ecf[_0x4d000e([0x74,0x68,0x65,0x6e])](_0x1c6216,_0x49ee61),window[_0x4d000e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49ee61,0x6b9ad13d^_0x277b28);});}}_0x230d3b[_0x4d000e([0x6f,0x6e])](_0x4d000e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d7d1c,_0x43d6fe)=>{if(_0x43d6fe[0x0]!=_0x522761)return _0x5a4017(_0x4d000e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43d6fe[0x1]={..._0x43d6fe[0x1],[_0x4d000e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37e200};},{[_0x4d000e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d000e([0x68,0x69,0x67,0x68])}),_0x230d3b[_0x4d000e([0x6f,0x6e])](_0x4d000e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48a9da=>{_0x515003(_0x48a9da[_0x4d000e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47c069=!0x0,_0x17e115(_0x48a9da[_0x4d000e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d000e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d000e([0x6c,0x6f,0x77])}),_0x1bd653[_0x4d000e([0x74,0x68,0x65,0x6e])](()=>{_0x47c069||_0x5a4017(_0x4d000e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x436fe5(){return _0x230d3b[_0x4d000e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d000e([0x76,0x69,0x65,0x77])][_0x4d000e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d000e([0x61,0x75,0x74,0x6f]);}function _0x816275(){_0x230d3b[_0x4d000e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d000e([0x76,0x69,0x65,0x77])][_0x4d000e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d000e([0x61,0x75,0x74,0x6f]);}}function _0x39a7b1(_0x4ebabf){const _0x1fc5af=[new window[(_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xebae14=>setTimeout(_0xebae14,0x6b923b31^_0x277b28)),_0x1bd653[_0x4d000e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36feca=>{let _0xa61de1=0x0;_0x230d3b[_0x4d000e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d000e([0x6f,0x6e])](_0x4d000e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x443096,_0xcacc05)=>{_0xcacc05[0x0][_0x4d000e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa61de1++,_0xa61de1==(0x6b9b0015^_0x277b28)&&(_0x36feca(),_0x443096[_0x4d000e([0x6f,0x66,0x66])]());});}))];return window[_0x4d000e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d000e([0x72,0x61,0x63,0x65])](_0x1fc5af)[_0x4d000e([0x74,0x68,0x65,0x6e])](()=>_0x4ebabf);}async function _0x75824c(){await _0x1bd653,_0x230d3b[_0x4d000e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d000e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x578bec,_0x230d3b[_0x4d000e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d000e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x578bec,_0x230d3b[_0x4d000e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d000e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29e59e(){return window[_0x4d000e([0x67,0x6c,0x6f,0x62])]&&window[_0x4d000e([0x67,0x6c,0x6f,0x62])][_0x4d000e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x472a34(_0x2c90e7){const _0x36569c=_0x3c7a15();_0x230d3b[_0x36569c]=_0x4d000e([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])+_0x2c90e7,_0x2c90e7!=_0x4d000e([0x56,0x61,0x6c,0x69,0x64])&&_0x75824c();}function _0x3c7a15(){const _0x1de2e9=window[_0x4d000e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d000e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d000e([0x6e,0x6f,0x77])]())[_0x4d000e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d000e([0x2e]),'');let _0x1d50a2=_0x4d000e([0x6d]);for(let _0xdbf9c8=0x0;_0xdbf9c8<_0x1de2e9[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdbf9c8+=0x2){let _0x10f4fa=window[_0x4d000e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de2e9[_0x4d000e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdbf9c8,_0xdbf9c8+0x2));_0x10f4fa>=_0x38dc1e[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10f4fa-=_0x38dc1e[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d50a2+=_0x38dc1e[_0x10f4fa];}return _0x1d50a2;}function _0x215424(){const _0x36f32c=_0x55a035[_0x4d000e([0x73,0x70,0x6c,0x69,0x74])](_0x4d000e([0x2e]));if(0x3!=_0x36f32c[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38f8ec(_0x36f32c[0x1]);function _0x38f8ec(_0x3416db){const _0x37fca6=_0x34e06e(_0x3416db);return _0x37fca6&&_0x334f97()?_0x37fca6:null;function _0x334f97(){const _0x554192=_0x37fca6[_0x4d000e([0x6a,0x74,0x69])],_0x2bbe26=window[_0x4d000e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x554192[_0x4d000e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x554192[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e072a={..._0x37fca6,[_0x4d000e([0x6a,0x74,0x69])]:_0x554192[_0x4d000e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x554192[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e072a[_0x4d000e([0x76,0x63])],_0x201f32(_0x2e072a)==_0x2bbe26;}}}async function _0x2216fb(){let _0x2d5aa8=!0x0;try{const _0x52ae6a=_0x55a035[_0x4d000e([0x73,0x70,0x6c,0x69,0x74])](_0x4d000e([0x2e])),[_0x2e0163,_0x264f84,_0x155205]=_0x52ae6a;return _0x25e861(_0x2e0163),await _0xebfb90(_0x2e0163,_0x264f84,_0x155205),_0x2d5aa8;}catch{return!0x1;}function _0x25e861(_0x5a1927){const _0x588023=_0x34e06e(_0x5a1927);_0x588023&&_0x588023[_0x4d000e([0x61,0x6c,0x67])]==_0x4d000e([0x45,0x53,0x32,0x35,0x36])||(_0x2d5aa8=!0x1);}async function _0xebfb90(_0x493b96,_0x5a2be1,_0x1da6c3){const _0xd787c8=window[_0x4d000e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d000e([0x66,0x72,0x6f,0x6d])](_0x2807d1(_0x1da6c3),_0x49250d=>_0x49250d[_0x4d000e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4beb98=new window[(_0x4d000e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d000e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493b96+_0x4d000e([0x2e])+_0x5a2be1),_0x31b84c=window[_0x4d000e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d000e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31b84c)return;const _0x51d8ef=await _0x31b84c[_0x4d000e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d000e([0x6a,0x77,0x6b]),_0x5b6dcb,{[_0x4d000e([0x6e,0x61,0x6d,0x65])]:_0x4d000e([0x45,0x43,0x44,0x53,0x41]),[_0x4d000e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d000e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d000e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31b84c[_0x4d000e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d000e([0x6e,0x61,0x6d,0x65])]:_0x4d000e([0x45,0x43,0x44,0x53,0x41]),[_0x4d000e([0x68,0x61,0x73,0x68])]:{[_0x4d000e([0x6e,0x61,0x6d,0x65])]:_0x4d000e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51d8ef,_0xd787c8,_0x4beb98)||(_0x2d5aa8=!0x1);}}function _0x34e06e(_0x4087f4){return _0x4087f4[_0x4d000e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d000e([0x65,0x79]))?JSON[_0x4d000e([0x70,0x61,0x72,0x73,0x65])](_0x2807d1(_0x4087f4)):null;}function _0x2807d1(_0x49cfbd){return window[_0x4d000e([0x61,0x74,0x6f,0x62])](_0x49cfbd[_0x4d000e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d000e([0x2b]))[_0x4d000e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d000e([0x2f])));}function _0x201f32(_0x426a6b){let _0xa79fbb=0x1505;function _0x4c1b5d(_0x5be083){for(let _0x51ef47=0x0;_0x51ef47<_0x5be083[_0x4d000e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51ef47++){const _0x4a278e=_0x5be083[_0x4d000e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51ef47);_0xa79fbb=(_0xa79fbb<<0x5)+_0xa79fbb+_0x4a278e,_0xa79fbb&=_0xa79fbb;}}function _0x18e795(_0x3b8503){Array[_0x4d000e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b8503)?_0x3b8503[_0x4d000e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18e795):_0x3b8503&&typeof _0x3b8503==_0x4d000e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d000e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b8503)[_0x4d000e([0x73,0x6f,0x72,0x74])]()[_0x4d000e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f5916,_0x187cd3])=>{_0x4c1b5d(_0x2f5916),_0x18e795(_0x187cd3);}):_0x4c1b5d(window[_0x4d000e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b8503));}return _0x18e795(_0x426a6b),_0xa79fbb>>>0x0;}function _0x395558(_0x339b80){return _0x339b80[_0x4d000e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d000e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d000e([0x30]));}function _0xb32600(_0x505157){return _0x505157[_0x4d000e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d000e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d000e([0x6a,0x6f,0x69,0x6e])]('');}function _0x578bec(){}function _0x4d000e(_0x4db82d){return _0x4db82d['map'](_0x3d72ca=>String['fromCharCode'](_0x3d72ca))['join']('');}_0x472a34(await _0x3e8567());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x83d0bb=>{'$graveyard'!==_0x83d0bb['rootName']&&this['editor']['editing']['reconvertItem'](_0x83d0bb);});}['_trackNewToCElements'](){for(const _0x39d37c of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x39d37c['type']||'tableOfContents'!==_0x39d37c['name'])return;this['_tableOfContentsElements']['add'](_0x39d37c['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x1805ce){const _0x1d1c53=this['editor'],_0x3d7fd2=[];for(const _0x4ec232 of _0x1d1c53['model']['document']['getRootNames']())_0x5627c0(_0x1d1c53['model']['document']['getRoot'](_0x4ec232));function _0x5627c0(_0x329721){for(const _0x51c0f1 of _0x329721['getChildren']())_0x51c0f1['is']('element')&&(_0x1805ce['includes'](_0x51c0f1['name'])&&_0x3d7fd2['push']({'level':_0x1805ce['indexOf'](_0x51c0f1['name'])+0x1,'text':Ag(_0x51c0f1),'modelElement':_0x51c0f1}),_0x5627c0(_0x51c0f1));}return _0x3d7fd2;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3d616a=this['editor']['conversion'];_0x3d616a['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3d616a['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5f3643,{writer:_0x25faaa})=>this['_createTableOfContents'](_0x25faaa,!0x0)}),_0x3d616a['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xaf6683,{writer:_0x5ba445})=>{this['_tableOfContentsElements']['add'](_0xaf6683);const _0x3967d1=this['_createTableOfContents'](_0x5ba445);return _0x5eb950(_0x3967d1,_0x5ba445,{'label':Sg(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'](_0x54b2a2,_0x23b631=!0x1){const {locale:_0x47a30c}=this['editor'],_0x1f35e3=_0x54b2a2['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x23b631&&{'data-table-of-contents-label':Sg(_0x47a30c,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x23b631&&_0x54b2a2['insert'](_0x54b2a2['createPositionAt'](_0x1f35e3,'end'),_0x54b2a2['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x54b2a2['createText'](Sg(_0x47a30c,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x417e6c=_0x23b631?'':'['+Sg(_0x47a30c,'Empty\x20heading')+']';let _0x439c92=_0x1f35e3;return this['_currentOutlineDefinitions']['forEach']((_0x2877d0,_0x219450,_0x2e6ab6)=>{const _0x5b74fa=this['editor']['model']['hasContent'](_0x2877d0['modelElement'],{'ignoreWhitespaces':!0x0}),_0x28b268=_0x5b74fa?_0x2877d0['text']:_0x417e6c,_0x502e55=_0x2877d0['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4d80c6=_0x54b2a2['createContainerElement']('a',{'href':'#'+_0x502e55,...!_0x23b631&&{'tabindex':'-1'}},[_0x54b2a2['createText'](_0x28b268)]),_0x19c2f8=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x54b2a2['setCustomProperty']('tableOfContentsHeadingIndex',_0x219450,_0x4d80c6);const _0x30769e=_0x54b2a2['createContainerElement']('li',null,[_0x5b74fa||!_0x23b631&&_0x19c2f8?_0x4d80c6:_0x54b2a2['createText']('')]),_0x1fd372=_0x219450?_0x2e6ab6[_0x219450-0x1]['level']:0x0,_0x59a57a=Math['abs'](_0x2877d0['level']-_0x1fd372);if(_0x2877d0['level']>_0x1fd372){const _0x2b194e=kg(_0x30769e,_0x59a57a,_0x54b2a2);_0x54b2a2['insert'](_0x54b2a2['createPositionAt'](_0x439c92,'end'),_0x2b194e);}else{const _0x38b843=function(_0x43f378,_0x577b96){return _0x43f378['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x23b5c7=>_0x23b5c7['is']('element','ol'))[_0x577b96];}(_0x439c92,_0x59a57a);_0x54b2a2['insert'](_0x54b2a2['createPositionAt'](_0x38b843,'end'),_0x30769e);}_0x439c92=_0x30769e;}),_0x1f35e3;}['_handleScrollToHeading'](_0x5b02bc){const _0xe07e7f=this['_currentOutlineDefinitions'][_0x5b02bc]['modelElement'];this['editor']['model']['change'](_0x49504b=>{_0x49504b['setSelection'](_0xe07e7f,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x5dcbba,_0x4aa212)=>{const _0x372237=_0x4aa212['mapper'],_0x2d3ec4=_0x372237['findMappedViewAncestor'](_0x4aa212['viewPosition']),_0x48f5e5=_0x372237['toModelElement'](_0x2d3ec4);_0x48f5e5['is']('element','tableOfContents')&&(_0x4aa212['modelPosition']=this['editor']['model']['createPositionAt'](_0x48f5e5,0x0),_0x5dcbba['stop']());};}}function kg(_0xe73cd1,_0x3e6e9e,_0x5c131a){return 0x1===_0x3e6e9e?_0x5c131a['createContainerElement']('ol',null,[_0xe73cd1]):_0x5c131a['createContainerElement']('ol',null,[_0x5c131a['createContainerElement']('li',null,[kg(_0xe73cd1,_0x3e6e9e-0x1,_0x5c131a)])]);}class TableOfContentsUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b8588=this['editor'];_0x3b8588['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xc6b8a9=this['_createButton'](_0x1a631f);return _0xc6b8a9['tooltip']=!0x0,_0xc6b8a9;}),_0x3b8588['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](at)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x24cfbc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f68cf;for(const _0x58134c in _0x24cfbc){const _0x56f636=_0x58134c,_0x23b936=_0x24cfbc[_0x56f636];if('tableOfContentsLicenseKeyValid'==_0x23b936||'tableOfContentsLicenseKeyInvalid'==_0x23b936||'tableOfContentsLicenseKeyExpired'==_0x23b936||'tableOfContentsLicenseKeyDomainLimit'==_0x23b936||'tableOfContentsLicenseKeyNotAllowed'==_0x23b936||'tableOfContentsLicenseKeyEvaluationLimit'==_0x23b936||'tableOfContentsLicenseKeyUsageLimit'==_0x23b936){delete _0x24cfbc[_0x56f636],_0x4f68cf=_0x23b936,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4f68cf&&_0x24cfbc['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4f68cf&&_0x24cfbc['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4f68cf&&_0x24cfbc['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4f68cf&&_0x24cfbc['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4f68cf&&_0x24cfbc['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4f68cf&&_0x24cfbc['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4b207d){const _0x4c2d77=this['editor'],_0x5ae4de=_0x4c2d77['locale'],_0x4f92f5=_0x4c2d77['commands']['get']('insertTableOfContents'),_0x1e0c83=new _0x4b207d(_0x5ae4de);return _0x1e0c83['set']({'label':Sg(_0x5ae4de,'Table\x20of\x20contents'),'icon':_0x4d082c}),_0x1e0c83['bind']('isEnabled')['to'](_0x4f92f5,'isEnabled'),this['listenTo'](_0x1e0c83,'execute',()=>{_0x4c2d77['execute']('insertTableOfContents'),_0x4c2d77['editing']['view']['focus']();}),_0x1e0c83;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x7cf71c{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const xg='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x7cf71c{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x323f08){super(_0x323f08),_0x323f08['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x591aab){const _0xb9bff=_0x7aa8eb([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]),_0x35de3e=0x7780c648,_0x636ab6=0x77874c20^_0x35de3e,_0x1e97ac=window[_0x7aa8eb([0x44,0x61,0x74,0x65])][_0x7aa8eb([0x6e,0x6f,0x77])](),_0x386d0c=_0x591aab[_0x7aa8eb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ae2e5=new window[(_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5088dd=>{_0x386d0c[_0x7aa8eb([0x6f,0x6e,0x63,0x65])](_0x7aa8eb([0x72,0x65,0x61,0x64,0x79]),_0x5088dd);}),_0x27d363={[_0x7aa8eb([0x6b,0x74,0x79])]:_0x7aa8eb([0x45,0x43]),[_0x7aa8eb([0x75,0x73,0x65])]:_0x7aa8eb([0x73,0x69,0x67]),[_0x7aa8eb([0x63,0x72,0x76])]:_0x7aa8eb([0x50,0x2d,0x32,0x35,0x36]),[_0x7aa8eb([0x78])]:_0x7aa8eb([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]),[_0x7aa8eb([0x79])]:_0x7aa8eb([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]),[_0x7aa8eb([0x61,0x6c,0x67])]:_0x7aa8eb([0x45,0x53,0x32,0x35,0x36])},_0x434ac1=_0x386d0c[_0x7aa8eb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7aa8eb([0x67,0x65,0x74])](_0x7aa8eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x106e39(){let _0x5ec9c5,_0x14a723=null,_0x4865e2=null;try{if(_0x434ac1==_0x7aa8eb([0x47,0x50,0x4c]))return _0x7aa8eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ec9c5=_0x483bd2(),!_0x5ec9c5)return _0x7aa8eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ec9c5[_0x7aa8eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4865e2=_0x59529c(_0x5ec9c5[_0x7aa8eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ec9c5[_0x7aa8eb([0x6a,0x74,0x69])])),await _0x9d5f49()?_0x326fda()?_0xdf2cb0()?_0x7aa8eb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48f417()?(_0x5ec9c5[_0x7aa8eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7aa8eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14a723=_0x43a8c8(_0x7aa8eb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e26e0()):_0x7aa8eb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7aa8eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7aa8eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7aa8eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdf2cb0(){const _0x33d955=[_0x7aa8eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7aa8eb([0x74,0x72,0x69,0x61,0x6c])][_0x7aa8eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec9c5[_0x7aa8eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e97ac/0x3e8:0xe10*_0x636ab6;return _0x5ec9c5[_0x7aa8eb([0x65,0x78,0x70])]<_0x33d955;}function _0x326fda(){const _0x48dc0c=_0x5ec9c5[_0x7aa8eb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48dc0c&&(!!_0x48dc0c[_0x7aa8eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7aa8eb([0x2a]))||!!_0x48dc0c[_0x7aa8eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7aa8eb([0x45,0x43,0x48])));}function _0x48f417(){const _0x4e63e5=_0x5ec9c5[_0x7aa8eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e63e5||0x0==_0x4e63e5[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3547ce}=new URL(window[_0x7aa8eb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e63e5[_0x7aa8eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ce))return!0x0;const _0x4289a1=_0x3547ce[_0x7aa8eb([0x73,0x70,0x6c,0x69,0x74])](_0x7aa8eb([0x2e]));return _0x4e63e5[_0x7aa8eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd2557f=>_0xd2557f[_0x7aa8eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7aa8eb([0x2a])))[_0x7aa8eb([0x6d,0x61,0x70])](_0x17d659=>_0x17d659[_0x7aa8eb([0x73,0x70,0x6c,0x69,0x74])](_0x7aa8eb([0x2e])))[_0x7aa8eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x161b3c=>_0x161b3c[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4289a1[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7aa8eb([0x6d,0x61,0x70])](_0x45b4d0=>Array(_0x4289a1[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45b4d0[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7aa8eb([0x66,0x69,0x6c,0x6c])](_0x45b4d0[0x0]===_0x7aa8eb([0x2a])?_0x7aa8eb([0x2a]):'')[_0x7aa8eb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45b4d0))[_0x7aa8eb([0x73,0x6f,0x6d,0x65])](_0x2a765e=>_0x4289a1[_0x7aa8eb([0x65,0x76,0x65,0x72,0x79])]((_0x168f62,_0x51dab0)=>_0x2a765e[_0x51dab0]===_0x168f62||_0x2a765e[_0x51dab0]===_0x7aa8eb([0x2a])));}function _0x2e26e0(){return _0x14a723&&_0x4865e2?new window[(_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8ff879,_0x4b9b27)=>{_0x14a723[_0x7aa8eb([0x74,0x68,0x65,0x6e])](_0x8ff879,_0x4b9b27),_0x4865e2[_0x7aa8eb([0x74,0x68,0x65,0x6e])](_0x122abc=>{_0x122abc!=_0x7aa8eb([0x56,0x61,0x6c,0x69,0x64])&&_0x8ff879(_0x122abc);},_0x4b9b27);}):_0x14a723||_0x4865e2||_0x7aa8eb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59529c(_0x237ca1,_0x31749d){return new window[(_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x98b2b1=>{if(_0x57f67d())return _0x98b2b1(_0x7aa8eb([0x56,0x61,0x6c,0x69,0x64]));_0x53e15a(),_0x386d0c[_0x7aa8eb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7aa8eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x503f7e=!0x1;const _0x4f8fdb=_0x462bc0();function _0x28a50f(_0x14b053){return!!_0x14b053&&(typeof _0x14b053===_0x7aa8eb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14b053===_0x7aa8eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14b053[_0x7aa8eb([0x74,0x68,0x65,0x6e])]===_0x7aa8eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14b053[_0x7aa8eb([0x63,0x61,0x74,0x63,0x68])]===_0x7aa8eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x296be0(_0x1c2d6d){_0x48bcc4(_0x1c2d6d)[_0x7aa8eb([0x74,0x68,0x65,0x6e])](_0x186cd8=>{if(!_0x186cd8||_0x186cd8[_0x7aa8eb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7aa8eb([0x6f,0x6b]))return _0x7aa8eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x862f4(_0x4fd6c5(_0x4f8fdb+_0x31749d))!=_0x186cd8[_0x7aa8eb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7aa8eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7aa8eb([0x56,0x61,0x6c,0x69,0x64]);})[_0x7aa8eb([0x74,0x68,0x65,0x6e])](_0x3946cc=>(_0xebd27(),_0x3946cc),()=>{const _0x638f37=_0x458333();return null==_0x638f37?(_0xebd27(),_0x7aa8eb([0x56,0x61,0x6c,0x69,0x64])):_0x7aa8eb(_0x1e97ac-_0x638f37>(0x538c4248^_0x35de3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7aa8eb([0x74,0x68,0x65,0x6e])](_0x98b2b1)[_0x7aa8eb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x98b2b1(_0x7aa8eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaab67c=0x77b628c8^_0x35de3e;function _0xebd27(){const _0x754e38=_0x7aa8eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x862f4(_0x4fd6c5(_0x237ca1)),_0x5c5933=_0x4e8f44(_0x862f4(window[_0x7aa8eb([0x4d,0x61,0x74,0x68])][_0x7aa8eb([0x63,0x65,0x69,0x6c])](_0x1e97ac/_0xaab67c)));window[_0x7aa8eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7aa8eb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x754e38,_0x5c5933);}function _0x458333(){const _0xed676d=_0x7aa8eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x862f4(_0x4fd6c5(_0x237ca1)),_0x65ccfe=window[_0x7aa8eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7aa8eb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xed676d);return _0x65ccfe?window[_0x7aa8eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e8f44(_0x65ccfe),0x10)*_0xaab67c:null;}function _0x48bcc4(_0x512bba){return new window[(_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21e667,_0x10fddf)=>{_0x512bba[_0x7aa8eb([0x74,0x68,0x65,0x6e])](_0x21e667,_0x10fddf),window[_0x7aa8eb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10fddf,0x77811288^_0x35de3e);});}}_0x386d0c[_0x7aa8eb([0x6f,0x6e])](_0x7aa8eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x192f6a,_0x334d63)=>{if(_0x334d63[0x0]!=_0x237ca1)return _0x98b2b1(_0x7aa8eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x334d63[0x1]={..._0x334d63[0x1],[_0x7aa8eb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f8fdb};},{[_0x7aa8eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7aa8eb([0x68,0x69,0x67,0x68])}),_0x386d0c[_0x7aa8eb([0x6f,0x6e])](_0x7aa8eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2af451=>{_0x28a50f(_0x2af451[_0x7aa8eb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x503f7e=!0x0,_0x296be0(_0x2af451[_0x7aa8eb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7aa8eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7aa8eb([0x6c,0x6f,0x77])}),_0x4ae2e5[_0x7aa8eb([0x74,0x68,0x65,0x6e])](()=>{_0x503f7e||_0x98b2b1(_0x7aa8eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57f67d(){return _0x386d0c[_0x7aa8eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7aa8eb([0x76,0x69,0x65,0x77])][_0x7aa8eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7aa8eb([0x61,0x75,0x74,0x6f]);}function _0x53e15a(){_0x386d0c[_0x7aa8eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7aa8eb([0x76,0x69,0x65,0x77])][_0x7aa8eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7aa8eb([0x61,0x75,0x74,0x6f]);}}function _0x43a8c8(_0x592fa7){const _0x1bc549=[new window[(_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b4f92=>setTimeout(_0x1b4f92,0x7789f884^_0x35de3e)),_0x4ae2e5[_0x7aa8eb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259d6f=>{let _0x227930=0x0;_0x386d0c[_0x7aa8eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x7aa8eb([0x6f,0x6e])](_0x7aa8eb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12d166,_0x4997a4)=>{_0x4997a4[0x0][_0x7aa8eb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x227930++,_0x227930==(0x7780c3a0^_0x35de3e)&&(_0x259d6f(),_0x12d166[_0x7aa8eb([0x6f,0x66,0x66])]());});}))];return window[_0x7aa8eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7aa8eb([0x72,0x61,0x63,0x65])](_0x1bc549)[_0x7aa8eb([0x74,0x68,0x65,0x6e])](()=>_0x592fa7);}async function _0x1e7f8e(){await _0x4ae2e5,_0x386d0c[_0x7aa8eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x7aa8eb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a22de,_0x386d0c[_0x7aa8eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x7aa8eb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a22de,_0x386d0c[_0x7aa8eb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7aa8eb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x362fd3(_0x23e071){const _0x29cb39=_0x586edf();_0x386d0c[_0x29cb39]=_0x7aa8eb([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])+_0x23e071,_0x23e071!=_0x7aa8eb([0x56,0x61,0x6c,0x69,0x64])&&_0x1e7f8e();}function _0x586edf(){const _0x225f8a=window[_0x7aa8eb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7aa8eb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7aa8eb([0x6e,0x6f,0x77])]())[_0x7aa8eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7aa8eb([0x2e]),'');let _0x37d872=_0x7aa8eb([0x75]);for(let _0x5f4a32=0x0;_0x5f4a32<_0x225f8a[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f4a32+=0x2){let _0x407a75=window[_0x7aa8eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x225f8a[_0x7aa8eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f4a32,_0x5f4a32+0x2));_0x407a75>=_0xb9bff[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x407a75-=_0xb9bff[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37d872+=_0xb9bff[_0x407a75];}return _0x37d872;}function _0x483bd2(){const _0x126634=_0x434ac1[_0x7aa8eb([0x73,0x70,0x6c,0x69,0x74])](_0x7aa8eb([0x2e]));if(0x3!=_0x126634[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x540416(_0x126634[0x1]);function _0x540416(_0x502065){const _0x5f2ba2=_0xf7eb05(_0x502065);return _0x5f2ba2&&_0x464366()?_0x5f2ba2:null;function _0x464366(){const _0x281444=_0x5f2ba2[_0x7aa8eb([0x6a,0x74,0x69])],_0x967af5=window[_0x7aa8eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x281444[_0x7aa8eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x281444[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b12be={..._0x5f2ba2,[_0x7aa8eb([0x6a,0x74,0x69])]:_0x281444[_0x7aa8eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x281444[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b12be[_0x7aa8eb([0x76,0x63])],_0x4fd6c5(_0x4b12be)==_0x967af5;}}}async function _0x9d5f49(){let _0x48aac2=!0x0;try{const _0x32d850=_0x434ac1[_0x7aa8eb([0x73,0x70,0x6c,0x69,0x74])](_0x7aa8eb([0x2e])),[_0x19a2d5,_0x1dfa5f,_0x50177d]=_0x32d850;return _0x476ea6(_0x19a2d5),await _0x18ea27(_0x19a2d5,_0x1dfa5f,_0x50177d),_0x48aac2;}catch{return!0x1;}function _0x476ea6(_0x23870a){const _0x1a0348=_0xf7eb05(_0x23870a);_0x1a0348&&_0x1a0348[_0x7aa8eb([0x61,0x6c,0x67])]==_0x7aa8eb([0x45,0x53,0x32,0x35,0x36])||(_0x48aac2=!0x1);}async function _0x18ea27(_0x55cc10,_0x11e2eb,_0x3b8922){const _0x24449c=window[_0x7aa8eb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7aa8eb([0x66,0x72,0x6f,0x6d])](_0x1e7df7(_0x3b8922),_0x339768=>_0x339768[_0x7aa8eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ebb81=new window[(_0x7aa8eb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7aa8eb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55cc10+_0x7aa8eb([0x2e])+_0x11e2eb),_0x2dcb3b=window[_0x7aa8eb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7aa8eb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dcb3b)return;const _0xbc50f4=await _0x2dcb3b[_0x7aa8eb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7aa8eb([0x6a,0x77,0x6b]),_0x27d363,{[_0x7aa8eb([0x6e,0x61,0x6d,0x65])]:_0x7aa8eb([0x45,0x43,0x44,0x53,0x41]),[_0x7aa8eb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7aa8eb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7aa8eb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dcb3b[_0x7aa8eb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7aa8eb([0x6e,0x61,0x6d,0x65])]:_0x7aa8eb([0x45,0x43,0x44,0x53,0x41]),[_0x7aa8eb([0x68,0x61,0x73,0x68])]:{[_0x7aa8eb([0x6e,0x61,0x6d,0x65])]:_0x7aa8eb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbc50f4,_0x24449c,_0x3ebb81)||(_0x48aac2=!0x1);}}function _0xf7eb05(_0x31ad20){return _0x31ad20[_0x7aa8eb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7aa8eb([0x65,0x79]))?JSON[_0x7aa8eb([0x70,0x61,0x72,0x73,0x65])](_0x1e7df7(_0x31ad20)):null;}function _0x1e7df7(_0x1185b5){return window[_0x7aa8eb([0x61,0x74,0x6f,0x62])](_0x1185b5[_0x7aa8eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7aa8eb([0x2b]))[_0x7aa8eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7aa8eb([0x2f])));}function _0x4fd6c5(_0x118c3f){let _0xf54e3f=0x1505;function _0x28239e(_0x4f4626){for(let _0x29ff51=0x0;_0x29ff51<_0x4f4626[_0x7aa8eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29ff51++){const _0x253759=_0x4f4626[_0x7aa8eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29ff51);_0xf54e3f=(_0xf54e3f<<0x5)+_0xf54e3f+_0x253759,_0xf54e3f&=_0xf54e3f;}}function _0x5139cc(_0x22c2d9){Array[_0x7aa8eb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22c2d9)?_0x22c2d9[_0x7aa8eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5139cc):_0x22c2d9&&typeof _0x22c2d9==_0x7aa8eb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7aa8eb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22c2d9)[_0x7aa8eb([0x73,0x6f,0x72,0x74])]()[_0x7aa8eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ceadc,_0x24747e])=>{_0x28239e(_0x1ceadc),_0x5139cc(_0x24747e);}):_0x28239e(window[_0x7aa8eb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22c2d9));}return _0x5139cc(_0x118c3f),_0xf54e3f>>>0x0;}function _0x862f4(_0x9098e9){return _0x9098e9[_0x7aa8eb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7aa8eb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7aa8eb([0x30]));}function _0x4e8f44(_0x5182d8){return _0x5182d8[_0x7aa8eb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7aa8eb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7aa8eb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a22de(){}function _0x7aa8eb(_0x4692f4){return _0x4692f4['map'](_0x3f7f0a=>String['fromCharCode'](_0x3f7f0a))['join']('');}_0x362fd3(await _0x106e39());}(this);}['_logSuppressibleWarning'](_0xda27d4,_0x56cfc9){if(this['_isSuppressedLog'](_0xda27d4,_0x56cfc9))return;const _0x1319c4=xg+'/support/error-codes.html#error-'+_0xda27d4;console['warn']('%cEmailConfigurationHelper%c\x20'+_0xda27d4,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x56cfc9?[_0x56cfc9]:[],'\x0aRead\x20more:\x20'+_0x1319c4);}['_logSuppressibleInfo'](_0x1a216e,_0x337aff,_0x3baebd){if(this['_isSuppressedLog'](_0x1a216e))return;let _0x5d4b13=_0x337aff;_0x3baebd&&(_0x5d4b13+='\x0aRead\x20more:\x20'+(xg+'/'+_0x3baebd)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x1a216e,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x5d4b13);}['_checkUnsupportedPlugin'](_0x3a6559,_0x2015e4){this['editor']['plugins']['has'](_0x3a6559)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x3a6559,..._0x2015e4});}['_validateConfigColorValue'](_0x1a7375){const _0x1eb284=this['editor']['config']['get'](_0x1a7375);if(!_0x1eb284)return;const _0x3710a7=Array['isArray'](_0x1eb284),_0x486edc=_0x3710a7?_0x1eb284:[_0x1eb284];for(const [_0x252ea5,_0x528849]of _0x486edc['entries']()){const _0x1d081c='string'==typeof _0x528849?_0x528849:_0x528849['color'];Pg(_0x1d081c)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x3710a7?_0x1a7375+'['+_0x252ea5+']':_0x1a7375,'color':_0x1d081c});}}['_validateConfigColorFormat'](_0x5a9d33){const _0x367f10=this['editor']['config']['get'](_0x5a9d33);_0x367f10&&Mg(_0x367f10)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x5a9d33,'format':_0x367f10});}['_isSuppressedLog'](_0x19a557,_0x50e98d){const _0x144f74=this['editor']['config']['get']('email.logs');return!!_0x144f74['suppressAll']||(!('function'!=typeof _0x144f74['suppress']||!_0x144f74['suppress'](_0x19a557,_0x50e98d))||!(!Array['isArray'](_0x144f74['suppress'])||!_0x144f74['suppress']['includes'](_0x19a557)));}}const Rg=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function Pg(_0x2f168f){return!!_0x2f168f&&Rg['some'](_0x5593fe=>_0x2f168f['includes'](_0x5593fe+'('));}function Mg(_0x25eb4a){return!!_0x25eb4a&&Rg['includes'](_0x25eb4a);}class HighlightEmailIntegration extends _0x7cf71c{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 Ng=function(_0x4e911f){var _0x483bcc,_0x271d87,_0x3826de=_0x4e911f,_0x48dd38={'a':0x0,'b':0x0,'c':0x0},_0x2be653=[];return _0x483bcc=function(_0x5d9cc6,_0x48e656){var _0x119b2a,_0x4b9b8d,_0x2848ae,_0x3500c5,_0x2530e0,_0x31d60f;if(_0x5d9cc6['test'](_0x3826de)){for(_0x4b9b8d=0x0,_0x2848ae=(_0x119b2a=_0x3826de['match'](_0x5d9cc6))['length'];_0x4b9b8d<_0x2848ae;_0x4b9b8d+=0x1)_0x48dd38[_0x48e656]+=0x1,_0x3500c5=_0x119b2a[_0x4b9b8d],_0x2530e0=_0x3826de['indexOf'](_0x3500c5),_0x31d60f=_0x3500c5['length'],_0x2be653['push']({'selector':_0x4e911f['substr'](_0x2530e0,_0x31d60f),'type':_0x48e656,'index':_0x2530e0,'length':_0x31d60f}),_0x3826de=_0x3826de['replace'](_0x3500c5,Array(_0x31d60f+0x1)['join']('\x20'));}},_0x271d87=function(_0x40bdfe){var _0xbd452d,_0x38bddb,_0x44a3a5,_0x804efc;if(_0x40bdfe['test'](_0x3826de)){for(_0x38bddb=0x0,_0x44a3a5=(_0xbd452d=_0x3826de['match'](_0x40bdfe))['length'];_0x38bddb<_0x44a3a5;_0x38bddb+=0x1)_0x804efc=_0xbd452d[_0x38bddb],_0x3826de=_0x3826de['replace'](_0x804efc,Array(_0x804efc['length']+0x1)['join']('A'));}},_0x271d87(/\\[0-9A-Fa-f]{6}\s?/g),_0x271d87(/\\[0-9A-Fa-f]{1,5}\s/g),_0x271d87(/\\./g),(function(){var _0x46f622,_0x1c7e42,_0xa4595a,_0x1b455e,_0x11fead=/{[^]*/gm;if(_0x11fead['test'](_0x3826de)){for(_0x1c7e42=0x0,_0xa4595a=(_0x46f622=_0x3826de['match'](_0x11fead))['length'];_0x1c7e42<_0xa4595a;_0x1c7e42+=0x1)_0x1b455e=_0x46f622[_0x1c7e42],_0x3826de=_0x3826de['replace'](_0x1b455e,Array(_0x1b455e['length']+0x1)['join']('\x20'));}}()),_0x483bcc(/(\[[^\]]+\])/g,'b'),_0x483bcc(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x483bcc(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x483bcc(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x483bcc(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x483bcc(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x3826de=(_0x3826de=(_0x3826de=(_0x3826de=(_0x3826de=(_0x3826de=_0x3826de['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'),_0x483bcc(/([^\s\+>~\.\[:]+)/g,'c'),_0x2be653['sort'](function(_0x5cc00f,_0x9229ee){return _0x5cc00f['index']-_0x9229ee['index'];}),{'selector':_0x4e911f,'specificity':'0,'+_0x48dd38['a']['toString']()+','+_0x48dd38['b']['toString']()+','+_0x48dd38['c']['toString'](),'specificityArray':[0x0,_0x48dd38['a'],_0x48dd38['b'],_0x48dd38['c']],'parts':_0x2be653};};function Lg(_0xd7622d){const _0x465859=[];let _0xdfaba8='',_0x12ffca=0x0;for(;_0x12ffca<_0xd7622d['length'];){const _0x45b91b=_0xd7622d[_0x12ffca];if('('===_0x45b91b){const _0xea8b17=$g(_0xd7622d,_0x12ffca+0x1);if(-0x1===_0xea8b17)return[];_0xdfaba8+=_0xd7622d['slice'](_0x12ffca,_0xea8b17+0x1),_0x12ffca=_0xea8b17+0x1;}else','!==_0x45b91b||_0xdfaba8['endsWith']('\x5c')?(_0xdfaba8+=_0x45b91b,_0x12ffca++):(_0x465859['push'](_0xdfaba8['trim']()),_0xdfaba8='',_0x12ffca++);}return _0xdfaba8['trim']()&&_0x465859['push'](_0xdfaba8['trim']()),_0x465859['filter'](Boolean);}function $g(_0x419416,_0x3d8d55){let _0x4c0e48=0x1;for(let _0x53351d=_0x3d8d55;_0x53351d<_0x419416['length'];_0x53351d++){const _0x269e23=_0x419416[_0x53351d];if('('===_0x269e23)_0x4c0e48++;else{if(')'===_0x269e23&&(_0x4c0e48--,0x0===_0x4c0e48))return _0x53351d;}}return-0x1;}function Dg(_0x3ac917){return _0x3ac917['replace'](/!\s*important/i,'')['trim']();}function Qg(_0x15b08c,_0x156653){const _0x3ae8d5=new Map(),_0x4ac2b1=_0x4304b5=>_0x3ae8d5['has'](_0x4304b5)?_0x3ae8d5['get'](_0x4304b5):_0x15b08c(_0x4304b5);for(const [_0x3cfbfa,_0xa19800]of _0x156653['getStylesEntries']())if(_0xa19800&&_0x3cfbfa['startsWith']('--')){const _0x3ee17f=Vg(_0x4ac2b1,_0xa19800);_0x3ae8d5['set'](_0x3cfbfa,_0x3ee17f),_0x156653['remove'](_0x3cfbfa);}for(const [_0x19cd8a,_0x3f2bf1]of _0x156653['getStylesEntries']())if(_0x3f2bf1){const _0x5200d1=Vg(_0x4ac2b1,_0x3f2bf1);_0x156653['set'](_0x19cd8a,_0x5200d1);}return _0x3ae8d5;}function Vg(_0x590490,_0xf2bee6){return function(_0x56d834,_0x46f62a){let _0x5546d4='',_0x530998=0x0;for(;_0x530998<_0x56d834['length'];){const _0x1d175f=_0x56d834['indexOf']('var(',_0x530998);if(-0x1===_0x1d175f){_0x5546d4+=_0x56d834['slice'](_0x530998);break;}_0x5546d4+=_0x56d834['slice'](_0x530998,_0x1d175f);const _0x77b309=_0x1d175f+0x4,_0x5c8d9d=$g(_0x56d834,_0x77b309);_0x5546d4+=_0x46f62a(_0x56d834['substring'](_0x77b309,_0x5c8d9d)),_0x530998=_0x5c8d9d+0x1;}return _0x5546d4;}(_0xf2bee6,_0x4b588f=>{const [_0x20ec70,_0xb49b3d]=Lg(_0x4b588f),_0x37693a=_0x590490(_0x20ec70);return void 0x0!==_0x37693a?_0x37693a:_0xb49b3d?Vg(_0x590490,_0xb49b3d):'var('+_0x20ec70+')';});}async function Ug(_0x264de4){const _0x41c7fb=[await _0x4670b0(_0x264de4['stylesheets']),_0x264de4['inlineCss']]['filter'](_0xf7ed6=>_0xf7ed6&&_0xf7ed6['length'])['join']('\x0a'),_0x5c6c94=await async function(_0xff2570,_0x1b3ec4){const _0x4869ae=new CSSStyleSheet();return await _0x4869ae['replace'](_0x1b3ec4),Bg(Array['from'](_0x4869ae['cssRules'])['filter'](_0x2dd1e7=>_0x2dd1e7 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x1f5c56,contentCssText:_0x499f97})=>{const _0x37d522=Lg(_0x1f5c56),_0x2089d0=new _0x34412a(_0xff2570)['setTo'](_0x499f97);return _0x37d522['map'](_0x16d5a0=>{const _0x534a69=function(_0x77bfa0){const _0x2bbc27=':where(';let _0x11bb6d=_0x77bfa0,_0x235cf5=0x0;for(let _0x12b8b6=0x0;_0x12b8b6<0x64;_0x12b8b6++){const _0x2d3bb5=_0x11bb6d['indexOf'](_0x2bbc27,_0x235cf5);if(-0x1===_0x2d3bb5)break;let _0x4954b9=0x0;for(let _0x19e5b0=0x0;_0x19e5b0<_0x2d3bb5;_0x19e5b0++)'('===_0x11bb6d[_0x19e5b0]?_0x4954b9++:')'===_0x11bb6d[_0x19e5b0]&&_0x4954b9--;if(_0x4954b9>0x0){_0x235cf5=_0x2d3bb5+_0x2bbc27['length'];continue;}let _0x5480a4=-0x1;for(let _0x5d485d=_0x2d3bb5+_0x2bbc27['length'],_0x262bfc=0x1;_0x5d485d<_0x11bb6d['length'];_0x5d485d++)if('('===_0x11bb6d[_0x5d485d]?_0x262bfc++:')'===_0x11bb6d[_0x5d485d]&&_0x262bfc--,!_0x262bfc){_0x5480a4=_0x5d485d;break;}-0x1!==_0x5480a4?(_0x11bb6d=_0x11bb6d['slice'](0x0,_0x2d3bb5)+_0x11bb6d['slice'](_0x5480a4+0x1),_0x235cf5=_0x2d3bb5):_0x235cf5=_0x2d3bb5+_0x2bbc27['length'];}return _0x11bb6d['replace'](/\s+/g,'\x20')['trim']();}(_0x16d5a0),_0x5677c3=_0x534a69?function(_0x2f6f1){var _0x250a88,_0x53d270,_0x398ef9,_0x1553d9,_0x1bb441=[];for(_0x398ef9=0x0,_0x1553d9=(_0x250a88=_0x2f6f1['split'](','))['length'];_0x398ef9<_0x1553d9;_0x398ef9+=0x1)(_0x53d270=_0x250a88[_0x398ef9])['length']>0x0&&_0x1bb441['push'](Ng(_0x53d270));return _0x1bb441;}(_0x534a69)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2089d0,'flatSelector':_0x16d5a0,'specificity':_0x5677c3};});})['sort']((_0x4b38e1,_0xb17632)=>function(_0x82b4a,_0x4e79b1){var _0x5f4980,_0x503895,_0x196be9;if('string'==typeof _0x82b4a){if(-0x1!==_0x82b4a['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x5f4980=Ng(_0x82b4a)['specificityArray'];}else{if(!Array['isArray'](_0x82b4a))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x82b4a['filter'](function(_0x468782){return'number'==typeof _0x468782;})['length'])throw'Invalid\x20specificity\x20array';_0x5f4980=_0x82b4a;}if('string'==typeof _0x4e79b1){if(-0x1!==_0x4e79b1['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x503895=Ng(_0x4e79b1)['specificityArray'];}else{if(!Array['isArray'](_0x4e79b1))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x4e79b1['filter'](function(_0x24e1ee){return'number'==typeof _0x24e1ee;})['length'])throw'Invalid\x20specificity\x20array';_0x503895=_0x4e79b1;}for(_0x196be9=0x0;_0x196be9<0x4;_0x196be9+=0x1){if(_0x5f4980[_0x196be9]<_0x503895[_0x196be9])return-0x1;if(_0x5f4980[_0x196be9]>_0x503895[_0x196be9])return 0x1;}return 0x0;}(_0x4b38e1['specificity'],_0xb17632['specificity']));}(_0x264de4['stylesProcessor'],_0x41c7fb),_0x14130b=function(_0x1e4ff1){const _0x4a1b71=new Map();for(const {stylesMap:_0x3d129f,flatSelector:_0x597ff9}of _0x1e4ff1){if(':root'!==_0x597ff9)continue;const _0x4769b1=Qg(_0x4a1b71['get']['bind'](_0x4a1b71),_0x3d129f);for(const [_0x36f17e,_0x40ed52]of _0x4769b1)_0x4a1b71['set'](_0x36f17e,_0x40ed52);}return _0x4a1b71;}(_0x5c6c94);return{'parsedCssRules':_0x5c6c94,'rootCssVariables':_0x14130b};}function Bg(_0x5ca542,_0x5e22fc=''){return _0x5ca542['flatMap'](_0x40db0d=>{const {selectorText:_0x239222,cssText:_0xaccdb,cssRules:_0x1d692d}=_0x40db0d;if(!_0x239222)return[];const _0x44e8fb=_0x239222['replace'](/&/g,_0x5e22fc);let _0x222396=_0xaccdb['replace'](_0x239222,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x1d692d||!_0x1d692d['length'])return[{'selectorText':_0x44e8fb,'contentCssText':_0x222396}];for(const _0x4f6ad8 of _0x1d692d)_0x222396=_0x222396['replace'](_0x4f6ad8['cssText'],'')['trim']();return[{'selectorText':_0x44e8fb,'contentCssText':_0x222396},...Bg(Array['from'](_0x1d692d),_0x44e8fb)];});}function jg(_0x254fc3,_0x2cb6f9){const _0x470ae2=new _0x34412a(_0x254fc3);for(const _0x33f4f9 of _0x2cb6f9){let _0x25f20c=null;if(_0x25f20c='string'==typeof _0x33f4f9?new _0x34412a(_0x254fc3)['setTo'](_0x33f4f9):_0x33f4f9,_0x25f20c){for(const [_0x25eb70,_0x448714]of _0x25f20c['getStylesEntries']())_0x470ae2['set'](_0x25eb70,_0x448714);}}return _0x470ae2;}class ExportInlineStylesCommand extends _0x4d9dc4{['_stylesProcessor'];constructor(_0x4c7a63){super(_0x4c7a63),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x3109a1(this['_stylesProcessor']),_0x24936a(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x138699){const _0x478c72=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5770e3}=this['editor']['locale'],{rootName:_0x33454e='main',dataControllerDowncastOptions:_0x4cca17={},transformations:_0x38da3d=_0x478c72['transformations']||[]}=_0x138699||{};this['isBusy']=!0x0,this['refresh']();const _0x330182=this['_getRootDataHTMLFragment'](_0x33454e,_0x4cca17),_0x149b2d=_0xe26ae8(_0x330182['ownerDocument'],'div',{'dir':_0x5770e3,'class':'ck-content'},[_0x330182]);return this['_collectAndApplyStyles'](_0x38da3d,_0x149b2d)['then'](()=>{const _0xc192d2=function(_0x3c522a){const _0x35eecb=_0x3c522a['ownerDocument']['createDocumentFragment']();for(;_0x3c522a['firstChild'];)_0x35eecb['appendChild'](_0x3c522a['firstChild']);return _0x35eecb;}(_0x149b2d),_0x59bb76=_0x149b2d['getAttribute']('style');if(_0x59bb76)for(const _0x4b2411 of _0xc192d2['children']){const _0x362346=_0x4b2411['getAttribute']('style'),_0x1315de=jg(this['_stylesProcessor'],[_0x59bb76,_0x362346]);_0x4b2411['setAttribute']('style',Fg(_0x1315de));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0xc192d2);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x3f329e,_0x2eaccd){const {data:_0x57562b,model:_0x2d185d}=this['editor'],_0x336c62=_0x2d185d['document']['getRoot'](_0x3f329e),_0x546498=_0x57562b['toView'](_0x336c62,_0x2eaccd);return _0x57562b['htmlProcessor']['domConverter']['viewToDom'](_0x546498);}async['_collectAndApplyStyles'](_0xbfda57,_0x533824){const {stylesheets:_0x34eed6,inlineCss:_0xb42678,stripCssClasses:_0x47c236}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x273639,rootCssVariables:_0xd62dd6}=await Ug({'stylesheets':_0x34eed6||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0xb42678}),_0x29b41a=[];this['_processElementTree']({'transformations':_0xbfda57,'parsedCssRules':_0x273639,'element':_0x533824,'stripCssClasses':_0x47c236,'parentCSSVariablesLookup':_0xd62dd6['get']['bind'](_0xd62dd6),'runAfterDocumentTransformation':_0x2f40a8=>{_0x29b41a['unshift'](_0x2f40a8);}});for(const _0x1004bc of _0x29b41a)_0x1004bc();}['_processElementTree']({element:_0x5982af,parsedCssRules:_0x16098e,parentCSSVariablesLookup:_0x3d08d7,runAfterDocumentTransformation:_0xb0106a,stripCssClasses:_0x24b7a7,transformations:_0x59a9e5}){const {stylesMap:_0x5ba627,localCSSVariables:_0x73e60d}=function(_0x361bb3){const _0x46cbc0=_0x361bb3['element']['getAttribute']('style')||'',_0x3caa80=_0x361bb3['parsedCssRules']['filter'](_0x4989a2=>_0x361bb3['element']['matches'](_0x4989a2['flatSelector']))['map'](_0xdcbb1d=>_0xdcbb1d['stylesMap']),_0x4636c2=jg(_0x361bb3['stylesProcessor'],[..._0x3caa80,_0x46cbc0]);return{'localCSSVariables':Qg(_0x361bb3['fallbackCSSVariablesLookup'],_0x4636c2),'stylesMap':_0x4636c2};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x3d08d7,'parsedCssRules':_0x16098e,'element':_0x5982af}),_0x15b1fe=[];for(const _0x4c0708 of _0x59a9e5){const _0x8c9f42=_0x4c0708(_0x5982af,_0x5ba627,{'runAfterDocumentTransformation':_0xb0106a,'runAfterChildrenTransformation':_0x16aac3=>{_0x15b1fe['unshift'](_0x16aac3);}});_0x8c9f42&&_0x8c9f42 instanceof HTMLElement&&(_0x5982af=_0x8c9f42);}_0x5ba627['size']?_0x5982af['setAttribute']('style',Fg(_0x5ba627)):_0x5982af['removeAttribute']('style');const _0x111663=_0x2e3425=>_0x73e60d['has'](_0x2e3425)?_0x73e60d['get'](_0x2e3425):_0x3d08d7(_0x2e3425);for(const _0x20d28f of _0x5982af['children'])_0x20d28f instanceof HTMLElement&&this['_processElementTree']({'element':_0x20d28f,'parsedCssRules':_0x16098e,'stripCssClasses':_0x24b7a7,'transformations':_0x59a9e5,'parentCSSVariablesLookup':_0x111663,'runAfterDocumentTransformation':_0xb0106a});_0x24b7a7&&_0x5982af['removeAttribute']('class');for(const _0x56d8c0 of _0x15b1fe)_0x56d8c0();}}function Fg(_0x3678dd){return _0x3678dd['getStylesEntries']()['map'](_0x353bc8=>_0x353bc8['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x7cf71c{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(_0x5098a5){const _0x20624a=_0x2008c3([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]),_0x529b4e=0x6f40c3fb,_0x2f24cf=0x6f474993^_0x529b4e,_0x244ca2=window[_0x2008c3([0x44,0x61,0x74,0x65])][_0x2008c3([0x6e,0x6f,0x77])](),_0x22cbbb=_0x5098a5[_0x2008c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50e549=new window[(_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x231f79=>{_0x22cbbb[_0x2008c3([0x6f,0x6e,0x63,0x65])](_0x2008c3([0x72,0x65,0x61,0x64,0x79]),_0x231f79);}),_0x2fb3d5={[_0x2008c3([0x6b,0x74,0x79])]:_0x2008c3([0x45,0x43]),[_0x2008c3([0x75,0x73,0x65])]:_0x2008c3([0x73,0x69,0x67]),[_0x2008c3([0x63,0x72,0x76])]:_0x2008c3([0x50,0x2d,0x32,0x35,0x36]),[_0x2008c3([0x78])]:_0x2008c3([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]),[_0x2008c3([0x79])]:_0x2008c3([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]),[_0x2008c3([0x61,0x6c,0x67])]:_0x2008c3([0x45,0x53,0x32,0x35,0x36])},_0x286f72=_0x22cbbb[_0x2008c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2008c3([0x67,0x65,0x74])](_0x2008c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5922c2(){let _0x16fc46,_0x4ff551=null,_0x4648e0=null;try{if(_0x286f72==_0x2008c3([0x47,0x50,0x4c]))return _0x2008c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16fc46=_0x3d7652(),!_0x16fc46)return _0x2008c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16fc46[_0x2008c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4648e0=_0x4ddf6a(_0x16fc46[_0x2008c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16fc46[_0x2008c3([0x6a,0x74,0x69])])),await _0x15de14()?_0x4ea48f()?_0x200524()?_0x2008c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56d577()?(_0x16fc46[_0x2008c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2008c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ff551=_0x4066a6(_0x2008c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29b438()):_0x2008c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2008c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2008c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2008c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x200524(){const _0x534425=[_0x2008c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2008c3([0x74,0x72,0x69,0x61,0x6c])][_0x2008c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fc46[_0x2008c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x244ca2/0x3e8:0xe10*_0x2f24cf;return _0x16fc46[_0x2008c3([0x65,0x78,0x70])]<_0x534425;}function _0x4ea48f(){const _0x23d9c3=_0x16fc46[_0x2008c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23d9c3&&(!!_0x23d9c3[_0x2008c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2008c3([0x2a]))||!!_0x23d9c3[_0x2008c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2008c3([0x45,0x49,0x53])));}function _0x56d577(){const _0x39bcb5=_0x16fc46[_0x2008c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39bcb5||0x0==_0x39bcb5[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20edde}=new URL(window[_0x2008c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x39bcb5[_0x2008c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20edde))return!0x0;const _0x166448=_0x20edde[_0x2008c3([0x73,0x70,0x6c,0x69,0x74])](_0x2008c3([0x2e]));return _0x39bcb5[_0x2008c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd16873=>_0xd16873[_0x2008c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2008c3([0x2a])))[_0x2008c3([0x6d,0x61,0x70])](_0x180377=>_0x180377[_0x2008c3([0x73,0x70,0x6c,0x69,0x74])](_0x2008c3([0x2e])))[_0x2008c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf9754c=>_0xf9754c[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x166448[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2008c3([0x6d,0x61,0x70])](_0x3f320c=>Array(_0x166448[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f320c[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2008c3([0x66,0x69,0x6c,0x6c])](_0x3f320c[0x0]===_0x2008c3([0x2a])?_0x2008c3([0x2a]):'')[_0x2008c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f320c))[_0x2008c3([0x73,0x6f,0x6d,0x65])](_0x51a54b=>_0x166448[_0x2008c3([0x65,0x76,0x65,0x72,0x79])]((_0x53267f,_0x3151da)=>_0x51a54b[_0x3151da]===_0x53267f||_0x51a54b[_0x3151da]===_0x2008c3([0x2a])));}function _0x29b438(){return _0x4ff551&&_0x4648e0?new window[(_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1aac5d,_0x5d3d18)=>{_0x4ff551[_0x2008c3([0x74,0x68,0x65,0x6e])](_0x1aac5d,_0x5d3d18),_0x4648e0[_0x2008c3([0x74,0x68,0x65,0x6e])](_0x4eab7c=>{_0x4eab7c!=_0x2008c3([0x56,0x61,0x6c,0x69,0x64])&&_0x1aac5d(_0x4eab7c);},_0x5d3d18);}):_0x4ff551||_0x4648e0||_0x2008c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ddf6a(_0x26e162,_0x3535fb){return new window[(_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15348e=>{if(_0x18f4f9())return _0x15348e(_0x2008c3([0x56,0x61,0x6c,0x69,0x64]));_0x2a6e50(),_0x22cbbb[_0x2008c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2008c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29d5ff=!0x1;const _0x29a178=_0x462bc0();function _0x27f424(_0x417bec){return!!_0x417bec&&(typeof _0x417bec===_0x2008c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x417bec===_0x2008c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x417bec[_0x2008c3([0x74,0x68,0x65,0x6e])]===_0x2008c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x417bec[_0x2008c3([0x63,0x61,0x74,0x63,0x68])]===_0x2008c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc7c0ca(_0x48a795){_0x47296f(_0x48a795)[_0x2008c3([0x74,0x68,0x65,0x6e])](_0x2fff8b=>{if(!_0x2fff8b||_0x2fff8b[_0x2008c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2008c3([0x6f,0x6b]))return _0x2008c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d4ebf(_0x5486b5(_0x29a178+_0x3535fb))!=_0x2fff8b[_0x2008c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2008c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2008c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2008c3([0x74,0x68,0x65,0x6e])](_0x2f8345=>(_0x289e6e(),_0x2f8345),()=>{const _0x1fafe4=_0x2a9f55();return null==_0x1fafe4?(_0x289e6e(),_0x2008c3([0x56,0x61,0x6c,0x69,0x64])):_0x2008c3(_0x244ca2-_0x1fafe4>(0x4b4c47fb^_0x529b4e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2008c3([0x74,0x68,0x65,0x6e])](_0x15348e)[_0x2008c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15348e(_0x2008c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb94e91=0x6f762d7b^_0x529b4e;function _0x289e6e(){const _0x14a9d5=_0x2008c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4ebf(_0x5486b5(_0x26e162)),_0x285e62=_0x58c330(_0x3d4ebf(window[_0x2008c3([0x4d,0x61,0x74,0x68])][_0x2008c3([0x63,0x65,0x69,0x6c])](_0x244ca2/_0xb94e91)));window[_0x2008c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2008c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14a9d5,_0x285e62);}function _0x2a9f55(){const _0x44827a=_0x2008c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4ebf(_0x5486b5(_0x26e162)),_0x663a48=window[_0x2008c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2008c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44827a);return _0x663a48?window[_0x2008c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58c330(_0x663a48),0x10)*_0xb94e91:null;}function _0x47296f(_0x2ccc4b){return new window[(_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55609c,_0x4c8f21)=>{_0x2ccc4b[_0x2008c3([0x74,0x68,0x65,0x6e])](_0x55609c,_0x4c8f21),window[_0x2008c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c8f21,0x6f41173b^_0x529b4e);});}}_0x22cbbb[_0x2008c3([0x6f,0x6e])](_0x2008c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57daab,_0x441864)=>{if(_0x441864[0x0]!=_0x26e162)return _0x15348e(_0x2008c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x441864[0x1]={..._0x441864[0x1],[_0x2008c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29a178};},{[_0x2008c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2008c3([0x68,0x69,0x67,0x68])}),_0x22cbbb[_0x2008c3([0x6f,0x6e])](_0x2008c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f3da0=>{_0x27f424(_0x3f3da0[_0x2008c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29d5ff=!0x0,_0xc7c0ca(_0x3f3da0[_0x2008c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2008c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2008c3([0x6c,0x6f,0x77])}),_0x50e549[_0x2008c3([0x74,0x68,0x65,0x6e])](()=>{_0x29d5ff||_0x15348e(_0x2008c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18f4f9(){return _0x22cbbb[_0x2008c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2008c3([0x76,0x69,0x65,0x77])][_0x2008c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2008c3([0x61,0x75,0x74,0x6f]);}function _0x2a6e50(){_0x22cbbb[_0x2008c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2008c3([0x76,0x69,0x65,0x77])][_0x2008c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2008c3([0x61,0x75,0x74,0x6f]);}}function _0x4066a6(_0x21c401){const _0x1942be=[new window[(_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b6c0f=>setTimeout(_0x2b6c0f,0x6f49fd37^_0x529b4e)),_0x50e549[_0x2008c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25f7c4=>{let _0x57fad8=0x0;_0x22cbbb[_0x2008c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2008c3([0x6f,0x6e])](_0x2008c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13263a,_0x3d449c)=>{_0x3d449c[0x0][_0x2008c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57fad8++,_0x57fad8==(0x6f40c613^_0x529b4e)&&(_0x25f7c4(),_0x13263a[_0x2008c3([0x6f,0x66,0x66])]());});}))];return window[_0x2008c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2008c3([0x72,0x61,0x63,0x65])](_0x1942be)[_0x2008c3([0x74,0x68,0x65,0x6e])](()=>_0x21c401);}async function _0x55f983(){await _0x50e549;const _0x146c0f=_0x22cbbb['commands'][_0x2008c3([0x67,0x65,0x74])](_0x2008c3([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x146c0f&&_0x146c0f[_0x2008c3([0x6f,0x6e])](_0x2008c3([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x11092b=>{_0x11092b['stop']();},{'priority':_0x2008c3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x22cbbb[_0x2008c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2008c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9c7980,_0x22cbbb[_0x2008c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2008c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9c7980,_0x22cbbb[_0x2008c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2008c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fe9fc(_0x2569e7){const _0x9bab76=_0x49ed96();_0x22cbbb[_0x9bab76]=_0x2008c3([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])+_0x2569e7,_0x2569e7!=_0x2008c3([0x56,0x61,0x6c,0x69,0x64])&&_0x55f983();}function _0x49ed96(){const _0x2ce69e=window[_0x2008c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2008c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2008c3([0x6e,0x6f,0x77])]())[_0x2008c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2008c3([0x2e]),'');let _0x2103c6=_0x2008c3([0x44]);for(let _0x244692=0x0;_0x244692<_0x2ce69e[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244692+=0x2){let _0x320e14=window[_0x2008c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce69e[_0x2008c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244692,_0x244692+0x2));_0x320e14>=_0x20624a[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x320e14-=_0x20624a[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2103c6+=_0x20624a[_0x320e14];}return _0x2103c6;}function _0x3d7652(){const _0x32b39f=_0x286f72[_0x2008c3([0x73,0x70,0x6c,0x69,0x74])](_0x2008c3([0x2e]));if(0x3!=_0x32b39f[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42dea7(_0x32b39f[0x1]);function _0x42dea7(_0x14069f){const _0xa9ae96=_0x2d0828(_0x14069f);return _0xa9ae96&&_0x55bf1a()?_0xa9ae96:null;function _0x55bf1a(){const _0x53c017=_0xa9ae96[_0x2008c3([0x6a,0x74,0x69])],_0x331c08=window[_0x2008c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53c017[_0x2008c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53c017[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54e27b={..._0xa9ae96,[_0x2008c3([0x6a,0x74,0x69])]:_0x53c017[_0x2008c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53c017[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54e27b[_0x2008c3([0x76,0x63])],_0x5486b5(_0x54e27b)==_0x331c08;}}}async function _0x15de14(){let _0xafcd37=!0x0;try{const _0x3cb825=_0x286f72[_0x2008c3([0x73,0x70,0x6c,0x69,0x74])](_0x2008c3([0x2e])),[_0x777f39,_0x4f6594,_0x4a107e]=_0x3cb825;return _0x1cdf6f(_0x777f39),await _0xd58fdb(_0x777f39,_0x4f6594,_0x4a107e),_0xafcd37;}catch{return!0x1;}function _0x1cdf6f(_0x427e17){const _0x23cfe6=_0x2d0828(_0x427e17);_0x23cfe6&&_0x23cfe6[_0x2008c3([0x61,0x6c,0x67])]==_0x2008c3([0x45,0x53,0x32,0x35,0x36])||(_0xafcd37=!0x1);}async function _0xd58fdb(_0x2a7c8b,_0x3b46f0,_0x11bcfe){const _0x1dd2f0=window[_0x2008c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2008c3([0x66,0x72,0x6f,0x6d])](_0x4718b(_0x11bcfe),_0x1d68a7=>_0x1d68a7[_0x2008c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7789e=new window[(_0x2008c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2008c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a7c8b+_0x2008c3([0x2e])+_0x3b46f0),_0x1a18a2=window[_0x2008c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2008c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a18a2)return;const _0xfbee64=await _0x1a18a2[_0x2008c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2008c3([0x6a,0x77,0x6b]),_0x2fb3d5,{[_0x2008c3([0x6e,0x61,0x6d,0x65])]:_0x2008c3([0x45,0x43,0x44,0x53,0x41]),[_0x2008c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2008c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2008c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a18a2[_0x2008c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2008c3([0x6e,0x61,0x6d,0x65])]:_0x2008c3([0x45,0x43,0x44,0x53,0x41]),[_0x2008c3([0x68,0x61,0x73,0x68])]:{[_0x2008c3([0x6e,0x61,0x6d,0x65])]:_0x2008c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xfbee64,_0x1dd2f0,_0x7789e)||(_0xafcd37=!0x1);}}function _0x2d0828(_0x2c1b34){return _0x2c1b34[_0x2008c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2008c3([0x65,0x79]))?JSON[_0x2008c3([0x70,0x61,0x72,0x73,0x65])](_0x4718b(_0x2c1b34)):null;}function _0x4718b(_0x55d561){return window[_0x2008c3([0x61,0x74,0x6f,0x62])](_0x55d561[_0x2008c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2008c3([0x2b]))[_0x2008c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2008c3([0x2f])));}function _0x5486b5(_0x40d82e){let _0x58c146=0x1505;function _0x41e8dc(_0xe16624){for(let _0x4cb41a=0x0;_0x4cb41a<_0xe16624[_0x2008c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cb41a++){const _0x396043=_0xe16624[_0x2008c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cb41a);_0x58c146=(_0x58c146<<0x5)+_0x58c146+_0x396043,_0x58c146&=_0x58c146;}}function _0x413d21(_0x5b419e){Array[_0x2008c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b419e)?_0x5b419e[_0x2008c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x413d21):_0x5b419e&&typeof _0x5b419e==_0x2008c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2008c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b419e)[_0x2008c3([0x73,0x6f,0x72,0x74])]()[_0x2008c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e9d89,_0x58398c])=>{_0x41e8dc(_0x5e9d89),_0x413d21(_0x58398c);}):_0x41e8dc(window[_0x2008c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b419e));}return _0x413d21(_0x40d82e),_0x58c146>>>0x0;}function _0x3d4ebf(_0x5675b0){return _0x5675b0[_0x2008c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2008c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2008c3([0x30]));}function _0x58c330(_0x22a893){return _0x22a893[_0x2008c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2008c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2008c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x9c7980(){}function _0x2008c3(_0x303c69){return _0x303c69['map'](_0x33a297=>String['fromCharCode'](_0x33a297))['join']('');}_0x1fe9fc(await _0x5922c2());}(this);}}class ExportInlineStyles extends _0x7cf71c{['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 _0x4d20e2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x75fc85;for(const _0x3e8b7d in _0x4d20e2){const _0x39343d=_0x3e8b7d,_0x41b573=_0x4d20e2[_0x39343d];if('exportInlineStylesLicenseKeyValid'==_0x41b573||'exportInlineStylesLicenseKeyInvalid'==_0x41b573||'exportInlineStylesLicenseKeyExpired'==_0x41b573||'exportInlineStylesLicenseKeyDomainLimit'==_0x41b573||'exportInlineStylesLicenseKeyNotAllowed'==_0x41b573||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x41b573||'exportInlineStylesLicenseKeyUsageLimit'==_0x41b573){delete _0x4d20e2[_0x39343d],_0x75fc85=_0x41b573,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x75fc85&&_0x4d20e2['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x75fc85&&_0x4d20e2['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x75fc85&&_0x4d20e2['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x75fc85&&_0x4d20e2['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x75fc85&&_0x4d20e2['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x75fc85&&_0x4d20e2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Hg(_0x34fa88,_0xad902){const _0x4e076b=_0x34fa88['ownerDocument'],{table:_0x33573c,cell:_0x32377b}=Gg(_0x4e076b,'100%');_0xad902['align']&&_0x32377b['setAttribute']('align',Dg(_0xad902['align']));let _0x13598e=_0x32377b;if(_0xad902['width']){const {table:_0x5913b7,cell:_0x1dee34}=Gg(_0x4e076b,Dg(_0xad902['width']));_0x32377b['appendChild'](_0x5913b7),_0x13598e=_0x1dee34;}return _0x34fa88['replaceWith'](_0x33573c),_0x34fa88['removeAttribute']('align'),_0x34fa88['removeAttribute']('width'),_0x13598e['appendChild'](_0x34fa88),_0x13598e;}function Gg(_0x2e25d9,_0x47f50f){const _0xcbb0ff=_0x2e25d9['createElement']('table');_0x47f50f&&(_0xcbb0ff['style']['width']=_0x47f50f,_0xcbb0ff['setAttribute']('width',zg(_0x47f50f))),_0xcbb0ff['setAttribute']('cellpadding','0'),_0xcbb0ff['setAttribute']('cellspacing','0'),_0xcbb0ff['setAttribute']('border','0'),_0xcbb0ff['setAttribute']('role','presentation');const _0x511808=_0x2e25d9['createElement']('tbody'),_0x312e17=_0x2e25d9['createElement']('tr'),_0x1ac7c0=_0x2e25d9['createElement']('td');return _0xcbb0ff['appendChild'](_0x511808),_0x511808['appendChild'](_0x312e17),_0x312e17['appendChild'](_0x1ac7c0),{'table':_0xcbb0ff,'cell':_0x1ac7c0};}function Zg(_0x2c73b1){const _0x19a2c5=_0x2c73b1['getAsString']('margin-left'),_0x93f61c=_0x2c73b1['getAsString']('margin-right'),_0x59d522=_0x19a2c5&&Dg(_0x19a2c5),_0x52adf7=_0x93f61c&&Dg(_0x93f61c);return'auto'===_0x59d522&&'auto'===_0x52adf7?'center':'auto'===_0x59d522?'right':'auto'===_0x52adf7?'left':void 0x0;}function Xg(_0x4073f4,_0x6cb770){const _0x65ba9=_0x4073f4['ownerDocument']['createElement'](_0x6cb770);for(const _0x4eedde of Array['from'](_0x4073f4['attributes']))_0x65ba9['setAttribute'](_0x4eedde['name'],_0x4eedde['value']);for(;_0x4073f4['firstChild'];)_0x65ba9['appendChild'](_0x4073f4['firstChild']);return _0x65ba9;}function qg(_0x23a980){if('TABLE'!==_0x23a980['tagName'])return!0x1;if('presentation'!==_0x23a980['getAttribute']('role'))return!0x1;const _0x1d1d8f=Wg(_0x23a980);return null!==_0x1d1d8f&&_0x1d1d8f['hasAttribute']('align');}function Wg(_0x2d124f){let _0x586b73=_0x2d124f;0x1===_0x2d124f['children']['length']&&'TBODY'===_0x2d124f['children'][0x0]['tagName']&&(_0x586b73=_0x2d124f['children'][0x0]);const _0x4cc0d6=_0x586b73['children'];if(0x1!==_0x4cc0d6['length']||'TR'!==_0x4cc0d6[0x0]['tagName'])return null;const _0x1c1230=_0x4cc0d6[0x0]['children'];return 0x1!==_0x1c1230['length']||'TD'!==_0x1c1230[0x0]['tagName']?null:_0x1c1230[0x0];}function zg(_0x18cfee){return function(_0x34d6e9){if(_0x34d6e9['endsWith']('px'))return _0x34d6e9['slice'](0x0,-0x2);return _0x34d6e9;}(Dg(_0x18cfee));}const Yg=(_0x465805,_0x675d85,{runAfterDocumentTransformation:_0x525572,runAfterChildrenTransformation:_0xdff608})=>{if('FIGURE'!==_0x465805['tagName'])return;const _0x449dd9=_0x675d85['getAsString']('float');if(_0x449dd9){if(Jg(_0x465805))_0x525572(()=>{const _0x44fbb5=Jg(_0x465805);_0x44fbb5&&Kg(_0x465805,_0x44fbb5,{'align':_0x449dd9});});else{const {table:_0x578c55,cell:_0x410dc2}=Gg(_0x465805['ownerDocument']);_0x578c55['setAttribute']('align',Dg(_0x449dd9)),_0x578c55['setAttribute']('style',function(_0x1aa755){return _0x1aa755['getStylesEntries']()['map'](_0x1c8481=>_0x1c8481['join'](':'))['join'](';')+';';}(_0x675d85)),_0xdff608(()=>{for(const _0x2471b0 of Array['from'](_0x465805['childNodes']))_0x410dc2['appendChild'](_0x2471b0);}),_0x525572(()=>{_0x465805['replaceWith'](_0x578c55);});}}else{const _0x1259b5=Zg(_0x675d85),_0x483fb0=_0x675d85['getAsString']('width');if(!_0x1259b5&&!_0x483fb0)return;Hg(_0x465805,{'align':_0x1259b5,'width':_0x483fb0}),_0x483fb0&&_0x675d85['set']('width','100%'),_0x675d85['remove']('margin-left'),_0x675d85['remove']('margin-right'),_0x675d85['remove']('min-width'),_0x675d85['remove']('max-width'),_0x525572(()=>{const _0x55aa1b=Jg(_0x465805);if(_0x55aa1b)Kg(_0x465805,_0x55aa1b);else{const _0x1f52fa=Xg(_0x465805,'div');_0x465805['replaceWith'](_0x1f52fa);}});}};function Kg(_0x324165,_0xeafad3,_0x3dd9a3={}){for(const _0x1848df of['id','class']){const _0x5f2454=_0x324165['getAttribute'](_0x1848df);_0x5f2454&&_0xeafad3['setAttribute'](_0x1848df,_0x5f2454);}for(const _0x142bad of['display','float','width','height'])_0xeafad3['style']['removeProperty'](_0x142bad);const _0x17338f=_0x324165['getAttribute']('style');if(_0x17338f){const _0x1a1503=_0xeafad3['getAttribute']('style')||'';_0xeafad3['setAttribute']('style',_0x17338f+_0x1a1503);}_0x3dd9a3['align']&&_0xeafad3['setAttribute']('align',Dg(_0x3dd9a3['align'])),_0x324165['replaceWith'](_0xeafad3);}function Jg(_0x1d6aa6){const _0x3ac98c=Array['from'](_0x1d6aa6['children']);return 0x1===_0x3ac98c['length']&&'TABLE'===_0x3ac98c[0x0]['tagName']?_0x3ac98c[0x0]:null;}class ImageEmailIntegration extends _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x1fd900,plugins:_0x1c3d11}=this['editor'],_0x5eea1f=_0x1fd900['get']('exportInlineStyles');if(_0x5eea1f?.['transformations']?.['includes'](Yg))return;_0x1c3d11['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 _0x7cf71c{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 _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x243cb6=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x243cb6['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x25ff63=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x25dd8e=this['editor']['config']['get']('list');_0x25dd8e&&_0x25dd8e['properties']&&_0x25dd8e['properties']['reversed']&&_0x25ff63['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x25dd8e&&_0x25dd8e['enableListItemMarkerFormatting']&&_0x25ff63['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x7cf71c{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:_0x5408a1}=this['editor'],_0x3a1d0c=_0x5408a1['get'](EmailConfigurationLogger);_0x5408a1['has']('Table')&&(_0x5408a1['has']('PlainTableOutput')||_0x3a1d0c['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x5408a1['has']('TableLayout')||_0x3a1d0c['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x17294b,plugins:_0x5adfe9}=this['editor'];_0x17294b['get']('table')&&_0x5adfe9['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x308d97){const _0x345d89=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x345d89['_validateConfigColorValue']('table.'+_0x308d97+'.borderColors'),_0x345d89['_validateConfigColorValue']('table.'+_0x308d97+'.backgroundColors'),_0x345d89['_validateConfigColorValue']('table.'+_0x308d97+'.defaultProperties.borderColor'),_0x345d89['_validateConfigColorValue']('table.'+_0x308d97+'.defaultProperties'),_0x345d89['_validateConfigColorFormat']('table.'+_0x308d97+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5b9ea1=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x5b9ea1['_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 _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x578a59}=this['editor'];_0x578a59['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x578a59['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x432b34){const _0xc67bf5=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x432b34)&&(_0xc67bf5['_validateConfigColorValue'](_0x432b34+'.colors'),_0xc67bf5['_validateConfigColorValue'](_0x432b34+'.documentColors'),_0xc67bf5['_validateConfigColorFormat'](_0x432b34+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x550250}=this['editor'],_0x356220=_0x550250['get'](EmailConfigurationLogger);_0x550250['has']('SourceEditing')||_0x550250['has']('SourceEditingEnhanced')||_0x356220['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x7cf71c{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 _0x7cf71c{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:_0x490bb1}=this['editor'];if(!_0x490bb1['has']('DataFilter'))return;const _0x2ccf2a=_0x490bb1['get']('DataFilter'),_0x310c23=_0x490bb1['get'](EmailConfigurationLogger);for(const _0x9316bd of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x2ccf2a['once']('register:'+_0x9316bd,(_0x235501,_0x67d721)=>{_0x310c23['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x67d721['view']});});}}class MergeFieldsEmailIntegration extends _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x8d61ba=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x8d61ba['_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 _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1265f6=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x1265f6['_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 _0x7cf71c{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 _0x7cf71c{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 _0x7cf71c{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 _0x7cf71c{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 _0x7cf71c{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x965bc5,plugins:_0x4790fe}=this['editor'],_0x53a23f=_0x4790fe['get'](EmailConfigurationLogger),_0x76e4f8=_0x965bc5['get']('exportInlineStyles');_0x76e4f8?.['transformations']?.['includes'](Yg)||_0x53a23f['_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 _0x7cf71c{['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 _0xf4aad1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d61a5;for(const _0x1b86f5 in _0xf4aad1){const _0x2444e6=_0x1b86f5,_0x3df26c=_0xf4aad1[_0x2444e6];if('emailConfigurationHelperLicenseKeyValid'==_0x3df26c||'emailConfigurationHelperLicenseKeyInvalid'==_0x3df26c||'emailConfigurationHelperLicenseKeyExpired'==_0x3df26c||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x3df26c||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x3df26c||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x3df26c||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x3df26c){delete _0xf4aad1[_0x2444e6],_0x3d61a5=_0x3df26c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x3d61a5&&_0xf4aad1['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x3d61a5&&_0xf4aad1['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x3d61a5&&_0xf4aad1['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x3d61a5&&_0xf4aad1['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x3d61a5&&_0xf4aad1['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x3d61a5&&_0xf4aad1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const tp=(_0x3c8d0e,_0x51f803)=>{if(!['TABLE','IMG']['includes'](_0x3c8d0e['tagName']))return;const _0x34bb76=_0x51f803['getAsString']('float');if(_0x34bb76){const _0x527c18=Dg(_0x34bb76);'left'!==_0x527c18&&'right'!==_0x527c18||_0x3c8d0e['setAttribute']('align',_0x527c18);}},ep=(_0x44629b,_0x331364)=>{if('TABLE'!==_0x44629b['tagName']||_0x331364['has']('float'))return;const _0x14f14d=Zg(_0x331364),_0x110784=_0x331364['getAsString']('width');_0x14f14d&&(Hg(_0x44629b,{'align':_0x14f14d}),_0x110784?_0x44629b['setAttribute']('width',zg(_0x110784)):_0x331364['remove']('width'),_0x331364['remove']('margin-left'),_0x331364['remove']('margin-right'));},ip=(_0x422dc5,_0x42ca3e)=>{if('IMG'!==_0x422dc5['tagName'])return;const _0x349c23=_0x42ca3e['getAsString']('width');_0x349c23&&(_0x422dc5['setAttribute']('width',zg(_0x349c23)),_0x422dc5['setAttribute']('height','auto'));},sp=(_0x3733ff,_0x510a90,{runAfterDocumentTransformation:_0x2b0593})=>{if('FIGCAPTION'!==_0x3733ff['tagName'])return;const _0x308f76=_0x510a90['getAsString']('display'),_0x1e5085=_0x510a90['getAsString']('caption-side');_0x510a90['remove']('caption-side'),_0x308f76&&'table-caption'===Dg(_0x308f76)&&_0x510a90['remove']('display');const _0x3f81c0=_0x1e5085&&'top'===Dg(_0x1e5085);_0x2b0593(()=>{const _0x360f2c=Xg(_0x3733ff,'div'),_0x572557=_0x3733ff['previousElementSibling'];_0x3f81c0&&_0x572557&&'TABLE'===_0x572557['tagName']?(_0x572557['before'](_0x360f2c),_0x3733ff['remove']()):_0x3733ff['replaceWith'](_0x360f2c);});},np=(_0x4e2481,_0x4aa803,{runAfterChildrenTransformation:_0x3be454})=>{'TD'===_0x4e2481['tagName']&&_0x3be454(()=>{const _0x520f1b=Array['from'](_0x4e2481['children']);if(0x0===_0x520f1b['length'])return;const _0x2a2305=_0x520f1b['map'](rp),_0x334340=_0x2a2305[0x0];if(_0x334340&&_0x2a2305['every'](_0x162db3=>_0x162db3===_0x334340)){_0x4e2481['setAttribute']('align',_0x334340);for(const _0x48a285 of _0x520f1b)if(qg(_0x48a285)){const _0x543299=Wg(_0x48a285);_0x48a285['replaceWith'](...Array['from'](_0x543299['childNodes']));}else _0x48a285['style']['removeProperty']('text-align'),_0x48a285['style']['length']||_0x48a285['removeAttribute']('style');}});};function rp(_0x57efc1){if(qg(_0x57efc1))return Wg(_0x57efc1)['getAttribute']('align');return _0x57efc1['style']['textAlign']||void 0x0;}function op(_0x11a7e9={}){const _0x2c9b19=[];return _0x11a7e9['useFigureToTableFallback']&&_0x2c9b19['push'](Yg,sp,np),_0x2c9b19['push'](tp,ep,ip),_0x2c9b19;}function ap(_0x5b69cf,_0x34fe65){const t=_0x5b69cf['t'];switch(_0x34fe65){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 _0x34fe65;}}class ExportPdfCommand extends _0x4d9dc4{constructor(_0x3e1bbd){super(_0x3e1bbd),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x4cfdc2={}){const {editor:_0x1d1e82}=this,_0x43a40c=_0x4cfdc2['version']||_0x1d1e82['config']['get']('exportPdf.version'),_0x5836ac=_0x4cfdc2['converterUrl']||function(_0x2e208a){return 0x2===_0x2e208a?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x43a40c),_0x17afa8=_0x4cfdc2['dataCallback']||(_0x1c2f41=>_0x1c2f41['data']['get']()),_0x5d5070=_0x1d1e82['plugins']['get']('ExportPdf'),_0x967478=_0x4cfdc2['token']||_0x5d5070['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x4670b0(_0x4cfdc2['stylesheets']||['EDITOR_STYLES'])['then'](async _0xb916f3=>{if(_0x1d1e82['ui']['ariaLiveAnnouncer']['announce'](ap(_0x1d1e82['locale'],'PDF\x20export\x20started')),_0x1d1e82['plugins']['has']('MergeFields')){_0x4cfdc2['converterOptions']||(_0x4cfdc2['converterOptions']={});const _0x3da871=_0x1d1e82['plugins']['get']('MergeFieldsEditing'),_0x7aea12=_0x3da871['previewMode'],{prefix:_0x5a6c0d,suffix:_0x217724}=_0x1d1e82['config']['get']('mergeFields'),_0x1c3442='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x385681={'prefix':_0x5a6c0d,'suffix':_0x217724,'data':{}};if('$labels'===_0x7aea12){for(const _0x383a9a of _0x3da871['getMergeFieldsIds']())'image'===_0x3da871['getMergeFieldType'](_0x383a9a)?_0x385681['data'][_0x383a9a]=_0x1c3442:_0x385681['data'][_0x383a9a]=_0x3da871['wrapInAffixes'](_0x3da871['getLabel'](_0x383a9a)||_0x383a9a);}else{const _0x106c58='$defaultValues'===_0x7aea12?_0x3da871['getDefaultValues']():_0x3da871['getDataSetValues'](_0x7aea12,!0x0);for(const _0x1192c4 of Object['entries'](_0x106c58)){const [_0x3fcfc7,_0xa32258]=_0x1192c4;'image'===_0x3da871['getMergeFieldType'](_0x3fcfc7)?_0x385681['data'][_0x3fcfc7]=null!==_0xa32258?_0xa32258:_0x1c3442:_0x385681['data'][_0x3fcfc7]=null!==_0xa32258?_0xa32258:_0x3da871['getLabel'](_0x3fcfc7)||_0x3fcfc7;}}_0x4cfdc2['converterOptions']['merge_fields']=_0x385681;}const _0x10f2ca=0x2===_0x43a40c?function(_0x69c16e){const _0x253e16=_0x69c16e?.['document']?.['margins'];return cp({'pageWidth':lp(_0x69c16e?.['document']?.['size']||'A4'),'marginLeft':_0x253e16?.['left'],'marginRight':_0x253e16?.['right']});}(_0x4cfdc2['converterOptions']):(_0x210d9a=_0x4cfdc2['converterOptions'],cp({'pageWidth':lp(_0x210d9a?.['format']||'A4'),'marginLeft':_0x210d9a?.['margin_left'],'marginRight':_0x210d9a?.['margin_right']}));var _0x210d9a;const _0x1f0598={'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'+_0x1d1e82['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x10f2ca+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x17afa8(_0x1d1e82)+'\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':_0xb916f3,[0x2===_0x43a40c?'config':'options']:_0x4cfdc2['converterOptions']},_0x7ef54f={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x967478?{'Authorization':_0x967478['value']}:null,'x-cs-app-id':_0x4cfdc2['appID']||'cke5'},'body':JSON['stringify'](_0x1f0598)};return window['fetch'](_0x5836ac,_0x7ef54f)['then'](_0x4c5e04=>{if(0xc8!==_0x4c5e04['status'])throw _0x4c5e04;return _0x4c5e04['blob']();})['then'](_0x4eec5=>{_0x1d1e82['ui']['ariaLiveAnnouncer']['announce'](ap(_0x1d1e82['locale'],'PDF\x20export\x20successful'));const _0x737126='function'==typeof _0x4cfdc2['fileName']?_0x4cfdc2['fileName']():_0x4cfdc2['fileName'];this['_downloadFile'](_0x4eec5,_0x737126||'document.pdf');});})['catch'](_0x1bea52=>{const _0x187105=_0x1d1e82['plugins']['get']('Notification');throw _0x1d1e82['ui']['ariaLiveAnnouncer']['announce'](ap(_0x1d1e82['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x187105['showWarning'](ap(_0x1d1e82['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x1bea52;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x181190,_0x525d59){const _0x1489d6=document['createElement']('a');_0x1489d6['href']=window['URL']['createObjectURL'](_0x181190),_0x1489d6['download']=_0x525d59,_0x1489d6['click'](),_0x1489d6['remove']();}}function cp({pageWidth:_0x5d3676,marginLeft:_0x118f74,marginRight:_0x468651}){return'width:calc('+[_0x5d3676,_0x118f74,_0x468651]['filter'](Boolean)['join']('\x20-\x20')+');';}function lp(_0x3592c9){if('object'==typeof _0x3592c9&&'width'in _0x3592c9)return _0x3592c9['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']}[_0x3592c9['toLowerCase']()][0x0];}class ExportPdfUI extends _0x7cf71c{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xcb9519=this['editor'];_0xcb9519['ui']['componentFactory']['add']('exportPdf',()=>{const _0x141436=this['_createButton'](_0x1a631f),_0x131089=_0xcb9519['commands']['get']('exportPdf');return _0x141436['set']({'tooltip':!0x0}),_0x141436['bind']('isOn')['to'](_0x131089,'isBusy'),_0x141436;}),_0xcb9519['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](at));}['_createButton'](_0x4cb1e6){const _0x3bcfca=this['editor'],_0x178f14=_0x3bcfca['config']['get']('exportPdf'),_0x27e888=_0x3bcfca['commands']['get']('exportPdf'),_0x504dbb=new _0x4cb1e6(_0x3bcfca['locale']),_0x48e2a4=new _0x5a3bb9();return _0x504dbb['children']['add'](_0x48e2a4),_0x48e2a4['bind']('isVisible')['to'](_0x27e888,'isBusy'),_0x504dbb['iconView']['bind']('isVisible')['to'](_0x27e888,'isBusy',_0x281a3c=>!_0x281a3c),_0x504dbb['set']({'icon':_0x598d01}),_0x504dbb['bind']('isEnabled')['to'](_0x27e888,'isEnabled'),_0x504dbb['bind']('label')['to'](_0x27e888,'isBusy',_0xf966ba=>ap(_0x3bcfca['locale'],_0xf966ba?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x504dbb,'execute',()=>{_0x3bcfca['execute']('exportPdf',_0x178f14),_0x3bcfca['editing']['view']['focus']();}),_0x504dbb;}}class ExportPdf extends _0x7cf71c{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x337566,Qt,ExportPdfUI];}['init'](){const {editor:_0x362465}=this;_0x362465['config']['define']('exportPdf.version',0x2),_0x362465['commands']['add']('exportPdf',new ExportPdfCommand(_0x362465));const _0x22626f=_0x362465['plugins']['get'](_0x337566),_0x260ebd=_0x362465['config']['get']('exportPdf');!0x1===_0x260ebd['tokenUrl']?this['_token']=null:_0x260ebd['tokenUrl']?_0x22626f['registerTokenUrl'](_0x260ebd['tokenUrl'])['then'](_0x4540e5=>{this['_token']=_0x4540e5;}):this['_token']=_0x22626f['token'];}}function hp(_0x43e894,_0x5b042f={}){const _0x5adb3e=_0x43e894['plugins']['has']('Users'),_0x339e63=_0x43e894['plugins']['has']('CommentsRepository'),_0x7cb0c7=_0x43e894['plugins']['has']('TrackChanges'),_0x215e27=_0x5b042f;if(_0x5adb3e&&_0x339e63){const _0x4b9647=function(_0x2e89e0){const _0x48633c={};if(!_0x2e89e0['length'])return _0x48633c;for(const _0x907cb of _0x2e89e0)_0x907cb['comments']['map'](_0x13ed33=>{void 0x0===_0x48633c[_0x907cb['id']]&&(_0x48633c[_0x907cb['id']]=[]),_0x48633c[_0x907cb['id']]['push']({'author':_0x13ed33['author']['name'],'content':_0x13ed33['content'],'created':_0x13ed33['createdAt'],'is_resolved':_0x907cb['isResolved']});});return _0x48633c;}(_0x43e894['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x4b9647)['length']&&(_0x215e27['comments']=_0x4b9647);}if(_0x5adb3e&&_0x7cb0c7){const _0x5337f0=_0x43e894['plugins']['get']('TrackChanges'),_0x3e22d9=_0x43e894['plugins']['get']('Users'),_0x2d0f36=function(_0x5495d4,_0xf31f9a){const _0x356a79={};if(!_0x5495d4['length']||!_0xf31f9a['length'])return _0x356a79;for(const {id:_0x172518,createdAt:_0x3c9840,authorId:_0x3b565c,attributes:_0x9668c4}of _0x5495d4){const _0x21ceef=_0x9668c4&&_0x9668c4['@external'],_0x4fed5d=_0x21ceef?_0x21ceef['authorName']:_0xf31f9a['get'](_0x3b565c)['name'];_0x356a79[_0x172518]={'author':_0x4fed5d,'created':_0x3c9840};}return _0x356a79;}(_0x5337f0['getSuggestions']({'toJSON':!0x0}),_0x3e22d9['users']);Object['keys'](_0x2d0f36)['length']&&(_0x215e27['suggestions']=_0x2d0f36);}return(_0x215e27['suggestions']||_0x215e27['comments'])&&(_0x215e27['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x215e27;}function up(_0x235bff,_0x149813={}){const _0x32e27d=_0x235bff['plugins']['has']('Users'),_0x5b1cde=_0x235bff['plugins']['has']('CommentsRepository'),_0x59dcf8=_0x235bff['plugins']['has']('TrackChanges'),_0x380ddc=_0x235bff['plugins']['has']('MergeFields'),_0x4f6fa7=_0x235bff['locale']['contentLanguage'],_0x5d86fc=_0x149813,_0x5018a0={};if(_0x5d86fc['document']=_0x5d86fc['document']||{},_0x5d86fc['document']['language']=_0x5d86fc['document']['language']||_0x4f6fa7,_0x32e27d&&_0x5b1cde){const _0x3677d5=function(_0x549521){const _0x17cf8b=[];if(!_0x549521['length'])return _0x17cf8b;for(const _0x5949fc of _0x549521){const _0xc3739d=_0x5949fc['comments']['map'](_0x52dae1=>({'author':_0x52dae1['author']['name'],'content':_0x52dae1['content'],'created_at':_0x52dae1['createdAt']}));_0x17cf8b['push']({'thread_id':_0x5949fc['id'],'is_resolved':_0x5949fc['isResolved'],'comments':_0xc3739d});}return _0x17cf8b;}(_0x235bff['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3677d5['length']&&(_0x5018a0['comment_threads']=_0x3677d5);}if(_0x32e27d&&_0x59dcf8){const _0x167e0c=_0x235bff['plugins']['get']('TrackChanges'),_0x168060=_0x235bff['plugins']['get']('Users'),_0x2757da=function(_0x2c859a,_0xed8e07){if(!_0x2c859a['length']||!_0xed8e07['length'])return[];return _0x2c859a['map'](({id:_0x4af508,createdAt:_0x25207b,authorId:_0x355292,attributes:_0x1d5dcc})=>{const _0x37b607=_0x1d5dcc&&_0x1d5dcc['@external'];return{'id':_0x4af508,'author':_0x37b607?_0x37b607['authorName']:_0xed8e07['get'](_0x355292)['name'],'created_at':_0x25207b};});}(_0x167e0c['getSuggestions']({'toJSON':!0x0}),_0x168060['users']);_0x2757da['length']&&(_0x5018a0['suggestions']=_0x2757da);}if(_0x380ddc){const _0x3d34a9=_0x235bff['plugins']['get']('MergeFieldsEditing'),_0xcc3c7a=_0x3d34a9['previewMode'],{prefix:_0x5b9c2e,suffix:_0xb6e370}=_0x235bff['config']['get']('mergeFields');if(_0x5d86fc['merge_fields']={'prefix':_0x5b9c2e,'suffix':_0xb6e370},'$labels'!==_0xcc3c7a){_0x5d86fc['merge_fields']['data']={};const _0x4d95c5='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x5b1f6c='$defaultValues'===_0xcc3c7a?_0x3d34a9['getDefaultValues']():_0x3d34a9['getDataSetValues'](_0xcc3c7a,!0x0);for(const _0x45768b of Object['entries'](_0x5b1f6c)){const [_0x56cf99,_0x4c6872]=_0x45768b;'image'===_0x3d34a9['getMergeFieldType'](_0x56cf99)?_0x5d86fc['merge_fields']['data'][_0x56cf99]=null!==_0x4c6872?_0x4c6872:_0x4d95c5:_0x5d86fc['merge_fields']['data'][_0x56cf99]=null!==_0x4c6872?_0x4c6872:_0x3d34a9['getLabel'](_0x56cf99)||_0x56cf99;}}}return(_0x5018a0['comment_threads']||_0x5018a0['suggestions'])&&(_0x5d86fc['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x5d86fc['collaboration_features']=_0x5018a0),_0x5d86fc;}function dp(_0x243b63,_0x1aca6e){const t=_0x243b63['t'];switch(_0x1aca6e){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 _0x1aca6e;}}const fp=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x4d9dc4{constructor(_0x1aafab){super(_0x1aafab),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x4afcfa={}){const _0x424e95=this['editor'],_0x561004=_0x4afcfa['version']||0x2,_0x190733=0x1===_0x561004,_0x38e9b0=_0x4afcfa['converterUrl']||(_0x190733?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x5f3b4e=_0x4afcfa['converterOptions']||{},_0x3f6b5a=_0x424e95['plugins']['get']('ExportWord'),_0x49673c=_0x4afcfa['token']||_0x3f6b5a['_token'],_0x25cf14=!0x0===_0x5f3b4e['auto_pagination'],_0x4424c2=_0x4afcfa['dataCallback']||(_0x31ff3a=>_0x31ff3a['data']['get']({'pagination':_0x25cf14}));return 0x2===_0x561004&&function(_0x212949){for(const _0x44cfb5 of fp)if(void 0x0!==_0x212949[_0x44cfb5])return!0x0;return!0x1;}(_0x5f3b4e)&&_0x5eb6e4('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x4670b0(_0x4afcfa['stylesheets']||['EDITOR_STYLES'])['then'](async _0x14d21e=>{_0x424e95['ui']['ariaLiveAnnouncer']['announce'](dp(_0x424e95['locale'],'Word\x20document\x20export\x20started'));const _0x3aca94=await _0x4424c2(_0x424e95),_0x22db08={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x424e95['locale']['contentLanguageDirection']+'\x22>'+_0x3aca94+'</div>','css':_0x14d21e,[_0x190733?'options':'config']:{..._0x5f3b4e,..._0x190733?hp(_0x424e95,_0x5f3b4e):up(_0x424e95,_0x5f3b4e)}},_0x24ef54={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x49673c?{'Authorization':_0x49673c['value']}:null},'body':JSON['stringify'](_0x22db08)};return window['fetch'](_0x38e9b0,_0x24ef54)['then'](_0x34049e=>{if(0xc8!==_0x34049e['status'])throw _0x34049e;return _0x34049e['blob']();})['then'](_0x2eaa5e=>{_0x424e95['ui']['ariaLiveAnnouncer']['announce'](dp(_0x424e95['locale'],'Word\x20document\x20export\x20successful'));const _0x58827a='function'==typeof _0x4afcfa['fileName']?_0x4afcfa['fileName']():_0x4afcfa['fileName'];this['_downloadFile'](_0x2eaa5e,_0x58827a||'document.docx');});})['catch'](_0x6bf97a=>{const _0x4e7160=_0x424e95['plugins']['get']('Notification');throw _0x424e95['ui']['ariaLiveAnnouncer']['announce'](dp(_0x424e95['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x4e7160['showWarning'](dp(_0x424e95['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x6bf97a;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x1bd4dc,_0x22309d){const _0x865f4a=document['createElement']('a');_0x865f4a['href']=window['URL']['createObjectURL'](_0x1bd4dc),_0x865f4a['download']=_0x22309d,_0x865f4a['click'](),_0x865f4a['remove']();}}class ExportWordUI extends _0x7cf71c{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x344af8=this['editor'];_0x344af8['ui']['componentFactory']['add']('exportWord',()=>{const _0x453c96=_0x344af8['commands']['get']('exportWord'),_0x3b5136=this['_createButton'](_0x1a631f);return _0x3b5136['set']({'tooltip':!0x0}),_0x3b5136['bind']('isOn')['to'](_0x453c96,'isBusy'),_0x3b5136;}),_0x344af8['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](at));}['_createButton'](_0x5f1be9){const _0x7177b5=this['editor'],_0x5709d1=_0x7177b5['config']['get']('exportWord')||{},_0x1c1884=_0x7177b5['commands']['get']('exportWord'),_0x761d1c=new _0x5f1be9(_0x7177b5['locale']),_0x3db57c=new _0x5a3bb9();return _0x761d1c['children']['add'](_0x3db57c),_0x3db57c['bind']('isVisible')['to'](_0x1c1884,'isBusy'),_0x761d1c['iconView']['bind']('isVisible')['to'](_0x1c1884,'isBusy',_0x395bee=>!_0x395bee),_0x761d1c['set']({'icon':_0x145514}),_0x761d1c['bind']('isEnabled')['to'](_0x1c1884,'isEnabled'),_0x761d1c['bind']('label')['to'](_0x1c1884,'isBusy',_0x305300=>dp(_0x7177b5['locale'],_0x305300?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x761d1c,'execute',()=>{_0x7177b5['execute']('exportWord',_0x5709d1),_0x7177b5['editing']['view']['focus']();}),_0x761d1c;}}class ExportWord extends _0x7cf71c{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x337566,Qt,ExportWordUI];}['init'](){const _0x1bec91=this['editor'],_0x4924d7=_0x1bec91['config']['get']('exportWord')||{};_0x1bec91['commands']['add']('exportWord',new ExportWordCommand(_0x1bec91));const _0x7cd81f=_0x1bec91['plugins']['get'](_0x337566);!0x1===_0x4924d7['tokenUrl']?this['_token']=null:_0x4924d7['tokenUrl']?_0x7cd81f['registerTokenUrl'](_0x4924d7['tokenUrl'])['then'](_0x2ab717=>{this['_token']=_0x2ab717;}):this['_token']=_0x7cd81f['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x12d825,_0x5b2b00){this['_model']=_0x12d825,this['_elementName']=_0x5b2b00['elementName'],this['_getElementKey']=_0x5b2b00['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3c0ab7){const _0x252e40=new Set(),_0x4ed0e3=new Map();for(const _0x57ce13 of _0x3c0ab7){if('insert'===_0x57ce13['type']&&'$text'!==_0x57ce13['name']&&_0x57ce13['position']['nodeAfter']){const _0x5c6a0e=this['_model']['createRangeOn'](_0x57ce13['position']['nodeAfter']);for(const _0x24493b of _0x5c6a0e['getItems']()){if(!_0x24493b['is']('element',this['_elementName']))continue;const _0x1223ac=this['_getElementKey'](_0x24493b);_0x4ed0e3['has'](_0x1223ac)||_0x4ed0e3['set'](_0x1223ac,[]),_0x4ed0e3['get'](_0x1223ac)['push'](_0x24493b);}}if('remove'===_0x57ce13['type']&&_0x57ce13['name']===this['_elementName']){const _0xcc6b8b=this['_getElementKey']({'getAttribute':_0x1fc503=>_0x57ce13['attributes']['get'](_0x1fc503)});_0x252e40['add'](_0xcc6b8b);}}for(const [_0x3b6bcc,_0xeebcbf]of this['_trackedElements'])'$graveyard'===_0xeebcbf['root']['rootName']&&_0x252e40['add'](_0x3b6bcc);for(const _0xf6a340 of _0x252e40)this['_trackedElements']['delete'](_0xf6a340);for(const [_0x5e3590,_0x1abaf0]of _0x4ed0e3)this['_trackedElements']['set'](_0x5e3590,_0x1abaf0[_0x1abaf0['length']-0x1]);const _0x47a7eb=new Set();for(const [_0x43a94b,_0x559482]of _0x4ed0e3)_0x252e40['has'](_0x43a94b)&&(_0x47a7eb['add'](_0x559482[0x0]),_0x559482['length']>0x1?_0x4ed0e3['set'](_0x43a94b,_0x559482['slice'](0x1)):_0x4ed0e3['delete'](_0x43a94b),_0x252e40['delete'](_0x43a94b));return{'removed':Array['from'](_0x252e40),'inserted':Array['from'](_0x4ed0e3['values']())['flat'](),'moved':Array['from'](_0x47a7eb)};}}class FootnotesTracker extends _0x7cf71c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x526c89){super(_0x526c89),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x51e9ec=>_0x51e9ec['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x48d303=>_0x48d303['getAttribute']('footnoteId')});}['init'](){const {editor:_0x24ee17}=this,{model:_0x5e7e61,data:_0x34a0a6}=_0x24ee17;_0x5e7e61['document']['registerPostFixer'](_0x447fda=>{const _0x45dbcf=_0x5e7e61['document']['differ']['getChanges']();let _0x30b289=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x447fda,_0x45dbcf)&&(_0x30b289=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x447fda,_0x45dbcf)&&(_0x30b289=!0x0),this['_handleFootnoteReferencesChanges'](_0x447fda,_0x45dbcf)&&(_0x30b289=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x447fda)&&(_0x30b289=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x447fda)&&(_0x30b289=!0x0),this['_sortFootnoteDefinitions'](_0x447fda)&&(_0x30b289=!0x0),_0x30b289;}),this['listenTo'](_0x5e7e61['document'],'change:data',()=>{_0x5e7e61['enqueueChange']({'isUndoable':!0x1},_0xd8c077=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xd8c077);});},{'priority':'low'}),this['listenTo'](_0x34a0a6,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xb20083){return this['_footnotes']['find'](_0x3a6785=>_0x3a6785['id']===_0xb20083)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5f31ec){this['_footnoteFormatter']=_0x5f31ec;}['_updateFootnotesCounters'](_0x11569b,_0x4e6374=0x0){let _0x48316e=!0x1;for(let _0x84c877=_0x4e6374;_0x84c877<this['_footnotes']['length'];_0x84c877++)this['_updateFootnoteRefCounter'](_0x11569b,_0x84c877)&&(_0x48316e=!0x0);return _0x48316e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x47389e,_0x1b7ee9){const _0x513ede=_0x47389e['createElement']('footnotesDefinitions',{});return _0x47389e['append'](_0x513ede,_0x1b7ee9),this['_footnotesDefinitions']=_0x513ede,_0x513ede;}['_ensureFootnotesDefinitionsContainerExists'](_0x44d565){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x43e466=this['_footnotes'][0x0]['reference']['root'],_0x5d5dda=this['_insertEmptyFootnotesDefinitionsContainer'](_0x44d565,_0x43e466);for(const _0x286289 of this['_footnotes'])_0x286289['definition']['parent']||_0x44d565['insert'](_0x286289['definition'],_0x5d5dda,'end');this['_updateFootnotesCounters'](_0x44d565);}['_handleFootnotesDefinitionsObjectChanges'](_0x502218,_0x4af6af){let _0x4d546a=!0x1;const {inserted:_0x10afda,removed:_0x4128e6,moved:_0x362078}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4af6af);if(_0x362078['length']&&(this['_footnotesDefinitions']=_0x362078[0x0]),_0x10afda['length']){if(_0x10afda['length']>0x1||this['_footnotesDefinitions']&&_0x10afda['some'](_0x12fa5c=>_0x12fa5c!==this['_footnotesDefinitions'])){const _0x32fcca=_0x502218['createElement']('footnotesDefinitions',{}),_0xb74b99=[];this['_footnotesDefinitions']&&_0xb74b99['push'](this['_footnotesDefinitions']),_0xb74b99['push'](..._0x10afda),_0x502218['insert'](_0x32fcca,_0xb74b99[0x0],'before');for(const _0x3dbf6e of _0xb74b99)_0x502218['move'](_0x502218['createRangeIn'](_0x3dbf6e),_0x502218['createPositionAt'](_0x32fcca,'end')),_0x502218['remove'](_0x3dbf6e);this['_footnotesDefinitions']=_0x32fcca,this['_updateFootnotesCounters'](_0x502218),_0x4d546a=!0x0;}else this['_footnotesDefinitions']=_0x10afda[0x0];}if(_0x4128e6['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x289fa8 of this['_footnotes'])_0x502218['remove'](_0x289fa8['reference']),_0x4d546a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4d546a;}['_handleFootnoteDefinitionsChanges'](_0x3395f4,_0x26f54d){let _0x2c60ba=!0x1;const _0x33b0eb=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3f820b,moved:_0x42748d}=this['_footnoteDefsTracker']['getChanges'](_0x26f54d);for(const _0xc408ff of[..._0x42748d,..._0x3f820b]){const _0x2c7ed3=_0xc408ff['getAttribute']('footnoteId'),_0x2a3a64=this['getFootnote'](_0x2c7ed3);_0x2a3a64&&(_0x2a3a64['definition']=_0xc408ff),mp(_0x3395f4,_0x33b0eb,_0xc408ff)&&(_0x2c60ba=!0x0);}return _0x2c60ba;}['_handleFootnoteReferencesChanges'](_0x5a7c19,_0x4ab9ab){let _0x2ddc72=!0x1;const {removed:_0xc14ec6,inserted:_0x5c7cd5,moved:_0x5d61b9}=this['_footnoteRefsTracker']['getChanges'](_0x4ab9ab);for(const _0x248662 of _0xc14ec6)this['_handleRemoveFootnoteReferenceById'](_0x5a7c19,_0x248662)&&(_0x2ddc72=!0x0);for(const _0x1df2bb of _0x5c7cd5)this['_handleInsertedFootnoteReference'](_0x5a7c19,_0x1df2bb)&&(_0x2ddc72=!0x0);for(const _0x3b5a9b of _0x5d61b9)this['_handleMovedFootnoteReference'](_0x5a7c19,_0x3b5a9b)&&(_0x2ddc72=!0x0);return _0x2ddc72;}['_handleFootnotesDefinitionsObjectSync'](_0x469a00){if(!this['_footnotesDefinitions'])return!0x1;let _0x7f703e=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3037aa=[];for(const _0x38117a of this['_footnotesDefinitions']['getChildren']()){const _0x36ddfd=_0x38117a['getAttribute']('footnoteId');this['getFootnote'](_0x36ddfd)||(_0x3037aa['unshift'](_0x38117a),_0x7f703e=!0x0);}for(const _0x2a2188 of _0x3037aa)_0x469a00['remove'](_0x2a2188);}const _0x2ac970=new Set(),_0x4d21c3=[];for(const _0x585f17 of this['_footnotesDefinitions']['getChildren']()){const _0xc75aa2=_0x585f17['getAttribute']('footnoteId');_0x2ac970['has'](_0xc75aa2)?(_0x4d21c3['unshift'](_0x585f17),_0x7f703e=!0x0):_0x2ac970['add'](_0xc75aa2);}for(const _0x56b238 of _0x4d21c3)_0x469a00['remove'](_0x56b238);return this['_footnotesDefinitions']['childCount']||(_0x469a00['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x7f703e=!0x0),_0x7f703e;}['_handleInsertedFootnoteReference'](_0xe92ddd,_0x1bf3d8){if(this['_footnotes']['find'](_0x124970=>_0x124970['reference']===_0x1bf3d8))return!0x1;let _0x413d30=!0x1;const _0x135e1c=_0x1bf3d8['getAttribute']('footnoteId'),_0x15e588=this['_footnotes']['findIndex'](_0x417aeb=>_0x417aeb['id']===_0x135e1c);-0x1!==_0x15e588&&(_0xe92ddd['remove'](this['_footnotes'][_0x15e588]['reference']),this['_footnotes']['splice'](_0x15e588,0x1),_0x413d30=!0x0);let _0x3fa374=this['_footnotesDefinitions']?function(_0x1fe2a1,_0x366900){for(const _0x413140 of _0x1fe2a1['getChildren']())if(_0x413140['getAttribute']('footnoteId')===_0x366900)return _0x413140;return null;}(this['_footnotesDefinitions'],_0x135e1c):null;_0x3fa374||(_0x3fa374=_0xe92ddd['createElement']('footnoteDefinition',{'footnoteId':_0x135e1c}),this['_footnotesDefinitions']&&(_0xe92ddd['insert'](_0x3fa374,this['_footnotesDefinitions'],'end'),_0x413d30=!0x0));const _0x148e89={'id':_0x135e1c,'reference':_0x1bf3d8,'definition':_0x3fa374},_0x5b7c9c=gp(this['editor']['model'],this['_footnotes'],_0x1bf3d8);this['_footnotes']['splice'](_0x5b7c9c,0x0,_0x148e89);let _0x28041a=_0x5b7c9c;return-0x1!==_0x15e588&&(_0x28041a=Math['min'](_0x5b7c9c,_0x15e588)),this['_updateFootnotesCounters'](_0xe92ddd,_0x28041a)&&(_0x413d30=!0x0),_0x413d30;}['_handleRemoveFootnoteReferenceById'](_0x1dfc4e,_0x53cd3f){const _0x478940=this['_footnotes']['findIndex'](_0x1daf3b=>_0x1daf3b['id']===_0x53cd3f);if(-0x1===_0x478940)return!0x1;let _0x4a3f65=!0x1;const _0x2b346e=this['_footnotes'][_0x478940];return'$graveyard'!==_0x2b346e['definition']['root']['rootName']&&(_0x1dfc4e['remove'](_0x2b346e['definition']),_0x4a3f65=!0x0),this['_footnotes']['splice'](_0x478940,0x1),this['_updateFootnotesCounters'](_0x1dfc4e,_0x478940)&&(_0x4a3f65=!0x0),_0x4a3f65;}['_handleMovedFootnoteReference'](_0x2b0416,_0x4702b4){const _0x5135e2=_0x4702b4['getAttribute']('footnoteId'),_0x4e586f=this['_footnotes']['findIndex'](_0x14b809=>_0x14b809['id']===_0x5135e2),_0x50ee09=this['_footnotes'][_0x4e586f];let _0x283b11=!0x1;_0x50ee09['reference']=_0x4702b4,this['_footnotes']['splice'](_0x4e586f,0x1);const _0x4a6db9=gp(this['editor']['model'],this['_footnotes'],_0x4702b4);return this['_footnotes']['splice'](_0x4a6db9,0x0,_0x50ee09),this['_updateFootnotesCounters'](_0x2b0416,Math['min'](_0x4e586f,_0x4a6db9))&&(_0x283b11=!0x0),_0x283b11;}['_updateFootnoteRefCounter'](_0xbbc87d,_0x2dcadd){if(!this['_footnotesDefinitions'])return!0x1;const _0x4db0dc=this['_footnotes'][_0x2dcadd];let _0x14cc44;return _0x14cc44=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4db0dc,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2dcadd+0x1}):String(_0x2dcadd+0x1),_0x4db0dc['reference']['getAttribute']('footnoteCounter')!=_0x14cc44&&(_0xbbc87d['setAttribute']('footnoteCounter',_0x14cc44,_0x4db0dc['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x28c547){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x53520b,_0x13ca35){if(_0x53520b['length']!==_0x13ca35['length'])return!0x1;for(let _0x251d9f=0x0;_0x251d9f<_0x53520b['length'];_0x251d9f++)if(_0x53520b[_0x251d9f]!==_0x13ca35[_0x251d9f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x422174=>_0x422174['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1606b6=>_0x1606b6['getAttribute']('footnoteId'))))return!0x1;let _0x2bbf9b=!0x1;for(let _0x4ce8bf=0x0;_0x4ce8bf<this['_footnotes']['length'];_0x4ce8bf++){const _0x4e411a=this['_footnotes'][_0x4ce8bf],_0x59828d=_0x28c547['createPositionBefore'](_0x4e411a['definition']),_0x3363f8=_0x28c547['createPositionAt'](this['_footnotesDefinitions'],_0x4ce8bf);_0x59828d['isEqual'](_0x3363f8)||(_0x28c547['move'](_0x28c547['createRangeOn'](_0x4e411a['definition']),_0x3363f8),_0x2bbf9b=!0x0);}return _0x2bbf9b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x451286){if(!this['_footnotes']['length'])return!0x1;const {model:_0x265f76}=this['editor'];let _0x50d96c=!0x1;for(let _0x285a2f=0x0;_0x285a2f<this['_footnotes']['length']-0x1;_0x285a2f++){const _0x448c3e=this['_footnotes'][_0x285a2f],_0x4d4418=this['_footnotes'][_0x285a2f+0x1],_0x115bf6=_0x265f76['createPositionBefore'](_0x448c3e['reference']),_0x32b3a3=_0x265f76['createPositionBefore'](_0x4d4418['reference']);'after'===_0x115bf6['compareWith'](_0x32b3a3)&&(this['_handleMovedFootnoteReference'](_0x451286,_0x448c3e['reference']),_0x285a2f=-0x1,_0x50d96c=!0x0);}return _0x50d96c;}}function mp(_0x362ebb,_0x48ecdf,_0x122605){if(_0x122605['childCount'])return!0x1;const _0x66b238=_0x48ecdf?'paragraph':'footnoteInlineContent';return _0x362ebb['insert'](_0x362ebb['createElement'](_0x66b238),_0x122605),!0x0;}function gp(_0x5dfc08,_0x327d8d,_0x2fbebe){if(0x0===_0x327d8d['length'])return 0x0;const _0x374d46=_0x5dfc08['createPositionBefore'](_0x2fbebe);for(let _0x2675d5=0x0;_0x2675d5<_0x327d8d['length'];_0x2675d5++){const _0x3c2d9a=_0x327d8d[_0x2675d5],_0x249c99=_0x5dfc08['createPositionBefore'](_0x3c2d9a['reference']);if('before'===_0x374d46['compareWith'](_0x249c99))return _0x2675d5;}const _0x1cb402=_0x2fbebe['root'];let _0x253249=-0x1;for(let _0x32733c=_0x327d8d['length']-0x1;_0x32733c>=0x0;_0x32733c--)if(_0x327d8d[_0x32733c]['reference']['root']===_0x1cb402){_0x253249=_0x32733c;break;}if(-0x1!==_0x253249)return _0x253249+0x1;const _0x24f841=_0x5dfc08['document']['getRootNames'](),_0xa4705d=_0x24f841['indexOf'](_0x1cb402['rootName']),_0x512b5d=_0x24f841[_0xa4705d+0x1];if(_0x512b5d){for(let _0x3c04aa=0x0;_0x3c04aa<_0x327d8d['length'];_0x3c04aa++)if(_0x327d8d[_0x3c04aa]['reference']['root']['rootName']===_0x512b5d)return _0x3c04aa;}return _0x327d8d['length'];}class InsertFootnoteCommand extends _0x4d9dc4{['refresh'](){const _0x5a250d=this['editor']['model']['document']['selection'],_0x12dffc=this['_getPositionToInsertFootnote'](_0x5a250d);this['isEnabled']=!!_0x12dffc;}['execute'](_0x29858c){const {editor:_0x3e557e}=this,{model:_0x552057}=_0x3e557e,{selection:_0x5528e9}=_0x552057['document'],_0x5bd8fd=this['_getPositionToInsertFootnote'](_0x5528e9);if(!_0x5bd8fd)return;const _0x3d514e=_0x3e557e['plugins']['get']('FootnotesEditing'),_0x3ebfb2=_0x29858c?.['footnoteId']??_0x462bc0();!function(_0x12c2bc){return'string'==typeof _0x12c2bc&&_0x12c2bc['length']>0x0&&!/\s/['test'](_0x12c2bc)&&!/^\d/['test'](_0x12c2bc);}(_0x3ebfb2)?_0x5eb6e4('insert-footnote-command-executed-with-invalid-id'):(_0x552057['change'](_0x2bce06=>{const _0x20ccb5=_0x2bce06['createElement']('footnoteRef',{'footnoteId':_0x3ebfb2});_0x552057['insertObject'](_0x20ccb5,_0x5bd8fd,null);}),_0x3d514e['_moveSelectionToFootnoteDefinition'](_0x3ebfb2));}['_getPositionToInsertFootnote'](_0x41532f){const {model:_0x1f8bc9}=this['editor'],{schema:_0x340d42}=_0x1f8bc9,_0x277fb9=_0x41532f['getFirstRange']();for(const _0x1e360c of _0x277fb9['getItems']())if(_0x340d42['isBlock'](_0x1e360c)||_0x340d42['isObject'](_0x1e360c))return null;const _0x272ba3=_0x277fb9['end'];return _0x340d42['checkChild'](_0x272ba3,'footnoteRef')?_0x272ba3:null;}}class FootnotesEditing extends _0x7cf71c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4fbd70}=this;_0x4fbd70['config']['define']('footnotes.multiBlock',!0x0),_0x4fbd70['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x4fbd70)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1aac71){const _0x4572c5=_0x9b71b5([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]),_0x1c2866=0x47a28506,_0x10d33f=0x47a50f6e^_0x1c2866,_0x489fef=window[_0x9b71b5([0x44,0x61,0x74,0x65])][_0x9b71b5([0x6e,0x6f,0x77])](),_0x29730a=_0x1aac71[_0x9b71b5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3cc98c=new window[(_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45e17b=>{_0x29730a[_0x9b71b5([0x6f,0x6e,0x63,0x65])](_0x9b71b5([0x72,0x65,0x61,0x64,0x79]),_0x45e17b);}),_0x5da232={[_0x9b71b5([0x6b,0x74,0x79])]:_0x9b71b5([0x45,0x43]),[_0x9b71b5([0x75,0x73,0x65])]:_0x9b71b5([0x73,0x69,0x67]),[_0x9b71b5([0x63,0x72,0x76])]:_0x9b71b5([0x50,0x2d,0x32,0x35,0x36]),[_0x9b71b5([0x78])]:_0x9b71b5([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]),[_0x9b71b5([0x79])]:_0x9b71b5([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]),[_0x9b71b5([0x61,0x6c,0x67])]:_0x9b71b5([0x45,0x53,0x32,0x35,0x36])},_0x1feb3e=_0x29730a[_0x9b71b5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9b71b5([0x67,0x65,0x74])](_0x9b71b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x218af5(){let _0x213355,_0x56506f=null,_0x4e61fc=null;try{if(_0x1feb3e==_0x9b71b5([0x47,0x50,0x4c]))return _0x9b71b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x213355=_0x5d90cd(),!_0x213355)return _0x9b71b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x213355[_0x9b71b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e61fc=_0x191f4e(_0x213355[_0x9b71b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x213355[_0x9b71b5([0x6a,0x74,0x69])])),await _0x4ab8d5()?_0x49b5e3()?_0x371a60()?_0x9b71b5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d1577()?(_0x213355[_0x9b71b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9b71b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56506f=_0x3db56f(_0x9b71b5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41216c()):_0x9b71b5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9b71b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9b71b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9b71b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x371a60(){const _0x11147c=[_0x9b71b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9b71b5([0x74,0x72,0x69,0x61,0x6c])][_0x9b71b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x213355[_0x9b71b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x489fef/0x3e8:0xe10*_0x10d33f;return _0x213355[_0x9b71b5([0x65,0x78,0x70])]<_0x11147c;}function _0x49b5e3(){const _0x2514fb=_0x213355[_0x9b71b5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2514fb&&(!!_0x2514fb[_0x9b71b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b71b5([0x2a]))||!!_0x2514fb[_0x9b71b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b71b5([0x46,0x4f,0x4f])));}function _0x5d1577(){const _0x2b227f=_0x213355[_0x9b71b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b227f||0x0==_0x2b227f[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21efd5}=new URL(window[_0x9b71b5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b227f[_0x9b71b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21efd5))return!0x0;const _0x404d1b=_0x21efd5[_0x9b71b5([0x73,0x70,0x6c,0x69,0x74])](_0x9b71b5([0x2e]));return _0x2b227f[_0x9b71b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17c523=>_0x17c523[_0x9b71b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b71b5([0x2a])))[_0x9b71b5([0x6d,0x61,0x70])](_0x35964d=>_0x35964d[_0x9b71b5([0x73,0x70,0x6c,0x69,0x74])](_0x9b71b5([0x2e])))[_0x9b71b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc8bc7=>_0xc8bc7[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x404d1b[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9b71b5([0x6d,0x61,0x70])](_0x360c06=>Array(_0x404d1b[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x360c06[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9b71b5([0x66,0x69,0x6c,0x6c])](_0x360c06[0x0]===_0x9b71b5([0x2a])?_0x9b71b5([0x2a]):'')[_0x9b71b5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x360c06))[_0x9b71b5([0x73,0x6f,0x6d,0x65])](_0x18039d=>_0x404d1b[_0x9b71b5([0x65,0x76,0x65,0x72,0x79])]((_0x449bf8,_0x2503ee)=>_0x18039d[_0x2503ee]===_0x449bf8||_0x18039d[_0x2503ee]===_0x9b71b5([0x2a])));}function _0x41216c(){return _0x56506f&&_0x4e61fc?new window[(_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x315418,_0x49dc50)=>{_0x56506f[_0x9b71b5([0x74,0x68,0x65,0x6e])](_0x315418,_0x49dc50),_0x4e61fc[_0x9b71b5([0x74,0x68,0x65,0x6e])](_0x28a6ea=>{_0x28a6ea!=_0x9b71b5([0x56,0x61,0x6c,0x69,0x64])&&_0x315418(_0x28a6ea);},_0x49dc50);}):_0x56506f||_0x4e61fc||_0x9b71b5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x191f4e(_0x33a0ac,_0x5a0f72){return new window[(_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54dc76=>{if(_0x448cef())return _0x54dc76(_0x9b71b5([0x56,0x61,0x6c,0x69,0x64]));_0x82ee3a(),_0x29730a[_0x9b71b5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9b71b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18b0a7=!0x1;const _0x43897d=_0x462bc0();function _0x570996(_0x5862d8){return!!_0x5862d8&&(typeof _0x5862d8===_0x9b71b5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5862d8===_0x9b71b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5862d8[_0x9b71b5([0x74,0x68,0x65,0x6e])]===_0x9b71b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5862d8[_0x9b71b5([0x63,0x61,0x74,0x63,0x68])]===_0x9b71b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbead31(_0x184a06){_0x2a8e45(_0x184a06)[_0x9b71b5([0x74,0x68,0x65,0x6e])](_0x5114f7=>{if(!_0x5114f7||_0x5114f7[_0x9b71b5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9b71b5([0x6f,0x6b]))return _0x9b71b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x242d4c(_0x4d8457(_0x43897d+_0x5a0f72))!=_0x5114f7[_0x9b71b5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9b71b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9b71b5([0x56,0x61,0x6c,0x69,0x64]);})[_0x9b71b5([0x74,0x68,0x65,0x6e])](_0x249647=>(_0x2259ce(),_0x249647),()=>{const _0x4ca2a0=_0x5e3197();return null==_0x4ca2a0?(_0x2259ce(),_0x9b71b5([0x56,0x61,0x6c,0x69,0x64])):_0x9b71b5(_0x489fef-_0x4ca2a0>(0x63ae0106^_0x1c2866)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9b71b5([0x74,0x68,0x65,0x6e])](_0x54dc76)[_0x9b71b5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54dc76(_0x9b71b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x109583=0x47946b86^_0x1c2866;function _0x2259ce(){const _0x5704e6=_0x9b71b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x242d4c(_0x4d8457(_0x33a0ac)),_0x535f31=_0x2182ee(_0x242d4c(window[_0x9b71b5([0x4d,0x61,0x74,0x68])][_0x9b71b5([0x63,0x65,0x69,0x6c])](_0x489fef/_0x109583)));window[_0x9b71b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9b71b5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5704e6,_0x535f31);}function _0x5e3197(){const _0x2e4f11=_0x9b71b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x242d4c(_0x4d8457(_0x33a0ac)),_0xf9681b=window[_0x9b71b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9b71b5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e4f11);return _0xf9681b?window[_0x9b71b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2182ee(_0xf9681b),0x10)*_0x109583:null;}function _0x2a8e45(_0x5348f7){return new window[(_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b6c4e,_0x2861cb)=>{_0x5348f7[_0x9b71b5([0x74,0x68,0x65,0x6e])](_0x5b6c4e,_0x2861cb),window[_0x9b71b5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2861cb,0x47a351c6^_0x1c2866);});}}_0x29730a[_0x9b71b5([0x6f,0x6e])](_0x9b71b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36be3d,_0x452a3f)=>{if(_0x452a3f[0x0]!=_0x33a0ac)return _0x54dc76(_0x9b71b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x452a3f[0x1]={..._0x452a3f[0x1],[_0x9b71b5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43897d};},{[_0x9b71b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9b71b5([0x68,0x69,0x67,0x68])}),_0x29730a[_0x9b71b5([0x6f,0x6e])](_0x9b71b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ca74c=>{_0x570996(_0x3ca74c[_0x9b71b5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18b0a7=!0x0,_0xbead31(_0x3ca74c[_0x9b71b5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9b71b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9b71b5([0x6c,0x6f,0x77])}),_0x3cc98c[_0x9b71b5([0x74,0x68,0x65,0x6e])](()=>{_0x18b0a7||_0x54dc76(_0x9b71b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x448cef(){return _0x29730a[_0x9b71b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9b71b5([0x76,0x69,0x65,0x77])][_0x9b71b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9b71b5([0x61,0x75,0x74,0x6f]);}function _0x82ee3a(){_0x29730a[_0x9b71b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9b71b5([0x76,0x69,0x65,0x77])][_0x9b71b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9b71b5([0x61,0x75,0x74,0x6f]);}}function _0x3db56f(_0x86371f){const _0x2c256e=[new window[(_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54fba4=>setTimeout(_0x54fba4,0x47abbbca^_0x1c2866)),_0x3cc98c[_0x9b71b5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x359adc=>{let _0x5b209f=0x0;_0x29730a[_0x9b71b5([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b71b5([0x6f,0x6e])](_0x9b71b5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c00fc,_0x44fbd5)=>{_0x44fbd5[0x0][_0x9b71b5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b209f++,_0x5b209f==(0x47a280ee^_0x1c2866)&&(_0x359adc(),_0x1c00fc[_0x9b71b5([0x6f,0x66,0x66])]());});}))];return window[_0x9b71b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9b71b5([0x72,0x61,0x63,0x65])](_0x2c256e)[_0x9b71b5([0x74,0x68,0x65,0x6e])](()=>_0x86371f);}async function _0xa1a8fd(){await _0x3cc98c,_0x29730a[_0x9b71b5([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b71b5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54010f,_0x29730a[_0x9b71b5([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b71b5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54010f,_0x29730a[_0x9b71b5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9b71b5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x442e56(_0x3e6ae8){const _0x46b994=_0x57c6fb();_0x29730a[_0x46b994]=_0x9b71b5([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e6ae8,_0x3e6ae8!=_0x9b71b5([0x56,0x61,0x6c,0x69,0x64])&&_0xa1a8fd();}function _0x57c6fb(){const _0x46429a=window[_0x9b71b5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9b71b5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9b71b5([0x6e,0x6f,0x77])]())[_0x9b71b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9b71b5([0x2e]),'');let _0x143ad6=_0x9b71b5([0x75]);for(let _0xb8dd27=0x0;_0xb8dd27<_0x46429a[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb8dd27+=0x2){let _0x59cf84=window[_0x9b71b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46429a[_0x9b71b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb8dd27,_0xb8dd27+0x2));_0x59cf84>=_0x4572c5[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59cf84-=_0x4572c5[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x143ad6+=_0x4572c5[_0x59cf84];}return _0x143ad6;}function _0x5d90cd(){const _0xa8164=_0x1feb3e[_0x9b71b5([0x73,0x70,0x6c,0x69,0x74])](_0x9b71b5([0x2e]));if(0x3!=_0xa8164[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x208559(_0xa8164[0x1]);function _0x208559(_0x2db8f6){const _0xe74321=_0x24100a(_0x2db8f6);return _0xe74321&&_0x439714()?_0xe74321:null;function _0x439714(){const _0x28eb92=_0xe74321[_0x9b71b5([0x6a,0x74,0x69])],_0x1150e7=window[_0x9b71b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28eb92[_0x9b71b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28eb92[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20b3fb={..._0xe74321,[_0x9b71b5([0x6a,0x74,0x69])]:_0x28eb92[_0x9b71b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28eb92[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20b3fb[_0x9b71b5([0x76,0x63])],_0x4d8457(_0x20b3fb)==_0x1150e7;}}}async function _0x4ab8d5(){let _0x497ee4=!0x0;try{const _0x55f896=_0x1feb3e[_0x9b71b5([0x73,0x70,0x6c,0x69,0x74])](_0x9b71b5([0x2e])),[_0x10ddba,_0x40b887,_0x5d1080]=_0x55f896;return _0x24d256(_0x10ddba),await _0x586c06(_0x10ddba,_0x40b887,_0x5d1080),_0x497ee4;}catch{return!0x1;}function _0x24d256(_0x47828c){const _0x47bd6e=_0x24100a(_0x47828c);_0x47bd6e&&_0x47bd6e[_0x9b71b5([0x61,0x6c,0x67])]==_0x9b71b5([0x45,0x53,0x32,0x35,0x36])||(_0x497ee4=!0x1);}async function _0x586c06(_0x2a0dcd,_0x226bd2,_0xebc01b){const _0x2155a7=window[_0x9b71b5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9b71b5([0x66,0x72,0x6f,0x6d])](_0x76a53b(_0xebc01b),_0x4accce=>_0x4accce[_0x9b71b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x254a18=new window[(_0x9b71b5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9b71b5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a0dcd+_0x9b71b5([0x2e])+_0x226bd2),_0x5314f6=window[_0x9b71b5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9b71b5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5314f6)return;const _0x429a39=await _0x5314f6[_0x9b71b5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9b71b5([0x6a,0x77,0x6b]),_0x5da232,{[_0x9b71b5([0x6e,0x61,0x6d,0x65])]:_0x9b71b5([0x45,0x43,0x44,0x53,0x41]),[_0x9b71b5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9b71b5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9b71b5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5314f6[_0x9b71b5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9b71b5([0x6e,0x61,0x6d,0x65])]:_0x9b71b5([0x45,0x43,0x44,0x53,0x41]),[_0x9b71b5([0x68,0x61,0x73,0x68])]:{[_0x9b71b5([0x6e,0x61,0x6d,0x65])]:_0x9b71b5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x429a39,_0x2155a7,_0x254a18)||(_0x497ee4=!0x1);}}function _0x24100a(_0xc92274){return _0xc92274[_0x9b71b5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9b71b5([0x65,0x79]))?JSON[_0x9b71b5([0x70,0x61,0x72,0x73,0x65])](_0x76a53b(_0xc92274)):null;}function _0x76a53b(_0xb2e860){return window[_0x9b71b5([0x61,0x74,0x6f,0x62])](_0xb2e860[_0x9b71b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9b71b5([0x2b]))[_0x9b71b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9b71b5([0x2f])));}function _0x4d8457(_0x25d0c0){let _0x47f82b=0x1505;function _0x1071fa(_0xd0252f){for(let _0x2062cf=0x0;_0x2062cf<_0xd0252f[_0x9b71b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2062cf++){const _0x1d4672=_0xd0252f[_0x9b71b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2062cf);_0x47f82b=(_0x47f82b<<0x5)+_0x47f82b+_0x1d4672,_0x47f82b&=_0x47f82b;}}function _0x1570af(_0xda28a8){Array[_0x9b71b5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xda28a8)?_0xda28a8[_0x9b71b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1570af):_0xda28a8&&typeof _0xda28a8==_0x9b71b5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9b71b5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xda28a8)[_0x9b71b5([0x73,0x6f,0x72,0x74])]()[_0x9b71b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b216c,_0x3ee34b])=>{_0x1071fa(_0x3b216c),_0x1570af(_0x3ee34b);}):_0x1071fa(window[_0x9b71b5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xda28a8));}return _0x1570af(_0x25d0c0),_0x47f82b>>>0x0;}function _0x242d4c(_0x452093){return _0x452093[_0x9b71b5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9b71b5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9b71b5([0x30]));}function _0x2182ee(_0x4ed34f){return _0x4ed34f[_0x9b71b5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9b71b5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9b71b5([0x6a,0x6f,0x69,0x6e])]('');}function _0x54010f(){}function _0x9b71b5(_0x37f68d){return _0x37f68d['map'](_0x1fbb4f=>String['fromCharCode'](_0x1fbb4f))['join']('');}_0x442e56(await _0x218af5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x210337){const {plugins:_0x16a438,editing:_0xd02c7b,model:_0x228a3a}=this['editor'],_0x5da761=_0x16a438['get'](FootnotesTracker)['getFootnote'](_0x210337);return!!_0x5da761&&(_0x228a3a['change'](_0xaeab70=>{_0xaeab70['setSelection'](_0xaeab70['createPositionAt'](_0x5da761['definition'],'end'));}),_0xd02c7b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1916d2){const {plugins:_0x4a14bb,editing:_0x33620e,model:_0x594876}=this['editor'],_0x55e5ea=_0x4a14bb['get'](FootnotesTracker)['getFootnote'](_0x1916d2);return!!_0x55e5ea&&(_0x594876['change'](_0x49ba1d=>{_0x49ba1d['setSelection'](_0x55e5ea['reference'],'on');}),_0x33620e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x430046}=this['editor']['model'],_0x23fc83=this['editor']['config']['get']('footnotes.multiBlock');_0x430046['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x430046['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x430046['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x23fc83?_0x430046['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x430046['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x430046['addChildCheck'](_0x484449=>{for(const _0x4a8fa0 of _0x484449)if('footnoteDefinition'===_0x4a8fa0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3b8379}=this,{conversion:_0x5ec8dc,editing:_0x14905a}=_0x3b8379,{t:t}=_0x3b8379['locale'];_0x5ec8dc['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5e87b8,{writer:_0x245a5f,consumable:_0x239538})=>{const _0x5ee361=_0x5e87b8['getChild'](0x0);if(!_0x5ee361||!_0x5ee361['is']('element','a'))return null;const _0x103d6c=_0x5ee361['getAttribute']('href')||'';if(!_0x103d6c['startsWith']('#'))return null;const _0x111094=_0x103d6c['replace'](/^#/,'');if(!_0x111094)return null;_0x239538['consume'](_0x5ee361,{'name':!0x0,'attributes':['href']});for(const {item:_0x4ea496}of _0x14905a['view']['createRangeIn'](_0x5ee361))_0x4ea496['is']('$textProxy')?_0x239538['consume'](_0x4ea496['textNode'],{'name':!0x0}):_0x4ea496['is']('element')&&_0x239538['consume'](_0x4ea496,{'name':!0x0});return _0x245a5f['createElement']('footnoteRef',{'footnoteId':_0x111094});}}),_0x5ec8dc['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a82ce,{writer:_0x11bf4b})=>vp(_0x4a82ce,_0x11bf4b)}),_0x5ec8dc['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x24dd0e,{writer:_0x411068})=>{const _0x4909fa=_0x24dd0e['getAttribute']('footnoteCounter');return _0x5eb950(vp(_0x24dd0e,_0x411068),_0x411068,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4909fa)});}});}['_defineDefinitionsConverters'](){const {editor:_0x19f9a6}=this,{t:t}=_0x19f9a6['locale'],{conversion:_0x10c1de}=_0x19f9a6;_0x10c1de['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x10c1de['for']('upcast')['add'](_0x51a971=>{_0x51a971['on']('element:ol',(_0x320b90,_0x3f933d,_0x26bc88)=>{const _0x2b5f0d=_0x3f933d['viewItem'];if(!_0x2b5f0d['hasClass']('footnotes-list')||!_0x3f933d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x26bc88['consumable']['consume'](_0x2b5f0d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2bcdae,modelCursor:_0x3faa96}=_0x26bc88['convertChildren'](_0x3f933d['viewItem'],_0x3f933d['modelCursor']);_0x3f933d['modelRange']=_0x2bcdae,_0x3f933d['modelCursor']=_0x3faa96;}),_0x51a971['on']('element:hr',(_0x5343dd,_0x1b2f48,_0x580d2c)=>{const _0x471a87=_0x1b2f48['viewItem'];_0x471a87['hasClass']('footnotes-divider')&&_0x1b2f48['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x580d2c['consumable']['consume'](_0x471a87,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x10c1de['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x548475,{writer:_0x25abae})=>yp(_0x25abae)}),_0x10c1de['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x174a54,{writer:_0x22f85f})=>{const _0x5e3565=yp(_0x22f85f,{'data-footnotes-list-label':t('Footnotes')}),_0x8fc005=_0x5eb950(_0x5e3565,_0x22f85f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x22f85f['setCustomProperty']('footnotesDefinitions',!0x0,_0x8fc005),_0x8fc005;}});}['_defineDefinitionConverters'](){const {editor:_0x4f465e}=this,{conversion:_0x1ca953,locale:_0x24ed3b}=_0x4f465e,_0x1930ee=_0x4f465e['config']['get']('footnotes.multiBlock');_0x1ca953['for']('upcast')['add'](_0x22bbf1=>{_0x22bbf1['on']('element:li',(_0x54f805,_0x2c9369,_0x52936d)=>{const _0x51208a=_0x2c9369['viewItem'];if(!_0x51208a['hasClass']('footnote-definition')||!_0x51208a['getAttribute']('id'))return;const _0x54cd6a=_0x51208a['parent'];if(!_0x54cd6a['is']('element','ol')||!_0x54cd6a['hasClass']('footnotes-list'))return;if(!_0x52936d['consumable']['test'](_0x51208a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2f272c=_0x52936d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x51208a['getAttribute']('id')});if(!_0x52936d['safeInsert'](_0x2f272c,_0x2c9369['modelCursor']))return;_0x52936d['consumable']['consume'](_0x51208a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5a9b2a=Array['from'](_0x51208a['getChildren']())['find'](_0x2ff304=>_0x2ff304['is']('element')&&_0x2ff304['hasClass']('footnote-content'));for(const _0x25c249 of _0x51208a['getChildren']())_0x25c249['is']('element')&&(_0x52936d['consumable']['consume'](_0x25c249,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x52936d['consumable']['consume'](_0x25c249,{'name':!0x0,'classes':'footnote-content'}));if(_0x5a9b2a){if(_0x1930ee)_0x52936d['convertChildren'](_0x5a9b2a,_0x2f272c);else{const _0x48ff90=_0x52936d['writer']['createElement']('footnoteInlineContent');_0x52936d['writer']['insert'](_0x48ff90,_0x2f272c),_0x52936d['convertChildren'](_0x5a9b2a,_0x48ff90);}}_0x52936d['updateConversionResult'](_0x2f272c,_0x2c9369);});}),_0x1ca953['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x13abf5,{writer:_0x326db3})=>_p(_0x13abf5,_0x326db3,_0x24ed3b,{'dataPipeline':!0x0})}),_0x1ca953['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3fcdd1,{writer:_0x220368})=>_p(_0x3fcdd1,_0x220368,_0x24ed3b)});}['_defineBogusParagraphConverters'](){const {editor:_0x5b5527}=this,{conversion:_0x5e566b}=_0x5b5527;_0x5b5527['config']['get']('footnotes.multiBlock')?(_0x5e566b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':pp(),'converterPriority':'high'}),_0x5e566b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':pp({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5b5527['model']['document'],'change:data',()=>{!function(_0x16bb6c,_0x5911ae){const _0x235ad1=_0x16bb6c['document']['differ'],_0x50c1c6=new Set();for(const _0x3fd724 of _0x235ad1['getChanges']()){const _0x4c4e6d='attribute'==_0x3fd724['type']?_0x3fd724['range']['start']['parent']:_0x3fd724['position']['parent'];_0x4c4e6d['is']('element','footnoteDefinition')&&_0x50c1c6['add'](_0x4c4e6d);}for(const _0x52f922 of _0x50c1c6['values']()){const _0x3af4c1=Array['from'](_0x52f922['getChildren']())['filter'](_0x19d61d=>wp(_0x19d61d,_0x5911ae['mapper']));for(const _0x14e27a of _0x3af4c1)_0x5911ae['reconvertItem'](_0x14e27a);}}(_0x5b5527['model'],_0x5b5527['editing']);})):(_0x5e566b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':pp()}),_0x5e566b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x364fa0,{writer:_0x1fdca0})=>{const _0xaf9194=_0x1fdca0['createContainerElement']('span');return _0x1fdca0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xaf9194),_0xaf9194;}}));}['_defineKeyboardHandlers'](){const {editor:_0xdf5a30}=this,{editing:_0x555a74,t:t}=_0xdf5a30,_0x52c201=_0xdf5a30['model']['document']['selection'];_0xdf5a30['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xdf5a30['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x555a74['view']['document'],'enter',(_0x3cc8df,_0x5cddd7)=>{const _0x1ead6b=function(_0x354f8f){const _0x2b4f3d=_0x354f8f['getSelectedElement']();if(_0x2b4f3d?.['is']('element','footnoteRef'))return _0x2b4f3d;return null;}(_0x52c201);if(_0x1ead6b){const _0xe7d75d=_0x1ead6b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xe7d75d),_0x5cddd7['preventDefault'](),_0x3cc8df['stop']();}},{'context':_0x1a69bd});}['_defineClickHandlers'](){const {editor:_0x303d69}=this,{editing:_0x43880b}=_0x303d69;_0x303d69['editing']['view']['addObserver'](_0x39e37f),_0x303d69['editing']['view']['addObserver'](_0x4c9889);let _0x58ff4e=!0x1;this['listenTo'](_0x43880b['view']['document'],'pointerdown',(_0x345952,_0x45e295)=>{const {target:_0x4a0364}=_0x45e295,_0x4b9650=_0x43880b['view']['document']['selection'];_0x58ff4e=!!(_0x4a0364?.['is']('element','a')&&_0x4a0364['parent']?.['is']('element','sup')&&_0x4a0364['parent']['hasClass']('footnote'))&&_0x4b9650['getSelectedElement']()===_0x4a0364['parent'];},{'priority':'high'}),this['listenTo'](_0x43880b['view']['document'],'click',(_0x1349c9,_0xbf0937)=>{const {target:_0x3a6b04}=_0xbf0937;if(!_0x3a6b04?.['is']('element','a'))return;if(_0x3a6b04['parent']?.['is']('element','sup')&&_0x3a6b04['parent']['hasClass']('footnote')&&!_0x58ff4e)return void _0xbf0937['preventDefault']();let _0x11d1ec=_0x3a6b04['getAttribute']('href');if(!_0x11d1ec?.['startsWith']('#'))return;_0x11d1ec=_0x11d1ec['slice'](0x1);let _0x58ab1a=!0x1;(_0x11d1ec['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x11d1ec['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x11d1ec))&&(_0x58ab1a=!0x0),_0x58ab1a&&(_0xbf0937['preventDefault'](),_0x1349c9['stop']());},{'priority':'high','context':'$capture'});}}function pp({dataPipeline:_0x1e0cab}={}){return(_0x4baac8,{writer:_0x1fe8a7})=>{if(!Op(_0x4baac8))return null;if(!_0x1e0cab)return _0x1fe8a7['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x429aba=_0x1fe8a7['createContainerElement']('p');return _0x1fe8a7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x429aba),_0x429aba;};}function Op(_0x27b8c5){const {parent:_0x4a0371}=_0x27b8c5;if(!_0x4a0371?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4a0371['childCount'])return!0x1;for(const _0x55ff38 of _0x27b8c5['getAttributeKeys']())if(!_0x55ff38['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x55ff38)return!0x1;return!0x0;}function wp(_0x5c1ad9,_0x1d07d6){if(!_0x5c1ad9['is']('element','paragraph'))return!0x1;const _0x553676=_0x1d07d6['toViewElement'](_0x5c1ad9);return!!_0x553676&&Op(_0x5c1ad9)!==_0x553676['is']('element','span');}function bp(_0xf6b833){return _0x1a69bd(_0xf6b833)&&_0xf6b833['is']('containerElement')&&!!_0xf6b833['getCustomProperty']('footnotesDefinitions');}function yp(_0x44abd4,_0x5a022f={}){const _0x969947=_0x44abd4['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x9ace27=_0x44abd4['createContainerElement']('ol',{'class':'footnotes-list'},_0x44abd4['createSlot']());return _0x44abd4['createContainerElement']('div',{'class':'footnotes',..._0x5a022f},[_0x969947,_0x9ace27]);}function vp(_0x2e7936,_0x23e24a){const _0x1b1dbf=_0x2e7936['getAttribute']('footnoteId'),_0x5ab94c=_0x2e7936['getAttribute']('footnoteCounter'),_0x177c30=_0x23e24a['createUIElement']('a',{'href':'#'+_0x1b1dbf},function(_0x3cb8e4){const _0x3baff9=this['toDomElement'](_0x3cb8e4);return _0x3baff9['textContent']=_0x5ab94c,_0x3baff9;}),_0x51f91a=_0x23e24a['createContainerElement']('sup',{'id':'ref-'+_0x1b1dbf,'class':'footnote'},[_0x177c30]);return _0x51f91a['getFillerOffset']=()=>null,_0x51f91a;}function _p(_0x188564,_0x353c4e,_0x251caa,{dataPipeline:_0x1da9ab}={}){const {t:t}=_0x251caa,_0x448aea=_0x188564['getAttribute']('footnoteId'),_0x3745fe=_0x353c4e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x448aea},function(_0x34e73b){const _0x3ff7ab=this['toDomElement'](_0x34e73b);return _0x3ff7ab['innerText']='^',_0x3ff7ab;}),_0x3d3a03=_0x1da9ab?_0x353c4e['createContainerElement']('div',{'class':'footnote-content'}):_0x54d72a(_0x353c4e['createEditableElement']('div',{'class':'footnote-content'}),_0x353c4e,{'label':t('Footnote\x20content.')});return _0x353c4e['insert'](_0x353c4e['createPositionAt'](_0x3d3a03,0x0),_0x353c4e['createSlot']()),_0x353c4e['createContainerElement']('li',{'class':'footnote-definition','id':_0x448aea},[_0x3745fe,_0x3d3a03]);}class FootnotesClipboard extends _0x7cf71c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0xfaf27a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3c0a03}=this,{plugins:_0x12a833,model:_0x41d02d}=_0x3c0a03,_0x31339c=_0x12a833['get'](_0xfaf27a),_0x590ef0=_0x12a833['get'](FootnotesTracker);this['listenTo'](_0x31339c,'outputTransformation',(_0x1c9b89,_0x4cb17d)=>{const _0x29a0e8=Tp(_0x41d02d['createRangeIn'](_0x4cb17d['content']));if(!_0x29a0e8['length'])return;const _0x1762d8=_0x590ef0['getFootnotes'](),_0xd6c7bc=_0x29a0e8['reduce']((_0x69f2a,_0x9eb5bb)=>{const _0xe4e4d8=_0x1762d8['find'](_0x1007fc=>_0x1007fc['id']===_0x9eb5bb);if(_0xe4e4d8){const _0x512ce9=_0x3c0a03['data']['toView'](_0xe4e4d8['definition'],{'isClipboardPipeline':!0x0}),_0x5ef5af=_0x3c0a03['data']['htmlProcessor']['toData'](_0x512ce9);_0x69f2a[_0xe4e4d8['id']]=_0x5ef5af;}return _0x69f2a;},Object['create'](null));_0x4cb17d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xd6c7bc));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3785a8}=this,{model:_0x171417,plugins:_0x53cde5}=_0x3785a8,{view:_0x4c87c6}=_0x3785a8['editing'],_0x5549c9=_0x53cde5['get'](_0xfaf27a),_0x3e6aa4=_0x53cde5['get'](FootnotesTracker),_0x211781=_0x3785a8['config']['get']('footnotes.multiBlock');let _0x40d224=null;this['listenTo'](_0x4c87c6['document'],'clipboardInput',(_0x171db3,_0x55e546)=>{const _0x31d69c=_0x55e546['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x40d224=_0x31d69c?JSON['parse'](_0x31d69c):null;}),this['listenTo'](_0x5549c9,'contentInsertion',(_0xe01deb,_0x535a1e)=>{const _0x4f9814=_0x535a1e['sourceEditorId']===this['editor']['id'];_0x4f9814&&'drop'===_0x535a1e['method']||_0x171417['change'](_0x20329f=>{let _0x4169cd=_0x3e6aa4['getFootnotesDefinitionsObjectElement']();const _0xb3be7d=!!_0x4169cd&&Array['from'](_0x171417['document']['selection']['getSelectedBlocks']())['includes'](_0x4169cd);if(!_0x40d224&&function(_0x1407cb){for(const {item:_0x2b9a05}of _0x1407cb)if(_0x2b9a05['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x171417['createRangeIn'](_0x535a1e['content']))&&(_0x40d224=function(_0x5029ee,_0x52ef60){const _0x100949=Ep(_0x5029ee,_0x52ef60);if(!_0x100949)return null;const _0x1d6c42=Object['create'](null);for(const _0x5cfdd9 of _0x100949['getChildren']())_0x5cfdd9['is']('element','footnoteDefinition')&&_0x5cfdd9['hasAttribute']('footnoteId')&&(_0x1d6c42[_0x5cfdd9['getAttribute']('footnoteId')]=_0x5029ee['cloneElement'](_0x5cfdd9,!0x0));return Object['keys'](_0x1d6c42)['length']?_0x1d6c42:null;}(_0x20329f,_0x535a1e['content'])),(_0x4169cd&&!_0xb3be7d||!_0x4169cd&&!_0x40d224)&&function(_0x5da0a9,_0x2dcf32){const _0x14f0e0=[];for(const {item:_0xf25647}of _0x5da0a9['createRangeIn'](_0x2dcf32))_0xf25647['is']('element','footnotesDefinitions')&&_0x14f0e0['push'](_0xf25647);for(const _0x106142 of _0x14f0e0)_0x5da0a9['remove'](_0x106142);}(_0x20329f,_0x535a1e['content']),!_0x40d224)return;const {selection:_0x3699ab}=_0x171417['document'],_0x19f011=_0x3699ab['getFirstRange']()['root'];_0x4169cd&&!_0xb3be7d||(_0x4169cd=Ep(_0x20329f,_0x535a1e['content']),_0x4169cd||=_0x3e6aa4['_insertEmptyFootnotesDefinitionsContainer'](_0x20329f,_0x19f011));const _0x322694=Array['from'](_0x3699ab['getRanges']())['flatMap'](Tp),_0x3e5bb8=function(_0x330a25,_0x19c465,_0x1c8746){const _0x59a0b9=Object['create'](null);for(const {item:_0xa276b}of _0x330a25['createRangeIn'](_0x19c465))if(_0xa276b['is']('element','footnoteRef')){const _0x41add3=_0xa276b['getAttribute']('footnoteId');if(!_0x1c8746(_0x41add3))continue;_0x59a0b9[_0x41add3]||(_0x59a0b9[_0x41add3]=_0x462bc0()),_0x330a25['setAttribute']('footnoteId',_0x59a0b9[_0x41add3],_0xa276b);}return _0x59a0b9;}(_0x20329f,_0x535a1e['content'],_0x2efe15=>{if(!_0x4f9814)return!0x0;return!!_0x3e6aa4['getFootnote'](_0x2efe15)&&!_0x322694['includes'](_0x2efe15);});for(const [_0x2a50a7,_0x1a1ec6]of Object['entries'](_0x40d224)){const _0x1a73de=_0x3e5bb8[_0x2a50a7]||_0x2a50a7;let _0x48d8ec;if('string'!=typeof _0x1a1ec6)_0x48d8ec=_0x1a1ec6,_0x1a73de!==_0x2a50a7&&_0x20329f['setAttribute']('footnoteId',_0x1a73de,_0x48d8ec);else{_0x48d8ec=_0x20329f['createElement']('footnoteDefinition',{'footnoteId':_0x1a73de});const _0x3b6825=_0x3785a8['data']['htmlProcessor']['toView'](_0x1a1ec6);let _0x3d87ba;if(_0x211781)_0x3d87ba=_0x3785a8['data']['toModel'](_0x3b6825,_0x48d8ec);else{_0x3d87ba=_0x20329f['createElement']('footnoteInlineContent');const _0x337c11=_0x3785a8['data']['toModel'](_0x3b6825,_0x3d87ba);_0x20329f['insert'](_0x337c11,_0x3d87ba);}_0x20329f['append'](_0x3d87ba,_0x48d8ec);}_0x20329f['insert'](_0x48d8ec,_0x4169cd,'end');}_0x40d224=null;});});}}function Ep(_0x2886c9,_0x3c6f3b){for(const {item:_0x20d163}of _0x2886c9['createRangeIn'](_0x3c6f3b))if(_0x20d163['is']('element','footnotesDefinitions'))return _0x20d163;return null;}function Tp(_0x1cff25){const _0x5aad0d=new Set();for(const {item:_0x56be78}of _0x1cff25)_0x56be78['is']('element','footnoteRef')&&_0x5aad0d['add'](_0x56be78['getAttribute']('footnoteId'));return Array['from'](_0x5aad0d);}class FootnotesUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x38171c}=this,{componentFactory:_0x48865e}=_0x38171c['ui'];_0x48865e['add']('insertFootnote',Ap(_0x38171c,_0x1a631f)),_0x48865e['add']('menuBar:insertFootnote',Ap(_0x38171c,at)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7f55d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59116c;for(const _0x1a3b90 in _0x7f55d){const _0x5b5d2c=_0x1a3b90,_0x237d4c=_0x7f55d[_0x5b5d2c];if('footnotesLicenseKeyValid'==_0x237d4c||'footnotesLicenseKeyInvalid'==_0x237d4c||'footnotesLicenseKeyExpired'==_0x237d4c||'footnotesLicenseKeyDomainLimit'==_0x237d4c||'footnotesLicenseKeyNotAllowed'==_0x237d4c||'footnotesLicenseKeyEvaluationLimit'==_0x237d4c||'footnotesLicenseKeyUsageLimit'==_0x237d4c){delete _0x7f55d[_0x5b5d2c],_0x59116c=_0x237d4c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x59116c&&_0x7f55d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x59116c&&_0x7f55d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x59116c&&_0x7f55d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x59116c&&_0x7f55d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x59116c&&_0x7f55d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x59116c&&_0x7f55d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Ap(_0x9065a,_0x2a699e){const _0x398d41=_0x9065a['commands']['get']('insertFootnote');return _0x7975d5=>{const {t:t}=_0x7975d5,_0x3fe552=new _0x2a699e(_0x7975d5),_0x19aec6=_0x3fe552 instanceof at;return _0x3fe552['bind']('isEnabled')['to'](_0x398d41,'isEnabled'),_0x3fe552['set']({'label':t(_0x19aec6?'Footnote':'Insert\x20footnote'),'icon':_0x134512,'tooltip':!0x0}),_0x3fe552['on']('execute',()=>{_0x398d41['execute'](),_0x9065a['editing']['view']['focus']();}),_0x3fe552;};}class Footnotes extends _0x7cf71c{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Sp=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],Ip=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),Cp=[...Sp,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x4d9dc4{['refresh'](){const {editor:_0x2e2483}=this,_0x4cf290=_0x2e2483['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4cf290,this['value']=_0x4cf290?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4a93ed}){const {editor:_0xa31b3b}=this,_0x1e7b75=_0xa31b3b['plugins']['get'](FootnotesTracker),_0x13b47c=_0x1e7b75['getFootnotesDefinitionsObjectElement']();_0x13b47c&&Cp['includes'](_0x4a93ed)&&_0xa31b3b['model']['change'](_0x5d2664=>{_0x5d2664['setAttribute']('footnotesListStyle',_0x4a93ed,_0x13b47c),_0x1e7b75['_updateFootnotesCounters'](_0x5d2664);});}}class FootnotesStartCommand extends _0x4d9dc4{['refresh'](){const {editor:_0x878cbf}=this,_0x236c13=_0x878cbf['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x236c13,this['value']=_0x236c13?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4e0a2c}){const {editor:_0x25c9ec}=this,_0x1ae1a4=_0x25c9ec['plugins']['get'](FootnotesTracker),_0x18ef99=_0x1ae1a4['getFootnotesDefinitionsObjectElement']();_0x18ef99&&Number['isInteger'](_0x4e0a2c)&&_0x25c9ec['model']['change'](_0x2d39a8=>{_0x2d39a8['setAttribute']('footnotesListStart',_0x4e0a2c,_0x18ef99),_0x1ae1a4['_updateFootnotesCounters'](_0x2d39a8);});}}function kp(_0x112763,_0x421a07){let _0x34a3b4='',_0x28f57f=_0x112763;for(;_0x28f57f>0x0;){const _0x3a13d5=(_0x28f57f-0x1)%0x1a;_0x34a3b4=String['fromCharCode'](0x61+_0x3a13d5)+_0x34a3b4,_0x28f57f=Math['floor']((_0x28f57f-0x1)/0x1a);}return _0x421a07?_0x34a3b4['toUpperCase']():_0x34a3b4;}const xp=[{'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 Rp(_0x52ceb2,_0x3bfa72){let _0x1579b6='',_0x560d87=_0x52ceb2;for(const {value:_0x377af5,numeral:_0x428745}of xp)for(;_0x560d87>=_0x377af5;)_0x1579b6+=_0x428745,_0x560d87-=_0x377af5;return _0x3bfa72?_0x1579b6:_0x1579b6['toLowerCase']();}const Pp=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x7cf71c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x214fdd}=this;_0x214fdd['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x214fdd['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x214fdd['config']['define']('footnotes.footnotesProperties.listStyles',[...Sp]),_0x214fdd['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x214fdd)),_0x214fdd['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x214fdd)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x145ba2}=this,{schema:_0x53364d}=_0x145ba2['model'];_0x53364d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5c7e06}=this,{conversion:_0x22d226,model:_0x53cfbe}=_0x5c7e06,{schema:_0x38ef42}=_0x53cfbe;_0x22d226['for']('upcast')['add'](_0xaaf650=>{_0xaaf650['on']('element:ol',(_0x3eac3a,_0x526374,_0x53a934)=>{const _0x22ab87=_0x526374['viewItem'],_0x203cb5=_0x526374['modelCursor']?.['parent'];_0x22ab87['hasClass']('footnotes-list')&&_0x203cb5?.['is']('element','footnotesDefinitions')&&(function(_0x2248e0,_0x4c36f6,_0x3453f8,_0x41254a){if(!_0x41254a['checkAttribute'](_0x4c36f6,'footnotesListStart'))return;let _0x1e3a94=0x1;const _0x2de871=_0x3453f8['consumable']['consume'](_0x2248e0,{'attributes':'start'});if(_0x2de871){const _0x4b7be1=Number['parseInt'](_0x2248e0['getAttribute']('start'),0xa);Number['isNaN'](_0x4b7be1)||(_0x1e3a94=_0x4b7be1);}!_0x2de871&&_0x4c36f6['hasAttribute']('footnotesListStart')||_0x3453f8['writer']['setAttribute']('footnotesListStart',_0x1e3a94,_0x4c36f6);}(_0x22ab87,_0x203cb5,_0x53a934,_0x38ef42),function(_0xa66e5a,_0xba9e4d,_0x3bae00,_0x411cd7){if(!_0x411cd7['checkAttribute'](_0xba9e4d,'footnotesListStyle'))return;let _0x2fc955='decimal',_0x10b083=!0x1;if(_0x3bae00['consumable']['consume'](_0xa66e5a,{'attributes':'type'})){const _0x2b2a27={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0xa66e5a['getAttribute']('type')];_0x2b2a27&&(_0x2fc955=_0x2b2a27),_0x10b083=!0x0;}if(_0x3bae00['consumable']['consume'](_0xa66e5a,{'styles':'list-style-type'})){const _0x55ee7e=Mp(_0xa66e5a['getStyle']('list-style-type'));_0x55ee7e&&(_0x2fc955=_0x55ee7e),_0x10b083=!0x0;}!_0x10b083&&_0xba9e4d['hasAttribute']('footnotesListStyle')||_0x3bae00['writer']['setAttribute']('footnotesListStyle',_0x2fc955,_0xba9e4d);}(_0x22ab87,_0x203cb5,_0x53a934,_0x38ef42));});}),_0x22d226['for']('downcast')['add'](_0x337190=>{_0x337190['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x501622,_0x28a045,_0x473f10)=>{if(!_0x473f10['consumable']['consume'](_0x28a045['item'],_0x501622['name']))return;const _0x1133b5=Np(_0x28a045['item'],_0x473f10['mapper']),{attributeNewValue:_0x3cc6bb}=_0x28a045;null==_0x3cc6bb||0x1===_0x3cc6bb?_0x473f10['writer']['removeAttribute']('start',_0x1133b5):_0x473f10['writer']['setAttribute']('start',String(_0x3cc6bb),_0x1133b5);}),_0x337190['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1ff369,_0x5b6dad,_0x434427)=>{if(!_0x434427['consumable']['consume'](_0x5b6dad['item'],_0x1ff369['name']))return;const _0x32ceb5=Np(_0x5b6dad['item'],_0x434427['mapper']),{attributeNewValue:_0xa2c3c2}=_0x5b6dad;_0xa2c3c2&&'decimal'!==_0xa2c3c2?_0x434427['writer']['setStyle']('list-style-type',_0xa2c3c2,_0x32ceb5):_0x434427['writer']['removeStyle']('list-style-type',_0x32ceb5);});});}['_definePostfixer'](){const {editor:_0x4f5a93}=this,{model:_0x54d63f}=_0x4f5a93,_0x2bce12=_0x4f5a93['plugins']['get'](FootnotesTracker),_0x422261=this['_getDefaultListStyle'](),_0x3ad9e3=this['_getDefaultStartIndex']();_0x54d63f['document']['registerPostFixer'](_0x529307=>{const _0x3080c7=_0x54d63f['document']['differ']['getChanges']();let _0x254058=!0x1;for(const _0x237804 of _0x3080c7){if('insert'!==_0x237804['type']||'$text'===_0x237804['name'])continue;const _0x35ff2a=_0x54d63f['createRangeOn'](_0x237804['position']['nodeAfter']);for(const _0x505e60 of _0x35ff2a['getItems']())_0x505e60['is']('element','footnotesDefinitions')&&(!_0x505e60['hasAttribute']('footnotesListStart')&&_0x54d63f['schema']['checkAttribute'](_0x505e60,'footnotesListStart')&&(_0x529307['setAttribute']('footnotesListStart',_0x3ad9e3,_0x505e60),_0x254058=!0x0),!_0x505e60['hasAttribute']('footnotesListStyle')&&_0x54d63f['schema']['checkAttribute'](_0x505e60,'footnotesListStyle')&&(_0x529307['setAttribute']('footnotesListStyle',_0x422261,_0x505e60),_0x254058=!0x0));}return _0x254058&&_0x2bce12['_updateFootnotesCounters'](_0x529307),_0x254058;});}['_defineFormatter'](){const {editor:_0x5754ba}=this;_0x5754ba['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0xccd462=>this['_formatFootnoteListValue'](_0xccd462));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x156e6e,value:_0x448fbd,digits:_0x1ebf3f}){const _0x412aca=_0x156e6e['getAttribute']('footnotesListStyle'),_0x37746b=_0x156e6e['getAttribute']('footnotesListStart'),_0x32aa9a=Math['floor'](_0x448fbd)+(_0x37746b??0x1)-0x1;switch(_0x412aca){case'decimal-leading-zero':return function(_0x5f17b5,_0x4ca6fe){return String(_0x5f17b5)['padStart'](_0x4ca6fe,'0');}(_0x32aa9a,Math['max'](0x2,_0x1ebf3f));case'lower-alpha':case'lower-latin':return kp(_0x32aa9a,!0x1);case'upper-alpha':case'upper-latin':return kp(_0x32aa9a,!0x0);case'lower-roman':return Rp(_0x32aa9a,!0x1);case'upper-roman':return Rp(_0x32aa9a,!0x0);case'arabic-indic':return function(_0x1d58f8){return String(_0x1d58f8)['replace'](/\d/g,_0x596b66=>Pp[Number(_0x596b66)]);}(_0x32aa9a);default:return String(_0x32aa9a);}}}function Mp(_0xd3e418){if('string'==typeof _0xd3e418){const _0x1e5458=Ip[_0xd3e418];if(_0x1e5458)return _0x1e5458;if(Cp['includes'](_0xd3e418))return _0xd3e418;}return null;}function Np(_0x3bafde,_0x596374){const _0x4ea4be=_0x596374['toViewElement'](_0x3bafde);return Array['from'](_0x4ea4be['getChildren']())['find'](_0x58bb1d=>_0x58bb1d['is']('element','ol')&&_0x58bb1d['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x278baa{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2423e3();['keystrokes']=new _0x247474();['focusables']=new Et();['focusCycler'];constructor(_0x437468,{styleButtonViews:_0x489e87,styleGridAriaLabel:_0x5e9f52}){super(_0x437468),(this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x489e87,_0x5e9f52),[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 _0x375101 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x375101['element']);Vt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x37cedc['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 _0x53d757=_0xbe2292=>_0xbe2292['stopPropagation']();this['keystrokes']['set']('arrowright',_0x53d757),this['keystrokes']['set']('arrowleft',_0x53d757),this['keystrokes']['set']('arrowup',_0x53d757),this['keystrokes']['set']('arrowdown',_0x53d757);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xc4fe73,_0x50148c){const _0x17e795=new _0x278baa(this['locale']);return _0x17e795['children']=_0x17e795['createCollection'](),_0x17e795['children']['addMany'](_0xc4fe73),_0x17e795['setTemplate']({'tag':'div','attributes':{'aria-label':_0x50148c,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x17e795['children']}),_0x17e795['children']['delegate']('execute')['to'](this),_0x17e795['focus']=function(){for(const _0x2a96d7 of this['children'])if(_0x2a96d7 instanceof _0x1a631f&&_0x2a96d7['isOn'])return void _0x2a96d7['focus']();this['children']['first']['focus']();},_0x17e795['focusTracker']=new _0x2423e3(),_0x17e795['keystrokes']=new _0x247474(),_0x17e795['render'](),_0x17e795['keystrokes']['listenTo'](_0x17e795['element']),this['children']['add'](_0x17e795),_0x17e795;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5c7c90=this['_createStartIndexPropertyView'](),_0x4f7eb8=[_0x5c7c90],_0x40f204=new Ut(this['locale'],_0x4f7eb8);return _0x40f204['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x40f204['buttonView']['bind']('isEnabled')['toMany'](_0x4f7eb8,'isEnabled',(..._0x2c4acc)=>_0x2c4acc['some'](_0x415836=>_0x415836)),_0x40f204['buttonView']['on']('change:isEnabled',(_0x3df36e,_0x4a95f7,_0x127890)=>{_0x127890||(_0x40f204['isCollapsed']=!0x0);}),this['children']['add'](_0x40f204),[_0x5c7c90,_0x40f204];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x7349e=new bt(this['locale'],Bt);return _0x7349e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x7349e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x7349e['fieldView']['on']('input',()=>{const _0x32ee5c=_0x7349e['fieldView']['element'],_0x439a43=_0x32ee5c['valueAsNumber'];Number['isNaN'](_0x439a43)?_0x7349e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x32ee5c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x439a43}):_0x7349e['errorText']=t(_0x439a43<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x7349e;}}class FootnotesPropertiesUI extends _0x7cf71c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[Dt,_0x24cb0e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf91dcf}=this,{componentFactory:_0x369523}=_0xf91dcf['ui'];_0xf91dcf['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x369523['add']('footnotesStyle',function(_0x3e99a5){return _0x3c509f=>{const {t:t}=_0x3c509f,_0x240ec6=_0x3e99a5['commands']['get']('footnotesStyle'),_0x2c4d99=nt(_0x3c509f),{buttonView:_0x5aebae}=_0x2c4d99;return _0x2c4d99['class']='ck-footnotes-styles-dropdown',_0x2c4d99['bind']('isEnabled')['to'](_0x240ec6,'isEnabled'),_0x5aebae['set']({'label':t('Footnotes\x20style'),'icon':_0x134512,'tooltip':!0x0}),_0x2c4d99['once']('change:isOpen',()=>{const _0x15d4f1=function({editor:_0x236c6e,dropdownView:_0x2dfec2}){const {t:t}=_0x236c6e['locale'],_0x5280c1=t('Footnotes\x20definitions\x20styles'),_0x1e41e1=function(_0x590314){const {t:t}=_0x590314['locale'],_0x2342f7=_0x590314['config']['get']('footnotes.footnotesProperties.listStyles'),_0x5d787e=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x54a216},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x14a803},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x9200a3},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3a18a7},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x457eae},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0xb565da},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x19b2bd}];return _0x2342f7['map'](_0x37e38=>{const _0x306d94=Mp(_0x37e38),_0x50a566=_0x5d787e['find'](_0x428281=>_0x428281['style']===_0x306d94);return function(_0x4a6619,_0x31d28c){const {locale:_0x2baa67}=_0x4a6619,{label:_0x1ae71e,icon:_0x3e89aa,tooltip:_0x54f7e8,style:_0x5c9fed}=_0x31d28c,_0x334bb9=_0x4a6619['commands']['get']('footnotesStyle'),_0x34d618=new _0x1a631f(_0x2baa67);return _0x34d618['set']({'label':_0x1ae71e,'icon':_0x3e89aa,'tooltip':_0x54f7e8}),_0x34d618['bind']('isOn')['to'](_0x334bb9,'value',_0x37f107=>_0x37f107===_0x5c9fed),_0x34d618['bind']('isEnabled')['to'](_0x334bb9,'isEnabled'),_0x34d618['on']('execute',()=>{_0x4a6619['execute']('footnotesStyle',{'value':_0x5c9fed}),_0x4a6619['editing']['view']['focus']();}),_0x34d618;}(_0x590314,_0x50a566);});}(_0x236c6e),_0x2c72c8=new FootnotesDefinitionsPropertiesView(_0x236c6e['locale'],{'styleGridAriaLabel':_0x5280c1,'styleButtonViews':_0x1e41e1}),_0x27c7b2=_0x236c6e['commands']['get']('footnotesStart');return _0x2c72c8['startIndexFieldView']['bind']('isEnabled')['to'](_0x27c7b2),_0x2c72c8['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x27c7b2),_0x2c72c8['on']('footnotesListStart',(_0x1b2015,_0x1d1015)=>{_0x236c6e['execute']('footnotesStart',{'value':_0x1d1015['startIndex']});}),_0x2c72c8['delegate']('execute')['to'](_0x2dfec2),_0x2c72c8;}({'editor':_0x3e99a5,'dropdownView':_0x2c4d99});_0x2c4d99['panelView']['children']['add'](_0x15d4f1);}),_0x2c4d99;};}(_0xf91dcf));}['afterInit'](){const {editor:_0x170891}=this,{t:t}=_0x170891['locale'],_0x5a0e75=_0x170891['plugins']['get'](_0x24cb0e),{defaultPositions:_0x28eb8e}=mt;_0x5a0e75['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x170891['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x166bb5=>{let _0x2b3eb1=_0x166bb5['getFirstPosition']()?.['parent'];return _0x2b3eb1?.['is']('$text')&&(_0x2b3eb1=_0x2b3eb1['parent']),_0x2b3eb1?.['is']('element')?_0x2b3eb1['findAncestor'](bp):null;},'positions':[_0x28eb8e['southArrowNorth'],_0x28eb8e['southArrowNorthMiddleWest'],_0x28eb8e['southArrowNorthMiddleEast'],_0x28eb8e['southArrowNorthWest'],_0x28eb8e['southArrowNorthEast'],_0x28eb8e['northArrowSouth'],_0x28eb8e['northArrowSouthMiddleWest'],_0x28eb8e['northArrowSouthMiddleEast'],_0x28eb8e['northArrowSouthWest'],_0x28eb8e['northArrowSouthEast'],_0x28eb8e['viewportStickyNorth']]});}}class FootnotesProperties extends _0x7cf71c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Lp='copyFormat',$p='pasteFormat',Dp='ck-format-painter-active';class CopyFormatCommand extends _0x4d9dc4{constructor(_0x398c2f){super(_0x398c2f),this['value']=void 0x0,this['on']('change:isEnabled',(_0x4ec563,_0x144555,_0x4bcdb1)=>{_0x4bcdb1||this['reset']();}),this['on']('change:value',()=>_0x398c2f['commands']['get']($p)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x2ea2ec=this['editor']['model'],_0x132c9d=_0x2ea2ec['document']['selection'];return Object['fromEntries'](Array['from'](_0x132c9d['getAttributes']())['filter'](([_0x2e10f8])=>_0x2ea2ec['schema']['getAttributeProperties'](_0x2e10f8)['isFormatting']));}}class PasteFormatCommand extends _0x4d9dc4{constructor(_0xbbc0a4){super(_0xbbc0a4),this['_removeFormatCommand']=new _0x20f4aa(_0xbbc0a4);}['execute'](_0x3ae8f1={}){const _0x3e5630=this['editor']['model'],_0x31ed4d=_0x3e5630['document']['selection'],_0x50c7a9=Array['from'](_0x31ed4d['getRanges']()),_0x9acc07=_0x31ed4d['isCollapsed']?[this['_createRangeOnEntireWord'](_0x3e5630,_0x31ed4d)]:_0x50c7a9;_0x3e5630['change'](_0x556e07=>{_0x556e07['setSelection'](_0x9acc07),this['_removeFormatCommand']['execute']();for(const _0x518792 in _0x3ae8f1)for(const _0x252a3a of _0x3e5630['schema']['getValidRanges'](_0x9acc07,_0x518792))_0x556e07['setAttribute'](_0x518792,_0x3ae8f1[_0x518792],_0x252a3a);_0x556e07['setSelection'](_0x50c7a9);});}['_createRangeOnEntireWord'](_0x1e7323,_0x1a7e43){const _0x25ef14=_0x1e7323['createSelection'](_0x1a7e43);_0x1e7323['modifySelection'](_0x25ef14,{'unit':'word','direction':'backward'});const _0x3d2419=_0x25ef14['getFirstPosition']();_0x1e7323['modifySelection'](_0x25ef14,{'unit':'word','direction':'forward'});const _0x5d644c=_0x25ef14['getLastPosition']();return _0x1e7323['createRange'](_0x3d2419,_0x5d644c);}}class FormatPainterEditing extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d8083=this['editor'];_0x5d8083['commands']['add'](Lp,new CopyFormatCommand(_0x5d8083)),_0x5d8083['commands']['add']($p,new PasteFormatCommand(_0x5d8083)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x9b2b4e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52966d;for(const _0x5e90d0 in _0x9b2b4e){const _0x54e3d5=_0x5e90d0,_0x17feb1=_0x9b2b4e[_0x54e3d5];if('formatPainterLicenseKeyValid'==_0x17feb1||'formatPainterLicenseKeyInvalid'==_0x17feb1||'formatPainterLicenseKeyExpired'==_0x17feb1||'formatPainterLicenseKeyDomainLimit'==_0x17feb1||'formatPainterLicenseKeyNotAllowed'==_0x17feb1||'formatPainterLicenseKeyEvaluationLimit'==_0x17feb1||'formatPainterLicenseKeyUsageLimit'==_0x17feb1){delete _0x9b2b4e[_0x54e3d5],_0x52966d=_0x17feb1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x52966d&&_0x9b2b4e['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x52966d&&_0x9b2b4e['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x52966d&&_0x9b2b4e['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x52966d&&_0x9b2b4e['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x52966d&&_0x9b2b4e['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x52966d&&_0x9b2b4e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Qp(_0x5d7a73,_0x41925f){const t=_0x5d7a73['t'];switch(_0x41925f){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.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x41925f;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0x1b863a(_0x7cf71c){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x580423=this['editor'];_0x580423['editing']['view']['addObserver'](_0x4c9889),_0x580423['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Qp(_0x580423['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':Qp(_0x580423['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x580423['ui']['componentFactory']['add']('formatPainter',_0x4e0705=>{const _0x3d5cbb=nt(_0x4e0705,jt),_0x40cd1c=_0x580423['commands']['get'](Lp);_0x3d5cbb['buttonView']['set']({'label':Qp(_0x580423['locale'],'Paint\x20formatting'),'icon':_0x1a2241,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x3d5cbb['class']='ck-format-painter-dropdown',_0x40cd1c&&(_0x3d5cbb['bind']('isEnabled')['to'](_0x40cd1c,'isEnabled'),this['listenTo'](_0x40cd1c,'change:isEnabled',(_0x2371df,_0x5800b6,_0x34d2d7)=>{_0x34d2d7||this['_finishPainting']();}),_0x3d5cbb['buttonView']['bind']('isOn')['to'](_0x40cd1c,'value',_0x11a683=>!!_0x11a683),this['listenTo'](_0x580423,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x40cd1c,'change:value',(_0x3625c1,_0x528499,_0x32d47a)=>{this['_toggleSpecialCursor'](!!_0x32d47a);}));const _0x2f6d01=new Ot({'withText':!0x0,'label':Qp(_0x580423['locale'],'Continuous\x20painting'),'tooltip':Qp(_0x580423['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});pt(_0x3d5cbb,new _0x307d11([{'type':'switchbutton','model':_0x2f6d01}]),{'role':'menu'});const _0x1d5ce8=()=>{this['_copyFormatting'](),this['listenTo'](_0x37cedc['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2f6d01['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x3d5cbb,'execute',()=>{_0x2f6d01['isOn']=!_0x2f6d01['isOn'];}),this['listenTo'](_0x3d5cbb['buttonView'],'execute',()=>{_0x580423['editing']['view']['focus'](),_0x3d5cbb['buttonView']['isOn']?this['_finishPainting']():_0x1d5ce8();}),_0x580423['keystrokes']['set']('Ctrl+Alt+C',(_0x531179,_0x12730e)=>{_0x1d5ce8(),_0x2f6d01['isOn']=!0x0,_0x12730e();},{'priority':'high'}),_0x580423['keystrokes']['set']('Ctrl+Alt+V',(_0x39bae8,_0x599e62)=>{_0x3d5cbb['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2f6d01['isOn']||this['_finishPainting'](),_0x599e62());},{'priority':'high'}),_0x580423['keystrokes']['set']('Esc',(_0x5d2cee,_0x5ef107)=>{_0x3d5cbb['buttonView']['isOn']&&(_0x2f6d01['isOn']=!0x1,this['_finishPainting'](),_0x580423['ui']['ariaLiveAnnouncer']['announce'](Qp(_0x580423['locale'],'Painting\x20cancelled.')),_0x5ef107());}),_0x3d5cbb;});}['afterInit'](){!async function(_0x55fc05){const _0xa0f547=_0x3c8842([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]),_0x54c144=0x4597e011,_0x68369b=0x45906a79^_0x54c144,_0x4f4d4d=window[_0x3c8842([0x44,0x61,0x74,0x65])][_0x3c8842([0x6e,0x6f,0x77])](),_0x3b2c91=_0x55fc05[_0x3c8842([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x329dc8=new window[(_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5328cc=>{_0x3b2c91[_0x3c8842([0x6f,0x6e,0x63,0x65])](_0x3c8842([0x72,0x65,0x61,0x64,0x79]),_0x5328cc);}),_0x497fcf={[_0x3c8842([0x6b,0x74,0x79])]:_0x3c8842([0x45,0x43]),[_0x3c8842([0x75,0x73,0x65])]:_0x3c8842([0x73,0x69,0x67]),[_0x3c8842([0x63,0x72,0x76])]:_0x3c8842([0x50,0x2d,0x32,0x35,0x36]),[_0x3c8842([0x78])]:_0x3c8842([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]),[_0x3c8842([0x79])]:_0x3c8842([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]),[_0x3c8842([0x61,0x6c,0x67])]:_0x3c8842([0x45,0x53,0x32,0x35,0x36])},_0x11df9c=_0x3b2c91[_0x3c8842([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c8842([0x67,0x65,0x74])](_0x3c8842([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ab4b0(){let _0x65dfa6,_0x14afa1=null,_0x420485=null;try{if(_0x11df9c==_0x3c8842([0x47,0x50,0x4c]))return _0x3c8842([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x65dfa6=_0x55e6af(),!_0x65dfa6)return _0x3c8842([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x65dfa6[_0x3c8842([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x420485=_0x17253b(_0x65dfa6[_0x3c8842([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x65dfa6[_0x3c8842([0x6a,0x74,0x69])])),await _0x1ef5a9()?_0x55dee3()?_0xe64b1a()?_0x3c8842([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x80fd72()?(_0x65dfa6[_0x3c8842([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c8842([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14afa1=_0xf1ae3a(_0x3c8842([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x40fc56()):_0x3c8842([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c8842([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c8842([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c8842([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe64b1a(){const _0x482d78=[_0x3c8842([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c8842([0x74,0x72,0x69,0x61,0x6c])][_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65dfa6[_0x3c8842([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f4d4d/0x3e8:0xe10*_0x68369b;return _0x65dfa6[_0x3c8842([0x65,0x78,0x70])]<_0x482d78;}function _0x55dee3(){const _0xb942bf=_0x65dfa6[_0x3c8842([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb942bf&&(!!_0xb942bf[_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8842([0x2a]))||(!!_0xb942bf[_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8842([0x46,0x50]))||(!!_0xb942bf[_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8842([0x50,0x50]))||!(!_0xb942bf[_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8842([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x516ee5()))));}function _0x80fd72(){const _0x5da437=_0x65dfa6[_0x3c8842([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5da437||0x0==_0x5da437[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x369e26}=new URL(window[_0x3c8842([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5da437[_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369e26))return!0x0;const _0x32f32a=_0x369e26[_0x3c8842([0x73,0x70,0x6c,0x69,0x74])](_0x3c8842([0x2e]));return _0x5da437[_0x3c8842([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31ea9c=>_0x31ea9c[_0x3c8842([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8842([0x2a])))[_0x3c8842([0x6d,0x61,0x70])](_0x52a30e=>_0x52a30e[_0x3c8842([0x73,0x70,0x6c,0x69,0x74])](_0x3c8842([0x2e])))[_0x3c8842([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263d5d=>_0x263d5d[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32f32a[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c8842([0x6d,0x61,0x70])](_0x4df02d=>Array(_0x32f32a[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4df02d[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c8842([0x66,0x69,0x6c,0x6c])](_0x4df02d[0x0]===_0x3c8842([0x2a])?_0x3c8842([0x2a]):'')[_0x3c8842([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4df02d))[_0x3c8842([0x73,0x6f,0x6d,0x65])](_0x50d042=>_0x32f32a[_0x3c8842([0x65,0x76,0x65,0x72,0x79])]((_0x5bab8e,_0x4f98d6)=>_0x50d042[_0x4f98d6]===_0x5bab8e||_0x50d042[_0x4f98d6]===_0x3c8842([0x2a])));}function _0x40fc56(){return _0x14afa1&&_0x420485?new window[(_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa76164,_0x146893)=>{_0x14afa1[_0x3c8842([0x74,0x68,0x65,0x6e])](_0xa76164,_0x146893),_0x420485[_0x3c8842([0x74,0x68,0x65,0x6e])](_0x51ee07=>{_0x51ee07!=_0x3c8842([0x56,0x61,0x6c,0x69,0x64])&&_0xa76164(_0x51ee07);},_0x146893);}):_0x14afa1||_0x420485||_0x3c8842([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17253b(_0x41570d,_0x123614){return new window[(_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5be57a=>{if(_0x2cc3f3())return _0x5be57a(_0x3c8842([0x56,0x61,0x6c,0x69,0x64]));_0x4cef51(),_0x3b2c91[_0x3c8842([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c8842([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2015a9=!0x1;const _0x165d95=_0x462bc0();function _0x3101c1(_0x198ce5){return!!_0x198ce5&&(typeof _0x198ce5===_0x3c8842([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x198ce5===_0x3c8842([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x198ce5[_0x3c8842([0x74,0x68,0x65,0x6e])]===_0x3c8842([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x198ce5[_0x3c8842([0x63,0x61,0x74,0x63,0x68])]===_0x3c8842([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x60bc24(_0x4929d9){_0x4c1c0a(_0x4929d9)[_0x3c8842([0x74,0x68,0x65,0x6e])](_0x197227=>{if(!_0x197227||_0x197227[_0x3c8842([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c8842([0x6f,0x6b]))return _0x3c8842([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59bbba(_0x12491a(_0x165d95+_0x123614))!=_0x197227[_0x3c8842([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c8842([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c8842([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c8842([0x74,0x68,0x65,0x6e])](_0x6ba698=>(_0x14b682(),_0x6ba698),()=>{const _0x5b8a9b=_0x55ae75();return null==_0x5b8a9b?(_0x14b682(),_0x3c8842([0x56,0x61,0x6c,0x69,0x64])):_0x3c8842(_0x4f4d4d-_0x5b8a9b>(0x619b6411^_0x54c144)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c8842([0x74,0x68,0x65,0x6e])](_0x5be57a)[_0x3c8842([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5be57a(_0x3c8842([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dbd13=0x45a10e91^_0x54c144;function _0x14b682(){const _0xec18c0=_0x3c8842([0x6c,0x6c,0x63,0x74,0x2d])+_0x59bbba(_0x12491a(_0x41570d)),_0x418511=_0x5ace70(_0x59bbba(window[_0x3c8842([0x4d,0x61,0x74,0x68])][_0x3c8842([0x63,0x65,0x69,0x6c])](_0x4f4d4d/_0x5dbd13)));window[_0x3c8842([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c8842([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xec18c0,_0x418511);}function _0x55ae75(){const _0x4c0995=_0x3c8842([0x6c,0x6c,0x63,0x74,0x2d])+_0x59bbba(_0x12491a(_0x41570d)),_0x2ab96e=window[_0x3c8842([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c8842([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c0995);return _0x2ab96e?window[_0x3c8842([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ace70(_0x2ab96e),0x10)*_0x5dbd13:null;}function _0x4c1c0a(_0x370cf5){return new window[(_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a3f9a,_0x1998d2)=>{_0x370cf5[_0x3c8842([0x74,0x68,0x65,0x6e])](_0x5a3f9a,_0x1998d2),window[_0x3c8842([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1998d2,0x459634d1^_0x54c144);});}}_0x3b2c91[_0x3c8842([0x6f,0x6e])](_0x3c8842([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x590359,_0x59ba73)=>{if(_0x59ba73[0x0]!=_0x41570d)return _0x5be57a(_0x3c8842([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59ba73[0x1]={..._0x59ba73[0x1],[_0x3c8842([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x165d95};},{[_0x3c8842([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c8842([0x68,0x69,0x67,0x68])}),_0x3b2c91[_0x3c8842([0x6f,0x6e])](_0x3c8842([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x555ec2=>{_0x3101c1(_0x555ec2[_0x3c8842([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2015a9=!0x0,_0x60bc24(_0x555ec2[_0x3c8842([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c8842([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c8842([0x6c,0x6f,0x77])}),_0x329dc8[_0x3c8842([0x74,0x68,0x65,0x6e])](()=>{_0x2015a9||_0x5be57a(_0x3c8842([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cc3f3(){return _0x3b2c91[_0x3c8842([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c8842([0x76,0x69,0x65,0x77])][_0x3c8842([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c8842([0x61,0x75,0x74,0x6f]);}function _0x4cef51(){_0x3b2c91[_0x3c8842([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c8842([0x76,0x69,0x65,0x77])][_0x3c8842([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c8842([0x61,0x75,0x74,0x6f]);}}function _0xf1ae3a(_0x9272f8){const _0x4a3007=[new window[(_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32c99a=>setTimeout(_0x32c99a,0x459ededd^_0x54c144)),_0x329dc8[_0x3c8842([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x482a0f=>{let _0x1c78ce=0x0;_0x3b2c91[_0x3c8842([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c8842([0x6f,0x6e])](_0x3c8842([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x415eeb,_0x591937)=>{_0x591937[0x0][_0x3c8842([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c78ce++,_0x1c78ce==(0x4597e5f9^_0x54c144)&&(_0x482a0f(),_0x415eeb[_0x3c8842([0x6f,0x66,0x66])]());});}))];return window[_0x3c8842([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c8842([0x72,0x61,0x63,0x65])](_0x4a3007)[_0x3c8842([0x74,0x68,0x65,0x6e])](()=>_0x9272f8);}async function _0x4d7841(){await _0x329dc8,_0x3b2c91[_0x3c8842([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c8842([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f3b86,_0x3b2c91[_0x3c8842([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c8842([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f3b86,_0x3b2c91[_0x3c8842([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c8842([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x516ee5(){return window[_0x3c8842([0x67,0x6c,0x6f,0x62])]&&window[_0x3c8842([0x67,0x6c,0x6f,0x62])][_0x3c8842([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4309ce(_0x2994b9){const _0x263a40=_0x3b6a05();_0x3b2c91[_0x263a40]=_0x3c8842([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2994b9,_0x2994b9!=_0x3c8842([0x56,0x61,0x6c,0x69,0x64])&&_0x4d7841();}function _0x3b6a05(){const _0xa0dc58=window[_0x3c8842([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c8842([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c8842([0x6e,0x6f,0x77])]())[_0x3c8842([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c8842([0x2e]),'');let _0xb932a6=_0x3c8842([0x51]);for(let _0x112485=0x0;_0x112485<_0xa0dc58[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x112485+=0x2){let _0x4951d4=window[_0x3c8842([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa0dc58[_0x3c8842([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x112485,_0x112485+0x2));_0x4951d4>=_0xa0f547[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4951d4-=_0xa0f547[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb932a6+=_0xa0f547[_0x4951d4];}return _0xb932a6;}function _0x55e6af(){const _0x3f7654=_0x11df9c[_0x3c8842([0x73,0x70,0x6c,0x69,0x74])](_0x3c8842([0x2e]));if(0x3!=_0x3f7654[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2dafef(_0x3f7654[0x1]);function _0x2dafef(_0x2fe7fc){const _0x3ab394=_0x385bdf(_0x2fe7fc);return _0x3ab394&&_0x3d69cd()?_0x3ab394:null;function _0x3d69cd(){const _0x1cef27=_0x3ab394[_0x3c8842([0x6a,0x74,0x69])],_0x2ad9c5=window[_0x3c8842([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cef27[_0x3c8842([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cef27[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3da45a={..._0x3ab394,[_0x3c8842([0x6a,0x74,0x69])]:_0x1cef27[_0x3c8842([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cef27[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3da45a[_0x3c8842([0x76,0x63])],_0x12491a(_0x3da45a)==_0x2ad9c5;}}}async function _0x1ef5a9(){let _0x5b0ca4=!0x0;try{const _0x413d97=_0x11df9c[_0x3c8842([0x73,0x70,0x6c,0x69,0x74])](_0x3c8842([0x2e])),[_0x24acd9,_0x3c3104,_0x597e87]=_0x413d97;return _0x437282(_0x24acd9),await _0x36dda6(_0x24acd9,_0x3c3104,_0x597e87),_0x5b0ca4;}catch{return!0x1;}function _0x437282(_0x5e1d81){const _0x246718=_0x385bdf(_0x5e1d81);_0x246718&&_0x246718[_0x3c8842([0x61,0x6c,0x67])]==_0x3c8842([0x45,0x53,0x32,0x35,0x36])||(_0x5b0ca4=!0x1);}async function _0x36dda6(_0x414263,_0x1d9b4f,_0x56c5de){const _0x183334=window[_0x3c8842([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c8842([0x66,0x72,0x6f,0x6d])](_0x3649cd(_0x56c5de),_0x3eb059=>_0x3eb059[_0x3c8842([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3da620=new window[(_0x3c8842([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c8842([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x414263+_0x3c8842([0x2e])+_0x1d9b4f),_0x2cd70c=window[_0x3c8842([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c8842([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2cd70c)return;const _0x22de80=await _0x2cd70c[_0x3c8842([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c8842([0x6a,0x77,0x6b]),_0x497fcf,{[_0x3c8842([0x6e,0x61,0x6d,0x65])]:_0x3c8842([0x45,0x43,0x44,0x53,0x41]),[_0x3c8842([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c8842([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c8842([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2cd70c[_0x3c8842([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c8842([0x6e,0x61,0x6d,0x65])]:_0x3c8842([0x45,0x43,0x44,0x53,0x41]),[_0x3c8842([0x68,0x61,0x73,0x68])]:{[_0x3c8842([0x6e,0x61,0x6d,0x65])]:_0x3c8842([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22de80,_0x183334,_0x3da620)||(_0x5b0ca4=!0x1);}}function _0x385bdf(_0x39eb13){return _0x39eb13[_0x3c8842([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c8842([0x65,0x79]))?JSON[_0x3c8842([0x70,0x61,0x72,0x73,0x65])](_0x3649cd(_0x39eb13)):null;}function _0x3649cd(_0x10ef09){return window[_0x3c8842([0x61,0x74,0x6f,0x62])](_0x10ef09[_0x3c8842([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c8842([0x2b]))[_0x3c8842([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c8842([0x2f])));}function _0x12491a(_0x15469a){let _0x14bcb1=0x1505;function _0x556aa8(_0x39dc5a){for(let _0x17766b=0x0;_0x17766b<_0x39dc5a[_0x3c8842([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17766b++){const _0x439b47=_0x39dc5a[_0x3c8842([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17766b);_0x14bcb1=(_0x14bcb1<<0x5)+_0x14bcb1+_0x439b47,_0x14bcb1&=_0x14bcb1;}}function _0x343351(_0x1950e0){Array[_0x3c8842([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1950e0)?_0x1950e0[_0x3c8842([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x343351):_0x1950e0&&typeof _0x1950e0==_0x3c8842([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c8842([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1950e0)[_0x3c8842([0x73,0x6f,0x72,0x74])]()[_0x3c8842([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26c0e4,_0x117804])=>{_0x556aa8(_0x26c0e4),_0x343351(_0x117804);}):_0x556aa8(window[_0x3c8842([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1950e0));}return _0x343351(_0x15469a),_0x14bcb1>>>0x0;}function _0x59bbba(_0x5ea726){return _0x5ea726[_0x3c8842([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c8842([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c8842([0x30]));}function _0x5ace70(_0x5e245e){return _0x5e245e[_0x3c8842([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c8842([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c8842([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f3b86(){}function _0x3c8842(_0x5abdff){return _0x5abdff['map'](_0x1f562a=>String['fromCharCode'](_0x1f562a))['join']('');}_0x4309ce(await _0x4ab4b0());}(this);}['_toggleSpecialCursor'](_0x971e07){this['editor']['editing']['view']['change'](_0x27b934=>{for(const _0x1c14bd of this['editor']['editing']['view']['document']['roots'])_0x971e07?_0x27b934['addClass'](Dp,_0x1c14bd):_0x27b934['removeClass'](Dp,_0x1c14bd);});}['_copyFormatting'](){const {editor:_0xef2516}=this;_0xef2516['execute'](Lp),_0xef2516['ui']['ariaLiveAnnouncer']['announce'](Qp(_0xef2516['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x4aa8ba}=this,_0x473550=_0x4aa8ba['commands']['get'](Lp)['value'];_0x4aa8ba['execute']($p,_0x473550),_0x4aa8ba['ui']['ariaLiveAnnouncer']['announce'](Qp(_0x4aa8ba['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](Lp)['reset'](),this['stopListening'](_0x37cedc['window']['document'],'mouseup');}}class FormatPainter extends _0x7cf71c{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Vp(_0x552142,_0x5522c1){const t=_0x552142['t'];switch(_0x5522c1){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 _0x5522c1;}}class ImportWordUI extends _0x7cf71c{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2c12e5=this['editor'];_0x2c12e5['ui']['componentFactory']['add']('importWord',()=>{const _0x43582d=this['_createButton'](Tt),_0x2713de=_0x2c12e5['commands']['get']('importWord');return _0x43582d['bind']('isOn')['to'](_0x2713de,'isBusy'),_0x43582d['tooltip']=!0x0,_0x43582d;}),_0x2c12e5['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](Ft));}['_createButton'](_0x2a9cbc){const _0x31c7c0=this['editor'],_0x16c114=_0x31c7c0['commands']['get']('importWord'),_0x3bf514=new _0x2a9cbc(_0x31c7c0['locale']),_0x161085=new _0x5a3bb9();return _0x3bf514['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x3bf514['set']({'icon':_0x3436ff}),_0x3bf514['bind']('isEnabled')['to'](_0x16c114),_0x3bf514['bind']('label')['to'](_0x16c114,'isBusy',_0x52203e=>Vp(_0x31c7c0['locale'],_0x52203e?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x161085['bind']('isVisible')['to'](_0x16c114,'isBusy'),_0x3bf514['iconView']['bind']('isVisible')['to'](_0x16c114,'isBusy',_0x26d212=>!_0x26d212),_0x3bf514['children']['add'](_0x161085),_0x3bf514['on']('done',(_0x409481,_0xa1833c)=>{_0x31c7c0['execute']('importWord',_0xa1833c[0x0],{}),_0x31c7c0['editing']['view']['focus']();}),_0x3bf514;}}class ImportWordCommand extends _0x4d9dc4{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x5a5229){super(_0x5a5229),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x388bbb,_0x14eeae)=>{const _0x2d5ae3=new DataTransfer();_0x2d5ae3['setData']('text/html',_0x14eeae['html']);const _0x531d89=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4a4df6=>{this['_importMarker']['stopListening'](),_0x4a4df6['setSelection'](_0x531d89),_0x5a5229['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2d5ae3});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4329a5,_0x14f2d0={}){if(this['isBusy'])return Promise['resolve']();const _0x5d2100=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0xb6380e,suffix:_0x5ae749}=this['editor']['config']['get']('mergeFields');_0x14f2d0['merge_fields']={'prefix':_0xb6380e,'suffix':_0x5ae749};}const _0x4ef629={'url':_0x5d2100['converterUrl'],'file':_0x4329a5,'serviceConfig':{..._0x14f2d0,'formatting':_0x5d2100['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4ef629)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5befc5=this['editor']['model'],_0x16a610=_0x5befc5['schema'],_0x5bd608=_0x5befc5['document']['selection'],_0x417709=_0x506e56(_0x5bd608['getSelectedBlocks']());return!!_0x417709&&_0x16a610['checkChild'](_0x417709['parent'],'paragraph');}['_prepareForImport'](){const _0x2fe9b4=this['editor'],_0x1c4b46=_0x2fe9b4['model'],_0x2f5ff2=_0x1c4b46['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2fe9b4['model']['createBatch']({'isUndoable':!0x0}),_0x1c4b46['enqueueChange'](this['_undoStepBatch'],_0x19cf84=>{_0x2f5ff2['isCollapsed']||_0x1c4b46['deleteContent'](_0x2f5ff2,{'leaveUnmerged':!0x0});const _0x1fa177=_0x2f5ff2['getFirstPosition'](),_0x1aef96=_0x506e56(_0x2f5ff2['getSelectedBlocks']());let _0x35a1b4;_0x35a1b4=_0x1aef96['is']('element','paragraph')&&_0x1aef96['isEmpty']?_0x1fa177:_0x1fa177['isAtStart']?_0x1c4b46['createPositionBefore'](_0x1aef96):_0x1fa177['isAtEnd']?_0x1c4b46['createPositionAfter'](_0x1aef96):_0x19cf84['split'](_0x1fa177)['position'],this['_importMarker']=_0x19cf84['addMarker']('importWord:'+_0x462bc0(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x23c7fa(_0x35a1b4)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x37b88c=this['editor']['model'];_0x37b88c['markers']['has'](this['_importMarker'])&&_0x37b88c['enqueueChange'](this['_undoStepBatch'],_0x310e6e=>{_0x310e6e['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x217ebc,file:_0x464441,serviceConfig:_0x159c4f}){const _0x5ebe33=this['editor'],_0x308690=await _0x5ebe33['plugins']['get']('ImportWordEditing')['getToken'](),_0x1dc221=new FormData();_0x1dc221['set']('config',JSON['stringify'](_0x159c4f)),_0x1dc221['set']('file',_0x464441);const _0x1445e9={'method':'POST','headers':{},'body':_0x1dc221,'signal':this['_abortController']['signal']};return _0x308690&&(_0x1445e9['headers']['Authorization']=_0x308690['value']),fetch(_0x217ebc,_0x1445e9);}['_handleImportResponse'](_0x24873b){return _0x24873b['ok']?_0x24873b['json']()['then'](_0x21b1ba=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x21b1ba,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5eb6e4('import-word-plugin-import-cancelled');const _0x170416=this['editor'],_0x3adfc7=Vp(_0x170416['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x170416['plugins']['get']('Notification')['showWarning'](_0x3adfc7),_0x39bd32('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x7cf71c{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Qt,_0xfaf27a,_0x337566];}['init'](){const _0x290088=this['editor'],_0x489c2e=_0x290088['plugins']['get'](_0x337566);_0x290088['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x290088['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x290088['commands']['add']('importWord',new ImportWordCommand(_0x290088));const {tokenUrl:_0x2e7296}=_0x290088['config']['get']('importWord');if(_0x2e7296){const {tokenUrl:_0x2d2ac0}=_0x290088['config']['get']('cloudServices')||{};this['_token']=_0x2e7296===_0x2d2ac0?Promise['resolve'](_0x489c2e['token']):_0x489c2e['registerTokenUrl'](_0x2e7296);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}}class ImportWord extends _0x7cf71c{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends _0x4d9dc4{['refresh'](){const _0x383612=this['editor']['model']['document'],_0x38eff1=_0x506e56(_0x383612['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x38eff1)&&this['_canHaveLineHeight'](_0x38eff1),this['value']=this['isEnabled']&&_0x38eff1['getAttribute']('lineHeight');}['execute'](_0x55e15a={}){const _0x5e7fd7=this['editor']['model'],_0x239dc3=_0x5e7fd7['document']['selection'],_0x4a8cb6=_0x55e15a['value'];_0x5e7fd7['change'](_0x1f84d1=>{const _0x124250=Array['from'](_0x239dc3['getSelectedBlocks']())['filter'](_0x5bddaa=>this['_canHaveLineHeight'](_0x5bddaa));for(const _0x385485 of _0x124250)_0x4a8cb6?_0x1f84d1['setAttribute']('lineHeight',_0x4a8cb6,_0x385485):_0x1f84d1['removeAttribute']('lineHeight',_0x385485);});}['_canHaveLineHeight'](_0x23c78a){return this['editor']['model']['schema']['checkAttribute'](_0x23c78a,'lineHeight');}}const Up={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 Bp(_0x33280c){return'string'==typeof _0x33280c&&'default'===_0x33280c['toLowerCase']();}function jp(_0x37d22e){return _0x37d22e['options']['map'](_0xdccefb=>{return Bp(_0xdccefb)?{'title':String(_0x37d22e['defaultValue']),'model':'default'}:('number'==typeof _0xdccefb&&(_0xdccefb=String(_0xdccefb)),'string'!=typeof _0xdccefb?_0xdccefb:parseFloat(_0xdccefb)?{'title':_0xdccefb,'model':_0xdccefb,'view':{'name':'span','styles':{'line-height':_0xdccefb}}}:'string'==typeof(_0x139d35=_0xdccefb)?Up[_0x139d35]:Up[_0x139d35['model']]);var _0x139d35;})['filter'](_0x198607=>void 0x0!==_0x198607);}class LineHeightTodoListIntegration extends _0x7cf71c{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5dfbf9,conversion:_0x5e3cad}=this['editor'];if(!_0x5dfbf9['has']('ListEditing')||!_0x5dfbf9['has']('TodoListEditing'))return;_0x5dfbf9['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x391256,_0x517686,_0x319c56,_0xe31094,_0xe96c0f){'todo'==_0xe96c0f['getAttribute']('listType')&&_0x517686&&(_0x391256['addClass']('ck-list-marker-line-height',_0x319c56),_0x391256['setStyle']('--ck-content-list-marker-line-height',_0x517686,_0x319c56));}}),_0x5e3cad['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5e3cad['for']('upcast')['add'](_0xac4a49=>{_0xac4a49['on']('element:li',function(_0x2d7eb5){const _0xa5e0fa=new _0x35f644(_0x2d7eb5);return(_0x49aa37,_0x200970,_0x114713)=>{const _0x58196f=_0xa5e0fa['match'](_0x200970['viewItem']);if(!_0x58196f)return;const _0x2567e5=_0x58196f['match'];_0x2567e5['name']=!0x1,_0x114713['consumable']['consume'](_0x200970['viewItem'],_0x2567e5);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x7cf71c{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5df3d0){super(_0x5df3d0),_0x5df3d0['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x50ee80=this['editor'];this['_validateConfig'](),_0x50ee80['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x50ee80['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x50ee80['commands']['add']('lineHeight',new LineHeightCommand(_0x50ee80)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2ec19a){const _0x32246a=_0x5d0a2b([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]),_0x2fa978=0x45ddd215,_0x7bac5a=0x45da587d^_0x2fa978,_0x1bbf8e=window[_0x5d0a2b([0x44,0x61,0x74,0x65])][_0x5d0a2b([0x6e,0x6f,0x77])](),_0x90769a=_0x2ec19a[_0x5d0a2b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e9a4a=new window[(_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216f06=>{_0x90769a[_0x5d0a2b([0x6f,0x6e,0x63,0x65])](_0x5d0a2b([0x72,0x65,0x61,0x64,0x79]),_0x216f06);}),_0x4f9638={[_0x5d0a2b([0x6b,0x74,0x79])]:_0x5d0a2b([0x45,0x43]),[_0x5d0a2b([0x75,0x73,0x65])]:_0x5d0a2b([0x73,0x69,0x67]),[_0x5d0a2b([0x63,0x72,0x76])]:_0x5d0a2b([0x50,0x2d,0x32,0x35,0x36]),[_0x5d0a2b([0x78])]:_0x5d0a2b([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]),[_0x5d0a2b([0x79])]:_0x5d0a2b([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]),[_0x5d0a2b([0x61,0x6c,0x67])]:_0x5d0a2b([0x45,0x53,0x32,0x35,0x36])},_0x91b0a6=_0x90769a[_0x5d0a2b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d0a2b([0x67,0x65,0x74])](_0x5d0a2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa022b0(){let _0x21f715,_0x8909a4=null,_0x2289f2=null;try{if(_0x91b0a6==_0x5d0a2b([0x47,0x50,0x4c]))return _0x5d0a2b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21f715=_0x5be125(),!_0x21f715)return _0x5d0a2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21f715[_0x5d0a2b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2289f2=_0x1498e6(_0x21f715[_0x5d0a2b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21f715[_0x5d0a2b([0x6a,0x74,0x69])])),await _0x134067()?_0xf5136()?_0x5c213c()?_0x5d0a2b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2df61e()?(_0x21f715[_0x5d0a2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d0a2b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8909a4=_0x2f5fdf(_0x5d0a2b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3552c8()):_0x5d0a2b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d0a2b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d0a2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d0a2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c213c(){const _0x3f7bb2=[_0x5d0a2b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d0a2b([0x74,0x72,0x69,0x61,0x6c])][_0x5d0a2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f715[_0x5d0a2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bbf8e/0x3e8:0xe10*_0x7bac5a;return _0x21f715[_0x5d0a2b([0x65,0x78,0x70])]<_0x3f7bb2;}function _0xf5136(){const _0x13d3e8=_0x21f715[_0x5d0a2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13d3e8&&(!!_0x13d3e8[_0x5d0a2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0a2b([0x2a]))||!!_0x13d3e8[_0x5d0a2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0a2b([0x4c,0x48])));}function _0x2df61e(){const _0x276238=_0x21f715[_0x5d0a2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x276238||0x0==_0x276238[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cafe0}=new URL(window[_0x5d0a2b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x276238[_0x5d0a2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cafe0))return!0x0;const _0xe652f5=_0x4cafe0[_0x5d0a2b([0x73,0x70,0x6c,0x69,0x74])](_0x5d0a2b([0x2e]));return _0x276238[_0x5d0a2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d0254=>_0x4d0254[_0x5d0a2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0a2b([0x2a])))[_0x5d0a2b([0x6d,0x61,0x70])](_0x4597e9=>_0x4597e9[_0x5d0a2b([0x73,0x70,0x6c,0x69,0x74])](_0x5d0a2b([0x2e])))[_0x5d0a2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5190ee=>_0x5190ee[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe652f5[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d0a2b([0x6d,0x61,0x70])](_0x5a66b2=>Array(_0xe652f5[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a66b2[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d0a2b([0x66,0x69,0x6c,0x6c])](_0x5a66b2[0x0]===_0x5d0a2b([0x2a])?_0x5d0a2b([0x2a]):'')[_0x5d0a2b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a66b2))[_0x5d0a2b([0x73,0x6f,0x6d,0x65])](_0x282d18=>_0xe652f5[_0x5d0a2b([0x65,0x76,0x65,0x72,0x79])]((_0x183a77,_0x2dd970)=>_0x282d18[_0x2dd970]===_0x183a77||_0x282d18[_0x2dd970]===_0x5d0a2b([0x2a])));}function _0x3552c8(){return _0x8909a4&&_0x2289f2?new window[(_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x476578,_0x12aa19)=>{_0x8909a4[_0x5d0a2b([0x74,0x68,0x65,0x6e])](_0x476578,_0x12aa19),_0x2289f2[_0x5d0a2b([0x74,0x68,0x65,0x6e])](_0x11a506=>{_0x11a506!=_0x5d0a2b([0x56,0x61,0x6c,0x69,0x64])&&_0x476578(_0x11a506);},_0x12aa19);}):_0x8909a4||_0x2289f2||_0x5d0a2b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1498e6(_0x1b0710,_0x479849){return new window[(_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54099d=>{if(_0x3e09c3())return _0x54099d(_0x5d0a2b([0x56,0x61,0x6c,0x69,0x64]));_0x1320fd(),_0x90769a[_0x5d0a2b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d0a2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x187ce5=!0x1;const _0x53b69b=_0x462bc0();function _0x2b864c(_0x2a3849){return!!_0x2a3849&&(typeof _0x2a3849===_0x5d0a2b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a3849===_0x5d0a2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a3849[_0x5d0a2b([0x74,0x68,0x65,0x6e])]===_0x5d0a2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a3849[_0x5d0a2b([0x63,0x61,0x74,0x63,0x68])]===_0x5d0a2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2dd8df(_0xb92c71){_0x27876e(_0xb92c71)[_0x5d0a2b([0x74,0x68,0x65,0x6e])](_0x10243f=>{if(!_0x10243f||_0x10243f[_0x5d0a2b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d0a2b([0x6f,0x6b]))return _0x5d0a2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57910c(_0x49e501(_0x53b69b+_0x479849))!=_0x10243f[_0x5d0a2b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d0a2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d0a2b([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d0a2b([0x74,0x68,0x65,0x6e])](_0x20cd09=>(_0x272a6f(),_0x20cd09),()=>{const _0x554a60=_0x34f904();return null==_0x554a60?(_0x272a6f(),_0x5d0a2b([0x56,0x61,0x6c,0x69,0x64])):_0x5d0a2b(_0x1bbf8e-_0x554a60>(0x61d15615^_0x2fa978)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d0a2b([0x74,0x68,0x65,0x6e])](_0x54099d)[_0x5d0a2b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54099d(_0x5d0a2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58dc09=0x45eb3c95^_0x2fa978;function _0x272a6f(){const _0x39f6bd=_0x5d0a2b([0x6c,0x6c,0x63,0x74,0x2d])+_0x57910c(_0x49e501(_0x1b0710)),_0x394184=_0x3f395b(_0x57910c(window[_0x5d0a2b([0x4d,0x61,0x74,0x68])][_0x5d0a2b([0x63,0x65,0x69,0x6c])](_0x1bbf8e/_0x58dc09)));window[_0x5d0a2b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d0a2b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39f6bd,_0x394184);}function _0x34f904(){const _0x1eb2f5=_0x5d0a2b([0x6c,0x6c,0x63,0x74,0x2d])+_0x57910c(_0x49e501(_0x1b0710)),_0x36f48f=window[_0x5d0a2b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d0a2b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1eb2f5);return _0x36f48f?window[_0x5d0a2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f395b(_0x36f48f),0x10)*_0x58dc09:null;}function _0x27876e(_0x38a329){return new window[(_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e7b49,_0x4829fb)=>{_0x38a329[_0x5d0a2b([0x74,0x68,0x65,0x6e])](_0x4e7b49,_0x4829fb),window[_0x5d0a2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4829fb,0x45dc06d5^_0x2fa978);});}}_0x90769a[_0x5d0a2b([0x6f,0x6e])](_0x5d0a2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4488ab,_0x460791)=>{if(_0x460791[0x0]!=_0x1b0710)return _0x54099d(_0x5d0a2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x460791[0x1]={..._0x460791[0x1],[_0x5d0a2b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53b69b};},{[_0x5d0a2b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d0a2b([0x68,0x69,0x67,0x68])}),_0x90769a[_0x5d0a2b([0x6f,0x6e])](_0x5d0a2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b20db=>{_0x2b864c(_0x5b20db[_0x5d0a2b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x187ce5=!0x0,_0x2dd8df(_0x5b20db[_0x5d0a2b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d0a2b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d0a2b([0x6c,0x6f,0x77])}),_0x1e9a4a[_0x5d0a2b([0x74,0x68,0x65,0x6e])](()=>{_0x187ce5||_0x54099d(_0x5d0a2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e09c3(){return _0x90769a[_0x5d0a2b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d0a2b([0x76,0x69,0x65,0x77])][_0x5d0a2b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d0a2b([0x61,0x75,0x74,0x6f]);}function _0x1320fd(){_0x90769a[_0x5d0a2b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d0a2b([0x76,0x69,0x65,0x77])][_0x5d0a2b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d0a2b([0x61,0x75,0x74,0x6f]);}}function _0x2f5fdf(_0x308e21){const _0x1a3594=[new window[(_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x472b02=>setTimeout(_0x472b02,0x45d4ecd9^_0x2fa978)),_0x1e9a4a[_0x5d0a2b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f1ce9=>{let _0x4d6666=0x0;_0x90769a[_0x5d0a2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d0a2b([0x6f,0x6e])](_0x5d0a2b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4784e5,_0x2898e3)=>{_0x2898e3[0x0][_0x5d0a2b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d6666++,_0x4d6666==(0x45ddd7fd^_0x2fa978)&&(_0x3f1ce9(),_0x4784e5[_0x5d0a2b([0x6f,0x66,0x66])]());});}))];return window[_0x5d0a2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d0a2b([0x72,0x61,0x63,0x65])](_0x1a3594)[_0x5d0a2b([0x74,0x68,0x65,0x6e])](()=>_0x308e21);}async function _0x4a98fa(){await _0x1e9a4a,_0x90769a[_0x5d0a2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d0a2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d816,_0x90769a[_0x5d0a2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d0a2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d816,_0x90769a[_0x5d0a2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d0a2b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x415ee7(_0x146bc4){const _0x3333f9=_0x55852e();_0x90769a[_0x3333f9]=_0x5d0a2b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x146bc4,_0x146bc4!=_0x5d0a2b([0x56,0x61,0x6c,0x69,0x64])&&_0x4a98fa();}function _0x55852e(){const _0x57a5f3=window[_0x5d0a2b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d0a2b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d0a2b([0x6e,0x6f,0x77])]())[_0x5d0a2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d0a2b([0x2e]),'');let _0x264bca=_0x5d0a2b([0x50]);for(let _0x12b994=0x0;_0x12b994<_0x57a5f3[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12b994+=0x2){let _0x502032=window[_0x5d0a2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57a5f3[_0x5d0a2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12b994,_0x12b994+0x2));_0x502032>=_0x32246a[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x502032-=_0x32246a[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x264bca+=_0x32246a[_0x502032];}return _0x264bca;}function _0x5be125(){const _0x598180=_0x91b0a6[_0x5d0a2b([0x73,0x70,0x6c,0x69,0x74])](_0x5d0a2b([0x2e]));if(0x3!=_0x598180[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37cf80(_0x598180[0x1]);function _0x37cf80(_0x30ad88){const _0x211229=_0x47827a(_0x30ad88);return _0x211229&&_0x34a3bd()?_0x211229:null;function _0x34a3bd(){const _0x586f54=_0x211229[_0x5d0a2b([0x6a,0x74,0x69])],_0x37850f=window[_0x5d0a2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x586f54[_0x5d0a2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x586f54[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c3392={..._0x211229,[_0x5d0a2b([0x6a,0x74,0x69])]:_0x586f54[_0x5d0a2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x586f54[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c3392[_0x5d0a2b([0x76,0x63])],_0x49e501(_0x1c3392)==_0x37850f;}}}async function _0x134067(){let _0x190d57=!0x0;try{const _0x37b6d2=_0x91b0a6[_0x5d0a2b([0x73,0x70,0x6c,0x69,0x74])](_0x5d0a2b([0x2e])),[_0x228426,_0x1ea95b,_0x2b7c9c]=_0x37b6d2;return _0x2f2e2d(_0x228426),await _0x3e3670(_0x228426,_0x1ea95b,_0x2b7c9c),_0x190d57;}catch{return!0x1;}function _0x2f2e2d(_0x1db6cd){const _0x3d4652=_0x47827a(_0x1db6cd);_0x3d4652&&_0x3d4652[_0x5d0a2b([0x61,0x6c,0x67])]==_0x5d0a2b([0x45,0x53,0x32,0x35,0x36])||(_0x190d57=!0x1);}async function _0x3e3670(_0x1aa123,_0x4c8ee0,_0x4aec3c){const _0x21f637=window[_0x5d0a2b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d0a2b([0x66,0x72,0x6f,0x6d])](_0x5bfde0(_0x4aec3c),_0x37c1fb=>_0x37c1fb[_0x5d0a2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2350ac=new window[(_0x5d0a2b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d0a2b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1aa123+_0x5d0a2b([0x2e])+_0x4c8ee0),_0xcfbd09=window[_0x5d0a2b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d0a2b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xcfbd09)return;const _0x5adf03=await _0xcfbd09[_0x5d0a2b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d0a2b([0x6a,0x77,0x6b]),_0x4f9638,{[_0x5d0a2b([0x6e,0x61,0x6d,0x65])]:_0x5d0a2b([0x45,0x43,0x44,0x53,0x41]),[_0x5d0a2b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d0a2b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d0a2b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xcfbd09[_0x5d0a2b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d0a2b([0x6e,0x61,0x6d,0x65])]:_0x5d0a2b([0x45,0x43,0x44,0x53,0x41]),[_0x5d0a2b([0x68,0x61,0x73,0x68])]:{[_0x5d0a2b([0x6e,0x61,0x6d,0x65])]:_0x5d0a2b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5adf03,_0x21f637,_0x2350ac)||(_0x190d57=!0x1);}}function _0x47827a(_0x3763e3){return _0x3763e3[_0x5d0a2b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d0a2b([0x65,0x79]))?JSON[_0x5d0a2b([0x70,0x61,0x72,0x73,0x65])](_0x5bfde0(_0x3763e3)):null;}function _0x5bfde0(_0x4ab492){return window[_0x5d0a2b([0x61,0x74,0x6f,0x62])](_0x4ab492[_0x5d0a2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d0a2b([0x2b]))[_0x5d0a2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d0a2b([0x2f])));}function _0x49e501(_0x4f0eb7){let _0x3b4352=0x1505;function _0x375cac(_0x13a1ec){for(let _0x1b5089=0x0;_0x1b5089<_0x13a1ec[_0x5d0a2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b5089++){const _0x186382=_0x13a1ec[_0x5d0a2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b5089);_0x3b4352=(_0x3b4352<<0x5)+_0x3b4352+_0x186382,_0x3b4352&=_0x3b4352;}}function _0x13a27b(_0x57931f){Array[_0x5d0a2b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57931f)?_0x57931f[_0x5d0a2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13a27b):_0x57931f&&typeof _0x57931f==_0x5d0a2b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d0a2b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57931f)[_0x5d0a2b([0x73,0x6f,0x72,0x74])]()[_0x5d0a2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x576998,_0xe46bf3])=>{_0x375cac(_0x576998),_0x13a27b(_0xe46bf3);}):_0x375cac(window[_0x5d0a2b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57931f));}return _0x13a27b(_0x4f0eb7),_0x3b4352>>>0x0;}function _0x57910c(_0x3ea557){return _0x3ea557[_0x5d0a2b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d0a2b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d0a2b([0x30]));}function _0x3f395b(_0x4ae96b){return _0x4ae96b[_0x5d0a2b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d0a2b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d0a2b([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d816(){}function _0x5d0a2b(_0x54e0eb){return _0x54e0eb['map'](_0x352fbe=>String['fromCharCode'](_0x352fbe))['join']('');}_0x415ee7(await _0xa022b0());}(this);}['_validateConfig'](){const _0x1794e9=this['editor'];if(!_0x1794e9['config']['get']('lineHeight.supportAllValues'))return;const _0x13d831=_0x1794e9['config']['get']('lineHeight.options')['filter'](_0x3dee2d=>'string'==typeof _0x3dee2d&&(!Bp(_0x3dee2d)&&isNaN(Number(_0x3dee2d))));if(_0x13d831['length'])throw new _0x3ae0e8('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x13d831});}['_prepareAnyValueConverters'](){const _0x4409ee=this['editor'],_0x4c5ecb=this['editor']['config']['get']('lineHeight.defaultValue');_0x4409ee['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x303ef2=>String(_0x303ef2)===String(_0x4c5ecb)?null:{'key':'style','value':{'line-height':_0x303ef2}}}),_0x4409ee['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x31d73d=>{let _0x4b1a2d=_0x31d73d['getStyle']('line-height');return _0x5cafdf(_0x4b1a2d)&&(_0x4b1a2d=String(Number(_0x4b1a2d['slice'](0x0,-0x1))/0x64)),String(_0x4b1a2d)===String(_0x4c5ecb)?null:_0x4b1a2d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x262018=this['editor'],_0x5aee7b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x59a656=function(_0x35aa6c,_0x50ac46){const _0xedb01f={'model':{'key':_0x35aa6c,'values':[]},'view':{}};for(const _0x175420 of _0x50ac46)'class'===_0x175420['view']?.['key']?(_0xedb01f['model']['values']['push'](_0x175420['model']),_0xedb01f['view'][_0x175420['model']]={'key':'class','value':_0x175420['view']['value']}):(_0xedb01f['model']['values']['push'](_0x175420['model']),_0xedb01f['view'][_0x175420['model']]={'key':'style','value':'line-height:'+_0x175420['model']+';'});return _0xedb01f;}('lineHeight',jp(this['editor']['config']['get']('lineHeight'))['filter'](_0x424576=>_0x424576['model']));_0x262018['conversion']['attributeToAttribute'](_0x59a656),_0x262018['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x55a3fb=>{let _0x4f2249=_0x55a3fb['getStyle']('line-height');return _0x5cafdf(_0x4f2249)&&(_0x4f2249=String(Number(_0x4f2249['slice'](0x0,-0x1))/0x64)),_0x4f2249===String(_0x5aee7b)?null:_0x59a656['model']['values']['includes'](_0x4f2249)?_0x4f2249:null;}}});}}class LineHeightUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x592895={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x592895),this['_registerMenuBarComponent'](_0x592895),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x46117e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x41f974;for(const _0x3932e8 in _0x46117e){const _0x522944=_0x3932e8,_0x878625=_0x46117e[_0x522944];if('lineHeightLicenseKeyValid'==_0x878625||'lineHeightLicenseKeyInvalid'==_0x878625||'lineHeightLicenseKeyExpired'==_0x878625||'lineHeightLicenseKeyDomainLimit'==_0x878625||'lineHeightLicenseKeyNotAllowed'==_0x878625||'lineHeightLicenseKeyEvaluationLimit'==_0x878625||'lineHeightLicenseKeyUsageLimit'==_0x878625){delete _0x46117e[_0x522944],_0x41f974=_0x878625,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x41f974&&_0x46117e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x41f974&&_0x46117e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x41f974&&_0x46117e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x41f974&&_0x46117e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x41f974&&_0x46117e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x41f974&&_0x46117e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x43c444=this['editor'],t=_0x43c444['t'],_0x2257d0=_0x43c444['config']['get']('lineHeight'),_0x4b84aa={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return jp(_0x2257d0)['map'](_0x397ea0=>{const _0x16da1f=_0x4b84aa[_0x397ea0['title']];return _0x16da1f&&_0x16da1f!=_0x397ea0['title']&&(_0x397ea0=Object['assign']({},_0x397ea0,{'title':_0x16da1f})),_0x397ea0;});}['_prepareListOptions'](){const _0x2db762=this['editor']['commands']['get']('lineHeight'),_0x4b1373=this['editor']['config']['get']('lineHeight.defaultValue'),_0x8e51d7=this['_getLocalizedLineHeightOptions'](),_0x52dc64=new _0x307d11(),_0x602c2b=_0x4e1466=>'default'===_0x4e1466||String(_0x4b1373)===_0x4e1466;for(const _0x19dcc5 of _0x8e51d7){const _0x5138e6={'type':'button','model':new Ot({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x19dcc5['title'],'withText':!0x0})};_0x602c2b(_0x19dcc5['model'])?(_0x5138e6['model']['bind']('isOn')['to'](_0x2db762,'value',_0x5ac85b=>!_0x5ac85b),_0x5138e6['model']['commandParam']=void 0x0):(_0x5138e6['model']['bind']('isOn')['to'](_0x2db762,'value',_0x214ffb=>_0x214ffb===_0x19dcc5['model']),_0x5138e6['model']['commandParam']=_0x19dcc5['model']),_0x52dc64['add'](_0x5138e6);}if(this['_shouldRenderCustomValueOption']()){const _0x3beb74=this['_getCustomValueOptionDefinition'](_0x8e51d7);_0x52dc64['add'](_0x3beb74);}return _0x52dc64;}['_getCustomValueOptionDefinition'](_0x58b26e){const _0xf654d4=this['editor'],t=_0xf654d4['t'],_0x244f16=_0xf654d4['commands']['get']('lineHeight'),_0x1d7223=_0x58b26e['map'](_0x53d4f2=>_0x53d4f2['model']),_0x422815={'type':'button','model':new Ot({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x422815['model']['bind']('commandParam')['to'](_0x244f16,'value'),_0x422815['model']['bind']('isOn')['to'](_0x244f16,'value',_0x23f45c=>!!_0x23f45c&&!_0x1d7223['includes'](String(_0x23f45c))),_0x422815['model']['bind']('label')['to'](_0x244f16,'value',_0x854b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x854b))),_0x422815;}['_registerToolbarComponent']({accessibleLabel:_0x5e700d,options:_0x7b7599}){const _0x3a2c28=this['editor'],_0x232ddd=_0x3a2c28['commands']['get']('lineHeight');_0x3a2c28['ui']['componentFactory']['add']('lineHeight',_0xaf0918=>{const _0x4bcb50=nt(_0xaf0918);return pt(_0x4bcb50,_0x7b7599,{'role':'menu','ariaLabel':_0x5e700d}),_0x4bcb50['buttonView']['set']({'label':_0x5e700d,'tooltip':!0x0,'icon':_0x5c1658}),_0x4bcb50['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4bcb50['bind']('isEnabled')['to'](_0x232ddd),this['listenTo'](_0x4bcb50,'execute',_0x1390bd=>{_0x3a2c28['execute'](_0x1390bd['source']['commandName'],{'value':_0x1390bd['source']['commandParam']}),_0x3a2c28['editing']['view']['focus']();}),_0x4bcb50['once']('change:isOpen',()=>{const _0x35eb62=_0x4bcb50['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4bcb50,_0x7b7599,_0x35eb62);}),_0x4bcb50;});}['_registerMenuBarComponent']({accessibleLabel:_0x26cb3a,options:_0x5d1fb4}){const _0x2b7836=this['editor'],_0x5a2dac=_0x2b7836['commands']['get']('lineHeight');_0x2b7836['ui']['componentFactory']['add']('menuBar:lineHeight',_0x19ba98=>{const _0x4ff886=new ot(_0x19ba98);_0x4ff886['buttonView']['set']({'label':_0x26cb3a,'icon':_0x5c1658}),_0x4ff886['bind']('isEnabled')['to'](_0x5a2dac);const _0x142bbd=new lt(_0x19ba98);for(const _0x256d0e of _0x5d1fb4){const _0x3879e5=new ht(_0x19ba98,_0x4ff886),_0x42caa1=new at(_0x19ba98);_0x42caa1['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x42caa1['bind'](...Object['keys'](_0x256d0e['model']))['to'](_0x256d0e['model']),_0x42caa1['delegate']('execute')['to'](_0x4ff886),_0x42caa1['on']('execute',()=>{_0x2b7836['execute'](_0x256d0e['model']['commandName'],{'value':_0x256d0e['model']['commandParam']}),_0x2b7836['editing']['view']['focus']();}),_0x3879e5['children']['add'](_0x42caa1),_0x142bbd['items']['add'](_0x3879e5);}return _0x4ff886['panelView']['children']['add'](_0x142bbd),this['_attachCustomOptionVisibilityHandler'](_0x4ff886,_0x5d1fb4,_0x142bbd),_0x4ff886;});}['_attachCustomOptionVisibilityHandler'](_0x5e3dd5,_0x49fe21,_0xf01a52){if(!this['_shouldRenderCustomValueOption']())return;const _0xfc27c7=()=>{if(!_0x5e3dd5['isOpen'])return;_0xf01a52['items']['last']['isVisible']=Boolean(_0x49fe21['last']['model']['isOn']);};_0xfc27c7(),_0x5e3dd5['on']('change:isOpen',()=>{_0xfc27c7();});}}class LineHeight extends _0x7cf71c{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends _0x4d9dc4{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x5ee3ab,_0x18398d,_0x54a96a){super(_0x5ee3ab),this['defaultListMarkerStyle']=_0x18398d,this['_listDefinitions']=_0x54a96a,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3903d3={}){const _0x5afbd7=this['editor']['model'],_0x4b4653=_0x3903d3['listMarkerStyle']||this['defaultListMarkerStyle'];_0x5afbd7['change'](()=>{const _0x35a711=this['_getListTypeFromListMarkerStyle'](_0x4b4653);if(!_0x35a711)return;const _0xf5e9ac=_0x35a711+'List';this['editor']['execute'](_0xf5e9ac,{'additionalAttributes':{'listMarkerStyle':_0x4b4653}});});}['_getValue'](){const _0x7a89d4=_0x506e56(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x7a89d4)?_0x7a89d4['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x41a3d0=this['editor'],_0x882a4c=_0x41a3d0['commands']['get']('customNumberedList'),_0x491b36=_0x41a3d0['commands']['get']('customBulletedList');return _0x882a4c['isEnabled']||_0x491b36['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x4b1107){const _0x29e9d1=this['_listDefinitions']['find'](_0x200b68=>_0x200b68['listMarkerStyle']==_0x4b1107);return _0x29e9d1?_0x29e9d1['listType']:null;}}class MultiLevelListEditing extends _0x7cf71c{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x21caf5];}constructor(_0x168515){super(_0x168515);const _0x152dd4=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x2ae95c=>_0x2ae95c+'.'}]},..._0x152dd4];}['init'](){const _0x124cdc=this['editor'],_0xaaeea4=_0x124cdc['model'],_0x2c9522=_0x124cdc['editing']['view'],_0x2c3e64=_0x124cdc['plugins']['get'](_0x21caf5);_0x124cdc['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x124cdc,'legal',this['_listDefinitions'])),_0xaaeea4['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0xaaeea4['schema']['addAttributeCheck']((_0x4a5967,_0x19ef60)=>{const _0x5b5db7=_0x4a5967['last'];if('listMarker'==_0x19ef60||'listMarkerStyle'==_0x19ef60)return!(!_0x5b5db7['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x2be8aa=>_0x2be8aa['listType']==_0x5b5db7['getAttribute']('listType')))&&void 0x0;});for(const _0x3bb431 of this['_listDefinitions'])_0x124cdc['conversion']['for']('upcast')['add'](_0x34e4b6=>{_0x34e4b6['on']('element:'+('customNumbered'==_0x3bb431['listType']?'ol':'ul'),Gp(_0x3bb431,_0xaaeea4['schema']),{'priority':'low'});}),_0x2c3e64['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x2cd033,_0x50d202,_0x57b558){_0x50d202==_0x3bb431['listMarkerStyle']?(_0x2cd033['addClass'](['multi-level-list',_0x3bb431['className']],_0x57b558),_0x2cd033['setStyle']('list-style-type','none',_0x57b558)):(_0x2cd033['removeClass'](['multi-level-list',_0x3bb431['className']],_0x57b558),_0x2cd033['removeStyle']('list-style-type',_0x57b558));}}),_0x2c3e64['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x447eec,_0x440027,{dataPipeline:_0x4bb847}){if(!_0x440027['hasAttribute']('listMarker'))return null;if(_0x440027['getAttribute']('listType')!=_0x3bb431['listType']||_0x440027['getAttribute']('listMarkerStyle')!=_0x3bb431['listMarkerStyle'])return null;const _0x55a16a=String(_0x440027['getAttribute']('listMarker')),_0x3b1af4=this['canInjectMarkerIntoElement'](_0x440027);return _0x447eec['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x4bb847&&{'contenteditable':'false','data-multi-level-list-marker':_0x55a16a}},function(_0x3e5afa){const _0x10c52a=this['toDomElement'](_0x3e5afa);return _0x3b1af4?(_0x10c52a['appendChild'](_0xe26ae8(_0x3e5afa,'span',{},_0x4bb847?_0x3e5afa['createTextNode'](_0x55a16a):[])),_0x10c52a['appendChild'](_0x3e5afa['createTextNode']('\u00a0'))):_0x4bb847&&_0x10c52a['appendChild'](_0x3e5afa['createTextNode'](_0x55a16a)),_0x10c52a;});},'canInjectMarkerIntoElement':_0x38f27f=>_0xaaeea4['schema']['checkChild'](_0x38f27f,'$text')&&_0xaaeea4['schema']['checkChild'](_0x38f27f,'$inlineObject')&&!_0xaaeea4['schema']['isLimit'](_0x38f27f)&&_0x38f27f['getAttribute']('listType')==_0x3bb431['listType']&&_0x38f27f['getAttribute']('listMarkerStyle')==_0x3bb431['listMarkerStyle']});_0x124cdc['conversion']['for']('upcast')['add'](_0x5678b4=>{_0x5678b4['on']('element:span',function(_0xa296cd){return(_0x5e5b29,_0x201e56,{writer:_0x370b66,consumable:_0x248a5e})=>{const _0x1315c7=_0x201e56['modelCursor'],_0x182c82=_0x1315c7['parent'],_0xcb4fa1=_0x201e56['viewItem'];if(_0x248a5e['consume'](_0xcb4fa1,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1315c7['isAtStart']&&_0x182c82['hasAttribute']('listType')&&_0xcb4fa1['childCount']>0x0){const _0x12ece1=_0xa296cd['createRangeIn'](_0xcb4fa1);let _0x35d5e5='';for(const _0x43a070 of _0x12ece1['getItems']())_0x43a070['is']('$textProxy')?(_0x35d5e5+=_0x43a070['data']['trim'](),_0x248a5e['consume'](_0x43a070['textNode'])):_0x248a5e['consume'](_0x43a070,{'name':!0x0});_0x370b66['setAttribute']('listMarker',_0x35d5e5['trim'](),_0x182c82);}};}(_0x2c9522));}),_0x2c3e64['on']('postFixer',(_0x3f3c40,{listNodes:_0x5b2388,writer:_0x2c65d4})=>{const _0x1361a3=[];for(const {node:_0x539e6e,previousNodeInList:_0x27e792}of _0x5b2388){const _0x3cb089=_0x539e6e['getAttribute']('listType'),_0x1b0c45=_0x539e6e['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3cb089?'legal':void 0x0),_0x4b89ba=this['_listDefinitions']['find'](_0x5e2e22=>_0x5e2e22['listType']==_0x3cb089&&_0x5e2e22['listMarkerStyle']==_0x1b0c45);if('customNumbered'!=_0x3cb089&&'customBulleted'!=_0x3cb089&&(_0x539e6e['hasAttribute']('listMarker')&&(_0x2c65d4['removeAttribute']('listMarker',_0x539e6e),_0x3f3c40['return']=!0x0),_0x539e6e['hasAttribute']('listMarkerStyle')&&(_0x2c65d4['removeAttribute']('listMarkerStyle',_0x539e6e),_0x3f3c40['return']=!0x0)),!_0x4b89ba){'customBulleted'!=_0x3cb089||_0x1b0c45||(_0x2c65d4['setAttribute']('listType','bulleted',_0x539e6e),_0x3f3c40['return']=!0x0);continue;}_0x539e6e['hasAttribute']('listMarkerStyle')||(_0x2c65d4['setAttribute']('listMarkerStyle',_0x1b0c45,_0x539e6e),_0x3f3c40['return']=!0x0);const _0x133720=_0x539e6e['getAttribute']('listIndent');if(_0x27e792&&_0x27e792['getAttribute']('listItemId')==_0x539e6e['getAttribute']('listItemId'))continue;_0x1361a3['length']=_0x133720+0x1,_0x27e792||_0x1361a3[_0x133720]?_0x27e792&&_0x27e792['getAttribute']('listType')!=_0x4b89ba['listType']?_0x1361a3[_0x133720]=0x1:_0x1361a3[_0x133720]++:_0x1361a3[_0x133720]=_0x539e6e['getAttribute']('listStart')||0x1;const _0x53e56a=Fp(_0x133720,_0x4b89ba,_0x1361a3);_0x539e6e['getAttribute']('listMarker')!=_0x53e56a&&(_0x2c65d4['setAttribute']('listMarker',_0x53e56a,_0x539e6e),_0x3f3c40['return']=!0x0);}}),_0x2c3e64['on']('checkElement',(_0x341b65,{modelElement:_0x598910,viewElement:_0x51698a})=>{const _0x5c86c3=_0x598910['getAttribute']('listType');if('customNumbered'!=_0x5c86c3&&'customBulleted'!=_0x5c86c3)return;if(_0xaaeea4['schema']['checkChild'](_0x598910,'$text'))return;const _0x1f39b7=_0x1790e0(_0x598910);let _0x58871a=!0x1;const _0x24cb04=_0x2c9522['createPositionBefore'](_0x51698a)['getWalker']({'direction':'backward'});for(const {item:_0x34a15b}of _0x24cb04)if(_0x34a15b['is']('element')){if(_0x124cdc['editing']['mapper']['toModelElement'](_0x34a15b))break;if(_0x34a15b['getCustomProperty']('listItemMarker')){_0x58871a=!0x0;break;}}_0x58871a!=_0x1f39b7&&(_0x341b65['return']=!0x0,_0x341b65['stop']());});const _0x5e3759=_0x124cdc['editing']['view']['document'];this['listenTo'](_0x5e3759,'clipboardOutput',(_0x353e82,_0x29aa37)=>{const _0x4db880=new _0x35f644({'name':'span','classes':'multi-level-list__marker'}),_0x52e652=new _0x35f644({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x217542=new _0x1d3328(_0x29aa37['content']['document']),_0x1ca156=[];for(const _0x563a08 of _0x217542['createRangeIn'](_0x29aa37['content'])['getItems']())_0x563a08['is']('element')&&_0x4db880['match'](_0x563a08)&&_0x1ca156['push'](_0x563a08),_0x563a08['is']('element')&&_0x52e652['match'](_0x563a08)&&_0x217542['removeStyle']('list-style-type',_0x563a08);for(const _0x3441c1 of _0x1ca156)_0x217542['remove'](_0x3441c1);});}['afterInit'](){!async function(_0x43955b){const _0x11ae53=_0x380bd([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]),_0xfe5d12=0xf46a94a,_0xf50cac=0xf412322^_0xfe5d12,_0x54eecd=window[_0x380bd([0x44,0x61,0x74,0x65])][_0x380bd([0x6e,0x6f,0x77])](),_0x2f2363=_0x43955b[_0x380bd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d9f48=new window[(_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe08c=>{_0x2f2363[_0x380bd([0x6f,0x6e,0x63,0x65])](_0x380bd([0x72,0x65,0x61,0x64,0x79]),_0xbe08c);}),_0x62fe0f={[_0x380bd([0x6b,0x74,0x79])]:_0x380bd([0x45,0x43]),[_0x380bd([0x75,0x73,0x65])]:_0x380bd([0x73,0x69,0x67]),[_0x380bd([0x63,0x72,0x76])]:_0x380bd([0x50,0x2d,0x32,0x35,0x36]),[_0x380bd([0x78])]:_0x380bd([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]),[_0x380bd([0x79])]:_0x380bd([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]),[_0x380bd([0x61,0x6c,0x67])]:_0x380bd([0x45,0x53,0x32,0x35,0x36])},_0x34fe6c=_0x2f2363[_0x380bd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x380bd([0x67,0x65,0x74])](_0x380bd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3df1ab(){let _0x46a0a5,_0x4b48c5=null,_0x442929=null;try{if(_0x34fe6c==_0x380bd([0x47,0x50,0x4c]))return _0x380bd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46a0a5=_0x3e10d0(),!_0x46a0a5)return _0x380bd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46a0a5[_0x380bd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x442929=_0x132649(_0x46a0a5[_0x380bd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46a0a5[_0x380bd([0x6a,0x74,0x69])])),await _0x3e4ddc()?_0x270be6()?_0x2e67af()?_0x380bd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x45e2cb()?(_0x46a0a5[_0x380bd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x380bd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b48c5=_0x198226(_0x380bd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b809f()):_0x380bd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x380bd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x380bd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x380bd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e67af(){const _0x3ba4b8=[_0x380bd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x380bd([0x74,0x72,0x69,0x61,0x6c])][_0x380bd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46a0a5[_0x380bd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54eecd/0x3e8:0xe10*_0xf50cac;return _0x46a0a5[_0x380bd([0x65,0x78,0x70])]<_0x3ba4b8;}function _0x270be6(){const _0x4259a0=_0x46a0a5[_0x380bd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4259a0&&(!!_0x4259a0[_0x380bd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x380bd([0x2a]))||!!_0x4259a0[_0x380bd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x380bd([0x4d,0x4c,0x4c])));}function _0x45e2cb(){const _0x1daa91=_0x46a0a5[_0x380bd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1daa91||0x0==_0x1daa91[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x164a9e}=new URL(window[_0x380bd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1daa91[_0x380bd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164a9e))return!0x0;const _0x162c6a=_0x164a9e[_0x380bd([0x73,0x70,0x6c,0x69,0x74])](_0x380bd([0x2e]));return _0x1daa91[_0x380bd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ee930=>_0x3ee930[_0x380bd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x380bd([0x2a])))[_0x380bd([0x6d,0x61,0x70])](_0x1ce726=>_0x1ce726[_0x380bd([0x73,0x70,0x6c,0x69,0x74])](_0x380bd([0x2e])))[_0x380bd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7a02e0=>_0x7a02e0[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x162c6a[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x380bd([0x6d,0x61,0x70])](_0x5751b6=>Array(_0x162c6a[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5751b6[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x380bd([0x66,0x69,0x6c,0x6c])](_0x5751b6[0x0]===_0x380bd([0x2a])?_0x380bd([0x2a]):'')[_0x380bd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5751b6))[_0x380bd([0x73,0x6f,0x6d,0x65])](_0x5879c8=>_0x162c6a[_0x380bd([0x65,0x76,0x65,0x72,0x79])]((_0x8cc187,_0x58c144)=>_0x5879c8[_0x58c144]===_0x8cc187||_0x5879c8[_0x58c144]===_0x380bd([0x2a])));}function _0x2b809f(){return _0x4b48c5&&_0x442929?new window[(_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8c69bc,_0x255213)=>{_0x4b48c5[_0x380bd([0x74,0x68,0x65,0x6e])](_0x8c69bc,_0x255213),_0x442929[_0x380bd([0x74,0x68,0x65,0x6e])](_0x1c9791=>{_0x1c9791!=_0x380bd([0x56,0x61,0x6c,0x69,0x64])&&_0x8c69bc(_0x1c9791);},_0x255213);}):_0x4b48c5||_0x442929||_0x380bd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x132649(_0xb43321,_0x16effd){return new window[(_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ad531=>{if(_0x4b57c3())return _0x5ad531(_0x380bd([0x56,0x61,0x6c,0x69,0x64]));_0x10ca92(),_0x2f2363[_0x380bd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x380bd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xddabf0=!0x1;const _0xc75fc4=_0x462bc0();function _0xd47efa(_0x20a256){return!!_0x20a256&&(typeof _0x20a256===_0x380bd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20a256===_0x380bd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20a256[_0x380bd([0x74,0x68,0x65,0x6e])]===_0x380bd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20a256[_0x380bd([0x63,0x61,0x74,0x63,0x68])]===_0x380bd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1660d7(_0x4e3655){_0x3ead22(_0x4e3655)[_0x380bd([0x74,0x68,0x65,0x6e])](_0x236902=>{if(!_0x236902||_0x236902[_0x380bd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x380bd([0x6f,0x6b]))return _0x380bd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3976cf(_0x59630c(_0xc75fc4+_0x16effd))!=_0x236902[_0x380bd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x380bd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x380bd([0x56,0x61,0x6c,0x69,0x64]);})[_0x380bd([0x74,0x68,0x65,0x6e])](_0x3f3e84=>(_0x232d9f(),_0x3f3e84),()=>{const _0x3dacc8=_0x4c9f83();return null==_0x3dacc8?(_0x232d9f(),_0x380bd([0x56,0x61,0x6c,0x69,0x64])):_0x380bd(_0x54eecd-_0x3dacc8>(0x2b4a2d4a^_0xfe5d12)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x380bd([0x74,0x68,0x65,0x6e])](_0x5ad531)[_0x380bd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ad531(_0x380bd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b2e83=0xf7047ca^_0xfe5d12;function _0x232d9f(){const _0x439575=_0x380bd([0x6c,0x6c,0x63,0x74,0x2d])+_0x3976cf(_0x59630c(_0xb43321)),_0x4db58c=_0x2415bd(_0x3976cf(window[_0x380bd([0x4d,0x61,0x74,0x68])][_0x380bd([0x63,0x65,0x69,0x6c])](_0x54eecd/_0x1b2e83)));window[_0x380bd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x380bd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x439575,_0x4db58c);}function _0x4c9f83(){const _0x19c3eb=_0x380bd([0x6c,0x6c,0x63,0x74,0x2d])+_0x3976cf(_0x59630c(_0xb43321)),_0x463a85=window[_0x380bd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x380bd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19c3eb);return _0x463a85?window[_0x380bd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2415bd(_0x463a85),0x10)*_0x1b2e83:null;}function _0x3ead22(_0xe078){return new window[(_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ad271,_0x98a0ec)=>{_0xe078[_0x380bd([0x74,0x68,0x65,0x6e])](_0x2ad271,_0x98a0ec),window[_0x380bd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x98a0ec,0xf477d8a^_0xfe5d12);});}}_0x2f2363[_0x380bd([0x6f,0x6e])](_0x380bd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc38b8a,_0x239baf)=>{if(_0x239baf[0x0]!=_0xb43321)return _0x5ad531(_0x380bd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x239baf[0x1]={..._0x239baf[0x1],[_0x380bd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc75fc4};},{[_0x380bd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x380bd([0x68,0x69,0x67,0x68])}),_0x2f2363[_0x380bd([0x6f,0x6e])](_0x380bd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c82ec=>{_0xd47efa(_0x1c82ec[_0x380bd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xddabf0=!0x0,_0x1660d7(_0x1c82ec[_0x380bd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x380bd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x380bd([0x6c,0x6f,0x77])}),_0x1d9f48[_0x380bd([0x74,0x68,0x65,0x6e])](()=>{_0xddabf0||_0x5ad531(_0x380bd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b57c3(){return _0x2f2363[_0x380bd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x380bd([0x76,0x69,0x65,0x77])][_0x380bd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x380bd([0x61,0x75,0x74,0x6f]);}function _0x10ca92(){_0x2f2363[_0x380bd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x380bd([0x76,0x69,0x65,0x77])][_0x380bd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x380bd([0x61,0x75,0x74,0x6f]);}}function _0x198226(_0x52684b){const _0x40a293=[new window[(_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x151084=>setTimeout(_0x151084,0xf4f9786^_0xfe5d12)),_0x1d9f48[_0x380bd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45339f=>{let _0x23a650=0x0;_0x2f2363[_0x380bd([0x6d,0x6f,0x64,0x65,0x6c])][_0x380bd([0x6f,0x6e])](_0x380bd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x545609,_0x4840f9)=>{_0x4840f9[0x0][_0x380bd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23a650++,_0x23a650==(0xf46aca2^_0xfe5d12)&&(_0x45339f(),_0x545609[_0x380bd([0x6f,0x66,0x66])]());});}))];return window[_0x380bd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x380bd([0x72,0x61,0x63,0x65])](_0x40a293)[_0x380bd([0x74,0x68,0x65,0x6e])](()=>_0x52684b);}async function _0xe421fc(){await _0x1d9f48,_0x2f2363[_0x380bd([0x6d,0x6f,0x64,0x65,0x6c])][_0x380bd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ad59f,_0x2f2363[_0x380bd([0x6d,0x6f,0x64,0x65,0x6c])][_0x380bd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ad59f,_0x2f2363[_0x380bd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x380bd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb3be69(_0x491acf){const _0x42c727=_0x250a73();_0x2f2363[_0x42c727]=_0x380bd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x491acf,_0x491acf!=_0x380bd([0x56,0x61,0x6c,0x69,0x64])&&_0xe421fc();}function _0x250a73(){const _0x42e6ba=window[_0x380bd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x380bd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x380bd([0x6e,0x6f,0x77])]())[_0x380bd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x380bd([0x2e]),'');let _0x2acd2b=_0x380bd([0x75]);for(let _0x49c298=0x0;_0x49c298<_0x42e6ba[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49c298+=0x2){let _0x2ef322=window[_0x380bd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e6ba[_0x380bd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49c298,_0x49c298+0x2));_0x2ef322>=_0x11ae53[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ef322-=_0x11ae53[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2acd2b+=_0x11ae53[_0x2ef322];}return _0x2acd2b;}function _0x3e10d0(){const _0x52f3cc=_0x34fe6c[_0x380bd([0x73,0x70,0x6c,0x69,0x74])](_0x380bd([0x2e]));if(0x3!=_0x52f3cc[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x139a7b(_0x52f3cc[0x1]);function _0x139a7b(_0x3c18a0){const _0x12ea90=_0x4ebcf1(_0x3c18a0);return _0x12ea90&&_0x411e2f()?_0x12ea90:null;function _0x411e2f(){const _0x14840a=_0x12ea90[_0x380bd([0x6a,0x74,0x69])],_0x19b65b=window[_0x380bd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14840a[_0x380bd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14840a[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56bcc7={..._0x12ea90,[_0x380bd([0x6a,0x74,0x69])]:_0x14840a[_0x380bd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14840a[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56bcc7[_0x380bd([0x76,0x63])],_0x59630c(_0x56bcc7)==_0x19b65b;}}}async function _0x3e4ddc(){let _0x61b989=!0x0;try{const _0x37399b=_0x34fe6c[_0x380bd([0x73,0x70,0x6c,0x69,0x74])](_0x380bd([0x2e])),[_0x49d007,_0x16a9d7,_0x22cba5]=_0x37399b;return _0x31e4df(_0x49d007),await _0x4cb02f(_0x49d007,_0x16a9d7,_0x22cba5),_0x61b989;}catch{return!0x1;}function _0x31e4df(_0x2d43c1){const _0x48f2b5=_0x4ebcf1(_0x2d43c1);_0x48f2b5&&_0x48f2b5[_0x380bd([0x61,0x6c,0x67])]==_0x380bd([0x45,0x53,0x32,0x35,0x36])||(_0x61b989=!0x1);}async function _0x4cb02f(_0x3d6736,_0x1dc5da,_0x3bd710){const _0x23a409=window[_0x380bd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x380bd([0x66,0x72,0x6f,0x6d])](_0x23b86b(_0x3bd710),_0x3c418d=>_0x3c418d[_0x380bd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57fbfa=new window[(_0x380bd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x380bd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d6736+_0x380bd([0x2e])+_0x1dc5da),_0x29c8f6=window[_0x380bd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x380bd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29c8f6)return;const _0x5f504c=await _0x29c8f6[_0x380bd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x380bd([0x6a,0x77,0x6b]),_0x62fe0f,{[_0x380bd([0x6e,0x61,0x6d,0x65])]:_0x380bd([0x45,0x43,0x44,0x53,0x41]),[_0x380bd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x380bd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x380bd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29c8f6[_0x380bd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x380bd([0x6e,0x61,0x6d,0x65])]:_0x380bd([0x45,0x43,0x44,0x53,0x41]),[_0x380bd([0x68,0x61,0x73,0x68])]:{[_0x380bd([0x6e,0x61,0x6d,0x65])]:_0x380bd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f504c,_0x23a409,_0x57fbfa)||(_0x61b989=!0x1);}}function _0x4ebcf1(_0x25c48c){return _0x25c48c[_0x380bd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x380bd([0x65,0x79]))?JSON[_0x380bd([0x70,0x61,0x72,0x73,0x65])](_0x23b86b(_0x25c48c)):null;}function _0x23b86b(_0x269f01){return window[_0x380bd([0x61,0x74,0x6f,0x62])](_0x269f01[_0x380bd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x380bd([0x2b]))[_0x380bd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x380bd([0x2f])));}function _0x59630c(_0x1f63eb){let _0x5afe0e=0x1505;function _0x2051de(_0x386fc6){for(let _0x4aa731=0x0;_0x4aa731<_0x386fc6[_0x380bd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4aa731++){const _0x229c6c=_0x386fc6[_0x380bd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4aa731);_0x5afe0e=(_0x5afe0e<<0x5)+_0x5afe0e+_0x229c6c,_0x5afe0e&=_0x5afe0e;}}function _0x22f738(_0x18d9bd){Array[_0x380bd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18d9bd)?_0x18d9bd[_0x380bd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22f738):_0x18d9bd&&typeof _0x18d9bd==_0x380bd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x380bd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18d9bd)[_0x380bd([0x73,0x6f,0x72,0x74])]()[_0x380bd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39107e,_0x3d6973])=>{_0x2051de(_0x39107e),_0x22f738(_0x3d6973);}):_0x2051de(window[_0x380bd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18d9bd));}return _0x22f738(_0x1f63eb),_0x5afe0e>>>0x0;}function _0x3976cf(_0x54e118){return _0x54e118[_0x380bd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x380bd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x380bd([0x30]));}function _0x2415bd(_0x12c8aa){return _0x12c8aa[_0x380bd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x380bd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x380bd([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ad59f(){}function _0x380bd(_0x1972d4){return _0x1972d4['map'](_0x374d15=>String['fromCharCode'](_0x374d15))['join']('');}_0xb3be69(await _0x3df1ab());}(this);}}function Fp(_0xb8d0df,_0x589ab3,_0x226a0f){let _0xa50a06=_0x589ab3['listMarkers'][_0xb8d0df%_0x589ab3['listMarkers']['length']];if(void 0x0===_0xa50a06['showMarkerPath']||_0xa50a06['showMarkerPath'])return _0x226a0f['slice'](0x0,_0xb8d0df+0x1)['map']((_0x10e483,_0x1821cb)=>(_0xa50a06=_0x589ab3['listMarkers'][_0x1821cb%_0x589ab3['listMarkers']['length']],Hp(_0xa50a06['marker'],_0x10e483)))['join']('');{const _0x3794aa=_0x226a0f[_0x226a0f['length']-0x1];return Hp(_0xa50a06['marker'],_0x3794aa);}}function Hp(_0x24c1ac,_0x5606b7){return'function'==typeof _0x24c1ac?_0x24c1ac(_0x5606b7):_0x24c1ac;}function Gp(_0x83c5b5,_0x4f0fbb){return(_0x1a96c5,_0xf84201,_0x2eb85d)=>{const _0x1410ad=_0xf84201['viewItem'];if(_0xf84201['modelRange']||Object['assign'](_0xf84201,_0x2eb85d['convertChildren'](_0xf84201['viewItem'],_0xf84201['modelCursor'])),!_0x2eb85d['consumable']['test'](_0x1410ad,{'classes':_0x83c5b5['className']}))return;const _0x5b4502=Array['from'](_0xf84201['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4eca3f=>_0x4f0fbb['checkAttribute'](_0x4eca3f,'listItemId'));if(!_0x5b4502['length'])return;_0x2eb85d['consumable']['consume'](_0x1410ad,{'classes':_0x83c5b5['className']}),_0x2eb85d['consumable']['consume'](_0x1410ad,{'classes':'multi-level-list'}),_0x2eb85d['consumable']['consume'](_0x1410ad,{'styles':'list-style-type'});const _0x184df=_0x5b4502[0x0]['getAttribute']('listIndent');for(const _0x1d50e3 of _0x5b4502)_0x1d50e3['getAttribute']('listIndent')==_0x184df&&(_0x2eb85d['writer']['setAttribute']('listType',_0x83c5b5['listType'],_0x1d50e3),_0x2eb85d['writer']['setAttribute']('listMarkerStyle',_0x83c5b5['listMarkerStyle'],_0x1d50e3));};}function Zp(_0x56119a,_0x562885){const _0x5b1534=_0x56119a['t'],t=_0x56119a['t'];switch(_0x562885){case'Start\x20at':return _0x5b1534('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x5b1534('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x5b1534('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x5b1534('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 _0x562885;}}class MultiLevelListView extends _0x278baa{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2423e3();['keystrokes']=new _0x247474();['focusables']=new Et();['focusCycler'];constructor(_0x53ba1c,{enabledProperties:_0x5c07fa,styleButtonViews:_0x1a571f,styleGridAriaLabel:_0x43d7ee}){super(_0x53ba1c);const _0x222be4=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x5c07fa['styles']?(this['stylesView']=this['_createStylesView'](_0x1a571f,_0x43d7ee),this['children']['add'](this['stylesView'])):_0x222be4['push']('ck-multi-level-list-properties_without-styles'),_0x5c07fa['startIndex']&&(this['_addListPropertyViews'](_0x5c07fa),_0x222be4['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x222be4},'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 _0x15857f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x15857f['element']);Vt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x37cedc['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 _0x33ef5a=_0x15ba11=>_0x15ba11['stopPropagation']();this['keystrokes']['set']('arrowright',_0x33ef5a),this['keystrokes']['set']('arrowleft',_0x33ef5a),this['keystrokes']['set']('arrowup',_0x33ef5a),this['keystrokes']['set']('arrowdown',_0x33ef5a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x3d897b,_0x22725c){const _0x2b32e0=new _0x278baa(this['locale']);return _0x2b32e0['children']=_0x2b32e0['createCollection'](),_0x2b32e0['children']['addMany'](_0x3d897b),_0x2b32e0['setTemplate']({'tag':'div','attributes':{'aria-label':_0x22725c,'class':['ck','ck-multi-level-list-styles']},'children':_0x2b32e0['children']}),_0x2b32e0['children']['delegate']('execute')['to'](this),_0x2b32e0['focus']=function(){this['children']['first']['focus']();},_0x2b32e0['focusTracker']=new _0x2423e3(),_0x2b32e0['keystrokes']=new _0x247474(),_0x2b32e0['render'](),_0x2b32e0['keystrokes']['listenTo'](_0x2b32e0['element']),_0x2b32e0;}['_addListPropertyViews'](_0x1fa7c3){const _0x62d59b=[];_0x1fa7c3['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x62d59b['push'](this['startIndexFieldView'])),_0x1fa7c3['styles']?(this['additionalPropertiesCollapsibleView']=new Ut(this['locale'],_0x62d59b),this['additionalPropertiesCollapsibleView']['set']({'label':Zp(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x62d59b,'isEnabled',(..._0x187c2e)=>_0x187c2e['some'](_0x3f4a20=>_0x3f4a20)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x21f9e4,_0x4b391e,_0x33621b)=>{_0x33621b||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x62d59b);}['_createStartIndexField'](){const _0x52cefc=new bt(this['locale'],Bt);return _0x52cefc['set']({'label':Zp(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x52cefc['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x52cefc['fieldView']['on']('input',()=>{const _0x5e1500=_0x52cefc['fieldView']['element'],_0x4c193e=_0x5e1500['valueAsNumber'];Number['isNaN'](_0x4c193e)?_0x52cefc['errorText']=Zp(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x5e1500['checkValidity']()?this['fire']('listStart',{'startIndex':_0x4c193e}):_0x52cefc['errorText']=Zp(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x52cefc;}}class MultiLevelListUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xcc586a=this['editor'];_0xcc586a['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1b931a,parentCommandName:_0x5df808,buttonLabel:_0x4943ad,buttonIcon:_0x4b24a5,styleGridAriaLabel:_0x333e14,styleDefinitions:_0x58df23}){const _0x4d29c4=_0x1b931a['commands']['get'](_0x5df808),_0x1aa195=_0x1b931a['config']['get']('list.properties')||{},_0x5214c9=_0x1b931a['plugins']['has']('ListProperties'),_0x5c8e25=_0x1aa195['startIndex'];if(!_0x5214c9||!_0x5c8e25)return _0x164473=>{const _0x5ed193=new _0x1a631f(_0x164473);return _0x5ed193['set']({'label':_0x4943ad,'icon':_0x4b24a5,'tooltip':!0x0,'isToggleable':!0x0}),_0x5ed193['bind']('isOn')['to'](_0x4d29c4,'value',_0x4a2e89=>!!_0x4a2e89),_0x5ed193['on']('execute',()=>{_0x1b931a['execute'](_0x5df808),_0x1b931a['editing']['view']['focus']();}),_0x5ed193;};return _0x57b867=>{const _0xf02fdd=nt(_0x57b867,jt),_0x41fb76=_0xf02fdd['buttonView'];return _0xf02fdd['bind']('isEnabled')['to'](_0x4d29c4),_0xf02fdd['class']='ck-list-styles-dropdown',_0x41fb76['on']('execute',()=>{_0x1b931a['execute'](_0x5df808),_0x1b931a['editing']['view']['focus']();}),_0x41fb76['set']({'label':_0x4943ad,'icon':_0x4b24a5,'tooltip':!0x0,'isToggleable':!0x0}),_0x41fb76['bind']('isOn')['to'](_0x4d29c4,'value',_0xd4462a=>!!_0xd4462a),_0xf02fdd['once']('change:isOpen',()=>{const _0x50a518=function({editor:_0x24352b,dropdownView:_0x2d3392,styleDefinitions:_0x59be84,styleGridAriaLabel:_0x1e01b4}){const _0x1971f7=_0x24352b['locale'],_0x4fed96=_0x24352b['config']['get']('list.properties'),_0x9ead90=null;_0x4fed96['reversed']=!0x1,_0x59be84['length']||(_0x4fed96['styles']=!0x1);const _0x394fd3=new MultiLevelListView(_0x1971f7,{'styleGridAriaLabel':_0x1e01b4,'enabledProperties':_0x4fed96,'styleButtonViews':_0x9ead90});if(_0x4fed96['startIndex']){const _0x18e193=_0x24352b['commands']['get']('listStart');_0x394fd3['startIndexFieldView']['bind']('isEnabled')['to'](_0x18e193),_0x394fd3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x18e193),_0x394fd3['on']('listStart',(_0x38149e,_0x2730f1)=>_0x24352b['execute']('listStart',_0x2730f1));}return _0x394fd3['delegate']('execute')['to'](_0x2d3392),_0x394fd3;}({'editor':_0x1b931a,'dropdownView':_0xf02fdd,'styleGridAriaLabel':_0x333e14,'styleDefinitions':_0x58df23});_0xf02fdd['panelView']['children']['add'](_0x50a518);}),_0xf02fdd['on']('execute',()=>{_0x1b931a['editing']['view']['focus']();}),_0xf02fdd;};}({'editor':_0xcc586a,'parentCommandName':'multiLevelList','buttonLabel':Zp(_0xcc586a['locale'],'Multi-level\x20List'),'buttonIcon':_0x2b70ca,'styleGridAriaLabel':Zp(_0xcc586a['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0xcc586a['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x5522bf=_0xcc586a['commands']['get']('multiLevelList'),_0x15b6ac=new at(_0xcc586a['locale']);return _0x15b6ac['set']({'label':Zp(_0xcc586a['locale'],'Multi-level\x20List'),'icon':_0x2b70ca}),_0x15b6ac['bind']('isEnabled')['to'](_0x5522bf),_0x15b6ac['bind']('isOn')['to'](_0x5522bf,'value',_0x19cc6d=>!!_0x19cc6d),_0x15b6ac['on']('execute',()=>{_0xcc586a['execute']('multiLevelList'),_0xcc586a['editing']['view']['focus']();}),_0x15b6ac;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x42dbb6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3fa2dd;for(const _0x456d23 in _0x42dbb6){const _0x4923d5=_0x456d23,_0x4a4813=_0x42dbb6[_0x4923d5];if('multiLevelListLicenseKeyValid'==_0x4a4813||'multiLevelListLicenseKeyInvalid'==_0x4a4813||'multiLevelListLicenseKeyExpired'==_0x4a4813||'multiLevelListLicenseKeyDomainLimit'==_0x4a4813||'multiLevelListLicenseKeyNotAllowed'==_0x4a4813||'multiLevelListLicenseKeyEvaluationLimit'==_0x4a4813||'multiLevelListLicenseKeyUsageLimit'==_0x4a4813){delete _0x42dbb6[_0x4923d5],_0x3fa2dd=_0x4a4813,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x3fa2dd&&_0x42dbb6['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x3fa2dd&&_0x42dbb6['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x3fa2dd&&_0x42dbb6['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x3fa2dd&&_0x42dbb6['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x3fa2dd&&_0x42dbb6['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x3fa2dd&&_0x42dbb6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x7cf71c{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0x4d9dc4{['refresh'](){const _0x2e0172=this['editor']['model'],_0x16cdcb=_0x2e0172['schema']['checkChild'](_0x2e0172['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x16cdcb;}['execute'](_0x53015b){if(!_0x53015b||'string'!=typeof _0x53015b)return;const _0x158624=this['editor']['model'];_0x158624['change'](_0x2010d1=>{_0x158624['deleteContent'](_0x158624['document']['selection']);const _0x4ea325=_0x2010d1['createElement']('mergeField',{'id':_0x53015b});for(const [_0x1f2a03,_0x11635b]of _0x158624['document']['selection']['getAttributes']())_0x158624['schema']['checkAttribute'](_0x4ea325,_0x1f2a03)&&_0x2010d1['setAttribute'](_0x1f2a03,_0x11635b,_0x4ea325);_0x158624['insertContent'](_0x4ea325,_0x158624['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x4d9dc4{['refresh'](){const _0x66abe4=this['editor']['model'],_0x3ae9=_0x66abe4['document']['selection'];this['isEnabled']=function(_0x20ab2a,_0x5f3b5e){const _0x1b5229=_0x54f803(_0x20ab2a,_0x5f3b5e);let _0x577800=_0x1b5229['start']['parent'];return _0x577800['isEmpty']&&!_0x5f3b5e['schema']['isLimit'](_0x577800)&&(_0x577800=_0x577800['parent']),_0x5f3b5e['schema']['checkChild'](_0x577800,'mergeFieldBlock');}(_0x3ae9,_0x66abe4);}['execute'](_0x4e02f3,_0x525d5b){if(!_0x4e02f3||'string'!=typeof _0x4e02f3)return;const _0x1eef85=this['editor']['model'];_0x1eef85['change'](_0x1613e6=>{const _0x21063b=_0x1613e6['createElement']('mergeFieldBlock',{'id':_0x4e02f3});_0x1eef85['insertObject'](_0x21063b,_0x1eef85['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x525d5b?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x4d9dc4{constructor(_0x1e0505){super(_0x1e0505),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0xdcc924,_0x1b48fe){if(!_0xdcc924||'string'!=typeof _0xdcc924)return;const _0x3818c3=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x58c8a7=_0x3818c3['getMergeFieldWidth'](_0xdcc924),_0x567d80=_0x3818c3['getMergeFieldHeight'](_0xdcc924);this['editor']['execute']('insertImage',{'source':{'src':_0x3818c3['wrapInAffixes'](_0xdcc924),'width':_0x58c8a7,'height':_0x567d80},'breakBlock':_0x1b48fe&&_0x1b48fe['breakBlock']});}}class PreviewMergeFieldsCommand extends _0x4d9dc4{constructor(_0x52384f){super(_0x52384f);const _0x21007b=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x21007b,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x313ad0){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x313ad0;}}const Xp=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x7cf71c{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[_0x358c38,_0x29f90a];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x416696){super(_0x416696),_0x416696['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x416696['config']['define']('mergeFields.dataSets',[]),_0x416696['config']['define']('mergeFields.definitions',[]),_0x416696['config']['define']('mergeFields.prefix','{{'),_0x416696['config']['define']('mergeFields.suffix','}}'),_0x416696['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x416696['config']['define']('mergeFields.sanitizeHtml',_0x366eb4=>(_0x5eb6e4('merge-fields-provide-sanitize-function'),{'html':_0x366eb4,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x416696['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x416696['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x416696['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x201ac0='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x136f8c='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x201ac0+'[^'+(_0x201ac0+_0x136f8c)+'\x20]+'+_0x136f8c+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x2d0771=_0x416696['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x2d0771),this['set']('previewMode',_0x2d0771),this['_mergeFieldElements']=new Set();}['init'](){const _0x53b105=this['editor'];_0x53b105['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x53b105)),_0x53b105['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x53b105)),_0x53b105['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x53b105)),_0x53b105['commands']['add']('previewMergeFields',new PreviewMergeFieldsCommand(_0x53b105)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x4f0ae1,_0x45c00e,_0x4a5a5b)=>{this['_validatePreviewMode'](_0x4a5a5b),this['refreshMergeFields']();}),this['listenTo'](_0x53b105['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x53b105['editing']['mapper']['on']('viewToModelPosition',_0x5eadbd(_0x53b105['model'],_0x5acaa9=>_0x5acaa9['hasClass']('ck-merge-field'))),_0x53b105['editing']['mapper']['on']('viewToModelPosition',_0x5eadbd(_0x53b105['model'],_0x38acc2=>_0x38acc2['hasClass']('ck-merge-field-block'))),_0x53b105['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x31400d){const _0x2d0a6e=_0x9d74de([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]),_0x1cf8f7=0x6bd72268,_0x1a0d80=0x6bd0a800^_0x1cf8f7,_0x12f245=window[_0x9d74de([0x44,0x61,0x74,0x65])][_0x9d74de([0x6e,0x6f,0x77])](),_0x7282aa=_0x31400d[_0x9d74de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c29ed=new window[(_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ac818=>{_0x7282aa[_0x9d74de([0x6f,0x6e,0x63,0x65])](_0x9d74de([0x72,0x65,0x61,0x64,0x79]),_0x1ac818);}),_0x58467e={[_0x9d74de([0x6b,0x74,0x79])]:_0x9d74de([0x45,0x43]),[_0x9d74de([0x75,0x73,0x65])]:_0x9d74de([0x73,0x69,0x67]),[_0x9d74de([0x63,0x72,0x76])]:_0x9d74de([0x50,0x2d,0x32,0x35,0x36]),[_0x9d74de([0x78])]:_0x9d74de([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]),[_0x9d74de([0x79])]:_0x9d74de([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]),[_0x9d74de([0x61,0x6c,0x67])]:_0x9d74de([0x45,0x53,0x32,0x35,0x36])},_0x37e62f=_0x7282aa[_0x9d74de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9d74de([0x67,0x65,0x74])](_0x9d74de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x490161(){let _0x59e24a,_0x33db4e=null,_0x62c10f=null;try{if(_0x37e62f==_0x9d74de([0x47,0x50,0x4c]))return _0x9d74de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59e24a=_0x2dc823(),!_0x59e24a)return _0x9d74de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59e24a[_0x9d74de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x62c10f=_0x3d2407(_0x59e24a[_0x9d74de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59e24a[_0x9d74de([0x6a,0x74,0x69])])),await _0x564b5d()?_0x57cae0()?_0x46e2b5()?_0x9d74de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x254435()?(_0x59e24a[_0x9d74de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d74de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33db4e=_0x36e2f5(_0x9d74de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2185f5()):_0x9d74de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9d74de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9d74de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9d74de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46e2b5(){const _0x14e586=[_0x9d74de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9d74de([0x74,0x72,0x69,0x61,0x6c])][_0x9d74de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e24a[_0x9d74de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12f245/0x3e8:0xe10*_0x1a0d80;return _0x59e24a[_0x9d74de([0x65,0x78,0x70])]<_0x14e586;}function _0x57cae0(){const _0xdc2775=_0x59e24a[_0x9d74de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdc2775&&(!!_0xdc2775[_0x9d74de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d74de([0x2a]))||!!_0xdc2775[_0x9d74de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d74de([0x4d,0x46])));}function _0x254435(){const _0xb60ba9=_0x59e24a[_0x9d74de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb60ba9||0x0==_0xb60ba9[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22b8e3}=new URL(window[_0x9d74de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb60ba9[_0x9d74de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b8e3))return!0x0;const _0x124a64=_0x22b8e3[_0x9d74de([0x73,0x70,0x6c,0x69,0x74])](_0x9d74de([0x2e]));return _0xb60ba9[_0x9d74de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2da781=>_0x2da781[_0x9d74de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d74de([0x2a])))[_0x9d74de([0x6d,0x61,0x70])](_0x149548=>_0x149548[_0x9d74de([0x73,0x70,0x6c,0x69,0x74])](_0x9d74de([0x2e])))[_0x9d74de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf68e93=>_0xf68e93[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x124a64[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d74de([0x6d,0x61,0x70])](_0x4712ad=>Array(_0x124a64[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4712ad[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d74de([0x66,0x69,0x6c,0x6c])](_0x4712ad[0x0]===_0x9d74de([0x2a])?_0x9d74de([0x2a]):'')[_0x9d74de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4712ad))[_0x9d74de([0x73,0x6f,0x6d,0x65])](_0x477719=>_0x124a64[_0x9d74de([0x65,0x76,0x65,0x72,0x79])]((_0x4f7e17,_0x330c67)=>_0x477719[_0x330c67]===_0x4f7e17||_0x477719[_0x330c67]===_0x9d74de([0x2a])));}function _0x2185f5(){return _0x33db4e&&_0x62c10f?new window[(_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a09ca,_0x35cfe5)=>{_0x33db4e[_0x9d74de([0x74,0x68,0x65,0x6e])](_0x3a09ca,_0x35cfe5),_0x62c10f[_0x9d74de([0x74,0x68,0x65,0x6e])](_0x6af700=>{_0x6af700!=_0x9d74de([0x56,0x61,0x6c,0x69,0x64])&&_0x3a09ca(_0x6af700);},_0x35cfe5);}):_0x33db4e||_0x62c10f||_0x9d74de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d2407(_0x32ea8a,_0x13e96a){return new window[(_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x203f47=>{if(_0x4a7e46())return _0x203f47(_0x9d74de([0x56,0x61,0x6c,0x69,0x64]));_0x3d3b8a(),_0x7282aa[_0x9d74de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9d74de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f267a=!0x1;const _0x458bad=_0x462bc0();function _0x22bce5(_0x4f98a6){return!!_0x4f98a6&&(typeof _0x4f98a6===_0x9d74de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f98a6===_0x9d74de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f98a6[_0x9d74de([0x74,0x68,0x65,0x6e])]===_0x9d74de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f98a6[_0x9d74de([0x63,0x61,0x74,0x63,0x68])]===_0x9d74de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4069ad(_0x4e93aa){_0x246c25(_0x4e93aa)[_0x9d74de([0x74,0x68,0x65,0x6e])](_0x3701e5=>{if(!_0x3701e5||_0x3701e5[_0x9d74de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9d74de([0x6f,0x6b]))return _0x9d74de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17a30b(_0x56a0f8(_0x458bad+_0x13e96a))!=_0x3701e5[_0x9d74de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9d74de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9d74de([0x56,0x61,0x6c,0x69,0x64]);})[_0x9d74de([0x74,0x68,0x65,0x6e])](_0x9a0e95=>(_0x8bdeac(),_0x9a0e95),()=>{const _0x40b09f=_0x17f054();return null==_0x40b09f?(_0x8bdeac(),_0x9d74de([0x56,0x61,0x6c,0x69,0x64])):_0x9d74de(_0x12f245-_0x40b09f>(0x4fdba668^_0x1cf8f7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9d74de([0x74,0x68,0x65,0x6e])](_0x203f47)[_0x9d74de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x203f47(_0x9d74de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5edae4=0x6be1cce8^_0x1cf8f7;function _0x8bdeac(){const _0x13116f=_0x9d74de([0x6c,0x6c,0x63,0x74,0x2d])+_0x17a30b(_0x56a0f8(_0x32ea8a)),_0x2e7311=_0x3544fb(_0x17a30b(window[_0x9d74de([0x4d,0x61,0x74,0x68])][_0x9d74de([0x63,0x65,0x69,0x6c])](_0x12f245/_0x5edae4)));window[_0x9d74de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d74de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13116f,_0x2e7311);}function _0x17f054(){const _0x3f754d=_0x9d74de([0x6c,0x6c,0x63,0x74,0x2d])+_0x17a30b(_0x56a0f8(_0x32ea8a)),_0x3ea14c=window[_0x9d74de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d74de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f754d);return _0x3ea14c?window[_0x9d74de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3544fb(_0x3ea14c),0x10)*_0x5edae4:null;}function _0x246c25(_0x4043be){return new window[(_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x307970,_0x193f93)=>{_0x4043be[_0x9d74de([0x74,0x68,0x65,0x6e])](_0x307970,_0x193f93),window[_0x9d74de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x193f93,0x6bd6f6a8^_0x1cf8f7);});}}_0x7282aa[_0x9d74de([0x6f,0x6e])](_0x9d74de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ecfb7,_0x2177c9)=>{if(_0x2177c9[0x0]!=_0x32ea8a)return _0x203f47(_0x9d74de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2177c9[0x1]={..._0x2177c9[0x1],[_0x9d74de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x458bad};},{[_0x9d74de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d74de([0x68,0x69,0x67,0x68])}),_0x7282aa[_0x9d74de([0x6f,0x6e])](_0x9d74de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3aad5c=>{_0x22bce5(_0x3aad5c[_0x9d74de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f267a=!0x0,_0x4069ad(_0x3aad5c[_0x9d74de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9d74de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d74de([0x6c,0x6f,0x77])}),_0x3c29ed[_0x9d74de([0x74,0x68,0x65,0x6e])](()=>{_0x3f267a||_0x203f47(_0x9d74de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a7e46(){return _0x7282aa[_0x9d74de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d74de([0x76,0x69,0x65,0x77])][_0x9d74de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9d74de([0x61,0x75,0x74,0x6f]);}function _0x3d3b8a(){_0x7282aa[_0x9d74de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d74de([0x76,0x69,0x65,0x77])][_0x9d74de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9d74de([0x61,0x75,0x74,0x6f]);}}function _0x36e2f5(_0x4055cc){const _0x29791d=[new window[(_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e8c1f=>setTimeout(_0x4e8c1f,0x6bde1ca4^_0x1cf8f7)),_0x3c29ed[_0x9d74de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97aab5=>{let _0x17ef09=0x0;_0x7282aa[_0x9d74de([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d74de([0x6f,0x6e])](_0x9d74de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32b84b,_0xa8f84f)=>{_0xa8f84f[0x0][_0x9d74de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17ef09++,_0x17ef09==(0x6bd72780^_0x1cf8f7)&&(_0x97aab5(),_0x32b84b[_0x9d74de([0x6f,0x66,0x66])]());});}))];return window[_0x9d74de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9d74de([0x72,0x61,0x63,0x65])](_0x29791d)[_0x9d74de([0x74,0x68,0x65,0x6e])](()=>_0x4055cc);}async function _0x2e0e67(){await _0x3c29ed,_0x7282aa[_0x9d74de([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d74de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24a7f7,_0x7282aa[_0x9d74de([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d74de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24a7f7,_0x7282aa[_0x9d74de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9d74de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x167fda(_0x2102f8){const _0x277629=_0x1c1101();_0x7282aa[_0x277629]=_0x9d74de([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2102f8,_0x2102f8!=_0x9d74de([0x56,0x61,0x6c,0x69,0x64])&&_0x2e0e67();}function _0x1c1101(){const _0x3570b2=window[_0x9d74de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9d74de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9d74de([0x6e,0x6f,0x77])]())[_0x9d74de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9d74de([0x2e]),'');let _0x41df0a=_0x9d74de([0x63]);for(let _0x208bbc=0x0;_0x208bbc<_0x3570b2[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x208bbc+=0x2){let _0x5ac179=window[_0x9d74de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3570b2[_0x9d74de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x208bbc,_0x208bbc+0x2));_0x5ac179>=_0x2d0a6e[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ac179-=_0x2d0a6e[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41df0a+=_0x2d0a6e[_0x5ac179];}return _0x41df0a;}function _0x2dc823(){const _0x507919=_0x37e62f[_0x9d74de([0x73,0x70,0x6c,0x69,0x74])](_0x9d74de([0x2e]));if(0x3!=_0x507919[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x428fea(_0x507919[0x1]);function _0x428fea(_0x3ca882){const _0x130629=_0x16444e(_0x3ca882);return _0x130629&&_0x18b568()?_0x130629:null;function _0x18b568(){const _0x2c95d4=_0x130629[_0x9d74de([0x6a,0x74,0x69])],_0x10f561=window[_0x9d74de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c95d4[_0x9d74de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c95d4[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40157b={..._0x130629,[_0x9d74de([0x6a,0x74,0x69])]:_0x2c95d4[_0x9d74de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c95d4[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40157b[_0x9d74de([0x76,0x63])],_0x56a0f8(_0x40157b)==_0x10f561;}}}async function _0x564b5d(){let _0x426b4a=!0x0;try{const _0x3c68fb=_0x37e62f[_0x9d74de([0x73,0x70,0x6c,0x69,0x74])](_0x9d74de([0x2e])),[_0x5cc756,_0x19cb80,_0x216064]=_0x3c68fb;return _0x2ee310(_0x5cc756),await _0x3f66b0(_0x5cc756,_0x19cb80,_0x216064),_0x426b4a;}catch{return!0x1;}function _0x2ee310(_0x2b257b){const _0x199275=_0x16444e(_0x2b257b);_0x199275&&_0x199275[_0x9d74de([0x61,0x6c,0x67])]==_0x9d74de([0x45,0x53,0x32,0x35,0x36])||(_0x426b4a=!0x1);}async function _0x3f66b0(_0x24f7c6,_0x44d951,_0x3ea01d){const _0x26d308=window[_0x9d74de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9d74de([0x66,0x72,0x6f,0x6d])](_0x4f5b8c(_0x3ea01d),_0x4b40d9=>_0x4b40d9[_0x9d74de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x370d7b=new window[(_0x9d74de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9d74de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24f7c6+_0x9d74de([0x2e])+_0x44d951),_0x3e04f7=window[_0x9d74de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9d74de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e04f7)return;const _0x509006=await _0x3e04f7[_0x9d74de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9d74de([0x6a,0x77,0x6b]),_0x58467e,{[_0x9d74de([0x6e,0x61,0x6d,0x65])]:_0x9d74de([0x45,0x43,0x44,0x53,0x41]),[_0x9d74de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9d74de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9d74de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e04f7[_0x9d74de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9d74de([0x6e,0x61,0x6d,0x65])]:_0x9d74de([0x45,0x43,0x44,0x53,0x41]),[_0x9d74de([0x68,0x61,0x73,0x68])]:{[_0x9d74de([0x6e,0x61,0x6d,0x65])]:_0x9d74de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x509006,_0x26d308,_0x370d7b)||(_0x426b4a=!0x1);}}function _0x16444e(_0x57fb1e){return _0x57fb1e[_0x9d74de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9d74de([0x65,0x79]))?JSON[_0x9d74de([0x70,0x61,0x72,0x73,0x65])](_0x4f5b8c(_0x57fb1e)):null;}function _0x4f5b8c(_0x322dc4){return window[_0x9d74de([0x61,0x74,0x6f,0x62])](_0x322dc4[_0x9d74de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9d74de([0x2b]))[_0x9d74de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9d74de([0x2f])));}function _0x56a0f8(_0x28306d){let _0x23d91f=0x1505;function _0x3e7721(_0x2fc675){for(let _0x4ec7be=0x0;_0x4ec7be<_0x2fc675[_0x9d74de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ec7be++){const _0x541725=_0x2fc675[_0x9d74de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ec7be);_0x23d91f=(_0x23d91f<<0x5)+_0x23d91f+_0x541725,_0x23d91f&=_0x23d91f;}}function _0x4d409e(_0x149600){Array[_0x9d74de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x149600)?_0x149600[_0x9d74de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d409e):_0x149600&&typeof _0x149600==_0x9d74de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9d74de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x149600)[_0x9d74de([0x73,0x6f,0x72,0x74])]()[_0x9d74de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46f042,_0x586995])=>{_0x3e7721(_0x46f042),_0x4d409e(_0x586995);}):_0x3e7721(window[_0x9d74de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x149600));}return _0x4d409e(_0x28306d),_0x23d91f>>>0x0;}function _0x17a30b(_0x44f754){return _0x44f754[_0x9d74de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9d74de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9d74de([0x30]));}function _0x3544fb(_0x3edec8){return _0x3edec8[_0x9d74de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9d74de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9d74de([0x6a,0x6f,0x69,0x6e])]('');}function _0x24a7f7(){}function _0x9d74de(_0x28cd4e){return _0x28cd4e['map'](_0xaffb9a=>String['fromCharCode'](_0xaffb9a))['join']('');}_0x167fda(await _0x490161());}(this);}['isMergeField'](_0x3d0283){return'mergeField'===_0x3d0283['name']||'mergeFieldBlock'===_0x3d0283['name']||!!('imageBlock'===_0x3d0283['name']||'imageInline'===_0x3d0283['name']&&_0x3d0283['getAttribute']('src'))&&!!_0x3d0283['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x17937f={},_0x8c7aa5=this['getMergeFieldsIds']();for(const _0x520052 of _0x8c7aa5)_0x17937f[_0x520052]=this['getMergeFieldDefaultValue'](_0x520052);return _0x17937f;}['getDataSetValues'](_0x29dfec,_0x57d94f=!0x1){const _0x323284={},_0x1e4a08=this['getMergeFieldsIds']();for(const _0x5e3f9a of _0x1e4a08){let _0x231d2a=this['getMergeFieldValue'](_0x5e3f9a,_0x29dfec);null===_0x231d2a&&_0x57d94f&&(_0x231d2a=this['getMergeFieldDefaultValue'](_0x5e3f9a)),_0x323284[_0x5e3f9a]=_0x231d2a;}return _0x323284;}['getLabel'](_0x5bef89){const _0x3bd0d9=this['getDefinition'](_0x5bef89);return _0x3bd0d9&&_0x3bd0d9['label']?_0x3bd0d9['label']:null;}['getMergeFieldDefaultValue'](_0x1d28f7){const _0x31582f=this['getDefinition'](_0x1d28f7);if(!_0x31582f||void 0x0===_0x31582f['defaultValue'])return null;const _0x45c1be='function'==typeof _0x31582f['defaultValue']?_0x31582f['defaultValue'](this['editor']):_0x31582f['defaultValue'];return String(_0x45c1be);}['getMergeFieldValue'](_0x36cdbb,_0x4fcf12){const _0x3550af=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x58842f=>_0x58842f['id']===_0x4fcf12);if(!_0x3550af)throw new _0x3ae0e8('merge-fields-data-set-not-found',null);const _0x55e60a=_0x3550af['values'][_0x36cdbb];if(void 0x0===_0x55e60a)return null;const _0x5ea78='function'==typeof _0x55e60a?_0x55e60a(this['editor']):_0x55e60a;return String(_0x5ea78);}['getMergeFieldType'](_0x5f0278){if('string'!=typeof _0x5f0278){const _0x183152=_0x5f0278;return'mergeField'===_0x183152['name']?'text':'mergeFieldBlock'===_0x183152['name']?'block':'imageBlock'!==_0x183152['name']&&'imageInline'!==_0x183152['name']||!_0x183152['getAttribute']('src')?null:_0x183152['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x3fecd9=this['getDefinition'](_0x5f0278);return _0x3fecd9&&_0x3fecd9['type']?_0x3fecd9['type']:'text';}['getMergeFieldHeight'](_0x28b66f){const _0x5f331e=this['getDefinition'](_0x28b66f);return _0x5f331e&&'block'===_0x5f331e['type']?_0x5f331e['height']||0x78:_0x5f331e&&'image'===_0x5f331e['type']?_0x5f331e['height']||0x190:null;}['getMergeFieldWidth'](_0x5610c4){const _0x43e41c=this['getDefinition'](_0x5610c4);return _0x43e41c&&'image'===_0x43e41c['type']?_0x43e41c['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x349bcb=new Set();for(const _0x3a5442 of this['_mergeFieldElements'])'$graveyard'!==_0x3a5442['root']['rootName']&&('image'===this['getMergeFieldType'](_0x3a5442)?_0x349bcb['add'](this['unwrapAffixes'](_0x3a5442['getAttribute']('src'))):_0x349bcb['add'](_0x3a5442['getAttribute']('id')));return Array['from'](_0x349bcb);}['getMergeFieldsIds'](){const _0x243f10=this['flattenedMergeFieldDefinitions']['map'](_0x5a5583=>_0x5a5583['id']),_0x2c9ad9=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x243f10,..._0x2c9ad9]));}['getDefinition'](_0x257b08){return this['flattenedMergeFieldDefinitions']['find'](_0x1a00f9=>_0x1a00f9['id']===_0x257b08)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x316d5a=>{'$graveyard'!==_0x316d5a['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x316d5a);});}['wrapInAffixes'](_0x41c2e3){return this['_mergeFieldPrefix']+_0x41c2e3+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x13aba0){return _0x13aba0['slice'](this['_mergeFieldPrefix']['length'],_0x13aba0['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x2ce569=new Set(),_0x457965=this['editor'];return _0x457965['config']['get']('mergeFields.definitions')['reduce']((_0x11445a,_0x35dcb9)=>{if('groupId'in _0x35dcb9){if(_0x2ce569['has'](_0x35dcb9['groupId']))throw new _0x3ae0e8('merge-fields-duplicate-group-id',_0x457965,{'duplicateId':_0x35dcb9['groupId']});_0x2ce569['add'](_0x35dcb9['groupId']);}return'groupId'in _0x35dcb9?function(_0x3cfa69,_0xd7dd7e){for(const _0x2e0e1e of _0xd7dd7e['definitions'])_0x3cfa69=_0x3cfa69['concat'](_0x2e0e1e);return _0x3cfa69;}['bind'](_0x457965)(_0x11445a,_0x35dcb9):_0x11445a['concat'](_0x35dcb9);},new Array());}['_validateConfig'](){const _0x556210=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x556210['test'](this['_mergeFieldPrefix'])||!_0x556210['test'](this['_mergeFieldSuffix']))throw new _0x3ae0e8('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x3ae0e8('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x43ecb1=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x37f53c=>{if(!Xp['test'](_0x37f53c['id']))throw new _0x3ae0e8('merge-fields-invalid-id',this,{'incorrectId':_0x37f53c['id']});if(_0x43ecb1['has'](_0x37f53c['id']))throw new _0x3ae0e8('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x37f53c['id']});_0x43ecb1['add'](_0x37f53c['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x3ae0e8('merge-fields-prefix-and-suffix-must-differ',this);const _0x1607f8=this['editor']['config']['get']('mergeFields.previewModes'),_0xc2f80f=['$labels','$defaultValues','$dataSets'];if(!_0x1607f8['length']||!_0x1607f8['every'](_0x2b83b2=>_0xc2f80f['includes'](_0x2b83b2)))throw new _0x3ae0e8('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x1607f8});const _0x211e5c=new Set(),_0x5429f2=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x1ce605 of _0x5429f2){if(_0x211e5c['has'](_0x1ce605['id']))throw new _0x3ae0e8('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x1ce605['id']});_0x211e5c['add'](_0x1ce605['id']);}}['_getAvailablePreviewModes'](){const _0x297343=this['editor']['config']['get']('mergeFields.previewModes'),_0xaf978=[];if(_0x297343['includes']('$labels')&&_0xaf978['push']('$labels'),_0x297343['includes']('$defaultValues')&&_0xaf978['push']('$defaultValues'),_0x297343['includes']('$dataSets')){const _0x3cad9b=this['editor']['config']['get']('mergeFields.dataSets');_0xaf978['push'](..._0x3cad9b['map'](_0x3534dc=>_0x3534dc['id']));}return _0xaf978;}['_defineSchema'](){const _0xd62ba9=this['editor']['model']['schema'];_0xd62ba9['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0xd62ba9['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x54bb50=this['editor']['conversion'];_0x54bb50['for']('upcast')['add'](_0xba1afa=>{_0xba1afa['on']('text',(_0xcadd14,_0x141f88,_0x36a5c5)=>{const {writer:_0x52d964,safeInsert:_0x17267e}=_0x36a5c5,{viewItem:_0x1451ba}=_0x141f88,_0x2fd254=_0x1451ba['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x3af90b=>_0x3af90b);if(0x1===_0x2fd254['length']&&!_0x2fd254[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x141f88['modelRange'])return;const _0x15fb4d=_0x52d964['createElement']('$cursor');_0x52d964['insert'](_0x15fb4d,_0x141f88['modelCursor']);const _0xeb7552=[];for(const _0xd63c99 of _0x141f88['modelRange']['getItems']()){if(!_0xd63c99['is']('$textProxy'))continue;const _0x35f730=_0xd63c99['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0xafbcb9=_0xd63c99['parent'],_0x27501a=_0xd63c99['textNode']['startOffset'];for(const _0x445935 of[..._0x35f730]['reverse']()){const _0x5ccb31=_0x445935[0x0],_0x1ec90=_0x52d964['createPositionAt'](_0xafbcb9,_0x445935['index']+_0x27501a),_0x380985=_0x1ec90['getShiftedBy'](_0x5ccb31['length']),_0x56a463=_0x52d964['createRange'](_0x1ec90,_0x380985),_0x372b12=this['unwrapAffixes'](_0x5ccb31),_0x5151cc=this['getMergeFieldType'](_0x372b12),_0x544717='block'==_0x5151cc?'mergeFieldBlock':'mergeField',_0x19bfd0=_0x52d964['createElement'](_0x544717,{'id':_0x372b12});_0x52d964['remove'](_0x56a463),_0x52d964['insert'](_0x19bfd0,_0x1ec90),'block'==_0x5151cc&&_0xeb7552['push'](_0x19bfd0);}}_0xeb7552['reverse']();for(const _0x54d74c of _0xeb7552){const _0x504189=_0x52d964['createPositionBefore'](_0x54d74c),_0x59805a=_0x54d74c['nextSibling']==_0x15fb4d;_0x52d964['remove'](_0x54d74c),_0x17267e(_0x54d74c,_0x504189)&&_0x59805a&&_0x52d964['move'](_0x52d964['createRangeOn'](_0x15fb4d),_0x52d964['createPositionAfter'](_0x54d74c));}_0x141f88['modelCursor']=_0x52d964['createPositionBefore'](_0x15fb4d),_0x141f88['modelRange']=_0x52d964['createRange'](_0x141f88['modelRange']['start'],_0x141f88['modelCursor']),_0x52d964['remove'](_0x15fb4d);},{'priority':_0x387442['get']('lowest')-0x1});}),_0x54bb50['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x365913,{writer:_0x3cb813})=>_0x3cb813['createElement']('mergeField',{'id':_0x365913['getAttribute']('data-ck-merge-field')})}),_0x54bb50['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x32997c,{writer:_0x5af1e3})=>_0x5af1e3['createElement']('mergeFieldBlock',{'id':_0x32997c['getAttribute']('data-ck-merge-field')})}),_0x54bb50['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x54bb50['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x4a3f15,{writer:_0x399524})=>this['_createMergeFieldWidget'](_0x4a3f15,_0x399524,'text')}),_0x54bb50['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x4ecce7,{writer:_0x5e891b,options:_0xc11692})=>this['_createTextualMergeField'](_0x4ecce7,_0x5e891b,_0xc11692)}),_0x54bb50['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x5cbdfc,{writer:_0x28b1f3})=>this['_createMergeFieldWidget'](_0x5cbdfc,_0x28b1f3,'block')}),_0x54bb50['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x5682c6,{writer:_0x5c40e3,options:_0x14ab65})=>this['_createTextualMergeField'](_0x5682c6,_0x5c40e3,_0x14ab65)}),_0x54bb50['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x54bb50['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x455f18=>{_0x455f18['on']('element:img',(_0x1ea95c,_0x3edb81,_0x585396)=>{_0x585396['consumable']['test'](_0x3edb81['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x585396['writer']['setAttribute']('src',this['wrapInAffixes'](_0x3edb81['viewItem']['getAttribute']('data-ck-merge-field')),_0x3edb81['modelCursor']['nodeBefore']),_0x585396['consumable']['consume'](_0x3edb81['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x24ed95){const _0x25ffc2=this['editor']['plugins']['get'](_0x358c38),_0x33967d=(_0x217540,_0x54ea58,_0x54f68a)=>{if(!0x1!==_0x54f68a['consumable']['test'](_0x54ea58['item'],_0x217540['name']))return;if(!String(_0x54ea58['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x1ffc8d=_0x54f68a['writer'],_0x425185=_0x54f68a['mapper']['toViewElement'](_0x54ea58['item']),_0x1f573d=_0x25ffc2['findViewImgElement'](_0x425185),_0x517e85=String(_0x54ea58['attributeNewValue']),_0x16cb9b=this['unwrapAffixes'](_0x517e85),_0x44c4fe=_0x54f68a['options']['mergeFieldsData'];if(_0x54f68a['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x1afd05;return _0x1afd05='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x16cb9b)||this['getLabel'](_0x16cb9b)||this['wrapInAffixes'](_0x16cb9b):this['getMergeFieldValue'](_0x16cb9b,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x16cb9b)||this['getLabel'](_0x16cb9b)||this['wrapInAffixes'](_0x16cb9b),_0x1ffc8d['setAttribute']('data-ck-merge-field',_0x16cb9b,_0x1f573d),void _0x1ffc8d['setAttribute'](_0x54ea58['attributeKey'],_0x1afd05,_0x1f573d);}const _0x521928=_0x44c4fe&&_0x44c4fe[_0x16cb9b]?_0x44c4fe[_0x16cb9b]:_0x517e85;_0x1ffc8d['setAttribute'](_0x54ea58['attributeKey'],_0x521928,_0x1f573d);};return _0x2074ee=>{_0x2074ee['on']('attribute:src:'+_0x24ed95,_0x33967d,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x3470ce){const _0x540560=this['editor']['plugins']['get'](_0x358c38),_0x56cc57=(_0x57b590,_0x5b8673,_0x4ec90c)=>{if(!0x1!==_0x4ec90c['consumable']['test'](_0x5b8673['item'],_0x57b590['name']))return;if(!String(_0x5b8673['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x585a0c=_0x4ec90c['writer'],_0x4a35f6=_0x4ec90c['mapper']['toViewElement'](_0x5b8673['item']),_0x1352d3=_0x540560['findViewImgElement'](_0x4a35f6),_0x1b8a19=String(_0x5b8673['attributeNewValue']),_0x32973f=this['unwrapAffixes'](_0x1b8a19),_0x53d976=this['getMergeFieldDefaultValue'](_0x32973f),_0x158a8d='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x319209,_0x4f65cd='',_0x2e7d50='';if('$labels'===this['previewMode'])_0x319209=_0x158a8d;else{if('$defaultValues'===this['previewMode'])_0x53d976?(_0x319209=_0x53d976,_0x2e7d50='\x20ck-merge-field-image_with-value'):(_0x319209=_0x158a8d,_0x4f65cd='WARNING_MISSING_DEFAULT_VALUE',_0x2e7d50='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x55ac87=this['getMergeFieldValue'](_0x32973f,this['previewMode']);_0x55ac87?(_0x319209=_0x55ac87,_0x2e7d50='\x20ck-merge-field-image_with-value'):_0x53d976?(_0x319209=_0x53d976,_0x2e7d50='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x4f65cd='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x319209=_0x158a8d,_0x2e7d50='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x4f65cd='WARNING_MISSING_DATA');}}if(_0x585a0c['addClass']('ck-merge-field-image'+_0x2e7d50,_0x4a35f6),_0x585a0c['setAttribute'](_0x5b8673['attributeKey'],_0x319209,_0x1352d3),'$labels'===this['previewMode']){const _0x5820c1='imageInline'===_0x3470ce?'span':'div',_0x3fe62c=this['_mergeFieldPrefix'],_0x419227=this['_mergeFieldSuffix'],_0x561bba=_0x585a0c['createContainerElement'](_0x5820c1,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x585a0c['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x26f16c){const _0x2a2672=this['toDomElement'](_0x26f16c);return _0x2a2672['innerHTML']=_0x3fe62c,_0x2a2672;}),_0x585a0c['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x585a0c['createText'](this['getLabel'](_0x32973f)||_0x32973f)),_0x585a0c['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4a54b7){const _0x5d4a3d=this['toDomElement'](_0x4a54b7);return _0x5d4a3d['innerHTML']=_0x419227,_0x5d4a3d;})]);_0x585a0c['insert'](_0x585a0c['createPositionAt'](_0x4a35f6,'end'),_0x561bba),_0x585a0c['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x32973f)||_0x32973f,_0x561bba);}else{if(_0x4f65cd&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x4f65cd)){const _0x1d20da='imageInline'===_0x3470ce?'span':'div',_0x2b876e=_0x2e7d50['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x3bd7ae=_0x585a0c['createContainerElement'](_0x1d20da,{'class':'ck-merge-field'+_0x2b876e,'data-cke-tooltip-instant':'true'},[_0x585a0c['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x585a0c['createText'](this['getLabel'](_0x32973f)||_0x32973f))]),_0x587066=_0x585a0c['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x552cac){const _0x15fcd1=this['toDomElement'](_0x552cac),_0x3ef577=new _0x24ab51();return _0x3ef577['set']({'content':_0x133f22}),_0x3ef577['render'](),_0x15fcd1['appendChild'](_0x3ef577['element']),_0x15fcd1;});_0x585a0c['insert'](_0x585a0c['createPositionAt'](_0x3bd7ae,'end'),_0x587066),_0x585a0c['insert'](_0x585a0c['createPositionAt'](_0x4a35f6,'end'),_0x3bd7ae),_0x585a0c['setCustomProperty']('mergeFieldStatus',_0x4f65cd,_0x3bd7ae),_0x585a0c['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x32973f)||_0x32973f,_0x3bd7ae);}}_0x585a0c['setAttribute']('data-merge-field-name',_0x32973f,_0x4a35f6),_0x4f65cd&&_0x585a0c['setCustomProperty']('mergeFieldStatus',_0x4f65cd,_0x4a35f6);};return _0x127bb8=>{_0x127bb8['on']('attribute:src:'+_0x3470ce,_0x56cc57,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0xee587d,_0x53e169){if(!_0x53e169['target'])return null;const _0x838d52=_0x53e169['target']['parentElement'];return _0x838d52&&_0x838d52['classList']['contains']('ck-merge-field-image')?new _0x5fea7(_0x838d52,_0xff8a0f=>{const _0x28a0be=_0xff8a0f['target'],_0x28ba00=_0x28a0be['querySelector']('.ck-merge-field'),_0x569c6b=_0x28a0be['querySelector']('.ck-merge-field__content');_0x28ba00&&_0x569c6b&&(_0x569c6b['scrollWidth']>_0x569c6b['getBoundingClientRect']()['width']?_0x28ba00['removeAttribute']('data-cke-tooltip-disabled'):_0x28ba00['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x343a85,_0x12f097,_0x40ddec){const {label:_0x475d4b,classes:_0x1a911d,status:_0x5c775d,height:_0xcea255}=this['_prepareViewElementData'](_0x343a85),_0x4da98c=this['_mergeFieldPrefix'],_0x5030c8=this['_mergeFieldSuffix'],_0x330bb8=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x30d41d='text'===_0x40ddec?'span':'div';let _0xaed1d1;if('$labels'===this['previewMode'])_0xaed1d1=_0x12f097['createContainerElement'](_0x30d41d,{'class':_0x1a911d},[_0x12f097['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4b5f9c){const _0x22173d=this['toDomElement'](_0x4b5f9c);return _0x22173d['innerHTML']=_0x4da98c,_0x22173d;}),_0x12f097['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x12f097['createText'](String(_0x475d4b))),_0x12f097['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4c4242){const _0x4d96ad=this['toDomElement'](_0x4c4242);return _0x4d96ad['innerHTML']=_0x5030c8,_0x4d96ad;})]);else{if(_0x5c775d){const _0x49ffa6=this['_shouldPreviewHtmlValues']?_0x12f097['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x3ee6cf,_0xa373a2){_0xa373a2['setContentOf'](_0x3ee6cf,_0x330bb8(_0x475d4b)['html']);}):_0x12f097['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x12f097['createText'](_0x475d4b));if(_0xaed1d1=_0x12f097['createContainerElement'](_0x30d41d,{'class':_0x1a911d},[_0x49ffa6]),'text'===_0x40ddec||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x5c775d)){const _0x25a3c4=_0x12f097['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x2d5a65){const _0x598d91=this['toDomElement'](_0x2d5a65),_0x1c3d2f=new _0x24ab51();return _0x1c3d2f['set']({'content':_0x133f22}),_0x1c3d2f['render'](),_0x598d91['appendChild'](_0x1c3d2f['element']),_0x598d91;});_0x12f097['insert'](_0x12f097['createPositionAt'](_0xaed1d1,'end'),_0x25a3c4);}_0x12f097['setCustomProperty']('mergeFieldStatus',_0x5c775d,_0xaed1d1);}else{const _0x150773=this['_shouldPreviewHtmlValues']?_0x12f097['createRawElement'](_0x30d41d,{},function(_0x35beab,_0x52bff3){_0x52bff3['setContentOf'](_0x35beab,_0x330bb8(_0x475d4b)['html']);}):_0x12f097['createText'](_0x475d4b);_0xaed1d1=_0x12f097['createContainerElement'](_0x30d41d,{'class':_0x1a911d},_0x150773);}}if('block'===_0x40ddec){const _0x446610=_0x12f097['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0xaed1d1]);if(('$labels'===this['previewMode']||_0x5c775d&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x5c775d))&&_0x12f097['setAttribute']('style','height:\x20'+_0xcea255+'px',_0x446610),_0xaed1d1['hasClass']('ck-merge-field_with-value'))_0x12f097['addClass']('ck-merge-field-block_with-value',_0x446610);else{if(_0xaed1d1['hasClass']('ck-merge-field_with-warning')){for(const _0xd5d424 of _0xaed1d1['getClassNames']())if('ck-merge-field'!==_0xd5d424){const _0x1a8fd5=_0xd5d424['replace']('ck-merge-field','ck-merge-field-block');_0x12f097['addClass'](_0x1a8fd5,_0x446610);}_0x12f097['setCustomProperty']('mergeFieldStatus',_0x5c775d,_0x446610);}}return _0x12f097['setCustomProperty']('mergeFieldBlock',!0x0,_0x446610),_0x12f097['setAttribute']('data-merge-field-name',_0x343a85['getAttribute']('id'),_0x446610),_0x5eb950(_0x446610,_0x12f097,{'hasSelectionHandle':!0x0});}return _0x12f097['setCustomProperty']('mergeField',!0x0,_0xaed1d1),_0x12f097['setAttribute']('data-merge-field-name',_0x343a85['getAttribute']('id'),_0xaed1d1),_0x5eb950(_0xaed1d1,_0x12f097);}['_prepareViewElementData'](_0x125100){const _0x2e4508=_0x125100['getAttribute']('id'),_0x2904f7=this['getDefinition'](_0x2e4508);if(!_0x2904f7)return'$labels'===this['previewMode']?{'label':_0x2e4508,'classes':'ck-merge-field'}:{'label':_0x2e4508,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x59b233=this['getLabel'](_0x2e4508)||_0x2e4508,_0x37ef05=this['getMergeFieldDefaultValue'](_0x2e4508),_0x5ca6d2=this['getMergeFieldHeight'](_0x2e4508);if('$labels'===this['previewMode'])return{'label':_0x59b233,'height':_0x5ca6d2,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x37ef05?{'label':_0x37ef05,'height':_0x5ca6d2,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x59b233,'height':_0x5ca6d2,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x4d3a97=this['getMergeFieldValue'](_0x2904f7['id'],this['previewMode']);return _0x4d3a97?{'label':_0x4d3a97,'height':_0x5ca6d2,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x37ef05?{'label':_0x37ef05,'height':_0x5ca6d2,'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':_0x59b233,'height':_0x5ca6d2,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x2e5913,_0x43cf3a,_0x135218){const _0x319b11=_0x2e5913['getAttribute']('id');let _0x238aaf;if(_0x135218['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x319b11,_0x43cf3a);const _0x1c9727=_0x135218['mergeFieldsData'],_0x10c448=_0x1c9727&&_0x1c9727[_0x319b11]?_0x1c9727[_0x319b11]:this['wrapInAffixes'](_0x319b11);if(_0x1c9727)_0x238aaf=_0x43cf3a['createRawElement']('span',{},function(_0x120827,_0x3fb08d){_0x3fb08d['setContentOf'](_0x120827,String(_0x10c448));});else{_0x238aaf=_0x43cf3a['createContainerElement']('span');const _0x40b19a=_0x43cf3a['createText'](_0x10c448);_0x43cf3a['insert'](_0x43cf3a['createPositionAt'](_0x238aaf,'end'),_0x40b19a);}return _0x43cf3a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x238aaf),_0x238aaf;}['_downcastForClipboard'](_0x2ab882,_0x263eca){const _0x1d8f34='block'===this['getMergeFieldType'](_0x2ab882)?'div':'span';let _0x57e77f,_0x2dfabd;_0x57e77f='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x2ab882)||this['getLabel'](_0x2ab882)||this['wrapInAffixes'](_0x2ab882):this['getMergeFieldValue'](_0x2ab882,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x2ab882)||this['getLabel'](_0x2ab882)||this['wrapInAffixes'](_0x2ab882);const _0x474299=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x2dfabd=this['_shouldPreviewHtmlValues']?_0x263eca['createRawElement'](_0x1d8f34,{'data-ck-merge-field':_0x2ab882},function(_0x10f872,_0x10bb6b){_0x10bb6b['setContentOf'](_0x10f872,_0x474299(_0x57e77f)['html']);}):_0x263eca['createContainerElement'](_0x1d8f34,{'data-ck-merge-field':_0x2ab882},_0x263eca['createText'](_0x57e77f)),_0x2dfabd;}['_validatePreviewMode'](_0x20f795){if(!this['availablePreviewModes']['includes'](_0x20f795))throw new _0x3ae0e8('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x20f795});}['_trackAddedMergeFields'](){for(const _0x4dd147 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4dd147['type']||'$text'===_0x4dd147['name'])continue;if('mergeField'===_0x4dd147['name']||'mergeFieldBlock'===_0x4dd147['name']){this['_mergeFieldElements']['add'](_0x4dd147['position']['nodeAfter']);continue;}if('imageInline'===_0x4dd147['name']||'imageBlock'===_0x4dd147['name']&&_0x4dd147['attributes']['get']('src')&&String(_0x4dd147['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x4dd147['position']['nodeAfter']);continue;}const _0x5d3827=this['editor']['model']['createRangeIn'](_0x4dd147['position']['nodeAfter']);for(const _0x414c48 of _0x5d3827['getItems']())_0x414c48['is']('element')&&this['isMergeField'](_0x414c48)&&this['_mergeFieldElements']['add'](_0x414c48);}}['_registerConversionPostFixer'](){const _0x5b1318=this['editor'];_0x5b1318['model']['document']['registerPostFixer'](_0x3d928e=>{if(!_0x3d928e['batch']['isLocal'])return!0x1;const _0x51b408=[],_0x97f6d1=new Set(),_0x55520d=this['_mergeFieldRegExp'];let _0x5e7de0=!0x1;for(const _0x46ec6d of _0x5b1318['model']['document']['differ']['getChanges']())if('insert'===_0x46ec6d['type']||'remove'===_0x46ec6d['type']){let _0x32692c='$text'==_0x46ec6d['name']?_0x46ec6d['position']['parent']:_0x46ec6d['position']['nodeAfter'];if(!_0x32692c)continue;_0x32692c['is']('$text')&&(_0x32692c=_0x32692c['parent']),_0x2ec43f(_0x32692c);}for(const _0x59e8b4 of _0x51b408['reverse']()){const {match:_0x242627,item:_0x145b12}=_0x59e8b4,_0x6d0adc=_0x3d928e['createPositionAt'](_0x145b12,_0x242627['index']),_0x142a5f=_0x6d0adc['getShiftedBy'](_0x242627[0x0]['length']),_0x3b0f9b=_0x3d928e['createRange'](_0x6d0adc,_0x142a5f),_0x1c452c=_0x242627[0x0],_0x36e6f9=this['unwrapAffixes'](_0x1c452c),_0x28cd25=_0x434fe7(_0x3b0f9b),_0xedac0a=this['getMergeFieldType'](_0x36e6f9);if(Xp['test'](_0x36e6f9)){if(_0x28cd25['set']('id',_0x36e6f9),'block'===_0xedac0a){const _0x1473f0=_0x3d928e['createElement']('mergeFieldBlock',{'id':_0x36e6f9});_0x3d928e['remove'](_0x3b0f9b),_0x5b1318['model']['insertObject'](_0x1473f0,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0xedac0a){const _0x58b53c=_0x3d928e['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x36e6f9)});_0x3d928e['remove'](_0x3b0f9b),_0x5b1318['model']['insertObject'](_0x58b53c,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x5d7ed2=_0x3d928e['createElement']('mergeField',_0x28cd25);_0x5b1318['model']['schema']['checkChild'](_0x3b0f9b['start'],'mergeField')?_0x5b1318['model']['insertObject'](_0x5d7ed2,_0x3b0f9b):_0x3d928e['remove'](_0x3b0f9b);}}_0x5e7de0=!0x0;}}return _0x5e7de0;function _0x2ec43f(_0x25e72a){let _0x357109='',_0xe8583f=0x0;if(!_0x97f6d1['has'](_0x25e72a))for(const _0x267c5d of _0x25e72a['getChildren']()){const _0x175798=_0x267c5d['nextSibling'];if(_0x267c5d['is']('$text')&&(''===_0x357109&&_0x267c5d['startOffset']&&(_0xe8583f=_0x267c5d['startOffset']),_0x357109+=_0x267c5d['data']),!_0x175798||_0x175798['is']('element')){for(const _0x18067d of _0x357109['matchAll'](_0x55520d))_0x18067d['index']=_0x18067d['index']+_0xe8583f,_0x51b408['push']({'match':_0x18067d,'item':_0x25e72a});_0x97f6d1['add'](_0x25e72a),_0x357109='';}_0x267c5d['is']('element')&&_0x2ec43f(_0x267c5d);}}function _0x434fe7(_0x4ab6c4){const _0x16232a=_0x4ab6c4['getItems'](),_0x1fe3c8=_0x16232a['next']()['value'],_0x4c829c=new Map(_0x1fe3c8['getAttributes']());for(const _0xa09fda of _0x16232a)for(const [_0x4a0bba,_0x8e0944]of _0x4c829c)_0xa09fda['getAttribute'](_0x4a0bba)!==_0x8e0944&&_0x4c829c['delete'](_0x4a0bba);return _0x4c829c;}});}['_disableCommandOnMergeFields'](_0x28c950){const _0x2e04fe=this['editor'],_0x2d8807=_0x2e04fe['commands']['get'](_0x28c950);_0x2d8807&&_0x2d8807['on']('set:isEnabled',(_0x4d9d40,_0x40aced,_0x436ee0)=>{if(0x1==_0x436ee0){const _0x54a645=_0x2e04fe['model']['document']['selection']['getSelectedElement']();_0x54a645&&this['isMergeField'](_0x54a645)&&(_0x4d9d40['return']=!0x1,_0x4d9d40['stop']());}});}}class MergeFieldsListView extends _0x171307{['filter'](_0x2ab624){return Ht(_0x2ab624,this['items']);}}class MergeFieldsPanelView extends _0x278baa{constructor(_0x320878){super(_0x320878),this['set']('text','');const _0x221521=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':_0x221521['to']('text')}]}]});}}function qp(_0x183ed8,_0x1ca719){const t=_0x183ed8['t'];switch(_0x1ca719){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 _0x1ca719;}}class MergeFieldsUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[_0x2d70b0,MergeFieldsEditing,Dt,_0x3d4884];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x587b95){super(_0x587b95),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x55a06d=this['editor'];_0x55a06d['ui']['componentFactory']['add']('insertMergeField',_0x3f1484=>{const _0x2be29b=function(_0x24b760){const _0x4b4ead=nt(_0x24b760);return _0x4b4ead['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x4b4ead['buttonView']['set']({'label':qp(_0x24b760,'Insert\x20merge\x20field'),'icon':_0x5a7fd3,'tooltip':!0x0}),_0x4b4ead;}(_0x3f1484);return _0x2be29b['bind']('isEnabled')['toMany']([_0x55a06d['commands']['get']('insertMergeField'),_0x55a06d['commands']['get']('insertMergeFieldBlock'),_0x55a06d['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x574b6a)=>_0x574b6a['some'](_0x58eb81=>_0x58eb81)),_0x2be29b['once']('change:isOpen',()=>{const _0x57c9a6={'insertInline':_0x55a06d['commands']['get']('insertMergeField'),'insertBlock':_0x55a06d['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x55a06d['commands']['get']('insertMergeFieldImage')},_0x4866af=function(_0x2e0e26,_0x5e1f93,_0x4d0713){const _0x13b529=new MergeFieldsListView(_0x2e0e26),_0x3082a3=[],_0x1a7d44=[];for(const _0x3eb6f0 of _0x5e1f93)if('groupId'in _0x3eb6f0){const _0x1b8320=Wp(_0x2e0e26,_0x3eb6f0['groupLabel']||_0x3eb6f0['groupId'],_0x3eb6f0['definitions'],_0x4d0713);_0x1b8320['delegate']('execute')['to'](_0x13b529),_0x1a7d44['push'](_0x1b8320);}else _0x3082a3['push'](_0x3eb6f0);if(_0x3082a3['length']){const _0xe32943=Wp(_0x2e0e26,'Other',_0x3082a3,_0x4d0713);_0xe32943['delegate']('execute')['to'](_0x13b529),_0x1a7d44['push'](_0xe32943);}return _0x13b529['items']['addMany'](_0x1a7d44),_0x13b529;}(_0x3f1484,_0x55a06d['config']['get']('mergeFields.definitions'),_0x57c9a6);_0x4866af['delegate']('execute')['to'](_0x2be29b),_0x2be29b['on']('execute',(_0x13fe16,_0x48ef3a)=>{const _0x2db526=_0x55a06d['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x48ef3a);'image'===_0x2db526?_0x55a06d['execute']('insertMergeFieldImage',_0x48ef3a):'block'===_0x2db526?_0x55a06d['execute']('insertMergeFieldBlock',_0x48ef3a):_0x55a06d['execute']('insertMergeField',_0x48ef3a),_0x55a06d['editing']['view']['focus']();});const _0x4c709d=function(_0x4299ed,_0x277307){return new St(_0x4299ed,{'filteredView':_0x277307,'queryView':{'label':qp(_0x4299ed,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':qp(_0x4299ed,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':qp(_0x4299ed,'No\x20merge\x20fields\x20available')}}}});}(_0x3f1484,_0x4866af);_0x2be29b['panelView']['children']['add'](_0x4c709d),_0x2be29b['on']('change:isOpen',(_0x33339a,_0xebbc6c,_0x4c9c4b)=>{_0x4c9c4b&&_0x4c709d['reset']();});}),_0x2be29b;}),_0x55a06d['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x10e41d=>{const _0x2a2ba5=new ot(_0x10e41d),_0x1153ef={'insertInline':_0x55a06d['commands']['get']('insertMergeField'),'insertBlock':_0x55a06d['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x55a06d['commands']['get']('insertMergeFieldImage')};_0x2a2ba5['buttonView']['set']({'label':qp(_0x10e41d,'Merge\x20field'),'icon':_0x5a7fd3}),_0x2a2ba5['bind']('isEnabled')['toMany']([...Object['values'](_0x1153ef)],'isEnabled',(..._0x3f9772)=>_0x3f9772['some'](_0x407ca3=>_0x407ca3));const _0x2318c1=[],_0x4cc2ad=new lt(_0x10e41d);for(const _0x559507 of _0x55a06d['config']['get']('mergeFields.definitions'))if('groupId'in _0x559507){const _0x433cf7=new ht(_0x10e41d,_0x2a2ba5),_0x1c1ed6=Yp(_0x10e41d,_0x559507,_0x1153ef);_0x433cf7['children']['add'](_0x1c1ed6),_0x1c1ed6['delegate']('execute')['to'](_0x2a2ba5),_0x4cc2ad['items']['add'](_0x433cf7);}else _0x2318c1['push'](_0x559507);if(_0x2318c1['length']){if(0x0===_0x4cc2ad['items']['length'])for(const _0x393472 of _0x2318c1){let _0x1dcd5d;_0x1dcd5d='block'===_0x393472['type']?_0x1153ef['insertBlock']:'image'===_0x393472['type']?_0x1153ef['insertImage']:_0x1153ef['insertInline'];const _0x19ca17=Kp(_0x10e41d,_0x393472,_0x2a2ba5,_0x1dcd5d);_0x4cc2ad['items']['add'](_0x19ca17);}else{const _0x437e39=new ht(_0x10e41d,_0x2a2ba5),_0x175688=Yp(_0x10e41d,{'groupId':'Other','definitions':_0x2318c1},_0x1153ef);_0x437e39['children']['add'](_0x175688),_0x175688['delegate']('execute')['to'](_0x2a2ba5),_0x4cc2ad['items']['add'](_0x437e39);}}return _0x2a2ba5['panelView']['children']['add'](_0x4cc2ad),_0x2a2ba5['on']('execute',(_0x2035c9,_0x1d796c)=>{const _0x5995df=_0x55a06d['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x1d796c);'image'===_0x5995df?_0x55a06d['execute']('insertMergeFieldImage',_0x1d796c):'block'===_0x5995df?_0x55a06d['execute']('insertMergeFieldBlock',_0x1d796c):_0x55a06d['execute']('insertMergeField',_0x1d796c),_0x55a06d['editing']['view']['focus']();}),_0x2a2ba5;});const _0x5a1c67=_0x55a06d['config']['get']('mergeFields.previewModes'),_0x3aee37=[];if(_0x5a1c67['includes']('$labels')&&_0x3aee37['push']({'type':'button','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':qp(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x5a1c67['includes']('$defaultValues')&&_0x3aee37['push']({'type':'button','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':qp(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x5a1c67['includes']('$dataSets')){const _0x2b345f=_0x55a06d['config']['get']('mergeFields.dataSets');if(_0x2b345f['length']){for(const _0x25e30a of _0x2b345f)_0x3aee37['push']({'type':'button','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':_0x25e30a['label']||_0x25e30a['id'],'commandValue':_0x25e30a['id']})});}}_0x55a06d['ui']['componentFactory']['add']('previewMergeFields',_0x5ad6a5=>{const _0x51eda1=_0x55a06d['commands']['get']('previewMergeFields'),_0x6749f3=new _0x307d11();for(const _0x235421 of kr(_0x3aee37))_0x235421['model']['bind']('isOn')['to'](_0x51eda1,'value',_0xe96a7f=>_0xe96a7f===_0x235421['model']['commandValue']),_0x6749f3['add'](_0x235421);const _0x58cf0f=nt(_0x5ad6a5),_0x30961c=qp(_0x5ad6a5,'Merge\x20fields\x20preview');return _0x58cf0f['bind']('isEnabled')['to'](_0x51eda1),pt(_0x58cf0f,_0x6749f3,{'ariaLabel':_0x30961c,'role':'menu'}),_0x58cf0f['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x58cf0f['buttonView']['set']({'label':_0x30961c,'ariaLabel':_0x30961c,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x3413f8,'tooltip':!0x0}),this['listenTo'](_0x58cf0f,'execute',_0x1f004d=>{const {commandValue:_0x564461}=_0x1f004d['source'];_0x55a06d['execute']('previewMergeFields',_0x564461),_0x55a06d['editing']['view']['focus']();}),_0x58cf0f;}),_0x55a06d['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x26b2f4=>{const _0x15d5c4=new ot(_0x26b2f4),_0x3789d9=_0x55a06d['commands']['get']('previewMergeFields');_0x15d5c4['buttonView']['set']({'label':qp(_0x26b2f4,'Merge\x20fields\x20preview'),'icon':_0x3413f8}),_0x15d5c4['bind']('isEnabled')['to'](_0x3789d9);const _0x2ffa85=new lt(_0x26b2f4);_0x2ffa85['set']({'ariaLabel':qp(_0x26b2f4,'Merge\x20fields\x20preview')});for(const _0x5eae37 of kr(_0x3aee37)){const _0x71d8fe=new ht(_0x26b2f4,_0x15d5c4),_0x56ef6e=new at(_0x26b2f4);_0x5eae37['model']['bind']('isOn')['to'](_0x3789d9,'value',_0x2fceb1=>_0x2fceb1===_0x5eae37['model']['commandValue']),_0x56ef6e['isToggleable']=!0x0,_0x56ef6e['bind'](...Object['keys'](_0x5eae37['model']))['to'](_0x5eae37['model']),_0x56ef6e['delegate']('execute')['to'](_0x15d5c4),_0x56ef6e['on']('execute',_0x1b6fca=>{const {commandValue:_0x2d566c}=_0x1b6fca['source'];_0x55a06d['execute']('previewMergeFields',_0x2d566c),_0x55a06d['editing']['view']['focus']();}),_0x71d8fe['children']['add'](_0x56ef6e),_0x2ffa85['items']['add'](_0x71d8fe);}return _0x15d5c4['panelView']['children']['add'](_0x2ffa85),_0x15d5c4;}),this['_balloon']=_0x55a06d['plugins']['get'](Dt),this['listenTo'](_0x55a06d['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x55a06d['ui']['focusTracker'],'change:isFocused',(_0x4741ce,_0x19a0a5,_0x14b363)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x14b363?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x45cbb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x588705;for(const _0x3cc290 in _0x45cbb){const _0x535d98=_0x3cc290,_0x4f98c2=_0x45cbb[_0x535d98];if('mergeFieldsLicenseKeyValid'==_0x4f98c2||'mergeFieldsLicenseKeyInvalid'==_0x4f98c2||'mergeFieldsLicenseKeyExpired'==_0x4f98c2||'mergeFieldsLicenseKeyDomainLimit'==_0x4f98c2||'mergeFieldsLicenseKeyNotAllowed'==_0x4f98c2||'mergeFieldsLicenseKeyEvaluationLimit'==_0x4f98c2||'mergeFieldsLicenseKeyUsageLimit'==_0x4f98c2){delete _0x45cbb[_0x535d98],_0x588705=_0x4f98c2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x588705&&_0x45cbb['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x588705&&_0x45cbb['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x588705&&_0x45cbb['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x588705&&_0x45cbb['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x588705&&_0x45cbb['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x588705&&_0x45cbb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x624649=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x38e820=!(!_0x624649||!_0x624649['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x38e820){const _0x5d4b0a=_0x624649['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=qp(this['editor']['locale'],_0x5d4b0a),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x38e820){const _0x16ae56=_0x624649['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](qp(this['editor']['locale'],_0x16ae56));}}}['_showBalloon'](_0xbc9397){this['_balloonPanelView']||(this['_balloonPanelView']=new MergeFieldsPanelView(this['editor']['locale']),this['_balloonPanelView']['text']=_0xbc9397),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x3a4c27=this['editor']['editing']['view'];return{'target':()=>{const _0x33e14d=_0x3a4c27['document']['selection']['getFirstRange'](),_0x7fc959=_0x3a4c27['domConverter']['mapViewToDom'](_0x33e14d['getContainedElement']());return _0x7fc959?Array['from'](_0x7fc959['getClientRects']())[0x0]:_0x3a4c27['domConverter']['viewRangeToDom'](_0x33e14d);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x327e0c=>_0x327e0c))return;const _0x3f3a3c=this['editor']['config']['get']('mergeFields.previewModes');_0x3f3a3c['indexOf']('$defaultValues')>-0x1&&_0x3f3a3c['length']>0x1&&(_0x3f3a3c['splice'](_0x3f3a3c['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x3f3a3c));}['_removeMenuBarButtonIfUnnecessary'](){const _0x38db5c=this['editor']['config'];if(_0x38db5c['get']('mergeFields.previewModes')){const _0x442e4e=_0x38db5c['get']('mergeFields.previewModes');if(0x1===_0x442e4e['length']){if(_0x442e4e['includes']('$dataSets'))0x1===_0x38db5c['get']('mergeFields.dataSets')['length']&&_0x1463c6();else _0x1463c6();}}function _0x1463c6(){const _0x514de5=_0x38db5c['get']('menuBar.removeItems');_0x514de5?(_0x514de5['push']('menuBar:previewMergeFields'),_0x38db5c['set']('menuBar.removeItems',_0x514de5)):_0x38db5c['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0xaf244=this['editor'],_0xd9f415=_0xaf244['config']['get']('mention.feeds'),_0x26f925=_0xaf244['config']['get']('mergeFields.prefix');_0xd9f415['push']({'marker':_0x26f925,'dropdownLimit':0xa,'feed':_0x3c8124=>_0xaf244['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x56434b=>{const _0x29f6e7=_0xaf244['commands']['get']('insertMergeField')['isEnabled'],_0x2b5bcd=_0xaf244['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x4e4fde=_0xaf244['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x374ecf=_0xaf244['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x56434b['id']);if('text'===_0x374ecf&&!_0x29f6e7)return!0x1;if('block'===_0x374ecf&&!_0x2b5bcd)return!0x1;if('image'===_0x374ecf&&!_0x4e4fde)return!0x1;return(_0xaf244['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x56434b['id'])||_0x56434b['id'])['toLowerCase']()['includes'](_0x3c8124['toLowerCase']());}),'itemRenderer':_0x413a86=>{const _0x5976aa=document['createElement']('button');return _0x5976aa['innerHTML']=''+(_0x413a86['label']||_0x413a86['id']),_0x5976aa;}}),_0xaf244['config']['set']('mention.feeds',_0xd9f415);}['_overrideMentionExecuteListener'](){const _0x5c19ee=this['editor'];_0x5c19ee['commands']['get']('mention')['on']('execute',(_0x8b60a6,_0x1cbf38)=>{const _0xa857e3=_0x1cbf38[0x0];_0xa857e3['marker']===_0x5c19ee['config']['get']('mergeFields.prefix')&&_0x5c19ee['model']['change'](_0x9c58a3=>{_0x9c58a3['remove'](_0xa857e3['range']);const _0xb41421=_0xa857e3['mention']['id'],_0x2bfd74=_0x5c19ee['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0xb41421);'text'===_0x2bfd74?_0x5c19ee['execute']('insertMergeField',_0xb41421):'block'===_0x2bfd74?_0x5c19ee['execute']('insertMergeFieldBlock',_0xb41421,!0x1):_0x5c19ee['execute']('insertMergeFieldImage',_0xb41421,{'breakBlock':!0x0}),_0x8b60a6['stop']();});},{'priority':'high'});}}function Wp(_0x1ce95f,_0xce572,_0xfe646b,_0xe82c70){const _0x456b8d=new _0x494766(_0x1ce95f,new Gt());_0x456b8d['label']=_0xce572;for(const _0x574e95 of _0xfe646b){let _0x225e34;_0x225e34='block'===_0x574e95['type']?_0xe82c70['insertBlock']:'image'===_0x574e95['type']?_0xe82c70['insertImage']:_0xe82c70['insertInline'];const _0x5bcaaa=zp(_0x1ce95f,_0x574e95,_0x225e34);_0x5bcaaa['delegate']('execute')['to'](_0x456b8d),_0x456b8d['items']['add'](_0x5bcaaa);}return _0x456b8d;}function zp(_0x53b333,_0x1ff644,_0x3f97ea){const _0x517568=new _0x3a2da2(_0x53b333),_0x55869e=new Ct(),_0x53c443=new _0x1a631f(_0x53b333,_0x55869e);return _0x517568['children']['add'](_0x53c443),_0x53c443['set']({'label':_0x1ff644['label']||_0x1ff644['id'],'withText':!0x0}),_0x53c443['bind']('isEnabled')['to'](_0x3f97ea),_0x53c443['on']('execute',()=>{_0x517568['fire']('execute',_0x1ff644['id']);}),_0x517568;}function Yp(_0x5120de,_0x5c8dc0,_0x1267ff){const _0xab1e9a=new ot(_0x5120de),_0x5a8daf=new lt(_0x5120de);for(const _0x3ca392 of _0x5c8dc0['definitions']){let _0x244f13;_0x244f13='block'===_0x3ca392['type']?_0x1267ff['insertBlock']:'image'===_0x3ca392['type']?_0x1267ff['insertImage']:_0x1267ff['insertInline'];const _0x27c664=Kp(_0x5120de,_0x3ca392,_0xab1e9a,_0x244f13);_0x5a8daf['items']['add'](_0x27c664);}return _0xab1e9a['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0xab1e9a['buttonView']['set']({'label':_0x5c8dc0['groupLabel']||_0x5c8dc0['groupId']}),_0xab1e9a['panelView']['children']['add'](_0x5a8daf),_0xab1e9a;}function Kp(_0x3a4012,_0x32aba5,_0x551239,_0x335ae3){const _0x4ef357=new ht(_0x3a4012,_0x551239),_0x52416e=new at(_0x3a4012);return _0x52416e['set']({'label':_0x32aba5['label']||_0x32aba5['id']}),_0x4ef357['delegate']('execute')['to'](_0x551239),_0x4ef357['children']['add'](_0x52416e),_0x52416e['bind']('isEnabled')['to'](_0x335ae3),_0x52416e['on']('execute',()=>{_0x4ef357['fire']('execute',_0x32aba5['id']);}),_0x4ef357;}class MergeFields extends _0x7cf71c{static get['requires'](){return[MergeFieldsEditing,MergeFieldsUI];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x7cf71c{['_recalculatePageBreaksDebounced']=jr(()=>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 _0x5eb6e4('pagination-config-not-found',this['editor']['config']);const _0x5527f7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5527f7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x167b77,_0x41df97,_0x4479d8)=>{_0x4479d8&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x1c0b97){const _0x2bf598=_0x5b9004([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]),_0x3029f2=0xc82cb1e,_0x1113a2=0xc854176^_0x3029f2,_0x5e1d5d=window[_0x5b9004([0x44,0x61,0x74,0x65])][_0x5b9004([0x6e,0x6f,0x77])](),_0x1725af=_0x1c0b97[_0x5b9004([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x296d53=new window[(_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e6af9=>{_0x1725af[_0x5b9004([0x6f,0x6e,0x63,0x65])](_0x5b9004([0x72,0x65,0x61,0x64,0x79]),_0x1e6af9);}),_0x1b1390={[_0x5b9004([0x6b,0x74,0x79])]:_0x5b9004([0x45,0x43]),[_0x5b9004([0x75,0x73,0x65])]:_0x5b9004([0x73,0x69,0x67]),[_0x5b9004([0x63,0x72,0x76])]:_0x5b9004([0x50,0x2d,0x32,0x35,0x36]),[_0x5b9004([0x78])]:_0x5b9004([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]),[_0x5b9004([0x79])]:_0x5b9004([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]),[_0x5b9004([0x61,0x6c,0x67])]:_0x5b9004([0x45,0x53,0x32,0x35,0x36])},_0x1c7b3d=_0x1725af[_0x5b9004([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b9004([0x67,0x65,0x74])](_0x5b9004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18409d(){let _0x448459,_0x4cfa42=null,_0x142d41=null;try{if(_0x1c7b3d==_0x5b9004([0x47,0x50,0x4c]))return _0x5b9004([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x448459=_0x11753f(),!_0x448459)return _0x5b9004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x448459[_0x5b9004([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x142d41=_0x392b02(_0x448459[_0x5b9004([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x448459[_0x5b9004([0x6a,0x74,0x69])])),await _0x463ccd()?_0x719505()?_0x1a9adc()?_0x5b9004([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e55ee()?(_0x448459[_0x5b9004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b9004([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cfa42=_0x2450c5(_0x5b9004([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4babf7()):_0x5b9004([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b9004([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b9004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b9004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a9adc(){const _0x52e684=[_0x5b9004([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b9004([0x74,0x72,0x69,0x61,0x6c])][_0x5b9004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x448459[_0x5b9004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e1d5d/0x3e8:0xe10*_0x1113a2;return _0x448459[_0x5b9004([0x65,0x78,0x70])]<_0x52e684;}function _0x719505(){const _0x5e321e=_0x448459[_0x5b9004([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e321e&&(!!_0x5e321e[_0x5b9004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9004([0x2a]))||!!_0x5e321e[_0x5b9004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9004([0x50,0x41,0x47])));}function _0x2e55ee(){const _0x5dedb6=_0x448459[_0x5b9004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dedb6||0x0==_0x5dedb6[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x79f2ca}=new URL(window[_0x5b9004([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dedb6[_0x5b9004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x79f2ca))return!0x0;const _0x4d6c8a=_0x79f2ca[_0x5b9004([0x73,0x70,0x6c,0x69,0x74])](_0x5b9004([0x2e]));return _0x5dedb6[_0x5b9004([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b8a42=>_0x1b8a42[_0x5b9004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9004([0x2a])))[_0x5b9004([0x6d,0x61,0x70])](_0x36e8d5=>_0x36e8d5[_0x5b9004([0x73,0x70,0x6c,0x69,0x74])](_0x5b9004([0x2e])))[_0x5b9004([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x178e87=>_0x178e87[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d6c8a[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b9004([0x6d,0x61,0x70])](_0x515ffc=>Array(_0x4d6c8a[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x515ffc[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b9004([0x66,0x69,0x6c,0x6c])](_0x515ffc[0x0]===_0x5b9004([0x2a])?_0x5b9004([0x2a]):'')[_0x5b9004([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x515ffc))[_0x5b9004([0x73,0x6f,0x6d,0x65])](_0x2963ff=>_0x4d6c8a[_0x5b9004([0x65,0x76,0x65,0x72,0x79])]((_0x1b3184,_0x197f43)=>_0x2963ff[_0x197f43]===_0x1b3184||_0x2963ff[_0x197f43]===_0x5b9004([0x2a])));}function _0x4babf7(){return _0x4cfa42&&_0x142d41?new window[(_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f7008,_0x4017be)=>{_0x4cfa42[_0x5b9004([0x74,0x68,0x65,0x6e])](_0x2f7008,_0x4017be),_0x142d41[_0x5b9004([0x74,0x68,0x65,0x6e])](_0x4fcb60=>{_0x4fcb60!=_0x5b9004([0x56,0x61,0x6c,0x69,0x64])&&_0x2f7008(_0x4fcb60);},_0x4017be);}):_0x4cfa42||_0x142d41||_0x5b9004([0x56,0x61,0x6c,0x69,0x64]);}}function _0x392b02(_0x429a3c,_0x38b11c){return new window[(_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37b6d0=>{if(_0x78f04d())return _0x37b6d0(_0x5b9004([0x56,0x61,0x6c,0x69,0x64]));_0x223f44(),_0x1725af[_0x5b9004([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b9004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b0e97=!0x1;const _0x5c802c=_0x462bc0();function _0x468fe7(_0x3f6af0){return!!_0x3f6af0&&(typeof _0x3f6af0===_0x5b9004([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f6af0===_0x5b9004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f6af0[_0x5b9004([0x74,0x68,0x65,0x6e])]===_0x5b9004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f6af0[_0x5b9004([0x63,0x61,0x74,0x63,0x68])]===_0x5b9004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51e1b7(_0x1a4f5f){_0x15ebf5(_0x1a4f5f)[_0x5b9004([0x74,0x68,0x65,0x6e])](_0x2568b9=>{if(!_0x2568b9||_0x2568b9[_0x5b9004([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b9004([0x6f,0x6b]))return _0x5b9004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cc1e8(_0x1f45bf(_0x5c802c+_0x38b11c))!=_0x2568b9[_0x5b9004([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b9004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b9004([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b9004([0x74,0x68,0x65,0x6e])](_0x9451c=>(_0x132953(),_0x9451c),()=>{const _0x2179be=_0x56ef0f();return null==_0x2179be?(_0x132953(),_0x5b9004([0x56,0x61,0x6c,0x69,0x64])):_0x5b9004(_0x5e1d5d-_0x2179be>(0x288e4f1e^_0x3029f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b9004([0x74,0x68,0x65,0x6e])](_0x37b6d0)[_0x5b9004([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37b6d0(_0x5b9004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bf491=0xcb4259e^_0x3029f2;function _0x132953(){const _0x450ef0=_0x5b9004([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cc1e8(_0x1f45bf(_0x429a3c)),_0x33d706=_0x1d52e5(_0x5cc1e8(window[_0x5b9004([0x4d,0x61,0x74,0x68])][_0x5b9004([0x63,0x65,0x69,0x6c])](_0x5e1d5d/_0x1bf491)));window[_0x5b9004([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b9004([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x450ef0,_0x33d706);}function _0x56ef0f(){const _0xe19424=_0x5b9004([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cc1e8(_0x1f45bf(_0x429a3c)),_0x52a7b8=window[_0x5b9004([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b9004([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe19424);return _0x52a7b8?window[_0x5b9004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d52e5(_0x52a7b8),0x10)*_0x1bf491:null;}function _0x15ebf5(_0x18f972){return new window[(_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x386bb6,_0x2e739e)=>{_0x18f972[_0x5b9004([0x74,0x68,0x65,0x6e])](_0x386bb6,_0x2e739e),window[_0x5b9004([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e739e,0xc831fde^_0x3029f2);});}}_0x1725af[_0x5b9004([0x6f,0x6e])](_0x5b9004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d9fef,_0x4ff35b)=>{if(_0x4ff35b[0x0]!=_0x429a3c)return _0x37b6d0(_0x5b9004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ff35b[0x1]={..._0x4ff35b[0x1],[_0x5b9004([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c802c};},{[_0x5b9004([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b9004([0x68,0x69,0x67,0x68])}),_0x1725af[_0x5b9004([0x6f,0x6e])](_0x5b9004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35815f=>{_0x468fe7(_0x35815f[_0x5b9004([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b0e97=!0x0,_0x51e1b7(_0x35815f[_0x5b9004([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b9004([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b9004([0x6c,0x6f,0x77])}),_0x296d53[_0x5b9004([0x74,0x68,0x65,0x6e])](()=>{_0x2b0e97||_0x37b6d0(_0x5b9004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x78f04d(){return _0x1725af[_0x5b9004([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b9004([0x76,0x69,0x65,0x77])][_0x5b9004([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b9004([0x61,0x75,0x74,0x6f]);}function _0x223f44(){_0x1725af[_0x5b9004([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b9004([0x76,0x69,0x65,0x77])][_0x5b9004([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b9004([0x61,0x75,0x74,0x6f]);}}function _0x2450c5(_0x326e02){const _0xe7078=[new window[(_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51478a=>setTimeout(_0x51478a,0xc8bf5d2^_0x3029f2)),_0x296d53[_0x5b9004([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f2e9=>{let _0x4f2c84=0x0;_0x1725af[_0x5b9004([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b9004([0x6f,0x6e])](_0x5b9004([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12da74,_0x145ab5)=>{_0x145ab5[0x0][_0x5b9004([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f2c84++,_0x4f2c84==(0xc82cef6^_0x3029f2)&&(_0x44f2e9(),_0x12da74[_0x5b9004([0x6f,0x66,0x66])]());});}))];return window[_0x5b9004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b9004([0x72,0x61,0x63,0x65])](_0xe7078)[_0x5b9004([0x74,0x68,0x65,0x6e])](()=>_0x326e02);}async function _0x1902ab(){await _0x296d53,_0x1725af[_0x5b9004([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b9004([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40f917,_0x1725af[_0x5b9004([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b9004([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40f917,_0x1725af[_0x5b9004([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b9004([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3021fe(_0x5585af){const _0x484bec=_0x197d81();_0x1725af[_0x484bec]=_0x5b9004([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5585af,_0x5585af!=_0x5b9004([0x56,0x61,0x6c,0x69,0x64])&&_0x1902ab();}function _0x197d81(){const _0x33facc=window[_0x5b9004([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b9004([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b9004([0x6e,0x6f,0x77])]())[_0x5b9004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b9004([0x2e]),'');let _0x7332fc=_0x5b9004([0x49]);for(let _0x17544e=0x0;_0x17544e<_0x33facc[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17544e+=0x2){let _0xb8c26c=window[_0x5b9004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33facc[_0x5b9004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17544e,_0x17544e+0x2));_0xb8c26c>=_0x2bf598[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb8c26c-=_0x2bf598[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7332fc+=_0x2bf598[_0xb8c26c];}return _0x7332fc;}function _0x11753f(){const _0x20e046=_0x1c7b3d[_0x5b9004([0x73,0x70,0x6c,0x69,0x74])](_0x5b9004([0x2e]));if(0x3!=_0x20e046[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2971f7(_0x20e046[0x1]);function _0x2971f7(_0x1416eb){const _0x5b0e40=_0x5476c8(_0x1416eb);return _0x5b0e40&&_0x1a6d76()?_0x5b0e40:null;function _0x1a6d76(){const _0x266240=_0x5b0e40[_0x5b9004([0x6a,0x74,0x69])],_0x548f4d=window[_0x5b9004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x266240[_0x5b9004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x266240[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xebe83b={..._0x5b0e40,[_0x5b9004([0x6a,0x74,0x69])]:_0x266240[_0x5b9004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x266240[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xebe83b[_0x5b9004([0x76,0x63])],_0x1f45bf(_0xebe83b)==_0x548f4d;}}}async function _0x463ccd(){let _0x20c2eb=!0x0;try{const _0x4af74c=_0x1c7b3d[_0x5b9004([0x73,0x70,0x6c,0x69,0x74])](_0x5b9004([0x2e])),[_0xe16450,_0x730e23,_0x55c72c]=_0x4af74c;return _0x19bd3c(_0xe16450),await _0x22b26f(_0xe16450,_0x730e23,_0x55c72c),_0x20c2eb;}catch{return!0x1;}function _0x19bd3c(_0x26bef0){const _0x5146b4=_0x5476c8(_0x26bef0);_0x5146b4&&_0x5146b4[_0x5b9004([0x61,0x6c,0x67])]==_0x5b9004([0x45,0x53,0x32,0x35,0x36])||(_0x20c2eb=!0x1);}async function _0x22b26f(_0x5e5659,_0x11aa92,_0x2e3515){const _0xdd7e20=window[_0x5b9004([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b9004([0x66,0x72,0x6f,0x6d])](_0x4bcc5c(_0x2e3515),_0x3995ce=>_0x3995ce[_0x5b9004([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28edf4=new window[(_0x5b9004([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b9004([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e5659+_0x5b9004([0x2e])+_0x11aa92),_0x1ebac7=window[_0x5b9004([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b9004([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ebac7)return;const _0x493e59=await _0x1ebac7[_0x5b9004([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b9004([0x6a,0x77,0x6b]),_0x1b1390,{[_0x5b9004([0x6e,0x61,0x6d,0x65])]:_0x5b9004([0x45,0x43,0x44,0x53,0x41]),[_0x5b9004([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b9004([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b9004([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ebac7[_0x5b9004([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b9004([0x6e,0x61,0x6d,0x65])]:_0x5b9004([0x45,0x43,0x44,0x53,0x41]),[_0x5b9004([0x68,0x61,0x73,0x68])]:{[_0x5b9004([0x6e,0x61,0x6d,0x65])]:_0x5b9004([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x493e59,_0xdd7e20,_0x28edf4)||(_0x20c2eb=!0x1);}}function _0x5476c8(_0x55a5f0){return _0x55a5f0[_0x5b9004([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b9004([0x65,0x79]))?JSON[_0x5b9004([0x70,0x61,0x72,0x73,0x65])](_0x4bcc5c(_0x55a5f0)):null;}function _0x4bcc5c(_0x3ba0d7){return window[_0x5b9004([0x61,0x74,0x6f,0x62])](_0x3ba0d7[_0x5b9004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b9004([0x2b]))[_0x5b9004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b9004([0x2f])));}function _0x1f45bf(_0x4809c4){let _0x586fbb=0x1505;function _0x318bf0(_0xebd3ed){for(let _0x421230=0x0;_0x421230<_0xebd3ed[_0x5b9004([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x421230++){const _0x193783=_0xebd3ed[_0x5b9004([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x421230);_0x586fbb=(_0x586fbb<<0x5)+_0x586fbb+_0x193783,_0x586fbb&=_0x586fbb;}}function _0x551cce(_0x355bc9){Array[_0x5b9004([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x355bc9)?_0x355bc9[_0x5b9004([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x551cce):_0x355bc9&&typeof _0x355bc9==_0x5b9004([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b9004([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x355bc9)[_0x5b9004([0x73,0x6f,0x72,0x74])]()[_0x5b9004([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52155f,_0x2ab8bc])=>{_0x318bf0(_0x52155f),_0x551cce(_0x2ab8bc);}):_0x318bf0(window[_0x5b9004([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x355bc9));}return _0x551cce(_0x4809c4),_0x586fbb>>>0x0;}function _0x5cc1e8(_0x4c76ac){return _0x4c76ac[_0x5b9004([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b9004([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b9004([0x30]));}function _0x1d52e5(_0x8970dd){return _0x8970dd[_0x5b9004([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b9004([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b9004([0x6a,0x6f,0x69,0x6e])]('');}function _0x40f917(){}function _0x5b9004(_0x2369e1){return _0x2369e1['map'](_0x222fc8=>String['fromCharCode'](_0x222fc8))['join']('');}_0x3021fe(await _0x18409d());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xd26c7c=this['editor'],_0x20ae70=_0xd26c7c['editing']['view'],_0x302dce=this['_getAttachedDomRoot']();if(!_0x302dce||0x0===_0x302dce['childElementCount'])return void _0xd26c7c['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x25089d,pageHeight:_0x431768}=_0xd26c7c['config']['get']('pagination'),{top:_0x36557f,left:_0xeddb8e,bottom:_0x3de1c9,right:_0x527f38}=this['_configuredPaddings'];this['_pagesContainer']=new _0x278baa(_0xd26c7c['locale']);const _0x47eda1=this['_pagesContainer'];_0x47eda1['set']('class',''),_0x47eda1['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x25089d,'width':_0x25089d,'height':'calc(\x20'+_0x431768+'\x20-\x20'+_0x36557f+'\x20-\x20'+_0x3de1c9+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x527f38+'\x200\x20'+_0xeddb8e,'columnGap':'calc('+_0xeddb8e+'\x20+\x20'+_0x527f38+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x47eda1['bindTemplate']['to']('class')}}),_0x47eda1['render'](),_0x302dce['parentNode']['insertBefore'](_0x47eda1['element'],_0x302dce['nextSibling']),this['listenTo'](_0x20ae70,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x22a27c of this['editor']['editing']['view']['domRoots']['values']())if(_0x22a27c['ownerDocument']['body']['contains'](_0x22a27c))return _0x22a27c;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x56455f=this['editor']['editing']['view'],_0x3df64e=this['_pagesContainer'],_0x455748=this['_getAttachedDomRoot']();if(!_0x455748)return Promise['resolve']();for(_0x3df64e['class']=['ck-reset','ck-pagination-view',..._0x455748['classList']]['join']('\x20');_0x3df64e['element']['firstChild'];)_0x3df64e['element']['firstChild']['remove']();const _0x1685fe=Array['from'](_0x56455f['domRoots']);_0x1685fe['sort'](([,_0x3a1318],[,_0x1805b7])=>_0x3a1318['compareDocumentPosition'](_0x1805b7)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4ace73,_0x43b776]of _0x1685fe){const _0x1b0947=_0x43b776['cloneNode'](!0x0);'attributeStyleMap'in _0x1b0947&&_0x1b0947['attributeStyleMap']['clear'](),_0x1b0947['dataset']['rootName']=_0x4ace73,_0x1b0947['className']='ck-content\x20ck-pagination_enabled',_0x1b0947['removeAttribute']('id'),_0x1b0947['tabIndex']=-0x1,_0x3df64e['element']['append'](_0x1b0947);}const _0x3f69f4=Array['from'](_0x3df64e['element']['querySelectorAll']('img'));return function(_0x201dca){return Promise['all'](_0x201dca['map'](_0xdd1ea6=>Promise['race']([eO(_0xdd1ea6),iO(0x3e8)])));}(_0x3f69f4)['then'](()=>{for(const _0x5ee87d of _0x3f69f4['filter'](_0x2be650=>!_0x2be650['closest']('table')))if(_0x5ee87d['offsetParent']){const _0x45f445=_0x37cedc['window']['getComputedStyle'](_0x5ee87d),_0x419d9c=_0x37cedc['document']['createElement']('span');for(const _0x51686d of _0x45f445)_0x419d9c['style']['setProperty'](_0x51686d,_0x45f445[_0x51686d]);_0x419d9c['style']['backgroundImage']='url(\x20'+_0x5ee87d['src']+'\x20)',_0x419d9c['style']['breakInside']='avoid','PICTURE'==_0x5ee87d['parentElement']?.['tagName']?_0x5ee87d['parentElement']['replaceWith'](_0x419d9c):_0x5ee87d['replaceWith'](_0x419d9c);}return new Promise(_0x265232=>_0x37cedc['window']['requestAnimationFrame'](()=>_0x265232()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x548d82=this['_pagesContainer']['element'];if(!_0x548d82['ownerDocument']['body']['contains'](_0x548d82))return;const _0xc8cf6f=new _0xbeaf38(_0x548d82)['excludeScrollbarsAndBorders'](),_0x56a3ea=Math['floor'](_0xc8cf6f['width']+0x64),_0x2ada15=oO(_0x548d82,Math['floor'](_0xc8cf6f['left']-_0x548d82['scrollLeft']),_0x56a3ea,_0xc8cf6f['height'])['map'](_0x5a5604=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5a5604))['filter'](_0x5e5a26=>!0x1!==_0x5e5a26);_0x2ada15['every'](_0x4730ac=>!!_0x4730ac)&&(this['pageBreaks']=_0x2ada15);}['_mapPageStarterInfoToPageBreakInfo'](_0x521ab9){const _0x3eec48=this['editor']['editing']['view'],_0x240c3c=this['editor']['editing']['mapper'],_0x42a1af=_0x3eec48['domConverter'],_0x444116=_0x521ab9['path']['shift'](),_0x2a6617=this['_pagesContainer']['element']['childNodes'][_0x444116]['dataset']['rootName'],_0x57b4f6=_0x3eec48['getDomRoot'](_0x2a6617);if(!_0x57b4f6)return null;const _0x531348=function(_0x50364d,_0x2af111){let _0x2117f8=_0x50364d;for(const _0x4740a9 of _0x2af111['path']){if(!_0x2117f8)return null;_0x2117f8=_0x2117f8['childNodes'][_0x4740a9];}return _0x2117f8;}(_0x57b4f6,_0x521ab9);if(!_0x531348)return null;const _0x407690=_0x42a1af['domPositionToView'](_0x531348,_0x521ab9['textOffset']||0x0);return _0x407690?'manual'==_0x521ab9['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x407690,_0x531348):'text'==_0x521ab9['type']&&_0x240c3c['toModelPosition'](_0x407690)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x407690,_0x531348,_0x521ab9['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x407690,_0x531348,_0x521ab9['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2e82c0,_0x2c08a8){const _0x675cc2=this['editor']['model'],_0x1c4f1f=this['editor']['editing']['mapper']['toModelElement'](_0x2e82c0['parent']),_0x58f7a2=_0x675cc2['createRangeOn'](_0x1c4f1f);return new PageBreakInfo({'type':'manual','modelRange':_0x58f7a2,'domNode':_0x2c08a8,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x32f39c,_0x4c45ba,_0x2e6769){const _0x503d2e=this['editor']['model'],_0x5ab6fa=this['editor']['editing']['mapper'],_0x401828=this['editor']['editing']['view']['domConverter'];if(_0x2e6769>=_0x4c45ba['length'])return null;const _0x20d151=_0x5ab6fa['toModelPosition'](_0x32f39c),_0x524e92=_0x503d2e['createRange'](_0x20d151),_0x55c6b9=_0x5ab6fa['findMappedViewAncestor'](_0x32f39c),_0x5cac3c=_0x401828['mapViewToDom'](_0x55c6b9);return new PageBreakInfo({'type':'text','modelRange':_0x524e92,'domNode':_0x4c45ba,'offset':Jp(_0x4c45ba,_0x2e6769,_0x5cac3c)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x352e65,_0x2f48d9,_0x39e298){const _0x54f840=this['editor']['model'],_0xf305cf=this['editor']['editing'],_0x2f56ca=_0xf305cf['mapper'],_0x1257e8=_0xf305cf['view']['domConverter'],_0x4fbf62=_0x2f56ca['findMappedViewAncestor'](_0x352e65),_0x469905=_0x2f56ca['toModelElement'](_0x4fbf62);if(!_0x469905||_0x469905['is']('element','$root'))return!0x1;const _0xb3e012=function(_0x53cbab){const _0x57c633=_0x53cbab['parent'],_0x6ccf30=_0x57c633['root']['document']['model'],_0x45c12d=_0x57c633['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x37fb4c=null;for(const _0x297025 of _0x45c12d){if(_0x297025['is']('rootElement'))return _0x37fb4c;if(!_0x6ccf30['createPositionBefore'](_0x297025)['isTouching'](_0x53cbab))return _0x37fb4c;_0x37fb4c=_0x297025;}}(_0x54f840['createPositionBefore'](_0x469905)),_0x5cbe64=_0xb3e012||_0x469905;let _0x19b11a=_0x2f56ca['toViewElement'](_0x5cbe64),_0x273981=_0x54f840['createRangeOn'](_0x5cbe64);const _0x321cb8=_0x54f840['createPositionBefore'](_0x5cbe64)['nodeBefore'];if(_0x321cb8&&_0x321cb8['is']('element','imageBlock')){const _0x49cbe1=_0x2f56ca['toViewElement'](_0x321cb8),_0x580dad=_0x1257e8['mapViewToDom'](_0x49cbe1),_0x4c98dc=_0x37cedc['window']['getComputedStyle'](_0x580dad)['float'];'left'!=_0x4c98dc&&'right'!=_0x4c98dc||(_0x273981=_0x54f840['createRangeOn'](_0x321cb8));}for(;_0x19b11a['parent']!==_0x19b11a['root']&&0x0===_0x19b11a['index'];)_0x19b11a=_0x19b11a['parent'];const _0x55c959=new _0xbeaf38(uO(_0x2f48d9)?_0x2f48d9:sO(_0x2f48d9)),_0x2db319=_0x39e298?_0x55c959['height']-_0x39e298:0x0,_0x7c1002=_0x1257e8['mapViewToDom'](_0x19b11a),_0x336447=new _0xbeaf38(_0x7c1002);return new PageBreakInfo({'type':'element','modelRange':_0x273981,'domNode':_0x7c1002,'offset':Math['round'](_0x2db319)||_0x4fbf62!=tO(_0x352e65)?_0x2db319+_0x55c959['top']-_0x336447['top']:0x0});}get['_configuredPaddings'](){const _0x14dc98=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x14dc98);}static['_findPageStarterInfos'](_0x135d37,_0x42997a,_0x1a8abb,_0x47b21c,_0x12d3a9){return oO(_0x135d37,_0x42997a,_0x1a8abb,_0x47b21c,_0x12d3a9);}}class PageBreakInfo{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1cb423,modelRange:_0x3a5a72,domNode:_0x35b540,offset:_0x40fd45}){this['type']=_0x1cb423,this['modelRange']=_0x3a5a72,this['_domNode']=_0x35b540,this['_offset']=_0x40fd45;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x1f1ef4=new _0xbeaf38(uO(this['_domNode'])?this['_domNode']:sO(this['_domNode']));return'manual'==this['type']?_0x1f1ef4['top']+_0x1f1ef4['height']/0x2:_0x1f1ef4['top']+this['_offset'];}}function Jp(_0x5bdab7,_0x309051,_0x41edbc){const _0x42e829=sO(_0x5bdab7),_0x5b5030=function(_0x39f071){const _0x2a572a=_0x37cedc['document']['createRange']();return _0x2a572a['selectNodeContents'](_0x39f071),_0x2a572a;}(_0x41edbc);let _0x5e4f7e;_0x5e4f7e=0x0==_0x309051?rO(_0x5b5030['startContainer'],_0x5b5030['startOffset'],_0x5bdab7['parentNode'],Array['from'](_0x5bdab7['parentNode']['childNodes'])['indexOf'](_0x5bdab7)):rO(_0x5b5030['startContainer'],_0x5b5030['startOffset'],_0x5bdab7,_0x309051);const _0x3aa381=rO(_0x5bdab7,_0x309051,_0x5b5030['endContainer'],_0x5b5030['endOffset']),_0x47912d=new _0xbeaf38(_0x5e4f7e)['bottom'];return(new _0xbeaf38(_0x3aa381)['top']+_0x47912d)/0x2-new _0xbeaf38(_0x42e829)['top'];}function tO(_0x385558){let _0x5665d1=_0x385558['parent'];for(;_0x5665d1['is']('$text')||_0x5665d1['is']('attributeElement');)_0x5665d1=_0x5665d1['parent'];return _0x5665d1;}function eO(_0x547230){return _0x547230['hasAttribute']('width')&&_0x547230['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1dce55=>{function _0x71cd46(){_0x547230['removeEventListener']('load',_0x71cd46),_0x547230['removeEventListener']('error',_0x71cd46),_0x1dce55();}_0x547230['complete']?_0x1dce55():(_0x547230['addEventListener']('load',_0x71cd46),_0x547230['addEventListener']('error',_0x71cd46));});}function iO(_0x3e81fc){return new Promise(_0x5e7fab=>setTimeout(_0x5e7fab,_0x3e81fc));}function sO(_0x2f89d4){const _0x2391ff=_0x37cedc['document']['createRange']();return _0x2391ff['selectNode'](_0x2f89d4),_0x2391ff;}function nO(_0x44ce6a,_0x32f1ff,_0x259dae){const _0x15b83c=_0x37cedc['document']['createRange']();return _0x15b83c['setStart'](_0x44ce6a,_0x32f1ff),_0x15b83c['setEnd'](_0x44ce6a,_0x259dae),_0x15b83c;}function rO(_0x200ad4,_0x572ccc,_0x596e07,_0x24e491){const _0x3a2943=_0x37cedc['document']['createRange']();return _0x3a2943['setStart'](_0x200ad4,_0x572ccc),_0x3a2943['setEnd'](_0x596e07,_0x24e491),_0x3a2943;}function oO(_0x4bba67,_0x252d3d,_0x24b972,_0x7130c9,_0x132539){const _0x2f443e=[];for(const [_0x26a1db,_0x414eb5]of _0x4bba67['childNodes']['entries']()){let _0x3a6d9b=[];uO(_0x414eb5)&&_0x414eb5['offsetParent']&&['static','relative']['includes'](_0x37cedc['window']['getComputedStyle'](_0x414eb5)['position'])?_0x3a6d9b=aO(_0x414eb5,_0x26a1db,_0x252d3d,_0x24b972,_0x7130c9,_0x132539):dO(_0x414eb5)&&(_0x3a6d9b=cO(_0x414eb5,_0x26a1db,_0x252d3d,_0x24b972,_0x132539)),_0x3a6d9b['length']&&(_0x2f443e['push'](..._0x3a6d9b),_0x252d3d+=_0x3a6d9b['length']*_0x24b972,_0x132539=!0x1);}return _0x2f443e;}function aO(_0x38396a,_0x1079d7,_0x48bd27,_0x1b4e0c,_0x282c8c,_0x3ce4c1){const _0x1af488=[];var _0x38c95b;if((_0x38c95b=_0x38396a['previousSibling'])&&uO(_0x38c95b)&&Boolean(_0x38c95b['classList']['contains']('page-break')||_0x38c95b['closest']('.page-break'))&&(_0x1af488['push']({'type':'manual','offset':0x0,'path':[_0x1079d7-0x1]}),_0x3ce4c1=!0x0),'table-row'==_0x37cedc['window']['getComputedStyle'](_0x38396a)['display']){let _0x5953b3=0x0,_0x151188=!0x1;for(const _0x350c2c of _0x38396a['getClientRects']())_0x5953b3+=_0x350c2c['height'],_0x350c2c['left']>=_0x48bd27&&(_0x151188=!0x0);if(_0x5953b3<_0x282c8c&&_0x151188)return _0x3ce4c1||_0x1af488['push']({'type':'element','offset':0x0,'path':[_0x1079d7]}),_0x1af488;}const _0x3aabac=_0x38396a['closest']('figure.image');if(_0x3aabac&&function(_0x44b924){let _0x9c6254=!0x1;const _0x237fa2=_0x44b924['parentElement'],_0x3e67bd=_0x237fa2['dataset']['rootName'],_0x3e525f=_0x44b924['nextElementSibling'],_0x722301=_0x44b924['previousElementSibling'],_0x5d0518=_0x3e525f&&_0x37cedc['window']['getComputedStyle'](_0x3e525f)['float'],_0x2d79d2=_0x3e525f&&'ck-fake-selection-container'===_0x3e525f['className'];!_0x3e67bd||_0x3e525f||_0x722301||(_0x9c6254=!0x0),_0x3e67bd&&!_0x722301&&_0x2d79d2&&(_0x9c6254=!0x0),_0x3e67bd&&!_0x722301&&'none'!==_0x5d0518&&(_0x9c6254=!0x0);if(_0x9c6254)return!0x1;return!0x0;}(_0x3aabac)){const _0x172e0b=_0x37cedc['window']['getComputedStyle'](_0x3aabac)['float'];if('left'==_0x172e0b||'right'==_0x172e0b)return _0x1af488;}const _0x379f0b=oO(_0x38396a,_0x48bd27,_0x1b4e0c,_0x282c8c,_0x3ce4c1);if(_0x379f0b['length']){for(const _0x590e87 of _0x379f0b)_0x1af488['push']({'type':_0x590e87['type'],'offset':_0x590e87['offset'],'textOffset':_0x590e87['textOffset'],'path':[_0x1079d7,..._0x590e87['path']]}),_0x48bd27+=_0x1b4e0c,_0x3ce4c1=!0x1;return _0x1af488;}return _0x1af488['push'](...function(_0x5dd562,_0x5c9012,_0x37075d,_0x3b7aad,_0x332f39){const _0x1d80e8=[];if('table-cell'==_0x37cedc['window']['getComputedStyle'](_0x5dd562)['display'])return[];const _0x53ab05=[];for(const _0x4f6b05 of _0x5dd562['getClientRects']())if(_0x4f6b05['left']>=_0x37075d){for(const _0x41373c of _0x53ab05)_0x41373c['height']+=_0x4f6b05['height'];_0x53ab05['push']({'height':_0x4f6b05['height']}),_0x37075d+=_0x3b7aad;}for(const _0x26392f of _0x53ab05)_0x332f39||_0x1d80e8['push']({'type':'element','offset':_0x26392f['height'],'textOffset':0x0,'path':[_0x5c9012]}),_0x332f39=!0x1;return _0x1d80e8;}(_0x38396a,_0x1079d7,_0x48bd27,_0x1b4e0c,_0x3ce4c1)),_0x1af488;}function cO(_0x54e51a,_0x35d22d,_0x4016fd,_0xec866a,_0x372edf){const _0x10ad38=sO(_0x54e51a),_0x2783e3=[];let _0x161fef=0x0;for(const _0x294f31 of _0x10ad38['getClientRects']())if(_0x294f31['left']>=_0x4016fd){const _0x438f95=lO(_0x54e51a,_0x161fef,_0x4016fd,_0xec866a);_0x372edf||_0x2783e3['push']({'type':'text','path':[_0x35d22d],'textOffset':_0x438f95}),_0x161fef=_0x438f95,_0x4016fd+=_0xec866a,_0x372edf=!0x1;}return _0x2783e3;}function lO(_0x5b6bd6,_0x497cc7,_0x5aeb89,_0xd7356a){let _0x2b7601=_0x497cc7,_0x555797=_0x5b6bd6['length'];for(;_0x555797-_0x2b7601>0x1;){const _0x16cbae=Math['ceil']((_0x2b7601+_0x555797)/0x2);hO(nO(_0x5b6bd6,_0x2b7601,_0x16cbae),_0x5aeb89,_0xd7356a)?_0x555797=_0x16cbae:_0x2b7601=_0x16cbae;}return _0x2b7601;}function hO(_0x236f22,_0x3b5611,_0x207e22){for(const _0x367b73 of _0x236f22['getClientRects']())if(_0x367b73['left']>=_0x3b5611&&_0x367b73['left']<_0x3b5611+_0x207e22)return!0x0;return!0x1;}function uO(_0x1305b0){return _0x1305b0['nodeType']==Node['ELEMENT_NODE'];}function dO(_0x58035b){return _0x58035b['nodeType']==Node['TEXT_NODE'];}const fO=/* #__PURE__ -- @preserve */
_0x50f0f7('px');let mO=class LineView extends _0x278baa{constructor(){super();const _0x8ddd2a=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x8ddd2a['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x8ddd2a['if']('isVisible','ck-hidden',_0x5ab796=>!_0x5ab796)],'style':{'left':_0x8ddd2a['to']('left',_0xb5a71a=>fO(_0xb5a71a)),'top':_0x8ddd2a['to']('top',_0x20fb15=>fO(_0x20fb15)),'width':_0x8ddd2a['to']('width',_0x3b8ceb=>fO(_0x3b8ceb))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3f50d7){this['_viewCollection']=_0x3f50d7['ui']['view']['body'];}['destroy'](){for(const _0x5b451a of this['_hiddenLines'])_0x5b451a['destroy']();}['cleanLines'](){for(const _0x16b17c of this['_visibleLines'])_0x16b17c['isVisible']=!0x1,this['_hiddenLines']['add'](_0x16b17c);this['_visibleLines']['clear']();}['showLine'](_0x157d0a,_0x55c804,_0x5db3a6,_0x2cb61d){let _0x8b6f4;this['_hiddenLines']['size']?(_0x8b6f4=_0x506e56(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x8b6f4)):_0x8b6f4=new mO(),_0x8b6f4['set']({'pageNumber':_0x2cb61d,'left':_0x157d0a,'top':_0x55c804,'width':_0x5db3a6}),_0x8b6f4['isVisible']=!0x0,this['_viewCollection']['has'](_0x8b6f4)||this['_viewCollection']['add'](_0x8b6f4),this['_visibleLines']['add'](_0x8b6f4);}['setViewCollection'](_0x24b7c5){for(const _0x51e873 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x51e873)&&this['_viewCollection']['remove'](_0x51e873);this['_viewCollection']=_0x24b7c5;}}const gO='ck-pagination_enabled';class PaginationRenderer extends _0x7cf71c{['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'](gO),this['on']('change:isEnabled',(_0x918782,_0x168e52,_0x1af40d)=>{_0x1af40d||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](gO,_0x1af40d);});}['destroy'](){this['_toggleEditingRootsClass'](gO,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1a1923){if(!this['isEnabled'])return;const _0x797aae=_0x1a1923>0x1?this['_getPageBreakLineOffset'](_0x1a1923-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x797aae-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3c0c38['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2aabf2=this['editor'],_0x32d86d=this['_getAttachedDomRoot']();_0x32d86d?(this['_scrollableEditingRootDomAncestor']&&_0x2aabf2['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xdc1e76){let _0x1ef68a=_0xdc1e76;do{_0x1ef68a=_0x1ef68a['parentElement'];const _0x2420cf=_0x37cedc['window']['getComputedStyle'](_0x1ef68a)['overflowY'];if('auto'==_0x2420cf||'scroll'==_0x2420cf)break;}while('BODY'!=_0x1ef68a['tagName']);return _0x1ef68a;}(_0x32d86d),_0x2aabf2['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x5fea7(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2aabf2['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1320cd=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1320cd['ui']['view']['listenTo'](_0x37cedc['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1320cd['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x58cf74 of this['editor']['editing']['view']['domRoots']['values']())if(_0x58cf74['ownerDocument']['body']['contains'](_0x58cf74))return _0x58cf74;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5b9b53=this['_getAttachedDomRoot'](),_0x5eb6db=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5b9b53||0x1==_0x5eb6db['length'])return void(this['pageNumber']=0x1);const _0x219445=new _0xbeaf38(_0x5b9b53)['excludeScrollbarsAndBorders'](),_0x4c7350=new _0xbeaf38(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x27a2b6=_0x4c7350['top']+_0x4c7350['height']/0x3;let _0x335a00=!0x1;const _0x3de563=[];for(let _0x191dd1=0x1;_0x191dd1<_0x5eb6db['length'];_0x191dd1++){const _0x23e7e3=this['_getPageBreakLineOffset'](_0x191dd1,_0x4c7350);if(!_0x23e7e3)continue;const _0x117745=_0x4c7350['top']+_0x23e7e3-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3de563['push']({'pageOffsetTop':_0x117745,'domRootRect':_0x219445,'domScrollableRect':_0x4c7350,'pageNumber':_0x191dd1}),_0x117745>_0x27a2b6&&!_0x335a00&&(this['pageNumber']=_0x191dd1,_0x335a00=!0x0);}this['_renderPageBreakLines'](_0x3de563),_0x335a00||(this['pageNumber']=_0x5eb6db['length']);}['_renderPageBreakLines'](_0x1db87b){const {scrollX:_0x285613,scrollY:_0x57b8a4}=_0x37cedc['window'];if(_0x1db87b['length']){for(const {domScrollableRect:_0x150983,pageOffsetTop:_0x3360ec,domRootRect:_0x22907b,pageNumber:_0x56fb9f}of _0x1db87b)_0x150983['top']<_0x3360ec&&_0x3360ec<_0x150983['bottom']&&this['linesRepository']['showLine'](_0x22907b['left']+_0x285613,_0x3360ec+_0x57b8a4,_0x22907b['width'],_0x56fb9f+0x1);}}['_getPageBreakLineOffset'](_0x41996b,_0x1a3244=null){const _0x25ea4c=this['_paginationLookupPlugin']['pageBreaks'][_0x41996b]['offset'];return _0x25ea4c?(_0x1a3244||(_0x1a3244=new _0xbeaf38(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x25ea4c-_0x1a3244['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x5b8815,_0x422575=!0x0){const _0x323697=this['editor']['editing']['view'];_0x323697['change'](_0x35743a=>{for(const _0x42df52 of _0x323697['document']['roots'])_0x422575?_0x35743a['addClass'](_0x5b8815,_0x42df52):_0x35743a['removeClass'](_0x5b8815,_0x42df52);});}}function pO(_0x170689,_0x2c86f6,..._0x528a15){const t=_0x170689['t'];switch(_0x2c86f6){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)',..._0x528a15);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 _0x2c86f6;}}class PaginationEditing extends _0x7cf71c{['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 _0x3b9c22=this['editor']['plugins']['get']('Pagination'),_0x58d36c=this['editor']['plugins']['get'](PaginationLookup),_0xf7a3b5=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x3b9c22),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xf7a3b5),this['listenTo'](_0x58d36c,'change:pageBreaks',(_0x5d8319,_0xfdd6b0,_0x44e018,_0x4e26bf)=>{this['totalPages']=_0x44e018['length'],this['_updatePageBreakMarkers'](_0x44e018,_0x4e26bf);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d9d83=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x977ab6;for(const _0x399f44 in _0x5d9d83){const _0x425b74=_0x399f44,_0x1d9107=_0x5d9d83[_0x425b74];if('paginationLicenseKeyValid'==_0x1d9107||'paginationLicenseKeyInvalid'==_0x1d9107||'paginationLicenseKeyExpired'==_0x1d9107||'paginationLicenseKeyDomainLimit'==_0x1d9107||'paginationLicenseKeyNotAllowed'==_0x1d9107||'paginationLicenseKeyEvaluationLimit'==_0x1d9107||'paginationLicenseKeyUsageLimit'==_0x1d9107){delete _0x5d9d83[_0x425b74],_0x977ab6=_0x1d9107,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x977ab6&&_0x5d9d83['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x977ab6&&_0x5d9d83['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x977ab6&&_0x5d9d83['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x977ab6&&_0x5d9d83['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x977ab6&&_0x5d9d83['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x977ab6&&_0x5d9d83['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x37f89c){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x37f89c));}['moveSelectionToPage'](_0x34ba5c){if(!this['isEnabled'])return;const _0x46c683=this['editor'],_0x101f38=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x34ba5c-0x1];_0x101f38&&_0x46c683['model']['change'](_0x4e88f4=>{switch(_0x101f38['type']){case'manual':{const _0x21b907=_0x46c683['model']['schema']['getNearestSelectionRange'](_0x101f38['modelRange']['end'],'forward');_0x4e88f4['setSelection'](_0x21b907);break;}case'element':{const _0x264397=_0x46c683['model']['schema']['getNearestSelectionRange'](_0x101f38['modelRange']['start'],'forward');_0x4e88f4['setSelection'](_0x264397);break;}case'text':{const _0x118cb6=_0x101f38['modelRange']['start'];if(_0x118cb6['textNode']&&'\x20'===_0x118cb6['textNode']['data'][_0x118cb6['offset']]){const _0x1cd9ac=_0x4e88f4['createPositionAt'](_0x118cb6['parent'],_0x118cb6['offset']+0x1);_0x4e88f4['setSelection'](_0x1cd9ac);}else _0x4e88f4['setSelection'](_0x101f38['modelRange']);}}_0x46c683['editing']['view']['focus']();});}['goToNextPage'](){const _0x119e80=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x119e80),this['scrollToPage'](_0x119e80);}['goToPreviousPage'](){const _0x4def8b=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4def8b),this['scrollToPage'](_0x4def8b);}['_updatePageBreakMarkers'](_0xd1ac06,_0x3ee8c6){const _0x315d01=this['editor']['model'];this['isEnabled']&&_0x315d01['change'](_0x1c1b44=>{for(let _0x4a4a44=0x1;_0x4a4a44<_0xd1ac06['length'];_0x4a4a44++){const _0x14fd7c=_0xd1ac06[_0x4a4a44]['modelRange'],_0x35c7a0='pagination:'+(_0x4a4a44+0x1);_0x315d01['markers']['has'](_0x35c7a0)?_0x1c1b44['updateMarker'](_0x35c7a0,{'range':_0x14fd7c}):_0x1c1b44['addMarker'](_0x35c7a0,{'range':_0x14fd7c,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x1b47ef=_0xd1ac06['length'];_0x1b47ef<_0x3ee8c6['length'];_0x1b47ef++){const _0x3ffb4d='pagination:'+(_0x1b47ef+0x1);_0x315d01['markers']['has'](_0x3ffb4d)&&_0x1c1b44['removeMarker'](_0x3ffb4d);}});}['_setUpDataDowncastConversion'](){const _0x47e6a4='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x1b7603=>{_0x1b7603['on']('addMarker:'+_0x47e6a4,(_0x4196a7,{markerRange:_0x30c837,markerName:_0x893384},_0x385e1d)=>{if(!_0x385e1d['options']['pagination'])return;if(!_0x385e1d['consumable']['consume'](_0x30c837,_0x4196a7['name']))return;const _0x5264b1=_0x30c837['getContainedElement']();let _0x21fe25=_0x5264b1?_0x385e1d['mapper']['toViewElement'](_0x5264b1):null;if(!_0x21fe25){const _0x4903b2=_0x30c837['start'];if(_0x385e1d['schema']['checkChild'](_0x4903b2,'$text')){const _0x23a724=_0x385e1d['mapper']['toViewPosition'](_0x4903b2);_0x21fe25=_0x385e1d['writer']['createContainerElement']('span'),_0x21fe25['getFillerOffset']=()=>null,_0x385e1d['writer']['insert'](_0x23a724,_0x21fe25);}else{const _0x4c814f=_0x4903b2['nodeAfter'];_0x21fe25=_0x385e1d['mapper']['toViewElement'](_0x4c814f);}}for(;_0x21fe25['parent']!==_0x21fe25['root']&&0x0===_0x21fe25['index'];)_0x21fe25=_0x21fe25['parent'];const _0x4689a2=_0x893384['substring'](0xb);_0x21fe25['hasClass']('page-break')||(_0x385e1d['writer']['setStyle']('page-break-before','always',_0x21fe25),_0x385e1d['writer']['setAttribute']('data-pagination-page',_0x4689a2,_0x21fe25),_0x385e1d['mapper']['bindElementToMarker'](_0x21fe25,_0x893384)),_0x4196a7['stop']();});});}['_setupKeystrokes'](){const _0x460cbc=this['editor'];_0x460cbc['keystrokes']['set']('Shift+Pageup',(_0x285731,_0x24164b)=>{this['goToPreviousPage'](),_0x24164b();}),_0x460cbc['keystrokes']['set']('Shift+Pagedown',(_0x1d5aff,_0x305f02)=>{this['goToNextPage'](),_0x305f02();}),_0x460cbc['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':pO(_0x460cbc['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':pO(_0x460cbc['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':pO(_0x460cbc['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x1543c1){return _0x1543c1<0x1&&(_0x1543c1=0x1),_0x1543c1>this['totalPages']&&(_0x1543c1=this['totalPages']),_0x1543c1;}}class PageNavigatorView extends _0x278baa{['pageNumberView'];constructor(_0x30de2b){super(_0x30de2b);const _0x3d3942=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new Zt(_0x30de2b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x932583=>pO(_0x30de2b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x932583)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x55d5fa=>!_0x55d5fa),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3d3942['if']('isEnabled','ck-disabled',_0x54d616=>!_0x54d616)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3d3942['to']('totalPages')}]}]});}['render'](){super['render']();const _0x5bcb2a=this['pageNumberView']['element'],_0x3e204c=_0x4124dc=>{this['pageNumberView']['element']['value']=String(_0x4124dc);};_0x3e204c(this['pageNumber']),this['on']('change:pageNumber',(_0x190961,_0x3bba0f,_0x29b293)=>{_0x3e204c(_0x29b293);}),this['listenTo'](_0x5bcb2a,'keydown',(_0x4acf33,_0x4edb26)=>{if('ArrowUp'===_0x4edb26['key']||'ArrowDown'===_0x4edb26['key'])return void _0x4edb26['stopPropagation']();if(_0x4edb26['keyCode']!==_0x21d6cc['enter'])return;_0x4edb26['preventDefault']();const _0x428e3d=_0x5bcb2a['valueAsNumber'];Number['isNaN'](_0x428e3d)?_0x5bcb2a['value']=String(this['pageNumber']):(_0x5bcb2a['checkValidity']()?this['pageNumber']=_0x428e3d:_0x428e3d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x5bcb2a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x5bcb2a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x5bcb2a,'blur',()=>{_0x5bcb2a['value']=String(this['pageNumber']);}),this['listenTo'](_0x5bcb2a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends _0x7cf71c{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x17e587=this['editor'],_0x29a582=_0x17e587['plugins']['get']('PaginationEditing');_0x17e587['ui']['componentFactory']['add']('pageNavigation',_0x1bdfa1=>{const _0x367973=new PageNavigatorView(_0x1bdfa1);return _0x367973['bind']('pageNumber')['to'](_0x29a582),_0x367973['bind']('totalPages')['to'](_0x29a582),_0x367973['bind']('isEnabled')['to'](_0x29a582),_0x367973['on']('navigation',(_0x558194,_0x1032cf)=>{_0x29a582['moveSelectionToPage'](_0x1032cf),_0x29a582['scrollToPage'](_0x1032cf);}),_0x367973;}),_0x17e587['ui']['componentFactory']['add']('nextPage',_0x461fa5=>{const _0x46c509=new _0x1a631f(_0x461fa5);return _0x46c509['isEnabled']=!0x0,_0x46c509['label']=pO(_0x17e587['locale'],'Go\x20to\x20next\x20page'),_0x46c509['icon']=_0x1a67e4,_0x46c509['tooltip']=!0x0,_0x46c509['keystroke']='Shift+PageDown',_0x46c509['bind']('isEnabled')['to'](_0x29a582),this['listenTo'](_0x46c509,'execute',()=>{_0x29a582['goToNextPage']();}),_0x46c509;}),_0x17e587['ui']['componentFactory']['add']('previousPage',_0x51ca5a=>{const _0x3c2dd1=new _0x1a631f(_0x51ca5a);return _0x3c2dd1['isEnabled']=!0x0,_0x3c2dd1['label']=pO(_0x17e587['locale'],'Go\x20to\x20previous\x20page'),_0x3c2dd1['icon']=_0x22dc7c,_0x3c2dd1['tooltip']=!0x0,_0x3c2dd1['keystroke']='Shift+PageUp',_0x3c2dd1['bind']('isEnabled')['to'](_0x29a582),this['listenTo'](_0x3c2dd1,'execute',()=>{_0x29a582['goToPreviousPage']();}),_0x3c2dd1;});}}class Pagination extends _0x7cf71c{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x5bda86){super(_0x5bda86),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2ea115=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x2ea115),this['bind']('totalPages')['to'](_0x2ea115),_0x3c0c38['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x59841f){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x59841f);}}const OO=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function wO(_0x5b9d64){return OO['test'](_0x5b9d64);}const bO=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function yO(_0x54c87d,_0x7a9aa9){const _0x1595c7=new Map();for(const [_0x5381d4,_0x5878ed]of _0x7a9aa9){if(!_0x5381d4['tagName']&&!_0x5381d4['className'])continue;const _0x2cd33c=!_0x5381d4['tagName']||_0x54c87d['name']===_0x5381d4['tagName'],_0x171250=!_0x5381d4['className']||_0x54c87d['hasClass'](_0x5381d4['className']);_0x2cd33c&&_0x171250&&_0x1595c7['set'](_0x5381d4,_0x5878ed);}return _0x1595c7;}function vO(_0x427967){const _0x61864a={};for(let _0x173c61=0x0;_0x173c61<_0x427967['length'];_0x173c61++){const _0x79ea1=_0x427967[_0x173c61],_0x5cc695=_0x427967['getPropertyValue'](_0x79ea1);'initial'!==_0x5cc695&&(_0x61864a[_0x79ea1]=_0x5cc695);}return _0x61864a;}function _O(_0x11d50c){const _0x40c841=_0x11d50c['split'](',')['map'](_0x3ab06b=>_0x3ab06b['trim']()),_0x2ae24b=[];for(const _0x466dee of _0x40c841){const _0x3d9718=bO['exec'](_0x466dee);_0x3d9718&&_0x2ae24b['push'](_0x3d9718['groups']);}return _0x2ae24b;}function EO(_0x49af03){const _0x419c5f={};for(const _0xe0899a of _0x49af03)Object['assign'](_0x419c5f,_0xe0899a);return _0x419c5f;}class MSOfficeStylesInliner extends _0xf8dc75{['execute'](_0x356fb9){const {body:_0x519aab,styles:_0x1f77fb,stylesString:_0x46f1c8}=_0x356fb9['_parsedData'],_0x45facc=new _0x1d3328(_0x519aab['document']),_0x5943cb=_0x45facc['createRangeIn'](_0x519aab),_0xe3f0c2=function(_0x92a18c){const _0x1aa115={};for(const _0x685602 of _0x92a18c)for(const _0x2a40e4 of _0x685602['cssRules'])if(_0x2a40e4 instanceof CSSStyleRule){const _0x5bc50f=vO(_0x2a40e4['style']);_0x1aa115[_0x2a40e4['selectorText']]=Object['assign']({},_0x1aa115[_0x2a40e4['selectorText']]||{},_0x5bc50f);}return _0x1aa115;}(_0x1f77fb),_0x527a15=function(_0x62de41){const _0x2e5c43=new Map();for(const _0x71c9af in _0x62de41){const _0x4fe2fa=_O(_0x71c9af),_0xb25b00=_0x62de41[_0x71c9af];for(const _0xc44a29 of _0x4fe2fa)_0x2e5c43['set'](_0xc44a29,_0xb25b00);}return _0x2e5c43;}(_0xe3f0c2),_0x4bdebf=function(_0x3e99db){const _0x4a5365={},_0x818e70=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x44b1b4=/\.(?<className>[\w-]+)/g;let _0x4bbd5b;for(;null!==(_0x4bbd5b=_0x818e70['exec'](_0x3e99db));){const {selector:_0x30c11a,color:_0x20ff74,patternType:_0x3940cc}=_0x4bbd5b['groups'];if('auto'!==_0x20ff74['toLowerCase']()&&'none'!==_0x3940cc['toLowerCase']()&&'auto'!==_0x3940cc['toLowerCase']()){for(const _0x4aa12e of _0x30c11a['matchAll'](_0x44b1b4))_0x4a5365[_0x4aa12e['groups']['className']]=_0x20ff74;}}return _0x4a5365;}(_0x46f1c8);for(const _0x475293 of _0x5943cb){if('elementStart'!==_0x475293['type'])continue;const _0x11b452=_0x475293['item'],_0x5e7466=yO(_0x11b452,_0x527a15),_0x1c32f6=_0x5e7466['size']?EO(Array['from'](_0x5e7466['values']())):{};if(!('background-color'in _0x1c32f6)&&!('background'in _0x1c32f6)){for(const [_0x3a40de,_0x1772e0]of Object['entries'](_0x4bdebf))if(_0x11b452['hasClass'](_0x3a40de)){_0x1c32f6['background-color']=_0x1772e0;break;}}for(const _0x4ffec7 in _0x1c32f6)_0x11b452['hasStyle'](_0x4ffec7)||_0x45facc['setStyle'](_0x4ffec7,_0x1c32f6[_0x4ffec7],_0x11b452);}_0x356fb9['content']=_0x519aab;}['isActive'](_0x99ab7b){return super['isActive'](_0x99ab7b)||wO(_0x99ab7b);}}class PasteFromOfficeEnhancedInliner extends _0x7cf71c{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x32c3c3];}['init'](){const _0x24e804=this['editor'],_0x17504d=_0x24e804['plugins']['get']('ClipboardPipeline'),_0x1e917d=_0x24e804['editing']['view']['document'],_0x136e4f=new MSOfficeStylesInliner(_0x1e917d);_0x17504d['on']('inputTransformation',(_0x3cb482,_0x44ae8e)=>{const _0x2d8a36=_0x44ae8e['dataTransfer']['getData']('text/html');_0x136e4f['isActive'](_0x2d8a36)&&(_0x44ae8e['_parsedData']||(_0x44ae8e['_parsedData']=_0x14176f(_0x2d8a36,_0x1e917d['stylesProcessor'])),_0x136e4f['execute'](_0x44ae8e));},{'priority':_0x387442['get']('high')+0xb});}['afterInit'](){!async function(_0x4e360f){const _0x98d3a6=_0x249a91([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]),_0x580ac8=0x7374585f,_0x339ffb=0x7373d237^_0x580ac8,_0x5c9377=window[_0x249a91([0x44,0x61,0x74,0x65])][_0x249a91([0x6e,0x6f,0x77])](),_0x47eddc=_0x4e360f[_0x249a91([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b256e=new window[(_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xabaf6b=>{_0x47eddc[_0x249a91([0x6f,0x6e,0x63,0x65])](_0x249a91([0x72,0x65,0x61,0x64,0x79]),_0xabaf6b);}),_0x592d68={[_0x249a91([0x6b,0x74,0x79])]:_0x249a91([0x45,0x43]),[_0x249a91([0x75,0x73,0x65])]:_0x249a91([0x73,0x69,0x67]),[_0x249a91([0x63,0x72,0x76])]:_0x249a91([0x50,0x2d,0x32,0x35,0x36]),[_0x249a91([0x78])]:_0x249a91([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]),[_0x249a91([0x79])]:_0x249a91([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]),[_0x249a91([0x61,0x6c,0x67])]:_0x249a91([0x45,0x53,0x32,0x35,0x36])},_0x42619a=_0x47eddc[_0x249a91([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x249a91([0x67,0x65,0x74])](_0x249a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x559ef3(){let _0x23500f,_0x5941b3=null,_0x218840=null;try{if(_0x42619a==_0x249a91([0x47,0x50,0x4c]))return _0x249a91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23500f=_0x5c1145(),!_0x23500f)return _0x249a91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23500f[_0x249a91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x218840=_0x30afdb(_0x23500f[_0x249a91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23500f[_0x249a91([0x6a,0x74,0x69])])),await _0x63215d()?_0x26dd5d()?_0x427d2e()?_0x249a91([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb0b461()?(_0x23500f[_0x249a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x249a91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5941b3=_0x18eafe(_0x249a91([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d6a1d()):_0x249a91([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x249a91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x249a91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x249a91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x427d2e(){const _0x19bbd0=[_0x249a91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x249a91([0x74,0x72,0x69,0x61,0x6c])][_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23500f[_0x249a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c9377/0x3e8:0xe10*_0x339ffb;return _0x23500f[_0x249a91([0x65,0x78,0x70])]<_0x19bbd0;}function _0x26dd5d(){const _0x11657f=_0x23500f[_0x249a91([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11657f&&(!!_0x11657f[_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x249a91([0x2a]))||(!!_0x11657f[_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x249a91([0x50,0x4f,0x45]))||(!!_0x11657f[_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x249a91([0x50,0x50]))||!(!_0x11657f[_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x249a91([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xeb0508()))));}function _0xb0b461(){const _0x138322=_0x23500f[_0x249a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x138322||0x0==_0x138322[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9f88bd}=new URL(window[_0x249a91([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x138322[_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f88bd))return!0x0;const _0x47c206=_0x9f88bd[_0x249a91([0x73,0x70,0x6c,0x69,0x74])](_0x249a91([0x2e]));return _0x138322[_0x249a91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bcbba=>_0x4bcbba[_0x249a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x249a91([0x2a])))[_0x249a91([0x6d,0x61,0x70])](_0x36ec6a=>_0x36ec6a[_0x249a91([0x73,0x70,0x6c,0x69,0x74])](_0x249a91([0x2e])))[_0x249a91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30269b=>_0x30269b[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47c206[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x249a91([0x6d,0x61,0x70])](_0x545397=>Array(_0x47c206[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x545397[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x249a91([0x66,0x69,0x6c,0x6c])](_0x545397[0x0]===_0x249a91([0x2a])?_0x249a91([0x2a]):'')[_0x249a91([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x545397))[_0x249a91([0x73,0x6f,0x6d,0x65])](_0x4b8807=>_0x47c206[_0x249a91([0x65,0x76,0x65,0x72,0x79])]((_0x5e5e20,_0xc6e8fe)=>_0x4b8807[_0xc6e8fe]===_0x5e5e20||_0x4b8807[_0xc6e8fe]===_0x249a91([0x2a])));}function _0x4d6a1d(){return _0x5941b3&&_0x218840?new window[(_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2251b3,_0x219f24)=>{_0x5941b3[_0x249a91([0x74,0x68,0x65,0x6e])](_0x2251b3,_0x219f24),_0x218840[_0x249a91([0x74,0x68,0x65,0x6e])](_0x5a3fb1=>{_0x5a3fb1!=_0x249a91([0x56,0x61,0x6c,0x69,0x64])&&_0x2251b3(_0x5a3fb1);},_0x219f24);}):_0x5941b3||_0x218840||_0x249a91([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30afdb(_0x43ff08,_0x258121){return new window[(_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x347875=>{if(_0x257d4d())return _0x347875(_0x249a91([0x56,0x61,0x6c,0x69,0x64]));_0x4e865c(),_0x47eddc[_0x249a91([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x249a91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bd233=!0x1;const _0x7ed89=_0x462bc0();function _0x2e15a5(_0x41cfa5){return!!_0x41cfa5&&(typeof _0x41cfa5===_0x249a91([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41cfa5===_0x249a91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41cfa5[_0x249a91([0x74,0x68,0x65,0x6e])]===_0x249a91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41cfa5[_0x249a91([0x63,0x61,0x74,0x63,0x68])]===_0x249a91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f9165(_0x4eec71){_0x1c946f(_0x4eec71)[_0x249a91([0x74,0x68,0x65,0x6e])](_0x23db5e=>{if(!_0x23db5e||_0x23db5e[_0x249a91([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x249a91([0x6f,0x6b]))return _0x249a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a2c0d(_0x307aa3(_0x7ed89+_0x258121))!=_0x23db5e[_0x249a91([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x249a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x249a91([0x56,0x61,0x6c,0x69,0x64]);})[_0x249a91([0x74,0x68,0x65,0x6e])](_0x7e9c0c=>(_0x3e14a1(),_0x7e9c0c),()=>{const _0x1a8806=_0x2aba43();return null==_0x1a8806?(_0x3e14a1(),_0x249a91([0x56,0x61,0x6c,0x69,0x64])):_0x249a91(_0x5c9377-_0x1a8806>(0x5778dc5f^_0x580ac8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x249a91([0x74,0x68,0x65,0x6e])](_0x347875)[_0x249a91([0x63,0x61,0x74,0x63,0x68])](()=>{_0x347875(_0x249a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x481448=0x7342b6df^_0x580ac8;function _0x3e14a1(){const _0x23d145=_0x249a91([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a2c0d(_0x307aa3(_0x43ff08)),_0x49718f=_0x3cf498(_0x3a2c0d(window[_0x249a91([0x4d,0x61,0x74,0x68])][_0x249a91([0x63,0x65,0x69,0x6c])](_0x5c9377/_0x481448)));window[_0x249a91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x249a91([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23d145,_0x49718f);}function _0x2aba43(){const _0x4ddf99=_0x249a91([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a2c0d(_0x307aa3(_0x43ff08)),_0x1b94f9=window[_0x249a91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x249a91([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ddf99);return _0x1b94f9?window[_0x249a91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cf498(_0x1b94f9),0x10)*_0x481448:null;}function _0x1c946f(_0x1f262d){return new window[(_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cec79,_0x2fce0e)=>{_0x1f262d[_0x249a91([0x74,0x68,0x65,0x6e])](_0x4cec79,_0x2fce0e),window[_0x249a91([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fce0e,0x73758c9f^_0x580ac8);});}}_0x47eddc[_0x249a91([0x6f,0x6e])](_0x249a91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d898e,_0x37d5b0)=>{if(_0x37d5b0[0x0]!=_0x43ff08)return _0x347875(_0x249a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37d5b0[0x1]={..._0x37d5b0[0x1],[_0x249a91([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7ed89};},{[_0x249a91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x249a91([0x68,0x69,0x67,0x68])}),_0x47eddc[_0x249a91([0x6f,0x6e])](_0x249a91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ea9b1=>{_0x2e15a5(_0x4ea9b1[_0x249a91([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bd233=!0x0,_0x4f9165(_0x4ea9b1[_0x249a91([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x249a91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x249a91([0x6c,0x6f,0x77])}),_0x3b256e[_0x249a91([0x74,0x68,0x65,0x6e])](()=>{_0x3bd233||_0x347875(_0x249a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x257d4d(){return _0x47eddc[_0x249a91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x249a91([0x76,0x69,0x65,0x77])][_0x249a91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x249a91([0x61,0x75,0x74,0x6f]);}function _0x4e865c(){_0x47eddc[_0x249a91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x249a91([0x76,0x69,0x65,0x77])][_0x249a91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x249a91([0x61,0x75,0x74,0x6f]);}}function _0x18eafe(_0x4fe816){const _0x16ebfd=[new window[(_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c4615=>setTimeout(_0x3c4615,0x737d6693^_0x580ac8)),_0x3b256e[_0x249a91([0x74,0x68,0x65,0x6e])](()=>new window[(_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cc4e5=>{let _0x241b30=0x0;_0x47eddc[_0x249a91([0x6d,0x6f,0x64,0x65,0x6c])][_0x249a91([0x6f,0x6e])](_0x249a91([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x276498,_0x60b7c9)=>{_0x60b7c9[0x0][_0x249a91([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x241b30++,_0x241b30==(0x73745db7^_0x580ac8)&&(_0x3cc4e5(),_0x276498[_0x249a91([0x6f,0x66,0x66])]());});}))];return window[_0x249a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x249a91([0x72,0x61,0x63,0x65])](_0x16ebfd)[_0x249a91([0x74,0x68,0x65,0x6e])](()=>_0x4fe816);}async function _0x42b9df(){await _0x3b256e,_0x47eddc[_0x249a91([0x6d,0x6f,0x64,0x65,0x6c])][_0x249a91([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x319dd1,_0x47eddc[_0x249a91([0x6d,0x6f,0x64,0x65,0x6c])][_0x249a91([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x319dd1,_0x47eddc[_0x249a91([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x249a91([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xeb0508(){return window[_0x249a91([0x67,0x6c,0x6f,0x62])]&&window[_0x249a91([0x67,0x6c,0x6f,0x62])][_0x249a91([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x179c42(_0x38c8f3){const _0x17c1e6=_0x51901b();_0x47eddc[_0x17c1e6]=_0x249a91([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])+_0x38c8f3,_0x38c8f3!=_0x249a91([0x56,0x61,0x6c,0x69,0x64])&&_0x42b9df();}function _0x51901b(){const _0x97ce03=window[_0x249a91([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x249a91([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x249a91([0x6e,0x6f,0x77])]())[_0x249a91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x249a91([0x2e]),'');let _0x55fc45=_0x249a91([0x73]);for(let _0x4c2bae=0x0;_0x4c2bae<_0x97ce03[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c2bae+=0x2){let _0x42f803=window[_0x249a91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x97ce03[_0x249a91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c2bae,_0x4c2bae+0x2));_0x42f803>=_0x98d3a6[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42f803-=_0x98d3a6[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55fc45+=_0x98d3a6[_0x42f803];}return _0x55fc45;}function _0x5c1145(){const _0x4d8096=_0x42619a[_0x249a91([0x73,0x70,0x6c,0x69,0x74])](_0x249a91([0x2e]));if(0x3!=_0x4d8096[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19036e(_0x4d8096[0x1]);function _0x19036e(_0xd6600a){const _0xf8ca29=_0x1c67f7(_0xd6600a);return _0xf8ca29&&_0xeb9583()?_0xf8ca29:null;function _0xeb9583(){const _0x3c751=_0xf8ca29[_0x249a91([0x6a,0x74,0x69])],_0x17e801=window[_0x249a91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c751[_0x249a91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c751[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b681e={..._0xf8ca29,[_0x249a91([0x6a,0x74,0x69])]:_0x3c751[_0x249a91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c751[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b681e[_0x249a91([0x76,0x63])],_0x307aa3(_0x2b681e)==_0x17e801;}}}async function _0x63215d(){let _0x4e7c09=!0x0;try{const _0x5346ba=_0x42619a[_0x249a91([0x73,0x70,0x6c,0x69,0x74])](_0x249a91([0x2e])),[_0x263d3d,_0x1c7b53,_0x147ad0]=_0x5346ba;return _0x3872d6(_0x263d3d),await _0x4dfbd6(_0x263d3d,_0x1c7b53,_0x147ad0),_0x4e7c09;}catch{return!0x1;}function _0x3872d6(_0x43171c){const _0x451298=_0x1c67f7(_0x43171c);_0x451298&&_0x451298[_0x249a91([0x61,0x6c,0x67])]==_0x249a91([0x45,0x53,0x32,0x35,0x36])||(_0x4e7c09=!0x1);}async function _0x4dfbd6(_0x13cd75,_0x3fbe1b,_0x2248f5){const _0xb537c5=window[_0x249a91([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x249a91([0x66,0x72,0x6f,0x6d])](_0x3b813d(_0x2248f5),_0x196864=>_0x196864[_0x249a91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1378f9=new window[(_0x249a91([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x249a91([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13cd75+_0x249a91([0x2e])+_0x3fbe1b),_0x52c2c4=window[_0x249a91([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x249a91([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52c2c4)return;const _0x37dd86=await _0x52c2c4[_0x249a91([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x249a91([0x6a,0x77,0x6b]),_0x592d68,{[_0x249a91([0x6e,0x61,0x6d,0x65])]:_0x249a91([0x45,0x43,0x44,0x53,0x41]),[_0x249a91([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x249a91([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x249a91([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52c2c4[_0x249a91([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x249a91([0x6e,0x61,0x6d,0x65])]:_0x249a91([0x45,0x43,0x44,0x53,0x41]),[_0x249a91([0x68,0x61,0x73,0x68])]:{[_0x249a91([0x6e,0x61,0x6d,0x65])]:_0x249a91([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37dd86,_0xb537c5,_0x1378f9)||(_0x4e7c09=!0x1);}}function _0x1c67f7(_0x27bef7){return _0x27bef7[_0x249a91([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x249a91([0x65,0x79]))?JSON[_0x249a91([0x70,0x61,0x72,0x73,0x65])](_0x3b813d(_0x27bef7)):null;}function _0x3b813d(_0x22ee1e){return window[_0x249a91([0x61,0x74,0x6f,0x62])](_0x22ee1e[_0x249a91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x249a91([0x2b]))[_0x249a91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x249a91([0x2f])));}function _0x307aa3(_0xdb3fd2){let _0x5d881e=0x1505;function _0x206e70(_0x3c579b){for(let _0x107bd0=0x0;_0x107bd0<_0x3c579b[_0x249a91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x107bd0++){const _0x235f63=_0x3c579b[_0x249a91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x107bd0);_0x5d881e=(_0x5d881e<<0x5)+_0x5d881e+_0x235f63,_0x5d881e&=_0x5d881e;}}function _0x413581(_0x2dc185){Array[_0x249a91([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2dc185)?_0x2dc185[_0x249a91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x413581):_0x2dc185&&typeof _0x2dc185==_0x249a91([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x249a91([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2dc185)[_0x249a91([0x73,0x6f,0x72,0x74])]()[_0x249a91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2258d2,_0x160f3b])=>{_0x206e70(_0x2258d2),_0x413581(_0x160f3b);}):_0x206e70(window[_0x249a91([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2dc185));}return _0x413581(_0xdb3fd2),_0x5d881e>>>0x0;}function _0x3a2c0d(_0x14634d){return _0x14634d[_0x249a91([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x249a91([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x249a91([0x30]));}function _0x3cf498(_0x11764a){return _0x11764a[_0x249a91([0x73,0x70,0x6c,0x69,0x74])]('')[_0x249a91([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x249a91([0x6a,0x6f,0x69,0x6e])]('');}function _0x319dd1(){}function _0x249a91(_0x329c14){return _0x329c14['map'](_0x1f41f6=>String['fromCharCode'](_0x1f41f6))['join']('');}_0x179c42(await _0x559ef3());}(this);}}const TO=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],AO=['color','font-family','font-size'],SO={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x4282df=>Number(_0x4282df)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function IO(_0x41c565){return TO['includes'](_0x41c565);}function CO(_0x64976b){return Array['from'](_0x64976b['getStyleNames']())['filter'](IO);}function kO(_0x124e4e,_0x937570,_0x2eff79){const {spanStyles:_0x3cb745,stylesToBeHtmlElements:_0x1b39ef}=RO(_0x124e4e,_0x2eff79);!function(_0x37c359,_0x40bca9,_0x474217){for(const _0x56344f in _0x474217){_0x474217[_0x56344f]['forEach'](([,_0x4caeaa])=>{const _0x4f9bdb=_0x40bca9['createElement'](_0x4caeaa,[],_0x37c359['getChildren']());_0x40bca9['insertChild'](0x0,_0x4f9bdb,_0x37c359);}),_0x40bca9['removeStyle'](_0x56344f,_0x37c359);}}(_0x124e4e,_0x937570,_0x1b39ef),function(_0x5cb1e3,_0x5c4434,_0x503516){if(!Object['keys'](_0x503516)['length'])return;const _0x30c159=_0x5c4434['createElement']('span',[],_0x5cb1e3['getChildren']());_0x5c4434['setStyle'](_0x503516,_0x30c159),_0x5c4434['insertChild'](0x0,_0x30c159,_0x5cb1e3),_0x5c4434['removeStyle'](Object['keys'](_0x503516),_0x5cb1e3);}(_0x124e4e,_0x937570,_0x3cb745);}function xO(_0x20fc76,_0x55df70,_0x121b7c){const {spanStyles:_0x1c78e4}=RO(_0x20fc76,_0x121b7c),_0x107429=Object['keys'](_0x1c78e4);if(!_0x107429['length'])return;let _0x5d5096=!0x1;for(const _0x3ab917 of _0x20fc76['getChildren']())if(_0x3ab917['is']('element','span')){_0x5d5096=!0x0;for(const [_0x66289e,_0x2ff084]of Object['entries'](_0x1c78e4))_0x3ab917['hasStyle'](_0x66289e)||_0x55df70['setStyle']({[_0x66289e]:_0x2ff084},_0x3ab917);}_0x5d5096&&_0x55df70['removeStyle'](_0x107429,_0x20fc76);}function RO(_0xb00e55,_0x284532){const _0x2662f7={},_0x7fb3f={};return _0x284532['forEach'](_0x2d4f88=>{const _0x3cc0a1=_0xb00e55['getStyle'](_0x2d4f88);if(_0x3cc0a1){if(function(_0x15a1a7){return AO['includes'](_0x15a1a7);}(_0x2d4f88))_0x2662f7[_0x2d4f88]=_0x3cc0a1;else{if(function(_0x5eaa9b){return _0x5eaa9b in SO;}(_0x2d4f88)){const _0x31b38=_0x3cc0a1['split']('\x20');SO[_0x2d4f88]['forEach'](([_0x174b69,_0x437e66])=>{for(const _0x367138 of _0x31b38){('function'==typeof _0x174b69&&_0x174b69(_0x367138)||_0x174b69===_0x367138)&&(_0x7fb3f[_0x2d4f88]=[..._0x7fb3f[_0x2d4f88]||[],[_0x174b69,_0x437e66]]);}});}}}}),{'spanStyles':_0x2662f7,'stylesToBeHtmlElements':_0x7fb3f};}class MSOfficeInlineStylePropagator extends _0xf8dc75{['execute'](_0x11dbe4){const {body:_0x14fdb1}=_0x11dbe4['_parsedData'],_0x21d2d1=new _0x1d3328(_0x14fdb1['document']),_0x40eb1f=_0x21d2d1['createRangeIn'](_0x14fdb1),_0x3122f1=new _0x3daffa(_0x21d2d1['document']['stylesProcessor']),_0xd93f90=[...new _0x93155b(_0x3122f1)['blockElements'],'font'],_0x463288=_0x40eb1f['getItems']();for(const _0x160dfe of _0x463288)if(_0x160dfe['is']('element')&&_0xd93f90['includes'](_0x160dfe['name'])){if(_0x160dfe['hasStyle']('mso-list')&&'none'!==_0x160dfe['getStyle']('mso-list')){xO(_0x160dfe,_0x21d2d1,CO(_0x160dfe));continue;}kO(_0x160dfe,_0x21d2d1,CO(_0x160dfe));}_0x11dbe4['content']=_0x14fdb1;}['isActive'](_0x88328f){return super['isActive'](_0x88328f)||wO(_0x88328f);}}class PasteFromOfficeEnhancedPropagator extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x32c3c3];}['init'](){const _0x1d3ed3=this['editor'],_0x5a1b23=_0x1d3ed3['plugins']['get']('ClipboardPipeline'),_0x167cf7=_0x1d3ed3['editing']['view']['document'],_0x33ea2d=new MSOfficeInlineStylePropagator(_0x167cf7);_0x5a1b23['on']('inputTransformation',(_0x1c1c60,_0x4d7c02)=>{const _0x5d6bc2=_0x4d7c02['dataTransfer']['getData']('text/html');_0x33ea2d['isActive'](_0x5d6bc2)&&(_0x4d7c02['_parsedData']||(_0x4d7c02['_parsedData']=_0x14176f(_0x5d6bc2,_0x167cf7['stylesProcessor'])),_0x33ea2d['execute'](_0x4d7c02));},{'priority':_0x387442['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x51b034=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5bb305;for(const _0x32b9f2 in _0x51b034){const _0x494ef7=_0x32b9f2,_0x458d35=_0x51b034[_0x494ef7];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x458d35||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x458d35||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x458d35||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x458d35||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x458d35||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x458d35||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x458d35){delete _0x51b034[_0x494ef7],_0x5bb305=_0x458d35,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x5bb305&&_0x51b034['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x5bb305&&_0x51b034['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x5bb305&&_0x51b034['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x5bb305&&_0x51b034['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x5bb305&&_0x51b034['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x5bb305&&_0x51b034['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x7cf71c{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x32c3c3,PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var PO,MO,NO='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},LO={},$O={},DO,QO,VO,UO,BO,jO,FO,HO={};function GO(_0x6d0662){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x6d0662+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ZO,XO,qO,WO,zO,YO,KO,JO,tw,ew,iw,sw,nw,rw,ow={};function aw(){return YO||(YO=0x1,(function(){var _0x1ab1a8=$O;function _0x308a29(_0x4fa297,_0x54e5c8,_0x36b8d3){for(var _0x48a16a=Object['keys'](_0x54e5c8),_0x55418=0x0;_0x55418<_0x48a16a['length'];++_0x55418)void 0x0!==_0x4fa297[_0x48a16a[_0x55418]]&&_0x36b8d3||'__proto__'!==_0x48a16a[_0x55418]&&(_0x4fa297[_0x48a16a[_0x55418]]=_0x54e5c8[_0x48a16a[_0x55418]]);return _0x4fa297;}function _0x38bfbd(_0x549efc){function _0x275748(_0x4e7456,_0x2d876b){if(!(this instanceof _0x275748))return new _0x275748(_0x4e7456,_0x2d876b);Object['defineProperty'](this,'message',{'get':function(){return _0x4e7456;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x275748):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x2d876b&&_0x308a29(this,_0x2d876b);}return _0x275748['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x275748,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x549efc;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x275748;}_0x1ab1a8['asPromise']=(MO||(MO=0x1,PO=function(_0x465d34,_0x23d593){for(var _0x186629=new Array(arguments['length']-0x1),_0x2f3656=0x0,_0x17b211=0x2,_0x12aadd=!0x0;_0x17b211<arguments['length'];)_0x186629[_0x2f3656++]=arguments[_0x17b211++];return new Promise(function(_0x38a2c6,_0x56f432){_0x186629[_0x2f3656]=function(_0x453e9b){if(_0x12aadd){if(_0x12aadd=!0x1,_0x453e9b)_0x56f432(_0x453e9b);else{for(var _0x4746ba=new Array(arguments['length']-0x1),_0x370f18=0x0;_0x370f18<_0x4746ba['length'];)_0x4746ba[_0x370f18++]=arguments[_0x370f18];_0x38a2c6['apply'](null,_0x4746ba);}}};try{_0x465d34['apply'](_0x23d593||null,_0x186629);}catch(_0x517a4a){_0x12aadd&&(_0x12aadd=!0x1,_0x56f432(_0x517a4a));}});}),PO),_0x1ab1a8['base64']=(DO||(DO=0x1,function(_0x1174ef){var _0x18f5dd=_0x1174ef;_0x18f5dd['length']=function(_0x3ae248){var _0x40682c=_0x3ae248['length'];if(!_0x40682c)return 0x0;for(var _0x3dbf90=0x0;--_0x40682c%0x4>0x1&&'='===_0x3ae248['charAt'](_0x40682c);)++_0x3dbf90;return Math['ceil'](0x3*_0x3ae248['length'])/0x4-_0x3dbf90;};for(var _0x14a272=new Array(0x40),_0xba282f=new Array(0x7b),_0x1abd5d=0x0;_0x1abd5d<0x40;)_0xba282f[_0x14a272[_0x1abd5d]=_0x1abd5d<0x1a?_0x1abd5d+0x41:_0x1abd5d<0x34?_0x1abd5d+0x47:_0x1abd5d<0x3e?_0x1abd5d-0x4:_0x1abd5d-0x3b|0x2b]=_0x1abd5d++;_0x18f5dd['encode']=function(_0x1fdfa0,_0x1580d7,_0x5c419e){for(var t,_0x48e1ad=null,_0x320387=[],_0x3e26ed=0x0,_0x5acac4=0x0;_0x1580d7<_0x5c419e;){var _0x338b2a=_0x1fdfa0[_0x1580d7++];switch(_0x5acac4){case 0x0:_0x320387[_0x3e26ed++]=_0x14a272[_0x338b2a>>0x2],t=(0x3&_0x338b2a)<<0x4,_0x5acac4=0x1;break;case 0x1:_0x320387[_0x3e26ed++]=_0x14a272[t|_0x338b2a>>0x4],t=(0xf&_0x338b2a)<<0x2,_0x5acac4=0x2;break;case 0x2:_0x320387[_0x3e26ed++]=_0x14a272[t|_0x338b2a>>0x6],_0x320387[_0x3e26ed++]=_0x14a272[0x3f&_0x338b2a],_0x5acac4=0x0;}_0x3e26ed>0x1fff&&((_0x48e1ad||(_0x48e1ad=[]))['push'](String['fromCharCode']['apply'](String,_0x320387)),_0x3e26ed=0x0);}return _0x5acac4&&(_0x320387[_0x3e26ed++]=_0x14a272[t],_0x320387[_0x3e26ed++]=0x3d,0x1===_0x5acac4&&(_0x320387[_0x3e26ed++]=0x3d)),_0x48e1ad?(_0x3e26ed&&_0x48e1ad['push'](String['fromCharCode']['apply'](String,_0x320387['slice'](0x0,_0x3e26ed))),_0x48e1ad['join']('')):String['fromCharCode']['apply'](String,_0x320387['slice'](0x0,_0x3e26ed));};var _0x24a66b='invalid\x20encoding';_0x18f5dd['decode']=function(_0x5d3396,_0xe7b3dd,_0x3fab6f){for(var t,_0x14a990=_0x3fab6f,_0x5e306b=0x0,_0x3f6403=0x0;_0x3f6403<_0x5d3396['length'];){var _0xae138e=_0x5d3396['charCodeAt'](_0x3f6403++);if(0x3d===_0xae138e&&_0x5e306b>0x1)break;if(void 0x0===(_0xae138e=_0xba282f[_0xae138e]))throw Error(_0x24a66b);switch(_0x5e306b){case 0x0:t=_0xae138e,_0x5e306b=0x1;break;case 0x1:_0xe7b3dd[_0x3fab6f++]=t<<0x2|(0x30&_0xae138e)>>0x4,t=_0xae138e,_0x5e306b=0x2;break;case 0x2:_0xe7b3dd[_0x3fab6f++]=(0xf&t)<<0x4|(0x3c&_0xae138e)>>0x2,t=_0xae138e,_0x5e306b=0x3;break;case 0x3:_0xe7b3dd[_0x3fab6f++]=(0x3&t)<<0x6|_0xae138e,_0x5e306b=0x0;}}if(0x1===_0x5e306b)throw Error(_0x24a66b);return _0x3fab6f-_0x14a990;},_0x18f5dd['test']=function(_0x5c7474){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x5c7474);};}(HO)),HO),_0x1ab1a8['EventEmitter']=(function(){if(VO)return QO;function _0x4d5936(){this['_listeners']={};}return VO=0x1,QO=_0x4d5936,_0x4d5936['prototype']['on']=function(_0x582bfb,_0x3da01e,_0x574151){return(this['_listeners'][_0x582bfb]||(this['_listeners'][_0x582bfb]=[]))['push']({'fn':_0x3da01e,'ctx':_0x574151||this}),this;},_0x4d5936['prototype']['off']=function(_0x401b5c,_0x4f7f5e){if(void 0x0===_0x401b5c)this['_listeners']={};else{if(void 0x0===_0x4f7f5e)this['_listeners'][_0x401b5c]=[];else{for(var _0xca727b=this['_listeners'][_0x401b5c],_0x1f8cc3=0x0;_0x1f8cc3<_0xca727b['length'];)_0xca727b[_0x1f8cc3]['fn']===_0x4f7f5e?_0xca727b['splice'](_0x1f8cc3,0x1):++_0x1f8cc3;}}return this;},_0x4d5936['prototype']['emit']=function(_0x4e1804){var _0x43bc1f=this['_listeners'][_0x4e1804];if(_0x43bc1f){for(var _0x42a91f=[],_0x7fc694=0x1;_0x7fc694<arguments['length'];)_0x42a91f['push'](arguments[_0x7fc694++]);for(_0x7fc694=0x0;_0x7fc694<_0x43bc1f['length'];)_0x43bc1f[_0x7fc694]['fn']['apply'](_0x43bc1f[_0x7fc694++]['ctx'],_0x42a91f);}return this;},QO;}()),_0x1ab1a8['float']=(function(){if(BO)return UO;function _0x4d153c(_0x5a061e){return'undefined'!=typeof Float32Array?(function(){var _0x38b591=new Float32Array([-0x0]),_0x4b9da5=new Uint8Array(_0x38b591['buffer']),_0x146379=0x80===_0x4b9da5[0x3];function _0x34d8b6(_0x273a19,_0x4d4adf,_0xc663d6){_0x38b591[0x0]=_0x273a19,_0x4d4adf[_0xc663d6]=_0x4b9da5[0x0],_0x4d4adf[_0xc663d6+0x1]=_0x4b9da5[0x1],_0x4d4adf[_0xc663d6+0x2]=_0x4b9da5[0x2],_0x4d4adf[_0xc663d6+0x3]=_0x4b9da5[0x3];}function _0x2d261a(_0x3c084f,_0x2ccd06,_0x51b14e){_0x38b591[0x0]=_0x3c084f,_0x2ccd06[_0x51b14e]=_0x4b9da5[0x3],_0x2ccd06[_0x51b14e+0x1]=_0x4b9da5[0x2],_0x2ccd06[_0x51b14e+0x2]=_0x4b9da5[0x1],_0x2ccd06[_0x51b14e+0x3]=_0x4b9da5[0x0];}function _0x250ac9(_0x42656f,_0x29668b){return _0x4b9da5[0x0]=_0x42656f[_0x29668b],_0x4b9da5[0x1]=_0x42656f[_0x29668b+0x1],_0x4b9da5[0x2]=_0x42656f[_0x29668b+0x2],_0x4b9da5[0x3]=_0x42656f[_0x29668b+0x3],_0x38b591[0x0];}function _0x2dfa1c(_0x15bd8a,_0x5deb9e){return _0x4b9da5[0x3]=_0x15bd8a[_0x5deb9e],_0x4b9da5[0x2]=_0x15bd8a[_0x5deb9e+0x1],_0x4b9da5[0x1]=_0x15bd8a[_0x5deb9e+0x2],_0x4b9da5[0x0]=_0x15bd8a[_0x5deb9e+0x3],_0x38b591[0x0];}_0x5a061e['writeFloatLE']=_0x146379?_0x34d8b6:_0x2d261a,_0x5a061e['writeFloatBE']=_0x146379?_0x2d261a:_0x34d8b6,_0x5a061e['readFloatLE']=_0x146379?_0x250ac9:_0x2dfa1c,_0x5a061e['readFloatBE']=_0x146379?_0x2dfa1c:_0x250ac9;}()):(function(){function _0x49da5c(_0x4a304e,_0x59e584,_0x4abc36,_0x44e807){var _0x1ba6b2=_0x59e584<0x0?0x1:0x0;if(_0x1ba6b2&&(_0x59e584=-_0x59e584),0x0===_0x59e584)_0x4a304e(0x1/_0x59e584>0x0?0x0:0x80000000,_0x4abc36,_0x44e807);else{if(isNaN(_0x59e584))_0x4a304e(0x7fc00000,_0x4abc36,_0x44e807);else{if(_0x59e584>0xffffff00000000000000000000000000)_0x4a304e((_0x1ba6b2<<0x1f|0x7f800000)>>>0x0,_0x4abc36,_0x44e807);else{if(_0x59e584<1.1754943508222875e-38)_0x4a304e((_0x1ba6b2<<0x1f|Math['round'](_0x59e584/1.401298464324817e-45))>>>0x0,_0x4abc36,_0x44e807);else{var _0x10bbf0=Math['floor'](Math['log'](_0x59e584)/Math['LN2']);_0x4a304e((_0x1ba6b2<<0x1f|_0x10bbf0+0x7f<<0x17|0x7fffff&Math['round'](_0x59e584*Math['pow'](0x2,-_0x10bbf0)*0x800000))>>>0x0,_0x4abc36,_0x44e807);}}}}}function _0x15414b(_0x2cd961,_0x4a5c8c,_0x54616e){var _0x4c9adf=_0x2cd961(_0x4a5c8c,_0x54616e),_0x486e09=0x2*(_0x4c9adf>>0x1f)+0x1,_0x291e67=_0x4c9adf>>>0x17&0xff,_0xf9b847=0x7fffff&_0x4c9adf;return 0xff===_0x291e67?_0xf9b847?NaN:_0x486e09*(0x1/0x0):0x0===_0x291e67?1.401298464324817e-45*_0x486e09*_0xf9b847:_0x486e09*Math['pow'](0x2,_0x291e67-0x96)*(_0xf9b847+0x800000);}_0x5a061e['writeFloatLE']=_0x49da5c['bind'](null,_0x275a68),_0x5a061e['writeFloatBE']=_0x49da5c['bind'](null,_0x4270af),_0x5a061e['readFloatLE']=_0x15414b['bind'](null,_0x12c50f),_0x5a061e['readFloatBE']=_0x15414b['bind'](null,_0x12ed31);}()),'undefined'!=typeof Float64Array?(function(){var _0x98187a=new Float64Array([-0x0]),_0x3a707a=new Uint8Array(_0x98187a['buffer']),_0x35cb82=0x80===_0x3a707a[0x7];function _0x46559b(_0xb1e2ce,_0x238c06,_0x59451f){_0x98187a[0x0]=_0xb1e2ce,_0x238c06[_0x59451f]=_0x3a707a[0x0],_0x238c06[_0x59451f+0x1]=_0x3a707a[0x1],_0x238c06[_0x59451f+0x2]=_0x3a707a[0x2],_0x238c06[_0x59451f+0x3]=_0x3a707a[0x3],_0x238c06[_0x59451f+0x4]=_0x3a707a[0x4],_0x238c06[_0x59451f+0x5]=_0x3a707a[0x5],_0x238c06[_0x59451f+0x6]=_0x3a707a[0x6],_0x238c06[_0x59451f+0x7]=_0x3a707a[0x7];}function _0x890180(_0x145da7,_0x58bd3f,_0x8f1e55){_0x98187a[0x0]=_0x145da7,_0x58bd3f[_0x8f1e55]=_0x3a707a[0x7],_0x58bd3f[_0x8f1e55+0x1]=_0x3a707a[0x6],_0x58bd3f[_0x8f1e55+0x2]=_0x3a707a[0x5],_0x58bd3f[_0x8f1e55+0x3]=_0x3a707a[0x4],_0x58bd3f[_0x8f1e55+0x4]=_0x3a707a[0x3],_0x58bd3f[_0x8f1e55+0x5]=_0x3a707a[0x2],_0x58bd3f[_0x8f1e55+0x6]=_0x3a707a[0x1],_0x58bd3f[_0x8f1e55+0x7]=_0x3a707a[0x0];}function _0xfc4399(_0x355f1d,_0xf09915){return _0x3a707a[0x0]=_0x355f1d[_0xf09915],_0x3a707a[0x1]=_0x355f1d[_0xf09915+0x1],_0x3a707a[0x2]=_0x355f1d[_0xf09915+0x2],_0x3a707a[0x3]=_0x355f1d[_0xf09915+0x3],_0x3a707a[0x4]=_0x355f1d[_0xf09915+0x4],_0x3a707a[0x5]=_0x355f1d[_0xf09915+0x5],_0x3a707a[0x6]=_0x355f1d[_0xf09915+0x6],_0x3a707a[0x7]=_0x355f1d[_0xf09915+0x7],_0x98187a[0x0];}function _0x23e9a0(_0x64c587,_0x23f2a2){return _0x3a707a[0x7]=_0x64c587[_0x23f2a2],_0x3a707a[0x6]=_0x64c587[_0x23f2a2+0x1],_0x3a707a[0x5]=_0x64c587[_0x23f2a2+0x2],_0x3a707a[0x4]=_0x64c587[_0x23f2a2+0x3],_0x3a707a[0x3]=_0x64c587[_0x23f2a2+0x4],_0x3a707a[0x2]=_0x64c587[_0x23f2a2+0x5],_0x3a707a[0x1]=_0x64c587[_0x23f2a2+0x6],_0x3a707a[0x0]=_0x64c587[_0x23f2a2+0x7],_0x98187a[0x0];}_0x5a061e['writeDoubleLE']=_0x35cb82?_0x46559b:_0x890180,_0x5a061e['writeDoubleBE']=_0x35cb82?_0x890180:_0x46559b,_0x5a061e['readDoubleLE']=_0x35cb82?_0xfc4399:_0x23e9a0,_0x5a061e['readDoubleBE']=_0x35cb82?_0x23e9a0:_0xfc4399;}()):(function(){function _0x1ddef0(_0x537013,_0x5a517d,_0x476aba,_0x2760a6,_0x486d95,_0x26247d){var _0x5b1f7c=_0x2760a6<0x0?0x1:0x0;if(_0x5b1f7c&&(_0x2760a6=-_0x2760a6),0x0===_0x2760a6)_0x537013(0x0,_0x486d95,_0x26247d+_0x5a517d),_0x537013(0x1/_0x2760a6>0x0?0x0:0x80000000,_0x486d95,_0x26247d+_0x476aba);else{if(isNaN(_0x2760a6))_0x537013(0x0,_0x486d95,_0x26247d+_0x5a517d),_0x537013(0x7ff80000,_0x486d95,_0x26247d+_0x476aba);else{if(_0x2760a6>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x537013(0x0,_0x486d95,_0x26247d+_0x5a517d),_0x537013((_0x5b1f7c<<0x1f|0x7ff00000)>>>0x0,_0x486d95,_0x26247d+_0x476aba);else{var _0x5eb198;if(_0x2760a6<2.2250738585072014e-308)_0x537013((_0x5eb198=_0x2760a6/5e-324)>>>0x0,_0x486d95,_0x26247d+_0x5a517d),_0x537013((_0x5b1f7c<<0x1f|_0x5eb198/0x100000000)>>>0x0,_0x486d95,_0x26247d+_0x476aba);else{var _0x578f30=Math['floor'](Math['log'](_0x2760a6)/Math['LN2']);0x400===_0x578f30&&(_0x578f30=0x3ff),_0x537013(0x10000000000000*(_0x5eb198=_0x2760a6*Math['pow'](0x2,-_0x578f30))>>>0x0,_0x486d95,_0x26247d+_0x5a517d),_0x537013((_0x5b1f7c<<0x1f|_0x578f30+0x3ff<<0x14|0x100000*_0x5eb198&0xfffff)>>>0x0,_0x486d95,_0x26247d+_0x476aba);}}}}}function _0x24783c(_0x5f5d15,_0x85d51c,_0x5065b1,_0x45a248,_0x3d3e9a){var _0x52c915=_0x5f5d15(_0x45a248,_0x3d3e9a+_0x85d51c),_0x382ba4=_0x5f5d15(_0x45a248,_0x3d3e9a+_0x5065b1),_0xbe2575=0x2*(_0x382ba4>>0x1f)+0x1,_0x86b7c0=_0x382ba4>>>0x14&0x7ff,_0x56716d=0x100000000*(0xfffff&_0x382ba4)+_0x52c915;return 0x7ff===_0x86b7c0?_0x56716d?NaN:_0xbe2575*(0x1/0x0):0x0===_0x86b7c0?5e-324*_0xbe2575*_0x56716d:_0xbe2575*Math['pow'](0x2,_0x86b7c0-0x433)*(_0x56716d+0x10000000000000);}_0x5a061e['writeDoubleLE']=_0x1ddef0['bind'](null,_0x275a68,0x0,0x4),_0x5a061e['writeDoubleBE']=_0x1ddef0['bind'](null,_0x4270af,0x4,0x0),_0x5a061e['readDoubleLE']=_0x24783c['bind'](null,_0x12c50f,0x0,0x4),_0x5a061e['readDoubleBE']=_0x24783c['bind'](null,_0x12ed31,0x4,0x0);}()),_0x5a061e;}function _0x275a68(_0x4bc5fa,_0xa70cf3,_0x2c5601){_0xa70cf3[_0x2c5601]=0xff&_0x4bc5fa,_0xa70cf3[_0x2c5601+0x1]=_0x4bc5fa>>>0x8&0xff,_0xa70cf3[_0x2c5601+0x2]=_0x4bc5fa>>>0x10&0xff,_0xa70cf3[_0x2c5601+0x3]=_0x4bc5fa>>>0x18;}function _0x4270af(_0x537de6,_0x54fa68,_0x10029b){_0x54fa68[_0x10029b]=_0x537de6>>>0x18,_0x54fa68[_0x10029b+0x1]=_0x537de6>>>0x10&0xff,_0x54fa68[_0x10029b+0x2]=_0x537de6>>>0x8&0xff,_0x54fa68[_0x10029b+0x3]=0xff&_0x537de6;}function _0x12c50f(_0x53de44,_0x510fe3){return(_0x53de44[_0x510fe3]|_0x53de44[_0x510fe3+0x1]<<0x8|_0x53de44[_0x510fe3+0x2]<<0x10|_0x53de44[_0x510fe3+0x3]<<0x18)>>>0x0;}function _0x12ed31(_0x1ab8ea,_0x191470){return(_0x1ab8ea[_0x191470]<<0x18|_0x1ab8ea[_0x191470+0x1]<<0x10|_0x1ab8ea[_0x191470+0x2]<<0x8|_0x1ab8ea[_0x191470+0x3])>>>0x0;}return BO=0x1,UO=_0x4d153c(_0x4d153c);}()),_0x1ab1a8['inquire']=FO?jO:(FO=0x1,jO=function(_0x43f312){try{var _0x238c05=GO(_0x43f312);return _0x238c05&&(_0x238c05['length']||Object['keys'](_0x238c05)['length'])?_0x238c05:null;}catch(_0x6b1090){return null;}}),_0x1ab1a8['utf8']=(ZO||(ZO=0x1,function(_0x2cd29e){var _0x56f989=_0x2cd29e;_0x56f989['length']=function(_0x1d3b3d){for(var _0x38869d=0x0,_0x6e545=0x0,_0x2e4dd5=0x0;_0x2e4dd5<_0x1d3b3d['length'];++_0x2e4dd5)(_0x6e545=_0x1d3b3d['charCodeAt'](_0x2e4dd5))<0x80?_0x38869d+=0x1:_0x6e545<0x800?_0x38869d+=0x2:0xd800==(0xfc00&_0x6e545)&&0xdc00==(0xfc00&_0x1d3b3d['charCodeAt'](_0x2e4dd5+0x1))?(++_0x2e4dd5,_0x38869d+=0x4):_0x38869d+=0x3;return _0x38869d;},_0x56f989['read']=function(_0x289bbe,_0x4f7e8c,_0x5bd190){if(_0x5bd190-_0x4f7e8c<0x1)return'';for(var _0x41fdb7='',_0x2971ca=_0x4f7e8c;_0x2971ca<_0x5bd190;){var t=_0x289bbe[_0x2971ca++];if(t<=0x7f)_0x41fdb7+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x440155=(0x1f&t)<<0x6|0x3f&_0x289bbe[_0x2971ca++];_0x41fdb7+=_0x440155>=0x80?String['fromCharCode'](_0x440155):'�';}else{if(t>=0xe0&&t<0xf0){var _0x41acdd=(0xf&t)<<0xc|(0x3f&_0x289bbe[_0x2971ca++])<<0x6|0x3f&_0x289bbe[_0x2971ca++];_0x41fdb7+=_0x41acdd>=0x800?String['fromCharCode'](_0x41acdd):'�';}else{if(t>=0xf0){var _0xb7dbd1=(0x7&t)<<0x12|(0x3f&_0x289bbe[_0x2971ca++])<<0xc|(0x3f&_0x289bbe[_0x2971ca++])<<0x6|0x3f&_0x289bbe[_0x2971ca++];_0xb7dbd1<0x10000||_0xb7dbd1>0x10ffff?_0x41fdb7+='�':(_0xb7dbd1-=0x10000,_0x41fdb7+=String['fromCharCode'](0xd800+(_0xb7dbd1>>0xa)),_0x41fdb7+=String['fromCharCode'](0xdc00+(0x3ff&_0xb7dbd1)));}}}}}return _0x41fdb7;},_0x56f989['write']=function(_0x5ef771,_0x33d795,_0xcff6b){for(var _0x4bb4c7,_0x1d1532,_0x4ec2d3=_0xcff6b,_0x358c44=0x0;_0x358c44<_0x5ef771['length'];++_0x358c44)(_0x4bb4c7=_0x5ef771['charCodeAt'](_0x358c44))<0x80?_0x33d795[_0xcff6b++]=_0x4bb4c7:_0x4bb4c7<0x800?(_0x33d795[_0xcff6b++]=_0x4bb4c7>>0x6|0xc0,_0x33d795[_0xcff6b++]=0x3f&_0x4bb4c7|0x80):0xd800==(0xfc00&_0x4bb4c7)&&0xdc00==(0xfc00&(_0x1d1532=_0x5ef771['charCodeAt'](_0x358c44+0x1)))?(_0x4bb4c7=0x10000+((0x3ff&_0x4bb4c7)<<0xa)+(0x3ff&_0x1d1532),++_0x358c44,_0x33d795[_0xcff6b++]=_0x4bb4c7>>0x12|0xf0,_0x33d795[_0xcff6b++]=_0x4bb4c7>>0xc&0x3f|0x80,_0x33d795[_0xcff6b++]=_0x4bb4c7>>0x6&0x3f|0x80,_0x33d795[_0xcff6b++]=0x3f&_0x4bb4c7|0x80):(_0x33d795[_0xcff6b++]=_0x4bb4c7>>0xc|0xe0,_0x33d795[_0xcff6b++]=_0x4bb4c7>>0x6&0x3f|0x80,_0x33d795[_0xcff6b++]=0x3f&_0x4bb4c7|0x80);return _0xcff6b-_0x4ec2d3;};}(ow)),ow),_0x1ab1a8['pool']=(qO||(qO=0x1,XO=function(_0x111d26,_0x93d111,_0x8f0f8f){var _0x3715a9=_0x8f0f8f||0x2000,_0x41ea70=_0x3715a9>>>0x1,_0x34ff54=null,_0x4b8565=_0x3715a9;return function(_0x52c0a5){if(_0x52c0a5<0x1||_0x52c0a5>_0x41ea70)return _0x111d26(_0x52c0a5);_0x4b8565+_0x52c0a5>_0x3715a9&&(_0x34ff54=_0x111d26(_0x3715a9),_0x4b8565=0x0);var _0x2ad940=_0x93d111['call'](_0x34ff54,_0x4b8565,_0x4b8565+=_0x52c0a5);return 0x7&_0x4b8565&&(_0x4b8565=0x1+(0x7|_0x4b8565)),_0x2ad940;};}),XO),_0x1ab1a8['LongBits']=(function(){if(zO)return WO;zO=0x1,WO=_0xee67ee;var _0x38a9fc=aw();function _0xee67ee(_0x1491ff,_0x3cb04c){this['lo']=_0x1491ff>>>0x0,this['hi']=_0x3cb04c>>>0x0;}var _0x2ba15e=_0xee67ee['zero']=new _0xee67ee(0x0,0x0);_0x2ba15e['toNumber']=function(){return 0x0;},_0x2ba15e['zzEncode']=_0x2ba15e['zzDecode']=function(){return this;},_0x2ba15e['length']=function(){return 0x1;};var _0x2fab8e=_0xee67ee['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0xee67ee['fromNumber']=function(_0x243d4c){if(0x0===_0x243d4c)return _0x2ba15e;var _0xc95f7=_0x243d4c<0x0;_0xc95f7&&(_0x243d4c=-_0x243d4c);var _0x2c9184=_0x243d4c>>>0x0,_0x41672c=(_0x243d4c-_0x2c9184)/0x100000000>>>0x0;return _0xc95f7&&(_0x41672c=~_0x41672c>>>0x0,_0x2c9184=~_0x2c9184>>>0x0,++_0x2c9184>0xffffffff&&(_0x2c9184=0x0,++_0x41672c>0xffffffff&&(_0x41672c=0x0))),new _0xee67ee(_0x2c9184,_0x41672c);},_0xee67ee['from']=function(_0x4804b6){if('number'==typeof _0x4804b6)return _0xee67ee['fromNumber'](_0x4804b6);if(_0x38a9fc['isString'](_0x4804b6)){if(!_0x38a9fc['Long'])return _0xee67ee['fromNumber'](parseInt(_0x4804b6,0xa));_0x4804b6=_0x38a9fc['Long']['fromString'](_0x4804b6);}return _0x4804b6['low']||_0x4804b6['high']?new _0xee67ee(_0x4804b6['low']>>>0x0,_0x4804b6['high']>>>0x0):_0x2ba15e;},_0xee67ee['prototype']['toNumber']=function(_0x586bca){if(!_0x586bca&&this['hi']>>>0x1f){var _0x7752a=0x1+~this['lo']>>>0x0,_0x1352bd=~this['hi']>>>0x0;return _0x7752a||(_0x1352bd=_0x1352bd+0x1>>>0x0),-(_0x7752a+0x100000000*_0x1352bd);}return this['lo']+0x100000000*this['hi'];},_0xee67ee['prototype']['toLong']=function(_0x3117a9){return _0x38a9fc['Long']?new _0x38a9fc['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x3117a9)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x3117a9)};};var _0x5977d5=String['prototype']['charCodeAt'];return _0xee67ee['fromHash']=function(_0x536c82){return _0x536c82===_0x2fab8e?_0x2ba15e:new _0xee67ee((_0x5977d5['call'](_0x536c82,0x0)|_0x5977d5['call'](_0x536c82,0x1)<<0x8|_0x5977d5['call'](_0x536c82,0x2)<<0x10|_0x5977d5['call'](_0x536c82,0x3)<<0x18)>>>0x0,(_0x5977d5['call'](_0x536c82,0x4)|_0x5977d5['call'](_0x536c82,0x5)<<0x8|_0x5977d5['call'](_0x536c82,0x6)<<0x10|_0x5977d5['call'](_0x536c82,0x7)<<0x18)>>>0x0);},_0xee67ee['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);},_0xee67ee['prototype']['zzEncode']=function(){var _0x301ac3=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x301ac3)>>>0x0,this['lo']=(this['lo']<<0x1^_0x301ac3)>>>0x0,this;},_0xee67ee['prototype']['zzDecode']=function(){var _0x501d59=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x501d59)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x501d59)>>>0x0,this;},_0xee67ee['prototype']['length']=function(){var _0x557cca=this['lo'],_0x461eca=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x30fed3=this['hi']>>>0x18;return 0x0===_0x30fed3?0x0===_0x461eca?_0x557cca<0x4000?_0x557cca<0x80?0x1:0x2:_0x557cca<0x200000?0x3:0x4:_0x461eca<0x4000?_0x461eca<0x80?0x5:0x6:_0x461eca<0x200000?0x7:0x8:_0x30fed3<0x80?0x9:0xa;},WO;}()),_0x1ab1a8['isNode']=Boolean(void 0x0!==NO&&NO&&NO['process']&&NO['process']['versions']&&NO['process']['versions']['node']),_0x1ab1a8['global']=_0x1ab1a8['isNode']&&NO||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||$O,_0x1ab1a8['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x1ab1a8['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x1ab1a8['isInteger']=Number['isInteger']||function(_0x582568){return'number'==typeof _0x582568&&isFinite(_0x582568)&&Math['floor'](_0x582568)===_0x582568;},_0x1ab1a8['isString']=function(_0xba636c){return'string'==typeof _0xba636c||_0xba636c instanceof String;},_0x1ab1a8['isObject']=function(_0x47e2f3){return _0x47e2f3&&'object'==typeof _0x47e2f3;},_0x1ab1a8['isset']=_0x1ab1a8['isSet']=function(_0x4b13fa,_0xaa9d80){var _0x39b285=_0x4b13fa[_0xaa9d80];return!(null==_0x39b285||!_0x4b13fa['hasOwnProperty'](_0xaa9d80))&&('object'!=typeof _0x39b285||(Array['isArray'](_0x39b285)?_0x39b285['length']:Object['keys'](_0x39b285)['length'])>0x0);},_0x1ab1a8['Buffer']=(function(){try{var _0x1b2509=_0x1ab1a8['inquire']('buffer')['Buffer'];return _0x1b2509['prototype']['utf8Write']?_0x1b2509:null;}catch(_0x381328){return null;}}()),_0x1ab1a8['_Buffer_from']=null,_0x1ab1a8['_Buffer_allocUnsafe']=null,_0x1ab1a8['newBuffer']=function(_0x12aa84){return'number'==typeof _0x12aa84?_0x1ab1a8['Buffer']?_0x1ab1a8['_Buffer_allocUnsafe'](_0x12aa84):new _0x1ab1a8['Array'](_0x12aa84):_0x1ab1a8['Buffer']?_0x1ab1a8['_Buffer_from'](_0x12aa84):'undefined'==typeof Uint8Array?_0x12aa84:new Uint8Array(_0x12aa84);},_0x1ab1a8['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x1ab1a8['Long']=_0x1ab1a8['global']['dcodeIO']&&_0x1ab1a8['global']['dcodeIO']['Long']||_0x1ab1a8['global']['Long']||_0x1ab1a8['inquire']('long'),_0x1ab1a8['key2Re']=/^true|false|0|1$/,_0x1ab1a8['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x1ab1a8['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x1ab1a8['longToHash']=function(_0x25c27e){return _0x25c27e?_0x1ab1a8['LongBits']['from'](_0x25c27e)['toHash']():_0x1ab1a8['LongBits']['zeroHash'];},_0x1ab1a8['longFromHash']=function(_0x330f5e,_0x1468c2){var _0x1879e1=_0x1ab1a8['LongBits']['fromHash'](_0x330f5e);return _0x1ab1a8['Long']?_0x1ab1a8['Long']['fromBits'](_0x1879e1['lo'],_0x1879e1['hi'],_0x1468c2):_0x1879e1['toNumber'](Boolean(_0x1468c2));},_0x1ab1a8['merge']=_0x308a29,_0x1ab1a8['recursionLimit']=0x64,_0x1ab1a8['makeProp']=function(_0x536fc9,_0x7c9388){Object['defineProperty'](_0x536fc9,_0x7c9388,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x1ab1a8['lcFirst']=function(_0x3f7670){return _0x3f7670['charAt'](0x0)['toLowerCase']()+_0x3f7670['substring'](0x1);},_0x1ab1a8['newError']=_0x38bfbd,_0x1ab1a8['ProtocolError']=_0x38bfbd('ProtocolError'),_0x1ab1a8['oneOfGetter']=function(_0x2a7996){for(var _0x2745aa={},_0x5c6567=0x0;_0x5c6567<_0x2a7996['length'];++_0x5c6567)_0x2745aa[_0x2a7996[_0x5c6567]]=0x1;return function(){for(var _0x557ee1=Object['keys'](this),_0x58d4b6=_0x557ee1['length']-0x1;_0x58d4b6>-0x1;--_0x58d4b6)if(0x1===_0x2745aa[_0x557ee1[_0x58d4b6]]&&void 0x0!==this[_0x557ee1[_0x58d4b6]]&&null!==this[_0x557ee1[_0x58d4b6]])return _0x557ee1[_0x58d4b6];};},_0x1ab1a8['oneOfSetter']=function(_0x4c229e){return function(_0x20eb00){for(var _0x22b2f8=0x0;_0x22b2f8<_0x4c229e['length'];++_0x22b2f8)_0x4c229e[_0x22b2f8]!==_0x20eb00&&delete this[_0x4c229e[_0x22b2f8]];};},_0x1ab1a8['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x1ab1a8['_configure']=function(){var _0x96b588=_0x1ab1a8['Buffer'];_0x96b588?(_0x1ab1a8['_Buffer_from']=_0x96b588['from']!==Uint8Array['from']&&_0x96b588['from']||function(_0x22a9c9,_0x27197e){return new _0x96b588(_0x22a9c9,_0x27197e);},_0x1ab1a8['_Buffer_allocUnsafe']=_0x96b588['allocUnsafe']||function(_0x4b84ab){return new _0x96b588(_0x4b84ab);}):_0x1ab1a8['_Buffer_from']=_0x1ab1a8['_Buffer_allocUnsafe']=null;};}())),$O;}function cw(){if(JO)return KO;JO=0x1,KO=_0x583fee;var _0x507caf,_0x5902b2=aw(),_0x7919b1=_0x5902b2['LongBits'],_0xb33b8b=_0x5902b2['base64'],_0x16603e=_0x5902b2['utf8'];function _0x1ec245(_0x1e2ca9,_0xe49cc1,_0x5a2bcc){this['fn']=_0x1e2ca9,this['len']=_0xe49cc1,this['next']=void 0x0,this['val']=_0x5a2bcc;}function _0x4a2726(){}function _0xa0793a(_0x47e44b){this['head']=_0x47e44b['head'],this['tail']=_0x47e44b['tail'],this['len']=_0x47e44b['len'],this['next']=_0x47e44b['states'];}function _0x583fee(){this['len']=0x0,this['head']=new _0x1ec245(_0x4a2726,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x54ab8c=function(){return _0x5902b2['Buffer']?function(){return(_0x583fee['create']=function(){return new _0x507caf();})();}:function(){return new _0x583fee();};};function _0x1dd52f(_0x230d65,_0x516295,_0x2a05cc){_0x516295[_0x2a05cc]=0xff&_0x230d65;}function _0x2fe5f2(_0x245f3e,_0x192601){this['len']=_0x245f3e,this['next']=void 0x0,this['val']=_0x192601;}function _0x59a08c(_0x326253,_0x26759b,_0x4aad){for(;_0x326253['hi'];)_0x26759b[_0x4aad++]=0x7f&_0x326253['lo']|0x80,_0x326253['lo']=(_0x326253['lo']>>>0x7|_0x326253['hi']<<0x19)>>>0x0,_0x326253['hi']>>>=0x7;for(;_0x326253['lo']>0x7f;)_0x26759b[_0x4aad++]=0x7f&_0x326253['lo']|0x80,_0x326253['lo']=_0x326253['lo']>>>0x7;_0x26759b[_0x4aad++]=_0x326253['lo'];}function _0x198663(_0x9e320,_0x27b98e,_0x1324d2){_0x27b98e[_0x1324d2]=0xff&_0x9e320,_0x27b98e[_0x1324d2+0x1]=_0x9e320>>>0x8&0xff,_0x27b98e[_0x1324d2+0x2]=_0x9e320>>>0x10&0xff,_0x27b98e[_0x1324d2+0x3]=_0x9e320>>>0x18;}_0x583fee['create']=_0x54ab8c(),_0x583fee['alloc']=function(_0x2586a2){return new _0x5902b2['Array'](_0x2586a2);},_0x5902b2['Array']!==Array&&(_0x583fee['alloc']=_0x5902b2['pool'](_0x583fee['alloc'],_0x5902b2['Array']['prototype']['subarray'])),_0x583fee['prototype']['_push']=function(_0x5762f2,_0x23af84,_0x34b7e8){return this['tail']=this['tail']['next']=new _0x1ec245(_0x5762f2,_0x23af84,_0x34b7e8),this['len']+=_0x23af84,this;},_0x2fe5f2['prototype']=Object['create'](_0x1ec245['prototype']),_0x2fe5f2['prototype']['fn']=function(_0x32d716,_0x4bef86,_0x3c94db){for(;_0x32d716>0x7f;)_0x4bef86[_0x3c94db++]=0x7f&_0x32d716|0x80,_0x32d716>>>=0x7;_0x4bef86[_0x3c94db]=_0x32d716;},_0x583fee['prototype']['uint32']=function(_0x3a04a2){return this['len']+=(this['tail']=this['tail']['next']=new _0x2fe5f2((_0x3a04a2>>>=0x0)<0x80?0x1:_0x3a04a2<0x4000?0x2:_0x3a04a2<0x200000?0x3:_0x3a04a2<0x10000000?0x4:0x5,_0x3a04a2))['len'],this;},_0x583fee['prototype']['int32']=function(_0xf00d8c){return _0xf00d8c<0x0?this['_push'](_0x59a08c,0xa,_0x7919b1['fromNumber'](_0xf00d8c)):this['uint32'](_0xf00d8c);},_0x583fee['prototype']['sint32']=function(_0x3fd007){return this['uint32']((_0x3fd007<<0x1^_0x3fd007>>0x1f)>>>0x0);},_0x583fee['prototype']['uint64']=function(_0x422cf9){var _0x2e0601=_0x7919b1['from'](_0x422cf9);return this['_push'](_0x59a08c,_0x2e0601['length'](),_0x2e0601);},_0x583fee['prototype']['int64']=_0x583fee['prototype']['uint64'],_0x583fee['prototype']['sint64']=function(_0x2a4c5c){var _0x15616a=_0x7919b1['from'](_0x2a4c5c)['zzEncode']();return this['_push'](_0x59a08c,_0x15616a['length'](),_0x15616a);},_0x583fee['prototype']['bool']=function(_0x4542c8){return this['_push'](_0x1dd52f,0x1,_0x4542c8?0x1:0x0);},_0x583fee['prototype']['fixed32']=function(_0x458af9){return this['_push'](_0x198663,0x4,_0x458af9>>>0x0);},_0x583fee['prototype']['sfixed32']=_0x583fee['prototype']['fixed32'],_0x583fee['prototype']['fixed64']=function(_0x22900c){var _0x4ac172=_0x7919b1['from'](_0x22900c);return this['_push'](_0x198663,0x4,_0x4ac172['lo'])['_push'](_0x198663,0x4,_0x4ac172['hi']);},_0x583fee['prototype']['sfixed64']=_0x583fee['prototype']['fixed64'],_0x583fee['prototype']['float']=function(_0x534694){return this['_push'](_0x5902b2['float']['writeFloatLE'],0x4,_0x534694);},_0x583fee['prototype']['double']=function(_0x5fe550){return this['_push'](_0x5902b2['float']['writeDoubleLE'],0x8,_0x5fe550);};var _0x4b306a=_0x5902b2['Array']['prototype']['set']?function(_0x28055c,_0x37841c,_0x4905fb){_0x37841c['set'](_0x28055c,_0x4905fb);}:function(_0x4eb260,_0xac94c2,_0x2910eb){for(var _0x295872=0x0;_0x295872<_0x4eb260['length'];++_0x295872)_0xac94c2[_0x2910eb+_0x295872]=_0x4eb260[_0x295872];};return _0x583fee['prototype']['bytes']=function(_0x8b37a8){var _0x29c651=_0x8b37a8['length']>>>0x0;if(!_0x29c651)return this['_push'](_0x1dd52f,0x1,0x0);if(_0x5902b2['isString'](_0x8b37a8)){var _0x1a4259=_0x583fee['alloc'](_0x29c651=_0xb33b8b['length'](_0x8b37a8));_0xb33b8b['decode'](_0x8b37a8,_0x1a4259,0x0),_0x8b37a8=_0x1a4259;}return this['uint32'](_0x29c651)['_push'](_0x4b306a,_0x29c651,_0x8b37a8);},_0x583fee['prototype']['string']=function(_0x15726f){var _0x1c553b=_0x16603e['length'](_0x15726f);return _0x1c553b?this['uint32'](_0x1c553b)['_push'](_0x16603e['write'],_0x1c553b,_0x15726f):this['_push'](_0x1dd52f,0x1,0x0);},_0x583fee['prototype']['fork']=function(){return this['states']=new _0xa0793a(this),this['head']=this['tail']=new _0x1ec245(_0x4a2726,0x0,0x0),this['len']=0x0,this;},_0x583fee['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 _0x1ec245(_0x4a2726,0x0,0x0),this['len']=0x0),this;},_0x583fee['prototype']['ldelim']=function(){var _0x1e9f52=this['head'],_0x5d22e8=this['tail'],_0x5b9a06=this['len'];return this['reset']()['uint32'](_0x5b9a06),_0x5b9a06&&(this['tail']['next']=_0x1e9f52['next'],this['tail']=_0x5d22e8,this['len']+=_0x5b9a06),this;},_0x583fee['prototype']['finish']=function(){for(var _0x3c591d=this['head']['next'],_0x167362=this['constructor']['alloc'](this['len']),_0x2ddd2a=0x0;_0x3c591d;)_0x3c591d['fn'](_0x3c591d['val'],_0x167362,_0x2ddd2a),_0x2ddd2a+=_0x3c591d['len'],_0x3c591d=_0x3c591d['next'];return _0x167362;},_0x583fee['_configure']=function(_0x5d040f){_0x507caf=_0x5d040f,_0x583fee['create']=_0x54ab8c(),_0x507caf['_configure']();},KO;}function lw(){if(sw)return iw;sw=0x1,iw=_0x5bba07;var _0xf7756c,_0x54cb00=aw(),_0x30b586=_0x54cb00['LongBits'],_0x131c98=_0x54cb00['utf8'];function _0x4a562f(_0x147c17,_0x5d8457){return RangeError('index\x20out\x20of\x20range:\x20'+_0x147c17['pos']+'\x20+\x20'+(_0x5d8457||0x1)+'\x20>\x20'+_0x147c17['len']);}function _0x5bba07(_0x4923b6){this['buf']=_0x4923b6,this['pos']=0x0,this['len']=_0x4923b6['length'];}var _0x4b0778='undefined'!=typeof Uint8Array?function(_0x4e5d34){if(_0x4e5d34 instanceof Uint8Array||Array['isArray'](_0x4e5d34))return new _0x5bba07(_0x4e5d34);throw Error('illegal\x20buffer');}:function(_0x292262){if(Array['isArray'](_0x292262))return new _0x5bba07(_0x292262);throw Error('illegal\x20buffer');},_0x2f22a0=function(){return _0x54cb00['Buffer']?function(_0x5f5718){return(_0x5bba07['create']=function(_0x1ca4ee){return _0x54cb00['Buffer']['isBuffer'](_0x1ca4ee)?new _0xf7756c(_0x1ca4ee):_0x4b0778(_0x1ca4ee);})(_0x5f5718);}:_0x4b0778;};function _0x564214(){var _0x36a42c=new _0x30b586(0x0,0x0),_0xcbcf9a=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0xcbcf9a<0x3;++_0xcbcf9a){if(this['pos']>=this['len'])throw _0x4a562f(this);if(_0x36a42c['lo']=(_0x36a42c['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0xcbcf9a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x36a42c;}return _0x36a42c['lo']=(_0x36a42c['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0xcbcf9a)>>>0x0,_0x36a42c;}for(;_0xcbcf9a<0x4;++_0xcbcf9a)if(_0x36a42c['lo']=(_0x36a42c['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0xcbcf9a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x36a42c;if(_0x36a42c['lo']=(_0x36a42c['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x36a42c['hi']=(_0x36a42c['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x36a42c;if(_0xcbcf9a=0x0,this['len']-this['pos']>0x4){for(;_0xcbcf9a<0x5;++_0xcbcf9a)if(_0x36a42c['hi']=(_0x36a42c['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0xcbcf9a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x36a42c;}else for(;_0xcbcf9a<0x5;++_0xcbcf9a){if(this['pos']>=this['len'])throw _0x4a562f(this);if(_0x36a42c['hi']=(_0x36a42c['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0xcbcf9a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x36a42c;}throw Error('invalid\x20varint\x20encoding');}function _0xdb3530(_0x589614,_0x30c746){return(_0x589614[_0x30c746-0x4]|_0x589614[_0x30c746-0x3]<<0x8|_0x589614[_0x30c746-0x2]<<0x10|_0x589614[_0x30c746-0x1]<<0x18)>>>0x0;}function _0x3d4325(){if(this['pos']+0x8>this['len'])throw _0x4a562f(this,0x8);return new _0x30b586(_0xdb3530(this['buf'],this['pos']+=0x4),_0xdb3530(this['buf'],this['pos']+=0x4));}return _0x5bba07['create']=_0x2f22a0(),_0x5bba07['prototype']['_slice']=_0x54cb00['Array']['prototype']['subarray']||_0x54cb00['Array']['prototype']['slice'],_0x5bba07['prototype']['uint32']=(function(){var _0x2bc42d=0xffffffff;return function(){if(_0x2bc42d=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2bc42d;if(_0x2bc42d=(_0x2bc42d|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2bc42d;if(_0x2bc42d=(_0x2bc42d|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2bc42d;if(_0x2bc42d=(_0x2bc42d|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2bc42d;if(_0x2bc42d=(_0x2bc42d|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2bc42d;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x4a562f(this,0xa);return _0x2bc42d;};}()),_0x5bba07['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x5bba07['prototype']['sint32']=function(){var _0x171774=this['uint32']();return _0x171774>>>0x1^-(0x1&_0x171774);},_0x5bba07['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x5bba07['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x4a562f(this,0x4);return _0xdb3530(this['buf'],this['pos']+=0x4);},_0x5bba07['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x4a562f(this,0x4);return 0x0|_0xdb3530(this['buf'],this['pos']+=0x4);},_0x5bba07['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x4a562f(this,0x4);var _0x150011=_0x54cb00['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x150011;},_0x5bba07['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x4a562f(this,0x4);var _0x5f0ef9=_0x54cb00['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x5f0ef9;},_0x5bba07['prototype']['bytes']=function(){var _0x4c8dd8=this['uint32'](),_0x6d20a7=this['pos'],_0x27a766=this['pos']+_0x4c8dd8;if(_0x27a766>this['len'])throw _0x4a562f(this,_0x4c8dd8);if(this['pos']+=_0x4c8dd8,Array['isArray'](this['buf']))return this['buf']['slice'](_0x6d20a7,_0x27a766);if(_0x6d20a7===_0x27a766){var _0x2bd1b2=_0x54cb00['Buffer'];return _0x2bd1b2?_0x2bd1b2['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x6d20a7,_0x27a766);},_0x5bba07['prototype']['string']=function(){var _0x4068ea=this['bytes']();return _0x131c98['read'](_0x4068ea,0x0,_0x4068ea['length']);},_0x5bba07['prototype']['skip']=function(_0x8a0a11){if('number'==typeof _0x8a0a11){if(this['pos']+_0x8a0a11>this['len'])throw _0x4a562f(this,_0x8a0a11);this['pos']+=_0x8a0a11;}else do{if(this['pos']>=this['len'])throw _0x4a562f(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x5bba07['recursionLimit']=_0x54cb00['recursionLimit'],_0x5bba07['prototype']['skipType']=function(_0x4da72c,_0xcfc264){if(void 0x0===_0xcfc264&&(_0xcfc264=0x0),_0xcfc264>_0x5bba07['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x4da72c){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x4da72c=0x7&this['uint32']());)this['skipType'](_0x4da72c,_0xcfc264+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x4da72c+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x5bba07['_configure']=function(_0x4a22ad){_0xf7756c=_0x4a22ad,_0x5bba07['create']=_0x2f22a0(),_0xf7756c['_configure']();var _0x545361=_0x54cb00['Long']?'toLong':'toNumber';_0x54cb00['merge'](_0x5bba07['prototype'],{'int64':function(){return _0x564214['call'](this)[_0x545361](!0x1);},'uint64':function(){return _0x564214['call'](this)[_0x545361](!0x0);},'sint64':function(){return _0x564214['call'](this)['zzDecode']()[_0x545361](!0x1);},'fixed64':function(){return _0x3d4325['call'](this)[_0x545361](!0x0);},'sfixed64':function(){return _0x3d4325['call'](this)[_0x545361](!0x1);}});},iw;}var hw,uw,dw,fw,mw,gw,pw,Ow,ww={};function bw(){return dw||(dw=0x1,ww['Service']=(function(){if(uw)return hw;uw=0x1,hw=_0x4e4dec;var _0x382ba8=aw();function _0x4e4dec(_0x318816,_0x2a8e87,_0x111981){if('function'!=typeof _0x318816)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x382ba8['EventEmitter']['call'](this),this['rpcImpl']=_0x318816,this['requestDelimited']=Boolean(_0x2a8e87),this['responseDelimited']=Boolean(_0x111981);}return(_0x4e4dec['prototype']=Object['create'](_0x382ba8['EventEmitter']['prototype']))['constructor']=_0x4e4dec,_0x4e4dec['prototype']['rpcCall']=function _0x2dd228(_0x4bac7a,_0x6cb437,_0x4d0814,_0x2a9b00,_0x43080b){if(!_0x2a9b00)throw TypeError('request\x20must\x20be\x20specified');var _0x4b1c67=this;if(!_0x43080b)return _0x382ba8['asPromise'](_0x2dd228,_0x4b1c67,_0x4bac7a,_0x6cb437,_0x4d0814,_0x2a9b00);if(_0x4b1c67['rpcImpl'])try{return _0x4b1c67['rpcImpl'](_0x4bac7a,_0x6cb437[_0x4b1c67['requestDelimited']?'encodeDelimited':'encode'](_0x2a9b00)['finish'](),function(_0x3aa861,_0x120eb5){if(_0x3aa861)return _0x4b1c67['emit']('error',_0x3aa861,_0x4bac7a),_0x43080b(_0x3aa861);if(null!==_0x120eb5){if(!(_0x120eb5 instanceof _0x4d0814))try{_0x120eb5=_0x4d0814[_0x4b1c67['responseDelimited']?'decodeDelimited':'decode'](_0x120eb5);}catch(_0xe94d46){return _0x4b1c67['emit']('error',_0xe94d46,_0x4bac7a),_0x43080b(_0xe94d46);}return _0x4b1c67['emit']('data',_0x120eb5,_0x4bac7a),_0x43080b(null,_0x120eb5);}_0x4b1c67['end'](!0x0);});}catch(_0x3a9c79){return _0x4b1c67['emit']('error',_0x3a9c79,_0x4bac7a),void setTimeout(function(){_0x43080b(_0x3a9c79);},0x0);}else setTimeout(function(){_0x43080b(Error('already\x20ended'));},0x0);},_0x4e4dec['prototype']['end']=function(_0x5aeea0){return this['rpcImpl']&&(_0x5aeea0||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},hw;}())),ww;}function yw(){return gw||(gw=0x1,(function(){var _0x29a0cf=LO;function _0x30b2f8(){_0x29a0cf['util']['_configure'](),_0x29a0cf['Writer']['_configure'](_0x29a0cf['BufferWriter']),_0x29a0cf['Reader']['_configure'](_0x29a0cf['BufferReader']);}_0x29a0cf['build']='minimal',_0x29a0cf['Writer']=cw(),_0x29a0cf['BufferWriter']=(function(){if(ew)return tw;ew=0x1,tw=_0x452fba;var _0x5cb61f=cw();(_0x452fba['prototype']=Object['create'](_0x5cb61f['prototype']))['constructor']=_0x452fba;var _0x2d038c=aw();function _0x452fba(){_0x5cb61f['call'](this);}function _0x1356df(_0x54d3e7,_0x470425,_0x42d768){_0x54d3e7['length']<0x28?_0x2d038c['utf8']['write'](_0x54d3e7,_0x470425,_0x42d768):_0x470425['utf8Write']?_0x470425['utf8Write'](_0x54d3e7,_0x42d768):_0x470425['write'](_0x54d3e7,_0x42d768);}return _0x452fba['_configure']=function(){_0x452fba['alloc']=_0x2d038c['_Buffer_allocUnsafe'],_0x452fba['writeBytesBuffer']=_0x2d038c['Buffer']&&_0x2d038c['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x2d038c['Buffer']['prototype']['set']['name']?function(_0x90528a,_0x59b7ef,_0x5ba164){_0x59b7ef['set'](_0x90528a,_0x5ba164);}:function(_0x3680ae,_0x153552,_0x120b7b){if(_0x3680ae['copy'])_0x3680ae['copy'](_0x153552,_0x120b7b,0x0,_0x3680ae['length']);else{for(var _0x961e35=0x0;_0x961e35<_0x3680ae['length'];)_0x153552[_0x120b7b++]=_0x3680ae[_0x961e35++];}};},_0x452fba['prototype']['bytes']=function(_0xc240ca){_0x2d038c['isString'](_0xc240ca)&&(_0xc240ca=_0x2d038c['_Buffer_from'](_0xc240ca,'base64'));var _0x4ea573=_0xc240ca['length']>>>0x0;return this['uint32'](_0x4ea573),_0x4ea573&&this['_push'](_0x452fba['writeBytesBuffer'],_0x4ea573,_0xc240ca),this;},_0x452fba['prototype']['string']=function(_0x5cf410){var _0x300184=_0x2d038c['Buffer']['byteLength'](_0x5cf410);return this['uint32'](_0x300184),_0x300184&&this['_push'](_0x1356df,_0x300184,_0x5cf410),this;},_0x452fba['_configure'](),tw;}()),_0x29a0cf['Reader']=lw(),_0x29a0cf['BufferReader']=(function(){if(rw)return nw;rw=0x1,nw=_0x274a04;var _0x29d9ba=lw();(_0x274a04['prototype']=Object['create'](_0x29d9ba['prototype']))['constructor']=_0x274a04;var _0x12dbfc=aw();function _0x274a04(_0x226f03){_0x29d9ba['call'](this,_0x226f03);}return _0x274a04['_configure']=function(){_0x12dbfc['Buffer']&&(_0x274a04['prototype']['_slice']=_0x12dbfc['Buffer']['prototype']['slice']);},_0x274a04['prototype']['string']=function(){var _0x354e5e=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x354e5e,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x354e5e,this['len']));},_0x274a04['_configure'](),nw;}()),_0x29a0cf['util']=aw(),_0x29a0cf['rpc']=bw(),_0x29a0cf['roots']=mw?fw:(mw=0x1,fw={}),_0x29a0cf['configure']=_0x30b2f8,_0x30b2f8();}())),LO;}var vw=Ow?pw:(Ow=0x1,pw=yw());const _w=Object['create'](null);_w['open']='0',_w['close']='1',_w['ping']='2',_w['pong']='3',_w['message']='4',_w['upgrade']='5',_w['noop']='6';const Ew=Object['create'](null);Object['keys'](_w)['forEach'](_0x1fef64=>{Ew[_w[_0x1fef64]]=_0x1fef64;});const Tw={'type':'error','data':'parser\x20error'},Aw='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),Sw='function'==typeof ArrayBuffer,Iw=_0x5205c5=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x5205c5):_0x5205c5&&_0x5205c5['buffer']instanceof ArrayBuffer,Cw=({type:_0x57e4d2,data:_0x13bde9},_0x91232e,_0x326a39)=>Aw&&_0x13bde9 instanceof Blob?_0x91232e?_0x326a39(_0x13bde9):kw(_0x13bde9,_0x326a39):Sw&&(_0x13bde9 instanceof ArrayBuffer||Iw(_0x13bde9))?_0x91232e?_0x326a39(_0x13bde9):kw(new Blob([_0x13bde9]),_0x326a39):_0x326a39(_w[_0x57e4d2]+(_0x13bde9||'')),kw=(_0x4770de,_0x320954)=>{const _0x3a5a97=new FileReader();return _0x3a5a97['onload']=function(){const _0x32591d=_0x3a5a97['result']['split'](',')[0x1];_0x320954('b'+(_0x32591d||''));},_0x3a5a97['readAsDataURL'](_0x4770de);};function xw(_0x7ea620){return _0x7ea620 instanceof Uint8Array?_0x7ea620:_0x7ea620 instanceof ArrayBuffer?new Uint8Array(_0x7ea620):new Uint8Array(_0x7ea620['buffer'],_0x7ea620['byteOffset'],_0x7ea620['byteLength']);}let Rw;const Pw='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',Mw='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let e=0x0;e<0x40;e++)Mw[Pw['charCodeAt'](e)]=e;const Nw='function'==typeof ArrayBuffer,Lw=(_0x58a83c,_0x5f5db0)=>{if('string'!=typeof _0x58a83c)return{'type':'message','data':Dw(_0x58a83c,_0x5f5db0)};const _0x5b4c2f=_0x58a83c['charAt'](0x0);if('b'===_0x5b4c2f)return{'type':'message','data':$w(_0x58a83c['substring'](0x1),_0x5f5db0)};return Ew[_0x5b4c2f]?_0x58a83c['length']>0x1?{'type':Ew[_0x5b4c2f],'data':_0x58a83c['substring'](0x1)}:{'type':Ew[_0x5b4c2f]}:Tw;},$w=(_0x1aaab7,_0xbed949)=>{if(Nw){const _0x3568da=(_0xf64d67=>{let _0x431934,_0x22c55b,_0x306b5f,_0xfd8e0b,_0x1ed16c,_0x3760a7=0.75*_0xf64d67['length'],_0x139a78=_0xf64d67['length'],_0x1fd1e5=0x0;'='===_0xf64d67[_0xf64d67['length']-0x1]&&(_0x3760a7--,'='===_0xf64d67[_0xf64d67['length']-0x2]&&_0x3760a7--);const _0x4435d0=new ArrayBuffer(_0x3760a7),_0x40e666=new Uint8Array(_0x4435d0);for(_0x431934=0x0;_0x431934<_0x139a78;_0x431934+=0x4)_0x22c55b=Mw[_0xf64d67['charCodeAt'](_0x431934)],_0x306b5f=Mw[_0xf64d67['charCodeAt'](_0x431934+0x1)],_0xfd8e0b=Mw[_0xf64d67['charCodeAt'](_0x431934+0x2)],_0x1ed16c=Mw[_0xf64d67['charCodeAt'](_0x431934+0x3)],_0x40e666[_0x1fd1e5++]=_0x22c55b<<0x2|_0x306b5f>>0x4,_0x40e666[_0x1fd1e5++]=(0xf&_0x306b5f)<<0x4|_0xfd8e0b>>0x2,_0x40e666[_0x1fd1e5++]=(0x3&_0xfd8e0b)<<0x6|0x3f&_0x1ed16c;return _0x4435d0;})(_0x1aaab7);return Dw(_0x3568da,_0xbed949);}return{'base64':!0x0,'data':_0x1aaab7};},Dw=(_0x4cf8f4,_0x5e0742)=>'blob'===_0x5e0742?_0x4cf8f4 instanceof Blob?_0x4cf8f4:new Blob([_0x4cf8f4]):_0x4cf8f4 instanceof ArrayBuffer?_0x4cf8f4:_0x4cf8f4['buffer'],Qw=String['fromCharCode'](0x1e);function Vw(){return new TransformStream({'transform'(_0x5b49ec,_0x39fc90){!function(_0x11937e,_0x349f31){Aw&&_0x11937e['data']instanceof Blob?_0x11937e['data']['arrayBuffer']()['then'](xw)['then'](_0x349f31):Sw&&(_0x11937e['data']instanceof ArrayBuffer||Iw(_0x11937e['data']))?_0x349f31(xw(_0x11937e['data'])):Cw(_0x11937e,!0x1,_0x5e03fa=>{Rw||(Rw=new TextEncoder()),_0x349f31(Rw['encode'](_0x5e03fa));});}(_0x5b49ec,_0x205516=>{const _0x3e58c2=_0x205516['length'];let _0x169952;if(_0x3e58c2<0x7e)_0x169952=new Uint8Array(0x1),new DataView(_0x169952['buffer'])['setUint8'](0x0,_0x3e58c2);else{if(_0x3e58c2<0x10000){_0x169952=new Uint8Array(0x3);const _0x579d25=new DataView(_0x169952['buffer']);_0x579d25['setUint8'](0x0,0x7e),_0x579d25['setUint16'](0x1,_0x3e58c2);}else{_0x169952=new Uint8Array(0x9);const _0x1e0333=new DataView(_0x169952['buffer']);_0x1e0333['setUint8'](0x0,0x7f),_0x1e0333['setBigUint64'](0x1,BigInt(_0x3e58c2));}}_0x5b49ec['data']&&'string'!=typeof _0x5b49ec['data']&&(_0x169952[0x0]|=0x80),_0x39fc90['enqueue'](_0x169952),_0x39fc90['enqueue'](_0x205516);});}});}let Uw;function Bw(_0x2edfb6){return _0x2edfb6['reduce']((_0x54d230,_0x3d365c)=>_0x54d230+_0x3d365c['length'],0x0);}function jw(_0x105f43,_0x5d4d39){if(_0x105f43[0x0]['length']===_0x5d4d39)return _0x105f43['shift']();const _0x5ef3cc=new Uint8Array(_0x5d4d39);let _0xd449d5=0x0;for(let _0x446fba=0x0;_0x446fba<_0x5d4d39;_0x446fba++)_0x5ef3cc[_0x446fba]=_0x105f43[0x0][_0xd449d5++],_0xd449d5===_0x105f43[0x0]['length']&&(_0x105f43['shift'](),_0xd449d5=0x0);return _0x105f43['length']&&_0xd449d5<_0x105f43[0x0]['length']&&(_0x105f43[0x0]=_0x105f43[0x0]['slice'](_0xd449d5)),_0x5ef3cc;}function Fw(_0x36aa7b){if(_0x36aa7b)return function(_0x1d557c){for(var _0x20a720 in Fw['prototype'])_0x1d557c[_0x20a720]=Fw['prototype'][_0x20a720];return _0x1d557c;}(_0x36aa7b);}Fw['prototype']['on']=Fw['prototype']['addEventListener']=function(_0x442461,_0x517039){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x442461]=this['_callbacks']['$'+_0x442461]||[])['push'](_0x517039),this;},Fw['prototype']['once']=function(_0x171e4a,_0x5464e7){function _0x536a8a(){this['off'](_0x171e4a,_0x536a8a),_0x5464e7['apply'](this,arguments);}return _0x536a8a['fn']=_0x5464e7,this['on'](_0x171e4a,_0x536a8a),this;},Fw['prototype']['off']=Fw['prototype']['removeListener']=Fw['prototype']['removeAllListeners']=Fw['prototype']['removeEventListener']=function(_0x301d19,_0x2f829a){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x31cb6b,_0x319812=this['_callbacks']['$'+_0x301d19];if(!_0x319812)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x301d19],this;for(var _0x2a96f7=0x0;_0x2a96f7<_0x319812['length'];_0x2a96f7++)if((_0x31cb6b=_0x319812[_0x2a96f7])===_0x2f829a||_0x31cb6b['fn']===_0x2f829a){_0x319812['splice'](_0x2a96f7,0x1);break;}return 0x0===_0x319812['length']&&delete this['_callbacks']['$'+_0x301d19],this;},Fw['prototype']['emit']=function(_0x394e88){this['_callbacks']=this['_callbacks']||{};for(var _0x1d3967=new Array(arguments['length']-0x1),_0x497a7f=this['_callbacks']['$'+_0x394e88],_0x4e65b0=0x1;_0x4e65b0<arguments['length'];_0x4e65b0++)_0x1d3967[_0x4e65b0-0x1]=arguments[_0x4e65b0];if(_0x497a7f){_0x4e65b0=0x0;for(var _0x4393cb=(_0x497a7f=_0x497a7f['slice'](0x0))['length'];_0x4e65b0<_0x4393cb;++_0x4e65b0)_0x497a7f[_0x4e65b0]['apply'](this,_0x1d3967);}return this;},Fw['prototype']['emitReserved']=Fw['prototype']['emit'],Fw['prototype']['listeners']=function(_0x57d296){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x57d296]||[];},Fw['prototype']['hasListeners']=function(_0x1bfac6){return!!this['listeners'](_0x1bfac6)['length'];};const Hw='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function Gw(_0x526ab6,..._0x1b0a15){return _0x1b0a15['reduce']((_0x46c153,_0x1a6e00)=>(_0x526ab6['hasOwnProperty'](_0x1a6e00)&&(_0x46c153[_0x1a6e00]=_0x526ab6[_0x1a6e00]),_0x46c153),{});}const Zw=Hw['setTimeout'],Xw=Hw['clearTimeout'];function qw(_0x5cc76c,_0x281cec){_0x281cec['useNativeTimers']?(_0x5cc76c['setTimeoutFn']=Zw['bind'](Hw),_0x5cc76c['clearTimeoutFn']=Xw['bind'](Hw)):(_0x5cc76c['setTimeoutFn']=Hw['setTimeout']['bind'](Hw),_0x5cc76c['clearTimeoutFn']=Hw['clearTimeout']['bind'](Hw));}function Ww(_0x499937){return'string'==typeof _0x499937?function(_0x320713){let _0x10dddb=0x0,_0x1af5a3=0x0;for(let _0x40c8b8=0x0,_0xe80570=_0x320713['length'];_0x40c8b8<_0xe80570;_0x40c8b8++)_0x10dddb=_0x320713['charCodeAt'](_0x40c8b8),_0x10dddb<0x80?_0x1af5a3+=0x1:_0x10dddb<0x800?_0x1af5a3+=0x2:_0x10dddb<0xd800||_0x10dddb>=0xe000?_0x1af5a3+=0x3:(_0x40c8b8++,_0x1af5a3+=0x4);return _0x1af5a3;}(_0x499937):Math['ceil'](1.33*(_0x499937['byteLength']||_0x499937['size']));}class TransportError extends Error{constructor(_0x5e0816,_0xe82c45,_0x3bd8a2){super(_0x5e0816),this['description']=_0xe82c45,this['context']=_0x3bd8a2,this['type']='TransportError';}}class Transport extends Fw{constructor(_0x15ed9b){super(),this['writable']=!0x1,qw(this,_0x15ed9b),this['opts']=_0x15ed9b,this['query']=_0x15ed9b['query'],this['socket']=_0x15ed9b['socket'];}['onError'](_0x2409fd,_0x43de5f,_0x3d5bd9){return super['emitReserved']('error',new TransportError(_0x2409fd,_0x43de5f,_0x3d5bd9)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x5a8fc7){'open'===this['readyState']&&this['write'](_0x5a8fc7);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x2b7813){const _0x198db0=Lw(_0x2b7813,this['socket']['binaryType']);this['onPacket'](_0x198db0);}['onPacket'](_0x2a1d06){super['emitReserved']('packet',_0x2a1d06);}['onClose'](_0x369bf8){this['readyState']='closed',super['emitReserved']('close',_0x369bf8);}['pause'](_0x564fd9){}['createUri'](_0x317c4d,_0x43d85b={}){return _0x317c4d+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x43d85b);}['_hostname'](){const _0x588521=this['opts']['hostname'];return-0x1===_0x588521['indexOf'](':')?_0x588521:'['+_0x588521+']';}['_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'](_0x461e80){const _0x457b23=function(_0x2dab91){let _0x28469e='';for(let _0x30c8ce in _0x2dab91)_0x2dab91['hasOwnProperty'](_0x30c8ce)&&(_0x28469e['length']&&(_0x28469e+='&'),_0x28469e+=encodeURIComponent(_0x30c8ce)+'='+encodeURIComponent(_0x2dab91[_0x30c8ce]));return _0x28469e;}(_0x461e80);return _0x457b23['length']?'?'+_0x457b23:'';}}const zw='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),Yw={};let Kw,Jw=0x0,tb=0x0;function eb(_0x266cee){let _0x4da027='';do{_0x4da027=zw[_0x266cee%0x40]+_0x4da027,_0x266cee=Math['floor'](_0x266cee/0x40);}while(_0x266cee>0x0);return _0x4da027;}function ib(){const _0x24e567=eb(+new Date());return _0x24e567!==Kw?(Jw=0x0,Kw=_0x24e567):_0x24e567+'.'+eb(Jw++);}for(;tb<0x40;tb++)Yw[zw[tb]]=tb;let sb=!0x1;try{sb='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x17542b){}const nb=sb;function rb(_0x1d9f39){const _0x449362=_0x1d9f39['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x449362||nb))return new XMLHttpRequest();}catch(_0x975ba8){}if(!_0x449362)try{return new Hw[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0xb031de){}}function ob(){}const ab=null!=new rb({'xdomain':!0x1})['responseType'];class Request extends Fw{constructor(_0x38e1d8,_0x213f5e){super(),qw(this,_0x213f5e),this['opts']=_0x213f5e,this['method']=_0x213f5e['method']||'GET',this['uri']=_0x38e1d8,this['data']=void 0x0!==_0x213f5e['data']?_0x213f5e['data']:null,this['create']();}['create'](){var _0x4c75e5;const _0x1f94bb=Gw(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x1f94bb['xdomain']=!!this['opts']['xd'];const _0x453180=this['xhr']=new rb(_0x1f94bb);try{_0x453180['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x453180['setDisableHeaderCheck']&&_0x453180['setDisableHeaderCheck'](!0x0);for(let _0x3e1402 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x3e1402)&&_0x453180['setRequestHeader'](_0x3e1402,this['opts']['extraHeaders'][_0x3e1402]);}}catch(_0x5e9657){}if('POST'===this['method'])try{_0x453180['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x95943b){}try{_0x453180['setRequestHeader']('Accept','*/*');}catch(_0x37edd5){}null===(_0x4c75e5=this['opts']['cookieJar'])||void 0x0===_0x4c75e5||_0x4c75e5['addCookies'](_0x453180),'withCredentials'in _0x453180&&(_0x453180['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x453180['timeout']=this['opts']['requestTimeout']),_0x453180['onreadystatechange']=()=>{var _0x315ca4;0x3===_0x453180['readyState']&&(null===(_0x315ca4=this['opts']['cookieJar'])||void 0x0===_0x315ca4||_0x315ca4['parseCookies'](_0x453180)),0x4===_0x453180['readyState']&&(0xc8===_0x453180['status']||0x4c7===_0x453180['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x453180['status']?_0x453180['status']:0x0);},0x0));},_0x453180['send'](this['data']);}catch(_0x51b9a9){return void this['setTimeoutFn'](()=>{this['onError'](_0x51b9a9);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x5e5243){this['emitReserved']('error',_0x5e5243,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x488005){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=ob,_0x488005)try{this['xhr']['abort']();}catch(_0x155b23){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x7af20=this['xhr']['responseText'];null!==_0x7af20&&(this['emitReserved']('data',_0x7af20),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',cb);else'function'==typeof addEventListener&&addEventListener('onpagehide'in Hw?'pagehide':'unload',cb,!0x1);}function cb(){for(let _0x5161cc in Request['requests'])Request['requests']['hasOwnProperty'](_0x5161cc)&&Request['requests'][_0x5161cc]['abort']();}const lb='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x463933=>Promise['resolve']()['then'](_0x463933):(_0x24b450,_0x136456)=>_0x136456(_0x24b450,0x0),hb=Hw['WebSocket']||Hw['MozWebSocket'],ub='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),db={'websocket':class WS extends Transport{constructor(_0x13a4ec){super(_0x13a4ec),this['supportsBinary']=!_0x13a4ec['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x22c215=this['uri'](),_0x57296c=this['opts']['protocols'],_0x50ee6b=ub?{}:Gw(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x50ee6b['headers']=this['opts']['extraHeaders']);try{this['ws']=ub?new hb(_0x22c215,_0x57296c,_0x50ee6b):_0x57296c?new hb(_0x22c215,_0x57296c):new hb(_0x22c215);}catch(_0x33c4db){return this['emitReserved']('error',_0x33c4db);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x3f34f0=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x3f34f0}),this['ws']['onmessage']=_0x199639=>this['onData'](_0x199639['data']),this['ws']['onerror']=_0x369586=>this['onError']('websocket\x20error',_0x369586);}['write'](_0x3385ce){this['writable']=!0x1;for(let _0x13635f=0x0;_0x13635f<_0x3385ce['length'];_0x13635f++){const _0x3e6aad=_0x3385ce[_0x13635f],_0x62364=_0x13635f===_0x3385ce['length']-0x1;Cw(_0x3e6aad,this['supportsBinary'],_0x4e4b0d=>{try{this['ws']['send'](_0x4e4b0d);}catch(_0x4ed172){}_0x62364&&lb(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x1270c8=this['opts']['secure']?'wss':'ws',_0x291f2a=this['query']||{};return this['opts']['timestampRequests']&&(_0x291f2a[this['opts']['timestampParam']]=ib()),this['supportsBinary']||(_0x291f2a['b64']=0x1),this['createUri'](_0x1270c8,_0x291f2a);}['check'](){return!!hb;}},'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'](_0x417670=>{this['onError']('webtransport\x20error',_0x417670);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x29d50a=>{const _0x30f602=function(_0x6471f4,_0x4e4245){Uw||(Uw=new TextDecoder());const _0x3ba7fe=[];let _0x36022b=0x0,_0x47f9f9=-0x1,_0x3b6b4a=!0x1;return new TransformStream({'transform'(_0x1673dd,_0x451267){for(_0x3ba7fe['push'](_0x1673dd);;){if(0x0===_0x36022b){if(Bw(_0x3ba7fe)<0x1)break;const _0x3711c2=jw(_0x3ba7fe,0x1);_0x3b6b4a=!(0x80&~_0x3711c2[0x0]),_0x47f9f9=0x7f&_0x3711c2[0x0],_0x36022b=_0x47f9f9<0x7e?0x3:0x7e===_0x47f9f9?0x1:0x2;}else{if(0x1===_0x36022b){if(Bw(_0x3ba7fe)<0x2)break;const _0x33d94d=jw(_0x3ba7fe,0x2);_0x47f9f9=new DataView(_0x33d94d['buffer'],_0x33d94d['byteOffset'],_0x33d94d['length'])['getUint16'](0x0),_0x36022b=0x3;}else{if(0x2===_0x36022b){if(Bw(_0x3ba7fe)<0x8)break;const _0x1f04b0=jw(_0x3ba7fe,0x8),_0x115040=new DataView(_0x1f04b0['buffer'],_0x1f04b0['byteOffset'],_0x1f04b0['length']),_0x2937b7=_0x115040['getUint32'](0x0);if(_0x2937b7>Math['pow'](0x2,0x15)-0x1){_0x451267['enqueue'](Tw);break;}_0x47f9f9=_0x2937b7*Math['pow'](0x2,0x20)+_0x115040['getUint32'](0x4),_0x36022b=0x3;}else{if(Bw(_0x3ba7fe)<_0x47f9f9)break;const _0x55874c=jw(_0x3ba7fe,_0x47f9f9);_0x451267['enqueue'](Lw(_0x3b6b4a?_0x55874c:Uw['decode'](_0x55874c),_0x4e4245)),_0x36022b=0x0;}}}if(0x0===_0x47f9f9||_0x47f9f9>_0x6471f4){_0x451267['enqueue'](Tw);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x390c95=_0x29d50a['readable']['pipeThrough'](_0x30f602)['getReader'](),_0x39be24=Vw();_0x39be24['readable']['pipeTo'](_0x29d50a['writable']),this['writer']=_0x39be24['writable']['getWriter']();const _0x1aa657=()=>{_0x390c95['read']()['then'](({done:_0x443b7f,value:_0x3b7cb7})=>{_0x443b7f||(this['onPacket'](_0x3b7cb7),_0x1aa657());})['catch'](_0x2162e9=>{});};_0x1aa657();const _0x52be99={'type':'open'};this['query']['sid']&&(_0x52be99['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x52be99)['then'](()=>this['onOpen']());});}));}['write'](_0x3cd2e7){this['writable']=!0x1;for(let _0x287230=0x0;_0x287230<_0x3cd2e7['length'];_0x287230++){const _0x5d8dce=_0x3cd2e7[_0x287230],_0x23f2ae=_0x287230===_0x3cd2e7['length']-0x1;this['writer']['write'](_0x5d8dce)['then'](()=>{_0x23f2ae&&lb(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x409ec0;null===(_0x409ec0=this['transport'])||void 0x0===_0x409ec0||_0x409ec0['close']();}},'polling':class Polling extends Transport{constructor(_0x12d009){if(super(_0x12d009),this['polling']=!0x1,'undefined'!=typeof location){const _0x3bb75b='https:'===location['protocol'];let _0x32830d=location['port'];_0x32830d||(_0x32830d=_0x3bb75b?'443':'80'),this['xd']='undefined'!=typeof location&&_0x12d009['hostname']!==location['hostname']||_0x32830d!==_0x12d009['port'];}const _0x4b4054=_0x12d009&&_0x12d009['forceBase64'];this['supportsBinary']=ab&&!_0x4b4054,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x15ca75){this['readyState']='pausing';const _0x468bbe=()=>{this['readyState']='paused',_0x15ca75();};if(this['polling']||!this['writable']){let _0x2819e1=0x0;this['polling']&&(_0x2819e1++,this['once']('pollComplete',function(){--_0x2819e1||_0x468bbe();})),this['writable']||(_0x2819e1++,this['once']('drain',function(){--_0x2819e1||_0x468bbe();}));}else _0x468bbe();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0xe6915){((_0x197d3f,_0xf6bb05)=>{const _0x2e9658=_0x197d3f['split'](Qw),_0x593bd7=[];for(let _0x143864=0x0;_0x143864<_0x2e9658['length'];_0x143864++){const _0x2d9d9e=Lw(_0x2e9658[_0x143864],_0xf6bb05);if(_0x593bd7['push'](_0x2d9d9e),'error'===_0x2d9d9e['type'])break;}return _0x593bd7;})(_0xe6915,this['socket']['binaryType'])['forEach'](_0x3916f5=>{if('opening'===this['readyState']&&'open'===_0x3916f5['type']&&this['onOpen'](),'close'===_0x3916f5['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x3916f5);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x7eb241=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x7eb241():this['once']('open',_0x7eb241);}['write'](_0xd49021){this['writable']=!0x1,((_0x5d5054,_0x5aa574)=>{const _0x3016df=_0x5d5054['length'],_0x3cdfb8=new Array(_0x3016df);let _0x5a6c59=0x0;_0x5d5054['forEach']((_0x33bea2,_0x432741)=>{Cw(_0x33bea2,!0x1,_0x57931a=>{_0x3cdfb8[_0x432741]=_0x57931a,++_0x5a6c59===_0x3016df&&_0x5aa574(_0x3cdfb8['join'](Qw));});});})(_0xd49021,_0x3d22db=>{this['doWrite'](_0x3d22db,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x15b757=this['opts']['secure']?'https':'http',_0x226791=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x226791[this['opts']['timestampParam']]=ib()),this['supportsBinary']||_0x226791['sid']||(_0x226791['b64']=0x1),this['createUri'](_0x15b757,_0x226791);}['request'](_0x1ff846={}){return Object['assign'](_0x1ff846,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x1ff846);}['doWrite'](_0x5396b2,_0x1c77fe){const _0xd2231=this['request']({'method':'POST','data':_0x5396b2});_0xd2231['on']('success',_0x1c77fe),_0xd2231['on']('error',(_0x11e177,_0x4f741d)=>{this['onError']('xhr\x20post\x20error',_0x11e177,_0x4f741d);});}['doPoll'](){const _0x370c59=this['request']();_0x370c59['on']('data',this['onData']['bind'](this)),_0x370c59['on']('error',(_0x4516b9,_0x801fa5)=>{this['onError']('xhr\x20poll\x20error',_0x4516b9,_0x801fa5);}),this['pollXhr']=_0x370c59;}}},fb=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,mb=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function gb(_0x21cf7a){if(_0x21cf7a['length']>0x7d0)throw'URI\x20too\x20long';const _0x36660b=_0x21cf7a,_0x1b61ab=_0x21cf7a['indexOf']('['),_0x4f97bf=_0x21cf7a['indexOf'](']');-0x1!=_0x1b61ab&&-0x1!=_0x4f97bf&&(_0x21cf7a=_0x21cf7a['substring'](0x0,_0x1b61ab)+_0x21cf7a['substring'](_0x1b61ab,_0x4f97bf)['replace'](/:/g,';')+_0x21cf7a['substring'](_0x4f97bf,_0x21cf7a['length']));let _0x32f7f2=fb['exec'](_0x21cf7a||''),_0xb5f0d7={},_0x1be947=0xe;for(;_0x1be947--;)_0xb5f0d7[mb[_0x1be947]]=_0x32f7f2[_0x1be947]||'';return-0x1!=_0x1b61ab&&-0x1!=_0x4f97bf&&(_0xb5f0d7['source']=_0x36660b,_0xb5f0d7['host']=_0xb5f0d7['host']['substring'](0x1,_0xb5f0d7['host']['length']-0x1)['replace'](/;/g,':'),_0xb5f0d7['authority']=_0xb5f0d7['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0xb5f0d7['ipv6uri']=!0x0),_0xb5f0d7['pathNames']=function(_0x21b3f8,_0x474aaa){const _0x34e9bb=/\/{2,9}/g,_0x14caf8=_0x474aaa['replace'](_0x34e9bb,'/')['split']('/');return'/'!=_0x474aaa['slice'](0x0,0x1)&&0x0!==_0x474aaa['length']||_0x14caf8['splice'](0x0,0x1),'/'==_0x474aaa['slice'](-0x1)&&_0x14caf8['splice'](_0x14caf8['length']-0x1,0x1),_0x14caf8;}(0x0,_0xb5f0d7['path']),_0xb5f0d7['queryKey']=function(_0x23db26,_0x5f4de5){const _0x2a0ad8={};return _0x5f4de5['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x2a40f4,_0x56d0f5,_0x3cd809){_0x56d0f5&&(_0x2a0ad8[_0x56d0f5]=_0x3cd809);}),_0x2a0ad8;}(0x0,_0xb5f0d7['query']),_0xb5f0d7;}let pb=class Socket extends Fw{constructor(_0x189c42,_0x1880d4={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x189c42&&'object'==typeof _0x189c42&&(_0x1880d4=_0x189c42,_0x189c42=null),_0x189c42?(_0x189c42=gb(_0x189c42),_0x1880d4['hostname']=_0x189c42['host'],_0x1880d4['secure']='https'===_0x189c42['protocol']||'wss'===_0x189c42['protocol'],_0x1880d4['port']=_0x189c42['port'],_0x189c42['query']&&(_0x1880d4['query']=_0x189c42['query'])):_0x1880d4['host']&&(_0x1880d4['hostname']=gb(_0x1880d4['host'])['host']),qw(this,_0x1880d4),this['secure']=null!=_0x1880d4['secure']?_0x1880d4['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x1880d4['hostname']&&!_0x1880d4['port']&&(_0x1880d4['port']=this['secure']?'443':'80'),this['hostname']=_0x1880d4['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x1880d4['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x1880d4['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},_0x1880d4),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x4379ac){let _0x591a0e={},_0x22f239=_0x4379ac['split']('&');for(let _0xf93fb7=0x0,_0x3ab341=_0x22f239['length'];_0xf93fb7<_0x3ab341;_0xf93fb7++){let _0x42f08d=_0x22f239[_0xf93fb7]['split']('=');_0x591a0e[decodeURIComponent(_0x42f08d[0x0])]=decodeURIComponent(_0x42f08d[0x1]);}return _0x591a0e;}(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'](_0x1ed672){const _0x342657=Object['assign']({},this['opts']['query']);_0x342657['EIO']=0x4,_0x342657['transport']=_0x1ed672,this['id']&&(_0x342657['sid']=this['id']);const _0x33a616=Object['assign']({},this['opts'],{'query':_0x342657,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x1ed672]);return new db[_0x1ed672](_0x33a616);}['open'](){let _0x491c2d;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x491c2d='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x491c2d=this['transports'][0x0];}this['readyState']='opening';try{_0x491c2d=this['createTransport'](_0x491c2d);}catch(_0x2f1e0e){return this['transports']['shift'](),void this['open']();}_0x491c2d['open'](),this['setTransport'](_0x491c2d);}['setTransport'](_0x551ce8){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x551ce8,_0x551ce8['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x12e68c=>this['onClose']('transport\x20close',_0x12e68c));}['probe'](_0x3e2b3e){let _0x222feb=this['createTransport'](_0x3e2b3e),_0x4b721b=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0x164788=()=>{_0x4b721b||(_0x222feb['send']([{'type':'ping','data':'probe'}]),_0x222feb['once']('packet',_0x3acc91=>{if(!_0x4b721b){if('pong'===_0x3acc91['type']&&'probe'===_0x3acc91['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x222feb),!_0x222feb)return;Socket['priorWebsocketSuccess']='websocket'===_0x222feb['name'],this['transport']['pause'](()=>{_0x4b721b||'closed'!==this['readyState']&&(_0x59080f(),this['setTransport'](_0x222feb),_0x222feb['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x222feb),_0x222feb=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x19cea1=new Error('probe\x20error');_0x19cea1['transport']=_0x222feb['name'],this['emitReserved']('upgradeError',_0x19cea1);}}}));};function _0x4266ec(){_0x4b721b||(_0x4b721b=!0x0,_0x59080f(),_0x222feb['close'](),_0x222feb=null);}const _0xe2a5c4=_0x1656f4=>{const _0x1c39e6=new Error('probe\x20error:\x20'+_0x1656f4);_0x1c39e6['transport']=_0x222feb['name'],_0x4266ec(),this['emitReserved']('upgradeError',_0x1c39e6);};function _0x573a8d(){_0xe2a5c4('transport\x20closed');}function _0x4a4ce2(){_0xe2a5c4('socket\x20closed');}function _0x47604f(_0x3b0c12){_0x222feb&&_0x3b0c12['name']!==_0x222feb['name']&&_0x4266ec();}const _0x59080f=()=>{_0x222feb['removeListener']('open',_0x164788),_0x222feb['removeListener']('error',_0xe2a5c4),_0x222feb['removeListener']('close',_0x573a8d),this['off']('close',_0x4a4ce2),this['off']('upgrading',_0x47604f);};_0x222feb['once']('open',_0x164788),_0x222feb['once']('error',_0xe2a5c4),_0x222feb['once']('close',_0x573a8d),this['once']('close',_0x4a4ce2),this['once']('upgrading',_0x47604f),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x3e2b3e?this['setTimeoutFn'](()=>{_0x4b721b||_0x222feb['open']();},0xc8):_0x222feb['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x351e4f=0x0;const _0x2084e1=this['upgrades']['length'];for(;_0x351e4f<_0x2084e1;_0x351e4f++)this['probe'](this['upgrades'][_0x351e4f]);}}['onPacket'](_0x524fd7){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x524fd7),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x524fd7['type']){case'open':this['onHandshake'](JSON['parse'](_0x524fd7['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x30fa07=new Error('server\x20error');_0x30fa07['code']=_0x524fd7['data'],this['onError'](_0x30fa07);break;case'message':this['emitReserved']('data',_0x524fd7['data']),this['emitReserved']('message',_0x524fd7['data']);}}['onHandshake'](_0x253b5d){this['emitReserved']('handshake',_0x253b5d),this['id']=_0x253b5d['sid'],this['transport']['query']['sid']=_0x253b5d['sid'],this['upgrades']=this['filterUpgrades'](_0x253b5d['upgrades']),this['pingInterval']=_0x253b5d['pingInterval'],this['pingTimeout']=_0x253b5d['pingTimeout'],this['maxPayload']=_0x253b5d['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 _0x2125e3=this['getWritablePackets']();this['transport']['send'](_0x2125e3),this['prevBufferLen']=_0x2125e3['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x378700=0x1;for(let _0x49e409=0x0;_0x49e409<this['writeBuffer']['length'];_0x49e409++){const _0x46791f=this['writeBuffer'][_0x49e409]['data'];if(_0x46791f&&(_0x378700+=Ww(_0x46791f)),_0x49e409>0x0&&_0x378700>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x49e409);_0x378700+=0x2;}return this['writeBuffer'];}['write'](_0xf5e8e,_0x229197,_0x371ff3){return this['sendPacket']('message',_0xf5e8e,_0x229197,_0x371ff3),this;}['send'](_0x4e1df9,_0x427877,_0x2e0833){return this['sendPacket']('message',_0x4e1df9,_0x427877,_0x2e0833),this;}['sendPacket'](_0x5371d8,_0x12d10a,_0x2afdf3,_0x53184f){if('function'==typeof _0x12d10a&&(_0x53184f=_0x12d10a,_0x12d10a=void 0x0),'function'==typeof _0x2afdf3&&(_0x53184f=_0x2afdf3,_0x2afdf3=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x2afdf3=_0x2afdf3||{})['compress']=!0x1!==_0x2afdf3['compress'];const _0x7404db={'type':_0x5371d8,'data':_0x12d10a,'options':_0x2afdf3};this['emitReserved']('packetCreate',_0x7404db),this['writeBuffer']['push'](_0x7404db),_0x53184f&&this['once']('flush',_0x53184f),this['flush']();}['close'](){const _0x2b3a04=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x569c0c=()=>{this['off']('upgrade',_0x569c0c),this['off']('upgradeError',_0x569c0c),_0x2b3a04();},_0x2b4987=()=>{this['once']('upgrade',_0x569c0c),this['once']('upgradeError',_0x569c0c);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x2b4987():_0x2b3a04();}):this['upgrading']?_0x2b4987():_0x2b3a04()),this;}['onError'](_0x3b5ddd){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x3b5ddd),this['onClose']('transport\x20error',_0x3b5ddd);}['onClose'](_0x17b56b,_0xbfab11){'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',_0x17b56b,_0xbfab11),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x31cbde){const _0x1e88af=[];let _0x50cba8=0x0;const _0xaba2b7=_0x31cbde['length'];for(;_0x50cba8<_0xaba2b7;_0x50cba8++)~this['transports']['indexOf'](_0x31cbde[_0x50cba8])&&_0x1e88af['push'](_0x31cbde[_0x50cba8]);return _0x1e88af;}};pb['protocol']=0x4;const Ob='function'==typeof ArrayBuffer,wb=Object['prototype']['toString'],bb='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===wb['call'](Blob),yb='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===wb['call'](File);function vb(_0x58189d){return Ob&&(_0x58189d instanceof ArrayBuffer||(_0x335e6e=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x335e6e):_0x335e6e['buffer']instanceof ArrayBuffer)(_0x58189d))||bb&&_0x58189d instanceof Blob||yb&&_0x58189d instanceof File;}function _b(_0x9b190e,_0x59cc77){if(!_0x9b190e||'object'!=typeof _0x9b190e)return!0x1;if(Array['isArray'](_0x9b190e)){for(let _0x36098a=0x0,_0x3be829=_0x9b190e['length'];_0x36098a<_0x3be829;_0x36098a++)if(_b(_0x9b190e[_0x36098a]))return!0x0;return!0x1;}if(vb(_0x9b190e))return!0x0;if(_0x9b190e['toJSON']&&'function'==typeof _0x9b190e['toJSON']&&0x1===arguments['length'])return _b(_0x9b190e['toJSON'](),!0x0);for(const _0x1285f2 in _0x9b190e)if(Object['prototype']['hasOwnProperty']['call'](_0x9b190e,_0x1285f2)&&_b(_0x9b190e[_0x1285f2]))return!0x0;return!0x1;}function Eb(_0x5134db){const _0x2f8d37=[],_0x4698fc=_0x5134db['data'],_0x3f3480=_0x5134db;return _0x3f3480['data']=Tb(_0x4698fc,_0x2f8d37),_0x3f3480['attachments']=_0x2f8d37['length'],{'packet':_0x3f3480,'buffers':_0x2f8d37};}function Tb(_0xf3a8ea,_0x1ab859){if(!_0xf3a8ea)return _0xf3a8ea;if(vb(_0xf3a8ea)){const _0xd2c5ff={'_placeholder':!0x0,'num':_0x1ab859['length']};return _0x1ab859['push'](_0xf3a8ea),_0xd2c5ff;}if(Array['isArray'](_0xf3a8ea)){const _0x5145c1=new Array(_0xf3a8ea['length']);for(let _0x30b074=0x0;_0x30b074<_0xf3a8ea['length'];_0x30b074++)_0x5145c1[_0x30b074]=Tb(_0xf3a8ea[_0x30b074],_0x1ab859);return _0x5145c1;}if('object'==typeof _0xf3a8ea&&!(_0xf3a8ea instanceof Date)){const _0x591a67={};for(const _0x2929ff in _0xf3a8ea)Object['prototype']['hasOwnProperty']['call'](_0xf3a8ea,_0x2929ff)&&(_0x591a67[_0x2929ff]=Tb(_0xf3a8ea[_0x2929ff],_0x1ab859));return _0x591a67;}return _0xf3a8ea;}function Ab(_0x2520fb,_0x4250b8){return _0x2520fb['data']=Sb(_0x2520fb['data'],_0x4250b8),delete _0x2520fb['attachments'],_0x2520fb;}function Sb(_0x3b43bb,_0x3dc216){if(!_0x3b43bb)return _0x3b43bb;if(_0x3b43bb&&!0x0===_0x3b43bb['_placeholder']){if('number'==typeof _0x3b43bb['num']&&_0x3b43bb['num']>=0x0&&_0x3b43bb['num']<_0x3dc216['length'])return _0x3dc216[_0x3b43bb['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x3b43bb)){for(let _0x112dc7=0x0;_0x112dc7<_0x3b43bb['length'];_0x112dc7++)_0x3b43bb[_0x112dc7]=Sb(_0x3b43bb[_0x112dc7],_0x3dc216);}else{if('object'==typeof _0x3b43bb){for(const _0x14d226 in _0x3b43bb)Object['prototype']['hasOwnProperty']['call'](_0x3b43bb,_0x14d226)&&(_0x3b43bb[_0x14d226]=Sb(_0x3b43bb[_0x14d226],_0x3dc216));}}return _0x3b43bb;}const Ib=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var Cb;!function(_0x425759){_0x425759[_0x425759['CONNECT']=0x0]='CONNECT',_0x425759[_0x425759['DISCONNECT']=0x1]='DISCONNECT',_0x425759[_0x425759['EVENT']=0x2]='EVENT',_0x425759[_0x425759['ACK']=0x3]='ACK',_0x425759[_0x425759['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x425759[_0x425759['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x425759[_0x425759['BINARY_ACK']=0x6]='BINARY_ACK';}(Cb||(Cb={}));let kb=class Encoder{constructor(_0x2b45b0){this['replacer']=_0x2b45b0;}['encode'](_0x483505){return _0x483505['type']!==Cb['EVENT']&&_0x483505['type']!==Cb['ACK']||!_b(_0x483505)?[this['encodeAsString'](_0x483505)]:this['encodeAsBinary']({'type':_0x483505['type']===Cb['EVENT']?Cb['BINARY_EVENT']:Cb['BINARY_ACK'],'nsp':_0x483505['nsp'],'data':_0x483505['data'],'id':_0x483505['id']});}['encodeAsString'](_0x1c8475){let _0xb20616=''+_0x1c8475['type'];return _0x1c8475['type']!==Cb['BINARY_EVENT']&&_0x1c8475['type']!==Cb['BINARY_ACK']||(_0xb20616+=_0x1c8475['attachments']+'-'),_0x1c8475['nsp']&&'/'!==_0x1c8475['nsp']&&(_0xb20616+=_0x1c8475['nsp']+','),null!=_0x1c8475['id']&&(_0xb20616+=_0x1c8475['id']),null!=_0x1c8475['data']&&(_0xb20616+=JSON['stringify'](_0x1c8475['data'],this['replacer'])),_0xb20616;}['encodeAsBinary'](_0x8b4330){const _0x5e4855=Eb(_0x8b4330),_0x6d1f2a=this['encodeAsString'](_0x5e4855['packet']),_0x259ef8=_0x5e4855['buffers'];return _0x259ef8['unshift'](_0x6d1f2a),_0x259ef8;}},xb=class Decoder extends Fw{constructor(_0x3ae833){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x3ae833?{'reviver':_0x3ae833}:_0x3ae833);}['add'](_0x1824c3){let _0x2b367b;if('string'==typeof _0x1824c3){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x2b367b=this['decodeString'](_0x1824c3);const _0x27ed8b=_0x2b367b['type']===Cb['BINARY_EVENT'];_0x27ed8b||_0x2b367b['type']===Cb['BINARY_ACK']?(_0x2b367b['type']=_0x27ed8b?Cb['EVENT']:Cb['ACK'],this['reconstructor']=new BinaryReconstructor(_0x2b367b),0x0===_0x2b367b['attachments']&&super['emitReserved']('decoded',_0x2b367b)):super['emitReserved']('decoded',_0x2b367b);}else{if(!vb(_0x1824c3)&&!_0x1824c3['base64'])throw new Error('Unknown\x20type:\x20'+_0x1824c3);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x2b367b=this['reconstructor']['takeBinaryData'](_0x1824c3),_0x2b367b&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x2b367b));}}['decodeString'](_0x5dbbcb){let _0x2aaeb5=0x0;const _0x19a679={'type':Number(_0x5dbbcb['charAt'](0x0))};if(void 0x0===Cb[_0x19a679['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x19a679['type']);if(_0x19a679['type']===Cb['BINARY_EVENT']||_0x19a679['type']===Cb['BINARY_ACK']){const _0x244906=_0x2aaeb5+0x1;for(;'-'!==_0x5dbbcb['charAt'](++_0x2aaeb5)&&_0x2aaeb5!=_0x5dbbcb['length'];);const _0x53c72a=_0x5dbbcb['substring'](_0x244906,_0x2aaeb5);if(_0x53c72a!=Number(_0x53c72a)||'-'!==_0x5dbbcb['charAt'](_0x2aaeb5))throw new Error('Illegal\x20attachments');const _0x1b47da=Number(_0x53c72a);if(!Rb(_0x1b47da)||_0x1b47da<0x0)throw new Error('Illegal\x20attachments');if(_0x1b47da>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x19a679['attachments']=_0x1b47da;}if('/'===_0x5dbbcb['charAt'](_0x2aaeb5+0x1)){const _0x252f34=_0x2aaeb5+0x1;for(;++_0x2aaeb5;){if(','===_0x5dbbcb['charAt'](_0x2aaeb5))break;if(_0x2aaeb5===_0x5dbbcb['length'])break;}_0x19a679['nsp']=_0x5dbbcb['substring'](_0x252f34,_0x2aaeb5);}else _0x19a679['nsp']='/';const _0x123604=_0x5dbbcb['charAt'](_0x2aaeb5+0x1);if(''!==_0x123604&&Number(_0x123604)==_0x123604){const _0x341720=_0x2aaeb5+0x1;for(;++_0x2aaeb5;){const _0x43497f=_0x5dbbcb['charAt'](_0x2aaeb5);if(null==_0x43497f||Number(_0x43497f)!=_0x43497f){--_0x2aaeb5;break;}if(_0x2aaeb5===_0x5dbbcb['length'])break;}_0x19a679['id']=Number(_0x5dbbcb['substring'](_0x341720,_0x2aaeb5+0x1));}if(_0x5dbbcb['charAt'](++_0x2aaeb5)){const _0x2a2564=this['tryParse'](_0x5dbbcb['substr'](_0x2aaeb5));if(!Decoder['isPayloadValid'](_0x19a679['type'],_0x2a2564))throw new Error('invalid\x20payload');_0x19a679['data']=_0x2a2564;}return _0x19a679;}['tryParse'](_0x2d388b){try{return JSON['parse'](_0x2d388b,this['opts']['reviver']);}catch(_0x714d6c){return!0x1;}}static['isPayloadValid'](_0x374170,_0xa3facd){switch(_0x374170){case Cb['CONNECT']:return Pb(_0xa3facd);case Cb['DISCONNECT']:return void 0x0===_0xa3facd;case Cb['CONNECT_ERROR']:return'string'==typeof _0xa3facd||Pb(_0xa3facd);case Cb['EVENT']:case Cb['BINARY_EVENT']:return Array['isArray'](_0xa3facd)&&('number'==typeof _0xa3facd[0x0]||'string'==typeof _0xa3facd[0x0]&&-0x1===Ib['indexOf'](_0xa3facd[0x0]));case Cb['ACK']:case Cb['BINARY_ACK']:return Array['isArray'](_0xa3facd);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x34b1bf){this['packet']=_0x34b1bf,this['buffers']=[],this['reconPack']=_0x34b1bf;}['takeBinaryData'](_0x3a9283){if(this['buffers']['push'](_0x3a9283),this['buffers']['length']===this['reconPack']['attachments']){const _0x5167a2=Ab(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x5167a2;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const Rb=Number['isInteger']||function(_0x4c19f8){return'number'==typeof _0x4c19f8&&isFinite(_0x4c19f8)&&Math['floor'](_0x4c19f8)===_0x4c19f8;};function Pb(_0x4ba862){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4ba862);}var Mb=Object['freeze']({'__proto__':null,'Decoder':xb,'Encoder':kb,get 'PacketType'(){return Cb;}});function Nb(_0x31f816,_0x1ee9aa,_0x153ebf){return _0x31f816['on'](_0x1ee9aa,_0x153ebf),function(){_0x31f816['off'](_0x1ee9aa,_0x153ebf);};}const Lb=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Fw{constructor(_0x39928f,_0x1fe3f6,_0x1ec9bf){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']=_0x39928f,this['nsp']=_0x1fe3f6,_0x1ec9bf&&_0x1ec9bf['auth']&&(this['auth']=_0x1ec9bf['auth']),this['_opts']=Object['assign']({},_0x1ec9bf),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x46ad08=this['io'];this['subs']=[Nb(_0x46ad08,'open',this['onopen']['bind'](this)),Nb(_0x46ad08,'packet',this['onpacket']['bind'](this)),Nb(_0x46ad08,'error',this['onerror']['bind'](this)),Nb(_0x46ad08,'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'](..._0x5b73a9){return _0x5b73a9['unshift']('message'),this['emit']['apply'](this,_0x5b73a9),this;}['emit'](_0x5635c3,..._0x5542cd){if(Lb['hasOwnProperty'](_0x5635c3))throw new Error('\x22'+_0x5635c3['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x5542cd['unshift'](_0x5635c3),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x5542cd),this;const _0x9ea13a={'type':Cb['EVENT'],'data':_0x5542cd,'options':{}};if(_0x9ea13a['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x5542cd[_0x5542cd['length']-0x1]){const _0x124acc=this['ids']++,_0x2f06f2=_0x5542cd['pop']();this['_registerAckCallback'](_0x124acc,_0x2f06f2),_0x9ea13a['id']=_0x124acc;}const _0x43d882=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x43d882||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x9ea13a),this['packet'](_0x9ea13a)):this['sendBuffer']['push'](_0x9ea13a)),this['flags']={},this;}['_registerAckCallback'](_0x4822e9,_0x390c38){var _0x636d67;const _0x18d738=null!==(_0x636d67=this['flags']['timeout'])&&void 0x0!==_0x636d67?_0x636d67:this['_opts']['ackTimeout'];if(void 0x0===_0x18d738)return void(this['acks'][_0x4822e9]=_0x390c38);const _0x227587=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x4822e9];for(let _0x95b60d=0x0;_0x95b60d<this['sendBuffer']['length'];_0x95b60d++)this['sendBuffer'][_0x95b60d]['id']===_0x4822e9&&this['sendBuffer']['splice'](_0x95b60d,0x1);_0x390c38['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x18d738);this['acks'][_0x4822e9]=(..._0x2edae2)=>{this['io']['clearTimeoutFn'](_0x227587),_0x390c38['apply'](this,[null,..._0x2edae2]);};}['emitWithAck'](_0x542b08,..._0x4dd776){const _0x2b4c94=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x486570,_0x5c466a)=>{_0x4dd776['push']((_0x59702d,_0x48b4d0)=>_0x2b4c94?_0x59702d?_0x5c466a(_0x59702d):_0x486570(_0x48b4d0):_0x486570(_0x59702d)),this['emit'](_0x542b08,..._0x4dd776);});}['_addToQueue'](_0x58da2b){let _0x47e9d9;'function'==typeof _0x58da2b[_0x58da2b['length']-0x1]&&(_0x47e9d9=_0x58da2b['pop']());const _0xa62d30={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x58da2b,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x58da2b['push']((_0x39fd37,..._0x1574cf)=>{if(_0xa62d30!==this['_queue'][0x0])return;return null!==_0x39fd37?_0xa62d30['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x47e9d9&&_0x47e9d9(_0x39fd37)):(this['_queue']['shift'](),_0x47e9d9&&_0x47e9d9(null,..._0x1574cf)),_0xa62d30['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0xa62d30),this['_drainQueue']();}['_drainQueue'](_0x1e3ae7=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x254242=this['_queue'][0x0];_0x254242['pending']&&!_0x1e3ae7||(_0x254242['pending']=!0x0,_0x254242['tryCount']++,this['flags']=_0x254242['flags'],this['emit']['apply'](this,_0x254242['args']));}['packet'](_0x40f871){_0x40f871['nsp']=this['nsp'],this['io']['_packet'](_0x40f871);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x3ddd1d=>{this['_sendConnectPacket'](_0x3ddd1d);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x3ddf0d){this['packet']({'type':Cb['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x3ddf0d):_0x3ddf0d});}['onerror'](_0x465dc1){this['connected']||this['emitReserved']('connect_error',_0x465dc1);}['onclose'](_0x1bd58e,_0x555e28){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x1bd58e,_0x555e28);}['onpacket'](_0x2a2120){if(_0x2a2120['nsp']===this['nsp'])switch(_0x2a2120['type']){case Cb['CONNECT']:_0x2a2120['data']&&_0x2a2120['data']['sid']?this['onconnect'](_0x2a2120['data']['sid'],_0x2a2120['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 Cb['EVENT']:case Cb['BINARY_EVENT']:this['onevent'](_0x2a2120);break;case Cb['ACK']:case Cb['BINARY_ACK']:this['onack'](_0x2a2120);break;case Cb['DISCONNECT']:this['ondisconnect']();break;case Cb['CONNECT_ERROR']:this['destroy']();const _0x596530=new Error(_0x2a2120['data']['message']);_0x596530['data']=_0x2a2120['data']['data'],this['emitReserved']('connect_error',_0x596530);}}['onevent'](_0x4028f2){const _0x6edc01=_0x4028f2['data']||[];null!=_0x4028f2['id']&&_0x6edc01['push'](this['ack'](_0x4028f2['id'])),this['connected']?this['emitEvent'](_0x6edc01):this['receiveBuffer']['push'](Object['freeze'](_0x6edc01));}['emitEvent'](_0x1f3685){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0xa72cb7=this['_anyListeners']['slice']();for(const _0x32cee7 of _0xa72cb7)_0x32cee7['apply'](this,_0x1f3685);}super['emit']['apply'](this,_0x1f3685),this['_pid']&&_0x1f3685['length']&&'string'==typeof _0x1f3685[_0x1f3685['length']-0x1]&&(this['_lastOffset']=_0x1f3685[_0x1f3685['length']-0x1]);}['ack'](_0xa3f1c0){const _0x2e04c9=this;let _0x37b4b5=!0x1;return function(..._0x9c530d){_0x37b4b5||(_0x37b4b5=!0x0,_0x2e04c9['packet']({'type':Cb['ACK'],'id':_0xa3f1c0,'data':_0x9c530d}));};}['onack'](_0x4afd06){const _0xf944b1=this['acks'][_0x4afd06['id']];'function'==typeof _0xf944b1&&(_0xf944b1['apply'](this,_0x4afd06['data']),delete this['acks'][_0x4afd06['id']]);}['onconnect'](_0x457273,_0x5101b2){this['id']=_0x457273,this['recovered']=_0x5101b2&&this['_pid']===_0x5101b2,this['_pid']=_0x5101b2,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x255ff4=>this['emitEvent'](_0x255ff4)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0xddd1f7=>{this['notifyOutgoingListeners'](_0xddd1f7),this['packet'](_0xddd1f7);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x5d62a5=>_0x5d62a5()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':Cb['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x37c4e7){return this['flags']['compress']=_0x37c4e7,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x1c04fb){return this['flags']['timeout']=_0x1c04fb,this;}['onAny'](_0x5b94cf){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x5b94cf),this;}['prependAny'](_0x450852){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x450852),this;}['offAny'](_0x275a2a){if(!this['_anyListeners'])return this;if(_0x275a2a){const _0x4f598a=this['_anyListeners'];for(let _0x2c8d25=0x0;_0x2c8d25<_0x4f598a['length'];_0x2c8d25++)if(_0x275a2a===_0x4f598a[_0x2c8d25])return _0x4f598a['splice'](_0x2c8d25,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x365e94){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x365e94),this;}['prependAnyOutgoing'](_0x434dee){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x434dee),this;}['offAnyOutgoing'](_0x231983){if(!this['_anyOutgoingListeners'])return this;if(_0x231983){const _0x221da4=this['_anyOutgoingListeners'];for(let _0x3bf739=0x0;_0x3bf739<_0x221da4['length'];_0x3bf739++)if(_0x231983===_0x221da4[_0x3bf739])return _0x221da4['splice'](_0x3bf739,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x23222f){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x5cfcb5=this['_anyOutgoingListeners']['slice']();for(const _0xf980b1 of _0x5cfcb5)_0xf980b1['apply'](this,_0x23222f['data']);}}}function $b(_0x5346fb){_0x5346fb=_0x5346fb||{},this['ms']=_0x5346fb['min']||0x64,this['max']=_0x5346fb['max']||0x2710,this['factor']=_0x5346fb['factor']||0x2,this['jitter']=_0x5346fb['jitter']>0x0&&_0x5346fb['jitter']<=0x1?_0x5346fb['jitter']:0x0,this['attempts']=0x0;}$b['prototype']['duration']=function(){var _0x89be3b=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x58704b=Math['random'](),_0x2ea633=Math['floor'](_0x58704b*this['jitter']*_0x89be3b);_0x89be3b=0x1&Math['floor'](0xa*_0x58704b)?_0x89be3b+_0x2ea633:_0x89be3b-_0x2ea633;}return 0x0|Math['min'](_0x89be3b,this['max']);},$b['prototype']['reset']=function(){this['attempts']=0x0;},$b['prototype']['setMin']=function(_0x36e0dc){this['ms']=_0x36e0dc;},$b['prototype']['setMax']=function(_0x10e778){this['max']=_0x10e778;},$b['prototype']['setJitter']=function(_0x5e0a2d){this['jitter']=_0x5e0a2d;};class Manager extends Fw{constructor(_0x5a40ea,_0x2bdada){var _0x7e4d00;super(),this['nsps']={},this['subs']=[],_0x5a40ea&&'object'==typeof _0x5a40ea&&(_0x2bdada=_0x5a40ea,_0x5a40ea=void 0x0),(_0x2bdada=_0x2bdada||{})['path']=_0x2bdada['path']||'/socket.io',this['opts']=_0x2bdada,qw(this,_0x2bdada),this['reconnection'](!0x1!==_0x2bdada['reconnection']),this['reconnectionAttempts'](_0x2bdada['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x2bdada['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x2bdada['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x7e4d00=_0x2bdada['randomizationFactor'])&&void 0x0!==_0x7e4d00?_0x7e4d00:0.5),this['backoff']=new $b({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x2bdada['timeout']?0x4e20:_0x2bdada['timeout']),this['_readyState']='closed',this['uri']=_0x5a40ea;const _0x3299f0=_0x2bdada['parser']||Mb;this['encoder']=new _0x3299f0['Encoder'](),this['decoder']=new _0x3299f0['Decoder'](),this['_autoConnect']=!0x1!==_0x2bdada['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x31593a){return arguments['length']?(this['_reconnection']=!!_0x31593a,this):this['_reconnection'];}['reconnectionAttempts'](_0x5a91be){return void 0x0===_0x5a91be?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x5a91be,this);}['reconnectionDelay'](_0x49f396){var _0x1228e2;return void 0x0===_0x49f396?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x49f396,null===(_0x1228e2=this['backoff'])||void 0x0===_0x1228e2||_0x1228e2['setMin'](_0x49f396),this);}['randomizationFactor'](_0x3fb5ca){var _0xca6d5e;return void 0x0===_0x3fb5ca?this['_randomizationFactor']:(this['_randomizationFactor']=_0x3fb5ca,null===(_0xca6d5e=this['backoff'])||void 0x0===_0xca6d5e||_0xca6d5e['setJitter'](_0x3fb5ca),this);}['reconnectionDelayMax'](_0x46fd01){var _0x193c3d;return void 0x0===_0x46fd01?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x46fd01,null===(_0x193c3d=this['backoff'])||void 0x0===_0x193c3d||_0x193c3d['setMax'](_0x46fd01),this);}['timeout'](_0x1ab688){return arguments['length']?(this['_timeout']=_0x1ab688,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x3fd559){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new pb(this['uri'],this['opts']);const _0x390cd4=this['engine'],_0x44c642=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x201f7c=Nb(_0x390cd4,'open',function(){_0x44c642['onopen'](),_0x3fd559&&_0x3fd559();}),_0x5d94bc=_0x102c69=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x102c69),_0x3fd559?_0x3fd559(_0x102c69):this['maybeReconnectOnOpen']();},_0x49dc65=Nb(_0x390cd4,'error',_0x5d94bc);if(!0x1!==this['_timeout']){const _0x5df102=this['_timeout'],_0xf581ab=this['setTimeoutFn'](()=>{_0x201f7c(),_0x5d94bc(new Error('timeout')),_0x390cd4['close']();},_0x5df102);this['opts']['autoUnref']&&_0xf581ab['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0xf581ab);});}return this['subs']['push'](_0x201f7c),this['subs']['push'](_0x49dc65),this;}['connect'](_0x587abc){return this['open'](_0x587abc);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x57aa13=this['engine'];this['subs']['push'](Nb(_0x57aa13,'ping',this['onping']['bind'](this)),Nb(_0x57aa13,'data',this['ondata']['bind'](this)),Nb(_0x57aa13,'error',this['onerror']['bind'](this)),Nb(_0x57aa13,'close',this['onclose']['bind'](this)),Nb(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x467cb2){try{this['decoder']['add'](_0x467cb2);}catch(_0x530eaa){this['onclose']('parse\x20error',_0x530eaa);}}['ondecoded'](_0x119de6){lb(()=>{this['emitReserved']('packet',_0x119de6);},this['setTimeoutFn']);}['onerror'](_0x31ed45){this['emitReserved']('error',_0x31ed45);}['socket'](_0x3b7004,_0x5a96af){let _0xe42bfa=this['nsps'][_0x3b7004];return _0xe42bfa?this['_autoConnect']&&!_0xe42bfa['active']&&_0xe42bfa['connect']():(_0xe42bfa=new Socket(this,_0x3b7004,_0x5a96af),this['nsps'][_0x3b7004]=_0xe42bfa),_0xe42bfa;}['_destroy'](_0x3d1afb){const _0x178dc1=Object['keys'](this['nsps']);for(const _0x38e7ea of _0x178dc1){if(this['nsps'][_0x38e7ea]['active'])return;}this['_close']();}['_packet'](_0x1bf2ef){const _0x1e634b=this['encoder']['encode'](_0x1bf2ef);for(let _0x46beb5=0x0;_0x46beb5<_0x1e634b['length'];_0x46beb5++)this['engine']['write'](_0x1e634b[_0x46beb5],_0x1bf2ef['options']);}['cleanup'](){this['subs']['forEach'](_0x2add67=>_0x2add67()),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'](_0x1469ec,_0xf1b437){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x1469ec,_0xf1b437),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x1c5ce1=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x2dde9a=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x21cc1f=this['setTimeoutFn'](()=>{_0x1c5ce1['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x1c5ce1['backoff']['attempts']),_0x1c5ce1['skipReconnect']||_0x1c5ce1['open'](_0x56df3d=>{_0x56df3d?(_0x1c5ce1['_reconnecting']=!0x1,_0x1c5ce1['reconnect'](),this['emitReserved']('reconnect_error',_0x56df3d)):_0x1c5ce1['onreconnect']();}));},_0x2dde9a);this['opts']['autoUnref']&&_0x21cc1f['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x21cc1f);});}}['onreconnect'](){const _0x563a37=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x563a37);}}const Db={};function Qb(_0x250f27,_0x5b23e2){'object'==typeof _0x250f27&&(_0x5b23e2=_0x250f27,_0x250f27=void 0x0);const _0x2fdc05=function(_0x389cee,_0x2800ff='',_0x5f31d8){let _0x53f79b=_0x389cee;_0x5f31d8=_0x5f31d8||'undefined'!=typeof location&&location,null==_0x389cee&&(_0x389cee=_0x5f31d8['protocol']+'//'+_0x5f31d8['host']),'string'==typeof _0x389cee&&('/'===_0x389cee['charAt'](0x0)&&(_0x389cee='/'===_0x389cee['charAt'](0x1)?_0x5f31d8['protocol']+_0x389cee:_0x5f31d8['host']+_0x389cee),/^(https?|wss?):\/\//['test'](_0x389cee)||(_0x389cee=void 0x0!==_0x5f31d8?_0x5f31d8['protocol']+'//'+_0x389cee:'https://'+_0x389cee),_0x53f79b=gb(_0x389cee)),_0x53f79b['port']||(/^(http|ws)$/['test'](_0x53f79b['protocol'])?_0x53f79b['port']='80':/^(http|ws)s$/['test'](_0x53f79b['protocol'])&&(_0x53f79b['port']='443')),_0x53f79b['path']=_0x53f79b['path']||'/';const _0x3dd5d6=-0x1!==_0x53f79b['host']['indexOf'](':')?'['+_0x53f79b['host']+']':_0x53f79b['host'];return _0x53f79b['id']=_0x53f79b['protocol']+'://'+_0x3dd5d6+':'+_0x53f79b['port']+_0x2800ff,_0x53f79b['href']=_0x53f79b['protocol']+'://'+_0x3dd5d6+(_0x5f31d8&&_0x5f31d8['port']===_0x53f79b['port']?'':':'+_0x53f79b['port']),_0x53f79b;}(_0x250f27,(_0x5b23e2=_0x5b23e2||{})['path']||'/socket.io'),_0x43aa90=_0x2fdc05['source'],_0x1b7622=_0x2fdc05['id'],_0x125c09=_0x2fdc05['path'],_0x4c98db=Db[_0x1b7622]&&_0x125c09 in Db[_0x1b7622]['nsps'];let _0x285f67;return _0x5b23e2['forceNew']||_0x5b23e2['force\x20new\x20connection']||!0x1===_0x5b23e2['multiplex']||_0x4c98db?_0x285f67=new Manager(_0x43aa90,_0x5b23e2):(Db[_0x1b7622]||(Db[_0x1b7622]=new Manager(_0x43aa90,_0x5b23e2)),_0x285f67=Db[_0x1b7622]),_0x2fdc05['query']&&!_0x5b23e2['query']&&(_0x5b23e2['query']=_0x2fdc05['queryKey']),_0x285f67['socket'](_0x2fdc05['path'],_0x5b23e2);}var Vb,Ub;Object['assign'](Qb,{'Manager':Manager,'Socket':Socket,'io':Qb,'connect':Qb});var Bb,jb,Fb,Hb={},Gb=(function(){if(Fb)return jb;Fb=0x1;var _0x1f6547=(Ub||(Ub=0x1,Vb=function(_0x12ccbc,_0x23316f){if(_0x23316f=_0x23316f['split'](':')[0x0],!(_0x12ccbc=+_0x12ccbc))return!0x1;switch(_0x23316f){case'http':case'ws':return 0x50!==_0x12ccbc;case'https':case'wss':return 0x1bb!==_0x12ccbc;case'ftp':return 0x15!==_0x12ccbc;case'gopher':return 0x46!==_0x12ccbc;case'file':return!0x1;}return 0x0!==_0x12ccbc;}),Vb),_0x260186=(function(){if(Bb)return Hb;Bb=0x1;var _0x8b7be7=Object['prototype']['hasOwnProperty'];function _0x55fd20(_0x378438){try{return decodeURIComponent(_0x378438['replace'](/\+/g,'\x20'));}catch(_0x27899e){return null;}}function _0x51e341(_0x4f8782){try{return encodeURIComponent(_0x4f8782);}catch(_0x190232){return null;}}return Hb['stringify']=function(_0x2db4ab,_0xd5d4c4){_0xd5d4c4=_0xd5d4c4||'';var _0x9aa49c,_0x7d1a31,_0x31fa4e=[];for(_0x7d1a31 in('string'!=typeof _0xd5d4c4&&(_0xd5d4c4='?'),_0x2db4ab))if(_0x8b7be7['call'](_0x2db4ab,_0x7d1a31)){if((_0x9aa49c=_0x2db4ab[_0x7d1a31])||null!=_0x9aa49c&&!isNaN(_0x9aa49c)||(_0x9aa49c=''),_0x7d1a31=_0x51e341(_0x7d1a31),_0x9aa49c=_0x51e341(_0x9aa49c),null===_0x7d1a31||null===_0x9aa49c)continue;_0x31fa4e['push'](_0x7d1a31+'='+_0x9aa49c);}return _0x31fa4e['length']?_0xd5d4c4+_0x31fa4e['join']('&'):'';},Hb['parse']=function(_0x400fdc){for(var _0x3c1ce6,_0x13c29d=/([^=?#&]+)=?([^&]*)/g,_0x1c72d1={};_0x3c1ce6=_0x13c29d['exec'](_0x400fdc);){var _0x501fe4=_0x55fd20(_0x3c1ce6[0x1]),_0x491175=_0x55fd20(_0x3c1ce6[0x2]);null===_0x501fe4||null===_0x491175||_0x501fe4 in _0x1c72d1||(_0x1c72d1[_0x501fe4]=_0x491175);}return _0x1c72d1;},Hb;}()),_0x3c88d0=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x23219e=/[\n\r\t]/g,_0x22ea7d=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0xf8d2ec=/:\d+$/,_0x1ec52f=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x3f9d55=/^[a-zA-Z]:/;function _0x46f0b7(_0x47fa2f){return(_0x47fa2f||'')['toString']()['replace'](_0x3c88d0,'');}var _0x27dcb2=[['#','hash'],['?','query'],function(_0x45870d,_0x2f4363){return _0x2ef0ca(_0x2f4363['protocol'])?_0x45870d['replace'](/\\/g,'/'):_0x45870d;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x2fcab0={'hash':0x1,'query':0x1};function _0x3cc76e(_0x5b6563){var _0x21d538,_0xc9c298=('undefined'!=typeof window?window:void 0x0!==NO?NO:'undefined'!=typeof self?self:{})['location']||{},_0x1d06a1={},_0x21755c=typeof(_0x5b6563=_0x5b6563||_0xc9c298);if('blob:'===_0x5b6563['protocol'])_0x1d06a1=new _0x2f58d7(unescape(_0x5b6563['pathname']),{});else{if('string'===_0x21755c){for(_0x21d538 in(_0x1d06a1=new _0x2f58d7(_0x5b6563,{}),_0x2fcab0))delete _0x1d06a1[_0x21d538];}else{if('object'===_0x21755c){for(_0x21d538 in _0x5b6563)_0x21d538 in _0x2fcab0||(_0x1d06a1[_0x21d538]=_0x5b6563[_0x21d538]);void 0x0===_0x1d06a1['slashes']&&(_0x1d06a1['slashes']=_0x22ea7d['test'](_0x5b6563['href']));}}}return _0x1d06a1;}function _0x2ef0ca(_0x33a5d5){return'file:'===_0x33a5d5||'ftp:'===_0x33a5d5||'http:'===_0x33a5d5||'https:'===_0x33a5d5||'ws:'===_0x33a5d5||'wss:'===_0x33a5d5;}function _0x1db42f(_0x207cfa,_0x3e3a20){_0x207cfa=(_0x207cfa=_0x46f0b7(_0x207cfa))['replace'](_0x23219e,''),_0x3e3a20=_0x3e3a20||{};var _0x2ff336,_0x3ce726=_0x1ec52f['exec'](_0x207cfa),_0x42b8d7=_0x3ce726[0x1]?_0x3ce726[0x1]['toLowerCase']():'',_0x22c397=!!_0x3ce726[0x2],_0x392678=!!_0x3ce726[0x3],_0x22fb69=0x0;return _0x22c397?_0x392678?(_0x2ff336=_0x3ce726[0x2]+_0x3ce726[0x3]+_0x3ce726[0x4],_0x22fb69=_0x3ce726[0x2]['length']+_0x3ce726[0x3]['length']):(_0x2ff336=_0x3ce726[0x2]+_0x3ce726[0x4],_0x22fb69=_0x3ce726[0x2]['length']):_0x392678?(_0x2ff336=_0x3ce726[0x3]+_0x3ce726[0x4],_0x22fb69=_0x3ce726[0x3]['length']):_0x2ff336=_0x3ce726[0x4],'file:'===_0x42b8d7?_0x22fb69>=0x2&&(_0x2ff336=_0x2ff336['slice'](0x2)):_0x2ef0ca(_0x42b8d7)?_0x2ff336=_0x3ce726[0x4]:_0x42b8d7?_0x22c397&&(_0x2ff336=_0x2ff336['slice'](0x2)):_0x22fb69>=0x2&&_0x2ef0ca(_0x3e3a20['protocol'])&&(_0x2ff336=_0x3ce726[0x4]),{'protocol':_0x42b8d7,'slashes':_0x22c397||_0x2ef0ca(_0x42b8d7),'slashesCount':_0x22fb69,'rest':_0x2ff336};}function _0x2f58d7(_0x44d84c,_0x5383f3,_0x2b3691){if(_0x44d84c=(_0x44d84c=_0x46f0b7(_0x44d84c))['replace'](_0x23219e,''),!(this instanceof _0x2f58d7))return new _0x2f58d7(_0x44d84c,_0x5383f3,_0x2b3691);var _0x1c0b1b,_0x245fb5,_0x5048b2,_0x369940,_0x58f809,_0x4dcf73,_0x1a0ff2=_0x27dcb2['slice'](),_0x358933=typeof _0x5383f3,_0x5a352e=this,_0xcc6b27=0x0;for('object'!==_0x358933&&'string'!==_0x358933&&(_0x2b3691=_0x5383f3,_0x5383f3=null),_0x2b3691&&'function'!=typeof _0x2b3691&&(_0x2b3691=_0x260186['parse']),_0x1c0b1b=!(_0x245fb5=_0x1db42f(_0x44d84c||'',_0x5383f3=_0x3cc76e(_0x5383f3)))['protocol']&&!_0x245fb5['slashes'],_0x5a352e['slashes']=_0x245fb5['slashes']||_0x1c0b1b&&_0x5383f3['slashes'],_0x5a352e['protocol']=_0x245fb5['protocol']||_0x5383f3['protocol']||'',_0x44d84c=_0x245fb5['rest'],('file:'===_0x245fb5['protocol']&&(0x2!==_0x245fb5['slashesCount']||_0x3f9d55['test'](_0x44d84c))||!_0x245fb5['slashes']&&(_0x245fb5['protocol']||_0x245fb5['slashesCount']<0x2||!_0x2ef0ca(_0x5a352e['protocol'])))&&(_0x1a0ff2[0x3]=[/(.*)/,'pathname']);_0xcc6b27<_0x1a0ff2['length'];_0xcc6b27++)'function'!=typeof(_0x369940=_0x1a0ff2[_0xcc6b27])?(_0x5048b2=_0x369940[0x0],_0x4dcf73=_0x369940[0x1],_0x5048b2!=_0x5048b2?_0x5a352e[_0x4dcf73]=_0x44d84c:'string'==typeof _0x5048b2?~(_0x58f809='@'===_0x5048b2?_0x44d84c['lastIndexOf'](_0x5048b2):_0x44d84c['indexOf'](_0x5048b2))&&('number'==typeof _0x369940[0x2]?(_0x5a352e[_0x4dcf73]=_0x44d84c['slice'](0x0,_0x58f809),_0x44d84c=_0x44d84c['slice'](_0x58f809+_0x369940[0x2])):(_0x5a352e[_0x4dcf73]=_0x44d84c['slice'](_0x58f809),_0x44d84c=_0x44d84c['slice'](0x0,_0x58f809))):(_0x58f809=_0x5048b2['exec'](_0x44d84c))&&(_0x5a352e[_0x4dcf73]=_0x58f809[0x1],_0x44d84c=_0x44d84c['slice'](0x0,_0x58f809['index'])),_0x5a352e[_0x4dcf73]=_0x5a352e[_0x4dcf73]||_0x1c0b1b&&_0x369940[0x3]&&_0x5383f3[_0x4dcf73]||'',_0x369940[0x4]&&(_0x5a352e[_0x4dcf73]=_0x5a352e[_0x4dcf73]['toLowerCase']())):_0x44d84c=_0x369940(_0x44d84c,_0x5a352e);_0x2b3691&&(_0x5a352e['query']=_0x2b3691(_0x5a352e['query'])),_0x1c0b1b&&_0x5383f3['slashes']&&'/'!==_0x5a352e['pathname']['charAt'](0x0)&&(''!==_0x5a352e['pathname']||''!==_0x5383f3['pathname'])&&(_0x5a352e['pathname']=function(_0x1cb836,_0x550d02){if(''===_0x1cb836)return _0x550d02;for(var _0x6557f9=(_0x550d02||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x1cb836['split']('/')),_0x5cef6b=_0x6557f9['length'],_0x4a1c1d=_0x6557f9[_0x5cef6b-0x1],_0x57d74e=!0x1,_0x38af96=0x0;_0x5cef6b--;)'.'===_0x6557f9[_0x5cef6b]?_0x6557f9['splice'](_0x5cef6b,0x1):'..'===_0x6557f9[_0x5cef6b]?(_0x6557f9['splice'](_0x5cef6b,0x1),_0x38af96++):_0x38af96&&(0x0===_0x5cef6b&&(_0x57d74e=!0x0),_0x6557f9['splice'](_0x5cef6b,0x1),_0x38af96--);return _0x57d74e&&_0x6557f9['unshift'](''),'.'!==_0x4a1c1d&&'..'!==_0x4a1c1d||_0x6557f9['push'](''),_0x6557f9['join']('/');}(_0x5a352e['pathname'],_0x5383f3['pathname'])),'/'!==_0x5a352e['pathname']['charAt'](0x0)&&_0x2ef0ca(_0x5a352e['protocol'])&&(_0x5a352e['pathname']='/'+_0x5a352e['pathname']),_0x1f6547(_0x5a352e['port'],_0x5a352e['protocol'])||(_0x5a352e['host']=_0x5a352e['hostname'],_0x5a352e['port']=''),_0x5a352e['username']=_0x5a352e['password']='',_0x5a352e['auth']&&(~(_0x58f809=_0x5a352e['auth']['indexOf'](':'))?(_0x5a352e['username']=_0x5a352e['auth']['slice'](0x0,_0x58f809),_0x5a352e['username']=encodeURIComponent(decodeURIComponent(_0x5a352e['username'])),_0x5a352e['password']=_0x5a352e['auth']['slice'](_0x58f809+0x1),_0x5a352e['password']=encodeURIComponent(decodeURIComponent(_0x5a352e['password']))):_0x5a352e['username']=encodeURIComponent(decodeURIComponent(_0x5a352e['auth'])),_0x5a352e['auth']=_0x5a352e['password']?_0x5a352e['username']+':'+_0x5a352e['password']:_0x5a352e['username']),_0x5a352e['origin']='file:'!==_0x5a352e['protocol']&&_0x2ef0ca(_0x5a352e['protocol'])&&_0x5a352e['host']?_0x5a352e['protocol']+'//'+_0x5a352e['host']:'null',_0x5a352e['href']=_0x5a352e['toString']();}return _0x2f58d7['prototype']={'set':function(_0x94ae5a,_0x247a32,_0x4a0434){var _0x283c53=this;switch(_0x94ae5a){case'query':'string'==typeof _0x247a32&&_0x247a32['length']&&(_0x247a32=(_0x4a0434||_0x260186['parse'])(_0x247a32)),_0x283c53[_0x94ae5a]=_0x247a32;break;case'port':_0x283c53[_0x94ae5a]=_0x247a32,_0x1f6547(_0x247a32,_0x283c53['protocol'])?_0x247a32&&(_0x283c53['host']=_0x283c53['hostname']+':'+_0x247a32):(_0x283c53['host']=_0x283c53['hostname'],_0x283c53[_0x94ae5a]='');break;case'hostname':_0x283c53[_0x94ae5a]=_0x247a32,_0x283c53['port']&&(_0x247a32+=':'+_0x283c53['port']),_0x283c53['host']=_0x247a32;break;case'host':_0x283c53[_0x94ae5a]=_0x247a32,_0xf8d2ec['test'](_0x247a32)?(_0x247a32=_0x247a32['split'](':'),_0x283c53['port']=_0x247a32['pop'](),_0x283c53['hostname']=_0x247a32['join'](':')):(_0x283c53['hostname']=_0x247a32,_0x283c53['port']='');break;case'protocol':_0x283c53['protocol']=_0x247a32['toLowerCase'](),_0x283c53['slashes']=!_0x4a0434;break;case'pathname':case'hash':if(_0x247a32){var _0x17bb7d='pathname'===_0x94ae5a?'/':'#';_0x283c53[_0x94ae5a]=_0x247a32['charAt'](0x0)!==_0x17bb7d?_0x17bb7d+_0x247a32:_0x247a32;}else _0x283c53[_0x94ae5a]=_0x247a32;break;case'username':case'password':_0x283c53[_0x94ae5a]=encodeURIComponent(_0x247a32);break;case'auth':var _0x4345bc=_0x247a32['indexOf'](':');~_0x4345bc?(_0x283c53['username']=_0x247a32['slice'](0x0,_0x4345bc),_0x283c53['username']=encodeURIComponent(decodeURIComponent(_0x283c53['username'])),_0x283c53['password']=_0x247a32['slice'](_0x4345bc+0x1),_0x283c53['password']=encodeURIComponent(decodeURIComponent(_0x283c53['password']))):_0x283c53['username']=encodeURIComponent(decodeURIComponent(_0x247a32));}for(var _0x356e91=0x0;_0x356e91<_0x27dcb2['length'];_0x356e91++){var _0x32e8c8=_0x27dcb2[_0x356e91];_0x32e8c8[0x4]&&(_0x283c53[_0x32e8c8[0x1]]=_0x283c53[_0x32e8c8[0x1]]['toLowerCase']());}return _0x283c53['auth']=_0x283c53['password']?_0x283c53['username']+':'+_0x283c53['password']:_0x283c53['username'],_0x283c53['origin']='file:'!==_0x283c53['protocol']&&_0x2ef0ca(_0x283c53['protocol'])&&_0x283c53['host']?_0x283c53['protocol']+'//'+_0x283c53['host']:'null',_0x283c53['href']=_0x283c53['toString'](),_0x283c53;},'toString':function(_0x8289c8){_0x8289c8&&'function'==typeof _0x8289c8||(_0x8289c8=_0x260186['stringify']);var _0x5d0947,_0x53c5b6=this,_0x198b06=_0x53c5b6['host'],_0xabc7af=_0x53c5b6['protocol'];_0xabc7af&&':'!==_0xabc7af['charAt'](_0xabc7af['length']-0x1)&&(_0xabc7af+=':');var _0x580cf9=_0xabc7af+(_0x53c5b6['protocol']&&_0x53c5b6['slashes']||_0x2ef0ca(_0x53c5b6['protocol'])?'//':'');return _0x53c5b6['username']?(_0x580cf9+=_0x53c5b6['username'],_0x53c5b6['password']&&(_0x580cf9+=':'+_0x53c5b6['password']),_0x580cf9+='@'):_0x53c5b6['password']?(_0x580cf9+=':'+_0x53c5b6['password'],_0x580cf9+='@'):'file:'!==_0x53c5b6['protocol']&&_0x2ef0ca(_0x53c5b6['protocol'])&&!_0x198b06&&'/'!==_0x53c5b6['pathname']&&(_0x580cf9+='@'),(':'===_0x198b06[_0x198b06['length']-0x1]||_0xf8d2ec['test'](_0x53c5b6['hostname'])&&!_0x53c5b6['port'])&&(_0x198b06+=':'),_0x580cf9+=_0x198b06+_0x53c5b6['pathname'],(_0x5d0947='object'==typeof _0x53c5b6['query']?_0x8289c8(_0x53c5b6['query']):_0x53c5b6['query'])&&(_0x580cf9+='?'!==_0x5d0947['charAt'](0x0)?'?'+_0x5d0947:_0x5d0947),_0x53c5b6['hash']&&(_0x580cf9+=_0x53c5b6['hash']),_0x580cf9;}},_0x2f58d7['extractProtocol']=_0x1db42f,_0x2f58d7['location']=_0x3cc76e,_0x2f58d7['trimLeft']=_0x46f0b7,_0x2f58d7['qs']=_0x260186,jb=_0x2f58d7;}());const Zb=[];for(let e=0x0;e<0x100;++e)Zb['push']((e+0x100)['toString'](0x10)['slice'](0x1));const Xb=new Uint8Array(0x10);function qb(_0x12034f,_0x27bcf2,_0x16914e){return crypto['randomUUID']?crypto['randomUUID']():function(_0x22e076){_0x22e076=_0x22e076||{};const _0x26f2e9=_0x22e076['random']??_0x22e076['rng']?.()??crypto['getRandomValues'](Xb);if(_0x26f2e9['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x26f2e9[0x6]=0xf&_0x26f2e9[0x6]|0x40,_0x26f2e9[0x8]=0x3f&_0x26f2e9[0x8]|0x80,function(_0x2c4710,_0xbcd811=0x0){return(Zb[_0x2c4710[_0xbcd811+0x0]]+Zb[_0x2c4710[_0xbcd811+0x1]]+Zb[_0x2c4710[_0xbcd811+0x2]]+Zb[_0x2c4710[_0xbcd811+0x3]]+'-'+Zb[_0x2c4710[_0xbcd811+0x4]]+Zb[_0x2c4710[_0xbcd811+0x5]]+'-'+Zb[_0x2c4710[_0xbcd811+0x6]]+Zb[_0x2c4710[_0xbcd811+0x7]]+'-'+Zb[_0x2c4710[_0xbcd811+0x8]]+Zb[_0x2c4710[_0xbcd811+0x9]]+'-'+Zb[_0x2c4710[_0xbcd811+0xa]]+Zb[_0x2c4710[_0xbcd811+0xb]]+Zb[_0x2c4710[_0xbcd811+0xc]]+Zb[_0x2c4710[_0xbcd811+0xd]]+Zb[_0x2c4710[_0xbcd811+0xe]]+Zb[_0x2c4710[_0xbcd811+0xf]])['toLowerCase']();}(_0x26f2e9);}(_0x12034f);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x10dc9f){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x520197){super();}static['fromJSON'](_0x3a009f){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(_0x1d554d){super(),this['id']=_0x1d554d;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x36a441){return new GetUserMessage(_0x36a441['id']);}}class GetUserResponse extends Message{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x242cc2){super(),this['attributes']=_0x242cc2;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x7c693d=>({'key':_0x7c693d,'value':JSON['stringify'](this['attributes'][_0x7c693d])}))};}static['fromJSON'](_0x4d1cdc){const _0x1cb362=_0x4d1cdc['attributes']['reduce']((_0xe72b4a,_0x199926)=>(_0xe72b4a[_0x199926['key']]=_0x199926['value']?JSON['parse'](_0x199926['value']):null,_0xe72b4a),{});return new GetUserResponse(_0x1cb362);}}const Wb=/* #__PURE__ -- @preserve */
((()=>{var _0x290291=vw['Reader'],_0xcae49f=vw['Writer'],_0x5c599b=vw['util'],_0xfc4eb2=vw['roots']['default']||(vw['roots']['default']={});return _0xfc4eb2['StringStringPacketDataMessage']=(function(){function _0x3e94ce(_0x199e5d){if(_0x199e5d){for(var _0x5babc0=Object['keys'](_0x199e5d),_0x483e02=0x0;_0x483e02<_0x5babc0['length'];++_0x483e02)null!=_0x199e5d[_0x5babc0[_0x483e02]]&&'__proto__'!==_0x5babc0[_0x483e02]&&(this[_0x5babc0[_0x483e02]]=_0x199e5d[_0x5babc0[_0x483e02]]);}}return _0x3e94ce['prototype']['data']='',_0x3e94ce['prototype']['data1']='',_0x3e94ce['create']=function(_0x15d4d0){return new _0x3e94ce(_0x15d4d0);},_0x3e94ce['encode']=function(_0x50c414,_0x346314){return _0x346314||(_0x346314=_0xcae49f['create']()),null!=_0x50c414['data']&&Object['hasOwnProperty']['call'](_0x50c414,'data')&&_0x346314['uint32'](0xa)['string'](_0x50c414['data']),null!=_0x50c414['data1']&&Object['hasOwnProperty']['call'](_0x50c414,'data1')&&_0x346314['uint32'](0x12)['string'](_0x50c414['data1']),_0x346314;},_0x3e94ce['encodeDelimited']=function(_0x1d55f2,_0x27e971){return this['encode'](_0x1d55f2,_0x27e971)['ldelim']();},_0x3e94ce['decode']=function(_0x598b4f,_0x263c26,_0x4f8900,_0x50520c){if(_0x598b4f instanceof _0x290291||(_0x598b4f=_0x290291['create'](_0x598b4f)),void 0x0===_0x50520c&&(_0x50520c=0x0),_0x50520c>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x579997=void 0x0===_0x263c26?_0x598b4f['len']:_0x598b4f['pos']+_0x263c26,_0x44ba08=new _0xfc4eb2['StringStringPacketDataMessage']();_0x598b4f['pos']<_0x579997;){var _0x197cac=_0x598b4f['uint32']();if(_0x197cac===_0x4f8900)break;switch(_0x197cac>>>0x3){case 0x1:_0x44ba08['data']=_0x598b4f['string']();break;case 0x2:_0x44ba08['data1']=_0x598b4f['string']();break;default:_0x598b4f['skipType'](0x7&_0x197cac,_0x50520c);}}return _0x44ba08;},_0x3e94ce['decodeDelimited']=function(_0x3cd579){return _0x3cd579 instanceof _0x290291||(_0x3cd579=new _0x290291(_0x3cd579)),this['decode'](_0x3cd579,_0x3cd579['uint32']());},_0x3e94ce['verify']=function(_0x5233a1,_0x5cb46f){return'object'!=typeof _0x5233a1||null===_0x5233a1?'object\x20expected':(void 0x0===_0x5cb46f&&(_0x5cb46f=0x0),_0x5cb46f>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5233a1['data']&&_0x5233a1['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x5233a1['data'])?'data:\x20string\x20expected':null!=_0x5233a1['data1']&&_0x5233a1['hasOwnProperty']('data1')&&!_0x5c599b['isString'](_0x5233a1['data1'])?'data1:\x20string\x20expected':null);},_0x3e94ce['fromObject']=function(_0x5783fe,_0x25ec44){if(_0x5783fe instanceof _0xfc4eb2['StringStringPacketDataMessage'])return _0x5783fe;if(void 0x0===_0x25ec44&&(_0x25ec44=0x0),_0x25ec44>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x38766b=new _0xfc4eb2['StringStringPacketDataMessage']();return null!=_0x5783fe['data']&&(_0x38766b['data']=String(_0x5783fe['data'])),null!=_0x5783fe['data1']&&(_0x38766b['data1']=String(_0x5783fe['data1'])),_0x38766b;},_0x3e94ce['toObject']=function(_0x3d0465,_0x5f00d8){_0x5f00d8||(_0x5f00d8={});var _0x44e824={};return _0x5f00d8['defaults']&&(_0x44e824['data']='',_0x44e824['data1']=''),null!=_0x3d0465['data']&&_0x3d0465['hasOwnProperty']('data')&&(_0x44e824['data']=_0x3d0465['data']),null!=_0x3d0465['data1']&&_0x3d0465['hasOwnProperty']('data1')&&(_0x44e824['data1']=_0x3d0465['data1']),_0x44e824;},_0x3e94ce['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3e94ce['getTypeUrl']=function(_0x96520d){return void 0x0===_0x96520d&&(_0x96520d='type.googleapis.com'),_0x96520d+'/StringStringPacketDataMessage';},_0x3e94ce;}()),_0xfc4eb2['StringObjectPacketDataMessage']=(function(){function _0x18e477(_0x2bde1e){if(_0x2bde1e){for(var _0x566ddc=Object['keys'](_0x2bde1e),_0x28ab67=0x0;_0x28ab67<_0x566ddc['length'];++_0x28ab67)null!=_0x2bde1e[_0x566ddc[_0x28ab67]]&&'__proto__'!==_0x566ddc[_0x28ab67]&&(this[_0x566ddc[_0x28ab67]]=_0x2bde1e[_0x566ddc[_0x28ab67]]);}}return _0x18e477['prototype']['data']='',_0x18e477['prototype']['data1']='',_0x18e477['create']=function(_0x33713b){return new _0x18e477(_0x33713b);},_0x18e477['encode']=function(_0x4b32cd,_0x35b579){return _0x35b579||(_0x35b579=_0xcae49f['create']()),null!=_0x4b32cd['data']&&Object['hasOwnProperty']['call'](_0x4b32cd,'data')&&_0x35b579['uint32'](0xa)['string'](_0x4b32cd['data']),null!=_0x4b32cd['data1']&&Object['hasOwnProperty']['call'](_0x4b32cd,'data1')&&_0x35b579['uint32'](0x12)['string'](_0x4b32cd['data1']),_0x35b579;},_0x18e477['encodeDelimited']=function(_0x222ca6,_0x1958a2){return this['encode'](_0x222ca6,_0x1958a2)['ldelim']();},_0x18e477['decode']=function(_0x34684d,_0x1bd991,_0x3891c2,_0x24f7eb){if(_0x34684d instanceof _0x290291||(_0x34684d=_0x290291['create'](_0x34684d)),void 0x0===_0x24f7eb&&(_0x24f7eb=0x0),_0x24f7eb>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e87a3=void 0x0===_0x1bd991?_0x34684d['len']:_0x34684d['pos']+_0x1bd991,_0x333d13=new _0xfc4eb2['StringObjectPacketDataMessage']();_0x34684d['pos']<_0x1e87a3;){var _0x3093d0=_0x34684d['uint32']();if(_0x3093d0===_0x3891c2)break;switch(_0x3093d0>>>0x3){case 0x1:_0x333d13['data']=_0x34684d['string']();break;case 0x2:_0x333d13['data1']=_0x34684d['string']();break;default:_0x34684d['skipType'](0x7&_0x3093d0,_0x24f7eb);}}return _0x333d13;},_0x18e477['decodeDelimited']=function(_0xc8ef9d){return _0xc8ef9d instanceof _0x290291||(_0xc8ef9d=new _0x290291(_0xc8ef9d)),this['decode'](_0xc8ef9d,_0xc8ef9d['uint32']());},_0x18e477['verify']=function(_0x4eb26d,_0x4a49fa){return'object'!=typeof _0x4eb26d||null===_0x4eb26d?'object\x20expected':(void 0x0===_0x4a49fa&&(_0x4a49fa=0x0),_0x4a49fa>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4eb26d['data']&&_0x4eb26d['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x4eb26d['data'])?'data:\x20string\x20expected':null!=_0x4eb26d['data1']&&_0x4eb26d['hasOwnProperty']('data1')&&!_0x5c599b['isString'](_0x4eb26d['data1'])?'data1:\x20string\x20expected':null);},_0x18e477['fromObject']=function(_0x4fa4eb,_0x2731b9){if(_0x4fa4eb instanceof _0xfc4eb2['StringObjectPacketDataMessage'])return _0x4fa4eb;if(void 0x0===_0x2731b9&&(_0x2731b9=0x0),_0x2731b9>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x187042=new _0xfc4eb2['StringObjectPacketDataMessage']();return null!=_0x4fa4eb['data']&&(_0x187042['data']=String(_0x4fa4eb['data'])),null!=_0x4fa4eb['data1']&&(_0x187042['data1']=String(_0x4fa4eb['data1'])),_0x187042;},_0x18e477['toObject']=function(_0x58c95f,_0x20fd34){_0x20fd34||(_0x20fd34={});var _0x220b24={};return _0x20fd34['defaults']&&(_0x220b24['data']='',_0x220b24['data1']=''),null!=_0x58c95f['data']&&_0x58c95f['hasOwnProperty']('data')&&(_0x220b24['data']=_0x58c95f['data']),null!=_0x58c95f['data1']&&_0x58c95f['hasOwnProperty']('data1')&&(_0x220b24['data1']=_0x58c95f['data1']),_0x220b24;},_0x18e477['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x18e477['getTypeUrl']=function(_0x6d5760){return void 0x0===_0x6d5760&&(_0x6d5760='type.googleapis.com'),_0x6d5760+'/StringObjectPacketDataMessage';},_0x18e477;}()),_0xfc4eb2['StringNumberPacketDataMessage']=(function(){function _0x47bb42(_0x33ec72){if(_0x33ec72){for(var _0x5b20a8=Object['keys'](_0x33ec72),_0x15f5ba=0x0;_0x15f5ba<_0x5b20a8['length'];++_0x15f5ba)null!=_0x33ec72[_0x5b20a8[_0x15f5ba]]&&'__proto__'!==_0x5b20a8[_0x15f5ba]&&(this[_0x5b20a8[_0x15f5ba]]=_0x33ec72[_0x5b20a8[_0x15f5ba]]);}}return _0x47bb42['prototype']['data']='',_0x47bb42['prototype']['data1']=0x0,_0x47bb42['create']=function(_0xb4092c){return new _0x47bb42(_0xb4092c);},_0x47bb42['encode']=function(_0x51f13b,_0x1ca2a5){return _0x1ca2a5||(_0x1ca2a5=_0xcae49f['create']()),null!=_0x51f13b['data']&&Object['hasOwnProperty']['call'](_0x51f13b,'data')&&_0x1ca2a5['uint32'](0xa)['string'](_0x51f13b['data']),null!=_0x51f13b['data1']&&Object['hasOwnProperty']['call'](_0x51f13b,'data1')&&_0x1ca2a5['uint32'](0x10)['uint32'](_0x51f13b['data1']),_0x1ca2a5;},_0x47bb42['encodeDelimited']=function(_0x2fe108,_0x3b64b7){return this['encode'](_0x2fe108,_0x3b64b7)['ldelim']();},_0x47bb42['decode']=function(_0x2efa86,_0x523763,_0x41226f,_0x58dd7a){if(_0x2efa86 instanceof _0x290291||(_0x2efa86=_0x290291['create'](_0x2efa86)),void 0x0===_0x58dd7a&&(_0x58dd7a=0x0),_0x58dd7a>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x638835=void 0x0===_0x523763?_0x2efa86['len']:_0x2efa86['pos']+_0x523763,_0x488a3c=new _0xfc4eb2['StringNumberPacketDataMessage']();_0x2efa86['pos']<_0x638835;){var _0x54725f=_0x2efa86['uint32']();if(_0x54725f===_0x41226f)break;switch(_0x54725f>>>0x3){case 0x1:_0x488a3c['data']=_0x2efa86['string']();break;case 0x2:_0x488a3c['data1']=_0x2efa86['uint32']();break;default:_0x2efa86['skipType'](0x7&_0x54725f,_0x58dd7a);}}return _0x488a3c;},_0x47bb42['decodeDelimited']=function(_0x515f0d){return _0x515f0d instanceof _0x290291||(_0x515f0d=new _0x290291(_0x515f0d)),this['decode'](_0x515f0d,_0x515f0d['uint32']());},_0x47bb42['verify']=function(_0x31068e,_0x9074f4){return'object'!=typeof _0x31068e||null===_0x31068e?'object\x20expected':(void 0x0===_0x9074f4&&(_0x9074f4=0x0),_0x9074f4>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x31068e['data']&&_0x31068e['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x31068e['data'])?'data:\x20string\x20expected':null!=_0x31068e['data1']&&_0x31068e['hasOwnProperty']('data1')&&!_0x5c599b['isInteger'](_0x31068e['data1'])?'data1:\x20integer\x20expected':null);},_0x47bb42['fromObject']=function(_0x501090,_0x593afb){if(_0x501090 instanceof _0xfc4eb2['StringNumberPacketDataMessage'])return _0x501090;if(void 0x0===_0x593afb&&(_0x593afb=0x0),_0x593afb>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4d5048=new _0xfc4eb2['StringNumberPacketDataMessage']();return null!=_0x501090['data']&&(_0x4d5048['data']=String(_0x501090['data'])),null!=_0x501090['data1']&&(_0x4d5048['data1']=_0x501090['data1']>>>0x0),_0x4d5048;},_0x47bb42['toObject']=function(_0x32b6a7,_0x2f4c3e){_0x2f4c3e||(_0x2f4c3e={});var _0x5260ca={};return _0x2f4c3e['defaults']&&(_0x5260ca['data']='',_0x5260ca['data1']=0x0),null!=_0x32b6a7['data']&&_0x32b6a7['hasOwnProperty']('data')&&(_0x5260ca['data']=_0x32b6a7['data']),null!=_0x32b6a7['data1']&&_0x32b6a7['hasOwnProperty']('data1')&&(_0x5260ca['data1']=_0x32b6a7['data1']),_0x5260ca;},_0x47bb42['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x47bb42['getTypeUrl']=function(_0x1277e1){return void 0x0===_0x1277e1&&(_0x1277e1='type.googleapis.com'),_0x1277e1+'/StringNumberPacketDataMessage';},_0x47bb42;}()),_0xfc4eb2['StringBytesPacketDataMessage']=(function(){function _0x412a2c(_0x5519fa){if(_0x5519fa){for(var _0x451087=Object['keys'](_0x5519fa),_0x8b0c97=0x0;_0x8b0c97<_0x451087['length'];++_0x8b0c97)null!=_0x5519fa[_0x451087[_0x8b0c97]]&&'__proto__'!==_0x451087[_0x8b0c97]&&(this[_0x451087[_0x8b0c97]]=_0x5519fa[_0x451087[_0x8b0c97]]);}}return _0x412a2c['prototype']['data']='',_0x412a2c['prototype']['data1']=_0x5c599b['newBuffer']([]),_0x412a2c['create']=function(_0x5f260e){return new _0x412a2c(_0x5f260e);},_0x412a2c['encode']=function(_0x17fb2f,_0x5f4325){return _0x5f4325||(_0x5f4325=_0xcae49f['create']()),null!=_0x17fb2f['data']&&Object['hasOwnProperty']['call'](_0x17fb2f,'data')&&_0x5f4325['uint32'](0xa)['string'](_0x17fb2f['data']),null!=_0x17fb2f['data1']&&Object['hasOwnProperty']['call'](_0x17fb2f,'data1')&&_0x5f4325['uint32'](0x12)['bytes'](_0x17fb2f['data1']),_0x5f4325;},_0x412a2c['encodeDelimited']=function(_0x8377d5,_0x3e309e){return this['encode'](_0x8377d5,_0x3e309e)['ldelim']();},_0x412a2c['decode']=function(_0xc952dd,_0x411cdb,_0x400df7,_0x44bf05){if(_0xc952dd instanceof _0x290291||(_0xc952dd=_0x290291['create'](_0xc952dd)),void 0x0===_0x44bf05&&(_0x44bf05=0x0),_0x44bf05>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54e65b=void 0x0===_0x411cdb?_0xc952dd['len']:_0xc952dd['pos']+_0x411cdb,_0x41965c=new _0xfc4eb2['StringBytesPacketDataMessage']();_0xc952dd['pos']<_0x54e65b;){var _0x5a005b=_0xc952dd['uint32']();if(_0x5a005b===_0x400df7)break;switch(_0x5a005b>>>0x3){case 0x1:_0x41965c['data']=_0xc952dd['string']();break;case 0x2:_0x41965c['data1']=_0xc952dd['bytes']();break;default:_0xc952dd['skipType'](0x7&_0x5a005b,_0x44bf05);}}return _0x41965c;},_0x412a2c['decodeDelimited']=function(_0x3e8846){return _0x3e8846 instanceof _0x290291||(_0x3e8846=new _0x290291(_0x3e8846)),this['decode'](_0x3e8846,_0x3e8846['uint32']());},_0x412a2c['verify']=function(_0x383b5c,_0xd8d9fb){return'object'!=typeof _0x383b5c||null===_0x383b5c?'object\x20expected':(void 0x0===_0xd8d9fb&&(_0xd8d9fb=0x0),_0xd8d9fb>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x383b5c['data']&&_0x383b5c['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x383b5c['data'])?'data:\x20string\x20expected':null!=_0x383b5c['data1']&&_0x383b5c['hasOwnProperty']('data1')&&!(_0x383b5c['data1']&&'number'==typeof _0x383b5c['data1']['length']||_0x5c599b['isString'](_0x383b5c['data1']))?'data1:\x20buffer\x20expected':null);},_0x412a2c['fromObject']=function(_0x2e2bb1,_0x19ba43){if(_0x2e2bb1 instanceof _0xfc4eb2['StringBytesPacketDataMessage'])return _0x2e2bb1;if(void 0x0===_0x19ba43&&(_0x19ba43=0x0),_0x19ba43>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x313ce7=new _0xfc4eb2['StringBytesPacketDataMessage']();return null!=_0x2e2bb1['data']&&(_0x313ce7['data']=String(_0x2e2bb1['data'])),null!=_0x2e2bb1['data1']&&('string'==typeof _0x2e2bb1['data1']?_0x5c599b['base64']['decode'](_0x2e2bb1['data1'],_0x313ce7['data1']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x2e2bb1['data1'])),0x0):_0x2e2bb1['data1']['length']>=0x0&&(_0x313ce7['data1']=_0x2e2bb1['data1'])),_0x313ce7;},_0x412a2c['toObject']=function(_0x5f3e81,_0x1ea99e){_0x1ea99e||(_0x1ea99e={});var _0x3553f3={};return _0x1ea99e['defaults']&&(_0x3553f3['data']='',_0x1ea99e['bytes']===String?_0x3553f3['data1']='':(_0x3553f3['data1']=[],_0x1ea99e['bytes']!==Array&&(_0x3553f3['data1']=_0x5c599b['newBuffer'](_0x3553f3['data1'])))),null!=_0x5f3e81['data']&&_0x5f3e81['hasOwnProperty']('data')&&(_0x3553f3['data']=_0x5f3e81['data']),null!=_0x5f3e81['data1']&&_0x5f3e81['hasOwnProperty']('data1')&&(_0x3553f3['data1']=_0x1ea99e['bytes']===String?_0x5c599b['base64']['encode'](_0x5f3e81['data1'],0x0,_0x5f3e81['data1']['length']):_0x1ea99e['bytes']===Array?Array['prototype']['slice']['call'](_0x5f3e81['data1']):_0x5f3e81['data1']),_0x3553f3;},_0x412a2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x412a2c['getTypeUrl']=function(_0x527f9d){return void 0x0===_0x527f9d&&(_0x527f9d='type.googleapis.com'),_0x527f9d+'/StringBytesPacketDataMessage';},_0x412a2c;}()),_0xfc4eb2['PacketOptionsMessage']=(function(){function _0x142827(_0xa33e4e){if(this['rooms']=[],this['except']=[],_0xa33e4e){for(var _0xfc0c29=Object['keys'](_0xa33e4e),_0x61ce47=0x0;_0x61ce47<_0xfc0c29['length'];++_0x61ce47)null!=_0xa33e4e[_0xfc0c29[_0x61ce47]]&&'__proto__'!==_0xfc0c29[_0x61ce47]&&(this[_0xfc0c29[_0x61ce47]]=_0xa33e4e[_0xfc0c29[_0x61ce47]]);}}return _0x142827['prototype']['flags']='',_0x142827['prototype']['rooms']=_0x5c599b['emptyArray'],_0x142827['prototype']['except']=_0x5c599b['emptyArray'],_0x142827['create']=function(_0xe05a18){return new _0x142827(_0xe05a18);},_0x142827['encode']=function(_0x5c125e,_0x49b115){if(_0x49b115||(_0x49b115=_0xcae49f['create']()),null!=_0x5c125e['flags']&&Object['hasOwnProperty']['call'](_0x5c125e,'flags')&&_0x49b115['uint32'](0xa)['string'](_0x5c125e['flags']),null!=_0x5c125e['rooms']&&_0x5c125e['rooms']['length']){for(var _0x13bb4f=0x0;_0x13bb4f<_0x5c125e['rooms']['length'];++_0x13bb4f)_0x49b115['uint32'](0x12)['string'](_0x5c125e['rooms'][_0x13bb4f]);}if(null!=_0x5c125e['except']&&_0x5c125e['except']['length']){for(_0x13bb4f=0x0;_0x13bb4f<_0x5c125e['except']['length'];++_0x13bb4f)_0x49b115['uint32'](0x1a)['string'](_0x5c125e['except'][_0x13bb4f]);}return _0x49b115;},_0x142827['encodeDelimited']=function(_0x2ff61e,_0x42e7b5){return this['encode'](_0x2ff61e,_0x42e7b5)['ldelim']();},_0x142827['decode']=function(_0x504ab3,_0x3add75,_0x32cb00,_0x210e4a){if(_0x504ab3 instanceof _0x290291||(_0x504ab3=_0x290291['create'](_0x504ab3)),void 0x0===_0x210e4a&&(_0x210e4a=0x0),_0x210e4a>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e7dc9=void 0x0===_0x3add75?_0x504ab3['len']:_0x504ab3['pos']+_0x3add75,_0x7f0e3b=new _0xfc4eb2['PacketOptionsMessage']();_0x504ab3['pos']<_0x1e7dc9;){var _0x56bb3c=_0x504ab3['uint32']();if(_0x56bb3c===_0x32cb00)break;switch(_0x56bb3c>>>0x3){case 0x1:_0x7f0e3b['flags']=_0x504ab3['string']();break;case 0x2:_0x7f0e3b['rooms']&&_0x7f0e3b['rooms']['length']||(_0x7f0e3b['rooms']=[]),_0x7f0e3b['rooms']['push'](_0x504ab3['string']());break;case 0x3:_0x7f0e3b['except']&&_0x7f0e3b['except']['length']||(_0x7f0e3b['except']=[]),_0x7f0e3b['except']['push'](_0x504ab3['string']());break;default:_0x504ab3['skipType'](0x7&_0x56bb3c,_0x210e4a);}}return _0x7f0e3b;},_0x142827['decodeDelimited']=function(_0x20778a){return _0x20778a instanceof _0x290291||(_0x20778a=new _0x290291(_0x20778a)),this['decode'](_0x20778a,_0x20778a['uint32']());},_0x142827['verify']=function(_0x2f5db7,_0x1bfd9c){if('object'!=typeof _0x2f5db7||null===_0x2f5db7)return'object\x20expected';if(void 0x0===_0x1bfd9c&&(_0x1bfd9c=0x0),_0x1bfd9c>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2f5db7['flags']&&_0x2f5db7['hasOwnProperty']('flags')&&!_0x5c599b['isString'](_0x2f5db7['flags']))return'flags:\x20string\x20expected';if(null!=_0x2f5db7['rooms']&&_0x2f5db7['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x2f5db7['rooms']))return'rooms:\x20array\x20expected';for(var _0x2201b0=0x0;_0x2201b0<_0x2f5db7['rooms']['length'];++_0x2201b0)if(!_0x5c599b['isString'](_0x2f5db7['rooms'][_0x2201b0]))return'rooms:\x20string[]\x20expected';}if(null!=_0x2f5db7['except']&&_0x2f5db7['hasOwnProperty']('except')){if(!Array['isArray'](_0x2f5db7['except']))return'except:\x20array\x20expected';for(_0x2201b0=0x0;_0x2201b0<_0x2f5db7['except']['length'];++_0x2201b0)if(!_0x5c599b['isString'](_0x2f5db7['except'][_0x2201b0]))return'except:\x20string[]\x20expected';}return null;},_0x142827['fromObject']=function(_0x28eaee,_0x4177b2){if(_0x28eaee instanceof _0xfc4eb2['PacketOptionsMessage'])return _0x28eaee;if(void 0x0===_0x4177b2&&(_0x4177b2=0x0),_0x4177b2>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b6ae1=new _0xfc4eb2['PacketOptionsMessage']();if(null!=_0x28eaee['flags']&&(_0x1b6ae1['flags']=String(_0x28eaee['flags'])),_0x28eaee['rooms']){if(!Array['isArray'](_0x28eaee['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x1b6ae1['rooms']=[];for(var _0x4b6205=0x0;_0x4b6205<_0x28eaee['rooms']['length'];++_0x4b6205)_0x1b6ae1['rooms'][_0x4b6205]=String(_0x28eaee['rooms'][_0x4b6205]);}if(_0x28eaee['except']){if(!Array['isArray'](_0x28eaee['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x1b6ae1['except']=[],_0x4b6205=0x0;_0x4b6205<_0x28eaee['except']['length'];++_0x4b6205)_0x1b6ae1['except'][_0x4b6205]=String(_0x28eaee['except'][_0x4b6205]);}return _0x1b6ae1;},_0x142827['toObject']=function(_0x20baf6,_0x230ebe){_0x230ebe||(_0x230ebe={});var _0x4fd1a2={};if((_0x230ebe['arrays']||_0x230ebe['defaults'])&&(_0x4fd1a2['rooms']=[],_0x4fd1a2['except']=[]),_0x230ebe['defaults']&&(_0x4fd1a2['flags']=''),null!=_0x20baf6['flags']&&_0x20baf6['hasOwnProperty']('flags')&&(_0x4fd1a2['flags']=_0x20baf6['flags']),_0x20baf6['rooms']&&_0x20baf6['rooms']['length']){_0x4fd1a2['rooms']=[];for(var _0x4106c8=0x0;_0x4106c8<_0x20baf6['rooms']['length'];++_0x4106c8)_0x4fd1a2['rooms'][_0x4106c8]=_0x20baf6['rooms'][_0x4106c8];}if(_0x20baf6['except']&&_0x20baf6['except']['length']){for(_0x4fd1a2['except']=[],_0x4106c8=0x0;_0x4106c8<_0x20baf6['except']['length'];++_0x4106c8)_0x4fd1a2['except'][_0x4106c8]=_0x20baf6['except'][_0x4106c8];}return _0x4fd1a2;},_0x142827['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x142827['getTypeUrl']=function(_0x362e58){return void 0x0===_0x362e58&&(_0x362e58='type.googleapis.com'),_0x362e58+'/PacketOptionsMessage';},_0x142827;}()),_0xfc4eb2['PacketMessage']=(function(){function _0x303f7c(_0x5d77a3){if(_0x5d77a3){for(var _0xf3f92f=Object['keys'](_0x5d77a3),_0x11a89d=0x0;_0x11a89d<_0xf3f92f['length'];++_0x11a89d)null!=_0x5d77a3[_0xf3f92f[_0x11a89d]]&&'__proto__'!==_0xf3f92f[_0x11a89d]&&(this[_0xf3f92f[_0x11a89d]]=_0x5d77a3[_0xf3f92f[_0x11a89d]]);}}return _0x303f7c['prototype']['type']=0x0,_0x303f7c['prototype']['id']=0x0,_0x303f7c['prototype']['nsp']='',_0x303f7c['prototype']['data']=_0x5c599b['newBuffer']([]),_0x303f7c['prototype']['options']=_0x5c599b['newBuffer']([]),_0x303f7c['create']=function(_0x5a508b){return new _0x303f7c(_0x5a508b);},_0x303f7c['encode']=function(_0x22c8b2,_0x247344){return _0x247344||(_0x247344=_0xcae49f['create']()),null!=_0x22c8b2['type']&&Object['hasOwnProperty']['call'](_0x22c8b2,'type')&&_0x247344['uint32'](0x8)['uint32'](_0x22c8b2['type']),null!=_0x22c8b2['id']&&Object['hasOwnProperty']['call'](_0x22c8b2,'id')&&_0x247344['uint32'](0x10)['uint32'](_0x22c8b2['id']),null!=_0x22c8b2['nsp']&&Object['hasOwnProperty']['call'](_0x22c8b2,'nsp')&&_0x247344['uint32'](0x1a)['string'](_0x22c8b2['nsp']),null!=_0x22c8b2['data']&&Object['hasOwnProperty']['call'](_0x22c8b2,'data')&&_0x247344['uint32'](0x22)['bytes'](_0x22c8b2['data']),null!=_0x22c8b2['options']&&Object['hasOwnProperty']['call'](_0x22c8b2,'options')&&_0x247344['uint32'](0x2a)['bytes'](_0x22c8b2['options']),_0x247344;},_0x303f7c['encodeDelimited']=function(_0x2c1316,_0x1ccd09){return this['encode'](_0x2c1316,_0x1ccd09)['ldelim']();},_0x303f7c['decode']=function(_0x1d3615,_0x105669,_0x43fe73,_0x9d6170){if(_0x1d3615 instanceof _0x290291||(_0x1d3615=_0x290291['create'](_0x1d3615)),void 0x0===_0x9d6170&&(_0x9d6170=0x0),_0x9d6170>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ef720=void 0x0===_0x105669?_0x1d3615['len']:_0x1d3615['pos']+_0x105669,_0x55c1ab=new _0xfc4eb2['PacketMessage']();_0x1d3615['pos']<_0x2ef720;){var _0x448e9d=_0x1d3615['uint32']();if(_0x448e9d===_0x43fe73)break;switch(_0x448e9d>>>0x3){case 0x1:_0x55c1ab['type']=_0x1d3615['uint32']();break;case 0x2:_0x55c1ab['id']=_0x1d3615['uint32']();break;case 0x3:_0x55c1ab['nsp']=_0x1d3615['string']();break;case 0x4:_0x55c1ab['data']=_0x1d3615['bytes']();break;case 0x5:_0x55c1ab['options']=_0x1d3615['bytes']();break;default:_0x1d3615['skipType'](0x7&_0x448e9d,_0x9d6170);}}return _0x55c1ab;},_0x303f7c['decodeDelimited']=function(_0x468adb){return _0x468adb instanceof _0x290291||(_0x468adb=new _0x290291(_0x468adb)),this['decode'](_0x468adb,_0x468adb['uint32']());},_0x303f7c['verify']=function(_0x19f321,_0x5332b1){return'object'!=typeof _0x19f321||null===_0x19f321?'object\x20expected':(void 0x0===_0x5332b1&&(_0x5332b1=0x0),_0x5332b1>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x19f321['type']&&_0x19f321['hasOwnProperty']('type')&&!_0x5c599b['isInteger'](_0x19f321['type'])?'type:\x20integer\x20expected':null!=_0x19f321['id']&&_0x19f321['hasOwnProperty']('id')&&!_0x5c599b['isInteger'](_0x19f321['id'])?'id:\x20integer\x20expected':null!=_0x19f321['nsp']&&_0x19f321['hasOwnProperty']('nsp')&&!_0x5c599b['isString'](_0x19f321['nsp'])?'nsp:\x20string\x20expected':null!=_0x19f321['data']&&_0x19f321['hasOwnProperty']('data')&&!(_0x19f321['data']&&'number'==typeof _0x19f321['data']['length']||_0x5c599b['isString'](_0x19f321['data']))?'data:\x20buffer\x20expected':null!=_0x19f321['options']&&_0x19f321['hasOwnProperty']('options')&&!(_0x19f321['options']&&'number'==typeof _0x19f321['options']['length']||_0x5c599b['isString'](_0x19f321['options']))?'options:\x20buffer\x20expected':null);},_0x303f7c['fromObject']=function(_0x3acce3,_0x239f3d){if(_0x3acce3 instanceof _0xfc4eb2['PacketMessage'])return _0x3acce3;if(void 0x0===_0x239f3d&&(_0x239f3d=0x0),_0x239f3d>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x346807=new _0xfc4eb2['PacketMessage']();return null!=_0x3acce3['type']&&(_0x346807['type']=_0x3acce3['type']>>>0x0),null!=_0x3acce3['id']&&(_0x346807['id']=_0x3acce3['id']>>>0x0),null!=_0x3acce3['nsp']&&(_0x346807['nsp']=String(_0x3acce3['nsp'])),null!=_0x3acce3['data']&&('string'==typeof _0x3acce3['data']?_0x5c599b['base64']['decode'](_0x3acce3['data'],_0x346807['data']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x3acce3['data'])),0x0):_0x3acce3['data']['length']>=0x0&&(_0x346807['data']=_0x3acce3['data'])),null!=_0x3acce3['options']&&('string'==typeof _0x3acce3['options']?_0x5c599b['base64']['decode'](_0x3acce3['options'],_0x346807['options']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x3acce3['options'])),0x0):_0x3acce3['options']['length']>=0x0&&(_0x346807['options']=_0x3acce3['options'])),_0x346807;},_0x303f7c['toObject']=function(_0x215b79,_0x178c32){_0x178c32||(_0x178c32={});var _0x21baf7={};return _0x178c32['defaults']&&(_0x21baf7['type']=0x0,_0x21baf7['id']=0x0,_0x21baf7['nsp']='',_0x178c32['bytes']===String?_0x21baf7['data']='':(_0x21baf7['data']=[],_0x178c32['bytes']!==Array&&(_0x21baf7['data']=_0x5c599b['newBuffer'](_0x21baf7['data']))),_0x178c32['bytes']===String?_0x21baf7['options']='':(_0x21baf7['options']=[],_0x178c32['bytes']!==Array&&(_0x21baf7['options']=_0x5c599b['newBuffer'](_0x21baf7['options'])))),null!=_0x215b79['type']&&_0x215b79['hasOwnProperty']('type')&&(_0x21baf7['type']=_0x215b79['type']),null!=_0x215b79['id']&&_0x215b79['hasOwnProperty']('id')&&(_0x21baf7['id']=_0x215b79['id']),null!=_0x215b79['nsp']&&_0x215b79['hasOwnProperty']('nsp')&&(_0x21baf7['nsp']=_0x215b79['nsp']),null!=_0x215b79['data']&&_0x215b79['hasOwnProperty']('data')&&(_0x21baf7['data']=_0x178c32['bytes']===String?_0x5c599b['base64']['encode'](_0x215b79['data'],0x0,_0x215b79['data']['length']):_0x178c32['bytes']===Array?Array['prototype']['slice']['call'](_0x215b79['data']):_0x215b79['data']),null!=_0x215b79['options']&&_0x215b79['hasOwnProperty']('options')&&(_0x21baf7['options']=_0x178c32['bytes']===String?_0x5c599b['base64']['encode'](_0x215b79['options'],0x0,_0x215b79['options']['length']):_0x178c32['bytes']===Array?Array['prototype']['slice']['call'](_0x215b79['options']):_0x215b79['options']),_0x21baf7;},_0x303f7c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x303f7c['getTypeUrl']=function(_0x12a119){return void 0x0===_0x12a119&&(_0x12a119='type.googleapis.com'),_0x12a119+'/PacketMessage';},_0x303f7c;}()),_0xfc4eb2['ObjectObjectPacketDataMessage']=(function(){function _0x5d451d(_0x5a4711){if(_0x5a4711){for(var _0x3cee72=Object['keys'](_0x5a4711),_0x2c29f4=0x0;_0x2c29f4<_0x3cee72['length'];++_0x2c29f4)null!=_0x5a4711[_0x3cee72[_0x2c29f4]]&&'__proto__'!==_0x3cee72[_0x2c29f4]&&(this[_0x3cee72[_0x2c29f4]]=_0x5a4711[_0x3cee72[_0x2c29f4]]);}}return _0x5d451d['prototype']['data']='',_0x5d451d['prototype']['data1']='',_0x5d451d['create']=function(_0x1d5dc7){return new _0x5d451d(_0x1d5dc7);},_0x5d451d['encode']=function(_0x39b94c,_0x203586){return _0x203586||(_0x203586=_0xcae49f['create']()),null!=_0x39b94c['data']&&Object['hasOwnProperty']['call'](_0x39b94c,'data')&&_0x203586['uint32'](0xa)['string'](_0x39b94c['data']),null!=_0x39b94c['data1']&&Object['hasOwnProperty']['call'](_0x39b94c,'data1')&&_0x203586['uint32'](0x12)['string'](_0x39b94c['data1']),_0x203586;},_0x5d451d['encodeDelimited']=function(_0x67a753,_0x4e491e){return this['encode'](_0x67a753,_0x4e491e)['ldelim']();},_0x5d451d['decode']=function(_0xc9fb92,_0x32fca5,_0x5bd285,_0x5c914c){if(_0xc9fb92 instanceof _0x290291||(_0xc9fb92=_0x290291['create'](_0xc9fb92)),void 0x0===_0x5c914c&&(_0x5c914c=0x0),_0x5c914c>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x47b1ab=void 0x0===_0x32fca5?_0xc9fb92['len']:_0xc9fb92['pos']+_0x32fca5,_0x477649=new _0xfc4eb2['ObjectObjectPacketDataMessage']();_0xc9fb92['pos']<_0x47b1ab;){var _0x4c0cfc=_0xc9fb92['uint32']();if(_0x4c0cfc===_0x5bd285)break;switch(_0x4c0cfc>>>0x3){case 0x1:_0x477649['data']=_0xc9fb92['string']();break;case 0x2:_0x477649['data1']=_0xc9fb92['string']();break;default:_0xc9fb92['skipType'](0x7&_0x4c0cfc,_0x5c914c);}}return _0x477649;},_0x5d451d['decodeDelimited']=function(_0x478529){return _0x478529 instanceof _0x290291||(_0x478529=new _0x290291(_0x478529)),this['decode'](_0x478529,_0x478529['uint32']());},_0x5d451d['verify']=function(_0x415a4c,_0x2d737b){return'object'!=typeof _0x415a4c||null===_0x415a4c?'object\x20expected':(void 0x0===_0x2d737b&&(_0x2d737b=0x0),_0x2d737b>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x415a4c['data']&&_0x415a4c['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x415a4c['data'])?'data:\x20string\x20expected':null!=_0x415a4c['data1']&&_0x415a4c['hasOwnProperty']('data1')&&!_0x5c599b['isString'](_0x415a4c['data1'])?'data1:\x20string\x20expected':null);},_0x5d451d['fromObject']=function(_0x38c23c,_0x442181){if(_0x38c23c instanceof _0xfc4eb2['ObjectObjectPacketDataMessage'])return _0x38c23c;if(void 0x0===_0x442181&&(_0x442181=0x0),_0x442181>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x470ead=new _0xfc4eb2['ObjectObjectPacketDataMessage']();return null!=_0x38c23c['data']&&(_0x470ead['data']=String(_0x38c23c['data'])),null!=_0x38c23c['data1']&&(_0x470ead['data1']=String(_0x38c23c['data1'])),_0x470ead;},_0x5d451d['toObject']=function(_0x35282e,_0x2a5ac){_0x2a5ac||(_0x2a5ac={});var _0xd8cf32={};return _0x2a5ac['defaults']&&(_0xd8cf32['data']='',_0xd8cf32['data1']=''),null!=_0x35282e['data']&&_0x35282e['hasOwnProperty']('data')&&(_0xd8cf32['data']=_0x35282e['data']),null!=_0x35282e['data1']&&_0x35282e['hasOwnProperty']('data1')&&(_0xd8cf32['data1']=_0x35282e['data1']),_0xd8cf32;},_0x5d451d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x5d451d['getTypeUrl']=function(_0x46e289){return void 0x0===_0x46e289&&(_0x46e289='type.googleapis.com'),_0x46e289+'/ObjectObjectPacketDataMessage';},_0x5d451d;}()),_0xfc4eb2['ObjectBufferPacketDataMessage']=(function(){function _0x9ade69(_0x55f1be){if(_0x55f1be){for(var _0x28a03b=Object['keys'](_0x55f1be),_0x47612b=0x0;_0x47612b<_0x28a03b['length'];++_0x47612b)null!=_0x55f1be[_0x28a03b[_0x47612b]]&&'__proto__'!==_0x28a03b[_0x47612b]&&(this[_0x28a03b[_0x47612b]]=_0x55f1be[_0x28a03b[_0x47612b]]);}}return _0x9ade69['prototype']['data']='',_0x9ade69['prototype']['data1']=_0x5c599b['newBuffer']([]),_0x9ade69['create']=function(_0x5dc768){return new _0x9ade69(_0x5dc768);},_0x9ade69['encode']=function(_0x39759f,_0x14284e){return _0x14284e||(_0x14284e=_0xcae49f['create']()),null!=_0x39759f['data']&&Object['hasOwnProperty']['call'](_0x39759f,'data')&&_0x14284e['uint32'](0xa)['string'](_0x39759f['data']),null!=_0x39759f['data1']&&Object['hasOwnProperty']['call'](_0x39759f,'data1')&&_0x14284e['uint32'](0x12)['bytes'](_0x39759f['data1']),_0x14284e;},_0x9ade69['encodeDelimited']=function(_0x129b79,_0x5aac5e){return this['encode'](_0x129b79,_0x5aac5e)['ldelim']();},_0x9ade69['decode']=function(_0x34877b,_0x5487ca,_0xe92b1c,_0x316e26){if(_0x34877b instanceof _0x290291||(_0x34877b=_0x290291['create'](_0x34877b)),void 0x0===_0x316e26&&(_0x316e26=0x0),_0x316e26>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2eccff=void 0x0===_0x5487ca?_0x34877b['len']:_0x34877b['pos']+_0x5487ca,_0xa303dd=new _0xfc4eb2['ObjectBufferPacketDataMessage']();_0x34877b['pos']<_0x2eccff;){var _0x21c202=_0x34877b['uint32']();if(_0x21c202===_0xe92b1c)break;switch(_0x21c202>>>0x3){case 0x1:_0xa303dd['data']=_0x34877b['string']();break;case 0x2:_0xa303dd['data1']=_0x34877b['bytes']();break;default:_0x34877b['skipType'](0x7&_0x21c202,_0x316e26);}}return _0xa303dd;},_0x9ade69['decodeDelimited']=function(_0x1828a4){return _0x1828a4 instanceof _0x290291||(_0x1828a4=new _0x290291(_0x1828a4)),this['decode'](_0x1828a4,_0x1828a4['uint32']());},_0x9ade69['verify']=function(_0x451817,_0x282850){return'object'!=typeof _0x451817||null===_0x451817?'object\x20expected':(void 0x0===_0x282850&&(_0x282850=0x0),_0x282850>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x451817['data']&&_0x451817['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x451817['data'])?'data:\x20string\x20expected':null!=_0x451817['data1']&&_0x451817['hasOwnProperty']('data1')&&!(_0x451817['data1']&&'number'==typeof _0x451817['data1']['length']||_0x5c599b['isString'](_0x451817['data1']))?'data1:\x20buffer\x20expected':null);},_0x9ade69['fromObject']=function(_0x5c196a,_0x8beb06){if(_0x5c196a instanceof _0xfc4eb2['ObjectBufferPacketDataMessage'])return _0x5c196a;if(void 0x0===_0x8beb06&&(_0x8beb06=0x0),_0x8beb06>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x12081c=new _0xfc4eb2['ObjectBufferPacketDataMessage']();return null!=_0x5c196a['data']&&(_0x12081c['data']=String(_0x5c196a['data'])),null!=_0x5c196a['data1']&&('string'==typeof _0x5c196a['data1']?_0x5c599b['base64']['decode'](_0x5c196a['data1'],_0x12081c['data1']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x5c196a['data1'])),0x0):_0x5c196a['data1']['length']>=0x0&&(_0x12081c['data1']=_0x5c196a['data1'])),_0x12081c;},_0x9ade69['toObject']=function(_0x1693c2,_0x4af64e){_0x4af64e||(_0x4af64e={});var _0xa2e210={};return _0x4af64e['defaults']&&(_0xa2e210['data']='',_0x4af64e['bytes']===String?_0xa2e210['data1']='':(_0xa2e210['data1']=[],_0x4af64e['bytes']!==Array&&(_0xa2e210['data1']=_0x5c599b['newBuffer'](_0xa2e210['data1'])))),null!=_0x1693c2['data']&&_0x1693c2['hasOwnProperty']('data')&&(_0xa2e210['data']=_0x1693c2['data']),null!=_0x1693c2['data1']&&_0x1693c2['hasOwnProperty']('data1')&&(_0xa2e210['data1']=_0x4af64e['bytes']===String?_0x5c599b['base64']['encode'](_0x1693c2['data1'],0x0,_0x1693c2['data1']['length']):_0x4af64e['bytes']===Array?Array['prototype']['slice']['call'](_0x1693c2['data1']):_0x1693c2['data1']),_0xa2e210;},_0x9ade69['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x9ade69['getTypeUrl']=function(_0x1be4cd){return void 0x0===_0x1be4cd&&(_0x1be4cd='type.googleapis.com'),_0x1be4cd+'/ObjectBufferPacketDataMessage';},_0x9ade69;}()),_0xfc4eb2['NumberStringPacketDataMessage']=(function(){function _0x339e99(_0x411536){if(_0x411536){for(var _0x21ebf9=Object['keys'](_0x411536),_0xc2d0ed=0x0;_0xc2d0ed<_0x21ebf9['length'];++_0xc2d0ed)null!=_0x411536[_0x21ebf9[_0xc2d0ed]]&&'__proto__'!==_0x21ebf9[_0xc2d0ed]&&(this[_0x21ebf9[_0xc2d0ed]]=_0x411536[_0x21ebf9[_0xc2d0ed]]);}}return _0x339e99['prototype']['data']=0x0,_0x339e99['prototype']['data1']='',_0x339e99['create']=function(_0x1c4556){return new _0x339e99(_0x1c4556);},_0x339e99['encode']=function(_0x4ec68c,_0x57386a){return _0x57386a||(_0x57386a=_0xcae49f['create']()),null!=_0x4ec68c['data']&&Object['hasOwnProperty']['call'](_0x4ec68c,'data')&&_0x57386a['uint32'](0x8)['uint32'](_0x4ec68c['data']),null!=_0x4ec68c['data1']&&Object['hasOwnProperty']['call'](_0x4ec68c,'data1')&&_0x57386a['uint32'](0x12)['string'](_0x4ec68c['data1']),_0x57386a;},_0x339e99['encodeDelimited']=function(_0x300935,_0x3298bb){return this['encode'](_0x300935,_0x3298bb)['ldelim']();},_0x339e99['decode']=function(_0x22b0c9,_0x5c9d09,_0x42fdb9,_0x14e4ae){if(_0x22b0c9 instanceof _0x290291||(_0x22b0c9=_0x290291['create'](_0x22b0c9)),void 0x0===_0x14e4ae&&(_0x14e4ae=0x0),_0x14e4ae>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2fbd5e=void 0x0===_0x5c9d09?_0x22b0c9['len']:_0x22b0c9['pos']+_0x5c9d09,_0x53576f=new _0xfc4eb2['NumberStringPacketDataMessage']();_0x22b0c9['pos']<_0x2fbd5e;){var _0x4a4eaa=_0x22b0c9['uint32']();if(_0x4a4eaa===_0x42fdb9)break;switch(_0x4a4eaa>>>0x3){case 0x1:_0x53576f['data']=_0x22b0c9['uint32']();break;case 0x2:_0x53576f['data1']=_0x22b0c9['string']();break;default:_0x22b0c9['skipType'](0x7&_0x4a4eaa,_0x14e4ae);}}return _0x53576f;},_0x339e99['decodeDelimited']=function(_0x513c68){return _0x513c68 instanceof _0x290291||(_0x513c68=new _0x290291(_0x513c68)),this['decode'](_0x513c68,_0x513c68['uint32']());},_0x339e99['verify']=function(_0x900a77,_0x50bc24){return'object'!=typeof _0x900a77||null===_0x900a77?'object\x20expected':(void 0x0===_0x50bc24&&(_0x50bc24=0x0),_0x50bc24>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x900a77['data']&&_0x900a77['hasOwnProperty']('data')&&!_0x5c599b['isInteger'](_0x900a77['data'])?'data:\x20integer\x20expected':null!=_0x900a77['data1']&&_0x900a77['hasOwnProperty']('data1')&&!_0x5c599b['isString'](_0x900a77['data1'])?'data1:\x20string\x20expected':null);},_0x339e99['fromObject']=function(_0x36a5c9,_0x5433b7){if(_0x36a5c9 instanceof _0xfc4eb2['NumberStringPacketDataMessage'])return _0x36a5c9;if(void 0x0===_0x5433b7&&(_0x5433b7=0x0),_0x5433b7>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x385da2=new _0xfc4eb2['NumberStringPacketDataMessage']();return null!=_0x36a5c9['data']&&(_0x385da2['data']=_0x36a5c9['data']>>>0x0),null!=_0x36a5c9['data1']&&(_0x385da2['data1']=String(_0x36a5c9['data1'])),_0x385da2;},_0x339e99['toObject']=function(_0x2f5783,_0x3b19c8){_0x3b19c8||(_0x3b19c8={});var _0x434d10={};return _0x3b19c8['defaults']&&(_0x434d10['data']=0x0,_0x434d10['data1']=''),null!=_0x2f5783['data']&&_0x2f5783['hasOwnProperty']('data')&&(_0x434d10['data']=_0x2f5783['data']),null!=_0x2f5783['data1']&&_0x2f5783['hasOwnProperty']('data1')&&(_0x434d10['data1']=_0x2f5783['data1']),_0x434d10;},_0x339e99['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x339e99['getTypeUrl']=function(_0x45dc5e){return void 0x0===_0x45dc5e&&(_0x45dc5e='type.googleapis.com'),_0x45dc5e+'/NumberStringPacketDataMessage';},_0x339e99;}()),_0xfc4eb2['NumberObjectPacketDataMessage']=(function(){function _0x576722(_0x2f8c67){if(_0x2f8c67){for(var _0x3e88c9=Object['keys'](_0x2f8c67),_0xf2df5=0x0;_0xf2df5<_0x3e88c9['length'];++_0xf2df5)null!=_0x2f8c67[_0x3e88c9[_0xf2df5]]&&'__proto__'!==_0x3e88c9[_0xf2df5]&&(this[_0x3e88c9[_0xf2df5]]=_0x2f8c67[_0x3e88c9[_0xf2df5]]);}}return _0x576722['prototype']['data']=0x0,_0x576722['prototype']['data1']='',_0x576722['create']=function(_0x5e52eb){return new _0x576722(_0x5e52eb);},_0x576722['encode']=function(_0x1bd634,_0x297a87){return _0x297a87||(_0x297a87=_0xcae49f['create']()),null!=_0x1bd634['data']&&Object['hasOwnProperty']['call'](_0x1bd634,'data')&&_0x297a87['uint32'](0x8)['uint32'](_0x1bd634['data']),null!=_0x1bd634['data1']&&Object['hasOwnProperty']['call'](_0x1bd634,'data1')&&_0x297a87['uint32'](0x12)['string'](_0x1bd634['data1']),_0x297a87;},_0x576722['encodeDelimited']=function(_0x5367af,_0x3817d3){return this['encode'](_0x5367af,_0x3817d3)['ldelim']();},_0x576722['decode']=function(_0x19dc1d,_0x4e4e93,_0x15f683,_0x4564fd){if(_0x19dc1d instanceof _0x290291||(_0x19dc1d=_0x290291['create'](_0x19dc1d)),void 0x0===_0x4564fd&&(_0x4564fd=0x0),_0x4564fd>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x15ac3f=void 0x0===_0x4e4e93?_0x19dc1d['len']:_0x19dc1d['pos']+_0x4e4e93,_0x5e5733=new _0xfc4eb2['NumberObjectPacketDataMessage']();_0x19dc1d['pos']<_0x15ac3f;){var _0x5ad85f=_0x19dc1d['uint32']();if(_0x5ad85f===_0x15f683)break;switch(_0x5ad85f>>>0x3){case 0x1:_0x5e5733['data']=_0x19dc1d['uint32']();break;case 0x2:_0x5e5733['data1']=_0x19dc1d['string']();break;default:_0x19dc1d['skipType'](0x7&_0x5ad85f,_0x4564fd);}}return _0x5e5733;},_0x576722['decodeDelimited']=function(_0x3a472b){return _0x3a472b instanceof _0x290291||(_0x3a472b=new _0x290291(_0x3a472b)),this['decode'](_0x3a472b,_0x3a472b['uint32']());},_0x576722['verify']=function(_0x494aa4,_0x278199){return'object'!=typeof _0x494aa4||null===_0x494aa4?'object\x20expected':(void 0x0===_0x278199&&(_0x278199=0x0),_0x278199>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x494aa4['data']&&_0x494aa4['hasOwnProperty']('data')&&!_0x5c599b['isInteger'](_0x494aa4['data'])?'data:\x20integer\x20expected':null!=_0x494aa4['data1']&&_0x494aa4['hasOwnProperty']('data1')&&!_0x5c599b['isString'](_0x494aa4['data1'])?'data1:\x20string\x20expected':null);},_0x576722['fromObject']=function(_0x2dedf1,_0x965428){if(_0x2dedf1 instanceof _0xfc4eb2['NumberObjectPacketDataMessage'])return _0x2dedf1;if(void 0x0===_0x965428&&(_0x965428=0x0),_0x965428>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4377d9=new _0xfc4eb2['NumberObjectPacketDataMessage']();return null!=_0x2dedf1['data']&&(_0x4377d9['data']=_0x2dedf1['data']>>>0x0),null!=_0x2dedf1['data1']&&(_0x4377d9['data1']=String(_0x2dedf1['data1'])),_0x4377d9;},_0x576722['toObject']=function(_0x162271,_0x306daa){_0x306daa||(_0x306daa={});var _0x6fe81c={};return _0x306daa['defaults']&&(_0x6fe81c['data']=0x0,_0x6fe81c['data1']=''),null!=_0x162271['data']&&_0x162271['hasOwnProperty']('data')&&(_0x6fe81c['data']=_0x162271['data']),null!=_0x162271['data1']&&_0x162271['hasOwnProperty']('data1')&&(_0x6fe81c['data1']=_0x162271['data1']),_0x6fe81c;},_0x576722['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x576722['getTypeUrl']=function(_0x44b2de){return void 0x0===_0x44b2de&&(_0x44b2de='type.googleapis.com'),_0x44b2de+'/NumberObjectPacketDataMessage';},_0x576722;}()),_0xfc4eb2['NumberNumberPacketDataMessage']=(function(){function _0x364b0c(_0x3aa66e){if(_0x3aa66e){for(var _0x3cef4c=Object['keys'](_0x3aa66e),_0x5480f2=0x0;_0x5480f2<_0x3cef4c['length'];++_0x5480f2)null!=_0x3aa66e[_0x3cef4c[_0x5480f2]]&&'__proto__'!==_0x3cef4c[_0x5480f2]&&(this[_0x3cef4c[_0x5480f2]]=_0x3aa66e[_0x3cef4c[_0x5480f2]]);}}return _0x364b0c['prototype']['data']=0x0,_0x364b0c['prototype']['data1']=0x0,_0x364b0c['create']=function(_0x2d8bcd){return new _0x364b0c(_0x2d8bcd);},_0x364b0c['encode']=function(_0x59beb4,_0x53672f){return _0x53672f||(_0x53672f=_0xcae49f['create']()),null!=_0x59beb4['data']&&Object['hasOwnProperty']['call'](_0x59beb4,'data')&&_0x53672f['uint32'](0x8)['uint32'](_0x59beb4['data']),null!=_0x59beb4['data1']&&Object['hasOwnProperty']['call'](_0x59beb4,'data1')&&_0x53672f['uint32'](0x10)['uint32'](_0x59beb4['data1']),_0x53672f;},_0x364b0c['encodeDelimited']=function(_0x46a356,_0x28ebc7){return this['encode'](_0x46a356,_0x28ebc7)['ldelim']();},_0x364b0c['decode']=function(_0x52e025,_0x2b38a,_0x4f0298,_0x445798){if(_0x52e025 instanceof _0x290291||(_0x52e025=_0x290291['create'](_0x52e025)),void 0x0===_0x445798&&(_0x445798=0x0),_0x445798>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x30d3aa=void 0x0===_0x2b38a?_0x52e025['len']:_0x52e025['pos']+_0x2b38a,_0x2d4ca4=new _0xfc4eb2['NumberNumberPacketDataMessage']();_0x52e025['pos']<_0x30d3aa;){var _0x367106=_0x52e025['uint32']();if(_0x367106===_0x4f0298)break;switch(_0x367106>>>0x3){case 0x1:_0x2d4ca4['data']=_0x52e025['uint32']();break;case 0x2:_0x2d4ca4['data1']=_0x52e025['uint32']();break;default:_0x52e025['skipType'](0x7&_0x367106,_0x445798);}}return _0x2d4ca4;},_0x364b0c['decodeDelimited']=function(_0x2d38af){return _0x2d38af instanceof _0x290291||(_0x2d38af=new _0x290291(_0x2d38af)),this['decode'](_0x2d38af,_0x2d38af['uint32']());},_0x364b0c['verify']=function(_0x25d383,_0x58f09a){return'object'!=typeof _0x25d383||null===_0x25d383?'object\x20expected':(void 0x0===_0x58f09a&&(_0x58f09a=0x0),_0x58f09a>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x25d383['data']&&_0x25d383['hasOwnProperty']('data')&&!_0x5c599b['isInteger'](_0x25d383['data'])?'data:\x20integer\x20expected':null!=_0x25d383['data1']&&_0x25d383['hasOwnProperty']('data1')&&!_0x5c599b['isInteger'](_0x25d383['data1'])?'data1:\x20integer\x20expected':null);},_0x364b0c['fromObject']=function(_0x10e68c,_0x58b75f){if(_0x10e68c instanceof _0xfc4eb2['NumberNumberPacketDataMessage'])return _0x10e68c;if(void 0x0===_0x58b75f&&(_0x58b75f=0x0),_0x58b75f>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1600ef=new _0xfc4eb2['NumberNumberPacketDataMessage']();return null!=_0x10e68c['data']&&(_0x1600ef['data']=_0x10e68c['data']>>>0x0),null!=_0x10e68c['data1']&&(_0x1600ef['data1']=_0x10e68c['data1']>>>0x0),_0x1600ef;},_0x364b0c['toObject']=function(_0xf6aa75,_0x508e25){_0x508e25||(_0x508e25={});var _0x4284e6={};return _0x508e25['defaults']&&(_0x4284e6['data']=0x0,_0x4284e6['data1']=0x0),null!=_0xf6aa75['data']&&_0xf6aa75['hasOwnProperty']('data')&&(_0x4284e6['data']=_0xf6aa75['data']),null!=_0xf6aa75['data1']&&_0xf6aa75['hasOwnProperty']('data1')&&(_0x4284e6['data1']=_0xf6aa75['data1']),_0x4284e6;},_0x364b0c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x364b0c['getTypeUrl']=function(_0x472bd5){return void 0x0===_0x472bd5&&(_0x472bd5='type.googleapis.com'),_0x472bd5+'/NumberNumberPacketDataMessage';},_0x364b0c;}()),_0xfc4eb2['NumberBytesPacketDataMessage']=(function(){function _0x997d03(_0x53b83d){if(_0x53b83d){for(var _0x51325e=Object['keys'](_0x53b83d),_0xfd90e1=0x0;_0xfd90e1<_0x51325e['length'];++_0xfd90e1)null!=_0x53b83d[_0x51325e[_0xfd90e1]]&&'__proto__'!==_0x51325e[_0xfd90e1]&&(this[_0x51325e[_0xfd90e1]]=_0x53b83d[_0x51325e[_0xfd90e1]]);}}return _0x997d03['prototype']['data']=0x0,_0x997d03['prototype']['data1']=_0x5c599b['newBuffer']([]),_0x997d03['create']=function(_0x3a19e8){return new _0x997d03(_0x3a19e8);},_0x997d03['encode']=function(_0x509bcd,_0x1157bd){return _0x1157bd||(_0x1157bd=_0xcae49f['create']()),null!=_0x509bcd['data']&&Object['hasOwnProperty']['call'](_0x509bcd,'data')&&_0x1157bd['uint32'](0x8)['uint32'](_0x509bcd['data']),null!=_0x509bcd['data1']&&Object['hasOwnProperty']['call'](_0x509bcd,'data1')&&_0x1157bd['uint32'](0x12)['bytes'](_0x509bcd['data1']),_0x1157bd;},_0x997d03['encodeDelimited']=function(_0x4e9c82,_0x4b812f){return this['encode'](_0x4e9c82,_0x4b812f)['ldelim']();},_0x997d03['decode']=function(_0x2ef86a,_0x228cc6,_0x391050,_0x5c0326){if(_0x2ef86a instanceof _0x290291||(_0x2ef86a=_0x290291['create'](_0x2ef86a)),void 0x0===_0x5c0326&&(_0x5c0326=0x0),_0x5c0326>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3583a3=void 0x0===_0x228cc6?_0x2ef86a['len']:_0x2ef86a['pos']+_0x228cc6,_0x155b20=new _0xfc4eb2['NumberBytesPacketDataMessage']();_0x2ef86a['pos']<_0x3583a3;){var _0x249595=_0x2ef86a['uint32']();if(_0x249595===_0x391050)break;switch(_0x249595>>>0x3){case 0x1:_0x155b20['data']=_0x2ef86a['uint32']();break;case 0x2:_0x155b20['data1']=_0x2ef86a['bytes']();break;default:_0x2ef86a['skipType'](0x7&_0x249595,_0x5c0326);}}return _0x155b20;},_0x997d03['decodeDelimited']=function(_0xc75276){return _0xc75276 instanceof _0x290291||(_0xc75276=new _0x290291(_0xc75276)),this['decode'](_0xc75276,_0xc75276['uint32']());},_0x997d03['verify']=function(_0x372252,_0x47d3c9){return'object'!=typeof _0x372252||null===_0x372252?'object\x20expected':(void 0x0===_0x47d3c9&&(_0x47d3c9=0x0),_0x47d3c9>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x372252['data']&&_0x372252['hasOwnProperty']('data')&&!_0x5c599b['isInteger'](_0x372252['data'])?'data:\x20integer\x20expected':null!=_0x372252['data1']&&_0x372252['hasOwnProperty']('data1')&&!(_0x372252['data1']&&'number'==typeof _0x372252['data1']['length']||_0x5c599b['isString'](_0x372252['data1']))?'data1:\x20buffer\x20expected':null);},_0x997d03['fromObject']=function(_0x3ff241,_0x20f6f0){if(_0x3ff241 instanceof _0xfc4eb2['NumberBytesPacketDataMessage'])return _0x3ff241;if(void 0x0===_0x20f6f0&&(_0x20f6f0=0x0),_0x20f6f0>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5a42a9=new _0xfc4eb2['NumberBytesPacketDataMessage']();return null!=_0x3ff241['data']&&(_0x5a42a9['data']=_0x3ff241['data']>>>0x0),null!=_0x3ff241['data1']&&('string'==typeof _0x3ff241['data1']?_0x5c599b['base64']['decode'](_0x3ff241['data1'],_0x5a42a9['data1']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x3ff241['data1'])),0x0):_0x3ff241['data1']['length']>=0x0&&(_0x5a42a9['data1']=_0x3ff241['data1'])),_0x5a42a9;},_0x997d03['toObject']=function(_0x4b69c3,_0x2b5589){_0x2b5589||(_0x2b5589={});var _0xd83b62={};return _0x2b5589['defaults']&&(_0xd83b62['data']=0x0,_0x2b5589['bytes']===String?_0xd83b62['data1']='':(_0xd83b62['data1']=[],_0x2b5589['bytes']!==Array&&(_0xd83b62['data1']=_0x5c599b['newBuffer'](_0xd83b62['data1'])))),null!=_0x4b69c3['data']&&_0x4b69c3['hasOwnProperty']('data')&&(_0xd83b62['data']=_0x4b69c3['data']),null!=_0x4b69c3['data1']&&_0x4b69c3['hasOwnProperty']('data1')&&(_0xd83b62['data1']=_0x2b5589['bytes']===String?_0x5c599b['base64']['encode'](_0x4b69c3['data1'],0x0,_0x4b69c3['data1']['length']):_0x2b5589['bytes']===Array?Array['prototype']['slice']['call'](_0x4b69c3['data1']):_0x4b69c3['data1']),_0xd83b62;},_0x997d03['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x997d03['getTypeUrl']=function(_0x4a5443){return void 0x0===_0x4a5443&&(_0x4a5443='type.googleapis.com'),_0x4a5443+'/NumberBytesPacketDataMessage';},_0x997d03;}()),_0xfc4eb2['BytesBytesPacketDataMessage']=(function(){function _0x100b78(_0x9d6188){if(_0x9d6188){for(var _0xa8d4d=Object['keys'](_0x9d6188),_0x50bc31=0x0;_0x50bc31<_0xa8d4d['length'];++_0x50bc31)null!=_0x9d6188[_0xa8d4d[_0x50bc31]]&&'__proto__'!==_0xa8d4d[_0x50bc31]&&(this[_0xa8d4d[_0x50bc31]]=_0x9d6188[_0xa8d4d[_0x50bc31]]);}}return _0x100b78['prototype']['data']=_0x5c599b['newBuffer']([]),_0x100b78['prototype']['data1']=_0x5c599b['newBuffer']([]),_0x100b78['create']=function(_0x190cf2){return new _0x100b78(_0x190cf2);},_0x100b78['encode']=function(_0x3fb73e,_0x226cfb){return _0x226cfb||(_0x226cfb=_0xcae49f['create']()),null!=_0x3fb73e['data']&&Object['hasOwnProperty']['call'](_0x3fb73e,'data')&&_0x226cfb['uint32'](0xa)['bytes'](_0x3fb73e['data']),null!=_0x3fb73e['data1']&&Object['hasOwnProperty']['call'](_0x3fb73e,'data1')&&_0x226cfb['uint32'](0x12)['bytes'](_0x3fb73e['data1']),_0x226cfb;},_0x100b78['encodeDelimited']=function(_0x4f4944,_0x5dc04b){return this['encode'](_0x4f4944,_0x5dc04b)['ldelim']();},_0x100b78['decode']=function(_0x5bf6b1,_0x474ab9,_0x1d2bae,_0x7043f3){if(_0x5bf6b1 instanceof _0x290291||(_0x5bf6b1=_0x290291['create'](_0x5bf6b1)),void 0x0===_0x7043f3&&(_0x7043f3=0x0),_0x7043f3>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50d0e3=void 0x0===_0x474ab9?_0x5bf6b1['len']:_0x5bf6b1['pos']+_0x474ab9,_0x2c648c=new _0xfc4eb2['BytesBytesPacketDataMessage']();_0x5bf6b1['pos']<_0x50d0e3;){var _0x2b1378=_0x5bf6b1['uint32']();if(_0x2b1378===_0x1d2bae)break;switch(_0x2b1378>>>0x3){case 0x1:_0x2c648c['data']=_0x5bf6b1['bytes']();break;case 0x2:_0x2c648c['data1']=_0x5bf6b1['bytes']();break;default:_0x5bf6b1['skipType'](0x7&_0x2b1378,_0x7043f3);}}return _0x2c648c;},_0x100b78['decodeDelimited']=function(_0x121746){return _0x121746 instanceof _0x290291||(_0x121746=new _0x290291(_0x121746)),this['decode'](_0x121746,_0x121746['uint32']());},_0x100b78['verify']=function(_0x2638d6,_0x320faa){return'object'!=typeof _0x2638d6||null===_0x2638d6?'object\x20expected':(void 0x0===_0x320faa&&(_0x320faa=0x0),_0x320faa>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2638d6['data']&&_0x2638d6['hasOwnProperty']('data')&&!(_0x2638d6['data']&&'number'==typeof _0x2638d6['data']['length']||_0x5c599b['isString'](_0x2638d6['data']))?'data:\x20buffer\x20expected':null!=_0x2638d6['data1']&&_0x2638d6['hasOwnProperty']('data1')&&!(_0x2638d6['data1']&&'number'==typeof _0x2638d6['data1']['length']||_0x5c599b['isString'](_0x2638d6['data1']))?'data1:\x20buffer\x20expected':null);},_0x100b78['fromObject']=function(_0x52b1d9,_0x245e72){if(_0x52b1d9 instanceof _0xfc4eb2['BytesBytesPacketDataMessage'])return _0x52b1d9;if(void 0x0===_0x245e72&&(_0x245e72=0x0),_0x245e72>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x87b645=new _0xfc4eb2['BytesBytesPacketDataMessage']();return null!=_0x52b1d9['data']&&('string'==typeof _0x52b1d9['data']?_0x5c599b['base64']['decode'](_0x52b1d9['data'],_0x87b645['data']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x52b1d9['data'])),0x0):_0x52b1d9['data']['length']>=0x0&&(_0x87b645['data']=_0x52b1d9['data'])),null!=_0x52b1d9['data1']&&('string'==typeof _0x52b1d9['data1']?_0x5c599b['base64']['decode'](_0x52b1d9['data1'],_0x87b645['data1']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x52b1d9['data1'])),0x0):_0x52b1d9['data1']['length']>=0x0&&(_0x87b645['data1']=_0x52b1d9['data1'])),_0x87b645;},_0x100b78['toObject']=function(_0x1d13a9,_0x2cb00f){_0x2cb00f||(_0x2cb00f={});var _0x1e03b7={};return _0x2cb00f['defaults']&&(_0x2cb00f['bytes']===String?_0x1e03b7['data']='':(_0x1e03b7['data']=[],_0x2cb00f['bytes']!==Array&&(_0x1e03b7['data']=_0x5c599b['newBuffer'](_0x1e03b7['data']))),_0x2cb00f['bytes']===String?_0x1e03b7['data1']='':(_0x1e03b7['data1']=[],_0x2cb00f['bytes']!==Array&&(_0x1e03b7['data1']=_0x5c599b['newBuffer'](_0x1e03b7['data1'])))),null!=_0x1d13a9['data']&&_0x1d13a9['hasOwnProperty']('data')&&(_0x1e03b7['data']=_0x2cb00f['bytes']===String?_0x5c599b['base64']['encode'](_0x1d13a9['data'],0x0,_0x1d13a9['data']['length']):_0x2cb00f['bytes']===Array?Array['prototype']['slice']['call'](_0x1d13a9['data']):_0x1d13a9['data']),null!=_0x1d13a9['data1']&&_0x1d13a9['hasOwnProperty']('data1')&&(_0x1e03b7['data1']=_0x2cb00f['bytes']===String?_0x5c599b['base64']['encode'](_0x1d13a9['data1'],0x0,_0x1d13a9['data1']['length']):_0x2cb00f['bytes']===Array?Array['prototype']['slice']['call'](_0x1d13a9['data1']):_0x1d13a9['data1']),_0x1e03b7;},_0x100b78['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x100b78['getTypeUrl']=function(_0xe098f4){return void 0x0===_0xe098f4&&(_0xe098f4='type.googleapis.com'),_0xe098f4+'/BytesBytesPacketDataMessage';},_0x100b78;}()),_0xfc4eb2['ChannelMessage']=(function(){function _0x2c397f(_0x379578){if(_0x379578){for(var _0x2ab255=Object['keys'](_0x379578),_0x22ce19=0x0;_0x22ce19<_0x2ab255['length'];++_0x22ce19)null!=_0x379578[_0x2ab255[_0x22ce19]]&&'__proto__'!==_0x2ab255[_0x22ce19]&&(this[_0x2ab255[_0x22ce19]]=_0x379578[_0x2ab255[_0x22ce19]]);}}return _0x2c397f['prototype']['type']=0x0,_0x2c397f['prototype']['socketId']='',_0x2c397f['prototype']['data']=_0x5c599b['newBuffer']([]),_0x2c397f['create']=function(_0x43cb85){return new _0x2c397f(_0x43cb85);},_0x2c397f['encode']=function(_0x3bc2dd,_0x5d355e){return _0x5d355e||(_0x5d355e=_0xcae49f['create']()),null!=_0x3bc2dd['type']&&Object['hasOwnProperty']['call'](_0x3bc2dd,'type')&&_0x5d355e['uint32'](0x8)['uint32'](_0x3bc2dd['type']),null!=_0x3bc2dd['socketId']&&Object['hasOwnProperty']['call'](_0x3bc2dd,'socketId')&&_0x5d355e['uint32'](0x12)['string'](_0x3bc2dd['socketId']),null!=_0x3bc2dd['data']&&Object['hasOwnProperty']['call'](_0x3bc2dd,'data')&&_0x5d355e['uint32'](0x1a)['bytes'](_0x3bc2dd['data']),_0x5d355e;},_0x2c397f['encodeDelimited']=function(_0x5dc8c7,_0x49e4c5){return this['encode'](_0x5dc8c7,_0x49e4c5)['ldelim']();},_0x2c397f['decode']=function(_0xdb8d1,_0x3b2c71,_0xf018a,_0x47390b){if(_0xdb8d1 instanceof _0x290291||(_0xdb8d1=_0x290291['create'](_0xdb8d1)),void 0x0===_0x47390b&&(_0x47390b=0x0),_0x47390b>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5596de=void 0x0===_0x3b2c71?_0xdb8d1['len']:_0xdb8d1['pos']+_0x3b2c71,_0xd76f1b=new _0xfc4eb2['ChannelMessage']();_0xdb8d1['pos']<_0x5596de;){var _0x46223a=_0xdb8d1['uint32']();if(_0x46223a===_0xf018a)break;switch(_0x46223a>>>0x3){case 0x1:_0xd76f1b['type']=_0xdb8d1['uint32']();break;case 0x2:_0xd76f1b['socketId']=_0xdb8d1['string']();break;case 0x3:_0xd76f1b['data']=_0xdb8d1['bytes']();break;default:_0xdb8d1['skipType'](0x7&_0x46223a,_0x47390b);}}return _0xd76f1b;},_0x2c397f['decodeDelimited']=function(_0x5c34c6){return _0x5c34c6 instanceof _0x290291||(_0x5c34c6=new _0x290291(_0x5c34c6)),this['decode'](_0x5c34c6,_0x5c34c6['uint32']());},_0x2c397f['verify']=function(_0x14d936,_0x501ef0){return'object'!=typeof _0x14d936||null===_0x14d936?'object\x20expected':(void 0x0===_0x501ef0&&(_0x501ef0=0x0),_0x501ef0>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x14d936['type']&&_0x14d936['hasOwnProperty']('type')&&!_0x5c599b['isInteger'](_0x14d936['type'])?'type:\x20integer\x20expected':null!=_0x14d936['socketId']&&_0x14d936['hasOwnProperty']('socketId')&&!_0x5c599b['isString'](_0x14d936['socketId'])?'socketId:\x20string\x20expected':null!=_0x14d936['data']&&_0x14d936['hasOwnProperty']('data')&&!(_0x14d936['data']&&'number'==typeof _0x14d936['data']['length']||_0x5c599b['isString'](_0x14d936['data']))?'data:\x20buffer\x20expected':null);},_0x2c397f['fromObject']=function(_0xb79c0c,_0x1312d5){if(_0xb79c0c instanceof _0xfc4eb2['ChannelMessage'])return _0xb79c0c;if(void 0x0===_0x1312d5&&(_0x1312d5=0x0),_0x1312d5>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2896c9=new _0xfc4eb2['ChannelMessage']();return null!=_0xb79c0c['type']&&(_0x2896c9['type']=_0xb79c0c['type']>>>0x0),null!=_0xb79c0c['socketId']&&(_0x2896c9['socketId']=String(_0xb79c0c['socketId'])),null!=_0xb79c0c['data']&&('string'==typeof _0xb79c0c['data']?_0x5c599b['base64']['decode'](_0xb79c0c['data'],_0x2896c9['data']=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0xb79c0c['data'])),0x0):_0xb79c0c['data']['length']>=0x0&&(_0x2896c9['data']=_0xb79c0c['data'])),_0x2896c9;},_0x2c397f['toObject']=function(_0xd0a33c,_0x369d8e){_0x369d8e||(_0x369d8e={});var _0x202985={};return _0x369d8e['defaults']&&(_0x202985['type']=0x0,_0x202985['socketId']='',_0x369d8e['bytes']===String?_0x202985['data']='':(_0x202985['data']=[],_0x369d8e['bytes']!==Array&&(_0x202985['data']=_0x5c599b['newBuffer'](_0x202985['data'])))),null!=_0xd0a33c['type']&&_0xd0a33c['hasOwnProperty']('type')&&(_0x202985['type']=_0xd0a33c['type']),null!=_0xd0a33c['socketId']&&_0xd0a33c['hasOwnProperty']('socketId')&&(_0x202985['socketId']=_0xd0a33c['socketId']),null!=_0xd0a33c['data']&&_0xd0a33c['hasOwnProperty']('data')&&(_0x202985['data']=_0x369d8e['bytes']===String?_0x5c599b['base64']['encode'](_0xd0a33c['data'],0x0,_0xd0a33c['data']['length']):_0x369d8e['bytes']===Array?Array['prototype']['slice']['call'](_0xd0a33c['data']):_0xd0a33c['data']),_0x202985;},_0x2c397f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2c397f['getTypeUrl']=function(_0x2a7fb2){return void 0x0===_0x2a7fb2&&(_0x2a7fb2='type.googleapis.com'),_0x2a7fb2+'/ChannelMessage';},_0x2c397f;}()),_0xfc4eb2['GetUserResponse']=(function(){function _0x20051f(_0x4630e4){if(this['attributes']=[],_0x4630e4){for(var _0x1d1e20=Object['keys'](_0x4630e4),_0x6f7fd7=0x0;_0x6f7fd7<_0x1d1e20['length'];++_0x6f7fd7)null!=_0x4630e4[_0x1d1e20[_0x6f7fd7]]&&'__proto__'!==_0x1d1e20[_0x6f7fd7]&&(this[_0x1d1e20[_0x6f7fd7]]=_0x4630e4[_0x1d1e20[_0x6f7fd7]]);}}return _0x20051f['prototype']['attributes']=_0x5c599b['emptyArray'],_0x20051f['create']=function(_0x19975c){return new _0x20051f(_0x19975c);},_0x20051f['encode']=function(_0x2391c5,_0x2a63b1){if(_0x2a63b1||(_0x2a63b1=_0xcae49f['create']()),null!=_0x2391c5['attributes']&&_0x2391c5['attributes']['length']){for(var _0x4d8420=0x0;_0x4d8420<_0x2391c5['attributes']['length'];++_0x4d8420)_0xfc4eb2['KeyValueDescriptor']['encode'](_0x2391c5['attributes'][_0x4d8420],_0x2a63b1['uint32'](0xa)['fork']())['ldelim']();}return _0x2a63b1;},_0x20051f['encodeDelimited']=function(_0xac5541,_0x1d2ea3){return this['encode'](_0xac5541,_0x1d2ea3)['ldelim']();},_0x20051f['decode']=function(_0x2d1bf4,_0x358edf,_0x3a07ec,_0x594673){if(_0x2d1bf4 instanceof _0x290291||(_0x2d1bf4=_0x290291['create'](_0x2d1bf4)),void 0x0===_0x594673&&(_0x594673=0x0),_0x594673>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x144e4c=void 0x0===_0x358edf?_0x2d1bf4['len']:_0x2d1bf4['pos']+_0x358edf,_0x33c64f=new _0xfc4eb2['GetUserResponse']();_0x2d1bf4['pos']<_0x144e4c;){var _0x51044e=_0x2d1bf4['uint32']();if(_0x51044e===_0x3a07ec)break;_0x51044e>>>0x3==0x1?(_0x33c64f['attributes']&&_0x33c64f['attributes']['length']||(_0x33c64f['attributes']=[]),_0x33c64f['attributes']['push'](_0xfc4eb2['KeyValueDescriptor']['decode'](_0x2d1bf4,_0x2d1bf4['uint32'](),void 0x0,_0x594673+0x1))):_0x2d1bf4['skipType'](0x7&_0x51044e,_0x594673);}return _0x33c64f;},_0x20051f['decodeDelimited']=function(_0x3f96aa){return _0x3f96aa instanceof _0x290291||(_0x3f96aa=new _0x290291(_0x3f96aa)),this['decode'](_0x3f96aa,_0x3f96aa['uint32']());},_0x20051f['verify']=function(_0x1614c6,_0x442558){if('object'!=typeof _0x1614c6||null===_0x1614c6)return'object\x20expected';if(void 0x0===_0x442558&&(_0x442558=0x0),_0x442558>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1614c6['attributes']&&_0x1614c6['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x1614c6['attributes']))return'attributes:\x20array\x20expected';for(var _0x468514=0x0;_0x468514<_0x1614c6['attributes']['length'];++_0x468514){var _0x2d0338=_0xfc4eb2['KeyValueDescriptor']['verify'](_0x1614c6['attributes'][_0x468514],_0x442558+0x1);if(_0x2d0338)return'attributes.'+_0x2d0338;}}return null;},_0x20051f['fromObject']=function(_0x2feddd,_0x5de9a2){if(_0x2feddd instanceof _0xfc4eb2['GetUserResponse'])return _0x2feddd;if(void 0x0===_0x5de9a2&&(_0x5de9a2=0x0),_0x5de9a2>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f1d8f=new _0xfc4eb2['GetUserResponse']();if(_0x2feddd['attributes']){if(!Array['isArray'](_0x2feddd['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x4f1d8f['attributes']=[];for(var _0x38cf60=0x0;_0x38cf60<_0x2feddd['attributes']['length'];++_0x38cf60){if('object'!=typeof _0x2feddd['attributes'][_0x38cf60])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x4f1d8f['attributes'][_0x38cf60]=_0xfc4eb2['KeyValueDescriptor']['fromObject'](_0x2feddd['attributes'][_0x38cf60],_0x5de9a2+0x1);}}return _0x4f1d8f;},_0x20051f['toObject']=function(_0xe36e9a,_0x354d1a){_0x354d1a||(_0x354d1a={});var _0x1a5bf2={};if((_0x354d1a['arrays']||_0x354d1a['defaults'])&&(_0x1a5bf2['attributes']=[]),_0xe36e9a['attributes']&&_0xe36e9a['attributes']['length']){_0x1a5bf2['attributes']=[];for(var _0x1d1a05=0x0;_0x1d1a05<_0xe36e9a['attributes']['length'];++_0x1d1a05)_0x1a5bf2['attributes'][_0x1d1a05]=_0xfc4eb2['KeyValueDescriptor']['toObject'](_0xe36e9a['attributes'][_0x1d1a05],_0x354d1a);}return _0x1a5bf2;},_0x20051f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x20051f['getTypeUrl']=function(_0x2b31ff){return void 0x0===_0x2b31ff&&(_0x2b31ff='type.googleapis.com'),_0x2b31ff+'/GetUserResponse';},_0x20051f;}()),_0xfc4eb2['GetManyUsersResponse']=(function(){function _0x14ad0f(_0x541309){if(this['users']=[],_0x541309){for(var _0x49df73=Object['keys'](_0x541309),_0x296252=0x0;_0x296252<_0x49df73['length'];++_0x296252)null!=_0x541309[_0x49df73[_0x296252]]&&'__proto__'!==_0x49df73[_0x296252]&&(this[_0x49df73[_0x296252]]=_0x541309[_0x49df73[_0x296252]]);}}return _0x14ad0f['prototype']['users']=_0x5c599b['emptyArray'],_0x14ad0f['create']=function(_0x1f75a8){return new _0x14ad0f(_0x1f75a8);},_0x14ad0f['encode']=function(_0x188dd7,_0x52caad){if(_0x52caad||(_0x52caad=_0xcae49f['create']()),null!=_0x188dd7['users']&&_0x188dd7['users']['length']){for(var _0x6c2dd8=0x0;_0x6c2dd8<_0x188dd7['users']['length'];++_0x6c2dd8)_0xfc4eb2['UserDescriptor']['encode'](_0x188dd7['users'][_0x6c2dd8],_0x52caad['uint32'](0xa)['fork']())['ldelim']();}return _0x52caad;},_0x14ad0f['encodeDelimited']=function(_0x1a810b,_0x57cdbe){return this['encode'](_0x1a810b,_0x57cdbe)['ldelim']();},_0x14ad0f['decode']=function(_0x1db5b2,_0x478a66,_0x114a11,_0xeab78a){if(_0x1db5b2 instanceof _0x290291||(_0x1db5b2=_0x290291['create'](_0x1db5b2)),void 0x0===_0xeab78a&&(_0xeab78a=0x0),_0xeab78a>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xc2990b=void 0x0===_0x478a66?_0x1db5b2['len']:_0x1db5b2['pos']+_0x478a66,_0x29232c=new _0xfc4eb2['GetManyUsersResponse']();_0x1db5b2['pos']<_0xc2990b;){var _0xe8642b=_0x1db5b2['uint32']();if(_0xe8642b===_0x114a11)break;_0xe8642b>>>0x3==0x1?(_0x29232c['users']&&_0x29232c['users']['length']||(_0x29232c['users']=[]),_0x29232c['users']['push'](_0xfc4eb2['UserDescriptor']['decode'](_0x1db5b2,_0x1db5b2['uint32'](),void 0x0,_0xeab78a+0x1))):_0x1db5b2['skipType'](0x7&_0xe8642b,_0xeab78a);}return _0x29232c;},_0x14ad0f['decodeDelimited']=function(_0x1a997d){return _0x1a997d instanceof _0x290291||(_0x1a997d=new _0x290291(_0x1a997d)),this['decode'](_0x1a997d,_0x1a997d['uint32']());},_0x14ad0f['verify']=function(_0x16b83c,_0x151c51){if('object'!=typeof _0x16b83c||null===_0x16b83c)return'object\x20expected';if(void 0x0===_0x151c51&&(_0x151c51=0x0),_0x151c51>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x16b83c['users']&&_0x16b83c['hasOwnProperty']('users')){if(!Array['isArray'](_0x16b83c['users']))return'users:\x20array\x20expected';for(var _0x5f07a4=0x0;_0x5f07a4<_0x16b83c['users']['length'];++_0x5f07a4){var _0x3a4d27=_0xfc4eb2['UserDescriptor']['verify'](_0x16b83c['users'][_0x5f07a4],_0x151c51+0x1);if(_0x3a4d27)return'users.'+_0x3a4d27;}}return null;},_0x14ad0f['fromObject']=function(_0x7af970,_0x2b38b5){if(_0x7af970 instanceof _0xfc4eb2['GetManyUsersResponse'])return _0x7af970;if(void 0x0===_0x2b38b5&&(_0x2b38b5=0x0),_0x2b38b5>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x284ec9=new _0xfc4eb2['GetManyUsersResponse']();if(_0x7af970['users']){if(!Array['isArray'](_0x7af970['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x284ec9['users']=[];for(var _0x39bf6a=0x0;_0x39bf6a<_0x7af970['users']['length'];++_0x39bf6a){if('object'!=typeof _0x7af970['users'][_0x39bf6a])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x284ec9['users'][_0x39bf6a]=_0xfc4eb2['UserDescriptor']['fromObject'](_0x7af970['users'][_0x39bf6a],_0x2b38b5+0x1);}}return _0x284ec9;},_0x14ad0f['toObject']=function(_0x46ee0f,_0x358622){_0x358622||(_0x358622={});var _0x75d8a7={};if((_0x358622['arrays']||_0x358622['defaults'])&&(_0x75d8a7['users']=[]),_0x46ee0f['users']&&_0x46ee0f['users']['length']){_0x75d8a7['users']=[];for(var _0x5217ad=0x0;_0x5217ad<_0x46ee0f['users']['length'];++_0x5217ad)_0x75d8a7['users'][_0x5217ad]=_0xfc4eb2['UserDescriptor']['toObject'](_0x46ee0f['users'][_0x5217ad],_0x358622);}return _0x75d8a7;},_0x14ad0f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x14ad0f['getTypeUrl']=function(_0x4da8af){return void 0x0===_0x4da8af&&(_0x4da8af='type.googleapis.com'),_0x4da8af+'/GetManyUsersResponse';},_0x14ad0f;}()),_0xfc4eb2['GetUserMessage']=(function(){function _0x2a7629(_0x192792){if(_0x192792){for(var _0x3d2d24=Object['keys'](_0x192792),_0x48d872=0x0;_0x48d872<_0x3d2d24['length'];++_0x48d872)null!=_0x192792[_0x3d2d24[_0x48d872]]&&'__proto__'!==_0x3d2d24[_0x48d872]&&(this[_0x3d2d24[_0x48d872]]=_0x192792[_0x3d2d24[_0x48d872]]);}}return _0x2a7629['prototype']['id']='',_0x2a7629['create']=function(_0x2d9b72){return new _0x2a7629(_0x2d9b72);},_0x2a7629['encode']=function(_0x4400d6,_0x3d6c4d){return _0x3d6c4d||(_0x3d6c4d=_0xcae49f['create']()),null!=_0x4400d6['id']&&Object['hasOwnProperty']['call'](_0x4400d6,'id')&&_0x3d6c4d['uint32'](0xa)['string'](_0x4400d6['id']),_0x3d6c4d;},_0x2a7629['encodeDelimited']=function(_0x10942b,_0x492051){return this['encode'](_0x10942b,_0x492051)['ldelim']();},_0x2a7629['decode']=function(_0x389887,_0x1849d0,_0x2000f1,_0x17a577){if(_0x389887 instanceof _0x290291||(_0x389887=_0x290291['create'](_0x389887)),void 0x0===_0x17a577&&(_0x17a577=0x0),_0x17a577>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20d782=void 0x0===_0x1849d0?_0x389887['len']:_0x389887['pos']+_0x1849d0,_0x5a2d55=new _0xfc4eb2['GetUserMessage']();_0x389887['pos']<_0x20d782;){var _0x31033f=_0x389887['uint32']();if(_0x31033f===_0x2000f1)break;_0x31033f>>>0x3==0x1?_0x5a2d55['id']=_0x389887['string']():_0x389887['skipType'](0x7&_0x31033f,_0x17a577);}return _0x5a2d55;},_0x2a7629['decodeDelimited']=function(_0x1f5e18){return _0x1f5e18 instanceof _0x290291||(_0x1f5e18=new _0x290291(_0x1f5e18)),this['decode'](_0x1f5e18,_0x1f5e18['uint32']());},_0x2a7629['verify']=function(_0x387df4,_0x3887cb){return'object'!=typeof _0x387df4||null===_0x387df4?'object\x20expected':(void 0x0===_0x3887cb&&(_0x3887cb=0x0),_0x3887cb>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x387df4['id']&&_0x387df4['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x387df4['id'])?'id:\x20string\x20expected':null);},_0x2a7629['fromObject']=function(_0x28e8bc,_0x21b8f3){if(_0x28e8bc instanceof _0xfc4eb2['GetUserMessage'])return _0x28e8bc;if(void 0x0===_0x21b8f3&&(_0x21b8f3=0x0),_0x21b8f3>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3efed2=new _0xfc4eb2['GetUserMessage']();return null!=_0x28e8bc['id']&&(_0x3efed2['id']=String(_0x28e8bc['id'])),_0x3efed2;},_0x2a7629['toObject']=function(_0x832a85,_0x3f3deb){_0x3f3deb||(_0x3f3deb={});var _0xc0ddf5={};return _0x3f3deb['defaults']&&(_0xc0ddf5['id']=''),null!=_0x832a85['id']&&_0x832a85['hasOwnProperty']('id')&&(_0xc0ddf5['id']=_0x832a85['id']),_0xc0ddf5;},_0x2a7629['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2a7629['getTypeUrl']=function(_0x4690d4){return void 0x0===_0x4690d4&&(_0x4690d4='type.googleapis.com'),_0x4690d4+'/GetUserMessage';},_0x2a7629;}()),_0xfc4eb2['GetManyUsersMessage']=(function(){function _0xb1c831(_0x4f4d66){if(this['ids']=[],_0x4f4d66){for(var _0x789008=Object['keys'](_0x4f4d66),_0x5eba34=0x0;_0x5eba34<_0x789008['length'];++_0x5eba34)null!=_0x4f4d66[_0x789008[_0x5eba34]]&&'__proto__'!==_0x789008[_0x5eba34]&&(this[_0x789008[_0x5eba34]]=_0x4f4d66[_0x789008[_0x5eba34]]);}}return _0xb1c831['prototype']['ids']=_0x5c599b['emptyArray'],_0xb1c831['create']=function(_0x3260f0){return new _0xb1c831(_0x3260f0);},_0xb1c831['encode']=function(_0x2708b2,_0x34ab5f){if(_0x34ab5f||(_0x34ab5f=_0xcae49f['create']()),null!=_0x2708b2['ids']&&_0x2708b2['ids']['length']){for(var _0x144a7b=0x0;_0x144a7b<_0x2708b2['ids']['length'];++_0x144a7b)_0x34ab5f['uint32'](0xa)['string'](_0x2708b2['ids'][_0x144a7b]);}return _0x34ab5f;},_0xb1c831['encodeDelimited']=function(_0x39c747,_0x2a64af){return this['encode'](_0x39c747,_0x2a64af)['ldelim']();},_0xb1c831['decode']=function(_0x245e5c,_0xa28b2d,_0x4eb458,_0x2b1ff0){if(_0x245e5c instanceof _0x290291||(_0x245e5c=_0x290291['create'](_0x245e5c)),void 0x0===_0x2b1ff0&&(_0x2b1ff0=0x0),_0x2b1ff0>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x11b90b=void 0x0===_0xa28b2d?_0x245e5c['len']:_0x245e5c['pos']+_0xa28b2d,_0x22c6c3=new _0xfc4eb2['GetManyUsersMessage']();_0x245e5c['pos']<_0x11b90b;){var _0x30c10b=_0x245e5c['uint32']();if(_0x30c10b===_0x4eb458)break;_0x30c10b>>>0x3==0x1?(_0x22c6c3['ids']&&_0x22c6c3['ids']['length']||(_0x22c6c3['ids']=[]),_0x22c6c3['ids']['push'](_0x245e5c['string']())):_0x245e5c['skipType'](0x7&_0x30c10b,_0x2b1ff0);}return _0x22c6c3;},_0xb1c831['decodeDelimited']=function(_0x37dbbd){return _0x37dbbd instanceof _0x290291||(_0x37dbbd=new _0x290291(_0x37dbbd)),this['decode'](_0x37dbbd,_0x37dbbd['uint32']());},_0xb1c831['verify']=function(_0x3e0e62,_0x47f165){if('object'!=typeof _0x3e0e62||null===_0x3e0e62)return'object\x20expected';if(void 0x0===_0x47f165&&(_0x47f165=0x0),_0x47f165>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3e0e62['ids']&&_0x3e0e62['hasOwnProperty']('ids')){if(!Array['isArray'](_0x3e0e62['ids']))return'ids:\x20array\x20expected';for(var _0x4ab24e=0x0;_0x4ab24e<_0x3e0e62['ids']['length'];++_0x4ab24e)if(!_0x5c599b['isString'](_0x3e0e62['ids'][_0x4ab24e]))return'ids:\x20string[]\x20expected';}return null;},_0xb1c831['fromObject']=function(_0x227858,_0x38e311){if(_0x227858 instanceof _0xfc4eb2['GetManyUsersMessage'])return _0x227858;if(void 0x0===_0x38e311&&(_0x38e311=0x0),_0x38e311>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1274d4=new _0xfc4eb2['GetManyUsersMessage']();if(_0x227858['ids']){if(!Array['isArray'](_0x227858['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x1274d4['ids']=[];for(var _0x3cf4ea=0x0;_0x3cf4ea<_0x227858['ids']['length'];++_0x3cf4ea)_0x1274d4['ids'][_0x3cf4ea]=String(_0x227858['ids'][_0x3cf4ea]);}return _0x1274d4;},_0xb1c831['toObject']=function(_0x147167,_0x4d3a5b){_0x4d3a5b||(_0x4d3a5b={});var _0x58a8c0={};if((_0x4d3a5b['arrays']||_0x4d3a5b['defaults'])&&(_0x58a8c0['ids']=[]),_0x147167['ids']&&_0x147167['ids']['length']){_0x58a8c0['ids']=[];for(var _0x2dae1f=0x0;_0x2dae1f<_0x147167['ids']['length'];++_0x2dae1f)_0x58a8c0['ids'][_0x2dae1f]=_0x147167['ids'][_0x2dae1f];}return _0x58a8c0;},_0xb1c831['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0xb1c831['getTypeUrl']=function(_0x1f6166){return void 0x0===_0x1f6166&&(_0x1f6166='type.googleapis.com'),_0x1f6166+'/GetManyUsersMessage';},_0xb1c831;}()),_0xfc4eb2['UserDescriptor']=(function(){function _0x5180db(_0x319c81){if(this['attributes']=[],_0x319c81){for(var _0x4b87b9=Object['keys'](_0x319c81),_0x1720b0=0x0;_0x1720b0<_0x4b87b9['length'];++_0x1720b0)null!=_0x319c81[_0x4b87b9[_0x1720b0]]&&'__proto__'!==_0x4b87b9[_0x1720b0]&&(this[_0x4b87b9[_0x1720b0]]=_0x319c81[_0x4b87b9[_0x1720b0]]);}}return _0x5180db['prototype']['attributes']=_0x5c599b['emptyArray'],_0x5180db['create']=function(_0xcb31b){return new _0x5180db(_0xcb31b);},_0x5180db['encode']=function(_0x5b10f3,_0x39e6b4){if(_0x39e6b4||(_0x39e6b4=_0xcae49f['create']()),null!=_0x5b10f3['attributes']&&_0x5b10f3['attributes']['length']){for(var _0x11e671=0x0;_0x11e671<_0x5b10f3['attributes']['length'];++_0x11e671)_0xfc4eb2['KeyValueDescriptor']['encode'](_0x5b10f3['attributes'][_0x11e671],_0x39e6b4['uint32'](0xa)['fork']())['ldelim']();}return _0x39e6b4;},_0x5180db['encodeDelimited']=function(_0x27514c,_0x526e54){return this['encode'](_0x27514c,_0x526e54)['ldelim']();},_0x5180db['decode']=function(_0x39f925,_0x3abfb1,_0x2bbe84,_0x58504e){if(_0x39f925 instanceof _0x290291||(_0x39f925=_0x290291['create'](_0x39f925)),void 0x0===_0x58504e&&(_0x58504e=0x0),_0x58504e>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x24ebc3=void 0x0===_0x3abfb1?_0x39f925['len']:_0x39f925['pos']+_0x3abfb1,_0x537487=new _0xfc4eb2['UserDescriptor']();_0x39f925['pos']<_0x24ebc3;){var _0x3af563=_0x39f925['uint32']();if(_0x3af563===_0x2bbe84)break;_0x3af563>>>0x3==0x1?(_0x537487['attributes']&&_0x537487['attributes']['length']||(_0x537487['attributes']=[]),_0x537487['attributes']['push'](_0xfc4eb2['KeyValueDescriptor']['decode'](_0x39f925,_0x39f925['uint32'](),void 0x0,_0x58504e+0x1))):_0x39f925['skipType'](0x7&_0x3af563,_0x58504e);}return _0x537487;},_0x5180db['decodeDelimited']=function(_0x42d06f){return _0x42d06f instanceof _0x290291||(_0x42d06f=new _0x290291(_0x42d06f)),this['decode'](_0x42d06f,_0x42d06f['uint32']());},_0x5180db['verify']=function(_0x510ac2,_0x24cb6a){if('object'!=typeof _0x510ac2||null===_0x510ac2)return'object\x20expected';if(void 0x0===_0x24cb6a&&(_0x24cb6a=0x0),_0x24cb6a>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x510ac2['attributes']&&_0x510ac2['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x510ac2['attributes']))return'attributes:\x20array\x20expected';for(var _0x52ca1f=0x0;_0x52ca1f<_0x510ac2['attributes']['length'];++_0x52ca1f){var _0x68fd85=_0xfc4eb2['KeyValueDescriptor']['verify'](_0x510ac2['attributes'][_0x52ca1f],_0x24cb6a+0x1);if(_0x68fd85)return'attributes.'+_0x68fd85;}}return null;},_0x5180db['fromObject']=function(_0x1c1e0b,_0x33cf3d){if(_0x1c1e0b instanceof _0xfc4eb2['UserDescriptor'])return _0x1c1e0b;if(void 0x0===_0x33cf3d&&(_0x33cf3d=0x0),_0x33cf3d>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4a282f=new _0xfc4eb2['UserDescriptor']();if(_0x1c1e0b['attributes']){if(!Array['isArray'](_0x1c1e0b['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x4a282f['attributes']=[];for(var _0x59060b=0x0;_0x59060b<_0x1c1e0b['attributes']['length'];++_0x59060b){if('object'!=typeof _0x1c1e0b['attributes'][_0x59060b])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x4a282f['attributes'][_0x59060b]=_0xfc4eb2['KeyValueDescriptor']['fromObject'](_0x1c1e0b['attributes'][_0x59060b],_0x33cf3d+0x1);}}return _0x4a282f;},_0x5180db['toObject']=function(_0x2a3427,_0x4d30ea){_0x4d30ea||(_0x4d30ea={});var _0xf83ddf={};if((_0x4d30ea['arrays']||_0x4d30ea['defaults'])&&(_0xf83ddf['attributes']=[]),_0x2a3427['attributes']&&_0x2a3427['attributes']['length']){_0xf83ddf['attributes']=[];for(var _0x52e593=0x0;_0x52e593<_0x2a3427['attributes']['length'];++_0x52e593)_0xf83ddf['attributes'][_0x52e593]=_0xfc4eb2['KeyValueDescriptor']['toObject'](_0x2a3427['attributes'][_0x52e593],_0x4d30ea);}return _0xf83ddf;},_0x5180db['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x5180db['getTypeUrl']=function(_0x3cebb4){return void 0x0===_0x3cebb4&&(_0x3cebb4='type.googleapis.com'),_0x3cebb4+'/UserDescriptor';},_0x5180db;}()),_0xfc4eb2['TrackChangesGetSuggestionResponse']=(function(){function _0x13c315(_0x5fd624){if(_0x5fd624){for(var _0x505226=Object['keys'](_0x5fd624),_0x338d2d=0x0;_0x338d2d<_0x505226['length'];++_0x338d2d)null!=_0x5fd624[_0x505226[_0x338d2d]]&&'__proto__'!==_0x505226[_0x338d2d]&&(this[_0x505226[_0x338d2d]]=_0x5fd624[_0x505226[_0x338d2d]]);}}return _0x13c315['prototype']['id']='',_0x13c315['prototype']['authorId']='',_0x13c315['prototype']['type']='',_0x13c315['prototype']['createdAt']='',_0x13c315['prototype']['data']='',_0x13c315['prototype']['hasComments']=!0x1,_0x13c315['prototype']['state']='',_0x13c315['prototype']['attributes']='',_0x13c315['create']=function(_0x27708b){return new _0x13c315(_0x27708b);},_0x13c315['encode']=function(_0x1359af,_0x2d4f19){return _0x2d4f19||(_0x2d4f19=_0xcae49f['create']()),null!=_0x1359af['id']&&Object['hasOwnProperty']['call'](_0x1359af,'id')&&_0x2d4f19['uint32'](0xa)['string'](_0x1359af['id']),null!=_0x1359af['authorId']&&Object['hasOwnProperty']['call'](_0x1359af,'authorId')&&_0x2d4f19['uint32'](0x12)['string'](_0x1359af['authorId']),null!=_0x1359af['type']&&Object['hasOwnProperty']['call'](_0x1359af,'type')&&_0x2d4f19['uint32'](0x1a)['string'](_0x1359af['type']),null!=_0x1359af['createdAt']&&Object['hasOwnProperty']['call'](_0x1359af,'createdAt')&&_0x2d4f19['uint32'](0x22)['string'](_0x1359af['createdAt']),null!=_0x1359af['data']&&Object['hasOwnProperty']['call'](_0x1359af,'data')&&_0x2d4f19['uint32'](0x2a)['string'](_0x1359af['data']),null!=_0x1359af['hasComments']&&Object['hasOwnProperty']['call'](_0x1359af,'hasComments')&&_0x2d4f19['uint32'](0x30)['bool'](_0x1359af['hasComments']),null!=_0x1359af['state']&&Object['hasOwnProperty']['call'](_0x1359af,'state')&&_0x2d4f19['uint32'](0x3a)['string'](_0x1359af['state']),null!=_0x1359af['attributes']&&Object['hasOwnProperty']['call'](_0x1359af,'attributes')&&_0x2d4f19['uint32'](0x42)['string'](_0x1359af['attributes']),_0x2d4f19;},_0x13c315['encodeDelimited']=function(_0x281fc1,_0x3db15c){return this['encode'](_0x281fc1,_0x3db15c)['ldelim']();},_0x13c315['decode']=function(_0x371b0d,_0x1fee23,_0x266e35,_0x48e9fb){if(_0x371b0d instanceof _0x290291||(_0x371b0d=_0x290291['create'](_0x371b0d)),void 0x0===_0x48e9fb&&(_0x48e9fb=0x0),_0x48e9fb>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x497a04=void 0x0===_0x1fee23?_0x371b0d['len']:_0x371b0d['pos']+_0x1fee23,_0x4a7d0e=new _0xfc4eb2['TrackChangesGetSuggestionResponse']();_0x371b0d['pos']<_0x497a04;){var _0x4d76c6=_0x371b0d['uint32']();if(_0x4d76c6===_0x266e35)break;switch(_0x4d76c6>>>0x3){case 0x1:_0x4a7d0e['id']=_0x371b0d['string']();break;case 0x2:_0x4a7d0e['authorId']=_0x371b0d['string']();break;case 0x3:_0x4a7d0e['type']=_0x371b0d['string']();break;case 0x4:_0x4a7d0e['createdAt']=_0x371b0d['string']();break;case 0x5:_0x4a7d0e['data']=_0x371b0d['string']();break;case 0x6:_0x4a7d0e['hasComments']=_0x371b0d['bool']();break;case 0x7:_0x4a7d0e['state']=_0x371b0d['string']();break;case 0x8:_0x4a7d0e['attributes']=_0x371b0d['string']();break;default:_0x371b0d['skipType'](0x7&_0x4d76c6,_0x48e9fb);}}return _0x4a7d0e;},_0x13c315['decodeDelimited']=function(_0x814cd2){return _0x814cd2 instanceof _0x290291||(_0x814cd2=new _0x290291(_0x814cd2)),this['decode'](_0x814cd2,_0x814cd2['uint32']());},_0x13c315['verify']=function(_0xf57d72,_0x33c5e){return'object'!=typeof _0xf57d72||null===_0xf57d72?'object\x20expected':(void 0x0===_0x33c5e&&(_0x33c5e=0x0),_0x33c5e>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xf57d72['id']&&_0xf57d72['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0xf57d72['id'])?'id:\x20string\x20expected':null!=_0xf57d72['authorId']&&_0xf57d72['hasOwnProperty']('authorId')&&!_0x5c599b['isString'](_0xf57d72['authorId'])?'authorId:\x20string\x20expected':null!=_0xf57d72['type']&&_0xf57d72['hasOwnProperty']('type')&&!_0x5c599b['isString'](_0xf57d72['type'])?'type:\x20string\x20expected':null!=_0xf57d72['createdAt']&&_0xf57d72['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0xf57d72['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xf57d72['data']&&_0xf57d72['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0xf57d72['data'])?'data:\x20string\x20expected':null!=_0xf57d72['hasComments']&&_0xf57d72['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0xf57d72['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0xf57d72['state']&&_0xf57d72['hasOwnProperty']('state')&&!_0x5c599b['isString'](_0xf57d72['state'])?'state:\x20string\x20expected':null!=_0xf57d72['attributes']&&_0xf57d72['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0xf57d72['attributes'])?'attributes:\x20string\x20expected':null);},_0x13c315['fromObject']=function(_0x394f29,_0x580266){if(_0x394f29 instanceof _0xfc4eb2['TrackChangesGetSuggestionResponse'])return _0x394f29;if(void 0x0===_0x580266&&(_0x580266=0x0),_0x580266>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4781b1=new _0xfc4eb2['TrackChangesGetSuggestionResponse']();return null!=_0x394f29['id']&&(_0x4781b1['id']=String(_0x394f29['id'])),null!=_0x394f29['authorId']&&(_0x4781b1['authorId']=String(_0x394f29['authorId'])),null!=_0x394f29['type']&&(_0x4781b1['type']=String(_0x394f29['type'])),null!=_0x394f29['createdAt']&&(_0x4781b1['createdAt']=String(_0x394f29['createdAt'])),null!=_0x394f29['data']&&(_0x4781b1['data']=String(_0x394f29['data'])),null!=_0x394f29['hasComments']&&(_0x4781b1['hasComments']=Boolean(_0x394f29['hasComments'])),null!=_0x394f29['state']&&(_0x4781b1['state']=String(_0x394f29['state'])),null!=_0x394f29['attributes']&&(_0x4781b1['attributes']=String(_0x394f29['attributes'])),_0x4781b1;},_0x13c315['toObject']=function(_0x5814bb,_0x31b47e){_0x31b47e||(_0x31b47e={});var _0x35e70c={};return _0x31b47e['defaults']&&(_0x35e70c['id']='',_0x35e70c['authorId']='',_0x35e70c['type']='',_0x35e70c['createdAt']='',_0x35e70c['data']='',_0x35e70c['hasComments']=!0x1,_0x35e70c['state']='',_0x35e70c['attributes']=''),null!=_0x5814bb['id']&&_0x5814bb['hasOwnProperty']('id')&&(_0x35e70c['id']=_0x5814bb['id']),null!=_0x5814bb['authorId']&&_0x5814bb['hasOwnProperty']('authorId')&&(_0x35e70c['authorId']=_0x5814bb['authorId']),null!=_0x5814bb['type']&&_0x5814bb['hasOwnProperty']('type')&&(_0x35e70c['type']=_0x5814bb['type']),null!=_0x5814bb['createdAt']&&_0x5814bb['hasOwnProperty']('createdAt')&&(_0x35e70c['createdAt']=_0x5814bb['createdAt']),null!=_0x5814bb['data']&&_0x5814bb['hasOwnProperty']('data')&&(_0x35e70c['data']=_0x5814bb['data']),null!=_0x5814bb['hasComments']&&_0x5814bb['hasOwnProperty']('hasComments')&&(_0x35e70c['hasComments']=_0x5814bb['hasComments']),null!=_0x5814bb['state']&&_0x5814bb['hasOwnProperty']('state')&&(_0x35e70c['state']=_0x5814bb['state']),null!=_0x5814bb['attributes']&&_0x5814bb['hasOwnProperty']('attributes')&&(_0x35e70c['attributes']=_0x5814bb['attributes']),_0x35e70c;},_0x13c315['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x13c315['getTypeUrl']=function(_0x4337a2){return void 0x0===_0x4337a2&&(_0x4337a2='type.googleapis.com'),_0x4337a2+'/TrackChangesGetSuggestionResponse';},_0x13c315;}()),_0xfc4eb2['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x368b5b(_0x3c4bf1){if(this['suggestions']=[],this['suggestionsV2']=[],_0x3c4bf1){for(var _0x382c89=Object['keys'](_0x3c4bf1),_0x3b957b=0x0;_0x3b957b<_0x382c89['length'];++_0x3b957b)null!=_0x3c4bf1[_0x382c89[_0x3b957b]]&&'__proto__'!==_0x382c89[_0x3b957b]&&(this[_0x382c89[_0x3b957b]]=_0x3c4bf1[_0x382c89[_0x3b957b]]);}}return _0x368b5b['prototype']['suggestions']=_0x5c599b['emptyArray'],_0x368b5b['prototype']['suggestionsV2']=_0x5c599b['emptyArray'],_0x368b5b['create']=function(_0xf4e3dc){return new _0x368b5b(_0xf4e3dc);},_0x368b5b['encode']=function(_0x1c0ddb,_0x224224){if(_0x224224||(_0x224224=_0xcae49f['create']()),null!=_0x1c0ddb['suggestions']&&_0x1c0ddb['suggestions']['length']){for(var _0xe61419=0x0;_0xe61419<_0x1c0ddb['suggestions']['length'];++_0xe61419)_0x224224['uint32'](0xa)['string'](_0x1c0ddb['suggestions'][_0xe61419]);}if(null!=_0x1c0ddb['suggestionsV2']&&_0x1c0ddb['suggestionsV2']['length']){for(_0xe61419=0x0;_0xe61419<_0x1c0ddb['suggestionsV2']['length'];++_0xe61419)_0xfc4eb2['SuggestionDescriptor']['encode'](_0x1c0ddb['suggestionsV2'][_0xe61419],_0x224224['uint32'](0x12)['fork']())['ldelim']();}return _0x224224;},_0x368b5b['encodeDelimited']=function(_0x1bda2e,_0x2a0662){return this['encode'](_0x1bda2e,_0x2a0662)['ldelim']();},_0x368b5b['decode']=function(_0x120586,_0x836641,_0x4ceb43,_0x57e65e){if(_0x120586 instanceof _0x290291||(_0x120586=_0x290291['create'](_0x120586)),void 0x0===_0x57e65e&&(_0x57e65e=0x0),_0x57e65e>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x478e43=void 0x0===_0x836641?_0x120586['len']:_0x120586['pos']+_0x836641,_0x511142=new _0xfc4eb2['TrackChangesGetAllSuggestionsResponse']();_0x120586['pos']<_0x478e43;){var _0x29a80b=_0x120586['uint32']();if(_0x29a80b===_0x4ceb43)break;switch(_0x29a80b>>>0x3){case 0x1:_0x511142['suggestions']&&_0x511142['suggestions']['length']||(_0x511142['suggestions']=[]),_0x511142['suggestions']['push'](_0x120586['string']());break;case 0x2:_0x511142['suggestionsV2']&&_0x511142['suggestionsV2']['length']||(_0x511142['suggestionsV2']=[]),_0x511142['suggestionsV2']['push'](_0xfc4eb2['SuggestionDescriptor']['decode'](_0x120586,_0x120586['uint32'](),void 0x0,_0x57e65e+0x1));break;default:_0x120586['skipType'](0x7&_0x29a80b,_0x57e65e);}}return _0x511142;},_0x368b5b['decodeDelimited']=function(_0x23dec6){return _0x23dec6 instanceof _0x290291||(_0x23dec6=new _0x290291(_0x23dec6)),this['decode'](_0x23dec6,_0x23dec6['uint32']());},_0x368b5b['verify']=function(_0x2ad9e3,_0x4b4d65){if('object'!=typeof _0x2ad9e3||null===_0x2ad9e3)return'object\x20expected';if(void 0x0===_0x4b4d65&&(_0x4b4d65=0x0),_0x4b4d65>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2ad9e3['suggestions']&&_0x2ad9e3['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x2ad9e3['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x281d59=0x0;_0x281d59<_0x2ad9e3['suggestions']['length'];++_0x281d59)if(!_0x5c599b['isString'](_0x2ad9e3['suggestions'][_0x281d59]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x2ad9e3['suggestionsV2']&&_0x2ad9e3['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x2ad9e3['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x281d59=0x0;_0x281d59<_0x2ad9e3['suggestionsV2']['length'];++_0x281d59){var _0x76d4ce=_0xfc4eb2['SuggestionDescriptor']['verify'](_0x2ad9e3['suggestionsV2'][_0x281d59],_0x4b4d65+0x1);if(_0x76d4ce)return'suggestionsV2.'+_0x76d4ce;}}return null;},_0x368b5b['fromObject']=function(_0x586283,_0x33bc79){if(_0x586283 instanceof _0xfc4eb2['TrackChangesGetAllSuggestionsResponse'])return _0x586283;if(void 0x0===_0x33bc79&&(_0x33bc79=0x0),_0x33bc79>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x46bd54=new _0xfc4eb2['TrackChangesGetAllSuggestionsResponse']();if(_0x586283['suggestions']){if(!Array['isArray'](_0x586283['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x46bd54['suggestions']=[];for(var _0x1587b1=0x0;_0x1587b1<_0x586283['suggestions']['length'];++_0x1587b1)_0x46bd54['suggestions'][_0x1587b1]=String(_0x586283['suggestions'][_0x1587b1]);}if(_0x586283['suggestionsV2']){if(!Array['isArray'](_0x586283['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x46bd54['suggestionsV2']=[],_0x1587b1=0x0;_0x1587b1<_0x586283['suggestionsV2']['length'];++_0x1587b1){if('object'!=typeof _0x586283['suggestionsV2'][_0x1587b1])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x46bd54['suggestionsV2'][_0x1587b1]=_0xfc4eb2['SuggestionDescriptor']['fromObject'](_0x586283['suggestionsV2'][_0x1587b1],_0x33bc79+0x1);}}return _0x46bd54;},_0x368b5b['toObject']=function(_0x45045d,_0x3385fc){_0x3385fc||(_0x3385fc={});var _0x48ff98={};if((_0x3385fc['arrays']||_0x3385fc['defaults'])&&(_0x48ff98['suggestions']=[],_0x48ff98['suggestionsV2']=[]),_0x45045d['suggestions']&&_0x45045d['suggestions']['length']){_0x48ff98['suggestions']=[];for(var _0x3d831b=0x0;_0x3d831b<_0x45045d['suggestions']['length'];++_0x3d831b)_0x48ff98['suggestions'][_0x3d831b]=_0x45045d['suggestions'][_0x3d831b];}if(_0x45045d['suggestionsV2']&&_0x45045d['suggestionsV2']['length']){for(_0x48ff98['suggestionsV2']=[],_0x3d831b=0x0;_0x3d831b<_0x45045d['suggestionsV2']['length'];++_0x3d831b)_0x48ff98['suggestionsV2'][_0x3d831b]=_0xfc4eb2['SuggestionDescriptor']['toObject'](_0x45045d['suggestionsV2'][_0x3d831b],_0x3385fc);}return _0x48ff98;},_0x368b5b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x368b5b['getTypeUrl']=function(_0xf41d99){return void 0x0===_0xf41d99&&(_0xf41d99='type.googleapis.com'),_0xf41d99+'/TrackChangesGetAllSuggestionsResponse';},_0x368b5b;}()),_0xfc4eb2['TrackChangesConnectResponse']=(function(){function _0x558383(_0xb66a28){if(this['suggestions']=[],this['suggestionsV2']=[],_0xb66a28){for(var _0x335b36=Object['keys'](_0xb66a28),_0x1b75de=0x0;_0x1b75de<_0x335b36['length'];++_0x1b75de)null!=_0xb66a28[_0x335b36[_0x1b75de]]&&'__proto__'!==_0x335b36[_0x1b75de]&&(this[_0x335b36[_0x1b75de]]=_0xb66a28[_0x335b36[_0x1b75de]]);}}return _0x558383['prototype']['channel']='',_0x558383['prototype']['suggestions']=_0x5c599b['emptyArray'],_0x558383['prototype']['suggestionsV2']=_0x5c599b['emptyArray'],_0x558383['create']=function(_0x371fe6){return new _0x558383(_0x371fe6);},_0x558383['encode']=function(_0x4ea957,_0x4a4193){if(_0x4a4193||(_0x4a4193=_0xcae49f['create']()),null!=_0x4ea957['channel']&&Object['hasOwnProperty']['call'](_0x4ea957,'channel')&&_0x4a4193['uint32'](0xa)['string'](_0x4ea957['channel']),null!=_0x4ea957['suggestions']&&_0x4ea957['suggestions']['length']){for(var _0x3286bf=0x0;_0x3286bf<_0x4ea957['suggestions']['length'];++_0x3286bf)_0x4a4193['uint32'](0x12)['string'](_0x4ea957['suggestions'][_0x3286bf]);}if(null!=_0x4ea957['suggestionsV2']&&_0x4ea957['suggestionsV2']['length']){for(_0x3286bf=0x0;_0x3286bf<_0x4ea957['suggestionsV2']['length'];++_0x3286bf)_0xfc4eb2['SuggestionDescriptor']['encode'](_0x4ea957['suggestionsV2'][_0x3286bf],_0x4a4193['uint32'](0x1a)['fork']())['ldelim']();}return _0x4a4193;},_0x558383['encodeDelimited']=function(_0x542dc1,_0x207579){return this['encode'](_0x542dc1,_0x207579)['ldelim']();},_0x558383['decode']=function(_0x594bbd,_0x295338,_0x2a4a0e,_0x450808){if(_0x594bbd instanceof _0x290291||(_0x594bbd=_0x290291['create'](_0x594bbd)),void 0x0===_0x450808&&(_0x450808=0x0),_0x450808>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x59ace0=void 0x0===_0x295338?_0x594bbd['len']:_0x594bbd['pos']+_0x295338,_0x5b9b99=new _0xfc4eb2['TrackChangesConnectResponse']();_0x594bbd['pos']<_0x59ace0;){var _0x2a34ac=_0x594bbd['uint32']();if(_0x2a34ac===_0x2a4a0e)break;switch(_0x2a34ac>>>0x3){case 0x1:_0x5b9b99['channel']=_0x594bbd['string']();break;case 0x2:_0x5b9b99['suggestions']&&_0x5b9b99['suggestions']['length']||(_0x5b9b99['suggestions']=[]),_0x5b9b99['suggestions']['push'](_0x594bbd['string']());break;case 0x3:_0x5b9b99['suggestionsV2']&&_0x5b9b99['suggestionsV2']['length']||(_0x5b9b99['suggestionsV2']=[]),_0x5b9b99['suggestionsV2']['push'](_0xfc4eb2['SuggestionDescriptor']['decode'](_0x594bbd,_0x594bbd['uint32'](),void 0x0,_0x450808+0x1));break;default:_0x594bbd['skipType'](0x7&_0x2a34ac,_0x450808);}}return _0x5b9b99;},_0x558383['decodeDelimited']=function(_0x19b9c4){return _0x19b9c4 instanceof _0x290291||(_0x19b9c4=new _0x290291(_0x19b9c4)),this['decode'](_0x19b9c4,_0x19b9c4['uint32']());},_0x558383['verify']=function(_0x3b74aa,_0x1e7380){if('object'!=typeof _0x3b74aa||null===_0x3b74aa)return'object\x20expected';if(void 0x0===_0x1e7380&&(_0x1e7380=0x0),_0x1e7380>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3b74aa['channel']&&_0x3b74aa['hasOwnProperty']('channel')&&!_0x5c599b['isString'](_0x3b74aa['channel']))return'channel:\x20string\x20expected';if(null!=_0x3b74aa['suggestions']&&_0x3b74aa['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3b74aa['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1d7c04=0x0;_0x1d7c04<_0x3b74aa['suggestions']['length'];++_0x1d7c04)if(!_0x5c599b['isString'](_0x3b74aa['suggestions'][_0x1d7c04]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3b74aa['suggestionsV2']&&_0x3b74aa['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3b74aa['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1d7c04=0x0;_0x1d7c04<_0x3b74aa['suggestionsV2']['length'];++_0x1d7c04){var _0x14f1f7=_0xfc4eb2['SuggestionDescriptor']['verify'](_0x3b74aa['suggestionsV2'][_0x1d7c04],_0x1e7380+0x1);if(_0x14f1f7)return'suggestionsV2.'+_0x14f1f7;}}return null;},_0x558383['fromObject']=function(_0x2bd013,_0x1e9910){if(_0x2bd013 instanceof _0xfc4eb2['TrackChangesConnectResponse'])return _0x2bd013;if(void 0x0===_0x1e9910&&(_0x1e9910=0x0),_0x1e9910>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4cb12a=new _0xfc4eb2['TrackChangesConnectResponse']();if(null!=_0x2bd013['channel']&&(_0x4cb12a['channel']=String(_0x2bd013['channel'])),_0x2bd013['suggestions']){if(!Array['isArray'](_0x2bd013['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x4cb12a['suggestions']=[];for(var _0x29dc58=0x0;_0x29dc58<_0x2bd013['suggestions']['length'];++_0x29dc58)_0x4cb12a['suggestions'][_0x29dc58]=String(_0x2bd013['suggestions'][_0x29dc58]);}if(_0x2bd013['suggestionsV2']){if(!Array['isArray'](_0x2bd013['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x4cb12a['suggestionsV2']=[],_0x29dc58=0x0;_0x29dc58<_0x2bd013['suggestionsV2']['length'];++_0x29dc58){if('object'!=typeof _0x2bd013['suggestionsV2'][_0x29dc58])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x4cb12a['suggestionsV2'][_0x29dc58]=_0xfc4eb2['SuggestionDescriptor']['fromObject'](_0x2bd013['suggestionsV2'][_0x29dc58],_0x1e9910+0x1);}}return _0x4cb12a;},_0x558383['toObject']=function(_0x56e66a,_0xb067fd){_0xb067fd||(_0xb067fd={});var _0x38bdb8={};if((_0xb067fd['arrays']||_0xb067fd['defaults'])&&(_0x38bdb8['suggestions']=[],_0x38bdb8['suggestionsV2']=[]),_0xb067fd['defaults']&&(_0x38bdb8['channel']=''),null!=_0x56e66a['channel']&&_0x56e66a['hasOwnProperty']('channel')&&(_0x38bdb8['channel']=_0x56e66a['channel']),_0x56e66a['suggestions']&&_0x56e66a['suggestions']['length']){_0x38bdb8['suggestions']=[];for(var _0x135993=0x0;_0x135993<_0x56e66a['suggestions']['length'];++_0x135993)_0x38bdb8['suggestions'][_0x135993]=_0x56e66a['suggestions'][_0x135993];}if(_0x56e66a['suggestionsV2']&&_0x56e66a['suggestionsV2']['length']){for(_0x38bdb8['suggestionsV2']=[],_0x135993=0x0;_0x135993<_0x56e66a['suggestionsV2']['length'];++_0x135993)_0x38bdb8['suggestionsV2'][_0x135993]=_0xfc4eb2['SuggestionDescriptor']['toObject'](_0x56e66a['suggestionsV2'][_0x135993],_0xb067fd);}return _0x38bdb8;},_0x558383['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x558383['getTypeUrl']=function(_0x41c4ba){return void 0x0===_0x41c4ba&&(_0x41c4ba='type.googleapis.com'),_0x41c4ba+'/TrackChangesConnectResponse';},_0x558383;}()),_0xfc4eb2['TrackChangesAddSuggestionResponse']=(function(){function _0x24e107(_0x464729){if(_0x464729){for(var _0x467bd2=Object['keys'](_0x464729),_0x4356b4=0x0;_0x4356b4<_0x467bd2['length'];++_0x4356b4)null!=_0x464729[_0x467bd2[_0x4356b4]]&&'__proto__'!==_0x467bd2[_0x4356b4]&&(this[_0x467bd2[_0x4356b4]]=_0x464729[_0x467bd2[_0x4356b4]]);}}return _0x24e107['prototype']['id']='',_0x24e107['prototype']['authorId']='',_0x24e107['prototype']['type']='',_0x24e107['prototype']['createdAt']='',_0x24e107['prototype']['data']='',_0x24e107['prototype']['hasComments']=!0x1,_0x24e107['prototype']['state']='',_0x24e107['prototype']['attributes']='',_0x24e107['create']=function(_0x2f5e3a){return new _0x24e107(_0x2f5e3a);},_0x24e107['encode']=function(_0x5b418f,_0x58fae6){return _0x58fae6||(_0x58fae6=_0xcae49f['create']()),null!=_0x5b418f['id']&&Object['hasOwnProperty']['call'](_0x5b418f,'id')&&_0x58fae6['uint32'](0xa)['string'](_0x5b418f['id']),null!=_0x5b418f['authorId']&&Object['hasOwnProperty']['call'](_0x5b418f,'authorId')&&_0x58fae6['uint32'](0x12)['string'](_0x5b418f['authorId']),null!=_0x5b418f['type']&&Object['hasOwnProperty']['call'](_0x5b418f,'type')&&_0x58fae6['uint32'](0x1a)['string'](_0x5b418f['type']),null!=_0x5b418f['createdAt']&&Object['hasOwnProperty']['call'](_0x5b418f,'createdAt')&&_0x58fae6['uint32'](0x22)['string'](_0x5b418f['createdAt']),null!=_0x5b418f['data']&&Object['hasOwnProperty']['call'](_0x5b418f,'data')&&_0x58fae6['uint32'](0x2a)['string'](_0x5b418f['data']),null!=_0x5b418f['hasComments']&&Object['hasOwnProperty']['call'](_0x5b418f,'hasComments')&&_0x58fae6['uint32'](0x30)['bool'](_0x5b418f['hasComments']),null!=_0x5b418f['state']&&Object['hasOwnProperty']['call'](_0x5b418f,'state')&&_0x58fae6['uint32'](0x3a)['string'](_0x5b418f['state']),null!=_0x5b418f['attributes']&&Object['hasOwnProperty']['call'](_0x5b418f,'attributes')&&_0x58fae6['uint32'](0x42)['string'](_0x5b418f['attributes']),_0x58fae6;},_0x24e107['encodeDelimited']=function(_0x663a7b,_0x195220){return this['encode'](_0x663a7b,_0x195220)['ldelim']();},_0x24e107['decode']=function(_0x461df0,_0x2dce96,_0x362ad4,_0x20c2a6){if(_0x461df0 instanceof _0x290291||(_0x461df0=_0x290291['create'](_0x461df0)),void 0x0===_0x20c2a6&&(_0x20c2a6=0x0),_0x20c2a6>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x534025=void 0x0===_0x2dce96?_0x461df0['len']:_0x461df0['pos']+_0x2dce96,_0x2872c7=new _0xfc4eb2['TrackChangesAddSuggestionResponse']();_0x461df0['pos']<_0x534025;){var _0x41c787=_0x461df0['uint32']();if(_0x41c787===_0x362ad4)break;switch(_0x41c787>>>0x3){case 0x1:_0x2872c7['id']=_0x461df0['string']();break;case 0x2:_0x2872c7['authorId']=_0x461df0['string']();break;case 0x3:_0x2872c7['type']=_0x461df0['string']();break;case 0x4:_0x2872c7['createdAt']=_0x461df0['string']();break;case 0x5:_0x2872c7['data']=_0x461df0['string']();break;case 0x6:_0x2872c7['hasComments']=_0x461df0['bool']();break;case 0x7:_0x2872c7['state']=_0x461df0['string']();break;case 0x8:_0x2872c7['attributes']=_0x461df0['string']();break;default:_0x461df0['skipType'](0x7&_0x41c787,_0x20c2a6);}}return _0x2872c7;},_0x24e107['decodeDelimited']=function(_0x1f23ad){return _0x1f23ad instanceof _0x290291||(_0x1f23ad=new _0x290291(_0x1f23ad)),this['decode'](_0x1f23ad,_0x1f23ad['uint32']());},_0x24e107['verify']=function(_0x1faf90,_0x55397a){return'object'!=typeof _0x1faf90||null===_0x1faf90?'object\x20expected':(void 0x0===_0x55397a&&(_0x55397a=0x0),_0x55397a>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1faf90['id']&&_0x1faf90['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x1faf90['id'])?'id:\x20string\x20expected':null!=_0x1faf90['authorId']&&_0x1faf90['hasOwnProperty']('authorId')&&!_0x5c599b['isString'](_0x1faf90['authorId'])?'authorId:\x20string\x20expected':null!=_0x1faf90['type']&&_0x1faf90['hasOwnProperty']('type')&&!_0x5c599b['isString'](_0x1faf90['type'])?'type:\x20string\x20expected':null!=_0x1faf90['createdAt']&&_0x1faf90['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x1faf90['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1faf90['data']&&_0x1faf90['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x1faf90['data'])?'data:\x20string\x20expected':null!=_0x1faf90['hasComments']&&_0x1faf90['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1faf90['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1faf90['state']&&_0x1faf90['hasOwnProperty']('state')&&!_0x5c599b['isString'](_0x1faf90['state'])?'state:\x20string\x20expected':null!=_0x1faf90['attributes']&&_0x1faf90['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x1faf90['attributes'])?'attributes:\x20string\x20expected':null);},_0x24e107['fromObject']=function(_0x1a781b,_0x30b489){if(_0x1a781b instanceof _0xfc4eb2['TrackChangesAddSuggestionResponse'])return _0x1a781b;if(void 0x0===_0x30b489&&(_0x30b489=0x0),_0x30b489>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4bbc6c=new _0xfc4eb2['TrackChangesAddSuggestionResponse']();return null!=_0x1a781b['id']&&(_0x4bbc6c['id']=String(_0x1a781b['id'])),null!=_0x1a781b['authorId']&&(_0x4bbc6c['authorId']=String(_0x1a781b['authorId'])),null!=_0x1a781b['type']&&(_0x4bbc6c['type']=String(_0x1a781b['type'])),null!=_0x1a781b['createdAt']&&(_0x4bbc6c['createdAt']=String(_0x1a781b['createdAt'])),null!=_0x1a781b['data']&&(_0x4bbc6c['data']=String(_0x1a781b['data'])),null!=_0x1a781b['hasComments']&&(_0x4bbc6c['hasComments']=Boolean(_0x1a781b['hasComments'])),null!=_0x1a781b['state']&&(_0x4bbc6c['state']=String(_0x1a781b['state'])),null!=_0x1a781b['attributes']&&(_0x4bbc6c['attributes']=String(_0x1a781b['attributes'])),_0x4bbc6c;},_0x24e107['toObject']=function(_0x19260,_0x5d5bbf){_0x5d5bbf||(_0x5d5bbf={});var _0x13005c={};return _0x5d5bbf['defaults']&&(_0x13005c['id']='',_0x13005c['authorId']='',_0x13005c['type']='',_0x13005c['createdAt']='',_0x13005c['data']='',_0x13005c['hasComments']=!0x1,_0x13005c['state']='',_0x13005c['attributes']=''),null!=_0x19260['id']&&_0x19260['hasOwnProperty']('id')&&(_0x13005c['id']=_0x19260['id']),null!=_0x19260['authorId']&&_0x19260['hasOwnProperty']('authorId')&&(_0x13005c['authorId']=_0x19260['authorId']),null!=_0x19260['type']&&_0x19260['hasOwnProperty']('type')&&(_0x13005c['type']=_0x19260['type']),null!=_0x19260['createdAt']&&_0x19260['hasOwnProperty']('createdAt')&&(_0x13005c['createdAt']=_0x19260['createdAt']),null!=_0x19260['data']&&_0x19260['hasOwnProperty']('data')&&(_0x13005c['data']=_0x19260['data']),null!=_0x19260['hasComments']&&_0x19260['hasOwnProperty']('hasComments')&&(_0x13005c['hasComments']=_0x19260['hasComments']),null!=_0x19260['state']&&_0x19260['hasOwnProperty']('state')&&(_0x13005c['state']=_0x19260['state']),null!=_0x19260['attributes']&&_0x19260['hasOwnProperty']('attributes')&&(_0x13005c['attributes']=_0x19260['attributes']),_0x13005c;},_0x24e107['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x24e107['getTypeUrl']=function(_0xea8a4d){return void 0x0===_0xea8a4d&&(_0xea8a4d='type.googleapis.com'),_0xea8a4d+'/TrackChangesAddSuggestionResponse';},_0x24e107;}()),_0xfc4eb2['TrackChangesUpdateSuggestionMessage']=(function(){function _0x37f630(_0x102d29){if(_0x102d29){for(var _0x58c003=Object['keys'](_0x102d29),_0x2101a0=0x0;_0x2101a0<_0x58c003['length'];++_0x2101a0)null!=_0x102d29[_0x58c003[_0x2101a0]]&&'__proto__'!==_0x58c003[_0x2101a0]&&(this[_0x58c003[_0x2101a0]]=_0x102d29[_0x58c003[_0x2101a0]]);}}return _0x37f630['prototype']['id']='',_0x37f630['prototype']['documentId']='',_0x37f630['prototype']['hasComments']=!0x1,_0x37f630['prototype']['isHasCommentsModified']=!0x1,_0x37f630['prototype']['state']='',_0x37f630['prototype']['attributes']='',_0x37f630['create']=function(_0x32f9ef){return new _0x37f630(_0x32f9ef);},_0x37f630['encode']=function(_0x206ffa,_0x5dab75){return _0x5dab75||(_0x5dab75=_0xcae49f['create']()),null!=_0x206ffa['id']&&Object['hasOwnProperty']['call'](_0x206ffa,'id')&&_0x5dab75['uint32'](0xa)['string'](_0x206ffa['id']),null!=_0x206ffa['documentId']&&Object['hasOwnProperty']['call'](_0x206ffa,'documentId')&&_0x5dab75['uint32'](0x12)['string'](_0x206ffa['documentId']),null!=_0x206ffa['hasComments']&&Object['hasOwnProperty']['call'](_0x206ffa,'hasComments')&&_0x5dab75['uint32'](0x18)['bool'](_0x206ffa['hasComments']),null!=_0x206ffa['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x206ffa,'isHasCommentsModified')&&_0x5dab75['uint32'](0x20)['bool'](_0x206ffa['isHasCommentsModified']),null!=_0x206ffa['state']&&Object['hasOwnProperty']['call'](_0x206ffa,'state')&&_0x5dab75['uint32'](0x2a)['string'](_0x206ffa['state']),null!=_0x206ffa['attributes']&&Object['hasOwnProperty']['call'](_0x206ffa,'attributes')&&_0x5dab75['uint32'](0x32)['string'](_0x206ffa['attributes']),_0x5dab75;},_0x37f630['encodeDelimited']=function(_0x4397ac,_0x3bb65c){return this['encode'](_0x4397ac,_0x3bb65c)['ldelim']();},_0x37f630['decode']=function(_0x10dcee,_0x5a2dc7,_0x242482,_0x2373ad){if(_0x10dcee instanceof _0x290291||(_0x10dcee=_0x290291['create'](_0x10dcee)),void 0x0===_0x2373ad&&(_0x2373ad=0x0),_0x2373ad>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32c7ef=void 0x0===_0x5a2dc7?_0x10dcee['len']:_0x10dcee['pos']+_0x5a2dc7,_0x575146=new _0xfc4eb2['TrackChangesUpdateSuggestionMessage']();_0x10dcee['pos']<_0x32c7ef;){var _0x375b61=_0x10dcee['uint32']();if(_0x375b61===_0x242482)break;switch(_0x375b61>>>0x3){case 0x1:_0x575146['id']=_0x10dcee['string']();break;case 0x2:_0x575146['documentId']=_0x10dcee['string']();break;case 0x3:_0x575146['hasComments']=_0x10dcee['bool']();break;case 0x4:_0x575146['isHasCommentsModified']=_0x10dcee['bool']();break;case 0x5:_0x575146['state']=_0x10dcee['string']();break;case 0x6:_0x575146['attributes']=_0x10dcee['string']();break;default:_0x10dcee['skipType'](0x7&_0x375b61,_0x2373ad);}}return _0x575146;},_0x37f630['decodeDelimited']=function(_0x3db64a){return _0x3db64a instanceof _0x290291||(_0x3db64a=new _0x290291(_0x3db64a)),this['decode'](_0x3db64a,_0x3db64a['uint32']());},_0x37f630['verify']=function(_0x2aa159,_0x3f3fdb){return'object'!=typeof _0x2aa159||null===_0x2aa159?'object\x20expected':(void 0x0===_0x3f3fdb&&(_0x3f3fdb=0x0),_0x3f3fdb>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2aa159['id']&&_0x2aa159['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x2aa159['id'])?'id:\x20string\x20expected':null!=_0x2aa159['documentId']&&_0x2aa159['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x2aa159['documentId'])?'documentId:\x20string\x20expected':null!=_0x2aa159['hasComments']&&_0x2aa159['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2aa159['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2aa159['isHasCommentsModified']&&_0x2aa159['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x2aa159['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x2aa159['state']&&_0x2aa159['hasOwnProperty']('state')&&!_0x5c599b['isString'](_0x2aa159['state'])?'state:\x20string\x20expected':null!=_0x2aa159['attributes']&&_0x2aa159['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x2aa159['attributes'])?'attributes:\x20string\x20expected':null);},_0x37f630['fromObject']=function(_0x4e3d64,_0x3baa0a){if(_0x4e3d64 instanceof _0xfc4eb2['TrackChangesUpdateSuggestionMessage'])return _0x4e3d64;if(void 0x0===_0x3baa0a&&(_0x3baa0a=0x0),_0x3baa0a>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x433b52=new _0xfc4eb2['TrackChangesUpdateSuggestionMessage']();return null!=_0x4e3d64['id']&&(_0x433b52['id']=String(_0x4e3d64['id'])),null!=_0x4e3d64['documentId']&&(_0x433b52['documentId']=String(_0x4e3d64['documentId'])),null!=_0x4e3d64['hasComments']&&(_0x433b52['hasComments']=Boolean(_0x4e3d64['hasComments'])),null!=_0x4e3d64['isHasCommentsModified']&&(_0x433b52['isHasCommentsModified']=Boolean(_0x4e3d64['isHasCommentsModified'])),null!=_0x4e3d64['state']&&(_0x433b52['state']=String(_0x4e3d64['state'])),null!=_0x4e3d64['attributes']&&(_0x433b52['attributes']=String(_0x4e3d64['attributes'])),_0x433b52;},_0x37f630['toObject']=function(_0x1334b1,_0x68e4a4){_0x68e4a4||(_0x68e4a4={});var _0x57967e={};return _0x68e4a4['defaults']&&(_0x57967e['id']='',_0x57967e['documentId']='',_0x57967e['hasComments']=!0x1,_0x57967e['isHasCommentsModified']=!0x1,_0x57967e['state']='',_0x57967e['attributes']=''),null!=_0x1334b1['id']&&_0x1334b1['hasOwnProperty']('id')&&(_0x57967e['id']=_0x1334b1['id']),null!=_0x1334b1['documentId']&&_0x1334b1['hasOwnProperty']('documentId')&&(_0x57967e['documentId']=_0x1334b1['documentId']),null!=_0x1334b1['hasComments']&&_0x1334b1['hasOwnProperty']('hasComments')&&(_0x57967e['hasComments']=_0x1334b1['hasComments']),null!=_0x1334b1['isHasCommentsModified']&&_0x1334b1['hasOwnProperty']('isHasCommentsModified')&&(_0x57967e['isHasCommentsModified']=_0x1334b1['isHasCommentsModified']),null!=_0x1334b1['state']&&_0x1334b1['hasOwnProperty']('state')&&(_0x57967e['state']=_0x1334b1['state']),null!=_0x1334b1['attributes']&&_0x1334b1['hasOwnProperty']('attributes')&&(_0x57967e['attributes']=_0x1334b1['attributes']),_0x57967e;},_0x37f630['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x37f630['getTypeUrl']=function(_0x28467c){return void 0x0===_0x28467c&&(_0x28467c='type.googleapis.com'),_0x28467c+'/TrackChangesUpdateSuggestionMessage';},_0x37f630;}()),_0xfc4eb2['TrackChangesGetSuggestionMessage']=(function(){function _0x14ee4d(_0x1101bf){if(_0x1101bf){for(var _0x1421c4=Object['keys'](_0x1101bf),_0x7e64f5=0x0;_0x7e64f5<_0x1421c4['length'];++_0x7e64f5)null!=_0x1101bf[_0x1421c4[_0x7e64f5]]&&'__proto__'!==_0x1421c4[_0x7e64f5]&&(this[_0x1421c4[_0x7e64f5]]=_0x1101bf[_0x1421c4[_0x7e64f5]]);}}return _0x14ee4d['prototype']['id']='',_0x14ee4d['prototype']['documentId']='',_0x14ee4d['create']=function(_0x2a8b84){return new _0x14ee4d(_0x2a8b84);},_0x14ee4d['encode']=function(_0x2487ef,_0x4e2a78){return _0x4e2a78||(_0x4e2a78=_0xcae49f['create']()),null!=_0x2487ef['id']&&Object['hasOwnProperty']['call'](_0x2487ef,'id')&&_0x4e2a78['uint32'](0xa)['string'](_0x2487ef['id']),null!=_0x2487ef['documentId']&&Object['hasOwnProperty']['call'](_0x2487ef,'documentId')&&_0x4e2a78['uint32'](0x12)['string'](_0x2487ef['documentId']),_0x4e2a78;},_0x14ee4d['encodeDelimited']=function(_0x19a4e6,_0x4cf96c){return this['encode'](_0x19a4e6,_0x4cf96c)['ldelim']();},_0x14ee4d['decode']=function(_0xc65d61,_0xcdb795,_0x10094a,_0x1b55e9){if(_0xc65d61 instanceof _0x290291||(_0xc65d61=_0x290291['create'](_0xc65d61)),void 0x0===_0x1b55e9&&(_0x1b55e9=0x0),_0x1b55e9>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e00ca=void 0x0===_0xcdb795?_0xc65d61['len']:_0xc65d61['pos']+_0xcdb795,_0x30a5cf=new _0xfc4eb2['TrackChangesGetSuggestionMessage']();_0xc65d61['pos']<_0x1e00ca;){var _0x31ee91=_0xc65d61['uint32']();if(_0x31ee91===_0x10094a)break;switch(_0x31ee91>>>0x3){case 0x1:_0x30a5cf['id']=_0xc65d61['string']();break;case 0x2:_0x30a5cf['documentId']=_0xc65d61['string']();break;default:_0xc65d61['skipType'](0x7&_0x31ee91,_0x1b55e9);}}return _0x30a5cf;},_0x14ee4d['decodeDelimited']=function(_0x58ca2e){return _0x58ca2e instanceof _0x290291||(_0x58ca2e=new _0x290291(_0x58ca2e)),this['decode'](_0x58ca2e,_0x58ca2e['uint32']());},_0x14ee4d['verify']=function(_0x1363df,_0x9fa7f8){return'object'!=typeof _0x1363df||null===_0x1363df?'object\x20expected':(void 0x0===_0x9fa7f8&&(_0x9fa7f8=0x0),_0x9fa7f8>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1363df['id']&&_0x1363df['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x1363df['id'])?'id:\x20string\x20expected':null!=_0x1363df['documentId']&&_0x1363df['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x1363df['documentId'])?'documentId:\x20string\x20expected':null);},_0x14ee4d['fromObject']=function(_0x2f9b99,_0x13cc0c){if(_0x2f9b99 instanceof _0xfc4eb2['TrackChangesGetSuggestionMessage'])return _0x2f9b99;if(void 0x0===_0x13cc0c&&(_0x13cc0c=0x0),_0x13cc0c>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ddba6=new _0xfc4eb2['TrackChangesGetSuggestionMessage']();return null!=_0x2f9b99['id']&&(_0x3ddba6['id']=String(_0x2f9b99['id'])),null!=_0x2f9b99['documentId']&&(_0x3ddba6['documentId']=String(_0x2f9b99['documentId'])),_0x3ddba6;},_0x14ee4d['toObject']=function(_0x5521c9,_0x543aba){_0x543aba||(_0x543aba={});var _0x325f22={};return _0x543aba['defaults']&&(_0x325f22['id']='',_0x325f22['documentId']=''),null!=_0x5521c9['id']&&_0x5521c9['hasOwnProperty']('id')&&(_0x325f22['id']=_0x5521c9['id']),null!=_0x5521c9['documentId']&&_0x5521c9['hasOwnProperty']('documentId')&&(_0x325f22['documentId']=_0x5521c9['documentId']),_0x325f22;},_0x14ee4d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x14ee4d['getTypeUrl']=function(_0x56e03c){return void 0x0===_0x56e03c&&(_0x56e03c='type.googleapis.com'),_0x56e03c+'/TrackChangesGetSuggestionMessage';},_0x14ee4d;}()),_0xfc4eb2['TrackChangesGetAllSuggestionMessage']=(function(){function _0x46ba13(_0x425935){if(_0x425935){for(var _0x152d41=Object['keys'](_0x425935),_0x452988=0x0;_0x452988<_0x152d41['length'];++_0x452988)null!=_0x425935[_0x152d41[_0x452988]]&&'__proto__'!==_0x152d41[_0x452988]&&(this[_0x152d41[_0x452988]]=_0x425935[_0x152d41[_0x452988]]);}}return _0x46ba13['prototype']['documentId']='',_0x46ba13['create']=function(_0x51921a){return new _0x46ba13(_0x51921a);},_0x46ba13['encode']=function(_0x3ba606,_0x21460b){return _0x21460b||(_0x21460b=_0xcae49f['create']()),null!=_0x3ba606['documentId']&&Object['hasOwnProperty']['call'](_0x3ba606,'documentId')&&_0x21460b['uint32'](0xa)['string'](_0x3ba606['documentId']),_0x21460b;},_0x46ba13['encodeDelimited']=function(_0x4632ff,_0x3cc098){return this['encode'](_0x4632ff,_0x3cc098)['ldelim']();},_0x46ba13['decode']=function(_0x2d14b8,_0x541fd6,_0x542cf6,_0x3cc3dc){if(_0x2d14b8 instanceof _0x290291||(_0x2d14b8=_0x290291['create'](_0x2d14b8)),void 0x0===_0x3cc3dc&&(_0x3cc3dc=0x0),_0x3cc3dc>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a75bf=void 0x0===_0x541fd6?_0x2d14b8['len']:_0x2d14b8['pos']+_0x541fd6,_0x428459=new _0xfc4eb2['TrackChangesGetAllSuggestionMessage']();_0x2d14b8['pos']<_0x5a75bf;){var _0x23fc09=_0x2d14b8['uint32']();if(_0x23fc09===_0x542cf6)break;_0x23fc09>>>0x3==0x1?_0x428459['documentId']=_0x2d14b8['string']():_0x2d14b8['skipType'](0x7&_0x23fc09,_0x3cc3dc);}return _0x428459;},_0x46ba13['decodeDelimited']=function(_0x2010b4){return _0x2010b4 instanceof _0x290291||(_0x2010b4=new _0x290291(_0x2010b4)),this['decode'](_0x2010b4,_0x2010b4['uint32']());},_0x46ba13['verify']=function(_0x530bbe,_0x2109dd){return'object'!=typeof _0x530bbe||null===_0x530bbe?'object\x20expected':(void 0x0===_0x2109dd&&(_0x2109dd=0x0),_0x2109dd>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x530bbe['documentId']&&_0x530bbe['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x530bbe['documentId'])?'documentId:\x20string\x20expected':null);},_0x46ba13['fromObject']=function(_0x1f2f04,_0x4b3553){if(_0x1f2f04 instanceof _0xfc4eb2['TrackChangesGetAllSuggestionMessage'])return _0x1f2f04;if(void 0x0===_0x4b3553&&(_0x4b3553=0x0),_0x4b3553>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x207e38=new _0xfc4eb2['TrackChangesGetAllSuggestionMessage']();return null!=_0x1f2f04['documentId']&&(_0x207e38['documentId']=String(_0x1f2f04['documentId'])),_0x207e38;},_0x46ba13['toObject']=function(_0x3e1abe,_0x5e57d8){_0x5e57d8||(_0x5e57d8={});var _0x516cc6={};return _0x5e57d8['defaults']&&(_0x516cc6['documentId']=''),null!=_0x3e1abe['documentId']&&_0x3e1abe['hasOwnProperty']('documentId')&&(_0x516cc6['documentId']=_0x3e1abe['documentId']),_0x516cc6;},_0x46ba13['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x46ba13['getTypeUrl']=function(_0x9c072b){return void 0x0===_0x9c072b&&(_0x9c072b='type.googleapis.com'),_0x9c072b+'/TrackChangesGetAllSuggestionMessage';},_0x46ba13;}()),_0xfc4eb2['TrackChangesConnectMessage']=(function(){function _0x4a6843(_0xc1ab5b){if(_0xc1ab5b){for(var _0x1707f6=Object['keys'](_0xc1ab5b),_0x4c646f=0x0;_0x4c646f<_0x1707f6['length'];++_0x4c646f)null!=_0xc1ab5b[_0x1707f6[_0x4c646f]]&&'__proto__'!==_0x1707f6[_0x4c646f]&&(this[_0x1707f6[_0x4c646f]]=_0xc1ab5b[_0x1707f6[_0x4c646f]]);}}return _0x4a6843['prototype']['documentId']='',_0x4a6843['create']=function(_0x42a0a8){return new _0x4a6843(_0x42a0a8);},_0x4a6843['encode']=function(_0x1011ae,_0x4382fe){return _0x4382fe||(_0x4382fe=_0xcae49f['create']()),null!=_0x1011ae['documentId']&&Object['hasOwnProperty']['call'](_0x1011ae,'documentId')&&_0x4382fe['uint32'](0xa)['string'](_0x1011ae['documentId']),_0x4382fe;},_0x4a6843['encodeDelimited']=function(_0x115c8d,_0x807a2){return this['encode'](_0x115c8d,_0x807a2)['ldelim']();},_0x4a6843['decode']=function(_0x139d00,_0x7f3fe5,_0x3fa2fc,_0x48bf14){if(_0x139d00 instanceof _0x290291||(_0x139d00=_0x290291['create'](_0x139d00)),void 0x0===_0x48bf14&&(_0x48bf14=0x0),_0x48bf14>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd3e996=void 0x0===_0x7f3fe5?_0x139d00['len']:_0x139d00['pos']+_0x7f3fe5,_0x5f55e8=new _0xfc4eb2['TrackChangesConnectMessage']();_0x139d00['pos']<_0xd3e996;){var _0x123914=_0x139d00['uint32']();if(_0x123914===_0x3fa2fc)break;_0x123914>>>0x3==0x1?_0x5f55e8['documentId']=_0x139d00['string']():_0x139d00['skipType'](0x7&_0x123914,_0x48bf14);}return _0x5f55e8;},_0x4a6843['decodeDelimited']=function(_0x45cf4c){return _0x45cf4c instanceof _0x290291||(_0x45cf4c=new _0x290291(_0x45cf4c)),this['decode'](_0x45cf4c,_0x45cf4c['uint32']());},_0x4a6843['verify']=function(_0x147039,_0x3438b3){return'object'!=typeof _0x147039||null===_0x147039?'object\x20expected':(void 0x0===_0x3438b3&&(_0x3438b3=0x0),_0x3438b3>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x147039['documentId']&&_0x147039['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x147039['documentId'])?'documentId:\x20string\x20expected':null);},_0x4a6843['fromObject']=function(_0x58f99f,_0x5cc450){if(_0x58f99f instanceof _0xfc4eb2['TrackChangesConnectMessage'])return _0x58f99f;if(void 0x0===_0x5cc450&&(_0x5cc450=0x0),_0x5cc450>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xe7c557=new _0xfc4eb2['TrackChangesConnectMessage']();return null!=_0x58f99f['documentId']&&(_0xe7c557['documentId']=String(_0x58f99f['documentId'])),_0xe7c557;},_0x4a6843['toObject']=function(_0x14faf2,_0x49bbff){_0x49bbff||(_0x49bbff={});var _0x31c5c2={};return _0x49bbff['defaults']&&(_0x31c5c2['documentId']=''),null!=_0x14faf2['documentId']&&_0x14faf2['hasOwnProperty']('documentId')&&(_0x31c5c2['documentId']=_0x14faf2['documentId']),_0x31c5c2;},_0x4a6843['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x4a6843['getTypeUrl']=function(_0x496aff){return void 0x0===_0x496aff&&(_0x496aff='type.googleapis.com'),_0x496aff+'/TrackChangesConnectMessage';},_0x4a6843;}()),_0xfc4eb2['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x257801(_0x5d2a47){if(this['ids']=[],_0x5d2a47){for(var _0x5d7e56=Object['keys'](_0x5d2a47),_0x32733b=0x0;_0x32733b<_0x5d7e56['length'];++_0x32733b)null!=_0x5d2a47[_0x5d7e56[_0x32733b]]&&'__proto__'!==_0x5d7e56[_0x32733b]&&(this[_0x5d7e56[_0x32733b]]=_0x5d2a47[_0x5d7e56[_0x32733b]]);}}return _0x257801['prototype']['ids']=_0x5c599b['emptyArray'],_0x257801['prototype']['documentId']='',_0x257801['prototype']['state']='',_0x257801['create']=function(_0xa479c7){return new _0x257801(_0xa479c7);},_0x257801['encode']=function(_0x184aec,_0x55e93e){if(_0x55e93e||(_0x55e93e=_0xcae49f['create']()),null!=_0x184aec['ids']&&_0x184aec['ids']['length']){for(var _0x4b7104=0x0;_0x4b7104<_0x184aec['ids']['length'];++_0x4b7104)_0x55e93e['uint32'](0xa)['string'](_0x184aec['ids'][_0x4b7104]);}return null!=_0x184aec['documentId']&&Object['hasOwnProperty']['call'](_0x184aec,'documentId')&&_0x55e93e['uint32'](0x12)['string'](_0x184aec['documentId']),null!=_0x184aec['state']&&Object['hasOwnProperty']['call'](_0x184aec,'state')&&_0x55e93e['uint32'](0x1a)['string'](_0x184aec['state']),_0x55e93e;},_0x257801['encodeDelimited']=function(_0x51bbf8,_0x507895){return this['encode'](_0x51bbf8,_0x507895)['ldelim']();},_0x257801['decode']=function(_0x194f70,_0x7ebcbc,_0x5b00b2,_0x3ebf7e){if(_0x194f70 instanceof _0x290291||(_0x194f70=_0x290291['create'](_0x194f70)),void 0x0===_0x3ebf7e&&(_0x3ebf7e=0x0),_0x3ebf7e>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x332687=void 0x0===_0x7ebcbc?_0x194f70['len']:_0x194f70['pos']+_0x7ebcbc,_0x4566b0=new _0xfc4eb2['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x194f70['pos']<_0x332687;){var _0x287c13=_0x194f70['uint32']();if(_0x287c13===_0x5b00b2)break;switch(_0x287c13>>>0x3){case 0x1:_0x4566b0['ids']&&_0x4566b0['ids']['length']||(_0x4566b0['ids']=[]),_0x4566b0['ids']['push'](_0x194f70['string']());break;case 0x2:_0x4566b0['documentId']=_0x194f70['string']();break;case 0x3:_0x4566b0['state']=_0x194f70['string']();break;default:_0x194f70['skipType'](0x7&_0x287c13,_0x3ebf7e);}}return _0x4566b0;},_0x257801['decodeDelimited']=function(_0x30ff5a){return _0x30ff5a instanceof _0x290291||(_0x30ff5a=new _0x290291(_0x30ff5a)),this['decode'](_0x30ff5a,_0x30ff5a['uint32']());},_0x257801['verify']=function(_0x43abac,_0x37f219){if('object'!=typeof _0x43abac||null===_0x43abac)return'object\x20expected';if(void 0x0===_0x37f219&&(_0x37f219=0x0),_0x37f219>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x43abac['ids']&&_0x43abac['hasOwnProperty']('ids')){if(!Array['isArray'](_0x43abac['ids']))return'ids:\x20array\x20expected';for(var _0x1b806d=0x0;_0x1b806d<_0x43abac['ids']['length'];++_0x1b806d)if(!_0x5c599b['isString'](_0x43abac['ids'][_0x1b806d]))return'ids:\x20string[]\x20expected';}return null!=_0x43abac['documentId']&&_0x43abac['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x43abac['documentId'])?'documentId:\x20string\x20expected':null!=_0x43abac['state']&&_0x43abac['hasOwnProperty']('state')&&!_0x5c599b['isString'](_0x43abac['state'])?'state:\x20string\x20expected':null;},_0x257801['fromObject']=function(_0x210cee,_0x2b17d4){if(_0x210cee instanceof _0xfc4eb2['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x210cee;if(void 0x0===_0x2b17d4&&(_0x2b17d4=0x0),_0x2b17d4>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2c85db=new _0xfc4eb2['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x210cee['ids']){if(!Array['isArray'](_0x210cee['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x2c85db['ids']=[];for(var _0x2c175f=0x0;_0x2c175f<_0x210cee['ids']['length'];++_0x2c175f)_0x2c85db['ids'][_0x2c175f]=String(_0x210cee['ids'][_0x2c175f]);}return null!=_0x210cee['documentId']&&(_0x2c85db['documentId']=String(_0x210cee['documentId'])),null!=_0x210cee['state']&&(_0x2c85db['state']=String(_0x210cee['state'])),_0x2c85db;},_0x257801['toObject']=function(_0x2965b4,_0x23cd24){_0x23cd24||(_0x23cd24={});var _0x3c4d6b={};if((_0x23cd24['arrays']||_0x23cd24['defaults'])&&(_0x3c4d6b['ids']=[]),_0x23cd24['defaults']&&(_0x3c4d6b['documentId']='',_0x3c4d6b['state']=''),_0x2965b4['ids']&&_0x2965b4['ids']['length']){_0x3c4d6b['ids']=[];for(var _0x2aed28=0x0;_0x2aed28<_0x2965b4['ids']['length'];++_0x2aed28)_0x3c4d6b['ids'][_0x2aed28]=_0x2965b4['ids'][_0x2aed28];}return null!=_0x2965b4['documentId']&&_0x2965b4['hasOwnProperty']('documentId')&&(_0x3c4d6b['documentId']=_0x2965b4['documentId']),null!=_0x2965b4['state']&&_0x2965b4['hasOwnProperty']('state')&&(_0x3c4d6b['state']=_0x2965b4['state']),_0x3c4d6b;},_0x257801['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x257801['getTypeUrl']=function(_0x27c387){return void 0x0===_0x27c387&&(_0x27c387='type.googleapis.com'),_0x27c387+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x257801;}()),_0xfc4eb2['TrackChangesAddSuggestionMessage']=(function(){function _0x124b05(_0x43a02a){if(_0x43a02a){for(var _0x34939e=Object['keys'](_0x43a02a),_0x86ec10=0x0;_0x86ec10<_0x34939e['length'];++_0x86ec10)null!=_0x43a02a[_0x34939e[_0x86ec10]]&&'__proto__'!==_0x34939e[_0x86ec10]&&(this[_0x34939e[_0x86ec10]]=_0x43a02a[_0x34939e[_0x86ec10]]);}}return _0x124b05['prototype']['id']='',_0x124b05['prototype']['documentId']='',_0x124b05['prototype']['type']='',_0x124b05['prototype']['data']='',_0x124b05['prototype']['originalSuggestionId']='',_0x124b05['prototype']['attributes']='',_0x124b05['create']=function(_0x1ef8cd){return new _0x124b05(_0x1ef8cd);},_0x124b05['encode']=function(_0x16d225,_0x755e2f){return _0x755e2f||(_0x755e2f=_0xcae49f['create']()),null!=_0x16d225['id']&&Object['hasOwnProperty']['call'](_0x16d225,'id')&&_0x755e2f['uint32'](0xa)['string'](_0x16d225['id']),null!=_0x16d225['documentId']&&Object['hasOwnProperty']['call'](_0x16d225,'documentId')&&_0x755e2f['uint32'](0x12)['string'](_0x16d225['documentId']),null!=_0x16d225['type']&&Object['hasOwnProperty']['call'](_0x16d225,'type')&&_0x755e2f['uint32'](0x1a)['string'](_0x16d225['type']),null!=_0x16d225['data']&&Object['hasOwnProperty']['call'](_0x16d225,'data')&&_0x755e2f['uint32'](0x22)['string'](_0x16d225['data']),null!=_0x16d225['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x16d225,'originalSuggestionId')&&_0x755e2f['uint32'](0x2a)['string'](_0x16d225['originalSuggestionId']),null!=_0x16d225['attributes']&&Object['hasOwnProperty']['call'](_0x16d225,'attributes')&&_0x755e2f['uint32'](0x32)['string'](_0x16d225['attributes']),_0x755e2f;},_0x124b05['encodeDelimited']=function(_0x4b9c7e,_0xfcc380){return this['encode'](_0x4b9c7e,_0xfcc380)['ldelim']();},_0x124b05['decode']=function(_0x177c36,_0xcde5c8,_0x94e630,_0x4151ab){if(_0x177c36 instanceof _0x290291||(_0x177c36=_0x290291['create'](_0x177c36)),void 0x0===_0x4151ab&&(_0x4151ab=0x0),_0x4151ab>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x436937=void 0x0===_0xcde5c8?_0x177c36['len']:_0x177c36['pos']+_0xcde5c8,_0x5b1284=new _0xfc4eb2['TrackChangesAddSuggestionMessage']();_0x177c36['pos']<_0x436937;){var _0x4f87c3=_0x177c36['uint32']();if(_0x4f87c3===_0x94e630)break;switch(_0x4f87c3>>>0x3){case 0x1:_0x5b1284['id']=_0x177c36['string']();break;case 0x2:_0x5b1284['documentId']=_0x177c36['string']();break;case 0x3:_0x5b1284['type']=_0x177c36['string']();break;case 0x4:_0x5b1284['data']=_0x177c36['string']();break;case 0x5:_0x5b1284['originalSuggestionId']=_0x177c36['string']();break;case 0x6:_0x5b1284['attributes']=_0x177c36['string']();break;default:_0x177c36['skipType'](0x7&_0x4f87c3,_0x4151ab);}}return _0x5b1284;},_0x124b05['decodeDelimited']=function(_0x2fa52c){return _0x2fa52c instanceof _0x290291||(_0x2fa52c=new _0x290291(_0x2fa52c)),this['decode'](_0x2fa52c,_0x2fa52c['uint32']());},_0x124b05['verify']=function(_0x175d4b,_0x412df1){return'object'!=typeof _0x175d4b||null===_0x175d4b?'object\x20expected':(void 0x0===_0x412df1&&(_0x412df1=0x0),_0x412df1>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x175d4b['id']&&_0x175d4b['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x175d4b['id'])?'id:\x20string\x20expected':null!=_0x175d4b['documentId']&&_0x175d4b['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x175d4b['documentId'])?'documentId:\x20string\x20expected':null!=_0x175d4b['type']&&_0x175d4b['hasOwnProperty']('type')&&!_0x5c599b['isString'](_0x175d4b['type'])?'type:\x20string\x20expected':null!=_0x175d4b['data']&&_0x175d4b['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x175d4b['data'])?'data:\x20string\x20expected':null!=_0x175d4b['originalSuggestionId']&&_0x175d4b['hasOwnProperty']('originalSuggestionId')&&!_0x5c599b['isString'](_0x175d4b['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x175d4b['attributes']&&_0x175d4b['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x175d4b['attributes'])?'attributes:\x20string\x20expected':null);},_0x124b05['fromObject']=function(_0xe7f395,_0x320c04){if(_0xe7f395 instanceof _0xfc4eb2['TrackChangesAddSuggestionMessage'])return _0xe7f395;if(void 0x0===_0x320c04&&(_0x320c04=0x0),_0x320c04>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x45c242=new _0xfc4eb2['TrackChangesAddSuggestionMessage']();return null!=_0xe7f395['id']&&(_0x45c242['id']=String(_0xe7f395['id'])),null!=_0xe7f395['documentId']&&(_0x45c242['documentId']=String(_0xe7f395['documentId'])),null!=_0xe7f395['type']&&(_0x45c242['type']=String(_0xe7f395['type'])),null!=_0xe7f395['data']&&(_0x45c242['data']=String(_0xe7f395['data'])),null!=_0xe7f395['originalSuggestionId']&&(_0x45c242['originalSuggestionId']=String(_0xe7f395['originalSuggestionId'])),null!=_0xe7f395['attributes']&&(_0x45c242['attributes']=String(_0xe7f395['attributes'])),_0x45c242;},_0x124b05['toObject']=function(_0x17a05f,_0x340d61){_0x340d61||(_0x340d61={});var _0x1228d3={};return _0x340d61['defaults']&&(_0x1228d3['id']='',_0x1228d3['documentId']='',_0x1228d3['type']='',_0x1228d3['data']='',_0x1228d3['originalSuggestionId']='',_0x1228d3['attributes']=''),null!=_0x17a05f['id']&&_0x17a05f['hasOwnProperty']('id')&&(_0x1228d3['id']=_0x17a05f['id']),null!=_0x17a05f['documentId']&&_0x17a05f['hasOwnProperty']('documentId')&&(_0x1228d3['documentId']=_0x17a05f['documentId']),null!=_0x17a05f['type']&&_0x17a05f['hasOwnProperty']('type')&&(_0x1228d3['type']=_0x17a05f['type']),null!=_0x17a05f['data']&&_0x17a05f['hasOwnProperty']('data')&&(_0x1228d3['data']=_0x17a05f['data']),null!=_0x17a05f['originalSuggestionId']&&_0x17a05f['hasOwnProperty']('originalSuggestionId')&&(_0x1228d3['originalSuggestionId']=_0x17a05f['originalSuggestionId']),null!=_0x17a05f['attributes']&&_0x17a05f['hasOwnProperty']('attributes')&&(_0x1228d3['attributes']=_0x17a05f['attributes']),_0x1228d3;},_0x124b05['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x124b05['getTypeUrl']=function(_0x2840b8){return void 0x0===_0x2840b8&&(_0x2840b8='type.googleapis.com'),_0x2840b8+'/TrackChangesAddSuggestionMessage';},_0x124b05;}()),_0xfc4eb2['SuggestionDescriptor']=(function(){function _0x26db63(_0x1a5051){if(_0x1a5051){for(var _0x23162f=Object['keys'](_0x1a5051),_0x1f39a4=0x0;_0x1f39a4<_0x23162f['length'];++_0x1f39a4)null!=_0x1a5051[_0x23162f[_0x1f39a4]]&&'__proto__'!==_0x23162f[_0x1f39a4]&&(this[_0x23162f[_0x1f39a4]]=_0x1a5051[_0x23162f[_0x1f39a4]]);}}return _0x26db63['prototype']['id']='',_0x26db63['prototype']['authorId']='',_0x26db63['prototype']['type']='',_0x26db63['prototype']['createdAt']='',_0x26db63['prototype']['data']='',_0x26db63['prototype']['hasComments']=!0x1,_0x26db63['prototype']['state']='',_0x26db63['prototype']['attributes']='',_0x26db63['create']=function(_0xc6967d){return new _0x26db63(_0xc6967d);},_0x26db63['encode']=function(_0x385529,_0x169a36){return _0x169a36||(_0x169a36=_0xcae49f['create']()),null!=_0x385529['id']&&Object['hasOwnProperty']['call'](_0x385529,'id')&&_0x169a36['uint32'](0xa)['string'](_0x385529['id']),null!=_0x385529['authorId']&&Object['hasOwnProperty']['call'](_0x385529,'authorId')&&_0x169a36['uint32'](0x12)['string'](_0x385529['authorId']),null!=_0x385529['type']&&Object['hasOwnProperty']['call'](_0x385529,'type')&&_0x169a36['uint32'](0x1a)['string'](_0x385529['type']),null!=_0x385529['createdAt']&&Object['hasOwnProperty']['call'](_0x385529,'createdAt')&&_0x169a36['uint32'](0x22)['string'](_0x385529['createdAt']),null!=_0x385529['data']&&Object['hasOwnProperty']['call'](_0x385529,'data')&&_0x169a36['uint32'](0x2a)['string'](_0x385529['data']),null!=_0x385529['hasComments']&&Object['hasOwnProperty']['call'](_0x385529,'hasComments')&&_0x169a36['uint32'](0x30)['bool'](_0x385529['hasComments']),null!=_0x385529['state']&&Object['hasOwnProperty']['call'](_0x385529,'state')&&_0x169a36['uint32'](0x3a)['string'](_0x385529['state']),null!=_0x385529['attributes']&&Object['hasOwnProperty']['call'](_0x385529,'attributes')&&_0x169a36['uint32'](0x42)['string'](_0x385529['attributes']),_0x169a36;},_0x26db63['encodeDelimited']=function(_0x3630a4,_0x5be53a){return this['encode'](_0x3630a4,_0x5be53a)['ldelim']();},_0x26db63['decode']=function(_0x2c33ef,_0x29eea8,_0x520249,_0x5a0a90){if(_0x2c33ef instanceof _0x290291||(_0x2c33ef=_0x290291['create'](_0x2c33ef)),void 0x0===_0x5a0a90&&(_0x5a0a90=0x0),_0x5a0a90>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5af55f=void 0x0===_0x29eea8?_0x2c33ef['len']:_0x2c33ef['pos']+_0x29eea8,_0x377601=new _0xfc4eb2['SuggestionDescriptor']();_0x2c33ef['pos']<_0x5af55f;){var _0x455a32=_0x2c33ef['uint32']();if(_0x455a32===_0x520249)break;switch(_0x455a32>>>0x3){case 0x1:_0x377601['id']=_0x2c33ef['string']();break;case 0x2:_0x377601['authorId']=_0x2c33ef['string']();break;case 0x3:_0x377601['type']=_0x2c33ef['string']();break;case 0x4:_0x377601['createdAt']=_0x2c33ef['string']();break;case 0x5:_0x377601['data']=_0x2c33ef['string']();break;case 0x6:_0x377601['hasComments']=_0x2c33ef['bool']();break;case 0x7:_0x377601['state']=_0x2c33ef['string']();break;case 0x8:_0x377601['attributes']=_0x2c33ef['string']();break;default:_0x2c33ef['skipType'](0x7&_0x455a32,_0x5a0a90);}}return _0x377601;},_0x26db63['decodeDelimited']=function(_0x551875){return _0x551875 instanceof _0x290291||(_0x551875=new _0x290291(_0x551875)),this['decode'](_0x551875,_0x551875['uint32']());},_0x26db63['verify']=function(_0x1ee5d7,_0xbc005f){return'object'!=typeof _0x1ee5d7||null===_0x1ee5d7?'object\x20expected':(void 0x0===_0xbc005f&&(_0xbc005f=0x0),_0xbc005f>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1ee5d7['id']&&_0x1ee5d7['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x1ee5d7['id'])?'id:\x20string\x20expected':null!=_0x1ee5d7['authorId']&&_0x1ee5d7['hasOwnProperty']('authorId')&&!_0x5c599b['isString'](_0x1ee5d7['authorId'])?'authorId:\x20string\x20expected':null!=_0x1ee5d7['type']&&_0x1ee5d7['hasOwnProperty']('type')&&!_0x5c599b['isString'](_0x1ee5d7['type'])?'type:\x20string\x20expected':null!=_0x1ee5d7['createdAt']&&_0x1ee5d7['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x1ee5d7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1ee5d7['data']&&_0x1ee5d7['hasOwnProperty']('data')&&!_0x5c599b['isString'](_0x1ee5d7['data'])?'data:\x20string\x20expected':null!=_0x1ee5d7['hasComments']&&_0x1ee5d7['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1ee5d7['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1ee5d7['state']&&_0x1ee5d7['hasOwnProperty']('state')&&!_0x5c599b['isString'](_0x1ee5d7['state'])?'state:\x20string\x20expected':null!=_0x1ee5d7['attributes']&&_0x1ee5d7['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x1ee5d7['attributes'])?'attributes:\x20string\x20expected':null);},_0x26db63['fromObject']=function(_0xbba81c,_0x237eff){if(_0xbba81c instanceof _0xfc4eb2['SuggestionDescriptor'])return _0xbba81c;if(void 0x0===_0x237eff&&(_0x237eff=0x0),_0x237eff>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x53fa1a=new _0xfc4eb2['SuggestionDescriptor']();return null!=_0xbba81c['id']&&(_0x53fa1a['id']=String(_0xbba81c['id'])),null!=_0xbba81c['authorId']&&(_0x53fa1a['authorId']=String(_0xbba81c['authorId'])),null!=_0xbba81c['type']&&(_0x53fa1a['type']=String(_0xbba81c['type'])),null!=_0xbba81c['createdAt']&&(_0x53fa1a['createdAt']=String(_0xbba81c['createdAt'])),null!=_0xbba81c['data']&&(_0x53fa1a['data']=String(_0xbba81c['data'])),null!=_0xbba81c['hasComments']&&(_0x53fa1a['hasComments']=Boolean(_0xbba81c['hasComments'])),null!=_0xbba81c['state']&&(_0x53fa1a['state']=String(_0xbba81c['state'])),null!=_0xbba81c['attributes']&&(_0x53fa1a['attributes']=String(_0xbba81c['attributes'])),_0x53fa1a;},_0x26db63['toObject']=function(_0x5c7945,_0x4427b6){_0x4427b6||(_0x4427b6={});var _0x4f6532={};return _0x4427b6['defaults']&&(_0x4f6532['id']='',_0x4f6532['authorId']='',_0x4f6532['type']='',_0x4f6532['createdAt']='',_0x4f6532['data']='',_0x4f6532['hasComments']=!0x1,_0x4f6532['state']='',_0x4f6532['attributes']=''),null!=_0x5c7945['id']&&_0x5c7945['hasOwnProperty']('id')&&(_0x4f6532['id']=_0x5c7945['id']),null!=_0x5c7945['authorId']&&_0x5c7945['hasOwnProperty']('authorId')&&(_0x4f6532['authorId']=_0x5c7945['authorId']),null!=_0x5c7945['type']&&_0x5c7945['hasOwnProperty']('type')&&(_0x4f6532['type']=_0x5c7945['type']),null!=_0x5c7945['createdAt']&&_0x5c7945['hasOwnProperty']('createdAt')&&(_0x4f6532['createdAt']=_0x5c7945['createdAt']),null!=_0x5c7945['data']&&_0x5c7945['hasOwnProperty']('data')&&(_0x4f6532['data']=_0x5c7945['data']),null!=_0x5c7945['hasComments']&&_0x5c7945['hasOwnProperty']('hasComments')&&(_0x4f6532['hasComments']=_0x5c7945['hasComments']),null!=_0x5c7945['state']&&_0x5c7945['hasOwnProperty']('state')&&(_0x4f6532['state']=_0x5c7945['state']),null!=_0x5c7945['attributes']&&_0x5c7945['hasOwnProperty']('attributes')&&(_0x4f6532['attributes']=_0x5c7945['attributes']),_0x4f6532;},_0x26db63['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x26db63['getTypeUrl']=function(_0x36abc8){return void 0x0===_0x36abc8&&(_0x36abc8='type.googleapis.com'),_0x36abc8+'/SuggestionDescriptor';},_0x26db63;}()),_0xfc4eb2['SessionsConnectResponse']=(function(){function _0x46a6f4(_0x409617){if(this['sockets']=[],_0x409617){for(var _0x25ed74=Object['keys'](_0x409617),_0x243a9b=0x0;_0x243a9b<_0x25ed74['length'];++_0x243a9b)null!=_0x409617[_0x25ed74[_0x243a9b]]&&'__proto__'!==_0x25ed74[_0x243a9b]&&(this[_0x25ed74[_0x243a9b]]=_0x409617[_0x25ed74[_0x243a9b]]);}}return _0x46a6f4['prototype']['channel']='',_0x46a6f4['prototype']['sockets']=_0x5c599b['emptyArray'],_0x46a6f4['create']=function(_0x55fa17){return new _0x46a6f4(_0x55fa17);},_0x46a6f4['encode']=function(_0x1b19be,_0x1ff2fb){if(_0x1ff2fb||(_0x1ff2fb=_0xcae49f['create']()),null!=_0x1b19be['channel']&&Object['hasOwnProperty']['call'](_0x1b19be,'channel')&&_0x1ff2fb['uint32'](0xa)['string'](_0x1b19be['channel']),null!=_0x1b19be['sockets']&&_0x1b19be['sockets']['length']){for(var _0xc14bf3=0x0;_0xc14bf3<_0x1b19be['sockets']['length'];++_0xc14bf3)_0xfc4eb2['SessionsSocketDescriptor']['encode'](_0x1b19be['sockets'][_0xc14bf3],_0x1ff2fb['uint32'](0x12)['fork']())['ldelim']();}return _0x1ff2fb;},_0x46a6f4['encodeDelimited']=function(_0x14c267,_0x54cdcd){return this['encode'](_0x14c267,_0x54cdcd)['ldelim']();},_0x46a6f4['decode']=function(_0x1c8be8,_0x37f3c9,_0x24397b,_0x29e000){if(_0x1c8be8 instanceof _0x290291||(_0x1c8be8=_0x290291['create'](_0x1c8be8)),void 0x0===_0x29e000&&(_0x29e000=0x0),_0x29e000>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54e121=void 0x0===_0x37f3c9?_0x1c8be8['len']:_0x1c8be8['pos']+_0x37f3c9,_0x3cebc5=new _0xfc4eb2['SessionsConnectResponse']();_0x1c8be8['pos']<_0x54e121;){var _0x2563f2=_0x1c8be8['uint32']();if(_0x2563f2===_0x24397b)break;switch(_0x2563f2>>>0x3){case 0x1:_0x3cebc5['channel']=_0x1c8be8['string']();break;case 0x2:_0x3cebc5['sockets']&&_0x3cebc5['sockets']['length']||(_0x3cebc5['sockets']=[]),_0x3cebc5['sockets']['push'](_0xfc4eb2['SessionsSocketDescriptor']['decode'](_0x1c8be8,_0x1c8be8['uint32'](),void 0x0,_0x29e000+0x1));break;default:_0x1c8be8['skipType'](0x7&_0x2563f2,_0x29e000);}}return _0x3cebc5;},_0x46a6f4['decodeDelimited']=function(_0x3f8afc){return _0x3f8afc instanceof _0x290291||(_0x3f8afc=new _0x290291(_0x3f8afc)),this['decode'](_0x3f8afc,_0x3f8afc['uint32']());},_0x46a6f4['verify']=function(_0x42f324,_0x3e9992){if('object'!=typeof _0x42f324||null===_0x42f324)return'object\x20expected';if(void 0x0===_0x3e9992&&(_0x3e9992=0x0),_0x3e9992>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x42f324['channel']&&_0x42f324['hasOwnProperty']('channel')&&!_0x5c599b['isString'](_0x42f324['channel']))return'channel:\x20string\x20expected';if(null!=_0x42f324['sockets']&&_0x42f324['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x42f324['sockets']))return'sockets:\x20array\x20expected';for(var _0x53e95c=0x0;_0x53e95c<_0x42f324['sockets']['length'];++_0x53e95c){var _0x16fb0d=_0xfc4eb2['SessionsSocketDescriptor']['verify'](_0x42f324['sockets'][_0x53e95c],_0x3e9992+0x1);if(_0x16fb0d)return'sockets.'+_0x16fb0d;}}return null;},_0x46a6f4['fromObject']=function(_0x460197,_0x436492){if(_0x460197 instanceof _0xfc4eb2['SessionsConnectResponse'])return _0x460197;if(void 0x0===_0x436492&&(_0x436492=0x0),_0x436492>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x9abbf3=new _0xfc4eb2['SessionsConnectResponse']();if(null!=_0x460197['channel']&&(_0x9abbf3['channel']=String(_0x460197['channel'])),_0x460197['sockets']){if(!Array['isArray'](_0x460197['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x9abbf3['sockets']=[];for(var _0x2d7c26=0x0;_0x2d7c26<_0x460197['sockets']['length'];++_0x2d7c26){if('object'!=typeof _0x460197['sockets'][_0x2d7c26])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x9abbf3['sockets'][_0x2d7c26]=_0xfc4eb2['SessionsSocketDescriptor']['fromObject'](_0x460197['sockets'][_0x2d7c26],_0x436492+0x1);}}return _0x9abbf3;},_0x46a6f4['toObject']=function(_0x308629,_0x1364c6){_0x1364c6||(_0x1364c6={});var _0x55a338={};if((_0x1364c6['arrays']||_0x1364c6['defaults'])&&(_0x55a338['sockets']=[]),_0x1364c6['defaults']&&(_0x55a338['channel']=''),null!=_0x308629['channel']&&_0x308629['hasOwnProperty']('channel')&&(_0x55a338['channel']=_0x308629['channel']),_0x308629['sockets']&&_0x308629['sockets']['length']){_0x55a338['sockets']=[];for(var _0x427717=0x0;_0x427717<_0x308629['sockets']['length'];++_0x427717)_0x55a338['sockets'][_0x427717]=_0xfc4eb2['SessionsSocketDescriptor']['toObject'](_0x308629['sockets'][_0x427717],_0x1364c6);}return _0x55a338;},_0x46a6f4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x46a6f4['getTypeUrl']=function(_0x20dcf3){return void 0x0===_0x20dcf3&&(_0x20dcf3='type.googleapis.com'),_0x20dcf3+'/SessionsConnectResponse';},_0x46a6f4;}()),_0xfc4eb2['SocketDisconnectMessage']=(function(){function _0x2de6d1(_0x26e232){if(_0x26e232){for(var _0x2b28d0=Object['keys'](_0x26e232),_0xed0a4d=0x0;_0xed0a4d<_0x2b28d0['length'];++_0xed0a4d)null!=_0x26e232[_0x2b28d0[_0xed0a4d]]&&'__proto__'!==_0x2b28d0[_0xed0a4d]&&(this[_0x2b28d0[_0xed0a4d]]=_0x26e232[_0x2b28d0[_0xed0a4d]]);}}return _0x2de6d1['prototype']['id']='',_0x2de6d1['create']=function(_0x251cc4){return new _0x2de6d1(_0x251cc4);},_0x2de6d1['encode']=function(_0xf80639,_0x4da411){return _0x4da411||(_0x4da411=_0xcae49f['create']()),null!=_0xf80639['id']&&Object['hasOwnProperty']['call'](_0xf80639,'id')&&_0x4da411['uint32'](0xa)['string'](_0xf80639['id']),_0x4da411;},_0x2de6d1['encodeDelimited']=function(_0x50a626,_0x1fb9e1){return this['encode'](_0x50a626,_0x1fb9e1)['ldelim']();},_0x2de6d1['decode']=function(_0x229703,_0x63e4c1,_0x249bbd,_0x1b187a){if(_0x229703 instanceof _0x290291||(_0x229703=_0x290291['create'](_0x229703)),void 0x0===_0x1b187a&&(_0x1b187a=0x0),_0x1b187a>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x22520b=void 0x0===_0x63e4c1?_0x229703['len']:_0x229703['pos']+_0x63e4c1,_0x4f0c08=new _0xfc4eb2['SocketDisconnectMessage']();_0x229703['pos']<_0x22520b;){var _0x482bd7=_0x229703['uint32']();if(_0x482bd7===_0x249bbd)break;_0x482bd7>>>0x3==0x1?_0x4f0c08['id']=_0x229703['string']():_0x229703['skipType'](0x7&_0x482bd7,_0x1b187a);}return _0x4f0c08;},_0x2de6d1['decodeDelimited']=function(_0x137ef6){return _0x137ef6 instanceof _0x290291||(_0x137ef6=new _0x290291(_0x137ef6)),this['decode'](_0x137ef6,_0x137ef6['uint32']());},_0x2de6d1['verify']=function(_0x14521e,_0x69d4d7){return'object'!=typeof _0x14521e||null===_0x14521e?'object\x20expected':(void 0x0===_0x69d4d7&&(_0x69d4d7=0x0),_0x69d4d7>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x14521e['id']&&_0x14521e['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x14521e['id'])?'id:\x20string\x20expected':null);},_0x2de6d1['fromObject']=function(_0x108ec8,_0x3bfc43){if(_0x108ec8 instanceof _0xfc4eb2['SocketDisconnectMessage'])return _0x108ec8;if(void 0x0===_0x3bfc43&&(_0x3bfc43=0x0),_0x3bfc43>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x11362f=new _0xfc4eb2['SocketDisconnectMessage']();return null!=_0x108ec8['id']&&(_0x11362f['id']=String(_0x108ec8['id'])),_0x11362f;},_0x2de6d1['toObject']=function(_0x459e41,_0x3cf0a9){_0x3cf0a9||(_0x3cf0a9={});var _0x346212={};return _0x3cf0a9['defaults']&&(_0x346212['id']=''),null!=_0x459e41['id']&&_0x459e41['hasOwnProperty']('id')&&(_0x346212['id']=_0x459e41['id']),_0x346212;},_0x2de6d1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2de6d1['getTypeUrl']=function(_0x2c63bc){return void 0x0===_0x2c63bc&&(_0x2c63bc='type.googleapis.com'),_0x2c63bc+'/SocketDisconnectMessage';},_0x2de6d1;}()),_0xfc4eb2['SocketConnectMessage']=(function(){function _0x11f800(_0x61fa9b){if(this['permissions']=[],_0x61fa9b){for(var _0x415fbb=Object['keys'](_0x61fa9b),_0x1d3e77=0x0;_0x1d3e77<_0x415fbb['length'];++_0x1d3e77)null!=_0x61fa9b[_0x415fbb[_0x1d3e77]]&&'__proto__'!==_0x415fbb[_0x1d3e77]&&(this[_0x415fbb[_0x1d3e77]]=_0x61fa9b[_0x415fbb[_0x1d3e77]]);}}return _0x11f800['prototype']['id']='',_0x11f800['prototype']['userId']='',_0x11f800['prototype']['role']='',_0x11f800['prototype']['permissions']=_0x5c599b['emptyArray'],_0x11f800['create']=function(_0x3a06ed){return new _0x11f800(_0x3a06ed);},_0x11f800['encode']=function(_0x360e6d,_0x44e250){if(_0x44e250||(_0x44e250=_0xcae49f['create']()),null!=_0x360e6d['id']&&Object['hasOwnProperty']['call'](_0x360e6d,'id')&&_0x44e250['uint32'](0xa)['string'](_0x360e6d['id']),null!=_0x360e6d['userId']&&Object['hasOwnProperty']['call'](_0x360e6d,'userId')&&_0x44e250['uint32'](0x12)['string'](_0x360e6d['userId']),null!=_0x360e6d['role']&&Object['hasOwnProperty']['call'](_0x360e6d,'role')&&_0x44e250['uint32'](0x1a)['string'](_0x360e6d['role']),null!=_0x360e6d['permissions']&&_0x360e6d['permissions']['length']){for(var _0x373cb7=0x0;_0x373cb7<_0x360e6d['permissions']['length'];++_0x373cb7)_0x44e250['uint32'](0x22)['string'](_0x360e6d['permissions'][_0x373cb7]);}return _0x44e250;},_0x11f800['encodeDelimited']=function(_0x1495a9,_0x50a824){return this['encode'](_0x1495a9,_0x50a824)['ldelim']();},_0x11f800['decode']=function(_0x2e4cfb,_0x248f51,_0x5b04b5,_0x134bb5){if(_0x2e4cfb instanceof _0x290291||(_0x2e4cfb=_0x290291['create'](_0x2e4cfb)),void 0x0===_0x134bb5&&(_0x134bb5=0x0),_0x134bb5>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x57bc38=void 0x0===_0x248f51?_0x2e4cfb['len']:_0x2e4cfb['pos']+_0x248f51,_0x1c052b=new _0xfc4eb2['SocketConnectMessage']();_0x2e4cfb['pos']<_0x57bc38;){var _0xbb46bc=_0x2e4cfb['uint32']();if(_0xbb46bc===_0x5b04b5)break;switch(_0xbb46bc>>>0x3){case 0x1:_0x1c052b['id']=_0x2e4cfb['string']();break;case 0x2:_0x1c052b['userId']=_0x2e4cfb['string']();break;case 0x3:_0x1c052b['role']=_0x2e4cfb['string']();break;case 0x4:_0x1c052b['permissions']&&_0x1c052b['permissions']['length']||(_0x1c052b['permissions']=[]),_0x1c052b['permissions']['push'](_0x2e4cfb['string']());break;default:_0x2e4cfb['skipType'](0x7&_0xbb46bc,_0x134bb5);}}return _0x1c052b;},_0x11f800['decodeDelimited']=function(_0x110e02){return _0x110e02 instanceof _0x290291||(_0x110e02=new _0x290291(_0x110e02)),this['decode'](_0x110e02,_0x110e02['uint32']());},_0x11f800['verify']=function(_0x516569,_0x2422f7){if('object'!=typeof _0x516569||null===_0x516569)return'object\x20expected';if(void 0x0===_0x2422f7&&(_0x2422f7=0x0),_0x2422f7>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x516569['id']&&_0x516569['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x516569['id']))return'id:\x20string\x20expected';if(null!=_0x516569['userId']&&_0x516569['hasOwnProperty']('userId')&&!_0x5c599b['isString'](_0x516569['userId']))return'userId:\x20string\x20expected';if(null!=_0x516569['role']&&_0x516569['hasOwnProperty']('role')&&!_0x5c599b['isString'](_0x516569['role']))return'role:\x20string\x20expected';if(null!=_0x516569['permissions']&&_0x516569['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x516569['permissions']))return'permissions:\x20array\x20expected';for(var _0x4775f1=0x0;_0x4775f1<_0x516569['permissions']['length'];++_0x4775f1)if(!_0x5c599b['isString'](_0x516569['permissions'][_0x4775f1]))return'permissions:\x20string[]\x20expected';}return null;},_0x11f800['fromObject']=function(_0x1cfd48,_0x27ef7e){if(_0x1cfd48 instanceof _0xfc4eb2['SocketConnectMessage'])return _0x1cfd48;if(void 0x0===_0x27ef7e&&(_0x27ef7e=0x0),_0x27ef7e>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5a0307=new _0xfc4eb2['SocketConnectMessage']();if(null!=_0x1cfd48['id']&&(_0x5a0307['id']=String(_0x1cfd48['id'])),null!=_0x1cfd48['userId']&&(_0x5a0307['userId']=String(_0x1cfd48['userId'])),null!=_0x1cfd48['role']&&(_0x5a0307['role']=String(_0x1cfd48['role'])),_0x1cfd48['permissions']){if(!Array['isArray'](_0x1cfd48['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x5a0307['permissions']=[];for(var _0x9c197a=0x0;_0x9c197a<_0x1cfd48['permissions']['length'];++_0x9c197a)_0x5a0307['permissions'][_0x9c197a]=String(_0x1cfd48['permissions'][_0x9c197a]);}return _0x5a0307;},_0x11f800['toObject']=function(_0x17712a,_0x5b73f8){_0x5b73f8||(_0x5b73f8={});var _0x118d5e={};if((_0x5b73f8['arrays']||_0x5b73f8['defaults'])&&(_0x118d5e['permissions']=[]),_0x5b73f8['defaults']&&(_0x118d5e['id']='',_0x118d5e['userId']='',_0x118d5e['role']=''),null!=_0x17712a['id']&&_0x17712a['hasOwnProperty']('id')&&(_0x118d5e['id']=_0x17712a['id']),null!=_0x17712a['userId']&&_0x17712a['hasOwnProperty']('userId')&&(_0x118d5e['userId']=_0x17712a['userId']),null!=_0x17712a['role']&&_0x17712a['hasOwnProperty']('role')&&(_0x118d5e['role']=_0x17712a['role']),_0x17712a['permissions']&&_0x17712a['permissions']['length']){_0x118d5e['permissions']=[];for(var _0x1ee19b=0x0;_0x1ee19b<_0x17712a['permissions']['length'];++_0x1ee19b)_0x118d5e['permissions'][_0x1ee19b]=_0x17712a['permissions'][_0x1ee19b];}return _0x118d5e;},_0x11f800['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x11f800['getTypeUrl']=function(_0x3d3d19){return void 0x0===_0x3d3d19&&(_0x3d3d19='type.googleapis.com'),_0x3d3d19+'/SocketConnectMessage';},_0x11f800;}()),_0xfc4eb2['SessionsConnectMessage']=(function(){function _0x59211f(_0x182540){if(_0x182540){for(var _0x20f25c=Object['keys'](_0x182540),_0x29a4b0=0x0;_0x29a4b0<_0x20f25c['length'];++_0x29a4b0)null!=_0x182540[_0x20f25c[_0x29a4b0]]&&'__proto__'!==_0x20f25c[_0x29a4b0]&&(this[_0x20f25c[_0x29a4b0]]=_0x182540[_0x20f25c[_0x29a4b0]]);}}return _0x59211f['prototype']['id']='',_0x59211f['prototype']['sessionType']=0x0,_0x59211f['create']=function(_0x52a8b3){return new _0x59211f(_0x52a8b3);},_0x59211f['encode']=function(_0x16f81a,_0x3dc44){return _0x3dc44||(_0x3dc44=_0xcae49f['create']()),null!=_0x16f81a['id']&&Object['hasOwnProperty']['call'](_0x16f81a,'id')&&_0x3dc44['uint32'](0xa)['string'](_0x16f81a['id']),null!=_0x16f81a['sessionType']&&Object['hasOwnProperty']['call'](_0x16f81a,'sessionType')&&_0x3dc44['uint32'](0x10)['uint32'](_0x16f81a['sessionType']),_0x3dc44;},_0x59211f['encodeDelimited']=function(_0x41e053,_0x3aab86){return this['encode'](_0x41e053,_0x3aab86)['ldelim']();},_0x59211f['decode']=function(_0x4cd811,_0x239167,_0x335e48,_0x324ca3){if(_0x4cd811 instanceof _0x290291||(_0x4cd811=_0x290291['create'](_0x4cd811)),void 0x0===_0x324ca3&&(_0x324ca3=0x0),_0x324ca3>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x57e6f1=void 0x0===_0x239167?_0x4cd811['len']:_0x4cd811['pos']+_0x239167,_0x163ac3=new _0xfc4eb2['SessionsConnectMessage']();_0x4cd811['pos']<_0x57e6f1;){var _0x36ffc0=_0x4cd811['uint32']();if(_0x36ffc0===_0x335e48)break;switch(_0x36ffc0>>>0x3){case 0x1:_0x163ac3['id']=_0x4cd811['string']();break;case 0x2:_0x163ac3['sessionType']=_0x4cd811['uint32']();break;default:_0x4cd811['skipType'](0x7&_0x36ffc0,_0x324ca3);}}return _0x163ac3;},_0x59211f['decodeDelimited']=function(_0x4f6907){return _0x4f6907 instanceof _0x290291||(_0x4f6907=new _0x290291(_0x4f6907)),this['decode'](_0x4f6907,_0x4f6907['uint32']());},_0x59211f['verify']=function(_0x44fd9e,_0x5e0147){return'object'!=typeof _0x44fd9e||null===_0x44fd9e?'object\x20expected':(void 0x0===_0x5e0147&&(_0x5e0147=0x0),_0x5e0147>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x44fd9e['id']&&_0x44fd9e['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x44fd9e['id'])?'id:\x20string\x20expected':null!=_0x44fd9e['sessionType']&&_0x44fd9e['hasOwnProperty']('sessionType')&&!_0x5c599b['isInteger'](_0x44fd9e['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0x59211f['fromObject']=function(_0x478c7f,_0x34eebd){if(_0x478c7f instanceof _0xfc4eb2['SessionsConnectMessage'])return _0x478c7f;if(void 0x0===_0x34eebd&&(_0x34eebd=0x0),_0x34eebd>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4cf091=new _0xfc4eb2['SessionsConnectMessage']();return null!=_0x478c7f['id']&&(_0x4cf091['id']=String(_0x478c7f['id'])),null!=_0x478c7f['sessionType']&&(_0x4cf091['sessionType']=_0x478c7f['sessionType']>>>0x0),_0x4cf091;},_0x59211f['toObject']=function(_0x3470db,_0x1d736c){_0x1d736c||(_0x1d736c={});var _0x48021e={};return _0x1d736c['defaults']&&(_0x48021e['id']='',_0x48021e['sessionType']=0x0),null!=_0x3470db['id']&&_0x3470db['hasOwnProperty']('id')&&(_0x48021e['id']=_0x3470db['id']),null!=_0x3470db['sessionType']&&_0x3470db['hasOwnProperty']('sessionType')&&(_0x48021e['sessionType']=_0x3470db['sessionType']),_0x48021e;},_0x59211f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x59211f['getTypeUrl']=function(_0x461d80){return void 0x0===_0x461d80&&(_0x461d80='type.googleapis.com'),_0x461d80+'/SessionsConnectMessage';},_0x59211f;}()),_0xfc4eb2['SessionsSocketDescriptor']=(function(){function _0x40bc62(_0x26a197){if(this['permissions']=[],_0x26a197){for(var _0x11214e=Object['keys'](_0x26a197),_0x598c69=0x0;_0x598c69<_0x11214e['length'];++_0x598c69)null!=_0x26a197[_0x11214e[_0x598c69]]&&'__proto__'!==_0x11214e[_0x598c69]&&(this[_0x11214e[_0x598c69]]=_0x26a197[_0x11214e[_0x598c69]]);}}return _0x40bc62['prototype']['session']='',_0x40bc62['prototype']['user']='',_0x40bc62['prototype']['role']='',_0x40bc62['prototype']['permissions']=_0x5c599b['emptyArray'],_0x40bc62['create']=function(_0x55c17f){return new _0x40bc62(_0x55c17f);},_0x40bc62['encode']=function(_0x10ab8a,_0x87cb3){if(_0x87cb3||(_0x87cb3=_0xcae49f['create']()),null!=_0x10ab8a['session']&&Object['hasOwnProperty']['call'](_0x10ab8a,'session')&&_0x87cb3['uint32'](0xa)['string'](_0x10ab8a['session']),null!=_0x10ab8a['user']&&Object['hasOwnProperty']['call'](_0x10ab8a,'user')&&_0x87cb3['uint32'](0x12)['string'](_0x10ab8a['user']),null!=_0x10ab8a['role']&&Object['hasOwnProperty']['call'](_0x10ab8a,'role')&&_0x87cb3['uint32'](0x1a)['string'](_0x10ab8a['role']),null!=_0x10ab8a['permissions']&&_0x10ab8a['permissions']['length']){for(var _0x35bc2f=0x0;_0x35bc2f<_0x10ab8a['permissions']['length'];++_0x35bc2f)_0x87cb3['uint32'](0x22)['string'](_0x10ab8a['permissions'][_0x35bc2f]);}return _0x87cb3;},_0x40bc62['encodeDelimited']=function(_0x3ba8f1,_0x4bef0d){return this['encode'](_0x3ba8f1,_0x4bef0d)['ldelim']();},_0x40bc62['decode']=function(_0xb6784a,_0x57172e,_0x2812b0,_0x282e4b){if(_0xb6784a instanceof _0x290291||(_0xb6784a=_0x290291['create'](_0xb6784a)),void 0x0===_0x282e4b&&(_0x282e4b=0x0),_0x282e4b>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2251f3=void 0x0===_0x57172e?_0xb6784a['len']:_0xb6784a['pos']+_0x57172e,_0x21dc6a=new _0xfc4eb2['SessionsSocketDescriptor']();_0xb6784a['pos']<_0x2251f3;){var _0x208ac0=_0xb6784a['uint32']();if(_0x208ac0===_0x2812b0)break;switch(_0x208ac0>>>0x3){case 0x1:_0x21dc6a['session']=_0xb6784a['string']();break;case 0x2:_0x21dc6a['user']=_0xb6784a['string']();break;case 0x3:_0x21dc6a['role']=_0xb6784a['string']();break;case 0x4:_0x21dc6a['permissions']&&_0x21dc6a['permissions']['length']||(_0x21dc6a['permissions']=[]),_0x21dc6a['permissions']['push'](_0xb6784a['string']());break;default:_0xb6784a['skipType'](0x7&_0x208ac0,_0x282e4b);}}return _0x21dc6a;},_0x40bc62['decodeDelimited']=function(_0x48b60b){return _0x48b60b instanceof _0x290291||(_0x48b60b=new _0x290291(_0x48b60b)),this['decode'](_0x48b60b,_0x48b60b['uint32']());},_0x40bc62['verify']=function(_0x3826be,_0x18c3bd){if('object'!=typeof _0x3826be||null===_0x3826be)return'object\x20expected';if(void 0x0===_0x18c3bd&&(_0x18c3bd=0x0),_0x18c3bd>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3826be['session']&&_0x3826be['hasOwnProperty']('session')&&!_0x5c599b['isString'](_0x3826be['session']))return'session:\x20string\x20expected';if(null!=_0x3826be['user']&&_0x3826be['hasOwnProperty']('user')&&!_0x5c599b['isString'](_0x3826be['user']))return'user:\x20string\x20expected';if(null!=_0x3826be['role']&&_0x3826be['hasOwnProperty']('role')&&!_0x5c599b['isString'](_0x3826be['role']))return'role:\x20string\x20expected';if(null!=_0x3826be['permissions']&&_0x3826be['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x3826be['permissions']))return'permissions:\x20array\x20expected';for(var _0x298055=0x0;_0x298055<_0x3826be['permissions']['length'];++_0x298055)if(!_0x5c599b['isString'](_0x3826be['permissions'][_0x298055]))return'permissions:\x20string[]\x20expected';}return null;},_0x40bc62['fromObject']=function(_0x18f117,_0x4c9a32){if(_0x18f117 instanceof _0xfc4eb2['SessionsSocketDescriptor'])return _0x18f117;if(void 0x0===_0x4c9a32&&(_0x4c9a32=0x0),_0x4c9a32>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3f44f8=new _0xfc4eb2['SessionsSocketDescriptor']();if(null!=_0x18f117['session']&&(_0x3f44f8['session']=String(_0x18f117['session'])),null!=_0x18f117['user']&&(_0x3f44f8['user']=String(_0x18f117['user'])),null!=_0x18f117['role']&&(_0x3f44f8['role']=String(_0x18f117['role'])),_0x18f117['permissions']){if(!Array['isArray'](_0x18f117['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x3f44f8['permissions']=[];for(var _0x292099=0x0;_0x292099<_0x18f117['permissions']['length'];++_0x292099)_0x3f44f8['permissions'][_0x292099]=String(_0x18f117['permissions'][_0x292099]);}return _0x3f44f8;},_0x40bc62['toObject']=function(_0x519cd3,_0x3a29af){_0x3a29af||(_0x3a29af={});var _0x1ad59c={};if((_0x3a29af['arrays']||_0x3a29af['defaults'])&&(_0x1ad59c['permissions']=[]),_0x3a29af['defaults']&&(_0x1ad59c['session']='',_0x1ad59c['user']='',_0x1ad59c['role']=''),null!=_0x519cd3['session']&&_0x519cd3['hasOwnProperty']('session')&&(_0x1ad59c['session']=_0x519cd3['session']),null!=_0x519cd3['user']&&_0x519cd3['hasOwnProperty']('user')&&(_0x1ad59c['user']=_0x519cd3['user']),null!=_0x519cd3['role']&&_0x519cd3['hasOwnProperty']('role')&&(_0x1ad59c['role']=_0x519cd3['role']),_0x519cd3['permissions']&&_0x519cd3['permissions']['length']){_0x1ad59c['permissions']=[];for(var _0x2f618a=0x0;_0x2f618a<_0x519cd3['permissions']['length'];++_0x2f618a)_0x1ad59c['permissions'][_0x2f618a]=_0x519cd3['permissions'][_0x2f618a];}return _0x1ad59c;},_0x40bc62['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x40bc62['getTypeUrl']=function(_0x597b96){return void 0x0===_0x597b96&&(_0x597b96='type.googleapis.com'),_0x597b96+'/SessionsSocketDescriptor';},_0x40bc62;}()),_0xfc4eb2['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x18d71c(_0x290b3b){if(_0x290b3b){for(var _0x3e6f53=Object['keys'](_0x290b3b),_0x5e6958=0x0;_0x5e6958<_0x3e6f53['length'];++_0x5e6958)null!=_0x290b3b[_0x3e6f53[_0x5e6958]]&&'__proto__'!==_0x3e6f53[_0x5e6958]&&(this[_0x3e6f53[_0x5e6958]]=_0x290b3b[_0x3e6f53[_0x5e6958]]);}}return _0x18d71c['prototype']['requestId']=0x0,_0x18d71c['create']=function(_0x1c02a8){return new _0x18d71c(_0x1c02a8);},_0x18d71c['encode']=function(_0xf78872,_0x209562){return _0x209562||(_0x209562=_0xcae49f['create']()),null!=_0xf78872['requestId']&&Object['hasOwnProperty']['call'](_0xf78872,'requestId')&&_0x209562['uint32'](0x8)['uint32'](_0xf78872['requestId']),_0x209562;},_0x18d71c['encodeDelimited']=function(_0x344c9d,_0x1218c8){return this['encode'](_0x344c9d,_0x1218c8)['ldelim']();},_0x18d71c['decode']=function(_0x4a7ef8,_0x3b9933,_0x33bb77,_0x3a1dc8){if(_0x4a7ef8 instanceof _0x290291||(_0x4a7ef8=_0x290291['create'](_0x4a7ef8)),void 0x0===_0x3a1dc8&&(_0x3a1dc8=0x0),_0x3a1dc8>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x814602=void 0x0===_0x3b9933?_0x4a7ef8['len']:_0x4a7ef8['pos']+_0x3b9933,_0x46d97f=new _0xfc4eb2['RevisionHistoryUpdateRevisionsResponse']();_0x4a7ef8['pos']<_0x814602;){var _0x357652=_0x4a7ef8['uint32']();if(_0x357652===_0x33bb77)break;_0x357652>>>0x3==0x1?_0x46d97f['requestId']=_0x4a7ef8['uint32']():_0x4a7ef8['skipType'](0x7&_0x357652,_0x3a1dc8);}return _0x46d97f;},_0x18d71c['decodeDelimited']=function(_0x21dd5a){return _0x21dd5a instanceof _0x290291||(_0x21dd5a=new _0x290291(_0x21dd5a)),this['decode'](_0x21dd5a,_0x21dd5a['uint32']());},_0x18d71c['verify']=function(_0x9b825e,_0x30f953){return'object'!=typeof _0x9b825e||null===_0x9b825e?'object\x20expected':(void 0x0===_0x30f953&&(_0x30f953=0x0),_0x30f953>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x9b825e['requestId']&&_0x9b825e['hasOwnProperty']('requestId')&&!_0x5c599b['isInteger'](_0x9b825e['requestId'])?'requestId:\x20integer\x20expected':null);},_0x18d71c['fromObject']=function(_0x58bbb5,_0x42959f){if(_0x58bbb5 instanceof _0xfc4eb2['RevisionHistoryUpdateRevisionsResponse'])return _0x58bbb5;if(void 0x0===_0x42959f&&(_0x42959f=0x0),_0x42959f>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1acd9a=new _0xfc4eb2['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x58bbb5['requestId']&&(_0x1acd9a['requestId']=_0x58bbb5['requestId']>>>0x0),_0x1acd9a;},_0x18d71c['toObject']=function(_0x3217ef,_0x1757e0){_0x1757e0||(_0x1757e0={});var _0x52872c={};return _0x1757e0['defaults']&&(_0x52872c['requestId']=0x0),null!=_0x3217ef['requestId']&&_0x3217ef['hasOwnProperty']('requestId')&&(_0x52872c['requestId']=_0x3217ef['requestId']),_0x52872c;},_0x18d71c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x18d71c['getTypeUrl']=function(_0x399e28){return void 0x0===_0x399e28&&(_0x399e28='type.googleapis.com'),_0x399e28+'/RevisionHistoryUpdateRevisionsResponse';},_0x18d71c;}()),_0xfc4eb2['RevisionHistoryGetRevisionResponse']=(function(){function _0x1e017d(_0x45ad2a){if(_0x45ad2a){for(var _0x57d261=Object['keys'](_0x45ad2a),_0x1d253c=0x0;_0x1d253c<_0x57d261['length'];++_0x1d253c)null!=_0x45ad2a[_0x57d261[_0x1d253c]]&&'__proto__'!==_0x57d261[_0x1d253c]&&(this[_0x57d261[_0x1d253c]]=_0x45ad2a[_0x57d261[_0x1d253c]]);}}return _0x1e017d['prototype']['revisionId']='',_0x1e017d['prototype']['name']='',_0x1e017d['prototype']['creatorId']='',_0x1e017d['prototype']['authorsIds']='',_0x1e017d['prototype']['diffData']='',_0x1e017d['prototype']['createdAt']='',_0x1e017d['prototype']['attributes']='',_0x1e017d['prototype']['toVersion']=0x0,_0x1e017d['prototype']['fromVersion']=0x0,_0x1e017d['prototype']['isEmptyCurrent']=!0x1,_0x1e017d['create']=function(_0x3c0734){return new _0x1e017d(_0x3c0734);},_0x1e017d['encode']=function(_0x33e89c,_0x6fef90){return _0x6fef90||(_0x6fef90=_0xcae49f['create']()),null!=_0x33e89c['revisionId']&&Object['hasOwnProperty']['call'](_0x33e89c,'revisionId')&&_0x6fef90['uint32'](0xa)['string'](_0x33e89c['revisionId']),null!=_0x33e89c['name']&&Object['hasOwnProperty']['call'](_0x33e89c,'name')&&_0x6fef90['uint32'](0x12)['string'](_0x33e89c['name']),null!=_0x33e89c['creatorId']&&Object['hasOwnProperty']['call'](_0x33e89c,'creatorId')&&_0x6fef90['uint32'](0x1a)['string'](_0x33e89c['creatorId']),null!=_0x33e89c['authorsIds']&&Object['hasOwnProperty']['call'](_0x33e89c,'authorsIds')&&_0x6fef90['uint32'](0x22)['string'](_0x33e89c['authorsIds']),null!=_0x33e89c['diffData']&&Object['hasOwnProperty']['call'](_0x33e89c,'diffData')&&_0x6fef90['uint32'](0x2a)['string'](_0x33e89c['diffData']),null!=_0x33e89c['createdAt']&&Object['hasOwnProperty']['call'](_0x33e89c,'createdAt')&&_0x6fef90['uint32'](0x32)['string'](_0x33e89c['createdAt']),null!=_0x33e89c['attributes']&&Object['hasOwnProperty']['call'](_0x33e89c,'attributes')&&_0x6fef90['uint32'](0x3a)['string'](_0x33e89c['attributes']),null!=_0x33e89c['toVersion']&&Object['hasOwnProperty']['call'](_0x33e89c,'toVersion')&&_0x6fef90['uint32'](0x40)['uint32'](_0x33e89c['toVersion']),null!=_0x33e89c['fromVersion']&&Object['hasOwnProperty']['call'](_0x33e89c,'fromVersion')&&_0x6fef90['uint32'](0x48)['uint32'](_0x33e89c['fromVersion']),null!=_0x33e89c['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x33e89c,'isEmptyCurrent')&&_0x6fef90['uint32'](0x50)['bool'](_0x33e89c['isEmptyCurrent']),_0x6fef90;},_0x1e017d['encodeDelimited']=function(_0x5c4142,_0x51e5fb){return this['encode'](_0x5c4142,_0x51e5fb)['ldelim']();},_0x1e017d['decode']=function(_0x2816b6,_0x2cb6fc,_0x11159,_0x110a9b){if(_0x2816b6 instanceof _0x290291||(_0x2816b6=_0x290291['create'](_0x2816b6)),void 0x0===_0x110a9b&&(_0x110a9b=0x0),_0x110a9b>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x370fec=void 0x0===_0x2cb6fc?_0x2816b6['len']:_0x2816b6['pos']+_0x2cb6fc,_0x3d9bd4=new _0xfc4eb2['RevisionHistoryGetRevisionResponse']();_0x2816b6['pos']<_0x370fec;){var _0x28848e=_0x2816b6['uint32']();if(_0x28848e===_0x11159)break;switch(_0x28848e>>>0x3){case 0x1:_0x3d9bd4['revisionId']=_0x2816b6['string']();break;case 0x2:_0x3d9bd4['name']=_0x2816b6['string']();break;case 0x3:_0x3d9bd4['creatorId']=_0x2816b6['string']();break;case 0x4:_0x3d9bd4['authorsIds']=_0x2816b6['string']();break;case 0x5:_0x3d9bd4['diffData']=_0x2816b6['string']();break;case 0x6:_0x3d9bd4['createdAt']=_0x2816b6['string']();break;case 0x7:_0x3d9bd4['attributes']=_0x2816b6['string']();break;case 0x8:_0x3d9bd4['toVersion']=_0x2816b6['uint32']();break;case 0x9:_0x3d9bd4['fromVersion']=_0x2816b6['uint32']();break;case 0xa:_0x3d9bd4['isEmptyCurrent']=_0x2816b6['bool']();break;default:_0x2816b6['skipType'](0x7&_0x28848e,_0x110a9b);}}return _0x3d9bd4;},_0x1e017d['decodeDelimited']=function(_0x4b7b6e){return _0x4b7b6e instanceof _0x290291||(_0x4b7b6e=new _0x290291(_0x4b7b6e)),this['decode'](_0x4b7b6e,_0x4b7b6e['uint32']());},_0x1e017d['verify']=function(_0x15c1af,_0x5c637b){return'object'!=typeof _0x15c1af||null===_0x15c1af?'object\x20expected':(void 0x0===_0x5c637b&&(_0x5c637b=0x0),_0x5c637b>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x15c1af['revisionId']&&_0x15c1af['hasOwnProperty']('revisionId')&&!_0x5c599b['isString'](_0x15c1af['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x15c1af['name']&&_0x15c1af['hasOwnProperty']('name')&&!_0x5c599b['isString'](_0x15c1af['name'])?'name:\x20string\x20expected':null!=_0x15c1af['creatorId']&&_0x15c1af['hasOwnProperty']('creatorId')&&!_0x5c599b['isString'](_0x15c1af['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x15c1af['authorsIds']&&_0x15c1af['hasOwnProperty']('authorsIds')&&!_0x5c599b['isString'](_0x15c1af['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x15c1af['diffData']&&_0x15c1af['hasOwnProperty']('diffData')&&!_0x5c599b['isString'](_0x15c1af['diffData'])?'diffData:\x20string\x20expected':null!=_0x15c1af['createdAt']&&_0x15c1af['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x15c1af['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x15c1af['attributes']&&_0x15c1af['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x15c1af['attributes'])?'attributes:\x20string\x20expected':null!=_0x15c1af['toVersion']&&_0x15c1af['hasOwnProperty']('toVersion')&&!_0x5c599b['isInteger'](_0x15c1af['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x15c1af['fromVersion']&&_0x15c1af['hasOwnProperty']('fromVersion')&&!_0x5c599b['isInteger'](_0x15c1af['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x15c1af['isEmptyCurrent']&&_0x15c1af['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x15c1af['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x1e017d['fromObject']=function(_0x3fe063,_0x5bbebd){if(_0x3fe063 instanceof _0xfc4eb2['RevisionHistoryGetRevisionResponse'])return _0x3fe063;if(void 0x0===_0x5bbebd&&(_0x5bbebd=0x0),_0x5bbebd>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x47edcc=new _0xfc4eb2['RevisionHistoryGetRevisionResponse']();return null!=_0x3fe063['revisionId']&&(_0x47edcc['revisionId']=String(_0x3fe063['revisionId'])),null!=_0x3fe063['name']&&(_0x47edcc['name']=String(_0x3fe063['name'])),null!=_0x3fe063['creatorId']&&(_0x47edcc['creatorId']=String(_0x3fe063['creatorId'])),null!=_0x3fe063['authorsIds']&&(_0x47edcc['authorsIds']=String(_0x3fe063['authorsIds'])),null!=_0x3fe063['diffData']&&(_0x47edcc['diffData']=String(_0x3fe063['diffData'])),null!=_0x3fe063['createdAt']&&(_0x47edcc['createdAt']=String(_0x3fe063['createdAt'])),null!=_0x3fe063['attributes']&&(_0x47edcc['attributes']=String(_0x3fe063['attributes'])),null!=_0x3fe063['toVersion']&&(_0x47edcc['toVersion']=_0x3fe063['toVersion']>>>0x0),null!=_0x3fe063['fromVersion']&&(_0x47edcc['fromVersion']=_0x3fe063['fromVersion']>>>0x0),null!=_0x3fe063['isEmptyCurrent']&&(_0x47edcc['isEmptyCurrent']=Boolean(_0x3fe063['isEmptyCurrent'])),_0x47edcc;},_0x1e017d['toObject']=function(_0x352300,_0x3e3a83){_0x3e3a83||(_0x3e3a83={});var _0x42b480={};return _0x3e3a83['defaults']&&(_0x42b480['revisionId']='',_0x42b480['name']='',_0x42b480['creatorId']='',_0x42b480['authorsIds']='',_0x42b480['diffData']='',_0x42b480['createdAt']='',_0x42b480['attributes']='',_0x42b480['toVersion']=0x0,_0x42b480['fromVersion']=0x0,_0x42b480['isEmptyCurrent']=!0x1),null!=_0x352300['revisionId']&&_0x352300['hasOwnProperty']('revisionId')&&(_0x42b480['revisionId']=_0x352300['revisionId']),null!=_0x352300['name']&&_0x352300['hasOwnProperty']('name')&&(_0x42b480['name']=_0x352300['name']),null!=_0x352300['creatorId']&&_0x352300['hasOwnProperty']('creatorId')&&(_0x42b480['creatorId']=_0x352300['creatorId']),null!=_0x352300['authorsIds']&&_0x352300['hasOwnProperty']('authorsIds')&&(_0x42b480['authorsIds']=_0x352300['authorsIds']),null!=_0x352300['diffData']&&_0x352300['hasOwnProperty']('diffData')&&(_0x42b480['diffData']=_0x352300['diffData']),null!=_0x352300['createdAt']&&_0x352300['hasOwnProperty']('createdAt')&&(_0x42b480['createdAt']=_0x352300['createdAt']),null!=_0x352300['attributes']&&_0x352300['hasOwnProperty']('attributes')&&(_0x42b480['attributes']=_0x352300['attributes']),null!=_0x352300['toVersion']&&_0x352300['hasOwnProperty']('toVersion')&&(_0x42b480['toVersion']=_0x352300['toVersion']),null!=_0x352300['fromVersion']&&_0x352300['hasOwnProperty']('fromVersion')&&(_0x42b480['fromVersion']=_0x352300['fromVersion']),null!=_0x352300['isEmptyCurrent']&&_0x352300['hasOwnProperty']('isEmptyCurrent')&&(_0x42b480['isEmptyCurrent']=_0x352300['isEmptyCurrent']),_0x42b480;},_0x1e017d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x1e017d['getTypeUrl']=function(_0x25306e){return void 0x0===_0x25306e&&(_0x25306e='type.googleapis.com'),_0x25306e+'/RevisionHistoryGetRevisionResponse';},_0x1e017d;}()),_0xfc4eb2['RevisionHistoryConnectResponse']=(function(){function _0x4895fb(_0x37e4a8){if(this['revisions']=[],_0x37e4a8){for(var _0x761506=Object['keys'](_0x37e4a8),_0x11711b=0x0;_0x11711b<_0x761506['length'];++_0x11711b)null!=_0x37e4a8[_0x761506[_0x11711b]]&&'__proto__'!==_0x761506[_0x11711b]&&(this[_0x761506[_0x11711b]]=_0x37e4a8[_0x761506[_0x11711b]]);}}return _0x4895fb['prototype']['channel']='',_0x4895fb['prototype']['requestId']=0x0,_0x4895fb['prototype']['revisions']=_0x5c599b['emptyArray'],_0x4895fb['create']=function(_0x14153e){return new _0x4895fb(_0x14153e);},_0x4895fb['encode']=function(_0x30f041,_0x253fc5){if(_0x253fc5||(_0x253fc5=_0xcae49f['create']()),null!=_0x30f041['channel']&&Object['hasOwnProperty']['call'](_0x30f041,'channel')&&_0x253fc5['uint32'](0xa)['string'](_0x30f041['channel']),null!=_0x30f041['requestId']&&Object['hasOwnProperty']['call'](_0x30f041,'requestId')&&_0x253fc5['uint32'](0x10)['uint32'](_0x30f041['requestId']),null!=_0x30f041['revisions']&&_0x30f041['revisions']['length']){for(var _0x236b47=0x0;_0x236b47<_0x30f041['revisions']['length'];++_0x236b47)_0xfc4eb2['RevisionDescriptor']['encode'](_0x30f041['revisions'][_0x236b47],_0x253fc5['uint32'](0x1a)['fork']())['ldelim']();}return _0x253fc5;},_0x4895fb['encodeDelimited']=function(_0xf867f1,_0x272831){return this['encode'](_0xf867f1,_0x272831)['ldelim']();},_0x4895fb['decode']=function(_0x1af6cd,_0x532d68,_0x19275a,_0x50bfbe){if(_0x1af6cd instanceof _0x290291||(_0x1af6cd=_0x290291['create'](_0x1af6cd)),void 0x0===_0x50bfbe&&(_0x50bfbe=0x0),_0x50bfbe>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33772a=void 0x0===_0x532d68?_0x1af6cd['len']:_0x1af6cd['pos']+_0x532d68,_0x4469d1=new _0xfc4eb2['RevisionHistoryConnectResponse']();_0x1af6cd['pos']<_0x33772a;){var _0x238c62=_0x1af6cd['uint32']();if(_0x238c62===_0x19275a)break;switch(_0x238c62>>>0x3){case 0x1:_0x4469d1['channel']=_0x1af6cd['string']();break;case 0x2:_0x4469d1['requestId']=_0x1af6cd['uint32']();break;case 0x3:_0x4469d1['revisions']&&_0x4469d1['revisions']['length']||(_0x4469d1['revisions']=[]),_0x4469d1['revisions']['push'](_0xfc4eb2['RevisionDescriptor']['decode'](_0x1af6cd,_0x1af6cd['uint32'](),void 0x0,_0x50bfbe+0x1));break;default:_0x1af6cd['skipType'](0x7&_0x238c62,_0x50bfbe);}}return _0x4469d1;},_0x4895fb['decodeDelimited']=function(_0x5a7fa0){return _0x5a7fa0 instanceof _0x290291||(_0x5a7fa0=new _0x290291(_0x5a7fa0)),this['decode'](_0x5a7fa0,_0x5a7fa0['uint32']());},_0x4895fb['verify']=function(_0x77f430,_0x442360){if('object'!=typeof _0x77f430||null===_0x77f430)return'object\x20expected';if(void 0x0===_0x442360&&(_0x442360=0x0),_0x442360>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x77f430['channel']&&_0x77f430['hasOwnProperty']('channel')&&!_0x5c599b['isString'](_0x77f430['channel']))return'channel:\x20string\x20expected';if(null!=_0x77f430['requestId']&&_0x77f430['hasOwnProperty']('requestId')&&!_0x5c599b['isInteger'](_0x77f430['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x77f430['revisions']&&_0x77f430['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x77f430['revisions']))return'revisions:\x20array\x20expected';for(var _0x4b3b82=0x0;_0x4b3b82<_0x77f430['revisions']['length'];++_0x4b3b82){var _0x43bbb2=_0xfc4eb2['RevisionDescriptor']['verify'](_0x77f430['revisions'][_0x4b3b82],_0x442360+0x1);if(_0x43bbb2)return'revisions.'+_0x43bbb2;}}return null;},_0x4895fb['fromObject']=function(_0x491d7f,_0x27ed76){if(_0x491d7f instanceof _0xfc4eb2['RevisionHistoryConnectResponse'])return _0x491d7f;if(void 0x0===_0x27ed76&&(_0x27ed76=0x0),_0x27ed76>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4bdb23=new _0xfc4eb2['RevisionHistoryConnectResponse']();if(null!=_0x491d7f['channel']&&(_0x4bdb23['channel']=String(_0x491d7f['channel'])),null!=_0x491d7f['requestId']&&(_0x4bdb23['requestId']=_0x491d7f['requestId']>>>0x0),_0x491d7f['revisions']){if(!Array['isArray'](_0x491d7f['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x4bdb23['revisions']=[];for(var _0x335a86=0x0;_0x335a86<_0x491d7f['revisions']['length'];++_0x335a86){if('object'!=typeof _0x491d7f['revisions'][_0x335a86])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x4bdb23['revisions'][_0x335a86]=_0xfc4eb2['RevisionDescriptor']['fromObject'](_0x491d7f['revisions'][_0x335a86],_0x27ed76+0x1);}}return _0x4bdb23;},_0x4895fb['toObject']=function(_0x595a3c,_0x20da6c){_0x20da6c||(_0x20da6c={});var _0x45dc46={};if((_0x20da6c['arrays']||_0x20da6c['defaults'])&&(_0x45dc46['revisions']=[]),_0x20da6c['defaults']&&(_0x45dc46['channel']='',_0x45dc46['requestId']=0x0),null!=_0x595a3c['channel']&&_0x595a3c['hasOwnProperty']('channel')&&(_0x45dc46['channel']=_0x595a3c['channel']),null!=_0x595a3c['requestId']&&_0x595a3c['hasOwnProperty']('requestId')&&(_0x45dc46['requestId']=_0x595a3c['requestId']),_0x595a3c['revisions']&&_0x595a3c['revisions']['length']){_0x45dc46['revisions']=[];for(var _0x4ef952=0x0;_0x4ef952<_0x595a3c['revisions']['length'];++_0x4ef952)_0x45dc46['revisions'][_0x4ef952]=_0xfc4eb2['RevisionDescriptor']['toObject'](_0x595a3c['revisions'][_0x4ef952],_0x20da6c);}return _0x45dc46;},_0x4895fb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x4895fb['getTypeUrl']=function(_0x37a017){return void 0x0===_0x37a017&&(_0x37a017='type.googleapis.com'),_0x37a017+'/RevisionHistoryConnectResponse';},_0x4895fb;}()),_0xfc4eb2['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x38824e(_0x726d41){if(this['revisions']=[],_0x726d41){for(var _0x3c427b=Object['keys'](_0x726d41),_0x258425=0x0;_0x258425<_0x3c427b['length'];++_0x258425)null!=_0x726d41[_0x3c427b[_0x258425]]&&'__proto__'!==_0x3c427b[_0x258425]&&(this[_0x3c427b[_0x258425]]=_0x726d41[_0x3c427b[_0x258425]]);}}return _0x38824e['prototype']['documentId']='',_0x38824e['prototype']['requestId']=0x0,_0x38824e['prototype']['revisions']=_0x5c599b['emptyArray'],_0x38824e['create']=function(_0x107e69){return new _0x38824e(_0x107e69);},_0x38824e['encode']=function(_0x5243c4,_0x40873d){if(_0x40873d||(_0x40873d=_0xcae49f['create']()),null!=_0x5243c4['documentId']&&Object['hasOwnProperty']['call'](_0x5243c4,'documentId')&&_0x40873d['uint32'](0xa)['string'](_0x5243c4['documentId']),null!=_0x5243c4['requestId']&&Object['hasOwnProperty']['call'](_0x5243c4,'requestId')&&_0x40873d['uint32'](0x10)['uint32'](_0x5243c4['requestId']),null!=_0x5243c4['revisions']&&_0x5243c4['revisions']['length']){for(var _0x16e77e=0x0;_0x16e77e<_0x5243c4['revisions']['length'];++_0x16e77e)_0xfc4eb2['RevisionDescriptor']['encode'](_0x5243c4['revisions'][_0x16e77e],_0x40873d['uint32'](0x1a)['fork']())['ldelim']();}return _0x40873d;},_0x38824e['encodeDelimited']=function(_0x1a851e,_0x255027){return this['encode'](_0x1a851e,_0x255027)['ldelim']();},_0x38824e['decode']=function(_0x59d4dd,_0x24967d,_0x266972,_0x310531){if(_0x59d4dd instanceof _0x290291||(_0x59d4dd=_0x290291['create'](_0x59d4dd)),void 0x0===_0x310531&&(_0x310531=0x0),_0x310531>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5f5c96=void 0x0===_0x24967d?_0x59d4dd['len']:_0x59d4dd['pos']+_0x24967d,_0x79f5fd=new _0xfc4eb2['RevisionHistoryUpdateRevisionsMessage']();_0x59d4dd['pos']<_0x5f5c96;){var _0x506c07=_0x59d4dd['uint32']();if(_0x506c07===_0x266972)break;switch(_0x506c07>>>0x3){case 0x1:_0x79f5fd['documentId']=_0x59d4dd['string']();break;case 0x2:_0x79f5fd['requestId']=_0x59d4dd['uint32']();break;case 0x3:_0x79f5fd['revisions']&&_0x79f5fd['revisions']['length']||(_0x79f5fd['revisions']=[]),_0x79f5fd['revisions']['push'](_0xfc4eb2['RevisionDescriptor']['decode'](_0x59d4dd,_0x59d4dd['uint32'](),void 0x0,_0x310531+0x1));break;default:_0x59d4dd['skipType'](0x7&_0x506c07,_0x310531);}}return _0x79f5fd;},_0x38824e['decodeDelimited']=function(_0x4d1e7a){return _0x4d1e7a instanceof _0x290291||(_0x4d1e7a=new _0x290291(_0x4d1e7a)),this['decode'](_0x4d1e7a,_0x4d1e7a['uint32']());},_0x38824e['verify']=function(_0x55957f,_0x507f71){if('object'!=typeof _0x55957f||null===_0x55957f)return'object\x20expected';if(void 0x0===_0x507f71&&(_0x507f71=0x0),_0x507f71>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x55957f['documentId']&&_0x55957f['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x55957f['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x55957f['requestId']&&_0x55957f['hasOwnProperty']('requestId')&&!_0x5c599b['isInteger'](_0x55957f['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x55957f['revisions']&&_0x55957f['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x55957f['revisions']))return'revisions:\x20array\x20expected';for(var _0x88d5d7=0x0;_0x88d5d7<_0x55957f['revisions']['length'];++_0x88d5d7){var _0x20ba1c=_0xfc4eb2['RevisionDescriptor']['verify'](_0x55957f['revisions'][_0x88d5d7],_0x507f71+0x1);if(_0x20ba1c)return'revisions.'+_0x20ba1c;}}return null;},_0x38824e['fromObject']=function(_0x1ad38f,_0x108f6b){if(_0x1ad38f instanceof _0xfc4eb2['RevisionHistoryUpdateRevisionsMessage'])return _0x1ad38f;if(void 0x0===_0x108f6b&&(_0x108f6b=0x0),_0x108f6b>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5f0c13=new _0xfc4eb2['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x1ad38f['documentId']&&(_0x5f0c13['documentId']=String(_0x1ad38f['documentId'])),null!=_0x1ad38f['requestId']&&(_0x5f0c13['requestId']=_0x1ad38f['requestId']>>>0x0),_0x1ad38f['revisions']){if(!Array['isArray'](_0x1ad38f['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x5f0c13['revisions']=[];for(var _0x548aee=0x0;_0x548aee<_0x1ad38f['revisions']['length'];++_0x548aee){if('object'!=typeof _0x1ad38f['revisions'][_0x548aee])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x5f0c13['revisions'][_0x548aee]=_0xfc4eb2['RevisionDescriptor']['fromObject'](_0x1ad38f['revisions'][_0x548aee],_0x108f6b+0x1);}}return _0x5f0c13;},_0x38824e['toObject']=function(_0x1a9787,_0x11774c){_0x11774c||(_0x11774c={});var _0xb69ed5={};if((_0x11774c['arrays']||_0x11774c['defaults'])&&(_0xb69ed5['revisions']=[]),_0x11774c['defaults']&&(_0xb69ed5['documentId']='',_0xb69ed5['requestId']=0x0),null!=_0x1a9787['documentId']&&_0x1a9787['hasOwnProperty']('documentId')&&(_0xb69ed5['documentId']=_0x1a9787['documentId']),null!=_0x1a9787['requestId']&&_0x1a9787['hasOwnProperty']('requestId')&&(_0xb69ed5['requestId']=_0x1a9787['requestId']),_0x1a9787['revisions']&&_0x1a9787['revisions']['length']){_0xb69ed5['revisions']=[];for(var _0x29a488=0x0;_0x29a488<_0x1a9787['revisions']['length'];++_0x29a488)_0xb69ed5['revisions'][_0x29a488]=_0xfc4eb2['RevisionDescriptor']['toObject'](_0x1a9787['revisions'][_0x29a488],_0x11774c);}return _0xb69ed5;},_0x38824e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x38824e['getTypeUrl']=function(_0x3e8804){return void 0x0===_0x3e8804&&(_0x3e8804='type.googleapis.com'),_0x3e8804+'/RevisionHistoryUpdateRevisionsMessage';},_0x38824e;}()),_0xfc4eb2['RevisionHistoryReconnectMessage']=(function(){function _0x38bb5d(_0x39093e){if(_0x39093e){for(var _0x4126b4=Object['keys'](_0x39093e),_0x2b4297=0x0;_0x2b4297<_0x4126b4['length'];++_0x2b4297)null!=_0x39093e[_0x4126b4[_0x2b4297]]&&'__proto__'!==_0x4126b4[_0x2b4297]&&(this[_0x4126b4[_0x2b4297]]=_0x39093e[_0x4126b4[_0x2b4297]]);}}return _0x38bb5d['prototype']['documentId']='',_0x38bb5d['prototype']['requestId']=0x0,_0x38bb5d['create']=function(_0x1eec2d){return new _0x38bb5d(_0x1eec2d);},_0x38bb5d['encode']=function(_0x27a685,_0x10bc64){return _0x10bc64||(_0x10bc64=_0xcae49f['create']()),null!=_0x27a685['documentId']&&Object['hasOwnProperty']['call'](_0x27a685,'documentId')&&_0x10bc64['uint32'](0xa)['string'](_0x27a685['documentId']),null!=_0x27a685['requestId']&&Object['hasOwnProperty']['call'](_0x27a685,'requestId')&&_0x10bc64['uint32'](0x10)['uint32'](_0x27a685['requestId']),_0x10bc64;},_0x38bb5d['encodeDelimited']=function(_0x8f0e3e,_0x3d2fb5){return this['encode'](_0x8f0e3e,_0x3d2fb5)['ldelim']();},_0x38bb5d['decode']=function(_0x465255,_0x5e770f,_0x3cb319,_0x4700b6){if(_0x465255 instanceof _0x290291||(_0x465255=_0x290291['create'](_0x465255)),void 0x0===_0x4700b6&&(_0x4700b6=0x0),_0x4700b6>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a14a8=void 0x0===_0x5e770f?_0x465255['len']:_0x465255['pos']+_0x5e770f,_0x4b9ed1=new _0xfc4eb2['RevisionHistoryReconnectMessage']();_0x465255['pos']<_0x2a14a8;){var _0xe16311=_0x465255['uint32']();if(_0xe16311===_0x3cb319)break;switch(_0xe16311>>>0x3){case 0x1:_0x4b9ed1['documentId']=_0x465255['string']();break;case 0x2:_0x4b9ed1['requestId']=_0x465255['uint32']();break;default:_0x465255['skipType'](0x7&_0xe16311,_0x4700b6);}}return _0x4b9ed1;},_0x38bb5d['decodeDelimited']=function(_0x6cbd13){return _0x6cbd13 instanceof _0x290291||(_0x6cbd13=new _0x290291(_0x6cbd13)),this['decode'](_0x6cbd13,_0x6cbd13['uint32']());},_0x38bb5d['verify']=function(_0x445181,_0x2a099b){return'object'!=typeof _0x445181||null===_0x445181?'object\x20expected':(void 0x0===_0x2a099b&&(_0x2a099b=0x0),_0x2a099b>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x445181['documentId']&&_0x445181['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x445181['documentId'])?'documentId:\x20string\x20expected':null!=_0x445181['requestId']&&_0x445181['hasOwnProperty']('requestId')&&!_0x5c599b['isInteger'](_0x445181['requestId'])?'requestId:\x20integer\x20expected':null);},_0x38bb5d['fromObject']=function(_0x3004ef,_0x20e6f1){if(_0x3004ef instanceof _0xfc4eb2['RevisionHistoryReconnectMessage'])return _0x3004ef;if(void 0x0===_0x20e6f1&&(_0x20e6f1=0x0),_0x20e6f1>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1bbc42=new _0xfc4eb2['RevisionHistoryReconnectMessage']();return null!=_0x3004ef['documentId']&&(_0x1bbc42['documentId']=String(_0x3004ef['documentId'])),null!=_0x3004ef['requestId']&&(_0x1bbc42['requestId']=_0x3004ef['requestId']>>>0x0),_0x1bbc42;},_0x38bb5d['toObject']=function(_0x53f25c,_0xd9d9cf){_0xd9d9cf||(_0xd9d9cf={});var _0x5d68bd={};return _0xd9d9cf['defaults']&&(_0x5d68bd['documentId']='',_0x5d68bd['requestId']=0x0),null!=_0x53f25c['documentId']&&_0x53f25c['hasOwnProperty']('documentId')&&(_0x5d68bd['documentId']=_0x53f25c['documentId']),null!=_0x53f25c['requestId']&&_0x53f25c['hasOwnProperty']('requestId')&&(_0x5d68bd['requestId']=_0x53f25c['requestId']),_0x5d68bd;},_0x38bb5d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x38bb5d['getTypeUrl']=function(_0x2bb307){return void 0x0===_0x2bb307&&(_0x2bb307='type.googleapis.com'),_0x2bb307+'/RevisionHistoryReconnectMessage';},_0x38bb5d;}()),_0xfc4eb2['RevisionHistoryGetRevisionMessage']=(function(){function _0x2c2ade(_0x2fddea){if(_0x2fddea){for(var _0x5e0f60=Object['keys'](_0x2fddea),_0x10b5b4=0x0;_0x10b5b4<_0x5e0f60['length'];++_0x10b5b4)null!=_0x2fddea[_0x5e0f60[_0x10b5b4]]&&'__proto__'!==_0x5e0f60[_0x10b5b4]&&(this[_0x5e0f60[_0x10b5b4]]=_0x2fddea[_0x5e0f60[_0x10b5b4]]);}}return _0x2c2ade['prototype']['documentId']='',_0x2c2ade['prototype']['revisionId']='',_0x2c2ade['create']=function(_0x471770){return new _0x2c2ade(_0x471770);},_0x2c2ade['encode']=function(_0x1851a3,_0xa5458d){return _0xa5458d||(_0xa5458d=_0xcae49f['create']()),null!=_0x1851a3['documentId']&&Object['hasOwnProperty']['call'](_0x1851a3,'documentId')&&_0xa5458d['uint32'](0xa)['string'](_0x1851a3['documentId']),null!=_0x1851a3['revisionId']&&Object['hasOwnProperty']['call'](_0x1851a3,'revisionId')&&_0xa5458d['uint32'](0x12)['string'](_0x1851a3['revisionId']),_0xa5458d;},_0x2c2ade['encodeDelimited']=function(_0x25d1fd,_0x296d69){return this['encode'](_0x25d1fd,_0x296d69)['ldelim']();},_0x2c2ade['decode']=function(_0x330183,_0x12465d,_0x127cd5,_0x117e02){if(_0x330183 instanceof _0x290291||(_0x330183=_0x290291['create'](_0x330183)),void 0x0===_0x117e02&&(_0x117e02=0x0),_0x117e02>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ae296=void 0x0===_0x12465d?_0x330183['len']:_0x330183['pos']+_0x12465d,_0x53c065=new _0xfc4eb2['RevisionHistoryGetRevisionMessage']();_0x330183['pos']<_0x3ae296;){var _0x56eb6d=_0x330183['uint32']();if(_0x56eb6d===_0x127cd5)break;switch(_0x56eb6d>>>0x3){case 0x1:_0x53c065['documentId']=_0x330183['string']();break;case 0x2:_0x53c065['revisionId']=_0x330183['string']();break;default:_0x330183['skipType'](0x7&_0x56eb6d,_0x117e02);}}return _0x53c065;},_0x2c2ade['decodeDelimited']=function(_0x263099){return _0x263099 instanceof _0x290291||(_0x263099=new _0x290291(_0x263099)),this['decode'](_0x263099,_0x263099['uint32']());},_0x2c2ade['verify']=function(_0x54989e,_0x531dd7){return'object'!=typeof _0x54989e||null===_0x54989e?'object\x20expected':(void 0x0===_0x531dd7&&(_0x531dd7=0x0),_0x531dd7>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x54989e['documentId']&&_0x54989e['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x54989e['documentId'])?'documentId:\x20string\x20expected':null!=_0x54989e['revisionId']&&_0x54989e['hasOwnProperty']('revisionId')&&!_0x5c599b['isString'](_0x54989e['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x2c2ade['fromObject']=function(_0x4695cc,_0x12da4b){if(_0x4695cc instanceof _0xfc4eb2['RevisionHistoryGetRevisionMessage'])return _0x4695cc;if(void 0x0===_0x12da4b&&(_0x12da4b=0x0),_0x12da4b>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5a1de5=new _0xfc4eb2['RevisionHistoryGetRevisionMessage']();return null!=_0x4695cc['documentId']&&(_0x5a1de5['documentId']=String(_0x4695cc['documentId'])),null!=_0x4695cc['revisionId']&&(_0x5a1de5['revisionId']=String(_0x4695cc['revisionId'])),_0x5a1de5;},_0x2c2ade['toObject']=function(_0x5dd1d4,_0x4a296a){_0x4a296a||(_0x4a296a={});var _0xcd751={};return _0x4a296a['defaults']&&(_0xcd751['documentId']='',_0xcd751['revisionId']=''),null!=_0x5dd1d4['documentId']&&_0x5dd1d4['hasOwnProperty']('documentId')&&(_0xcd751['documentId']=_0x5dd1d4['documentId']),null!=_0x5dd1d4['revisionId']&&_0x5dd1d4['hasOwnProperty']('revisionId')&&(_0xcd751['revisionId']=_0x5dd1d4['revisionId']),_0xcd751;},_0x2c2ade['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2c2ade['getTypeUrl']=function(_0x2cd7fe){return void 0x0===_0x2cd7fe&&(_0x2cd7fe='type.googleapis.com'),_0x2cd7fe+'/RevisionHistoryGetRevisionMessage';},_0x2c2ade;}()),_0xfc4eb2['RevisionHistoryConnectMessage']=(function(){function _0x465005(_0x2843fd){if(_0x2843fd){for(var _0x118baa=Object['keys'](_0x2843fd),_0x416b05=0x0;_0x416b05<_0x118baa['length'];++_0x416b05)null!=_0x2843fd[_0x118baa[_0x416b05]]&&'__proto__'!==_0x118baa[_0x416b05]&&(this[_0x118baa[_0x416b05]]=_0x2843fd[_0x118baa[_0x416b05]]);}}return _0x465005['prototype']['documentId']='',_0x465005['create']=function(_0x1313fe){return new _0x465005(_0x1313fe);},_0x465005['encode']=function(_0x4d412e,_0x16e27d){return _0x16e27d||(_0x16e27d=_0xcae49f['create']()),null!=_0x4d412e['documentId']&&Object['hasOwnProperty']['call'](_0x4d412e,'documentId')&&_0x16e27d['uint32'](0xa)['string'](_0x4d412e['documentId']),_0x16e27d;},_0x465005['encodeDelimited']=function(_0x1572e3,_0xda49f0){return this['encode'](_0x1572e3,_0xda49f0)['ldelim']();},_0x465005['decode']=function(_0x4d5ee0,_0x4404fc,_0x19d687,_0xdf573b){if(_0x4d5ee0 instanceof _0x290291||(_0x4d5ee0=_0x290291['create'](_0x4d5ee0)),void 0x0===_0xdf573b&&(_0xdf573b=0x0),_0xdf573b>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c892e=void 0x0===_0x4404fc?_0x4d5ee0['len']:_0x4d5ee0['pos']+_0x4404fc,_0x19505e=new _0xfc4eb2['RevisionHistoryConnectMessage']();_0x4d5ee0['pos']<_0x1c892e;){var _0x33a47c=_0x4d5ee0['uint32']();if(_0x33a47c===_0x19d687)break;_0x33a47c>>>0x3==0x1?_0x19505e['documentId']=_0x4d5ee0['string']():_0x4d5ee0['skipType'](0x7&_0x33a47c,_0xdf573b);}return _0x19505e;},_0x465005['decodeDelimited']=function(_0x349989){return _0x349989 instanceof _0x290291||(_0x349989=new _0x290291(_0x349989)),this['decode'](_0x349989,_0x349989['uint32']());},_0x465005['verify']=function(_0x2accd7,_0x9d3bab){return'object'!=typeof _0x2accd7||null===_0x2accd7?'object\x20expected':(void 0x0===_0x9d3bab&&(_0x9d3bab=0x0),_0x9d3bab>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2accd7['documentId']&&_0x2accd7['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x2accd7['documentId'])?'documentId:\x20string\x20expected':null);},_0x465005['fromObject']=function(_0x545c21,_0x23ae47){if(_0x545c21 instanceof _0xfc4eb2['RevisionHistoryConnectMessage'])return _0x545c21;if(void 0x0===_0x23ae47&&(_0x23ae47=0x0),_0x23ae47>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e8e78=new _0xfc4eb2['RevisionHistoryConnectMessage']();return null!=_0x545c21['documentId']&&(_0x5e8e78['documentId']=String(_0x545c21['documentId'])),_0x5e8e78;},_0x465005['toObject']=function(_0x3ee38c,_0x59f03d){_0x59f03d||(_0x59f03d={});var _0x297aa6={};return _0x59f03d['defaults']&&(_0x297aa6['documentId']=''),null!=_0x3ee38c['documentId']&&_0x3ee38c['hasOwnProperty']('documentId')&&(_0x297aa6['documentId']=_0x3ee38c['documentId']),_0x297aa6;},_0x465005['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x465005['getTypeUrl']=function(_0x5e533a){return void 0x0===_0x5e533a&&(_0x5e533a='type.googleapis.com'),_0x5e533a+'/RevisionHistoryConnectMessage';},_0x465005;}()),_0xfc4eb2['RevisionDescriptor']=(function(){function _0x3bf57e(_0x548f21){if(_0x548f21){for(var _0x3555b2=Object['keys'](_0x548f21),_0x192c96=0x0;_0x192c96<_0x3555b2['length'];++_0x192c96)null!=_0x548f21[_0x3555b2[_0x192c96]]&&'__proto__'!==_0x3555b2[_0x192c96]&&(this[_0x3555b2[_0x192c96]]=_0x548f21[_0x3555b2[_0x192c96]]);}}return _0x3bf57e['prototype']['revisionId']='',_0x3bf57e['prototype']['name']='',_0x3bf57e['prototype']['creatorId']='',_0x3bf57e['prototype']['authorsIds']='',_0x3bf57e['prototype']['diffData']='',_0x3bf57e['prototype']['createdAt']='',_0x3bf57e['prototype']['attributes']='',_0x3bf57e['prototype']['toVersion']=0x0,_0x3bf57e['prototype']['fromVersion']=0x0,_0x3bf57e['prototype']['isEmptyCurrent']=!0x1,_0x3bf57e['create']=function(_0x3a40ac){return new _0x3bf57e(_0x3a40ac);},_0x3bf57e['encode']=function(_0x43d406,_0x3f3311){return _0x3f3311||(_0x3f3311=_0xcae49f['create']()),null!=_0x43d406['revisionId']&&Object['hasOwnProperty']['call'](_0x43d406,'revisionId')&&_0x3f3311['uint32'](0xa)['string'](_0x43d406['revisionId']),null!=_0x43d406['name']&&Object['hasOwnProperty']['call'](_0x43d406,'name')&&_0x3f3311['uint32'](0x12)['string'](_0x43d406['name']),null!=_0x43d406['creatorId']&&Object['hasOwnProperty']['call'](_0x43d406,'creatorId')&&_0x3f3311['uint32'](0x1a)['string'](_0x43d406['creatorId']),null!=_0x43d406['authorsIds']&&Object['hasOwnProperty']['call'](_0x43d406,'authorsIds')&&_0x3f3311['uint32'](0x22)['string'](_0x43d406['authorsIds']),null!=_0x43d406['diffData']&&Object['hasOwnProperty']['call'](_0x43d406,'diffData')&&_0x3f3311['uint32'](0x2a)['string'](_0x43d406['diffData']),null!=_0x43d406['createdAt']&&Object['hasOwnProperty']['call'](_0x43d406,'createdAt')&&_0x3f3311['uint32'](0x32)['string'](_0x43d406['createdAt']),null!=_0x43d406['attributes']&&Object['hasOwnProperty']['call'](_0x43d406,'attributes')&&_0x3f3311['uint32'](0x3a)['string'](_0x43d406['attributes']),null!=_0x43d406['toVersion']&&Object['hasOwnProperty']['call'](_0x43d406,'toVersion')&&_0x3f3311['uint32'](0x40)['uint32'](_0x43d406['toVersion']),null!=_0x43d406['fromVersion']&&Object['hasOwnProperty']['call'](_0x43d406,'fromVersion')&&_0x3f3311['uint32'](0x48)['uint32'](_0x43d406['fromVersion']),null!=_0x43d406['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x43d406,'isEmptyCurrent')&&_0x3f3311['uint32'](0x50)['bool'](_0x43d406['isEmptyCurrent']),_0x3f3311;},_0x3bf57e['encodeDelimited']=function(_0x5d9fc2,_0x4c6985){return this['encode'](_0x5d9fc2,_0x4c6985)['ldelim']();},_0x3bf57e['decode']=function(_0x56ca20,_0x5b3862,_0x573989,_0x109504){if(_0x56ca20 instanceof _0x290291||(_0x56ca20=_0x290291['create'](_0x56ca20)),void 0x0===_0x109504&&(_0x109504=0x0),_0x109504>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x55bc0d=void 0x0===_0x5b3862?_0x56ca20['len']:_0x56ca20['pos']+_0x5b3862,_0x3af070=new _0xfc4eb2['RevisionDescriptor']();_0x56ca20['pos']<_0x55bc0d;){var _0x2c165c=_0x56ca20['uint32']();if(_0x2c165c===_0x573989)break;switch(_0x2c165c>>>0x3){case 0x1:_0x3af070['revisionId']=_0x56ca20['string']();break;case 0x2:_0x3af070['name']=_0x56ca20['string']();break;case 0x3:_0x3af070['creatorId']=_0x56ca20['string']();break;case 0x4:_0x3af070['authorsIds']=_0x56ca20['string']();break;case 0x5:_0x3af070['diffData']=_0x56ca20['string']();break;case 0x6:_0x3af070['createdAt']=_0x56ca20['string']();break;case 0x7:_0x3af070['attributes']=_0x56ca20['string']();break;case 0x8:_0x3af070['toVersion']=_0x56ca20['uint32']();break;case 0x9:_0x3af070['fromVersion']=_0x56ca20['uint32']();break;case 0xa:_0x3af070['isEmptyCurrent']=_0x56ca20['bool']();break;default:_0x56ca20['skipType'](0x7&_0x2c165c,_0x109504);}}return _0x3af070;},_0x3bf57e['decodeDelimited']=function(_0x54f517){return _0x54f517 instanceof _0x290291||(_0x54f517=new _0x290291(_0x54f517)),this['decode'](_0x54f517,_0x54f517['uint32']());},_0x3bf57e['verify']=function(_0x3706cb,_0x4be398){return'object'!=typeof _0x3706cb||null===_0x3706cb?'object\x20expected':(void 0x0===_0x4be398&&(_0x4be398=0x0),_0x4be398>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3706cb['revisionId']&&_0x3706cb['hasOwnProperty']('revisionId')&&!_0x5c599b['isString'](_0x3706cb['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x3706cb['name']&&_0x3706cb['hasOwnProperty']('name')&&!_0x5c599b['isString'](_0x3706cb['name'])?'name:\x20string\x20expected':null!=_0x3706cb['creatorId']&&_0x3706cb['hasOwnProperty']('creatorId')&&!_0x5c599b['isString'](_0x3706cb['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x3706cb['authorsIds']&&_0x3706cb['hasOwnProperty']('authorsIds')&&!_0x5c599b['isString'](_0x3706cb['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x3706cb['diffData']&&_0x3706cb['hasOwnProperty']('diffData')&&!_0x5c599b['isString'](_0x3706cb['diffData'])?'diffData:\x20string\x20expected':null!=_0x3706cb['createdAt']&&_0x3706cb['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x3706cb['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3706cb['attributes']&&_0x3706cb['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x3706cb['attributes'])?'attributes:\x20string\x20expected':null!=_0x3706cb['toVersion']&&_0x3706cb['hasOwnProperty']('toVersion')&&!_0x5c599b['isInteger'](_0x3706cb['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x3706cb['fromVersion']&&_0x3706cb['hasOwnProperty']('fromVersion')&&!_0x5c599b['isInteger'](_0x3706cb['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x3706cb['isEmptyCurrent']&&_0x3706cb['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x3706cb['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x3bf57e['fromObject']=function(_0x294267,_0x37c5b0){if(_0x294267 instanceof _0xfc4eb2['RevisionDescriptor'])return _0x294267;if(void 0x0===_0x37c5b0&&(_0x37c5b0=0x0),_0x37c5b0>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd65417=new _0xfc4eb2['RevisionDescriptor']();return null!=_0x294267['revisionId']&&(_0xd65417['revisionId']=String(_0x294267['revisionId'])),null!=_0x294267['name']&&(_0xd65417['name']=String(_0x294267['name'])),null!=_0x294267['creatorId']&&(_0xd65417['creatorId']=String(_0x294267['creatorId'])),null!=_0x294267['authorsIds']&&(_0xd65417['authorsIds']=String(_0x294267['authorsIds'])),null!=_0x294267['diffData']&&(_0xd65417['diffData']=String(_0x294267['diffData'])),null!=_0x294267['createdAt']&&(_0xd65417['createdAt']=String(_0x294267['createdAt'])),null!=_0x294267['attributes']&&(_0xd65417['attributes']=String(_0x294267['attributes'])),null!=_0x294267['toVersion']&&(_0xd65417['toVersion']=_0x294267['toVersion']>>>0x0),null!=_0x294267['fromVersion']&&(_0xd65417['fromVersion']=_0x294267['fromVersion']>>>0x0),null!=_0x294267['isEmptyCurrent']&&(_0xd65417['isEmptyCurrent']=Boolean(_0x294267['isEmptyCurrent'])),_0xd65417;},_0x3bf57e['toObject']=function(_0x111515,_0x18953e){_0x18953e||(_0x18953e={});var _0x2246a8={};return _0x18953e['defaults']&&(_0x2246a8['revisionId']='',_0x2246a8['name']='',_0x2246a8['creatorId']='',_0x2246a8['authorsIds']='',_0x2246a8['diffData']='',_0x2246a8['createdAt']='',_0x2246a8['attributes']='',_0x2246a8['toVersion']=0x0,_0x2246a8['fromVersion']=0x0,_0x2246a8['isEmptyCurrent']=!0x1),null!=_0x111515['revisionId']&&_0x111515['hasOwnProperty']('revisionId')&&(_0x2246a8['revisionId']=_0x111515['revisionId']),null!=_0x111515['name']&&_0x111515['hasOwnProperty']('name')&&(_0x2246a8['name']=_0x111515['name']),null!=_0x111515['creatorId']&&_0x111515['hasOwnProperty']('creatorId')&&(_0x2246a8['creatorId']=_0x111515['creatorId']),null!=_0x111515['authorsIds']&&_0x111515['hasOwnProperty']('authorsIds')&&(_0x2246a8['authorsIds']=_0x111515['authorsIds']),null!=_0x111515['diffData']&&_0x111515['hasOwnProperty']('diffData')&&(_0x2246a8['diffData']=_0x111515['diffData']),null!=_0x111515['createdAt']&&_0x111515['hasOwnProperty']('createdAt')&&(_0x2246a8['createdAt']=_0x111515['createdAt']),null!=_0x111515['attributes']&&_0x111515['hasOwnProperty']('attributes')&&(_0x2246a8['attributes']=_0x111515['attributes']),null!=_0x111515['toVersion']&&_0x111515['hasOwnProperty']('toVersion')&&(_0x2246a8['toVersion']=_0x111515['toVersion']),null!=_0x111515['fromVersion']&&_0x111515['hasOwnProperty']('fromVersion')&&(_0x2246a8['fromVersion']=_0x111515['fromVersion']),null!=_0x111515['isEmptyCurrent']&&_0x111515['hasOwnProperty']('isEmptyCurrent')&&(_0x2246a8['isEmptyCurrent']=_0x111515['isEmptyCurrent']),_0x2246a8;},_0x3bf57e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3bf57e['getTypeUrl']=function(_0x1cb584){return void 0x0===_0x1cb584&&(_0x1cb584='type.googleapis.com'),_0x1cb584+'/RevisionDescriptor';},_0x3bf57e;}()),_0xfc4eb2['IsEditorBundleUploadedResponse']=(function(){function _0x499539(_0x3eb8fa){if(_0x3eb8fa){for(var _0x55c09f=Object['keys'](_0x3eb8fa),_0x48a106=0x0;_0x48a106<_0x55c09f['length'];++_0x48a106)null!=_0x3eb8fa[_0x55c09f[_0x48a106]]&&'__proto__'!==_0x55c09f[_0x48a106]&&(this[_0x55c09f[_0x48a106]]=_0x3eb8fa[_0x55c09f[_0x48a106]]);}}return _0x499539['prototype']['isUploaded']=!0x1,_0x499539['create']=function(_0x391caf){return new _0x499539(_0x391caf);},_0x499539['encode']=function(_0x2cd7ae,_0xd69542){return _0xd69542||(_0xd69542=_0xcae49f['create']()),null!=_0x2cd7ae['isUploaded']&&Object['hasOwnProperty']['call'](_0x2cd7ae,'isUploaded')&&_0xd69542['uint32'](0x8)['bool'](_0x2cd7ae['isUploaded']),_0xd69542;},_0x499539['encodeDelimited']=function(_0x38850e,_0x5b2f50){return this['encode'](_0x38850e,_0x5b2f50)['ldelim']();},_0x499539['decode']=function(_0x461be7,_0x517a5d,_0x5b6b7a,_0x4b2638){if(_0x461be7 instanceof _0x290291||(_0x461be7=_0x290291['create'](_0x461be7)),void 0x0===_0x4b2638&&(_0x4b2638=0x0),_0x4b2638>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb327d7=void 0x0===_0x517a5d?_0x461be7['len']:_0x461be7['pos']+_0x517a5d,_0x52f67e=new _0xfc4eb2['IsEditorBundleUploadedResponse']();_0x461be7['pos']<_0xb327d7;){var _0x1c8a0e=_0x461be7['uint32']();if(_0x1c8a0e===_0x5b6b7a)break;_0x1c8a0e>>>0x3==0x1?_0x52f67e['isUploaded']=_0x461be7['bool']():_0x461be7['skipType'](0x7&_0x1c8a0e,_0x4b2638);}return _0x52f67e;},_0x499539['decodeDelimited']=function(_0x3351fa){return _0x3351fa instanceof _0x290291||(_0x3351fa=new _0x290291(_0x3351fa)),this['decode'](_0x3351fa,_0x3351fa['uint32']());},_0x499539['verify']=function(_0x5c73ad,_0x5b275a){return'object'!=typeof _0x5c73ad||null===_0x5c73ad?'object\x20expected':(void 0x0===_0x5b275a&&(_0x5b275a=0x0),_0x5b275a>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5c73ad['isUploaded']&&_0x5c73ad['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x5c73ad['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x499539['fromObject']=function(_0xfce8fd,_0x465ac2){if(_0xfce8fd instanceof _0xfc4eb2['IsEditorBundleUploadedResponse'])return _0xfce8fd;if(void 0x0===_0x465ac2&&(_0x465ac2=0x0),_0x465ac2>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x38ad32=new _0xfc4eb2['IsEditorBundleUploadedResponse']();return null!=_0xfce8fd['isUploaded']&&(_0x38ad32['isUploaded']=Boolean(_0xfce8fd['isUploaded'])),_0x38ad32;},_0x499539['toObject']=function(_0x2e42c8,_0x46e39c){_0x46e39c||(_0x46e39c={});var _0x2a1524={};return _0x46e39c['defaults']&&(_0x2a1524['isUploaded']=!0x1),null!=_0x2e42c8['isUploaded']&&_0x2e42c8['hasOwnProperty']('isUploaded')&&(_0x2a1524['isUploaded']=_0x2e42c8['isUploaded']),_0x2a1524;},_0x499539['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x499539['getTypeUrl']=function(_0x205703){return void 0x0===_0x205703&&(_0x205703='type.googleapis.com'),_0x205703+'/IsEditorBundleUploadedResponse';},_0x499539;}()),_0xfc4eb2['IsEditorBundleUploadedMessage']=(function(){function _0x2cb994(_0x15da2a){if(_0x15da2a){for(var _0x25dfba=Object['keys'](_0x15da2a),_0x415978=0x0;_0x415978<_0x25dfba['length'];++_0x415978)null!=_0x15da2a[_0x25dfba[_0x415978]]&&'__proto__'!==_0x25dfba[_0x415978]&&(this[_0x25dfba[_0x415978]]=_0x15da2a[_0x25dfba[_0x415978]]);}}return _0x2cb994['prototype']['bundleVersion']='',_0x2cb994['create']=function(_0x3489e7){return new _0x2cb994(_0x3489e7);},_0x2cb994['encode']=function(_0x5a858c,_0x1ad7cf){return _0x1ad7cf||(_0x1ad7cf=_0xcae49f['create']()),null!=_0x5a858c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5a858c,'bundleVersion')&&_0x1ad7cf['uint32'](0xa)['string'](_0x5a858c['bundleVersion']),_0x1ad7cf;},_0x2cb994['encodeDelimited']=function(_0x39eac0,_0x162ed5){return this['encode'](_0x39eac0,_0x162ed5)['ldelim']();},_0x2cb994['decode']=function(_0x1dd1ad,_0x136419,_0x4d35a4,_0x3fac59){if(_0x1dd1ad instanceof _0x290291||(_0x1dd1ad=_0x290291['create'](_0x1dd1ad)),void 0x0===_0x3fac59&&(_0x3fac59=0x0),_0x3fac59>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x252ad5=void 0x0===_0x136419?_0x1dd1ad['len']:_0x1dd1ad['pos']+_0x136419,_0x275596=new _0xfc4eb2['IsEditorBundleUploadedMessage']();_0x1dd1ad['pos']<_0x252ad5;){var _0x31d21d=_0x1dd1ad['uint32']();if(_0x31d21d===_0x4d35a4)break;_0x31d21d>>>0x3==0x1?_0x275596['bundleVersion']=_0x1dd1ad['string']():_0x1dd1ad['skipType'](0x7&_0x31d21d,_0x3fac59);}return _0x275596;},_0x2cb994['decodeDelimited']=function(_0x17af81){return _0x17af81 instanceof _0x290291||(_0x17af81=new _0x290291(_0x17af81)),this['decode'](_0x17af81,_0x17af81['uint32']());},_0x2cb994['verify']=function(_0x23e3d8,_0x293e3b){return'object'!=typeof _0x23e3d8||null===_0x23e3d8?'object\x20expected':(void 0x0===_0x293e3b&&(_0x293e3b=0x0),_0x293e3b>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x23e3d8['bundleVersion']&&_0x23e3d8['hasOwnProperty']('bundleVersion')&&!_0x5c599b['isString'](_0x23e3d8['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0x2cb994['fromObject']=function(_0x1f0931,_0x1d31c8){if(_0x1f0931 instanceof _0xfc4eb2['IsEditorBundleUploadedMessage'])return _0x1f0931;if(void 0x0===_0x1d31c8&&(_0x1d31c8=0x0),_0x1d31c8>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x51f6f8=new _0xfc4eb2['IsEditorBundleUploadedMessage']();return null!=_0x1f0931['bundleVersion']&&(_0x51f6f8['bundleVersion']=String(_0x1f0931['bundleVersion'])),_0x51f6f8;},_0x2cb994['toObject']=function(_0x25f035,_0x169174){_0x169174||(_0x169174={});var _0x20ffe5={};return _0x169174['defaults']&&(_0x20ffe5['bundleVersion']=''),null!=_0x25f035['bundleVersion']&&_0x25f035['hasOwnProperty']('bundleVersion')&&(_0x20ffe5['bundleVersion']=_0x25f035['bundleVersion']),_0x20ffe5;},_0x2cb994['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2cb994['getTypeUrl']=function(_0x51e4bf){return void 0x0===_0x51e4bf&&(_0x51e4bf='type.googleapis.com'),_0x51e4bf+'/IsEditorBundleUploadedMessage';},_0x2cb994;}()),_0xfc4eb2['KeyValueDescriptor']=(function(){function _0x24e7fe(_0x24fb53){if(_0x24fb53){for(var _0x26bf66=Object['keys'](_0x24fb53),_0x5f50bb=0x0;_0x5f50bb<_0x26bf66['length'];++_0x5f50bb)null!=_0x24fb53[_0x26bf66[_0x5f50bb]]&&'__proto__'!==_0x26bf66[_0x5f50bb]&&(this[_0x26bf66[_0x5f50bb]]=_0x24fb53[_0x26bf66[_0x5f50bb]]);}}return _0x24e7fe['prototype']['key']='',_0x24e7fe['prototype']['value']='',_0x24e7fe['create']=function(_0x12366e){return new _0x24e7fe(_0x12366e);},_0x24e7fe['encode']=function(_0x31936e,_0x1297e2){return _0x1297e2||(_0x1297e2=_0xcae49f['create']()),null!=_0x31936e['key']&&Object['hasOwnProperty']['call'](_0x31936e,'key')&&_0x1297e2['uint32'](0xa)['string'](_0x31936e['key']),null!=_0x31936e['value']&&Object['hasOwnProperty']['call'](_0x31936e,'value')&&_0x1297e2['uint32'](0x12)['string'](_0x31936e['value']),_0x1297e2;},_0x24e7fe['encodeDelimited']=function(_0x3d772e,_0x4d8054){return this['encode'](_0x3d772e,_0x4d8054)['ldelim']();},_0x24e7fe['decode']=function(_0x49b753,_0x335b1e,_0x54cf0a,_0x4ff17c){if(_0x49b753 instanceof _0x290291||(_0x49b753=_0x290291['create'](_0x49b753)),void 0x0===_0x4ff17c&&(_0x4ff17c=0x0),_0x4ff17c>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x59b29f=void 0x0===_0x335b1e?_0x49b753['len']:_0x49b753['pos']+_0x335b1e,_0x405c3f=new _0xfc4eb2['KeyValueDescriptor']();_0x49b753['pos']<_0x59b29f;){var _0x7effaf=_0x49b753['uint32']();if(_0x7effaf===_0x54cf0a)break;switch(_0x7effaf>>>0x3){case 0x1:_0x405c3f['key']=_0x49b753['string']();break;case 0x2:_0x405c3f['value']=_0x49b753['string']();break;default:_0x49b753['skipType'](0x7&_0x7effaf,_0x4ff17c);}}return _0x405c3f;},_0x24e7fe['decodeDelimited']=function(_0x3a5328){return _0x3a5328 instanceof _0x290291||(_0x3a5328=new _0x290291(_0x3a5328)),this['decode'](_0x3a5328,_0x3a5328['uint32']());},_0x24e7fe['verify']=function(_0x459c85,_0x5877ce){return'object'!=typeof _0x459c85||null===_0x459c85?'object\x20expected':(void 0x0===_0x5877ce&&(_0x5877ce=0x0),_0x5877ce>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x459c85['key']&&_0x459c85['hasOwnProperty']('key')&&!_0x5c599b['isString'](_0x459c85['key'])?'key:\x20string\x20expected':null!=_0x459c85['value']&&_0x459c85['hasOwnProperty']('value')&&!_0x5c599b['isString'](_0x459c85['value'])?'value:\x20string\x20expected':null);},_0x24e7fe['fromObject']=function(_0x26caf9,_0x1c9a3a){if(_0x26caf9 instanceof _0xfc4eb2['KeyValueDescriptor'])return _0x26caf9;if(void 0x0===_0x1c9a3a&&(_0x1c9a3a=0x0),_0x1c9a3a>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x189d71=new _0xfc4eb2['KeyValueDescriptor']();return null!=_0x26caf9['key']&&(_0x189d71['key']=String(_0x26caf9['key'])),null!=_0x26caf9['value']&&(_0x189d71['value']=String(_0x26caf9['value'])),_0x189d71;},_0x24e7fe['toObject']=function(_0x49d4ad,_0x2a8c94){_0x2a8c94||(_0x2a8c94={});var _0x119814={};return _0x2a8c94['defaults']&&(_0x119814['key']='',_0x119814['value']=''),null!=_0x49d4ad['key']&&_0x49d4ad['hasOwnProperty']('key')&&(_0x119814['key']=_0x49d4ad['key']),null!=_0x49d4ad['value']&&_0x49d4ad['hasOwnProperty']('value')&&(_0x119814['value']=_0x49d4ad['value']),_0x119814;},_0x24e7fe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x24e7fe['getTypeUrl']=function(_0x43c5d0){return void 0x0===_0x43c5d0&&(_0x43c5d0='type.googleapis.com'),_0x43c5d0+'/KeyValueDescriptor';},_0x24e7fe;}()),_0xfc4eb2['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x4177ee(_0x24dea0){if(this['threads']=[],this['threadsV2']=[],_0x24dea0){for(var _0x1497ca=Object['keys'](_0x24dea0),_0x21e493=0x0;_0x21e493<_0x1497ca['length'];++_0x21e493)null!=_0x24dea0[_0x1497ca[_0x21e493]]&&'__proto__'!==_0x1497ca[_0x21e493]&&(this[_0x1497ca[_0x21e493]]=_0x24dea0[_0x1497ca[_0x21e493]]);}}return _0x4177ee['prototype']['threads']=_0x5c599b['emptyArray'],_0x4177ee['prototype']['threadsV2']=_0x5c599b['emptyArray'],_0x4177ee['create']=function(_0x34ba8d){return new _0x4177ee(_0x34ba8d);},_0x4177ee['encode']=function(_0xe6c99c,_0x883e10){if(_0x883e10||(_0x883e10=_0xcae49f['create']()),null!=_0xe6c99c['threads']&&_0xe6c99c['threads']['length']){for(var _0x3e3aa1=0x0;_0x3e3aa1<_0xe6c99c['threads']['length'];++_0x3e3aa1)_0x883e10['uint32'](0xa)['string'](_0xe6c99c['threads'][_0x3e3aa1]);}if(null!=_0xe6c99c['threadsV2']&&_0xe6c99c['threadsV2']['length']){for(_0x3e3aa1=0x0;_0x3e3aa1<_0xe6c99c['threadsV2']['length'];++_0x3e3aa1)_0xfc4eb2['CommentsThreadDescriptor']['encode'](_0xe6c99c['threadsV2'][_0x3e3aa1],_0x883e10['uint32'](0x12)['fork']())['ldelim']();}return _0x883e10;},_0x4177ee['encodeDelimited']=function(_0x56e02d,_0x3fdff1){return this['encode'](_0x56e02d,_0x3fdff1)['ldelim']();},_0x4177ee['decode']=function(_0xe4c0e3,_0x4e372b,_0x39300c,_0x3da7f6){if(_0xe4c0e3 instanceof _0x290291||(_0xe4c0e3=_0x290291['create'](_0xe4c0e3)),void 0x0===_0x3da7f6&&(_0x3da7f6=0x0),_0x3da7f6>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33dc7e=void 0x0===_0x4e372b?_0xe4c0e3['len']:_0xe4c0e3['pos']+_0x4e372b,_0x5be32a=new _0xfc4eb2['CommentsV2GetDocumentThreadsResponse']();_0xe4c0e3['pos']<_0x33dc7e;){var _0x5a76a2=_0xe4c0e3['uint32']();if(_0x5a76a2===_0x39300c)break;switch(_0x5a76a2>>>0x3){case 0x1:_0x5be32a['threads']&&_0x5be32a['threads']['length']||(_0x5be32a['threads']=[]),_0x5be32a['threads']['push'](_0xe4c0e3['string']());break;case 0x2:_0x5be32a['threadsV2']&&_0x5be32a['threadsV2']['length']||(_0x5be32a['threadsV2']=[]),_0x5be32a['threadsV2']['push'](_0xfc4eb2['CommentsThreadDescriptor']['decode'](_0xe4c0e3,_0xe4c0e3['uint32'](),void 0x0,_0x3da7f6+0x1));break;default:_0xe4c0e3['skipType'](0x7&_0x5a76a2,_0x3da7f6);}}return _0x5be32a;},_0x4177ee['decodeDelimited']=function(_0x5a1526){return _0x5a1526 instanceof _0x290291||(_0x5a1526=new _0x290291(_0x5a1526)),this['decode'](_0x5a1526,_0x5a1526['uint32']());},_0x4177ee['verify']=function(_0xf906e7,_0x559b3f){if('object'!=typeof _0xf906e7||null===_0xf906e7)return'object\x20expected';if(void 0x0===_0x559b3f&&(_0x559b3f=0x0),_0x559b3f>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xf906e7['threads']&&_0xf906e7['hasOwnProperty']('threads')){if(!Array['isArray'](_0xf906e7['threads']))return'threads:\x20array\x20expected';for(var _0xc450c6=0x0;_0xc450c6<_0xf906e7['threads']['length'];++_0xc450c6)if(!_0x5c599b['isString'](_0xf906e7['threads'][_0xc450c6]))return'threads:\x20string[]\x20expected';}if(null!=_0xf906e7['threadsV2']&&_0xf906e7['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0xf906e7['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0xc450c6=0x0;_0xc450c6<_0xf906e7['threadsV2']['length'];++_0xc450c6){var _0x13f7c1=_0xfc4eb2['CommentsThreadDescriptor']['verify'](_0xf906e7['threadsV2'][_0xc450c6],_0x559b3f+0x1);if(_0x13f7c1)return'threadsV2.'+_0x13f7c1;}}return null;},_0x4177ee['fromObject']=function(_0x5001c5,_0xc3107a){if(_0x5001c5 instanceof _0xfc4eb2['CommentsV2GetDocumentThreadsResponse'])return _0x5001c5;if(void 0x0===_0xc3107a&&(_0xc3107a=0x0),_0xc3107a>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x58609b=new _0xfc4eb2['CommentsV2GetDocumentThreadsResponse']();if(_0x5001c5['threads']){if(!Array['isArray'](_0x5001c5['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x58609b['threads']=[];for(var _0x376ac4=0x0;_0x376ac4<_0x5001c5['threads']['length'];++_0x376ac4)_0x58609b['threads'][_0x376ac4]=String(_0x5001c5['threads'][_0x376ac4]);}if(_0x5001c5['threadsV2']){if(!Array['isArray'](_0x5001c5['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x58609b['threadsV2']=[],_0x376ac4=0x0;_0x376ac4<_0x5001c5['threadsV2']['length'];++_0x376ac4){if('object'!=typeof _0x5001c5['threadsV2'][_0x376ac4])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x58609b['threadsV2'][_0x376ac4]=_0xfc4eb2['CommentsThreadDescriptor']['fromObject'](_0x5001c5['threadsV2'][_0x376ac4],_0xc3107a+0x1);}}return _0x58609b;},_0x4177ee['toObject']=function(_0x43599d,_0x20fcb0){_0x20fcb0||(_0x20fcb0={});var _0x5dac9e={};if((_0x20fcb0['arrays']||_0x20fcb0['defaults'])&&(_0x5dac9e['threads']=[],_0x5dac9e['threadsV2']=[]),_0x43599d['threads']&&_0x43599d['threads']['length']){_0x5dac9e['threads']=[];for(var _0x19f66d=0x0;_0x19f66d<_0x43599d['threads']['length'];++_0x19f66d)_0x5dac9e['threads'][_0x19f66d]=_0x43599d['threads'][_0x19f66d];}if(_0x43599d['threadsV2']&&_0x43599d['threadsV2']['length']){for(_0x5dac9e['threadsV2']=[],_0x19f66d=0x0;_0x19f66d<_0x43599d['threadsV2']['length'];++_0x19f66d)_0x5dac9e['threadsV2'][_0x19f66d]=_0xfc4eb2['CommentsThreadDescriptor']['toObject'](_0x43599d['threadsV2'][_0x19f66d],_0x20fcb0);}return _0x5dac9e;},_0x4177ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x4177ee['getTypeUrl']=function(_0x409d1e){return void 0x0===_0x409d1e&&(_0x409d1e='type.googleapis.com'),_0x409d1e+'/CommentsV2GetDocumentThreadsResponse';},_0x4177ee;}()),_0xfc4eb2['CommentsV2GetCommentThreadResponse']=(function(){function _0x513af2(_0x9151e4){if(this['comments']=[],this['commentsV2']=[],_0x9151e4){for(var _0x4c143d=Object['keys'](_0x9151e4),_0x1f6127=0x0;_0x1f6127<_0x4c143d['length'];++_0x1f6127)null!=_0x9151e4[_0x4c143d[_0x1f6127]]&&'__proto__'!==_0x4c143d[_0x1f6127]&&(this[_0x4c143d[_0x1f6127]]=_0x9151e4[_0x4c143d[_0x1f6127]]);}}return _0x513af2['prototype']['commentThreadId']='',_0x513af2['prototype']['comments']=_0x5c599b['emptyArray'],_0x513af2['prototype']['commentsV2']=_0x5c599b['emptyArray'],_0x513af2['prototype']['resolvedAt']='',_0x513af2['prototype']['resolvedBy']='',_0x513af2['prototype']['context']='',_0x513af2['prototype']['createdAt']='',_0x513af2['prototype']['deletedAt']='',_0x513af2['prototype']['attributes']='',_0x513af2['prototype']['unlinkedAt']='',_0x513af2['create']=function(_0x2785e9){return new _0x513af2(_0x2785e9);},_0x513af2['encode']=function(_0x51188f,_0x5eea2f){if(_0x5eea2f||(_0x5eea2f=_0xcae49f['create']()),null!=_0x51188f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x51188f,'commentThreadId')&&_0x5eea2f['uint32'](0xa)['string'](_0x51188f['commentThreadId']),null!=_0x51188f['comments']&&_0x51188f['comments']['length']){for(var _0xa6c714=0x0;_0xa6c714<_0x51188f['comments']['length'];++_0xa6c714)_0x5eea2f['uint32'](0x12)['string'](_0x51188f['comments'][_0xa6c714]);}if(null!=_0x51188f['commentsV2']&&_0x51188f['commentsV2']['length']){for(_0xa6c714=0x0;_0xa6c714<_0x51188f['commentsV2']['length'];++_0xa6c714)_0xfc4eb2['CommentDescriptor']['encode'](_0x51188f['commentsV2'][_0xa6c714],_0x5eea2f['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x51188f['resolvedAt']&&Object['hasOwnProperty']['call'](_0x51188f,'resolvedAt')&&_0x5eea2f['uint32'](0x22)['string'](_0x51188f['resolvedAt']),null!=_0x51188f['resolvedBy']&&Object['hasOwnProperty']['call'](_0x51188f,'resolvedBy')&&_0x5eea2f['uint32'](0x2a)['string'](_0x51188f['resolvedBy']),null!=_0x51188f['context']&&Object['hasOwnProperty']['call'](_0x51188f,'context')&&_0x5eea2f['uint32'](0x32)['string'](_0x51188f['context']),null!=_0x51188f['createdAt']&&Object['hasOwnProperty']['call'](_0x51188f,'createdAt')&&_0x5eea2f['uint32'](0x3a)['string'](_0x51188f['createdAt']),null!=_0x51188f['deletedAt']&&Object['hasOwnProperty']['call'](_0x51188f,'deletedAt')&&_0x5eea2f['uint32'](0x42)['string'](_0x51188f['deletedAt']),null!=_0x51188f['attributes']&&Object['hasOwnProperty']['call'](_0x51188f,'attributes')&&_0x5eea2f['uint32'](0x4a)['string'](_0x51188f['attributes']),null!=_0x51188f['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x51188f,'unlinkedAt')&&_0x5eea2f['uint32'](0x52)['string'](_0x51188f['unlinkedAt']),_0x5eea2f;},_0x513af2['encodeDelimited']=function(_0x2ec5af,_0xf74e78){return this['encode'](_0x2ec5af,_0xf74e78)['ldelim']();},_0x513af2['decode']=function(_0x295d6c,_0x56cf9c,_0x3af399,_0xba10cd){if(_0x295d6c instanceof _0x290291||(_0x295d6c=_0x290291['create'](_0x295d6c)),void 0x0===_0xba10cd&&(_0xba10cd=0x0),_0xba10cd>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x167ca2=void 0x0===_0x56cf9c?_0x295d6c['len']:_0x295d6c['pos']+_0x56cf9c,_0x3e2d44=new _0xfc4eb2['CommentsV2GetCommentThreadResponse']();_0x295d6c['pos']<_0x167ca2;){var _0x4a642d=_0x295d6c['uint32']();if(_0x4a642d===_0x3af399)break;switch(_0x4a642d>>>0x3){case 0x1:_0x3e2d44['commentThreadId']=_0x295d6c['string']();break;case 0x2:_0x3e2d44['comments']&&_0x3e2d44['comments']['length']||(_0x3e2d44['comments']=[]),_0x3e2d44['comments']['push'](_0x295d6c['string']());break;case 0x3:_0x3e2d44['commentsV2']&&_0x3e2d44['commentsV2']['length']||(_0x3e2d44['commentsV2']=[]),_0x3e2d44['commentsV2']['push'](_0xfc4eb2['CommentDescriptor']['decode'](_0x295d6c,_0x295d6c['uint32'](),void 0x0,_0xba10cd+0x1));break;case 0x4:_0x3e2d44['resolvedAt']=_0x295d6c['string']();break;case 0x5:_0x3e2d44['resolvedBy']=_0x295d6c['string']();break;case 0x6:_0x3e2d44['context']=_0x295d6c['string']();break;case 0x7:_0x3e2d44['createdAt']=_0x295d6c['string']();break;case 0x8:_0x3e2d44['deletedAt']=_0x295d6c['string']();break;case 0x9:_0x3e2d44['attributes']=_0x295d6c['string']();break;case 0xa:_0x3e2d44['unlinkedAt']=_0x295d6c['string']();break;default:_0x295d6c['skipType'](0x7&_0x4a642d,_0xba10cd);}}return _0x3e2d44;},_0x513af2['decodeDelimited']=function(_0x278d14){return _0x278d14 instanceof _0x290291||(_0x278d14=new _0x290291(_0x278d14)),this['decode'](_0x278d14,_0x278d14['uint32']());},_0x513af2['verify']=function(_0x2bae79,_0x5262ed){if('object'!=typeof _0x2bae79||null===_0x2bae79)return'object\x20expected';if(void 0x0===_0x5262ed&&(_0x5262ed=0x0),_0x5262ed>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2bae79['commentThreadId']&&_0x2bae79['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x2bae79['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2bae79['comments']&&_0x2bae79['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2bae79['comments']))return'comments:\x20array\x20expected';for(var _0x3ff932=0x0;_0x3ff932<_0x2bae79['comments']['length'];++_0x3ff932)if(!_0x5c599b['isString'](_0x2bae79['comments'][_0x3ff932]))return'comments:\x20string[]\x20expected';}if(null!=_0x2bae79['commentsV2']&&_0x2bae79['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x2bae79['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x3ff932=0x0;_0x3ff932<_0x2bae79['commentsV2']['length'];++_0x3ff932){var _0x338b55=_0xfc4eb2['CommentDescriptor']['verify'](_0x2bae79['commentsV2'][_0x3ff932],_0x5262ed+0x1);if(_0x338b55)return'commentsV2.'+_0x338b55;}}return null!=_0x2bae79['resolvedAt']&&_0x2bae79['hasOwnProperty']('resolvedAt')&&!_0x5c599b['isString'](_0x2bae79['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x2bae79['resolvedBy']&&_0x2bae79['hasOwnProperty']('resolvedBy')&&!_0x5c599b['isString'](_0x2bae79['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x2bae79['context']&&_0x2bae79['hasOwnProperty']('context')&&!_0x5c599b['isString'](_0x2bae79['context'])?'context:\x20string\x20expected':null!=_0x2bae79['createdAt']&&_0x2bae79['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x2bae79['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2bae79['deletedAt']&&_0x2bae79['hasOwnProperty']('deletedAt')&&!_0x5c599b['isString'](_0x2bae79['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x2bae79['attributes']&&_0x2bae79['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x2bae79['attributes'])?'attributes:\x20string\x20expected':null!=_0x2bae79['unlinkedAt']&&_0x2bae79['hasOwnProperty']('unlinkedAt')&&!_0x5c599b['isString'](_0x2bae79['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x513af2['fromObject']=function(_0x5cb7d2,_0x5b54a0){if(_0x5cb7d2 instanceof _0xfc4eb2['CommentsV2GetCommentThreadResponse'])return _0x5cb7d2;if(void 0x0===_0x5b54a0&&(_0x5b54a0=0x0),_0x5b54a0>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d788a=new _0xfc4eb2['CommentsV2GetCommentThreadResponse']();if(null!=_0x5cb7d2['commentThreadId']&&(_0x2d788a['commentThreadId']=String(_0x5cb7d2['commentThreadId'])),_0x5cb7d2['comments']){if(!Array['isArray'](_0x5cb7d2['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x2d788a['comments']=[];for(var _0x43bbaf=0x0;_0x43bbaf<_0x5cb7d2['comments']['length'];++_0x43bbaf)_0x2d788a['comments'][_0x43bbaf]=String(_0x5cb7d2['comments'][_0x43bbaf]);}if(_0x5cb7d2['commentsV2']){if(!Array['isArray'](_0x5cb7d2['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x2d788a['commentsV2']=[],_0x43bbaf=0x0;_0x43bbaf<_0x5cb7d2['commentsV2']['length'];++_0x43bbaf){if('object'!=typeof _0x5cb7d2['commentsV2'][_0x43bbaf])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x2d788a['commentsV2'][_0x43bbaf]=_0xfc4eb2['CommentDescriptor']['fromObject'](_0x5cb7d2['commentsV2'][_0x43bbaf],_0x5b54a0+0x1);}}return null!=_0x5cb7d2['resolvedAt']&&(_0x2d788a['resolvedAt']=String(_0x5cb7d2['resolvedAt'])),null!=_0x5cb7d2['resolvedBy']&&(_0x2d788a['resolvedBy']=String(_0x5cb7d2['resolvedBy'])),null!=_0x5cb7d2['context']&&(_0x2d788a['context']=String(_0x5cb7d2['context'])),null!=_0x5cb7d2['createdAt']&&(_0x2d788a['createdAt']=String(_0x5cb7d2['createdAt'])),null!=_0x5cb7d2['deletedAt']&&(_0x2d788a['deletedAt']=String(_0x5cb7d2['deletedAt'])),null!=_0x5cb7d2['attributes']&&(_0x2d788a['attributes']=String(_0x5cb7d2['attributes'])),null!=_0x5cb7d2['unlinkedAt']&&(_0x2d788a['unlinkedAt']=String(_0x5cb7d2['unlinkedAt'])),_0x2d788a;},_0x513af2['toObject']=function(_0x5560ab,_0x3927b7){_0x3927b7||(_0x3927b7={});var _0x392eda={};if((_0x3927b7['arrays']||_0x3927b7['defaults'])&&(_0x392eda['comments']=[],_0x392eda['commentsV2']=[]),_0x3927b7['defaults']&&(_0x392eda['commentThreadId']='',_0x392eda['resolvedAt']='',_0x392eda['resolvedBy']='',_0x392eda['context']='',_0x392eda['createdAt']='',_0x392eda['deletedAt']='',_0x392eda['attributes']='',_0x392eda['unlinkedAt']=''),null!=_0x5560ab['commentThreadId']&&_0x5560ab['hasOwnProperty']('commentThreadId')&&(_0x392eda['commentThreadId']=_0x5560ab['commentThreadId']),_0x5560ab['comments']&&_0x5560ab['comments']['length']){_0x392eda['comments']=[];for(var _0x32d40a=0x0;_0x32d40a<_0x5560ab['comments']['length'];++_0x32d40a)_0x392eda['comments'][_0x32d40a]=_0x5560ab['comments'][_0x32d40a];}if(_0x5560ab['commentsV2']&&_0x5560ab['commentsV2']['length']){for(_0x392eda['commentsV2']=[],_0x32d40a=0x0;_0x32d40a<_0x5560ab['commentsV2']['length'];++_0x32d40a)_0x392eda['commentsV2'][_0x32d40a]=_0xfc4eb2['CommentDescriptor']['toObject'](_0x5560ab['commentsV2'][_0x32d40a],_0x3927b7);}return null!=_0x5560ab['resolvedAt']&&_0x5560ab['hasOwnProperty']('resolvedAt')&&(_0x392eda['resolvedAt']=_0x5560ab['resolvedAt']),null!=_0x5560ab['resolvedBy']&&_0x5560ab['hasOwnProperty']('resolvedBy')&&(_0x392eda['resolvedBy']=_0x5560ab['resolvedBy']),null!=_0x5560ab['context']&&_0x5560ab['hasOwnProperty']('context')&&(_0x392eda['context']=_0x5560ab['context']),null!=_0x5560ab['createdAt']&&_0x5560ab['hasOwnProperty']('createdAt')&&(_0x392eda['createdAt']=_0x5560ab['createdAt']),null!=_0x5560ab['deletedAt']&&_0x5560ab['hasOwnProperty']('deletedAt')&&(_0x392eda['deletedAt']=_0x5560ab['deletedAt']),null!=_0x5560ab['attributes']&&_0x5560ab['hasOwnProperty']('attributes')&&(_0x392eda['attributes']=_0x5560ab['attributes']),null!=_0x5560ab['unlinkedAt']&&_0x5560ab['hasOwnProperty']('unlinkedAt')&&(_0x392eda['unlinkedAt']=_0x5560ab['unlinkedAt']),_0x392eda;},_0x513af2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x513af2['getTypeUrl']=function(_0x3e617c){return void 0x0===_0x3e617c&&(_0x3e617c='type.googleapis.com'),_0x3e617c+'/CommentsV2GetCommentThreadResponse';},_0x513af2;}()),_0xfc4eb2['CommentsV2ConnectResponse']=(function(){function _0x271b7b(_0xace135){if(this['threads']=[],this['threadsV2']=[],_0xace135){for(var _0x524ea6=Object['keys'](_0xace135),_0x2ae023=0x0;_0x2ae023<_0x524ea6['length'];++_0x2ae023)null!=_0xace135[_0x524ea6[_0x2ae023]]&&'__proto__'!==_0x524ea6[_0x2ae023]&&(this[_0x524ea6[_0x2ae023]]=_0xace135[_0x524ea6[_0x2ae023]]);}}return _0x271b7b['prototype']['channel']='',_0x271b7b['prototype']['threads']=_0x5c599b['emptyArray'],_0x271b7b['prototype']['threadsV2']=_0x5c599b['emptyArray'],_0x271b7b['create']=function(_0x46099f){return new _0x271b7b(_0x46099f);},_0x271b7b['encode']=function(_0x40e3a4,_0x3072c1){if(_0x3072c1||(_0x3072c1=_0xcae49f['create']()),null!=_0x40e3a4['channel']&&Object['hasOwnProperty']['call'](_0x40e3a4,'channel')&&_0x3072c1['uint32'](0xa)['string'](_0x40e3a4['channel']),null!=_0x40e3a4['threads']&&_0x40e3a4['threads']['length']){for(var _0x325b88=0x0;_0x325b88<_0x40e3a4['threads']['length'];++_0x325b88)_0x3072c1['uint32'](0x12)['string'](_0x40e3a4['threads'][_0x325b88]);}if(null!=_0x40e3a4['threadsV2']&&_0x40e3a4['threadsV2']['length']){for(_0x325b88=0x0;_0x325b88<_0x40e3a4['threadsV2']['length'];++_0x325b88)_0xfc4eb2['CommentsThreadDescriptor']['encode'](_0x40e3a4['threadsV2'][_0x325b88],_0x3072c1['uint32'](0x1a)['fork']())['ldelim']();}return _0x3072c1;},_0x271b7b['encodeDelimited']=function(_0x5eacc8,_0xbe4f3){return this['encode'](_0x5eacc8,_0xbe4f3)['ldelim']();},_0x271b7b['decode']=function(_0x1c542b,_0x441507,_0x480a3b,_0x375cf0){if(_0x1c542b instanceof _0x290291||(_0x1c542b=_0x290291['create'](_0x1c542b)),void 0x0===_0x375cf0&&(_0x375cf0=0x0),_0x375cf0>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1723a9=void 0x0===_0x441507?_0x1c542b['len']:_0x1c542b['pos']+_0x441507,_0x5a4843=new _0xfc4eb2['CommentsV2ConnectResponse']();_0x1c542b['pos']<_0x1723a9;){var _0x1d35bb=_0x1c542b['uint32']();if(_0x1d35bb===_0x480a3b)break;switch(_0x1d35bb>>>0x3){case 0x1:_0x5a4843['channel']=_0x1c542b['string']();break;case 0x2:_0x5a4843['threads']&&_0x5a4843['threads']['length']||(_0x5a4843['threads']=[]),_0x5a4843['threads']['push'](_0x1c542b['string']());break;case 0x3:_0x5a4843['threadsV2']&&_0x5a4843['threadsV2']['length']||(_0x5a4843['threadsV2']=[]),_0x5a4843['threadsV2']['push'](_0xfc4eb2['CommentsThreadDescriptor']['decode'](_0x1c542b,_0x1c542b['uint32'](),void 0x0,_0x375cf0+0x1));break;default:_0x1c542b['skipType'](0x7&_0x1d35bb,_0x375cf0);}}return _0x5a4843;},_0x271b7b['decodeDelimited']=function(_0x3dc3a1){return _0x3dc3a1 instanceof _0x290291||(_0x3dc3a1=new _0x290291(_0x3dc3a1)),this['decode'](_0x3dc3a1,_0x3dc3a1['uint32']());},_0x271b7b['verify']=function(_0x9bd066,_0x2d51ab){if('object'!=typeof _0x9bd066||null===_0x9bd066)return'object\x20expected';if(void 0x0===_0x2d51ab&&(_0x2d51ab=0x0),_0x2d51ab>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x9bd066['channel']&&_0x9bd066['hasOwnProperty']('channel')&&!_0x5c599b['isString'](_0x9bd066['channel']))return'channel:\x20string\x20expected';if(null!=_0x9bd066['threads']&&_0x9bd066['hasOwnProperty']('threads')){if(!Array['isArray'](_0x9bd066['threads']))return'threads:\x20array\x20expected';for(var _0x37b4fa=0x0;_0x37b4fa<_0x9bd066['threads']['length'];++_0x37b4fa)if(!_0x5c599b['isString'](_0x9bd066['threads'][_0x37b4fa]))return'threads:\x20string[]\x20expected';}if(null!=_0x9bd066['threadsV2']&&_0x9bd066['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x9bd066['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x37b4fa=0x0;_0x37b4fa<_0x9bd066['threadsV2']['length'];++_0x37b4fa){var _0x413890=_0xfc4eb2['CommentsThreadDescriptor']['verify'](_0x9bd066['threadsV2'][_0x37b4fa],_0x2d51ab+0x1);if(_0x413890)return'threadsV2.'+_0x413890;}}return null;},_0x271b7b['fromObject']=function(_0x1e1aa6,_0x5a8254){if(_0x1e1aa6 instanceof _0xfc4eb2['CommentsV2ConnectResponse'])return _0x1e1aa6;if(void 0x0===_0x5a8254&&(_0x5a8254=0x0),_0x5a8254>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x518a68=new _0xfc4eb2['CommentsV2ConnectResponse']();if(null!=_0x1e1aa6['channel']&&(_0x518a68['channel']=String(_0x1e1aa6['channel'])),_0x1e1aa6['threads']){if(!Array['isArray'](_0x1e1aa6['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x518a68['threads']=[];for(var _0x2606e8=0x0;_0x2606e8<_0x1e1aa6['threads']['length'];++_0x2606e8)_0x518a68['threads'][_0x2606e8]=String(_0x1e1aa6['threads'][_0x2606e8]);}if(_0x1e1aa6['threadsV2']){if(!Array['isArray'](_0x1e1aa6['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x518a68['threadsV2']=[],_0x2606e8=0x0;_0x2606e8<_0x1e1aa6['threadsV2']['length'];++_0x2606e8){if('object'!=typeof _0x1e1aa6['threadsV2'][_0x2606e8])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x518a68['threadsV2'][_0x2606e8]=_0xfc4eb2['CommentsThreadDescriptor']['fromObject'](_0x1e1aa6['threadsV2'][_0x2606e8],_0x5a8254+0x1);}}return _0x518a68;},_0x271b7b['toObject']=function(_0x100cc4,_0x274a57){_0x274a57||(_0x274a57={});var _0x3169ef={};if((_0x274a57['arrays']||_0x274a57['defaults'])&&(_0x3169ef['threads']=[],_0x3169ef['threadsV2']=[]),_0x274a57['defaults']&&(_0x3169ef['channel']=''),null!=_0x100cc4['channel']&&_0x100cc4['hasOwnProperty']('channel')&&(_0x3169ef['channel']=_0x100cc4['channel']),_0x100cc4['threads']&&_0x100cc4['threads']['length']){_0x3169ef['threads']=[];for(var _0x1a8e40=0x0;_0x1a8e40<_0x100cc4['threads']['length'];++_0x1a8e40)_0x3169ef['threads'][_0x1a8e40]=_0x100cc4['threads'][_0x1a8e40];}if(_0x100cc4['threadsV2']&&_0x100cc4['threadsV2']['length']){for(_0x3169ef['threadsV2']=[],_0x1a8e40=0x0;_0x1a8e40<_0x100cc4['threadsV2']['length'];++_0x1a8e40)_0x3169ef['threadsV2'][_0x1a8e40]=_0xfc4eb2['CommentsThreadDescriptor']['toObject'](_0x100cc4['threadsV2'][_0x1a8e40],_0x274a57);}return _0x3169ef;},_0x271b7b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x271b7b['getTypeUrl']=function(_0x51c3f2){return void 0x0===_0x51c3f2&&(_0x51c3f2='type.googleapis.com'),_0x51c3f2+'/CommentsV2ConnectResponse';},_0x271b7b;}()),_0xfc4eb2['CommentsV2AddCommentResponse']=(function(){function _0x299711(_0x177492){if(_0x177492){for(var _0x2c4175=Object['keys'](_0x177492),_0x2994f3=0x0;_0x2994f3<_0x2c4175['length'];++_0x2994f3)null!=_0x177492[_0x2c4175[_0x2994f3]]&&'__proto__'!==_0x2c4175[_0x2994f3]&&(this[_0x2c4175[_0x2994f3]]=_0x177492[_0x2c4175[_0x2994f3]]);}}return _0x299711['prototype']['commentThreadId']='',_0x299711['prototype']['commentId']='',_0x299711['prototype']['createdAt']='',_0x299711['create']=function(_0x3917dc){return new _0x299711(_0x3917dc);},_0x299711['encode']=function(_0x544e6e,_0x5c8034){return _0x5c8034||(_0x5c8034=_0xcae49f['create']()),null!=_0x544e6e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x544e6e,'commentThreadId')&&_0x5c8034['uint32'](0xa)['string'](_0x544e6e['commentThreadId']),null!=_0x544e6e['commentId']&&Object['hasOwnProperty']['call'](_0x544e6e,'commentId')&&_0x5c8034['uint32'](0x12)['string'](_0x544e6e['commentId']),null!=_0x544e6e['createdAt']&&Object['hasOwnProperty']['call'](_0x544e6e,'createdAt')&&_0x5c8034['uint32'](0x1a)['string'](_0x544e6e['createdAt']),_0x5c8034;},_0x299711['encodeDelimited']=function(_0x1bfaa2,_0x34c3a7){return this['encode'](_0x1bfaa2,_0x34c3a7)['ldelim']();},_0x299711['decode']=function(_0x498d3e,_0x1ac57a,_0x32302d,_0x3104d2){if(_0x498d3e instanceof _0x290291||(_0x498d3e=_0x290291['create'](_0x498d3e)),void 0x0===_0x3104d2&&(_0x3104d2=0x0),_0x3104d2>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x342ac=void 0x0===_0x1ac57a?_0x498d3e['len']:_0x498d3e['pos']+_0x1ac57a,_0x452aec=new _0xfc4eb2['CommentsV2AddCommentResponse']();_0x498d3e['pos']<_0x342ac;){var _0x54f4fe=_0x498d3e['uint32']();if(_0x54f4fe===_0x32302d)break;switch(_0x54f4fe>>>0x3){case 0x1:_0x452aec['commentThreadId']=_0x498d3e['string']();break;case 0x2:_0x452aec['commentId']=_0x498d3e['string']();break;case 0x3:_0x452aec['createdAt']=_0x498d3e['string']();break;default:_0x498d3e['skipType'](0x7&_0x54f4fe,_0x3104d2);}}return _0x452aec;},_0x299711['decodeDelimited']=function(_0x3370e5){return _0x3370e5 instanceof _0x290291||(_0x3370e5=new _0x290291(_0x3370e5)),this['decode'](_0x3370e5,_0x3370e5['uint32']());},_0x299711['verify']=function(_0x436987,_0x18ab82){return'object'!=typeof _0x436987||null===_0x436987?'object\x20expected':(void 0x0===_0x18ab82&&(_0x18ab82=0x0),_0x18ab82>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x436987['commentThreadId']&&_0x436987['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x436987['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x436987['commentId']&&_0x436987['hasOwnProperty']('commentId')&&!_0x5c599b['isString'](_0x436987['commentId'])?'commentId:\x20string\x20expected':null!=_0x436987['createdAt']&&_0x436987['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x436987['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x299711['fromObject']=function(_0x31524f,_0x35551e){if(_0x31524f instanceof _0xfc4eb2['CommentsV2AddCommentResponse'])return _0x31524f;if(void 0x0===_0x35551e&&(_0x35551e=0x0),_0x35551e>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x8420e6=new _0xfc4eb2['CommentsV2AddCommentResponse']();return null!=_0x31524f['commentThreadId']&&(_0x8420e6['commentThreadId']=String(_0x31524f['commentThreadId'])),null!=_0x31524f['commentId']&&(_0x8420e6['commentId']=String(_0x31524f['commentId'])),null!=_0x31524f['createdAt']&&(_0x8420e6['createdAt']=String(_0x31524f['createdAt'])),_0x8420e6;},_0x299711['toObject']=function(_0x3248fe,_0x1ecde7){_0x1ecde7||(_0x1ecde7={});var _0x338010={};return _0x1ecde7['defaults']&&(_0x338010['commentThreadId']='',_0x338010['commentId']='',_0x338010['createdAt']=''),null!=_0x3248fe['commentThreadId']&&_0x3248fe['hasOwnProperty']('commentThreadId')&&(_0x338010['commentThreadId']=_0x3248fe['commentThreadId']),null!=_0x3248fe['commentId']&&_0x3248fe['hasOwnProperty']('commentId')&&(_0x338010['commentId']=_0x3248fe['commentId']),null!=_0x3248fe['createdAt']&&_0x3248fe['hasOwnProperty']('createdAt')&&(_0x338010['createdAt']=_0x3248fe['createdAt']),_0x338010;},_0x299711['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x299711['getTypeUrl']=function(_0x48e9c5){return void 0x0===_0x48e9c5&&(_0x48e9c5='type.googleapis.com'),_0x48e9c5+'/CommentsV2AddCommentResponse';},_0x299711;}()),_0xfc4eb2['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x388a7d(_0x3ec30a){if(_0x3ec30a){for(var _0x3e8887=Object['keys'](_0x3ec30a),_0x24d053=0x0;_0x24d053<_0x3e8887['length'];++_0x24d053)null!=_0x3ec30a[_0x3e8887[_0x24d053]]&&'__proto__'!==_0x3e8887[_0x24d053]&&(this[_0x3e8887[_0x24d053]]=_0x3ec30a[_0x3e8887[_0x24d053]]);}}return _0x388a7d['prototype']['commentThreadId']='',_0x388a7d['prototype']['documentId']='',_0x388a7d['prototype']['resolvedAt']='',_0x388a7d['prototype']['resolvedBy']='',_0x388a7d['create']=function(_0x534210){return new _0x388a7d(_0x534210);},_0x388a7d['encode']=function(_0x1f7083,_0x6d04a7){return _0x6d04a7||(_0x6d04a7=_0xcae49f['create']()),null!=_0x1f7083['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1f7083,'commentThreadId')&&_0x6d04a7['uint32'](0xa)['string'](_0x1f7083['commentThreadId']),null!=_0x1f7083['documentId']&&Object['hasOwnProperty']['call'](_0x1f7083,'documentId')&&_0x6d04a7['uint32'](0x12)['string'](_0x1f7083['documentId']),null!=_0x1f7083['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1f7083,'resolvedAt')&&_0x6d04a7['uint32'](0x1a)['string'](_0x1f7083['resolvedAt']),null!=_0x1f7083['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1f7083,'resolvedBy')&&_0x6d04a7['uint32'](0x22)['string'](_0x1f7083['resolvedBy']),_0x6d04a7;},_0x388a7d['encodeDelimited']=function(_0x4c1957,_0x3b1441){return this['encode'](_0x4c1957,_0x3b1441)['ldelim']();},_0x388a7d['decode']=function(_0x9a27ed,_0x17a6bb,_0x29e85e,_0x4e3ba5){if(_0x9a27ed instanceof _0x290291||(_0x9a27ed=_0x290291['create'](_0x9a27ed)),void 0x0===_0x4e3ba5&&(_0x4e3ba5=0x0),_0x4e3ba5>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41d235=void 0x0===_0x17a6bb?_0x9a27ed['len']:_0x9a27ed['pos']+_0x17a6bb,_0x3e570a=new _0xfc4eb2['CommentsV2ResolveCommentThreadResponse']();_0x9a27ed['pos']<_0x41d235;){var _0x1fc7fe=_0x9a27ed['uint32']();if(_0x1fc7fe===_0x29e85e)break;switch(_0x1fc7fe>>>0x3){case 0x1:_0x3e570a['commentThreadId']=_0x9a27ed['string']();break;case 0x2:_0x3e570a['documentId']=_0x9a27ed['string']();break;case 0x3:_0x3e570a['resolvedAt']=_0x9a27ed['string']();break;case 0x4:_0x3e570a['resolvedBy']=_0x9a27ed['string']();break;default:_0x9a27ed['skipType'](0x7&_0x1fc7fe,_0x4e3ba5);}}return _0x3e570a;},_0x388a7d['decodeDelimited']=function(_0x4759a2){return _0x4759a2 instanceof _0x290291||(_0x4759a2=new _0x290291(_0x4759a2)),this['decode'](_0x4759a2,_0x4759a2['uint32']());},_0x388a7d['verify']=function(_0x5c484e,_0x36a0e1){return'object'!=typeof _0x5c484e||null===_0x5c484e?'object\x20expected':(void 0x0===_0x36a0e1&&(_0x36a0e1=0x0),_0x36a0e1>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5c484e['commentThreadId']&&_0x5c484e['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x5c484e['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5c484e['documentId']&&_0x5c484e['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x5c484e['documentId'])?'documentId:\x20string\x20expected':null!=_0x5c484e['resolvedAt']&&_0x5c484e['hasOwnProperty']('resolvedAt')&&!_0x5c599b['isString'](_0x5c484e['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5c484e['resolvedBy']&&_0x5c484e['hasOwnProperty']('resolvedBy')&&!_0x5c599b['isString'](_0x5c484e['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x388a7d['fromObject']=function(_0x4f921b,_0x1baf54){if(_0x4f921b instanceof _0xfc4eb2['CommentsV2ResolveCommentThreadResponse'])return _0x4f921b;if(void 0x0===_0x1baf54&&(_0x1baf54=0x0),_0x1baf54>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1adad7=new _0xfc4eb2['CommentsV2ResolveCommentThreadResponse']();return null!=_0x4f921b['commentThreadId']&&(_0x1adad7['commentThreadId']=String(_0x4f921b['commentThreadId'])),null!=_0x4f921b['documentId']&&(_0x1adad7['documentId']=String(_0x4f921b['documentId'])),null!=_0x4f921b['resolvedAt']&&(_0x1adad7['resolvedAt']=String(_0x4f921b['resolvedAt'])),null!=_0x4f921b['resolvedBy']&&(_0x1adad7['resolvedBy']=String(_0x4f921b['resolvedBy'])),_0x1adad7;},_0x388a7d['toObject']=function(_0xdc3636,_0x27beef){_0x27beef||(_0x27beef={});var _0x2d65c1={};return _0x27beef['defaults']&&(_0x2d65c1['commentThreadId']='',_0x2d65c1['documentId']='',_0x2d65c1['resolvedAt']='',_0x2d65c1['resolvedBy']=''),null!=_0xdc3636['commentThreadId']&&_0xdc3636['hasOwnProperty']('commentThreadId')&&(_0x2d65c1['commentThreadId']=_0xdc3636['commentThreadId']),null!=_0xdc3636['documentId']&&_0xdc3636['hasOwnProperty']('documentId')&&(_0x2d65c1['documentId']=_0xdc3636['documentId']),null!=_0xdc3636['resolvedAt']&&_0xdc3636['hasOwnProperty']('resolvedAt')&&(_0x2d65c1['resolvedAt']=_0xdc3636['resolvedAt']),null!=_0xdc3636['resolvedBy']&&_0xdc3636['hasOwnProperty']('resolvedBy')&&(_0x2d65c1['resolvedBy']=_0xdc3636['resolvedBy']),_0x2d65c1;},_0x388a7d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x388a7d['getTypeUrl']=function(_0x374b83){return void 0x0===_0x374b83&&(_0x374b83='type.googleapis.com'),_0x374b83+'/CommentsV2ResolveCommentThreadResponse';},_0x388a7d;}()),_0xfc4eb2['CommentsV2AddCommentThreadResponse']=(function(){function _0x538ef5(_0x2bb0e9){if(this['comments']=[],_0x2bb0e9){for(var _0x310f13=Object['keys'](_0x2bb0e9),_0x17129c=0x0;_0x17129c<_0x310f13['length'];++_0x17129c)null!=_0x2bb0e9[_0x310f13[_0x17129c]]&&'__proto__'!==_0x310f13[_0x17129c]&&(this[_0x310f13[_0x17129c]]=_0x2bb0e9[_0x310f13[_0x17129c]]);}}return _0x538ef5['prototype']['commentThreadId']='',_0x538ef5['prototype']['createdAt']='',_0x538ef5['prototype']['comments']=_0x5c599b['emptyArray'],_0x538ef5['create']=function(_0x1039bd){return new _0x538ef5(_0x1039bd);},_0x538ef5['encode']=function(_0x49ec37,_0x2c0a1d){if(_0x2c0a1d||(_0x2c0a1d=_0xcae49f['create']()),null!=_0x49ec37['commentThreadId']&&Object['hasOwnProperty']['call'](_0x49ec37,'commentThreadId')&&_0x2c0a1d['uint32'](0xa)['string'](_0x49ec37['commentThreadId']),null!=_0x49ec37['createdAt']&&Object['hasOwnProperty']['call'](_0x49ec37,'createdAt')&&_0x2c0a1d['uint32'](0x12)['string'](_0x49ec37['createdAt']),null!=_0x49ec37['comments']&&_0x49ec37['comments']['length']){for(var _0x3dc54d=0x0;_0x3dc54d<_0x49ec37['comments']['length'];++_0x3dc54d)_0xfc4eb2['CommentThreadAddedCommentDescriptor']['encode'](_0x49ec37['comments'][_0x3dc54d],_0x2c0a1d['uint32'](0x1a)['fork']())['ldelim']();}return _0x2c0a1d;},_0x538ef5['encodeDelimited']=function(_0x9dfe7a,_0x3a8aa6){return this['encode'](_0x9dfe7a,_0x3a8aa6)['ldelim']();},_0x538ef5['decode']=function(_0xfeb3e3,_0x5d9166,_0x2c5675,_0x3fcb14){if(_0xfeb3e3 instanceof _0x290291||(_0xfeb3e3=_0x290291['create'](_0xfeb3e3)),void 0x0===_0x3fcb14&&(_0x3fcb14=0x0),_0x3fcb14>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x420f1c=void 0x0===_0x5d9166?_0xfeb3e3['len']:_0xfeb3e3['pos']+_0x5d9166,_0x5bcbc4=new _0xfc4eb2['CommentsV2AddCommentThreadResponse']();_0xfeb3e3['pos']<_0x420f1c;){var _0x34ade8=_0xfeb3e3['uint32']();if(_0x34ade8===_0x2c5675)break;switch(_0x34ade8>>>0x3){case 0x1:_0x5bcbc4['commentThreadId']=_0xfeb3e3['string']();break;case 0x2:_0x5bcbc4['createdAt']=_0xfeb3e3['string']();break;case 0x3:_0x5bcbc4['comments']&&_0x5bcbc4['comments']['length']||(_0x5bcbc4['comments']=[]),_0x5bcbc4['comments']['push'](_0xfc4eb2['CommentThreadAddedCommentDescriptor']['decode'](_0xfeb3e3,_0xfeb3e3['uint32'](),void 0x0,_0x3fcb14+0x1));break;default:_0xfeb3e3['skipType'](0x7&_0x34ade8,_0x3fcb14);}}return _0x5bcbc4;},_0x538ef5['decodeDelimited']=function(_0x2f03bc){return _0x2f03bc instanceof _0x290291||(_0x2f03bc=new _0x290291(_0x2f03bc)),this['decode'](_0x2f03bc,_0x2f03bc['uint32']());},_0x538ef5['verify']=function(_0x1bc1c9,_0x2c89e0){if('object'!=typeof _0x1bc1c9||null===_0x1bc1c9)return'object\x20expected';if(void 0x0===_0x2c89e0&&(_0x2c89e0=0x0),_0x2c89e0>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1bc1c9['commentThreadId']&&_0x1bc1c9['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x1bc1c9['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x1bc1c9['createdAt']&&_0x1bc1c9['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x1bc1c9['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x1bc1c9['comments']&&_0x1bc1c9['hasOwnProperty']('comments')){if(!Array['isArray'](_0x1bc1c9['comments']))return'comments:\x20array\x20expected';for(var _0x40887e=0x0;_0x40887e<_0x1bc1c9['comments']['length'];++_0x40887e){var _0x4af7f3=_0xfc4eb2['CommentThreadAddedCommentDescriptor']['verify'](_0x1bc1c9['comments'][_0x40887e],_0x2c89e0+0x1);if(_0x4af7f3)return'comments.'+_0x4af7f3;}}return null;},_0x538ef5['fromObject']=function(_0x4cca5c,_0x3c67ed){if(_0x4cca5c instanceof _0xfc4eb2['CommentsV2AddCommentThreadResponse'])return _0x4cca5c;if(void 0x0===_0x3c67ed&&(_0x3c67ed=0x0),_0x3c67ed>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xdc1d8c=new _0xfc4eb2['CommentsV2AddCommentThreadResponse']();if(null!=_0x4cca5c['commentThreadId']&&(_0xdc1d8c['commentThreadId']=String(_0x4cca5c['commentThreadId'])),null!=_0x4cca5c['createdAt']&&(_0xdc1d8c['createdAt']=String(_0x4cca5c['createdAt'])),_0x4cca5c['comments']){if(!Array['isArray'](_0x4cca5c['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0xdc1d8c['comments']=[];for(var _0x1f6bd3=0x0;_0x1f6bd3<_0x4cca5c['comments']['length'];++_0x1f6bd3){if('object'!=typeof _0x4cca5c['comments'][_0x1f6bd3])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0xdc1d8c['comments'][_0x1f6bd3]=_0xfc4eb2['CommentThreadAddedCommentDescriptor']['fromObject'](_0x4cca5c['comments'][_0x1f6bd3],_0x3c67ed+0x1);}}return _0xdc1d8c;},_0x538ef5['toObject']=function(_0x31274c,_0x5f0da9){_0x5f0da9||(_0x5f0da9={});var _0x5f2a27={};if((_0x5f0da9['arrays']||_0x5f0da9['defaults'])&&(_0x5f2a27['comments']=[]),_0x5f0da9['defaults']&&(_0x5f2a27['commentThreadId']='',_0x5f2a27['createdAt']=''),null!=_0x31274c['commentThreadId']&&_0x31274c['hasOwnProperty']('commentThreadId')&&(_0x5f2a27['commentThreadId']=_0x31274c['commentThreadId']),null!=_0x31274c['createdAt']&&_0x31274c['hasOwnProperty']('createdAt')&&(_0x5f2a27['createdAt']=_0x31274c['createdAt']),_0x31274c['comments']&&_0x31274c['comments']['length']){_0x5f2a27['comments']=[];for(var _0x19dba0=0x0;_0x19dba0<_0x31274c['comments']['length'];++_0x19dba0)_0x5f2a27['comments'][_0x19dba0]=_0xfc4eb2['CommentThreadAddedCommentDescriptor']['toObject'](_0x31274c['comments'][_0x19dba0],_0x5f0da9);}return _0x5f2a27;},_0x538ef5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x538ef5['getTypeUrl']=function(_0x46f9c9){return void 0x0===_0x46f9c9&&(_0x46f9c9='type.googleapis.com'),_0x46f9c9+'/CommentsV2AddCommentThreadResponse';},_0x538ef5;}()),_0xfc4eb2['CommentsV2UpdateCommentMessage']=(function(){function _0x4d285e(_0x285b59){if(_0x285b59){for(var _0x13a8df=Object['keys'](_0x285b59),_0x30ff56=0x0;_0x30ff56<_0x13a8df['length'];++_0x30ff56)null!=_0x285b59[_0x13a8df[_0x30ff56]]&&'__proto__'!==_0x13a8df[_0x30ff56]&&(this[_0x13a8df[_0x30ff56]]=_0x285b59[_0x13a8df[_0x30ff56]]);}}return _0x4d285e['prototype']['commentThreadId']='',_0x4d285e['prototype']['commentId']='',_0x4d285e['prototype']['content']='',_0x4d285e['prototype']['documentId']='',_0x4d285e['prototype']['attributes']='',_0x4d285e['prototype']['isAttributesUpdated']=!0x1,_0x4d285e['prototype']['commentThread']=null,_0x4d285e['create']=function(_0x31c3c7){return new _0x4d285e(_0x31c3c7);},_0x4d285e['encode']=function(_0x4da60d,_0x329e3f){return _0x329e3f||(_0x329e3f=_0xcae49f['create']()),null!=_0x4da60d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4da60d,'commentThreadId')&&_0x329e3f['uint32'](0xa)['string'](_0x4da60d['commentThreadId']),null!=_0x4da60d['commentId']&&Object['hasOwnProperty']['call'](_0x4da60d,'commentId')&&_0x329e3f['uint32'](0x12)['string'](_0x4da60d['commentId']),null!=_0x4da60d['content']&&Object['hasOwnProperty']['call'](_0x4da60d,'content')&&_0x329e3f['uint32'](0x1a)['string'](_0x4da60d['content']),null!=_0x4da60d['documentId']&&Object['hasOwnProperty']['call'](_0x4da60d,'documentId')&&_0x329e3f['uint32'](0x22)['string'](_0x4da60d['documentId']),null!=_0x4da60d['attributes']&&Object['hasOwnProperty']['call'](_0x4da60d,'attributes')&&_0x329e3f['uint32'](0x2a)['string'](_0x4da60d['attributes']),null!=_0x4da60d['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x4da60d,'isAttributesUpdated')&&_0x329e3f['uint32'](0x30)['bool'](_0x4da60d['isAttributesUpdated']),null!=_0x4da60d['commentThread']&&Object['hasOwnProperty']['call'](_0x4da60d,'commentThread')&&_0xfc4eb2['CommentsThreadDescriptor']['encode'](_0x4da60d['commentThread'],_0x329e3f['uint32'](0x3a)['fork']())['ldelim'](),_0x329e3f;},_0x4d285e['encodeDelimited']=function(_0x3b3096,_0x5d216c){return this['encode'](_0x3b3096,_0x5d216c)['ldelim']();},_0x4d285e['decode']=function(_0x393735,_0x5a0d18,_0xb51dca,_0x52d63e){if(_0x393735 instanceof _0x290291||(_0x393735=_0x290291['create'](_0x393735)),void 0x0===_0x52d63e&&(_0x52d63e=0x0),_0x52d63e>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3146ee=void 0x0===_0x5a0d18?_0x393735['len']:_0x393735['pos']+_0x5a0d18,_0x1e9fc6=new _0xfc4eb2['CommentsV2UpdateCommentMessage']();_0x393735['pos']<_0x3146ee;){var _0x3f2902=_0x393735['uint32']();if(_0x3f2902===_0xb51dca)break;switch(_0x3f2902>>>0x3){case 0x1:_0x1e9fc6['commentThreadId']=_0x393735['string']();break;case 0x2:_0x1e9fc6['commentId']=_0x393735['string']();break;case 0x3:_0x1e9fc6['content']=_0x393735['string']();break;case 0x4:_0x1e9fc6['documentId']=_0x393735['string']();break;case 0x5:_0x1e9fc6['attributes']=_0x393735['string']();break;case 0x6:_0x1e9fc6['isAttributesUpdated']=_0x393735['bool']();break;case 0x7:_0x1e9fc6['commentThread']=_0xfc4eb2['CommentsThreadDescriptor']['decode'](_0x393735,_0x393735['uint32'](),void 0x0,_0x52d63e+0x1);break;default:_0x393735['skipType'](0x7&_0x3f2902,_0x52d63e);}}return _0x1e9fc6;},_0x4d285e['decodeDelimited']=function(_0x4fa95b){return _0x4fa95b instanceof _0x290291||(_0x4fa95b=new _0x290291(_0x4fa95b)),this['decode'](_0x4fa95b,_0x4fa95b['uint32']());},_0x4d285e['verify']=function(_0x21b1ab,_0x151330){if('object'!=typeof _0x21b1ab||null===_0x21b1ab)return'object\x20expected';if(void 0x0===_0x151330&&(_0x151330=0x0),_0x151330>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x21b1ab['commentThreadId']&&_0x21b1ab['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x21b1ab['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x21b1ab['commentId']&&_0x21b1ab['hasOwnProperty']('commentId')&&!_0x5c599b['isString'](_0x21b1ab['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x21b1ab['content']&&_0x21b1ab['hasOwnProperty']('content')&&!_0x5c599b['isString'](_0x21b1ab['content']))return'content:\x20string\x20expected';if(null!=_0x21b1ab['documentId']&&_0x21b1ab['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x21b1ab['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x21b1ab['attributes']&&_0x21b1ab['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x21b1ab['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x21b1ab['isAttributesUpdated']&&_0x21b1ab['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x21b1ab['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x21b1ab['commentThread']&&_0x21b1ab['hasOwnProperty']('commentThread')){var _0x248ea2=_0xfc4eb2['CommentsThreadDescriptor']['verify'](_0x21b1ab['commentThread'],_0x151330+0x1);if(_0x248ea2)return'commentThread.'+_0x248ea2;}return null;},_0x4d285e['fromObject']=function(_0x409ff1,_0x5a0e8f){if(_0x409ff1 instanceof _0xfc4eb2['CommentsV2UpdateCommentMessage'])return _0x409ff1;if(void 0x0===_0x5a0e8f&&(_0x5a0e8f=0x0),_0x5a0e8f>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e2171=new _0xfc4eb2['CommentsV2UpdateCommentMessage']();if(null!=_0x409ff1['commentThreadId']&&(_0x3e2171['commentThreadId']=String(_0x409ff1['commentThreadId'])),null!=_0x409ff1['commentId']&&(_0x3e2171['commentId']=String(_0x409ff1['commentId'])),null!=_0x409ff1['content']&&(_0x3e2171['content']=String(_0x409ff1['content'])),null!=_0x409ff1['documentId']&&(_0x3e2171['documentId']=String(_0x409ff1['documentId'])),null!=_0x409ff1['attributes']&&(_0x3e2171['attributes']=String(_0x409ff1['attributes'])),null!=_0x409ff1['isAttributesUpdated']&&(_0x3e2171['isAttributesUpdated']=Boolean(_0x409ff1['isAttributesUpdated'])),null!=_0x409ff1['commentThread']){if('object'!=typeof _0x409ff1['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x3e2171['commentThread']=_0xfc4eb2['CommentsThreadDescriptor']['fromObject'](_0x409ff1['commentThread'],_0x5a0e8f+0x1);}return _0x3e2171;},_0x4d285e['toObject']=function(_0xa789b8,_0x2af11b){_0x2af11b||(_0x2af11b={});var _0x452c42={};return _0x2af11b['defaults']&&(_0x452c42['commentThreadId']='',_0x452c42['commentId']='',_0x452c42['content']='',_0x452c42['documentId']='',_0x452c42['attributes']='',_0x452c42['isAttributesUpdated']=!0x1,_0x452c42['commentThread']=null),null!=_0xa789b8['commentThreadId']&&_0xa789b8['hasOwnProperty']('commentThreadId')&&(_0x452c42['commentThreadId']=_0xa789b8['commentThreadId']),null!=_0xa789b8['commentId']&&_0xa789b8['hasOwnProperty']('commentId')&&(_0x452c42['commentId']=_0xa789b8['commentId']),null!=_0xa789b8['content']&&_0xa789b8['hasOwnProperty']('content')&&(_0x452c42['content']=_0xa789b8['content']),null!=_0xa789b8['documentId']&&_0xa789b8['hasOwnProperty']('documentId')&&(_0x452c42['documentId']=_0xa789b8['documentId']),null!=_0xa789b8['attributes']&&_0xa789b8['hasOwnProperty']('attributes')&&(_0x452c42['attributes']=_0xa789b8['attributes']),null!=_0xa789b8['isAttributesUpdated']&&_0xa789b8['hasOwnProperty']('isAttributesUpdated')&&(_0x452c42['isAttributesUpdated']=_0xa789b8['isAttributesUpdated']),null!=_0xa789b8['commentThread']&&_0xa789b8['hasOwnProperty']('commentThread')&&(_0x452c42['commentThread']=_0xfc4eb2['CommentsThreadDescriptor']['toObject'](_0xa789b8['commentThread'],_0x2af11b)),_0x452c42;},_0x4d285e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x4d285e['getTypeUrl']=function(_0x169c81){return void 0x0===_0x169c81&&(_0x169c81='type.googleapis.com'),_0x169c81+'/CommentsV2UpdateCommentMessage';},_0x4d285e;}()),_0xfc4eb2['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x4bd6f7(_0x5f1822){if(_0x5f1822){for(var _0x4fc3db=Object['keys'](_0x5f1822),_0x4386c6=0x0;_0x4386c6<_0x4fc3db['length'];++_0x4386c6)null!=_0x5f1822[_0x4fc3db[_0x4386c6]]&&'__proto__'!==_0x4fc3db[_0x4386c6]&&(this[_0x4fc3db[_0x4386c6]]=_0x5f1822[_0x4fc3db[_0x4386c6]]);}}return _0x4bd6f7['prototype']['commentThreadId']='',_0x4bd6f7['prototype']['documentId']='',_0x4bd6f7['create']=function(_0x183941){return new _0x4bd6f7(_0x183941);},_0x4bd6f7['encode']=function(_0x51542c,_0x1ef7e5){return _0x1ef7e5||(_0x1ef7e5=_0xcae49f['create']()),null!=_0x51542c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x51542c,'commentThreadId')&&_0x1ef7e5['uint32'](0xa)['string'](_0x51542c['commentThreadId']),null!=_0x51542c['documentId']&&Object['hasOwnProperty']['call'](_0x51542c,'documentId')&&_0x1ef7e5['uint32'](0x12)['string'](_0x51542c['documentId']),_0x1ef7e5;},_0x4bd6f7['encodeDelimited']=function(_0x57087b,_0x54d5f9){return this['encode'](_0x57087b,_0x54d5f9)['ldelim']();},_0x4bd6f7['decode']=function(_0x48a357,_0x2aba15,_0x2acbfb,_0x5cc463){if(_0x48a357 instanceof _0x290291||(_0x48a357=_0x290291['create'](_0x48a357)),void 0x0===_0x5cc463&&(_0x5cc463=0x0),_0x5cc463>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5db538=void 0x0===_0x2aba15?_0x48a357['len']:_0x48a357['pos']+_0x2aba15,_0x16ed5f=new _0xfc4eb2['CommentsV2RemoveCommentThreadMessage']();_0x48a357['pos']<_0x5db538;){var _0x5bbed0=_0x48a357['uint32']();if(_0x5bbed0===_0x2acbfb)break;switch(_0x5bbed0>>>0x3){case 0x1:_0x16ed5f['commentThreadId']=_0x48a357['string']();break;case 0x2:_0x16ed5f['documentId']=_0x48a357['string']();break;default:_0x48a357['skipType'](0x7&_0x5bbed0,_0x5cc463);}}return _0x16ed5f;},_0x4bd6f7['decodeDelimited']=function(_0x581c9f){return _0x581c9f instanceof _0x290291||(_0x581c9f=new _0x290291(_0x581c9f)),this['decode'](_0x581c9f,_0x581c9f['uint32']());},_0x4bd6f7['verify']=function(_0x466281,_0x5a535c){return'object'!=typeof _0x466281||null===_0x466281?'object\x20expected':(void 0x0===_0x5a535c&&(_0x5a535c=0x0),_0x5a535c>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x466281['commentThreadId']&&_0x466281['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x466281['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x466281['documentId']&&_0x466281['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x466281['documentId'])?'documentId:\x20string\x20expected':null);},_0x4bd6f7['fromObject']=function(_0x178987,_0xb45014){if(_0x178987 instanceof _0xfc4eb2['CommentsV2RemoveCommentThreadMessage'])return _0x178987;if(void 0x0===_0xb45014&&(_0xb45014=0x0),_0xb45014>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3252a2=new _0xfc4eb2['CommentsV2RemoveCommentThreadMessage']();return null!=_0x178987['commentThreadId']&&(_0x3252a2['commentThreadId']=String(_0x178987['commentThreadId'])),null!=_0x178987['documentId']&&(_0x3252a2['documentId']=String(_0x178987['documentId'])),_0x3252a2;},_0x4bd6f7['toObject']=function(_0x2377b5,_0x2aa4ec){_0x2aa4ec||(_0x2aa4ec={});var _0x53a3fa={};return _0x2aa4ec['defaults']&&(_0x53a3fa['commentThreadId']='',_0x53a3fa['documentId']=''),null!=_0x2377b5['commentThreadId']&&_0x2377b5['hasOwnProperty']('commentThreadId')&&(_0x53a3fa['commentThreadId']=_0x2377b5['commentThreadId']),null!=_0x2377b5['documentId']&&_0x2377b5['hasOwnProperty']('documentId')&&(_0x53a3fa['documentId']=_0x2377b5['documentId']),_0x53a3fa;},_0x4bd6f7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x4bd6f7['getTypeUrl']=function(_0x2fae11){return void 0x0===_0x2fae11&&(_0x2fae11='type.googleapis.com'),_0x2fae11+'/CommentsV2RemoveCommentThreadMessage';},_0x4bd6f7;}()),_0xfc4eb2['CommentsV2RemoveCommentMessage']=(function(){function _0x3dafe8(_0x3608cf){if(_0x3608cf){for(var _0x482aa6=Object['keys'](_0x3608cf),_0x7367be=0x0;_0x7367be<_0x482aa6['length'];++_0x7367be)null!=_0x3608cf[_0x482aa6[_0x7367be]]&&'__proto__'!==_0x482aa6[_0x7367be]&&(this[_0x482aa6[_0x7367be]]=_0x3608cf[_0x482aa6[_0x7367be]]);}}return _0x3dafe8['prototype']['commentThreadId']='',_0x3dafe8['prototype']['commentId']='',_0x3dafe8['prototype']['documentId']='',_0x3dafe8['create']=function(_0x934da5){return new _0x3dafe8(_0x934da5);},_0x3dafe8['encode']=function(_0x459c25,_0x4e6365){return _0x4e6365||(_0x4e6365=_0xcae49f['create']()),null!=_0x459c25['commentThreadId']&&Object['hasOwnProperty']['call'](_0x459c25,'commentThreadId')&&_0x4e6365['uint32'](0xa)['string'](_0x459c25['commentThreadId']),null!=_0x459c25['commentId']&&Object['hasOwnProperty']['call'](_0x459c25,'commentId')&&_0x4e6365['uint32'](0x12)['string'](_0x459c25['commentId']),null!=_0x459c25['documentId']&&Object['hasOwnProperty']['call'](_0x459c25,'documentId')&&_0x4e6365['uint32'](0x1a)['string'](_0x459c25['documentId']),_0x4e6365;},_0x3dafe8['encodeDelimited']=function(_0x5db00f,_0x32e1b7){return this['encode'](_0x5db00f,_0x32e1b7)['ldelim']();},_0x3dafe8['decode']=function(_0x3f5e44,_0x2a2556,_0x5bb853,_0xede4a5){if(_0x3f5e44 instanceof _0x290291||(_0x3f5e44=_0x290291['create'](_0x3f5e44)),void 0x0===_0xede4a5&&(_0xede4a5=0x0),_0xede4a5>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4110e3=void 0x0===_0x2a2556?_0x3f5e44['len']:_0x3f5e44['pos']+_0x2a2556,_0x2ffbc2=new _0xfc4eb2['CommentsV2RemoveCommentMessage']();_0x3f5e44['pos']<_0x4110e3;){var _0x37d837=_0x3f5e44['uint32']();if(_0x37d837===_0x5bb853)break;switch(_0x37d837>>>0x3){case 0x1:_0x2ffbc2['commentThreadId']=_0x3f5e44['string']();break;case 0x2:_0x2ffbc2['commentId']=_0x3f5e44['string']();break;case 0x3:_0x2ffbc2['documentId']=_0x3f5e44['string']();break;default:_0x3f5e44['skipType'](0x7&_0x37d837,_0xede4a5);}}return _0x2ffbc2;},_0x3dafe8['decodeDelimited']=function(_0x32714f){return _0x32714f instanceof _0x290291||(_0x32714f=new _0x290291(_0x32714f)),this['decode'](_0x32714f,_0x32714f['uint32']());},_0x3dafe8['verify']=function(_0x1dfa44,_0x1e3943){return'object'!=typeof _0x1dfa44||null===_0x1dfa44?'object\x20expected':(void 0x0===_0x1e3943&&(_0x1e3943=0x0),_0x1e3943>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1dfa44['commentThreadId']&&_0x1dfa44['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x1dfa44['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1dfa44['commentId']&&_0x1dfa44['hasOwnProperty']('commentId')&&!_0x5c599b['isString'](_0x1dfa44['commentId'])?'commentId:\x20string\x20expected':null!=_0x1dfa44['documentId']&&_0x1dfa44['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x1dfa44['documentId'])?'documentId:\x20string\x20expected':null);},_0x3dafe8['fromObject']=function(_0x5f8edb,_0x5743fa){if(_0x5f8edb instanceof _0xfc4eb2['CommentsV2RemoveCommentMessage'])return _0x5f8edb;if(void 0x0===_0x5743fa&&(_0x5743fa=0x0),_0x5743fa>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x46c945=new _0xfc4eb2['CommentsV2RemoveCommentMessage']();return null!=_0x5f8edb['commentThreadId']&&(_0x46c945['commentThreadId']=String(_0x5f8edb['commentThreadId'])),null!=_0x5f8edb['commentId']&&(_0x46c945['commentId']=String(_0x5f8edb['commentId'])),null!=_0x5f8edb['documentId']&&(_0x46c945['documentId']=String(_0x5f8edb['documentId'])),_0x46c945;},_0x3dafe8['toObject']=function(_0x32d0ab,_0x330396){_0x330396||(_0x330396={});var _0x120ccd={};return _0x330396['defaults']&&(_0x120ccd['commentThreadId']='',_0x120ccd['commentId']='',_0x120ccd['documentId']=''),null!=_0x32d0ab['commentThreadId']&&_0x32d0ab['hasOwnProperty']('commentThreadId')&&(_0x120ccd['commentThreadId']=_0x32d0ab['commentThreadId']),null!=_0x32d0ab['commentId']&&_0x32d0ab['hasOwnProperty']('commentId')&&(_0x120ccd['commentId']=_0x32d0ab['commentId']),null!=_0x32d0ab['documentId']&&_0x32d0ab['hasOwnProperty']('documentId')&&(_0x120ccd['documentId']=_0x32d0ab['documentId']),_0x120ccd;},_0x3dafe8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3dafe8['getTypeUrl']=function(_0x3c5668){return void 0x0===_0x3c5668&&(_0x3c5668='type.googleapis.com'),_0x3c5668+'/CommentsV2RemoveCommentMessage';},_0x3dafe8;}()),_0xfc4eb2['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x2759c8(_0x1b7969){if(_0x1b7969){for(var _0x487f8d=Object['keys'](_0x1b7969),_0x4f8a73=0x0;_0x4f8a73<_0x487f8d['length'];++_0x4f8a73)null!=_0x1b7969[_0x487f8d[_0x4f8a73]]&&'__proto__'!==_0x487f8d[_0x4f8a73]&&(this[_0x487f8d[_0x4f8a73]]=_0x1b7969[_0x487f8d[_0x4f8a73]]);}}return _0x2759c8['prototype']['documentId']='',_0x2759c8['create']=function(_0x572de0){return new _0x2759c8(_0x572de0);},_0x2759c8['encode']=function(_0x50c62b,_0x40606c){return _0x40606c||(_0x40606c=_0xcae49f['create']()),null!=_0x50c62b['documentId']&&Object['hasOwnProperty']['call'](_0x50c62b,'documentId')&&_0x40606c['uint32'](0xa)['string'](_0x50c62b['documentId']),_0x40606c;},_0x2759c8['encodeDelimited']=function(_0x6f87b5,_0x57963d){return this['encode'](_0x6f87b5,_0x57963d)['ldelim']();},_0x2759c8['decode']=function(_0xd44a1,_0x5ad2e1,_0x4fb7e0,_0x3fd9fd){if(_0xd44a1 instanceof _0x290291||(_0xd44a1=_0x290291['create'](_0xd44a1)),void 0x0===_0x3fd9fd&&(_0x3fd9fd=0x0),_0x3fd9fd>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c0d11=void 0x0===_0x5ad2e1?_0xd44a1['len']:_0xd44a1['pos']+_0x5ad2e1,_0x170e61=new _0xfc4eb2['CommentsV2GetDocumentThreadsMessage']();_0xd44a1['pos']<_0x1c0d11;){var _0x49e003=_0xd44a1['uint32']();if(_0x49e003===_0x4fb7e0)break;_0x49e003>>>0x3==0x1?_0x170e61['documentId']=_0xd44a1['string']():_0xd44a1['skipType'](0x7&_0x49e003,_0x3fd9fd);}return _0x170e61;},_0x2759c8['decodeDelimited']=function(_0x4e0d73){return _0x4e0d73 instanceof _0x290291||(_0x4e0d73=new _0x290291(_0x4e0d73)),this['decode'](_0x4e0d73,_0x4e0d73['uint32']());},_0x2759c8['verify']=function(_0x3c621a,_0x35aa5f){return'object'!=typeof _0x3c621a||null===_0x3c621a?'object\x20expected':(void 0x0===_0x35aa5f&&(_0x35aa5f=0x0),_0x35aa5f>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3c621a['documentId']&&_0x3c621a['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x3c621a['documentId'])?'documentId:\x20string\x20expected':null);},_0x2759c8['fromObject']=function(_0xc18bd0,_0x53ea25){if(_0xc18bd0 instanceof _0xfc4eb2['CommentsV2GetDocumentThreadsMessage'])return _0xc18bd0;if(void 0x0===_0x53ea25&&(_0x53ea25=0x0),_0x53ea25>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x407b78=new _0xfc4eb2['CommentsV2GetDocumentThreadsMessage']();return null!=_0xc18bd0['documentId']&&(_0x407b78['documentId']=String(_0xc18bd0['documentId'])),_0x407b78;},_0x2759c8['toObject']=function(_0x4c7b6e,_0x1af63f){_0x1af63f||(_0x1af63f={});var _0x57f971={};return _0x1af63f['defaults']&&(_0x57f971['documentId']=''),null!=_0x4c7b6e['documentId']&&_0x4c7b6e['hasOwnProperty']('documentId')&&(_0x57f971['documentId']=_0x4c7b6e['documentId']),_0x57f971;},_0x2759c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2759c8['getTypeUrl']=function(_0x143a85){return void 0x0===_0x143a85&&(_0x143a85='type.googleapis.com'),_0x143a85+'/CommentsV2GetDocumentThreadsMessage';},_0x2759c8;}()),_0xfc4eb2['CommentsV2GetCommentThreadMessage']=(function(){function _0xd56638(_0x2a4c7c){if(_0x2a4c7c){for(var _0x2a1666=Object['keys'](_0x2a4c7c),_0x5d0d2c=0x0;_0x5d0d2c<_0x2a1666['length'];++_0x5d0d2c)null!=_0x2a4c7c[_0x2a1666[_0x5d0d2c]]&&'__proto__'!==_0x2a1666[_0x5d0d2c]&&(this[_0x2a1666[_0x5d0d2c]]=_0x2a4c7c[_0x2a1666[_0x5d0d2c]]);}}return _0xd56638['prototype']['commentThreadId']='',_0xd56638['prototype']['documentId']='',_0xd56638['create']=function(_0x4e4818){return new _0xd56638(_0x4e4818);},_0xd56638['encode']=function(_0x435fe5,_0x2b0b8f){return _0x2b0b8f||(_0x2b0b8f=_0xcae49f['create']()),null!=_0x435fe5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x435fe5,'commentThreadId')&&_0x2b0b8f['uint32'](0xa)['string'](_0x435fe5['commentThreadId']),null!=_0x435fe5['documentId']&&Object['hasOwnProperty']['call'](_0x435fe5,'documentId')&&_0x2b0b8f['uint32'](0x12)['string'](_0x435fe5['documentId']),_0x2b0b8f;},_0xd56638['encodeDelimited']=function(_0x27e7a4,_0x476d13){return this['encode'](_0x27e7a4,_0x476d13)['ldelim']();},_0xd56638['decode']=function(_0x11bd4c,_0x224430,_0x4b0100,_0xe22cb9){if(_0x11bd4c instanceof _0x290291||(_0x11bd4c=_0x290291['create'](_0x11bd4c)),void 0x0===_0xe22cb9&&(_0xe22cb9=0x0),_0xe22cb9>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4e5459=void 0x0===_0x224430?_0x11bd4c['len']:_0x11bd4c['pos']+_0x224430,_0x14a233=new _0xfc4eb2['CommentsV2GetCommentThreadMessage']();_0x11bd4c['pos']<_0x4e5459;){var _0x3e0406=_0x11bd4c['uint32']();if(_0x3e0406===_0x4b0100)break;switch(_0x3e0406>>>0x3){case 0x1:_0x14a233['commentThreadId']=_0x11bd4c['string']();break;case 0x2:_0x14a233['documentId']=_0x11bd4c['string']();break;default:_0x11bd4c['skipType'](0x7&_0x3e0406,_0xe22cb9);}}return _0x14a233;},_0xd56638['decodeDelimited']=function(_0x297cab){return _0x297cab instanceof _0x290291||(_0x297cab=new _0x290291(_0x297cab)),this['decode'](_0x297cab,_0x297cab['uint32']());},_0xd56638['verify']=function(_0x92ab16,_0x22ca6f){return'object'!=typeof _0x92ab16||null===_0x92ab16?'object\x20expected':(void 0x0===_0x22ca6f&&(_0x22ca6f=0x0),_0x22ca6f>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x92ab16['commentThreadId']&&_0x92ab16['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x92ab16['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x92ab16['documentId']&&_0x92ab16['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x92ab16['documentId'])?'documentId:\x20string\x20expected':null);},_0xd56638['fromObject']=function(_0x1a5a2f,_0x5a5d40){if(_0x1a5a2f instanceof _0xfc4eb2['CommentsV2GetCommentThreadMessage'])return _0x1a5a2f;if(void 0x0===_0x5a5d40&&(_0x5a5d40=0x0),_0x5a5d40>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4be4c4=new _0xfc4eb2['CommentsV2GetCommentThreadMessage']();return null!=_0x1a5a2f['commentThreadId']&&(_0x4be4c4['commentThreadId']=String(_0x1a5a2f['commentThreadId'])),null!=_0x1a5a2f['documentId']&&(_0x4be4c4['documentId']=String(_0x1a5a2f['documentId'])),_0x4be4c4;},_0xd56638['toObject']=function(_0x1f5295,_0x27be60){_0x27be60||(_0x27be60={});var _0x57da9a={};return _0x27be60['defaults']&&(_0x57da9a['commentThreadId']='',_0x57da9a['documentId']=''),null!=_0x1f5295['commentThreadId']&&_0x1f5295['hasOwnProperty']('commentThreadId')&&(_0x57da9a['commentThreadId']=_0x1f5295['commentThreadId']),null!=_0x1f5295['documentId']&&_0x1f5295['hasOwnProperty']('documentId')&&(_0x57da9a['documentId']=_0x1f5295['documentId']),_0x57da9a;},_0xd56638['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0xd56638['getTypeUrl']=function(_0x7611e){return void 0x0===_0x7611e&&(_0x7611e='type.googleapis.com'),_0x7611e+'/CommentsV2GetCommentThreadMessage';},_0xd56638;}()),_0xfc4eb2['CommentsV2ConnectMessage']=(function(){function _0x41acd8(_0x1e3026){if(_0x1e3026){for(var _0x419ab6=Object['keys'](_0x1e3026),_0x17c5e=0x0;_0x17c5e<_0x419ab6['length'];++_0x17c5e)null!=_0x1e3026[_0x419ab6[_0x17c5e]]&&'__proto__'!==_0x419ab6[_0x17c5e]&&(this[_0x419ab6[_0x17c5e]]=_0x1e3026[_0x419ab6[_0x17c5e]]);}}return _0x41acd8['prototype']['documentId']='',_0x41acd8['create']=function(_0x27844d){return new _0x41acd8(_0x27844d);},_0x41acd8['encode']=function(_0x35a370,_0x38e96c){return _0x38e96c||(_0x38e96c=_0xcae49f['create']()),null!=_0x35a370['documentId']&&Object['hasOwnProperty']['call'](_0x35a370,'documentId')&&_0x38e96c['uint32'](0xa)['string'](_0x35a370['documentId']),_0x38e96c;},_0x41acd8['encodeDelimited']=function(_0x3ce120,_0x62a839){return this['encode'](_0x3ce120,_0x62a839)['ldelim']();},_0x41acd8['decode']=function(_0x131db9,_0x217df9,_0x1f61d8,_0x3244c3){if(_0x131db9 instanceof _0x290291||(_0x131db9=_0x290291['create'](_0x131db9)),void 0x0===_0x3244c3&&(_0x3244c3=0x0),_0x3244c3>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x588422=void 0x0===_0x217df9?_0x131db9['len']:_0x131db9['pos']+_0x217df9,_0x4d8e60=new _0xfc4eb2['CommentsV2ConnectMessage']();_0x131db9['pos']<_0x588422;){var _0x4ab3ce=_0x131db9['uint32']();if(_0x4ab3ce===_0x1f61d8)break;_0x4ab3ce>>>0x3==0x1?_0x4d8e60['documentId']=_0x131db9['string']():_0x131db9['skipType'](0x7&_0x4ab3ce,_0x3244c3);}return _0x4d8e60;},_0x41acd8['decodeDelimited']=function(_0x292c30){return _0x292c30 instanceof _0x290291||(_0x292c30=new _0x290291(_0x292c30)),this['decode'](_0x292c30,_0x292c30['uint32']());},_0x41acd8['verify']=function(_0x1be648,_0x58eaa6){return'object'!=typeof _0x1be648||null===_0x1be648?'object\x20expected':(void 0x0===_0x58eaa6&&(_0x58eaa6=0x0),_0x58eaa6>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1be648['documentId']&&_0x1be648['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x1be648['documentId'])?'documentId:\x20string\x20expected':null);},_0x41acd8['fromObject']=function(_0x25a0a3,_0x2ff355){if(_0x25a0a3 instanceof _0xfc4eb2['CommentsV2ConnectMessage'])return _0x25a0a3;if(void 0x0===_0x2ff355&&(_0x2ff355=0x0),_0x2ff355>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4583fa=new _0xfc4eb2['CommentsV2ConnectMessage']();return null!=_0x25a0a3['documentId']&&(_0x4583fa['documentId']=String(_0x25a0a3['documentId'])),_0x4583fa;},_0x41acd8['toObject']=function(_0x491ab3,_0x5c3677){_0x5c3677||(_0x5c3677={});var _0x563d3f={};return _0x5c3677['defaults']&&(_0x563d3f['documentId']=''),null!=_0x491ab3['documentId']&&_0x491ab3['hasOwnProperty']('documentId')&&(_0x563d3f['documentId']=_0x491ab3['documentId']),_0x563d3f;},_0x41acd8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x41acd8['getTypeUrl']=function(_0x3ec638){return void 0x0===_0x3ec638&&(_0x3ec638='type.googleapis.com'),_0x3ec638+'/CommentsV2ConnectMessage';},_0x41acd8;}()),_0xfc4eb2['CommentsV2AddCommentMessage']=(function(){function _0x1e9fa1(_0x2356f3){if(_0x2356f3){for(var _0x449d42=Object['keys'](_0x2356f3),_0x4b23b1=0x0;_0x4b23b1<_0x449d42['length'];++_0x4b23b1)null!=_0x2356f3[_0x449d42[_0x4b23b1]]&&'__proto__'!==_0x449d42[_0x4b23b1]&&(this[_0x449d42[_0x4b23b1]]=_0x2356f3[_0x449d42[_0x4b23b1]]);}}return _0x1e9fa1['prototype']['commentThreadId']='',_0x1e9fa1['prototype']['content']='',_0x1e9fa1['prototype']['documentId']='',_0x1e9fa1['prototype']['commentId']='',_0x1e9fa1['prototype']['createdAt']='',_0x1e9fa1['prototype']['userId']='',_0x1e9fa1['prototype']['attributes']='',_0x1e9fa1['prototype']['commentThread']=null,_0x1e9fa1['create']=function(_0x26015e){return new _0x1e9fa1(_0x26015e);},_0x1e9fa1['encode']=function(_0x3f4b74,_0x6c4b84){return _0x6c4b84||(_0x6c4b84=_0xcae49f['create']()),null!=_0x3f4b74['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3f4b74,'commentThreadId')&&_0x6c4b84['uint32'](0xa)['string'](_0x3f4b74['commentThreadId']),null!=_0x3f4b74['content']&&Object['hasOwnProperty']['call'](_0x3f4b74,'content')&&_0x6c4b84['uint32'](0x12)['string'](_0x3f4b74['content']),null!=_0x3f4b74['documentId']&&Object['hasOwnProperty']['call'](_0x3f4b74,'documentId')&&_0x6c4b84['uint32'](0x1a)['string'](_0x3f4b74['documentId']),null!=_0x3f4b74['commentId']&&Object['hasOwnProperty']['call'](_0x3f4b74,'commentId')&&_0x6c4b84['uint32'](0x22)['string'](_0x3f4b74['commentId']),null!=_0x3f4b74['createdAt']&&Object['hasOwnProperty']['call'](_0x3f4b74,'createdAt')&&_0x6c4b84['uint32'](0x2a)['string'](_0x3f4b74['createdAt']),null!=_0x3f4b74['userId']&&Object['hasOwnProperty']['call'](_0x3f4b74,'userId')&&_0x6c4b84['uint32'](0x32)['string'](_0x3f4b74['userId']),null!=_0x3f4b74['attributes']&&Object['hasOwnProperty']['call'](_0x3f4b74,'attributes')&&_0x6c4b84['uint32'](0x3a)['string'](_0x3f4b74['attributes']),null!=_0x3f4b74['commentThread']&&Object['hasOwnProperty']['call'](_0x3f4b74,'commentThread')&&_0xfc4eb2['CommentsThreadDescriptor']['encode'](_0x3f4b74['commentThread'],_0x6c4b84['uint32'](0x42)['fork']())['ldelim'](),_0x6c4b84;},_0x1e9fa1['encodeDelimited']=function(_0x48d3ec,_0x1a1609){return this['encode'](_0x48d3ec,_0x1a1609)['ldelim']();},_0x1e9fa1['decode']=function(_0x1040e1,_0x33b4e8,_0x48bf8c,_0x5e80f1){if(_0x1040e1 instanceof _0x290291||(_0x1040e1=_0x290291['create'](_0x1040e1)),void 0x0===_0x5e80f1&&(_0x5e80f1=0x0),_0x5e80f1>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4225e9=void 0x0===_0x33b4e8?_0x1040e1['len']:_0x1040e1['pos']+_0x33b4e8,_0x2c56fd=new _0xfc4eb2['CommentsV2AddCommentMessage']();_0x1040e1['pos']<_0x4225e9;){var _0x3c50f0=_0x1040e1['uint32']();if(_0x3c50f0===_0x48bf8c)break;switch(_0x3c50f0>>>0x3){case 0x1:_0x2c56fd['commentThreadId']=_0x1040e1['string']();break;case 0x2:_0x2c56fd['content']=_0x1040e1['string']();break;case 0x3:_0x2c56fd['documentId']=_0x1040e1['string']();break;case 0x4:_0x2c56fd['commentId']=_0x1040e1['string']();break;case 0x5:_0x2c56fd['createdAt']=_0x1040e1['string']();break;case 0x6:_0x2c56fd['userId']=_0x1040e1['string']();break;case 0x7:_0x2c56fd['attributes']=_0x1040e1['string']();break;case 0x8:_0x2c56fd['commentThread']=_0xfc4eb2['CommentsThreadDescriptor']['decode'](_0x1040e1,_0x1040e1['uint32'](),void 0x0,_0x5e80f1+0x1);break;default:_0x1040e1['skipType'](0x7&_0x3c50f0,_0x5e80f1);}}return _0x2c56fd;},_0x1e9fa1['decodeDelimited']=function(_0x25dddb){return _0x25dddb instanceof _0x290291||(_0x25dddb=new _0x290291(_0x25dddb)),this['decode'](_0x25dddb,_0x25dddb['uint32']());},_0x1e9fa1['verify']=function(_0x31f05e,_0x2bf951){if('object'!=typeof _0x31f05e||null===_0x31f05e)return'object\x20expected';if(void 0x0===_0x2bf951&&(_0x2bf951=0x0),_0x2bf951>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x31f05e['commentThreadId']&&_0x31f05e['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x31f05e['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x31f05e['content']&&_0x31f05e['hasOwnProperty']('content')&&!_0x5c599b['isString'](_0x31f05e['content']))return'content:\x20string\x20expected';if(null!=_0x31f05e['documentId']&&_0x31f05e['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x31f05e['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x31f05e['commentId']&&_0x31f05e['hasOwnProperty']('commentId')&&!_0x5c599b['isString'](_0x31f05e['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x31f05e['createdAt']&&_0x31f05e['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x31f05e['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x31f05e['userId']&&_0x31f05e['hasOwnProperty']('userId')&&!_0x5c599b['isString'](_0x31f05e['userId']))return'userId:\x20string\x20expected';if(null!=_0x31f05e['attributes']&&_0x31f05e['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x31f05e['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x31f05e['commentThread']&&_0x31f05e['hasOwnProperty']('commentThread')){var _0x3b74e3=_0xfc4eb2['CommentsThreadDescriptor']['verify'](_0x31f05e['commentThread'],_0x2bf951+0x1);if(_0x3b74e3)return'commentThread.'+_0x3b74e3;}return null;},_0x1e9fa1['fromObject']=function(_0xc1e75d,_0x1ec3f1){if(_0xc1e75d instanceof _0xfc4eb2['CommentsV2AddCommentMessage'])return _0xc1e75d;if(void 0x0===_0x1ec3f1&&(_0x1ec3f1=0x0),_0x1ec3f1>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x278e5d=new _0xfc4eb2['CommentsV2AddCommentMessage']();if(null!=_0xc1e75d['commentThreadId']&&(_0x278e5d['commentThreadId']=String(_0xc1e75d['commentThreadId'])),null!=_0xc1e75d['content']&&(_0x278e5d['content']=String(_0xc1e75d['content'])),null!=_0xc1e75d['documentId']&&(_0x278e5d['documentId']=String(_0xc1e75d['documentId'])),null!=_0xc1e75d['commentId']&&(_0x278e5d['commentId']=String(_0xc1e75d['commentId'])),null!=_0xc1e75d['createdAt']&&(_0x278e5d['createdAt']=String(_0xc1e75d['createdAt'])),null!=_0xc1e75d['userId']&&(_0x278e5d['userId']=String(_0xc1e75d['userId'])),null!=_0xc1e75d['attributes']&&(_0x278e5d['attributes']=String(_0xc1e75d['attributes'])),null!=_0xc1e75d['commentThread']){if('object'!=typeof _0xc1e75d['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x278e5d['commentThread']=_0xfc4eb2['CommentsThreadDescriptor']['fromObject'](_0xc1e75d['commentThread'],_0x1ec3f1+0x1);}return _0x278e5d;},_0x1e9fa1['toObject']=function(_0x25bb26,_0x35cdc4){_0x35cdc4||(_0x35cdc4={});var _0x147b90={};return _0x35cdc4['defaults']&&(_0x147b90['commentThreadId']='',_0x147b90['content']='',_0x147b90['documentId']='',_0x147b90['commentId']='',_0x147b90['createdAt']='',_0x147b90['userId']='',_0x147b90['attributes']='',_0x147b90['commentThread']=null),null!=_0x25bb26['commentThreadId']&&_0x25bb26['hasOwnProperty']('commentThreadId')&&(_0x147b90['commentThreadId']=_0x25bb26['commentThreadId']),null!=_0x25bb26['content']&&_0x25bb26['hasOwnProperty']('content')&&(_0x147b90['content']=_0x25bb26['content']),null!=_0x25bb26['documentId']&&_0x25bb26['hasOwnProperty']('documentId')&&(_0x147b90['documentId']=_0x25bb26['documentId']),null!=_0x25bb26['commentId']&&_0x25bb26['hasOwnProperty']('commentId')&&(_0x147b90['commentId']=_0x25bb26['commentId']),null!=_0x25bb26['createdAt']&&_0x25bb26['hasOwnProperty']('createdAt')&&(_0x147b90['createdAt']=_0x25bb26['createdAt']),null!=_0x25bb26['userId']&&_0x25bb26['hasOwnProperty']('userId')&&(_0x147b90['userId']=_0x25bb26['userId']),null!=_0x25bb26['attributes']&&_0x25bb26['hasOwnProperty']('attributes')&&(_0x147b90['attributes']=_0x25bb26['attributes']),null!=_0x25bb26['commentThread']&&_0x25bb26['hasOwnProperty']('commentThread')&&(_0x147b90['commentThread']=_0xfc4eb2['CommentsThreadDescriptor']['toObject'](_0x25bb26['commentThread'],_0x35cdc4)),_0x147b90;},_0x1e9fa1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x1e9fa1['getTypeUrl']=function(_0x2f7901){return void 0x0===_0x2f7901&&(_0x2f7901='type.googleapis.com'),_0x2f7901+'/CommentsV2AddCommentMessage';},_0x1e9fa1;}()),_0xfc4eb2['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x177b40(_0x5303ef){if(_0x5303ef){for(var _0x4f5a6d=Object['keys'](_0x5303ef),_0x48ea04=0x0;_0x48ea04<_0x4f5a6d['length'];++_0x48ea04)null!=_0x5303ef[_0x4f5a6d[_0x48ea04]]&&'__proto__'!==_0x4f5a6d[_0x48ea04]&&(this[_0x4f5a6d[_0x48ea04]]=_0x5303ef[_0x4f5a6d[_0x48ea04]]);}}return _0x177b40['prototype']['commentThreadId']='',_0x177b40['prototype']['documentId']='',_0x177b40['prototype']['context']='',_0x177b40['prototype']['attributes']='',_0x177b40['prototype']['unlinkedAt']='',_0x177b40['create']=function(_0x3c3531){return new _0x177b40(_0x3c3531);},_0x177b40['encode']=function(_0x23b97e,_0x57ac90){return _0x57ac90||(_0x57ac90=_0xcae49f['create']()),null!=_0x23b97e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x23b97e,'commentThreadId')&&_0x57ac90['uint32'](0xa)['string'](_0x23b97e['commentThreadId']),null!=_0x23b97e['documentId']&&Object['hasOwnProperty']['call'](_0x23b97e,'documentId')&&_0x57ac90['uint32'](0x12)['string'](_0x23b97e['documentId']),null!=_0x23b97e['context']&&Object['hasOwnProperty']['call'](_0x23b97e,'context')&&_0x57ac90['uint32'](0x1a)['string'](_0x23b97e['context']),null!=_0x23b97e['attributes']&&Object['hasOwnProperty']['call'](_0x23b97e,'attributes')&&_0x57ac90['uint32'](0x22)['string'](_0x23b97e['attributes']),null!=_0x23b97e['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x23b97e,'unlinkedAt')&&_0x57ac90['uint32'](0x2a)['string'](_0x23b97e['unlinkedAt']),_0x57ac90;},_0x177b40['encodeDelimited']=function(_0x356bf5,_0x18cab7){return this['encode'](_0x356bf5,_0x18cab7)['ldelim']();},_0x177b40['decode']=function(_0x1116ee,_0x731a11,_0x24a90f,_0x2c5e2c){if(_0x1116ee instanceof _0x290291||(_0x1116ee=_0x290291['create'](_0x1116ee)),void 0x0===_0x2c5e2c&&(_0x2c5e2c=0x0),_0x2c5e2c>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50574d=void 0x0===_0x731a11?_0x1116ee['len']:_0x1116ee['pos']+_0x731a11,_0x56f426=new _0xfc4eb2['CommentsV2UpdateCommentThreadMessage']();_0x1116ee['pos']<_0x50574d;){var _0x7ab94f=_0x1116ee['uint32']();if(_0x7ab94f===_0x24a90f)break;switch(_0x7ab94f>>>0x3){case 0x1:_0x56f426['commentThreadId']=_0x1116ee['string']();break;case 0x2:_0x56f426['documentId']=_0x1116ee['string']();break;case 0x3:_0x56f426['context']=_0x1116ee['string']();break;case 0x4:_0x56f426['attributes']=_0x1116ee['string']();break;case 0x5:_0x56f426['unlinkedAt']=_0x1116ee['string']();break;default:_0x1116ee['skipType'](0x7&_0x7ab94f,_0x2c5e2c);}}return _0x56f426;},_0x177b40['decodeDelimited']=function(_0x556054){return _0x556054 instanceof _0x290291||(_0x556054=new _0x290291(_0x556054)),this['decode'](_0x556054,_0x556054['uint32']());},_0x177b40['verify']=function(_0x3ae5a5,_0x44d47e){return'object'!=typeof _0x3ae5a5||null===_0x3ae5a5?'object\x20expected':(void 0x0===_0x44d47e&&(_0x44d47e=0x0),_0x44d47e>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3ae5a5['commentThreadId']&&_0x3ae5a5['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x3ae5a5['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3ae5a5['documentId']&&_0x3ae5a5['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x3ae5a5['documentId'])?'documentId:\x20string\x20expected':null!=_0x3ae5a5['context']&&_0x3ae5a5['hasOwnProperty']('context')&&!_0x5c599b['isString'](_0x3ae5a5['context'])?'context:\x20string\x20expected':null!=_0x3ae5a5['attributes']&&_0x3ae5a5['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x3ae5a5['attributes'])?'attributes:\x20string\x20expected':null!=_0x3ae5a5['unlinkedAt']&&_0x3ae5a5['hasOwnProperty']('unlinkedAt')&&!_0x5c599b['isString'](_0x3ae5a5['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x177b40['fromObject']=function(_0x35ba10,_0x17dec8){if(_0x35ba10 instanceof _0xfc4eb2['CommentsV2UpdateCommentThreadMessage'])return _0x35ba10;if(void 0x0===_0x17dec8&&(_0x17dec8=0x0),_0x17dec8>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x18eae3=new _0xfc4eb2['CommentsV2UpdateCommentThreadMessage']();return null!=_0x35ba10['commentThreadId']&&(_0x18eae3['commentThreadId']=String(_0x35ba10['commentThreadId'])),null!=_0x35ba10['documentId']&&(_0x18eae3['documentId']=String(_0x35ba10['documentId'])),null!=_0x35ba10['context']&&(_0x18eae3['context']=String(_0x35ba10['context'])),null!=_0x35ba10['attributes']&&(_0x18eae3['attributes']=String(_0x35ba10['attributes'])),null!=_0x35ba10['unlinkedAt']&&(_0x18eae3['unlinkedAt']=String(_0x35ba10['unlinkedAt'])),_0x18eae3;},_0x177b40['toObject']=function(_0x1af46f,_0x324256){_0x324256||(_0x324256={});var _0x5ec52e={};return _0x324256['defaults']&&(_0x5ec52e['commentThreadId']='',_0x5ec52e['documentId']='',_0x5ec52e['context']='',_0x5ec52e['attributes']='',_0x5ec52e['unlinkedAt']=''),null!=_0x1af46f['commentThreadId']&&_0x1af46f['hasOwnProperty']('commentThreadId')&&(_0x5ec52e['commentThreadId']=_0x1af46f['commentThreadId']),null!=_0x1af46f['documentId']&&_0x1af46f['hasOwnProperty']('documentId')&&(_0x5ec52e['documentId']=_0x1af46f['documentId']),null!=_0x1af46f['context']&&_0x1af46f['hasOwnProperty']('context')&&(_0x5ec52e['context']=_0x1af46f['context']),null!=_0x1af46f['attributes']&&_0x1af46f['hasOwnProperty']('attributes')&&(_0x5ec52e['attributes']=_0x1af46f['attributes']),null!=_0x1af46f['unlinkedAt']&&_0x1af46f['hasOwnProperty']('unlinkedAt')&&(_0x5ec52e['unlinkedAt']=_0x1af46f['unlinkedAt']),_0x5ec52e;},_0x177b40['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x177b40['getTypeUrl']=function(_0x2feaca){return void 0x0===_0x2feaca&&(_0x2feaca='type.googleapis.com'),_0x2feaca+'/CommentsV2UpdateCommentThreadMessage';},_0x177b40;}()),_0xfc4eb2['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x71f637(_0x3e6239){if(_0x3e6239){for(var _0x24815d=Object['keys'](_0x3e6239),_0x42b28b=0x0;_0x42b28b<_0x24815d['length'];++_0x42b28b)null!=_0x3e6239[_0x24815d[_0x42b28b]]&&'__proto__'!==_0x24815d[_0x42b28b]&&(this[_0x24815d[_0x42b28b]]=_0x3e6239[_0x24815d[_0x42b28b]]);}}return _0x71f637['prototype']['commentThreadId']='',_0x71f637['prototype']['documentId']='',_0x71f637['prototype']['resolvedBy']='',_0x71f637['prototype']['resolvedAt']='',_0x71f637['create']=function(_0x107d76){return new _0x71f637(_0x107d76);},_0x71f637['encode']=function(_0x22d8a8,_0x11a950){return _0x11a950||(_0x11a950=_0xcae49f['create']()),null!=_0x22d8a8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x22d8a8,'commentThreadId')&&_0x11a950['uint32'](0xa)['string'](_0x22d8a8['commentThreadId']),null!=_0x22d8a8['documentId']&&Object['hasOwnProperty']['call'](_0x22d8a8,'documentId')&&_0x11a950['uint32'](0x12)['string'](_0x22d8a8['documentId']),null!=_0x22d8a8['resolvedBy']&&Object['hasOwnProperty']['call'](_0x22d8a8,'resolvedBy')&&_0x11a950['uint32'](0x1a)['string'](_0x22d8a8['resolvedBy']),null!=_0x22d8a8['resolvedAt']&&Object['hasOwnProperty']['call'](_0x22d8a8,'resolvedAt')&&_0x11a950['uint32'](0x22)['string'](_0x22d8a8['resolvedAt']),_0x11a950;},_0x71f637['encodeDelimited']=function(_0x366193,_0x1f232a){return this['encode'](_0x366193,_0x1f232a)['ldelim']();},_0x71f637['decode']=function(_0x18f526,_0x2a0a02,_0x2a13cc,_0x252e67){if(_0x18f526 instanceof _0x290291||(_0x18f526=_0x290291['create'](_0x18f526)),void 0x0===_0x252e67&&(_0x252e67=0x0),_0x252e67>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8b735c=void 0x0===_0x2a0a02?_0x18f526['len']:_0x18f526['pos']+_0x2a0a02,_0x127fe6=new _0xfc4eb2['CommentsV2ResolveCommentThreadMessage']();_0x18f526['pos']<_0x8b735c;){var _0x133e22=_0x18f526['uint32']();if(_0x133e22===_0x2a13cc)break;switch(_0x133e22>>>0x3){case 0x1:_0x127fe6['commentThreadId']=_0x18f526['string']();break;case 0x2:_0x127fe6['documentId']=_0x18f526['string']();break;case 0x3:_0x127fe6['resolvedBy']=_0x18f526['string']();break;case 0x4:_0x127fe6['resolvedAt']=_0x18f526['string']();break;default:_0x18f526['skipType'](0x7&_0x133e22,_0x252e67);}}return _0x127fe6;},_0x71f637['decodeDelimited']=function(_0x49dbaa){return _0x49dbaa instanceof _0x290291||(_0x49dbaa=new _0x290291(_0x49dbaa)),this['decode'](_0x49dbaa,_0x49dbaa['uint32']());},_0x71f637['verify']=function(_0x1cf6f5,_0x319aa0){return'object'!=typeof _0x1cf6f5||null===_0x1cf6f5?'object\x20expected':(void 0x0===_0x319aa0&&(_0x319aa0=0x0),_0x319aa0>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1cf6f5['commentThreadId']&&_0x1cf6f5['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x1cf6f5['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1cf6f5['documentId']&&_0x1cf6f5['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x1cf6f5['documentId'])?'documentId:\x20string\x20expected':null!=_0x1cf6f5['resolvedBy']&&_0x1cf6f5['hasOwnProperty']('resolvedBy')&&!_0x5c599b['isString'](_0x1cf6f5['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x1cf6f5['resolvedAt']&&_0x1cf6f5['hasOwnProperty']('resolvedAt')&&!_0x5c599b['isString'](_0x1cf6f5['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x71f637['fromObject']=function(_0x4d590b,_0x5d8645){if(_0x4d590b instanceof _0xfc4eb2['CommentsV2ResolveCommentThreadMessage'])return _0x4d590b;if(void 0x0===_0x5d8645&&(_0x5d8645=0x0),_0x5d8645>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xc7202d=new _0xfc4eb2['CommentsV2ResolveCommentThreadMessage']();return null!=_0x4d590b['commentThreadId']&&(_0xc7202d['commentThreadId']=String(_0x4d590b['commentThreadId'])),null!=_0x4d590b['documentId']&&(_0xc7202d['documentId']=String(_0x4d590b['documentId'])),null!=_0x4d590b['resolvedBy']&&(_0xc7202d['resolvedBy']=String(_0x4d590b['resolvedBy'])),null!=_0x4d590b['resolvedAt']&&(_0xc7202d['resolvedAt']=String(_0x4d590b['resolvedAt'])),_0xc7202d;},_0x71f637['toObject']=function(_0x485693,_0x2f14aa){_0x2f14aa||(_0x2f14aa={});var _0x539a65={};return _0x2f14aa['defaults']&&(_0x539a65['commentThreadId']='',_0x539a65['documentId']='',_0x539a65['resolvedBy']='',_0x539a65['resolvedAt']=''),null!=_0x485693['commentThreadId']&&_0x485693['hasOwnProperty']('commentThreadId')&&(_0x539a65['commentThreadId']=_0x485693['commentThreadId']),null!=_0x485693['documentId']&&_0x485693['hasOwnProperty']('documentId')&&(_0x539a65['documentId']=_0x485693['documentId']),null!=_0x485693['resolvedBy']&&_0x485693['hasOwnProperty']('resolvedBy')&&(_0x539a65['resolvedBy']=_0x485693['resolvedBy']),null!=_0x485693['resolvedAt']&&_0x485693['hasOwnProperty']('resolvedAt')&&(_0x539a65['resolvedAt']=_0x485693['resolvedAt']),_0x539a65;},_0x71f637['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x71f637['getTypeUrl']=function(_0x35ab3d){return void 0x0===_0x35ab3d&&(_0x35ab3d='type.googleapis.com'),_0x35ab3d+'/CommentsV2ResolveCommentThreadMessage';},_0x71f637;}()),_0xfc4eb2['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x134f81(_0x1818b8){if(_0x1818b8){for(var _0x41dacd=Object['keys'](_0x1818b8),_0x3d82df=0x0;_0x3d82df<_0x41dacd['length'];++_0x3d82df)null!=_0x1818b8[_0x41dacd[_0x3d82df]]&&'__proto__'!==_0x41dacd[_0x3d82df]&&(this[_0x41dacd[_0x3d82df]]=_0x1818b8[_0x41dacd[_0x3d82df]]);}}return _0x134f81['prototype']['commentThreadId']='',_0x134f81['prototype']['documentId']='',_0x134f81['create']=function(_0xf80bec){return new _0x134f81(_0xf80bec);},_0x134f81['encode']=function(_0x360001,_0x4e8d94){return _0x4e8d94||(_0x4e8d94=_0xcae49f['create']()),null!=_0x360001['commentThreadId']&&Object['hasOwnProperty']['call'](_0x360001,'commentThreadId')&&_0x4e8d94['uint32'](0xa)['string'](_0x360001['commentThreadId']),null!=_0x360001['documentId']&&Object['hasOwnProperty']['call'](_0x360001,'documentId')&&_0x4e8d94['uint32'](0x12)['string'](_0x360001['documentId']),_0x4e8d94;},_0x134f81['encodeDelimited']=function(_0x475f12,_0x21c6ac){return this['encode'](_0x475f12,_0x21c6ac)['ldelim']();},_0x134f81['decode']=function(_0x3cf0db,_0xbb1909,_0x4b3138,_0x11bb6e){if(_0x3cf0db instanceof _0x290291||(_0x3cf0db=_0x290291['create'](_0x3cf0db)),void 0x0===_0x11bb6e&&(_0x11bb6e=0x0),_0x11bb6e>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x42bdd8=void 0x0===_0xbb1909?_0x3cf0db['len']:_0x3cf0db['pos']+_0xbb1909,_0x2eb485=new _0xfc4eb2['CommentsV2ReopenCommentThreadMessage']();_0x3cf0db['pos']<_0x42bdd8;){var _0x5904a3=_0x3cf0db['uint32']();if(_0x5904a3===_0x4b3138)break;switch(_0x5904a3>>>0x3){case 0x1:_0x2eb485['commentThreadId']=_0x3cf0db['string']();break;case 0x2:_0x2eb485['documentId']=_0x3cf0db['string']();break;default:_0x3cf0db['skipType'](0x7&_0x5904a3,_0x11bb6e);}}return _0x2eb485;},_0x134f81['decodeDelimited']=function(_0x2a61f1){return _0x2a61f1 instanceof _0x290291||(_0x2a61f1=new _0x290291(_0x2a61f1)),this['decode'](_0x2a61f1,_0x2a61f1['uint32']());},_0x134f81['verify']=function(_0x3c1f12,_0x10cf50){return'object'!=typeof _0x3c1f12||null===_0x3c1f12?'object\x20expected':(void 0x0===_0x10cf50&&(_0x10cf50=0x0),_0x10cf50>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3c1f12['commentThreadId']&&_0x3c1f12['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x3c1f12['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3c1f12['documentId']&&_0x3c1f12['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x3c1f12['documentId'])?'documentId:\x20string\x20expected':null);},_0x134f81['fromObject']=function(_0x306b6c,_0x1bd51c){if(_0x306b6c instanceof _0xfc4eb2['CommentsV2ReopenCommentThreadMessage'])return _0x306b6c;if(void 0x0===_0x1bd51c&&(_0x1bd51c=0x0),_0x1bd51c>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19b07f=new _0xfc4eb2['CommentsV2ReopenCommentThreadMessage']();return null!=_0x306b6c['commentThreadId']&&(_0x19b07f['commentThreadId']=String(_0x306b6c['commentThreadId'])),null!=_0x306b6c['documentId']&&(_0x19b07f['documentId']=String(_0x306b6c['documentId'])),_0x19b07f;},_0x134f81['toObject']=function(_0x199c45,_0x2dff10){_0x2dff10||(_0x2dff10={});var _0xcf9ab4={};return _0x2dff10['defaults']&&(_0xcf9ab4['commentThreadId']='',_0xcf9ab4['documentId']=''),null!=_0x199c45['commentThreadId']&&_0x199c45['hasOwnProperty']('commentThreadId')&&(_0xcf9ab4['commentThreadId']=_0x199c45['commentThreadId']),null!=_0x199c45['documentId']&&_0x199c45['hasOwnProperty']('documentId')&&(_0xcf9ab4['documentId']=_0x199c45['documentId']),_0xcf9ab4;},_0x134f81['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x134f81['getTypeUrl']=function(_0x2f2650){return void 0x0===_0x2f2650&&(_0x2f2650='type.googleapis.com'),_0x2f2650+'/CommentsV2ReopenCommentThreadMessage';},_0x134f81;}()),_0xfc4eb2['CommentsV2AddCommentThreadMessage']=(function(){function _0xb7beee(_0x74fbb1){if(this['comments']=[],_0x74fbb1){for(var _0x3131f0=Object['keys'](_0x74fbb1),_0xdb9e3c=0x0;_0xdb9e3c<_0x3131f0['length'];++_0xdb9e3c)null!=_0x74fbb1[_0x3131f0[_0xdb9e3c]]&&'__proto__'!==_0x3131f0[_0xdb9e3c]&&(this[_0x3131f0[_0xdb9e3c]]=_0x74fbb1[_0x3131f0[_0xdb9e3c]]);}}return _0xb7beee['prototype']['documentId']='',_0xb7beee['prototype']['commentThreadId']='',_0xb7beee['prototype']['context']='',_0xb7beee['prototype']['createdAt']='',_0xb7beee['prototype']['resolvedAt']='',_0xb7beee['prototype']['resolvedBy']='',_0xb7beee['prototype']['attributes']='',_0xb7beee['prototype']['deletedAt']='',_0xb7beee['prototype']['comments']=_0x5c599b['emptyArray'],_0xb7beee['create']=function(_0x4c023e){return new _0xb7beee(_0x4c023e);},_0xb7beee['encode']=function(_0x3ee737,_0x3838a5){if(_0x3838a5||(_0x3838a5=_0xcae49f['create']()),null!=_0x3ee737['documentId']&&Object['hasOwnProperty']['call'](_0x3ee737,'documentId')&&_0x3838a5['uint32'](0xa)['string'](_0x3ee737['documentId']),null!=_0x3ee737['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3ee737,'commentThreadId')&&_0x3838a5['uint32'](0x12)['string'](_0x3ee737['commentThreadId']),null!=_0x3ee737['context']&&Object['hasOwnProperty']['call'](_0x3ee737,'context')&&_0x3838a5['uint32'](0x1a)['string'](_0x3ee737['context']),null!=_0x3ee737['createdAt']&&Object['hasOwnProperty']['call'](_0x3ee737,'createdAt')&&_0x3838a5['uint32'](0x22)['string'](_0x3ee737['createdAt']),null!=_0x3ee737['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3ee737,'resolvedAt')&&_0x3838a5['uint32'](0x2a)['string'](_0x3ee737['resolvedAt']),null!=_0x3ee737['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3ee737,'resolvedBy')&&_0x3838a5['uint32'](0x32)['string'](_0x3ee737['resolvedBy']),null!=_0x3ee737['attributes']&&Object['hasOwnProperty']['call'](_0x3ee737,'attributes')&&_0x3838a5['uint32'](0x3a)['string'](_0x3ee737['attributes']),null!=_0x3ee737['deletedAt']&&Object['hasOwnProperty']['call'](_0x3ee737,'deletedAt')&&_0x3838a5['uint32'](0x42)['string'](_0x3ee737['deletedAt']),null!=_0x3ee737['comments']&&_0x3ee737['comments']['length']){for(var _0x1de3c4=0x0;_0x1de3c4<_0x3ee737['comments']['length'];++_0x1de3c4)_0xfc4eb2['CommentDescriptor']['encode'](_0x3ee737['comments'][_0x1de3c4],_0x3838a5['uint32'](0x4a)['fork']())['ldelim']();}return _0x3838a5;},_0xb7beee['encodeDelimited']=function(_0x36b76a,_0x14650a){return this['encode'](_0x36b76a,_0x14650a)['ldelim']();},_0xb7beee['decode']=function(_0x497f91,_0xbca086,_0x302b20,_0x5947df){if(_0x497f91 instanceof _0x290291||(_0x497f91=_0x290291['create'](_0x497f91)),void 0x0===_0x5947df&&(_0x5947df=0x0),_0x5947df>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x439007=void 0x0===_0xbca086?_0x497f91['len']:_0x497f91['pos']+_0xbca086,_0xa43501=new _0xfc4eb2['CommentsV2AddCommentThreadMessage']();_0x497f91['pos']<_0x439007;){var _0xa0d189=_0x497f91['uint32']();if(_0xa0d189===_0x302b20)break;switch(_0xa0d189>>>0x3){case 0x1:_0xa43501['documentId']=_0x497f91['string']();break;case 0x2:_0xa43501['commentThreadId']=_0x497f91['string']();break;case 0x3:_0xa43501['context']=_0x497f91['string']();break;case 0x4:_0xa43501['createdAt']=_0x497f91['string']();break;case 0x5:_0xa43501['resolvedAt']=_0x497f91['string']();break;case 0x6:_0xa43501['resolvedBy']=_0x497f91['string']();break;case 0x7:_0xa43501['attributes']=_0x497f91['string']();break;case 0x8:_0xa43501['deletedAt']=_0x497f91['string']();break;case 0x9:_0xa43501['comments']&&_0xa43501['comments']['length']||(_0xa43501['comments']=[]),_0xa43501['comments']['push'](_0xfc4eb2['CommentDescriptor']['decode'](_0x497f91,_0x497f91['uint32'](),void 0x0,_0x5947df+0x1));break;default:_0x497f91['skipType'](0x7&_0xa0d189,_0x5947df);}}return _0xa43501;},_0xb7beee['decodeDelimited']=function(_0x28d155){return _0x28d155 instanceof _0x290291||(_0x28d155=new _0x290291(_0x28d155)),this['decode'](_0x28d155,_0x28d155['uint32']());},_0xb7beee['verify']=function(_0x5063f1,_0x3256ef){if('object'!=typeof _0x5063f1||null===_0x5063f1)return'object\x20expected';if(void 0x0===_0x3256ef&&(_0x3256ef=0x0),_0x3256ef>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5063f1['documentId']&&_0x5063f1['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x5063f1['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5063f1['commentThreadId']&&_0x5063f1['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x5063f1['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5063f1['context']&&_0x5063f1['hasOwnProperty']('context')&&!_0x5c599b['isString'](_0x5063f1['context']))return'context:\x20string\x20expected';if(null!=_0x5063f1['createdAt']&&_0x5063f1['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x5063f1['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x5063f1['resolvedAt']&&_0x5063f1['hasOwnProperty']('resolvedAt')&&!_0x5c599b['isString'](_0x5063f1['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x5063f1['resolvedBy']&&_0x5063f1['hasOwnProperty']('resolvedBy')&&!_0x5c599b['isString'](_0x5063f1['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x5063f1['attributes']&&_0x5063f1['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x5063f1['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x5063f1['deletedAt']&&_0x5063f1['hasOwnProperty']('deletedAt')&&!_0x5c599b['isString'](_0x5063f1['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x5063f1['comments']&&_0x5063f1['hasOwnProperty']('comments')){if(!Array['isArray'](_0x5063f1['comments']))return'comments:\x20array\x20expected';for(var _0x5f530a=0x0;_0x5f530a<_0x5063f1['comments']['length'];++_0x5f530a){var _0x5c053f=_0xfc4eb2['CommentDescriptor']['verify'](_0x5063f1['comments'][_0x5f530a],_0x3256ef+0x1);if(_0x5c053f)return'comments.'+_0x5c053f;}}return null;},_0xb7beee['fromObject']=function(_0x19e1f0,_0x314ab6){if(_0x19e1f0 instanceof _0xfc4eb2['CommentsV2AddCommentThreadMessage'])return _0x19e1f0;if(void 0x0===_0x314ab6&&(_0x314ab6=0x0),_0x314ab6>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x40ed5a=new _0xfc4eb2['CommentsV2AddCommentThreadMessage']();if(null!=_0x19e1f0['documentId']&&(_0x40ed5a['documentId']=String(_0x19e1f0['documentId'])),null!=_0x19e1f0['commentThreadId']&&(_0x40ed5a['commentThreadId']=String(_0x19e1f0['commentThreadId'])),null!=_0x19e1f0['context']&&(_0x40ed5a['context']=String(_0x19e1f0['context'])),null!=_0x19e1f0['createdAt']&&(_0x40ed5a['createdAt']=String(_0x19e1f0['createdAt'])),null!=_0x19e1f0['resolvedAt']&&(_0x40ed5a['resolvedAt']=String(_0x19e1f0['resolvedAt'])),null!=_0x19e1f0['resolvedBy']&&(_0x40ed5a['resolvedBy']=String(_0x19e1f0['resolvedBy'])),null!=_0x19e1f0['attributes']&&(_0x40ed5a['attributes']=String(_0x19e1f0['attributes'])),null!=_0x19e1f0['deletedAt']&&(_0x40ed5a['deletedAt']=String(_0x19e1f0['deletedAt'])),_0x19e1f0['comments']){if(!Array['isArray'](_0x19e1f0['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x40ed5a['comments']=[];for(var _0x19edcb=0x0;_0x19edcb<_0x19e1f0['comments']['length'];++_0x19edcb){if('object'!=typeof _0x19e1f0['comments'][_0x19edcb])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x40ed5a['comments'][_0x19edcb]=_0xfc4eb2['CommentDescriptor']['fromObject'](_0x19e1f0['comments'][_0x19edcb],_0x314ab6+0x1);}}return _0x40ed5a;},_0xb7beee['toObject']=function(_0x2ba95a,_0x588e12){_0x588e12||(_0x588e12={});var _0x253e24={};if((_0x588e12['arrays']||_0x588e12['defaults'])&&(_0x253e24['comments']=[]),_0x588e12['defaults']&&(_0x253e24['documentId']='',_0x253e24['commentThreadId']='',_0x253e24['context']='',_0x253e24['createdAt']='',_0x253e24['resolvedAt']='',_0x253e24['resolvedBy']='',_0x253e24['attributes']='',_0x253e24['deletedAt']=''),null!=_0x2ba95a['documentId']&&_0x2ba95a['hasOwnProperty']('documentId')&&(_0x253e24['documentId']=_0x2ba95a['documentId']),null!=_0x2ba95a['commentThreadId']&&_0x2ba95a['hasOwnProperty']('commentThreadId')&&(_0x253e24['commentThreadId']=_0x2ba95a['commentThreadId']),null!=_0x2ba95a['context']&&_0x2ba95a['hasOwnProperty']('context')&&(_0x253e24['context']=_0x2ba95a['context']),null!=_0x2ba95a['createdAt']&&_0x2ba95a['hasOwnProperty']('createdAt')&&(_0x253e24['createdAt']=_0x2ba95a['createdAt']),null!=_0x2ba95a['resolvedAt']&&_0x2ba95a['hasOwnProperty']('resolvedAt')&&(_0x253e24['resolvedAt']=_0x2ba95a['resolvedAt']),null!=_0x2ba95a['resolvedBy']&&_0x2ba95a['hasOwnProperty']('resolvedBy')&&(_0x253e24['resolvedBy']=_0x2ba95a['resolvedBy']),null!=_0x2ba95a['attributes']&&_0x2ba95a['hasOwnProperty']('attributes')&&(_0x253e24['attributes']=_0x2ba95a['attributes']),null!=_0x2ba95a['deletedAt']&&_0x2ba95a['hasOwnProperty']('deletedAt')&&(_0x253e24['deletedAt']=_0x2ba95a['deletedAt']),_0x2ba95a['comments']&&_0x2ba95a['comments']['length']){_0x253e24['comments']=[];for(var _0x2b2af8=0x0;_0x2b2af8<_0x2ba95a['comments']['length'];++_0x2b2af8)_0x253e24['comments'][_0x2b2af8]=_0xfc4eb2['CommentDescriptor']['toObject'](_0x2ba95a['comments'][_0x2b2af8],_0x588e12);}return _0x253e24;},_0xb7beee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0xb7beee['getTypeUrl']=function(_0x22f1a2){return void 0x0===_0x22f1a2&&(_0x22f1a2='type.googleapis.com'),_0x22f1a2+'/CommentsV2AddCommentThreadMessage';},_0xb7beee;}()),_0xfc4eb2['CommentThreadAddedCommentDescriptor']=(function(){function _0x3eb067(_0x284f88){if(_0x284f88){for(var _0x2dce93=Object['keys'](_0x284f88),_0x1cb860=0x0;_0x1cb860<_0x2dce93['length'];++_0x1cb860)null!=_0x284f88[_0x2dce93[_0x1cb860]]&&'__proto__'!==_0x2dce93[_0x1cb860]&&(this[_0x2dce93[_0x1cb860]]=_0x284f88[_0x2dce93[_0x1cb860]]);}}return _0x3eb067['prototype']['commentId']='',_0x3eb067['prototype']['createdAt']='',_0x3eb067['create']=function(_0x2166bf){return new _0x3eb067(_0x2166bf);},_0x3eb067['encode']=function(_0x594b28,_0x40ab5a){return _0x40ab5a||(_0x40ab5a=_0xcae49f['create']()),null!=_0x594b28['commentId']&&Object['hasOwnProperty']['call'](_0x594b28,'commentId')&&_0x40ab5a['uint32'](0xa)['string'](_0x594b28['commentId']),null!=_0x594b28['createdAt']&&Object['hasOwnProperty']['call'](_0x594b28,'createdAt')&&_0x40ab5a['uint32'](0x12)['string'](_0x594b28['createdAt']),_0x40ab5a;},_0x3eb067['encodeDelimited']=function(_0x5c59e5,_0x4ad294){return this['encode'](_0x5c59e5,_0x4ad294)['ldelim']();},_0x3eb067['decode']=function(_0x3b1fe3,_0x5e86d3,_0x2c9c42,_0x1a228f){if(_0x3b1fe3 instanceof _0x290291||(_0x3b1fe3=_0x290291['create'](_0x3b1fe3)),void 0x0===_0x1a228f&&(_0x1a228f=0x0),_0x1a228f>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x36f596=void 0x0===_0x5e86d3?_0x3b1fe3['len']:_0x3b1fe3['pos']+_0x5e86d3,_0x47b6a7=new _0xfc4eb2['CommentThreadAddedCommentDescriptor']();_0x3b1fe3['pos']<_0x36f596;){var _0x2996ce=_0x3b1fe3['uint32']();if(_0x2996ce===_0x2c9c42)break;switch(_0x2996ce>>>0x3){case 0x1:_0x47b6a7['commentId']=_0x3b1fe3['string']();break;case 0x2:_0x47b6a7['createdAt']=_0x3b1fe3['string']();break;default:_0x3b1fe3['skipType'](0x7&_0x2996ce,_0x1a228f);}}return _0x47b6a7;},_0x3eb067['decodeDelimited']=function(_0x394bba){return _0x394bba instanceof _0x290291||(_0x394bba=new _0x290291(_0x394bba)),this['decode'](_0x394bba,_0x394bba['uint32']());},_0x3eb067['verify']=function(_0x1fd403,_0x4ead9b){return'object'!=typeof _0x1fd403||null===_0x1fd403?'object\x20expected':(void 0x0===_0x4ead9b&&(_0x4ead9b=0x0),_0x4ead9b>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1fd403['commentId']&&_0x1fd403['hasOwnProperty']('commentId')&&!_0x5c599b['isString'](_0x1fd403['commentId'])?'commentId:\x20string\x20expected':null!=_0x1fd403['createdAt']&&_0x1fd403['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x1fd403['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x3eb067['fromObject']=function(_0x19e5c5,_0x843b60){if(_0x19e5c5 instanceof _0xfc4eb2['CommentThreadAddedCommentDescriptor'])return _0x19e5c5;if(void 0x0===_0x843b60&&(_0x843b60=0x0),_0x843b60>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ecc7b=new _0xfc4eb2['CommentThreadAddedCommentDescriptor']();return null!=_0x19e5c5['commentId']&&(_0x4ecc7b['commentId']=String(_0x19e5c5['commentId'])),null!=_0x19e5c5['createdAt']&&(_0x4ecc7b['createdAt']=String(_0x19e5c5['createdAt'])),_0x4ecc7b;},_0x3eb067['toObject']=function(_0x187d08,_0x197d54){_0x197d54||(_0x197d54={});var _0x2b5fb1={};return _0x197d54['defaults']&&(_0x2b5fb1['commentId']='',_0x2b5fb1['createdAt']=''),null!=_0x187d08['commentId']&&_0x187d08['hasOwnProperty']('commentId')&&(_0x2b5fb1['commentId']=_0x187d08['commentId']),null!=_0x187d08['createdAt']&&_0x187d08['hasOwnProperty']('createdAt')&&(_0x2b5fb1['createdAt']=_0x187d08['createdAt']),_0x2b5fb1;},_0x3eb067['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3eb067['getTypeUrl']=function(_0x5c8cb3){return void 0x0===_0x5c8cb3&&(_0x5c8cb3='type.googleapis.com'),_0x5c8cb3+'/CommentThreadAddedCommentDescriptor';},_0x3eb067;}()),_0xfc4eb2['CommentsThreadDescriptor']=(function(){function _0x2942fd(_0x440e88){if(this['comments']=[],_0x440e88){for(var _0x5c039c=Object['keys'](_0x440e88),_0x592228=0x0;_0x592228<_0x5c039c['length'];++_0x592228)null!=_0x440e88[_0x5c039c[_0x592228]]&&'__proto__'!==_0x5c039c[_0x592228]&&(this[_0x5c039c[_0x592228]]=_0x440e88[_0x5c039c[_0x592228]]);}}return _0x2942fd['prototype']['commentThreadId']='',_0x2942fd['prototype']['comments']=_0x5c599b['emptyArray'],_0x2942fd['prototype']['resolvedAt']='',_0x2942fd['prototype']['resolvedBy']='',_0x2942fd['prototype']['context']='',_0x2942fd['prototype']['createdAt']='',_0x2942fd['prototype']['deletedAt']='',_0x2942fd['prototype']['attributes']='',_0x2942fd['prototype']['unlinkedAt']='',_0x2942fd['create']=function(_0x1e5244){return new _0x2942fd(_0x1e5244);},_0x2942fd['encode']=function(_0x383242,_0x40b256){if(_0x40b256||(_0x40b256=_0xcae49f['create']()),null!=_0x383242['commentThreadId']&&Object['hasOwnProperty']['call'](_0x383242,'commentThreadId')&&_0x40b256['uint32'](0xa)['string'](_0x383242['commentThreadId']),null!=_0x383242['comments']&&_0x383242['comments']['length']){for(var _0x8048a4=0x0;_0x8048a4<_0x383242['comments']['length'];++_0x8048a4)_0xfc4eb2['CommentDescriptor']['encode'](_0x383242['comments'][_0x8048a4],_0x40b256['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x383242['resolvedAt']&&Object['hasOwnProperty']['call'](_0x383242,'resolvedAt')&&_0x40b256['uint32'](0x1a)['string'](_0x383242['resolvedAt']),null!=_0x383242['resolvedBy']&&Object['hasOwnProperty']['call'](_0x383242,'resolvedBy')&&_0x40b256['uint32'](0x22)['string'](_0x383242['resolvedBy']),null!=_0x383242['context']&&Object['hasOwnProperty']['call'](_0x383242,'context')&&_0x40b256['uint32'](0x2a)['string'](_0x383242['context']),null!=_0x383242['createdAt']&&Object['hasOwnProperty']['call'](_0x383242,'createdAt')&&_0x40b256['uint32'](0x32)['string'](_0x383242['createdAt']),null!=_0x383242['deletedAt']&&Object['hasOwnProperty']['call'](_0x383242,'deletedAt')&&_0x40b256['uint32'](0x3a)['string'](_0x383242['deletedAt']),null!=_0x383242['attributes']&&Object['hasOwnProperty']['call'](_0x383242,'attributes')&&_0x40b256['uint32'](0x42)['string'](_0x383242['attributes']),null!=_0x383242['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x383242,'unlinkedAt')&&_0x40b256['uint32'](0x4a)['string'](_0x383242['unlinkedAt']),_0x40b256;},_0x2942fd['encodeDelimited']=function(_0x83a1e8,_0x251f07){return this['encode'](_0x83a1e8,_0x251f07)['ldelim']();},_0x2942fd['decode']=function(_0x47aece,_0x36d8ef,_0x51a793,_0x388dcb){if(_0x47aece instanceof _0x290291||(_0x47aece=_0x290291['create'](_0x47aece)),void 0x0===_0x388dcb&&(_0x388dcb=0x0),_0x388dcb>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4eb1ce=void 0x0===_0x36d8ef?_0x47aece['len']:_0x47aece['pos']+_0x36d8ef,_0x55b6ad=new _0xfc4eb2['CommentsThreadDescriptor']();_0x47aece['pos']<_0x4eb1ce;){var _0x54dd65=_0x47aece['uint32']();if(_0x54dd65===_0x51a793)break;switch(_0x54dd65>>>0x3){case 0x1:_0x55b6ad['commentThreadId']=_0x47aece['string']();break;case 0x2:_0x55b6ad['comments']&&_0x55b6ad['comments']['length']||(_0x55b6ad['comments']=[]),_0x55b6ad['comments']['push'](_0xfc4eb2['CommentDescriptor']['decode'](_0x47aece,_0x47aece['uint32'](),void 0x0,_0x388dcb+0x1));break;case 0x3:_0x55b6ad['resolvedAt']=_0x47aece['string']();break;case 0x4:_0x55b6ad['resolvedBy']=_0x47aece['string']();break;case 0x5:_0x55b6ad['context']=_0x47aece['string']();break;case 0x6:_0x55b6ad['createdAt']=_0x47aece['string']();break;case 0x7:_0x55b6ad['deletedAt']=_0x47aece['string']();break;case 0x8:_0x55b6ad['attributes']=_0x47aece['string']();break;case 0x9:_0x55b6ad['unlinkedAt']=_0x47aece['string']();break;default:_0x47aece['skipType'](0x7&_0x54dd65,_0x388dcb);}}return _0x55b6ad;},_0x2942fd['decodeDelimited']=function(_0x3a31c9){return _0x3a31c9 instanceof _0x290291||(_0x3a31c9=new _0x290291(_0x3a31c9)),this['decode'](_0x3a31c9,_0x3a31c9['uint32']());},_0x2942fd['verify']=function(_0x3be87b,_0x221006){if('object'!=typeof _0x3be87b||null===_0x3be87b)return'object\x20expected';if(void 0x0===_0x221006&&(_0x221006=0x0),_0x221006>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3be87b['commentThreadId']&&_0x3be87b['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x3be87b['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3be87b['comments']&&_0x3be87b['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3be87b['comments']))return'comments:\x20array\x20expected';for(var _0x58a77e=0x0;_0x58a77e<_0x3be87b['comments']['length'];++_0x58a77e){var _0x2eb35f=_0xfc4eb2['CommentDescriptor']['verify'](_0x3be87b['comments'][_0x58a77e],_0x221006+0x1);if(_0x2eb35f)return'comments.'+_0x2eb35f;}}return null!=_0x3be87b['resolvedAt']&&_0x3be87b['hasOwnProperty']('resolvedAt')&&!_0x5c599b['isString'](_0x3be87b['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3be87b['resolvedBy']&&_0x3be87b['hasOwnProperty']('resolvedBy')&&!_0x5c599b['isString'](_0x3be87b['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3be87b['context']&&_0x3be87b['hasOwnProperty']('context')&&!_0x5c599b['isString'](_0x3be87b['context'])?'context:\x20string\x20expected':null!=_0x3be87b['createdAt']&&_0x3be87b['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x3be87b['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3be87b['deletedAt']&&_0x3be87b['hasOwnProperty']('deletedAt')&&!_0x5c599b['isString'](_0x3be87b['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3be87b['attributes']&&_0x3be87b['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x3be87b['attributes'])?'attributes:\x20string\x20expected':null!=_0x3be87b['unlinkedAt']&&_0x3be87b['hasOwnProperty']('unlinkedAt')&&!_0x5c599b['isString'](_0x3be87b['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x2942fd['fromObject']=function(_0x4cc79a,_0x1e8d62){if(_0x4cc79a instanceof _0xfc4eb2['CommentsThreadDescriptor'])return _0x4cc79a;if(void 0x0===_0x1e8d62&&(_0x1e8d62=0x0),_0x1e8d62>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x46954c=new _0xfc4eb2['CommentsThreadDescriptor']();if(null!=_0x4cc79a['commentThreadId']&&(_0x46954c['commentThreadId']=String(_0x4cc79a['commentThreadId'])),_0x4cc79a['comments']){if(!Array['isArray'](_0x4cc79a['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x46954c['comments']=[];for(var _0x59051e=0x0;_0x59051e<_0x4cc79a['comments']['length'];++_0x59051e){if('object'!=typeof _0x4cc79a['comments'][_0x59051e])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x46954c['comments'][_0x59051e]=_0xfc4eb2['CommentDescriptor']['fromObject'](_0x4cc79a['comments'][_0x59051e],_0x1e8d62+0x1);}}return null!=_0x4cc79a['resolvedAt']&&(_0x46954c['resolvedAt']=String(_0x4cc79a['resolvedAt'])),null!=_0x4cc79a['resolvedBy']&&(_0x46954c['resolvedBy']=String(_0x4cc79a['resolvedBy'])),null!=_0x4cc79a['context']&&(_0x46954c['context']=String(_0x4cc79a['context'])),null!=_0x4cc79a['createdAt']&&(_0x46954c['createdAt']=String(_0x4cc79a['createdAt'])),null!=_0x4cc79a['deletedAt']&&(_0x46954c['deletedAt']=String(_0x4cc79a['deletedAt'])),null!=_0x4cc79a['attributes']&&(_0x46954c['attributes']=String(_0x4cc79a['attributes'])),null!=_0x4cc79a['unlinkedAt']&&(_0x46954c['unlinkedAt']=String(_0x4cc79a['unlinkedAt'])),_0x46954c;},_0x2942fd['toObject']=function(_0x3dc45d,_0x3d2936){_0x3d2936||(_0x3d2936={});var _0x150a95={};if((_0x3d2936['arrays']||_0x3d2936['defaults'])&&(_0x150a95['comments']=[]),_0x3d2936['defaults']&&(_0x150a95['commentThreadId']='',_0x150a95['resolvedAt']='',_0x150a95['resolvedBy']='',_0x150a95['context']='',_0x150a95['createdAt']='',_0x150a95['deletedAt']='',_0x150a95['attributes']='',_0x150a95['unlinkedAt']=''),null!=_0x3dc45d['commentThreadId']&&_0x3dc45d['hasOwnProperty']('commentThreadId')&&(_0x150a95['commentThreadId']=_0x3dc45d['commentThreadId']),_0x3dc45d['comments']&&_0x3dc45d['comments']['length']){_0x150a95['comments']=[];for(var _0x57ea37=0x0;_0x57ea37<_0x3dc45d['comments']['length'];++_0x57ea37)_0x150a95['comments'][_0x57ea37]=_0xfc4eb2['CommentDescriptor']['toObject'](_0x3dc45d['comments'][_0x57ea37],_0x3d2936);}return null!=_0x3dc45d['resolvedAt']&&_0x3dc45d['hasOwnProperty']('resolvedAt')&&(_0x150a95['resolvedAt']=_0x3dc45d['resolvedAt']),null!=_0x3dc45d['resolvedBy']&&_0x3dc45d['hasOwnProperty']('resolvedBy')&&(_0x150a95['resolvedBy']=_0x3dc45d['resolvedBy']),null!=_0x3dc45d['context']&&_0x3dc45d['hasOwnProperty']('context')&&(_0x150a95['context']=_0x3dc45d['context']),null!=_0x3dc45d['createdAt']&&_0x3dc45d['hasOwnProperty']('createdAt')&&(_0x150a95['createdAt']=_0x3dc45d['createdAt']),null!=_0x3dc45d['deletedAt']&&_0x3dc45d['hasOwnProperty']('deletedAt')&&(_0x150a95['deletedAt']=_0x3dc45d['deletedAt']),null!=_0x3dc45d['attributes']&&_0x3dc45d['hasOwnProperty']('attributes')&&(_0x150a95['attributes']=_0x3dc45d['attributes']),null!=_0x3dc45d['unlinkedAt']&&_0x3dc45d['hasOwnProperty']('unlinkedAt')&&(_0x150a95['unlinkedAt']=_0x3dc45d['unlinkedAt']),_0x150a95;},_0x2942fd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2942fd['getTypeUrl']=function(_0x3ddba9){return void 0x0===_0x3ddba9&&(_0x3ddba9='type.googleapis.com'),_0x3ddba9+'/CommentsThreadDescriptor';},_0x2942fd;}()),_0xfc4eb2['CommentDescriptor']=(function(){function _0x59b75c(_0x37c52f){if(_0x37c52f){for(var _0x4ee715=Object['keys'](_0x37c52f),_0x5cc9eb=0x0;_0x5cc9eb<_0x4ee715['length'];++_0x5cc9eb)null!=_0x37c52f[_0x4ee715[_0x5cc9eb]]&&'__proto__'!==_0x4ee715[_0x5cc9eb]&&(this[_0x4ee715[_0x5cc9eb]]=_0x37c52f[_0x4ee715[_0x5cc9eb]]);}}return _0x59b75c['prototype']['commentId']='',_0x59b75c['prototype']['commentThreadId']='',_0x59b75c['prototype']['userId']='',_0x59b75c['prototype']['content']='',_0x59b75c['prototype']['documentId']='',_0x59b75c['prototype']['createdAt']='',_0x59b75c['prototype']['attributes']='',_0x59b75c['create']=function(_0x251339){return new _0x59b75c(_0x251339);},_0x59b75c['encode']=function(_0x7baabb,_0x1b752a){return _0x1b752a||(_0x1b752a=_0xcae49f['create']()),null!=_0x7baabb['commentId']&&Object['hasOwnProperty']['call'](_0x7baabb,'commentId')&&_0x1b752a['uint32'](0xa)['string'](_0x7baabb['commentId']),null!=_0x7baabb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x7baabb,'commentThreadId')&&_0x1b752a['uint32'](0x12)['string'](_0x7baabb['commentThreadId']),null!=_0x7baabb['userId']&&Object['hasOwnProperty']['call'](_0x7baabb,'userId')&&_0x1b752a['uint32'](0x1a)['string'](_0x7baabb['userId']),null!=_0x7baabb['content']&&Object['hasOwnProperty']['call'](_0x7baabb,'content')&&_0x1b752a['uint32'](0x22)['string'](_0x7baabb['content']),null!=_0x7baabb['documentId']&&Object['hasOwnProperty']['call'](_0x7baabb,'documentId')&&_0x1b752a['uint32'](0x2a)['string'](_0x7baabb['documentId']),null!=_0x7baabb['createdAt']&&Object['hasOwnProperty']['call'](_0x7baabb,'createdAt')&&_0x1b752a['uint32'](0x32)['string'](_0x7baabb['createdAt']),null!=_0x7baabb['attributes']&&Object['hasOwnProperty']['call'](_0x7baabb,'attributes')&&_0x1b752a['uint32'](0x3a)['string'](_0x7baabb['attributes']),_0x1b752a;},_0x59b75c['encodeDelimited']=function(_0x405bc0,_0x2e9ecb){return this['encode'](_0x405bc0,_0x2e9ecb)['ldelim']();},_0x59b75c['decode']=function(_0x4f2f64,_0x48973f,_0x3fcc04,_0x1db669){if(_0x4f2f64 instanceof _0x290291||(_0x4f2f64=_0x290291['create'](_0x4f2f64)),void 0x0===_0x1db669&&(_0x1db669=0x0),_0x1db669>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8b6a23=void 0x0===_0x48973f?_0x4f2f64['len']:_0x4f2f64['pos']+_0x48973f,_0x3ce531=new _0xfc4eb2['CommentDescriptor']();_0x4f2f64['pos']<_0x8b6a23;){var _0x161904=_0x4f2f64['uint32']();if(_0x161904===_0x3fcc04)break;switch(_0x161904>>>0x3){case 0x1:_0x3ce531['commentId']=_0x4f2f64['string']();break;case 0x2:_0x3ce531['commentThreadId']=_0x4f2f64['string']();break;case 0x3:_0x3ce531['userId']=_0x4f2f64['string']();break;case 0x4:_0x3ce531['content']=_0x4f2f64['string']();break;case 0x5:_0x3ce531['documentId']=_0x4f2f64['string']();break;case 0x6:_0x3ce531['createdAt']=_0x4f2f64['string']();break;case 0x7:_0x3ce531['attributes']=_0x4f2f64['string']();break;default:_0x4f2f64['skipType'](0x7&_0x161904,_0x1db669);}}return _0x3ce531;},_0x59b75c['decodeDelimited']=function(_0x350ca4){return _0x350ca4 instanceof _0x290291||(_0x350ca4=new _0x290291(_0x350ca4)),this['decode'](_0x350ca4,_0x350ca4['uint32']());},_0x59b75c['verify']=function(_0x315338,_0x38ff90){return'object'!=typeof _0x315338||null===_0x315338?'object\x20expected':(void 0x0===_0x38ff90&&(_0x38ff90=0x0),_0x38ff90>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x315338['commentId']&&_0x315338['hasOwnProperty']('commentId')&&!_0x5c599b['isString'](_0x315338['commentId'])?'commentId:\x20string\x20expected':null!=_0x315338['commentThreadId']&&_0x315338['hasOwnProperty']('commentThreadId')&&!_0x5c599b['isString'](_0x315338['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x315338['userId']&&_0x315338['hasOwnProperty']('userId')&&!_0x5c599b['isString'](_0x315338['userId'])?'userId:\x20string\x20expected':null!=_0x315338['content']&&_0x315338['hasOwnProperty']('content')&&!_0x5c599b['isString'](_0x315338['content'])?'content:\x20string\x20expected':null!=_0x315338['documentId']&&_0x315338['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x315338['documentId'])?'documentId:\x20string\x20expected':null!=_0x315338['createdAt']&&_0x315338['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x315338['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x315338['attributes']&&_0x315338['hasOwnProperty']('attributes')&&!_0x5c599b['isString'](_0x315338['attributes'])?'attributes:\x20string\x20expected':null);},_0x59b75c['fromObject']=function(_0x3aa535,_0x18e4db){if(_0x3aa535 instanceof _0xfc4eb2['CommentDescriptor'])return _0x3aa535;if(void 0x0===_0x18e4db&&(_0x18e4db=0x0),_0x18e4db>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x29849f=new _0xfc4eb2['CommentDescriptor']();return null!=_0x3aa535['commentId']&&(_0x29849f['commentId']=String(_0x3aa535['commentId'])),null!=_0x3aa535['commentThreadId']&&(_0x29849f['commentThreadId']=String(_0x3aa535['commentThreadId'])),null!=_0x3aa535['userId']&&(_0x29849f['userId']=String(_0x3aa535['userId'])),null!=_0x3aa535['content']&&(_0x29849f['content']=String(_0x3aa535['content'])),null!=_0x3aa535['documentId']&&(_0x29849f['documentId']=String(_0x3aa535['documentId'])),null!=_0x3aa535['createdAt']&&(_0x29849f['createdAt']=String(_0x3aa535['createdAt'])),null!=_0x3aa535['attributes']&&(_0x29849f['attributes']=String(_0x3aa535['attributes'])),_0x29849f;},_0x59b75c['toObject']=function(_0x41d862,_0x4f035f){_0x4f035f||(_0x4f035f={});var _0x46ce2c={};return _0x4f035f['defaults']&&(_0x46ce2c['commentId']='',_0x46ce2c['commentThreadId']='',_0x46ce2c['userId']='',_0x46ce2c['content']='',_0x46ce2c['documentId']='',_0x46ce2c['createdAt']='',_0x46ce2c['attributes']=''),null!=_0x41d862['commentId']&&_0x41d862['hasOwnProperty']('commentId')&&(_0x46ce2c['commentId']=_0x41d862['commentId']),null!=_0x41d862['commentThreadId']&&_0x41d862['hasOwnProperty']('commentThreadId')&&(_0x46ce2c['commentThreadId']=_0x41d862['commentThreadId']),null!=_0x41d862['userId']&&_0x41d862['hasOwnProperty']('userId')&&(_0x46ce2c['userId']=_0x41d862['userId']),null!=_0x41d862['content']&&_0x41d862['hasOwnProperty']('content')&&(_0x46ce2c['content']=_0x41d862['content']),null!=_0x41d862['documentId']&&_0x41d862['hasOwnProperty']('documentId')&&(_0x46ce2c['documentId']=_0x41d862['documentId']),null!=_0x41d862['createdAt']&&_0x41d862['hasOwnProperty']('createdAt')&&(_0x46ce2c['createdAt']=_0x41d862['createdAt']),null!=_0x41d862['attributes']&&_0x41d862['hasOwnProperty']('attributes')&&(_0x46ce2c['attributes']=_0x41d862['attributes']),_0x46ce2c;},_0x59b75c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x59b75c['getTypeUrl']=function(_0x3e0d40){return void 0x0===_0x3e0d40&&(_0x3e0d40='type.googleapis.com'),_0x3e0d40+'/CommentDescriptor';},_0x59b75c;}()),_0xfc4eb2['GetDocumentDetailsResponse']=(function(){function _0xeb0a77(_0x32a04d){if(_0x32a04d){for(var _0x5c28dc=Object['keys'](_0x32a04d),_0x3bc73a=0x0;_0x3bc73a<_0x5c28dc['length'];++_0x3bc73a)null!=_0x32a04d[_0x5c28dc[_0x3bc73a]]&&'__proto__'!==_0x5c28dc[_0x3bc73a]&&(this[_0x5c28dc[_0x3bc73a]]=_0x32a04d[_0x5c28dc[_0x3bc73a]]);}}return _0xeb0a77['prototype']['lastDocumentSessionId']='',_0xeb0a77['prototype']['lastDocumentSessionOperationId']='',_0xeb0a77['prototype']['currentDocumentSessionId']='',_0xeb0a77['prototype']['currentDocumentSessionVersion']=0x0,_0xeb0a77['prototype']['currentDocumentSessionOperationId']='',_0xeb0a77['create']=function(_0x50cb67){return new _0xeb0a77(_0x50cb67);},_0xeb0a77['encode']=function(_0x2a75b3,_0x124b04){return _0x124b04||(_0x124b04=_0xcae49f['create']()),null!=_0x2a75b3['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x2a75b3,'lastDocumentSessionId')&&_0x124b04['uint32'](0xa)['string'](_0x2a75b3['lastDocumentSessionId']),null!=_0x2a75b3['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x2a75b3,'lastDocumentSessionOperationId')&&_0x124b04['uint32'](0x12)['string'](_0x2a75b3['lastDocumentSessionOperationId']),null!=_0x2a75b3['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x2a75b3,'currentDocumentSessionId')&&_0x124b04['uint32'](0x1a)['string'](_0x2a75b3['currentDocumentSessionId']),null!=_0x2a75b3['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x2a75b3,'currentDocumentSessionVersion')&&_0x124b04['uint32'](0x20)['uint32'](_0x2a75b3['currentDocumentSessionVersion']),null!=_0x2a75b3['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x2a75b3,'currentDocumentSessionOperationId')&&_0x124b04['uint32'](0x2a)['string'](_0x2a75b3['currentDocumentSessionOperationId']),_0x124b04;},_0xeb0a77['encodeDelimited']=function(_0x2a233e,_0x113782){return this['encode'](_0x2a233e,_0x113782)['ldelim']();},_0xeb0a77['decode']=function(_0x7dfaac,_0x1940dd,_0x2ea2a5,_0x1bf3b3){if(_0x7dfaac instanceof _0x290291||(_0x7dfaac=_0x290291['create'](_0x7dfaac)),void 0x0===_0x1bf3b3&&(_0x1bf3b3=0x0),_0x1bf3b3>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d8c1c=void 0x0===_0x1940dd?_0x7dfaac['len']:_0x7dfaac['pos']+_0x1940dd,_0x55275f=new _0xfc4eb2['GetDocumentDetailsResponse']();_0x7dfaac['pos']<_0x4d8c1c;){var _0x3ff7a8=_0x7dfaac['uint32']();if(_0x3ff7a8===_0x2ea2a5)break;switch(_0x3ff7a8>>>0x3){case 0x1:_0x55275f['lastDocumentSessionId']=_0x7dfaac['string']();break;case 0x2:_0x55275f['lastDocumentSessionOperationId']=_0x7dfaac['string']();break;case 0x3:_0x55275f['currentDocumentSessionId']=_0x7dfaac['string']();break;case 0x4:_0x55275f['currentDocumentSessionVersion']=_0x7dfaac['uint32']();break;case 0x5:_0x55275f['currentDocumentSessionOperationId']=_0x7dfaac['string']();break;default:_0x7dfaac['skipType'](0x7&_0x3ff7a8,_0x1bf3b3);}}return _0x55275f;},_0xeb0a77['decodeDelimited']=function(_0x55b7cc){return _0x55b7cc instanceof _0x290291||(_0x55b7cc=new _0x290291(_0x55b7cc)),this['decode'](_0x55b7cc,_0x55b7cc['uint32']());},_0xeb0a77['verify']=function(_0x28e491,_0xac37a2){return'object'!=typeof _0x28e491||null===_0x28e491?'object\x20expected':(void 0x0===_0xac37a2&&(_0xac37a2=0x0),_0xac37a2>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x28e491['lastDocumentSessionId']&&_0x28e491['hasOwnProperty']('lastDocumentSessionId')&&!_0x5c599b['isString'](_0x28e491['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x28e491['lastDocumentSessionOperationId']&&_0x28e491['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x5c599b['isString'](_0x28e491['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x28e491['currentDocumentSessionId']&&_0x28e491['hasOwnProperty']('currentDocumentSessionId')&&!_0x5c599b['isString'](_0x28e491['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x28e491['currentDocumentSessionVersion']&&_0x28e491['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x5c599b['isInteger'](_0x28e491['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x28e491['currentDocumentSessionOperationId']&&_0x28e491['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x5c599b['isString'](_0x28e491['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0xeb0a77['fromObject']=function(_0x1c41b4,_0x2bc33f){if(_0x1c41b4 instanceof _0xfc4eb2['GetDocumentDetailsResponse'])return _0x1c41b4;if(void 0x0===_0x2bc33f&&(_0x2bc33f=0x0),_0x2bc33f>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4436e6=new _0xfc4eb2['GetDocumentDetailsResponse']();return null!=_0x1c41b4['lastDocumentSessionId']&&(_0x4436e6['lastDocumentSessionId']=String(_0x1c41b4['lastDocumentSessionId'])),null!=_0x1c41b4['lastDocumentSessionOperationId']&&(_0x4436e6['lastDocumentSessionOperationId']=String(_0x1c41b4['lastDocumentSessionOperationId'])),null!=_0x1c41b4['currentDocumentSessionId']&&(_0x4436e6['currentDocumentSessionId']=String(_0x1c41b4['currentDocumentSessionId'])),null!=_0x1c41b4['currentDocumentSessionVersion']&&(_0x4436e6['currentDocumentSessionVersion']=_0x1c41b4['currentDocumentSessionVersion']>>>0x0),null!=_0x1c41b4['currentDocumentSessionOperationId']&&(_0x4436e6['currentDocumentSessionOperationId']=String(_0x1c41b4['currentDocumentSessionOperationId'])),_0x4436e6;},_0xeb0a77['toObject']=function(_0x24a934,_0x3ec439){_0x3ec439||(_0x3ec439={});var _0x1c2e8d={};return _0x3ec439['defaults']&&(_0x1c2e8d['lastDocumentSessionId']='',_0x1c2e8d['lastDocumentSessionOperationId']='',_0x1c2e8d['currentDocumentSessionId']='',_0x1c2e8d['currentDocumentSessionVersion']=0x0,_0x1c2e8d['currentDocumentSessionOperationId']=''),null!=_0x24a934['lastDocumentSessionId']&&_0x24a934['hasOwnProperty']('lastDocumentSessionId')&&(_0x1c2e8d['lastDocumentSessionId']=_0x24a934['lastDocumentSessionId']),null!=_0x24a934['lastDocumentSessionOperationId']&&_0x24a934['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x1c2e8d['lastDocumentSessionOperationId']=_0x24a934['lastDocumentSessionOperationId']),null!=_0x24a934['currentDocumentSessionId']&&_0x24a934['hasOwnProperty']('currentDocumentSessionId')&&(_0x1c2e8d['currentDocumentSessionId']=_0x24a934['currentDocumentSessionId']),null!=_0x24a934['currentDocumentSessionVersion']&&_0x24a934['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x1c2e8d['currentDocumentSessionVersion']=_0x24a934['currentDocumentSessionVersion']),null!=_0x24a934['currentDocumentSessionOperationId']&&_0x24a934['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x1c2e8d['currentDocumentSessionOperationId']=_0x24a934['currentDocumentSessionOperationId']),_0x1c2e8d;},_0xeb0a77['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0xeb0a77['getTypeUrl']=function(_0x3cf03f){return void 0x0===_0x3cf03f&&(_0x3cf03f='type.googleapis.com'),_0x3cf03f+'/GetDocumentDetailsResponse';},_0xeb0a77;}()),_0xfc4eb2['CollaborativeEditingResponse']=(function(){function _0x2c6f37(_0x1142d8){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1142d8){for(var _0x790785=Object['keys'](_0x1142d8),_0x578a6a=0x0;_0x578a6a<_0x790785['length'];++_0x578a6a)null!=_0x1142d8[_0x790785[_0x578a6a]]&&'__proto__'!==_0x790785[_0x578a6a]&&(this[_0x790785[_0x578a6a]]=_0x1142d8[_0x790785[_0x578a6a]]);}}return _0x2c6f37['prototype']['version']=0x0,_0x2c6f37['prototype']['buffers']=_0x5c599b['emptyArray'],_0x2c6f37['prototype']['types']=_0x5c599b['emptyArray'],_0x2c6f37['prototype']['metadata']=_0x5c599b['emptyArray'],_0x2c6f37['prototype']['lastOperationId']='',_0x2c6f37['prototype']['lastOperationAcceptedAt']='',_0x2c6f37['create']=function(_0x1c011b){return new _0x2c6f37(_0x1c011b);},_0x2c6f37['encode']=function(_0xbc5532,_0x36d048){if(_0x36d048||(_0x36d048=_0xcae49f['create']()),null!=_0xbc5532['version']&&Object['hasOwnProperty']['call'](_0xbc5532,'version')&&_0x36d048['uint32'](0x8)['uint32'](_0xbc5532['version']),null!=_0xbc5532['buffers']&&_0xbc5532['buffers']['length']){for(var _0x8fb5ca=0x0;_0x8fb5ca<_0xbc5532['buffers']['length'];++_0x8fb5ca)_0x36d048['uint32'](0x12)['bytes'](_0xbc5532['buffers'][_0x8fb5ca]);}if(null!=_0xbc5532['types']&&_0xbc5532['types']['length']){for(_0x36d048['uint32'](0x1a)['fork'](),_0x8fb5ca=0x0;_0x8fb5ca<_0xbc5532['types']['length'];++_0x8fb5ca)_0x36d048['uint32'](_0xbc5532['types'][_0x8fb5ca]);_0x36d048['ldelim']();}if(null!=_0xbc5532['metadata']&&_0xbc5532['metadata']['length']){for(_0x8fb5ca=0x0;_0x8fb5ca<_0xbc5532['metadata']['length'];++_0x8fb5ca)_0xfc4eb2['OperationMetadataDescriptor']['encode'](_0xbc5532['metadata'][_0x8fb5ca],_0x36d048['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0xbc5532['lastOperationId']&&Object['hasOwnProperty']['call'](_0xbc5532,'lastOperationId')&&_0x36d048['uint32'](0x32)['string'](_0xbc5532['lastOperationId']),null!=_0xbc5532['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0xbc5532,'lastOperationAcceptedAt')&&_0x36d048['uint32'](0x3a)['string'](_0xbc5532['lastOperationAcceptedAt']),_0x36d048;},_0x2c6f37['encodeDelimited']=function(_0x559ac2,_0xa6858){return this['encode'](_0x559ac2,_0xa6858)['ldelim']();},_0x2c6f37['decode']=function(_0x212d9c,_0x45dc6d,_0x118372,_0x19aeea){if(_0x212d9c instanceof _0x290291||(_0x212d9c=_0x290291['create'](_0x212d9c)),void 0x0===_0x19aeea&&(_0x19aeea=0x0),_0x19aeea>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x47ec36=void 0x0===_0x45dc6d?_0x212d9c['len']:_0x212d9c['pos']+_0x45dc6d,_0x2fcf26=new _0xfc4eb2['CollaborativeEditingResponse']();_0x212d9c['pos']<_0x47ec36;){var _0x38bd63=_0x212d9c['uint32']();if(_0x38bd63===_0x118372)break;switch(_0x38bd63>>>0x3){case 0x1:_0x2fcf26['version']=_0x212d9c['uint32']();break;case 0x2:_0x2fcf26['buffers']&&_0x2fcf26['buffers']['length']||(_0x2fcf26['buffers']=[]),_0x2fcf26['buffers']['push'](_0x212d9c['bytes']());break;case 0x3:if(_0x2fcf26['types']&&_0x2fcf26['types']['length']||(_0x2fcf26['types']=[]),0x2==(0x7&_0x38bd63)){for(var _0x377909=_0x212d9c['uint32']()+_0x212d9c['pos'];_0x212d9c['pos']<_0x377909;)_0x2fcf26['types']['push'](_0x212d9c['uint32']());}else _0x2fcf26['types']['push'](_0x212d9c['uint32']());break;case 0x5:_0x2fcf26['metadata']&&_0x2fcf26['metadata']['length']||(_0x2fcf26['metadata']=[]),_0x2fcf26['metadata']['push'](_0xfc4eb2['OperationMetadataDescriptor']['decode'](_0x212d9c,_0x212d9c['uint32'](),void 0x0,_0x19aeea+0x1));break;case 0x6:_0x2fcf26['lastOperationId']=_0x212d9c['string']();break;case 0x7:_0x2fcf26['lastOperationAcceptedAt']=_0x212d9c['string']();break;default:_0x212d9c['skipType'](0x7&_0x38bd63,_0x19aeea);}}return _0x2fcf26;},_0x2c6f37['decodeDelimited']=function(_0x4a090d){return _0x4a090d instanceof _0x290291||(_0x4a090d=new _0x290291(_0x4a090d)),this['decode'](_0x4a090d,_0x4a090d['uint32']());},_0x2c6f37['verify']=function(_0x42f321,_0x161893){if('object'!=typeof _0x42f321||null===_0x42f321)return'object\x20expected';if(void 0x0===_0x161893&&(_0x161893=0x0),_0x161893>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x42f321['version']&&_0x42f321['hasOwnProperty']('version')&&!_0x5c599b['isInteger'](_0x42f321['version']))return'version:\x20integer\x20expected';if(null!=_0x42f321['buffers']&&_0x42f321['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x42f321['buffers']))return'buffers:\x20array\x20expected';for(var _0x246193=0x0;_0x246193<_0x42f321['buffers']['length'];++_0x246193)if(!(_0x42f321['buffers'][_0x246193]&&'number'==typeof _0x42f321['buffers'][_0x246193]['length']||_0x5c599b['isString'](_0x42f321['buffers'][_0x246193])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x42f321['types']&&_0x42f321['hasOwnProperty']('types')){if(!Array['isArray'](_0x42f321['types']))return'types:\x20array\x20expected';for(_0x246193=0x0;_0x246193<_0x42f321['types']['length'];++_0x246193)if(!_0x5c599b['isInteger'](_0x42f321['types'][_0x246193]))return'types:\x20integer[]\x20expected';}if(null!=_0x42f321['metadata']&&_0x42f321['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x42f321['metadata']))return'metadata:\x20array\x20expected';for(_0x246193=0x0;_0x246193<_0x42f321['metadata']['length'];++_0x246193){var _0x39ee22=_0xfc4eb2['OperationMetadataDescriptor']['verify'](_0x42f321['metadata'][_0x246193],_0x161893+0x1);if(_0x39ee22)return'metadata.'+_0x39ee22;}}return null!=_0x42f321['lastOperationId']&&_0x42f321['hasOwnProperty']('lastOperationId')&&!_0x5c599b['isString'](_0x42f321['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x42f321['lastOperationAcceptedAt']&&_0x42f321['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x5c599b['isString'](_0x42f321['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x2c6f37['fromObject']=function(_0x11d866,_0x1e1c2c){if(_0x11d866 instanceof _0xfc4eb2['CollaborativeEditingResponse'])return _0x11d866;if(void 0x0===_0x1e1c2c&&(_0x1e1c2c=0x0),_0x1e1c2c>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x86b353=new _0xfc4eb2['CollaborativeEditingResponse']();if(null!=_0x11d866['version']&&(_0x86b353['version']=_0x11d866['version']>>>0x0),_0x11d866['buffers']){if(!Array['isArray'](_0x11d866['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x86b353['buffers']=[];for(var _0xd98b08=0x0;_0xd98b08<_0x11d866['buffers']['length'];++_0xd98b08)'string'==typeof _0x11d866['buffers'][_0xd98b08]?_0x5c599b['base64']['decode'](_0x11d866['buffers'][_0xd98b08],_0x86b353['buffers'][_0xd98b08]=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x11d866['buffers'][_0xd98b08])),0x0):_0x11d866['buffers'][_0xd98b08]['length']>=0x0&&(_0x86b353['buffers'][_0xd98b08]=_0x11d866['buffers'][_0xd98b08]);}if(_0x11d866['types']){if(!Array['isArray'](_0x11d866['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x86b353['types']=[],_0xd98b08=0x0;_0xd98b08<_0x11d866['types']['length'];++_0xd98b08)_0x86b353['types'][_0xd98b08]=_0x11d866['types'][_0xd98b08]>>>0x0;}if(_0x11d866['metadata']){if(!Array['isArray'](_0x11d866['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x86b353['metadata']=[],_0xd98b08=0x0;_0xd98b08<_0x11d866['metadata']['length'];++_0xd98b08){if('object'!=typeof _0x11d866['metadata'][_0xd98b08])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x86b353['metadata'][_0xd98b08]=_0xfc4eb2['OperationMetadataDescriptor']['fromObject'](_0x11d866['metadata'][_0xd98b08],_0x1e1c2c+0x1);}}return null!=_0x11d866['lastOperationId']&&(_0x86b353['lastOperationId']=String(_0x11d866['lastOperationId'])),null!=_0x11d866['lastOperationAcceptedAt']&&(_0x86b353['lastOperationAcceptedAt']=String(_0x11d866['lastOperationAcceptedAt'])),_0x86b353;},_0x2c6f37['toObject']=function(_0x40dc4d,_0x4f6801){_0x4f6801||(_0x4f6801={});var _0x13ad28={};if((_0x4f6801['arrays']||_0x4f6801['defaults'])&&(_0x13ad28['buffers']=[],_0x13ad28['types']=[],_0x13ad28['metadata']=[]),_0x4f6801['defaults']&&(_0x13ad28['version']=0x0,_0x13ad28['lastOperationId']='',_0x13ad28['lastOperationAcceptedAt']=''),null!=_0x40dc4d['version']&&_0x40dc4d['hasOwnProperty']('version')&&(_0x13ad28['version']=_0x40dc4d['version']),_0x40dc4d['buffers']&&_0x40dc4d['buffers']['length']){_0x13ad28['buffers']=[];for(var _0x48e7ea=0x0;_0x48e7ea<_0x40dc4d['buffers']['length'];++_0x48e7ea)_0x13ad28['buffers'][_0x48e7ea]=_0x4f6801['bytes']===String?_0x5c599b['base64']['encode'](_0x40dc4d['buffers'][_0x48e7ea],0x0,_0x40dc4d['buffers'][_0x48e7ea]['length']):_0x4f6801['bytes']===Array?Array['prototype']['slice']['call'](_0x40dc4d['buffers'][_0x48e7ea]):_0x40dc4d['buffers'][_0x48e7ea];}if(_0x40dc4d['types']&&_0x40dc4d['types']['length']){for(_0x13ad28['types']=[],_0x48e7ea=0x0;_0x48e7ea<_0x40dc4d['types']['length'];++_0x48e7ea)_0x13ad28['types'][_0x48e7ea]=_0x40dc4d['types'][_0x48e7ea];}if(_0x40dc4d['metadata']&&_0x40dc4d['metadata']['length']){for(_0x13ad28['metadata']=[],_0x48e7ea=0x0;_0x48e7ea<_0x40dc4d['metadata']['length'];++_0x48e7ea)_0x13ad28['metadata'][_0x48e7ea]=_0xfc4eb2['OperationMetadataDescriptor']['toObject'](_0x40dc4d['metadata'][_0x48e7ea],_0x4f6801);}return null!=_0x40dc4d['lastOperationId']&&_0x40dc4d['hasOwnProperty']('lastOperationId')&&(_0x13ad28['lastOperationId']=_0x40dc4d['lastOperationId']),null!=_0x40dc4d['lastOperationAcceptedAt']&&_0x40dc4d['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x13ad28['lastOperationAcceptedAt']=_0x40dc4d['lastOperationAcceptedAt']),_0x13ad28;},_0x2c6f37['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2c6f37['getTypeUrl']=function(_0x50a0d2){return void 0x0===_0x50a0d2&&(_0x50a0d2='type.googleapis.com'),_0x50a0d2+'/CollaborativeEditingResponse';},_0x2c6f37;}()),_0xfc4eb2['CollaborativeEditingConnectResponse']=(function(){function _0x2ae819(_0x2e685f){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x2e685f){for(var _0x58d300=Object['keys'](_0x2e685f),_0x51b921=0x0;_0x51b921<_0x58d300['length'];++_0x51b921)null!=_0x2e685f[_0x58d300[_0x51b921]]&&'__proto__'!==_0x58d300[_0x51b921]&&(this[_0x58d300[_0x51b921]]=_0x2e685f[_0x58d300[_0x51b921]]);}}return _0x2ae819['prototype']['channel']='',_0x2ae819['prototype']['offset']=0x0,_0x2ae819['prototype']['version']=0x0,_0x2ae819['prototype']['buffers']=_0x5c599b['emptyArray'],_0x2ae819['prototype']['types']=_0x5c599b['emptyArray'],_0x2ae819['prototype']['metadata']=_0x5c599b['emptyArray'],_0x2ae819['prototype']['initData']='',_0x2ae819['prototype']['isInitialized']=!0x1,_0x2ae819['prototype']['sessionId']='',_0x2ae819['prototype']['lastOperationId']='',_0x2ae819['prototype']['sessionCreatedAt']='',_0x2ae819['create']=function(_0x3aa27a){return new _0x2ae819(_0x3aa27a);},_0x2ae819['encode']=function(_0x434ce6,_0x43ec18){if(_0x43ec18||(_0x43ec18=_0xcae49f['create']()),null!=_0x434ce6['channel']&&Object['hasOwnProperty']['call'](_0x434ce6,'channel')&&_0x43ec18['uint32'](0xa)['string'](_0x434ce6['channel']),null!=_0x434ce6['offset']&&Object['hasOwnProperty']['call'](_0x434ce6,'offset')&&_0x43ec18['uint32'](0x10)['uint32'](_0x434ce6['offset']),null!=_0x434ce6['version']&&Object['hasOwnProperty']['call'](_0x434ce6,'version')&&_0x43ec18['uint32'](0x18)['uint32'](_0x434ce6['version']),null!=_0x434ce6['buffers']&&_0x434ce6['buffers']['length']){for(var _0x54bbf0=0x0;_0x54bbf0<_0x434ce6['buffers']['length'];++_0x54bbf0)_0x43ec18['uint32'](0x22)['bytes'](_0x434ce6['buffers'][_0x54bbf0]);}if(null!=_0x434ce6['types']&&_0x434ce6['types']['length']){for(_0x43ec18['uint32'](0x2a)['fork'](),_0x54bbf0=0x0;_0x54bbf0<_0x434ce6['types']['length'];++_0x54bbf0)_0x43ec18['uint32'](_0x434ce6['types'][_0x54bbf0]);_0x43ec18['ldelim']();}if(null!=_0x434ce6['metadata']&&_0x434ce6['metadata']['length']){for(_0x54bbf0=0x0;_0x54bbf0<_0x434ce6['metadata']['length'];++_0x54bbf0)_0xfc4eb2['OperationMetadataDescriptor']['encode'](_0x434ce6['metadata'][_0x54bbf0],_0x43ec18['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x434ce6['initData']&&Object['hasOwnProperty']['call'](_0x434ce6,'initData')&&_0x43ec18['uint32'](0x42)['string'](_0x434ce6['initData']),null!=_0x434ce6['isInitialized']&&Object['hasOwnProperty']['call'](_0x434ce6,'isInitialized')&&_0x43ec18['uint32'](0x48)['bool'](_0x434ce6['isInitialized']),null!=_0x434ce6['sessionId']&&Object['hasOwnProperty']['call'](_0x434ce6,'sessionId')&&_0x43ec18['uint32'](0x52)['string'](_0x434ce6['sessionId']),null!=_0x434ce6['lastOperationId']&&Object['hasOwnProperty']['call'](_0x434ce6,'lastOperationId')&&_0x43ec18['uint32'](0x5a)['string'](_0x434ce6['lastOperationId']),null!=_0x434ce6['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x434ce6,'sessionCreatedAt')&&_0x43ec18['uint32'](0x62)['string'](_0x434ce6['sessionCreatedAt']),_0x43ec18;},_0x2ae819['encodeDelimited']=function(_0x5038a5,_0x54c177){return this['encode'](_0x5038a5,_0x54c177)['ldelim']();},_0x2ae819['decode']=function(_0x5e18a1,_0x4ba272,_0xba507e,_0x36aa1d){if(_0x5e18a1 instanceof _0x290291||(_0x5e18a1=_0x290291['create'](_0x5e18a1)),void 0x0===_0x36aa1d&&(_0x36aa1d=0x0),_0x36aa1d>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2358e2=void 0x0===_0x4ba272?_0x5e18a1['len']:_0x5e18a1['pos']+_0x4ba272,_0x2130b0=new _0xfc4eb2['CollaborativeEditingConnectResponse']();_0x5e18a1['pos']<_0x2358e2;){var _0x160aa6=_0x5e18a1['uint32']();if(_0x160aa6===_0xba507e)break;switch(_0x160aa6>>>0x3){case 0x1:_0x2130b0['channel']=_0x5e18a1['string']();break;case 0x2:_0x2130b0['offset']=_0x5e18a1['uint32']();break;case 0x3:_0x2130b0['version']=_0x5e18a1['uint32']();break;case 0x4:_0x2130b0['buffers']&&_0x2130b0['buffers']['length']||(_0x2130b0['buffers']=[]),_0x2130b0['buffers']['push'](_0x5e18a1['bytes']());break;case 0x5:if(_0x2130b0['types']&&_0x2130b0['types']['length']||(_0x2130b0['types']=[]),0x2==(0x7&_0x160aa6)){for(var _0x5abb73=_0x5e18a1['uint32']()+_0x5e18a1['pos'];_0x5e18a1['pos']<_0x5abb73;)_0x2130b0['types']['push'](_0x5e18a1['uint32']());}else _0x2130b0['types']['push'](_0x5e18a1['uint32']());break;case 0x7:_0x2130b0['metadata']&&_0x2130b0['metadata']['length']||(_0x2130b0['metadata']=[]),_0x2130b0['metadata']['push'](_0xfc4eb2['OperationMetadataDescriptor']['decode'](_0x5e18a1,_0x5e18a1['uint32'](),void 0x0,_0x36aa1d+0x1));break;case 0x8:_0x2130b0['initData']=_0x5e18a1['string']();break;case 0x9:_0x2130b0['isInitialized']=_0x5e18a1['bool']();break;case 0xa:_0x2130b0['sessionId']=_0x5e18a1['string']();break;case 0xb:_0x2130b0['lastOperationId']=_0x5e18a1['string']();break;case 0xc:_0x2130b0['sessionCreatedAt']=_0x5e18a1['string']();break;default:_0x5e18a1['skipType'](0x7&_0x160aa6,_0x36aa1d);}}return _0x2130b0;},_0x2ae819['decodeDelimited']=function(_0x1281b3){return _0x1281b3 instanceof _0x290291||(_0x1281b3=new _0x290291(_0x1281b3)),this['decode'](_0x1281b3,_0x1281b3['uint32']());},_0x2ae819['verify']=function(_0x509163,_0x1e7061){if('object'!=typeof _0x509163||null===_0x509163)return'object\x20expected';if(void 0x0===_0x1e7061&&(_0x1e7061=0x0),_0x1e7061>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x509163['channel']&&_0x509163['hasOwnProperty']('channel')&&!_0x5c599b['isString'](_0x509163['channel']))return'channel:\x20string\x20expected';if(null!=_0x509163['offset']&&_0x509163['hasOwnProperty']('offset')&&!_0x5c599b['isInteger'](_0x509163['offset']))return'offset:\x20integer\x20expected';if(null!=_0x509163['version']&&_0x509163['hasOwnProperty']('version')&&!_0x5c599b['isInteger'](_0x509163['version']))return'version:\x20integer\x20expected';if(null!=_0x509163['buffers']&&_0x509163['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x509163['buffers']))return'buffers:\x20array\x20expected';for(var _0x4ce0fc=0x0;_0x4ce0fc<_0x509163['buffers']['length'];++_0x4ce0fc)if(!(_0x509163['buffers'][_0x4ce0fc]&&'number'==typeof _0x509163['buffers'][_0x4ce0fc]['length']||_0x5c599b['isString'](_0x509163['buffers'][_0x4ce0fc])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x509163['types']&&_0x509163['hasOwnProperty']('types')){if(!Array['isArray'](_0x509163['types']))return'types:\x20array\x20expected';for(_0x4ce0fc=0x0;_0x4ce0fc<_0x509163['types']['length'];++_0x4ce0fc)if(!_0x5c599b['isInteger'](_0x509163['types'][_0x4ce0fc]))return'types:\x20integer[]\x20expected';}if(null!=_0x509163['metadata']&&_0x509163['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x509163['metadata']))return'metadata:\x20array\x20expected';for(_0x4ce0fc=0x0;_0x4ce0fc<_0x509163['metadata']['length'];++_0x4ce0fc){var _0x3c74ce=_0xfc4eb2['OperationMetadataDescriptor']['verify'](_0x509163['metadata'][_0x4ce0fc],_0x1e7061+0x1);if(_0x3c74ce)return'metadata.'+_0x3c74ce;}}return null!=_0x509163['initData']&&_0x509163['hasOwnProperty']('initData')&&!_0x5c599b['isString'](_0x509163['initData'])?'initData:\x20string\x20expected':null!=_0x509163['isInitialized']&&_0x509163['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x509163['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x509163['sessionId']&&_0x509163['hasOwnProperty']('sessionId')&&!_0x5c599b['isString'](_0x509163['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x509163['lastOperationId']&&_0x509163['hasOwnProperty']('lastOperationId')&&!_0x5c599b['isString'](_0x509163['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x509163['sessionCreatedAt']&&_0x509163['hasOwnProperty']('sessionCreatedAt')&&!_0x5c599b['isString'](_0x509163['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x2ae819['fromObject']=function(_0x1be4f1,_0x1d821c){if(_0x1be4f1 instanceof _0xfc4eb2['CollaborativeEditingConnectResponse'])return _0x1be4f1;if(void 0x0===_0x1d821c&&(_0x1d821c=0x0),_0x1d821c>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3d05b1=new _0xfc4eb2['CollaborativeEditingConnectResponse']();if(null!=_0x1be4f1['channel']&&(_0x3d05b1['channel']=String(_0x1be4f1['channel'])),null!=_0x1be4f1['offset']&&(_0x3d05b1['offset']=_0x1be4f1['offset']>>>0x0),null!=_0x1be4f1['version']&&(_0x3d05b1['version']=_0x1be4f1['version']>>>0x0),_0x1be4f1['buffers']){if(!Array['isArray'](_0x1be4f1['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x3d05b1['buffers']=[];for(var _0x241226=0x0;_0x241226<_0x1be4f1['buffers']['length'];++_0x241226)'string'==typeof _0x1be4f1['buffers'][_0x241226]?_0x5c599b['base64']['decode'](_0x1be4f1['buffers'][_0x241226],_0x3d05b1['buffers'][_0x241226]=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x1be4f1['buffers'][_0x241226])),0x0):_0x1be4f1['buffers'][_0x241226]['length']>=0x0&&(_0x3d05b1['buffers'][_0x241226]=_0x1be4f1['buffers'][_0x241226]);}if(_0x1be4f1['types']){if(!Array['isArray'](_0x1be4f1['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x3d05b1['types']=[],_0x241226=0x0;_0x241226<_0x1be4f1['types']['length'];++_0x241226)_0x3d05b1['types'][_0x241226]=_0x1be4f1['types'][_0x241226]>>>0x0;}if(_0x1be4f1['metadata']){if(!Array['isArray'](_0x1be4f1['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x3d05b1['metadata']=[],_0x241226=0x0;_0x241226<_0x1be4f1['metadata']['length'];++_0x241226){if('object'!=typeof _0x1be4f1['metadata'][_0x241226])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x3d05b1['metadata'][_0x241226]=_0xfc4eb2['OperationMetadataDescriptor']['fromObject'](_0x1be4f1['metadata'][_0x241226],_0x1d821c+0x1);}}return null!=_0x1be4f1['initData']&&(_0x3d05b1['initData']=String(_0x1be4f1['initData'])),null!=_0x1be4f1['isInitialized']&&(_0x3d05b1['isInitialized']=Boolean(_0x1be4f1['isInitialized'])),null!=_0x1be4f1['sessionId']&&(_0x3d05b1['sessionId']=String(_0x1be4f1['sessionId'])),null!=_0x1be4f1['lastOperationId']&&(_0x3d05b1['lastOperationId']=String(_0x1be4f1['lastOperationId'])),null!=_0x1be4f1['sessionCreatedAt']&&(_0x3d05b1['sessionCreatedAt']=String(_0x1be4f1['sessionCreatedAt'])),_0x3d05b1;},_0x2ae819['toObject']=function(_0x57bef2,_0x380790){_0x380790||(_0x380790={});var _0x159a34={};if((_0x380790['arrays']||_0x380790['defaults'])&&(_0x159a34['buffers']=[],_0x159a34['types']=[],_0x159a34['metadata']=[]),_0x380790['defaults']&&(_0x159a34['channel']='',_0x159a34['offset']=0x0,_0x159a34['version']=0x0,_0x159a34['initData']='',_0x159a34['isInitialized']=!0x1,_0x159a34['sessionId']='',_0x159a34['lastOperationId']='',_0x159a34['sessionCreatedAt']=''),null!=_0x57bef2['channel']&&_0x57bef2['hasOwnProperty']('channel')&&(_0x159a34['channel']=_0x57bef2['channel']),null!=_0x57bef2['offset']&&_0x57bef2['hasOwnProperty']('offset')&&(_0x159a34['offset']=_0x57bef2['offset']),null!=_0x57bef2['version']&&_0x57bef2['hasOwnProperty']('version')&&(_0x159a34['version']=_0x57bef2['version']),_0x57bef2['buffers']&&_0x57bef2['buffers']['length']){_0x159a34['buffers']=[];for(var _0x2bce5b=0x0;_0x2bce5b<_0x57bef2['buffers']['length'];++_0x2bce5b)_0x159a34['buffers'][_0x2bce5b]=_0x380790['bytes']===String?_0x5c599b['base64']['encode'](_0x57bef2['buffers'][_0x2bce5b],0x0,_0x57bef2['buffers'][_0x2bce5b]['length']):_0x380790['bytes']===Array?Array['prototype']['slice']['call'](_0x57bef2['buffers'][_0x2bce5b]):_0x57bef2['buffers'][_0x2bce5b];}if(_0x57bef2['types']&&_0x57bef2['types']['length']){for(_0x159a34['types']=[],_0x2bce5b=0x0;_0x2bce5b<_0x57bef2['types']['length'];++_0x2bce5b)_0x159a34['types'][_0x2bce5b]=_0x57bef2['types'][_0x2bce5b];}if(_0x57bef2['metadata']&&_0x57bef2['metadata']['length']){for(_0x159a34['metadata']=[],_0x2bce5b=0x0;_0x2bce5b<_0x57bef2['metadata']['length'];++_0x2bce5b)_0x159a34['metadata'][_0x2bce5b]=_0xfc4eb2['OperationMetadataDescriptor']['toObject'](_0x57bef2['metadata'][_0x2bce5b],_0x380790);}return null!=_0x57bef2['initData']&&_0x57bef2['hasOwnProperty']('initData')&&(_0x159a34['initData']=_0x57bef2['initData']),null!=_0x57bef2['isInitialized']&&_0x57bef2['hasOwnProperty']('isInitialized')&&(_0x159a34['isInitialized']=_0x57bef2['isInitialized']),null!=_0x57bef2['sessionId']&&_0x57bef2['hasOwnProperty']('sessionId')&&(_0x159a34['sessionId']=_0x57bef2['sessionId']),null!=_0x57bef2['lastOperationId']&&_0x57bef2['hasOwnProperty']('lastOperationId')&&(_0x159a34['lastOperationId']=_0x57bef2['lastOperationId']),null!=_0x57bef2['sessionCreatedAt']&&_0x57bef2['hasOwnProperty']('sessionCreatedAt')&&(_0x159a34['sessionCreatedAt']=_0x57bef2['sessionCreatedAt']),_0x159a34;},_0x2ae819['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x2ae819['getTypeUrl']=function(_0x11000b){return void 0x0===_0x11000b&&(_0x11000b='type.googleapis.com'),_0x11000b+'/CollaborativeEditingConnectResponse';},_0x2ae819;}()),_0xfc4eb2['GetDocumentDetailsMessage']=(function(){function _0x35aaea(_0x8ea1d2){if(_0x8ea1d2){for(var _0x2be455=Object['keys'](_0x8ea1d2),_0xff6c0b=0x0;_0xff6c0b<_0x2be455['length'];++_0xff6c0b)null!=_0x8ea1d2[_0x2be455[_0xff6c0b]]&&'__proto__'!==_0x2be455[_0xff6c0b]&&(this[_0x2be455[_0xff6c0b]]=_0x8ea1d2[_0x2be455[_0xff6c0b]]);}}return _0x35aaea['prototype']['documentId']='',_0x35aaea['prototype']['environmentId']='',_0x35aaea['create']=function(_0x33bac1){return new _0x35aaea(_0x33bac1);},_0x35aaea['encode']=function(_0x3b80d0,_0x513b0d){return _0x513b0d||(_0x513b0d=_0xcae49f['create']()),null!=_0x3b80d0['documentId']&&Object['hasOwnProperty']['call'](_0x3b80d0,'documentId')&&_0x513b0d['uint32'](0xa)['string'](_0x3b80d0['documentId']),null!=_0x3b80d0['environmentId']&&Object['hasOwnProperty']['call'](_0x3b80d0,'environmentId')&&_0x513b0d['uint32'](0x12)['string'](_0x3b80d0['environmentId']),_0x513b0d;},_0x35aaea['encodeDelimited']=function(_0x4cb6dd,_0x222a4a){return this['encode'](_0x4cb6dd,_0x222a4a)['ldelim']();},_0x35aaea['decode']=function(_0x5463bd,_0x1c9523,_0x47b899,_0x2b9aa1){if(_0x5463bd instanceof _0x290291||(_0x5463bd=_0x290291['create'](_0x5463bd)),void 0x0===_0x2b9aa1&&(_0x2b9aa1=0x0),_0x2b9aa1>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2e0ebb=void 0x0===_0x1c9523?_0x5463bd['len']:_0x5463bd['pos']+_0x1c9523,_0x22b80f=new _0xfc4eb2['GetDocumentDetailsMessage']();_0x5463bd['pos']<_0x2e0ebb;){var _0x41ef53=_0x5463bd['uint32']();if(_0x41ef53===_0x47b899)break;switch(_0x41ef53>>>0x3){case 0x1:_0x22b80f['documentId']=_0x5463bd['string']();break;case 0x2:_0x22b80f['environmentId']=_0x5463bd['string']();break;default:_0x5463bd['skipType'](0x7&_0x41ef53,_0x2b9aa1);}}return _0x22b80f;},_0x35aaea['decodeDelimited']=function(_0x19c8c2){return _0x19c8c2 instanceof _0x290291||(_0x19c8c2=new _0x290291(_0x19c8c2)),this['decode'](_0x19c8c2,_0x19c8c2['uint32']());},_0x35aaea['verify']=function(_0x40437c,_0x400016){return'object'!=typeof _0x40437c||null===_0x40437c?'object\x20expected':(void 0x0===_0x400016&&(_0x400016=0x0),_0x400016>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x40437c['documentId']&&_0x40437c['hasOwnProperty']('documentId')&&!_0x5c599b['isString'](_0x40437c['documentId'])?'documentId:\x20string\x20expected':null!=_0x40437c['environmentId']&&_0x40437c['hasOwnProperty']('environmentId')&&!_0x5c599b['isString'](_0x40437c['environmentId'])?'environmentId:\x20string\x20expected':null);},_0x35aaea['fromObject']=function(_0x19959f,_0x7ee9ed){if(_0x19959f instanceof _0xfc4eb2['GetDocumentDetailsMessage'])return _0x19959f;if(void 0x0===_0x7ee9ed&&(_0x7ee9ed=0x0),_0x7ee9ed>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3fe81a=new _0xfc4eb2['GetDocumentDetailsMessage']();return null!=_0x19959f['documentId']&&(_0x3fe81a['documentId']=String(_0x19959f['documentId'])),null!=_0x19959f['environmentId']&&(_0x3fe81a['environmentId']=String(_0x19959f['environmentId'])),_0x3fe81a;},_0x35aaea['toObject']=function(_0x2eb48c,_0x2333d1){_0x2333d1||(_0x2333d1={});var _0x174bef={};return _0x2333d1['defaults']&&(_0x174bef['documentId']='',_0x174bef['environmentId']=''),null!=_0x2eb48c['documentId']&&_0x2eb48c['hasOwnProperty']('documentId')&&(_0x174bef['documentId']=_0x2eb48c['documentId']),null!=_0x2eb48c['environmentId']&&_0x2eb48c['hasOwnProperty']('environmentId')&&(_0x174bef['environmentId']=_0x2eb48c['environmentId']),_0x174bef;},_0x35aaea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x35aaea['getTypeUrl']=function(_0x3d0f38){return void 0x0===_0x3d0f38&&(_0x3d0f38='type.googleapis.com'),_0x3d0f38+'/GetDocumentDetailsMessage';},_0x35aaea;}()),_0xfc4eb2['CollaborativeEditingUpdateMessage']=(function(){function _0x30ea87(_0x3aed73){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x3aed73){for(var _0x5f5154=Object['keys'](_0x3aed73),_0x16f820=0x0;_0x16f820<_0x5f5154['length'];++_0x16f820)null!=_0x3aed73[_0x5f5154[_0x16f820]]&&'__proto__'!==_0x5f5154[_0x16f820]&&(this[_0x5f5154[_0x16f820]]=_0x3aed73[_0x5f5154[_0x16f820]]);}}return _0x30ea87['prototype']['id']='',_0x30ea87['prototype']['baseVersion']=0x0,_0x30ea87['prototype']['buffers']=_0x5c599b['emptyArray'],_0x30ea87['prototype']['types']=_0x5c599b['emptyArray'],_0x30ea87['prototype']['metadata']=_0x5c599b['emptyArray'],_0x30ea87['prototype']['lastOperationId']='',_0x30ea87['create']=function(_0x191e60){return new _0x30ea87(_0x191e60);},_0x30ea87['encode']=function(_0x17f25a,_0x40273b){if(_0x40273b||(_0x40273b=_0xcae49f['create']()),null!=_0x17f25a['id']&&Object['hasOwnProperty']['call'](_0x17f25a,'id')&&_0x40273b['uint32'](0xa)['string'](_0x17f25a['id']),null!=_0x17f25a['baseVersion']&&Object['hasOwnProperty']['call'](_0x17f25a,'baseVersion')&&_0x40273b['uint32'](0x10)['uint32'](_0x17f25a['baseVersion']),null!=_0x17f25a['buffers']&&_0x17f25a['buffers']['length']){for(var _0x335ef9=0x0;_0x335ef9<_0x17f25a['buffers']['length'];++_0x335ef9)_0x40273b['uint32'](0x1a)['bytes'](_0x17f25a['buffers'][_0x335ef9]);}if(null!=_0x17f25a['types']&&_0x17f25a['types']['length']){for(_0x40273b['uint32'](0x22)['fork'](),_0x335ef9=0x0;_0x335ef9<_0x17f25a['types']['length'];++_0x335ef9)_0x40273b['uint32'](_0x17f25a['types'][_0x335ef9]);_0x40273b['ldelim']();}if(null!=_0x17f25a['metadata']&&_0x17f25a['metadata']['length']){for(_0x335ef9=0x0;_0x335ef9<_0x17f25a['metadata']['length'];++_0x335ef9)_0xfc4eb2['OperationMetadataDescriptor']['encode'](_0x17f25a['metadata'][_0x335ef9],_0x40273b['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x17f25a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x17f25a,'lastOperationId')&&_0x40273b['uint32'](0x3a)['string'](_0x17f25a['lastOperationId']),_0x40273b;},_0x30ea87['encodeDelimited']=function(_0x119172,_0x42e70d){return this['encode'](_0x119172,_0x42e70d)['ldelim']();},_0x30ea87['decode']=function(_0x3ccf92,_0x274d65,_0x2d8186,_0x2fa8da){if(_0x3ccf92 instanceof _0x290291||(_0x3ccf92=_0x290291['create'](_0x3ccf92)),void 0x0===_0x2fa8da&&(_0x2fa8da=0x0),_0x2fa8da>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x115bb7=void 0x0===_0x274d65?_0x3ccf92['len']:_0x3ccf92['pos']+_0x274d65,_0x7c4131=new _0xfc4eb2['CollaborativeEditingUpdateMessage']();_0x3ccf92['pos']<_0x115bb7;){var _0x4929bc=_0x3ccf92['uint32']();if(_0x4929bc===_0x2d8186)break;switch(_0x4929bc>>>0x3){case 0x1:_0x7c4131['id']=_0x3ccf92['string']();break;case 0x2:_0x7c4131['baseVersion']=_0x3ccf92['uint32']();break;case 0x3:_0x7c4131['buffers']&&_0x7c4131['buffers']['length']||(_0x7c4131['buffers']=[]),_0x7c4131['buffers']['push'](_0x3ccf92['bytes']());break;case 0x4:if(_0x7c4131['types']&&_0x7c4131['types']['length']||(_0x7c4131['types']=[]),0x2==(0x7&_0x4929bc)){for(var _0x4b6ed2=_0x3ccf92['uint32']()+_0x3ccf92['pos'];_0x3ccf92['pos']<_0x4b6ed2;)_0x7c4131['types']['push'](_0x3ccf92['uint32']());}else _0x7c4131['types']['push'](_0x3ccf92['uint32']());break;case 0x6:_0x7c4131['metadata']&&_0x7c4131['metadata']['length']||(_0x7c4131['metadata']=[]),_0x7c4131['metadata']['push'](_0xfc4eb2['OperationMetadataDescriptor']['decode'](_0x3ccf92,_0x3ccf92['uint32'](),void 0x0,_0x2fa8da+0x1));break;case 0x7:_0x7c4131['lastOperationId']=_0x3ccf92['string']();break;default:_0x3ccf92['skipType'](0x7&_0x4929bc,_0x2fa8da);}}return _0x7c4131;},_0x30ea87['decodeDelimited']=function(_0x223d77){return _0x223d77 instanceof _0x290291||(_0x223d77=new _0x290291(_0x223d77)),this['decode'](_0x223d77,_0x223d77['uint32']());},_0x30ea87['verify']=function(_0x1d5ee7,_0xdc3896){if('object'!=typeof _0x1d5ee7||null===_0x1d5ee7)return'object\x20expected';if(void 0x0===_0xdc3896&&(_0xdc3896=0x0),_0xdc3896>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1d5ee7['id']&&_0x1d5ee7['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x1d5ee7['id']))return'id:\x20string\x20expected';if(null!=_0x1d5ee7['baseVersion']&&_0x1d5ee7['hasOwnProperty']('baseVersion')&&!_0x5c599b['isInteger'](_0x1d5ee7['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x1d5ee7['buffers']&&_0x1d5ee7['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x1d5ee7['buffers']))return'buffers:\x20array\x20expected';for(var _0x2daed0=0x0;_0x2daed0<_0x1d5ee7['buffers']['length'];++_0x2daed0)if(!(_0x1d5ee7['buffers'][_0x2daed0]&&'number'==typeof _0x1d5ee7['buffers'][_0x2daed0]['length']||_0x5c599b['isString'](_0x1d5ee7['buffers'][_0x2daed0])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x1d5ee7['types']&&_0x1d5ee7['hasOwnProperty']('types')){if(!Array['isArray'](_0x1d5ee7['types']))return'types:\x20array\x20expected';for(_0x2daed0=0x0;_0x2daed0<_0x1d5ee7['types']['length'];++_0x2daed0)if(!_0x5c599b['isInteger'](_0x1d5ee7['types'][_0x2daed0]))return'types:\x20integer[]\x20expected';}if(null!=_0x1d5ee7['metadata']&&_0x1d5ee7['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x1d5ee7['metadata']))return'metadata:\x20array\x20expected';for(_0x2daed0=0x0;_0x2daed0<_0x1d5ee7['metadata']['length'];++_0x2daed0){var _0x1df888=_0xfc4eb2['OperationMetadataDescriptor']['verify'](_0x1d5ee7['metadata'][_0x2daed0],_0xdc3896+0x1);if(_0x1df888)return'metadata.'+_0x1df888;}}return null!=_0x1d5ee7['lastOperationId']&&_0x1d5ee7['hasOwnProperty']('lastOperationId')&&!_0x5c599b['isString'](_0x1d5ee7['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x30ea87['fromObject']=function(_0x7901e0,_0xe58f99){if(_0x7901e0 instanceof _0xfc4eb2['CollaborativeEditingUpdateMessage'])return _0x7901e0;if(void 0x0===_0xe58f99&&(_0xe58f99=0x0),_0xe58f99>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x358b7c=new _0xfc4eb2['CollaborativeEditingUpdateMessage']();if(null!=_0x7901e0['id']&&(_0x358b7c['id']=String(_0x7901e0['id'])),null!=_0x7901e0['baseVersion']&&(_0x358b7c['baseVersion']=_0x7901e0['baseVersion']>>>0x0),_0x7901e0['buffers']){if(!Array['isArray'](_0x7901e0['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x358b7c['buffers']=[];for(var _0x551b40=0x0;_0x551b40<_0x7901e0['buffers']['length'];++_0x551b40)'string'==typeof _0x7901e0['buffers'][_0x551b40]?_0x5c599b['base64']['decode'](_0x7901e0['buffers'][_0x551b40],_0x358b7c['buffers'][_0x551b40]=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x7901e0['buffers'][_0x551b40])),0x0):_0x7901e0['buffers'][_0x551b40]['length']>=0x0&&(_0x358b7c['buffers'][_0x551b40]=_0x7901e0['buffers'][_0x551b40]);}if(_0x7901e0['types']){if(!Array['isArray'](_0x7901e0['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x358b7c['types']=[],_0x551b40=0x0;_0x551b40<_0x7901e0['types']['length'];++_0x551b40)_0x358b7c['types'][_0x551b40]=_0x7901e0['types'][_0x551b40]>>>0x0;}if(_0x7901e0['metadata']){if(!Array['isArray'](_0x7901e0['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x358b7c['metadata']=[],_0x551b40=0x0;_0x551b40<_0x7901e0['metadata']['length'];++_0x551b40){if('object'!=typeof _0x7901e0['metadata'][_0x551b40])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x358b7c['metadata'][_0x551b40]=_0xfc4eb2['OperationMetadataDescriptor']['fromObject'](_0x7901e0['metadata'][_0x551b40],_0xe58f99+0x1);}}return null!=_0x7901e0['lastOperationId']&&(_0x358b7c['lastOperationId']=String(_0x7901e0['lastOperationId'])),_0x358b7c;},_0x30ea87['toObject']=function(_0x375e5f,_0x2aaa89){_0x2aaa89||(_0x2aaa89={});var _0x5b8446={};if((_0x2aaa89['arrays']||_0x2aaa89['defaults'])&&(_0x5b8446['buffers']=[],_0x5b8446['types']=[],_0x5b8446['metadata']=[]),_0x2aaa89['defaults']&&(_0x5b8446['id']='',_0x5b8446['baseVersion']=0x0,_0x5b8446['lastOperationId']=''),null!=_0x375e5f['id']&&_0x375e5f['hasOwnProperty']('id')&&(_0x5b8446['id']=_0x375e5f['id']),null!=_0x375e5f['baseVersion']&&_0x375e5f['hasOwnProperty']('baseVersion')&&(_0x5b8446['baseVersion']=_0x375e5f['baseVersion']),_0x375e5f['buffers']&&_0x375e5f['buffers']['length']){_0x5b8446['buffers']=[];for(var _0x188670=0x0;_0x188670<_0x375e5f['buffers']['length'];++_0x188670)_0x5b8446['buffers'][_0x188670]=_0x2aaa89['bytes']===String?_0x5c599b['base64']['encode'](_0x375e5f['buffers'][_0x188670],0x0,_0x375e5f['buffers'][_0x188670]['length']):_0x2aaa89['bytes']===Array?Array['prototype']['slice']['call'](_0x375e5f['buffers'][_0x188670]):_0x375e5f['buffers'][_0x188670];}if(_0x375e5f['types']&&_0x375e5f['types']['length']){for(_0x5b8446['types']=[],_0x188670=0x0;_0x188670<_0x375e5f['types']['length'];++_0x188670)_0x5b8446['types'][_0x188670]=_0x375e5f['types'][_0x188670];}if(_0x375e5f['metadata']&&_0x375e5f['metadata']['length']){for(_0x5b8446['metadata']=[],_0x188670=0x0;_0x188670<_0x375e5f['metadata']['length'];++_0x188670)_0x5b8446['metadata'][_0x188670]=_0xfc4eb2['OperationMetadataDescriptor']['toObject'](_0x375e5f['metadata'][_0x188670],_0x2aaa89);}return null!=_0x375e5f['lastOperationId']&&_0x375e5f['hasOwnProperty']('lastOperationId')&&(_0x5b8446['lastOperationId']=_0x375e5f['lastOperationId']),_0x5b8446;},_0x30ea87['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x30ea87['getTypeUrl']=function(_0x4a9757){return void 0x0===_0x4a9757&&(_0x4a9757='type.googleapis.com'),_0x4a9757+'/CollaborativeEditingUpdateMessage';},_0x30ea87;}()),_0xfc4eb2['CollaborativeEditingReconnectMessage']=(function(){function _0x44b3aa(_0x43d46c){if(_0x43d46c){for(var _0x5ca338=Object['keys'](_0x43d46c),_0x3b98ac=0x0;_0x3b98ac<_0x5ca338['length'];++_0x3b98ac)null!=_0x43d46c[_0x5ca338[_0x3b98ac]]&&'__proto__'!==_0x5ca338[_0x3b98ac]&&(this[_0x5ca338[_0x3b98ac]]=_0x43d46c[_0x5ca338[_0x3b98ac]]);}}return _0x44b3aa['prototype']['id']='',_0x44b3aa['prototype']['bundleVersion']='',_0x44b3aa['prototype']['lastKnowVersion']=0x0,_0x44b3aa['create']=function(_0x588005){return new _0x44b3aa(_0x588005);},_0x44b3aa['encode']=function(_0xa44060,_0x3c54ad){return _0x3c54ad||(_0x3c54ad=_0xcae49f['create']()),null!=_0xa44060['id']&&Object['hasOwnProperty']['call'](_0xa44060,'id')&&_0x3c54ad['uint32'](0xa)['string'](_0xa44060['id']),null!=_0xa44060['bundleVersion']&&Object['hasOwnProperty']['call'](_0xa44060,'bundleVersion')&&_0x3c54ad['uint32'](0x12)['string'](_0xa44060['bundleVersion']),null!=_0xa44060['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0xa44060,'lastKnowVersion')&&_0x3c54ad['uint32'](0x18)['uint32'](_0xa44060['lastKnowVersion']),_0x3c54ad;},_0x44b3aa['encodeDelimited']=function(_0x33b0a2,_0x3e9722){return this['encode'](_0x33b0a2,_0x3e9722)['ldelim']();},_0x44b3aa['decode']=function(_0x661fd8,_0x346bee,_0x35c798,_0x2bbec1){if(_0x661fd8 instanceof _0x290291||(_0x661fd8=_0x290291['create'](_0x661fd8)),void 0x0===_0x2bbec1&&(_0x2bbec1=0x0),_0x2bbec1>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x614efb=void 0x0===_0x346bee?_0x661fd8['len']:_0x661fd8['pos']+_0x346bee,_0x207bf5=new _0xfc4eb2['CollaborativeEditingReconnectMessage']();_0x661fd8['pos']<_0x614efb;){var _0x1075d8=_0x661fd8['uint32']();if(_0x1075d8===_0x35c798)break;switch(_0x1075d8>>>0x3){case 0x1:_0x207bf5['id']=_0x661fd8['string']();break;case 0x2:_0x207bf5['bundleVersion']=_0x661fd8['string']();break;case 0x3:_0x207bf5['lastKnowVersion']=_0x661fd8['uint32']();break;default:_0x661fd8['skipType'](0x7&_0x1075d8,_0x2bbec1);}}return _0x207bf5;},_0x44b3aa['decodeDelimited']=function(_0x5eb10f){return _0x5eb10f instanceof _0x290291||(_0x5eb10f=new _0x290291(_0x5eb10f)),this['decode'](_0x5eb10f,_0x5eb10f['uint32']());},_0x44b3aa['verify']=function(_0x282db6,_0x2da7fb){return'object'!=typeof _0x282db6||null===_0x282db6?'object\x20expected':(void 0x0===_0x2da7fb&&(_0x2da7fb=0x0),_0x2da7fb>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x282db6['id']&&_0x282db6['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x282db6['id'])?'id:\x20string\x20expected':null!=_0x282db6['bundleVersion']&&_0x282db6['hasOwnProperty']('bundleVersion')&&!_0x5c599b['isString'](_0x282db6['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x282db6['lastKnowVersion']&&_0x282db6['hasOwnProperty']('lastKnowVersion')&&!_0x5c599b['isInteger'](_0x282db6['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x44b3aa['fromObject']=function(_0x298a65,_0x353d1f){if(_0x298a65 instanceof _0xfc4eb2['CollaborativeEditingReconnectMessage'])return _0x298a65;if(void 0x0===_0x353d1f&&(_0x353d1f=0x0),_0x353d1f>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21212f=new _0xfc4eb2['CollaborativeEditingReconnectMessage']();return null!=_0x298a65['id']&&(_0x21212f['id']=String(_0x298a65['id'])),null!=_0x298a65['bundleVersion']&&(_0x21212f['bundleVersion']=String(_0x298a65['bundleVersion'])),null!=_0x298a65['lastKnowVersion']&&(_0x21212f['lastKnowVersion']=_0x298a65['lastKnowVersion']>>>0x0),_0x21212f;},_0x44b3aa['toObject']=function(_0x2f7268,_0x5d261d){_0x5d261d||(_0x5d261d={});var _0x291bae={};return _0x5d261d['defaults']&&(_0x291bae['id']='',_0x291bae['bundleVersion']='',_0x291bae['lastKnowVersion']=0x0),null!=_0x2f7268['id']&&_0x2f7268['hasOwnProperty']('id')&&(_0x291bae['id']=_0x2f7268['id']),null!=_0x2f7268['bundleVersion']&&_0x2f7268['hasOwnProperty']('bundleVersion')&&(_0x291bae['bundleVersion']=_0x2f7268['bundleVersion']),null!=_0x2f7268['lastKnowVersion']&&_0x2f7268['hasOwnProperty']('lastKnowVersion')&&(_0x291bae['lastKnowVersion']=_0x2f7268['lastKnowVersion']),_0x291bae;},_0x44b3aa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x44b3aa['getTypeUrl']=function(_0x3730e9){return void 0x0===_0x3730e9&&(_0x3730e9='type.googleapis.com'),_0x3730e9+'/CollaborativeEditingReconnectMessage';},_0x44b3aa;}()),_0xfc4eb2['CollaborativeEditingConnectMessage']=(function(){function _0x3c15c3(_0x4a7395){if(this['buffers']=[],this['types']=[],_0x4a7395){for(var _0x541e2e=Object['keys'](_0x4a7395),_0x47a83d=0x0;_0x47a83d<_0x541e2e['length'];++_0x47a83d)null!=_0x4a7395[_0x541e2e[_0x47a83d]]&&'__proto__'!==_0x541e2e[_0x47a83d]&&(this[_0x541e2e[_0x47a83d]]=_0x4a7395[_0x541e2e[_0x47a83d]]);}}return _0x3c15c3['prototype']['id']='',_0x3c15c3['prototype']['bundleVersion']='',_0x3c15c3['prototype']['buffers']=_0x5c599b['emptyArray'],_0x3c15c3['prototype']['types']=_0x5c599b['emptyArray'],_0x3c15c3['prototype']['lastOperationId']='',_0x3c15c3['create']=function(_0x63b2a9){return new _0x3c15c3(_0x63b2a9);},_0x3c15c3['encode']=function(_0x185d63,_0x1dc6dd){if(_0x1dc6dd||(_0x1dc6dd=_0xcae49f['create']()),null!=_0x185d63['id']&&Object['hasOwnProperty']['call'](_0x185d63,'id')&&_0x1dc6dd['uint32'](0xa)['string'](_0x185d63['id']),null!=_0x185d63['bundleVersion']&&Object['hasOwnProperty']['call'](_0x185d63,'bundleVersion')&&_0x1dc6dd['uint32'](0x12)['string'](_0x185d63['bundleVersion']),null!=_0x185d63['buffers']&&_0x185d63['buffers']['length']){for(var _0x1ff40c=0x0;_0x1ff40c<_0x185d63['buffers']['length'];++_0x1ff40c)_0x1dc6dd['uint32'](0x1a)['bytes'](_0x185d63['buffers'][_0x1ff40c]);}if(null!=_0x185d63['types']&&_0x185d63['types']['length']){for(_0x1dc6dd['uint32'](0x22)['fork'](),_0x1ff40c=0x0;_0x1ff40c<_0x185d63['types']['length'];++_0x1ff40c)_0x1dc6dd['uint32'](_0x185d63['types'][_0x1ff40c]);_0x1dc6dd['ldelim']();}return null!=_0x185d63['lastOperationId']&&Object['hasOwnProperty']['call'](_0x185d63,'lastOperationId')&&_0x1dc6dd['uint32'](0x2a)['string'](_0x185d63['lastOperationId']),_0x1dc6dd;},_0x3c15c3['encodeDelimited']=function(_0x3fb2c1,_0x48511a){return this['encode'](_0x3fb2c1,_0x48511a)['ldelim']();},_0x3c15c3['decode']=function(_0x1b99aa,_0xc2902a,_0x1983a1,_0x5e1a4d){if(_0x1b99aa instanceof _0x290291||(_0x1b99aa=_0x290291['create'](_0x1b99aa)),void 0x0===_0x5e1a4d&&(_0x5e1a4d=0x0),_0x5e1a4d>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4fdb7c=void 0x0===_0xc2902a?_0x1b99aa['len']:_0x1b99aa['pos']+_0xc2902a,_0x8cba33=new _0xfc4eb2['CollaborativeEditingConnectMessage']();_0x1b99aa['pos']<_0x4fdb7c;){var _0x2e2d00=_0x1b99aa['uint32']();if(_0x2e2d00===_0x1983a1)break;switch(_0x2e2d00>>>0x3){case 0x1:_0x8cba33['id']=_0x1b99aa['string']();break;case 0x2:_0x8cba33['bundleVersion']=_0x1b99aa['string']();break;case 0x3:_0x8cba33['buffers']&&_0x8cba33['buffers']['length']||(_0x8cba33['buffers']=[]),_0x8cba33['buffers']['push'](_0x1b99aa['bytes']());break;case 0x4:if(_0x8cba33['types']&&_0x8cba33['types']['length']||(_0x8cba33['types']=[]),0x2==(0x7&_0x2e2d00)){for(var _0x2ef963=_0x1b99aa['uint32']()+_0x1b99aa['pos'];_0x1b99aa['pos']<_0x2ef963;)_0x8cba33['types']['push'](_0x1b99aa['uint32']());}else _0x8cba33['types']['push'](_0x1b99aa['uint32']());break;case 0x5:_0x8cba33['lastOperationId']=_0x1b99aa['string']();break;default:_0x1b99aa['skipType'](0x7&_0x2e2d00,_0x5e1a4d);}}return _0x8cba33;},_0x3c15c3['decodeDelimited']=function(_0x3f5447){return _0x3f5447 instanceof _0x290291||(_0x3f5447=new _0x290291(_0x3f5447)),this['decode'](_0x3f5447,_0x3f5447['uint32']());},_0x3c15c3['verify']=function(_0x49a190,_0x3439a4){if('object'!=typeof _0x49a190||null===_0x49a190)return'object\x20expected';if(void 0x0===_0x3439a4&&(_0x3439a4=0x0),_0x3439a4>_0x5c599b['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x49a190['id']&&_0x49a190['hasOwnProperty']('id')&&!_0x5c599b['isString'](_0x49a190['id']))return'id:\x20string\x20expected';if(null!=_0x49a190['bundleVersion']&&_0x49a190['hasOwnProperty']('bundleVersion')&&!_0x5c599b['isString'](_0x49a190['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x49a190['buffers']&&_0x49a190['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x49a190['buffers']))return'buffers:\x20array\x20expected';for(var _0x23b169=0x0;_0x23b169<_0x49a190['buffers']['length'];++_0x23b169)if(!(_0x49a190['buffers'][_0x23b169]&&'number'==typeof _0x49a190['buffers'][_0x23b169]['length']||_0x5c599b['isString'](_0x49a190['buffers'][_0x23b169])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x49a190['types']&&_0x49a190['hasOwnProperty']('types')){if(!Array['isArray'](_0x49a190['types']))return'types:\x20array\x20expected';for(_0x23b169=0x0;_0x23b169<_0x49a190['types']['length'];++_0x23b169)if(!_0x5c599b['isInteger'](_0x49a190['types'][_0x23b169]))return'types:\x20integer[]\x20expected';}return null!=_0x49a190['lastOperationId']&&_0x49a190['hasOwnProperty']('lastOperationId')&&!_0x5c599b['isString'](_0x49a190['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x3c15c3['fromObject']=function(_0x5d9c93,_0x252214){if(_0x5d9c93 instanceof _0xfc4eb2['CollaborativeEditingConnectMessage'])return _0x5d9c93;if(void 0x0===_0x252214&&(_0x252214=0x0),_0x252214>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39f7fe=new _0xfc4eb2['CollaborativeEditingConnectMessage']();if(null!=_0x5d9c93['id']&&(_0x39f7fe['id']=String(_0x5d9c93['id'])),null!=_0x5d9c93['bundleVersion']&&(_0x39f7fe['bundleVersion']=String(_0x5d9c93['bundleVersion'])),_0x5d9c93['buffers']){if(!Array['isArray'](_0x5d9c93['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x39f7fe['buffers']=[];for(var _0x478fd4=0x0;_0x478fd4<_0x5d9c93['buffers']['length'];++_0x478fd4)'string'==typeof _0x5d9c93['buffers'][_0x478fd4]?_0x5c599b['base64']['decode'](_0x5d9c93['buffers'][_0x478fd4],_0x39f7fe['buffers'][_0x478fd4]=_0x5c599b['newBuffer'](_0x5c599b['base64']['length'](_0x5d9c93['buffers'][_0x478fd4])),0x0):_0x5d9c93['buffers'][_0x478fd4]['length']>=0x0&&(_0x39f7fe['buffers'][_0x478fd4]=_0x5d9c93['buffers'][_0x478fd4]);}if(_0x5d9c93['types']){if(!Array['isArray'](_0x5d9c93['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x39f7fe['types']=[],_0x478fd4=0x0;_0x478fd4<_0x5d9c93['types']['length'];++_0x478fd4)_0x39f7fe['types'][_0x478fd4]=_0x5d9c93['types'][_0x478fd4]>>>0x0;}return null!=_0x5d9c93['lastOperationId']&&(_0x39f7fe['lastOperationId']=String(_0x5d9c93['lastOperationId'])),_0x39f7fe;},_0x3c15c3['toObject']=function(_0x30182f,_0x38097d){_0x38097d||(_0x38097d={});var _0x2537c4={};if((_0x38097d['arrays']||_0x38097d['defaults'])&&(_0x2537c4['buffers']=[],_0x2537c4['types']=[]),_0x38097d['defaults']&&(_0x2537c4['id']='',_0x2537c4['bundleVersion']='',_0x2537c4['lastOperationId']=''),null!=_0x30182f['id']&&_0x30182f['hasOwnProperty']('id')&&(_0x2537c4['id']=_0x30182f['id']),null!=_0x30182f['bundleVersion']&&_0x30182f['hasOwnProperty']('bundleVersion')&&(_0x2537c4['bundleVersion']=_0x30182f['bundleVersion']),_0x30182f['buffers']&&_0x30182f['buffers']['length']){_0x2537c4['buffers']=[];for(var _0x462ab1=0x0;_0x462ab1<_0x30182f['buffers']['length'];++_0x462ab1)_0x2537c4['buffers'][_0x462ab1]=_0x38097d['bytes']===String?_0x5c599b['base64']['encode'](_0x30182f['buffers'][_0x462ab1],0x0,_0x30182f['buffers'][_0x462ab1]['length']):_0x38097d['bytes']===Array?Array['prototype']['slice']['call'](_0x30182f['buffers'][_0x462ab1]):_0x30182f['buffers'][_0x462ab1];}if(_0x30182f['types']&&_0x30182f['types']['length']){for(_0x2537c4['types']=[],_0x462ab1=0x0;_0x462ab1<_0x30182f['types']['length'];++_0x462ab1)_0x2537c4['types'][_0x462ab1]=_0x30182f['types'][_0x462ab1];}return null!=_0x30182f['lastOperationId']&&_0x30182f['hasOwnProperty']('lastOperationId')&&(_0x2537c4['lastOperationId']=_0x30182f['lastOperationId']),_0x2537c4;},_0x3c15c3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3c15c3['getTypeUrl']=function(_0x451d7a){return void 0x0===_0x451d7a&&(_0x451d7a='type.googleapis.com'),_0x451d7a+'/CollaborativeEditingConnectMessage';},_0x3c15c3;}()),_0xfc4eb2['OperationMetadataDescriptor']=(function(){function _0x1539f6(_0x506755){if(_0x506755){for(var _0x2e2a75=Object['keys'](_0x506755),_0x4da5cd=0x0;_0x4da5cd<_0x2e2a75['length'];++_0x4da5cd)null!=_0x506755[_0x2e2a75[_0x4da5cd]]&&'__proto__'!==_0x2e2a75[_0x4da5cd]&&(this[_0x2e2a75[_0x4da5cd]]=_0x506755[_0x2e2a75[_0x4da5cd]]);}}return _0x1539f6['prototype']['userId']='',_0x1539f6['prototype']['type']='',_0x1539f6['prototype']['createdAt']='',_0x1539f6['create']=function(_0x2d8ce7){return new _0x1539f6(_0x2d8ce7);},_0x1539f6['encode']=function(_0x4f23cb,_0x47aef3){return _0x47aef3||(_0x47aef3=_0xcae49f['create']()),null!=_0x4f23cb['userId']&&Object['hasOwnProperty']['call'](_0x4f23cb,'userId')&&_0x47aef3['uint32'](0xa)['string'](_0x4f23cb['userId']),null!=_0x4f23cb['type']&&Object['hasOwnProperty']['call'](_0x4f23cb,'type')&&_0x47aef3['uint32'](0x12)['string'](_0x4f23cb['type']),null!=_0x4f23cb['createdAt']&&Object['hasOwnProperty']['call'](_0x4f23cb,'createdAt')&&_0x47aef3['uint32'](0x1a)['string'](_0x4f23cb['createdAt']),_0x47aef3;},_0x1539f6['encodeDelimited']=function(_0x17eaa0,_0x913d38){return this['encode'](_0x17eaa0,_0x913d38)['ldelim']();},_0x1539f6['decode']=function(_0x356f71,_0x5d6b09,_0x4aae6f,_0x584bdd){if(_0x356f71 instanceof _0x290291||(_0x356f71=_0x290291['create'](_0x356f71)),void 0x0===_0x584bdd&&(_0x584bdd=0x0),_0x584bdd>_0x290291['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x563d8a=void 0x0===_0x5d6b09?_0x356f71['len']:_0x356f71['pos']+_0x5d6b09,_0x34a7f3=new _0xfc4eb2['OperationMetadataDescriptor']();_0x356f71['pos']<_0x563d8a;){var _0x21fd99=_0x356f71['uint32']();if(_0x21fd99===_0x4aae6f)break;switch(_0x21fd99>>>0x3){case 0x1:_0x34a7f3['userId']=_0x356f71['string']();break;case 0x2:_0x34a7f3['type']=_0x356f71['string']();break;case 0x3:_0x34a7f3['createdAt']=_0x356f71['string']();break;default:_0x356f71['skipType'](0x7&_0x21fd99,_0x584bdd);}}return _0x34a7f3;},_0x1539f6['decodeDelimited']=function(_0x24ff75){return _0x24ff75 instanceof _0x290291||(_0x24ff75=new _0x290291(_0x24ff75)),this['decode'](_0x24ff75,_0x24ff75['uint32']());},_0x1539f6['verify']=function(_0x1b891a,_0x2815bc){return'object'!=typeof _0x1b891a||null===_0x1b891a?'object\x20expected':(void 0x0===_0x2815bc&&(_0x2815bc=0x0),_0x2815bc>_0x5c599b['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1b891a['userId']&&_0x1b891a['hasOwnProperty']('userId')&&!_0x5c599b['isString'](_0x1b891a['userId'])?'userId:\x20string\x20expected':null!=_0x1b891a['type']&&_0x1b891a['hasOwnProperty']('type')&&!_0x5c599b['isString'](_0x1b891a['type'])?'type:\x20string\x20expected':null!=_0x1b891a['createdAt']&&_0x1b891a['hasOwnProperty']('createdAt')&&!_0x5c599b['isString'](_0x1b891a['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x1539f6['fromObject']=function(_0x3c88c7,_0x54cef1){if(_0x3c88c7 instanceof _0xfc4eb2['OperationMetadataDescriptor'])return _0x3c88c7;if(void 0x0===_0x54cef1&&(_0x54cef1=0x0),_0x54cef1>_0x5c599b['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x161772=new _0xfc4eb2['OperationMetadataDescriptor']();return null!=_0x3c88c7['userId']&&(_0x161772['userId']=String(_0x3c88c7['userId'])),null!=_0x3c88c7['type']&&(_0x161772['type']=String(_0x3c88c7['type'])),null!=_0x3c88c7['createdAt']&&(_0x161772['createdAt']=String(_0x3c88c7['createdAt'])),_0x161772;},_0x1539f6['toObject']=function(_0x2eb00c,_0x29e64d){_0x29e64d||(_0x29e64d={});var _0x28dcc7={};return _0x29e64d['defaults']&&(_0x28dcc7['userId']='',_0x28dcc7['type']='',_0x28dcc7['createdAt']=''),null!=_0x2eb00c['userId']&&_0x2eb00c['hasOwnProperty']('userId')&&(_0x28dcc7['userId']=_0x2eb00c['userId']),null!=_0x2eb00c['type']&&_0x2eb00c['hasOwnProperty']('type')&&(_0x28dcc7['type']=_0x2eb00c['type']),null!=_0x2eb00c['createdAt']&&_0x2eb00c['hasOwnProperty']('createdAt')&&(_0x28dcc7['createdAt']=_0x2eb00c['createdAt']),_0x28dcc7;},_0x1539f6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x1539f6['getTypeUrl']=function(_0xa196d2){return void 0x0===_0xa196d2&&(_0xa196d2='type.googleapis.com'),_0xa196d2+'/OperationMetadataDescriptor';},_0x1539f6;}()),_0xfc4eb2;})());class MessagesCompressor{static['decode'](_0x30bc59,_0x2e615e){const _0x10327a=zb(_0x2e615e)['decode']('undefined'==typeof window?_0x30bc59:new Uint8Array(_0x30bc59));return _0x2e615e['fromJSON']({..._0x10327a});}static['encode'](_0x528b58){const _0x2722c0=zb(_0x528b58['constructor']),_0x1a4195=_0x528b58['toJSON'](),_0x3cf82b=_0x2722c0['verify'](_0x1a4195);if(_0x3cf82b)throw Error(_0x3cf82b);return _0x2722c0['encode'](_0x2722c0['create'](_0x1a4195))['finish']();}}function zb(_0xafb8ed){return Wb[_0xafb8ed['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(_0x516be3){super(),this['ids']=_0x516be3;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x3b2a8a){return new GetManyUsersMessage(_0x3b2a8a['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x28152b){super(),this['users']=_0x28152b;}['toJSON'](){return{'users':this['users']['map'](Yb)};}static['fromJSON'](_0xa4b374){return new GetManyUsersResponse(_0xa4b374['users']['map'](Kb));}}function Yb(_0x45c6ac){return{'attributes':Object['keys'](_0x45c6ac)['map'](_0x4dd57e=>({'key':_0x4dd57e,'value':JSON['stringify'](_0x45c6ac[_0x4dd57e])}))};}function Kb(_0x5e0a11){return _0x5e0a11['attributes']['reduce']((_0x1386e3,_0x2344a1)=>(_0x1386e3[_0x2344a1['key']]=_0x2344a1['value']?JSON['parse'](_0x2344a1['value']):null,_0x1386e3),{});}class User{static ['_SERVICE']=0x2;constructor(_0x374f9c={}){this['_attributes']=new Map();for(const _0x1a326a of Object['keys'](_0x374f9c))'id'!==_0x1a326a?(this['_attributes']['set'](_0x1a326a,_0x374f9c[_0x1a326a]),Object['defineProperty'](this,_0x1a326a,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x1a326a)})):this['id']=_0x374f9c['id'];}static['fromData'](_0x57f965){return new User(_0x57f965);}static async['get'](_0xc519f2,_0x589885){const _0x3360ac=new GetUserMessage(_0x589885);try{const _0x47b398=await _0xc519f2['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x3360ac)),_0x4f0f24=MessagesCompressor['decode'](_0x47b398,GetUserResponse);return new User(_0x4f0f24['attributes']);}catch{return new User({'id':_0x589885});}}static async['getMany'](_0x130f27,_0x2cf778){const _0x2f48bf=new GetManyUsersMessage(_0x2cf778);try{const _0x228a12=await _0x130f27['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x2f48bf));return MessagesCompressor['decode'](_0x228a12,GetManyUsersResponse)['users']['map'](_0x6e90dd=>new User(_0x6e90dd));}catch{return _0x2cf778['map'](_0xa7b7ab=>new User({'id':_0xa7b7ab}));}}}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(_0x43500d,_0x1578e8,_0x470160){super(),this['type']=_0x43500d,this['socketId']=_0x1578e8,this['data']=_0x470160;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x200b70){return new ChannelMessage(_0x200b70['type'],_0x200b70['socketId'],_0x200b70['data']);}}class Channel extends/* #__PURE__ -- @preserve */
_0x14630b(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x56b270,_0x11d746,_0x309271){super(),this['_channelName']=_0x56b270,this['_wsGateway']=_0x11d746,this['_socket']=_0x309271,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x5479ce,_0x2e118d=!0x1){let _0x5c65cb='';return _0x2e118d&&(_0x5c65cb+='all:'),_0x5c65cb+='event',_0x5479ce&&(_0x5c65cb+=':'+_0x5479ce),_0x5c65cb;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0xa8c521=>{const _0xdc7da2=MessagesCompressor['decode'](_0xa8c521,ChannelMessage);this['fire'](this['getEventName'](_0xdc7da2['type'],!0x0),_0xdc7da2['data'],_0xdc7da2['socketId']),_0xdc7da2['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0xdc7da2['type']),_0xdc7da2['data'],_0xdc7da2['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x2eb505,_0x4f75cb,_0xe436c5=null,_0x3ed81c={}){super('cloud-services-internal-error:\x20'+_0x2eb505),this['context']=_0x4f75cb,this['code']=_0xe436c5,this['data']=_0x3ed81c,this['name']='CKEditorError';}static['fromPublicError'](_0x7b98cd){return new CKEditorCloudServicesError(function(_0x2179f8){let _0x4cdc04='cloud-services-error:\x20'+_0x2179f8['message'];return _0x2179f8['data']&&(_0x4cdc04+='\x0aError\x20data:\x20'+JSON['stringify'](_0x2179f8['data'])),_0x2179f8['explanation']&&(_0x4cdc04+='\x0aExplanation:\x20'+_0x2179f8['explanation']),_0x2179f8['action']&&(_0x4cdc04+='\x0aAction:\x20'+_0x2179f8['action']),_0x2179f8['traceId']&&(_0x4cdc04+='\x0aTraceId:\x20'+_0x2179f8['traceId']),_0x2179f8['code']&&(_0x4cdc04+='\x0aCode:\x20'+_0x2179f8['code']),_0x4cdc04;}(_0x7b98cd),_0x7b98cd);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x15b594,_0x5dfe2d){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x15b594,this['code']=_0x5dfe2d['code'],this['traceId']=_0x5dfe2d['traceId'],this['data']=_0x5dfe2d['data'];}static['fromPublicError'](_0x17e1a9){return new CKEditorCloudServicesServerError(function(_0x2891d2){let _0xd08825='cloud-services-server-error:\x20'+_0x2891d2['message'];return _0x2891d2['explanation']&&(_0xd08825+='\x0aExplanation:\x20'+_0x2891d2['explanation']),_0x2891d2['action']&&(_0xd08825+='\x0aAction:\x20'+_0x2891d2['action']),_0x2891d2['traceId']&&(_0xd08825+='\x0aTraceId:\x20'+_0x2891d2['traceId']),_0x2891d2['code']&&(_0xd08825+='\x0aCode:\x20'+_0x2891d2['code']),_0xd08825;}(_0x17e1a9),_0x17e1a9);}}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(_0x4deb0f,_0x39debe=[],_0x2216b1=[]){super(),this['flags']=_0x4deb0f,this['rooms']=_0x39debe,this['except']=_0x2216b1;}['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'](_0x59637a){return new PacketOptionsMessage(_0x59637a['flags']&&JSON['parse'](_0x59637a['flags']),_0x59637a['rooms'],_0x59637a['except']);}}const Jb=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x4a4598){let _0x25075c=0x0;for(let _0x2e6b02=0x0;_0x2e6b02<_0x4a4598['length'];_0x2e6b02++)_0x25075c+=_0x4a4598[_0x2e6b02]*Math['pow'](0xa,_0x4a4598['length']-_0x2e6b02-0x1);return _0x25075c;}static['getType'](_0x30fbe6){if(ParserUtils['isBuffer'](_0x30fbe6))return 0x1;const _0x18801c=typeof _0x30fbe6;return'string'===_0x18801c?0x2:'number'===_0x18801c?0x3:0x4;}static['isBuffer'](_0x155c3b){return Jb&&Buffer['isBuffer'](_0x155c3b)||_0x155c3b instanceof ArrayBuffer||_0x155c3b instanceof Uint8Array||this['_isBufferView'](_0x155c3b);}static['_isBufferView'](_0x508506){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x508506):_0x508506['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{['data'];['data1'];static['create'](_0x4e8e3f,_0x9641b5){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(_0x239b53,_0x2eaf10){super(),this['data']=_0x239b53,this['data1']=_0x2eaf10;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4bfa3e){return new NumberBytesPacketDataMessage(_0x4bfa3e['data'],_0x4bfa3e['data1']);}static['create'](_0x36a30e,_0x5067d6){return new NumberBytesPacketDataMessage(_0x36a30e,_0x5067d6);}}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(_0x6ce5f3,_0x362b02){super(),this['data']=_0x6ce5f3,this['data1']=_0x362b02;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x466475){return new StringBytesPacketDataMessage(_0x466475['data'],_0x466475['data1']);}static['create'](_0x5cb087,_0x31975b){return new StringBytesPacketDataMessage(_0x5cb087,_0x31975b);}}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(_0x42a379,_0x4378e8){super(),this['data']=_0x42a379,this['data1']=_0x4378e8;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x68c166){return new BytesBytesPacketDataMessage(_0x68c166['data'],_0x68c166['data1']);}static['create'](_0x2120d8,_0x4b3b7c){return new BytesBytesPacketDataMessage(_0x2120d8,_0x4b3b7c);}}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(_0x344f4e,_0x3d49fa){super(),this['data']=_0x344f4e,this['data1']=_0x3d49fa;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x2d028f){return new StringObjectPacketDataMessage(_0x2d028f['data'],_0x2d028f['data1']&&JSON['parse'](_0x2d028f['data1']));}static['create'](_0x4a9ec6,_0x3017d7){return new StringObjectPacketDataMessage(_0x4a9ec6,_0x3017d7);}}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(_0x5f22f6,_0x535a6c){super(),this['data']=_0x5f22f6,this['data1']=_0x535a6c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x27cb48){return new NumberObjectPacketDataMessage(_0x27cb48['data'],_0x27cb48['data1']&&JSON['parse'](_0x27cb48['data1']));}static['create'](_0x524792,_0x3928a8){return new NumberObjectPacketDataMessage(_0x524792,_0x3928a8);}}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(_0x300ab0,_0x52d708){super(),this['data']=_0x300ab0,this['data1']=_0x52d708;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x25e1ec){return new ObjectObjectPacketDataMessage(_0x25e1ec['data']&&JSON['parse'](_0x25e1ec['data']),_0x25e1ec['data1']&&JSON['parse'](_0x25e1ec['data1']));}static['create'](_0x55a211,_0x21103a){return new ObjectObjectPacketDataMessage(_0x55a211,_0x21103a);}}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(_0x2810e6,_0x4a427f){super(),this['data']=_0x2810e6,this['data1']=_0x4a427f;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x28079d){return new ObjectBufferPacketDataMessage(_0x28079d['data']&&JSON['parse'](_0x28079d['data']),_0x28079d['data1']);}static['create'](_0x21795d,_0x1fdc3a){return new ObjectBufferPacketDataMessage(_0x21795d,_0x1fdc3a);}}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(_0x41cf3c,_0x39c869){super(),this['data']=_0x41cf3c,this['data1']=_0x39c869;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3261f6){return new StringStringPacketDataMessage(_0x3261f6['data'],_0x3261f6['data1']);}static['create'](_0x923084,_0xe73a62){return new StringStringPacketDataMessage(_0x923084,_0xe73a62);}}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(_0x3d0f40,_0x4f06a6){super(),this['data']=_0x3d0f40,this['data1']=_0x4f06a6;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1ded05){return new StringNumberPacketDataMessage(_0x1ded05['data'],_0x1ded05['data1']);}static['create'](_0x15d34d,_0x54359f){return new StringNumberPacketDataMessage(_0x15d34d,_0x54359f);}}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(_0x2acc41,_0xafe3f3){super(),this['data']=_0x2acc41,this['data1']=_0xafe3f3;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3b5bf4){return new NumberNumberPacketDataMessage(_0x3b5bf4['data'],_0x3b5bf4['data1']);}static['create'](_0x1ddfeb,_0x39ab18){return new NumberNumberPacketDataMessage(_0x1ddfeb,_0x39ab18);}}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(_0x4f0205,_0x5cd55b){super(),this['data']=_0x4f0205,this['data1']=_0x5cd55b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x295e3d){return new NumberStringPacketDataMessage(_0x295e3d['data'],_0x295e3d['data1']);}static['create'](_0x311867,_0x5b75c0){return new NumberStringPacketDataMessage(_0x311867,_0x5b75c0);}}const ty=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x5bd9ac,_0xbcc1b8)=>(_0x5bd9ac[_0xbcc1b8['TYPE']]=_0xbcc1b8,_0x5bd9ac),{}))());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(_0x2d7cda,_0x33730e,_0x58e9b7,_0x292dce='/',_0x291517){super(),this['type']=_0x2d7cda,this['data']=_0x33730e,this['id']=_0x58e9b7,this['nsp']=_0x292dce,this['options']=_0x291517??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 _0x3629e1=MessagesCompressor['encode'](this['options']),_0x43fa89=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x43fa89,'options':_0x3629e1};}static['fromJSON'](_0x29d359){const _0x8876fb=Math['floor'](_0x29d359['type']/0xa);return new PacketMessage(_0x29d359['type']-0xa*_0x8876fb,MessagesCompressor['decode'](_0x29d359['data'],ty[_0x8876fb]),_0x29d359['id'],_0x29d359['nsp'],_0x29d359['options']?MessagesCompressor['decode'](_0x29d359['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x224653,_0x57e737={}){const _0x20cbaf=ParserUtils['getPacketType'](ParserUtils['getType'](_0x224653['data'][0x0]),ParserUtils['getType'](_0x224653['data'][0x1]??_0x224653['data'][0x0]));return new PacketMessage(_0x224653['type'],ty[_0x20cbaf]['create'](_0x224653['data'][0x0],_0x224653['data'][0x1]),_0x224653['id'],_0x224653['nsp'],new PacketOptionsMessage(_0x57e737['flags'],_0x57e737['rooms'],_0x57e737['except']));}}class PacketParser{['encode'](_0x1d01f1,_0x30da94,_0x36c6e9,_0x3b8ca2='/',_0x39bc5d={}){if(_0x30da94['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x18914d={'type':_0x1d01f1,'data':_0x30da94,'id':_0x36c6e9,'nsp':_0x3b8ca2};return MessagesCompressor['encode'](PacketMessage['create'](_0x18914d,_0x39bc5d));}['decode'](_0x15e676){const _0x1fee52=MessagesCompressor['decode'](_0x15e676,PacketMessage);return{'packet':{'id':_0x1fee52['id'],'type':_0x1fee52['type'],'data':_0x1fee52['packetData'],'nsp':_0x1fee52['nsp']},'options':{'flags':_0x1fee52['options']['flags'],'rooms':_0x1fee52['options']['rooms'],'except':_0x1fee52['options']['except']}};}}const ey=/* #__PURE__ -- @preserve */
((()=>[Cb['EVENT'],Cb['ACK'],Cb['BINARY_ACK'],Cb['BINARY_EVENT']])());class Encoder extends kb{['_packetParser'];constructor(_0x4a3fcb){super(),this['_packetParser']=_0x4a3fcb??new PacketParser();}['encode'](_0x1b6bbb){if(ey['includes'](_0x1b6bbb['type']))try{return[this['_packetParser']['encode'](_0x1b6bbb['type'],_0x1b6bbb['data'],_0x1b6bbb['id'],_0x1b6bbb['nsp'])];}catch(_0xc3e380){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0xc3e380['message']}});}return super['encode'](_0x1b6bbb);}}class Decoder extends xb{['_packetParser'];constructor(_0x5143c8){super(),this['_packetParser']=_0x5143c8??new PacketParser();}['add'](_0x3de4d0){if(!ParserUtils['isBuffer'](_0x3de4d0))return super['add'](_0x3de4d0);let _0x92a0e8;try{_0x92a0e8=this['_packetParser']['decode'](_0x3de4d0)['packet'];}catch{return super['add'](_0x3de4d0);}super['emitReserved']('decoded',_0x92a0e8);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
iy();['timeout'];constructor(_0x88529c,_0x4c8ac1){this['_context']=_0x88529c,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x4c8ac1);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x47e6df){this['_deferredPromise']['resolve'](_0x47e6df);}['error'](_0x3c3566){this['_deferredPromise']['reject'](_0x3c3566);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x4342eb){this['_context']=_0x4342eb;}async['send'](_0x4f4c7b,_0x3a6fa5=0xafc8){const _0x47489b=this['_createRequest'](_0x3a6fa5);try{return _0x4f4c7b(_0x47489b),await _0x47489b['promise'];}finally{this['_finishRequest'](_0x47489b);}}['errorAll'](_0x10dbb6){for(const _0x465783 of this['_requests'])_0x465783['error'](_0x10dbb6);}['waitForAllRequests'](_0x32ef68=0xafc8){return this['_waitForRequests'](_0x32ef68);}['_createRequest'](_0x544361){const _0x80bf7c=new WebSocketRequest(this['_context'],_0x544361);return this['_requests']['add'](_0x80bf7c),_0x80bf7c;}['_finishRequest'](_0x6bf1c9){this['_requests']['delete'](_0x6bf1c9),clearTimeout(_0x6bf1c9['timeout']);}async['_waitForRequests'](_0x1d7080=0x1388,_0x6d82ae=0x0){return!this['_requests']['size']||_0x6d82ae>=_0x1d7080/0x1f4?Promise['resolve']():(await new Promise(_0x5987be=>{setTimeout(_0x5987be,0x1f4);}),this['_waitForRequests'](_0x1d7080,_0x6d82ae++));}}function iy(){let _0x5b777d,_0x429f02;const _0x558961=new Promise((_0xb302f4,_0x3bd505)=>{_0x5b777d=_0xb302f4,_0x429f02=_0x3bd505;});return{'resolve':_0x5b777d,'reject':_0x429f02,'promise':_0x558961};}const sy='disconnected',ny='connecting',ry='connected';let oy=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x18fa86(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>sy)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>ny)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>ry)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0x387442['get']('highest')+0xf423f)());constructor(_0x4783df,_0x14fdc4,_0x52ba70,_0x2bc865,_0x30e550){if(super(),this['_token']=_0x14fdc4,this['_options']=_0x52ba70??{},this['_connectionProvider']=_0x2bc865??Qb,this['_userFactory']=_0x30e550??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x4783df)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=Gb(_0x4783df['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',sy),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x29fd0e,_0x5f0fcf,_0x375e92)=>{if(this['_debugEvent']('ws-gw:change:state',_0x375e92),_0x375e92!==WebSocketGateway['STATE_CONNECTED']){if(_0x375e92===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{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x20ef71,_0x458429)=>{this['_options']['onError']?this['_options']['onError'](_0x458429):console['error'](_0x458429);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x514200){return this['_requestsManager']['waitForAllRequests'](_0x514200);}['disconnect'](){this['state']!==sy&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=sy);}async['reconnect'](){this['_socket']||this['state']!==sy||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x488352,_0x2ba84b='local.cs.dev:443/ws-v2',_0x17d72a={},_0x6d2faa=Qb,_0x20f8d9=User['get']){const _0x4d35ab=new this(_0x2ba84b,_0x488352,_0x17d72a,_0x6d2faa,_0x20f8d9);return await _0x4d35ab['_connect'](),_0x4d35ab;}['_sendRequest'](_0x488f7d,_0x257f45,_0x4c0f09){if(!_0x488f7d)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x56b98d=new ArrayBuffer(_0x4c0f09['length']+0x2),_0x56592c=new Uint8Array(_0x56b98d);return _0x56592c[0x0]=_0x488f7d,_0x56592c[0x1]=parseInt(_0x257f45),_0x56592c['set'](_0x4c0f09,0x2),this['_emit'](0x1,_0x56592c);}['_getChannel'](_0x1256ff,_0x5401d3){const _0x61bbc4=''+_0x1256ff+_0x5401d3;return!this['_channels']['has'](_0x61bbc4)&&this['_socket']&&this['_channels']['set'](_0x61bbc4,new Channel(_0x61bbc4,this,this['_socket'])),this['_channels']['get'](_0x61bbc4);}['_connect'](){return new Promise((_0x5382a0,_0x3f691d)=>{const _0x2e573d=this['_setupSocket']();!this['socketId']&&_0x2e573d['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x3f691d);}),_0x2e573d['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x5382a0();}catch(_0x2c027b){_0x3f691d(_0x2c027b);}}),_0x2e573d['connect']();});}['_getPortByProtocol'](_0x741835){return['http:','ws:']['includes'](_0x741835)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x5dc1c3=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x4bf78e=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x5dc1c3,_0x12df1c=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x585fb6=this['_connectionProvider'](_0x4bf78e,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':_0x12df1c+'/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':'54.0.5'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=ny,_0x585fb6['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x585fb6['id'];}),_0x585fb6['on']('connect_error',_0x5b9511=>{this['_debugEvent']('connect_error',_0x5b9511);}),_0x585fb6['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x585fb6['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x585fb6['io']['on']('reconnect_attempt',_0xa201b7=>{this['_debugEvent']('reconnect_attempt',_0xa201b7),this['state']=ny,this['_connectionAttempt']=_0xa201b7;}),_0x585fb6['on']('unauthorized',_0x2535e8=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x2535e8);}),_0x585fb6['on']('authenticationRequest',async _0x40672f=>{this['_debugEvent']('authenticationRequest',_0x40672f['attempt']),await this['_onReconnect']();}),this['_socket']=_0x585fb6,_0x585fb6;}['_emit'](_0x1d9498,_0x383216){const _0x13d732=this['_socket'];return this['_requestsManager']['send'](_0x269201=>{_0x13d732['emit'](_0x1d9498,_0x383216,(_0x507ec5,_0x54a2c2)=>{if(_0x507ec5)return _0x269201['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x507ec5));_0x269201['response'](_0x54a2c2);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x20efb3,_0x2f9650){this['_socketAuth']={'environmentId':_0x20efb3,'userId':_0x2f9650,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=ry;const _0x467bce=async(_0x2cc06e,_0x4810cd,_0xd60c52)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0xd60c52);}catch{}};this['_token']['on']('change:value',_0x467bce),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x467bce);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=sy,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x37eb4f of this['_channels']['values']())_0x37eb4f['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x2689f1,_0x5b2b36){if(!this['_isDebugModeEnabled']())return;const _0x55e583=void 0x0!==_0x5b2b36?',\x20data:\x20'+_0x5b2b36:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x2689f1+_0x55e583);}['_reconnectionAttemptError'](_0x41d778){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x41d778(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:_0x2c3a8}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x2c3a8));}async['_authenticate'](_0x588c2f){try{this['_debugEvent']('authenticate:start');const _0x3e459d=await this['_emit'](0x2,{'token':_0x588c2f});this['_debugEvent']('authenticate:success','envId:\x20'+_0x3e459d['environmentId']+',\x20userId:\x20'+_0x3e459d['userId']),this['_addAuthData'](_0x3e459d['environmentId'],_0x3e459d['userId']);}catch(_0x486d88){throw this['_debugEvent']('authenticate:error',_0x486d88['message']),this['_removeAuthData'](),_0x486d88;}}['_isDebugModeEnabled'](){return!!_0x37cedc['window']['localStorage']&&'true'===(_0x37cedc['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(_0x1c1cc3){super(),this['bundleVersion']=_0x1c1cc3;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x45f517){return new IsEditorBundleUploadedMessage(_0x45f517['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x451095){super(),this['isUploaded']=_0x451095;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x2ab406){return new IsEditorBundleUploadedResponse(_0x2ab406['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0x14630b(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x10b196,_0x56e7d5){const _0x51b4ee=new IsEditorBundleUploadedMessage(_0x56e7d5);if(_0x10b196['state']!==ry)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x10b196);const _0x2e6af0=await _0x10b196['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x51b4ee));return MessagesCompressor['decode'](_0x2e6af0,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(_0x543ee1,_0x57f246){super(),this['documentId']=_0x543ee1,this['revisionId']=_0x57f246;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x5e73b8){return new RevisionHistoryGetRevisionMessage(_0x5e73b8['documentId'],_0x5e73b8['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'](_0x299c4b){return{'revisionId':_0x299c4b['id'],'name':_0x299c4b['name'],'creatorId':_0x299c4b['creatorId'],'createdAt':_0x299c4b['createdAt'],'fromVersion':_0x299c4b['fromVersion'],'toVersion':_0x299c4b['toVersion'],'isEmptyCurrent':_0x299c4b['isEmptyCurrent'],'diffData':_0x299c4b['diffData']?JSON['stringify'](_0x299c4b['diffData']):void 0x0,'attributes':_0x299c4b['attributes'],'authorsIds':_0x299c4b['authorsIds']};}static['toJSON'](_0x354599){return{'revisionId':_0x354599['revisionId'],'name':_0x354599['name'],'creatorId':_0x354599['creatorId'],'authorsIds':_0x354599['authorsIds']?JSON['stringify'](_0x354599['authorsIds']):void 0x0,'diffData':_0x354599['diffData'],'createdAt':_0x354599['createdAt']?.['toISOString'](),'attributes':_0x354599['attributes']?JSON['stringify'](_0x354599['attributes']):void 0x0,'toVersion':_0x354599['toVersion'],'fromVersion':_0x354599['fromVersion'],'isEmptyCurrent':_0x354599['isEmptyCurrent']};}static['fromJSON'](_0x44d5c5){return{'revisionId':(_0x44d5c5={..._0x44d5c5})['revisionId'],'name':_0x44d5c5['name'],'creatorId':_0x44d5c5['creatorId'],'authorsIds':_0x44d5c5['authorsIds']?JSON['parse'](_0x44d5c5['authorsIds']):void 0x0,'diffData':_0x44d5c5['diffData'],'createdAt':_0x44d5c5['createdAt']?new Date(_0x44d5c5['createdAt']):void 0x0,'attributes':_0x44d5c5['attributes']?JSON['parse'](_0x44d5c5['attributes']):void 0x0,'toVersion':_0x44d5c5['toVersion'],'fromVersion':_0x44d5c5['fromVersion'],'isEmptyCurrent':_0x44d5c5['isEmptyCurrent']};}static['toObject'](_0x579c95){return function(_0x446994){for(const [_0x58dfb4,_0x507b3e]of Object['entries'](_0x446994))void 0x0===_0x507b3e&&delete _0x446994[_0x58dfb4];return _0x446994;}({'id':_0x579c95['revisionId'],'name':_0x579c95['name'],'creatorId':_0x579c95['creatorId'],'createdAt':_0x579c95['createdAt'],'fromVersion':_0x579c95['fromVersion'],'toVersion':_0x579c95['toVersion'],'isEmptyCurrent':_0x579c95['isEmptyCurrent'],'diffData':_0x579c95['diffData']?JSON['parse'](_0x579c95['diffData']):void 0x0,'attributes':_0x579c95['attributes'],'authorsIds':_0x579c95['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(_0x2b28c9,_0x1e59e2,_0x5c7e5b,_0x1c6c96,_0x4d9c92,_0x433d76,_0x273262,_0xf7dced,_0x47e8f0,_0x555141){super(),this['revisionId']=_0x2b28c9,this['name']=_0x1e59e2,this['creatorId']=_0x5c7e5b,this['authorsIds']=_0x1c6c96,this['createdAt']=_0x4d9c92,this['diffData']=_0x433d76,this['attributes']=_0x273262,this['fromVersion']=_0xf7dced,this['toVersion']=_0x47e8f0,this['isEmptyCurrent']=_0x555141;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x13b00d){return new RevisionHistoryGetRevisionResponse(_0x13b00d['revisionId'],_0x13b00d['name'],_0x13b00d['creatorId'],_0x13b00d['authorsIds'],_0x13b00d['createdAt'],_0x13b00d['diffData'],_0x13b00d['attributes'],_0x13b00d['fromVersion'],_0x13b00d['toVersion'],_0x13b00d['isEmptyCurrent']);}static['fromJSON'](_0x181907){return new RevisionHistoryGetRevisionResponse(_0x181907['revisionId'],_0x181907['name'],_0x181907['creatorId'],_0x181907['authorsIds']?JSON['parse'](_0x181907['authorsIds']):void 0x0,_0x181907['createdAt']?new Date(_0x181907['createdAt']):void 0x0,_0x181907['diffData'],_0x181907['attributes']?JSON['parse'](_0x181907['attributes']):void 0x0,_0x181907['fromVersion'],_0x181907['toVersion'],_0x181907['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(_0x2c139e,_0x39d6c5,_0x5369bd){super(),this['documentId']=_0x2c139e,this['requestId']=_0x39d6c5,this['revisions']=_0x5369bd;}['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'](_0x2ffefb){return new RevisionHistoryUpdateRevisionsMessage(_0x2ffefb['documentId'],_0x2ffefb['requestId'],_0x2ffefb['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x47cc1b){return new RevisionHistoryUpdateRevisionsMessage(_0x47cc1b['documentId'],_0x47cc1b['requestId'],_0x47cc1b['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x4fd75e){super(),this['requestId']=_0x4fd75e;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x348749){return new RevisionHistoryUpdateRevisionsResponse(_0x348749['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(_0x384c9e){super(),this['documentId']=_0x384c9e;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x29358f){return new RevisionHistoryConnectMessage(_0x29358f['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(_0x27840f,_0xb79e41,_0x2daa4f){super(),this['channel']=_0x27840f,this['requestId']=_0xb79e41,this['revisions']=_0x2daa4f;}['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'](_0x5b8787){return new RevisionHistoryConnectResponse(_0x5b8787['channel'],_0x5b8787['requestId'],_0x5b8787['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(_0x4bdc70,_0x30d7a0){super(),this['documentId']=_0x4bdc70,this['requestId']=_0x30d7a0;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x1c6b3d){return new RevisionHistoryReconnectMessage(_0x1c6b3d['documentId'],_0x1c6b3d['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x3e794f,_0x1e5fbd){super(_0x3e794f+'\x20Service\x20is\x20not\x20connected.',_0x1e5fbd);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0x14630b(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x265343){super(),this['_documentId']=_0x265343;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x11a98b){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x11a98b,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'](_0x39b1c4,_0x5516d3){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x39b1c4);return this['_connect'](_0x39b1c4,new RevisionHistoryReconnectMessage(this['_documentId'],_0x5516d3));}async['updateRevisions'](_0xc4732a,_0x56b423){const _0x2e1e7e=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x56b423,'revisions':_0xc4732a}),_0x27a3a1=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x2e1e7e),{requestId:_0x4e394b}=MessagesCompressor['decode'](_0x27a3a1,RevisionHistoryUpdateRevisionsResponse);return _0x4e394b;}async['getRevision'](_0x2364d3){const _0x522cee=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x2364d3),_0x15550c=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x522cee);return MessagesCompressor['decode'](_0x15550c,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x16f3d8,_0x218d6f){if(_0x16f3d8['state']!==ry)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x16f3d8);this['_wsGateway']=_0x16f3d8,this['stopListening'](_0x16f3d8,'change:state');const _0x2d2aa5=await _0x16f3d8['_sendRequest'](0xc,_0x218d6f['constructor']['TYPE'],MessagesCompressor['encode'](_0x218d6f)),{channel:_0x9f8868,requestId:_0x9144da,revisions:_0x4593a1}=MessagesCompressor['decode'](_0x2d2aa5,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x16f3d8,'change:state',(_0x4f48b4,_0x5b92f7,_0x336c70)=>this['_onWsGatewayStateChange'](_0x336c70),{'priority':oy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x16f3d8,_0x9f8868),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x4593a1,'requestId':_0x9144da};}['_connectToChannel'](_0x29fd18,_0x5798b3){this['_channel']=_0x29fd18['_getChannel'](RevisionHistoryService['_SERVICE'],_0x5798b3),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x289812,_0x45f429)=>{const {documentId:_0x59efe7,requestId:_0x11f61f,revisions:_0x17eb0e}=MessagesCompressor['decode'](_0x45f429,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x59efe7,'requestId':_0x11f61f,'revisionsData':_0x17eb0e});});}['_onWsGatewayStateChange'](_0x405e58){_0x405e58===sy&&this['disconnect']();}['_sendRequest'](_0x1d6899,_0x791f3){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x1d6899,MessagesCompressor['encode'](_0x791f3));}}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(_0x19e730,_0x1d693b,_0x4c18eb,_0x5d0dd4={},_0x34316e=null,_0xf1fe85=null){super(),this['id']=_0x19e730,this['documentId']=_0x1d693b,this['type']=_0x4c18eb,this['data']=_0x5d0dd4,this['originalSuggestionId']=_0x34316e,this['attributes']=_0xf1fe85;}['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'](_0x147459){return new AddSuggestionMessage(_0x147459['id'],_0x147459['documentId'],_0x147459['type'],JSON['parse'](_0x147459['data']),_0x147459['originalSuggestionId']??null,_0x147459['attributes']?JSON['parse'](_0x147459['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(_0x28fcad,_0x460b82,_0xa1b36b,_0x471fa8,_0x159e36,_0x482839,_0x327ce8={},_0x4626d1=null){super(),this['id']=_0x28fcad,this['authorId']=_0x460b82,this['type']=_0xa1b36b,this['hasComments']=_0x159e36,this['state']=_0x482839,this['data']=_0x327ce8,this['attributes']=_0x4626d1,this['createdAt']=_0x471fa8?new Date(_0x471fa8):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'](_0x50cd2e){return new AddSuggestionResponse(_0x50cd2e['id'],_0x50cd2e['authorId'],_0x50cd2e['type'],_0x50cd2e['createdAt'],_0x50cd2e['hasComments'],_0x50cd2e['state'],JSON['parse'](_0x50cd2e['data']),_0x50cd2e['attributes']?JSON['parse'](_0x50cd2e['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(_0x254e1e,_0x2a8db8){super(),this['id']=_0x254e1e,this['documentId']=_0x2a8db8;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x2f655d){return new GetSuggestionMessage(_0x2f655d['id'],_0x2f655d['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(_0x23a24a,_0x22f76d,_0x34090a,_0x1be1f8,_0x1691dd,_0xb1aa1e,_0x486d02={},_0x51ec24=null){super(),this['id']=_0x23a24a,this['authorId']=_0x22f76d,this['type']=_0x34090a,this['hasComments']=_0x1691dd,this['state']=_0xb1aa1e,this['data']=_0x486d02,this['attributes']=_0x51ec24,this['createdAt']=new Date(_0x1be1f8);}['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'](_0x49474f){return new GetSuggestionResponse(_0x49474f['id'],_0x49474f['authorId'],_0x49474f['type'],_0x49474f['createdAt'],_0x49474f['hasComments'],_0x49474f['state'],JSON['parse'](_0x49474f['data']),_0x49474f['attributes']?JSON['parse'](_0x49474f['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(_0x232d49){super(),this['documentId']=_0x232d49;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1d64e5){return new GetAllSuggestionsMessage(_0x1d64e5['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'](_0x3e7f0a){return{..._0x3e7f0a,'data':_0x3e7f0a['data']?JSON['stringify'](_0x3e7f0a['data']):_0x3e7f0a['data'],'attributes':_0x3e7f0a['attributes']?JSON['stringify'](_0x3e7f0a['attributes']):_0x3e7f0a['attributes'],'createdAt':_0x3e7f0a['createdAt']?.['toISOString']()};}static['fromJSON'](_0x35a858){return{..._0x35a858,'data':_0x35a858['data']?JSON['parse'](_0x35a858['data']):_0x35a858['data'],'attributes':_0x35a858['attributes']?JSON['parse'](_0x35a858['attributes']):_0x35a858['attributes'],'createdAt':_0x35a858['createdAt']?new Date(_0x35a858['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(_0xb8f2ff,_0x5f566e){super(),this['_suggestions']=_0xb8f2ff,this['_suggestionsV2']=_0x5f566e,this['suggestions']=_0x5f566e?.['length']?_0x5f566e:_0xb8f2ff;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x17a641=>JSON['stringify'](_0x17a641)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x34804a){return new GetAllSuggestionResponse(_0x34804a['suggestions']?.['map'](ay),_0x34804a['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function ay(_0x15cf29){const _0xcd698f=JSON['parse'](_0x15cf29);return _0xcd698f['createdAt']=_0xcd698f['createdAt']?new Date(_0xcd698f['createdAt']):void 0x0,_0xcd698f;}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(_0xf67899,_0x352613,_0x50320f,_0x483996,_0x42cdf9,_0x38fc35=null){super(),this['id']=_0xf67899,this['documentId']=_0x352613,this['hasComments']=_0x50320f,this['isHasCommentsModified']=_0x483996,this['state']=_0x42cdf9,this['attributes']=_0x38fc35;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0xd52c0){return new UpdateSuggestionMessage(_0xd52c0['id'],_0xd52c0['documentId'],_0xd52c0['hasComments'],_0xd52c0['isHasCommentsModified'],_0xd52c0['state'],_0xd52c0['attributes']?JSON['parse'](_0xd52c0['attributes']):null);}}let cy=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(_0x16a212){super(),this['documentId']=_0x16a212;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2405fb){return new ConnectMessage(_0x2405fb['documentId']);}},ly=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(_0xcbb2c6,_0x52c25d,_0x497cf2){super(),this['channel']=_0xcbb2c6,this['_suggestions']=_0x52c25d,this['_suggestionsV2']=_0x497cf2,this['suggestions']=_0x497cf2?.['length']?_0x497cf2:_0x52c25d;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x42e660=>JSON['stringify'](_0x42e660)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x2eea46){return new ConnectResponse(_0x2eea46['channel'],_0x2eea46['suggestions']?.['map'](_0x37f3fe=>JSON['parse'](_0x37f3fe)),_0x2eea46['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(_0x32f339,_0xd7df68,_0x186998){super(),this['ids']=_0x32f339,this['documentId']=_0xd7df68,this['state']=_0x186998;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x646be7){return new BatchUpdateSuggestionsStateMessage(_0x646be7['ids'],_0x646be7['documentId'],_0x646be7['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
_0x14630b(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x5ea36d){super(),this['_documentId']=_0x5ea36d;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x2bf981){if(this['_isConnected'])return;if(_0x2bf981['state']!==ry)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2bf981);const _0x50d2ae=new cy(this['_documentId']);this['_wsGateway']=_0x2bf981,this['stopListening'](_0x2bf981,'change:state');const _0x1c41fe=await _0x2bf981['_sendRequest'](0xa,cy['TYPE'],MessagesCompressor['encode'](_0x50d2ae)),_0x12edee=MessagesCompressor['decode'](_0x1c41fe,ly);return this['listenTo'](_0x2bf981,'change:state',(_0x54b600,_0x1073a2,_0x3a9a32)=>this['_onWsGatewayStateChange'](_0x3a9a32),{'priority':oy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2bf981,_0x12edee['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x12edee['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'](_0x550c56,_0x3ae00d,_0x19706b,_0x530cc9=null,_0x20b62f){const _0x484d0e=new AddSuggestionMessage(_0x550c56,this['_documentId'],_0x3ae00d,_0x19706b,_0x530cc9,_0x20b62f),_0x2774eb=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x484d0e);return MessagesCompressor['decode'](_0x2774eb,AddSuggestionResponse);}async['get'](_0x1f7abe,_0x59244c=0x1){const _0x1a646d=new GetSuggestionMessage(_0x1f7abe,this['_documentId']);try{const _0x17007c=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x1a646d);return MessagesCompressor['decode'](_0x17007c,GetSuggestionResponse);}catch(_0xd5fc4b){if('CKEditorCloudServicesServerError'===_0xd5fc4b['name']&&'404'===_0xd5fc4b['code']&&_0x59244c<0x5)return await(_0x14303a=0x64*_0x59244c,new Promise(_0x1a2409=>{setTimeout(_0x1a2409,_0x14303a);})),this['get'](_0x1f7abe,_0x59244c+0x1);if('CKEditorCloudServicesServerError'===_0xd5fc4b['name'])throw _0xd5fc4b;throw CKEditorCloudServicesServerError['fromPublicError'](_0xd5fc4b);}var _0x14303a;}async['getAll'](){const _0x1ba899=new GetAllSuggestionsMessage(this['_documentId']),_0x35e7ab=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x1ba899),{suggestions:_0x3c9094}=MessagesCompressor['decode'](_0x35e7ab,GetAllSuggestionResponse);return _0x3c9094;}async['update'](_0x236210,_0x431017={}){const {hasComments:_0x139956,state:_0xdff6f5,attributes:_0xc08859}=_0x431017,_0x1d69cb=void 0x0!==_0x139956,_0x550ed2=new UpdateSuggestionMessage(_0x236210,this['_documentId'],_0x139956,_0x1d69cb,_0xdff6f5,_0xc08859);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x550ed2);}async['batchUpdateState'](_0x2b7fe3){const _0x50f79a=new BatchUpdateSuggestionsStateMessage(_0x2b7fe3['ids'],this['_documentId'],_0x2b7fe3['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x50f79a);}['_connectToChannel'](_0x3706ac,_0x489e32){this['_channel']=_0x3706ac['_getChannel'](TrackChangesService['_SERVICE'],_0x489e32),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0xc85410,_0x40eed7)=>{const _0xfc5527=MessagesCompressor['decode'](_0x40eed7,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0xfc5527);});}['_onWsGatewayStateChange'](_0x57a682){_0x57a682===sy&&this['disconnect']();}['_sendRequest'](_0x48f10e,_0x4b3551){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x48f10e,MessagesCompressor['encode'](_0x4b3551));}}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(_0x3f48bf,_0x4d1557=[]){super(),this['channel']=_0x3f48bf,this['sockets']=_0x4d1557;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0xeb0a3b=>({'user':_0xeb0a3b['userId'],'session':_0xeb0a3b['id'],'role':_0xeb0a3b['role'],'permissions':_0xeb0a3b['permissions']}))};}static['fromJSON'](_0x171758){return new SessionsConnectResponse(_0x171758['channel'],_0x171758['sockets']['map'](_0x4333de=>({'id':_0x4333de['session'],'userId':_0x4333de['user'],'role':_0x4333de['role'],'permissions':_0x4333de['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(_0x265fb3,_0x5c348d){super(),this['id']=_0x265fb3,this['sessionType']=_0x5c348d;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x1b01f1){return new SessionsConnectMessage(_0x1b01f1['id'],_0x1b01f1['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(_0x474caf,_0x48a5b3,_0x55bee2,_0x116bcf){super(),this['id']=_0x474caf,this['userId']=_0x48a5b3,this['role']=_0x55bee2,this['permissions']=_0x116bcf;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x50e0ea){return new SocketConnectMessage(_0x50e0ea['id'],_0x50e0ea['userId'],_0x50e0ea['role'],_0x50e0ea['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(_0x159f99){super(),this['id']=_0x159f99;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x20f6b4){return new SocketDisconnectMessage(_0x20f6b4['id']);}}class SessionCollection extends _0x307d11{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x4c2b8d,_0x29e75d){super({'idProperty':'id'}),this['_id']=_0x4c2b8d,this['_sessionType']=_0x29e75d;}async['connect'](_0x4579ed){this['_wsGateway']=_0x4579ed,this['stopListening'](_0x4579ed,'change:state');const _0x2b1fa3=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x4e2636;try{const _0x2576ae=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x2b1fa3));_0x4e2636=MessagesCompressor['decode'](_0x2576ae,SessionsConnectResponse);}catch{_0x4e2636=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x4e2636['channel'],this['_sessionType']);const _0x441987=await async function(_0x8c1b27,_0x300b16){const _0xe68c43=_0x300b16['map'](_0x3db202=>_0x3db202['userId']),_0x1fba1b=_0xe68c43['length']?await User['getMany'](_0x8c1b27,_0xe68c43):[];return _0x300b16['map'](_0x172729=>{const _0x4ca64b={'id':_0x172729['id'],'role':_0x172729['role'],'permissions':_0x172729['permissions']};return _0x4ca64b['user']=_0x172729['userId']&&_0x1fba1b['find'](_0x49ff35=>_0x49ff35['id']===_0x172729['userId'])||new User(),_0x4ca64b;});}(this['_wsGateway'],_0x4e2636['sockets']);for(const _0x5a8ad2 of _0x441987)super['add'](_0x5a8ad2);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x41c2f3,_0x257ac2,_0x1d49f3)=>this['_onWsGatewayStateChange'](_0x1d49f3),{'priority':oy['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x2ee6e4=!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']&&_0x2ee6e4&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x2ee6e4&&this['stopListening']();}}['add'](_0x5cac4b,_0x2d2d18){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x120a44){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x38c5d1,_0x3dc30c,_0x442a19){this['_channel']=_0x38c5d1['_getChannel'](_0x442a19,_0x3dc30c),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x437a04=>{const _0xd01161=MessagesCompressor['decode'](_0x437a04,SocketConnectMessage);if(-0x1===this['getIndex'](_0xd01161['id'])){const _0x9ea99b={'id':_0xd01161['id'],'role':_0xd01161['role'],'permissions':_0xd01161['permissions']};_0xd01161['userId']&&(_0x9ea99b['user']=await User['get'](_0x38c5d1,_0xd01161['userId'])),super['add'](_0x9ea99b);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x5f0838=>{const _0x37df65=MessagesCompressor['decode'](_0x5f0838,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x37df65['id'])&&super['remove'](_0x37df65['id']);}));}async['_onWsGatewayStateChange'](_0xd28da4){_0xd28da4===oy['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0xd28da4===oy['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x157338;for(this['_isRunning']=!0x0;_0x157338=this['_eventsQueue']['shift']();){const _0x2718e2=this['_handlers']['get'](_0x157338['eventName']);_0x2718e2&&await _0x2718e2(_0x157338['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x762c4e,_0x40f17b,_0x7f9732){const _0x7b3509=_0x762c4e['getEventName'](_0x40f17b,!0x0);this['listenTo'](_0x762c4e,_0x7b3509,async(_0x55ca39,_0x107aed)=>{const _0x493885=_0x55ca39['name'];this['_eventsQueue']['push']({'eventName':_0x493885,'data':_0x107aed}),await this['_runQueue']();}),this['_handlers']['set'](_0x7b3509,_0x7f9732);}}let hy=class Sessions{static async['getConnectedSessions'](_0x536862,_0x298a5f,_0x225096){const _0x3b0c97=new SessionCollection(_0x298a5f,_0x225096);return await _0x3b0c97['connect'](_0x536862),_0x3b0c97;}};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(_0xfe4496,_0x2e0459,_0x261d5c,_0x5d94c9,_0x3d4d01=''){super(),this['id']=_0xfe4496,this['buffers']=_0x2e0459,this['types']=_0x261d5c,this['bundleVersion']=_0x5d94c9,this['lastOperationId']=_0x3d4d01;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x250012){return new CollaborativeEditingConnectMessage(_0x250012['id'],_0x250012['buffers'],_0x250012['types'],_0x250012['bundleVersion'],_0x250012['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x493cc6,_0x31c2ee){if(!_0x493cc6?.['length']||!_0x31c2ee?.['length'])return[];const _0x4647bc=[];let _0x3d43cb=0x0;for(const _0x360a2e of _0x493cc6)if(0x0!==_0x360a2e){if(!_0x31c2ee[_0x3d43cb])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x4647bc['push'](_0x31c2ee[_0x3d43cb]),_0x3d43cb++;}else _0x4647bc['push'](_0x4647bc[_0x4647bc['length']-0x1]);return _0x4647bc;}static['removeUnnecessaryMetadata'](_0x1794d6,_0x574508){if(!_0x1794d6?.['length']||!_0x574508?.['length'])return[];const _0xaab451=[];for(let _0x241e6c=0x0;_0x241e6c<_0x1794d6['length'];_0x241e6c++)if(0x0!==_0x1794d6[_0x241e6c]){if(!_0x574508[_0x241e6c])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0xaab451['push'](_0x574508[_0x241e6c]);}return _0xaab451;}}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:_0x34762e,..._0x5687bb}){const _0xc3728e={..._0x5687bb};return _0x34762e?.['toISOString']&&(_0xc3728e['createdAt']=_0x34762e['toISOString']()),_0xc3728e;}static['fromJSON']({createdAt:_0x11322c,..._0x236e00}){const _0x6cd0f3={..._0x236e00};return _0x11322c&&(_0x6cd0f3['createdAt']=new Date(_0x11322c)),_0x6cd0f3;}}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(_0x12acd4,_0x598630,_0x22d0fb,_0x13fe52,_0x17506f=[],_0x54ceee=''){super(),this['id']=_0x12acd4,this['buffers']=_0x598630,this['types']=_0x22d0fb,this['baseVersion']=_0x13fe52,this['metadata']=_0x17506f,this['lastOperationId']=_0x54ceee;}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'](_0x1b900e){return new CollaborativeEditingUpdateMessage(_0x1b900e['id'],_0x1b900e['buffers'],_0x1b900e['types'],_0x1b900e['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x1b900e['types'],_0x1b900e['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x1b900e['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(_0x1e0ea7,_0x2ddadd,_0x53174e){super(),this['id']=_0x1e0ea7,this['lastKnowVersion']=_0x2ddadd,this['bundleVersion']=_0x53174e;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x30185b){return new CollaborativeEditingReconnectMessage(_0x30185b['id'],_0x30185b['lastKnowVersion'],_0x30185b['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(_0x32ba10,_0x33a0e8=[],_0x230a74=[],_0x382cf0=[],_0x3fbb3c='',_0x454e85=null){super(),this['version']=_0x32ba10,this['buffers']=_0x33a0e8,this['types']=_0x230a74,this['metadata']=_0x382cf0,this['lastOperationId']=_0x3fbb3c,this['lastOperationAcceptedAt']=_0x454e85;}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'](_0x250860){return new CollaborativeEditingResponse(_0x250860['version'],_0x250860['buffers'],_0x250860['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x250860['types'],_0x250860['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x250860['lastOperationId'],_0x250860['lastOperationAcceptedAt']?new Date(_0x250860['lastOperationAcceptedAt']):null);}static['create'](_0x33e737){return new CollaborativeEditingResponse(_0x33e737['version'],_0x33e737['buffers'],_0x33e737['types'],_0x33e737['metadata'],_0x33e737['lastOperationId'],_0x33e737['lastOperationAcceptedAt']?new Date(_0x33e737['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(_0x45d4f3,_0x4326e1,_0x597abe=[],_0x337159=[],_0x3a87d8=0x0,_0x2ae09a=[],_0x267a63=null,_0x3e4b6a='',_0x295ce7='',_0xa036c=null){super(),this['channel']=_0x45d4f3,this['version']=_0x4326e1,this['buffers']=_0x597abe,this['types']=_0x337159,this['offset']=_0x3a87d8,this['metadata']=_0x2ae09a,this['initData']=_0x267a63,this['sessionId']=_0x3e4b6a,this['lastOperationId']=_0x295ce7,this['sessionCreatedAt']=_0xa036c;}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'](_0x17937c){return new CollaborativeEditingConnectResponse(_0x17937c['channel'],_0x17937c['version'],_0x17937c['buffers'],_0x17937c['types'],_0x17937c['offset'],_0x17937c['metadata'],_0x17937c['initData'],_0x17937c['sessionId'],_0x17937c['lastOperationId'],_0x17937c['sessionCreatedAt']);}static['fromJSON'](_0x12af58){let _0x5bbfa2=null;return!0x0===_0x12af58['isInitialized']?_0x5bbfa2=_0x12af58['initData']??'':'boolean'!=typeof _0x12af58['isInitialized']&&_0x12af58['initData']&&(_0x5bbfa2=_0x12af58['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x12af58['channel'],'version':_0x12af58['version'],'buffers':_0x12af58['buffers'],'types':_0x12af58['types'],'offset':_0x12af58['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x12af58['types'],_0x12af58['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x5bbfa2,'sessionId':_0x12af58['sessionId'],'lastOperationId':_0x12af58['lastOperationId'],'sessionCreatedAt':_0x12af58['sessionCreatedAt']?new Date(_0x12af58['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(_0x141d88,_0x4bd688){super(),this['lastDocumentSession']=_0x141d88,this['currentDocumentSession']=_0x4bd688;}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'](_0x3cad35){const _0x545149=_0x3cad35['lastDocumentSessionId']?{'id':_0x3cad35['lastDocumentSessionId'],'lastOperationId':_0x3cad35['lastDocumentSessionOperationId']}:void 0x0,_0x27f71f=_0x3cad35['currentDocumentSessionId']?{'lastOperationId':_0x3cad35['currentDocumentSessionOperationId'],'version':_0x3cad35['currentDocumentSessionVersion'],'id':_0x3cad35['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x545149,_0x27f71f);}}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(_0x20d7d9){super(),this['documentId']=_0x20d7d9;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1b7602){return new GetDocumentDetailsMessage(_0x1b7602['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0x14630b(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x2ec74b,_0x2d100c){if(super(),!_0x2ec74b)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x2d100c??qb(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x2ec74b;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x5b5187,_0x44bb22={'buffers':[],'types':[]},_0xc0c07d){const _0x58b73a=new CollaborativeEditingConnectMessage(this['getId'](),_0x44bb22['buffers'],_0x44bb22['types'],this['_bundleVersion'],_0xc0c07d);return this['_connect'](_0x5b5187,_0x58b73a);}['reconnect'](_0x3c162c,_0x224955){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x3c162c);return this['_connect'](_0x3c162c,new CollaborativeEditingReconnectMessage(this['getId'](),_0x224955,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 _0x5ab9fb=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x5e4e9f=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x5ab9fb));return MessagesCompressor['decode'](_0x5e4e9f,GetDocumentDetailsResponse);}async['sendOperations'](_0x34df7d,_0x40a71a,_0x5ab3a0){if(!_0x34df7d?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x39e4f9='number'==typeof _0x40a71a?_0x40a71a:parseInt(_0x40a71a);if(!Number['isInteger'](_0x39e4f9)||_0x39e4f9<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x59057c=new CollaborativeEditingUpdateMessage(this['getId'](),_0x34df7d['buffers'],_0x34df7d['types'],_0x39e4f9,[],_0x5ab3a0);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x2d64dc=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x59057c));return MessagesCompressor['decode'](_0x2d64dc,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await hy['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x2fba53,_0x94d805){return hy['getConnectedSessions'](_0x2fba53,_0x94d805,0x1);}async['_connect'](_0x10be00,_0x40f8e9){if(this['isConnected']())return;if(_0x10be00['state']!==oy['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x10be00);this['_wsGateway']=_0x10be00,this['stopListening'](_0x10be00,'change:state');const _0x5418a5=await _0x10be00['_sendRequest'](0x1,_0x40f8e9['constructor']['TYPE'],MessagesCompressor['encode'](_0x40f8e9)),_0x443947=MessagesCompressor['decode'](_0x5418a5,CollaborativeEditingConnectResponse);return this['listenTo'](_0x10be00,'change:state',(_0x998359,_0x26a247,_0xd73e3c)=>this['_onWsGatewayStateChange'](_0xd73e3c),{'priority':oy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x10be00,_0x443947['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x443947;}['_connectToChannel'](_0x452d3b,_0x1712ec){this['_channel']=_0x452d3b['_getChannel'](0x1,_0x1712ec),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x3bccdb,_0x3cae14)=>{const _0x313220=MessagesCompressor['decode'](_0x3cae14,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x313220['baseVersion'],_0x313220['data'],_0x313220['metadata']);});}['_onWsGatewayStateChange'](_0x1b9a57){_0x1b9a57===oy['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'](_0x3f88ab){return{..._0x3f88ab,'createdAt':_0x3f88ab['createdAt']?.['toISOString'](),'attributes':_0x3f88ab['attributes']?JSON['stringify'](_0x3f88ab['attributes']):null};}static['fromJSON'](_0x19f38d){return{..._0x19f38d,'createdAt':new Date(_0x19f38d['createdAt']),'attributes':_0x19f38d['attributes']?JSON['parse'](_0x19f38d['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'](_0x3ea23f){return{..._0x3ea23f,'createdAt':_0x3ea23f['createdAt']?.['toISOString'](),'deletedAt':_0x3ea23f['deletedAt']?.['toISOString'](),'resolvedAt':_0x3ea23f['resolvedAt']?.['toISOString'](),'attributes':_0x3ea23f['attributes']?JSON['stringify'](_0x3ea23f['attributes']):null,'context':_0x3ea23f['context']?JSON['stringify'](_0x3ea23f['context']):_0x3ea23f['context'],'comments':_0x3ea23f['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x3ea23f['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x39ce57){return{..._0x39ce57,'createdAt':_0x39ce57['createdAt']?new Date(_0x39ce57['createdAt']):void 0x0,'deletedAt':_0x39ce57['deletedAt']?new Date(_0x39ce57['deletedAt']):void 0x0,'resolvedAt':_0x39ce57['resolvedAt']?new Date(_0x39ce57['resolvedAt']):void 0x0,'attributes':_0x39ce57['attributes']?JSON['parse'](_0x39ce57['attributes']):null,'context':_0x39ce57['context']?JSON['parse'](_0x39ce57['context']):void 0x0,'comments':_0x39ce57['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x39ce57['unlinkedAt']?new Date(_0x39ce57['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(_0x23d554,_0xa5cec0,_0xc5f46e,_0x4ac039='',_0x102979,_0x5d15ce='',_0x1424e8=null,_0x3ecfd6){super(),this['documentId']=_0x23d554,this['commentThreadId']=_0xa5cec0,this['content']=_0xc5f46e,this['commentId']=_0x4ac039,this['userId']=_0x5d15ce,this['attributes']=_0x1424e8,this['commentThread']=_0x3ecfd6,this['createdAt']=_0x102979?new Date(_0x102979):'';}['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'](_0x246d32){return new AddCommentMessage(_0x246d32['documentId'],_0x246d32['commentThreadId'],_0x246d32['content'],_0x246d32['commentId']?_0x246d32['commentId']:void 0x0,_0x246d32['createdAt']?new Date(_0x246d32['createdAt']):void 0x0,_0x246d32['userId']?_0x246d32['userId']:void 0x0,_0x246d32['attributes']?JSON['parse'](_0x246d32['attributes']):{},_0x246d32['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x246d32['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(_0x3ec2ae,_0xd2ad0b,_0x17529e){super(),this['commentThreadId']=_0x3ec2ae,this['commentId']=_0xd2ad0b,this['createdAt']=new Date(_0x17529e);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x11134c){return new AddCommentResponse(_0x11134c['commentThreadId'],_0x11134c['commentId'],_0x11134c['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(_0x539fe9){super(),this['documentId']=_0x539fe9;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1c944a){return new ConnectMessage(_0x1c944a['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(_0x5268bb,_0x27f874,_0x22e3fe){super(),this['channel']=_0x5268bb,this['_threads']=_0x27f874,this['_threadsV2']=_0x22e3fe,this['threads']=_0x22e3fe?.['length']?_0x22e3fe:_0x27f874;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x1548ae=>JSON['stringify'](_0x1548ae)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x359e2d){return new ConnectResponse(_0x359e2d['channel'],_0x359e2d['threads']?.['map'](_0x13f595=>JSON['parse'](_0x13f595)),_0x359e2d['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(_0x1be1b1,_0x47fc24,_0x2eb97c){super(),this['documentId']=_0x1be1b1,this['commentThreadId']=_0x47fc24,this['commentId']=_0x2eb97c;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x58970d){return new RemoveCommentMessage(_0x58970d['documentId'],_0x58970d['commentThreadId'],_0x58970d['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(_0x173be8,_0x4d9145){super(),this['documentId']=_0x173be8,this['commentThreadId']=_0x4d9145;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0xc033f8){return new RemoveCommentThreadMessage(_0xc033f8['documentId'],_0xc033f8['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(_0x12e2ef,_0x490833,_0x4b5480,_0x1876b2,_0x1a4b5e=null,_0x4df229=!0x1,_0x457114){super(),this['documentId']=_0x12e2ef,this['commentThreadId']=_0x490833,this['commentId']=_0x4b5480,this['content']=_0x1876b2,this['attributes']=_0x1a4b5e,this['isAttributesUpdated']=_0x4df229,this['commentThread']=_0x457114;}['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'](_0x1a1ceb){return new UpdateCommentMessage(_0x1a1ceb['documentId'],_0x1a1ceb['commentThreadId'],_0x1a1ceb['commentId'],_0x1a1ceb['content'],_0x1a1ceb['attributes']?JSON['parse'](_0x1a1ceb['attributes']):null,_0x1a1ceb['isAttributesUpdated'],_0x1a1ceb['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x1a1ceb['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(_0xf78b40,_0x2628b9){super(),this['commentThreadId']=_0xf78b40,this['documentId']=_0x2628b9;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x44794f){return new GetCommentThreadMessage(_0x44794f['commentThreadId'],_0x44794f['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(_0x58bb36,_0x1a899b,_0x596509,_0x2e1db0,_0x2c6a33,_0x251325,_0x50b48c,_0xb643dc,_0x27aa5e,_0x2f3bec){super(),this['commentThreadId']=_0x58bb36,this['_comments']=_0x1a899b,this['_commentsV2']=_0x596509,this['resolvedBy']=_0x2c6a33,this['comments']=_0x596509?.['length']?_0x596509:_0x1a899b,this['createdAt']=_0x50b48c?new Date(_0x50b48c):void 0x0,this['deletedAt']='string'==typeof _0xb643dc?new Date(_0xb643dc):_0xb643dc,this['resolvedAt']='string'==typeof _0x27aa5e?new Date(_0x27aa5e):_0x27aa5e,this['unlinkedAt']='string'==typeof _0x2f3bec?new Date(_0x2f3bec):_0x2f3bec,this['attributes']='string'==typeof _0x2e1db0?JSON['parse'](_0x2e1db0):_0x2e1db0,this['context']='string'==typeof _0x251325?JSON['parse'](_0x251325):_0x251325;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x3f0155=>JSON['stringify'](_0x3f0155)),'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'](_0x2aa90e){return new GetCommentThreadResponse(_0x2aa90e['commentThreadId'],_0x2aa90e['comments']?.['map'](_0x31625d=>function(_0x1e2588){const _0x2b66ea=JSON['parse'](_0x1e2588);return{..._0x2b66ea,'createdAt':new Date(_0x2b66ea['createdAt'])};}(_0x31625d)),_0x2aa90e['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x2aa90e['attributes']?JSON['parse'](_0x2aa90e['attributes']):_0x2aa90e['attributes'],_0x2aa90e['resolvedBy'],_0x2aa90e['context']?JSON['parse'](_0x2aa90e['context']):_0x2aa90e['context'],_0x2aa90e['createdAt'],_0x2aa90e['deletedAt'],_0x2aa90e['resolvedAt'],_0x2aa90e['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(_0x473707){super(),this['documentId']=_0x473707;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0xcfed7b){return new GetDocumentThreadsMessage(_0xcfed7b['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(_0x2400b9,_0x37bace){super(),this['_threads']=_0x2400b9,this['_threadsV2']=_0x37bace,this['threads']=_0x37bace?.['length']?_0x37bace:_0x2400b9;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x4a0de3=>JSON['stringify'](_0x4a0de3)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x430bb9){return new GetDocumentThreadsResponse(_0x430bb9['threads']?.['map'](_0xec75f2=>function(_0x4523c6){const _0x3b568d=JSON['parse'](_0x4523c6),_0xfde72a={..._0x3b568d};return _0x3b568d['comments']&&(_0xfde72a['comments']=_0x3b568d['comments']?.['map'](_0x103c4f=>({..._0x103c4f,'createdAt':new Date(_0x103c4f['createdAt'])}))),_0xfde72a;}(_0xec75f2)),_0x430bb9['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'](_0x4a9cdc){return{'commentId':_0x4a9cdc['commentId'],'createdAt':_0x4a9cdc['createdAt']?.['toISOString']()};}static['fromJSON'](_0x4227d5){return{'commentId':_0x4227d5['commentId'],'createdAt':new Date(_0x4227d5['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(_0x329387,_0x1e601c,_0x408fba=[]){super(),this['commentThreadId']=_0x329387,this['comments']=_0x408fba,this['createdAt']=new Date(_0x1e601c);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x9d44e6=>CommentThreadAddedCommentDescriptor['toJSON'](_0x9d44e6))};}static['fromJSON'](_0x27810b){return new AddCommentThreadResponse(_0x27810b['commentThreadId'],_0x27810b['createdAt'],_0x27810b['comments']['map'](_0x1592f5=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x1592f5)));}}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(_0x211088,_0x4b35c7,_0x1204e5=[],_0xb377cd,_0x3b2166=null,_0x2ba875=null,_0x4afb04=null,_0x57ecf4=null,_0x5c24e9=null){super(),this['documentId']=_0x211088,this['commentThreadId']=_0x4b35c7,this['comments']=_0x1204e5,this['context']=_0xb377cd,this['resolvedBy']=_0x3b2166,this['attributes']=_0x5c24e9,this['createdAt']=_0x2ba875?new Date(_0x2ba875):'',this['resolvedAt']=_0x4afb04?new Date(_0x4afb04):'',this['deletedAt']=_0x57ecf4?new Date(_0x57ecf4):'';}['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'](_0x14d729=>CommentDescriptor['toJSON'](_0x14d729))};}static['fromJSON'](_0x585baa){return new AddCommentThreadMessage(_0x585baa['documentId'],_0x585baa['commentThreadId'],_0x585baa['comments']?.['map'](_0x4fb965=>CommentDescriptor['fromJSON']({..._0x4fb965,'documentId':_0x585baa['documentId'],'commentThreadId':_0x585baa['commentThreadId']})),_0x585baa['context']?JSON['parse'](_0x585baa['context']):_0x585baa['context'],_0x585baa['resolvedBy'],_0x585baa['createdAt']?new Date(_0x585baa['createdAt']):void 0x0,_0x585baa['resolvedAt']?new Date(_0x585baa['resolvedAt']):void 0x0,_0x585baa['deletedAt']?new Date(_0x585baa['deletedAt']):void 0x0,_0x585baa['attributes']?JSON['parse'](_0x585baa['attributes']):_0x585baa['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(_0x21be0b,_0x6e348d,_0x4bd362,_0x2cabfa){super(),this['commentThreadId']=_0x21be0b,this['documentId']=_0x6e348d,this['resolvedBy']=_0x4bd362,this['resolvedAt']=_0x2cabfa?new Date(_0x2cabfa):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x3c47be){return new ResolveCommentThreadMessage(_0x3c47be['commentThreadId'],_0x3c47be['documentId'],_0x3c47be['resolvedBy'],_0x3c47be['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(_0x4d7b73,_0x587e9a){super(),this['commentThreadId']=_0x4d7b73,this['documentId']=_0x587e9a;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x4d7f93){return new ReopenCommentThreadMessage(_0x4d7f93['commentThreadId'],_0x4d7f93['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(_0x56e625,_0x100e3e,_0x4755d6,_0x5b08d9=null,_0x318158=null){super(),this['commentThreadId']=_0x56e625,this['documentId']=_0x100e3e,this['context']=_0x4755d6,this['attributes']=_0x5b08d9,this['unlinkedAt']=_0x318158?new Date(_0x318158):'';}['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'](_0x44195d){return new UpdateCommentThreadMessage(_0x44195d['commentThreadId'],_0x44195d['documentId'],_0x44195d['context']?JSON['parse'](_0x44195d['context']):_0x44195d['context'],_0x44195d['attributes']?JSON['parse'](_0x44195d['attributes']):null,_0x44195d['unlinkedAt']?new Date(_0x44195d['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(_0xedbe38,_0x3515f6,_0x328584,_0x179c5e){super(),this['commentThreadId']=_0xedbe38,this['documentId']=_0x3515f6,this['resolvedBy']=_0x328584,this['resolvedAt']=new Date(_0x179c5e);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x51cf3f){return new ResolveCommentThreadResponse(_0x51cf3f['commentThreadId'],_0x51cf3f['documentId'],_0x51cf3f['resolvedBy'],_0x51cf3f['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0x14630b(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x26956f){super(),this['_documentId']=_0x26956f;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x3176b6){if(this['_isConnected'])return;if(_0x3176b6['state']!==ry)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3176b6);const _0x27d7dc=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x3176b6,this['stopListening'](_0x3176b6,'change:state');const _0x14ae98=await _0x3176b6['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](_0x27d7dc)),{channel:_0x4c58c8,threads:_0x1b2317}=MessagesCompressor['decode'](_0x14ae98,ConnectResponse);return this['listenTo'](_0x3176b6,'change:state',(_0x43232b,_0x1e4929,_0x3f8851)=>this['_onWsGatewayStateChange'](_0x3f8851),{'priority':oy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3176b6,_0x4c58c8),this['_isConnected']=!0x0,this['fire']('connected'),_0x1b2317;}['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'](_0x340c0a,_0x240d6e,_0x2be69f,_0xc1eebc){const _0x95c91d=new AddCommentMessage(this['_documentId'],_0x340c0a,_0x2be69f,_0x240d6e,void 0x0,void 0x0,_0xc1eebc),_0x3211fe=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x95c91d);return MessagesCompressor['decode'](_0x3211fe,AddCommentResponse);}async['updateComment'](_0x1ea3e0,_0x5612aa,_0x13b589,_0x5eca91){const _0x86a37a=void 0x0!==_0x5eca91,_0x265e0c=new UpdateCommentMessage(this['_documentId'],_0x1ea3e0,_0x5612aa,_0x13b589,_0x5eca91,_0x86a37a);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x265e0c);}async['removeComment'](_0x3e5e33,_0x52c14c){const _0x40097e=new RemoveCommentMessage(this['_documentId'],_0x3e5e33,_0x52c14c);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x40097e);}async['removeCommentThread'](_0x3f9a45){const _0x4f7f7c=new RemoveCommentThreadMessage(this['_documentId'],_0x3f9a45);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x4f7f7c);}async['addCommentThread'](_0x2eafda){const _0x48ba4a=new AddCommentThreadMessage(this['_documentId'],_0x2eafda['commentThreadId'],_0x2eafda['comments']?.['map'](_0x3fe25c=>({..._0x3fe25c,'documentId':this['_documentId'],'commentThreadId':_0x2eafda['commentThreadId']})),_0x2eafda['context'],_0x2eafda['resolvedBy'],_0x2eafda['createdAt'],_0x2eafda['resolvedAt'],_0x2eafda['deletedAt'],_0x2eafda['attributes']),_0x24b6ad=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x48ba4a);return MessagesCompressor['decode'](_0x24b6ad,AddCommentThreadResponse);}async['resolveCommentThread'](_0x44a564){const _0x555877=new ResolveCommentThreadMessage(_0x44a564,this['_documentId']),_0x4f5623=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x555877);return MessagesCompressor['decode'](_0x4f5623,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x56f63b){const _0xd6094=new ReopenCommentThreadMessage(_0x56f63b,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0xd6094);}async['updateCommentThread'](_0x380336){const _0xb8ef17=new UpdateCommentThreadMessage(_0x380336['commentThreadId'],this['_documentId'],_0x380336['context'],_0x380336['attributes'],_0x380336['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0xb8ef17);}async['getCommentThread'](_0x16588b,_0x142dad=0x1){const _0x2a0979=new GetCommentThreadMessage(_0x16588b,this['_documentId']);try{const _0x260612=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x2a0979),_0x4ab5a0=MessagesCompressor['decode'](_0x260612,GetCommentThreadResponse);return{'commentThreadId':_0x4ab5a0['commentThreadId'],'comments':_0x4ab5a0['comments'],'attributes':_0x4ab5a0['attributes'],'context':_0x4ab5a0['context'],'resolvedAt':_0x4ab5a0['resolvedAt'],'resolvedBy':_0x4ab5a0['resolvedBy'],'deletedAt':_0x4ab5a0['deletedAt'],'unlinkedAt':_0x4ab5a0['unlinkedAt']};}catch(_0xfcf894){if('CKEditorCloudServicesServerError'===_0xfcf894['name']&&'404'===_0xfcf894['code']&&_0x142dad<0x5)return await(_0x3c7e8a=0x64*_0x142dad,new Promise(_0x5c7ec0=>{setTimeout(_0x5c7ec0,_0x3c7e8a);})),this['getCommentThread'](_0x16588b,_0x142dad+0x1);if('CKEditorCloudServicesServerError'===_0xfcf894['name'])throw _0xfcf894;throw CKEditorCloudServicesServerError['fromPublicError'](_0xfcf894);}var _0x3c7e8a;}async['getDocumentThreads'](){const _0xb212=new GetDocumentThreadsMessage(this['_documentId']),_0x4870ae=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0xb212),{threads:_0x3b195a}=MessagesCompressor['decode'](_0x4870ae,GetDocumentThreadsResponse);return{'threads':_0x3b195a};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await hy['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x1a51b0,_0x487dfb){this['_channel']=_0x1a51b0['_getChannel'](CommentsService['_SERVICE'],_0x487dfb),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x3ce023,_0x18d63d)=>{const _0x1d4ae1=MessagesCompressor['decode'](_0x18d63d,AddCommentMessage);this['fire']('commentAdded',_0x1d4ae1);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x428dfa,_0x15b360)=>{const _0x552648=MessagesCompressor['decode'](_0x15b360,RemoveCommentMessage);this['fire']('commentRemoved',_0x552648);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x1fced0,_0x116013)=>{const _0x127ff1=MessagesCompressor['decode'](_0x116013,UpdateCommentMessage);this['fire']('commentUpdated',_0x127ff1);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x280752,_0x20bd81)=>{const _0x20b254=MessagesCompressor['decode'](_0x20bd81,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x20b254);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x3f1b8e,_0x325355)=>{const _0x1dea91=MessagesCompressor['decode'](_0x325355,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x1dea91);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x3aa9fd,_0x342875)=>{const _0x555dbe=MessagesCompressor['decode'](_0x342875,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x555dbe);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x49c94a,_0x2c685a)=>{const _0x39ed61=MessagesCompressor['decode'](_0x2c685a,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x39ed61);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x315594,_0x51f219)=>{const _0x36db7b=MessagesCompressor['decode'](_0x51f219,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x36db7b);}));}['_onWsGatewayStateChange'](_0x315488){_0x315488===sy&&this['disconnect']();}['_sendRequest'](_0x3e62bb,_0xb430c0){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x3e62bb,MessagesCompressor['encode'](_0xb430c0));}}class WebSocketGateway extends _0x32a432{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>oy)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[_0x337566,Qt];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20f3cb){super(_0x20f3cb),this['set']('state',ry),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x1b863a())();}['init'](){const _0x5d5349=this['context'],_0x4bdf4e=_0x5d5349['plugins']['get'](_0x337566),_0xeaec0e=_0x5d5349['plugins']['get'](Qt);if(!_0x4bdf4e['token'])throw new _0x3ae0e8('websocketgateway-missing-token',this);if(!_0x4bdf4e['webSocketUrl'])throw new _0x3ae0e8('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'](_0x4bdf4e['token'],_0x4bdf4e['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x5ea348=>{if(this['connection']=_0x5ea348,this['bind']('state')['to'](_0x5ea348,'state',this,'_isBrowserOffline',(_0x526ae8,_0x5e2f8e)=>('connected'!==_0x526ae8&&(this['_shouldPluginsReconnect']=!0x0),_0x5e2f8e||_0x526ae8!==ry?sy:this['state']==sy&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),ny):ry)),this['connection']['on']('error',(_0xb2491d,_0x31d531)=>{if('limitExceeded'!==_0x31d531['code'])throw console['error'](_0x31d531),new _0x3ae0e8('cloudservices-init',null,{'originalError':_0x31d531});_0xeaec0e['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'});}),!_0x5ea348['me'])return new Promise(_0x4b172d=>_0x5ea348['on']('change:me',_0x4b172d));})['catch'](_0x9ea2f5=>{throw console['error'](_0x9ea2f5),new _0x3ae0e8('cloudservices-init',null,{'originalError':_0x9ea2f5});});}['addToReconnectionStack'](_0x84768e){if('function'!=typeof _0x84768e['reconnect'])throw new _0x3ae0e8('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x84768e))throw new _0x3ae0e8('websocketgateway-plugin-already-registered',this,{'name':_0x84768e['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x84768e);}['removeFromReconnectionStack'](_0x2732f5){this['_reconnectionStack']['delete'](_0x2732f5);}['isInReconnectionStack'](_0x2d12b3){return this['_reconnectionStack']['has'](_0x2d12b3);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x1ff394=>_0x1ff394['reconnect']())))['then'](()=>this['state']=ry)['catch'](_0x50892e=>{throw console['error'](_0x50892e),new _0x3ae0e8('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=sy,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class Sessions extends _0x32a432{['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(_0x4d91b5){super(_0x4d91b5),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x307d11(),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](Users);}['init'](){const _0x3f732a=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3f732a,'change:state',(_0x1b2f9c,_0x97f8a3,_0x34f446)=>{if('connected'!==_0x34f446)this['channelSessions']['forEach'](_0x3e1844=>_0x3e1844['clear']()),this['channelConnectedUsers']['forEach'](_0x46a03a=>_0x46a03a['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x1399e9,_0x281cbe]of this['_registeredSessions'])for(const _0x770211 of _0x281cbe)this['_handleSessionAdd'](_0x1399e9,_0x770211);}}),this['_createUser'](_0x3f732a['connection']['me'],!0x0);}['register'](_0x3abe84,_0x3a942e){if(this['_registeredSessions']['has'](_0x3abe84))throw new _0x3ae0e8('sessions-register-already-registered',null,{'channelId':_0x3abe84});this['_registeredSessions']['set'](_0x3abe84,_0x3a942e),this['channelSessions']['set'](_0x3abe84,new _0x307d11()),this['channelConnectedUsers']['set'](_0x3abe84,new _0x307d11()),this['listenTo'](_0x3a942e,'add',(_0x2f2541,_0x2f29d5)=>this['_handleSessionAdd'](_0x3abe84,_0x2f29d5)),this['listenTo'](_0x3a942e,'remove',(_0x484e06,_0x30ab7b)=>this['_handleSessionRemove'](_0x3abe84,_0x30ab7b));for(const _0x12a991 of _0x3a942e)this['_handleSessionAdd'](_0x3abe84,_0x12a991);}['unregister'](_0x252ba6){if(!this['_registeredSessions']['has'](_0x252ba6))throw new _0x3ae0e8('sessions-unregister-not-exist',null,{'channelId':_0x252ba6});const _0x2be840=this['_registeredSessions']['get'](_0x252ba6);this['stopListening'](_0x2be840);for(const _0x397a9f of _0x2be840)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x252ba6,_0x397a9f);this['_registeredSessions']['delete'](_0x252ba6),this['channelSessions']['delete'](_0x252ba6),this['channelConnectedUsers']['delete'](_0x252ba6);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x5b72a3){for(const _0x39947f of this['channelSessions']['values']())for(const _0x4eba7f of _0x39947f)if(_0x4eba7f['id']===_0x5b72a3)return _0x4eba7f['user'];}['getUserSessions'](_0x5dc438,_0x54cfbc){const _0x5c3b58=_0x54cfbc?[this['channelSessions']['get'](_0x54cfbc)]:this['channelSessions']['values'](),_0x18ab78=new Set();for(const _0x201568 of _0x5c3b58)for(const _0x3e51f0 of _0x201568)_0x3e51f0['user']['id']===_0x5dc438['id']&&_0x18ab78['add'](_0x3e51f0['id']);return _0x18ab78;}['getUserRole'](_0x538d3e){for(const _0x5d265b of this['channelSessions']['values']())for(const _0x2ad45e of _0x5d265b)if(_0x2ad45e['user']===_0x538d3e)return _0x2ad45e['role'];}['_handleSessionAdd'](_0x151cb9,_0x3a7ac7){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x2bc7ca=_0x3a7ac7['user'],_0x40b9b7=this['_users']['getUser'](_0x2bc7ca['id'])||this['_createUser'](_0x2bc7ca),_0x5e822e=Object['assign']({},_0x3a7ac7,{'user':_0x40b9b7});if(this['channelSessions']['get'](_0x151cb9)['add'](_0x5e822e),!_0x2bc7ca['hiddenInPresenceList']){const _0x4f0d52=this['channelConnectedUsers']['get'](_0x151cb9);_0x4f0d52['has'](_0x40b9b7['id'])||_0x4f0d52['add'](_0x40b9b7),this['allConnectedUsers']['has'](_0x40b9b7['id'])||_0x2bc7ca['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x40b9b7,_0x40b9b7['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x151cb9,{'channelId':_0x151cb9,'session':_0x5e822e});}['_handleSessionRemove'](_0x1492a3,_0x2a668d){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x3ada97=this['channelConnectedUsers']['get'](_0x1492a3),_0x4b888e=_0x2a668d['user'];_0x4b888e['id']&&(this['channelSessions']['get'](_0x1492a3)['remove'](_0x2a668d['id']),_0x3ada97['has'](_0x4b888e['id'])&&!this['getUserSessions'](_0x4b888e,_0x1492a3)['size']&&_0x3ada97['remove'](_0x4b888e['id']),this['allConnectedUsers']['get'](_0x4b888e['id'])&&!this['getUserSessions'](_0x4b888e)['size']&&this['allConnectedUsers']['remove'](_0x4b888e['id']));}['_createUser'](_0x49bf5a,_0xd79e18){const _0x1e576f=this['_users']['addUser'](_0x49bf5a);return _0xd79e18&&this['_users']['defineMe'](_0x49bf5a['id']),_0x1e576f['orderNumber']=this['_uniqueUsersCount']++,_0x1e576f;}}class UserMarkers extends _0x7cf71c{['_domEmitter']=new(_0x1b863a())();static get['requires'](){return[Sessions];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x24c903=this['editor'],_0x4dada7=_0x24c903['plugins']['get'](Sessions);_0x24c903['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x2a8aa3,{writer:_0x39f315})=>function(_0x20b7c6,_0x5568a3,_0x5e9122,_0x404f03){const _0x510313=_0x20b7c6['markerName']['split'](':')[0x2],_0x44097c=_0x5e9122['getUserBySessionId'](_0x510313);if(!_0x44097c||_0x510313===_0x5e9122['mySessionId'])return;if(!_0x404f03['model']['schema']['checkChild'](_0x20b7c6['markerRange']['start'],'$text'))return;const _0x276325={'class':'ck-user__marker\x20'+_0x44097c['color']['getMarkerClass'](),'style':dy(_0x44097c),'data-name':_0x44097c['name'],'data-session-id':_0x510313},_0x304e39=_0x404f03['model']['markers']['get'](_0x20b7c6['markerName']),_0x53055b=_0x304e39['getStart'](),_0x46efa3=_0x53055b['nodeAfter'],_0x20d9cd=_0x404f03['model']['schema'];if(_0x46efa3&&_0x20d9cd['isObject'](_0x46efa3)&&_0x20d9cd['isInline'](_0x46efa3)&&!_0x404f03['model']['markers']['get']('user:range:'+_0x510313)['getRange']()['isCollapsed'])return;const _0x2c3e5d=_0x53055b['parent'];return _0x404f03['model']['schema']['isLimit'](_0x2c3e5d)&&!_0x404f03['model']['hasContent'](_0x2c3e5d)&&(_0x276325['contenteditable']=!0x1),function(_0x489931,_0x2c1dfc,_0x42af80){const _0xe8cf67=_0x489931['createUIElement']('span',_0x2c1dfc);return _0x489931['setCustomProperty']('userPositionMarker',!0x0,_0xe8cf67),_0xe8cf67['render']=function(_0x4d4d6c){const _0x195875=this['toDomElement'](_0x4d4d6c),_0x18d4d7=document['createElement']('span');return _0x18d4d7['classList']['add']('ck-user__marker-tooltip'),_0x18d4d7['setAttribute']('contenteditable','false'),_0x18d4d7['setAttribute']('spellcheck','false'),_0x18d4d7['textContent']=_0x42af80['name'],_0x195875['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x18d4d7['outerHTML']+'⁠',_0x195875['addEventListener']('mouseenter',()=>{_0x195875['classList']['add']('ck-user__marker_hovered');}),_0x195875['addEventListener']('mouseleave',()=>{_0x195875['classList']['remove']('ck-user__marker_hovered');}),_0x195875;},_0xe8cf67['isSimilar']=function(_0x5905d6){return!(!this['getCustomProperty']('userPositionMarker')||!_0x5905d6['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x5905d6['getAttribute']('data-session-id'));},_0xe8cf67;}(_0x5568a3,_0x276325,_0x44097c);}(_0x2a8aa3,_0x39f315,_0x4dada7,_0x24c903)}),_0x24c903['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x487c34=>function(_0x560b83,_0x226f59){const _0x4d37bf=_0x560b83['markerName']['split'](':')[0x2];if(_0x4d37bf===_0x226f59['mySessionId'])return null;const _0x50b09b=_0x226f59['getUserBySessionId'](_0x4d37bf);if(!_0x50b09b)return{'id':_0x4d37bf,'classes':[]};return{'id':_0x4d37bf,'classes':['ck-user__selection',_0x50b09b['color']['getSelectionClass']()],'attributes':{'style':dy(_0x50b09b),'data-session-id':_0x4d37bf},'priority':0x7d0+_0x50b09b['orderNumber']};}(_0x487c34,_0x4dada7)}),function(_0x412bad){const _0x392fbc=_0x412bad['model'],_0x2cfe2e=new Map(),_0x139340=_0x412bad['plugins']['get'](Sessions);_0x392fbc['markers']['on']('update:user:range',(_0x68068d,_0x2786b2,_0x191d66,_0x48c5c2)=>{if(!_0x48c5c2&&_0x2cfe2e['get'](_0x2786b2['name']))return _0x2cfe2e['get'](_0x2786b2['name'])['detach'](),void _0x2cfe2e['delete'](_0x2786b2['name']);const _0x2c3bab=_0x2786b2['name']['split'](':')[0x2];if(_0x2c3bab===_0x139340['mySessionId'])return;const _0x364bf2='user:position:'+_0x2c3bab;_0x392fbc['markers']['has'](_0x364bf2)&&_0x412bad['editing']['reconvertMarker'](_0x364bf2),_0x2786b2['on']('change:range',(_0x1449c0,_0x4e75fe,_0xadaede)=>{if('$graveyard'!=_0x4e75fe['root']['rootName']&&'$graveyard'==_0x2786b2['getRange']()['root']['rootName']&&!_0x2cfe2e['has'](_0x2786b2['name'])){const _0x188874=_0x392fbc['schema']['getNearestSelectionRange'](_0xadaede['deletionPosition']);if(_0x188874){const _0x5ce99b=_0x495f74['fromRange'](_0x188874);_0x2cfe2e['set'](_0x2786b2['name'],_0x5ce99b),_0x5ce99b['on']('change:range',(_0x30562e,_0x5b73fb,_0x3366e9)=>{if('$graveyard'==_0x5ce99b['root']['rootName']){const _0x18fa45=_0x392fbc['schema']['getNearestSelectionRange'](_0x3366e9['deletionPosition']);_0x18fa45?(_0x5ce99b['start']=_0x18fa45['start'],_0x5ce99b['end']=_0x18fa45['end']):(_0x2cfe2e['delete'](_0x2786b2['name']),_0x5ce99b['detach']());}});}}});}),_0x392fbc['document']['on']('change',()=>{_0x2cfe2e['size']>0x0&&_0x392fbc['enqueueChange']({'isUndoable':!0x1},_0x17a68d=>{for(const [_0x333df1,_0x33f8b4]of _0x2cfe2e)'$graveyard'==_0x392fbc['markers']['get'](_0x333df1)['getRange']()['root']['rootName']&&(uy(_0x333df1['split'](':')[0x2],_0x33f8b4['toRange'](),_0x392fbc,_0x17a68d),_0x33f8b4['detach']());_0x2cfe2e['clear']();});});}(_0x24c903),this['_domEmitter']['listenTo'](_0x37cedc['document'],'keydown',(_0x289451,{key:_0x89ef94})=>{'Escape'===_0x89ef94&&function(_0x43c5d1){_0x43c5d1['editing']['view']['change'](_0x55e0c8=>{for(const _0x282546 of _0x43c5d1['model']['markers']){if(!_0x282546['name']['startsWith']('user:position'))continue;const _0x1fbcca=_0x43c5d1['editing']['mapper']['markerNameToElements'](_0x282546['name']);if(_0x1fbcca){for(const _0xffe92f of _0x1fbcca)_0x55e0c8['removeClass']('ck-user__marker_hovered',_0xffe92f);}}});}(_0x24c903);},{'useCapture':!0x0});}['afterInit'](){const _0x3a6842=this['editor'],_0x44cda9=_0x3a6842['commands']['get']('undo');_0x44cda9&&_0x3a6842['model']['on']('applyOperation',(_0x37554d,_0x594cf9)=>{const _0x245c84=_0x594cf9[0x0];if(!_0x245c84['isDocumentOperation'])return;if('marker'!=_0x245c84['type']||!_0x245c84['name']['startsWith']('user:'))return;const _0x40ff98=_0x245c84['batch'];_0x44cda9['_createdBatches']['has'](_0x40ff98)&&(_0x245c84['newRange']=_0x245c84['oldRange']?_0x3a6842['model']['createRange'](_0x245c84['oldRange']['start'],_0x245c84['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x297df2=this['editor'],_0xc225e9=_0x297df2['model']['document'],_0x1bd1e5=_0x297df2['plugins']['get'](Sessions);_0x297df2['model']['enqueueChange']({'isUndoable':!0x1},_0xd7207b=>{const _0xf2a575='user:range:'+_0x1bd1e5['mySessionId'],_0x26cc54='user:position:'+_0x1bd1e5['mySessionId'],_0x519342=_0x297df2['model']['markers']['has'](_0xf2a575);_0x297df2['editing']['view']['hasDomSelection']?uy(_0x1bd1e5['mySessionId'],_0xc225e9['selection']['getFirstRange'](),_0x297df2['model'],_0xd7207b):_0x519342&&(_0xd7207b['removeMarker'](_0xf2a575),_0xd7207b['removeMarker'](_0x26cc54));});}}function uy(_0x316664,_0x10226b,_0x5b2aca,_0x314207){const _0xfda92='user:range:'+_0x316664,_0x306eec='user:position:'+_0x316664,_0x4ce5a8=_0x10226b['getContainedElement']();let _0x3d263a=_0x10226b['start'];if(_0x4ce5a8&&_0x4ce5a8['is']('element','tableCell')){const _0x42566c=function(_0x58707e,_0x246304){for(const _0x53457c of _0x58707e['getPositions']())if(_0x246304['schema']['checkChild'](_0x53457c,'$text'))return _0x53457c;}(_0x10226b,_0x5b2aca);_0x42566c&&(_0x3d263a=_0x42566c,_0x10226b=_0x314207['createRange'](_0x3d263a));}const _0x49c5dc=_0x314207['createRange'](_0x3d263a);_0x5b2aca['markers']['has'](_0xfda92)?(_0x314207['updateMarker'](_0xfda92,{'range':_0x10226b}),_0x314207['updateMarker'](_0x306eec,{'range':_0x49c5dc})):(_0x314207['addMarker'](_0xfda92,{'range':_0x10226b,'usingOperation':!0x0}),_0x314207['addMarker'](_0x306eec,{'range':_0x49c5dc,'usingOperation':!0x0}));}function dy(_0x4d0bda){return'--ck-user-color:'+_0x4d0bda['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x4d0bda['color']['getColorAlphaVariable']()+';';}function fy(_0x23a9dc,_0x3288cf,_0x520546){const _0x598fed=_0x23a9dc['t'],t=_0x23a9dc['t'];switch(_0x3288cf){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 _0x598fed({'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'},_0x520546);default:return'';}}const my=/* #__PURE__ -- @preserve */
((()=>{var _0x2a1517=vw['Reader'],_0x32eb31=vw['Writer'],_0x509dd0=vw['util'],_0x2307b0=vw['roots']['default']||(vw['roots']['default']={});return _0x2307b0['AttributeOperation']=(function(){function _0x150f2b(_0x3ff3ed){if(_0x3ff3ed){for(var _0xb631d4=Object['keys'](_0x3ff3ed),_0x36aab3=0x0;_0x36aab3<_0xb631d4['length'];++_0x36aab3)null!=_0x3ff3ed[_0xb631d4[_0x36aab3]]&&'__proto__'!==_0xb631d4[_0x36aab3]&&(this[_0xb631d4[_0x36aab3]]=_0x3ff3ed[_0xb631d4[_0x36aab3]]);}}return _0x150f2b['prototype']['range']=null,_0x150f2b['prototype']['key']='',_0x150f2b['prototype']['oldValueBoolean']=!0x1,_0x150f2b['prototype']['oldValueJson']='',_0x150f2b['prototype']['newValueBoolean']=!0x1,_0x150f2b['prototype']['newValueJson']='',_0x150f2b['prototype']['wasUndone']=!0x1,_0x150f2b['create']=function(_0x2e7014){return new _0x150f2b(_0x2e7014);},_0x150f2b['encode']=function(_0x48858c,_0x36cde7){return _0x36cde7||(_0x36cde7=_0x32eb31['create']()),null!=_0x48858c['range']&&Object['hasOwnProperty']['call'](_0x48858c,'range')&&_0x2307b0['Range']['encode'](_0x48858c['range'],_0x36cde7['uint32'](0xa)['fork']())['ldelim'](),null!=_0x48858c['key']&&Object['hasOwnProperty']['call'](_0x48858c,'key')&&_0x36cde7['uint32'](0x12)['string'](_0x48858c['key']),null!=_0x48858c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x48858c,'oldValueBoolean')&&_0x36cde7['uint32'](0x18)['bool'](_0x48858c['oldValueBoolean']),null!=_0x48858c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x48858c,'oldValueJson')&&_0x36cde7['uint32'](0x22)['string'](_0x48858c['oldValueJson']),null!=_0x48858c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x48858c,'newValueBoolean')&&_0x36cde7['uint32'](0x28)['bool'](_0x48858c['newValueBoolean']),null!=_0x48858c['newValueJson']&&Object['hasOwnProperty']['call'](_0x48858c,'newValueJson')&&_0x36cde7['uint32'](0x32)['string'](_0x48858c['newValueJson']),null!=_0x48858c['wasUndone']&&Object['hasOwnProperty']['call'](_0x48858c,'wasUndone')&&_0x36cde7['uint32'](0x38)['bool'](_0x48858c['wasUndone']),_0x36cde7;},_0x150f2b['encodeDelimited']=function(_0x5ac4a2,_0x4f7b50){return this['encode'](_0x5ac4a2,_0x4f7b50)['ldelim']();},_0x150f2b['decode']=function(_0x4f43ed,_0x510241,_0x401360,_0x5d066f){if(_0x4f43ed instanceof _0x2a1517||(_0x4f43ed=_0x2a1517['create'](_0x4f43ed)),void 0x0===_0x5d066f&&(_0x5d066f=0x0),_0x5d066f>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x636ffd=void 0x0===_0x510241?_0x4f43ed['len']:_0x4f43ed['pos']+_0x510241,_0x108b5e=new _0x2307b0['AttributeOperation']();_0x4f43ed['pos']<_0x636ffd;){var _0x5bd840=_0x4f43ed['uint32']();if(_0x5bd840===_0x401360)break;switch(_0x5bd840>>>0x3){case 0x1:_0x108b5e['range']=_0x2307b0['Range']['decode'](_0x4f43ed,_0x4f43ed['uint32'](),void 0x0,_0x5d066f+0x1);break;case 0x2:_0x108b5e['key']=_0x4f43ed['string']();break;case 0x3:_0x108b5e['oldValueBoolean']=_0x4f43ed['bool']();break;case 0x4:_0x108b5e['oldValueJson']=_0x4f43ed['string']();break;case 0x5:_0x108b5e['newValueBoolean']=_0x4f43ed['bool']();break;case 0x6:_0x108b5e['newValueJson']=_0x4f43ed['string']();break;case 0x7:_0x108b5e['wasUndone']=_0x4f43ed['bool']();break;default:_0x4f43ed['skipType'](0x7&_0x5bd840,_0x5d066f);}}return _0x108b5e;},_0x150f2b['decodeDelimited']=function(_0x312f69){return _0x312f69 instanceof _0x2a1517||(_0x312f69=new _0x2a1517(_0x312f69)),this['decode'](_0x312f69,_0x312f69['uint32']());},_0x150f2b['verify']=function(_0x443edc,_0x551328){if('object'!=typeof _0x443edc||null===_0x443edc)return'object\x20expected';if(void 0x0===_0x551328&&(_0x551328=0x0),_0x551328>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x443edc['range']&&_0x443edc['hasOwnProperty']('range')){var _0x2bde93=_0x2307b0['Range']['verify'](_0x443edc['range'],_0x551328+0x1);if(_0x2bde93)return'range.'+_0x2bde93;}return null!=_0x443edc['key']&&_0x443edc['hasOwnProperty']('key')&&!_0x509dd0['isString'](_0x443edc['key'])?'key:\x20string\x20expected':null!=_0x443edc['oldValueBoolean']&&_0x443edc['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x443edc['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x443edc['oldValueJson']&&_0x443edc['hasOwnProperty']('oldValueJson')&&!_0x509dd0['isString'](_0x443edc['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x443edc['newValueBoolean']&&_0x443edc['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x443edc['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x443edc['newValueJson']&&_0x443edc['hasOwnProperty']('newValueJson')&&!_0x509dd0['isString'](_0x443edc['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x443edc['wasUndone']&&_0x443edc['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x443edc['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x150f2b['fromObject']=function(_0x34f1c1,_0x335e1f){if(_0x34f1c1 instanceof _0x2307b0['AttributeOperation'])return _0x34f1c1;if(void 0x0===_0x335e1f&&(_0x335e1f=0x0),_0x335e1f>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd47a07=new _0x2307b0['AttributeOperation']();if(null!=_0x34f1c1['range']){if('object'!=typeof _0x34f1c1['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0xd47a07['range']=_0x2307b0['Range']['fromObject'](_0x34f1c1['range'],_0x335e1f+0x1);}return null!=_0x34f1c1['key']&&(_0xd47a07['key']=String(_0x34f1c1['key'])),null!=_0x34f1c1['oldValueBoolean']&&(_0xd47a07['oldValueBoolean']=Boolean(_0x34f1c1['oldValueBoolean'])),null!=_0x34f1c1['oldValueJson']&&(_0xd47a07['oldValueJson']=String(_0x34f1c1['oldValueJson'])),null!=_0x34f1c1['newValueBoolean']&&(_0xd47a07['newValueBoolean']=Boolean(_0x34f1c1['newValueBoolean'])),null!=_0x34f1c1['newValueJson']&&(_0xd47a07['newValueJson']=String(_0x34f1c1['newValueJson'])),null!=_0x34f1c1['wasUndone']&&(_0xd47a07['wasUndone']=Boolean(_0x34f1c1['wasUndone'])),_0xd47a07;},_0x150f2b['toObject']=function(_0x2ddbc6,_0x5f1fde){_0x5f1fde||(_0x5f1fde={});var _0x8b66a2={};return _0x5f1fde['defaults']&&(_0x8b66a2['range']=null,_0x8b66a2['key']='',_0x8b66a2['oldValueBoolean']=!0x1,_0x8b66a2['oldValueJson']='',_0x8b66a2['newValueBoolean']=!0x1,_0x8b66a2['newValueJson']='',_0x8b66a2['wasUndone']=!0x1),null!=_0x2ddbc6['range']&&_0x2ddbc6['hasOwnProperty']('range')&&(_0x8b66a2['range']=_0x2307b0['Range']['toObject'](_0x2ddbc6['range'],_0x5f1fde)),null!=_0x2ddbc6['key']&&_0x2ddbc6['hasOwnProperty']('key')&&(_0x8b66a2['key']=_0x2ddbc6['key']),null!=_0x2ddbc6['oldValueBoolean']&&_0x2ddbc6['hasOwnProperty']('oldValueBoolean')&&(_0x8b66a2['oldValueBoolean']=_0x2ddbc6['oldValueBoolean']),null!=_0x2ddbc6['oldValueJson']&&_0x2ddbc6['hasOwnProperty']('oldValueJson')&&(_0x8b66a2['oldValueJson']=_0x2ddbc6['oldValueJson']),null!=_0x2ddbc6['newValueBoolean']&&_0x2ddbc6['hasOwnProperty']('newValueBoolean')&&(_0x8b66a2['newValueBoolean']=_0x2ddbc6['newValueBoolean']),null!=_0x2ddbc6['newValueJson']&&_0x2ddbc6['hasOwnProperty']('newValueJson')&&(_0x8b66a2['newValueJson']=_0x2ddbc6['newValueJson']),null!=_0x2ddbc6['wasUndone']&&_0x2ddbc6['hasOwnProperty']('wasUndone')&&(_0x8b66a2['wasUndone']=_0x2ddbc6['wasUndone']),_0x8b66a2;},_0x150f2b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x150f2b['getTypeUrl']=function(_0xc307ca){return void 0x0===_0xc307ca&&(_0xc307ca='type.googleapis.com'),_0xc307ca+'/AttributeOperation';},_0x150f2b;}()),_0x2307b0['InsertOperation']=(function(){function _0x44ab8e(_0x28e7be){if(this['nodes']=[],_0x28e7be){for(var _0x598044=Object['keys'](_0x28e7be),_0x1b9ea1=0x0;_0x1b9ea1<_0x598044['length'];++_0x1b9ea1)null!=_0x28e7be[_0x598044[_0x1b9ea1]]&&'__proto__'!==_0x598044[_0x1b9ea1]&&(this[_0x598044[_0x1b9ea1]]=_0x28e7be[_0x598044[_0x1b9ea1]]);}}return _0x44ab8e['prototype']['position']=null,_0x44ab8e['prototype']['nodes']=_0x509dd0['emptyArray'],_0x44ab8e['prototype']['shouldReceiveAttributes']=!0x1,_0x44ab8e['prototype']['wasUndone']=!0x1,_0x44ab8e['create']=function(_0x390436){return new _0x44ab8e(_0x390436);},_0x44ab8e['encode']=function(_0x1c0bc5,_0x1c32bc){if(_0x1c32bc||(_0x1c32bc=_0x32eb31['create']()),null!=_0x1c0bc5['position']&&Object['hasOwnProperty']['call'](_0x1c0bc5,'position')&&_0x2307b0['Position']['encode'](_0x1c0bc5['position'],_0x1c32bc['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1c0bc5['nodes']&&_0x1c0bc5['nodes']['length']){for(var _0x3ad004=0x0;_0x3ad004<_0x1c0bc5['nodes']['length'];++_0x3ad004)_0x2307b0['Element']['encode'](_0x1c0bc5['nodes'][_0x3ad004],_0x1c32bc['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x1c0bc5['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x1c0bc5,'shouldReceiveAttributes')&&_0x1c32bc['uint32'](0x18)['bool'](_0x1c0bc5['shouldReceiveAttributes']),null!=_0x1c0bc5['wasUndone']&&Object['hasOwnProperty']['call'](_0x1c0bc5,'wasUndone')&&_0x1c32bc['uint32'](0x20)['bool'](_0x1c0bc5['wasUndone']),_0x1c32bc;},_0x44ab8e['encodeDelimited']=function(_0x1d9aa9,_0x369657){return this['encode'](_0x1d9aa9,_0x369657)['ldelim']();},_0x44ab8e['decode']=function(_0x1b5d48,_0x14efbf,_0x5756d7,_0x136e8a){if(_0x1b5d48 instanceof _0x2a1517||(_0x1b5d48=_0x2a1517['create'](_0x1b5d48)),void 0x0===_0x136e8a&&(_0x136e8a=0x0),_0x136e8a>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33b2be=void 0x0===_0x14efbf?_0x1b5d48['len']:_0x1b5d48['pos']+_0x14efbf,_0x119bc6=new _0x2307b0['InsertOperation']();_0x1b5d48['pos']<_0x33b2be;){var _0xf392a4=_0x1b5d48['uint32']();if(_0xf392a4===_0x5756d7)break;switch(_0xf392a4>>>0x3){case 0x1:_0x119bc6['position']=_0x2307b0['Position']['decode'](_0x1b5d48,_0x1b5d48['uint32'](),void 0x0,_0x136e8a+0x1);break;case 0x2:_0x119bc6['nodes']&&_0x119bc6['nodes']['length']||(_0x119bc6['nodes']=[]),_0x119bc6['nodes']['push'](_0x2307b0['Element']['decode'](_0x1b5d48,_0x1b5d48['uint32'](),void 0x0,_0x136e8a+0x1));break;case 0x3:_0x119bc6['shouldReceiveAttributes']=_0x1b5d48['bool']();break;case 0x4:_0x119bc6['wasUndone']=_0x1b5d48['bool']();break;default:_0x1b5d48['skipType'](0x7&_0xf392a4,_0x136e8a);}}return _0x119bc6;},_0x44ab8e['decodeDelimited']=function(_0x349426){return _0x349426 instanceof _0x2a1517||(_0x349426=new _0x2a1517(_0x349426)),this['decode'](_0x349426,_0x349426['uint32']());},_0x44ab8e['verify']=function(_0x35907a,_0x34b3f4){if('object'!=typeof _0x35907a||null===_0x35907a)return'object\x20expected';if(void 0x0===_0x34b3f4&&(_0x34b3f4=0x0),_0x34b3f4>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x35907a['position']&&_0x35907a['hasOwnProperty']('position')&&(_0x334cba=_0x2307b0['Position']['verify'](_0x35907a['position'],_0x34b3f4+0x1)))return'position.'+_0x334cba;if(null!=_0x35907a['nodes']&&_0x35907a['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x35907a['nodes']))return'nodes:\x20array\x20expected';for(var _0x354cf2=0x0;_0x354cf2<_0x35907a['nodes']['length'];++_0x354cf2){var _0x334cba;if(_0x334cba=_0x2307b0['Element']['verify'](_0x35907a['nodes'][_0x354cf2],_0x34b3f4+0x1))return'nodes.'+_0x334cba;}}return null!=_0x35907a['shouldReceiveAttributes']&&_0x35907a['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x35907a['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x35907a['wasUndone']&&_0x35907a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x35907a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x44ab8e['fromObject']=function(_0x454740,_0x50a3d9){if(_0x454740 instanceof _0x2307b0['InsertOperation'])return _0x454740;if(void 0x0===_0x50a3d9&&(_0x50a3d9=0x0),_0x50a3d9>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2329d1=new _0x2307b0['InsertOperation']();if(null!=_0x454740['position']){if('object'!=typeof _0x454740['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x2329d1['position']=_0x2307b0['Position']['fromObject'](_0x454740['position'],_0x50a3d9+0x1);}if(_0x454740['nodes']){if(!Array['isArray'](_0x454740['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x2329d1['nodes']=[];for(var _0x4cb570=0x0;_0x4cb570<_0x454740['nodes']['length'];++_0x4cb570){if('object'!=typeof _0x454740['nodes'][_0x4cb570])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x2329d1['nodes'][_0x4cb570]=_0x2307b0['Element']['fromObject'](_0x454740['nodes'][_0x4cb570],_0x50a3d9+0x1);}}return null!=_0x454740['shouldReceiveAttributes']&&(_0x2329d1['shouldReceiveAttributes']=Boolean(_0x454740['shouldReceiveAttributes'])),null!=_0x454740['wasUndone']&&(_0x2329d1['wasUndone']=Boolean(_0x454740['wasUndone'])),_0x2329d1;},_0x44ab8e['toObject']=function(_0x2bedd5,_0x42562a){_0x42562a||(_0x42562a={});var _0x9753f3={};if((_0x42562a['arrays']||_0x42562a['defaults'])&&(_0x9753f3['nodes']=[]),_0x42562a['defaults']&&(_0x9753f3['position']=null,_0x9753f3['shouldReceiveAttributes']=!0x1,_0x9753f3['wasUndone']=!0x1),null!=_0x2bedd5['position']&&_0x2bedd5['hasOwnProperty']('position')&&(_0x9753f3['position']=_0x2307b0['Position']['toObject'](_0x2bedd5['position'],_0x42562a)),_0x2bedd5['nodes']&&_0x2bedd5['nodes']['length']){_0x9753f3['nodes']=[];for(var _0xda42f2=0x0;_0xda42f2<_0x2bedd5['nodes']['length'];++_0xda42f2)_0x9753f3['nodes'][_0xda42f2]=_0x2307b0['Element']['toObject'](_0x2bedd5['nodes'][_0xda42f2],_0x42562a);}return null!=_0x2bedd5['shouldReceiveAttributes']&&_0x2bedd5['hasOwnProperty']('shouldReceiveAttributes')&&(_0x9753f3['shouldReceiveAttributes']=_0x2bedd5['shouldReceiveAttributes']),null!=_0x2bedd5['wasUndone']&&_0x2bedd5['hasOwnProperty']('wasUndone')&&(_0x9753f3['wasUndone']=_0x2bedd5['wasUndone']),_0x9753f3;},_0x44ab8e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x44ab8e['getTypeUrl']=function(_0x1a840a){return void 0x0===_0x1a840a&&(_0x1a840a='type.googleapis.com'),_0x1a840a+'/InsertOperation';},_0x44ab8e;}()),_0x2307b0['MarkerOperation']=(function(){function _0x53a49e(_0x123acc){if(_0x123acc){for(var _0x239ff1=Object['keys'](_0x123acc),_0x645688=0x0;_0x645688<_0x239ff1['length'];++_0x645688)null!=_0x123acc[_0x239ff1[_0x645688]]&&'__proto__'!==_0x239ff1[_0x645688]&&(this[_0x239ff1[_0x645688]]=_0x123acc[_0x239ff1[_0x645688]]);}}return _0x53a49e['prototype']['name']='',_0x53a49e['prototype']['oldRange']=null,_0x53a49e['prototype']['newRange']=null,_0x53a49e['prototype']['affectsData']=!0x1,_0x53a49e['prototype']['wasUndone']=!0x1,_0x53a49e['create']=function(_0x4ff6a6){return new _0x53a49e(_0x4ff6a6);},_0x53a49e['encode']=function(_0x2b5815,_0xbbab2d){return _0xbbab2d||(_0xbbab2d=_0x32eb31['create']()),null!=_0x2b5815['name']&&Object['hasOwnProperty']['call'](_0x2b5815,'name')&&_0xbbab2d['uint32'](0xa)['string'](_0x2b5815['name']),null!=_0x2b5815['oldRange']&&Object['hasOwnProperty']['call'](_0x2b5815,'oldRange')&&_0x2307b0['Range']['encode'](_0x2b5815['oldRange'],_0xbbab2d['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2b5815['newRange']&&Object['hasOwnProperty']['call'](_0x2b5815,'newRange')&&_0x2307b0['Range']['encode'](_0x2b5815['newRange'],_0xbbab2d['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2b5815['affectsData']&&Object['hasOwnProperty']['call'](_0x2b5815,'affectsData')&&_0xbbab2d['uint32'](0x20)['bool'](_0x2b5815['affectsData']),null!=_0x2b5815['wasUndone']&&Object['hasOwnProperty']['call'](_0x2b5815,'wasUndone')&&_0xbbab2d['uint32'](0x28)['bool'](_0x2b5815['wasUndone']),_0xbbab2d;},_0x53a49e['encodeDelimited']=function(_0x5f2fdf,_0x3c36fc){return this['encode'](_0x5f2fdf,_0x3c36fc)['ldelim']();},_0x53a49e['decode']=function(_0x10e66a,_0x55c63f,_0x108165,_0x2c92bc){if(_0x10e66a instanceof _0x2a1517||(_0x10e66a=_0x2a1517['create'](_0x10e66a)),void 0x0===_0x2c92bc&&(_0x2c92bc=0x0),_0x2c92bc>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f4bb4=void 0x0===_0x55c63f?_0x10e66a['len']:_0x10e66a['pos']+_0x55c63f,_0x8d0418=new _0x2307b0['MarkerOperation']();_0x10e66a['pos']<_0x4f4bb4;){var _0x2d7994=_0x10e66a['uint32']();if(_0x2d7994===_0x108165)break;switch(_0x2d7994>>>0x3){case 0x1:_0x8d0418['name']=_0x10e66a['string']();break;case 0x2:_0x8d0418['oldRange']=_0x2307b0['Range']['decode'](_0x10e66a,_0x10e66a['uint32'](),void 0x0,_0x2c92bc+0x1);break;case 0x3:_0x8d0418['newRange']=_0x2307b0['Range']['decode'](_0x10e66a,_0x10e66a['uint32'](),void 0x0,_0x2c92bc+0x1);break;case 0x4:_0x8d0418['affectsData']=_0x10e66a['bool']();break;case 0x5:_0x8d0418['wasUndone']=_0x10e66a['bool']();break;default:_0x10e66a['skipType'](0x7&_0x2d7994,_0x2c92bc);}}return _0x8d0418;},_0x53a49e['decodeDelimited']=function(_0x195e7f){return _0x195e7f instanceof _0x2a1517||(_0x195e7f=new _0x2a1517(_0x195e7f)),this['decode'](_0x195e7f,_0x195e7f['uint32']());},_0x53a49e['verify']=function(_0x47dd3d,_0x172bbb){if('object'!=typeof _0x47dd3d||null===_0x47dd3d)return'object\x20expected';if(void 0x0===_0x172bbb&&(_0x172bbb=0x0),_0x172bbb>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x47dd3d['name']&&_0x47dd3d['hasOwnProperty']('name')&&!_0x509dd0['isString'](_0x47dd3d['name']))return'name:\x20string\x20expected';var _0x5b1a92;if(null!=_0x47dd3d['oldRange']&&_0x47dd3d['hasOwnProperty']('oldRange')&&(_0x5b1a92=_0x2307b0['Range']['verify'](_0x47dd3d['oldRange'],_0x172bbb+0x1)))return'oldRange.'+_0x5b1a92;if(null!=_0x47dd3d['newRange']&&_0x47dd3d['hasOwnProperty']('newRange')&&(_0x5b1a92=_0x2307b0['Range']['verify'](_0x47dd3d['newRange'],_0x172bbb+0x1)))return'newRange.'+_0x5b1a92;return null!=_0x47dd3d['affectsData']&&_0x47dd3d['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x47dd3d['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x47dd3d['wasUndone']&&_0x47dd3d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x47dd3d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x53a49e['fromObject']=function(_0x43429c,_0x304222){if(_0x43429c instanceof _0x2307b0['MarkerOperation'])return _0x43429c;if(void 0x0===_0x304222&&(_0x304222=0x0),_0x304222>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1922a3=new _0x2307b0['MarkerOperation']();if(null!=_0x43429c['name']&&(_0x1922a3['name']=String(_0x43429c['name'])),null!=_0x43429c['oldRange']){if('object'!=typeof _0x43429c['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x1922a3['oldRange']=_0x2307b0['Range']['fromObject'](_0x43429c['oldRange'],_0x304222+0x1);}if(null!=_0x43429c['newRange']){if('object'!=typeof _0x43429c['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x1922a3['newRange']=_0x2307b0['Range']['fromObject'](_0x43429c['newRange'],_0x304222+0x1);}return null!=_0x43429c['affectsData']&&(_0x1922a3['affectsData']=Boolean(_0x43429c['affectsData'])),null!=_0x43429c['wasUndone']&&(_0x1922a3['wasUndone']=Boolean(_0x43429c['wasUndone'])),_0x1922a3;},_0x53a49e['toObject']=function(_0x46df85,_0x124283){_0x124283||(_0x124283={});var _0x35cd54={};return _0x124283['defaults']&&(_0x35cd54['name']='',_0x35cd54['oldRange']=null,_0x35cd54['newRange']=null,_0x35cd54['affectsData']=!0x1,_0x35cd54['wasUndone']=!0x1),null!=_0x46df85['name']&&_0x46df85['hasOwnProperty']('name')&&(_0x35cd54['name']=_0x46df85['name']),null!=_0x46df85['oldRange']&&_0x46df85['hasOwnProperty']('oldRange')&&(_0x35cd54['oldRange']=_0x2307b0['Range']['toObject'](_0x46df85['oldRange'],_0x124283)),null!=_0x46df85['newRange']&&_0x46df85['hasOwnProperty']('newRange')&&(_0x35cd54['newRange']=_0x2307b0['Range']['toObject'](_0x46df85['newRange'],_0x124283)),null!=_0x46df85['affectsData']&&_0x46df85['hasOwnProperty']('affectsData')&&(_0x35cd54['affectsData']=_0x46df85['affectsData']),null!=_0x46df85['wasUndone']&&_0x46df85['hasOwnProperty']('wasUndone')&&(_0x35cd54['wasUndone']=_0x46df85['wasUndone']),_0x35cd54;},_0x53a49e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x53a49e['getTypeUrl']=function(_0x474033){return void 0x0===_0x474033&&(_0x474033='type.googleapis.com'),_0x474033+'/MarkerOperation';},_0x53a49e;}()),_0x2307b0['MergeOperation']=(function(){function _0x16ca24(_0x2b6a6d){if(_0x2b6a6d){for(var _0x49bff7=Object['keys'](_0x2b6a6d),_0x38906c=0x0;_0x38906c<_0x49bff7['length'];++_0x38906c)null!=_0x2b6a6d[_0x49bff7[_0x38906c]]&&'__proto__'!==_0x49bff7[_0x38906c]&&(this[_0x49bff7[_0x38906c]]=_0x2b6a6d[_0x49bff7[_0x38906c]]);}}return _0x16ca24['prototype']['sourcePosition']=null,_0x16ca24['prototype']['targetPosition']=null,_0x16ca24['prototype']['graveyardPosition']=null,_0x16ca24['prototype']['howMany']=0x0,_0x16ca24['prototype']['wasUndone']=!0x1,_0x16ca24['create']=function(_0x2feb5c){return new _0x16ca24(_0x2feb5c);},_0x16ca24['encode']=function(_0x239dd5,_0x5e8200){return _0x5e8200||(_0x5e8200=_0x32eb31['create']()),null!=_0x239dd5['sourcePosition']&&Object['hasOwnProperty']['call'](_0x239dd5,'sourcePosition')&&_0x2307b0['Position']['encode'](_0x239dd5['sourcePosition'],_0x5e8200['uint32'](0xa)['fork']())['ldelim'](),null!=_0x239dd5['targetPosition']&&Object['hasOwnProperty']['call'](_0x239dd5,'targetPosition')&&_0x2307b0['Position']['encode'](_0x239dd5['targetPosition'],_0x5e8200['uint32'](0x12)['fork']())['ldelim'](),null!=_0x239dd5['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x239dd5,'graveyardPosition')&&_0x2307b0['Position']['encode'](_0x239dd5['graveyardPosition'],_0x5e8200['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x239dd5['howMany']&&Object['hasOwnProperty']['call'](_0x239dd5,'howMany')&&_0x5e8200['uint32'](0x20)['uint32'](_0x239dd5['howMany']),null!=_0x239dd5['wasUndone']&&Object['hasOwnProperty']['call'](_0x239dd5,'wasUndone')&&_0x5e8200['uint32'](0x28)['bool'](_0x239dd5['wasUndone']),_0x5e8200;},_0x16ca24['encodeDelimited']=function(_0x10e715,_0x15d402){return this['encode'](_0x10e715,_0x15d402)['ldelim']();},_0x16ca24['decode']=function(_0x31e69a,_0x4189f5,_0xd54777,_0x54aaea){if(_0x31e69a instanceof _0x2a1517||(_0x31e69a=_0x2a1517['create'](_0x31e69a)),void 0x0===_0x54aaea&&(_0x54aaea=0x0),_0x54aaea>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4192c6=void 0x0===_0x4189f5?_0x31e69a['len']:_0x31e69a['pos']+_0x4189f5,_0xa940c1=new _0x2307b0['MergeOperation']();_0x31e69a['pos']<_0x4192c6;){var _0x266bd0=_0x31e69a['uint32']();if(_0x266bd0===_0xd54777)break;switch(_0x266bd0>>>0x3){case 0x1:_0xa940c1['sourcePosition']=_0x2307b0['Position']['decode'](_0x31e69a,_0x31e69a['uint32'](),void 0x0,_0x54aaea+0x1);break;case 0x2:_0xa940c1['targetPosition']=_0x2307b0['Position']['decode'](_0x31e69a,_0x31e69a['uint32'](),void 0x0,_0x54aaea+0x1);break;case 0x3:_0xa940c1['graveyardPosition']=_0x2307b0['Position']['decode'](_0x31e69a,_0x31e69a['uint32'](),void 0x0,_0x54aaea+0x1);break;case 0x4:_0xa940c1['howMany']=_0x31e69a['uint32']();break;case 0x5:_0xa940c1['wasUndone']=_0x31e69a['bool']();break;default:_0x31e69a['skipType'](0x7&_0x266bd0,_0x54aaea);}}return _0xa940c1;},_0x16ca24['decodeDelimited']=function(_0x342aa3){return _0x342aa3 instanceof _0x2a1517||(_0x342aa3=new _0x2a1517(_0x342aa3)),this['decode'](_0x342aa3,_0x342aa3['uint32']());},_0x16ca24['verify']=function(_0x4c578a,_0x6484b2){if('object'!=typeof _0x4c578a||null===_0x4c578a)return'object\x20expected';if(void 0x0===_0x6484b2&&(_0x6484b2=0x0),_0x6484b2>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2aa2c8;if(null!=_0x4c578a['sourcePosition']&&_0x4c578a['hasOwnProperty']('sourcePosition')&&(_0x2aa2c8=_0x2307b0['Position']['verify'](_0x4c578a['sourcePosition'],_0x6484b2+0x1)))return'sourcePosition.'+_0x2aa2c8;if(null!=_0x4c578a['targetPosition']&&_0x4c578a['hasOwnProperty']('targetPosition')&&(_0x2aa2c8=_0x2307b0['Position']['verify'](_0x4c578a['targetPosition'],_0x6484b2+0x1)))return'targetPosition.'+_0x2aa2c8;if(null!=_0x4c578a['graveyardPosition']&&_0x4c578a['hasOwnProperty']('graveyardPosition')&&(_0x2aa2c8=_0x2307b0['Position']['verify'](_0x4c578a['graveyardPosition'],_0x6484b2+0x1)))return'graveyardPosition.'+_0x2aa2c8;return null!=_0x4c578a['howMany']&&_0x4c578a['hasOwnProperty']('howMany')&&!_0x509dd0['isInteger'](_0x4c578a['howMany'])?'howMany:\x20integer\x20expected':null!=_0x4c578a['wasUndone']&&_0x4c578a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4c578a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x16ca24['fromObject']=function(_0x3ab374,_0x58f896){if(_0x3ab374 instanceof _0x2307b0['MergeOperation'])return _0x3ab374;if(void 0x0===_0x58f896&&(_0x58f896=0x0),_0x58f896>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e2786=new _0x2307b0['MergeOperation']();if(null!=_0x3ab374['sourcePosition']){if('object'!=typeof _0x3ab374['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x5e2786['sourcePosition']=_0x2307b0['Position']['fromObject'](_0x3ab374['sourcePosition'],_0x58f896+0x1);}if(null!=_0x3ab374['targetPosition']){if('object'!=typeof _0x3ab374['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x5e2786['targetPosition']=_0x2307b0['Position']['fromObject'](_0x3ab374['targetPosition'],_0x58f896+0x1);}if(null!=_0x3ab374['graveyardPosition']){if('object'!=typeof _0x3ab374['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x5e2786['graveyardPosition']=_0x2307b0['Position']['fromObject'](_0x3ab374['graveyardPosition'],_0x58f896+0x1);}return null!=_0x3ab374['howMany']&&(_0x5e2786['howMany']=_0x3ab374['howMany']>>>0x0),null!=_0x3ab374['wasUndone']&&(_0x5e2786['wasUndone']=Boolean(_0x3ab374['wasUndone'])),_0x5e2786;},_0x16ca24['toObject']=function(_0x60c7,_0xa3e326){_0xa3e326||(_0xa3e326={});var _0x482d43={};return _0xa3e326['defaults']&&(_0x482d43['sourcePosition']=null,_0x482d43['targetPosition']=null,_0x482d43['graveyardPosition']=null,_0x482d43['howMany']=0x0,_0x482d43['wasUndone']=!0x1),null!=_0x60c7['sourcePosition']&&_0x60c7['hasOwnProperty']('sourcePosition')&&(_0x482d43['sourcePosition']=_0x2307b0['Position']['toObject'](_0x60c7['sourcePosition'],_0xa3e326)),null!=_0x60c7['targetPosition']&&_0x60c7['hasOwnProperty']('targetPosition')&&(_0x482d43['targetPosition']=_0x2307b0['Position']['toObject'](_0x60c7['targetPosition'],_0xa3e326)),null!=_0x60c7['graveyardPosition']&&_0x60c7['hasOwnProperty']('graveyardPosition')&&(_0x482d43['graveyardPosition']=_0x2307b0['Position']['toObject'](_0x60c7['graveyardPosition'],_0xa3e326)),null!=_0x60c7['howMany']&&_0x60c7['hasOwnProperty']('howMany')&&(_0x482d43['howMany']=_0x60c7['howMany']),null!=_0x60c7['wasUndone']&&_0x60c7['hasOwnProperty']('wasUndone')&&(_0x482d43['wasUndone']=_0x60c7['wasUndone']),_0x482d43;},_0x16ca24['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x16ca24['getTypeUrl']=function(_0x239fb7){return void 0x0===_0x239fb7&&(_0x239fb7='type.googleapis.com'),_0x239fb7+'/MergeOperation';},_0x16ca24;}()),_0x2307b0['MoveOperation']=(function(){function _0x3c39c2(_0x36031c){if(_0x36031c){for(var _0x216482=Object['keys'](_0x36031c),_0x26e35b=0x0;_0x26e35b<_0x216482['length'];++_0x26e35b)null!=_0x36031c[_0x216482[_0x26e35b]]&&'__proto__'!==_0x216482[_0x26e35b]&&(this[_0x216482[_0x26e35b]]=_0x36031c[_0x216482[_0x26e35b]]);}}return _0x3c39c2['prototype']['sourcePosition']=null,_0x3c39c2['prototype']['howMany']=0x0,_0x3c39c2['prototype']['targetPosition']=null,_0x3c39c2['prototype']['wasUndone']=!0x1,_0x3c39c2['create']=function(_0x52bffa){return new _0x3c39c2(_0x52bffa);},_0x3c39c2['encode']=function(_0x55ea74,_0x518e67){return _0x518e67||(_0x518e67=_0x32eb31['create']()),null!=_0x55ea74['sourcePosition']&&Object['hasOwnProperty']['call'](_0x55ea74,'sourcePosition')&&_0x2307b0['Position']['encode'](_0x55ea74['sourcePosition'],_0x518e67['uint32'](0xa)['fork']())['ldelim'](),null!=_0x55ea74['howMany']&&Object['hasOwnProperty']['call'](_0x55ea74,'howMany')&&_0x518e67['uint32'](0x10)['uint32'](_0x55ea74['howMany']),null!=_0x55ea74['targetPosition']&&Object['hasOwnProperty']['call'](_0x55ea74,'targetPosition')&&_0x2307b0['Position']['encode'](_0x55ea74['targetPosition'],_0x518e67['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x55ea74['wasUndone']&&Object['hasOwnProperty']['call'](_0x55ea74,'wasUndone')&&_0x518e67['uint32'](0x20)['bool'](_0x55ea74['wasUndone']),_0x518e67;},_0x3c39c2['encodeDelimited']=function(_0x4e64ce,_0x3107f5){return this['encode'](_0x4e64ce,_0x3107f5)['ldelim']();},_0x3c39c2['decode']=function(_0x3a2bdd,_0x340982,_0x59fa4d,_0x25a20c){if(_0x3a2bdd instanceof _0x2a1517||(_0x3a2bdd=_0x2a1517['create'](_0x3a2bdd)),void 0x0===_0x25a20c&&(_0x25a20c=0x0),_0x25a20c>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3556d3=void 0x0===_0x340982?_0x3a2bdd['len']:_0x3a2bdd['pos']+_0x340982,_0x57ca0f=new _0x2307b0['MoveOperation']();_0x3a2bdd['pos']<_0x3556d3;){var _0x302323=_0x3a2bdd['uint32']();if(_0x302323===_0x59fa4d)break;switch(_0x302323>>>0x3){case 0x1:_0x57ca0f['sourcePosition']=_0x2307b0['Position']['decode'](_0x3a2bdd,_0x3a2bdd['uint32'](),void 0x0,_0x25a20c+0x1);break;case 0x2:_0x57ca0f['howMany']=_0x3a2bdd['uint32']();break;case 0x3:_0x57ca0f['targetPosition']=_0x2307b0['Position']['decode'](_0x3a2bdd,_0x3a2bdd['uint32'](),void 0x0,_0x25a20c+0x1);break;case 0x4:_0x57ca0f['wasUndone']=_0x3a2bdd['bool']();break;default:_0x3a2bdd['skipType'](0x7&_0x302323,_0x25a20c);}}return _0x57ca0f;},_0x3c39c2['decodeDelimited']=function(_0x2248eb){return _0x2248eb instanceof _0x2a1517||(_0x2248eb=new _0x2a1517(_0x2248eb)),this['decode'](_0x2248eb,_0x2248eb['uint32']());},_0x3c39c2['verify']=function(_0x5c3687,_0x21b7ea){if('object'!=typeof _0x5c3687||null===_0x5c3687)return'object\x20expected';if(void 0x0===_0x21b7ea&&(_0x21b7ea=0x0),_0x21b7ea>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x210298;if(null!=_0x5c3687['sourcePosition']&&_0x5c3687['hasOwnProperty']('sourcePosition')&&(_0x210298=_0x2307b0['Position']['verify'](_0x5c3687['sourcePosition'],_0x21b7ea+0x1)))return'sourcePosition.'+_0x210298;if(null!=_0x5c3687['howMany']&&_0x5c3687['hasOwnProperty']('howMany')&&!_0x509dd0['isInteger'](_0x5c3687['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x5c3687['targetPosition']&&_0x5c3687['hasOwnProperty']('targetPosition')&&(_0x210298=_0x2307b0['Position']['verify'](_0x5c3687['targetPosition'],_0x21b7ea+0x1)))return'targetPosition.'+_0x210298;return null!=_0x5c3687['wasUndone']&&_0x5c3687['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5c3687['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3c39c2['fromObject']=function(_0x4098a8,_0x20c8f1){if(_0x4098a8 instanceof _0x2307b0['MoveOperation'])return _0x4098a8;if(void 0x0===_0x20c8f1&&(_0x20c8f1=0x0),_0x20c8f1>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x498a1b=new _0x2307b0['MoveOperation']();if(null!=_0x4098a8['sourcePosition']){if('object'!=typeof _0x4098a8['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x498a1b['sourcePosition']=_0x2307b0['Position']['fromObject'](_0x4098a8['sourcePosition'],_0x20c8f1+0x1);}if(null!=_0x4098a8['howMany']&&(_0x498a1b['howMany']=_0x4098a8['howMany']>>>0x0),null!=_0x4098a8['targetPosition']){if('object'!=typeof _0x4098a8['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x498a1b['targetPosition']=_0x2307b0['Position']['fromObject'](_0x4098a8['targetPosition'],_0x20c8f1+0x1);}return null!=_0x4098a8['wasUndone']&&(_0x498a1b['wasUndone']=Boolean(_0x4098a8['wasUndone'])),_0x498a1b;},_0x3c39c2['toObject']=function(_0x278b9b,_0x4f1cec){_0x4f1cec||(_0x4f1cec={});var _0x480c4a={};return _0x4f1cec['defaults']&&(_0x480c4a['sourcePosition']=null,_0x480c4a['howMany']=0x0,_0x480c4a['targetPosition']=null,_0x480c4a['wasUndone']=!0x1),null!=_0x278b9b['sourcePosition']&&_0x278b9b['hasOwnProperty']('sourcePosition')&&(_0x480c4a['sourcePosition']=_0x2307b0['Position']['toObject'](_0x278b9b['sourcePosition'],_0x4f1cec)),null!=_0x278b9b['howMany']&&_0x278b9b['hasOwnProperty']('howMany')&&(_0x480c4a['howMany']=_0x278b9b['howMany']),null!=_0x278b9b['targetPosition']&&_0x278b9b['hasOwnProperty']('targetPosition')&&(_0x480c4a['targetPosition']=_0x2307b0['Position']['toObject'](_0x278b9b['targetPosition'],_0x4f1cec)),null!=_0x278b9b['wasUndone']&&_0x278b9b['hasOwnProperty']('wasUndone')&&(_0x480c4a['wasUndone']=_0x278b9b['wasUndone']),_0x480c4a;},_0x3c39c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3c39c2['getTypeUrl']=function(_0x24cfaa){return void 0x0===_0x24cfaa&&(_0x24cfaa='type.googleapis.com'),_0x24cfaa+'/MoveOperation';},_0x3c39c2;}()),_0x2307b0['RenameOperation']=(function(){function _0xb2c11d(_0x18a78c){if(_0x18a78c){for(var _0x15a2a6=Object['keys'](_0x18a78c),_0x3bef03=0x0;_0x3bef03<_0x15a2a6['length'];++_0x3bef03)null!=_0x18a78c[_0x15a2a6[_0x3bef03]]&&'__proto__'!==_0x15a2a6[_0x3bef03]&&(this[_0x15a2a6[_0x3bef03]]=_0x18a78c[_0x15a2a6[_0x3bef03]]);}}return _0xb2c11d['prototype']['position']=null,_0xb2c11d['prototype']['oldName']='',_0xb2c11d['prototype']['newName']='',_0xb2c11d['prototype']['wasUndone']=!0x1,_0xb2c11d['create']=function(_0x55486d){return new _0xb2c11d(_0x55486d);},_0xb2c11d['encode']=function(_0x2a98c0,_0x2b7977){return _0x2b7977||(_0x2b7977=_0x32eb31['create']()),null!=_0x2a98c0['position']&&Object['hasOwnProperty']['call'](_0x2a98c0,'position')&&_0x2307b0['Position']['encode'](_0x2a98c0['position'],_0x2b7977['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2a98c0['oldName']&&Object['hasOwnProperty']['call'](_0x2a98c0,'oldName')&&_0x2b7977['uint32'](0x12)['string'](_0x2a98c0['oldName']),null!=_0x2a98c0['newName']&&Object['hasOwnProperty']['call'](_0x2a98c0,'newName')&&_0x2b7977['uint32'](0x1a)['string'](_0x2a98c0['newName']),null!=_0x2a98c0['wasUndone']&&Object['hasOwnProperty']['call'](_0x2a98c0,'wasUndone')&&_0x2b7977['uint32'](0x20)['bool'](_0x2a98c0['wasUndone']),_0x2b7977;},_0xb2c11d['encodeDelimited']=function(_0xa24466,_0x303e68){return this['encode'](_0xa24466,_0x303e68)['ldelim']();},_0xb2c11d['decode']=function(_0x45cfd6,_0x40d6b4,_0xc64168,_0x5a9051){if(_0x45cfd6 instanceof _0x2a1517||(_0x45cfd6=_0x2a1517['create'](_0x45cfd6)),void 0x0===_0x5a9051&&(_0x5a9051=0x0),_0x5a9051>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x305fb9=void 0x0===_0x40d6b4?_0x45cfd6['len']:_0x45cfd6['pos']+_0x40d6b4,_0x54c9be=new _0x2307b0['RenameOperation']();_0x45cfd6['pos']<_0x305fb9;){var _0x19795e=_0x45cfd6['uint32']();if(_0x19795e===_0xc64168)break;switch(_0x19795e>>>0x3){case 0x1:_0x54c9be['position']=_0x2307b0['Position']['decode'](_0x45cfd6,_0x45cfd6['uint32'](),void 0x0,_0x5a9051+0x1);break;case 0x2:_0x54c9be['oldName']=_0x45cfd6['string']();break;case 0x3:_0x54c9be['newName']=_0x45cfd6['string']();break;case 0x4:_0x54c9be['wasUndone']=_0x45cfd6['bool']();break;default:_0x45cfd6['skipType'](0x7&_0x19795e,_0x5a9051);}}return _0x54c9be;},_0xb2c11d['decodeDelimited']=function(_0x190521){return _0x190521 instanceof _0x2a1517||(_0x190521=new _0x2a1517(_0x190521)),this['decode'](_0x190521,_0x190521['uint32']());},_0xb2c11d['verify']=function(_0x363487,_0x17bd6d){if('object'!=typeof _0x363487||null===_0x363487)return'object\x20expected';if(void 0x0===_0x17bd6d&&(_0x17bd6d=0x0),_0x17bd6d>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x363487['position']&&_0x363487['hasOwnProperty']('position')){var _0x2f573c=_0x2307b0['Position']['verify'](_0x363487['position'],_0x17bd6d+0x1);if(_0x2f573c)return'position.'+_0x2f573c;}return null!=_0x363487['oldName']&&_0x363487['hasOwnProperty']('oldName')&&!_0x509dd0['isString'](_0x363487['oldName'])?'oldName:\x20string\x20expected':null!=_0x363487['newName']&&_0x363487['hasOwnProperty']('newName')&&!_0x509dd0['isString'](_0x363487['newName'])?'newName:\x20string\x20expected':null!=_0x363487['wasUndone']&&_0x363487['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x363487['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xb2c11d['fromObject']=function(_0x231afe,_0x176a05){if(_0x231afe instanceof _0x2307b0['RenameOperation'])return _0x231afe;if(void 0x0===_0x176a05&&(_0x176a05=0x0),_0x176a05>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39c438=new _0x2307b0['RenameOperation']();if(null!=_0x231afe['position']){if('object'!=typeof _0x231afe['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x39c438['position']=_0x2307b0['Position']['fromObject'](_0x231afe['position'],_0x176a05+0x1);}return null!=_0x231afe['oldName']&&(_0x39c438['oldName']=String(_0x231afe['oldName'])),null!=_0x231afe['newName']&&(_0x39c438['newName']=String(_0x231afe['newName'])),null!=_0x231afe['wasUndone']&&(_0x39c438['wasUndone']=Boolean(_0x231afe['wasUndone'])),_0x39c438;},_0xb2c11d['toObject']=function(_0x360951,_0x37c443){_0x37c443||(_0x37c443={});var _0x587407={};return _0x37c443['defaults']&&(_0x587407['position']=null,_0x587407['oldName']='',_0x587407['newName']='',_0x587407['wasUndone']=!0x1),null!=_0x360951['position']&&_0x360951['hasOwnProperty']('position')&&(_0x587407['position']=_0x2307b0['Position']['toObject'](_0x360951['position'],_0x37c443)),null!=_0x360951['oldName']&&_0x360951['hasOwnProperty']('oldName')&&(_0x587407['oldName']=_0x360951['oldName']),null!=_0x360951['newName']&&_0x360951['hasOwnProperty']('newName')&&(_0x587407['newName']=_0x360951['newName']),null!=_0x360951['wasUndone']&&_0x360951['hasOwnProperty']('wasUndone')&&(_0x587407['wasUndone']=_0x360951['wasUndone']),_0x587407;},_0xb2c11d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0xb2c11d['getTypeUrl']=function(_0x34466f){return void 0x0===_0x34466f&&(_0x34466f='type.googleapis.com'),_0x34466f+'/RenameOperation';},_0xb2c11d;}()),_0x2307b0['RootAttributeOperation']=(function(){function _0x14f394(_0x2d0ee9){if(_0x2d0ee9){for(var _0x517978=Object['keys'](_0x2d0ee9),_0x33935e=0x0;_0x33935e<_0x517978['length'];++_0x33935e)null!=_0x2d0ee9[_0x517978[_0x33935e]]&&'__proto__'!==_0x517978[_0x33935e]&&(this[_0x517978[_0x33935e]]=_0x2d0ee9[_0x517978[_0x33935e]]);}}return _0x14f394['prototype']['root']='',_0x14f394['prototype']['key']='',_0x14f394['prototype']['oldValueBoolean']=!0x1,_0x14f394['prototype']['oldValueJson']='',_0x14f394['prototype']['newValueBoolean']=!0x1,_0x14f394['prototype']['newValueJson']='',_0x14f394['prototype']['wasUndone']=!0x1,_0x14f394['create']=function(_0xcd8442){return new _0x14f394(_0xcd8442);},_0x14f394['encode']=function(_0x1aa3f3,_0x5021bf){return _0x5021bf||(_0x5021bf=_0x32eb31['create']()),null!=_0x1aa3f3['root']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'root')&&_0x5021bf['uint32'](0xa)['string'](_0x1aa3f3['root']),null!=_0x1aa3f3['key']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'key')&&_0x5021bf['uint32'](0x12)['string'](_0x1aa3f3['key']),null!=_0x1aa3f3['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'oldValueBoolean')&&_0x5021bf['uint32'](0x18)['bool'](_0x1aa3f3['oldValueBoolean']),null!=_0x1aa3f3['oldValueJson']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'oldValueJson')&&_0x5021bf['uint32'](0x22)['string'](_0x1aa3f3['oldValueJson']),null!=_0x1aa3f3['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'newValueBoolean')&&_0x5021bf['uint32'](0x28)['bool'](_0x1aa3f3['newValueBoolean']),null!=_0x1aa3f3['newValueJson']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'newValueJson')&&_0x5021bf['uint32'](0x32)['string'](_0x1aa3f3['newValueJson']),null!=_0x1aa3f3['wasUndone']&&Object['hasOwnProperty']['call'](_0x1aa3f3,'wasUndone')&&_0x5021bf['uint32'](0x38)['bool'](_0x1aa3f3['wasUndone']),_0x5021bf;},_0x14f394['encodeDelimited']=function(_0x25819,_0x529ec0){return this['encode'](_0x25819,_0x529ec0)['ldelim']();},_0x14f394['decode']=function(_0x239f3f,_0x3bbaf9,_0x5e210a,_0x296893){if(_0x239f3f instanceof _0x2a1517||(_0x239f3f=_0x2a1517['create'](_0x239f3f)),void 0x0===_0x296893&&(_0x296893=0x0),_0x296893>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5ce794=void 0x0===_0x3bbaf9?_0x239f3f['len']:_0x239f3f['pos']+_0x3bbaf9,_0x58d118=new _0x2307b0['RootAttributeOperation']();_0x239f3f['pos']<_0x5ce794;){var _0x59d634=_0x239f3f['uint32']();if(_0x59d634===_0x5e210a)break;switch(_0x59d634>>>0x3){case 0x1:_0x58d118['root']=_0x239f3f['string']();break;case 0x2:_0x58d118['key']=_0x239f3f['string']();break;case 0x3:_0x58d118['oldValueBoolean']=_0x239f3f['bool']();break;case 0x4:_0x58d118['oldValueJson']=_0x239f3f['string']();break;case 0x5:_0x58d118['newValueBoolean']=_0x239f3f['bool']();break;case 0x6:_0x58d118['newValueJson']=_0x239f3f['string']();break;case 0x7:_0x58d118['wasUndone']=_0x239f3f['bool']();break;default:_0x239f3f['skipType'](0x7&_0x59d634,_0x296893);}}return _0x58d118;},_0x14f394['decodeDelimited']=function(_0x518e46){return _0x518e46 instanceof _0x2a1517||(_0x518e46=new _0x2a1517(_0x518e46)),this['decode'](_0x518e46,_0x518e46['uint32']());},_0x14f394['verify']=function(_0x3c55f4,_0x5af8d2){return'object'!=typeof _0x3c55f4||null===_0x3c55f4?'object\x20expected':(void 0x0===_0x5af8d2&&(_0x5af8d2=0x0),_0x5af8d2>_0x509dd0['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3c55f4['root']&&_0x3c55f4['hasOwnProperty']('root')&&!_0x509dd0['isString'](_0x3c55f4['root'])?'root:\x20string\x20expected':null!=_0x3c55f4['key']&&_0x3c55f4['hasOwnProperty']('key')&&!_0x509dd0['isString'](_0x3c55f4['key'])?'key:\x20string\x20expected':null!=_0x3c55f4['oldValueBoolean']&&_0x3c55f4['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x3c55f4['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x3c55f4['oldValueJson']&&_0x3c55f4['hasOwnProperty']('oldValueJson')&&!_0x509dd0['isString'](_0x3c55f4['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x3c55f4['newValueBoolean']&&_0x3c55f4['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x3c55f4['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x3c55f4['newValueJson']&&_0x3c55f4['hasOwnProperty']('newValueJson')&&!_0x509dd0['isString'](_0x3c55f4['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x3c55f4['wasUndone']&&_0x3c55f4['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c55f4['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x14f394['fromObject']=function(_0x1d137c,_0x4d75b4){if(_0x1d137c instanceof _0x2307b0['RootAttributeOperation'])return _0x1d137c;if(void 0x0===_0x4d75b4&&(_0x4d75b4=0x0),_0x4d75b4>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f73a4=new _0x2307b0['RootAttributeOperation']();return null!=_0x1d137c['root']&&(_0x4f73a4['root']=String(_0x1d137c['root'])),null!=_0x1d137c['key']&&(_0x4f73a4['key']=String(_0x1d137c['key'])),null!=_0x1d137c['oldValueBoolean']&&(_0x4f73a4['oldValueBoolean']=Boolean(_0x1d137c['oldValueBoolean'])),null!=_0x1d137c['oldValueJson']&&(_0x4f73a4['oldValueJson']=String(_0x1d137c['oldValueJson'])),null!=_0x1d137c['newValueBoolean']&&(_0x4f73a4['newValueBoolean']=Boolean(_0x1d137c['newValueBoolean'])),null!=_0x1d137c['newValueJson']&&(_0x4f73a4['newValueJson']=String(_0x1d137c['newValueJson'])),null!=_0x1d137c['wasUndone']&&(_0x4f73a4['wasUndone']=Boolean(_0x1d137c['wasUndone'])),_0x4f73a4;},_0x14f394['toObject']=function(_0x456a0e,_0x408287){_0x408287||(_0x408287={});var _0x142e70={};return _0x408287['defaults']&&(_0x142e70['root']='',_0x142e70['key']='',_0x142e70['oldValueBoolean']=!0x1,_0x142e70['oldValueJson']='',_0x142e70['newValueBoolean']=!0x1,_0x142e70['newValueJson']='',_0x142e70['wasUndone']=!0x1),null!=_0x456a0e['root']&&_0x456a0e['hasOwnProperty']('root')&&(_0x142e70['root']=_0x456a0e['root']),null!=_0x456a0e['key']&&_0x456a0e['hasOwnProperty']('key')&&(_0x142e70['key']=_0x456a0e['key']),null!=_0x456a0e['oldValueBoolean']&&_0x456a0e['hasOwnProperty']('oldValueBoolean')&&(_0x142e70['oldValueBoolean']=_0x456a0e['oldValueBoolean']),null!=_0x456a0e['oldValueJson']&&_0x456a0e['hasOwnProperty']('oldValueJson')&&(_0x142e70['oldValueJson']=_0x456a0e['oldValueJson']),null!=_0x456a0e['newValueBoolean']&&_0x456a0e['hasOwnProperty']('newValueBoolean')&&(_0x142e70['newValueBoolean']=_0x456a0e['newValueBoolean']),null!=_0x456a0e['newValueJson']&&_0x456a0e['hasOwnProperty']('newValueJson')&&(_0x142e70['newValueJson']=_0x456a0e['newValueJson']),null!=_0x456a0e['wasUndone']&&_0x456a0e['hasOwnProperty']('wasUndone')&&(_0x142e70['wasUndone']=_0x456a0e['wasUndone']),_0x142e70;},_0x14f394['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x14f394['getTypeUrl']=function(_0x5c7b6f){return void 0x0===_0x5c7b6f&&(_0x5c7b6f='type.googleapis.com'),_0x5c7b6f+'/RootAttributeOperation';},_0x14f394;}()),_0x2307b0['RootOperation']=(function(){function _0x3eabf2(_0x2da69b){if(_0x2da69b){for(var _0x27228e=Object['keys'](_0x2da69b),_0x39625b=0x0;_0x39625b<_0x27228e['length'];++_0x39625b)null!=_0x2da69b[_0x27228e[_0x39625b]]&&'__proto__'!==_0x27228e[_0x39625b]&&(this[_0x27228e[_0x39625b]]=_0x2da69b[_0x27228e[_0x39625b]]);}}return _0x3eabf2['prototype']['rootName']='',_0x3eabf2['prototype']['elementName']='',_0x3eabf2['prototype']['isAdd']=!0x1,_0x3eabf2['prototype']['wasUndone']=!0x1,_0x3eabf2['create']=function(_0x1a677d){return new _0x3eabf2(_0x1a677d);},_0x3eabf2['encode']=function(_0x163afb,_0x485562){return _0x485562||(_0x485562=_0x32eb31['create']()),null!=_0x163afb['rootName']&&Object['hasOwnProperty']['call'](_0x163afb,'rootName')&&_0x485562['uint32'](0xa)['string'](_0x163afb['rootName']),null!=_0x163afb['elementName']&&Object['hasOwnProperty']['call'](_0x163afb,'elementName')&&_0x485562['uint32'](0x12)['string'](_0x163afb['elementName']),null!=_0x163afb['isAdd']&&Object['hasOwnProperty']['call'](_0x163afb,'isAdd')&&_0x485562['uint32'](0x18)['bool'](_0x163afb['isAdd']),null!=_0x163afb['wasUndone']&&Object['hasOwnProperty']['call'](_0x163afb,'wasUndone')&&_0x485562['uint32'](0x20)['bool'](_0x163afb['wasUndone']),_0x485562;},_0x3eabf2['encodeDelimited']=function(_0x1b4b52,_0x464788){return this['encode'](_0x1b4b52,_0x464788)['ldelim']();},_0x3eabf2['decode']=function(_0x3f661a,_0x575b62,_0x384701,_0x2dabed){if(_0x3f661a instanceof _0x2a1517||(_0x3f661a=_0x2a1517['create'](_0x3f661a)),void 0x0===_0x2dabed&&(_0x2dabed=0x0),_0x2dabed>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x356de9=void 0x0===_0x575b62?_0x3f661a['len']:_0x3f661a['pos']+_0x575b62,_0x504d43=new _0x2307b0['RootOperation']();_0x3f661a['pos']<_0x356de9;){var _0x26787d=_0x3f661a['uint32']();if(_0x26787d===_0x384701)break;switch(_0x26787d>>>0x3){case 0x1:_0x504d43['rootName']=_0x3f661a['string']();break;case 0x2:_0x504d43['elementName']=_0x3f661a['string']();break;case 0x3:_0x504d43['isAdd']=_0x3f661a['bool']();break;case 0x4:_0x504d43['wasUndone']=_0x3f661a['bool']();break;default:_0x3f661a['skipType'](0x7&_0x26787d,_0x2dabed);}}return _0x504d43;},_0x3eabf2['decodeDelimited']=function(_0x96997e){return _0x96997e instanceof _0x2a1517||(_0x96997e=new _0x2a1517(_0x96997e)),this['decode'](_0x96997e,_0x96997e['uint32']());},_0x3eabf2['verify']=function(_0x2856b6,_0x48397b){return'object'!=typeof _0x2856b6||null===_0x2856b6?'object\x20expected':(void 0x0===_0x48397b&&(_0x48397b=0x0),_0x48397b>_0x509dd0['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2856b6['rootName']&&_0x2856b6['hasOwnProperty']('rootName')&&!_0x509dd0['isString'](_0x2856b6['rootName'])?'rootName:\x20string\x20expected':null!=_0x2856b6['elementName']&&_0x2856b6['hasOwnProperty']('elementName')&&!_0x509dd0['isString'](_0x2856b6['elementName'])?'elementName:\x20string\x20expected':null!=_0x2856b6['isAdd']&&_0x2856b6['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x2856b6['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x2856b6['wasUndone']&&_0x2856b6['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2856b6['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x3eabf2['fromObject']=function(_0x1591f1,_0x4eb3f6){if(_0x1591f1 instanceof _0x2307b0['RootOperation'])return _0x1591f1;if(void 0x0===_0x4eb3f6&&(_0x4eb3f6=0x0),_0x4eb3f6>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39b5c3=new _0x2307b0['RootOperation']();return null!=_0x1591f1['rootName']&&(_0x39b5c3['rootName']=String(_0x1591f1['rootName'])),null!=_0x1591f1['elementName']&&(_0x39b5c3['elementName']=String(_0x1591f1['elementName'])),null!=_0x1591f1['isAdd']&&(_0x39b5c3['isAdd']=Boolean(_0x1591f1['isAdd'])),null!=_0x1591f1['wasUndone']&&(_0x39b5c3['wasUndone']=Boolean(_0x1591f1['wasUndone'])),_0x39b5c3;},_0x3eabf2['toObject']=function(_0x5365ba,_0xf1f3d1){_0xf1f3d1||(_0xf1f3d1={});var _0x16d3fd={};return _0xf1f3d1['defaults']&&(_0x16d3fd['rootName']='',_0x16d3fd['elementName']='',_0x16d3fd['isAdd']=!0x1,_0x16d3fd['wasUndone']=!0x1),null!=_0x5365ba['rootName']&&_0x5365ba['hasOwnProperty']('rootName')&&(_0x16d3fd['rootName']=_0x5365ba['rootName']),null!=_0x5365ba['elementName']&&_0x5365ba['hasOwnProperty']('elementName')&&(_0x16d3fd['elementName']=_0x5365ba['elementName']),null!=_0x5365ba['isAdd']&&_0x5365ba['hasOwnProperty']('isAdd')&&(_0x16d3fd['isAdd']=_0x5365ba['isAdd']),null!=_0x5365ba['wasUndone']&&_0x5365ba['hasOwnProperty']('wasUndone')&&(_0x16d3fd['wasUndone']=_0x5365ba['wasUndone']),_0x16d3fd;},_0x3eabf2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3eabf2['getTypeUrl']=function(_0xb55aaf){return void 0x0===_0xb55aaf&&(_0xb55aaf='type.googleapis.com'),_0xb55aaf+'/RootOperation';},_0x3eabf2;}()),_0x2307b0['SplitOperation']=(function(){function _0x3b8699(_0x36b5ca){if(_0x36b5ca){for(var _0x3a0dfe=Object['keys'](_0x36b5ca),_0x462b93=0x0;_0x462b93<_0x3a0dfe['length'];++_0x462b93)null!=_0x36b5ca[_0x3a0dfe[_0x462b93]]&&'__proto__'!==_0x3a0dfe[_0x462b93]&&(this[_0x3a0dfe[_0x462b93]]=_0x36b5ca[_0x3a0dfe[_0x462b93]]);}}return _0x3b8699['prototype']['splitPosition']=null,_0x3b8699['prototype']['graveyardPosition']=null,_0x3b8699['prototype']['howMany']=0x0,_0x3b8699['prototype']['insertionPosition']=null,_0x3b8699['prototype']['wasUndone']=!0x1,_0x3b8699['create']=function(_0x353061){return new _0x3b8699(_0x353061);},_0x3b8699['encode']=function(_0xf0c704,_0x35c387){return _0x35c387||(_0x35c387=_0x32eb31['create']()),null!=_0xf0c704['splitPosition']&&Object['hasOwnProperty']['call'](_0xf0c704,'splitPosition')&&_0x2307b0['Position']['encode'](_0xf0c704['splitPosition'],_0x35c387['uint32'](0xa)['fork']())['ldelim'](),null!=_0xf0c704['graveyardPosition']&&Object['hasOwnProperty']['call'](_0xf0c704,'graveyardPosition')&&_0x2307b0['Position']['encode'](_0xf0c704['graveyardPosition'],_0x35c387['uint32'](0x12)['fork']())['ldelim'](),null!=_0xf0c704['howMany']&&Object['hasOwnProperty']['call'](_0xf0c704,'howMany')&&_0x35c387['uint32'](0x18)['uint32'](_0xf0c704['howMany']),null!=_0xf0c704['insertionPosition']&&Object['hasOwnProperty']['call'](_0xf0c704,'insertionPosition')&&_0x2307b0['Position']['encode'](_0xf0c704['insertionPosition'],_0x35c387['uint32'](0x22)['fork']())['ldelim'](),null!=_0xf0c704['wasUndone']&&Object['hasOwnProperty']['call'](_0xf0c704,'wasUndone')&&_0x35c387['uint32'](0x28)['bool'](_0xf0c704['wasUndone']),_0x35c387;},_0x3b8699['encodeDelimited']=function(_0x3b9b46,_0x53264b){return this['encode'](_0x3b9b46,_0x53264b)['ldelim']();},_0x3b8699['decode']=function(_0x8b3df1,_0x1f7ae0,_0x1c11ef,_0x36e020){if(_0x8b3df1 instanceof _0x2a1517||(_0x8b3df1=_0x2a1517['create'](_0x8b3df1)),void 0x0===_0x36e020&&(_0x36e020=0x0),_0x36e020>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f439c=void 0x0===_0x1f7ae0?_0x8b3df1['len']:_0x8b3df1['pos']+_0x1f7ae0,_0x2731aa=new _0x2307b0['SplitOperation']();_0x8b3df1['pos']<_0x4f439c;){var _0x244b73=_0x8b3df1['uint32']();if(_0x244b73===_0x1c11ef)break;switch(_0x244b73>>>0x3){case 0x1:_0x2731aa['splitPosition']=_0x2307b0['Position']['decode'](_0x8b3df1,_0x8b3df1['uint32'](),void 0x0,_0x36e020+0x1);break;case 0x2:_0x2731aa['graveyardPosition']=_0x2307b0['Position']['decode'](_0x8b3df1,_0x8b3df1['uint32'](),void 0x0,_0x36e020+0x1);break;case 0x3:_0x2731aa['howMany']=_0x8b3df1['uint32']();break;case 0x4:_0x2731aa['insertionPosition']=_0x2307b0['Position']['decode'](_0x8b3df1,_0x8b3df1['uint32'](),void 0x0,_0x36e020+0x1);break;case 0x5:_0x2731aa['wasUndone']=_0x8b3df1['bool']();break;default:_0x8b3df1['skipType'](0x7&_0x244b73,_0x36e020);}}return _0x2731aa;},_0x3b8699['decodeDelimited']=function(_0x485cb5){return _0x485cb5 instanceof _0x2a1517||(_0x485cb5=new _0x2a1517(_0x485cb5)),this['decode'](_0x485cb5,_0x485cb5['uint32']());},_0x3b8699['verify']=function(_0x3c9a0d,_0x51f61f){if('object'!=typeof _0x3c9a0d||null===_0x3c9a0d)return'object\x20expected';if(void 0x0===_0x51f61f&&(_0x51f61f=0x0),_0x51f61f>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x4784f3;if(null!=_0x3c9a0d['splitPosition']&&_0x3c9a0d['hasOwnProperty']('splitPosition')&&(_0x4784f3=_0x2307b0['Position']['verify'](_0x3c9a0d['splitPosition'],_0x51f61f+0x1)))return'splitPosition.'+_0x4784f3;if(null!=_0x3c9a0d['graveyardPosition']&&_0x3c9a0d['hasOwnProperty']('graveyardPosition')&&(_0x4784f3=_0x2307b0['Position']['verify'](_0x3c9a0d['graveyardPosition'],_0x51f61f+0x1)))return'graveyardPosition.'+_0x4784f3;if(null!=_0x3c9a0d['howMany']&&_0x3c9a0d['hasOwnProperty']('howMany')&&!_0x509dd0['isInteger'](_0x3c9a0d['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3c9a0d['insertionPosition']&&_0x3c9a0d['hasOwnProperty']('insertionPosition')&&(_0x4784f3=_0x2307b0['Position']['verify'](_0x3c9a0d['insertionPosition'],_0x51f61f+0x1)))return'insertionPosition.'+_0x4784f3;return null!=_0x3c9a0d['wasUndone']&&_0x3c9a0d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c9a0d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3b8699['fromObject']=function(_0x535af3,_0x10a3c6){if(_0x535af3 instanceof _0x2307b0['SplitOperation'])return _0x535af3;if(void 0x0===_0x10a3c6&&(_0x10a3c6=0x0),_0x10a3c6>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5b486d=new _0x2307b0['SplitOperation']();if(null!=_0x535af3['splitPosition']){if('object'!=typeof _0x535af3['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x5b486d['splitPosition']=_0x2307b0['Position']['fromObject'](_0x535af3['splitPosition'],_0x10a3c6+0x1);}if(null!=_0x535af3['graveyardPosition']){if('object'!=typeof _0x535af3['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x5b486d['graveyardPosition']=_0x2307b0['Position']['fromObject'](_0x535af3['graveyardPosition'],_0x10a3c6+0x1);}if(null!=_0x535af3['howMany']&&(_0x5b486d['howMany']=_0x535af3['howMany']>>>0x0),null!=_0x535af3['insertionPosition']){if('object'!=typeof _0x535af3['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x5b486d['insertionPosition']=_0x2307b0['Position']['fromObject'](_0x535af3['insertionPosition'],_0x10a3c6+0x1);}return null!=_0x535af3['wasUndone']&&(_0x5b486d['wasUndone']=Boolean(_0x535af3['wasUndone'])),_0x5b486d;},_0x3b8699['toObject']=function(_0xec404b,_0x5ba255){_0x5ba255||(_0x5ba255={});var _0x48f1e7={};return _0x5ba255['defaults']&&(_0x48f1e7['splitPosition']=null,_0x48f1e7['graveyardPosition']=null,_0x48f1e7['howMany']=0x0,_0x48f1e7['insertionPosition']=null,_0x48f1e7['wasUndone']=!0x1),null!=_0xec404b['splitPosition']&&_0xec404b['hasOwnProperty']('splitPosition')&&(_0x48f1e7['splitPosition']=_0x2307b0['Position']['toObject'](_0xec404b['splitPosition'],_0x5ba255)),null!=_0xec404b['graveyardPosition']&&_0xec404b['hasOwnProperty']('graveyardPosition')&&(_0x48f1e7['graveyardPosition']=_0x2307b0['Position']['toObject'](_0xec404b['graveyardPosition'],_0x5ba255)),null!=_0xec404b['howMany']&&_0xec404b['hasOwnProperty']('howMany')&&(_0x48f1e7['howMany']=_0xec404b['howMany']),null!=_0xec404b['insertionPosition']&&_0xec404b['hasOwnProperty']('insertionPosition')&&(_0x48f1e7['insertionPosition']=_0x2307b0['Position']['toObject'](_0xec404b['insertionPosition'],_0x5ba255)),null!=_0xec404b['wasUndone']&&_0xec404b['hasOwnProperty']('wasUndone')&&(_0x48f1e7['wasUndone']=_0xec404b['wasUndone']),_0x48f1e7;},_0x3b8699['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3b8699['getTypeUrl']=function(_0x324be8){return void 0x0===_0x324be8&&(_0x324be8='type.googleapis.com'),_0x324be8+'/SplitOperation';},_0x3b8699;}()),_0x2307b0['Position']=(function(){function _0x3c7a0a(_0x5353bc){if(this['path']=[],_0x5353bc){for(var _0x236605=Object['keys'](_0x5353bc),_0x3ca0bc=0x0;_0x3ca0bc<_0x236605['length'];++_0x3ca0bc)null!=_0x5353bc[_0x236605[_0x3ca0bc]]&&'__proto__'!==_0x236605[_0x3ca0bc]&&(this[_0x236605[_0x3ca0bc]]=_0x5353bc[_0x236605[_0x3ca0bc]]);}}return _0x3c7a0a['prototype']['root']='',_0x3c7a0a['prototype']['rootMain']=!0x1,_0x3c7a0a['prototype']['rootGraveyard']=!0x1,_0x3c7a0a['prototype']['path']=_0x509dd0['emptyArray'],_0x3c7a0a['prototype']['stickiness']='',_0x3c7a0a['create']=function(_0x262c4c){return new _0x3c7a0a(_0x262c4c);},_0x3c7a0a['encode']=function(_0x4b5953,_0x2d1207){if(_0x2d1207||(_0x2d1207=_0x32eb31['create']()),null!=_0x4b5953['root']&&Object['hasOwnProperty']['call'](_0x4b5953,'root')&&_0x2d1207['uint32'](0xa)['string'](_0x4b5953['root']),null!=_0x4b5953['rootMain']&&Object['hasOwnProperty']['call'](_0x4b5953,'rootMain')&&_0x2d1207['uint32'](0x10)['bool'](_0x4b5953['rootMain']),null!=_0x4b5953['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x4b5953,'rootGraveyard')&&_0x2d1207['uint32'](0x18)['bool'](_0x4b5953['rootGraveyard']),null!=_0x4b5953['path']&&_0x4b5953['path']['length']){_0x2d1207['uint32'](0x22)['fork']();for(var _0x39a232=0x0;_0x39a232<_0x4b5953['path']['length'];++_0x39a232)_0x2d1207['uint32'](_0x4b5953['path'][_0x39a232]);_0x2d1207['ldelim']();}return null!=_0x4b5953['stickiness']&&Object['hasOwnProperty']['call'](_0x4b5953,'stickiness')&&_0x2d1207['uint32'](0x2a)['string'](_0x4b5953['stickiness']),_0x2d1207;},_0x3c7a0a['encodeDelimited']=function(_0x1abaac,_0x4ec1b4){return this['encode'](_0x1abaac,_0x4ec1b4)['ldelim']();},_0x3c7a0a['decode']=function(_0x52debf,_0x52c1c5,_0x3b3160,_0x3151a8){if(_0x52debf instanceof _0x2a1517||(_0x52debf=_0x2a1517['create'](_0x52debf)),void 0x0===_0x3151a8&&(_0x3151a8=0x0),_0x3151a8>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x336bfb=void 0x0===_0x52c1c5?_0x52debf['len']:_0x52debf['pos']+_0x52c1c5,_0x3c56e5=new _0x2307b0['Position']();_0x52debf['pos']<_0x336bfb;){var _0x3bec36=_0x52debf['uint32']();if(_0x3bec36===_0x3b3160)break;switch(_0x3bec36>>>0x3){case 0x1:_0x3c56e5['root']=_0x52debf['string']();break;case 0x2:_0x3c56e5['rootMain']=_0x52debf['bool']();break;case 0x3:_0x3c56e5['rootGraveyard']=_0x52debf['bool']();break;case 0x4:if(_0x3c56e5['path']&&_0x3c56e5['path']['length']||(_0x3c56e5['path']=[]),0x2==(0x7&_0x3bec36)){for(var _0x819801=_0x52debf['uint32']()+_0x52debf['pos'];_0x52debf['pos']<_0x819801;)_0x3c56e5['path']['push'](_0x52debf['uint32']());}else _0x3c56e5['path']['push'](_0x52debf['uint32']());break;case 0x5:_0x3c56e5['stickiness']=_0x52debf['string']();break;default:_0x52debf['skipType'](0x7&_0x3bec36,_0x3151a8);}}return _0x3c56e5;},_0x3c7a0a['decodeDelimited']=function(_0x1cc4b){return _0x1cc4b instanceof _0x2a1517||(_0x1cc4b=new _0x2a1517(_0x1cc4b)),this['decode'](_0x1cc4b,_0x1cc4b['uint32']());},_0x3c7a0a['verify']=function(_0x580e18,_0x35dd6f){if('object'!=typeof _0x580e18||null===_0x580e18)return'object\x20expected';if(void 0x0===_0x35dd6f&&(_0x35dd6f=0x0),_0x35dd6f>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x580e18['root']&&_0x580e18['hasOwnProperty']('root')&&!_0x509dd0['isString'](_0x580e18['root']))return'root:\x20string\x20expected';if(null!=_0x580e18['rootMain']&&_0x580e18['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x580e18['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x580e18['rootGraveyard']&&_0x580e18['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x580e18['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x580e18['path']&&_0x580e18['hasOwnProperty']('path')){if(!Array['isArray'](_0x580e18['path']))return'path:\x20array\x20expected';for(var _0x319aa7=0x0;_0x319aa7<_0x580e18['path']['length'];++_0x319aa7)if(!_0x509dd0['isInteger'](_0x580e18['path'][_0x319aa7]))return'path:\x20integer[]\x20expected';}return null!=_0x580e18['stickiness']&&_0x580e18['hasOwnProperty']('stickiness')&&!_0x509dd0['isString'](_0x580e18['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x3c7a0a['fromObject']=function(_0xcf22dd,_0x330b08){if(_0xcf22dd instanceof _0x2307b0['Position'])return _0xcf22dd;if(void 0x0===_0x330b08&&(_0x330b08=0x0),_0x330b08>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1f1c40=new _0x2307b0['Position']();if(null!=_0xcf22dd['root']&&(_0x1f1c40['root']=String(_0xcf22dd['root'])),null!=_0xcf22dd['rootMain']&&(_0x1f1c40['rootMain']=Boolean(_0xcf22dd['rootMain'])),null!=_0xcf22dd['rootGraveyard']&&(_0x1f1c40['rootGraveyard']=Boolean(_0xcf22dd['rootGraveyard'])),_0xcf22dd['path']){if(!Array['isArray'](_0xcf22dd['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x1f1c40['path']=[];for(var _0x4714d4=0x0;_0x4714d4<_0xcf22dd['path']['length'];++_0x4714d4)_0x1f1c40['path'][_0x4714d4]=_0xcf22dd['path'][_0x4714d4]>>>0x0;}return null!=_0xcf22dd['stickiness']&&(_0x1f1c40['stickiness']=String(_0xcf22dd['stickiness'])),_0x1f1c40;},_0x3c7a0a['toObject']=function(_0x205c88,_0x28b27d){_0x28b27d||(_0x28b27d={});var _0x5b64ca={};if((_0x28b27d['arrays']||_0x28b27d['defaults'])&&(_0x5b64ca['path']=[]),_0x28b27d['defaults']&&(_0x5b64ca['root']='',_0x5b64ca['rootMain']=!0x1,_0x5b64ca['rootGraveyard']=!0x1,_0x5b64ca['stickiness']=''),null!=_0x205c88['root']&&_0x205c88['hasOwnProperty']('root')&&(_0x5b64ca['root']=_0x205c88['root']),null!=_0x205c88['rootMain']&&_0x205c88['hasOwnProperty']('rootMain')&&(_0x5b64ca['rootMain']=_0x205c88['rootMain']),null!=_0x205c88['rootGraveyard']&&_0x205c88['hasOwnProperty']('rootGraveyard')&&(_0x5b64ca['rootGraveyard']=_0x205c88['rootGraveyard']),_0x205c88['path']&&_0x205c88['path']['length']){_0x5b64ca['path']=[];for(var _0x2e9fbb=0x0;_0x2e9fbb<_0x205c88['path']['length'];++_0x2e9fbb)_0x5b64ca['path'][_0x2e9fbb]=_0x205c88['path'][_0x2e9fbb];}return null!=_0x205c88['stickiness']&&_0x205c88['hasOwnProperty']('stickiness')&&(_0x5b64ca['stickiness']=_0x205c88['stickiness']),_0x5b64ca;},_0x3c7a0a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x3c7a0a['getTypeUrl']=function(_0x284edd){return void 0x0===_0x284edd&&(_0x284edd='type.googleapis.com'),_0x284edd+'/Position';},_0x3c7a0a;}()),_0x2307b0['Range']=(function(){function _0x5d5567(_0x1299f5){if(_0x1299f5){for(var _0x4a9e15=Object['keys'](_0x1299f5),_0x35f108=0x0;_0x35f108<_0x4a9e15['length'];++_0x35f108)null!=_0x1299f5[_0x4a9e15[_0x35f108]]&&'__proto__'!==_0x4a9e15[_0x35f108]&&(this[_0x4a9e15[_0x35f108]]=_0x1299f5[_0x4a9e15[_0x35f108]]);}}return _0x5d5567['prototype']['start']=null,_0x5d5567['prototype']['end']=null,_0x5d5567['create']=function(_0x5c5ee6){return new _0x5d5567(_0x5c5ee6);},_0x5d5567['encode']=function(_0x5f143c,_0x6926f9){return _0x6926f9||(_0x6926f9=_0x32eb31['create']()),null!=_0x5f143c['start']&&Object['hasOwnProperty']['call'](_0x5f143c,'start')&&_0x2307b0['Position']['encode'](_0x5f143c['start'],_0x6926f9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5f143c['end']&&Object['hasOwnProperty']['call'](_0x5f143c,'end')&&_0x2307b0['Position']['encode'](_0x5f143c['end'],_0x6926f9['uint32'](0x12)['fork']())['ldelim'](),_0x6926f9;},_0x5d5567['encodeDelimited']=function(_0x53ebb8,_0x3937da){return this['encode'](_0x53ebb8,_0x3937da)['ldelim']();},_0x5d5567['decode']=function(_0x377e0b,_0x5d4b16,_0x494c5f,_0x415407){if(_0x377e0b instanceof _0x2a1517||(_0x377e0b=_0x2a1517['create'](_0x377e0b)),void 0x0===_0x415407&&(_0x415407=0x0),_0x415407>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xe8162d=void 0x0===_0x5d4b16?_0x377e0b['len']:_0x377e0b['pos']+_0x5d4b16,_0x4ff271=new _0x2307b0['Range']();_0x377e0b['pos']<_0xe8162d;){var _0x418a6d=_0x377e0b['uint32']();if(_0x418a6d===_0x494c5f)break;switch(_0x418a6d>>>0x3){case 0x1:_0x4ff271['start']=_0x2307b0['Position']['decode'](_0x377e0b,_0x377e0b['uint32'](),void 0x0,_0x415407+0x1);break;case 0x2:_0x4ff271['end']=_0x2307b0['Position']['decode'](_0x377e0b,_0x377e0b['uint32'](),void 0x0,_0x415407+0x1);break;default:_0x377e0b['skipType'](0x7&_0x418a6d,_0x415407);}}return _0x4ff271;},_0x5d5567['decodeDelimited']=function(_0x132138){return _0x132138 instanceof _0x2a1517||(_0x132138=new _0x2a1517(_0x132138)),this['decode'](_0x132138,_0x132138['uint32']());},_0x5d5567['verify']=function(_0x1d19ea,_0x1c641d){if('object'!=typeof _0x1d19ea||null===_0x1d19ea)return'object\x20expected';if(void 0x0===_0x1c641d&&(_0x1c641d=0x0),_0x1c641d>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2cbd18;if(null!=_0x1d19ea['start']&&_0x1d19ea['hasOwnProperty']('start')&&(_0x2cbd18=_0x2307b0['Position']['verify'](_0x1d19ea['start'],_0x1c641d+0x1)))return'start.'+_0x2cbd18;if(null!=_0x1d19ea['end']&&_0x1d19ea['hasOwnProperty']('end')&&(_0x2cbd18=_0x2307b0['Position']['verify'](_0x1d19ea['end'],_0x1c641d+0x1)))return'end.'+_0x2cbd18;return null;},_0x5d5567['fromObject']=function(_0x3db1ac,_0x3e5d28){if(_0x3db1ac instanceof _0x2307b0['Range'])return _0x3db1ac;if(void 0x0===_0x3e5d28&&(_0x3e5d28=0x0),_0x3e5d28>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x231a7b=new _0x2307b0['Range']();if(null!=_0x3db1ac['start']){if('object'!=typeof _0x3db1ac['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x231a7b['start']=_0x2307b0['Position']['fromObject'](_0x3db1ac['start'],_0x3e5d28+0x1);}if(null!=_0x3db1ac['end']){if('object'!=typeof _0x3db1ac['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x231a7b['end']=_0x2307b0['Position']['fromObject'](_0x3db1ac['end'],_0x3e5d28+0x1);}return _0x231a7b;},_0x5d5567['toObject']=function(_0x42a54b,_0x49990e){_0x49990e||(_0x49990e={});var _0x5df3c7={};return _0x49990e['defaults']&&(_0x5df3c7['start']=null,_0x5df3c7['end']=null),null!=_0x42a54b['start']&&_0x42a54b['hasOwnProperty']('start')&&(_0x5df3c7['start']=_0x2307b0['Position']['toObject'](_0x42a54b['start'],_0x49990e)),null!=_0x42a54b['end']&&_0x42a54b['hasOwnProperty']('end')&&(_0x5df3c7['end']=_0x2307b0['Position']['toObject'](_0x42a54b['end'],_0x49990e)),_0x5df3c7;},_0x5d5567['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x5d5567['getTypeUrl']=function(_0x3c64a4){return void 0x0===_0x3c64a4&&(_0x3c64a4='type.googleapis.com'),_0x3c64a4+'/Range';},_0x5d5567;}()),_0x2307b0['Element']=(function(){function _0x4dee6f(_0x480047){if(this['children']=[],this['attributesBoolean']={},_0x480047){for(var _0x41b3a1=Object['keys'](_0x480047),_0x2331c6=0x0;_0x2331c6<_0x41b3a1['length'];++_0x2331c6)null!=_0x480047[_0x41b3a1[_0x2331c6]]&&'__proto__'!==_0x41b3a1[_0x2331c6]&&(this[_0x41b3a1[_0x2331c6]]=_0x480047[_0x41b3a1[_0x2331c6]]);}}return _0x4dee6f['prototype']['name']='',_0x4dee6f['prototype']['children']=_0x509dd0['emptyArray'],_0x4dee6f['prototype']['data']='',_0x4dee6f['prototype']['attributesBoolean']=_0x509dd0['emptyObject'],_0x4dee6f['prototype']['attributesJson']='',_0x4dee6f['create']=function(_0x445c70){return new _0x4dee6f(_0x445c70);},_0x4dee6f['encode']=function(_0x2d7caf,_0x57453f){if(_0x57453f||(_0x57453f=_0x32eb31['create']()),null!=_0x2d7caf['name']&&Object['hasOwnProperty']['call'](_0x2d7caf,'name')&&_0x57453f['uint32'](0xa)['string'](_0x2d7caf['name']),null!=_0x2d7caf['children']&&_0x2d7caf['children']['length']){for(var _0x152736=0x0;_0x152736<_0x2d7caf['children']['length'];++_0x152736)_0x2307b0['Element']['encode'](_0x2d7caf['children'][_0x152736],_0x57453f['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x2d7caf['data']&&Object['hasOwnProperty']['call'](_0x2d7caf,'data')&&_0x57453f['uint32'](0x1a)['string'](_0x2d7caf['data']),null!=_0x2d7caf['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x2d7caf,'attributesBoolean')){var _0x1c98ab=Object['keys'](_0x2d7caf['attributesBoolean']);for(_0x152736=0x0;_0x152736<_0x1c98ab['length'];++_0x152736)_0x57453f['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x1c98ab[_0x152736])['uint32'](0x10)['bool'](_0x2d7caf['attributesBoolean'][_0x1c98ab[_0x152736]])['ldelim']();}return null!=_0x2d7caf['attributesJson']&&Object['hasOwnProperty']['call'](_0x2d7caf,'attributesJson')&&_0x57453f['uint32'](0x2a)['string'](_0x2d7caf['attributesJson']),_0x57453f;},_0x4dee6f['encodeDelimited']=function(_0x2e1d31,_0x475c9e){return this['encode'](_0x2e1d31,_0x475c9e)['ldelim']();},_0x4dee6f['decode']=function(_0x40c691,_0x174515,_0x944d72,_0x4b37df){if(_0x40c691 instanceof _0x2a1517||(_0x40c691=_0x2a1517['create'](_0x40c691)),void 0x0===_0x4b37df&&(_0x4b37df=0x0),_0x4b37df>_0x2a1517['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3879b4,_0x4e25c0,_0x4dea34=void 0x0===_0x174515?_0x40c691['len']:_0x40c691['pos']+_0x174515,_0x4b321a=new _0x2307b0['Element']();_0x40c691['pos']<_0x4dea34;){var _0x5e1fc8=_0x40c691['uint32']();if(_0x5e1fc8===_0x944d72)break;switch(_0x5e1fc8>>>0x3){case 0x1:_0x4b321a['name']=_0x40c691['string']();break;case 0x2:_0x4b321a['children']&&_0x4b321a['children']['length']||(_0x4b321a['children']=[]),_0x4b321a['children']['push'](_0x2307b0['Element']['decode'](_0x40c691,_0x40c691['uint32'](),void 0x0,_0x4b37df+0x1));break;case 0x3:_0x4b321a['data']=_0x40c691['string']();break;case 0x4:_0x4b321a['attributesBoolean']===_0x509dd0['emptyObject']&&(_0x4b321a['attributesBoolean']={});var _0x195cfc=_0x40c691['uint32']()+_0x40c691['pos'];for(_0x3879b4='',_0x4e25c0=!0x1;_0x40c691['pos']<_0x195cfc;){var _0x1e9953=_0x40c691['uint32']();switch(_0x1e9953>>>0x3){case 0x1:_0x3879b4=_0x40c691['string']();break;case 0x2:_0x4e25c0=_0x40c691['bool']();break;default:_0x40c691['skipType'](0x7&_0x1e9953,_0x4b37df);}}'__proto__'===_0x3879b4&&_0x509dd0['makeProp'](_0x4b321a['attributesBoolean'],_0x3879b4),_0x4b321a['attributesBoolean'][_0x3879b4]=_0x4e25c0;break;case 0x5:_0x4b321a['attributesJson']=_0x40c691['string']();break;default:_0x40c691['skipType'](0x7&_0x5e1fc8,_0x4b37df);}}return _0x4b321a;},_0x4dee6f['decodeDelimited']=function(_0xc386d1){return _0xc386d1 instanceof _0x2a1517||(_0xc386d1=new _0x2a1517(_0xc386d1)),this['decode'](_0xc386d1,_0xc386d1['uint32']());},_0x4dee6f['verify']=function(_0xa6c9a8,_0x34004d){if('object'!=typeof _0xa6c9a8||null===_0xa6c9a8)return'object\x20expected';if(void 0x0===_0x34004d&&(_0x34004d=0x0),_0x34004d>_0x509dd0['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xa6c9a8['name']&&_0xa6c9a8['hasOwnProperty']('name')&&!_0x509dd0['isString'](_0xa6c9a8['name']))return'name:\x20string\x20expected';if(null!=_0xa6c9a8['children']&&_0xa6c9a8['hasOwnProperty']('children')){if(!Array['isArray'](_0xa6c9a8['children']))return'children:\x20array\x20expected';for(var _0x25e384=0x0;_0x25e384<_0xa6c9a8['children']['length'];++_0x25e384){var _0x4799c7=_0x2307b0['Element']['verify'](_0xa6c9a8['children'][_0x25e384],_0x34004d+0x1);if(_0x4799c7)return'children.'+_0x4799c7;}}if(null!=_0xa6c9a8['data']&&_0xa6c9a8['hasOwnProperty']('data')&&!_0x509dd0['isString'](_0xa6c9a8['data']))return'data:\x20string\x20expected';if(null!=_0xa6c9a8['attributesBoolean']&&_0xa6c9a8['hasOwnProperty']('attributesBoolean')){if(!_0x509dd0['isObject'](_0xa6c9a8['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x2492ab=Object['keys'](_0xa6c9a8['attributesBoolean']);for(_0x25e384=0x0;_0x25e384<_0x2492ab['length'];++_0x25e384)if('boolean'!=typeof _0xa6c9a8['attributesBoolean'][_0x2492ab[_0x25e384]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0xa6c9a8['attributesJson']&&_0xa6c9a8['hasOwnProperty']('attributesJson')&&!_0x509dd0['isString'](_0xa6c9a8['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x4dee6f['fromObject']=function(_0x2e49a4,_0x5b861a){if(_0x2e49a4 instanceof _0x2307b0['Element'])return _0x2e49a4;if(void 0x0===_0x5b861a&&(_0x5b861a=0x0),_0x5b861a>_0x509dd0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x31a3f2=new _0x2307b0['Element']();if(null!=_0x2e49a4['name']&&(_0x31a3f2['name']=String(_0x2e49a4['name'])),_0x2e49a4['children']){if(!Array['isArray'](_0x2e49a4['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x31a3f2['children']=[];for(var _0x8967df=0x0;_0x8967df<_0x2e49a4['children']['length'];++_0x8967df){if('object'!=typeof _0x2e49a4['children'][_0x8967df])throw TypeError('.Element.children:\x20object\x20expected');_0x31a3f2['children'][_0x8967df]=_0x2307b0['Element']['fromObject'](_0x2e49a4['children'][_0x8967df],_0x5b861a+0x1);}}if(null!=_0x2e49a4['data']&&(_0x31a3f2['data']=String(_0x2e49a4['data'])),_0x2e49a4['attributesBoolean']){if('object'!=typeof _0x2e49a4['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x31a3f2['attributesBoolean']={};var _0x4dc875=Object['keys'](_0x2e49a4['attributesBoolean']);for(_0x8967df=0x0;_0x8967df<_0x4dc875['length'];++_0x8967df)'__proto__'===_0x4dc875[_0x8967df]&&_0x509dd0['makeProp'](_0x31a3f2['attributesBoolean'],_0x4dc875[_0x8967df]),_0x31a3f2['attributesBoolean'][_0x4dc875[_0x8967df]]=Boolean(_0x2e49a4['attributesBoolean'][_0x4dc875[_0x8967df]]);}return null!=_0x2e49a4['attributesJson']&&(_0x31a3f2['attributesJson']=String(_0x2e49a4['attributesJson'])),_0x31a3f2;},_0x4dee6f['toObject']=function(_0x42f8d2,_0x26d72b){_0x26d72b||(_0x26d72b={});var _0x3d00ef,_0x589abb={};if((_0x26d72b['arrays']||_0x26d72b['defaults'])&&(_0x589abb['children']=[]),(_0x26d72b['objects']||_0x26d72b['defaults'])&&(_0x589abb['attributesBoolean']={}),_0x26d72b['defaults']&&(_0x589abb['name']='',_0x589abb['data']='',_0x589abb['attributesJson']=''),null!=_0x42f8d2['name']&&_0x42f8d2['hasOwnProperty']('name')&&(_0x589abb['name']=_0x42f8d2['name']),_0x42f8d2['children']&&_0x42f8d2['children']['length']){_0x589abb['children']=[];for(var _0x295ff9=0x0;_0x295ff9<_0x42f8d2['children']['length'];++_0x295ff9)_0x589abb['children'][_0x295ff9]=_0x2307b0['Element']['toObject'](_0x42f8d2['children'][_0x295ff9],_0x26d72b);}if(null!=_0x42f8d2['data']&&_0x42f8d2['hasOwnProperty']('data')&&(_0x589abb['data']=_0x42f8d2['data']),_0x42f8d2['attributesBoolean']&&(_0x3d00ef=Object['keys'](_0x42f8d2['attributesBoolean']))['length']){_0x589abb['attributesBoolean']={};for(_0x295ff9=0x0;_0x295ff9<_0x3d00ef['length'];++_0x295ff9)'__proto__'===_0x3d00ef[_0x295ff9]&&_0x509dd0['makeProp'](_0x589abb['attributesBoolean'],_0x3d00ef[_0x295ff9]),_0x589abb['attributesBoolean'][_0x3d00ef[_0x295ff9]]=_0x42f8d2['attributesBoolean'][_0x3d00ef[_0x295ff9]];}return null!=_0x42f8d2['attributesJson']&&_0x42f8d2['hasOwnProperty']('attributesJson')&&(_0x589abb['attributesJson']=_0x42f8d2['attributesJson']),_0x589abb;},_0x4dee6f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,vw['util']['toJSONOptions']);},_0x4dee6f['getTypeUrl']=function(_0x50db83){return void 0x0===_0x50db83&&(_0x50db83='type.googleapis.com'),_0x50db83+'/Element';},_0x4dee6f;}()),_0x2307b0;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=my;}['getDescriptor'](_0x5194a5){return new ProtobufDescriptor(this['_protobufRoot'][_0x5194a5]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x59e62c){this['_protobuf']=_0x59e62c;}['compress'](_0x241196){const _0x277bfb=this['_protobuf']['verify'](_0x241196);if(_0x277bfb)throw Error(_0x277bfb);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x241196))['finish']();}['decompress'](_0x7d11f1){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x7d11f1),{'oneofs':!0x0});}}function gy(_0x1fd1e0,_0x292910){const _0x4b1b67=kr(_0x1fd1e0);return _0x4b1b67['path'][_0x4b1b67['path']['length']-0x1]+=_0x292910,_0x4b1b67;}function py(_0x17a6ff,_0x1ba113){return _0x17a6ff['root']===_0x1ba113['root']&&qr(_0x17a6ff['path'],_0x1ba113['path']);}function Oy(_0x292b8d){by(_0x292b8d,_0x517bcb=>('main'==_0x517bcb['root']?(_0x517bcb['rootMain']=!0x0,delete _0x517bcb['root']):'$graveyard'==_0x517bcb['root']&&(_0x517bcb['rootGraveyard']=!0x0,delete _0x517bcb['root']),_0x517bcb));}function wy(_0xebdd14){by(_0xebdd14,_0x4a217f=>(_0x4a217f['rootMain']?(_0x4a217f['root']='main',delete _0x4a217f['rootMain']):_0x4a217f['rootGraveyard']&&(_0x4a217f['root']='$graveyard',delete _0x4a217f['rootGraveyard']),_0x4a217f));}function by(_0x4b849a,_0x2ab0b5){for(const _0x391368 in _0x4b849a){const _0x37ee2e=_0x4b849a[_0x391368];'nodes'!==_0x391368&&Jn(_0x37ee2e)&&(_0x37ee2e['path']&&(_0x37ee2e['root']||_0x37ee2e['rootMain']||_0x37ee2e['rootGraveyard'])?_0x4b849a[_0x391368]=_0x2ab0b5(_0x37ee2e):by(_0x37ee2e,_0x2ab0b5));}return _0x4b849a;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x20be62,_0xcd6c5e,_0x1e94a8){this['_id']=_0x20be62,this['_operationName']=_0xcd6c5e,this['_protobufDescriptor']=_0x1e94a8;}['compress'](_0x216525,_0x25780b){const _0xb2285a=_0x25780b['operations'][_0x25780b['index']++];return Oy(_0xb2285a),_0x216525['buffers']['push'](this['_protobufDescriptor']['compress'](_0xb2285a)),_0x216525['types']['push'](this['_id']),!0x0;}['decompress'](_0x201619,_0x2ddc17){_0x2ddc17['typeIndex']++;const _0x4417be=_0x2ddc17['buffers'][_0x2ddc17['bufferIndex']++],_0x22e1aa=this['_protobufDescriptor']['decompress'](_0x4417be);wy(_0x22e1aa),_0x22e1aa['__className']=this['_operationName'],_0x201619['push'](_0x22e1aa);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x2f7185,_0x52b3df){const _0x2f33b1=_0x52b3df['operations'][_0x52b3df['index']++];return this['_serializeOneOf']('oldValue',_0x2f33b1),this['_serializeOneOf']('newValue',_0x2f33b1),Oy(_0x2f33b1),_0x2f7185['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2f33b1)),_0x2f7185['types']['push'](this['_id']),!0x0;}['decompress'](_0x2118f6,_0x5ab617){_0x5ab617['typeIndex']++;const _0x382d0f=_0x5ab617['buffers'][_0x5ab617['bufferIndex']++],_0x14096c=this['_protobufDescriptor']['decompress'](_0x382d0f);this['_deserializeOneOf']('oldValue',_0x14096c),this['_deserializeOneOf']('newValue',_0x14096c),wy(_0x14096c),_0x14096c['__className']=this['_operationName'],_0x2118f6['push'](_0x14096c);}['_serializeOneOf'](_0x38b03a,_0x391034){const _0x3a6b4a=_0x391034[_0x38b03a];'boolean'==typeof _0x3a6b4a?_0x391034[_0x38b03a+'Boolean']=_0x3a6b4a:_0x391034[_0x38b03a+'Json']=JSON['stringify'](_0x3a6b4a);}['_deserializeOneOf'](_0x103465,_0xa70897){const _0x2ba5df=_0x103465+'Json';_0xa70897[_0x2ba5df]?(_0xa70897[_0x103465]=JSON['parse'](_0xa70897[_0x2ba5df]),delete _0xa70897[_0x2ba5df]):(_0xa70897[_0x103465]=_0xa70897[_0x103465+'Boolean'],delete _0xa70897[_0x103465+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x1b4f07,_0x484adb){const _0x2f8e47=_0x484adb['operations'][_0x484adb['index']++];return this['_serializeNodesAttributes'](_0x2f8e47['nodes']),Oy(_0x2f8e47),_0x1b4f07['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2f8e47)),_0x1b4f07['types']['push'](this['_id']),!0x0;}['decompress'](_0x224393,_0x3be3b4){_0x3be3b4['typeIndex']++;const _0x4959c8=_0x3be3b4['buffers'][_0x3be3b4['bufferIndex']++],_0x1a4b5a=this['_protobufDescriptor']['decompress'](_0x4959c8);_0x1a4b5a['nodes']||(_0x1a4b5a['nodes']=[]),this['_deserializeNodesAttributes'](_0x1a4b5a['nodes']),wy(_0x1a4b5a),_0x1a4b5a['__className']=this['_operationName'],_0x224393['push'](_0x1a4b5a);}['_serializeNodesAttributes'](_0x1ee6bf){for(const _0x34e424 of _0x1ee6bf){if(_0x34e424['attributes']){const _0x120218=_0x34e424['attributes'];this['_areValuesBoolean'](_0x120218)?_0x34e424['attributesBoolean']=_0x120218:_0x34e424['attributesJson']=JSON['stringify'](_0x120218);}_0x34e424['children']&&this['_serializeNodesAttributes'](_0x34e424['children']);}}['_deserializeNodesAttributes'](_0x178250){for(const _0x4c02f3 of _0x178250)(_0x4c02f3['attributesBoolean']||_0x4c02f3['attributesJson'])&&(_0x4c02f3['attributesBoolean']?(_0x4c02f3['attributes']=_0x4c02f3['attributesBoolean'],delete _0x4c02f3['attributesBoolean']):(_0x4c02f3['attributes']=JSON['parse'](_0x4c02f3['attributesJson']),delete _0x4c02f3['attributesJson'])),_0x4c02f3['children']&&this['_deserializeNodesAttributes'](_0x4c02f3['children']);}['_areValuesBoolean'](_0x5e0937){return Object['keys'](_0x5e0937)['every'](_0x19befb=>'boolean'==typeof _0x5e0937[_0x19befb]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0xd2295f,_0x1c8f2a){super['decompress'](_0xd2295f,_0x1c8f2a);const _0xd9dba1=_0xd2295f[_0xd2295f['length']-0x1];_0xd9dba1['oldRange']||(_0xd9dba1['oldRange']=null),_0xd9dba1['newRange']||(_0xd9dba1['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x291662,_0x369343){return _0x369343['index']++,_0x291662['types']['push'](this['_id']),!0x0;}['decompress'](_0x52d67b,_0x4fd52f){_0x4fd52f['typeIndex']++,_0x52d67b['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x542bab,_0x5666ac,_0x2cd3cd,_0x2ac275){super(_0x542bab,_0x5666ac,_0x2cd3cd),this['_omittedNamespace']=_0x2ac275+':';}['compress'](_0xf20ec,_0x22252e){const _0x3bc7cf=_0x22252e['operations'][_0x22252e['index']];return!('MarkerOperation'!=_0x3bc7cf['__className']||!_0x3bc7cf['name']['startsWith'](this['_omittedNamespace']))&&(_0x3bc7cf['name']=_0x3bc7cf['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0xf20ec,_0x22252e),!0x0);}['decompress'](_0x105346,_0x4aceef){super['decompress'](_0x105346,_0x4aceef);const _0x134b00=_0x105346[_0x105346['length']-0x1];_0x134b00['name']=this['_omittedNamespace']+_0x134b00['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x255b14,_0x27d3e2){this['_id']=_0x255b14,this['_context']=_0x27d3e2;}['compress'](_0x4ec4d7,_0x4603cc){let _0x549b06,_0x2821b3=_0x4603cc['operations'][_0x4603cc['index']],_0x2f9cc6=_0x4603cc['operations'][_0x4603cc['index']+0x1];for(;_0x2f9cc6&&this['_compareOperations'](_0x2821b3,_0x2f9cc6);)_0x549b06?(_0x549b06=this['_combineNext'](_0x2821b3,_0x549b06),_0x4ec4d7['types']['push'](0x0)):(_0x549b06=kr(_0x2821b3),_0x4ec4d7['types']['push'](this['_id'])),_0x4603cc['index']++,_0x2821b3=_0x4603cc['operations'][_0x4603cc['index']],_0x2f9cc6=_0x4603cc['operations'][_0x4603cc['index']+0x1];return!!_0x549b06&&(_0x549b06=this['_combineNext'](_0x4603cc['operations'][_0x4603cc['index']++],_0x549b06),_0x4ec4d7['types']['push'](0x0),_0x4ec4d7['buffers']['push'](this['_compressSingleOperation'](_0x549b06)),!0x0);}['decompress'](_0x1555a9,_0xa9455f){const _0x18f221=this['_decompressSingleOperation'](_0xa9455f);for(;0x0==_0xa9455f['types'][_0xa9455f['typeIndex']];)_0xa9455f['typeIndex']++,_0x1555a9['push'](this['_splitCurrent'](_0x18f221));_0x1555a9['push'](_0x18f221);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x5f10ac,_0x2a21f9){return _0x2a21f9['nodes'][0x0]['data']+=_0x5f10ac['nodes'][0x0]['data'],_0x2a21f9;}['_splitCurrent'](_0x874aac){const _0x533958=kr(_0x874aac),_0x928b6b=_0x533958['nodes'][0x0],_0x5ee302=_0x874aac['nodes'][0x0],_0x1f909=_0x5ee302['data'][Symbol['iterator']]()['next']()['value'],_0x50a185=_0x1f909['length'];return _0x928b6b['data']=_0x1f909,_0x5ee302['data']=_0x5ee302['data']['substr'](_0x50a185),_0x874aac['position']=gy(_0x874aac['position'],_0x50a185),_0x533958;}['_compareOperations'](_0x44cc72,_0x49c32a){if(this['_checkOperation'](_0x44cc72)&&this['_checkOperation'](_0x49c32a)){const _0x444b46=_0x44cc72['nodes'][0x0]['data']['length'],_0x3b82fc=py(gy(_0x44cc72['position'],_0x444b46),_0x49c32a['position']),_0x1424c3=_0x44cc72['nodes'][0x0],_0x42221f=_0x49c32a['nodes'][0x0];return _0x3b82fc&&this['_compareAttributes'](_0x1424c3,_0x42221f);}return!0x1;}['_compressSingleOperation'](_0x26b448){const _0x46fb4b={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x46fb4b,{'operations':[_0x26b448],'index':0x0}),_0x46fb4b['buffers'][0x0];}['_decompressSingleOperation'](_0x5e095){const _0x3006d8=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x3006d8,_0x5e095),_0x3006d8[0x0];}['_checkOperation'](_0x2d0532){return'InsertOperation'==_0x2d0532['__className']&&0x1==_0x2d0532['nodes']['length']&&_0x2d0532['nodes'][0x0]['data']&&!_0x2d0532['wasUndone']&&0x1==Array['from'](_0x2d0532['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x74c40f,_0x116d15){const _0x55d56a=Object['keys'](_0x74c40f['attributes']||{}),_0x5f211a=Object['keys'](_0x116d15['attributes']||{});return _0x55d56a['length']===_0x5f211a['length']&&_0x55d56a['every'](_0xecb82d=>_0x116d15['attributes'][_0xecb82d]&&_0x116d15['attributes'][_0xecb82d]===_0x74c40f['attributes'][_0xecb82d]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x555577,_0x27b5d8){return _0x27b5d8['howMany']++,_0x27b5d8['sourcePosition']=kr(_0x555577['sourcePosition']),_0x27b5d8;}['_splitCurrent'](_0x50bfdd){const _0x19bdb9=kr(_0x50bfdd);return _0x50bfdd['howMany']--,_0x19bdb9['howMany']=0x1,_0x19bdb9['sourcePosition']=gy(_0x19bdb9['sourcePosition'],_0x50bfdd['howMany']),_0x19bdb9;}['_compareOperations'](_0x1b228e,_0x41b859){return!(!this['_checkOperation'](_0x1b228e)||!this['_checkOperation'](_0x41b859))&&(py(gy(_0x1b228e['sourcePosition'],-0x1),_0x41b859['sourcePosition'])&&py(_0x1b228e['targetPosition'],_0x41b859['targetPosition']));}['_compressSingleOperation'](_0x7322a0){const _0x548e7e={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x548e7e,{'operations':[_0x7322a0],'index':0x0}),_0x548e7e['buffers'][0x0];}['_decompressSingleOperation'](_0x2a4fcb){const _0x23f0b5=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x23f0b5,_0x2a4fcb),_0x23f0b5[0x0];}['_checkOperation'](_0x189ad1){return'MoveOperation'==_0x189ad1['__className']&&'$graveyard'==_0x189ad1['targetPosition']['root']&&0x1==_0x189ad1['howMany']&&!_0x189ad1['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0xe6065e,_0x5f1991){return _0x5f1991['howMany']++,_0x5f1991;}['_splitCurrent'](_0x22fc13){const _0x577324=kr(_0x22fc13);return _0x577324['howMany']=0x1,_0x22fc13['howMany']--,_0x577324;}['_compareOperations'](_0x1e04eb,_0x26ade0){return!(!this['_checkOperation'](_0x1e04eb)||!this['_checkOperation'](_0x26ade0))&&(py(_0x1e04eb['sourcePosition'],_0x26ade0['sourcePosition'])&&py(_0x1e04eb['targetPosition'],_0x26ade0['targetPosition']));}['_compressSingleOperation'](_0x1fc400){const _0x25840b={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x25840b,{'operations':[_0x1fc400],'index':0x0}),_0x25840b['buffers'][0x0];}['_decompressSingleOperation'](_0x16542e){const _0xbf1dd8=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0xbf1dd8,_0x16542e),_0xbf1dd8[0x0];}['_checkOperation'](_0x5389e4){return'MoveOperation'==_0x5389e4['__className']&&'$graveyard'==_0x5389e4['targetPosition']['root']&&0x1==_0x5389e4['howMany']&&!_0x5389e4['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x14c3dd,_0x37a2ba){if(!this['_compareOperations'](_0x37a2ba['operations'][_0x37a2ba['index']],_0x37a2ba['operations'][_0x37a2ba['index']+0x1]))return!0x1;const _0x5b999c=_0x37a2ba['operations'][_0x37a2ba['index']++];return _0x5b999c['oldRange']=null,_0x5b999c['newRange']&&py(_0x5b999c['newRange']['start'],_0x5b999c['newRange']['end'])&&(_0x5b999c['newRange']['end']=null),_0x37a2ba['index']++,_0x14c3dd['types']['push'](this['_id']),_0x14c3dd['types']['push'](0x0),_0x14c3dd['buffers']['push'](this['_compressSingleOperation'](_0x5b999c)),!0x0;}['decompress'](_0x18a0cd,_0x1050ef){const _0x1c08a0=this['_decompressSingleOperation'](_0x1050ef);_0x1c08a0['newRange']&&!_0x1c08a0['newRange']['end']&&(_0x1c08a0['newRange']['end']=kr(_0x1c08a0['newRange']['start']));const _0x524956=kr(_0x1c08a0);_0x524956['newRange']&&(_0x524956['newRange']['start']['stickiness']='toNone',_0x524956['newRange']['end']=kr(_0x524956['newRange']['start'])),_0x524956['name']='user:position:'+_0x524956['name']['split'](':')[0x2],_0x1050ef['typeIndex']++,_0x18a0cd['push'](_0x1c08a0),_0x18a0cd['push'](_0x524956);}['_compressSingleOperation'](_0x2c7c3e){const _0x5660cb={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x5660cb,{'operations':[_0x2c7c3e],'index':0x0}),_0x5660cb['buffers'][0x0];}['_decompressSingleOperation'](_0x36835a){const _0x5dc337=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x5dc337,_0x36835a),_0x5dc337[0x0];}['_compareOperations'](_0x7f5f0c,_0x533f79){return!(!_0x7f5f0c||!_0x533f79)&&('MarkerOperation'==_0x7f5f0c['__className']&&'MarkerOperation'==_0x533f79['__className']&&!(!_0x7f5f0c['name']['startsWith']('user:')||!_0x533f79['name']['startsWith']('user:')||_0x7f5f0c['name']==_0x533f79['name']));}}class Compressor{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x5ce4ba=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',_0x5ce4ba,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x5ce4ba,'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'](_0x5cb2dd){if(!_0x5cb2dd||!_0x5cb2dd[0x0])throw new _0x3ae0e8('no-operations-provided',this);const _0x2ca5e7={'operations':_0x5cb2dd,'index':0x0},_0x4ffcaf={'types':[],'buffers':[],'baseVersion':_0x5cb2dd[0x0]['baseVersion']};for(;_0x2ca5e7['index']<_0x2ca5e7['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x4ffcaf,_0x2ca5e7))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x4ffcaf,_0x2ca5e7))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x4ffcaf,_0x2ca5e7))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x4ffcaf,_0x2ca5e7))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x4ffcaf,_0x2ca5e7))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x4ffcaf,_0x2ca5e7))continue;const _0x415f94=_0x2ca5e7['operations'][_0x2ca5e7['index']]['__className'];this['_getCompressorByName'](_0x415f94)['compress'](_0x4ffcaf,_0x2ca5e7);}return _0x4ffcaf;}['decompress'](_0x4c9d95){const _0x4d28ad=[],_0x4ded6d={'types':_0x4c9d95['types'],'buffers':_0x4c9d95['buffers'],'baseVersion':_0x4c9d95['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x4ded6d['typeIndex']<_0x4ded6d['types']['length'];){const _0xf4d078=_0x4ded6d['types'][_0x4ded6d['typeIndex']],_0x4268bb=this['_compressorById']['get'](_0xf4d078);if(!_0x4268bb)throw new _0x3ae0e8('decompress-compressor-not-found',this,{'type':_0xf4d078});_0x4268bb['decompress'](_0x4d28ad,_0x4ded6d);}return _0x4d28ad['forEach']((_0x5d454a,_0x3b6555)=>_0x5d454a['baseVersion']=_0x4c9d95['baseVersion']+_0x3b6555),_0x4d28ad;}['_getCompressorByName'](_0x33262b){return this['_compressorByName']['get'](_0x33262b);}['_registerOperationCompressor'](_0x40d349,_0x1a12de,_0x453659){const _0x4f7946=new _0x453659(_0x40d349,_0x1a12de,this['_protobufFactory']['getDescriptor'](_0x1a12de));this['_registerCompressor'](_0x40d349,_0x1a12de,_0x4f7946);}['_registerActionCompressor'](_0x56e8c7,_0x254c83,_0x4c440d){const _0x2dcc7c=new _0x4c440d(_0x56e8c7,this);this['_registerCompressor'](_0x56e8c7,_0x254c83,_0x2dcc7c);}['_registerCompressor'](_0x47783b,_0x600558,_0x198335){this['_compressorById']['set'](_0x47783b,_0x198335),this['_compressorByName']['set'](_0x600558,_0x198335);}}let yy=0x1;class RealTimeCollaborationClient extends _0x7cf71c{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,_0x4247fd,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 _0x1b49b6=this['serverHistory']['getOperations']();for(let _0x532bcd=_0x1b49b6['length']-0x1;_0x532bcd>=0x0;_0x532bcd--){const _0x114c5a=_0x1b49b6[_0x532bcd];if(!this['_disconnectionOperations']['has'](_0x114c5a))return _0x114c5a['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0xb9f58d){if(super(_0xb9f58d),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x321b8f(),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x3ae0e8('collaboration-missing-channelid',this);const _0x374e80=_0xb9f58d['config']['get']('cloudServices.bundleVersion')||_0x515330;this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x374e80,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 _0x3089d0=this['editor'],_0x353127=_0x3089d0['plugins']['get'](Users),_0x2b1d0e=_0x3089d0['plugins']['get'](WebSocketGateway);this['listenTo'](_0x353127,'getOperationAuthor',(_0x528958,_0x64b3e4)=>{const _0x10ea0a=_0x64b3e4[0x0];_0x10ea0a['_authorId']&&(_0x528958['return']=_0x353127['getUser'](_0x10ea0a['_authorId']),_0x528958['stop']()),null===_0x10ea0a['_authorId']&&(_0x528958['return']=null,_0x528958['stop']());},{'priority':'high'}),this['listenTo'](_0x3089d0['model']['document']['selection'],'change:range',(_0x5a0bf4,_0x3fdb30)=>{_0x3fdb30['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x3089d0['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x3089d0['model']['on']('applyOperation',(_0x158cbe,_0x2a43d2)=>{const _0x56c17a=_0x2a43d2[0x0];_0x56c17a['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x56c17a),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x2b1d0e,'state',this,'_hasSynchronizationProblem',(_0x39e445,_0x454bff)=>'connected'===_0x39e445&&!_0x454bff),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x3089d0['disableReadOnlyMode']('rtc-offline'):_0x3089d0['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x3089d0['disableReadOnlyMode']('rtc-offline'):_0x3089d0['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x37b3b5=this['editor']['plugins']['get'](Sessions),_0x2faaf8=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x37b3b5['unregister'](this['_channelId']);const _0x251642=await this['_service']['reconnect'](_0x2faaf8['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x251642)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x328ecc=await this['_service']['getConnectedSessions']();_0x37b3b5['register'](this['_channelId'],_0x328ecc),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x551dd3){if(function(_0x26e9c8){return'404'===_0x26e9c8['code'];}(_0x551dd3)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x64ba81){return'409'===_0x64ba81['code'];}(_0x551dd3)){const _0x5ceae7=fy(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'](_0x5ceae7);}else{if(!(_0x551dd3 instanceof ReconnectionError))throw _0x551dd3;this['_handleReconnectionError']();}}}}['destroy'](){const _0x4463d1=this['editor']['plugins']['get'](WebSocketGateway),_0x2dd7f2=this['editor']['plugins']['get'](Sessions);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x2dd7f2['channelSessions']['has'](this['_channelId'])&&_0x2dd7f2['unregister'](this['_channelId']),_0x4463d1['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x32d6cb){if(this['sessionId']!==_0x32d6cb['sessionId']&&this['_lastSyncedOperationId']!==_0x32d6cb['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x32d6cb['sessionId'],this['_handleServerResponse']([],{..._0x32d6cb,'wereChangesApplied':!0x1,'data':_0x32d6cb['data']},'reconnect');}async['_connectService'](_0x57a382,_0x3b5068=!0x1){const {connection:_0x32f2ef}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x32f2ef,this['_channelId'])['then'](_0x7c3d18=>this['_initSessionsHandling'](_0x7c3d18))['catch'](_0xcfe892=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0xcfe892);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x4fe7db,_0x4e06b2)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x4e06b2);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x2ba299=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x57a382);this['_isPendingUpdate']=!0x0;const _0x5ac6f6=await this['_service']['connect'](_0x32f2ef,this['_compressOperations'](_0x57a382),_0x2ba299);if(this['sessionId']=_0x5ac6f6['sessionId'],_0x3b5068){if(!_0x5ac6f6['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x5ac6f6['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x57a382,_0x5ac6f6,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x5ac6f6,_0x57a382);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x5ce35e=this['editor']['plugins']['get'](Sessions),_0x3a463c=this['editor']['plugins']['get'](UserMarkers),_0x322603=_0x5ce35e['channelSessions']['get'](this['_channelId']);_0x322603&&_0x322603['length']>0x1?_0x3a463c['createUserMarkerOperations']():this['listenTo'](_0x5ce35e,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x5ce35e['channelSessions']['get'](this['_channelId'])['length']&&_0x3a463c['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x484b91,_0x190981,_0x26763d,_0x4fc44c){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x190981){const _0x25609a=this['_decompressOperations'](_0x26763d,_0x4fc44c);await this['_fetchMissingUsers'](_0x25609a),this['_handleExternalOperations'](_0x25609a,_0x190981,_0x26763d['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x311e11}=this['editor'];let _0x43a284;try{_0x43a284=await this['_service']['getDocumentDetails']();}catch{const _0x4c0b3f=fy(_0x311e11,'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'](_0x4c0b3f);}const _0xb54944=_0x43a284['currentDocumentSession']||_0x43a284['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0xb54944['lastOperationId']){const _0x1c4811=fy(_0x311e11,'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'](_0x1c4811);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x4b4ac1){const _0x42dc08=this['editor']['plugins']['get'](Sessions);this['listenTo'](_0x42dc08,'sessionAdd:'+this['_channelId'],(_0x469822,{session:_0x448f4c})=>{if(_0x448f4c['id']===_0x42dc08['mySessionId']){_0x469822['off']();const _0x793673=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x47f731=_0x448f4c['permissions'];_0x793673&&_0x793673['isEnabled']&&(_0x47f731=_0x47f731['filter'](_0x4ee748=>'document:write'!==_0x4ee748)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x47f731,this['_channelId']);}}),_0x42dc08['register'](this['_channelId'],_0x4b4ac1);}['_initThrowingOnDataSet'](){const _0x1f6033=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x3a6846)=>{if(!_0x3a6846[_0x3a6846['length']-0x1]['suppressErrorInCollaboration'])throw new _0x3ae0e8('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x1f6033['apply'](this['editor']['data'],_0x3a6846);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x12b7c8,[_0x49b53d])=>{if(this['_document']['version'])throw new _0x3ae0e8('realtimecollaborationclient-init-document-already-initialized',this);_0x12b7c8['stop'](),this['_setPendingAction']();const _0x381f2c=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x45434b])=>!_0x45434b['lazyLoad'])['map'](([_0x19759b,_0x2cfa48])=>[_0x19759b,_0x2cfa48['modelAttributes']||{}])),_0x2738fd=this['_getOperationsFromInitData'](_0x49b53d,_0x381f2c);0x0==_0x2738fd['length']&&_0x2738fd['push'](new _0x20dfac(0x0)),_0x12b7c8['return']=this['_connectService'](_0x2738fd)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x2be875=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x2be875))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0xfc1750,[_0x48c601,_0x34dfbd])=>{_0xfc1750['stop']();const _0x2e39be=this['editor']['model']['document']['getRoot'](_0x48c601);if(!this['_knownRootNames']['has'](_0x48c601)){const _0x5bb382=_0x34dfbd&&_0x34dfbd['data']?_0x34dfbd['data']:'',_0x22a16c=_0x34dfbd&&_0x34dfbd['attributes']?_0x34dfbd['attributes']:{};await this['_loadRoot'](_0x48c601,_0x5bb382,_0x22a16c);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x2e39be['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x2e39be);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x4db69d){const _0x3dc66e=this['editor']['plugins']['get'](Users),{connection:_0x108a5f}=this['editor']['plugins']['get'](WebSocketGateway),_0xf8600f=new Set();for(const _0x2fe2f0 of _0x4db69d){const _0x4101fb=_0x2fe2f0['_authorId'];_0x4101fb&&!_0x3dc66e['getUser'](_0x4101fb)&&_0xf8600f['add'](_0x4101fb);}if(0x0===_0xf8600f['size'])return;const _0x11a667=await User['getMany'](_0x108a5f,Array['from'](_0xf8600f));for(const _0x5710dc of _0x11a667)_0x3dc66e['getUser'](_0x5710dc['id'])||_0x3dc66e['addUser'](_0x5710dc);}['_getOperationsFromInitData'](_0x19431b,_0x3603ab={}){const _0x31154e=this['editor']['model'],_0x1a9166=[];let _0x3c7b42=0x0;const _0xbbc1c='string'==typeof _0x19431b?{'main':_0x19431b}:_0x19431b;for(const _0x1a1ac3 of Object['keys'](_0xbbc1c)){if(!this['_document']['roots']['has'](_0x1a1ac3))throw new _0x3ae0e8('realtimecollaborationclient-init-non-existent-root',this);const _0x2a1ec9=this['editor']['data']['parse'](_0xbbc1c[_0x1a1ac3]),_0xc4b6f3=this['_document']['getRoot'](_0x1a1ac3),_0x14d966=new _0x45fe9(_0x31154e['createPositionAt'](_0xc4b6f3,0x0),_0x2a1ec9,_0x3c7b42++);_0x1a9166['push'](_0x14d966);for(const [_0x2dc865,_0x52c2fd]of _0x2a1ec9['markers']){const _0x513a2d=_0x31154e['createRange'](_0x31154e['createPositionFromPath'](_0xc4b6f3,_0x52c2fd['start']['path']['slice']()),_0x31154e['createPositionFromPath'](_0xc4b6f3,_0x52c2fd['end']['path']['slice']())),_0x24d734=new _0x19b14a(_0x2dc865,null,_0x513a2d,_0x31154e['markers'],!0x0,_0x3c7b42++);_0x1a9166['push'](_0x24d734);}}if(_0x3603ab)for(const [_0x375414,_0x72cdf2]of Object['entries'](_0x3603ab)){const _0x5499cd=_0x31154e['document']['getRoot'](_0x375414);if(!_0x5499cd)throw new _0x3ae0e8('multi-root-editor-root-attributes-no-root',null);for(const [_0x28a971,_0x5973b1]of Object['entries'](_0x72cdf2))if(null!==_0x5973b1){const _0x320a14=new _0x2e8a43(_0x5499cd,_0x28a971,null,_0x5973b1,_0x3c7b42++);_0x1a9166['push'](_0x320a14);}}return _0x1a9166;}async['_loadRoot'](_0x48f5f1,_0x1575d1,_0x3b6e83){this['_getOperationsFromInitData']({[_0x48f5f1]:_0x1575d1},{[_0x48f5f1]:_0x3b6e83})['forEach']((_0x1feaa5,_0x12554d)=>{_0x1feaa5['baseVersion']=this['_document']['version']+_0x12554d,_0x1feaa5['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x1feaa5);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x3344a9,_0x4297ab){let _0x10dee2;this['_offset']=_0x3344a9['offset'];const _0x3a56e5=_0x3344a9['wereChangesApplied']&&!_0x3344a9['initData'],_0x59028a=_0x3a56e5?0x0:_0x3344a9['data']['baseVersion'];if(_0x4297ab['forEach'](_0x246d53=>{_0x246d53['_isInit']=!0x0,_0x246d53['createdAt']=_0x3344a9['sessionCreatedAt'],_0x246d53['_authorId']=null;}),_0x3a56e5)_0x10dee2=_0x4297ab,this['_applyOperationsSet'](_0x10dee2,_0x3a56e5);else{if(_0x3344a9['initData']){const _0x3b524c=this['_getOperationsFromInitData'](_0x3344a9['initData']);this['_document']['history']['version']=-_0x3b524c['length'],_0x3b524c['forEach'](_0x214c63=>{_0x214c63['baseVersion']-=_0x3b524c['length'],_0x214c63['createdAt']=_0x3344a9['sessionCreatedAt'],_0x214c63['_isInit']=!0x0,_0x214c63['_authorId']=null;}),this['_applyOperationsSet'](_0x3b524c,!0x0),this['serverHistory']['version']=-_0x3b524c['length']+this['_offset'],this['_updateServerHistory'](_0x3b524c);}this['_document']['history']['version']=_0x59028a,_0x10dee2=this['_decompressOperations'](_0x3344a9['data'],_0x3344a9['metadata']),await this['_fetchMissingUsers'](_0x10dee2),this['_applyOperationsSet'](_0x10dee2,_0x3a56e5);}_0x3344a9['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x10dee2,_0x3344a9['lastOperationId']),this['_lastSyncedOperationId']=_0x3344a9['lastOperationId']),this['serverHistory']['version']=_0x59028a+this['_offset'],this['_updateServerHistory'](_0x10dee2),_0x4297ab['filter'](_0x4bf196=>{const _0x2775df=this['_getAffectedRoot'](_0x4bf196);return _0x2775df&&!this['_knownRootNames']['has'](_0x2775df);})['forEach']((_0x351452,_0x123b3c)=>{_0x351452['baseVersion']=this['_document']['version']+_0x123b3c,this['_saveOperationInBuffer'](_0x351452);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x263935,_0x8b031f){const _0x579800=_0x8b031f&&_0x8b031f['message'];if(_0x579800&&_0x579800['startsWith']('realtimecollaborationclient'))throw _0x8b031f;const _0x4fe269=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x4fe269['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x3ae0e8(_0x263935,this['editor'],_0x579800?{'originalError':_0x579800}:void 0x0);}['_saveOperationInBuffer'](_0x297c28){this['_knownOperations']['has'](_0x297c28)||(this['_knownOperations']['add'](_0x297c28),this['_bufferedOperations']['push'](_0x297c28),this['_pendingAction']||'marker'==_0x297c28['type']&&!_0x297c28['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0xfe09d2=!0x1){!_0xfe09d2&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x394a11=>{_0x394a11&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x361018=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x455115){return _0x455115['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x455115['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x455115['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x361018)||this['_crash'](_0x361018['message'],_0x361018);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x126543=>{this['on']('change:_isPendingUpdate',()=>{_0x126543();});});}async['_sendBufferedOperations'](){const _0x165715=this['editor']['plugins']['get'](UserMarkers);if(this['_shouldSendSelectionUpdate']()&&(_0x165715['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x51d3b2=[...this['_bufferedOperations']];for(const _0x191911 of _0x51d3b2)_0x191911['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x191911);const _0x45e163=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x51d3b2),_0x4da070=yy++,_0x4b9395=this['_compressOperations'](_0x51d3b2),_0x24757d=await this['_service']['sendOperations'](_0x4b9395,_0x4b9395['baseVersion'],_0x45e163);try{return await this['_handleServerResponse'](_0x51d3b2,_0x24757d,_0x4da070);}catch(_0xa6201f){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0xa6201f);}}async['_handleServerResponse'](_0x4aedc4,_0x2bdb15,_0x255f7f){if('error'in _0x2bdb15)throw _0x2bdb15['error'];let _0x3983cf=!0x1;if(_0x2bdb15['wereChangesApplied']){_0x2bdb15['lastOperationId']&&(this['_lastSyncedOperationId']=_0x2bdb15['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x506386=>!_0x4aedc4['includes'](_0x506386));for(const _0x60991e of _0x4aedc4)_0x60991e['createdAt']='lastOperationAcceptedAt'in _0x2bdb15&&_0x2bdb15['lastOperationAcceptedAt']||void 0x0;vy(_0x4aedc4,_0x2bdb15['version']-_0x4aedc4['length']),this['_updateServerHistory'](_0x4aedc4);const _0xe6760e=_0x4aedc4['filter'](_0xe6d82=>{if(!_0xe6d82['_isInit'])return!0x1;const _0x5adff2=this['_getAffectedRoot'](_0xe6d82);return _0x5adff2&&!this['_knownRootNames']['has'](_0x5adff2);});vy(_0xe6760e,this['_document']['version']),this['_applyOperationsSet'](_0xe6760e),_0x3983cf=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x4ffb29=this['_decompressOperations'](_0x2bdb15['data'],_0x2bdb15['metadata'])['filter'](_0x1de317=>_0x1de317['baseVersion']>=this['_lastServerVersion']);_0x4ffb29['forEach'](_0x14d59b=>this['_addKnownRoot'](_0x14d59b)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x5d951a=>!_0x5d951a['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x5d951a))),this['_bufferedOperations']['length']&&vy(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x4ffb29),_0x3983cf=this['_handleExternalOperations'](_0x4ffb29,_0x2bdb15['version'],_0x2bdb15['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x3983cf?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x4ddcf9,_0x391fbd,_0x321cbb){try{const _0x6d9c65={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2954f8,operationsB:_0x2d89d1,originalOperations:_0x2e6ee4}=_0x10917c(_0x4ddcf9,this['_bufferedOperations'],_0x6d9c65);vy(_0x2954f8,this['_document']['version']),vy(_0x2d89d1,_0x391fbd);for(const _0x5ae55b of _0x2954f8){const _0x2da6c5=_0x2e6ee4['get'](_0x5ae55b);_0x5ae55b['_authorId']=_0x2da6c5?_0x2da6c5['_authorId']:null;}_0x321cbb&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x4ddcf9,_0x321cbb),this['_lastSyncedOperationId']=_0x321cbb),this['_bufferedOperations']=[..._0x2d89d1],this['_applyOperationsSet'](_0x2954f8),this['_updateServerHistory'](_0x4ddcf9);}catch(_0x5a667d){return console['error'](_0x5a667d),!0x1;}return!0x0;}['_applyOperationsSet'](_0x2e9887,_0x3fe187=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x3afcd5=>{for(const _0x51b396 of _0x2e9887)this['_knownOperations']['add'](_0x51b396),this['_addKnownRoot'](_0x51b396),_0x3afcd5['batch']['addOperation'](_0x51b396),this['editor']['model']['applyOperation'](_0x51b396);});}['_addKnownRoot'](_0x450aa6){const _0x2ddcc4=this['_getAffectedRoot'](_0x450aa6);_0x2ddcc4&&this['_knownRootNames']['add'](_0x2ddcc4);}['_getAffectedRoot'](_0x4e0787){let _0x4d6ff0,_0x569285;switch(_0x4e0787['type']){case'insert':_0x4d6ff0=_0x4e0787['position']['root'];break;case'marker':if(_0x569285=_0x4e0787['newRange'],!_0x569285)return null;_0x4d6ff0=_0x569285['root'];break;case'addRootAttribute':_0x4d6ff0=_0x4e0787['root'];break;case'addRoot':_0x4d6ff0=_0x4e0787['affectedSelectable'];break;case'move':_0x4d6ff0=_0x4e0787['targetPosition']['root'];break;default:return null;}return _0x4d6ff0['rootName'];}['_updateServerHistory'](_0x6b37d4){_0x6b37d4['forEach'](_0x3b097e=>{const _0x21d3b8=_0x3b097e['clone']();_0x21d3b8['_authorId']=_0x3b097e['_authorId'],_0x21d3b8['_isInit']=!!_0x3b097e['_isInit'],_0x21d3b8['createdAt']=_0x3b097e['createdAt'],_0x21d3b8['baseVersion']+=this['_offset'],_0x3b097e['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x21d3b8),this['serverHistory']['addOperation'](_0x21d3b8);});}['_handleReconnectionError'](_0x98b4f2){const _0x3096c5=this['editor']['plugins']['get']('Notification'),_0x3f8775=this['editor']['locale'];_0x98b4f2||(_0x98b4f2=fy(_0x3f8775,'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.')),_0x3096c5['showWarning'](_0x98b4f2,{'title':fy(_0x3f8775,'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'](_0x4247fd)['add'](fy(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x4247fd)['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x22632f){const _0x4e29a6=_0x22632f['map'](_0x382f92=>_0x382f92['toJSON']());return this['_compressor']['compress'](_0x4e29a6);}['_decompressOperations'](_0x1022f8,_0x7855e7){return this['_compressor']['decompress'](_0x1022f8)['map']((_0x4a8a30,_0x53f62b)=>{const _0xd0e600='init'==_0x7855e7[_0x53f62b]['type'];if('InsertOperation'==_0x4a8a30['__className']){const _0x582a2b=_0x4a8a30['position']['root'];!this['_document']['getRoot'](_0x582a2b)&&(this['_document']['createRoot']('$root',_0x582a2b)['_isAttached']=!0x1);}const _0x166b93=_0x4f4494['fromJSON'](_0x4a8a30,this['_document']);return _0x166b93['wasUndone']=_0x4a8a30['wasUndone'],_0x166b93['_isInit']=_0xd0e600,_0x166b93['_authorId']=_0xd0e600?null:_0x7855e7[_0x53f62b]['userId'],_0x166b93['_isDisconnection']='cs:removeUser'===_0x7855e7[_0x53f62b]['type'],_0x166b93['createdAt']=_0x7855e7[_0x53f62b]['createdAt'],_0x166b93;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x1f1146=this['editor']['plugins']['get'](Sessions)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x1f1146&&_0x1f1146['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function vy(_0xea4cf7,_0x5af85d){for(const _0x5036ac of _0xea4cf7)_0x5036ac['baseVersion']=_0x5af85d++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x5c71a0){this['_ignoredOperations']=_0x5c71a0,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x3b2e2c){let _0x28bb1d=_0x3b2e2c['length'];for(;_0x28bb1d--;){const _0x28dbeb=_0x3b2e2c[_0x28bb1d];if(!this['_ignoredOperations']['has'](_0x28dbeb)){if(!this['_operationToId']['has'](_0x28dbeb)){const _0x4d8d78=_0x462bc0()['slice'](0x1,0x12);this['_operationToId']['set'](_0x28dbeb,_0x4d8d78);}return this['_operationToId']['get'](_0x28dbeb);}}}['setIdForTheLastOperation'](_0x29eaa6,_0x5bac47){if(!_0x5bac47)return;let _0x554e16=_0x29eaa6['length'];for(;_0x554e16--;){const _0x32e7aa=_0x29eaa6[_0x554e16];this['_ignoredOperations']['has'](_0x32e7aa)||this['_operationToId']['set'](_0x32e7aa,_0x5bac47);}}}class RealTimeCollaborativeEditing extends _0x7cf71c{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class TrackChangesCommand extends _0x4d9dc4{['_enabledCommands'];constructor(_0x31d216,_0x59b618){super(_0x31d216),this['_enabledCommands']=_0x59b618,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 _0x5a02e1 of this['editor']['commands']['commands']())_0x5a02e1['affectsData']&&!this['_enabledCommands']['has'](_0x5a02e1)&&_0x5a02e1['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x29c81f of this['editor']['commands']['commands']())_0x29c81f['affectsData']&&!this['_enabledCommands']['has'](_0x29c81f)&&_0x29c81f['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x4d9dc4{['_suggestions'];constructor(_0x346769,_0x27b2cc){super(_0x346769),this['_suggestions']=_0x27b2cc,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x5225c0){const _0x1b9ee1=this['_suggestions']['get'](_0x5225c0);if(!_0x1b9ee1)throw new _0x3ae0e8('track-changes-accept-suggestion-not-found',this);const _0x17e5c5=_0x1b9ee1['getRanges']();this['editor']['model']['canEditAt'](_0x17e5c5)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x1b9ee1);}}class DiscardSuggestionCommand extends _0x4d9dc4{['_suggestions'];constructor(_0x3ef6b1,_0x4f4b56){super(_0x3ef6b1),this['_suggestions']=_0x4f4b56,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x437e41){const _0x43c7a7=this['_suggestions']['get'](_0x437e41);if(!_0x43c7a7)throw new _0x3ae0e8('track-changes-discard-suggestion-not-found',this);const _0x2edcf9=_0x43c7a7['getRanges']();this['editor']['model']['canEditAt'](_0x2edcf9)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x43c7a7);}}function _y(_0x26e394,_0x2b0f03){let _0x521c70='';return _0x521c70+=_0x26e394['split']('*')['map']((_0x1c84f4,_0x4e431a)=>_0x4e431a%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+Ey(_0x1c84f4)+'</span>':Ey(_0x1c84f4))['join'](''),_0x2b0f03&&(_0x521c70+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x2b0f03['value']+'\x22\x20title=\x22'+_0x2b0f03['title']+'\x22></span>'),_0x521c70;}function Ey(_0x3dc7ce){const _0x1171de=document['createElement']('span');return _0x1171de['innerText']=_0x3dc7ce,_0x1171de['innerHTML'];}function Ty(_0x53a7db){return _0x53a7db['sort']((_0x4dc6b0,_0x47ecca)=>'attribute'===_0x4dc6b0['type']&&'attribute'!==_0x47ecca['type']?-0x1:'attribute'!==_0x4dc6b0['type']&&'attribute'===_0x47ecca['type']?0x1:'deletion'==_0x4dc6b0['type']&&'deletion'!=_0x47ecca['type']?-0x1:'deletion'!=_0x4dc6b0['type']&&'deletion'==_0x47ecca['type']?0x1:0x0);}function Ay(_0x231e0e,_0xf09923){let _0x465c3c,_0x1183ef=0x0;const _0x102843=[],_0x3c65f2=_0xf09923['schema'];for(;_0x1183ef<_0x231e0e['length'];){const _0x3e8fb3=_0x231e0e[_0x1183ef],_0x5db00a=_0x231e0e[_0x1183ef+0x1];_0x465c3c||(_0x465c3c=_0xf09923['createPositionBefore'](_0x3e8fb3)),Sy(_0xf09923,_0x3e8fb3,_0x5db00a)||(_0x102843['push'](_0xf09923['createRange'](_0x465c3c,_0x3c65f2['isObject'](_0x3e8fb3)?_0xf09923['createPositionAfter'](_0x3e8fb3):_0xf09923['createPositionAt'](_0x3e8fb3,'end'))),_0x465c3c=null),_0x1183ef++;}return _0x102843;}function Sy(_0x231bc7,_0x5a83db,_0x2ccb72){if(!_0x2ccb72)return!0x1;const _0x2268bf=_0x231bc7['createPositionAfter'](_0x5a83db),_0x2f536c=_0x231bc7['createPositionBefore'](_0x2ccb72);return _0x2268bf['isTouching'](_0x2f536c);}function Iy(_0x51573f,_0x163dd9,_0x434db2){for(;_0x434db2['length'];){const _0x57834f=_0x434db2['splice'](0x0,0x64);_0x51573f['change'](()=>{for(const _0x3b3660 of _0x57834f)_0x3b3660['isInContent']&&_0x163dd9['execute'](_0x3b3660['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x4d9dc4{['_command'];['_suggestions'];constructor(_0x183d54,_0x4c85b4,_0x2b71ba){super(_0x183d54),this['_command']=_0x4c85b4,this['_suggestions']=_0x2b71ba,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0xcf3b99=Array['from'](this['_suggestions']['values']())['some'](_0xc1d500=>_0xc1d500['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0xcf3b99;}['execute'](){const _0x1177da=Ty(Array['from'](this['_suggestions']['values']()));for(const _0x1abddb of _0x1177da){const _0xd4c7e=_0x1abddb['getRanges']();if(!this['editor']['model']['canEditAt'](_0xd4c7e))return;}Iy(this['editor']['model'],this['_command'],_0x1177da);}}class ExecuteOnSelectedSuggestionsCommand extends _0x4d9dc4{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x2b5f30,_0x497c20,_0x2f2ca7){super(_0x2b5f30),this['_command']=_0x497c20,this['_suggestions']=_0x2f2ca7,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x3d66c9=this['editor']['model']['document']['selection'],_0x3c5e2d=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x2a676c,_0x1b870a){const _0x5d0f60=Array['from'](_0x2a676c['getRanges']()),_0x294b2a=new Set();for(const _0x6f635b of _0x1b870a)if(_0x6f635b['isInContent']){for(const _0x3dc6d8 of _0x5d0f60)for(const _0x4ea4b8 of _0x6f635b['getRanges']())(_0x3dc6d8['isIntersecting'](_0x4ea4b8)||_0x2a676c['isCollapsed']&&!_0x6f635b['isMultiRange']&&_0x6f635b['next']&&_0x4ea4b8['end']['isTouching'](_0x3dc6d8['start']))&&_0x294b2a['add'](_0x6f635b);}return _0x294b2a;}(_0x3d66c9,_0x3c5e2d),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x1238b3=Ty(Array['from'](this['_selectedSuggestions']));for(const _0x2d7122 of _0x1238b3){const _0x34e405=_0x2d7122['getRanges']();if(!this['editor']['model']['canEditAt'](_0x34e405))return;}Iy(this['editor']['model'],this['_command'],_0x1238b3);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x18fa86(){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x9109ce,_0x9907ef){super(),this['id']=_0x9907ef['id'],this['type']=_0x9907ef['type'],this['subType']=_0x9907ef['subType']||null,this['author']=_0x9907ef['author'],this['creator']=_0x9907ef['creator']||_0x9907ef['author'],this['isExternal']=Boolean(_0x9907ef['attributes']&&_0x9907ef['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x9907ef['originalSuggestionId']||null,this['_model']=_0x9109ce,this['_onAccept']=_0x9907ef['onAccept'],this['_onDiscard']=_0x9907ef['onDiscard'],this['_onAttributesChange']=_0x9907ef['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x9907ef['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 _0xcbc44=this;for(;_0xcbc44['previous'];)_0xcbc44=_0xcbc44['previous'];return _0xcbc44;}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'](_0x1ff827){this['_markerNames']['add'](_0x1ff827);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x2e700e=>this['_model']['markers']['get'](_0x2e700e))['filter'](_0x5122f2=>_0x5122f2);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x14a018=>{for(const _0x566f80 of this['getMarkers']())_0x14a018['removeMarker'](_0x566f80);}),this['_markerNames']['clear']();}['removeMarker'](_0x51f4ef){this['_model']['change'](_0x29eafb=>{_0x29eafb['removeMarker'](_0x51f4ef);}),this['_markerNames']['delete'](_0x51f4ef);}['addRange'](_0x19cc7a){const _0x4864b2='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x4864b2),this['_model']['change'](_0x2f45b9=>{_0x2f45b9['addMarker'](_0x4864b2,{'range':_0x19cc7a,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x3fb5ad){for(const _0x512cdb of this['getRanges']())if(_0x512cdb['isIntersecting'](_0x3fb5ad))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x12cc98=>_0x12cc98['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x117d2a,_0x3cdc83)=>[..._0x117d2a,..._0x3cdc83['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x57b395=this['getRanges']();if(0x1!=_0x57b395['length'])return null;const _0x43b1e6=_0x57b395[0x0],_0x5ec8e1=_0x43b1e6['start']['nodeAfter'],_0x57ec26=_0x43b1e6['end']['nodeBefore'];return _0x5ec8e1 instanceof tn?_0x5ec8e1!=_0x57ec26?null:_0x5ec8e1: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 _0xa512b1=[];let _0x172c88=this['head'];for(;_0x172c88;)_0xa512b1['push'](_0x172c88),_0x172c88=_0x172c88['next'];return _0xa512b1;}['setAttribute'](_0x382058,_0x12eb45){const _0x339c2b=kr(this['attributes']);Ur(_0x339c2b,_0x382058,_0x12eb45),qr(_0x339c2b,this['attributes'])||(this['attributes']=_0x339c2b,this['_onAttributesChange'](_0x339c2b));}['removeAttribute'](_0x111d64){const _0x25cb82=kr(this['attributes']);$r(_0x25cb82,_0x111d64),qr(_0x25cb82,this['attributes'])||(this['attributes']=_0x25cb82,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 _0x462bc0()['substr'](0x1,0x5);}}function Cy(_0x290e4e,_0x411944,_0x379562){const _0x54a495=_0x290e4e['t'],t=_0x290e4e['t'];switch(_0x411944){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',_0x379562);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x379562);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x379562);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x379562);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x379562);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',_0x379562);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x379562);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',_0x379562);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x379562);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x379562);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x379562);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x379562);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x379562);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x379562);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x379562);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x379562);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x379562);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x379562);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x379562);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x379562);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x379562);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x379562);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x379562);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x379562);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x379562);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'},_0x379562);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x379562);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x379562);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x379562);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x379562);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x379562);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x379562);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x379562);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'},_0x379562);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x379562);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x379562);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x379562);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x379562);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'},_0x379562);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x379562);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'},_0x379562);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_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_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'},_0x379562);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x379562);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'},_0x379562);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x379562);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'},_0x379562);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x379562);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x379562);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x379562);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x379562);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x379562);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'},_0x379562);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x379562);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 _0x54a495({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x379562);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x54a495({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x379562);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x379562);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'},_0x379562);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'},_0x379562);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'},_0x379562);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x411944;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x35e50f,_0xc6cf98){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x35e50f,this['_locale']=_0xc6cf98;}['getDescriptions'](_0x2dccfa){const _0x4c3da8=[],_0x2606a7=new Set(),_0x9bebc4=new Set();for(let _0x298460=0x0;_0x298460<_0x2dccfa['length'];_0x298460++){const _0xc2d15a=_0x2dccfa[_0x298460];if(!_0xc2d15a['isInContent'])continue;const _0x2362ab=this['_handleCustomCallbackDescription'](_0xc2d15a);if(_0x2362ab){if(null!=_0xc2d15a['subType']){if(_0x2606a7['has'](_0xc2d15a['subType']))continue;_0x2606a7['add'](_0xc2d15a['subType']);}_0x4c3da8['push'](_0x2362ab);}else{if('attribute'==_0xc2d15a['type']){const _0x3f195f=_0xc2d15a['data']['key'];if(_0x9bebc4['has'](_0x3f195f))continue;_0x9bebc4['add'](_0xc2d15a['data']['key']),_0x3f195f==Gy?this['_handleRenameSuggestionDescription'](_0x4c3da8,_0xc2d15a):this['_handleAttributeSuggestionDescription'](_0x4c3da8,_0xc2d15a);continue;}'insertion'!=_0xc2d15a['type']&&'deletion'!=_0xc2d15a['type']||this['_handleInsertRemoveSuggestionDescription'](_0x4c3da8,_0xc2d15a,_0x2dccfa[_0x298460+0x1]);}}return this['_resolveDescriptionItems'](_0x4c3da8);}['registerDescriptionCallback'](_0x3ddcc1){this['_customCallbacks']['push'](_0x3ddcc1);}['registerElementLabel'](_0x27b3a1,_0x11e474,_0x5db751=_0x387442['normal']){'function'==typeof _0x27b3a1?_0x2901f1(this['_itemLabelsCallbacks'],{'matchingCallback':_0x27b3a1,'label':_0x11e474,'priority':_0x5db751}):this['_itemLabels']['set'](_0x27b3a1,_0x11e474);}['registerAttributeLabel'](_0x56e03b,_0x2efe40){this['_attributeLabels']['set'](_0x56e03b,_0x2efe40);}['getItemLabel'](_0x5da697,_0x278a81=0x1){let _0x1c5ac6;for(const _0x348b9d of this['_itemLabelsCallbacks'])if(_0x348b9d['matchingCallback'](_0x5da697)){_0x1c5ac6=_0x348b9d['label'];break;}return _0x1c5ac6||(_0x1c5ac6=this['_itemLabels']['get'](_0x5da697['name'])),_0x1c5ac6?_0x1c5ac6(_0x278a81):0x1!==_0x278a81?_0x278a81+'\x20'+_0x5da697['name']+'s':''+_0x5da697['name'];}['_addDescriptionItems'](_0x4ae4b9,_0x19c761){const _0x218cad=_0x19c761['getFirstRange']()['getWalker'](),_0xa6fbc='insertion'==_0x19c761['type']?'add':'remove';for(const _0x428411 of _0x218cad){const _0x4f263f=_0x428411['item'],_0x19f295=_0x4ae4b9[_0x4ae4b9['length']-0x1];if(_0x4f263f['is']('$textProxy'))_0x19f295&&_0x19f295['type']['indexOf']('Container')>-0x1&&_0x4ae4b9['pop'](),_0x19f295&&'text'==_0x19f295['type']?_0x19f295[_0xa6fbc]+=_0x4f263f['data']:_0x4ae4b9['push']({'type':'text','add':'add'==_0xa6fbc?_0x4f263f['data']:'','remove':'remove'==_0xa6fbc?_0x4f263f['data']:''});else{if(this['_schema']['isObject'](_0x4f263f)){const _0x43cd93=_0x4f263f;if(_0x19f295&&_0x19f295['type']['indexOf']('Container')>-0x1&&_0x4ae4b9['pop'](),'elementEnd'==_0x428411['type'])continue;_0x19f295&&_0x19f295['type']==_0xa6fbc+'Object'&&_0x19f295['element']['name']==_0x43cd93['name']?_0x19f295['quantity']++:_0x4ae4b9['push']({'type':_0xa6fbc+'Object','element':_0x43cd93,'quantity':0x1}),_0x218cad['skip'](_0x5a059e=>!('elementEnd'==_0x5a059e['type']&&_0x5a059e['item']==_0x4f263f));}else{if(this['_schema']['checkChild'](_0x4f263f,'$text')||_0x4f263f['is']('element','softBreak')){const _0x583cc3=_0x4f263f;if('add'==_0xa6fbc&&'elementStart'==_0x428411['type']||'remove'==_0xa6fbc&&'elementEnd'==_0x428411['type'])continue;if(_0x19f295&&-0x1==_0x19f295['type']['indexOf']('Container')){'text'==_0x19f295['type']&&(_0x19f295[_0xa6fbc]+='\x0a');continue;}let _0xc9bde3;if(_0xc9bde3='add'==_0xa6fbc?_0x583cc3['nextSibling']&&!this['_schema']['isObject'](_0x583cc3['nextSibling'])?_0x583cc3['nextSibling']:null:_0x583cc3['previousSibling']&&!this['_schema']['isObject'](_0x583cc3['previousSibling'])?_0x583cc3['previousSibling']:null,_0x583cc3['isEmpty']||_0xc9bde3&&_0xc9bde3['isEmpty']){const _0x321431=_0xc9bde3&&_0xc9bde3['isEmpty']?_0xc9bde3:_0x583cc3;_0x19f295&&_0x19f295['type']==_0xa6fbc+'EmptyContainer'&&_0x19f295['element']['name']==_0x321431['name']?_0x19f295['quantity']++:_0x4ae4b9['push']({'type':_0xa6fbc+'EmptyContainer','element':_0x321431,'quantity':0x1});}else _0x4ae4b9['push']({'type':_0xa6fbc+'Container','element':_0x583cc3});}}}}}['_resolveDescriptionItems'](_0x2be495){const _0x235de6=this['_locale'],_0xe04690=[],_0x48ff8b=[],_0x2d9799=[];for(const _0x4893e8 of _0x2be495)switch(_0x4893e8['type']){case'text':if(_0x4893e8['add']=_0x4893e8['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x4893e8['remove']=_0x4893e8['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x4893e8['add']&&''!=_0x4893e8['remove']){_0xe04690['push']({'type':'replace','content':Cy(_0x235de6,'REPLACE_TEXT',['\x22'+_0x4893e8['remove']+'\x22','\x22'+_0x4893e8['add']+'\x22'])});continue;}if(null!=_0x4893e8['add']['match'](/^ +$/)){_0xe04690['push']({'type':'insertion','content':Cy(_0x235de6,'*Insert:*\x20%0',Cy(_0x235de6,'ELEMENT_SPACE',_0x4893e8['add']['length']))});continue;}if(null!=_0x4893e8['remove']['match'](/^ +$/)){_0xe04690['push']({'type':'deletion','content':Cy(_0x235de6,'*Remove:*\x20%0',Cy(_0x235de6,'ELEMENT_SPACE',_0x4893e8['remove']['length']))});continue;}if(''!=_0x4893e8['add']){_0xe04690['push']({'type':'insertion','content':Cy(_0x235de6,'*Insert:*\x20%0','\x22'+_0x4893e8['add']+'\x22')});continue;}_0xe04690['push']({'type':'deletion','content':Cy(_0x235de6,'*Remove:*\x20%0','\x22'+_0x4893e8['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0xe04690['push']({'type':'insertion','content':Cy(_0x235de6,'*Insert:*\x20%0',this['getItemLabel'](_0x4893e8['element'],_0x4893e8['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0xe04690['push']({'type':'deletion','content':Cy(_0x235de6,'*Remove:*\x20%0',this['getItemLabel'](_0x4893e8['element'],_0x4893e8['quantity']))});continue;case'addContainer':_0xe04690['push']({'type':'insertion','content':Cy(_0x235de6,'*Split:*\x20%0',this['getItemLabel'](_0x4893e8['element'],_0x4893e8['quantity']))});continue;case'removeContainer':_0xe04690['push']({'type':'deletion','content':Cy(_0x235de6,'*Merge:*\x20%0',this['getItemLabel'](_0x4893e8['element'],_0x4893e8['quantity']))});continue;case'addFormat':_0x48ff8b['push'](_0x4893e8['key']);continue;case'removeFormat':_0x2d9799['push'](_0x4893e8['key']);continue;default:_0xe04690['push'](_0x4893e8);}if(_0x48ff8b['length']){const _0x2c2b0f=_0x48ff8b['map'](_0x4116b5=>this['_attributeLabels']['has'](_0x4116b5)?this['_attributeLabels']['get'](_0x4116b5):_0x4116b5)['join'](',\x20');_0xe04690['push']({'type':'format','content':Cy(this['_locale'],'*Set\x20format:*\x20%0',_0x2c2b0f)});}if(_0x2d9799['length']){const _0x6098bc=_0x2d9799['map'](_0x30d15a=>this['_attributeLabels']['has'](_0x30d15a)?this['_attributeLabels']['get'](_0x30d15a):_0x30d15a)['join'](',\x20');_0xe04690['push']({'type':'format','content':Cy(this['_locale'],'*Remove\x20format:*\x20%0',_0x6098bc)});}return _0xe04690;}['_handleCustomCallbackDescription'](_0x22ee39){for(const _0xbca3aa of this['_customCallbacks']){const _0x3569f1=_0xbca3aa(_0x22ee39);if(_0x3569f1&&'type'in _0x3569f1)return _0x3569f1;}}['_handleAttributeSuggestionDescription'](_0x198e45,_0x18af68){const _0x1424d3=_0x18af68['data'],_0x102851=void 0x0===_0x1424d3['newValue']?'removeFormat':'addFormat';_0x198e45['push']({'type':_0x102851,'key':_0x1424d3['key']});}['_handleRenameSuggestionDescription'](_0x423acc,_0x48244b){_0x423acc['push']({'type':'format','content':Cy(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x48244b['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x3609b0,_0x5d13fd,_0x247483){if(this['_addDescriptionItems'](_0x3609b0,_0x5d13fd),_0x247483&&_0x247483['getFirstRange']()&&!_0x5d13fd['getFirstRange']()['end']['isEqual'](_0x247483['getFirstRange']()['start'])){const _0xdfb782=_0x3609b0[_0x3609b0['length']-0x1],_0x1917c9='insertion'==_0x5d13fd['type']?'add':'remove';_0xdfb782&&'text'==_0xdfb782['type']&&(_0xdfb782[_0x1917c9]+='\x0a');}}}class TrackChangesAIAssistant extends _0x7cf71c{['afterInit'](){const _0x1e59c2=this['editor'],_0x1bd20e=_0x1e59c2['plugins']['get']('TrackChangesEditing');_0x1e59c2['commands']['get']('showAIAssistant')&&_0x1bd20e['enableCommand']('showAIAssistant');}}class TrackChangesAI extends _0x7cf71c{['afterInit'](){const _0xb6ea1a=this['editor'],_0x5b1c13=_0xb6ea1a['plugins']['get']('TrackChangesEditing');_0xb6ea1a['commands']['get']('toggleAi')&&_0x5b1c13['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x7cf71c{['afterInit'](){const _0x590bda=this['editor'],_0x2d9e81=_0x590bda['plugins']['get']('TrackChangesEditing');_0x590bda['commands']['get']('aiQuickAction')&&_0x2d9e81['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x7cf71c{['afterInit'](){const _0x2989d9=this['editor'],_0x57959f=_0x2989d9['locale'];if(!_0x2989d9['plugins']['has']('AlignmentEditing'))return;const _0x3cab5e=_0x2989d9['plugins']['get']('TrackChangesEditing');_0x3cab5e['enableDefaultAttributesIntegration']('alignment'),_0x3cab5e['descriptionFactory']['registerAttributeLabel']('alignment',Cy(_0x57959f,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x241d86=this['editor'],_0x16c330=_0x241d86['locale'];_0x241d86['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x48e2b3=>{if('formatBlock'!=_0x48e2b3['type'])return;const {data:_0x479201}=_0x48e2b3;if(_0x479201&&'alignment'==_0x479201['commandName']){const _0x47b512=_0x479201['commandParams'][0x0]['value'];return{'type':'format','content':Cy(_0x16c330,'*Format:*\x20%0',function(_0x299242){switch(_0x299242){case'left':return Cy(_0x16c330,'FORMAT_ALIGN_TO_LEFT');case'right':return Cy(_0x16c330,'FORMAT_ALIGN_TO_RIGHT');case'center':return Cy(_0x16c330,'FORMAT_ALIGN_TO_CENTER');case'justify':return Cy(_0x16c330,'FORMAT_JUSTIFY_TEXT');}}(_0x47b512))};}});}}const ky=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x7cf71c{['afterInit'](){const _0x1d6d0c=this['editor'],_0x163c65=_0x1d6d0c['plugins']['get']('TrackChangesEditing'),_0x442f6c=_0x1d6d0c['locale'];for(const _0x16f9b3 of ky){if(!_0x1d6d0c['plugins']['has'](_0x16f9b3))continue;const _0x5b9803=_0x16f9b3['slice'](0x0,-0x7)['toLowerCase'](),_0x4d03d1='FORMAT_'+_0x5b9803['toUpperCase']();_0x163c65['enableDefaultAttributesIntegration'](_0x5b9803),_0x163c65['descriptionFactory']['registerAttributeLabel'](_0x5b9803,Cy(_0x442f6c,_0x4d03d1));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x33f2dc=this['editor'],_0x4e385e=_0x33f2dc['locale'],_0x25316a=_0x33f2dc['plugins']['get']('TrackChangesEditing');function _0x14b693(_0x3d6e73,_0xf655a5){_0x25316a['descriptionFactory']['registerDescriptionCallback'](_0x3641be=>{if('formatInline'!=_0x3641be['type'])return;const {data:_0x1e43c8}=_0x3641be;return _0x1e43c8&&_0x1e43c8['commandName']===_0x3d6e73?_0x1e43c8['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0x4e385e,'*Format:*\x20%0',_0xf655a5)}:{'type':'format','content':Cy(_0x4e385e,'*Remove\x20format:*\x20%0',_0xf655a5)}:void 0x0;});}_0x14b693('bold',Cy(_0x4e385e,'FORMAT_BOLD')),_0x14b693('italic',Cy(_0x4e385e,'FORMAT_ITALIC')),_0x14b693('underline',Cy(_0x4e385e,'FORMAT_UNDERLINE')),_0x14b693('code',Cy(_0x4e385e,'FORMAT_CODE')),_0x14b693('strikethrough',Cy(_0x4e385e,'FORMAT_STRIKETHROUGH')),_0x14b693('subscript',Cy(_0x4e385e,'FORMAT_SUBSCRIPT')),_0x14b693('superscript',Cy(_0x4e385e,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x7cf71c{['afterInit'](){const _0x1064ca=this['editor'],_0x42ddf1=_0x1064ca['locale'];if(!_0x1064ca['plugins']['has']('BlockQuoteEditing'))return;const _0x50f812=_0x1064ca['plugins']['get']('TrackChangesEditing'),_0x33a140=this['editor']['commands']['get']('blockQuote');_0x50f812['enableCommand']('blockQuote',(_0xd4457e,_0x305683={})=>{const _0x6bbf27=this['editor']['model']['document']['selection'],_0x3eef8f=_0x305683&&void 0x0!==_0x305683['forceValue']?_0x305683['forceValue']:!_0x33a140['value'];let _0x5e3a65=[];if(_0x3eef8f){const _0x2162de=Array['from'](_0x6bbf27['getSelectedBlocks']())['filter'](_0x453b98=>xy(_0x453b98)||function(_0x119b63,_0x26cba8){const _0x1064e5=_0x26cba8['checkChild'](_0x119b63['parent'],'blockQuote'),_0xe31d16=_0x26cba8['checkChild'](['$root','blockQuote'],_0x119b63);return _0x1064e5&&_0xe31d16;}(_0x453b98,this['editor']['model']['schema']));_0x5e3a65=Ay(_0x2162de,_0x1064ca['model']);}else{const _0x35508e=Array['from'](_0x6bbf27['getSelectedBlocks']())['filter'](_0x36edf2=>xy(_0x36edf2));_0x5e3a65=Ay(_0x35508e,_0x1064ca['model']);}_0x1064ca['model']['change'](()=>{for(const _0x42c004 of _0x5e3a65)_0x50f812['markBlockFormat'](_0x42c004,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x3eef8f}]});});}),_0x50f812['descriptionFactory']['registerDescriptionCallback'](_0x407347=>{const {data:_0x1f2ca5}=_0x407347;if(_0x1f2ca5&&'blockQuote'==_0x1f2ca5['commandName']){const _0x4d0f52=Cy(_0x42ddf1,'ELEMENT_BLOCK_QUOTE');return _0x1f2ca5['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0x42ddf1,'*Set\x20format:*\x20%0',_0x4d0f52)}:{'type':'format','content':Cy(_0x42ddf1,'*Remove\x20format:*\x20%0',_0x4d0f52)};}});}}function xy(_0x16d09b){return'blockQuote'==_0x16d09b['parent']['name'];}class TrackChangesBookmark extends _0x7cf71c{['afterInit'](){const _0x3db39d=this['editor'],_0x39691e=_0x3db39d['locale'],_0x395da6=_0x3db39d['plugins']['get']('TrackChangesEditing');_0x3db39d['plugins']['has']('BookmarkEditing')&&(_0x395da6['enableCommand']('insertBookmark'),_0x395da6['enableDefaultAttributesIntegration']('updateBookmark'),_0x395da6['descriptionFactory']['registerDescriptionCallback'](_0x3210ba=>{if('insertion'!=_0x3210ba['type']&&'deletion'!=_0x3210ba['type']&&'attribute'!=_0x3210ba['type'])return;const _0x13d229=_0x3210ba['getContainedElement']();if(null==_0x13d229)return;if(!_0x13d229['is']('element','bookmark'))return;const _0x4dc4d6=_0x13d229['getAttribute']('bookmarkId');if('insertion'==_0x3210ba['type'])return{'type':'insertion','content':Cy(_0x39691e,'*Insert:*\x20%0','\x22'+_0x4dc4d6+'\x22\x20'+Cy(_0x39691e,'ELEMENT_BOOKMARK'))};if('deletion'==_0x3210ba['type'])return{'type':'deletion','content':Cy(_0x39691e,'*Remove:*\x20%0','\x22'+_0x4dc4d6+'\x22\x20'+Cy(_0x39691e,'ELEMENT_BOOKMARK'))};const {data:_0x305ddc}=_0x3210ba;if(!_0x305ddc||'bookmarkId'!=_0x305ddc['key'])return;return{'type':'format','content':Cy(_0x39691e,'*Set\x20bookmark:*\x20%0','\x22'+_0x305ddc['newValue']+'\x22')};}));}}class TrackChangesCaseChange extends _0x7cf71c{['afterInit'](){const _0x1b6032=this['editor'];_0x1b6032['plugins']['has']('CaseChange')&&(_0x1b6032['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x1b6032['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x1b6032['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class TrackChangesCKBox extends _0x7cf71c{['afterInit'](){const _0x2daa6a=this['editor'];_0x2daa6a['commands']['get']('ckbox')&&_0x2daa6a['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class TrackChangesCodeBlock extends _0x7cf71c{['afterInit'](){const _0x283615=this['editor'];if(!_0x283615['plugins']['has']('CodeBlock'))return;const _0x19ad42=_0x283615['plugins']['get']('TrackChangesEditing'),_0xb99015=_0x283615['locale'],_0x11b6dd=_0x283615['config']['get']('codeBlock')['languages'],_0x3f0573=_0x283615['commands']['get']('codeBlock');_0x19ad42['enableCommand']('indentCodeBlock'),_0x19ad42['enableCommand']('outdentCodeBlock'),_0x19ad42['enableCommand']('codeBlock',(_0x2fdcfc,_0x3f8b43={})=>{const _0xbb13e8=_0x283615['model'],_0x180b09=_0x283615['model']['document']['selection'],_0xa7ffd1=_0x3f8b43&&void 0x0!==_0x3f8b43['forceValue']?_0x3f8b43['forceValue']:!_0x3f0573['value'];let _0x13c7ad;_0x3f8b43['language']||(_0x3f8b43['language']=_0x11b6dd[0x0]['language']),_0x13c7ad=_0xa7ffd1?Array['from'](_0x180b09['getSelectedBlocks']())['filter'](_0x36aecb=>Ry(_0x36aecb)||function(_0xcf81e8,_0x49f392){if(_0xcf81e8['is']('rootElement')||_0x49f392['isLimit'](_0xcf81e8))return!0x1;return _0x49f392['checkChild'](_0xcf81e8['parent'],'codeBlock');}(_0x36aecb,_0xbb13e8['schema'])):Array['from'](_0x180b09['getSelectedBlocks']())['filter'](_0x2b07de=>Ry(_0x2b07de));const _0x2cfd20=Ay(_0x13c7ad,_0xbb13e8);_0xbb13e8['change'](()=>{for(const _0x306c76 of _0x2cfd20)_0x19ad42['markBlockFormat'](_0x306c76,{'commandName':'codeBlock','commandParams':[{..._0x3f8b43,'forceValue':_0xa7ffd1}],'formatGroupId':'blockName'});});}),(_0x19ad42['descriptionFactory']['registerElementLabel']('codeBlock',_0x5bd0fa=>Cy(_0xb99015,'ELEMENT_CODE_BLOCK',_0x5bd0fa)),_0x19ad42['descriptionFactory']['registerDescriptionCallback'](_0x383baf=>{if('formatBlock'!=_0x383baf['type'])return;const _0x5860bf=_0xb99015['t'],{data:_0x1886eb}=_0x383baf;if(!_0x1886eb||'codeBlock'!=_0x1886eb['commandName'])return;const _0x57eef6=_0x1886eb['commandParams'][0x0]['language'],_0x3e0b47=_0x11b6dd['find'](_0x21c4a=>_0x21c4a['language']===_0x57eef6)['label'],_0x3925a1=_0x5860bf(_0x3e0b47)['toLowerCase']();return _0x1886eb['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0xb99015,'*Set\x20format:*\x20%0',Cy(_0xb99015,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x3925a1+')')}:{'type':'format','content':Cy(_0xb99015,'*Remove\x20format:*\x20%0',Cy(_0xb99015,'ELEMENT_CODE_BLOCK',0x1))};}));}}function Ry(_0xe770d9){return'codeBlock'==_0xe770d9['name'];}class TrackChangesComments extends _0x7cf71c{['afterInit'](){const _0x45bd49=this['editor'];if(!_0x45bd49['plugins']['has']('CommentsEditing'))return;_0x45bd49['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x7cf71c{static get['requires'](){return[_0x1fedb8];}['init'](){const _0x30f045=this['editor'],_0x268c47=_0x30f045['plugins']['get']('TrackChangesEditing');_0x268c47['enableCommand']('delete');const _0x374fd=_0x30f045['commands']['get']('deleteForward');_0x268c47['enableCommand']('deleteForward',(_0x2f4548,_0x545548={})=>{const _0x1138a3=_0x30f045['model']['createSelection'](_0x30f045['model']['document']['selection']);_0x1138a3['isCollapsed']&&_0x30f045['model']['modifySelection'](_0x1138a3,{'direction':'forward','unit':_0x545548['unit']});const _0x3fc8fa=_0x1138a3['getFirstRange'](),_0x3b0ca0=_0x495f74['fromRange'](_0x3fc8fa);let _0x18a213;_0x2f4548(_0x545548),_0x18a213='$graveyard'==_0x3b0ca0['root']['rootName']?_0x30f045['model']['createRange'](_0x3fc8fa['start']):_0x30f045['model']['createRange'](_0x3b0ca0['start'],_0x3b0ca0['end']),_0x3b0ca0['detach'](),_0x30f045['model']['enqueueChange'](_0x374fd['buffer']['batch'],_0x5f178a=>{_0x374fd['buffer']['lock'](),_0x5f178a['setSelection'](_0x5f178a['createRange'](_0x18a213['end'])),_0x374fd['buffer']['unlock']();});});}}class TrackChangesList extends _0x7cf71c{['afterInit'](){const _0x4dd99b=this['editor'];if(!_0x4dd99b['plugins']['has']('ListEditing'))return;const _0x1b263d=_0x4dd99b['locale'],_0x4c1cbc=_0x4dd99b['plugins']['get']('TrackChangesEditing'),_0x120cc4=_0x4dd99b['plugins']['has']('TodoListEditing'),_0xff1cc=!!_0x4dd99b['config']['get']('list.multiBlock');function _0x577d04(_0x1efe7f){return{'type':'format','content':''+Cy(_0x1b263d,'*Set\x20format:*\x20%0',_0x1efe7f)};}function _0x49be5f(_0x5f5b76){return{'type':'format','content':''+Cy(_0x1b263d,'*Remove\x20format:*\x20%0',_0x5f5b76)};}_0x4c1cbc['enableDefaultAttributesIntegration']('numberedList'),_0x4c1cbc['enableDefaultAttributesIntegration']('bulletedList'),_0x4c1cbc['enableDefaultAttributesIntegration']('customNumberedList'),_0x4c1cbc['enableDefaultAttributesIntegration']('customBulletedList'),_0x4c1cbc['enableDefaultAttributesIntegration']('indentList'),_0x4c1cbc['enableDefaultAttributesIntegration']('outdentList'),_0x4c1cbc['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x4c1cbc['enableDefaultAttributesIntegration']('splitListItemBefore'),_0xff1cc&&(_0x4c1cbc['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x4c1cbc['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x120cc4&&(_0x4c1cbc['enableDefaultAttributesIntegration']('todoList'),_0x4c1cbc['enableDefaultAttributesIntegration']('checkTodoList'),_0x4c1cbc['descriptionFactory']['registerDescriptionCallback'](_0x5c28bf=>{const {data:_0x5460a3}=_0x5c28bf;if(_0x5460a3&&'todoListChecked'==_0x5460a3['key'])return{'type':'format','content':_0x5460a3['newValue']?Cy(_0x1b263d,'*Check\x20item*'):Cy(_0x1b263d,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x58b578=>{if(_0x58b578['batch']['isUndo'])return!0x1;let _0x5711c8=!0x1;const _0x2793dc=_0x4c1cbc['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x303d41=>'todoListChecked'===_0x4c1cbc['_getAttributeKey'](_0x303d41));for(const _0x37573d of _0x2793dc){'todo'!=_0x37573d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x4c1cbc['_findSuggestions'](_0x37573d['getFirstRange'](),'attribute')['find'](_0x3154a2=>'listType'===_0x4c1cbc['_getAttributeKey'](_0x3154a2['suggestion']))||(_0x58b578['removeMarker'](_0x37573d['getFirstMarker']()),_0x5711c8=!0x0));}return _0x5711c8;})),_0x4c1cbc['descriptionFactory']['registerAttributeLabel']('listIndent',Cy(_0x1b263d,'FORMAT_INDENT'));const _0x46fa9d={'type':'format','content':''};_0x4c1cbc['descriptionFactory']['registerDescriptionCallback'](_0xe0d083=>{const {data:_0x2596c8}=_0xe0d083;if(!_0x2596c8||'listType'!=_0x2596c8['key'])return;let _0x46cad3=_0xe0d083['head'];for(;_0x46cad3;){if(_0x46cad3['data']&&(('listStyle'==_0x46cad3['data']['key']||'listMarkerStyle'==_0x46cad3['data']['key'])&&(_0x46cad3['data']['newValue']&&'default'!=_0x46cad3['data']['newValue']||'default'!=_0x46cad3['data']['oldValue']&&!_0x2596c8['newValue'])||!_0xff1cc&&_0x46cad3['data']['key']==Gy))return _0x46fa9d;_0x46cad3=_0x46cad3['next'];}if(null==_0x2596c8['newValue'])switch(_0x2596c8['oldValue']){case'bulleted':return _0x49be5f(Cy(_0x1b263d,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x49be5f(Cy(_0x1b263d,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x49be5f(Cy(_0x1b263d,'ELEMENT_TODO_LIST'));}switch(_0x2596c8['newValue']){case'bulleted':return _0x577d04(Cy(_0x1b263d,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x577d04(Cy(_0x1b263d,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x577d04(Cy(_0x1b263d,'ELEMENT_TODO_LIST'));}}),_0x4c1cbc['descriptionFactory']['registerDescriptionCallback'](_0x53e40f=>{const {data:_0x45456b}=_0x53e40f;if(_0x45456b&&'listIndent'==_0x45456b['key'])return null==_0x45456b['newValue']||null==_0x45456b['oldValue']&&0x0==_0x45456b['newValue']?_0x46fa9d:void 0x0;}),_0x4c1cbc['descriptionFactory']['registerDescriptionCallback'](_0x3c5db4=>{if('attribute'!=_0x3c5db4['type'])return;const {data:_0x35a583}=_0x3c5db4;if(!_0x35a583||'listItemId'!=_0x35a583['key'])return;const _0x174e9d=Py(_0x3c5db4);return'newValue'==_0x174e9d?{'type':'format','content':Cy(_0x1b263d,'*Merge:*\x20list\x20item')}:'oldValue'==_0x174e9d?{'type':'format','content':Cy(_0x1b263d,'*Split:*\x20list\x20item')}:_0x46fa9d;}),_0x4dd99b['model']['document']['registerPostFixer'](_0x2471fa=>this['listItemIdFixer'](_0x2471fa)),_0x4dd99b['model']['document']['registerPostFixer'](_0x2f68bc=>this['noTrackChangesFixer'](_0x2f68bc)),_0x4dd99b['model']['document']['on']('change:data',(_0x5e5bd2,_0x4170b9)=>{if(_0x4170b9['isUndo']||!_0x4170b9['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x398056){if(_0x398056['batch']['isUndo']||!_0x398056['batch']['isLocal'])return!0x1;let _0x2e1ca8=!0x1;const _0x10be67=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3b8ddc=>_0x3b8ddc['data']&&'listItemId'==_0x3b8ddc['data']['key'])['filter'](_0x50383f=>_0x50383f['data']['newValue']&&_0x50383f['data']['oldValue']);for(const _0x3e2208 of _0x10be67)Py(_0x3e2208)||(_0x398056['removeMarker'](_0x3e2208['getFirstMarker']()),_0x2e1ca8=!0x0);return _0x2e1ca8;}['noTrackChangesFixer'](_0x32d20a){if(_0x32d20a['batch']['isUndo']||!_0x32d20a['batch']['isLocal'])return!0x1;const _0x15e32f=this['editor']['model']['document']['differ'],_0x3a36f5=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x3a36f5['trackChangesCommand']['value'])return!0x1;let _0x861963=!0x1;const _0x2910a2=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle']),_0x241151=_0x15e32f['getChanges']()['filter'](_0x2a96dd=>'attribute'==_0x2a96dd['type'])['filter'](_0x1e4e63=>_0x2910a2['has'](_0x1e4e63['attributeKey']));if(0x0==_0x241151['length'])return _0x861963;const _0x5360d8=new Set(_0x15e32f['getMarkersToAdd']()['filter'](_0x23a53e=>{if(!_0x23a53e['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x2cb2ce=xc(_0x23a53e['name'])['subType']['split']('|')[0x0];return _0x2910a2['has'](_0x2cb2ce);})['map'](_0xc07b4d=>xc(_0xc07b4d['name'])['id']));for(const _0x1901ec of _0x241151){const _0x5d6a91=_0x3a36f5['_findSuggestions'](_0x1901ec['range'],'attribute')['filter'](_0x1d74a1=>{if(_0x1d74a1['meta']['isNextTo'])return!0x1;if(_0x5360d8['has'](_0x1d74a1['suggestion']['id']))return!0x1;const _0x300a59=_0x3a36f5['_getAttributeKey'](_0x1d74a1['suggestion']);return _0x2910a2['has'](_0x300a59);})['map'](_0xd0b4eb=>_0xd0b4eb['suggestion']);if(_0x5d6a91['length']){for(const _0x25e24f of _0x5d6a91)_0x32d20a['removeMarker'](_0x25e24f['getFirstMarker']());_0x861963=!0x0;}}return _0x861963;}['assureChains'](){const _0x4f0c13=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1b0fa7=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x4ab99a;const _0x436fe6=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2e9dd4=>{if(_0x2e9dd4['data']['oldRange']||!_0x2e9dd4['data']['newRange'])return null;if(!_0x2e9dd4['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x25d49d}=xc(_0x2e9dd4['name']);if(!_0x4f0c13['hasSuggestion'](_0x25d49d))return null;const _0x42331c=_0x4f0c13['getSuggestion'](_0x25d49d);return _0x1b0fa7['includes'](_0x42331c['data']['key']);})['map'](_0xfe80f4=>{const {id:_0x376491}=xc(_0xfe80f4['name']),_0x2a7754=_0x4f0c13['getSuggestion'](_0x376491);return _0x4ab99a=_0x2a7754['attributes']['groupId'],_0x2a7754['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x436fe6['size'])return;const _0x3204e5=_0x4f0c13['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x151250=>'attribute'==_0x151250['type']&&_0x151250['data']&&_0x1b0fa7['includes'](_0x151250['data']['key'])&&_0x151250['attributes']['groupId']!=_0x4ab99a)['map'](_0x18f85b=>({'listItem':_0x18f85b['getFirstRange']()['start']['nodeAfter'],'groupId':_0x18f85b['attributes']['groupId']})),_0x325b2b=new Set();for(const {groupId:_0x3221d2,listItem:_0x3491f6}of _0x3204e5)_0x436fe6['has'](_0x3491f6)&&_0x325b2b['add'](_0x3221d2);for(const _0x1ac7b2 of _0x4f0c13['getSuggestions']())_0x325b2b['has'](_0x1ac7b2['attributes']['groupId'])&&_0x1ac7b2['setAttribute']('groupId',_0x4ab99a);}['_supportLegacySuggestions'](){const _0x4dfb6a=this['editor'],_0x325d9c=_0x4dfb6a['locale'],_0x35ef52=_0x4dfb6a['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x35ef52['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x2f80af,_0x18e2ad){const _0x55961f=[];for(let _0xac24d2 of _0x2f80af)_0xac24d2['start']['nodeAfter']===_0xac24d2['end']['parent']&&(_0xac24d2=_0x4dfb6a['model']['createRange'](_0x4dfb6a['model']['createPositionAt'](_0xac24d2['start']['nodeAfter'],0x0))),_0x55961f['push'](_0xac24d2);_0x4dfb6a['model']['change'](_0x532ee4=>{const _0x377a59=_0x4dfb6a['model']['document']['selection'],_0x17d744=Array['from'](_0x377a59['getRanges']())['map'](_0x37b816=>_0x495f74['fromRange'](_0x37b816));_0x532ee4['setSelection'](_0x55961f),_0x4dfb6a['commands']['get'](_0x18e2ad['commandName'])['refresh'](),_0x18e2ad['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x4dfb6a['execute'](_0x18e2ad['commandName'],..._0x18e2ad['commandParams']),_0x532ee4['setSelection'](_0x17d744);for(const _0x1e05ed of _0x17d744)_0x1e05ed['detach']();});}),_0x35ef52['descriptionFactory']['registerElementLabel'](function(_0x197465){const _0x4a1168=!_0x4dfb6a['model']['schema']['isObject'](_0x197465),_0x189e83=_0x197465['previousSibling'],_0x5a4b7e=_0x197465['nextSibling'],_0x240ece=_0x197465['getAttribute']('listItemId'),_0x19357c=!_0x189e83||_0x189e83['getAttribute']('listItemId')!==_0x240ece,_0x2d6ed5=!_0x5a4b7e||_0x5a4b7e['getAttribute']('listItemId')!==_0x240ece;return _0x4a1168&&Boolean(_0x240ece)&&_0x19357c&&_0x2d6ed5;},_0x2593eb=>Cy(_0x325d9c,'ELEMENT_LIST_ITEM',_0x2593eb));}['_registerLegacyDescription'](){const _0x2acfc2=this['editor'],_0x1b0ec1=_0x2acfc2['locale'];function _0x4c7422(_0x872191){const _0x28524e=_0x2acfc2['commands']['get']('bulletedList')['value'],_0x598cb7=_0x2acfc2['commands']['get']('numberedList')['value'];return'numberedList'===_0x872191?_0x28524e:_0x598cb7;}_0x2acfc2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x70f590){if('formatBlock'!=_0x70f590['type'])return;const {data:_0x1361d4}=_0x70f590;if(!_0x1361d4)return;let _0x1d2cb9,_0x32fad9,_0x464631,_0x59bad7;switch(_0x1361d4['commandName']){case'bulletedList':_0x464631=_0x1361d4['commandParams'][0x0]['forceValue'],_0x59bad7=_0x4c7422(_0x1361d4['commandName']),_0x1d2cb9=_0x464631?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x59bad7&&_0x2acfc2['config']['get']('list.multiBlock')||(_0x1d2cb9='*Change\x20to:*\x20%0'),_0x32fad9={'type':'format','content':Cy(_0x1b0ec1,_0x1d2cb9,Cy(_0x1b0ec1,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x464631=_0x1361d4['commandParams'][0x0]['forceValue'],_0x59bad7=_0x4c7422(_0x1361d4['commandName']),_0x1d2cb9=_0x464631?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x59bad7&&_0x2acfc2['config']['get']('list.multiBlock')||(_0x1d2cb9='*Change\x20to:*\x20%0'),_0x32fad9={'type':'format','content':Cy(_0x1b0ec1,_0x1d2cb9,Cy(_0x1b0ec1,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x1d2cb9='*Indent:*\x20%0',_0x32fad9={'type':'format','content':Cy(_0x1b0ec1,_0x1d2cb9,Cy(_0x1b0ec1,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x1d2cb9=function(_0x3b6f72){const _0x32b3ff=_0x3b6f72['getFirstRange']();let _0x4dffd9=_0x32b3ff['start']['nodeAfter'];for(;_0x4dffd9&&_0x32b3ff['containsItem'](_0x4dffd9);){if(_0x4dffd9['getAttribute']('listIndent')>0x0)return!0x1;_0x4dffd9=_0x4dffd9['nextSibling'];}return!0x0;}(_0x70f590)?Cy(_0x1b0ec1,'*Format:*\x20remove\x20from\x20%0',Cy(_0x1b0ec1,function(_0x5b718b){return'ELEMENT_'+_0x5b718b['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x70f590))):Cy(_0x1b0ec1,'*Outdent:*\x20%0',Cy(_0x1b0ec1,'ELEMENT_LIST_ITEM')),_0x32fad9={'type':'format','content':_0x1d2cb9};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x1361d4['multipleBlocks']&&(_0x1d2cb9='*Merge:*\x20%0',_0x32fad9={'type':'deletion','content':Cy(_0x1b0ec1,_0x1d2cb9,Cy(_0x1b0ec1,'ELEMENT_LIST_ITEM'))});}return _0x32fad9;});}}function Py(_0x1a771c){let _0x2e6ce0=_0x1a771c['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x2e6ce0;){const _0x47879c=_0x2e6ce0['getAttribute']('listItemId');if(!_0x47879c)return!0x1;if(_0x47879c==_0x1a771c['data']['newValue'])return'newValue';if(_0x47879c==_0x1a771c['data']['oldValue'])return'oldValue';_0x2e6ce0=_0x2e6ce0['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x7cf71c{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x5b3fbd=this['editor']['config']['get']('list.properties'),_0xb2bdab=this['editor']['plugins']['get']('TrackChangesEditing');_0x5b3fbd['styles']&&_0xb2bdab['enableDefaultAttributesIntegration']('listStyle'),_0x5b3fbd['reversed']&&_0xb2bdab['enableDefaultAttributesIntegration']('listReversed'),_0x5b3fbd['startIndex']&&_0xb2bdab['enableDefaultAttributesIntegration']('listStart');const _0x51ae3b={'type':'format','content':''};_0xb2bdab['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x31c80f=this['editor']['locale'];_0xb2bdab['descriptionFactory']['registerAttributeLabel']('listReversed',Cy(_0x31c80f,'FORMAT_LIST_REVERSED')),_0xb2bdab['descriptionFactory']['registerDescriptionCallback'](_0x52ec16=>{const {data:_0x39e290}=_0x52ec16;if(_0x39e290&&'listReversed'==_0x39e290['key'])return null==_0x39e290['newValue']||0x0==_0x39e290['newValue']&&null==_0x39e290['oldValue']?_0x51ae3b:void 0x0;}),_0xb2bdab['descriptionFactory']['registerAttributeLabel']('listStart',Cy(_0x31c80f,'FORMAT_LIST_START')),_0xb2bdab['descriptionFactory']['registerDescriptionCallback'](_0x4d6063=>{const {data:_0x1cec3e}=_0x4d6063;if(_0x1cec3e&&'listStart'==_0x1cec3e['key'])return null==_0x1cec3e['newValue']||0x1==_0x1cec3e['newValue']&&null==_0x1cec3e['oldValue']?_0x51ae3b:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x1797c4=>{if(_0x1797c4['batch']['isUndo'])return!0x1;let _0x39fba7=!0x1;const _0x5001f5=_0xb2bdab['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xfbe781=>{const _0x1afa8c=_0xb2bdab['_getAttributeKey'](_0xfbe781);return'listStart'==_0x1afa8c||'listReversed'==_0x1afa8c;});for(const _0x4e957e of _0x5001f5){const _0x11721c=_0x4e957e['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x11721c||'customNumbered'==_0x11721c)continue;const _0xbe504e=_0xb2bdab['_findSuggestions'](_0x4e957e['getFirstRange'](),'attribute')['find'](_0x4402a9=>'listType'==_0xb2bdab['_getAttributeKey'](_0x4402a9['suggestion']));_0xbe504e||(_0x1797c4['removeMarker'](_0x4e957e['getFirstMarker']()),_0x39fba7=!0x0);}return _0x39fba7;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x17235c){const _0x5dc07e=this['editor']['locale'],{data:_0x548274}=_0x17235c,_0x40dc0a={'type':'format','content':''};if(!_0x548274||'listStyle'!=_0x548274['key'])return;if(!_0x548274['oldValue'])return'default'==_0x548274['newValue']?_0x40dc0a:{'type':'format','content':''+Cy(_0x5dc07e,'*Set\x20format:*\x20%0',Cy(_0x5dc07e,this['_getTranslationKeyForListStyle'](_0x548274['newValue'])))};if(!_0x548274['newValue']){if('default'==_0x548274['oldValue'])return _0x40dc0a;let _0x6f3227=_0x17235c['head'];for(;_0x6f3227;){if(_0x6f3227['data']&&'listType'==_0x6f3227['data']['key']&&_0x6f3227['data']['newValue'])return _0x40dc0a;_0x6f3227=_0x6f3227['next'];}return{'type':'format','content':''+Cy(_0x5dc07e,'*Remove\x20format:*\x20%0',Cy(_0x5dc07e,this['_getTranslationKeyForListStyle'](_0x548274['oldValue'])))};}if('default'!=_0x548274['newValue'])return{'type':'format','content':''+Cy(_0x5dc07e,'*Set\x20format:*\x20%0',Cy(_0x5dc07e,this['_getTranslationKeyForListStyle'](_0x548274['newValue'])))};let _0x3018f7=_0x17235c['head'];for(;_0x3018f7;){if(_0x3018f7['data']&&'listType'==_0x3018f7['data']['key']&&_0x3018f7['data']['newValue']&&_0x3018f7['data']['oldValue'])return _0x40dc0a;_0x3018f7=_0x3018f7['next'];}return{'type':'format','content':Cy(_0x5dc07e,'*Set\x20format:*\x20%0',Cy(_0x5dc07e,'ELEMENT_'+_0x17235c['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x12041b=this['editor'],_0x6f1744=_0x12041b['locale'];_0x12041b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1b7456=>{if('formatBlock'!=_0x1b7456['type'])return;const {data:_0x429ebd}=_0x1b7456;if(!_0x429ebd)return;let _0xb8af87,_0x27ea0e;switch(_0x429ebd['commandName']){case'listStyle':_0xb8af87='*Change\x20to:*\x20%0',_0x27ea0e={'type':'format','content':Cy(_0x6f1744,_0xb8af87,Cy(_0x6f1744,this['_getTranslationKeyForListStyle'](_0x429ebd['commandParams'][0x0]['type'])))};break;case'listReversed':_0xb8af87=_0x429ebd['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x27ea0e={'type':'format','content':Cy(_0x6f1744,_0xb8af87)};break;case'listStart':_0xb8af87='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x27ea0e={'type':'format','content':Cy(_0x6f1744,_0xb8af87,_0x429ebd['commandParams'][0x0]['startIndex'])};}return _0x27ea0e;});}['_getTranslationKeyForListStyle'](_0x1b633c){return'ELEMENT_'+function(_0x469a6a){if(My['includes'](_0x469a6a))return'bulleted';if(Ny['includes'](_0x469a6a))return'numbered';return null;}(_0x1b633c)['toUpperCase']()+'_LIST_'+_0x1b633c['toUpperCase']()['replace'](/-/g,'_');}}const My=['disc','circle','square'],Ny=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class TrackChangesEmoji extends _0x7cf71c{['afterInit'](){const _0x275390=this['editor'];_0x275390['commands']['get']('emoji')&&_0x275390['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x7cf71c{static get['requires'](){return[_0x98fec6];}['init'](){const _0x3cc939=this['editor'],_0x45b004=_0x3cc939['plugins']['get']('TrackChangesEditing'),_0x58814f=_0x3cc939['commands']['get']('enter');_0x45b004['enableCommand']('enter',()=>{_0x3cc939['model']['change'](_0x562048=>{const _0x1b448f=_0x3cc939['model']['document']['selection'],_0x492cfc=_0x1b448f['getFirstPosition'](),_0x220deb=_0x495f74['fromRange'](_0x1b448f['getFirstRange']());if(_0x58814f['enterBlock'](_0x562048)){const _0x556f7f=_0x3cc939['model']['createPositionAt'](_0x492cfc['parent']['nextSibling'],0x0),_0x281865=_0x562048['createRange'](_0x492cfc,_0x556f7f);_0x45b004['markInsertion'](_0x281865);}else _0x562048['setSelection'](_0x562048['createRange'](_0x220deb['end']));_0x220deb['detach'](),_0x58814f['fire']('afterExecute',{'writer':_0x562048});});});}}class TrackChangesFindAndReplace extends _0x7cf71c{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x7da13=this['editor']['plugins']['get']('TrackChangesEditing');_0x7da13['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x7da13['enableCommand']('findNext'),_0x7da13['enableCommand']('findPrevious'),_0x7da13['enableCommand']('replace'),_0x7da13['enableCommand']('replaceAll');}['handleFindCommand'](_0x179a7d,_0x16713c,_0x5174db={}){const _0x54beb2=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x179a7d(_0x373037=>{let _0x299c8e=('string'==typeof _0x16713c?_0x54beb2['findByTextCallback'](_0x16713c,_0x5174db):_0x16713c)(_0x373037);Array['isArray'](_0x299c8e)&&(_0x299c8e={'results':_0x299c8e,'searchText':'string'==typeof _0x16713c?_0x16713c:''});const _0x5ef0cf=_0x299c8e['results']['filter'](_0x2b3a2a=>!0x1===this['_isInDeletionRange'](_0x2b3a2a,_0x373037['item']));return{..._0x299c8e,'results':_0x5ef0cf};},_0x5174db);}['_isInDeletionRange'](_0x238e39,_0x5c2adf){const _0x171ced=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x5c2adf,_0x238e39['start']),this['editor']['model']['createPositionAt'](_0x5c2adf,_0x238e39['end']));for(const _0x1cf75a of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x171ced['getIntersection'](_0x1cf75a['getRange']()))return!0x0;return!0x1;}}const Ly=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x7cf71c{['afterInit'](){const _0x40274f=this['editor']['locale'],_0x474f84=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x4b6ba5,commandName:_0x2c4655}of Ly)this['editor']['plugins']['has'](_0x4b6ba5)&&_0x474f84['enableDefaultAttributesIntegration'](_0x2c4655);_0x474f84['descriptionFactory']['registerAttributeLabel']('fontSize',Cy(_0x40274f,'FORMAT_FONT_SIZE')),_0x474f84['descriptionFactory']['registerAttributeLabel']('fontFamily',Cy(_0x40274f,'FORMAT_FONT_FAMILY')),_0x474f84['descriptionFactory']['registerAttributeLabel']('fontColor',Cy(_0x40274f,'FORMAT_FONT_COLOR')),_0x474f84['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',Cy(_0x40274f,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x52c6c1=this['editor'],_0x5bd8d1=_0x52c6c1['locale'];_0x52c6c1['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x350666=>{const _0x1c8669=_0x5bd8d1['t'];if('formatInline'!=_0x350666['type'])return;const {data:_0x58788a}=_0x350666;if(null!=_0x58788a){if('fontSize'==_0x58788a['commandName']){const _0x2bdc10=_0x58788a['commandParams'][0x0]['value'];if(_0x2bdc10){const _0x4852f5=_0x1c8669(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x4a56b6=>_0x4a56b6['model']==_0x2bdc10)['title'])['toLowerCase']();return{'type':'format','content':Cy(_0x5bd8d1,'*Set\x20font\x20size:*\x20%0',_0x4852f5)};}return{'type':'format','content':Cy(_0x5bd8d1,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x58788a['commandName']){const _0x5070af=_0x58788a['commandParams'][0x0]['value'];return _0x5070af?{'type':'format','content':Cy(_0x5bd8d1,'*Set\x20font\x20family:*\x20%0',_0x5070af)}:{'type':'format','content':Cy(_0x5bd8d1,'*Reset\x20font\x20family*')};}if('fontColor'==_0x58788a['commandName']){const _0x4a2f6f=_0x58788a['commandParams'][0x0]['value'];if(_0x4a2f6f){const _0x37482c=Xt(this['editor']['config']['get']('fontColor.colors'))['find'](_0x2640db=>_0x2640db['model']==_0x4a2f6f);let _0x2a3195=_0x4a2f6f,_0x418abb='';return _0x37482c&&(_0x2a3195=_0x37482c['label'],_0x418abb=_0x1c8669(_0x2a3195)['toLowerCase']()),{'type':'format','content':Cy(_0x5bd8d1,'*Set\x20font\x20color:*\x20%0',_0x418abb)['trim'](),'color':{'value':_0x4a2f6f,'title':_0x418abb||_0x2a3195}};}return{'type':'format','content':Cy(_0x5bd8d1,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x58788a['commandName']){const _0x32b0ef=_0x58788a['commandParams'][0x0]['value'];if(_0x32b0ef){const _0x37d55a=Xt(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x5f4679=>_0x5f4679['model']==_0x32b0ef);let _0x562f61=_0x32b0ef,_0xb25b2b='';return _0x37d55a&&(_0x562f61=_0x37d55a['label'],_0xb25b2b=_0x1c8669(_0x562f61)['toLowerCase']()),{'type':'format','content':Cy(_0x5bd8d1,'*Set\x20font\x20background\x20color:*\x20%0',_0xb25b2b)['trim'](),'color':{'value':_0x32b0ef,'title':_0xb25b2b||_0x562f61}};}return{'type':'format','content':Cy(_0x5bd8d1,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x7cf71c{['afterInit'](){const {plugins:_0x431fec}=this['editor'];_0x431fec['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x431fec['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x414b77,plugins:_0x4c5035,commands:_0x979bd5}=this['editor'],_0x356a62=_0x4c5035['get']('TrackChangesEditing');_0x979bd5['get']('footnotesStyle')&&_0x356a62['enableDefaultAttributesIntegration']('footnotesStyle'),_0x979bd5['get']('footnotesStart')&&_0x356a62['enableDefaultAttributesIntegration']('footnotesStart'),_0x356a62['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',Cy(_0x414b77,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x356a62['descriptionFactory']['registerAttributeLabel']('footnotesListStart',Cy(_0x414b77,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x4f5084=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0xc7ff04,commands:_0x4ab970}=this['editor'];_0x4ab970['get']('insertFootnote')&&_0x4f5084['enableCommand']('insertFootnote'),_0x4f5084['descriptionFactory']['registerElementLabel']('footnoteRef',_0xa59186=>Cy(_0xc7ff04,'ELEMENT_FOOTNOTE_REF',_0xa59186)),_0x4f5084['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x1c9c3f=>Cy(_0xc7ff04,'ELEMENT_FOOTNOTE_DEFINITION',_0x1c9c3f)),_0x4f5084['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x54fd1b=>Cy(_0xc7ff04,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x54fd1b));}}class TrackChangesFormatPainter extends _0x7cf71c{['afterInit'](){const _0x346117=this['editor'],_0x312226=_0x346117['plugins']['get']('TrackChangesEditing'),_0x5efa49=_0x346117['commands']['get']('copyFormat'),_0x1b1818=_0x346117['commands']['get']('pasteFormat');_0x5efa49&&_0x1b1818&&(_0x312226['enableDefaultAttributesIntegration']('pasteFormat'),_0x312226['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x3e408d=this['editor'],_0x54d005=_0x3e408d['locale'];_0x3e408d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2d84d8=>{if('formatBlock'!=_0x2d84d8['type']&&'formatInline'!=_0x2d84d8['type'])return;const {data:_0x25f428}=_0x2d84d8;if(_0x25f428&&'pasteFormat'===_0x25f428['commandName']){const _0x575494=[],_0x434ed3=_0x25f428['commandParams'][0x0];for(const [_0x49cb69,_0x332f99]of Object['entries'](_0x434ed3))_0x575494['push']($y(_0x3e408d,_0x49cb69,_0x332f99));return _0x575494['length']?{'type':'format','content':Cy(_0x54d005,'*Set\x20format\x20to:*\x20%0',_0x575494['join'](',\x20'))}:{'type':'format','content':Cy(_0x54d005,'*Remove\x20all\x20formatting*')};}});}}function $y(_0x411e4f,_0x48c210,_0x3cbd68){const _0x494c57=_0x411e4f['locale']['t'],_0x17e300=_0x48c210['split'](/(?=[A-Z])/)['join']('\x20'),_0x1b57b3=_0x494c57(_0x17e300['charAt'](0x0)['toUpperCase']()+_0x17e300['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x3cbd68)return _0x1b57b3;if('fontColor'===_0x48c210||'fontBackgroundColor'===_0x48c210){const _0x144ea2=Xt(_0x411e4f['config']['get']('fontColor.colors'))['find'](_0x5e49dd=>_0x5e49dd['model']==_0x3cbd68);return _0x1b57b3+'\x20('+(_0x144ea2?_0x494c57(_0x144ea2['label'])['toLowerCase']():_0x3cbd68)+')';}if('fontSize'===_0x48c210&&isNaN(parseFloat(_0x3cbd68))){const _0x4f5980=_0x411e4f['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x411e4f['config']['get']('fontSize.options'))['find'](_0x54adcf=>_0x54adcf['model']==_0x3cbd68);return _0x1b57b3+'\x20('+(_0x4f5980?_0x494c57(_0x4f5980['title'])['toLowerCase']():_0x3cbd68)+')';}return _0x1b57b3+'\x20('+_0x3cbd68+')';}class TrackChangesHeading extends _0x7cf71c{['_headingOptions'];['afterInit'](){const _0x369208=this['editor'];if(!_0x369208['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x369208['config']['get']('heading.options');const _0x5175ed=_0x369208['locale'],_0xcc1176=_0x369208['plugins']['get']('TrackChangesEditing');_0xcc1176['enableDefaultAttributesIntegration']('heading');for(const _0x2d7ad1 of this['_headingOptions'])'paragraph'!=_0x2d7ad1['model']&&_0xcc1176['descriptionFactory']['registerElementLabel'](_0x2d7ad1['model'],_0x3e96e4=>{const _0x4e4edd=this['_getHeadingLevel'](_0x2d7ad1['model']);return null!==_0x4e4edd?_0xe7401a(_0x3e96e4,_0x4e4edd):_0x28a1ad(_0x3e96e4,_0x2d7ad1['title']);});function _0xe7401a(_0x3b34f1,_0x593552){return Cy(_0x5175ed,'ELEMENT_HEADING',[_0x3b34f1,_0x593552]);}function _0x28a1ad(_0x352f0d,_0x30d599){return Cy(_0x5175ed,'ELEMENT_HEADING_CUSTOM',[_0x352f0d,_0x30d599]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x208f46=this['editor'],_0x50fe2f=_0x208f46['locale'];function _0x30b1aa(_0x5b6184,_0x54d9c4){return Cy(_0x50fe2f,'ELEMENT_HEADING_CUSTOM',[_0x5b6184,_0x54d9c4]);}_0x208f46['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4257bd=>{if('formatBlock'!=_0x4257bd['type'])return;const {data:_0x5bf8b1}=_0x4257bd;if(_0x5bf8b1&&'heading'==_0x5bf8b1['commandName']){const _0x3cfcbe=_0x5bf8b1['commandParams'][0x0]['value'],_0x2bedf9=this['_getHeadingLevel'](_0x3cfcbe);if(null!==_0x2bedf9)return{'type':'format','content':Cy(_0x50fe2f,'*Change\x20to:*\x20%0',(_0x77acfe=0x1,_0x18b245=_0x2bedf9,Cy(_0x50fe2f,'ELEMENT_HEADING',[_0x77acfe,_0x18b245])))};const _0x3605d3=this['_headingOptions']['find'](_0x1ad463=>_0x1ad463['model']===_0x3cfcbe)['title'];return{'type':'format','content':Cy(_0x50fe2f,'*Change\x20to:*\x20%0',_0x30b1aa(0x1,_0x3605d3))};}var _0x77acfe,_0x18b245;});}['_getHeadingLevel'](_0x52d5aa){const _0x4e2c3d=_0x52d5aa['match'](/^heading(\d+)/);if(_0x4e2c3d)return _0x4e2c3d[0x1];const _0x25eba9=this['_headingOptions']?.['find'](_0x485d5b=>_0x485d5b['model']==_0x52d5aa);if(_0x25eba9&&_0x25eba9['view']){const _0x25d77a=_0x25eba9['view'],_0x647f85=(_0x25d77a['name']??_0x25d77a)['match'](/^h(\d+)/);if(_0x647f85)return _0x647f85[0x1];}return null;}}class TrackChangesHighlight extends _0x7cf71c{['afterInit'](){const _0x2bf408=this['editor'];if(!_0x2bf408['plugins']['has']('HighlightEditing'))return;const _0x18834b=_0x2bf408['plugins']['get']('TrackChangesEditing'),_0x52ce4a=_0x2bf408['locale'];_0x18834b['enableDefaultAttributesIntegration']('highlight'),_0x18834b['descriptionFactory']['registerAttributeLabel']('highlight',Cy(_0x52ce4a,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5cc518=this['editor'],_0x22da86=_0x5cc518['locale'];_0x5cc518['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4bdc2e=>{if('formatInline'!=_0x4bdc2e['type'])return;const {data:_0x7fa357}=_0x4bdc2e;if(_0x7fa357&&'highlight'==_0x7fa357['commandName']){const _0x3e6e5b=_0x22da86['t'],_0x320f88=_0x7fa357['commandParams'][0x0]['value'];if(_0x320f88){const _0x14236f=_0x5cc518['config']['get']('highlight.options')['find'](_0x17b88d=>_0x17b88d['model']==_0x320f88),_0x872ee7=_0x3e6e5b(_0x14236f['title'])['toLowerCase']();return{'type':'format','content':Cy(_0x22da86,'*Set\x20highlight:*\x20%0',_0x872ee7),'color':{'value':_0x14236f['color'],'title':_0x14236f['title']}};}return{'type':'format','content':Cy(_0x22da86,'*Remove\x20highlight*',Cy(_0x22da86,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x7cf71c{['afterInit'](){const _0x4c0900=this['editor'];if(!_0x4c0900['plugins']['has']('HorizontalLineEditing'))return;_0x4c0900['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0xe727ac=_0x4c0900['plugins']['get']('TrackChangesEditing'),_0x1b5dbd=_0x4c0900['locale'];_0xe727ac['descriptionFactory']['registerElementLabel']('horizontalLine',_0x244add=>Cy(_0x1b5dbd,'ELEMENT_HORIZONTAL_LINE',_0x244add));}}class TrackChangesHtmlEmbed extends _0x7cf71c{['afterInit'](){const _0xa7d23b=this['editor'];if(!_0xa7d23b['plugins']['has']('HtmlEmbed'))return;const _0x1f5e09=_0xa7d23b['plugins']['get']('TrackChangesEditing'),_0x101f82=_0xa7d23b['locale'];_0x1f5e09['descriptionFactory']['registerElementLabel']('rawHtml',_0x152853=>Cy(_0x101f82,'ELEMENT_HTML_EMBED',_0x152853)),_0x1f5e09['enableDefaultAttributesIntegration']('htmlEmbed'),_0x1f5e09['descriptionFactory']['registerDescriptionCallback'](_0x3e8c82=>{if('attribute'!=_0x3e8c82['type'])return;const {data:_0x3b049b}=_0x3e8c82;if(_0x3b049b&&'value'==_0x3b049b['key']&&_0x3e8c82['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x490cae=Cy(_0x101f82,'ELEMENT_HTML_EMBED');return{'type':'format','content':Cy(_0x101f82,'*Change\x20%0\x20content*',_0x490cae)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x92517a=this['editor'],_0x281c5f=_0x92517a['locale'];_0x92517a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4e89f5=>{if('formatBlock'!=_0x4e89f5['type'])return;const {data:_0xb0b795}=_0x4e89f5;if(_0xb0b795&&'htmlEmbed'==_0xb0b795['commandName']){const _0x10f684=Cy(_0x281c5f,'ELEMENT_HTML_EMBED');return{'type':'format','content':Cy(_0x281c5f,'*Change\x20%0\x20content*',_0x10f684)};}});}}class TrackChangesImage extends _0x7cf71c{['afterInit'](){const _0xe1ccb9=this['editor'];if(!_0xe1ccb9['plugins']['has']('ImageEditing'))return;const _0xb4e5d2=_0xe1ccb9['plugins']['get']('TrackChangesEditing'),_0x18fc11=_0xe1ccb9['plugins']['get']('ImageUtils'),_0x89c9f4=_0xe1ccb9['locale'];_0xb4e5d2['enableCommand']('insertImage'),_0xb4e5d2['descriptionFactory']['registerElementLabel']('imageBlock',_0x5362a7=>Cy(_0x89c9f4,'ELEMENT_IMAGE',_0x5362a7)),_0xb4e5d2['descriptionFactory']['registerElementLabel']('imageInline',_0x627cb8=>Cy(_0x89c9f4,'ELEMENT_INLINE_IMAGE',_0x627cb8)),_0xb4e5d2['descriptionFactory']['registerElementLabel']('caption',()=>Cy(_0x89c9f4,'ELEMENT_CAPTION')),_0xe1ccb9['plugins']['has']('ImageUploadEditing')&&_0xb4e5d2['enableCommand']('uploadImage'),_0xe1ccb9['plugins']['has']('ImageBlockEditing')&&_0xe1ccb9['plugins']['has']('ImageInlineEditing')&&(_0xb4e5d2['enableCommand']('imageTypeInline',(_0xcde018,_0x42ced7)=>{const _0x54ee1d=_0x18fc11['getClosestSelectedImageElement'](_0xe1ccb9['model']['document']['selection']);_0xe1ccb9['model']['change'](()=>{_0xb4e5d2['markBlockFormat'](_0x54ee1d,{'commandName':'imageTypeInline','commandParams':[_0x42ced7]},[],'convertBlockImageToInline');});}),_0xb4e5d2['enableCommand']('imageTypeBlock',(_0x3c30c7,_0x1c1408)=>{_0xe1ccb9['model']['change'](_0x24c136=>{let _0x1d90c4=_0x18fc11['getClosestSelectedImageElement'](_0xe1ccb9['model']['document']['selection']),_0x100b92=_0x24c136['createRangeOn'](_0x1d90c4);const _0x4ded87=_0x381405['fromPosition'](_0x100b92['start'],'toPrevious'),_0x250df5=_0x381405['fromPosition'](_0x100b92['end'],'toNext');_0xb4e5d2['forceDefaultExecution'](()=>_0x3c30c7(_0x1c1408)),_0x1d90c4=_0x18fc11['getClosestSelectedImageElement'](_0xe1ccb9['model']['document']['selection']),_0x100b92=_0x24c136['createRangeOn'](_0x1d90c4);const _0x14b2cc=_0x24c136['createRange'](_0x4ded87,_0x250df5);_0x4ded87['detach'](),_0x250df5['detach'](),_0xb4e5d2['markBlockFormat'](_0x1d90c4,{'commandName':'imageTypeInline','commandParams':[_0x1c1408]},[],'convertInlineImageToBlock'),_0x14b2cc['start']['isBefore'](_0x100b92['start'])&&_0xb4e5d2['markInsertion'](_0x24c136['createRange'](_0x14b2cc['start'],_0x100b92['start']),'convertInlineImageToBlock'),_0x100b92['end']['isBefore'](_0x14b2cc['end'])&&_0xb4e5d2['markInsertion'](_0x24c136['createRange'](_0x100b92['end'],_0x14b2cc['end']),'convertInlineImageToBlock');});}),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0xb4e5d2['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x1c686f])=>{const _0x24b6b6=_0xb4e5d2['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x5a5905=_0x1c686f['start'],_0x2821c1=_0x1c686f['end'];const _0x4786cb=_0xe1ccb9['model']['schema']['getNearestSelectionRange'](_0x5a5905,'backward'),_0xc965b4=_0xe1ccb9['model']['schema']['getNearestSelectionRange'](_0x2821c1,'forward');_0x4786cb['isCollapsed']&&(_0x5a5905=_0x4786cb['start']),_0xc965b4['isCollapsed']&&(_0x2821c1=_0xc965b4['end']),_0x24b6b6([_0xe1ccb9['model']['createRange'](_0x5a5905,_0x2821c1)]);}),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x393a3b),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x393a3b)),_0xe1ccb9['plugins']['has']('ImageCaptionEditing')&&(_0xb4e5d2['enableCommand']('toggleImageCaption',(_0x4aeaae,_0x3fe43c)=>{const _0x7ad233=_0xe1ccb9['plugins']['get']('ImageCaptionUtils');let _0x170359=_0x18fc11['getClosestSelectedImageElement'](_0xe1ccb9['model']['document']['selection']),_0x1f9dc4=_0x7ad233['getCaptionFromImageModelElement'](_0x170359);_0xe1ccb9['model']['change'](()=>{if(_0x1f9dc4)return void _0xb4e5d2['markDeletion'](_0xe1ccb9['model']['createRangeOn'](_0x1f9dc4));const _0x19feed=_0x18fc11['isBlockImage'](_0x170359);_0x4aeaae(_0x3fe43c),_0x170359=_0x18fc11['getClosestSelectedImageElement'](_0xe1ccb9['model']['document']['selection']),_0x1f9dc4=_0x7ad233['getCaptionFromImageModelElement'](_0x170359),_0xb4e5d2['markInsertion'](_0xe1ccb9['model']['createRangeOn'](_0x1f9dc4),_0x19feed?null:'imageCaption');});}),_0xb4e5d2['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x393a3b));const _0xc01050=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x2e34c1(_0x5b95a8,_0x455efd){const _0x8e9009=_0xc01050['findIndex'](({type:_0x39bc73,subType:_0x1f6b16})=>_0x5b95a8['type']==_0x39bc73&&_0x5b95a8['subType']==_0x1f6b16),_0x3bb92e=_0xc01050['findIndex'](({type:_0x187b78,subType:_0x1fdebb})=>_0x455efd['type']==_0x187b78&&_0x455efd['subType']==_0x1fdebb);if(_0x8e9009<0x0||_0x3bb92e<0x0)return!0x1;const _0x34454e=_0x5b95a8['getFirstRange'](),_0x541853=_0x455efd['getFirstRange']();if((0x0==_0x8e9009||0x1==_0x8e9009)&&0x2==_0x3bb92e&&_0x34454e['isIntersecting'](_0x541853))return!0x0;if(0x2==_0x8e9009&&0x3==_0x3bb92e){const _0x3686a1=_0xb4e5d2['_findSuggestions'](_0x34454e,'insertion')['filter'](({suggestion:_0xa81cfa,meta:_0x32fa08})=>_0x32fa08['isOwn']&&'convertInlineImageToBlock'==_0xa81cfa['subType']);if(_0x3686a1['length']>0x1&&_0x541853['end']['isEqual'](_0x34454e['start']))return!0x0;if(0x1==_0x3686a1['length']&&(_0x34454e['start']['isEqual'](_0x541853['end'])||_0x34454e['end']['isEqual'](_0x541853['start'])))return!0x0;}if(0x3==_0x8e9009&&0x3==_0x3bb92e&&_0x34454e['start']['isBefore'](_0x541853['start'])){const _0x2683bb=_0x34454e['end']['nodeAfter'],_0x28c632=_0x541853['start']['nodeBefore'];return _0x18fc11['isBlockImage'](_0x2683bb)&&_0x2683bb===_0x28c632;}return!0x1;}function _0x393a3b(_0x23ac20,_0x19761){return _0x2e34c1(_0x23ac20,_0x19761)?[_0x23ac20,_0x19761]:_0x2e34c1(_0x19761,_0x23ac20)?[_0x19761,_0x23ac20]:null;}_0xe1ccb9['plugins']['has']('ImageResize')&&(_0xb4e5d2['enableDefaultAttributesIntegration']('resizeImage'),_0xb4e5d2['descriptionFactory']['registerAttributeLabel']('resizedWidth',Cy(_0x89c9f4,'FORMAT_IMAGE_SIZE'))),_0xe1ccb9['plugins']['has']('ImageTextAlternativeEditing')&&_0xb4e5d2['enableDefaultAttributesIntegration']('imageTextAlternative'),_0xe1ccb9['plugins']['has']('PictureEditing')&&_0xb4e5d2['descriptionFactory']['registerDescriptionCallback'](_0x1c8d18=>{if('attribute'!=_0x1c8d18['type'])return;const {data:_0x192106}=_0x1c8d18;return _0x192106&&'sources'==_0x192106['key']?{'type':'format','content':''}:void 0x0;}),_0xe1ccb9['plugins']['has']('ImageSizeAttributes')&&_0xb4e5d2['descriptionFactory']['registerDescriptionCallback'](_0x15f58a=>{if('attribute'!=_0x15f58a['type'])return;const {data:_0x35f670}=_0x15f58a;return!_0x35f670||'width'!=_0x35f670['key']&&'height'!=_0x35f670['key']?void 0x0:{'type':'format','content':''};}),_0xb4e5d2['descriptionFactory']['registerDescriptionCallback'](_0x209b76=>{if(!!_0xc01050['find'](({type:_0x8fc986,subType:_0x315e93})=>_0x209b76['type']==_0x8fc986&&_0x209b76['subType']==_0x315e93))return _0x209b76['previous']?{}:void 0x0;}),_0xb4e5d2['descriptionFactory']['registerDescriptionCallback'](_0x5d5b8e=>{if('insertion'==_0x5d5b8e['type']||'deletion'==_0x5d5b8e['type']){const _0x5da30c=_0x5d5b8e['getContainedElement']();if(_0x5da30c&&_0x5da30c['is']('element','caption'))return{'type':'insertion'==_0x5d5b8e['type']?'addObject':'removeObject','element':_0x5da30c,'quantity':0x1};}}),_0xb4e5d2['descriptionFactory']['registerDescriptionCallback'](_0x36d980=>'formatBlock'==_0x36d980['type']&&'convertInlineImageToBlock'==_0x36d980['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x36d980['type']&&'convertBlockImageToInline'==_0x36d980['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0xb4e5d2['descriptionFactory']['registerDescriptionCallback'](_0x1a2e1c=>{if('attribute'!=_0x1a2e1c['type'])return;const {data:_0x33e35b}=_0x1a2e1c;if(!_0x33e35b||'alt'!=_0x33e35b['key'])return;const _0x5ca431=_0x33e35b['newValue'];return _0x5ca431?{'type':'format','content':Cy(_0x89c9f4,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5ca431+'\x22')}:{'type':'format','content':Cy(_0x89c9f4,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5bcfc1=this['editor'],_0x1957b3=_0x5bcfc1['locale'];_0x5bcfc1['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xc9ba=>{if('formatBlock'!=_0xc9ba['type']&&'formatInline'!=_0xc9ba['type'])return;const {data:_0xe8e1a7}=_0xc9ba;if(_0xe8e1a7){if('imageTextAlternative'==_0xe8e1a7['commandName']){const _0x3c2064=_0xe8e1a7['commandParams'][0x0]['newValue'];return _0x3c2064?{'type':'format','content':Cy(_0x1957b3,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3c2064+'\x22')}:{'type':'format','content':Cy(_0x1957b3,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0xe8e1a7['commandName']){const _0x38b4c5=_0xe8e1a7['commandParams'][0x0]['width'];return _0x38b4c5?{'type':'format','content':Cy(_0x1957b3,'*Set\x20image\x20width:*\x20%0',_0x38b4c5)}:{'type':'format','content':Cy(_0x1957b3,'*Reset\x20image\x20width*')};}}});}}class TrackChangesImageReplace extends _0x7cf71c{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x24ceb4=this['editor']['locale'],_0x1ee1d3=this['editor']['plugins']['get']('TrackChangesEditing');_0x1ee1d3['enableDefaultAttributesIntegration']('replaceImageSource'),_0x1ee1d3['descriptionFactory']['registerDescriptionCallback'](_0x2af623=>{if('attribute'!=_0x2af623['type'])return;const {data:_0x35f76d}=_0x2af623;return _0x35f76d&&'src'==_0x35f76d['key']?_0x35f76d['newValue']&&_0x35f76d['oldValue']?{'type':'format','content':Cy(_0x24ceb4,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x44f3f0=this['editor']['plugins']['get']('TrackChangesEditing');_0x44f3f0['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x44f3f0['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x44f3f0['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x44f3f0['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3922d5=this['editor'],_0x2056e6=_0x3922d5['locale'];_0x3922d5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4b0cde=>{if('formatBlock'!=_0x4b0cde['type']&&'formatInline'!=_0x4b0cde['type'])return;const {data:_0x8523ef}=_0x4b0cde;if(!_0x8523ef||'replaceImageSource'!=_0x8523ef['commandName'])return;return{'type':'format','content':Cy(_0x2056e6,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x7cf71c{['afterInit'](){const _0x355be0=this['editor'];if(!_0x355be0['plugins']['has']('ImageStyleEditing'))return;const _0x1cc0b3=_0x355be0['plugins']['get']('TrackChangesEditing'),_0x373dde=_0x355be0['plugins']['get']('ImageUtils'),_0x1e03a8={};_0x1cc0b3['enableCommand']('imageStyle',(_0x484039,_0x35b54d)=>{const _0x515a9a=_0x355be0['plugins']['get']('Users')['me'],_0xbd5b6d=_0x355be0['commands']['get']('imageStyle');let _0x5cc5cb=_0x373dde['getClosestSelectedImageElement'](_0x355be0['model']['document']['selection']),_0x578690=_0x355be0['model']['createRangeOn'](_0x5cc5cb),_0x265984=_0xbd5b6d['value'];if(_0x265984==_0x35b54d['value'])return;const _0x72bb8f={'commandName':'imageStyle','commandParams':[_0x35b54d],'formatGroupId':_0x462bc0()};_0x355be0['model']['change'](()=>{if(_0x1cc0b3['getSuggestions']()['filter'](_0x2b1691=>_0x2b1691['isInContent']&&_0x515a9a==_0x2b1691['author']&&('formatBlock'==_0x2b1691['type']||'formatInline'==_0x2b1691['type'])&&('imageStylePreApply'==_0x2b1691['subType']||'imageStylePostApply'==_0x2b1691['subType'])&&_0x2b1691['getFirstRange']()['isEqual'](_0x578690))['forEach'](_0x4af227=>_0x1cc0b3['discardSuggestion'](_0x4af227['head'])),_0x5cc5cb=_0x373dde['getClosestSelectedImageElement'](_0x355be0['model']['document']['selection']),_0x578690=_0x355be0['model']['createRangeOn'](_0x5cc5cb),_0xbd5b6d['refresh'](),_0x355be0['commands']['get']('imageTypeInline')['refresh'](),_0x355be0['commands']['get']('imageTypeBlock')['refresh'](),_0x265984=_0xbd5b6d['value'],_0x265984!=_0x35b54d['value'])return _0x373dde['isInlineImage'](_0x5cc5cb)&&_0xbd5b6d['shouldConvertImageType'](_0x35b54d['value'],_0x5cc5cb)?(_0x484039({..._0x35b54d,'setImageSizes':!0x1}),_0x5cc5cb=_0x373dde['getClosestSelectedImageElement'](_0x355be0['model']['document']['selection']),void _0x1cc0b3['markBlockFormat'](_0x5cc5cb,{..._0x72bb8f,'commandReversedParams':[{'value':_0x265984||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x373dde['isBlockImage'](_0x5cc5cb)?_0x1cc0b3['markBlockFormat'](_0x5cc5cb,_0x72bb8f,[],'imageStylePostApply'):_0x1cc0b3['markInlineFormat'](_0x578690,_0x72bb8f,'imageStylePostApply'));});});for(const _0x319177 of _0x355be0['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x1e03a8[_0x319177['name']]=_0x319177['title']['toLowerCase']();_0x1cc0b3['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x1cc0b3['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x1cc0b3['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x1cc0b3['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x21f5fc])=>{_0x373dde['setImageNaturalSizeAttributes'](_0x21f5fc['getContainedElement']());}),_0x1cc0b3['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x11b45d,_0xa552df)=>{_0x1cc0b3['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x11b45d,{'commandName':_0xa552df['commandName'],'commandParams':_0xa552df['commandReversedParams']});}),_0x1cc0b3['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x4b01dd,_0x15d9f9){if(_0x46e636(_0x4b01dd,_0x15d9f9))return[_0x4b01dd,_0x15d9f9];if(_0x46e636(_0x15d9f9,_0x4b01dd))return[_0x15d9f9,_0x4b01dd];return null;});const _0x1f1221=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x46e636(_0x5053a3,_0x4fd870){const _0x23c6ea=_0x1f1221['findIndex'](({type:_0x5bb995,subType:_0x503b72})=>_0x5053a3['type']==_0x5bb995&&_0x5053a3['subType']==_0x503b72),_0x1d7265=_0x1f1221['findIndex'](({type:_0x30de9a,subType:_0x37871b})=>_0x4fd870['type']==_0x30de9a&&_0x4fd870['subType']==_0x37871b);if(_0x23c6ea<0x0||_0x1d7265<0x0)return!0x1;const _0x3ca592=_0x5053a3['getFirstRange'](),_0x27c439=_0x4fd870['getFirstRange']();if((0x0==_0x23c6ea||0x1==_0x23c6ea)&&0x2==_0x1d7265&&_0x3ca592['isIntersecting'](_0x27c439))return!0x0;if(0x2==_0x23c6ea&&0x3==_0x1d7265){const _0x1b314d=_0x1cc0b3['_findSuggestions'](_0x3ca592,'insertion')['filter'](({suggestion:_0x45d9dd,meta:_0x26244a})=>_0x26244a['isOwn']&&'convertInlineImageToBlock'==_0x45d9dd['subType']);if(_0x1b314d['length']>0x1&&_0x27c439['end']['isEqual'](_0x3ca592['start']))return!0x0;if(0x1==_0x1b314d['length']&&(_0x3ca592['start']['isEqual'](_0x27c439['end'])||_0x3ca592['end']['isEqual'](_0x27c439['start'])))return!0x0;}if(0x3==_0x23c6ea&&0x3==_0x1d7265&&_0x3ca592['start']['isBefore'](_0x27c439['start'])){const _0x1cf9a0=_0x3ca592['end']['nodeAfter'],_0x4bc2f7=_0x27c439['start']['nodeBefore'];return _0x373dde['isBlockImage'](_0x1cf9a0)&&_0x1cf9a0===_0x4bc2f7;}return!0x1;}_0x355be0['model']['document']['registerPostFixer'](()=>{let _0x5074b4=!0x1;const _0x2e4a43=Array['from'](_0x355be0['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x44278b,data:_0xe62cb0}of _0x2e4a43){const {group:_0x451291,type:_0xdcee1f,subType:_0xf2579b,id:_0x35b734}=xc(_0x44278b);if('suggestion'==_0x451291&&_0x1cc0b3['hasSuggestion'](_0x35b734)){if('formatBlock'==_0xdcee1f&&('imageStylePreApply'==_0xf2579b||'imageStylePostApply'==_0xf2579b)){const _0x4236bc=_0x1cc0b3['getSuggestion'](_0x35b734);if(_0xe62cb0['newRange']){const _0x3c1ef8=_0x4236bc['getFirstRange']()['getContainedElement']();if(_0x373dde['isBlockImage'](_0x3c1ef8))continue;_0x1cc0b3['discardSuggestion'](_0x4236bc),_0x5074b4=!0x0;}}if('insertion'==_0xdcee1f&&'imageCaption'==_0xf2579b&&!_0xe62cb0['newRange']){const _0x58d093=_0x1cc0b3['getSuggestion'](_0x35b734);_0x58d093['next']&&_0x58d093['next']['isInContent']&&(_0x1cc0b3['discardSuggestion'](_0x58d093['next']),_0x5074b4=!0x0);}}}return _0x5074b4;}),this['_registerLegacyDescription'](_0x1e03a8);}['_registerLegacyDescription'](_0x110b54){const _0x24a124=this['editor'],_0x732064=_0x24a124['locale'];_0x24a124['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x374475=>{if('formatBlock'!=_0x374475['type']&&'formatInline'!=_0x374475['type'])return;const {data:_0x3707ce}=_0x374475;if(!_0x3707ce||'imageStyle'!=_0x3707ce['commandName'])return;const _0x593239=_0x3707ce['commandParams'][0x0]['value'];return _0x160995('side'===_0x593239?Cy(_0x732064,'FORMAT_SIDE_IMAGE'):_0x110b54[_0x593239]||_0x593239);function _0x160995(_0x3b2eb8){return{'type':'format','content':Cy(_0x732064,'*Format:*\x20%0',_0x3b2eb8)};}});}}class TrackChangesImportWord extends _0x7cf71c{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x4068a9){super(_0x4068a9),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x474e31=this['editor'],_0x5e60cb=_0x474e31['commands']['get']('importWord'),_0x1a2d26=_0x474e31['commands']['get']('trackChanges');_0x5e60cb&&(_0x5e60cb['on']('execute',(_0x3d793b,[,_0x2106e5])=>{this['_trackChangesValueDuringImport']=_0x1a2d26['value'],_0x2106e5['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x5e60cb,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x5e60cb,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1a2d26['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x474e31['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x4c8128,_0x198ef9){const {suggestions:_0x449285}=_0x198ef9,_0x31b9a7=this['editor']['commands']['get']('trackChanges'),_0x2a96fc=_0x31b9a7['value'];this['_trackChangesValueDuringImport']!==_0x2a96fc&&(_0x31b9a7['execute'](),this['_trackChangesExecuted']=!0x0),_0x449285&&_0x449285['forEach'](({id:_0xe41321,type:_0x3e740d,author:_0x1bc348,created_at:_0x5d3c9b})=>{const _0x3063e8={'id':_0xe41321,'type':_0x3e740d,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1bc348,'createdAt':_0x5d3c9b?new Date(_0x5d3c9b):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x3063e8);});}}class TrackChangesIndent extends _0x7cf71c{['afterInit'](){const _0x3e2f15=this['editor'],_0x3c8e67=_0x3e2f15['plugins']['get']('TrackChangesEditing');if(_0x3e2f15['plugins']['has']('IndentEditing')&&(_0x3c8e67['enableCommand']('indent'),_0x3c8e67['enableCommand']('outdent')),_0x3e2f15['plugins']['has']('IndentBlock')){for(const _0x43dcbc of['indentBlock','outdentBlock'])_0x3c8e67['enableDefaultAttributesIntegration'](_0x43dcbc);if(_0x3e2f15['plugins']['has']('ListEditing')){for(const _0x37b713 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x3c8e67['enableDefaultAttributesIntegration'](_0x37b713);}}const _0x1fa89d=_0x3e2f15['locale'];_0x3c8e67['descriptionFactory']['registerAttributeLabel']('blockIndent',Cy(_0x1fa89d,'FORMAT_INDENT')),_0x3c8e67['descriptionFactory']['registerAttributeLabel']('blockIndentList',Cy(_0x1fa89d,'FORMAT_INDENT')),_0x3c8e67['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',Cy(_0x1fa89d,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1f828c=this['editor'],_0x107e35=_0x1f828c['locale'],_0x149a8f=_0x1f828c['plugins']['get']('TrackChangesEditing');_0x149a8f['descriptionFactory']['registerDescriptionCallback'](_0x4383cd=>{if('formatBlock'!=_0x4383cd['type'])return;const {data:_0x3a2d63}=_0x4383cd;if(!_0x3a2d63)return;if('indentBlock'!=_0x3a2d63['commandName']&&'outdentBlock'!=_0x3a2d63['commandName'])return;const _0x937681=_0x4383cd['getItems']()[0x0],_0x16b209=_0x149a8f['descriptionFactory']['getItemLabel'](_0x937681);return'indentBlock'==_0x3a2d63['commandName']?{'type':'format','content':Cy(_0x107e35,'*Indent:*\x20%0',_0x16b209)}:'outdentBlock'==_0x3a2d63['commandName']?{'type':'format','content':Cy(_0x107e35,'*Outdent:*\x20%0',_0x16b209)}:void 0x0;});}}class TrackChangesInputCommand extends _0x7cf71c{static get['requires'](){return[_0x106291];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class TrackChangesLink extends _0x7cf71c{['afterInit'](){const _0xddcfcd=this['editor'];if(!_0xddcfcd['plugins']['has']('LinkEditing'))return;const _0x3903ef=_0xddcfcd['plugins']['get']('TrackChangesEditing'),_0x256703=_0xddcfcd['commands']['get']('link');_0x3903ef['enableDefaultAttributesIntegration']('link'),_0x3903ef['enableDefaultAttributesIntegration']('unlink');for(const _0x48ce26 of _0x256703['manualDecorators'])_0x3903ef['descriptionFactory']['registerAttributeLabel'](_0x48ce26['id'],'link\x20('+_0x48ce26['label']['toLowerCase']()+')');_0x3903ef['descriptionFactory']['registerDescriptionCallback'](_0x342c06=>{if('attribute'!=_0x342c06['type'])return;const {data:_0x1a7935}=_0x342c06;if(!_0x1a7935||'linkHref'!=_0x1a7935['key'])return;const _0x22ec28=_0x1a7935['newValue'],_0x1c5ef9=_0xddcfcd['locale'];return{'type':'format','content':null==_0x22ec28?Cy(_0x1c5ef9,'*Remove\x20link*'):Cy(_0x1c5ef9,'*Set\x20link:*\x20%0','\x22'+_0x22ec28+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1a5d98=this['editor'],_0x3910c3=_0x1a5d98['locale'];_0x1a5d98['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x68e928=>{if('formatInline'!=_0x68e928['type'])return;const {data:_0x452df8}=_0x68e928;if(_0x452df8){if('link'==_0x452df8['commandName']){const _0x909f7d=_0x452df8['commandParams'][0x0];return{'type':'format','content':Cy(_0x3910c3,'*Set\x20link:*\x20%0','\x22'+_0x909f7d+'\x22')};}return'unlink'==_0x452df8['commandName']?{'type':'format','content':Cy(_0x3910c3,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x7cf71c{['afterInit'](){const _0x3304bc=this['editor'],_0x37c59d=_0x3304bc['locale'];if(!_0x3304bc['plugins']['has']('LegacyListEditing'))return;const _0x2129d1=_0x3304bc['plugins']['get']('TrackChangesEditing'),_0x34ac4c=_0x3304bc['plugins']['has']('LegacyTodoListEditing');function _0x7c19ec(_0xbeef8c){return()=>{const _0x2b6a76=_0x3304bc['model']['document']['selection'],_0x29215b=_0x3304bc['commands']['get'](_0xbeef8c);if(_0x29215b['value'])return void _0x3304bc['execute']('paragraph',{});const _0xbcbf14=_0xbeef8c['slice'](0x0,-0x4),_0x36b4cb=function(_0x303787,_0x9a7c23,_0x32c576){let _0x285f33=Array['from'](_0x303787)['filter'](_0x12795d=>function(_0x2d6906,_0x4c8888){return _0x4c8888['checkChild'](_0x2d6906['parent'],'listItem')&&!_0x4c8888['isObject'](_0x2d6906);}(_0x12795d,_0x32c576));_0x285f33=_0x285f33['filter'](_0x5b2c8f=>!_0x5b2c8f['is']('element','listItem')||_0x5b2c8f['getAttribute']('listType')!=_0x9a7c23);const _0x1d0e06=new Set();for(const _0x19bd05 of _0x285f33)_0x19bd05['is']('element','listItem')?_0x1d0e06['add'](Dy(_0x19bd05)):_0x1d0e06['add'](_0x19bd05);return Array['from'](_0x1d0e06);}(_0x2b6a76['getSelectedBlocks'](),_0xbcbf14,_0x3304bc['model']['schema']);_0x3304bc['model']['change'](()=>{for(const _0x56b736 of _0x36b4cb)_0x2129d1['markBlockFormat'](_0x56b736,{'commandName':_0xbeef8c,'commandParams':[{'forceValue':!_0x29215b['value']}],'formatGroupId':'blockName'},Qy(_0x56b736));});};}function _0x2ddb43(_0x2941a4){return()=>{const _0x1fa265=function(_0x2b9e42){let _0x52da61=Array['from'](_0x2b9e42);const _0x112337=_0x52da61['findIndex'](_0x30e683=>'listItem'!=_0x30e683['name']);return _0x112337>-0x1&&(_0x52da61=_0x52da61['slice'](0x0,_0x112337)),_0x52da61;}(_0x3304bc['model']['document']['selection']['getSelectedBlocks']()),_0x383819=_0x3304bc['model']['createRange'](_0x3304bc['model']['createPositionAt'](_0x1fa265[0x0],'before'),_0x3304bc['model']['createPositionAt'](_0x1fa265[_0x1fa265['length']-0x1],'end'));_0x3304bc['model']['change'](()=>{_0x2129d1['markBlockFormat'](_0x383819,{'commandName':_0x2941a4,'commandParams':[],'formatGroupId':'listIndent'},function(_0x1710ec){const _0x4ab174=new Set();for(const _0xde2bbd of _0x1710ec){let _0x38d183=_0xde2bbd['nextSibling'];for(;_0x38d183&&_0x38d183['getAttribute']('listIndent')>_0xde2bbd['getAttribute']('listIndent');)_0x4ab174['add'](_0x38d183),_0x38d183=_0x38d183['nextSibling'];}return Array['from'](_0x4ab174);}(_0x1fa265));});};}_0x2129d1['enableCommand']('numberedList',_0x7c19ec('numberedList')),_0x2129d1['enableCommand']('bulletedList',_0x7c19ec('bulletedList')),_0x34ac4c&&_0x2129d1['enableCommand']('todoList',_0x7c19ec('todoList')),_0x2129d1['enableCommand']('indentList',_0x2ddb43('indentList')),_0x2129d1['enableCommand']('outdentList',_0x2ddb43('outdentList')),_0x34ac4c&&_0x2129d1['enableCommand']('checkTodoList',()=>{const _0x2702bf=_0x3304bc['commands']['get']('checkTodoList'),_0x5b3186=Array['from'](_0x2702bf['_selectedElements']);_0x5b3186['filter'](_0x483fbd=>_0x483fbd['getAttribute']('todoListChecked')!=_0x2702bf['value']),_0x3304bc['model']['change'](()=>{for(const _0x4c53b2 of _0x5b3186)_0x2129d1['markBlockFormat'](_0x4c53b2,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x2702bf['value']}]});});}),_0x2129d1['descriptionFactory']['registerElementLabel']('listItem',_0xe124dd=>Cy(_0x37c59d,'ELEMENT_LIST_ITEM',_0xe124dd)),_0x2129d1['descriptionFactory']['registerDescriptionCallback'](_0x4d207b=>{if('formatBlock'!=_0x4d207b['type']&&'formatInline'!=_0x4d207b['type'])return;const {data:_0x15998b}=_0x4d207b;if(_0x15998b){if('numberedList'==_0x15998b['commandName']||'bulletedList'==_0x15998b['commandName']||'todoList'==_0x15998b['commandName'])switch(_0x15998b['commandName']['replace']('List','')){case'bulleted':return _0x48397e(Cy(_0x37c59d,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x48397e(Cy(_0x37c59d,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x48397e(Cy(_0x37c59d,'ELEMENT_TODO_LIST'));}if('indentList'==_0x15998b['commandName'])return{'type':'format','content':Cy(_0x37c59d,'*Indent:*\x20%0',Cy(_0x37c59d,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x15998b['commandName'])return{'type':'format','content':Cy(_0x37c59d,'*Outdent:*\x20%0',Cy(_0x37c59d,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x15998b['commandName'])return _0x15998b['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0x37c59d,'*Check\x20item*')}:{'type':'format','content':Cy(_0x37c59d,'*Uncheck\x20item*')};}function _0x48397e(_0x1235ee){return{'type':'format','content':Cy(_0x37c59d,'*Change\x20to:*\x20%0',_0x1235ee)};}});}}function Dy(_0x33dfab){const _0x136a93=_0x33dfab['getAttribute']('listIndent');if(0x0==_0x136a93)return _0x33dfab;let _0xe81b48=_0x33dfab;for(;_0x33dfab['previousSibling']&&_0x33dfab['previousSibling']['is']('element','listItem');){const _0x4143de=_0x33dfab['previousSibling']['getAttribute']('listIndent');if(_0x4143de==_0x136a93)_0xe81b48=_0x33dfab['previousSibling'];else{if(_0x4143de<_0x136a93)break;}_0x33dfab=_0x33dfab['previousSibling'];}return _0xe81b48;}function Qy(_0x56fbb3){const _0x4d5ba7=[];if(_0x56fbb3['is']('element','listItem')&&_0x56fbb3['getAttribute']('listIndent')>0x0){let _0x19ba0=_0x56fbb3['nextSibling'];for(;_0x19ba0&&'listItem'==_0x19ba0['name']&&_0x19ba0['getAttribute']('listIndent')==_0x56fbb3['getAttribute']('listIndent');)_0x4d5ba7['push'](_0x19ba0),_0x19ba0=_0x19ba0['nextSibling'];}return _0x4d5ba7;}class TrackChangesLegacyListProperties extends _0x7cf71c{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x15421d=this['editor']['config']['get']('list.properties'),_0x17238c=this['editor']['plugins']['get']('TrackChangesEditing');_0x15421d['styles']&&_0x17238c['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x15421d['reversed']&&_0x17238c['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x15421d['startIndex']&&_0x17238c['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x17238c['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x52a674,_0x1ba13b={}){const _0x4346cf=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5a7012=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x4346cf['markMultiRangeBlockFormat'](_0x5a7012,{'commandName':'listStyle','commandParams':[{'type':_0x1ba13b['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x61b677,_0x2dd976={}){const _0x3c21d5=this['editor']['plugins']['get']('TrackChangesEditing'),_0x39224f=this['_getSuggestionBlocks'](_0x1beb46=>_0x1beb46['is']('element','listItem')&&'numbered'===_0x1beb46['getAttribute']('listType'));if(_0x39224f['length']<0x1)return;const _0x4fa654=_0x39224f['map'](_0x41796c=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x41796c,'before'),this['editor']['model']['createPositionAt'](_0x41796c,0x0)));this['editor']['model']['change'](()=>{_0x3c21d5['markMultiRangeBlockFormat'](_0x4fa654,{'commandName':'listReversed','commandParams':[{'reversed':_0x2dd976['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x56ac4b,_0x353364={}){const _0x585a23=this['editor']['plugins']['get']('TrackChangesEditing'),_0x33623e=this['_getSuggestionBlocks'](_0x4c5dc8=>_0x4c5dc8['is']('element','listItem')&&'numbered'===_0x4c5dc8['getAttribute']('listType'));if(_0x33623e['length']<0x1)return;const _0x54a663=_0x33623e['map'](_0x41bccf=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x41bccf,'before'),this['editor']['model']['createPositionAt'](_0x41bccf,0x0)));this['editor']['model']['change'](()=>{_0x585a23['markMultiRangeBlockFormat'](_0x54a663,{'commandName':'listStart','commandParams':[{'startIndex':_0x353364['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x4cecfd){if('formatBlock'!=_0x4cecfd['type']&&'formatInline'!=_0x4cecfd['type'])return;const _0x6cff3b=this['editor']['locale'],{data:_0xffe2d7}=_0x4cecfd;if(!_0xffe2d7)return;let _0x2d911b,_0x1d06e4;switch(_0xffe2d7['commandName']){case'listStyle':_0x2d911b='*Change\x20to:*\x20%0',_0x1d06e4={'type':'format','content':Cy(_0x6cff3b,_0x2d911b,Cy(_0x6cff3b,this['_getTranslationKeyForListStyle'](_0xffe2d7['commandParams'][0x0]['type'])))};break;case'listReversed':_0x2d911b=_0xffe2d7['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x1d06e4={'type':'format','content':Cy(_0x6cff3b,_0x2d911b)};break;case'listStart':_0x2d911b='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1d06e4={'type':'format','content':Cy(_0x6cff3b,_0x2d911b,_0xffe2d7['commandParams'][0x0]['startIndex'])};}return _0x1d06e4;}['_getSuggestionBlocksForListStyle'](){const _0x18bcd1=this['editor']['plugins']['get']('LegacyListUtils');let _0x33a221=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x33a221[0x0]?.['is']('element','listItem')&&_0x33a221['unshift'](..._0x18bcd1['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x33a221[_0x33a221['length']-0x1]?.['is']('element','listItem')&&_0x33a221['push'](..._0x18bcd1['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x33a221=[...new Set(_0x33a221)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x33a221=_0x33a221['filter'](_0x2a979c=>_0x2a979c['is']('element','listItem'))),_0x33a221;}['_getSuggestionBlocks'](_0x2a7747){const _0x2867cf=this['editor']['plugins']['get']('LegacyListUtils');let _0x5061e0=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x2a7747)['map'](_0x257f90=>{const _0x7c44a3=this['editor']['model']['createPositionAt'](_0x257f90,0x0);return[..._0x2867cf['getSiblingNodes'](_0x7c44a3,'backward'),..._0x2867cf['getSiblingNodes'](_0x7c44a3,'forward')];})['flat']();return _0x5061e0=[...new Set(_0x5061e0)],_0x5061e0;}['_getTranslationKeyForListStyle'](_0x4979f8){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x4979f8)||'default')['toUpperCase']()+'_LIST_'+_0x4979f8['toUpperCase']()['replace'](/-/g,'_');}}class TrackChangesMediaEmbed extends _0x7cf71c{['afterInit'](){const _0x1d02bf=this['editor'];if(!_0x1d02bf['plugins']['has']('MediaEmbedEditing'))return;const _0x8078d2=_0x1d02bf['plugins']['get']('TrackChangesEditing'),_0x40c3bc=_0x1d02bf['locale'];_0x8078d2['enableCommand']('mediaEmbed'),_0x8078d2['descriptionFactory']['registerElementLabel']('media',_0x4fc743=>Cy(_0x40c3bc,'ELEMENT_MEDIA',_0x4fc743));}}class TrackChangesMention extends _0x7cf71c{['afterInit'](){const _0x357d1=this['editor'];_0x357d1['plugins']['has']('MentionEditing')&&_0x357d1['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class TrackChangesMergeFields extends _0x7cf71c{['afterInit'](){const _0x20c5f9=this['editor'];if(!_0x20c5f9['plugins']['has']('MergeFieldsEditing'))return;const _0x19e88e=_0x20c5f9['plugins']['get']('TrackChangesEditing'),_0x17b120=_0x20c5f9['locale'];_0x19e88e['enableCommand']('insertMergeField'),_0x19e88e['enableCommand']('insertMergeFieldBlock'),_0x19e88e['enableCommand']('insertMergeFieldImage'),_0x19e88e['descriptionFactory']['registerElementLabel']('mergeField',_0x56a1a6=>Cy(_0x17b120,'ELEMENT_MERGE_FIELD',_0x56a1a6)),_0x19e88e['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x1969da=>Cy(_0x17b120,'ELEMENT_MERGE_FIELD',_0x1969da)),_0x19e88e['descriptionFactory']['registerDescriptionCallback'](_0x30ab8f=>{if('insertion'!=_0x30ab8f['type']&&'deletion'!=_0x30ab8f['type'])return;const _0x57fe6c=_0x30ab8f['getContainedElement']();if(null==_0x57fe6c)return;const _0x178976=_0x20c5f9['plugins']['get']('MergeFieldsEditing');let _0x4918af;switch(_0x178976['getMergeFieldType'](_0x57fe6c)){case null:return;case'image':{const _0x2192f1=_0x178976['unwrapAffixes'](_0x57fe6c['getAttribute']('src'));_0x4918af=_0x178976['getLabel'](_0x2192f1)||_0x2192f1;break;}default:{const _0x4e7751=_0x57fe6c['getAttribute']('id');_0x4918af=_0x178976['getLabel'](_0x4e7751)||_0x4e7751;break;}}return'insertion'==_0x30ab8f['type']?{'type':'insertion','content':Cy(_0x17b120,'*Insert:*\x20%0','\x22'+_0x4918af+'\x22\x20'+Cy(_0x17b120,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':Cy(_0x17b120,'*Remove:*\x20%0','\x22'+_0x4918af+'\x22\x20'+Cy(_0x17b120,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x7cf71c{['afterInit'](){const _0x55e81a=this['editor'],_0x452ae1=_0x55e81a['plugins']['get']('TrackChangesEditing');_0x55e81a['plugins']['has']('MultiLevelList')&&(_0x452ae1['enableDefaultAttributesIntegration']('multiLevelList'),_0x452ae1['descriptionFactory']['registerDescriptionCallback'](_0x41f643=>this['handleDescriptions'](_0x41f643)));}['handleDescriptions'](_0x521ad2){const _0x107ad2=this['editor']['locale'],{data:_0x2886a6}=_0x521ad2,_0x1ae1d7={'type':'format','content':''};if(_0x2886a6&&'listMarkerStyle'==_0x2886a6['key']){if(!_0x2886a6['oldValue'])return{'type':'format','content':Cy(_0x107ad2,'*Set\x20format:*\x20%0',Cy(_0x107ad2,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x2886a6['newValue']+')'};if(!_0x2886a6['newValue']){let _0x5718d6=_0x521ad2['head'];for(;_0x5718d6;){if(_0x5718d6['data']&&'listType'==_0x5718d6['data']['key']&&_0x5718d6['data']['newValue'])return _0x1ae1d7;_0x5718d6=_0x5718d6['next'];}return{'type':'format','content':Cy(_0x107ad2,'*Remove\x20format:*\x20%0',Cy(_0x107ad2,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x2886a6['oldValue']+')'};}}}}class TrackChangesPageBreak extends _0x7cf71c{['afterInit'](){const _0x5a4ce3=this['editor'];if(!_0x5a4ce3['plugins']['has']('PageBreakEditing'))return;_0x5a4ce3['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x157ea2=_0x5a4ce3['plugins']['get']('TrackChangesEditing'),_0xe70664=_0x5a4ce3['locale'];_0x157ea2['descriptionFactory']['registerElementLabel']('pageBreak',_0x19479a=>Cy(_0xe70664,'ELEMENT_PAGE_BREAK',_0x19479a));}}class TrackChangesParagraph extends _0x7cf71c{['afterInit'](){const _0x144099=this['editor'];if(!_0x144099['plugins']['has']('Paragraph'))return;const _0x142e8a=_0x144099['locale'],_0x11c92a=_0x144099['plugins']['get']('TrackChangesEditing');_0x11c92a['descriptionFactory']['registerElementLabel']('paragraph',_0x41f73f=>Cy(_0x142e8a,'ELEMENT_PARAGRAPH',_0x41f73f)),_0x11c92a['enableDefaultAttributesIntegration']('paragraph'),_0x11c92a['enableCommand']('insertParagraph');const _0x1b12a3=_0x11c92a['descriptionFactory'];_0x1b12a3['registerDescriptionCallback'](_0x56e7da=>{if('insertion'!==_0x56e7da['type'])return;const {start:_0x38482d,end:_0x8aca82}=_0x56e7da['getFirstRange']();if(!_0x38482d['isTouching'](_0x8aca82)||!_0x38482d['nodeAfter'])return;const _0x481725=_0x144099['model']['schema'],_0x568379=_0x38482d['nodeAfter'];return _0x481725['isBlock'](_0x568379)&&!_0x481725['isLimit'](_0x568379)&&_0x481725['checkChild'](_0x568379,'$text')?{'type':'insertion','content':Cy(_0x142e8a,'*Insert:*\x20%0',_0x1b12a3['getItemLabel'](_0x568379,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x26c574=this['editor'],_0x570813=_0x26c574['locale'];_0x26c574['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3e31b4=>{if('formatBlock'!=_0x3e31b4['type'])return;const {data:_0xd1aa1d}=_0x3e31b4;return _0xd1aa1d&&'paragraph'==_0xd1aa1d['commandName']?{'type':'format','content':Cy(_0x570813,'*Change\x20to:*\x20%0',Cy(_0x570813,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class TrackChangesReplaceSourceCommand extends _0x7cf71c{['afterInit'](){const _0x3a7e34=this['editor'];_0x3a7e34['commands']['get']('replaceSource')&&_0x3a7e34['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x7cf71c{['afterInit'](){const _0x519434=this['editor'];if(!_0x519434['plugins']['has']('RemoveFormatEditing'))return;_0x519434['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5da3d3=this['editor'];_0x5da3d3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x142221=>{if('formatBlock'!=_0x142221['type']&&'formatInline'!=_0x142221['type'])return;const {data:_0x950e38}=_0x142221;return _0x950e38&&'removeFormat'==_0x950e38['commandName']?{'type':'format','content':Cy(_0x5da3d3['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x7cf71c{['afterInit'](){const _0x33e75a=this['editor'];if(!_0x33e75a['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x19be14=_0x33e75a['plugins']['get']('TrackChangesEditing');_0x19be14['enableCommand']('goToPreviousRestrictedEditingException'),_0x19be14['enableCommand']('goToNextRestrictedEditingException');const _0x1eb405=_0x33e75a['plugins']['get']('RestrictedEditingModeEditing');_0x1eb405['enableCommand']('trackChanges'),_0x1eb405['enableCommand']('acceptSuggestion'),_0x1eb405['enableCommand']('discardSuggestion'),_0x1eb405['enableCommand']('acceptAllSuggestions'),_0x1eb405['enableCommand']('discardAllSuggestions'),_0x1eb405['enableCommand']('acceptSelectedSuggestions'),_0x1eb405['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x7cf71c{['afterInit'](){const _0x9abf9a=this['editor'];if(!_0x9abf9a['plugins']['has']('ShiftEnter'))return;const _0xd639e6=_0x9abf9a['plugins']['get']('TrackChangesEditing');_0xd639e6['enableCommand']('shiftEnter'),_0xd639e6['descriptionFactory']['registerElementLabel']('softBreak',_0x2ed01c=>Cy(_0x9abf9a['locale'],'ELEMENT_LINE_BREAK',_0x2ed01c));}}function Vy(_0xac877a,_0x4fcef9,_0x2acd91){const _0x43e530=[];for(const _0x8ee376 of _0x4fcef9['getItems']())_0x8ee376['hasAttribute'](_0xac877a)&&_0x43e530['push'](_0x2acd91['createRangeOn'](_0x8ee376));return _0x43e530;}class TrackChangesStandardEditingMode extends _0x7cf71c{['afterInit'](){const _0x3f1e12=this['editor'],_0x2b187f=_0x3f1e12['plugins']['get']('TrackChangesEditing');_0x3f1e12['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x2b187f['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x15e3c6=this['editor'],_0x273aa8=_0x15e3c6['model'],_0x5d2944=_0x15e3c6['locale'],_0xd5774c=_0x15e3c6['plugins']['get']('TrackChangesEditing'),_0x4cdd12='restrictedEditingException',_0x2dd02f=_0x15e3c6['commands']['get'](_0x4cdd12);_0xd5774c['enableCommand'](_0x4cdd12,(_0x378fb2,_0x3c2aee={})=>{const _0x446848=_0x273aa8['document']['selection'];if(_0x446848['isCollapsed'])return void _0x378fb2(_0x3c2aee);const _0x4b1dca=void 0x0!==_0x3c2aee['forceValue']?_0x3c2aee['forceValue']:!_0x2dd02f['value'];_0x273aa8['change'](()=>{const _0x27af54=Array['from'](_0x446848['getRanges']());for(const _0x3dbf05 of _0x27af54){const _0x12c924=_0x4b1dca?[_0x3dbf05]:Vy(_0x4cdd12,_0x3dbf05,_0x273aa8);for(const _0x2b4bad of _0x12c924)_0xd5774c['markInlineFormat'](_0x2b4bad,{'commandName':_0x4cdd12,'commandParams':[{'forceValue':_0x4b1dca}]});}});}),_0xd5774c['descriptionFactory']['registerDescriptionCallback'](_0xe1b270=>{if('formatBlock'!=_0xe1b270['type']&&'formatInline'!=_0xe1b270['type'])return;const {data:_0x3d4e60}=_0xe1b270;return _0x3d4e60&&_0x3d4e60['commandName']==_0x4cdd12?_0x3d4e60['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0x5d2944,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':Cy(_0x5d2944,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x6a4c2f=this['editor'],_0x591b18=_0x6a4c2f['locale'],_0x4b88e5=_0x6a4c2f['plugins']['get']('TrackChangesEditing'),_0x12f899='restrictedEditingExceptionBlock',_0x4207dc=this['editor']['commands']['get'](_0x12f899);_0x4b88e5['enableCommand'](_0x12f899,(_0x44ca06,_0x2965dd={})=>{const _0x2384b0=this['editor']['model']['document']['selection'],_0x36023f=_0x2965dd&&void 0x0!==_0x2965dd['forceValue']?_0x2965dd['forceValue']:!_0x4207dc['value'];let _0x4664a3=[];if(_0x36023f){const _0x1938fc=Array['from'](_0x2384b0['getSelectedBlocks']())['filter'](_0x4805e0=>function(_0x3225e5){return!!_0x3225e5['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x4805e0)||function(_0x22ca12,_0x5162dc){const _0xa37c47=_0x5162dc['createContext'](_0x22ca12['parent']);if(!_0x5162dc['checkChild'](_0xa37c47,'restrictedEditingException'))return!0x1;if(!_0x5162dc['checkChild'](_0xa37c47['push']('restrictedEditingException'),_0x22ca12))return!0x1;return!0x0;}(_0x4805e0,this['editor']['model']['schema']));_0x4664a3=Ay(_0x1938fc,_0x6a4c2f['model']);}else{const _0x19a966=Array['from'](_0x2384b0['getSelectedBlocks']())['map'](_0x4555a0=>function(_0xeecb16){let _0x4aa3b5=_0xeecb16;for(;_0x4aa3b5['parent'];){if('restrictedEditingException'==_0x4aa3b5['parent']['name'])return _0x4aa3b5;_0x4aa3b5=_0x4aa3b5['parent'];}return null;}(_0x4555a0))['filter'](_0x17fc46=>!!_0x17fc46);_0x4664a3=Ay(_0x19a966,_0x6a4c2f['model']);}_0x6a4c2f['model']['change'](()=>{for(const _0x254b28 of _0x4664a3)_0x4b88e5['markBlockFormat'](_0x254b28,{'commandName':_0x12f899,'commandParams':[{'forceValue':_0x36023f}]});});}),_0x4b88e5['descriptionFactory']['registerDescriptionCallback'](_0x4c1fe9=>{const {data:_0x5b369a}=_0x4c1fe9;if(_0x5b369a&&_0x5b369a['commandName']==_0x12f899)return _0x5b369a['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0x591b18,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':Cy(_0x591b18,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x7cf71c{['afterInit'](){const _0x516337=this['editor'];if(!_0x516337['plugins']['has']('Style')||!_0x516337['plugins']['has']('DataSchema'))return;const _0x21e5bc=_0x516337['plugins']['get']('TrackChangesEditing'),_0x5b2442=_0x516337['locale'],_0x28a2b8=_0x516337['config']['get']('style')||{},_0x369289=_0x516337['plugins']['get']('GeneralHtmlSupport'),_0xdf0b55=_0x516337['plugins']['get']('StyleUtils')['normalizeConfig'](_0x516337['plugins']['get']('DataSchema'),_0x28a2b8['definitions']);_0x21e5bc['enableDefaultAttributesIntegration']('style');const _0x31b4d3=new Set();for(const _0x189358 of _0xdf0b55['block']){const _0x472276=_0x369289['getGhsAttributeNameForElement'](_0x189358['element']);_0x31b4d3['add'](_0x472276);}const _0x547bfd=new Set();for(const _0x226da5 of _0xdf0b55['inline']){const _0x950182=_0x369289['getGhsAttributeNameForElement'](_0x226da5['element']);_0x547bfd['add'](_0x950182);for(const _0x535661 of _0x226da5['ghsAttributes'])_0x547bfd['add'](_0x535661);}for(const _0x1421af of _0x31b4d3)_0x21e5bc['descriptionFactory']['registerAttributeLabel'](_0x1421af,Cy(_0x5b2442,'FORMAT_STYLE'));for(const _0x2b8c29 of _0x547bfd)_0x21e5bc['descriptionFactory']['registerAttributeLabel'](_0x2b8c29,Cy(_0x5b2442,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xe4953c=this['editor'],_0x335c85=_0xe4953c['locale'];_0xe4953c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x12b41c=>{if('formatBlock'!=_0x12b41c['type']&&'formatInline'!=_0x12b41c['type'])return;const {data:_0x4a4b2b}=_0x12b41c;return _0x4a4b2b&&'style'===_0x4a4b2b['commandName']?_0x4a4b2b['commandParams'][0x0]['forceValue']?{'type':'format','content':Cy(_0x335c85,'*Set\x20format:*\x20%0',_0x4a4b2b['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':Cy(_0x335c85,'*Remove\x20format:*\x20%0',_0x4a4b2b['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class TrackChangesTable extends _0x7cf71c{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x2c511c){super(_0x2c511c),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x3959eb=this['editor'],_0x41465a=_0x3959eb['model']['document']['selection'];if(!_0x3959eb['plugins']['has']('TableEditing'))return;const _0x368cd4=_0x3959eb['locale'],_0x2f8612=_0x3959eb['plugins']['get']('TrackChangesEditing'),_0x4c44eb=_0x3959eb['plugins']['get']('TableUtils');_0x2f8612['descriptionFactory']['registerElementLabel']('table',_0x114cca=>Cy(_0x368cd4,'ELEMENT_TABLE',_0x114cca)),this['_setupColumnsRowsFixing'](),_0x2f8612['enableCommand']('insertTable'),_0x2f8612['enableCommand']('selectTableRow'),_0x2f8612['enableCommand']('selectTableColumn');for(const _0x3aa979 of['insertTableRowAbove','insertTableRowBelow']){const _0x33402a=_0x3959eb['commands']['get'](_0x3aa979);_0x2f8612['enableCommand'](_0x3aa979,_0x53e49c=>{_0x3959eb['model']['change'](_0x14422f=>{_0x53e49c();const _0x1184e5='above'===_0x33402a['order'],_0x2dff56=_0x4c44eb['getSelectionAffectedTableCells'](_0x41465a),_0x4811b0=_0x4c44eb['getRowIndexes'](_0x2dff56),_0x23ee0b=_0x1184e5?_0x4811b0['first']-0x1:_0x4811b0['last']+0x1,_0x286593=_0x2dff56[0x0]['findAncestor']('table'),_0x34bf69=_0x4c44eb['createTableWalker'](_0x286593,{'startRow':_0x23ee0b,'endRow':_0x23ee0b}),_0x2d4a7e=Array['from'](_0x34bf69)['map'](_0x52d4aa=>_0x14422f['createRangeOn'](_0x52d4aa['cell']));_0x2f8612['markMultiRangeInsertion'](_0x2d4a7e,'tableRow');});});}for(const _0x29e4a2 of['insertTableColumnLeft','insertTableColumnRight']){const _0x3efb1f=_0x3959eb['commands']['get'](_0x29e4a2);_0x2f8612['enableCommand'](_0x29e4a2,_0x4e8c41=>{_0x3959eb['model']['change'](_0x44d02d=>{_0x4e8c41();const _0x4582c0='left'===_0x3efb1f['order'],_0x939156=_0x4c44eb['getSelectionAffectedTableCells'](_0x41465a),_0x12a723=_0x4c44eb['getColumnIndexes'](_0x939156),_0x1b2ec0=_0x4582c0?_0x12a723['first']-0x1:_0x12a723['last']+0x1,_0x2c2b75=_0x939156[0x0]['findAncestor']('table'),_0x40a380=_0x4c44eb['createTableWalker'](_0x2c2b75,{'startRow':0x0,'column':_0x1b2ec0,'includeAllSlots':!0x1}),_0x30e1ac=Array['from'](_0x40a380)['map'](_0x13ed19=>_0x44d02d['createRangeOn'](_0x13ed19['cell']));_0x2f8612['markMultiRangeInsertion'](_0x30e1ac,'tableColumn');});});}for(const _0x1ae8d0 of['removeTableRow','removeTableColumn']){const _0x416aa1=_0x1ae8d0['substr'](0xb),_0x4951ed=_0x416aa1['toLowerCase'](),_0x53d244=_0x4951ed['substr'](0x0,0x3)+'span',_0x2b10e2='table'+_0x416aa1,_0x4f01ae='min'+_0x416aa1,_0x4ab2c4='max'+_0x416aa1;_0x2f8612['enableCommand'](_0x1ae8d0,()=>{_0x3959eb['model']['change'](_0x36d021=>{const _0x133316=_0x4c44eb['getSelectionAffectedTableCells'](_0x41465a),_0x20cd2a=_0x133316[0x0]['findAncestor']('table');let _0x3c9785;if('removeTableRow'==_0x1ae8d0){const _0x36dc32=_0x4c44eb['getRowIndexes'](_0x133316);_0x3c9785={'startRow':_0x36dc32['first'],'endRow':_0x36dc32['last'],'includeAllSlots':!0x0};}else{const _0x3d08b9=_0x4c44eb['getColumnIndexes'](_0x133316);_0x3c9785={'startColumn':_0x3d08b9['first'],'endColumn':_0x3d08b9['last'],'includeAllSlots':!0x0};}const _0x442b08=_0x4c44eb['createTableWalker'](_0x20cd2a,_0x3c9785),_0x4a16e0=Array['from'](_0x442b08)['map'](({cell:_0x9ded47})=>_0x9ded47),_0x53ef2e=Uy(_0x4a16e0['filter'](_0x4215f4=>_0x4215f4['hasAttribute'](_0x53d244))),_0x14bede=Uy(_0x4a16e0['filter'](_0x397223=>!_0x397223['hasAttribute'](_0x53d244)))['map'](_0x512746=>_0x36d021['createRangeOn'](_0x512746)),_0x6f7eec=_0x2f8612['markMultiRangeDeletion'](_0x14bede,_0x2b10e2);if(_0x6f7eec&&('tableRow'==_0x6f7eec['subType']||'tableColumn'==_0x6f7eec['subType'])){const _0x46ba90=this['_getSuggestionCoords'](_0x6f7eec);for(const _0x3ce062 of _0x53ef2e){const _0x55477c=_0x36d021['createRangeOn'](_0x3ce062),_0x2e7b0f=_0x4c44eb['getCellLocation'](_0x3ce062),_0x213c07=_0x3ce062['getAttribute'](_0x53d244)-0x1,_0x4e1b46=_0x46ba90[_0x4f01ae],_0x3507f6=_0x46ba90[_0x4ab2c4];_0x4e1b46<=_0x2e7b0f[_0x4951ed]&&_0x2e7b0f[_0x4951ed]+_0x213c07<=_0x3507f6&&_0x6f7eec['addRange'](_0x55477c);}}});});}function _0x2fb33a(_0x43d1ab){const _0x579f7f=Array['from'](_0x41465a['getRanges']())['map'](_0x4a9c10=>_0x495f74['fromRange'](_0x4a9c10));_0x3959eb['model']['change'](_0x486f2f=>{const _0x3879f0=_0x486f2f['batch'];_0x43d1ab=_0x43d1ab['filter'](_0x7d0748=>'$graveyard'!=_0x7d0748['root']['rootName']),_0x486f2f['setSelection'](_0x43d1ab),_0x3959eb['commands']['get']('removeTableRow')['refresh'](),_0x3959eb['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x3959eb['model']['enqueueChange'](()=>{_0x3959eb['model']['enqueueChange'](_0x3879f0,_0x128727=>{const _0x297f3a=_0x579f7f['filter'](_0x1799df=>'$graveyard'!=_0x1799df['root']['rootName']);_0x297f3a['length']>0x0&&_0x128727['setSelection'](_0x297f3a);for(const _0x430b14 of _0x579f7f)_0x430b14['detach']();});});});}function _0x35e676(_0xa48bfd){_0x3959eb['model']['change'](_0x3e824d=>{const _0xbb1377=Array['from'](_0x41465a['getRanges']())['map'](_0x1b9518=>_0x495f74['fromRange'](_0x1b9518)),_0x11cfbc=[];for(const _0x548124 of _0xa48bfd)for(const _0x15047f of _0x548124['getItems']({'shallow':!0x0}))_0x11cfbc['push'](_0x15047f);for(const _0x1db16e of _0x11cfbc)'$graveyard'!=_0x1db16e['root']['rootName']&&(_0x3e824d['setSelection'](_0x3e824d['createPositionAt'](_0x1db16e,0x0)),_0x3959eb['commands']['get']('removeTableColumn')['refresh'](),_0x3959eb['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0xee69c=_0xbb1377['filter'](_0x238907=>'$graveyard'!=_0x238907['root']['rootName']);_0xee69c['length']>0x0&&_0x3e824d['setSelection'](_0xee69c);for(const _0x26fb72 of _0xbb1377)_0x26fb72['detach']();});}function _0x4c2e83(_0x124338,_0x5b7017){return _0x5b7017['every'](_0x9a1283=>_0x124338['some'](_0x2c199e=>_0x2c199e['end']['isEqual'](_0x9a1283['start'])||_0x9a1283['end']['isEqual'](_0x2c199e['start'])));}function _0x14790f(_0x1986de,_0x3439e6){return!_0x1986de['some'](_0x530795=>_0x3439e6['some'](_0x25de74=>_0x530795['isIntersecting'](_0x25de74)))&&_0x1986de['some'](_0x16851f=>_0x3439e6['some'](_0x21ac1e=>_0x16851f['end']['isTouching'](_0x21ac1e['start'])));}_0x2f8612['descriptionFactory']['registerDescriptionCallback'](_0x45675a=>{if('insertion'!=_0x45675a['type']&&'deletion'!=_0x45675a['type'])return;const _0xfa8563=_0x45675a['getContainedElement']();if(null!=_0xfa8563&&_0xfa8563['is']('element','table')){if('insertion'==_0x45675a['type']){const _0x4a5a00=_0x45675a['getItems']()['filter'](_0x1004b2=>_0x1004b2['is']('$textProxy'))['map'](_0x5e9e93=>_0x5e9e93['data']);if(_0x4a5a00['length'])return{'type':'insertion','content':Cy(_0x368cd4,'*Insert:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4a5a00['join']('\x20')+'\x22'))};}if('deletion'==_0x45675a['type']){const _0x35ec20=_0x45675a['getItems']()['filter'](_0x337d3d=>_0x337d3d['is']('$textProxy'))['map'](_0x5cf2df=>_0x5cf2df['data']);if(_0x35ec20['length'])return{'type':'deletion','content':Cy(_0x368cd4,'*Remove:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x35ec20['join']('\x20')+'\x22'))};}}}),_0x2f8612['descriptionFactory']['registerDescriptionCallback'](_0x407f7f=>{if('tableRow'==_0x407f7f['subType']){const _0xc6cd4f=_0x407f7f['getItems']()['filter'](_0x2bb72a=>_0x2bb72a['is']('$textProxy'))['map'](_0x9903c7=>_0x9903c7['data']),_0x467e19=this['_getSuggestionCoords'](_0x407f7f),_0x1cc13b=_0x467e19['maxRow']-_0x467e19['minRow']+0x1;if('insertion'==_0x407f7f['type'])return _0xc6cd4f['length']?{'type':'insertion','content':Cy(_0x368cd4,'*Insert:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1cc13b,'\x22'+_0xc6cd4f['join']('\x20')+'\x22']))}:{'type':'insertion','content':Cy(_0x368cd4,'*Insert:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_ROW',_0x1cc13b))};if('deletion'==_0x407f7f['type'])return _0xc6cd4f['length']?{'type':'deletion','content':Cy(_0x368cd4,'*Remove:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1cc13b,'\x22'+_0xc6cd4f['join']('\x20')+'\x22']))}:{'type':'deletion','content':Cy(_0x368cd4,'*Remove:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_ROW',_0x1cc13b))};}if('tableColumn'==_0x407f7f['subType']){const _0x4dca38=_0x407f7f['getItems']()['filter'](_0x1bca1b=>_0x1bca1b['is']('$textProxy'))['map'](_0x16ad40=>_0x16ad40['data']),_0x5df78c=this['_getSuggestionCoords'](_0x407f7f),_0x2f3923=_0x5df78c['maxColumn']-_0x5df78c['minColumn']+0x1;if('insertion'==_0x407f7f['type'])return _0x4dca38['length']?{'type':'insertion','content':Cy(_0x368cd4,'*Insert:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2f3923,'\x22'+_0x4dca38['join']('\x20')+'\x22']))}:{'type':'insertion','content':Cy(_0x368cd4,'*Insert:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_COLUMN',_0x2f3923))};if('deletion'==_0x407f7f['type'])return _0x4dca38['length']?{'type':'deletion','content':Cy(_0x368cd4,'*Remove:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2f3923,'\x22'+_0x4dca38['join']('\x20')+'\x22']))}:{'type':'deletion','content':Cy(_0x368cd4,'*Remove:*\x20%0',Cy(_0x368cd4,'ELEMENT_TABLE_COLUMN',_0x2f3923))};}}),_0x2f8612['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x2fb33a),_0x2f8612['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x2fb33a),_0x2f8612['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x35e676),_0x2f8612['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x35e676),_0x2f8612['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x4c2e83),_0x2f8612['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x4c2e83),_0x2f8612['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x14790f),_0x2f8612['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x14790f);}['_acceptFormatSuggestionCallbackFactory'](){const _0x141463=this['editor'],_0x4ad152=_0x141463['model']['document']['selection'];return(_0x40fd4f,_0x282540)=>{_0x141463['model']['change'](_0x208a21=>{const {commandName:_0xe8ba5a,commandParams:_0x15f429}=_0x282540;let _0xbb9735=_0x40fd4f[0x0]['end']['nodeBefore'];_0x15f429&&_0x15f429[0x0]&&!0x1===_0x15f429[0x0]['forceValue']&&(_0xbb9735=_0x40fd4f[0x0]['start']['nodeAfter']);const _0x3b3003=_0x208a21['createRangeIn'](_0xbb9735);if('$graveyard'==_0x3b3003['root']['rootName'])return;const _0x52f987=Array['from'](_0x4ad152['getRanges']())['map'](_0x55bfec=>_0x495f74['fromRange'](_0x55bfec));_0x208a21['setSelection'](_0x3b3003),_0x141463['commands']['get'](_0xe8ba5a)['refresh'](),_0x15f429['push']({'forceDefaultExecution':!0x0}),_0x141463['execute'](_0xe8ba5a,..._0x15f429);const _0x39bbb1=_0x52f987['filter'](_0x1faf1e=>'$graveyard'!=_0x1faf1e['root']['rootName']);_0x39bbb1['length']>0x0&&_0x208a21['setSelection'](_0x39bbb1);for(const _0x182b38 of _0x52f987)_0x182b38['detach']();});};}['_getCoordsForCells'](_0x416cf7){const _0x56ea24=this['editor']['plugins']['get']('TableUtils');let _0x44166f=Number['MAX_SAFE_INTEGER'],_0x1f0ea9=Number['MIN_SAFE_INTEGER'],_0x2e4c92=Number['MAX_SAFE_INTEGER'],_0x4c0640=Number['MIN_SAFE_INTEGER'];for(const _0x4ad6e6 of _0x416cf7){if('$graveyard'==_0x4ad6e6['root']['rootName'])continue;const {row:_0x28cb5c,column:_0x21c48f}=_0x56ea24['getCellLocation'](_0x4ad6e6),_0x46bd86=_0x4ad6e6['hasAttribute']('rowspan')?_0x4ad6e6['getAttribute']('rowspan')-0x1:0x0,_0x137d37=_0x4ad6e6['hasAttribute']('colspan')?_0x4ad6e6['getAttribute']('colspan')-0x1:0x0;_0x44166f=_0x28cb5c<_0x44166f?_0x28cb5c:_0x44166f,_0x1f0ea9=_0x28cb5c+_0x46bd86>_0x1f0ea9?_0x28cb5c+_0x46bd86:_0x1f0ea9,_0x2e4c92=_0x21c48f<_0x2e4c92?_0x21c48f:_0x2e4c92,_0x4c0640=_0x21c48f+_0x137d37>_0x4c0640?_0x21c48f+_0x137d37:_0x4c0640;}return{'minRow':_0x44166f,'maxRow':_0x1f0ea9,'minColumn':_0x2e4c92,'maxColumn':_0x4c0640};}['_setupColumnsRowsFixing'](){const _0x47f4a4=this['editor'],_0x3120b4=_0x47f4a4['plugins']['get']('TrackChangesEditing'),_0x4b8fe7=_0x47f4a4['plugins']['get']('TableUtils');_0x47f4a4['model']['document']['on']('change:data',()=>{const _0x473e4f=Array['from'](_0x47f4a4['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x358884,data:_0x2a37db}of _0x473e4f){const {group:_0x5d867b,id:_0x52bef5,subType:_0x44dcf6}=xc(_0x358884);if('suggestion'!=_0x5d867b)continue;if(null!=_0x2a37db['oldRange'])continue;const _0x205b15=_0x3120b4['getSuggestion'](_0x52bef5);this['_tablePostFixingSubtypes']['includes'](_0x44dcf6)&&this['_tableSuggestions']['add'](_0x205b15);}},{'priority':'low'});const _0x25f1db=(_0x386e2c,_0x4a46d4)=>{let _0x38bea5=!0x1;const _0x123dbf=_0x4a46d4['createRangeOn'](_0x386e2c),_0x296f49=_0x386e2c['findAncestor']('table'),_0xbf6943=_0x4b8fe7['getCellLocation'](_0x386e2c);for(const _0x40cd79 of this['_tableSuggestions']){const _0x55937c=_0x40cd79['subType'],_0x250036=_0x55937c['startsWith']('tablePaste'),_0x1f8252=_0x55937c['substr'](_0x250036?0xa:0x5),_0xa660af=_0x1f8252['toLowerCase'](),_0x513ffe=_0xa660af['substr'](0x0,0x3)+'span',_0x18dac0='min'+_0x1f8252,_0x2f5686='max'+_0x1f8252;if(!_0x40cd79['isInContent'])continue;if(_0x296f49!=_0x40cd79['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x40cd79['isIntersectingWithRange'](_0x123dbf))continue;const _0x36d72c=_0x386e2c['hasAttribute'](_0x513ffe)?_0x386e2c['getAttribute'](_0x513ffe)-0x1:0x0,_0x33df5e=this['_getSuggestionCoords'](_0x40cd79),_0x342d5c=_0x33df5e[_0x18dac0],_0x508927=_0x33df5e[_0x2f5686];_0x342d5c<=_0xbf6943[_0xa660af]&&_0xbf6943[_0xa660af]+_0x36d72c<=_0x508927&&(_0x40cd79['addRange'](_0x123dbf),_0x38bea5=!0x0);}return _0x38bea5;};_0x47f4a4['model']['document']['registerPostFixer'](_0x3a4044=>{let _0x4e1d6f=!0x1;for(const _0x2f5614 of _0x47f4a4['model']['document']['differ']['getChanges']())if('insert'==_0x2f5614['type']){if('tableRow'==_0x2f5614['name']){for(const _0x52e806 of _0x2f5614['position']['nodeAfter']['getChildren']())_0x4e1d6f=_0x4e1d6f||_0x25f1db(_0x52e806,_0x3a4044);}else'tableCell'==_0x2f5614['name']&&(_0x4e1d6f=_0x4e1d6f||_0x25f1db(_0x2f5614['position']['nodeAfter'],_0x3a4044));}return _0x4e1d6f;});}['_getSuggestionCoords'](_0x2c87e7){return this['_getCoordsForCells'](_0x2c87e7['getRanges']()['map'](_0x78ccfa=>_0x78ccfa['start']['nodeAfter']));}}function Uy(_0xdbb62f){return Array['from'](new Set(_0xdbb62f)['values']());}class TrackChangesTableMergeSplit extends _0x7cf71c{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x3e25ca=this['editor'],_0x3840bf=_0x3e25ca['model']['document']['selection'],_0x324071=_0x3e25ca['locale'];if(!_0x3e25ca['plugins']['has']('TableEditing'))return;const _0x4bca8d=_0x3e25ca['plugins']['get']('TrackChangesEditing'),_0x3bc32d=_0x3e25ca['plugins']['get']('TableUtils'),_0x38ed34=_0x3e25ca['plugins']['get'](TrackChangesTable);_0x38ed34['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x4bca8d['enableCommand']('mergeTableCells',()=>{const _0x2a883b=_0x3bc32d['getSelectionAffectedTableCells'](_0x3e25ca['model']['document']['selection']);_0x3e25ca['model']['change'](()=>{_0x4bca8d['markMultiRangeBlockFormat'](_0x2a883b,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x3e25ca['commands']['get']('mergeTableCells')['on']('execute',(_0x7f148e,_0x3a62ff)=>{_0x3e25ca['commands']['get']('trackChanges')['value']&&(_0x3a62ff['length']>0x0&&_0x3a62ff[_0x3a62ff['length']-0x1]&&_0x3a62ff[_0x3a62ff['length']-0x1]['forceDefaultExecution']||_0x4bca8d['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x7f148e['stop']());},{'priority':'highest'});for(const _0x4f150d of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x13297d=_0x3e25ca['commands']['get'](_0x4f150d);_0x4bca8d['enableCommand'](_0x4f150d,()=>{const _0xcdeedb=_0x3e25ca['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x223e23=>_0x223e23['is']('element','tableCell')),_0x36fe9b=_0x13297d['value'];_0x3e25ca['model']['change'](()=>{_0x4bca8d['markMultiRangeBlockFormat']([_0xcdeedb,_0x36fe9b],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x5295d9 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x415d13=_0x3e25ca['commands']['get'](_0x5295d9);_0x4bca8d['enableCommand'](_0x5295d9,()=>{const _0x823635=_0x3bc32d['getSelectionAffectedTableCells'](_0x3e25ca['model']['document']['selection'])[0x0],_0x2072ba=_0x823635['findAncestor']('table'),{column:_0x3dcf9,row:_0x555774}=_0x3bc32d['getCellLocation'](_0x823635);let _0x306c5b=[];if('horizontally'==_0x415d13['direction']){const _0x48d5e6=_0x3bc32d['createTableWalker'](_0x2072ba,{'startRow':_0x555774,'endRow':_0x555774,'includeAllSlots':!0x0});_0x306c5b=Array['from'](_0x48d5e6)['map'](_0x257f43=>_0x257f43['cell']);}else{const _0x26a00a=_0x3bc32d['createTableWalker'](_0x2072ba,{'column':_0x3dcf9,'includeAllSlots':!0x0});_0x306c5b=Array['from'](_0x26a00a)['map'](_0x187111=>_0x187111['cell']);}_0x3e25ca['model']['change'](_0x5bd3e6=>{_0x4bca8d['markBlockFormat'](_0x5bd3e6['createRangeOn'](_0x823635),{'commandName':_0x5295d9,'commandParams':[]},_0x306c5b,_0x5295d9);});});}_0x4bca8d['descriptionFactory']['registerDescriptionCallback'](_0x750c8e=>{if('formatBlock'!=_0x750c8e['type']&&'formatInline'!=_0x750c8e['type'])return;const {data:_0x584026}=_0x750c8e;return _0x584026&&'mergeTableCells'==_0x584026['commandName']?{'type':'format','content':Cy(_0x324071,'*Merge\x20cells*')}:void 0x0;}),_0x4bca8d['descriptionFactory']['registerDescriptionCallback'](_0x1ae520=>{if('formatBlock'!=_0x1ae520['type']&&'formatInline'!=_0x1ae520['type'])return;const {data:_0x3a99c2}=_0x1ae520;return _0x3a99c2?'splitTableCellVertically'==_0x3a99c2['commandName']?{'type':'format','content':Cy(_0x324071,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x3a99c2['commandName']?{'type':'format','content':Cy(_0x324071,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x33d6ee=_0x38ed34['_acceptFormatSuggestionCallbackFactory']();for(const _0x38b5a2 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x4bca8d['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x38b5a2,'accept',_0x33d6ee);for(const _0x45f09c of['splitTableCellVertically','splitTableCellHorizontally'])_0x4bca8d['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x45f09c,'accept',_0x33d6ee);_0x4bca8d['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x44af7e=>{_0x3e25ca['model']['change'](_0x9cc390=>{const _0x3abf32=Array['from'](_0x3840bf['getRanges']())['map'](_0x3eea3=>_0x495f74['fromRange'](_0x3eea3));_0x9cc390['setSelection'](_0x44af7e),_0x3e25ca['commands']['get']('mergeTableCells')['refresh'](),_0x3e25ca['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x124dde=_0x3abf32['filter'](_0x174d26=>'$graveyard'!=_0x174d26['root']['rootName']);_0x124dde['length']>0x0&&_0x9cc390['setSelection'](_0x124dde);for(const _0x558671 of _0x3abf32)_0x558671['detach']();});});for(const _0x135dac of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x2bc02e=_0x3e25ca['commands']['get'](_0x135dac);_0x2bc02e['on']('set:isEnabled',(_0x5d7dfe,_0x1a4e1f,_0x542a45)=>{if(_0x542a45){const _0x5ee80d=_0x3e25ca['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x42fdc0=>_0x42fdc0['is']('element','tableCell'));this['_areMergableCells'](_0x2bc02e['value'],_0x5ee80d)||(_0x5d7dfe['return']=!0x1,_0x5d7dfe['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x369c67=this['editor']['commands']['get']('mergeTableCells'),_0x1a3fcc=this['editor']['plugins']['get']('TableUtils');if(!_0x369c67['isEnabled'])return!0x1;const _0x75b677=_0x1a3fcc['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x46bcae of _0x75b677)for(const _0x168052 of _0x75b677)if(_0x46bcae!=_0x168052&&!this['_areMergableCells'](_0x46bcae,_0x168052))return!0x1;return!0x0;}['_areMergableCells'](_0x9c986e,_0x5eccb2){const _0x6e58b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x26b260=this['editor']['model']['createRangeOn'](_0x9c986e),_0x775230=this['editor']['model']['createRangeOn'](_0x5eccb2),_0x52f581=new Set(),_0xa53ccd=new Set();for(const _0x12e14e of _0x6e58b['getSuggestions']())if(('insertion'==_0x12e14e['type']||'deletion'==_0x12e14e['type']||'mergeTableCells'==_0x12e14e['subType'])&&_0x12e14e['isInContent']){for(const _0x4a1316 of _0x12e14e['getRanges']())_0x4a1316['containsRange'](_0x26b260,!0x0)&&_0x52f581['add'](_0x12e14e['type']+':'+_0x12e14e['author']['id']),_0x4a1316['containsRange'](_0x775230,!0x0)&&_0xa53ccd['add'](_0x12e14e['type']+':'+_0x12e14e['author']['id']);}if(_0x52f581['size']!=_0xa53ccd['size'])return!0x1;for(const _0x36e73b of _0x52f581)if(!_0xa53ccd['has'](_0x36e73b))return!0x1;return!0x0;}}class TrackChangesTableHeadings extends _0x7cf71c{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x15de53=this['editor'];if(!_0x15de53['plugins']['has']('TableEditing'))return;const _0x11e3e1=_0x15de53['locale'],_0x4585a5=_0x15de53['plugins']['get']('TrackChangesEditing');_0x4585a5['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x4585a5['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x4585a5['descriptionFactory']['registerAttributeLabel']('headingRows',Cy(_0x11e3e1,'FORMAT_HEADER_ROW')),_0x4585a5['descriptionFactory']['registerAttributeLabel']('headingColumns',Cy(_0x11e3e1,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x318574=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1c14a0=this['editor']['plugins']['get'](TrackChangesTable)['_acceptFormatSuggestionCallbackFactory']();_0x318574['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x1c14a0),_0x318574['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x1c14a0),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x4e9d34=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3ea39e=this['editor']['plugins']['get']('TableUtils');function _0xb097d4({showActiveMarker:_0xd34836=!0x0,setDataAttribute:_0x5f07af=!0x0}={}){return(_0x8fdd63,_0x41507e,_0x4a6fda)=>{const {type:_0x1fc432,id:_0x1bce72}=xc(_0x41507e['markerName']);if(!_0x4e9d34['hasSuggestion'](_0x1bce72))return;const _0x187f1b=_0x4e9d34['getSuggestion'](_0x1bce72),_0x2d056d=_0x187f1b['data'];if('formatBlock'!=_0x187f1b['type']||!_0x2d056d||'setTableColumnHeader'!=_0x2d056d['commandName'])return;if(_0x41507e['item'])return void _0x8fdd63['stop']();if(!_0x4a6fda['consumable']['consume'](_0x41507e['markerRange'],_0x8fdd63['name']))return;const _0x545b93=_0x41507e['markerRange']['start']['nodeAfter'],_0x2426b6=_0x41507e['markerRange']['end']['nodeBefore'],_0x2cf7e=_0x545b93['parent']['parent'],{column:_0x379f99}=_0x3ea39e['getCellLocation'](_0x545b93),{column:_0x299f96}=_0x3ea39e['getCellLocation'](_0x2426b6);for(let _0x18bd0f=_0x379f99;_0x18bd0f<=_0x299f96;_0x18bd0f++){const _0x2fb878=_0x3ea39e['createTableWalker'](_0x2cf7e,{'column':_0x18bd0f,'includeAllSlots':!0x1});for(const _0x14559b of _0x2fb878){const _0x456d1b=_0x14559b['cell'],_0x32b48e=_0x4a6fda['mapper']['toViewElement'](_0x456d1b);_0x4a6fda['writer']['addClass']('ck-suggestion-marker-'+_0x1fc432,_0x32b48e),_0x5f07af&&_0x4a6fda['writer']['setAttribute']('data-suggestion',_0x1bce72,_0x32b48e),_0x4a6fda['mapper']['bindElementToMarker'](_0x32b48e,_0x41507e['markerName']),_0xd34836&&(_0x4e9d34['activeMarkers']['includes'](_0x41507e['markerName'])?_0x4a6fda['writer']['addClass']('ck-suggestion-marker--active',_0x32b48e):_0x4a6fda['writer']['removeClass']('ck-suggestion-marker--active',_0x32b48e));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0xb097d4(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x30fc7a,_0x5e0a02,_0x3cbb05)=>{_0x3cbb05['options']['showSuggestionHighlights']&&_0xb097d4({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x30fc7a,_0x5e0a02,_0x3cbb05);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x1b647b,_0xbc98fb,_0x4ababd)=>{const {type:_0x2944e8,id:_0x5d909b}=xc(_0xbc98fb['markerName']);if(!_0x4e9d34['hasSuggestion'](_0x5d909b))return;const _0x2153ed=_0x4e9d34['getSuggestion'](_0x5d909b),_0x104da3=_0x2153ed['data'];if('formatBlock'!=_0x2153ed['type']||!_0x104da3||'setTableColumnHeader'!=_0x104da3['commandName'])return;const _0xf1a3a8=_0x4ababd['mapper']['markerNameToElements'](_0xbc98fb['markerName']);if(_0xf1a3a8){for(const _0xd1e7b8 of _0xf1a3a8)_0x4ababd['writer']['removeClass']('ck-suggestion-marker-'+_0x2944e8,_0xd1e7b8),_0x4ababd['writer']['removeClass']('ck-suggestion-marker--active',_0xd1e7b8),_0x4ababd['writer']['removeAttribute']('data-suggestion',_0xd1e7b8),_0x4ababd['mapper']['unbindElementFromMarkerName'](_0xd1e7b8,_0xbc98fb['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x4a5353=this['editor'],_0x33dc85=_0x4a5353['locale'];function _0x13a0b5(_0x5bd1b1){return{'type':'format','content':Cy(_0x33dc85,'*Format:*\x20%0',_0x5bd1b1)};}_0x4a5353['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4ead98=>{if('formatBlock'!=_0x4ead98['type'])return;const {data:_0x15796d}=_0x4ead98;if(_0x15796d){if('setTableRowHeader'==_0x15796d['commandName']){const _0x3b01f6=_0x15796d['commandParams'][0x0]['forceValue'];return _0x13a0b5(Cy(_0x33dc85,_0x3b01f6?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x15796d['commandName']){const _0x353327=_0x15796d['commandParams'][0x0]['forceValue'];return _0x13a0b5(Cy(_0x33dc85,_0x353327?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableFooters extends _0x7cf71c{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x6758cd=this['editor'];if(!_0x6758cd['plugins']['has']('TableEditing')||!_0x6758cd['config']['get']('table.enableFooters'))return;const _0x23d5bd=_0x6758cd['locale'],_0x32c5c9=_0x6758cd['plugins']['get']('TrackChangesEditing');_0x32c5c9['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x32c5c9['descriptionFactory']['registerAttributeLabel']('footerRows',Cy(_0x23d5bd,'FORMAT_FOOTER_ROW'));}}class TrackChangesTableLayout extends _0x7cf71c{['afterInit'](){const _0x420977=this['editor'],_0x3efb6c=_0x420977['locale'],_0x248f53=_0x420977['plugins']['get']('TrackChangesEditing');function _0x18ca97(_0x37684c){return{'type':'format','content':''+Cy(_0x3efb6c,'*Set\x20table\x20type:*\x20%0',_0x37684c)};}_0x420977['plugins']['has']('TableLayout')&&(_0x248f53['enableCommand']('insertTableLayout'),_0x248f53['enableDefaultAttributesIntegration']('tableType'),_0x248f53['descriptionFactory']['registerElementLabel'](_0x1e21e5=>_0x1e21e5['is']('element','table')&&'layout'===_0x1e21e5['getAttribute']('tableType'),_0x1c5af6=>Cy(_0x3efb6c,'ELEMENT_LAYOUT_TABLE',_0x1c5af6)),_0x248f53['descriptionFactory']['registerDescriptionCallback'](_0x31bbf7=>{const {data:_0x21fee1}=_0x31bbf7;if(_0x21fee1&&'tableType'==_0x21fee1['key'])switch(_0x21fee1['newValue']){case'layout':return _0x18ca97(Cy(_0x3efb6c,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x18ca97(Cy(_0x3efb6c,'ELEMENT_CONTENT_TABLE'));}}));}}const By=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],jy=/* #__PURE__ -- @preserve */
Object['fromEntries'](By['map'](_0x55f35b=>[_0x55f35b,null]));class TrackChangesTableClipboard extends _0x7cf71c{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x4044d0=this['editor'];if(!_0x4044d0['plugins']['has']('TableClipboard'))return;const _0x13e0e2=_0x4044d0['plugins']['get']('TrackChangesEditing'),_0x7fce50=_0x4044d0['plugins']['get']('TableUtils'),_0x2d2cb6=_0x4044d0['plugins']['get'](TrackChangesTable),_0xf3a310=_0x4044d0['plugins']['get']('TableClipboard'),_0x194712=_0x4044d0['plugins']['get']('TableSelection'),_0x2a7b87=_0x4044d0['plugins']['get'](_0xfaf27a);_0x2d2cb6['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x4044d0['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x4044d0['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x5711e6=null,_0x26a509=!0x1;_0x2a7b87['on']('contentInsertion',(_0x1519fd,_0x433ded)=>{_0x26a509='paste'===_0x433ded['method'];}),_0x4044d0['model']['on']('insertContent',(_0xb96fcc,_0x3adf5f)=>{if(!_0x26a509&&null===_0x194712['getSelectedTableCells']())return;const [_0x546904,_0x1e1c0c]=_0x3adf5f,_0xa05304=_0x3adf5f[_0x3adf5f['length']-0x1];_0xa05304&&_0xa05304['forceDefaultExecution']||_0x13e0e2['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x4526ed,_0xe554d4,_0x3a9fa9,_0x4dc6d9,_0x5bf141){if(_0xe554d4&&!_0xe554d4['is']('documentSelection'))return!0x1;const _0x2171db=_0x5bf141['getTableIfOnlyTableInContent'](_0x4526ed,_0x3a9fa9);if(!_0x2171db||!Hy(_0x2171db,void 0x0,_0x4dc6d9))return!0x1;const _0x1d2ad8=_0x4dc6d9['getSelectionAffectedTableCells'](_0x3a9fa9['document']['selection']);if(!_0x1d2ad8['length'])return!0x1;const _0x5998fb=_0x1d2ad8[0x0]['findAncestor']('table'),_0x28ba76=_0x4dc6d9['getRowIndexes'](_0x1d2ad8),_0xaf19a3=_0x4dc6d9['getColumnIndexes'](_0x1d2ad8),_0x59d42a={'startRow':_0x28ba76['first'],'endRow':_0x28ba76['last'],'startColumn':_0xaf19a3['first'],'endColumn':_0xaf19a3['last']};return 0x1==_0x1d2ad8['length']&&(_0x59d42a['endRow']+=_0x4dc6d9['getRows'](_0x2171db)-0x1,_0x59d42a['endColumn']+=_0x4dc6d9['getColumns'](_0x2171db)-0x1),Hy(_0x5998fb,_0x59d42a,_0x4dc6d9);}(_0x546904,_0x1e1c0c,_0x4044d0['model'],_0x7fce50,_0xf3a310)&&(_0xb96fcc['stop'](),_0x5711e6={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4044d0['model']['change'](()=>{_0x4044d0['model']['insertContent'](_0x3adf5f[0x0],_0x3adf5f[0x1],_0x3adf5f[0x2],{'forceDefaultExecution':!0x0});const _0x4f29ee=_0x462bc0(),{rowInsertionRanges:_0x20a8aa,columnInsertionRanges:_0x1eb2ab,insertionRanges:_0x4ca774,deletionRanges:_0x482608,cells:_0x21bd2b}=_0x5711e6;_0x20a8aa['length']&&_0x13e0e2['markMultiRangeInsertion'](_0x20a8aa,'tablePasteRow',{'tablePasteChainId':_0x4f29ee}),_0x1eb2ab['length']&&_0x13e0e2['markMultiRangeInsertion'](_0x1eb2ab,'tablePasteColumn',{'tablePasteChainId':_0x4f29ee}),_0x4ca774['length']&&(_0x13e0e2['markMultiRangeInsertion'](_0x4ca774,'tablePaste',{'tablePasteChainId':_0x4f29ee,'skipNestingCheck':!0x0}),_0x4ca774['forEach'](_0x521e49=>_0x521e49['detach']?.())),_0x482608['length']&&(_0x13e0e2['markMultiRangeDeletion'](_0x482608,'tablePaste',{'tablePasteChainId':_0x4f29ee,'skipNestingCheck':!0x0}),_0x482608['forEach'](_0x3eb36e=>_0x3eb36e['detach']?.()));const _0x518ca7=_0x13e0e2['markMultiRangeBlockFormat'](_0x21bd2b['map'](({element:_0x2153d6})=>_0x2153d6),{'formatGroupId':_0x462bc0()},[],'tablePasteCell',{'tablePasteChainId':_0x4f29ee});if(_0x518ca7){const _0xe96c9f=_0x518ca7['getMarkers'](),_0xcea89a=[];for(const {element:_0x272763,attributes:_0x12f6ad}of _0x21bd2b){if(!_0x12f6ad)continue;const _0xbf6039=_0x4044d0['model']['createRangeOn'](_0x272763),_0x93ce7b=_0xe96c9f['find'](_0x53b793=>_0x53b793['getRange']()['isEqual'](_0xbf6039));_0x93ce7b&&_0xcea89a['push']([_0x93ce7b['name'],_0x12f6ad]);}_0xcea89a['length']&&_0x518ca7['setAttribute']('markerAttributes',Object['fromEntries'](_0xcea89a));}_0x5711e6=null;}));},{'priority':_0x387442['high']+0xa}),_0x2a7b87['on']('contentInsertion',()=>{_0x26a509=!0x1;},{'priority':'lowest'}),_0x4044d0['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x375570,_0x5bbcc8)=>{const [_0x3adf37,_0x4c75a9,,_0x3299e7]=_0x5bbcc8;if(!_0x5711e6)return;_0x375570['stop']();const _0x37ecd0=_0x3adf37['cell'],_0x3198c6=_0x4c75a9,_0x2b0c30=Fy(_0x37ecd0),_0x50de8b=Fy(_0x3198c6);_0x375570['return']=_0x37ecd0;let _0x404e8b=null,_0x187b5b=null;if(_0x50de8b||_0x2b0c30){if(_0x2b0c30&&!_0x50de8b){_0x3299e7['remove'](_0x37ecd0['getChild'](0x0));for(const _0xf68c4d of Array['from'](_0x3198c6['getChildren']()))_0x3299e7['insert'](_0xf68c4d,_0x37ecd0,'end');const _0x141a3e=_0x5711e6['rowInsertionIndexes']['includes'](_0x3adf37['row']),_0x69dad1=_0x5711e6['columnInsertionIndexes']['includes'](_0x3adf37['column']);_0x141a3e||_0x69dad1||(_0x404e8b=_0x495f74['fromRange'](_0x3299e7['createRangeIn'](_0x37ecd0)));}else _0x50de8b&&!_0x2b0c30&&(_0x187b5b=_0x3299e7['createRangeIn'](_0x37ecd0));}else{const _0x17b327=_0x3299e7['createElement']('tableCellSuggestion'),_0x43e61e=_0x3299e7['createElement']('tableCellSuggestion');_0x3299e7['wrap'](_0x3299e7['createRangeIn'](_0x37ecd0),_0x43e61e),_0x3299e7['insert'](_0x17b327,_0x37ecd0,0x0);for(const _0x36933a of Array['from'](_0x3198c6['getChildren']()))_0x3299e7['insert'](_0x36933a,_0x17b327,'end');_0x404e8b=_0x495f74['fromRange'](_0x3299e7['createRangeOn'](_0x17b327)),_0x187b5b=_0x495f74['fromRange'](_0x3299e7['createRangeOn'](_0x43e61e));}const _0x3195ba=Array['from'](_0x3198c6['getAttributes']())['filter'](([_0x270733])=>By['includes'](_0x270733));_0x5711e6['cells']['push']({'element':_0x37ecd0,'attributes':_0x3195ba['length']?Object['fromEntries'](_0x3195ba):null}),_0x404e8b&&_0x5711e6['insertionRanges']['push'](_0x404e8b),_0x187b5b&&_0x5711e6['deletionRanges']['push'](_0x187b5b);},{'priority':'high'}),_0x7fce50['on']('insertColumns',(_0x192b70,_0x37c0e6)=>{const [_0x1d5425,_0x49a5e9={}]=_0x37c0e6;if(!_0x5711e6)return;const _0x477cdc=_0x49a5e9['at']||0x0,_0x3c507e=_0x49a5e9['columns']||0x1;_0x5711e6['columnInsertionIndexes']=new Array(_0x3c507e)['fill'](_0x477cdc)['map']((_0x58d005,_0x2ff15f)=>_0x58d005+_0x2ff15f);for(const {cell:_0x39e547}of _0x7fce50['createTableWalker'](_0x1d5425,{'startColumn':_0x477cdc,'endColumn':_0x477cdc+_0x3c507e-0x1}))_0x5711e6['columnInsertionRanges']['push'](_0x4044d0['model']['createRangeOn'](_0x39e547));},{'priority':'low'}),_0x7fce50['on']('insertRows',(_0x4fa804,_0x271b7d)=>{const [_0x5e7d31,_0x527e39={}]=_0x271b7d;if(!_0x5711e6)return;const _0x7e9126=_0x527e39['at']||0x0,_0x4597e8=_0x527e39['rows']||0x1;_0x5711e6['rowInsertionIndexes']=new Array(_0x4597e8)['fill'](_0x7e9126)['map']((_0x5b2c3d,_0x30f765)=>_0x5b2c3d+_0x30f765);for(const {cell:_0x10a79f}of _0x7fce50['createTableWalker'](_0x5e7d31,{'startRow':_0x7e9126,'endRow':_0x7e9126+_0x4597e8-0x1}))_0x5711e6['rowInsertionRanges']['push'](_0x4044d0['model']['createRangeOn'](_0x10a79f));},{'priority':'low'}),_0x13e0e2['descriptionFactory']['registerDescriptionCallback'](_0xaa1256=>{if(_0xaa1256['subType']&&_0xaa1256['subType']['startsWith']('tablePaste'))return _0xaa1256['previous']?{}:{'type':'insertion','content':Cy(_0x4044d0['locale'],'*Replace\x20table\x20cells*')};});const _0x31d57e=()=>!0x1;for(const _0x541a9e of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x13e0e2['_suggestionFactory']['registerCustomCallback']('insertion',_0x541a9e,'join',_0x31d57e),_0x13e0e2['_suggestionFactory']['registerCustomCallback']('deletion',_0x541a9e,'join',_0x31d57e),_0x13e0e2['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x541a9e,'join',_0x31d57e);_0x13e0e2['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x31d57e),_0x13e0e2['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x10759d,_0x5df818,_0x33b862)=>{const _0x9128a2=_0x10759d['map'](_0x440e19=>_0x440e19['getContainedElement']())['filter'](_0x560f1b=>_0x560f1b),_0x423cb6=new Map(_0x9128a2['map'](_0x10de80=>[_0x10de80,null]));if(_0x5711e6){for(const {element:_0x4c2e02,attributes:_0x4e888a}of _0x5711e6['cells'])_0x4e888a&&_0x423cb6['set'](_0x4c2e02,_0x4e888a);}else{if(_0x33b862&&_0x33b862['markerAttributes'])for(const [_0x27dd5b,_0x56dcb8]of Object['entries'](_0x33b862['markerAttributes'])){const _0x49dc61=_0x4044d0['model']['markers']['get'](_0x27dd5b),_0x8a5177=_0x49dc61?_0x49dc61['getRange']()['getContainedElement']():null;_0x8a5177&&_0x423cb6['set'](_0x8a5177,_0x56dcb8);}}_0x4044d0['model']['change'](_0x38f2bf=>{for(const [_0x520859,_0x1b3202]of _0x423cb6)_0x38f2bf['setAttributes']({...jy,..._0x1b3202},_0x520859);});});const _0x10055e=(_0x17256c,_0x2dbe4d)=>{_0x13e0e2['_suggestionFactory']['registerCustomCallback'](_0x17256c,'tablePaste',_0x2dbe4d,(_0x332c26,_0x13638a,_0x2635fb)=>{_0x4044d0['model']['change'](_0x1adc45=>{const _0xb888b8=[];for(const _0x43e62f of _0x332c26){const _0x2acaf4=_0x43e62f['start']['nodeAfter'];_0x2acaf4['is']('element','tableCellSuggestion')&&_0xb888b8['push'](_0x2acaf4);}_0x13e0e2['_suggestionFactory']['getSuggestionCallback'](_0x17256c,null,_0x2dbe4d)(_0x332c26,_0x13638a,_0x2635fb);for(const _0x559468 of _0xb888b8)'$graveyard'!=_0x559468['root']['rootName']&&_0x1adc45['unwrap'](_0x559468);});});};_0x10055e('insertion','accept'),_0x10055e('insertion','discard'),_0x10055e('deletion','accept'),_0x10055e('deletion','discard'),_0x13e0e2['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x390efd=>{const _0x43b050=_0x390efd['map'](_0x6e1424=>_0x6e1424['getContainedElement']()),_0x4c5ec2=_0x43b050[0x0]['findAncestor']('table'),{minRow:_0x3d41e4,maxRow:_0x17f03e}=_0x2d2cb6['_getCoordsForCells'](_0x43b050);_0x7fce50['removeRows'](_0x4c5ec2,{'at':_0x3d41e4,'rows':_0x17f03e-_0x3d41e4+0x1});}),_0x13e0e2['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x5470a8=>{const _0x165e3d=_0x5470a8['map'](_0x1bacba=>_0x1bacba['getContainedElement']()),_0x3be12d=_0x165e3d[0x0]['findAncestor']('table'),{minColumn:_0x3d2bb0,maxColumn:_0x3cdb95}=_0x2d2cb6['_getCoordsForCells'](_0x165e3d);_0x7fce50['removeColumns'](_0x3be12d,{'at':_0x3d2bb0,'columns':_0x3cdb95-_0x3d2bb0+0x1});});const _0x19f1bd=(_0x658d54,_0x4a0323)=>{if(!_0x4a0323['subType']||!_0x4a0323['subType']['startsWith']('tablePaste'))return;const _0x329f9c=_0x4a0323['attributes']['tablePasteChainId'],_0x3ab074=_0x13e0e2['getSuggestions']()['filter'](_0xc595c9=>_0xc595c9['isInContent']&&_0xc595c9['attributes']&&_0xc595c9['attributes']['tablePasteChainId']==_0x329f9c);_0x3ab074['length']&&_0x4a0323['getAllAdjacentSuggestions']()['length']!=_0x3ab074['length']&&_0x3ab074['reduce']((_0xf5c330,_0x28baee)=>(_0xf5c330['next']=_0x28baee,_0x28baee['previous']=_0xf5c330,_0x28baee));};function _0x1a1129(_0xc30185,_0x5a8d41=!0x0){const {id:_0x34b317,authorId:_0x340fb7}=xc(_0xc30185['markerName']),_0x16a73e=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x48dad4=_0x13e0e2['activeMarkers']['includes'](_0xc30185['markerName']);return _0x48dad4&&_0x16a73e['push']('ck-suggestion-marker--active'),{'classes':_0x16a73e,'attributes':{'data-suggestion':_0x34b317,'data-author-id':_0x340fb7},'priority':_0x48dad4&&_0x5a8d41?0xbc2:0xbb8};}_0x13e0e2['on']('suggestionLoaded',_0x19f1bd,{'priority':'high'}),_0x13e0e2['on']('suggestionUnloaded',_0x19f1bd,{'priority':'high'}),_0x4044d0['model']['document']['registerPostFixer'](()=>{let _0x383228=!0x1;const _0x42b450=Array['from'](_0x4044d0['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x131c83,data:_0x55da86}of _0x42b450){const {group:_0x2b4f6d,type:_0x2fab37,id:_0x5d7a8b}=xc(_0x131c83);if('suggestion'!=_0x2b4f6d||'deletion'!=_0x2fab37||_0x55da86['oldRange'])continue;if(!_0x13e0e2['hasSuggestion'](_0x5d7a8b))continue;const _0x1face9=_0x13e0e2['getSuggestion'](_0x5d7a8b)['getRanges'](),_0x2d1a28=_0x4044d0['plugins']['get']('Users')['me'];for(const _0x5afbce of _0x13e0e2['getSuggestions']()){if(!_0x5afbce['isInContent']||_0x5afbce['author']!=_0x2d1a28)continue;if('formatBlock'!=_0x5afbce['type']||'tablePasteCell'!=_0x5afbce['subType'])continue;if(_0x5afbce['getRanges']()['every'](_0x3a1409=>_0x1face9['some'](_0x3d1524=>_0x3d1524['containsRange'](_0x3a1409,!0x0)))){for(const _0x5829c2 of _0x5afbce['getAllAdjacentSuggestions']())_0x5829c2['isInContent']&&(_0x5829c2['discard'](),_0x383228=!0x0);}}}return _0x383228;}),_0x4044d0['model']['document']['registerPostFixer'](_0x33138a=>{const _0x24efbc=_0x4044d0['commands']['get']('redo');if(!_0x24efbc||!_0x24efbc['_createdBatches']['has'](_0x33138a['batch']))return!0x1;let _0x34195d=!0x1;const _0x5986cb=_0x4044d0['plugins']['get']('Users')['me'],_0xd02031=_0x4044d0['model']['document']['differ']['getChanges'](),_0x2ef488=Array['from'](_0x4044d0['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x5f38c7,data:_0x1c7a43})=>{const {group:_0x4bb98a,subType:_0x3bd41c,authorId:_0x2a4f8e}=xc(_0x5f38c7);return'suggestion'==_0x4bb98a&&'tablePaste'==_0x3bd41c&&_0x2a4f8e==_0x5986cb['id']&&!_0x1c7a43['oldRange'];});for(const _0x3bd5a1 of _0xd02031){if('insert'!=_0x3bd5a1['type']||'tableCellSuggestion'!=_0x3bd5a1['name']||0x1!=_0x3bd5a1['length'])continue;const _0x3e4746=_0x33138a['createRange'](_0x3bd5a1['position'],_0x3bd5a1['position']['getShiftedBy'](0x1)),_0x3ef59c=_0x2ef488['find'](({data:_0x2390fe})=>_0x2390fe['newRange']['isEqual'](_0x3e4746));if(!_0x3ef59c){for(const {name:_0x224bd4,data:_0x2cda9e}of _0x2ef488)if(_0x3e4746['containsRange'](_0x2cda9e['newRange'])){_0x33138a['updateMarker'](_0x224bd4,{'range':_0x3e4746}),_0x34195d=!0x0;break;}}}return _0x34195d;}),_0x4044d0['model']['document']['registerPostFixer'](_0x5361f5=>{let _0x529cce=!0x1;const _0xf1ccf4=_0x4044d0['plugins']['get']('Users')['me'],_0x2361de=_0x13e0e2['getSuggestions']()['filter'](_0x243ebc=>_0x243ebc['isInContent']&&_0x243ebc['author']==_0xf1ccf4),_0x2e24c3=new Set(),_0x511645=new Set();for(const _0x3a1a5a of _0x2361de)if('tablePaste'==_0x3a1a5a['subType'])for(const _0x58cb9f of _0x3a1a5a['getMarkers']()){const _0x38261f=_0x58cb9f['getRange']()['getContainedElement']();if(_0x38261f){if(_0x38261f['is']('element','tableCellSuggestion')&&Fy(_0x38261f)){_0x3a1a5a['removeMarker'](_0x58cb9f['name']),_0x2e24c3['add'](_0x38261f),_0x529cce=!0x0;const _0x14337f=_0x38261f['nextSibling'],_0x5605c8=_0x38261f['previousSibling'],_0x2b288b=_0x14337f&&_0x14337f['is']('element','tableCellSuggestion'),_0x5a5729=_0x5605c8&&_0x5605c8['is']('element','tableCellSuggestion');_0x2b288b&&!_0x2e24c3['has'](_0x14337f)&&_0x511645['add'](_0x14337f),_0x5a5729&&!_0x2e24c3['has'](_0x5605c8)&&_0x511645['add'](_0x5605c8);}else _0x38261f['is']('element','paragraph')&&_0x38261f['isEmpty']&&(_0x3a1a5a['removeMarker'](_0x58cb9f['name']),_0x529cce=!0x0);}}else{if('tablePasteCell'==_0x3a1a5a['subType']){if(!_0x3a1a5a['attributes']||!_0x3a1a5a['attributes']['tablePasteChainId'])continue;const _0xaeecba=_0x3a1a5a['attributes']['markerAttributes'];if(_0xaeecba&&Object['keys'](_0xaeecba)['length'])continue;const _0x84fb4a=_0x3a1a5a['attributes']['tablePasteChainId'];let _0x54e290=!0x0,_0x287988=!0x0;for(const _0xbf09b0 of _0x2361de)if(_0xbf09b0['subType']&&_0xbf09b0['subType']['startsWith']('tablePaste')){if(!_0xbf09b0['attributes']['tablePasteChainId']){_0x287988=!0x1;break;}if(_0xbf09b0['id']!=_0x3a1a5a['id']&&_0xbf09b0['attributes']['tablePasteChainId']==_0x84fb4a){_0x54e290=!0x1;break;}}_0x287988&&_0x54e290&&(_0x3a1a5a['removeMarkers'](),_0x529cce=!0x0);}}for(const _0x4dc1d2 of _0x2e24c3)_0x5361f5['remove'](_0x4dc1d2);for(const _0x326bdd of _0x511645)_0x5361f5['unwrap'](_0x326bdd);return _0x529cce;}),_0x4044d0['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x2ce78b=>_0x1a1129(_0x2ce78b),'converterPriority':'high'}),_0x4044d0['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5be4a0,_0x83f810)=>_0x83f810['options']['showSuggestionHighlights']?_0x1a1129(_0x5be4a0,!0x1):null,'converterPriority':'high'});const _0x5322af=_0x4044d0['editing']['view'];this['listenTo'](_0x5322af['document'],'clipboardOutput',(_0x4f6c15,_0x4e98ae)=>{const _0x3a4c55=[];for(const _0xc8b88c of _0x5322af['createRangeIn'](_0x4e98ae['content'])['getItems']())_0xc8b88c['is']('element','suggestion-td')&&_0x3a4c55['push'](_0xc8b88c);_0x5322af['change'](_0x390f91=>{for(const _0x4471ed of _0x3a4c55)_0x390f91['move'](_0x390f91['createRangeIn'](_0x4471ed),_0x390f91['createPositionBefore'](_0x4471ed)),_0x390f91['remove'](_0x4471ed);});});}}function Fy(_0x108162){if(_0x108162['isEmpty'])return!0x0;const _0x35f706=_0x108162['getChild'](0x0);return _0x35f706['is']('element','paragraph')&&_0x35f706['isEmpty'];}function Hy(_0x52a3cf,_0x1292f9={},_0xc9f396){for(const {isAnchor:_0x40961c,cellHeight:_0x3105ec,cellWidth:_0x561793}of _0xc9f396['createTableWalker'](_0x52a3cf,{'includeAllSlots':!0x0,..._0x1292f9}))if(!_0x40961c||0x1!=_0x3105ec||0x1!=_0x561793)return!0x1;return!0x0;}class TrackChangesTableColumnResize extends _0x7cf71c{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x300a8f=this['editor']['plugins']['get']('TrackChangesEditing');_0x300a8f['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x300a8f['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x300a8f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x300a8f['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x300a8f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x300a8f['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x4fe91d,_0x3389a0){const _0x5a20fb=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4dbd62=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0xedc32=_0x3389a0['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x33ccd4=_0x4dbd62['getColumnGroupElement'](_0xedc32);let _0x1dfe24=_0x33ccd4?_0x4dbd62['getTableColumnsWidths'](_0x33ccd4):null,_0x50e3de=_0xedc32['getAttribute']('tableWidth')||null;const _0x42142e=_0x3389a0['tableWidth']||_0x50e3de,_0x3b45a4=_0x3389a0['columnWidths']||_0x1dfe24,_0xc6e0b8=this['editor']['plugins']['get']('Users')['me'];for(const _0x49da1b of _0x5a20fb['getSuggestions']()){const _0x2e21a3=_0x49da1b['getContainedElement']();if('resizeTable'===_0x49da1b['subType']&&_0x2e21a3===_0xedc32){_0x49da1b['author']!==_0xc6e0b8&&_0x49da1b['discard']();const _0x52f628=_0x49da1b['data']['commandParams'];_0x50e3de=_0x52f628[0x0]['tableWidth'],_0x1dfe24=_0x52f628[0x0]['columnWidths'];break;}}_0x4fe91d({'table':_0xedc32,'tableWidth':_0x42142e,'columnWidths':_0x3b45a4}),_0x5a20fb['markBlockFormat'](_0xedc32,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x50e3de,'columnWidths':_0x1dfe24}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x5ac3bf){if('formatBlock'!=_0x5ac3bf['type']&&'formatInline'!=_0x5ac3bf['type'])return;const {data:_0xef97}=_0x5ac3bf;if(_0xef97&&'resizeTable'===_0xef97['formatGroupId']){const _0x359f57='*Format:*\x20resize\x20table';return{'type':'format','content':Cy(this['editor']['locale'],_0x359f57)};}}}class TrackChangesTemplate extends _0x7cf71c{['afterInit'](){const _0x149a87=this['editor'];_0x149a87['plugins']['has']('Template')&&_0x149a87['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x7cf71c{['afterInit'](){const _0x49af04=this['editor'];if(!_0x49af04['commands']['get']('insertTableOfContents'))return;_0x49af04['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x25fd20=_0x49af04['plugins']['get']('TrackChangesEditing'),_0x256401=_0x49af04['locale'];_0x25fd20['descriptionFactory']['registerElementLabel']('tableOfContents',_0xf1f4fe=>Cy(_0x256401,'ELEMENT_TABLE_OF_CONTENTS',_0xf1f4fe));}}class TrackChangesTitle extends _0x7cf71c{['afterInit'](){const _0x171c1b=this['editor'];if(!_0x171c1b['plugins']['has']('Title'))return;_0x171c1b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>Cy(_0x171c1b['locale'],'ELEMENT_TITLE')),_0x171c1b['model']['document']['registerPostFixer'](_0x416fe3=>{let _0x4d3a0f=!0x1;const _0x48b7ac=Array['from'](_0x171c1b['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x288671,data:_0x43e669}of _0x48b7ac){const {group:_0x5a3579}=xc(_0x288671);if('suggestion'!==_0x5a3579||!_0x43e669['newRange'])continue;const _0x21468d=_0x43e669['newRange'],_0x135792=_0x21468d['end']['nodeBefore'];if(!_0x135792||!_0x135792['is']('element','title-content'))continue;if(!_0x21468d['start']['isTouching'](_0x21468d['end']))continue;const _0x4c49d5=_0x171c1b['model']['schema']['getNearestSelectionRange'](_0x21468d['end'],'forward');if(_0x4c49d5&&_0x4c49d5['isCollapsed']){const _0x5c131b=_0x416fe3['createRange'](_0x21468d['start'],_0x4c49d5['start']);_0x5c131b['isEqual'](_0x21468d)||(_0x416fe3['updateMarker'](_0x288671,{'range':_0x5c131b}),_0x4d3a0f=!0x0);}_0x4d3a0f||(_0x416fe3['removeMarker'](_0x288671),_0x4d3a0f=!0x0);}return _0x4d3a0f;});}}class TrackChangesUploadcare extends _0x7cf71c{['afterInit'](){const _0x3100d6=this['editor'],_0xda276e=_0x3100d6['plugins']['get']('TrackChangesEditing');_0x3100d6['plugins']['has']('Uploadcare')&&(_0xda276e['enableCommand']('uploadcare'),_0x3100d6['plugins']['has']('UploadcareImageEdit')&&(_0xda276e['enableCommand']('uploadcareImageEdit'),_0xda276e['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0xda276e['descriptionFactory']['registerDescriptionCallback'](_0x388ad8=>{if('attribute'!=_0x388ad8['type'])return;const {data:_0x2882ea}=_0x388ad8;return _0x2882ea&&'uploadcareImageId'==_0x2882ea['key']?{'type':'format','content':''}:void 0x0;})));}}class TrackChangesUndo extends _0x7cf71c{['afterInit'](){const _0x5a2a50=this['editor'],_0x345c87=_0x5a2a50['plugins']['get']('TrackChangesEditing');_0x5a2a50['plugins']['has']('UndoEditing')&&(_0x345c87['enableCommand']('undo'),_0x345c87['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x7cf71c{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x448b50=this['editor'];if(!_0x448b50['plugins']['has']('TableCaptionEditing'))return;_0x448b50['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x7cf71c{['tableProperties'];['tableCellProperties'];constructor(_0x6512d2){super(_0x6512d2),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellType'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5b8366=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x19df5b of this['tableProperties'])_0x5b8366['enableCommand'](_0x19df5b,(_0x11b7cf,_0x45ccf2)=>{const _0x4578df=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x19df5b,[_0x4578df],this['tableProperties'],'tableProperties',_0x11b7cf,_0x45ccf2);});_0x5b8366['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x5b8366['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x5b8366['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x4201d0,_0x3878cf)=>this['handleDiscardAction'](this['tableProperties'],_0x4201d0,_0x3878cf)),_0x5b8366['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x2eac65 of this['tableCellProperties'])this['editor']['commands']['get'](_0x2eac65)&&_0x5b8366['enableCommand'](_0x2eac65,(_0x407e38,_0x2865f5)=>{const _0x17541c=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x2eac65,_0x17541c,this['tableCellProperties'],'tableCellProperties',_0x407e38,_0x2865f5);});_0x5b8366['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x5b8366['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x5b8366['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x2048db,_0x568fae)=>this['handleDiscardAction'](this['tableCellProperties'],_0x2048db,_0x568fae)),_0x5b8366['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5b8366['descriptionFactory']['registerAttributeLabel']('tableCellType',Cy(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x5b8366['descriptionFactory']['registerDescriptionCallback'](_0x12c6cf=>this['handleSuggestionDescription'](_0x12c6cf)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x409a62,_0x11bb62,_0x14c7d0,_0xc0eece,_0x253353,_0x48211a){const _0x462c1d=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x48211a['batch'],()=>{for(const _0x267399 of _0x11bb62){if(this['_getSuggestion'](_0x267399,_0xc0eece))_0x253353(_0x48211a);else{const _0x38588e={};for(const _0x58ceeb of _0x14c7d0){const _0x24e46e=_0x267399['getAttribute'](_0x58ceeb);void 0x0!==_0x24e46e&&(_0x38588e[_0x58ceeb]=_0x24e46e);}_0x253353(_0x48211a),_0x462c1d['markBlockFormat'](_0x267399,{'commandParams':[_0x38588e]},[],_0xc0eece);}}});}['handleDiscardAction'](_0x5161f1,_0x290962,_0x1fbf08){const _0xf0135a=_0x290962[0x0]['start']['nodeAfter'],_0x23f1a5=_0x1fbf08['commandParams'][0x0];this['editor']['model']['change'](_0x1f58e9=>{for(const _0x1bb84e of _0x5161f1)void 0x0!==_0x23f1a5[_0x1bb84e]?_0x1f58e9['setAttribute'](_0x1bb84e,_0x23f1a5[_0x1bb84e],_0xf0135a):_0x1f58e9['removeAttribute'](_0x1bb84e,_0xf0135a);});}['handleSuggestionDescription'](_0x40e3fd){if(_0x40e3fd['data'])switch(_0x40e3fd['subType']){case'tableProperties':return{'type':'format','content':Cy(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':Cy(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x22e808,_0x19b31f){const _0x33ac1f=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x1d0504 of _0x33ac1f['getSuggestions']({'skipNotAttached':!0x0})){const _0x53b21a=_0x1d0504['getContainedElement']();if(_0x1d0504['subType']===_0x19b31f&&_0x53b21a===_0x22e808)return _0x1d0504;}return null;}['_registerTablePropertiesAttributes'](){const _0x56ae7c=this['editor']['plugins']['get']('TrackChangesEditing'),_0x141a03=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x439bf2 of _0x141a03){const _0x3f2a8d=_0x439bf2['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x56ae7c['descriptionFactory']['registerAttributeLabel'](_0x439bf2,Cy(this['editor']['locale'],'FORMAT_'+_0x3f2a8d));}}}class TrackChangesLineHeight extends _0x7cf71c{['afterInit'](){const _0x35f429=this['editor'];if(!_0x35f429['plugins']['has']('LineHeight'))return;const _0x4c4ae7=_0x35f429['plugins']['get']('TrackChangesEditing'),_0x7b1e8f=_0x35f429['locale'];_0x4c4ae7['enableDefaultAttributesIntegration']('lineHeight'),_0x4c4ae7['descriptionFactory']['registerAttributeLabel']('lineHeight',Cy(_0x7b1e8f,'FORMAT_LINE_HEIGHT'));}}const Gy='$elementName';class TrackChangesEditing extends _0x7cf71c{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[CommentsRepository,SuggestionsConversion,Users,_0x4247fd,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,TrackChangesTableFooters,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(_0x5c481f){super(_0x5c481f),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x29a1aa,_0x3230c0,_0x270d8c,_0x1dd8dd)=>{this['_model']['change'](()=>{for(const _0x4bed3b of[..._0x1dd8dd,..._0x270d8c])this['_model']['markers']['has'](_0x4bed3b)&&_0x5c481f['editing']['reconvertMarker'](_0x4bed3b);});}),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']=_0x5c481f['plugins']['get'](CommentsRepository),this['_suggestionsConversion']=_0x5c481f['plugins']['get'](SuggestionsConversion),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x5c481f['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x5c481f['config']['get']('trackChanges.trackFormatChanges'),_0x5c481f['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x5c481f['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new TrackChangesCommand(_0x5c481f,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x3562e3=this['editor'];_0x3562e3['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x14d414,{writer:_0x457a02})=>{let _0x5d5310='suggestion:'+_0x14d414['getAttribute']('suggestion-type')+':'+_0x14d414['getAttribute']('id');return _0x14d414['getAttribute']('marker-count')&&(_0x5d5310+=':'+_0x14d414['getAttribute']('marker-count')),_0x457a02['createElement']('$marker',{'data-name':_0x5d5310});}}),_0x3562e3['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x3562e3['model']['document']['registerPostFixer'](_0x533712=>{let _0x452572=!0x1;const _0x1af5e3=Array['from'](_0x3562e3['model']['document']['differ']['getChangedMarkers']()),_0x61cbec=new Set();for(const {name:_0x3e5a3c,data:_0x3939c2}of _0x1af5e3){const {group:_0x4c628b,type:_0x17e912,subType:_0x3bd0c2,id:_0x36ec67}=xc(_0x3e5a3c);if('suggestion'!==_0x4c628b)continue;const _0x2d633d=_0x3bd0c2?'suggestion:'+_0x17e912+':'+_0x3bd0c2+':'+_0x36ec67:'suggestion:'+_0x17e912+':'+_0x36ec67,_0x48cae1=_0x3562e3['model']['markers']['getMarkersGroup'](_0x2d633d),_0x45f5c2=_0x3562e3['model']['markers']['get'](_0x3e5a3c),_0xd6c8d5=this['_suggestions']['get'](_0x36ec67);if(null!=_0x3939c2['newRange']){'formatInline'==_0x17e912&&(_0x452572=_0x452572||qy(_0x3939c2['newRange'],_0x3e5a3c,_0x533712,_0x3562e3['model']['schema']));const _0x398da6='attribute'==_0x17e912&&this['_suggestionsConversion']['isBlockAttribute'](rv(_0x3bd0c2)),_0x49ca36='attribute'==_0x17e912&&this['_suggestionsConversion']['isInlineAttribute'](rv(_0x3bd0c2));if(_0x3939c2['newRange']['isCollapsed']||'$graveyard'==_0x3939c2['newRange']['root']['rootName']||'formatBlock'==_0x17e912&&!zy(_0x3939c2['newRange'])||_0x398da6&&!zy(_0x3939c2['newRange'])||_0x49ca36&&Yy(_0x3939c2['newRange'])||'deletion'==_0x17e912&&Yy(_0x3939c2['newRange'])||_0x45f5c2&&Ky(_0x45f5c2,_0x48cae1))_0x533712['removeMarker'](_0x3e5a3c),_0x452572=!0x0;else{if(!_0xd6c8d5||!_0xd6c8d5['isInContent'])continue;if(_0x3939c2['newRange']&&_0x3939c2['oldRange']&&_0x3939c2['newRange']['isEqual'](_0x3939c2['oldRange']))continue;_0x61cbec['add'](_0xd6c8d5);}}}return _0x61cbec['size']>0x0&&(_0x452572=!!this['_joinWithAdjacentSuggestions'](_0x61cbec)||_0x452572),_0x452572;}),_0x3562e3['model']['document']['registerPostFixer'](_0x2f83ab=>{let _0x26b5f2=!0x1;for(const _0x524778 of _0x3562e3['model']['document']['differ']['getChanges']())if('insert'==_0x524778['type'])for(const _0x2266ef of this['_suggestions']['values']()){if(_0x2266ef['isMultiRange']||!_0x2266ef['isInContent'])continue;const _0x378936='formatBlock'==_0x2266ef['type'],_0x2d5cc3=this['_getAttributeKey'](_0x2266ef),_0x1d3add=_0x2d5cc3&&this['_suggestionsConversion']['isBlockAttribute'](_0x2d5cc3);if(!_0x378936&&!_0x1d3add)continue;const _0x370b68=_0x2266ef['getFirstRange']();if(_0x370b68['start']['parent']!=_0x370b68['end']['parent']&&!_0x370b68['end']['isAtEnd']){const _0x3015fa=_0x3562e3['model']['createPositionAt'](_0x370b68['start']['nodeAfter'],'end'),_0x49d8ff=_0x3562e3['model']['createRange'](_0x370b68['start'],_0x3015fa);_0x2f83ab['updateMarker'](_0x2266ef['getFirstMarker'](),{'range':_0x49d8ff}),_0x26b5f2=!0x0;}}return _0x26b5f2;}),_0x3562e3['model']['document']['registerPostFixer'](_0x1442fd=>this['_processAttributeChanges'](_0x1442fd)),_0x3562e3['model']['document']['registerPostFixer'](_0x485401=>!_0x485401['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x485401)),_0x3562e3['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x3562e3['model']['document']['on']('change:data',(_0x1538e3,_0x387b10)=>{if(!_0x387b10['isLocal']||_0x387b10['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x9d4db4=_0x3562e3['model']['document']['differ']['getChanges']();if(0x0==_0x9d4db4['length'])return;const _0x33b2a5=[],_0x11dc4c=_0x9d4db4['filter'](_0x51abd5=>'attribute'==_0x51abd5['type']),_0x6e8ff1=_0x9d4db4['filter'](_0x3b8d22=>'insert'==_0x3b8d22['type']&&'$text'!=_0x3b8d22['name']);for(const _0x27bf7b of _0x11dc4c)this['_suggestionsConversion']['isRegisteredAttribute'](_0x27bf7b['attributeKey'])&&_0x33b2a5['push']({'key':_0x27bf7b['attributeKey'],'newValue':_0x27bf7b['attributeNewValue'],'oldValue':_0x27bf7b['attributeOldValue'],'range':Jy(_0x27bf7b['range'],_0x3562e3['model'])});for(const _0x26fce3 of _0x6e8ff1){if('rename'!=_0x26fce3['action']&&'refresh'!=_0x26fce3['action'])continue;const _0x5d5f0b=tv(_0x26fce3['position']['nodeAfter'],_0x3562e3['model']),_0x4c319d=_0x26fce3['before'];'rename'==_0x26fce3['action']&&_0x33b2a5['push']({'key':Gy,'newValue':_0x26fce3['name'],'oldValue':_0x4c319d['name'],'range':_0x5d5f0b});for(const [_0x888bc5,_0x36caee]of _0x4c319d['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x888bc5))continue;const _0x12f9d8=_0x26fce3['attributes']['get'](_0x888bc5);_0x36caee!==_0x12f9d8&&_0x33b2a5['push']({'key':_0x888bc5,'newValue':_0x12f9d8,'oldValue':_0x36caee,'range':_0x5d5f0b});}for(const [_0x4b4382,_0x1166b4]of _0x26fce3['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x4b4382)&&(_0x4c319d['attributes']['has'](_0x4b4382)||_0x33b2a5['push']({'key':_0x4b4382,'newValue':_0x1166b4,'oldValue':null,'range':_0x5d5f0b}));}0x0!=_0x33b2a5['length']&&_0x3562e3['model']['enqueueChange'](_0x387b10,_0x566ff7=>{const _0x20e011=_0x462bc0();for(const {range:_0x548e12,key:_0x1c47d7,oldValue:_0x1d94ee,newValue:_0x3a39f3}of _0x33b2a5)this['markAttributeChange'](_0x548e12,_0x1c47d7,_0x1d94ee,_0x3a39f3,{'groupId':_0x20e011});this['_reduceExistingSuggestions'](_0x566ff7,_0x33b2a5);});},{'priority':'lowest'}),_0x3562e3['model']['markers']['on']('update:suggestion',(_0x5cc6b7,_0x53914e,_0x54991e)=>{if(null==_0x54991e){const {id:_0x5a480f}=xc(_0x53914e['name']),_0x435a50=this['_suggestions']['get'](_0x5a480f);_0x435a50&&_0x435a50['addMarkerName'](_0x53914e['name']);}}),_0x3562e3['model']['document']['on']('change:data',()=>{const _0x3fdca4=Array['from'](_0x3562e3['model']['document']['differ']['getChangedMarkers']())['filter'](_0x53896c=>'suggestion'===xc(_0x53896c['name'])['group']);if(0x0===_0x3fdca4['length'])return;_0x3fdca4['sort']((_0x527ab1,_0x4170b1)=>{const _0x49f255=_0x527ab1['data']['oldRange'],_0x35c867=_0x4170b1['data']['oldRange'];return null===_0x49f255&&null===_0x35c867?0x0:null===_0x49f255&&null!==_0x35c867?-0x1:null!==_0x49f255&&null===_0x35c867?0x1:_0x49f255['start']['isBefore'](_0x35c867['start'])?-0x1:0x1;});const _0x4d92fe=new Set(),_0x22c4e3=new Set();for(const {name:_0x19cff2,data:_0x2c2477}of _0x3fdca4){const {id:_0x5c1026}=xc(_0x19cff2);if(null===_0x2c2477['oldRange']){const _0xb60604=this['_handleNewSuggestionMarker'](_0x19cff2);_0x22c4e3['add'](_0xb60604);}else{const _0x1c53d8=this['_suggestions']['get'](_0x5c1026);null!==_0x2c2477['newRange']||_0x1c53d8['isInContent']?(_0x4d92fe['add'](_0x1c53d8['head']),_0x22c4e3['add'](_0x1c53d8)):this['_removeSuggestion'](_0x1c53d8);}}_0x22c4e3['size']>0x0&&this['_refreshSuggestionsChain'](_0x22c4e3);for(const _0x4dbe0e of _0x4d92fe)this['fire']('suggestionChanged',_0x4dbe0e);}),_0x3562e3['model']['on']('applyOperation',(_0x526b2f,_0xf5b682)=>{const _0x2321b5=_0xf5b682[0x0];if(!this['_suggestions']['size'])return;if(!_0x2321b5['isDocumentOperation'])return;if(_0x2321b5['batch']['isUndo']||!_0x2321b5['batch']['isLocal'])return;let _0x140eed,_0x1bfffa;switch(_0x2321b5['type']){case'insert':_0x140eed=_0x3562e3['model']['createPositionAt'](_0x2321b5['position']),_0x1bfffa=_0x140eed['getShiftedBy'](_0x2321b5['howMany']);break;case'split':_0x140eed=_0x3562e3['model']['createPositionAt'](_0x2321b5['splitPosition']),_0x1bfffa=_0x3562e3['model']['createPositionAt'](_0x2321b5['moveTargetPosition']);break;case'move':_0x140eed=_0x3562e3['model']['createPositionAt'](_0x2321b5['targetPosition']),_0x1bfffa=_0x140eed['getShiftedBy'](_0x2321b5['howMany']);break;default:return;}const _0x5c2fd3=_0x3562e3['model']['createRange'](_0x140eed,_0x1bfffa);_0x3562e3['model']['change'](()=>{for(const {suggestion:_0x5d3a5e,meta:_0x2a12f8}of this['_findSuggestions'](_0x5c2fd3)){if(_0x5d3a5e['isMultiRange'])continue;if('formatInline'==_0x5d3a5e['type'])continue;const _0x585409=this['_getAttributeKey'](_0x5d3a5e);if(_0x585409&&this['_suggestionsConversion']['isBlockAttribute'](_0x585409)&&'split'!=_0x2321b5['type'])continue;const _0x2f2e29=_0x5d3a5e['data']&&_0x5d3a5e['data']['multipleBlocks'];('formatBlock'!=_0x5d3a5e['type']||'split'==_0x2321b5['type']&&!_0x2f2e29)&&(_0x2a12f8['containsRangeInObject']||'insertion'==_0x5d3a5e['type']&&_0x2a12f8['isOwn']||_0x5d3a5e['getFirstRange']()['containsRange'](_0x5c2fd3)&&this['_breakSuggestionMarker'](_0x5d3a5e,_0x140eed,_0x1bfffa));}});},{'priority':'lowest'}),_0x3562e3['model']['on']('deleteContent',(_0x4f4381,_0x20558b)=>{const _0x24812b=_0x20558b[0x0],_0x2a5b7a=_0x20558b[0x1];if(_0x2a5b7a&&_0x2a5b7a['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x24812b['isCollapsed'])return;const _0x2ef30=_0x3562e3['model']['schema'],{start:_0xf94148,end:_0x2f165f}=_0x24812b['getFirstRange'](),_0x198027=_0xf94148['nodeAfter']&&_0x2ef30['isLimit'](_0xf94148['nodeAfter'])?null:_0x2ef30['getNearestSelectionRange'](_0xf94148,'forward'),_0x25fc5c=_0x2f165f['nodeBefore']&&_0x2ef30['isLimit'](_0x2f165f['nodeBefore'])?null:_0x2ef30['getNearestSelectionRange'](_0x2f165f,'backward'),_0x353595=_0x3562e3['model']['createRange'](_0x198027?_0x198027['start']:_0xf94148,_0x25fc5c?_0x25fc5c['end']:_0x2f165f);_0x3562e3['model']['change'](_0x87a319=>{this['markDeletion'](_0x353595);const _0x5cb947=_0x3562e3['model']['schema']['getNearestSelectionRange'](_0x353595['start']);_0x24812b['is']('documentSelection')?_0x87a319['setSelection'](_0x5cb947):_0x24812b['setTo'](_0x5cb947);}),_0x4f4381['stop']();},{'priority':_0x387442['normal']+0xa}),_0x3562e3['model']['on']('insertContent',(_0x234d04,_0x62d3f9)=>{const _0x45248c=_0x62d3f9[_0x62d3f9['length']-0x1];_0x45248c&&_0x45248c['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x3562e3['model']['change'](()=>{let _0x3b1709=_0x3562e3['model']['insertContent'](_0x62d3f9[0x0],_0x62d3f9[0x1],_0x62d3f9[0x2],{'forceDefaultExecution':!0x0});if(!_0x3b1709)return;_0x234d04['return']=_0x3b1709['clone']();const _0x1f3a56=_0x3b1709['end']['nodeBefore'],_0x4d03f9=_0x3562e3['model']['schema'];_0x1f3a56&&_0x4d03f9['isBlock'](_0x1f3a56)&&!_0x4d03f9['isObject'](_0x1f3a56)&&(_0x3b1709=_0x3562e3['model']['createRange'](_0x3b1709['start'],_0x3562e3['model']['createPositionAt'](_0x1f3a56,'end'))),this['markInsertion'](_0x3b1709);}),_0x234d04['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x590bea=new AcceptSuggestionCommand(_0x3562e3,this['_suggestions']);_0x3562e3['commands']['add']('acceptSuggestion',_0x590bea),this['enableCommand']('acceptSuggestion');const _0x23f9de=new DiscardSuggestionCommand(_0x3562e3,this['_suggestions']);_0x3562e3['commands']['add']('discardSuggestion',_0x23f9de),this['enableCommand']('discardSuggestion'),_0x3562e3['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x3562e3,_0x590bea,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x3562e3['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x3562e3,_0x23f9de,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x3562e3['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x3562e3,_0x590bea,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x3562e3['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x3562e3,_0x23f9de,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x23f473=_0x3562e3['plugins']['get'](CommentsRepository);this['listenTo'](_0x23f473,'addComment',(_0xd8dbe3,{threadId:_0x1d7703})=>{const _0x53adde=this['_suggestions']['get'](_0x1d7703);_0x53adde&&_0x53adde['commentThread']&&0x1===_0x53adde['commentThread']['length']&&this['_updateSuggestionData'](_0x1d7703,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x23f473,'removeComment',(_0x3468a3,{threadId:_0xfc5299})=>{const _0x456c38=this['_suggestions']['get'](_0xfc5299);_0x456c38&&_0x456c38['commentThread']&&!_0x456c38['commentThread']['length']&&this['_updateSuggestionData'](_0xfc5299,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x2cf068){const _0x3ae362=_0x5a5846([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]),_0xee38fd=0x3d8d0df,_0x593d5e=0x3df5ab7^_0xee38fd,_0x37fede=window[_0x5a5846([0x44,0x61,0x74,0x65])][_0x5a5846([0x6e,0x6f,0x77])](),_0x428783=_0x2cf068[_0x5a5846([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x590cd3=new window[(_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2477be=>{_0x428783[_0x5a5846([0x6f,0x6e,0x63,0x65])](_0x5a5846([0x72,0x65,0x61,0x64,0x79]),_0x2477be);}),_0x203e94={[_0x5a5846([0x6b,0x74,0x79])]:_0x5a5846([0x45,0x43]),[_0x5a5846([0x75,0x73,0x65])]:_0x5a5846([0x73,0x69,0x67]),[_0x5a5846([0x63,0x72,0x76])]:_0x5a5846([0x50,0x2d,0x32,0x35,0x36]),[_0x5a5846([0x78])]:_0x5a5846([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]),[_0x5a5846([0x79])]:_0x5a5846([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]),[_0x5a5846([0x61,0x6c,0x67])]:_0x5a5846([0x45,0x53,0x32,0x35,0x36])},_0x1d7c86=_0x428783[_0x5a5846([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a5846([0x67,0x65,0x74])](_0x5a5846([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d7a07(){let _0x2d16ce,_0x51723a=null,_0x4fa7a6=null;try{if(_0x1d7c86==_0x5a5846([0x47,0x50,0x4c]))return _0x5a5846([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d16ce=_0xbca13e(),!_0x2d16ce)return _0x5a5846([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d16ce[_0x5a5846([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fa7a6=_0x3efcba(_0x2d16ce[_0x5a5846([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d16ce[_0x5a5846([0x6a,0x74,0x69])])),await _0x33b3a2()?_0x257c10()?_0x4e75d9()?_0x5a5846([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ae732()?(_0x2d16ce[_0x5a5846([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a5846([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51723a=_0x57bdb0(_0x5a5846([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x554c18()):_0x5a5846([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5846([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a5846([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a5846([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e75d9(){const _0x2ad27e=[_0x5a5846([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a5846([0x74,0x72,0x69,0x61,0x6c])][_0x5a5846([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d16ce[_0x5a5846([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37fede/0x3e8:0xe10*_0x593d5e;return _0x2d16ce[_0x5a5846([0x65,0x78,0x70])]<_0x2ad27e;}function _0x257c10(){const _0x4e90e6=_0x2d16ce[_0x5a5846([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4e90e6)return!0x1;if(_0x4e90e6[_0x5a5846([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5846([0x2a])))return!0x0;if(_0x4e90e6[_0x5a5846([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5846([0x54,0x43])))return!0x0;if(_0x4e90e6[_0x5a5846([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5846([0x52,0x54,0x43]))){if(_0x2cec34())return!0x0;if(_0x5cee5c()||_0x3a5f13())return!0x0;}return!0x1;}function _0x1ae732(){const _0x1bda44=_0x2d16ce[_0x5a5846([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1bda44||0x0==_0x1bda44[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57ee56}=new URL(window[_0x5a5846([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1bda44[_0x5a5846([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57ee56))return!0x0;const _0x3130bd=_0x57ee56[_0x5a5846([0x73,0x70,0x6c,0x69,0x74])](_0x5a5846([0x2e]));return _0x1bda44[_0x5a5846([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x195607=>_0x195607[_0x5a5846([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5846([0x2a])))[_0x5a5846([0x6d,0x61,0x70])](_0x89af16=>_0x89af16[_0x5a5846([0x73,0x70,0x6c,0x69,0x74])](_0x5a5846([0x2e])))[_0x5a5846([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46d513=>_0x46d513[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3130bd[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5846([0x6d,0x61,0x70])](_0x29391c=>Array(_0x3130bd[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29391c[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5846([0x66,0x69,0x6c,0x6c])](_0x29391c[0x0]===_0x5a5846([0x2a])?_0x5a5846([0x2a]):'')[_0x5a5846([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29391c))[_0x5a5846([0x73,0x6f,0x6d,0x65])](_0xd2cfbd=>_0x3130bd[_0x5a5846([0x65,0x76,0x65,0x72,0x79])]((_0x4f97ed,_0x8f5179)=>_0xd2cfbd[_0x8f5179]===_0x4f97ed||_0xd2cfbd[_0x8f5179]===_0x5a5846([0x2a])));}function _0x554c18(){return _0x51723a&&_0x4fa7a6?new window[(_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ae996,_0x4bf1b5)=>{_0x51723a[_0x5a5846([0x74,0x68,0x65,0x6e])](_0x5ae996,_0x4bf1b5),_0x4fa7a6[_0x5a5846([0x74,0x68,0x65,0x6e])](_0x4ad1be=>{_0x4ad1be!=_0x5a5846([0x56,0x61,0x6c,0x69,0x64])&&_0x5ae996(_0x4ad1be);},_0x4bf1b5);}):_0x51723a||_0x4fa7a6||_0x5a5846([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3efcba(_0x4b6038,_0x162176){return new window[(_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6382=>{if(_0x156519())return _0x4a6382(_0x5a5846([0x56,0x61,0x6c,0x69,0x64]));_0x58ebc6(),_0x428783[_0x5a5846([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a5846([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33e1d9=!0x1;const _0x5bc650=_0x462bc0();function _0x32c696(_0x583599){return!!_0x583599&&(typeof _0x583599===_0x5a5846([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x583599===_0x5a5846([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x583599[_0x5a5846([0x74,0x68,0x65,0x6e])]===_0x5a5846([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x583599[_0x5a5846([0x63,0x61,0x74,0x63,0x68])]===_0x5a5846([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9621f5(_0x44c26d){_0x133311(_0x44c26d)[_0x5a5846([0x74,0x68,0x65,0x6e])](_0x42c19f=>{if(!_0x42c19f||_0x42c19f[_0x5a5846([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a5846([0x6f,0x6b]))return _0x5a5846([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x238a09(_0x22be7c(_0x5bc650+_0x162176))!=_0x42c19f[_0x5a5846([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a5846([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5846([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5846([0x74,0x68,0x65,0x6e])](_0x247294=>(_0x49be17(),_0x247294),()=>{const _0x3c646e=_0x3f2536();return null==_0x3c646e?(_0x49be17(),_0x5a5846([0x56,0x61,0x6c,0x69,0x64])):_0x5a5846(_0x37fede-_0x3c646e>(0x27d454df^_0xee38fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5846([0x74,0x68,0x65,0x6e])](_0x4a6382)[_0x5a5846([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a6382(_0x5a5846([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x193fb8=0x3ee3e5f^_0xee38fd;function _0x49be17(){const _0x2e2e44=_0x5a5846([0x6c,0x6c,0x63,0x74,0x2d])+_0x238a09(_0x22be7c(_0x4b6038)),_0x50c56b=_0xb30ac7(_0x238a09(window[_0x5a5846([0x4d,0x61,0x74,0x68])][_0x5a5846([0x63,0x65,0x69,0x6c])](_0x37fede/_0x193fb8)));window[_0x5a5846([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5846([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e2e44,_0x50c56b);}function _0x3f2536(){const _0x5d2a43=_0x5a5846([0x6c,0x6c,0x63,0x74,0x2d])+_0x238a09(_0x22be7c(_0x4b6038)),_0x14a46f=window[_0x5a5846([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5846([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d2a43);return _0x14a46f?window[_0x5a5846([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb30ac7(_0x14a46f),0x10)*_0x193fb8:null;}function _0x133311(_0x44eb3b){return new window[(_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x544aa6,_0xa8ecee)=>{_0x44eb3b[_0x5a5846([0x74,0x68,0x65,0x6e])](_0x544aa6,_0xa8ecee),window[_0x5a5846([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa8ecee,0x3d9041f^_0xee38fd);});}}_0x428783[_0x5a5846([0x6f,0x6e])](_0x5a5846([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2bd3fd,_0x4f451c)=>{if(_0x4f451c[0x0]!=_0x4b6038)return _0x4a6382(_0x5a5846([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f451c[0x1]={..._0x4f451c[0x1],[_0x5a5846([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc650};},{[_0x5a5846([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5846([0x68,0x69,0x67,0x68])}),_0x428783[_0x5a5846([0x6f,0x6e])](_0x5a5846([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3fc6f7=>{_0x32c696(_0x3fc6f7[_0x5a5846([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33e1d9=!0x0,_0x9621f5(_0x3fc6f7[_0x5a5846([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a5846([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5846([0x6c,0x6f,0x77])}),_0x590cd3[_0x5a5846([0x74,0x68,0x65,0x6e])](()=>{_0x33e1d9||_0x4a6382(_0x5a5846([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x156519(){return _0x428783[_0x5a5846([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5846([0x76,0x69,0x65,0x77])][_0x5a5846([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a5846([0x61,0x75,0x74,0x6f]);}function _0x58ebc6(){_0x428783[_0x5a5846([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5846([0x76,0x69,0x65,0x77])][_0x5a5846([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a5846([0x61,0x75,0x74,0x6f]);}}function _0x57bdb0(_0x4deaec){const _0x203658=[new window[(_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe280f=>setTimeout(_0xbe280f,0x3d1ee13^_0xee38fd)),_0x590cd3[_0x5a5846([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x590958=>{let _0x5041c1=0x0;_0x428783[_0x5a5846([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5846([0x6f,0x6e])](_0x5a5846([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35160b,_0x80164)=>{_0x80164[0x0][_0x5a5846([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5041c1++,_0x5041c1==(0x3d8d537^_0xee38fd)&&(_0x590958(),_0x35160b[_0x5a5846([0x6f,0x66,0x66])]());});}))];return window[_0x5a5846([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a5846([0x72,0x61,0x63,0x65])](_0x203658)[_0x5a5846([0x74,0x68,0x65,0x6e])](()=>_0x4deaec);}async function _0x1f5ffe(){await _0x590cd3,_0x428783[_0x5a5846([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5846([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47a5eb,_0x428783[_0x5a5846([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5846([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47a5eb,_0x428783[_0x5a5846([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a5846([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cec34(){return _0xecb1eb(_0x5a5846([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x295fe6(_0x5a5846([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5a5846([0x73,0x74,0x61,0x74,0x65])]==_0x5a5846([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x5cee5c(){return _0xecb1eb(_0x5a5846([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 _0x3a5f13(){return _0xecb1eb(_0x5a5846([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x4a5a2a(_0x33b589){const _0x5e2652=_0x841b10();_0x428783[_0x5e2652]=_0x5a5846([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33b589,_0x33b589!=_0x5a5846([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5ffe();}function _0x841b10(){const _0x4e7e7f=window[_0x5a5846([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a5846([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a5846([0x6e,0x6f,0x77])]())[_0x5a5846([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a5846([0x2e]),'');let _0xa3f158=_0x5a5846([0x52]);for(let _0xa57715=0x0;_0xa57715<_0x4e7e7f[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa57715+=0x2){let _0x569a4a=window[_0x5a5846([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e7e7f[_0x5a5846([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa57715,_0xa57715+0x2));_0x569a4a>=_0x3ae362[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x569a4a-=_0x3ae362[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa3f158+=_0x3ae362[_0x569a4a];}return _0xa3f158;}function _0xbca13e(){const _0x7eae12=_0x1d7c86[_0x5a5846([0x73,0x70,0x6c,0x69,0x74])](_0x5a5846([0x2e]));if(0x3!=_0x7eae12[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59b80c(_0x7eae12[0x1]);function _0x59b80c(_0x20f707){const _0x59107c=_0xe4b762(_0x20f707);return _0x59107c&&_0x58ef6c()?_0x59107c:null;function _0x58ef6c(){const _0x293035=_0x59107c[_0x5a5846([0x6a,0x74,0x69])],_0x1ba537=window[_0x5a5846([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293035[_0x5a5846([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x293035[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f9d4f={..._0x59107c,[_0x5a5846([0x6a,0x74,0x69])]:_0x293035[_0x5a5846([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x293035[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f9d4f[_0x5a5846([0x76,0x63])],_0x22be7c(_0x4f9d4f)==_0x1ba537;}}}async function _0x33b3a2(){let _0xcdf84c=!0x0;try{const _0xb80a7c=_0x1d7c86[_0x5a5846([0x73,0x70,0x6c,0x69,0x74])](_0x5a5846([0x2e])),[_0x4d76a6,_0x491335,_0x55fec8]=_0xb80a7c;return _0x4ba64f(_0x4d76a6),await _0x488b89(_0x4d76a6,_0x491335,_0x55fec8),_0xcdf84c;}catch{return!0x1;}function _0x4ba64f(_0x113d91){const _0x500791=_0xe4b762(_0x113d91);_0x500791&&_0x500791[_0x5a5846([0x61,0x6c,0x67])]==_0x5a5846([0x45,0x53,0x32,0x35,0x36])||(_0xcdf84c=!0x1);}async function _0x488b89(_0x1bc1ef,_0x4ec4e5,_0x13fcff){const _0x1e60f7=window[_0x5a5846([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a5846([0x66,0x72,0x6f,0x6d])](_0x60a79f(_0x13fcff),_0x2dde0b=>_0x2dde0b[_0x5a5846([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d8f88=new window[(_0x5a5846([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a5846([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bc1ef+_0x5a5846([0x2e])+_0x4ec4e5),_0x48b10a=window[_0x5a5846([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a5846([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48b10a)return;const _0x3a78e4=await _0x48b10a[_0x5a5846([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a5846([0x6a,0x77,0x6b]),_0x203e94,{[_0x5a5846([0x6e,0x61,0x6d,0x65])]:_0x5a5846([0x45,0x43,0x44,0x53,0x41]),[_0x5a5846([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a5846([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a5846([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48b10a[_0x5a5846([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a5846([0x6e,0x61,0x6d,0x65])]:_0x5a5846([0x45,0x43,0x44,0x53,0x41]),[_0x5a5846([0x68,0x61,0x73,0x68])]:{[_0x5a5846([0x6e,0x61,0x6d,0x65])]:_0x5a5846([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a78e4,_0x1e60f7,_0x5d8f88)||(_0xcdf84c=!0x1);}}function _0xe4b762(_0x399b1d){return _0x399b1d[_0x5a5846([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a5846([0x65,0x79]))?JSON[_0x5a5846([0x70,0x61,0x72,0x73,0x65])](_0x60a79f(_0x399b1d)):null;}function _0x60a79f(_0x4be525){return window[_0x5a5846([0x61,0x74,0x6f,0x62])](_0x4be525[_0x5a5846([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a5846([0x2b]))[_0x5a5846([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a5846([0x2f])));}function _0x22be7c(_0x514264){let _0x30816d=0x1505;function _0x149ef2(_0x479254){for(let _0x59b5cf=0x0;_0x59b5cf<_0x479254[_0x5a5846([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59b5cf++){const _0x268e92=_0x479254[_0x5a5846([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59b5cf);_0x30816d=(_0x30816d<<0x5)+_0x30816d+_0x268e92,_0x30816d&=_0x30816d;}}function _0x331ec6(_0x1d49d0){Array[_0x5a5846([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d49d0)?_0x1d49d0[_0x5a5846([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x331ec6):_0x1d49d0&&typeof _0x1d49d0==_0x5a5846([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a5846([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d49d0)[_0x5a5846([0x73,0x6f,0x72,0x74])]()[_0x5a5846([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a7093,_0x5a5d1d])=>{_0x149ef2(_0x2a7093),_0x331ec6(_0x5a5d1d);}):_0x149ef2(window[_0x5a5846([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d49d0));}return _0x331ec6(_0x514264),_0x30816d>>>0x0;}function _0x238a09(_0x1e14b0){return _0x1e14b0[_0x5a5846([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a5846([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a5846([0x30]));}function _0xb30ac7(_0x35fd48){return _0x35fd48[_0x5a5846([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a5846([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a5846([0x6a,0x6f,0x69,0x6e])]('');}function _0xecb1eb(_0x4f68f4){return _0x428783[_0x5a5846([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5a5846([0x68,0x61,0x73])](_0x4f68f4);}function _0x295fe6(_0x416cee){return _0x428783[_0x5a5846([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5a5846([0x67,0x65,0x74])](_0x416cee);}function _0x47a5eb(){}function _0x5a5846(_0x4dad2d){return _0x4dad2d['map'](_0x13a1ae=>String['fromCharCode'](_0x13a1ae))['join']('');}_0x4a5a2a(await _0x4d7a07());}(this);}set['adapter'](_0x3b5880){if(this['_adapter'])throw new _0x3ae0e8('track-changes-adapter-already-set',this);this['_adapter']=_0x3b5880;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x3e951f=!0x1,toJSON:_0x3d0551=!0x1}={}){const _0x22ce55=[];for(const _0x459f09 of this['_suggestions']['values']())_0x3e951f&&!_0x459f09['isInContent']||_0x22ce55['push'](_0x459f09);return _0x3d0551?_0x22ce55['map'](_0x63f7b9=>_0x63f7b9['toJSON']()):_0x22ce55;}['getSuggestion'](_0x159b5b){const _0x567359=this['_suggestions']['get'](_0x159b5b);if(!_0x567359)throw new _0x3ae0e8('track-changes-suggestion-not-found',this);return _0x567359;}['hasSuggestion'](_0x27c587){return this['_suggestions']['has'](_0x27c587);}['addSuggestionData'](_0x53e38f){const {authorId:_0x37a47b,id:_0x1243b3,originalSuggestionId:_0x539221,attributes:_0x10d79a}=_0x53e38f,[_0x3e5d04,_0x596c29]=_0x53e38f['type']['split'](':'),_0xf02121=this['_suggestions']['get'](_0x1243b3)||this['_createSuggestion'](_0x3e5d04,_0x596c29,_0x1243b3,_0x37a47b,_0x10d79a,_0x539221);if(this['_addThreadToSuggestion'](_0xf02121),this['_checkSuggestionCorrectness'](_0xf02121,_0x3e5d04,_0x596c29||null,_0x37a47b),_0xf02121['createdAt']=_0x53e38f['createdAt'],_0xf02121['_isDataLoaded']=!0x0,_0x10d79a&&_0x10d79a['@external']){const _0x1c8b47=_0x10d79a['@external'],_0x19f906=this['_getExternalAuthor'](_0x1c8b47['authorName']);_0xf02121['authoredAt']=_0x1c8b47['createdAt'],_0xf02121['author']=_0x19f906,_0xf02121['isExternal']=!0x0;}else _0xf02121['authoredAt']=_0x53e38f['createdAt'];switch(_0x53e38f['data']&&(_0xf02121['data']=_0x53e38f['data']),_0x53e38f['attributes']&&(_0xf02121['attributes']=_0x53e38f['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0xf02121['_saved']=!0x0),this['_suggestionState']['get'](_0xf02121)){case'notReady':this['_suggestionState']['set'](_0xf02121,'dataReady');break;case'markerReady':_0xf02121['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0xf02121])),this['_refreshSuggestionsChain'](new Set([_0xf02121])),this['_suggestionState']['set'](_0xf02121,'ready'),this['fire']('suggestionLoaded',_0xf02121)):this['_suggestionState']['set'](_0xf02121,'removed');}return _0xf02121;}['acceptSuggestion'](_0x3172bb){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x344a87 of _0x3172bb['getAllAdjacentSuggestions']())_0x344a87['accept']();});});}['discardSuggestion'](_0x368ad6){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x25bd6f of _0x368ad6['getAllAdjacentSuggestions']())_0x25bd6f['discard']();});});}['enableCommand'](_0x79a6cd,_0x4ae5d9){const _0x392d86=this['editor']['commands']['get'](_0x79a6cd);if(!_0x392d86)throw new _0x3ae0e8('track-changes-command-not-found',this,{'commandName':_0x79a6cd});if(this['_enabledCommands']['has'](_0x392d86))throw new _0x3ae0e8('track-changes-enable-command-twice',this,{'commandName':_0x79a6cd});this['_enabledCommands']['add'](_0x392d86),_0x4ae5d9&&_0x392d86['on']('execute',(_0x5138a0,_0xbe71b3)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0xbe71b3['length']>0x0&&_0xbe71b3[_0xbe71b3['length']-0x1]&&_0xbe71b3[_0xbe71b3['length']-0x1]['forceDefaultExecution']?_0xbe71b3['pop']():(_0x5138a0['return']=_0x4ae5d9((..._0x490f1e)=>_0x392d86['execute'](..._0x490f1e,{'forceDefaultExecution':!0x0}),..._0xbe71b3),_0x5138a0['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x248003){let _0x3e733b,_0x7f9ac6;const _0x380398=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x3e733b=_0x248003();}catch(_0x576058){_0x7f9ac6=_0x576058;}return _0x380398||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x7f9ac6&&_0x3ae0e8['rethrowUnexpectedError'](_0x7f9ac6,this),_0x3e733b;}['markInsertion'](_0x46dcb6,_0x1cf838=null,_0x17d926={}){if(_0x46dcb6['isCollapsed'])return null;const _0x26a2a0=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x17d926['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x556e0a,meta:_0x3c46ce}of this['_findSuggestions'](_0x46dcb6,'insertion'))if(_0x3c46ce['isOwn']){if(!_0x3c46ce['isNextTo']){if(_0x3c46ce['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!sv(_0x556e0a,_0x17d926))continue;return _0x556e0a;}if(sv(_0x556e0a,_0x17d926))return _0x556e0a;this['_breakSuggestionMarker'](_0x556e0a,_0x46dcb6['start'],_0x46dcb6['end']);break;}if(_0x1cf838==_0x556e0a['subType']&&sv(_0x556e0a,_0x17d926)){const _0x34cfd5=_0x556e0a['getFirstRange']();return _0x34cfd5['start']['isEqual'](_0x46dcb6['end'])?this['_setSuggestionRange'](_0x556e0a,this['_model']['createRange'](_0x46dcb6['start'],_0x34cfd5['end'])):this['_setSuggestionRange'](_0x556e0a,this['_model']['createRange'](_0x34cfd5['start'],_0x46dcb6['end'])),_0x556e0a;}}const _0x22c727=_0x462bc0(),_0x2a3699=_0x26a2a0['id'],_0x383f8f=_0x1cf838?'insertion:'+_0x1cf838:'insertion',_0x1fa2c4=this['_setSuggestionData']({'id':_0x22c727,'type':_0x383f8f,'createdAt':new Date(),'authorId':_0x2a3699,'attributes':_0x17d926});return this['_addSuggestionMarker'](_0x383f8f,_0x22c727,_0x2a3699,_0x46dcb6),_0x1fa2c4;}['markMultiRangeInsertion'](_0x13f087,_0x527b71='multi',_0x9f6244={}){const _0x1dca42=this['editor']['plugins']['get']('Users')['me'],_0x168ee3=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x527b71,'join');this['_trackingSessionId']&&(_0x9f6244['trackingSessionId']=this['_trackingSessionId']);for(const _0x338472 of this['getSuggestions']())if(_0x338472['author']['id']==_0x1dca42['id']&&'insertion'==_0x338472['type']&&_0x338472['subType']==_0x527b71&&sv(_0x338472,_0x9f6244)&&(_0x168ee3(_0x338472['getRanges'](),_0x13f087)||_0x168ee3(_0x13f087,_0x338472['getRanges']()))){for(const _0x5103e4 of _0x13f087)_0x338472['addRange'](_0x5103e4);return _0x338472;}for(const {suggestion:_0x193857,meta:_0x27ffef}of this['_findSuggestions'](_0x13f087,'insertion')){if(!_0x27ffef['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x27ffef['containsRangeInObject'])continue;if(!sv(_0x193857,_0x9f6244))continue;let _0x3ed9d5=!0x0;for(const _0x377fa2 of _0x193857['getRanges']())for(const _0x5c7580 of _0x13f087)if(!_0x377fa2['containsRange'](_0x5c7580)){_0x3ed9d5=!0x1;break;}if(_0x3ed9d5)return _0x193857;}const _0x185a1e=_0x462bc0(),_0x22e6c4=_0x1dca42['id'],_0x131127='insertion:'+_0x527b71,_0x1e6e09=this['_setSuggestionData']({'id':_0x185a1e,'type':_0x131127,'createdAt':new Date(),'authorId':_0x22e6c4,'attributes':_0x9f6244});for(const _0x450513 of _0x13f087)this['_addSuggestionMarker'](_0x131127,_0x185a1e,_0x22e6c4,_0x450513,Suggestion['getMultiRangeId']());return _0x1e6e09;}['markInlineFormat'](_0x2787fb,_0x101853,_0x4668e4=null,_0xe18e6f={}){if(_0x4668e4=_0x4668e4||Wy(_0x101853),_0x2787fb['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0xe18e6f['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x16c285=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x4668e4,'accept');return this['forceDefaultExecution'](()=>_0x16c285([_0x2787fb],_0x101853,_0xe18e6f)),null;}const _0x25a067=this['editor']['plugins']['get']('Users')['me'],_0x550a5f=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x34f034,meta:_0x26263d}of this['_findSuggestions'](_0x2787fb,'insertion'))_0x26263d['isOwn']&&!_0x26263d['isInsideObject']&&_0x550a5f['push'](..._0x34f034['getRanges']());}const _0xd832fd=function(_0x10f51f,_0x16744f){const _0x3e5d6e=[];for(const _0x16f689 of _0x16744f){const _0x3f7050=_0x10f51f['getIntersection'](_0x16f689);_0x3f7050&&_0x3e5d6e['push'](_0x3f7050);}return _0x3e5d6e;}(_0x2787fb,_0x550a5f),_0xfa93e2=function(_0x54f863,_0x25a7cf){const _0x3c9c11=[_0x54f863];for(const _0x523c93 of _0x25a7cf){let _0x974f8f=0x0;for(;_0x974f8f<_0x3c9c11['length'];){const _0x5aeef0=_0x3c9c11[_0x974f8f]['getDifference'](_0x523c93);_0x3c9c11['splice'](_0x974f8f,0x1,..._0x5aeef0),_0x974f8f+=_0x5aeef0['length'];}}return _0x3c9c11;}(_0x2787fb,_0x550a5f);_0xd832fd['length']&&this['_model']['change'](()=>{for(const _0x124690 of _0xd832fd){const _0x228320=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x4668e4,'accept');this['forceDefaultExecution'](()=>_0x228320([_0x124690],_0x101853,_0xe18e6f));}});for(const _0x338c9e of _0xfa93e2){let _0x198a92=null,_0x451c89=_0x338c9e['start'],_0x1afecc=_0x338c9e['end'];for(const {suggestion:_0x46d48b,meta:_0x37da01}of this['_findSuggestions'](_0x338c9e,'formatInline')){if(!_0x37da01['isOwn'])continue;if(_0x46d48b['subType']!=_0x4668e4)continue;if(!sv(_0x46d48b,_0xe18e6f))continue;const _0x1f7367=_0x46d48b['getFirstRange']();if(_0x1f7367['containsRange'](_0x338c9e,!0x0))return null;_0x451c89=_0x451c89['isBefore'](_0x1f7367['start'])?_0x451c89:_0x1f7367['start'],_0x1afecc=_0x1afecc['isAfter'](_0x1f7367['end'])?_0x1afecc:_0x1f7367['end'],_0x198a92?_0x1f7367['start']['isBefore'](_0x198a92['getFirstRange']()['start'])?(_0x198a92['removeMarkers'](),_0x198a92=_0x46d48b):_0x46d48b['removeMarkers']():_0x198a92=_0x46d48b;}const _0x41cc32=this['_model']['createRange'](_0x451c89,_0x1afecc);if(_0x198a92)this['_setSuggestionRange'](_0x198a92,_0x41cc32);else{const _0x14d631=_0x462bc0(),_0x386fe4=_0x25a067['id'];this['_setSuggestionData']({'id':_0x14d631,'type':'formatInline:'+_0x4668e4,'data':_0x101853,'createdAt':new Date(),'authorId':_0x386fe4,'attributes':_0xe18e6f}),this['_addSuggestionMarker']('formatInline:'+_0x4668e4,_0x14d631,_0x386fe4,_0x41cc32);}}return null;}['markBlockFormat'](_0x513aac,_0x3945e4,_0x1ff8c5=[],_0x146173=null,_0x4cfda2={}){_0x3945e4['formatGroupId']||(_0x3945e4['formatGroupId']=_0x3945e4['commandName']),_0x3945e4['multipleBlocks']=_0x513aac['is']('range'),_0x146173=_0x146173||Wy(_0x3945e4);const _0x15454c=_0x1ff8c5['map'](_0x387855=>tv(_0x387855,this['_model'])),_0x1a1815=_0x513aac['is']('range')?_0x513aac:tv(_0x513aac,this['_model']);if(this['_trackingSessionId']&&(_0x4cfda2['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x3acf64=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x146173,'accept');return this['forceDefaultExecution'](()=>_0x3acf64([_0x1a1815],_0x3945e4,_0x4cfda2)),null;}_0x15454c['push'](_0x1a1815);let _0x5503fe=!0x0;for(const _0x4ac328 of _0x15454c)if(!this['_rangeIsInLocalUserInsertion'](_0x4ac328)){_0x5503fe=!0x1;break;}if(_0x5503fe&&'always'!==this['_trackFormatChanges']){const _0x2f1d3c=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x146173,'accept');return this['forceDefaultExecution'](()=>_0x2f1d3c([_0x1a1815],_0x3945e4,_0x4cfda2)),null;}let _0x6b8a57=null,_0x556436=_0x1a1815['start'],_0x24a3b2=_0x1a1815['end'];for(const {suggestion:_0x5b51fe,meta:_0x36205}of this['_findSuggestions'](_0x1a1815,'formatBlock')){if(!_0x36205['isOwn'])continue;if(_0x36205['isNextTo']||_0x36205['containsRangeInObject']||_0x36205['isInsideObject'])continue;if(_0x5b51fe['data']['formatGroupId']!=_0x3945e4['formatGroupId'])continue;if(!sv(_0x5b51fe,_0x4cfda2))continue;const _0x1ecf54=_0x5b51fe['getFirstRange']();if(_0x5b51fe['subType']==_0x146173){if(_0x1ecf54['containsRange'](_0x1a1815,!0x0))return null;_0x556436=_0x556436['isBefore'](_0x1ecf54['start'])?_0x556436:_0x1ecf54['start'],_0x24a3b2=_0x24a3b2['isAfter'](_0x1ecf54['end'])?_0x24a3b2:_0x1ecf54['end'],_0x6b8a57?_0x1ecf54['start']['isBefore'](_0x6b8a57['getFirstRange']()['start'])?(_0x6b8a57['removeMarkers'](),_0x6b8a57=_0x5b51fe):_0x5b51fe['removeMarkers']():_0x6b8a57=_0x5b51fe;}else{const _0x2c5508=_0x1a1815['getIntersection'](_0x1ecf54);this['_cutOutSuggestionMarker'](_0x5b51fe,_0x2c5508);}}const _0x398a3d=this['editor']['plugins']['get']('Users')['me'],_0x38f694=_0x462bc0(),_0x41dea1=_0x398a3d['id'];if(_0x6b8a57)return this['_setSuggestionRange'](_0x6b8a57,this['_model']['createRange'](_0x556436,_0x24a3b2)),_0x6b8a57;{const _0x10a2a6=this['_setSuggestionData']({'id':_0x38f694,'type':'formatBlock:'+_0x146173,'data':_0x3945e4,'createdAt':new Date(),'authorId':_0x41dea1,'attributes':_0x4cfda2});return this['_addSuggestionMarker']('formatBlock:'+_0x146173,_0x38f694,_0x41dea1,this['_model']['createRange'](_0x556436,_0x24a3b2)),_0x10a2a6;}}['markMultiRangeBlockFormat'](_0x36c278,_0x4eb4bd,_0x585811=[],_0x2e08b6=null,_0x361934={}){_0x4eb4bd['formatGroupId']||(_0x4eb4bd['formatGroupId']=_0x4eb4bd['commandName']);const _0x2d74f7=_0x36c278[0x0];_0x4eb4bd['multipleBlocks']=_0x2d74f7['is']('range'),_0x2e08b6=_0x2e08b6||Wy(_0x4eb4bd);const _0x54be3c=_0x585811['map'](_0x4b81ca=>tv(_0x4b81ca,this['_model'])),_0x1c6242=_0x2d74f7['is']('range')?_0x36c278:_0x36c278['map'](_0x445642=>tv(_0x445642,this['_model']));if(this['_trackingSessionId']&&(_0x361934['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5e72b4=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2e08b6,'accept');return this['forceDefaultExecution'](()=>_0x5e72b4(_0x1c6242,_0x4eb4bd,_0x361934)),null;}_0x54be3c['push'](..._0x1c6242);let _0x23212a=!0x0;for(const _0x259785 of _0x54be3c)if(!this['_rangeIsInLocalUserInsertion'](_0x259785)){_0x23212a=!0x1;break;}if(_0x23212a&&'always'!==this['_trackFormatChanges']){const _0x35ccf5=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2e08b6,'accept');return this['forceDefaultExecution'](()=>_0x35ccf5(_0x1c6242,_0x4eb4bd,_0x361934)),null;}const _0x209ad3=this['editor']['plugins']['get']('Users')['me'];for(const _0x40d976 of this['getSuggestions']()){const _0x18cb13=_0x40d976['data'];if(_0x40d976['author']['id']!=_0x209ad3['id'])continue;if('formatBlock'!=_0x40d976['type']||_0x18cb13['formatGroupId']!=_0x4eb4bd['formatGroupId'])continue;if(!sv(_0x40d976,_0x361934))continue;const _0x4abe87=_0x40d976['subType']==_0x2e08b6;for(let _0x2d5388=0x0;_0x2d5388<_0x1c6242['length'];_0x2d5388++){const _0x5e159d=_0x1c6242[_0x2d5388];for(const _0x4a0978 of _0x40d976['getMarkers']()){const _0x54dc2b=_0x4a0978['getRange']();if(_0x5e159d['isEqual'](_0x54dc2b)){_0x4abe87?(_0x1c6242['splice'](_0x2d5388,0x1),_0x2d5388--):_0x40d976['removeMarker'](_0x4a0978['name']);break;}}}}if(0x0==_0x1c6242['length'])return null;const _0xe07820=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2e08b6,'join');for(const _0x7399e3 of this['getSuggestions']()){const _0x13ca11=_0x7399e3['data'];if(_0x7399e3['author']['id']==_0x209ad3['id']&&('formatBlock'==_0x7399e3['type']&&_0x13ca11['formatGroupId']==_0x4eb4bd['formatGroupId']&&_0x7399e3['subType']==_0x2e08b6&&sv(_0x7399e3,_0x361934)&&(_0xe07820(_0x7399e3['getRanges'](),_0x1c6242)||_0xe07820(_0x1c6242,_0x7399e3['getRanges']())))){for(const _0x5ab0e of _0x1c6242)_0x7399e3['addRange'](_0x5ab0e);return _0x7399e3;}}const _0x4c9d99=_0x462bc0(),_0x1d6d72=_0x209ad3['id'],_0x4774c7='formatBlock:'+_0x2e08b6,_0x3747b1=this['_setSuggestionData']({'id':_0x4c9d99,'type':_0x4774c7,'data':_0x4eb4bd,'createdAt':new Date(),'authorId':_0x1d6d72,'attributes':_0x361934});for(const _0x5268c2 of _0x1c6242)this['_addSuggestionMarker'](_0x4774c7,_0x4c9d99,_0x1d6d72,_0x5268c2,Suggestion['getMultiRangeId']());return _0x3747b1;}['markDeletion'](_0x41d9c5,_0x1927c3=null,_0x572764={}){if(_0x41d9c5['isCollapsed'])return null;const _0x24e328=this['editor']['plugins']['get']('Users')['me'],_0x377acd=new _0x495f74(_0x41d9c5['start'],_0x41d9c5['end']);this['_trackingSessionId']&&(_0x572764['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x156e98,meta:_0x53617d}of this['_findSuggestions'](_0x377acd,'insertion'))if(_0x53617d['isOwn']&&!_0x53617d['isNextTo']){if(_0x156e98['isMultiRange']){const _0xfe8c02=_0x156e98['getRanges']()['filter'](_0x80f71b=>'$graveyard'!=_0x80f71b['root']['rootName']);_0xfe8c02['every'](_0x4f3be3=>_0x377acd['containsRange'](_0x4f3be3,!0x0))&&_0x156e98['discard']();if(_0xfe8c02['some'](_0xb349b4=>_0xb349b4['containsRange'](_0x377acd,!0x0))){const _0x5d6e19=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1927c3,'accept');return this['forceDefaultExecution'](()=>_0x5d6e19([_0x377acd],null,_0x572764)),null;}}else{const _0x372980=_0x377acd['getIntersection'](_0x156e98['getFirstRange']());null!==_0x372980&&_0x156e98['_onDiscard']([_0x372980],null,_0x572764);}}if(_0x377acd['detach'](),_0x377acd['isCollapsed']||'$graveyard'==_0x377acd['root']['rootName'])return null;let _0x238a24=null,_0x3ff440=_0x377acd['start'],_0x1ee328=_0x377acd['end'];const _0x19ddee=this['_findSuggestions'](_0x377acd,'deletion');for(const {suggestion:_0x5053b8,meta:_0x3d2838}of _0x19ddee){const _0x1ef25e=this['_model']['createRange'](_0x3ff440,_0x1ee328);if(_0x3d2838['isOwn']&&(this['_mergeNestedSuggestions']||!_0x3d2838['containsRangeInObject']&&!_0x3d2838['isInsideObject'])){if(_0x5053b8['isMultiRange']){if(!sv(_0x5053b8,_0x572764))continue;let _0x333453=!0x0;for(const _0x21523c of _0x5053b8['getRanges']()){if(_0x21523c['containsRange'](_0x1ef25e,!0x0))return _0x5053b8;_0x1ef25e['containsRange'](_0x21523c)||(_0x333453=!0x1);}_0x333453&&_0x5053b8['discard']();}else{const _0x3c9abf=_0x5053b8['getFirstRange']();if(_0x3c9abf['containsRange'](_0x1ef25e,!0x0))return _0x5053b8;if(!sv(_0x5053b8,_0x572764)){_0x1ef25e['containsRange'](_0x3c9abf)?_0x5053b8['removeMarkers']():_0x3c9abf['containsPosition'](_0x3ff440)?_0x3ff440=_0x3c9abf['end']:_0x3c9abf['containsPosition'](_0x1ee328)&&(_0x1ee328=_0x3c9abf['start']);continue;}_0x3ff440=_0x3ff440['isBefore'](_0x3c9abf['start'])?_0x3ff440:_0x3c9abf['start'],_0x1ee328=_0x1ee328['isAfter'](_0x3c9abf['end'])?_0x1ee328:_0x3c9abf['end'],_0x572764=Object['assign']({},_0x5053b8['attributes']),_0x238a24?_0x3c9abf['start']['isBefore'](_0x238a24['getFirstRange']()['start'])?(_0x238a24['removeMarkers'](),_0x238a24=_0x5053b8):_0x5053b8['removeMarkers']():_0x238a24=_0x5053b8;}}}if(_0x238a24)return this['_setSuggestionRange'](_0x238a24,this['_model']['createRange'](_0x3ff440,_0x1ee328)),_0x238a24;{const _0xe03c24=_0x462bc0(),_0x5acfdb=this['_model']['createRange'](_0x3ff440,_0x1ee328),_0x3dcebc=_0x24e328['id'],_0x37d23e=_0x1927c3?'deletion:'+_0x1927c3:'deletion',_0x2158a4=this['_setSuggestionData']({'id':_0xe03c24,'type':_0x37d23e,'createdAt':new Date(),'authorId':_0x3dcebc,'attributes':_0x572764});return this['_addSuggestionMarker'](_0x37d23e,_0xe03c24,_0x3dcebc,_0x5acfdb),_0x2158a4;}}['markMultiRangeDeletion'](_0x572831,_0x3524cb='multi',_0x14e83b={}){const _0x3a1fee=this['editor']['plugins']['get']('Users')['me'],_0x2d66e0=_0x572831['map'](_0x4e0363=>new _0x495f74(_0x4e0363['start'],_0x4e0363['end'])),_0x33c530=new Set();this['_trackingSessionId']&&(_0x14e83b['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x3099d1,meta:_0x44aabc}of this['_findSuggestions'](_0x2d66e0,'insertion'))_0x44aabc['isOwn']&&!_0x44aabc['isNextTo']&&_0x33c530['add'](_0x3099d1);for(const _0x12fd71 of _0x33c530)if(_0x12fd71['isMultiRange']){const _0x31eceb=_0x12fd71['getRanges']();(!_0x12fd71['attributes']||!_0x12fd71['attributes']['skipNestingCheck'])&&(_0x31eceb['every'](_0x485108=>_0x2d66e0['some'](_0x174e3d=>_0x174e3d['containsRange'](_0x485108,!0x0)))&&_0x12fd71['discard']());if(_0x2d66e0['every'](_0x3faaba=>_0x31eceb['some'](_0x1ced1e=>_0x1ced1e['containsRange'](_0x3faaba,!0x0)))){const _0x5ea9ef=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x3524cb,'accept');return this['forceDefaultExecution'](()=>_0x5ea9ef(_0x572831,null,_0x14e83b)),null;}}else{const _0x3bedc3=_0x12fd71['getFirstRange']();_0x2d66e0['some'](_0x50ecff=>_0x50ecff['containsRange'](_0x3bedc3,!0x0))&&_0x12fd71['discard']();if(_0x2d66e0['every'](_0x51cad3=>_0x3bedc3['containsRange'](_0x51cad3,!0x0))){const _0x50c9a7=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x3524cb,'accept');return this['forceDefaultExecution'](()=>_0x50c9a7(_0x2d66e0,null,_0x14e83b)),null;}}const _0x1c413d=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x3524cb,'join');let _0x58fb75=null;for(const _0x553692 of this['getSuggestions']())if(_0x553692['author']['id']==_0x3a1fee['id']&&_0x553692['isInContent']&&'deletion'==_0x553692['type']&&_0x553692['subType']==_0x3524cb&&sv(_0x553692,_0x14e83b)&&(_0x1c413d(_0x553692['getRanges'](),_0x2d66e0)||_0x1c413d(_0x2d66e0,_0x553692['getRanges']()))){if(_0x58fb75){if(_0x553692['commentThread']&&_0x553692['commentThread']['length'])continue;for(const _0x548541 of _0x553692['getRanges']())_0x58fb75['isIntersectingWithRange'](_0x548541)||_0x58fb75['addRange'](_0x548541);_0x553692['removeMarkers']();}else{_0x58fb75=_0x553692;for(const _0xe259fd of _0x2d66e0)_0x553692['isIntersectingWithRange'](_0xe259fd)||_0x553692['addRange'](_0xe259fd);}}if(_0x58fb75)return _0x58fb75;_0x33c530['clear']();for(const {suggestion:_0x332e93,meta:_0x27526f}of this['_findSuggestions'](_0x2d66e0,'deletion'))_0x27526f['isOwn']&&(this['_mergeNestedSuggestions']||!_0x27526f['containsRangeInObject']&&!_0x27526f['isInsideObject'])&&sv(_0x332e93,_0x14e83b)&&_0x33c530['add'](_0x332e93);for(const _0x2f7b7f of _0x33c530){const _0x3dce21=_0x2f7b7f['getRanges']();if(!_0x14e83b||!_0x14e83b['skipNestingCheck']){if(_0x2d66e0['every'](_0x43a376=>_0x3dce21['some'](_0x57c00e=>_0x57c00e['containsRange'](_0x43a376,!0x0))))return _0x2f7b7f;}(!_0x2f7b7f['attributes']||!_0x2f7b7f['attributes']['skipNestingCheck'])&&(_0x3dce21['every'](_0x611523=>_0x2d66e0['some'](_0x2d4739=>_0x2d4739['containsRange'](_0x611523,!0x0)))&&_0x2f7b7f['discard']());}const _0x1dae61=_0x462bc0(),_0x10ebbb=_0x3a1fee['id'],_0x44d780='deletion:'+_0x3524cb,_0x3ca032=this['_setSuggestionData']({'id':_0x1dae61,'type':_0x44d780,'createdAt':new Date(),'authorId':_0x10ebbb,'attributes':_0x14e83b});for(const _0x4afca6 of _0x2d66e0)_0x4afca6['detach'](),_0x4afca6['isCollapsed']||'$graveyard'==_0x4afca6['root']['rootName']||this['_addSuggestionMarker'](_0x44d780,_0x1dae61,_0x10ebbb,_0x4afca6,Suggestion['getMultiRangeId']());return _0x3ca032;}['markAttributeChange'](_0x488fd3,_0x29476f,_0x32cdd5,_0x21f03d,_0x2451a3){if(_0x488fd3['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x399f3d=this['editor']['plugins']['get']('Users')['me']['id'],_0xeffab8=Array['from'](this['_suggestions']['values']())['filter'](_0x22fb1e=>'attribute'==_0x22fb1e['type']&&_0x22fb1e['data']['key']==_0x29476f&&_0x22fb1e['isIntersectingWithRange'](_0x488fd3));if(this['_trackingSessionId']&&(_0x2451a3['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x370acd=this['_findSuggestions'](_0x488fd3,'insertion')['filter'](({meta:_0x5022dc})=>_0x5022dc['isOwn']&&!_0x5022dc['isInsideObject']&&!_0x5022dc['isNextTo'])['map'](({suggestion:_0x52c617})=>_0x52c617);_0xeffab8['unshift'](..._0x370acd);}const _0x24087c=new Map([[_0x488fd3,_0x32cdd5]]);for(const _0x416180 of _0xeffab8){const _0x5dc6fa='attribute'==_0x416180['type']?_0x416180['data']['oldValue']:void 0x0,_0x49b07c=_0x416180['getFirstRange'](),_0x10cece=Array['from'](_0x24087c['keys']())['find'](_0x55f095=>_0x55f095['isIntersecting'](_0x49b07c));if(!_0x10cece)continue;const _0x5619b2=_0x10cece['getDifference'](_0x49b07c);this['_suggestionsConversion']['isBlockAttribute'](_0x29476f)&&'insertion'==_0x416180['type']&&0x0!=_0x5619b2['length']||(_0x24087c['delete'](_0x10cece),_0x5619b2['forEach'](_0xae1bd9=>{_0x24087c['set'](_0xae1bd9,_0x32cdd5);}),'insertion'!=_0x416180['type']&&_0x5dc6fa!=_0x21f03d&&_0x24087c['set'](_0x10cece['getIntersection'](_0x49b07c),_0x5dc6fa));}const _0x6fde8a=[];for(const [_0x5e32c9,_0x4ab0c2]of _0x24087c){const _0x5453d3=_0x462bc0(),_0x230075={'key':_0x29476f,'oldValue':_0x4ab0c2,'newValue':_0x21f03d};_0x29476f['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':_0x29476f});const _0xd93499=('attribute:'+(_0x29476f+'|'+Wy({'newValue':_0x21f03d})))['substring'](0x0,0x3c),_0x33c0a7=this['_setSuggestionData']({'id':_0x5453d3,'type':_0xd93499,'data':_0x230075,'createdAt':new Date(),'authorId':_0x399f3d,'attributes':_0x2451a3});_0x6fde8a['push'](_0x33c0a7),this['_addSuggestionMarker'](_0xd93499,_0x5453d3,_0x399f3d,_0x5e32c9);}return _0x6fde8a;}['enableDefaultAttributesIntegration'](_0x332502){this['enableCommand'](_0x332502,(_0x3a09d7,..._0x30ea8d)=>{this['recordAttributeChanges'](()=>{_0x3a09d7(..._0x30ea8d);});});}['startTrackingSession'](_0x4f0960){return this['_trackingSessionId']=void 0x0!==_0x4f0960?_0x4f0960:_0x462bc0(),this['_trackingSessionId'];}['_getAttributeKey'](_0x3fc6d1){return'attribute'==_0x3fc6d1['type']?rv(_0x3fc6d1['subType']):null;}['_applyOperationsAsSuggestions'](_0x534b9f){if(0x0==_0x534b9f['length'])return;const _0x967abe=this['editor'],_0x16abc4=_0x967abe['plugins']['get'](DocumentCompare),_0x503e11=[];_0x967abe['model']['change'](_0x23728f=>{for(let _0x44ac86=0x0;_0x44ac86<_0x534b9f['length'];_0x44ac86++){const _0xd3c52f=_0x534b9f[_0x44ac86];if(_0xd3c52f['baseVersion']=_0x967abe['model']['document']['version'],_0xd3c52f['isDocumentOperation']=!0x0,_0x16abc4['isMarkedRemoveOperation'](_0xd3c52f)){const _0x12cb0a=Rc(_0xd3c52f['newRange'],_0x967abe['model']);_0x503e11['unshift'](_0x495f74['fromRange'](_0x12cb0a));}else switch(_0xd3c52f['type']){case'rename':{const _0x1c6a94=_0xd3c52f['oldName'],_0x4500e4=_0xd3c52f['newName'];if(_0x1c6a94==_0x4500e4)break;_0x23728f['batch']['addOperation'](_0xd3c52f),_0x967abe['model']['applyOperation'](_0xd3c52f);const _0x416bb8='$elementName',_0x579029=_0xd3c52f['position'],_0x4fa7cb=_0x967abe['model']['createRange'](_0x579029,_0x967abe['model']['createPositionAt'](_0x579029['nodeAfter'],'end'));this['markAttributeChange'](_0x4fa7cb,_0x416bb8,_0x1c6a94,_0x4500e4,{'groupId':_0x462bc0()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x30b1f8=_0xd3c52f['oldValue'],_0x9cf858=_0xd3c52f['newValue'];if(_0x30b1f8==_0x9cf858)break;_0x23728f['batch']['addOperation'](_0xd3c52f),_0x967abe['model']['applyOperation'](_0xd3c52f);const _0x14e704=_0xd3c52f['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x14e704))break;const _0x1050d5=Rc(_0xd3c52f['range'],_0x967abe['model']);this['markAttributeChange'](_0x1050d5,_0x14e704,_0x30b1f8,_0x9cf858,{'groupId':_0x462bc0()});break;}case'insert':{_0x23728f['batch']['addOperation'](_0xd3c52f),_0x967abe['model']['applyOperation'](_0xd3c52f);if(_0x534b9f[_0x44ac86+0x1]&&'move'==_0x534b9f[_0x44ac86+0x1]['type'])break;const _0x20563e=_0xd3c52f['position'],_0x56ab6e=_0xd3c52f['howMany'],_0x1b74f7=Rc(_0x967abe['model']['createRange'](_0x20563e,_0x20563e['getShiftedBy'](_0x56ab6e)),_0x967abe['model']);this['markInsertion'](_0x1b74f7);break;}case'split':{_0x23728f['batch']['addOperation'](_0xd3c52f),_0x967abe['model']['applyOperation'](_0xd3c52f);const _0xca5965=_0xd3c52f['splitPosition'],_0x45ccb2=_0xd3c52f['moveTargetPosition'];this['markInsertion'](_0x967abe['model']['createRange'](_0xca5965,_0x45ccb2));break;}case'move':case'remove':_0x23728f['batch']['addOperation'](_0xd3c52f),_0x967abe['model']['applyOperation'](_0xd3c52f);}}for(const _0x1814fd of _0x503e11)_0x1814fd['detach'](),this['markDeletion'](_0x1814fd);});}['_setSuggestionRange'](_0x224014,_0x10c854){const _0x32aecc=_0x224014['getFirstMarker']();this['_model']['change'](_0x30149a=>{_0x30149a['updateMarker'](_0x32aecc,{'range':_0x10c854});});}['_addThreadToSuggestion'](_0x33145f){const _0x2d0d29=_0x33145f['id'],_0x3153ef=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x2d0d29)||this['_commentsRepository']['addCommentThread']({'channelId':_0x3153ef,'threadId':_0x2d0d29,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x429120=this['_commentsRepository']['getCommentThread'](_0x2d0d29);_0x429120['unbind']('isRemovable'),_0x429120['isRemovable']=!0x1,_0x33145f['commentThread']=_0x429120;}['_checkSuggestionCorrectness'](_0x525ca2,_0x1988d1,_0x1640ee,_0x146938){if(_0x525ca2['type']!=_0x1988d1||_0x525ca2['subType']!=_0x1640ee||_0x525ca2['creator']['id']!=_0x146938)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x3ae0e8('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x2724f8,_0x10fc83){const _0x207038=_0x2724f8['getFirstRange']();if(_0x10fc83['isEqual'](_0x207038))_0x2724f8['removeMarkers']();else{if(_0x207038['containsRange'](_0x10fc83)){const _0x129c2a=this['_model']['createPositionAt'](_0x10fc83['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x2724f8,this['_model']['createRange'](_0x207038['start'],_0x129c2a));const _0x491843=_0x462bc0(),_0x49a4a7=_0x2724f8['creator']['id'],_0x1bed04=_0x2724f8['type']+':'+_0x2724f8['subType'];this['_setSuggestionData']({'id':_0x491843,'type':_0x1bed04,'createdAt':new Date(),'authorId':_0x49a4a7,'data':_0x2724f8['data'],'attributes':_0x2724f8['attributes']});const _0x63187a=this['_model']['createPositionAt'](_0x10fc83['end']['parent'],'after'),_0x299856=this['_model']['createRange'](_0x63187a,_0x207038['end']);this['_addSuggestionMarker'](_0x1bed04,_0x491843,_0x49a4a7,_0x299856);}else{if(_0x207038['containsPosition'](_0x10fc83['start'])){const _0x3c637e=this['_model']['createPositionAt'](_0x10fc83['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x2724f8,this['_model']['createRange'](_0x207038['start'],_0x3c637e));}else{const _0x21d28f=this['_model']['createPositionAt'](_0x10fc83['end']['parent'],'after');this['_setSuggestionRange'](_0x2724f8,this['_model']['createRange'](_0x21d28f,_0x207038['end']));}}}}['_rangeIsInLocalUserInsertion'](_0xb53373){for(const {suggestion:_0x3b8c48,meta:_0x46df39}of this['_findSuggestions'](_0xb53373,'insertion')){if(!_0x46df39['isOwn'])continue;const _0x2b6d89=_0x3b8c48['getRanges']();for(const _0x59fbf3 of _0x2b6d89)if(!_0xb53373['getDifference'](_0x59fbf3)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x7b214d){return this['editor']['plugins']['get']('Users')['getUser'](_0x7b214d);}['_getExternalAuthor'](_0x316638){const _0x239d05=this['editor']['plugins']['get']('Users'),_0x4bc863=Rd('external:'+_0x316638),_0x394cb3=_0x239d05['getUser'](_0x4bc863);return _0x394cb3||_0x239d05['addUser']({'id':_0x4bc863,'name':_0x316638});}['_createSuggestion'](_0x16e484,_0x1ecd7a,_0x2ac9ea,_0x17291a,_0x580c26,_0x585a70){const _0x2a8f13=this['_getAuthorFromId'](_0x17291a);if(!_0x2a8f13)throw new _0x3ae0e8('track-changes-user-not-found',this,{'authorId':_0x17291a,'suggestionId':_0x2ac9ea});const _0x5288f1=this['_suggestionFactory']['buildSuggestion'](_0x16e484,_0x1ecd7a,_0x2ac9ea,_0x2a8f13,_0x580c26,_0x49074b=>{this['_updateSuggestionData'](_0x2ac9ea,{'attributes':_0x49074b});const _0x2dcb06=this['getSuggestion'](_0x2ac9ea);this['_joinWithAdjacentSuggestions'](new Set([_0x2dcb06])),this['_refreshSuggestionsChain'](new Set([_0x2dcb06]));},_0x585a70);return this['listenTo'](_0x5288f1,'accept',()=>{this['_updateSuggestionData'](_0x2ac9ea,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x5288f1,'discard',()=>{this['_updateSuggestionData'](_0x2ac9ea,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x2ac9ea,_0x5288f1),this['_suggestionState']['set'](_0x5288f1,'notReady'),_0x5288f1;}['_breakSuggestionMarker'](_0x25f0d8,_0x12fcfa,_0x40d675){const _0x40fd90=_0x25f0d8['getFirstRange'](),_0xb26d6d=_0x40fd90['start'],_0x1c2630=_0x40fd90['end'];this['_setSuggestionRange'](_0x25f0d8,this['_model']['createRange'](_0xb26d6d,_0x12fcfa));const _0x5b113b=_0x462bc0(),_0x48f1f6=_0x25f0d8['creator']['id'],_0x4bb628=_0x25f0d8['type']+(_0x25f0d8['subType']?':'+_0x25f0d8['subType']:'');this['_setSuggestionData']({'id':_0x5b113b,'type':_0x4bb628,'createdAt':new Date(),'authorId':_0x48f1f6,'originalSuggestionId':_0x25f0d8['_originalSuggestionId']||_0x25f0d8['id'],'attributes':_0x25f0d8['attributes'],'data':_0x25f0d8['data']});const _0x96c11=this['_getAttributeKey'](_0x25f0d8);('formatBlock'==_0x25f0d8['type']||_0x96c11&&this['_suggestionsConversion']['isBlockAttribute'](_0x96c11))&&(_0x40d675=this['_model']['createPositionBefore'](_0x40d675['parent'])),this['_addSuggestionMarker'](_0x4bb628,_0x5b113b,_0x48f1f6,this['_model']['createRange'](_0x40d675,_0x1c2630));}['_findSuggestions'](_0x80c2d0,_0x4a403b=null){const _0x10f84b=[],_0x5c4948=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x80c2d0)||(_0x80c2d0=[_0x80c2d0]);for(const _0x2e6a44 of this['getSuggestions']()){if(!_0x2e6a44['isInContent'])continue;if(_0x4a403b&&_0x2e6a44['type']!=_0x4a403b)continue;let _0x30f40b=!0x1;for(const _0x235a50 of _0x2e6a44['getRanges']()){for(const _0x1b5c9e of _0x80c2d0){const _0x4dda1f=_0x1b5c9e['start']['isEqual'](_0x235a50['end'])||_0x1b5c9e['end']['isEqual'](_0x235a50['start']);if(_0x4dda1f||_0x1b5c9e['getIntersection'](_0x235a50)){const _0x1287ac=_0x1b5c9e['containsRange'](_0x235a50)&&Zy(this['_model']['schema'],_0x235a50['start'],_0x1b5c9e),_0x356262=_0x235a50['containsRange'](_0x1b5c9e)&&Zy(this['_model']['schema'],_0x1b5c9e['start'],_0x235a50);_0x10f84b['push']({'suggestion':_0x2e6a44,'meta':{'isOwn':_0x5c4948==_0x2e6a44['author'],'isNextTo':_0x4dda1f,'isInsideObject':_0x1287ac,'containsRangeInObject':_0x356262}}),_0x30f40b=!0x0;break;}}if(_0x30f40b)break;}}return _0x10f84b;}['_addSuggestionMarker'](_0x4d881e,_0x13d436,_0x69d45,_0x52ade7,_0x2e6cda){this['_model']['change'](_0x1a6539=>{let _0x3863a1='suggestion:'+_0x4d881e+':'+_0x13d436+':'+_0x69d45;_0x2e6cda&&(_0x3863a1=_0x3863a1+':'+_0x2e6cda),_0x1a6539['addMarker'](_0x3863a1,{'range':_0x52ade7,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x110a3d){const _0x5aad00=_0x110a3d['previous'],_0x1fffe4=_0x110a3d['next'];_0x110a3d['previous']=null,_0x110a3d['next']=null,null!=_0x5aad00&&_0x5aad00['next']==_0x110a3d&&(_0x5aad00['next']=_0x1fffe4),null!=_0x1fffe4&&_0x1fffe4['previous']==_0x110a3d&&(_0x1fffe4['previous']=_0x5aad00),'ready'==this['_suggestionState']['get'](_0x110a3d)&&(this['_suggestionState']['set'](_0x110a3d,'removed'),this['fire']('suggestionUnloaded',_0x110a3d,_0x5aad00,_0x1fffe4));}['_setSuggestionData'](_0x4eb5a3){const _0x18265a=_0x4eb5a3['id'],_0x116c06=this['addSuggestionData'](_0x4eb5a3);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x46dd63=this['editor']['plugins']['get']('PendingActions'),_0x2c4e9d=_0x116c06['hasComments'],_0x13093f=_0x116c06['subType']?_0x116c06['type']+':'+_0x116c06['subType']:_0x116c06['type'],_0x483d37=this['editor']['locale'],_0x58fa4=_0x46dd63['add'](Cy(_0x483d37,'PENDING_ACTION_SUGGESTION')),_0x937997={'id':_0x18265a,'type':_0x13093f,'hasComments':_0x2c4e9d,'data':_0x4eb5a3['data']||null,'originalSuggestionId':_0x4eb5a3['originalSuggestionId']||null,'attributes':_0x116c06['attributes']};this['_adapter']['addSuggestion'](_0x937997)['then'](_0x2ab347=>{_0x116c06['_saved']=!0x0,_0x46dd63['remove'](_0x58fa4),_0x2ab347&&_0x2ab347['createdAt']&&(this['_suggestions']['get'](_0x18265a)['createdAt']=_0x2ab347['createdAt']);})['catch'](_0x3ecdf0=>{throw _0x5eb6e4('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x116c06['discard']();}),_0x116c06['stopListening'](),this['_suggestions']['delete'](_0x116c06['id']),this['_suggestionState']['delete'](_0x116c06),_0x3ecdf0;});}return _0x116c06;}['_updateSuggestionData'](_0x1bdf46,_0x51b944){const _0x1c5de8=this['editor']['plugins']['get']('PendingActions'),_0x2cde7b=this['getSuggestion'](_0x1bdf46);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x2cde7b['_saved']){const _0x307941=_0x1c5de8['add'](Cy(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x1bdf46,_0x51b944)['then'](()=>{_0x1c5de8['remove'](_0x307941);});}else _0x2cde7b['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x1bdf46,_0x51b944);});}}['_getSuggestionData'](_0xb828c9){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x3ae0e8('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0xb828c9);}['_handleNewSuggestionMarker'](_0x3a7a68){const {id:_0x47331a,type:_0x5dfb96,subType:_0x339a95,authorId:_0x501e9e}=xc(_0x3a7a68),_0x554cf1=this['_suggestions']['get'](_0x47331a)||this['_createSuggestion'](_0x5dfb96,_0x339a95,_0x47331a,_0x501e9e,{});switch(this['_checkSuggestionCorrectness'](_0x554cf1,_0x5dfb96,_0x339a95,_0x501e9e),this['_suggestionState']['get'](_0x554cf1)){case'notReady':this['_getSuggestionData'](_0x47331a)['then'](_0xc76d63=>{let _0x27e90e=Promise['resolve']();_0xc76d63['hasComments']&&(_0x27e90e=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x47331a})),_0x27e90e['then'](()=>{this['addSuggestionData'](_0xc76d63)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x554cf1,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x47331a,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x554cf1,'ready'),this['fire']('suggestionLoaded',_0x554cf1);break;case'ready':this['fire']('suggestionChanged',_0x554cf1);}return _0x554cf1['addMarkerName'](_0x3a7a68),_0x554cf1;}['_refreshSuggestionsChain'](_0x4005a2){const _0x2ab6db=Array['from'](_0x4005a2),_0x27ecf6=_0x2ab6db['filter'](_0x193781=>'attribute'==_0x193781['type']);this['_refreshAttributeSuggestionsChain'](_0x27ecf6);const _0x6d9325=_0x2ab6db['filter'](_0x775f2=>!_0x775f2['isMultiRange']&&'attribute'!=_0x775f2['type']),_0x2c04ec=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x207a40=>!_0x207a40['isMultiRange']&&'attribute'!=_0x207a40['type']),_0x2afae1=_0x2c04ec['filter'](_0x388a81=>!_0x4005a2['has'](_0x388a81)),_0x36b4d3=new Map(_0x2c04ec['map'](_0xac8d2d=>[_0xac8d2d,this['_suggestionFactory']['getSuggestionCallback'](_0xac8d2d['type'],_0xac8d2d['subType'],'chain')])),_0x7afb78=new Map(_0x2c04ec['map'](_0x2fbd06=>[_0x2fbd06,_0x2fbd06['getFirstRange']()])),_0x3d3162=new Set(),_0x266c30=new Set();for(let _0x30f25b=0x0;_0x30f25b<_0x6d9325['length'];_0x30f25b++)_0x137553(_0x6d9325[_0x30f25b],_0x6d9325,_0x30f25b+0x1);for(let _0x281cf9=0x0;_0x281cf9<_0x6d9325['length'];_0x281cf9++)_0x137553(_0x6d9325[_0x281cf9],_0x2afae1,0x0);const _0x24c1cb=new Set();for(let _0x2fb0c0=0x0;_0x2fb0c0<_0x6d9325['length'];_0x2fb0c0++){const _0x59292a=_0x6d9325[_0x2fb0c0];!_0x266c30['has'](_0x59292a)&&_0x59292a['previous']&&(_0x24c1cb['add'](_0x59292a['previous']),_0x59292a['previous']['next']===_0x59292a&&(_0x59292a['previous']['next']=null),_0x59292a['previous']=null),!_0x3d3162['has'](_0x59292a)&&_0x59292a['next']&&(_0x24c1cb['add'](_0x59292a['next']),_0x59292a['next']['previous']===_0x59292a&&(_0x59292a['next']['previous']=null),_0x59292a['next']=null);}function _0x137553(_0x1c3573,_0x182bc6,_0x3663f9){for(let _0x546930=_0x3663f9;_0x546930<_0x182bc6['length'];_0x546930++){const _0x596845=_0x55256f(_0x1c3573,_0x182bc6[_0x546930]);_0x596845&&(_0x596845[0x0]['next']=_0x596845[0x1],_0x596845[0x1]['previous']=_0x596845[0x0],_0x3d3162['add'](_0x596845[0x0]),_0x266c30['add'](_0x596845[0x1]));}}function _0x55256f(_0x417c7d,_0x4031d5){if(_0x417c7d['author']['id']!==_0x4031d5['author']['id'])return null;const _0x1b02a7=_0x36b4d3['get'](_0x417c7d)(_0x417c7d,_0x4031d5,_0x7afb78['get'](_0x417c7d),_0x7afb78['get'](_0x4031d5));if(!_0x1b02a7)return null;return _0x36b4d3['get'](_0x4031d5)(_0x417c7d,_0x4031d5,_0x7afb78['get'](_0x417c7d),_0x7afb78['get'](_0x4031d5))?_0x1b02a7[0x1]['commentThread']&&_0x1b02a7[0x1]['commentThread']['length']?null:_0x1b02a7:null;}_0x24c1cb['size']&&this['_refreshSuggestionsChain'](_0x24c1cb);}['_refreshAttributeSuggestionsChain'](_0x1c9ac6){if(0x0==_0x1c9ac6['length'])return;const _0x56d720=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x48a90c=>'attribute'==_0x48a90c['type']&&_0x48a90c['_isDataLoaded']),_0x6d3548=[],_0x30b28c=new Map();for(const _0x2205fe of _0x56d720){const _0x31126e=Rd(_0x2205fe['attributes']);_0x30b28c['has'](_0x31126e)||(_0x30b28c['set'](_0x31126e,_0x6d3548['length']),_0x6d3548['push']([]));const _0x2eb69a=_0x30b28c['get'](_0x31126e);_0x6d3548[_0x2eb69a]['push'](_0x2205fe);}!(function(){_0x6d3548['sort']((_0x1600af,_0x572bb5)=>{const _0x4573ea=_0x1600af[0x0]['createdAt'],_0x277ccc=_0x572bb5[0x0]['createdAt'];return _0x4573ea==_0x277ccc?_0x1600af[0x0]['attributes']['groupId']<_0x572bb5[0x0]['attributes']['groupId']?-0x1:0x1:_0x4573ea<_0x277ccc?-0x1:0x1;});for(const _0x3ac8c2 of _0x6d3548)_0x3ac8c2['sort']((_0x45320f,_0x59499f)=>_0x45320f['id']<_0x59499f['id']?-0x1:0x1);}());for(let _0x26c4e2=0x0;_0x26c4e2<_0x6d3548['length'];_0x26c4e2++){if(0x0==_0x6d3548[_0x26c4e2]['length'])continue;const _0x4f6d52=[];for(let _0x2a8fc9=_0x26c4e2+0x1;_0x2a8fc9<_0x6d3548['length'];_0x2a8fc9++)0x0!=_0x6d3548[_0x2a8fc9]['length']&&_0x58704f(_0x6d3548[_0x26c4e2],_0x6d3548[_0x2a8fc9])&&_0x4f6d52['push'](_0x2a8fc9);for(const _0x39841d of _0x4f6d52)_0x6d3548[_0x26c4e2]=_0x6d3548[_0x26c4e2]['concat'](_0x6d3548[_0x39841d]),_0x6d3548[_0x39841d]=[];}for(const _0x3e4946 of _0x6d3548)for(let _0x4da053=0x0;_0x4da053<_0x3e4946['length'];_0x4da053++){const _0x3b078f=_0x3e4946[_0x4da053+0x1]||null;_0x3e4946[_0x4da053]['next']!==_0x3b078f&&(_0x3e4946[_0x4da053]['next']=_0x3b078f);}for(const _0x49a2f7 of _0x6d3548)for(let _0x1546bb=0x0;_0x1546bb<_0x49a2f7['length'];_0x1546bb++){const _0x2f0396=_0x49a2f7[_0x1546bb-0x1]||null;_0x49a2f7[_0x1546bb]['previous']!==_0x2f0396&&(_0x49a2f7[_0x1546bb]['previous']=_0x2f0396);}function _0x58704f(_0x3d8653,_0x4f0511){if(_0x3d8653[0x0]['attributes']['groupId']!==_0x4f0511[0x0]['attributes']['groupId']&&_0x3d8653[0x0]['author']!==_0x4f0511[0x0]['author'])return!0x1;if(!function(_0x4ec53c,_0x536c9a){if(!_0x4ec53c['hasComments']&&!_0x536c9a['hasComments'])return!0x0;if(_0x4ec53c['hasComments']&&_0x536c9a['hasComments'])return!0x1;if(_0x4ec53c['hasComments']&&_0x536c9a['createdAt']<_0x4ec53c['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x536c9a['hasComments']&&_0x4ec53c['createdAt']<_0x536c9a['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x3d8653[0x0],_0x4f0511[0x0]))return!0x1;if(!qr(to(_0x3d8653[0x0]['attributes'],['groupId','trackingSessionId']),to(_0x4f0511[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x3d8653[0x0]['attributes']['groupId']==_0x4f0511[0x0]['attributes']['groupId'])return!0x0;if(_0x3d8653[0x0]['attributes']['trackingSessionId']!==_0x4f0511[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x3d8653['every'](_0x5b746d=>_0x4f0511['some'](_0x3bccb0=>_0x5b746d['getFirstRange']()['isEqual'](_0x3bccb0['getFirstRange']())))&&_0x4f0511['every'](_0x9e4bde=>_0x3d8653['some'](_0x413716=>_0x9e4bde['getFirstRange']()['isEqual'](_0x413716['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x134b0b){const _0x17657c=Array['from'](_0x134b0b),_0x5f7491=this['getSuggestions']({'skipNotAttached':!0x0}),_0xb14d4b=_0x5f7491['filter'](_0x543965=>!_0x134b0b['has'](_0x543965)),_0x3bd0bc=new Map(_0x17657c['map'](_0x3e3bb3=>[_0x3e3bb3,this['_suggestionFactory']['getSuggestionCallback'](_0x3e3bb3['type'],_0x3e3bb3['subType'],'join')])),_0x5423f8=new Map(_0x5f7491['map'](_0x89c59c=>[_0x89c59c,_0x89c59c['getRanges']()]));for(let _0x14fa0d=0x0;_0x14fa0d<_0x17657c['length'];_0x14fa0d++){if(_0x210c5e(this,_0x17657c[_0x14fa0d],_0x17657c,_0x14fa0d+0x1))return!0x0;}for(let _0x294f8a=0x0;_0x294f8a<_0x17657c['length'];_0x294f8a++){if(_0x210c5e(this,_0x17657c[_0x294f8a],_0xb14d4b,0x0))return!0x0;}return!0x1;function _0x210c5e(_0x1d801d,_0x3401a5,_0x477ce5,_0x22123b){for(let _0x23700f=_0x22123b;_0x23700f<_0x477ce5['length'];_0x23700f++){const _0x225386=_0x477ce5[_0x23700f];if(_0x225386['type']!==_0x3401a5['type']||_0x225386['author']['id']!==_0x3401a5['author']['id']||_0x225386['subType']!==_0x3401a5['subType'])continue;if(!iv(_0x3401a5,_0x225386))continue;if('attribute'==_0x3401a5['type']&&_0x3401a5['data']['oldValue']!=_0x225386['data']['oldValue'])continue;if('attribute'==_0x3401a5['type']&&_0x1d801d['_suggestionsConversion']['isBlockAttribute'](_0x3401a5['data']['key']))continue;if('formatBlock'==_0x3401a5['type']){const _0x518700=_0x1d801d['editor']['model'],_0x2f20fb=_0x3401a5['getContainedElement']();if(_0x2f20fb&&(_0x518700['schema']['isObject'](_0x2f20fb)||_0x518700['schema']['isLimit'](_0x2f20fb)))continue;}const _0x60464c=_0x3bd0bc['get'](_0x3401a5),_0x4c7fef=_0x5423f8['get'](_0x3401a5),_0x30f81a=_0x5423f8['get'](_0x225386),_0x291f49=_0x3401a5['commentThread']&&_0x3401a5['commentThread']['length'],_0x5ecd8e=_0x225386['commentThread']&&_0x225386['commentThread']['length'];if(!_0x291f49&&_0x60464c(_0x30f81a,_0x4c7fef))return _0x1d801d['_joinSuggestions'](_0x225386,_0x3401a5),_0x5423f8['delete'](_0x3401a5),!0x0;if(!_0x5ecd8e&&_0x60464c(_0x4c7fef,_0x30f81a))return _0x1d801d['_joinSuggestions'](_0x3401a5,_0x225386),_0x5423f8['delete'](_0x225386),!0x0;}return!0x1;}}['_joinSuggestions'](_0x3f0e6c,_0x7dd381){if(_0x3f0e6c['isMultiRange']){for(const _0x26553a of _0x7dd381['getRanges']())_0x3f0e6c['addRange'](_0x26553a);}else{const _0x486eda=_0x7dd381['getFirstRange']()['end'];this['_setSuggestionRange'](_0x3f0e6c,this['_model']['createRange'](_0x3f0e6c['getFirstRange']()['start'],_0x486eda));}_0x7dd381['removeMarkers']();}['_getMarkerAnnouncementText'](_0x2db758,_0x2d2ccb,_0x292fb4){const _0x479387=_0x2db758['startsWith']('format')||_0x2db758['startsWith']('attribute')?'FORMATTING':_0x2db758['toUpperCase']();return Cy(this['editor']['locale'],_0x2d2ccb+'_'+_0x479387+'_SUGGESTION_ANNOUNCEMENT',_0x292fb4);}['_initAriaMarkerChangeAnnouncements'](){const _0x25eb3f=this['editor'];if(!_0x25eb3f['ui'])return;const {ariaLiveAnnouncer:_0x2c7faa}=_0x25eb3f['ui'];Bd(this['_model'],({left:_0x24f027,entered:_0x2ca47a})=>{for(const _0x19d4c8 of _0x24f027){const {group:_0x1be49b,type:_0x150a60}=xc(_0x19d4c8['name']);if('suggestion'===_0x1be49b){_0x2c7faa['announce'](this['_getMarkerAnnouncementText'](_0x150a60,'LEAVE'));break;}}for(const _0x5db451 of _0x2ca47a){const {group:_0x2e5e6f,type:_0x527240}=xc(_0x5db451['name']);if('suggestion'===_0x2e5e6f){_0x2c7faa['announce'](this['_getMarkerAnnouncementText'](_0x527240,'ENTER',_0x5d4350(jd)));break;}}});}['_processAttributeChanges'](_0xd20e14){if(this['_recordAttributeSuggestions'])return!0x1;const _0x2e54de=this['editor'],_0x2a3520=_0x2e54de['model']['document']['differ']['getChanges']();if(0x0==_0x2a3520['length'])return!0x1;const _0x1d0fd0=[],_0x501bb2=_0x2a3520['filter'](_0x2189eb=>'attribute'==_0x2189eb['type']),_0x468f30=_0x2a3520['filter'](_0x8d254e=>'insert'==_0x8d254e['type']&&'$text'!=_0x8d254e['name']),_0x53c605=_0x2a3520['filter'](_0x499e10=>'remove'==_0x499e10['type']&&'$text'!=_0x499e10['name']);for(const _0x18296d of _0x501bb2)_0x1d0fd0['push']({'key':_0x18296d['attributeKey'],'newValue':_0x18296d['attributeNewValue'],'oldValue':_0x18296d['attributeOldValue'],'range':Jy(_0x18296d['range'],_0x2e54de['model'])});for(const _0x58698b of _0x468f30){const _0x34346b=_0x53c605['find'](_0x584008=>_0x584008['position']['isEqual'](_0x58698b['position']));_0x34346b&&_0x1d0fd0['push']({'key':Gy,'newValue':_0x58698b['name'],'oldValue':_0x34346b['name'],'range':_0x2e54de['model']['createRangeOn'](_0x58698b['position']['nodeAfter'])});}return 0x0!=_0x1d0fd0['length']&&this['_reduceExistingSuggestions'](_0xd20e14,_0x1d0fd0);}['_processAttributeSuggestions'](_0x2f3fc3){let _0x4cd6e3=!0x1;const _0x2c0e32=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x24671d=>_0x24671d['data']['newRange']&&_0x24671d['name']['startsWith']('suggestion:attribute:'));for(const _0x3b74e6 of _0x2c0e32){const {subType:_0xe5328,id:_0x5bb088}=xc(_0x3b74e6['name']),_0x51739e=_0xe5328['split']('|')[0x0];for(const _0x5e2b7d of this['getSuggestions']({'skipNotAttached':!0x0}))_0x5e2b7d['id']!=_0x5bb088&&'attribute'==_0x5e2b7d['type']&&_0x5e2b7d['data']&&_0x5e2b7d['data']['key']==_0x51739e&&_0x5e2b7d['getFirstRange']()['isIntersecting'](_0x3b74e6['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5e2b7d,_0x3b74e6['data']['newRange'],_0x2f3fc3),_0x4cd6e3=!0x0);}return _0x4cd6e3;}['recordAttributeChanges'](_0x5e2439){this['_recordAttributeSuggestions']=!0x0,_0x5e2439();}['_reduceExistingSuggestions'](_0x14f7cd,_0x242822){if(0x0==_0x242822['length'])return!0x1;let _0x1d6a80=!0x1;for(const _0x56fb73 of _0x242822){const _0x4e510c=this['_findSuggestions'](_0x56fb73['range'],'attribute')['filter'](_0xda5921=>!_0xda5921['meta']['isNextTo'])['map'](_0x29667e=>_0x29667e['suggestion']),_0x1cfad5=Rd({'newValue':_0x56fb73['newValue']});_0x4e510c['filter'](_0x36bbc1=>{const [_0xfd8979,_0x3754c8]=_0x36bbc1['subType']['split']('|');return _0xfd8979==_0x56fb73['key']&&_0x3754c8!=_0x1cfad5;})['forEach'](_0x3a88d7=>{this['_reduceSuggestionAttributeRange'](_0x3a88d7,_0x56fb73['range'],_0x14f7cd),_0x1d6a80=!0x0;});}return _0x1d6a80;}['_reduceSuggestionAttributeRange'](_0x10557d,_0x573ddb,_0x1f6814){const _0x3705a7=_0x10557d['getFirstRange']()['getDifference'](_0x573ddb);0x0!==_0x3705a7['length']?0x1!==_0x3705a7['length']?this['_breakSuggestionMarker'](_0x10557d,_0x573ddb['start'],_0x573ddb['end']):this['_setSuggestionRange'](_0x10557d,_0x3705a7[0x0]):_0x1f6814['removeMarker'](_0x10557d['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x5efe84){this['_editor']=_0x5efe84,this['_model']=_0x5efe84['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0xcc58b6,_0x3981cb,_0x3eceb4,_0x778ee1,_0x329094,_0x56579c,_0x512e60){return new Suggestion(this['_model'],{'type':_0xcc58b6,'subType':_0x3981cb,'id':_0x3eceb4,'originalSuggestionId':_0x512e60,'author':_0x778ee1,'creator':_0x778ee1,'attributes':_0x329094,'onAttributesChange':_0x56579c,'onAccept':(..._0x4d96b5)=>this['getSuggestionCallback'](_0xcc58b6,_0x3981cb,'accept')(..._0x4d96b5),'onDiscard':(..._0x19946e)=>this['getSuggestionCallback'](_0xcc58b6,_0x3981cb,'discard')(..._0x19946e)});}['registerCustomCallback'](_0x1e2384,_0x3b1cd5,_0x48528e,_0x3ac7d0){const _0x568d91=_0x1e2384+':'+_0x3b1cd5+':'+_0x48528e;this['_customCallbacks']['set'](_0x568d91,_0x3ac7d0);}['getSuggestionCallback'](_0x4c8663,_0x9fe31e,_0x2a4672){const _0xa926a9=_0x4c8663+':'+_0x9fe31e+':'+_0x2a4672;return this['_customCallbacks']['get'](_0xa926a9)||this['_defaultCallbacks']['get'](_0x4c8663+':'+_0x2a4672);}['_registerDefaultCallbacks'](){const _0x2c8aed=()=>!0x1,_0x44ea50=_0x46baa0=>{_0x46baa0['sort']((_0xe8612b,_0x42734d)=>_0xe8612b['start']['isBefore'](_0x42734d['start'])?0x1:-0x1),this['_model']['change'](_0x51f1cb=>{for(const _0x257cae of _0x46baa0){let _0x1dea02;_0x1dea02=_0x257cae['end']['isAtEnd']&&_0x257cae['end']['parent']==_0x257cae['start']['nodeAfter']?_0x51f1cb['createSelection'](_0x257cae['start']['nodeAfter'],'on'):_0x51f1cb['createSelection'](_0x257cae),this['_model']['deleteContent'](_0x1dea02,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x123f4b=(_0x1a2c3c,_0x130b3d)=>{_0x130b3d&&this['_model']['change'](_0x4fe613=>{const {commandName:_0x122d57,commandParams:_0x359d7f=[]}=_0x130b3d,_0x57d167=_0x1a2c3c['map'](_0x47c1fb=>(Xy(_0x47c1fb)&&(_0x47c1fb=this['_model']['createRange'](_0x47c1fb['end'])),_0x47c1fb))['filter'](_0x3b9d89=>'$graveyard'!==_0x3b9d89['root']['rootName']);if(_0x57d167['length']<0x1)return;const _0x1d5e4f=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x5e28fb=>_0x495f74['fromRange'](_0x5e28fb));_0x4fe613['setSelection'](_0x57d167);for(const _0x406c78 of this['_editor']['commands']['commands']())_0x406c78['refresh']();_0x359d7f['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x122d57,..._0x359d7f);const _0xdf5e5c=_0x1d5e4f['filter'](_0x515df5=>'$graveyard'!=_0x515df5['root']['rootName']);_0xdf5e5c['length']>0x0&&_0x4fe613['setSelection'](_0xdf5e5c);for(const _0x58d6ee of _0x1d5e4f)_0x58d6ee['detach']();});},_0x18e230=(_0x745a87,_0x2a0084)=>0x1==_0x745a87['length']&&0x1==_0x2a0084['length']&&_0x745a87[0x0]['end']['isEqual'](_0x2a0084[0x0]['start']),_0x178f93=(_0x55942e,_0x369970,_0x4dc0bb,_0x48999a)=>ev(_0x55942e,_0x369970,_0x4dc0bb,_0x48999a)?[_0x55942e,_0x369970]:ev(_0x369970,_0x55942e,_0x48999a,_0x4dc0bb)?[_0x369970,_0x55942e]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x2c8aed),this['_defaultCallbacks']['set']('insertion:discard',_0x44ea50),this['_defaultCallbacks']['set']('insertion:join',_0x18e230),this['_defaultCallbacks']['set']('insertion:chain',_0x178f93),this['_defaultCallbacks']['set']('deletion:accept',_0x44ea50),this['_defaultCallbacks']['set']('deletion:discard',_0x2c8aed),this['_defaultCallbacks']['set']('deletion:join',_0x18e230),this['_defaultCallbacks']['set']('deletion:chain',_0x178f93),this['_defaultCallbacks']['set']('formatInline:accept',_0x123f4b),this['_defaultCallbacks']['set']('formatInline:discard',_0x2c8aed),this['_defaultCallbacks']['set']('formatInline:join',_0x18e230),this['_defaultCallbacks']['set']('formatInline:chain',_0x2c8aed),this['_defaultCallbacks']['set']('formatBlock:accept',_0x123f4b),this['_defaultCallbacks']['set']('formatBlock:discard',_0x2c8aed),this['_defaultCallbacks']['set']('formatBlock:join',_0x18e230),this['_defaultCallbacks']['set']('formatBlock:chain',_0x2c8aed),this['_defaultCallbacks']['set']('attribute:accept',_0x2c8aed),this['_defaultCallbacks']['set']('attribute:discard',(_0x54b4c2,_0x429c96)=>{if(!_0x429c96)return;const _0xbd13ea=this['_editor']['plugins']['get'](SuggestionsConversion);this['_model']['change'](_0x5b2909=>{if(_0x429c96['key']==Gy)for(const _0x1448fc of _0x54b4c2){const _0x5725ca=_0x1448fc['start']['nodeAfter'],_0x44375d=_0x429c96['oldValue'];_0x5b2909['rename'](_0x5725ca,_0x44375d);}else{if(_0xbd13ea['isBlockAttribute'](_0x429c96['key'])){for(const _0x5a1dc8 of _0x54b4c2)void 0x0!==_0x429c96['oldValue']?_0x5b2909['setAttribute'](_0x429c96['key'],_0x429c96['oldValue'],_0x5a1dc8['start']['nodeAfter']):_0x5b2909['removeAttribute'](_0x429c96['key'],_0x5a1dc8['start']['nodeAfter']);}else{for(const _0x714450 of _0x54b4c2)_0x429c96['oldValue']?_0x5b2909['setAttribute'](_0x429c96['key'],_0x429c96['oldValue'],_0x714450):_0x5b2909['removeAttribute'](_0x429c96['key'],_0x714450);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x18e230);}}function Zy(_0x540128,_0x3900f8,_0x5039e9){for(const _0x1b8a44 of _0x3900f8['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1b8a44['root']==_0x1b8a44)return!0x1;if(!_0x5039e9['containsItem'](_0x1b8a44))return!0x1;if(_0x540128['isObject'](_0x1b8a44)||_0x540128['isLimit'](_0x1b8a44))return!0x0;}return!0x1;}function Xy(_0x164c7f){return _0x164c7f['end']['parent']==_0x164c7f['start']['nodeAfter']&&_0x164c7f['end']['isAtStart'];}function qy(_0x53ff66,_0x4dad32,_0x5af9de,_0x2459a2){const _0x5ed8ed=_0x40269d=>!_0x40269d['item']['is']('$textProxy')&&!_0x2459a2['isObject'](_0x40269d['item']),_0x3b95bc=_0x53ff66['start']['getLastMatchingPosition'](_0x5ed8ed),_0xc3e1fc=_0x53ff66['end']['getLastMatchingPosition'](_0x5ed8ed,{'direction':'backward'});return(!_0x53ff66['start']['isEqual'](_0x3b95bc)||!_0x53ff66['end']['isEqual'](_0xc3e1fc))&&(_0x3b95bc['isBefore'](_0xc3e1fc)?_0x5af9de['updateMarker'](_0x4dad32,{'range':_0x5af9de['createRange'](_0x3b95bc,_0xc3e1fc)}):_0x5af9de['removeMarker'](_0x4dad32),!0x0);}function Wy(_0x3d8245){return Rd(_0x3d8245);}function zy(_0xa51fdc){const _0x54cc81=_0xa51fdc['start']['nodeAfter'];return _0x54cc81&&_0x54cc81['is']('element');}function Yy(_0x3a6dc5){return Xy(_0x3a6dc5)||function(_0x3f6a2e){return _0x3f6a2e['start']['parent']==_0x3f6a2e['end']['nodeBefore']&&_0x3f6a2e['start']['isAtEnd'];}(_0x3a6dc5);}function Ky(_0x46a3af,_0x25e61a){try{const _0x56a94c=_0x46a3af['getRange']();for(const _0x569938 of _0x25e61a)if(_0x46a3af!==_0x569938&&_0x56a94c&&_0x56a94c['isIntersecting'](_0x569938['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function Jy(_0x370f55,_0x11ee02){return null==_0x370f55['end']['nodeBefore']&&_0x370f55['end']['parent']==_0x370f55['start']['nodeAfter']?tv(_0x370f55['start']['nodeAfter'],_0x11ee02):_0x370f55;}function tv(_0x568093,_0x36f5d5){const _0x3a2f49=_0x36f5d5['schema']['isObject'](_0x568093)||_0x36f5d5['schema']['isSelectable'](_0x568093);return _0x36f5d5['createRange'](_0x36f5d5['createPositionAt'](_0x568093,'before'),_0x3a2f49?_0x36f5d5['createPositionAfter'](_0x568093):_0x36f5d5['createPositionAt'](_0x568093,'end'));}function ev(_0x21e2ce,_0x42b4ec,_0x241ce3,_0x4f7aa2){return!!iv(_0x21e2ce,_0x42b4ec)&&_0x241ce3['end']['isEqual'](_0x4f7aa2['start']);}function iv(_0x9e6363,_0x4625a6){if(!_0x9e6363['_isDataLoaded']||!_0x4625a6['_isDataLoaded'])return!0x1;const _0x1021a3=new Set(Object['keys'](_0x9e6363['attributes'])),_0x405434=new Set(Object['keys'](_0x4625a6['attributes']));if(_0x1021a3['delete']('groupId'),_0x405434['delete']('groupId'),0x0==_0x1021a3['size']&&0x0==_0x405434['size'])return!0x0;if(_0x1021a3['size']!=_0x405434['size'])return!0x1;const _0x15bda2={..._0x9e6363['attributes']},_0x23ab63={..._0x4625a6['attributes']};return delete _0x15bda2['groupId'],delete _0x23ab63['groupId'],JSON['stringify'](_0x15bda2)==JSON['stringify'](_0x23ab63);}function sv(_0x364c8c,_0x5b0ee8){const _0x3a032d=nv(_0x364c8c['attributes']),_0x1e9064=nv(_0x5b0ee8);if(!_0x364c8c['_isDataLoaded'])return!0x1;for(const _0x1c3321 of Object['keys'](_0x1e9064))if(!qr(_0x3a032d[_0x1c3321],_0x1e9064[_0x1c3321]))return!0x1;return!0x0;}function nv(_0x3836b1){const _0x4e28b3=Object['assign']({},_0x3836b1);return delete _0x4e28b3['skipNestingCheck'],delete _0x4e28b3['tablePasteChainId'],_0x4e28b3;}function rv(_0x1d6c9e){return _0x1d6c9e['split']('|')[0x0];}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x18fa86(){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x2eec06,_0xe3813a,_0x2af535,_0x30fa39){super(),this['model']=_0xe3813a,this['view']=_0x2af535,this['commentThreadController']=_0x30fa39,this['_editor']=_0x2eec06,this['_acceptCommand']=_0x2eec06['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x2eec06['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x390cc9,_0x75d979)=>_0x390cc9||_0x75d979),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x4226d5=>_0x4226d5&&this['_editor']['model']['canEditAt'](_0xe3813a['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x183220=>_0x183220&&this['_editor']['model']['canEditAt'](_0xe3813a['getRanges']())),this['_pendingAction']=null,_0x2af535['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x2af535,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x2af535,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x2af535,'change:isDirty',()=>{_0x2af535['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 _0x41150d=Cy(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x41150d);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0x278baa{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x25d6d7,_0x349171,_0x3a8c9c,_0x3586e8){super(_0x25d6d7),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x25d6d7,Cy(_0x25d6d7,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x349171['authoredAt']),this['bind']('authoredAt')['to'](_0x349171),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',_0x349171,'authoredAt',this,'descriptionParts',(_0x2802b4,_0x59d85a,_0x409a25)=>{const _0x5cdf52=_0x409a25['map'](_0x3f3466=>_y(_0x3f3466['content']))['join']('.\x20')+'.';return Cy(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x2802b4-0x1,_0x349171['author']['name'],_0x59d85a?_0x3586e8['formatDateTime'](_0x59d85a):'',new DOMParser()['parseFromString'](_0x5cdf52,'text/html')['body']['textContent']]);}),this['focusables']=new Et(),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x30b50e=>_0x30b50e['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x349171,this['_localUser']=_0x3a8c9c,this['_config']=_0x3586e8,_0x3586e8['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),Fd(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x28fe12}=this['_config'];this['commentsListView']=new _0x28fe12(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',_0x24001c=>_0x24001c+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x72ef9e,_0x544e15)=>_0x72ef9e||!!_0x544e15);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0xd3ea90}=this['_config'],_0x3015d9=new _0xd3ea90(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x1894d0=_0x3015d9['commentInputView'];return _0x3015d9['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x1894d0,'value',(_0x2e381a,_0x520531,_0x1dd671)=>!!_0x1dd671||_0x2e381a&&!_0x520531),_0x1894d0['on']('submit',(_0x3eb1fb,_0x1ffb13)=>{this['fire']('addComment',_0x1ffb13),_0x1894d0['editor']['setData']('');}),_0x1894d0['on']('cancel',()=>this['focus']()),_0x1894d0['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x3015d9;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x216775,_0x3fb163,_0xd45ff,_0x518b22){super(_0x216775,_0x3fb163,_0xd45ff,_0x518b22),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x15ff53=>_0x15ff53&&_0x15ff53[0x0]?_0x15ff53[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x480007,_0x540afa)=>{let _0x25ef69='';for(const _0x2da917 of _0x480007)_0x25ef69+='<p>'+_y(_0x2da917['content'],_0x2da917['color'])+'</p>';return _0x540afa?_0x25ef69:Cd(_0x25ef69,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x518b22['SuggestionView'](_0x216775,_0x3fb163,{'formatDateTime':_0x518b22['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 _0x2c7e52=this['bindTemplate'],_0x1b6102=[this['suggestionView']];this['commentsListView']&&_0x1b6102['push'](this['commentsListView']),this['commentThreadInputView']&&_0x1b6102['push'](this['commentThreadInputView']),_0x1b6102['push'](this['ariaDescriptionView']);const _0x58a571={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x2c7e52['if']('isActive','ck-suggestion-wrapper--active'),_0x2c7e52['to']('type',_0x2dd89d=>'ck-suggestion-'+_0x2dd89d),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':_0x2c7e52['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x1b6102};return _0x58a571;}['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 _0x278baa{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x88f51,_0x2f0937,_0x720390){super(_0x88f51),this['_model']=_0x2f0937,this['_config']=_0x720390,this['set']('description',''),this['bind']('authoredAt')['to'](_0x2f0937),this['acceptButton']=this['_createButton'](Cy(_0x88f51,'Accept\x20suggestion'),_0x28777c,'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](Cy(_0x88f51,'Discard\x20suggestion'),_0x592cb9,'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new UserView(_0x88f51,_0x2f0937['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new Et([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x275ae7=>_0x275ae7['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x40760f=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x40760f['innerHTML']=this['description'],this['on']('change:description',(_0x165a8d,_0x1612b4,_0x40f105)=>{_0x40760f['innerHTML']=_0x40f105;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x42b3cc=this['bindTemplate'],_0x1b31b1=[{'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':_0x42b3cc['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x42b3cc['to']('authoredAt',_0x3daa2b=>this['_config']['formatDateTime'](_0x3daa2b))}]}]},{'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']&&_0x1b31b1['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':_0x1b31b1}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?Cy(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):Cy(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?Cy(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):Cy(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x369b70,_0x1e7bd4,_0x30f26a,_0x1ed47b,_0x5cfc70){const _0x4122a0=new LateFocusButtonView(this['locale']);return _0x4122a0['set']({'label':_0x369b70,'icon':_0x1e7bd4,'tooltip':!0x0,'tooltipPosition':_0x5cfc70}),_0x4122a0['extendTemplate']({'attributes':{'class':_0x30f26a}}),_0x4122a0['on']('execute',()=>{this['fire'](_0x1ed47b,this['_model']['id']);}),_0x4122a0;}['_setupKeyboardNavigation'](){const _0x58614f=this['element'];this['keystrokes']['listenTo'](_0x58614f);for(const _0x36e1c9 of this['focusables'])this['focusTracker']['add'](_0x36e1c9['element']),this['keystrokes']['listenTo'](_0x36e1c9['element']);this['keystrokes']['set']('enter',(_0x45ae9f,_0x27aca8)=>{_0x58614f===_0x45ae9f['target']&&(this['focusCycler']['focusFirst'](),_0x27aca8());}),this['keystrokes']['set']('esc',(_0x105719,_0x5f4135)=>{_0x58614f!==_0x105719['target']&&(this['focus'](),_0x5f4135());});}}class TrackChangesUI extends _0x7cf71c{['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(_0x23a656){super(_0x23a656),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0xd83d8a=this['editor']['config'];_0xd83d8a['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0xd83d8a['define']('trackChanges.SuggestionView',SuggestionView),_0xd83d8a['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0xd83d8a['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x328922,_0x20fac8){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0xdd7ddd,_0x3d06cd]of this['_handleControllerBuffer']){const _0x5c8b86=this['_suggestionToController']['has'](_0xdd7ddd);_0x5c8b86||_0x3d06cd?_0x5c8b86&&_0x3d06cd&&this['_destroyController'](_0xdd7ddd):this['_initializeController'](_0xdd7ddd);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](EditorAnnotations)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x328922,_0x20fac8);}['init'](){const _0x2aad36=this['editor'],_0x2b2f9d=_0x2aad36['plugins']['get'](TrackChangesEditing),_0x54eac4=_0x2aad36['plugins']['get'](Annotations),_0x543e2b=_0x2aad36['plugins']['get'](EditorAnnotations),_0x3cce91=_0x2aad36['plugins']['get'](CommentsRepository);this['_addUIComponentsToFactory'](),_0x543e2b['addSourceCollector'](()=>{const _0xfd6d22=[];for(const [_0x3a971a,_0xb241a2]of Array['from'](this['_suggestionToController'])){const _0x3e151e=_0x3a971a['getAllAdjacentSuggestions'](),_0x40b912=[];for(const _0x2041d0 of _0x3e151e){if(!_0x2041d0['isInContent'])continue;if(_0x2041d0['isMultiRange']){_0x40b912['push'](..._0x2041d0['getRanges']());continue;}const _0x356a8=_0x2041d0['getFirstRange']();if(_0x40b912['length']>0x0){const _0x29008a=_0x40b912[0x0]['getJoined'](_0x356a8);if(_0x29008a){_0x40b912[0x0]=_0x29008a;continue;}}_0x40b912['push'](_0x356a8);}_0xfd6d22['push']([_0xb241a2['view'],_0x40b912]);}return _0xfd6d22;}),this['listenTo'](_0x2b2f9d,'suggestionLoaded',(_0x2d9794,_0x2f817f)=>{this['listenTo'](_0x2f817f,'change:previous',(_0x4c2cc5,_0x39338d,_0x382894,_0x15e489)=>{_0x2f817f['isInContent']&&(null==_0x382894?(this['_updateController'](_0x15e489['head']),this['_handleSuggestionControllerDelayed'](_0x2f817f,!0x1)):(this['_updateController'](_0x382894['head']),null==_0x15e489&&this['_handleSuggestionControllerDelayed'](_0x2f817f,!0x0)));}),null!==_0x2f817f['previous']?this['_updateController'](_0x2f817f['head']):this['_handleSuggestionControllerDelayed'](_0x2f817f,!0x1);}),this['listenTo'](_0x2b2f9d,'suggestionUnloaded',(_0x16435b,_0x2b7dcc,_0x30ef55)=>{this['stopListening'](_0x2b7dcc,'change:previous'),this['_handleControllerBuffer']['delete'](_0x2b7dcc),this['_suggestionToController']['has'](_0x2b7dcc)&&this['_destroyController'](_0x2b7dcc),_0x30ef55&&this['_updateController'](_0x30ef55['head']);}),this['listenTo'](_0x2b2f9d,'suggestionChanged',(_0x2d08a0,_0x39cd0e)=>{this['_updateController'](_0x39cd0e);}),this['listenTo'](_0x54eac4,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x3cce91,'addComment',(_0x4056a5,{threadId:_0x58a2df,isFromAdapter:_0x1d6bae})=>{if(_0x1d6bae||!_0x2b2f9d['hasSuggestion'](_0x58a2df))return;const _0x389e89=_0x2b2f9d['getSuggestion'](_0x58a2df);this['_suggestionToController']['get'](_0x389e89)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5692c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x511df1;for(const _0xebcc26 in _0x5692c9){const _0x3a61a1=_0xebcc26,_0x1e8041=_0x5692c9[_0x3a61a1];if('trackChangesLicenseKeyValid'==_0x1e8041||'trackChangesLicenseKeyInvalid'==_0x1e8041||'trackChangesLicenseKeyExpired'==_0x1e8041||'trackChangesLicenseKeyDomainLimit'==_0x1e8041||'trackChangesLicenseKeyNotAllowed'==_0x1e8041||'trackChangesLicenseKeyEvaluationLimit'==_0x1e8041||'trackChangesLicenseKeyUsageLimit'==_0x1e8041){delete _0x5692c9[_0x3a61a1],_0x511df1=_0x1e8041,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x511df1&&_0x5692c9['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x511df1&&_0x5692c9['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x511df1&&_0x5692c9['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x511df1&&_0x5692c9['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x511df1&&_0x5692c9['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x511df1&&_0x5692c9['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x441f07){const _0x2b5f3e=this['_suggestionToController']['get'](_0x441f07);if(!_0x2b5f3e)return null;return this['editor']['plugins']['get'](Annotations)['getByInnerView'](_0x2b5f3e['view'])||null;}['getSuggestionForAnnotation'](_0x3f7a51){const _0xd85cf3=this['_viewToController']['get'](_0x3f7a51['innerView']);return _0xd85cf3?_0xd85cf3['model']:null;}['_refreshActiveMarkers'](){const _0x2c2962=this['editor']['plugins']['get'](Annotations),_0x58b24d=this['editor']['plugins']['get'](TrackChangesEditing),_0x1214c6=Array['from'](_0x2c2962['activeAnnotations'],_0x3f6985=>_0x3f6985['innerView'])['filter'](_0x227700=>this['_viewToController']['has'](_0x227700)),_0x80c407=[];for(const _0x4d4517 of _0x1214c6){const _0x46c578=this['_viewToController']['get'](_0x4d4517)['model']['getAllAdjacentSuggestions']();_0x80c407['push'](..._0x46c578['reduce']((_0x206c78,_0x19fd34)=>[..._0x206c78,..._0x19fd34['getMarkerNames']()],[]));}_0x58b24d['activeMarkers']=_0x80c407;}['_addUIComponentsToFactory'](){const _0x907a5a=this['editor'],_0x481c91=_0x907a5a['locale'],_0x15d6d1=Cy(_0x481c91,'Track\x20changes'),_0x3a435e=new _0x307d11([{'type':'switchbutton','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':_0x15d6d1,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new Ot({'withText':!0x0,'label':Cy(_0x481c91,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new Ot({'withText':!0x0,'label':Cy(_0x481c91,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new Ot({'withText':!0x0,'label':Cy(_0x481c91,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new Ot({'withText':!0x0,'label':Cy(_0x481c91,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x907a5a['plugins']['has']('TrackChangesPreview')&&_0x3a435e['addMany']([{'type':'separator'},{'type':'button','model':new Ot({'withText':!0x0,'label':Cy(_0x481c91,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x36aea5 of _0x3a435e)if(ov(_0x36aea5)){const _0x12ed38=_0x907a5a['commands']['get'](_0x36aea5['model']['commandName']);_0x36aea5['model']['bind']('isOn','isEnabled')['to'](_0x12ed38,'value','isEnabled');}_0x907a5a['ui']['componentFactory']['add']('trackChanges',_0x126bcf=>this['_createToolbarButton'](_0x126bcf,_0x3a435e,_0x15d6d1)),_0x907a5a['ui']['componentFactory']['add']('menuBar:trackChanges',_0x1a23ca=>this['_createMenuBarMenu'](_0x1a23ca,_0x3a435e,_0x15d6d1));}['_createToolbarButton'](_0x4ff9e5,_0x319910,_0x17230c){const _0x30d072=nt(_0x4ff9e5,jt),_0x1f6fa8=this['editor']['commands']['get']('trackChanges');_0x30d072['buttonView']['set']({'tooltip':_0x17230c,'label':_0x17230c,'icon':_0x4a1067}),_0x30d072['buttonView']['bind']('isOn')['to'](_0x1f6fa8,'value'),_0x30d072['buttonView']['on']('execute',()=>{_0x1f6fa8['execute'](),this['editor']['editing']['view']['focus']();}),pt(_0x30d072,_0x319910,{'role':'menu'});const _0x50a7b4=[];for(const _0xcc2d28 of _0x319910)ov(_0xcc2d28)&&_0x50a7b4['push'](this['editor']['commands']['get'](_0xcc2d28['model']['commandName']));const _0x3e864f=_0x30d072['buttonView'];return _0x3e864f['actionView']['unbind']('isEnabled'),_0x3e864f['arrowView']['unbind']('isEnabled'),_0x3e864f['actionView']['bind']('isEnabled')['to'](_0x1f6fa8,'isEnabled'),_0x3e864f['arrowView']['bind']('isEnabled')['toMany'](_0x50a7b4,'isEnabled',(..._0x38b0b8)=>_0x38b0b8['some'](_0x20b56d=>_0x20b56d)),_0x30d072['on']('execute',_0x358fc9=>{this['editor']['execute'](_0x358fc9['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x30d072;}['_createMenuBarMenu'](_0x33695f,_0x587bbc,_0x81e2d5){const _0x2c078f=new ot(_0x33695f),_0x575ae7=this['editor']['commands']['get']('trackChanges');_0x2c078f['buttonView']['set']({'label':_0x81e2d5,'icon':_0x4a1067});const _0x1e076c=new lt(_0x33695f);for(const _0x50676d of _0x587bbc){if('separator'==_0x50676d['type']){_0x1e076c['items']['add'](new qt(_0x33695f));continue;}const _0x194c59=new ht(_0x33695f,_0x2c078f),_0x364fe4=new at(_0x33695f),_0xa6b2fe=_0x50676d['model'];_0x364fe4['bind'](...Object['keys'](_0xa6b2fe))['to'](_0xa6b2fe),_0x364fe4['delegate']('execute')['to'](_0x2c078f),_0x364fe4['on']('execute',()=>{this['editor']['execute'](_0xa6b2fe['commandName']),this['editor']['editing']['view']['focus']();}),_0x194c59['children']['add'](_0x364fe4),_0x1e076c['items']['add'](_0x194c59);}return _0x2c078f['bind']('isEnabled')['to'](_0x575ae7,'isEnabled'),_0x2c078f['panelView']['children']['add'](_0x1e076c),_0x2c078f;}['_initializeController'](_0x4d1df1){const _0x35c519=this['editor'],_0x12ecae=_0x35c519['config'],_0x336279=_0x35c519['plugins']['get'](Annotations),_0x3603c3=_0x35c519['plugins']['get'](CommentsRepository),_0x5e8b91=_0x35c519['plugins']['get'](EditorAnnotations),_0x596abd=_0x35c519['plugins']['get'](Users)['me'],_0x36ee69=_0x12ecae['get']('trackChanges')['SuggestionThreadView'],_0x1268ec=_0x12ecae['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x14d58e,CommentThreadInputView:_0x37b04a}=_0x35c519['plugins']['get']('CommentsUI');let _0x2067d7,_0x33747e,_0x54026a;this['_annotationViews']['has'](_0x4d1df1['id'])?(_0x33747e=this['_annotationViews']['get'](_0x4d1df1['id']),_0x2067d7=_0x33747e['mainView']):(_0x2067d7=new _0x36ee69(_0x35c519['locale'],_0x4d1df1,_0x596abd,{'disableComments':this['_disableComments'],'editorConfig':{..._0x12ecae['get']('comments.editorConfig'),'licenseKey':_0x12ecae['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x12ecae['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x12ecae['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x12ecae['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':Ad(_0x12ecae['get']('locale'),_0x35c519['locale']),'CommentView':_0x12ecae['get']('comments')['CommentView'],'CommentsListView':_0x14d58e,'CommentThreadInputView':_0x37b04a,'SuggestionView':_0x1268ec}),_0x2067d7['suggestionView']['acceptButton']['on']('execute',()=>{_0x35c519['editing']['view']['focus']();}),_0x2067d7['suggestionView']['discardButton']['on']('execute',()=>{_0x35c519['editing']['view']['focus']();}),_0x33747e=_0x336279['createAnnotationView'](this['editor']['locale'],_0x2067d7),_0x33747e['bind']('isDirty')['to'](_0x2067d7,'isDirty'),_0x33747e['bind']('length')['to'](_0x2067d7),_0x33747e['bind']('type')['to'](_0x2067d7,'type',_0x3431d7=>'suggestion-'+_0x3431d7),_0x2067d7['on']('escape',()=>{_0x54026a['fire']('escape');}),this['_annotationViews']['set'](_0x4d1df1['id'],_0x33747e));const _0x24c08d=_0x3603c3['createCommentThreadController'](_0x4d1df1['commentThread'],_0x2067d7),_0x5b6843=new SuggestionController(_0x35c519,_0x4d1df1,_0x2067d7,_0x24c08d),_0x52b553=_0x4d1df1['getAllAdjacentSuggestions']()['filter'](_0x929019=>_0x929019['isInContent']);_0x2067d7['descriptionParts']=_0x35c519['plugins']['get'](TrackChangesEditing)['descriptionFactory']['getDescriptions'](_0x52b553),this['_suggestionToController']['set'](_0x4d1df1,_0x5b6843),this['_viewToController']['set'](_0x2067d7,_0x5b6843);const _0x9b7d0d=()=>{const _0xb782af=[],_0x13678d=_0x4d1df1['getAllAdjacentSuggestions']()['filter'](_0x353331=>_0x353331['isInContent']);for(const _0x46848a of _0x13678d)_0xb782af['push'](..._0x46848a['getMarkers']());return Id(_0x35c519['editing'],_0xb782af);};_0x54026a=_0x336279['createAnnotation']({'view':_0x33747e,'target':_0x9b7d0d,'type':()=>'suggestion-'+_0x5b6843['view']['type'],'isVisible':!!_0x9b7d0d()}),_0x3603c3['_bindAnnotationToEditors'](_0x2067d7,_0x54026a),_0x336279['add'](_0x54026a),_0x5e8b91['registerAnnotation'](_0x54026a);}['_destroyController'](_0x5c72bf){const _0x127f5a=this['editor']['plugins']['get'](CommentsRepository),_0x697a9b=this['editor']['plugins']['get'](Annotations),_0x2f9f25=this['_suggestionToController']['get'](_0x5c72bf),_0x4c435a=_0x2f9f25['view'],_0x219fcf=_0x697a9b['getByInnerView'](_0x4c435a);_0x127f5a['_unbindEditors'](_0x4c435a),_0x219fcf&&_0x697a9b['remove'](_0x219fcf),this['_suggestionToController']['delete'](_0x5c72bf),this['_viewToController']['delete'](_0x4c435a),_0x2f9f25['destroy']();}['_updateController'](_0x24d31f){if(!_0x24d31f['isInContent']||!this['_suggestionToController']['has'](_0x24d31f))return;const _0x11d1e1=this['editor']['plugins']['get'](TrackChangesEditing),_0x503f68=this['_suggestionToController']['get'](_0x24d31f),_0x99d68b=_0x24d31f['getAllAdjacentSuggestions']();_0x503f68['view']['descriptionParts']=_0x11d1e1['descriptionFactory']['getDescriptions'](_0x99d68b);}['destroy'](){for(const _0x1d8868 of this['_suggestionToController']['keys']())this['_destroyController'](_0x1d8868);for(const _0x56899b of this['_annotationViews']['values']())_0x56899b['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function ov(_0xf7ef16){return'model'in _0xf7ef16;}class TrackChanges extends _0x7cf71c{static get['requires'](){return[TrackChangesEditing,TrackChangesUI,Comments];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x9897f2){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x9897f2;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x13f997){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x13f997);}['getSuggestions']({skipNotAttached:_0x45efc6=!0x1,toJSON:_0x1bd76b=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x45efc6,'toJSON':_0x1bd76b});}['getSuggestion'](_0x2af21b){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x2af21b);}}const av=['Pagination'];class TrackChangesData extends _0x7cf71c{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1dcd8c=this['editor'];if(_0x1dcd8c['config']['define']('trackChangesData.editorCreator',_0x5ea141=>{const _0x5b8477=_0x1dcd8c['model']['document']['getRootNames']()['reduce']((_0x472067,_0x1ca0cf)=>(_0x472067[_0x1ca0cf]='',_0x472067),{});return _0x1dcd8c['constructor']['create'](_0x5b8477,_0x5ea141);}),'function'!=typeof _0x1dcd8c['config']['get']('trackChangesData')['editorCreator'])throw new _0x3ae0e8('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x82aac1){return lv(this['editor'],!0x0,_0x82aac1);}['getDataWithDiscardedSuggestions'](_0x4b3e0f){return lv(this['editor'],!0x1,_0x4b3e0f);}}class TrackChangesDataGetter extends _0x7cf71c{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x423311){function _0x2edf53(_0x920812){return _0x920812['map'](_0x69fb4b=>String['fromCharCode'](_0x69fb4b))['join']('');}super(_0x423311),this['result']='end',_0x423311[_0x2edf53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2edf53([0x76,0x69,0x65,0x77])][_0x2edf53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2edf53([0x61,0x75,0x74,0x6f]),_0x423311[_0x2edf53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2edf53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2edf53([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2edf53([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2edf53([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 cv(_0x2c2f32){return void 0x0!==_0x2c2f32['getRootsAttributes'];}async function lv(_0x421c13,_0x345569,_0x156bbc){const _0x55386c=Ud(_0x421c13,av);if(_0x55386c['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),cv(_0x421c13)){_0x55386c['roots']=Object['create'](null);for(const _0x2652df of _0x421c13['model']['document']['getRootNames']())_0x55386c['roots'][_0x2652df]={'modelAttributes':_0x421c13['getRootAttributes'](_0x2652df)};}const _0x19ea3d=document['createDocumentFragment'](),_0x135466=_0x421c13['config']['get']('trackChangesData')['editorCreator'],_0x493507=await _0x135466(_0x55386c,()=>function(_0x5d0e2e){const _0x5dde6b=document['createElement']('div');return _0x5d0e2e['appendChild'](_0x5dde6b),_0x5dde6b;}(_0x19ea3d));!function(_0x1ebb3d,_0x4efa14){const _0x721044=_0x1ebb3d['model']['document']['getRootNames']()['reduce']((_0x35ae98,_0xaa187a)=>(_0x35ae98[_0xaa187a]=_0x1ebb3d['data']['get']({'rootName':_0xaa187a}),_0x35ae98),{}),_0x1aeaef=_0x1ebb3d['plugins']['get']('Users')['users']['map'](_0x28c953=>({'id':_0x28c953['id'],'name':_0x28c953['name']})),_0x2ee788=_0x1ebb3d['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x42e861=_0x1ebb3d['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x350a18=_0x4efa14['plugins']['get']('Users'),_0x3e9038=_0x4efa14['plugins']['get']('TrackChangesEditing'),_0x4535f8=_0x4efa14['plugins']['get']('CommentsRepository');for(const _0x7833fe of _0x4535f8['getCommentThreads']())_0x7833fe['remove']();for(const _0x162ba2 of _0x1aeaef)_0x350a18['getUser'](_0x162ba2['id'])||_0x350a18['addUser'](_0x162ba2);_0x350a18['me']||_0x350a18['useAnonymousUser']();for(const _0x218f8d of _0x42e861)_0x4535f8['addCommentThread'](_0x218f8d);for(const _0x1da689 of _0x2ee788)_0x3e9038['addSuggestionData'](_0x1da689);_0x4efa14['data']['set'](_0x721044);}(_0x421c13,_0x493507),_0x493507['execute'](_0x345569?'acceptAllSuggestions':'discardAllSuggestions');const _0x598dd9=cv(_0x493507)?_0x493507['getFullData'](_0x156bbc):_0x493507['data']['get'](_0x156bbc);return await _0x493507['destroy'](),_0x598dd9;}class TrackChangesPreviewView extends _0x278baa{['options'];constructor(_0x4550c4,_0x20c030){super(_0x4550c4),this['options']=_0x20c030,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'](_0x114152,_0x43b131){if(!this['element'])return;const _0x16df42=[];for(const [_0x5ec673,_0x5a6eb]of _0x114152){const _0x3a37e9=document['createElement']('div');_0x3a37e9['setAttribute']('data-ck-root-name',_0x5ec673),_0x3a37e9['className']=_0x5a6eb['classes']+'\x20ck-track-changes-preview__root-container',_0x3a37e9['innerHTML']=_0x5a6eb['content'],_0x16df42['push'](_0x3a37e9);}_0x43b131(this['element'],_0x16df42),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x4d9dc4{constructor(_0x1dcee3){super(_0x1dcee3),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x55bcae=this['editor'],_0x4ad2a0=_0x55bcae['locale'],_0x3d891c=_0x55bcae['plugins']['get']('Dialog');let _0x472c83;const _0x2a3d54=function(_0x2265ec){const _0x246a1b={};if('editables'in _0x2265ec['ui']['view']){for(const [_0x331eae,_0x5cacc9]of Object['entries'](_0x2265ec['ui']['view']['editables']))_0x246a1b[_0x331eae]=_0x5cacc9['element'];}else _0x246a1b[_0x2265ec['model']['document']['getRootNames']()[0x0]]=_0x2265ec['ui']['view']['editable']['element'];return _0x246a1b;}(_0x55bcae),_0x2e5b11=function(_0x171efe){let _0x27bdfb=0x0;for(const _0x2e7027 of Object['values'](_0x171efe))_0x27bdfb=Math['max'](_0x27bdfb,_0x2e7027['getBoundingClientRect']()['width']);let _0x2a2796=0x0;for(const _0x5a9993 of Object['values'](_0x171efe))_0x2a2796+=_0x5a9993['getBoundingClientRect']()['height'];const _0x3f4b61=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x201216=Math['min'](_0x2a2796,_0x3f4b61);return{'width':_0x27bdfb,'height':_0x201216};}(_0x2a3d54);_0x3d891c['show']({'id':'finalContentPreview','title':Cy(_0x4ad2a0,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new TrackChangesPreviewView(_0x4ad2a0,{'dialogRects':_0x2e5b11}),'onHide':()=>{_0x472c83['detachFromDom']();},'onShow':()=>{_0x55bcae['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x3686b6=>{const _0x485a93=this['_standarizeRootsData'](_0x3686b6,_0x55bcae,_0x2a3d54);_0x3d891c['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x485a93,_0x55bcae['config']['get']('trackChanges.preview.renderFunction'));}),_0x472c83=new ft(_0x4ad2a0,[_0x3d891c['view']]),_0x472c83['attachToDom'](),_0x472c83['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x55bcae['once']('destroy',()=>{_0x472c83['detachFromDom']();});const _0x1c0e3c=_0x3d891c['view']['headerView']['class'];_0x3d891c['view']['headerView']['class']=_0x1c0e3c?_0x1c0e3c+'\x20ck-reset_all':'ck-reset_all',_0x3d891c['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x3d891c['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x14a8c8=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x345e45=_0x14a8c8['previewMode'],_0xba217a={};if('$labels'===_0x345e45){for(const _0x3b4bee of _0x14a8c8['getMergeFieldsIds']())_0xba217a[_0x3b4bee]=_0x14a8c8['getLabel'](_0x3b4bee)||_0x3b4bee;}else{const _0x44abd0='$defaultValues'===_0x345e45?_0x14a8c8['getDefaultValues']():_0x14a8c8['getDataSetValues'](_0x345e45,!0x0);for(const _0x2cbc2f of Object['entries'](_0x44abd0)){const [_0x46a690,_0x376f6c]=_0x2cbc2f;_0xba217a[_0x46a690]=null!==_0x376f6c?_0x376f6c:_0x14a8c8['getLabel'](_0x46a690)||_0x46a690;}}return{'mergeFieldsData':_0xba217a};}['_standarizeRootsData'](_0x54fd44,_0x36219d,_0x55ee53){let _0x5a1b80;if('string'==typeof _0x54fd44){const _0x4ac0a0=_0x36219d['model']['document']['getRootNames']()[0x0];_0x5a1b80={[_0x4ac0a0]:_0x54fd44};}else _0x5a1b80=_0x54fd44;const _0x5dbbb6=this['_fixMediaEmbeds'](_0x5a1b80,_0x36219d),_0x2920c1=function(_0x2c0ced,_0x2383f0){for(const [_0x57677c,_0x5ed162]of _0x2c0ced)_0x5ed162['classes']=_0x2383f0[_0x57677c]['classList']['value']['replace']('ck-focused','');return _0x2c0ced;}(this['_sortRoots'](_0x36219d)['reduce']((_0x143f6e,_0x58a1b2)=>(_0x143f6e['push']([_0x58a1b2,{'content':_0x5dbbb6[_0x58a1b2],'classes':''}]),_0x143f6e),[]),_0x55ee53);return _0x2920c1;}['_fixMediaEmbeds'](_0x3afeda,_0x18073c){if(!_0x18073c['plugins']['has']('MediaEmbedEditing'))return _0x3afeda;const _0xbd5583=_0x18073c['plugins']['get']('MediaEmbedEditing');for(const [_0x3d960d,_0xce4530]of Object['entries'](_0x3afeda)){const _0xe1664f=document['createElement']('div');_0xe1664f['innerHTML']=_0xce4530,(_0xe1664f['querySelectorAll']('figure.media')['forEach'](_0x55d5ec=>{const _0x42c7f6=_0x55d5ec['querySelector']('oembed');if(_0x42c7f6){const _0x12a307=_0x42c7f6['getAttribute']('url');if(_0x12a307){const _0x53fadf=_0xbd5583['registry']['getMediaViewElement'](new _0x14e92(_0x18073c['editing']['view']['document']),_0x12a307,{'elementName':'','renderForEditingView':!0x0}),_0x1077fe=document['createElement']('div');_0x1077fe['classList']['add']('ck-media__wrapper'),_0x53fadf['render'](_0x1077fe,_0x18073c['editing']['view']['domConverter']),_0x42c7f6['replaceWith'](_0x1077fe);}}}),_0x3afeda[_0x3d960d]=_0xe1664f['innerHTML']);}return _0x3afeda;}['_sortRoots'](_0x260b39){if(!function(_0x17297e){return void 0x0!==_0x17297e['getRootsAttributes'];}(_0x260b39))return _0x260b39['model']['document']['getRootNames']();const _0x1823a8=[],_0x5648f8=new Map();for(const _0x1d7b42 of _0x260b39['model']['document']['getRootNames']()){const _0x15a858=_0x260b39['editing']['view']['getDomRoot'](_0x1d7b42)['getClientRects']()['item'](0x0);_0x1823a8['push'](_0x1d7b42),_0x5648f8['set'](_0x1d7b42,_0x15a858);}return _0x1823a8['sort']((_0x51b596,_0x17b82c)=>{const _0x5089df=_0x5648f8['get'](_0x51b596),_0x580b11=_0x5648f8['get'](_0x17b82c);return _0x5089df['y']-_0x580b11['y']||_0x5089df['x']-_0x580b11['x'];}),_0x1823a8;}}class TrackChangesPreview extends _0x7cf71c{static get['requires'](){return[TrackChangesData,st];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x13fb18){super(_0x13fb18),_0x13fb18['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x13fb18['config']['define']('trackChanges.preview.renderFunction',(_0x58c73b,_0x403e04)=>{for(const _0xbaf257 of _0x403e04)_0x58c73b['appendChild'](_0xbaf257);});}}class CloudServicesCommentsAdapter extends _0x32a432{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(_0x291cf2){super(_0x291cf2),this['_services']=new Map();}async['init'](){const _0x40200f=this['context'],_0x3a8705=_0x40200f['plugins']['get'](CommentsRepository);if(_0x40200f['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x3a8705['adapter']={'addCommentThread':async({channelId:_0x26db62,threadId:_0x15e78e,comments:_0x142066,resolvedAt:_0x3f2e37,resolvedBy:_0x241fe5,context:_0x118323,attributes:_0x5c6598})=>{const _0x59dace=await this['_getService'](_0x26db62)['addCommentThread']({'commentThreadId':_0x15e78e,'comments':_0x142066['map'](_0x41cb0c=>function(_0x1d0229,_0x51a324,_0x31199a){return{'commentThreadId':_0x31199a,'commentId':_0x1d0229['commentId'],'userId':_0x1d0229['authorId'],'content':_0x1d0229['content'],'documentId':_0x51a324,'createdAt':_0x1d0229['createdAt'],'attributes':_0x1d0229['attributes']||{}};}(_0x41cb0c,_0x26db62,_0x15e78e)),'resolvedAt':_0x3f2e37,'resolvedBy':_0x241fe5,'context':_0x118323,'attributes':_0x5c6598})['catch'](uv);return{'threadId':_0x59dace['commentThreadId'],'comments':_0x59dace['comments']};},'getCommentThread':async({channelId:_0x2ff11a,threadId:_0x87381b})=>{const _0x3763aa=await this['_getService'](_0x2ff11a)['getCommentThread'](_0x87381b)['catch'](hv)['catch'](uv);return _0x3763aa?_0x3763aa['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x3763aa]),{'threadId':_0x3763aa['commentThreadId'],'comments':_0x3763aa['comments']['map'](dv),'context':_0x3763aa['context'],'resolvedAt':_0x3763aa['resolvedAt'],'resolvedBy':_0x3763aa['resolvedBy'],'attributes':_0x3763aa['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x4e0a4f,threadId:_0x498125,context:_0x217d80,unlinkedAt:_0x22e303,attributes:_0x113cc2})=>this['_getService'](_0x4e0a4f)['updateCommentThread']({'commentThreadId':_0x498125,'context':_0x217d80,'attributes':_0x113cc2,'unlinkedAt':_0x22e303})['catch'](hv)['catch'](uv),'resolveCommentThread':async({channelId:_0x1d7bca,threadId:_0x1f88dd})=>{const _0x59d21b=await this['_getService'](_0x1d7bca)['resolveCommentThread'](_0x1f88dd)['catch'](hv)['catch'](uv);return{'threadId':_0x59d21b['commentThreadId'],'resolvedAt':_0x59d21b['resolvedAt'],'resolvedBy':_0x59d21b['resolvedBy']};},'reopenCommentThread':async({channelId:_0x17d82d,threadId:_0x196e37})=>this['_getService'](_0x17d82d)['reopenCommentThread'](_0x196e37)['catch'](hv)['catch'](uv),'removeCommentThread':({channelId:_0x2e172f,threadId:_0x5bf4da})=>this['_getService'](_0x2e172f)['removeCommentThread'](_0x5bf4da)['catch'](hv)['catch'](uv),'addComment':({channelId:_0x27bc07,threadId:_0x31ce7c,commentId:_0x42c84c,content:_0x366486,attributes:_0x439cb0})=>this['_getService'](_0x27bc07)['addComment'](_0x31ce7c,_0x42c84c,_0x366486,_0x439cb0)['catch'](uv),'updateComment':({channelId:_0x2f8ae8,threadId:_0x5bfd71,commentId:_0x50e323,content:_0x426963,attributes:_0x37953f})=>this['_getService'](_0x2f8ae8)['updateComment'](_0x5bfd71,_0x50e323,_0x426963,_0x37953f)['catch'](hv)['catch'](uv),'removeComment':({channelId:_0x460f60,threadId:_0x399be4,commentId:_0x56bf7b})=>this['_getService'](_0x460f60)['removeComment'](_0x399be4,_0x56bf7b)['catch'](hv)['catch'](uv)},_0x40200f instanceof _0x71dde0){const _0x5f44a4=_0x40200f['config']['get']('collaboration.channelId'),_0x430a53=_0x40200f['plugins']['get'](Sessions);await this['_setUpService'](_0x5f44a4);const _0x4f280e=await this['_services']['get'](_0x5f44a4)['getConnectedSessions']();this['listenTo'](_0x430a53,'sessionAdd:'+_0x5f44a4,(_0x16aaf7,{session:_0x309dfa})=>{_0x309dfa['id']===_0x430a53['mySessionId']&&(_0x16aaf7['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x309dfa['permissions'],_0x5f44a4));}),_0x430a53['register'](_0x5f44a4,_0x4f280e);}}async['_setUpService'](_0x175d14){if(this['_services']['has'](_0x175d14))throw new _0x3ae0e8('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x175d14});const _0x373cf7=this['context']['plugins']['get'](CommentsRepository),_0x2c37f0=new CloudServicesCommentsAdapter['CommentsService'](_0x175d14);this['_services']['set'](_0x175d14,_0x2c37f0),this['listenTo'](_0x2c37f0,'commentThreadAdded',(_0x3f4518,_0xd3d72e)=>{const {commentThreadId:_0x20e770,documentId:_0x200a8d,context:_0x55f70b,attributes:_0x1042e3,resolvedAt:_0x8f9965,resolvedBy:_0xadb8dc,comments:_0x193d75}=_0xd3d72e;_0x373cf7['getCommentThread'](_0x20e770)||_0x373cf7['addCommentThread']({'threadId':_0x20e770,'channelId':_0x200a8d,'comments':_0x193d75?_0x193d75['map'](dv):[],'context':_0x55f70b,'attributes':_0x1042e3,'resolvedAt':_0x8f9965,'resolvedBy':_0xadb8dc,'isFromAdapter':!0x0});}),this['listenTo'](_0x2c37f0,'commentThreadUpdated',(_0x4144ef,{commentThreadId:_0x5c11ff,documentId:_0x5e566c,context:_0xb2ad31,unlinkedAt:_0x354723,attributes:_0x239c98})=>{_0x373cf7['getCommentThread'](_0x5c11ff)&&_0x373cf7['updateCommentThread']({'threadId':_0x5c11ff,'channelId':_0x5e566c,'context':_0xb2ad31,'unlinkedAt':_0x354723,'attributes':_0x239c98,'isFromAdapter':!0x0});}),this['listenTo'](_0x2c37f0,'commentThreadResolved',(_0x48f5bc,{commentThreadId:_0x599e38,resolvedBy:_0x3b2400,resolvedAt:_0xe8a4c0})=>{const _0x10bcf8=_0x373cf7['getCommentThread'](_0x599e38);_0x10bcf8&&_0x10bcf8['resolve']({'resolvedBy':_0x3b2400,'resolvedAt':_0xe8a4c0,'isFromAdapter':!0x0});}),this['listenTo'](_0x2c37f0,'commentThreadReopened',(_0x309ea2,{commentThreadId:_0x53af6c})=>{const _0x40d25d=_0x373cf7['getCommentThread'](_0x53af6c);_0x40d25d&&_0x40d25d['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x2c37f0,'commentThreadRemoved',(_0x3375a9,{commentThreadId:_0xb3e657})=>{const _0x20ef64=_0x373cf7['getCommentThread'](_0xb3e657);_0x20ef64&&_0x20ef64['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x2c37f0,'commentAdded',(_0x329184,_0xb8d2b3)=>{const _0x2c2f0a=_0xb8d2b3['commentThreadId'],_0x49abe7=_0x373cf7['getCommentThread'](_0x2c2f0a);_0x49abe7&&_0x49abe7['addComment']({...dv(_0xb8d2b3),'isFromAdapter':!0x0});}),this['listenTo'](_0x2c37f0,'commentUpdated',(_0x1ec1ea,{commentThreadId:_0xedafd7,commentId:_0x5199bb,content:_0x253bab,attributes:_0x3ceccb})=>{const _0x28338a=_0x373cf7['getCommentThread'](_0xedafd7);if(_0x28338a){const _0x1435a1=_0x28338a['getComment'](_0x5199bb);_0x1435a1&&_0x1435a1['update']({'content':_0x253bab,'attributes':_0x3ceccb,'isFromAdapter':!0x0});}}),this['listenTo'](_0x2c37f0,'commentRemoved',(_0x564018,{commentThreadId:_0x2142f8,commentId:_0x4b9982})=>{const _0x136e16=_0x373cf7['getCommentThread'](_0x2142f8);if(_0x136e16){const _0x5c3d3f=_0x136e16['getComment'](_0x4b9982);_0x5c3d3f&&_0x5c3d3f['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x175d14);}['destroy'](){if(this['context']instanceof _0x71dde0){const _0xf30ca1=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0xf30ca1);}}['_terminateService'](_0x938494){if(!this['_services']['has'](_0x938494))throw new _0x3ae0e8('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x938494});this['_getService'](_0x938494)['disconnect'](),this['_services']['delete'](_0x938494);}async['reconnect'](){for(const _0x4842f3 of this['_services']['keys']())await this['_connectService'](_0x4842f3);if(this['context']instanceof _0x71dde0){const _0x3841fc=this['context']['config']['get']('collaboration.channelId'),_0x5adb1a=this['context']['plugins']['get'](Sessions);_0x5adb1a['unregister'](_0x3841fc);const _0x2edeb0=await this['_services']['get'](_0x3841fc)['getConnectedSessions']();_0x5adb1a['register'](_0x3841fc,_0x2edeb0);}}async['_connectService'](_0x149b4c){const {connection:_0x8d7a07}=this['context']['plugins']['get'](WebSocketGateway),_0x2b4ace=this['context']['plugins']['get'](CommentsRepository),_0x33bd41=this['_services']['get'](_0x149b4c),_0x54153c=await _0x33bd41['connect'](_0x8d7a07);await this['_fetchMissingUsersForThreads'](_0x54153c);const _0x4dd262=new Set(Array['from'](_0x2b4ace['getCommentThreads']({'channelId':_0x149b4c}),_0xc6c37e=>_0xc6c37e['id']));for(const _0x461b63 of _0x54153c)_0x461b63['deletedAt']||_0x4dd262['delete'](_0x461b63['commentThreadId']);for(const _0x946625 of _0x4dd262)_0x2b4ace['getCommentThread'](_0x946625)['remove']({'isFromAdapter':!0x0});for(const _0x3e17b5 of _0x54153c){let _0x182e5b=_0x2b4ace['getCommentThread'](_0x3e17b5['commentThreadId']);const {commentThreadId:_0x4788d8,context:_0x4e68c4,attributes:_0x2c4b53,resolvedBy:_0x50e6ed,resolvedAt:_0x21c326,unlinkedAt:_0x32a9c5,deletedAt:_0x22769b}=_0x3e17b5;if(_0x22769b)continue;_0x182e5b||(_0x182e5b=_0x2b4ace['addCommentThread']({'channelId':_0x149b4c,'threadId':_0x4788d8,'context':_0x4e68c4,'attributes':_0x2c4b53||{},'resolvedBy':_0x50e6ed,'resolvedAt':_0x21c326,'unlinkedAt':_0x32a9c5,'isFromAdapter':!0x0}));const _0x49f847=new Set(Array['from'](_0x182e5b['comments'],_0x4780b0=>_0x4780b0['id']));for(const _0x4a4001 of _0x3e17b5['comments'])_0x49f847['delete'](_0x4a4001['commentId']);for(const _0x219ccd of _0x49f847)_0x182e5b['getComment'](_0x219ccd)['remove']({'isFromAdapter':!0x0});for(const _0x5ca94b of _0x3e17b5['comments']){const _0x52cb28=_0x182e5b['getComment'](_0x5ca94b['commentId']);_0x52cb28?_0x52cb28['content']!==_0x5ca94b['content']&&_0x52cb28['update']({'content':_0x5ca94b['content'],'isFromAdapter':!0x0}):_0x182e5b['addComment'](Object['assign'](dv(_0x5ca94b),{'isFromAdapter':!0x0}));}}}['_getService'](_0x2ea263){if(!this['_services']['has'](_0x2ea263))throw new _0x3ae0e8('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x2ea263});return this['_services']['get'](_0x2ea263);}async['_fetchMissingUsersForThreads'](_0x2efe9c){const _0x3be809=this['context']['plugins']['get'](Users),{connection:_0x44974d}=this['context']['plugins']['get'](WebSocketGateway),_0x599842=new Set();for(const {resolvedBy:_0xd655fc,comments:_0x214d42}of _0x2efe9c){_0xd655fc&&!_0x3be809['getUser'](_0xd655fc)&&_0x599842['add'](_0xd655fc);for(const {userId:_0x9bbce9}of _0x214d42)_0x3be809['getUser'](_0x9bbce9)||_0x599842['add'](_0x9bbce9);}if(0x0===_0x599842['size'])return;const _0x4804bc=await User['getMany'](_0x44974d,Array['from'](_0x599842));for(const _0x44a11b of _0x4804bc)_0x3be809['getUser'](_0x44a11b['id'])||_0x3be809['addUser'](_0x44a11b);}}async function hv(_0x1226fa){if('404'!==_0x1226fa['code'])throw _0x1226fa;}function uv(_0x22317f){if((_0x32e40e=_0x22317f)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x32e40e['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x32e40e['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x32e40e;throw _0x22317f;}function dv(_0x46727c){return{'threadId':_0x46727c['commentThreadId'],'commentId':_0x46727c['commentId'],'content':_0x46727c['content'],'createdAt':_0x46727c['createdAt'],'authorId':_0x46727c['userId'],'attributes':_0x46727c['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x7cf71c{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(_0x7a2e3a){super(_0x7a2e3a);const _0x530812=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x530812);}['init'](){const _0x47d0de=this['editor']['plugins']['get'](WebSocketGateway),_0x5f21c0=this['editor']['plugins']['get'](TrackChangesEditing);return _0x5f21c0['adapter']={'getSuggestion':async _0x4ff526=>{await this['_waitForServiceReady']();const _0x49d4cd=await this['_trackChangesService']['get'](_0x4ff526)['catch'](fv);return await this['_fetchMissingUsersForThreads']([_0x49d4cd]),_0x49d4cd;},'addSuggestion':async({id:_0x5efad3,type:_0x12ec98,data:_0x2f3d41,originalSuggestionId:_0x314a58,attributes:_0x571781})=>{await this['_waitForServiceReady']();const _0xbbb43d={'id':_0x5efad3,'type':_0x12ec98,'data':_0x2f3d41,'originalSuggestionId':_0x314a58,'attributes':_0x571781},_0xaeb53a=await this['_trackChangesService']['add'](_0x5efad3,_0x12ec98,_0x2f3d41,_0x314a58,_0x571781)['catch'](_0x3a5381=>{if(mv(_0x3a5381))return new Promise(_0x5cc9d1=>{this['_bufferedRequests']['set'](_0x5efad3,{'resolve':_0x5cc9d1,'suggestionData':_0xbbb43d});});throw _0x3a5381;});return this['_bufferedRequests']['delete'](_0x5efad3),_0xaeb53a;},'updateSuggestion':async(_0x1d60bd,_0x50913c)=>{if(await this['_waitForServiceReady'](),'open'!==_0x50913c['state'])return this['_trackChangesService']['update'](_0x1d60bd,_0x50913c)['catch'](fv);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x4e06a0,_0x567e50)=>{_0x5f21c0['hasSuggestion'](_0x567e50['id'])&&(_0x5f21c0['getSuggestion'](_0x567e50['id'])['attributes']=_0x567e50['attributes']);}),this['_trackChangesService']['connect'](_0x47d0de['connection'])['then'](_0x122279=>(_0x47d0de['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x122279)['then'](()=>{for(const _0x5d779d of _0x122279){_0x5f21c0['addSuggestionData'](_0x5d779d)['_saved']=!0x0;}})));}async['reconnect'](){const _0x26a9cb=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x433f8e}=this['editor']['plugins']['get'](WebSocketGateway),_0x42f04a=await this['_trackChangesService']['connect'](_0x433f8e);await this['_fetchMissingUsersForThreads'](_0x42f04a);for(const {suggestionData:_0x362f59,resolve:_0x485fb1}of this['_bufferedRequests']['values']()){let _0x2b9f57=_0x42f04a['find'](_0xa2322e=>_0xa2322e['id']===_0x362f59['id']);_0x2b9f57||(_0x2b9f57=await this['_trackChangesService']['add'](_0x362f59['id'],_0x362f59['type'],_0x362f59['data'],_0x362f59['originalSuggestionId'])),_0x485fb1(_0x2b9f57);}for(const _0x20da3f of _0x42f04a)_0x26a9cb['hasSuggestion'](_0x20da3f['id'])||_0x26a9cb['addSuggestionData'](_0x20da3f);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x403d0e=>{this['listenTo'](this['_trackChangesService'],'connected',_0x1265ad=>{_0x1265ad['off'](),_0x403d0e();});});}async['_fetchMissingUsersForThreads'](_0x4b6a81){const _0x49ea3f=this['editor']['plugins']['get'](Users),{connection:_0x54551a}=this['editor']['plugins']['get'](WebSocketGateway),_0x584de9=new Set();for(const {authorId:_0x1c530e}of _0x4b6a81)_0x49ea3f['getUser'](_0x1c530e)||_0x584de9['add'](_0x1c530e);if(0x0===_0x584de9['size'])return;const _0x26ce6c=await User['getMany'](_0x54551a,Array['from'](_0x584de9));for(const _0x2419ef of _0x26ce6c)_0x49ea3f['getUser'](_0x2419ef['id'])||_0x49ea3f['addUser'](_0x2419ef);}}function fv(_0x5e7109){if(mv(_0x5e7109))return new Promise(()=>{});throw _0x5e7109;}function mv(_0x49a07e){return _0x49a07e['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x49a07e['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x7cf71c{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 _0x4b59b6=this['editor']['plugins']['get'](WebSocketGateway),_0x5231c4=this['editor']['plugins']['get'](CommentsEditing),_0x3cd4c7=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x4b59b6,'change:state',(_0x254ef4,_0x12ec61,_0x3039c9)=>{_0x5231c4['isThreadsLoadingPaused']='connected'!==_0x3039c9;});}),this['listenTo'](_0x4b59b6,'change:state',(_0x589121,_0x44bc63,_0x33df27)=>{this['editor']['plugins']['get'](CommentsRepository)['switchReadOnly']('connected'!==_0x33df27);}),_0x3cd4c7['_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 _0x7cf71c{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,TrackChanges];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class Revision extends/* #__PURE__ -- @preserve */
_0x18fa86(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2f0d48){super(),this['id']=_0x2f0d48['id']||_0x462bc0(),this['creator']=_0x2f0d48['creator']||null,this['authors']=_0x2f0d48['authors']||[],this['diffData']=_0x2f0d48['diffData']||null,this['toVersion']=_0x2f0d48['toVersion']||0x0,this['fromVersion']=_0x2f0d48['fromVersion']||0x0,this['set']('name',_0x2f0d48['name']||''),this['set']('createdAt',_0x2f0d48['createdAt']||new Date()),this['set']('attributes',_0x2f0d48['attributes']||{});}['setName'](_0x4387e2){this['_update']({'name':_0x4387e2});}['setAttribute'](_0x3acfc0,_0x2a824e){const _0x3dec4c=kr(this['attributes']);Ur(_0x3dec4c,_0x3acfc0,_0x2a824e),this['_update']({'attributes':_0x3dec4c});}['removeAttribute'](_0x3405c0){const _0x4c83db=kr(this['attributes']);$r(_0x4c83db,_0x3405c0),this['_update']({'attributes':_0x4c83db});}['_update'](_0x197de6,_0x15e23d=!0x1){let _0x3ab7e0=!0x1;const _0x5db0c6={'id':this['id']},_0x4d5d8a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5134b0 of _0x4d5d8a){const _0x15d835=_0x197de6[_0x5134b0];void 0x0!==_0x15d835&&_0x15d835!==this[_0x5134b0]&&(this[_0x5134b0]=_0x15d835,_0x5db0c6[_0x5134b0]=_0x15d835,_0x3ab7e0=!0x0);}_0x3ab7e0&&(_0x5db0c6['authors']&&(_0x5db0c6['authorsIds']=_0x5db0c6['authors']['map'](_0x282588=>_0x282588['id']),delete _0x5db0c6['authors']),this['fire']('_update',_0x5db0c6,_0x15e23d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x49cf00=>_0x49cf00['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x7cf71c{['_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(_0x8b0416){super(_0x8b0416),this['_revisions']=new _0x307d11();}['afterInit'](){!async function(_0x2640a5){const _0x339e89=_0x5a8b4b([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]),_0x372f1d=0xeb829,_0xc126ae=0x359e09b0,_0x2a0cd3=0x359983d8^_0xc126ae,_0x4b9583=window[_0x5a8b4b([0x44,0x61,0x74,0x65])][_0x5a8b4b([0x6e,0x6f,0x77])](),_0x5d9ad=_0x2640a5[_0x5a8b4b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x428968=new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x598c63=>{_0x5d9ad[_0x5a8b4b([0x6f,0x6e,0x63,0x65])](_0x5a8b4b([0x72,0x65,0x61,0x64,0x79]),_0x598c63);}),_0x15d774={[_0x5a8b4b([0x6b,0x74,0x79])]:_0x5a8b4b([0x45,0x43]),[_0x5a8b4b([0x75,0x73,0x65])]:_0x5a8b4b([0x73,0x69,0x67]),[_0x5a8b4b([0x63,0x72,0x76])]:_0x5a8b4b([0x50,0x2d,0x32,0x35,0x36]),[_0x5a8b4b([0x78])]:_0x5a8b4b([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]),[_0x5a8b4b([0x79])]:_0x5a8b4b([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]),[_0x5a8b4b([0x61,0x6c,0x67])]:_0x5a8b4b([0x45,0x53,0x32,0x35,0x36])},_0x159a74=_0x5d9ad[_0x5a8b4b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a8b4b([0x67,0x65,0x74])](_0x5a8b4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x530a5a(){let _0x281e87,_0x4a140c=null,_0x513ab2=null;try{if(_0x159a74==_0x5a8b4b([0x47,0x50,0x4c]))return _0x5a8b4b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x281e87=_0x68e1be(),!_0x281e87)return _0x5a8b4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x281e87[_0x5a8b4b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x513ab2=_0x17f7eb(_0x281e87[_0x5a8b4b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x281e87[_0x5a8b4b([0x6a,0x74,0x69])])),await _0x456a3d()?_0x158caf()?_0x343808()?_0x5a8b4b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x121084()?(_0x281e87[_0x5a8b4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a8b4b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a140c=_0x4423c7(_0x5a8b4b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ef276()):_0x5a8b4b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a8b4b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a8b4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a8b4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x343808(){const _0x4af49f=[_0x5a8b4b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a8b4b([0x74,0x72,0x69,0x61,0x6c])][_0x5a8b4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281e87[_0x5a8b4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b9583/0x3e8:0xe10*_0x2a0cd3;return _0x281e87[_0x5a8b4b([0x65,0x78,0x70])]<_0x4af49f;}function _0x158caf(){const _0x6d854d=_0x281e87[_0x5a8b4b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x6d854d)return!0x1;if(_0x6d854d[_0x5a8b4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8b4b([0x2a])))return!0x0;if(_0x6d854d[_0x5a8b4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8b4b([0x52,0x48])))return!0x0;if(_0x6d854d[_0x5a8b4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8b4b([0x52,0x52,0x48]))){if(_0x4b8a8f())return!0x0;if(_0x27ff75()||_0x5a15b2())return!0x0;}return!0x1;}function _0x121084(){const _0x7d508b=_0x281e87[_0x5a8b4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7d508b||0x0==_0x7d508b[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c3a08}=new URL(window[_0x5a8b4b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7d508b[_0x5a8b4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3a08))return!0x0;const _0x39c4b0=_0x2c3a08[_0x5a8b4b([0x73,0x70,0x6c,0x69,0x74])](_0x5a8b4b([0x2e]));return _0x7d508b[_0x5a8b4b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39529f=>_0x39529f[_0x5a8b4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8b4b([0x2a])))[_0x5a8b4b([0x6d,0x61,0x70])](_0x5e8a64=>_0x5e8a64[_0x5a8b4b([0x73,0x70,0x6c,0x69,0x74])](_0x5a8b4b([0x2e])))[_0x5a8b4b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5332e5=>_0x5332e5[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39c4b0[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a8b4b([0x6d,0x61,0x70])](_0x4b390a=>Array(_0x39c4b0[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b390a[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a8b4b([0x66,0x69,0x6c,0x6c])](_0x4b390a[0x0]===_0x5a8b4b([0x2a])?_0x5a8b4b([0x2a]):'')[_0x5a8b4b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b390a))[_0x5a8b4b([0x73,0x6f,0x6d,0x65])](_0x84d40=>_0x39c4b0[_0x5a8b4b([0x65,0x76,0x65,0x72,0x79])]((_0x34600b,_0x4e7c58)=>_0x84d40[_0x4e7c58]===_0x34600b||_0x84d40[_0x4e7c58]===_0x5a8b4b([0x2a])));}function _0x4ef276(){return _0x4a140c&&_0x513ab2?new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ab724,_0x5234dd)=>{_0x4a140c[_0x5a8b4b([0x74,0x68,0x65,0x6e])](_0x3ab724,_0x5234dd),_0x513ab2[_0x5a8b4b([0x74,0x68,0x65,0x6e])](_0x2356ff=>{_0x2356ff!=_0x5a8b4b([0x56,0x61,0x6c,0x69,0x64])&&_0x3ab724(_0x2356ff);},_0x5234dd);}):_0x4a140c||_0x513ab2||_0x5a8b4b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17f7eb(_0x146b50,_0x4648c2){return new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2adfd8=>{if(_0x36edd3())return _0x2adfd8(_0x5a8b4b([0x56,0x61,0x6c,0x69,0x64]));_0x5f6e5(),_0x5d9ad[_0x5a8b4b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a8b4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dead9=!0x1;const _0x994e0d=_0x462bc0();function _0x1c8b13(_0x510f49){return!!_0x510f49&&(typeof _0x510f49===_0x5a8b4b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x510f49===_0x5a8b4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x510f49[_0x5a8b4b([0x74,0x68,0x65,0x6e])]===_0x5a8b4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x510f49[_0x5a8b4b([0x63,0x61,0x74,0x63,0x68])]===_0x5a8b4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d916a(_0x734423){_0x3a5e2e(_0x734423)[_0x5a8b4b([0x74,0x68,0x65,0x6e])](_0x349a34=>{if(!_0x349a34||_0x349a34[_0x5a8b4b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a8b4b([0x6f,0x6b]))return _0x5a8b4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36faaf(_0x5c92eb(_0x994e0d+_0x4648c2))!=_0x349a34[_0x5a8b4b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a8b4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a8b4b([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a8b4b([0x74,0x68,0x65,0x6e])](_0x15797b=>(_0x700b6a(),_0x15797b),()=>{const _0x73134c=_0x3933fc();return null==_0x73134c?(_0x700b6a(),_0x5a8b4b([0x56,0x61,0x6c,0x69,0x64])):_0x5a8b4b(_0x4b9583-_0x73134c>(0x11928db0^_0xc126ae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a8b4b([0x74,0x68,0x65,0x6e])](_0x2adfd8)[_0x5a8b4b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2adfd8(_0x5a8b4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3eac14=0x35a8e730^_0xc126ae;function _0x700b6a(){const _0x560a8d=_0x5a8b4b([0x6c,0x6c,0x63,0x74,0x2d])+_0x36faaf(_0x5c92eb(_0x146b50)),_0x456923=_0x265254(_0x36faaf(window[_0x5a8b4b([0x4d,0x61,0x74,0x68])][_0x5a8b4b([0x63,0x65,0x69,0x6c])](_0x4b9583/_0x3eac14)));window[_0x5a8b4b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a8b4b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x560a8d,_0x456923);}function _0x3933fc(){const _0x4e490a=_0x5a8b4b([0x6c,0x6c,0x63,0x74,0x2d])+_0x36faaf(_0x5c92eb(_0x146b50)),_0x4a4399=window[_0x5a8b4b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a8b4b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e490a);return _0x4a4399?window[_0x5a8b4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x265254(_0x4a4399),0x10)*_0x3eac14:null;}function _0x3a5e2e(_0x292569){return new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x432342,_0x23bddd)=>{_0x292569[_0x5a8b4b([0x74,0x68,0x65,0x6e])](_0x432342,_0x23bddd),window[_0x5a8b4b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23bddd,0x359fdd70^_0xc126ae);});}}_0x5d9ad[_0x5a8b4b([0x6f,0x6e])](_0x5a8b4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc09bf5,_0xb03c8d)=>{if(_0xb03c8d[0x0]!=_0x146b50)return _0x2adfd8(_0x5a8b4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb03c8d[0x1]={..._0xb03c8d[0x1],[_0x5a8b4b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x994e0d};},{[_0x5a8b4b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a8b4b([0x68,0x69,0x67,0x68])}),_0x5d9ad[_0x5a8b4b([0x6f,0x6e])](_0x5a8b4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x519bbd=>{_0x1c8b13(_0x519bbd[_0x5a8b4b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dead9=!0x0,_0x1d916a(_0x519bbd[_0x5a8b4b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a8b4b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a8b4b([0x6c,0x6f,0x77])}),_0x428968[_0x5a8b4b([0x74,0x68,0x65,0x6e])](()=>{_0x4dead9||_0x2adfd8(_0x5a8b4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36edd3(){return _0x5d9ad[_0x5a8b4b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a8b4b([0x76,0x69,0x65,0x77])][_0x5a8b4b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a8b4b([0x61,0x75,0x74,0x6f]);}function _0x5f6e5(){_0x5d9ad[_0x5a8b4b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a8b4b([0x76,0x69,0x65,0x77])][_0x5a8b4b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a8b4b([0x61,0x75,0x74,0x6f]);}}function _0x4423c7(_0xe63fb){const _0x3fb547=new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4560eb=>setTimeout(_0x4560eb,0x3597377c^_0xc126ae)),_0x483317=_0x428968[_0x5a8b4b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d4be2=>{const _0x2f5d2e=0x359e09b7^_0xc126ae,_0x54fe7a=_0x2640a5[_0x5a8b4b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x2e530d(){_0x54fe7a[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2f5d2e&&_0x3d4be2();}_0x2e530d(),_0x54fe7a[_0x5a8b4b([0x6f,0x6e])](_0x5a8b4b([0x61,0x64,0x64]),_0x2e530d);})),_0x7f2d9=new window[(_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8186=>{function _0x2153f1(){for(const _0x10adc4 in window)if(window[_0x5a8b4b([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x5a8b4b([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x10adc4))&&window[_0x10adc4]==_0x372f1d)return _0x5a8186();_0x5d9ad[_0x5a8b4b([0x73,0x74,0x61,0x74,0x65])]!=_0x5a8b4b([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x5a8b4b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2153f1,0x359e1a38^_0xc126ae);}_0x150496(_0x5a8b4b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x2153f1();}),_0x3ae085=[_0x3fb547,_0x483317,_0x7f2d9];return window[_0x5a8b4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a8b4b([0x72,0x61,0x63,0x65])](_0x3ae085)[_0x5a8b4b([0x74,0x68,0x65,0x6e])](()=>_0xe63fb);}async function _0x611aca(){if(await _0x428968,_0x150496(_0x5a8b4b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3b5d0a=_0x2640a5[_0x5a8b4b([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x4d55c6=_0x2640a5[_0x5a8b4b([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])](_0x3b5d0a[_0x5a8b4b([0x69,0x64])]),_0x2acb9d=_0x37b776(_0x5a8b4b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x2acb9d[_0x5a8b4b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3b5d0a['id'],_0x4d55c6?_0x4d55c6['id']:null,!0x0),_0x2acb9d[_0x5a8b4b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5a8b4b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2acb9d[_0x5a8b4b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2acb9d[_0x5a8b4b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x496031,void(_0x2acb9d[_0x5a8b4b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x496031);}if(_0x150496(_0x5a8b4b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x1e1572=_0x37b776(_0x5a8b4b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x1e1572[_0x5a8b4b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5a8b4b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1e1572[_0x5a8b4b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1e1572[_0x5a8b4b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x496031,_0x1e1572[_0x5a8b4b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x496031;}_0x5d9ad[_0x5a8b4b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a8b4b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x496031,_0x5d9ad[_0x5a8b4b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a8b4b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x496031,_0x5d9ad[_0x5a8b4b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a8b4b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b8a8f(){return _0x150496(_0x5a8b4b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x37b776(_0x5a8b4b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5a8b4b([0x73,0x74,0x61,0x74,0x65])]==_0x5a8b4b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x27ff75(){return _0x150496(_0x5a8b4b([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 _0x5a15b2(){return _0x150496(_0x5a8b4b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x2318ea(_0x71e24b){const _0x16a596=_0x20f46f();_0x5d9ad[_0x16a596]=_0x5a8b4b([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])+_0x71e24b,_0x71e24b[_0x5a8b4b([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x5a8b4b([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x20f46f()]=_0x372f1d),_0x71e24b!=_0x5a8b4b([0x56,0x61,0x6c,0x69,0x64])&&_0x611aca();}function _0x20f46f(){const _0x4cdbff=window[_0x5a8b4b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a8b4b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a8b4b([0x6e,0x6f,0x77])]())[_0x5a8b4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a8b4b([0x2e]),'');let _0x10277e=_0x5a8b4b([0x76]);for(let _0x4d0ce5=0x0;_0x4d0ce5<_0x4cdbff[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d0ce5+=0x2){let _0x4f2a3b=window[_0x5a8b4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cdbff[_0x5a8b4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d0ce5,_0x4d0ce5+0x2));_0x4f2a3b>=_0x339e89[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f2a3b-=_0x339e89[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10277e+=_0x339e89[_0x4f2a3b];}return _0x10277e;}function _0x68e1be(){const _0x3abb4f=_0x159a74[_0x5a8b4b([0x73,0x70,0x6c,0x69,0x74])](_0x5a8b4b([0x2e]));if(0x3!=_0x3abb4f[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfcc443(_0x3abb4f[0x1]);function _0xfcc443(_0x5b1e94){const _0x560696=_0x5e9336(_0x5b1e94);return _0x560696&&_0x55d0e6()?_0x560696:null;function _0x55d0e6(){const _0x413708=_0x560696[_0x5a8b4b([0x6a,0x74,0x69])],_0x3a45be=window[_0x5a8b4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x413708[_0x5a8b4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x413708[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47e048={..._0x560696,[_0x5a8b4b([0x6a,0x74,0x69])]:_0x413708[_0x5a8b4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x413708[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47e048[_0x5a8b4b([0x76,0x63])],_0x5c92eb(_0x47e048)==_0x3a45be;}}}async function _0x456a3d(){let _0x378dcf=!0x0;try{const _0x4ee65f=_0x159a74[_0x5a8b4b([0x73,0x70,0x6c,0x69,0x74])](_0x5a8b4b([0x2e])),[_0x21de5e,_0x368b2b,_0x3c6a21]=_0x4ee65f;return _0x13a467(_0x21de5e),await _0x5974ac(_0x21de5e,_0x368b2b,_0x3c6a21),_0x378dcf;}catch{return!0x1;}function _0x13a467(_0x1be836){const _0x42f590=_0x5e9336(_0x1be836);_0x42f590&&_0x42f590[_0x5a8b4b([0x61,0x6c,0x67])]==_0x5a8b4b([0x45,0x53,0x32,0x35,0x36])||(_0x378dcf=!0x1);}async function _0x5974ac(_0x15704b,_0x49a5a3,_0x34e996){const _0x35546f=window[_0x5a8b4b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a8b4b([0x66,0x72,0x6f,0x6d])](_0x21e69c(_0x34e996),_0x21865e=>_0x21865e[_0x5a8b4b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25e56c=new window[(_0x5a8b4b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a8b4b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15704b+_0x5a8b4b([0x2e])+_0x49a5a3),_0x20b7d5=window[_0x5a8b4b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a8b4b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20b7d5)return;const _0x15e179=await _0x20b7d5[_0x5a8b4b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a8b4b([0x6a,0x77,0x6b]),_0x15d774,{[_0x5a8b4b([0x6e,0x61,0x6d,0x65])]:_0x5a8b4b([0x45,0x43,0x44,0x53,0x41]),[_0x5a8b4b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a8b4b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a8b4b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20b7d5[_0x5a8b4b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a8b4b([0x6e,0x61,0x6d,0x65])]:_0x5a8b4b([0x45,0x43,0x44,0x53,0x41]),[_0x5a8b4b([0x68,0x61,0x73,0x68])]:{[_0x5a8b4b([0x6e,0x61,0x6d,0x65])]:_0x5a8b4b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15e179,_0x35546f,_0x25e56c)||(_0x378dcf=!0x1);}}function _0x5e9336(_0x4b819d){return _0x4b819d[_0x5a8b4b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a8b4b([0x65,0x79]))?JSON[_0x5a8b4b([0x70,0x61,0x72,0x73,0x65])](_0x21e69c(_0x4b819d)):null;}function _0x21e69c(_0x5003c4){return window[_0x5a8b4b([0x61,0x74,0x6f,0x62])](_0x5003c4[_0x5a8b4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a8b4b([0x2b]))[_0x5a8b4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a8b4b([0x2f])));}function _0x5c92eb(_0x225746){let _0x4827d4=0x1505;function _0x43ab6e(_0x2e6344){for(let _0x55ff18=0x0;_0x55ff18<_0x2e6344[_0x5a8b4b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55ff18++){const _0x5e85c3=_0x2e6344[_0x5a8b4b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55ff18);_0x4827d4=(_0x4827d4<<0x5)+_0x4827d4+_0x5e85c3,_0x4827d4&=_0x4827d4;}}function _0x3d846f(_0x195302){Array[_0x5a8b4b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x195302)?_0x195302[_0x5a8b4b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d846f):_0x195302&&typeof _0x195302==_0x5a8b4b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a8b4b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x195302)[_0x5a8b4b([0x73,0x6f,0x72,0x74])]()[_0x5a8b4b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xcf93bb,_0xf5b605])=>{_0x43ab6e(_0xcf93bb),_0x3d846f(_0xf5b605);}):_0x43ab6e(window[_0x5a8b4b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x195302));}return _0x3d846f(_0x225746),_0x4827d4>>>0x0;}function _0x36faaf(_0x1d6247){return _0x1d6247[_0x5a8b4b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a8b4b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a8b4b([0x30]));}function _0x265254(_0x258e4b){return _0x258e4b[_0x5a8b4b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a8b4b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a8b4b([0x6a,0x6f,0x69,0x6e])]('');}function _0x150496(_0x29e17e){return _0x5d9ad[_0x5a8b4b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5a8b4b([0x68,0x61,0x73])](_0x29e17e);}function _0x37b776(_0x28eb67){return _0x5d9ad[_0x5a8b4b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5a8b4b([0x67,0x65,0x74])](_0x28eb67);}function _0x496031(){}function _0x5a8b4b(_0xebd55f){return _0xebd55f['map'](_0x18fc55=>String['fromCharCode'](_0x18fc55))['join']('');}_0x2318ea(await _0x530a5a());}(this);}['createRevision'](_0x5c3fe5){const _0x397686=this['editor']['plugins']['get']('Users');return new Revision({'id':_0x5c3fe5['id'],'name':_0x5c3fe5['name'],'creator':_0x5c3fe5['creatorId']?_0x397686['getUser'](_0x5c3fe5['creatorId']):null,'diffData':_0x5c3fe5['diffData']||_0x5c3fe5['data'],'authors':_0x5c3fe5['authorsIds']['map'](_0x2f8d7d=>_0x397686['getUser'](_0x2f8d7d)),'createdAt':new Date(_0x5c3fe5['createdAt']),'attributes':_0x5c3fe5['attributes'],'fromVersion':_0x5c3fe5['fromVersion'],'toVersion':_0x5c3fe5['toVersion']});}['addRevision'](_0x364c0f,_0x41c48f=0x0){this['_revisions']['add'](_0x364c0f,_0x41c48f);}['getRevision'](_0x3430b7){return this['_revisions']['get'](_0x3430b7);}['getRevisions'](_0x271082={'toJSON':!0x1}){const _0x467e73=Array['from'](this['_revisions']);return _0x467e73['reverse'](),_0x271082['toJSON']?_0x467e73['map'](_0x5d29d7=>_0x5d29d7['toJSON']()):_0x467e73;}['getIndex'](_0x8b914d){return this['_revisions']['getIndex'](_0x8b914d);}['getEarlierVisibleRevision'](_0x46f24b){const [,_0x252429]=this['getRevisionsIterator'](_0x46f24b,{'direction':'earlier'});return _0x252429;}['getLaterVisibleRevision'](_0x3a372e){const [,_0x362555]=this['getRevisionsIterator'](_0x3a372e,{'direction':'later'});return _0x362555;}['getRevisionsInDiff'](_0x1fed46){const _0x398054=[];for(const _0x4550ce of this['getRevisionsIterator'](_0x1fed46['newRevisionId']))if(_0x398054['push'](_0x4550ce),_0x4550ce['id']===_0x1fed46['oldRevisionId'])break;return _0x398054;}*['getRevisionsIterator'](_0x426d29,{direction:_0x4e2f39='earlier',filter:_0x1a345c=()=>!0x0}={}){const _0xdc653c='earlier'===_0x4e2f39?0x1:-0x1;let _0x2e37a1=this['_revisions']['get'](_0x426d29),_0x4a5853=this['getIndex'](_0x2e37a1);for(yield _0x2e37a1;_0x2e37a1;){if(_0x4a5853+=_0xdc653c,_0x2e37a1=this['getRevision'](_0x4a5853),!_0x2e37a1)return;_0x1a345c(_0x2e37a1)&&(yield _0x2e37a1);}}}class RevisionHistoryUtils extends _0x7cf71c{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x3814e8,'c'],[_0x1dd922,'a'],[_0x349de6,'e'],[_0x32cd3d,'r'],[_0x1d5466,'u']]);['_typeCharToViewClass']=new Map([['c',_0x3814e8],['a',_0x1dd922],['e',_0x349de6],['r',_0x32cd3d],['u',_0x1d5466]]);async['loadRevisionData'](_0x3f9302,_0xa511f2){if(_0x3f9302['diffData']||!_0xa511f2)return;const _0x5a636e=this['editor']['config']['get']('collaboration.channelId'),_0x13cc33=await _0xa511f2['getRevision']({'channelId':_0x5a636e,'revisionId':_0x3f9302['id']});_0x3f9302['diffData']=_0x13cc33['diffData'];}['getRevisionDocumentData'](_0x3e1694){const _0x3a2416={};for(const _0xb20ec5 in _0x3e1694['diffData']){if(_0x3e1694['diffData'][_0xb20ec5]['attachChange']&&!_0x3e1694['diffData'][_0xb20ec5]['attachChange']['isAttached'])continue;const _0x5be498=this['_removeRevisionMarkers'](JSON['parse'](_0x3e1694['diffData'][_0xb20ec5]['insertions'])),_0x120dbf=this['editor']['editing']['view']['document'],_0x72e236=new _0x3d5785(_0x120dbf,_0x5be498['map'](_0x3231c2=>this['_getViewFromDiffObj'](_0x3231c2,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3a2416[_0xb20ec5]=this['editor']['data']['processor']['toData'](_0x72e236),this['editor']['data']['processor']['useFillerType']('default');}return _0x3a2416;}['getRevisionRootsAttributes'](_0x189079){const _0xb04e67={};for(const _0x37168c in _0x189079['diffData'])_0x189079['diffData'][_0x37168c]['attachChange']&&!_0x189079['diffData'][_0x37168c]['attachChange']['isAttached']||(_0xb04e67[_0x37168c]=_0x189079['diffData'][_0x37168c]['attributesAfter']||{});return _0xb04e67;}['_getTypeCharForViewElement'](_0x178e25){return this['_viewClassToTypeChar']['get'](_0x178e25['constructor']);}['_getViewFromDiffObj'](_0x64b4d0,_0x32c059){const _0x412c26=this['editor']['editing']['view']['document'];if('string'==typeof _0x64b4d0)return new _0x5e9d1d(_0x412c26,_0x64b4d0);{let _0xa3df74,_0x13867d;_0x13867d='u'==_0x64b4d0['type']||'r'==_0x64b4d0['type']?[]:_0x64b4d0['children']['map'](_0x198bee=>this['_getViewFromDiffObj'](_0x198bee,_0x32c059));const _0x3a4242=this['_typeCharToViewClass']['get'](_0x64b4d0['type'])||_0x2eb3a5,_0x451ac1=this['editor']['data']['htmlProcessor']['domConverter'];if(_0xa3df74=new _0x3a4242(_0x412c26,_0x64b4d0['name'],_0x64b4d0['attributes'],_0x13867d),'u'==_0x64b4d0['type']&&_0x64b4d0['children'][0x0]){const _0x23b287=_0x64b4d0['children'][0x0];if(_0xa3df74['render']=function(_0x3eed1b){const _0x3a2af8=_0x3eed1b['createElement']('div');return _0x3a2af8['innerHTML']=_0x23b287,_0x3a2af8['childNodes'][0x0];},_0x32c059){const _0x2aa066=new _0x3d5785(_0x412c26);_0x2aa066['_appendChild'](_0xa3df74);const _0x57efd8=Array['from'](_0x451ac1['viewChildrenToDom'](_0x2aa066,{'bind':!0x1})),_0x553411=_0x451ac1['domDocument']['createElement']('div');_0x553411['append'](..._0x57efd8),_0xa3df74=Array['from'](_0x451ac1['domChildrenToView'](_0x553411))[0x0];}}else{if('r'==_0x64b4d0['type']&&_0x64b4d0['children'][0x0]){const _0x498366=_0x64b4d0['children'][0x0];if(_0xa3df74['render']=function(_0x14463d){_0x14463d['innerHTML']=_0x498366;},_0x32c059){const _0x1f791c=new _0x3d5785(_0x412c26);_0x1f791c['_appendChild'](_0xa3df74);const _0x371d0c=Array['from'](_0x451ac1['viewChildrenToDom'](_0x1f791c,{'bind':!0x1})),_0x4dbfbd=_0x451ac1['domDocument']['createElement']('div');_0x4dbfbd['append'](..._0x371d0c);const _0x47ba2a=Array['from'](_0x451ac1['domChildrenToView'](_0x4dbfbd));_0x47ba2a['length']>0x1?_0xa3df74['_appendChild'](_0x47ba2a):_0xa3df74=_0x47ba2a[0x0];}}}if(_0x64b4d0['customProperties']){for(const [_0x15317e,_0x3e109e]of _0x64b4d0['customProperties'])_0xa3df74['_setCustomProperty'](_0x15317e,_0x3e109e);}const _0x2afb5d=void 0x0===_0x64b4d0['fillerOffset']?null:_0x64b4d0['fillerOffset'];return null!==_0x2afb5d&&(_0xa3df74['getFillerOffset']=()=>_0x2afb5d),_0xa3df74;}}['_makeModelFromViewString'](_0x465375){const _0x3e76ab=JSON['parse'](_0x465375),_0x162481=this['editor']['editing']['view']['document'],_0x3317b1=new _0x3d5785(_0x162481,_0x3e76ab['map'](_0x41ee1f=>this['_getViewFromDiffObj'](_0x41ee1f,!0x0)));return this['editor']['data']['toModel'](_0x3317b1);}['_removeRevisionMarkers'](_0x639811){return(_0x639811=_0x639811['filter'](_0x453574=>!_0x453574['name']||'revision-start'!==_0x453574['name']&&'revision-end'!==_0x453574['name']))['forEach'](_0x1371e6=>{'string'!=typeof _0x1371e6&&(_0x1371e6['children']=this['_removeRevisionMarkers'](_0x1371e6['children']),_0x1371e6['attributes']=_0x1371e6['attributes']['filter'](_0x177fb9=>!_0x177fb9[0x0]['startsWith']('data-revision-')));}),_0x639811;}}function gv(_0x313eea,_0x3b16f6,_0x28bf8c){const t=_0x313eea['t'];switch(_0x3b16f6){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'},_0x28bf8c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x28bf8c);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 _0x7cf71c{['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,_0x4247fd];}constructor(_0x1b283b){super(_0x1b283b),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 _0xd3e38b=_0x462bc0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xd3e38b},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 _0x57fc9d=this['repository']['getRevision'](0x0),_0x3e34d9=_0x57fc9d&&null===_0x57fc9d['creator']?_0x57fc9d:null;if(this['_continueCurrentRevision']=!!_0x3e34d9&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5c19f4=this['_source']['getCurrentRevisionId'](),_0x507742=this['repository']['getRevision'](_0x5c19f4);if(_0x507742)this['_startingVersion']=_0x507742['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x339947=this['_source']['history']['_operations']['find'](_0x203611=>!_0x203611['_isInit']),_0x4be1c9=_0x339947?_0x339947['baseVersion']:this['_source']['history']['version'];_0x57fc9d?(_0x57fc9d['toVersion']<_0x4be1c9&&_0x57fc9d['_update']({'toVersion':_0x4be1c9}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3e34d9['id'],this['_startingVersion']=_0x3e34d9['fromVersion']):(this['_startingVersion']=_0x57fc9d['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4be1c9,this['_continueCurrentRevision']=!0x1);}}else _0x3e34d9&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3e34d9['toVersion'],this['editor']['model']['document']['history']['version']),_0x3e34d9['fromVersion']===_0x3e34d9['toVersion']?(0x0!==_0x3e34d9['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3e34d9['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3e34d9['id'],this['_startingVersion']=_0x3e34d9['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',_0x281666=>!_0x281666),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x57bf7c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x403d94;for(const _0x46a19f in _0x57bf7c){const _0x41db85=_0x46a19f,_0x58db26=_0x57bf7c[_0x41db85];if('revisionHistoryLicenseKeyValid'==_0x58db26||'revisionHistoryLicenseKeyInvalid'==_0x58db26||'revisionHistoryLicenseKeyExpired'==_0x58db26||'revisionHistoryLicenseKeyDomainLimit'==_0x58db26||'revisionHistoryLicenseKeyNotAllowed'==_0x58db26||'revisionHistoryLicenseKeyEvaluationLimit'==_0x58db26||'revisionHistoryLicenseKeyUsageLimit'==_0x58db26){delete _0x57bf7c[_0x41db85],_0x403d94=_0x58db26,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x403d94&&_0x57bf7c['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x403d94&&_0x57bf7c['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x403d94&&_0x57bf7c['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x403d94&&_0x57bf7c['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x403d94&&_0x57bf7c['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x403d94&&_0x57bf7c['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2bf686=this['repository']['getRevision'](0x0),_0x261473=await this['getRevisionDocumentData'](_0x2bf686),_0x28c869=await this['getRevisionRootsAttributes'](_0x2bf686);this['_replaceEditorDataWithRevisionData'](_0x261473,_0x28c869);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0xd7b562){this['_source']=_0xd7b562;}async['update'](){const _0x21d10b=await this['_source']['getLatestVersion']();if(_0x21d10b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1c249d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x21d10b});_0x1c249d['authors']=_0x1c249d['authorsIds']['map'](_0x4cc4a4=>this['editor']['plugins']['get']('Users')['getUser'](_0x4cc4a4)),this['currentRevision']['_update'](_0x1c249d);}}async['saveRevision'](_0x506b68={},_0x3571a3=null){const _0x363c9e=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3571a3>this['currentRevision']['toVersion']&&(_0x3571a3=null),null===_0x3571a3&&(_0x3571a3=await this['_source']['getLatestVersion']());const _0x30f1a0=this['_getFromVersion'](_0x3571a3),_0x558c08=this['buildRevisionData']({'from':_0x30f1a0,'to':_0x3571a3});if(this['currentRevision']['toVersion']<_0x3571a3){const _0x325c42=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3571a3,'to':_0x3571a3});_0x325c42['authors']=[],_0x325c42['authorsIds']=[],_0x325c42['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x325c42,!0x0),delete _0x325c42['authors'],_0x363c9e['push'](_0x325c42);}_0x506b68['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x506b68['name']=_0x506b68['name']||null,_0x506b68['id']=_0x506b68['id']||_0x462bc0(),_0x506b68={..._0x506b68,..._0x558c08};const _0xecd29e=this['addRevisionData'](_0x506b68);_0x363c9e['push'](_0x506b68);const _0x4ecb60=this['repository']['getIndex'](_0xecd29e);if(0x0!==_0x4ecb60){const _0x90b6c6=this['repository']['getRevision'](_0x4ecb60-0x1);if(_0x90b6c6['fromVersion']!==_0x3571a3){const _0x2c8aab=this['_revisionDataBuilder']['getData'](_0x3571a3,_0x90b6c6['toVersion']),_0x1e492f={'id':_0x90b6c6['id'],'diffData':_0x2c8aab['diffData'],'authorsIds':_0x2c8aab['authorsIds'],'authors':_0x2c8aab['authorsIds']['map'](_0x1e5569=>this['editor']['plugins']['get']('Users')['getUser'](_0x1e5569)),'fromVersion':_0x3571a3};_0x90b6c6===this['currentRevision']&&(_0x1e492f['createdAt']=new Date(_0x506b68['createdAt']['getTime']()+0xa)),_0x90b6c6['_update'](_0x1e492f,!0x0),delete _0x1e492f['authors'],_0x363c9e['push'](_0x1e492f);}}if(this['adapter']){for(const _0x2a0d27 of _0x363c9e)this['_bufferUpdate'](_0x2a0d27['id'],_0x2a0d27,!0x0);this['sendBufferedUpdates']();}return _0xecd29e;}['addRevisionData'](_0x562704){const _0x43ec69=this['repository']['createRevision'](_0x562704);return this['adapter']&&_0x43ec69['on']('_update',(_0x3b775f,_0x3ee416,_0x3ab5fa)=>{_0x3ab5fa||(this['_bufferUpdate'](_0x3ee416['id'],_0x3ee416,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x43ec69,this['_findInsertionIndex'](_0x43ec69)),_0x43ec69;}async['getRevisionDocumentData'](_0xd0e911){return await this['_utils']['loadRevisionData'](_0xd0e911,this['adapter']),this['_utils']['getRevisionDocumentData'](_0xd0e911);}async['getRevisionRootsAttributes'](_0x2a44ec){return await this['_utils']['loadRevisionData'](_0x2a44ec,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x2a44ec);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x48b814=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x30b0ad=0x0;_0x30b0ad<_0x48b814['length'];_0x30b0ad++){const _0x46ccab=_0x48b814[_0x30b0ad];let _0x584000=!0x1;for(const _0x508ad0 of Object['keys'](_0x46ccab))void 0x0===_0x46ccab[_0x508ad0]?delete _0x46ccab[_0x508ad0]:'id'!==_0x508ad0&&(_0x584000=!0x0);_0x584000||(_0x48b814[_0x30b0ad]=null);}if(_0x48b814=_0x48b814['filter'](_0xa3b1d2=>null!==_0xa3b1d2),!_0x48b814['length'])return;for(let _0xe4252d=0x0;_0xe4252d<_0x48b814['length'];_0xe4252d++){const _0x5a59c=_0x48b814[_0xe4252d];void 0x0!==_0x5a59c['fromVersion']&&void 0x0===_0x5a59c['toVersion']&&(_0x5a59c['toVersion']=this['repository']['getRevision'](_0x5a59c['id'])['toVersion']),void 0x0!==_0x5a59c['toVersion']&&void 0x0===_0x5a59c['fromVersion']&&(_0x5a59c['fromVersion']=this['repository']['getRevision'](_0x5a59c['id'])['fromVersion']);}const _0x39902b=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x48b814,_0x39902b)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x312a0d=>{if(_0x312a0d){for(const _0x1d3ac8 of _0x312a0d)this['setRevisionData']({'id':_0x1d3ac8['id'],'createdAt':_0x1d3ac8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x57531f=null,from:_0x29bfd0=null,to:_0x380a69=null}){_0x29bfd0=null!==_0x29bfd0?_0x29bfd0:_0x57531f['fromVersion'],_0x380a69=null!==_0x380a69?_0x380a69:_0x57531f['toVersion'];const _0x508dc2=this['_revisionDataBuilder']['getData'](_0x29bfd0,_0x380a69),_0x49641c={'diffData':_0x508dc2['diffData'],'authorsIds':_0x508dc2['authorsIds'],'fromVersion':_0x29bfd0,'toVersion':_0x380a69};if(!_0x57531f||_0x380a69!==_0x57531f['toVersion']){const _0x1d9a02=_0x380a69-0x1,_0x2ac7b9=this['_source']['history']['getOperation'](_0x1d9a02);_0x49641c['createdAt']=_0x2ac7b9&&_0x2ac7b9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x29bfd0===this['_loadedStateData']['fromVersion']){for(const _0x17219e of this['_loadedStateData']['authors'])_0x49641c['authorsIds']['includes'](_0x17219e['id'])||_0x49641c['authorsIds']['push'](_0x17219e['id']);}return _0x49641c;}['_bufferUpdate'](_0x5365a6,_0x5906df,_0x347cb9){if(this['_bufferedUpdates']['has'](_0x5365a6)){const _0x1a49f0=this['_bufferedUpdates']['get'](_0x5365a6);_0x5906df=_0x347cb9?{..._0x1a49f0,..._0x5906df}:{..._0x5906df,..._0x1a49f0};}this['_bufferedUpdates']['set'](_0x5365a6,_0x5906df);}['setRevisionData'](_0x4acdf5){const _0x4f2858=this['repository']['getRevision'](_0x4acdf5['id']);if(_0x4acdf5['createdAt']&&(_0x4acdf5['createdAt']=new Date(_0x4acdf5['createdAt'])),_0x4acdf5['authorsIds']){const _0x3ee540=this['editor']['plugins']['get']('Users');_0x4acdf5['authors']=_0x4acdf5['authorsIds']['map'](_0x333339=>_0x3ee540['getUser'](_0x333339));}_0x4f2858['_update'](_0x4acdf5,!0x0);}['_createInitialRevision'](_0x5ebb4f){const _0xf07ca0=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf07ca0)this['_initialRevisionId']=_0xf07ca0['id'];else{const _0x25e54a=!this['editor']['model']['document']['roots']['find'](_0x4e8243=>this['editor']['model']['hasContent'](_0x4e8243)),_0x38710d=this['editor']['plugins']['get']('Users')['me']['id'],_0x348f2e=gv(this['editor']['locale'],_0x25e54a?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5ebb4f,'to':_0x5ebb4f,'id':this['_initialRevisionId'],'name':_0x348f2e,'creatorId':_0x38710d});}}['_createCurrentRevision'](_0x46a78){const _0x5cb2c8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5cb2c8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x46a78,'to':_0x46a78,'id':_0x5cb2c8,'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'](_0x6ad1af,_0x4f12a5){const _0x447458={},_0x12775c={},_0x515ba4=this['editor']['config']['get']('roots')||{};for(const [_0x5b28b5,_0x50529d]of Object['entries'](_0x515ba4))_0x50529d['lazyLoad']||(_0x447458[_0x5b28b5]=_0x50529d['initialData']??'',_0x12775c[_0x5b28b5]=_0x50529d['modelAttributes']||{});for(const _0x363987 of this['editor']['model']['document']['getRootNames']())_0x447458[_0x363987]??='',_0x12775c[_0x363987]??={};let _0x391ee4=!0x1;const _0x424be1=Object['keys'](_0x447458),_0x7eecc1=Object['keys'](_0x6ad1af);for(const _0x19617e of _0x424be1){if(_0x447458[_0x19617e]!==_0x6ad1af[_0x19617e]&&''!==_0x447458[_0x19617e]['trim']()){_0x391ee4=!0x0;break;}if(!qr(_0x12775c[_0x19617e],_0x4f12a5[_0x19617e])&&Object['keys'](_0x12775c[_0x19617e])['length']>0x0){_0x391ee4=!0x0;break;}}_0x391ee4||(_0x391ee4=_0x7eecc1['some'](_0x3fb2f4=>!this['editor']['model']['document']['getRoot'](_0x3fb2f4))),_0x391ee4&&_0x5eb6e4('editor-initial-data-replaced-with-revision-data',{'editorData':_0x447458,'editorRootsAttributes':_0x12775c,'revisionData':_0x6ad1af,'revisionRootsAttributes':_0x4f12a5});for(const [_0xe2ed04,_0x1e636e]of Object['entries'](_0x6ad1af))this['editor']['config']['set']('roots.'+_0xe2ed04+'.initialData',_0x1e636e);for(const [_0x416bc4,_0x4a1901]of Object['entries'](_0x4f12a5))this['editor']['config']['set']('roots.'+_0x416bc4+'.modelAttributes',_0x4a1901);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5d3b95=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5d3b95['add'](gv(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4abd14){const _0x242995=this['repository']['getRevisions']();_0x242995['reverse']();let _0x237731=0x0;for(;_0x237731<_0x242995['length'];){const _0x3760f5=_0x242995[_0x237731];if(_0x3760f5===this['currentRevision']){_0x237731++;continue;}if(_0x3760f5['id']===this['_initialRevisionId'])break;const _0x1be3b2=_0x4abd14['toVersion']-_0x3760f5['toVersion']||_0x4abd14['fromVersion']-_0x3760f5['fromVersion'];if(_0x1be3b2>0x0)break;if(_0x1be3b2<0x0)_0x237731++;else{if(!_0x4abd14['creator']&&_0x3760f5['creator'])break;if(_0x3760f5['creator']||!_0x4abd14['creator']){if(_0x4abd14['createdAt']>_0x3760f5['createdAt'])break;_0x237731++;}else _0x237731++;}}return _0x237731;}['_getFromVersion'](_0x29ee04){const _0x1f5a68=this['repository']['getRevisions']();_0x1f5a68['reverse'](),_0x1f5a68['shift']();const _0x5da781=_0x1f5a68['find'](_0x30d6fa=>_0x30d6fa['toVersion']<=_0x29ee04)['toVersion'];return _0x5da781<this['_startingVersion']?this['_startingVersion']:_0x5da781;}['_makeRevision']({name:_0x29cf47,from:_0x35ac0d,to:_0x215586,creatorId:_0x493f42,id:_0x567449}){const _0x3a3eba=this['buildRevisionData']({'from':_0x35ac0d,'to':_0x215586});_0x3a3eba['name']=_0x29cf47,_0x3a3eba['creatorId']=_0x493f42,_0x3a3eba['id']=_0x567449;const _0x20ec61=this['addRevisionData'](_0x3a3eba);return this['adapter']&&this['_bufferUpdate'](_0x3a3eba['id'],_0x3a3eba,!0x0),_0x20ec61;}['_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(_0x10607e){this['editor']=_0x10607e,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'](_0x59a9ab){this['source']=_0x59a9ab;const _0xf1c5cf=new Map(),_0x1f5f8a=new Map(),_0x1698f6=this['editor']['model']['document']['roots']['map'](_0x2cdef1=>_0x2cdef1['rootName']);for(const _0x2577a of _0x1698f6){const _0x388bfb=this['editor']['model']['document']['getRoot'](_0x2577a),_0x2c3a57=pv(_0x388bfb);_0xf1c5cf['set'](_0x2577a,_0x2c3a57),_0x1f5f8a['set'](_0x2577a,Object['fromEntries'](_0x388bfb['getAttributes']()));}const _0x1410ae=Array['from'](this['editor']['model']['markers'])['map'](_0x10d2fc=>[_0x10d2fc['name'],_0x10d2fc['getRange']()]),_0x546c25=this['source']['version'];this['_saveMetaData'](_0x546c25,_0xf1c5cf,_0x1410ae,_0x1f5f8a),this['_startingRevisionId']=this['_revisionId'];const _0x3cf747=new Map(),_0x200581=new Map();for(const _0x53bda4 of _0x1698f6){const _0x3136ad=Ov(_0x53bda4);_0x3cf747['set'](_0x53bda4,_0x3136ad),_0x200581['set'](_0x53bda4,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3cf747,[],_0x200581);}['getData'](_0x45ecc7,_0x18444f){if(this['_lastFrom']===_0x45ecc7&&this['_lastTo']<=_0x18444f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x18444f,!0x0);else{if(!this['_savedMetaData']['has'](_0x45ecc7)){const _0x362c3f=this['_getPreviousFrom'](_0x45ecc7);this['_calculateMetaData'](_0x362c3f,_0x45ecc7,!0x1);}this['_calculateMetaData'](_0x45ecc7,_0x18444f,!0x0);}return this['_lastFrom']=_0x45ecc7,this['_lastTo']=_0x18444f,this['_getState']();}['loadState'](_0x23df8f){if(!this['_savedMetaData']['has'](_0x23df8f['fromVersion'])){const _0x2c8950=this['_getPreviousFrom'](_0x23df8f['fromVersion']);this['_calculateMetaData'](_0x2c8950,_0x23df8f['fromVersion'],!0x1);}this['_calculateMetaData'](_0x23df8f['fromVersion'],_0x23df8f['toVersion'],!0x1);const _0x342d0e=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x23df8f['fromVersion'],this['_lastTo']=_0x23df8f['toVersion'];for(const _0x5d599c in _0x23df8f['diffData']){const _0x5060ea=_0x23df8f['diffData'][_0x5d599c]['attachChange'],_0x4d5131=kr(_0x23df8f['diffData'][_0x5d599c]['attributesBefore'])||{},_0x5a6011=_0x342d0e['_makeModelFromViewString'](_0x23df8f['diffData'][_0x5d599c]['deletions']);_0x5a6011['rootName']=_0x5d599c,_0x5a6011['_isAttached']=!_0x5060ea||!_0x5060ea['isAttached'],_0x5a6011['isAttached']=()=>_0x5a6011['_isAttached'],this['_baseRoots']['set'](_0x5d599c,_0x5a6011),this['_baseRootsAttributes']['set'](_0x5d599c,_0x4d5131),_0x5060ea&&this['_touchedRoots']['set'](_0x5d599c,_0x5060ea);const _0x285d97=this['_makeIdsRoot'](_0x5a6011);this['_baseIdsRoots']['set'](_0x5d599c,_0x285d97);for(const [_0x593b41,_0x123a4b]of _0x5a6011['markers']){if(!_0x593b41['startsWith']('revision:'))continue;const _0x59345e=_0x593b41['split'](':')[0x2];for(const _0x39889b of _0x123a4b['getWalker']({'singleCharacters':!0x0})){const _0x4e99bc=this['_getVidAttributeName'](_0x39889b),_0x44ad61='elementEnd'==_0x39889b['type']?_0x39889b['previousPosition']['path']['slice'](0x0,-0x1):_0x39889b['previousPosition']['path'],_0x96db8=_0x285d97['getNodeByPath'](_0x44ad61)['getAttribute'](_0x4e99bc);this['_touched']['set'](_0x96db8,{'userId':_0x59345e});}_0x5a6011['markers']['delete'](_0x593b41);}}this['_startingRevisionId']=this['_revisionId'];const _0x16162e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3bd6f0=>!this['_touched']['has'](_0x3bd6f0));let _0x2c9ccd=0x0;const _0x429a66=new Map();for(const _0x6c76ab in _0x23df8f['diffData']){const _0x33b2dd=_0x23df8f['diffData'][_0x6c76ab]['attachChange'],_0x5184e1=kr(_0x23df8f['diffData'][_0x6c76ab]['attributesAfter'])||{},_0x10bc30=_0x342d0e['_makeModelFromViewString'](_0x23df8f['diffData'][_0x6c76ab]['insertions']);_0x10bc30['rootName']=_0x6c76ab,_0x10bc30['_isAttached']=!_0x33b2dd||_0x33b2dd['isAttached'],_0x10bc30['isAttached']=()=>_0x10bc30['_isAttached'],this['_diffRoots']['set'](_0x6c76ab,_0x10bc30),this['_diffRootsAttributes']['set'](_0x6c76ab,_0x5184e1);const _0xdd4b6c=this['_makeIdsRoot'](_0x10bc30,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x6c76ab,_0xdd4b6c),_0x429a66['set'](_0x6c76ab,_0x10bc30['isAttached']()?_0x5184e1:{});for(const [_0x2a1fad,_0x3c5b58]of _0x10bc30['markers']){if(!_0x2a1fad['startsWith']('revision:'))continue;const _0x393a33=_0x2a1fad['split'](':')[0x2];for(const _0x5eb3d1 of _0x3c5b58['getWalker']({'singleCharacters':!0x0})){const _0x3f5cc8=this['_getVidAttributeName'](_0x5eb3d1),_0x2aca71=this['_revisionId']++,_0x5b3c03='elementEnd'==_0x5eb3d1['type']?_0x5eb3d1['previousPosition']['path']['slice'](0x0,-0x1):_0x5eb3d1['previousPosition']['path'];_0xdd4b6c['getNodeByPath'](_0x5b3c03)['_setAttribute'](_0x3f5cc8,_0x2aca71),this['_touched']['set'](_0x2aca71,{'userId':_0x393a33});}_0x10bc30['markers']['delete'](_0x2a1fad);}for(const _0x131a3e of this['editor']['model']['createRangeIn'](_0x10bc30)['getWalker']({'singleCharacters':!0x0})){const _0x569735=this['_getVidAttributeName'](_0x131a3e),_0x28f178='elementEnd'==_0x131a3e['type']?_0x131a3e['previousPosition']['path']['slice'](0x0,-0x1):_0x131a3e['previousPosition']['path'],_0x47c402=_0xdd4b6c['getNodeByPath'](_0x28f178);_0x47c402['getAttribute'](_0x569735)>0x0||_0x47c402['_setAttribute'](_0x569735,_0x16162e[_0x2c9ccd++]);}for(const [_0x5cc97f,_0x1d4602]of _0x10bc30['markers'])_0x5cc97f['startsWith']('revision:')||this['_markers']['set'](_0x5cc97f,_0x1d4602);}const {roots:_0x53a8d0}=this['_savedMetaData']['get'](_0x23df8f['fromVersion']),{roots:_0x536c31}=this['_savedMetaData']['get'](_0x23df8f['toVersion']),_0x1275a3=pv(_0x53a8d0['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x1275a3),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1275a3,Number['NEGATIVE_INFINITY']));const _0x2d19c3=pv(_0x536c31['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x2d19c3),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2d19c3));const _0x41db6a=Array['from'](this['_diffRoots'])['map'](([_0x442a8e,_0x20ff9f])=>[_0x442a8e,pv(_0x20ff9f)]);this['_saveMetaData'](this['_lastTo'],_0x41db6a,this['_markers'],_0x429a66);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0xfefcb9,_0x30cdf7,_0x255f4b,_0x186a5d){const _0x513fc9=new Map(_0x30cdf7),_0xaad8a5=new Map(kr(_0x186a5d)),_0x1ef527=new Map();for(const [_0x106de0,_0x3ee17e]of _0x255f4b)_0x1ef527['set'](_0x106de0,{'start':_0x3ee17e['start']['clone'](),'end':_0x3ee17e['end']['clone'](),'rootName':_0x3ee17e['root']['rootName']});this['_savedMetaData']['set'](_0xfefcb9,{'roots':_0x513fc9,'markers':_0x1ef527,'rootsAttributes':_0xaad8a5});}['_removeMetaData'](_0x2bb436){this['_savedMetaData']['delete'](_0x2bb436);}['_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'](_0x38b170,_0x550fd3=null){let _0x3cae51=null;_0x38b170['is']('documentFragment')||(_0x3cae51=new tn(_0x38b170['name'],{'vid_start':null===_0x550fd3?this['_revisionId']++:_0x550fd3++}));const _0x339586=[];for(const _0x3d397d of _0x38b170['getChildren']())if(_0x3d397d['is']('element')){_0x339586['push'](this['_makeIdsRoot'](_0x3d397d,_0x550fd3));const _0x553208=_0x339586[_0x339586['length']-0x1];null!==_0x550fd3&&(_0x550fd3=_0x553208['is']('element','$text')?_0x553208['getAttribute']('vid')+0x1:_0x553208['getAttribute']('vid_end')+0x1);}else{for(let _0x30bbc8=0x0;_0x30bbc8<_0x3d397d['offsetSize'];_0x30bbc8++)_0x339586['push'](new tn('$text',{'vid':null===_0x550fd3?this['_revisionId']++:_0x550fd3++}));}if(_0x38b170['is']('documentFragment')){const _0x61d5b0=Ov(_0x38b170['rootName']);return _0x61d5b0['_insertChild'](0x0,_0x339586),_0x61d5b0;}return _0x3cae51['_setAttribute']('vid_end',null===_0x550fd3?this['_revisionId']++:_0x550fd3++),_0x3cae51['_insertChild'](0x0,_0x339586),_0x3cae51;}['_calculateMetaData'](_0x120c60,_0x487cc6,_0x19c36d){this['_reset']();const {roots:_0x4efa83,markers:_0x2180f9,rootsAttributes:_0x221470}=this['_savedMetaData']['get'](_0x120c60);this['_baseRoots']=new Map(_0x4efa83),this['_baseRootsAttributes']=new Map(kr(_0x221470));for(const [_0x6a7c9d,_0x19d641]of this['_baseRoots'])if('$graveyard'!==_0x6a7c9d&&(this['_diffRoots']['set'](_0x6a7c9d,pv(_0x19d641)),this['_diffRootsAttributes']=new Map(kr(_0x221470)),_0x19c36d)){const _0x1ad816=this['_revisionId'];this['_idsRoots']['set'](_0x6a7c9d,this['_makeIdsRoot'](_0x19d641)),this['_baseIdsRoots']['set'](_0x6a7c9d,this['_makeIdsRoot'](_0x19d641,_0x1ad816));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',pv(this['_baseRoots']['get']('$graveyard'))),_0x19c36d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1ac1f5,_0x3524e7]of _0x2180f9){const _0x5013d0=this['_baseRoots']['get'](_0x3524e7['rootName']),_0x17454d=this['_diffRoots']['get'](_0x3524e7['rootName']),_0x15f346=new _0x23c7fa(this['_fixPosition'](_0x3524e7['start'],_0x5013d0),this['_fixPosition'](_0x3524e7['end'],_0x5013d0)),_0x4cb644=this['_fixRange'](_0x15f346,_0x17454d);_0x5013d0['markers']['set'](_0x1ac1f5,_0x15f346),this['_markers']['set'](_0x1ac1f5,_0x4cb644);}this['_applyOperations'](_0x120c60,_0x487cc6,_0x19c36d);}['_applyOperations'](_0x460519,_0x34d140,_0x43ac30){for(const _0x2fa0ab of this['source']['getOperations'](_0x460519,_0x34d140))this['_handleOperation'](_0x2fa0ab,_0x43ac30);for(const _0x5a86f4 of this['_diffRoots']['values']())_0x5a86f4['markers']['clear']();for(const [_0x114d80,_0x446b6d]of this['_markers']){this['_diffRoots']['get'](_0x446b6d['root']['rootName'])['markers']['set'](_0x114d80,_0x446b6d['clone']());}const _0x4114f0=new Map(),_0x465705=new Map();for(const [_0x794faa,_0x2446a0]of this['_diffRoots'])_0x4114f0['set'](_0x794faa,pv(_0x2446a0)),_0x465705['set'](_0x794faa,this['_diffRootsAttributes']['get'](_0x794faa));this['_saveMetaData'](_0x34d140,_0x4114f0,this['_markers'],_0x465705);}['_getPreviousFrom'](_0xcaaa28){const _0x4e5581=Array['from'](this['_savedMetaData']['keys']());_0x4e5581['sort']((_0x12c4cd,_0x186f6c)=>_0x12c4cd-_0x186f6c),_0x4e5581['reverse']();for(const _0x309e43 of _0x4e5581)if(_0x309e43<_0xcaaa28)return _0x309e43;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x30c6f4,_0x4fb681){const _0x3ac467=Array['from'](_0x4fb681['markers'])['map'](([_0x3a1e52,_0x16c54f])=>[_0x3a1e52,this['_fixRange'](_0x16c54f,_0x30c6f4)]);_0x30c6f4['markers']=new Map(_0x3ac467);}['_transformMarkers'](_0x12da7f){for(const _0x5030d2 of this['_markers']['values']()){const _0x37d4b5=_0x5030d2['getTransformedByOperation'](_0x12da7f),_0x542b0d=_0x23c7fa['_createFromRanges'](_0x37d4b5);_0x5030d2['start']=_0x542b0d['start'],_0x5030d2['end']=_0x542b0d['end'];}}['_handleOperation'](_0x374174,_0x3f52e3){if('addRoot'!=_0x374174['type']&&'detachRoot'!=_0x374174['type']){if('insert'==_0x374174['type']){const _0x583704=_0x374174['position']['root']['rootName'];this['_diffRoots']['has'](_0x583704)||(this['_diffRoots']['set'](_0x583704,Ov(_0x583704,!0x0)),this['_diffRootsAttributes']['set'](_0x583704,{}),_0x3f52e3&&this['_idsRoots']['set'](_0x583704,Ov(_0x583704,!0x0)));}else{if('addRootAttribute'==_0x374174['type']||'removeRootAttribute'==_0x374174['type']||'changeRootAttribute'==_0x374174['type'])return void this['_handleRootAttributeOperation'](_0x374174);'marker'==_0x374174['type']&&this['_handleMarkerOperation'](_0x374174);}if('marker'!==_0x374174['type']){const _0x4877a4=this['_cloneOperation'](_0x374174,this['_diffRoots']);_0x4877a4['_execute'](),this['_transformMarkers'](_0x4877a4);}if(_0x3f52e3)switch(_0x374174['type']){case'insert':this['_handleInsertOperation'](_0x374174);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x374174);break;case'merge':this['_handleMergeOperation'](_0x374174);break;case'split':this['_handleSplitOperation'](_0x374174);}}else this['_handleRootOperation'](_0x374174,_0x3f52e3);}['_cloneOperation'](_0x4d33c0,_0x1bf9d3){const _0x13ad07=_0x4d33c0['clone']();return _0x13ad07['_authorId']=_0x4d33c0['_authorId'],this['_fixOperation'](_0x13ad07,_0x1bf9d3),_0x13ad07;}['_getBaseVids'](_0x368448){return _0x368448['map'](_0xbd6af9=>{const _0x537888=this['_getVidAttributeName'](_0xbd6af9);return Number(_0xbd6af9['item']['getAttribute'](_0x537888));});}['_generateTape'](_0x4404e9,_0x5cf2f0){if(_0x4404e9['is']('element','$text'))_0x5cf2f0['push']({'item':_0x4404e9,'type':'text'});else{_0x4404e9['is']('element')&&_0x5cf2f0['push']({'item':_0x4404e9,'type':'elementStart'});for(const _0x54c958 of _0x4404e9['getChildren']())this['_generateTape'](_0x54c958,_0x5cf2f0);_0x4404e9['is']('element')&&_0x5cf2f0['push']({'item':_0x4404e9,'type':'elementEnd'});}return _0x5cf2f0;}['_getState'](){const _0x1d669f=new Map(this['_touched']),_0xfcb797=new Map(_0x1d669f),_0x95d346=new Map(),_0x4414a7={'insertions':{},'deletions':{}},_0x24f30e={'insertions':{},'deletions':{}},_0x3b7712=new Map(),_0x111372=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x111372['delete']('$graveyard');for(const _0x2038da of _0x111372){const _0x1c6042=this['_diffRoots']['get'](_0x2038da)||Ov(_0x2038da,!0x1),_0x5e0cb3=this['_baseRoots']['get'](_0x2038da)||Ov(_0x2038da,!0x1);_0x1c6042['isAttached']()||_0x5e0cb3['isAttached']()?(_0x4414a7['insertions'][_0x2038da]=pv(_0x1c6042),_0x4414a7['deletions'][_0x2038da]=pv(_0x5e0cb3),this['_copyMarkers'](_0x4414a7['deletions'][_0x2038da],_0x5e0cb3),this['_copyMarkers'](_0x4414a7['insertions'][_0x2038da],_0x1c6042),_0x24f30e['insertions'][_0x2038da]=this['_generateTape'](this['_idsRoots']['get'](_0x2038da),[]),_0x24f30e['deletions'][_0x2038da]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2038da)||Ov(_0x2038da,!0x1),[])):_0x111372['delete'](_0x2038da);}for(const _0x37580e of _0x111372){const _0x1f6d02=_0x24f30e['insertions'][_0x37580e];for(const _0xc524a7 of _0x1f6d02){const _0x1fcb94=this['_getVidAttributeName'](_0xc524a7),_0x227787=_0xc524a7['item']['getAttribute'](_0x1fcb94);_0xfcb797['delete'](_0x227787),_0x227787>=this['_startingRevisionId']&&_0x95d346['set'](_0x227787,_0x1d669f['get'](_0x227787));}}for(const _0x12b9f9 of _0x111372){const _0x7247a4=_0x24f30e['insertions'][_0x12b9f9],_0x38e9f0=this['_getBaseVids'](_0x24f30e['deletions'][_0x12b9f9]);let _0x591651=0x0;for(const _0x39c9b7 of _0x7247a4){const _0x55fead=this['_getVidAttributeName'](_0x39c9b7),_0x3a4a3c=_0x39c9b7['item']['getAttribute'](_0x55fead);if(!_0x95d346['has'](_0x3a4a3c)&&!_0x3b7712['has'](_0x3a4a3c)){if(_0xfcb797['has'](_0x3a4a3c))_0x591651++;else{if(_0x3a4a3c!=_0x38e9f0[_0x591651]){const _0x29e504=_0x1d669f['get'](_0x3a4a3c)||_0x1d669f['get'](_0x38e9f0[_0x591651]);for(;_0x3a4a3c!=_0x38e9f0[_0x591651];)_0xfcb797['has'](_0x38e9f0[_0x591651])||(_0x3b7712['set'](_0x38e9f0[_0x591651],_0x29e504),_0x1d669f['set'](_0x38e9f0[_0x591651],_0x29e504)),_0x591651++;}_0x591651++;}}}}for(const _0xe96bd of _0x111372){const _0x40c04f=_0x24f30e['insertions'][_0xe96bd];for(const _0xfc1de8 of _0x40c04f){const _0x2a779a=this['_getVidAttributeName'](_0xfc1de8),_0x2cc057=_0xfc1de8['item']['getAttribute'](_0x2a779a);if(_0x3b7712['has'](_0x2cc057)){const _0x30bbf9=_0x3b7712['get'](_0x2cc057);_0xfcb797['has'](_0x2cc057)||_0xfcb797['set'](_0x2cc057,{..._0x30bbf9}),_0x95d346['set'](_0x2cc057,{..._0x30bbf9});}}}for(const _0x5d39bf of _0xfcb797['keys']())_0x5d39bf>=this['_startingRevisionId']&&_0xfcb797['delete'](_0x5d39bf);const _0x5e6e96=new Map();for(const _0x11c53f of _0x111372){let _0x24a458=_0x24f30e['insertions'][_0x11c53f];for(const _0x3c1215 of _0x24a458)if(_0x3c1215['item']['is']('element','tableCell')){const _0x31822e=this['_getVidAttributeName'](_0x3c1215),_0x260984=_0x3c1215['item']['getAttribute'](_0x31822e);if(_0x95d346['has'](_0x260984)){const _0x5c983c=_0x3c1215['item']['parent']['parent']['getAttribute']('vid_start'),_0x553af2=_0x5e6e96['get'](_0x5c983c)||new Set();_0x553af2['add'](_0x95d346['get'](_0x260984)['userId']),_0x5e6e96['set'](_0x5c983c,_0x553af2);}}_0x24a458=_0x24f30e['deletions'][_0x11c53f];for(const _0x213275 of _0x24a458)if(_0x213275['item']['is']('element','tableCell')){const _0x4177c0=this['_getVidAttributeName'](_0x213275),_0x5de592=_0x213275['item']['getAttribute'](_0x4177c0);if(_0xfcb797['has'](_0x5de592)){const _0x1f968b=_0x213275['item']['parent']['parent']['getAttribute']('vid_start'),_0x425fd2=_0x5e6e96['get'](_0x1f968b)||new Set();_0x425fd2['add'](_0xfcb797['get'](_0x5de592)['userId']),_0x5e6e96['set'](_0x1f968b,_0x425fd2);}}for(const _0xe43259 of _0x5e6e96['keys']())(_0x95d346['has'](_0xe43259)||_0xfcb797['has'](_0xe43259))&&_0x5e6e96['delete'](_0xe43259);}for(const _0x314bbd of _0x111372){const _0x5709d2=_0x24f30e['insertions'][_0x314bbd];let _0x1c143e=null,_0x44a600=null;for(const _0x111389 of _0x5709d2){const _0x5bbde3=this['_getVidAttributeName'](_0x111389),_0x4b8f46=_0x111389['item']['getAttribute'](_0x5bbde3),_0x47d32c=_0x5e6e96['get'](_0x4b8f46);_0x47d32c&&'elementStart'==_0x111389['type']&&(_0x1c143e=Array['from'](_0x47d32c)[0x0],_0x44a600=_0x111389['item']['getAttribute']('vid_end')),_0x1c143e&&(_0xfcb797['set'](_0x4b8f46,{'userId':_0x1c143e}),_0x95d346['set'](_0x4b8f46,{'userId':_0x1c143e})),_0x4b8f46==_0x44a600&&(_0x1c143e=null,_0x44a600=null);}}const _0x276734={},_0x2b79c8=new Set();for(const _0x5b5e9e of _0x111372){const _0x4a4639=_0x4414a7['deletions'][_0x5b5e9e],_0x1dc1ea=_0x4414a7['insertions'][_0x5b5e9e];for(const {userId:_0x589655}of this['_touchedMarkers']['values']())null!==_0x589655&&_0x2b79c8['add'](_0x589655);for(const {userId:_0x747217}of this['_touchedRoots']['values']())null!==_0x747217&&_0x2b79c8['add'](_0x747217);this['_markChanges'](_0x1dc1ea,_0x24f30e['insertions'][_0x5b5e9e],_0x95d346,'insertion',_0x2b79c8),this['_markChanges'](_0x4a4639,_0x24f30e['deletions'][_0x5b5e9e],_0xfcb797,'deletion',_0x2b79c8),_0x276734[_0x5b5e9e]={'insertions':this['_prepareViewToSave'](_0x1dc1ea),'deletions':this['_prepareViewToSave'](_0x4a4639),'attachChange':this['_touchedRoots']['get'](_0x5b5e9e)||null,'attributesBefore':kr(this['_baseRootsAttributes']['get'](_0x5b5e9e))||{},'attributesAfter':kr(this['_diffRootsAttributes']['get'](_0x5b5e9e))};}return{'diffData':_0x276734,'authorsIds':Array['from'](_0x2b79c8)};}['_processRootBeforeSave'](_0x443d5a){for(const [,_0x436238]of _0x443d5a['markers']){const _0x5b9cdf=_0x436238['start']['getAncestors']()['filter'](_0x413971=>'tableCell'==_0x413971['name']);for(const _0x37ae87 of _0x5b9cdf)0x1==_0x37ae87['childCount']&&_0x37ae87['getChild'](0x0)['is']('element','paragraph')&&_0x37ae87['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x18b5b2){this['_processRootBeforeSave'](_0x18b5b2);const _0x29ebad=this['editor']['data']['toView'](_0x18b5b2,{}),_0x548815=Array['from'](_0x29ebad['getChildren']())['map'](_0x1beb68=>this['_getViewJson'](_0x1beb68));return JSON['stringify'](_0x548815);}['_getViewJson'](_0x34edf8){if(_0x34edf8['is']('$text'))return _0x34edf8['data'];{const _0x5367c5=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x3085d4=_0x34edf8,_0x3853b9=this['editor']['data']['htmlProcessor']['domConverter'],_0x1575cf={'type':_0x5367c5['_getTypeCharForViewElement'](_0x3085d4),'name':_0x3085d4['name'],'attributes':Array['from'](_0x3085d4['getAttributes']()),'children':Array['from'](_0x3085d4['getChildren']())['map'](_0x104169=>this['_getViewJson'](_0x104169))};if(_0x34edf8['is']('uiElement')&&'$comment'!=_0x34edf8['name']){const _0x5512f9=_0x34edf8['render'](_0x3853b9['domDocument'],_0x3853b9);_0x1575cf['children']['push'](_0x5512f9['outerHTML']);}else{if(_0x34edf8['is']('rawElement')){const _0x53de1c=_0x3853b9['domDocument']['createElement'](_0x3085d4['name']);_0x34edf8['render'](_0x53de1c,_0x3853b9),_0x1575cf['children']['push'](_0x53de1c['innerHTML']);}}const _0x23a006=Array['from'](_0x3085d4['getCustomProperties']());_0x23a006['length']>0x0&&(_0x1575cf['customProperties']=_0x23a006);const _0x50d7a6=_0x3085d4['getFillerOffset']();return null!==_0x50d7a6&&(_0x1575cf['fillerOffset']=_0x50d7a6),_0x1575cf;}}['_markChanges'](_0x1513b9,_0x30bc5f,_0x4f1df8,_0x2bce18,_0xc8f662){let _0x29188b=null,_0x1b3b5b=null,_0x14525d=0x0;const _0x43a389=this['editor']['model'];for(let _0xd6852a=0x0;_0xd6852a<_0x30bc5f['length'];_0xd6852a++){const _0x4ab041=this['_getVidAttributeName'](_0x30bc5f[_0xd6852a]),_0x1ce6cc=_0x30bc5f[_0xd6852a]['item']['getAttribute'](_0x4ab041),_0xaa884e=_0x4f1df8['get'](_0x1ce6cc),_0x566f2a=_0xd6852a==_0x30bc5f['length']-0x1;(!_0x29188b&&_0xaa884e&&(_0x29188b=_0xaa884e,_0x1b3b5b=_0x30bc5f[_0xd6852a]),_0x29188b&&(!_0xaa884e||_0xaa884e['userId']!=_0x29188b['userId']))&&(_0x29c0db(_0xaa884e,wv(_0x1b3b5b,_0x1513b9,_0x43a389),wv(_0x30bc5f[_0xd6852a],_0x1513b9,_0x43a389)),_0x29188b=_0xaa884e||null,_0x1b3b5b=_0xaa884e?_0x30bc5f[_0xd6852a]:null),_0x29188b&&_0x566f2a&&_0x29c0db(_0xaa884e,wv(_0x1b3b5b,_0x1513b9,_0x43a389),bv(_0x30bc5f[_0xd6852a],_0x1513b9,_0x43a389));}function _0x29c0db(_0x3027b1,_0x30584d,_0x135bfc){const _0x77488=_0x29188b['userId'],_0x53cb24='revision:'+_0x2bce18+':'+_0x77488+':'+_0x14525d++,_0xa44901=_0x43a389['createRange'](_0x30584d,_0x135bfc);_0x1513b9['markers']['set'](_0x53cb24,_0xa44901),null!==_0x77488&&_0xc8f662['add'](_0x77488);}}['_getVidAttributeName'](_0x1fee0a){switch(_0x1fee0a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x377b3d,_0xa2ba9a){_0x377b3d['baseVersion']=null;for(const _0x12e1df in _0x377b3d){const _0x432aba=_0x377b3d[_0x12e1df];if(_0x432aba instanceof _0x40b13b){const _0x256547=_0xa2ba9a['get'](_0x432aba['root']['rootName']);_0x377b3d[_0x12e1df]=this['_fixPosition'](_0x432aba,_0x256547);}if(_0x432aba instanceof _0x23c7fa){const _0x221449=_0xa2ba9a['get'](_0x432aba['root']['rootName']);_0x377b3d[_0x12e1df]=this['_fixRange'](_0x432aba,_0x221449);}'root'===_0x12e1df&&(_0x377b3d['root']=_0xa2ba9a['get'](_0x377b3d['root']['rootName']));}}['_fixRange'](_0x23fe81,_0x11a51c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x23fe81['start'],_0x11a51c),this['_fixPosition'](_0x23fe81['end'],_0x11a51c));}['_fixPosition'](_0x3dba2b,_0x90649f){return this['editor']['model']['createPositionFromPath'](_0x90649f,_0x3dba2b['path'],_0x3dba2b['stickiness']);}['_handleInsertOperation'](_0x2003e8){const _0x4e57dd=this['_idsRoots']['get'](_0x2003e8['position']['root']['rootName']),_0x1e0bf3=this['_fixPosition'](_0x2003e8['position'],_0x4e57dd),_0x11d886=null===_0x2003e8['_authorId']?null:_0x2003e8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d3236=_0x1e0bf3['parent'],_0x52e052=this['_revisionId'],_0x479c4c=[];for(const _0x325c60 of _0x2003e8['nodes'])if(_0x325c60['is']('element'))_0x479c4c['push'](this['_makeIdsRoot'](_0x325c60));else{for(let _0x3406a3=0x0;_0x3406a3<_0x325c60['offsetSize'];_0x3406a3++)_0x479c4c['push'](new tn('$text',{'vid':this['_revisionId']++}));}const _0x538874=this['_revisionId'];for(let _0x356116=_0x52e052;_0x356116<_0x538874;_0x356116++)this['_touched']['set'](_0x356116,{'userId':_0x11d886});_0x2d3236['_insertChild'](_0x1e0bf3['offset'],_0x479c4c);}['_handleMoveOperation'](_0xe67ff){(_0xe67ff=this['_cloneOperation'](_0xe67ff,this['_idsRoots']))['_execute']();const _0x411faa=null===_0xe67ff['_authorId']?null:_0xe67ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5502c6=_0xe67ff['getMovedRangeStart'](),_0x45ee91=_0x5502c6['parent'],_0x2c39f9=_0x5502c6['offset'];!function _0x32fc8e(_0x25ec2d,_0x4e06b9,_0x2143e6,_0x46736e){for(let _0x52e9b9=_0x2143e6;_0x52e9b9<_0x46736e;_0x52e9b9++){const _0xb376e3=_0x4e06b9['getChild'](_0x52e9b9);_0xb376e3['is']('element','$text')?_0x25ec2d['set'](_0xb376e3['getAttribute']('vid'),{'userId':_0x411faa}):(_0x25ec2d['set'](_0xb376e3['getAttribute']('vid_start'),{'userId':_0x411faa}),_0x32fc8e(_0x25ec2d,_0xb376e3,0x0,_0xb376e3['childCount']),_0x25ec2d['set'](_0xb376e3['getAttribute']('vid_end'),{'userId':_0x411faa}));}}(this['_touched'],_0x45ee91,_0x2c39f9,_0x2c39f9+_0xe67ff['howMany']);}['_handleMergeOperation'](_0x24b861){const _0x29fe96=null===(_0x24b861=this['_cloneOperation'](_0x24b861,this['_idsRoots']))['_authorId']?null:_0x24b861['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x201d68=_0x24b861['targetPosition']['parent'],_0x1722bc=_0x24b861['sourcePosition']['parent'],_0x44d6a5=_0x201d68['getAttribute']('vid_end'),_0x95d499=_0x1722bc['getAttribute']('vid_start');_0x201d68['_setAttribute']('vid_end',_0x1722bc['getAttribute']('vid_end')),_0x1722bc['_setAttribute']('vid_end',_0x44d6a5),this['_touched']['set'](_0x95d499,{'userId':_0x29fe96}),this['_touched']['set'](_0x44d6a5,{'userId':_0x29fe96}),_0x24b861['_execute']();}['_handleSplitOperation'](_0x11ee85){const _0x9a29b=null===(_0x11ee85=this['_cloneOperation'](_0x11ee85,this['_idsRoots']))['_authorId']?null:_0x11ee85['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x45e1be=_0x11ee85['graveyardPosition'],_0x2c2a46=_0x11ee85['splitPosition']['parent'];_0x11ee85['_execute']();const _0x2d3d97=_0x2c2a46['getAttribute']('vid_end'),_0x379c0e=_0x11ee85['insertionPosition']['nodeAfter'];if(_0x45e1be){const _0x446def=_0x379c0e['getAttribute']('vid_end'),_0x262c39=_0x2c2a46['getAttribute']('vid_end');_0x2c2a46['_setAttribute']('vid_end',_0x446def),_0x379c0e['_setAttribute']('vid_end',_0x262c39),this['_touched']['set'](_0x2c2a46['getAttribute']('vid_end'),{'userId':_0x9a29b}),this['_touched']['set'](_0x379c0e['getAttribute']('vid_start'),{'userId':_0x9a29b});}else{const _0x5525ae=this['_revisionId']++,_0x2f80b1=this['_revisionId']++;_0x2c2a46['_setAttribute']('vid_end',_0x5525ae),_0x379c0e['_setAttribute']('vid_start',_0x2f80b1),_0x379c0e['_setAttribute']('vid_end',_0x2d3d97),this['_touched']['set'](_0x5525ae,{'userId':_0x9a29b}),this['_touched']['set'](_0x2f80b1,{'userId':_0x9a29b});}}['_handleMarkerOperation'](_0x54818c){if(!_0x54818c['affectsData'])return;const _0x57f87e=(_0x54818c=this['_cloneOperation'](_0x54818c,this['_diffRoots']))['oldRange']?_0x54818c['oldRange']['root']:null,_0x2f5f3c=_0x54818c['newRange']?_0x54818c['newRange']['root']:null;_0x57f87e&&this['_markers']['delete'](_0x54818c['name']),_0x2f5f3c&&this['_markers']['set'](_0x54818c['name'],_0x54818c['newRange']['clone']());const _0x9cf79b=null===_0x54818c['_authorId']?null:_0x54818c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x28e21d=_0x54818c['name'];if(!this['_touchedMarkers']['has'](_0x28e21d))return void this['_touchedMarkers']['set'](_0x28e21d,{'range':_0x54818c['oldRange'],'userId':_0x9cf79b});const _0x41aa7f=this['_touchedMarkers']['get'](_0x28e21d),_0x23b8a8=_0x41aa7f['range'],_0x7cc30e=_0x54818c['newRange'];null==_0x23b8a8&&null==_0x7cc30e||_0x23b8a8&&_0x7cc30e&&_0x23b8a8['isEqual'](_0x7cc30e)?this['_touchedMarkers']['delete'](_0x54818c['name']):_0x41aa7f['userId']=_0x9cf79b;}['_handleRootOperation'](_0x44c906,_0x42ea70){this['_diffRoots']['has'](_0x44c906['rootName'])?this['_diffRoots']['get'](_0x44c906['rootName'])['_isAttached']=_0x44c906['isAdd']:(this['_diffRoots']['set'](_0x44c906['rootName'],Ov(_0x44c906['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x44c906['rootName'],{}),_0x42ea70&&this['_idsRoots']['set'](_0x44c906['rootName'],Ov(_0x44c906['rootName'],!0x0)));const _0x1ea2ed=null===_0x44c906['_authorId']?null:_0x44c906['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3a7e2f=this['_touchedRoots']['get'](_0x44c906['rootName']);_0x3a7e2f&&_0x3a7e2f['userId']===_0x1ea2ed?this['_touchedRoots']['delete'](_0x44c906['rootName']):this['_touchedRoots']['set'](_0x44c906['rootName'],{'userId':_0x1ea2ed,'isAttached':_0x44c906['isAdd']});}['_handleRootAttributeOperation'](_0xba9fa7){const _0x3da8e0=this['_diffRootsAttributes']['get'](_0xba9fa7['root']['rootName']);null===_0xba9fa7['newValue']?delete _0x3da8e0[_0xba9fa7['key']]:_0x3da8e0[_0xba9fa7['key']]=_0xba9fa7['newValue'];}}function pv(_0x1732a8){const _0x20291e=Ov(_0x1732a8['rootName'],_0x1732a8['isAttached']());for(const _0x5bd4ca of _0x1732a8['getChildren']()){const _0x975149=_0x5bd4ca['_clone'](!0x0);_0x20291e['_appendChild'](_0x975149);}return _0x20291e;}function Ov(_0x668054,_0x21ea73=!0x0){const _0x434ad5=new _0x3a4ada();return _0x434ad5['rootName']=_0x668054,_0x434ad5['_isAttached']=_0x21ea73,_0x434ad5['isAttached']=()=>_0x434ad5['_isAttached'],_0x434ad5;}function wv(_0x3702b7,_0x366339,_0x495c2e){const _0x2a9d82='elementEnd'==_0x3702b7['type']?_0x495c2e['createPositionAt'](_0x3702b7['item'],'end'):_0x495c2e['createPositionBefore'](_0x3702b7['item']);return _0x495c2e['createPositionFromPath'](_0x366339,_0x2a9d82['path'],_0x2a9d82['stickiness']);}function bv(_0x211b4d,_0x420e19,_0x16387f){const _0x58040b='elementStart'==_0x211b4d['type']?_0x16387f['createPositionAt'](_0x211b4d['item'],0x0):_0x16387f['createPositionAfter'](_0x211b4d['item']);return _0x16387f['createPositionFromPath'](_0x420e19,_0x58040b['path'],_0x58040b['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
Wt(_0x278baa){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x598b55,_0x370290){super(_0x598b55),this['focusTracker']=new _0x2423e3(),this['keystrokes']=new _0x247474(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x370290),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'](),wt({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x812dae=_0x3dbc91=>_0x3dbc91['stopPropagation']();this['keystrokes']['set']('arrowright',_0x812dae),this['keystrokes']['set']('arrowleft',_0x812dae),this['keystrokes']['set']('arrowup',_0x812dae),this['keystrokes']['set']('arrowdown',_0x812dae);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3a3608){this['revisionNameInputView']['fieldView']['element']['value']=_0x3a3608['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1360d2){const _0x467d84=new bt(this['locale'],yt),_0x3e5897=_0x467d84['fieldView'];_0x3e5897['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2e00f9=gv(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1360d2&&(_0x2e00f9+='\x20('+gv(this['locale'],'optional')+')'),(_0x467d84['label']=_0x2e00f9,_0x3e5897['on']('input',()=>{this['revisionNameInputValue']=_0x3e5897['element']['value']['trim']();}),_0x467d84);}}class RevisionHistoryUI extends _0x7cf71c{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker];}['_saveRevisionFormView'];['init'](){const _0x364ae9=this['editor'],_0x2fcbdb=_0x364ae9['plugins']['get']('RevisionTracker');_0x364ae9['ui']['componentFactory']['add']('revisionHistory',_0x5453a8=>{const _0x2cc2ab=nt(_0x5453a8),_0x2c2fe7=_0x2cc2ab['panelView']['children'],_0x39123a=new _0x171307(_0x5453a8),_0x45f26c=new _0x3a2da2(_0x5453a8),_0x44e645=this['_createSaveRevisionButton'](_0x1a631f),_0x17c8f6=new _0x3a2da2(_0x5453a8),_0x578d23=this['_createOpenRevisionButton'](_0x1a631f);return _0x2cc2ab['bind']('isEnabled')['to'](_0x2fcbdb,'isReady',_0x2fcbdb,'isEnabled',_0x364ae9,'isReadOnly',(_0x309cd6,_0x5f5086,_0x16b5ad)=>_0x309cd6&&_0x5f5086&&!_0x16b5ad),_0x2cc2ab['buttonView']['set']({'icon':_0x145406,'label':gv(_0x5453a8,'Revision\x20history'),'tooltip':!0x0}),_0x44e645['set']({'withText':!0x0,'role':'menuitem'}),_0x578d23['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x578d23,'execute',()=>{_0x2cc2ab['isOpen']=!0x1,_0x364ae9['editing']['view']['focus']();},{'priority':'low'}),_0x45f26c['children']['add'](_0x44e645),_0x17c8f6['children']['add'](_0x578d23),_0x39123a['role']='menu',_0x39123a['items']['addMany']([_0x45f26c,_0x17c8f6]),_0x2c2fe7['add'](_0x39123a),_0x2cc2ab;}),_0x364ae9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2e24e0=this['editor'],_0xfa614b=_0x2e24e0['locale'],_0x3a26ce=_0x2e24e0['plugins']['get']('RevisionTracker'),_0x2e42b9=new ot(_0xfa614b),_0x4fa102=new lt(_0xfa614b);_0x2e42b9['bind']('isEnabled')['to'](_0x3a26ce,'isReady',_0x3a26ce,'isEnabled',_0x2e24e0,'isReadOnly',(_0x162a32,_0x553291,_0x172294)=>_0x162a32&&_0x553291&&!_0x172294),_0x2e42b9['buttonView']['set']({'icon':_0x145406,'label':gv(_0xfa614b,'Revision\x20history')});const _0x8813a0=new ht(_0xfa614b,_0x2e42b9),_0x2afc87=this['_createSaveRevisionButton'](at);_0x2afc87['delegate']('execute')['to'](_0x2e42b9),_0x8813a0['children']['add'](_0x2afc87),_0x4fa102['items']['add'](_0x8813a0);const _0x2e5fc7=new ht(_0xfa614b,_0x2e42b9),_0x454779=this['_createOpenRevisionButton'](at);return _0x454779['delegate']('execute')['to'](_0x2e42b9),_0x2e5fc7['children']['add'](_0x454779),_0x4fa102['items']['add'](_0x2e5fc7),_0x2e42b9['panelView']['children']['add'](_0x4fa102),_0x2e42b9;}['_createSaveRevisionButton'](_0x344189){const _0x25707c=this['editor'],_0x4b8e28=_0x25707c['plugins']['get']('RevisionTracker'),_0x20a024=new _0x344189(_0x25707c['locale']);return _0x20a024['set']({'label':gv(_0x25707c['locale'],'Save\x20current\x20revision')}),_0x20a024['bind']('isEnabled')['to'](_0x4b8e28,'isReady',_0x4b8e28,'isEnabled',_0x25707c,'isReadOnly',(_0x537a17,_0x717fd0,_0x342e01)=>_0x537a17&&_0x717fd0&&!_0x342e01),this['listenTo'](_0x20a024,'execute',()=>{this['_showDialog']();}),_0x20a024;}['_createOpenRevisionButton'](_0xd13a10){const _0x31cb99=this['editor'],_0x8d87f=_0x31cb99['plugins']['get']('RevisionTracker'),_0x533ebe=new _0xd13a10(_0x31cb99['locale']);return _0x533ebe['set']({'label':gv(_0x31cb99['locale'],'Open\x20revision\x20history')}),_0x533ebe['bind']('isEnabled')['to'](_0x8d87f,'isReady',_0x31cb99,'isReadOnly',(_0x128163,_0xfc88bb)=>_0x128163&&!_0xfc88bb),this['listenTo'](_0x533ebe,'execute',()=>{_0x31cb99['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x533ebe;}['_showDialog'](){const _0x17eebb=this['editor'],_0x3e65ab=_0x17eebb['locale'],_0x423ec1=_0x17eebb['plugins']['get']('Dialog'),_0x34b16e=_0x17eebb['plugins']['get']('RevisionTracker');function _0x11b939(_0x10ad55){_0x17eebb['config']['get']('revisionHistory.requireRevisionName')&&''===_0x10ad55['revisionName']?_0x10ad55['revisionNameInputView']['errorText']=gv(_0x3e65ab,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x17eebb['plugins']['get'](RevisionTracker)['saveRevision']({'name':_0x10ad55['revisionName']}),_0x423ec1['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x11b939(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x423ec1['show']({'id':'revisionSave','title':gv(_0x3e65ab,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':gv(_0x17eebb['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x423ec1['hide']()},{'label':gv(_0x17eebb['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4238c2){_0x4238c2['bind']('isEnabled')['to'](_0x34b16e,'isReady',_0x34b16e,'isEnabled',_0x17eebb,'isReadOnly',(_0x4ef43a,_0x4907c5,_0x28938b)=>_0x4ef43a&&_0x4907c5&&!_0x28938b);},'onExecute':()=>_0x11b939(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x515196=this['editor'],_0x565070=_0x515196['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x565070,_0x515196['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0x278baa{['changeId'];['_model'];constructor(_0x2aa420,_0x440095){super(_0x2aa420),this['_model']=_0x440095,this['changeId']=_0x440095['id'];const _0x19d54e=this['bindTemplate'],_0x2f7dc9=gv(_0x2aa420,_0x440095['data']['isSuggestion']?'Suggested\x20by':'add'==_0x440095['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x440095['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x19d54e['to']('type',_0x76689b=>'ck-revision-change__'+_0x76689b)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2f7dc9}]},{'text':'\x20'+_0x440095['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x18fa86(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4cb996){super(),this['id']=_0x4cb996['id']||_0x462bc0(),this['author']=_0x4cb996['author'],this['type']=_0x4cb996['type'],this['data']=_0x4cb996['data']||{},this['rootName']=_0x4cb996['rootName'],this['set']('createdAt',_0x4cb996['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(_0x1dc5b2,_0x3d5896){this['newRevisionId']=_0x1dc5b2,this['oldRevisionId']=_0x3d5896,this['changes']=new _0x307d11();}['_setChanges'](_0x126539){for(const _0x4ae521 of _0x126539)this['changes']['add'](_0x4ae521);}}class RevisionViewer extends _0x7cf71c{['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(_0x3b02f7){super(_0x3b02f7),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',(_0x926b00,_0x135b40,_0x200066)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x293676=>{for(const _0x256d91 of this['editor']['editing']['view']['document']['roots'])_0x200066?_0x293676['removeClass']('ck-editor__editable__overlay',_0x256d91):_0x293676['addClass']('ck-editor__editable__overlay',_0x256d91);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x260103=>null!==_0x260103),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1d447c,_0x3ed2b5,_0x5ae57a)=>_0x1d447c&&_0x5ae57a?_0x3ed2b5['changes']['getIndex'](_0x5ae57a):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1c8c35,_0x38934f)=>_0x1c8c35?_0x38934f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](Dt);}['init'](){const _0x2b4b8f=this['editor'],_0x19f6e1=new ShowChangeCommand(_0x2b4b8f,{'direction':'backward'}),_0x2625bb=new ShowChangeCommand(_0x2b4b8f,{'direction':'forward'});(_0x2b4b8f['commands']['add']('showPreviousChange',_0x19f6e1),_0x2b4b8f['commands']['add']('showNextChange',_0x2625bb),_0x2b4b8f['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x2b4b8f)),this['on']('change:numberOfChanges',()=>{_0x19f6e1['refresh'](),_0x2625bb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2b4b8f['enableReadOnlyMode']('revision-viewer'),_0x2b4b8f['plugins']['has']('WidgetToolbarRepository'))&&_0x2b4b8f['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x563182){return await this['_utils']['loadRevisionData'](_0x563182,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x563182);}async['getRevisionRootsAttributes'](_0x6f5126){return await this['_utils']['loadRevisionData'](_0x6f5126,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x6f5126);}async['compare'](_0x59e102,_0x5c348f,_0x56d52d=!0x1){if(!this['isEnabled'])return;const _0x2c9103=this['diff'],_0x3a67f0=this['repository'],_0x653ce9='string'==typeof _0x59e102?_0x3a67f0['getRevision'](_0x59e102):_0x59e102,_0xb6dfbc='string'==typeof _0x5c348f?_0x3a67f0['getRevision'](_0x5c348f):_0x5c348f,_0x595a94=_0x653ce9['id'],_0x1f9367=_0xb6dfbc?_0xb6dfbc['id']:null;if(!_0x56d52d&&this['diff']&&this['diff']['newRevisionId']===_0x595a94&&this['diff']['oldRevisionId']===_0x1f9367)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new RevisionDiff(_0x595a94,_0x1f9367);const _0x518473=this['_getRevisionsRange'](_0x653ce9,_0xb6dfbc,!0x0)['map'](_0x50048a=>this['_utils']['loadRevisionData'](_0x50048a,this['adapter']));return _0x518473['push'](new Promise(_0x4fd88c=>{setTimeout(_0x4fd88c,0x14);})),Promise['all'](_0x518473)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x10fe75=this['_getDiff'](_0x595a94,_0x1f9367);for(const _0x22c4c4 of _0x10fe75['changes'])this['_changeIdToChange']['set'](_0x22c4c4['id'],_0x22c4c4);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xbb3b28=>{for(const _0x191997 of this['editor']['model']['document']['getRootNames']())_0xbb3b28['detachRoot'](_0x191997);for(const _0x11c912 of Object['keys'](_0x10fe75['model'])){const _0x589b96=_0xbb3b28['addRoot'](_0x11c912);for(const _0x5968d3 of Object['keys'](_0x10fe75['attributes'][_0x11c912]))_0xbb3b28['setAttribute'](_0x5968d3,_0x10fe75['attributes'][_0x11c912][_0x5968d3],_0x589b96);_0xbb3b28['insert'](_0x10fe75['model'][_0x11c912],_0x589b96,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x10fe75['changes'])),this['isReady']=!0x0;})['catch'](_0x307a1e=>{console['error'](_0x307a1e),this['_cleanUp'](),_0x2c9103&&(this['diff']=_0x2c9103),this['isReady']=!0x0;});}['addRevisionData'](_0xb49b8c,_0x4b77ca){const _0x6a0943=this['repository']['createRevision'](_0xb49b8c);return _0x6a0943['on']('_update',(_0x354c10,_0x4106cc,_0x5042cf)=>_0x4b77ca(_0x4106cc,_0x5042cf,_0x6a0943)),this['repository']['addRevision'](_0x6a0943),_0x6a0943;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x594b1c=>{for(const _0x1b0b33 of this['editor']['model']['document']['getRootNames']())_0x594b1c['detachRoot'](_0x1b0b33);});}['_sortAndFilterDiffChanges'](_0x18dbfa){const _0x5356e1=[],_0x2ee489=new Map();for(const _0x2fa47b of this['editor']['model']['document']['getRootNames']()){const _0x44bd4c=this['editor']['editing']['view']['getDomRoot'](_0x2fa47b);if(!_0x44bd4c)continue;const _0x57dec0=_0x44bd4c['getClientRects']()['item'](0x0);_0x57dec0&&(_0x5356e1['push'](_0x2fa47b),_0x2ee489['set'](_0x2fa47b,_0x57dec0));}return _0x5356e1['sort']((_0x5a5300,_0x27a227)=>{const _0x212954=_0x2ee489['get'](_0x5a5300),_0x3f91f7=_0x2ee489['get'](_0x27a227);return _0x212954['y']-_0x3f91f7['y']||_0x212954['x']-_0x3f91f7['x'];}),(_0x18dbfa=_0x18dbfa['filter'](_0x1f4656=>_0x5356e1['includes'](_0x1f4656['rootName'])))['sort']((_0x2d91ea,_0x4688f2)=>_0x5356e1['indexOf'](_0x2d91ea['rootName'])-_0x5356e1['indexOf'](_0x4688f2['rootName'])),_0x18dbfa;}['_makeTape'](_0x365662){const _0x2369d9=Array['from'](_0x365662['markers'])['filter'](([_0x4f9817,_0x21a6fc])=>_0x4f9817['startsWith']('revision:')&&!_0x21a6fc['isCollapsed']),_0x409c00=Array['from'](this['editor']['model']['createRangeIn'](_0x365662)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2369d9['length'])for(const _0xd85058 of _0x409c00){const [_0x55579d,_0x475e88]=_0x2369d9[0x0],[,_0x52eae7,_0x1a2f69]=_0x55579d['split'](':');if(_0x475e88['end']['isEqual'](_0xd85058['nextPosition'])&&_0x2369d9['shift'](),(_0xd85058['previousPosition']['isEqual'](_0x475e88['start'])||_0xd85058['previousPosition']['isAfter'](_0x475e88['start']))&&('insertion'==_0x52eae7?_0xd85058['isAdded']={'userId':_0x1a2f69}:'deletion'==_0x52eae7&&(_0xd85058['isRemoved']={'userId':_0x1a2f69})),0x0==_0x2369d9['length'])break;}return _0x409c00;}['_refreshStartEndIndex'](_0x4fd874){const _0x825165=new Map();for(let _0x322e9e=0x0;_0x322e9e<_0x4fd874['length'];_0x322e9e++)'text'===_0x4fd874[_0x322e9e]['type']?(_0x4fd874[_0x322e9e]['item']['startIndex']=_0x322e9e,_0x4fd874[_0x322e9e]['item']['endIndex']=_0x322e9e):('elementStart'===_0x4fd874[_0x322e9e]['type']?_0x4fd874[_0x322e9e]['item']['startIndex']=_0x322e9e:'elementEnd'===_0x4fd874[_0x322e9e]['type']&&(_0x4fd874[_0x322e9e]['item']['endIndex']=_0x322e9e),_0x825165['set'](_0x4fd874[_0x322e9e]['id'],_0x322e9e));for(const _0x3e01e0 of _0x825165['values']())'elementStart'===_0x4fd874[_0x3e01e0]['type']?_0x4fd874[_0x3e01e0]['item']['endIndex']=_0x825165['get'](_0x4fd874[_0x3e01e0]['pairId']):'elementEnd'===_0x4fd874[_0x3e01e0]['type']&&(_0x4fd874[_0x3e01e0]['item']['startIndex']=_0x825165['get'](_0x4fd874[_0x3e01e0]['pairId']));}['_processTape'](_0x5587ef){for(let _0x5e29c7=0x0;_0x5e29c7<_0x5587ef['length'];_0x5e29c7++){if('elementStart'===_0x5587ef[_0x5e29c7]['type'])_0x5587ef[_0x5e29c7]['item']['startIndex']=_0x5e29c7;else{if('elementEnd'===_0x5587ef[_0x5e29c7]['type']){_0x5587ef[_0x5e29c7]['item']['endIndex']=_0x5e29c7;const _0x578b82=_0x5587ef[_0x5e29c7]['item']['startIndex'];_0x5587ef[_0x578b82]['pairId']=_0x5587ef[_0x5e29c7]['id'],_0x5587ef[_0x5e29c7]['pairId']=_0x5587ef[_0x578b82]['id'];}else _0x5587ef[_0x5e29c7]['item']['startIndex']=_0x5e29c7,_0x5587ef[_0x5e29c7]['item']['endIndex']=_0x5e29c7,_0x5587ef[_0x5e29c7]['pairId']=null;}_0x5587ef[_0x5e29c7]['markersStart']||(_0x5587ef[_0x5e29c7]['markersStart']=[],_0x5587ef[_0x5e29c7]['markersEnd']=[]);}}['_markInsertions'](_0x5c8097,_0x5d9c0a){const _0x5547d0=_0x5c8097['filter'](_0x4f21d7=>!_0x4f21d7['isAdded']);for(let _0x4306ce=0x0;_0x4306ce<_0x5d9c0a['length'];_0x4306ce++)_0x5d9c0a[_0x4306ce]['isAdded']&&(_0x5547d0[_0x4306ce]['isAdded']=_0x5d9c0a[_0x4306ce]['isAdded']);}['_getDiff'](_0x4d31d3,_0x10fb61=null){const _0x26eb85=this['repository']['getRevision'](_0x4d31d3),_0x2f8bb2=_0x10fb61?this['repository']['getRevision'](_0x10fb61):null,_0x3f6489=this['_getRevisionsRange'](_0x26eb85,_0x2f8bb2),_0x3f00ea=_0x3f6489[_0x3f6489['length']-0x1],_0x596c45=new Map(),_0x5d845f={'model':{},'attributes':{},'changes':[]},_0x2300bc=new Set(),_0x203df8=new Map();for(let _0x27b7cf=_0x3f6489['length']-0x1;_0x27b7cf>=0x0;_0x27b7cf--){const _0x1d69ed=_0x3f6489[_0x27b7cf];for(const _0x149c74 of Object['keys'](_0x1d69ed['diffData']))if(_0x1d69ed['diffData'][_0x149c74]['attachChange']){const _0x283491=_0x1d69ed['diffData'][_0x149c74]['attachChange'];_0x283491['isAttached']?(_0x2300bc['add'](_0x149c74),_0x203df8['has'](_0x149c74)&&_0x203df8['get'](_0x149c74)['userId']==_0x283491['userId']?_0x203df8['delete'](_0x149c74):_0x203df8['set'](_0x149c74,_0x283491)):_0x203df8['has'](_0x149c74)?(_0x2300bc['delete'](_0x149c74),_0x203df8['delete'](_0x149c74)):(_0x2300bc['add'](_0x149c74),_0x203df8['set'](_0x149c74,_0x283491));}else _0x2300bc['add'](_0x149c74);}for(const _0x1ae752 of _0x2300bc){const _0x27559a=_0x203df8['has'](_0x1ae752)&&!_0x203df8['get'](_0x1ae752)['isAttached'];let _0x3d3fd6=_0x27559a?_0x3f6489['length']-0x1:0x0;const _0x2f4086=_0x27559a?-0x1:0x1;for(;_0x3f6489[_0x3d3fd6];){const _0x10a6e0=_0x3f6489[_0x3d3fd6];if(_0x10a6e0['diffData'][_0x1ae752]){const _0x3860e1=_0x27559a?_0x10a6e0['diffData'][_0x1ae752]['attributesBefore']:_0x10a6e0['diffData'][_0x1ae752]['attributesAfter'];_0x5d845f['attributes'][_0x1ae752]=_0x3860e1?kr(_0x3860e1):{};break;}_0x3d3fd6+=_0x2f4086;}}for(const _0x41acd1 of _0x3f6489){_0x41acd1['model']={};for(const _0x481bae of _0x41acd1['authors'])_0x596c45['set'](_0x481bae['id'],_0x481bae);for(const _0x27ab91 of _0x2300bc){const _0x1dc4f6=_0x41acd1['diffData'][_0x27ab91]?_0x41acd1['diffData'][_0x27ab91]['insertions']:'[]',_0x13e5f1=_0x41acd1['diffData'][_0x27ab91]?_0x41acd1['diffData'][_0x27ab91]['deletions']:'[]';_0x41acd1['model'][_0x27ab91]={'insertions':this['_utils']['_makeModelFromViewString'](_0x1dc4f6),'deletions':this['_utils']['_makeModelFromViewString'](_0x13e5f1)};}}for(const _0x3d460b of _0x2300bc){let _0x2bcf0c=null,_0x421cff=0x0;const _0x1d4d01=new Map(Array['from'](_0x26eb85['model'][_0x3d460b]['insertions']['markers'])['filter'](([_0x62bdb1])=>!_0x62bdb1['startsWith']('revision:')));let _0x39fba9=0x0;for(const _0x1891ad of _0x3f6489){const _0x54d4eb=this['_makeTape'](_0x1891ad['model'][_0x3d460b]['insertions']);_0x1891ad==_0x26eb85?(_0x2bcf0c=_0x54d4eb,_0x421cff=_0x2bcf0c['length'],_0x2bcf0c['forEach'](_0x1a3b47=>{_0x1a3b47['id']=_0x39fba9++;}),this['_processTape'](_0x2bcf0c)):this['_markInsertions'](_0x2bcf0c,_0x54d4eb);const _0x22f2c8=_0x2bcf0c['filter'](_0x2f33b2=>!_0x2f33b2['isAdded'])['map'](_0x555d9e=>_0x555d9e['id']);let _0x4da5ce=0x0;const _0x5f50e8=this['_makeTape'](_0x1891ad['model'][_0x3d460b]['deletions']);_0x5f50e8['forEach'](_0x3e0a20=>{_0x3e0a20['isRemoved']?_0x3e0a20['id']=_0x421cff++:_0x3e0a20['id']=_0x22f2c8[_0x4da5ce++];}),this['_processTape'](_0x5f50e8),this['_setDistance'](_0x2bcf0c,'isAdded'),this['_setDistance'](_0x5f50e8,'isRemoved'),_0x1891ad==_0x26eb85&&this['_markMarkers'](_0x2bcf0c,_0x1d4d01),_0x2bcf0c=this['_joinTapes'](_0x2bcf0c,_0x5f50e8),this['_refreshStartEndIndex'](_0x2bcf0c),this['_setDistance'](_0x2bcf0c,'isRemoved');}_0x2bcf0c=_0x2bcf0c['filter'](_0xc1fa51=>!(_0xc1fa51['isAdded']&&_0xc1fa51['isRemoved']));const _0x1d5238=new Map(_0x3f00ea['model'][_0x3d460b]['deletions']['markers']),_0x506c27=new Set(_0x1d4d01['keys']());for(const _0x53aaa2 of _0x1d5238['keys']())_0x506c27['delete'](_0x53aaa2);this['_markSuggestions'](_0x2bcf0c,_0x506c27),this['_fixObsoleteTags'](_0x2bcf0c),_0x2bcf0c=this['_removeMissingPairs'](_0x2bcf0c),_0x2bcf0c=this['_markMismatchedRemovedTags'](_0x2bcf0c),_0x2bcf0c=this['_removeUnsupportedChanges'](_0x2bcf0c);const {root:_0x47967b,changes:_0xd6a8a}=this['_makeModelFromTape'](_0x2bcf0c,_0x596c45,_0x3d460b);_0x5d845f['model'][_0x3d460b]=_0x47967b;const _0x28f5e9=_0x203df8['get'](_0x3d460b);if(_0x28f5e9){const _0x232556=_0x596c45['get'](_0x28f5e9['userId']),_0x2cc2ad=new ChangeItem({'author':_0x232556,'type':_0x28f5e9['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3d460b});_0xd6a8a['unshift'](_0x2cc2ad),_0x5d845f['attributes'][_0x3d460b]['revisionHistoryAttachChange']=_0x2cc2ad['id'];}_0x5d845f['changes']=_0x5d845f['changes']['concat'](_0xd6a8a);}return _0x5d845f;}['_markMarkers'](_0x3a2432,_0x7978a5){for(let _0x2ac2de=0x0;_0x2ac2de<_0x3a2432['length'];_0x2ac2de++)for(const [_0x7e9d97,_0x3ff61b]of _0x7978a5)!_0x3ff61b['isCollapsed']&&_0x3ff61b['start']['isEqual'](_0x3a2432[_0x2ac2de]['previousPosition'])&&_0x3a2432[_0x2ac2de]['markersStart']['push'](_0x7e9d97),_0x3ff61b['end']['isEqual'](_0x3a2432[_0x2ac2de]['nextPosition'])&&_0x3a2432[_0x2ac2de]['markersEnd']['push'](_0x7e9d97);}['_joinTapes'](_0x53ea66,_0x519cef){let _0x3541eb=[],_0x7d073b=0x0,_0x5950e1=0x0;for(;_0x7d073b<_0x53ea66['length']||_0x5950e1<_0x519cef['length'];){const _0x3d7432=_0x53ea66[_0x7d073b]||{},_0x52bf2b=_0x519cef[_0x5950e1]||{};if(_0x3d7432['id']==_0x52bf2b['id'])_0x7d073b++,_0x5950e1++,_0x3541eb['push'](_0x3d7432);else{if(_0x52bf2b['isRemoved']&&_0x3d7432['isAdded']){const {commonTape:_0x46f0bf,iEnd:_0x4a8eca,jEnd:_0x1a4eaf}=this['_threeWayMerge'](_0x53ea66,_0x7d073b,_0x519cef,_0x5950e1);_0x3541eb=_0x3541eb['concat'](_0x46f0bf),_0x7d073b=_0x4a8eca,_0x5950e1=_0x1a4eaf;}else _0x52bf2b['isRemoved']?(_0x5950e1++,_0x3541eb['push'](_0x52bf2b)):(_0x7d073b++,_0x3541eb['push'](_0x3d7432));}}return _0x3541eb;}['_markSuggestions'](_0x16fb22,_0x329ae3){const _0x2c2529=[];for(let _0x4a9544=0x0;_0x4a9544<_0x16fb22['length'];_0x4a9544++){for(let _0x54aefc=0x0;_0x54aefc<_0x16fb22[_0x4a9544]['markersStart']['length'];_0x54aefc++){const _0xc5174e=_0x16fb22[_0x4a9544]['markersStart'][_0x54aefc];if(!_0x329ae3['has'](_0xc5174e))continue;const {group:_0x2137ec,type:_0x71c1e2,authorId:_0x465daa}=_0xddd5b5(_0xc5174e);'revision-suggestion'!=_0x2137ec||'insertion'!=_0x71c1e2&&'deletion'!=_0x71c1e2||(_0x2c2529['unshift']({'type':_0x71c1e2,'name':_0xc5174e,'userId':_0x465daa}),_0x16fb22[_0x4a9544]['markersStart']['splice'](_0x54aefc,0x1),_0x54aefc--);}_0x127223(_0x16fb22[_0x4a9544]);for(let _0x3f516d=0x0;_0x3f516d<_0x16fb22[_0x4a9544]['markersEnd']['length'];_0x3f516d++){const _0x45785f=_0x16fb22[_0x4a9544]['markersEnd'][_0x3f516d];if(!_0x329ae3['has'](_0x45785f))continue;const {group:_0x1b8739,type:_0x4afbd6}=_0xddd5b5(_0x45785f);if('revision-suggestion'!=_0x1b8739||'insertion'!=_0x4afbd6&&'deletion'!=_0x4afbd6)continue;_0x16fb22[_0x4a9544]['markersEnd']['splice'](_0x3f516d,0x1),_0x3f516d--;const _0x171ed2=_0x2c2529['findIndex'](_0x2213ba=>_0x2213ba['name']==_0x45785f);_0x171ed2>-0x1&&_0x2c2529['splice'](_0x171ed2,0x1);}}function _0xddd5b5(_0x9a92a8){const _0x3efc9f=_0x9a92a8['split'](':');return{'group':_0x3efc9f[0x0],'type':_0x3efc9f[0x1],'subType':_0x3efc9f['length']>=0x5?_0x3efc9f[0x2]:null,'id':_0x3efc9f['length']<0x5?_0x3efc9f[0x2]:_0x3efc9f[0x3],'authorId':_0x3efc9f['length']<0x5?_0x3efc9f[0x3]:_0x3efc9f[0x4],'markerCount':0x6==_0x3efc9f['length']?_0x3efc9f[0x5]:null};}function _0x127223(_0x582725){for(let _0x2802cd=0x0;_0x2802cd<_0x2c2529['length'];_0x2802cd++){if(_0x582725['isAdded']&&'insertion'==_0x2c2529[_0x2802cd]['type']&&_0x582725['isAdded']['userId']==_0x2c2529[_0x2802cd]['userId'])return _0x582725['isAddSuggestion']=_0x2c2529[_0x2802cd],void delete _0x582725['isAdded'];if(!_0x582725['isAdded']&&!_0x582725['isRemoved']&&'deletion'==_0x2c2529[_0x2802cd]['type'])return void(_0x582725['isRemoveSuggestion']=_0x2c2529[_0x2802cd]);}}}['_setDistance'](_0x5e9818,_0x42f775){let _0x50205e=0x0,_0x9a5962=!0x1;const _0x3dcfb3=new Map();for(const _0x55f5b6 of _0x5e9818)_0x55f5b6[_0x42f775]?_0x9a5962&&(_0x50205e++,_0x9a5962=!0x1):(_0x50205e++,_0x9a5962=!0x0),_0x3dcfb3['set'](_0x55f5b6['id'],_0x50205e);for(let _0x5e9be1=0x0;_0x5e9be1<_0x5e9818['length'];_0x5e9be1++){if('isRemoved'==_0x42f775&&_0x5e9818[_0x5e9be1]['isAdded']||'isAdded'==_0x42f775&&_0x5e9818[_0x5e9be1]['isRemoved'])continue;if('text'==_0x5e9818[_0x5e9be1]['type']){_0x5e9818[_0x5e9be1]['distance']=0x0;continue;}const _0x583ca5=_0x3dcfb3['get'](_0x5e9818[_0x5e9be1]['pairId']),_0x263bb5=_0x3dcfb3['get'](_0x5e9818[_0x5e9be1]['id']);_0x5e9818[_0x5e9be1]['distance']=_0x583ca5-_0x263bb5;}}['_getRevisionsRange'](_0x557c0a,_0x33586d,_0x1055ff=!0x1){const _0x37fcc9=[];let _0x3a66c0=this['repository']['getIndex'](_0x557c0a),_0x453750=this['repository']['getIndex'](_0x33586d);for(-0x1==_0x453750&&(_0x453750=this['repository']['_revisions']['length'],_0x1055ff=!0x1);_0x3a66c0<_0x453750;)_0x37fcc9['push'](this['repository']['getRevision'](_0x3a66c0)),_0x3a66c0++;return _0x1055ff&&_0x37fcc9['push'](this['repository']['getRevision'](_0x3a66c0)),_0x37fcc9;}['_threeWayMerge'](_0x342243,_0x57d417,_0x5086fb,_0x272e45){const _0x442653=this['editor']['model']['schema'];let _0x1bd616=_0x57d417;for(;_0x342243[_0x1bd616]&&_0x342243[_0x1bd616]['isAdded'];)_0x1bd616++;let _0x2fe7ea=_0x272e45;for(;_0x5086fb[_0x2fe7ea]&&_0x5086fb[_0x2fe7ea]['isRemoved'];)_0x2fe7ea++;_0x34a856(_0x342243,_0x57d417,_0x1bd616),_0x34a856(_0x5086fb,_0x272e45,_0x2fe7ea);const _0x17b0c5=_0x5086fb['slice'](_0x272e45,_0x2fe7ea)['concat'](_0x342243['slice'](_0x57d417,_0x1bd616));return _0x17b0c5['sort']((_0x2a1e77,_0x121680)=>_0x2a1e77['side']!=_0x121680['side']?_0x2a1e77['side']-_0x121680['side']:_0x2a1e77['level']!=_0x121680['level']?_0x2a1e77['level']-_0x121680['level']:_0x2a1e77['distance']!=_0x121680['distance']?_0x121680['distance']-_0x2a1e77['distance']:!!_0x2a1e77['isAdded']!=!!_0x121680['isAdded']?-0x1==_0x2a1e77['side']||0x0==_0x2a1e77['side']?_0x2a1e77['isAdded']?-0x1:0x1:_0x2a1e77['isAdded']?0x1:-0x1:_0x2a1e77['index']-_0x121680['index']),{'commonTape':_0x17b0c5,'iEnd':_0x1bd616,'jEnd':_0x2fe7ea};function _0x34a856(_0x20b65e,_0x57564e,_0x5bb7e8){let _0x203161=-0x1,_0x561064=Number['POSITIVE_INFINITY'],_0x532dc9=!0x0;for(let _0x274d19=_0x57564e;_0x274d19<_0x5bb7e8;_0x274d19++)if(_0x442653['isInline'](_0x20b65e[_0x274d19]['item'])||(_0x532dc9=!0x1),_0x20b65e[_0x274d19]['item']['startIndex']<_0x57564e&&(_0x203161=_0x274d19),_0x20b65e[_0x274d19]['item']['endIndex']>=_0x5bb7e8){_0x561064=_0x274d19;break;}_0x532dc9&&(_0x203161=_0x5bb7e8-0x1);for(let _0x307157=_0x57564e;_0x307157<_0x5bb7e8;_0x307157++)_0x20b65e[_0x307157]['side']=_0x307157<=_0x203161?-0x1:_0x307157<_0x561064?0x0:0x1,_0x20b65e[_0x307157]['index']=_0x307157;let _0x1831be=0x0;for(let _0x5963ff=_0x57564e;_0x5963ff<=_0x203161;_0x5963ff++)0x0==_0x20b65e[_0x5963ff]['distance']?_0x20b65e[_0x5963ff]['level']=_0x1831be:(_0x1831be++,_0x20b65e[_0x5963ff]['level']=_0x1831be,_0x1831be++);for(let _0x2a0eb0=_0x57564e;_0x2a0eb0<_0x5bb7e8;_0x2a0eb0++)0x0==_0x20b65e[_0x2a0eb0]['side']&&(_0x20b65e[_0x2a0eb0]['level']=_0x1831be);_0x1831be=0x0;for(let _0x314cea=_0x5bb7e8-0x1;_0x314cea>=_0x561064;_0x314cea--)0x0==_0x20b65e[_0x314cea]['distance']?_0x20b65e[_0x314cea]['level']=_0x1831be:(_0x1831be--,_0x20b65e[_0x314cea]['level']=_0x1831be,_0x1831be--);}}['_fixObsoleteTags'](_0x3fe713){const _0x3da095=new Map(),_0x30b808=this['editor']['model']['schema'];for(let _0x5a45a9=0x1;_0x5a45a9<_0x3fe713['length'];_0x5a45a9++){let _0x591a6c,_0x3540e2,_0x1f8b4a;const _0x1c631c=_0x3fe713[_0x5a45a9],_0x459539=_0x3fe713[_0x5a45a9-0x1];if('text'==_0x1c631c['type'])continue;if(_0x1c631c['type']!=_0x459539['type'])continue;if(!_0x30b808['isBlock'](_0x459539['item'])||_0x30b808['isLimit'](_0x459539['item']))continue;if(!_0x30b808['isBlock'](_0x1c631c['item'])||_0x30b808['isLimit'](_0x1c631c['item']))continue;if((_0x3fe713[_0x5a45a9]['isAdded']||_0x3fe713[_0x5a45a9]['isAddSuggestion'])&&_0x3fe713[_0x5a45a9-0x1]['isRemoved'])_0x591a6c=_0x3fe713[_0x5a45a9],_0x3540e2=_0x3fe713[_0x5a45a9-0x1],_0x1f8b4a=_0x5a45a9-0x1;else{if(!_0x3fe713[_0x5a45a9]['isRemoved']||!_0x3fe713[_0x5a45a9-0x1]['isAdded']&&!_0x3fe713[_0x5a45a9-0x1]['isAddSuggestion'])continue;_0x591a6c=_0x3fe713[_0x5a45a9-0x1],_0x3540e2=_0x3fe713[_0x5a45a9],_0x1f8b4a=_0x5a45a9;}const _0x2a8420=_0x591a6c['level']==_0x3540e2['level'],_0x446bf1=Math['abs'](_0x591a6c['level'])<Math['abs'](_0x3540e2['level'])&&0x0==_0x3540e2['distance'];(_0x2a8420||_0x446bf1)&&(_0x3da095['set'](_0x3540e2['id'],_0x591a6c['id']),_0x3fe713['splice'](_0x1f8b4a,0x1),_0x5a45a9--,_0x591a6c['isAdded']=!0x1);}for(let _0x553b3c=0x0;_0x553b3c<_0x3fe713['length'];_0x553b3c++)_0x3da095['has'](_0x3fe713[_0x553b3c]['pairId'])&&(_0x3fe713[_0x553b3c]['pairId']=_0x3da095['get'](_0x3fe713[_0x553b3c]['pairId']));}['_removeMissingPairs'](_0x169825){const _0x2879b2=new Set(_0x169825['map'](_0x2cbfee=>_0x2cbfee['id']));for(let _0x32d3b0=0x0;_0x32d3b0<_0x169825['length'];_0x32d3b0++)_0x2879b2['has'](_0x169825[_0x32d3b0]['pairId'])||0x0==_0x169825[_0x32d3b0]['distance']||(_0x169825[_0x32d3b0]['isIncorrect']=!0x0);return _0x169825['filter'](_0x650745=>!_0x650745['isIncorrect']);}['_markMismatchedRemovedTags'](_0x109c04){const _0x4dbf58=new Set();for(let _0xcbc4fd=0x0;_0xcbc4fd<_0x109c04['length'];_0xcbc4fd++){if(_0x4dbf58['has'](_0x109c04[_0xcbc4fd]['id'])&&_0x109c04[_0xcbc4fd]['isRemoved']&&(_0x109c04[_0xcbc4fd]['isIncorrect']=!0x0),_0x109c04[_0xcbc4fd]['isIncorrect'])continue;if(0x0==_0x109c04[_0xcbc4fd]['distance'])continue;if('elementStart'!=_0x109c04[_0xcbc4fd]['type'])continue;if(null==_0x109c04[_0xcbc4fd]['pairId'])continue;let _0xb7fe33=_0xcbc4fd+0x1,_0x1340cb=0x0;for(;_0x109c04[_0xb7fe33]['id']!=_0x109c04[_0xcbc4fd]['pairId'];)'elementStart'==_0x109c04[_0xb7fe33]['type']?_0x1340cb++:'elementEnd'==_0x109c04[_0xb7fe33]['type']&&_0x1340cb--,_0xb7fe33++;if(0x0!=_0x1340cb){if(_0x109c04[_0xcbc4fd]['isRemoved'])_0x109c04[_0xcbc4fd]['isIncorrect']=!0x0;else{for(;_0xb7fe33!=_0xcbc4fd;)_0x109c04[_0xb7fe33]['isRemoved']&&0x0!=_0x109c04[_0xb7fe33]['distance']&&(_0x109c04[_0xb7fe33]['isIncorrect']=!0x0,_0x4dbf58['add'](_0x109c04[_0xb7fe33]['pairId'])),_0xb7fe33--;}}}return _0x109c04['filter'](_0x353a69=>!_0x353a69['isIncorrect']);}['_removeUnsupportedChanges'](_0x209177){const _0x326885=this['editor']['model']['schema'];for(let _0x44aa77=0x0;_0x44aa77<_0x209177['length'];_0x44aa77++){if(!(_0x209177[_0x44aa77]['isAdded']||_0x209177[_0x44aa77]['isAddSuggestion']||_0x209177[_0x44aa77]['isRemoved']||_0x209177[_0x44aa77]['isRemoveSuggestion']))continue;if(0x0==_0x209177[_0x44aa77]['distance'])continue;const _0x5559f5=_0x209177[_0x44aa77]['item'];_0x326885['isBlock'](_0x5559f5)||_0x326885['isLimit'](_0x5559f5)||(_0x209177[_0x44aa77]['isAdded']&&delete _0x209177[_0x44aa77]['isAdded'],_0x209177[_0x44aa77]['isAddSuggestion']&&delete _0x209177[_0x44aa77]['isAddSuggestion'],_0x209177[_0x44aa77]['isRemoveSuggestion']&&delete _0x209177[_0x44aa77]['isRemoveSuggestion'],_0x209177[_0x44aa77]['isRemoved']&&(_0x209177[_0x44aa77]['isIncorrect']=!0x0));}return _0x209177['filter'](_0x18cb2c=>!_0x18cb2c['isIncorrect']);}['_makeModelFromTape'](_0x531340,_0x1dd2fb,_0x4e633f){const _0x25944a=new _0x3a4ada(),_0x27fdd2=[],_0x510c52=new Map(),_0x12c6f3=this['editor']['model'],_0x3c8c73=_0x12c6f3['schema'],_0x19c6a4=[_0x25944a],_0x1f9f54={},_0x6d7e0b={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3caee7=null;const _0x2c9af1=[0x0];for(let _0x52e31d=0x0;_0x52e31d<_0x531340['length'];_0x52e31d++)if('elementStart'===_0x531340[_0x52e31d]['type']){_0x531340[_0x52e31d]['previousPosition']=_0x12c6f3['createPositionFromPath'](_0x25944a,_0x2c9af1);const _0x2f3551=new tn(_0x531340[_0x52e31d]['item']['name'],_0x531340[_0x52e31d]['item']['getAttributes']());_0x19c6a4[0x0]['_appendChild'](_0x2f3551),_0x2c9af1['push'](0x0),_0x19c6a4['unshift'](_0x2f3551),_0x531340[_0x52e31d]['nextPosition']=_0x12c6f3['createPositionFromPath'](_0x25944a,_0x2c9af1);}else'elementEnd'===_0x531340[_0x52e31d]['type']?(_0x19c6a4['shift'](),_0x531340[_0x52e31d]['previousPosition']=_0x12c6f3['createPositionFromPath'](_0x25944a,_0x2c9af1),_0x2c9af1['pop'](),_0x2c9af1[_0x2c9af1['length']-0x1]++,_0x531340[_0x52e31d]['nextPosition']=_0x12c6f3['createPositionFromPath'](_0x25944a,_0x2c9af1)):(_0x531340[_0x52e31d]['previousPosition']=_0x12c6f3['createPositionFromPath'](_0x25944a,_0x2c9af1),_0x3caee7?_0x3caee7['_data']+=_0x531340[_0x52e31d]['item']['data']:_0x3caee7=new _0x1f1db5(_0x531340[_0x52e31d]['item']['data'],_0x531340[_0x52e31d]['item']['getAttributes']()),_0x531340[_0x52e31d+0x1]&&'text'===_0x531340[_0x52e31d+0x1]['type']&&_0x18369c(_0x3caee7,_0x531340[_0x52e31d+0x1]['item'])||(_0x19c6a4[0x0]['_appendChild'](_0x3caee7),_0x3caee7=null),_0x2c9af1[_0x2c9af1['length']-0x1]+=_0x531340[_0x52e31d]['item']['offsetSize'],_0x531340[_0x52e31d]['nextPosition']=_0x12c6f3['createPositionFromPath'](_0x25944a,_0x2c9af1));for(let _0x5a6fcd=0x0;_0x5a6fcd<_0x531340['length'];_0x5a6fcd++){const _0x3fac4d=_0x531340[_0x5a6fcd]['previousPosition'],_0x5a1eba=_0x531340[_0x5a6fcd]['nextPosition'];for(const _0x461d29 of _0x531340[_0x5a6fcd]['markersStart'])_0x510c52['set'](_0x461d29,{'start':_0x3fac4d,'end':null});_0x3ec57b('isRemoveSuggestion',_0x5a6fcd,_0x3fac4d,_0x5a1eba),_0x3ec57b('isAddSuggestion',_0x5a6fcd,_0x3fac4d,_0x5a1eba),_0x3ec57b('isRemoved',_0x5a6fcd,_0x3fac4d,_0x5a1eba),_0x3ec57b('isAdded',_0x5a6fcd,_0x3fac4d,_0x5a1eba);for(const _0x682a44 of _0x531340[_0x5a6fcd]['markersEnd']){const _0x3db0e3=_0x510c52['get'](_0x682a44);_0x3db0e3?_0x3db0e3['end']=_0x5a1eba:_0x510c52['set'](_0x682a44,{'start':_0x5a1eba,'end':_0x5a1eba});}}for(const [_0x1ed413,_0x45c0fa]of _0x510c52){const _0x16af34=this['editor']['model']['createRange'](_0x45c0fa['start'],_0x45c0fa['end']);_0x25944a['markers']['set'](_0x1ed413,_0x16af34);}return _0x27fdd2['sort']((_0x5423b7,_0x4143ca)=>{const _0x5a6b1c=_0x25944a['markers']['get']('revision:'+_0x5423b7['id']),_0xbce709=_0x25944a['markers']['get']('revision:'+_0x4143ca['id']);return _0x5a6b1c['start']['isBefore'](_0xbce709['start'])?-0x1:_0x5a6b1c['start']['isAfter'](_0xbce709['start'])?0x1:_0x5a6b1c['end']['isBefore'](_0xbce709['end'])?-0x1:_0x5a6b1c['end']['isAfter'](_0xbce709['end'])?0x1:'add'===_0x5423b7['type']?-0x1:0x1;}),{'root':_0x25944a,'changes':_0x27fdd2};function _0x3ec57b(_0x871f5b,_0x3d8df5,_0x4cefa8,_0xe26394){const _0x383ae9=!!_0x531340[_0x3d8df5][_0x871f5b],_0x3a30da=_0x383ae9?_0x531340[_0x3d8df5][_0x871f5b]['userId']:null,_0x14dbe3=_0x3d8df5===_0x531340['length']-0x1,_0x45b8b9=_0x6d7e0b[_0x871f5b][0x0],_0x529d72=_0x3c8c73['isObject'](_0x531340[_0x3d8df5]['item']);!_0x1f9f54[_0x871f5b]&&_0x383ae9?_0x1f9f54[_0x871f5b]={'start':_0x4cefa8,'tapeItem':_0x531340[_0x3d8df5],'userId':_0x3a30da,'type':_0x871f5b}:_0x1f9f54[_0x871f5b]&&!_0x383ae9?(_0x1f9f54[_0x871f5b]['end']=_0x4cefa8,_0x140ae8(_0x1f9f54[_0x871f5b]),_0x1f9f54[_0x871f5b]=null):_0x1f9f54[_0x871f5b]&&_0x383ae9&&_0x1f9f54[_0x871f5b]['userId']!==_0x3a30da&&(_0x1f9f54[_0x871f5b]['end']=_0x4cefa8,_0x45b8b9&&_0x45b8b9['userId']===_0x1f9f54[_0x871f5b]['userId']||_0x140ae8(_0x1f9f54[_0x871f5b]),_0x1f9f54[_0x871f5b]={'start':_0x4cefa8,'tapeItem':_0x531340[_0x3d8df5],'userId':_0x3a30da,'type':_0x871f5b}),_0x1f9f54[_0x871f5b]&&_0x529d72&&('elementStart'!==_0x531340[_0x3d8df5]['type']||_0x45b8b9&&_0x45b8b9['userId']===_0x3a30da||_0x6d7e0b[_0x871f5b]['unshift']({'userId':_0x3a30da,'object':_0x531340[_0x3d8df5]['item'],'change':_0x1f9f54[_0x871f5b]}),'elementEnd'===_0x531340[_0x3d8df5]['type']&&_0x45b8b9&&_0x45b8b9['object']===_0x531340[_0x3d8df5]['item']&&(_0x6d7e0b[_0x871f5b]['shift'](),_0x1f9f54[_0x871f5b]=_0x45b8b9['change'])),_0x1f9f54[_0x871f5b]&&_0x14dbe3&&(_0x1f9f54[_0x871f5b]['end']=_0xe26394,_0x140ae8(_0x1f9f54[_0x871f5b]),_0x1f9f54[_0x871f5b]=null);}function _0x140ae8({start:_0x42ba80,end:_0x36d3a1,tapeItem:_0x3501e7,userId:_0x13f8c3,type:_0x2d62f3}){const _0xca4fff=_0x3501e7['item'],_0x593637=_0x12c6f3['schema']['isBlock'](_0xca4fff)&&!_0x12c6f3['schema']['isLimit'](_0xca4fff),_0x4bc168=_0x42ba80['nodeAfter']==_0x36d3a1['parent']&&_0x36d3a1['isAtStart'];if(_0x593637&&_0x4bc168)return;const _0x4f111d=_0x12c6f3['createRange'](_0x42ba80,_0x36d3a1),_0xb1675d=_0x1dd2fb['get'](_0x13f8c3),_0x3f0aad=new ChangeItem({'author':_0xb1675d,'type':'isAdded'==_0x2d62f3||'isAddSuggestion'==_0x2d62f3?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2d62f3||'isRemoveSuggestion'==_0x2d62f3},'createdAt':new Date(),'rootName':_0x4e633f});_0x27fdd2['push'](_0x3f0aad),_0x25944a['markers']['set']('revision:'+_0x3f0aad['id'],_0x4f111d);}function _0x18369c(_0x20b9d6,_0x35c066){const _0x1be24d=_0x20b9d6['getAttributes'](),_0xfd691a=_0x35c066['getAttributes']();for(const _0x49be4f of _0x1be24d){if(_0x49be4f[0x1]!==_0x35c066['getAttribute'](_0x49be4f[0x0]))return!0x1;_0xfd691a['next']();}return _0xfd691a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x420e96=>{const _0x511ec5=_0x420e96['markerName']['split'](':')[0x1],_0x3779c9=this['_getChangeFromId'](_0x511ec5);if(!_0x3779c9)return null;const _0x550a01='add'==_0x3779c9['type']?'insertion':'deletion',_0x4ce4ed=['ck-suggestion-marker','ck-suggestion-marker-'+_0x550a01];return _0x3779c9['data']['isSuggestion']&&_0x4ce4ed['push']('ck-suggestion-marker-'+_0x550a01+'-new'),this['activeChange']==_0x3779c9&&_0x4ce4ed['push']('ck-suggestion-marker--active'),{'classes':_0x4ce4ed,'attributes':{'data-change-id':_0x511ec5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4fd883=>{_0x4fd883['on']('element:pre',(_0x440ee2,_0x1f0984,_0x5d2c9e)=>{const _0x4ec5b1=_0x1f0984['viewItem']['getChild'](0x0);if(!_0x4ec5b1||!_0x4ec5b1['is']('element','code'))return;if(!_0x5d2c9e['consumable']['consume'](_0x4ec5b1,{'attributes':['vid_start','vid_end']}))return;const _0xe527e0=_0x1f0984['modelRange']['start']['nodeAfter'];_0x5d2c9e['writer']['setAttribute']('vid_start',_0x4ec5b1['getAttribute']('vid_start'),_0xe527e0),_0x5d2c9e['writer']['setAttribute']('vid_end',_0x4ec5b1['getAttribute']('vid_end'),_0xe527e0);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xc12e9f=>{_0xc12e9f['on']('element',(_0x1295b2,_0xcaca2,_0x425302)=>{if(!_0x425302['consumable']['consume'](_0xcaca2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xcaca2['modelRange']['isCollapsed'])return;const _0x27e298=_0xcaca2['modelRange']['start']['nodeAfter'];_0x27e298['hasAttribute']('vid_start')||_0x27e298['hasAttribute']('vid')||(_0x425302['writer']['setAttribute']('vid_start',_0xcaca2['viewItem']['getAttribute']('vid_start'),_0x27e298),_0x425302['writer']['setAttribute']('vid_end',_0xcaca2['viewItem']['getAttribute']('vid_end'),_0x27e298));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3a34df=>_0x3a34df['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xf85b77,[,_0x9c9645])=>{['vid_start','vid_end','vid']['includes'](_0x9c9645)&&(_0xf85b77['return']=!0x0,_0xf85b77['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3bd611=>{_0x3bd611['on']('attribute:vid',(_0x6099b5,_0x14a063,_0x2d8c9e)=>{if('\x20'!=_0x14a063['item']['data']||_0x14a063['item']['parent']['maxOffset']>0x1)return;if(!_0x2d8c9e['consumable']['consume'](_0x14a063['item'],_0x6099b5['name']))return;const _0x515657=_0x2d8c9e['writer'],_0x50a0ef=_0x2d8c9e['mapper']['toViewRange'](_0x14a063['range']);_0x515657['wrap'](_0x50a0ef,_0x515657['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x8126ef){const _0x1a2828=_0x8126ef['plugins']['get']('RevisionViewer');return(_0x283511,_0x4eca1c,_0x1ca8b1)=>{const _0x5c37eb=_0x4eca1c['markerName']['split'](':')[0x1],_0x272d37=_0x1a2828['_getChangeFromId'](_0x5c37eb);if(!_0x272d37)return null;const _0x488d0b='add'==_0x272d37['type']?'split':'merge';if(!_0x1ca8b1['consumable']['test'](_0x4eca1c['markerRange'],_0x283511['name']))return;const _0x1b9a89=_0x4eca1c['markerRange']['getWalker'](),_0x55009c=_0x4eca1c['markerRange']['start'],_0x170daf=_0x8126ef['model']['schema'];let _0x102558=null,_0xf6e417=null,_0x4fb5b6=!0x1,_0x283ece=!0x1;for(const _0x28bd70 of _0x1b9a89){const _0x1cc103=_0x28bd70['item'];_0x4fb5b6=_0x4fb5b6||_0x170daf['isContent'](_0x1cc103);const _0x21e409=_0x1ca8b1['mapper']['toViewElement'](_0x1cc103);if(_0x21e409&&_0x21e409['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x28bd70['type']&&(_0x170daf['isBlock'](_0x1cc103)&&!_0x170daf['isLimit'](_0x1cc103)&&(_0x1cc103['nextSibling']||_0x55009c['isAtEnd']?_0x102558&&_0x102558['parent']==_0x1cc103||(_0x102558=_0x1cc103,_0xa8b8ac(_0x28bd70['previousPosition']),_0x283ece=!0x0):_0xf6e417=_0xf6e417||_0x28bd70['previousPosition']));}function _0xa8b8ac(_0xb6591f){const _0x4d9462=_0x1ca8b1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x488d0b}),_0x170840=_0x1ca8b1['mapper']['toViewPosition'](_0xb6591f);_0x272d37['data']['isSuggestion']&&_0x1ca8b1['writer']['addClass']('ck-suggestion-marker-'+_0x488d0b+'-new',_0x4d9462),_0x1a2828['activeChange']==_0x272d37&&_0x1ca8b1['writer']['addClass']('ck-suggestion-marker--active',_0x4d9462),_0x1ca8b1['writer']['insert'](_0x170840,_0x4d9462),_0x1ca8b1['mapper']['bindElementToMarker'](_0x4d9462,_0x4eca1c['markerName']);}_0x4fb5b6||_0x283ece||!_0xf6e417||_0xa8b8ac(_0xf6e417);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1bf08a,_0x33049a,_0x484098)=>{const _0x19b5c2=_0x484098['mapper']['markerNameToElements'](_0x33049a['markerName']);if(_0x19b5c2){for(const _0x451bdf of _0x19b5c2)(_0x451bdf['hasClass']('ck-suggestion-marker-split')||_0x451bdf['hasClass']('ck-suggestion-marker-merge'))&&(_0x484098['mapper']['unbindElementFromMarkerName'](_0x451bdf,_0x33049a['markerName']),_0x484098['writer']['remove'](_0x451bdf));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x13f228,_0xf1b55c,_0x713ac3)=>{const _0xb2de74=_0xf1b55c['markerName']['split'](':')[0x1],_0x421e1d=this['_getChangeFromId'](_0xb2de74);if(!_0x421e1d)return null;const _0x1088b3='add'==_0x421e1d['type']?'split':'merge';if(_0x713ac3['consumable']['test'](_0xf1b55c['markerRange'],_0x13f228['name']))for(const _0x4ffb30 of _0xf1b55c['markerRange']['getItems']()){if(!_0x4ffb30['is']('element','softBreak'))continue;const _0xca829b=_0x713ac3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1088b3}),_0x282e38=_0x713ac3['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4ffb30));_0x421e1d['data']['isSuggestion']&&_0x713ac3['writer']['addClass']('ck-suggestion-marker-'+_0x1088b3+'-new',_0xca829b),this['activeChange']==_0x421e1d&&_0x713ac3['writer']['addClass']('ck-suggestion-marker--active',_0xca829b),_0x713ac3['writer']['insert'](_0x282e38,_0xca829b),_0x713ac3['mapper']['bindElementToMarker'](_0xca829b,_0xf1b55c['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x191e39=>{for(const _0x558420 of this['editor']['model']['document']['getRootNames']()){const _0x3b2a83=this['editor']['model']['document']['getRoot'](_0x558420),_0x49d300=this['editor']['editing']['view']['document']['getRoot'](_0x558420);if(_0x49d300){const _0x565053=_0x3b2a83['getAttribute']('revisionHistoryAttachChange');if(_0x191e39['removeAttribute']('data-change-id',_0x49d300),_0x191e39['removeClass']('ck-revision-history-root-add',_0x49d300),_0x191e39['removeClass']('ck-revision-history-root-remove',_0x49d300),_0x191e39['removeClass']('ck-revision-history-root--active',_0x49d300),_0x565053){const _0x4cd4f6=this['_getChangeFromId'](_0x565053);if(!_0x4cd4f6)return null;_0x191e39['setAttribute']('data-change-id',_0x565053,_0x49d300),_0x191e39['addClass']('ck-revision-history-root-'+_0x4cd4f6['type'],_0x49d300),this['activeChange']==_0x4cd4f6&&_0x191e39['addClass']('ck-revision-history-root--active',_0x49d300);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x34597d=>'revision-comment:'+_0x34597d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x42dfa4=>'revision-suggestion:'+_0x42dfa4,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4e260a=>({'name':'suggestion:'+_0x4e260a,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4c458f=>{const _0x399bbd=_0x4c458f['markerName']['split'](':')[0x1];return'insertion'!=_0x399bbd&&'deletion'!=_0x399bbd?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x399bbd]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',yv(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',yv(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x4d37e6,_0x5c4afc,_0x1bdad8)=>{const _0x232ab8=_0x1bdad8['mapper']['markerNameToElements'](_0x5c4afc['markerName']);if(_0x232ab8){for(const _0x244121 of _0x232ab8)_0x244121['is']('uiElement')&&(_0x1bdad8['mapper']['unbindElementFromMarkerName'](_0x244121,_0x5c4afc['markerName']),_0x1bdad8['writer']['remove'](_0x244121));}},{'priority':'high'});}['_getChangeFromId'](_0x43dcaa){return this['_changeIdToChange']['get'](_0x43dcaa);}['_getViewForChange'](_0xec64eb){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0xec64eb),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x283dec,_0x5383da,_0x1db37f,_0x5193dc)=>{_0x5193dc&&this['_balloon']['remove'](_0x5193dc),_0x1db37f&&(this['_balloon']['add']({'view':_0x1db37f,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x539bad=this['editor']['editing'],_0x2fae96=this['_getChangeFromId'](_0x1db37f['changeId']);let _0x579e68;if(_0x2fae96['data']['isOnRoot']){const _0x1a5bcf=_0x539bad['view']['getDomRoot'](_0x2fae96['rootName']);_0x579e68=Array['from'](_0x1a5bcf['getClientRects']());}else{const _0x3ae1a2=this['editor']['model']['markers']['get']('revision:'+_0x1db37f['changeId']);_0x579e68=Array['from'](_0x539bad['mapper']['markerNameToElements'](_0x3ae1a2['name']))['map'](_0x5f2333=>_0x539bad['view']['domConverter']['mapViewToDom'](_0x5f2333))['map'](_0x53c6e4=>Array['from'](_0x53c6e4['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x579e68[0x0];return _0x579e68['find'](_0x48866a=>_0x48866a['top']-0x3<=this['_activeViewTarget']['y']&&_0x48866a['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x48866a['left']-0x3<=this['_activeViewTarget']['x']&&_0x48866a['right']+0x3>=this['_activeViewTarget']['x'])||_0x579e68[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1ad226,_0x161581,_0x10c588,_0x206ef6)=>{this['activeView']=_0x10c588?this['_getViewForChange'](_0x10c588):null,this['editor']['model']['change'](()=>{const _0x517085=this['editor']['editing'];_0x206ef6&&(_0x206ef6['data']['isOnRoot']?_0x517085['view']['change'](_0x16d2ab=>{_0x16d2ab['removeClass']('ck-revision-history-root--active',_0x517085['view']['document']['getRoot'](_0x206ef6['rootName']));}):_0x517085['reconvertMarker']('revision:'+_0x206ef6['id'])),_0x10c588&&(_0x10c588['data']['isOnRoot']?_0x517085['view']['change'](_0x219949=>{_0x219949['addClass']('ck-revision-history-root--active',_0x517085['view']['document']['getRoot'](_0x10c588['rootName']));}):_0x517085['reconvertMarker']('revision:'+_0x10c588['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4987d4,_0x3c3749)=>{if(this['activeChange'])return;const _0x5054fd=this['_findChangeIdFromDomTarget'](_0x3c3749['target']),_0x356f9d=this['_changeIdToChange']['get'](_0x5054fd);_0x356f9d?(this['_activeViewTarget']={'x':_0x3c3749['domEvent']['x'],'y':_0x3c3749['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x356f9d)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x108b4a,_0x10d855)=>{const _0x595f54=this['_findChangeIdFromDomTarget'](_0x10d855['target']),_0x16e68a=this['_changeIdToChange']['get'](_0x595f54);_0x16e68a?(this['_activeViewTarget']={'x':_0x10d855['domEvent']['x'],'y':_0x10d855['domEvent']['y']},_0x16e68a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x16e68a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x57cc03){do{const _0x26b63c=_0x57cc03['getAttribute']('data-change-id');if(_0x26b63c)return _0x26b63c;_0x57cc03=_0x57cc03['parent'];}while(_0x57cc03);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3a2280=>{for(const _0x395dfb of this['editor']['model']['markers'])_0x3a2280['removeMarker'](_0x395dfb);});}}function yv(_0x186b35,_0x2dc5ef){return(_0x49706c,_0x3ade1b,_0x2bd833)=>{if(!_0x2bd833['consumable']['test'](_0x3ade1b['markerRange'],_0x49706c['name']))return;const _0x36ab5d=_0x3ade1b['markerRange']['getWalker'](),_0x3d38ec=_0x3ade1b['markerRange']['start'],_0x162a4c=_0x186b35['model']['schema'];let _0xcf4ee4=null,_0x5f4768=null,_0x5e76e9=!0x1,_0x1bd4ee=!0x1;for(const _0x5bf78b of _0x36ab5d){const _0x4fff8e=_0x5bf78b['item'];_0x5e76e9=_0x5e76e9||_0x162a4c['isContent'](_0x4fff8e);const _0x48b8ab=_0x2bd833['mapper']['toViewElement'](_0x4fff8e);if(_0x48b8ab&&_0x48b8ab['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5bf78b['type']&&(_0x162a4c['isBlock'](_0x4fff8e)&&!_0x162a4c['isLimit'](_0x4fff8e)&&(_0x4fff8e['nextSibling']||_0x3d38ec['isAtEnd']?_0xcf4ee4&&_0xcf4ee4['parent']==_0x4fff8e||(_0xcf4ee4=_0x4fff8e,_0x1ebe4c(_0x5bf78b['previousPosition']),_0x1bd4ee=!0x0):_0x5f4768=_0x5f4768||_0x5bf78b['previousPosition']));}function _0x1ebe4c(_0x4be0bc){const _0x2f9ae0=_0x2bd833['mapper']['toViewPosition'](_0x4be0bc),_0x5d7a5a=_0x2bd833['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2dc5ef});_0x2bd833['writer']['insert'](_0x2f9ae0,_0x5d7a5a),_0x2bd833['mapper']['bindElementToMarker'](_0x5d7a5a,_0x3ade1b['markerName']);}_0x5e76e9||_0x1bd4ee||!_0x5f4768||_0x1ebe4c(_0x5f4768);};}class RestoreRevisionCommand extends _0x4d9dc4{constructor(_0xfcecdb){super(_0xfcecdb);const _0x3ad30e=_0xfcecdb['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['listenTo'](_0x3ad30e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3ad30e,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x37b55c=this['editor'],_0x48034b=_0x37b55c['plugins']['get'](RevisionViewer),_0x275591=_0x48034b['isReady']?_0x48034b['diff']['newRevisionId']:null;_0x37b55c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x275591);}['refresh'](){const {isReady:_0x15b371,isEnabled:_0x50fc8d,repository:_0x39e8ef,diff:_0x3d3efe}=this['editor']['plugins']['get'](RevisionViewer),_0x405a91=_0x3d3efe&&_0x39e8ef['getLaterVisibleRevision'](_0x3d3efe['newRevisionId']);this['isEnabled']=_0x15b371&&_0x50fc8d&&Boolean(_0x405a91);}}class ShowChangeCommand extends _0x4d9dc4{['_step'];constructor(_0x9205e,{direction:_0x4b5d5c}){super(_0x9205e);const _0x1313ca=_0x9205e['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['_step']='forward'===_0x4b5d5c?0x1:-0x1,this['listenTo'](_0x1313ca,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1313ca,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1313ca,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xfbdf9b=this['editor'],_0x3f9ef7=_0xfbdf9b['plugins']['get'](RevisionViewer),{isNavigationMode:_0x368822,currentChangeNumber:_0x52bd4a}=_0x3f9ef7;let _0x3ed173;if(_0x3f9ef7['activeChange']=_0x368822?_0x3f9ef7['diff']['changes']['get'](_0x52bd4a+this['_step']):_0x3f9ef7['diff']['changes']['first'],_0x3f9ef7['activeChange']['data']['isOnRoot'])_0x3ed173=_0xfbdf9b['editing']['view']['getDomRoot'](_0x3f9ef7['activeChange']['rootName']);else{const _0x524915=_0xfbdf9b['model']['markers']['get']('revision:'+_0x3f9ef7['activeChange']['id']);_0x3ed173=Sd(_0xfbdf9b['editing'],_0x524915);}_0x32a032({'target':_0x3ed173,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4f45f2,currentChangeNumber:_0x4583a2,numberOfChanges:_0x254ec6,isReady:_0x55b1a1,isEnabled:_0x1ec6d9}=this['editor']['plugins']['get'](RevisionViewer);this['isEnabled']=!!(_0x1ec6d9&&_0x55b1a1&&_0x254ec6)&&(!_0x4f45f2||(0x1===this['_step']?_0x4583a2<_0x254ec6-0x1:_0x4583a2>0x0));}}class ChangesNavigationView extends _0x278baa{constructor(_0x1ffb56){super(_0x1ffb56);const _0x3e7d58=this['bindTemplate'],_0x3386d1=new _0x1a631f(_0x1ffb56),_0x453846=new _0x1a631f(_0x1ffb56);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',(_0x4b2776,_0xd6f24f)=>_0x4b2776&&_0xd6f24f>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2494fc,_0x581c67,_0x21d103,_0xfb7967)=>{if(!_0x2494fc)return gv(_0x1ffb56,'Loading...');if(!_0x21d103)return gv(_0x1ffb56,'No\x20changes');const _0x3e1372=gv(_0x1ffb56,'NUMBER_OF_CHANGES',_0x21d103);return _0xfb7967?gv(_0x1ffb56,'X_OF_Y_CHANGES',[_0x581c67+0x1,_0x21d103]):_0x3e1372;}),_0x3386d1['set']({'label':gv(_0x1ffb56,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x526f3c}),_0x453846['set']({'label':gv(_0x1ffb56,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x3cec3c}),_0x3386d1['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x453846['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3386d1['on']('execute',()=>this['fire']('execute','backward')),_0x453846['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',_0x3e7d58['if']('_isStatusLabelVisible','ck-hidden',_0x1214bf=>!_0x1214bf)]},'children':[{'text':_0x3e7d58['to']('isNavigationMode',_0x3cd2e5=>_0x3cd2e5?gv(_0x1ffb56,'EDIT_X_OF_Y_REVISIONS')+':\x20':gv(_0x1ffb56,'Total')+':\x20')}]},{'text':_0x3e7d58['to']('_statusText')}]},new zt(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3386d1,_0x453846]}]});}}const vv='ck-editor__editable__loading-overlay';class RevisionViewerLoadingOverlay extends _0x7cf71c{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x55b116=this['editor']['editing']['view'];_0x55b116['change'](_0x2eb3ba=>{for(const _0x47d4f2 of _0x55b116['document']['roots'])_0x2eb3ba['addClass'](vv,_0x47d4f2);});}['hide'](){const _0x205259=this['editor']['editing']['view'];_0x205259['change'](_0x3612b7=>{for(const _0x56c332 of _0x205259['document']['roots'])_0x3612b7['removeClass'](vv,_0x56c332);});}}class RevisionViewerUI extends _0x7cf71c{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer,RevisionViewerLoadingOverlay];}['init'](){const _0x805895=this['editor'],_0x370ff1=_0x805895['plugins']['get'](RevisionViewer),_0x2258e4=_0x805895['plugins']['get'](RevisionViewerLoadingOverlay);_0x805895['ui']['componentFactory']['add']('exitToEditing',_0x5f5600=>{const _0x28aa38=new _0x1a631f(_0x5f5600);return _0x28aa38['set']({'label':gv(_0x5f5600,'Back\x20to\x20editing'),'icon':_0x28e8a7,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x28aa38,'execute',()=>{_0x805895['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x28aa38;}),_0x805895['ui']['componentFactory']['add']('restoreRevision',_0x5612fb=>{const _0x4103ca=new _0x1a631f(_0x5612fb);return _0x4103ca['set']({'label':gv(_0x5612fb,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4103ca['bind']('isEnabled')['to'](_0x805895['commands']['get']('restoreRevision')),this['listenTo'](_0x4103ca,'execute',()=>_0x805895['execute']('restoreRevision')),_0x4103ca;}),_0x805895['ui']['componentFactory']['add']('changesNavigation',_0x5e4ed8=>{const _0x146d41=new ChangesNavigationView(_0x5e4ed8),_0x1440a3=_0x805895['commands']['get']('showPreviousChange'),_0x44c4b8=_0x805895['commands']['get']('showNextChange');return _0x146d41['bind']('isBackwardNavigationEnabled')['to'](_0x1440a3,'isEnabled'),_0x146d41['bind']('isForwardNavigationEnabled')['to'](_0x44c4b8,'isEnabled'),_0x146d41['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x370ff1),this['listenTo'](_0x146d41,'execute',(_0x35ebbc,_0x5b03d7)=>{_0x805895['execute']('forward'===_0x5b03d7?'showNextChange':'showPreviousChange');}),_0x146d41;}),_0x2258e4['show'](),_0x370ff1['on']('change:isReady',(_0x2a45b6,_0x4ad996,_0x351d7e)=>{_0x351d7e?_0x2258e4['hide']():_0x2258e4['show']();});}}class RevisionNameView extends bt{['_resizeObserver']=null;constructor(_0x2dd8e2,_0x4d85d4){super(_0x2dd8e2,_0x4d85d4);const _0x1f05eb=this['bindTemplate'];this['set']({'label':gv(_0x2dd8e2,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=gv(_0x2dd8e2,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1f05eb['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x5fea7(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x555c0b=this['fieldView']['element'];this['_tooltipString']=_0x555c0b['scrollWidth']>_0x555c0b['clientWidth']&&_0x555c0b['value']||'';}}class RevisionAuthorView extends _0x278baa{constructor(_0x1e55bc,_0x22dc7d,_0x92ed75){super(_0x1e55bc);const _0x46caa9=new _0x24ab51();_0x46caa9['set']({'content':_0x22dcb0,'viewBox':'0\x200\x2011\x2010'});const _0x11576a=['ck','ck-revision-history-sidebar__revision-author'];_0x92ed75&&_0x11576a['push']('ck-revision-history-sidebar__revision-author_creator');const _0x665b58=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':gv(_0x1e55bc,_0x92ed75?'Revision\x20creator':'Revision\x20author')},'children':[_0x46caa9,_0x22dc7d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x11576a},'children':_0x665b58});}}function _v(_0x44dab5,_0x5d9c8a){const _0x2bf3fa=_0x44dab5['bindTemplate'],_0x469f0c=_0x44dab5['locale'],_0x5a5f47=nt(_0x469f0c);_0x5a5f47['panelPosition']='sw';const _0x1f8dc5=function(_0x379ff3,_0x20ed33){const _0x4304bf=function(_0x12fdca,_0xb73116){const _0x1d9f92=_0x12fdca['locale'],_0x4c1fdf={'Compare\x20against\x20selected':gv(_0x1d9f92,'Compare\x20against\x20selected'),'Name\x20this\x20revision':gv(_0x1d9f92,'Name\x20this\x20revision'),'Restore\x20this\x20revision':gv(_0x1d9f92,'Restore\x20this\x20revision')};return _0xb73116['map'](_0x59ad81=>{const _0x1b997e=_0x4c1fdf[_0x59ad81['name']];return _0x1b997e&&_0x1b997e!==_0x59ad81['name']&&(_0x59ad81['name']=_0x1b997e),_0x59ad81;});}(_0x379ff3,_0x20ed33),_0x4445a5=new _0x307d11();for(const _0x41dc2a of _0x4304bf){const _0x8b7c16={'type':'button','model':new Ot({'label':_0x41dc2a['name'],'class':_0x41dc2a['class'],'withText':!0x0,'role':'menuitem','_action':_0x41dc2a['action']})};_0x8b7c16['model']['bind']('isEnabled')['to'](_0x379ff3,'isActionsDropdownOpen',_0x334c4f=>'function'!=typeof _0x41dc2a['isEnabled']||(!_0x334c4f||_0x41dc2a['isEnabled'](_0x379ff3))),_0x4445a5['add'](_0x8b7c16);}return _0x4445a5;}(_0x44dab5,_0x5d9c8a);return _0x44dab5['bind']('isActionsDropdownOpen')['to'](_0x5a5f47,'isOpen'),_0x5a5f47['buttonView']['set']({'label':gv(_0x469f0c,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2d8cb4}),_0x5a5f47['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2bf3fa['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2bf3fa['to'](_0x10a292=>_0x10a292['stopPropagation']())}}),_0x5a5f47['on']('execute',_0x2cb61a=>{_0x44dab5['isReady']&&'function'==typeof _0x2cb61a['source']['_action']&&_0x2cb61a['source']['_action'](_0x44dab5);}),pt(_0x5a5f47,_0x1f8dc5,{'role':'menu'}),_0x5a5f47['listenTo'](_0x44dab5,'change:isActionsDropdownOpen',(_0x18c527,_0x2d4ef4,_0x394d4d)=>{if(_0x394d4d)for(const _0x109e19 of _0x5a5f47['listView']['items']){const _0x166164=_0x109e19['children']['first'],_0x29f8fc=_0x5d9c8a['find'](_0x1b984a=>_0x1b984a['action']===_0x166164['_action'])['isVisible'];_0x109e19['isVisible']=void 0x0===_0x29f8fc||_0x29f8fc(_0x44dab5);}}),_0x5a5f47;}class RevisionView extends/* #__PURE__ -- @preserve */
xd(_0x278baa){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x55f03e,_0x57554e,_0x40a19f,_0x46fc55){super(_0x55f03e);const _0x2f5a3e=this['bindTemplate'],_0x153123=function(_0x9aeb4f,_0x5462ac){const _0x34b769=Array['from'](_0x5462ac['authors'])['filter'](_0x5178fd=>_0x5178fd!=_0x5462ac['creator']);return _0x5462ac['creator']&&_0x34b769['unshift'](_0x5462ac['creator']),_0x34b769['map'](_0x2635dd=>new RevisionAuthorView(_0x9aeb4f,_0x2635dd,_0x2635dd==_0x5462ac['creator']));}(_0x55f03e,_0x57554e);this['id']=_0x57554e['id'],this['_revision']=_0x57554e,this['_requireRevisionName']=_0x46fc55,this['bind']('name','createdAt')['to'](_0x57554e),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x56c6a9=>{return _0x5d19ed=_0x55f03e['uiLanguage'],(_0x5242ad=_0x56c6a9)['toLocaleDateString'](_0x5d19ed,{'month':'long','day':'numeric'})+',\x20'+_0x5242ad['toLocaleTimeString'](_0x5d19ed,{'hour':'numeric','minute':'numeric'});var _0x5d19ed,_0x5242ad;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new RevisionNameView(_0x55f03e,yt),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x41653b=>_0x41653b||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4c408a,_0x96cff9)=>_0x4c408a&&_0x96cff9),this['revisionActionsView']=_0x40a19f&&_0x40a19f['length']?_v(this,_0x40a19f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2f5a3e['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2f5a3e['if']('isEnabled','ck-disabled',_0x224637=>!_0x224637),_0x2f5a3e['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2f5a3e['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2f5a3e['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':_0x2f5a3e['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':_0x153123}]},this['revisionActionsView']],'on':{'click':_0x2f5a3e['to'](_0x9d0e15=>{_0x9d0e15['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x483cd9=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x483cd9,'change',()=>{this['_requireRevisionName']&&!_0x483cd9['value']||this['fire']('setName',{'id':this['id'],'name':_0x483cd9['value']}),_0x483cd9['value']||(_0x483cd9['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function Ev(_0x566cd9,_0x49f6df){const _0xefca49=DateTime['fromJSDate'](_0x566cd9)['setLocale'](_0x49f6df),_0x1f2b1e=DateTime['local'](),_0xe637d3=_0x1f2b1e['minus']({'days':0x1})['startOf']('day');let _0x4e8881,_0x4d7301;return _0xefca49['hasSame'](_0x1f2b1e,'day')?(_0x4e8881=_0xefca49['startOf']('day')['toJSDate'](),_0x4d7301=_0xefca49['toRelativeCalendar']()):_0xefca49['hasSame'](_0xe637d3,'day')?(_0x4e8881=_0xe637d3['toJSDate'](),_0x4d7301=_0xefca49['toRelativeCalendar']()):_0xefca49['hasSame'](_0x1f2b1e,'week')?(_0x4e8881=_0xefca49['startOf']('week')['toJSDate'](),_0x4d7301=_0xefca49['weekdayLong']||''):_0xefca49['hasSame'](_0x1f2b1e,'year')?(_0x4e8881=_0xefca49['startOf']('month')['toJSDate'](),_0x4d7301=_0xefca49['monthLong']||''):(_0x4e8881=_0xefca49['startOf']('year')['toJSDate'](),_0x4d7301=String(_0xefca49['year'])),{'startDate':_0x4e8881,'localizedPeriodName':_0x4d7301};}class RevisionsSidebarTimePeriodView extends _0x278baa{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1b6ca4,_0x1b82f1,_0x4cfe18,_0x228a9d){super(_0x1b6ca4);const _0x4fd5d3=Ev(_0x1b82f1,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1b82f1,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4cfe18,this['_requireRevisionName']=_0x228a9d,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':_0x4fd5d3}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1c5784){const _0x569577=new RevisionView(this['locale'],_0x1c5784,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x569577);}['removeRevision'](_0x563a33){const _0xfbe026=this['revisionViews']['find'](_0x1874ed=>_0x1874ed['id']===_0x563a33['id']);this['revisionViews']['remove'](_0xfbe026);}}class RevisionsSidebarHeaderView extends _0x278baa{constructor(_0x11dc9e){super(_0x11dc9e);const _0x3ee245=new _0x24ab51();_0x3ee245['content']=_0x145406,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3ee245,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[gv(_0x11dc9e,'Revision\x20history')]}]});}}class RevisionsSidebarView extends _0x278baa{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xd74207,_0x409d1c,_0x3c80df,_0x286f6c){super(_0xd74207);const _0x4e7326=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x409d1c,this['_revisionActions']=_0x3c80df,this['_requireRevisionName']=_0x286f6c,this['on']('select',(_0x178ab0,_0x35a5d6)=>{this['fire']('revisionSelected',_0x35a5d6);}),this['on']('setName',(_0x3a643b,_0x38e2f6)=>{this['fire']('revisionSetName',_0x38e2f6);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new RevisionsSidebarHeaderView(_0xd74207),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4e7326['if']('isEnabled','ck-disabled',_0xab4562=>!_0xab4562)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x291565 of this['_revisions'])this['_addRevision'](_0x291565);this['_revisions']['on']('add',(_0x30bcfa,_0x4e3e3c)=>{this['_addRevision'](_0x4e3e3c);}),this['_revisions']['on']('remove',(_0x2ed0e0,_0x297aae)=>{this['_removeRevision'](_0x297aae);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xbcf053=>_0xbcf053['revisionViews']['map'](_0x25e227=>_0x25e227))['flat']();}['selectRevision'](_0xa0cca5){for(const _0xaa7e1b of this['revisionViews'])_0xa0cca5&&_0xa0cca5['id']===_0xaa7e1b['id']?_0xaa7e1b['select']():_0xaa7e1b['deselect']();}['highlightRevisions'](_0xfe06ca){for(const _0x244572 of this['revisionViews'])_0xfe06ca['some'](({id:_0x15cd1d})=>_0x15cd1d===_0x244572['id'])?_0x244572['highlight']():_0x244572['unhighlight']();}['_addRevision'](_0x3fcf06){const _0x180c39=Ev(_0x3fcf06['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x4da457=this['_getTimePeriodViewByStartDate'](_0x180c39);_0x4da457||(_0x4da457=new RevisionsSidebarTimePeriodView(this['locale'],_0x180c39,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x4da457)),_0x4da457['addRevision'](_0x3fcf06);}['_removeRevision'](_0x29270a){const _0x1dfed3=Ev(_0x29270a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1dfed3)['removeRevision'](_0x29270a);}['_getTimePeriodViewByStartDate'](_0x6f528a){return this['timePeriodViews']['find'](_0x339078=>_0x339078['startDate']['getTime']()===_0x6f528a['getTime']());}}class RevisionsSidebar extends _0x7cf71c{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
Tv();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer];}constructor(_0x247c02){super(_0x247c02),this['_revisionViewer']=_0x247c02['plugins']['get'](RevisionViewer),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1526cf=this['_revisionsRepository']['_revisions'],_0x3ff8d4=this['_createRevisionActions'](),_0xda7aba=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new RevisionsSidebarView(this['editor']['locale'],_0x1526cf,_0x3ff8d4,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',(_0x157755,_0x553230)=>{_0x553230['revisionViews']['on']('add',(_0x5bef5b,_0x1a5379)=>{_0x1a5379['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)),_0xda7aba['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x10b804=this['_revisionsRepository']['getRevision'](0x0);if(_0x10b804){const _0x1815f5=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x10b804['id']);this['_revisionViewer']['compare'](_0x10b804,_0x1815f5);}}['_handleRevisionSelected'](_0x3780ea,_0x2799e0){const _0x2b4baa=this['_revisionsRepository']['getRevision'](_0x2799e0['id']),_0x318b5b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2b4baa['id']);this['_revisionViewer']['compare'](_0x2b4baa,_0x318b5b);}['_handleRevisionSetName'](_0x387aec,_0x5cdaf3){this['_revisionsRepository']['getRevision'](_0x5cdaf3['id'])['setName'](_0x5cdaf3['name']);}['_handleDiffChange'](_0x183630,_0x471d84,_0x3aa8ba){const _0x11cf9a=this['_revisionsRepository']['getRevisionsInDiff'](_0x3aa8ba);_0x11cf9a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x11cf9a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x11cf9a[0x0]));}['_createRevisionActions'](){const _0x35f19d=this['editor'],_0x131e51=RevisionsSidebar['availableRevisionActions'],_0x1b081b=_0x35f19d['config']['get']('revisionHistory.revisionActions')||RevisionsSidebar['defaultRevisionActions'];if(_0x1b081b['length'])return _0x1b081b['map'](_0x2165d0=>{const _0x12f5bd='string'==typeof _0x2165d0?Object['assign']({},_0x131e51[_0x2165d0]):_0x2165d0;return _0x12f5bd['action']=_0x12f5bd['action']['bind'](this,_0x35f19d),_0x12f5bd['isVisible']&&(_0x12f5bd['isVisible']=_0x12f5bd['isVisible']['bind'](this,_0x35f19d)),_0x12f5bd;});}}function Tv(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x18cac5},_0x16ffeb)=>{const _0x5ed8ca=_0x18cac5['get'](RevisionViewer),_0x2bee71=_0x5ed8ca['repository'];let _0x407f3b=_0x5ed8ca['diff']['newRevisionId'],_0x209477=_0x16ffeb['id'];_0x2bee71['getIndex'](_0x407f3b)>_0x2bee71['getIndex'](_0x209477)&&([_0x407f3b,_0x209477]=[_0x209477,_0x407f3b]),_0x5ed8ca['compare'](_0x407f3b,_0x209477);},'isVisible':({plugins:_0x218f07},_0x5ef4c6)=>{const _0x40c8d3=_0x218f07['get'](RevisionViewer);return!(_0x40c8d3['repository']['getRevisionsInDiff'](_0x40c8d3['diff'])['length']>0x2)&&!_0x5ef4c6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x104438,{id:_0x2c0c0d})=>{_0x104438['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2c0c0d);},'isVisible':({plugins:_0x1cb966},_0xa5f33d)=>!!_0x1cb966['get'](RevisionViewer)['repository']['getLaterVisibleRevision'](_0xa5f33d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1ceb3c},{id:_0x1da122,revisionNameView:_0x27b695})=>{const _0x32e18e=_0x1ceb3c['get'](RevisionViewer),_0x399f4c=_0x32e18e['repository']['getEarlierVisibleRevision'](_0x1da122);_0x32e18e['compare'](_0x1da122,_0x399f4c),_0x27b695['focus'](),_0x27b695['fieldView']['select']();}}};}class RevisionViewerEditorUI extends Lt{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x705ef1,_0x1c3df){super(_0x705ef1),this['_view']=_0x1c3df,this['_toolbarConfig']=Yt(_0x705ef1['config']['get']('toolbar')),this['_elementReplacer']=new _0x1e17b6();}get['element'](){return this['view']['element'];}['init'](_0x34f6cf){const _0x2676b7=this['editor'],_0x9238b3=this['view'],_0x59472d=_0x2676b7['editing']['view'],_0x2f24af=_0x9238b3['editable'],_0x47fa5f=_0x59472d['document']['getRoot']();_0x2f24af['name']=_0x47fa5f['rootName'],_0x9238b3['render']();const _0x3d8dd4=_0x2f24af['element'];this['setEditableElement'](_0x2f24af['name'],_0x3d8dd4),_0x9238b3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x59472d['attachDomRoot'](_0x3d8dd4),this['_elementReplacer']['replace'](_0x34f6cf,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x21e12d=this['view'],_0x2ff411=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2ff411['detachDomRoot'](_0x21e12d['editable']['name']),_0x21e12d['destroy']();}['_initToolbar'](){const _0x321450=this['view'];_0x321450['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x321450['stickyPanel']['limiterElement']=_0x321450['element'],_0x321450['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3c4f87})=>_0x3c4f87),_0x321450['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x321450['toolbar']);}}class RevisionViewerEditorUIView extends Kt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0xe1ac91,_0xcb66c2,_0x2e039e={}){super(_0xe1ac91),this['stickyPanel']=new Jt(_0xe1ac91),this['toolbar']=new _0x3e23dd(_0xe1ac91,{'shouldGroupWhenFull':_0x2e039e['shouldToolbarGroupWhenFull']}),this['_editable']=new Nt(_0xe1ac91,_0xcb66c2);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x494fd4(_0x519668){['_ui'];get['ui'](){return this['_ui'];}constructor(_0xf0481f,_0x3540fd){super(_0x3540fd),this['sourceElement']=_0xf0481f,this['model']['document']['createRoot']();const _0x27a9cc=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x27a9cc);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1c8493,_0x336f93){const _0x544175=new this(_0x1c8493,_0x336f93);return await _0x544175['initPlugins'](),await _0x544175['ui']['init'](_0x1c8493),await _0x544175['data']['init'](_0x544175['config']['get']('initialData')||''),_0x544175['fire']('ready'),_0x544175;}}const Av=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x7cf71c{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x49e804){function _0x4fc401(_0xf952e1){return _0xf952e1['map'](_0x3cd1cb=>String['fromCharCode'](_0x3cd1cb))['join']('');}super(_0x49e804),this['result']='end',_0x49e804[_0x4fc401([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fc401([0x76,0x69,0x65,0x77])][_0x4fc401([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fc401([0x61,0x75,0x74,0x6f]),_0x49e804[_0x4fc401([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4fc401([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fc401([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4fc401([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4fc401([0x6f,0x6b])});}}class RevisionHistory extends _0x7cf71c{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker,RevisionHistoryUI];}constructor(_0x576777){if(super(_0x576777),!this['editor']['config']['get']('revisionHistory'))throw new _0x3ae0e8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xc1874c=>this['_showRevisionViewer']({..._0xc1874c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x61e2b=>this['_closeRevisionViewer'](_0x61e2b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2d3544=>this['_restoreRevision'](_0x2d3544)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2c7206){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2c7206;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x48c4b9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x48c4b9);}['getRevision'](_0x4d69d5){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4d69d5);}['getRevisions'](_0x11316a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x11316a||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x22a0e7=this['editor'],_0x58fb8a=Ud(_0x22a0e7,Av),_0x14919c=_0x22a0e7['plugins']['get']('RevisionTracker'),_0x4189d8=_0x22a0e7['plugins']['get'](Users)['users'];return _0x58fb8a['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x58fb8a['lazyRoots'],(_0x58fb8a['plugins']['push'](RevisionViewerIntegration,RevisionViewer,RevisionViewerUI,class RevisionViewerInit extends _0x7cf71c{static get['requires'](){return[RevisionViewer,Users];}['init'](){const _0x26eb22=this['editor']['plugins']['get'](Users);for(const _0x517163 of _0x4189d8)_0x517163['isAnonymous']||_0x26eb22['getUser'](_0x517163['id'])||_0x26eb22['addUser'](_0x517163);const _0x5c5475=_0x14919c['repository']['getRevisions']();let _0x3540c9=null;const _0xf533c7=this['editor']['plugins']['get']('RevisionViewer');_0xf533c7['adapter']=_0x14919c['adapter'],_0xf533c7['bind']('isEnabled')['to'](_0x14919c),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x22a0e7,'isReadOnly',_0x318a4d=>!_0x318a4d);for(const _0x2d864d of _0x5c5475){const _0x465b13=null===_0x2d864d['creator'];if(_0x465b13&&_0x2d864d['toVersion']===_0x2d864d['fromVersion'])continue;const _0x71bd3c=_0x2d864d['toJSON']();_0xf533c7['addRevisionData'](_0x71bd3c,(_0xd10a08,_0x5618ab,_0x5d5522)=>{if(_0x465b13){if(_0x3540c9)_0x3540c9['_update'](_0xd10a08,_0x5618ab);else{if(!_0x5618ab){const _0x59cb0a=_0x5d5522['toJSON']();_0x59cb0a['id']=_0x462bc0(),_0x14919c['saveRevision'](_0x59cb0a,_0x5d5522['toVersion'])['then'](_0x304381=>{_0x3540c9=_0x304381;});}}}else _0x2d864d['_update'](_0xd10a08,_0x5618ab);});}}},RevisionsSidebar),_0x58fb8a);}['_enhanceShowRevisionViewerCallback'](){const _0x41df71=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x341c39=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x10c26c=this['editor']['plugins']['get']('Autosave');await _0x10c26c['save']();}else await _0x341c39['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1c3a48=this['editor']['plugins']['get']('Dialog');_0x1c3a48['isOpen']&&_0x1c3a48['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x2eb3b5=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x4dc8f9 of _0x2eb3b5)_0x4dc8f9['class']=_0x4dc8f9['class']?_0x4dc8f9['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x4e5ae8=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x4e5ae8&&_0x4e5ae8['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x8ae5f3=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x8ae5f3&&_0x8ae5f3['setAttribute']('tabindex','-1');}}const _0x553db9=this['_getRevisionViewerEditorConfig']();return _0x41df71(_0x553db9)['then'](_0x4e3136=>{return(this['_viewerEditor']=_0x4e3136,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'),_0x4e3136);})['catch'](_0x2f31cc=>(console['error'](_0x2f31cc),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1c59dd=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 _0x418bcd=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x319358 of _0x418bcd)_0x319358['class']='ck-tab-panel_disabled'===_0x319358['class']?'':_0x319358['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x1a30a6=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x1a30a6&&_0x1a30a6['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x2457bf=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x2457bf&&_0x2457bf['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x1c59dd(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x299c83=this['editor']['plugins']['get']('Annotations');_0x299c83['refreshVisibility'](),_0x299c83['refreshPositioning']();}});});}['_showRevisionViewer'](_0x42322d){const _0x308376=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x100576=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4d58ba=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x4d58ba,_0x42322d)['then'](_0xff8db2=>(_0x100576['style']['display']='block',_0x308376['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0xff8db2));}['_closeRevisionViewer'](_0x427389){const _0x2fdbac=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2fdbac['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x427389['destroy']();}async['_restoreRevision'](_0x322a06){const _0x9c768=this['editor'],_0x58438e=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x15ecc9=_0x9c768['plugins']['get']('RevisionTracker'),_0x4253fc=_0x9c768['plugins']['get']('RevisionHistoryUtils'),_0x2942b9=_0x58438e['repository']['getRevision'](_0x322a06);let _0x4a0e9b,_0x2462e9,_0x18f5cc;try{await _0x4253fc['loadRevisionData'](_0x2942b9,this['adapter']),_0x4a0e9b=_0x4253fc['getRevisionDocumentData'](_0x2942b9),_0x2462e9=_0x4253fc['getRevisionRootsAttributes'](_0x2942b9);}catch(_0x304c84){return void console['error'](_0x304c84);}_0x9c768['model']['change'](_0x5a20b3=>{for(const _0x58954f of Array['from'](_0x9c768['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5a20b3['removeMarker'](_0x58954f);}),_0x58438e['isReady']=!0x1,_0x9c768['model']['enqueueChange'](_0x246469=>{_0x246469['setSelection'](null),_0x246469['removeSelectionAttribute'](_0x9c768['model']['document']['selection']['getAttributeKeys']());const _0x2de3dd=Object['keys'](_0x4a0e9b);for(const _0x337523 of _0x9c768['model']['document']['roots'])'$graveyard'!=_0x337523['rootName']&&_0x337523['isAttached']()&&!_0x2de3dd['includes'](_0x337523['rootName'])&&_0x246469['detachRoot'](_0x337523);for(const _0x22b003 of _0x2de3dd){let _0xf71858=_0x9c768['model']['document']['getRoot'](_0x22b003);_0xf71858&&_0xf71858['isAttached']()||(_0xf71858=_0x246469['addRoot'](_0x22b003));const _0x4148a4=_0x2462e9[_0x22b003],_0x51e63f=Object['keys'](_0x4148a4),_0x3db074=_0x4a0e9b[_0x22b003];for(const _0x383af2 of _0xf71858['getAttributeKeys']())_0x51e63f['includes'](_0x383af2)||_0x246469['removeAttribute'](_0x383af2,_0xf71858);for(const _0x259301 of _0x51e63f)_0x246469['setAttribute'](_0x259301,_0x2462e9[_0x22b003][_0x259301],_0xf71858);_0x246469['remove'](_0x246469['createRangeIn'](_0xf71858)),_0x246469['insert'](_0x9c768['data']['parse'](_0x3db074,_0xf71858),_0xf71858,0x0);}});const _0x25a6b6=gv(_0x9c768['locale'],'Restored');if(_0x2942b9['name'])_0x18f5cc=-0x1==_0x2942b9['name']['indexOf'](_0x25a6b6)?_0x25a6b6+':\x20'+_0x2942b9['name']:_0x2942b9['name'];else _0x18f5cc=_0x25a6b6+':\x20'+(_0x2942b9['createdAt']['toLocaleDateString'](_0x9c768['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2942b9['createdAt']['toLocaleTimeString'](_0x9c768['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x15ecc9['saveRevision']({'name':_0x18f5cc}),_0x58438e['isReady']=!0x0,_0x9c768['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class CloudServicesRevisionHistoryAdapter extends _0x7cf71c{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(_0xcb3924){super(_0xcb3924);const _0x1cac4e=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x1cac4e);}async['init'](){const _0x35073b=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x4f9293=_0x35073b['serverHistory'],_0x3a2897=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x4f9293,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x35073b['sessionId']});const _0x1c244f=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x515330,_0x1ab0bc=await EditorService['isBundleUploaded'](_0x3a2897['connection'],_0x1c244f);this['editor']['plugins']['get'](RevisionHistory)['adapter']={'getRevision':async({revisionId:_0x2a3955})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x2a3955)),'updateRevisions':async _0x225001=>{await this['_waitForServiceReady']();const _0x362e20=this['_revisionTracker']['currentRevision'];if(_0x1ab0bc&&0x1===_0x225001['length']&&_0x225001[0x0]['id']===_0x362e20['id'])return _0x225001;for(const _0x98ba6e of _0x225001)_0x98ba6e['id']===_0x362e20['id']&&(_0x98ba6e['isEmptyCurrent']=_0x98ba6e['fromVersion']===_0x98ba6e['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x225001,this['_lastRequestId'])['then'](_0x33b43b=>(this['_lastRequestId']=_0x33b43b,_0x225001))['catch'](_0x2604d2=>{if(Sv(_0x2604d2)||'400'===_0x2604d2['code']&&void 0x0!==_0x2604d2['data']['wrongRequestId']){for(const _0x33c090 of _0x225001){!this['_revisionTracker']['repository']['getRevision'](_0x33c090['id'])||this['_revisionTracker']['_bufferUpdate'](_0x33c090['id'],_0x33c090,!0x1);}if(Sv(_0x2604d2)&&'destroyed'!==this['editor']['state'])throw _0x2604d2;return _0x225001;}throw _0x2604d2;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x49d3f9,{revisionsData:_0x8df6b1,requestId:_0x36432e})=>{Math['max'](..._0x8df6b1['map'](_0x5c46b9=>_0x5c46b9['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x8df6b1,_0x36432e);}):this['_handleRevisionsUpdate'](_0x8df6b1,_0x36432e);});const {revisions:_0x1da487,requestId:_0x4aada3}=await this['_revisionHistoryService']['connect'](_0x3a2897['connection']);_0x3a2897['addToReconnectionStack'](this),this['_lastRequestId']=_0x4aada3,await this['_fetchMissingUsers'](_0x1da487);for(const _0x3326a6 of _0x1da487)this['_revisionTracker']['addRevisionData'](_0x3326a6);this['listenTo'](_0x35073b,'change:_isConnected',(_0x7624bc,_0x53ef84,_0x4f36fa)=>{_0x4f36fa&&(this['_oldOffset']=_0x35073b['_offset'],_0x7624bc['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x3a2897,'state',_0x52512e=>_0x52512e===ry);}async['reconnect'](){const _0x2693f5=this['editor']['plugins']['get'](WebSocketGateway),_0x2e1cee=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x3c3130=async()=>{const _0x3e9621=this['_revisionTracker']['currentRevision'],_0x58bc8d=_0x3e9621['id'],_0x4065b3=_0x58bc8d!==_0x2e1cee['sessionId'];if(_0x4065b3){const _0x143029=_0x2e1cee['_offset']-this['_oldOffset'],_0x3fc390=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x3e9621['toVersion']+_0x143029!==_0x3fc390){const _0x45d655=_0x3e9621['fromVersion']+_0x143029,_0x16a046=this['editor']['plugins']['get'](Users),_0x1aa922=this['_revisionTracker']['buildRevisionData']({'revision':_0x3e9621,'from':_0x45d655,'to':_0x3fc390});_0x1aa922['id']=_0x3e9621['id'];const _0x5370f6=_0x1aa922['authorsIds']['map'](_0x27f4a3=>_0x16a046['getUser'](_0x27f4a3));_0x3e9621['_update']({..._0x1aa922,'authors':_0x5370f6},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x3e9621['id'],_0x1aa922,!0x0);}this['_revisionTracker']['_startingVersion']=_0x3fc390,(_0x3e9621['toVersion']===_0x3e9621['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x58bc8d)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x58bc8d),this['_revisionTracker']['_createCurrentRevision'](_0x3fc390));}const {revisions:_0x3def46,requestId:_0x55d0f0}=await this['_revisionHistoryService']['reconnect'](_0x2693f5['connection'],this['_lastRequestId']);_0x4065b3&&_0x3def46['length']>0x0?_0x2e1cee['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x3def46),this['_handleRevisionsUpdate'](_0x3def46,_0x55d0f0),this['_revisionTracker']['sendBufferedUpdates']());};return _0x2e1cee['_isConnected']?_0x3c3130():new Promise((_0x39fed8,_0x905505)=>{_0x2e1cee['once']('change:_isConnected',()=>{_0x3c3130()['then'](_0x39fed8)['catch'](_0x905505);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x41b24c=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x18cab8=>{_0x18cab8['off'](),_0x41b24c();});});}['_getLatestVersionFromServerOperations'](){const _0xbd10f8=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x25f2c5 of _0xbd10f8)if('marker'!==_0x25f2c5['type']||_0x25f2c5['affectsData'])return _0x25f2c5['baseVersion']+0x1;}['_getLatestVersion'](){const _0x1630fc=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x4a5588=>{_0x1630fc['_isPendingUpdate']?_0x1630fc['once']('change:_isPendingUpdate',()=>{_0x4a5588(this['_getLatestVersionFromServerOperations']());}):_0x4a5588(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x334aa8,_0x293bc5){const _0xc3a676=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x293bc5;for(const _0x8e1ff1 of _0x334aa8){const _0x3c1b8c=_0xc3a676['getRevision'](_0x8e1ff1['id']);if(_0x3c1b8c){if((_0x8e1ff1['fromVersion']||_0x8e1ff1['toVersion'])&&(_0x8e1ff1['diffData']=null),_0x3c1b8c===this['_revisionTracker']['currentRevision']){const _0x19d9bf=Math['max'](_0x3c1b8c['toVersion'],_0x8e1ff1['toVersion']),_0x4e72de=Math['max'](_0x3c1b8c['fromVersion'],_0x8e1ff1['fromVersion']);let _0x253360;_0x3c1b8c['toVersion']===_0x8e1ff1['toVersion']&&_0x3c1b8c['fromVersion']===_0x8e1ff1['fromVersion']?(_0x253360=!0x0,this['_preventResendingRevisionData'](_0x8e1ff1)):_0x8e1ff1['toVersion']===_0x19d9bf&&_0x8e1ff1['fromVersion']===_0x4e72de?_0x253360=!0x1:(_0x3c1b8c['toVersion']===_0x19d9bf&&_0x3c1b8c['fromVersion']===_0x4e72de||this['_fixRevision']({'revision':_0x3c1b8c,'from':_0x4e72de,'to':_0x19d9bf}),_0x253360=!0x0),_0x253360&&(delete _0x8e1ff1['fromVersion'],delete _0x8e1ff1['toVersion'],delete _0x8e1ff1['diffData'],delete _0x8e1ff1['createdAt'],delete _0x8e1ff1['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x8e1ff1),this['_preventResendingRevisionData'](_0x8e1ff1);}else this['_revisionTracker']['addRevisionData'](_0x8e1ff1);}const _0x1bb5ff=_0xc3a676['getRevisions']();_0x1bb5ff['reverse']();for(let _0x284fb7=0x0;_0x284fb7<_0x1bb5ff['length']-0x1;_0x284fb7++){const _0x2affed=_0x1bb5ff[_0x284fb7],_0x1194f0=_0x1bb5ff[_0x284fb7+0x1];if(_0x2affed['fromVersion']<_0x1194f0['toVersion']){const _0x83faa3=_0x1194f0['toVersion'],_0x3303b5=Math['max'](_0x83faa3,_0x2affed['toVersion']);this['_fixRevision']({'revision':_0x2affed,'from':_0x83faa3,'to':_0x3303b5});}}}['_fixRevision']({revision:_0x49e942,from:_0x5f3fa6,to:_0x56308b}={}){const _0x2dc66f=this['editor']['plugins']['get'](Users),_0x27a9e6=this['_revisionTracker']['buildRevisionData']({'revision':_0x49e942,'from':_0x5f3fa6,'to':_0x56308b});_0x27a9e6['authors']=_0x27a9e6['authorsIds']['map'](_0x1c70c6=>_0x2dc66f['getUser'](_0x1c70c6)),_0x49e942['_update'](_0x27a9e6);}['_preventResendingRevisionData'](_0x326bb0){const _0x153a75={};_0x153a75['id']=_0x326bb0['id'];for(const _0x98f86 of Object['keys'](_0x326bb0))'id'!==_0x98f86&&(_0x153a75[_0x98f86]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x153a75['id'],_0x153a75,!0x0);}async['_fetchMissingUsers'](_0x4c4d15){const _0x13ee44=this['editor']['plugins']['get'](Users),{connection:_0x52916b}=this['editor']['plugins']['get'](WebSocketGateway),_0x53f87b=new Set();for(const _0x2f8bf9 of _0x4c4d15){for(const _0x53af1d of _0x2f8bf9['authorsIds'])_0x4bac30(_0x53af1d);_0x2f8bf9['creatorId']&&_0x4bac30(_0x2f8bf9['creatorId']);}if(0x0===_0x53f87b['size'])return;const _0x1362b0=await User['getMany'](_0x52916b,Array['from'](_0x53f87b));for(const _0x228f92 of _0x1362b0)_0x13ee44['getUser'](_0x228f92['id'])||_0x13ee44['addUser'](_0x228f92);function _0x4bac30(_0x5cac73){_0x13ee44['getUser'](_0x5cac73)||_0x53f87b['add'](_0x5cac73);}}}function Sv(_0x5a58c0){return _0x5a58c0['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x5a58c0['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x5a58c0['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x7cf71c{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 _0x278baa{['_collapseAt'];constructor(_0x44bd38,_0x12502f=0x6){super(_0x44bd38);const _0xe7d4e9=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x12502f,this['bind']('isHidden')['to'](this,'usersCount',_0x1a0394=>_0x1a0394<_0x12502f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0xe7d4e9['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':_0xe7d4e9['to']('usersCount',_0x293025=>'+'+(_0x293025-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0x278baa{['items'];['keystrokes'];constructor(_0x2b872e){super(_0x2b872e);const _0x16d628=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x247474(),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x16d628['if']('hasPopup'),'aria-expanded':_0x16d628['to']('isExpanded',_0x588f1b=>this['hasPopup']&&String(_0x588f1b)),'aria-label':_0x16d628['to']('hasPopup',_0x1e24a1=>fy(_0x2b872e,_0x1e24a1?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x16d628['to']('hasPopup',_0x564884=>!!_0x564884&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x16d628['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x16d628['to'](_0x5c163a=>{const _0x5850d2=_0x5c163a,_0x53b90d=document['querySelector']('.ck-presence-list__dropdown-list'),_0x206f4c=document['querySelector']('.ck-balloon-panel_with-arrow');_0x53b90d?.['contains'](_0x5850d2['relatedTarget'])||_0x206f4c?.['contains'](_0x5850d2['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x137caf,_0x592611,_0xbbec79)=>{this['element']&&(_0xbbec79?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 _0x278baa{['counterView'];['inlineListView'];constructor(_0x2d9e78,_0x21244f=0x6){super(_0x2d9e78);const _0x469834=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x21244f),this['inlineListView']=new PresenceInlineListView(_0x2d9e78),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x5c8e31 of this['inlineListView']['items'])_0x5c8e31['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',_0x469834['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0x278baa{['listWrapperView'];constructor(_0x107d5a,_0x1df9d0){super(_0x107d5a);const _0x4dc102=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x107d5a,_0x1df9d0),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':fy(_0x107d5a,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x4dc102['to'](_0x5a7777=>{const _0x37511d=_0x5a7777,_0x1a6688=document['querySelector']('.ck-presence-list__list'),_0x2895ba=document['querySelector']('.ck-balloon-panel_with-arrow');_0x1a6688?.['contains'](_0x37511d['relatedTarget'])||_0x2895ba?.['contains'](_0x37511d['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0x171307{constructor(_0x4649f7,_0x260f93){super(_0x4649f7);const _0x56f4d6=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x260f93?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x56f4d6['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x56f4d6['to']('role'),'aria-label':_0x56f4d6['to']('ariaLabel'),'aria-labelledby':_0x56f4d6['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x37cedc['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x1603be=this['element'];_0x1603be&&(this['_isScrollable']=Math['max'](_0x1603be['scrollHeight'],_0x1603be['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0x3a2da2{['userView'];constructor(_0x19ef61,_0x27e8d8,_0x2bfe66){super(_0x19ef61);const _0x4127b0=this['bindTemplate'];this['userView']=new UserView(_0x19ef61,_0x27e8d8);const _0x1e8155={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x27e8d8['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x27e8d8['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x27e8d8['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x27e8d8['color']['getColorVariable'](),'--ck-user-color-alpha':_0x27e8d8['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x2bfe66&&(_0x1e8155['tag']='button',_0x1e8155['on']={'click':_0x4127b0['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x1e8155);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0x278baa{['userView'];['markerView'];constructor(_0x4a795e,_0x144753,_0x463783){super(_0x4a795e);const _0x2e85ff=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new UserView(_0x4a795e,_0x144753),this['markerView']=new MarkerView(_0x4a795e,_0x144753);const _0x21197c=new te(_0x4a795e);_0x21197c['template']['tag']='span',_0x21197c['text']=_0x144753['name'];const _0x504759={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x2e85ff['to']('isFocusable',_0x4c5995=>!!_0x4c5995&&0x0),'aria-labelledby':_0x21197c['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x2e85ff['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x2e85ff['to']('hasTooltip',_0x5410b6=>!_0x5410b6),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x21197c]};_0x463783&&(_0x504759['tag']='button',_0x504759['on']={'click':_0x2e85ff['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x504759);}}class MarkerView extends _0x278baa{constructor(_0x4f1b2d,_0x2d4aba){super(_0x4f1b2d),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x2d4aba['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x2d4aba['color']['getColorVariable'](),'--ck-user-color-alpha':_0x2d4aba['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}}const Iv={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x32a432{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50ce16){super(_0x50ce16),this['context']['config']['define']('presenceList',Iv);const _0x4347f2=_0x50ce16['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x4347f2)throw new _0x3ae0e8('presencelist-collapseat-invalid-format',this);if(_0x4347f2<0x1)throw new _0x3ae0e8('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](Sessions)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x307d11(),this['balloonPanelView']=new mt(),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[Sessions];}['init'](){for(const _0x22da73 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x22da73);this['listenTo'](this['_allConnectedUsers'],'add',(_0x1eb8f2,_0x29af63)=>{this['_handleUserAdd'](_0x29af63);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x28a76a,_0x4919d7)=>{this['_handleUserRemove'](_0x4919d7);});}['_createView'](){const _0x3dd4af=this['context'],_0x54fd9e=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x3ca8b2=this['balloonPanelView'];if(!function(_0x12d80d){return function(_0x3756db){return'object'==typeof _0x3756db&&null!==_0x3756db;}(_0x12d80d)&&0x1===_0x12d80d['nodeType']&&!Kr(_0x12d80d);}(_0x3dd4af['config']['get']('presenceList.container')))throw new _0x3ae0e8('presencelist-missing-container',this);return _0x54fd9e['counterView']['bind']('usersCount')['to'](this),_0x54fd9e['bind']('isCollapsed')['to'](this,'usersCount',_0x572fc3=>{const {collapseAt:_0x1e9ca5}=_0x3dd4af['config']['get']('presenceList'),_0xc7ffa3=_0x572fc3>=_0x1e9ca5;if(_0xc7ffa3&&!_0x54fd9e['inlineListView']['items']['find'](_0x2b15ed=>_0x2b15ed instanceof PresenceCounterView)){const _0x10e7ea=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x10e7ea&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x54fd9e['inlineListView']['items']['add'](_0x54fd9e['counterView']);}return _0xc7ffa3||this['hideDropdown'](),_0xc7ffa3;}),_0x54fd9e['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x386da0=>{const _0x2db9fa=_0x3dd4af['config']['get']('presenceList'),_0x15cab0=new PresenceInlineListItemView(_0x3dd4af['locale'],_0x386da0,!!_0x2db9fa['onClick']);return _0x15cab0['bind']('hasTooltip')['to'](_0x54fd9e,'isCollapsed',_0x1f2aef=>!_0x1f2aef),_0x15cab0['bind']('isFocusable')['to'](_0x54fd9e,'isCollapsed',_0x80d54=>!_0x80d54),_0x2db9fa['onClick']&&this['listenTo'](_0x15cab0,'execute',()=>{this['view']['isCollapsed']||_0x2db9fa['onClick'](_0x386da0,_0x15cab0['element']);}),_0x15cab0;}),this['listenTo'](_0x54fd9e['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x54fd9e['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x54fd9e['inlineListView']['keystrokes']['set']('Enter',(_0x14573b,_0x92b115)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x92b115());}),_0x54fd9e['render'](),_0x3ca8b2['render'](),gt({'emitter':_0x54fd9e,'activator':()=>_0x3ca8b2['isVisible'],'contextElements':[_0x3ca8b2['element'],_0x54fd9e['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x3dd4af['config']['get']('presenceList.container')['appendChild'](_0x54fd9e['element']),this['_bodyCollection']=new ft(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x54fd9e;}['_handleUserAdd'](_0x3a86b2){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x3a86b2['isMe'])return;const _0x178604=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x178604-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x48b58d=_0x3a86b2['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x3a86b2,_0x48b58d);}['_handleUserRemove'](_0x32a15e){this['usersCount']--;const {collapseAt:_0x438a54}=this['context']['config']['get']('presenceList'),_0x24003b=this['usersCount']>=_0x438a54;if(this['currentDisplayedUsers']['get'](_0x32a15e['id']))this['currentDisplayedUsers']['remove'](_0x32a15e['id']);else{if(_0x24003b&&this['currentDisplayedUsers']['length']+0x1===_0x438a54-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x24003b?0x1:0x0)<this['usersCount']){for(const _0x221088 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x221088['id'])&&(this['currentDisplayedUsers']['add'](_0x221088,Math['min'](this['currentDisplayedUsers']['length']-(_0x24003b?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x24003b?0x1:0x0)===_0x438a54-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x5b1626=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x5b1626['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x308c34}=this['presenceDropdownView'];_0x308c34['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x3ab5ab=>{if(!_0x5b1626['displayMe']&&_0x3ab5ab['isMe'])return null;const _0x503ec6=new PresenceDropdownListItemView(this['context']['locale'],_0x3ab5ab,!!_0x5b1626['onClick']);return _0x5b1626['onClick']&&this['listenTo'](_0x503ec6,'execute',()=>{_0x5b1626['onClick'](_0x3ab5ab,_0x503ec6['element']);}),_0x503ec6;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x308c34['focus'](),_0x308c34['checkIfScrollable']();const _0x17aec8=(_0x71d17c,_0xcb7ce7)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0xcb7ce7();};_0x308c34['keystrokes']['set']('Esc',_0x17aec8),_0x308c34['keystrokes']['set']('Shift+Tab',_0x17aec8),_0x308c34['keystrokes']['set']('Tab',(_0x3fa926,_0x151017)=>{!function(_0x49b1b3){const _0x56f101=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x37ea9c=>_0x37ea9c+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x275636=[...document['body']['querySelectorAll'](_0x56f101)]['filter'](_0x7a1900=>_0x7a1900===document['activeElement']||_0x7a1900['offsetWidth']+_0x7a1900['offsetHeight']>0x0)['sort']((_0x291239,_0x533708)=>(_0x291239['tabIndex']||0x0)-(_0x533708['tabIndex']||0x0)),_0x4ebf03=_0x275636['indexOf'](_0x49b1b3),_0x40c6bc=_0x275636[(_0x4ebf03+0x1)%_0x275636['length']];_0x40c6bc&&_0x40c6bc['focus']();}(this['view']['element']),this['hideDropdown'](),_0x151017();}),_0x308c34['focusTracker']['add'](this['view']['element']),_0x308c34['focusTracker']['on']('change:isFocused',(_0x4ca684,_0x4f3e8f,_0x5c13a7)=>{_0x5c13a7||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 _0x32a432{static get['requires'](){return[Sessions,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class SlashCommandConfig extends _0x7cf71c{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35b768){super(_0x35b768),this['_allowedCommands']=null;}['afterInit'](){const _0x239e12=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0xf7f751=function(_0x5984c4){let _0x3c82cc=['heading4','heading5','heading6'];if(_0x5984c4){const _0x1cff14=_0x5984c4['map'](_0x297758=>_0x297758['model']);_0x3c82cc=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x4ba771=>!_0x1cff14['includes'](_0x4ba771));}return _0x3c82cc;}(this['editor']['config']['get']('heading.options')),_0x4ed560=this['getDefaultCommands']()['filter'](_0x33bf4e=>!_0xf7f751['includes'](_0x33bf4e['id']));let _0x34e4a2=_0x4ed560['filter'](_0x305114=>!_0x239e12['includes'](_0x305114['commandName']));const _0x4df42c=this['editor']['config']['get']('slashCommand.extraCommands');_0x4df42c&&_0x4df42c['length']&&(_0x34e4a2=_0x34e4a2['concat'](_0x4df42c));const _0x54bfdf=this['editor']['config']['get']('template.definitions');_0x54bfdf&&_0x54bfdf['length']&&(_0x34e4a2=_0x34e4a2['concat'](function(_0x54b0d4){return _0x54b0d4['map'](_0x36d961=>{const {title:_0x515afd,icon:_0x3feb1e,description:_0x434532,data:_0x81cf0a}=_0x36d961,_0x104c31={'id':kv(_0x515afd,'template'),'commandName':'insertTemplate','execute':_0x899dc1=>{_0x899dc1['execute']('insertTemplate',_0x81cf0a);},'description':_0x434532,'icon':_0x3feb1e,'title':_0x515afd};return _0x3feb1e&&(_0x104c31['isIconColorInherited']=!0x1),_0x104c31;});}(_0x54bfdf)));const _0x1f3c44=this['editor']['config']['get']('style.definitions');_0x1f3c44&&_0x1f3c44['length']&&(_0x34e4a2=_0x34e4a2['concat'](function(_0x57bb4a){return _0x57bb4a['map'](_0x1059bb=>{const _0x328e17={'id':kv(_0x1059bb['name'],'style'),'commandName':'style','execute':_0x1bdf82=>{_0x1bdf82['execute']('style',{'styleName':_0x1059bb['name']});},'isEnabled':_0x403cb8=>{const _0x360da5=_0x403cb8['commands']['get']('style');return _0x360da5['isEnabled']&&_0x360da5['enabledStyles']['includes'](_0x1059bb['name']);},'title':_0x1059bb['name']};return _0x328e17;});}(_0x1f3c44)));const _0x4b654a=_0x34e4a2['filter'](_0x585fc4=>!_0x585fc4['commandName']||void 0x0!==this['editor']['commands']['get'](_0x585fc4['commandName'])),_0x5efa31=[];for(const _0x599c89 of _0x4b654a)_0x5efa31['push']({'id':_0x599c89['id'],'commandName':_0x599c89['commandName'],'title':'function'==typeof _0x599c89['title']?_0x599c89['title'](this['editor']):_0x599c89['title'],'description':_0x599c89['description'],'icon':_0x599c89['icon'],'isIconColorInherited':_0x599c89['isIconColorInherited'],'aliases':_0x599c89['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x599c89),'execute':()=>this['_proxyExecute'](_0x599c89)});this['_allowedCommands']=_0x5efa31['sort'](Cv),async function(_0x2ff809){const _0x1cb42f=_0x2e9185([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]),_0x2581db=0x305505ed,_0x5ba413=0x30528f85^_0x2581db,_0x214c00=window[_0x2e9185([0x44,0x61,0x74,0x65])][_0x2e9185([0x6e,0x6f,0x77])](),_0x1ca2ac=_0x2ff809[_0x2e9185([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x171655=new window[(_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x368c51=>{_0x1ca2ac[_0x2e9185([0x6f,0x6e,0x63,0x65])](_0x2e9185([0x72,0x65,0x61,0x64,0x79]),_0x368c51);}),_0x34da38={[_0x2e9185([0x6b,0x74,0x79])]:_0x2e9185([0x45,0x43]),[_0x2e9185([0x75,0x73,0x65])]:_0x2e9185([0x73,0x69,0x67]),[_0x2e9185([0x63,0x72,0x76])]:_0x2e9185([0x50,0x2d,0x32,0x35,0x36]),[_0x2e9185([0x78])]:_0x2e9185([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]),[_0x2e9185([0x79])]:_0x2e9185([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]),[_0x2e9185([0x61,0x6c,0x67])]:_0x2e9185([0x45,0x53,0x32,0x35,0x36])},_0x1b03b5=_0x1ca2ac[_0x2e9185([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e9185([0x67,0x65,0x74])](_0x2e9185([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38dc01(){let _0x27915d,_0x5b594c=null,_0xa4f8ca=null;try{if(_0x1b03b5==_0x2e9185([0x47,0x50,0x4c]))return _0x2e9185([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27915d=_0x5debb0(),!_0x27915d)return _0x2e9185([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27915d[_0x2e9185([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa4f8ca=_0x99615f(_0x27915d[_0x2e9185([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27915d[_0x2e9185([0x6a,0x74,0x69])])),await _0x2554ec()?_0x19a024()?_0x2509f5()?_0x2e9185([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x991fbf()?(_0x27915d[_0x2e9185([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e9185([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b594c=_0x1d4086(_0x2e9185([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x251949()):_0x2e9185([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e9185([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e9185([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e9185([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2509f5(){const _0x208dbd=[_0x2e9185([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e9185([0x74,0x72,0x69,0x61,0x6c])][_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27915d[_0x2e9185([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x214c00/0x3e8:0xe10*_0x5ba413;return _0x27915d[_0x2e9185([0x65,0x78,0x70])]<_0x208dbd;}function _0x19a024(){const _0x245752=_0x27915d[_0x2e9185([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x245752&&(!!_0x245752[_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9185([0x2a]))||(!!_0x245752[_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9185([0x53,0x43]))||(!!_0x245752[_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9185([0x50,0x50]))||!(!_0x245752[_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9185([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x265c41()))));}function _0x991fbf(){const _0x45fb7e=_0x27915d[_0x2e9185([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45fb7e||0x0==_0x45fb7e[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d5aac}=new URL(window[_0x2e9185([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45fb7e[_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d5aac))return!0x0;const _0x55e2bb=_0x5d5aac[_0x2e9185([0x73,0x70,0x6c,0x69,0x74])](_0x2e9185([0x2e]));return _0x45fb7e[_0x2e9185([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bc982=>_0x3bc982[_0x2e9185([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9185([0x2a])))[_0x2e9185([0x6d,0x61,0x70])](_0x150864=>_0x150864[_0x2e9185([0x73,0x70,0x6c,0x69,0x74])](_0x2e9185([0x2e])))[_0x2e9185([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x772477=>_0x772477[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55e2bb[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e9185([0x6d,0x61,0x70])](_0x527fe3=>Array(_0x55e2bb[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x527fe3[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e9185([0x66,0x69,0x6c,0x6c])](_0x527fe3[0x0]===_0x2e9185([0x2a])?_0x2e9185([0x2a]):'')[_0x2e9185([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x527fe3))[_0x2e9185([0x73,0x6f,0x6d,0x65])](_0x185e48=>_0x55e2bb[_0x2e9185([0x65,0x76,0x65,0x72,0x79])]((_0x289dfb,_0x57b350)=>_0x185e48[_0x57b350]===_0x289dfb||_0x185e48[_0x57b350]===_0x2e9185([0x2a])));}function _0x251949(){return _0x5b594c&&_0xa4f8ca?new window[(_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2efb20,_0x5eee1a)=>{_0x5b594c[_0x2e9185([0x74,0x68,0x65,0x6e])](_0x2efb20,_0x5eee1a),_0xa4f8ca[_0x2e9185([0x74,0x68,0x65,0x6e])](_0x5e5820=>{_0x5e5820!=_0x2e9185([0x56,0x61,0x6c,0x69,0x64])&&_0x2efb20(_0x5e5820);},_0x5eee1a);}):_0x5b594c||_0xa4f8ca||_0x2e9185([0x56,0x61,0x6c,0x69,0x64]);}}function _0x99615f(_0x1c6ca1,_0x4d2b2f){return new window[(_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d8028=>{if(_0x583dcc())return _0x3d8028(_0x2e9185([0x56,0x61,0x6c,0x69,0x64]));_0x53327d(),_0x1ca2ac[_0x2e9185([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e9185([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x394a94=!0x1;const _0x2a1329=_0x462bc0();function _0x5cf9cd(_0xa318e2){return!!_0xa318e2&&(typeof _0xa318e2===_0x2e9185([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa318e2===_0x2e9185([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa318e2[_0x2e9185([0x74,0x68,0x65,0x6e])]===_0x2e9185([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa318e2[_0x2e9185([0x63,0x61,0x74,0x63,0x68])]===_0x2e9185([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x589533(_0x179ccf){_0x1f40fa(_0x179ccf)[_0x2e9185([0x74,0x68,0x65,0x6e])](_0xdc4e8=>{if(!_0xdc4e8||_0xdc4e8[_0x2e9185([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e9185([0x6f,0x6b]))return _0x2e9185([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xaf6345(_0x4aac38(_0x2a1329+_0x4d2b2f))!=_0xdc4e8[_0x2e9185([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e9185([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e9185([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e9185([0x74,0x68,0x65,0x6e])](_0x16064e=>(_0x499d8b(),_0x16064e),()=>{const _0x334c1a=_0x958006();return null==_0x334c1a?(_0x499d8b(),_0x2e9185([0x56,0x61,0x6c,0x69,0x64])):_0x2e9185(_0x214c00-_0x334c1a>(0x145981ed^_0x2581db)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e9185([0x74,0x68,0x65,0x6e])](_0x3d8028)[_0x2e9185([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d8028(_0x2e9185([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bab7b=0x3063eb6d^_0x2581db;function _0x499d8b(){const _0x242708=_0x2e9185([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf6345(_0x4aac38(_0x1c6ca1)),_0x22b22c=_0x175539(_0xaf6345(window[_0x2e9185([0x4d,0x61,0x74,0x68])][_0x2e9185([0x63,0x65,0x69,0x6c])](_0x214c00/_0x3bab7b)));window[_0x2e9185([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e9185([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x242708,_0x22b22c);}function _0x958006(){const _0x5244d9=_0x2e9185([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf6345(_0x4aac38(_0x1c6ca1)),_0x580d11=window[_0x2e9185([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e9185([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5244d9);return _0x580d11?window[_0x2e9185([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x175539(_0x580d11),0x10)*_0x3bab7b:null;}function _0x1f40fa(_0x307f28){return new window[(_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f59c0,_0x49e4b9)=>{_0x307f28[_0x2e9185([0x74,0x68,0x65,0x6e])](_0x2f59c0,_0x49e4b9),window[_0x2e9185([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49e4b9,0x3054d12d^_0x2581db);});}}_0x1ca2ac[_0x2e9185([0x6f,0x6e])](_0x2e9185([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x157e19,_0x20ccec)=>{if(_0x20ccec[0x0]!=_0x1c6ca1)return _0x3d8028(_0x2e9185([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ccec[0x1]={..._0x20ccec[0x1],[_0x2e9185([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a1329};},{[_0x2e9185([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e9185([0x68,0x69,0x67,0x68])}),_0x1ca2ac[_0x2e9185([0x6f,0x6e])](_0x2e9185([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x163e2d=>{_0x5cf9cd(_0x163e2d[_0x2e9185([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x394a94=!0x0,_0x589533(_0x163e2d[_0x2e9185([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e9185([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e9185([0x6c,0x6f,0x77])}),_0x171655[_0x2e9185([0x74,0x68,0x65,0x6e])](()=>{_0x394a94||_0x3d8028(_0x2e9185([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x583dcc(){return _0x1ca2ac[_0x2e9185([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e9185([0x76,0x69,0x65,0x77])][_0x2e9185([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e9185([0x61,0x75,0x74,0x6f]);}function _0x53327d(){_0x1ca2ac[_0x2e9185([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e9185([0x76,0x69,0x65,0x77])][_0x2e9185([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e9185([0x61,0x75,0x74,0x6f]);}}function _0x1d4086(_0x537315){const _0x4ed33d=[new window[(_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5617bf=>setTimeout(_0x5617bf,0x305c3b21^_0x2581db)),_0x171655[_0x2e9185([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22b45d=>{let _0x1f9e7b=0x0;_0x1ca2ac[_0x2e9185([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9185([0x6f,0x6e])](_0x2e9185([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34e7cd,_0x45f0e)=>{_0x45f0e[0x0][_0x2e9185([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f9e7b++,_0x1f9e7b==(0x30550005^_0x2581db)&&(_0x22b45d(),_0x34e7cd[_0x2e9185([0x6f,0x66,0x66])]());});}))];return window[_0x2e9185([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e9185([0x72,0x61,0x63,0x65])](_0x4ed33d)[_0x2e9185([0x74,0x68,0x65,0x6e])](()=>_0x537315);}async function _0x148daf(){await _0x171655,_0x1ca2ac[_0x2e9185([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9185([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1db5f1,_0x1ca2ac[_0x2e9185([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9185([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1db5f1,_0x1ca2ac[_0x2e9185([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e9185([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x265c41(){return window[_0x2e9185([0x67,0x6c,0x6f,0x62])]&&window[_0x2e9185([0x67,0x6c,0x6f,0x62])][_0x2e9185([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x146bcf(_0x4323ae){const _0x56dea9=_0x5e9544();_0x1ca2ac[_0x56dea9]=_0x2e9185([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4323ae,_0x4323ae!=_0x2e9185([0x56,0x61,0x6c,0x69,0x64])&&_0x148daf();}function _0x5e9544(){const _0x456bd4=window[_0x2e9185([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e9185([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e9185([0x6e,0x6f,0x77])]())[_0x2e9185([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e9185([0x2e]),'');let _0x1164c8=_0x2e9185([0x75]);for(let _0xa42652=0x0;_0xa42652<_0x456bd4[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa42652+=0x2){let _0x33a4ba=window[_0x2e9185([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x456bd4[_0x2e9185([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa42652,_0xa42652+0x2));_0x33a4ba>=_0x1cb42f[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33a4ba-=_0x1cb42f[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1164c8+=_0x1cb42f[_0x33a4ba];}return _0x1164c8;}function _0x5debb0(){const _0x2942ec=_0x1b03b5[_0x2e9185([0x73,0x70,0x6c,0x69,0x74])](_0x2e9185([0x2e]));if(0x3!=_0x2942ec[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3632c2(_0x2942ec[0x1]);function _0x3632c2(_0x9b81b){const _0x588a1d=_0x24f7a7(_0x9b81b);return _0x588a1d&&_0x3247e9()?_0x588a1d:null;function _0x3247e9(){const _0x3663ec=_0x588a1d[_0x2e9185([0x6a,0x74,0x69])],_0x18789a=window[_0x2e9185([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3663ec[_0x2e9185([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3663ec[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x213dab={..._0x588a1d,[_0x2e9185([0x6a,0x74,0x69])]:_0x3663ec[_0x2e9185([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3663ec[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x213dab[_0x2e9185([0x76,0x63])],_0x4aac38(_0x213dab)==_0x18789a;}}}async function _0x2554ec(){let _0x19b093=!0x0;try{const _0x3d410f=_0x1b03b5[_0x2e9185([0x73,0x70,0x6c,0x69,0x74])](_0x2e9185([0x2e])),[_0x182855,_0x52fd23,_0x1f6f1c]=_0x3d410f;return _0x2acce9(_0x182855),await _0x95a52a(_0x182855,_0x52fd23,_0x1f6f1c),_0x19b093;}catch{return!0x1;}function _0x2acce9(_0xe4198f){const _0x22981f=_0x24f7a7(_0xe4198f);_0x22981f&&_0x22981f[_0x2e9185([0x61,0x6c,0x67])]==_0x2e9185([0x45,0x53,0x32,0x35,0x36])||(_0x19b093=!0x1);}async function _0x95a52a(_0x502307,_0x330d90,_0x2338aa){const _0x974279=window[_0x2e9185([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e9185([0x66,0x72,0x6f,0x6d])](_0x227e64(_0x2338aa),_0x4aff7a=>_0x4aff7a[_0x2e9185([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x152ef6=new window[(_0x2e9185([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e9185([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x502307+_0x2e9185([0x2e])+_0x330d90),_0x4804b5=window[_0x2e9185([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e9185([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4804b5)return;const _0x19b222=await _0x4804b5[_0x2e9185([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e9185([0x6a,0x77,0x6b]),_0x34da38,{[_0x2e9185([0x6e,0x61,0x6d,0x65])]:_0x2e9185([0x45,0x43,0x44,0x53,0x41]),[_0x2e9185([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e9185([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e9185([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4804b5[_0x2e9185([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e9185([0x6e,0x61,0x6d,0x65])]:_0x2e9185([0x45,0x43,0x44,0x53,0x41]),[_0x2e9185([0x68,0x61,0x73,0x68])]:{[_0x2e9185([0x6e,0x61,0x6d,0x65])]:_0x2e9185([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19b222,_0x974279,_0x152ef6)||(_0x19b093=!0x1);}}function _0x24f7a7(_0x4983f3){return _0x4983f3[_0x2e9185([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e9185([0x65,0x79]))?JSON[_0x2e9185([0x70,0x61,0x72,0x73,0x65])](_0x227e64(_0x4983f3)):null;}function _0x227e64(_0x535784){return window[_0x2e9185([0x61,0x74,0x6f,0x62])](_0x535784[_0x2e9185([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e9185([0x2b]))[_0x2e9185([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e9185([0x2f])));}function _0x4aac38(_0x27ad8c){let _0x37cd35=0x1505;function _0x4ce655(_0x1da8cd){for(let _0x53d581=0x0;_0x53d581<_0x1da8cd[_0x2e9185([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53d581++){const _0x2dab67=_0x1da8cd[_0x2e9185([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53d581);_0x37cd35=(_0x37cd35<<0x5)+_0x37cd35+_0x2dab67,_0x37cd35&=_0x37cd35;}}function _0x33300c(_0x47c4a4){Array[_0x2e9185([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47c4a4)?_0x47c4a4[_0x2e9185([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33300c):_0x47c4a4&&typeof _0x47c4a4==_0x2e9185([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e9185([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47c4a4)[_0x2e9185([0x73,0x6f,0x72,0x74])]()[_0x2e9185([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19202,_0x36e3e5])=>{_0x4ce655(_0x19202),_0x33300c(_0x36e3e5);}):_0x4ce655(window[_0x2e9185([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47c4a4));}return _0x33300c(_0x27ad8c),_0x37cd35>>>0x0;}function _0xaf6345(_0x5962df){return _0x5962df[_0x2e9185([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e9185([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e9185([0x30]));}function _0x175539(_0x1ac4b9){return _0x1ac4b9[_0x2e9185([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e9185([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e9185([0x6a,0x6f,0x69,0x6e])]('');}function _0x1db5f1(){}function _0x2e9185(_0xa7ae2c){return _0xa7ae2c['map'](_0x4732fa=>String['fromCharCode'](_0x4732fa))['join']('');}_0x146bcf(await _0x38dc01());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2366b5=_0x1996e7=>function(_0x4b2933,_0x4558c9){const t=_0x4b2933['t'],_0x42ca45=_0x4b2933['t'];switch(_0x4558c9){case'AI\x20Assistant':return _0x42ca45('AI\x20Assistant');case'Block\x20quote':return _0x42ca45('Block\x20quote');case'Bulleted\x20List':return _0x42ca45('Bulleted\x20List');case'Insert\x20code\x20block':return _0x42ca45('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x42ca45('Open\x20file\x20manager');case'Insert\x20image':return _0x42ca45('Insert\x20image');case'Heading\x201':return _0x42ca45('Heading\x201');case'Heading\x202':return _0x42ca45('Heading\x202');case'Heading\x203':return _0x42ca45('Heading\x203');case'Heading\x204':return _0x42ca45('Heading\x204');case'Heading\x205':return _0x42ca45('Heading\x205');case'Heading\x206':return _0x42ca45('Heading\x206');case'Horizontal\x20line':return _0x42ca45('Horizontal\x20line');case'Insert\x20HTML':return _0x42ca45('Insert\x20HTML');case'Increase\x20indent':return _0x42ca45('Increase\x20indent');case'Insert\x20table':return _0x42ca45('Insert\x20table');case'Table\x20of\x20contents':return _0x42ca45('Table\x20of\x20contents');case'Numbered\x20List':return _0x42ca45('Numbered\x20List');case'Decrease\x20indent':return _0x42ca45('Decrease\x20indent');case'Paragraph':return _0x42ca45('Paragraph');case'To-do\x20List':return _0x42ca45('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 _0x4558c9;}}(this['editor']['locale'],_0x1996e7);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0xbfac00,'title':_0x2366b5('AI\x20Assistant'),'description':_0x2366b5('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x11c283=>{setTimeout(()=>_0x11c283['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x560bd3,'title':_0x2366b5('Block\x20quote'),'description':_0x2366b5('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x546709,'title':_0x2366b5('Bulleted\x20List'),'description':_0x2366b5('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x29f181,'title':_0x2366b5('Insert\x20code\x20block'),'description':_0x2366b5('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x54f1b2,'title':_0x2366b5('Open\x20file\x20manager'),'description':_0x2366b5('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x54f1b2,'title':_0x2366b5('Insert\x20image'),'description':_0x2366b5('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x1c23d9,'title':_0x2366b5('Emoji'),'description':_0x2366b5('Insert\x20an\x20emoji'),'execute':_0x27e771=>{setTimeout(()=>_0x27e771['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x41de7d,'title':_0x2366b5('Heading\x201'),'description':_0x2366b5('Create\x20a\x20heading\x20level\x201'),'execute':_0x3655d9=>{_0x3655d9['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x4e59a7,'title':_0x2366b5('Heading\x202'),'description':_0x2366b5('Create\x20a\x20heading\x20level\x202'),'execute':_0x1a8ecf=>{_0x1a8ecf['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x33860b,'title':_0x2366b5('Heading\x203'),'description':_0x2366b5('Create\x20a\x20heading\x20level\x203'),'execute':_0x34a267=>{_0x34a267['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x2fdda8,'title':_0x2366b5('Heading\x204'),'description':_0x2366b5('Create\x20a\x20heading\x20level\x204'),'execute':_0x49da1c=>{_0x49da1c['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x447287,'title':_0x2366b5('Heading\x205'),'description':_0x2366b5('Create\x20a\x20heading\x20level\x205'),'execute':_0x55db0a=>{_0x55db0a['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x40d83e,'title':_0x2366b5('Heading\x206'),'description':_0x2366b5('Create\x20a\x20heading\x20level\x206'),'execute':_0x3b39c1=>{_0x3b39c1['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x234ee6,'title':_0x2366b5('Horizontal\x20line'),'description':_0x2366b5('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x4feca7,'title':_0x2366b5('Insert\x20HTML'),'description':_0x2366b5('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x42288a,'title':_0x2366b5('Increase\x20indent'),'description':_0x2366b5('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2366b5('Insert\x20Mermaid\x20diagram'),'description':_0x2366b5('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x330098,'title':_0x2366b5('Insert\x20table'),'description':_0x2366b5('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x4d082c,'title':_0x2366b5('Table\x20of\x20contents'),'description':_0x2366b5('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x55877e,'title':_0x2366b5('Numbered\x20List'),'description':_0x2366b5('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x2c3365,'title':_0x2366b5('Decrease\x20indent'),'description':_0x2366b5('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x2c56f7,'title':_0x2366b5('Paragraph'),'description':_0x2366b5('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x233159,'title':_0x2366b5('To-do\x20List'),'description':_0x2366b5('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x134512,'title':_0x2366b5('Footnote'),'description':_0x2366b5('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x478c1f){return _0x478c1f['isEnabled']?_0x478c1f['isEnabled'](this['editor']):!_0x478c1f['commandName']||this['editor']['commands']['get'](_0x478c1f['commandName'])['isEnabled'];}['_proxyExecute'](_0x4720a0){if(_0x4720a0['execute'])_0x4720a0['execute'](this['editor']);else{if(!_0x4720a0['commandName'])throw new _0x3ae0e8('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x4720a0});this['editor']['execute'](_0x4720a0['commandName']);}}}function Cv(_0x5e3b77,_0x2b770b){return _0x5e3b77['title']<_0x2b770b['title']?-0x1:_0x5e3b77['title']>_0x2b770b['title']?0x1:0x0;}function kv(_0x6c5f53,_0x420e31){return _0x420e31+'-'+_0x6c5f53['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x7cf71c{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SlashCommandConfig];}['getMatchingCommands'](_0x3033ca){const _0x396dd7=_0x3033ca&&_0x3033ca['toLowerCase']();let _0x2270c0=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x2270c0=_0x2270c0['filter'](_0x321673=>_0x321673['isEnabled']()),_0x396dd7){const _0x48b7b5=[],_0x540a49=[],_0x2a6703=[],_0x360109=[];for(const _0x1ceec9 of _0x2270c0)_0x1ceec9['id']['toLowerCase']()['includes'](_0x396dd7)?_0x48b7b5['push'](_0x1ceec9):_0x1ceec9['title']['toLowerCase']()['includes'](_0x396dd7)?_0x540a49['push'](_0x1ceec9):_0x1ceec9['aliases']&&_0x1ceec9['aliases']['some'](_0x178112=>_0x178112['toLowerCase']()['includes'](_0x396dd7))?_0x2a6703['push'](_0x1ceec9):_0x1ceec9['description']&&_0x1ceec9['description']['toLowerCase']()['includes'](_0x396dd7)&&_0x360109['push'](_0x1ceec9);_0x2270c0=_0x48b7b5['concat'](_0x540a49,_0x2a6703,_0x360109);}return _0x2270c0;}}class SlashCommandButtonView extends _0x1a631f{constructor(_0xc25996,_0xd95db3){super(_0xc25996),this['textPartView']=this['_createTextPartView'](_0xc25996,_0xd95db3),void 0x0!==_0xd95db3['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0xd95db3['isIconColorInherited']),this['set']({'icon':_0xd95db3['icon']||_0x5e568f,'withText':!0x0,'label':_0xd95db3['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x2d8b5a,_0xc90de6){const _0x1a1b3c=new _0x278baa(_0x2d8b5a);return _0x1a1b3c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0xc90de6['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0xc90de6['description']}]}]:[this['labelView']]}),_0x1a1b3c;}}class SlashCommandUI extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x46453f){super(_0x46453f),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x174399=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x173e8a;for(const _0x11ff04 in _0x174399){const _0x32e9b8=_0x11ff04,_0x4526b8=_0x174399[_0x32e9b8];if('slashCommandLicenseKeyValid'==_0x4526b8||'slashCommandLicenseKeyInvalid'==_0x4526b8||'slashCommandLicenseKeyExpired'==_0x4526b8||'slashCommandLicenseKeyDomainLimit'==_0x4526b8||'slashCommandLicenseKeyNotAllowed'==_0x4526b8||'slashCommandLicenseKeyEvaluationLimit'==_0x4526b8||'slashCommandLicenseKeyUsageLimit'==_0x4526b8){delete _0x174399[_0x32e9b8],_0x173e8a=_0x4526b8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x173e8a&&_0x174399['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x173e8a&&_0x174399['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x173e8a&&_0x174399['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x173e8a&&_0x174399['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x173e8a&&_0x174399['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x173e8a&&_0x174399['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x6dd989=this['editor'],_0x43ee84=this['editor']['plugins']['get']('SlashCommandEditing'),_0x58fe03=_0x6dd989['config']['get']('mention.feeds');_0x58fe03['push']({'marker':'/','feed':_0x1efbfa=>_0x43ee84['getMatchingCommands'](_0x1efbfa),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x6dd989['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x6dd989['config']['set']('mention.feeds',_0x58fe03);}['_overrideMentionExecuteListener'](){const _0x33e157=this['editor'];_0x33e157['commands']['get']('mention')['on']('execute',(_0x2f4d1c,_0x49fc15)=>{const _0xc2d5d6=_0x49fc15[0x0],_0x5aea33=_0x33e157['model'];'/'===_0xc2d5d6['marker']&&_0x5aea33['change'](_0x356309=>{_0x356309['remove'](_0xc2d5d6['range']),_0xc2d5d6['mention']['execute'](),_0x2f4d1c['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x57f62e){const _0x2077be=this['editor']['locale'],_0x383d7b=new SlashCommandButtonView(_0x2077be,_0x57f62e);return _0x383d7b['render'](),_0x383d7b['element'];}}class SlashCommand extends _0x7cf71c{static get['requires'](){return[_0x2d70b0,SlashCommandEditing,SlashCommandUI];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function xv(_0x362ec2,_0x28d7f7){const t=_0x362ec2['t'];switch(_0x28d7f7){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 _0x28d7f7;}}function Rv(_0x5d3ea2){const _0x3f25ef=_0x5d3ea2['editing']['view']['document']['roots'],_0x72a6f2=_0x3f25ef['length'];if(0x0===_0x72a6f2)throw new _0x3ae0e8('source-editing-enhanced-editor-no-root',_0x5d3ea2);if(0x1===_0x72a6f2)return _0x3f25ef['first']['rootName'];return Array['from'](_0x5d3ea2['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function Pv(_0x5a031e){return Mv(_0x5a031e['replace'](/^[\n\s]*/g,''))?_0x5a031e['replace'](/\s+/g,''):_0x5a031e;}function Mv(_0x1c26f7){return _0x1c26f7['startsWith']('<');}let Nv=[],Lv=[];function $v(_0x173a36){if(_0x173a36<0x300)return!0x1;for(let _0x3e6c39=0x0,_0x56cbf0=Nv['length'];;){let _0x2e83e2=_0x3e6c39+_0x56cbf0>>0x1;if(_0x173a36<Nv[_0x2e83e2])_0x56cbf0=_0x2e83e2;else{if(!(_0x173a36>=Lv[_0x2e83e2]))return!0x0;_0x3e6c39=_0x2e83e2+0x1;}if(_0x3e6c39==_0x56cbf0)return!0x1;}}function Dv(_0x58a0de){return _0x58a0de>=0x1f1e6&&_0x58a0de<=0x1f1ff;}((()=>{let _0x11cd1b='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'](_0x3b06f9=>_0x3b06f9?parseInt(_0x3b06f9,0x24):0x1);for(let _0x542705=0x0,_0x52a3d6=0x0;_0x542705<_0x11cd1b['length'];_0x542705++)(_0x542705%0x2?Lv:Nv)['push'](_0x52a3d6+=_0x11cd1b[_0x542705]);})());function Qv(_0x5175a7,_0x4aedc5,_0x2309b8=!0x0,_0x5ef845=!0x0){return(_0x2309b8?Vv:Uv)(_0x5175a7,_0x4aedc5,_0x5ef845);}function Vv(_0x29edfd,_0x3f0a3b,_0x188680){if(_0x3f0a3b==_0x29edfd['length'])return _0x3f0a3b;_0x3f0a3b&&jv(_0x29edfd['charCodeAt'](_0x3f0a3b))&&Fv(_0x29edfd['charCodeAt'](_0x3f0a3b-0x1))&&_0x3f0a3b--;let _0x1caa0d=Bv(_0x29edfd,_0x3f0a3b);for(_0x3f0a3b+=Hv(_0x1caa0d);_0x3f0a3b<_0x29edfd['length'];){let _0x69c388=Bv(_0x29edfd,_0x3f0a3b);if(0x200d==_0x1caa0d||0x200d==_0x69c388||_0x188680&&$v(_0x69c388))_0x3f0a3b+=Hv(_0x69c388),_0x1caa0d=_0x69c388;else{if(!Dv(_0x69c388))break;{let _0x42d7ce=0x0,_0x125e20=_0x3f0a3b-0x2;for(;_0x125e20>=0x0&&Dv(Bv(_0x29edfd,_0x125e20));)_0x42d7ce++,_0x125e20-=0x2;if(_0x42d7ce%0x2==0x0)break;_0x3f0a3b+=0x2;}}}return _0x3f0a3b;}function Uv(_0x5745eb,_0x22719d,_0x5ddef5){for(;_0x22719d>0x0;){let _0x3b6eb7=Vv(_0x5745eb,_0x22719d-0x2,_0x5ddef5);if(_0x3b6eb7<_0x22719d)return _0x3b6eb7;_0x22719d--;}return 0x0;}function Bv(_0x38eae0,_0x2c3926){let _0x3128f0=_0x38eae0['charCodeAt'](_0x2c3926);if(!Fv(_0x3128f0)||_0x2c3926+0x1==_0x38eae0['length'])return _0x3128f0;let _0x508610=_0x38eae0['charCodeAt'](_0x2c3926+0x1);return jv(_0x508610)?_0x508610-0xdc00+(_0x3128f0-0xd800<<0xa)+0x10000:_0x3128f0;}function jv(_0x831169){return _0x831169>=0xdc00&&_0x831169<0xe000;}function Fv(_0x616062){return _0x616062>=0xd800&&_0x616062<0xdc00;}function Hv(_0x4796bf){return _0x4796bf<0x10000?0x1:0x2;}let Gv=class Text{['lineAt'](_0x13c09a){if(_0x13c09a<0x0||_0x13c09a>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x13c09a+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x13c09a,!0x1,0x1,0x0);}['line'](_0xb325cb){if(_0xb325cb<0x1||_0xb325cb>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0xb325cb+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0xb325cb,!0x0,0x1,0x0);}['replace'](_0x4b2cbd,_0x25b6fb,_0x53d724){[_0x4b2cbd,_0x25b6fb]=Wv(this,_0x4b2cbd,_0x25b6fb);let _0x5703a8=[];return this['decompose'](0x0,_0x4b2cbd,_0x5703a8,0x2),_0x53d724['length']&&_0x53d724['decompose'](0x0,_0x53d724['length'],_0x5703a8,0x3),this['decompose'](_0x25b6fb,this['length'],_0x5703a8,0x1),TextNode['from'](_0x5703a8,this['length']-(_0x25b6fb-_0x4b2cbd)+_0x53d724['length']);}['append'](_0x3c0958){return this['replace'](this['length'],this['length'],_0x3c0958);}['slice'](_0x5984ed,_0x1b83d6=this['length']){[_0x5984ed,_0x1b83d6]=Wv(this,_0x5984ed,_0x1b83d6);let _0xe69ae7=[];return this['decompose'](_0x5984ed,_0x1b83d6,_0xe69ae7,0x0),TextNode['from'](_0xe69ae7,_0x1b83d6-_0x5984ed);}['eq'](_0x16e446){if(_0x16e446==this)return!0x0;if(_0x16e446['length']!=this['length']||_0x16e446['lines']!=this['lines'])return!0x1;let _0x6b884b=this['scanIdentical'](_0x16e446,0x1),_0x7e0d94=this['length']-this['scanIdentical'](_0x16e446,-0x1),_0x12648f=new RawTextCursor(this),_0x395476=new RawTextCursor(_0x16e446);for(let _0x33bd92=_0x6b884b,_0x142c15=_0x6b884b;;){if(_0x12648f['next'](_0x33bd92),_0x395476['next'](_0x33bd92),_0x33bd92=0x0,_0x12648f['lineBreak']!=_0x395476['lineBreak']||_0x12648f['done']!=_0x395476['done']||_0x12648f['value']!=_0x395476['value'])return!0x1;if(_0x142c15+=_0x12648f['value']['length'],_0x12648f['done']||_0x142c15>=_0x7e0d94)return!0x0;}}['iter'](_0x2c54ca=0x1){return new RawTextCursor(this,_0x2c54ca);}['iterRange'](_0x2832ec,_0xd2f589=this['length']){return new PartialTextCursor(this,_0x2832ec,_0xd2f589);}['iterLines'](_0x285988,_0x51fbdb){let _0x5f4a99;if(null==_0x285988)_0x5f4a99=this['iter']();else{null==_0x51fbdb&&(_0x51fbdb=this['lines']+0x1);let _0xf9d67e=this['line'](_0x285988)['from'];_0x5f4a99=this['iterRange'](_0xf9d67e,Math['max'](_0xf9d67e,_0x51fbdb==this['lines']+0x1?this['length']:_0x51fbdb<=0x1?0x0:this['line'](_0x51fbdb-0x1)['to']));}return new LineCursor(_0x5f4a99);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x599d14=[];return this['flatten'](_0x599d14),_0x599d14;}constructor(){}static['of'](_0x280ea2){if(0x0==_0x280ea2['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x280ea2['length']||_0x280ea2[0x0]?_0x280ea2['length']<=0x20?new TextLeaf(_0x280ea2):TextNode['from'](TextLeaf['split'](_0x280ea2,[])):Text['empty'];}};class TextLeaf extends Gv{constructor(_0x734910,_0x4d4a72=function(_0x44d2ba){let _0x347096=-0x1;for(let _0x3b64b8 of _0x44d2ba)_0x347096+=_0x3b64b8['length']+0x1;return _0x347096;}(_0x734910)){super(),this['text']=_0x734910,this['length']=_0x4d4a72;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x4e340e,_0x4deb79,_0x462cc4,_0x58d88e){for(let _0x56e8fc=0x0;;_0x56e8fc++){let _0x5a712a=this['text'][_0x56e8fc],_0x547f6d=_0x58d88e+_0x5a712a['length'];if((_0x4deb79?_0x462cc4:_0x547f6d)>=_0x4e340e)return new qv(_0x58d88e,_0x547f6d,_0x462cc4,_0x5a712a);_0x58d88e=_0x547f6d+0x1,_0x462cc4++;}}['decompose'](_0x17c6e5,_0x540ae7,_0x3f2b1b,_0x1659de){let _0x35df21=_0x17c6e5<=0x0&&_0x540ae7>=this['length']?this:new TextLeaf(Xv(this['text'],_0x17c6e5,_0x540ae7),Math['min'](_0x540ae7,this['length'])-Math['max'](0x0,_0x17c6e5));if(0x1&_0x1659de){let _0x269f87=_0x3f2b1b['pop'](),_0x1a8591=Zv(_0x35df21['text'],_0x269f87['text']['slice'](),0x0,_0x35df21['length']);if(_0x1a8591['length']<=0x20)_0x3f2b1b['push'](new TextLeaf(_0x1a8591,_0x269f87['length']+_0x35df21['length']));else{let _0x540475=_0x1a8591['length']>>0x1;_0x3f2b1b['push'](new TextLeaf(_0x1a8591['slice'](0x0,_0x540475)),new TextLeaf(_0x1a8591['slice'](_0x540475)));}}else _0x3f2b1b['push'](_0x35df21);}['replace'](_0x230bb9,_0x25cb2a,_0x57780f){if(!(_0x57780f instanceof TextLeaf))return super['replace'](_0x230bb9,_0x25cb2a,_0x57780f);[_0x230bb9,_0x25cb2a]=Wv(this,_0x230bb9,_0x25cb2a);let _0x193be9=Zv(this['text'],Zv(_0x57780f['text'],Xv(this['text'],0x0,_0x230bb9)),_0x25cb2a),_0x460a43=this['length']+_0x57780f['length']-(_0x25cb2a-_0x230bb9);return _0x193be9['length']<=0x20?new TextLeaf(_0x193be9,_0x460a43):TextNode['from'](TextLeaf['split'](_0x193be9,[]),_0x460a43);}['sliceString'](_0x18b88c,_0x2a6856=this['length'],_0x11f21b='\x0a'){[_0x18b88c,_0x2a6856]=Wv(this,_0x18b88c,_0x2a6856);let _0x4a766e='';for(let _0x584b5f=0x0,_0x3527e2=0x0;_0x584b5f<=_0x2a6856&&_0x3527e2<this['text']['length'];_0x3527e2++){let _0x522239=this['text'][_0x3527e2],_0x6edc25=_0x584b5f+_0x522239['length'];_0x584b5f>_0x18b88c&&_0x3527e2&&(_0x4a766e+=_0x11f21b),_0x18b88c<_0x6edc25&&_0x2a6856>_0x584b5f&&(_0x4a766e+=_0x522239['slice'](Math['max'](0x0,_0x18b88c-_0x584b5f),_0x2a6856-_0x584b5f)),_0x584b5f=_0x6edc25+0x1;}return _0x4a766e;}['flatten'](_0x21f45b){for(let _0x1a2575 of this['text'])_0x21f45b['push'](_0x1a2575);}['scanIdentical'](){return 0x0;}static['split'](_0x5cad8a,_0x3b7c86){let _0x21583=[],_0x2e273d=-0x1;for(let _0x29caae of _0x5cad8a)_0x21583['push'](_0x29caae),_0x2e273d+=_0x29caae['length']+0x1,0x20==_0x21583['length']&&(_0x3b7c86['push'](new TextLeaf(_0x21583,_0x2e273d)),_0x21583=[],_0x2e273d=-0x1);return _0x2e273d>-0x1&&_0x3b7c86['push'](new TextLeaf(_0x21583,_0x2e273d)),_0x3b7c86;}}class TextNode extends Gv{constructor(_0x18df2b,_0x3841fe){super(),this['children']=_0x18df2b,this['length']=_0x3841fe,this['lines']=0x0;for(let _0x1d7a79 of _0x18df2b)this['lines']+=_0x1d7a79['lines'];}['lineInner'](_0x42e6cc,_0xcc1448,_0x31bba0,_0x1274ea){for(let _0x5e9ce1=0x0;;_0x5e9ce1++){let _0x3beb31=this['children'][_0x5e9ce1],_0x30ff66=_0x1274ea+_0x3beb31['length'],_0x23f3bb=_0x31bba0+_0x3beb31['lines']-0x1;if((_0xcc1448?_0x23f3bb:_0x30ff66)>=_0x42e6cc)return _0x3beb31['lineInner'](_0x42e6cc,_0xcc1448,_0x31bba0,_0x1274ea);_0x1274ea=_0x30ff66+0x1,_0x31bba0=_0x23f3bb+0x1;}}['decompose'](_0xa06a31,_0x3dafbb,_0x52518c,_0x32025a){for(let _0x201d0e=0x0,_0x586407=0x0;_0x586407<=_0x3dafbb&&_0x201d0e<this['children']['length'];_0x201d0e++){let _0x3acd56=this['children'][_0x201d0e],_0x297861=_0x586407+_0x3acd56['length'];if(_0xa06a31<=_0x297861&&_0x3dafbb>=_0x586407){let _0x49424d=_0x32025a&((_0x586407<=_0xa06a31?0x1:0x0)|(_0x297861>=_0x3dafbb?0x2:0x0));_0x586407>=_0xa06a31&&_0x297861<=_0x3dafbb&&!_0x49424d?_0x52518c['push'](_0x3acd56):_0x3acd56['decompose'](_0xa06a31-_0x586407,_0x3dafbb-_0x586407,_0x52518c,_0x49424d);}_0x586407=_0x297861+0x1;}}['replace'](_0x452e42,_0x2121d7,_0x88236f){if([_0x452e42,_0x2121d7]=Wv(this,_0x452e42,_0x2121d7),_0x88236f['lines']<this['lines'])for(let _0x135c2c=0x0,_0x4b989b=0x0;_0x135c2c<this['children']['length'];_0x135c2c++){let _0x266e08=this['children'][_0x135c2c],_0x1b45db=_0x4b989b+_0x266e08['length'];if(_0x452e42>=_0x4b989b&&_0x2121d7<=_0x1b45db){let _0x2a56ad=_0x266e08['replace'](_0x452e42-_0x4b989b,_0x2121d7-_0x4b989b,_0x88236f),_0x31c2fb=this['lines']-_0x266e08['lines']+_0x2a56ad['lines'];if(_0x2a56ad['lines']<_0x31c2fb>>0x4&&_0x2a56ad['lines']>_0x31c2fb>>0x6){let _0xba08b7=this['children']['slice']();return _0xba08b7[_0x135c2c]=_0x2a56ad,new TextNode(_0xba08b7,this['length']-(_0x2121d7-_0x452e42)+_0x88236f['length']);}return super['replace'](_0x4b989b,_0x1b45db,_0x2a56ad);}_0x4b989b=_0x1b45db+0x1;}return super['replace'](_0x452e42,_0x2121d7,_0x88236f);}['sliceString'](_0x371b60,_0x3dce94=this['length'],_0x37e759='\x0a'){[_0x371b60,_0x3dce94]=Wv(this,_0x371b60,_0x3dce94);let _0x37e878='';for(let _0x5a003e=0x0,_0x4c399a=0x0;_0x5a003e<this['children']['length']&&_0x4c399a<=_0x3dce94;_0x5a003e++){let _0x1ed788=this['children'][_0x5a003e],_0xdf38cc=_0x4c399a+_0x1ed788['length'];_0x4c399a>_0x371b60&&_0x5a003e&&(_0x37e878+=_0x37e759),_0x371b60<_0xdf38cc&&_0x3dce94>_0x4c399a&&(_0x37e878+=_0x1ed788['sliceString'](_0x371b60-_0x4c399a,_0x3dce94-_0x4c399a,_0x37e759)),_0x4c399a=_0xdf38cc+0x1;}return _0x37e878;}['flatten'](_0x8bca0f){for(let _0x296738 of this['children'])_0x296738['flatten'](_0x8bca0f);}['scanIdentical'](_0x5ef22b,_0x15a9ca){if(!(_0x5ef22b instanceof TextNode))return 0x0;let _0x387577=0x0,[_0x5c2ae9,_0x5be194,_0x294919,_0x3181f5]=_0x15a9ca>0x0?[0x0,0x0,this['children']['length'],_0x5ef22b['children']['length']]:[this['children']['length']-0x1,_0x5ef22b['children']['length']-0x1,-0x1,-0x1];for(;;_0x5c2ae9+=_0x15a9ca,_0x5be194+=_0x15a9ca){if(_0x5c2ae9==_0x294919||_0x5be194==_0x3181f5)return _0x387577;let _0x2367ff=this['children'][_0x5c2ae9],_0x17c944=_0x5ef22b['children'][_0x5be194];if(_0x2367ff!=_0x17c944)return _0x387577+_0x2367ff['scanIdentical'](_0x17c944,_0x15a9ca);_0x387577+=_0x2367ff['length']+0x1;}}static['from'](_0x3c5533,_0x57d532=_0x3c5533['reduce']((_0x4327ab,_0x450969)=>_0x4327ab+_0x450969['length']+0x1,-0x1)){let _0x3031ce=0x0;for(let _0x68ecba of _0x3c5533)_0x3031ce+=_0x68ecba['lines'];if(_0x3031ce<0x20){let _0xa61125=[];for(let _0x4a08d5 of _0x3c5533)_0x4a08d5['flatten'](_0xa61125);return new TextLeaf(_0xa61125,_0x57d532);}let _0x58ae2a=Math['max'](0x20,_0x3031ce>>0x5),_0xb29064=_0x58ae2a<<0x1,_0x4c8ecf=_0x58ae2a>>0x1,_0x4ef7f7=[],_0x409b42=0x0,_0x22ce63=-0x1,_0x4bb940=[];function _0x55e521(_0x3f222f){let _0x2c2a57;if(_0x3f222f['lines']>_0xb29064&&_0x3f222f instanceof TextNode){for(let _0x3e63b3 of _0x3f222f['children'])_0x55e521(_0x3e63b3);}else _0x3f222f['lines']>_0x4c8ecf&&(_0x409b42>_0x4c8ecf||!_0x409b42)?(_0x50f1d6(),_0x4ef7f7['push'](_0x3f222f)):_0x3f222f instanceof TextLeaf&&_0x409b42&&(_0x2c2a57=_0x4bb940[_0x4bb940['length']-0x1])instanceof TextLeaf&&_0x3f222f['lines']+_0x2c2a57['lines']<=0x20?(_0x409b42+=_0x3f222f['lines'],_0x22ce63+=_0x3f222f['length']+0x1,_0x4bb940[_0x4bb940['length']-0x1]=new TextLeaf(_0x2c2a57['text']['concat'](_0x3f222f['text']),_0x2c2a57['length']+0x1+_0x3f222f['length'])):(_0x409b42+_0x3f222f['lines']>_0x58ae2a&&_0x50f1d6(),_0x409b42+=_0x3f222f['lines'],_0x22ce63+=_0x3f222f['length']+0x1,_0x4bb940['push'](_0x3f222f));}function _0x50f1d6(){0x0!=_0x409b42&&(_0x4ef7f7['push'](0x1==_0x4bb940['length']?_0x4bb940[0x0]:TextNode['from'](_0x4bb940,_0x22ce63)),_0x22ce63=-0x1,_0x409b42=_0x4bb940['length']=0x0);}for(let _0x55b228 of _0x3c5533)_0x55e521(_0x55b228);return _0x50f1d6(),0x1==_0x4ef7f7['length']?_0x4ef7f7[0x0]:new TextNode(_0x4ef7f7,_0x57d532);}}function Zv(_0x57f185,_0x420907,_0x4e435a=0x0,_0x112f0e=0x3b9aca00){for(let _0xe854c6=0x0,_0x10e469=0x0,_0x475ad2=!0x0;_0x10e469<_0x57f185['length']&&_0xe854c6<=_0x112f0e;_0x10e469++){let _0x1dbb0e=_0x57f185[_0x10e469],_0x3b46f8=_0xe854c6+_0x1dbb0e['length'];_0x3b46f8>=_0x4e435a&&(_0x3b46f8>_0x112f0e&&(_0x1dbb0e=_0x1dbb0e['slice'](0x0,_0x112f0e-_0xe854c6)),_0xe854c6<_0x4e435a&&(_0x1dbb0e=_0x1dbb0e['slice'](_0x4e435a-_0xe854c6)),_0x475ad2?(_0x420907[_0x420907['length']-0x1]+=_0x1dbb0e,_0x475ad2=!0x1):_0x420907['push'](_0x1dbb0e)),_0xe854c6=_0x3b46f8+0x1;}return _0x420907;}function Xv(_0x34f2f4,_0x5c9023,_0x6999a8){return Zv(_0x34f2f4,[''],_0x5c9023,_0x6999a8);}Gv['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x448443,_0x475359=0x1){this['dir']=_0x475359,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x448443],this['offsets']=[_0x475359>0x0?0x1:(_0x448443 instanceof TextLeaf?_0x448443['text']['length']:_0x448443['children']['length'])<<0x1];}['nextInner'](_0x5651f9,_0x457c64){for(this['done']=this['lineBreak']=!0x1;;){let _0x35d7f6=this['nodes']['length']-0x1,_0x2f0143=this['nodes'][_0x35d7f6],_0x191580=this['offsets'][_0x35d7f6],_0x106394=_0x191580>>0x1,_0x1342a9=_0x2f0143 instanceof TextLeaf?_0x2f0143['text']['length']:_0x2f0143['children']['length'];if(_0x106394==(_0x457c64>0x0?_0x1342a9:0x0)){if(0x0==_0x35d7f6)return this['done']=!0x0,this['value']='',this;_0x457c64>0x0&&this['offsets'][_0x35d7f6-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x191580)==(_0x457c64>0x0?0x0:0x1)){if(this['offsets'][_0x35d7f6]+=_0x457c64,0x0==_0x5651f9)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x5651f9--;}else{if(_0x2f0143 instanceof TextLeaf){let _0xcdd93=_0x2f0143['text'][_0x106394+(_0x457c64<0x0?-0x1:0x0)];if(this['offsets'][_0x35d7f6]+=_0x457c64,_0xcdd93['length']>Math['max'](0x0,_0x5651f9))return this['value']=0x0==_0x5651f9?_0xcdd93:_0x457c64>0x0?_0xcdd93['slice'](_0x5651f9):_0xcdd93['slice'](0x0,_0xcdd93['length']-_0x5651f9),this;_0x5651f9-=_0xcdd93['length'];}else{let _0x3302ae=_0x2f0143['children'][_0x106394+(_0x457c64<0x0?-0x1:0x0)];_0x5651f9>_0x3302ae['length']?(_0x5651f9-=_0x3302ae['length'],this['offsets'][_0x35d7f6]+=_0x457c64):(_0x457c64<0x0&&this['offsets'][_0x35d7f6]--,this['nodes']['push'](_0x3302ae),this['offsets']['push'](_0x457c64>0x0?0x1:(_0x3302ae instanceof TextLeaf?_0x3302ae['text']['length']:_0x3302ae['children']['length'])<<0x1));}}}}}['next'](_0x4c88dd=0x0){return _0x4c88dd<0x0&&(this['nextInner'](-_0x4c88dd,-this['dir']),_0x4c88dd=this['value']['length']),this['nextInner'](_0x4c88dd,this['dir']);}}class PartialTextCursor{constructor(_0xe4d3e5,_0x5928b7,_0x34e0e3){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0xe4d3e5,_0x5928b7>_0x34e0e3?-0x1:0x1),this['pos']=_0x5928b7>_0x34e0e3?_0xe4d3e5['length']:0x0,this['from']=Math['min'](_0x5928b7,_0x34e0e3),this['to']=Math['max'](_0x5928b7,_0x34e0e3);}['nextInner'](_0x12b4c0,_0x1e2072){if(_0x1e2072<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x12b4c0+=Math['max'](0x0,_0x1e2072<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x267591=_0x1e2072<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x12b4c0>_0x267591&&(_0x12b4c0=_0x267591),_0x267591-=_0x12b4c0;let {value:_0x2b8f9c}=this['cursor']['next'](_0x12b4c0);return this['pos']+=(_0x2b8f9c['length']+_0x12b4c0)*_0x1e2072,this['value']=_0x2b8f9c['length']<=_0x267591?_0x2b8f9c:_0x1e2072<0x0?_0x2b8f9c['slice'](_0x2b8f9c['length']-_0x267591):_0x2b8f9c['slice'](0x0,_0x267591),this['done']=!this['value'],this;}['next'](_0x154d6a=0x0){return _0x154d6a<0x0?_0x154d6a=Math['max'](_0x154d6a,this['from']-this['pos']):_0x154d6a>0x0&&(_0x154d6a=Math['min'](_0x154d6a,this['to']-this['pos'])),this['nextInner'](_0x154d6a,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class LineCursor{constructor(_0x2e9b5c){this['inner']=_0x2e9b5c,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x54c069=0x0){let {done:_0x33fbfd,lineBreak:_0x303d22,value:_0x446889}=this['inner']['next'](_0x54c069);return _0x33fbfd&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x33fbfd?(this['done']=!0x0,this['value']=''):_0x303d22?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x446889,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Gv['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=LineCursor['prototype'][Symbol['iterator']]=function(){return this;});let qv=class Line{constructor(_0x1aefa6,_0x3621e4,_0x2c13ec,_0x528efd){this['from']=_0x1aefa6,this['to']=_0x3621e4,this['number']=_0x2c13ec,this['text']=_0x528efd;}get['length'](){return this['to']-this['from'];}};function Wv(_0x1d9664,_0x30ecea,_0x4c6311){return[_0x30ecea=Math['max'](0x0,Math['min'](_0x1d9664['length'],_0x30ecea)),Math['max'](_0x30ecea,Math['min'](_0x1d9664['length'],_0x4c6311))];}function zv(_0x5bf396,_0x5591e7,_0x4ce7a8=!0x0,_0x1c80a0=!0x0){return Qv(_0x5bf396,_0x5591e7,_0x4ce7a8,_0x1c80a0);}function Yv(_0x7d63e3,_0x4f63c4){let _0x1f50bc=_0x7d63e3['charCodeAt'](_0x4f63c4);if(!(_0x5826cd=_0x1f50bc,_0x5826cd>=0xd800&&_0x5826cd<0xdc00&&_0x4f63c4+0x1!=_0x7d63e3['length']))return _0x1f50bc;var _0x5826cd;let _0xafb8e7=_0x7d63e3['charCodeAt'](_0x4f63c4+0x1);return function(_0x17d55d){return _0x17d55d>=0xdc00&&_0x17d55d<0xe000;}(_0xafb8e7)?_0xafb8e7-0xdc00+(_0x1f50bc-0xd800<<0xa)+0x10000:_0x1f50bc;}function Kv(_0x33e979){return _0x33e979<=0xffff?String['fromCharCode'](_0x33e979):(_0x33e979-=0x10000,String['fromCharCode'](0xd800+(_0x33e979>>0xa),0xdc00+(0x3ff&_0x33e979)));}function Jv(_0x5cd2f0){return _0x5cd2f0<0x10000?0x1:0x2;}const t_=/\r\n?|\n/;var e_=function(_0x94e364){return _0x94e364[_0x94e364['Simple']=0x0]='Simple',_0x94e364[_0x94e364['TrackDel']=0x1]='TrackDel',_0x94e364[_0x94e364['TrackBefore']=0x2]='TrackBefore',_0x94e364[_0x94e364['TrackAfter']=0x3]='TrackAfter',_0x94e364;}(e_||(e_={}));class ChangeDesc{constructor(_0x5e267e){this['sections']=_0x5e267e;}get['length'](){let _0x1ed62f=0x0;for(let _0x292dfe=0x0;_0x292dfe<this['sections']['length'];_0x292dfe+=0x2)_0x1ed62f+=this['sections'][_0x292dfe];return _0x1ed62f;}get['newLength'](){let _0x3c99ff=0x0;for(let _0x5a9036=0x0;_0x5a9036<this['sections']['length'];_0x5a9036+=0x2){let _0x391252=this['sections'][_0x5a9036+0x1];_0x3c99ff+=_0x391252<0x0?this['sections'][_0x5a9036]:_0x391252;}return _0x3c99ff;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x15cac1){for(let _0x284bc1=0x0,_0x5e8e56=0x0,_0x17050c=0x0;_0x284bc1<this['sections']['length'];){let _0x7430dd=this['sections'][_0x284bc1++],_0x53133b=this['sections'][_0x284bc1++];_0x53133b<0x0?(_0x15cac1(_0x5e8e56,_0x17050c,_0x7430dd),_0x17050c+=_0x7430dd):_0x17050c+=_0x53133b,_0x5e8e56+=_0x7430dd;}}['iterChangedRanges'](_0x425bbd,_0x419dfa=!0x1){n_(this,_0x425bbd,_0x419dfa);}get['invertedDesc'](){let _0x844c4=[];for(let _0x42b944=0x0;_0x42b944<this['sections']['length'];){let _0x3577fa=this['sections'][_0x42b944++],_0x2950d2=this['sections'][_0x42b944++];_0x2950d2<0x0?_0x844c4['push'](_0x3577fa,_0x2950d2):_0x844c4['push'](_0x2950d2,_0x3577fa);}return new ChangeDesc(_0x844c4);}['composeDesc'](_0x2d19a6){return this['empty']?_0x2d19a6:_0x2d19a6['empty']?this:o_(this,_0x2d19a6);}['mapDesc'](_0x2cf703,_0x44de2e=!0x1){return _0x2cf703['empty']?this:r_(this,_0x2cf703,_0x44de2e);}['mapPos'](_0x39eb19,_0x136309=-0x1,_0x15892d=e_['Simple']){let _0x4ad680=0x0,_0x12db91=0x0;for(let _0x25409b=0x0;_0x25409b<this['sections']['length'];){let _0x5905cc=this['sections'][_0x25409b++],_0x132642=this['sections'][_0x25409b++],_0x432839=_0x4ad680+_0x5905cc;if(_0x132642<0x0){if(_0x432839>_0x39eb19)return _0x12db91+(_0x39eb19-_0x4ad680);_0x12db91+=_0x5905cc;}else{if(_0x15892d!=e_['Simple']&&_0x432839>=_0x39eb19&&(_0x15892d==e_['TrackDel']&&_0x4ad680<_0x39eb19&&_0x432839>_0x39eb19||_0x15892d==e_['TrackBefore']&&_0x4ad680<_0x39eb19||_0x15892d==e_['TrackAfter']&&_0x432839>_0x39eb19))return null;if(_0x432839>_0x39eb19||_0x432839==_0x39eb19&&_0x136309<0x0&&!_0x5905cc)return _0x39eb19==_0x4ad680||_0x136309<0x0?_0x12db91:_0x12db91+_0x132642;_0x12db91+=_0x132642;}_0x4ad680=_0x432839;}if(_0x39eb19>_0x4ad680)throw new RangeError('Position\x20'+_0x39eb19+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x4ad680);return _0x12db91;}['touchesRange'](_0x4f57eb,_0x44e91f=_0x4f57eb){for(let _0x2974e7=0x0,_0x1d083a=0x0;_0x2974e7<this['sections']['length']&&_0x1d083a<=_0x44e91f;){let _0x50096d=_0x1d083a+this['sections'][_0x2974e7++];if(this['sections'][_0x2974e7++]>=0x0&&_0x1d083a<=_0x44e91f&&_0x50096d>=_0x4f57eb)return!(_0x1d083a<_0x4f57eb&&_0x50096d>_0x44e91f)||'cover';_0x1d083a=_0x50096d;}return!0x1;}['toString'](){let _0xec4e11='';for(let _0x402d80=0x0;_0x402d80<this['sections']['length'];){let _0x4ba675=this['sections'][_0x402d80++],_0x552f8b=this['sections'][_0x402d80++];_0xec4e11+=(_0xec4e11?'\x20':'')+_0x4ba675+(_0x552f8b>=0x0?':'+_0x552f8b:'');}return _0xec4e11;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x794962){if(!Array['isArray'](_0x794962)||_0x794962['length']%0x2||_0x794962['some'](_0x46b760=>'number'!=typeof _0x46b760))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new ChangeDesc(_0x794962);}static['create'](_0xd3f3f){return new ChangeDesc(_0xd3f3f);}}class ChangeSet extends ChangeDesc{constructor(_0x178ab6,_0x3f2aac){super(_0x178ab6),this['inserted']=_0x3f2aac;}['apply'](_0x48d3c6){if(this['length']!=_0x48d3c6['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return n_(this,(_0x3938ad,_0x20f7ee,_0x2833b3,_0x28c481,_0x12586a)=>_0x48d3c6=_0x48d3c6['replace'](_0x2833b3,_0x2833b3+(_0x20f7ee-_0x3938ad),_0x12586a),!0x1),_0x48d3c6;}['mapDesc'](_0x4c4b17,_0x123777=!0x1){return r_(this,_0x4c4b17,_0x123777,!0x0);}['invert'](_0x246db4){let _0x5ced9e=this['sections']['slice'](),_0x2fc7da=[];for(let _0x56082e=0x0,_0x1c594a=0x0;_0x56082e<_0x5ced9e['length'];_0x56082e+=0x2){let _0x490675=_0x5ced9e[_0x56082e],_0x15071f=_0x5ced9e[_0x56082e+0x1];if(_0x15071f>=0x0){_0x5ced9e[_0x56082e]=_0x15071f,_0x5ced9e[_0x56082e+0x1]=_0x490675;let _0x138c9e=_0x56082e>>0x1;for(;_0x2fc7da['length']<_0x138c9e;)_0x2fc7da['push'](Gv['empty']);_0x2fc7da['push'](_0x490675?_0x246db4['slice'](_0x1c594a,_0x1c594a+_0x490675):Gv['empty']);}_0x1c594a+=_0x490675;}return new ChangeSet(_0x5ced9e,_0x2fc7da);}['compose'](_0x54aed1){return this['empty']?_0x54aed1:_0x54aed1['empty']?this:o_(this,_0x54aed1,!0x0);}['map'](_0x5b025a,_0x26f222=!0x1){return _0x5b025a['empty']?this:r_(this,_0x5b025a,_0x26f222,!0x0);}['iterChanges'](_0x5b1329,_0xbbbcd=!0x1){n_(this,_0x5b1329,_0xbbbcd);}get['desc'](){return ChangeDesc['create'](this['sections']);}['filter'](_0x19e139){let _0x348683=[],_0x532685=[],_0x53c94f=[],_0x1256fc=new SectionIter(this);t:for(let _0x403f6b=0x0,_0x10a669=0x0;;){let _0x40e9bd=_0x403f6b==_0x19e139['length']?0x3b9aca00:_0x19e139[_0x403f6b++];for(;_0x10a669<_0x40e9bd||_0x10a669==_0x40e9bd&&0x0==_0x1256fc['len'];){if(_0x1256fc['done'])break t;let _0x5408fe=Math['min'](_0x1256fc['len'],_0x40e9bd-_0x10a669);i_(_0x53c94f,_0x5408fe,-0x1);let _0x1e1c15=-0x1==_0x1256fc['ins']?-0x1:0x0==_0x1256fc['off']?_0x1256fc['ins']:0x0;i_(_0x348683,_0x5408fe,_0x1e1c15),_0x1e1c15>0x0&&s_(_0x532685,_0x348683,_0x1256fc['text']),_0x1256fc['forward'](_0x5408fe),_0x10a669+=_0x5408fe;}let _0x577bac=_0x19e139[_0x403f6b++];for(;_0x10a669<_0x577bac;){if(_0x1256fc['done'])break t;let _0x1c2d7f=Math['min'](_0x1256fc['len'],_0x577bac-_0x10a669);i_(_0x348683,_0x1c2d7f,-0x1),i_(_0x53c94f,_0x1c2d7f,-0x1==_0x1256fc['ins']?-0x1:0x0==_0x1256fc['off']?_0x1256fc['ins']:0x0),_0x1256fc['forward'](_0x1c2d7f),_0x10a669+=_0x1c2d7f;}}return{'changes':new ChangeSet(_0x348683,_0x532685),'filtered':ChangeDesc['create'](_0x53c94f)};}['toJSON'](){let _0x23c52f=[];for(let _0x1626be=0x0;_0x1626be<this['sections']['length'];_0x1626be+=0x2){let _0x5970e6=this['sections'][_0x1626be],_0x5bffd3=this['sections'][_0x1626be+0x1];_0x5bffd3<0x0?_0x23c52f['push'](_0x5970e6):0x0==_0x5bffd3?_0x23c52f['push']([_0x5970e6]):_0x23c52f['push']([_0x5970e6]['concat'](this['inserted'][_0x1626be>>0x1]['toJSON']()));}return _0x23c52f;}static['of'](_0x71842f,_0x47dabf,_0x352116){let _0x335d8f=[],_0x27d768=[],_0x1bc046=0x0,_0x1b0856=null;function _0x274bc2(_0x4151bf=!0x1){if(!_0x4151bf&&!_0x335d8f['length'])return;_0x1bc046<_0x47dabf&&i_(_0x335d8f,_0x47dabf-_0x1bc046,-0x1);let _0x980bb1=new ChangeSet(_0x335d8f,_0x27d768);_0x1b0856=_0x1b0856?_0x1b0856['compose'](_0x980bb1['map'](_0x1b0856)):_0x980bb1,_0x335d8f=[],_0x27d768=[],_0x1bc046=0x0;}return function _0x5d0980(_0x4017c8){if(Array['isArray'](_0x4017c8)){for(let _0x44a959 of _0x4017c8)_0x5d0980(_0x44a959);}else{if(_0x4017c8 instanceof ChangeSet){if(_0x4017c8['length']!=_0x47dabf)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x4017c8['length']+',\x20expected\x20'+_0x47dabf+')');_0x274bc2(),_0x1b0856=_0x1b0856?_0x1b0856['compose'](_0x4017c8['map'](_0x1b0856)):_0x4017c8;}else{let {from:_0x312a78,to:_0x1eea42=_0x312a78,insert:_0x1d7bd7}=_0x4017c8;if(_0x312a78>_0x1eea42||_0x312a78<0x0||_0x1eea42>_0x47dabf)throw new RangeError('Invalid\x20change\x20range\x20'+_0x312a78+'\x20to\x20'+_0x1eea42+'\x20(in\x20doc\x20of\x20length\x20'+_0x47dabf+')');let _0x876438=_0x1d7bd7?'string'==typeof _0x1d7bd7?Gv['of'](_0x1d7bd7['split'](_0x352116||t_)):_0x1d7bd7:Gv['empty'],_0x403450=_0x876438['length'];if(_0x312a78==_0x1eea42&&0x0==_0x403450)return;_0x312a78<_0x1bc046&&_0x274bc2(),_0x312a78>_0x1bc046&&i_(_0x335d8f,_0x312a78-_0x1bc046,-0x1),i_(_0x335d8f,_0x1eea42-_0x312a78,_0x403450),s_(_0x27d768,_0x335d8f,_0x876438),_0x1bc046=_0x1eea42;}}}(_0x71842f),_0x274bc2(!_0x1b0856),_0x1b0856;}static['empty'](_0x5ac7df){return new ChangeSet(_0x5ac7df?[_0x5ac7df,-0x1]:[],[]);}static['fromJSON'](_0x52baea){if(!Array['isArray'](_0x52baea))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x1d3376=[],_0x51f4b1=[];for(let _0x285c54=0x0;_0x285c54<_0x52baea['length'];_0x285c54++){let _0x169d0a=_0x52baea[_0x285c54];if('number'==typeof _0x169d0a)_0x1d3376['push'](_0x169d0a,-0x1);else{if(!Array['isArray'](_0x169d0a)||'number'!=typeof _0x169d0a[0x0]||_0x169d0a['some']((_0x48554a,_0x2df090)=>_0x2df090&&'string'!=typeof _0x48554a))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x169d0a['length'])_0x1d3376['push'](_0x169d0a[0x0],0x0);else{for(;_0x51f4b1['length']<_0x285c54;)_0x51f4b1['push'](Gv['empty']);_0x51f4b1[_0x285c54]=Gv['of'](_0x169d0a['slice'](0x1)),_0x1d3376['push'](_0x169d0a[0x0],_0x51f4b1[_0x285c54]['length']);}}}return new ChangeSet(_0x1d3376,_0x51f4b1);}static['createSet'](_0x2d6a66,_0x443483){return new ChangeSet(_0x2d6a66,_0x443483);}}function i_(_0x53ad3a,_0x1d37f3,_0x2a7830,_0x317231=!0x1){if(0x0==_0x1d37f3&&_0x2a7830<=0x0)return;let _0x1a9034=_0x53ad3a['length']-0x2;_0x1a9034>=0x0&&_0x2a7830<=0x0&&_0x2a7830==_0x53ad3a[_0x1a9034+0x1]?_0x53ad3a[_0x1a9034]+=_0x1d37f3:_0x1a9034>=0x0&&0x0==_0x1d37f3&&0x0==_0x53ad3a[_0x1a9034]?_0x53ad3a[_0x1a9034+0x1]+=_0x2a7830:_0x317231?(_0x53ad3a[_0x1a9034]+=_0x1d37f3,_0x53ad3a[_0x1a9034+0x1]+=_0x2a7830):_0x53ad3a['push'](_0x1d37f3,_0x2a7830);}function s_(_0xb670b4,_0x1e5980,_0x2bb775){if(0x0==_0x2bb775['length'])return;let _0x410ab4=_0x1e5980['length']-0x2>>0x1;if(_0x410ab4<_0xb670b4['length'])_0xb670b4[_0xb670b4['length']-0x1]=_0xb670b4[_0xb670b4['length']-0x1]['append'](_0x2bb775);else{for(;_0xb670b4['length']<_0x410ab4;)_0xb670b4['push'](Gv['empty']);_0xb670b4['push'](_0x2bb775);}}function n_(_0x590dde,_0x9ef848,_0x2b71cb){let _0x22e041=_0x590dde['inserted'];for(let _0x47802f=0x0,_0x28cfb1=0x0,_0x377712=0x0;_0x377712<_0x590dde['sections']['length'];){let _0x43381b=_0x590dde['sections'][_0x377712++],_0xe4d39f=_0x590dde['sections'][_0x377712++];if(_0xe4d39f<0x0)_0x47802f+=_0x43381b,_0x28cfb1+=_0x43381b;else{let _0x21e1ed=_0x47802f,_0x3eeee7=_0x28cfb1,_0x51c5cb=Gv['empty'];for(;_0x21e1ed+=_0x43381b,_0x3eeee7+=_0xe4d39f,_0xe4d39f&&_0x22e041&&(_0x51c5cb=_0x51c5cb['append'](_0x22e041[_0x377712-0x2>>0x1])),!(_0x2b71cb||_0x377712==_0x590dde['sections']['length']||_0x590dde['sections'][_0x377712+0x1]<0x0);)_0x43381b=_0x590dde['sections'][_0x377712++],_0xe4d39f=_0x590dde['sections'][_0x377712++];_0x9ef848(_0x47802f,_0x21e1ed,_0x28cfb1,_0x3eeee7,_0x51c5cb),_0x47802f=_0x21e1ed,_0x28cfb1=_0x3eeee7;}}}function r_(_0x5dc4ee,_0xc1c5f7,_0xbe7030,_0x43b606=!0x1){let _0x2a45bc=[],_0x328a1c=_0x43b606?[]:null,_0x34a3fe=new SectionIter(_0x5dc4ee),_0x35cdb7=new SectionIter(_0xc1c5f7);for(let _0x45a098=-0x1;;){if(_0x34a3fe['done']&&_0x35cdb7['len']||_0x35cdb7['done']&&_0x34a3fe['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x34a3fe['ins']&&-0x1==_0x35cdb7['ins']){let _0x5c283e=Math['min'](_0x34a3fe['len'],_0x35cdb7['len']);i_(_0x2a45bc,_0x5c283e,-0x1),_0x34a3fe['forward'](_0x5c283e),_0x35cdb7['forward'](_0x5c283e);}else{if(_0x35cdb7['ins']>=0x0&&(_0x34a3fe['ins']<0x0||_0x45a098==_0x34a3fe['i']||0x0==_0x34a3fe['off']&&(_0x35cdb7['len']<_0x34a3fe['len']||_0x35cdb7['len']==_0x34a3fe['len']&&!_0xbe7030))){let _0x402489=_0x35cdb7['len'];for(i_(_0x2a45bc,_0x35cdb7['ins'],-0x1);_0x402489;){let _0x462031=Math['min'](_0x34a3fe['len'],_0x402489);_0x34a3fe['ins']>=0x0&&_0x45a098<_0x34a3fe['i']&&_0x34a3fe['len']<=_0x462031&&(i_(_0x2a45bc,0x0,_0x34a3fe['ins']),_0x328a1c&&s_(_0x328a1c,_0x2a45bc,_0x34a3fe['text']),_0x45a098=_0x34a3fe['i']),_0x34a3fe['forward'](_0x462031),_0x402489-=_0x462031;}_0x35cdb7['next']();}else{if(!(_0x34a3fe['ins']>=0x0)){if(_0x34a3fe['done']&&_0x35cdb7['done'])return _0x328a1c?ChangeSet['createSet'](_0x2a45bc,_0x328a1c):ChangeDesc['create'](_0x2a45bc);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x433816=0x0,_0x40539e=_0x34a3fe['len'];for(;_0x40539e;)if(-0x1==_0x35cdb7['ins']){let _0x180e4a=Math['min'](_0x40539e,_0x35cdb7['len']);_0x433816+=_0x180e4a,_0x40539e-=_0x180e4a,_0x35cdb7['forward'](_0x180e4a);}else{if(!(0x0==_0x35cdb7['ins']&&_0x35cdb7['len']<_0x40539e))break;_0x40539e-=_0x35cdb7['len'],_0x35cdb7['next']();}i_(_0x2a45bc,_0x433816,_0x45a098<_0x34a3fe['i']?_0x34a3fe['ins']:0x0),_0x328a1c&&_0x45a098<_0x34a3fe['i']&&s_(_0x328a1c,_0x2a45bc,_0x34a3fe['text']),_0x45a098=_0x34a3fe['i'],_0x34a3fe['forward'](_0x34a3fe['len']-_0x40539e);}}}}}function o_(_0x43ec2e,_0x47c6e7,_0x3ee850=!0x1){let _0x4636bc=[],_0x268819=_0x3ee850?[]:null,_0x4ca6bf=new SectionIter(_0x43ec2e),_0x59b10f=new SectionIter(_0x47c6e7);for(let _0x1e773e=!0x1;;){if(_0x4ca6bf['done']&&_0x59b10f['done'])return _0x268819?ChangeSet['createSet'](_0x4636bc,_0x268819):ChangeDesc['create'](_0x4636bc);if(0x0==_0x4ca6bf['ins'])i_(_0x4636bc,_0x4ca6bf['len'],0x0,_0x1e773e),_0x4ca6bf['next']();else{if(0x0!=_0x59b10f['len']||_0x59b10f['done']){if(_0x4ca6bf['done']||_0x59b10f['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x1b9299=Math['min'](_0x4ca6bf['len2'],_0x59b10f['len']),_0x139d86=_0x4636bc['length'];if(-0x1==_0x4ca6bf['ins']){let _0xef709b=-0x1==_0x59b10f['ins']?-0x1:_0x59b10f['off']?0x0:_0x59b10f['ins'];i_(_0x4636bc,_0x1b9299,_0xef709b,_0x1e773e),_0x268819&&_0xef709b&&s_(_0x268819,_0x4636bc,_0x59b10f['text']);}else-0x1==_0x59b10f['ins']?(i_(_0x4636bc,_0x4ca6bf['off']?0x0:_0x4ca6bf['len'],_0x1b9299,_0x1e773e),_0x268819&&s_(_0x268819,_0x4636bc,_0x4ca6bf['textBit'](_0x1b9299))):(i_(_0x4636bc,_0x4ca6bf['off']?0x0:_0x4ca6bf['len'],_0x59b10f['off']?0x0:_0x59b10f['ins'],_0x1e773e),_0x268819&&!_0x59b10f['off']&&s_(_0x268819,_0x4636bc,_0x59b10f['text']));_0x1e773e=(_0x4ca6bf['ins']>_0x1b9299||_0x59b10f['ins']>=0x0&&_0x59b10f['len']>_0x1b9299)&&(_0x1e773e||_0x4636bc['length']>_0x139d86),_0x4ca6bf['forward2'](_0x1b9299),_0x59b10f['forward'](_0x1b9299);}}else i_(_0x4636bc,0x0,_0x59b10f['ins'],_0x1e773e),_0x268819&&s_(_0x268819,_0x4636bc,_0x59b10f['text']),_0x59b10f['next']();}}}class SectionIter{constructor(_0x42567a){this['set']=_0x42567a,this['i']=0x0,this['next']();}['next'](){let {sections:_0x93784}=this['set'];this['i']<_0x93784['length']?(this['len']=_0x93784[this['i']++],this['ins']=_0x93784[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:_0x306275}=this['set'],_0x5058c1=this['i']-0x2>>0x1;return _0x5058c1>=_0x306275['length']?Gv['empty']:_0x306275[_0x5058c1];}['textBit'](_0x240772){let {inserted:_0xe53cc4}=this['set'],_0x435d45=this['i']-0x2>>0x1;return _0x435d45>=_0xe53cc4['length']&&!_0x240772?Gv['empty']:_0xe53cc4[_0x435d45]['slice'](this['off'],null==_0x240772?void 0x0:this['off']+_0x240772);}['forward'](_0x559a1d){_0x559a1d==this['len']?this['next']():(this['len']-=_0x559a1d,this['off']+=_0x559a1d);}['forward2'](_0x237117){-0x1==this['ins']?this['forward'](_0x237117):_0x237117==this['ins']?this['next']():(this['ins']-=_0x237117,this['off']+=_0x237117);}}class SelectionRange{constructor(_0x17348a,_0x398755,_0x25d45f){this['from']=_0x17348a,this['to']=_0x398755,this['flags']=_0x25d45f;}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 _0x524ff5=0x7&this['flags'];return 0x7==_0x524ff5?null:_0x524ff5;}get['goalColumn'](){let _0x5b10b7=this['flags']>>0x6;return 0xffffff==_0x5b10b7?void 0x0:_0x5b10b7;}['map'](_0x3fad1f,_0xd2ed48=-0x1){let _0x55df14,_0x18ecc2;return this['empty']?_0x55df14=_0x18ecc2=_0x3fad1f['mapPos'](this['from'],_0xd2ed48):(_0x55df14=_0x3fad1f['mapPos'](this['from'],0x1),_0x18ecc2=_0x3fad1f['mapPos'](this['to'],-0x1)),_0x55df14==this['from']&&_0x18ecc2==this['to']?this:new SelectionRange(_0x55df14,_0x18ecc2,this['flags']);}['extend'](_0x288fde,_0x4ef801=_0x288fde){if(_0x288fde<=this['anchor']&&_0x4ef801>=this['anchor'])return EditorSelection['range'](_0x288fde,_0x4ef801);let _0x4cc53f=Math['abs'](_0x288fde-this['anchor'])>Math['abs'](_0x4ef801-this['anchor'])?_0x288fde:_0x4ef801;return EditorSelection['range'](this['anchor'],_0x4cc53f);}['eq'](_0x62d436,_0x51b2ba=!0x1){return!(this['anchor']!=_0x62d436['anchor']||this['head']!=_0x62d436['head']||_0x51b2ba&&this['empty']&&this['assoc']!=_0x62d436['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x20d4d0){if(!_0x20d4d0||'number'!=typeof _0x20d4d0['anchor']||'number'!=typeof _0x20d4d0['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x20d4d0['anchor'],_0x20d4d0['head']);}static['create'](_0x552020,_0x149b74,_0xb8be78){return new SelectionRange(_0x552020,_0x149b74,_0xb8be78);}}class EditorSelection{constructor(_0x531940,_0x5f15ea){this['ranges']=_0x531940,this['mainIndex']=_0x5f15ea;}['map'](_0x340588,_0x29e266=-0x1){return _0x340588['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x4c8261=>_0x4c8261['map'](_0x340588,_0x29e266)),this['mainIndex']);}['eq'](_0x9f179d,_0xbb2bfd=!0x1){if(this['ranges']['length']!=_0x9f179d['ranges']['length']||this['mainIndex']!=_0x9f179d['mainIndex'])return!0x1;for(let _0x2b90a2=0x0;_0x2b90a2<this['ranges']['length'];_0x2b90a2++)if(!this['ranges'][_0x2b90a2]['eq'](_0x9f179d['ranges'][_0x2b90a2],_0xbb2bfd))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x2404f0,_0x25ef80=!0x0){return EditorSelection['create']([_0x2404f0]['concat'](this['ranges']),_0x25ef80?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x3223e1,_0x33dd17=this['mainIndex']){let _0x3d2cd5=this['ranges']['slice']();return _0x3d2cd5[_0x33dd17]=_0x3223e1,EditorSelection['create'](_0x3d2cd5,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x1e9426=>_0x1e9426['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x24154c){if(!_0x24154c||!Array['isArray'](_0x24154c['ranges'])||'number'!=typeof _0x24154c['main']||_0x24154c['main']>=_0x24154c['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x24154c['ranges']['map'](_0x6bbf2b=>SelectionRange['fromJSON'](_0x6bbf2b)),_0x24154c['main']);}static['single'](_0x1a7d7e,_0x5552ff=_0x1a7d7e){return new EditorSelection([EditorSelection['range'](_0x1a7d7e,_0x5552ff)],0x0);}static['create'](_0x16984d,_0x5602cd=0x0){if(0x0==_0x16984d['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x53e1ac=0x0,_0xa20152=0x0;_0xa20152<_0x16984d['length'];_0xa20152++){let _0x39530e=_0x16984d[_0xa20152];if(_0x39530e['empty']?_0x39530e['from']<=_0x53e1ac:_0x39530e['from']<_0x53e1ac)return EditorSelection['normalized'](_0x16984d['slice'](),_0x5602cd);_0x53e1ac=_0x39530e['to'];}return new EditorSelection(_0x16984d,_0x5602cd);}static['cursor'](_0x394417,_0x58059b=0x0,_0x1c203d,_0x19aac5){return SelectionRange['create'](_0x394417,_0x394417,(0x0==_0x58059b?0x0:_0x58059b<0x0?0x8:0x10)|(null==_0x1c203d?0x7:Math['min'](0x6,_0x1c203d))|(null!=_0x19aac5?_0x19aac5:0xffffff)<<0x6);}static['range'](_0x54f3fa,_0x4a7ee9,_0x9f2bba,_0x19e1b9){let _0x249078=(null!=_0x9f2bba?_0x9f2bba:0xffffff)<<0x6|(null==_0x19e1b9?0x7:Math['min'](0x6,_0x19e1b9));return _0x4a7ee9<_0x54f3fa?SelectionRange['create'](_0x4a7ee9,_0x54f3fa,0x30|_0x249078):SelectionRange['create'](_0x54f3fa,_0x4a7ee9,(_0x4a7ee9>_0x54f3fa?0x8:0x0)|_0x249078);}static['normalized'](_0x3f6500,_0x2f243d=0x0){let _0x9cb856=_0x3f6500[_0x2f243d];_0x3f6500['sort']((_0x89102e,_0x374a18)=>_0x89102e['from']-_0x374a18['from']),_0x2f243d=_0x3f6500['indexOf'](_0x9cb856);for(let _0x5a0ca3=0x1;_0x5a0ca3<_0x3f6500['length'];_0x5a0ca3++){let _0xf128cb=_0x3f6500[_0x5a0ca3],_0x3167ab=_0x3f6500[_0x5a0ca3-0x1];if(_0xf128cb['empty']?_0xf128cb['from']<=_0x3167ab['to']:_0xf128cb['from']<_0x3167ab['to']){let _0x33828c=_0x3167ab['from'],_0x46944f=Math['max'](_0xf128cb['to'],_0x3167ab['to']);_0x5a0ca3<=_0x2f243d&&_0x2f243d--,_0x3f6500['splice'](--_0x5a0ca3,0x2,_0xf128cb['anchor']>_0xf128cb['head']?EditorSelection['range'](_0x46944f,_0x33828c):EditorSelection['range'](_0x33828c,_0x46944f));}}return new EditorSelection(_0x3f6500,_0x2f243d);}}function a_(_0x2d273a,_0x309465){for(let _0x2108c0 of _0x2d273a['ranges'])if(_0x2108c0['to']>_0x309465)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let c_=0x0;class Facet{constructor(_0x39a25b,_0x409580,_0x2ff71f,_0x240bd8,_0x328d01){this['combine']=_0x39a25b,this['compareInput']=_0x409580,this['compare']=_0x2ff71f,this['isStatic']=_0x240bd8,this['id']=c_++,this['default']=_0x39a25b([]),this['extensions']='function'==typeof _0x328d01?_0x328d01(this):_0x328d01;}get['reader'](){return this;}static['define'](_0x87718e={}){return new Facet(_0x87718e['combine']||(_0x54dfff=>_0x54dfff),_0x87718e['compareInput']||((_0x3a47f1,_0x4a74f5)=>_0x3a47f1===_0x4a74f5),_0x87718e['compare']||(_0x87718e['combine']?(_0xac3ce1,_0x21cbb6)=>_0xac3ce1===_0x21cbb6:l_),!!_0x87718e['static'],_0x87718e['enables']);}['of'](_0x1f6d38){return new FacetProvider([],this,0x0,_0x1f6d38);}['compute'](_0x1e6567,_0x898a90){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x1e6567,this,0x1,_0x898a90);}['computeN'](_0x10ddb5,_0x5605c4){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x10ddb5,this,0x2,_0x5605c4);}['from'](_0x4c6e17,_0x4ea945){return _0x4ea945||(_0x4ea945=_0xdb2766=>_0xdb2766),this['compute']([_0x4c6e17],_0x53880d=>_0x4ea945(_0x53880d['field'](_0x4c6e17)));}}function l_(_0x971db3,_0x2fee25){return _0x971db3==_0x2fee25||_0x971db3['length']==_0x2fee25['length']&&_0x971db3['every']((_0x499123,_0x66cae5)=>_0x499123===_0x2fee25[_0x66cae5]);}class FacetProvider{constructor(_0xedbc90,_0x50c202,_0x314a06,_0x994a72){this['dependencies']=_0xedbc90,this['facet']=_0x50c202,this['type']=_0x314a06,this['value']=_0x994a72,this['id']=c_++;}['dynamicSlot'](_0x30ab49){var _0x3cc10f;let _0x53a1fe=this['value'],_0x41f088=this['facet']['compareInput'],_0x507b59=this['id'],_0x4e9f58=_0x30ab49[_0x507b59]>>0x1,_0x40741d=0x2==this['type'],_0x9bf361=!0x1,_0x231a36=!0x1,_0x4c2a0b=[];for(let _0x2b6dcd of this['dependencies'])'doc'==_0x2b6dcd?_0x9bf361=!0x0:'selection'==_0x2b6dcd?_0x231a36=!0x0:0x1&(null!==(_0x3cc10f=_0x30ab49[_0x2b6dcd['id']])&&void 0x0!==_0x3cc10f?_0x3cc10f:0x1)||_0x4c2a0b['push'](_0x30ab49[_0x2b6dcd['id']]);return{'create':_0x2716bb=>(_0x2716bb['values'][_0x4e9f58]=_0x53a1fe(_0x2716bb),0x1),'update'(_0x265b04,_0x45f1a6){if(_0x9bf361&&_0x45f1a6['docChanged']||_0x231a36&&(_0x45f1a6['docChanged']||_0x45f1a6['selection'])||u_(_0x265b04,_0x4c2a0b)){let _0x4a474a=_0x53a1fe(_0x265b04);if(_0x40741d?!h_(_0x4a474a,_0x265b04['values'][_0x4e9f58],_0x41f088):!_0x41f088(_0x4a474a,_0x265b04['values'][_0x4e9f58]))return _0x265b04['values'][_0x4e9f58]=_0x4a474a,0x1;}return 0x0;},'reconfigure':(_0x5a9e7e,_0x178b7d)=>{let _0x4ed0be,_0xca6e87=_0x178b7d['config']['address'][_0x507b59];if(null!=_0xca6e87){let _0x215e96=v_(_0x178b7d,_0xca6e87);if(this['dependencies']['every'](_0xfb3ffc=>_0xfb3ffc instanceof Facet?_0x178b7d['facet'](_0xfb3ffc)===_0x5a9e7e['facet'](_0xfb3ffc):!(_0xfb3ffc instanceof StateField)||_0x178b7d['field'](_0xfb3ffc,!0x1)==_0x5a9e7e['field'](_0xfb3ffc,!0x1))||(_0x40741d?h_(_0x4ed0be=_0x53a1fe(_0x5a9e7e),_0x215e96,_0x41f088):_0x41f088(_0x4ed0be=_0x53a1fe(_0x5a9e7e),_0x215e96)))return _0x5a9e7e['values'][_0x4e9f58]=_0x215e96,0x0;}else _0x4ed0be=_0x53a1fe(_0x5a9e7e);return _0x5a9e7e['values'][_0x4e9f58]=_0x4ed0be,0x1;}};}}function h_(_0x548bcf,_0xcd9c52,_0x10c54c){if(_0x548bcf['length']!=_0xcd9c52['length'])return!0x1;for(let _0x473dbc=0x0;_0x473dbc<_0x548bcf['length'];_0x473dbc++)if(!_0x10c54c(_0x548bcf[_0x473dbc],_0xcd9c52[_0x473dbc]))return!0x1;return!0x0;}function u_(_0x25bd50,_0x4b80fb){let _0x32eef4=!0x1;for(let _0x1efd08 of _0x4b80fb)0x1&y_(_0x25bd50,_0x1efd08)&&(_0x32eef4=!0x0);return _0x32eef4;}function d_(_0x5e8dc1,_0x2df735,_0xd75ed2){let _0x1565e1=_0xd75ed2['map'](_0x4d9141=>_0x5e8dc1[_0x4d9141['id']]),_0x3ed670=_0xd75ed2['map'](_0x4a732d=>_0x4a732d['type']),_0x50484d=_0x1565e1['filter'](_0x12de4b=>!(0x1&_0x12de4b)),_0x4a347d=_0x5e8dc1[_0x2df735['id']]>>0x1;function _0x3c944a(_0x1722b6){let _0x5c2295=[];for(let _0x347b31=0x0;_0x347b31<_0x1565e1['length'];_0x347b31++){let _0x419f83=v_(_0x1722b6,_0x1565e1[_0x347b31]);if(0x2==_0x3ed670[_0x347b31]){for(let _0xef86b6 of _0x419f83)_0x5c2295['push'](_0xef86b6);}else _0x5c2295['push'](_0x419f83);}return _0x2df735['combine'](_0x5c2295);}return{'create'(_0x4ed29e){for(let _0x3b8e33 of _0x1565e1)y_(_0x4ed29e,_0x3b8e33);return _0x4ed29e['values'][_0x4a347d]=_0x3c944a(_0x4ed29e),0x1;},'update'(_0x1144cd,_0x51f9e8){if(!u_(_0x1144cd,_0x50484d))return 0x0;let _0x1a63df=_0x3c944a(_0x1144cd);return _0x2df735['compare'](_0x1a63df,_0x1144cd['values'][_0x4a347d])?0x0:(_0x1144cd['values'][_0x4a347d]=_0x1a63df,0x1);},'reconfigure'(_0x644b85,_0x13cd71){let _0xa952b2=u_(_0x644b85,_0x1565e1),_0x3a9ccc=_0x13cd71['config']['facets'][_0x2df735['id']],_0x3df8dd=_0x13cd71['facet'](_0x2df735);if(_0x3a9ccc&&!_0xa952b2&&l_(_0xd75ed2,_0x3a9ccc))return _0x644b85['values'][_0x4a347d]=_0x3df8dd,0x0;let _0x2c1409=_0x3c944a(_0x644b85);return _0x2df735['compare'](_0x2c1409,_0x3df8dd)?(_0x644b85['values'][_0x4a347d]=_0x3df8dd,0x0):(_0x644b85['values'][_0x4a347d]=_0x2c1409,0x1);}};}const f_=Facet['define']({'static':!0x0});class StateField{constructor(_0x10d39a,_0x431687,_0x2c38e1,_0x5e9651,_0x555439){this['id']=_0x10d39a,this['createF']=_0x431687,this['updateF']=_0x2c38e1,this['compareF']=_0x5e9651,this['spec']=_0x555439,this['provides']=void 0x0;}static['define'](_0x33f111){let _0x508cd5=new StateField(c_++,_0x33f111['create'],_0x33f111['update'],_0x33f111['compare']||((_0xcdd988,_0x7bf692)=>_0xcdd988===_0x7bf692),_0x33f111);return _0x33f111['provide']&&(_0x508cd5['provides']=_0x33f111['provide'](_0x508cd5)),_0x508cd5;}['create'](_0x329fec){let _0x388650=_0x329fec['facet'](f_)['find'](_0x4ec47a=>_0x4ec47a['field']==this);return((null==_0x388650?void 0x0:_0x388650['create'])||this['createF'])(_0x329fec);}['slot'](_0x3146f1){let _0x4e4f58=_0x3146f1[this['id']]>>0x1;return{'create':_0x2afcc7=>(_0x2afcc7['values'][_0x4e4f58]=this['create'](_0x2afcc7),0x1),'update':(_0x2b6952,_0x45d6f8)=>{let _0x3f4c6f=_0x2b6952['values'][_0x4e4f58],_0x51520e=this['updateF'](_0x3f4c6f,_0x45d6f8);return this['compareF'](_0x3f4c6f,_0x51520e)?0x0:(_0x2b6952['values'][_0x4e4f58]=_0x51520e,0x1);},'reconfigure':(_0x1702a0,_0x5a33c7)=>{let _0x176eaa,_0x38db1a=_0x1702a0['facet'](f_),_0x3831d6=_0x5a33c7['facet'](f_);return(_0x176eaa=_0x38db1a['find'](_0x4f50a5=>_0x4f50a5['field']==this))&&_0x176eaa!=_0x3831d6['find'](_0x1e7fe8=>_0x1e7fe8['field']==this)?(_0x1702a0['values'][_0x4e4f58]=_0x176eaa['create'](_0x1702a0),0x1):null!=_0x5a33c7['config']['address'][this['id']]?(_0x1702a0['values'][_0x4e4f58]=_0x5a33c7['field'](this),0x0):(_0x1702a0['values'][_0x4e4f58]=this['create'](_0x1702a0),0x1);}};}['init'](_0x14bcad){return[this,f_['of']({'field':this,'create':_0x14bcad})];}get['extension'](){return this;}}const m_=0x4,g_=0x3,p_=0x2,O_=0x1;function w_(_0x119ac2){return _0x2e15f4=>new PrecExtension(_0x2e15f4,_0x119ac2);}const b_={'highest':w_(0x0),'high':w_(O_),'default':w_(p_),'low':w_(g_),'lowest':w_(m_)};class PrecExtension{constructor(_0x46b4ce,_0x219b38){this['inner']=_0x46b4ce,this['prec']=_0x219b38;}}class Compartment{['of'](_0x5b65c8){return new CompartmentInstance(this,_0x5b65c8);}['reconfigure'](_0x12660f){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x12660f});}['get'](_0x36d598){return _0x36d598['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x2a50ec,_0x29230e){this['compartment']=_0x2a50ec,this['inner']=_0x29230e;}}class Configuration{constructor(_0x2072c0,_0x369e9a,_0x3b9730,_0x52432b,_0x8e14d7,_0x260822){for(this['base']=_0x2072c0,this['compartments']=_0x369e9a,this['dynamicSlots']=_0x3b9730,this['address']=_0x52432b,this['staticValues']=_0x8e14d7,this['facets']=_0x260822,this['statusTemplate']=[];this['statusTemplate']['length']<_0x3b9730['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x132e16){let _0x5b5008=this['address'][_0x132e16['id']];return null==_0x5b5008?_0x132e16['default']:this['staticValues'][_0x5b5008>>0x1];}static['resolve'](_0x579c90,_0xb7b260,_0x5debd9){let _0x2dbdd2=[],_0x341625=Object['create'](null),_0x29d2e6=new Map();for(let _0x29ab4a of function(_0x1a3d5c,_0x121384,_0x505ff2){let _0x57195a=[[],[],[],[],[]],_0x42f89d=new Map();function _0x34b6a(_0x333765,_0x30f91d){let _0x217512=_0x42f89d['get'](_0x333765);if(null!=_0x217512){if(_0x217512<=_0x30f91d)return;let _0x38670d=_0x57195a[_0x217512]['indexOf'](_0x333765);_0x38670d>-0x1&&_0x57195a[_0x217512]['splice'](_0x38670d,0x1),_0x333765 instanceof CompartmentInstance&&_0x505ff2['delete'](_0x333765['compartment']);}if(_0x42f89d['set'](_0x333765,_0x30f91d),Array['isArray'](_0x333765)){for(let _0x5d7fa7 of _0x333765)_0x34b6a(_0x5d7fa7,_0x30f91d);}else{if(_0x333765 instanceof CompartmentInstance){if(_0x505ff2['has'](_0x333765['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x594f4e=_0x121384['get'](_0x333765['compartment'])||_0x333765['inner'];_0x505ff2['set'](_0x333765['compartment'],_0x594f4e),_0x34b6a(_0x594f4e,_0x30f91d);}else{if(_0x333765 instanceof PrecExtension)_0x34b6a(_0x333765['inner'],_0x333765['prec']);else{if(_0x333765 instanceof StateField)_0x57195a[_0x30f91d]['push'](_0x333765),_0x333765['provides']&&_0x34b6a(_0x333765['provides'],_0x30f91d);else{if(_0x333765 instanceof FacetProvider)_0x57195a[_0x30f91d]['push'](_0x333765),_0x333765['facet']['extensions']&&_0x34b6a(_0x333765['facet']['extensions'],p_);else{let _0x3ac5cd=_0x333765['extension'];if(!_0x3ac5cd)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x333765+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x34b6a(_0x3ac5cd,_0x30f91d);}}}}}}return _0x34b6a(_0x1a3d5c,p_),_0x57195a['reduce']((_0x1d8d69,_0x1e0836)=>_0x1d8d69['concat'](_0x1e0836));}(_0x579c90,_0xb7b260,_0x29d2e6))_0x29ab4a instanceof StateField?_0x2dbdd2['push'](_0x29ab4a):(_0x341625[_0x29ab4a['facet']['id']]||(_0x341625[_0x29ab4a['facet']['id']]=[]))['push'](_0x29ab4a);let _0x4a5163=Object['create'](null),_0x54c4f8=[],_0x5df627=[];for(let _0x4dcc86 of _0x2dbdd2)_0x4a5163[_0x4dcc86['id']]=_0x5df627['length']<<0x1,_0x5df627['push'](_0x3950d2=>_0x4dcc86['slot'](_0x3950d2));let _0xa2d7be=null==_0x5debd9?void 0x0:_0x5debd9['config']['facets'];for(let _0x3888c1 in _0x341625){let _0x38a951=_0x341625[_0x3888c1],_0x215905=_0x38a951[0x0]['facet'],_0x1fc4e8=_0xa2d7be&&_0xa2d7be[_0x3888c1]||[];if(_0x38a951['every'](_0xe30914=>0x0==_0xe30914['type'])){if(_0x4a5163[_0x215905['id']]=_0x54c4f8['length']<<0x1|0x1,l_(_0x1fc4e8,_0x38a951))_0x54c4f8['push'](_0x5debd9['facet'](_0x215905));else{let _0x49a686=_0x215905['combine'](_0x38a951['map'](_0x28f97e=>_0x28f97e['value']));_0x54c4f8['push'](_0x5debd9&&_0x215905['compare'](_0x49a686,_0x5debd9['facet'](_0x215905))?_0x5debd9['facet'](_0x215905):_0x49a686);}}else{for(let _0x1325a0 of _0x38a951)0x0==_0x1325a0['type']?(_0x4a5163[_0x1325a0['id']]=_0x54c4f8['length']<<0x1|0x1,_0x54c4f8['push'](_0x1325a0['value'])):(_0x4a5163[_0x1325a0['id']]=_0x5df627['length']<<0x1,_0x5df627['push'](_0x16db47=>_0x1325a0['dynamicSlot'](_0x16db47)));_0x4a5163[_0x215905['id']]=_0x5df627['length']<<0x1,_0x5df627['push'](_0x3e4365=>d_(_0x3e4365,_0x215905,_0x38a951));}}let _0x1b9fce=_0x5df627['map'](_0x86b11a=>_0x86b11a(_0x4a5163));return new Configuration(_0x579c90,_0x29d2e6,_0x1b9fce,_0x4a5163,_0x54c4f8,_0x341625);}}function y_(_0x2aab99,_0x5e6bd3){if(0x1&_0x5e6bd3)return 0x2;let _0x25d216=_0x5e6bd3>>0x1,_0x3b09d1=_0x2aab99['status'][_0x25d216];if(0x4==_0x3b09d1)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x3b09d1)return _0x3b09d1;_0x2aab99['status'][_0x25d216]=0x4;let _0x5ab8f3=_0x2aab99['computeSlot'](_0x2aab99,_0x2aab99['config']['dynamicSlots'][_0x25d216]);return _0x2aab99['status'][_0x25d216]=0x2|_0x5ab8f3;}function v_(_0x337b8a,_0x10ce9f){return 0x1&_0x10ce9f?_0x337b8a['config']['staticValues'][_0x10ce9f>>0x1]:_0x337b8a['values'][_0x10ce9f>>0x1];}const __=Facet['define'](),E_=Facet['define']({'combine':_0x5ae6bb=>_0x5ae6bb['some'](_0xf87cd7=>_0xf87cd7),'static':!0x0}),T_=Facet['define']({'combine':_0x182c0d=>_0x182c0d['length']?_0x182c0d[0x0]:void 0x0,'static':!0x0}),A_=Facet['define'](),S_=Facet['define'](),I_=Facet['define'](),C_=Facet['define']({'combine':_0xe5df65=>!!_0xe5df65['length']&&_0xe5df65[0x0]});class Annotation{constructor(_0x204dff,_0xc885a){this['type']=_0x204dff,this['value']=_0xc885a;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x5622e1){return new Annotation(this,_0x5622e1);}}class StateEffectType{constructor(_0x47a8d7){this['map']=_0x47a8d7;}['of'](_0x7418d){return new StateEffect(this,_0x7418d);}}class StateEffect{constructor(_0x11d0b9,_0x3eed11){this['type']=_0x11d0b9,this['value']=_0x3eed11;}['map'](_0x1b9234){let _0x37b024=this['type']['map'](this['value'],_0x1b9234);return void 0x0===_0x37b024?void 0x0:_0x37b024==this['value']?this:new StateEffect(this['type'],_0x37b024);}['is'](_0xf64964){return this['type']==_0xf64964;}static['define'](_0x218a99={}){return new StateEffectType(_0x218a99['map']||(_0x3a7f4d=>_0x3a7f4d));}static['mapEffects'](_0x25d941,_0x522d19){if(!_0x25d941['length'])return _0x25d941;let _0x2e5827=[];for(let _0x47f6d0 of _0x25d941){let _0x1540ed=_0x47f6d0['map'](_0x522d19);_0x1540ed&&_0x2e5827['push'](_0x1540ed);}return _0x2e5827;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x4560c9,_0x4d0d7f,_0x5e0b8f,_0x51c2ea,_0x3e04b3,_0x1565ce){this['startState']=_0x4560c9,this['changes']=_0x4d0d7f,this['selection']=_0x5e0b8f,this['effects']=_0x51c2ea,this['annotations']=_0x3e04b3,this['scrollIntoView']=_0x1565ce,this['_doc']=null,this['_state']=null,_0x5e0b8f&&a_(_0x5e0b8f,_0x4d0d7f['newLength']),_0x3e04b3['some'](_0x5dd674=>_0x5dd674['type']==Transaction['time'])||(this['annotations']=_0x3e04b3['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x5365ae,_0x1b959e,_0x3a6f3a,_0x138719,_0x519373,_0x9d5969){return new Transaction(_0x5365ae,_0x1b959e,_0x3a6f3a,_0x138719,_0x519373,_0x9d5969);}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'](_0x3bd8a3){for(let _0xf8e257 of this['annotations'])if(_0xf8e257['type']==_0x3bd8a3)return _0xf8e257['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x579da9){let _0x18f35c=this['annotation'](Transaction['userEvent']);return!(!_0x18f35c||!(_0x18f35c==_0x579da9||_0x18f35c['length']>_0x579da9['length']&&_0x18f35c['slice'](0x0,_0x579da9['length'])==_0x579da9&&'.'==_0x18f35c[_0x579da9['length']]));}}function k_(_0x12987d,_0x35d3a6){let _0x2c90fb=[];for(let _0x56f699=0x0,_0xe57239=0x0;;){let _0x17c8c2,_0x39df5a;if(_0x56f699<_0x12987d['length']&&(_0xe57239==_0x35d3a6['length']||_0x35d3a6[_0xe57239]>=_0x12987d[_0x56f699]))_0x17c8c2=_0x12987d[_0x56f699++],_0x39df5a=_0x12987d[_0x56f699++];else{if(!(_0xe57239<_0x35d3a6['length']))return _0x2c90fb;_0x17c8c2=_0x35d3a6[_0xe57239++],_0x39df5a=_0x35d3a6[_0xe57239++];}!_0x2c90fb['length']||_0x2c90fb[_0x2c90fb['length']-0x1]<_0x17c8c2?_0x2c90fb['push'](_0x17c8c2,_0x39df5a):_0x2c90fb[_0x2c90fb['length']-0x1]<_0x39df5a&&(_0x2c90fb[_0x2c90fb['length']-0x1]=_0x39df5a);}}function x_(_0x37428a,_0x43c9e5,_0x1bd432){var _0x2c1ddd;let _0x5c4288,_0x5076d1,_0xae8338;return _0x1bd432?(_0x5c4288=_0x43c9e5['changes'],_0x5076d1=ChangeSet['empty'](_0x43c9e5['changes']['length']),_0xae8338=_0x37428a['changes']['compose'](_0x43c9e5['changes'])):(_0x5c4288=_0x43c9e5['changes']['map'](_0x37428a['changes']),_0x5076d1=_0x37428a['changes']['mapDesc'](_0x43c9e5['changes'],!0x0),_0xae8338=_0x37428a['changes']['compose'](_0x5c4288)),{'changes':_0xae8338,'selection':_0x43c9e5['selection']?_0x43c9e5['selection']['map'](_0x5076d1):null===(_0x2c1ddd=_0x37428a['selection'])||void 0x0===_0x2c1ddd?void 0x0:_0x2c1ddd['map'](_0x5c4288),'effects':StateEffect['mapEffects'](_0x37428a['effects'],_0x5c4288)['concat'](StateEffect['mapEffects'](_0x43c9e5['effects'],_0x5076d1)),'annotations':_0x37428a['annotations']['length']?_0x37428a['annotations']['concat'](_0x43c9e5['annotations']):_0x43c9e5['annotations'],'scrollIntoView':_0x37428a['scrollIntoView']||_0x43c9e5['scrollIntoView']};}function R_(_0x9f8148,_0x294ec0,_0x226e77){let _0x4c5b59=_0x294ec0['selection'],_0x5b0dca=N_(_0x294ec0['annotations']);return _0x294ec0['userEvent']&&(_0x5b0dca=_0x5b0dca['concat'](Transaction['userEvent']['of'](_0x294ec0['userEvent']))),{'changes':_0x294ec0['changes']instanceof ChangeSet?_0x294ec0['changes']:ChangeSet['of'](_0x294ec0['changes']||[],_0x226e77,_0x9f8148['facet'](T_)),'selection':_0x4c5b59&&(_0x4c5b59 instanceof EditorSelection?_0x4c5b59:EditorSelection['single'](_0x4c5b59['anchor'],_0x4c5b59['head'])),'effects':N_(_0x294ec0['effects']),'annotations':_0x5b0dca,'scrollIntoView':!!_0x294ec0['scrollIntoView']};}function P_(_0x5f58b2,_0x351827,_0x54f016){let _0x3fe9fa=R_(_0x5f58b2,_0x351827['length']?_0x351827[0x0]:{},_0x5f58b2['doc']['length']);_0x351827['length']&&!0x1===_0x351827[0x0]['filter']&&(_0x54f016=!0x1);for(let _0x2c96eb=0x1;_0x2c96eb<_0x351827['length'];_0x2c96eb++){!0x1===_0x351827[_0x2c96eb]['filter']&&(_0x54f016=!0x1);let _0x89db42=!!_0x351827[_0x2c96eb]['sequential'];_0x3fe9fa=x_(_0x3fe9fa,R_(_0x5f58b2,_0x351827[_0x2c96eb],_0x89db42?_0x3fe9fa['changes']['newLength']:_0x5f58b2['doc']['length']),_0x89db42);}let _0x1ed616=Transaction['create'](_0x5f58b2,_0x3fe9fa['changes'],_0x3fe9fa['selection'],_0x3fe9fa['effects'],_0x3fe9fa['annotations'],_0x3fe9fa['scrollIntoView']);return function(_0x5c5e9f){let _0x292b4d=_0x5c5e9f['startState'],_0x29c27d=_0x292b4d['facet'](I_),_0x2a216a=_0x5c5e9f;for(let _0xec7b4b=_0x29c27d['length']-0x1;_0xec7b4b>=0x0;_0xec7b4b--){let _0x21afb2=_0x29c27d[_0xec7b4b](_0x5c5e9f);_0x21afb2&&Object['keys'](_0x21afb2)['length']&&(_0x2a216a=x_(_0x2a216a,R_(_0x292b4d,_0x21afb2,_0x5c5e9f['changes']['newLength']),!0x0));}return _0x2a216a==_0x5c5e9f?_0x5c5e9f:Transaction['create'](_0x292b4d,_0x5c5e9f['changes'],_0x5c5e9f['selection'],_0x2a216a['effects'],_0x2a216a['annotations'],_0x2a216a['scrollIntoView']);}(_0x54f016?function(_0x36e66a){let _0x256278=_0x36e66a['startState'],_0x2d4bc2=!0x0;for(let _0x454996 of _0x256278['facet'](A_)){let _0x436800=_0x454996(_0x36e66a);if(!0x1===_0x436800){_0x2d4bc2=!0x1;break;}Array['isArray'](_0x436800)&&(_0x2d4bc2=!0x0===_0x2d4bc2?_0x436800:k_(_0x2d4bc2,_0x436800));}if(!0x0!==_0x2d4bc2){let _0x1fec68,_0x27ca07;if(!0x1===_0x2d4bc2)_0x27ca07=_0x36e66a['changes']['invertedDesc'],_0x1fec68=ChangeSet['empty'](_0x256278['doc']['length']);else{let _0x5279ee=_0x36e66a['changes']['filter'](_0x2d4bc2);_0x1fec68=_0x5279ee['changes'],_0x27ca07=_0x5279ee['filtered']['mapDesc'](_0x5279ee['changes'])['invertedDesc'];}_0x36e66a=Transaction['create'](_0x256278,_0x1fec68,_0x36e66a['selection']&&_0x36e66a['selection']['map'](_0x27ca07),StateEffect['mapEffects'](_0x36e66a['effects'],_0x27ca07),_0x36e66a['annotations'],_0x36e66a['scrollIntoView']);}let _0x16e58c=_0x256278['facet'](S_);for(let _0x33e65a=_0x16e58c['length']-0x1;_0x33e65a>=0x0;_0x33e65a--){let _0x443553=_0x16e58c[_0x33e65a](_0x36e66a);_0x36e66a=_0x443553 instanceof Transaction?_0x443553:Array['isArray'](_0x443553)&&0x1==_0x443553['length']&&_0x443553[0x0]instanceof Transaction?_0x443553[0x0]:P_(_0x256278,N_(_0x443553),!0x1);}return _0x36e66a;}(_0x1ed616):_0x1ed616);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const M_=[];function N_(_0x5771de){return null==_0x5771de?M_:Array['isArray'](_0x5771de)?_0x5771de:[_0x5771de];}var L_=function(_0x4103b3){return _0x4103b3[_0x4103b3['Word']=0x0]='Word',_0x4103b3[_0x4103b3['Space']=0x1]='Space',_0x4103b3[_0x4103b3['Other']=0x2]='Other',_0x4103b3;}(L_||(L_={}));const $_=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let D_;try{D_=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x21382a){}function Q_(_0x33e706){return _0x1787fe=>{if(!/\S/['test'](_0x1787fe))return L_['Space'];if(function(_0x1f3ee4){if(D_)return D_['test'](_0x1f3ee4);for(let _0x49f491=0x0;_0x49f491<_0x1f3ee4['length'];_0x49f491++){let _0x5c29be=_0x1f3ee4[_0x49f491];if(/\w/['test'](_0x5c29be)||_0x5c29be>'\u0080'&&(_0x5c29be['toUpperCase']()!=_0x5c29be['toLowerCase']()||$_['test'](_0x5c29be)))return!0x0;}return!0x1;}(_0x1787fe))return L_['Word'];for(let _0x92cfcf=0x0;_0x92cfcf<_0x33e706['length'];_0x92cfcf++)if(_0x1787fe['indexOf'](_0x33e706[_0x92cfcf])>-0x1)return L_['Word'];return L_['Other'];};}class EditorState{constructor(_0x2ad2a5,_0x59d236,_0x507c0f,_0x57aa94,_0x497ce9,_0x51de38){this['config']=_0x2ad2a5,this['doc']=_0x59d236,this['selection']=_0x507c0f,this['values']=_0x57aa94,this['status']=_0x2ad2a5['statusTemplate']['slice'](),this['computeSlot']=_0x497ce9,_0x51de38&&(_0x51de38['_state']=this);for(let _0x5675a1=0x0;_0x5675a1<this['config']['dynamicSlots']['length'];_0x5675a1++)y_(this,_0x5675a1<<0x1);this['computeSlot']=null;}['field'](_0x5672ab,_0x126c9a=!0x0){let _0x48b980=this['config']['address'][_0x5672ab['id']];if(null!=_0x48b980)return y_(this,_0x48b980),v_(this,_0x48b980);if(_0x126c9a)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x5dd0e4){return P_(this,_0x5dd0e4,!0x0);}['applyTransaction'](_0x34d319){let _0xf6094f,_0x55d9e4=this['config'],{base:_0xa0f34c,compartments:_0x777e18}=_0x55d9e4;for(let _0x2e6fe9 of _0x34d319['effects'])_0x2e6fe9['is'](Compartment['reconfigure'])?(_0x55d9e4&&(_0x777e18=new Map(),_0x55d9e4['compartments']['forEach']((_0x117c14,_0x467375)=>_0x777e18['set'](_0x467375,_0x117c14)),_0x55d9e4=null),_0x777e18['set'](_0x2e6fe9['value']['compartment'],_0x2e6fe9['value']['extension'])):_0x2e6fe9['is'](StateEffect['reconfigure'])?(_0x55d9e4=null,_0xa0f34c=_0x2e6fe9['value']):_0x2e6fe9['is'](StateEffect['appendConfig'])&&(_0x55d9e4=null,_0xa0f34c=N_(_0xa0f34c)['concat'](_0x2e6fe9['value']));if(_0x55d9e4)_0xf6094f=_0x34d319['startState']['values']['slice']();else _0x55d9e4=Configuration['resolve'](_0xa0f34c,_0x777e18,this),_0xf6094f=new EditorState(_0x55d9e4,this['doc'],this['selection'],_0x55d9e4['dynamicSlots']['map'](()=>null),(_0x370fd2,_0x14853b)=>_0x14853b['reconfigure'](_0x370fd2,this),null)['values'];let _0x158e68=_0x34d319['startState']['facet'](E_)?_0x34d319['newSelection']:_0x34d319['newSelection']['asSingle']();new EditorState(_0x55d9e4,_0x34d319['newDoc'],_0x158e68,_0xf6094f,(_0x6a8727,_0x4103e5)=>_0x4103e5['update'](_0x6a8727,_0x34d319),_0x34d319);}['replaceSelection'](_0x19825e){return'string'==typeof _0x19825e&&(_0x19825e=this['toText'](_0x19825e)),this['changeByRange'](_0x236b2c=>({'changes':{'from':_0x236b2c['from'],'to':_0x236b2c['to'],'insert':_0x19825e},'range':EditorSelection['cursor'](_0x236b2c['from']+_0x19825e['length'])}));}['changeByRange'](_0x155465){let _0x553e81=this['selection'],_0x166cbd=_0x155465(_0x553e81['ranges'][0x0]),_0x48bceb=this['changes'](_0x166cbd['changes']),_0x543300=[_0x166cbd['range']],_0x5e0a6d=N_(_0x166cbd['effects']);for(let _0x22211f=0x1;_0x22211f<_0x553e81['ranges']['length'];_0x22211f++){let _0x37f9aa=_0x155465(_0x553e81['ranges'][_0x22211f]),_0x57ebe5=this['changes'](_0x37f9aa['changes']),_0x157282=_0x57ebe5['map'](_0x48bceb);for(let _0x5494d8=0x0;_0x5494d8<_0x22211f;_0x5494d8++)_0x543300[_0x5494d8]=_0x543300[_0x5494d8]['map'](_0x157282);let _0x221a08=_0x48bceb['mapDesc'](_0x57ebe5,!0x0);_0x543300['push'](_0x37f9aa['range']['map'](_0x221a08)),_0x48bceb=_0x48bceb['compose'](_0x157282),_0x5e0a6d=StateEffect['mapEffects'](_0x5e0a6d,_0x157282)['concat'](StateEffect['mapEffects'](N_(_0x37f9aa['effects']),_0x221a08));}return{'changes':_0x48bceb,'selection':EditorSelection['create'](_0x543300,_0x553e81['mainIndex']),'effects':_0x5e0a6d};}['changes'](_0x5941aa=[]){return _0x5941aa instanceof ChangeSet?_0x5941aa:ChangeSet['of'](_0x5941aa,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0xe6ef37){return Gv['of'](_0xe6ef37['split'](this['facet'](EditorState['lineSeparator'])||t_));}['sliceDoc'](_0x5de4a1=0x0,_0x2517ab=this['doc']['length']){return this['doc']['sliceString'](_0x5de4a1,_0x2517ab,this['lineBreak']);}['facet'](_0x44e6b5){let _0x27476b=this['config']['address'][_0x44e6b5['id']];return null==_0x27476b?_0x44e6b5['default']:(y_(this,_0x27476b),v_(this,_0x27476b));}['toJSON'](_0x2ae1e0){let _0x5494fe={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x2ae1e0)for(let _0x3ec41a in _0x2ae1e0){let _0x7b8039=_0x2ae1e0[_0x3ec41a];_0x7b8039 instanceof StateField&&null!=this['config']['address'][_0x7b8039['id']]&&(_0x5494fe[_0x3ec41a]=_0x7b8039['spec']['toJSON'](this['field'](_0x2ae1e0[_0x3ec41a]),this));}return _0x5494fe;}static['fromJSON'](_0x58204a,_0x1e3a29={},_0x491515){if(!_0x58204a||'string'!=typeof _0x58204a['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x9d1b20=[];if(_0x491515){for(let _0x2d6699 in _0x491515)if(Object['prototype']['hasOwnProperty']['call'](_0x58204a,_0x2d6699)){let _0x57ee84=_0x491515[_0x2d6699],_0x171322=_0x58204a[_0x2d6699];_0x9d1b20['push'](_0x57ee84['init'](_0x125254=>_0x57ee84['spec']['fromJSON'](_0x171322,_0x125254)));}}return EditorState['create']({'doc':_0x58204a['doc'],'selection':EditorSelection['fromJSON'](_0x58204a['selection']),'extensions':_0x1e3a29['extensions']?_0x9d1b20['concat']([_0x1e3a29['extensions']]):_0x9d1b20});}static['create'](_0x421f23={}){let _0x39fb82=Configuration['resolve'](_0x421f23['extensions']||[],new Map()),_0x5d3cc0=_0x421f23['doc']instanceof Gv?_0x421f23['doc']:Gv['of']((_0x421f23['doc']||'')['split'](_0x39fb82['staticFacet'](EditorState['lineSeparator'])||t_)),_0x3552c6=_0x421f23['selection']?_0x421f23['selection']instanceof EditorSelection?_0x421f23['selection']:EditorSelection['single'](_0x421f23['selection']['anchor'],_0x421f23['selection']['head']):EditorSelection['single'](0x0);return a_(_0x3552c6,_0x5d3cc0['length']),_0x39fb82['staticFacet'](E_)||(_0x3552c6=_0x3552c6['asSingle']()),new EditorState(_0x39fb82,_0x5d3cc0,_0x3552c6,_0x39fb82['dynamicSlots']['map'](()=>null),(_0x11db16,_0x11aa91)=>_0x11aa91['create'](_0x11db16),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](C_);}['phrase'](_0x3701c6,..._0x41f192){for(let _0x25dee8 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x25dee8,_0x3701c6)){_0x3701c6=_0x25dee8[_0x3701c6];break;}return _0x41f192['length']&&(_0x3701c6=_0x3701c6['replace'](/\$(\$|\d*)/g,(_0x5be8b7,_0x3e07e5)=>{if('$'==_0x3e07e5)return'$';let _0x29353c=+(_0x3e07e5||0x1);return!_0x29353c||_0x29353c>_0x41f192['length']?_0x5be8b7:_0x41f192[_0x29353c-0x1];})),_0x3701c6;}['languageDataAt'](_0x2c8ee5,_0x5f044b,_0x2a9f6f=-0x1){let _0x4b2868=[];for(let _0x4fb877 of this['facet'](__))for(let _0x43e41a of _0x4fb877(this,_0x5f044b,_0x2a9f6f))Object['prototype']['hasOwnProperty']['call'](_0x43e41a,_0x2c8ee5)&&_0x4b2868['push'](_0x43e41a[_0x2c8ee5]);return _0x4b2868;}['charCategorizer'](_0x50a11a){return Q_(this['languageDataAt']('wordChars',_0x50a11a)['join'](''));}['wordAt'](_0x3ee3af){let {text:_0x5aaf8c,from:_0x52746c,length:_0x46f4e6}=this['doc']['lineAt'](_0x3ee3af),_0x44b587=this['charCategorizer'](_0x3ee3af),_0x2d3bab=_0x3ee3af-_0x52746c,_0x5a2460=_0x3ee3af-_0x52746c;for(;_0x2d3bab>0x0;){let _0x364a0b=zv(_0x5aaf8c,_0x2d3bab,!0x1);if(_0x44b587(_0x5aaf8c['slice'](_0x364a0b,_0x2d3bab))!=L_['Word'])break;_0x2d3bab=_0x364a0b;}for(;_0x5a2460<_0x46f4e6;){let _0x9dc892=zv(_0x5aaf8c,_0x5a2460);if(_0x44b587(_0x5aaf8c['slice'](_0x5a2460,_0x9dc892))!=L_['Word'])break;_0x5a2460=_0x9dc892;}return _0x2d3bab==_0x5a2460?null:EditorSelection['range'](_0x2d3bab+_0x52746c,_0x5a2460+_0x52746c);}}function V_(_0x1c3d98,_0x5a506c,_0x396e45={}){let _0x56a69b={};for(let _0x3eb338 of _0x1c3d98)for(let _0x574e11 of Object['keys'](_0x3eb338)){let _0x565dca=_0x3eb338[_0x574e11],_0x252206=_0x56a69b[_0x574e11];if(void 0x0===_0x252206)_0x56a69b[_0x574e11]=_0x565dca;else{if(_0x252206===_0x565dca||void 0x0===_0x565dca);else{if(!Object['hasOwnProperty']['call'](_0x396e45,_0x574e11))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x574e11);_0x56a69b[_0x574e11]=_0x396e45[_0x574e11](_0x252206,_0x565dca);}}}for(let _0x240132 in _0x5a506c)void 0x0===_0x56a69b[_0x240132]&&(_0x56a69b[_0x240132]=_0x5a506c[_0x240132]);return _0x56a69b;}EditorState['allowMultipleSelections']=E_,EditorState['tabSize']=Facet['define']({'combine':_0x76da5d=>_0x76da5d['length']?_0x76da5d[0x0]:0x4}),EditorState['lineSeparator']=T_,EditorState['readOnly']=C_,EditorState['phrases']=Facet['define']({'compare'(_0x2f66d4,_0x558e5a){let _0x7de90d=Object['keys'](_0x2f66d4),_0x1b27dc=Object['keys'](_0x558e5a);return _0x7de90d['length']==_0x1b27dc['length']&&_0x7de90d['every'](_0x1da10c=>_0x2f66d4[_0x1da10c]==_0x558e5a[_0x1da10c]);}}),EditorState['languageData']=__,EditorState['changeFilter']=A_,EditorState['transactionFilter']=S_,EditorState['transactionExtender']=I_,Compartment['reconfigure']=StateEffect['define']();class RangeValue{['eq'](_0x27ed97){return this==_0x27ed97;}['range'](_0x2bea25,_0x477b9f=_0x2bea25){return U_['create'](_0x2bea25,_0x477b9f,this);}}RangeValue['prototype']['startSide']=RangeValue['prototype']['endSide']=0x0,RangeValue['prototype']['point']=!0x1,RangeValue['prototype']['mapMode']=e_['TrackDel'];let U_=class Range{constructor(_0x2f11d1,_0x4b2d30,_0xdbd306){this['from']=_0x2f11d1,this['to']=_0x4b2d30,this['value']=_0xdbd306;}static['create'](_0x4c6505,_0x69402a,_0x34a758){return new Range(_0x4c6505,_0x69402a,_0x34a758);}};function B_(_0x57c297,_0x4f4ff4){return _0x57c297['from']-_0x4f4ff4['from']||_0x57c297['value']['startSide']-_0x4f4ff4['value']['startSide'];}class Chunk{constructor(_0x5d8391,_0x536baf,_0x480464,_0x31b586){this['from']=_0x5d8391,this['to']=_0x536baf,this['value']=_0x480464,this['maxPoint']=_0x31b586;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x342db4,_0x243d4d,_0x15ad60,_0x525cbb=0x0){let _0x40765d=_0x15ad60?this['to']:this['from'];for(let _0x439ce7=_0x525cbb,_0x85c277=_0x40765d['length'];;){if(_0x439ce7==_0x85c277)return _0x439ce7;let _0x1934c6=_0x439ce7+_0x85c277>>0x1,_0x4d776a=_0x40765d[_0x1934c6]-_0x342db4||(_0x15ad60?this['value'][_0x1934c6]['endSide']:this['value'][_0x1934c6]['startSide'])-_0x243d4d;if(_0x1934c6==_0x439ce7)return _0x4d776a>=0x0?_0x439ce7:_0x85c277;_0x4d776a>=0x0?_0x85c277=_0x1934c6:_0x439ce7=_0x1934c6+0x1;}}['between'](_0x186add,_0x13391f,_0x5317f6,_0x22c64c){for(let _0x364196=this['findIndex'](_0x13391f,-0x3b9aca00,!0x0),_0x414a44=this['findIndex'](_0x5317f6,0x3b9aca00,!0x1,_0x364196);_0x364196<_0x414a44;_0x364196++)if(!0x1===_0x22c64c(this['from'][_0x364196]+_0x186add,this['to'][_0x364196]+_0x186add,this['value'][_0x364196]))return!0x1;}['map'](_0x515e3a,_0x4f3806){let _0x432b27=[],_0x320541=[],_0x45b450=[],_0x41292f=-0x1,_0x228ad5=-0x1;for(let _0x4eab43=0x0;_0x4eab43<this['value']['length'];_0x4eab43++){let _0x2f15fb,_0x864cb9,_0x42cb00=this['value'][_0x4eab43],_0x23f5e6=this['from'][_0x4eab43]+_0x515e3a,_0x27631b=this['to'][_0x4eab43]+_0x515e3a;if(_0x23f5e6==_0x27631b){let _0x1ec308=_0x4f3806['mapPos'](_0x23f5e6,_0x42cb00['startSide'],_0x42cb00['mapMode']);if(null==_0x1ec308)continue;if(_0x2f15fb=_0x864cb9=_0x1ec308,_0x42cb00['startSide']!=_0x42cb00['endSide']&&(_0x864cb9=_0x4f3806['mapPos'](_0x23f5e6,_0x42cb00['endSide']),_0x864cb9<_0x2f15fb))continue;}else{if(_0x2f15fb=_0x4f3806['mapPos'](_0x23f5e6,_0x42cb00['startSide']),_0x864cb9=_0x4f3806['mapPos'](_0x27631b,_0x42cb00['endSide']),_0x2f15fb>_0x864cb9||_0x2f15fb==_0x864cb9&&_0x42cb00['startSide']>0x0&&_0x42cb00['endSide']<=0x0)continue;}(_0x864cb9-_0x2f15fb||_0x42cb00['endSide']-_0x42cb00['startSide'])<0x0||(_0x41292f<0x0&&(_0x41292f=_0x2f15fb),_0x42cb00['point']&&(_0x228ad5=Math['max'](_0x228ad5,_0x864cb9-_0x2f15fb)),_0x432b27['push'](_0x42cb00),_0x320541['push'](_0x2f15fb-_0x41292f),_0x45b450['push'](_0x864cb9-_0x41292f));}return{'mapped':_0x432b27['length']?new Chunk(_0x320541,_0x45b450,_0x432b27,_0x228ad5):null,'pos':_0x41292f};}}class RangeSet{constructor(_0x1a328f,_0x363bb3,_0xadeed,_0x3e4ea1){this['chunkPos']=_0x1a328f,this['chunk']=_0x363bb3,this['nextLayer']=_0xadeed,this['maxPoint']=_0x3e4ea1;}static['create'](_0x443233,_0x200bdd,_0x567238,_0x2b02d2){return new RangeSet(_0x443233,_0x200bdd,_0x567238,_0x2b02d2);}get['length'](){let _0x269e39=this['chunk']['length']-0x1;return _0x269e39<0x0?0x0:Math['max'](this['chunkEnd'](_0x269e39),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x3c43fa=this['nextLayer']['size'];for(let _0x4cdb9d of this['chunk'])_0x3c43fa+=_0x4cdb9d['value']['length'];return _0x3c43fa;}['chunkEnd'](_0x1f40c9){return this['chunkPos'][_0x1f40c9]+this['chunk'][_0x1f40c9]['length'];}['update'](_0x4edc34){let {add:_0x4d8944=[],sort:_0x586dbc=!0x1,filterFrom:_0x2a1a29=0x0,filterTo:_0x2b802e=this['length']}=_0x4edc34,_0x50633a=_0x4edc34['filter'];if(0x0==_0x4d8944['length']&&!_0x50633a)return this;if(_0x586dbc&&(_0x4d8944=_0x4d8944['slice']()['sort'](B_)),this['isEmpty'])return _0x4d8944['length']?RangeSet['of'](_0x4d8944):this;let _0x44b97b=new LayerCursor(this,null,-0x1)['goto'](0x0),_0x4da570=0x0,_0x5e9e6d=[],_0x395acd=new RangeSetBuilder();for(;_0x44b97b['value']||_0x4da570<_0x4d8944['length'];)if(_0x4da570<_0x4d8944['length']&&(_0x44b97b['from']-_0x4d8944[_0x4da570]['from']||_0x44b97b['startSide']-_0x4d8944[_0x4da570]['value']['startSide'])>=0x0){let _0x263340=_0x4d8944[_0x4da570++];_0x395acd['addInner'](_0x263340['from'],_0x263340['to'],_0x263340['value'])||_0x5e9e6d['push'](_0x263340);}else 0x1==_0x44b97b['rangeIndex']&&_0x44b97b['chunkIndex']<this['chunk']['length']&&(_0x4da570==_0x4d8944['length']||this['chunkEnd'](_0x44b97b['chunkIndex'])<_0x4d8944[_0x4da570]['from'])&&(!_0x50633a||_0x2a1a29>this['chunkEnd'](_0x44b97b['chunkIndex'])||_0x2b802e<this['chunkPos'][_0x44b97b['chunkIndex']])&&_0x395acd['addChunk'](this['chunkPos'][_0x44b97b['chunkIndex']],this['chunk'][_0x44b97b['chunkIndex']])?_0x44b97b['nextChunk']():((!_0x50633a||_0x2a1a29>_0x44b97b['to']||_0x2b802e<_0x44b97b['from']||_0x50633a(_0x44b97b['from'],_0x44b97b['to'],_0x44b97b['value']))&&(_0x395acd['addInner'](_0x44b97b['from'],_0x44b97b['to'],_0x44b97b['value'])||_0x5e9e6d['push'](U_['create'](_0x44b97b['from'],_0x44b97b['to'],_0x44b97b['value']))),_0x44b97b['next']());return _0x395acd['finishInner'](this['nextLayer']['isEmpty']&&!_0x5e9e6d['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x5e9e6d,'filter':_0x50633a,'filterFrom':_0x2a1a29,'filterTo':_0x2b802e}));}['map'](_0xbce619){if(_0xbce619['empty']||this['isEmpty'])return this;let _0x4cf8f6=[],_0xa6e429=[],_0x406ee6=-0x1;for(let _0x2a5a2f=0x0;_0x2a5a2f<this['chunk']['length'];_0x2a5a2f++){let _0x17638d=this['chunkPos'][_0x2a5a2f],_0x51d3d7=this['chunk'][_0x2a5a2f],_0x4d7b62=_0xbce619['touchesRange'](_0x17638d,_0x17638d+_0x51d3d7['length']);if(!0x1===_0x4d7b62)_0x406ee6=Math['max'](_0x406ee6,_0x51d3d7['maxPoint']),_0x4cf8f6['push'](_0x51d3d7),_0xa6e429['push'](_0xbce619['mapPos'](_0x17638d));else{if(!0x0===_0x4d7b62){let {mapped:_0x3d5f78,pos:_0x21650b}=_0x51d3d7['map'](_0x17638d,_0xbce619);_0x3d5f78&&(_0x406ee6=Math['max'](_0x406ee6,_0x3d5f78['maxPoint']),_0x4cf8f6['push'](_0x3d5f78),_0xa6e429['push'](_0x21650b));}}}let _0x165c6f=this['nextLayer']['map'](_0xbce619);return 0x0==_0x4cf8f6['length']?_0x165c6f:new RangeSet(_0xa6e429,_0x4cf8f6,_0x165c6f||RangeSet['empty'],_0x406ee6);}['between'](_0x49203b,_0x1c245c,_0x3d2609){if(!this['isEmpty']){for(let _0x251279=0x0;_0x251279<this['chunk']['length'];_0x251279++){let _0x21e89b=this['chunkPos'][_0x251279],_0x3ef762=this['chunk'][_0x251279];if(_0x1c245c>=_0x21e89b&&_0x49203b<=_0x21e89b+_0x3ef762['length']&&!0x1===_0x3ef762['between'](_0x21e89b,_0x49203b-_0x21e89b,_0x1c245c-_0x21e89b,_0x3d2609))return;}this['nextLayer']['between'](_0x49203b,_0x1c245c,_0x3d2609);}}['iter'](_0x4cdd1d=0x0){return HeapCursor['from']([this])['goto'](_0x4cdd1d);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x2d5ddd,_0x45dffd=0x0){return HeapCursor['from'](_0x2d5ddd)['goto'](_0x45dffd);}static['compare'](_0x168af0,_0x36ab9d,_0xf4eb6,_0x4571e9,_0x460822=-0x1){let _0x53ec33=_0x168af0['filter'](_0x431b65=>_0x431b65['maxPoint']>0x0||!_0x431b65['isEmpty']&&_0x431b65['maxPoint']>=_0x460822),_0x256e1e=_0x36ab9d['filter'](_0x5171e2=>_0x5171e2['maxPoint']>0x0||!_0x5171e2['isEmpty']&&_0x5171e2['maxPoint']>=_0x460822),_0x120a67=j_(_0x53ec33,_0x256e1e,_0xf4eb6),_0xbd7dba=new SpanCursor(_0x53ec33,_0x120a67,_0x460822),_0x36b9e9=new SpanCursor(_0x256e1e,_0x120a67,_0x460822);_0xf4eb6['iterGaps']((_0x130063,_0x39ed90,_0x5d7aae)=>H_(_0xbd7dba,_0x130063,_0x36b9e9,_0x39ed90,_0x5d7aae,_0x4571e9)),_0xf4eb6['empty']&&0x0==_0xf4eb6['length']&&H_(_0xbd7dba,0x0,_0x36b9e9,0x0,0x0,_0x4571e9);}static['eq'](_0x3e8956,_0x40e732,_0x378bd1=0x0,_0x177bec){null==_0x177bec&&(_0x177bec=0x3b9ac9ff);let _0x3a5e1a=_0x3e8956['filter'](_0x13f4f7=>!_0x13f4f7['isEmpty']&&_0x40e732['indexOf'](_0x13f4f7)<0x0),_0x5ca416=_0x40e732['filter'](_0x333b1f=>!_0x333b1f['isEmpty']&&_0x3e8956['indexOf'](_0x333b1f)<0x0);if(_0x3a5e1a['length']!=_0x5ca416['length'])return!0x1;if(!_0x3a5e1a['length'])return!0x0;let _0x10ad71=j_(_0x3a5e1a,_0x5ca416),_0x306e36=new SpanCursor(_0x3a5e1a,_0x10ad71,0x0)['goto'](_0x378bd1),_0xbce2e5=new SpanCursor(_0x5ca416,_0x10ad71,0x0)['goto'](_0x378bd1);for(;;){if(_0x306e36['to']!=_0xbce2e5['to']||!G_(_0x306e36['active'],_0xbce2e5['active'])||_0x306e36['point']&&(!_0xbce2e5['point']||!_0x306e36['point']['eq'](_0xbce2e5['point'])))return!0x1;if(_0x306e36['to']>_0x177bec)return!0x0;_0x306e36['next'](),_0xbce2e5['next']();}}static['spans'](_0xa8e759,_0xf07bd6,_0x273a29,_0x4b42d2,_0x3c80fd=-0x1){let _0x15d4f8=new SpanCursor(_0xa8e759,null,_0x3c80fd)['goto'](_0xf07bd6),_0x10ef66=_0xf07bd6,_0x379776=_0x15d4f8['openStart'];for(;;){let _0x57d215=Math['min'](_0x15d4f8['to'],_0x273a29);if(_0x15d4f8['point']){let _0xf5ac70=_0x15d4f8['activeForPoint'](_0x15d4f8['to']),_0xe446d4=_0x15d4f8['pointFrom']<_0xf07bd6?_0xf5ac70['length']+0x1:_0x15d4f8['point']['startSide']<0x0?_0xf5ac70['length']:Math['min'](_0xf5ac70['length'],_0x379776);_0x4b42d2['point'](_0x10ef66,_0x57d215,_0x15d4f8['point'],_0xf5ac70,_0xe446d4,_0x15d4f8['pointRank']),_0x379776=Math['min'](_0x15d4f8['openEnd'](_0x57d215),_0xf5ac70['length']);}else _0x57d215>_0x10ef66&&(_0x4b42d2['span'](_0x10ef66,_0x57d215,_0x15d4f8['active'],_0x379776),_0x379776=_0x15d4f8['openEnd'](_0x57d215));if(_0x15d4f8['to']>_0x273a29)return _0x379776+(_0x15d4f8['point']&&_0x15d4f8['to']>_0x273a29?0x1:0x0);_0x10ef66=_0x15d4f8['to'],_0x15d4f8['next']();}}static['of'](_0x1e0e5f,_0x317c9f=!0x1){let _0x439f74=new RangeSetBuilder();for(let _0x17e196 of _0x1e0e5f instanceof U_?[_0x1e0e5f]:_0x317c9f?function(_0x1adde0){if(_0x1adde0['length']>0x1)for(let _0x347d66=_0x1adde0[0x0],_0x28ae72=0x1;_0x28ae72<_0x1adde0['length'];_0x28ae72++){let _0x52a060=_0x1adde0[_0x28ae72];if(B_(_0x347d66,_0x52a060)>0x0)return _0x1adde0['slice']()['sort'](B_);_0x347d66=_0x52a060;}return _0x1adde0;}(_0x1e0e5f):_0x1e0e5f)_0x439f74['add'](_0x17e196['from'],_0x17e196['to'],_0x17e196['value']);return _0x439f74['finish']();}static['join'](_0x2b1362){if(!_0x2b1362['length'])return RangeSet['empty'];let _0xfd49f8=_0x2b1362[_0x2b1362['length']-0x1];for(let _0xa46db5=_0x2b1362['length']-0x2;_0xa46db5>=0x0;_0xa46db5--)for(let _0x183c0c=_0x2b1362[_0xa46db5];_0x183c0c!=RangeSet['empty'];_0x183c0c=_0x183c0c['nextLayer'])_0xfd49f8=new RangeSet(_0x183c0c['chunkPos'],_0x183c0c['chunk'],_0xfd49f8,Math['max'](_0x183c0c['maxPoint'],_0xfd49f8['maxPoint']));return _0xfd49f8;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x3de15b){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,_0x3de15b&&(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'](_0x42d39f,_0x303f4b,_0x909fe6){this['addInner'](_0x42d39f,_0x303f4b,_0x909fe6)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x42d39f,_0x303f4b,_0x909fe6);}['addInner'](_0x1ab1b9,_0x13fe99,_0x2f6cb7){let _0x334054=_0x1ab1b9-this['lastTo']||_0x2f6cb7['startSide']-this['last']['endSide'];if(_0x334054<=0x0&&(_0x1ab1b9-this['lastFrom']||_0x2f6cb7['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x334054<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x1ab1b9),this['from']['push'](_0x1ab1b9-this['chunkStart']),this['to']['push'](_0x13fe99-this['chunkStart']),this['last']=_0x2f6cb7,this['lastFrom']=_0x1ab1b9,this['lastTo']=_0x13fe99,this['value']['push'](_0x2f6cb7),_0x2f6cb7['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x13fe99-_0x1ab1b9)),!0x0);}['addChunk'](_0x5ef711,_0x1daae2){if((_0x5ef711-this['lastTo']||_0x1daae2['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x1daae2['maxPoint']),this['chunks']['push'](_0x1daae2),this['chunkPos']['push'](_0x5ef711);let _0x1303cb=_0x1daae2['value']['length']-0x1;return this['last']=_0x1daae2['value'][_0x1303cb],this['lastFrom']=_0x1daae2['from'][_0x1303cb]+_0x5ef711,this['lastTo']=_0x1daae2['to'][_0x1303cb]+_0x5ef711,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x478973){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x478973;let _0x1c4cc7=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x478973):_0x478973,this['setMaxPoint']);return this['from']=null,_0x1c4cc7;}}function j_(_0xa13b33,_0x5cd9d8,_0x422189){let _0x1a1d01=new Map();for(let _0x1edbb0 of _0xa13b33)for(let _0x2ed426=0x0;_0x2ed426<_0x1edbb0['chunk']['length'];_0x2ed426++)_0x1edbb0['chunk'][_0x2ed426]['maxPoint']<=0x0&&_0x1a1d01['set'](_0x1edbb0['chunk'][_0x2ed426],_0x1edbb0['chunkPos'][_0x2ed426]);let _0x5eadf1=new Set();for(let _0x45ea2b of _0x5cd9d8)for(let _0x2934fb=0x0;_0x2934fb<_0x45ea2b['chunk']['length'];_0x2934fb++){let _0x2ed88f=_0x1a1d01['get'](_0x45ea2b['chunk'][_0x2934fb]);null==_0x2ed88f||(_0x422189?_0x422189['mapPos'](_0x2ed88f):_0x2ed88f)!=_0x45ea2b['chunkPos'][_0x2934fb]||(null==_0x422189?void 0x0:_0x422189['touchesRange'](_0x2ed88f,_0x2ed88f+_0x45ea2b['chunk'][_0x2934fb]['length']))||_0x5eadf1['add'](_0x45ea2b['chunk'][_0x2934fb]);}return _0x5eadf1;}class LayerCursor{constructor(_0x42b5ac,_0xeb7499,_0x11f096,_0x18a0c4=0x0){this['layer']=_0x42b5ac,this['skip']=_0xeb7499,this['minPoint']=_0x11f096,this['rank']=_0x18a0c4;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x15f1c5,_0x18ec70=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x15f1c5,_0x18ec70,!0x1),this;}['gotoInner'](_0x50d710,_0x3c97ee,_0x21d0bf){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x5da0e5=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x5da0e5)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x50d710||_0x5da0e5['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x21d0bf=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x17e86e=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x50d710-this['layer']['chunkPos'][this['chunkIndex']],_0x3c97ee,!0x0);(!_0x21d0bf||this['rangeIndex']<_0x17e86e)&&this['setRangeIndex'](_0x17e86e);}this['next']();}['forward'](_0x1dbe80,_0x1375f9){(this['to']-_0x1dbe80||this['endSide']-_0x1375f9)<0x0&&this['gotoInner'](_0x1dbe80,_0x1375f9,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x54ea0e=this['layer']['chunkPos'][this['chunkIndex']],_0x2d4c58=this['layer']['chunk'][this['chunkIndex']],_0x5d826b=_0x54ea0e+_0x2d4c58['from'][this['rangeIndex']];if(this['from']=_0x5d826b,this['to']=_0x54ea0e+_0x2d4c58['to'][this['rangeIndex']],this['value']=_0x2d4c58['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0xdd4a3d){if(_0xdd4a3d==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']=_0xdd4a3d;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x4d8a0a){return this['from']-_0x4d8a0a['from']||this['startSide']-_0x4d8a0a['startSide']||this['rank']-_0x4d8a0a['rank']||this['to']-_0x4d8a0a['to']||this['endSide']-_0x4d8a0a['endSide'];}}class HeapCursor{constructor(_0x4ef3a4){this['heap']=_0x4ef3a4;}static['from'](_0x35f3a2,_0x4d833b=null,_0x5bda42=-0x1){let _0x17a4a4=[];for(let _0x2681d1=0x0;_0x2681d1<_0x35f3a2['length'];_0x2681d1++)for(let _0x53ad30=_0x35f3a2[_0x2681d1];!_0x53ad30['isEmpty'];_0x53ad30=_0x53ad30['nextLayer'])_0x53ad30['maxPoint']>=_0x5bda42&&_0x17a4a4['push'](new LayerCursor(_0x53ad30,_0x4d833b,_0x5bda42,_0x2681d1));return 0x1==_0x17a4a4['length']?_0x17a4a4[0x0]:new HeapCursor(_0x17a4a4);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x13985a,_0x5dd4a4=-0x3b9aca00){for(let _0x462591 of this['heap'])_0x462591['goto'](_0x13985a,_0x5dd4a4);for(let _0x355af2=this['heap']['length']>>0x1;_0x355af2>=0x0;_0x355af2--)F_(this['heap'],_0x355af2);return this['next'](),this;}['forward'](_0x4a05db,_0x2cf654){for(let _0x2e9ede of this['heap'])_0x2e9ede['forward'](_0x4a05db,_0x2cf654);for(let _0x2f466=this['heap']['length']>>0x1;_0x2f466>=0x0;_0x2f466--)F_(this['heap'],_0x2f466);(this['to']-_0x4a05db||this['value']['endSide']-_0x2cf654)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x3ddfec=this['heap'][0x0];this['from']=_0x3ddfec['from'],this['to']=_0x3ddfec['to'],this['value']=_0x3ddfec['value'],this['rank']=_0x3ddfec['rank'],_0x3ddfec['value']&&_0x3ddfec['next'](),F_(this['heap'],0x0);}}}function F_(_0x240e77,_0x134663){for(let _0x4c614c=_0x240e77[_0x134663];;){let _0x140d33=0x1+(_0x134663<<0x1);if(_0x140d33>=_0x240e77['length'])break;let _0x4fad6b=_0x240e77[_0x140d33];if(_0x140d33+0x1<_0x240e77['length']&&_0x4fad6b['compare'](_0x240e77[_0x140d33+0x1])>=0x0&&(_0x4fad6b=_0x240e77[_0x140d33+0x1],_0x140d33++),_0x4c614c['compare'](_0x4fad6b)<0x0)break;_0x240e77[_0x140d33]=_0x4c614c,_0x240e77[_0x134663]=_0x4fad6b,_0x134663=_0x140d33;}}class SpanCursor{constructor(_0x75542d,_0x52996e,_0x81fd4d){this['minPoint']=_0x81fd4d,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'](_0x75542d,_0x52996e,_0x81fd4d);}['goto'](_0x3a9f5a,_0x4ac52d=-0x3b9aca00){return this['cursor']['goto'](_0x3a9f5a,_0x4ac52d),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x3a9f5a,this['endSide']=_0x4ac52d,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x4e7686,_0x415edb){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x4e7686||this['active'][this['minActive']]['endSide']-_0x415edb)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x4e7686,_0x415edb);}['removeActive'](_0x38cdf7){Z_(this['active'],_0x38cdf7),Z_(this['activeTo'],_0x38cdf7),Z_(this['activeRank'],_0x38cdf7),this['minActive']=q_(this['active'],this['activeTo']);}['addActive'](_0x4b385b){let _0x563990=0x0,{value:_0x9428fc,to:_0x3f118c,rank:_0x4e9228}=this['cursor'];for(;_0x563990<this['activeRank']['length']&&(_0x4e9228-this['activeRank'][_0x563990]||_0x3f118c-this['activeTo'][_0x563990])>0x0;)_0x563990++;X_(this['active'],_0x563990,_0x9428fc),X_(this['activeTo'],_0x563990,_0x3f118c),X_(this['activeRank'],_0x563990,_0x4e9228),_0x4b385b&&X_(_0x4b385b,_0x563990,this['cursor']['from']),this['minActive']=q_(this['active'],this['activeTo']);}['next'](){let _0xc05573=this['to'],_0x3a4c69=this['point'];this['point']=null;let _0xf1360=this['openStart']<0x0?[]:null;for(;;){let _0x57467f=this['minActive'];if(_0x57467f>-0x1&&(this['activeTo'][_0x57467f]-this['cursor']['from']||this['active'][_0x57467f]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x57467f]>_0xc05573){this['to']=this['activeTo'][_0x57467f],this['endSide']=this['active'][_0x57467f]['endSide'];break;}this['removeActive'](_0x57467f),_0xf1360&&Z_(_0xf1360,_0x57467f);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0xc05573){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x2630d4=this['cursor']['value'];if(_0x2630d4['point']){if(!(_0x3a4c69&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x2630d4,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x2630d4['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0xf1360),this['cursor']['next']();}}}if(_0xf1360){this['openStart']=0x0;for(let _0x528824=_0xf1360['length']-0x1;_0x528824>=0x0&&_0xf1360[_0x528824]<_0xc05573;_0x528824--)this['openStart']++;}}['activeForPoint'](_0x42f140){if(!this['active']['length'])return this['active'];let _0x374a93=[];for(let _0x185530=this['active']['length']-0x1;_0x185530>=0x0&&!(this['activeRank'][_0x185530]<this['pointRank']);_0x185530--)(this['activeTo'][_0x185530]>_0x42f140||this['activeTo'][_0x185530]==_0x42f140&&this['active'][_0x185530]['endSide']>=this['point']['endSide'])&&_0x374a93['push'](this['active'][_0x185530]);return _0x374a93['reverse']();}['openEnd'](_0x113d05){let _0x45b49f=0x0;for(let _0x12c718=this['activeTo']['length']-0x1;_0x12c718>=0x0&&this['activeTo'][_0x12c718]>_0x113d05;_0x12c718--)_0x45b49f++;return _0x45b49f;}}function H_(_0xb4026c,_0x3c13d8,_0x1071b2,_0xccb4b8,_0x3c4081,_0x407569){_0xb4026c['goto'](_0x3c13d8),_0x1071b2['goto'](_0xccb4b8);let _0x185f8d=_0xccb4b8+_0x3c4081,_0x3f6975=_0xccb4b8,_0x6a1eea=_0xccb4b8-_0x3c13d8;for(;;){let _0x1fb120=_0xb4026c['to']+_0x6a1eea-_0x1071b2['to'],_0x97c070=_0x1fb120||_0xb4026c['endSide']-_0x1071b2['endSide'],_0x2c1845=_0x97c070<0x0?_0xb4026c['to']+_0x6a1eea:_0x1071b2['to'],_0x2c7722=Math['min'](_0x2c1845,_0x185f8d);if(_0xb4026c['point']||_0x1071b2['point']?_0xb4026c['point']&&_0x1071b2['point']&&(_0xb4026c['point']==_0x1071b2['point']||_0xb4026c['point']['eq'](_0x1071b2['point']))&&G_(_0xb4026c['activeForPoint'](_0xb4026c['to']),_0x1071b2['activeForPoint'](_0x1071b2['to']))||_0x407569['comparePoint'](_0x3f6975,_0x2c7722,_0xb4026c['point'],_0x1071b2['point']):_0x2c7722>_0x3f6975&&!G_(_0xb4026c['active'],_0x1071b2['active'])&&_0x407569['compareRange'](_0x3f6975,_0x2c7722,_0xb4026c['active'],_0x1071b2['active']),_0x2c1845>_0x185f8d)break;(_0x1fb120||_0xb4026c['openEnd']!=_0x1071b2['openEnd'])&&_0x407569['boundChange']&&_0x407569['boundChange'](_0x2c1845),_0x3f6975=_0x2c1845,_0x97c070<=0x0&&_0xb4026c['next'](),_0x97c070>=0x0&&_0x1071b2['next']();}}function G_(_0x58c3b0,_0x3f865a){if(_0x58c3b0['length']!=_0x3f865a['length'])return!0x1;for(let _0x185be7=0x0;_0x185be7<_0x58c3b0['length'];_0x185be7++)if(_0x58c3b0[_0x185be7]!=_0x3f865a[_0x185be7]&&!_0x58c3b0[_0x185be7]['eq'](_0x3f865a[_0x185be7]))return!0x1;return!0x0;}function Z_(_0x145f40,_0x3ea601){for(let _0x792860=_0x3ea601,_0x2cdda8=_0x145f40['length']-0x1;_0x792860<_0x2cdda8;_0x792860++)_0x145f40[_0x792860]=_0x145f40[_0x792860+0x1];_0x145f40['pop']();}function X_(_0x33d616,_0x1cd135,_0x4da92b){for(let _0x277ba3=_0x33d616['length']-0x1;_0x277ba3>=_0x1cd135;_0x277ba3--)_0x33d616[_0x277ba3+0x1]=_0x33d616[_0x277ba3];_0x33d616[_0x1cd135]=_0x4da92b;}function q_(_0x1a9a5d,_0x3f95ee){let _0x125c8a=-0x1,_0x282f37=0x3b9aca00;for(let _0x45585b=0x0;_0x45585b<_0x3f95ee['length'];_0x45585b++)(_0x3f95ee[_0x45585b]-_0x282f37||_0x1a9a5d[_0x45585b]['endSide']-_0x1a9a5d[_0x125c8a]['endSide'])<0x0&&(_0x125c8a=_0x45585b,_0x282f37=_0x3f95ee[_0x45585b]);return _0x125c8a;}function W_(_0xf793fa,_0x411100,_0x165903=_0xf793fa['length']){let _0x5529e2=0x0;for(let _0x3e7878=0x0;_0x3e7878<_0x165903&&_0x3e7878<_0xf793fa['length'];)0x9==_0xf793fa['charCodeAt'](_0x3e7878)?(_0x5529e2+=_0x411100-_0x5529e2%_0x411100,_0x3e7878++):(_0x5529e2++,_0x3e7878=zv(_0xf793fa,_0x3e7878));return _0x5529e2;}function z_(_0x56215b,_0xe97ae2,_0x1f1094,_0x218771){for(let _0x4cdd8b=0x0,_0x29a631=0x0;;){if(_0x29a631>=_0xe97ae2)return _0x4cdd8b;if(_0x4cdd8b==_0x56215b['length'])break;_0x29a631+=0x9==_0x56215b['charCodeAt'](_0x4cdd8b)?_0x1f1094-_0x29a631%_0x1f1094:0x1,_0x4cdd8b=zv(_0x56215b,_0x4cdd8b);}return!0x0===_0x218771?-0x1:_0x56215b['length'];}const Y_='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),K_='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),J_='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0xc097b9,_0x36c521){this['rules']=[];let {finish:_0x54084b}=_0x36c521||{};function _0x5aa11f(_0x3d3006){return/^@/['test'](_0x3d3006)?[_0x3d3006]:_0x3d3006['split'](/,\s*/);}function _0x570615(_0x5bbe6e,_0x3c18c9,_0x2de608,_0x1538e5){let _0x8070ad=[],_0x510382=/^@(\w+)\b/['exec'](_0x5bbe6e[0x0]),_0x154144=_0x510382&&'keyframes'==_0x510382[0x1];if(_0x510382&&null==_0x3c18c9)return _0x2de608['push'](_0x5bbe6e[0x0]+';');for(let _0x35856d in _0x3c18c9){let _0x1ccb4b=_0x3c18c9[_0x35856d];if(/&/['test'](_0x35856d))_0x570615(_0x35856d['split'](/,\s*/)['map'](_0x3e5da4=>_0x5bbe6e['map'](_0x173ac2=>_0x3e5da4['replace'](/&/,_0x173ac2)))['reduce']((_0x147c9b,_0x468b15)=>_0x147c9b['concat'](_0x468b15)),_0x1ccb4b,_0x2de608);else{if(_0x1ccb4b&&'object'==typeof _0x1ccb4b){if(!_0x510382)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x35856d+')\x20should\x20be\x20a\x20primitive\x20value.');_0x570615(_0x5aa11f(_0x35856d),_0x1ccb4b,_0x8070ad,_0x154144);}else null!=_0x1ccb4b&&_0x8070ad['push'](_0x35856d['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x224e69=>'-'+_0x224e69['toLowerCase']())+':\x20'+_0x1ccb4b+';');}}(_0x8070ad['length']||_0x154144)&&_0x2de608['push']((!_0x54084b||_0x510382||_0x1538e5?_0x5bbe6e:_0x5bbe6e['map'](_0x54084b))['join'](',\x20')+'\x20{'+_0x8070ad['join']('\x20')+'}');}for(let _0x1e6924 in _0xc097b9)_0x570615(_0x5aa11f(_0x1e6924),_0xc097b9[_0x1e6924],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x29a9ba=J_[Y_]||0x1;return J_[Y_]=_0x29a9ba+0x1,'ͼ'+_0x29a9ba['toString'](0x24);}static['mount'](_0x4daa5e,_0x41321,_0x54b1fc){let _0x419b3b=_0x4daa5e[K_],_0x136b29=_0x54b1fc&&_0x54b1fc['nonce'];_0x419b3b?_0x136b29&&_0x419b3b['setNonce'](_0x136b29):_0x419b3b=new StyleSet(_0x4daa5e,_0x136b29),_0x419b3b['mount'](Array['isArray'](_0x41321)?_0x41321:[_0x41321],_0x4daa5e);}}let tE=new Map();class StyleSet{constructor(_0x5e0090,_0x1856c3){let _0x2bb91d=_0x5e0090['ownerDocument']||_0x5e0090,_0xf9c4b1=_0x2bb91d['defaultView'];if(!_0x5e0090['head']&&_0x5e0090['adoptedStyleSheets']&&_0xf9c4b1['CSSStyleSheet']){let _0x45c3ff=tE['get'](_0x2bb91d);if(_0x45c3ff)return _0x5e0090[K_]=_0x45c3ff;this['sheet']=new _0xf9c4b1['CSSStyleSheet'](),tE['set'](_0x2bb91d,this);}else this['styleTag']=_0x2bb91d['createElement']('style'),_0x1856c3&&this['styleTag']['setAttribute']('nonce',_0x1856c3);this['modules']=[],_0x5e0090[K_]=this;}['mount'](_0x20d4a3,_0x2c17e3){let _0x56eaf2=this['sheet'],_0x35bf9b=0x0,_0x2f61c8=0x0;for(let _0x5308c6=0x0;_0x5308c6<_0x20d4a3['length'];_0x5308c6++){let _0x5a0c89=_0x20d4a3[_0x5308c6],_0x21acb5=this['modules']['indexOf'](_0x5a0c89);if(_0x21acb5<_0x2f61c8&&_0x21acb5>-0x1&&(this['modules']['splice'](_0x21acb5,0x1),_0x2f61c8--,_0x21acb5=-0x1),-0x1==_0x21acb5){if(this['modules']['splice'](_0x2f61c8++,0x0,_0x5a0c89),_0x56eaf2){for(let _0x120fba=0x0;_0x120fba<_0x5a0c89['rules']['length'];_0x120fba++)_0x56eaf2['insertRule'](_0x5a0c89['rules'][_0x120fba],_0x35bf9b++);}}else{for(;_0x2f61c8<_0x21acb5;)_0x35bf9b+=this['modules'][_0x2f61c8++]['rules']['length'];_0x35bf9b+=_0x5a0c89['rules']['length'],_0x2f61c8++;}}if(_0x56eaf2)_0x2c17e3['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x2c17e3['adoptedStyleSheets']=[this['sheet'],..._0x2c17e3['adoptedStyleSheets']]);else{let _0x4d20b5='';for(let _0x194652=0x0;_0x194652<this['modules']['length'];_0x194652++)_0x4d20b5+=this['modules'][_0x194652]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x4d20b5;let _0x54b261=_0x2c17e3['head']||_0x2c17e3;this['styleTag']['parentNode']!=_0x54b261&&_0x54b261['insertBefore'](this['styleTag'],_0x54b261['firstChild']);}}['setNonce'](_0x53627b){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x53627b&&this['styleTag']['setAttribute']('nonce',_0x53627b);}}for(var eE={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'},iE={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'},sE='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),nE='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),rE=0x0;rE<0xa;rE++)eE[0x30+rE]=eE[0x60+rE]=String(rE);for(rE=0x1;rE<=0x18;rE++)eE[rE+0x6f]='F'+rE;for(rE=0x41;rE<=0x5a;rE++)eE[rE]=String['fromCharCode'](rE+0x20),iE[rE]=String['fromCharCode'](rE);for(var oE in eE)iE['hasOwnProperty'](oE)||(iE[oE]=eE[oE]);let aE='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},cE='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const lE=/Edge\/(\d+)/['exec'](aE['userAgent']),hE=/MSIE \d/['test'](aE['userAgent']),uE=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](aE['userAgent']),dE=!!(hE||uE||lE),fE=!dE&&/gecko\/(\d+)/i['test'](aE['userAgent']),mE=!dE&&/Chrome\/(\d+)/['exec'](aE['userAgent']),gE='webkitFontSmoothing'in cE['documentElement']['style'],pE=!dE&&/Apple Computer/['test'](aE['vendor']),OE=pE&&(/Mobile\/\w+/['test'](aE['userAgent'])||aE['maxTouchPoints']>0x2);var wE={'mac':OE||/Mac/['test'](aE['platform']),'windows':/Win/['test'](aE['platform']),'linux':/Linux|X11/['test'](aE['platform']),'ie':dE,'ie_version':hE?cE['documentMode']||0x6:uE?+uE[0x1]:lE?+lE[0x1]:0x0,'gecko':fE,'gecko_version':fE?+(/Firefox\/(\d+)/['exec'](aE['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!mE,'chrome_version':mE?+mE[0x1]:0x0,'ios':OE,'android':/Android\b/['test'](aE['userAgent']),'webkit_version':gE?+(/\bAppleWebKit\/(\d+)/['exec'](aE['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':pE,'safari_version':pE?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](aE['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=cE['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function bE(_0x3cbe3e){let _0x111085;return _0x111085=0xb==_0x3cbe3e['nodeType']?_0x3cbe3e['getSelection']?_0x3cbe3e:_0x3cbe3e['ownerDocument']:_0x3cbe3e,_0x111085['getSelection']();}function yE(_0x56fa1f,_0x49d7bd){return!!_0x49d7bd&&(_0x56fa1f==_0x49d7bd||_0x56fa1f['contains'](0x1!=_0x49d7bd['nodeType']?_0x49d7bd['parentNode']:_0x49d7bd));}function vE(_0x3b7f0c,_0x3d4a95){if(!_0x3d4a95['anchorNode'])return!0x1;try{return yE(_0x3b7f0c,_0x3d4a95['anchorNode']);}catch(_0x38df01){return!0x1;}}function _E(_0x6dea76){return 0x3==_0x6dea76['nodeType']?NE(_0x6dea76,0x0,_0x6dea76['nodeValue']['length'])['getClientRects']():0x1==_0x6dea76['nodeType']?_0x6dea76['getClientRects']():[];}function EE(_0x48e6a3,_0x35102a,_0x3da66e,_0xdfa2cb){return!!_0x3da66e&&(SE(_0x48e6a3,_0x35102a,_0x3da66e,_0xdfa2cb,-0x1)||SE(_0x48e6a3,_0x35102a,_0x3da66e,_0xdfa2cb,0x1));}function TE(_0x18dd7c){for(var _0x2850e4=0x0;;_0x2850e4++)if(!(_0x18dd7c=_0x18dd7c['previousSibling']))return _0x2850e4;}function AE(_0xaeeb20){return 0x1==_0xaeeb20['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0xaeeb20['nodeName']);}function SE(_0x5f57b3,_0x470736,_0x5775d0,_0x2a2ff9,_0x5e85e1){for(;;){if(_0x5f57b3==_0x5775d0&&_0x470736==_0x2a2ff9)return!0x0;if(_0x470736==(_0x5e85e1<0x0?0x0:IE(_0x5f57b3))){if('DIV'==_0x5f57b3['nodeName'])return!0x1;let _0x5e0be4=_0x5f57b3['parentNode'];if(!_0x5e0be4||0x1!=_0x5e0be4['nodeType'])return!0x1;_0x470736=TE(_0x5f57b3)+(_0x5e85e1<0x0?0x0:0x1),_0x5f57b3=_0x5e0be4;}else{if(0x1!=_0x5f57b3['nodeType'])return!0x1;if(0x1==(_0x5f57b3=_0x5f57b3['childNodes'][_0x470736+(_0x5e85e1<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x5f57b3['contentEditable'])return!0x1;_0x470736=_0x5e85e1<0x0?IE(_0x5f57b3):0x0;}}}function IE(_0x2e88c8){return 0x3==_0x2e88c8['nodeType']?_0x2e88c8['nodeValue']['length']:_0x2e88c8['childNodes']['length'];}function CE(_0x55c4e4,_0x3e7fa5){let _0x3af664=_0x3e7fa5?_0x55c4e4['left']:_0x55c4e4['right'];return{'left':_0x3af664,'right':_0x3af664,'top':_0x55c4e4['top'],'bottom':_0x55c4e4['bottom']};}function kE(_0x3123c8){let _0x4bdfc7=_0x3123c8['visualViewport'];return _0x4bdfc7?{'left':0x0,'right':_0x4bdfc7['width'],'top':0x0,'bottom':_0x4bdfc7['height']}:{'left':0x0,'right':_0x3123c8['innerWidth'],'top':0x0,'bottom':_0x3123c8['innerHeight']};}function xE(_0x3844b7,_0x140c03){let _0xfeae12=_0x140c03['width']/_0x3844b7['offsetWidth'],_0x577bad=_0x140c03['height']/_0x3844b7['offsetHeight'];return(_0xfeae12>0.995&&_0xfeae12<1.005||!isFinite(_0xfeae12)||Math['abs'](_0x140c03['width']-_0x3844b7['offsetWidth'])<0x1)&&(_0xfeae12=0x1),(_0x577bad>0.995&&_0x577bad<1.005||!isFinite(_0x577bad)||Math['abs'](_0x140c03['height']-_0x3844b7['offsetHeight'])<0x1)&&(_0x577bad=0x1),{'scaleX':_0xfeae12,'scaleY':_0x577bad};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x426ef7){return this['anchorNode']==_0x426ef7['anchorNode']&&this['anchorOffset']==_0x426ef7['anchorOffset']&&this['focusNode']==_0x426ef7['focusNode']&&this['focusOffset']==_0x426ef7['focusOffset'];}['setRange'](_0x3b4d6e){let {anchorNode:_0x115cc7,focusNode:_0x80ff67}=_0x3b4d6e;this['set'](_0x115cc7,Math['min'](_0x3b4d6e['anchorOffset'],_0x115cc7?IE(_0x115cc7):0x0),_0x80ff67,Math['min'](_0x3b4d6e['focusOffset'],_0x80ff67?IE(_0x80ff67):0x0));}['set'](_0x4f9e8d,_0x28d57a,_0x4d3351,_0x1f27cf){this['anchorNode']=_0x4f9e8d,this['anchorOffset']=_0x28d57a,this['focusNode']=_0x4d3351,this['focusOffset']=_0x1f27cf;}}let RE,PE=null;function ME(_0x39dd51){if(_0x39dd51['setActive'])return _0x39dd51['setActive']();if(PE)return _0x39dd51['focus'](PE);let _0xffd228=[];for(let _0x7dd2a4=_0x39dd51;_0x7dd2a4&&(_0xffd228['push'](_0x7dd2a4,_0x7dd2a4['scrollTop'],_0x7dd2a4['scrollLeft']),_0x7dd2a4!=_0x7dd2a4['ownerDocument']);_0x7dd2a4=_0x7dd2a4['parentNode']);if(_0x39dd51['focus'](null==PE?{get 'preventScroll'(){return PE={'preventScroll':!0x0},!0x0;}}:void 0x0),!PE){PE=!0x1;for(let _0xae2210=0x0;_0xae2210<_0xffd228['length'];){let _0xd77756=_0xffd228[_0xae2210++],_0x8d4646=_0xffd228[_0xae2210++],_0x579b37=_0xffd228[_0xae2210++];_0xd77756['scrollTop']!=_0x8d4646&&(_0xd77756['scrollTop']=_0x8d4646),_0xd77756['scrollLeft']!=_0x579b37&&(_0xd77756['scrollLeft']=_0x579b37);}}}function NE(_0x4017da,_0x25a7b8,_0x34f689=_0x25a7b8){let _0x58c6dd=RE||(RE=document['createRange']());return _0x58c6dd['setEnd'](_0x4017da,_0x34f689),_0x58c6dd['setStart'](_0x4017da,_0x25a7b8),_0x58c6dd;}function LE(_0x4fd9d7,_0x480244,_0x538ded,_0x7657b7){let _0xaa1db6={'key':_0x480244,'code':_0x480244,'keyCode':_0x538ded,'which':_0x538ded,'cancelable':!0x0};_0x7657b7&&({altKey:_0xaa1db6['altKey'],ctrlKey:_0xaa1db6['ctrlKey'],shiftKey:_0xaa1db6['shiftKey'],metaKey:_0xaa1db6['metaKey']}=_0x7657b7);let _0x1aa9d2=new KeyboardEvent('keydown',_0xaa1db6);_0x1aa9d2['synthetic']=!0x0,_0x4fd9d7['dispatchEvent'](_0x1aa9d2);let _0x3c04eb=new KeyboardEvent('keyup',_0xaa1db6);return _0x3c04eb['synthetic']=!0x0,_0x4fd9d7['dispatchEvent'](_0x3c04eb),_0x1aa9d2['defaultPrevented']||_0x3c04eb['defaultPrevented'];}function $E(_0x39083f){for(;_0x39083f['attributes']['length'];)_0x39083f['removeAttributeNode'](_0x39083f['attributes'][0x0]);}function DE(_0x5f3a4f){return _0x5f3a4f['scrollTop']>Math['max'](0x1,_0x5f3a4f['scrollHeight']-_0x5f3a4f['clientHeight']-0x4);}function QE(_0x34c189,_0x138dc6){for(let _0x1f0cdb=_0x34c189,_0x4e79b3=_0x138dc6;;){if(0x3==_0x1f0cdb['nodeType']&&_0x4e79b3>0x0)return{'node':_0x1f0cdb,'offset':_0x4e79b3};if(0x1==_0x1f0cdb['nodeType']&&_0x4e79b3>0x0){if('false'==_0x1f0cdb['contentEditable'])return null;_0x1f0cdb=_0x1f0cdb['childNodes'][_0x4e79b3-0x1],_0x4e79b3=IE(_0x1f0cdb);}else{if(!_0x1f0cdb['parentNode']||AE(_0x1f0cdb))return null;_0x4e79b3=TE(_0x1f0cdb),_0x1f0cdb=_0x1f0cdb['parentNode'];}}}function VE(_0x5b3b26,_0x2f4b30){for(let _0x4c292d=_0x5b3b26,_0x24ea96=_0x2f4b30;;){if(0x3==_0x4c292d['nodeType']&&_0x24ea96<_0x4c292d['nodeValue']['length'])return{'node':_0x4c292d,'offset':_0x24ea96};if(0x1==_0x4c292d['nodeType']&&_0x24ea96<_0x4c292d['childNodes']['length']){if('false'==_0x4c292d['contentEditable'])return null;_0x4c292d=_0x4c292d['childNodes'][_0x24ea96],_0x24ea96=0x0;}else{if(!_0x4c292d['parentNode']||AE(_0x4c292d))return null;_0x24ea96=TE(_0x4c292d)+0x1,_0x4c292d=_0x4c292d['parentNode'];}}}wE['safari']&&wE['safari_version']>=0x1a&&(PE=!0x1);class DOMPos{constructor(_0xaddc16,_0x24c444,_0x1fce87=!0x0){this['node']=_0xaddc16,this['offset']=_0x24c444,this['precise']=_0x1fce87;}static['before'](_0x32c3bc,_0x566982){return new DOMPos(_0x32c3bc['parentNode'],TE(_0x32c3bc),_0x566982);}static['after'](_0x222e5f,_0x6efec){return new DOMPos(_0x222e5f['parentNode'],TE(_0x222e5f)+0x1,_0x6efec);}}const UE=[];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'](_0x5a01d0){let _0x317510=this['posAtStart'];for(let _0xb5c0ce of this['children']){if(_0xb5c0ce==_0x5a01d0)return _0x317510;_0x317510+=_0xb5c0ce['length']+_0xb5c0ce['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x215f0b){return this['posBefore'](_0x215f0b)+_0x215f0b['length'];}['sync'](_0x2646f8,_0x474fb0){if(0x2&this['flags']){let _0x4c32aa,_0x749adf=this['dom'],_0x3bf1cf=null;for(let _0x1fc59b of this['children']){if(0x7&_0x1fc59b['flags']){if(!_0x1fc59b['dom']&&(_0x4c32aa=_0x3bf1cf?_0x3bf1cf['nextSibling']:_0x749adf['firstChild'])){let _0x41eb88=ContentView['get'](_0x4c32aa);(!_0x41eb88||!_0x41eb88['parent']&&_0x41eb88['canReuseDOM'](_0x1fc59b))&&_0x1fc59b['reuseDOM'](_0x4c32aa);}_0x1fc59b['sync'](_0x2646f8,_0x474fb0),_0x1fc59b['flags']&=-0x8;}if(_0x4c32aa=_0x3bf1cf?_0x3bf1cf['nextSibling']:_0x749adf['firstChild'],_0x474fb0&&!_0x474fb0['written']&&_0x474fb0['node']==_0x749adf&&_0x4c32aa!=_0x1fc59b['dom']&&(_0x474fb0['written']=!0x0),_0x1fc59b['dom']['parentNode']==_0x749adf){for(;_0x4c32aa&&_0x4c32aa!=_0x1fc59b['dom'];)_0x4c32aa=BE(_0x4c32aa);}else _0x749adf['insertBefore'](_0x1fc59b['dom'],_0x4c32aa);_0x3bf1cf=_0x1fc59b['dom'];}for(_0x4c32aa=_0x3bf1cf?_0x3bf1cf['nextSibling']:_0x749adf['firstChild'],_0x4c32aa&&_0x474fb0&&_0x474fb0['node']==_0x749adf&&(_0x474fb0['written']=!0x0);_0x4c32aa;)_0x4c32aa=BE(_0x4c32aa);}else{if(0x1&this['flags']){for(let _0x23ec92 of this['children'])0x7&_0x23ec92['flags']&&(_0x23ec92['sync'](_0x2646f8,_0x474fb0),_0x23ec92['flags']&=-0x8);}}}['reuseDOM'](_0x1ccabb){}['localPosFromDOM'](_0x1441de,_0x36994f){let _0x4dd0f6;if(_0x1441de==this['dom'])_0x4dd0f6=this['dom']['childNodes'][_0x36994f];else{let _0x39f6b6=0x0==IE(_0x1441de)?0x0:0x0==_0x36994f?-0x1:0x1;for(;;){let _0x31403c=_0x1441de['parentNode'];if(_0x31403c==this['dom'])break;0x0==_0x39f6b6&&_0x31403c['firstChild']!=_0x31403c['lastChild']&&(_0x39f6b6=_0x1441de==_0x31403c['firstChild']?-0x1:0x1),_0x1441de=_0x31403c;}_0x4dd0f6=_0x39f6b6<0x0?_0x1441de:_0x1441de['nextSibling'];}if(_0x4dd0f6==this['dom']['firstChild'])return 0x0;for(;_0x4dd0f6&&!ContentView['get'](_0x4dd0f6);)_0x4dd0f6=_0x4dd0f6['nextSibling'];if(!_0x4dd0f6)return this['length'];for(let _0x5cf588=0x0,_0x47ab0a=0x0;;_0x5cf588++){let _0x4bf09e=this['children'][_0x5cf588];if(_0x4bf09e['dom']==_0x4dd0f6)return _0x47ab0a;_0x47ab0a+=_0x4bf09e['length']+_0x4bf09e['breakAfter'];}}['domBoundsAround'](_0x39f76c,_0x5b7b9c,_0x4e02f7=0x0){let _0x593445=-0x1,_0x5bc1c4=-0x1,_0x461435=-0x1,_0x1a965c=-0x1;for(let _0x2e8cf2=0x0,_0x30c92d=_0x4e02f7,_0x14e72e=_0x4e02f7;_0x2e8cf2<this['children']['length'];_0x2e8cf2++){let _0xb71bbf=this['children'][_0x2e8cf2],_0x3e63de=_0x30c92d+_0xb71bbf['length'];if(_0x30c92d<_0x39f76c&&_0x3e63de>_0x5b7b9c)return _0xb71bbf['domBoundsAround'](_0x39f76c,_0x5b7b9c,_0x30c92d);if(_0x3e63de>=_0x39f76c&&-0x1==_0x593445&&(_0x593445=_0x2e8cf2,_0x5bc1c4=_0x30c92d),_0x30c92d>_0x5b7b9c&&_0xb71bbf['dom']['parentNode']==this['dom']){_0x461435=_0x2e8cf2,_0x1a965c=_0x14e72e;break;}_0x14e72e=_0x3e63de,_0x30c92d=_0x3e63de+_0xb71bbf['breakAfter'];}return{'from':_0x5bc1c4,'to':_0x1a965c<0x0?_0x4e02f7+this['length']:_0x1a965c,'startDOM':(_0x593445?this['children'][_0x593445-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x461435<this['children']['length']&&_0x461435>=0x0?this['children'][_0x461435]['dom']:null};}['markDirty'](_0x18de0a=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x18de0a);}['markParentsDirty'](_0x486e53){for(let _0x4e54a0=this['parent'];_0x4e54a0;_0x4e54a0=_0x4e54a0['parent']){if(_0x486e53&&(_0x4e54a0['flags']|=0x2),0x1&_0x4e54a0['flags'])return;_0x4e54a0['flags']|=0x1,_0x486e53=!0x1;}}['setParent'](_0x151a31){this['parent']!=_0x151a31&&(this['parent']=_0x151a31,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x4569c8){this['dom']!=_0x4569c8&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x4569c8,_0x4569c8['cmView']=this);}get['rootView'](){for(let _0x3c941b=this;;){let _0x2a2cfc=_0x3c941b['parent'];if(!_0x2a2cfc)return _0x3c941b;_0x3c941b=_0x2a2cfc;}}['replaceChildren'](_0x47c317,_0x1d9d98,_0x488367=UE){this['markDirty']();for(let _0x5ed8d2=_0x47c317;_0x5ed8d2<_0x1d9d98;_0x5ed8d2++){let _0x49dd2e=this['children'][_0x5ed8d2];_0x49dd2e['parent']==this&&_0x488367['indexOf'](_0x49dd2e)<0x0&&_0x49dd2e['destroy']();}_0x488367['length']<0xfa?this['children']['splice'](_0x47c317,_0x1d9d98-_0x47c317,..._0x488367):this['children']=[]['concat'](this['children']['slice'](0x0,_0x47c317),_0x488367,this['children']['slice'](_0x1d9d98));for(let _0x16c173=0x0;_0x16c173<_0x488367['length'];_0x16c173++)_0x488367[_0x16c173]['setParent'](this);}['ignoreMutation'](_0x5df751){return!0x1;}['ignoreEvent'](_0x248301){return!0x1;}['childCursor'](_0x2bd05a=this['length']){return new ChildCursor(this['children'],_0x2bd05a,this['children']['length']);}['childPos'](_0xfded12,_0x1c284d=0x1){return this['childCursor']()['findPos'](_0xfded12,_0x1c284d);}['toString'](){let _0x524e7d=this['constructor']['name']['replace']('View','');return _0x524e7d+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x524e7d?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x3df687){return _0x3df687['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x327829,_0x209fbc,_0x3b7744,_0x51f891,_0x5acfc5,_0x3c604a){return!0x1;}['become'](_0x3ce3bd){return!0x1;}['canReuseDOM'](_0x492229){return _0x492229['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x492229['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x346156 of this['children'])_0x346156['parent']==this&&_0x346156['destroy']();this['parent']=null;}}function BE(_0x5c88f3){let _0x4c100b=_0x5c88f3['nextSibling'];return _0x5c88f3['parentNode']['removeChild'](_0x5c88f3),_0x4c100b;}ContentView['prototype']['breakAfter']=0x0;class ChildCursor{constructor(_0x470249,_0x51a5a5,_0xbde4c6){this['children']=_0x470249,this['pos']=_0x51a5a5,this['i']=_0xbde4c6,this['off']=0x0;}['findPos'](_0x2b5f51,_0x180922=0x1){for(;;){if(_0x2b5f51>this['pos']||_0x2b5f51==this['pos']&&(_0x180922>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x2b5f51-this['pos'],this;let _0x51ebee=this['children'][--this['i']];this['pos']-=_0x51ebee['length']+_0x51ebee['breakAfter'];}}}function jE(_0x1b42e5,_0x2dd4e4,_0x34eae0,_0x1d654d,_0x45cf6b,_0x212eb6,_0x447b9e,_0x10be9a,_0x1de18d){let {children:_0x3361e5}=_0x1b42e5,_0x7ac3e6=_0x3361e5['length']?_0x3361e5[_0x2dd4e4]:null,_0x4d42dd=_0x212eb6['length']?_0x212eb6[_0x212eb6['length']-0x1]:null,_0x503e1c=_0x4d42dd?_0x4d42dd['breakAfter']:_0x447b9e;if(!(_0x2dd4e4==_0x1d654d&&_0x7ac3e6&&!_0x447b9e&&!_0x503e1c&&_0x212eb6['length']<0x2&&_0x7ac3e6['merge'](_0x34eae0,_0x45cf6b,_0x212eb6['length']?_0x4d42dd:null,0x0==_0x34eae0,_0x10be9a,_0x1de18d))){if(_0x1d654d<_0x3361e5['length']){let _0x4f65f4=_0x3361e5[_0x1d654d];_0x4f65f4&&(_0x45cf6b<_0x4f65f4['length']||_0x4f65f4['breakAfter']&&(null==_0x4d42dd?void 0x0:_0x4d42dd['breakAfter']))?(_0x2dd4e4==_0x1d654d&&(_0x4f65f4=_0x4f65f4['split'](_0x45cf6b),_0x45cf6b=0x0),!_0x503e1c&&_0x4d42dd&&_0x4f65f4['merge'](0x0,_0x45cf6b,_0x4d42dd,!0x0,0x0,_0x1de18d)?_0x212eb6[_0x212eb6['length']-0x1]=_0x4f65f4:((_0x45cf6b||_0x4f65f4['children']['length']&&!_0x4f65f4['children'][0x0]['length'])&&_0x4f65f4['merge'](0x0,_0x45cf6b,null,!0x1,0x0,_0x1de18d),_0x212eb6['push'](_0x4f65f4))):(null==_0x4f65f4?void 0x0:_0x4f65f4['breakAfter'])&&(_0x4d42dd?_0x4d42dd['breakAfter']=0x1:_0x447b9e=0x1),_0x1d654d++;}for(_0x7ac3e6&&(_0x7ac3e6['breakAfter']=_0x447b9e,_0x34eae0>0x0&&(!_0x447b9e&&_0x212eb6['length']&&_0x7ac3e6['merge'](_0x34eae0,_0x7ac3e6['length'],_0x212eb6[0x0],!0x1,_0x10be9a,0x0)?_0x7ac3e6['breakAfter']=_0x212eb6['shift']()['breakAfter']:(_0x34eae0<_0x7ac3e6['length']||_0x7ac3e6['children']['length']&&0x0==_0x7ac3e6['children'][_0x7ac3e6['children']['length']-0x1]['length'])&&_0x7ac3e6['merge'](_0x34eae0,_0x7ac3e6['length'],null,!0x1,_0x10be9a,0x0),_0x2dd4e4++));_0x2dd4e4<_0x1d654d&&_0x212eb6['length'];)if(_0x3361e5[_0x1d654d-0x1]['become'](_0x212eb6[_0x212eb6['length']-0x1]))_0x1d654d--,_0x212eb6['pop'](),_0x1de18d=_0x212eb6['length']?0x0:_0x10be9a;else{if(!_0x3361e5[_0x2dd4e4]['become'](_0x212eb6[0x0]))break;_0x2dd4e4++,_0x212eb6['shift'](),_0x10be9a=_0x212eb6['length']?0x0:_0x1de18d;}!_0x212eb6['length']&&_0x2dd4e4&&_0x1d654d<_0x3361e5['length']&&!_0x3361e5[_0x2dd4e4-0x1]['breakAfter']&&_0x3361e5[_0x1d654d]['merge'](0x0,0x0,_0x3361e5[_0x2dd4e4-0x1],!0x1,_0x10be9a,_0x1de18d)&&_0x2dd4e4--,(_0x2dd4e4<_0x1d654d||_0x212eb6['length'])&&_0x1b42e5['replaceChildren'](_0x2dd4e4,_0x1d654d,_0x212eb6);}}function FE(_0x2a32c7,_0x15730c,_0x1fd627,_0x4a5da5,_0x53d375,_0x5d73f9){let _0x1f392d=_0x2a32c7['childCursor'](),{i:_0x5b7f99,off:_0x44b46b}=_0x1f392d['findPos'](_0x1fd627,0x1),{i:_0x24969a,off:_0x3666fc}=_0x1f392d['findPos'](_0x15730c,-0x1),_0x10c793=_0x15730c-_0x1fd627;for(let _0x74ac1e of _0x4a5da5)_0x10c793+=_0x74ac1e['length'];_0x2a32c7['length']+=_0x10c793,jE(_0x2a32c7,_0x24969a,_0x3666fc,_0x5b7f99,_0x44b46b,_0x4a5da5,0x0,_0x53d375,_0x5d73f9);}class TextView extends ContentView{constructor(_0x3098b3){super(),this['text']=_0x3098b3;}get['length'](){return this['text']['length'];}['createDOM'](_0x42a02b){this['setDOM'](_0x42a02b||document['createTextNode'](this['text']));}['sync'](_0x262f71,_0x3c010c){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x3c010c&&_0x3c010c['node']==this['dom']&&(_0x3c010c['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x3d6adc){0x3==_0x3d6adc['nodeType']&&this['createDOM'](_0x3d6adc);}['merge'](_0x221311,_0x696ace,_0x4026d9){return!(0x8&this['flags']||_0x4026d9&&(!(_0x4026d9 instanceof TextView)||this['length']-(_0x696ace-_0x221311)+_0x4026d9['length']>0x100||0x8&_0x4026d9['flags']))&&(this['text']=this['text']['slice'](0x0,_0x221311)+(_0x4026d9?_0x4026d9['text']:'')+this['text']['slice'](_0x696ace),this['markDirty'](),!0x0);}['split'](_0x24d380){let _0x58acf4=new TextView(this['text']['slice'](_0x24d380));return this['text']=this['text']['slice'](0x0,_0x24d380),this['markDirty'](),_0x58acf4['flags']|=0x8&this['flags'],_0x58acf4;}['localPosFromDOM'](_0xdc916d,_0x4f4538){return _0xdc916d==this['dom']?_0x4f4538:_0x4f4538?this['text']['length']:0x0;}['domAtPos'](_0x10bb9d){return new DOMPos(this['dom'],_0x10bb9d);}['domBoundsAround'](_0x576a02,_0x1bb6e9,_0x2d3827){return{'from':_0x2d3827,'to':_0x2d3827+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x2c7678,_0x154640){return function(_0x1a92c5,_0x711704,_0x2b632b){let _0x289559=_0x1a92c5['nodeValue']['length'];_0x711704>_0x289559&&(_0x711704=_0x289559);let _0x428c89=_0x711704,_0x3867e9=_0x711704,_0xc8aaf1=0x0;0x0==_0x711704&&_0x2b632b<0x0||_0x711704==_0x289559&&_0x2b632b>=0x0?wE['chrome']||wE['gecko']||(_0x711704?(_0x428c89--,_0xc8aaf1=0x1):_0x3867e9<_0x289559&&(_0x3867e9++,_0xc8aaf1=-0x1)):_0x2b632b<0x0?_0x428c89--:_0x3867e9<_0x289559&&_0x3867e9++;let _0x346e8a=NE(_0x1a92c5,_0x428c89,_0x3867e9)['getClientRects']();if(!_0x346e8a['length'])return null;let _0x5b4f89=_0x346e8a[(_0xc8aaf1?_0xc8aaf1<0x0:_0x2b632b>=0x0)?0x0:_0x346e8a['length']-0x1];return wE['safari']&&!_0xc8aaf1&&0x0==_0x5b4f89['width']&&(_0x5b4f89=Array['prototype']['find']['call'](_0x346e8a,_0x2e9f77=>_0x2e9f77['width'])||_0x5b4f89),_0xc8aaf1?CE(_0x5b4f89,_0xc8aaf1<0x0):_0x5b4f89||null;}(this['dom'],_0x2c7678,_0x154640);}}class MarkView extends ContentView{constructor(_0x587c5e,_0x4146e9=[],_0x3214d3=0x0){super(),this['mark']=_0x587c5e,this['children']=_0x4146e9,this['length']=_0x3214d3;for(let _0x50fe3d of _0x4146e9)_0x50fe3d['setParent'](this);}['setAttrs'](_0x4a1a64){if($E(_0x4a1a64),this['mark']['class']&&(_0x4a1a64['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x79c2d1 in this['mark']['attrs'])_0x4a1a64['setAttribute'](_0x79c2d1,this['mark']['attrs'][_0x79c2d1]);}return _0x4a1a64;}['canReuseDOM'](_0x4e5515){return super['canReuseDOM'](_0x4e5515)&&!(0x8&(this['flags']|_0x4e5515['flags']));}['reuseDOM'](_0x2b3a86){_0x2b3a86['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x2b3a86),this['flags']|=0x6);}['sync'](_0x38d6fc,_0x4c540e){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x38d6fc,_0x4c540e);}['merge'](_0x3b9850,_0x1dfff5,_0xd0c785,_0x1dbabd,_0x4e6247,_0x173a98){return(!_0xd0c785||!(!(_0xd0c785 instanceof MarkView&&_0xd0c785['mark']['eq'](this['mark']))||_0x3b9850&&_0x4e6247<=0x0||_0x1dfff5<this['length']&&_0x173a98<=0x0))&&(FE(this,_0x3b9850,_0x1dfff5,_0xd0c785?_0xd0c785['children']['slice']():[],_0x4e6247-0x1,_0x173a98-0x1),this['markDirty'](),!0x0);}['split'](_0x1a361c){let _0x55ffe4=[],_0x1b1b1d=0x0,_0x533f49=-0x1,_0x239314=0x0;for(let _0x1cad70 of this['children']){let _0x1173a6=_0x1b1b1d+_0x1cad70['length'];_0x1173a6>_0x1a361c&&_0x55ffe4['push'](_0x1b1b1d<_0x1a361c?_0x1cad70['split'](_0x1a361c-_0x1b1b1d):_0x1cad70),_0x533f49<0x0&&_0x1b1b1d>=_0x1a361c&&(_0x533f49=_0x239314),_0x1b1b1d=_0x1173a6,_0x239314++;}let _0x4cdd79=this['length']-_0x1a361c;return this['length']=_0x1a361c,_0x533f49>-0x1&&(this['children']['length']=_0x533f49,this['markDirty']()),new MarkView(this['mark'],_0x55ffe4,_0x4cdd79);}['domAtPos'](_0x41cdb8){return HE(this,_0x41cdb8);}['coordsAt'](_0x308732,_0x2fe167){return ZE(this,_0x308732,_0x2fe167);}}class WidgetView extends ContentView{static['create'](_0x36d687,_0x5e5142,_0x1c4d24){return new WidgetView(_0x36d687,_0x5e5142,_0x1c4d24);}constructor(_0x179058,_0x4e6716,_0x204ec8){super(),this['widget']=_0x179058,this['length']=_0x4e6716,this['side']=_0x204ec8,this['prevWidget']=null;}['split'](_0x2a6cc0){let _0x565ff0=WidgetView['create'](this['widget'],this['length']-_0x2a6cc0,this['side']);return this['length']-=_0x2a6cc0,_0x565ff0;}['sync'](_0x15b8ba){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x15b8ba)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x15b8ba)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x550a05,_0x4d1235,_0x3e119d,_0x954b61,_0x58031d,_0xd51268){return!(_0x3e119d&&(!(_0x3e119d instanceof WidgetView&&this['widget']['compare'](_0x3e119d['widget']))||_0x550a05>0x0&&_0x58031d<=0x0||_0x4d1235<this['length']&&_0xd51268<=0x0))&&(this['length']=_0x550a05+(_0x3e119d?_0x3e119d['length']:0x0)+(this['length']-_0x4d1235),!0x0);}['become'](_0x508f6e){return _0x508f6e instanceof WidgetView&&_0x508f6e['side']==this['side']&&this['widget']['constructor']==_0x508f6e['widget']['constructor']&&(this['widget']['compare'](_0x508f6e['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x508f6e['widget'],this['length']=_0x508f6e['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x1ddc12){return this['widget']['ignoreEvent'](_0x1ddc12);}get['overrideDOMText'](){if(0x0==this['length'])return Gv['empty'];let _0x1ac30f=this;for(;_0x1ac30f['parent'];)_0x1ac30f=_0x1ac30f['parent'];let {view:_0x34f35a}=_0x1ac30f,_0x4bc7f9=_0x34f35a&&_0x34f35a['state']['doc'],_0x35315a=this['posAtStart'];return _0x4bc7f9?_0x4bc7f9['slice'](_0x35315a,_0x35315a+this['length']):Gv['empty'];}['domAtPos'](_0x517fdd){return(this['length']?0x0==_0x517fdd:this['side']>0x0)?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x517fdd==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x66ded7,_0x351fb7){let _0x53de26=this['widget']['coordsAt'](this['dom'],_0x66ded7,_0x351fb7);if(_0x53de26)return _0x53de26;let _0x4c6330=this['dom']['getClientRects'](),_0x11a9fb=null;if(!_0x4c6330['length'])return null;let _0x5a5771=this['side']?this['side']<0x0:_0x66ded7>0x0;for(let _0x29d403=_0x5a5771?_0x4c6330['length']-0x1:0x0;_0x11a9fb=_0x4c6330[_0x29d403],!(_0x66ded7>0x0?0x0==_0x29d403:_0x29d403==_0x4c6330['length']-0x1||_0x11a9fb['top']<_0x11a9fb['bottom']);_0x29d403+=_0x5a5771?-0x1:0x1);return CE(_0x11a9fb,!_0x5a5771);}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(_0x2d6f56){super(),this['side']=_0x2d6f56;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x5f36d0){return _0x5f36d0 instanceof WidgetBufferView&&_0x5f36d0['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x2df027=document['createElement']('img');_0x2df027['className']='cm-widgetBuffer',_0x2df027['setAttribute']('aria-hidden','true'),this['setDOM'](_0x2df027);}}['getSide'](){return this['side'];}['domAtPos'](_0x564fe7){return this['side']>0x0?DOMPos['before'](this['dom']):DOMPos['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x8d8e52){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Gv['empty'];}get['isHidden'](){return!0x0;}}function HE(_0x38ee48,_0x3d23bb){let _0x259dce=_0x38ee48['dom'],{children:_0x3e7924}=_0x38ee48,_0x3dbb7b=0x0;for(let _0x19dce1=0x0;_0x3dbb7b<_0x3e7924['length'];_0x3dbb7b++){let _0x106476=_0x3e7924[_0x3dbb7b],_0xdc1d1c=_0x19dce1+_0x106476['length'];if(!(_0xdc1d1c==_0x19dce1&&_0x106476['getSide']()<=0x0)){if(_0x3d23bb>_0x19dce1&&_0x3d23bb<_0xdc1d1c&&_0x106476['dom']['parentNode']==_0x259dce)return _0x106476['domAtPos'](_0x3d23bb-_0x19dce1);if(_0x3d23bb<=_0x19dce1)break;_0x19dce1=_0xdc1d1c;}}for(let _0x107206=_0x3dbb7b;_0x107206>0x0;_0x107206--){let _0x3c1abd=_0x3e7924[_0x107206-0x1];if(_0x3c1abd['dom']['parentNode']==_0x259dce)return _0x3c1abd['domAtPos'](_0x3c1abd['length']);}for(let _0x3c9762=_0x3dbb7b;_0x3c9762<_0x3e7924['length'];_0x3c9762++){let _0x78cb74=_0x3e7924[_0x3c9762];if(_0x78cb74['dom']['parentNode']==_0x259dce)return _0x78cb74['domAtPos'](0x0);}return new DOMPos(_0x259dce,0x0);}function GE(_0x2b665f,_0x508598,_0x293b65){let _0x278862,{children:_0x141070}=_0x2b665f;_0x293b65>0x0&&_0x508598 instanceof MarkView&&_0x141070['length']&&(_0x278862=_0x141070[_0x141070['length']-0x1])instanceof MarkView&&_0x278862['mark']['eq'](_0x508598['mark'])?GE(_0x278862,_0x508598['children'][0x0],_0x293b65-0x1):(_0x141070['push'](_0x508598),_0x508598['setParent'](_0x2b665f)),_0x2b665f['length']+=_0x508598['length'];}function ZE(_0x4327e6,_0x45e272,_0xf94abb){let _0x2bbba8=null,_0x28d85c=-0x1,_0x1b5a46=null,_0x3f0ded=-0x1;!function _0x162b21(_0x980011,_0x4fa83f){for(let _0x337d3b=0x0,_0x3ecb33=0x0;_0x337d3b<_0x980011['children']['length']&&_0x3ecb33<=_0x4fa83f;_0x337d3b++){let _0x29951b=_0x980011['children'][_0x337d3b],_0x5d4f=_0x3ecb33+_0x29951b['length'];_0x5d4f>=_0x4fa83f&&(_0x29951b['children']['length']?_0x162b21(_0x29951b,_0x4fa83f-_0x3ecb33):(!_0x1b5a46||_0x1b5a46['isHidden']&&(_0xf94abb>0x0||XE(_0x1b5a46,_0x29951b)))&&(_0x5d4f>_0x4fa83f||_0x3ecb33==_0x5d4f&&_0x29951b['getSide']()>0x0)?(_0x1b5a46=_0x29951b,_0x3f0ded=_0x4fa83f-_0x3ecb33):(_0x3ecb33<_0x4fa83f||_0x3ecb33==_0x5d4f&&_0x29951b['getSide']()<0x0&&!_0x29951b['isHidden'])&&(_0x2bbba8=_0x29951b,_0x28d85c=_0x4fa83f-_0x3ecb33)),_0x3ecb33=_0x5d4f;}}(_0x4327e6,_0x45e272);let _0x42a15a=(_0xf94abb<0x0?_0x2bbba8:_0x1b5a46)||_0x2bbba8||_0x1b5a46;return _0x42a15a?_0x42a15a['coordsAt'](Math['max'](0x0,_0x42a15a==_0x2bbba8?_0x28d85c:_0x3f0ded),_0xf94abb):function(_0x36dd16){let _0x8f1f85=_0x36dd16['dom']['lastChild'];if(!_0x8f1f85)return _0x36dd16['dom']['getBoundingClientRect']();let _0x16a507=_E(_0x8f1f85);return _0x16a507[_0x16a507['length']-0x1]||null;}(_0x4327e6);}function XE(_0x4109f1,_0xd128f){let _0x39f217=_0x4109f1['coordsAt'](0x0,0x1),_0x4564d3=_0xd128f['coordsAt'](0x0,0x1);return _0x39f217&&_0x4564d3&&_0x4564d3['top']<_0x39f217['bottom'];}function qE(_0x548215,_0x43a4ec){for(let _0x24ae6f in _0x548215)'class'==_0x24ae6f&&_0x43a4ec['class']?_0x43a4ec['class']+='\x20'+_0x548215['class']:'style'==_0x24ae6f&&_0x43a4ec['style']?_0x43a4ec['style']+=';'+_0x548215['style']:_0x43a4ec[_0x24ae6f]=_0x548215[_0x24ae6f];return _0x43a4ec;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=UE;const WE=Object['create'](null);function zE(_0x5a57f0,_0x1d5a75,_0x31f971){if(_0x5a57f0==_0x1d5a75)return!0x0;_0x5a57f0||(_0x5a57f0=WE),_0x1d5a75||(_0x1d5a75=WE);let _0x4a6154=Object['keys'](_0x5a57f0),_0xa988c9=Object['keys'](_0x1d5a75);if(_0x4a6154['length']-(_0x31f971&&_0x4a6154['indexOf'](_0x31f971)>-0x1?0x1:0x0)!=_0xa988c9['length']-(_0x31f971&&_0xa988c9['indexOf'](_0x31f971)>-0x1?0x1:0x0))return!0x1;for(let _0xc00db6 of _0x4a6154)if(_0xc00db6!=_0x31f971&&(-0x1==_0xa988c9['indexOf'](_0xc00db6)||_0x5a57f0[_0xc00db6]!==_0x1d5a75[_0xc00db6]))return!0x1;return!0x0;}function YE(_0x2cd97d,_0x1ada16,_0x5b15f5){let _0x10872b=!0x1;if(_0x1ada16){for(let _0x795395 in _0x1ada16)_0x5b15f5&&_0x795395 in _0x5b15f5||(_0x10872b=!0x0,'style'==_0x795395?_0x2cd97d['style']['cssText']='':_0x2cd97d['removeAttribute'](_0x795395));}if(_0x5b15f5){for(let _0x44f846 in _0x5b15f5)_0x1ada16&&_0x1ada16[_0x44f846]==_0x5b15f5[_0x44f846]||(_0x10872b=!0x0,'style'==_0x44f846?_0x2cd97d['style']['cssText']=_0x5b15f5[_0x44f846]:_0x2cd97d['setAttribute'](_0x44f846,_0x5b15f5[_0x44f846]));}return _0x10872b;}function KE(_0x3882ef){let _0x1098ee=Object['create'](null);for(let _0x4a9a03=0x0;_0x4a9a03<_0x3882ef['attributes']['length'];_0x4a9a03++){let _0x32a5d7=_0x3882ef['attributes'][_0x4a9a03];_0x1098ee[_0x32a5d7['name']]=_0x32a5d7['value'];}return _0x1098ee;}class WidgetType{['eq'](_0x54bf76){return!0x1;}['updateDOM'](_0x13aeb5,_0x3287c7){return!0x1;}['compare'](_0x3661ef){return this==_0x3661ef||this['constructor']==_0x3661ef['constructor']&&this['eq'](_0x3661ef);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0xd49a7e){return!0x0;}['coordsAt'](_0x862262,_0x59c7f9,_0x567db3){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x682df){}}var JE=function(_0x4bda52){return _0x4bda52[_0x4bda52['Text']=0x0]='Text',_0x4bda52[_0x4bda52['WidgetBefore']=0x1]='WidgetBefore',_0x4bda52[_0x4bda52['WidgetAfter']=0x2]='WidgetAfter',_0x4bda52[_0x4bda52['WidgetRange']=0x3]='WidgetRange',_0x4bda52;}(JE||(JE={}));class Decoration extends RangeValue{constructor(_0x5e1cd7,_0x49046b,_0x33a443,_0x113211){super(),this['startSide']=_0x5e1cd7,this['endSide']=_0x49046b,this['widget']=_0x33a443,this['spec']=_0x113211;}get['heightRelevant'](){return!0x1;}static['mark'](_0xc00983){return new MarkDecoration(_0xc00983);}static['widget'](_0x2a2e5f){let _0x575bc7=Math['max'](-0x2710,Math['min'](0x2710,_0x2a2e5f['side']||0x0)),_0x30e38a=!!_0x2a2e5f['block'];return _0x575bc7+=_0x30e38a&&!_0x2a2e5f['inlineOrder']?_0x575bc7>0x0?0x11e1a300:-0x17d78400:_0x575bc7>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x2a2e5f,_0x575bc7,_0x575bc7,_0x30e38a,_0x2a2e5f['widget']||null,!0x1);}static['replace'](_0xcca395){let _0x35a82c,_0x2d654f,_0x4d68b1=!!_0xcca395['block'];if(_0xcca395['isBlockGap'])_0x35a82c=-0x1dcd6500,_0x2d654f=0x17d78400;else{let {start:_0x5e415b,end:_0x4bc399}=tT(_0xcca395,_0x4d68b1);_0x35a82c=(_0x5e415b?_0x4d68b1?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x2d654f=0x1+(_0x4bc399?_0x4d68b1?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0xcca395,_0x35a82c,_0x2d654f,_0x4d68b1,_0xcca395['widget']||null,!0x0);}static['line'](_0x21c950){return new LineDecoration(_0x21c950);}static['set'](_0x30c890,_0x4ce6a8=!0x1){return RangeSet['of'](_0x30c890,_0x4ce6a8);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x22e23b){let {start:_0x3b0188,end:_0x500dc2}=tT(_0x22e23b);super(_0x3b0188?-0x1:0x1dcd6500,_0x500dc2?0x1:-0x23c34600,null,_0x22e23b),this['tagName']=_0x22e23b['tagName']||'span',this['class']=_0x22e23b['class']||'',this['attrs']=_0x22e23b['attributes']||null;}['eq'](_0x47fe3b){var _0x303efe,_0x117985;return this==_0x47fe3b||_0x47fe3b instanceof MarkDecoration&&this['tagName']==_0x47fe3b['tagName']&&(this['class']||(null===(_0x303efe=this['attrs'])||void 0x0===_0x303efe?void 0x0:_0x303efe['class']))==(_0x47fe3b['class']||(null===(_0x117985=_0x47fe3b['attrs'])||void 0x0===_0x117985?void 0x0:_0x117985['class']))&&zE(this['attrs'],_0x47fe3b['attrs'],'class');}['range'](_0x317f43,_0xf711e4=_0x317f43){if(_0x317f43>=_0xf711e4)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x317f43,_0xf711e4);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x1f89fd){super(-0xbebc200,-0xbebc200,null,_0x1f89fd);}['eq'](_0x58fa36){return _0x58fa36 instanceof LineDecoration&&this['spec']['class']==_0x58fa36['spec']['class']&&zE(this['spec']['attributes'],_0x58fa36['spec']['attributes']);}['range'](_0x669a7d,_0x260188=_0x669a7d){if(_0x260188!=_0x669a7d)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x669a7d,_0x260188);}}LineDecoration['prototype']['mapMode']=e_['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x245c6a,_0x3a1c68,_0x103909,_0x4451b6,_0x3ce90d,_0x394b84){super(_0x3a1c68,_0x103909,_0x3ce90d,_0x245c6a),this['block']=_0x4451b6,this['isReplace']=_0x394b84,this['mapMode']=_0x4451b6?_0x3a1c68<=0x0?e_['TrackBefore']:e_['TrackAfter']:e_['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?JE['WidgetRange']:this['startSide']<=0x0?JE['WidgetBefore']:JE['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0xad3e82){return _0xad3e82 instanceof PointDecoration&&(_0x55dd77=this['widget'],_0x4520c8=_0xad3e82['widget'],_0x55dd77==_0x4520c8||!!(_0x55dd77&&_0x4520c8&&_0x55dd77['compare'](_0x4520c8)))&&this['block']==_0xad3e82['block']&&this['startSide']==_0xad3e82['startSide']&&this['endSide']==_0xad3e82['endSide'];var _0x55dd77,_0x4520c8;}['range'](_0x3ef1b9,_0x491f31=_0x3ef1b9){if(this['isReplace']&&(_0x3ef1b9>_0x491f31||_0x3ef1b9==_0x491f31&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x491f31!=_0x3ef1b9)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x3ef1b9,_0x491f31);}}function tT(_0x11cfc2,_0x9a659b=!0x1){let {inclusiveStart:_0x385858,inclusiveEnd:_0x38be98}=_0x11cfc2;return null==_0x385858&&(_0x385858=_0x11cfc2['inclusive']),null==_0x38be98&&(_0x38be98=_0x11cfc2['inclusive']),{'start':null!=_0x385858?_0x385858:_0x9a659b,'end':null!=_0x38be98?_0x38be98:_0x9a659b};}function eT(_0x1be467,_0x415d3e,_0x280851,_0x5e084f=0x0){let _0xb4c798=_0x280851['length']-0x1;_0xb4c798>=0x0&&_0x280851[_0xb4c798]+_0x5e084f>=_0x1be467?_0x280851[_0xb4c798]=Math['max'](_0x280851[_0xb4c798],_0x415d3e):_0x280851['push'](_0x1be467,_0x415d3e);}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'](_0x5147b0,_0x19aead,_0x12fff1,_0x5363c5,_0x44e2b6,_0x31fc96){if(_0x12fff1){if(!(_0x12fff1 instanceof LineView))return!0x1;this['dom']||_0x12fff1['transferDOM'](this);}return _0x5363c5&&this['setDeco'](_0x12fff1?_0x12fff1['attrs']:null),FE(this,_0x5147b0,_0x19aead,_0x12fff1?_0x12fff1['children']['slice']():[],_0x44e2b6,_0x31fc96),!0x0;}['split'](_0x392954){let _0x5e8a0e=new LineView();if(_0x5e8a0e['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x5e8a0e;let {i:_0x23561b,off:_0x13188d}=this['childPos'](_0x392954);_0x13188d&&(_0x5e8a0e['append'](this['children'][_0x23561b]['split'](_0x13188d),0x0),this['children'][_0x23561b]['merge'](_0x13188d,this['children'][_0x23561b]['length'],null,!0x1,0x0,0x0),_0x23561b++);for(let _0x5f221c=_0x23561b;_0x5f221c<this['children']['length'];_0x5f221c++)_0x5e8a0e['append'](this['children'][_0x5f221c],0x0);for(;_0x23561b>0x0&&0x0==this['children'][_0x23561b-0x1]['length'];)this['children'][--_0x23561b]['destroy']();return this['children']['length']=_0x23561b,this['markDirty'](),this['length']=_0x392954,_0x5e8a0e;}['transferDOM'](_0xc0530a){this['dom']&&(this['markDirty'](),_0xc0530a['setDOM'](this['dom']),_0xc0530a['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x1f5acf){zE(this['attrs'],_0x1f5acf)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x1f5acf);}['append'](_0x1cdcbd,_0x301744){GE(this,_0x1cdcbd,_0x301744);}['addLineDeco'](_0x49365a){let _0x154d01=_0x49365a['spec']['attributes'],_0x5e3a5a=_0x49365a['spec']['class'];_0x154d01&&(this['attrs']=qE(_0x154d01,this['attrs']||{})),_0x5e3a5a&&(this['attrs']=qE({'class':_0x5e3a5a},this['attrs']||{}));}['domAtPos'](_0x38cb0b){return HE(this,_0x38cb0b);}['reuseDOM'](_0x2288df){'DIV'==_0x2288df['nodeName']&&(this['setDOM'](_0x2288df),this['flags']|=0x6);}['sync'](_0x2c08bf,_0x4a5e04){var _0x1b5d4f;this['dom']?0x4&this['flags']&&($E(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']&&(YE(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x2c08bf,_0x4a5e04);let _0x151042=this['dom']['lastChild'];for(;_0x151042&&ContentView['get'](_0x151042)instanceof MarkView;)_0x151042=_0x151042['lastChild'];if(!(_0x151042&&this['length']&&('BR'==_0x151042['nodeName']||0x0!=(null===(_0x1b5d4f=ContentView['get'](_0x151042))||void 0x0===_0x1b5d4f?void 0x0:_0x1b5d4f['isEditable'])||wE['ios']&&this['children']['some'](_0xd6da03=>_0xd6da03 instanceof TextView)))){let _0x41c7f7=document['createElement']('BR');_0x41c7f7['cmIgnore']=!0x0,this['dom']['appendChild'](_0x41c7f7);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0xc5c02d,_0x1cebdf=0x0;for(let _0x5431ea of this['children']){if(!(_0x5431ea instanceof TextView)||/[^ -~]/['test'](_0x5431ea['text']))return null;let _0x1014fa=_E(_0x5431ea['dom']);if(0x1!=_0x1014fa['length'])return null;_0x1cebdf+=_0x1014fa[0x0]['width'],_0xc5c02d=_0x1014fa[0x0]['height'];}return _0x1cebdf?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x1cebdf/this['length'],'textHeight':_0xc5c02d}:null;}['coordsAt'](_0x14ff9f,_0x541744){let _0x3b48c0=ZE(this,_0x14ff9f,_0x541744);if(!this['children']['length']&&_0x3b48c0&&this['parent']){let {heightOracle:_0x3d1b85}=this['parent']['view']['viewState'],_0x2c5d6b=_0x3b48c0['bottom']-_0x3b48c0['top'];if(Math['abs'](_0x2c5d6b-_0x3d1b85['lineHeight'])<0x2&&_0x3d1b85['textHeight']<_0x2c5d6b){let _0x54abe5=(_0x2c5d6b-_0x3d1b85['textHeight'])/0x2;return{'top':_0x3b48c0['top']+_0x54abe5,'bottom':_0x3b48c0['bottom']-_0x54abe5,'left':_0x3b48c0['left'],'right':_0x3b48c0['left']};}}return _0x3b48c0;}['become'](_0x3582a4){return _0x3582a4 instanceof LineView&&0x0==this['children']['length']&&0x0==_0x3582a4['children']['length']&&zE(this['attrs'],_0x3582a4['attrs'])&&this['breakAfter']==_0x3582a4['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x23be6c,_0x295a95){for(let _0x46d30a=0x0,_0x2e04e0=0x0;_0x46d30a<_0x23be6c['children']['length'];_0x46d30a++){let _0x1e7c1a=_0x23be6c['children'][_0x46d30a],_0x898e6b=_0x2e04e0+_0x1e7c1a['length'];if(_0x898e6b>=_0x295a95){if(_0x1e7c1a instanceof LineView)return _0x1e7c1a;if(_0x898e6b>_0x295a95)break;}_0x2e04e0=_0x898e6b+_0x1e7c1a['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x634010,_0x52b765,_0x42df84){super(),this['widget']=_0x634010,this['length']=_0x52b765,this['deco']=_0x42df84,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x6bb928,_0x47d749,_0x361742,_0x59cb07,_0x3f85a6,_0x3840c1){return!(_0x361742&&(!(_0x361742 instanceof BlockWidgetView&&this['widget']['compare'](_0x361742['widget']))||_0x6bb928>0x0&&_0x3f85a6<=0x0||_0x47d749<this['length']&&_0x3840c1<=0x0))&&(this['length']=_0x6bb928+(_0x361742?_0x361742['length']:0x0)+(this['length']-_0x47d749),!0x0);}['domAtPos'](_0x188254){return 0x0==_0x188254?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x188254==this['length']);}['split'](_0x3cb344){let _0x3a6ee0=this['length']-_0x3cb344;this['length']=_0x3cb344;let _0x49f35e=new BlockWidgetView(this['widget'],_0x3a6ee0,this['deco']);return _0x49f35e['breakAfter']=this['breakAfter'],_0x49f35e;}get['children'](){return UE;}['sync'](_0x22a24d){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x22a24d)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x22a24d)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Gv['empty'];}['domBoundsAround'](){return null;}['become'](_0x11d716){return _0x11d716 instanceof BlockWidgetView&&_0x11d716['widget']['constructor']==this['widget']['constructor']&&(_0x11d716['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x11d716['widget'],this['length']=_0x11d716['length'],this['deco']=_0x11d716['deco'],this['breakAfter']=_0x11d716['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x4c7029){return this['widget']['ignoreEvent'](_0x4c7029);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x5ab57c,_0x4623ea){let _0x1280a9=this['widget']['coordsAt'](this['dom'],_0x5ab57c,_0x4623ea);return _0x1280a9||(this['widget']instanceof BlockGapWidget?null:CE(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x5ab57c:_0x4623ea<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x24ab1f){let {startSide:_0x41067c,endSide:_0x53713a}=this['deco'];return _0x41067c!=_0x53713a&&(_0x24ab1f<0x0?_0x41067c<0x0:_0x53713a>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x3fd72c){super(),this['height']=_0x3fd72c;}['toDOM'](){let _0x1d27fa=document['createElement']('div');return _0x1d27fa['className']='cm-gap',this['updateDOM'](_0x1d27fa),_0x1d27fa;}['eq'](_0x39151a){return _0x39151a['height']==this['height'];}['updateDOM'](_0x46a917){return _0x46a917['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x4ae7fb,_0x47828f,_0x1f66b9,_0x18478e){this['doc']=_0x4ae7fb,this['pos']=_0x47828f,this['end']=_0x1f66b9,this['disallowBlockEffectsFor']=_0x18478e,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']=_0x4ae7fb['iter'](),this['skip']=_0x47828f;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x3fc1a8=this['content'][this['content']['length']-0x1];return!(_0x3fc1a8['breakAfter']||_0x3fc1a8 instanceof BlockWidgetView&&_0x3fc1a8['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new LineView()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x3432d2=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](iT(new WidgetBufferView(-0x1),_0x3432d2),_0x3432d2['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0xcbcb5d){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0xcbcb5d);}['finish'](_0x3e4a35){this['pendingBuffer']&&_0x3e4a35<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x3e4a35&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x57aa2e,_0x707bd0,_0x11b420){for(;_0x57aa2e>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x207bf7,lineBreak:_0x302394,done:_0x6859e0}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x6859e0)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x302394){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,_0x57aa2e--;continue;}this['text']=_0x207bf7,this['textOff']=0x0;}let _0x419a44=Math['min'](this['text']['length']-this['textOff'],_0x57aa2e),_0x5635d5=Math['min'](_0x419a44,0x200);this['flushBuffer'](_0x707bd0['slice'](_0x707bd0['length']-_0x11b420)),this['getLine']()['append'](iT(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x5635d5)),_0x707bd0),_0x11b420),this['atCursorPos']=!0x0,this['textOff']+=_0x5635d5,_0x57aa2e-=_0x5635d5,_0x11b420=_0x419a44<=_0x5635d5?0x0:_0x707bd0['length'];}}['span'](_0x5a980d,_0x3bf364,_0x4f7866,_0xa1ff26){this['buildText'](_0x3bf364-_0x5a980d,_0x4f7866,_0xa1ff26),this['pos']=_0x3bf364,this['openStart']<0x0&&(this['openStart']=_0xa1ff26);}['point'](_0x3d11d4,_0x13867f,_0x2196e8,_0x4b4d99,_0x4a50c7,_0x3f324b){if(this['disallowBlockEffectsFor'][_0x3f324b]&&_0x2196e8 instanceof PointDecoration){if(_0x2196e8['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x13867f>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0xc112af=_0x13867f-_0x3d11d4;if(_0x2196e8 instanceof PointDecoration){if(_0x2196e8['block'])_0x2196e8['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x2196e8['widget']||NullWidget['block'],_0xc112af,_0x2196e8));else{let _0x13789a=WidgetView['create'](_0x2196e8['widget']||NullWidget['inline'],_0xc112af,_0xc112af?0x0:_0x2196e8['startSide']),_0x4cb8df=this['atCursorPos']&&!_0x13789a['isEditable']&&_0x4a50c7<=_0x4b4d99['length']&&(_0x3d11d4<_0x13867f||_0x2196e8['startSide']>0x0),_0x2270b5=!_0x13789a['isEditable']&&(_0x3d11d4<_0x13867f||_0x4a50c7>_0x4b4d99['length']||_0x2196e8['startSide']<=0x0),_0x519836=this['getLine']();0x2!=this['pendingBuffer']||_0x4cb8df||_0x13789a['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x4b4d99),_0x4cb8df&&(_0x519836['append'](iT(new WidgetBufferView(0x1),_0x4b4d99),_0x4a50c7),_0x4a50c7=_0x4b4d99['length']+Math['max'](0x0,_0x4a50c7-_0x4b4d99['length'])),_0x519836['append'](iT(_0x13789a,_0x4b4d99),_0x4a50c7),this['atCursorPos']=_0x2270b5,this['pendingBuffer']=_0x2270b5?_0x3d11d4<_0x13867f||_0x4a50c7>_0x4b4d99['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x4b4d99['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x2196e8);_0xc112af&&(this['textOff']+_0xc112af<=this['text']['length']?this['textOff']+=_0xc112af:(this['skip']+=_0xc112af-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x13867f),this['openStart']<0x0&&(this['openStart']=_0x4a50c7);}static['build'](_0x4554ed,_0x214ecd,_0x1d9892,_0x4785d5,_0x9e17b3){let _0x296746=new ContentBuilder(_0x4554ed,_0x214ecd,_0x1d9892,_0x9e17b3);return _0x296746['openEnd']=RangeSet['spans'](_0x4785d5,_0x214ecd,_0x1d9892,_0x296746),_0x296746['openStart']<0x0&&(_0x296746['openStart']=_0x296746['openEnd']),_0x296746['finish'](_0x296746['openEnd']),_0x296746;}}function iT(_0x5d705a,_0x3f4c32){for(let _0x10859b of _0x3f4c32)_0x5d705a=new MarkView(_0x10859b,[_0x5d705a],_0x5d705a['length']);return _0x5d705a;}class NullWidget extends WidgetType{constructor(_0xacd4d9){super(),this['tag']=_0xacd4d9;}['eq'](_0x1fd894){return _0x1fd894['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x74fe94){return _0x74fe94['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var sT=function(_0x3aa90c){return _0x3aa90c[_0x3aa90c['LTR']=0x0]='LTR',_0x3aa90c[_0x3aa90c['RTL']=0x1]='RTL',_0x3aa90c;}(sT||(sT={}));const nT=sT['LTR'],rT=sT['RTL'];function oT(_0x6f30cb){let _0x5081b7=[];for(let _0x4feb6b=0x0;_0x4feb6b<_0x6f30cb['length'];_0x4feb6b++)_0x5081b7['push'](0x1<<+_0x6f30cb[_0x4feb6b]);return _0x5081b7;}const aT=oT('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),cT=oT('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),lT=Object['create'](null),hT=[];for(let e of['()','[]','{}']){let s=e['charCodeAt'](0x0),n=e['charCodeAt'](0x1);lT[s]=n,lT[n]=-s;}function uT(_0x4f6db0){return _0x4f6db0<=0xf7?aT[_0x4f6db0]:0x590<=_0x4f6db0&&_0x4f6db0<=0x5f4?0x2:0x600<=_0x4f6db0&&_0x4f6db0<=0x6f9?cT[_0x4f6db0-0x600]:0x6ee<=_0x4f6db0&&_0x4f6db0<=0x8ac?0x4:0x2000<=_0x4f6db0&&_0x4f6db0<=0x200c?0x100:0xfb50<=_0x4f6db0&&_0x4f6db0<=0xfdff?0x4:0x1;}const dT=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class BidiSpan{get['dir'](){return this['level']%0x2?rT:nT;}constructor(_0x44ffb1,_0x4e2de7,_0x1b9494){this['from']=_0x44ffb1,this['to']=_0x4e2de7,this['level']=_0x1b9494;}['side'](_0x889465,_0x58e41d){return this['dir']==_0x58e41d==_0x889465?this['to']:this['from'];}['forward'](_0x144329,_0x4af994){return _0x144329==(this['dir']==_0x4af994);}static['find'](_0x4ff79b,_0x4d6fc0,_0x11b833,_0x4b5852){let _0x38babb=-0x1;for(let _0x41014e=0x0;_0x41014e<_0x4ff79b['length'];_0x41014e++){let _0x257447=_0x4ff79b[_0x41014e];if(_0x257447['from']<=_0x4d6fc0&&_0x257447['to']>=_0x4d6fc0){if(_0x257447['level']==_0x11b833)return _0x41014e;(_0x38babb<0x0||(0x0!=_0x4b5852?_0x4b5852<0x0?_0x257447['from']<_0x4d6fc0:_0x257447['to']>_0x4d6fc0:_0x4ff79b[_0x38babb]['level']>_0x257447['level']))&&(_0x38babb=_0x41014e);}}if(_0x38babb<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x38babb;}}function fT(_0x467dd6,_0x4412d6){if(_0x467dd6['length']!=_0x4412d6['length'])return!0x1;for(let _0x497413=0x0;_0x497413<_0x467dd6['length'];_0x497413++){let _0x4839e7=_0x467dd6[_0x497413],_0x343b18=_0x4412d6[_0x497413];if(_0x4839e7['from']!=_0x343b18['from']||_0x4839e7['to']!=_0x343b18['to']||_0x4839e7['direction']!=_0x343b18['direction']||!fT(_0x4839e7['inner'],_0x343b18['inner']))return!0x1;}return!0x0;}const mT=[];function gT(_0x37d6f3,_0x40cd5d,_0x320d2c,_0x27ff35,_0x1a52a2,_0x1c3d2a,_0x425aeb){let _0x402add=_0x27ff35%0x2?0x2:0x1;if(_0x27ff35%0x2==_0x1a52a2%0x2)for(let _0x25de27=_0x40cd5d,_0x5a332c=0x0;_0x25de27<_0x320d2c;){let _0x22c049=!0x0,_0x3f6453=!0x1;if(_0x5a332c==_0x1c3d2a['length']||_0x25de27<_0x1c3d2a[_0x5a332c]['from']){let _0x783590=mT[_0x25de27];_0x783590!=_0x402add&&(_0x22c049=!0x1,_0x3f6453=0x10==_0x783590);}let _0x12f1ee=_0x22c049||0x1!=_0x402add?null:[],_0x50687c=_0x22c049?_0x27ff35:_0x27ff35+0x1,_0x964968=_0x25de27;t:for(;;)if(_0x5a332c<_0x1c3d2a['length']&&_0x964968==_0x1c3d2a[_0x5a332c]['from']){if(_0x3f6453)break t;let _0x4bcaea=_0x1c3d2a[_0x5a332c];if(!_0x22c049)for(let _0x11883d=_0x4bcaea['to'],_0x14b400=_0x5a332c+0x1;;){if(_0x11883d==_0x320d2c)break t;if(!(_0x14b400<_0x1c3d2a['length']&&_0x1c3d2a[_0x14b400]['from']==_0x11883d)){if(mT[_0x11883d]==_0x402add)break t;break;}_0x11883d=_0x1c3d2a[_0x14b400++]['to'];}if(_0x5a332c++,_0x12f1ee)_0x12f1ee['push'](_0x4bcaea);else _0x4bcaea['from']>_0x25de27&&_0x425aeb['push'](new BidiSpan(_0x25de27,_0x4bcaea['from'],_0x50687c)),pT(_0x37d6f3,_0x4bcaea['direction']==nT!=!(_0x50687c%0x2)?_0x27ff35+0x1:_0x27ff35,_0x1a52a2,_0x4bcaea['inner'],_0x4bcaea['from'],_0x4bcaea['to'],_0x425aeb),_0x25de27=_0x4bcaea['to'];_0x964968=_0x4bcaea['to'];}else{if(_0x964968==_0x320d2c||(_0x22c049?mT[_0x964968]!=_0x402add:mT[_0x964968]==_0x402add))break;_0x964968++;}_0x12f1ee?gT(_0x37d6f3,_0x25de27,_0x964968,_0x27ff35+0x1,_0x1a52a2,_0x12f1ee,_0x425aeb):_0x25de27<_0x964968&&_0x425aeb['push'](new BidiSpan(_0x25de27,_0x964968,_0x50687c)),_0x25de27=_0x964968;}else for(let _0x381404=_0x320d2c,_0x40f7dc=_0x1c3d2a['length'];_0x381404>_0x40cd5d;){let _0x7bfaba=!0x0,_0x111755=!0x1;if(!_0x40f7dc||_0x381404>_0x1c3d2a[_0x40f7dc-0x1]['to']){let _0x4510ef=mT[_0x381404-0x1];_0x4510ef!=_0x402add&&(_0x7bfaba=!0x1,_0x111755=0x10==_0x4510ef);}let _0x1fa41f=_0x7bfaba||0x1!=_0x402add?null:[],_0x4ce06c=_0x7bfaba?_0x27ff35:_0x27ff35+0x1,_0x5847a1=_0x381404;t:for(;;)if(_0x40f7dc&&_0x5847a1==_0x1c3d2a[_0x40f7dc-0x1]['to']){if(_0x111755)break t;let _0x1fb868=_0x1c3d2a[--_0x40f7dc];if(!_0x7bfaba)for(let _0x5a9d81=_0x1fb868['from'],_0x34bb25=_0x40f7dc;;){if(_0x5a9d81==_0x40cd5d)break t;if(!_0x34bb25||_0x1c3d2a[_0x34bb25-0x1]['to']!=_0x5a9d81){if(mT[_0x5a9d81-0x1]==_0x402add)break t;break;}_0x5a9d81=_0x1c3d2a[--_0x34bb25]['from'];}if(_0x1fa41f)_0x1fa41f['push'](_0x1fb868);else _0x1fb868['to']<_0x381404&&_0x425aeb['push'](new BidiSpan(_0x1fb868['to'],_0x381404,_0x4ce06c)),pT(_0x37d6f3,_0x1fb868['direction']==nT!=!(_0x4ce06c%0x2)?_0x27ff35+0x1:_0x27ff35,_0x1a52a2,_0x1fb868['inner'],_0x1fb868['from'],_0x1fb868['to'],_0x425aeb),_0x381404=_0x1fb868['from'];_0x5847a1=_0x1fb868['from'];}else{if(_0x5847a1==_0x40cd5d||(_0x7bfaba?mT[_0x5847a1-0x1]!=_0x402add:mT[_0x5847a1-0x1]==_0x402add))break;_0x5847a1--;}_0x1fa41f?gT(_0x37d6f3,_0x5847a1,_0x381404,_0x27ff35+0x1,_0x1a52a2,_0x1fa41f,_0x425aeb):_0x5847a1<_0x381404&&_0x425aeb['push'](new BidiSpan(_0x5847a1,_0x381404,_0x4ce06c)),_0x381404=_0x5847a1;}}function pT(_0x3b1509,_0x3b8a99,_0x490f43,_0x283932,_0x3bb63a,_0x31bbce,_0x32217a){let _0x389735=_0x3b8a99%0x2?0x2:0x1;!function(_0x41a3f1,_0x15d892,_0x118a38,_0x1fb9b7,_0x1fbefb){for(let _0x20f054=0x0;_0x20f054<=_0x1fb9b7['length'];_0x20f054++){let _0x5eac1c=_0x20f054?_0x1fb9b7[_0x20f054-0x1]['to']:_0x15d892,_0x48a0cf=_0x20f054<_0x1fb9b7['length']?_0x1fb9b7[_0x20f054]['from']:_0x118a38,_0x46b27c=_0x20f054?0x100:_0x1fbefb;for(let _0x350aa0=_0x5eac1c,_0x5894a4=_0x46b27c,_0x4a3a93=_0x46b27c;_0x350aa0<_0x48a0cf;_0x350aa0++){let _0x34273d=uT(_0x41a3f1['charCodeAt'](_0x350aa0));0x200==_0x34273d?_0x34273d=_0x5894a4:0x8==_0x34273d&&0x4==_0x4a3a93&&(_0x34273d=0x10),mT[_0x350aa0]=0x4==_0x34273d?0x2:_0x34273d,0x7&_0x34273d&&(_0x4a3a93=_0x34273d),_0x5894a4=_0x34273d;}for(let _0x2c7605=_0x5eac1c,_0x396b46=_0x46b27c,_0x644753=_0x46b27c;_0x2c7605<_0x48a0cf;_0x2c7605++){let _0x5cc94d=mT[_0x2c7605];if(0x80==_0x5cc94d)_0x2c7605<_0x48a0cf-0x1&&_0x396b46==mT[_0x2c7605+0x1]&&0x18&_0x396b46?_0x5cc94d=mT[_0x2c7605]=_0x396b46:mT[_0x2c7605]=0x100;else{if(0x40==_0x5cc94d){let _0xd3162d=_0x2c7605+0x1;for(;_0xd3162d<_0x48a0cf&&0x40==mT[_0xd3162d];)_0xd3162d++;let _0x31e55d=_0x2c7605&&0x8==_0x396b46||_0xd3162d<_0x118a38&&0x8==mT[_0xd3162d]?0x1==_0x644753?0x1:0x8:0x100;for(let _0x20710e=_0x2c7605;_0x20710e<_0xd3162d;_0x20710e++)mT[_0x20710e]=_0x31e55d;_0x2c7605=_0xd3162d-0x1;}else 0x8==_0x5cc94d&&0x1==_0x644753&&(mT[_0x2c7605]=0x1);}_0x396b46=_0x5cc94d,0x7&_0x5cc94d&&(_0x644753=_0x5cc94d);}}}(_0x3b1509,_0x3bb63a,_0x31bbce,_0x283932,_0x389735),function(_0x27496c,_0x5901a6,_0x546bec,_0x492bea,_0x577190){let _0x25b786=0x1==_0x577190?0x2:0x1;for(let _0x496ef7=0x0,_0x32d4bc=0x0,_0x518e7e=0x0;_0x496ef7<=_0x492bea['length'];_0x496ef7++){let _0x5ccbfb=_0x496ef7?_0x492bea[_0x496ef7-0x1]['to']:_0x5901a6,_0x24117d=_0x496ef7<_0x492bea['length']?_0x492bea[_0x496ef7]['from']:_0x546bec;for(let _0x57ef2d,_0x5c1ff1,_0x430a72,_0xb5e585=_0x5ccbfb;_0xb5e585<_0x24117d;_0xb5e585++)if(_0x5c1ff1=lT[_0x57ef2d=_0x27496c['charCodeAt'](_0xb5e585)]){if(_0x5c1ff1<0x0){for(let _0x514b03=_0x32d4bc-0x3;_0x514b03>=0x0;_0x514b03-=0x3)if(hT[_0x514b03+0x1]==-_0x5c1ff1){let _0x1e0194=hT[_0x514b03+0x2],_0x2a243=0x2&_0x1e0194?_0x577190:0x4&_0x1e0194?0x1&_0x1e0194?_0x25b786:_0x577190:0x0;_0x2a243&&(mT[_0xb5e585]=mT[hT[_0x514b03]]=_0x2a243),_0x32d4bc=_0x514b03;break;}}else{if(0xbd==hT['length'])break;hT[_0x32d4bc++]=_0xb5e585,hT[_0x32d4bc++]=_0x57ef2d,hT[_0x32d4bc++]=_0x518e7e;}}else{if(0x2==(_0x430a72=mT[_0xb5e585])||0x1==_0x430a72){let _0x4402b7=_0x430a72==_0x577190;_0x518e7e=_0x4402b7?0x0:0x1;for(let _0x28df32=_0x32d4bc-0x3;_0x28df32>=0x0;_0x28df32-=0x3){let _0x424346=hT[_0x28df32+0x2];if(0x2&_0x424346)break;if(_0x4402b7)hT[_0x28df32+0x2]|=0x2;else{if(0x4&_0x424346)break;hT[_0x28df32+0x2]|=0x4;}}}}}}(_0x3b1509,_0x3bb63a,_0x31bbce,_0x283932,_0x389735),function(_0x20ec2c,_0x5a58f4,_0x2cf1c5,_0x2f23d5){for(let _0x2b7db3=0x0,_0x2bfe90=_0x2f23d5;_0x2b7db3<=_0x2cf1c5['length'];_0x2b7db3++){let _0x58c432=_0x2b7db3?_0x2cf1c5[_0x2b7db3-0x1]['to']:_0x20ec2c,_0x300448=_0x2b7db3<_0x2cf1c5['length']?_0x2cf1c5[_0x2b7db3]['from']:_0x5a58f4;for(let _0x478b97=_0x58c432;_0x478b97<_0x300448;){let _0x255bde=mT[_0x478b97];if(0x100==_0x255bde){let _0x7eb4a4=_0x478b97+0x1;for(;;)if(_0x7eb4a4==_0x300448){if(_0x2b7db3==_0x2cf1c5['length'])break;_0x7eb4a4=_0x2cf1c5[_0x2b7db3++]['to'],_0x300448=_0x2b7db3<_0x2cf1c5['length']?_0x2cf1c5[_0x2b7db3]['from']:_0x5a58f4;}else{if(0x100!=mT[_0x7eb4a4])break;_0x7eb4a4++;}let _0x2b1e9e=0x1==_0x2bfe90,_0x16d0c9=_0x2b1e9e==(0x1==(_0x7eb4a4<_0x5a58f4?mT[_0x7eb4a4]:_0x2f23d5))?_0x2b1e9e?0x1:0x2:_0x2f23d5;for(let _0x53b825=_0x7eb4a4,_0x33fade=_0x2b7db3,_0x31e89e=_0x33fade?_0x2cf1c5[_0x33fade-0x1]['to']:_0x20ec2c;_0x53b825>_0x478b97;)_0x53b825==_0x31e89e&&(_0x53b825=_0x2cf1c5[--_0x33fade]['from'],_0x31e89e=_0x33fade?_0x2cf1c5[_0x33fade-0x1]['to']:_0x20ec2c),mT[--_0x53b825]=_0x16d0c9;_0x478b97=_0x7eb4a4;}else _0x2bfe90=_0x255bde,_0x478b97++;}}}(_0x3bb63a,_0x31bbce,_0x283932,_0x389735),gT(_0x3b1509,_0x3bb63a,_0x31bbce,_0x3b8a99,_0x490f43,_0x283932,_0x32217a);}function OT(_0x5f3906){return[new BidiSpan(0x0,_0x5f3906,0x0)];}let wT='';function bT(_0x387790,_0x494c96,_0x240aac,_0xa16bc9,_0x4f1767){var _0x243462;let _0x38fcfd=_0xa16bc9['head']-_0x387790['from'],_0x42b674=BidiSpan['find'](_0x494c96,_0x38fcfd,null!==(_0x243462=_0xa16bc9['bidiLevel'])&&void 0x0!==_0x243462?_0x243462:-0x1,_0xa16bc9['assoc']),_0x3c6a51=_0x494c96[_0x42b674],_0x4e0f06=_0x3c6a51['side'](_0x4f1767,_0x240aac);if(_0x38fcfd==_0x4e0f06){let _0x2937cf=_0x42b674+=_0x4f1767?0x1:-0x1;if(_0x2937cf<0x0||_0x2937cf>=_0x494c96['length'])return null;_0x3c6a51=_0x494c96[_0x42b674=_0x2937cf],_0x38fcfd=_0x3c6a51['side'](!_0x4f1767,_0x240aac),_0x4e0f06=_0x3c6a51['side'](_0x4f1767,_0x240aac);}let _0x271af9=zv(_0x387790['text'],_0x38fcfd,_0x3c6a51['forward'](_0x4f1767,_0x240aac));(_0x271af9<_0x3c6a51['from']||_0x271af9>_0x3c6a51['to'])&&(_0x271af9=_0x4e0f06),wT=_0x387790['text']['slice'](Math['min'](_0x38fcfd,_0x271af9),Math['max'](_0x38fcfd,_0x271af9));let _0x2e01bc=_0x42b674==(_0x4f1767?_0x494c96['length']-0x1:0x0)?null:_0x494c96[_0x42b674+(_0x4f1767?0x1:-0x1)];return _0x2e01bc&&_0x271af9==_0x4e0f06&&_0x2e01bc['level']+(_0x4f1767?0x0:0x1)<_0x3c6a51['level']?EditorSelection['cursor'](_0x2e01bc['side'](!_0x4f1767,_0x240aac)+_0x387790['from'],_0x2e01bc['forward'](_0x4f1767,_0x240aac)?0x1:-0x1,_0x2e01bc['level']):EditorSelection['cursor'](_0x271af9+_0x387790['from'],_0x3c6a51['forward'](_0x4f1767,_0x240aac)?-0x1:0x1,_0x3c6a51['level']);}function yT(_0x28f2e7,_0x2ac7b2,_0x5e5a7a){for(let _0x595353=_0x2ac7b2;_0x595353<_0x5e5a7a;_0x595353++){let _0x3cf41a=uT(_0x28f2e7['charCodeAt'](_0x595353));if(0x1==_0x3cf41a)return nT;if(0x2==_0x3cf41a||0x4==_0x3cf41a)return rT;}return nT;}const vT=Facet['define'](),_T=Facet['define'](),ET=Facet['define'](),TT=Facet['define'](),AT=Facet['define'](),ST=Facet['define'](),IT=Facet['define'](),CT=Facet['define'](),kT=Facet['define'](),xT=Facet['define']({'combine':_0xaadf8=>_0xaadf8['some'](_0x2755f3=>_0x2755f3)}),RT=Facet['define']({'combine':_0x4d87c6=>_0x4d87c6['some'](_0x2fa7ff=>_0x2fa7ff)}),PT=Facet['define']();class ScrollTarget{constructor(_0x2b91b6,_0x39f251='nearest',_0x4aab7b='nearest',_0x510f46=0x5,_0x303bb9=0x5,_0x73ea3d=!0x1){this['range']=_0x2b91b6,this['y']=_0x39f251,this['x']=_0x4aab7b,this['yMargin']=_0x510f46,this['xMargin']=_0x303bb9,this['isSnapshot']=_0x73ea3d;}['map'](_0x4c94a5){return _0x4c94a5['empty']?this:new ScrollTarget(this['range']['map'](_0x4c94a5),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x221cf6){return this['range']['to']<=_0x221cf6['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x221cf6['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const MT=StateEffect['define']({'map':(t,_0x3991ae)=>t['map'](_0x3991ae)}),NT=StateEffect['define']();function LT(_0x296b5a,_0xf08e6a,_0x6e34dc){let _0x445a04=_0x296b5a['facet'](TT);_0x445a04['length']?_0x445a04[0x0](_0xf08e6a):window['onerror']&&window['onerror'](String(_0xf08e6a),_0x6e34dc,void 0x0,void 0x0,_0xf08e6a)||(_0x6e34dc?console['error'](_0x6e34dc+':',_0xf08e6a):console['error'](_0xf08e6a));}const $T=Facet['define']({'combine':_0x490627=>!_0x490627['length']||_0x490627[0x0]});let DT=0x0;const QT=Facet['define']({'combine':_0x49ea1e=>_0x49ea1e['filter']((_0xb94e7d,_0x4d4a7f)=>{for(let _0x24777a=0x0;_0x24777a<_0x4d4a7f;_0x24777a++)if(_0x49ea1e[_0x24777a]['plugin']==_0xb94e7d['plugin'])return!0x1;return!0x0;})});class ViewPlugin{constructor(_0x42a044,_0x2dd800,_0x6933d0,_0x12b6ba,_0x2b4196){this['id']=_0x42a044,this['create']=_0x2dd800,this['domEventHandlers']=_0x6933d0,this['domEventObservers']=_0x12b6ba,this['baseExtensions']=_0x2b4196(this),this['extension']=this['baseExtensions']['concat'](QT['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x397508){return this['baseExtensions']['concat'](QT['of']({'plugin':this,'arg':_0x397508}));}static['define'](_0x240976,_0x2aaffa){const {eventHandlers:_0xa73078,eventObservers:_0x3e5b27,provide:_0x4c3546,decorations:_0x3852b7}=_0x2aaffa||{};return new ViewPlugin(DT++,_0x240976,_0xa73078,_0x3e5b27,_0x5659df=>{let _0x48edc3=[];return _0x3852b7&&_0x48edc3['push'](BT['of'](_0x23f8d2=>{let _0x3ebf4b=_0x23f8d2['plugin'](_0x5659df);return _0x3ebf4b?_0x3852b7(_0x3ebf4b):Decoration['none'];})),_0x4c3546&&_0x48edc3['push'](_0x4c3546(_0x5659df)),_0x48edc3;});}static['fromClass'](_0x1a6bd8,_0x32ecbe){return ViewPlugin['define']((_0x271dcf,_0x7253fb)=>new _0x1a6bd8(_0x271dcf,_0x7253fb),_0x32ecbe);}}class PluginInstance{constructor(_0x2526c0){this['spec']=_0x2526c0,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x7e3f9e){if(this['value']){if(this['mustUpdate']){let _0x57bf9a=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x57bf9a);}catch(_0x4d11f4){if(LT(_0x57bf9a['state'],_0x4d11f4,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x3dc7f2){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x7e3f9e,this['spec']['arg']);}catch(_0x3aaca5){LT(_0x7e3f9e['state'],_0x3aaca5,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x146119){var _0x25ed03;if(null===(_0x25ed03=this['value'])||void 0x0===_0x25ed03?void 0x0:_0x25ed03['destroy'])try{this['value']['destroy']();}catch(_0x231c21){LT(_0x146119['state'],_0x231c21,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const VT=Facet['define'](),UT=Facet['define'](),BT=Facet['define'](),jT=Facet['define'](),FT=Facet['define'](),HT=Facet['define']();function GT(_0x4ab220,_0x42f870){let _0x163928=_0x4ab220['state']['facet'](HT);if(!_0x163928['length'])return _0x163928;let _0x34f737=_0x163928['map'](_0x70a23a=>_0x70a23a instanceof Function?_0x70a23a(_0x4ab220):_0x70a23a),_0x5e61a2=[];return RangeSet['spans'](_0x34f737,_0x42f870['from'],_0x42f870['to'],{'point'(){},'span'(_0x4748d9,_0x3bfdee,_0x1c53f5,_0x4d1732){let _0x5743f2=_0x4748d9-_0x42f870['from'],_0x204dfe=_0x3bfdee-_0x42f870['from'],_0x18419f=_0x5e61a2;for(let _0x13c94e=_0x1c53f5['length']-0x1;_0x13c94e>=0x0;_0x13c94e--,_0x4d1732--){let _0xa29bd4,_0x5dddd8=_0x1c53f5[_0x13c94e]['spec']['bidiIsolate'];if(null==_0x5dddd8&&(_0x5dddd8=yT(_0x42f870['text'],_0x5743f2,_0x204dfe)),_0x4d1732>0x0&&_0x18419f['length']&&(_0xa29bd4=_0x18419f[_0x18419f['length']-0x1])['to']==_0x5743f2&&_0xa29bd4['direction']==_0x5dddd8)_0xa29bd4['to']=_0x204dfe,_0x18419f=_0xa29bd4['inner'];else{let _0x11b639={'from':_0x5743f2,'to':_0x204dfe,'direction':_0x5dddd8,'inner':[]};_0x18419f['push'](_0x11b639),_0x18419f=_0x11b639['inner'];}}}}),_0x5e61a2;}const ZT=Facet['define']();function XT(_0x29335c){let _0x81cf5f=0x0,_0x1450e1=0x0,_0x19f84f=0x0,_0x3c66e7=0x0;for(let _0x14e523 of _0x29335c['state']['facet'](ZT)){let _0x1624ac=_0x14e523(_0x29335c);_0x1624ac&&(null!=_0x1624ac['left']&&(_0x81cf5f=Math['max'](_0x81cf5f,_0x1624ac['left'])),null!=_0x1624ac['right']&&(_0x1450e1=Math['max'](_0x1450e1,_0x1624ac['right'])),null!=_0x1624ac['top']&&(_0x19f84f=Math['max'](_0x19f84f,_0x1624ac['top'])),null!=_0x1624ac['bottom']&&(_0x3c66e7=Math['max'](_0x3c66e7,_0x1624ac['bottom'])));}return{'left':_0x81cf5f,'right':_0x1450e1,'top':_0x19f84f,'bottom':_0x3c66e7};}const qT=Facet['define']();class ChangedRange{constructor(_0x38bb16,_0x1a9349,_0x30dd01,_0x291fb8){this['fromA']=_0x38bb16,this['toA']=_0x1a9349,this['fromB']=_0x30dd01,this['toB']=_0x291fb8;}['join'](_0x2c7f46){return new ChangedRange(Math['min'](this['fromA'],_0x2c7f46['fromA']),Math['max'](this['toA'],_0x2c7f46['toA']),Math['min'](this['fromB'],_0x2c7f46['fromB']),Math['max'](this['toB'],_0x2c7f46['toB']));}['addToSet'](_0x4d3198){let _0xd688fd=_0x4d3198['length'],_0x5e1c9d=this;for(;_0xd688fd>0x0;_0xd688fd--){let _0xba3979=_0x4d3198[_0xd688fd-0x1];if(!(_0xba3979['fromA']>_0x5e1c9d['toA'])){if(_0xba3979['toA']<_0x5e1c9d['fromA'])break;_0x5e1c9d=_0x5e1c9d['join'](_0xba3979),_0x4d3198['splice'](_0xd688fd-0x1,0x1);}}return _0x4d3198['splice'](_0xd688fd,0x0,_0x5e1c9d),_0x4d3198;}static['extendWithRanges'](_0x2772e5,_0x54b7f5){if(0x0==_0x54b7f5['length'])return _0x2772e5;let _0x432a39=[];for(let _0x199035=0x0,_0xdf5365=0x0,_0x468c4a=0x0,_0x3044df=0x0;;_0x199035++){let _0x14f84c=_0x199035==_0x2772e5['length']?null:_0x2772e5[_0x199035],_0x2b9613=_0x468c4a-_0x3044df,_0x55643d=_0x14f84c?_0x14f84c['fromB']:0x3b9aca00;for(;_0xdf5365<_0x54b7f5['length']&&_0x54b7f5[_0xdf5365]<_0x55643d;){let _0x4f9568=_0x54b7f5[_0xdf5365],_0x1242a3=_0x54b7f5[_0xdf5365+0x1],_0x31c57f=Math['max'](_0x3044df,_0x4f9568),_0x3683e3=Math['min'](_0x55643d,_0x1242a3);if(_0x31c57f<=_0x3683e3&&new ChangedRange(_0x31c57f+_0x2b9613,_0x3683e3+_0x2b9613,_0x31c57f,_0x3683e3)['addToSet'](_0x432a39),_0x1242a3>_0x55643d)break;_0xdf5365+=0x2;}if(!_0x14f84c)return _0x432a39;new ChangedRange(_0x14f84c['fromA'],_0x14f84c['toA'],_0x14f84c['fromB'],_0x14f84c['toB'])['addToSet'](_0x432a39),_0x468c4a=_0x14f84c['toA'],_0x3044df=_0x14f84c['toB'];}}}class ViewUpdate{constructor(_0x3a7f82,_0x3b8a58,_0x4619d3){this['view']=_0x3a7f82,this['state']=_0x3b8a58,this['transactions']=_0x4619d3,this['flags']=0x0,this['startState']=_0x3a7f82['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x4fc048 of _0x4619d3)this['changes']=this['changes']['compose'](_0x4fc048['changes']);let _0x91faa9=[];this['changes']['iterChangedRanges']((_0xeacd77,_0x5d3e25,_0x17bbbf,_0x3f456e)=>_0x91faa9['push'](new ChangedRange(_0xeacd77,_0x5d3e25,_0x17bbbf,_0x3f456e))),this['changedRanges']=_0x91faa9;}static['create'](_0xdef101,_0x4a924e,_0x3df428){return new ViewUpdate(_0xdef101,_0x4a924e,_0x3df428);}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'](_0x45cfc4=>_0x45cfc4['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class DocView extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x3304f6){super(),this['view']=_0x3304f6,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'](_0x3304f6['contentDOM']),this['children']=[new LineView()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new ChangedRange(0x0,0x0,0x0,_0x3304f6['state']['doc']['length'])],0x0,null);}['update'](_0x2c56da){var _0x18b3ea;let _0x297bd3=_0x2c56da['changedRanges'];this['minWidth']>0x0&&_0x297bd3['length']&&(_0x297bd3['every'](({fromA:_0x441cb7,toA:_0x2f25c0})=>_0x2f25c0<this['minWidthFrom']||_0x441cb7>this['minWidthTo'])?(this['minWidthFrom']=_0x2c56da['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x2c56da['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x2c56da);let _0x2ceb70=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x18b3ea=this['domChanged'])||void 0x0===_0x18b3ea?void 0x0:_0x18b3ea['newSel'])?_0x2ceb70=this['domChanged']['newSel']['head']:function(_0x313b00,_0x3f44e1){let _0x4364e1=!0x1;return _0x3f44e1&&_0x313b00['iterChangedRanges']((_0x151254,_0x320fb8)=>{_0x151254<_0x3f44e1['to']&&_0x320fb8>_0x3f44e1['from']&&(_0x4364e1=!0x0);}),_0x4364e1;}(_0x2c56da['changes'],this['hasComposition'])||_0x2c56da['selectionSet']||(_0x2ceb70=_0x2c56da['state']['selection']['main']['head']));let _0x33bfa2=_0x2ceb70>-0x1?function(_0x1844b5,_0x580314,_0x120b61){let _0x528e25=zT(_0x1844b5,_0x120b61);if(!_0x528e25)return null;let {node:_0x993077,from:_0x499c89,to:_0x141228}=_0x528e25,_0x34859d=_0x993077['nodeValue'];if(/[\n\r]/['test'](_0x34859d))return null;if(_0x1844b5['state']['doc']['sliceString'](_0x528e25['from'],_0x528e25['to'])!=_0x34859d)return null;let _0x250fc3=_0x580314['invertedDesc'],_0x23b076=new ChangedRange(_0x250fc3['mapPos'](_0x499c89),_0x250fc3['mapPos'](_0x141228),_0x499c89,_0x141228),_0x54e76a=[];for(let _0x55ecf2=_0x993077['parentNode'];;_0x55ecf2=_0x55ecf2['parentNode']){let _0x1eefba=ContentView['get'](_0x55ecf2);if(_0x1eefba instanceof MarkView)_0x54e76a['push']({'node':_0x55ecf2,'deco':_0x1eefba['mark']});else{if(_0x1eefba instanceof LineView||'DIV'==_0x55ecf2['nodeName']&&_0x55ecf2['parentNode']==_0x1844b5['contentDOM'])return{'range':_0x23b076,'text':_0x993077,'marks':_0x54e76a,'line':_0x55ecf2};if(_0x55ecf2==_0x1844b5['contentDOM'])return null;_0x54e76a['push']({'node':_0x55ecf2,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':KE(_0x55ecf2),'tagName':_0x55ecf2['tagName']['toLowerCase']()})});}}}(this['view'],_0x2c56da['changes'],_0x2ceb70):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x1676cb,to:_0x211504}=this['hasComposition'];_0x297bd3=new ChangedRange(_0x1676cb,_0x211504,_0x2c56da['changes']['mapPos'](_0x1676cb,-0x1),_0x2c56da['changes']['mapPos'](_0x211504,0x1))['addToSet'](_0x297bd3['slice']());}this['hasComposition']=_0x33bfa2?{'from':_0x33bfa2['range']['fromB'],'to':_0x33bfa2['range']['toB']}:null,(wE['ie']||wE['chrome'])&&!_0x33bfa2&&_0x2c56da&&_0x2c56da['state']['doc']['lines']!=_0x2c56da['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x5cb149=function(_0x42f30e,_0x200be2,_0x3cc751){let _0x194160=new YT();return RangeSet['compare'](_0x42f30e,_0x200be2,_0x3cc751,_0x194160),_0x194160['changes'];}(this['decorations'],this['updateDeco'](),_0x2c56da['changes']);return _0x297bd3=ChangedRange['extendWithRanges'](_0x297bd3,_0x5cb149),!!(0x7&this['flags']||0x0!=_0x297bd3['length'])&&(this['updateInner'](_0x297bd3,_0x2c56da['startState']['doc']['length'],_0x33bfa2),_0x2c56da['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x817cdd,_0xd3eeff,_0x306063){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x817cdd,_0xd3eeff,_0x306063);let {observer:_0x1b290c}=this['view'];_0x1b290c['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x3027a5=wE['chrome']||wE['ios']?{'node':_0x1b290c['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x3027a5),this['flags']&=-0x8,_0x3027a5&&(_0x3027a5['written']||_0x1b290c['selectionRange']['focusNode']!=_0x3027a5['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x2e3a76=>_0x2e3a76['flags']&=-0x9);let _0x123630=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x3b2249 of this['children'])_0x3b2249 instanceof BlockWidgetView&&_0x3b2249['widget']instanceof BlockGapWidget&&_0x123630['push'](_0x3b2249['dom']);}_0x1b290c['updateGaps'](_0x123630);}['updateChildren'](_0x36110e,_0x18978c,_0x6e94b){let _0x27ac1b=_0x6e94b?_0x6e94b['range']['addToSet'](_0x36110e['slice']()):_0x36110e,_0x5e3246=this['childCursor'](_0x18978c);for(let _0x19dbd4=_0x27ac1b['length']-0x1;;_0x19dbd4--){let _0x443b88=_0x19dbd4>=0x0?_0x27ac1b[_0x19dbd4]:null;if(!_0x443b88)break;let _0x3e1c53,_0x1e0567,_0x34f95d,_0x469df4,{fromA:_0x1bfdad,toA:_0x4c21d4,fromB:_0x4a0d81,toB:_0x12c992}=_0x443b88;if(_0x6e94b&&_0x6e94b['range']['fromB']<_0x12c992&&_0x6e94b['range']['toB']>_0x4a0d81){let _0x16a45f=ContentBuilder['build'](this['view']['state']['doc'],_0x4a0d81,_0x6e94b['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x13b28c=ContentBuilder['build'](this['view']['state']['doc'],_0x6e94b['range']['toB'],_0x12c992,this['decorations'],this['dynamicDecorationMap']);_0x1e0567=_0x16a45f['breakAtStart'],_0x34f95d=_0x16a45f['openStart'],_0x469df4=_0x13b28c['openEnd'];let _0x2efa02=this['compositionView'](_0x6e94b);_0x13b28c['breakAtStart']?_0x2efa02['breakAfter']=0x1:_0x13b28c['content']['length']&&_0x2efa02['merge'](_0x2efa02['length'],_0x2efa02['length'],_0x13b28c['content'][0x0],!0x1,_0x13b28c['openStart'],0x0)&&(_0x2efa02['breakAfter']=_0x13b28c['content'][0x0]['breakAfter'],_0x13b28c['content']['shift']()),_0x16a45f['content']['length']&&_0x2efa02['merge'](0x0,0x0,_0x16a45f['content'][_0x16a45f['content']['length']-0x1],!0x0,0x0,_0x16a45f['openEnd'])&&_0x16a45f['content']['pop'](),_0x3e1c53=_0x16a45f['content']['concat'](_0x2efa02)['concat'](_0x13b28c['content']);}else({content:_0x3e1c53,breakAtStart:_0x1e0567,openStart:_0x34f95d,openEnd:_0x469df4}=ContentBuilder['build'](this['view']['state']['doc'],_0x4a0d81,_0x12c992,this['decorations'],this['dynamicDecorationMap']));let {i:_0x5ee00f,off:_0x3ab041}=_0x5e3246['findPos'](_0x4c21d4,0x1),{i:_0x6894dc,off:_0x494526}=_0x5e3246['findPos'](_0x1bfdad,-0x1);jE(this,_0x6894dc,_0x494526,_0x5ee00f,_0x3ab041,_0x3e1c53,_0x1e0567,_0x34f95d,_0x469df4);}_0x6e94b&&this['fixCompositionDOM'](_0x6e94b);}['updateEditContextFormatting'](_0x2ff793){this['editContextFormatting']=this['editContextFormatting']['map'](_0x2ff793['changes']);for(let _0x4ecd88 of _0x2ff793['transactions'])for(let _0x2a7a88 of _0x4ecd88['effects'])_0x2a7a88['is'](NT)&&(this['editContextFormatting']=_0x2a7a88['value']);}['compositionView'](_0x37b1e0){let _0x18f02e=new TextView(_0x37b1e0['text']['nodeValue']);_0x18f02e['flags']|=0x8;for(let {deco:_0x37ff86}of _0x37b1e0['marks'])_0x18f02e=new MarkView(_0x37ff86,[_0x18f02e],_0x18f02e['length']);let _0x5e1b88=new LineView();return _0x5e1b88['append'](_0x18f02e,0x0),_0x5e1b88;}['fixCompositionDOM'](_0x19a906){let _0x38ae39=(_0x343d14,_0x2ad40f)=>{_0x2ad40f['flags']|=0x8|(_0x2ad40f['children']['some'](_0x27fe9d=>0x7&_0x27fe9d['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x2ad40f);let _0x317026=ContentView['get'](_0x343d14);_0x317026&&_0x317026!=_0x2ad40f&&(_0x317026['dom']=null),_0x2ad40f['setDOM'](_0x343d14);},_0x5c0863=this['childPos'](_0x19a906['range']['fromB'],0x1),_0x2fd66d=this['children'][_0x5c0863['i']];_0x38ae39(_0x19a906['line'],_0x2fd66d);for(let _0x49166d=_0x19a906['marks']['length']-0x1;_0x49166d>=-0x1;_0x49166d--)_0x5c0863=_0x2fd66d['childPos'](_0x5c0863['off'],0x1),_0x2fd66d=_0x2fd66d['children'][_0x5c0863['i']],_0x38ae39(_0x49166d>=0x0?_0x19a906['marks'][_0x49166d]['node']:_0x19a906['text'],_0x2fd66d);}['updateSelection'](_0x340daf=!0x1,_0xef3246=!0x1){!_0x340daf&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x50dee8=this['view']['root']['activeElement'],_0x525ddc=_0x50dee8==this['dom'],_0x530104=!_0x525ddc&&!(this['view']['state']['facet']($T)||this['dom']['tabIndex']>-0x1)&&vE(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x50dee8&&this['dom']['contains'](_0x50dee8));if(!(_0x525ddc||_0xef3246||_0x530104))return;let _0x2ceafc=this['forceSelection'];this['forceSelection']=!0x1;let _0x117ab9=this['view']['state']['selection']['main'],_0x3468ec=this['moveToLine'](this['domAtPos'](_0x117ab9['anchor'])),_0x3848c4=_0x117ab9['empty']?_0x3468ec:this['moveToLine'](this['domAtPos'](_0x117ab9['head']));if(wE['gecko']&&_0x117ab9['empty']&&!this['hasComposition']&&(0x1==(_0x136f62=_0x3468ec)['node']['nodeType']&&_0x136f62['node']['firstChild']&&(0x0==_0x136f62['offset']||'false'==_0x136f62['node']['childNodes'][_0x136f62['offset']-0x1]['contentEditable'])&&(_0x136f62['offset']==_0x136f62['node']['childNodes']['length']||'false'==_0x136f62['node']['childNodes'][_0x136f62['offset']]['contentEditable']))){let _0x4cc680=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x3468ec['node']['insertBefore'](_0x4cc680,_0x3468ec['node']['childNodes'][_0x3468ec['offset']]||null)),_0x3468ec=_0x3848c4=new DOMPos(_0x4cc680,0x0),_0x2ceafc=!0x0;}var _0x136f62;let _0x142a44=this['view']['observer']['selectionRange'];!_0x2ceafc&&_0x142a44['focusNode']&&(EE(_0x3468ec['node'],_0x3468ec['offset'],_0x142a44['anchorNode'],_0x142a44['anchorOffset'])&&EE(_0x3848c4['node'],_0x3848c4['offset'],_0x142a44['focusNode'],_0x142a44['focusOffset'])||this['suppressWidgetCursorChange'](_0x142a44,_0x117ab9))||(this['view']['observer']['ignore'](()=>{wE['android']&&wE['chrome']&&this['dom']['contains'](_0x142a44['focusNode'])&&function(_0x5b46bc,_0x4d646a){for(let _0x3cfa27=_0x5b46bc;_0x3cfa27&&_0x3cfa27!=_0x4d646a;_0x3cfa27=_0x3cfa27['assignedSlot']||_0x3cfa27['parentNode'])if(0x1==_0x3cfa27['nodeType']&&'false'==_0x3cfa27['contentEditable'])return!0x0;return!0x1;}(_0x142a44['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x40eeea=bE(this['view']['root']);if(_0x40eeea){if(_0x117ab9['empty']){if(wE['gecko']){let _0x35e768=function(_0x90eb48,_0xe911cd){return 0x1!=_0x90eb48['nodeType']?0x0:(_0xe911cd&&'false'==_0x90eb48['childNodes'][_0xe911cd-0x1]['contentEditable']?0x1:0x0)|(_0xe911cd<_0x90eb48['childNodes']['length']&&'false'==_0x90eb48['childNodes'][_0xe911cd]['contentEditable']?0x2:0x0);}(_0x3468ec['node'],_0x3468ec['offset']);if(_0x35e768&&0x3!=_0x35e768){let _0x2b8e76=(0x1==_0x35e768?QE:VE)(_0x3468ec['node'],_0x3468ec['offset']);_0x2b8e76&&(_0x3468ec=new DOMPos(_0x2b8e76['node'],_0x2b8e76['offset']));}}_0x40eeea['collapse'](_0x3468ec['node'],_0x3468ec['offset']),null!=_0x117ab9['bidiLevel']&&void 0x0!==_0x40eeea['caretBidiLevel']&&(_0x40eeea['caretBidiLevel']=_0x117ab9['bidiLevel']);}else{if(_0x40eeea['extend']){_0x40eeea['collapse'](_0x3468ec['node'],_0x3468ec['offset']);try{_0x40eeea['extend'](_0x3848c4['node'],_0x3848c4['offset']);}catch(_0x537084){}}else{let _0x4350b2=document['createRange']();_0x117ab9['anchor']>_0x117ab9['head']&&([_0x3468ec,_0x3848c4]=[_0x3848c4,_0x3468ec]),_0x4350b2['setEnd'](_0x3848c4['node'],_0x3848c4['offset']),_0x4350b2['setStart'](_0x3468ec['node'],_0x3468ec['offset']),_0x40eeea['removeAllRanges'](),_0x40eeea['addRange'](_0x4350b2);}}}else;_0x530104&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x50dee8&&_0x50dee8['focus']());}),this['view']['observer']['setSelectionRange'](_0x3468ec,_0x3848c4)),this['impreciseAnchor']=_0x3468ec['precise']?null:new DOMPos(_0x142a44['anchorNode'],_0x142a44['anchorOffset']),this['impreciseHead']=_0x3848c4['precise']?null:new DOMPos(_0x142a44['focusNode'],_0x142a44['focusOffset']);}['suppressWidgetCursorChange'](_0x105bca,_0x47fb91){return this['hasComposition']&&_0x47fb91['empty']&&EE(_0x105bca['focusNode'],_0x105bca['focusOffset'],_0x105bca['anchorNode'],_0x105bca['anchorOffset'])&&this['posFromDOM'](_0x105bca['focusNode'],_0x105bca['focusOffset'])==_0x47fb91['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x53686d}=this,_0x53589d=_0x53686d['state']['selection']['main'],_0x42ebd6=bE(_0x53686d['root']),{anchorNode:_0x373bac,anchorOffset:_0x2fe50c}=_0x53686d['observer']['selectionRange'];if(!(_0x42ebd6&&_0x53589d['empty']&&_0x53589d['assoc']&&_0x42ebd6['modify']))return;let _0x2d5cc0=LineView['find'](this,_0x53589d['head']);if(!_0x2d5cc0)return;let _0x13273c=_0x2d5cc0['posAtStart'];if(_0x53589d['head']==_0x13273c||_0x53589d['head']==_0x13273c+_0x2d5cc0['length'])return;let _0x750784=this['coordsAt'](_0x53589d['head'],-0x1),_0x1414fa=this['coordsAt'](_0x53589d['head'],0x1);if(!_0x750784||!_0x1414fa||_0x750784['bottom']>_0x1414fa['top'])return;let _0x4cafee=this['domAtPos'](_0x53589d['head']+_0x53589d['assoc']);_0x42ebd6['collapse'](_0x4cafee['node'],_0x4cafee['offset']),_0x42ebd6['modify']('move',_0x53589d['assoc']<0x0?'forward':'backward','lineboundary'),_0x53686d['observer']['readSelectionRange']();let _0xa5fcf=_0x53686d['observer']['selectionRange'];_0x53686d['docView']['posFromDOM'](_0xa5fcf['anchorNode'],_0xa5fcf['anchorOffset'])!=_0x53589d['from']&&_0x42ebd6['collapse'](_0x373bac,_0x2fe50c);}['moveToLine'](_0x33bc4d){let _0xe957bf,_0x4a19e1=this['dom'];if(_0x33bc4d['node']!=_0x4a19e1)return _0x33bc4d;for(let _0x15bb4c=_0x33bc4d['offset'];!_0xe957bf&&_0x15bb4c<_0x4a19e1['childNodes']['length'];_0x15bb4c++){let _0x1ad5e6=ContentView['get'](_0x4a19e1['childNodes'][_0x15bb4c]);_0x1ad5e6 instanceof LineView&&(_0xe957bf=_0x1ad5e6['domAtPos'](0x0));}for(let _0x34f293=_0x33bc4d['offset']-0x1;!_0xe957bf&&_0x34f293>=0x0;_0x34f293--){let _0x2b9495=ContentView['get'](_0x4a19e1['childNodes'][_0x34f293]);_0x2b9495 instanceof LineView&&(_0xe957bf=_0x2b9495['domAtPos'](_0x2b9495['length']));}return _0xe957bf?new DOMPos(_0xe957bf['node'],_0xe957bf['offset'],!0x0):_0x33bc4d;}['nearest'](_0x41b423){for(let _0x4bead=_0x41b423;_0x4bead;){let _0x24eff7=ContentView['get'](_0x4bead);if(_0x24eff7&&_0x24eff7['rootView']==this)return _0x24eff7;_0x4bead=_0x4bead['parentNode'];}return null;}['posFromDOM'](_0x3034c6,_0x4a8c73){let _0xb30edc=this['nearest'](_0x3034c6);if(!_0xb30edc)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0xb30edc['localPosFromDOM'](_0x3034c6,_0x4a8c73)+_0xb30edc['posAtStart'];}['domAtPos'](_0x411cf8){let {i:_0x1a1063,off:_0x13d694}=this['childCursor']()['findPos'](_0x411cf8,-0x1);for(;_0x1a1063<this['children']['length']-0x1;){let _0x234230=this['children'][_0x1a1063];if(_0x13d694<_0x234230['length']||_0x234230 instanceof LineView)break;_0x1a1063++,_0x13d694=0x0;}return this['children'][_0x1a1063]['domAtPos'](_0x13d694);}['coordsAt'](_0x3585e3,_0xac7b50){let _0x281792=null,_0x2c839c=0x0;for(let _0xdaea5=this['length'],_0x389b14=this['children']['length']-0x1;_0x389b14>=0x0;_0x389b14--){let _0x3955bb=this['children'][_0x389b14],_0x51f223=_0xdaea5-_0x3955bb['breakAfter'],_0x898bdc=_0x51f223-_0x3955bb['length'];if(_0x51f223<_0x3585e3)break;if(_0x898bdc<=_0x3585e3&&(_0x898bdc<_0x3585e3||_0x3955bb['covers'](-0x1))&&(_0x51f223>_0x3585e3||_0x3955bb['covers'](0x1))&&(!_0x281792||_0x3955bb instanceof LineView&&!(_0x281792 instanceof LineView&&_0xac7b50>=0x0)))_0x281792=_0x3955bb,_0x2c839c=_0x898bdc;else{if(_0x281792&&_0x898bdc==_0x3585e3&&_0x51f223==_0x3585e3&&_0x3955bb instanceof BlockWidgetView&&Math['abs'](_0xac7b50)<0x2){if(_0x3955bb['deco']['startSide']<0x0)break;_0x389b14&&(_0x281792=null);}}_0xdaea5=_0x898bdc;}return _0x281792?_0x281792['coordsAt'](_0x3585e3-_0x2c839c,_0xac7b50):null;}['coordsForChar'](_0x476633){let {i:_0x412dfb,off:_0x7de3bc}=this['childPos'](_0x476633,0x1),_0xccff77=this['children'][_0x412dfb];if(!(_0xccff77 instanceof LineView))return null;for(;_0xccff77['children']['length'];){let {i:_0x5cfbdf,off:_0x14106d}=_0xccff77['childPos'](_0x7de3bc,0x1);for(;;_0x5cfbdf++){if(_0x5cfbdf==_0xccff77['children']['length'])return null;if((_0xccff77=_0xccff77['children'][_0x5cfbdf])['length'])break;}_0x7de3bc=_0x14106d;}if(!(_0xccff77 instanceof TextView))return null;let _0x2c356f=zv(_0xccff77['text'],_0x7de3bc);if(_0x2c356f==_0x7de3bc)return null;let _0x1965a7=NE(_0xccff77['dom'],_0x7de3bc,_0x2c356f)['getClientRects']();for(let _0x486930=0x0;_0x486930<_0x1965a7['length'];_0x486930++){let _0x544b01=_0x1965a7[_0x486930];if(_0x486930==_0x1965a7['length']-0x1||_0x544b01['top']<_0x544b01['bottom']&&_0x544b01['left']<_0x544b01['right'])return _0x544b01;}return null;}['measureVisibleLineHeights'](_0x39c1b2){let _0x3535c8=[],{from:_0x27d9e4,to:_0x5cbb31}=_0x39c1b2,_0x4e8bb3=this['view']['contentDOM']['clientWidth'],_0x8866e8=_0x4e8bb3>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x16b4a9=-0x1,_0x386af9=this['view']['textDirection']==sT['LTR'];for(let _0x405ab9=0x0,_0x47550c=0x0;_0x47550c<this['children']['length'];_0x47550c++){let _0x111a08=this['children'][_0x47550c],_0x60c3d8=_0x405ab9+_0x111a08['length'];if(_0x60c3d8>_0x5cbb31)break;if(_0x405ab9>=_0x27d9e4){let _0x4d2c17=_0x111a08['dom']['getBoundingClientRect']();if(_0x3535c8['push'](_0x4d2c17['height']),_0x8866e8){let _0x13807c=_0x111a08['dom']['lastChild'],_0x24b8ba=_0x13807c?_E(_0x13807c):[];if(_0x24b8ba['length']){let _0x43ed95=_0x24b8ba[_0x24b8ba['length']-0x1],_0x14689b=_0x386af9?_0x43ed95['right']-_0x4d2c17['left']:_0x4d2c17['right']-_0x43ed95['left'];_0x14689b>_0x16b4a9&&(_0x16b4a9=_0x14689b,this['minWidth']=_0x4e8bb3,this['minWidthFrom']=_0x405ab9,this['minWidthTo']=_0x60c3d8);}}}_0x405ab9=_0x60c3d8+_0x111a08['breakAfter'];}return _0x3535c8;}['textDirectionAt'](_0x2ceaa6){let {i:_0x126cbe}=this['childPos'](_0x2ceaa6,0x1);return'rtl'==getComputedStyle(this['children'][_0x126cbe]['dom'])['direction']?sT['RTL']:sT['LTR'];}['measureTextSize'](){for(let _0x24a45a of this['children'])if(_0x24a45a instanceof LineView){let _0x28bbaa=_0x24a45a['measureTextSize']();if(_0x28bbaa)return _0x28bbaa;}let _0x5693ef,_0x35a604,_0x13e830,_0x5cc25f=document['createElement']('div');return _0x5cc25f['className']='cm-line',_0x5cc25f['style']['width']='99999px',_0x5cc25f['style']['position']='absolute',_0x5cc25f['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x5cc25f);let _0x2fe52d=_E(_0x5cc25f['firstChild'])[0x0];_0x5693ef=_0x5cc25f['getBoundingClientRect']()['height'],_0x35a604=_0x2fe52d?_0x2fe52d['width']/0x1b:0x7,_0x13e830=_0x2fe52d?_0x2fe52d['height']:_0x5693ef,_0x5cc25f['remove']();}),{'lineHeight':_0x5693ef,'charWidth':_0x35a604,'textHeight':_0x13e830};}['childCursor'](_0x2c3974=this['length']){let _0x52b233=this['children']['length'];return _0x52b233&&(_0x2c3974-=this['children'][--_0x52b233]['length']),new ChildCursor(this['children'],_0x2c3974,_0x52b233);}['computeBlockGapDeco'](){let _0x59ea17=[],_0x1a809e=this['view']['viewState'];for(let _0x4ad0cd=0x0,_0x342925=0x0;;_0x342925++){let _0x5461d7=_0x342925==_0x1a809e['viewports']['length']?null:_0x1a809e['viewports'][_0x342925],_0x507fcf=_0x5461d7?_0x5461d7['from']-0x1:this['length'];if(_0x507fcf>_0x4ad0cd){let _0x431b83=(_0x1a809e['lineBlockAt'](_0x507fcf)['bottom']-_0x1a809e['lineBlockAt'](_0x4ad0cd)['top'])/this['view']['scaleY'];_0x59ea17['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x431b83),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x4ad0cd,_0x507fcf));}if(!_0x5461d7)break;_0x4ad0cd=_0x5461d7['to']+0x1;}return Decoration['set'](_0x59ea17);}['updateDeco'](){let _0x75fa62=0x1,_0x2b9d16=this['view']['state']['facet'](BT)['map'](_0xc2f5c3=>(this['dynamicDecorationMap'][_0x75fa62++]='function'==typeof _0xc2f5c3)?_0xc2f5c3(this['view']):_0xc2f5c3),_0x257fb9=!0x1,_0x30a40b=this['view']['state']['facet'](jT)['map']((_0x3a32e9,_0x39c3fd)=>{let _0x50fb95='function'==typeof _0x3a32e9;return _0x50fb95&&(_0x257fb9=!0x0),_0x50fb95?_0x3a32e9(this['view']):_0x3a32e9;});for(_0x30a40b['length']&&(this['dynamicDecorationMap'][_0x75fa62++]=_0x257fb9,_0x2b9d16['push'](RangeSet['join'](_0x30a40b))),this['decorations']=[this['editContextFormatting'],..._0x2b9d16,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x75fa62<this['decorations']['length'];)this['dynamicDecorationMap'][_0x75fa62++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x5d0138){if(_0x5d0138['isSnapshot']){let _0x2681fc=this['view']['viewState']['lineBlockAt'](_0x5d0138['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x2681fc['top']-_0x5d0138['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x5d0138['xMargin']);}for(let _0x208bf4 of this['view']['state']['facet'](PT))try{if(_0x208bf4(this['view'],_0x5d0138['range'],_0x5d0138))return!0x0;}catch(_0xe09227){LT(this['view']['state'],_0xe09227,'scroll\x20handler');}let _0x34a719,{range:_0x4612a3}=_0x5d0138,_0x2590b5=this['coordsAt'](_0x4612a3['head'],_0x4612a3['empty']?_0x4612a3['assoc']:_0x4612a3['head']>_0x4612a3['anchor']?-0x1:0x1);if(!_0x2590b5)return;!_0x4612a3['empty']&&(_0x34a719=this['coordsAt'](_0x4612a3['anchor'],_0x4612a3['anchor']>_0x4612a3['head']?-0x1:0x1))&&(_0x2590b5={'left':Math['min'](_0x2590b5['left'],_0x34a719['left']),'top':Math['min'](_0x2590b5['top'],_0x34a719['top']),'right':Math['max'](_0x2590b5['right'],_0x34a719['right']),'bottom':Math['max'](_0x2590b5['bottom'],_0x34a719['bottom'])});let _0x13982a=XT(this['view']),_0x24132e={'left':_0x2590b5['left']-_0x13982a['left'],'top':_0x2590b5['top']-_0x13982a['top'],'right':_0x2590b5['right']+_0x13982a['right'],'bottom':_0x2590b5['bottom']+_0x13982a['bottom']},{offsetWidth:_0x415f15,offsetHeight:_0x2c30fc}=this['view']['scrollDOM'];!function(_0x436df3,_0x33cf35,_0x42ba0b,_0x3475bb,_0x126baa,_0x3253c5,_0x8b6b49,_0x26508d){let _0x32a170=_0x436df3['ownerDocument'],_0x17ef3b=_0x32a170['defaultView']||window;for(let _0x32b182=_0x436df3,_0x37f456=!0x1;_0x32b182&&!_0x37f456;)if(0x1==_0x32b182['nodeType']){let _0x14bcb7,_0x121204=_0x32b182==_0x32a170['body'],_0x10647e=0x1,_0x4f77ef=0x1;if(_0x121204)_0x14bcb7=kE(_0x17ef3b);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x32b182)['position'])&&(_0x37f456=!0x0),_0x32b182['scrollHeight']<=_0x32b182['clientHeight']&&_0x32b182['scrollWidth']<=_0x32b182['clientWidth']){_0x32b182=_0x32b182['assignedSlot']||_0x32b182['parentNode'];continue;}let _0x2fca84=_0x32b182['getBoundingClientRect']();({scaleX:_0x10647e,scaleY:_0x4f77ef}=xE(_0x32b182,_0x2fca84),_0x14bcb7={'left':_0x2fca84['left'],'right':_0x2fca84['left']+_0x32b182['clientWidth']*_0x10647e,'top':_0x2fca84['top'],'bottom':_0x2fca84['top']+_0x32b182['clientHeight']*_0x4f77ef});}let _0x3e65d7=0x0,_0x582ecf=0x0;if('nearest'==_0x126baa)_0x33cf35['top']<_0x14bcb7['top']?(_0x582ecf=_0x33cf35['top']-(_0x14bcb7['top']+_0x8b6b49),_0x42ba0b>0x0&&_0x33cf35['bottom']>_0x14bcb7['bottom']+_0x582ecf&&(_0x582ecf=_0x33cf35['bottom']-_0x14bcb7['bottom']+_0x8b6b49)):_0x33cf35['bottom']>_0x14bcb7['bottom']&&(_0x582ecf=_0x33cf35['bottom']-_0x14bcb7['bottom']+_0x8b6b49,_0x42ba0b<0x0&&_0x33cf35['top']-_0x582ecf<_0x14bcb7['top']&&(_0x582ecf=_0x33cf35['top']-(_0x14bcb7['top']+_0x8b6b49)));else{let _0x5811ab=_0x33cf35['bottom']-_0x33cf35['top'],_0x2f1a2b=_0x14bcb7['bottom']-_0x14bcb7['top'];_0x582ecf=('center'==_0x126baa&&_0x5811ab<=_0x2f1a2b?_0x33cf35['top']+_0x5811ab/0x2-_0x2f1a2b/0x2:'start'==_0x126baa||'center'==_0x126baa&&_0x42ba0b<0x0?_0x33cf35['top']-_0x8b6b49:_0x33cf35['bottom']-_0x2f1a2b+_0x8b6b49)-_0x14bcb7['top'];}if('nearest'==_0x3475bb?_0x33cf35['left']<_0x14bcb7['left']?(_0x3e65d7=_0x33cf35['left']-(_0x14bcb7['left']+_0x3253c5),_0x42ba0b>0x0&&_0x33cf35['right']>_0x14bcb7['right']+_0x3e65d7&&(_0x3e65d7=_0x33cf35['right']-_0x14bcb7['right']+_0x3253c5)):_0x33cf35['right']>_0x14bcb7['right']&&(_0x3e65d7=_0x33cf35['right']-_0x14bcb7['right']+_0x3253c5,_0x42ba0b<0x0&&_0x33cf35['left']<_0x14bcb7['left']+_0x3e65d7&&(_0x3e65d7=_0x33cf35['left']-(_0x14bcb7['left']+_0x3253c5))):_0x3e65d7=('center'==_0x3475bb?_0x33cf35['left']+(_0x33cf35['right']-_0x33cf35['left'])/0x2-(_0x14bcb7['right']-_0x14bcb7['left'])/0x2:'start'==_0x3475bb==_0x26508d?_0x33cf35['left']-_0x3253c5:_0x33cf35['right']-(_0x14bcb7['right']-_0x14bcb7['left'])+_0x3253c5)-_0x14bcb7['left'],_0x3e65d7||_0x582ecf){if(_0x121204)_0x17ef3b['scrollBy'](_0x3e65d7,_0x582ecf);else{let _0x1ce0e2=0x0,_0x5a6f8d=0x0;if(_0x582ecf){let _0x206570=_0x32b182['scrollTop'];_0x32b182['scrollTop']+=_0x582ecf/_0x4f77ef,_0x5a6f8d=(_0x32b182['scrollTop']-_0x206570)*_0x4f77ef;}if(_0x3e65d7){let _0xf228c1=_0x32b182['scrollLeft'];_0x32b182['scrollLeft']+=_0x3e65d7/_0x10647e,_0x1ce0e2=(_0x32b182['scrollLeft']-_0xf228c1)*_0x10647e;}_0x33cf35={'left':_0x33cf35['left']-_0x1ce0e2,'top':_0x33cf35['top']-_0x5a6f8d,'right':_0x33cf35['right']-_0x1ce0e2,'bottom':_0x33cf35['bottom']-_0x5a6f8d},_0x1ce0e2&&Math['abs'](_0x1ce0e2-_0x3e65d7)<0x1&&(_0x3475bb='nearest'),_0x5a6f8d&&Math['abs'](_0x5a6f8d-_0x582ecf)<0x1&&(_0x126baa='nearest');}}if(_0x121204)break;(_0x33cf35['top']<_0x14bcb7['top']||_0x33cf35['bottom']>_0x14bcb7['bottom']||_0x33cf35['left']<_0x14bcb7['left']||_0x33cf35['right']>_0x14bcb7['right'])&&(_0x33cf35={'left':Math['max'](_0x33cf35['left'],_0x14bcb7['left']),'right':Math['min'](_0x33cf35['right'],_0x14bcb7['right']),'top':Math['max'](_0x33cf35['top'],_0x14bcb7['top']),'bottom':Math['min'](_0x33cf35['bottom'],_0x14bcb7['bottom'])}),_0x32b182=_0x32b182['assignedSlot']||_0x32b182['parentNode'];}else{if(0xb!=_0x32b182['nodeType'])break;_0x32b182=_0x32b182['host'];}}(this['view']['scrollDOM'],_0x24132e,_0x4612a3['head']<_0x4612a3['anchor']?-0x1:0x1,_0x5d0138['x'],_0x5d0138['y'],Math['max'](Math['min'](_0x5d0138['xMargin'],_0x415f15),-_0x415f15),Math['max'](Math['min'](_0x5d0138['yMargin'],_0x2c30fc),-_0x2c30fc),this['view']['textDirection']==sT['LTR']);}}function zT(_0x4c128c,_0x409062){let _0xa6dd43=_0x4c128c['observer']['selectionRange'];if(!_0xa6dd43['focusNode'])return null;let _0x413635=QE(_0xa6dd43['focusNode'],_0xa6dd43['focusOffset']),_0x392d04=VE(_0xa6dd43['focusNode'],_0xa6dd43['focusOffset']),_0x135ad9=_0x413635||_0x392d04;if(_0x392d04&&_0x413635&&_0x392d04['node']!=_0x413635['node']){let _0x1ad925=ContentView['get'](_0x392d04['node']);if(!_0x1ad925||_0x1ad925 instanceof TextView&&_0x1ad925['text']!=_0x392d04['node']['nodeValue'])_0x135ad9=_0x392d04;else{if(_0x4c128c['docView']['lastCompositionAfterCursor']){let _0x28540e=ContentView['get'](_0x413635['node']);!_0x28540e||_0x28540e instanceof TextView&&_0x28540e['text']!=_0x413635['node']['nodeValue']||(_0x135ad9=_0x392d04);}}}if(_0x4c128c['docView']['lastCompositionAfterCursor']=_0x135ad9!=_0x413635,!_0x135ad9)return null;let _0x4351eb=_0x409062-_0x135ad9['offset'];return{'from':_0x4351eb,'to':_0x4351eb+_0x135ad9['node']['nodeValue']['length'],'node':_0x135ad9['node']};}let YT=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x31d9f2,_0x5c3e90){eT(_0x31d9f2,_0x5c3e90,this['changes']);}['comparePoint'](_0xec1f6b,_0x18bd09){eT(_0xec1f6b,_0x18bd09,this['changes']);}['boundChange'](_0x488088){eT(_0x488088,_0x488088,this['changes']);}};function KT(_0x33cf0d,_0x4c47ae){return _0x4c47ae['left']>_0x33cf0d?_0x4c47ae['left']-_0x33cf0d:Math['max'](0x0,_0x33cf0d-_0x4c47ae['right']);}function JT(_0x1a8a7f,_0x5a6a73){return _0x5a6a73['top']>_0x1a8a7f?_0x5a6a73['top']-_0x1a8a7f:Math['max'](0x0,_0x1a8a7f-_0x5a6a73['bottom']);}function tA(_0x465ca7,_0x2d82cc){return _0x465ca7['top']<_0x2d82cc['bottom']-0x1&&_0x465ca7['bottom']>_0x2d82cc['top']+0x1;}function eA(_0x58776a,_0x4dea94){return _0x4dea94<_0x58776a['top']?{'top':_0x4dea94,'left':_0x58776a['left'],'right':_0x58776a['right'],'bottom':_0x58776a['bottom']}:_0x58776a;}function iA(_0x2e80de,_0x5cbeb6){return _0x5cbeb6>_0x2e80de['bottom']?{'top':_0x2e80de['top'],'left':_0x2e80de['left'],'right':_0x2e80de['right'],'bottom':_0x5cbeb6}:_0x2e80de;}function sA(_0x4c38ea,_0x5f9b40,_0x183a03){let _0x365746,_0x1bc2a2,_0x514d10,_0x63f6c9,_0x3b0c5e,_0x1b70de,_0x4365e8,_0x155de9,_0xe7fa7e=!0x1;for(let _0x5c3a45=_0x4c38ea['firstChild'];_0x5c3a45;_0x5c3a45=_0x5c3a45['nextSibling']){let _0x4152d4=_E(_0x5c3a45);for(let _0x4e716a=0x0;_0x4e716a<_0x4152d4['length'];_0x4e716a++){let _0x5d2c01=_0x4152d4[_0x4e716a];_0x1bc2a2&&tA(_0x1bc2a2,_0x5d2c01)&&(_0x5d2c01=eA(iA(_0x5d2c01,_0x1bc2a2['bottom']),_0x1bc2a2['top']));let _0x1f76dd=KT(_0x5f9b40,_0x5d2c01),_0x5b8d4b=JT(_0x183a03,_0x5d2c01);if(0x0==_0x1f76dd&&0x0==_0x5b8d4b)return 0x3==_0x5c3a45['nodeType']?nA(_0x5c3a45,_0x5f9b40,_0x183a03):sA(_0x5c3a45,_0x5f9b40,_0x183a03);(!_0x365746||_0x63f6c9>_0x5b8d4b||_0x63f6c9==_0x5b8d4b&&_0x514d10>_0x1f76dd)&&(_0x365746=_0x5c3a45,_0x1bc2a2=_0x5d2c01,_0x514d10=_0x1f76dd,_0x63f6c9=_0x5b8d4b,_0xe7fa7e=!_0x1f76dd||(_0x5f9b40<_0x5d2c01['left']?_0x4e716a>0x0:_0x4e716a<_0x4152d4['length']-0x1)),0x0==_0x1f76dd?_0x183a03>_0x5d2c01['bottom']&&(!_0x4365e8||_0x4365e8['bottom']<_0x5d2c01['bottom'])?(_0x3b0c5e=_0x5c3a45,_0x4365e8=_0x5d2c01):_0x183a03<_0x5d2c01['top']&&(!_0x155de9||_0x155de9['top']>_0x5d2c01['top'])&&(_0x1b70de=_0x5c3a45,_0x155de9=_0x5d2c01):_0x4365e8&&tA(_0x4365e8,_0x5d2c01)?_0x4365e8=iA(_0x4365e8,_0x5d2c01['bottom']):_0x155de9&&tA(_0x155de9,_0x5d2c01)&&(_0x155de9=eA(_0x155de9,_0x5d2c01['top']));}}if(_0x4365e8&&_0x4365e8['bottom']>=_0x183a03?(_0x365746=_0x3b0c5e,_0x1bc2a2=_0x4365e8):_0x155de9&&_0x155de9['top']<=_0x183a03&&(_0x365746=_0x1b70de,_0x1bc2a2=_0x155de9),!_0x365746)return{'node':_0x4c38ea,'offset':0x0};let _0x8645fd=Math['max'](_0x1bc2a2['left'],Math['min'](_0x1bc2a2['right'],_0x5f9b40));return 0x3==_0x365746['nodeType']?nA(_0x365746,_0x8645fd,_0x183a03):_0xe7fa7e&&'false'!=_0x365746['contentEditable']?sA(_0x365746,_0x8645fd,_0x183a03):{'node':_0x4c38ea,'offset':Array['prototype']['indexOf']['call'](_0x4c38ea['childNodes'],_0x365746)+(_0x5f9b40>=(_0x1bc2a2['left']+_0x1bc2a2['right'])/0x2?0x1:0x0)};}function nA(_0x56715e,_0x101513,_0x409301){let _0x498b40=_0x56715e['nodeValue']['length'],_0x3746a2=-0x1,_0x1ec0d1=0x3b9aca00,_0x48c99f=0x0;for(let _0x31d5bc=0x0;_0x31d5bc<_0x498b40;_0x31d5bc++){let _0x789d74=NE(_0x56715e,_0x31d5bc,_0x31d5bc+0x1)['getClientRects']();for(let _0x576bc3=0x0;_0x576bc3<_0x789d74['length'];_0x576bc3++){let _0x3f9fc9=_0x789d74[_0x576bc3];if(_0x3f9fc9['top']==_0x3f9fc9['bottom'])continue;_0x48c99f||(_0x48c99f=_0x101513-_0x3f9fc9['left']);let _0x2d5b4b=(_0x3f9fc9['top']>_0x409301?_0x3f9fc9['top']-_0x409301:_0x409301-_0x3f9fc9['bottom'])-0x1;if(_0x3f9fc9['left']-0x1<=_0x101513&&_0x3f9fc9['right']+0x1>=_0x101513&&_0x2d5b4b<_0x1ec0d1){let _0x45cfda=_0x101513>=(_0x3f9fc9['left']+_0x3f9fc9['right'])/0x2,_0x34f048=_0x45cfda;(wE['chrome']||wE['gecko'])&&(NE(_0x56715e,_0x31d5bc)['getBoundingClientRect']()['left']==_0x3f9fc9['right']&&(_0x34f048=!_0x45cfda));if(_0x2d5b4b<=0x0)return{'node':_0x56715e,'offset':_0x31d5bc+(_0x34f048?0x1:0x0)};_0x3746a2=_0x31d5bc+(_0x34f048?0x1:0x0),_0x1ec0d1=_0x2d5b4b;}}}return{'node':_0x56715e,'offset':_0x3746a2>-0x1?_0x3746a2:_0x48c99f>0x0?_0x56715e['nodeValue']['length']:0x0};}function rA(_0x51270b,_0x40179c,_0x436b6a,_0x2e3852=-0x1){var _0x37a283,_0x5a7d21;let _0xa16fca,_0x15b73a=_0x51270b['contentDOM']['getBoundingClientRect'](),_0x1f59cc=_0x15b73a['top']+_0x51270b['viewState']['paddingTop'],{docHeight:_0x401707}=_0x51270b['viewState'],{x:_0x2b70ac,y:_0x497f73}=_0x40179c,_0x5599ff=_0x497f73-_0x1f59cc;if(_0x5599ff<0x0)return 0x0;if(_0x5599ff>_0x401707)return _0x51270b['state']['doc']['length'];for(let _0x1dc117=_0x51270b['viewState']['heightOracle']['textHeight']/0x2,_0x5bdf8e=!0x1;_0xa16fca=_0x51270b['elementAtHeight'](_0x5599ff),_0xa16fca['type']!=JE['Text'];)for(;_0x5599ff=_0x2e3852>0x0?_0xa16fca['bottom']+_0x1dc117:_0xa16fca['top']-_0x1dc117,!(_0x5599ff>=0x0&&_0x5599ff<=_0x401707);){if(_0x5bdf8e)return _0x436b6a?null:0x0;_0x5bdf8e=!0x0,_0x2e3852=-_0x2e3852;}_0x497f73=_0x1f59cc+_0x5599ff;let _0xea8e38=_0xa16fca['from'];if(_0xea8e38<_0x51270b['viewport']['from'])return 0x0==_0x51270b['viewport']['from']?0x0:_0x436b6a?null:oA(_0x51270b,_0x15b73a,_0xa16fca,_0x2b70ac,_0x497f73);if(_0xea8e38>_0x51270b['viewport']['to'])return _0x51270b['viewport']['to']==_0x51270b['state']['doc']['length']?_0x51270b['state']['doc']['length']:_0x436b6a?null:oA(_0x51270b,_0x15b73a,_0xa16fca,_0x2b70ac,_0x497f73);let _0x13ffde=_0x51270b['dom']['ownerDocument'],_0x3a3aa2=_0x51270b['root']['elementFromPoint']?_0x51270b['root']:_0x13ffde,_0x5951c1=_0x3a3aa2['elementFromPoint'](_0x2b70ac,_0x497f73);_0x5951c1&&!_0x51270b['contentDOM']['contains'](_0x5951c1)&&(_0x5951c1=null),_0x5951c1||(_0x2b70ac=Math['max'](_0x15b73a['left']+0x1,Math['min'](_0x15b73a['right']-0x1,_0x2b70ac)),_0x5951c1=_0x3a3aa2['elementFromPoint'](_0x2b70ac,_0x497f73),_0x5951c1&&!_0x51270b['contentDOM']['contains'](_0x5951c1)&&(_0x5951c1=null));let _0x186e13,_0x45045b=-0x1;if(_0x5951c1&&0x0!=(null===(_0x37a283=_0x51270b['docView']['nearest'](_0x5951c1))||void 0x0===_0x37a283?void 0x0:_0x37a283['isEditable'])){if(_0x13ffde['caretPositionFromPoint']){let _0x59360c=_0x13ffde['caretPositionFromPoint'](_0x2b70ac,_0x497f73);_0x59360c&&({offsetNode:_0x186e13,offset:_0x45045b}=_0x59360c);}else{if(_0x13ffde['caretRangeFromPoint']){let _0x2db6fc=_0x13ffde['caretRangeFromPoint'](_0x2b70ac,_0x497f73);_0x2db6fc&&({startContainer:_0x186e13,startOffset:_0x45045b}=_0x2db6fc);}}_0x186e13&&(!_0x51270b['contentDOM']['contains'](_0x186e13)||wE['safari']&&function(_0x4a7091,_0xedcf79,_0xda6a8e){return aA(_0x4a7091,_0xedcf79,_0xda6a8e);}(_0x186e13,_0x45045b,_0x2b70ac)||wE['chrome']&&function(_0x1ede3f,_0x26df88,_0x416803){if(0x0!=_0x26df88)return aA(_0x1ede3f,_0x26df88,_0x416803);for(let _0x1ed51c=_0x1ede3f;;){let _0x235c7b=_0x1ed51c['parentNode'];if(!_0x235c7b||0x1!=_0x235c7b['nodeType']||_0x235c7b['firstChild']!=_0x1ed51c)return!0x1;if(_0x235c7b['classList']['contains']('cm-line'))break;_0x1ed51c=_0x235c7b;}let _0x92e9bf=0x1==_0x1ede3f['nodeType']?_0x1ede3f['getBoundingClientRect']():NE(_0x1ede3f,0x0,Math['max'](_0x1ede3f['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x416803-_0x92e9bf['left']>0x5;}(_0x186e13,_0x45045b,_0x2b70ac))&&(_0x186e13=void 0x0),_0x186e13&&(_0x45045b=Math['min'](IE(_0x186e13),_0x45045b));}if(!_0x186e13||!_0x51270b['docView']['dom']['contains'](_0x186e13)){let _0x487429=LineView['find'](_0x51270b['docView'],_0xea8e38);if(!_0x487429)return _0x5599ff>_0xa16fca['top']+_0xa16fca['height']/0x2?_0xa16fca['to']:_0xa16fca['from'];({node:_0x186e13,offset:_0x45045b}=sA(_0x487429['dom'],_0x2b70ac,_0x497f73));}let _0xdf8a74=_0x51270b['docView']['nearest'](_0x186e13);if(!_0xdf8a74)return null;if(_0xdf8a74['isWidget']&&0x1==(null===(_0x5a7d21=_0xdf8a74['dom'])||void 0x0===_0x5a7d21?void 0x0:_0x5a7d21['nodeType'])){let _0x33df4b=_0xdf8a74['dom']['getBoundingClientRect']();return _0x40179c['y']<_0x33df4b['top']||_0x40179c['y']<=_0x33df4b['bottom']&&_0x40179c['x']<=(_0x33df4b['left']+_0x33df4b['right'])/0x2?_0xdf8a74['posAtStart']:_0xdf8a74['posAtEnd'];}return _0xdf8a74['localPosFromDOM'](_0x186e13,_0x45045b)+_0xdf8a74['posAtStart'];}function oA(_0x5a368c,_0x48399a,_0x59fe13,_0x4fea18,_0x4766de){let _0x3e1975=Math['round']((_0x4fea18-_0x48399a['left'])*_0x5a368c['defaultCharacterWidth']);if(_0x5a368c['lineWrapping']&&_0x59fe13['height']>1.5*_0x5a368c['defaultLineHeight']){let _0x26ac03=_0x5a368c['viewState']['heightOracle']['textHeight'];_0x3e1975+=Math['floor']((_0x4766de-_0x59fe13['top']-0.5*(_0x5a368c['defaultLineHeight']-_0x26ac03))/_0x26ac03)*_0x5a368c['viewState']['heightOracle']['lineLength'];}let _0x893244=_0x5a368c['state']['sliceDoc'](_0x59fe13['from'],_0x59fe13['to']);return _0x59fe13['from']+z_(_0x893244,_0x3e1975,_0x5a368c['state']['tabSize']);}function aA(_0x3fe74e,_0x363150,_0x36026d){let _0x2dad55,_0x84fa06=_0x3fe74e;if(0x3!=_0x3fe74e['nodeType']||_0x363150!=(_0x2dad55=_0x3fe74e['nodeValue']['length']))return!0x1;for(;;){let _0x1e585c=_0x84fa06['nextSibling'];if(_0x1e585c){if('BR'==_0x1e585c['nodeName'])break;return!0x1;}{let _0x1f062c=_0x84fa06['parentNode'];if(!_0x1f062c||'DIV'==_0x1f062c['nodeName'])break;_0x84fa06=_0x1f062c;}}return NE(_0x3fe74e,_0x2dad55-0x1,_0x2dad55)['getBoundingClientRect']()['right']>_0x36026d;}function cA(_0x5bbdc6,_0x6d82c5,_0x87fb3d){let _0x14f03d=_0x5bbdc6['lineBlockAt'](_0x6d82c5);if(Array['isArray'](_0x14f03d['type'])){let _0x2288ac;for(let _0x122c97 of _0x14f03d['type']){if(_0x122c97['from']>_0x6d82c5)break;if(!(_0x122c97['to']<_0x6d82c5)){if(_0x122c97['from']<_0x6d82c5&&_0x122c97['to']>_0x6d82c5)return _0x122c97;_0x2288ac&&(_0x122c97['type']!=JE['Text']||_0x2288ac['type']==_0x122c97['type']&&!(_0x87fb3d<0x0?_0x122c97['from']<_0x6d82c5:_0x122c97['to']>_0x6d82c5))||(_0x2288ac=_0x122c97);}}return _0x2288ac||_0x14f03d;}return _0x14f03d;}function lA(_0xa36966,_0x5e155a,_0x553059,_0x20bf7b){let _0x1d2b3a=_0xa36966['state']['doc']['lineAt'](_0x5e155a['head']),_0x3b93e3=_0xa36966['bidiSpans'](_0x1d2b3a),_0x2b6bf2=_0xa36966['textDirectionAt'](_0x1d2b3a['from']);for(let _0x2e915a=_0x5e155a,_0x1cc297=null;;){let _0x2c801f=bT(_0x1d2b3a,_0x3b93e3,_0x2b6bf2,_0x2e915a,_0x553059),_0x41f509=wT;if(!_0x2c801f){if(_0x1d2b3a['number']==(_0x553059?_0xa36966['state']['doc']['lines']:0x1))return _0x2e915a;_0x41f509='\x0a',_0x1d2b3a=_0xa36966['state']['doc']['line'](_0x1d2b3a['number']+(_0x553059?0x1:-0x1)),_0x3b93e3=_0xa36966['bidiSpans'](_0x1d2b3a),_0x2c801f=_0xa36966['visualLineSide'](_0x1d2b3a,!_0x553059);}if(_0x1cc297){if(!_0x1cc297(_0x41f509))return _0x2e915a;}else{if(!_0x20bf7b)return _0x2c801f;_0x1cc297=_0x20bf7b(_0x41f509);}_0x2e915a=_0x2c801f;}}function hA(_0x18a806,_0x17d534,_0x3b03a4){for(;;){let _0x5d4e09=0x0;for(let _0x872b2b of _0x18a806)_0x872b2b['between'](_0x17d534-0x1,_0x17d534+0x1,(_0x558eba,_0x66877c,_0x42dbcf)=>{if(_0x17d534>_0x558eba&&_0x17d534<_0x66877c){let _0x271e3f=_0x5d4e09||_0x3b03a4||(_0x17d534-_0x558eba<_0x66877c-_0x17d534?-0x1:0x1);_0x17d534=_0x271e3f<0x0?_0x558eba:_0x66877c,_0x5d4e09=_0x271e3f;}});if(!_0x5d4e09)return _0x17d534;}}function uA(_0x155065,_0x4d506a){let _0x13ef30=null;for(let _0x117ae1=0x0;_0x117ae1<_0x4d506a['ranges']['length'];_0x117ae1++){let _0x29b588=_0x4d506a['ranges'][_0x117ae1],_0x59140e=null;if(_0x29b588['empty']){let _0x9aa93d=hA(_0x155065,_0x29b588['from'],0x0);_0x9aa93d!=_0x29b588['from']&&(_0x59140e=EditorSelection['cursor'](_0x9aa93d,-0x1));}else{let _0x32500b=hA(_0x155065,_0x29b588['from'],-0x1),_0x499210=hA(_0x155065,_0x29b588['to'],0x1);_0x32500b==_0x29b588['from']&&_0x499210==_0x29b588['to']||(_0x59140e=EditorSelection['range'](_0x29b588['from']==_0x29b588['anchor']?_0x32500b:_0x499210,_0x29b588['from']==_0x29b588['head']?_0x32500b:_0x499210));}_0x59140e&&(_0x13ef30||(_0x13ef30=_0x4d506a['ranges']['slice']()),_0x13ef30[_0x117ae1]=_0x59140e);}return _0x13ef30?EditorSelection['create'](_0x13ef30,_0x4d506a['mainIndex']):_0x4d506a;}function dA(_0x2c39b7,_0x25c9b0,_0x55e079){let _0x579171=hA(_0x2c39b7['state']['facet'](FT)['map'](_0x51815f=>_0x51815f(_0x2c39b7)),_0x55e079['from'],_0x25c9b0['head']>_0x55e079['from']?-0x1:0x1);return _0x579171==_0x55e079['from']?_0x55e079:EditorSelection['cursor'](_0x579171,_0x579171<_0x55e079['from']?0x1:-0x1);}const fA='';class DOMReader{constructor(_0x333db4,_0x493aa0){this['points']=_0x333db4,this['text']='',this['lineSeparator']=_0x493aa0['facet'](EditorState['lineSeparator']);}['append'](_0x4794fb){this['text']+=_0x4794fb;}['lineBreak'](){this['text']+=fA;}['readRange'](_0x28cfeb,_0x3561bc){if(!_0x28cfeb)return this;let _0x28a486=_0x28cfeb['parentNode'];for(let _0x5ed7c8=_0x28cfeb;;){this['findPointBefore'](_0x28a486,_0x5ed7c8);let _0x220953=this['text']['length'];this['readNode'](_0x5ed7c8);let _0xffc893=_0x5ed7c8['nextSibling'];if(_0xffc893==_0x3561bc)break;let _0x30e9b7=ContentView['get'](_0x5ed7c8),_0x17ac7e=ContentView['get'](_0xffc893);(_0x30e9b7&&_0x17ac7e?_0x30e9b7['breakAfter']:(_0x30e9b7?_0x30e9b7['breakAfter']:AE(_0x5ed7c8))||AE(_0xffc893)&&('BR'!=_0x5ed7c8['nodeName']||_0x5ed7c8['cmIgnore'])&&this['text']['length']>_0x220953)&&!gA(_0xffc893,_0x3561bc)&&this['lineBreak'](),_0x5ed7c8=_0xffc893;}return this['findPointBefore'](_0x28a486,_0x3561bc),this;}['readTextNode'](_0x1eaadb){let _0x25d696=_0x1eaadb['nodeValue'];for(let _0x279852 of this['points'])_0x279852['node']==_0x1eaadb&&(_0x279852['pos']=this['text']['length']+Math['min'](_0x279852['offset'],_0x25d696['length']));for(let _0x339f9e=0x0,_0x537b8f=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x164db8,_0x4561a6=-0x1,_0x96417d=0x1;if(this['lineSeparator']?(_0x4561a6=_0x25d696['indexOf'](this['lineSeparator'],_0x339f9e),_0x96417d=this['lineSeparator']['length']):(_0x164db8=_0x537b8f['exec'](_0x25d696))&&(_0x4561a6=_0x164db8['index'],_0x96417d=_0x164db8[0x0]['length']),this['append'](_0x25d696['slice'](_0x339f9e,_0x4561a6<0x0?_0x25d696['length']:_0x4561a6)),_0x4561a6<0x0)break;if(this['lineBreak'](),_0x96417d>0x1){for(let _0x20d6db of this['points'])_0x20d6db['node']==_0x1eaadb&&_0x20d6db['pos']>this['text']['length']&&(_0x20d6db['pos']-=_0x96417d-0x1);}_0x339f9e=_0x4561a6+_0x96417d;}}['readNode'](_0x1744ba){if(_0x1744ba['cmIgnore'])return;let _0x4872eb=ContentView['get'](_0x1744ba),_0x4c4da2=_0x4872eb&&_0x4872eb['overrideDOMText'];if(null!=_0x4c4da2){this['findPointInside'](_0x1744ba,_0x4c4da2['length']);for(let _0xb63e79=_0x4c4da2['iter']();!_0xb63e79['next']()['done'];)_0xb63e79['lineBreak']?this['lineBreak']():this['append'](_0xb63e79['value']);}else 0x3==_0x1744ba['nodeType']?this['readTextNode'](_0x1744ba):'BR'==_0x1744ba['nodeName']?_0x1744ba['nextSibling']&&this['lineBreak']():0x1==_0x1744ba['nodeType']&&this['readRange'](_0x1744ba['firstChild'],null);}['findPointBefore'](_0x2d5482,_0x17edc6){for(let _0x1da237 of this['points'])_0x1da237['node']==_0x2d5482&&_0x2d5482['childNodes'][_0x1da237['offset']]==_0x17edc6&&(_0x1da237['pos']=this['text']['length']);}['findPointInside'](_0x5ac7fb,_0x3d3e85){for(let _0x56172a of this['points'])(0x3==_0x5ac7fb['nodeType']?_0x56172a['node']==_0x5ac7fb:_0x5ac7fb['contains'](_0x56172a['node']))&&(_0x56172a['pos']=this['text']['length']+(mA(_0x5ac7fb,_0x56172a['node'],_0x56172a['offset'])?_0x3d3e85:0x0));}}function mA(_0x905e2b,_0x369593,_0x3284fa){for(;;){if(!_0x369593||_0x3284fa<IE(_0x369593))return!0x1;if(_0x369593==_0x905e2b)return!0x0;_0x3284fa=TE(_0x369593)+0x1,_0x369593=_0x369593['parentNode'];}}function gA(_0x4653ba,_0x5654ed){let _0x274147;for(;_0x4653ba!=_0x5654ed&&_0x4653ba;_0x4653ba=_0x4653ba['nextSibling']){let _0x4f14a1=ContentView['get'](_0x4653ba);if(!(null==_0x4f14a1?void 0x0:_0x4f14a1['isWidget'])&&!_0x4653ba['cmIgnore'])return!0x1;_0x4f14a1&&(_0x274147||(_0x274147=[]))['push'](_0x4f14a1);}if(_0x274147)for(let _0x25f6c2 of _0x274147){let _0x3779b5=_0x25f6c2['overrideDOMText'];if(null==_0x3779b5?void 0x0:_0x3779b5['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x428f57,_0x3bcc3d){this['node']=_0x428f57,this['offset']=_0x3bcc3d,this['pos']=-0x1;}}class DOMChange{constructor(_0x1c5e74,_0x22c9a2,_0x3d1ae7,_0x5a23df){this['typeOver']=_0x5a23df,this['bounds']=null,this['text']='',this['domChanged']=_0x22c9a2>-0x1;let {impreciseHead:_0x89ac05,impreciseAnchor:_0x6c86f8}=_0x1c5e74['docView'];if(_0x1c5e74['state']['readOnly']&&_0x22c9a2>-0x1)this['newSel']=null;else{if(_0x22c9a2>-0x1&&(this['bounds']=_0x1c5e74['docView']['domBoundsAround'](_0x22c9a2,_0x3d1ae7,0x0))){let _0xa5595e=_0x89ac05||_0x6c86f8?[]:function(_0x5074f6){let _0x54e4b9=[];if(_0x5074f6['root']['activeElement']!=_0x5074f6['contentDOM'])return _0x54e4b9;let {anchorNode:_0x319031,anchorOffset:_0x367731,focusNode:_0x85a76e,focusOffset:_0xcd4b80}=_0x5074f6['observer']['selectionRange'];return _0x319031&&(_0x54e4b9['push'](new DOMPoint(_0x319031,_0x367731)),_0x85a76e==_0x319031&&_0xcd4b80==_0x367731||_0x54e4b9['push'](new DOMPoint(_0x85a76e,_0xcd4b80))),_0x54e4b9;}(_0x1c5e74),_0x2f349d=new DOMReader(_0xa5595e,_0x1c5e74['state']);_0x2f349d['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x2f349d['text'],this['newSel']=function(_0x138f3a,_0x4ad314){if(0x0==_0x138f3a['length'])return null;let _0x381a6b=_0x138f3a[0x0]['pos'],_0x3cb097=0x2==_0x138f3a['length']?_0x138f3a[0x1]['pos']:_0x381a6b;return _0x381a6b>-0x1&&_0x3cb097>-0x1?EditorSelection['single'](_0x381a6b+_0x4ad314,_0x3cb097+_0x4ad314):null;}(_0xa5595e,this['bounds']['from']);}else{let _0x718f2=_0x1c5e74['observer']['selectionRange'],_0x81ea9e=_0x89ac05&&_0x89ac05['node']==_0x718f2['focusNode']&&_0x89ac05['offset']==_0x718f2['focusOffset']||!yE(_0x1c5e74['contentDOM'],_0x718f2['focusNode'])?_0x1c5e74['state']['selection']['main']['head']:_0x1c5e74['docView']['posFromDOM'](_0x718f2['focusNode'],_0x718f2['focusOffset']),_0x1eb743=_0x6c86f8&&_0x6c86f8['node']==_0x718f2['anchorNode']&&_0x6c86f8['offset']==_0x718f2['anchorOffset']||!yE(_0x1c5e74['contentDOM'],_0x718f2['anchorNode'])?_0x1c5e74['state']['selection']['main']['anchor']:_0x1c5e74['docView']['posFromDOM'](_0x718f2['anchorNode'],_0x718f2['anchorOffset']),_0xaacf4d=_0x1c5e74['viewport'];if((wE['ios']||wE['chrome'])&&_0x1c5e74['state']['selection']['main']['empty']&&_0x81ea9e!=_0x1eb743&&(_0xaacf4d['from']>0x0||_0xaacf4d['to']<_0x1c5e74['state']['doc']['length'])){let _0x2da88b=Math['min'](_0x81ea9e,_0x1eb743),_0x146f52=Math['max'](_0x81ea9e,_0x1eb743),_0x39e600=_0xaacf4d['from']-_0x2da88b,_0x149177=_0xaacf4d['to']-_0x146f52;0x0!=_0x39e600&&0x1!=_0x39e600&&0x0!=_0x2da88b||0x0!=_0x149177&&-0x1!=_0x149177&&_0x146f52!=_0x1c5e74['state']['doc']['length']||(_0x81ea9e=0x0,_0x1eb743=_0x1c5e74['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x1eb743,_0x81ea9e);}}}}function pA(_0xaf4dd0,_0x53bf33){let _0x11512c,{newSel:_0x5a4490}=_0x53bf33,_0x348b05=_0xaf4dd0['state']['selection']['main'],_0x2d8bc9=_0xaf4dd0['inputState']['lastKeyTime']>Date['now']()-0x64?_0xaf4dd0['inputState']['lastKeyCode']:-0x1;if(_0x53bf33['bounds']){let {from:_0x1c6e60,to:_0x1a5110}=_0x53bf33['bounds'],_0x3d223c=_0x348b05['from'],_0x46f663=null;(0x8===_0x2d8bc9||wE['android']&&_0x53bf33['text']['length']<_0x1a5110-_0x1c6e60)&&(_0x3d223c=_0x348b05['to'],_0x46f663='end');let _0x29dd7e=wA(_0xaf4dd0['state']['doc']['sliceString'](_0x1c6e60,_0x1a5110,fA),_0x53bf33['text'],_0x3d223c-_0x1c6e60,_0x46f663);_0x29dd7e&&(wE['chrome']&&0xd==_0x2d8bc9&&_0x29dd7e['toB']==_0x29dd7e['from']+0x2&&_0x53bf33['text']['slice'](_0x29dd7e['from'],_0x29dd7e['toB'])==fA+fA&&_0x29dd7e['toB']--,_0x11512c={'from':_0x1c6e60+_0x29dd7e['from'],'to':_0x1c6e60+_0x29dd7e['toA'],'insert':Gv['of'](_0x53bf33['text']['slice'](_0x29dd7e['from'],_0x29dd7e['toB'])['split'](fA))});}else _0x5a4490&&(!_0xaf4dd0['hasFocus']&&_0xaf4dd0['state']['facet']($T)||_0x5a4490['main']['eq'](_0x348b05))&&(_0x5a4490=null);if(!_0x11512c&&!_0x5a4490)return!0x1;if(!_0x11512c&&_0x53bf33['typeOver']&&!_0x348b05['empty']&&_0x5a4490&&_0x5a4490['main']['empty']?_0x11512c={'from':_0x348b05['from'],'to':_0x348b05['to'],'insert':_0xaf4dd0['state']['doc']['slice'](_0x348b05['from'],_0x348b05['to'])}:(wE['mac']||wE['android'])&&_0x11512c&&_0x11512c['from']==_0x11512c['to']&&_0x11512c['from']==_0x348b05['head']-0x1&&/^\. ?$/['test'](_0x11512c['insert']['toString']())&&'off'==_0xaf4dd0['contentDOM']['getAttribute']('autocorrect')?(_0x5a4490&&0x2==_0x11512c['insert']['length']&&(_0x5a4490=EditorSelection['single'](_0x5a4490['main']['anchor']-0x1,_0x5a4490['main']['head']-0x1)),_0x11512c={'from':_0x11512c['from'],'to':_0x11512c['to'],'insert':Gv['of']([_0x11512c['insert']['toString']()['replace']('.','\x20')])}):_0x11512c&&_0x11512c['from']>=_0x348b05['from']&&_0x11512c['to']<=_0x348b05['to']&&(_0x11512c['from']!=_0x348b05['from']||_0x11512c['to']!=_0x348b05['to'])&&_0x348b05['to']-_0x348b05['from']-(_0x11512c['to']-_0x11512c['from'])<=0x4?_0x11512c={'from':_0x348b05['from'],'to':_0x348b05['to'],'insert':_0xaf4dd0['state']['doc']['slice'](_0x348b05['from'],_0x11512c['from'])['append'](_0x11512c['insert'])['append'](_0xaf4dd0['state']['doc']['slice'](_0x11512c['to'],_0x348b05['to']))}:wE['chrome']&&_0x11512c&&_0x11512c['from']==_0x11512c['to']&&_0x11512c['from']==_0x348b05['head']&&'\x0a\x20'==_0x11512c['insert']['toString']()&&_0xaf4dd0['lineWrapping']&&(_0x5a4490&&(_0x5a4490=EditorSelection['single'](_0x5a4490['main']['anchor']-0x1,_0x5a4490['main']['head']-0x1)),_0x11512c={'from':_0x348b05['from'],'to':_0x348b05['to'],'insert':Gv['of'](['\x20'])}),_0x11512c)return OA(_0xaf4dd0,_0x11512c,_0x5a4490,_0x2d8bc9);if(_0x5a4490&&!_0x5a4490['main']['eq'](_0x348b05)){let _0x107869=!0x1,_0x14759a='select';return _0xaf4dd0['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0xaf4dd0['inputState']['lastSelectionOrigin']&&(_0x107869=!0x0),_0x14759a=_0xaf4dd0['inputState']['lastSelectionOrigin'],'select.pointer'==_0x14759a&&(_0x5a4490=uA(_0xaf4dd0['state']['facet'](FT)['map'](_0x3bc112=>_0x3bc112(_0xaf4dd0)),_0x5a4490))),_0xaf4dd0['dispatch']({'selection':_0x5a4490,'scrollIntoView':_0x107869,'userEvent':_0x14759a}),!0x0;}return!0x1;}function OA(_0x50f001,_0xa76981,_0xf8f2a1,_0x2ed6ce=-0x1){if(wE['ios']&&_0x50f001['inputState']['flushIOSKey'](_0xa76981))return!0x0;let _0x138996=_0x50f001['state']['selection']['main'];if(wE['android']&&(_0xa76981['to']==_0x138996['to']&&(_0xa76981['from']==_0x138996['from']||_0xa76981['from']==_0x138996['from']-0x1&&'\x20'==_0x50f001['state']['sliceDoc'](_0xa76981['from'],_0x138996['from']))&&0x1==_0xa76981['insert']['length']&&0x2==_0xa76981['insert']['lines']&&LE(_0x50f001['contentDOM'],'Enter',0xd)||(_0xa76981['from']==_0x138996['from']-0x1&&_0xa76981['to']==_0x138996['to']&&0x0==_0xa76981['insert']['length']||0x8==_0x2ed6ce&&_0xa76981['insert']['length']<_0xa76981['to']-_0xa76981['from']&&_0xa76981['to']>_0x138996['head'])&&LE(_0x50f001['contentDOM'],'Backspace',0x8)||_0xa76981['from']==_0x138996['from']&&_0xa76981['to']==_0x138996['to']+0x1&&0x0==_0xa76981['insert']['length']&&LE(_0x50f001['contentDOM'],'Delete',0x2e)))return!0x0;let _0x2fc5f0,_0x5da516=_0xa76981['insert']['toString']();_0x50f001['inputState']['composing']>=0x0&&_0x50f001['inputState']['composing']++;let _0x2a6c57=()=>_0x2fc5f0||(_0x2fc5f0=function(_0x5aade0,_0x4329a3,_0x5138f0){let _0x37d115,_0x4a404c=_0x5aade0['state'],_0x28e531=_0x4a404c['selection']['main'],_0x4d26f0=-0x1;if(_0x4329a3['from']==_0x4329a3['to']&&_0x4329a3['from']<_0x28e531['from']||_0x4329a3['from']>_0x28e531['to']){let _0x17e928=_0x4329a3['from']<_0x28e531['from']?-0x1:0x1,_0x372a81=_0x17e928<0x0?_0x28e531['from']:_0x28e531['to'],_0x1468ca=hA(_0x4a404c['facet'](FT)['map'](_0x3ea02d=>_0x3ea02d(_0x5aade0)),_0x372a81,_0x17e928);_0x4329a3['from']==_0x1468ca&&(_0x4d26f0=_0x1468ca);}if(_0x4d26f0>-0x1)_0x37d115={'changes':_0x4329a3,'selection':EditorSelection['cursor'](_0x4329a3['from']+_0x4329a3['insert']['length'],-0x1)};else{if(_0x4329a3['from']>=_0x28e531['from']&&_0x4329a3['to']<=_0x28e531['to']&&_0x4329a3['to']-_0x4329a3['from']>=(_0x28e531['to']-_0x28e531['from'])/0x3&&(!_0x5138f0||_0x5138f0['main']['empty']&&_0x5138f0['main']['from']==_0x4329a3['from']+_0x4329a3['insert']['length'])&&_0x5aade0['inputState']['composing']<0x0){let _0x590fdd=_0x28e531['from']<_0x4329a3['from']?_0x4a404c['sliceDoc'](_0x28e531['from'],_0x4329a3['from']):'',_0x3a004a=_0x28e531['to']>_0x4329a3['to']?_0x4a404c['sliceDoc'](_0x4329a3['to'],_0x28e531['to']):'';_0x37d115=_0x4a404c['replaceSelection'](_0x5aade0['state']['toText'](_0x590fdd+_0x4329a3['insert']['sliceString'](0x0,void 0x0,_0x5aade0['state']['lineBreak'])+_0x3a004a));}else{let _0x4f29ad=_0x4a404c['changes'](_0x4329a3),_0xf4a097=_0x5138f0&&_0x5138f0['main']['to']<=_0x4f29ad['newLength']?_0x5138f0['main']:void 0x0;if(_0x4a404c['selection']['ranges']['length']>0x1&&_0x5aade0['inputState']['composing']>=0x0&&_0x4329a3['to']<=_0x28e531['to']&&_0x4329a3['to']>=_0x28e531['to']-0xa){let _0x17b8c1,_0x41aa0b=_0x5aade0['state']['sliceDoc'](_0x4329a3['from'],_0x4329a3['to']),_0x2fba91=_0x5138f0&&zT(_0x5aade0,_0x5138f0['main']['head']);if(_0x2fba91){let _0x11640d=_0x4329a3['insert']['length']-(_0x4329a3['to']-_0x4329a3['from']);_0x17b8c1={'from':_0x2fba91['from'],'to':_0x2fba91['to']-_0x11640d};}else _0x17b8c1=_0x5aade0['state']['doc']['lineAt'](_0x28e531['head']);let _0x2b0739=_0x28e531['to']-_0x4329a3['to'],_0xe109cd=_0x28e531['to']-_0x28e531['from'];_0x37d115=_0x4a404c['changeByRange'](_0x3db081=>{if(_0x3db081['from']==_0x28e531['from']&&_0x3db081['to']==_0x28e531['to'])return{'changes':_0x4f29ad,'range':_0xf4a097||_0x3db081['map'](_0x4f29ad)};let _0x4d8a1a=_0x3db081['to']-_0x2b0739,_0x1acd46=_0x4d8a1a-_0x41aa0b['length'];if(_0x3db081['to']-_0x3db081['from']!=_0xe109cd||_0x5aade0['state']['sliceDoc'](_0x1acd46,_0x4d8a1a)!=_0x41aa0b||_0x3db081['to']>=_0x17b8c1['from']&&_0x3db081['from']<=_0x17b8c1['to'])return{'range':_0x3db081};let _0x5dfaf7=_0x4a404c['changes']({'from':_0x1acd46,'to':_0x4d8a1a,'insert':_0x4329a3['insert']}),_0x42d03b=_0x3db081['to']-_0x28e531['to'];return{'changes':_0x5dfaf7,'range':_0xf4a097?EditorSelection['range'](Math['max'](0x0,_0xf4a097['anchor']+_0x42d03b),Math['max'](0x0,_0xf4a097['head']+_0x42d03b)):_0x3db081['map'](_0x5dfaf7)};});}else _0x37d115={'changes':_0x4f29ad,'selection':_0xf4a097&&_0x4a404c['selection']['replaceRange'](_0xf4a097)};}}let _0x342cf3='input.type';return(_0x5aade0['composing']||_0x5aade0['inputState']['compositionPendingChange']&&_0x5aade0['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x5aade0['inputState']['compositionPendingChange']=!0x1,_0x342cf3+='.compose',_0x5aade0['inputState']['compositionFirstChange']&&(_0x342cf3+='.start',_0x5aade0['inputState']['compositionFirstChange']=!0x1)),_0x4a404c['update'](_0x37d115,{'userEvent':_0x342cf3,'scrollIntoView':!0x0});}(_0x50f001,_0xa76981,_0xf8f2a1));return _0x50f001['state']['facet'](ST)['some'](_0x3f96c1=>_0x3f96c1(_0x50f001,_0xa76981['from'],_0xa76981['to'],_0x5da516,_0x2a6c57))||_0x50f001['dispatch'](_0x2a6c57()),!0x0;}function wA(_0x1031fd,_0xc4e0aa,_0x5c70ce,_0x533764){let _0x116b8f=Math['min'](_0x1031fd['length'],_0xc4e0aa['length']),_0x26006e=0x0;for(;_0x26006e<_0x116b8f&&_0x1031fd['charCodeAt'](_0x26006e)==_0xc4e0aa['charCodeAt'](_0x26006e);)_0x26006e++;if(_0x26006e==_0x116b8f&&_0x1031fd['length']==_0xc4e0aa['length'])return null;let _0x33fb06=_0x1031fd['length'],_0x1b5120=_0xc4e0aa['length'];for(;_0x33fb06>0x0&&_0x1b5120>0x0&&_0x1031fd['charCodeAt'](_0x33fb06-0x1)==_0xc4e0aa['charCodeAt'](_0x1b5120-0x1);)_0x33fb06--,_0x1b5120--;'end'==_0x533764&&(_0x5c70ce-=_0x33fb06+Math['max'](0x0,_0x26006e-Math['min'](_0x33fb06,_0x1b5120))-_0x26006e);if(_0x33fb06<_0x26006e&&_0x1031fd['length']<_0xc4e0aa['length'])_0x26006e-=_0x5c70ce<=_0x26006e&&_0x5c70ce>=_0x33fb06?_0x26006e-_0x5c70ce:0x0,_0x1b5120=_0x26006e+(_0x1b5120-_0x33fb06),_0x33fb06=_0x26006e;else _0x1b5120<_0x26006e&&(_0x26006e-=_0x5c70ce<=_0x26006e&&_0x5c70ce>=_0x1b5120?_0x26006e-_0x5c70ce:0x0,_0x33fb06=_0x26006e+(_0x33fb06-_0x1b5120),_0x1b5120=_0x26006e);return{'from':_0x26006e,'toA':_0x33fb06,'toB':_0x1b5120};}class InputState{['setSelectionOrigin'](_0x3864f6){this['lastSelectionOrigin']=_0x3864f6,this['lastSelectionTime']=Date['now']();}constructor(_0x368356){this['view']=_0x368356,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']=_0x368356['hasFocus'],wE['safari']&&_0x368356['contentDOM']['addEventListener']('input',()=>null),wE['gecko']&&function(_0x46bf50){HA['has'](_0x46bf50)||(HA['add'](_0x46bf50),_0x46bf50['addEventListener']('copy',()=>{}),_0x46bf50['addEventListener']('cut',()=>{}));}(_0x368356['contentDOM']['ownerDocument']);}['handleEvent'](_0x31e015){(function(_0x1b71a8,_0x122489){if(!_0x122489['bubbles'])return!0x0;if(_0x122489['defaultPrevented'])return!0x1;for(let _0x5e54b7,_0x19b482=_0x122489['target'];_0x19b482!=_0x1b71a8['contentDOM'];_0x19b482=_0x19b482['parentNode'])if(!_0x19b482||0xb==_0x19b482['nodeType']||(_0x5e54b7=ContentView['get'](_0x19b482))&&_0x5e54b7['ignoreEvent'](_0x122489))return!0x1;return!0x0;}(this['view'],_0x31e015)&&!this['ignoreDuringComposition'](_0x31e015)&&('keydown'==_0x31e015['type']&&this['keydown'](_0x31e015)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x31e015['type'],_0x31e015)):this['runHandlers'](_0x31e015['type'],_0x31e015))));}['runHandlers'](_0x5b1472,_0x22314b){let _0x154330=this['handlers'][_0x5b1472];if(_0x154330){for(let _0x413d07 of _0x154330['observers'])_0x413d07(this['view'],_0x22314b);for(let _0x29917a of _0x154330['handlers']){if(_0x22314b['defaultPrevented'])break;if(_0x29917a(this['view'],_0x22314b)){_0x22314b['preventDefault']();break;}}}}['ensureHandlers'](_0x1f8ab5){let _0x4085d0=yA(_0x1f8ab5),_0x838456=this['handlers'],_0x591de5=this['view']['contentDOM'];for(let _0x3b6e70 in _0x4085d0)if('scroll'!=_0x3b6e70){let _0x280b3f=!_0x4085d0[_0x3b6e70]['handlers']['length'],_0x52f313=_0x838456[_0x3b6e70];_0x52f313&&_0x280b3f!=!_0x52f313['handlers']['length']&&(_0x591de5['removeEventListener'](_0x3b6e70,this['handleEvent']),_0x52f313=null),_0x52f313||_0x591de5['addEventListener'](_0x3b6e70,this['handleEvent'],{'passive':_0x280b3f});}for(let _0x2022fa in _0x838456)'scroll'==_0x2022fa||_0x4085d0[_0x2022fa]||_0x591de5['removeEventListener'](_0x2022fa,this['handleEvent']);this['handlers']=_0x4085d0;}['keydown'](_0x248319){if(this['lastKeyCode']=_0x248319['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x248319['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x248319['keyCode']&&EA['indexOf'](_0x248319['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),wE['android']&&wE['chrome']&&!_0x248319['synthetic']&&(0xd==_0x248319['keyCode']||0x8==_0x248319['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x248319['key'],_0x248319['keyCode']),!0x0;let _0x2c8825;return!wE['ios']||_0x248319['synthetic']||_0x248319['altKey']||_0x248319['metaKey']||!((_0x2c8825=vA['find'](_0x46617b=>_0x46617b['keyCode']==_0x248319['keyCode']))&&!_0x248319['ctrlKey']||_A['indexOf'](_0x248319['key'])>-0x1&&_0x248319['ctrlKey']&&!_0x248319['shiftKey'])?(0xe5!=_0x248319['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x2c8825||_0x248319,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x4c95fc){let _0x2dbfc2=this['pendingIOSKey'];return!!_0x2dbfc2&&(!('Enter'==_0x2dbfc2['key']&&_0x4c95fc&&_0x4c95fc['from']<_0x4c95fc['to']&&/^\S+$/['test'](_0x4c95fc['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,LE(this['view']['contentDOM'],_0x2dbfc2['key'],_0x2dbfc2['keyCode'],_0x2dbfc2 instanceof KeyboardEvent?_0x2dbfc2:void 0x0)));}['ignoreDuringComposition'](_0x144e9){return!(!/^key/['test'](_0x144e9['type'])||_0x144e9['synthetic'])&&(this['composing']>0x0||!!(wE['safari']&&!wE['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x4765e1){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x4765e1;}['update'](_0x42c38e){this['view']['observer']['update'](_0x42c38e),this['mouseSelection']&&this['mouseSelection']['update'](_0x42c38e),this['draggedContent']&&_0x42c38e['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x42c38e['changes'])),_0x42c38e['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function bA(_0x57dbdc,_0x481d4f){return(_0x2984b1,_0x3742b3)=>{try{return _0x481d4f['call'](_0x57dbdc,_0x3742b3,_0x2984b1);}catch(_0x100a6e){LT(_0x2984b1['state'],_0x100a6e);}};}function yA(_0x3bf080){let _0xd603ac=Object['create'](null);function _0x49a9ec(_0x1f3bd8){return _0xd603ac[_0x1f3bd8]||(_0xd603ac[_0x1f3bd8]={'observers':[],'handlers':[]});}for(let _0x571bba of _0x3bf080){let _0x53080c=_0x571bba['spec'],_0x555ec4=_0x53080c&&_0x53080c['plugin']['domEventHandlers'],_0x14ad5a=_0x53080c&&_0x53080c['plugin']['domEventObservers'];if(_0x555ec4)for(let _0x3d2bcd in _0x555ec4){let _0x36ca73=_0x555ec4[_0x3d2bcd];_0x36ca73&&_0x49a9ec(_0x3d2bcd)['handlers']['push'](bA(_0x571bba['value'],_0x36ca73));}if(_0x14ad5a)for(let _0x3710b9 in _0x14ad5a){let _0x4e06d8=_0x14ad5a[_0x3710b9];_0x4e06d8&&_0x49a9ec(_0x3710b9)['observers']['push'](bA(_0x571bba['value'],_0x4e06d8));}}for(let _0x4d4b4d in AA)_0x49a9ec(_0x4d4b4d)['handlers']['push'](AA[_0x4d4b4d]);for(let _0x2fc276 in SA)_0x49a9ec(_0x2fc276)['observers']['push'](SA[_0x2fc276]);return _0xd603ac;}const vA=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_A='dthko',EA=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function TA(_0xd90e36){return 0.7*Math['max'](0x0,_0xd90e36)+0x8;}class MouseSelection{constructor(_0x1ca3d7,_0x418fab,_0x26a609,_0x381abd){this['view']=_0x1ca3d7,this['startEvent']=_0x418fab,this['style']=_0x26a609,this['mustSelect']=_0x381abd,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x418fab,this['scrollParents']=function(_0x575993){let _0xeecb77,_0x35f296,_0xea3021=_0x575993['ownerDocument'];for(let _0x549c07=_0x575993['parentNode'];_0x549c07&&!(_0x549c07==_0xea3021['body']||_0xeecb77&&_0x35f296);)if(0x1==_0x549c07['nodeType'])!_0x35f296&&_0x549c07['scrollHeight']>_0x549c07['clientHeight']&&(_0x35f296=_0x549c07),!_0xeecb77&&_0x549c07['scrollWidth']>_0x549c07['clientWidth']&&(_0xeecb77=_0x549c07),_0x549c07=_0x549c07['assignedSlot']||_0x549c07['parentNode'];else{if(0xb!=_0x549c07['nodeType'])break;_0x549c07=_0x549c07['host'];}return{'x':_0xeecb77,'y':_0x35f296};}(_0x1ca3d7['contentDOM']),this['atoms']=_0x1ca3d7['state']['facet'](FT)['map'](_0x1f7149=>_0x1f7149(_0x1ca3d7));let _0x153379=_0x1ca3d7['contentDOM']['ownerDocument'];_0x153379['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x153379['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x418fab['shiftKey'],this['multiple']=_0x1ca3d7['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x5d36d2,_0x3cbc98){let _0x54074e=_0x5d36d2['state']['facet'](vT);return _0x54074e['length']?_0x54074e[0x0](_0x3cbc98):wE['mac']?_0x3cbc98['metaKey']:_0x3cbc98['ctrlKey'];}(_0x1ca3d7,_0x418fab),this['dragging']=!(!function(_0x39ee1a,_0xbdde2b){let {main:_0x544273}=_0x39ee1a['state']['selection'];if(_0x544273['empty'])return!0x1;let _0x4a443b=bE(_0x39ee1a['root']);if(!_0x4a443b||0x0==_0x4a443b['rangeCount'])return!0x0;let _0x5d4ed0=_0x4a443b['getRangeAt'](0x0)['getClientRects']();for(let _0x202e65=0x0;_0x202e65<_0x5d4ed0['length'];_0x202e65++){let _0x307bb3=_0x5d4ed0[_0x202e65];if(_0x307bb3['left']<=_0xbdde2b['clientX']&&_0x307bb3['right']>=_0xbdde2b['clientX']&&_0x307bb3['top']<=_0xbdde2b['clientY']&&_0x307bb3['bottom']>=_0xbdde2b['clientY'])return!0x0;}return!0x1;}(_0x1ca3d7,_0x418fab)||0x1!=QA(_0x418fab))&&null;}['start'](_0x443cfa){!0x1===this['dragging']&&this['select'](_0x443cfa);}['move'](_0x501122){if(0x0==_0x501122['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x4a649d=this['startEvent'],_0x24e7c0=_0x501122,Math['max'](Math['abs'](_0x4a649d['clientX']-_0x24e7c0['clientX']),Math['abs'](_0x4a649d['clientY']-_0x24e7c0['clientY']))<0xa))return;var _0x4a649d,_0x24e7c0;this['select'](this['lastEvent']=_0x501122);let _0xfebe02=0x0,_0x5bf0f0=0x0,_0x3c4137=0x0,_0x19da65=0x0,_0xe6483c=this['view']['win']['innerWidth'],_0xef92c=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x3c4137,right:_0xe6483c}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x19da65,bottom:_0xef92c}=this['scrollParents']['y']['getBoundingClientRect']());let _0x2d7103=XT(this['view']);_0x501122['clientX']-_0x2d7103['left']<=_0x3c4137+0x6?_0xfebe02=-TA(_0x3c4137-_0x501122['clientX']):_0x501122['clientX']+_0x2d7103['right']>=_0xe6483c-0x6&&(_0xfebe02=TA(_0x501122['clientX']-_0xe6483c)),_0x501122['clientY']-_0x2d7103['top']<=_0x19da65+0x6?_0x5bf0f0=-TA(_0x19da65-_0x501122['clientY']):_0x501122['clientY']+_0x2d7103['bottom']>=_0xef92c-0x6&&(_0x5bf0f0=TA(_0x501122['clientY']-_0xef92c)),this['setScrollSpeed'](_0xfebe02,_0x5bf0f0);}['up'](_0xd86a64){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0xd86a64['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x2556da=this['view']['contentDOM']['ownerDocument'];_0x2556da['removeEventListener']('mousemove',this['move']),_0x2556da['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x5a0990,_0x3748c1){this['scrollSpeed']={'x':_0x5a0990,'y':_0x3748c1},_0x5a0990||_0x3748c1?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x576e63,y:_0x2bd7ba}=this['scrollSpeed'];_0x576e63&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x576e63,_0x576e63=0x0),_0x2bd7ba&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x2bd7ba,_0x2bd7ba=0x0),(_0x576e63||_0x2bd7ba)&&this['view']['win']['scrollBy'](_0x576e63,_0x2bd7ba),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x106b70){let {view:_0x597fc1}=this,_0x49c5f8=uA(this['atoms'],this['style']['get'](_0x106b70,this['extend'],this['multiple']));!this['mustSelect']&&_0x49c5f8['eq'](_0x597fc1['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x49c5f8,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x3152f8){_0x3152f8['transactions']['some'](_0x4b0fe3=>_0x4b0fe3['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x3152f8)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const AA=Object['create'](null),SA=Object['create'](null),IA=wE['ie']&&wE['ie_version']<0xf||wE['ios']&&wE['webkit_version']<0x25c;function CA(_0x17a0ac,_0x4a8dd7,_0xa9a324){for(let _0x3830f3 of _0x17a0ac['facet'](_0x4a8dd7))_0xa9a324=_0x3830f3(_0xa9a324,_0x17a0ac);return _0xa9a324;}function kA(_0x20927e,_0xb22bf0){_0xb22bf0=CA(_0x20927e['state'],CT,_0xb22bf0);let _0x28294b,{state:_0x38a4de}=_0x20927e,_0x38c34f=0x1,_0x3b28d4=_0x38a4de['toText'](_0xb22bf0),_0x5c63ad=_0x3b28d4['lines']==_0x38a4de['selection']['ranges']['length'];if(null!=UA&&_0x38a4de['selection']['ranges']['every'](_0x42bf4d=>_0x42bf4d['empty'])&&UA==_0x3b28d4['toString']()){let _0x5a4873=-0x1;_0x28294b=_0x38a4de['changeByRange'](_0x2ae285=>{let _0x1599d1=_0x38a4de['doc']['lineAt'](_0x2ae285['from']);if(_0x1599d1['from']==_0x5a4873)return{'range':_0x2ae285};_0x5a4873=_0x1599d1['from'];let _0x3d3c24=_0x38a4de['toText']((_0x5c63ad?_0x3b28d4['line'](_0x38c34f++)['text']:_0xb22bf0)+_0x38a4de['lineBreak']);return{'changes':{'from':_0x1599d1['from'],'insert':_0x3d3c24},'range':EditorSelection['cursor'](_0x2ae285['from']+_0x3d3c24['length'])};});}else _0x28294b=_0x5c63ad?_0x38a4de['changeByRange'](_0x1f6829=>{let _0x12a51d=_0x3b28d4['line'](_0x38c34f++);return{'changes':{'from':_0x1f6829['from'],'to':_0x1f6829['to'],'insert':_0x12a51d['text']},'range':EditorSelection['cursor'](_0x1f6829['from']+_0x12a51d['length'])};}):_0x38a4de['replaceSelection'](_0x3b28d4);_0x20927e['dispatch'](_0x28294b,{'userEvent':'input.paste','scrollIntoView':!0x0});}function xA(_0x2548d9,_0x14fc7d,_0x255f03,_0xbeef56){if(0x1==_0xbeef56)return EditorSelection['cursor'](_0x14fc7d,_0x255f03);if(0x2==_0xbeef56)return function(_0x27e6f5,_0x3f2d57,_0x5b5438=0x1){let _0x30a956=_0x27e6f5['charCategorizer'](_0x3f2d57),_0x37c9bd=_0x27e6f5['doc']['lineAt'](_0x3f2d57),_0x5dddfa=_0x3f2d57-_0x37c9bd['from'];if(0x0==_0x37c9bd['length'])return EditorSelection['cursor'](_0x3f2d57);0x0==_0x5dddfa?_0x5b5438=0x1:_0x5dddfa==_0x37c9bd['length']&&(_0x5b5438=-0x1);let _0x481de7=_0x5dddfa,_0x2be10f=_0x5dddfa;_0x5b5438<0x0?_0x481de7=zv(_0x37c9bd['text'],_0x5dddfa,!0x1):_0x2be10f=zv(_0x37c9bd['text'],_0x5dddfa);let _0x38f667=_0x30a956(_0x37c9bd['text']['slice'](_0x481de7,_0x2be10f));for(;_0x481de7>0x0;){let _0x387088=zv(_0x37c9bd['text'],_0x481de7,!0x1);if(_0x30a956(_0x37c9bd['text']['slice'](_0x387088,_0x481de7))!=_0x38f667)break;_0x481de7=_0x387088;}for(;_0x2be10f<_0x37c9bd['length'];){let _0x3f2b3b=zv(_0x37c9bd['text'],_0x2be10f);if(_0x30a956(_0x37c9bd['text']['slice'](_0x2be10f,_0x3f2b3b))!=_0x38f667)break;_0x2be10f=_0x3f2b3b;}return EditorSelection['range'](_0x481de7+_0x37c9bd['from'],_0x2be10f+_0x37c9bd['from']);}(_0x2548d9['state'],_0x14fc7d,_0x255f03);{let _0x3c2acc=LineView['find'](_0x2548d9['docView'],_0x14fc7d),_0x1a5f98=_0x2548d9['state']['doc']['lineAt'](_0x3c2acc?_0x3c2acc['posAtEnd']:_0x14fc7d),_0x5db649=_0x3c2acc?_0x3c2acc['posAtStart']:_0x1a5f98['from'],_0x5934b5=_0x3c2acc?_0x3c2acc['posAtEnd']:_0x1a5f98['to'];return _0x5934b5<_0x2548d9['state']['doc']['length']&&_0x5934b5==_0x1a5f98['to']&&_0x5934b5++,EditorSelection['range'](_0x5db649,_0x5934b5);}}SA['scroll']=_0x362d63=>{_0x362d63['inputState']['lastScrollTop']=_0x362d63['scrollDOM']['scrollTop'],_0x362d63['inputState']['lastScrollLeft']=_0x362d63['scrollDOM']['scrollLeft'];},AA['keydown']=(_0x3b53e0,_0x5e7f4c)=>(_0x3b53e0['inputState']['setSelectionOrigin']('select'),0x1b==_0x5e7f4c['keyCode']&&0x0!=_0x3b53e0['inputState']['tabFocusMode']&&(_0x3b53e0['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),SA['touchstart']=(_0x4bb1b1,_0x4692c8)=>{_0x4bb1b1['inputState']['lastTouchTime']=Date['now'](),_0x4bb1b1['inputState']['setSelectionOrigin']('select.pointer');},SA['touchmove']=_0x5ab588=>{_0x5ab588['inputState']['setSelectionOrigin']('select.pointer');},AA['mousedown']=(_0x2d9124,_0x327eed)=>{if(_0x2d9124['observer']['flush'](),_0x2d9124['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x3ae8d6=null;for(let _0x3053d5 of _0x2d9124['state']['facet'](ET))if(_0x3ae8d6=_0x3053d5(_0x2d9124,_0x327eed),_0x3ae8d6)break;if(_0x3ae8d6||0x0!=_0x327eed['button']||(_0x3ae8d6=function(_0x491c7f,_0x3f1545){let _0x2df5f6=MA(_0x491c7f,_0x3f1545),_0x3bce99=QA(_0x3f1545),_0x34a8ac=_0x491c7f['state']['selection'];return{'update'(_0x20cfa0){_0x20cfa0['docChanged']&&(_0x2df5f6['pos']=_0x20cfa0['changes']['mapPos'](_0x2df5f6['pos']),_0x34a8ac=_0x34a8ac['map'](_0x20cfa0['changes']));},'get'(_0x328f8b,_0x2f6371,_0x12fc1a){let _0x15a592,_0x295310=MA(_0x491c7f,_0x328f8b),_0x1cb987=xA(_0x491c7f,_0x295310['pos'],_0x295310['bias'],_0x3bce99);if(_0x2df5f6['pos']!=_0x295310['pos']&&!_0x2f6371){let _0x541d04=xA(_0x491c7f,_0x2df5f6['pos'],_0x2df5f6['bias'],_0x3bce99),_0x3d3de1=Math['min'](_0x541d04['from'],_0x1cb987['from']),_0x47bc5a=Math['max'](_0x541d04['to'],_0x1cb987['to']);_0x1cb987=_0x3d3de1<_0x1cb987['from']?EditorSelection['range'](_0x3d3de1,_0x47bc5a):EditorSelection['range'](_0x47bc5a,_0x3d3de1);}return _0x2f6371?_0x34a8ac['replaceRange'](_0x34a8ac['main']['extend'](_0x1cb987['from'],_0x1cb987['to'])):_0x12fc1a&&0x1==_0x3bce99&&_0x34a8ac['ranges']['length']>0x1&&(_0x15a592=function(_0x18c650,_0x65b96){for(let _0x6ed14c=0x0;_0x6ed14c<_0x18c650['ranges']['length'];_0x6ed14c++){let {from:_0x2144b7,to:_0xa742e9}=_0x18c650['ranges'][_0x6ed14c];if(_0x2144b7<=_0x65b96&&_0xa742e9>=_0x65b96)return EditorSelection['create'](_0x18c650['ranges']['slice'](0x0,_0x6ed14c)['concat'](_0x18c650['ranges']['slice'](_0x6ed14c+0x1)),_0x18c650['mainIndex']==_0x6ed14c?0x0:_0x18c650['mainIndex']-(_0x18c650['mainIndex']>_0x6ed14c?0x1:0x0));}return null;}(_0x34a8ac,_0x295310['pos']))?_0x15a592:_0x12fc1a?_0x34a8ac['addRange'](_0x1cb987):EditorSelection['create']([_0x1cb987]);}};}(_0x2d9124,_0x327eed)),_0x3ae8d6){let _0xc7bc1d=!_0x2d9124['hasFocus'];_0x2d9124['inputState']['startMouseSelection'](new MouseSelection(_0x2d9124,_0x327eed,_0x3ae8d6,_0xc7bc1d)),_0xc7bc1d&&_0x2d9124['observer']['ignore'](()=>{ME(_0x2d9124['contentDOM']);let _0xd6dc5b=_0x2d9124['root']['activeElement'];_0xd6dc5b&&!_0xd6dc5b['contains'](_0x2d9124['contentDOM'])&&_0xd6dc5b['blur']();});let _0x4d7c8e=_0x2d9124['inputState']['mouseSelection'];if(_0x4d7c8e)return _0x4d7c8e['start'](_0x327eed),!0x1===_0x4d7c8e['dragging'];}else _0x2d9124['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let RA=(_0x5e246d,_0x42143b,_0x29e002)=>_0x42143b>=_0x29e002['top']&&_0x42143b<=_0x29e002['bottom']&&_0x5e246d>=_0x29e002['left']&&_0x5e246d<=_0x29e002['right'];function PA(_0x1df850,_0x4ad671,_0x161512,_0x5cc55a){let _0x5dd43f=LineView['find'](_0x1df850['docView'],_0x4ad671);if(!_0x5dd43f)return 0x1;let _0x2f904d=_0x4ad671-_0x5dd43f['posAtStart'];if(0x0==_0x2f904d)return 0x1;if(_0x2f904d==_0x5dd43f['length'])return-0x1;let _0x149d80=_0x5dd43f['coordsAt'](_0x2f904d,-0x1);if(_0x149d80&&RA(_0x161512,_0x5cc55a,_0x149d80))return-0x1;let _0x2029c4=_0x5dd43f['coordsAt'](_0x2f904d,0x1);return _0x2029c4&&RA(_0x161512,_0x5cc55a,_0x2029c4)?0x1:_0x149d80&&_0x149d80['bottom']>=_0x5cc55a?-0x1:0x1;}function MA(_0xd9b909,_0x143d30){let _0x2e1774=_0xd9b909['posAtCoords']({'x':_0x143d30['clientX'],'y':_0x143d30['clientY']},!0x1);return{'pos':_0x2e1774,'bias':PA(_0xd9b909,_0x2e1774,_0x143d30['clientX'],_0x143d30['clientY'])};}const NA=wE['ie']&&wE['ie_version']<=0xb;let LA=null,$A=0x0,DA=0x0;function QA(_0x1eeed0){if(!NA)return _0x1eeed0['detail'];let _0x32e835=LA,_0x2b2970=DA;return LA=_0x1eeed0,DA=Date['now'](),$A=!_0x32e835||_0x2b2970>Date['now']()-0x190&&Math['abs'](_0x32e835['clientX']-_0x1eeed0['clientX'])<0x2&&Math['abs'](_0x32e835['clientY']-_0x1eeed0['clientY'])<0x2?($A+0x1)%0x3:0x1;}function VA(_0x251dba,_0x5f14c5,_0x2892ff,_0x8d0ea9){if(!(_0x2892ff=CA(_0x251dba['state'],CT,_0x2892ff)))return;let _0x29171d=_0x251dba['posAtCoords']({'x':_0x5f14c5['clientX'],'y':_0x5f14c5['clientY']},!0x1),{draggedContent:_0x545940}=_0x251dba['inputState'],_0x4a3e82=_0x8d0ea9&&_0x545940&&function(_0x3c1c56,_0x49a5e4){let _0x5dd90e=_0x3c1c56['state']['facet'](_T);return _0x5dd90e['length']?_0x5dd90e[0x0](_0x49a5e4):wE['mac']?!_0x49a5e4['altKey']:!_0x49a5e4['ctrlKey'];}(_0x251dba,_0x5f14c5)?{'from':_0x545940['from'],'to':_0x545940['to']}:null,_0x102377={'from':_0x29171d,'insert':_0x2892ff},_0x2725e2=_0x251dba['state']['changes'](_0x4a3e82?[_0x4a3e82,_0x102377]:_0x102377);_0x251dba['focus'](),_0x251dba['dispatch']({'changes':_0x2725e2,'selection':{'anchor':_0x2725e2['mapPos'](_0x29171d,-0x1),'head':_0x2725e2['mapPos'](_0x29171d,0x1)},'userEvent':_0x4a3e82?'move.drop':'input.drop'}),_0x251dba['inputState']['draggedContent']=null;}AA['dragstart']=(_0x5df748,_0x1e207e)=>{let {selection:{main:_0x162b55}}=_0x5df748['state'];if(_0x1e207e['target']['draggable']){let _0x437005=_0x5df748['docView']['nearest'](_0x1e207e['target']);if(_0x437005&&_0x437005['isWidget']){let _0x47b920=_0x437005['posAtStart'],_0x220d04=_0x47b920+_0x437005['length'];(_0x47b920>=_0x162b55['to']||_0x220d04<=_0x162b55['from'])&&(_0x162b55=EditorSelection['range'](_0x47b920,_0x220d04));}}let {inputState:_0x5729f0}=_0x5df748;return _0x5729f0['mouseSelection']&&(_0x5729f0['mouseSelection']['dragging']=!0x0),_0x5729f0['draggedContent']=_0x162b55,_0x1e207e['dataTransfer']&&(_0x1e207e['dataTransfer']['setData']('Text',CA(_0x5df748['state'],kT,_0x5df748['state']['sliceDoc'](_0x162b55['from'],_0x162b55['to']))),_0x1e207e['dataTransfer']['effectAllowed']='copyMove'),!0x1;},AA['dragend']=_0xb3a6ca=>(_0xb3a6ca['inputState']['draggedContent']=null,!0x1),AA['drop']=(_0x5a4d13,_0x3fdea2)=>{if(!_0x3fdea2['dataTransfer'])return!0x1;if(_0x5a4d13['state']['readOnly'])return!0x0;let _0x104715=_0x3fdea2['dataTransfer']['files'];if(_0x104715&&_0x104715['length']){let _0x39d9c6=Array(_0x104715['length']),_0x32ed5e=0x0,_0x4a3d3f=()=>{++_0x32ed5e==_0x104715['length']&&VA(_0x5a4d13,_0x3fdea2,_0x39d9c6['filter'](_0x1d8f10=>null!=_0x1d8f10)['join'](_0x5a4d13['state']['lineBreak']),!0x1);};for(let _0x198019=0x0;_0x198019<_0x104715['length'];_0x198019++){let _0x448349=new FileReader();_0x448349['onerror']=_0x4a3d3f,_0x448349['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x448349['result'])||(_0x39d9c6[_0x198019]=_0x448349['result']),_0x4a3d3f();},_0x448349['readAsText'](_0x104715[_0x198019]);}return!0x0;}{let _0x4e0819=_0x3fdea2['dataTransfer']['getData']('Text');if(_0x4e0819)return VA(_0x5a4d13,_0x3fdea2,_0x4e0819,!0x0),!0x0;}return!0x1;},AA['paste']=(_0x46ac73,_0x3abef8)=>{if(_0x46ac73['state']['readOnly'])return!0x0;_0x46ac73['observer']['flush']();let _0x2d99a8=IA?null:_0x3abef8['clipboardData'];return _0x2d99a8?(kA(_0x46ac73,_0x2d99a8['getData']('text/plain')||_0x2d99a8['getData']('text/uri-list')),!0x0):(function(_0x557f5e){let _0x59a019=_0x557f5e['dom']['parentNode'];if(!_0x59a019)return;let _0x2244a3=_0x59a019['appendChild'](document['createElement']('textarea'));_0x2244a3['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x2244a3['focus'](),setTimeout(()=>{_0x557f5e['focus'](),_0x2244a3['remove'](),kA(_0x557f5e,_0x2244a3['value']);},0x32);}(_0x46ac73),!0x1);};let UA=null;AA['copy']=AA['cut']=(_0x1d75c4,_0x57b64d)=>{let {text:_0x274882,ranges:_0x8925a3,linewise:_0x5a9e14}=function(_0x52a2d6){let _0xd2acf4=[],_0x25e0ee=[],_0x5eb121=!0x1;for(let _0x9a053d of _0x52a2d6['selection']['ranges'])_0x9a053d['empty']||(_0xd2acf4['push'](_0x52a2d6['sliceDoc'](_0x9a053d['from'],_0x9a053d['to'])),_0x25e0ee['push'](_0x9a053d));if(!_0xd2acf4['length']){let _0x1fc18b=-0x1;for(let {from:_0x59e3f3}of _0x52a2d6['selection']['ranges']){let _0x2efe7e=_0x52a2d6['doc']['lineAt'](_0x59e3f3);_0x2efe7e['number']>_0x1fc18b&&(_0xd2acf4['push'](_0x2efe7e['text']),_0x25e0ee['push']({'from':_0x2efe7e['from'],'to':Math['min'](_0x52a2d6['doc']['length'],_0x2efe7e['to']+0x1)})),_0x1fc18b=_0x2efe7e['number'];}_0x5eb121=!0x0;}return{'text':CA(_0x52a2d6,kT,_0xd2acf4['join'](_0x52a2d6['lineBreak'])),'ranges':_0x25e0ee,'linewise':_0x5eb121};}(_0x1d75c4['state']);if(!_0x274882&&!_0x5a9e14)return!0x1;UA=_0x5a9e14?_0x274882:null,'cut'!=_0x57b64d['type']||_0x1d75c4['state']['readOnly']||_0x1d75c4['dispatch']({'changes':_0x8925a3,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x5b07d5=IA?null:_0x57b64d['clipboardData'];return _0x5b07d5?(_0x5b07d5['clearData'](),_0x5b07d5['setData']('text/plain',_0x274882),!0x0):(function(_0x4da219,_0x460a12){let _0x5e18fc=_0x4da219['dom']['parentNode'];if(!_0x5e18fc)return;let _0x68028a=_0x5e18fc['appendChild'](document['createElement']('textarea'));_0x68028a['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x68028a['value']=_0x460a12,_0x68028a['focus'](),_0x68028a['selectionEnd']=_0x460a12['length'],_0x68028a['selectionStart']=0x0,setTimeout(()=>{_0x68028a['remove'](),_0x4da219['focus']();},0x32);}(_0x1d75c4,_0x274882),!0x1);};const BA=Annotation['define']();function jA(_0x2436aa,_0x47ed0a){let _0xd87d7=[];for(let _0xbaf2d3 of _0x2436aa['facet'](IT)){let _0xc41ac5=_0xbaf2d3(_0x2436aa,_0x47ed0a);_0xc41ac5&&_0xd87d7['push'](_0xc41ac5);}return _0xd87d7['length']?_0x2436aa['update']({'effects':_0xd87d7,'annotations':BA['of'](!0x0)}):null;}function FA(_0x311cd9){setTimeout(()=>{let _0x25baa9=_0x311cd9['hasFocus'];if(_0x25baa9!=_0x311cd9['inputState']['notifiedFocused']){let _0x1499b4=jA(_0x311cd9['state'],_0x25baa9);_0x1499b4?_0x311cd9['dispatch'](_0x1499b4):_0x311cd9['update']([]);}},0xa);}SA['focus']=_0x208c0a=>{_0x208c0a['inputState']['lastFocusTime']=Date['now'](),_0x208c0a['scrollDOM']['scrollTop']||!_0x208c0a['inputState']['lastScrollTop']&&!_0x208c0a['inputState']['lastScrollLeft']||(_0x208c0a['scrollDOM']['scrollTop']=_0x208c0a['inputState']['lastScrollTop'],_0x208c0a['scrollDOM']['scrollLeft']=_0x208c0a['inputState']['lastScrollLeft']),FA(_0x208c0a);},SA['blur']=_0x27fd2d=>{_0x27fd2d['observer']['clearSelectionRange'](),FA(_0x27fd2d);},SA['compositionstart']=SA['compositionupdate']=_0x2f279c=>{_0x2f279c['observer']['editContext']||(null==_0x2f279c['inputState']['compositionFirstChange']&&(_0x2f279c['inputState']['compositionFirstChange']=!0x0),_0x2f279c['inputState']['composing']<0x0&&(_0x2f279c['inputState']['composing']=0x0));},SA['compositionend']=_0x1f50a4=>{_0x1f50a4['observer']['editContext']||(_0x1f50a4['inputState']['composing']=-0x1,_0x1f50a4['inputState']['compositionEndedAt']=Date['now'](),_0x1f50a4['inputState']['compositionPendingKey']=!0x0,_0x1f50a4['inputState']['compositionPendingChange']=_0x1f50a4['observer']['pendingRecords']()['length']>0x0,_0x1f50a4['inputState']['compositionFirstChange']=null,wE['chrome']&&wE['android']?_0x1f50a4['observer']['flushSoon']():_0x1f50a4['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x1f50a4['observer']['flush']()):setTimeout(()=>{_0x1f50a4['inputState']['composing']<0x0&&_0x1f50a4['docView']['hasComposition']&&_0x1f50a4['update']([]);},0x32));},SA['contextmenu']=_0x1afc51=>{_0x1afc51['inputState']['lastContextMenu']=Date['now']();},AA['beforeinput']=(_0x549f05,_0x1583a9)=>{var _0x18903f,_0x35932e;if('insertReplacementText'==_0x1583a9['inputType']&&_0x549f05['observer']['editContext']){let _0x4a2440=null===(_0x18903f=_0x1583a9['dataTransfer'])||void 0x0===_0x18903f?void 0x0:_0x18903f['getData']('text/plain'),_0x20c25b=_0x1583a9['getTargetRanges']();if(_0x4a2440&&_0x20c25b['length']){let _0x5a769d=_0x20c25b[0x0],_0x1bbc2a=_0x549f05['posAtDOM'](_0x5a769d['startContainer'],_0x5a769d['startOffset']),_0x382c05=_0x549f05['posAtDOM'](_0x5a769d['endContainer'],_0x5a769d['endOffset']);return OA(_0x549f05,{'from':_0x1bbc2a,'to':_0x382c05,'insert':_0x549f05['state']['toText'](_0x4a2440)},null),!0x0;}}let _0x17e939;if(wE['chrome']&&wE['android']&&(_0x17e939=vA['find'](_0x4aa734=>_0x4aa734['inputType']==_0x1583a9['inputType']))&&(_0x549f05['observer']['delayAndroidKey'](_0x17e939['key'],_0x17e939['keyCode']),'Backspace'==_0x17e939['key']||'Delete'==_0x17e939['key'])){let _0x56a355=(null===(_0x35932e=window['visualViewport'])||void 0x0===_0x35932e?void 0x0:_0x35932e['height'])||0x0;setTimeout(()=>{var _0x222b06;((null===(_0x222b06=window['visualViewport'])||void 0x0===_0x222b06?void 0x0:_0x222b06['height'])||0x0)>_0x56a355+0xa&&_0x549f05['hasFocus']&&(_0x549f05['contentDOM']['blur'](),_0x549f05['focus']());},0x64);}return wE['ios']&&'deleteContentForward'==_0x1583a9['inputType']&&_0x549f05['observer']['flushSoon'](),wE['safari']&&'insertText'==_0x1583a9['inputType']&&_0x549f05['inputState']['composing']>=0x0&&setTimeout(()=>SA['compositionend'](_0x549f05,_0x1583a9),0x14),!0x1;};const HA=new Set(),GA=['pre-wrap','normal','pre-line','break-spaces'];let ZA=!0x1;function XA(){ZA=!0x1;}class HeightOracle{constructor(_0x3c88f6){this['lineWrapping']=_0x3c88f6,this['doc']=Gv['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x3370c1,_0x3eec58){let _0x2305b1=this['doc']['lineAt'](_0x3eec58)['number']-this['doc']['lineAt'](_0x3370c1)['number']+0x1;return this['lineWrapping']&&(_0x2305b1+=Math['max'](0x0,Math['ceil']((_0x3eec58-_0x3370c1-_0x2305b1*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x2305b1;}['heightForLine'](_0x292ba8){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x292ba8-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x59958d){return this['doc']=_0x59958d,this;}['mustRefreshForWrapping'](_0x27f484){return GA['indexOf'](_0x27f484)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x27fbeb){let _0x523003=!0x1;for(let _0x137967=0x0;_0x137967<_0x27fbeb['length'];_0x137967++){let _0x7685b1=_0x27fbeb[_0x137967];_0x7685b1<0x0?_0x137967++:this['heightSamples'][Math['floor'](0xa*_0x7685b1)]||(_0x523003=!0x0,this['heightSamples'][Math['floor'](0xa*_0x7685b1)]=!0x0);}return _0x523003;}['refresh'](_0x2c04a3,_0x2a1adc,_0x1ee442,_0x69ef58,_0x279da5,_0x316de8){let _0x125976=GA['indexOf'](_0x2c04a3)>-0x1,_0x482de1=Math['round'](_0x2a1adc)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x125976;if(this['lineWrapping']=_0x125976,this['lineHeight']=_0x2a1adc,this['charWidth']=_0x1ee442,this['textHeight']=_0x69ef58,this['lineLength']=_0x279da5,_0x482de1){this['heightSamples']={};for(let _0xc15c72=0x0;_0xc15c72<_0x316de8['length'];_0xc15c72++){let _0x5c6af7=_0x316de8[_0xc15c72];_0x5c6af7<0x0?_0xc15c72++:this['heightSamples'][Math['floor'](0xa*_0x5c6af7)]=!0x0;}}return _0x482de1;}}class MeasuredHeights{constructor(_0x3715c8,_0x36fbac){this['from']=_0x3715c8,this['heights']=_0x36fbac,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class BlockInfo{constructor(_0x61f4c6,_0x1f74ad,_0x3b6ab9,_0x19d06b,_0x4bb1f7){this['from']=_0x61f4c6,this['length']=_0x1f74ad,this['top']=_0x3b6ab9,this['height']=_0x19d06b,this['_content']=_0x4bb1f7;}get['type'](){return'number'==typeof this['_content']?JE['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'](_0x452665){let _0x4e0a31=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x452665['_content'])?_0x452665['_content']:[_0x452665]);return new BlockInfo(this['from'],this['length']+_0x452665['length'],this['top'],this['height']+_0x452665['height'],_0x4e0a31);}}var qA=function(_0xd3bdd7){return _0xd3bdd7[_0xd3bdd7['ByPos']=0x0]='ByPos',_0xd3bdd7[_0xd3bdd7['ByHeight']=0x1]='ByHeight',_0xd3bdd7[_0xd3bdd7['ByPosNoHeight']=0x2]='ByPosNoHeight',_0xd3bdd7;}(qA||(qA={}));const WA=0.001;class HeightMap{constructor(_0x540876,_0x1a6cbd,_0x101058=0x2){this['length']=_0x540876,this['height']=_0x1a6cbd,this['flags']=_0x101058;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x245666){this['flags']=(_0x245666?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x27962c){this['height']!=_0x27962c&&(Math['abs'](this['height']-_0x27962c)>WA&&(ZA=!0x0),this['height']=_0x27962c);}['replace'](_0x6235b2,_0x26c0bf,_0x351852){return HeightMap['of'](_0x351852);}['decomposeLeft'](_0x59b8d3,_0x42f155){_0x42f155['push'](this);}['decomposeRight'](_0x2f9162,_0x1e8db7){_0x1e8db7['push'](this);}['applyChanges'](_0x1d7280,_0x330891,_0x447776,_0x1bf70d){let _0x2a857c=this,_0x17e5a2=_0x447776['doc'];for(let _0x5e888f=_0x1bf70d['length']-0x1;_0x5e888f>=0x0;_0x5e888f--){let {fromA:_0x1abb2c,toA:_0x23a56c,fromB:_0x3b866d,toB:_0x25e319}=_0x1bf70d[_0x5e888f],_0x57c94c=_0x2a857c['lineAt'](_0x1abb2c,qA['ByPosNoHeight'],_0x447776['setDoc'](_0x330891),0x0,0x0),_0xc6d44a=_0x57c94c['to']>=_0x23a56c?_0x57c94c:_0x2a857c['lineAt'](_0x23a56c,qA['ByPosNoHeight'],_0x447776,0x0,0x0);for(_0x25e319+=_0xc6d44a['to']-_0x23a56c,_0x23a56c=_0xc6d44a['to'];_0x5e888f>0x0&&_0x57c94c['from']<=_0x1bf70d[_0x5e888f-0x1]['toA'];)_0x1abb2c=_0x1bf70d[_0x5e888f-0x1]['fromA'],_0x3b866d=_0x1bf70d[_0x5e888f-0x1]['fromB'],_0x5e888f--,_0x1abb2c<_0x57c94c['from']&&(_0x57c94c=_0x2a857c['lineAt'](_0x1abb2c,qA['ByPosNoHeight'],_0x447776,0x0,0x0));_0x3b866d+=_0x57c94c['from']-_0x1abb2c,_0x1abb2c=_0x57c94c['from'];let _0x433008=NodeBuilder['build'](_0x447776['setDoc'](_0x17e5a2),_0x1d7280,_0x3b866d,_0x25e319);_0x2a857c=zA(_0x2a857c,_0x2a857c['replace'](_0x1abb2c,_0x23a56c,_0x433008));}return _0x2a857c['updateHeight'](_0x447776,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x12b973){if(0x1==_0x12b973['length'])return _0x12b973[0x0];let _0x5161b6=0x0,_0x5b2b2c=_0x12b973['length'],_0x2d6922=0x0,_0x2d3f3e=0x0;for(;;)if(_0x5161b6==_0x5b2b2c){if(_0x2d6922>0x2*_0x2d3f3e){let _0x478ec0=_0x12b973[_0x5161b6-0x1];_0x478ec0['break']?_0x12b973['splice'](--_0x5161b6,0x1,_0x478ec0['left'],null,_0x478ec0['right']):_0x12b973['splice'](--_0x5161b6,0x1,_0x478ec0['left'],_0x478ec0['right']),_0x5b2b2c+=0x1+_0x478ec0['break'],_0x2d6922-=_0x478ec0['size'];}else{if(!(_0x2d3f3e>0x2*_0x2d6922))break;{let _0x433ed3=_0x12b973[_0x5b2b2c];_0x433ed3['break']?_0x12b973['splice'](_0x5b2b2c,0x1,_0x433ed3['left'],null,_0x433ed3['right']):_0x12b973['splice'](_0x5b2b2c,0x1,_0x433ed3['left'],_0x433ed3['right']),_0x5b2b2c+=0x2+_0x433ed3['break'],_0x2d3f3e-=_0x433ed3['size'];}}}else{if(_0x2d6922<_0x2d3f3e){let _0x3a2d1c=_0x12b973[_0x5161b6++];_0x3a2d1c&&(_0x2d6922+=_0x3a2d1c['size']);}else{let _0x55eb14=_0x12b973[--_0x5b2b2c];_0x55eb14&&(_0x2d3f3e+=_0x55eb14['size']);}}let _0x26002f=0x0;return null==_0x12b973[_0x5161b6-0x1]?(_0x26002f=0x1,_0x5161b6--):null==_0x12b973[_0x5161b6]&&(_0x26002f=0x1,_0x5b2b2c++),new HeightMapBranch(HeightMap['of'](_0x12b973['slice'](0x0,_0x5161b6)),_0x26002f,HeightMap['of'](_0x12b973['slice'](_0x5b2b2c)));}}function zA(_0xd2c11e,_0x45576b){return _0xd2c11e==_0x45576b?_0xd2c11e:(_0xd2c11e['constructor']!=_0x45576b['constructor']&&(ZA=!0x0),_0x45576b);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x2191f7,_0x4b496,_0x574646){super(_0x2191f7,_0x4b496),this['deco']=_0x574646;}['blockAt'](_0x44e974,_0x3a6206,_0x88f6b7,_0xf13508){return new BlockInfo(_0xf13508,this['length'],_0x88f6b7,this['height'],this['deco']||0x0);}['lineAt'](_0x196bf7,_0x4d0956,_0x1c07b8,_0x429532,_0x5c89df){return this['blockAt'](0x0,_0x1c07b8,_0x429532,_0x5c89df);}['forEachLine'](_0x462761,_0x3360fa,_0x92a4db,_0x1d1b40,_0x14b49c,_0x4b2a35){_0x462761<=_0x14b49c+this['length']&&_0x3360fa>=_0x14b49c&&_0x4b2a35(this['blockAt'](0x0,_0x92a4db,_0x1d1b40,_0x14b49c));}['updateHeight'](_0x4f8030,_0x31d319=0x0,_0x90ca76=!0x1,_0x3a3e57){return _0x3a3e57&&_0x3a3e57['from']<=_0x31d319&&_0x3a3e57['more']&&this['setHeight'](_0x3a3e57['heights'][_0x3a3e57['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0xd53688,_0x4eef3b){super(_0xd53688,_0x4eef3b,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x154da0,_0x5885dd,_0xbf3ade,_0x237e3c){return new BlockInfo(_0x237e3c,this['length'],_0xbf3ade,this['height'],this['breaks']);}['replace'](_0x57569a,_0x935c13,_0x446a28){let _0x11fbe8=_0x446a28[0x0];return 0x1==_0x446a28['length']&&(_0x11fbe8 instanceof HeightMapText||_0x11fbe8 instanceof HeightMapGap&&0x4&_0x11fbe8['flags'])&&Math['abs'](this['length']-_0x11fbe8['length'])<0xa?(_0x11fbe8 instanceof HeightMapGap?_0x11fbe8=new HeightMapText(_0x11fbe8['length'],this['height']):_0x11fbe8['height']=this['height'],this['outdated']||(_0x11fbe8['outdated']=!0x1),_0x11fbe8):HeightMap['of'](_0x446a28);}['updateHeight'](_0x1a50c9,_0xd413bd=0x0,_0x141b62=!0x1,_0x316c81){return _0x316c81&&_0x316c81['from']<=_0xd413bd&&_0x316c81['more']?this['setHeight'](_0x316c81['heights'][_0x316c81['index']++]):(_0x141b62||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x1a50c9['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x1a50c9['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x475065){super(_0x475065,0x0);}['heightMetrics'](_0x5123a8,_0x1399df){let _0x1c748b,_0x32a566=_0x5123a8['doc']['lineAt'](_0x1399df)['number'],_0xe49d28=_0x5123a8['doc']['lineAt'](_0x1399df+this['length'])['number'],_0xbefc2=_0xe49d28-_0x32a566+0x1,_0x5767cb=0x0;if(_0x5123a8['lineWrapping']){let _0x1352d9=Math['min'](this['height'],_0x5123a8['lineHeight']*_0xbefc2);_0x1c748b=_0x1352d9/_0xbefc2,this['length']>_0xbefc2+0x1&&(_0x5767cb=(this['height']-_0x1352d9)/(this['length']-_0xbefc2-0x1));}else _0x1c748b=this['height']/_0xbefc2;return{'firstLine':_0x32a566,'lastLine':_0xe49d28,'perLine':_0x1c748b,'perChar':_0x5767cb};}['blockAt'](_0x4b67d7,_0x258b91,_0x87162d,_0x3eee03){let {firstLine:_0x4df701,lastLine:_0x1c45d8,perLine:_0x52732e,perChar:_0x59a0ee}=this['heightMetrics'](_0x258b91,_0x3eee03);if(_0x258b91['lineWrapping']){let _0x1d0d94=_0x3eee03+(_0x4b67d7<_0x258b91['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x4b67d7-_0x87162d)/this['height']))*this['length'])),_0x2fb7dd=_0x258b91['doc']['lineAt'](_0x1d0d94),_0x1a8a21=_0x52732e+_0x2fb7dd['length']*_0x59a0ee,_0x1c6cd8=Math['max'](_0x87162d,_0x4b67d7-_0x1a8a21/0x2);return new BlockInfo(_0x2fb7dd['from'],_0x2fb7dd['length'],_0x1c6cd8,_0x1a8a21,0x0);}{let _0x5a8c89=Math['max'](0x0,Math['min'](_0x1c45d8-_0x4df701,Math['floor']((_0x4b67d7-_0x87162d)/_0x52732e))),{from:_0x3763f8,length:_0x1e3592}=_0x258b91['doc']['line'](_0x4df701+_0x5a8c89);return new BlockInfo(_0x3763f8,_0x1e3592,_0x87162d+_0x52732e*_0x5a8c89,_0x52732e,0x0);}}['lineAt'](_0x16f5e7,_0x2dbdf5,_0x2f6f0b,_0x36bdef,_0x2fcf11){if(_0x2dbdf5==qA['ByHeight'])return this['blockAt'](_0x16f5e7,_0x2f6f0b,_0x36bdef,_0x2fcf11);if(_0x2dbdf5==qA['ByPosNoHeight']){let {from:_0x5e8c5c,to:_0x429c5e}=_0x2f6f0b['doc']['lineAt'](_0x16f5e7);return new BlockInfo(_0x5e8c5c,_0x429c5e-_0x5e8c5c,0x0,0x0,0x0);}let {firstLine:_0x43b556,perLine:_0x5b731e,perChar:_0x202c6a}=this['heightMetrics'](_0x2f6f0b,_0x2fcf11),_0x59c699=_0x2f6f0b['doc']['lineAt'](_0x16f5e7),_0x5d9f3f=_0x5b731e+_0x59c699['length']*_0x202c6a,_0x2d0e6c=_0x59c699['number']-_0x43b556,_0x39c191=_0x36bdef+_0x5b731e*_0x2d0e6c+_0x202c6a*(_0x59c699['from']-_0x2fcf11-_0x2d0e6c);return new BlockInfo(_0x59c699['from'],_0x59c699['length'],Math['max'](_0x36bdef,Math['min'](_0x39c191,_0x36bdef+this['height']-_0x5d9f3f)),_0x5d9f3f,0x0);}['forEachLine'](_0x5c6c55,_0x2811d8,_0x1ff8a,_0x555afe,_0x1ef0a9,_0x287540){_0x5c6c55=Math['max'](_0x5c6c55,_0x1ef0a9),_0x2811d8=Math['min'](_0x2811d8,_0x1ef0a9+this['length']);let {firstLine:_0x35aa9f,perLine:_0x1650c3,perChar:_0x16b32a}=this['heightMetrics'](_0x1ff8a,_0x1ef0a9);for(let _0x5f725d=_0x5c6c55,_0x534ff4=_0x555afe;_0x5f725d<=_0x2811d8;){let _0x5581ba=_0x1ff8a['doc']['lineAt'](_0x5f725d);if(_0x5f725d==_0x5c6c55){let _0x54e24e=_0x5581ba['number']-_0x35aa9f;_0x534ff4+=_0x1650c3*_0x54e24e+_0x16b32a*(_0x5c6c55-_0x1ef0a9-_0x54e24e);}let _0x37ce11=_0x1650c3+_0x16b32a*_0x5581ba['length'];_0x287540(new BlockInfo(_0x5581ba['from'],_0x5581ba['length'],_0x534ff4,_0x37ce11,0x0)),_0x534ff4+=_0x37ce11,_0x5f725d=_0x5581ba['to']+0x1;}}['replace'](_0x5c760c,_0x280fef,_0x5500f7){let _0x3d89d6=this['length']-_0x280fef;if(_0x3d89d6>0x0){let _0xe6fbc=_0x5500f7[_0x5500f7['length']-0x1];_0xe6fbc instanceof HeightMapGap?_0x5500f7[_0x5500f7['length']-0x1]=new HeightMapGap(_0xe6fbc['length']+_0x3d89d6):_0x5500f7['push'](null,new HeightMapGap(_0x3d89d6-0x1));}if(_0x5c760c>0x0){let _0x2d793=_0x5500f7[0x0];_0x2d793 instanceof HeightMapGap?_0x5500f7[0x0]=new HeightMapGap(_0x5c760c+_0x2d793['length']):_0x5500f7['unshift'](new HeightMapGap(_0x5c760c-0x1),null);}return HeightMap['of'](_0x5500f7);}['decomposeLeft'](_0x4a0901,_0x283554){_0x283554['push'](new HeightMapGap(_0x4a0901-0x1),null);}['decomposeRight'](_0x8a72cc,_0x284c63){_0x284c63['push'](null,new HeightMapGap(this['length']-_0x8a72cc-0x1));}['updateHeight'](_0x431332,_0x9ddf47=0x0,_0x425828=!0x1,_0xb371b1){let _0x39545d=_0x9ddf47+this['length'];if(_0xb371b1&&_0xb371b1['from']<=_0x9ddf47+this['length']&&_0xb371b1['more']){let _0x29e91a=[],_0x56ccc3=Math['max'](_0x9ddf47,_0xb371b1['from']),_0x6076d2=-0x1;for(_0xb371b1['from']>_0x9ddf47&&_0x29e91a['push'](new HeightMapGap(_0xb371b1['from']-_0x9ddf47-0x1)['updateHeight'](_0x431332,_0x9ddf47));_0x56ccc3<=_0x39545d&&_0xb371b1['more'];){let _0x10e9ad=_0x431332['doc']['lineAt'](_0x56ccc3)['length'];_0x29e91a['length']&&_0x29e91a['push'](null);let _0xf7ef3e=_0xb371b1['heights'][_0xb371b1['index']++];-0x1==_0x6076d2?_0x6076d2=_0xf7ef3e:Math['abs'](_0xf7ef3e-_0x6076d2)>=WA&&(_0x6076d2=-0x2);let _0x14f399=new HeightMapText(_0x10e9ad,_0xf7ef3e);_0x14f399['outdated']=!0x1,_0x29e91a['push'](_0x14f399),_0x56ccc3+=_0x10e9ad+0x1;}_0x56ccc3<=_0x39545d&&_0x29e91a['push'](null,new HeightMapGap(_0x39545d-_0x56ccc3)['updateHeight'](_0x431332,_0x56ccc3));let _0x268cef=HeightMap['of'](_0x29e91a);return(_0x6076d2<0x0||Math['abs'](_0x268cef['height']-this['height'])>=WA||Math['abs'](_0x6076d2-this['heightMetrics'](_0x431332,_0x9ddf47)['perLine'])>=WA)&&(ZA=!0x0),zA(this,_0x268cef);}return(_0x425828||this['outdated'])&&(this['setHeight'](_0x431332['heightForGap'](_0x9ddf47,_0x9ddf47+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x3e099b,_0x178a6c,_0x42702c){super(_0x3e099b['length']+_0x178a6c+_0x42702c['length'],_0x3e099b['height']+_0x42702c['height'],_0x178a6c|(_0x3e099b['outdated']||_0x42702c['outdated']?0x2:0x0)),this['left']=_0x3e099b,this['right']=_0x42702c,this['size']=_0x3e099b['size']+_0x42702c['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x19a359,_0x59a463,_0x2e115d,_0x493b15){let _0xb573a=_0x2e115d+this['left']['height'];return _0x19a359<_0xb573a?this['left']['blockAt'](_0x19a359,_0x59a463,_0x2e115d,_0x493b15):this['right']['blockAt'](_0x19a359,_0x59a463,_0xb573a,_0x493b15+this['left']['length']+this['break']);}['lineAt'](_0x1f4698,_0xf50512,_0x1d1a71,_0x215fa9,_0x1b51a3){let _0x3c5642=_0x215fa9+this['left']['height'],_0x2e17a0=_0x1b51a3+this['left']['length']+this['break'],_0x1c19cd=_0xf50512==qA['ByHeight']?_0x1f4698<_0x3c5642:_0x1f4698<_0x2e17a0,_0x845317=_0x1c19cd?this['left']['lineAt'](_0x1f4698,_0xf50512,_0x1d1a71,_0x215fa9,_0x1b51a3):this['right']['lineAt'](_0x1f4698,_0xf50512,_0x1d1a71,_0x3c5642,_0x2e17a0);if(this['break']||(_0x1c19cd?_0x845317['to']<_0x2e17a0:_0x845317['from']>_0x2e17a0))return _0x845317;let _0x34d67a=_0xf50512==qA['ByPosNoHeight']?qA['ByPosNoHeight']:qA['ByPos'];return _0x1c19cd?_0x845317['join'](this['right']['lineAt'](_0x2e17a0,_0x34d67a,_0x1d1a71,_0x3c5642,_0x2e17a0)):this['left']['lineAt'](_0x2e17a0,_0x34d67a,_0x1d1a71,_0x215fa9,_0x1b51a3)['join'](_0x845317);}['forEachLine'](_0xc2c440,_0x57c1b8,_0x5bae38,_0x4fbb09,_0x4c3545,_0x16535f){let _0x2952ea=_0x4fbb09+this['left']['height'],_0x45ec51=_0x4c3545+this['left']['length']+this['break'];if(this['break'])_0xc2c440<_0x45ec51&&this['left']['forEachLine'](_0xc2c440,_0x57c1b8,_0x5bae38,_0x4fbb09,_0x4c3545,_0x16535f),_0x57c1b8>=_0x45ec51&&this['right']['forEachLine'](_0xc2c440,_0x57c1b8,_0x5bae38,_0x2952ea,_0x45ec51,_0x16535f);else{let _0x33bf65=this['lineAt'](_0x45ec51,qA['ByPos'],_0x5bae38,_0x4fbb09,_0x4c3545);_0xc2c440<_0x33bf65['from']&&this['left']['forEachLine'](_0xc2c440,_0x33bf65['from']-0x1,_0x5bae38,_0x4fbb09,_0x4c3545,_0x16535f),_0x33bf65['to']>=_0xc2c440&&_0x33bf65['from']<=_0x57c1b8&&_0x16535f(_0x33bf65),_0x57c1b8>_0x33bf65['to']&&this['right']['forEachLine'](_0x33bf65['to']+0x1,_0x57c1b8,_0x5bae38,_0x2952ea,_0x45ec51,_0x16535f);}}['replace'](_0x539eee,_0xcd0b40,_0x45fbaf){let _0x5873df=this['left']['length']+this['break'];if(_0xcd0b40<_0x5873df)return this['balanced'](this['left']['replace'](_0x539eee,_0xcd0b40,_0x45fbaf),this['right']);if(_0x539eee>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x539eee-_0x5873df,_0xcd0b40-_0x5873df,_0x45fbaf));let _0x2f88f2=[];_0x539eee>0x0&&this['decomposeLeft'](_0x539eee,_0x2f88f2);let _0x1a60bc=_0x2f88f2['length'];for(let _0x2b1f08 of _0x45fbaf)_0x2f88f2['push'](_0x2b1f08);if(_0x539eee>0x0&&YA(_0x2f88f2,_0x1a60bc-0x1),_0xcd0b40<this['length']){let _0x3cf431=_0x2f88f2['length'];this['decomposeRight'](_0xcd0b40,_0x2f88f2),YA(_0x2f88f2,_0x3cf431);}return HeightMap['of'](_0x2f88f2);}['decomposeLeft'](_0x4cf527,_0x2e1456){let _0x34e46a=this['left']['length'];if(_0x4cf527<=_0x34e46a)return this['left']['decomposeLeft'](_0x4cf527,_0x2e1456);_0x2e1456['push'](this['left']),this['break']&&(_0x34e46a++,_0x4cf527>=_0x34e46a&&_0x2e1456['push'](null)),_0x4cf527>_0x34e46a&&this['right']['decomposeLeft'](_0x4cf527-_0x34e46a,_0x2e1456);}['decomposeRight'](_0x79bc1b,_0x28058f){let _0x4a6065=this['left']['length'],_0x5880c0=_0x4a6065+this['break'];if(_0x79bc1b>=_0x5880c0)return this['right']['decomposeRight'](_0x79bc1b-_0x5880c0,_0x28058f);_0x79bc1b<_0x4a6065&&this['left']['decomposeRight'](_0x79bc1b,_0x28058f),this['break']&&_0x79bc1b<_0x5880c0&&_0x28058f['push'](null),_0x28058f['push'](this['right']);}['balanced'](_0x38bd67,_0x334e9b){return _0x38bd67['size']>0x2*_0x334e9b['size']||_0x334e9b['size']>0x2*_0x38bd67['size']?HeightMap['of'](this['break']?[_0x38bd67,null,_0x334e9b]:[_0x38bd67,_0x334e9b]):(this['left']=zA(this['left'],_0x38bd67),this['right']=zA(this['right'],_0x334e9b),this['setHeight'](_0x38bd67['height']+_0x334e9b['height']),this['outdated']=_0x38bd67['outdated']||_0x334e9b['outdated'],this['size']=_0x38bd67['size']+_0x334e9b['size'],this['length']=_0x38bd67['length']+this['break']+_0x334e9b['length'],this);}['updateHeight'](_0x40ae85,_0x1bc859=0x0,_0x8c84c6=!0x1,_0x1122e2){let {left:_0x1dff84,right:_0x12cda2}=this,_0x2c0cb9=_0x1bc859+_0x1dff84['length']+this['break'],_0x1fcecc=null;return _0x1122e2&&_0x1122e2['from']<=_0x1bc859+_0x1dff84['length']&&_0x1122e2['more']?_0x1fcecc=_0x1dff84=_0x1dff84['updateHeight'](_0x40ae85,_0x1bc859,_0x8c84c6,_0x1122e2):_0x1dff84['updateHeight'](_0x40ae85,_0x1bc859,_0x8c84c6),_0x1122e2&&_0x1122e2['from']<=_0x2c0cb9+_0x12cda2['length']&&_0x1122e2['more']?_0x1fcecc=_0x12cda2=_0x12cda2['updateHeight'](_0x40ae85,_0x2c0cb9,_0x8c84c6,_0x1122e2):_0x12cda2['updateHeight'](_0x40ae85,_0x2c0cb9,_0x8c84c6),_0x1fcecc?this['balanced'](_0x1dff84,_0x12cda2):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function YA(_0x462d64,_0x6eebc2){let _0x5ad242,_0x493ab9;null==_0x462d64[_0x6eebc2]&&(_0x5ad242=_0x462d64[_0x6eebc2-0x1])instanceof HeightMapGap&&(_0x493ab9=_0x462d64[_0x6eebc2+0x1])instanceof HeightMapGap&&_0x462d64['splice'](_0x6eebc2-0x1,0x3,new HeightMapGap(_0x5ad242['length']+0x1+_0x493ab9['length']));}class NodeBuilder{constructor(_0x6b4a27,_0x390f06){this['pos']=_0x6b4a27,this['oracle']=_0x390f06,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x6b4a27;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x3c6dbf,_0x5c7c3f){if(this['lineStart']>-0x1){let _0x274d81=Math['min'](_0x5c7c3f,this['lineEnd']),_0x3e0df4=this['nodes'][this['nodes']['length']-0x1];_0x3e0df4 instanceof HeightMapText?_0x3e0df4['length']+=_0x274d81-this['pos']:(_0x274d81>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x274d81-this['pos'],-0x1)),this['writtenTo']=_0x274d81,_0x5c7c3f>_0x274d81&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x5c7c3f;}['point'](_0x1ba895,_0x42cd1c,_0x4b1682){if(_0x1ba895<_0x42cd1c||_0x4b1682['heightRelevant']){let _0x567d6c=_0x4b1682['widget']?_0x4b1682['widget']['estimatedHeight']:0x0,_0x21c272=_0x4b1682['widget']?_0x4b1682['widget']['lineBreaks']:0x0;_0x567d6c<0x0&&(_0x567d6c=this['oracle']['lineHeight']);let _0x142cf6=_0x42cd1c-_0x1ba895;_0x4b1682['block']?this['addBlock'](new HeightMapBlock(_0x142cf6,_0x567d6c,_0x4b1682)):(_0x142cf6||_0x21c272||_0x567d6c>=0x5)&&this['addLineDeco'](_0x567d6c,_0x21c272,_0x142cf6);}else _0x42cd1c>_0x1ba895&&this['span'](_0x1ba895,_0x42cd1c);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x3b3092,to:_0x34068a}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x3b3092,this['lineEnd']=_0x34068a,this['writtenTo']<_0x3b3092&&((this['writtenTo']<_0x3b3092-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x3b3092-0x1)),this['nodes']['push'](null)),this['pos']>_0x3b3092&&this['nodes']['push'](new HeightMapText(this['pos']-_0x3b3092,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x41c82d,_0x5e622a){let _0x248d2c=new HeightMapGap(_0x5e622a-_0x41c82d);return this['oracle']['doc']['lineAt'](_0x41c82d)['to']==_0x5e622a&&(_0x248d2c['flags']|=0x4),_0x248d2c;}['ensureLine'](){this['enterLine']();let _0x4dba26=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x4dba26 instanceof HeightMapText)return _0x4dba26;let _0x4dd38d=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x4dd38d),_0x4dd38d;}['addBlock'](_0x56ee46){this['enterLine']();let _0x3b1f84=_0x56ee46['deco'];_0x3b1f84&&_0x3b1f84['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x56ee46),this['writtenTo']=this['pos']=this['pos']+_0x56ee46['length'],_0x3b1f84&&_0x3b1f84['endSide']>0x0&&(this['covering']=_0x56ee46);}['addLineDeco'](_0x5c02a4,_0x54cee4,_0x19c41b){let _0x43421e=this['ensureLine']();_0x43421e['length']+=_0x19c41b,_0x43421e['collapsed']+=_0x19c41b,_0x43421e['widgetHeight']=Math['max'](_0x43421e['widgetHeight'],_0x5c02a4),_0x43421e['breaks']+=_0x54cee4,this['writtenTo']=this['pos']=this['pos']+_0x19c41b;}['finish'](_0x36b47b){let _0x5279fc=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x5279fc instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x5279fc)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x20d8b6=_0x36b47b;for(let _0x2173a2 of this['nodes'])_0x2173a2 instanceof HeightMapText&&_0x2173a2['updateHeight'](this['oracle'],_0x20d8b6),_0x20d8b6+=_0x2173a2?_0x2173a2['length']:0x1;return this['nodes'];}static['build'](_0x97027,_0x3ab8b7,_0x5217a6,_0x264f06){let _0xa8145d=new NodeBuilder(_0x5217a6,_0x97027);return RangeSet['spans'](_0x3ab8b7,_0x5217a6,_0x264f06,_0xa8145d,0x0),_0xa8145d['finish'](_0x5217a6);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x335d01,_0x617465,_0x2f908e,_0x230bdb){(_0x335d01<_0x617465||_0x2f908e&&_0x2f908e['heightRelevant']||_0x230bdb&&_0x230bdb['heightRelevant'])&&eT(_0x335d01,_0x617465,this['changes'],0x5);}}function KA(_0x18adea,_0x23bae9){let _0x515535=_0x18adea['getBoundingClientRect'](),_0x21cf2b=_0x18adea['ownerDocument'],_0x5261dc=_0x21cf2b['defaultView']||window,_0x3c5c0c=Math['max'](0x0,_0x515535['left']),_0x3254a3=Math['min'](_0x5261dc['innerWidth'],_0x515535['right']),_0x5ccabd=Math['max'](0x0,_0x515535['top']),_0x2096d5=Math['min'](_0x5261dc['innerHeight'],_0x515535['bottom']);for(let _0xbd1d06=_0x18adea['parentNode'];_0xbd1d06&&_0xbd1d06!=_0x21cf2b['body'];)if(0x1==_0xbd1d06['nodeType']){let _0x476752=_0xbd1d06,_0x33b611=window['getComputedStyle'](_0x476752);if((_0x476752['scrollHeight']>_0x476752['clientHeight']||_0x476752['scrollWidth']>_0x476752['clientWidth'])&&'visible'!=_0x33b611['overflow']){let _0x3efda2=_0x476752['getBoundingClientRect']();_0x3c5c0c=Math['max'](_0x3c5c0c,_0x3efda2['left']),_0x3254a3=Math['min'](_0x3254a3,_0x3efda2['right']),_0x5ccabd=Math['max'](_0x5ccabd,_0x3efda2['top']),_0x2096d5=Math['min'](_0xbd1d06==_0x18adea['parentNode']?_0x5261dc['innerHeight']:_0x2096d5,_0x3efda2['bottom']);}_0xbd1d06='absolute'==_0x33b611['position']||'fixed'==_0x33b611['position']?_0x476752['offsetParent']:_0x476752['parentNode'];}else{if(0xb!=_0xbd1d06['nodeType'])break;_0xbd1d06=_0xbd1d06['host'];}return{'left':_0x3c5c0c-_0x515535['left'],'right':Math['max'](_0x3c5c0c,_0x3254a3)-_0x515535['left'],'top':_0x5ccabd-(_0x515535['top']+_0x23bae9),'bottom':Math['max'](_0x5ccabd,_0x2096d5)-(_0x515535['top']+_0x23bae9)};}function JA(_0x15bcfd,_0xfc33a3){let _0x3fe81b=_0x15bcfd['getBoundingClientRect']();return{'left':0x0,'right':_0x3fe81b['right']-_0x3fe81b['left'],'top':_0xfc33a3,'bottom':_0x3fe81b['bottom']-(_0x3fe81b['top']+_0xfc33a3)};}class LineGap{constructor(_0x2f8188,_0x337642,_0x53949a,_0x4fd64d){this['from']=_0x2f8188,this['to']=_0x337642,this['size']=_0x53949a,this['displaySize']=_0x4fd64d;}static['same'](_0x477c7f,_0x2dbc4c){if(_0x477c7f['length']!=_0x2dbc4c['length'])return!0x1;for(let _0x20115b=0x0;_0x20115b<_0x477c7f['length'];_0x20115b++){let _0x586333=_0x477c7f[_0x20115b],_0x57d7d1=_0x2dbc4c[_0x20115b];if(_0x586333['from']!=_0x57d7d1['from']||_0x586333['to']!=_0x57d7d1['to']||_0x586333['size']!=_0x57d7d1['size'])return!0x1;}return!0x0;}['draw'](_0x567e99,_0x108833){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x108833?_0x567e99['scaleY']:_0x567e99['scaleX']),_0x108833)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x454684,_0x2edeb5){super(),this['size']=_0x454684,this['vertical']=_0x2edeb5;}['eq'](_0x9565c5){return _0x9565c5['size']==this['size']&&_0x9565c5['vertical']==this['vertical'];}['toDOM'](){let _0x279784=document['createElement']('div');return this['vertical']?_0x279784['style']['height']=this['size']+'px':(_0x279784['style']['width']=this['size']+'px',_0x279784['style']['height']='2px',_0x279784['style']['display']='inline-block'),_0x279784;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x5df5aa){this['state']=_0x5df5aa,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']=iS,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=sT['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x24b43e=_0x5df5aa['facet'](UT)['some'](_0x58a6e8=>'function'!=typeof _0x58a6e8&&'cm-lineWrapping'==_0x58a6e8['class']);this['heightOracle']=new HeightOracle(_0x24b43e),this['stateDeco']=_0x5df5aa['facet'](BT)['filter'](_0x45a69f=>'function'!=typeof _0x45a69f),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Gv['empty'],this['heightOracle']['setDoc'](_0x5df5aa['doc']),[new ChangedRange(0x0,0x0,0x0,_0x5df5aa['doc']['length'])]);for(let _0x3493b5=0x0;_0x3493b5<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x3493b5++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x2197a7=>_0x2197a7['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x4d40a9=[this['viewport']],{main:_0x3ecdba}=this['state']['selection'];for(let _0x3a464a=0x0;_0x3a464a<=0x1;_0x3a464a++){let _0x5eb6e0=_0x3a464a?_0x3ecdba['head']:_0x3ecdba['anchor'];if(!_0x4d40a9['some'](({from:_0x4ed92f,to:_0x391cc8})=>_0x5eb6e0>=_0x4ed92f&&_0x5eb6e0<=_0x391cc8)){let {from:_0x6b84a,to:_0xe56a4e}=this['lineBlockAt'](_0x5eb6e0);_0x4d40a9['push'](new Viewport(_0x6b84a,_0xe56a4e));}}return this['viewports']=_0x4d40a9['sort']((_0x5eef86,_0x51a0b7)=>_0x5eef86['from']-_0x51a0b7['from']),this['updateScaler']();}['updateScaler'](){let _0x58b150=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?iS:new BigScaler(this['heightOracle'],this['heightMap'],this['viewports']),_0x58b150['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,_0x3aa8e7=>{this['viewportLines']['push'](sS(_0x3aa8e7,this['scaler']));});}['update'](_0x2eb0c8,_0x265777=null){this['state']=_0x2eb0c8['state'];let _0x3143f3=this['stateDeco'];this['stateDeco']=this['state']['facet'](BT)['filter'](_0x341e3=>'function'!=typeof _0x341e3);let _0x33436a=_0x2eb0c8['changedRanges'],_0x55854d=ChangedRange['extendWithRanges'](_0x33436a,function(_0x26a304,_0x639998,_0x573e05){let _0x26fa5e=new DecorationComparator();return RangeSet['compare'](_0x26a304,_0x639998,_0x573e05,_0x26fa5e,0x0),_0x26fa5e['changes'];}(_0x3143f3,this['stateDeco'],_0x2eb0c8?_0x2eb0c8['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x382da3=this['heightMap']['height'],_0x5a1c2e=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);XA(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x2eb0c8['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x55854d),(this['heightMap']['height']!=_0x382da3||ZA)&&(_0x2eb0c8['flags']|=0x2),_0x5a1c2e?(this['scrollAnchorPos']=_0x2eb0c8['changes']['mapPos'](_0x5a1c2e['from'],-0x1),this['scrollAnchorHeight']=_0x5a1c2e['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x382da3);let _0x3076b3=_0x55854d['length']?this['mapViewport'](this['viewport'],_0x2eb0c8['changes']):this['viewport'];(_0x265777&&(_0x265777['range']['head']<_0x3076b3['from']||_0x265777['range']['head']>_0x3076b3['to'])||!this['viewportIsAppropriate'](_0x3076b3))&&(_0x3076b3=this['getViewport'](0x0,_0x265777));let _0x455c8e=_0x3076b3['from']!=this['viewport']['from']||_0x3076b3['to']!=this['viewport']['to'];this['viewport']=_0x3076b3,_0x2eb0c8['flags']|=this['updateForViewport'](),(_0x455c8e||!_0x2eb0c8['changes']['empty']||0x2&_0x2eb0c8['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x2eb0c8['changes']))),_0x2eb0c8['flags']|=this['computeVisibleRanges'](_0x2eb0c8['changes']),_0x265777&&(this['scrollTarget']=_0x265777),!this['mustEnforceCursorAssoc']&&_0x2eb0c8['selectionSet']&&_0x2eb0c8['view']['lineWrapping']&&_0x2eb0c8['state']['selection']['main']['empty']&&_0x2eb0c8['state']['selection']['main']['assoc']&&!_0x2eb0c8['state']['facet'](RT)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x16acdd){let _0x39fe68=_0x16acdd['contentDOM'],_0x3d5a10=window['getComputedStyle'](_0x39fe68),_0x298452=this['heightOracle'],_0x1d1563=_0x3d5a10['whiteSpace'];this['defaultTextDirection']='rtl'==_0x3d5a10['direction']?sT['RTL']:sT['LTR'];let _0x241df4=this['heightOracle']['mustRefreshForWrapping'](_0x1d1563),_0x5edf23=_0x39fe68['getBoundingClientRect'](),_0x1f72c1=_0x241df4||this['mustMeasureContent']||this['contentDOMHeight']!=_0x5edf23['height'];this['contentDOMHeight']=_0x5edf23['height'],this['mustMeasureContent']=!0x1;let _0x10afb2=0x0,_0x4a60ac=0x0;if(_0x5edf23['width']&&_0x5edf23['height']){let {scaleX:_0x541971,scaleY:_0x3ce02d}=xE(_0x39fe68,_0x5edf23);(_0x541971>0.005&&Math['abs'](this['scaleX']-_0x541971)>0.005||_0x3ce02d>0.005&&Math['abs'](this['scaleY']-_0x3ce02d)>0.005)&&(this['scaleX']=_0x541971,this['scaleY']=_0x3ce02d,_0x10afb2|=0x10,_0x241df4=_0x1f72c1=!0x0);}let _0xfe60bd=(parseInt(_0x3d5a10['paddingTop'])||0x0)*this['scaleY'],_0x38d5e1=(parseInt(_0x3d5a10['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0xfe60bd&&this['paddingBottom']==_0x38d5e1||(this['paddingTop']=_0xfe60bd,this['paddingBottom']=_0x38d5e1,_0x10afb2|=0x12),this['editorWidth']!=_0x16acdd['scrollDOM']['clientWidth']&&(_0x298452['lineWrapping']&&(_0x1f72c1=!0x0),this['editorWidth']=_0x16acdd['scrollDOM']['clientWidth'],_0x10afb2|=0x10);let _0x3efc5d=_0x16acdd['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x3efc5d&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x3efc5d),this['scrolledToBottom']=DE(_0x16acdd['scrollDOM']);let _0x34bafe=(this['printing']?JA:KA)(_0x39fe68,this['paddingTop']),_0x18ffe5=_0x34bafe['top']-this['pixelViewport']['top'],_0x95b94e=_0x34bafe['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x34bafe;let _0x172ae6=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x172ae6!=this['inView']&&(this['inView']=_0x172ae6,_0x172ae6&&(_0x1f72c1=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x1325e4){let _0x87203=_0x1325e4['getBoundingClientRect'](),_0x3ed2f2=_0x1325e4['ownerDocument']['defaultView']||window;return _0x87203['left']<_0x3ed2f2['innerWidth']&&_0x87203['right']>0x0&&_0x87203['top']<_0x3ed2f2['innerHeight']&&_0x87203['bottom']>0x0;}(_0x16acdd['dom']))return 0x0;let _0x478626=_0x5edf23['width'];if(this['contentDOMWidth']==_0x478626&&this['editorHeight']==_0x16acdd['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x5edf23['width'],this['editorHeight']=_0x16acdd['scrollDOM']['clientHeight'],_0x10afb2|=0x10),_0x1f72c1){let _0x5e2fbc=_0x16acdd['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x298452['mustRefreshForHeights'](_0x5e2fbc)&&(_0x241df4=!0x0),_0x241df4||_0x298452['lineWrapping']&&Math['abs'](_0x478626-this['contentDOMWidth'])>_0x298452['charWidth']){let {lineHeight:_0x9718c2,charWidth:_0x3605da,textHeight:_0x22ac8f}=_0x16acdd['docView']['measureTextSize']();_0x241df4=_0x9718c2>0x0&&_0x298452['refresh'](_0x1d1563,_0x9718c2,_0x3605da,_0x22ac8f,Math['max'](0x5,_0x478626/_0x3605da),_0x5e2fbc),_0x241df4&&(_0x16acdd['docView']['minWidth']=0x0,_0x10afb2|=0x10);}_0x18ffe5>0x0&&_0x95b94e>0x0?_0x4a60ac=Math['max'](_0x18ffe5,_0x95b94e):_0x18ffe5<0x0&&_0x95b94e<0x0&&(_0x4a60ac=Math['min'](_0x18ffe5,_0x95b94e)),XA();for(let _0x3c1b48 of this['viewports']){let _0xecbe29=_0x3c1b48['from']==this['viewport']['from']?_0x5e2fbc:_0x16acdd['docView']['measureVisibleLineHeights'](_0x3c1b48);this['heightMap']=(_0x241df4?HeightMap['empty']()['applyChanges'](this['stateDeco'],Gv['empty'],this['heightOracle'],[new ChangedRange(0x0,0x0,0x0,_0x16acdd['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x298452,0x0,_0x241df4,new MeasuredHeights(_0x3c1b48['from'],_0xecbe29));}ZA&&(_0x10afb2|=0x2);}let _0x1ec3cd=!this['viewportIsAppropriate'](this['viewport'],_0x4a60ac)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x1ec3cd&&(0x2&_0x10afb2&&(_0x10afb2|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x4a60ac,this['scrollTarget']),_0x10afb2|=this['updateForViewport']()),(0x2&_0x10afb2||_0x1ec3cd)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x241df4?[]:this['lineGaps'],_0x16acdd)),_0x10afb2|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x16acdd['docView']['enforceCursorAssoc']()),_0x10afb2;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x4ae717,_0x50acfd){let _0xe7b980=0.5-Math['max'](-0.5,Math['min'](0.5,_0x4ae717/0x3e8/0x2)),_0x26930f=this['heightMap'],_0x247f5c=this['heightOracle'],{visibleTop:_0x523415,visibleBottom:_0x5d289f}=this,_0xc657d5=new Viewport(_0x26930f['lineAt'](_0x523415-0x3e8*_0xe7b980,qA['ByHeight'],_0x247f5c,0x0,0x0)['from'],_0x26930f['lineAt'](_0x5d289f+0x3e8*(0x1-_0xe7b980),qA['ByHeight'],_0x247f5c,0x0,0x0)['to']);if(_0x50acfd){let {head:_0x3f25d6}=_0x50acfd['range'];if(_0x3f25d6<_0xc657d5['from']||_0x3f25d6>_0xc657d5['to']){let _0x21f2dc,_0x589812=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x141eaa=_0x26930f['lineAt'](_0x3f25d6,qA['ByPos'],_0x247f5c,0x0,0x0);_0x21f2dc='center'==_0x50acfd['y']?(_0x141eaa['top']+_0x141eaa['bottom'])/0x2-_0x589812/0x2:'start'==_0x50acfd['y']||'nearest'==_0x50acfd['y']&&_0x3f25d6<_0xc657d5['from']?_0x141eaa['top']:_0x141eaa['bottom']-_0x589812,_0xc657d5=new Viewport(_0x26930f['lineAt'](_0x21f2dc-0x1f4,qA['ByHeight'],_0x247f5c,0x0,0x0)['from'],_0x26930f['lineAt'](_0x21f2dc+_0x589812+0x1f4,qA['ByHeight'],_0x247f5c,0x0,0x0)['to']);}}return _0xc657d5;}['mapViewport'](_0x419f06,_0x416f6a){let _0x3f1bd7=_0x416f6a['mapPos'](_0x419f06['from'],-0x1),_0x1dfd9f=_0x416f6a['mapPos'](_0x419f06['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x3f1bd7,qA['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x1dfd9f,qA['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x445b52,to:_0x1748d4},_0x24d7bd=0x0){if(!this['inView'])return!0x0;let {top:_0x1a6897}=this['heightMap']['lineAt'](_0x445b52,qA['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x1ff5c9}=this['heightMap']['lineAt'](_0x1748d4,qA['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x5a28c7,visibleBottom:_0x2d04ec}=this;return(0x0==_0x445b52||_0x1a6897<=_0x5a28c7-Math['max'](0xa,Math['min'](-_0x24d7bd,0xfa)))&&(_0x1748d4==this['state']['doc']['length']||_0x1ff5c9>=_0x2d04ec+Math['max'](0xa,Math['min'](_0x24d7bd,0xfa)))&&_0x1a6897>_0x5a28c7-0x7d0&&_0x1ff5c9<_0x2d04ec+0x7d0;}['mapLineGaps'](_0x5f0bb0,_0x551f58){if(!_0x5f0bb0['length']||_0x551f58['empty'])return _0x5f0bb0;let _0x161af7=[];for(let _0x360041 of _0x5f0bb0)_0x551f58['touchesRange'](_0x360041['from'],_0x360041['to'])||_0x161af7['push'](new LineGap(_0x551f58['mapPos'](_0x360041['from']),_0x551f58['mapPos'](_0x360041['to']),_0x360041['size'],_0x360041['displaySize']));return _0x161af7;}['ensureLineGaps'](_0xd884d8,_0x1d7274){let _0x2dd318=this['heightOracle']['lineWrapping'],_0xec16c9=_0x2dd318?0x2710:0x7d0,_0x518a5c=_0xec16c9>>0x1,_0x32ea64=_0xec16c9<<0x1;if(this['defaultTextDirection']!=sT['LTR']&&!_0x2dd318)return[];let _0x341e48=[],_0x559b58=(_0x688416,_0x350160,_0x67a362,_0x459fac)=>{if(_0x350160-_0x688416<_0x518a5c)return;let _0xcbdc9b=this['state']['selection']['main'],_0x3ff359=[_0xcbdc9b['from']];_0xcbdc9b['empty']||_0x3ff359['push'](_0xcbdc9b['to']);for(let _0x2f3a08 of _0x3ff359)if(_0x2f3a08>_0x688416&&_0x2f3a08<_0x350160)return _0x559b58(_0x688416,_0x2f3a08-0xa,_0x67a362,_0x459fac),void _0x559b58(_0x2f3a08+0xa,_0x350160,_0x67a362,_0x459fac);let _0xc4cc8=function(_0x4d820d,_0x4d1b71){for(let _0x120354 of _0x4d820d)if(_0x4d1b71(_0x120354))return _0x120354;return;}(_0xd884d8,_0x36a52d=>_0x36a52d['from']>=_0x67a362['from']&&_0x36a52d['to']<=_0x67a362['to']&&Math['abs'](_0x36a52d['from']-_0x688416)<_0x518a5c&&Math['abs'](_0x36a52d['to']-_0x350160)<_0x518a5c&&!_0x3ff359['some'](_0x3d9ed6=>_0x36a52d['from']<_0x3d9ed6&&_0x36a52d['to']>_0x3d9ed6));if(!_0xc4cc8){if(_0x350160<_0x67a362['to']&&_0x1d7274&&_0x2dd318&&_0x1d7274['visibleRanges']['some'](_0x12171a=>_0x12171a['from']<=_0x350160&&_0x12171a['to']>=_0x350160)){let _0x24d675=_0x1d7274['moveToLineBoundary'](EditorSelection['cursor'](_0x350160),!0x1,!0x0)['head'];_0x24d675>_0x688416&&(_0x350160=_0x24d675);}let _0x39dfd1=this['gapSize'](_0x67a362,_0x688416,_0x350160,_0x459fac);_0xc4cc8=new LineGap(_0x688416,_0x350160,_0x39dfd1,_0x2dd318||_0x39dfd1<0x1e8480?_0x39dfd1:0x1e8480);}_0x341e48['push'](_0xc4cc8);},_0x3f3f90=_0x374ee0=>{if(_0x374ee0['length']<_0x32ea64||_0x374ee0['type']!=JE['Text'])return;let _0x383a4f=function(_0x369802,_0x353adb,_0x45ee50){let _0xf6ead5=[],_0x51e738=_0x369802,_0x2c2c8e=0x0;return RangeSet['spans'](_0x45ee50,_0x369802,_0x353adb,{'span'(){},'point'(_0x1da331,_0x4177e1){_0x1da331>_0x51e738&&(_0xf6ead5['push']({'from':_0x51e738,'to':_0x1da331}),_0x2c2c8e+=_0x1da331-_0x51e738),_0x51e738=_0x4177e1;}},0x14),_0x51e738<_0x353adb&&(_0xf6ead5['push']({'from':_0x51e738,'to':_0x353adb}),_0x2c2c8e+=_0x353adb-_0x51e738),{'total':_0x2c2c8e,'ranges':_0xf6ead5};}(_0x374ee0['from'],_0x374ee0['to'],this['stateDeco']);if(_0x383a4f['total']<_0x32ea64)return;let _0x1f416a,_0x6b5538,_0x426003=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x2dd318){let _0x2be6be,_0x43a98a,_0x423da5=_0xec16c9/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x426003){let _0x4c7721=eS(_0x383a4f,_0x426003),_0x3738eb=((this['visibleBottom']-this['visibleTop'])/0x2+_0x423da5)/_0x374ee0['height'];_0x2be6be=_0x4c7721-_0x3738eb,_0x43a98a=_0x4c7721+_0x3738eb;}else _0x2be6be=(this['visibleTop']-_0x374ee0['top']-_0x423da5)/_0x374ee0['height'],_0x43a98a=(this['visibleBottom']-_0x374ee0['top']+_0x423da5)/_0x374ee0['height'];_0x1f416a=tS(_0x383a4f,_0x2be6be),_0x6b5538=tS(_0x383a4f,_0x43a98a);}else{let _0x48cc9e=_0x383a4f['total']*this['heightOracle']['charWidth'],_0x42bece=_0xec16c9*this['heightOracle']['charWidth'],_0x472e33=0x0;if(_0x48cc9e>0x1e8480){for(let _0x162313 of _0xd884d8)_0x162313['from']>=_0x374ee0['from']&&_0x162313['from']<_0x374ee0['to']&&_0x162313['size']!=_0x162313['displaySize']&&_0x162313['from']*this['heightOracle']['charWidth']+_0x472e33<this['pixelViewport']['left']&&(_0x472e33=_0x162313['size']-_0x162313['displaySize']);}let _0x77c0d9,_0x36d6d4,_0x4ac7b4=this['pixelViewport']['left']+_0x472e33,_0x52b182=this['pixelViewport']['right']+_0x472e33;if(null!=_0x426003){let _0x454e88=eS(_0x383a4f,_0x426003),_0x31fcdb=((_0x52b182-_0x4ac7b4)/0x2+_0x42bece)/_0x48cc9e;_0x77c0d9=_0x454e88-_0x31fcdb,_0x36d6d4=_0x454e88+_0x31fcdb;}else _0x77c0d9=(_0x4ac7b4-_0x42bece)/_0x48cc9e,_0x36d6d4=(_0x52b182+_0x42bece)/_0x48cc9e;_0x1f416a=tS(_0x383a4f,_0x77c0d9),_0x6b5538=tS(_0x383a4f,_0x36d6d4);}_0x1f416a>_0x374ee0['from']&&_0x559b58(_0x374ee0['from'],_0x1f416a,_0x374ee0,_0x383a4f),_0x6b5538<_0x374ee0['to']&&_0x559b58(_0x6b5538,_0x374ee0['to'],_0x374ee0,_0x383a4f);};for(let _0x1e1d16 of this['viewportLines'])Array['isArray'](_0x1e1d16['type'])?_0x1e1d16['type']['forEach'](_0x3f3f90):_0x3f3f90(_0x1e1d16);return _0x341e48;}['gapSize'](_0x132fff,_0x2ea98e,_0x47527d,_0x2b9e47){let _0x129e6d=eS(_0x2b9e47,_0x47527d)-eS(_0x2b9e47,_0x2ea98e);return this['heightOracle']['lineWrapping']?_0x132fff['height']*_0x129e6d:_0x2b9e47['total']*this['heightOracle']['charWidth']*_0x129e6d;}['updateLineGaps'](_0x16c85f){LineGap['same'](_0x16c85f,this['lineGaps'])||(this['lineGaps']=_0x16c85f,this['lineGapDeco']=Decoration['set'](_0x16c85f['map'](_0xdaab5=>_0xdaab5['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x583e1f){let _0x5c4258=this['stateDeco'];this['lineGaps']['length']&&(_0x5c4258=_0x5c4258['concat'](this['lineGapDeco']));let _0xeb5d37=[];RangeSet['spans'](_0x5c4258,this['viewport']['from'],this['viewport']['to'],{'span'(_0x1a322f,_0x2e61da){_0xeb5d37['push']({'from':_0x1a322f,'to':_0x2e61da});},'point'(){}},0x14);let _0x3bba98=0x0;if(_0xeb5d37['length']!=this['visibleRanges']['length'])_0x3bba98=0xc;else for(let _0x2ce716=0x0;_0x2ce716<_0xeb5d37['length']&&!(0x8&_0x3bba98);_0x2ce716++){let _0x10d5a0=this['visibleRanges'][_0x2ce716],_0x28e8a0=_0xeb5d37[_0x2ce716];_0x10d5a0['from']==_0x28e8a0['from']&&_0x10d5a0['to']==_0x28e8a0['to']||(_0x3bba98|=0x4,_0x583e1f&&_0x583e1f['mapPos'](_0x10d5a0['from'],-0x1)==_0x28e8a0['from']&&_0x583e1f['mapPos'](_0x10d5a0['to'],0x1)==_0x28e8a0['to']||(_0x3bba98|=0x8));}return this['visibleRanges']=_0xeb5d37,_0x3bba98;}['lineBlockAt'](_0x1cfdf2){return _0x1cfdf2>=this['viewport']['from']&&_0x1cfdf2<=this['viewport']['to']&&this['viewportLines']['find'](_0x1db99f=>_0x1db99f['from']<=_0x1cfdf2&&_0x1db99f['to']>=_0x1cfdf2)||sS(this['heightMap']['lineAt'](_0x1cfdf2,qA['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x308bc8){return _0x308bc8>=this['viewportLines'][0x0]['top']&&_0x308bc8<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x319410=>_0x319410['top']<=_0x308bc8&&_0x319410['bottom']>=_0x308bc8)||sS(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x308bc8),qA['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x3f020e){let _0x54ccf2=this['lineBlockAtHeight'](_0x3f020e+0x8);return _0x54ccf2['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x3f020e>0xc8?_0x54ccf2:this['viewportLines'][0x0];}['elementAtHeight'](_0x17a260){return sS(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x17a260),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(_0x295d4c,_0x4db600){this['from']=_0x295d4c,this['to']=_0x4db600;}}function tS({total:_0x1e75c4,ranges:_0x453822},_0x5394c1){if(_0x5394c1<=0x0)return _0x453822[0x0]['from'];if(_0x5394c1>=0x1)return _0x453822[_0x453822['length']-0x1]['to'];let _0x49a61f=Math['floor'](_0x1e75c4*_0x5394c1);for(let _0x4d48aa=0x0;;_0x4d48aa++){let {from:_0x4f2b85,to:_0x291189}=_0x453822[_0x4d48aa],_0x496ed6=_0x291189-_0x4f2b85;if(_0x49a61f<=_0x496ed6)return _0x4f2b85+_0x49a61f;_0x49a61f-=_0x496ed6;}}function eS(_0x49f1e1,_0x1f5f1f){let _0x4a2ee7=0x0;for(let {from:_0x2f78e2,to:_0x3e939c}of _0x49f1e1['ranges']){if(_0x1f5f1f<=_0x3e939c){_0x4a2ee7+=_0x1f5f1f-_0x2f78e2;break;}_0x4a2ee7+=_0x3e939c-_0x2f78e2;}return _0x4a2ee7/_0x49f1e1['total'];}const iS={'toDOM':_0x3f0523=>_0x3f0523,'fromDOM':_0x5aaad1=>_0x5aaad1,'scale':0x1,'eq'(_0x56401a){return _0x56401a==this;}};class BigScaler{constructor(_0x324176,_0x15c237,_0x21507d){let _0x5b5d8e=0x0,_0x28de30=0x0,_0x1d7a96=0x0;this['viewports']=_0x21507d['map'](({from:_0x4ebfa6,to:_0xc98a3e})=>{let _0x50e0ce=_0x15c237['lineAt'](_0x4ebfa6,qA['ByPos'],_0x324176,0x0,0x0)['top'],_0x574033=_0x15c237['lineAt'](_0xc98a3e,qA['ByPos'],_0x324176,0x0,0x0)['bottom'];return _0x5b5d8e+=_0x574033-_0x50e0ce,{'from':_0x4ebfa6,'to':_0xc98a3e,'top':_0x50e0ce,'bottom':_0x574033,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x5b5d8e)/(_0x15c237['height']-_0x5b5d8e);for(let _0x35557e of this['viewports'])_0x35557e['domTop']=_0x1d7a96+(_0x35557e['top']-_0x28de30)*this['scale'],_0x1d7a96=_0x35557e['domBottom']=_0x35557e['domTop']+(_0x35557e['bottom']-_0x35557e['top']),_0x28de30=_0x35557e['bottom'];}['toDOM'](_0xe91716){for(let _0x24c327=0x0,_0xf92632=0x0,_0x4e127a=0x0;;_0x24c327++){let _0x9e63cc=_0x24c327<this['viewports']['length']?this['viewports'][_0x24c327]:null;if(!_0x9e63cc||_0xe91716<_0x9e63cc['top'])return _0x4e127a+(_0xe91716-_0xf92632)*this['scale'];if(_0xe91716<=_0x9e63cc['bottom'])return _0x9e63cc['domTop']+(_0xe91716-_0x9e63cc['top']);_0xf92632=_0x9e63cc['bottom'],_0x4e127a=_0x9e63cc['domBottom'];}}['fromDOM'](_0x55d459){for(let _0xe79865=0x0,_0x5ca066=0x0,_0x1c571d=0x0;;_0xe79865++){let _0x3e4140=_0xe79865<this['viewports']['length']?this['viewports'][_0xe79865]:null;if(!_0x3e4140||_0x55d459<_0x3e4140['domTop'])return _0x5ca066+(_0x55d459-_0x1c571d)/this['scale'];if(_0x55d459<=_0x3e4140['domBottom'])return _0x3e4140['top']+(_0x55d459-_0x3e4140['domTop']);_0x5ca066=_0x3e4140['bottom'],_0x1c571d=_0x3e4140['domBottom'];}}['eq'](_0x5dba40){return _0x5dba40 instanceof BigScaler&&(this['scale']==_0x5dba40['scale']&&this['viewports']['length']==_0x5dba40['viewports']['length']&&this['viewports']['every']((_0x1664d6,_0x2c7a0f)=>_0x1664d6['from']==_0x5dba40['viewports'][_0x2c7a0f]['from']&&_0x1664d6['to']==_0x5dba40['viewports'][_0x2c7a0f]['to']));}}function sS(_0x21432c,_0x5de8c5){if(0x1==_0x5de8c5['scale'])return _0x21432c;let _0x5d4100=_0x5de8c5['toDOM'](_0x21432c['top']),_0x37aa18=_0x5de8c5['toDOM'](_0x21432c['bottom']);return new BlockInfo(_0x21432c['from'],_0x21432c['length'],_0x5d4100,_0x37aa18-_0x5d4100,Array['isArray'](_0x21432c['_content'])?_0x21432c['_content']['map'](_0x8356f=>sS(_0x8356f,_0x5de8c5)):_0x21432c['_content']);}const nS=Facet['define']({'combine':_0x757bf6=>_0x757bf6['join']('\x20')}),rS=Facet['define']({'combine':_0x193360=>_0x193360['indexOf'](!0x0)>-0x1}),oS=StyleModule['newName'](),aS=StyleModule['newName'](),cS=StyleModule['newName'](),lS={'&light':'.'+aS,'&dark':'.'+cS};function hS(_0x47736f,_0x10e2f9,_0x3d1006){return new StyleModule(_0x10e2f9,{'finish':_0x1e7ad8=>/&/['test'](_0x1e7ad8)?_0x1e7ad8['replace'](/&\w*/,_0x570066=>{if('&'==_0x570066)return _0x47736f;if(!_0x3d1006||!_0x3d1006[_0x570066])throw new RangeError('Unsupported\x20selector:\x20'+_0x570066);return _0x3d1006[_0x570066];}):_0x47736f+'\x20'+_0x1e7ad8});}const uS=hS('.'+oS,{'&':{'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'}},lS),dS={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},fS=wE['ie']&&wE['ie_version']<=0xb;class DOMObserver{constructor(_0x25fb82){this['view']=_0x25fb82,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']=_0x25fb82['contentDOM'],this['observer']=new MutationObserver(_0x4d4ca9=>{for(let _0x39291f of _0x4d4ca9)this['queue']['push'](_0x39291f);(wE['ie']&&wE['ie_version']<=0xb||wE['ios']&&_0x25fb82['composing'])&&_0x4d4ca9['some'](_0x1fcdcd=>'childList'==_0x1fcdcd['type']&&_0x1fcdcd['removedNodes']['length']||'characterData'==_0x1fcdcd['type']&&_0x1fcdcd['oldValue']['length']>_0x1fcdcd['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!wE['android']||!0x1===_0x25fb82['constructor']['EDIT_CONTEXT']||wE['chrome']&&wE['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x25fb82),_0x25fb82['state']['facet']($T)&&(_0x25fb82['contentDOM']['editContext']=this['editContext']['editContext'])),fS&&(this['onCharData']=_0x4c4e9c=>{this['queue']['push']({'target':_0x4c4e9c['target'],'type':'characterData','oldValue':_0x4c4e9c['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 _0x3b3e04;(null===(_0x3b3e04=this['view']['docView'])||void 0x0===_0x3b3e04?void 0x0:_0x3b3e04['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x25fb82['scrollDOM'])),this['addWindowListeners'](this['win']=_0x25fb82['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x32332b=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x32332b['length']>0x0&&_0x32332b[_0x32332b['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(_0x35c0cc=>{_0x35c0cc['length']>0x0&&_0x35c0cc[_0x35c0cc['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x1e2d08){this['view']['inputState']['runHandlers']('scroll',_0x1e2d08),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x38fa56){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x38fa56);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0xc0a7e7){('change'!=_0xc0a7e7['type']&&_0xc0a7e7['type']||_0xc0a7e7['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x2ae895){if(this['gapIntersection']&&(_0x2ae895['length']!=this['gaps']['length']||this['gaps']['some']((_0x515db6,_0x32d113)=>_0x515db6!=_0x2ae895[_0x32d113]))){this['gapIntersection']['disconnect']();for(let _0x7978c1 of _0x2ae895)this['gapIntersection']['observe'](_0x7978c1);this['gaps']=_0x2ae895;}}['onSelectionChange'](_0x38223c){let _0x375887=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x8fb2f}=this,_0x215888=this['selectionRange'];if(_0x8fb2f['state']['facet']($T)?_0x8fb2f['root']['activeElement']!=this['dom']:!vE(this['dom'],_0x215888))return;let _0x1b1ec8=_0x215888['anchorNode']&&_0x8fb2f['docView']['nearest'](_0x215888['anchorNode']);_0x1b1ec8&&_0x1b1ec8['ignoreEvent'](_0x38223c)?_0x375887||(this['selectionChanged']=!0x1):(wE['ie']&&wE['ie_version']<=0xb||wE['android']&&wE['chrome'])&&!_0x8fb2f['state']['selection']['main']['empty']&&_0x215888['focusNode']&&EE(_0x215888['focusNode'],_0x215888['focusOffset'],_0x215888['anchorNode'],_0x215888['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x3a0ea8}=this,_0x3980fb=bE(_0x3a0ea8['root']);if(!_0x3980fb)return!0x1;let _0x51b980=wE['safari']&&0xb==_0x3a0ea8['root']['nodeType']&&_0x3a0ea8['root']['activeElement']==this['dom']&&function(_0x3d9903,_0x7faf6e){if(_0x7faf6e['getComposedRanges']){let _0x3f12c3=_0x7faf6e['getComposedRanges'](_0x3d9903['root'])[0x0];if(_0x3f12c3)return gS(_0x3d9903,_0x3f12c3);}let _0x1f3dfd=null;function _0x4ed766(_0x700db6){_0x700db6['preventDefault'](),_0x700db6['stopImmediatePropagation'](),_0x1f3dfd=_0x700db6['getTargetRanges']()[0x0];}return _0x3d9903['contentDOM']['addEventListener']('beforeinput',_0x4ed766,!0x0),_0x3d9903['dom']['ownerDocument']['execCommand']('indent'),_0x3d9903['contentDOM']['removeEventListener']('beforeinput',_0x4ed766,!0x0),_0x1f3dfd?gS(_0x3d9903,_0x1f3dfd):null;}(this['view'],_0x3980fb)||_0x3980fb;if(!_0x51b980||this['selectionRange']['eq'](_0x51b980))return!0x1;let _0x2af20a=vE(this['dom'],_0x51b980);return _0x2af20a&&!this['selectionChanged']&&_0x3a0ea8['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x3a0ea8['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0xb6fb76,_0x21919b){let _0x1fa0bd=_0x21919b['focusNode'],_0x578448=_0x21919b['focusOffset'];if(!_0x1fa0bd||_0x21919b['anchorNode']!=_0x1fa0bd||_0x21919b['anchorOffset']!=_0x578448)return!0x1;for(_0x578448=Math['min'](_0x578448,IE(_0x1fa0bd));;)if(_0x578448){if(0x1!=_0x1fa0bd['nodeType'])return!0x1;let _0x5d6b9b=_0x1fa0bd['childNodes'][_0x578448-0x1];'false'==_0x5d6b9b['contentEditable']?_0x578448--:(_0x1fa0bd=_0x5d6b9b,_0x578448=IE(_0x1fa0bd));}else{if(_0x1fa0bd==_0xb6fb76)return!0x0;_0x578448=TE(_0x1fa0bd),_0x1fa0bd=_0x1fa0bd['parentNode'];}}(this['dom'],_0x51b980)?(this['view']['inputState']['lastFocusTime']=0x0,_0x3a0ea8['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x51b980),_0x2af20a&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x1ca6bb,_0x5a7240){this['selectionRange']['set'](_0x1ca6bb['node'],_0x1ca6bb['offset'],_0x5a7240['node'],_0x5a7240['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x486965=0x0,_0x4809d7=null;for(let _0x2097b1=this['dom'];_0x2097b1;)if(0x1==_0x2097b1['nodeType'])!_0x4809d7&&_0x486965<this['scrollTargets']['length']&&this['scrollTargets'][_0x486965]==_0x2097b1?_0x486965++:_0x4809d7||(_0x4809d7=this['scrollTargets']['slice'](0x0,_0x486965)),_0x4809d7&&_0x4809d7['push'](_0x2097b1),_0x2097b1=_0x2097b1['assignedSlot']||_0x2097b1['parentNode'];else{if(0xb!=_0x2097b1['nodeType'])break;_0x2097b1=_0x2097b1['host'];}if(_0x486965<this['scrollTargets']['length']&&!_0x4809d7&&(_0x4809d7=this['scrollTargets']['slice'](0x0,_0x486965)),_0x4809d7){for(let _0x124840 of this['scrollTargets'])_0x124840['removeEventListener']('scroll',this['onScroll']);for(let _0x3ef636 of this['scrollTargets']=_0x4809d7)_0x3ef636['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x48ef54){if(!this['active'])return _0x48ef54();try{return this['stop'](),_0x48ef54();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],dS),fS&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),fS&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x1390ac,_0x23a57c){var _0x5019ad;if(!this['delayedAndroidKey']){let _0xec8870=()=>{let _0x398ba3=this['delayedAndroidKey'];_0x398ba3&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x398ba3['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x398ba3['force']&&LE(this['dom'],_0x398ba3['key'],_0x398ba3['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0xec8870);}this['delayedAndroidKey']&&'Enter'!=_0x1390ac||(this['delayedAndroidKey']={'key':_0x1390ac,'keyCode':_0x23a57c,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x5019ad=this['delayedAndroidKey'])||void 0x0===_0x5019ad?void 0x0:_0x5019ad['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 _0x59b833 of this['observer']['takeRecords']())this['queue']['push'](_0x59b833);return this['queue'];}['processRecords'](){let _0x2fb683=this['pendingRecords']();_0x2fb683['length']&&(this['queue']=[]);let _0x1d7a5f=-0x1,_0x50c06b=-0x1,_0x204585=!0x1;for(let _0x5106d5 of _0x2fb683){let _0x482ba2=this['readMutation'](_0x5106d5);_0x482ba2&&(_0x482ba2['typeOver']&&(_0x204585=!0x0),-0x1==_0x1d7a5f?{from:_0x1d7a5f,to:_0x50c06b}=_0x482ba2:(_0x1d7a5f=Math['min'](_0x482ba2['from'],_0x1d7a5f),_0x50c06b=Math['max'](_0x482ba2['to'],_0x50c06b)));}return{'from':_0x1d7a5f,'to':_0x50c06b,'typeOver':_0x204585};}['readChange'](){let {from:_0x14b059,to:_0x5b304d,typeOver:_0x2551a3}=this['processRecords'](),_0x4755ae=this['selectionChanged']&&vE(this['dom'],this['selectionRange']);if(_0x14b059<0x0&&!_0x4755ae)return null;_0x14b059>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x10759a=new DOMChange(this['view'],_0x14b059,_0x5b304d,_0x2551a3);return this['view']['docView']['domChanged']={'newSel':_0x10759a['newSel']?_0x10759a['newSel']['main']:null},_0x10759a;}['flush'](_0x28b760=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x28b760&&this['readSelectionRange']();let _0x405ae0=this['readChange']();if(!_0x405ae0)return this['view']['requestMeasure'](),!0x1;let _0x31b96c=this['view']['state'],_0x268f09=pA(this['view'],_0x405ae0);return this['view']['state']==_0x31b96c&&(_0x405ae0['domChanged']||_0x405ae0['newSel']&&!_0x405ae0['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x268f09;}['readMutation'](_0xc8d37c){let _0x2ff796=this['view']['docView']['nearest'](_0xc8d37c['target']);if(!_0x2ff796||_0x2ff796['ignoreMutation'](_0xc8d37c))return null;if(_0x2ff796['markDirty']('attributes'==_0xc8d37c['type']),'attributes'==_0xc8d37c['type']&&(_0x2ff796['flags']|=0x4),'childList'==_0xc8d37c['type']){let _0x512f76=mS(_0x2ff796,_0xc8d37c['previousSibling']||_0xc8d37c['target']['previousSibling'],-0x1),_0x2e76c5=mS(_0x2ff796,_0xc8d37c['nextSibling']||_0xc8d37c['target']['nextSibling'],0x1);return{'from':_0x512f76?_0x2ff796['posAfter'](_0x512f76):_0x2ff796['posAtStart'],'to':_0x2e76c5?_0x2ff796['posBefore'](_0x2e76c5):_0x2ff796['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0xc8d37c['type']?{'from':_0x2ff796['posAtStart'],'to':_0x2ff796['posAtEnd'],'typeOver':_0xc8d37c['target']['nodeValue']==_0xc8d37c['oldValue']}:null;}['setWindow'](_0x51744b){_0x51744b!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x51744b,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x3074b2){_0x3074b2['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x3074b2['addEventListener']('beforeprint',this['onPrint']),_0x3074b2['addEventListener']('scroll',this['onScroll']),_0x3074b2['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x30f268){_0x30f268['removeEventListener']('scroll',this['onScroll']),_0x30f268['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x30f268['removeEventListener']('beforeprint',this['onPrint']),_0x30f268['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x50b046){this['editContext']&&(this['editContext']['update'](_0x50b046),_0x50b046['startState']['facet']($T)!=_0x50b046['state']['facet']($T)&&(_0x50b046['view']['contentDOM']['editContext']=_0x50b046['state']['facet']($T)?this['editContext']['editContext']:null));}['destroy'](){var _0x2c4a55,_0x4ceae5,_0x24f0f7;this['stop'](),null===(_0x2c4a55=this['intersection'])||void 0x0===_0x2c4a55||_0x2c4a55['disconnect'](),null===(_0x4ceae5=this['gapIntersection'])||void 0x0===_0x4ceae5||_0x4ceae5['disconnect'](),null===(_0x24f0f7=this['resizeScroll'])||void 0x0===_0x24f0f7||_0x24f0f7['disconnect']();for(let _0x431ec3 of this['scrollTargets'])_0x431ec3['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 mS(_0x4c194e,_0x2dfedf,_0x1f63f0){for(;_0x2dfedf;){let _0x56c471=ContentView['get'](_0x2dfedf);if(_0x56c471&&_0x56c471['parent']==_0x4c194e)return _0x56c471;let _0x502c27=_0x2dfedf['parentNode'];_0x2dfedf=_0x502c27!=_0x4c194e['dom']?_0x502c27:_0x1f63f0>0x0?_0x2dfedf['nextSibling']:_0x2dfedf['previousSibling'];}return null;}function gS(_0x6ad8dd,_0x2808bb){let _0x1f8683=_0x2808bb['startContainer'],_0x2f882e=_0x2808bb['startOffset'],_0x24e856=_0x2808bb['endContainer'],_0x2162d8=_0x2808bb['endOffset'],_0x57078f=_0x6ad8dd['docView']['domAtPos'](_0x6ad8dd['state']['selection']['main']['anchor']);return EE(_0x57078f['node'],_0x57078f['offset'],_0x24e856,_0x2162d8)&&([_0x1f8683,_0x2f882e,_0x24e856,_0x2162d8]=[_0x24e856,_0x2162d8,_0x1f8683,_0x2f882e]),{'anchorNode':_0x1f8683,'anchorOffset':_0x2f882e,'focusNode':_0x24e856,'focusOffset':_0x2162d8};}class EditContextManager{constructor(_0x3ef50e){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x3ef50e['state']);let _0x266e18=this['editContext']=new window['EditContext']({'text':_0x3ef50e['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x3ef50e['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x3ef50e['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x553058=>{let _0x2e891b=_0x3ef50e['state']['selection']['main'],{anchor:_0x38ae14,head:_0x4caa49}=_0x2e891b,_0x518694=this['toEditorPos'](_0x553058['updateRangeStart']),_0x49e77d=this['toEditorPos'](_0x553058['updateRangeEnd']);_0x3ef50e['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x553058['updateRangeStart'],'editorBase':_0x518694,'drifted':!0x1});let _0x136364=_0x49e77d-_0x518694>_0x553058['text']['length'];_0x518694==this['from']&&_0x38ae14<this['from']?_0x518694=_0x38ae14:_0x49e77d==this['to']&&_0x38ae14>this['to']&&(_0x49e77d=_0x38ae14);let _0x6cd54d=wA(_0x3ef50e['state']['sliceDoc'](_0x518694,_0x49e77d),_0x553058['text'],(_0x136364?_0x2e891b['from']:_0x2e891b['to'])-_0x518694,_0x136364?'end':null);if(!_0x6cd54d){let _0x161d03=EditorSelection['single'](this['toEditorPos'](_0x553058['selectionStart']),this['toEditorPos'](_0x553058['selectionEnd']));return void(_0x161d03['main']['eq'](_0x2e891b)||_0x3ef50e['dispatch']({'selection':_0x161d03,'userEvent':'select'}));}let _0x13df4d={'from':_0x6cd54d['from']+_0x518694,'to':_0x6cd54d['toA']+_0x518694,'insert':Gv['of'](_0x553058['text']['slice'](_0x6cd54d['from'],_0x6cd54d['toB'])['split']('\x0a'))};if((wE['mac']||wE['android'])&&_0x13df4d['from']==_0x4caa49-0x1&&/^\. ?$/['test'](_0x553058['text'])&&'off'==_0x3ef50e['contentDOM']['getAttribute']('autocorrect')&&(_0x13df4d={'from':_0x518694,'to':_0x49e77d,'insert':Gv['of']([_0x553058['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x13df4d,!_0x3ef50e['state']['readOnly']){let _0x389b03=this['to']-this['from']+(_0x13df4d['to']-_0x13df4d['from']+_0x13df4d['insert']['length']);OA(_0x3ef50e,_0x13df4d,EditorSelection['single'](this['toEditorPos'](_0x553058['selectionStart'],_0x389b03),this['toEditorPos'](_0x553058['selectionEnd'],_0x389b03)));}this['pendingContextChange']&&(this['revertPending'](_0x3ef50e['state']),this['setSelection'](_0x3ef50e['state'])),_0x13df4d['from']<_0x13df4d['to']&&!_0x13df4d['insert']['length']&&_0x3ef50e['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x266e18['text']['slice'](Math['max'](0x0,_0x553058['updateRangeStart']-0x1),Math['min'](_0x266e18['text']['length'],_0x553058['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x553058);},this['handlers']['characterboundsupdate']=_0x413cab=>{let _0x31399d=[],_0x3a9c6f=null;for(let _0x2a1ad5=this['toEditorPos'](_0x413cab['rangeStart']),_0x4f238e=this['toEditorPos'](_0x413cab['rangeEnd']);_0x2a1ad5<_0x4f238e;_0x2a1ad5++){let _0x2426ed=_0x3ef50e['coordsForChar'](_0x2a1ad5);_0x3a9c6f=_0x2426ed&&new DOMRect(_0x2426ed['left'],_0x2426ed['top'],_0x2426ed['right']-_0x2426ed['left'],_0x2426ed['bottom']-_0x2426ed['top'])||_0x3a9c6f||new DOMRect(),_0x31399d['push'](_0x3a9c6f);}_0x266e18['updateCharacterBounds'](_0x413cab['rangeStart'],_0x31399d);},this['handlers']['textformatupdate']=_0x20115d=>{let _0x561e2b=[];for(let _0x267649 of _0x20115d['getTextFormats']()){let _0x107afc=_0x267649['underlineStyle'],_0x3b78f9=_0x267649['underlineThickness'];if(!/none/i['test'](_0x107afc)&&!/none/i['test'](_0x3b78f9)){let _0x40c25b=this['toEditorPos'](_0x267649['rangeStart']),_0x5d0cca=this['toEditorPos'](_0x267649['rangeEnd']);if(_0x40c25b<_0x5d0cca){let _0x2d18b4='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x107afc)?_0x107afc+'\x20':'Dashed'==_0x107afc?'dashed\x20':'Squiggle'==_0x107afc?'wavy\x20':'')+(/thin/i['test'](_0x3b78f9)?0x1:0x2)+'px';_0x561e2b['push'](Decoration['mark']({'attributes':{'style':_0x2d18b4}})['range'](_0x40c25b,_0x5d0cca));}}}_0x3ef50e['dispatch']({'effects':NT['of'](Decoration['set'](_0x561e2b))});},this['handlers']['compositionstart']=()=>{_0x3ef50e['inputState']['composing']<0x0&&(_0x3ef50e['inputState']['composing']=0x0,_0x3ef50e['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x3ef50e['inputState']['composing']=-0x1,_0x3ef50e['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0xeea134}=this['composing'];this['composing']=null,_0xeea134&&this['reset'](_0x3ef50e['state']);}};for(let _0xc3ede8 in this['handlers'])_0x266e18['addEventListener'](_0xc3ede8,this['handlers'][_0xc3ede8]);this['measureReq']={'read':_0x2383a0=>{this['editContext']['updateControlBounds'](_0x2383a0['contentDOM']['getBoundingClientRect']());let _0x3f00bc=bE(_0x2383a0['root']);_0x3f00bc&&_0x3f00bc['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x3f00bc['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x205837){let _0x2da57d=0x0,_0x59f8c7=!0x1,_0x4d602a=this['pendingContextChange'];return _0x205837['changes']['iterChanges']((_0xaf771c,_0x39cc83,_0x579712,_0x3dc622,_0x1c3f18)=>{if(_0x59f8c7)return;let _0xcc382=_0x1c3f18['length']-(_0x39cc83-_0xaf771c);if(_0x4d602a&&_0x39cc83>=_0x4d602a['to']){if(_0x4d602a['from']==_0xaf771c&&_0x4d602a['to']==_0x39cc83&&_0x4d602a['insert']['eq'](_0x1c3f18))return _0x4d602a=this['pendingContextChange']=null,_0x2da57d+=_0xcc382,void(this['to']+=_0xcc382);_0x4d602a=null,this['revertPending'](_0x205837['state']);}if(_0xaf771c+=_0x2da57d,(_0x39cc83+=_0x2da57d)<=this['from'])this['from']+=_0xcc382,this['to']+=_0xcc382;else{if(_0xaf771c<this['to']){if(_0xaf771c<this['from']||_0x39cc83>this['to']||this['to']-this['from']+_0x1c3f18['length']>0x7530)return void(_0x59f8c7=!0x0);this['editContext']['updateText'](this['toContextPos'](_0xaf771c),this['toContextPos'](_0x39cc83),_0x1c3f18['toString']()),this['to']+=_0xcc382;}}_0x2da57d+=_0xcc382;}),_0x4d602a&&!_0x59f8c7&&this['revertPending'](_0x205837['state']),!_0x59f8c7;}['update'](_0x340490){let _0x235e4e=this['pendingContextChange'],_0x27b1a3=_0x340490['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x340490['changes']['touchesRange'](_0x27b1a3['from'],_0x27b1a3['to'])&&_0x340490['transactions']['some'](_0x8e8b8a=>!_0x8e8b8a['isUserEvent']('input.type')&&_0x8e8b8a['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x340490['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x340490)&&this['rangeIsValid'](_0x340490['state'])?(_0x340490['docChanged']||_0x340490['selectionSet']||_0x235e4e)&&this['setSelection'](_0x340490['state']):(this['pendingContextChange']=null,this['reset'](_0x340490['state'])),(_0x340490['geometryChanged']||_0x340490['docChanged']||_0x340490['selectionSet'])&&_0x340490['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x370a99){let {head:_0x274352}=_0x370a99['selection']['main'];this['from']=Math['max'](0x0,_0x274352-0x2710),this['to']=Math['min'](_0x370a99['doc']['length'],_0x274352+0x2710);}['reset'](_0x22dde0){this['resetRange'](_0x22dde0),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x22dde0['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x22dde0);}['revertPending'](_0x15e7a6){let _0x382004=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x382004['from']),this['toContextPos'](_0x382004['from']+_0x382004['insert']['length']),_0x15e7a6['doc']['sliceString'](_0x382004['from'],_0x382004['to']));}['setSelection'](_0xa664b4){let {main:_0x4682e6}=_0xa664b4['selection'],_0x1e9349=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x4682e6['anchor']))),_0x53f8c0=this['toContextPos'](_0x4682e6['head']);this['editContext']['selectionStart']==_0x1e9349&&this['editContext']['selectionEnd']==_0x53f8c0||this['editContext']['updateSelection'](_0x1e9349,_0x53f8c0);}['rangeIsValid'](_0x77856a){let {head:_0x2490fb}=_0x77856a['selection']['main'];return!(this['from']>0x0&&_0x2490fb-this['from']<0x1f4||this['to']<_0x77856a['doc']['length']&&this['to']-_0x2490fb<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x189005,_0x2934e5=this['to']-this['from']){_0x189005=Math['min'](_0x189005,_0x2934e5);let _0x25bb61=this['composing'];return _0x25bb61&&_0x25bb61['drifted']?_0x25bb61['editorBase']+(_0x189005-_0x25bb61['contextBase']):_0x189005+this['from'];}['toContextPos'](_0x26b43f){let _0x12c462=this['composing'];return _0x12c462&&_0x12c462['drifted']?_0x12c462['contextBase']+(_0x26b43f-_0x12c462['editorBase']):_0x26b43f-this['from'];}['destroy'](){for(let _0xcef0b3 in this['handlers'])this['editContext']['removeEventListener'](_0xcef0b3,this['handlers'][_0xcef0b3]);}}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(_0x1ab349={}){var _0x388dbc;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']),_0x1ab349['parent']&&_0x1ab349['parent']['appendChild'](this['dom']);let {dispatch:_0x546eee}=_0x1ab349;this['dispatchTransactions']=_0x1ab349['dispatchTransactions']||_0x546eee&&(_0x51df6a=>_0x51df6a['forEach'](_0x4dfb4f=>_0x546eee(_0x4dfb4f,this)))||(_0x1dc2fa=>this['update'](_0x1dc2fa)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x1ab349['root']||function(_0x5b8ce5){for(;_0x5b8ce5;){if(_0x5b8ce5&&(0x9==_0x5b8ce5['nodeType']||0xb==_0x5b8ce5['nodeType']&&_0x5b8ce5['host']))return _0x5b8ce5;_0x5b8ce5=_0x5b8ce5['assignedSlot']||_0x5b8ce5['parentNode'];}return null;}(_0x1ab349['parent'])||document,this['viewState']=new ViewState(_0x1ab349['state']||EditorState['create'](_0x1ab349)),_0x1ab349['scrollTo']&&_0x1ab349['scrollTo']['is'](MT)&&(this['viewState']['scrollTarget']=_0x1ab349['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](QT)['map'](_0x120850=>new PluginInstance(_0x120850));for(let _0x53c7c4 of this['plugins'])_0x53c7c4['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===(_0x388dbc=document['fonts'])||void 0x0===_0x388dbc?void 0x0:_0x388dbc['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x1d7b63){let _0xf6d801=0x1==_0x1d7b63['length']&&_0x1d7b63[0x0]instanceof Transaction?_0x1d7b63:0x1==_0x1d7b63['length']&&Array['isArray'](_0x1d7b63[0x0])?_0x1d7b63[0x0]:[this['state']['update'](..._0x1d7b63)];this['dispatchTransactions'](_0xf6d801,this);}['update'](_0x303e96){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x447733,_0x1db086=!0x1,_0x165bd6=!0x1,_0xc013ce=this['state'];for(let _0x1a9135 of _0x303e96){if(_0x1a9135['startState']!=_0xc013ce)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0xc013ce=_0x1a9135['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0xc013ce);let _0x4eeff8=this['hasFocus'],_0x2a96d4=0x0,_0x2beff4=null;_0x303e96['some'](_0x4e2d0d=>_0x4e2d0d['annotation'](BA))?(this['inputState']['notifiedFocused']=_0x4eeff8,_0x2a96d4=0x1):_0x4eeff8!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x4eeff8,_0x2beff4=jA(_0xc013ce,_0x4eeff8),_0x2beff4||(_0x2a96d4=0x1));let _0x1e2a9f=this['observer']['delayedAndroidKey'],_0x3033b4=null;if(_0x1e2a9f?(this['observer']['clearDelayedAndroidKey'](),_0x3033b4=this['observer']['readChange'](),(_0x3033b4&&!this['state']['doc']['eq'](_0xc013ce['doc'])||!this['state']['selection']['eq'](_0xc013ce['selection']))&&(_0x3033b4=null)):this['observer']['clear'](),_0xc013ce['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0xc013ce);_0x447733=ViewUpdate['create'](this,_0xc013ce,_0x303e96),_0x447733['flags']|=_0x2a96d4;let _0x2c683e=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x4a7ceb of _0x303e96){if(_0x2c683e&&(_0x2c683e=_0x2c683e['map'](_0x4a7ceb['changes'])),_0x4a7ceb['scrollIntoView']){let {main:_0x1b2a8c}=_0x4a7ceb['state']['selection'];_0x2c683e=new ScrollTarget(_0x1b2a8c['empty']?_0x1b2a8c:EditorSelection['cursor'](_0x1b2a8c['head'],_0x1b2a8c['head']>_0x1b2a8c['anchor']?-0x1:0x1));}for(let _0x5e9a1b of _0x4a7ceb['effects'])_0x5e9a1b['is'](MT)&&(_0x2c683e=_0x5e9a1b['value']['clip'](this['state']));}this['viewState']['update'](_0x447733,_0x2c683e),this['bidiCache']=CachedOrder['update'](this['bidiCache'],_0x447733['changes']),_0x447733['empty']||(this['updatePlugins'](_0x447733),this['inputState']['update'](_0x447733)),_0x1db086=this['docView']['update'](_0x447733),this['state']['facet'](qT)!=this['styleModules']&&this['mountStyles'](),_0x165bd6=this['updateAttrs'](),this['showAnnouncements'](_0x303e96),this['docView']['updateSelection'](_0x1db086,_0x303e96['some'](_0x1f2e73=>_0x1f2e73['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x447733['startState']['facet'](nS)!=_0x447733['state']['facet'](nS)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x1db086||_0x165bd6||_0x2c683e||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x1db086&&this['docViewUpdate'](),!_0x447733['empty']){for(let _0x12b0b5 of this['state']['facet'](AT))try{_0x12b0b5(_0x447733);}catch(_0x289b51){LT(this['state'],_0x289b51,'update\x20listener');}}(_0x2beff4||_0x3033b4)&&Promise['resolve']()['then'](()=>{_0x2beff4&&this['state']==_0x2beff4['startState']&&this['dispatch'](_0x2beff4),_0x3033b4&&!pA(this,_0x3033b4)&&_0x1e2a9f['force']&&LE(this['contentDOM'],_0x1e2a9f['key'],_0x1e2a9f['keyCode']);});}['setState'](_0x42360b){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']=_0x42360b);this['updateState']=0x2;let _0x53af59=this['hasFocus'];try{for(let _0x40018a of this['plugins'])_0x40018a['destroy'](this);this['viewState']=new ViewState(_0x42360b),this['plugins']=_0x42360b['facet'](QT)['map'](_0x1abdd7=>new PluginInstance(_0x1abdd7)),this['pluginMap']['clear']();for(let _0x30ded5 of this['plugins'])_0x30ded5['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;}_0x53af59&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x441a3b){let _0x47ca28=_0x441a3b['startState']['facet'](QT),_0x2a4253=_0x441a3b['state']['facet'](QT);if(_0x47ca28!=_0x2a4253){let _0x321043=[];for(let _0xba6a32 of _0x2a4253){let _0x3a593b=_0x47ca28['indexOf'](_0xba6a32);if(_0x3a593b<0x0)_0x321043['push'](new PluginInstance(_0xba6a32));else{let _0x45563b=this['plugins'][_0x3a593b];_0x45563b['mustUpdate']=_0x441a3b,_0x321043['push'](_0x45563b);}}for(let _0x22b12d of this['plugins'])_0x22b12d['mustUpdate']!=_0x441a3b&&_0x22b12d['destroy'](this);this['plugins']=_0x321043,this['pluginMap']['clear']();}else{for(let _0x56b5e5 of this['plugins'])_0x56b5e5['mustUpdate']=_0x441a3b;}for(let _0x1fcd27=0x0;_0x1fcd27<this['plugins']['length'];_0x1fcd27++)this['plugins'][_0x1fcd27]['update'](this);_0x47ca28!=_0x2a4253&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x24b6fb of this['plugins']){let _0xeb2c06=_0x24b6fb['value'];if(_0xeb2c06&&_0xeb2c06['docViewUpdate'])try{_0xeb2c06['docViewUpdate'](this);}catch(_0x1e361f){LT(this['state'],_0x1e361f,'doc\x20view\x20update\x20listener');}}}['measure'](_0x4bddb3=!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,_0x4bddb3&&this['observer']['forceFlush']();let _0x5acc64=null,_0x16b08f=this['scrollDOM'],_0x2337fc=_0x16b08f['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x44851a,scrollAnchorHeight:_0xfa9fb6}=this['viewState'];Math['abs'](_0x2337fc-this['viewState']['scrollTop'])>0x1&&(_0xfa9fb6=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x129d6d=0x0;;_0x129d6d++){if(_0xfa9fb6<0x0){if(DE(_0x16b08f))_0x44851a=-0x1,_0xfa9fb6=this['viewState']['heightMap']['height'];else{let _0x33ddeb=this['viewState']['scrollAnchorAt'](_0x2337fc);_0x44851a=_0x33ddeb['from'],_0xfa9fb6=_0x33ddeb['top'];}}this['updateState']=0x1;let _0x24c334=this['viewState']['measure'](this);if(!_0x24c334&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x129d6d>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x35db5b=[];0x4&_0x24c334||([this['measureRequests'],_0x35db5b]=[_0x35db5b,this['measureRequests']]);let _0x447782=_0x35db5b['map'](_0x289e85=>{try{return _0x289e85['read'](this);}catch(_0x1e1e85){return LT(this['state'],_0x1e1e85),OS;}}),_0x19ccd2=ViewUpdate['create'](this,this['state'],[]),_0x1b80ad=!0x1;_0x19ccd2['flags']|=_0x24c334,_0x5acc64?_0x5acc64['flags']|=_0x24c334:_0x5acc64=_0x19ccd2,this['updateState']=0x2,_0x19ccd2['empty']||(this['updatePlugins'](_0x19ccd2),this['inputState']['update'](_0x19ccd2),this['updateAttrs'](),_0x1b80ad=this['docView']['update'](_0x19ccd2),_0x1b80ad&&this['docViewUpdate']());for(let _0x3babe8=0x0;_0x3babe8<_0x35db5b['length'];_0x3babe8++)if(_0x447782[_0x3babe8]!=OS)try{let _0x3acbb4=_0x35db5b[_0x3babe8];_0x3acbb4['write']&&_0x3acbb4['write'](_0x447782[_0x3babe8],this);}catch(_0x2115c1){LT(this['state'],_0x2115c1);}if(_0x1b80ad&&this['docView']['updateSelection'](!0x0),!_0x19ccd2['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0xfa9fb6=-0x1;continue;}{let _0x2c7544=(_0x44851a<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x44851a)['top'])-_0xfa9fb6;if(_0x2c7544>0x1||_0x2c7544<-0x1){_0x2337fc+=_0x2c7544,_0x16b08f['scrollTop']=_0x2337fc/this['scaleY'],_0xfa9fb6=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x5acc64&&!_0x5acc64['empty']){for(let _0x22c290 of this['state']['facet'](AT))_0x22c290(_0x5acc64);}}get['themeClasses'](){return oS+'\x20'+(this['state']['facet'](rS)?cS:aS)+'\x20'+this['state']['facet'](nS);}['updateAttrs'](){let _0x1c489a=wS(this,VT,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x390051={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet']($T)?'true':'false','class':'cm-content','style':wE['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x390051['aria-readonly']='true'),wS(this,UT,_0x390051);let _0x503849=this['observer']['ignore'](()=>{let _0x4483e8=YE(this['contentDOM'],this['contentAttrs'],_0x390051),_0x25d357=YE(this['dom'],this['editorAttrs'],_0x1c489a);return _0x4483e8||_0x25d357;});return this['editorAttrs']=_0x1c489a,this['contentAttrs']=_0x390051,_0x503849;}['showAnnouncements'](_0x5673e2){let _0x587a93=!0x0;for(let _0x42d0b8 of _0x5673e2)for(let _0x531f26 of _0x42d0b8['effects'])_0x531f26['is'](EditorView['announce'])&&(_0x587a93&&(this['announceDOM']['textContent']=''),_0x587a93=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x531f26['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](qT);let _0x5ed3ca=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](uS)['reverse'](),_0x5ed3ca?{'nonce':_0x5ed3ca}: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'](_0x205e3b){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x205e3b){if(this['measureRequests']['indexOf'](_0x205e3b)>-0x1)return;if(null!=_0x205e3b['key']){for(let _0x312491=0x0;_0x312491<this['measureRequests']['length'];_0x312491++)if(this['measureRequests'][_0x312491]['key']===_0x205e3b['key'])return void(this['measureRequests'][_0x312491]=_0x205e3b);}this['measureRequests']['push'](_0x205e3b);}}['plugin'](_0x17548e){let _0x3b58a1=this['pluginMap']['get'](_0x17548e);return(void 0x0===_0x3b58a1||_0x3b58a1&&_0x3b58a1['plugin']!=_0x17548e)&&this['pluginMap']['set'](_0x17548e,_0x3b58a1=this['plugins']['find'](_0x182566=>_0x182566['plugin']==_0x17548e)||null),_0x3b58a1&&_0x3b58a1['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'](_0x4b1355){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x4b1355);}['lineBlockAtHeight'](_0x5084c2){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x5084c2);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x1db1be){return this['viewState']['lineBlockAt'](_0x1db1be);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0xd40520,_0x1c6f0d,_0x3c3895){return dA(this,_0xd40520,lA(this,_0xd40520,_0x1c6f0d,_0x3c3895));}['moveByGroup'](_0x5b7fd1,_0x2ac57b){return dA(this,_0x5b7fd1,lA(this,_0x5b7fd1,_0x2ac57b,_0x357cdb=>function(_0x1cf33c,_0x57f326,_0x3ac6f1){let _0xf6604d=_0x1cf33c['state']['charCategorizer'](_0x57f326),_0x4341ad=_0xf6604d(_0x3ac6f1);return _0x475f95=>{let _0x45c401=_0xf6604d(_0x475f95);return _0x4341ad==L_['Space']&&(_0x4341ad=_0x45c401),_0x4341ad==_0x45c401;};}(this,_0x5b7fd1['head'],_0x357cdb)));}['visualLineSide'](_0x3941db,_0x3b261b){let _0xe2c68d=this['bidiSpans'](_0x3941db),_0x1058d0=this['textDirectionAt'](_0x3941db['from']),_0x10d199=_0xe2c68d[_0x3b261b?_0xe2c68d['length']-0x1:0x0];return EditorSelection['cursor'](_0x10d199['side'](_0x3b261b,_0x1058d0)+_0x3941db['from'],_0x10d199['forward'](!_0x3b261b,_0x1058d0)?0x1:-0x1);}['moveToLineBoundary'](_0x374a83,_0x4fca86,_0x2f3b8d=!0x0){return function(_0x13efe3,_0x311c1b,_0x43c213,_0xa7b7c1){let _0x1590a7=cA(_0x13efe3,_0x311c1b['head'],_0x311c1b['assoc']||-0x1),_0x3a2e2=_0xa7b7c1&&_0x1590a7['type']==JE['Text']&&(_0x13efe3['lineWrapping']||_0x1590a7['widgetLineBreaks'])?_0x13efe3['coordsAtPos'](_0x311c1b['assoc']<0x0&&_0x311c1b['head']>_0x1590a7['from']?_0x311c1b['head']-0x1:_0x311c1b['head']):null;if(_0x3a2e2){let _0x3e4cd5=_0x13efe3['dom']['getBoundingClientRect'](),_0x56ced3=_0x13efe3['textDirectionAt'](_0x1590a7['from']),_0x38eb8a=_0x13efe3['posAtCoords']({'x':_0x43c213==(_0x56ced3==sT['LTR'])?_0x3e4cd5['right']-0x1:_0x3e4cd5['left']+0x1,'y':(_0x3a2e2['top']+_0x3a2e2['bottom'])/0x2});if(null!=_0x38eb8a)return EditorSelection['cursor'](_0x38eb8a,_0x43c213?-0x1:0x1);}return EditorSelection['cursor'](_0x43c213?_0x1590a7['to']:_0x1590a7['from'],_0x43c213?-0x1:0x1);}(this,_0x374a83,_0x4fca86,_0x2f3b8d);}['moveVertically'](_0x5d11e1,_0x9ea3c0,_0x88994f){return dA(this,_0x5d11e1,function(_0xc1e290,_0x346bc3,_0x53ca35,_0x5a6c81){let _0x425818=_0x346bc3['head'],_0x5aaf78=_0x53ca35?0x1:-0x1;if(_0x425818==(_0x53ca35?_0xc1e290['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x425818,_0x346bc3['assoc']);let _0x1d72d0,_0x5d56e3=_0x346bc3['goalColumn'],_0x493f60=_0xc1e290['contentDOM']['getBoundingClientRect'](),_0x5b9b16=_0xc1e290['coordsAtPos'](_0x425818,_0x346bc3['assoc']||-0x1),_0x2fa931=_0xc1e290['documentTop'];if(_0x5b9b16)null==_0x5d56e3&&(_0x5d56e3=_0x5b9b16['left']-_0x493f60['left']),_0x1d72d0=_0x5aaf78<0x0?_0x5b9b16['top']:_0x5b9b16['bottom'];else{let _0x453792=_0xc1e290['viewState']['lineBlockAt'](_0x425818);null==_0x5d56e3&&(_0x5d56e3=Math['min'](_0x493f60['right']-_0x493f60['left'],_0xc1e290['defaultCharacterWidth']*(_0x425818-_0x453792['from']))),_0x1d72d0=(_0x5aaf78<0x0?_0x453792['top']:_0x453792['bottom'])+_0x2fa931;}let _0x3dc72e=_0x493f60['left']+_0x5d56e3,_0xb8367a=null!=_0x5a6c81?_0x5a6c81:_0xc1e290['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x47f578=0x0;;_0x47f578+=0xa){let _0x2f2417=_0x1d72d0+(_0xb8367a+_0x47f578)*_0x5aaf78,_0x448a49=rA(_0xc1e290,{'x':_0x3dc72e,'y':_0x2f2417},!0x1,_0x5aaf78);if(_0x2f2417<_0x493f60['top']||_0x2f2417>_0x493f60['bottom']||(_0x5aaf78<0x0?_0x448a49<_0x425818:_0x448a49>_0x425818)){let _0x477d83=_0xc1e290['docView']['coordsForChar'](_0x448a49),_0x5aadd7=!_0x477d83||_0x2f2417<_0x477d83['top']?-0x1:0x1;return EditorSelection['cursor'](_0x448a49,_0x5aadd7,void 0x0,_0x5d56e3);}}}(this,_0x5d11e1,_0x9ea3c0,_0x88994f));}['domAtPos'](_0x3d5aec){return this['docView']['domAtPos'](_0x3d5aec);}['posAtDOM'](_0x47ce2c,_0x8af634=0x0){return this['docView']['posFromDOM'](_0x47ce2c,_0x8af634);}['posAtCoords'](_0x177951,_0xba2089=!0x0){return this['readMeasured'](),rA(this,_0x177951,_0xba2089);}['coordsAtPos'](_0x26e240,_0x28db14=0x1){this['readMeasured']();let _0x25cc6c=this['docView']['coordsAt'](_0x26e240,_0x28db14);if(!_0x25cc6c||_0x25cc6c['left']==_0x25cc6c['right'])return _0x25cc6c;let _0x38037c=this['state']['doc']['lineAt'](_0x26e240),_0x5e67c9=this['bidiSpans'](_0x38037c);return CE(_0x25cc6c,_0x5e67c9[BidiSpan['find'](_0x5e67c9,_0x26e240-_0x38037c['from'],-0x1,_0x28db14)]['dir']==sT['LTR']==_0x28db14>0x0);}['coordsForChar'](_0x231527){return this['readMeasured'](),this['docView']['coordsForChar'](_0x231527);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x51cb00){return!this['state']['facet'](xT)||_0x51cb00<this['viewport']['from']||_0x51cb00>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x51cb00));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x18bc99){if(_0x18bc99['length']>pS)return OT(_0x18bc99['length']);let _0x110638,_0x2da01f=this['textDirectionAt'](_0x18bc99['from']);for(let _0x2d0412 of this['bidiCache'])if(_0x2d0412['from']==_0x18bc99['from']&&_0x2d0412['dir']==_0x2da01f&&(_0x2d0412['fresh']||fT(_0x2d0412['isolates'],_0x110638=GT(this,_0x18bc99))))return _0x2d0412['order'];_0x110638||(_0x110638=GT(this,_0x18bc99));let _0x33529f=function(_0x515f91,_0x57d6d2,_0x1385df){if(!_0x515f91)return[new BidiSpan(0x0,0x0,_0x57d6d2==rT?0x1:0x0)];if(_0x57d6d2==nT&&!_0x1385df['length']&&!dT['test'](_0x515f91))return OT(_0x515f91['length']);if(_0x1385df['length']){for(;_0x515f91['length']>mT['length'];)mT[mT['length']]=0x100;}let _0x2c347d=[],_0x4caefe=_0x57d6d2==nT?0x0:0x1;return pT(_0x515f91,_0x4caefe,_0x4caefe,_0x1385df,0x0,_0x515f91['length'],_0x2c347d),_0x2c347d;}(_0x18bc99['text'],_0x2da01f,_0x110638);return this['bidiCache']['push'](new CachedOrder(_0x18bc99['from'],_0x18bc99['to'],_0x2da01f,_0x110638,!0x0,_0x33529f)),_0x33529f;}get['hasFocus'](){var _0x414a15;return(this['dom']['ownerDocument']['hasFocus']()||wE['safari']&&(null===(_0x414a15=this['inputState'])||void 0x0===_0x414a15?void 0x0:_0x414a15['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{ME(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x5518e2){this['_root']!=_0x5518e2&&(this['_root']=_0x5518e2,this['observer']['setWindow']((0x9==_0x5518e2['nodeType']?_0x5518e2:_0x5518e2['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x18546d of this['plugins'])_0x18546d['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'](_0x443dae,_0x58a26c={}){return MT['of'](new ScrollTarget('number'==typeof _0x443dae?EditorSelection['cursor'](_0x443dae):_0x443dae,_0x58a26c['y'],_0x58a26c['x'],_0x58a26c['yMargin'],_0x58a26c['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x1a10fd,scrollLeft:_0x589bb6}=this['scrollDOM'],_0x4386ea=this['viewState']['scrollAnchorAt'](_0x1a10fd);return MT['of'](new ScrollTarget(EditorSelection['cursor'](_0x4386ea['from']),'start','start',_0x4386ea['top']-_0x1a10fd,_0x589bb6,!0x0));}['setTabFocusMode'](_0x3824a2){null==_0x3824a2?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x3824a2?this['inputState']['tabFocusMode']=_0x3824a2?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x3824a2);}static['domEventHandlers'](_0x5fc9dd){return ViewPlugin['define'](()=>({}),{'eventHandlers':_0x5fc9dd});}static['domEventObservers'](_0x1b41e3){return ViewPlugin['define'](()=>({}),{'eventObservers':_0x1b41e3});}static['theme'](_0x1d89a0,_0x33f6ca){let _0x547346=StyleModule['newName'](),_0x1d9ab9=[nS['of'](_0x547346),qT['of'](hS('.'+_0x547346,_0x1d89a0))];return _0x33f6ca&&_0x33f6ca['dark']&&_0x1d9ab9['push'](rS['of'](!0x0)),_0x1d9ab9;}static['baseTheme'](_0x468832){return b_['lowest'](qT['of'](hS('.'+oS,_0x468832,lS)));}static['findFromDOM'](_0x523e25){var _0x582b15;let _0x4941d2=_0x523e25['querySelector']('.cm-content'),_0x38ce68=_0x4941d2&&ContentView['get'](_0x4941d2)||ContentView['get'](_0x523e25);return(null===(_0x582b15=null==_0x38ce68?void 0x0:_0x38ce68['rootView'])||void 0x0===_0x582b15?void 0x0:_0x582b15['view'])||null;}}EditorView['styleModule']=qT,EditorView['inputHandler']=ST,EditorView['clipboardInputFilter']=CT,EditorView['clipboardOutputFilter']=kT,EditorView['scrollHandler']=PT,EditorView['focusChangeEffect']=IT,EditorView['perLineTextDirection']=xT,EditorView['exceptionSink']=TT,EditorView['updateListener']=AT,EditorView['editable']=$T,EditorView['mouseSelectionStyle']=ET,EditorView['dragMovesSelection']=_T,EditorView['clickAddsSelectionRange']=vT,EditorView['decorations']=BT,EditorView['outerDecorations']=jT,EditorView['atomicRanges']=FT,EditorView['bidiIsolatedRanges']=HT,EditorView['scrollMargins']=ZT,EditorView['darkTheme']=rS,EditorView['cspNonce']=Facet['define']({'combine':_0x38ea94=>_0x38ea94['length']?_0x38ea94[0x0]:''}),EditorView['contentAttributes']=UT,EditorView['editorAttributes']=VT,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const pS=0x1000,OS={};class CachedOrder{constructor(_0x4c8028,_0x284432,_0x326c58,_0x3ebe5e,_0x198e72,_0x43f850){this['from']=_0x4c8028,this['to']=_0x284432,this['dir']=_0x326c58,this['isolates']=_0x3ebe5e,this['fresh']=_0x198e72,this['order']=_0x43f850;}static['update'](_0x412729,_0x11700c){if(_0x11700c['empty']&&!_0x412729['some'](_0x16e4ee=>_0x16e4ee['fresh']))return _0x412729;let _0x22c79f=[],_0x3edb89=_0x412729['length']?_0x412729[_0x412729['length']-0x1]['dir']:sT['LTR'];for(let _0x24f62c=Math['max'](0x0,_0x412729['length']-0xa);_0x24f62c<_0x412729['length'];_0x24f62c++){let _0x3df7e2=_0x412729[_0x24f62c];_0x3df7e2['dir']!=_0x3edb89||_0x11700c['touchesRange'](_0x3df7e2['from'],_0x3df7e2['to'])||_0x22c79f['push'](new CachedOrder(_0x11700c['mapPos'](_0x3df7e2['from'],0x1),_0x11700c['mapPos'](_0x3df7e2['to'],-0x1),_0x3df7e2['dir'],_0x3df7e2['isolates'],!0x1,_0x3df7e2['order']));}return _0x22c79f;}}function wS(_0x3d1ca8,_0x19bad0,_0x4df3af){for(let _0x1aad42=_0x3d1ca8['state']['facet'](_0x19bad0),_0x22a18b=_0x1aad42['length']-0x1;_0x22a18b>=0x0;_0x22a18b--){let _0x32354b=_0x1aad42[_0x22a18b],_0x429609='function'==typeof _0x32354b?_0x32354b(_0x3d1ca8):_0x32354b;_0x429609&&qE(_0x429609,_0x4df3af);}return _0x4df3af;}const bS=wE['mac']?'mac':wE['windows']?'win':wE['linux']?'linux':'key';function yS(_0x45959a,_0x9c9551,_0x375dec){return _0x9c9551['altKey']&&(_0x45959a='Alt-'+_0x45959a),_0x9c9551['ctrlKey']&&(_0x45959a='Ctrl-'+_0x45959a),_0x9c9551['metaKey']&&(_0x45959a='Meta-'+_0x45959a),!0x1!==_0x375dec&&_0x9c9551['shiftKey']&&(_0x45959a='Shift-'+_0x45959a),_0x45959a;}const vS=b_['default'](EditorView['domEventHandlers']({'keydown':(_0x402ed6,_0x47de57)=>function(_0x315be0,_0x51d607,_0x369241,_0x9a832a){SS=_0x51d607;let _0x28ff31=function(_0x5a2230){var _0x3040ce=!(sE&&_0x5a2230['metaKey']&&_0x5a2230['shiftKey']&&!_0x5a2230['ctrlKey']&&!_0x5a2230['altKey']||nE&&_0x5a2230['shiftKey']&&_0x5a2230['key']&&0x1==_0x5a2230['key']['length']||'Unidentified'==_0x5a2230['key'])&&_0x5a2230['key']||(_0x5a2230['shiftKey']?iE:eE)[_0x5a2230['keyCode']]||_0x5a2230['key']||'Unidentified';return'Esc'==_0x3040ce&&(_0x3040ce='Escape'),'Del'==_0x3040ce&&(_0x3040ce='Delete'),'Left'==_0x3040ce&&(_0x3040ce='ArrowLeft'),'Up'==_0x3040ce&&(_0x3040ce='ArrowUp'),'Right'==_0x3040ce&&(_0x3040ce='ArrowRight'),'Down'==_0x3040ce&&(_0x3040ce='ArrowDown'),_0x3040ce;}(_0x51d607),_0x2038c6=Yv(_0x28ff31,0x0),_0x5a8ac0=Jv(_0x2038c6)==_0x28ff31['length']&&'\x20'!=_0x28ff31,_0x3c2f33='',_0x147bbc=!0x1,_0xde03a5=!0x1,_0x1f5c04=!0x1;TS&&TS['view']==_0x369241&&TS['scope']==_0x9a832a&&(_0x3c2f33=TS['prefix']+'\x20',EA['indexOf'](_0x51d607['keyCode'])<0x0&&(_0xde03a5=!0x0,TS=null));let _0x4fffd4,_0x1dde75,_0xa504a8=new Set(),_0x4d9979=_0x1ad857=>{if(_0x1ad857){for(let _0x2c36bb of _0x1ad857['run'])if(!_0xa504a8['has'](_0x2c36bb)&&(_0xa504a8['add'](_0x2c36bb),_0x2c36bb(_0x369241)))return _0x1ad857['stopPropagation']&&(_0x1f5c04=!0x0),!0x0;_0x1ad857['preventDefault']&&(_0x1ad857['stopPropagation']&&(_0x1f5c04=!0x0),_0xde03a5=!0x0);}return!0x1;},_0x301a3e=_0x315be0[_0x9a832a];return _0x301a3e&&(_0x4d9979(_0x301a3e[_0x3c2f33+yS(_0x28ff31,_0x51d607,!_0x5a8ac0)])?_0x147bbc=!0x0:!_0x5a8ac0||!(_0x51d607['altKey']||_0x51d607['metaKey']||_0x51d607['ctrlKey'])||wE['windows']&&_0x51d607['ctrlKey']&&_0x51d607['altKey']||wE['mac']&&_0x51d607['altKey']&&!_0x51d607['ctrlKey']&&!_0x51d607['metaKey']||!(_0x4fffd4=eE[_0x51d607['keyCode']])||_0x4fffd4==_0x28ff31?_0x5a8ac0&&_0x51d607['shiftKey']&&_0x4d9979(_0x301a3e[_0x3c2f33+yS(_0x28ff31,_0x51d607,!0x0)])&&(_0x147bbc=!0x0):(_0x4d9979(_0x301a3e[_0x3c2f33+yS(_0x4fffd4,_0x51d607,!0x0)])||_0x51d607['shiftKey']&&(_0x1dde75=iE[_0x51d607['keyCode']])!=_0x28ff31&&_0x1dde75!=_0x4fffd4&&_0x4d9979(_0x301a3e[_0x3c2f33+yS(_0x1dde75,_0x51d607,!0x1)]))&&(_0x147bbc=!0x0),!_0x147bbc&&_0x4d9979(_0x301a3e['_any'])&&(_0x147bbc=!0x0)),_0xde03a5&&(_0x147bbc=!0x0),_0x147bbc&&_0x1f5c04&&_0x51d607['stopPropagation'](),(SS=null,_0x147bbc);}(function(_0x3d5bb7){let _0x18b581=_0x3d5bb7['facet'](_S),_0x374b54=ES['get'](_0x18b581);return _0x374b54||ES['set'](_0x18b581,_0x374b54=function(_0x255d82,_0x3e5aa6=bS){let _0x54db52=Object['create'](null),_0x117d39=Object['create'](null),_0x4b7eb7=(_0x2ad961,_0x5f32ba)=>{let _0x223a06=_0x117d39[_0x2ad961];if(null==_0x223a06)_0x117d39[_0x2ad961]=_0x5f32ba;else{if(_0x223a06!=_0x5f32ba)throw new Error('Key\x20binding\x20'+_0x2ad961+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x13426c=(_0x5d8f77,_0x582eff,_0x2286de,_0x1fdef7,_0x1abc1c)=>{var _0x44088c,_0x3085e7;let _0x4781d1=_0x54db52[_0x5d8f77]||(_0x54db52[_0x5d8f77]=Object['create'](null)),_0x376cca=_0x582eff['split'](/ (?!$)/)['map'](_0x32fbe2=>function(_0x41ebde,_0x595202){const _0xca17f5=_0x41ebde['split'](/-(?!$)/);let _0x3c5fa3,_0x299a53,_0x4e3cbf,_0x273f4f,_0x475250=_0xca17f5[_0xca17f5['length']-0x1];'Space'==_0x475250&&(_0x475250='\x20');for(let _0x4a3eea=0x0;_0x4a3eea<_0xca17f5['length']-0x1;++_0x4a3eea){const _0x1beef3=_0xca17f5[_0x4a3eea];if(/^(cmd|meta|m)$/i['test'](_0x1beef3))_0x273f4f=!0x0;else{if(/^a(lt)?$/i['test'](_0x1beef3))_0x3c5fa3=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x1beef3))_0x299a53=!0x0;else{if(/^s(hift)?$/i['test'](_0x1beef3))_0x4e3cbf=!0x0;else{if(!/^mod$/i['test'](_0x1beef3))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x1beef3);'mac'==_0x595202?_0x273f4f=!0x0:_0x299a53=!0x0;}}}}}return _0x3c5fa3&&(_0x475250='Alt-'+_0x475250),_0x299a53&&(_0x475250='Ctrl-'+_0x475250),_0x273f4f&&(_0x475250='Meta-'+_0x475250),_0x4e3cbf&&(_0x475250='Shift-'+_0x475250),_0x475250;}(_0x32fbe2,_0x3e5aa6));for(let _0x5238f8=0x1;_0x5238f8<_0x376cca['length'];_0x5238f8++){let _0x450e78=_0x376cca['slice'](0x0,_0x5238f8)['join']('\x20');_0x4b7eb7(_0x450e78,!0x0),_0x4781d1[_0x450e78]||(_0x4781d1[_0x450e78]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x5eaf34=>{let _0x595d69=TS={'view':_0x5eaf34,'prefix':_0x450e78,'scope':_0x5d8f77};return setTimeout(()=>{TS==_0x595d69&&(TS=null);},AS),!0x0;}]});}let _0x63fe71=_0x376cca['join']('\x20');_0x4b7eb7(_0x63fe71,!0x1);let _0x4a6c3a=_0x4781d1[_0x63fe71]||(_0x4781d1[_0x63fe71]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x3085e7=null===(_0x44088c=_0x4781d1['_any'])||void 0x0===_0x44088c?void 0x0:_0x44088c['run'])||void 0x0===_0x3085e7?void 0x0:_0x3085e7['slice']())||[]});_0x2286de&&_0x4a6c3a['run']['push'](_0x2286de),_0x1fdef7&&(_0x4a6c3a['preventDefault']=!0x0),_0x1abc1c&&(_0x4a6c3a['stopPropagation']=!0x0);};for(let _0x570aab of _0x255d82){let _0x5ce965=_0x570aab['scope']?_0x570aab['scope']['split']('\x20'):['editor'];if(_0x570aab['any'])for(let _0x277f0a of _0x5ce965){let _0x53e5c4=_0x54db52[_0x277f0a]||(_0x54db52[_0x277f0a]=Object['create'](null));_0x53e5c4['_any']||(_0x53e5c4['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x20d9dc}=_0x570aab;for(let _0x233e24 in _0x53e5c4)_0x53e5c4[_0x233e24]['run']['push'](_0x6db0da=>_0x20d9dc(_0x6db0da,SS));}let _0xc9b5f=_0x570aab[_0x3e5aa6]||_0x570aab['key'];if(_0xc9b5f){for(let _0x138d83 of _0x5ce965)_0x13426c(_0x138d83,_0xc9b5f,_0x570aab['run'],_0x570aab['preventDefault'],_0x570aab['stopPropagation']),_0x570aab['shift']&&_0x13426c(_0x138d83,'Shift-'+_0xc9b5f,_0x570aab['shift'],_0x570aab['preventDefault'],_0x570aab['stopPropagation']);}}return _0x54db52;}(_0x18b581['reduce']((_0x221aac,_0x58fc16)=>_0x221aac['concat'](_0x58fc16),[]))),_0x374b54;}(_0x47de57['state']),_0x402ed6,_0x47de57,'editor')})),_S=Facet['define']({'enables':vS}),ES=new WeakMap();let TS=null;const AS=0xfa0;let SS=null;class RectangleMarker{constructor(_0x3169e0,_0xc11622,_0x499e84,_0x2b6e2d,_0x5e5037){this['className']=_0x3169e0,this['left']=_0xc11622,this['top']=_0x499e84,this['width']=_0x2b6e2d,this['height']=_0x5e5037;}['draw'](){let _0x513239=document['createElement']('div');return _0x513239['className']=this['className'],this['adjust'](_0x513239),_0x513239;}['update'](_0x202d47,_0x5acf5e){return _0x5acf5e['className']==this['className']&&(this['adjust'](_0x202d47),!0x0);}['adjust'](_0x431bf6){_0x431bf6['style']['left']=this['left']+'px',_0x431bf6['style']['top']=this['top']+'px',null!=this['width']&&(_0x431bf6['style']['width']=this['width']+'px'),_0x431bf6['style']['height']=this['height']+'px';}['eq'](_0x326a13){return this['left']==_0x326a13['left']&&this['top']==_0x326a13['top']&&this['width']==_0x326a13['width']&&this['height']==_0x326a13['height']&&this['className']==_0x326a13['className'];}static['forRange'](_0x2bc5bc,_0x1d743d,_0x377ab4){if(_0x377ab4['empty']){let _0x210bd8=_0x2bc5bc['coordsAtPos'](_0x377ab4['head'],_0x377ab4['assoc']||0x1);if(!_0x210bd8)return[];let _0x5dfe0b=IS(_0x2bc5bc);return[new RectangleMarker(_0x1d743d,_0x210bd8['left']-_0x5dfe0b['left'],_0x210bd8['top']-_0x5dfe0b['top'],null,_0x210bd8['bottom']-_0x210bd8['top'])];}return function(_0x2dae69,_0xd510ce,_0x53cab1){if(_0x53cab1['to']<=_0x2dae69['viewport']['from']||_0x53cab1['from']>=_0x2dae69['viewport']['to'])return[];let _0xa9546e=Math['max'](_0x53cab1['from'],_0x2dae69['viewport']['from']),_0x4b88cb=Math['min'](_0x53cab1['to'],_0x2dae69['viewport']['to']),_0x1b16f3=_0x2dae69['textDirection']==sT['LTR'],_0x392732=_0x2dae69['contentDOM'],_0x5d574c=_0x392732['getBoundingClientRect'](),_0x23ef2c=IS(_0x2dae69),_0x4167dc=_0x392732['querySelector']('.cm-line'),_0x3da882=_0x4167dc&&window['getComputedStyle'](_0x4167dc),_0xd4fa49=_0x5d574c['left']+(_0x3da882?parseInt(_0x3da882['paddingLeft'])+Math['min'](0x0,parseInt(_0x3da882['textIndent'])):0x0),_0x366cc9=_0x5d574c['right']-(_0x3da882?parseInt(_0x3da882['paddingRight']):0x0),_0x21aec3=cA(_0x2dae69,_0xa9546e,0x1),_0x10ba7e=cA(_0x2dae69,_0x4b88cb,-0x1),_0x4b8904=_0x21aec3['type']==JE['Text']?_0x21aec3:null,_0x13381c=_0x10ba7e['type']==JE['Text']?_0x10ba7e:null;_0x4b8904&&(_0x2dae69['lineWrapping']||_0x21aec3['widgetLineBreaks'])&&(_0x4b8904=CS(_0x2dae69,_0xa9546e,0x1,_0x4b8904)),_0x13381c&&(_0x2dae69['lineWrapping']||_0x10ba7e['widgetLineBreaks'])&&(_0x13381c=CS(_0x2dae69,_0x4b88cb,-0x1,_0x13381c));if(_0x4b8904&&_0x13381c&&_0x4b8904['from']==_0x13381c['from']&&_0x4b8904['to']==_0x13381c['to'])return _0x8cc971(_0x1f6a1f(_0x53cab1['from'],_0x53cab1['to'],_0x4b8904));{let _0x56d6cb=_0x4b8904?_0x1f6a1f(_0x53cab1['from'],null,_0x4b8904):_0x3690(_0x21aec3,!0x1),_0x151bd7=_0x13381c?_0x1f6a1f(null,_0x53cab1['to'],_0x13381c):_0x3690(_0x10ba7e,!0x0),_0x1404f1=[];return(_0x4b8904||_0x21aec3)['to']<(_0x13381c||_0x10ba7e)['from']-(_0x4b8904&&_0x13381c?0x1:0x0)||_0x21aec3['widgetLineBreaks']>0x1&&_0x56d6cb['bottom']+_0x2dae69['defaultLineHeight']/0x2<_0x151bd7['top']?_0x1404f1['push'](_0x4305a5(_0xd4fa49,_0x56d6cb['bottom'],_0x366cc9,_0x151bd7['top'])):_0x56d6cb['bottom']<_0x151bd7['top']&&_0x2dae69['elementAtHeight']((_0x56d6cb['bottom']+_0x151bd7['top'])/0x2)['type']==JE['Text']&&(_0x56d6cb['bottom']=_0x151bd7['top']=(_0x56d6cb['bottom']+_0x151bd7['top'])/0x2),_0x8cc971(_0x56d6cb)['concat'](_0x1404f1)['concat'](_0x8cc971(_0x151bd7));}function _0x4305a5(_0x266f38,_0x3d6fa6,_0x569544,_0x4d657a){return new RectangleMarker(_0xd510ce,_0x266f38-_0x23ef2c['left'],_0x3d6fa6-_0x23ef2c['top'],_0x569544-_0x266f38,_0x4d657a-_0x3d6fa6);}function _0x8cc971({top:_0x22b32d,bottom:_0x33cea4,horizontal:_0x124dc2}){let _0x399c60=[];for(let _0x1b40ea=0x0;_0x1b40ea<_0x124dc2['length'];_0x1b40ea+=0x2)_0x399c60['push'](_0x4305a5(_0x124dc2[_0x1b40ea],_0x22b32d,_0x124dc2[_0x1b40ea+0x1],_0x33cea4));return _0x399c60;}function _0x1f6a1f(_0x340829,_0x327ca5,_0x501eac){let _0x33dbd6=0x3b9aca00,_0x18de60=-0x3b9aca00,_0x220332=[];function _0x4c65d6(_0x2b9d63,_0x13dea1,_0x218994,_0x23151f,_0x95d321){let _0x5e1c84=_0x2dae69['coordsAtPos'](_0x2b9d63,_0x2b9d63==_0x501eac['to']?-0x2:0x2),_0x5634cd=_0x2dae69['coordsAtPos'](_0x218994,_0x218994==_0x501eac['from']?0x2:-0x2);_0x5e1c84&&_0x5634cd&&(_0x33dbd6=Math['min'](_0x5e1c84['top'],_0x5634cd['top'],_0x33dbd6),_0x18de60=Math['max'](_0x5e1c84['bottom'],_0x5634cd['bottom'],_0x18de60),_0x95d321==sT['LTR']?_0x220332['push'](_0x1b16f3&&_0x13dea1?_0xd4fa49:_0x5e1c84['left'],_0x1b16f3&&_0x23151f?_0x366cc9:_0x5634cd['right']):_0x220332['push'](!_0x1b16f3&&_0x23151f?_0xd4fa49:_0x5634cd['left'],!_0x1b16f3&&_0x13dea1?_0x366cc9:_0x5e1c84['right']));}let _0x2169d8=null!=_0x340829?_0x340829:_0x501eac['from'],_0x2c0fd2=null!=_0x327ca5?_0x327ca5:_0x501eac['to'];for(let _0x5bab57 of _0x2dae69['visibleRanges'])if(_0x5bab57['to']>_0x2169d8&&_0x5bab57['from']<_0x2c0fd2)for(let _0x9da400=Math['max'](_0x5bab57['from'],_0x2169d8),_0x2a33c5=Math['min'](_0x5bab57['to'],_0x2c0fd2);;){let _0x413cf1=_0x2dae69['state']['doc']['lineAt'](_0x9da400);for(let _0x1e16e5 of _0x2dae69['bidiSpans'](_0x413cf1)){let _0x98e56a=_0x1e16e5['from']+_0x413cf1['from'],_0x6c00f8=_0x1e16e5['to']+_0x413cf1['from'];if(_0x98e56a>=_0x2a33c5)break;_0x6c00f8>_0x9da400&&_0x4c65d6(Math['max'](_0x98e56a,_0x9da400),null==_0x340829&&_0x98e56a<=_0x2169d8,Math['min'](_0x6c00f8,_0x2a33c5),null==_0x327ca5&&_0x6c00f8>=_0x2c0fd2,_0x1e16e5['dir']);}if(_0x9da400=_0x413cf1['to']+0x1,_0x9da400>=_0x2a33c5)break;}return 0x0==_0x220332['length']&&_0x4c65d6(_0x2169d8,null==_0x340829,_0x2c0fd2,null==_0x327ca5,_0x2dae69['textDirection']),{'top':_0x33dbd6,'bottom':_0x18de60,'horizontal':_0x220332};}function _0x3690(_0x4ba1f8,_0x393b58){let _0x1d73d0=_0x5d574c['top']+(_0x393b58?_0x4ba1f8['top']:_0x4ba1f8['bottom']);return{'top':_0x1d73d0,'bottom':_0x1d73d0,'horizontal':[]};}}(_0x2bc5bc,_0x1d743d,_0x377ab4);}}function IS(_0x4a64e0){let _0x297e5d=_0x4a64e0['scrollDOM']['getBoundingClientRect']();return{'left':(_0x4a64e0['textDirection']==sT['LTR']?_0x297e5d['left']:_0x297e5d['right']-_0x4a64e0['scrollDOM']['clientWidth']*_0x4a64e0['scaleX'])-_0x4a64e0['scrollDOM']['scrollLeft']*_0x4a64e0['scaleX'],'top':_0x297e5d['top']-_0x4a64e0['scrollDOM']['scrollTop']*_0x4a64e0['scaleY']};}function CS(_0x332fa3,_0x512aa4,_0x41b717,_0x12266e){let _0x54ad68=_0x332fa3['coordsAtPos'](_0x512aa4,0x2*_0x41b717);if(!_0x54ad68)return _0x12266e;let _0x16b072=_0x332fa3['dom']['getBoundingClientRect'](),_0x410720=(_0x54ad68['top']+_0x54ad68['bottom'])/0x2,_0x788ded=_0x332fa3['posAtCoords']({'x':_0x16b072['left']+0x1,'y':_0x410720}),_0x1e4690=_0x332fa3['posAtCoords']({'x':_0x16b072['right']-0x1,'y':_0x410720});return null==_0x788ded||null==_0x1e4690?_0x12266e:{'from':Math['max'](_0x12266e['from'],Math['min'](_0x788ded,_0x1e4690)),'to':Math['min'](_0x12266e['to'],Math['max'](_0x788ded,_0x1e4690))};}class LayerView{constructor(_0x1a60eb,_0xeb8343){this['view']=_0x1a60eb,this['layer']=_0xeb8343,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x1a60eb['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0xeb8343['above']&&this['dom']['classList']['add']('cm-layer-above'),_0xeb8343['class']&&this['dom']['classList']['add'](_0xeb8343['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x1a60eb['state']),_0x1a60eb['requestMeasure'](this['measureReq']),_0xeb8343['mount']&&_0xeb8343['mount'](this['dom'],_0x1a60eb);}['update'](_0x2c40eb){_0x2c40eb['startState']['facet'](kS)!=_0x2c40eb['state']['facet'](kS)&&this['setOrder'](_0x2c40eb['state']),(this['layer']['update'](_0x2c40eb,this['dom'])||_0x2c40eb['geometryChanged'])&&(this['scale'](),_0x2c40eb['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0xb7bcb6){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0xb7bcb6['requestMeasure'](this['measureReq']);}['setOrder'](_0x515fc6){let _0x546543=0x0,_0x3349fc=_0x515fc6['facet'](kS);for(;_0x546543<_0x3349fc['length']&&_0x3349fc[_0x546543]!=this['layer'];)_0x546543++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x546543);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x152bbb,scaleY:_0x3df0f9}=this['view'];_0x152bbb==this['scaleX']&&_0x3df0f9==this['scaleY']||(this['scaleX']=_0x152bbb,this['scaleY']=_0x3df0f9,this['dom']['style']['transform']='scale('+0x1/_0x152bbb+',\x20'+0x1/_0x3df0f9+')');}['draw'](_0x4deccd){if(_0x4deccd['length']!=this['drawn']['length']||_0x4deccd['some']((_0x39461a,_0x21ebdf)=>{return _0x7c4a70=_0x39461a,_0x27e561=this['drawn'][_0x21ebdf],!(_0x7c4a70['constructor']==_0x27e561['constructor']&&_0x7c4a70['eq'](_0x27e561));var _0x7c4a70,_0x27e561;})){let _0x3e1d50=this['dom']['firstChild'],_0x32fd04=0x0;for(let _0x4e7ac0 of _0x4deccd)_0x4e7ac0['update']&&_0x3e1d50&&_0x4e7ac0['constructor']&&this['drawn'][_0x32fd04]['constructor']&&_0x4e7ac0['update'](_0x3e1d50,this['drawn'][_0x32fd04])?(_0x3e1d50=_0x3e1d50['nextSibling'],_0x32fd04++):this['dom']['insertBefore'](_0x4e7ac0['draw'](),_0x3e1d50);for(;_0x3e1d50;){let _0x150e7b=_0x3e1d50['nextSibling'];_0x3e1d50['remove'](),_0x3e1d50=_0x150e7b;}this['drawn']=_0x4deccd,wE['safari']&&wE['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 kS=Facet['define']();function xS(_0x1325b5){return[ViewPlugin['define'](_0x501322=>new LayerView(_0x501322,_0x1325b5)),kS['of'](_0x1325b5)];}const RS=Facet['define']({'combine':_0x30fa70=>V_(_0x30fa70,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x2e6223,_0x420067)=>Math['min'](_0x2e6223,_0x420067),'drawRangeCursor':(_0x19a783,_0x236f8b)=>_0x19a783||_0x236f8b})});function PS(_0x13691a={}){return[RS['of'](_0x13691a),NS,$S,DS,RT['of'](!0x0)];}function MS(_0x46b556){return _0x46b556['startState']['facet'](RS)!=_0x46b556['state']['facet'](RS);}const NS=xS({'above':!0x0,'markers'(_0x381bd3){let {state:_0x24361b}=_0x381bd3,_0x3bed8d=_0x24361b['facet'](RS),_0x19f988=[];for(let _0x29f5cf of _0x24361b['selection']['ranges']){let _0x8b6ecb=_0x29f5cf==_0x24361b['selection']['main'];if(_0x29f5cf['empty']||_0x3bed8d['drawRangeCursor']){let _0x1535a0=_0x8b6ecb?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x55178d=_0x29f5cf['empty']?_0x29f5cf:EditorSelection['cursor'](_0x29f5cf['head'],_0x29f5cf['head']>_0x29f5cf['anchor']?-0x1:0x1);for(let _0x2ad1a1 of RectangleMarker['forRange'](_0x381bd3,_0x1535a0,_0x55178d))_0x19f988['push'](_0x2ad1a1);}}return _0x19f988;},'update'(_0x373a9e,_0x14306d){_0x373a9e['transactions']['some'](_0x5d2531=>_0x5d2531['selection'])&&(_0x14306d['style']['animationName']='cm-blink'==_0x14306d['style']['animationName']?'cm-blink2':'cm-blink');let _0x442ecc=MS(_0x373a9e);return _0x442ecc&&LS(_0x373a9e['state'],_0x14306d),_0x373a9e['docChanged']||_0x373a9e['selectionSet']||_0x442ecc;},'mount'(_0x2d9d51,_0x1102b1){LS(_0x1102b1['state'],_0x2d9d51);},'class':'cm-cursorLayer'});function LS(_0x3bc17b,_0x3555e7){_0x3555e7['style']['animationDuration']=_0x3bc17b['facet'](RS)['cursorBlinkRate']+'ms';}const $S=xS({'above':!0x1,'markers':_0x128b25=>_0x128b25['state']['selection']['ranges']['map'](_0x3d3c1c=>_0x3d3c1c['empty']?[]:RectangleMarker['forRange'](_0x128b25,'cm-selectionBackground',_0x3d3c1c))['reduce']((_0x5d12bd,_0x333685)=>_0x5d12bd['concat'](_0x333685)),'update':(_0x3c740a,_0x1c2223)=>_0x3c740a['docChanged']||_0x3c740a['selectionSet']||_0x3c740a['viewportChanged']||MS(_0x3c740a),'class':'cm-selectionLayer'}),DS=b_['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'}}}})),QS=StateEffect['define']({'map':(_0x2b6d01,_0x168e39)=>null==_0x2b6d01?null:_0x168e39['mapPos'](_0x2b6d01)}),VS=StateField['define']({'create':()=>null,'update':(_0x53df4d,_0x55892d)=>(null!=_0x53df4d&&(_0x53df4d=_0x55892d['changes']['mapPos'](_0x53df4d)),_0x55892d['effects']['reduce']((_0x48b2b5,_0x57d4d8)=>_0x57d4d8['is'](QS)?_0x57d4d8['value']:_0x48b2b5,_0x53df4d))}),US=ViewPlugin['fromClass'](class{constructor(_0x1f9e2f){this['view']=_0x1f9e2f,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x59f8e7){var _0x467c64;let _0x197ab6=_0x59f8e7['state']['field'](VS);null==_0x197ab6?null!=this['cursor']&&(null===(_0x467c64=this['cursor'])||void 0x0===_0x467c64||_0x467c64['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x59f8e7['startState']['field'](VS)!=_0x197ab6||_0x59f8e7['docChanged']||_0x59f8e7['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x3d535b}=this,_0x77cdf1=_0x3d535b['state']['field'](VS),_0x323394=null!=_0x77cdf1&&_0x3d535b['coordsAtPos'](_0x77cdf1);if(!_0x323394)return null;let _0x2a9514=_0x3d535b['scrollDOM']['getBoundingClientRect']();return{'left':_0x323394['left']-_0x2a9514['left']+_0x3d535b['scrollDOM']['scrollLeft']*_0x3d535b['scaleX'],'top':_0x323394['top']-_0x2a9514['top']+_0x3d535b['scrollDOM']['scrollTop']*_0x3d535b['scaleY'],'height':_0x323394['bottom']-_0x323394['top']};}['drawCursor'](_0x18c911){if(this['cursor']){let {scaleX:_0x1dbea8,scaleY:_0x2ec618}=this['view'];_0x18c911?(this['cursor']['style']['left']=_0x18c911['left']/_0x1dbea8+'px',this['cursor']['style']['top']=_0x18c911['top']/_0x2ec618+'px',this['cursor']['style']['height']=_0x18c911['height']/_0x2ec618+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x41afdc){this['view']['state']['field'](VS)!=_0x41afdc&&this['view']['dispatch']({'effects':QS['of'](_0x41afdc)});}},{'eventObservers':{'dragover'(_0x1dab5c){this['setDropPos'](this['view']['posAtCoords']({'x':_0x1dab5c['clientX'],'y':_0x1dab5c['clientY']}));},'dragleave'(_0x27be67){_0x27be67['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x27be67['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function BS(){return[VS,US];}function jS(_0x7148cf,_0x56c9ac,_0x4baf9e,_0xda5c09,_0x458f6b){_0x56c9ac['lastIndex']=0x0;for(let _0x26220a,_0x408242=_0x7148cf['iterRange'](_0x4baf9e,_0xda5c09),_0x5f48b1=_0x4baf9e;!_0x408242['next']()['done'];_0x5f48b1+=_0x408242['value']['length'])if(!_0x408242['lineBreak']){for(;_0x26220a=_0x56c9ac['exec'](_0x408242['value']);)_0x458f6b(_0x5f48b1+_0x26220a['index'],_0x26220a);}}class MatchDecorator{constructor(_0x367bff){const {regexp:_0x475d61,decoration:_0x86e928,decorate:_0x3ba12d,boundary:_0x3643ca,maxLength:_0x5be1bf=0x3e8}=_0x367bff;if(!_0x475d61['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x475d61,_0x3ba12d)this['addMatch']=(_0x35c1e6,_0x591e94,_0x38c321,_0x577f44)=>_0x3ba12d(_0x577f44,_0x38c321,_0x38c321+_0x35c1e6[0x0]['length'],_0x35c1e6,_0x591e94);else{if('function'==typeof _0x86e928)this['addMatch']=(_0x12ac5e,_0x4a145e,_0x38d890,_0x57f9e2)=>{let _0x5d8389=_0x86e928(_0x12ac5e,_0x4a145e,_0x38d890);_0x5d8389&&_0x57f9e2(_0x38d890,_0x38d890+_0x12ac5e[0x0]['length'],_0x5d8389);};else{if(!_0x86e928)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x380d31,_0x27f5a9,_0x508877,_0x7e509f)=>_0x7e509f(_0x508877,_0x508877+_0x380d31[0x0]['length'],_0x86e928);}}this['boundary']=_0x3643ca,this['maxLength']=_0x5be1bf;}['createDeco'](_0x33f977){let _0x2cdc6f=new RangeSetBuilder(),_0x5cc355=_0x2cdc6f['add']['bind'](_0x2cdc6f);for(let {from:_0x14e77a,to:_0x401a2a}of function(_0x460fc9,_0x54ef51){let _0x5eec59=_0x460fc9['visibleRanges'];if(0x1==_0x5eec59['length']&&_0x5eec59[0x0]['from']==_0x460fc9['viewport']['from']&&_0x5eec59[0x0]['to']==_0x460fc9['viewport']['to'])return _0x5eec59;let _0x361673=[];for(let {from:_0x4fe107,to:_0x4d56c5}of _0x5eec59)_0x4fe107=Math['max'](_0x460fc9['state']['doc']['lineAt'](_0x4fe107)['from'],_0x4fe107-_0x54ef51),_0x4d56c5=Math['min'](_0x460fc9['state']['doc']['lineAt'](_0x4d56c5)['to'],_0x4d56c5+_0x54ef51),_0x361673['length']&&_0x361673[_0x361673['length']-0x1]['to']>=_0x4fe107?_0x361673[_0x361673['length']-0x1]['to']=_0x4d56c5:_0x361673['push']({'from':_0x4fe107,'to':_0x4d56c5});return _0x361673;}(_0x33f977,this['maxLength']))jS(_0x33f977['state']['doc'],this['regexp'],_0x14e77a,_0x401a2a,(_0x1d4609,_0x1ab835)=>this['addMatch'](_0x1ab835,_0x33f977,_0x1d4609,_0x5cc355));return _0x2cdc6f['finish']();}['updateDeco'](_0x408ec5,_0x12cda6){let _0x51b04e=0x3b9aca00,_0x5d2bbd=-0x1;return _0x408ec5['docChanged']&&_0x408ec5['changes']['iterChanges']((_0xedf32a,_0x37a3d1,_0x4219e1,_0x5ed72c)=>{_0x5ed72c>=_0x408ec5['view']['viewport']['from']&&_0x4219e1<=_0x408ec5['view']['viewport']['to']&&(_0x51b04e=Math['min'](_0x4219e1,_0x51b04e),_0x5d2bbd=Math['max'](_0x5ed72c,_0x5d2bbd));}),_0x408ec5['viewportMoved']||_0x5d2bbd-_0x51b04e>0x3e8?this['createDeco'](_0x408ec5['view']):_0x5d2bbd>-0x1?this['updateRange'](_0x408ec5['view'],_0x12cda6['map'](_0x408ec5['changes']),_0x51b04e,_0x5d2bbd):_0x12cda6;}['updateRange'](_0x1b3016,_0x4cc9e6,_0x3bbc35,_0x3e5a58){for(let _0x4aa9bf of _0x1b3016['visibleRanges']){let _0x424d6b=Math['max'](_0x4aa9bf['from'],_0x3bbc35),_0x1f79dd=Math['min'](_0x4aa9bf['to'],_0x3e5a58);if(_0x1f79dd>=_0x424d6b){let _0x16d087=_0x1b3016['state']['doc']['lineAt'](_0x424d6b),_0x3bc8ee=_0x16d087['to']<_0x1f79dd?_0x1b3016['state']['doc']['lineAt'](_0x1f79dd):_0x16d087,_0x41f8ba=Math['max'](_0x4aa9bf['from'],_0x16d087['from']),_0x505384=Math['min'](_0x4aa9bf['to'],_0x3bc8ee['to']);if(this['boundary']){for(;_0x424d6b>_0x16d087['from'];_0x424d6b--)if(this['boundary']['test'](_0x16d087['text'][_0x424d6b-0x1-_0x16d087['from']])){_0x41f8ba=_0x424d6b;break;}for(;_0x1f79dd<_0x3bc8ee['to'];_0x1f79dd++)if(this['boundary']['test'](_0x3bc8ee['text'][_0x1f79dd-_0x3bc8ee['from']])){_0x505384=_0x1f79dd;break;}}let _0x4bffdd,_0x43f8ae=[],_0x2c322a=(_0x10df76,_0x173813,_0x1e2361)=>_0x43f8ae['push'](_0x1e2361['range'](_0x10df76,_0x173813));if(_0x16d087==_0x3bc8ee){for(this['regexp']['lastIndex']=_0x41f8ba-_0x16d087['from'];(_0x4bffdd=this['regexp']['exec'](_0x16d087['text']))&&_0x4bffdd['index']<_0x505384-_0x16d087['from'];)this['addMatch'](_0x4bffdd,_0x1b3016,_0x4bffdd['index']+_0x16d087['from'],_0x2c322a);}else jS(_0x1b3016['state']['doc'],this['regexp'],_0x41f8ba,_0x505384,(_0xb49c23,_0x374e0a)=>this['addMatch'](_0x374e0a,_0x1b3016,_0xb49c23,_0x2c322a));_0x4cc9e6=_0x4cc9e6['update']({'filterFrom':_0x41f8ba,'filterTo':_0x505384,'filter':(_0x1a7f53,_0x2a6083)=>_0x1a7f53<_0x41f8ba||_0x2a6083>_0x505384,'add':_0x43f8ae});}}return _0x4cc9e6;}}const FS=null!=/x/['unicode']?'gu':'g',HS=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',FS),GS={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 ZS=null;const XS=Facet['define']({'combine'(_0x4f4f58){let _0x13d7ce=V_(_0x4f4f58,{'render':null,'specialChars':HS,'addSpecialChars':null});return(_0x13d7ce['replaceTabs']=!(function(){var _0x51e7e0;if(null==ZS&&'undefined'!=typeof document&&document['body']){let _0x39065c=document['body']['style'];ZS=null!=(null!==(_0x51e7e0=_0x39065c['tabSize'])&&void 0x0!==_0x51e7e0?_0x51e7e0:_0x39065c['MozTabSize']);}return ZS||!0x1;}()))&&(_0x13d7ce['specialChars']=new RegExp('\x09|'+_0x13d7ce['specialChars']['source'],FS)),_0x13d7ce['addSpecialChars']&&(_0x13d7ce['specialChars']=new RegExp(_0x13d7ce['specialChars']['source']+'|'+_0x13d7ce['addSpecialChars']['source'],FS)),_0x13d7ce;}});function qS(_0x21821f={}){return[XS['of'](_0x21821f),zS||(zS=ViewPlugin['fromClass'](class{constructor(_0x13424d){this['view']=_0x13424d,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x13424d['state']['facet'](XS)),this['decorations']=this['decorator']['createDeco'](_0x13424d);}['makeDecorator'](_0x45e18d){return new MatchDecorator({'regexp':_0x45e18d['specialChars'],'decoration':(_0xc8a851,_0x4bfb8c,_0x41b3a3)=>{let {doc:_0x52b2f8}=_0x4bfb8c['state'],_0x50b0a9=Yv(_0xc8a851[0x0],0x0);if(0x9==_0x50b0a9){let _0xfb5982=_0x52b2f8['lineAt'](_0x41b3a3),_0x3baf9e=_0x4bfb8c['state']['tabSize'],_0x4d81ba=W_(_0xfb5982['text'],_0x3baf9e,_0x41b3a3-_0xfb5982['from']);return Decoration['replace']({'widget':new TabWidget((_0x3baf9e-_0x4d81ba%_0x3baf9e)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x50b0a9]||(this['decorationCache'][_0x50b0a9]=Decoration['replace']({'widget':new SpecialCharWidget(_0x45e18d,_0x50b0a9)}));},'boundary':_0x45e18d['replaceTabs']?void 0x0:/[^]/});}['update'](_0x20d0ca){let _0x1f5394=_0x20d0ca['state']['facet'](XS);_0x20d0ca['startState']['facet'](XS)!=_0x1f5394?(this['decorator']=this['makeDecorator'](_0x1f5394),this['decorations']=this['decorator']['createDeco'](_0x20d0ca['view'])):this['decorations']=this['decorator']['updateDeco'](_0x20d0ca,this['decorations']);}},{'decorations':_0x3c54df=>_0x3c54df['decorations']}))];}let zS=null;class SpecialCharWidget extends WidgetType{constructor(_0x2c4d50,_0x3ce2a9){super(),this['options']=_0x2c4d50,this['code']=_0x3ce2a9;}['eq'](_0x106ecf){return _0x106ecf['code']==this['code'];}['toDOM'](_0x589041){let _0x5d906a=function(_0x2ea58d){return _0x2ea58d>=0x20?'•':0xa==_0x2ea58d?'␤':String['fromCharCode'](0x2400+_0x2ea58d);}(this['code']),_0x2fc6fa=_0x589041['state']['phrase']('Control\x20character')+'\x20'+(GS[this['code']]||'0x'+this['code']['toString'](0x10)),_0x19088b=this['options']['render']&&this['options']['render'](this['code'],_0x2fc6fa,_0x5d906a);if(_0x19088b)return _0x19088b;let _0x201f8d=document['createElement']('span');return _0x201f8d['textContent']=_0x5d906a,_0x201f8d['title']=_0x2fc6fa,_0x201f8d['setAttribute']('aria-label',_0x2fc6fa),_0x201f8d['className']='cm-specialChar',_0x201f8d;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x3e3219){super(),this['width']=_0x3e3219;}['eq'](_0x497dfa){return _0x497dfa['width']==this['width'];}['toDOM'](){let _0x583f28=document['createElement']('span');return _0x583f28['textContent']='\x09',_0x583f28['className']='cm-tab',_0x583f28['style']['width']=this['width']+'px',_0x583f28;}['ignoreEvent'](){return!0x1;}}function YS(){return JS;}const KS=Decoration['line']({'class':'cm-activeLine'}),JS=ViewPlugin['fromClass'](class{constructor(_0x408243){this['decorations']=this['getDeco'](_0x408243);}['update'](_0xd340ef){(_0xd340ef['docChanged']||_0xd340ef['selectionSet'])&&(this['decorations']=this['getDeco'](_0xd340ef['view']));}['getDeco'](_0x493749){let _0x9e87cb=-0x1,_0x3e5ec6=[];for(let _0x1a3d6f of _0x493749['state']['selection']['ranges']){let _0x55437a=_0x493749['lineBlockAt'](_0x1a3d6f['head']);_0x55437a['from']>_0x9e87cb&&(_0x3e5ec6['push'](KS['range'](_0x55437a['from'])),_0x9e87cb=_0x55437a['from']);}return Decoration['set'](_0x3e5ec6);}},{'decorations':_0x57fd9a=>_0x57fd9a['decorations']}),tI=0x7d0;function eI(_0x20f63f,_0x4dd66f){let _0x386643=_0x20f63f['posAtCoords']({'x':_0x4dd66f['clientX'],'y':_0x4dd66f['clientY']},!0x1),_0x37e736=_0x20f63f['state']['doc']['lineAt'](_0x386643),_0x2f9552=_0x386643-_0x37e736['from'],_0x3436dd=_0x2f9552>tI?-0x1:_0x2f9552==_0x37e736['length']?function(_0xa03bcd,_0xfb7695){let _0x2b2318=_0xa03bcd['coordsAtPos'](_0xa03bcd['viewport']['from']);return _0x2b2318?Math['round'](Math['abs']((_0x2b2318['left']-_0xfb7695)/_0xa03bcd['defaultCharacterWidth'])):-0x1;}(_0x20f63f,_0x4dd66f['clientX']):W_(_0x37e736['text'],_0x20f63f['state']['tabSize'],_0x386643-_0x37e736['from']);return{'line':_0x37e736['number'],'col':_0x3436dd,'off':_0x2f9552};}function iI(_0x381b95,_0x2890c6){let _0x38cc71=eI(_0x381b95,_0x2890c6),_0x53f292=_0x381b95['state']['selection'];return _0x38cc71?{'update'(_0x13c9dd){if(_0x13c9dd['docChanged']){let _0x43300f=_0x13c9dd['changes']['mapPos'](_0x13c9dd['startState']['doc']['line'](_0x38cc71['line'])['from']),_0x5e3027=_0x13c9dd['state']['doc']['lineAt'](_0x43300f);_0x38cc71={'line':_0x5e3027['number'],'col':_0x38cc71['col'],'off':Math['min'](_0x38cc71['off'],_0x5e3027['length'])},_0x53f292=_0x53f292['map'](_0x13c9dd['changes']);}},'get'(_0x1af9fc,_0x17653a,_0xb2a199){let _0x5930ef=eI(_0x381b95,_0x1af9fc);if(!_0x5930ef)return _0x53f292;let _0x67132d=function(_0x4551e3,_0xc3084d,_0x101a24){let _0x15de4d=Math['min'](_0xc3084d['line'],_0x101a24['line']),_0x36d4f1=Math['max'](_0xc3084d['line'],_0x101a24['line']),_0x1957f8=[];if(_0xc3084d['off']>tI||_0x101a24['off']>tI||_0xc3084d['col']<0x0||_0x101a24['col']<0x0){let _0xf18ad7=Math['min'](_0xc3084d['off'],_0x101a24['off']),_0x164554=Math['max'](_0xc3084d['off'],_0x101a24['off']);for(let _0x59cbdf=_0x15de4d;_0x59cbdf<=_0x36d4f1;_0x59cbdf++){let _0x3561ff=_0x4551e3['doc']['line'](_0x59cbdf);_0x3561ff['length']<=_0x164554&&_0x1957f8['push'](EditorSelection['range'](_0x3561ff['from']+_0xf18ad7,_0x3561ff['to']+_0x164554));}}else{let _0xf2b513=Math['min'](_0xc3084d['col'],_0x101a24['col']),_0x103e2e=Math['max'](_0xc3084d['col'],_0x101a24['col']);for(let _0x226185=_0x15de4d;_0x226185<=_0x36d4f1;_0x226185++){let _0x34c3f8=_0x4551e3['doc']['line'](_0x226185),_0x564532=z_(_0x34c3f8['text'],_0xf2b513,_0x4551e3['tabSize'],!0x0);if(_0x564532<0x0)_0x1957f8['push'](EditorSelection['cursor'](_0x34c3f8['to']));else{let _0x39042e=z_(_0x34c3f8['text'],_0x103e2e,_0x4551e3['tabSize']);_0x1957f8['push'](EditorSelection['range'](_0x34c3f8['from']+_0x564532,_0x34c3f8['from']+_0x39042e));}}}return _0x1957f8;}(_0x381b95['state'],_0x38cc71,_0x5930ef);return _0x67132d['length']?_0xb2a199?EditorSelection['create'](_0x67132d['concat'](_0x53f292['ranges'])):EditorSelection['create'](_0x67132d):_0x53f292;}}:null;}function sI(_0x231c39){return EditorView['mouseSelectionStyle']['of']((_0x5f58be,_0x1c63d0)=>{return(_0x54eaa2=_0x1c63d0)['altKey']&&0x0==_0x54eaa2['button']?iI(_0x5f58be,_0x1c63d0):null;var _0x54eaa2;});}const nI={'Alt':[0x12,_0x1da837=>!!_0x1da837['altKey']],'Control':[0x11,_0xfc1150=>!!_0xfc1150['ctrlKey']],'Shift':[0x10,_0x3dc860=>!!_0x3dc860['shiftKey']],'Meta':[0x5b,_0x1f6298=>!!_0x1f6298['metaKey']]},rI={'style':'cursor:\x20crosshair'};function oI(_0x31376e={}){let [_0x3234fd,_0x4cc399]=nI[_0x31376e['key']||'Alt'],_0x54cb36=ViewPlugin['fromClass'](class{constructor(_0x2d559e){this['view']=_0x2d559e,this['isDown']=!0x1;}['set'](_0x10821f){this['isDown']!=_0x10821f&&(this['isDown']=_0x10821f,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x404860){this['set'](_0x404860['keyCode']==_0x3234fd||_0x4cc399(_0x404860));},'keyup'(_0x21662d){_0x21662d['keyCode']!=_0x3234fd&&_0x4cc399(_0x21662d)||this['set'](!0x1);},'mousemove'(_0x540ea0){this['set'](_0x4cc399(_0x540ea0));}}});return[_0x54cb36,EditorView['contentAttributes']['of'](_0x326ad6=>{var _0x194616;return(null===(_0x194616=_0x326ad6['plugin'](_0x54cb36))||void 0x0===_0x194616?void 0x0:_0x194616['isDown'])?rI:null;})];}const aI='-10000px';class TooltipViewManager{constructor(_0x25c842,_0x58e623,_0x1b008a,_0x36edfb){this['facet']=_0x58e623,this['createTooltipView']=_0x1b008a,this['removeTooltipView']=_0x36edfb,this['input']=_0x25c842['state']['facet'](_0x58e623),this['tooltips']=this['input']['filter'](t=>t);let _0x21b5cc=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x21b5cc=_0x1b008a(t,_0x21b5cc));}['update'](_0x590c2e,_0x316c11){var _0x2bafed;let _0x8994cb=_0x590c2e['state']['facet'](this['facet']),_0x31fecb=_0x8994cb['filter'](_0x279b51=>_0x279b51);if(_0x8994cb===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x590c2e);return!0x1;}let _0x38f9df=[],_0xe0c6a2=_0x316c11?[]:null;for(let _0x20e17b=0x0;_0x20e17b<_0x31fecb['length'];_0x20e17b++){let _0x5e2c01=_0x31fecb[_0x20e17b],_0x4e2d53=-0x1;if(_0x5e2c01){for(let _0x34faa5=0x0;_0x34faa5<this['tooltips']['length'];_0x34faa5++){let _0x49c43c=this['tooltips'][_0x34faa5];_0x49c43c&&_0x49c43c['create']==_0x5e2c01['create']&&(_0x4e2d53=_0x34faa5);}if(_0x4e2d53<0x0)_0x38f9df[_0x20e17b]=this['createTooltipView'](_0x5e2c01,_0x20e17b?_0x38f9df[_0x20e17b-0x1]:null),_0xe0c6a2&&(_0xe0c6a2[_0x20e17b]=!!_0x5e2c01['above']);else{let _0x26ba69=_0x38f9df[_0x20e17b]=this['tooltipViews'][_0x4e2d53];_0xe0c6a2&&(_0xe0c6a2[_0x20e17b]=_0x316c11[_0x4e2d53]),_0x26ba69['update']&&_0x26ba69['update'](_0x590c2e);}}}for(let t of this['tooltipViews'])_0x38f9df['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x2bafed=t['destroy'])||void 0x0===_0x2bafed||_0x2bafed['call'](t));return _0x316c11&&(_0xe0c6a2['forEach']((_0x1fa884,_0x302803)=>_0x316c11[_0x302803]=_0x1fa884),_0x316c11['length']=_0xe0c6a2['length']),this['input']=_0x8994cb,this['tooltips']=_0x31fecb,this['tooltipViews']=_0x38f9df,!0x0;}}function cI(_0x3acebe){let _0x4eb043=_0x3acebe['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x4eb043['clientHeight'],'right':_0x4eb043['clientWidth']};}const lI=Facet['define']({'combine':_0x17c94b=>{var _0x2237a1,_0x248a8b,_0x1b13b0;return{'position':wE['ios']?'absolute':(null===(_0x2237a1=_0x17c94b['find'](_0x3b257e=>_0x3b257e['position']))||void 0x0===_0x2237a1?void 0x0:_0x2237a1['position'])||'fixed','parent':(null===(_0x248a8b=_0x17c94b['find'](_0x177c6d=>_0x177c6d['parent']))||void 0x0===_0x248a8b?void 0x0:_0x248a8b['parent'])||null,'tooltipSpace':(null===(_0x1b13b0=_0x17c94b['find'](_0x3ff385=>_0x3ff385['tooltipSpace']))||void 0x0===_0x1b13b0?void 0x0:_0x1b13b0['tooltipSpace'])||cI};}}),hI=new WeakMap(),uI=ViewPlugin['fromClass'](class{constructor(_0x2544d0){this['view']=_0x2544d0,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x3168e4=_0x2544d0['state']['facet'](lI);this['position']=_0x3168e4['position'],this['parent']=_0x3168e4['parent'],this['classes']=_0x2544d0['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(_0x2544d0,gI,(t,_0x763aa6)=>this['createTooltip'](t,_0x763aa6),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(_0x59ab3c=>{Date['now']()>this['lastTransaction']-0x32&&_0x59ab3c['length']>0x0&&_0x59ab3c[_0x59ab3c['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x2544d0['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 _0x4197d3 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x4197d3['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x3e7b14){_0x3e7b14['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x385a28=this['manager']['update'](_0x3e7b14,this['above']);_0x385a28&&this['observeIntersection']();let _0x3f0c91=_0x385a28||_0x3e7b14['geometryChanged'],_0x40957d=_0x3e7b14['state']['facet'](lI);if(_0x40957d['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x40957d['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x3f0c91=!0x0;}if(_0x40957d['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x40957d['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x3f0c91=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x3f0c91&&this['maybeMeasure']();}['createTooltip'](_0x3bb55e,_0x47f914){let _0x4bb5f2=_0x3bb55e['create'](this['view']),_0x1e1f0f=_0x47f914?_0x47f914['dom']:null;if(_0x4bb5f2['dom']['classList']['add']('cm-tooltip'),_0x3bb55e['arrow']&&!_0x4bb5f2['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x1326cc=document['createElement']('div');_0x1326cc['className']='cm-tooltip-arrow',_0x4bb5f2['dom']['appendChild'](_0x1326cc);}return _0x4bb5f2['dom']['style']['position']=this['position'],_0x4bb5f2['dom']['style']['top']=aI,_0x4bb5f2['dom']['style']['left']='0px',this['container']['insertBefore'](_0x4bb5f2['dom'],_0x1e1f0f),_0x4bb5f2['mount']&&_0x4bb5f2['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x4bb5f2['dom']),_0x4bb5f2;}['destroy'](){var _0xa57bff,_0x3b6c27,_0x135b2d;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x3feedc of this['manager']['tooltipViews'])_0x3feedc['dom']['remove'](),null===(_0xa57bff=_0x3feedc['destroy'])||void 0x0===_0xa57bff||_0xa57bff['call'](_0x3feedc);this['parent']&&this['container']['remove'](),null===(_0x3b6c27=this['resizeObserver'])||void 0x0===_0x3b6c27||_0x3b6c27['disconnect'](),null===(_0x135b2d=this['intersectionObserver'])||void 0x0===_0x135b2d||_0x135b2d['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x4eb3a8=0x1,_0x5bf050=0x1,_0x204e86=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x24c7d8}=this['manager']['tooltipViews'][0x0];if(wE['gecko'])_0x204e86=_0x24c7d8['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x24c7d8['style']['top']==aI&&'0px'==_0x24c7d8['style']['left']){let _0x4fb25f=_0x24c7d8['getBoundingClientRect']();_0x204e86=Math['abs'](_0x4fb25f['top']+0x2710)>0x1||Math['abs'](_0x4fb25f['left'])>0x1;}}}if(_0x204e86||'absolute'==this['position']){if(this['parent']){let _0x3465e8=this['parent']['getBoundingClientRect']();_0x3465e8['width']&&_0x3465e8['height']&&(_0x4eb3a8=_0x3465e8['width']/this['parent']['offsetWidth'],_0x5bf050=_0x3465e8['height']/this['parent']['offsetHeight']);}else({scaleX:_0x4eb3a8,scaleY:_0x5bf050}=this['view']['viewState']);}let _0x2148fc=this['view']['scrollDOM']['getBoundingClientRect'](),_0x203b29=XT(this['view']);return{'visible':{'left':_0x2148fc['left']+_0x203b29['left'],'top':_0x2148fc['top']+_0x203b29['top'],'right':_0x2148fc['right']-_0x203b29['right'],'bottom':_0x2148fc['bottom']-_0x203b29['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x15073c)=>{let _0x2198a5=this['manager']['tooltipViews'][_0x15073c];return _0x2198a5['getCoords']?_0x2198a5['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x1c4362})=>_0x1c4362['getBoundingClientRect']()),'space':this['view']['state']['facet'](lI)['tooltipSpace'](this['view']),'scaleX':_0x4eb3a8,'scaleY':_0x5bf050,'makeAbsolute':_0x204e86};}['writeMeasure'](_0x960795){var _0x44a8cf;if(_0x960795['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x48e408,space:_0x234fe4,scaleX:_0x52242d,scaleY:_0x5fba95}=_0x960795,_0x2d8bc1=[];for(let _0x2f4378=0x0;_0x2f4378<this['manager']['tooltips']['length'];_0x2f4378++){let _0x1e6b8b=this['manager']['tooltips'][_0x2f4378],_0x5a3cc2=this['manager']['tooltipViews'][_0x2f4378],{dom:_0x343b7c}=_0x5a3cc2,_0x8fbd8b=_0x960795['pos'][_0x2f4378],_0x5baf5c=_0x960795['size'][_0x2f4378];if(!_0x8fbd8b||!0x1!==_0x1e6b8b['clip']&&(_0x8fbd8b['bottom']<=Math['max'](_0x48e408['top'],_0x234fe4['top'])||_0x8fbd8b['top']>=Math['min'](_0x48e408['bottom'],_0x234fe4['bottom'])||_0x8fbd8b['right']<Math['max'](_0x48e408['left'],_0x234fe4['left'])-0.1||_0x8fbd8b['left']>Math['min'](_0x48e408['right'],_0x234fe4['right'])+0.1)){_0x343b7c['style']['top']=aI;continue;}let _0x449240=_0x1e6b8b['arrow']?_0x5a3cc2['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x49e124=_0x449240?0x7:0x0,_0x22a29d=_0x5baf5c['right']-_0x5baf5c['left'],_0x44c2b7=null!==(_0x44a8cf=hI['get'](_0x5a3cc2))&&void 0x0!==_0x44a8cf?_0x44a8cf:_0x5baf5c['bottom']-_0x5baf5c['top'],_0x17121a=_0x5a3cc2['offset']||mI,_0x41dfdc=this['view']['textDirection']==sT['LTR'],_0x5b65e3=_0x5baf5c['width']>_0x234fe4['right']-_0x234fe4['left']?_0x41dfdc?_0x234fe4['left']:_0x234fe4['right']-_0x5baf5c['width']:_0x41dfdc?Math['max'](_0x234fe4['left'],Math['min'](_0x8fbd8b['left']-(_0x449240?0xe:0x0)+_0x17121a['x'],_0x234fe4['right']-_0x22a29d)):Math['min'](Math['max'](_0x234fe4['left'],_0x8fbd8b['left']-_0x22a29d+(_0x449240?0xe:0x0)-_0x17121a['x']),_0x234fe4['right']-_0x22a29d),_0x285429=this['above'][_0x2f4378];!_0x1e6b8b['strictSide']&&(_0x285429?_0x8fbd8b['top']-_0x44c2b7-_0x49e124-_0x17121a['y']<_0x234fe4['top']:_0x8fbd8b['bottom']+_0x44c2b7+_0x49e124+_0x17121a['y']>_0x234fe4['bottom'])&&_0x285429==_0x234fe4['bottom']-_0x8fbd8b['bottom']>_0x8fbd8b['top']-_0x234fe4['top']&&(_0x285429=this['above'][_0x2f4378]=!_0x285429);let _0x23ad30=(_0x285429?_0x8fbd8b['top']-_0x234fe4['top']:_0x234fe4['bottom']-_0x8fbd8b['bottom'])-_0x49e124;if(_0x23ad30<_0x44c2b7&&!0x1!==_0x5a3cc2['resize']){if(_0x23ad30<this['view']['defaultLineHeight']){_0x343b7c['style']['top']=aI;continue;}hI['set'](_0x5a3cc2,_0x44c2b7),_0x343b7c['style']['height']=(_0x44c2b7=_0x23ad30)/_0x5fba95+'px';}else _0x343b7c['style']['height']&&(_0x343b7c['style']['height']='');let _0x44649f=_0x285429?_0x8fbd8b['top']-_0x44c2b7-_0x49e124-_0x17121a['y']:_0x8fbd8b['bottom']+_0x49e124+_0x17121a['y'],_0x253daa=_0x5b65e3+_0x22a29d;if(!0x0!==_0x5a3cc2['overlap']){for(let _0xe8fa58 of _0x2d8bc1)_0xe8fa58['left']<_0x253daa&&_0xe8fa58['right']>_0x5b65e3&&_0xe8fa58['top']<_0x44649f+_0x44c2b7&&_0xe8fa58['bottom']>_0x44649f&&(_0x44649f=_0x285429?_0xe8fa58['top']-_0x44c2b7-0x2-_0x49e124:_0xe8fa58['bottom']+_0x49e124+0x2);}if('absolute'==this['position']?(_0x343b7c['style']['top']=(_0x44649f-_0x960795['parent']['top'])/_0x5fba95+'px',dI(_0x343b7c,(_0x5b65e3-_0x960795['parent']['left'])/_0x52242d)):(_0x343b7c['style']['top']=_0x44649f/_0x5fba95+'px',dI(_0x343b7c,_0x5b65e3/_0x52242d)),_0x449240){let _0x11adae=_0x8fbd8b['left']+(_0x41dfdc?_0x17121a['x']:-_0x17121a['x'])-(_0x5b65e3+0xe-0x7);_0x449240['style']['left']=_0x11adae/_0x52242d+'px';}!0x0!==_0x5a3cc2['overlap']&&_0x2d8bc1['push']({'left':_0x5b65e3,'top':_0x44649f,'right':_0x253daa,'bottom':_0x44649f+_0x44c2b7}),_0x343b7c['classList']['toggle']('cm-tooltip-above',_0x285429),_0x343b7c['classList']['toggle']('cm-tooltip-below',!_0x285429),_0x5a3cc2['positioned']&&_0x5a3cc2['positioned'](_0x960795['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 _0x1324d5 of this['manager']['tooltipViews'])_0x1324d5['dom']['style']['top']=aI;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function dI(_0x3277bf,_0xf89d28){let _0x20762b=parseInt(_0x3277bf['style']['left'],0xa);(isNaN(_0x20762b)||Math['abs'](_0xf89d28-_0x20762b)>0x1)&&(_0x3277bf['style']['left']=_0xf89d28+'px');}const fI=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'}}}),mI={'x':0x0,'y':0x0},gI=Facet['define']({'enables':[uI,fI]});function pI(_0x5d1823,_0x53dd55){let _0x222590=_0x5d1823['plugin'](uI);if(!_0x222590)return null;let _0x230b4e=_0x222590['manager']['tooltips']['indexOf'](_0x53dd55);return _0x230b4e<0x0?null:_0x222590['manager']['tooltipViews'][_0x230b4e];}class GutterMarker extends RangeValue{['compare'](_0x22c79e){return this==_0x22c79e||this['constructor']==_0x22c79e['constructor']&&this['eq'](_0x22c79e);}['eq'](_0x2fc539){return!0x1;}['destroy'](_0x1f0336){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=e_['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const OI=Facet['define'](),wI=Facet['define'](),bI={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},yI=Facet['define']();function vI(_0x1a499d){return[EI(),yI['of']({...bI,..._0x1a499d})];}const _I=Facet['define']({'combine':_0x504505=>_0x504505['some'](_0x2883ec=>_0x2883ec)});function EI(_0xefb17e){return[TI];}const TI=ViewPlugin['fromClass'](class{constructor(_0x3ba0aa){this['view']=_0x3ba0aa,this['domAfter']=null,this['prevViewport']=_0x3ba0aa['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']=_0x3ba0aa['state']['facet'](yI)['map'](_0x219988=>new SingleGutterView(_0x3ba0aa,_0x219988)),this['fixed']=!_0x3ba0aa['state']['facet'](_I);for(let _0x8afc21 of this['gutters'])'after'==_0x8afc21['config']['side']?this['getDOMAfter']()['appendChild'](_0x8afc21['dom']):this['dom']['appendChild'](_0x8afc21['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x3ba0aa['scrollDOM']['insertBefore'](this['dom'],_0x3ba0aa['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'](_0x56d3c3){if(this['updateGutters'](_0x56d3c3)){let _0x4f3d=this['prevViewport'],_0xd07171=_0x56d3c3['view']['viewport'],_0x26628a=Math['min'](_0x4f3d['to'],_0xd07171['to'])-Math['max'](_0x4f3d['from'],_0xd07171['from']);this['syncGutters'](_0x26628a<0.8*(_0xd07171['to']-_0xd07171['from']));}if(_0x56d3c3['geometryChanged']){let _0xd553da=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0xd553da,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0xd553da);}this['view']['state']['facet'](_I)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x56d3c3['view']['viewport'];}['syncGutters'](_0x34e7a2){let _0x475ae3=this['dom']['nextSibling'];_0x34e7a2&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x22754d=RangeSet['iter'](this['view']['state']['facet'](OI),this['view']['viewport']['from']),_0x1b65e9=[],_0x442ab9=this['gutters']['map'](_0x46453a=>new UpdateContext(_0x46453a,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x276cf2 of this['view']['viewportLineBlocks'])if(_0x1b65e9['length']&&(_0x1b65e9=[]),Array['isArray'](_0x276cf2['type'])){let _0x10c67a=!0x0;for(let _0x416673 of _0x276cf2['type'])if(_0x416673['type']==JE['Text']&&_0x10c67a){SI(_0x22754d,_0x1b65e9,_0x416673['from']);for(let _0x3513b8 of _0x442ab9)_0x3513b8['line'](this['view'],_0x416673,_0x1b65e9);_0x10c67a=!0x1;}else{if(_0x416673['widget']){for(let _0x17a302 of _0x442ab9)_0x17a302['widget'](this['view'],_0x416673);}}}else{if(_0x276cf2['type']==JE['Text']){SI(_0x22754d,_0x1b65e9,_0x276cf2['from']);for(let _0x98d786 of _0x442ab9)_0x98d786['line'](this['view'],_0x276cf2,_0x1b65e9);}else{if(_0x276cf2['widget']){for(let _0x1ede70 of _0x442ab9)_0x1ede70['widget'](this['view'],_0x276cf2);}}}for(let _0x4d3b3d of _0x442ab9)_0x4d3b3d['finish']();_0x34e7a2&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x475ae3),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x38b19a){let _0x28adfc=_0x38b19a['startState']['facet'](yI),_0x13110b=_0x38b19a['state']['facet'](yI),_0x3df3bc=_0x38b19a['docChanged']||_0x38b19a['heightChanged']||_0x38b19a['viewportChanged']||!RangeSet['eq'](_0x38b19a['startState']['facet'](OI),_0x38b19a['state']['facet'](OI),_0x38b19a['view']['viewport']['from'],_0x38b19a['view']['viewport']['to']);if(_0x28adfc==_0x13110b){for(let _0xc5fcbe of this['gutters'])_0xc5fcbe['update'](_0x38b19a)&&(_0x3df3bc=!0x0);}else{_0x3df3bc=!0x0;let _0x4e6e77=[];for(let _0x5f2991 of _0x13110b){let _0x636ed0=_0x28adfc['indexOf'](_0x5f2991);_0x636ed0<0x0?_0x4e6e77['push'](new SingleGutterView(this['view'],_0x5f2991)):(this['gutters'][_0x636ed0]['update'](_0x38b19a),_0x4e6e77['push'](this['gutters'][_0x636ed0]));}for(let _0x5d8f04 of this['gutters'])_0x5d8f04['dom']['remove'](),_0x4e6e77['indexOf'](_0x5d8f04)<0x0&&_0x5d8f04['destroy']();for(let _0x38b4e8 of _0x4e6e77)'after'==_0x38b4e8['config']['side']?this['getDOMAfter']()['appendChild'](_0x38b4e8['dom']):this['dom']['appendChild'](_0x38b4e8['dom']);this['gutters']=_0x4e6e77;}return _0x3df3bc;}['destroy'](){for(let _0x8aebd6 of this['gutters'])_0x8aebd6['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x10769a=>EditorView['scrollMargins']['of'](_0x30022f=>{let _0x1a65d6=_0x30022f['plugin'](_0x10769a);if(!_0x1a65d6||0x0==_0x1a65d6['gutters']['length']||!_0x1a65d6['fixed'])return null;let _0x49ab4a=_0x1a65d6['dom']['offsetWidth']*_0x30022f['scaleX'],_0x356de3=_0x1a65d6['domAfter']?_0x1a65d6['domAfter']['offsetWidth']*_0x30022f['scaleX']:0x0;return _0x30022f['textDirection']==sT['LTR']?{'left':_0x49ab4a,'right':_0x356de3}:{'right':_0x49ab4a,'left':_0x356de3};})});function AI(_0x3ce5af){return Array['isArray'](_0x3ce5af)?_0x3ce5af:[_0x3ce5af];}function SI(_0x27d9bc,_0x115fd8,_0x11c174){for(;_0x27d9bc['value']&&_0x27d9bc['from']<=_0x11c174;)_0x27d9bc['from']==_0x11c174&&_0x115fd8['push'](_0x27d9bc['value']),_0x27d9bc['next']();}class UpdateContext{constructor(_0x1ec12c,_0x3b3aae,_0x4ebaae){this['gutter']=_0x1ec12c,this['height']=_0x4ebaae,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x1ec12c['markers'],_0x3b3aae['from']);}['addElement'](_0x2bdd33,_0x4c4860,_0x5d99d1){let {gutter:_0x541925}=this,_0x54ee48=(_0x4c4860['top']-this['height'])/_0x2bdd33['scaleY'],_0x4c07e8=_0x4c4860['height']/_0x2bdd33['scaleY'];if(this['i']==_0x541925['elements']['length']){let _0x163e06=new GutterElement(_0x2bdd33,_0x4c07e8,_0x54ee48,_0x5d99d1);_0x541925['elements']['push'](_0x163e06),_0x541925['dom']['appendChild'](_0x163e06['dom']);}else _0x541925['elements'][this['i']]['update'](_0x2bdd33,_0x4c07e8,_0x54ee48,_0x5d99d1);this['height']=_0x4c4860['bottom'],this['i']++;}['line'](_0x3c0d19,_0x1f74b7,_0x3fce13){let _0x25a36f=[];SI(this['cursor'],_0x25a36f,_0x1f74b7['from']),_0x3fce13['length']&&(_0x25a36f=_0x25a36f['concat'](_0x3fce13));let _0x592113=this['gutter']['config']['lineMarker'](_0x3c0d19,_0x1f74b7,_0x25a36f);_0x592113&&_0x25a36f['unshift'](_0x592113);let _0x2d8bc8=this['gutter'];(0x0!=_0x25a36f['length']||_0x2d8bc8['config']['renderEmptyElements'])&&this['addElement'](_0x3c0d19,_0x1f74b7,_0x25a36f);}['widget'](_0x45e9c7,_0x2af094){let _0x1b9116=this['gutter']['config']['widgetMarker'](_0x45e9c7,_0x2af094['widget'],_0x2af094),_0xed1f6=_0x1b9116?[_0x1b9116]:null;for(let _0x550971 of _0x45e9c7['state']['facet'](wI)){let _0x5a41d5=_0x550971(_0x45e9c7,_0x2af094['widget'],_0x2af094);_0x5a41d5&&(_0xed1f6||(_0xed1f6=[]))['push'](_0x5a41d5);}_0xed1f6&&this['addElement'](_0x45e9c7,_0x2af094,_0xed1f6);}['finish'](){let _0x3aec76=this['gutter'];for(;_0x3aec76['elements']['length']>this['i'];){let _0x27d6de=_0x3aec76['elements']['pop']();_0x3aec76['dom']['removeChild'](_0x27d6de['dom']),_0x27d6de['destroy']();}}}class SingleGutterView{constructor(_0x17745c,_0x2c89e1){this['view']=_0x17745c,this['config']=_0x2c89e1,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x5c3d89 in _0x2c89e1['domEventHandlers'])this['dom']['addEventListener'](_0x5c3d89,_0x69458a=>{let _0x5cd532,_0x8c0ba6=_0x69458a['target'];if(_0x8c0ba6!=this['dom']&&this['dom']['contains'](_0x8c0ba6)){for(;_0x8c0ba6['parentNode']!=this['dom'];)_0x8c0ba6=_0x8c0ba6['parentNode'];let _0x598838=_0x8c0ba6['getBoundingClientRect']();_0x5cd532=(_0x598838['top']+_0x598838['bottom'])/0x2;}else _0x5cd532=_0x69458a['clientY'];let _0x128b21=_0x17745c['lineBlockAtHeight'](_0x5cd532-_0x17745c['documentTop']);_0x2c89e1['domEventHandlers'][_0x5c3d89](_0x17745c,_0x128b21,_0x69458a)&&_0x69458a['preventDefault']();});this['markers']=AI(_0x2c89e1['markers'](_0x17745c)),_0x2c89e1['initialSpacer']&&(this['spacer']=new GutterElement(_0x17745c,0x0,0x0,[_0x2c89e1['initialSpacer'](_0x17745c)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x1938a2){let _0x31a97b=this['markers'];if(this['markers']=AI(this['config']['markers'](_0x1938a2['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x18e9ab=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x1938a2);_0x18e9ab!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x1938a2['view'],0x0,0x0,[_0x18e9ab]);}let _0x177474=_0x1938a2['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x31a97b,_0x177474['from'],_0x177474['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x1938a2);}['destroy'](){for(let _0x2befac of this['elements'])_0x2befac['destroy']();}}class GutterElement{constructor(_0x3fe9e9,_0x5bb4d7,_0x31c95e,_0x28a587){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x3fe9e9,_0x5bb4d7,_0x31c95e,_0x28a587);}['update'](_0x2eeef5,_0x296810,_0x3f6eb2,_0x4f1151){this['height']!=_0x296810&&(this['height']=_0x296810,this['dom']['style']['height']=_0x296810+'px'),this['above']!=_0x3f6eb2&&(this['dom']['style']['marginTop']=(this['above']=_0x3f6eb2)?_0x3f6eb2+'px':''),function(_0x26263e,_0x50abda){if(_0x26263e['length']!=_0x50abda['length'])return!0x1;for(let _0x597253=0x0;_0x597253<_0x26263e['length'];_0x597253++)if(!_0x26263e[_0x597253]['compare'](_0x50abda[_0x597253]))return!0x1;return!0x0;}(this['markers'],_0x4f1151)||this['setMarkers'](_0x2eeef5,_0x4f1151);}['setMarkers'](_0x2c24cb,_0x2240cb){let _0x3d2feb='cm-gutterElement',_0x5f5747=this['dom']['firstChild'];for(let _0x2984f6=0x0,_0x3a2a50=0x0;;){let _0x313394=_0x3a2a50,_0x557a67=_0x2984f6<_0x2240cb['length']?_0x2240cb[_0x2984f6++]:null,_0xed2d5f=!0x1;if(_0x557a67){let _0x19e9d9=_0x557a67['elementClass'];_0x19e9d9&&(_0x3d2feb+='\x20'+_0x19e9d9);for(let _0xdb4865=_0x3a2a50;_0xdb4865<this['markers']['length'];_0xdb4865++)if(this['markers'][_0xdb4865]['compare'](_0x557a67)){_0x313394=_0xdb4865,_0xed2d5f=!0x0;break;}}else _0x313394=this['markers']['length'];for(;_0x3a2a50<_0x313394;){let _0x2a7b08=this['markers'][_0x3a2a50++];if(_0x2a7b08['toDOM']){_0x2a7b08['destroy'](_0x5f5747);let _0x19752c=_0x5f5747['nextSibling'];_0x5f5747['remove'](),_0x5f5747=_0x19752c;}}if(!_0x557a67)break;_0x557a67['toDOM']&&(_0xed2d5f?_0x5f5747=_0x5f5747['nextSibling']:this['dom']['insertBefore'](_0x557a67['toDOM'](_0x2c24cb),_0x5f5747)),_0xed2d5f&&_0x3a2a50++;}this['dom']['className']=_0x3d2feb,this['markers']=_0x2240cb;}['destroy'](){this['setMarkers'](null,[]);}}const II=Facet['define'](),CI=Facet['define'](),kI=Facet['define']({'combine':_0xfdc692=>V_(_0xfdc692,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x10b2f7,_0x2d1ed3){let _0x40b2c1=Object['assign']({},_0x10b2f7);for(let _0x197249 in _0x2d1ed3){let _0x20c937=_0x40b2c1[_0x197249],_0x4a822b=_0x2d1ed3[_0x197249];_0x40b2c1[_0x197249]=_0x20c937?(_0x441881,_0x1a0d50,_0x28cc08)=>_0x20c937(_0x441881,_0x1a0d50,_0x28cc08)||_0x4a822b(_0x441881,_0x1a0d50,_0x28cc08):_0x4a822b;}return _0x40b2c1;}})});class NumberMarker extends GutterMarker{constructor(_0x38b21f){super(),this['number']=_0x38b21f;}['eq'](_0x1c1e0f){return this['number']==_0x1c1e0f['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function xI(_0x3258b7,_0x2991b3){return _0x3258b7['state']['facet'](kI)['formatNumber'](_0x2991b3,_0x3258b7['state']);}const RI=yI['compute']([kI],_0x27cc32=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0xca23f=>_0xca23f['state']['facet'](II),'lineMarker':(_0x500a72,_0x298861,_0x140c2f)=>_0x140c2f['some'](_0x59e3ae=>_0x59e3ae['toDOM'])?null:new NumberMarker(xI(_0x500a72,_0x500a72['state']['doc']['lineAt'](_0x298861['from'])['number'])),'widgetMarker':(_0x3f6fb2,_0x41db02,_0x5df223)=>{for(let _0x44dd5d of _0x3f6fb2['state']['facet'](CI)){let _0x195f52=_0x44dd5d(_0x3f6fb2,_0x41db02,_0x5df223);if(_0x195f52)return _0x195f52;}return null;},'lineMarkerChange':_0x1c378d=>_0x1c378d['startState']['facet'](kI)!=_0x1c378d['state']['facet'](kI),'initialSpacer':_0x1585e6=>new NumberMarker(xI(_0x1585e6,MI(_0x1585e6['state']['doc']['lines']))),'updateSpacer'(_0x50a17b,_0x12cbbf){let _0x3968d6=xI(_0x12cbbf['view'],MI(_0x12cbbf['view']['state']['doc']['lines']));return _0x3968d6==_0x50a17b['number']?_0x50a17b:new NumberMarker(_0x3968d6);},'domEventHandlers':_0x27cc32['facet'](kI)['domEventHandlers'],'side':'before'}));function PI(_0x4c4588={}){return[kI['of'](_0x4c4588),EI(),RI];}function MI(_0x29a1f){let _0x7b497f=0x9;for(;_0x7b497f<_0x29a1f;)_0x7b497f=0xa*_0x7b497f+0x9;return _0x7b497f;}const NI=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),LI=OI['compute'](['selection'],_0x4444ee=>{let _0x425a81=[],_0x54f738=-0x1;for(let _0x2bad13 of _0x4444ee['selection']['ranges']){let _0x1be7b9=_0x4444ee['doc']['lineAt'](_0x2bad13['head'])['from'];_0x1be7b9>_0x54f738&&(_0x54f738=_0x1be7b9,_0x425a81['push'](NI['range'](_0x1be7b9)));}return RangeSet['of'](_0x425a81);});function $I(){return LI;}const DI=0x400;let QI=0x0;class Range{constructor(_0x238578,_0xd8966){this['from']=_0x238578,this['to']=_0xd8966;}}class NodeProp{constructor(_0x4524a9={}){this['id']=QI++,this['perNode']=!!_0x4524a9['perNode'],this['deserialize']=_0x4524a9['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x4524a9['combine']||null;}['add'](_0x2f047c){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x2f047c&&(_0x2f047c=NodeType['match'](_0x2f047c)),_0x261801=>{let _0x1d9bd6=_0x2f047c(_0x261801);return void 0x0===_0x1d9bd6?null:[this,_0x1d9bd6];};}}NodeProp['closedBy']=new NodeProp({'deserialize':_0x5da87c=>_0x5da87c['split']('\x20')}),NodeProp['openedBy']=new NodeProp({'deserialize':_0x42646d=>_0x42646d['split']('\x20')}),NodeProp['group']=new NodeProp({'deserialize':_0x5eae83=>_0x5eae83['split']('\x20')}),NodeProp['isolate']=new NodeProp({'deserialize':_0x24f756=>{if(_0x24f756&&'rtl'!=_0x24f756&&'ltr'!=_0x24f756&&'auto'!=_0x24f756)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x24f756);return _0x24f756||'auto';}}),NodeProp['contextHash']=new NodeProp({'perNode':!0x0}),NodeProp['lookAhead']=new NodeProp({'perNode':!0x0}),NodeProp['mounted']=new NodeProp({'perNode':!0x0});class MountedTree{constructor(_0x4cce54,_0xb6e27a,_0x3806a4){this['tree']=_0x4cce54,this['overlay']=_0xb6e27a,this['parser']=_0x3806a4;}static['get'](_0xb97216){return _0xb97216&&_0xb97216['props']&&_0xb97216['props'][NodeProp['mounted']['id']];}}const VI=Object['create'](null);class NodeType{constructor(_0x290acc,_0x5a2ffb,_0x2026b3,_0x828277=0x0){this['name']=_0x290acc,this['props']=_0x5a2ffb,this['id']=_0x2026b3,this['flags']=_0x828277;}static['define'](_0x182a91){let _0x16966e=_0x182a91['props']&&_0x182a91['props']['length']?Object['create'](null):VI,_0x228cb3=(_0x182a91['top']?0x1:0x0)|(_0x182a91['skipped']?0x2:0x0)|(_0x182a91['error']?0x4:0x0)|(null==_0x182a91['name']?0x8:0x0),_0x4b7e75=new NodeType(_0x182a91['name']||'',_0x16966e,_0x182a91['id'],_0x228cb3);if(_0x182a91['props']){for(let _0x1f39dc of _0x182a91['props'])if(Array['isArray'](_0x1f39dc)||(_0x1f39dc=_0x1f39dc(_0x4b7e75)),_0x1f39dc){if(_0x1f39dc[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x16966e[_0x1f39dc[0x0]['id']]=_0x1f39dc[0x1];}}return _0x4b7e75;}['prop'](_0x2b1e90){return this['props'][_0x2b1e90['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'](_0x4cda77){if('string'==typeof _0x4cda77){if(this['name']==_0x4cda77)return!0x0;let _0x36c135=this['prop'](NodeProp['group']);return!!_0x36c135&&_0x36c135['indexOf'](_0x4cda77)>-0x1;}return this['id']==_0x4cda77;}static['match'](_0x1100ff){let _0x3dfcc4=Object['create'](null);for(let _0x58e3fe in _0x1100ff)for(let _0x3ecf7a of _0x58e3fe['split']('\x20'))_0x3dfcc4[_0x3ecf7a]=_0x1100ff[_0x58e3fe];return _0x2b24c0=>{for(let _0x120188=_0x2b24c0['prop'](NodeProp['group']),_0x28948f=-0x1;_0x28948f<(_0x120188?_0x120188['length']:0x0);_0x28948f++){let _0x5891d5=_0x3dfcc4[_0x28948f<0x0?_0x2b24c0['name']:_0x120188[_0x28948f]];if(_0x5891d5)return _0x5891d5;}};}}NodeType['none']=new NodeType('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x4fe395){this['types']=_0x4fe395;for(let _0x10e5b5=0x0;_0x10e5b5<_0x4fe395['length'];_0x10e5b5++)if(_0x4fe395[_0x10e5b5]['id']!=_0x10e5b5)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x51b600){let _0x236b01=[];for(let _0x2af842 of this['types']){let _0x460926=null;for(let _0x26d9c8 of _0x51b600){let _0x3f3119=_0x26d9c8(_0x2af842);if(_0x3f3119){_0x460926||(_0x460926=Object['assign']({},_0x2af842['props']));let _0x579b9f=_0x3f3119[0x1],_0x163360=_0x3f3119[0x0];_0x163360['combine']&&_0x163360['id']in _0x460926&&(_0x579b9f=_0x163360['combine'](_0x460926[_0x163360['id']],_0x579b9f)),_0x460926[_0x163360['id']]=_0x579b9f;}}_0x236b01['push'](_0x460926?new NodeType(_0x2af842['name'],_0x460926,_0x2af842['id'],_0x2af842['flags']):_0x2af842);}return new NodeSet(_0x236b01);}}const UI=new WeakMap(),BI=new WeakMap();var jI;!function(_0x30ab81){_0x30ab81[_0x30ab81['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x30ab81[_0x30ab81['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x30ab81[_0x30ab81['IgnoreMounts']=0x4]='IgnoreMounts',_0x30ab81[_0x30ab81['IgnoreOverlays']=0x8]='IgnoreOverlays';}(jI||(jI={}));class Tree{constructor(_0x3075b0,_0x1de6bb,_0x375916,_0x432a01,_0x542405){if(this['type']=_0x3075b0,this['children']=_0x1de6bb,this['positions']=_0x375916,this['length']=_0x432a01,this['props']=null,_0x542405&&_0x542405['length']){this['props']=Object['create'](null);for(let [_0x48cc23,_0x24afdc]of _0x542405)this['props']['number'==typeof _0x48cc23?_0x48cc23:_0x48cc23['id']]=_0x24afdc;}}['toString'](){let _0x3343f4=MountedTree['get'](this);if(_0x3343f4&&!_0x3343f4['overlay'])return _0x3343f4['tree']['toString']();let _0x2c2f85='';for(let _0x1ee851 of this['children']){let _0x3fa884=_0x1ee851['toString']();_0x3fa884&&(_0x2c2f85&&(_0x2c2f85+=','),_0x2c2f85+=_0x3fa884);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x2c2f85['length']?'('+_0x2c2f85+')':''):_0x2c2f85;}['cursor'](_0x48df9a=0x0){return new TreeCursor(this['topNode'],_0x48df9a);}['cursorAt'](_0x4cea57,_0x351e35=0x0,_0x3eba77=0x0){let _0x4cc4af=UI['get'](this)||this['topNode'],_0x1620dd=new TreeCursor(_0x4cc4af);return _0x1620dd['moveTo'](_0x4cea57,_0x351e35),UI['set'](this,_0x1620dd['_tree']),_0x1620dd;}get['topNode'](){return new TreeNode(this,0x0,0x0,null);}['resolve'](_0x37b365,_0x1ce3fd=0x0){let _0x4e6da5=HI(UI['get'](this)||this['topNode'],_0x37b365,_0x1ce3fd,!0x1);return UI['set'](this,_0x4e6da5),_0x4e6da5;}['resolveInner'](_0x4c490f,_0x689dc7=0x0){let _0x45fc51=HI(BI['get'](this)||this['topNode'],_0x4c490f,_0x689dc7,!0x0);return BI['set'](this,_0x45fc51),_0x45fc51;}['resolveStack'](_0x5a9c1d,_0x50393a=0x0){return function(_0x52f800,_0x250a43,_0x5b598a){let _0x56e453=_0x52f800['resolveInner'](_0x250a43,_0x5b598a),_0x2d1bc4=null;for(let _0x2be11d=_0x56e453 instanceof TreeNode?_0x56e453:_0x56e453['context']['parent'];_0x2be11d;_0x2be11d=_0x2be11d['parent'])if(_0x2be11d['index']<0x0){let _0x258728=_0x2be11d['parent'];(_0x2d1bc4||(_0x2d1bc4=[_0x56e453]))['push'](_0x258728['resolve'](_0x250a43,_0x5b598a)),_0x2be11d=_0x258728;}else{let _0x33ff47=MountedTree['get'](_0x2be11d['tree']);if(_0x33ff47&&_0x33ff47['overlay']&&_0x33ff47['overlay'][0x0]['from']<=_0x250a43&&_0x33ff47['overlay'][_0x33ff47['overlay']['length']-0x1]['to']>=_0x250a43){let _0x1458ab=new TreeNode(_0x33ff47['tree'],_0x33ff47['overlay'][0x0]['from']+_0x2be11d['from'],-0x1,_0x2be11d);(_0x2d1bc4||(_0x2d1bc4=[_0x56e453]))['push'](HI(_0x1458ab,_0x250a43,_0x5b598a,!0x1));}}return _0x2d1bc4?XI(_0x2d1bc4):_0x56e453;}(this,_0x5a9c1d,_0x50393a);}['iterate'](_0x180386){let {enter:_0x49a288,leave:_0x3d6a06,from:_0x3a0abc=0x0,to:_0x2b0457=this['length']}=_0x180386,_0x33585f=_0x180386['mode']||0x0,_0x522f66=(_0x33585f&jI['IncludeAnonymous'])>0x0;for(let _0x251372=this['cursor'](_0x33585f|jI['IncludeAnonymous']);;){let _0xe83fcc=!0x1;if(_0x251372['from']<=_0x2b0457&&_0x251372['to']>=_0x3a0abc&&(!_0x522f66&&_0x251372['type']['isAnonymous']||!0x1!==_0x49a288(_0x251372))){if(_0x251372['firstChild']())continue;_0xe83fcc=!0x0;}for(;_0xe83fcc&&_0x3d6a06&&(_0x522f66||!_0x251372['type']['isAnonymous'])&&_0x3d6a06(_0x251372),!_0x251372['nextSibling']();){if(!_0x251372['parent']())return;_0xe83fcc=!0x0;}}}['prop'](_0x150deb){return _0x150deb['perNode']?this['props']?this['props'][_0x150deb['id']]:void 0x0:this['type']['prop'](_0x150deb);}get['propValues'](){let _0x294589=[];if(this['props']){for(let _0x5129b7 in this['props'])_0x294589['push']([+_0x5129b7,this['props'][_0x5129b7]]);}return _0x294589;}['balance'](_0x1d556c={}){return this['children']['length']<=0x8?this:YI(NodeType['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x49501c,_0x1d6b45,_0xbd3305)=>new Tree(this['type'],_0x49501c,_0x1d6b45,_0xbd3305,this['propValues']),_0x1d556c['makeTree']||((_0x556d9b,_0x52b158,_0x40c32e)=>new Tree(NodeType['none'],_0x556d9b,_0x52b158,_0x40c32e)));}static['build'](_0x41e8e1){return function(_0x2f4c9f){var _0x1f8d65;let {buffer:_0x50f2a9,nodeSet:_0x25b5b1,maxBufferLength:_0x314015=DI,reused:_0x4ad5a2=[],minRepeatType:_0x38c1cd=_0x25b5b1['types']['length']}=_0x2f4c9f,_0x295bec=Array['isArray'](_0x50f2a9)?new FlatBufferCursor(_0x50f2a9,_0x50f2a9['length']):_0x50f2a9,_0x4995f2=_0x25b5b1['types'],_0x64332a=0x0,_0x36b98a=0x0;function _0x417348(_0x5a4dba,_0x5f1d02,_0x2ee3c6,_0x167383,_0x246847,_0x4f16d2){let {id:_0x51bad8,start:_0x1af624,end:_0xb16170,size:_0x764485}=_0x295bec,_0x1322a3=_0x36b98a,_0x3ee569=_0x64332a;if(_0x764485<0x0){if(_0x295bec['next'](),-0x1==_0x764485){let _0x3d749d=_0x4ad5a2[_0x51bad8];return _0x2ee3c6['push'](_0x3d749d),void _0x167383['push'](_0x1af624-_0x5a4dba);}if(-0x3==_0x764485)return void(_0x64332a=_0x51bad8);if(-0x4==_0x764485)return void(_0x36b98a=_0x51bad8);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x764485);}let _0x40fe5a,_0x59b572,_0x155898=_0x4995f2[_0x51bad8],_0x183587=_0x1af624-_0x5a4dba;if(_0xb16170-_0x1af624<=_0x314015&&(_0x59b572=_0x2551bd(_0x295bec['pos']-_0x5f1d02,_0x246847))){let _0x2e644a=new Uint16Array(_0x59b572['size']-_0x59b572['skip']),_0xf139e6=_0x295bec['pos']-_0x59b572['size'],_0x1cafb7=_0x2e644a['length'];for(;_0x295bec['pos']>_0xf139e6;)_0x1cafb7=_0xd44310(_0x59b572['start'],_0x2e644a,_0x1cafb7);_0x40fe5a=new TreeBuffer(_0x2e644a,_0xb16170-_0x59b572['start'],_0x25b5b1),_0x183587=_0x59b572['start']-_0x5a4dba;}else{let _0x363021=_0x295bec['pos']-_0x764485;_0x295bec['next']();let _0x483134=[],_0x45ff55=[],_0xde3f3b=_0x51bad8>=_0x38c1cd?_0x51bad8:-0x1,_0x406340=0x0,_0x1413e3=_0xb16170;for(;_0x295bec['pos']>_0x363021;)_0xde3f3b>=0x0&&_0x295bec['id']==_0xde3f3b&&_0x295bec['size']>=0x0?(_0x295bec['end']<=_0x1413e3-_0x314015&&(_0x3988e7(_0x483134,_0x45ff55,_0x1af624,_0x406340,_0x295bec['end'],_0x1413e3,_0xde3f3b,_0x1322a3,_0x3ee569),_0x406340=_0x483134['length'],_0x1413e3=_0x295bec['end']),_0x295bec['next']()):_0x4f16d2>0x9c4?_0x3d86f7(_0x1af624,_0x363021,_0x483134,_0x45ff55):_0x417348(_0x1af624,_0x363021,_0x483134,_0x45ff55,_0xde3f3b,_0x4f16d2+0x1);if(_0xde3f3b>=0x0&&_0x406340>0x0&&_0x406340<_0x483134['length']&&_0x3988e7(_0x483134,_0x45ff55,_0x1af624,_0x406340,_0x1af624,_0x1413e3,_0xde3f3b,_0x1322a3,_0x3ee569),_0x483134['reverse'](),_0x45ff55['reverse'](),_0xde3f3b>-0x1&&_0x406340>0x0){let _0x5759a9=_0x1418fd(_0x155898,_0x3ee569);_0x40fe5a=YI(_0x155898,_0x483134,_0x45ff55,0x0,_0x483134['length'],0x0,_0xb16170-_0x1af624,_0x5759a9,_0x5759a9);}else _0x40fe5a=_0x116771(_0x155898,_0x483134,_0x45ff55,_0xb16170-_0x1af624,_0x1322a3-_0xb16170,_0x3ee569);}_0x2ee3c6['push'](_0x40fe5a),_0x167383['push'](_0x183587);}function _0x3d86f7(_0x232b2f,_0x289940,_0xae3888,_0x2d82b7){let _0xe5ead=[],_0x359d20=0x0,_0x3e9bac=-0x1;for(;_0x295bec['pos']>_0x289940;){let {id:_0x214627,start:_0x4c202f,end:_0x125e98,size:_0x561909}=_0x295bec;if(_0x561909>0x4)_0x295bec['next']();else{if(_0x3e9bac>-0x1&&_0x4c202f<_0x3e9bac)break;_0x3e9bac<0x0&&(_0x3e9bac=_0x125e98-_0x314015),_0xe5ead['push'](_0x214627,_0x4c202f,_0x125e98),_0x359d20++,_0x295bec['next']();}}if(_0x359d20){let _0x38a46c=new Uint16Array(0x4*_0x359d20),_0x3abfa9=_0xe5ead[_0xe5ead['length']-0x2];for(let _0x191279=_0xe5ead['length']-0x3,_0x279286=0x0;_0x191279>=0x0;_0x191279-=0x3)_0x38a46c[_0x279286++]=_0xe5ead[_0x191279],_0x38a46c[_0x279286++]=_0xe5ead[_0x191279+0x1]-_0x3abfa9,_0x38a46c[_0x279286++]=_0xe5ead[_0x191279+0x2]-_0x3abfa9,_0x38a46c[_0x279286++]=_0x279286;_0xae3888['push'](new TreeBuffer(_0x38a46c,_0xe5ead[0x2]-_0x3abfa9,_0x25b5b1)),_0x2d82b7['push'](_0x3abfa9-_0x232b2f);}}function _0x1418fd(_0x4289bc,_0x322f8f){return(_0x5ed189,_0x2b0f7d,_0x5b84a9)=>{let _0x496af8,_0x3ac20b,_0x4493b1=0x0,_0xac8165=_0x5ed189['length']-0x1;if(_0xac8165>=0x0&&(_0x496af8=_0x5ed189[_0xac8165])instanceof Tree){if(!_0xac8165&&_0x496af8['type']==_0x4289bc&&_0x496af8['length']==_0x5b84a9)return _0x496af8;(_0x3ac20b=_0x496af8['prop'](NodeProp['lookAhead']))&&(_0x4493b1=_0x2b0f7d[_0xac8165]+_0x496af8['length']+_0x3ac20b);}return _0x116771(_0x4289bc,_0x5ed189,_0x2b0f7d,_0x5b84a9,_0x4493b1,_0x322f8f);};}function _0x3988e7(_0x242737,_0x86de1a,_0x2cf1dd,_0x154bf6,_0x45b82a,_0x281fe7,_0x26e00f,_0x4c537b,_0x526e92){let _0x3c15ab=[],_0x5a1e98=[];for(;_0x242737['length']>_0x154bf6;)_0x3c15ab['push'](_0x242737['pop']()),_0x5a1e98['push'](_0x86de1a['pop']()+_0x2cf1dd-_0x45b82a);_0x242737['push'](_0x116771(_0x25b5b1['types'][_0x26e00f],_0x3c15ab,_0x5a1e98,_0x281fe7-_0x45b82a,_0x4c537b-_0x281fe7,_0x526e92)),_0x86de1a['push'](_0x45b82a-_0x2cf1dd);}function _0x116771(_0xafd464,_0x2975d3,_0x414871,_0x1a282b,_0xa32084,_0x4a0a23,_0x357b05){if(_0x4a0a23){let _0xc8560d=[NodeProp['contextHash'],_0x4a0a23];_0x357b05=_0x357b05?[_0xc8560d]['concat'](_0x357b05):[_0xc8560d];}if(_0xa32084>0x19){let _0x5684f6=[NodeProp['lookAhead'],_0xa32084];_0x357b05=_0x357b05?[_0x5684f6]['concat'](_0x357b05):[_0x5684f6];}return new Tree(_0xafd464,_0x2975d3,_0x414871,_0x1a282b,_0x357b05);}function _0x2551bd(_0x5111e8,_0x416ad9){let _0xe1da98=_0x295bec['fork'](),_0x4f7624=0x0,_0x35946c=0x0,_0x5200fa=0x0,_0x1d5069=_0xe1da98['end']-_0x314015,_0x7276e2={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x31d47c=_0xe1da98['pos']-_0x5111e8;_0xe1da98['pos']>_0x31d47c;){let _0xd5369a=_0xe1da98['size'];if(_0xe1da98['id']==_0x416ad9&&_0xd5369a>=0x0){_0x7276e2['size']=_0x4f7624,_0x7276e2['start']=_0x35946c,_0x7276e2['skip']=_0x5200fa,_0x5200fa+=0x4,_0x4f7624+=0x4,_0xe1da98['next']();continue;}let _0x277739=_0xe1da98['pos']-_0xd5369a;if(_0xd5369a<0x0||_0x277739<_0x31d47c||_0xe1da98['start']<_0x1d5069)break;let _0x4da0c2=_0xe1da98['id']>=_0x38c1cd?0x4:0x0,_0x282ef2=_0xe1da98['start'];for(_0xe1da98['next']();_0xe1da98['pos']>_0x277739;){if(_0xe1da98['size']<0x0){if(-0x3!=_0xe1da98['size'])break t;_0x4da0c2+=0x4;}else _0xe1da98['id']>=_0x38c1cd&&(_0x4da0c2+=0x4);_0xe1da98['next']();}_0x35946c=_0x282ef2,_0x4f7624+=_0xd5369a,_0x5200fa+=_0x4da0c2;}return(_0x416ad9<0x0||_0x4f7624==_0x5111e8)&&(_0x7276e2['size']=_0x4f7624,_0x7276e2['start']=_0x35946c,_0x7276e2['skip']=_0x5200fa),_0x7276e2['size']>0x4?_0x7276e2:void 0x0;}function _0xd44310(_0x521c12,_0x1af733,_0x68930c){let {id:_0x11107e,start:_0x3e70d4,end:_0x2f26d0,size:_0x6caf}=_0x295bec;if(_0x295bec['next'](),_0x6caf>=0x0&&_0x11107e<_0x38c1cd){let _0x3d09f2=_0x68930c;if(_0x6caf>0x4){let _0x621503=_0x295bec['pos']-(_0x6caf-0x4);for(;_0x295bec['pos']>_0x621503;)_0x68930c=_0xd44310(_0x521c12,_0x1af733,_0x68930c);}_0x1af733[--_0x68930c]=_0x3d09f2,_0x1af733[--_0x68930c]=_0x2f26d0-_0x521c12,_0x1af733[--_0x68930c]=_0x3e70d4-_0x521c12,_0x1af733[--_0x68930c]=_0x11107e;}else-0x3==_0x6caf?_0x64332a=_0x11107e:-0x4==_0x6caf&&(_0x36b98a=_0x11107e);return _0x68930c;}let _0x11a66d=[],_0x3705bd=[];for(;_0x295bec['pos']>0x0;)_0x417348(_0x2f4c9f['start']||0x0,_0x2f4c9f['bufferStart']||0x0,_0x11a66d,_0x3705bd,-0x1,0x0);let _0x511bfc=null!==(_0x1f8d65=_0x2f4c9f['length'])&&void 0x0!==_0x1f8d65?_0x1f8d65:_0x11a66d['length']?_0x3705bd[0x0]+_0x11a66d[0x0]['length']:0x0;return new Tree(_0x4995f2[_0x2f4c9f['topID']],_0x11a66d['reverse'](),_0x3705bd['reverse'](),_0x511bfc);}(_0x41e8e1);}}Tree['empty']=new Tree(NodeType['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x5f0c91,_0x3df956){this['buffer']=_0x5f0c91,this['index']=_0x3df956;}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(_0x57e34d,_0x5ac3e8,_0x502e8b){this['buffer']=_0x57e34d,this['length']=_0x5ac3e8,this['set']=_0x502e8b;}get['type'](){return NodeType['none'];}['toString'](){let _0x243590=[];for(let _0x3392b5=0x0;_0x3392b5<this['buffer']['length'];)_0x243590['push'](this['childString'](_0x3392b5)),_0x3392b5=this['buffer'][_0x3392b5+0x3];return _0x243590['join'](',');}['childString'](_0x50b5db){let _0x2ee0db=this['buffer'][_0x50b5db],_0x453e99=this['buffer'][_0x50b5db+0x3],_0x4bc051=this['set']['types'][_0x2ee0db],_0x2b1da9=_0x4bc051['name'];if(/\W/['test'](_0x2b1da9)&&!_0x4bc051['isError']&&(_0x2b1da9=JSON['stringify'](_0x2b1da9)),_0x453e99==(_0x50b5db+=0x4))return _0x2b1da9;let _0x5b7014=[];for(;_0x50b5db<_0x453e99;)_0x5b7014['push'](this['childString'](_0x50b5db)),_0x50b5db=this['buffer'][_0x50b5db+0x3];return _0x2b1da9+'('+_0x5b7014['join'](',')+')';}['findChild'](_0x4ad5f2,_0x439fad,_0x23afbf,_0x9576a,_0x289f31){let {buffer:_0x5bae70}=this,_0x5f4d65=-0x1;for(let _0x34dbfe=_0x4ad5f2;_0x34dbfe!=_0x439fad&&!(FI(_0x289f31,_0x9576a,_0x5bae70[_0x34dbfe+0x1],_0x5bae70[_0x34dbfe+0x2])&&(_0x5f4d65=_0x34dbfe,_0x23afbf>0x0));_0x34dbfe=_0x5bae70[_0x34dbfe+0x3]);return _0x5f4d65;}['slice'](_0x1edee1,_0x5e2855,_0x5a66a0){let _0x48a63f=this['buffer'],_0x250468=new Uint16Array(_0x5e2855-_0x1edee1),_0x39fbef=0x0;for(let _0x5924f2=_0x1edee1,_0x216db5=0x0;_0x5924f2<_0x5e2855;){_0x250468[_0x216db5++]=_0x48a63f[_0x5924f2++],_0x250468[_0x216db5++]=_0x48a63f[_0x5924f2++]-_0x5a66a0;let _0x5cbc0a=_0x250468[_0x216db5++]=_0x48a63f[_0x5924f2++]-_0x5a66a0;_0x250468[_0x216db5++]=_0x48a63f[_0x5924f2++]-_0x1edee1,_0x39fbef=Math['max'](_0x39fbef,_0x5cbc0a);}return new TreeBuffer(_0x250468,_0x39fbef,this['set']);}}function FI(_0x27471e,_0x5a6160,_0x581060,_0x456d83){switch(_0x27471e){case-0x2:return _0x581060<_0x5a6160;case-0x1:return _0x456d83>=_0x5a6160&&_0x581060<_0x5a6160;case 0x0:return _0x581060<_0x5a6160&&_0x456d83>_0x5a6160;case 0x1:return _0x581060<=_0x5a6160&&_0x456d83>_0x5a6160;case 0x2:return _0x456d83>_0x5a6160;case 0x4:return!0x0;}}function HI(_0x1a3165,_0x6f9380,_0x21132e,_0x557e70){for(var _0x159f09;_0x1a3165['from']==_0x1a3165['to']||(_0x21132e<0x1?_0x1a3165['from']>=_0x6f9380:_0x1a3165['from']>_0x6f9380)||(_0x21132e>-0x1?_0x1a3165['to']<=_0x6f9380:_0x1a3165['to']<_0x6f9380);){let _0x381aa4=!_0x557e70&&_0x1a3165 instanceof TreeNode&&_0x1a3165['index']<0x0?null:_0x1a3165['parent'];if(!_0x381aa4)return _0x1a3165;_0x1a3165=_0x381aa4;}let _0x677c4=_0x557e70?0x0:jI['IgnoreOverlays'];if(_0x557e70){for(let _0x1700eb=_0x1a3165,_0x4b7949=_0x1700eb['parent'];_0x4b7949;_0x1700eb=_0x4b7949,_0x4b7949=_0x1700eb['parent'])_0x1700eb instanceof TreeNode&&_0x1700eb['index']<0x0&&(null===(_0x159f09=_0x4b7949['enter'](_0x6f9380,_0x21132e,_0x677c4))||void 0x0===_0x159f09?void 0x0:_0x159f09['from'])!=_0x1700eb['from']&&(_0x1a3165=_0x4b7949);}for(;;){let _0x580eb2=_0x1a3165['enter'](_0x6f9380,_0x21132e,_0x677c4);if(!_0x580eb2)return _0x1a3165;_0x1a3165=_0x580eb2;}}class BaseNode{['cursor'](_0x50f13e=0x0){return new TreeCursor(this,_0x50f13e);}['getChild'](_0x5d0aa2,_0x74bc31=null,_0x58badf=null){let _0x41f5e5=GI(this,_0x5d0aa2,_0x74bc31,_0x58badf);return _0x41f5e5['length']?_0x41f5e5[0x0]:null;}['getChildren'](_0x4778fd,_0xd99200=null,_0x2f71f3=null){return GI(this,_0x4778fd,_0xd99200,_0x2f71f3);}['resolve'](_0xd4cc30,_0x192f84=0x0){return HI(this,_0xd4cc30,_0x192f84,!0x1);}['resolveInner'](_0x5d2b4e,_0xb17fad=0x0){return HI(this,_0x5d2b4e,_0xb17fad,!0x0);}['matchContext'](_0x325edc){return ZI(this['parent'],_0x325edc);}['enterUnfinishedNodesBefore'](_0x2aad37){let _0x1ba1c6=this['childBefore'](_0x2aad37),_0x4458a8=this;for(;_0x1ba1c6;){let _0xd2acb5=_0x1ba1c6['lastChild'];if(!_0xd2acb5||_0xd2acb5['to']!=_0x1ba1c6['to'])break;_0xd2acb5['type']['isError']&&_0xd2acb5['from']==_0xd2acb5['to']?(_0x4458a8=_0x1ba1c6,_0x1ba1c6=_0xd2acb5['prevSibling']):_0x1ba1c6=_0xd2acb5;}return _0x4458a8;}get['node'](){return this;}get['next'](){return this['parent'];}}class TreeNode extends BaseNode{constructor(_0x4e3cb8,_0x590083,_0x73f749,_0x296f9f){super(),this['_tree']=_0x4e3cb8,this['from']=_0x590083,this['index']=_0x73f749,this['_parent']=_0x296f9f;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x4e7065,_0x4f2a7a,_0x430a80,_0x4cf380,_0x5ae6ef=0x0){for(let _0x36d78a=this;;){for(let {children:_0x1a3a63,positions:_0x58af7b}=_0x36d78a['_tree'],_0x59d9b1=_0x4f2a7a>0x0?_0x1a3a63['length']:-0x1;_0x4e7065!=_0x59d9b1;_0x4e7065+=_0x4f2a7a){let _0x25b2f7=_0x1a3a63[_0x4e7065],_0x2e1131=_0x58af7b[_0x4e7065]+_0x36d78a['from'];if(FI(_0x4cf380,_0x430a80,_0x2e1131,_0x2e1131+_0x25b2f7['length'])){if(_0x25b2f7 instanceof TreeBuffer){if(_0x5ae6ef&jI['ExcludeBuffers'])continue;let _0x86efa1=_0x25b2f7['findChild'](0x0,_0x25b2f7['buffer']['length'],_0x4f2a7a,_0x430a80-_0x2e1131,_0x4cf380);if(_0x86efa1>-0x1)return new BufferNode(new BufferContext(_0x36d78a,_0x25b2f7,_0x4e7065,_0x2e1131),null,_0x86efa1);}else{if(_0x5ae6ef&jI['IncludeAnonymous']||!_0x25b2f7['type']['isAnonymous']||qI(_0x25b2f7)){let _0x370721;if(!(_0x5ae6ef&jI['IgnoreMounts'])&&(_0x370721=MountedTree['get'](_0x25b2f7))&&!_0x370721['overlay'])return new TreeNode(_0x370721['tree'],_0x2e1131,_0x4e7065,_0x36d78a);let _0x92f62e=new TreeNode(_0x25b2f7,_0x2e1131,_0x4e7065,_0x36d78a);return _0x5ae6ef&jI['IncludeAnonymous']||!_0x92f62e['type']['isAnonymous']?_0x92f62e:_0x92f62e['nextChild'](_0x4f2a7a<0x0?_0x25b2f7['children']['length']-0x1:0x0,_0x4f2a7a,_0x430a80,_0x4cf380);}}}}if(_0x5ae6ef&jI['IncludeAnonymous']||!_0x36d78a['type']['isAnonymous'])return null;if(_0x4e7065=_0x36d78a['index']>=0x0?_0x36d78a['index']+_0x4f2a7a:_0x4f2a7a<0x0?-0x1:_0x36d78a['_parent']['_tree']['children']['length'],_0x36d78a=_0x36d78a['_parent'],!_0x36d78a)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'](_0x21a7ef){return this['nextChild'](0x0,0x1,_0x21a7ef,0x2);}['childBefore'](_0x534df6){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x534df6,-0x2);}['enter'](_0xb98b17,_0x36f303,_0x2c3822=0x0){let _0x487143;if(!(_0x2c3822&jI['IgnoreOverlays'])&&(_0x487143=MountedTree['get'](this['_tree']))&&_0x487143['overlay']){let _0x425418=_0xb98b17-this['from'];for(let {from:_0x43c8f0,to:_0x166042}of _0x487143['overlay'])if((_0x36f303>0x0?_0x43c8f0<=_0x425418:_0x43c8f0<_0x425418)&&(_0x36f303<0x0?_0x166042>=_0x425418:_0x166042>_0x425418))return new TreeNode(_0x487143['tree'],_0x487143['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0xb98b17,_0x36f303,_0x2c3822);}['nextSignificantParent'](){let _0xf22c3e=this;for(;_0xf22c3e['type']['isAnonymous']&&_0xf22c3e['_parent'];)_0xf22c3e=_0xf22c3e['_parent'];return _0xf22c3e;}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 GI(_0x181c96,_0x6bc082,_0xce31b1,_0x496f8c){let _0xb10e8=_0x181c96['cursor'](),_0x447d24=[];if(!_0xb10e8['firstChild']())return _0x447d24;if(null!=_0xce31b1){for(let _0x63cfc=!0x1;!_0x63cfc;)if(_0x63cfc=_0xb10e8['type']['is'](_0xce31b1),!_0xb10e8['nextSibling']())return _0x447d24;}for(;;){if(null!=_0x496f8c&&_0xb10e8['type']['is'](_0x496f8c))return _0x447d24;if(_0xb10e8['type']['is'](_0x6bc082)&&_0x447d24['push'](_0xb10e8['node']),!_0xb10e8['nextSibling']())return null==_0x496f8c?_0x447d24:[];}}function ZI(_0x6ba71c,_0x1bae9d,_0x1a56bc=_0x1bae9d['length']-0x1){for(let _0x20b261=_0x6ba71c;_0x1a56bc>=0x0;_0x20b261=_0x20b261['parent']){if(!_0x20b261)return!0x1;if(!_0x20b261['type']['isAnonymous']){if(_0x1bae9d[_0x1a56bc]&&_0x1bae9d[_0x1a56bc]!=_0x20b261['name'])return!0x1;_0x1a56bc--;}}return!0x0;}class BufferContext{constructor(_0x18850e,_0x3f2b87,_0x37ebd4,_0x44e260){this['parent']=_0x18850e,this['buffer']=_0x3f2b87,this['index']=_0x37ebd4,this['start']=_0x44e260;}}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(_0x51db01,_0x5d4aac,_0x4b23af){super(),this['context']=_0x51db01,this['_parent']=_0x5d4aac,this['index']=_0x4b23af,this['type']=_0x51db01['buffer']['set']['types'][_0x51db01['buffer']['buffer'][_0x4b23af]];}['child'](_0x267246,_0x20aa89,_0x5c2737){let {buffer:_0x414580}=this['context'],_0xc4a086=_0x414580['findChild'](this['index']+0x4,_0x414580['buffer'][this['index']+0x3],_0x267246,_0x20aa89-this['context']['start'],_0x5c2737);return _0xc4a086<0x0?null:new BufferNode(this['context'],this,_0xc4a086);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0xf6ade5){return this['child'](0x1,_0xf6ade5,0x2);}['childBefore'](_0x4842fc){return this['child'](-0x1,_0x4842fc,-0x2);}['enter'](_0x1fe6f2,_0x5b9f91,_0x5e4b0b=0x0){if(_0x5e4b0b&jI['ExcludeBuffers'])return null;let {buffer:_0x117b5c}=this['context'],_0x5b412a=_0x117b5c['findChild'](this['index']+0x4,_0x117b5c['buffer'][this['index']+0x3],_0x5b9f91>0x0?0x1:-0x1,_0x1fe6f2-this['context']['start'],_0x5b9f91);return _0x5b412a<0x0?null:new BufferNode(this['context'],this,_0x5b412a);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x45c6ee){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x45c6ee,_0x45c6ee,0x0,0x4);}get['nextSibling'](){let {buffer:_0x458515}=this['context'],_0x51a9e5=_0x458515['buffer'][this['index']+0x3];return _0x51a9e5<(this['_parent']?_0x458515['buffer'][this['_parent']['index']+0x3]:_0x458515['buffer']['length'])?new BufferNode(this['context'],this['_parent'],_0x51a9e5):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x3c1090}=this['context'],_0xd8e304=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0xd8e304?this['externalSibling'](-0x1):new BufferNode(this['context'],this['_parent'],_0x3c1090['findChild'](_0xd8e304,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x17f69f=[],_0x15b376=[],{buffer:_0x39ef8a}=this['context'],_0x56bf3a=this['index']+0x4,_0x22d38b=_0x39ef8a['buffer'][this['index']+0x3];if(_0x22d38b>_0x56bf3a){let _0x325454=_0x39ef8a['buffer'][this['index']+0x1];_0x17f69f['push'](_0x39ef8a['slice'](_0x56bf3a,_0x22d38b,_0x325454)),_0x15b376['push'](0x0);}return new Tree(this['type'],_0x17f69f,_0x15b376,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function XI(_0x44639b){if(!_0x44639b['length'])return null;let _0x3b00d6=0x0,_0x5b339f=_0x44639b[0x0];for(let _0x1ff51d=0x1;_0x1ff51d<_0x44639b['length'];_0x1ff51d++){let _0x6048d8=_0x44639b[_0x1ff51d];(_0x6048d8['from']>_0x5b339f['from']||_0x6048d8['to']<_0x5b339f['to'])&&(_0x5b339f=_0x6048d8,_0x3b00d6=_0x1ff51d);}let _0x207a04=_0x5b339f instanceof TreeNode&&_0x5b339f['index']<0x0?null:_0x5b339f['parent'],_0x1d912b=_0x44639b['slice']();return _0x207a04?_0x1d912b[_0x3b00d6]=_0x207a04:_0x1d912b['splice'](_0x3b00d6,0x1),new StackIterator(_0x1d912b,_0x5b339f);}class StackIterator{constructor(_0x49fdc1,_0x4c9db3){this['heads']=_0x49fdc1,this['node']=_0x4c9db3;}get['next'](){return XI(this['heads']);}}class TreeCursor{get['name'](){return this['type']['name'];}constructor(_0x30e742,_0x5dc0a9=0x0){if(this['mode']=_0x5dc0a9,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x30e742 instanceof TreeNode)this['yieldNode'](_0x30e742);else{this['_tree']=_0x30e742['context']['parent'],this['buffer']=_0x30e742['context'];for(let _0x4d33f=_0x30e742['_parent'];_0x4d33f;_0x4d33f=_0x4d33f['_parent'])this['stack']['unshift'](_0x4d33f['index']);this['bufferNode']=_0x30e742,this['yieldBuf'](_0x30e742['index']);}}['yieldNode'](_0x197ad3){return!!_0x197ad3&&(this['_tree']=_0x197ad3,this['type']=_0x197ad3['type'],this['from']=_0x197ad3['from'],this['to']=_0x197ad3['to'],!0x0);}['yieldBuf'](_0x1897e9,_0x1325cc){this['index']=_0x1897e9;let {start:_0x9108f3,buffer:_0x1a55b5}=this['buffer'];return this['type']=_0x1325cc||_0x1a55b5['set']['types'][_0x1a55b5['buffer'][_0x1897e9]],this['from']=_0x9108f3+_0x1a55b5['buffer'][_0x1897e9+0x1],this['to']=_0x9108f3+_0x1a55b5['buffer'][_0x1897e9+0x2],!0x0;}['yield'](_0x31d19e){return!!_0x31d19e&&(_0x31d19e instanceof TreeNode?(this['buffer']=null,this['yieldNode'](_0x31d19e)):(this['buffer']=_0x31d19e['context'],this['yieldBuf'](_0x31d19e['index'],_0x31d19e['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x48ce55,_0x2b68fc,_0xfc2d82){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x48ce55<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x48ce55,_0x2b68fc,_0xfc2d82,this['mode']));let {buffer:_0x53e8a4}=this['buffer'],_0xa2e6aa=_0x53e8a4['findChild'](this['index']+0x4,_0x53e8a4['buffer'][this['index']+0x3],_0x48ce55,_0x2b68fc-this['buffer']['start'],_0xfc2d82);return!(_0xa2e6aa<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0xa2e6aa));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x2b9e89){return this['enterChild'](0x1,_0x2b9e89,0x2);}['childBefore'](_0x23a767){return this['enterChild'](-0x1,_0x23a767,-0x2);}['enter'](_0x654cdd,_0x6e570f,_0x452951=this['mode']){return this['buffer']?!(_0x452951&jI['ExcludeBuffers'])&&this['enterChild'](0x1,_0x654cdd,_0x6e570f):this['yield'](this['_tree']['enter'](_0x654cdd,_0x6e570f,_0x452951));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&jI['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x43caf3=this['mode']&jI['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x43caf3);}['sibling'](_0x464dea){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x464dea,_0x464dea,0x0,0x4,this['mode']));let {buffer:_0xe2d5e}=this['buffer'],_0x13f68b=this['stack']['length']-0x1;if(_0x464dea<0x0){let _0x5006b4=_0x13f68b<0x0?0x0:this['stack'][_0x13f68b]+0x4;if(this['index']!=_0x5006b4)return this['yieldBuf'](_0xe2d5e['findChild'](_0x5006b4,this['index'],-0x1,0x0,0x4));}else{let _0x46897b=_0xe2d5e['buffer'][this['index']+0x3];if(_0x46897b<(_0x13f68b<0x0?_0xe2d5e['buffer']['length']:_0xe2d5e['buffer'][this['stack'][_0x13f68b]+0x3]))return this['yieldBuf'](_0x46897b);}return _0x13f68b<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x464dea,_0x464dea,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x127edc){let _0x43c9d9,_0x869c43,{buffer:_0x1c049b}=this;if(_0x1c049b){if(_0x127edc>0x0){if(this['index']<_0x1c049b['buffer']['buffer']['length'])return!0x1;}else{for(let _0x18b534=0x0;_0x18b534<this['index'];_0x18b534++)if(_0x1c049b['buffer']['buffer'][_0x18b534+0x3]<this['index'])return!0x1;}({index:_0x43c9d9,parent:_0x869c43}=_0x1c049b);}else({index:_0x43c9d9,_parent:_0x869c43}=this['_tree']);for(;_0x869c43;{index:_0x43c9d9,_parent:_0x869c43}=_0x869c43)if(_0x43c9d9>-0x1)for(let _0x547353=_0x43c9d9+_0x127edc,_0x337941=_0x127edc<0x0?-0x1:_0x869c43['_tree']['children']['length'];_0x547353!=_0x337941;_0x547353+=_0x127edc){let _0x59d993=_0x869c43['_tree']['children'][_0x547353];if(this['mode']&jI['IncludeAnonymous']||_0x59d993 instanceof TreeBuffer||!_0x59d993['type']['isAnonymous']||qI(_0x59d993))return!0x1;}return!0x0;}['move'](_0x2cc9d1,_0x34330f){if(_0x34330f&&this['enterChild'](_0x2cc9d1,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x2cc9d1))return!0x0;if(this['atLastNode'](_0x2cc9d1)||!this['parent']())return!0x1;}}['next'](_0x3c76ee=!0x0){return this['move'](0x1,_0x3c76ee);}['prev'](_0x41b4d2=!0x0){return this['move'](-0x1,_0x41b4d2);}['moveTo'](_0x13dd23,_0x466196=0x0){for(;(this['from']==this['to']||(_0x466196<0x1?this['from']>=_0x13dd23:this['from']>_0x13dd23)||(_0x466196>-0x1?this['to']<=_0x13dd23:this['to']<_0x13dd23))&&this['parent'](););for(;this['enterChild'](0x1,_0x13dd23,_0x466196););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x308011=this['bufferNode'],_0x29227d=null,_0x475583=0x0;if(_0x308011&&_0x308011['context']==this['buffer']){t:for(let _0x4896b8=this['index'],_0x3a1688=this['stack']['length'];_0x3a1688>=0x0;){for(let _0x1c47b9=_0x308011;_0x1c47b9;_0x1c47b9=_0x1c47b9['_parent'])if(_0x1c47b9['index']==_0x4896b8){if(_0x4896b8==this['index'])return _0x1c47b9;_0x29227d=_0x1c47b9,_0x475583=_0x3a1688+0x1;break t;}_0x4896b8=this['stack'][--_0x3a1688];}}for(let _0x2ebc0c=_0x475583;_0x2ebc0c<this['stack']['length'];_0x2ebc0c++)_0x29227d=new BufferNode(this['buffer'],_0x29227d,this['stack'][_0x2ebc0c]);return this['bufferNode']=new BufferNode(this['buffer'],_0x29227d,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x5d7bd7,_0x172542){for(let _0x2e2a97=0x0;;){let _0x638130=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x5d7bd7(this)){if(this['firstChild']()){_0x2e2a97++;continue;}this['type']['isAnonymous']||(_0x638130=!0x0);}for(;;){if(_0x638130&&_0x172542&&_0x172542(this),_0x638130=this['type']['isAnonymous'],!_0x2e2a97)return;if(this['nextSibling']())break;this['parent'](),_0x2e2a97--,_0x638130=!0x0;}}}['matchContext'](_0x2a4463){if(!this['buffer'])return ZI(this['node']['parent'],_0x2a4463);let {buffer:_0x5a79d9}=this['buffer'],{types:_0x1ca3eb}=_0x5a79d9['set'];for(let _0x5556b0=_0x2a4463['length']-0x1,_0x536daf=this['stack']['length']-0x1;_0x5556b0>=0x0;_0x536daf--){if(_0x536daf<0x0)return ZI(this['_tree'],_0x2a4463,_0x5556b0);let _0x1bc7b5=_0x1ca3eb[_0x5a79d9['buffer'][this['stack'][_0x536daf]]];if(!_0x1bc7b5['isAnonymous']){if(_0x2a4463[_0x5556b0]&&_0x2a4463[_0x5556b0]!=_0x1bc7b5['name'])return!0x1;_0x5556b0--;}}return!0x0;}}function qI(_0x1a6d43){return _0x1a6d43['children']['some'](_0x30ff49=>_0x30ff49 instanceof TreeBuffer||!_0x30ff49['type']['isAnonymous']||qI(_0x30ff49));}const WI=new WeakMap();function zI(_0x329f19,_0x197236){if(!_0x329f19['isAnonymous']||_0x197236 instanceof TreeBuffer||_0x197236['type']!=_0x329f19)return 0x1;let _0x437bb2=WI['get'](_0x197236);if(null==_0x437bb2){_0x437bb2=0x1;for(let _0xee6dd1 of _0x197236['children']){if(_0xee6dd1['type']!=_0x329f19||!(_0xee6dd1 instanceof Tree)){_0x437bb2=0x1;break;}_0x437bb2+=zI(_0x329f19,_0xee6dd1);}WI['set'](_0x197236,_0x437bb2);}return _0x437bb2;}function YI(_0x522d2b,_0x50ae0a,_0x8255fa,_0x5b2c0b,_0x458af6,_0xc485a2,_0xfb0718,_0x2961d5,_0x21f9db){let _0x1c5491=0x0;for(let _0x40aa33=_0x5b2c0b;_0x40aa33<_0x458af6;_0x40aa33++)_0x1c5491+=zI(_0x522d2b,_0x50ae0a[_0x40aa33]);let _0x517eff=Math['ceil'](1.5*_0x1c5491/0x8),_0xbf784c=[],_0x5f3424=[];return function _0x1f123b(_0x125c63,_0xb32253,_0x34bf1b,_0x234179,_0x26a0b6){for(let _0x3cafdc=_0x34bf1b;_0x3cafdc<_0x234179;){let _0x2befab=_0x3cafdc,_0x2002f7=_0xb32253[_0x3cafdc],_0x200d13=zI(_0x522d2b,_0x125c63[_0x3cafdc]);for(_0x3cafdc++;_0x3cafdc<_0x234179;_0x3cafdc++){let _0x8dc9d4=zI(_0x522d2b,_0x125c63[_0x3cafdc]);if(_0x200d13+_0x8dc9d4>=_0x517eff)break;_0x200d13+=_0x8dc9d4;}if(_0x3cafdc==_0x2befab+0x1){if(_0x200d13>_0x517eff){let _0x5b2c8d=_0x125c63[_0x2befab];_0x1f123b(_0x5b2c8d['children'],_0x5b2c8d['positions'],0x0,_0x5b2c8d['children']['length'],_0xb32253[_0x2befab]+_0x26a0b6);continue;}_0xbf784c['push'](_0x125c63[_0x2befab]);}else{let _0x3aa881=_0xb32253[_0x3cafdc-0x1]+_0x125c63[_0x3cafdc-0x1]['length']-_0x2002f7;_0xbf784c['push'](YI(_0x522d2b,_0x125c63,_0xb32253,_0x2befab,_0x3cafdc,_0x2002f7,_0x3aa881,null,_0x21f9db));}_0x5f3424['push'](_0x2002f7+_0x26a0b6-_0xc485a2);}}(_0x50ae0a,_0x8255fa,_0x5b2c0b,_0x458af6,0x0),(_0x2961d5||_0x21f9db)(_0xbf784c,_0x5f3424,_0xfb0718);}class NodeWeakMap{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x1fad1a,_0x2ff949,_0x24a16b){let _0x473e40=this['map']['get'](_0x1fad1a);_0x473e40||this['map']['set'](_0x1fad1a,_0x473e40=new Map()),_0x473e40['set'](_0x2ff949,_0x24a16b);}['getBuffer'](_0x1bcf90,_0x79e1da){let _0x70b1e3=this['map']['get'](_0x1bcf90);return _0x70b1e3&&_0x70b1e3['get'](_0x79e1da);}['set'](_0x2f2ee6,_0x156e19){_0x2f2ee6 instanceof BufferNode?this['setBuffer'](_0x2f2ee6['context']['buffer'],_0x2f2ee6['index'],_0x156e19):_0x2f2ee6 instanceof TreeNode&&this['map']['set'](_0x2f2ee6['tree'],_0x156e19);}['get'](_0x39caf0){return _0x39caf0 instanceof BufferNode?this['getBuffer'](_0x39caf0['context']['buffer'],_0x39caf0['index']):_0x39caf0 instanceof TreeNode?this['map']['get'](_0x39caf0['tree']):void 0x0;}['cursorSet'](_0x38a90f,_0x11c968){_0x38a90f['buffer']?this['setBuffer'](_0x38a90f['buffer']['buffer'],_0x38a90f['index'],_0x11c968):this['map']['set'](_0x38a90f['tree'],_0x11c968);}['cursorGet'](_0x1bd0df){return _0x1bd0df['buffer']?this['getBuffer'](_0x1bd0df['buffer']['buffer'],_0x1bd0df['index']):this['map']['get'](_0x1bd0df['tree']);}}class TreeFragment{constructor(_0x26afa1,_0x542b2c,_0x48217c,_0x107458,_0xb2dc02=!0x1,_0x31ba4f=!0x1){this['from']=_0x26afa1,this['to']=_0x542b2c,this['tree']=_0x48217c,this['offset']=_0x107458,this['open']=(_0xb2dc02?0x1:0x0)|(_0x31ba4f?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x25df0a,_0x118375=[],_0x57ebc2=!0x1){let _0x4b5fe1=[new TreeFragment(0x0,_0x25df0a['length'],_0x25df0a,0x0,!0x1,_0x57ebc2)];for(let _0x341a56 of _0x118375)_0x341a56['to']>_0x25df0a['length']&&_0x4b5fe1['push'](_0x341a56);return _0x4b5fe1;}static['applyChanges'](_0x1187e6,_0x45ade6,_0x4902e8=0x80){if(!_0x45ade6['length'])return _0x1187e6;let _0x16b8a2=[],_0x276491=0x1,_0x89d4b2=_0x1187e6['length']?_0x1187e6[0x0]:null;for(let _0x25a57=0x0,_0x5b0301=0x0,_0x3941bf=0x0;;_0x25a57++){let _0x261354=_0x25a57<_0x45ade6['length']?_0x45ade6[_0x25a57]:null,_0x1289d1=_0x261354?_0x261354['fromA']:0x3b9aca00;if(_0x1289d1-_0x5b0301>=_0x4902e8)for(;_0x89d4b2&&_0x89d4b2['from']<_0x1289d1;){let _0x4535e3=_0x89d4b2;if(_0x5b0301>=_0x4535e3['from']||_0x1289d1<=_0x4535e3['to']||_0x3941bf){let _0x442050=Math['max'](_0x4535e3['from'],_0x5b0301)-_0x3941bf,_0x461f89=Math['min'](_0x4535e3['to'],_0x1289d1)-_0x3941bf;_0x4535e3=_0x442050>=_0x461f89?null:new TreeFragment(_0x442050,_0x461f89,_0x4535e3['tree'],_0x4535e3['offset']+_0x3941bf,_0x25a57>0x0,!!_0x261354);}if(_0x4535e3&&_0x16b8a2['push'](_0x4535e3),_0x89d4b2['to']>_0x1289d1)break;_0x89d4b2=_0x276491<_0x1187e6['length']?_0x1187e6[_0x276491++]:null;}if(!_0x261354)break;_0x5b0301=_0x261354['toA'],_0x3941bf=_0x261354['toA']-_0x261354['toB'];}return _0x16b8a2;}}class Parser{['startParse'](_0x39935f,_0x2591ff,_0x21743a){return'string'==typeof _0x39935f&&(_0x39935f=new StringInput(_0x39935f)),_0x21743a=_0x21743a?_0x21743a['length']?_0x21743a['map'](_0x22cb74=>new Range(_0x22cb74['from'],_0x22cb74['to'])):[new Range(0x0,0x0)]:[new Range(0x0,_0x39935f['length'])],this['createParse'](_0x39935f,_0x2591ff||[],_0x21743a);}['parse'](_0x67c825,_0x1ec517,_0xe38d53){let _0x75bb08=this['startParse'](_0x67c825,_0x1ec517,_0xe38d53);for(;;){let _0x588282=_0x75bb08['advance']();if(_0x588282)return _0x588282;}}}class StringInput{constructor(_0x6772e6){this['string']=_0x6772e6;}get['length'](){return this['string']['length'];}['chunk'](_0x1a036a){return this['string']['slice'](_0x1a036a);}get['lineChunks'](){return!0x1;}['read'](_0x1fd8bb,_0x6b8aa3){return this['string']['slice'](_0x1fd8bb,_0x6b8aa3);}}function KI(_0x31a2fe){return(_0x55d4c5,_0x3fef10,_0x348e62,_0x4511bf)=>new MixedParse(_0x55d4c5,_0x31a2fe,_0x3fef10,_0x348e62,_0x4511bf);}class InnerParse{constructor(_0x528389,_0x2b8b8b,_0x31f3a0,_0x1c9f84,_0x5bb3e4){this['parser']=_0x528389,this['parse']=_0x2b8b8b,this['overlay']=_0x31f3a0,this['target']=_0x1c9f84,this['from']=_0x5bb3e4;}}function JI(_0x37f04){if(!_0x37f04['length']||_0x37f04['some'](_0xdd9064=>_0xdd9064['from']>=_0xdd9064['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x37f04));}class ActiveOverlay{constructor(_0x56a912,_0x461224,_0x54a268,_0x2fef8f,_0x14b81f,_0x1acedb,_0x4805ef){this['parser']=_0x56a912,this['predicate']=_0x461224,this['mounts']=_0x54a268,this['index']=_0x2fef8f,this['start']=_0x14b81f,this['target']=_0x1acedb,this['prev']=_0x4805ef,this['depth']=0x0,this['ranges']=[];}}const tC=new NodeProp({'perNode':!0x0});class MixedParse{constructor(_0x2c8852,_0x13c43c,_0x334963,_0x31217b,_0x1ecc6b){this['nest']=_0x13c43c,this['input']=_0x334963,this['fragments']=_0x31217b,this['ranges']=_0x1ecc6b,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x2c8852;}['advance'](){if(this['baseParse']){let _0x39af55=this['baseParse']['advance']();if(!_0x39af55)return null;if(this['baseParse']=null,this['baseTree']=_0x39af55,this['startInner'](),null!=this['stoppedAt']){for(let _0x309b85 of this['inner'])_0x309b85['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x2fc8cf=this['baseTree'];return null!=this['stoppedAt']&&(_0x2fc8cf=new Tree(_0x2fc8cf['type'],_0x2fc8cf['children'],_0x2fc8cf['positions'],_0x2fc8cf['length'],_0x2fc8cf['propValues']['concat']([[tC,this['stoppedAt']]]))),_0x2fc8cf;}let _0x43dd04=this['inner'][this['innerDone']],_0x2bf533=_0x43dd04['parse']['advance']();if(_0x2bf533){this['innerDone']++;let _0x409bc9=Object['assign'](Object['create'](null),_0x43dd04['target']['props']);_0x409bc9[NodeProp['mounted']['id']]=new MountedTree(_0x2bf533,_0x43dd04['overlay'],_0x43dd04['parser']),_0x43dd04['target']['props']=_0x409bc9;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x552280=this['input']['length'];for(let _0x320cd5=this['innerDone'];_0x320cd5<this['inner']['length'];_0x320cd5++)this['inner'][_0x320cd5]['from']<_0x552280&&(_0x552280=Math['min'](_0x552280,this['inner'][_0x320cd5]['parse']['parsedPos']));return _0x552280;}['stopAt'](_0x3b21e3){if(this['stoppedAt']=_0x3b21e3,this['baseParse'])this['baseParse']['stopAt'](_0x3b21e3);else{for(let _0x3b5272=this['innerDone'];_0x3b5272<this['inner']['length'];_0x3b5272++)this['inner'][_0x3b5272]['parse']['stopAt'](_0x3b21e3);}}['startInner'](){let _0xb9e42a=new nC(this['fragments']),_0x57e5=null,_0x261516=null,_0x40092d=new TreeCursor(new TreeNode(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),jI['IncludeAnonymous']|jI['IgnoreMounts']);t:for(let _0x198ba3,_0x5589ce;;){let _0x83ffd6,_0x1913cf=!0x0;if(null!=this['stoppedAt']&&_0x40092d['from']>=this['stoppedAt'])_0x1913cf=!0x1;else{if(_0xb9e42a['hasNode'](_0x40092d)){if(_0x57e5){let _0x5da18b=_0x57e5['mounts']['find'](_0x1c179d=>_0x1c179d['frag']['from']<=_0x40092d['from']&&_0x1c179d['frag']['to']>=_0x40092d['to']&&_0x1c179d['mount']['overlay']);if(_0x5da18b)for(let _0x5de283 of _0x5da18b['mount']['overlay']){let _0x2b294c=_0x5de283['from']+_0x5da18b['pos'],_0xd2b819=_0x5de283['to']+_0x5da18b['pos'];_0x2b294c>=_0x40092d['from']&&_0xd2b819<=_0x40092d['to']&&!_0x57e5['ranges']['some'](_0x33a9a5=>_0x33a9a5['from']<_0xd2b819&&_0x33a9a5['to']>_0x2b294c)&&_0x57e5['ranges']['push']({'from':_0x2b294c,'to':_0xd2b819});}}_0x1913cf=!0x1;}else{if(_0x261516&&(_0x5589ce=eC(_0x261516['ranges'],_0x40092d['from'],_0x40092d['to'])))_0x1913cf=0x2!=_0x5589ce;else{if(!_0x40092d['type']['isAnonymous']&&(_0x198ba3=this['nest'](_0x40092d,this['input']))&&(_0x40092d['from']<_0x40092d['to']||!_0x198ba3['overlay'])){_0x40092d['tree']||(sC(_0x40092d),_0x57e5&&_0x57e5['depth']++,_0x261516&&_0x261516['depth']++);let _0x457c09=_0xb9e42a['findMounts'](_0x40092d['from'],_0x198ba3['parser']);if('function'==typeof _0x198ba3['overlay'])_0x57e5=new ActiveOverlay(_0x198ba3['parser'],_0x198ba3['overlay'],_0x457c09,this['inner']['length'],_0x40092d['from'],_0x40092d['tree'],_0x57e5);else{let _0x54be7b=rC(this['ranges'],_0x198ba3['overlay']||(_0x40092d['from']<_0x40092d['to']?[new Range(_0x40092d['from'],_0x40092d['to'])]:[]));_0x54be7b['length']&&JI(_0x54be7b),!_0x54be7b['length']&&_0x198ba3['overlay']||this['inner']['push'](new InnerParse(_0x198ba3['parser'],_0x54be7b['length']?_0x198ba3['parser']['startParse'](this['input'],aC(_0x457c09,_0x54be7b),_0x54be7b):_0x198ba3['parser']['startParse'](''),_0x198ba3['overlay']?_0x198ba3['overlay']['map'](_0x83b9e=>new Range(_0x83b9e['from']-_0x40092d['from'],_0x83b9e['to']-_0x40092d['from'])):null,_0x40092d['tree'],_0x54be7b['length']?_0x54be7b[0x0]['from']:_0x40092d['from'])),_0x198ba3['overlay']?_0x54be7b['length']&&(_0x261516={'ranges':_0x54be7b,'depth':0x0,'prev':_0x261516}):_0x1913cf=!0x1;}}else{if(_0x57e5&&(_0x83ffd6=_0x57e5['predicate'](_0x40092d))&&(!0x0===_0x83ffd6&&(_0x83ffd6=new Range(_0x40092d['from'],_0x40092d['to'])),_0x83ffd6['from']<_0x83ffd6['to'])){let _0x2f99e8=_0x57e5['ranges']['length']-0x1;_0x2f99e8>=0x0&&_0x57e5['ranges'][_0x2f99e8]['to']==_0x83ffd6['from']?_0x57e5['ranges'][_0x2f99e8]={'from':_0x57e5['ranges'][_0x2f99e8]['from'],'to':_0x83ffd6['to']}:_0x57e5['ranges']['push'](_0x83ffd6);}}}}}if(_0x1913cf&&_0x40092d['firstChild']())_0x57e5&&_0x57e5['depth']++,_0x261516&&_0x261516['depth']++;else for(;!_0x40092d['nextSibling']();){if(!_0x40092d['parent']())break t;if(_0x57e5&&!--_0x57e5['depth']){let _0x90e966=rC(this['ranges'],_0x57e5['ranges']);_0x90e966['length']&&(JI(_0x90e966),this['inner']['splice'](_0x57e5['index'],0x0,new InnerParse(_0x57e5['parser'],_0x57e5['parser']['startParse'](this['input'],aC(_0x57e5['mounts'],_0x90e966),_0x90e966),_0x57e5['ranges']['map'](_0x4259be=>new Range(_0x4259be['from']-_0x57e5['start'],_0x4259be['to']-_0x57e5['start'])),_0x57e5['target'],_0x90e966[0x0]['from']))),_0x57e5=_0x57e5['prev'];}_0x261516&&!--_0x261516['depth']&&(_0x261516=_0x261516['prev']);}}}}function eC(_0x313608,_0x2ce149,_0x496eb1){for(let _0x4310ee of _0x313608){if(_0x4310ee['from']>=_0x496eb1)break;if(_0x4310ee['to']>_0x2ce149)return _0x4310ee['from']<=_0x2ce149&&_0x4310ee['to']>=_0x496eb1?0x2:0x1;}return 0x0;}function iC(_0x1619e3,_0x4fc2f0,_0x3ea8f0,_0x1016ab,_0x47d3d5,_0x75db28){if(_0x4fc2f0<_0x3ea8f0){let _0x3dd007=_0x1619e3['buffer'][_0x4fc2f0+0x1];_0x1016ab['push'](_0x1619e3['slice'](_0x4fc2f0,_0x3ea8f0,_0x3dd007)),_0x47d3d5['push'](_0x3dd007-_0x75db28);}}function sC(_0x42f137){let {node:_0xaaeb94}=_0x42f137,_0x547640=[],_0x391313=_0xaaeb94['context']['buffer'];do{_0x547640['push'](_0x42f137['index']),_0x42f137['parent']();}while(!_0x42f137['tree']);let _0x501180=_0x42f137['tree'],_0x1b9bda=_0x501180['children']['indexOf'](_0x391313),_0x23fea8=_0x501180['children'][_0x1b9bda],_0x101c95=_0x23fea8['buffer'],_0x4de77c=[_0x1b9bda];_0x501180['children'][_0x1b9bda]=function _0x382e81(_0x77906c,_0x7511f7,_0x1dacb0,_0x2b56d9,_0x5f1b59,_0x482602){let _0x2979fc=_0x547640[_0x482602],_0xfb6dce=[],_0x221ae6=[];iC(_0x23fea8,_0x77906c,_0x2979fc,_0xfb6dce,_0x221ae6,_0x2b56d9);let _0xeb9aef=_0x101c95[_0x2979fc+0x1],_0x2e681e=_0x101c95[_0x2979fc+0x2];_0x4de77c['push'](_0xfb6dce['length']);let _0x52b3a2=_0x482602?_0x382e81(_0x2979fc+0x4,_0x101c95[_0x2979fc+0x3],_0x23fea8['set']['types'][_0x101c95[_0x2979fc]],_0xeb9aef,_0x2e681e-_0xeb9aef,_0x482602-0x1):_0xaaeb94['toTree']();return _0xfb6dce['push'](_0x52b3a2),_0x221ae6['push'](_0xeb9aef-_0x2b56d9),iC(_0x23fea8,_0x101c95[_0x2979fc+0x3],_0x7511f7,_0xfb6dce,_0x221ae6,_0x2b56d9),new Tree(_0x1dacb0,_0xfb6dce,_0x221ae6,_0x5f1b59);}(0x0,_0x101c95['length'],NodeType['none'],0x0,_0x23fea8['length'],_0x547640['length']-0x1);for(let _0x1520d6 of _0x4de77c){let _0x3540cf=_0x42f137['tree']['children'][_0x1520d6],_0x136031=_0x42f137['tree']['positions'][_0x1520d6];_0x42f137['yield'](new TreeNode(_0x3540cf,_0x136031+_0x42f137['from'],_0x1520d6,_0x42f137['_tree']));}}class StructureCursor{constructor(_0x2ec76a,_0x202191){this['offset']=_0x202191,this['done']=!0x1,this['cursor']=_0x2ec76a['cursor'](jI['IncludeAnonymous']|jI['IgnoreMounts']);}['moveTo'](_0x551180){let {cursor:_0x15f1c6}=this,_0x3aa2e4=_0x551180-this['offset'];for(;!this['done']&&_0x15f1c6['from']<_0x3aa2e4;)_0x15f1c6['to']>=_0x551180&&_0x15f1c6['enter'](_0x3aa2e4,0x1,jI['IgnoreOverlays']|jI['ExcludeBuffers'])||_0x15f1c6['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x177d70){if(this['moveTo'](_0x177d70['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x177d70['from']&&this['cursor']['tree'])for(let _0x444b3d=this['cursor']['tree'];;){if(_0x444b3d==_0x177d70['tree'])return!0x0;if(!(_0x444b3d['children']['length']&&0x0==_0x444b3d['positions'][0x0]&&_0x444b3d['children'][0x0]instanceof Tree))break;_0x444b3d=_0x444b3d['children'][0x0];}return!0x1;}}let nC=class FragmentCursor{constructor(_0x395411){var _0x24cb6f;if(this['fragments']=_0x395411,this['curTo']=0x0,this['fragI']=0x0,_0x395411['length']){let _0x50ca43=this['curFrag']=_0x395411[0x0];this['curTo']=null!==(_0x24cb6f=_0x50ca43['tree']['prop'](tC))&&void 0x0!==_0x24cb6f?_0x24cb6f:_0x50ca43['to'],this['inner']=new StructureCursor(_0x50ca43['tree'],-_0x50ca43['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x5ec12b){for(;this['curFrag']&&_0x5ec12b['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x5ec12b['from']&&this['curTo']>=_0x5ec12b['to']&&this['inner']['hasNode'](_0x5ec12b);}['nextFrag'](){var _0x2d6ea4;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x518af5=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x2d6ea4=_0x518af5['tree']['prop'](tC))&&void 0x0!==_0x2d6ea4?_0x2d6ea4:_0x518af5['to'],this['inner']=new StructureCursor(_0x518af5['tree'],-_0x518af5['offset']);}}['findMounts'](_0x3bf8a2,_0x3936a2){var _0x39fcf5;let _0x22e42c=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x3bf8a2,0x1);for(let _0x1ee7c6=this['inner']['cursor']['node'];_0x1ee7c6;_0x1ee7c6=_0x1ee7c6['parent']){let _0x12929a=null===(_0x39fcf5=_0x1ee7c6['tree'])||void 0x0===_0x39fcf5?void 0x0:_0x39fcf5['prop'](NodeProp['mounted']);if(_0x12929a&&_0x12929a['parser']==_0x3936a2)for(let _0x2d1f60=this['fragI'];_0x2d1f60<this['fragments']['length'];_0x2d1f60++){let _0x5ee482=this['fragments'][_0x2d1f60];if(_0x5ee482['from']>=_0x1ee7c6['to'])break;_0x5ee482['tree']==this['curFrag']['tree']&&_0x22e42c['push']({'frag':_0x5ee482,'pos':_0x1ee7c6['from']-_0x5ee482['offset'],'mount':_0x12929a});}}}return _0x22e42c;}};function rC(_0x4fa08c,_0x1edd0d){let _0x23b20d=null,_0x22738c=_0x1edd0d;for(let _0x4b2a44=0x1,_0x137d3a=0x0;_0x4b2a44<_0x4fa08c['length'];_0x4b2a44++){let _0x20c737=_0x4fa08c[_0x4b2a44-0x1]['to'],_0x52225c=_0x4fa08c[_0x4b2a44]['from'];for(;_0x137d3a<_0x22738c['length'];_0x137d3a++){let _0x554363=_0x22738c[_0x137d3a];if(_0x554363['from']>=_0x52225c)break;_0x554363['to']<=_0x20c737||(_0x23b20d||(_0x22738c=_0x23b20d=_0x1edd0d['slice']()),_0x554363['from']<_0x20c737?(_0x23b20d[_0x137d3a]=new Range(_0x554363['from'],_0x20c737),_0x554363['to']>_0x52225c&&_0x23b20d['splice'](_0x137d3a+0x1,0x0,new Range(_0x52225c,_0x554363['to']))):_0x554363['to']>_0x52225c?_0x23b20d[_0x137d3a--]=new Range(_0x52225c,_0x554363['to']):_0x23b20d['splice'](_0x137d3a--,0x1));}}return _0x22738c;}function oC(_0x260514,_0x3ab03c,_0x37e1df,_0x2d9da9){let _0x54a657=0x0,_0x227970=0x0,_0x2f553a=!0x1,_0x5731f8=!0x1,_0xf00e8a=-0x3b9aca00,_0x140d54=[];for(;;){let _0x452097=_0x54a657==_0x260514['length']?0x3b9aca00:_0x2f553a?_0x260514[_0x54a657]['to']:_0x260514[_0x54a657]['from'],_0x29f0a6=_0x227970==_0x3ab03c['length']?0x3b9aca00:_0x5731f8?_0x3ab03c[_0x227970]['to']:_0x3ab03c[_0x227970]['from'];if(_0x2f553a!=_0x5731f8){let _0xa85ba4=Math['max'](_0xf00e8a,_0x37e1df),_0x5b9196=Math['min'](_0x452097,_0x29f0a6,_0x2d9da9);_0xa85ba4<_0x5b9196&&_0x140d54['push'](new Range(_0xa85ba4,_0x5b9196));}if(_0xf00e8a=Math['min'](_0x452097,_0x29f0a6),0x3b9aca00==_0xf00e8a)break;_0x452097==_0xf00e8a&&(_0x2f553a?(_0x2f553a=!0x1,_0x54a657++):_0x2f553a=!0x0),_0x29f0a6==_0xf00e8a&&(_0x5731f8?(_0x5731f8=!0x1,_0x227970++):_0x5731f8=!0x0);}return _0x140d54;}function aC(_0xf0453d,_0x2ebd4f){let _0x233ea6=[];for(let {pos:_0x5b014b,mount:_0x3a53cf,frag:_0x1ebdc3}of _0xf0453d){let _0x46b5df=_0x5b014b+(_0x3a53cf['overlay']?_0x3a53cf['overlay'][0x0]['from']:0x0),_0xf7a93a=_0x46b5df+_0x3a53cf['tree']['length'],_0x41b0cd=Math['max'](_0x1ebdc3['from'],_0x46b5df),_0x5da11f=Math['min'](_0x1ebdc3['to'],_0xf7a93a);if(_0x3a53cf['overlay']){let _0x4af66e=oC(_0x2ebd4f,_0x3a53cf['overlay']['map'](_0x830d46=>new Range(_0x830d46['from']+_0x5b014b,_0x830d46['to']+_0x5b014b)),_0x41b0cd,_0x5da11f);for(let _0x59a955=0x0,_0x2cc140=_0x41b0cd;;_0x59a955++){let _0x4bc971=_0x59a955==_0x4af66e['length'],_0x4c76cf=_0x4bc971?_0x5da11f:_0x4af66e[_0x59a955]['from'];if(_0x4c76cf>_0x2cc140&&_0x233ea6['push'](new TreeFragment(_0x2cc140,_0x4c76cf,_0x3a53cf['tree'],-_0x46b5df,_0x1ebdc3['from']>=_0x2cc140||_0x1ebdc3['openStart'],_0x1ebdc3['to']<=_0x4c76cf||_0x1ebdc3['openEnd'])),_0x4bc971)break;_0x2cc140=_0x4af66e[_0x59a955]['to'];}}else _0x233ea6['push'](new TreeFragment(_0x41b0cd,_0x5da11f,_0x3a53cf['tree'],-_0x46b5df,_0x1ebdc3['from']>=_0x46b5df||_0x1ebdc3['openStart'],_0x1ebdc3['to']<=_0xf7a93a||_0x1ebdc3['openEnd']));}return _0x233ea6;}let cC=0x0;class Tag{constructor(_0x23d899,_0xa7cc00,_0x1e66fd,_0x5bab5c){this['name']=_0x23d899,this['set']=_0xa7cc00,this['base']=_0x1e66fd,this['modified']=_0x5bab5c,this['id']=cC++;}['toString'](){let {name:_0x2c80d1}=this;for(let _0x412e24 of this['modified'])_0x412e24['name']&&(_0x2c80d1=_0x412e24['name']+'('+_0x2c80d1+')');return _0x2c80d1;}static['define'](_0x19b0b6,_0xadb9de){let _0x587667='string'==typeof _0x19b0b6?_0x19b0b6:'?';if(_0x19b0b6 instanceof Tag&&(_0xadb9de=_0x19b0b6),null==_0xadb9de?void 0x0:_0xadb9de['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0xe6fdbd=new Tag(_0x587667,[],null,[]);if(_0xe6fdbd['set']['push'](_0xe6fdbd),_0xadb9de){for(let t of _0xadb9de['set'])_0xe6fdbd['set']['push'](t);}return _0xe6fdbd;}static['defineModifier'](_0x1d14e5){let _0x915557=new Modifier(_0x1d14e5);return _0x593849=>_0x593849['modified']['indexOf'](_0x915557)>-0x1?_0x593849:Modifier['get'](_0x593849['base']||_0x593849,_0x593849['modified']['concat'](_0x915557)['sort']((_0x10b0e1,_0x17931a)=>_0x10b0e1['id']-_0x17931a['id']));}}let lC=0x0;class Modifier{constructor(_0xeb5b70){this['name']=_0xeb5b70,this['instances']=[],this['id']=lC++;}static['get'](_0x1a3378,_0x31c8e1){if(!_0x31c8e1['length'])return _0x1a3378;let _0x1100b3=_0x31c8e1[0x0]['instances']['find'](t=>{return t['base']==_0x1a3378&&(_0x231acc=_0x31c8e1,_0x162eb7=t['modified'],_0x231acc['length']==_0x162eb7['length']&&_0x231acc['every']((_0x334940,_0x58236c)=>_0x334940==_0x162eb7[_0x58236c]));var _0x231acc,_0x162eb7;});if(_0x1100b3)return _0x1100b3;let _0x5b348a=[],_0x205d33=new Tag(_0x1a3378['name'],_0x5b348a,_0x1a3378,_0x31c8e1);for(let _0x43976e of _0x31c8e1)_0x43976e['instances']['push'](_0x205d33);let _0xf3ea33=function(_0x43b276){let _0x47bc66=[[]];for(let _0x2659ec=0x0;_0x2659ec<_0x43b276['length'];_0x2659ec++)for(let _0x380390=0x0,_0x3777a0=_0x47bc66['length'];_0x380390<_0x3777a0;_0x380390++)_0x47bc66['push'](_0x47bc66[_0x380390]['concat'](_0x43b276[_0x2659ec]));return _0x47bc66['sort']((_0x31137b,_0x9bc51d)=>_0x9bc51d['length']-_0x31137b['length']);}(_0x31c8e1);for(let _0x34ea93 of _0x1a3378['set'])if(!_0x34ea93['modified']['length']){for(let _0x65ed80 of _0xf3ea33)_0x5b348a['push'](Modifier['get'](_0x34ea93,_0x65ed80));}return _0x205d33;}}function hC(_0x3f5bb9){let _0x544b52=Object['create'](null);for(let _0x16343b in _0x3f5bb9){let _0x10f04a=_0x3f5bb9[_0x16343b];Array['isArray'](_0x10f04a)||(_0x10f04a=[_0x10f04a]);for(let _0x4513d0 of _0x16343b['split']('\x20'))if(_0x4513d0){let _0x4f4a7f=[],_0x200b2b=0x2,_0x22f822=_0x4513d0;for(let _0x10fe6e=0x0;;){if('...'==_0x22f822&&_0x10fe6e>0x0&&_0x10fe6e+0x3==_0x4513d0['length']){_0x200b2b=0x1;break;}let _0x39001d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x22f822);if(!_0x39001d)throw new RangeError('Invalid\x20path:\x20'+_0x4513d0);if(_0x4f4a7f['push']('*'==_0x39001d[0x0]?'':'\x22'==_0x39001d[0x0][0x0]?JSON['parse'](_0x39001d[0x0]):_0x39001d[0x0]),_0x10fe6e+=_0x39001d[0x0]['length'],_0x10fe6e==_0x4513d0['length'])break;let _0x1ce41b=_0x4513d0[_0x10fe6e++];if(_0x10fe6e==_0x4513d0['length']&&'!'==_0x1ce41b){_0x200b2b=0x0;break;}if('/'!=_0x1ce41b)throw new RangeError('Invalid\x20path:\x20'+_0x4513d0);_0x22f822=_0x4513d0['slice'](_0x10fe6e);}let _0x81dacb=_0x4f4a7f['length']-0x1,_0x1167bb=_0x4f4a7f[_0x81dacb];if(!_0x1167bb)throw new RangeError('Invalid\x20path:\x20'+_0x4513d0);let _0x164f74=new Rule(_0x10f04a,_0x200b2b,_0x81dacb>0x0?_0x4f4a7f['slice'](0x0,_0x81dacb):null);_0x544b52[_0x1167bb]=_0x164f74['sort'](_0x544b52[_0x1167bb]);}}return uC['add'](_0x544b52);}const uC=new NodeProp({'combine'(_0x2bc185,_0x3dc704){let _0x449a92,_0xb0d241,_0x3bdd28;for(;_0x2bc185||_0x3dc704;){if(!_0x2bc185||_0x3dc704&&_0x2bc185['depth']>=_0x3dc704['depth']?(_0x3bdd28=_0x3dc704,_0x3dc704=_0x3dc704['next']):(_0x3bdd28=_0x2bc185,_0x2bc185=_0x2bc185['next']),_0x449a92&&_0x449a92['mode']==_0x3bdd28['mode']&&!_0x3bdd28['context']&&!_0x449a92['context'])continue;let _0x4e5b7d=new Rule(_0x3bdd28['tags'],_0x3bdd28['mode'],_0x3bdd28['context']);_0x449a92?_0x449a92['next']=_0x4e5b7d:_0xb0d241=_0x4e5b7d,_0x449a92=_0x4e5b7d;}return _0xb0d241;}});class Rule{constructor(_0x26fca7,_0x1717c8,_0x99d01a,_0x533a7a){this['tags']=_0x26fca7,this['mode']=_0x1717c8,this['context']=_0x99d01a,this['next']=_0x533a7a;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x517257){return!_0x517257||_0x517257['depth']<this['depth']?(this['next']=_0x517257,this):(_0x517257['next']=this['sort'](_0x517257['next']),_0x517257);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function dC(_0x3d4204,_0x2ffd2a){let _0x226281=Object['create'](null);for(let _0x32c0f1 of _0x3d4204)if(Array['isArray'](_0x32c0f1['tag'])){for(let _0x48a512 of _0x32c0f1['tag'])_0x226281[_0x48a512['id']]=_0x32c0f1['class'];}else _0x226281[_0x32c0f1['tag']['id']]=_0x32c0f1['class'];let {scope:_0x3ea5c4,all:_0x225b7e=null}=_0x2ffd2a||{};return{'style':_0x6af3ed=>{let _0x47783a=_0x225b7e;for(let _0x188c10 of _0x6af3ed)for(let _0x538254 of _0x188c10['set']){let _0x263204=_0x226281[_0x538254['id']];if(_0x263204){_0x47783a=_0x47783a?_0x47783a+'\x20'+_0x263204:_0x263204;break;}}return _0x47783a;},'scope':_0x3ea5c4};}function fC(_0x283691,_0x385ae6,_0x17cf5f,_0x56a54b=0x0,_0x2dd0ae=_0x283691['length']){let _0xd03703=new HighlightBuilder(_0x56a54b,Array['isArray'](_0x385ae6)?_0x385ae6:[_0x385ae6],_0x17cf5f);_0xd03703['highlightRange'](_0x283691['cursor'](),_0x56a54b,_0x2dd0ae,'',_0xd03703['highlighters']),_0xd03703['flush'](_0x2dd0ae);}Rule['empty']=new Rule([],0x2,null);class HighlightBuilder{constructor(_0x5f3b3d,_0x2b6b44,_0x3fa64b){this['at']=_0x5f3b3d,this['highlighters']=_0x2b6b44,this['span']=_0x3fa64b,this['class']='';}['startSpan'](_0x3d9566,_0x47ace0){_0x47ace0!=this['class']&&(this['flush'](_0x3d9566),_0x3d9566>this['at']&&(this['at']=_0x3d9566),this['class']=_0x47ace0);}['flush'](_0x528692){_0x528692>this['at']&&this['class']&&this['span'](this['at'],_0x528692,this['class']);}['highlightRange'](_0x20f83c,_0x363485,_0x4de985,_0x5335ac,_0x17a75e){let {type:_0x2b56cb,from:_0x256b2e,to:_0x4a38ab}=_0x20f83c;if(_0x256b2e>=_0x4de985||_0x4a38ab<=_0x363485)return;_0x2b56cb['isTop']&&(_0x17a75e=this['highlighters']['filter'](_0xe79707=>!_0xe79707['scope']||_0xe79707['scope'](_0x2b56cb)));let _0x3fbc64=_0x5335ac,_0x4a4cca=function(_0x397fd1){let _0x503c77=_0x397fd1['type']['prop'](uC);for(;_0x503c77&&_0x503c77['context']&&!_0x397fd1['matchContext'](_0x503c77['context']);)_0x503c77=_0x503c77['next'];return _0x503c77||null;}(_0x20f83c)||Rule['empty'],_0x5b6f5f=function(_0x75a24d,_0x37d6fd){let _0x2b9afe=null;for(let _0x5b108c of _0x75a24d){let _0x1fc90a=_0x5b108c['style'](_0x37d6fd);_0x1fc90a&&(_0x2b9afe=_0x2b9afe?_0x2b9afe+'\x20'+_0x1fc90a:_0x1fc90a);}return _0x2b9afe;}(_0x17a75e,_0x4a4cca['tags']);if(_0x5b6f5f&&(_0x3fbc64&&(_0x3fbc64+='\x20'),_0x3fbc64+=_0x5b6f5f,0x1==_0x4a4cca['mode']&&(_0x5335ac+=(_0x5335ac?'\x20':'')+_0x5b6f5f)),this['startSpan'](Math['max'](_0x363485,_0x256b2e),_0x3fbc64),_0x4a4cca['opaque'])return;let _0x2d947f=_0x20f83c['tree']&&_0x20f83c['tree']['prop'](NodeProp['mounted']);if(_0x2d947f&&_0x2d947f['overlay']){let _0x319989=_0x20f83c['node']['enter'](_0x2d947f['overlay'][0x0]['from']+_0x256b2e,0x1),_0x5b2865=this['highlighters']['filter'](_0x1a3d40=>!_0x1a3d40['scope']||_0x1a3d40['scope'](_0x2d947f['tree']['type'])),_0x47d9a2=_0x20f83c['firstChild']();for(let _0x522754=0x0,_0x495acc=_0x256b2e;;_0x522754++){let _0x1164d8=_0x522754<_0x2d947f['overlay']['length']?_0x2d947f['overlay'][_0x522754]:null,_0x20e986=_0x1164d8?_0x1164d8['from']+_0x256b2e:_0x4a38ab,_0x19a546=Math['max'](_0x363485,_0x495acc),_0x5d98b1=Math['min'](_0x4de985,_0x20e986);if(_0x19a546<_0x5d98b1&&_0x47d9a2){for(;_0x20f83c['from']<_0x5d98b1&&(this['highlightRange'](_0x20f83c,_0x19a546,_0x5d98b1,_0x5335ac,_0x17a75e),this['startSpan'](Math['min'](_0x5d98b1,_0x20f83c['to']),_0x3fbc64),!(_0x20f83c['to']>=_0x20e986)&&_0x20f83c['nextSibling']()););}if(!_0x1164d8||_0x20e986>_0x4de985)break;_0x495acc=_0x1164d8['to']+_0x256b2e,_0x495acc>_0x363485&&(this['highlightRange'](_0x319989['cursor'](),Math['max'](_0x363485,_0x1164d8['from']+_0x256b2e),Math['min'](_0x4de985,_0x495acc),'',_0x5b2865),this['startSpan'](Math['min'](_0x4de985,_0x495acc),_0x3fbc64));}_0x47d9a2&&_0x20f83c['parent']();}else{if(_0x20f83c['firstChild']()){_0x2d947f&&(_0x5335ac='');do{if(!(_0x20f83c['to']<=_0x363485)){if(_0x20f83c['from']>=_0x4de985)break;this['highlightRange'](_0x20f83c,_0x363485,_0x4de985,_0x5335ac,_0x17a75e),this['startSpan'](Math['min'](_0x4de985,_0x20f83c['to']),_0x3fbc64);}}while(_0x20f83c['nextSibling']());_0x20f83c['parent']();}}}}const t=Tag['define'],mC=t(),gC=t(),pC=t(gC),OC=t(gC),wC=t(),bC=t(wC),yC=t(wC),vC=t(),_C=t(vC),EC=t(),TC=t(),AC=t(),SC=t(AC),IC=t(),CC={'comment':mC,'lineComment':t(mC),'blockComment':t(mC),'docComment':t(mC),'name':gC,'variableName':t(gC),'typeName':pC,'tagName':t(pC),'propertyName':OC,'attributeName':t(OC),'className':t(gC),'labelName':t(gC),'namespace':t(gC),'macroName':t(gC),'literal':wC,'string':bC,'docString':t(bC),'character':t(bC),'attributeValue':t(bC),'number':yC,'integer':t(yC),'float':t(yC),'bool':t(wC),'regexp':t(wC),'escape':t(wC),'color':t(wC),'url':t(wC),'keyword':EC,'self':t(EC),'null':t(EC),'atom':t(EC),'unit':t(EC),'modifier':t(EC),'operatorKeyword':t(EC),'controlKeyword':t(EC),'definitionKeyword':t(EC),'moduleKeyword':t(EC),'operator':TC,'derefOperator':t(TC),'arithmeticOperator':t(TC),'logicOperator':t(TC),'bitwiseOperator':t(TC),'compareOperator':t(TC),'updateOperator':t(TC),'definitionOperator':t(TC),'typeOperator':t(TC),'controlOperator':t(TC),'punctuation':AC,'separator':t(AC),'bracket':SC,'angleBracket':t(SC),'squareBracket':t(SC),'paren':t(SC),'brace':t(SC),'content':vC,'heading':_C,'heading1':t(_C),'heading2':t(_C),'heading3':t(_C),'heading4':t(_C),'heading5':t(_C),'heading6':t(_C),'contentSeparator':t(vC),'list':t(vC),'quote':t(vC),'emphasis':t(vC),'strong':t(vC),'link':t(vC),'monospace':t(vC),'strikethrough':t(vC),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':IC,'documentMeta':t(IC),'annotation':t(IC),'processingInstruction':t(IC),'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 CC){let s=CC[e];s instanceof Tag&&(s['name']=e);}var kC;dC([{'tag':CC['link'],'class':'tok-link'},{'tag':CC['heading'],'class':'tok-heading'},{'tag':CC['emphasis'],'class':'tok-emphasis'},{'tag':CC['strong'],'class':'tok-strong'},{'tag':CC['keyword'],'class':'tok-keyword'},{'tag':CC['atom'],'class':'tok-atom'},{'tag':CC['bool'],'class':'tok-bool'},{'tag':CC['url'],'class':'tok-url'},{'tag':CC['labelName'],'class':'tok-labelName'},{'tag':CC['inserted'],'class':'tok-inserted'},{'tag':CC['deleted'],'class':'tok-deleted'},{'tag':CC['literal'],'class':'tok-literal'},{'tag':CC['string'],'class':'tok-string'},{'tag':CC['number'],'class':'tok-number'},{'tag':[CC['regexp'],CC['escape'],CC['special'](CC['string'])],'class':'tok-string2'},{'tag':CC['variableName'],'class':'tok-variableName'},{'tag':CC['local'](CC['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':CC['definition'](CC['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':CC['special'](CC['variableName']),'class':'tok-variableName2'},{'tag':CC['definition'](CC['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':CC['typeName'],'class':'tok-typeName'},{'tag':CC['namespace'],'class':'tok-namespace'},{'tag':CC['className'],'class':'tok-className'},{'tag':CC['macroName'],'class':'tok-macroName'},{'tag':CC['propertyName'],'class':'tok-propertyName'},{'tag':CC['operator'],'class':'tok-operator'},{'tag':CC['comment'],'class':'tok-comment'},{'tag':CC['meta'],'class':'tok-meta'},{'tag':CC['invalid'],'class':'tok-invalid'},{'tag':CC['punctuation'],'class':'tok-punctuation'}]);const xC=new NodeProp();function RC(_0x4c2426){return Facet['define']({'combine':_0x4c2426?_0x480f7d=>_0x480f7d['concat'](_0x4c2426):void 0x0});}const PC=new NodeProp();class Language{constructor(_0x41a307,_0x58a924,_0x5127e9=[],_0x27ecfb=''){this['data']=_0x41a307,this['name']=_0x27ecfb,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return NC(this);}}),this['parser']=_0x58a924,this['extension']=[UC['of'](this),EditorState['languageData']['of']((_0x190035,_0x17d22f,_0x7ec982)=>{let _0x5b9533=MC(_0x190035,_0x17d22f,_0x7ec982),_0x1ffbe0=_0x5b9533['type']['prop'](xC);if(!_0x1ffbe0)return[];let _0x37aa8b=_0x190035['facet'](_0x1ffbe0),_0x48a2d3=_0x5b9533['type']['prop'](PC);if(_0x48a2d3){let _0x1eabfe=_0x5b9533['resolve'](_0x17d22f-_0x5b9533['from'],_0x7ec982);for(let _0x31c9f5 of _0x48a2d3)if(_0x31c9f5['test'](_0x1eabfe,_0x190035)){let _0x3aa43a=_0x190035['facet'](_0x31c9f5['facet']);return'replace'==_0x31c9f5['type']?_0x3aa43a:_0x3aa43a['concat'](_0x37aa8b);}}return _0x37aa8b;})]['concat'](_0x5127e9);}['isActiveAt'](_0x5e8c5d,_0x5d0190,_0x364d67=-0x1){return MC(_0x5e8c5d,_0x5d0190,_0x364d67)['type']['prop'](xC)==this['data'];}['findRegions'](_0x3c1637){let _0x3e9b16=_0x3c1637['facet'](UC);if((null==_0x3e9b16?void 0x0:_0x3e9b16['data'])==this['data'])return[{'from':0x0,'to':_0x3c1637['doc']['length']}];if(!_0x3e9b16||!_0x3e9b16['allowsNesting'])return[];let _0x14d8d5=[],_0x481d2e=(_0x1ee529,_0x3ea219)=>{if(_0x1ee529['prop'](xC)==this['data'])return void _0x14d8d5['push']({'from':_0x3ea219,'to':_0x3ea219+_0x1ee529['length']});let _0x23db5d=_0x1ee529['prop'](NodeProp['mounted']);if(_0x23db5d){if(_0x23db5d['tree']['prop'](xC)==this['data']){if(_0x23db5d['overlay']){for(let _0x53b94b of _0x23db5d['overlay'])_0x14d8d5['push']({'from':_0x53b94b['from']+_0x3ea219,'to':_0x53b94b['to']+_0x3ea219});}else _0x14d8d5['push']({'from':_0x3ea219,'to':_0x3ea219+_0x1ee529['length']});return;}if(_0x23db5d['overlay']){let _0x54a595=_0x14d8d5['length'];if(_0x481d2e(_0x23db5d['tree'],_0x23db5d['overlay'][0x0]['from']+_0x3ea219),_0x14d8d5['length']>_0x54a595)return;}}for(let _0x5b5bb0=0x0;_0x5b5bb0<_0x1ee529['children']['length'];_0x5b5bb0++){let _0x5bf32c=_0x1ee529['children'][_0x5b5bb0];_0x5bf32c instanceof Tree&&_0x481d2e(_0x5bf32c,_0x1ee529['positions'][_0x5b5bb0]+_0x3ea219);}};return _0x481d2e(NC(_0x3c1637),0x0),_0x14d8d5;}get['allowsNesting'](){return!0x0;}}function MC(_0x473ca9,_0x5300b1,_0xc62128){let _0x413eee=_0x473ca9['facet'](UC),_0x2bb07b=NC(_0x473ca9)['topNode'];if(!_0x413eee||_0x413eee['allowsNesting']){for(let _0x2ffc7c=_0x2bb07b;_0x2ffc7c;_0x2ffc7c=_0x2ffc7c['enter'](_0x5300b1,_0xc62128,jI['ExcludeBuffers']))_0x2ffc7c['type']['isTop']&&(_0x2bb07b=_0x2ffc7c);}return _0x2bb07b;}Language['setState']=StateEffect['define']();class LRLanguage extends Language{constructor(_0x27c30a,_0x21b112,_0x4efc3b){super(_0x27c30a,_0x21b112,[],_0x4efc3b),this['parser']=_0x21b112;}static['define'](_0x298738){let _0xedddf4=RC(_0x298738['languageData']);return new LRLanguage(_0xedddf4,_0x298738['parser']['configure']({'props':[xC['add'](_0x2fe3ca=>_0x2fe3ca['isTop']?_0xedddf4:void 0x0)]}),_0x298738['name']);}['configure'](_0x465cac,_0x1f3e45){return new LRLanguage(this['data'],this['parser']['configure'](_0x465cac),_0x1f3e45||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function NC(_0x2c7f21){let _0x456428=_0x2c7f21['field'](Language['state'],!0x1);return _0x456428?_0x456428['tree']:Tree['empty'];}class DocInput{constructor(_0x56d5d8){this['doc']=_0x56d5d8,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x56d5d8['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x2ae5d0){return this['string']=this['cursor']['next'](_0x2ae5d0-this['cursorPos'])['value'],this['cursorPos']=_0x2ae5d0+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x51f579){return this['syncTo'](_0x51f579),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x476f4a,_0x12fa0b){let _0x3a52bb=this['cursorPos']-this['string']['length'];return _0x476f4a<_0x3a52bb||_0x12fa0b>=this['cursorPos']?this['doc']['sliceString'](_0x476f4a,_0x12fa0b):this['string']['slice'](_0x476f4a-_0x3a52bb,_0x12fa0b-_0x3a52bb);}}let LC=null;class ParseContext{constructor(_0x336e64,_0x378d18,_0x3bf85b=[],_0x581694,_0xec0f56,_0x3147b4,_0x5ddbf3,_0x3a8b5a){this['parser']=_0x336e64,this['state']=_0x378d18,this['fragments']=_0x3bf85b,this['tree']=_0x581694,this['treeLen']=_0xec0f56,this['viewport']=_0x3147b4,this['skipped']=_0x5ddbf3,this['scheduleOn']=_0x3a8b5a,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x2d5829,_0x41aedb,_0x828616){return new ParseContext(_0x2d5829,_0x41aedb,[],Tree['empty'],0x0,_0x828616,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x1c04e5,_0x4cce1b){return null!=_0x4cce1b&&_0x4cce1b>=this['state']['doc']['length']&&(_0x4cce1b=void 0x0),this['tree']!=Tree['empty']&&this['isDone'](null!=_0x4cce1b?_0x4cce1b:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x3d8e54;if('number'==typeof _0x1c04e5){let _0x5f4856=Date['now']()+_0x1c04e5;_0x1c04e5=()=>Date['now']()>_0x5f4856;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x4cce1b&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4cce1b)&&_0x4cce1b<this['state']['doc']['length']&&this['parse']['stopAt'](_0x4cce1b);;){let _0x2f904e=this['parse']['advance']();if(_0x2f904e){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x2f904e,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x3d8e54=this['parse']['stoppedAt'])&&void 0x0!==_0x3d8e54?_0x3d8e54:this['state']['doc']['length'],this['tree']=_0x2f904e,this['parse']=null,!(this['treeLen']<(null!=_0x4cce1b?_0x4cce1b:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x1c04e5())return!0x1;}});}['takeTree'](){let _0x55200c,_0x223223;this['parse']&&(_0x55200c=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x55200c)&&this['parse']['stopAt'](_0x55200c),this['withContext'](()=>{for(;!(_0x223223=this['parse']['advance']()););}),this['treeLen']=_0x55200c,this['tree']=_0x223223,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x49d1ad){let _0x31fcd2=LC;LC=this;try{return _0x49d1ad();}finally{LC=_0x31fcd2;}}['withoutTempSkipped'](_0x2b78ee){for(let _0x32d0b2;_0x32d0b2=this['tempSkipped']['pop']();)_0x2b78ee=$C(_0x2b78ee,_0x32d0b2['from'],_0x32d0b2['to']);return _0x2b78ee;}['changes'](_0x9a33cb,_0xb433c8){let {fragments:_0x29f4b5,tree:_0x2633e1,treeLen:_0x4c2fdd,viewport:_0x5c42f0,skipped:_0x1479b3}=this;if(this['takeTree'](),!_0x9a33cb['empty']){let _0xe44565=[];if(_0x9a33cb['iterChangedRanges']((_0x1f99d4,_0x41dfcc,_0xa16f0,_0x1674cd)=>_0xe44565['push']({'fromA':_0x1f99d4,'toA':_0x41dfcc,'fromB':_0xa16f0,'toB':_0x1674cd})),_0x29f4b5=TreeFragment['applyChanges'](_0x29f4b5,_0xe44565),_0x2633e1=Tree['empty'],_0x4c2fdd=0x0,_0x5c42f0={'from':_0x9a33cb['mapPos'](_0x5c42f0['from'],-0x1),'to':_0x9a33cb['mapPos'](_0x5c42f0['to'],0x1)},this['skipped']['length']){_0x1479b3=[];for(let _0x506ea2 of this['skipped']){let _0x4b6b92=_0x9a33cb['mapPos'](_0x506ea2['from'],0x1),_0x495a3c=_0x9a33cb['mapPos'](_0x506ea2['to'],-0x1);_0x4b6b92<_0x495a3c&&_0x1479b3['push']({'from':_0x4b6b92,'to':_0x495a3c});}}}return new ParseContext(this['parser'],_0xb433c8,_0x29f4b5,_0x2633e1,_0x4c2fdd,_0x5c42f0,_0x1479b3,this['scheduleOn']);}['updateViewport'](_0x437488){if(this['viewport']['from']==_0x437488['from']&&this['viewport']['to']==_0x437488['to'])return!0x1;this['viewport']=_0x437488;let _0xc2347f=this['skipped']['length'];for(let _0x241db4=0x0;_0x241db4<this['skipped']['length'];_0x241db4++){let {from:_0x13a49c,to:_0x2da258}=this['skipped'][_0x241db4];_0x13a49c<_0x437488['to']&&_0x2da258>_0x437488['from']&&(this['fragments']=$C(this['fragments'],_0x13a49c,_0x2da258),this['skipped']['splice'](_0x241db4--,0x1));}return!(this['skipped']['length']>=_0xc2347f)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x5db8c4,_0x3e2493){this['skipped']['push']({'from':_0x5db8c4,'to':_0x3e2493});}static['getSkippingParser'](_0x5ef0e0){return new class extends Parser{['createParse'](_0xb80389,_0x33397e,_0x186808){let _0xbbf9ab=_0x186808[0x0]['from'],_0x43b76c=_0x186808[_0x186808['length']-0x1]['to'];return{'parsedPos':_0xbbf9ab,'advance'(){let _0x40583e=LC;if(_0x40583e){for(let _0xa1fbde of _0x186808)_0x40583e['tempSkipped']['push'](_0xa1fbde);_0x5ef0e0&&(_0x40583e['scheduleOn']=_0x40583e['scheduleOn']?Promise['all']([_0x40583e['scheduleOn'],_0x5ef0e0]):_0x5ef0e0);}return this['parsedPos']=_0x43b76c,new Tree(NodeType['none'],[],[],_0x43b76c-_0xbbf9ab);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x52ccdd){_0x52ccdd=Math['min'](_0x52ccdd,this['state']['doc']['length']);let _0x13790f=this['fragments'];return this['treeLen']>=_0x52ccdd&&_0x13790f['length']&&0x0==_0x13790f[0x0]['from']&&_0x13790f[0x0]['to']>=_0x52ccdd;}static['get'](){return LC;}}function $C(_0xcf4a69,_0x3ae40e,_0x5b1506){return TreeFragment['applyChanges'](_0xcf4a69,[{'fromA':_0x3ae40e,'toA':_0x5b1506,'fromB':_0x3ae40e,'toB':_0x5b1506}]);}class LanguageState{constructor(_0x372dc8){this['context']=_0x372dc8,this['tree']=_0x372dc8['tree'];}['apply'](_0x17da3a){if(!_0x17da3a['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x34855f=this['context']['changes'](_0x17da3a['changes'],_0x17da3a['state']),_0x11e8f9=this['context']['treeLen']==_0x17da3a['startState']['doc']['length']?void 0x0:Math['max'](_0x17da3a['changes']['mapPos'](this['context']['treeLen']),_0x34855f['viewport']['to']);return _0x34855f['work'](0x14,_0x11e8f9)||_0x34855f['takeTree'](),new LanguageState(_0x34855f);}static['init'](_0x6640da){let _0x8dd98c=Math['min'](0xbb8,_0x6640da['doc']['length']),_0x1dbdbe=ParseContext['create'](_0x6640da['facet'](UC)['parser'],_0x6640da,{'from':0x0,'to':_0x8dd98c});return _0x1dbdbe['work'](0x14,_0x8dd98c)||_0x1dbdbe['takeTree'](),new LanguageState(_0x1dbdbe);}}Language['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x28ac4c,_0x2f8455){for(let _0x3d8d4a of _0x2f8455['effects'])if(_0x3d8d4a['is'](Language['setState']))return _0x3d8d4a['value'];return _0x2f8455['startState']['facet'](UC)!=_0x2f8455['state']['facet'](UC)?LanguageState['init'](_0x2f8455['state']):_0x28ac4c['apply'](_0x2f8455);}});let DC=_0x3ead97=>{let _0x329334=setTimeout(()=>_0x3ead97(),0x1f4);return()=>clearTimeout(_0x329334);};'undefined'!=typeof requestIdleCallback&&(DC=_0x382b47=>{let _0x334a6b=-0x1,_0x250f60=setTimeout(()=>{_0x334a6b=requestIdleCallback(_0x382b47,{'timeout':0x190});},0x64);return()=>_0x334a6b<0x0?clearTimeout(_0x250f60):cancelIdleCallback(_0x334a6b);});const QC='undefined'!=typeof navigator&&(null===(kC=navigator['scheduling'])||void 0x0===kC?void 0x0:kC['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,VC=ViewPlugin['fromClass'](class ParseWorker{constructor(_0x1d08db){this['view']=_0x1d08db,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x11da9f){let _0x5cea33=this['view']['state']['field'](Language['state'])['context'];(_0x5cea33['updateViewport'](_0x11da9f['view']['viewport'])||this['view']['viewport']['to']>_0x5cea33['treeLen'])&&this['scheduleWork'](),(_0x11da9f['docChanged']||_0x11da9f['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x5cea33);}['scheduleWork'](){if(this['working'])return;let {state:_0x2132fc}=this['view'],_0x59fa61=_0x2132fc['field'](Language['state']);_0x59fa61['tree']==_0x59fa61['context']['tree']&&_0x59fa61['context']['isDone'](_0x2132fc['doc']['length'])||(this['working']=DC(this['work']));}['work'](_0xc30a53){this['working']=null;let _0x3578cf=Date['now']();if(this['chunkEnd']<_0x3578cf&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x3578cf+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x30de7d,viewport:{to:_0x4bc411}}=this['view'],_0x151d52=_0x30de7d['field'](Language['state']);if(_0x151d52['tree']==_0x151d52['context']['tree']&&_0x151d52['context']['isDone'](_0x4bc411+0x186a0))return;let _0x18c1ed=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0xc30a53&&!QC?Math['max'](0x19,_0xc30a53['timeRemaining']()-0x5):0x3b9aca00),_0x9815a8=_0x151d52['context']['treeLen']<_0x4bc411&&_0x30de7d['doc']['length']>_0x4bc411+0x3e8,_0x2cdca6=_0x151d52['context']['work'](()=>QC&&QC()||Date['now']()>_0x18c1ed,_0x4bc411+(_0x9815a8?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x3578cf,(_0x2cdca6||this['chunkBudget']<=0x0)&&(_0x151d52['context']['takeTree'](),this['view']['dispatch']({'effects':Language['setState']['of'](new LanguageState(_0x151d52['context']))})),this['chunkBudget']>0x0&&(!_0x2cdca6||_0x9815a8)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x151d52['context']);}['checkAsyncSchedule'](_0x5531bd){_0x5531bd['scheduleOn']&&(this['workScheduled']++,_0x5531bd['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x1303d3=>LT(this['view']['state'],_0x1303d3))['then'](()=>this['workScheduled']--),_0x5531bd['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),UC=Facet['define']({'combine':_0x45efc0=>_0x45efc0['length']?_0x45efc0[0x0]:null,'enables':_0x49ceda=>[Language['state'],VC,EditorView['contentAttributes']['compute']([_0x49ceda],_0x16e2af=>{let _0x384374=_0x16e2af['facet'](_0x49ceda);return _0x384374&&_0x384374['name']?{'data-language':_0x384374['name']}:{};})]});class LanguageSupport{constructor(_0x26f23d,_0x2b57de=[]){this['language']=_0x26f23d,this['support']=_0x2b57de,this['extension']=[_0x26f23d,_0x2b57de];}}class LanguageDescription{constructor(_0x4d8016,_0x2125d8,_0x36e676,_0x13d4dc,_0x4499a4,_0x39bfad=void 0x0){this['name']=_0x4d8016,this['alias']=_0x2125d8,this['extensions']=_0x36e676,this['filename']=_0x13d4dc,this['loadFunc']=_0x4499a4,this['support']=_0x39bfad,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x1b5ad5=>this['support']=_0x1b5ad5,_0x3a9326=>{throw this['loading']=null,_0x3a9326;}));}static['of'](_0x15db52){let {load:_0x388f58,support:_0x2180aa}=_0x15db52;if(!_0x388f58){if(!_0x2180aa)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x388f58=()=>Promise['resolve'](_0x2180aa);}return new LanguageDescription(_0x15db52['name'],(_0x15db52['alias']||[])['concat'](_0x15db52['name'])['map'](_0x2445ba=>_0x2445ba['toLowerCase']()),_0x15db52['extensions']||[],_0x15db52['filename'],_0x388f58,_0x2180aa);}static['matchFilename'](_0x15d1ec,_0x2f4310){for(let _0x227346 of _0x15d1ec)if(_0x227346['filename']&&_0x227346['filename']['test'](_0x2f4310))return _0x227346;let _0x4cda94=/\.([^.]+)$/['exec'](_0x2f4310);if(_0x4cda94){for(let _0x5d747f of _0x15d1ec)if(_0x5d747f['extensions']['indexOf'](_0x4cda94[0x1])>-0x1)return _0x5d747f;}return null;}static['matchLanguageName'](_0x134321,_0x5d939f,_0x3e1b61=!0x0){_0x5d939f=_0x5d939f['toLowerCase']();for(let _0x5548af of _0x134321)if(_0x5548af['alias']['some'](_0x45b83d=>_0x45b83d==_0x5d939f))return _0x5548af;if(_0x3e1b61){for(let _0x534da5 of _0x134321)for(let _0x5221ab of _0x534da5['alias']){let _0x10052d=_0x5d939f['indexOf'](_0x5221ab);if(_0x10052d>-0x1&&(_0x5221ab['length']>0x2||!/\w/['test'](_0x5d939f[_0x10052d-0x1])&&!/\w/['test'](_0x5d939f[_0x10052d+_0x5221ab['length']])))return _0x534da5;}}return null;}}const BC=Facet['define'](),jC=Facet['define']({'combine':_0x576f0c=>{if(!_0x576f0c['length'])return'\x20\x20';let _0x5beed2=_0x576f0c[0x0];if(!_0x5beed2||/\S/['test'](_0x5beed2)||Array['from'](_0x5beed2)['some'](_0x227625=>_0x227625!=_0x5beed2[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x576f0c[0x0]));return _0x5beed2;}});function FC(_0x35280d){let _0x481de5=_0x35280d['facet'](jC);return 0x9==_0x481de5['charCodeAt'](0x0)?_0x35280d['tabSize']*_0x481de5['length']:_0x481de5['length'];}function HC(_0x4606c7,_0x4afd57){let _0x3ebaf4='',_0x2ffa83=_0x4606c7['tabSize'],_0xf3db5f=_0x4606c7['facet'](jC)[0x0];if('\x09'==_0xf3db5f){for(;_0x4afd57>=_0x2ffa83;)_0x3ebaf4+='\x09',_0x4afd57-=_0x2ffa83;_0xf3db5f='\x20';}for(let _0x5444cc=0x0;_0x5444cc<_0x4afd57;_0x5444cc++)_0x3ebaf4+=_0xf3db5f;return _0x3ebaf4;}function GC(_0x4befdb,_0x968b3c){_0x4befdb instanceof EditorState&&(_0x4befdb=new IndentContext(_0x4befdb));for(let _0x1ddf1d of _0x4befdb['state']['facet'](BC)){let _0x1347e9=_0x1ddf1d(_0x4befdb,_0x968b3c);if(void 0x0!==_0x1347e9)return _0x1347e9;}let _0x309a3e=NC(_0x4befdb['state']);return _0x309a3e['length']>=_0x968b3c?function(_0x4c1873,_0x4c414e,_0x10e84b){let _0x3b0850=_0x4c414e['resolveStack'](_0x10e84b),_0x40c2ae=_0x4c414e['resolveInner'](_0x10e84b,-0x1)['resolve'](_0x10e84b,0x0)['enterUnfinishedNodesBefore'](_0x10e84b);if(_0x40c2ae!=_0x3b0850['node']){let _0x4c80f6=[];for(let _0x141982=_0x40c2ae;_0x141982&&!(_0x141982['from']<_0x3b0850['node']['from']||_0x141982['to']>_0x3b0850['node']['to']||_0x141982['from']==_0x3b0850['node']['from']&&_0x141982['type']==_0x3b0850['node']['type']);_0x141982=_0x141982['parent'])_0x4c80f6['push'](_0x141982);for(let _0x1c7f53=_0x4c80f6['length']-0x1;_0x1c7f53>=0x0;_0x1c7f53--)_0x3b0850={'node':_0x4c80f6[_0x1c7f53],'next':_0x3b0850};}return XC(_0x3b0850,_0x4c1873,_0x10e84b);}(_0x4befdb,_0x309a3e,_0x968b3c):null;}class IndentContext{constructor(_0x42f3f4,_0xca5842={}){this['state']=_0x42f3f4,this['options']=_0xca5842,this['unit']=FC(_0x42f3f4);}['lineAt'](_0xda59bc,_0x3b7f2c=0x1){let _0x2cb9d2=this['state']['doc']['lineAt'](_0xda59bc),{simulateBreak:_0x17f856,simulateDoubleBreak:_0xa7370f}=this['options'];return null!=_0x17f856&&_0x17f856>=_0x2cb9d2['from']&&_0x17f856<=_0x2cb9d2['to']?_0xa7370f&&_0x17f856==_0xda59bc?{'text':'','from':_0xda59bc}:(_0x3b7f2c<0x0?_0x17f856<_0xda59bc:_0x17f856<=_0xda59bc)?{'text':_0x2cb9d2['text']['slice'](_0x17f856-_0x2cb9d2['from']),'from':_0x17f856}:{'text':_0x2cb9d2['text']['slice'](0x0,_0x17f856-_0x2cb9d2['from']),'from':_0x2cb9d2['from']}:_0x2cb9d2;}['textAfterPos'](_0x23cd90,_0x48c62d=0x1){if(this['options']['simulateDoubleBreak']&&_0x23cd90==this['options']['simulateBreak'])return'';let {text:_0x5f4236,from:_0x59890e}=this['lineAt'](_0x23cd90,_0x48c62d);return _0x5f4236['slice'](_0x23cd90-_0x59890e,Math['min'](_0x5f4236['length'],_0x23cd90+0x64-_0x59890e));}['column'](_0x42b7bf,_0x385b00=0x1){let {text:_0x4c800a,from:_0x39821c}=this['lineAt'](_0x42b7bf,_0x385b00),_0x26e8d7=this['countColumn'](_0x4c800a,_0x42b7bf-_0x39821c),_0x2a148a=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x39821c):-0x1;return _0x2a148a>-0x1&&(_0x26e8d7+=_0x2a148a-this['countColumn'](_0x4c800a,_0x4c800a['search'](/\S|$/))),_0x26e8d7;}['countColumn'](_0x4205bb,_0x2b2fdb=_0x4205bb['length']){return W_(_0x4205bb,this['state']['tabSize'],_0x2b2fdb);}['lineIndent'](_0x4d98b9,_0x385a1d=0x1){let {text:_0x25fd9c,from:_0x47c67d}=this['lineAt'](_0x4d98b9,_0x385a1d),_0x1f0061=this['options']['overrideIndentation'];if(_0x1f0061){let _0x14fd6e=_0x1f0061(_0x47c67d);if(_0x14fd6e>-0x1)return _0x14fd6e;}return this['countColumn'](_0x25fd9c,_0x25fd9c['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const ZC=new NodeProp();function XC(_0x297b6b,_0x50bbbc,_0xe80472){for(let _0x588c55=_0x297b6b;_0x588c55;_0x588c55=_0x588c55['next']){let _0x5ab0dc=qC(_0x588c55['node']);if(_0x5ab0dc)return _0x5ab0dc(TreeIndentContext['create'](_0x50bbbc,_0xe80472,_0x588c55));}return 0x0;}function qC(_0xa516cd){let _0x1c36d9=_0xa516cd['type']['prop'](ZC);if(_0x1c36d9)return _0x1c36d9;let _0x2686a1,_0x535ae4=_0xa516cd['firstChild'];if(_0x535ae4&&(_0x2686a1=_0x535ae4['type']['prop'](NodeProp['closedBy']))){let _0x167500=_0xa516cd['lastChild'],_0x33b111=_0x167500&&_0x2686a1['indexOf'](_0x167500['name'])>-0x1;return _0x4404bf=>KC(_0x4404bf,!0x0,0x1,void 0x0,_0x33b111&&!function(_0x24b2b1){return _0x24b2b1['pos']==_0x24b2b1['options']['simulateBreak']&&_0x24b2b1['options']['simulateDoubleBreak'];}(_0x4404bf)?_0x167500['from']:void 0x0);}return null==_0xa516cd['parent']?WC:null;}function WC(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x46255c,_0x1c5fcc,_0x5ac033){super(_0x46255c['state'],_0x46255c['options']),this['base']=_0x46255c,this['pos']=_0x1c5fcc,this['context']=_0x5ac033;}get['node'](){return this['context']['node'];}static['create'](_0x2f1f6b,_0x1adc8c,_0x12177b){return new TreeIndentContext(_0x2f1f6b,_0x1adc8c,_0x12177b);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x4102c3){let _0x3bfa29=this['state']['doc']['lineAt'](_0x4102c3['from']);for(;;){let _0x3030b6=_0x4102c3['resolve'](_0x3bfa29['from']);for(;_0x3030b6['parent']&&_0x3030b6['parent']['from']==_0x3030b6['from'];)_0x3030b6=_0x3030b6['parent'];if(zC(_0x3030b6,_0x4102c3))break;_0x3bfa29=this['state']['doc']['lineAt'](_0x3030b6['from']);}return this['lineIndent'](_0x3bfa29['from']);}['continue'](){return XC(this['context']['next'],this['base'],this['pos']);}}function zC(_0x2eab6e,_0x2d25c5){for(let _0x5e7af3=_0x2d25c5;_0x5e7af3;_0x5e7af3=_0x5e7af3['parent'])if(_0x2eab6e==_0x5e7af3)return!0x0;return!0x1;}function YC({closing:_0x5a04b1,align:_0x12ad25=!0x0,units:_0x2367a7=0x1}){return _0x122590=>KC(_0x122590,_0x12ad25,_0x2367a7,_0x5a04b1);}function KC(_0x28cc85,_0x41f769,_0x2d0221,_0x3d3d11,_0xdc6215){let _0x559a31=_0x28cc85['textAfter'],_0x1e178e=_0x559a31['match'](/^\s*/)[0x0]['length'],_0x4bc0c6=_0x3d3d11&&_0x559a31['slice'](_0x1e178e,_0x1e178e+_0x3d3d11['length'])==_0x3d3d11||_0xdc6215==_0x28cc85['pos']+_0x1e178e,_0x215aeb=_0x41f769?function(_0x4fa1ed){let _0xd400d4=_0x4fa1ed['node'],_0x5938a5=_0xd400d4['childAfter'](_0xd400d4['from']),_0x122bd7=_0xd400d4['lastChild'];if(!_0x5938a5)return null;let _0x2f748e=_0x4fa1ed['options']['simulateBreak'],_0xdbe60=_0x4fa1ed['state']['doc']['lineAt'](_0x5938a5['from']),_0x49282d=null==_0x2f748e||_0x2f748e<=_0xdbe60['from']?_0xdbe60['to']:Math['min'](_0xdbe60['to'],_0x2f748e);for(let _0x144334=_0x5938a5['to'];;){let _0x342838=_0xd400d4['childAfter'](_0x144334);if(!_0x342838||_0x342838==_0x122bd7)return null;if(!_0x342838['type']['isSkipped']){if(_0x342838['from']>=_0x49282d)return null;let _0x4fb632=/^ */['exec'](_0xdbe60['text']['slice'](_0x5938a5['to']-_0xdbe60['from']))[0x0]['length'];return{'from':_0x5938a5['from'],'to':_0x5938a5['to']+_0x4fb632};}_0x144334=_0x342838['to'];}}(_0x28cc85):null;return _0x215aeb?_0x4bc0c6?_0x28cc85['column'](_0x215aeb['from']):_0x28cc85['column'](_0x215aeb['to']):_0x28cc85['baseIndent']+(_0x4bc0c6?0x0:_0x28cc85['unit']*_0x2d0221);}function JC({except:_0x1cfc09,units:_0x388d96=0x1}={}){return _0x2f7575=>{let _0x3f06af=_0x1cfc09&&_0x1cfc09['test'](_0x2f7575['textAfter']);return _0x2f7575['baseIndent']+(_0x3f06af?0x0:_0x388d96*_0x2f7575['unit']);};}function tk(){return EditorState['transactionFilter']['of'](_0x2eaaa5=>{if(!_0x2eaaa5['docChanged']||!_0x2eaaa5['isUserEvent']('input.type')&&!_0x2eaaa5['isUserEvent']('input.complete'))return _0x2eaaa5;let _0x35c2f6=_0x2eaaa5['startState']['languageDataAt']('indentOnInput',_0x2eaaa5['startState']['selection']['main']['head']);if(!_0x35c2f6['length'])return _0x2eaaa5;let _0x186a60=_0x2eaaa5['newDoc'],{head:_0x2d3e7b}=_0x2eaaa5['newSelection']['main'],_0x56437f=_0x186a60['lineAt'](_0x2d3e7b);if(_0x2d3e7b>_0x56437f['from']+0xc8)return _0x2eaaa5;let _0x2e5fba=_0x186a60['sliceString'](_0x56437f['from'],_0x2d3e7b);if(!_0x35c2f6['some'](_0x43dcdf=>_0x43dcdf['test'](_0x2e5fba)))return _0x2eaaa5;let {state:_0x215f01}=_0x2eaaa5,_0x398a03=-0x1,_0x3db08e=[];for(let {head:_0x1fc23d}of _0x215f01['selection']['ranges']){let _0x248ffc=_0x215f01['doc']['lineAt'](_0x1fc23d);if(_0x248ffc['from']==_0x398a03)continue;_0x398a03=_0x248ffc['from'];let _0x3ccd08=GC(_0x215f01,_0x248ffc['from']);if(null==_0x3ccd08)continue;let _0x42368d=/^\s*/['exec'](_0x248ffc['text'])[0x0],_0x4b00c8=HC(_0x215f01,_0x3ccd08);_0x42368d!=_0x4b00c8&&_0x3db08e['push']({'from':_0x248ffc['from'],'to':_0x248ffc['from']+_0x42368d['length'],'insert':_0x4b00c8});}return _0x3db08e['length']?[_0x2eaaa5,{'changes':_0x3db08e,'sequential':!0x0}]:_0x2eaaa5;});}const ek=Facet['define'](),ik=new NodeProp();function sk(_0x5dfc5f){let _0x1de7f0=_0x5dfc5f['firstChild'],_0x2d203d=_0x5dfc5f['lastChild'];return _0x1de7f0&&_0x1de7f0['to']<_0x2d203d['from']?{'from':_0x1de7f0['to'],'to':_0x2d203d['type']['isError']?_0x5dfc5f['to']:_0x2d203d['from']}:null;}function nk(_0x14ff71){let _0xca13fe=_0x14ff71['lastChild'];return _0xca13fe&&_0xca13fe['to']==_0x14ff71['to']&&_0xca13fe['type']['isError'];}function rk(_0x2a4a8a,_0x4fc8a6,_0x12b4e0){for(let _0x2cdc0f of _0x2a4a8a['facet'](ek)){let _0x18a1b4=_0x2cdc0f(_0x2a4a8a,_0x4fc8a6,_0x12b4e0);if(_0x18a1b4)return _0x18a1b4;}return function(_0x2341de,_0x50d434,_0x5c4578){let _0x2dc376=NC(_0x2341de);if(_0x2dc376['length']<_0x5c4578)return null;let _0x30c86e=null;for(let _0x10ac2f=_0x2dc376['resolveStack'](_0x5c4578,0x1);_0x10ac2f;_0x10ac2f=_0x10ac2f['next']){let _0x1836b8=_0x10ac2f['node'];if(_0x1836b8['to']<=_0x5c4578||_0x1836b8['from']>_0x5c4578)continue;if(_0x30c86e&&_0x1836b8['from']<_0x50d434)break;let _0x3278d2=_0x1836b8['type']['prop'](ik);if(_0x3278d2&&(_0x1836b8['to']<_0x2dc376['length']-0x32||_0x2dc376['length']==_0x2341de['doc']['length']||!nk(_0x1836b8))){let _0x3e4198=_0x3278d2(_0x1836b8,_0x2341de);_0x3e4198&&_0x3e4198['from']<=_0x5c4578&&_0x3e4198['from']>=_0x50d434&&_0x3e4198['to']>_0x5c4578&&(_0x30c86e=_0x3e4198);}}return _0x30c86e;}(_0x2a4a8a,_0x4fc8a6,_0x12b4e0);}function ok(_0x210f4c,_0x2c9530){let _0x1f359e=_0x2c9530['mapPos'](_0x210f4c['from'],0x1),_0x519fa4=_0x2c9530['mapPos'](_0x210f4c['to'],-0x1);return _0x1f359e>=_0x519fa4?void 0x0:{'from':_0x1f359e,'to':_0x519fa4};}const ak=StateEffect['define']({'map':ok}),ck=StateEffect['define']({'map':ok});function lk(_0x33f89b){let _0x26969c=[];for(let {head:_0x1bd820}of _0x33f89b['state']['selection']['ranges'])_0x26969c['some'](_0x5cf7df=>_0x5cf7df['from']<=_0x1bd820&&_0x5cf7df['to']>=_0x1bd820)||_0x26969c['push'](_0x33f89b['lineBlockAt'](_0x1bd820));return _0x26969c;}const hk=StateField['define']({'create':()=>Decoration['none'],'update'(_0x16d48a,_0x2d6443){_0x2d6443['isUserEvent']('delete')&&_0x2d6443['changes']['iterChangedRanges']((_0xd13ee,_0xb72f8f)=>_0x16d48a=uk(_0x16d48a,_0xd13ee,_0xb72f8f)),_0x16d48a=_0x16d48a['map'](_0x2d6443['changes']);for(let _0x3023c1 of _0x2d6443['effects'])if(_0x3023c1['is'](ak)&&!fk(_0x16d48a,_0x3023c1['value']['from'],_0x3023c1['value']['to'])){let {preparePlaceholder:_0x46dce4}=_0x2d6443['state']['facet'](wk),_0x134f35=_0x46dce4?Decoration['replace']({'widget':new PreparedFoldWidget(_0x46dce4(_0x2d6443['state'],_0x3023c1['value']))}):vk;_0x16d48a=_0x16d48a['update']({'add':[_0x134f35['range'](_0x3023c1['value']['from'],_0x3023c1['value']['to'])]});}else _0x3023c1['is'](ck)&&(_0x16d48a=_0x16d48a['update']({'filter':(_0x47cc3d,_0x3be76b)=>_0x3023c1['value']['from']!=_0x47cc3d||_0x3023c1['value']['to']!=_0x3be76b,'filterFrom':_0x3023c1['value']['from'],'filterTo':_0x3023c1['value']['to']}));return _0x2d6443['selection']&&(_0x16d48a=uk(_0x16d48a,_0x2d6443['selection']['main']['head'])),_0x16d48a;},'provide':_0x356d74=>EditorView['decorations']['from'](_0x356d74),'toJSON'(_0x403695,_0xa8a27a){let _0x41de2f=[];return _0x403695['between'](0x0,_0xa8a27a['doc']['length'],(_0xc606e3,_0xf2dfce)=>{_0x41de2f['push'](_0xc606e3,_0xf2dfce);}),_0x41de2f;},'fromJSON'(_0x4d1533){if(!Array['isArray'](_0x4d1533)||_0x4d1533['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x175936=[];for(let _0x4621d9=0x0;_0x4621d9<_0x4d1533['length'];){let _0x2de805=_0x4d1533[_0x4621d9++],_0x7783d0=_0x4d1533[_0x4621d9++];if('number'!=typeof _0x2de805||'number'!=typeof _0x7783d0)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x175936['push'](vk['range'](_0x2de805,_0x7783d0));}return Decoration['set'](_0x175936,!0x0);}});function uk(_0x31701d,_0x373d8b,_0x5012ba=_0x373d8b){let _0x5e38e2=!0x1;return _0x31701d['between'](_0x373d8b,_0x5012ba,(_0x4b5aff,_0x1c1650)=>{_0x4b5aff<_0x5012ba&&_0x1c1650>_0x373d8b&&(_0x5e38e2=!0x0);}),_0x5e38e2?_0x31701d['update']({'filterFrom':_0x373d8b,'filterTo':_0x5012ba,'filter':(_0x512ea7,_0x2aef17)=>_0x512ea7>=_0x5012ba||_0x2aef17<=_0x373d8b}):_0x31701d;}function dk(_0x32e165,_0x5d334b,_0x266de0){var _0x2acd9a;let _0x7853=null;return null===(_0x2acd9a=_0x32e165['field'](hk,!0x1))||void 0x0===_0x2acd9a||_0x2acd9a['between'](_0x5d334b,_0x266de0,(_0x398d12,_0x55ce63)=>{(!_0x7853||_0x7853['from']>_0x398d12)&&(_0x7853={'from':_0x398d12,'to':_0x55ce63});}),_0x7853;}function fk(_0x3378f0,_0x3919f9,_0x26a0d3){let _0x45c99b=!0x1;return _0x3378f0['between'](_0x3919f9,_0x3919f9,(_0x2e740e,_0x36dab9)=>{_0x2e740e==_0x3919f9&&_0x36dab9==_0x26a0d3&&(_0x45c99b=!0x0);}),_0x45c99b;}function mk(_0x52739e,_0x19d721){return _0x52739e['field'](hk,!0x1)?_0x19d721:_0x19d721['concat'](StateEffect['appendConfig']['of'](bk()));}function gk(_0x4ca44e,_0x589be4,_0x212fb9=!0x0){let _0x5e200d=_0x4ca44e['state']['doc']['lineAt'](_0x589be4['from'])['number'],_0x553e30=_0x4ca44e['state']['doc']['lineAt'](_0x589be4['to'])['number'];return EditorView['announce']['of'](_0x4ca44e['state']['phrase'](_0x212fb9?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x5e200d+'\x20'+_0x4ca44e['state']['phrase']('to')+'\x20'+_0x553e30+'.');}const pk=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x5f5bbe=>{for(let _0x31e4c5 of lk(_0x5f5bbe)){let _0x5247fb=rk(_0x5f5bbe['state'],_0x31e4c5['from'],_0x31e4c5['to']);if(_0x5247fb)return _0x5f5bbe['dispatch']({'effects':mk(_0x5f5bbe['state'],[ak['of'](_0x5247fb),gk(_0x5f5bbe,_0x5247fb)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x1883d5=>{if(!_0x1883d5['state']['field'](hk,!0x1))return!0x1;let _0x26b0dc=[];for(let _0x47d885 of lk(_0x1883d5)){let _0x28eded=dk(_0x1883d5['state'],_0x47d885['from'],_0x47d885['to']);_0x28eded&&_0x26b0dc['push'](ck['of'](_0x28eded),gk(_0x1883d5,_0x28eded,!0x1));}return _0x26b0dc['length']&&_0x1883d5['dispatch']({'effects':_0x26b0dc}),_0x26b0dc['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x34bd86=>{let {state:_0x430888}=_0x34bd86,_0x37d8e8=[];for(let _0x377b18=0x0;_0x377b18<_0x430888['doc']['length'];){let _0x1bb928=_0x34bd86['lineBlockAt'](_0x377b18),_0x8f58ff=rk(_0x430888,_0x1bb928['from'],_0x1bb928['to']);_0x8f58ff&&_0x37d8e8['push'](ak['of'](_0x8f58ff)),_0x377b18=(_0x8f58ff?_0x34bd86['lineBlockAt'](_0x8f58ff['to']):_0x1bb928)['to']+0x1;}return _0x37d8e8['length']&&_0x34bd86['dispatch']({'effects':mk(_0x34bd86['state'],_0x37d8e8)}),!!_0x37d8e8['length'];}},{'key':'Ctrl-Alt-]','run':_0x4a5f10=>{let _0x5ef297=_0x4a5f10['state']['field'](hk,!0x1);if(!_0x5ef297||!_0x5ef297['size'])return!0x1;let _0x6bf2f1=[];return _0x5ef297['between'](0x0,_0x4a5f10['state']['doc']['length'],(_0x5e3739,_0x2a19cf)=>{_0x6bf2f1['push'](ck['of']({'from':_0x5e3739,'to':_0x2a19cf}));}),_0x4a5f10['dispatch']({'effects':_0x6bf2f1}),!0x0;}}],Ok={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},wk=Facet['define']({'combine':_0x238e91=>V_(_0x238e91,Ok)});function bk(_0x24cec8){return[hk,Tk];}function yk(_0x5af365,_0x481f74){let {state:_0x23a4c5}=_0x5af365,_0x827bdc=_0x23a4c5['facet'](wk),_0x2fae0b=_0x4b732b=>{let _0x1c1433=_0x5af365['lineBlockAt'](_0x5af365['posAtDOM'](_0x4b732b['target'])),_0x4bdff6=dk(_0x5af365['state'],_0x1c1433['from'],_0x1c1433['to']);_0x4bdff6&&_0x5af365['dispatch']({'effects':ck['of'](_0x4bdff6)}),_0x4b732b['preventDefault']();};if(_0x827bdc['placeholderDOM'])return _0x827bdc['placeholderDOM'](_0x5af365,_0x2fae0b,_0x481f74);let _0x5150f9=document['createElement']('span');return _0x5150f9['textContent']=_0x827bdc['placeholderText'],_0x5150f9['setAttribute']('aria-label',_0x23a4c5['phrase']('folded\x20code')),_0x5150f9['title']=_0x23a4c5['phrase']('unfold'),_0x5150f9['className']='cm-foldPlaceholder',_0x5150f9['onclick']=_0x2fae0b,_0x5150f9;}const vk=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x1f70b3){return yk(_0x1f70b3,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0xbf4e46){super(),this['value']=_0xbf4e46;}['eq'](_0x2b48fa){return this['value']==_0x2b48fa['value'];}['toDOM'](_0x5241fc){return yk(_0x5241fc,this['value']);}}const _k={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class FoldMarker extends GutterMarker{constructor(_0x4f6c87,_0x2ba343){super(),this['config']=_0x4f6c87,this['open']=_0x2ba343;}['eq'](_0x1d087c){return this['config']==_0x1d087c['config']&&this['open']==_0x1d087c['open'];}['toDOM'](_0x53e2bf){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x16a5b6=document['createElement']('span');return _0x16a5b6['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x16a5b6['title']=_0x53e2bf['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x16a5b6;}}function Ek(_0x34afde={}){let _0x55bcd2={..._k,..._0x34afde},_0x2d0ef0=new FoldMarker(_0x55bcd2,!0x0),_0x1b952b=new FoldMarker(_0x55bcd2,!0x1),_0x31851c=ViewPlugin['fromClass'](class{constructor(_0xadcd18){this['from']=_0xadcd18['viewport']['from'],this['markers']=this['buildMarkers'](_0xadcd18);}['update'](_0x560b58){(_0x560b58['docChanged']||_0x560b58['viewportChanged']||_0x560b58['startState']['facet'](UC)!=_0x560b58['state']['facet'](UC)||_0x560b58['startState']['field'](hk,!0x1)!=_0x560b58['state']['field'](hk,!0x1)||NC(_0x560b58['startState'])!=NC(_0x560b58['state'])||_0x55bcd2['foldingChanged'](_0x560b58))&&(this['markers']=this['buildMarkers'](_0x560b58['view']));}['buildMarkers'](_0x2745f1){let _0xa64e29=new RangeSetBuilder();for(let _0x5a2708 of _0x2745f1['viewportLineBlocks']){let _0x5071df=dk(_0x2745f1['state'],_0x5a2708['from'],_0x5a2708['to'])?_0x1b952b:rk(_0x2745f1['state'],_0x5a2708['from'],_0x5a2708['to'])?_0x2d0ef0:null;_0x5071df&&_0xa64e29['add'](_0x5a2708['from'],_0x5a2708['from'],_0x5071df);}return _0xa64e29['finish']();}}),{domEventHandlers:_0x40b397}=_0x55bcd2;return[_0x31851c,vI({'class':'cm-foldGutter','markers'(_0x48f6d4){var _0x36ff60;return(null===(_0x36ff60=_0x48f6d4['plugin'](_0x31851c))||void 0x0===_0x36ff60?void 0x0:_0x36ff60['markers'])||RangeSet['empty'];},'initialSpacer':()=>new FoldMarker(_0x55bcd2,!0x1),'domEventHandlers':{..._0x40b397,'click':(_0x20f101,_0x1f74c9,_0x58e611)=>{if(_0x40b397['click']&&_0x40b397['click'](_0x20f101,_0x1f74c9,_0x58e611))return!0x0;let _0x1c6f6d=dk(_0x20f101['state'],_0x1f74c9['from'],_0x1f74c9['to']);if(_0x1c6f6d)return _0x20f101['dispatch']({'effects':ck['of'](_0x1c6f6d)}),!0x0;let _0x3fdfee=rk(_0x20f101['state'],_0x1f74c9['from'],_0x1f74c9['to']);return!!_0x3fdfee&&(_0x20f101['dispatch']({'effects':ak['of'](_0x3fdfee)}),!0x0);}}}),bk()];}const Tk=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(_0x3d56f5,_0x5858e2){let _0x249d02;function _0xf424cf(_0x1518c1){let _0x33caba=StyleModule['newName']();return(_0x249d02||(_0x249d02=Object['create'](null)))['.'+_0x33caba]=_0x1518c1,_0x33caba;}this['specs']=_0x3d56f5;const _0x3cbe4='string'==typeof _0x5858e2['all']?_0x5858e2['all']:_0x5858e2['all']?_0xf424cf(_0x5858e2['all']):void 0x0,_0x435817=_0x5858e2['scope'];this['scope']=_0x435817 instanceof Language?_0x1f0c78=>_0x1f0c78['prop'](xC)==_0x435817['data']:_0x435817?_0x25d3ae=>_0x25d3ae==_0x435817:void 0x0,this['style']=dC(_0x3d56f5['map'](_0x38ec30=>({'tag':_0x38ec30['tag'],'class':_0x38ec30['class']||_0xf424cf(Object['assign']({},_0x38ec30,{'tag':null}))})),{'all':_0x3cbe4})['style'],this['module']=_0x249d02?new StyleModule(_0x249d02):null,this['themeType']=_0x5858e2['themeType'];}static['define'](_0x26024b,_0x2524c7){return new HighlightStyle(_0x26024b,_0x2524c7||{});}}const Ak=Facet['define'](),Sk=Facet['define']({'combine':_0x329afc=>_0x329afc['length']?[_0x329afc[0x0]]:null});function Ik(_0x2ef170){let _0x381a9e=_0x2ef170['facet'](Ak);return _0x381a9e['length']?_0x381a9e:_0x2ef170['facet'](Sk);}function Ck(_0x3b879e,_0x2573a0){let _0x1707c5,_0x4e347c=[kk];return _0x3b879e instanceof HighlightStyle&&(_0x3b879e['module']&&_0x4e347c['push'](EditorView['styleModule']['of'](_0x3b879e['module'])),_0x1707c5=_0x3b879e['themeType']),(null==_0x2573a0?void 0x0:_0x2573a0['fallback'])?_0x4e347c['push'](Sk['of'](_0x3b879e)):_0x1707c5?_0x4e347c['push'](Ak['computeN']([EditorView['darkTheme']],_0x19ad58=>_0x19ad58['facet'](EditorView['darkTheme'])==('dark'==_0x1707c5)?[_0x3b879e]:[])):_0x4e347c['push'](Ak['of'](_0x3b879e)),_0x4e347c;}class TreeHighlighter{constructor(_0x21114a){this['markCache']=Object['create'](null),this['tree']=NC(_0x21114a['state']),this['decorations']=this['buildDeco'](_0x21114a,Ik(_0x21114a['state'])),this['decoratedTo']=_0x21114a['viewport']['to'];}['update'](_0x172ba9){let _0x1aa209=NC(_0x172ba9['state']),_0x224f35=Ik(_0x172ba9['state']),_0x4efbb2=_0x224f35!=Ik(_0x172ba9['startState']),{viewport:_0xddb117}=_0x172ba9['view'],_0x41db8c=_0x172ba9['changes']['mapPos'](this['decoratedTo'],0x1);_0x1aa209['length']<_0xddb117['to']&&!_0x4efbb2&&_0x1aa209['type']==this['tree']['type']&&_0x41db8c>=_0xddb117['to']?(this['decorations']=this['decorations']['map'](_0x172ba9['changes']),this['decoratedTo']=_0x41db8c):(_0x1aa209!=this['tree']||_0x172ba9['viewportChanged']||_0x4efbb2)&&(this['tree']=_0x1aa209,this['decorations']=this['buildDeco'](_0x172ba9['view'],_0x224f35),this['decoratedTo']=_0xddb117['to']);}['buildDeco'](_0x2b7751,_0x2f6b61){if(!_0x2f6b61||!this['tree']['length'])return Decoration['none'];let _0x288d9e=new RangeSetBuilder();for(let {from:_0x3716d4,to:_0x28e626}of _0x2b7751['visibleRanges'])fC(this['tree'],_0x2f6b61,(_0x21bbe2,_0x30005b,_0x2974d5)=>{_0x288d9e['add'](_0x21bbe2,_0x30005b,this['markCache'][_0x2974d5]||(this['markCache'][_0x2974d5]=Decoration['mark']({'class':_0x2974d5})));},_0x3716d4,_0x28e626);return _0x288d9e['finish']();}}const kk=b_['high'](ViewPlugin['fromClass'](TreeHighlighter,{'decorations':_0x24f35b=>_0x24f35b['decorations']})),xk=HighlightStyle['define']([{'tag':CC['meta'],'color':'#404740'},{'tag':CC['link'],'textDecoration':'underline'},{'tag':CC['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':CC['emphasis'],'fontStyle':'italic'},{'tag':CC['strong'],'fontWeight':'bold'},{'tag':CC['strikethrough'],'textDecoration':'line-through'},{'tag':CC['keyword'],'color':'#708'},{'tag':[CC['atom'],CC['bool'],CC['url'],CC['contentSeparator'],CC['labelName']],'color':'#219'},{'tag':[CC['literal'],CC['inserted']],'color':'#164'},{'tag':[CC['string'],CC['deleted']],'color':'#a11'},{'tag':[CC['regexp'],CC['escape'],CC['special'](CC['string'])],'color':'#e40'},{'tag':CC['definition'](CC['variableName']),'color':'#00f'},{'tag':CC['local'](CC['variableName']),'color':'#30a'},{'tag':[CC['typeName'],CC['namespace']],'color':'#085'},{'tag':CC['className'],'color':'#167'},{'tag':[CC['special'](CC['variableName']),CC['macroName']],'color':'#256'},{'tag':CC['definition'](CC['propertyName']),'color':'#00c'},{'tag':CC['comment'],'color':'#940'},{'tag':CC['invalid'],'color':'#f00'}]),Rk=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),Pk='()[]{}',Mk=Facet['define']({'combine':_0x1d08b1=>V_(_0x1d08b1,{'afterCursor':!0x0,'brackets':Pk,'maxScanDistance':0x2710,'renderMatch':$k})}),Nk=Decoration['mark']({'class':'cm-matchingBracket'}),Lk=Decoration['mark']({'class':'cm-nonmatchingBracket'});function $k(_0x57360b){let _0x444ecb=[],_0x45937c=_0x57360b['matched']?Nk:Lk;return _0x444ecb['push'](_0x45937c['range'](_0x57360b['start']['from'],_0x57360b['start']['to'])),_0x57360b['end']&&_0x444ecb['push'](_0x45937c['range'](_0x57360b['end']['from'],_0x57360b['end']['to'])),_0x444ecb;}const Dk=StateField['define']({'create':()=>Decoration['none'],'update'(_0xaf20a1,_0x57b337){if(!_0x57b337['docChanged']&&!_0x57b337['selection'])return _0xaf20a1;let _0xd3ad32=[],_0x53e646=_0x57b337['state']['facet'](Mk);for(let _0x8335e7 of _0x57b337['state']['selection']['ranges']){if(!_0x8335e7['empty'])continue;let _0x19396f=Fk(_0x57b337['state'],_0x8335e7['head'],-0x1,_0x53e646)||_0x8335e7['head']>0x0&&Fk(_0x57b337['state'],_0x8335e7['head']-0x1,0x1,_0x53e646)||_0x53e646['afterCursor']&&(Fk(_0x57b337['state'],_0x8335e7['head'],0x1,_0x53e646)||_0x8335e7['head']<_0x57b337['state']['doc']['length']&&Fk(_0x57b337['state'],_0x8335e7['head']+0x1,-0x1,_0x53e646));_0x19396f&&(_0xd3ad32=_0xd3ad32['concat'](_0x53e646['renderMatch'](_0x19396f,_0x57b337['state'])));}return Decoration['set'](_0xd3ad32,!0x0);},'provide':_0x1217f2=>EditorView['decorations']['from'](_0x1217f2)}),Qk=[Dk,Rk];function Vk(_0x36f6ce={}){return[Mk['of'](_0x36f6ce),Qk];}const Uk=new NodeProp();function Bk(_0x13686d,_0xeff128,_0x3208aa){let _0x56ea01=_0x13686d['prop'](_0xeff128<0x0?NodeProp['openedBy']:NodeProp['closedBy']);if(_0x56ea01)return _0x56ea01;if(0x1==_0x13686d['name']['length']){let _0x5661a8=_0x3208aa['indexOf'](_0x13686d['name']);if(_0x5661a8>-0x1&&_0x5661a8%0x2==(_0xeff128<0x0?0x1:0x0))return[_0x3208aa[_0x5661a8+_0xeff128]];}return null;}function jk(_0x36ff2b){let _0x211daa=_0x36ff2b['type']['prop'](Uk);return _0x211daa?_0x211daa(_0x36ff2b['node']):_0x36ff2b;}function Fk(_0x9c581f,_0x37eb59,_0x2f1520,_0x76096a={}){let _0x151399=_0x76096a['maxScanDistance']||0x2710,_0x424609=_0x76096a['brackets']||Pk,_0x5b2fc1=NC(_0x9c581f),_0x3ac5a1=_0x5b2fc1['resolveInner'](_0x37eb59,_0x2f1520);for(let _0x1fbad6=_0x3ac5a1;_0x1fbad6;_0x1fbad6=_0x1fbad6['parent']){let _0xce387f=Bk(_0x1fbad6['type'],_0x2f1520,_0x424609);if(_0xce387f&&_0x1fbad6['from']<_0x1fbad6['to']){let _0x1f47ed=jk(_0x1fbad6);if(_0x1f47ed&&(_0x2f1520>0x0?_0x37eb59>=_0x1f47ed['from']&&_0x37eb59<_0x1f47ed['to']:_0x37eb59>_0x1f47ed['from']&&_0x37eb59<=_0x1f47ed['to']))return Hk(_0x9c581f,_0x37eb59,_0x2f1520,_0x1fbad6,_0x1f47ed,_0xce387f,_0x424609);}}return function(_0xf93928,_0x54f58f,_0x3677a0,_0x1af93d,_0x2ddd14,_0x5e6f18,_0x1bd37d){let _0x35ebec=_0x3677a0<0x0?_0xf93928['sliceDoc'](_0x54f58f-0x1,_0x54f58f):_0xf93928['sliceDoc'](_0x54f58f,_0x54f58f+0x1),_0x21d31f=_0x1bd37d['indexOf'](_0x35ebec);if(_0x21d31f<0x0||_0x21d31f%0x2==0x0!=_0x3677a0>0x0)return null;let _0x109036={'from':_0x3677a0<0x0?_0x54f58f-0x1:_0x54f58f,'to':_0x3677a0>0x0?_0x54f58f+0x1:_0x54f58f},_0x37312a=_0xf93928['doc']['iterRange'](_0x54f58f,_0x3677a0>0x0?_0xf93928['doc']['length']:0x0),_0x3b9379=0x0;for(let _0x210c13=0x0;!_0x37312a['next']()['done']&&_0x210c13<=_0x5e6f18;){let _0x33a76c=_0x37312a['value'];_0x3677a0<0x0&&(_0x210c13+=_0x33a76c['length']);let _0x1aff88=_0x54f58f+_0x210c13*_0x3677a0;for(let _0x207451=_0x3677a0>0x0?0x0:_0x33a76c['length']-0x1,_0x43d9f5=_0x3677a0>0x0?_0x33a76c['length']:-0x1;_0x207451!=_0x43d9f5;_0x207451+=_0x3677a0){let _0x502eac=_0x1bd37d['indexOf'](_0x33a76c[_0x207451]);if(!(_0x502eac<0x0||_0x1af93d['resolveInner'](_0x1aff88+_0x207451,0x1)['type']!=_0x2ddd14)){if(_0x502eac%0x2==0x0==_0x3677a0>0x0)_0x3b9379++;else{if(0x1==_0x3b9379)return{'start':_0x109036,'end':{'from':_0x1aff88+_0x207451,'to':_0x1aff88+_0x207451+0x1},'matched':_0x502eac>>0x1==_0x21d31f>>0x1};_0x3b9379--;}}}_0x3677a0>0x0&&(_0x210c13+=_0x33a76c['length']);}return _0x37312a['done']?{'start':_0x109036,'matched':!0x1}:null;}(_0x9c581f,_0x37eb59,_0x2f1520,_0x5b2fc1,_0x3ac5a1['type'],_0x151399,_0x424609);}function Hk(_0x2544b,_0x58a03b,_0x471195,_0x508c46,_0x556b9e,_0x4ac05b,_0x4a8615){let _0x3c4c98=_0x508c46['parent'],_0x4e7801={'from':_0x556b9e['from'],'to':_0x556b9e['to']},_0x14e20c=0x0,_0x41d7df=null==_0x3c4c98?void 0x0:_0x3c4c98['cursor']();if(_0x41d7df&&(_0x471195<0x0?_0x41d7df['childBefore'](_0x508c46['from']):_0x41d7df['childAfter'](_0x508c46['to'])))do{if(_0x471195<0x0?_0x41d7df['to']<=_0x508c46['from']:_0x41d7df['from']>=_0x508c46['to']){if(0x0==_0x14e20c&&_0x4ac05b['indexOf'](_0x41d7df['type']['name'])>-0x1&&_0x41d7df['from']<_0x41d7df['to']){let _0x52a7a4=jk(_0x41d7df);return{'start':_0x4e7801,'end':_0x52a7a4?{'from':_0x52a7a4['from'],'to':_0x52a7a4['to']}:void 0x0,'matched':!0x0};}if(Bk(_0x41d7df['type'],_0x471195,_0x4a8615))_0x14e20c++;else{if(Bk(_0x41d7df['type'],-_0x471195,_0x4a8615)){if(0x0==_0x14e20c){let _0x16ea59=jk(_0x41d7df);return{'start':_0x4e7801,'end':_0x16ea59&&_0x16ea59['from']<_0x16ea59['to']?{'from':_0x16ea59['from'],'to':_0x16ea59['to']}:void 0x0,'matched':!0x1};}_0x14e20c--;}}}}while(_0x471195<0x0?_0x41d7df['prevSibling']():_0x41d7df['nextSibling']());return{'start':_0x4e7801,'matched':!0x1};}const Gk=Object['create'](null),Zk=[NodeType['none']],Xk=[],qk=Object['create'](null),Wk=Object['create'](null);for(let [e,s]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']])Wk[e]=Yk(Gk,s);function zk(_0x5171a4,_0x3ccd70){Xk['indexOf'](_0x5171a4)>-0x1||(Xk['push'](_0x5171a4),console['warn'](_0x3ccd70));}function Yk(_0xd11dd8,_0x4a29f8){let _0x583c81=[];for(let _0x374c45 of _0x4a29f8['split']('\x20')){let _0x2c9ac8=[];for(let _0x5f3502 of _0x374c45['split']('.')){let _0x121c79=_0xd11dd8[_0x5f3502]||CC[_0x5f3502];_0x121c79?'function'==typeof _0x121c79?_0x2c9ac8['length']?_0x2c9ac8=_0x2c9ac8['map'](_0x121c79):zk(_0x5f3502,'Modifier\x20'+_0x5f3502+'\x20used\x20at\x20start\x20of\x20tag'):_0x2c9ac8['length']?zk(_0x5f3502,'Tag\x20'+_0x5f3502+'\x20used\x20as\x20modifier'):_0x2c9ac8=Array['isArray'](_0x121c79)?_0x121c79:[_0x121c79]:zk(_0x5f3502,'Unknown\x20highlighting\x20tag\x20'+_0x5f3502);}for(let _0x527564 of _0x2c9ac8)_0x583c81['push'](_0x527564);}if(!_0x583c81['length'])return 0x0;let _0x42a70f=_0x4a29f8['replace'](/ /g,'_'),_0x3780a0=_0x42a70f+'\x20'+_0x583c81['map'](t=>t['id']),_0xe7e515=qk[_0x3780a0];if(_0xe7e515)return _0xe7e515['id'];let _0x18b78d=qk[_0x3780a0]=NodeType['define']({'id':Zk['length'],'name':_0x42a70f,'props':[hC({[_0x42a70f]:_0x583c81})]});return Zk['push'](_0x18b78d),_0x18b78d['id'];}sT['RTL'],sT['LTR'];function Kk(_0x3818e,_0x44dd87){return({state:_0x4925bb,dispatch:_0xb70265})=>{if(_0x4925bb['readOnly'])return!0x1;let _0x4b063f=_0x3818e(_0x44dd87,_0x4925bb);return!!_0x4b063f&&(_0xb70265(_0x4925bb['update'](_0x4b063f)),!0x0);};}const Jk=Kk(rx,0x0),tx=Kk(nx,0x0),ex=Kk((_0x5844d4,_0x568d0b)=>nx(_0x5844d4,_0x568d0b,function(_0x356eec){let _0x4cd5fc=[];for(let _0x15e0aa of _0x356eec['selection']['ranges']){let _0x166485=_0x356eec['doc']['lineAt'](_0x15e0aa['from']),_0x224477=_0x15e0aa['to']<=_0x166485['to']?_0x166485:_0x356eec['doc']['lineAt'](_0x15e0aa['to']);_0x224477['from']>_0x166485['from']&&_0x224477['from']==_0x15e0aa['to']&&(_0x224477=_0x15e0aa['to']==_0x166485['to']+0x1?_0x166485:_0x356eec['doc']['lineAt'](_0x15e0aa['to']-0x1));let _0x3f52a4=_0x4cd5fc['length']-0x1;_0x3f52a4>=0x0&&_0x4cd5fc[_0x3f52a4]['to']>_0x166485['from']?_0x4cd5fc[_0x3f52a4]['to']=_0x224477['to']:_0x4cd5fc['push']({'from':_0x166485['from']+/^\s*/['exec'](_0x166485['text'])[0x0]['length'],'to':_0x224477['to']});}return _0x4cd5fc;}(_0x568d0b)),0x0);function ix(_0x267970,_0x5b6499){let _0x5b29e2=_0x267970['languageDataAt']('commentTokens',_0x5b6499,0x1);return _0x5b29e2['length']?_0x5b29e2[0x0]:{};}const sx=0x32;function nx(_0x568dde,_0x559860,_0x437ae7=_0x559860['selection']['ranges']){let _0x40cd78=_0x437ae7['map'](_0x20a513=>ix(_0x559860,_0x20a513['from'])['block']);if(!_0x40cd78['every'](_0x1118fd=>_0x1118fd))return null;let _0x43e30e=_0x437ae7['map']((_0x507d25,_0x337769)=>function(_0x447e9f,{open:_0x121711,close:_0xdd8aac},_0x523619,_0x5887c1){let _0x54f47c,_0x3637fc,_0x32aac5=_0x447e9f['sliceDoc'](_0x523619-sx,_0x523619),_0x2a89bc=_0x447e9f['sliceDoc'](_0x5887c1,_0x5887c1+sx),_0xf7bea7=/\s*$/['exec'](_0x32aac5)[0x0]['length'],_0xe37cd4=/^\s*/['exec'](_0x2a89bc)[0x0]['length'],_0x2b1def=_0x32aac5['length']-_0xf7bea7;if(_0x32aac5['slice'](_0x2b1def-_0x121711['length'],_0x2b1def)==_0x121711&&_0x2a89bc['slice'](_0xe37cd4,_0xe37cd4+_0xdd8aac['length'])==_0xdd8aac)return{'open':{'pos':_0x523619-_0xf7bea7,'margin':_0xf7bea7&&0x1},'close':{'pos':_0x5887c1+_0xe37cd4,'margin':_0xe37cd4&&0x1}};_0x5887c1-_0x523619<=0x2*sx?_0x54f47c=_0x3637fc=_0x447e9f['sliceDoc'](_0x523619,_0x5887c1):(_0x54f47c=_0x447e9f['sliceDoc'](_0x523619,_0x523619+sx),_0x3637fc=_0x447e9f['sliceDoc'](_0x5887c1-sx,_0x5887c1));let _0x17e765=/^\s*/['exec'](_0x54f47c)[0x0]['length'],_0x118bf4=/\s*$/['exec'](_0x3637fc)[0x0]['length'],_0x1eb20c=_0x3637fc['length']-_0x118bf4-_0xdd8aac['length'];return _0x54f47c['slice'](_0x17e765,_0x17e765+_0x121711['length'])==_0x121711&&_0x3637fc['slice'](_0x1eb20c,_0x1eb20c+_0xdd8aac['length'])==_0xdd8aac?{'open':{'pos':_0x523619+_0x17e765+_0x121711['length'],'margin':/\s/['test'](_0x54f47c['charAt'](_0x17e765+_0x121711['length']))?0x1:0x0},'close':{'pos':_0x5887c1-_0x118bf4-_0xdd8aac['length'],'margin':/\s/['test'](_0x3637fc['charAt'](_0x1eb20c-0x1))?0x1:0x0}}:null;}(_0x559860,_0x40cd78[_0x337769],_0x507d25['from'],_0x507d25['to']));if(0x2!=_0x568dde&&!_0x43e30e['every'](_0x3cd6eb=>_0x3cd6eb))return{'changes':_0x559860['changes'](_0x437ae7['map']((_0x3c5a71,_0x80c30d)=>_0x43e30e[_0x80c30d]?[]:[{'from':_0x3c5a71['from'],'insert':_0x40cd78[_0x80c30d]['open']+'\x20'},{'from':_0x3c5a71['to'],'insert':'\x20'+_0x40cd78[_0x80c30d]['close']}]))};if(0x1!=_0x568dde&&_0x43e30e['some'](_0x2cd5f0=>_0x2cd5f0)){let _0x3bef69=[];for(let _0x545bbb,_0x4cfbd5=0x0;_0x4cfbd5<_0x43e30e['length'];_0x4cfbd5++)if(_0x545bbb=_0x43e30e[_0x4cfbd5]){let _0x427d2d=_0x40cd78[_0x4cfbd5],{open:_0x8f9f34,close:_0x2b408c}=_0x545bbb;_0x3bef69['push']({'from':_0x8f9f34['pos']-_0x427d2d['open']['length'],'to':_0x8f9f34['pos']+_0x8f9f34['margin']},{'from':_0x2b408c['pos']-_0x2b408c['margin'],'to':_0x2b408c['pos']+_0x427d2d['close']['length']});}return{'changes':_0x3bef69};}return null;}function rx(_0x37e958,_0x589578,_0x4b87be=_0x589578['selection']['ranges']){let _0x308e6b=[],_0x5ea617=-0x1;for(let {from:_0x37ac34,to:_0x2ad449}of _0x4b87be){let _0x1cecf2=_0x308e6b['length'],_0x415eab=0x3b9aca00,_0x12c01d=ix(_0x589578,_0x37ac34)['line'];if(_0x12c01d){for(let _0x1b73ea=_0x37ac34;_0x1b73ea<=_0x2ad449;){let _0x3d31eb=_0x589578['doc']['lineAt'](_0x1b73ea);if(_0x3d31eb['from']>_0x5ea617&&(_0x37ac34==_0x2ad449||_0x2ad449>_0x3d31eb['from'])){_0x5ea617=_0x3d31eb['from'];let _0x382f34=/^\s*/['exec'](_0x3d31eb['text'])[0x0]['length'],_0x1c1f99=_0x382f34==_0x3d31eb['length'],_0x31b550=_0x3d31eb['text']['slice'](_0x382f34,_0x382f34+_0x12c01d['length'])==_0x12c01d?_0x382f34:-0x1;_0x382f34<_0x3d31eb['text']['length']&&_0x382f34<_0x415eab&&(_0x415eab=_0x382f34),_0x308e6b['push']({'line':_0x3d31eb,'comment':_0x31b550,'token':_0x12c01d,'indent':_0x382f34,'empty':_0x1c1f99,'single':!0x1});}_0x1b73ea=_0x3d31eb['to']+0x1;}if(_0x415eab<0x3b9aca00){for(let _0x1bc7c1=_0x1cecf2;_0x1bc7c1<_0x308e6b['length'];_0x1bc7c1++)_0x308e6b[_0x1bc7c1]['indent']<_0x308e6b[_0x1bc7c1]['line']['text']['length']&&(_0x308e6b[_0x1bc7c1]['indent']=_0x415eab);}_0x308e6b['length']==_0x1cecf2+0x1&&(_0x308e6b[_0x1cecf2]['single']=!0x0);}}if(0x2!=_0x37e958&&_0x308e6b['some'](_0x520193=>_0x520193['comment']<0x0&&(!_0x520193['empty']||_0x520193['single']))){let _0x1b84fa=[];for(let {line:_0x1f3dfa,token:_0xb7560e,indent:_0x402cb8,empty:_0x1a1dfe,single:_0x59dfff}of _0x308e6b)!_0x59dfff&&_0x1a1dfe||_0x1b84fa['push']({'from':_0x1f3dfa['from']+_0x402cb8,'insert':_0xb7560e+'\x20'});let _0x1f46dd=_0x589578['changes'](_0x1b84fa);return{'changes':_0x1f46dd,'selection':_0x589578['selection']['map'](_0x1f46dd,0x1)};}if(0x1!=_0x37e958&&_0x308e6b['some'](_0x3af38c=>_0x3af38c['comment']>=0x0)){let _0x479d3f=[];for(let {line:_0x3393a3,comment:_0x35158a,token:_0x3f6343}of _0x308e6b)if(_0x35158a>=0x0){let _0x2d5c4d=_0x3393a3['from']+_0x35158a,_0xd16fc8=_0x2d5c4d+_0x3f6343['length'];'\x20'==_0x3393a3['text'][_0xd16fc8-_0x3393a3['from']]&&_0xd16fc8++,_0x479d3f['push']({'from':_0x2d5c4d,'to':_0xd16fc8});}return{'changes':_0x479d3f};}return null;}const ox=Annotation['define'](),ax=Annotation['define'](),cx=Facet['define'](),lx=Facet['define']({'combine':_0x1cc6c3=>V_(_0x1cc6c3,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x53b739,_0x13bfe9)=>_0x13bfe9},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0xea8506,_0x352e69)=>(_0x20696b,_0x364d4c)=>_0xea8506(_0x20696b,_0x364d4c)||_0x352e69(_0x20696b,_0x364d4c)})}),hx=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x439207,_0x58755f){let _0x1e08a7=_0x58755f['state']['facet'](lx),_0x1ca934=_0x58755f['annotation'](ox);if(_0x1ca934){let _0x4394b8=HistEvent['fromTransaction'](_0x58755f,_0x1ca934['selection']),_0xc002df=_0x1ca934['side'],_0x58ce13=0x0==_0xc002df?_0x439207['undone']:_0x439207['done'];return _0x58ce13=_0x4394b8?Ox(_0x58ce13,_0x58ce13['length'],_0x1e08a7['minDepth'],_0x4394b8):vx(_0x58ce13,_0x58755f['startState']['selection']),new HistoryState(0x0==_0xc002df?_0x1ca934['rest']:_0x58ce13,0x0==_0xc002df?_0x58ce13:_0x1ca934['rest']);}let _0x39aff5=_0x58755f['annotation'](ax);if('full'!=_0x39aff5&&'before'!=_0x39aff5||(_0x439207=_0x439207['isolate']()),!0x1===_0x58755f['annotation'](Transaction['addToHistory']))return _0x58755f['changes']['empty']?_0x439207:_0x439207['addMapping'](_0x58755f['changes']['desc']);let _0x5e02ec=HistEvent['fromTransaction'](_0x58755f),_0x17d107=_0x58755f['annotation'](Transaction['time']),_0x2ed309=_0x58755f['annotation'](Transaction['userEvent']);return _0x5e02ec?_0x439207=_0x439207['addChanges'](_0x5e02ec,_0x17d107,_0x2ed309,_0x1e08a7,_0x58755f):_0x58755f['selection']&&(_0x439207=_0x439207['addSelection'](_0x58755f['startState']['selection'],_0x17d107,_0x2ed309,_0x1e08a7['newGroupDelay'])),'full'!=_0x39aff5&&'after'!=_0x39aff5||(_0x439207=_0x439207['isolate']()),_0x439207;},'toJSON':_0x384595=>({'done':_0x384595['done']['map'](_0x369bdc=>_0x369bdc['toJSON']()),'undone':_0x384595['undone']['map'](_0x5d0aec=>_0x5d0aec['toJSON']())}),'fromJSON':_0x10bab9=>new HistoryState(_0x10bab9['done']['map'](HistEvent['fromJSON']),_0x10bab9['undone']['map'](HistEvent['fromJSON']))});function ux(_0x496e32={}){return[hx,lx['of'](_0x496e32),EditorView['domEventHandlers']({'beforeinput'(_0x22c5e1,_0x3bab27){let _0x324e21='historyUndo'==_0x22c5e1['inputType']?fx:'historyRedo'==_0x22c5e1['inputType']?mx:null;return!!_0x324e21&&(_0x22c5e1['preventDefault'](),_0x324e21(_0x3bab27));}})];}function dx(_0x206a26,_0x2ca8e1){return function({state:_0x3971bb,dispatch:_0x386fff}){if(!_0x2ca8e1&&_0x3971bb['readOnly'])return!0x1;let _0x3a9d26=_0x3971bb['field'](hx,!0x1);if(!_0x3a9d26)return!0x1;let _0x126a9d=_0x3a9d26['pop'](_0x206a26,_0x3971bb,_0x2ca8e1);return!!_0x126a9d&&(_0x386fff(_0x126a9d),!0x0);};}const fx=dx(0x0,!0x1),mx=dx(0x1,!0x1),gx=dx(0x0,!0x0),px=dx(0x1,!0x0);class HistEvent{constructor(_0x5ba605,_0x2a8b52,_0x290cc6,_0x1f7eaf,_0x8ace2){this['changes']=_0x5ba605,this['effects']=_0x2a8b52,this['mapped']=_0x290cc6,this['startSelection']=_0x1f7eaf,this['selectionsAfter']=_0x8ace2;}['setSelAfter'](_0x459f9a){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x459f9a);}['toJSON'](){var _0x124625,_0x1ece04,_0x4d398d;return{'changes':null===(_0x124625=this['changes'])||void 0x0===_0x124625?void 0x0:_0x124625['toJSON'](),'mapped':null===(_0x1ece04=this['mapped'])||void 0x0===_0x1ece04?void 0x0:_0x1ece04['toJSON'](),'startSelection':null===(_0x4d398d=this['startSelection'])||void 0x0===_0x4d398d?void 0x0:_0x4d398d['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x4d0164=>_0x4d0164['toJSON']())};}static['fromJSON'](_0x2e570f){return new HistEvent(_0x2e570f['changes']&&ChangeSet['fromJSON'](_0x2e570f['changes']),[],_0x2e570f['mapped']&&ChangeDesc['fromJSON'](_0x2e570f['mapped']),_0x2e570f['startSelection']&&EditorSelection['fromJSON'](_0x2e570f['startSelection']),_0x2e570f['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x26b8af,_0x26c23a){let _0x3fa7d6=bx;for(let _0x5cdee6 of _0x26b8af['startState']['facet'](cx)){let _0x29b81d=_0x5cdee6(_0x26b8af);_0x29b81d['length']&&(_0x3fa7d6=_0x3fa7d6['concat'](_0x29b81d));}return!_0x3fa7d6['length']&&_0x26b8af['changes']['empty']?null:new HistEvent(_0x26b8af['changes']['invert'](_0x26b8af['startState']['doc']),_0x3fa7d6,void 0x0,_0x26c23a||_0x26b8af['startState']['selection'],bx);}static['selection'](_0x494b26){return new HistEvent(void 0x0,bx,void 0x0,void 0x0,_0x494b26);}}function Ox(_0xb57c3d,_0x85c8de,_0x104445,_0x10d173){let _0xfd522c=_0x85c8de+0x1>_0x104445+0x14?_0x85c8de-_0x104445-0x1:0x0,_0x52ba65=_0xb57c3d['slice'](_0xfd522c,_0x85c8de);return _0x52ba65['push'](_0x10d173),_0x52ba65;}function wx(_0x274fa0,_0x3af513){return _0x274fa0['length']?_0x3af513['length']?_0x274fa0['concat'](_0x3af513):_0x274fa0:_0x3af513;}const bx=[],yx=0xc8;function vx(_0x5ae396,_0x405ddc){if(_0x5ae396['length']){let _0x5eeca4=_0x5ae396[_0x5ae396['length']-0x1],_0x266f60=_0x5eeca4['selectionsAfter']['slice'](Math['max'](0x0,_0x5eeca4['selectionsAfter']['length']-yx));return _0x266f60['length']&&_0x266f60[_0x266f60['length']-0x1]['eq'](_0x405ddc)?_0x5ae396:(_0x266f60['push'](_0x405ddc),Ox(_0x5ae396,_0x5ae396['length']-0x1,0x3b9aca00,_0x5eeca4['setSelAfter'](_0x266f60)));}return[HistEvent['selection']([_0x405ddc])];}function _x(_0x193016){let _0x131821=_0x193016[_0x193016['length']-0x1],_0x3791b5=_0x193016['slice']();return _0x3791b5[_0x193016['length']-0x1]=_0x131821['setSelAfter'](_0x131821['selectionsAfter']['slice'](0x0,_0x131821['selectionsAfter']['length']-0x1)),_0x3791b5;}function Ex(_0x53dd04,_0x1a0ef2){if(!_0x53dd04['length'])return _0x53dd04;let _0x17fa94=_0x53dd04['length'],_0x1a9c22=bx;for(;_0x17fa94;){let _0xbe066e=Tx(_0x53dd04[_0x17fa94-0x1],_0x1a0ef2,_0x1a9c22);if(_0xbe066e['changes']&&!_0xbe066e['changes']['empty']||_0xbe066e['effects']['length']){let _0x1c536c=_0x53dd04['slice'](0x0,_0x17fa94);return _0x1c536c[_0x17fa94-0x1]=_0xbe066e,_0x1c536c;}_0x1a0ef2=_0xbe066e['mapped'],_0x17fa94--,_0x1a9c22=_0xbe066e['selectionsAfter'];}return _0x1a9c22['length']?[HistEvent['selection'](_0x1a9c22)]:bx;}function Tx(_0x45d306,_0xa248d4,_0x1094c3){let _0x86c73=wx(_0x45d306['selectionsAfter']['length']?_0x45d306['selectionsAfter']['map'](_0x4e880c=>_0x4e880c['map'](_0xa248d4)):bx,_0x1094c3);if(!_0x45d306['changes'])return HistEvent['selection'](_0x86c73);let _0x5e1267=_0x45d306['changes']['map'](_0xa248d4),_0x97582b=_0xa248d4['mapDesc'](_0x45d306['changes'],!0x0),_0x4afcd8=_0x45d306['mapped']?_0x45d306['mapped']['composeDesc'](_0x97582b):_0x97582b;return new HistEvent(_0x5e1267,StateEffect['mapEffects'](_0x45d306['effects'],_0xa248d4),_0x4afcd8,_0x45d306['startSelection']['map'](_0x97582b),_0x86c73);}const Ax=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x4b832c,_0x189a13,_0x40f637=0x0,_0x4d62ea=void 0x0){this['done']=_0x4b832c,this['undone']=_0x189a13,this['prevTime']=_0x40f637,this['prevUserEvent']=_0x4d62ea;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x24a6e7,_0x19eb24,_0x10d56d,_0x55ba26,_0x206997){let _0x39d24c=this['done'],_0x3d84fd=_0x39d24c[_0x39d24c['length']-0x1];return _0x39d24c=_0x3d84fd&&_0x3d84fd['changes']&&!_0x3d84fd['changes']['empty']&&_0x24a6e7['changes']&&(!_0x10d56d||Ax['test'](_0x10d56d))&&(!_0x3d84fd['selectionsAfter']['length']&&_0x19eb24-this['prevTime']<_0x55ba26['newGroupDelay']&&_0x55ba26['joinToEvent'](_0x206997,function(_0x347308,_0x18b1ff){let _0x30b8d7=[],_0x5446be=!0x1;return _0x347308['iterChangedRanges']((_0x3a09b6,t)=>_0x30b8d7['push'](_0x3a09b6,t)),_0x18b1ff['iterChangedRanges']((_0x2118f3,_0x5492b2,_0x46f996,t)=>{for(let _0x447441=0x0;_0x447441<_0x30b8d7['length'];){let _0x4287af=_0x30b8d7[_0x447441++],_0x1f0cb3=_0x30b8d7[_0x447441++];t>=_0x4287af&&_0x46f996<=_0x1f0cb3&&(_0x5446be=!0x0);}}),_0x5446be;}(_0x3d84fd['changes'],_0x24a6e7['changes']))||'input.type.compose'==_0x10d56d)?Ox(_0x39d24c,_0x39d24c['length']-0x1,_0x55ba26['minDepth'],new HistEvent(_0x24a6e7['changes']['compose'](_0x3d84fd['changes']),wx(StateEffect['mapEffects'](_0x24a6e7['effects'],_0x3d84fd['changes']),_0x3d84fd['effects']),_0x3d84fd['mapped'],_0x3d84fd['startSelection'],bx)):Ox(_0x39d24c,_0x39d24c['length'],_0x55ba26['minDepth'],_0x24a6e7),new HistoryState(_0x39d24c,bx,_0x19eb24,_0x10d56d);}['addSelection'](_0xc7628e,_0x4a0b9c,_0x4e5c1c,_0x5c7e4b){let _0xaf5c41=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:bx;return _0xaf5c41['length']>0x0&&_0x4a0b9c-this['prevTime']<_0x5c7e4b&&_0x4e5c1c==this['prevUserEvent']&&_0x4e5c1c&&/^select($|\.)/['test'](_0x4e5c1c)&&(_0x3f595d=_0xaf5c41[_0xaf5c41['length']-0x1],_0x5d7b4d=_0xc7628e,_0x3f595d['ranges']['length']==_0x5d7b4d['ranges']['length']&&0x0===_0x3f595d['ranges']['filter']((_0x2e4ae1,_0x46e806)=>_0x2e4ae1['empty']!=_0x5d7b4d['ranges'][_0x46e806]['empty'])['length'])?this:new HistoryState(vx(this['done'],_0xc7628e),this['undone'],_0x4a0b9c,_0x4e5c1c);var _0x3f595d,_0x5d7b4d;}['addMapping'](_0x10ec96){return new HistoryState(Ex(this['done'],_0x10ec96),Ex(this['undone'],_0x10ec96),this['prevTime'],this['prevUserEvent']);}['pop'](_0x306bd0,_0x47a598,_0x3916e5){let _0x111d7b=0x0==_0x306bd0?this['done']:this['undone'];if(0x0==_0x111d7b['length'])return null;let _0x303f15=_0x111d7b[_0x111d7b['length']-0x1],_0x3d2116=_0x303f15['selectionsAfter'][0x0]||_0x47a598['selection'];if(_0x3916e5&&_0x303f15['selectionsAfter']['length'])return _0x47a598['update']({'selection':_0x303f15['selectionsAfter'][_0x303f15['selectionsAfter']['length']-0x1],'annotations':ox['of']({'side':_0x306bd0,'rest':_x(_0x111d7b),'selection':_0x3d2116}),'userEvent':0x0==_0x306bd0?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x303f15['changes']){let _0x40bbf2=0x1==_0x111d7b['length']?bx:_0x111d7b['slice'](0x0,_0x111d7b['length']-0x1);return _0x303f15['mapped']&&(_0x40bbf2=Ex(_0x40bbf2,_0x303f15['mapped'])),_0x47a598['update']({'changes':_0x303f15['changes'],'selection':_0x303f15['startSelection'],'effects':_0x303f15['effects'],'annotations':ox['of']({'side':_0x306bd0,'rest':_0x40bbf2,'selection':_0x3d2116}),'filter':!0x1,'userEvent':0x0==_0x306bd0?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(bx,bx);const Sx=[{'key':'Mod-z','run':fx,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':mx,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':mx,'preventDefault':!0x0},{'key':'Mod-u','run':gx,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':px,'preventDefault':!0x0}];function Ix(_0xd6863d,_0x2639e4){return EditorSelection['create'](_0xd6863d['ranges']['map'](_0x2639e4),_0xd6863d['mainIndex']);}function Cx(_0x1f9378,_0x49f5ec){return _0x1f9378['update']({'selection':_0x49f5ec,'scrollIntoView':!0x0,'userEvent':'select'});}function kx({state:_0x5841f2,dispatch:_0x86a676},_0x16db7d){let _0x5f1619=Ix(_0x5841f2['selection'],_0x16db7d);return!_0x5f1619['eq'](_0x5841f2['selection'],!0x0)&&(_0x86a676(Cx(_0x5841f2,_0x5f1619)),!0x0);}function xx(_0x57bc5e,_0x500df3){return EditorSelection['cursor'](_0x500df3?_0x57bc5e['to']:_0x57bc5e['from']);}function Rx(_0x1c2a92,_0x474d64){return kx(_0x1c2a92,_0x5a502f=>_0x5a502f['empty']?_0x1c2a92['moveByChar'](_0x5a502f,_0x474d64):xx(_0x5a502f,_0x474d64));}function Px(_0xd9ab4a){return _0xd9ab4a['textDirectionAt'](_0xd9ab4a['state']['selection']['main']['head'])==sT['LTR'];}const Mx=_0x2d36ed=>Rx(_0x2d36ed,!Px(_0x2d36ed)),Nx=_0x4dfe4d=>Rx(_0x4dfe4d,Px(_0x4dfe4d));function Lx(_0x2be68d,_0x25e71b){return kx(_0x2be68d,_0x10662a=>_0x10662a['empty']?_0x2be68d['moveByGroup'](_0x10662a,_0x25e71b):xx(_0x10662a,_0x25e71b));}function $x(_0x1c727f,_0x298752,_0x2c5450){if(_0x298752['type']['prop'](_0x2c5450))return!0x0;let _0x35d19e=_0x298752['to']-_0x298752['from'];return _0x35d19e&&(_0x35d19e>0x2||/[^\s,.;:]/['test'](_0x1c727f['sliceDoc'](_0x298752['from'],_0x298752['to'])))||_0x298752['firstChild'];}function Dx(_0x554aa7,_0x452fdf,_0x3eda05){let _0x15683d,_0x57f577,_0x1875bf=NC(_0x554aa7)['resolveInner'](_0x452fdf['head']),_0x19e188=_0x3eda05?NodeProp['closedBy']:NodeProp['openedBy'];for(let _0x2d2ddf=_0x452fdf['head'];;){let _0x306ea9=_0x3eda05?_0x1875bf['childAfter'](_0x2d2ddf):_0x1875bf['childBefore'](_0x2d2ddf);if(!_0x306ea9)break;$x(_0x554aa7,_0x306ea9,_0x19e188)?_0x1875bf=_0x306ea9:_0x2d2ddf=_0x3eda05?_0x306ea9['to']:_0x306ea9['from'];}return _0x57f577=_0x1875bf['type']['prop'](_0x19e188)&&(_0x15683d=_0x3eda05?Fk(_0x554aa7,_0x1875bf['from'],0x1):Fk(_0x554aa7,_0x1875bf['to'],-0x1))&&_0x15683d['matched']?_0x3eda05?_0x15683d['end']['to']:_0x15683d['end']['from']:_0x3eda05?_0x1875bf['to']:_0x1875bf['from'],EditorSelection['cursor'](_0x57f577,_0x3eda05?-0x1:0x1);}function Qx(_0x56e9ce,_0x332012){return kx(_0x56e9ce,_0x8fbe8e=>{if(!_0x8fbe8e['empty'])return xx(_0x8fbe8e,_0x332012);let _0x5672f7=_0x56e9ce['moveVertically'](_0x8fbe8e,_0x332012);return _0x5672f7['head']!=_0x8fbe8e['head']?_0x5672f7:_0x56e9ce['moveToLineBoundary'](_0x8fbe8e,_0x332012);});}const Vx=_0x355179=>Qx(_0x355179,!0x1),Ux=_0x315764=>Qx(_0x315764,!0x0);function Bx(_0x220474){let _0x3c5ad5,_0x1b807d=_0x220474['scrollDOM']['clientHeight']<_0x220474['scrollDOM']['scrollHeight']-0x2,_0x5afbbc=0x0,_0x206c29=0x0;if(_0x1b807d){for(let _0xf1b364 of _0x220474['state']['facet'](EditorView['scrollMargins'])){let _0xb0efa7=_0xf1b364(_0x220474);(null==_0xb0efa7?void 0x0:_0xb0efa7['top'])&&(_0x5afbbc=Math['max'](null==_0xb0efa7?void 0x0:_0xb0efa7['top'],_0x5afbbc)),(null==_0xb0efa7?void 0x0:_0xb0efa7['bottom'])&&(_0x206c29=Math['max'](null==_0xb0efa7?void 0x0:_0xb0efa7['bottom'],_0x206c29));}_0x3c5ad5=_0x220474['scrollDOM']['clientHeight']-_0x5afbbc-_0x206c29;}else _0x3c5ad5=(_0x220474['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x5afbbc,'marginBottom':_0x206c29,'selfScroll':_0x1b807d,'height':Math['max'](_0x220474['defaultLineHeight'],_0x3c5ad5-0x5)};}function jx(_0x31abf4,_0x3867f7){let _0x23e5e0,_0x34fa56=Bx(_0x31abf4),{state:_0x4c5659}=_0x31abf4,_0xf1015=Ix(_0x4c5659['selection'],_0x13ab18=>_0x13ab18['empty']?_0x31abf4['moveVertically'](_0x13ab18,_0x3867f7,_0x34fa56['height']):xx(_0x13ab18,_0x3867f7));if(_0xf1015['eq'](_0x4c5659['selection']))return!0x1;if(_0x34fa56['selfScroll']){let _0x14d64e=_0x31abf4['coordsAtPos'](_0x4c5659['selection']['main']['head']),_0x47c5f7=_0x31abf4['scrollDOM']['getBoundingClientRect'](),_0x5a705b=_0x47c5f7['top']+_0x34fa56['marginTop'],_0x3c3982=_0x47c5f7['bottom']-_0x34fa56['marginBottom'];_0x14d64e&&_0x14d64e['top']>_0x5a705b&&_0x14d64e['bottom']<_0x3c3982&&(_0x23e5e0=EditorView['scrollIntoView'](_0xf1015['main']['head'],{'y':'start','yMargin':_0x14d64e['top']-_0x5a705b}));}return _0x31abf4['dispatch'](Cx(_0x4c5659,_0xf1015),{'effects':_0x23e5e0}),!0x0;}const Fx=_0x1af359=>jx(_0x1af359,!0x1),Hx=_0x5f2bb4=>jx(_0x5f2bb4,!0x0);function Gx(_0x3107f6,_0x43ed68,_0x2200f7){let _0x2f926a=_0x3107f6['lineBlockAt'](_0x43ed68['head']),_0x1c746e=_0x3107f6['moveToLineBoundary'](_0x43ed68,_0x2200f7);if(_0x1c746e['head']==_0x43ed68['head']&&_0x1c746e['head']!=(_0x2200f7?_0x2f926a['to']:_0x2f926a['from'])&&(_0x1c746e=_0x3107f6['moveToLineBoundary'](_0x43ed68,_0x2200f7,!0x1)),!_0x2200f7&&_0x1c746e['head']==_0x2f926a['from']&&_0x2f926a['length']){let _0x25e88b=/^\s*/['exec'](_0x3107f6['state']['sliceDoc'](_0x2f926a['from'],Math['min'](_0x2f926a['from']+0x64,_0x2f926a['to'])))[0x0]['length'];_0x25e88b&&_0x43ed68['head']!=_0x2f926a['from']+_0x25e88b&&(_0x1c746e=EditorSelection['cursor'](_0x2f926a['from']+_0x25e88b));}return _0x1c746e;}function Zx(_0x576cb3,_0x1d66f0){let _0x35ca8e=Ix(_0x576cb3['state']['selection'],_0x53b772=>{let _0x309f5c=_0x1d66f0(_0x53b772);return EditorSelection['range'](_0x53b772['anchor'],_0x309f5c['head'],_0x309f5c['goalColumn'],_0x309f5c['bidiLevel']||void 0x0);});return!_0x35ca8e['eq'](_0x576cb3['state']['selection'])&&(_0x576cb3['dispatch'](Cx(_0x576cb3['state'],_0x35ca8e)),!0x0);}function Xx(_0x139b29,_0x3b2b3d){return Zx(_0x139b29,_0x1978b3=>_0x139b29['moveByChar'](_0x1978b3,_0x3b2b3d));}const qx=_0x115722=>Xx(_0x115722,!Px(_0x115722)),Wx=_0x3f2363=>Xx(_0x3f2363,Px(_0x3f2363));function zx(_0x5de2b2,_0x13ef07){return Zx(_0x5de2b2,_0x14730f=>_0x5de2b2['moveByGroup'](_0x14730f,_0x13ef07));}function Yx(_0x338efa,_0x4fea13){return Zx(_0x338efa,_0x314f1c=>_0x338efa['moveVertically'](_0x314f1c,_0x4fea13));}const Kx=_0x2b6158=>Yx(_0x2b6158,!0x1),Jx=_0x398891=>Yx(_0x398891,!0x0);function tR(_0x1b6d97,_0x3588e4){return Zx(_0x1b6d97,_0x5d376c=>_0x1b6d97['moveVertically'](_0x5d376c,_0x3588e4,Bx(_0x1b6d97)['height']));}const eR=_0x1816a0=>tR(_0x1816a0,!0x1),iR=_0x311d69=>tR(_0x311d69,!0x0),sR=({state:_0x5588fa,dispatch:_0x312b0a})=>(_0x312b0a(Cx(_0x5588fa,{'anchor':0x0})),!0x0),nR=({state:_0x430eaf,dispatch:_0x467656})=>(_0x467656(Cx(_0x430eaf,{'anchor':_0x430eaf['doc']['length']})),!0x0),rR=({state:_0x4eeede,dispatch:_0x59731c})=>(_0x59731c(Cx(_0x4eeede,{'anchor':_0x4eeede['selection']['main']['anchor'],'head':0x0})),!0x0),oR=({state:_0x543b03,dispatch:_0x5264fa})=>(_0x5264fa(Cx(_0x543b03,{'anchor':_0x543b03['selection']['main']['anchor'],'head':_0x543b03['doc']['length']})),!0x0);function aR(_0x514e42,_0x5b4f13){if(_0x514e42['state']['readOnly'])return!0x1;let _0x3b89c5='delete.selection',{state:_0xe48e2b}=_0x514e42,_0x407628=_0xe48e2b['changeByRange'](_0x1b8ef2=>{let {from:_0x2bf8d7,to:_0x30cf59}=_0x1b8ef2;if(_0x2bf8d7==_0x30cf59){let _0x5a8cdc=_0x5b4f13(_0x1b8ef2);_0x5a8cdc<_0x2bf8d7?(_0x3b89c5='delete.backward',_0x5a8cdc=cR(_0x514e42,_0x5a8cdc,!0x1)):_0x5a8cdc>_0x2bf8d7&&(_0x3b89c5='delete.forward',_0x5a8cdc=cR(_0x514e42,_0x5a8cdc,!0x0)),_0x2bf8d7=Math['min'](_0x2bf8d7,_0x5a8cdc),_0x30cf59=Math['max'](_0x30cf59,_0x5a8cdc);}else _0x2bf8d7=cR(_0x514e42,_0x2bf8d7,!0x1),_0x30cf59=cR(_0x514e42,_0x30cf59,!0x0);return _0x2bf8d7==_0x30cf59?{'range':_0x1b8ef2}:{'changes':{'from':_0x2bf8d7,'to':_0x30cf59},'range':EditorSelection['cursor'](_0x2bf8d7,_0x2bf8d7<_0x1b8ef2['head']?-0x1:0x1)};});return!_0x407628['changes']['empty']&&(_0x514e42['dispatch'](_0xe48e2b['update'](_0x407628,{'scrollIntoView':!0x0,'userEvent':_0x3b89c5,'effects':'delete.selection'==_0x3b89c5?EditorView['announce']['of'](_0xe48e2b['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function cR(_0x4ebb5c,_0x3042b6,_0x52b148){if(_0x4ebb5c instanceof EditorView){for(let _0xf1974c of _0x4ebb5c['state']['facet'](EditorView['atomicRanges'])['map'](_0x4a202d=>_0x4a202d(_0x4ebb5c)))_0xf1974c['between'](_0x3042b6,_0x3042b6,(_0x101b1a,_0x3b6752)=>{_0x101b1a<_0x3042b6&&_0x3b6752>_0x3042b6&&(_0x3042b6=_0x52b148?_0x3b6752:_0x101b1a);});}return _0x3042b6;}const lR=(_0x33308f,_0x2c1487,_0x13d367)=>aR(_0x33308f,_0x117ae4=>{let _0x32073e,_0x268af8,_0x2ff1c0=_0x117ae4['from'],{state:_0x5637ff}=_0x33308f,_0x2b394c=_0x5637ff['doc']['lineAt'](_0x2ff1c0);if(_0x13d367&&!_0x2c1487&&_0x2ff1c0>_0x2b394c['from']&&_0x2ff1c0<_0x2b394c['from']+0xc8&&!/[^ \t]/['test'](_0x32073e=_0x2b394c['text']['slice'](0x0,_0x2ff1c0-_0x2b394c['from']))){if('\x09'==_0x32073e[_0x32073e['length']-0x1])return _0x2ff1c0-0x1;let _0x527f37=W_(_0x32073e,_0x5637ff['tabSize'])%FC(_0x5637ff)||FC(_0x5637ff);for(let _0x526c25=0x0;_0x526c25<_0x527f37&&'\x20'==_0x32073e[_0x32073e['length']-0x1-_0x526c25];_0x526c25++)_0x2ff1c0--;_0x268af8=_0x2ff1c0;}else _0x268af8=zv(_0x2b394c['text'],_0x2ff1c0-_0x2b394c['from'],_0x2c1487,_0x2c1487)+_0x2b394c['from'],_0x268af8==_0x2ff1c0&&_0x2b394c['number']!=(_0x2c1487?_0x5637ff['doc']['lines']:0x1)?_0x268af8+=_0x2c1487?0x1:-0x1:!_0x2c1487&&/[\ufe00-\ufe0f]/['test'](_0x2b394c['text']['slice'](_0x268af8-_0x2b394c['from'],_0x2ff1c0-_0x2b394c['from']))&&(_0x268af8=zv(_0x2b394c['text'],_0x268af8-_0x2b394c['from'],!0x1,!0x1)+_0x2b394c['from']);return _0x268af8;}),hR=_0x491f8f=>lR(_0x491f8f,!0x1,!0x0),uR=_0x4d1e92=>lR(_0x4d1e92,!0x0,!0x1),dR=(_0x37dabf,_0x5d80f7)=>aR(_0x37dabf,_0x227e1b=>{let _0x8e6eb8=_0x227e1b['head'],{state:_0x332bfc}=_0x37dabf,_0x16384c=_0x332bfc['doc']['lineAt'](_0x8e6eb8),_0x491d31=_0x332bfc['charCategorizer'](_0x8e6eb8);for(let _0x4550d6=null;;){if(_0x8e6eb8==(_0x5d80f7?_0x16384c['to']:_0x16384c['from'])){_0x8e6eb8==_0x227e1b['head']&&_0x16384c['number']!=(_0x5d80f7?_0x332bfc['doc']['lines']:0x1)&&(_0x8e6eb8+=_0x5d80f7?0x1:-0x1);break;}let _0x3e68ff=zv(_0x16384c['text'],_0x8e6eb8-_0x16384c['from'],_0x5d80f7)+_0x16384c['from'],_0x3297f2=_0x16384c['text']['slice'](Math['min'](_0x8e6eb8,_0x3e68ff)-_0x16384c['from'],Math['max'](_0x8e6eb8,_0x3e68ff)-_0x16384c['from']),_0x2e0f11=_0x491d31(_0x3297f2);if(null!=_0x4550d6&&_0x2e0f11!=_0x4550d6)break;'\x20'==_0x3297f2&&_0x8e6eb8==_0x227e1b['head']||(_0x4550d6=_0x2e0f11),_0x8e6eb8=_0x3e68ff;}return _0x8e6eb8;}),fR=_0xbd633d=>dR(_0xbd633d,!0x1);function mR(_0x28fd2e){let _0x592f5c=[],_0x1c2605=-0x1;for(let _0x46901a of _0x28fd2e['selection']['ranges']){let _0x569842=_0x28fd2e['doc']['lineAt'](_0x46901a['from']),_0x45e824=_0x28fd2e['doc']['lineAt'](_0x46901a['to']);if(_0x46901a['empty']||_0x46901a['to']!=_0x45e824['from']||(_0x45e824=_0x28fd2e['doc']['lineAt'](_0x46901a['to']-0x1)),_0x1c2605>=_0x569842['number']){let _0x38f281=_0x592f5c[_0x592f5c['length']-0x1];_0x38f281['to']=_0x45e824['to'],_0x38f281['ranges']['push'](_0x46901a);}else _0x592f5c['push']({'from':_0x569842['from'],'to':_0x45e824['to'],'ranges':[_0x46901a]});_0x1c2605=_0x45e824['number']+0x1;}return _0x592f5c;}function gR(_0x381dfe,_0x28d076,_0x3fe77e){if(_0x381dfe['readOnly'])return!0x1;let _0x35abad=[],_0x21aa4c=[];for(let _0x231758 of mR(_0x381dfe)){if(_0x3fe77e?_0x231758['to']==_0x381dfe['doc']['length']:0x0==_0x231758['from'])continue;let _0x4b32dd=_0x381dfe['doc']['lineAt'](_0x3fe77e?_0x231758['to']+0x1:_0x231758['from']-0x1),_0x5dbd4c=_0x4b32dd['length']+0x1;if(_0x3fe77e){_0x35abad['push']({'from':_0x231758['to'],'to':_0x4b32dd['to']},{'from':_0x231758['from'],'insert':_0x4b32dd['text']+_0x381dfe['lineBreak']});for(let _0x282fd4 of _0x231758['ranges'])_0x21aa4c['push'](EditorSelection['range'](Math['min'](_0x381dfe['doc']['length'],_0x282fd4['anchor']+_0x5dbd4c),Math['min'](_0x381dfe['doc']['length'],_0x282fd4['head']+_0x5dbd4c)));}else{_0x35abad['push']({'from':_0x4b32dd['from'],'to':_0x231758['from']},{'from':_0x231758['to'],'insert':_0x381dfe['lineBreak']+_0x4b32dd['text']});for(let _0x499106 of _0x231758['ranges'])_0x21aa4c['push'](EditorSelection['range'](_0x499106['anchor']-_0x5dbd4c,_0x499106['head']-_0x5dbd4c));}}return!!_0x35abad['length']&&(_0x28d076(_0x381dfe['update']({'changes':_0x35abad,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x21aa4c,_0x381dfe['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function pR(_0x27f2fe,_0x480f06,_0xb44d99){if(_0x27f2fe['readOnly'])return!0x1;let _0x24a634=[];for(let _0x3c3f3f of mR(_0x27f2fe))_0xb44d99?_0x24a634['push']({'from':_0x3c3f3f['from'],'insert':_0x27f2fe['doc']['slice'](_0x3c3f3f['from'],_0x3c3f3f['to'])+_0x27f2fe['lineBreak']}):_0x24a634['push']({'from':_0x3c3f3f['to'],'insert':_0x27f2fe['lineBreak']+_0x27f2fe['doc']['slice'](_0x3c3f3f['from'],_0x3c3f3f['to'])});return _0x480f06(_0x27f2fe['update']({'changes':_0x24a634,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const OR=bR(!0x1),wR=bR(!0x0);function bR(_0x27a06c){return({state:_0x25e802,dispatch:_0x4ba092})=>{if(_0x25e802['readOnly'])return!0x1;let _0x2c317c=_0x25e802['changeByRange'](_0x5dcf4c=>{let {from:_0x1ce952,to:_0x2279a8}=_0x5dcf4c,_0xa8aaa8=_0x25e802['doc']['lineAt'](_0x1ce952),_0x23c0c7=!_0x27a06c&&_0x1ce952==_0x2279a8&&function(_0x293eaf,_0x1c5f85){if(/\(\)|\[\]|\{\}/['test'](_0x293eaf['sliceDoc'](_0x1c5f85-0x1,_0x1c5f85+0x1)))return{'from':_0x1c5f85,'to':_0x1c5f85};let _0x5c8ffc,_0x95e78=NC(_0x293eaf)['resolveInner'](_0x1c5f85),_0x4cd18f=_0x95e78['childBefore'](_0x1c5f85),_0x57d2b4=_0x95e78['childAfter'](_0x1c5f85);return _0x4cd18f&&_0x57d2b4&&_0x4cd18f['to']<=_0x1c5f85&&_0x57d2b4['from']>=_0x1c5f85&&(_0x5c8ffc=_0x4cd18f['type']['prop'](NodeProp['closedBy']))&&_0x5c8ffc['indexOf'](_0x57d2b4['name'])>-0x1&&_0x293eaf['doc']['lineAt'](_0x4cd18f['to'])['from']==_0x293eaf['doc']['lineAt'](_0x57d2b4['from'])['from']&&!/\S/['test'](_0x293eaf['sliceDoc'](_0x4cd18f['to'],_0x57d2b4['from']))?{'from':_0x4cd18f['to'],'to':_0x57d2b4['from']}:null;}(_0x25e802,_0x1ce952);_0x27a06c&&(_0x1ce952=_0x2279a8=(_0x2279a8<=_0xa8aaa8['to']?_0xa8aaa8:_0x25e802['doc']['lineAt'](_0x2279a8))['to']);let _0x434da0=new IndentContext(_0x25e802,{'simulateBreak':_0x1ce952,'simulateDoubleBreak':!!_0x23c0c7}),_0x1d64f9=GC(_0x434da0,_0x1ce952);for(null==_0x1d64f9&&(_0x1d64f9=W_(/^\s*/['exec'](_0x25e802['doc']['lineAt'](_0x1ce952)['text'])[0x0],_0x25e802['tabSize']));_0x2279a8<_0xa8aaa8['to']&&/\s/['test'](_0xa8aaa8['text'][_0x2279a8-_0xa8aaa8['from']]);)_0x2279a8++;_0x23c0c7?{from:_0x1ce952,to:_0x2279a8}=_0x23c0c7:_0x1ce952>_0xa8aaa8['from']&&_0x1ce952<_0xa8aaa8['from']+0x64&&!/\S/['test'](_0xa8aaa8['text']['slice'](0x0,_0x1ce952))&&(_0x1ce952=_0xa8aaa8['from']);let _0x3c8683=['',HC(_0x25e802,_0x1d64f9)];return _0x23c0c7&&_0x3c8683['push'](HC(_0x25e802,_0x434da0['lineIndent'](_0xa8aaa8['from'],-0x1))),{'changes':{'from':_0x1ce952,'to':_0x2279a8,'insert':Gv['of'](_0x3c8683)},'range':EditorSelection['cursor'](_0x1ce952+0x1+_0x3c8683[0x1]['length'])};});return _0x4ba092(_0x25e802['update'](_0x2c317c,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function yR(_0x41e557,_0x278604){let _0x374a86=-0x1;return _0x41e557['changeByRange'](_0x4fdc17=>{let _0x17d569=[];for(let _0x4a0e77=_0x4fdc17['from'];_0x4a0e77<=_0x4fdc17['to'];){let _0x551e0a=_0x41e557['doc']['lineAt'](_0x4a0e77);_0x551e0a['number']>_0x374a86&&(_0x4fdc17['empty']||_0x4fdc17['to']>_0x551e0a['from'])&&(_0x278604(_0x551e0a,_0x17d569,_0x4fdc17),_0x374a86=_0x551e0a['number']),_0x4a0e77=_0x551e0a['to']+0x1;}let _0x5322=_0x41e557['changes'](_0x17d569);return{'changes':_0x17d569,'range':EditorSelection['range'](_0x5322['mapPos'](_0x4fdc17['anchor'],0x1),_0x5322['mapPos'](_0x4fdc17['head'],0x1))};});}const vR=({state:_0x5b8bbd,dispatch:_0xef1716})=>!_0x5b8bbd['readOnly']&&(_0xef1716(_0x5b8bbd['update'](yR(_0x5b8bbd,(_0x259285,_0x768569)=>{_0x768569['push']({'from':_0x259285['from'],'insert':_0x5b8bbd['facet'](jC)});}),{'userEvent':'input.indent'})),!0x0),_R=({state:_0x1ec62e,dispatch:_0x1c3b7f})=>!_0x1ec62e['readOnly']&&(_0x1c3b7f(_0x1ec62e['update'](yR(_0x1ec62e,(_0x23cb7a,_0x215453)=>{let _0x9090a8=/^\s*/['exec'](_0x23cb7a['text'])[0x0];if(!_0x9090a8)return;let _0xf5d369=W_(_0x9090a8,_0x1ec62e['tabSize']),_0x49a94f=0x0,_0x1d5834=HC(_0x1ec62e,Math['max'](0x0,_0xf5d369-FC(_0x1ec62e)));for(;_0x49a94f<_0x9090a8['length']&&_0x49a94f<_0x1d5834['length']&&_0x9090a8['charCodeAt'](_0x49a94f)==_0x1d5834['charCodeAt'](_0x49a94f);)_0x49a94f++;_0x215453['push']({'from':_0x23cb7a['from']+_0x49a94f,'to':_0x23cb7a['from']+_0x9090a8['length'],'insert':_0x1d5834['slice'](_0x49a94f)});}),{'userEvent':'delete.dedent'})),!0x0),ER=_0x3001fe=>(_0x3001fe['setTabFocusMode'](),!0x0),TR=[{'key':'Ctrl-b','run':Mx,'shift':qx,'preventDefault':!0x0},{'key':'Ctrl-f','run':Nx,'shift':Wx},{'key':'Ctrl-p','run':Vx,'shift':Kx},{'key':'Ctrl-n','run':Ux,'shift':Jx},{'key':'Ctrl-a','run':_0x45202a=>kx(_0x45202a,_0x9e0dea=>EditorSelection['cursor'](_0x45202a['lineBlockAt'](_0x9e0dea['head'])['from'],0x1)),'shift':_0x33c785=>Zx(_0x33c785,_0x46ec4a=>EditorSelection['cursor'](_0x33c785['lineBlockAt'](_0x46ec4a['head'])['from']))},{'key':'Ctrl-e','run':_0x521fd6=>kx(_0x521fd6,_0x44684c=>EditorSelection['cursor'](_0x521fd6['lineBlockAt'](_0x44684c['head'])['to'],-0x1)),'shift':_0x59fb9b=>Zx(_0x59fb9b,_0x407405=>EditorSelection['cursor'](_0x59fb9b['lineBlockAt'](_0x407405['head'])['to']))},{'key':'Ctrl-d','run':uR},{'key':'Ctrl-h','run':hR},{'key':'Ctrl-k','run':_0x5154a0=>aR(_0x5154a0,_0x641845=>{let _0x19c964=_0x5154a0['lineBlockAt'](_0x641845['head'])['to'];return _0x641845['head']<_0x19c964?_0x19c964:Math['min'](_0x5154a0['state']['doc']['length'],_0x641845['head']+0x1);})},{'key':'Ctrl-Alt-h','run':fR},{'key':'Ctrl-o','run':({state:_0x4fc8f3,dispatch:_0x37d13c})=>{if(_0x4fc8f3['readOnly'])return!0x1;let _0x3022d9=_0x4fc8f3['changeByRange'](_0x559c40=>({'changes':{'from':_0x559c40['from'],'to':_0x559c40['to'],'insert':Gv['of'](['',''])},'range':EditorSelection['cursor'](_0x559c40['from'])}));return _0x37d13c(_0x4fc8f3['update'](_0x3022d9,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x5a8524,dispatch:_0x2fa55d})=>{if(_0x5a8524['readOnly'])return!0x1;let _0x462a1d=_0x5a8524['changeByRange'](_0x14c434=>{if(!_0x14c434['empty']||0x0==_0x14c434['from']||_0x14c434['from']==_0x5a8524['doc']['length'])return{'range':_0x14c434};let _0x374a0d=_0x14c434['from'],_0x2b9c03=_0x5a8524['doc']['lineAt'](_0x374a0d),_0xc7b927=_0x374a0d==_0x2b9c03['from']?_0x374a0d-0x1:zv(_0x2b9c03['text'],_0x374a0d-_0x2b9c03['from'],!0x1)+_0x2b9c03['from'],_0x3efdad=_0x374a0d==_0x2b9c03['to']?_0x374a0d+0x1:zv(_0x2b9c03['text'],_0x374a0d-_0x2b9c03['from'],!0x0)+_0x2b9c03['from'];return{'changes':{'from':_0xc7b927,'to':_0x3efdad,'insert':_0x5a8524['doc']['slice'](_0x374a0d,_0x3efdad)['append'](_0x5a8524['doc']['slice'](_0xc7b927,_0x374a0d))},'range':EditorSelection['cursor'](_0x3efdad)};});return!_0x462a1d['changes']['empty']&&(_0x2fa55d(_0x5a8524['update'](_0x462a1d,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':Hx}],AR=[{'key':'ArrowLeft','run':Mx,'shift':qx,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x4a7617=>Lx(_0x4a7617,!Px(_0x4a7617)),'shift':_0x4a379e=>zx(_0x4a379e,!Px(_0x4a379e)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x157bbd=>kx(_0x157bbd,_0x2d802b=>Gx(_0x157bbd,_0x2d802b,!Px(_0x157bbd))),'shift':_0x4e3b58=>Zx(_0x4e3b58,_0x310c6d=>Gx(_0x4e3b58,_0x310c6d,!Px(_0x4e3b58))),'preventDefault':!0x0},{'key':'ArrowRight','run':Nx,'shift':Wx,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x53b044=>Lx(_0x53b044,Px(_0x53b044)),'shift':_0x26a497=>zx(_0x26a497,Px(_0x26a497)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x2b6e56=>kx(_0x2b6e56,_0x2be7fb=>Gx(_0x2b6e56,_0x2be7fb,Px(_0x2b6e56))),'shift':_0x40f2fa=>Zx(_0x40f2fa,_0x1cb4d0=>Gx(_0x40f2fa,_0x1cb4d0,Px(_0x40f2fa))),'preventDefault':!0x0},{'key':'ArrowUp','run':Vx,'shift':Kx,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':sR,'shift':rR},{'mac':'Ctrl-ArrowUp','run':Fx,'shift':eR},{'key':'ArrowDown','run':Ux,'shift':Jx,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':nR,'shift':oR},{'mac':'Ctrl-ArrowDown','run':Hx,'shift':iR},{'key':'PageUp','run':Fx,'shift':eR},{'key':'PageDown','run':Hx,'shift':iR},{'key':'Home','run':_0x344c9b=>kx(_0x344c9b,_0x2cadcd=>Gx(_0x344c9b,_0x2cadcd,!0x1)),'shift':_0x1cd418=>Zx(_0x1cd418,_0x4deed3=>Gx(_0x1cd418,_0x4deed3,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':sR,'shift':rR},{'key':'End','run':_0x5203e3=>kx(_0x5203e3,_0x20c4ac=>Gx(_0x5203e3,_0x20c4ac,!0x0)),'shift':_0x10ecdc=>Zx(_0x10ecdc,_0x31d56b=>Gx(_0x10ecdc,_0x31d56b,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':nR,'shift':oR},{'key':'Enter','run':OR,'shift':OR},{'key':'Mod-a','run':({state:_0x1491a9,dispatch:_0x38ad95})=>(_0x38ad95(_0x1491a9['update']({'selection':{'anchor':0x0,'head':_0x1491a9['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':hR,'shift':hR},{'key':'Delete','run':uR},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':fR},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x335543=>dR(_0x335543,!0x0)},{'mac':'Mod-Backspace','run':_0x374fd2=>aR(_0x374fd2,_0x303e86=>{let _0x453de0=_0x374fd2['moveToLineBoundary'](_0x303e86,!0x1)['head'];return _0x303e86['head']>_0x453de0?_0x453de0:Math['max'](0x0,_0x303e86['head']-0x1);})},{'mac':'Mod-Delete','run':_0x4f6a14=>aR(_0x4f6a14,_0x1e9fcb=>{let _0x189c03=_0x4f6a14['moveToLineBoundary'](_0x1e9fcb,!0x0)['head'];return _0x1e9fcb['head']<_0x189c03?_0x189c03:Math['min'](_0x4f6a14['state']['doc']['length'],_0x1e9fcb['head']+0x1);})}]['concat'](TR['map'](_0x13c236=>({'mac':_0x13c236['key'],'run':_0x13c236['run'],'shift':_0x13c236['shift']}))),SR=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x138d8f=>kx(_0x138d8f,_0xfc178e=>Dx(_0x138d8f['state'],_0xfc178e,!Px(_0x138d8f))),'shift':_0x29807f=>Zx(_0x29807f,_0x55c447=>Dx(_0x29807f['state'],_0x55c447,!Px(_0x29807f)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x5d2e46=>kx(_0x5d2e46,_0xe87bf5=>Dx(_0x5d2e46['state'],_0xe87bf5,Px(_0x5d2e46))),'shift':_0x2af828=>Zx(_0x2af828,_0x306705=>Dx(_0x2af828['state'],_0x306705,Px(_0x2af828)))},{'key':'Alt-ArrowUp','run':({state:_0x36bf2c,dispatch:_0x180d66})=>gR(_0x36bf2c,_0x180d66,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x4c919d,dispatch:_0xdc8c5f})=>pR(_0x4c919d,_0xdc8c5f,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x4bd3e2,dispatch:_0x45e3f5})=>gR(_0x4bd3e2,_0x45e3f5,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x54e04d,dispatch:_0x4f22d3})=>pR(_0x54e04d,_0x4f22d3,!0x0)},{'key':'Escape','run':({state:_0x363527,dispatch:_0x348bff})=>{let _0xf631a7=_0x363527['selection'],_0x34cfa7=null;return _0xf631a7['ranges']['length']>0x1?_0x34cfa7=EditorSelection['create']([_0xf631a7['main']]):_0xf631a7['main']['empty']||(_0x34cfa7=EditorSelection['create']([EditorSelection['cursor'](_0xf631a7['main']['head'])])),!!_0x34cfa7&&(_0x348bff(Cx(_0x363527,_0x34cfa7)),!0x0);}},{'key':'Mod-Enter','run':wR},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x2bba68,dispatch:_0x5484d9})=>{let _0x1c5e56=mR(_0x2bba68)['map'](({from:_0x6e4216,to:_0x1393d2})=>EditorSelection['range'](_0x6e4216,Math['min'](_0x1393d2+0x1,_0x2bba68['doc']['length'])));return _0x5484d9(_0x2bba68['update']({'selection':EditorSelection['create'](_0x1c5e56),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x4cbf09,dispatch:_0x3c48a5})=>{let _0x2f5ff7=Ix(_0x4cbf09['selection'],_0x32cbba=>{let _0x3e8494=NC(_0x4cbf09),_0x11b4cc=_0x3e8494['resolveStack'](_0x32cbba['from'],0x1);if(_0x32cbba['empty']){let _0x18f86f=_0x3e8494['resolveStack'](_0x32cbba['from'],-0x1);_0x18f86f['node']['from']>=_0x11b4cc['node']['from']&&_0x18f86f['node']['to']<=_0x11b4cc['node']['to']&&(_0x11b4cc=_0x18f86f);}for(let _0x11802a=_0x11b4cc;_0x11802a;_0x11802a=_0x11802a['next']){let {node:_0x58c237}=_0x11802a;if((_0x58c237['from']<_0x32cbba['from']&&_0x58c237['to']>=_0x32cbba['to']||_0x58c237['to']>_0x32cbba['to']&&_0x58c237['from']<=_0x32cbba['from'])&&_0x11802a['next'])return EditorSelection['range'](_0x58c237['to'],_0x58c237['from']);}return _0x32cbba;});return!_0x2f5ff7['eq'](_0x4cbf09['selection'])&&(_0x3c48a5(Cx(_0x4cbf09,_0x2f5ff7)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_R},{'key':'Mod-]','run':vR},{'key':'Mod-Alt-\x5c','run':({state:_0x2a7a9a,dispatch:_0x1ff18c})=>{if(_0x2a7a9a['readOnly'])return!0x1;let _0xf2dfa6=Object['create'](null),_0x4cb6fe=new IndentContext(_0x2a7a9a,{'overrideIndentation':_0x1ff9be=>{let _0x1530f5=_0xf2dfa6[_0x1ff9be];return null==_0x1530f5?-0x1:_0x1530f5;}}),_0x4cb53b=yR(_0x2a7a9a,(_0x8e2f8c,_0x36dc1b,_0x175ad7)=>{let _0x7383ac=GC(_0x4cb6fe,_0x8e2f8c['from']);if(null==_0x7383ac)return;/\S/['test'](_0x8e2f8c['text'])||(_0x7383ac=0x0);let _0x4e80bd=/^\s*/['exec'](_0x8e2f8c['text'])[0x0],_0x22f905=HC(_0x2a7a9a,_0x7383ac);(_0x4e80bd!=_0x22f905||_0x175ad7['from']<_0x8e2f8c['from']+_0x4e80bd['length'])&&(_0xf2dfa6[_0x8e2f8c['from']]=_0x7383ac,_0x36dc1b['push']({'from':_0x8e2f8c['from'],'to':_0x8e2f8c['from']+_0x4e80bd['length'],'insert':_0x22f905}));});return _0x4cb53b['changes']['empty']||_0x1ff18c(_0x2a7a9a['update'](_0x4cb53b,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x4fd117=>{if(_0x4fd117['state']['readOnly'])return!0x1;let {state:_0x4c2837}=_0x4fd117,_0x26348e=_0x4c2837['changes'](mR(_0x4c2837)['map'](({from:_0x30a56e,to:_0x5efcd8})=>(_0x30a56e>0x0?_0x30a56e--:_0x5efcd8<_0x4c2837['doc']['length']&&_0x5efcd8++,{'from':_0x30a56e,'to':_0x5efcd8}))),_0x29f55e=Ix(_0x4c2837['selection'],_0x5ed89c=>{let _0xe2f869;if(_0x4fd117['lineWrapping']){let _0x5d2620=_0x4fd117['lineBlockAt'](_0x5ed89c['head']),_0x116831=_0x4fd117['coordsAtPos'](_0x5ed89c['head'],_0x5ed89c['assoc']||0x1);_0x116831&&(_0xe2f869=_0x5d2620['bottom']+_0x4fd117['documentTop']-_0x116831['bottom']+_0x4fd117['defaultLineHeight']/0x2);}return _0x4fd117['moveVertically'](_0x5ed89c,!0x0,_0xe2f869);})['map'](_0x26348e);return _0x4fd117['dispatch']({'changes':_0x26348e,'selection':_0x29f55e,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x4ad97e,dispatch:_0x1c3208})=>function(_0x1984c5,_0x53b69c){let _0x36c2b9=!0x1,_0x26e62a=Ix(_0x1984c5['selection'],_0x4cf0b3=>{let _0xd66bba=Fk(_0x1984c5,_0x4cf0b3['head'],-0x1)||Fk(_0x1984c5,_0x4cf0b3['head'],0x1)||_0x4cf0b3['head']>0x0&&Fk(_0x1984c5,_0x4cf0b3['head']-0x1,0x1)||_0x4cf0b3['head']<_0x1984c5['doc']['length']&&Fk(_0x1984c5,_0x4cf0b3['head']+0x1,-0x1);if(!_0xd66bba||!_0xd66bba['end'])return _0x4cf0b3;_0x36c2b9=!0x0;let _0x3dbc05=_0xd66bba['start']['from']==_0x4cf0b3['head']?_0xd66bba['end']['to']:_0xd66bba['end']['from'];return EditorSelection['cursor'](_0x3dbc05);});return!!_0x36c2b9&&(_0x53b69c(Cx(_0x1984c5,_0x26e62a)),!0x0);}(_0x4ad97e,_0x1c3208)},{'key':'Mod-/','run':_0x5f23e2=>{let {state:_0x5066a9}=_0x5f23e2,_0x1c942d=_0x5066a9['doc']['lineAt'](_0x5066a9['selection']['main']['from']),_0x872ea7=ix(_0x5f23e2['state'],_0x1c942d['from']);return _0x872ea7['line']?Jk(_0x5f23e2):!!_0x872ea7['block']&&ex(_0x5f23e2);}},{'key':'Alt-A','run':tx},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':ER}]['concat'](AR);class CompletionContext{constructor(_0x2680cc,_0x4cf925,_0x5af341,_0x6edbbb){this['state']=_0x2680cc,this['pos']=_0x4cf925,this['explicit']=_0x5af341,this['view']=_0x6edbbb,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x4c62ae){let _0x805b96=NC(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x805b96&&_0x4c62ae['indexOf'](_0x805b96['name'])<0x0;)_0x805b96=_0x805b96['parent'];return _0x805b96?{'from':_0x805b96['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x805b96['from'],this['pos']),'type':_0x805b96['type']}:null;}['matchBefore'](_0x57212b){let _0x3573e6=this['state']['doc']['lineAt'](this['pos']),_0xf7abd4=Math['max'](_0x3573e6['from'],this['pos']-0xfa),_0x334d5a=_0x3573e6['text']['slice'](_0xf7abd4-_0x3573e6['from'],this['pos']-_0x3573e6['from']),_0x240277=_0x334d5a['search'](xR(_0x57212b,!0x1));return _0x240277<0x0?null:{'from':_0xf7abd4+_0x240277,'to':this['pos'],'text':_0x334d5a['slice'](_0x240277)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0xc028d,_0x51545c,_0x2cbf62){'abort'==_0xc028d&&this['abortListeners']&&(this['abortListeners']['push'](_0x51545c),_0x2cbf62&&_0x2cbf62['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function IR(_0x5d9793){let _0x23832b=Object['keys'](_0x5d9793)['join'](''),_0x3f5d29=/\w/['test'](_0x23832b);return _0x3f5d29&&(_0x23832b=_0x23832b['replace'](/\w/g,'')),'['+(_0x3f5d29?'\x5cw':'')+_0x23832b['replace'](/[^\w\s]/g,'\x5c$&')+']';}function CR(_0x2de36b){let _0x3ec0a4=_0x2de36b['map'](_0x1cc47f=>'string'==typeof _0x1cc47f?{'label':_0x1cc47f}:_0x1cc47f),[_0x18988f,_0x5194d7]=_0x3ec0a4['every'](_0x49db24=>/^\w+$/['test'](_0x49db24['label']))?[/\w*$/,/\w+$/]:function(_0x3db57b){let _0x39a724=Object['create'](null),_0x55ed0e=Object['create'](null);for(let {label:_0x595650}of _0x3db57b){_0x39a724[_0x595650[0x0]]=!0x0;for(let _0x476a45=0x1;_0x476a45<_0x595650['length'];_0x476a45++)_0x55ed0e[_0x595650[_0x476a45]]=!0x0;}let _0x320216=IR(_0x39a724)+IR(_0x55ed0e)+'*$';return[new RegExp('^'+_0x320216),new RegExp(_0x320216)];}(_0x3ec0a4);return _0x428e25=>{let _0x1738ba=_0x428e25['matchBefore'](_0x5194d7);return _0x1738ba||_0x428e25['explicit']?{'from':_0x1738ba?_0x1738ba['from']:_0x428e25['pos'],'options':_0x3ec0a4,'validFor':_0x18988f}:null;};}class Option{constructor(_0x43f69c,_0x379ec9,_0x1c3061,_0x3183ce){this['completion']=_0x43f69c,this['source']=_0x379ec9,this['match']=_0x1c3061,this['score']=_0x3183ce;}}function kR(_0x1ec4ae){return _0x1ec4ae['selection']['main']['from'];}function xR(_0x281c2b,_0x1a486e){var _0x224420;let {source:_0x493b7c}=_0x281c2b,_0x1c413e=_0x1a486e&&'^'!=_0x493b7c[0x0],_0x93b9e='$'!=_0x493b7c[_0x493b7c['length']-0x1];return _0x1c413e||_0x93b9e?new RegExp((_0x1c413e?'^':'')+'(?:'+_0x493b7c+')'+(_0x93b9e?'$':''),null!==(_0x224420=_0x281c2b['flags'])&&void 0x0!==_0x224420?_0x224420:_0x281c2b['ignoreCase']?'i':''):_0x281c2b;}const RR=Annotation['define']();function PR(_0x31fb87,_0x1dfe98,_0x5417fc,_0x207a9a){let {main:_0x2fcdeb}=_0x31fb87['selection'],_0x294b1f=_0x5417fc-_0x2fcdeb['from'],_0x495741=_0x207a9a-_0x2fcdeb['from'];return{..._0x31fb87['changeByRange'](_0x37c0b1=>{if(_0x37c0b1!=_0x2fcdeb&&_0x5417fc!=_0x207a9a&&_0x31fb87['sliceDoc'](_0x37c0b1['from']+_0x294b1f,_0x37c0b1['from']+_0x495741)!=_0x31fb87['sliceDoc'](_0x5417fc,_0x207a9a))return{'range':_0x37c0b1};let _0x1185a3=_0x31fb87['toText'](_0x1dfe98);return{'changes':{'from':_0x37c0b1['from']+_0x294b1f,'to':_0x207a9a==_0x2fcdeb['from']?_0x37c0b1['to']:_0x37c0b1['from']+_0x495741,'insert':_0x1185a3},'range':EditorSelection['cursor'](_0x37c0b1['from']+_0x294b1f+_0x1185a3['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const MR=new WeakMap();function NR(_0x1ddfb3){if(!Array['isArray'](_0x1ddfb3))return _0x1ddfb3;let _0xd22479=MR['get'](_0x1ddfb3);return _0xd22479||MR['set'](_0x1ddfb3,_0xd22479=CR(_0x1ddfb3)),_0xd22479;}const LR=StateEffect['define'](),$R=StateEffect['define']();class FuzzyMatcher{constructor(_0x1f7ef0){this['pattern']=_0x1f7ef0,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x5a42b2=0x0;_0x5a42b2<_0x1f7ef0['length'];){let _0x13459a=Yv(_0x1f7ef0,_0x5a42b2),_0x2d42fe=Jv(_0x13459a);this['chars']['push'](_0x13459a);let _0x293b05=_0x1f7ef0['slice'](_0x5a42b2,_0x5a42b2+_0x2d42fe),_0x16c46e=_0x293b05['toUpperCase']();this['folded']['push'](Yv(_0x16c46e==_0x293b05?_0x293b05['toLowerCase']():_0x16c46e,0x0)),_0x5a42b2+=_0x2d42fe;}this['astral']=_0x1f7ef0['length']!=this['chars']['length'];}['ret'](_0x619ec3,_0xb7e97b){return this['score']=_0x619ec3,this['matched']=_0xb7e97b,this;}['match'](_0x5aa186){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x5aa186['length']<this['pattern']['length'])return null;let {chars:_0x3b1635,folded:_0x4405cd,any:_0x16de77,precise:_0x4a7139,byWord:_0x355339}=this;if(0x1==_0x3b1635['length']){let _0x51d22c=Yv(_0x5aa186,0x0),_0x25e4ea=Jv(_0x51d22c),_0x281a11=_0x25e4ea==_0x5aa186['length']?0x0:-0x64;if(_0x51d22c==_0x3b1635[0x0]);else{if(_0x51d22c!=_0x4405cd[0x0])return null;_0x281a11+=-0xc8;}return this['ret'](_0x281a11,[0x0,_0x25e4ea]);}let _0x526d8d=_0x5aa186['indexOf'](this['pattern']);if(0x0==_0x526d8d)return this['ret'](_0x5aa186['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x2665ef=_0x3b1635['length'],_0x41eb42=0x0;if(_0x526d8d<0x0){for(let _0x4277f6=0x0,_0x2fcc64=Math['min'](_0x5aa186['length'],0xc8);_0x4277f6<_0x2fcc64&&_0x41eb42<_0x2665ef;){let _0x3300ae=Yv(_0x5aa186,_0x4277f6);_0x3300ae!=_0x3b1635[_0x41eb42]&&_0x3300ae!=_0x4405cd[_0x41eb42]||(_0x16de77[_0x41eb42++]=_0x4277f6),_0x4277f6+=Jv(_0x3300ae);}if(_0x41eb42<_0x2665ef)return null;}let _0x19fcc0=0x0,_0x4e9254=0x0,_0x50ad7a=!0x1,_0x3df87c=0x0,_0xb92486=-0x1,_0x1be2ea=-0x1,_0x42737e=/[a-z]/['test'](_0x5aa186),_0x5cc617=!0x0;for(let _0x1d400a=0x0,_0x464af6=Math['min'](_0x5aa186['length'],0xc8),_0x40f70e=0x0;_0x1d400a<_0x464af6&&_0x4e9254<_0x2665ef;){let _0x2e9e36=Yv(_0x5aa186,_0x1d400a);_0x526d8d<0x0&&(_0x19fcc0<_0x2665ef&&_0x2e9e36==_0x3b1635[_0x19fcc0]&&(_0x4a7139[_0x19fcc0++]=_0x1d400a),_0x3df87c<_0x2665ef&&(_0x2e9e36==_0x3b1635[_0x3df87c]||_0x2e9e36==_0x4405cd[_0x3df87c]?(0x0==_0x3df87c&&(_0xb92486=_0x1d400a),_0x1be2ea=_0x1d400a+0x1,_0x3df87c++):_0x3df87c=0x0));let _0x5c97e2,_0x4a60bc=_0x2e9e36<0xff?_0x2e9e36>=0x30&&_0x2e9e36<=0x39||_0x2e9e36>=0x61&&_0x2e9e36<=0x7a?0x2:_0x2e9e36>=0x41&&_0x2e9e36<=0x5a?0x1:0x0:(_0x5c97e2=Kv(_0x2e9e36))!=_0x5c97e2['toLowerCase']()?0x1:_0x5c97e2!=_0x5c97e2['toUpperCase']()?0x2:0x0;(!_0x1d400a||0x1==_0x4a60bc&&_0x42737e||0x0==_0x40f70e&&0x0!=_0x4a60bc)&&(_0x3b1635[_0x4e9254]==_0x2e9e36||_0x4405cd[_0x4e9254]==_0x2e9e36&&(_0x50ad7a=!0x0)?_0x355339[_0x4e9254++]=_0x1d400a:_0x355339['length']&&(_0x5cc617=!0x1)),_0x40f70e=_0x4a60bc,_0x1d400a+=Jv(_0x2e9e36);}return _0x4e9254==_0x2665ef&&0x0==_0x355339[0x0]&&_0x5cc617?this['result']((_0x50ad7a?-0xc8:0x0)-0x64,_0x355339,_0x5aa186):_0x3df87c==_0x2665ef&&0x0==_0xb92486?this['ret'](-0xc8-_0x5aa186['length']+(_0x1be2ea==_0x5aa186['length']?0x0:-0x64),[0x0,_0x1be2ea]):_0x526d8d>-0x1?this['ret'](-0x2bc-_0x5aa186['length'],[_0x526d8d,_0x526d8d+this['pattern']['length']]):_0x3df87c==_0x2665ef?this['ret'](-0x384-_0x5aa186['length'],[_0xb92486,_0x1be2ea]):_0x4e9254==_0x2665ef?this['result']((_0x50ad7a?-0xc8:0x0)-0x64-0x2bc+(_0x5cc617?0x0:-0x44c),_0x355339,_0x5aa186):0x2==_0x3b1635['length']?null:this['result']((_0x16de77[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x16de77,_0x5aa186);}['result'](_0x554ecc,_0x109839,_0x270f0d){let _0x3d7afd=[],_0x259ebc=0x0;for(let _0x3314a8 of _0x109839){let _0x10dc8d=_0x3314a8+(this['astral']?Jv(Yv(_0x270f0d,_0x3314a8)):0x1);_0x259ebc&&_0x3d7afd[_0x259ebc-0x1]==_0x3314a8?_0x3d7afd[_0x259ebc-0x1]=_0x10dc8d:(_0x3d7afd[_0x259ebc++]=_0x3314a8,_0x3d7afd[_0x259ebc++]=_0x10dc8d);}return this['ret'](_0x554ecc-_0x270f0d['length'],_0x3d7afd);}}class StrictMatcher{constructor(_0x25fba5){this['pattern']=_0x25fba5,this['matched']=[],this['score']=0x0,this['folded']=_0x25fba5['toLowerCase']();}['match'](_0x456d41){if(_0x456d41['length']<this['pattern']['length'])return null;let _0x222d69=_0x456d41['slice'](0x0,this['pattern']['length']),_0x2824b6=_0x222d69==this['pattern']?0x0:_0x222d69['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x2824b6?null:(this['matched']=[0x0,_0x222d69['length']],this['score']=_0x2824b6+(_0x456d41['length']==this['pattern']['length']?0x0:-0x64),this);}}const DR=Facet['define']({'combine':_0x5cf6e3=>V_(_0x5cf6e3,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':VR,'filterStrict':!0x1,'compareCompletions':(_0x3eaa0d,_0x1eda02)=>_0x3eaa0d['label']['localeCompare'](_0x1eda02['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x41bfc7,_0x418331)=>_0x41bfc7&&_0x418331,'closeOnBlur':(_0x336f6c,_0x5afa71)=>_0x336f6c&&_0x5afa71,'icons':(_0x46df88,_0x433513)=>_0x46df88&&_0x433513,'tooltipClass':(_0x3ead99,_0x14ea46)=>_0x2aef23=>QR(_0x3ead99(_0x2aef23),_0x14ea46(_0x2aef23)),'optionClass':(_0x4dbf4a,_0xeed03)=>_0x814a23=>QR(_0x4dbf4a(_0x814a23),_0xeed03(_0x814a23)),'addToOptions':(_0x471001,_0x448805)=>_0x471001['concat'](_0x448805),'filterStrict':(_0x4e0c8c,_0x3a5ff2)=>_0x4e0c8c||_0x3a5ff2})});function QR(_0x368cad,_0xdc56e9){return _0x368cad?_0xdc56e9?_0x368cad+'\x20'+_0xdc56e9:_0x368cad:_0xdc56e9;}function VR(_0x38d38b,_0x13af4c,_0x4dbfc0,_0x54855a,_0x556948,_0x35ec69){let _0x58b364,_0x3151f5,_0x1ebf01=_0x38d38b['textDirection']==sT['RTL'],_0x3d19cd=_0x1ebf01,_0x4da812=!0x1,_0x1a09eb='top',_0x5720cc=_0x13af4c['left']-_0x556948['left'],_0x219a37=_0x556948['right']-_0x13af4c['right'],_0xbf58a2=_0x54855a['right']-_0x54855a['left'],_0x443f2b=_0x54855a['bottom']-_0x54855a['top'];if(_0x3d19cd&&_0x5720cc<Math['min'](_0xbf58a2,_0x219a37)?_0x3d19cd=!0x1:!_0x3d19cd&&_0x219a37<Math['min'](_0xbf58a2,_0x5720cc)&&(_0x3d19cd=!0x0),_0xbf58a2<=(_0x3d19cd?_0x5720cc:_0x219a37))_0x58b364=Math['max'](_0x556948['top'],Math['min'](_0x4dbfc0['top'],_0x556948['bottom']-_0x443f2b))-_0x13af4c['top'],_0x3151f5=Math['min'](0x190,_0x3d19cd?_0x5720cc:_0x219a37);else{_0x4da812=!0x0,_0x3151f5=Math['min'](0x190,(_0x1ebf01?_0x13af4c['right']:_0x556948['right']-_0x13af4c['left'])-0x1e);let _0x5be8bf=_0x556948['bottom']-_0x13af4c['bottom'];_0x5be8bf>=_0x443f2b||_0x5be8bf>_0x13af4c['top']?_0x58b364=_0x4dbfc0['bottom']-_0x13af4c['top']:(_0x1a09eb='bottom',_0x58b364=_0x13af4c['bottom']-_0x4dbfc0['top']);}return{'style':_0x1a09eb+':\x20'+_0x58b364/((_0x13af4c['bottom']-_0x13af4c['top'])/_0x35ec69['offsetHeight'])+'px;\x20max-width:\x20'+_0x3151f5/((_0x13af4c['right']-_0x13af4c['left'])/_0x35ec69['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x4da812?_0x1ebf01?'left-narrow':'right-narrow':_0x3d19cd?'left':'right')};}function UR(_0xf2e26a,_0x46fd54,_0x4af1fe){if(_0xf2e26a<=_0x4af1fe)return{'from':0x0,'to':_0xf2e26a};if(_0x46fd54<0x0&&(_0x46fd54=0x0),_0x46fd54<=_0xf2e26a>>0x1){let _0x2b3706=Math['floor'](_0x46fd54/_0x4af1fe);return{'from':_0x2b3706*_0x4af1fe,'to':(_0x2b3706+0x1)*_0x4af1fe};}let _0x240ca7=Math['floor']((_0xf2e26a-_0x46fd54)/_0x4af1fe);return{'from':_0xf2e26a-(_0x240ca7+0x1)*_0x4af1fe,'to':_0xf2e26a-_0x240ca7*_0x4af1fe};}class CompletionTooltip{constructor(_0x586526,_0x5998c8,_0x48c747){this['view']=_0x586526,this['stateField']=_0x5998c8,this['applyCompletion']=_0x48c747,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x369be4=>this['placeInfo'](_0x369be4),'key':this},this['space']=null,this['currentClass']='';let _0x12bf9c=_0x586526['state']['field'](_0x5998c8),{options:_0x2b4988,selected:_0x30d8bc}=_0x12bf9c['open'],_0x1c6603=_0x586526['state']['facet'](DR);this['optionContent']=function(_0x3bfad2){let _0x152f28=_0x3bfad2['addToOptions']['slice']();return _0x3bfad2['icons']&&_0x152f28['push']({'render'(_0x4a61e8){let _0x11f45b=document['createElement']('div');return _0x11f45b['classList']['add']('cm-completionIcon'),_0x4a61e8['type']&&_0x11f45b['classList']['add'](..._0x4a61e8['type']['split'](/\s+/g)['map'](_0x5d7c6a=>'cm-completionIcon-'+_0x5d7c6a)),_0x11f45b['setAttribute']('aria-hidden','true'),_0x11f45b;},'position':0x14}),_0x152f28['push']({'render'(_0x17960a,_0x475820,_0xd35f8,_0x5c7c5b){let _0x37c537=document['createElement']('span');_0x37c537['className']='cm-completionLabel';let _0x3d39e9=_0x17960a['displayLabel']||_0x17960a['label'],_0x2923a4=0x0;for(let _0x3533fa=0x0;_0x3533fa<_0x5c7c5b['length'];){let _0x5e136e=_0x5c7c5b[_0x3533fa++],_0x595fdf=_0x5c7c5b[_0x3533fa++];_0x5e136e>_0x2923a4&&_0x37c537['appendChild'](document['createTextNode'](_0x3d39e9['slice'](_0x2923a4,_0x5e136e)));let _0x55208e=_0x37c537['appendChild'](document['createElement']('span'));_0x55208e['appendChild'](document['createTextNode'](_0x3d39e9['slice'](_0x5e136e,_0x595fdf))),_0x55208e['className']='cm-completionMatchedText',_0x2923a4=_0x595fdf;}return _0x2923a4<_0x3d39e9['length']&&_0x37c537['appendChild'](document['createTextNode'](_0x3d39e9['slice'](_0x2923a4))),_0x37c537;},'position':0x32},{'render'(_0x139eb1){if(!_0x139eb1['detail'])return null;let _0x35b18b=document['createElement']('span');return _0x35b18b['className']='cm-completionDetail',_0x35b18b['textContent']=_0x139eb1['detail'],_0x35b18b;},'position':0x50}),_0x152f28['sort']((_0x25d07a,_0x5a192c)=>_0x25d07a['position']-_0x5a192c['position'])['map'](_0x4b29fd=>_0x4b29fd['render']);}(_0x1c6603),this['optionClass']=_0x1c6603['optionClass'],this['tooltipClass']=_0x1c6603['tooltipClass'],this['range']=UR(_0x2b4988['length'],_0x30d8bc,_0x1c6603['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x586526['state']),this['dom']['addEventListener']('mousedown',_0x1e4cd3=>{let {options:_0x3779a2}=_0x586526['state']['field'](_0x5998c8)['open'];for(let _0x4661c2,_0x4aea29=_0x1e4cd3['target'];_0x4aea29&&_0x4aea29!=this['dom'];_0x4aea29=_0x4aea29['parentNode'])if('LI'==_0x4aea29['nodeName']&&(_0x4661c2=/-(\d+)$/['exec'](_0x4aea29['id']))&&+_0x4661c2[0x1]<_0x3779a2['length'])return this['applyCompletion'](_0x586526,_0x3779a2[+_0x4661c2[0x1]]),void _0x1e4cd3['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x587182=>{let _0x36872e=_0x586526['state']['field'](this['stateField'],!0x1);_0x36872e&&_0x36872e['tooltip']&&_0x586526['state']['facet'](DR)['closeOnBlur']&&_0x587182['relatedTarget']!=_0x586526['contentDOM']&&_0x586526['dispatch']({'effects':$R['of'](null)});}),this['showOptions'](_0x2b4988,_0x12bf9c['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x3afe9e,_0x3f5a84){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x3afe9e,_0x3f5a84,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x139053){var _0x228240;let _0x47d013=_0x139053['state']['field'](this['stateField']),_0x214c7c=_0x139053['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x139053['state']),_0x47d013!=_0x214c7c){let {options:_0x21a2b7,selected:_0x495cb1,disabled:_0x4612a8}=_0x47d013['open'];_0x214c7c['open']&&_0x214c7c['open']['options']==_0x21a2b7||(this['range']=UR(_0x21a2b7['length'],_0x495cb1,_0x139053['state']['facet'](DR)['maxRenderedOptions']),this['showOptions'](_0x21a2b7,_0x47d013['id'])),this['updateSel'](),_0x4612a8!=(null===(_0x228240=_0x214c7c['open'])||void 0x0===_0x228240?void 0x0:_0x228240['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x4612a8);}}['updateTooltipClass'](_0x5b036b){let _0x173663=this['tooltipClass'](_0x5b036b);if(_0x173663!=this['currentClass']){for(let _0xcf39c1 of this['currentClass']['split']('\x20'))_0xcf39c1&&this['dom']['classList']['remove'](_0xcf39c1);for(let _0x30310a of _0x173663['split']('\x20'))_0x30310a&&this['dom']['classList']['add'](_0x30310a);this['currentClass']=_0x173663;}}['positioned'](_0x40480f){this['space']=_0x40480f,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x12cd74=this['view']['state']['field'](this['stateField']),_0x566dd2=_0x12cd74['open'];(_0x566dd2['selected']>-0x1&&_0x566dd2['selected']<this['range']['from']||_0x566dd2['selected']>=this['range']['to'])&&(this['range']=UR(_0x566dd2['options']['length'],_0x566dd2['selected'],this['view']['state']['facet'](DR)['maxRenderedOptions']),this['showOptions'](_0x566dd2['options'],_0x12cd74['id']));let _0x1e6cce=this['updateSelectedOption'](_0x566dd2['selected']);if(_0x1e6cce){this['destroyInfo']();let {completion:_0x4f7648}=_0x566dd2['options'][_0x566dd2['selected']],{info:_0x38e75f}=_0x4f7648;if(!_0x38e75f)return;let _0x256f68='string'==typeof _0x38e75f?document['createTextNode'](_0x38e75f):_0x38e75f(_0x4f7648);if(!_0x256f68)return;'then'in _0x256f68?_0x256f68['then'](_0x6e2119=>{_0x6e2119&&this['view']['state']['field'](this['stateField'],!0x1)==_0x12cd74&&this['addInfoPane'](_0x6e2119,_0x4f7648);})['catch'](_0x3d465c=>LT(this['view']['state'],_0x3d465c,'completion\x20info')):(this['addInfoPane'](_0x256f68,_0x4f7648),_0x1e6cce['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x258925,_0x295c35){this['destroyInfo']();let _0x18578a=this['info']=document['createElement']('div');if(_0x18578a['className']='cm-tooltip\x20cm-completionInfo',_0x18578a['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x258925['nodeType'])_0x18578a['appendChild'](_0x258925),this['infoDestroy']=null;else{let {dom:_0x3883cf,destroy:_0x18085c}=_0x258925;_0x18578a['appendChild'](_0x3883cf),this['infoDestroy']=_0x18085c||null;}this['dom']['appendChild'](_0x18578a),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x1e27bc){let _0x5b68de=null;for(let _0x4bdfff=this['list']['firstChild'],_0x415935=this['range']['from'];_0x4bdfff;_0x4bdfff=_0x4bdfff['nextSibling'],_0x415935++)'LI'==_0x4bdfff['nodeName']&&_0x4bdfff['id']?_0x415935==_0x1e27bc?_0x4bdfff['hasAttribute']('aria-selected')||(_0x4bdfff['setAttribute']('aria-selected','true'),_0x5b68de=_0x4bdfff):_0x4bdfff['hasAttribute']('aria-selected')&&(_0x4bdfff['removeAttribute']('aria-selected'),_0x4bdfff['removeAttribute']('aria-describedby')):_0x415935--;return _0x5b68de&&function(_0x5bae8d,_0x235c87){let _0x3dc168=_0x5bae8d['getBoundingClientRect'](),_0x372f64=_0x235c87['getBoundingClientRect'](),_0x3c09ee=_0x3dc168['height']/_0x5bae8d['offsetHeight'];_0x372f64['top']<_0x3dc168['top']?_0x5bae8d['scrollTop']-=(_0x3dc168['top']-_0x372f64['top'])/_0x3c09ee:_0x372f64['bottom']>_0x3dc168['bottom']&&(_0x5bae8d['scrollTop']+=(_0x372f64['bottom']-_0x3dc168['bottom'])/_0x3c09ee);}(this['list'],_0x5b68de),_0x5b68de;}['measureInfo'](){let _0x11c06d=this['dom']['querySelector']('[aria-selected]');if(!_0x11c06d||!this['info'])return null;let _0x2e87f9=this['dom']['getBoundingClientRect'](),_0x94e2fe=this['info']['getBoundingClientRect'](),_0x1a86b8=_0x11c06d['getBoundingClientRect'](),_0x5e00a6=this['space'];if(!_0x5e00a6){let _0x3669cd=this['dom']['ownerDocument']['documentElement'];_0x5e00a6={'left':0x0,'top':0x0,'right':_0x3669cd['clientWidth'],'bottom':_0x3669cd['clientHeight']};}return _0x1a86b8['top']>Math['min'](_0x5e00a6['bottom'],_0x2e87f9['bottom'])-0xa||_0x1a86b8['bottom']<Math['max'](_0x5e00a6['top'],_0x2e87f9['top'])+0xa?null:this['view']['state']['facet'](DR)['positionInfo'](this['view'],_0x2e87f9,_0x1a86b8,_0x94e2fe,_0x5e00a6,this['dom']);}['placeInfo'](_0x4755a7){this['info']&&(_0x4755a7?(_0x4755a7['style']&&(this['info']['style']['cssText']=_0x4755a7['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x4755a7['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x207fa0,_0x4b9008,_0xb3c774){const _0x2c2f4b=document['createElement']('ul');_0x2c2f4b['id']=_0x4b9008,_0x2c2f4b['setAttribute']('role','listbox'),_0x2c2f4b['setAttribute']('aria-expanded','true'),_0x2c2f4b['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x2c2f4b['addEventListener']('mousedown',_0x42bdf2=>{_0x42bdf2['target']==_0x2c2f4b&&_0x42bdf2['preventDefault']();});let _0x1a1e6d=null;for(let _0x48e72a=_0xb3c774['from'];_0x48e72a<_0xb3c774['to'];_0x48e72a++){let {completion:_0x4e0588,match:_0x532471}=_0x207fa0[_0x48e72a],{section:_0x1891bf}=_0x4e0588;if(_0x1891bf){let _0x1536cd='string'==typeof _0x1891bf?_0x1891bf:_0x1891bf['name'];if(_0x1536cd!=_0x1a1e6d&&(_0x48e72a>_0xb3c774['from']||0x0==_0xb3c774['from'])){if(_0x1a1e6d=_0x1536cd,'string'!=typeof _0x1891bf&&_0x1891bf['header'])_0x2c2f4b['appendChild'](_0x1891bf['header'](_0x1891bf));else _0x2c2f4b['appendChild'](document['createElement']('completion-section'))['textContent']=_0x1536cd;}}const _0x36b530=_0x2c2f4b['appendChild'](document['createElement']('li'));_0x36b530['id']=_0x4b9008+'-'+_0x48e72a,_0x36b530['setAttribute']('role','option');let _0x15f791=this['optionClass'](_0x4e0588);_0x15f791&&(_0x36b530['className']=_0x15f791);for(let _0x25cabc of this['optionContent']){let _0x5d4b1c=_0x25cabc(_0x4e0588,this['view']['state'],this['view'],_0x532471);_0x5d4b1c&&_0x36b530['appendChild'](_0x5d4b1c);}}return _0xb3c774['from']&&_0x2c2f4b['classList']['add']('cm-completionListIncompleteTop'),_0xb3c774['to']<_0x207fa0['length']&&_0x2c2f4b['classList']['add']('cm-completionListIncompleteBottom'),_0x2c2f4b;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function BR(_0x378894,_0x24117f){return _0x566dd6=>new CompletionTooltip(_0x566dd6,_0x378894,_0x24117f);}function jR(_0x4484eb){return 0x64*(_0x4484eb['boost']||0x0)+(_0x4484eb['apply']?0xa:0x0)+(_0x4484eb['info']?0x5:0x0)+(_0x4484eb['type']?0x1:0x0);}class CompletionDialog{constructor(_0x27704c,_0x1e0700,_0x5f4470,_0x4db9b1,_0x5e3028,_0x2164e9){this['options']=_0x27704c,this['attrs']=_0x1e0700,this['tooltip']=_0x5f4470,this['timestamp']=_0x4db9b1,this['selected']=_0x5e3028,this['disabled']=_0x2164e9;}['setSelected'](_0x476526,_0x2906cd){return _0x476526==this['selected']||_0x476526>=this['options']['length']?this:new CompletionDialog(this['options'],GR(_0x2906cd,_0x476526),this['tooltip'],this['timestamp'],_0x476526,this['disabled']);}static['build'](_0xb43a96,_0x1c3dc8,_0x3e15f6,_0x1166a6,_0x5336fc,_0x5ae7b2){if(_0x1166a6&&!_0x5ae7b2&&_0xb43a96['some'](_0x145a31=>_0x145a31['isPending']))return _0x1166a6['setDisabled']();let _0x3ee307=function(_0x359617,_0x33f3e0){let _0x5ae3e3=[],_0x561170=null,_0x542fcd=null,_0x5cefff=_0x4c190f=>{_0x5ae3e3['push'](_0x4c190f);let {section:_0x2d0c40}=_0x4c190f['completion'];if(_0x2d0c40){_0x561170||(_0x561170=[]);let _0x56d8e8='string'==typeof _0x2d0c40?_0x2d0c40:_0x2d0c40['name'];_0x561170['some'](_0x2dd9dd=>_0x2dd9dd['name']==_0x56d8e8)||_0x561170['push']('string'==typeof _0x2d0c40?{'name':_0x56d8e8}:_0x2d0c40);}},_0x4be2cb=_0x33f3e0['facet'](DR);for(let _0x501b9f of _0x359617)if(_0x501b9f['hasResult']()){let _0x6fac5b=_0x501b9f['result']['getMatch'];if(!0x1===_0x501b9f['result']['filter']){for(let _0x44becf of _0x501b9f['result']['options'])_0x5cefff(new Option(_0x44becf,_0x501b9f['source'],_0x6fac5b?_0x6fac5b(_0x44becf):[],0x3b9aca00-_0x5ae3e3['length']));}else{let _0x1dc5ee,_0x4768f5=_0x33f3e0['sliceDoc'](_0x501b9f['from'],_0x501b9f['to']),_0xb5ff82=_0x4be2cb['filterStrict']?new StrictMatcher(_0x4768f5):new FuzzyMatcher(_0x4768f5);for(let _0x1814e0 of _0x501b9f['result']['options'])if(_0x1dc5ee=_0xb5ff82['match'](_0x1814e0['label'])){let _0x3e6988=_0x1814e0['displayLabel']?_0x6fac5b?_0x6fac5b(_0x1814e0,_0x1dc5ee['matched']):[]:_0x1dc5ee['matched'],_0x349edc=_0x1dc5ee['score']+(_0x1814e0['boost']||0x0);if(_0x5cefff(new Option(_0x1814e0,_0x501b9f['source'],_0x3e6988,_0x349edc)),'object'==typeof _0x1814e0['section']&&'dynamic'===_0x1814e0['section']['rank']){let {name:_0x3f1a88}=_0x1814e0['section'];_0x542fcd||(_0x542fcd=Object['create'](null)),_0x542fcd[_0x3f1a88]=Math['max'](_0x349edc,_0x542fcd[_0x3f1a88]||-0x3b9aca00);}}}}if(_0x561170){let _0x10759b=Object['create'](null),_0x914e21=0x0,_0x423ea8=(_0x1e4d35,_0x4c80d5)=>('dynamic'===_0x1e4d35['rank']&&'dynamic'===_0x4c80d5['rank']?_0x542fcd[_0x4c80d5['name']]-_0x542fcd[_0x1e4d35['name']]:0x0)||('number'==typeof _0x1e4d35['rank']?_0x1e4d35['rank']:0x3b9aca00)-('number'==typeof _0x4c80d5['rank']?_0x4c80d5['rank']:0x3b9aca00)||(_0x1e4d35['name']<_0x4c80d5['name']?-0x1:0x1);for(let _0x1b89c9 of _0x561170['sort'](_0x423ea8))_0x914e21-=0x186a0,_0x10759b[_0x1b89c9['name']]=_0x914e21;for(let _0x487f44 of _0x5ae3e3){let {section:_0x1e1333}=_0x487f44['completion'];_0x1e1333&&(_0x487f44['score']+=_0x10759b['string'==typeof _0x1e1333?_0x1e1333:_0x1e1333['name']]);}}let _0x312d09=[],_0x1fdee9=null,_0x1def2c=_0x4be2cb['compareCompletions'];for(let _0x534e3c of _0x5ae3e3['sort']((_0x1040dd,_0x4413d8)=>_0x4413d8['score']-_0x1040dd['score']||_0x1def2c(_0x1040dd['completion'],_0x4413d8['completion']))){let _0x332819=_0x534e3c['completion'];!_0x1fdee9||_0x1fdee9['label']!=_0x332819['label']||_0x1fdee9['detail']!=_0x332819['detail']||null!=_0x1fdee9['type']&&null!=_0x332819['type']&&_0x1fdee9['type']!=_0x332819['type']||_0x1fdee9['apply']!=_0x332819['apply']||_0x1fdee9['boost']!=_0x332819['boost']?_0x312d09['push'](_0x534e3c):jR(_0x534e3c['completion'])>jR(_0x1fdee9)&&(_0x312d09[_0x312d09['length']-0x1]=_0x534e3c),_0x1fdee9=_0x534e3c['completion'];}return _0x312d09;}(_0xb43a96,_0x1c3dc8);if(!_0x3ee307['length'])return _0x1166a6&&_0xb43a96['some'](_0x116c7f=>_0x116c7f['isPending'])?_0x1166a6['setDisabled']():null;let _0x197798=_0x1c3dc8['facet'](DR)['selectOnOpen']?0x0:-0x1;if(_0x1166a6&&_0x1166a6['selected']!=_0x197798&&-0x1!=_0x1166a6['selected']){let _0x2154c1=_0x1166a6['options'][_0x1166a6['selected']]['completion'];for(let _0x106f36=0x0;_0x106f36<_0x3ee307['length'];_0x106f36++)if(_0x3ee307[_0x106f36]['completion']==_0x2154c1){_0x197798=_0x106f36;break;}}return new CompletionDialog(_0x3ee307,GR(_0x3e15f6,_0x197798),{'pos':_0xb43a96['reduce']((_0x4af0a5,_0x2ed7da)=>_0x2ed7da['hasResult']()?Math['min'](_0x4af0a5,_0x2ed7da['from']):_0x4af0a5,0x5f5e100),'create':KR,'above':_0x5336fc['aboveCursor']},_0x1166a6?_0x1166a6['timestamp']:Date['now'](),_0x197798,!0x1);}['map'](_0x3f6623){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x3f6623['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(_0x599dcd,_0x2d450f,_0x44d14c){this['active']=_0x599dcd,this['id']=_0x2d450f,this['open']=_0x44d14c;}static['start'](){return new CompletionState(ZR,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x12b21e){let {state:_0x4c02fe}=_0x12b21e,_0x368eaa=_0x4c02fe['facet'](DR),_0xa46dfc=(_0x368eaa['override']||_0x4c02fe['languageDataAt']('autocomplete',kR(_0x4c02fe))['map'](NR))['map'](_0x4a334a=>{let _0xbeaba5=this['active']['find'](_0x5ab996=>_0x5ab996['source']==_0x4a334a)||new ActiveSource(_0x4a334a,this['active']['some'](_0x5b666e=>0x0!=_0x5b666e['state'])?0x1:0x0);return _0xbeaba5['update'](_0x12b21e,_0x368eaa);});_0xa46dfc['length']==this['active']['length']&&_0xa46dfc['every']((_0x53347b,_0xe7d257)=>_0x53347b==this['active'][_0xe7d257])&&(_0xa46dfc=this['active']);let _0x4284c4=this['open'],_0x3eef56=_0x12b21e['effects']['some'](_0x2a41e9=>_0x2a41e9['is'](qR));_0x4284c4&&_0x12b21e['docChanged']&&(_0x4284c4=_0x4284c4['map'](_0x12b21e['changes'])),_0x12b21e['selection']||_0xa46dfc['some'](_0x9d4f87=>_0x9d4f87['hasResult']()&&_0x12b21e['changes']['touchesRange'](_0x9d4f87['from'],_0x9d4f87['to']))||!function(_0x30cc5b,_0x499a83){if(_0x30cc5b==_0x499a83)return!0x0;for(let _0x5e42b8=0x0,_0x374cb9=0x0;;){for(;_0x5e42b8<_0x30cc5b['length']&&!_0x30cc5b[_0x5e42b8]['hasResult']();)_0x5e42b8++;for(;_0x374cb9<_0x499a83['length']&&!_0x499a83[_0x374cb9]['hasResult']();)_0x374cb9++;let _0x1b173b=_0x5e42b8==_0x30cc5b['length'],_0x314f2e=_0x374cb9==_0x499a83['length'];if(_0x1b173b||_0x314f2e)return _0x1b173b==_0x314f2e;if(_0x30cc5b[_0x5e42b8++]['result']!=_0x499a83[_0x374cb9++]['result'])return!0x1;}}(_0xa46dfc,this['active'])||_0x3eef56?_0x4284c4=CompletionDialog['build'](_0xa46dfc,_0x4c02fe,this['id'],_0x4284c4,_0x368eaa,_0x3eef56):_0x4284c4&&_0x4284c4['disabled']&&!_0xa46dfc['some'](_0x340129=>_0x340129['isPending'])&&(_0x4284c4=null),!_0x4284c4&&_0xa46dfc['every'](_0x17e359=>!_0x17e359['isPending'])&&_0xa46dfc['some'](_0x58a7f2=>_0x58a7f2['hasResult']())&&(_0xa46dfc=_0xa46dfc['map'](_0x40ae3d=>_0x40ae3d['hasResult']()?new ActiveSource(_0x40ae3d['source'],0x0):_0x40ae3d));for(let _0x4f30aa of _0x12b21e['effects'])_0x4f30aa['is'](WR)&&(_0x4284c4=_0x4284c4&&_0x4284c4['setSelected'](_0x4f30aa['value'],this['id']));return _0xa46dfc==this['active']&&_0x4284c4==this['open']?this:new CompletionState(_0xa46dfc,this['id'],_0x4284c4);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?FR:HR;}}const FR={'aria-autocomplete':'list'},HR={};function GR(_0x30981b,_0x455b63){let _0x48090e={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x30981b};return _0x455b63>-0x1&&(_0x48090e['aria-activedescendant']=_0x30981b+'-'+_0x455b63),_0x48090e;}const ZR=[];function XR(_0x408e15,_0x4fd052){if(_0x408e15['isUserEvent']('input.complete')){let _0x5d9c48=_0x408e15['annotation'](RR);if(_0x5d9c48&&_0x4fd052['activateOnCompletion'](_0x5d9c48))return 0xc;}let _0x4c5dd2=_0x408e15['isUserEvent']('input.type');return _0x4c5dd2&&_0x4fd052['activateOnTyping']?0x5:_0x4c5dd2?0x1:_0x408e15['isUserEvent']('delete.backward')?0x2:_0x408e15['selection']?0x8:_0x408e15['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x500068,_0x5c2dbb,_0xc923c6=!0x1){this['source']=_0x500068,this['state']=_0x5c2dbb,this['explicit']=_0xc923c6;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x88f45e,_0x119406){let _0x561970=XR(_0x88f45e,_0x119406),_0x966a7c=this;(0x8&_0x561970||0x10&_0x561970&&this['touches'](_0x88f45e))&&(_0x966a7c=new ActiveSource(_0x966a7c['source'],0x0)),0x4&_0x561970&&0x0==_0x966a7c['state']&&(_0x966a7c=new ActiveSource(this['source'],0x1)),_0x966a7c=_0x966a7c['updateFor'](_0x88f45e,_0x561970);for(let _0x32b01c of _0x88f45e['effects'])if(_0x32b01c['is'](LR))_0x966a7c=new ActiveSource(_0x966a7c['source'],0x1,_0x32b01c['value']);else{if(_0x32b01c['is']($R))_0x966a7c=new ActiveSource(_0x966a7c['source'],0x0);else{if(_0x32b01c['is'](qR)){for(let _0x192a84 of _0x32b01c['value'])_0x192a84['source']==_0x966a7c['source']&&(_0x966a7c=_0x192a84);}}}return _0x966a7c;}['updateFor'](_0x272c8f,_0x306194){return this['map'](_0x272c8f['changes']);}['map'](_0x2d8887){return this;}['touches'](_0x2d1bd1){return _0x2d1bd1['changes']['touchesRange'](kR(_0x2d1bd1['state']));}}class ActiveResult extends ActiveSource{constructor(_0x5019c4,_0x4ea0e1,_0x12b107,_0x4181af,_0x215bb5,_0x21b6b8){super(_0x5019c4,0x3,_0x4ea0e1),this['limit']=_0x12b107,this['result']=_0x4181af,this['from']=_0x215bb5,this['to']=_0x21b6b8;}['hasResult'](){return!0x0;}['updateFor'](_0x29c504,_0x5da5db){var _0x382a02;if(!(0x3&_0x5da5db))return this['map'](_0x29c504['changes']);let _0x180a30=this['result'];_0x180a30['map']&&!_0x29c504['changes']['empty']&&(_0x180a30=_0x180a30['map'](_0x180a30,_0x29c504['changes']));let _0x55137d=_0x29c504['changes']['mapPos'](this['from']),_0x2fc6a0=_0x29c504['changes']['mapPos'](this['to'],0x1),_0x92be59=kR(_0x29c504['state']);if(_0x92be59>_0x2fc6a0||!_0x180a30||0x2&_0x5da5db&&(kR(_0x29c504['startState'])==this['from']||_0x92be59<this['limit']))return new ActiveSource(this['source'],0x4&_0x5da5db?0x1:0x0);let _0x11e339=_0x29c504['changes']['mapPos'](this['limit']);return function(_0x5e7f87,_0x2d5691,_0x11d69a,_0x58e037){if(!_0x5e7f87)return!0x1;let _0x3967e1=_0x2d5691['sliceDoc'](_0x11d69a,_0x58e037);return'function'==typeof _0x5e7f87?_0x5e7f87(_0x3967e1,_0x11d69a,_0x58e037,_0x2d5691):xR(_0x5e7f87,!0x0)['test'](_0x3967e1);}(_0x180a30['validFor'],_0x29c504['state'],_0x55137d,_0x2fc6a0)?new ActiveResult(this['source'],this['explicit'],_0x11e339,_0x180a30,_0x55137d,_0x2fc6a0):_0x180a30['update']&&(_0x180a30=_0x180a30['update'](_0x180a30,_0x55137d,_0x2fc6a0,new CompletionContext(_0x29c504['state'],_0x92be59,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x11e339,_0x180a30,_0x180a30['from'],null!==(_0x382a02=_0x180a30['to'])&&void 0x0!==_0x382a02?_0x382a02:kR(_0x29c504['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x121514){if(_0x121514['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x121514):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x121514['mapPos'](this['limit']),this['result'],_0x121514['mapPos'](this['from']),_0x121514['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x166c14){return _0x166c14['changes']['touchesRange'](this['from'],this['to']);}}const qR=StateEffect['define']({'map':(_0x437799,_0x4cf843)=>_0x437799['map'](_0x4f0607=>_0x4f0607['map'](_0x4cf843))}),WR=StateEffect['define'](),zR=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x355474,_0x2cbc97)=>_0x355474['update'](_0x2cbc97),'provide':_0x12a610=>[gI['from'](_0x12a610,_0x578b61=>_0x578b61['tooltip']),EditorView['contentAttributes']['from'](_0x12a610,_0x3d4eee=>_0x3d4eee['attrs'])]});function YR(_0x5d9eeb,_0x14b2f2){const _0x242670=_0x14b2f2['completion']['apply']||_0x14b2f2['completion']['label'];let _0x559abd=_0x5d9eeb['state']['field'](zR)['active']['find'](_0x203d3b=>_0x203d3b['source']==_0x14b2f2['source']);return _0x559abd instanceof ActiveResult&&('string'==typeof _0x242670?_0x5d9eeb['dispatch']({...PR(_0x5d9eeb['state'],_0x242670,_0x559abd['from'],_0x559abd['to']),'annotations':RR['of'](_0x14b2f2['completion'])}):_0x242670(_0x5d9eeb,_0x14b2f2['completion'],_0x559abd['from'],_0x559abd['to']),!0x0);}const KR=BR(zR,YR);function JR(_0x5bd744,_0x975a4d='option'){return _0x2e5be8=>{let _0x2bd734=_0x2e5be8['state']['field'](zR,!0x1);if(!_0x2bd734||!_0x2bd734['open']||_0x2bd734['open']['disabled']||Date['now']()-_0x2bd734['open']['timestamp']<_0x2e5be8['state']['facet'](DR)['interactionDelay'])return!0x1;let _0x1f9c5a,_0x4bcd52=0x1;'page'==_0x975a4d&&(_0x1f9c5a=pI(_0x2e5be8,_0x2bd734['open']['tooltip']))&&(_0x4bcd52=Math['max'](0x2,Math['floor'](_0x1f9c5a['dom']['offsetHeight']/_0x1f9c5a['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x4da54c}=_0x2bd734['open']['options'],_0x38ce0e=_0x2bd734['open']['selected']>-0x1?_0x2bd734['open']['selected']+_0x4bcd52*(_0x5bd744?0x1:-0x1):_0x5bd744?0x0:_0x4da54c-0x1;return _0x38ce0e<0x0?_0x38ce0e='page'==_0x975a4d?0x0:_0x4da54c-0x1:_0x38ce0e>=_0x4da54c&&(_0x38ce0e='page'==_0x975a4d?_0x4da54c-0x1:0x0),_0x2e5be8['dispatch']({'effects':WR['of'](_0x38ce0e)}),!0x0;};}const tP=_0xf637d5=>!!_0xf637d5['state']['field'](zR,!0x1)&&(_0xf637d5['dispatch']({'effects':LR['of'](!0x0)}),!0x0);class RunningQuery{constructor(_0x19573e,_0x1f1d70){this['active']=_0x19573e,this['context']=_0x1f1d70,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const eP=ViewPlugin['fromClass'](class{constructor(_0x111f60){this['view']=_0x111f60,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x421148 of _0x111f60['state']['field'](zR)['active'])_0x421148['isPending']&&this['startQuery'](_0x421148);}['update'](_0x226daa){let _0xe4b2=_0x226daa['state']['field'](zR),_0x112609=_0x226daa['state']['facet'](DR);if(!_0x226daa['selectionSet']&&!_0x226daa['docChanged']&&_0x226daa['startState']['field'](zR)==_0xe4b2)return;let _0x38fafc=_0x226daa['transactions']['some'](_0x27f31b=>{let _0x2b33e6=XR(_0x27f31b,_0x112609);return 0x8&_0x2b33e6||(_0x27f31b['selection']||_0x27f31b['docChanged'])&&!(0x3&_0x2b33e6);});for(let _0x76fd6d=0x0;_0x76fd6d<this['running']['length'];_0x76fd6d++){let _0x597b4e=this['running'][_0x76fd6d];if(_0x38fafc||_0x597b4e['context']['abortOnDocChange']&&_0x226daa['docChanged']||_0x597b4e['updates']['length']+_0x226daa['transactions']['length']>0x32&&Date['now']()-_0x597b4e['time']>0x3e8){for(let _0x1a5b54 of _0x597b4e['context']['abortListeners'])try{_0x1a5b54();}catch(_0x54d8ca){LT(this['view']['state'],_0x54d8ca);}_0x597b4e['context']['abortListeners']=null,this['running']['splice'](_0x76fd6d--,0x1);}else _0x597b4e['updates']['push'](..._0x226daa['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x226daa['transactions']['some'](_0x4fafa6=>_0x4fafa6['effects']['some'](_0x1a632c=>_0x1a632c['is'](LR)))&&(this['pendingStart']=!0x0);let _0x14dd93=this['pendingStart']?0x32:_0x112609['activateOnTypingDelay'];if(this['debounceUpdate']=_0xe4b2['active']['some'](_0xc1d3c5=>_0xc1d3c5['isPending']&&!this['running']['some'](_0x30c983=>_0x30c983['active']['source']==_0xc1d3c5['source']))?setTimeout(()=>this['startUpdate'](),_0x14dd93):-0x1,0x0!=this['composing']){for(let _0x109e4e of _0x226daa['transactions'])_0x109e4e['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x109e4e['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x1272e7}=this['view'],_0x3a60c8=_0x1272e7['field'](zR);for(let _0x54accf of _0x3a60c8['active'])_0x54accf['isPending']&&!this['running']['some'](_0x5d4725=>_0x5d4725['active']['source']==_0x54accf['source'])&&this['startQuery'](_0x54accf);this['running']['length']&&_0x3a60c8['open']&&_0x3a60c8['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](DR)['updateSyncTime']));}['startQuery'](_0x14e8b0){let {state:_0xd97d2}=this['view'],_0x7519e7=kR(_0xd97d2),_0x6e8095=new CompletionContext(_0xd97d2,_0x7519e7,_0x14e8b0['explicit'],this['view']),_0x510181=new RunningQuery(_0x14e8b0,_0x6e8095);this['running']['push'](_0x510181),Promise['resolve'](_0x14e8b0['source'](_0x6e8095))['then'](_0x56b883=>{_0x510181['context']['aborted']||(_0x510181['done']=_0x56b883||null,this['scheduleAccept']());},_0x23b353=>{this['view']['dispatch']({'effects':$R['of'](null)}),LT(this['view']['state'],_0x23b353);});}['scheduleAccept'](){this['running']['every'](_0x27fa9a=>void 0x0!==_0x27fa9a['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](DR)['updateSyncTime']));}['accept'](){var _0x3c0420;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x45592f=[],_0x302f2e=this['view']['state']['facet'](DR),_0x16ea21=this['view']['state']['field'](zR);for(let _0x16af0e=0x0;_0x16af0e<this['running']['length'];_0x16af0e++){let _0x5072bd=this['running'][_0x16af0e];if(void 0x0===_0x5072bd['done'])continue;if(this['running']['splice'](_0x16af0e--,0x1),_0x5072bd['done']){let _0x3d7fc9=kR(_0x5072bd['updates']['length']?_0x5072bd['updates'][0x0]['startState']:this['view']['state']),_0x3bb30d=Math['min'](_0x3d7fc9,_0x5072bd['done']['from']+(_0x5072bd['active']['explicit']?0x0:0x1)),_0x22b325=new ActiveResult(_0x5072bd['active']['source'],_0x5072bd['active']['explicit'],_0x3bb30d,_0x5072bd['done'],_0x5072bd['done']['from'],null!==(_0x3c0420=_0x5072bd['done']['to'])&&void 0x0!==_0x3c0420?_0x3c0420:_0x3d7fc9);for(let _0x189d30 of _0x5072bd['updates'])_0x22b325=_0x22b325['update'](_0x189d30,_0x302f2e);if(_0x22b325['hasResult']()){_0x45592f['push'](_0x22b325);continue;}}let _0x10d5a5=_0x16ea21['active']['find'](_0xd7c256=>_0xd7c256['source']==_0x5072bd['active']['source']);if(_0x10d5a5&&_0x10d5a5['isPending']){if(null==_0x5072bd['done']){let _0x19062d=new ActiveSource(_0x5072bd['active']['source'],0x0);for(let _0x3d455f of _0x5072bd['updates'])_0x19062d=_0x19062d['update'](_0x3d455f,_0x302f2e);_0x19062d['isPending']||_0x45592f['push'](_0x19062d);}else this['startQuery'](_0x10d5a5);}}(_0x45592f['length']||_0x16ea21['open']&&_0x16ea21['open']['disabled'])&&this['view']['dispatch']({'effects':qR['of'](_0x45592f)});}},{'eventHandlers':{'blur'(_0x3904c2){let _0x42e2c1=this['view']['state']['field'](zR,!0x1);if(_0x42e2c1&&_0x42e2c1['tooltip']&&this['view']['state']['facet'](DR)['closeOnBlur']){let _0x45e7ea=_0x42e2c1['open']&&pI(this['view'],_0x42e2c1['open']['tooltip']);_0x45e7ea&&_0x45e7ea['dom']['contains'](_0x3904c2['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':$R['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':LR['of'](!0x1)}),0x14),this['composing']=0x0;}}}),iP='object'==typeof navigator&&/Win/['test'](navigator['platform']),sP=b_['highest'](EditorView['domEventHandlers']({'keydown'(_0x2f14e1,_0x46b2a5){let _0x3b3bb7=_0x46b2a5['state']['field'](zR,!0x1);if(!_0x3b3bb7||!_0x3b3bb7['open']||_0x3b3bb7['open']['disabled']||_0x3b3bb7['open']['selected']<0x0||_0x2f14e1['key']['length']>0x1||_0x2f14e1['ctrlKey']&&(!iP||!_0x2f14e1['altKey'])||_0x2f14e1['metaKey'])return!0x1;let _0x718473=_0x3b3bb7['open']['options'][_0x3b3bb7['open']['selected']],_0x2958f3=_0x3b3bb7['active']['find'](_0x6d9fd9=>_0x6d9fd9['source']==_0x718473['source']),_0x210129=_0x718473['completion']['commitCharacters']||_0x2958f3['result']['commitCharacters'];return _0x210129&&_0x210129['indexOf'](_0x2f14e1['key'])>-0x1&&YR(_0x46b2a5,_0x718473),!0x1;}})),nP=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(_0x1680ae,_0x152c73,_0x1f0cff,_0x178f43){this['field']=_0x1680ae,this['line']=_0x152c73,this['from']=_0x1f0cff,this['to']=_0x178f43;}}class FieldRange{constructor(_0x21c2e1,_0x219e85,_0x5d7f48){this['field']=_0x21c2e1,this['from']=_0x219e85,this['to']=_0x5d7f48;}['map'](_0x3c26e7){let _0x5ceab6=_0x3c26e7['mapPos'](this['from'],-0x1,e_['TrackDel']),_0x4b538d=_0x3c26e7['mapPos'](this['to'],0x1,e_['TrackDel']);return null==_0x5ceab6||null==_0x4b538d?null:new FieldRange(this['field'],_0x5ceab6,_0x4b538d);}}class Snippet{constructor(_0x448cc8,_0x44c5d5){this['lines']=_0x448cc8,this['fieldPositions']=_0x44c5d5;}['instantiate'](_0x2536b8,_0x163727){let _0x1289a1=[],_0x49ff46=[_0x163727],_0x1e1732=_0x2536b8['doc']['lineAt'](_0x163727),_0x4e8437=/^\s*/['exec'](_0x1e1732['text'])[0x0];for(let _0xfe6382 of this['lines']){if(_0x1289a1['length']){let _0xebb303=_0x4e8437,_0x29dbe6=/^\t*/['exec'](_0xfe6382)[0x0]['length'];for(let _0xdf74fa=0x0;_0xdf74fa<_0x29dbe6;_0xdf74fa++)_0xebb303+=_0x2536b8['facet'](jC);_0x49ff46['push'](_0x163727+_0xebb303['length']-_0x29dbe6),_0xfe6382=_0xebb303+_0xfe6382['slice'](_0x29dbe6);}_0x1289a1['push'](_0xfe6382),_0x163727+=_0xfe6382['length']+0x1;}let _0x342b4d=this['fieldPositions']['map'](_0x9dda31=>new FieldRange(_0x9dda31['field'],_0x49ff46[_0x9dda31['line']]+_0x9dda31['from'],_0x49ff46[_0x9dda31['line']]+_0x9dda31['to']));return{'text':_0x1289a1,'ranges':_0x342b4d};}static['parse'](_0x4686b9){let _0x9c5b31,_0xea3c3=[],_0x47b589=[],_0x124fbf=[];for(let _0x1abee2 of _0x4686b9['split'](/\r\n?|\n/)){for(;_0x9c5b31=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x1abee2);){let _0x480efe=_0x9c5b31[0x1]?+_0x9c5b31[0x1]:null,_0x621f96=_0x9c5b31[0x2]||_0x9c5b31[0x3]||'',_0x26357f=-0x1,_0xf0d28e=_0x621f96['replace'](/\\[{}]/g,_0x45ecad=>_0x45ecad[0x1]);for(let _0xc13b04=0x0;_0xc13b04<_0xea3c3['length'];_0xc13b04++)(null!=_0x480efe?_0xea3c3[_0xc13b04]['seq']==_0x480efe:_0xf0d28e&&_0xea3c3[_0xc13b04]['name']==_0xf0d28e)&&(_0x26357f=_0xc13b04);if(_0x26357f<0x0){let _0x1cb230=0x0;for(;_0x1cb230<_0xea3c3['length']&&(null==_0x480efe||null!=_0xea3c3[_0x1cb230]['seq']&&_0xea3c3[_0x1cb230]['seq']<_0x480efe);)_0x1cb230++;_0xea3c3['splice'](_0x1cb230,0x0,{'seq':_0x480efe,'name':_0xf0d28e}),_0x26357f=_0x1cb230;for(let _0x2d6df8 of _0x124fbf)_0x2d6df8['field']>=_0x26357f&&_0x2d6df8['field']++;}for(let _0x50aba2 of _0x124fbf)if(_0x50aba2['line']==_0x47b589['length']&&_0x50aba2['from']>_0x9c5b31['index']){let _0x2d4ab1=_0x9c5b31[0x2]?0x3+(_0x9c5b31[0x1]||'')['length']:0x2;_0x50aba2['from']-=_0x2d4ab1,_0x50aba2['to']-=_0x2d4ab1;}_0x124fbf['push'](new FieldPos(_0x26357f,_0x47b589['length'],_0x9c5b31['index'],_0x9c5b31['index']+_0xf0d28e['length'])),_0x1abee2=_0x1abee2['slice'](0x0,_0x9c5b31['index'])+_0x621f96+_0x1abee2['slice'](_0x9c5b31['index']+_0x9c5b31[0x0]['length']);}_0x1abee2=_0x1abee2['replace'](/\\([{}])/g,(_0x42c868,_0x4efd50,_0x397474)=>{for(let _0x2b097c of _0x124fbf)_0x2b097c['line']==_0x47b589['length']&&_0x2b097c['from']>_0x397474&&(_0x2b097c['from']--,_0x2b097c['to']--);return _0x4efd50;}),_0x47b589['push'](_0x1abee2);}return new Snippet(_0x47b589,_0x124fbf);}}let rP=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x542310=document['createElement']('span');return _0x542310['className']='cm-snippetFieldPosition',_0x542310;}['ignoreEvent'](){return!0x1;}}()}),oP=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x14c83c,_0x5651ab){this['ranges']=_0x14c83c,this['active']=_0x5651ab,this['deco']=Decoration['set'](_0x14c83c['map'](_0xc1d6ee=>(_0xc1d6ee['from']==_0xc1d6ee['to']?rP:oP)['range'](_0xc1d6ee['from'],_0xc1d6ee['to'])),!0x0);}['map'](_0x4db01d){let _0x28eae9=[];for(let _0x20eae4 of this['ranges']){let _0x17eb1d=_0x20eae4['map'](_0x4db01d);if(!_0x17eb1d)return null;_0x28eae9['push'](_0x17eb1d);}return new ActiveSnippet(_0x28eae9,this['active']);}['selectionInsideField'](_0x280504){return _0x280504['ranges']['every'](_0x2b0aa7=>this['ranges']['some'](_0x4b433b=>_0x4b433b['field']==this['active']&&_0x4b433b['from']<=_0x2b0aa7['from']&&_0x4b433b['to']>=_0x2b0aa7['to']));}}const aP=StateEffect['define']({'map':(_0x2c40c9,_0x2f214e)=>_0x2c40c9&&_0x2c40c9['map'](_0x2f214e)}),cP=StateEffect['define'](),lP=StateField['define']({'create':()=>null,'update'(_0x503329,_0x476f4f){for(let _0x49d228 of _0x476f4f['effects']){if(_0x49d228['is'](aP))return _0x49d228['value'];if(_0x49d228['is'](cP)&&_0x503329)return new ActiveSnippet(_0x503329['ranges'],_0x49d228['value']);}return _0x503329&&_0x476f4f['docChanged']&&(_0x503329=_0x503329['map'](_0x476f4f['changes'])),_0x503329&&_0x476f4f['selection']&&!_0x503329['selectionInsideField'](_0x476f4f['selection'])&&(_0x503329=null),_0x503329;},'provide':_0x5aa75f=>EditorView['decorations']['from'](_0x5aa75f,_0x38e84b=>_0x38e84b?_0x38e84b['deco']:Decoration['none'])});function hP(_0x508960,_0x4e7305){return EditorSelection['create'](_0x508960['filter'](_0x57ac97=>_0x57ac97['field']==_0x4e7305)['map'](_0x58f14e=>EditorSelection['range'](_0x58f14e['from'],_0x58f14e['to'])));}function uP(_0x5415ea){let _0x255a0b=Snippet['parse'](_0x5415ea);return(_0x4c1e17,_0x2fb587,_0x12175d,_0x63820c)=>{let {text:_0x573adc,ranges:_0x342352}=_0x255a0b['instantiate'](_0x4c1e17['state'],_0x12175d),{main:_0x558908}=_0x4c1e17['state']['selection'],_0x2596db={'changes':{'from':_0x12175d,'to':_0x63820c==_0x558908['from']?_0x558908['to']:_0x63820c,'insert':Gv['of'](_0x573adc)},'scrollIntoView':!0x0,'annotations':_0x2fb587?[RR['of'](_0x2fb587),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x342352['length']&&(_0x2596db['selection']=hP(_0x342352,0x0)),_0x342352['some'](_0xfdbf76=>_0xfdbf76['field']>0x0)){let _0x285651=new ActiveSnippet(_0x342352,0x0),_0x1982bf=_0x2596db['effects']=[aP['of'](_0x285651)];void 0x0===_0x4c1e17['state']['field'](lP,!0x1)&&_0x1982bf['push'](StateEffect['appendConfig']['of']([lP,gP,OP,nP]));}_0x4c1e17['dispatch'](_0x4c1e17['state']['update'](_0x2596db));};}function dP(_0x2cfbf2){return({state:_0x38e053,dispatch:_0x568037})=>{let _0x3369ff=_0x38e053['field'](lP,!0x1);if(!_0x3369ff||_0x2cfbf2<0x0&&0x0==_0x3369ff['active'])return!0x1;let _0xc6f57b=_0x3369ff['active']+_0x2cfbf2,_0x347bdb=_0x2cfbf2>0x0&&!_0x3369ff['ranges']['some'](_0x1c995e=>_0x1c995e['field']==_0xc6f57b+_0x2cfbf2);return _0x568037(_0x38e053['update']({'selection':hP(_0x3369ff['ranges'],_0xc6f57b),'effects':aP['of'](_0x347bdb?null:new ActiveSnippet(_0x3369ff['ranges'],_0xc6f57b)),'scrollIntoView':!0x0})),!0x0;};}const fP=[{'key':'Tab','run':dP(0x1),'shift':dP(-0x1)},{'key':'Escape','run':({state:_0x80ecad,dispatch:_0x1a52ae})=>!!_0x80ecad['field'](lP,!0x1)&&(_0x1a52ae(_0x80ecad['update']({'effects':aP['of'](null)})),!0x0)}],mP=Facet['define']({'combine':_0x7d118e=>_0x7d118e['length']?_0x7d118e[0x0]:fP}),gP=b_['highest'](_S['compute']([mP],_0x5409f5=>_0x5409f5['facet'](mP)));function pP(_0x549ec9,_0x1abcad){return{..._0x1abcad,'apply':uP(_0x549ec9)};}const OP=EditorView['domEventHandlers']({'mousedown'(_0x98c627,_0x80fca){let _0x3405de,_0x449216=_0x80fca['state']['field'](lP,!0x1);if(!_0x449216||null==(_0x3405de=_0x80fca['posAtCoords']({'x':_0x98c627['clientX'],'y':_0x98c627['clientY']})))return!0x1;let _0x588646=_0x449216['ranges']['find'](_0x4641d4=>_0x4641d4['from']<=_0x3405de&&_0x4641d4['to']>=_0x3405de);return!(!_0x588646||_0x588646['field']==_0x449216['active'])&&(_0x80fca['dispatch']({'selection':hP(_0x449216['ranges'],_0x588646['field']),'effects':aP['of'](_0x449216['ranges']['some'](_0x17c30e=>_0x17c30e['field']>_0x588646['field'])?new ActiveSnippet(_0x449216['ranges'],_0x588646['field']):null),'scrollIntoView':!0x0}),!0x0);}}),wP={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},bP=StateEffect['define']({'map'(_0x8244a5,_0x10363f){let _0x4c2a2e=_0x10363f['mapPos'](_0x8244a5,-0x1,e_['TrackAfter']);return null==_0x4c2a2e?void 0x0:_0x4c2a2e;}}),yP=new class extends RangeValue{}();yP['startSide']=0x1,yP['endSide']=-0x1;const vP=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x346078,_0x465727){if(_0x346078=_0x346078['map'](_0x465727['changes']),_0x465727['selection']){let _0x33ea5c=_0x465727['state']['doc']['lineAt'](_0x465727['selection']['main']['head']);_0x346078=_0x346078['update']({'filter':_0x571738=>_0x571738>=_0x33ea5c['from']&&_0x571738<=_0x33ea5c['to']});}for(let _0x22d192 of _0x465727['effects'])_0x22d192['is'](bP)&&(_0x346078=_0x346078['update']({'add':[yP['range'](_0x22d192['value'],_0x22d192['value']+0x1)]}));return _0x346078;}});function _P(){return[IP,vP];}const EP='()[]{}<>«»»«［］｛｝';function TP(_0x700746){for(let _0x30919a=0x0;_0x30919a<0x10;_0x30919a+=0x2)if(EP['charCodeAt'](_0x30919a)==_0x700746)return EP['charAt'](_0x30919a+0x1);return Kv(_0x700746<0x80?_0x700746:_0x700746+0x1);}function AP(_0x487bcc,_0x22c063){return _0x487bcc['languageDataAt']('closeBrackets',_0x22c063)[0x0]||wP;}const SP='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),IP=EditorView['inputHandler']['of']((_0xfad7b6,_0x44a454,_0x110003,_0x5dc87b)=>{if((SP?_0xfad7b6['composing']:_0xfad7b6['compositionStarted'])||_0xfad7b6['state']['readOnly'])return!0x1;let _0x2ff83d=_0xfad7b6['state']['selection']['main'];if(_0x5dc87b['length']>0x2||0x2==_0x5dc87b['length']&&0x1==Jv(Yv(_0x5dc87b,0x0))||_0x44a454!=_0x2ff83d['from']||_0x110003!=_0x2ff83d['to'])return!0x1;let _0x3c506c=function(_0x3d864d,_0x36113b){let _0x2a085f=AP(_0x3d864d,_0x3d864d['selection']['main']['head']),_0x34079a=_0x2a085f['brackets']||wP['brackets'];for(let _0x52c73b of _0x34079a){let _0x110359=TP(Yv(_0x52c73b,0x0));if(_0x36113b==_0x52c73b)return _0x110359==_0x52c73b?MP(_0x3d864d,_0x52c73b,_0x34079a['indexOf'](_0x52c73b+_0x52c73b+_0x52c73b)>-0x1,_0x2a085f):RP(_0x3d864d,_0x52c73b,_0x110359,_0x2a085f['before']||wP['before']);if(_0x36113b==_0x110359&&kP(_0x3d864d,_0x3d864d['selection']['main']['from']))return PP(_0x3d864d,_0x52c73b,_0x110359);}return null;}(_0xfad7b6['state'],_0x5dc87b);return!!_0x3c506c&&(_0xfad7b6['dispatch'](_0x3c506c),!0x0);}),CP=[{'key':'Backspace','run':({state:_0x1002b3,dispatch:_0x404210})=>{if(_0x1002b3['readOnly'])return!0x1;let _0x4e2b4d=AP(_0x1002b3,_0x1002b3['selection']['main']['head'])['brackets']||wP['brackets'],_0x10a96a=null,_0x453896=_0x1002b3['changeByRange'](_0x38689e=>{if(_0x38689e['empty']){let _0x1ee750=function(_0x9eb498,_0x4cd077){let _0x5f3871=_0x9eb498['sliceString'](_0x4cd077-0x2,_0x4cd077);return Jv(Yv(_0x5f3871,0x0))==_0x5f3871['length']?_0x5f3871:_0x5f3871['slice'](0x1);}(_0x1002b3['doc'],_0x38689e['head']);for(let _0xa6b44e of _0x4e2b4d)if(_0xa6b44e==_0x1ee750&&xP(_0x1002b3['doc'],_0x38689e['head'])==TP(Yv(_0xa6b44e,0x0)))return{'changes':{'from':_0x38689e['head']-_0xa6b44e['length'],'to':_0x38689e['head']+_0xa6b44e['length']},'range':EditorSelection['cursor'](_0x38689e['head']-_0xa6b44e['length'])};}return{'range':_0x10a96a=_0x38689e};});return _0x10a96a||_0x404210(_0x1002b3['update'](_0x453896,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x10a96a;}}];function kP(_0x55905b,_0x2f3715){let _0x4f9789=!0x1;return _0x55905b['field'](vP)['between'](0x0,_0x55905b['doc']['length'],_0x3aa322=>{_0x3aa322==_0x2f3715&&(_0x4f9789=!0x0);}),_0x4f9789;}function xP(_0x2159ec,_0x59b340){let _0x582fb0=_0x2159ec['sliceString'](_0x59b340,_0x59b340+0x2);return _0x582fb0['slice'](0x0,Jv(Yv(_0x582fb0,0x0)));}function RP(_0x437881,_0x5bdcd7,_0x4759e0,_0x250f0d){let _0x2e479d=null,_0x30f145=_0x437881['changeByRange'](_0x2b891c=>{if(!_0x2b891c['empty'])return{'changes':[{'insert':_0x5bdcd7,'from':_0x2b891c['from']},{'insert':_0x4759e0,'from':_0x2b891c['to']}],'effects':bP['of'](_0x2b891c['to']+_0x5bdcd7['length']),'range':EditorSelection['range'](_0x2b891c['anchor']+_0x5bdcd7['length'],_0x2b891c['head']+_0x5bdcd7['length'])};let _0x22436f=xP(_0x437881['doc'],_0x2b891c['head']);return!_0x22436f||/\s/['test'](_0x22436f)||_0x250f0d['indexOf'](_0x22436f)>-0x1?{'changes':{'insert':_0x5bdcd7+_0x4759e0,'from':_0x2b891c['head']},'effects':bP['of'](_0x2b891c['head']+_0x5bdcd7['length']),'range':EditorSelection['cursor'](_0x2b891c['head']+_0x5bdcd7['length'])}:{'range':_0x2e479d=_0x2b891c};});return _0x2e479d?null:_0x437881['update'](_0x30f145,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function PP(_0x484e6e,_0x5a92f1,_0x58a7b6){let _0xe224ed=null,_0x57a67a=_0x484e6e['changeByRange'](_0x3838b8=>_0x3838b8['empty']&&xP(_0x484e6e['doc'],_0x3838b8['head'])==_0x58a7b6?{'changes':{'from':_0x3838b8['head'],'to':_0x3838b8['head']+_0x58a7b6['length'],'insert':_0x58a7b6},'range':EditorSelection['cursor'](_0x3838b8['head']+_0x58a7b6['length'])}:_0xe224ed={'range':_0x3838b8});return _0xe224ed?null:_0x484e6e['update'](_0x57a67a,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function MP(_0x473cd4,_0xaccee4,_0x41339a,_0x614551){let _0x5301d7=_0x614551['stringPrefixes']||wP['stringPrefixes'],_0x1f8c5c=null,_0x35957d=_0x473cd4['changeByRange'](_0x3ca530=>{if(!_0x3ca530['empty'])return{'changes':[{'insert':_0xaccee4,'from':_0x3ca530['from']},{'insert':_0xaccee4,'from':_0x3ca530['to']}],'effects':bP['of'](_0x3ca530['to']+_0xaccee4['length']),'range':EditorSelection['range'](_0x3ca530['anchor']+_0xaccee4['length'],_0x3ca530['head']+_0xaccee4['length'])};let _0x2dbed6,_0x4be5df=_0x3ca530['head'],_0x2ea100=xP(_0x473cd4['doc'],_0x4be5df);if(_0x2ea100==_0xaccee4){if(NP(_0x473cd4,_0x4be5df))return{'changes':{'insert':_0xaccee4+_0xaccee4,'from':_0x4be5df},'effects':bP['of'](_0x4be5df+_0xaccee4['length']),'range':EditorSelection['cursor'](_0x4be5df+_0xaccee4['length'])};if(kP(_0x473cd4,_0x4be5df)){let _0x4e70c1=_0x41339a&&_0x473cd4['sliceDoc'](_0x4be5df,_0x4be5df+0x3*_0xaccee4['length'])==_0xaccee4+_0xaccee4+_0xaccee4?_0xaccee4+_0xaccee4+_0xaccee4:_0xaccee4;return{'changes':{'from':_0x4be5df,'to':_0x4be5df+_0x4e70c1['length'],'insert':_0x4e70c1},'range':EditorSelection['cursor'](_0x4be5df+_0x4e70c1['length'])};}}else{if(_0x41339a&&_0x473cd4['sliceDoc'](_0x4be5df-0x2*_0xaccee4['length'],_0x4be5df)==_0xaccee4+_0xaccee4&&(_0x2dbed6=LP(_0x473cd4,_0x4be5df-0x2*_0xaccee4['length'],_0x5301d7))>-0x1&&NP(_0x473cd4,_0x2dbed6))return{'changes':{'insert':_0xaccee4+_0xaccee4+_0xaccee4+_0xaccee4,'from':_0x4be5df},'effects':bP['of'](_0x4be5df+_0xaccee4['length']),'range':EditorSelection['cursor'](_0x4be5df+_0xaccee4['length'])};if(_0x473cd4['charCategorizer'](_0x4be5df)(_0x2ea100)!=L_['Word']&&LP(_0x473cd4,_0x4be5df,_0x5301d7)>-0x1&&!function(_0x16f45c,_0x2e456f,_0x2d90ee,_0x1a823f){let _0x3efa0b=NC(_0x16f45c)['resolveInner'](_0x2e456f,-0x1),_0x533e41=_0x1a823f['reduce']((_0x3f8087,_0x3fcb1a)=>Math['max'](_0x3f8087,_0x3fcb1a['length']),0x0);for(let _0x5c97a6=0x0;_0x5c97a6<0x5;_0x5c97a6++){let _0x581935=_0x16f45c['sliceDoc'](_0x3efa0b['from'],Math['min'](_0x3efa0b['to'],_0x3efa0b['from']+_0x2d90ee['length']+_0x533e41)),_0x552154=_0x581935['indexOf'](_0x2d90ee);if(!_0x552154||_0x552154>-0x1&&_0x1a823f['indexOf'](_0x581935['slice'](0x0,_0x552154))>-0x1){let _0x6b2c11=_0x3efa0b['firstChild'];for(;_0x6b2c11&&_0x6b2c11['from']==_0x3efa0b['from']&&_0x6b2c11['to']-_0x6b2c11['from']>_0x2d90ee['length']+_0x552154;){if(_0x16f45c['sliceDoc'](_0x6b2c11['to']-_0x2d90ee['length'],_0x6b2c11['to'])==_0x2d90ee)return!0x1;_0x6b2c11=_0x6b2c11['firstChild'];}return!0x0;}let _0xb621a3=_0x3efa0b['to']==_0x2e456f&&_0x3efa0b['parent'];if(!_0xb621a3)break;_0x3efa0b=_0xb621a3;}return!0x1;}(_0x473cd4,_0x4be5df,_0xaccee4,_0x5301d7))return{'changes':{'insert':_0xaccee4+_0xaccee4,'from':_0x4be5df},'effects':bP['of'](_0x4be5df+_0xaccee4['length']),'range':EditorSelection['cursor'](_0x4be5df+_0xaccee4['length'])};}return{'range':_0x1f8c5c=_0x3ca530};});return _0x1f8c5c?null:_0x473cd4['update'](_0x35957d,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function NP(_0x26efd3,_0x3e2467){let _0x214d1b=NC(_0x26efd3)['resolveInner'](_0x3e2467+0x1);return _0x214d1b['parent']&&_0x214d1b['from']==_0x3e2467;}function LP(_0x54e02a,_0x1c1cab,_0x384794){let _0x6a5aa5=_0x54e02a['charCategorizer'](_0x1c1cab);if(_0x6a5aa5(_0x54e02a['sliceDoc'](_0x1c1cab-0x1,_0x1c1cab))!=L_['Word'])return _0x1c1cab;for(let _0xc02a0b of _0x384794){let _0x381e49=_0x1c1cab-_0xc02a0b['length'];if(_0x54e02a['sliceDoc'](_0x381e49,_0x1c1cab)==_0xc02a0b&&_0x6a5aa5(_0x54e02a['sliceDoc'](_0x381e49-0x1,_0x381e49))!=L_['Word'])return _0x381e49;}return-0x1;}function $P(_0x313ce0={}){return[sP,zR,DR['of'](_0x313ce0),eP,QP,nP];}const DP=[{'key':'Ctrl-Space','run':tP},{'mac':'Alt-`','run':tP},{'mac':'Alt-i','run':tP},{'key':'Escape','run':_0x123d0a=>{let _0x5d92ec=_0x123d0a['state']['field'](zR,!0x1);return!(!_0x5d92ec||!_0x5d92ec['active']['some'](_0x2342e2=>0x0!=_0x2342e2['state']))&&(_0x123d0a['dispatch']({'effects':$R['of'](null)}),!0x0);}},{'key':'ArrowDown','run':JR(!0x0)},{'key':'ArrowUp','run':JR(!0x1)},{'key':'PageDown','run':JR(!0x0,'page')},{'key':'PageUp','run':JR(!0x1,'page')},{'key':'Enter','run':_0x491c2a=>{let _0x2dff9a=_0x491c2a['state']['field'](zR,!0x1);return!(_0x491c2a['state']['readOnly']||!_0x2dff9a||!_0x2dff9a['open']||_0x2dff9a['open']['selected']<0x0||_0x2dff9a['open']['disabled']||Date['now']()-_0x2dff9a['open']['timestamp']<_0x491c2a['state']['facet'](DR)['interactionDelay'])&&YR(_0x491c2a,_0x2dff9a['open']['options'][_0x2dff9a['open']['selected']]);}}],QP=b_['highest'](_S['computeN']([DR],_0x571305=>_0x571305['facet'](DR)['defaultKeymap']?[DP]:[]));class Stack{constructor(_0x391c13,_0x1147d8,_0x5a2683,_0x130b97,_0xc9b0c1,_0x185c45,_0x41ff69,_0x1d3abe,_0x5762be,_0x3809ff=0x0,_0x1e5d76){this['p']=_0x391c13,this['stack']=_0x1147d8,this['state']=_0x5a2683,this['reducePos']=_0x130b97,this['pos']=_0xc9b0c1,this['score']=_0x185c45,this['buffer']=_0x41ff69,this['bufferBase']=_0x1d3abe,this['curContext']=_0x5762be,this['lookAhead']=_0x3809ff,this['parent']=_0x1e5d76;}['toString'](){return'['+this['stack']['filter']((_0x2c7c80,_0x786e01)=>_0x786e01%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x102611,_0x1b68cb,_0x2e6c69=0x0){let _0x258fa5=_0x102611['parser']['context'];return new Stack(_0x102611,[],_0x1b68cb,_0x2e6c69,_0x2e6c69,0x0,[],0x0,_0x258fa5?new StackContext(_0x258fa5,_0x258fa5['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x18651d,_0x34c009){this['stack']['push'](this['state'],_0x34c009,this['bufferBase']+this['buffer']['length']),this['state']=_0x18651d;}['reduce'](_0x29c06b){var _0x3f6de8;let _0x289d33=_0x29c06b>>0x13,_0xc6f3eb=0xffff&_0x29c06b,{parser:_0x12a681}=this['p'],_0x18b8d6=this['reducePos']<this['pos']-0x19;_0x18b8d6&&this['setLookAhead'](this['pos']);let _0x4809de=_0x12a681['dynamicPrecedence'](_0xc6f3eb);if(_0x4809de&&(this['score']+=_0x4809de),0x0==_0x289d33)return this['pushState'](_0x12a681['getGoto'](this['state'],_0xc6f3eb,!0x0),this['reducePos']),_0xc6f3eb<_0x12a681['minRepeatTerm']&&this['storeNode'](_0xc6f3eb,this['reducePos'],this['reducePos'],_0x18b8d6?0x8:0x4,!0x0),void this['reduceContext'](_0xc6f3eb,this['reducePos']);let _0x23272b=this['stack']['length']-0x3*(_0x289d33-0x1)-(0x40000&_0x29c06b?0x6:0x0),_0x3fad43=_0x23272b?this['stack'][_0x23272b-0x2]:this['p']['ranges'][0x0]['from'],_0x11a6b0=this['reducePos']-_0x3fad43;_0x11a6b0>=0x7d0&&!(null===(_0x3f6de8=this['p']['parser']['nodeSet']['types'][_0xc6f3eb])||void 0x0===_0x3f6de8?void 0x0:_0x3f6de8['isAnonymous'])&&(_0x3fad43==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x11a6b0):this['p']['lastBigReductionSize']<_0x11a6b0&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x3fad43,this['p']['lastBigReductionSize']=_0x11a6b0));let _0xf0244e=_0x23272b?this['stack'][_0x23272b-0x1]:0x0,_0x5068d7=this['bufferBase']+this['buffer']['length']-_0xf0244e;if(_0xc6f3eb<_0x12a681['minRepeatTerm']||0x20000&_0x29c06b){let _0x5a3865=_0x12a681['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0xc6f3eb,_0x3fad43,_0x5a3865,_0x5068d7+0x4,!0x0);}if(0x40000&_0x29c06b)this['state']=this['stack'][_0x23272b];else{let _0x5d057b=this['stack'][_0x23272b-0x3];this['state']=_0x12a681['getGoto'](_0x5d057b,_0xc6f3eb,!0x0);}for(;this['stack']['length']>_0x23272b;)this['stack']['pop']();this['reduceContext'](_0xc6f3eb,_0x3fad43);}['storeNode'](_0x374fda,_0x4deb97,_0x3692f5,_0x535d14=0x4,_0x57def3=!0x1){if(0x0==_0x374fda&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x4aa4bd=this,_0x4d8348=this['buffer']['length'];if(0x0==_0x4d8348&&_0x4aa4bd['parent']&&(_0x4d8348=_0x4aa4bd['bufferBase']-_0x4aa4bd['parent']['bufferBase'],_0x4aa4bd=_0x4aa4bd['parent']),_0x4d8348>0x0&&0x0==_0x4aa4bd['buffer'][_0x4d8348-0x4]&&_0x4aa4bd['buffer'][_0x4d8348-0x1]>-0x1){if(_0x4deb97==_0x3692f5)return;if(_0x4aa4bd['buffer'][_0x4d8348-0x2]>=_0x4deb97)return void(_0x4aa4bd['buffer'][_0x4d8348-0x2]=_0x3692f5);}}if(_0x57def3&&this['pos']!=_0x3692f5){let _0xe83e44=this['buffer']['length'];if(_0xe83e44>0x0&&(0x0!=this['buffer'][_0xe83e44-0x4]||this['buffer'][_0xe83e44-0x1]<0x0)){let _0x42587e=!0x1;for(let _0x37b4dc=_0xe83e44;_0x37b4dc>0x0&&this['buffer'][_0x37b4dc-0x2]>_0x3692f5;_0x37b4dc-=0x4)if(this['buffer'][_0x37b4dc-0x1]>=0x0){_0x42587e=!0x0;break;}if(_0x42587e){for(;_0xe83e44>0x0&&this['buffer'][_0xe83e44-0x2]>_0x3692f5;)this['buffer'][_0xe83e44]=this['buffer'][_0xe83e44-0x4],this['buffer'][_0xe83e44+0x1]=this['buffer'][_0xe83e44-0x3],this['buffer'][_0xe83e44+0x2]=this['buffer'][_0xe83e44-0x2],this['buffer'][_0xe83e44+0x3]=this['buffer'][_0xe83e44-0x1],_0xe83e44-=0x4,_0x535d14>0x4&&(_0x535d14-=0x4);}}this['buffer'][_0xe83e44]=_0x374fda,this['buffer'][_0xe83e44+0x1]=_0x4deb97,this['buffer'][_0xe83e44+0x2]=_0x3692f5,this['buffer'][_0xe83e44+0x3]=_0x535d14;}else this['buffer']['push'](_0x374fda,_0x4deb97,_0x3692f5,_0x535d14);}['shift'](_0x5cf7ec,_0x2334a6,_0x13e60a,_0x49f561){if(0x20000&_0x5cf7ec)this['pushState'](0xffff&_0x5cf7ec,this['pos']);else{if(0x40000&_0x5cf7ec)this['pos']=_0x49f561,this['shiftContext'](_0x2334a6,_0x13e60a),_0x2334a6<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x2334a6,_0x13e60a,_0x49f561,0x4);else{let _0x12a706=_0x5cf7ec,{parser:_0x4fcd9e}=this['p'];(_0x49f561>this['pos']||_0x2334a6<=_0x4fcd9e['maxNode'])&&(this['pos']=_0x49f561,_0x4fcd9e['stateFlag'](_0x12a706,0x1)||(this['reducePos']=_0x49f561)),this['pushState'](_0x12a706,_0x13e60a),this['shiftContext'](_0x2334a6,_0x13e60a),_0x2334a6<=_0x4fcd9e['maxNode']&&this['buffer']['push'](_0x2334a6,_0x13e60a,_0x49f561,0x4);}}}['apply'](_0x538658,_0xfc925c,_0x463a44,_0x1298c5){0x10000&_0x538658?this['reduce'](_0x538658):this['shift'](_0x538658,_0xfc925c,_0x463a44,_0x1298c5);}['useNode'](_0x59b78f,_0x58e4d8){let _0x211f9d=this['p']['reused']['length']-0x1;(_0x211f9d<0x0||this['p']['reused'][_0x211f9d]!=_0x59b78f)&&(this['p']['reused']['push'](_0x59b78f),_0x211f9d++);let _0x9af612=this['pos'];this['reducePos']=this['pos']=_0x9af612+_0x59b78f['length'],this['pushState'](_0x58e4d8,_0x9af612),this['buffer']['push'](_0x211f9d,_0x9af612,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x59b78f,this,this['p']['stream']['reset'](this['pos']-_0x59b78f['length'])));}['split'](){let _0x455a6d=this,_0x481883=_0x455a6d['buffer']['length'];for(;_0x481883>0x0&&_0x455a6d['buffer'][_0x481883-0x2]>_0x455a6d['reducePos'];)_0x481883-=0x4;let _0x1f8ac0=_0x455a6d['buffer']['slice'](_0x481883),_0x2c955d=_0x455a6d['bufferBase']+_0x481883;for(;_0x455a6d&&_0x2c955d==_0x455a6d['bufferBase'];)_0x455a6d=_0x455a6d['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x1f8ac0,_0x2c955d,this['curContext'],this['lookAhead'],_0x455a6d);}['recoverByDelete'](_0x4b5537,_0x390129){let _0x13fd89=_0x4b5537<=this['p']['parser']['maxNode'];_0x13fd89&&this['storeNode'](_0x4b5537,this['pos'],_0x390129,0x4),this['storeNode'](0x0,this['pos'],_0x390129,_0x13fd89?0x8:0x4),this['pos']=this['reducePos']=_0x390129,this['score']-=0xbe;}['canShift'](_0x1a1911){for(let _0x4dacbf=new SimulatedStack(this);;){let _0xab81bd=this['p']['parser']['stateSlot'](_0x4dacbf['state'],0x4)||this['p']['parser']['hasAction'](_0x4dacbf['state'],_0x1a1911);if(0x0==_0xab81bd)return!0x1;if(!(0x10000&_0xab81bd))return!0x0;_0x4dacbf['reduce'](_0xab81bd);}}['recoverByInsert'](_0x44de84){if(this['stack']['length']>=0x12c)return[];let _0x325d4f=this['p']['parser']['nextStates'](this['state']);if(_0x325d4f['length']>0x8||this['stack']['length']>=0x78){let _0x226c6d=[];for(let _0x13bbd6,_0x2035ce=0x0;_0x2035ce<_0x325d4f['length'];_0x2035ce+=0x2)(_0x13bbd6=_0x325d4f[_0x2035ce+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x13bbd6,_0x44de84)&&_0x226c6d['push'](_0x325d4f[_0x2035ce],_0x13bbd6);if(this['stack']['length']<0x78)for(let _0xe9b586=0x0;_0x226c6d['length']<0x8&&_0xe9b586<_0x325d4f['length'];_0xe9b586+=0x2){let _0x40b2fd=_0x325d4f[_0xe9b586+0x1];_0x226c6d['some']((_0x17ec59,_0x402eae)=>0x1&_0x402eae&&_0x17ec59==_0x40b2fd)||_0x226c6d['push'](_0x325d4f[_0xe9b586],_0x40b2fd);}_0x325d4f=_0x226c6d;}let _0x3ad9a8=[];for(let _0x3be063=0x0;_0x3be063<_0x325d4f['length']&&_0x3ad9a8['length']<0x4;_0x3be063+=0x2){let _0x45c0dc=_0x325d4f[_0x3be063+0x1];if(_0x45c0dc==this['state'])continue;let _0x2479fb=this['split']();_0x2479fb['pushState'](_0x45c0dc,this['pos']),_0x2479fb['storeNode'](0x0,_0x2479fb['pos'],_0x2479fb['pos'],0x4,!0x0),_0x2479fb['shiftContext'](_0x325d4f[_0x3be063],this['pos']),_0x2479fb['reducePos']=this['pos'],_0x2479fb['score']-=0xc8,_0x3ad9a8['push'](_0x2479fb);}return _0x3ad9a8;}['forceReduce'](){let {parser:_0x4377f9}=this['p'],_0x55ec5d=_0x4377f9['stateSlot'](this['state'],0x5);if(!(0x10000&_0x55ec5d))return!0x1;if(!_0x4377f9['validAction'](this['state'],_0x55ec5d)){let _0xfa597=_0x55ec5d>>0x13,_0x167761=0xffff&_0x55ec5d,_0x349504=this['stack']['length']-0x3*_0xfa597;if(_0x349504<0x0||_0x4377f9['getGoto'](this['stack'][_0x349504],_0x167761,!0x1)<0x0){let _0x44a804=this['findForcedReduction']();if(null==_0x44a804)return!0x1;_0x55ec5d=_0x44a804;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x55ec5d),!0x0;}['findForcedReduction'](){let {parser:_0x298c40}=this['p'],_0x4a0c48=[],_0x4cff81=(_0x4703ce,_0x49e510)=>{if(!_0x4a0c48['includes'](_0x4703ce))return _0x4a0c48['push'](_0x4703ce),_0x298c40['allActions'](_0x4703ce,_0x22eb5b=>{if(0x60000&_0x22eb5b);else{if(0x10000&_0x22eb5b){let _0xa221cf=(_0x22eb5b>>0x13)-_0x49e510;if(_0xa221cf>0x1){let _0x490d32=0xffff&_0x22eb5b,_0x29bf45=this['stack']['length']-0x3*_0xa221cf;if(_0x29bf45>=0x0&&_0x298c40['getGoto'](this['stack'][_0x29bf45],_0x490d32,!0x1)>=0x0)return _0xa221cf<<0x13|0x10000|_0x490d32;}}else{let _0x55aba2=_0x4cff81(_0x22eb5b,_0x49e510+0x1);if(null!=_0x55aba2)return _0x55aba2;}}});};return _0x4cff81(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:_0xb959b}=this['p'];return 0xffff==_0xb959b['data'][_0xb959b['stateSlot'](this['state'],0x1)]&&!_0xb959b['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0xdab235){if(this['state']!=_0xdab235['state']||this['stack']['length']!=_0xdab235['stack']['length'])return!0x1;for(let _0x431e1b=0x0;_0x431e1b<this['stack']['length'];_0x431e1b+=0x3)if(this['stack'][_0x431e1b]!=_0xdab235['stack'][_0x431e1b])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x216a33){return this['p']['parser']['dialect']['flags'][_0x216a33];}['shiftContext'](_0x47cdce,_0x419216){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x47cdce,this,this['p']['stream']['reset'](_0x419216)));}['reduceContext'](_0x32e39a,_0xaf86be){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x32e39a,this,this['p']['stream']['reset'](_0xaf86be)));}['emitContext'](){let _0x2942ea=this['buffer']['length']-0x1;(_0x2942ea<0x0||-0x3!=this['buffer'][_0x2942ea])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x39ef14=this['buffer']['length']-0x1;(_0x39ef14<0x0||-0x4!=this['buffer'][_0x39ef14])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x1b677a){if(_0x1b677a!=this['curContext']['context']){let _0x32255f=new StackContext(this['curContext']['tracker'],_0x1b677a);_0x32255f['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x32255f;}}['setLookAhead'](_0x4b549f){_0x4b549f>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x4b549f);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x5caaf7,_0x2b8b64){this['tracker']=_0x5caaf7,this['context']=_0x2b8b64,this['hash']=_0x5caaf7['strict']?_0x5caaf7['hash'](_0x2b8b64):0x0;}}class SimulatedStack{constructor(_0x5e0ec3){this['start']=_0x5e0ec3,this['state']=_0x5e0ec3['state'],this['stack']=_0x5e0ec3['stack'],this['base']=this['stack']['length'];}['reduce'](_0x5dea6b){let _0x1ce233=0xffff&_0x5dea6b,_0x579c01=_0x5dea6b>>0x13;0x0==_0x579c01?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x579c01-0x1);let _0x3d8d3f=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x1ce233,!0x0);this['state']=_0x3d8d3f;}}class StackBufferCursor{constructor(_0x17595e,_0x329938,_0x596097){this['stack']=_0x17595e,this['pos']=_0x329938,this['index']=_0x596097,this['buffer']=_0x17595e['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x103644,_0x53b749=_0x103644['bufferBase']+_0x103644['buffer']['length']){return new StackBufferCursor(_0x103644,_0x53b749,_0x53b749-_0x103644['bufferBase']);}['maybeNext'](){let _0x4e06c4=this['stack']['parent'];null!=_0x4e06c4&&(this['index']=this['stack']['bufferBase']-_0x4e06c4['bufferBase'],this['stack']=_0x4e06c4,this['buffer']=_0x4e06c4['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 VP(_0x515d2a,_0x26c780=Uint16Array){if('string'!=typeof _0x515d2a)return _0x515d2a;let _0xa6a247=null;for(let _0x59ff8f=0x0,_0x4e248c=0x0;_0x59ff8f<_0x515d2a['length'];){let _0x39a26c=0x0;for(;;){let _0x120fa9=_0x515d2a['charCodeAt'](_0x59ff8f++),_0x36b104=!0x1;if(0x7e==_0x120fa9){_0x39a26c=0xffff;break;}_0x120fa9>=0x5c&&_0x120fa9--,_0x120fa9>=0x22&&_0x120fa9--;let _0x37301b=_0x120fa9-0x20;if(_0x37301b>=0x2e&&(_0x37301b-=0x2e,_0x36b104=!0x0),_0x39a26c+=_0x37301b,_0x36b104)break;_0x39a26c*=0x2e;}_0xa6a247?_0xa6a247[_0x4e248c++]=_0x39a26c:_0xa6a247=new _0x26c780(_0x39a26c);}return _0xa6a247;}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 UP=new CachedToken();class InputStream{constructor(_0x257d87,_0x16cbf3){this['input']=_0x257d87,this['ranges']=_0x16cbf3,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=UP,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x16cbf3[0x0]['from'],this['range']=_0x16cbf3[0x0],this['end']=_0x16cbf3[_0x16cbf3['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x5e958f,_0x3d23db){let _0x1a3e75=this['range'],_0xde11ee=this['rangeIndex'],_0x151344=this['pos']+_0x5e958f;for(;_0x151344<_0x1a3e75['from'];){if(!_0xde11ee)return null;let _0x1d36a5=this['ranges'][--_0xde11ee];_0x151344-=_0x1a3e75['from']-_0x1d36a5['to'],_0x1a3e75=_0x1d36a5;}for(;_0x3d23db<0x0?_0x151344>_0x1a3e75['to']:_0x151344>=_0x1a3e75['to'];){if(_0xde11ee==this['ranges']['length']-0x1)return null;let _0x25a9db=this['ranges'][++_0xde11ee];_0x151344+=_0x25a9db['from']-_0x1a3e75['to'],_0x1a3e75=_0x25a9db;}return _0x151344;}['clipPos'](_0x8d1ef1){if(_0x8d1ef1>=this['range']['from']&&_0x8d1ef1<this['range']['to'])return _0x8d1ef1;for(let _0x38cc54 of this['ranges'])if(_0x38cc54['to']>_0x8d1ef1)return Math['max'](_0x8d1ef1,_0x38cc54['from']);return this['end'];}['peek'](_0x3f9ea1){let _0x4dfd2e,_0x379796,_0x3593a1=this['chunkOff']+_0x3f9ea1;if(_0x3593a1>=0x0&&_0x3593a1<this['chunk']['length'])_0x4dfd2e=this['pos']+_0x3f9ea1,_0x379796=this['chunk']['charCodeAt'](_0x3593a1);else{let _0x918652=this['resolveOffset'](_0x3f9ea1,0x1);if(null==_0x918652)return-0x1;if(_0x4dfd2e=_0x918652,_0x4dfd2e>=this['chunk2Pos']&&_0x4dfd2e<this['chunk2Pos']+this['chunk2']['length'])_0x379796=this['chunk2']['charCodeAt'](_0x4dfd2e-this['chunk2Pos']);else{let _0x30475a=this['rangeIndex'],_0x2c3910=this['range'];for(;_0x2c3910['to']<=_0x4dfd2e;)_0x2c3910=this['ranges'][++_0x30475a];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x4dfd2e),_0x4dfd2e+this['chunk2']['length']>_0x2c3910['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x2c3910['to']-_0x4dfd2e)),_0x379796=this['chunk2']['charCodeAt'](0x0);}}return _0x4dfd2e>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x4dfd2e+0x1),_0x379796;}['acceptToken'](_0x52631b,_0x47a73b=0x0){let _0x1d17cd=_0x47a73b?this['resolveOffset'](_0x47a73b,-0x1):this['pos'];if(null==_0x1d17cd||_0x1d17cd<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x52631b,this['token']['end']=_0x1d17cd;}['acceptTokenTo'](_0x3b6091,_0xc559a2){this['token']['value']=_0x3b6091,this['token']['end']=_0xc559a2;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x13520e,chunkPos:_0x4f15b2}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x13520e,this['chunk2Pos']=_0x4f15b2,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x402316=this['input']['chunk'](this['pos']),_0x5e1708=this['pos']+_0x402316['length'];this['chunk']=_0x5e1708>this['range']['to']?_0x402316['slice'](0x0,this['range']['to']-this['pos']):_0x402316,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'](_0x4334d9=0x1){for(this['chunkOff']+=_0x4334d9;this['pos']+_0x4334d9>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x4334d9-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x4334d9,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'](_0x431144,_0x1e34cc){if(_0x1e34cc?(this['token']=_0x1e34cc,_0x1e34cc['start']=_0x431144,_0x1e34cc['lookAhead']=_0x431144+0x1,_0x1e34cc['value']=_0x1e34cc['extended']=-0x1):this['token']=UP,this['pos']!=_0x431144){if(this['pos']=_0x431144,_0x431144==this['end'])return this['setDone'](),this;for(;_0x431144<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x431144>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x431144>=this['chunkPos']&&_0x431144<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x431144-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x37e12b,_0x2b94d8){if(_0x37e12b>=this['chunkPos']&&_0x2b94d8<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x37e12b-this['chunkPos'],_0x2b94d8-this['chunkPos']);if(_0x37e12b>=this['chunk2Pos']&&_0x2b94d8<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x37e12b-this['chunk2Pos'],_0x2b94d8-this['chunk2Pos']);if(_0x37e12b>=this['range']['from']&&_0x2b94d8<=this['range']['to'])return this['input']['read'](_0x37e12b,_0x2b94d8);let _0x254545='';for(let _0x4cb9b8 of this['ranges']){if(_0x4cb9b8['from']>=_0x2b94d8)break;_0x4cb9b8['to']>_0x37e12b&&(_0x254545+=this['input']['read'](Math['max'](_0x4cb9b8['from'],_0x37e12b),Math['min'](_0x4cb9b8['to'],_0x2b94d8)));}return _0x254545;}}class TokenGroup{constructor(_0x46f5bd,_0x58e5d9){this['data']=_0x46f5bd,this['id']=_0x58e5d9;}['token'](_0x468b99,_0x503825){let {parser:_0x3530f6}=_0x503825['p'];BP(this['data'],_0x468b99,_0x503825,this['id'],_0x3530f6['data'],_0x3530f6['tokenPrecTable']);}}TokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class LocalTokenGroup{constructor(_0x510044,_0x1ba326,_0x59a386){this['precTable']=_0x1ba326,this['elseToken']=_0x59a386,this['data']='string'==typeof _0x510044?VP(_0x510044):_0x510044;}['token'](_0x456e70,_0x2e3b8d){let _0x52e560=_0x456e70['pos'],_0x246b23=0x0;for(;;){let _0x263acc=_0x456e70['next']<0x0,_0x54f119=_0x456e70['resolveOffset'](0x1,0x1);if(BP(this['data'],_0x456e70,_0x2e3b8d,0x0,this['data'],this['precTable']),_0x456e70['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x263acc||_0x246b23++,null==_0x54f119)break;_0x456e70['reset'](_0x54f119,_0x456e70['token']);}_0x246b23&&(_0x456e70['reset'](_0x52e560,_0x456e70['token']),_0x456e70['acceptToken'](this['elseToken'],_0x246b23));}}LocalTokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x70436a,_0x33f2d6={}){this['token']=_0x70436a,this['contextual']=!!_0x33f2d6['contextual'],this['fallback']=!!_0x33f2d6['fallback'],this['extend']=!!_0x33f2d6['extend'];}}function BP(_0x3c54ec,_0xbc3fdf,_0x268429,_0x487d35,_0x5eb208,_0x66352a){let _0x4ccb08=0x0,_0x229a47=0x1<<_0x487d35,{dialect:_0x3176d8}=_0x268429['p']['parser'];t:for(;0x0!=(_0x229a47&_0x3c54ec[_0x4ccb08]);){let _0x1d73e1=_0x3c54ec[_0x4ccb08+0x1];for(let _0x59b5b2=_0x4ccb08+0x3;_0x59b5b2<_0x1d73e1;_0x59b5b2+=0x2)if((_0x3c54ec[_0x59b5b2+0x1]&_0x229a47)>0x0){let _0x3ea457=_0x3c54ec[_0x59b5b2];if(_0x3176d8['allows'](_0x3ea457)&&(-0x1==_0xbc3fdf['token']['value']||_0xbc3fdf['token']['value']==_0x3ea457||FP(_0x3ea457,_0xbc3fdf['token']['value'],_0x5eb208,_0x66352a))){_0xbc3fdf['acceptToken'](_0x3ea457);break;}}let _0x1fb92a=_0xbc3fdf['next'],_0x213f2e=0x0,_0xc2d2ab=_0x3c54ec[_0x4ccb08+0x2];if(!(_0xbc3fdf['next']<0x0&&_0xc2d2ab>_0x213f2e&&0xffff==_0x3c54ec[_0x1d73e1+0x3*_0xc2d2ab-0x3])){for(;_0x213f2e<_0xc2d2ab;){let _0x429010=_0x213f2e+_0xc2d2ab>>0x1,_0x37dfee=_0x1d73e1+_0x429010+(_0x429010<<0x1),_0xda1e5c=_0x3c54ec[_0x37dfee],_0x3f07f8=_0x3c54ec[_0x37dfee+0x1]||0x10000;if(_0x1fb92a<_0xda1e5c)_0xc2d2ab=_0x429010;else{if(!(_0x1fb92a>=_0x3f07f8)){_0x4ccb08=_0x3c54ec[_0x37dfee+0x2],_0xbc3fdf['advance']();continue t;}_0x213f2e=_0x429010+0x1;}}break;}_0x4ccb08=_0x3c54ec[_0x1d73e1+0x3*_0xc2d2ab-0x1];}}function jP(_0x21106c,_0xef66fb,_0xd298a8){for(let _0x1480c7,_0xe94950=_0xef66fb;0xffff!=(_0x1480c7=_0x21106c[_0xe94950]);_0xe94950++)if(_0x1480c7==_0xd298a8)return _0xe94950-_0xef66fb;return-0x1;}function FP(_0x52d822,_0x476ab7,_0xce11fd,_0x5ede02){let _0x297b65=jP(_0xce11fd,_0x5ede02,_0x476ab7);return _0x297b65<0x0||jP(_0xce11fd,_0x5ede02,_0x52d822)<_0x297b65;}const HP='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let GP=null;function ZP(_0x227790,_0x3b89ca,_0xf042fa){let _0x1af801=_0x227790['cursor'](jI['IncludeAnonymous']);for(_0x1af801['moveTo'](_0x3b89ca);;)if(!(_0xf042fa<0x0?_0x1af801['childBefore'](_0x3b89ca):_0x1af801['childAfter'](_0x3b89ca)))for(;;){if((_0xf042fa<0x0?_0x1af801['to']<_0x3b89ca:_0x1af801['from']>_0x3b89ca)&&!_0x1af801['type']['isError'])return _0xf042fa<0x0?Math['max'](0x0,Math['min'](_0x1af801['to']-0x1,_0x3b89ca-0x19)):Math['min'](_0x227790['length'],Math['max'](_0x1af801['from']+0x1,_0x3b89ca+0x19));if(_0xf042fa<0x0?_0x1af801['prevSibling']():_0x1af801['nextSibling']())break;if(!_0x1af801['parent']())return _0xf042fa<0x0?0x0:_0x227790['length'];}}let XP=class FragmentCursor{constructor(_0x5b54bd,_0x5345ce){this['fragments']=_0x5b54bd,this['nodeSet']=_0x5345ce,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x5bf385=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x5bf385){for(this['safeFrom']=_0x5bf385['openStart']?ZP(_0x5bf385['tree'],_0x5bf385['from']+_0x5bf385['offset'],0x1)-_0x5bf385['offset']:_0x5bf385['from'],this['safeTo']=_0x5bf385['openEnd']?ZP(_0x5bf385['tree'],_0x5bf385['to']+_0x5bf385['offset'],-0x1)-_0x5bf385['offset']:_0x5bf385['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x5bf385['tree']),this['start']['push'](-_0x5bf385['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x56f5db){if(_0x56f5db<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x56f5db;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x2aed4a=this['trees']['length']-0x1;if(_0x2aed4a<0x0)return this['nextFragment'](),null;let _0x2375f1=this['trees'][_0x2aed4a],_0x5cf4ca=this['index'][_0x2aed4a];if(_0x5cf4ca==_0x2375f1['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x252a5a=_0x2375f1['children'][_0x5cf4ca],_0x1d34fc=this['start'][_0x2aed4a]+_0x2375f1['positions'][_0x5cf4ca];if(_0x1d34fc>_0x56f5db)return this['nextStart']=_0x1d34fc,null;if(_0x252a5a instanceof Tree){if(_0x1d34fc==_0x56f5db){if(_0x1d34fc<this['safeFrom'])return null;let _0x50cdfa=_0x1d34fc+_0x252a5a['length'];if(_0x50cdfa<=this['safeTo']){let _0x31e6dd=_0x252a5a['prop'](NodeProp['lookAhead']);if(!_0x31e6dd||_0x50cdfa+_0x31e6dd<this['fragment']['to'])return _0x252a5a;}}this['index'][_0x2aed4a]++,_0x1d34fc+_0x252a5a['length']>=Math['max'](this['safeFrom'],_0x56f5db)&&(this['trees']['push'](_0x252a5a),this['start']['push'](_0x1d34fc),this['index']['push'](0x0));}else this['index'][_0x2aed4a]++,this['nextStart']=_0x1d34fc+_0x252a5a['length'];}}};class TokenCache{constructor(_0x2b1b3a,_0x29e0a2){this['stream']=_0x29e0a2,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x2b1b3a['tokenizers']['map'](_0x5732b3=>new CachedToken());}['getActions'](_0x254ff7){let _0x36d1ad=0x0,_0x19467f=null,{parser:_0x2ffc3f}=_0x254ff7['p'],{tokenizers:_0x180826}=_0x2ffc3f,_0x588ee8=_0x2ffc3f['stateSlot'](_0x254ff7['state'],0x3),_0x26afd0=_0x254ff7['curContext']?_0x254ff7['curContext']['hash']:0x0,_0x5606b1=0x0;for(let _0x5967ec=0x0;_0x5967ec<_0x180826['length'];_0x5967ec++){if(!(0x1<<_0x5967ec&_0x588ee8))continue;let _0x4aed62=_0x180826[_0x5967ec],_0x466b11=this['tokens'][_0x5967ec];if((!_0x19467f||_0x4aed62['fallback'])&&((_0x4aed62['contextual']||_0x466b11['start']!=_0x254ff7['pos']||_0x466b11['mask']!=_0x588ee8||_0x466b11['context']!=_0x26afd0)&&(this['updateCachedToken'](_0x466b11,_0x4aed62,_0x254ff7),_0x466b11['mask']=_0x588ee8,_0x466b11['context']=_0x26afd0),_0x466b11['lookAhead']>_0x466b11['end']+0x19&&(_0x5606b1=Math['max'](_0x466b11['lookAhead'],_0x5606b1)),0x0!=_0x466b11['value'])){let _0x127cba=_0x36d1ad;if(_0x466b11['extended']>-0x1&&(_0x36d1ad=this['addActions'](_0x254ff7,_0x466b11['extended'],_0x466b11['end'],_0x36d1ad)),_0x36d1ad=this['addActions'](_0x254ff7,_0x466b11['value'],_0x466b11['end'],_0x36d1ad),!_0x4aed62['extend']&&(_0x19467f=_0x466b11,_0x36d1ad>_0x127cba))break;}}for(;this['actions']['length']>_0x36d1ad;)this['actions']['pop']();return _0x5606b1&&_0x254ff7['setLookAhead'](_0x5606b1),_0x19467f||_0x254ff7['pos']!=this['stream']['end']||(_0x19467f=new CachedToken(),_0x19467f['value']=_0x254ff7['p']['parser']['eofTerm'],_0x19467f['start']=_0x19467f['end']=_0x254ff7['pos'],_0x36d1ad=this['addActions'](_0x254ff7,_0x19467f['value'],_0x19467f['end'],_0x36d1ad)),this['mainToken']=_0x19467f,this['actions'];}['getMainToken'](_0xf19289){if(this['mainToken'])return this['mainToken'];let _0x37c510=new CachedToken(),{pos:_0x595ed4,p:_0x1835f1}=_0xf19289;return _0x37c510['start']=_0x595ed4,_0x37c510['end']=Math['min'](_0x595ed4+0x1,_0x1835f1['stream']['end']),_0x37c510['value']=_0x595ed4==_0x1835f1['stream']['end']?_0x1835f1['parser']['eofTerm']:0x0,_0x37c510;}['updateCachedToken'](_0x2b5fdc,_0x5c3007,_0x21c56b){let _0x3fcba5=this['stream']['clipPos'](_0x21c56b['pos']);if(_0x5c3007['token'](this['stream']['reset'](_0x3fcba5,_0x2b5fdc),_0x21c56b),_0x2b5fdc['value']>-0x1){let {parser:_0x2f0a0b}=_0x21c56b['p'];for(let _0x20d897=0x0;_0x20d897<_0x2f0a0b['specialized']['length'];_0x20d897++)if(_0x2f0a0b['specialized'][_0x20d897]==_0x2b5fdc['value']){let _0x3e219d=_0x2f0a0b['specializers'][_0x20d897](this['stream']['read'](_0x2b5fdc['start'],_0x2b5fdc['end']),_0x21c56b);if(_0x3e219d>=0x0&&_0x21c56b['p']['parser']['dialect']['allows'](_0x3e219d>>0x1)){0x1&_0x3e219d?_0x2b5fdc['extended']=_0x3e219d>>0x1:_0x2b5fdc['value']=_0x3e219d>>0x1;break;}}}else _0x2b5fdc['value']=0x0,_0x2b5fdc['end']=this['stream']['clipPos'](_0x3fcba5+0x1);}['putAction'](_0x51628b,_0x45f093,_0x48a965,_0x1c8359){for(let _0x57afe7=0x0;_0x57afe7<_0x1c8359;_0x57afe7+=0x3)if(this['actions'][_0x57afe7]==_0x51628b)return _0x1c8359;return this['actions'][_0x1c8359++]=_0x51628b,this['actions'][_0x1c8359++]=_0x45f093,this['actions'][_0x1c8359++]=_0x48a965,_0x1c8359;}['addActions'](_0x43ca92,_0xff6da0,_0x3c65f4,_0x583a10){let {state:_0x27be19}=_0x43ca92,{parser:_0x46a63a}=_0x43ca92['p'],{data:_0x3df511}=_0x46a63a;for(let _0x1194a1=0x0;_0x1194a1<0x2;_0x1194a1++)for(let _0x2ff5b0=_0x46a63a['stateSlot'](_0x27be19,_0x1194a1?0x2:0x1);;_0x2ff5b0+=0x3){if(0xffff==_0x3df511[_0x2ff5b0]){if(0x1!=_0x3df511[_0x2ff5b0+0x1]){0x0==_0x583a10&&0x2==_0x3df511[_0x2ff5b0+0x1]&&(_0x583a10=this['putAction'](zP(_0x3df511,_0x2ff5b0+0x2),_0xff6da0,_0x3c65f4,_0x583a10));break;}_0x2ff5b0=zP(_0x3df511,_0x2ff5b0+0x2);}_0x3df511[_0x2ff5b0]==_0xff6da0&&(_0x583a10=this['putAction'](zP(_0x3df511,_0x2ff5b0+0x1),_0xff6da0,_0x3c65f4,_0x583a10));}return _0x583a10;}}class Parse{constructor(_0xeb3649,_0x4a6937,_0x1969e6,_0x42341e){this['parser']=_0xeb3649,this['input']=_0x4a6937,this['ranges']=_0x42341e,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(_0x4a6937,_0x42341e),this['tokens']=new TokenCache(_0xeb3649,this['stream']),this['topTerm']=_0xeb3649['top'][0x1];let {from:_0x5408a5}=_0x42341e[0x0];this['stacks']=[Stack['start'](this,_0xeb3649['top'][0x0],_0x5408a5)],this['fragments']=_0x1969e6['length']&&this['stream']['end']-_0x5408a5>0x4*_0xeb3649['bufferLength']?new XP(_0x1969e6,_0xeb3649['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x27e2d6,_0x3f0c88,_0x218cda=this['stacks'],_0x3c3a06=this['minStackPos'],_0x5b1b09=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x218cda['length']){let [_0x4b7206]=_0x218cda;for(;_0x4b7206['forceReduce']()&&_0x4b7206['stack']['length']&&_0x4b7206['stack'][_0x4b7206['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x4dba46=0x0;_0x4dba46<_0x218cda['length'];_0x4dba46++){let _0x5c0481=_0x218cda[_0x4dba46];for(;;){if(this['tokens']['mainToken']=null,_0x5c0481['pos']>_0x3c3a06)_0x5b1b09['push'](_0x5c0481);else{if(this['advanceStack'](_0x5c0481,_0x5b1b09,_0x218cda))continue;{_0x27e2d6||(_0x27e2d6=[],_0x3f0c88=[]),_0x27e2d6['push'](_0x5c0481);let _0x4fafc4=this['tokens']['getMainToken'](_0x5c0481);_0x3f0c88['push'](_0x4fafc4['value'],_0x4fafc4['end']);}}break;}}if(!_0x5b1b09['length']){let _0x5c9090=_0x27e2d6&&function(_0x406a19){let _0x5934d5=null;for(let _0x24e48b of _0x406a19){let _0x5b90f7=_0x24e48b['p']['stoppedAt'];(_0x24e48b['pos']==_0x24e48b['p']['stream']['end']||null!=_0x5b90f7&&_0x24e48b['pos']>_0x5b90f7)&&_0x24e48b['p']['parser']['stateFlag'](_0x24e48b['state'],0x2)&&(!_0x5934d5||_0x5934d5['score']<_0x24e48b['score'])&&(_0x5934d5=_0x24e48b);}return _0x5934d5;}(_0x27e2d6);if(_0x5c9090)return HP&&console['log']('Finish\x20with\x20'+this['stackID'](_0x5c9090)),this['stackToTree'](_0x5c9090);if(this['parser']['strict'])throw HP&&_0x27e2d6&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x3c3a06);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x27e2d6){let _0x31e1a6=null!=this['stoppedAt']&&_0x27e2d6[0x0]['pos']>this['stoppedAt']?_0x27e2d6[0x0]:this['runRecovery'](_0x27e2d6,_0x3f0c88,_0x5b1b09);if(_0x31e1a6)return HP&&console['log']('Force-finish\x20'+this['stackID'](_0x31e1a6)),this['stackToTree'](_0x31e1a6['forceAll']());}if(this['recovering']){let _0x340acd=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x5b1b09['length']>_0x340acd){for(_0x5b1b09['sort']((_0xc53524,_0x30c0da)=>_0x30c0da['score']-_0xc53524['score']);_0x5b1b09['length']>_0x340acd;)_0x5b1b09['pop']();}_0x5b1b09['some'](_0x541cf6=>_0x541cf6['reducePos']>_0x3c3a06)&&this['recovering']--;}else{if(_0x5b1b09['length']>0x1){t:for(let _0x5b8d09=0x0;_0x5b8d09<_0x5b1b09['length']-0x1;_0x5b8d09++){let _0x163080=_0x5b1b09[_0x5b8d09];for(let _0x5988fe=_0x5b8d09+0x1;_0x5988fe<_0x5b1b09['length'];_0x5988fe++){let _0x2fb91d=_0x5b1b09[_0x5988fe];if(_0x163080['sameState'](_0x2fb91d)||_0x163080['buffer']['length']>0x1f4&&_0x2fb91d['buffer']['length']>0x1f4){if(!((_0x163080['score']-_0x2fb91d['score']||_0x163080['buffer']['length']-_0x2fb91d['buffer']['length'])>0x0)){_0x5b1b09['splice'](_0x5b8d09--,0x1);continue t;}_0x5b1b09['splice'](_0x5988fe--,0x1);}}}_0x5b1b09['length']>0xc&&_0x5b1b09['splice'](0xc,_0x5b1b09['length']-0xc);}}this['minStackPos']=_0x5b1b09[0x0]['pos'];for(let _0x36b1a0=0x1;_0x36b1a0<_0x5b1b09['length'];_0x36b1a0++)_0x5b1b09[_0x36b1a0]['pos']<this['minStackPos']&&(this['minStackPos']=_0x5b1b09[_0x36b1a0]['pos']);return null;}['stopAt'](_0x2b49cd){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x2b49cd)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x2b49cd;}['advanceStack'](_0x52787f,_0x5ae05f,_0x235a7d){let _0x65f896=_0x52787f['pos'],{parser:_0xbd440e}=this,_0x46edc2=HP?this['stackID'](_0x52787f)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x65f896>this['stoppedAt'])return _0x52787f['forceReduce']()?_0x52787f:null;if(this['fragments']){let _0x49ecbe=_0x52787f['curContext']&&_0x52787f['curContext']['tracker']['strict'],_0x500607=_0x49ecbe?_0x52787f['curContext']['hash']:0x0;for(let _0x9b3489=this['fragments']['nodeAt'](_0x65f896);_0x9b3489;){let _0x4406a5=this['parser']['nodeSet']['types'][_0x9b3489['type']['id']]==_0x9b3489['type']?_0xbd440e['getGoto'](_0x52787f['state'],_0x9b3489['type']['id']):-0x1;if(_0x4406a5>-0x1&&_0x9b3489['length']&&(!_0x49ecbe||(_0x9b3489['prop'](NodeProp['contextHash'])||0x0)==_0x500607))return _0x52787f['useNode'](_0x9b3489,_0x4406a5),HP&&console['log'](_0x46edc2+this['stackID'](_0x52787f)+('\x20(via\x20reuse\x20of\x20'+_0xbd440e['getName'](_0x9b3489['type']['id'])+')')),!0x0;if(!(_0x9b3489 instanceof Tree)||0x0==_0x9b3489['children']['length']||_0x9b3489['positions'][0x0]>0x0)break;let _0x456727=_0x9b3489['children'][0x0];if(!(_0x456727 instanceof Tree&&0x0==_0x9b3489['positions'][0x0]))break;_0x9b3489=_0x456727;}}let _0x32549d=_0xbd440e['stateSlot'](_0x52787f['state'],0x4);if(_0x32549d>0x0)return _0x52787f['reduce'](_0x32549d),HP&&console['log'](_0x46edc2+this['stackID'](_0x52787f)+('\x20(via\x20always-reduce\x20'+_0xbd440e['getName'](0xffff&_0x32549d)+')')),!0x0;if(_0x52787f['stack']['length']>=0x20d0){for(;_0x52787f['stack']['length']>0x1770&&_0x52787f['forceReduce'](););}let _0x4e08a1=this['tokens']['getActions'](_0x52787f);for(let _0xe08889=0x0;_0xe08889<_0x4e08a1['length'];){let _0x485c7c=_0x4e08a1[_0xe08889++],_0x12b8c6=_0x4e08a1[_0xe08889++],_0x361090=_0x4e08a1[_0xe08889++],_0x5d4e10=_0xe08889==_0x4e08a1['length']||!_0x235a7d,_0x3aec23=_0x5d4e10?_0x52787f:_0x52787f['split'](),_0x55be70=this['tokens']['mainToken'];if(_0x3aec23['apply'](_0x485c7c,_0x12b8c6,_0x55be70?_0x55be70['start']:_0x3aec23['pos'],_0x361090),HP&&console['log'](_0x46edc2+this['stackID'](_0x3aec23)+('\x20(via\x20'+(0x10000&_0x485c7c?'reduce\x20of\x20'+_0xbd440e['getName'](0xffff&_0x485c7c):'shift')+'\x20for\x20'+_0xbd440e['getName'](_0x12b8c6)+'\x20@\x20'+_0x65f896+(_0x3aec23==_0x52787f?'':',\x20split')+')')),_0x5d4e10)return!0x0;_0x3aec23['pos']>_0x65f896?_0x5ae05f['push'](_0x3aec23):_0x235a7d['push'](_0x3aec23);}return!0x1;}['advanceFully'](_0x22c200,_0x3fd7a5){let _0x3d9696=_0x22c200['pos'];for(;;){if(!this['advanceStack'](_0x22c200,null,null))return!0x1;if(_0x22c200['pos']>_0x3d9696)return qP(_0x22c200,_0x3fd7a5),!0x0;}}['runRecovery'](_0x5a1ef7,_0x42be9f,_0x2707df){let _0x26c2b3=null,_0x520eee=!0x1;for(let _0x547e53=0x0;_0x547e53<_0x5a1ef7['length'];_0x547e53++){let _0x500204=_0x5a1ef7[_0x547e53],_0x7c01e8=_0x42be9f[_0x547e53<<0x1],_0x3a9335=_0x42be9f[0x1+(_0x547e53<<0x1)],_0x14da1d=HP?this['stackID'](_0x500204)+'\x20->\x20':'';if(_0x500204['deadEnd']){if(_0x520eee)continue;if(_0x520eee=!0x0,_0x500204['restart'](),HP&&console['log'](_0x14da1d+this['stackID'](_0x500204)+'\x20(restarted)'),this['advanceFully'](_0x500204,_0x2707df))continue;}let _0x5d7e9d=_0x500204['split'](),_0x22b368=_0x14da1d;for(let _0x347b50=0x0;_0x347b50<0xa&&_0x5d7e9d['forceReduce']();_0x347b50++){if(HP&&console['log'](_0x22b368+this['stackID'](_0x5d7e9d)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x5d7e9d,_0x2707df))break;HP&&(_0x22b368=this['stackID'](_0x5d7e9d)+'\x20->\x20');}for(let _0x115eb5 of _0x500204['recoverByInsert'](_0x7c01e8))HP&&console['log'](_0x14da1d+this['stackID'](_0x115eb5)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x115eb5,_0x2707df);this['stream']['end']>_0x500204['pos']?(_0x3a9335==_0x500204['pos']&&(_0x3a9335++,_0x7c01e8=0x0),_0x500204['recoverByDelete'](_0x7c01e8,_0x3a9335),HP&&console['log'](_0x14da1d+this['stackID'](_0x500204)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x7c01e8)+')')),qP(_0x500204,_0x2707df)):(!_0x26c2b3||_0x26c2b3['score']<_0x500204['score'])&&(_0x26c2b3=_0x500204);}return _0x26c2b3;}['stackToTree'](_0x56d26f){return _0x56d26f['close'](),Tree['build']({'buffer':StackBufferCursor['create'](_0x56d26f),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x56d26f['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x3a5165){let _0x18d61f=(GP||(GP=new WeakMap()))['get'](_0x3a5165);return _0x18d61f||GP['set'](_0x3a5165,_0x18d61f=String['fromCodePoint'](this['nextStackID']++)),_0x18d61f+_0x3a5165;}}function qP(_0x25b160,_0x5740ca){for(let _0x41dce0=0x0;_0x41dce0<_0x5740ca['length'];_0x41dce0++){let _0x382f4e=_0x5740ca[_0x41dce0];if(_0x382f4e['pos']==_0x25b160['pos']&&_0x382f4e['sameState'](_0x25b160))return void(_0x5740ca[_0x41dce0]['score']<_0x25b160['score']&&(_0x5740ca[_0x41dce0]=_0x25b160));}_0x5740ca['push'](_0x25b160);}class Dialect{constructor(_0x4a3dff,_0x3d9b59,_0x10d5a6){this['source']=_0x4a3dff,this['flags']=_0x3d9b59,this['disabled']=_0x10d5a6;}['allows'](_0x24a513){return!this['disabled']||0x0==this['disabled'][_0x24a513];}}const WP=_0x3923d6=>_0x3923d6;class ContextTracker{constructor(_0x1fe731){this['start']=_0x1fe731['start'],this['shift']=_0x1fe731['shift']||WP,this['reduce']=_0x1fe731['reduce']||WP,this['reuse']=_0x1fe731['reuse']||WP,this['hash']=_0x1fe731['hash']||(()=>0x0),this['strict']=!0x1!==_0x1fe731['strict'];}}class LRParser extends Parser{constructor(_0x168eda){if(super(),this['wrappers']=[],0xe!=_0x168eda['version'])throw new RangeError('Parser\x20version\x20('+_0x168eda['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x564fdc=_0x168eda['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x564fdc['length'];for(let _0x11f7aa=0x0;_0x11f7aa<_0x168eda['repeatNodeCount'];_0x11f7aa++)_0x564fdc['push']('');let _0x4661ca=Object['keys'](_0x168eda['topRules'])['map'](_0x26e059=>_0x168eda['topRules'][_0x26e059][0x1]),_0x1c7459=[];for(let _0x1cf3f2=0x0;_0x1cf3f2<_0x564fdc['length'];_0x1cf3f2++)_0x1c7459['push']([]);function _0x3d0861(_0x29b5ae,_0x43fdd9,_0xae3db8){_0x1c7459[_0x29b5ae]['push']([_0x43fdd9,_0x43fdd9['deserialize'](String(_0xae3db8))]);}if(_0x168eda['nodeProps'])for(let _0x4fd3b4 of _0x168eda['nodeProps']){let _0x3d343f=_0x4fd3b4[0x0];'string'==typeof _0x3d343f&&(_0x3d343f=NodeProp[_0x3d343f]);for(let _0x1d2f42=0x1;_0x1d2f42<_0x4fd3b4['length'];){let _0x3ec1b8=_0x4fd3b4[_0x1d2f42++];if(_0x3ec1b8>=0x0)_0x3d0861(_0x3ec1b8,_0x3d343f,_0x4fd3b4[_0x1d2f42++]);else{let _0x291c1b=_0x4fd3b4[_0x1d2f42+-_0x3ec1b8];for(let _0x1ffcc2=-_0x3ec1b8;_0x1ffcc2>0x0;_0x1ffcc2--)_0x3d0861(_0x4fd3b4[_0x1d2f42++],_0x3d343f,_0x291c1b);_0x1d2f42++;}}}this['nodeSet']=new NodeSet(_0x564fdc['map']((_0x204030,_0x22b363)=>NodeType['define']({'name':_0x22b363>=this['minRepeatTerm']?void 0x0:_0x204030,'id':_0x22b363,'props':_0x1c7459[_0x22b363],'top':_0x4661ca['indexOf'](_0x22b363)>-0x1,'error':0x0==_0x22b363,'skipped':_0x168eda['skippedNodes']&&_0x168eda['skippedNodes']['indexOf'](_0x22b363)>-0x1}))),_0x168eda['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x168eda['propSources'])),this['strict']=!0x1,this['bufferLength']=DI;let _0x51cb4e=VP(_0x168eda['tokenData']);this['context']=_0x168eda['context'],this['specializerSpecs']=_0x168eda['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x2a5f82=0x0;_0x2a5f82<this['specializerSpecs']['length'];_0x2a5f82++)this['specialized'][_0x2a5f82]=this['specializerSpecs'][_0x2a5f82]['term'];this['specializers']=this['specializerSpecs']['map'](YP),this['states']=VP(_0x168eda['states'],Uint32Array),this['data']=VP(_0x168eda['stateData']),this['goto']=VP(_0x168eda['goto']),this['maxTerm']=_0x168eda['maxTerm'],this['tokenizers']=_0x168eda['tokenizers']['map'](_0x597fed=>'number'==typeof _0x597fed?new TokenGroup(_0x51cb4e,_0x597fed):_0x597fed),this['topRules']=_0x168eda['topRules'],this['dialects']=_0x168eda['dialects']||{},this['dynamicPrecedences']=_0x168eda['dynamicPrecedences']||null,this['tokenPrecTable']=_0x168eda['tokenPrec'],this['termNames']=_0x168eda['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x4f4e1d,_0x186de7,_0x336a42){let _0x2336ec=new Parse(this,_0x4f4e1d,_0x186de7,_0x336a42);for(let _0x4b4b7c of this['wrappers'])_0x2336ec=_0x4b4b7c(_0x2336ec,_0x4f4e1d,_0x186de7,_0x336a42);return _0x2336ec;}['getGoto'](_0x535094,_0x3e25c1,_0x33bec4=!0x1){let _0x105b30=this['goto'];if(_0x3e25c1>=_0x105b30[0x0])return-0x1;for(let _0x4e63e4=_0x105b30[_0x3e25c1+0x1];;){let _0x135ef1=_0x105b30[_0x4e63e4++],_0x2b3f03=0x1&_0x135ef1,_0x25c622=_0x105b30[_0x4e63e4++];if(_0x2b3f03&&_0x33bec4)return _0x25c622;for(let _0x350767=_0x4e63e4+(_0x135ef1>>0x1);_0x4e63e4<_0x350767;_0x4e63e4++)if(_0x105b30[_0x4e63e4]==_0x535094)return _0x25c622;if(_0x2b3f03)return-0x1;}}['hasAction'](_0x514296,_0x448f06){let _0x1ff2b1=this['data'];for(let _0x4a746c=0x0;_0x4a746c<0x2;_0x4a746c++)for(let _0x312e40,_0x452136=this['stateSlot'](_0x514296,_0x4a746c?0x2:0x1);;_0x452136+=0x3){if(0xffff==(_0x312e40=_0x1ff2b1[_0x452136])){if(0x1!=_0x1ff2b1[_0x452136+0x1]){if(0x2==_0x1ff2b1[_0x452136+0x1])return zP(_0x1ff2b1,_0x452136+0x2);break;}_0x312e40=_0x1ff2b1[_0x452136=zP(_0x1ff2b1,_0x452136+0x2)];}if(_0x312e40==_0x448f06||0x0==_0x312e40)return zP(_0x1ff2b1,_0x452136+0x1);}return 0x0;}['stateSlot'](_0x5355c0,_0x219c5b){return this['states'][0x6*_0x5355c0+_0x219c5b];}['stateFlag'](_0x24d592,_0xdff5ae){return(this['stateSlot'](_0x24d592,0x0)&_0xdff5ae)>0x0;}['validAction'](_0x5c75e3,_0x127da9){return!!this['allActions'](_0x5c75e3,_0x456f35=>_0x456f35==_0x127da9||null);}['allActions'](_0x49b08,_0x4349c9){let _0x483be9=this['stateSlot'](_0x49b08,0x4),_0x159c78=_0x483be9?_0x4349c9(_0x483be9):void 0x0;for(let _0x4a3b5d=this['stateSlot'](_0x49b08,0x1);null==_0x159c78;_0x4a3b5d+=0x3){if(0xffff==this['data'][_0x4a3b5d]){if(0x1!=this['data'][_0x4a3b5d+0x1])break;_0x4a3b5d=zP(this['data'],_0x4a3b5d+0x2);}_0x159c78=_0x4349c9(zP(this['data'],_0x4a3b5d+0x1));}return _0x159c78;}['nextStates'](_0xb820ff){let _0x46f935=[];for(let _0x20464f=this['stateSlot'](_0xb820ff,0x1);;_0x20464f+=0x3){if(0xffff==this['data'][_0x20464f]){if(0x1!=this['data'][_0x20464f+0x1])break;_0x20464f=zP(this['data'],_0x20464f+0x2);}if(!(0x1&this['data'][_0x20464f+0x2])){let _0x116f68=this['data'][_0x20464f+0x1];_0x46f935['some']((_0x32686a,_0x1fda8d)=>0x1&_0x1fda8d&&_0x32686a==_0x116f68)||_0x46f935['push'](this['data'][_0x20464f],_0x116f68);}}return _0x46f935;}['configure'](_0x2a2e8f){let _0x5d5241=Object['assign'](Object['create'](LRParser['prototype']),this);if(_0x2a2e8f['props']&&(_0x5d5241['nodeSet']=this['nodeSet']['extend'](..._0x2a2e8f['props'])),_0x2a2e8f['top']){let _0x444206=this['topRules'][_0x2a2e8f['top']];if(!_0x444206)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x2a2e8f['top']);_0x5d5241['top']=_0x444206;}return _0x2a2e8f['tokenizers']&&(_0x5d5241['tokenizers']=this['tokenizers']['map'](t=>{let _0x563e6a=_0x2a2e8f['tokenizers']['find'](_0x34850a=>_0x34850a['from']==t);return _0x563e6a?_0x563e6a['to']:t;})),_0x2a2e8f['specializers']&&(_0x5d5241['specializers']=this['specializers']['slice'](),_0x5d5241['specializerSpecs']=this['specializerSpecs']['map']((_0x45e0cd,_0x4b8d6d)=>{let _0x2f77e3=_0x2a2e8f['specializers']['find'](_0x361689=>_0x361689['from']==_0x45e0cd['external']);if(!_0x2f77e3)return _0x45e0cd;let _0x57a4f8=Object['assign'](Object['assign']({},_0x45e0cd),{'external':_0x2f77e3['to']});return _0x5d5241['specializers'][_0x4b8d6d]=YP(_0x57a4f8),_0x57a4f8;})),_0x2a2e8f['contextTracker']&&(_0x5d5241['context']=_0x2a2e8f['contextTracker']),_0x2a2e8f['dialect']&&(_0x5d5241['dialect']=this['parseDialect'](_0x2a2e8f['dialect'])),null!=_0x2a2e8f['strict']&&(_0x5d5241['strict']=_0x2a2e8f['strict']),_0x2a2e8f['wrap']&&(_0x5d5241['wrappers']=_0x5d5241['wrappers']['concat'](_0x2a2e8f['wrap'])),null!=_0x2a2e8f['bufferLength']&&(_0x5d5241['bufferLength']=_0x2a2e8f['bufferLength']),_0x5d5241;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x106ea0){return this['termNames']?this['termNames'][_0x106ea0]:String(_0x106ea0<=this['maxNode']&&this['nodeSet']['types'][_0x106ea0]['name']||_0x106ea0);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x1d54d4){let _0x2d2cff=this['dynamicPrecedences'];return null==_0x2d2cff?0x0:_0x2d2cff[_0x1d54d4]||0x0;}['parseDialect'](_0x2a44a5){let _0x2ac4ba=Object['keys'](this['dialects']),_0x38e76b=_0x2ac4ba['map'](()=>!0x1);if(_0x2a44a5)for(let _0x5564f7 of _0x2a44a5['split']('\x20')){let _0x134e18=_0x2ac4ba['indexOf'](_0x5564f7);_0x134e18>=0x0&&(_0x38e76b[_0x134e18]=!0x0);}let _0x5b31d5=null;for(let _0x47ffca=0x0;_0x47ffca<_0x2ac4ba['length'];_0x47ffca++)if(!_0x38e76b[_0x47ffca]){for(let _0x541508,_0x22b3f8=this['dialects'][_0x2ac4ba[_0x47ffca]];0xffff!=(_0x541508=this['data'][_0x22b3f8++]);)(_0x5b31d5||(_0x5b31d5=new Uint8Array(this['maxTerm']+0x1)))[_0x541508]=0x1;}return new Dialect(_0x2a44a5,_0x38e76b,_0x5b31d5);}static['deserialize'](_0x5257e3){return new LRParser(_0x5257e3);}}function zP(_0x2e5263,_0x4e14b1){return _0x2e5263[_0x4e14b1]|_0x2e5263[_0x4e14b1+0x1]<<0x10;}function YP(_0x2163c4){if(_0x2163c4['external']){let _0x4c79f4=_0x2163c4['extend']?0x1:0x0;return(_0x34ae92,_0x29b075)=>_0x2163c4['external'](_0x34ae92,_0x29b075)<<0x1|_0x4c79f4;}return _0x2163c4['get'];}const KP={'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},JP={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},tM={'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 eM(_0x150c3f){return 0x2d==_0x150c3f||0x2e==_0x150c3f||0x3a==_0x150c3f||_0x150c3f>=0x41&&_0x150c3f<=0x5a||0x5f==_0x150c3f||_0x150c3f>=0x61&&_0x150c3f<=0x7a||_0x150c3f>=0xa1;}let iM=null,sM=null,nM=0x0;function rM(_0x403dc6,_0x48ec4c){let _0x10fc2c=_0x403dc6['pos']+_0x48ec4c;if(nM==_0x10fc2c&&sM==_0x403dc6)return iM;let _0x4e6b86=_0x403dc6['peek'](_0x48ec4c),_0x28e75e='';for(;eM(_0x4e6b86);)_0x28e75e+=String['fromCharCode'](_0x4e6b86),_0x4e6b86=_0x403dc6['peek'](++_0x48ec4c);return sM=_0x403dc6,nM=_0x10fc2c,iM=_0x28e75e?_0x28e75e['toLowerCase']():_0x4e6b86==oM||_0x4e6b86==aM?void 0x0:null;}const oM=0x3f,aM=0x21;function cM(_0x25e717,_0x510dce){this['name']=_0x25e717,this['parent']=_0x510dce;}const lM=[0x6,0xa,0x7,0x8,0x9],hM=new ContextTracker({'start':null,'shift':(_0x2cce4d,_0x35226c,_0x362763,_0x3222bc)=>lM['indexOf'](_0x35226c)>-0x1?new cM(rM(_0x3222bc,0x1)||'',_0x2cce4d):_0x2cce4d,'reduce':(_0x3155ed,_0x2f06bb)=>0x15==_0x2f06bb&&_0x3155ed?_0x3155ed['parent']:_0x3155ed,'reuse'(_0x305a99,_0x20741a,_0x29fa49,_0x31782c){let _0x430736=_0x20741a['type']['id'];return 0x6==_0x430736||0x25==_0x430736?new cM(rM(_0x31782c,0x1)||'',_0x305a99):_0x305a99;},'strict':!0x1}),uM=new ExternalTokenizer((_0x5cbab8,_0x21f928)=>{if(0x3c!=_0x5cbab8['next'])return void(_0x5cbab8['next']<0x0&&_0x21f928['context']&&_0x5cbab8['acceptToken'](0x3a));_0x5cbab8['advance']();let _0x1fa054=0x2f==_0x5cbab8['next'];_0x1fa054&&_0x5cbab8['advance']();let _0x582d27=rM(_0x5cbab8,0x0);if(void 0x0===_0x582d27)return;if(!_0x582d27)return _0x5cbab8['acceptToken'](_0x1fa054?0xf:0xe);let _0x696f71=_0x21f928['context']?_0x21f928['context']['name']:null;if(_0x1fa054){if(_0x582d27==_0x696f71)return _0x5cbab8['acceptToken'](0xb);if(_0x696f71&&JP[_0x696f71])return _0x5cbab8['acceptToken'](0x3a,-0x2);if(_0x21f928['dialectEnabled'](0x0))return _0x5cbab8['acceptToken'](0xc);for(let _0x3fd630=_0x21f928['context'];_0x3fd630;_0x3fd630=_0x3fd630['parent'])if(_0x3fd630['name']==_0x582d27)return;_0x5cbab8['acceptToken'](0xd);}else{if('script'==_0x582d27)return _0x5cbab8['acceptToken'](0x7);if('style'==_0x582d27)return _0x5cbab8['acceptToken'](0x8);if('textarea'==_0x582d27)return _0x5cbab8['acceptToken'](0x9);if(KP['hasOwnProperty'](_0x582d27))return _0x5cbab8['acceptToken'](0xa);_0x696f71&&tM[_0x696f71]&&tM[_0x696f71][_0x582d27]?_0x5cbab8['acceptToken'](0x3a,-0x1):_0x5cbab8['acceptToken'](0x6);}},{'contextual':!0x0}),dM=new ExternalTokenizer(_0x5a8461=>{for(let _0x3033d8=0x0,_0xdb917b=0x0;;_0xdb917b++){if(_0x5a8461['next']<0x0){_0xdb917b&&_0x5a8461['acceptToken'](0x3b);break;}if(0x2d==_0x5a8461['next'])_0x3033d8++;else{if(0x3e==_0x5a8461['next']&&_0x3033d8>=0x2){_0xdb917b>=0x3&&_0x5a8461['acceptToken'](0x3b,-0x2);break;}_0x3033d8=0x0;}_0x5a8461['advance']();}}),fM=new ExternalTokenizer((_0x3d9435,_0x3cb1c3)=>{if(0x2f==_0x3d9435['next']&&0x3e==_0x3d9435['peek'](0x1)){let _0x370118=_0x3cb1c3['dialectEnabled'](0x1)||function(_0x1ce47b){for(;_0x1ce47b;_0x1ce47b=_0x1ce47b['parent'])if('svg'==_0x1ce47b['name']||'math'==_0x1ce47b['name'])return!0x0;return!0x1;}(_0x3cb1c3['context']);_0x3d9435['acceptToken'](_0x370118?0x5:0x4,0x2);}else 0x3e==_0x3d9435['next']&&_0x3d9435['acceptToken'](0x4,0x1);});function mM(_0x37e84f,_0x4317d8,_0x1991fb){let _0xf35c8=0x2+_0x37e84f['length'];return new ExternalTokenizer(_0x544be4=>{for(let _0x411600=0x0,_0x16fe76=0x0,_0x3e52a7=0x0;;_0x3e52a7++){if(_0x544be4['next']<0x0){_0x3e52a7&&_0x544be4['acceptToken'](_0x4317d8);break;}if(0x0==_0x411600&&0x3c==_0x544be4['next']||0x1==_0x411600&&0x2f==_0x544be4['next']||_0x411600>=0x2&&_0x411600<_0xf35c8&&_0x544be4['next']==_0x37e84f['charCodeAt'](_0x411600-0x2))_0x411600++,_0x16fe76++;else{if(_0x411600==_0xf35c8&&0x3e==_0x544be4['next']){_0x3e52a7>_0x16fe76?_0x544be4['acceptToken'](_0x4317d8,-_0x16fe76):_0x544be4['acceptToken'](_0x1991fb,-(_0x16fe76-0x2));break;}if((0xa==_0x544be4['next']||0xd==_0x544be4['next'])&&_0x3e52a7){_0x544be4['acceptToken'](_0x4317d8,0x1);break;}_0x411600=_0x16fe76=0x0;}_0x544be4['advance']();}});}const gM=mM('script',0x37,0x1),pM=mM('style',0x38,0x2),OM=mM('textarea',0x39,0x3),wM=hC({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':CC['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':CC['angleBracket'],'TagName':CC['tagName'],'MismatchedCloseTag/TagName':[CC['tagName'],CC['invalid']],'AttributeName':CC['attributeName'],'AttributeValue\x20UnquotedAttributeValue':CC['attributeValue'],'Is':CC['definitionOperator'],'EntityReference\x20CharacterReference':CC['character'],'Comment':CC['blockComment'],'ProcessingInst':CC['processingInstruction'],'DoctypeDecl':CC['documentMeta']}),bM=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':hM,'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':[wM],'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':[gM,pM,OM,fM,uM,dM,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function yM(_0x1efa35,_0x526d5a){let _0x196a38=Object['create'](null);for(let _0x509aad of _0x1efa35['getChildren'](0x18)){let _0x58bfae=_0x509aad['getChild'](0x19),_0x5a2f72=_0x509aad['getChild'](0x1b)||_0x509aad['getChild'](0x1c);_0x58bfae&&(_0x196a38[_0x526d5a['read'](_0x58bfae['from'],_0x58bfae['to'])]=_0x5a2f72?0x1b==_0x5a2f72['type']['id']?_0x526d5a['read'](_0x5a2f72['from']+0x1,_0x5a2f72['to']-0x1):_0x526d5a['read'](_0x5a2f72['from'],_0x5a2f72['to']):'');}return _0x196a38;}function vM(_0xc53319,_0x409dfd){let _0x25f646=_0xc53319['getChild'](0x17);return _0x25f646?_0x409dfd['read'](_0x25f646['from'],_0x25f646['to']):'\x20';}function _M(_0x8fcf3f,_0x520b99,_0x2bb924){let _0x365d6f;for(let _0x170f96 of _0x2bb924)if(!_0x170f96['attrs']||_0x170f96['attrs'](_0x365d6f||(_0x365d6f=yM(_0x8fcf3f['node']['parent']['firstChild'],_0x520b99))))return{'parser':_0x170f96['parser']};return null;}function EM(_0x1907b4=[],_0x1dabf7=[]){let _0x21bd68=[],_0x6a0f9b=[],_0x47b23e=[],_0x15cb41=[];for(let _0x5d53ef of _0x1907b4){('script'==_0x5d53ef['tag']?_0x21bd68:'style'==_0x5d53ef['tag']?_0x6a0f9b:'textarea'==_0x5d53ef['tag']?_0x47b23e:_0x15cb41)['push'](_0x5d53ef);}let _0x2e7718=_0x1dabf7['length']?Object['create'](null):null;for(let _0x5f030a of _0x1dabf7)(_0x2e7718[_0x5f030a['name']]||(_0x2e7718[_0x5f030a['name']]=[]))['push'](_0x5f030a);return KI((_0x53f55a,_0x5c71a3)=>{let _0x1c6bb8=_0x53f55a['type']['id'];if(0x1d==_0x1c6bb8)return _M(_0x53f55a,_0x5c71a3,_0x21bd68);if(0x20==_0x1c6bb8)return _M(_0x53f55a,_0x5c71a3,_0x6a0f9b);if(0x23==_0x1c6bb8)return _M(_0x53f55a,_0x5c71a3,_0x47b23e);if(0x15==_0x1c6bb8&&_0x15cb41['length']){let _0x33c0bd,_0x5d347c=_0x53f55a['node'],_0x5ab06a=_0x5d347c['firstChild'],_0x59ffc7=_0x5ab06a&&vM(_0x5ab06a,_0x5c71a3);if(_0x59ffc7){for(let _0x434993 of _0x15cb41)if(_0x434993['tag']==_0x59ffc7&&(!_0x434993['attrs']||_0x434993['attrs'](_0x33c0bd||(_0x33c0bd=yM(_0x5ab06a,_0x5c71a3))))){let _0x5d1b0b=_0x5d347c['lastChild'],_0x4ae14c=0x26==_0x5d1b0b['type']['id']?_0x5d1b0b['from']:_0x5d347c['to'];if(_0x4ae14c>_0x5ab06a['to'])return{'parser':_0x434993['parser'],'overlay':[{'from':_0x5ab06a['to'],'to':_0x4ae14c}]};}}}if(_0x2e7718&&0x18==_0x1c6bb8){let _0x2db9bd,_0x1d6981=_0x53f55a['node'];if(_0x2db9bd=_0x1d6981['firstChild']){let _0x41cdc3=_0x2e7718[_0x5c71a3['read'](_0x2db9bd['from'],_0x2db9bd['to'])];if(_0x41cdc3)for(let _0x2c23e1 of _0x41cdc3){if(_0x2c23e1['tagName']&&_0x2c23e1['tagName']!=vM(_0x1d6981['parent'],_0x5c71a3))continue;let _0x1848fe=_0x1d6981['lastChild'];if(0x1b==_0x1848fe['type']['id']){let _0xac892=_0x1848fe['from']+0x1,_0x2ddd96=_0x1848fe['lastChild'],_0xe90cff=_0x1848fe['to']-(_0x2ddd96&&_0x2ddd96['isError']?0x0:0x1);if(_0xe90cff>_0xac892)return{'parser':_0x2c23e1['parser'],'overlay':[{'from':_0xac892,'to':_0xe90cff}]};}else{if(0x1c==_0x1848fe['type']['id'])return{'parser':_0x2c23e1['parser'],'overlay':[{'from':_0x1848fe['from'],'to':_0x1848fe['to']}]};}}}}return null;});}const TM=[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 AM(_0x405945){return _0x405945>=0x41&&_0x405945<=0x5a||_0x405945>=0x61&&_0x405945<=0x7a||_0x405945>=0xa1;}function SM(_0x556cbb){return _0x556cbb>=0x30&&_0x556cbb<=0x39;}function IM(_0x18e2c6){return SM(_0x18e2c6)||_0x18e2c6>=0x61&&_0x18e2c6<=0x66||_0x18e2c6>=0x41&&_0x18e2c6<=0x46;}const CM=(_0x4b3afa,_0x4ebc27,_0x918d14)=>(_0x4000a8,_0x49e720)=>{for(let _0x35097f=!0x1,_0x47b2f4=0x0,_0x39e56d=0x0;;_0x39e56d++){let {next:_0x13557d}=_0x4000a8;if(AM(_0x13557d)||0x2d==_0x13557d||0x5f==_0x13557d||_0x35097f&&SM(_0x13557d))!_0x35097f&&(0x2d!=_0x13557d||_0x39e56d>0x0)&&(_0x35097f=!0x0),_0x47b2f4===_0x39e56d&&0x2d==_0x13557d&&_0x47b2f4++,_0x4000a8['advance']();else{if(0x5c!=_0x13557d||0xa==_0x4000a8['peek'](0x1)){_0x35097f&&_0x4000a8['acceptToken'](0x2==_0x47b2f4&&_0x49e720['canShift'](0x2)?_0x4ebc27:0x28==_0x13557d?_0x918d14:_0x4b3afa);break;}if(_0x4000a8['advance'](),IM(_0x4000a8['next'])){do{_0x4000a8['advance']();}while(IM(_0x4000a8['next']));0x20==_0x4000a8['next']&&_0x4000a8['advance']();}else _0x4000a8['next']>-0x1&&_0x4000a8['advance']();_0x35097f=!0x0;}}},kM=new ExternalTokenizer(CM(0x7b,0x2,0x7c)),xM=new ExternalTokenizer(CM(0x7d,0x3,0x4)),RM=new ExternalTokenizer(_0x5e7188=>{if(TM['includes'](_0x5e7188['peek'](-0x1))){let {next:_0x317d50}=_0x5e7188;(AM(_0x317d50)||0x5f==_0x317d50||0x23==_0x317d50||0x2e==_0x317d50||0x2a==_0x317d50||0x5b==_0x317d50||0x3a==_0x317d50&&AM(_0x5e7188['peek'](0x1))||0x2d==_0x317d50||0x26==_0x317d50)&&_0x5e7188['acceptToken'](0x7a);}}),PM=new ExternalTokenizer(_0x37397f=>{if(!TM['includes'](_0x37397f['peek'](-0x1))){let {next:_0x2b24d7}=_0x37397f;if(0x25==_0x2b24d7&&(_0x37397f['advance'](),_0x37397f['acceptToken'](0x1)),AM(_0x2b24d7)){do{_0x37397f['advance']();}while(AM(_0x37397f['next'])||SM(_0x37397f['next']));_0x37397f['acceptToken'](0x1);}}}),MM=hC({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':CC['definitionKeyword'],'from\x20to\x20selector':CC['keyword'],'NamespaceName':CC['namespace'],'KeyframeName':CC['labelName'],'KeyframeRangeName':CC['operatorKeyword'],'TagName':CC['tagName'],'ClassName':CC['className'],'PseudoClassName':CC['constant'](CC['className']),'IdName':CC['labelName'],'FeatureName\x20PropertyName':CC['propertyName'],'AttributeName':CC['attributeName'],'NumberLiteral':CC['number'],'KeywordQuery':CC['keyword'],'UnaryQueryOp':CC['operatorKeyword'],'CallTag\x20ValueName':CC['atom'],'VariableName':CC['variableName'],'Callee':CC['operatorKeyword'],'Unit':CC['unit'],'UniversalSelector\x20NestingSelector':CC['definitionOperator'],'MatchOp\x20CompareOp':CC['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':CC['logicOperator'],'BinOp':CC['arithmeticOperator'],'Important':CC['modifier'],'Comment':CC['blockComment'],'ColorLiteral':CC['color'],'ParenthesizedContent\x20StringLiteral':CC['string'],':':CC['punctuation'],'PseudoOp\x20#':CC['derefOperator'],';\x20,':CC['separator'],'(\x20)':CC['paren'],'[\x20]':CC['squareBracket'],'{\x20}':CC['brace']}),NM={'__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},LM={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},$M={'__proto__':null,'selector':0x70,'layer':0xa6},DM={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},QM={'__proto__':null,'to':0xcf},VM=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':[MM],'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':[RM,PM,kM,xM,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':_0x5bd86e=>NM[_0x5bd86e]||-0x1},{'term':0x7d,'get':_0x5d767d=>LM[_0x5d767d]||-0x1},{'term':0x4,'get':_0x282653=>$M[_0x282653]||-0x1},{'term':0x19,'get':_0x45170b=>DM[_0x45170b]||-0x1},{'term':0x7b,'get':_0x3bbe97=>QM[_0x3bbe97]||-0x1}],'tokenPrec':0x7ab});let UM=null;function BM(){if(!UM&&'object'==typeof document&&document['body']){let {style:_0x3372c6}=document['body'],_0x197d41=[],_0x8f3edc=new Set();for(let _0x52e4eb in _0x3372c6)'cssText'!=_0x52e4eb&&'cssFloat'!=_0x52e4eb&&'string'==typeof _0x3372c6[_0x52e4eb]&&(/[A-Z]/['test'](_0x52e4eb)&&(_0x52e4eb=_0x52e4eb['replace'](/[A-Z]/g,_0x6b43cc=>'-'+_0x6b43cc['toLowerCase']())),_0x8f3edc['has'](_0x52e4eb)||(_0x197d41['push'](_0x52e4eb),_0x8f3edc['add'](_0x52e4eb)));UM=_0x197d41['sort']()['map'](_0x74665b=>({'type':'property','label':_0x74665b,'apply':_0x74665b+':\x20'}));}return UM||[];}const jM=['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'](_0x4447e2=>({'type':'class','label':_0x4447e2})),FM=['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'](_0x3b183e=>({'type':'keyword','label':_0x3b183e}))['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'](_0x2213c1=>({'type':'constant','label':_0x2213c1}))),HM=['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'](_0x28b671=>({'type':'type','label':_0x28b671})),GM=['@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'](_0x37de4c=>({'type':'keyword','label':_0x37de4c})),ZM=/^(\w[\w-]*|-\w[\w-]*|)$/,XM=/^-(-[\w-]*)?$/,qM=new NodeWeakMap(),WM=['Declaration'];function zM(_0x24696d){for(let _0xe7e828=_0x24696d;;){if(_0xe7e828['type']['isTop'])return _0xe7e828;if(!(_0xe7e828=_0xe7e828['parent']))return _0x24696d;}}function YM(_0x453dd3,_0x18515d,_0x1bdaf3){if(_0x18515d['to']-_0x18515d['from']>0x1000){let _0x3383cb=qM['get'](_0x18515d);if(_0x3383cb)return _0x3383cb;let _0x51c58c=[],_0x37b99a=new Set(),_0x105a89=_0x18515d['cursor'](jI['IncludeAnonymous']);if(_0x105a89['firstChild']())do{for(let _0x49aeb7 of YM(_0x453dd3,_0x105a89['node'],_0x1bdaf3))_0x37b99a['has'](_0x49aeb7['label'])||(_0x37b99a['add'](_0x49aeb7['label']),_0x51c58c['push'](_0x49aeb7));}while(_0x105a89['nextSibling']());return qM['set'](_0x18515d,_0x51c58c),_0x51c58c;}{let _0xace345=[],_0xf93b50=new Set();return _0x18515d['cursor']()['iterate'](_0x4ec2a7=>{var _0x17480b;if(_0x1bdaf3(_0x4ec2a7)&&_0x4ec2a7['matchContext'](WM)&&':'==(null===(_0x17480b=_0x4ec2a7['node']['nextSibling'])||void 0x0===_0x17480b?void 0x0:_0x17480b['name'])){let _0x30d939=_0x453dd3['sliceString'](_0x4ec2a7['from'],_0x4ec2a7['to']);_0xf93b50['has'](_0x30d939)||(_0xf93b50['add'](_0x30d939),_0xace345['push']({'label':_0x30d939,'type':'variable'}));}}),_0xace345;}}const KM=_0x2b61a8=>_0x58b460=>{let {state:_0x36577d,pos:_0x303c2f}=_0x58b460,_0x9b9789=NC(_0x36577d)['resolveInner'](_0x303c2f,-0x1),_0x27abea=_0x9b9789['type']['isError']&&_0x9b9789['from']==_0x9b9789['to']-0x1&&'-'==_0x36577d['doc']['sliceString'](_0x9b9789['from'],_0x9b9789['to']);if('PropertyName'==_0x9b9789['name']||(_0x27abea||'TagName'==_0x9b9789['name'])&&/^(Block|Styles)$/['test'](_0x9b9789['resolve'](_0x9b9789['to'])['name']))return{'from':_0x9b9789['from'],'options':BM(),'validFor':ZM};if('ValueName'==_0x9b9789['name'])return{'from':_0x9b9789['from'],'options':FM,'validFor':ZM};if('PseudoClassName'==_0x9b9789['name'])return{'from':_0x9b9789['from'],'options':jM,'validFor':ZM};if(_0x2b61a8(_0x9b9789)||(_0x58b460['explicit']||_0x27abea)&&function(_0x251a2c,_0x48c47b){var _0x43f8d2;if(('('==_0x251a2c['name']||_0x251a2c['type']['isError'])&&(_0x251a2c=_0x251a2c['parent']||_0x251a2c),'ArgList'!=_0x251a2c['name'])return!0x1;let _0x21496b=null===(_0x43f8d2=_0x251a2c['parent'])||void 0x0===_0x43f8d2?void 0x0:_0x43f8d2['firstChild'];return'Callee'==(null==_0x21496b?void 0x0:_0x21496b['name'])&&'var'==_0x48c47b['sliceString'](_0x21496b['from'],_0x21496b['to']);}(_0x9b9789,_0x36577d['doc']))return{'from':_0x2b61a8(_0x9b9789)||_0x27abea?_0x9b9789['from']:_0x303c2f,'options':YM(_0x36577d['doc'],zM(_0x9b9789),_0x2b61a8),'validFor':XM};if('TagName'==_0x9b9789['name']){for(let {parent:_0x484823}=_0x9b9789;_0x484823;_0x484823=_0x484823['parent'])if('Block'==_0x484823['name'])return{'from':_0x9b9789['from'],'options':BM(),'validFor':ZM};return{'from':_0x9b9789['from'],'options':HM,'validFor':ZM};}if('AtKeyword'==_0x9b9789['name'])return{'from':_0x9b9789['from'],'options':GM,'validFor':ZM};if(!_0x58b460['explicit'])return null;let _0x3f02df=_0x9b9789['resolve'](_0x303c2f),_0x1ba478=_0x3f02df['childBefore'](_0x303c2f);return _0x1ba478&&':'==_0x1ba478['name']&&'PseudoClassSelector'==_0x3f02df['name']?{'from':_0x303c2f,'options':jM,'validFor':ZM}:_0x1ba478&&':'==_0x1ba478['name']&&'Declaration'==_0x3f02df['name']||'ArgList'==_0x3f02df['name']?{'from':_0x303c2f,'options':FM,'validFor':ZM}:'Block'==_0x3f02df['name']||'Styles'==_0x3f02df['name']?{'from':_0x303c2f,'options':BM(),'validFor':ZM}:null;},JM=KM(_0x4736c1=>'VariableName'==_0x4736c1['name']),tN=LRLanguage['define']({'name':'css','parser':VM['configure']({'props':[ZC['add']({'Declaration':JC()}),ik['add']({'Block\x20KeyframeList':sk})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),eN=[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],iN=new ContextTracker({'start':!0x1,'shift':(_0x195f87,_0x4ef3d2)=>0x5==_0x4ef3d2||0x6==_0x4ef3d2||0x140==_0x4ef3d2?_0x195f87:0x141==_0x4ef3d2,'strict':!0x1}),sN=new ExternalTokenizer((_0xe9e3df,_0x8d6ec1)=>{let {next:_0x10be92}=_0xe9e3df;(0x7d==_0x10be92||-0x1==_0x10be92||_0x8d6ec1['context'])&&_0xe9e3df['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),nN=new ExternalTokenizer((_0x147972,_0x1f6d43)=>{let _0x10c6e0,{next:_0xba7884}=_0x147972;eN['indexOf'](_0xba7884)>-0x1||(0x2f!=_0xba7884||0x2f!=(_0x10c6e0=_0x147972['peek'](0x1))&&0x2a!=_0x10c6e0)&&(0x7d==_0xba7884||0x3b==_0xba7884||-0x1==_0xba7884||_0x1f6d43['context']||_0x147972['acceptToken'](0x13c));},{'contextual':!0x0}),rN=new ExternalTokenizer((_0x4f7f42,_0x1ca0ce)=>{0x5b!=_0x4f7f42['next']||_0x1ca0ce['context']||_0x4f7f42['acceptToken'](0x13d);},{'contextual':!0x0}),oN=new ExternalTokenizer((_0x4e54ae,_0x4e3b7a)=>{let {next:_0x1370f4}=_0x4e54ae;if(0x2b==_0x1370f4||0x2d==_0x1370f4){if(_0x4e54ae['advance'](),_0x1370f4==_0x4e54ae['next']){_0x4e54ae['advance']();let _0x1d4f06=!_0x4e3b7a['context']&&_0x4e3b7a['canShift'](0x1);_0x4e54ae['acceptToken'](_0x1d4f06?0x1:0x2);}}else 0x3f==_0x1370f4&&0x2e==_0x4e54ae['peek'](0x1)&&(_0x4e54ae['advance'](),_0x4e54ae['advance'](),(_0x4e54ae['next']<0x30||_0x4e54ae['next']>0x39)&&_0x4e54ae['acceptToken'](0x3));},{'contextual':!0x0});function aN(_0x479383,_0x48f560){return _0x479383>=0x41&&_0x479383<=0x5a||_0x479383>=0x61&&_0x479383<=0x7a||0x5f==_0x479383||_0x479383>=0xc0||!_0x48f560&&_0x479383>=0x30&&_0x479383<=0x39;}const cN=new ExternalTokenizer((_0x5cb543,_0x368b3b)=>{if(0x3c!=_0x5cb543['next']||!_0x368b3b['dialectEnabled'](0x0))return;if(_0x5cb543['advance'](),0x2f==_0x5cb543['next'])return;let _0x112873=0x0;for(;eN['indexOf'](_0x5cb543['next'])>-0x1;)_0x5cb543['advance'](),_0x112873++;if(aN(_0x5cb543['next'],!0x0)){for(_0x5cb543['advance'](),_0x112873++;aN(_0x5cb543['next'],!0x1);)_0x5cb543['advance'](),_0x112873++;for(;eN['indexOf'](_0x5cb543['next'])>-0x1;)_0x5cb543['advance'](),_0x112873++;if(0x2c==_0x5cb543['next'])return;for(let _0x21c3fd=0x0;;_0x21c3fd++){if(0x7==_0x21c3fd){if(!aN(_0x5cb543['next'],!0x0))return;break;}if(_0x5cb543['next']!='extends'['charCodeAt'](_0x21c3fd))break;_0x5cb543['advance'](),_0x112873++;}}_0x5cb543['acceptToken'](0x4,-_0x112873);}),lN=hC({'get\x20set\x20async\x20static':CC['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':CC['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':CC['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':CC['definitionKeyword'],'import\x20export\x20from':CC['moduleKeyword'],'with\x20debugger\x20new':CC['keyword'],'TemplateString':CC['special'](CC['string']),'super':CC['atom'],'BooleanLiteral':CC['bool'],'this':CC['self'],'null':CC['null'],'Star':CC['modifier'],'VariableName':CC['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':CC['function'](CC['variableName']),'VariableDefinition':CC['definition'](CC['variableName']),'Label':CC['labelName'],'PropertyName':CC['propertyName'],'PrivatePropertyName':CC['special'](CC['propertyName']),'CallExpression/MemberExpression/PropertyName':CC['function'](CC['propertyName']),'FunctionDeclaration/VariableDefinition':CC['function'](CC['definition'](CC['variableName'])),'ClassDeclaration/VariableDefinition':CC['definition'](CC['className']),'NewExpression/VariableName':CC['className'],'PropertyDefinition':CC['definition'](CC['propertyName']),'PrivatePropertyDefinition':CC['definition'](CC['special'](CC['propertyName'])),'UpdateOp':CC['updateOperator'],'LineComment\x20Hashbang':CC['lineComment'],'BlockComment':CC['blockComment'],'Number':CC['number'],'String':CC['string'],'Escape':CC['escape'],'ArithOp':CC['arithmeticOperator'],'LogicOp':CC['logicOperator'],'BitOp':CC['bitwiseOperator'],'CompareOp':CC['compareOperator'],'RegExp':CC['regexp'],'Equals':CC['definitionOperator'],'Arrow':CC['function'](CC['punctuation']),':\x20Spread':CC['punctuation'],'(\x20)':CC['paren'],'[\x20]':CC['squareBracket'],'{\x20}':CC['brace'],'InterpolationStart\x20InterpolationEnd':CC['special'](CC['brace']),'.':CC['derefOperator'],',\x20;':CC['separator'],'@':CC['meta'],'TypeName':CC['typeName'],'TypeDefinition':CC['definition'](CC['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':CC['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':CC['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':CC['operatorKeyword'],'JSXAttributeValue':CC['attributeValue'],'JSXText':CC['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':CC['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':CC['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':CC['attributeName'],'JSXBuiltin/JSXIdentifier':CC['standard'](CC['tagName'])}),hN={'__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},uN={'__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},dN={'__proto__':null,'<':0xc1},fN=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':iN,'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':[lN],'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':[nN,rN,oN,cN,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,sN,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':_0x29f021=>hN[_0x29f021]||-0x1},{'term':0x157,'get':_0x4fda49=>uN[_0x4fda49]||-0x1},{'term':0x5f,'get':_0x4e6ad4=>dN[_0x4e6ad4]||-0x1}],'tokenPrec':0x3b61}),mN=[pP('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),pP('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),pP('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),pP('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),pP('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),pP('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),pP('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),pP('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),pP('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),pP('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),pP('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],gN=mN['concat']([pP('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),pP('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),pP('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),pN=new NodeWeakMap(),ON=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function wN(_0x490f61){return(_0x47ad36,_0x4c47c1)=>{let _0x59a6ef=_0x47ad36['node']['getChild']('VariableDefinition');return _0x59a6ef&&_0x4c47c1(_0x59a6ef,_0x490f61),!0x0;};}const bN=['FunctionDeclaration'],yN={'FunctionDeclaration':wN('function'),'ClassDeclaration':wN('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':wN('constant'),'TypeAliasDeclaration':wN('type'),'NamespaceDeclaration':wN('namespace'),'VariableDefinition'(_0x557e29,_0x5a3353){_0x557e29['matchContext'](bN)||_0x5a3353(_0x557e29,'variable');},'TypeDefinition'(_0xf9e4f2,_0x5000ec){_0x5000ec(_0xf9e4f2,'type');},'__proto__':null};function vN(_0x44d9ab,_0x23b959){let _0x3421e9=pN['get'](_0x23b959);if(_0x3421e9)return _0x3421e9;let _0x121bdf=[],_0x3730e5=!0x0;function _0x1fa1bc(_0x5af336,_0x1965be){let _0x41d133=_0x44d9ab['sliceString'](_0x5af336['from'],_0x5af336['to']);_0x121bdf['push']({'label':_0x41d133,'type':_0x1965be});}return _0x23b959['cursor'](jI['IncludeAnonymous'])['iterate'](_0x2314de=>{if(_0x3730e5)_0x3730e5=!0x1;else{if(_0x2314de['name']){let _0x1624b3=yN[_0x2314de['name']];if(_0x1624b3&&_0x1624b3(_0x2314de,_0x1fa1bc)||ON['has'](_0x2314de['name']))return!0x1;}else{if(_0x2314de['to']-_0x2314de['from']>0x2000){for(let _0x18e918 of vN(_0x44d9ab,_0x2314de['node']))_0x121bdf['push'](_0x18e918);return!0x1;}}}}),pN['set'](_0x23b959,_0x121bdf),_0x121bdf;}const _N=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,EN=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function TN(_0x20133b){let _0x558bcb=NC(_0x20133b['state'])['resolveInner'](_0x20133b['pos'],-0x1);if(EN['indexOf'](_0x558bcb['name'])>-0x1)return null;let _0x417e5c='VariableName'==_0x558bcb['name']||_0x558bcb['to']-_0x558bcb['from']<0x14&&_N['test'](_0x20133b['state']['sliceDoc'](_0x558bcb['from'],_0x558bcb['to']));if(!_0x417e5c&&!_0x20133b['explicit'])return null;let _0x33cf0c=[];for(let _0x510ee1=_0x558bcb;_0x510ee1;_0x510ee1=_0x510ee1['parent'])ON['has'](_0x510ee1['name'])&&(_0x33cf0c=_0x33cf0c['concat'](vN(_0x20133b['state']['doc'],_0x510ee1)));return{'options':_0x33cf0c,'from':_0x417e5c?_0x558bcb['from']:_0x20133b['pos'],'validFor':_N};}const AN=LRLanguage['define']({'name':'javascript','parser':fN['configure']({'props':[ZC['add']({'IfStatement':JC({'except':/^\s*({|else\b)/}),'TryStatement':JC({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x2f5eb5=>_0x2f5eb5['baseIndent'],'SwitchBody':_0x4fe112=>{let _0x3e14f7=_0x4fe112['textAfter'],_0x411f84=/^\s*\}/['test'](_0x3e14f7),_0xfbf082=/^\s*(case|default)\b/['test'](_0x3e14f7);return _0x4fe112['baseIndent']+(_0x411f84?0x0:_0xfbf082?0x1:0x2)*_0x4fe112['unit'];},'Block':YC({'closing':'}'}),'ArrowFunction':_0x489a0d=>_0x489a0d['baseIndent']+_0x489a0d['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':JC({'except':/^\s*{/}),'JSXElement'(_0x26d242){let _0x10d45a=/^\s*<\//['test'](_0x26d242['textAfter']);return _0x26d242['lineIndent'](_0x26d242['node']['from'])+(_0x10d45a?0x0:_0x26d242['unit']);},'JSXEscape'(_0x15bce1){let _0x53001e=/\s*\}/['test'](_0x15bce1['textAfter']);return _0x15bce1['lineIndent'](_0x15bce1['node']['from'])+(_0x53001e?0x0:_0x15bce1['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x4bcfef=>_0x4bcfef['column'](_0x4bcfef['node']['from'])+_0x4bcfef['unit']}),ik['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':sk,'BlockComment':_0x3cce0f=>({'from':_0x3cce0f['from']+0x2,'to':_0x3cce0f['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),SN={'test':_0x3f31e8=>/^JSX/['test'](_0x3f31e8['name']),'facet':RC({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},IN=AN['configure']({'dialect':'ts'},'typescript'),CN=AN['configure']({'dialect':'jsx','props':[PC['add'](_0x91b8ad=>_0x91b8ad['isTop']?[SN]:void 0x0)]}),kN=AN['configure']({'dialect':'jsx\x20ts','props':[PC['add'](_0x3540d6=>_0x3540d6['isTop']?[SN]:void 0x0)]},'typescript');let xN=_0x1a1c2e=>({'label':_0x1a1c2e,'type':'keyword'});const RN='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'](xN),PN=RN['concat'](['declare','implements','private','protected','public']['map'](xN));function MN(_0x52b885={}){let _0xb5b107=_0x52b885['jsx']?_0x52b885['typescript']?kN:CN:_0x52b885['typescript']?IN:AN,_0x209442=_0x52b885['typescript']?gN['concat'](PN):mN['concat'](RN);return new LanguageSupport(_0xb5b107,[AN['data']['of']({'autocomplete':(_0x1231c7=EN,_0x4f8c35=CR(_0x209442),_0x508e9d=>{for(let _0x3f3d04=NC(_0x508e9d['state'])['resolveInner'](_0x508e9d['pos'],-0x1);_0x3f3d04;_0x3f3d04=_0x3f3d04['parent']){if(_0x1231c7['indexOf'](_0x3f3d04['name'])>-0x1)return null;if(_0x3f3d04['type']['isTop'])break;}return _0x4f8c35(_0x508e9d);})}),AN['data']['of']({'autocomplete':TN}),_0x52b885['jsx']?$N:[]]);var _0x1231c7,_0x4f8c35;}function NN(_0x768b60,_0x329ed4,_0xefba2a=_0x768b60['length']){for(let _0x435b03=null==_0x329ed4?void 0x0:_0x329ed4['firstChild'];_0x435b03;_0x435b03=_0x435b03['nextSibling'])if('JSXIdentifier'==_0x435b03['name']||'JSXBuiltin'==_0x435b03['name']||'JSXNamespacedName'==_0x435b03['name']||'JSXMemberExpression'==_0x435b03['name'])return _0x768b60['sliceString'](_0x435b03['from'],Math['min'](_0x435b03['to'],_0xefba2a));return'';}const LN='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),$N=EditorView['inputHandler']['of']((_0x4ed4cb,_0x6b8fc,_0x53069c,_0x18a426,_0x1066bb)=>{if((LN?_0x4ed4cb['composing']:_0x4ed4cb['compositionStarted'])||_0x4ed4cb['state']['readOnly']||_0x6b8fc!=_0x53069c||'>'!=_0x18a426&&'/'!=_0x18a426||!AN['isActiveAt'](_0x4ed4cb['state'],_0x6b8fc,-0x1))return!0x1;let _0xf58ac0=_0x1066bb(),{state:_0x400d1}=_0xf58ac0,_0x3a8556=_0x400d1['changeByRange'](_0x428f98=>{var _0x1f5d73;let _0x384566,{head:_0x25ee00}=_0x428f98,_0x3650bf=NC(_0x400d1)['resolveInner'](_0x25ee00-0x1,-0x1);if('JSXStartTag'==_0x3650bf['name']&&(_0x3650bf=_0x3650bf['parent']),_0x400d1['doc']['sliceString'](_0x25ee00-0x1,_0x25ee00)!=_0x18a426||'JSXAttributeValue'==_0x3650bf['name']&&_0x3650bf['to']>_0x25ee00);else{if('>'==_0x18a426&&'JSXFragmentTag'==_0x3650bf['name'])return{'range':_0x428f98,'changes':{'from':_0x25ee00,'insert':'</>'}};if('/'==_0x18a426&&'JSXStartCloseTag'==_0x3650bf['name']){let _0x41e82e=_0x3650bf['parent'],_0x22aadd=_0x41e82e['parent'];if(_0x22aadd&&_0x41e82e['from']==_0x25ee00-0x2&&((_0x384566=NN(_0x400d1['doc'],_0x22aadd['firstChild'],_0x25ee00))||'JSXFragmentTag'==(null===(_0x1f5d73=_0x22aadd['firstChild'])||void 0x0===_0x1f5d73?void 0x0:_0x1f5d73['name']))){let _0x565442=_0x384566+'>';return{'range':EditorSelection['cursor'](_0x25ee00+_0x565442['length'],-0x1),'changes':{'from':_0x25ee00,'insert':_0x565442}};}}else{if('>'==_0x18a426){let _0x1f3857=function(_0x10a0e1){for(;;){if('JSXOpenTag'==_0x10a0e1['name']||'JSXSelfClosingTag'==_0x10a0e1['name']||'JSXFragmentTag'==_0x10a0e1['name'])return _0x10a0e1;if('JSXEscape'==_0x10a0e1['name']||!_0x10a0e1['parent'])return null;_0x10a0e1=_0x10a0e1['parent'];}}(_0x3650bf);if(_0x1f3857&&'JSXOpenTag'==_0x1f3857['name']&&!/^\/?>|^<\//['test'](_0x400d1['doc']['sliceString'](_0x25ee00,_0x25ee00+0x2))&&(_0x384566=NN(_0x400d1['doc'],_0x1f3857,_0x25ee00)))return{'range':_0x428f98,'changes':{'from':_0x25ee00,'insert':'</'+_0x384566+'>'}};}}}return{'range':_0x428f98};});return!_0x3a8556['changes']['empty']&&(_0x4ed4cb['dispatch']([_0xf58ac0,_0x400d1['update'](_0x3a8556,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),DN=['_blank','_self','_top','_parent'],QN=['ascii','utf-8','utf-16','latin1','latin1'],VN=['get','post','put','delete'],UN=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],BN=['true','false'],jN={},FN={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':DN,'hreflang':null}},'abbr':jN,'address':jN,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':jN,'aside':jN,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':jN,'base':{'attrs':{'href':null,'target':DN}},'bdi':jN,'bdo':jN,'blockquote':{'attrs':{'cite':null}},'body':jN,'br':jN,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':UN,'formmethod':VN,'formnovalidate':['novalidate'],'formtarget':DN,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':jN,'center':jN,'cite':jN,'code':jN,'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':jN,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':jN,'div':jN,'dl':jN,'dt':jN,'em':jN,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':jN,'figure':jN,'footer':jN,'form':{'attrs':{'action':null,'name':null,'accept-charset':QN,'autocomplete':['on','off'],'enctype':UN,'method':VN,'novalidate':['novalidate'],'target':DN}},'h1':jN,'h2':jN,'h3':jN,'h4':jN,'h5':jN,'h6':jN,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':jN,'hgroup':jN,'hr':jN,'html':{'attrs':{'manifest':null}},'i':jN,'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':UN,'formmethod':VN,'formnovalidate':['novalidate'],'formtarget':DN,'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':jN,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':jN,'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':jN,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':QN,'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':jN,'noscript':jN,'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':jN,'param':{'attrs':{'name':null,'value':null}},'pre':jN,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':jN,'rt':jN,'ruby':jN,'samp':jN,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':QN}},'section':jN,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':jN,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':jN,'strong':jN,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':jN,'summary':jN,'sup':jN,'table':jN,'tbody':jN,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':jN,'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':jN,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':jN,'time':{'attrs':{'datetime':null}},'title':jN,'tr':jN,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':jN,'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':jN},HN={'accesskey':null,'class':null,'contenteditable':BN,'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':BN,'autocorrect':BN,'autocapitalize':BN,'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':BN,'aria-autocomplete':['inline','list','both','none'],'aria-busy':BN,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':BN,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':BN,'aria-hidden':BN,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':BN,'aria-multiselectable':BN,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':BN,'aria-relevant':null,'aria-required':BN,'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},GN='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'](_0x14d697=>'on'+_0x14d697);for(let e of GN)HN[e]=null;class Schema{constructor(_0x481f52,_0x25bc76){this['tags']={...FN,..._0x481f52},this['globalAttrs']={...HN,..._0x25bc76},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function ZN(_0x2423e7,_0x1bc009,_0x4bb182=_0x2423e7['length']){if(!_0x1bc009)return'';let _0x3be3b=_0x1bc009['firstChild'],_0x119688=_0x3be3b&&_0x3be3b['getChild']('TagName');return _0x119688?_0x2423e7['sliceString'](_0x119688['from'],Math['min'](_0x119688['to'],_0x4bb182)):'';}function XN(_0xb181c0,_0x3c90d9=!0x1){for(;_0xb181c0;_0xb181c0=_0xb181c0['parent'])if('Element'==_0xb181c0['name']){if(!_0x3c90d9)return _0xb181c0;_0x3c90d9=!0x1;}return null;}function qN(_0x4e5abb,_0x3be94b,_0x28f105){let _0x5dc849=_0x28f105['tags'][ZN(_0x4e5abb,XN(_0x3be94b))];return(null==_0x5dc849?void 0x0:_0x5dc849['children'])||_0x28f105['allTags'];}function WN(_0x3834be,_0x343fa9){let _0x3d87f7=[];for(let _0x13fb85=XN(_0x343fa9);_0x13fb85&&!_0x13fb85['type']['isTop'];_0x13fb85=XN(_0x13fb85['parent'])){let _0x10262c=ZN(_0x3834be,_0x13fb85);if(_0x10262c&&'CloseTag'==_0x13fb85['lastChild']['name'])break;_0x10262c&&_0x3d87f7['indexOf'](_0x10262c)<0x0&&('EndTag'==_0x343fa9['name']||_0x343fa9['from']>=_0x13fb85['firstChild']['to'])&&_0x3d87f7['push'](_0x10262c);}return _0x3d87f7;}Schema['default']=new Schema();const zN=/^[:\-\.\w\u00b7-\uffff]*$/;function YN(_0x333ed1,_0x4b9eb5,_0x2db906,_0x1dbe2d,_0x1dbfe9){let _0x3588cf=/\s*>/['test'](_0x333ed1['sliceDoc'](_0x1dbfe9,_0x1dbfe9+0x5))?'':'>',_0x13fd9f=XN(_0x2db906,'StartTag'==_0x2db906['name']||'TagName'==_0x2db906['name']);return{'from':_0x1dbe2d,'to':_0x1dbfe9,'options':qN(_0x333ed1['doc'],_0x13fd9f,_0x4b9eb5)['map'](_0x3683f1=>({'label':_0x3683f1,'type':'type'}))['concat'](WN(_0x333ed1['doc'],_0x2db906)['map']((_0x58775a,_0x20e34a)=>({'label':'/'+_0x58775a,'apply':'/'+_0x58775a+_0x3588cf,'type':'type','boost':0x63-_0x20e34a}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function KN(_0x55c107,_0x47cbd5,_0x328532,_0x46146a){let _0x3b9e1a=/\s*>/['test'](_0x55c107['sliceDoc'](_0x46146a,_0x46146a+0x5))?'':'>';return{'from':_0x328532,'to':_0x46146a,'options':WN(_0x55c107['doc'],_0x47cbd5)['map']((_0x5b9a0d,_0x99c498)=>({'label':_0x5b9a0d,'apply':_0x5b9a0d+_0x3b9e1a,'type':'type','boost':0x63-_0x99c498})),'validFor':zN};}function JN(_0x4eeac6,_0x3e11d){let {state:_0x442070,pos:_0x481aec}=_0x3e11d,_0x56aabf=NC(_0x442070)['resolveInner'](_0x481aec,-0x1),_0x2a6d30=_0x56aabf['resolve'](_0x481aec);for(let _0x1fe076,_0x2e06d0=_0x481aec;_0x2a6d30==_0x56aabf&&(_0x1fe076=_0x56aabf['childBefore'](_0x2e06d0));){let _0x58a210=_0x1fe076['lastChild'];if(!_0x58a210||!_0x58a210['type']['isError']||_0x58a210['from']<_0x58a210['to'])break;_0x2a6d30=_0x56aabf=_0x1fe076,_0x2e06d0=_0x58a210['from'];}return'TagName'==_0x56aabf['name']?_0x56aabf['parent']&&/CloseTag$/['test'](_0x56aabf['parent']['name'])?KN(_0x442070,_0x56aabf,_0x56aabf['from'],_0x481aec):YN(_0x442070,_0x4eeac6,_0x56aabf,_0x56aabf['from'],_0x481aec):'StartTag'==_0x56aabf['name']||'IncompleteTag'==_0x56aabf['name']?YN(_0x442070,_0x4eeac6,_0x56aabf,_0x481aec,_0x481aec):'StartCloseTag'==_0x56aabf['name']||'IncompleteCloseTag'==_0x56aabf['name']?KN(_0x442070,_0x56aabf,_0x481aec,_0x481aec):'OpenTag'==_0x56aabf['name']||'SelfClosingTag'==_0x56aabf['name']||'AttributeName'==_0x56aabf['name']?function(_0x3434bf,_0xa0f93b,_0x2a4b04,_0xd6b794,_0x350fed){let _0xd46d89=XN(_0x2a4b04),_0x36b30e=_0xd46d89?_0xa0f93b['tags'][ZN(_0x3434bf['doc'],_0xd46d89)]:null,_0x37610e=_0x36b30e&&_0x36b30e['attrs']?Object['keys'](_0x36b30e['attrs']):[];return{'from':_0xd6b794,'to':_0x350fed,'options':(_0x36b30e&&!0x1===_0x36b30e['globalAttrs']?_0x37610e:_0x37610e['length']?_0x37610e['concat'](_0xa0f93b['globalAttrNames']):_0xa0f93b['globalAttrNames'])['map'](_0x2976ca=>({'label':_0x2976ca,'type':'property'})),'validFor':zN};}(_0x442070,_0x4eeac6,_0x56aabf,'AttributeName'==_0x56aabf['name']?_0x56aabf['from']:_0x481aec,_0x481aec):'Is'==_0x56aabf['name']||'AttributeValue'==_0x56aabf['name']||'UnquotedAttributeValue'==_0x56aabf['name']?function(_0x4c3983,_0x49a009,_0x1e82c1,_0x5b70be,_0x370380){var _0x22c6f0;let _0x4f7dd7,_0x16de42=null===(_0x22c6f0=_0x1e82c1['parent'])||void 0x0===_0x22c6f0?void 0x0:_0x22c6f0['getChild']('AttributeName'),_0x5020b2=[];if(_0x16de42){let _0x2100a3=_0x4c3983['sliceDoc'](_0x16de42['from'],_0x16de42['to']),_0x280440=_0x49a009['globalAttrs'][_0x2100a3];if(!_0x280440){let _0x29690b=XN(_0x1e82c1),_0x4fadb7=_0x29690b?_0x49a009['tags'][ZN(_0x4c3983['doc'],_0x29690b)]:null;_0x280440=(null==_0x4fadb7?void 0x0:_0x4fadb7['attrs'])&&_0x4fadb7['attrs'][_0x2100a3];}if(_0x280440){let _0x2a2fb4=_0x4c3983['sliceDoc'](_0x5b70be,_0x370380)['toLowerCase'](),_0x417bad='\x22',_0x21226f='\x22';/^['"]/['test'](_0x2a2fb4)?(_0x4f7dd7='\x22'==_0x2a2fb4[0x0]?/^[^"]*$/:/^[^']*$/,_0x417bad='',_0x21226f=_0x4c3983['sliceDoc'](_0x370380,_0x370380+0x1)==_0x2a2fb4[0x0]?'':_0x2a2fb4[0x0],_0x2a2fb4=_0x2a2fb4['slice'](0x1),_0x5b70be++):_0x4f7dd7=/^[^\s<>='"]*$/;for(let _0x2dceb7 of _0x280440)_0x5020b2['push']({'label':_0x2dceb7,'apply':_0x417bad+_0x2dceb7+_0x21226f,'type':'constant'});}}return{'from':_0x5b70be,'to':_0x370380,'options':_0x5020b2,'validFor':_0x4f7dd7};}(_0x442070,_0x4eeac6,_0x56aabf,'Is'==_0x56aabf['name']?_0x481aec:_0x56aabf['from'],_0x481aec):!_0x3e11d['explicit']||'Element'!=_0x2a6d30['name']&&'Text'!=_0x2a6d30['name']&&'Document'!=_0x2a6d30['name']?null:function(_0x1e84c9,_0xec932e,_0x52e524,_0x4c2dc4){let _0x10d965=[],_0x155296=0x0;for(let _0x4b6059 of qN(_0x1e84c9['doc'],_0x52e524,_0xec932e))_0x10d965['push']({'label':'<'+_0x4b6059,'type':'type'});for(let _0x53e9ae of WN(_0x1e84c9['doc'],_0x52e524))_0x10d965['push']({'label':'</'+_0x53e9ae+'>','type':'type','boost':0x63-_0x155296++});return{'from':_0x4c2dc4,'to':_0x4c2dc4,'options':_0x10d965,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x442070,_0x4eeac6,_0x56aabf,_0x481aec);}function tL(_0xb0b1d0){let {extraTags:_0x5169ee,extraGlobalAttributes:_0x37a511}=_0xb0b1d0,_0x50e313=_0x37a511||_0x5169ee?new Schema(_0x5169ee,_0x37a511):Schema['default'];return _0x53f071=>JN(_0x50e313,_0x53f071);}const eL=AN['parser']['configure']({'top':'SingleExpression'}),iL=[{'tag':'script','attrs':_0x1b1b0a=>'text/typescript'==_0x1b1b0a['type']||'ts'==_0x1b1b0a['lang'],'parser':IN['parser']},{'tag':'script','attrs':_0xf91f81=>'text/babel'==_0xf91f81['type']||'text/jsx'==_0xf91f81['type'],'parser':CN['parser']},{'tag':'script','attrs':_0x4aaf97=>'text/typescript-jsx'==_0x4aaf97['type'],'parser':kN['parser']},{'tag':'script','attrs':_0x22a7e1=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x22a7e1['type']),'parser':eL},{'tag':'script','attrs':_0x4b424b=>!_0x4b424b['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x4b424b['type']),'parser':AN['parser']},{'tag':'style','attrs':_0x44d355=>(!_0x44d355['lang']||'css'==_0x44d355['lang'])&&(!_0x44d355['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x44d355['type'])),'parser':tN['parser']}],sL=[{'name':'style','parser':tN['parser']['configure']({'top':'Styles'})}]['concat'](GN['map'](_0xcc39b2=>({'name':_0xcc39b2,'parser':AN['parser']}))),nL=LRLanguage['define']({'name':'html','parser':bM['configure']({'props':[ZC['add']({'Element'(_0x4ce0e2){let _0x2caa56=/^(\s*)(<\/)?/['exec'](_0x4ce0e2['textAfter']);return _0x4ce0e2['node']['to']<=_0x4ce0e2['pos']+_0x2caa56[0x0]['length']?_0x4ce0e2['continue']():_0x4ce0e2['lineIndent'](_0x4ce0e2['node']['from'])+(_0x2caa56[0x2]?0x0:_0x4ce0e2['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x30e8f8=>_0x30e8f8['column'](_0x30e8f8['node']['from'])+_0x30e8f8['unit'],'Document'(_0x10d78d){if(_0x10d78d['pos']+/\s*/['exec'](_0x10d78d['textAfter'])[0x0]['length']<_0x10d78d['node']['to'])return _0x10d78d['continue']();let _0x35dc37,_0x337381=null;for(let _0x35ebb9=_0x10d78d['node'];;){let _0x4b6571=_0x35ebb9['lastChild'];if(!_0x4b6571||'Element'!=_0x4b6571['name']||_0x4b6571['to']!=_0x35ebb9['to'])break;_0x337381=_0x35ebb9=_0x4b6571;}return _0x337381&&(!(_0x35dc37=_0x337381['lastChild'])||'CloseTag'!=_0x35dc37['name']&&'SelfClosingTag'!=_0x35dc37['name'])?_0x10d78d['lineIndent'](_0x337381['from'])+_0x10d78d['unit']:null;}}),ik['add']({'Element'(_0x2404d8){let _0x346c84=_0x2404d8['firstChild'],_0x374b25=_0x2404d8['lastChild'];return _0x346c84&&'OpenTag'==_0x346c84['name']?{'from':_0x346c84['to'],'to':'CloseTag'==_0x374b25['name']?_0x374b25['from']:_0x2404d8['to']}:null;}}),Uk['add']({'OpenTag\x20CloseTag':_0x4774c6=>_0x4774c6['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),rL=nL['configure']({'wrap':EM(iL,sL)});function oL(_0x2de76f={}){let _0x4f05e6,_0x20529c='';!0x1===_0x2de76f['matchClosingTags']&&(_0x20529c='noMatch'),!0x0===_0x2de76f['selfClosingTags']&&(_0x20529c=(_0x20529c?_0x20529c+'\x20':'')+'selfClosing'),(_0x2de76f['nestedLanguages']&&_0x2de76f['nestedLanguages']['length']||_0x2de76f['nestedAttributes']&&_0x2de76f['nestedAttributes']['length'])&&(_0x4f05e6=EM((_0x2de76f['nestedLanguages']||[])['concat'](iL),(_0x2de76f['nestedAttributes']||[])['concat'](sL)));let _0x3bf49c=_0x4f05e6?nL['configure']({'wrap':_0x4f05e6,'dialect':_0x20529c}):_0x20529c?rL['configure']({'dialect':_0x20529c}):rL;return new LanguageSupport(_0x3bf49c,[rL['data']['of']({'autocomplete':tL(_0x2de76f)}),!0x1!==_0x2de76f['autoCloseTags']?cL:[],MN()['support'],new LanguageSupport(tN,tN['data']['of']({'autocomplete':JM}))['support']]);}const aL=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),cL=EditorView['inputHandler']['of']((_0x22df28,_0x2ce15b,_0x538ec2,_0x840bcc,_0x311aa8)=>{if(_0x22df28['composing']||_0x22df28['state']['readOnly']||_0x2ce15b!=_0x538ec2||'>'!=_0x840bcc&&'/'!=_0x840bcc||!rL['isActiveAt'](_0x22df28['state'],_0x2ce15b,-0x1))return!0x1;let _0x57d73d=_0x311aa8(),{state:_0x5c295}=_0x57d73d,_0x5d0763=_0x5c295['changeByRange'](_0x48cb3e=>{var _0x1419a2,_0x1fb550,_0x441dc8;let _0x13e1c1,_0x44912f=_0x5c295['doc']['sliceString'](_0x48cb3e['from']-0x1,_0x48cb3e['to'])==_0x840bcc,{head:_0x1e4639}=_0x48cb3e,_0x5455de=NC(_0x5c295)['resolveInner'](_0x1e4639,-0x1);if(_0x44912f&&'>'==_0x840bcc&&'EndTag'==_0x5455de['name']){let _0x104aab=_0x5455de['parent'];if('CloseTag'!=(null===(_0x1fb550=null===(_0x1419a2=_0x104aab['parent'])||void 0x0===_0x1419a2?void 0x0:_0x1419a2['lastChild'])||void 0x0===_0x1fb550?void 0x0:_0x1fb550['name'])&&(_0x13e1c1=ZN(_0x5c295['doc'],_0x104aab['parent'],_0x1e4639))&&!aL['has'](_0x13e1c1))return{'range':_0x48cb3e,'changes':{'from':_0x1e4639,'to':_0x1e4639+('>'===_0x5c295['doc']['sliceString'](_0x1e4639,_0x1e4639+0x1)?0x1:0x0),'insert':'</'+_0x13e1c1+'>'}};}else{if(_0x44912f&&'/'==_0x840bcc&&'IncompleteCloseTag'==_0x5455de['name']){let _0xa0ceea=_0x5455de['parent'];if(_0x5455de['from']==_0x1e4639-0x2&&'CloseTag'!=(null===(_0x441dc8=_0xa0ceea['lastChild'])||void 0x0===_0x441dc8?void 0x0:_0x441dc8['name'])&&(_0x13e1c1=ZN(_0x5c295['doc'],_0xa0ceea,_0x1e4639))&&!aL['has'](_0x13e1c1)){let _0x5445fc=_0x1e4639+('>'===_0x5c295['doc']['sliceString'](_0x1e4639,_0x1e4639+0x1)?0x1:0x0),_0x2213f3=_0x13e1c1+'>';return{'range':EditorSelection['cursor'](_0x1e4639+_0x2213f3['length'],-0x1),'changes':{'from':_0x1e4639,'to':_0x5445fc,'insert':_0x2213f3}};}}}return{'range':_0x48cb3e};});return!_0x5d0763['changes']['empty']&&(_0x22df28['dispatch']([_0x57d73d,_0x5c295['update'](_0x5d0763,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x2879d4,_0xcc9be0,_0x2c09ae,_0x49c62e,_0x55578a){return new CompositeBlock(_0x2879d4,_0xcc9be0,_0x2c09ae,_0x49c62e+(_0x49c62e<<0x8)+_0x2879d4+(_0xcc9be0<<0x4)|0x0,_0x55578a,[],[]);}constructor(_0x24dacd,_0x356e8f,_0x2407b4,_0x11cab4,_0x176131,_0x3a8152,_0xd6db27){this['type']=_0x24dacd,this['value']=_0x356e8f,this['from']=_0x2407b4,this['hash']=_0x11cab4,this['end']=_0x176131,this['children']=_0x3a8152,this['positions']=_0xd6db27,this['hashProp']=[[NodeProp['contextHash'],_0x11cab4]];}['addChild'](_0x586644,_0x36be1f){_0x586644['prop'](NodeProp['contextHash'])!=this['hash']&&(_0x586644=new Tree(_0x586644['type'],_0x586644['children'],_0x586644['positions'],_0x586644['length'],this['hashProp'])),this['children']['push'](_0x586644),this['positions']['push'](_0x36be1f);}['toTree'](_0x16c1d7,_0xa15e5d=this['end']){let _0x2f05eb=this['children']['length']-0x1;return _0x2f05eb>=0x0&&(_0xa15e5d=Math['max'](_0xa15e5d,this['positions'][_0x2f05eb]+this['children'][_0x2f05eb]['length']+this['from'])),new Tree(_0x16c1d7['types'][this['type']],this['children'],this['positions'],_0xa15e5d-this['from'])['balance']({'makeTree':(_0xe58b79,_0x374088,_0x1f6e3f)=>new Tree(NodeType['none'],_0xe58b79,_0x374088,_0x1f6e3f,this['hashProp'])});}}var lL;!function(_0x1beb26){_0x1beb26[_0x1beb26['Document']=0x1]='Document',_0x1beb26[_0x1beb26['CodeBlock']=0x2]='CodeBlock',_0x1beb26[_0x1beb26['FencedCode']=0x3]='FencedCode',_0x1beb26[_0x1beb26['Blockquote']=0x4]='Blockquote',_0x1beb26[_0x1beb26['HorizontalRule']=0x5]='HorizontalRule',_0x1beb26[_0x1beb26['BulletList']=0x6]='BulletList',_0x1beb26[_0x1beb26['OrderedList']=0x7]='OrderedList',_0x1beb26[_0x1beb26['ListItem']=0x8]='ListItem',_0x1beb26[_0x1beb26['ATXHeading1']=0x9]='ATXHeading1',_0x1beb26[_0x1beb26['ATXHeading2']=0xa]='ATXHeading2',_0x1beb26[_0x1beb26['ATXHeading3']=0xb]='ATXHeading3',_0x1beb26[_0x1beb26['ATXHeading4']=0xc]='ATXHeading4',_0x1beb26[_0x1beb26['ATXHeading5']=0xd]='ATXHeading5',_0x1beb26[_0x1beb26['ATXHeading6']=0xe]='ATXHeading6',_0x1beb26[_0x1beb26['SetextHeading1']=0xf]='SetextHeading1',_0x1beb26[_0x1beb26['SetextHeading2']=0x10]='SetextHeading2',_0x1beb26[_0x1beb26['HTMLBlock']=0x11]='HTMLBlock',_0x1beb26[_0x1beb26['LinkReference']=0x12]='LinkReference',_0x1beb26[_0x1beb26['Paragraph']=0x13]='Paragraph',_0x1beb26[_0x1beb26['CommentBlock']=0x14]='CommentBlock',_0x1beb26[_0x1beb26['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x1beb26[_0x1beb26['Escape']=0x16]='Escape',_0x1beb26[_0x1beb26['Entity']=0x17]='Entity',_0x1beb26[_0x1beb26['HardBreak']=0x18]='HardBreak',_0x1beb26[_0x1beb26['Emphasis']=0x19]='Emphasis',_0x1beb26[_0x1beb26['StrongEmphasis']=0x1a]='StrongEmphasis',_0x1beb26[_0x1beb26['Link']=0x1b]='Link',_0x1beb26[_0x1beb26['Image']=0x1c]='Image',_0x1beb26[_0x1beb26['InlineCode']=0x1d]='InlineCode',_0x1beb26[_0x1beb26['HTMLTag']=0x1e]='HTMLTag',_0x1beb26[_0x1beb26['Comment']=0x1f]='Comment',_0x1beb26[_0x1beb26['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x1beb26[_0x1beb26['Autolink']=0x21]='Autolink',_0x1beb26[_0x1beb26['HeaderMark']=0x22]='HeaderMark',_0x1beb26[_0x1beb26['QuoteMark']=0x23]='QuoteMark',_0x1beb26[_0x1beb26['ListMark']=0x24]='ListMark',_0x1beb26[_0x1beb26['LinkMark']=0x25]='LinkMark',_0x1beb26[_0x1beb26['EmphasisMark']=0x26]='EmphasisMark',_0x1beb26[_0x1beb26['CodeMark']=0x27]='CodeMark',_0x1beb26[_0x1beb26['CodeText']=0x28]='CodeText',_0x1beb26[_0x1beb26['CodeInfo']=0x29]='CodeInfo',_0x1beb26[_0x1beb26['LinkTitle']=0x2a]='LinkTitle',_0x1beb26[_0x1beb26['LinkLabel']=0x2b]='LinkLabel',_0x1beb26[_0x1beb26['URL']=0x2c]='URL';}(lL||(lL={}));class LeafBlock{constructor(_0x40d891,_0x6c7d8e){this['start']=_0x40d891,this['content']=_0x6c7d8e,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 _0x3925c4=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x3925c4,this['pos'],this['indent']),this['pos']=_0x3925c4,this['next']=_0x3925c4==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x3925c4);}['skipSpace'](_0x20ad8e){return fL(this['text'],_0x20ad8e);}['reset'](_0x5a78eb){for(this['text']=_0x5a78eb,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x2f9932){this['basePos']=_0x2f9932,this['baseIndent']=this['countIndent'](_0x2f9932,this['pos'],this['indent']);}['moveBaseColumn'](_0x17e58e){this['baseIndent']=_0x17e58e,this['basePos']=this['findColumn'](_0x17e58e);}['addMarker'](_0x10d6f0){this['markers']['push'](_0x10d6f0);}['countIndent'](_0x237f7d,_0x1e7734=0x0,_0x15ba58=0x0){for(let _0x2f2017=_0x1e7734;_0x2f2017<_0x237f7d;_0x2f2017++)_0x15ba58+=0x9==this['text']['charCodeAt'](_0x2f2017)?0x4-_0x15ba58%0x4:0x1;return _0x15ba58;}['findColumn'](_0x463c2d){let _0x4927e2=0x0;for(let _0x577b08=0x0;_0x4927e2<this['text']['length']&&_0x577b08<_0x463c2d;_0x4927e2++)_0x577b08+=0x9==this['text']['charCodeAt'](_0x4927e2)?0x4-_0x577b08%0x4:0x1;return _0x4927e2;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x10238e='';for(let _0x35b4b1=0x0;_0x35b4b1<this['basePos'];_0x35b4b1++)_0x10238e+='\x20';return _0x10238e+this['text']['slice'](this['basePos']);}}function hL(_0xf5ab87,_0x310d58,_0x2e6fcb){if(_0x2e6fcb['pos']==_0x2e6fcb['text']['length']||_0xf5ab87!=_0x310d58['block']&&_0x2e6fcb['indent']>=_0x310d58['stack'][_0x2e6fcb['depth']+0x1]['value']+_0x2e6fcb['baseIndent'])return!0x0;if(_0x2e6fcb['indent']>=_0x2e6fcb['baseIndent']+0x4)return!0x1;let _0x55294e=(_0xf5ab87['type']==lL['OrderedList']?yL:bL)(_0x2e6fcb,_0x310d58,!0x1);return _0x55294e>0x0&&(_0xf5ab87['type']!=lL['BulletList']||OL(_0x2e6fcb,_0x310d58,!0x1)<0x0)&&_0x2e6fcb['text']['charCodeAt'](_0x2e6fcb['pos']+_0x55294e-0x1)==_0xf5ab87['value'];}const uL={[lL['Blockquote']]:(_0x2117fd,_0x214eb4,_0x5a6d1f)=>0x3e==_0x5a6d1f['next']&&(_0x5a6d1f['markers']['push'](FL(lL['QuoteMark'],_0x214eb4['lineStart']+_0x5a6d1f['pos'],_0x214eb4['lineStart']+_0x5a6d1f['pos']+0x1)),_0x5a6d1f['moveBase'](_0x5a6d1f['pos']+(dL(_0x5a6d1f['text']['charCodeAt'](_0x5a6d1f['pos']+0x1))?0x2:0x1)),_0x2117fd['end']=_0x214eb4['lineStart']+_0x5a6d1f['text']['length'],!0x0),[lL['ListItem']]:(_0x4ec747,_0x3dea98,_0x34e55d)=>!(_0x34e55d['indent']<_0x34e55d['baseIndent']+_0x4ec747['value']&&_0x34e55d['next']>-0x1)&&(_0x34e55d['moveBaseColumn'](_0x34e55d['baseIndent']+_0x4ec747['value']),!0x0),[lL['OrderedList']]:hL,[lL['BulletList']]:hL,[lL['Document']]:()=>!0x0};function dL(_0x10199f){return 0x20==_0x10199f||0x9==_0x10199f||0xa==_0x10199f||0xd==_0x10199f;}function fL(_0x4ee0da,_0x2cd60a=0x0){for(;_0x2cd60a<_0x4ee0da['length']&&dL(_0x4ee0da['charCodeAt'](_0x2cd60a));)_0x2cd60a++;return _0x2cd60a;}function mL(_0x4b4c33,_0x227ec8,_0x197b57){for(;_0x227ec8>_0x197b57&&dL(_0x4b4c33['charCodeAt'](_0x227ec8-0x1));)_0x227ec8--;return _0x227ec8;}function gL(_0x5bf63b){if(0x60!=_0x5bf63b['next']&&0x7e!=_0x5bf63b['next'])return-0x1;let _0x3c7a0d=_0x5bf63b['pos']+0x1;for(;_0x3c7a0d<_0x5bf63b['text']['length']&&_0x5bf63b['text']['charCodeAt'](_0x3c7a0d)==_0x5bf63b['next'];)_0x3c7a0d++;if(_0x3c7a0d<_0x5bf63b['pos']+0x3)return-0x1;if(0x60==_0x5bf63b['next']){for(let _0x20979c=_0x3c7a0d;_0x20979c<_0x5bf63b['text']['length'];_0x20979c++)if(0x60==_0x5bf63b['text']['charCodeAt'](_0x20979c))return-0x1;}return _0x3c7a0d;}function pL(_0x5abb23){return 0x3e!=_0x5abb23['next']?-0x1:0x20==_0x5abb23['text']['charCodeAt'](_0x5abb23['pos']+0x1)?0x2:0x1;}function OL(_0x470377,_0x270fad,_0x23dd46){if(0x2a!=_0x470377['next']&&0x2d!=_0x470377['next']&&0x5f!=_0x470377['next'])return-0x1;let _0x4ba2a9=0x1;for(let _0x2682df=_0x470377['pos']+0x1;_0x2682df<_0x470377['text']['length'];_0x2682df++){let _0x1a3943=_0x470377['text']['charCodeAt'](_0x2682df);if(_0x1a3943==_0x470377['next'])_0x4ba2a9++;else{if(!dL(_0x1a3943))return-0x1;}}return _0x23dd46&&0x2d==_0x470377['next']&&_L(_0x470377)>-0x1&&_0x470377['depth']==_0x270fad['stack']['length']&&_0x270fad['parser']['leafBlockParsers']['indexOf'](PL['SetextHeading'])>-0x1||_0x4ba2a9<0x3?-0x1:0x1;}function wL(_0x40d557,_0x242c2f){for(let _0x13091c=_0x40d557['stack']['length']-0x1;_0x13091c>=0x0;_0x13091c--)if(_0x40d557['stack'][_0x13091c]['type']==_0x242c2f)return!0x0;return!0x1;}function bL(_0x36da4e,_0x3660b5,_0x2f23a1){return 0x2d!=_0x36da4e['next']&&0x2b!=_0x36da4e['next']&&0x2a!=_0x36da4e['next']||_0x36da4e['pos']!=_0x36da4e['text']['length']-0x1&&!dL(_0x36da4e['text']['charCodeAt'](_0x36da4e['pos']+0x1))||!(!_0x2f23a1||wL(_0x3660b5,lL['BulletList'])||_0x36da4e['skipSpace'](_0x36da4e['pos']+0x2)<_0x36da4e['text']['length'])?-0x1:0x1;}function yL(_0x591c70,_0x257380,_0x3df661){let _0x23049c=_0x591c70['pos'],_0x4342e4=_0x591c70['next'];for(;_0x4342e4>=0x30&&_0x4342e4<=0x39;){if(_0x23049c++,_0x23049c==_0x591c70['text']['length'])return-0x1;_0x4342e4=_0x591c70['text']['charCodeAt'](_0x23049c);}return _0x23049c==_0x591c70['pos']||_0x23049c>_0x591c70['pos']+0x9||0x2e!=_0x4342e4&&0x29!=_0x4342e4||_0x23049c<_0x591c70['text']['length']-0x1&&!dL(_0x591c70['text']['charCodeAt'](_0x23049c+0x1))||_0x3df661&&!wL(_0x257380,lL['OrderedList'])&&(_0x591c70['skipSpace'](_0x23049c+0x1)==_0x591c70['text']['length']||_0x23049c>_0x591c70['pos']+0x1||0x31!=_0x591c70['next'])?-0x1:_0x23049c+0x1-_0x591c70['pos'];}function vL(_0x4bfb80){if(0x23!=_0x4bfb80['next'])return-0x1;let _0x1ad33e=_0x4bfb80['pos']+0x1;for(;_0x1ad33e<_0x4bfb80['text']['length']&&0x23==_0x4bfb80['text']['charCodeAt'](_0x1ad33e);)_0x1ad33e++;if(_0x1ad33e<_0x4bfb80['text']['length']&&0x20!=_0x4bfb80['text']['charCodeAt'](_0x1ad33e))return-0x1;let _0x5b3fbe=_0x1ad33e-_0x4bfb80['pos'];return _0x5b3fbe>0x6?-0x1:_0x5b3fbe;}function _L(_0x286cf9){if(0x2d!=_0x286cf9['next']&&0x3d!=_0x286cf9['next']||_0x286cf9['indent']>=_0x286cf9['baseIndent']+0x4)return-0x1;let _0x1067bd=_0x286cf9['pos']+0x1;for(;_0x1067bd<_0x286cf9['text']['length']&&_0x286cf9['text']['charCodeAt'](_0x1067bd)==_0x286cf9['next'];)_0x1067bd++;let _0x228fce=_0x1067bd;for(;_0x1067bd<_0x286cf9['text']['length']&&dL(_0x286cf9['text']['charCodeAt'](_0x1067bd));)_0x1067bd++;return _0x1067bd==_0x286cf9['text']['length']?_0x228fce:-0x1;}const EL=/^[ \t]*$/,TL=/-->/,AL=/\?>/,SL=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,TL],[/^\s*<\?/,AL],[/^\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,EL],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,EL]];function IL(_0x225ff5,_0x1de778,_0x17a9a0){if(0x3c!=_0x225ff5['next'])return-0x1;let _0x5f16ed=_0x225ff5['text']['slice'](_0x225ff5['pos']);for(let _0x3b9f11=0x0,_0x2000ca=SL['length']-(_0x17a9a0?0x1:0x0);_0x3b9f11<_0x2000ca;_0x3b9f11++)if(SL[_0x3b9f11][0x0]['test'](_0x5f16ed))return _0x3b9f11;return-0x1;}function CL(_0x3c0c33,_0xb58459){let _0x202c70=_0x3c0c33['countIndent'](_0xb58459,_0x3c0c33['pos'],_0x3c0c33['indent']),_0x2cab75=_0x3c0c33['countIndent'](_0x3c0c33['skipSpace'](_0xb58459),_0xb58459,_0x202c70);return _0x2cab75>=_0x202c70+0x5?_0x202c70+0x1:_0x2cab75;}function kL(_0x58153f,_0x2d168d,_0x33ad78){let _0xe889d4=_0x58153f['length']-0x1;_0xe889d4>=0x0&&_0x58153f[_0xe889d4]['to']==_0x2d168d&&_0x58153f[_0xe889d4]['type']==lL['CodeText']?_0x58153f[_0xe889d4]['to']=_0x33ad78:_0x58153f['push'](FL(lL['CodeText'],_0x2d168d,_0x33ad78));}const xL={'LinkReference':void 0x0,'IndentedCode'(_0x5dab8b,_0x35e898){let _0x3c0188=_0x35e898['baseIndent']+0x4;if(_0x35e898['indent']<_0x3c0188)return!0x1;let _0xe548f1=_0x35e898['findColumn'](_0x3c0188),_0x853603=_0x5dab8b['lineStart']+_0xe548f1,_0x2cddb1=_0x5dab8b['lineStart']+_0x35e898['text']['length'],_0xdaa84a=[],_0x4227ab=[];for(kL(_0xdaa84a,_0x853603,_0x2cddb1);_0x5dab8b['nextLine']()&&_0x35e898['depth']>=_0x5dab8b['stack']['length'];)if(_0x35e898['pos']==_0x35e898['text']['length']){kL(_0x4227ab,_0x5dab8b['lineStart']-0x1,_0x5dab8b['lineStart']);for(let _0x890cc2 of _0x35e898['markers'])_0x4227ab['push'](_0x890cc2);}else{if(_0x35e898['indent']<_0x3c0188)break;{if(_0x4227ab['length']){for(let _0xe720f3 of _0x4227ab)_0xe720f3['type']==lL['CodeText']?kL(_0xdaa84a,_0xe720f3['from'],_0xe720f3['to']):_0xdaa84a['push'](_0xe720f3);_0x4227ab=[];}kL(_0xdaa84a,_0x5dab8b['lineStart']-0x1,_0x5dab8b['lineStart']);for(let _0x2ea712 of _0x35e898['markers'])_0xdaa84a['push'](_0x2ea712);_0x2cddb1=_0x5dab8b['lineStart']+_0x35e898['text']['length'];let _0xe83a6b=_0x5dab8b['lineStart']+_0x35e898['findColumn'](_0x35e898['baseIndent']+0x4);_0xe83a6b<_0x2cddb1&&kL(_0xdaa84a,_0xe83a6b,_0x2cddb1);}}return _0x4227ab['length']&&(_0x4227ab=_0x4227ab['filter'](_0x28685a=>_0x28685a['type']!=lL['CodeText']),_0x4227ab['length']&&(_0x35e898['markers']=_0x4227ab['concat'](_0x35e898['markers']))),_0x5dab8b['addNode'](_0x5dab8b['buffer']['writeElements'](_0xdaa84a,-_0x853603)['finish'](lL['CodeBlock'],_0x2cddb1-_0x853603),_0x853603),!0x0;},'FencedCode'(_0x5eb7a7,_0xcc2af6){let _0x3d5a47=gL(_0xcc2af6);if(_0x3d5a47<0x0)return!0x1;let _0x5be7cc=_0x5eb7a7['lineStart']+_0xcc2af6['pos'],_0x461f80=_0xcc2af6['next'],_0x42795f=_0x3d5a47-_0xcc2af6['pos'],_0x38bbcc=_0xcc2af6['skipSpace'](_0x3d5a47),_0x3da1de=mL(_0xcc2af6['text'],_0xcc2af6['text']['length'],_0x38bbcc),_0x180c8a=[FL(lL['CodeMark'],_0x5be7cc,_0x5be7cc+_0x42795f)];_0x38bbcc<_0x3da1de&&_0x180c8a['push'](FL(lL['CodeInfo'],_0x5eb7a7['lineStart']+_0x38bbcc,_0x5eb7a7['lineStart']+_0x3da1de));for(let _0x45b60f=!0x0;_0x5eb7a7['nextLine']()&&_0xcc2af6['depth']>=_0x5eb7a7['stack']['length'];_0x45b60f=!0x1){let _0x2a1d80=_0xcc2af6['pos'];if(_0xcc2af6['indent']-_0xcc2af6['baseIndent']<0x4){for(;_0x2a1d80<_0xcc2af6['text']['length']&&_0xcc2af6['text']['charCodeAt'](_0x2a1d80)==_0x461f80;)_0x2a1d80++;}if(_0x2a1d80-_0xcc2af6['pos']>=_0x42795f&&_0xcc2af6['skipSpace'](_0x2a1d80)==_0xcc2af6['text']['length']){for(let _0x1cf2b9 of _0xcc2af6['markers'])_0x180c8a['push'](_0x1cf2b9);_0x180c8a['push'](FL(lL['CodeMark'],_0x5eb7a7['lineStart']+_0xcc2af6['pos'],_0x5eb7a7['lineStart']+_0x2a1d80)),_0x5eb7a7['nextLine']();break;}{_0x45b60f||kL(_0x180c8a,_0x5eb7a7['lineStart']-0x1,_0x5eb7a7['lineStart']);for(let _0x593e19 of _0xcc2af6['markers'])_0x180c8a['push'](_0x593e19);let _0x8e9578=_0x5eb7a7['lineStart']+_0xcc2af6['basePos'],_0x22dab9=_0x5eb7a7['lineStart']+_0xcc2af6['text']['length'];_0x8e9578<_0x22dab9&&kL(_0x180c8a,_0x8e9578,_0x22dab9);}}return _0x5eb7a7['addNode'](_0x5eb7a7['buffer']['writeElements'](_0x180c8a,-_0x5be7cc)['finish'](lL['FencedCode'],_0x5eb7a7['prevLineEnd']()-_0x5be7cc),_0x5be7cc),!0x0;},'Blockquote'(_0x4d6542,_0x5dfd79){let _0x482591=pL(_0x5dfd79);return!(_0x482591<0x0)&&(_0x4d6542['startContext'](lL['Blockquote'],_0x5dfd79['pos']),_0x4d6542['addNode'](lL['QuoteMark'],_0x4d6542['lineStart']+_0x5dfd79['pos'],_0x4d6542['lineStart']+_0x5dfd79['pos']+0x1),_0x5dfd79['moveBase'](_0x5dfd79['pos']+_0x482591),null);},'HorizontalRule'(_0x1fb14b,_0x4d313c){if(OL(_0x4d313c,_0x1fb14b,!0x1)<0x0)return!0x1;let _0x431e21=_0x1fb14b['lineStart']+_0x4d313c['pos'];return _0x1fb14b['nextLine'](),_0x1fb14b['addNode'](lL['HorizontalRule'],_0x431e21),!0x0;},'BulletList'(_0x52e73f,_0x50735e){let _0x33e3bd=bL(_0x50735e,_0x52e73f,!0x1);if(_0x33e3bd<0x0)return!0x1;_0x52e73f['block']['type']!=lL['BulletList']&&_0x52e73f['startContext'](lL['BulletList'],_0x50735e['basePos'],_0x50735e['next']);let _0x37e20b=CL(_0x50735e,_0x50735e['pos']+0x1);return _0x52e73f['startContext'](lL['ListItem'],_0x50735e['basePos'],_0x37e20b-_0x50735e['baseIndent']),_0x52e73f['addNode'](lL['ListMark'],_0x52e73f['lineStart']+_0x50735e['pos'],_0x52e73f['lineStart']+_0x50735e['pos']+_0x33e3bd),_0x50735e['moveBaseColumn'](_0x37e20b),null;},'OrderedList'(_0x3dbdbc,_0x44e611){let _0x4163a8=yL(_0x44e611,_0x3dbdbc,!0x1);if(_0x4163a8<0x0)return!0x1;_0x3dbdbc['block']['type']!=lL['OrderedList']&&_0x3dbdbc['startContext'](lL['OrderedList'],_0x44e611['basePos'],_0x44e611['text']['charCodeAt'](_0x44e611['pos']+_0x4163a8-0x1));let _0x19f280=CL(_0x44e611,_0x44e611['pos']+_0x4163a8);return _0x3dbdbc['startContext'](lL['ListItem'],_0x44e611['basePos'],_0x19f280-_0x44e611['baseIndent']),_0x3dbdbc['addNode'](lL['ListMark'],_0x3dbdbc['lineStart']+_0x44e611['pos'],_0x3dbdbc['lineStart']+_0x44e611['pos']+_0x4163a8),_0x44e611['moveBaseColumn'](_0x19f280),null;},'ATXHeading'(_0x358b96,_0x27d62d){let _0x574a70=vL(_0x27d62d);if(_0x574a70<0x0)return!0x1;let _0x317e01=_0x27d62d['pos'],_0x1f7ef3=_0x358b96['lineStart']+_0x317e01,_0x216456=mL(_0x27d62d['text'],_0x27d62d['text']['length'],_0x317e01),_0x903809=_0x216456;for(;_0x903809>_0x317e01&&_0x27d62d['text']['charCodeAt'](_0x903809-0x1)==_0x27d62d['next'];)_0x903809--;_0x903809!=_0x216456&&_0x903809!=_0x317e01&&dL(_0x27d62d['text']['charCodeAt'](_0x903809-0x1))||(_0x903809=_0x27d62d['text']['length']);let _0x123545=_0x358b96['buffer']['write'](lL['HeaderMark'],0x0,_0x574a70)['writeElements'](_0x358b96['parser']['parseInline'](_0x27d62d['text']['slice'](_0x317e01+_0x574a70+0x1,_0x903809),_0x1f7ef3+_0x574a70+0x1),-_0x1f7ef3);_0x903809<_0x27d62d['text']['length']&&_0x123545['write'](lL['HeaderMark'],_0x903809-_0x317e01,_0x216456-_0x317e01);let _0x18ac52=_0x123545['finish'](lL['ATXHeading1']-0x1+_0x574a70,_0x27d62d['text']['length']-_0x317e01);return _0x358b96['nextLine'](),_0x358b96['addNode'](_0x18ac52,_0x1f7ef3),!0x0;},'HTMLBlock'(_0xaa69d1,_0x3d10c0){let _0x55d495=IL(_0x3d10c0,0x0,!0x1);if(_0x55d495<0x0)return!0x1;let _0x31e057=_0xaa69d1['lineStart']+_0x3d10c0['pos'],_0x45bdb9=SL[_0x55d495][0x1],_0x32b754=[],_0x21d619=_0x45bdb9!=EL;for(;!_0x45bdb9['test'](_0x3d10c0['text'])&&_0xaa69d1['nextLine']();){if(_0x3d10c0['depth']<_0xaa69d1['stack']['length']){_0x21d619=!0x1;break;}for(let _0x20a50b of _0x3d10c0['markers'])_0x32b754['push'](_0x20a50b);}_0x21d619&&_0xaa69d1['nextLine']();let _0x138fd6=_0x45bdb9==TL?lL['CommentBlock']:_0x45bdb9==AL?lL['ProcessingInstructionBlock']:lL['HTMLBlock'],_0x39f5f5=_0xaa69d1['prevLineEnd']();return _0xaa69d1['addNode'](_0xaa69d1['buffer']['writeElements'](_0x32b754,-_0x31e057)['finish'](_0x138fd6,_0x39f5f5-_0x31e057),_0x31e057),!0x0;},'SetextHeading':void 0x0};class LinkReferenceParser{constructor(_0x184044){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x184044['start'],this['advance'](_0x184044['content']);}['nextLine'](_0x286fea,_0x2c205e,_0x270a92){if(-0x1==this['stage'])return!0x1;let _0xe0f8=_0x270a92['content']+'\x0a'+_0x2c205e['scrub'](),_0x4c7081=this['advance'](_0xe0f8);return _0x4c7081>-0x1&&_0x4c7081<_0xe0f8['length']&&this['complete'](_0x286fea,_0x270a92,_0x4c7081);}['finish'](_0x58b36d,_0x4081eb){return(0x2==this['stage']||0x3==this['stage'])&&fL(_0x4081eb['content'],this['pos'])==_0x4081eb['content']['length']&&this['complete'](_0x58b36d,_0x4081eb,_0x4081eb['content']['length']);}['complete'](_0x68cb6d,_0x2a726d,_0x38de64){return _0x68cb6d['addLeafElement'](_0x2a726d,FL(lL['LinkReference'],this['start'],this['start']+_0x38de64,this['elts'])),!0x0;}['nextStage'](_0x2d993a){return _0x2d993a?(this['pos']=_0x2d993a['to']-this['start'],this['elts']['push'](_0x2d993a),this['stage']++,!0x0):(!0x1===_0x2d993a&&(this['stage']=-0x1),!0x1);}['advance'](_0x28fff2){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](t$(_0x28fff2,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x28fff2['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](FL(lL['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x45c54a=fL(_0x28fff2,this['pos']),_0xae7bf9=0x0;if(_0x45c54a>this['pos']){let _0x418f5f=JL(_0x28fff2,_0x45c54a,this['start']);if(_0x418f5f){let _0x1e8a13=RL(_0x28fff2,_0x418f5f['to']-this['start']);_0x1e8a13>0x0&&(this['nextStage'](_0x418f5f),_0xae7bf9=_0x1e8a13);}}return _0xae7bf9||(_0xae7bf9=RL(_0x28fff2,this['pos'])),_0xae7bf9>0x0&&_0xae7bf9<_0x28fff2['length']?_0xae7bf9:-0x1;}return RL(_0x28fff2,this['pos']);}if(!this['nextStage'](KL(_0x28fff2,fL(_0x28fff2,this['pos']),this['start'])))return-0x1;}}}}function RL(_0x463780,_0x19e47a){for(;_0x19e47a<_0x463780['length'];_0x19e47a++){let _0x3fc40c=_0x463780['charCodeAt'](_0x19e47a);if(0xa==_0x3fc40c)break;if(!dL(_0x3fc40c))return-0x1;}return _0x19e47a;}class SetextHeadingParser{['nextLine'](_0x393e7f,_0x48db1b,_0x2a238d){let _0x1a4854=_0x48db1b['depth']<_0x393e7f['stack']['length']?-0x1:_L(_0x48db1b),_0x4b6eae=_0x48db1b['next'];if(_0x1a4854<0x0)return!0x1;let _0xd0987c=FL(lL['HeaderMark'],_0x393e7f['lineStart']+_0x48db1b['pos'],_0x393e7f['lineStart']+_0x1a4854);return _0x393e7f['nextLine'](),_0x393e7f['addLeafElement'](_0x2a238d,FL(0x3d==_0x4b6eae?lL['SetextHeading1']:lL['SetextHeading2'],_0x2a238d['start'],_0x393e7f['prevLineEnd'](),[..._0x393e7f['parser']['parseInline'](_0x2a238d['content'],_0x2a238d['start']),_0xd0987c])),!0x0;}['finish'](){return!0x1;}}const PL={'LinkReference':(_0x5ee207,_0x25e07f)=>0x5b==_0x25e07f['content']['charCodeAt'](0x0)?new LinkReferenceParser(_0x25e07f):null,'SetextHeading':()=>new SetextHeadingParser()},ML=[(_0x52f371,_0x1c0dbe)=>vL(_0x1c0dbe)>=0x0,(_0x2c11eb,_0x358fe5)=>gL(_0x358fe5)>=0x0,(_0x49c6a3,_0x273409)=>pL(_0x273409)>=0x0,(_0x326b09,_0x2fb1ff)=>bL(_0x2fb1ff,_0x326b09,!0x0)>=0x0,(_0x1940a4,_0x5e1b3d)=>yL(_0x5e1b3d,_0x1940a4,!0x0)>=0x0,(_0x11cd0e,_0xe1ae74)=>OL(_0xe1ae74,_0x11cd0e,!0x0)>=0x0,(_0x4e5a33,_0x4b8845)=>IL(_0x4b8845,0x0,!0x0)>=0x0],NL={'text':'','end':0x0};class BlockContext{constructor(_0x16eacc,_0x27a1ae,_0x346ff4,_0x3247cd){this['parser']=_0x16eacc,this['input']=_0x27a1ae,this['ranges']=_0x3247cd,this['line']=new Line(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x3247cd[_0x3247cd['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x3247cd[0x0]['from'],this['block']=CompositeBlock['create'](lL['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x346ff4['length']?new FragmentCursor(_0x346ff4,_0x27a1ae):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x50df91}=this;for(;;){for(let _0x549af4=0x0;;){let _0x4061ef=_0x50df91['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x549af4<_0x50df91['markers']['length']&&(!_0x4061ef||_0x50df91['markers'][_0x549af4]['from']<_0x4061ef['end']);){let _0x22c92b=_0x50df91['markers'][_0x549af4++];this['addNode'](_0x22c92b['type'],_0x22c92b['from'],_0x22c92b['to']);}if(!_0x4061ef)break;this['finishContext']();}if(_0x50df91['pos']<_0x50df91['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x50df91['basePos']))return null;t:for(;;){for(let _0x2739c7 of this['parser']['blockParsers'])if(_0x2739c7){let _0xb95d90=_0x2739c7(this,_0x50df91);if(0x0!=_0xb95d90){if(0x1==_0xb95d90)return null;_0x50df91['forward']();continue t;}}break;}let _0x4fa89a=new LeafBlock(this['lineStart']+_0x50df91['pos'],_0x50df91['text']['slice'](_0x50df91['pos']));for(let _0x179ed9 of this['parser']['leafBlockParsers'])if(_0x179ed9){let _0x29cf21=_0x179ed9(this,_0x4fa89a);_0x29cf21&&_0x4fa89a['parsers']['push'](_0x29cf21);}t:for(;this['nextLine']()&&_0x50df91['pos']!=_0x50df91['text']['length'];){if(_0x50df91['indent']<_0x50df91['baseIndent']+0x4){for(let _0x169c93 of this['parser']['endLeafBlock'])if(_0x169c93(this,_0x50df91,_0x4fa89a))break t;}for(let _0x57400f of _0x4fa89a['parsers'])if(_0x57400f['nextLine'](this,_0x50df91,_0x4fa89a))return null;_0x4fa89a['content']+='\x0a'+_0x50df91['scrub']();for(let _0xd41123 of _0x50df91['markers'])_0x4fa89a['marks']['push'](_0xd41123);}return this['finishLeaf'](_0x4fa89a),null;}['stopAt'](_0x425711){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x425711)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x425711;}['reuseFragment'](_0x3dfcb0){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x3dfcb0,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x5ea238=this['fragments']['takeNodes'](this);return!!_0x5ea238&&(this['absoluteLineStart']+=_0x5ea238,this['lineStart']=s$(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'](_0x1472ab=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x1472ab]['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'](_0xbab51c){let _0x388bee=NL;if(_0x388bee['end']=_0xbab51c,_0xbab51c>=this['to'])_0x388bee['text']='';else{if(_0x388bee['text']=this['lineChunkAt'](_0xbab51c),_0x388bee['end']+=_0x388bee['text']['length'],this['ranges']['length']>0x1){let _0x3bb2f5=this['absoluteLineStart'],_0x2e76b9=this['rangeI'];for(;this['ranges'][_0x2e76b9]['to']<_0x388bee['end'];){_0x2e76b9++;let _0x477a17=this['ranges'][_0x2e76b9]['from'],_0x50f9f0=this['lineChunkAt'](_0x477a17);_0x388bee['end']=_0x477a17+_0x50f9f0['length'],_0x388bee['text']=_0x388bee['text']['slice'](0x0,this['ranges'][_0x2e76b9-0x1]['to']-_0x3bb2f5)+_0x50f9f0,_0x3bb2f5=_0x388bee['end']-_0x388bee['text']['length'];}}}return _0x388bee;}['readLine'](){let {line:_0x2d7452}=this,{text:_0x52c76a,end:_0x7524ea}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x7524ea,_0x2d7452['reset'](_0x52c76a);_0x2d7452['depth']<this['stack']['length'];_0x2d7452['depth']++){let _0x173a42=this['stack'][_0x2d7452['depth']],_0x52c7b0=this['parser']['skipContextMarkup'][_0x173a42['type']];if(!_0x52c7b0)throw new Error('Unhandled\x20block\x20context\x20'+lL[_0x173a42['type']]);let _0x3586f0=this['line']['markers']['length'];if(!_0x52c7b0(_0x173a42,this,_0x2d7452)){this['line']['markers']['length']>_0x3586f0&&(_0x173a42['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x2d7452['forward']();}}['lineChunkAt'](_0x546245){let _0x1947bc,_0x41d546=this['input']['chunk'](_0x546245);if(this['input']['lineChunks'])_0x1947bc='\x0a'==_0x41d546?'':_0x41d546;else{let _0x213197=_0x41d546['indexOf']('\x0a');_0x1947bc=_0x213197<0x0?_0x41d546:_0x41d546['slice'](0x0,_0x213197);}return _0x546245+_0x1947bc['length']>this['to']?_0x1947bc['slice'](0x0,this['to']-_0x546245):_0x1947bc;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x1ecda5,_0x31b734,_0x4bf6ce=0x0){this['block']=CompositeBlock['create'](_0x1ecda5,_0x4bf6ce,this['lineStart']+_0x31b734,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x33733b,_0x279a06,_0x1a6e7a=0x0){this['startContext'](this['parser']['getNodeType'](_0x33733b),_0x279a06,_0x1a6e7a);}['addNode'](_0x33c5fa,_0x5c4a57,_0x4aa8af){'number'==typeof _0x33c5fa&&(_0x33c5fa=new Tree(this['parser']['nodeSet']['types'][_0x33c5fa],UL,UL,(null!=_0x4aa8af?_0x4aa8af:this['prevLineEnd']())-_0x5c4a57)),this['block']['addChild'](_0x33c5fa,_0x5c4a57-this['block']['from']);}['addElement'](_0x48fa29){this['block']['addChild'](_0x48fa29['toTree'](this['parser']['nodeSet']),_0x48fa29['from']-this['block']['from']);}['addLeafElement'](_0x2e5055,_0x435fba){this['addNode'](this['buffer']['writeElements'](e$(_0x435fba['children'],_0x2e5055['marks']),-_0x435fba['from'])['finish'](_0x435fba['type'],_0x435fba['to']-_0x435fba['from']),_0x435fba['from']);}['finishContext'](){let _0x4258c1=this['stack']['pop'](),_0x4924f3=this['stack'][this['stack']['length']-0x1];_0x4924f3['addChild'](_0x4258c1['toTree'](this['parser']['nodeSet']),_0x4258c1['from']-_0x4924f3['from']),this['block']=_0x4924f3;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x4b4a6d){return this['ranges']['length']>0x1?LL(this['ranges'],0x0,_0x4b4a6d['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x4b4a6d;}['finishLeaf'](_0x70dfc0){for(let _0x4999f0 of _0x70dfc0['parsers'])if(_0x4999f0['finish'](this,_0x70dfc0))return;let _0x54f882=e$(this['parser']['parseInline'](_0x70dfc0['content'],_0x70dfc0['start']),_0x70dfc0['marks']);this['addNode'](this['buffer']['writeElements'](_0x54f882,-_0x70dfc0['start'])['finish'](lL['Paragraph'],_0x70dfc0['content']['length']),_0x70dfc0['start']);}['elt'](_0x12eb2a,_0x112def,_0x158986,_0x49ccc0){return'string'==typeof _0x12eb2a?FL(this['parser']['getNodeType'](_0x12eb2a),_0x112def,_0x158986,_0x49ccc0):new TreeElement(_0x12eb2a,_0x112def);}get['buffer'](){return new BL(this['parser']['nodeSet']);}}function LL(_0x1d6643,_0x2808c7,_0x46f1df,_0x253550,_0x10c982){let _0x291252=_0x1d6643[_0x2808c7]['to'],_0xdf7159=[],_0x53d35b=[],_0x1c8bd0=_0x46f1df['from']+_0x253550;function _0x33b889(_0x1ac639,_0xc6fe6){for(;_0xc6fe6?_0x1ac639>=_0x291252:_0x1ac639>_0x291252;){let _0x3d2863=_0x1d6643[_0x2808c7+0x1]['from']-_0x291252;_0x253550+=_0x3d2863,_0x1ac639+=_0x3d2863,_0x2808c7++,_0x291252=_0x1d6643[_0x2808c7]['to'];}}for(let _0x1ad6af=_0x46f1df['firstChild'];_0x1ad6af;_0x1ad6af=_0x1ad6af['nextSibling']){_0x33b889(_0x1ad6af['from']+_0x253550,!0x0);let _0x57b1c6,_0x31409d=_0x1ad6af['from']+_0x253550,_0x4ce973=_0x10c982['get'](_0x1ad6af['tree']);_0x4ce973?_0x57b1c6=_0x4ce973:_0x1ad6af['to']+_0x253550>_0x291252?(_0x57b1c6=LL(_0x1d6643,_0x2808c7,_0x1ad6af,_0x253550,_0x10c982),_0x33b889(_0x1ad6af['to']+_0x253550,!0x1)):_0x57b1c6=_0x1ad6af['toTree'](),_0xdf7159['push'](_0x57b1c6),_0x53d35b['push'](_0x31409d-_0x1c8bd0);}return _0x33b889(_0x46f1df['to']+_0x253550,!0x1),new Tree(_0x46f1df['type'],_0xdf7159,_0x53d35b,_0x46f1df['to']+_0x253550-_0x1c8bd0,_0x46f1df['tree']?_0x46f1df['tree']['propValues']:void 0x0);}class MarkdownParser extends Parser{constructor(_0x363cc3,_0x5405f2,_0x1d6597,_0x4b6df9,_0x25fe89,_0x15b463,_0x591c8c,_0x5ac905,_0x30f494){super(),this['nodeSet']=_0x363cc3,this['blockParsers']=_0x5405f2,this['leafBlockParsers']=_0x1d6597,this['blockNames']=_0x4b6df9,this['endLeafBlock']=_0x25fe89,this['skipContextMarkup']=_0x15b463,this['inlineParsers']=_0x591c8c,this['inlineNames']=_0x5ac905,this['wrappers']=_0x30f494,this['nodeTypes']=Object['create'](null);for(let t of _0x363cc3['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x47faeb,_0x54c59e,_0x12b3c2){let _0x41375f=new BlockContext(this,_0x47faeb,_0x54c59e,_0x12b3c2);for(let _0x203131 of this['wrappers'])_0x41375f=_0x203131(_0x41375f,_0x47faeb,_0x54c59e,_0x12b3c2);return _0x41375f;}['configure'](_0x29ab14){let _0x4b25e3=DL(_0x29ab14);if(!_0x4b25e3)return this;let {nodeSet:_0x2003bb,skipContextMarkup:_0x45eed9}=this,_0x8b51ea=this['blockParsers']['slice'](),_0x51ba58=this['leafBlockParsers']['slice'](),_0x49d379=this['blockNames']['slice'](),_0x1e9bc8=this['inlineParsers']['slice'](),_0x27e276=this['inlineNames']['slice'](),_0x31e577=this['endLeafBlock']['slice'](),_0x13eedf=this['wrappers'];if($L(_0x4b25e3['defineNodes'])){_0x45eed9=Object['assign']({},_0x45eed9);let _0x67fdef,_0x55a46e=_0x2003bb['types']['slice']();for(let _0x27d811 of _0x4b25e3['defineNodes']){let {name:_0x1c1044,block:_0x41d4ca,composite:_0x585485,style:_0x50c130}='string'==typeof _0x27d811?{'name':_0x27d811}:_0x27d811;if(_0x55a46e['some'](t=>t['name']==_0x1c1044))continue;_0x585485&&(_0x45eed9[_0x55a46e['length']]=(_0x16f97d,_0xf5dee1,_0x583b9b)=>_0x585485(_0xf5dee1,_0x583b9b,_0x16f97d['value']));let _0x41f950=_0x55a46e['length'],_0x5423d2=_0x585485?['Block','BlockContext']:_0x41d4ca?_0x41f950>=lL['ATXHeading1']&&_0x41f950<=lL['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x55a46e['push'](NodeType['define']({'id':_0x41f950,'name':_0x1c1044,'props':_0x5423d2&&[[NodeProp['group'],_0x5423d2]]})),_0x50c130&&(_0x67fdef||(_0x67fdef={}),Array['isArray'](_0x50c130)||_0x50c130 instanceof Tag?_0x67fdef[_0x1c1044]=_0x50c130:Object['assign'](_0x67fdef,_0x50c130));}_0x2003bb=new NodeSet(_0x55a46e),_0x67fdef&&(_0x2003bb=_0x2003bb['extend'](hC(_0x67fdef)));}if($L(_0x4b25e3['props'])&&(_0x2003bb=_0x2003bb['extend'](..._0x4b25e3['props'])),$L(_0x4b25e3['remove']))for(let _0x949859 of _0x4b25e3['remove']){let _0x1fff3a=this['blockNames']['indexOf'](_0x949859),_0x477357=this['inlineNames']['indexOf'](_0x949859);_0x1fff3a>-0x1&&(_0x8b51ea[_0x1fff3a]=_0x51ba58[_0x1fff3a]=void 0x0),_0x477357>-0x1&&(_0x1e9bc8[_0x477357]=void 0x0);}if($L(_0x4b25e3['parseBlock']))for(let _0x48ed1a of _0x4b25e3['parseBlock']){let _0x3593d2=_0x49d379['indexOf'](_0x48ed1a['name']);if(_0x3593d2>-0x1)_0x8b51ea[_0x3593d2]=_0x48ed1a['parse'],_0x51ba58[_0x3593d2]=_0x48ed1a['leaf'];else{let _0x53d0c8=_0x48ed1a['before']?QL(_0x49d379,_0x48ed1a['before']):_0x48ed1a['after']?QL(_0x49d379,_0x48ed1a['after'])+0x1:_0x49d379['length']-0x1;_0x8b51ea['splice'](_0x53d0c8,0x0,_0x48ed1a['parse']),_0x51ba58['splice'](_0x53d0c8,0x0,_0x48ed1a['leaf']),_0x49d379['splice'](_0x53d0c8,0x0,_0x48ed1a['name']);}_0x48ed1a['endLeaf']&&_0x31e577['push'](_0x48ed1a['endLeaf']);}if($L(_0x4b25e3['parseInline']))for(let _0x53a8bd of _0x4b25e3['parseInline']){let _0x4cfa98=_0x27e276['indexOf'](_0x53a8bd['name']);if(_0x4cfa98>-0x1)_0x1e9bc8[_0x4cfa98]=_0x53a8bd['parse'];else{let _0x5a135a=_0x53a8bd['before']?QL(_0x27e276,_0x53a8bd['before']):_0x53a8bd['after']?QL(_0x27e276,_0x53a8bd['after'])+0x1:_0x27e276['length']-0x1;_0x1e9bc8['splice'](_0x5a135a,0x0,_0x53a8bd['parse']),_0x27e276['splice'](_0x5a135a,0x0,_0x53a8bd['name']);}}return _0x4b25e3['wrap']&&(_0x13eedf=_0x13eedf['concat'](_0x4b25e3['wrap'])),new MarkdownParser(_0x2003bb,_0x8b51ea,_0x51ba58,_0x49d379,_0x31e577,_0x45eed9,_0x1e9bc8,_0x27e276,_0x13eedf);}['getNodeType'](_0x5bc0a9){let _0x27dff7=this['nodeTypes'][_0x5bc0a9];if(null==_0x27dff7)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x5bc0a9+'\x27');return _0x27dff7;}['parseInline'](_0x317b63,_0x267036){let _0x120035=new InlineContext(this,_0x317b63,_0x267036);t:for(let _0x494854=_0x267036;_0x494854<_0x120035['end'];){let _0x30ed39=_0x120035['char'](_0x494854);for(let _0x3638e1 of this['inlineParsers'])if(_0x3638e1){let _0x47e145=_0x3638e1(_0x120035,_0x30ed39,_0x494854);if(_0x47e145>=0x0){_0x494854=_0x47e145;continue t;}}_0x494854++;}return _0x120035['resolveMarkers'](0x0);}}function $L(_0x26039a){return null!=_0x26039a&&_0x26039a['length']>0x0;}function DL(_0x54ea85){if(!Array['isArray'](_0x54ea85))return _0x54ea85;if(0x0==_0x54ea85['length'])return null;let _0x2a17da=DL(_0x54ea85[0x0]);if(0x1==_0x54ea85['length'])return _0x2a17da;let _0x2eedc6=DL(_0x54ea85['slice'](0x1));if(!_0x2eedc6||!_0x2a17da)return _0x2a17da||_0x2eedc6;let _0x8c92a0=(_0x8e24a3,_0x18a42b)=>(_0x8e24a3||UL)['concat'](_0x18a42b||UL),_0x45cdb3=_0x2a17da['wrap'],_0x3f62ad=_0x2eedc6['wrap'];return{'props':_0x8c92a0(_0x2a17da['props'],_0x2eedc6['props']),'defineNodes':_0x8c92a0(_0x2a17da['defineNodes'],_0x2eedc6['defineNodes']),'parseBlock':_0x8c92a0(_0x2a17da['parseBlock'],_0x2eedc6['parseBlock']),'parseInline':_0x8c92a0(_0x2a17da['parseInline'],_0x2eedc6['parseInline']),'remove':_0x8c92a0(_0x2a17da['remove'],_0x2eedc6['remove']),'wrap':_0x45cdb3?_0x3f62ad?(_0x5477e1,_0x115bbd,_0x31b18f,_0x348b26)=>_0x45cdb3(_0x3f62ad(_0x5477e1,_0x115bbd,_0x31b18f,_0x348b26),_0x115bbd,_0x31b18f,_0x348b26):_0x45cdb3:_0x3f62ad};}function QL(_0x1c5cf2,_0x2cbee8){let _0x411787=_0x1c5cf2['indexOf'](_0x2cbee8);if(_0x411787<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x2cbee8);return _0x411787;}let VL=[NodeType['none']];for(let e,s=0x1;e=lL[s];s++)VL[s]=NodeType['define']({'id':s,'name':e,'props':s>=lL['Escape']?[]:[[NodeProp['group'],s in uL?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==e});const UL=[];let BL=class Buffer{constructor(_0x3dbaaf){this['nodeSet']=_0x3dbaaf,this['content']=[],this['nodes']=[];}['write'](_0x2bce46,_0x189e0b,_0x1d84c2,_0x11dc8f=0x0){return this['content']['push'](_0x2bce46,_0x189e0b,_0x1d84c2,0x4+0x4*_0x11dc8f),this;}['writeElements'](_0x488ea1,_0xef53db=0x0){for(let _0x54d618 of _0x488ea1)_0x54d618['writeTo'](this,_0xef53db);return this;}['finish'](_0xcf9f73,_0x4386a7){return Tree['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0xcf9f73,'length':_0x4386a7});}},jL=class Element{constructor(_0x42efe7,_0x81764b,_0x27ceb9,_0xa25c24=UL){this['type']=_0x42efe7,this['from']=_0x81764b,this['to']=_0x27ceb9,this['children']=_0xa25c24;}['writeTo'](_0x269fb7,_0x3c126f){let _0x37c21a=_0x269fb7['content']['length'];_0x269fb7['writeElements'](this['children'],_0x3c126f),_0x269fb7['content']['push'](this['type'],this['from']+_0x3c126f,this['to']+_0x3c126f,_0x269fb7['content']['length']+0x4-_0x37c21a);}['toTree'](_0x4c9cdd){return new BL(_0x4c9cdd)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x2b4853,_0x5c0107){this['tree']=_0x2b4853,this['from']=_0x5c0107;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return UL;}['writeTo'](_0x11425e,_0x28f901){_0x11425e['nodes']['push'](this['tree']),_0x11425e['content']['push'](_0x11425e['nodes']['length']-0x1,this['from']+_0x28f901,this['to']+_0x28f901,-0x1);}['toTree'](){return this['tree'];}}function FL(_0x440ab6,_0x325365,_0x37f1c8,_0x3e3e01){return new jL(_0x440ab6,_0x325365,_0x37f1c8,_0x3e3e01);}const HL={'resolve':'Emphasis','mark':'EmphasisMark'},GL={'resolve':'Emphasis','mark':'EmphasisMark'},ZL={},XL={};class InlineDelimiter{constructor(_0x3dd01a,_0x258fcd,_0x173652,_0x4bfe17){this['type']=_0x3dd01a,this['from']=_0x258fcd,this['to']=_0x173652,this['side']=_0x4bfe17;}}const qL='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let WL=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{WL=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x249cac){}const zL={'Escape'(_0x2fbf2a,_0x4f6317,_0x1678ab){if(0x5c!=_0x4f6317||_0x1678ab==_0x2fbf2a['end']-0x1)return-0x1;let _0x23f79f=_0x2fbf2a['char'](_0x1678ab+0x1);for(let _0x6a4e80=0x0;_0x6a4e80<0x20;_0x6a4e80++)if(qL['charCodeAt'](_0x6a4e80)==_0x23f79f)return _0x2fbf2a['append'](FL(lL['Escape'],_0x1678ab,_0x1678ab+0x2));return-0x1;},'Entity'(_0x12569d,_0x29fcd3,_0x4e5120){if(0x26!=_0x29fcd3)return-0x1;let _0x3b77c3=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x12569d['slice'](_0x4e5120+0x1,_0x4e5120+0x1f));return _0x3b77c3?_0x12569d['append'](FL(lL['Entity'],_0x4e5120,_0x4e5120+0x1+_0x3b77c3[0x0]['length'])):-0x1;},'InlineCode'(_0x4e08c9,_0x33251c,_0x11eef7){if(0x60!=_0x33251c||_0x11eef7&&0x60==_0x4e08c9['char'](_0x11eef7-0x1))return-0x1;let _0x5a34de=_0x11eef7+0x1;for(;_0x5a34de<_0x4e08c9['end']&&0x60==_0x4e08c9['char'](_0x5a34de);)_0x5a34de++;let _0x22e2d1=_0x5a34de-_0x11eef7,_0x10e78e=0x0;for(;_0x5a34de<_0x4e08c9['end'];_0x5a34de++)if(0x60==_0x4e08c9['char'](_0x5a34de)){if(_0x10e78e++,_0x10e78e==_0x22e2d1&&0x60!=_0x4e08c9['char'](_0x5a34de+0x1))return _0x4e08c9['append'](FL(lL['InlineCode'],_0x11eef7,_0x5a34de+0x1,[FL(lL['CodeMark'],_0x11eef7,_0x11eef7+_0x22e2d1),FL(lL['CodeMark'],_0x5a34de+0x1-_0x22e2d1,_0x5a34de+0x1)]));}else _0x10e78e=0x0;return-0x1;},'HTMLTag'(_0x1fb8c8,_0x22e0b3,_0x30d019){if(0x3c!=_0x22e0b3||_0x30d019==_0x1fb8c8['end']-0x1)return-0x1;let _0x191d15=_0x1fb8c8['slice'](_0x30d019+0x1,_0x1fb8c8['end']),_0x16ecdf=/^(?:[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'](_0x191d15);if(_0x16ecdf)return _0x1fb8c8['append'](FL(lL['Autolink'],_0x30d019,_0x30d019+0x1+_0x16ecdf[0x0]['length'],[FL(lL['LinkMark'],_0x30d019,_0x30d019+0x1),FL(lL['URL'],_0x30d019+0x1,_0x30d019+_0x16ecdf[0x0]['length']),FL(lL['LinkMark'],_0x30d019+_0x16ecdf[0x0]['length'],_0x30d019+0x1+_0x16ecdf[0x0]['length'])]));let _0x20945e=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x191d15);if(_0x20945e)return _0x1fb8c8['append'](FL(lL['Comment'],_0x30d019,_0x30d019+0x1+_0x20945e[0x0]['length']));let _0xc75911=/^\?[^]*?\?>/['exec'](_0x191d15);if(_0xc75911)return _0x1fb8c8['append'](FL(lL['ProcessingInstruction'],_0x30d019,_0x30d019+0x1+_0xc75911[0x0]['length']));let _0x410ace=/^(?:![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'](_0x191d15);return _0x410ace?_0x1fb8c8['append'](FL(lL['HTMLTag'],_0x30d019,_0x30d019+0x1+_0x410ace[0x0]['length'])):-0x1;},'Emphasis'(_0x357358,_0x167105,_0x5b5b31){if(0x5f!=_0x167105&&0x2a!=_0x167105)return-0x1;let _0x29f26c=_0x5b5b31+0x1;for(;_0x357358['char'](_0x29f26c)==_0x167105;)_0x29f26c++;let _0x3783ef=_0x357358['slice'](_0x5b5b31-0x1,_0x5b5b31),_0x1bcd1d=_0x357358['slice'](_0x29f26c,_0x29f26c+0x1),_0x1f6446=WL['test'](_0x3783ef),_0x4fc5fc=WL['test'](_0x1bcd1d),_0x40e251=/\s|^$/['test'](_0x3783ef),_0x534b53=/\s|^$/['test'](_0x1bcd1d),_0x38b3a0=!_0x534b53&&(!_0x4fc5fc||_0x40e251||_0x1f6446),_0x1cda02=!_0x40e251&&(!_0x1f6446||_0x534b53||_0x4fc5fc),_0x19276b=_0x38b3a0&&(0x2a==_0x167105||!_0x1cda02||_0x1f6446),_0x2555e4=_0x1cda02&&(0x2a==_0x167105||!_0x38b3a0||_0x4fc5fc);return _0x357358['append'](new InlineDelimiter(0x5f==_0x167105?HL:GL,_0x5b5b31,_0x29f26c,(_0x19276b?0x1:0x0)|(_0x2555e4?0x2:0x0)));},'HardBreak'(_0x56299f,_0x4fcdcd,_0x2737bf){if(0x5c==_0x4fcdcd&&0xa==_0x56299f['char'](_0x2737bf+0x1))return _0x56299f['append'](FL(lL['HardBreak'],_0x2737bf,_0x2737bf+0x2));if(0x20==_0x4fcdcd){let _0x571f93=_0x2737bf+0x1;for(;0x20==_0x56299f['char'](_0x571f93);)_0x571f93++;if(0xa==_0x56299f['char'](_0x571f93)&&_0x571f93>=_0x2737bf+0x2)return _0x56299f['append'](FL(lL['HardBreak'],_0x2737bf,_0x571f93+0x1));}return-0x1;},'Link':(_0x2c070c,_0xc0d857,_0x312000)=>0x5b==_0xc0d857?_0x2c070c['append'](new InlineDelimiter(ZL,_0x312000,_0x312000+0x1,0x1)):-0x1,'Image':(_0x1d1b81,_0x4668d8,_0x52ef74)=>0x21==_0x4668d8&&0x5b==_0x1d1b81['char'](_0x52ef74+0x1)?_0x1d1b81['append'](new InlineDelimiter(XL,_0x52ef74,_0x52ef74+0x2,0x1)):-0x1,'LinkEnd'(_0x305664,_0x276a0a,_0x460067){if(0x5d!=_0x276a0a)return-0x1;for(let _0x2a3b7d=_0x305664['parts']['length']-0x1;_0x2a3b7d>=0x0;_0x2a3b7d--){let _0x4bc753=_0x305664['parts'][_0x2a3b7d];if(_0x4bc753 instanceof InlineDelimiter&&(_0x4bc753['type']==ZL||_0x4bc753['type']==XL)){if(!_0x4bc753['side']||_0x305664['skipSpace'](_0x4bc753['to'])==_0x460067&&!/[(\[]/['test'](_0x305664['slice'](_0x460067+0x1,_0x460067+0x2)))return _0x305664['parts'][_0x2a3b7d]=null,-0x1;let _0x2b3505=_0x305664['takeContent'](_0x2a3b7d),_0x137ee3=_0x305664['parts'][_0x2a3b7d]=YL(_0x305664,_0x2b3505,_0x4bc753['type']==ZL?lL['Link']:lL['Image'],_0x4bc753['from'],_0x460067+0x1);if(_0x4bc753['type']==ZL)for(let _0x48ad02=0x0;_0x48ad02<_0x2a3b7d;_0x48ad02++){let _0x57914c=_0x305664['parts'][_0x48ad02];_0x57914c instanceof InlineDelimiter&&_0x57914c['type']==ZL&&(_0x57914c['side']=0x0);}return _0x137ee3['to'];}}return-0x1;}};function YL(_0x33c050,_0x48d87e,_0x596579,_0x379ca8,_0x3acbeb){let {text:_0x4b37a4}=_0x33c050,_0xafb156=_0x33c050['char'](_0x3acbeb),_0x41463c=_0x3acbeb;if(_0x48d87e['unshift'](FL(lL['LinkMark'],_0x379ca8,_0x379ca8+(_0x596579==lL['Image']?0x2:0x1))),_0x48d87e['push'](FL(lL['LinkMark'],_0x3acbeb-0x1,_0x3acbeb)),0x28==_0xafb156){let _0x3821c7,_0x379bb3=_0x33c050['skipSpace'](_0x3acbeb+0x1),_0xbf0f67=KL(_0x4b37a4,_0x379bb3-_0x33c050['offset'],_0x33c050['offset']);_0xbf0f67&&(_0x379bb3=_0x33c050['skipSpace'](_0xbf0f67['to']),_0x379bb3!=_0xbf0f67['to']&&(_0x3821c7=JL(_0x4b37a4,_0x379bb3-_0x33c050['offset'],_0x33c050['offset']),_0x3821c7&&(_0x379bb3=_0x33c050['skipSpace'](_0x3821c7['to'])))),0x29==_0x33c050['char'](_0x379bb3)&&(_0x48d87e['push'](FL(lL['LinkMark'],_0x3acbeb,_0x3acbeb+0x1)),_0x41463c=_0x379bb3+0x1,_0xbf0f67&&_0x48d87e['push'](_0xbf0f67),_0x3821c7&&_0x48d87e['push'](_0x3821c7),_0x48d87e['push'](FL(lL['LinkMark'],_0x379bb3,_0x41463c)));}else{if(0x5b==_0xafb156){let _0x3d3aab=t$(_0x4b37a4,_0x3acbeb-_0x33c050['offset'],_0x33c050['offset'],!0x1);_0x3d3aab&&(_0x48d87e['push'](_0x3d3aab),_0x41463c=_0x3d3aab['to']);}}return FL(_0x596579,_0x379ca8,_0x41463c,_0x48d87e);}function KL(_0x533aba,_0x1a7a21,_0x2944b6){if(0x3c==_0x533aba['charCodeAt'](_0x1a7a21)){for(let _0x21fc59=_0x1a7a21+0x1;_0x21fc59<_0x533aba['length'];_0x21fc59++){let _0x59bf46=_0x533aba['charCodeAt'](_0x21fc59);if(0x3e==_0x59bf46)return FL(lL['URL'],_0x1a7a21+_0x2944b6,_0x21fc59+0x1+_0x2944b6);if(0x3c==_0x59bf46||0xa==_0x59bf46)return!0x1;}return null;}{let _0x23e729=0x0,_0x184fc5=_0x1a7a21;for(let _0x1912f2=!0x1;_0x184fc5<_0x533aba['length'];_0x184fc5++){let _0x5bd7e9=_0x533aba['charCodeAt'](_0x184fc5);if(dL(_0x5bd7e9))break;if(_0x1912f2)_0x1912f2=!0x1;else{if(0x28==_0x5bd7e9)_0x23e729++;else{if(0x29==_0x5bd7e9){if(!_0x23e729)break;_0x23e729--;}else 0x5c==_0x5bd7e9&&(_0x1912f2=!0x0);}}}return _0x184fc5>_0x1a7a21?FL(lL['URL'],_0x1a7a21+_0x2944b6,_0x184fc5+_0x2944b6):_0x184fc5==_0x533aba['length']&&null;}}function JL(_0x467486,_0x20d3a6,_0x3fee2d){let _0x1c9592=_0x467486['charCodeAt'](_0x20d3a6);if(0x27!=_0x1c9592&&0x22!=_0x1c9592&&0x28!=_0x1c9592)return!0x1;let _0x107cb8=0x28==_0x1c9592?0x29:_0x1c9592;for(let _0x5228e8=_0x20d3a6+0x1,_0x33ce06=!0x1;_0x5228e8<_0x467486['length'];_0x5228e8++){let _0x43c4d4=_0x467486['charCodeAt'](_0x5228e8);if(_0x33ce06)_0x33ce06=!0x1;else{if(_0x43c4d4==_0x107cb8)return FL(lL['LinkTitle'],_0x20d3a6+_0x3fee2d,_0x5228e8+0x1+_0x3fee2d);0x5c==_0x43c4d4&&(_0x33ce06=!0x0);}}return null;}function t$(_0x48f918,_0x345033,_0x5a8b48,_0x5ac657){for(let _0x57fc26=!0x1,_0x5911e0=_0x345033+0x1,_0x330fd0=Math['min'](_0x48f918['length'],_0x5911e0+0x3e7);_0x5911e0<_0x330fd0;_0x5911e0++){let _0x30093d=_0x48f918['charCodeAt'](_0x5911e0);if(_0x57fc26)_0x57fc26=!0x1;else{if(0x5d==_0x30093d)return!_0x5ac657&&FL(lL['LinkLabel'],_0x345033+_0x5a8b48,_0x5911e0+0x1+_0x5a8b48);if(_0x5ac657&&!dL(_0x30093d)&&(_0x5ac657=!0x1),0x5b==_0x30093d)return!0x1;0x5c==_0x30093d&&(_0x57fc26=!0x0);}}return null;}class InlineContext{constructor(_0x3e1e17,_0x428cba,_0x18d7a1){this['parser']=_0x3e1e17,this['text']=_0x428cba,this['offset']=_0x18d7a1,this['parts']=[];}['char'](_0x3d98bb){return _0x3d98bb>=this['end']?-0x1:this['text']['charCodeAt'](_0x3d98bb-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x5f25ac,_0x5010cd){return this['text']['slice'](_0x5f25ac-this['offset'],_0x5010cd-this['offset']);}['append'](_0xfca464){return this['parts']['push'](_0xfca464),_0xfca464['to'];}['addDelimiter'](_0x3bf712,_0x12194f,_0xfea7b,_0x55009a,_0x40589f){return this['append'](new InlineDelimiter(_0x3bf712,_0x12194f,_0xfea7b,(_0x55009a?0x1:0x0)|(_0x40589f?0x2:0x0)));}get['hasOpenLink'](){for(let _0x3b7fba=this['parts']['length']-0x1;_0x3b7fba>=0x0;_0x3b7fba--){let _0x3c33b3=this['parts'][_0x3b7fba];if(_0x3c33b3 instanceof InlineDelimiter&&(_0x3c33b3['type']==ZL||_0x3c33b3['type']==XL))return!0x0;}return!0x1;}['addElement'](_0x7c1585){return this['append'](_0x7c1585);}['resolveMarkers'](_0x5530ba){for(let _0x102d8c=_0x5530ba;_0x102d8c<this['parts']['length'];_0x102d8c++){let _0x15d51c=this['parts'][_0x102d8c];if(!(_0x15d51c instanceof InlineDelimiter&&_0x15d51c['type']['resolve']&&0x2&_0x15d51c['side']))continue;let _0x5db983,_0xe34f43=_0x15d51c['type']==HL||_0x15d51c['type']==GL,_0x5b70d0=_0x15d51c['to']-_0x15d51c['from'],_0x1b161d=_0x102d8c-0x1;for(;_0x1b161d>=_0x5530ba;_0x1b161d--){let _0x5a130e=this['parts'][_0x1b161d];if(_0x5a130e instanceof InlineDelimiter&&0x1&_0x5a130e['side']&&_0x5a130e['type']==_0x15d51c['type']&&!(_0xe34f43&&(0x1&_0x15d51c['side']||0x2&_0x5a130e['side'])&&(_0x5a130e['to']-_0x5a130e['from']+_0x5b70d0)%0x3==0x0&&((_0x5a130e['to']-_0x5a130e['from'])%0x3||_0x5b70d0%0x3))){_0x5db983=_0x5a130e;break;}}if(!_0x5db983)continue;let _0x3bd29c=_0x15d51c['type']['resolve'],_0x1afc81=[],_0x38230f=_0x5db983['from'],_0x25d667=_0x15d51c['to'];if(_0xe34f43){let _0x2047c5=Math['min'](0x2,_0x5db983['to']-_0x5db983['from'],_0x5b70d0);_0x38230f=_0x5db983['to']-_0x2047c5,_0x25d667=_0x15d51c['from']+_0x2047c5,_0x3bd29c=0x1==_0x2047c5?'Emphasis':'StrongEmphasis';}_0x5db983['type']['mark']&&_0x1afc81['push'](this['elt'](_0x5db983['type']['mark'],_0x38230f,_0x5db983['to']));for(let _0x213013=_0x1b161d+0x1;_0x213013<_0x102d8c;_0x213013++)this['parts'][_0x213013]instanceof jL&&_0x1afc81['push'](this['parts'][_0x213013]),this['parts'][_0x213013]=null;_0x15d51c['type']['mark']&&_0x1afc81['push'](this['elt'](_0x15d51c['type']['mark'],_0x15d51c['from'],_0x25d667));let _0xb1b0ce=this['elt'](_0x3bd29c,_0x38230f,_0x25d667,_0x1afc81);this['parts'][_0x1b161d]=_0xe34f43&&_0x5db983['from']!=_0x38230f?new InlineDelimiter(_0x5db983['type'],_0x5db983['from'],_0x38230f,_0x5db983['side']):null,(this['parts'][_0x102d8c]=_0xe34f43&&_0x15d51c['to']!=_0x25d667?new InlineDelimiter(_0x15d51c['type'],_0x25d667,_0x15d51c['to'],_0x15d51c['side']):null)?this['parts']['splice'](_0x102d8c,0x0,_0xb1b0ce):this['parts'][_0x102d8c]=_0xb1b0ce;}let _0x115dac=[];for(let _0x3b798f=_0x5530ba;_0x3b798f<this['parts']['length'];_0x3b798f++){let _0x364a9c=this['parts'][_0x3b798f];_0x364a9c instanceof jL&&_0x115dac['push'](_0x364a9c);}return _0x115dac;}['findOpeningDelimiter'](_0x138be4){for(let _0x25f5df=this['parts']['length']-0x1;_0x25f5df>=0x0;_0x25f5df--){let _0x4f39b8=this['parts'][_0x25f5df];if(_0x4f39b8 instanceof InlineDelimiter&&_0x4f39b8['type']==_0x138be4&&0x1&_0x4f39b8['side'])return _0x25f5df;}return null;}['takeContent'](_0x5d392d){let _0x5f691f=this['resolveMarkers'](_0x5d392d);return this['parts']['length']=_0x5d392d,_0x5f691f;}['getDelimiterAt'](_0x4d70d9){let _0x48bcd4=this['parts'][_0x4d70d9];return _0x48bcd4 instanceof InlineDelimiter?_0x48bcd4:null;}['skipSpace'](_0x35de96){return fL(this['text'],_0x35de96-this['offset'])+this['offset'];}['elt'](_0x29cf62,_0x1e0217,_0x134a56,_0x12ef6b){return'string'==typeof _0x29cf62?FL(this['parser']['getNodeType'](_0x29cf62),_0x1e0217,_0x134a56,_0x12ef6b):new TreeElement(_0x29cf62,_0x1e0217);}}function e$(_0x39f9fc,_0x5c0c61){if(!_0x5c0c61['length'])return _0x39f9fc;if(!_0x39f9fc['length'])return _0x5c0c61;let _0x3f3bd1=_0x39f9fc['slice'](),_0x2859a4=0x0;for(let _0x492cac of _0x5c0c61){for(;_0x2859a4<_0x3f3bd1['length']&&_0x3f3bd1[_0x2859a4]['to']<_0x492cac['to'];)_0x2859a4++;if(_0x2859a4<_0x3f3bd1['length']&&_0x3f3bd1[_0x2859a4]['from']<_0x492cac['from']){let _0x24bee1=_0x3f3bd1[_0x2859a4];_0x24bee1 instanceof jL&&(_0x3f3bd1[_0x2859a4]=new jL(_0x24bee1['type'],_0x24bee1['from'],_0x24bee1['to'],e$(_0x24bee1['children'],[_0x492cac])));}else _0x3f3bd1['splice'](_0x2859a4++,0x0,_0x492cac);}return _0x3f3bd1;}InlineContext['linkStart']=ZL,InlineContext['imageStart']=XL;const i$=[lL['CodeBlock'],lL['ListItem'],lL['OrderedList'],lL['BulletList']];class FragmentCursor{constructor(_0x1ab641,_0x478d18){this['fragments']=_0x1ab641,this['input']=_0x478d18,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x1ab641['length']&&(this['fragment']=_0x1ab641[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x553632,_0x1998c9){for(;this['fragment']&&this['fragment']['to']<=_0x553632;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x553632?_0x553632-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x1e0533=this['fragment']['to'];for(;_0x1e0533>0x0&&'\x0a'!=this['input']['read'](_0x1e0533-0x1,_0x1e0533);)_0x1e0533--;this['fragmentEnd']=_0x1e0533?_0x1e0533-0x1:0x0;}let _0x1b7ff4=this['cursor'];_0x1b7ff4||(_0x1b7ff4=this['cursor']=this['fragment']['tree']['cursor'](),_0x1b7ff4['firstChild']());let _0xea2bc8=_0x553632+this['fragment']['offset'];for(;_0x1b7ff4['to']<=_0xea2bc8;)if(!_0x1b7ff4['parent']())return!0x1;for(;;){if(_0x1b7ff4['from']>=_0xea2bc8)return this['fragment']['from']<=_0x1998c9;if(!_0x1b7ff4['childAfter'](_0xea2bc8))return!0x1;}}['matches'](_0x3c87d6){let _0x2240c7=this['cursor']['tree'];return _0x2240c7&&_0x2240c7['prop'](NodeProp['contextHash'])==_0x3c87d6;}['takeNodes'](_0x1431bd){let _0x54a755=this['cursor'],_0x4e8c25=this['fragment']['offset'],_0x1d4a3c=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0xb02ae=_0x1431bd['absoluteLineStart'],_0x5832ee=_0xb02ae,_0x3969c2=_0x1431bd['block']['children']['length'],_0x4b4902=_0x5832ee,_0x7dca24=_0x3969c2;for(;;){if(_0x54a755['to']-_0x4e8c25>_0x1d4a3c){if(_0x54a755['type']['isAnonymous']&&_0x54a755['firstChild']())continue;break;}let _0x23c5c9=s$(_0x54a755['from']-_0x4e8c25,_0x1431bd['ranges']);if(_0x54a755['to']-_0x4e8c25<=_0x1431bd['ranges'][_0x1431bd['rangeI']]['to'])_0x1431bd['addNode'](_0x54a755['tree'],_0x23c5c9);else{let _0x3145a4=new Tree(_0x1431bd['parser']['nodeSet']['types'][lL['Paragraph']],[],[],0x0,_0x1431bd['block']['hashProp']);_0x1431bd['reusePlaceholders']['set'](_0x3145a4,_0x54a755['tree']),_0x1431bd['addNode'](_0x3145a4,_0x23c5c9);}if(_0x54a755['type']['is']('Block')&&(i$['indexOf'](_0x54a755['type']['id'])<0x0?(_0x5832ee=_0x54a755['to']-_0x4e8c25,_0x3969c2=_0x1431bd['block']['children']['length']):(_0x5832ee=_0x4b4902,_0x3969c2=_0x7dca24,_0x4b4902=_0x54a755['to']-_0x4e8c25,_0x7dca24=_0x1431bd['block']['children']['length'])),!_0x54a755['nextSibling']())break;}for(;_0x1431bd['block']['children']['length']>_0x3969c2;)_0x1431bd['block']['children']['pop'](),_0x1431bd['block']['positions']['pop']();return _0x5832ee-_0xb02ae;}}function s$(_0x4056f6,_0x21b2e6){let _0x1d2fab=_0x4056f6;for(let _0x12d911=0x1;_0x12d911<_0x21b2e6['length'];_0x12d911++){let _0x54a7c0=_0x21b2e6[_0x12d911-0x1]['to'],_0x27dda1=_0x21b2e6[_0x12d911]['from'];_0x54a7c0<_0x4056f6&&(_0x1d2fab-=_0x27dda1-_0x54a7c0);}return _0x1d2fab;}const n$=hC({'Blockquote/...':CC['quote'],'HorizontalRule':CC['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':CC['heading1'],'ATXHeading2/...\x20SetextHeading2/...':CC['heading2'],'ATXHeading3/...':CC['heading3'],'ATXHeading4/...':CC['heading4'],'ATXHeading5/...':CC['heading5'],'ATXHeading6/...':CC['heading6'],'Comment\x20CommentBlock':CC['comment'],'Escape':CC['escape'],'Entity':CC['character'],'Emphasis/...':CC['emphasis'],'StrongEmphasis/...':CC['strong'],'Link/...\x20Image/...':CC['link'],'OrderedList/...\x20BulletList/...':CC['list'],'BlockQuote/...':CC['quote'],'InlineCode\x20CodeText':CC['monospace'],'URL\x20Autolink':CC['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':CC['processingInstruction'],'CodeInfo\x20LinkLabel':CC['labelName'],'LinkTitle':CC['string'],'Paragraph':CC['content']}),r$=new MarkdownParser(new NodeSet(VL)['extend'](n$),Object['keys'](xL)['map'](_0x163572=>xL[_0x163572]),Object['keys'](xL)['map'](_0x28cc87=>PL[_0x28cc87]),Object['keys'](xL),ML,uL,Object['keys'](zL)['map'](_0x1f5f2e=>zL[_0x1f5f2e]),Object['keys'](zL),[]);function o$(_0x40c0a4,_0x42a2fc,_0x4e5a60){let _0x436baa=[];for(let _0x2ac029=_0x40c0a4['firstChild'],_0x2689c7=_0x42a2fc;;_0x2ac029=_0x2ac029['nextSibling']){let _0x25a9f0=_0x2ac029?_0x2ac029['from']:_0x4e5a60;if(_0x25a9f0>_0x2689c7&&_0x436baa['push']({'from':_0x2689c7,'to':_0x25a9f0}),!_0x2ac029)break;_0x2689c7=_0x2ac029['to'];}return _0x436baa;}const a$={'resolve':'Strikethrough','mark':'StrikethroughMark'},c$={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':CC['strikethrough']}},{'name':'StrikethroughMark','style':CC['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0xa794c3,_0x4526e9,_0x36cc87){if(0x7e!=_0x4526e9||0x7e!=_0xa794c3['char'](_0x36cc87+0x1)||0x7e==_0xa794c3['char'](_0x36cc87+0x2))return-0x1;let _0x497b91=_0xa794c3['slice'](_0x36cc87-0x1,_0x36cc87),_0x50557e=_0xa794c3['slice'](_0x36cc87+0x2,_0x36cc87+0x3),_0x3f7b33=/\s|^$/['test'](_0x497b91),_0x3c81bc=/\s|^$/['test'](_0x50557e),_0x36e67e=WL['test'](_0x497b91),_0x55d9ce=WL['test'](_0x50557e);return _0xa794c3['addDelimiter'](a$,_0x36cc87,_0x36cc87+0x2,!_0x3c81bc&&(!_0x55d9ce||_0x3f7b33||_0x36e67e),!_0x3f7b33&&(!_0x36e67e||_0x3c81bc||_0x55d9ce));},'after':'Emphasis'}]};function l$(_0x4bc93b,_0xc87191,_0x388b00=0x0,_0x37f84,_0x4bfcd5=0x0){let _0x1f6250=0x0,_0x4dad3a=!0x0,_0x22d6e6=-0x1,_0x384f79=-0x1,_0x11a14e=!0x1,_0x468928=()=>{_0x37f84['push'](_0x4bc93b['elt']('TableCell',_0x4bfcd5+_0x22d6e6,_0x4bfcd5+_0x384f79,_0x4bc93b['parser']['parseInline'](_0xc87191['slice'](_0x22d6e6,_0x384f79),_0x4bfcd5+_0x22d6e6)));};for(let _0x516fb7=_0x388b00;_0x516fb7<_0xc87191['length'];_0x516fb7++){let _0x7db9aa=_0xc87191['charCodeAt'](_0x516fb7);0x7c!=_0x7db9aa||_0x11a14e?(_0x11a14e||0x20!=_0x7db9aa&&0x9!=_0x7db9aa)&&(_0x22d6e6<0x0&&(_0x22d6e6=_0x516fb7),_0x384f79=_0x516fb7+0x1):((!_0x4dad3a||_0x22d6e6>-0x1)&&_0x1f6250++,_0x4dad3a=!0x1,_0x37f84&&(_0x22d6e6>-0x1&&_0x468928(),_0x37f84['push'](_0x4bc93b['elt']('TableDelimiter',_0x516fb7+_0x4bfcd5,_0x516fb7+_0x4bfcd5+0x1))),_0x22d6e6=_0x384f79=-0x1),_0x11a14e=!_0x11a14e&&0x5c==_0x7db9aa;}return _0x22d6e6>-0x1&&(_0x1f6250++,_0x37f84&&_0x468928()),_0x1f6250;}function h$(_0x27474f,_0x26753c){for(let _0x3c91df=_0x26753c;_0x3c91df<_0x27474f['length'];_0x3c91df++){let _0x50f17b=_0x27474f['charCodeAt'](_0x3c91df);if(0x7c==_0x50f17b)return!0x0;0x5c==_0x50f17b&&_0x3c91df++;}return!0x1;}const u$=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class TableParser{constructor(){this['rows']=null;}['nextLine'](_0x1aa44a,_0x4c5979,_0x7d9472){if(null==this['rows']){let _0x4bbd06;if(this['rows']=!0x1,(0x2d==_0x4c5979['next']||0x3a==_0x4c5979['next']||0x7c==_0x4c5979['next'])&&u$['test'](_0x4bbd06=_0x4c5979['text']['slice'](_0x4c5979['pos']))){let _0x1f2033=[];l$(_0x1aa44a,_0x7d9472['content'],0x0,_0x1f2033,_0x7d9472['start'])==l$(_0x1aa44a,_0x4bbd06,_0x4c5979['pos'])&&(this['rows']=[_0x1aa44a['elt']('TableHeader',_0x7d9472['start'],_0x7d9472['start']+_0x7d9472['content']['length'],_0x1f2033),_0x1aa44a['elt']('TableDelimiter',_0x1aa44a['lineStart']+_0x4c5979['pos'],_0x1aa44a['lineStart']+_0x4c5979['text']['length'])]);}}else{if(this['rows']){let _0x4e5f5d=[];l$(_0x1aa44a,_0x4c5979['text'],_0x4c5979['pos'],_0x4e5f5d,_0x1aa44a['lineStart']),this['rows']['push'](_0x1aa44a['elt']('TableRow',_0x1aa44a['lineStart']+_0x4c5979['pos'],_0x1aa44a['lineStart']+_0x4c5979['text']['length'],_0x4e5f5d));}}return!0x1;}['finish'](_0x1507f4,_0x444bac){return!!this['rows']&&(_0x1507f4['addLeafElement'](_0x444bac,_0x1507f4['elt']('Table',_0x444bac['start'],_0x444bac['start']+_0x444bac['content']['length'],this['rows'])),!0x0);}}const d$={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':CC['heading']}},'TableRow',{'name':'TableCell','style':CC['content']},{'name':'TableDelimiter','style':CC['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x12ec49,_0x43bd5a)=>h$(_0x43bd5a['content'],0x0)?new TableParser():null,'endLeaf'(_0x91ddac,_0x3b0d1b,_0x51ffb9){if(_0x51ffb9['parsers']['some'](_0x62ca0f=>_0x62ca0f instanceof TableParser)||!h$(_0x3b0d1b['text'],_0x3b0d1b['basePos']))return!0x1;let _0x518089=_0x91ddac['peekLine']();return u$['test'](_0x518089)&&l$(_0x91ddac,_0x3b0d1b['text'],_0x3b0d1b['basePos'])==l$(_0x91ddac,_0x518089,_0x3b0d1b['basePos']);},'before':'SetextHeading'}]};class TaskParser{['nextLine'](){return!0x1;}['finish'](_0x1b9fbd,_0x7d25b2){return _0x1b9fbd['addLeafElement'](_0x7d25b2,_0x1b9fbd['elt']('Task',_0x7d25b2['start'],_0x7d25b2['start']+_0x7d25b2['content']['length'],[_0x1b9fbd['elt']('TaskMarker',_0x7d25b2['start'],_0x7d25b2['start']+0x3),..._0x1b9fbd['parser']['parseInline'](_0x7d25b2['content']['slice'](0x3),_0x7d25b2['start']+0x3)])),!0x0;}}const f$={'defineNodes':[{'name':'Task','block':!0x0,'style':CC['list']},{'name':'TaskMarker','style':CC['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0xd8202d,_0x52fe7f)=>/^\[[ xX]\][ \t]/['test'](_0x52fe7f['content'])&&'ListItem'==_0xd8202d['parentType']()['name']?new TaskParser():null,'after':'SetextHeading'}]},m$=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,g$=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,p$=/[\w-]+\.[\w-]+($|\/)/,O$=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,w$=/\/[a-zA-Z\d@.]+/gy;function b$(_0x2a17a4,_0x4e476d,_0x28341e,_0x27d1d1){let _0x52472f=0x0;for(let _0x4e11d0=_0x4e476d;_0x4e11d0<_0x28341e;_0x4e11d0++)_0x2a17a4[_0x4e11d0]==_0x27d1d1&&_0x52472f++;return _0x52472f;}function y$(_0x2a1d9c,_0x20777d){O$['lastIndex']=_0x20777d;let _0x116d0f=O$['exec'](_0x2a1d9c);if(!_0x116d0f)return-0x1;let _0x18714=_0x116d0f[0x0][_0x116d0f[0x0]['length']-0x1];return'_'==_0x18714||'-'==_0x18714?-0x1:_0x20777d+_0x116d0f[0x0]['length']-('.'==_0x18714?0x1:0x0);}const v$={'parseInline':[{'name':'Autolink','parse'(_0x25e24d,_0x524e49,_0x15ea18){let _0x3b9e45=_0x15ea18-_0x25e24d['offset'];if(_0x3b9e45&&/\w/['test'](_0x25e24d['text'][_0x3b9e45-0x1]))return-0x1;m$['lastIndex']=_0x3b9e45;let _0x427a77=m$['exec'](_0x25e24d['text']),_0x2b8c71=-0x1;if(!_0x427a77)return-0x1;if(_0x427a77[0x1]||_0x427a77[0x2])(_0x2b8c71=function(_0x632b04,_0x3c3b29){g$['lastIndex']=_0x3c3b29;let _0x4b8824=g$['exec'](_0x632b04);if(!_0x4b8824||p$['exec'](_0x4b8824[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x33df10=_0x3c3b29+_0x4b8824[0x0]['length'];for(;;){let _0x4d285f,_0x36dafc=_0x632b04[_0x33df10-0x1];if(/[?!.,:*_~]/['test'](_0x36dafc)||')'==_0x36dafc&&b$(_0x632b04,_0x3c3b29,_0x33df10,')')>b$(_0x632b04,_0x3c3b29,_0x33df10,'('))_0x33df10--;else{if(';'!=_0x36dafc||!(_0x4d285f=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x632b04['slice'](_0x3c3b29,_0x33df10))))break;_0x33df10=_0x3c3b29+_0x4d285f['index'];}}return _0x33df10;}(_0x25e24d['text'],_0x3b9e45+_0x427a77[0x0]['length']),_0x2b8c71>-0x1&&_0x25e24d['hasOpenLink'])&&(_0x2b8c71=_0x3b9e45+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x25e24d['text']['slice'](_0x3b9e45,_0x2b8c71))[0x0]['length']);else _0x427a77[0x3]?_0x2b8c71=y$(_0x25e24d['text'],_0x3b9e45):(_0x2b8c71=y$(_0x25e24d['text'],_0x3b9e45+_0x427a77[0x0]['length']),_0x2b8c71>-0x1&&'xmpp:'==_0x427a77[0x0]&&(w$['lastIndex']=_0x2b8c71,_0x427a77=w$['exec'](_0x25e24d['text']),_0x427a77&&(_0x2b8c71=_0x427a77['index']+_0x427a77[0x0]['length'])));return _0x2b8c71<0x0?-0x1:(_0x25e24d['addElement'](_0x25e24d['elt']('URL',_0x15ea18,_0x2b8c71+_0x25e24d['offset'])),_0x2b8c71+_0x25e24d['offset']);}}]},_$=[d$,f$,c$,v$];function E$(_0x3375a5,_0x4cf5dc,_0x35191c){return(_0x59a264,_0x56637a,_0x1d790a)=>{if(_0x56637a!=_0x3375a5||_0x59a264['char'](_0x1d790a+0x1)==_0x3375a5)return-0x1;let _0x1bbb13=[_0x59a264['elt'](_0x35191c,_0x1d790a,_0x1d790a+0x1)];for(let _0x574068=_0x1d790a+0x1;_0x574068<_0x59a264['end'];_0x574068++){let _0x21a8f0=_0x59a264['char'](_0x574068);if(_0x21a8f0==_0x3375a5)return _0x59a264['addElement'](_0x59a264['elt'](_0x4cf5dc,_0x1d790a,_0x574068+0x1,_0x1bbb13['concat'](_0x59a264['elt'](_0x35191c,_0x574068,_0x574068+0x1))));if(0x5c==_0x21a8f0&&_0x1bbb13['push'](_0x59a264['elt']('Escape',_0x574068,0x2+_0x574068++)),dL(_0x21a8f0))break;}return-0x1;};}const T$={'defineNodes':[{'name':'Superscript','style':CC['special'](CC['content'])},{'name':'SuperscriptMark','style':CC['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':E$(0x5e,'Superscript','SuperscriptMark')}]},A$={'defineNodes':[{'name':'Subscript','style':CC['special'](CC['content'])},{'name':'SubscriptMark','style':CC['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':E$(0x7e,'Subscript','SubscriptMark')}]},S$={'defineNodes':[{'name':'Emoji','style':CC['character']}],'parseInline':[{'name':'Emoji','parse'(_0x512ff3,_0x45f8d6,_0xcf0b72){let _0x383622;return 0x3a==_0x45f8d6&&(_0x383622=/^[a-zA-Z_0-9]+:/['exec'](_0x512ff3['slice'](_0xcf0b72+0x1,_0x512ff3['end'])))?_0x512ff3['addElement'](_0x512ff3['elt']('Emoji',_0xcf0b72,_0xcf0b72+0x1+_0x383622[0x0]['length'])):-0x1;}}]},I$=RC({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),C$=new NodeProp(),k$=r$['configure']({'props':[ik['add'](_0x2afff7=>!_0x2afff7['is']('Block')||_0x2afff7['is']('Document')||null!=x$(_0x2afff7)||function(_0x313995){return'OrderedList'==_0x313995['name']||'BulletList'==_0x313995['name'];}(_0x2afff7)?void 0x0:(_0x32dc5b,_0x4f592e)=>({'from':_0x4f592e['doc']['lineAt'](_0x32dc5b['from'])['to'],'to':_0x32dc5b['to']})),C$['add'](x$),ZC['add']({'Document':()=>null}),xC['add']({'Document':I$})]});function x$(_0x5dca27){let _0x5dca90=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x5dca27['name']);return _0x5dca90?+_0x5dca90[0x1]:void 0x0;}function R$(_0x463c8c,_0x5e5d1e){let _0x350e66=_0x463c8c;for(;;){let _0x408310,_0x2e68e8=_0x350e66['nextSibling'];if(!_0x2e68e8||null!=(_0x408310=x$(_0x2e68e8['type']))&&_0x408310<=_0x5e5d1e)break;_0x350e66=_0x2e68e8;}return _0x350e66['to'];}const P$=ek['of']((_0x534168,_0x2419f1,_0x407a53)=>{for(let _0x5eee11=NC(_0x534168)['resolveInner'](_0x407a53,-0x1);_0x5eee11&&!(_0x5eee11['from']<_0x2419f1);_0x5eee11=_0x5eee11['parent']){let _0x9672ce=_0x5eee11['type']['prop'](C$);if(null==_0x9672ce)continue;let _0x337b41=R$(_0x5eee11,_0x9672ce);if(_0x337b41>_0x407a53)return{'from':_0x407a53,'to':_0x337b41};}return null;});function M$(_0x307742){return new Language(I$,_0x307742,[P$],'markdown');}const N$=M$(k$),L$=M$(k$['configure']([_$,A$,T$,S$,{'props':[ik['add']({'Table':(_0x15c77b,_0x36d998)=>({'from':_0x36d998['doc']['lineAt'](_0x15c77b['from'])['to'],'to':_0x15c77b['to']})})]}]));class Context{constructor(_0x297fe4,_0x369296,_0x2ca811,_0x39e0f2,_0x56bb15,_0x17991b,_0x4ae75e){this['node']=_0x297fe4,this['from']=_0x369296,this['to']=_0x2ca811,this['spaceBefore']=_0x39e0f2,this['spaceAfter']=_0x56bb15,this['type']=_0x17991b,this['item']=_0x4ae75e;}['blank'](_0x4fbbea,_0x548b2e=!0x0){let _0x5662fc=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x4fbbea){for(;_0x5662fc['length']<_0x4fbbea;)_0x5662fc+='\x20';return _0x5662fc;}for(let _0x4709d0=this['to']-this['from']-_0x5662fc['length']-this['spaceAfter']['length'];_0x4709d0>0x0;_0x4709d0--)_0x5662fc+='\x20';return _0x5662fc+(_0x548b2e?this['spaceAfter']:'');}['marker'](_0x233d7f,_0x4f69c0){let _0xd0d830='OrderedList'==this['node']['name']?String(+D$(this['item'],_0x233d7f)[0x2]+_0x4f69c0):'';return this['spaceBefore']+_0xd0d830+this['type']+this['spaceAfter'];}}function $$(_0x2adef6,_0x15bc4c){let _0x36250a=[],_0x50a6ab=[];for(let _0x1f9a50=_0x2adef6;_0x1f9a50;_0x1f9a50=_0x1f9a50['parent']){if('FencedCode'==_0x1f9a50['name'])return _0x50a6ab;'ListItem'!=_0x1f9a50['name']&&'Blockquote'!=_0x1f9a50['name']||_0x36250a['push'](_0x1f9a50);}for(let _0x27b75b=_0x36250a['length']-0x1;_0x27b75b>=0x0;_0x27b75b--){let _0x227692,_0x5af162=_0x36250a[_0x27b75b],_0x49885c=_0x15bc4c['lineAt'](_0x5af162['from']),_0x4a68a9=_0x5af162['from']-_0x49885c['from'];if('Blockquote'==_0x5af162['name']&&(_0x227692=/^ *>( ?)/['exec'](_0x49885c['text']['slice'](_0x4a68a9))))_0x50a6ab['push'](new Context(_0x5af162,_0x4a68a9,_0x4a68a9+_0x227692[0x0]['length'],'',_0x227692[0x1],'>',null));else{if('ListItem'==_0x5af162['name']&&'OrderedList'==_0x5af162['parent']['name']&&(_0x227692=/^( *)\d+([.)])( *)/['exec'](_0x49885c['text']['slice'](_0x4a68a9)))){let _0x14408b=_0x227692[0x3],_0x59ac1c=_0x227692[0x0]['length'];_0x14408b['length']>=0x4&&(_0x14408b=_0x14408b['slice'](0x0,_0x14408b['length']-0x4),_0x59ac1c-=0x4),_0x50a6ab['push'](new Context(_0x5af162['parent'],_0x4a68a9,_0x4a68a9+_0x59ac1c,_0x227692[0x1],_0x14408b,_0x227692[0x2],_0x5af162));}else{if('ListItem'==_0x5af162['name']&&'BulletList'==_0x5af162['parent']['name']&&(_0x227692=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x49885c['text']['slice'](_0x4a68a9)))){let _0x50488e=_0x227692[0x4],_0x58ee50=_0x227692[0x0]['length'];_0x50488e['length']>0x4&&(_0x50488e=_0x50488e['slice'](0x0,_0x50488e['length']-0x4),_0x58ee50-=0x4);let _0x2ba3e0=_0x227692[0x2];_0x227692[0x3]&&(_0x2ba3e0+=_0x227692[0x3]['replace'](/[xX]/,'\x20')),_0x50a6ab['push'](new Context(_0x5af162['parent'],_0x4a68a9,_0x4a68a9+_0x58ee50,_0x227692[0x1],_0x50488e,_0x2ba3e0,_0x5af162));}}}}return _0x50a6ab;}function D$(_0x34a3f8,_0x2bbdcc){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x2bbdcc['sliceString'](_0x34a3f8['from'],_0x34a3f8['from']+0xa));}function Q$(_0xb8fea,_0x23a2d9,_0x4e080a,_0x1603d8=0x0){for(let _0x4be567=-0x1,_0x441477=_0xb8fea;;){if('ListItem'==_0x441477['name']){let _0x4211ae=D$(_0x441477,_0x23a2d9),_0x2595a7=+_0x4211ae[0x2];if(_0x4be567>=0x0){if(_0x2595a7!=_0x4be567+0x1)return;_0x4e080a['push']({'from':_0x441477['from']+_0x4211ae[0x1]['length'],'to':_0x441477['from']+_0x4211ae[0x0]['length'],'insert':String(_0x4be567+0x2+_0x1603d8)});}_0x4be567=_0x2595a7;}let _0x22c75a=_0x441477['nextSibling'];if(!_0x22c75a)break;_0x441477=_0x22c75a;}}function V$(_0x168c36,_0x9ec8f5){let _0x540fdb=/^[ \t]*/['exec'](_0x168c36)[0x0]['length'];if(!_0x540fdb||'\x09'!=_0x9ec8f5['facet'](jC))return _0x168c36;let _0x4ad618='';for(let _0x91c610=W_(_0x168c36,0x4,_0x540fdb);_0x91c610>0x0;)_0x91c610>=0x4?(_0x4ad618+='\x09',_0x91c610-=0x4):(_0x4ad618+='\x20',_0x91c610--);return _0x4ad618+_0x168c36['slice'](_0x540fdb);}function U$(_0x23bcf8){return'QuoteMark'==_0x23bcf8['name']||'ListMark'==_0x23bcf8['name'];}function B$(_0x289c40,_0x2a32b4,_0x42a6cb){let _0x51d2d6='';for(let _0x1071bb=0x0,_0x1748b4=_0x289c40['length']-0x2;_0x1071bb<=_0x1748b4;_0x1071bb++)_0x51d2d6+=_0x289c40[_0x1071bb]['blank'](_0x1071bb<_0x1748b4?W_(_0x42a6cb['text'],0x4,Math['min'](_0x42a6cb['text']['length'],_0x289c40[_0x1071bb+0x1]['from']))-_0x51d2d6['length']:null,_0x1071bb<_0x1748b4);return V$(_0x51d2d6,_0x2a32b4);}const j$=[{'key':'Enter','run':({state:_0x112e3d,dispatch:_0x42255})=>{let _0x15762a=NC(_0x112e3d),{doc:_0x4a41b9}=_0x112e3d,_0x5b3925=null,_0x280f51=_0x112e3d['changeByRange'](_0x5cc1e1=>{if(!_0x5cc1e1['empty']||!L$['isActiveAt'](_0x112e3d,_0x5cc1e1['from'],0x0))return _0x5b3925={'range':_0x5cc1e1};let _0x235a3a=_0x5cc1e1['from'],_0x55dc2c=_0x4a41b9['lineAt'](_0x235a3a),_0x51c88b=$$(_0x15762a['resolveInner'](_0x235a3a,-0x1),_0x4a41b9);for(;_0x51c88b['length']&&_0x51c88b[_0x51c88b['length']-0x1]['from']>_0x235a3a-_0x55dc2c['from'];)_0x51c88b['pop']();if(!_0x51c88b['length'])return _0x5b3925={'range':_0x5cc1e1};let _0x5898f6=_0x51c88b[_0x51c88b['length']-0x1];if(_0x5898f6['to']-_0x5898f6['spaceAfter']['length']>_0x235a3a-_0x55dc2c['from'])return _0x5b3925={'range':_0x5cc1e1};let _0x16799e=_0x235a3a>=_0x5898f6['to']-_0x5898f6['spaceAfter']['length']&&!/\S/['test'](_0x55dc2c['text']['slice'](_0x5898f6['to']));if(_0x5898f6['item']&&_0x16799e){let _0x39777e=_0x5898f6['node']['firstChild'],_0x114f14=_0x5898f6['node']['getChild']('ListItem','ListItem');if(_0x39777e['to']>=_0x235a3a||_0x114f14&&_0x114f14['to']<_0x235a3a||_0x55dc2c['from']>0x0&&!/[^\s>]/['test'](_0x4a41b9['lineAt'](_0x55dc2c['from']-0x1)['text'])){let _0x3962d0,_0x2435ca=_0x51c88b['length']>0x1?_0x51c88b[_0x51c88b['length']-0x2]:null,_0x42d31f='';_0x2435ca&&_0x2435ca['item']?(_0x3962d0=_0x55dc2c['from']+_0x2435ca['from'],_0x42d31f=_0x2435ca['marker'](_0x4a41b9,0x1)):_0x3962d0=_0x55dc2c['from']+(_0x2435ca?_0x2435ca['to']:0x0);let _0x4fc3a0=[{'from':_0x3962d0,'to':_0x235a3a,'insert':_0x42d31f}];return'OrderedList'==_0x5898f6['node']['name']&&Q$(_0x5898f6['item'],_0x4a41b9,_0x4fc3a0,-0x2),_0x2435ca&&'OrderedList'==_0x2435ca['node']['name']&&Q$(_0x2435ca['item'],_0x4a41b9,_0x4fc3a0),{'range':EditorSelection['cursor'](_0x3962d0+_0x42d31f['length']),'changes':_0x4fc3a0};}{let _0x42f957=B$(_0x51c88b,_0x112e3d,_0x55dc2c);return{'range':EditorSelection['cursor'](_0x235a3a+_0x42f957['length']+0x1),'changes':{'from':_0x55dc2c['from'],'insert':_0x42f957+_0x112e3d['lineBreak']}};}}if('Blockquote'==_0x5898f6['node']['name']&&_0x16799e&&_0x55dc2c['from']){let _0x578a79=_0x4a41b9['lineAt'](_0x55dc2c['from']-0x1),_0x154e8d=/>\s*$/['exec'](_0x578a79['text']);if(_0x154e8d&&_0x154e8d['index']==_0x5898f6['from']){let _0x2f2927=_0x112e3d['changes']([{'from':_0x578a79['from']+_0x154e8d['index'],'to':_0x578a79['to']},{'from':_0x55dc2c['from']+_0x5898f6['from'],'to':_0x55dc2c['to']}]);return{'range':_0x5cc1e1['map'](_0x2f2927),'changes':_0x2f2927};}}let _0x45e51d=[];'OrderedList'==_0x5898f6['node']['name']&&Q$(_0x5898f6['item'],_0x4a41b9,_0x45e51d);let _0x22911f=_0x5898f6['item']&&_0x5898f6['item']['from']<_0x55dc2c['from'],_0xeca335='';if(!_0x22911f||/^[\s\d.)\-+*>]*/['exec'](_0x55dc2c['text'])[0x0]['length']>=_0x5898f6['to']){for(let _0x541a15=0x0,_0x3a981f=_0x51c88b['length']-0x1;_0x541a15<=_0x3a981f;_0x541a15++)_0xeca335+=_0x541a15!=_0x3a981f||_0x22911f?_0x51c88b[_0x541a15]['blank'](_0x541a15<_0x3a981f?W_(_0x55dc2c['text'],0x4,_0x51c88b[_0x541a15+0x1]['from'])-_0xeca335['length']:null):_0x51c88b[_0x541a15]['marker'](_0x4a41b9,0x1);}let _0xdd12a4=_0x235a3a;for(;_0xdd12a4>_0x55dc2c['from']&&/\s/['test'](_0x55dc2c['text']['charAt'](_0xdd12a4-_0x55dc2c['from']-0x1));)_0xdd12a4--;return _0xeca335=V$(_0xeca335,_0x112e3d),function(_0x51774b,_0x17a247){if('OrderedList'!=_0x51774b['name']&&'BulletList'!=_0x51774b['name'])return!0x1;let _0x27935c=_0x51774b['firstChild'],_0x123602=_0x51774b['getChild']('ListItem','ListItem');if(!_0x123602)return!0x1;let _0x277937=_0x17a247['lineAt'](_0x27935c['to']),_0x3a998d=_0x17a247['lineAt'](_0x123602['from']),_0x122d05=/^[\s>]*$/['test'](_0x277937['text']);return _0x277937['number']+(_0x122d05?0x0:0x1)<_0x3a998d['number'];}(_0x5898f6['node'],_0x112e3d['doc'])&&(_0xeca335=B$(_0x51c88b,_0x112e3d,_0x55dc2c)+_0x112e3d['lineBreak']+_0xeca335),_0x45e51d['push']({'from':_0xdd12a4,'to':_0x235a3a,'insert':_0x112e3d['lineBreak']+_0xeca335}),{'range':EditorSelection['cursor'](_0xdd12a4+_0xeca335['length']+0x1),'changes':_0x45e51d};});return!_0x5b3925&&(_0x42255(_0x112e3d['update'](_0x280f51,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x3c6dcd,dispatch:_0x2cb010})=>{let _0x57cc3b=NC(_0x3c6dcd),_0x29fb63=null,_0xa2908c=_0x3c6dcd['changeByRange'](_0xf381e2=>{let _0x51d2c8=_0xf381e2['from'],{doc:_0x236160}=_0x3c6dcd;if(_0xf381e2['empty']&&L$['isActiveAt'](_0x3c6dcd,_0xf381e2['from'])){let _0x44ce7f=_0x236160['lineAt'](_0x51d2c8),_0x3c0e74=$$(function(_0x2abeb0,_0x4a4496){let _0x442955=_0x2abeb0['resolveInner'](_0x4a4496,-0x1),_0x534493=_0x4a4496;U$(_0x442955)&&(_0x534493=_0x442955['from'],_0x442955=_0x442955['parent']);for(let _0x2a2bfd;_0x2a2bfd=_0x442955['childBefore'](_0x534493);)if(U$(_0x2a2bfd))_0x534493=_0x2a2bfd['from'];else{if('OrderedList'!=_0x2a2bfd['name']&&'BulletList'!=_0x2a2bfd['name'])break;_0x442955=_0x2a2bfd['lastChild'],_0x534493=_0x442955['to'];}return _0x442955;}(_0x57cc3b,_0x51d2c8),_0x236160);if(_0x3c0e74['length']){let _0x166b18=_0x3c0e74[_0x3c0e74['length']-0x1],_0x3df49f=_0x166b18['to']-_0x166b18['spaceAfter']['length']+(_0x166b18['spaceAfter']?0x1:0x0);if(_0x51d2c8-_0x44ce7f['from']>_0x3df49f&&!/\S/['test'](_0x44ce7f['text']['slice'](_0x3df49f,_0x51d2c8-_0x44ce7f['from'])))return{'range':EditorSelection['cursor'](_0x44ce7f['from']+_0x3df49f),'changes':{'from':_0x44ce7f['from']+_0x3df49f,'to':_0x51d2c8}};if(_0x51d2c8-_0x44ce7f['from']==_0x3df49f&&(!_0x166b18['item']||_0x44ce7f['from']<=_0x166b18['item']['from']||!/\S/['test'](_0x44ce7f['text']['slice'](0x0,_0x166b18['to'])))){let _0x5b62b2=_0x44ce7f['from']+_0x166b18['from'];if(_0x166b18['item']&&_0x166b18['node']['from']<_0x166b18['item']['from']&&/\S/['test'](_0x44ce7f['text']['slice'](_0x166b18['from'],_0x166b18['to']))){let _0x2ccf40=_0x166b18['blank'](W_(_0x44ce7f['text'],0x4,_0x166b18['to'])-W_(_0x44ce7f['text'],0x4,_0x166b18['from']));return _0x5b62b2==_0x44ce7f['from']&&(_0x2ccf40=V$(_0x2ccf40,_0x3c6dcd)),{'range':EditorSelection['cursor'](_0x5b62b2+_0x2ccf40['length']),'changes':{'from':_0x5b62b2,'to':_0x44ce7f['from']+_0x166b18['to'],'insert':_0x2ccf40}};}if(_0x5b62b2<_0x51d2c8)return{'range':EditorSelection['cursor'](_0x5b62b2),'changes':{'from':_0x5b62b2,'to':_0x51d2c8}};}}}return _0x29fb63={'range':_0xf381e2};});return!_0x29fb63&&(_0x2cb010(_0x3c6dcd['update'](_0xa2908c,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],F$=oL({'matchClosingTags':!0x1});function H$(_0x27b409={}){let {codeLanguages:_0x1e8792,defaultCodeLanguage:_0x47e70d,addKeymap:_0x54b1f8=!0x0,base:{parser:_0x56d672}=N$,completeHTMLTags:_0x466961=!0x0,htmlTagLanguage:_0x4b8645=F$}=_0x27b409;if(!(_0x56d672 instanceof MarkdownParser))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x1406c1,_0x34f989=_0x27b409['extensions']?[_0x27b409['extensions']]:[],_0xb99f72=[_0x4b8645['support']];_0x47e70d instanceof LanguageSupport?(_0xb99f72['push'](_0x47e70d['support']),_0x1406c1=_0x47e70d['language']):_0x47e70d&&(_0x1406c1=_0x47e70d);let _0x52162f=_0x1e8792||_0x1406c1?(_0x53bb9d=_0x1e8792,_0x5c83cf=_0x1406c1,_0x19a15a=>{if(_0x19a15a&&_0x53bb9d){let _0x4f4201=null;if(_0x19a15a=/\S*/['exec'](_0x19a15a)[0x0],_0x4f4201='function'==typeof _0x53bb9d?_0x53bb9d(_0x19a15a):LanguageDescription['matchLanguageName'](_0x53bb9d,_0x19a15a,!0x0),_0x4f4201 instanceof LanguageDescription)return _0x4f4201['support']?_0x4f4201['support']['language']['parser']:ParseContext['getSkippingParser'](_0x4f4201['load']());if(_0x4f4201)return _0x4f4201['parser'];}return _0x5c83cf?_0x5c83cf['parser']:null;}):void 0x0;var _0x53bb9d,_0x5c83cf;_0x34f989['push'](function(_0x4b2711){let {codeParser:_0x34d1d8,htmlParser:_0x72246}=_0x4b2711,_0x51aa2c=KI((_0xf2ab8,_0x293e15)=>{let _0x46b81c=_0xf2ab8['type']['id'];if(!_0x34d1d8||_0x46b81c!=lL['CodeBlock']&&_0x46b81c!=lL['FencedCode']){if(_0x72246&&(_0x46b81c==lL['HTMLBlock']||_0x46b81c==lL['HTMLTag']||_0x46b81c==lL['CommentBlock']))return{'parser':_0x72246,'overlay':o$(_0xf2ab8['node'],_0xf2ab8['from'],_0xf2ab8['to'])};}else{let _0x292084='';if(_0x46b81c==lL['FencedCode']){let _0x1deb7c=_0xf2ab8['node']['getChild'](lL['CodeInfo']);_0x1deb7c&&(_0x292084=_0x293e15['read'](_0x1deb7c['from'],_0x1deb7c['to']));}let _0x591064=_0x34d1d8(_0x292084);if(_0x591064)return{'parser':_0x591064,'overlay':_0xe02fa=>_0xe02fa['type']['id']==lL['CodeText']};}return null;});return{'wrap':_0x51aa2c};}({'codeParser':_0x52162f,'htmlParser':_0x4b8645['language']['parser']})),_0x54b1f8&&_0xb99f72['push'](b_['high'](_S['of'](j$)));let _0x24c195=M$(_0x56d672['configure'](_0x34f989));return _0x466961&&_0xb99f72['push'](_0x24c195['data']['of']({'autocomplete':G$})),new LanguageSupport(_0x24c195,_0xb99f72);}function G$(_0x202b1d){let {state:_0xc7074d,pos:_0x47a67f}=_0x202b1d,_0x3c4e06=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0xc7074d['sliceDoc'](_0x47a67f-0x19,_0x47a67f));if(!_0x3c4e06)return null;let _0x2cbe54=NC(_0xc7074d)['resolveInner'](_0x47a67f,-0x1);for(;_0x2cbe54&&!_0x2cbe54['type']['isTop'];){if('CodeBlock'==_0x2cbe54['name']||'FencedCode'==_0x2cbe54['name']||'ProcessingInstructionBlock'==_0x2cbe54['name']||'CommentBlock'==_0x2cbe54['name']||'Link'==_0x2cbe54['name']||'Image'==_0x2cbe54['name'])return null;_0x2cbe54=_0x2cbe54['parent'];}return{'from':_0x47a67f-_0x3c4e06[0x0]['length'],'to':_0x47a67f,'options':X$(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let Z$=null;function X$(){if(Z$)return Z$;let _0xa9b92f=(_0x104c59=new CompletionContext(EditorState['create']({'extensions':F$}),0x0,!0x0),JN(Schema['default'],_0x104c59));var _0x104c59;return Z$=_0xa9b92f?_0xa9b92f['options']:[];}const q$='#e06c75',W$='#abb2bf',z$='#7d8799',Y$='#d19a66',K$='#2c313a',J$='#282c34',tD='#353a42',eD='#528bff',iD=[EditorView['theme']({'&':{'color':W$,'backgroundColor':J$},'.cm-content':{'caretColor':eD},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':eD},'&.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':W$},'.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':J$,'color':z$,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':K$},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':tD},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':tD,'borderBottomColor':tD},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':K$,'color':W$}}},{'dark':!0x0}),Ck(HighlightStyle['define']([{'tag':CC['keyword'],'color':'#c678dd'},{'tag':[CC['name'],CC['deleted'],CC['character'],CC['propertyName'],CC['macroName']],'color':q$},{'tag':[CC['function'](CC['variableName']),CC['labelName']],'color':'#61afef'},{'tag':[CC['color'],CC['constant'](CC['name']),CC['standard'](CC['name'])],'color':Y$},{'tag':[CC['definition'](CC['name']),CC['separator']],'color':W$},{'tag':[CC['typeName'],CC['className'],CC['number'],CC['changed'],CC['annotation'],CC['modifier'],CC['self'],CC['namespace']],'color':'#e5c07b'},{'tag':[CC['operator'],CC['operatorKeyword'],CC['url'],CC['escape'],CC['regexp'],CC['link'],CC['special'](CC['string'])],'color':'#56b6c2'},{'tag':[CC['meta'],CC['comment']],'color':z$},{'tag':CC['strong'],'fontWeight':'bold'},{'tag':CC['emphasis'],'fontStyle':'italic'},{'tag':CC['strikethrough'],'textDecoration':'line-through'},{'tag':CC['link'],'color':z$,'textDecoration':'underline'},{'tag':CC['heading'],'fontWeight':'bold','color':q$},{'tag':[CC['atom'],CC['bool'],CC['special'](CC['variableName'])],'color':Y$},{'tag':[CC['processingInstruction'],CC['string'],CC['inserted']],'color':'#98c379'},{'tag':CC['invalid'],'color':'#ffffff'}]))];function sD(_0x377b44){const _0x4f96b2=[EditorView['lineWrapping'],$P(),Vk(),_P(),oI(),PS(),BS(),PI(),Ek(),YS(),$I(),qS(),ux(),tk(),sI(),Ck(xk,{'fallback':!0x0})],_0x41119d=new Compartment();_0x4f96b2['push'](_0x41119d['of'](EditorView['editable']['of'](!0x0))),'html'===_0x377b44['syntaxLanguage']?_0x4f96b2['push'](oL()):_0x4f96b2['push'](H$());const _0x3bc99d=function(_0x7f8d8b){if(_0x7f8d8b&&'default'!==_0x7f8d8b)return'dark'===_0x7f8d8b?iD:_0x7f8d8b;return null;}(_0x377b44['theme']);_0x3bc99d&&_0x4f96b2['push'](_0x3bc99d),_0x4f96b2['push'](_S['of']([...CP,...SR,...Sx,...pk,...DP,{'key':'Tab','run':vR,'shift':_R,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':mx,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':mx,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':fx,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2dfed3=new EditorView({'extensions':_0x4f96b2,'parent':_0x377b44['parent']});return ER(_0x2dfed3),{'focus':()=>{_0x2dfed3['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2dfed3['focus']();},'getData':()=>_0x2dfed3['state']['doc']['toString'](),'setData':_0x30e40e=>{_0x2dfed3['dispatch']({'changes':{'from':0x0,'to':_0x2dfed3['state']['doc']['length'],'insert':_0x30e40e},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x28a0e5=>{_0x2dfed3['dispatch']({'effects':[_0x41119d['reconfigure'](EditorView['editable']['of'](!_0x28a0e5))]});},'destroy':()=>{_0x2dfed3['destroy']();},'instance':_0x2dfed3};}class CodeEditorView extends _0x278baa{['_codeEditorApi']=null;['_options'];constructor(_0x3dff35,_0x25ccba){super(_0x3dff35),this['_options']=_0x25ccba,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']=sD({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x58118b,_0x219ac1,_0x540ac1)=>{this['setReadOnly'](_0x540ac1);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5e3bae){this['_codeEditorApi']['setData'](_0x5e3bae);}['setReadOnly'](_0x5d83ee){this['_codeEditorApi']['setReadOnly'](_0x5d83ee);}}const nD='SourceEditingEnhancedMode';class EditSourceCommand extends _0x4d9dc4{constructor(_0x13af88){super(_0x13af88),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4247fd)['on']('change:hasAny',(_0x1c782e,_0x28010b,_0x39a0f3)=>{_0x39a0f3?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5a95e4=this['editor'];for(const _0x2aa61a of _0x5a95e4['commands']['names']())['replaceSource','editSource']['includes'](_0x2aa61a)||_0x5a95e4['commands']['get'](_0x2aa61a)['forceDisabled'](nD);}['_enableCommands'](){const _0x153fd8=this['editor'];for(const _0x4b42e6 of _0x153fd8['commands']['commands']())_0x4b42e6['clearForceDisabled'](nD);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1800b8=this['editor'],_0x39aea3=_0x1800b8['locale'],_0x28377c=_0x1800b8['plugins']['get']('Dialog'),_0x9463c7=Rv(_0x1800b8),_0xcb34af=_0x1800b8['data']['get']({'rootName':_0x9463c7}),_0x2f35a2=Mv(_0x5a622e=_0xcb34af)?_0x2329cc(_0x5a622e):_0x5a622e;var _0x5a622e;const _0x47dc29=new CodeEditorView(_0x39aea3,{'syntaxLanguage':_0x1800b8['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1800b8['config']['get']('sourceEditingEnhanced.theme')});let _0x2dad6b=!0x0;const _0x38b1bb=_0x4d46eb=>{if(!_0x2dad6b)return;return Pv(_0x47dc29['getData']())!==Pv(_0x2f35a2)?window['confirm'](xv(_0x39aea3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4d46eb['stop']():void 0x0;};_0x28377c['show']({'id':'sourceEditingEnhanced','title':xv(_0x39aea3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x47dc29,'actionButtons':[{'label':xv(_0x39aea3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x28377c['hide']();}},{'label':xv(_0x39aea3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5bc75e=Pv(_0x47dc29['getData']())!==Pv(_0x2f35a2);(_0x5bc75e&&_0x1800b8['execute']('replaceSource',_0x47dc29['getData']()),_0x2dad6b=!0x1,_0x28377c['hide'](),_0x5bc75e&&'editables'in _0x1800b8['ui']['view'])&&_0x1800b8['ui']['view']['editables'][_0x9463c7]['element']['focus']();},'onCreate':_0x2412ef=>{_0x2412ef['set']('isEnabled',!_0x1800b8['isReadOnly']),_0x2412ef['bind']('isEnabled')['to'](_0x1800b8,'isReadOnly',this,'isEnabled',(_0x5aaea3,_0x799d95)=>!_0x5aaea3&&_0x799d95);}}],'onHide':()=>{this['_enableCommands'](),_0x28377c['off']('hide',_0x38b1bb),_0x47dc29['destroy']();},'onShow':()=>{_0x47dc29['bind']('isReadOnly')['to'](_0x1800b8,'isReadOnly',this,'isEnabled',(_0x213488,_0x1f95b2)=>_0x213488||!_0x1f95b2),_0x47dc29['setData'](_0x2f35a2),_0x47dc29['focus'](),_0x28377c['on']('hide',_0x38b1bb,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x7cf71c{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4247fd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xbd97d8=this['editor'],_0x5ad3a9=_0xbd97d8['locale'],_0x430807=new EditSourceCommand(_0xbd97d8);_0xbd97d8['commands']['add']('editSource',_0x430807),_0xbd97d8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3911e5=this['_createButton'](_0x1a631f,_0x430807);return _0x3911e5['set']({'label':xv(_0x5ad3a9,'Source'),'icon':_0x288815,'tooltip':xv(_0x5ad3a9,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3911e5;}),_0xbd97d8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x52e780=this['_createButton'](at,_0x430807,!0x0);return _0x52e780['set']({'label':xv(_0x5ad3a9,'Edit\x20source\x20modal\x20label'),'icon':_0x288815,'role':'menuitemcheckbox'}),_0x52e780;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x50c310){const _0x1d27b6=_0x5c5077([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]),_0x380883=0x5dba9314,_0x265a4c=0x5dbd197c^_0x380883,_0x22fc71=window[_0x5c5077([0x44,0x61,0x74,0x65])][_0x5c5077([0x6e,0x6f,0x77])](),_0x30ddb6=_0x50c310[_0x5c5077([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e4097=new window[(_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x507047=>{_0x30ddb6[_0x5c5077([0x6f,0x6e,0x63,0x65])](_0x5c5077([0x72,0x65,0x61,0x64,0x79]),_0x507047);}),_0x3023b6={[_0x5c5077([0x6b,0x74,0x79])]:_0x5c5077([0x45,0x43]),[_0x5c5077([0x75,0x73,0x65])]:_0x5c5077([0x73,0x69,0x67]),[_0x5c5077([0x63,0x72,0x76])]:_0x5c5077([0x50,0x2d,0x32,0x35,0x36]),[_0x5c5077([0x78])]:_0x5c5077([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]),[_0x5c5077([0x79])]:_0x5c5077([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]),[_0x5c5077([0x61,0x6c,0x67])]:_0x5c5077([0x45,0x53,0x32,0x35,0x36])},_0x24b8d4=_0x30ddb6[_0x5c5077([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c5077([0x67,0x65,0x74])](_0x5c5077([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x513711(){let _0x35c3ba,_0x202525=null,_0x1bbc45=null;try{if(_0x24b8d4==_0x5c5077([0x47,0x50,0x4c]))return _0x5c5077([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35c3ba=_0x470169(),!_0x35c3ba)return _0x5c5077([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35c3ba[_0x5c5077([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bbc45=_0x389dd3(_0x35c3ba[_0x5c5077([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35c3ba[_0x5c5077([0x6a,0x74,0x69])])),await _0x4b4a6e()?_0x150161()?_0x269e9e()?_0x5c5077([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5960f7()?(_0x35c3ba[_0x5c5077([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c5077([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x202525=_0x558918(_0x5c5077([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x440a22()):_0x5c5077([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c5077([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c5077([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c5077([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x269e9e(){const _0x59c35e=[_0x5c5077([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c5077([0x74,0x72,0x69,0x61,0x6c])][_0x5c5077([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c3ba[_0x5c5077([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22fc71/0x3e8:0xe10*_0x265a4c;return _0x35c3ba[_0x5c5077([0x65,0x78,0x70])]<_0x59c35e;}function _0x150161(){const _0x12bf72=_0x35c3ba[_0x5c5077([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12bf72&&(!!_0x12bf72[_0x5c5077([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5077([0x2a]))||!!_0x12bf72[_0x5c5077([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5077([0x53,0x45,0x45])));}function _0x5960f7(){const _0x570141=_0x35c3ba[_0x5c5077([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x570141||0x0==_0x570141[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c6efb}=new URL(window[_0x5c5077([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x570141[_0x5c5077([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c6efb))return!0x0;const _0x20b9e5=_0x3c6efb[_0x5c5077([0x73,0x70,0x6c,0x69,0x74])](_0x5c5077([0x2e]));return _0x570141[_0x5c5077([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59e059=>_0x59e059[_0x5c5077([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5077([0x2a])))[_0x5c5077([0x6d,0x61,0x70])](_0x4b8722=>_0x4b8722[_0x5c5077([0x73,0x70,0x6c,0x69,0x74])](_0x5c5077([0x2e])))[_0x5c5077([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23ec95=>_0x23ec95[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20b9e5[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c5077([0x6d,0x61,0x70])](_0x33a86b=>Array(_0x20b9e5[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33a86b[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c5077([0x66,0x69,0x6c,0x6c])](_0x33a86b[0x0]===_0x5c5077([0x2a])?_0x5c5077([0x2a]):'')[_0x5c5077([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33a86b))[_0x5c5077([0x73,0x6f,0x6d,0x65])](_0x18465b=>_0x20b9e5[_0x5c5077([0x65,0x76,0x65,0x72,0x79])]((_0x1036a9,_0xae70da)=>_0x18465b[_0xae70da]===_0x1036a9||_0x18465b[_0xae70da]===_0x5c5077([0x2a])));}function _0x440a22(){return _0x202525&&_0x1bbc45?new window[(_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c6328,_0x225975)=>{_0x202525[_0x5c5077([0x74,0x68,0x65,0x6e])](_0x1c6328,_0x225975),_0x1bbc45[_0x5c5077([0x74,0x68,0x65,0x6e])](_0x5939db=>{_0x5939db!=_0x5c5077([0x56,0x61,0x6c,0x69,0x64])&&_0x1c6328(_0x5939db);},_0x225975);}):_0x202525||_0x1bbc45||_0x5c5077([0x56,0x61,0x6c,0x69,0x64]);}}function _0x389dd3(_0x4920a0,_0xe843df){return new window[(_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469db3=>{if(_0x5ece54())return _0x469db3(_0x5c5077([0x56,0x61,0x6c,0x69,0x64]));_0x39d55a(),_0x30ddb6[_0x5c5077([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c5077([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5326af=!0x1;const _0x19414f=_0x462bc0();function _0x361603(_0x2d3c77){return!!_0x2d3c77&&(typeof _0x2d3c77===_0x5c5077([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d3c77===_0x5c5077([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d3c77[_0x5c5077([0x74,0x68,0x65,0x6e])]===_0x5c5077([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d3c77[_0x5c5077([0x63,0x61,0x74,0x63,0x68])]===_0x5c5077([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2169b1(_0xe33e70){_0x12fced(_0xe33e70)[_0x5c5077([0x74,0x68,0x65,0x6e])](_0x124dd4=>{if(!_0x124dd4||_0x124dd4[_0x5c5077([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c5077([0x6f,0x6b]))return _0x5c5077([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c1395(_0x21e89a(_0x19414f+_0xe843df))!=_0x124dd4[_0x5c5077([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c5077([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c5077([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c5077([0x74,0x68,0x65,0x6e])](_0x51ddcb=>(_0x41e7ec(),_0x51ddcb),()=>{const _0x4f82eb=_0x1ef91c();return null==_0x4f82eb?(_0x41e7ec(),_0x5c5077([0x56,0x61,0x6c,0x69,0x64])):_0x5c5077(_0x22fc71-_0x4f82eb>(0x79b61714^_0x380883)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c5077([0x74,0x68,0x65,0x6e])](_0x469db3)[_0x5c5077([0x63,0x61,0x74,0x63,0x68])](()=>{_0x469db3(_0x5c5077([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1fa1bf=0x5d8c7d94^_0x380883;function _0x41e7ec(){const _0x4383c3=_0x5c5077([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c1395(_0x21e89a(_0x4920a0)),_0x235bcb=_0x161fdc(_0x4c1395(window[_0x5c5077([0x4d,0x61,0x74,0x68])][_0x5c5077([0x63,0x65,0x69,0x6c])](_0x22fc71/_0x1fa1bf)));window[_0x5c5077([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c5077([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4383c3,_0x235bcb);}function _0x1ef91c(){const _0x19fbe6=_0x5c5077([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c1395(_0x21e89a(_0x4920a0)),_0x150e77=window[_0x5c5077([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c5077([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19fbe6);return _0x150e77?window[_0x5c5077([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x161fdc(_0x150e77),0x10)*_0x1fa1bf:null;}function _0x12fced(_0xbf48b0){return new window[(_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6bcefb,_0x37425b)=>{_0xbf48b0[_0x5c5077([0x74,0x68,0x65,0x6e])](_0x6bcefb,_0x37425b),window[_0x5c5077([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37425b,0x5dbb47d4^_0x380883);});}}_0x30ddb6[_0x5c5077([0x6f,0x6e])](_0x5c5077([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x279c36,_0x2a092b)=>{if(_0x2a092b[0x0]!=_0x4920a0)return _0x469db3(_0x5c5077([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a092b[0x1]={..._0x2a092b[0x1],[_0x5c5077([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19414f};},{[_0x5c5077([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c5077([0x68,0x69,0x67,0x68])}),_0x30ddb6[_0x5c5077([0x6f,0x6e])](_0x5c5077([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25a950=>{_0x361603(_0x25a950[_0x5c5077([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5326af=!0x0,_0x2169b1(_0x25a950[_0x5c5077([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c5077([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c5077([0x6c,0x6f,0x77])}),_0x4e4097[_0x5c5077([0x74,0x68,0x65,0x6e])](()=>{_0x5326af||_0x469db3(_0x5c5077([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ece54(){return _0x30ddb6[_0x5c5077([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c5077([0x76,0x69,0x65,0x77])][_0x5c5077([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c5077([0x61,0x75,0x74,0x6f]);}function _0x39d55a(){_0x30ddb6[_0x5c5077([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c5077([0x76,0x69,0x65,0x77])][_0x5c5077([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c5077([0x61,0x75,0x74,0x6f]);}}function _0x558918(_0x165eb4){const _0x53e1d3=[new window[(_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c617=>setTimeout(_0x20c617,0x5db3add8^_0x380883)),_0x4e4097[_0x5c5077([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b279e=>{let _0x2a2b73=0x0;_0x30ddb6[_0x5c5077([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5077([0x6f,0x6e])](_0x5c5077([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b4b74,_0x1ee285)=>{_0x1ee285[0x0][_0x5c5077([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a2b73++,_0x2a2b73==(0x5dba96fc^_0x380883)&&(_0x5b279e(),_0x1b4b74[_0x5c5077([0x6f,0x66,0x66])]());});}))];return window[_0x5c5077([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c5077([0x72,0x61,0x63,0x65])](_0x53e1d3)[_0x5c5077([0x74,0x68,0x65,0x6e])](()=>_0x165eb4);}async function _0x1d01fd(){await _0x4e4097,_0x30ddb6[_0x5c5077([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5077([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3db1e1,_0x30ddb6[_0x5c5077([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5077([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3db1e1,_0x30ddb6[_0x5c5077([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c5077([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14cdd8(_0x52d3f9){const _0x3b68a4=_0x5212c5();_0x30ddb6[_0x3b68a4]=_0x5c5077([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])+_0x52d3f9,_0x52d3f9!=_0x5c5077([0x56,0x61,0x6c,0x69,0x64])&&_0x1d01fd();}function _0x5212c5(){const _0x55a8c6=window[_0x5c5077([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c5077([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c5077([0x6e,0x6f,0x77])]())[_0x5c5077([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c5077([0x2e]),'');let _0x411c9e=_0x5c5077([0x4e]);for(let _0x4864fc=0x0;_0x4864fc<_0x55a8c6[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4864fc+=0x2){let _0x46facd=window[_0x5c5077([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55a8c6[_0x5c5077([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4864fc,_0x4864fc+0x2));_0x46facd>=_0x1d27b6[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46facd-=_0x1d27b6[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x411c9e+=_0x1d27b6[_0x46facd];}return _0x411c9e;}function _0x470169(){const _0x1c9d86=_0x24b8d4[_0x5c5077([0x73,0x70,0x6c,0x69,0x74])](_0x5c5077([0x2e]));if(0x3!=_0x1c9d86[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c0d2f(_0x1c9d86[0x1]);function _0x4c0d2f(_0xc82c55){const _0x12fdfe=_0x5c4598(_0xc82c55);return _0x12fdfe&&_0x2384b8()?_0x12fdfe:null;function _0x2384b8(){const _0x385fcf=_0x12fdfe[_0x5c5077([0x6a,0x74,0x69])],_0x39453d=window[_0x5c5077([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385fcf[_0x5c5077([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x385fcf[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3841ba={..._0x12fdfe,[_0x5c5077([0x6a,0x74,0x69])]:_0x385fcf[_0x5c5077([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x385fcf[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3841ba[_0x5c5077([0x76,0x63])],_0x21e89a(_0x3841ba)==_0x39453d;}}}async function _0x4b4a6e(){let _0x349030=!0x0;try{const _0x5c7079=_0x24b8d4[_0x5c5077([0x73,0x70,0x6c,0x69,0x74])](_0x5c5077([0x2e])),[_0x202845,_0x79dd89,_0x29fc31]=_0x5c7079;return _0x513087(_0x202845),await _0x5f1a1c(_0x202845,_0x79dd89,_0x29fc31),_0x349030;}catch{return!0x1;}function _0x513087(_0x2aa385){const _0x2db422=_0x5c4598(_0x2aa385);_0x2db422&&_0x2db422[_0x5c5077([0x61,0x6c,0x67])]==_0x5c5077([0x45,0x53,0x32,0x35,0x36])||(_0x349030=!0x1);}async function _0x5f1a1c(_0x229e2c,_0x294574,_0x2a29a6){const _0x42c577=window[_0x5c5077([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c5077([0x66,0x72,0x6f,0x6d])](_0x13d2f7(_0x2a29a6),_0x183722=>_0x183722[_0x5c5077([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4deeff=new window[(_0x5c5077([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c5077([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x229e2c+_0x5c5077([0x2e])+_0x294574),_0xc2b5f7=window[_0x5c5077([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c5077([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc2b5f7)return;const _0x3abf84=await _0xc2b5f7[_0x5c5077([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c5077([0x6a,0x77,0x6b]),_0x3023b6,{[_0x5c5077([0x6e,0x61,0x6d,0x65])]:_0x5c5077([0x45,0x43,0x44,0x53,0x41]),[_0x5c5077([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c5077([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c5077([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc2b5f7[_0x5c5077([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c5077([0x6e,0x61,0x6d,0x65])]:_0x5c5077([0x45,0x43,0x44,0x53,0x41]),[_0x5c5077([0x68,0x61,0x73,0x68])]:{[_0x5c5077([0x6e,0x61,0x6d,0x65])]:_0x5c5077([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3abf84,_0x42c577,_0x4deeff)||(_0x349030=!0x1);}}function _0x5c4598(_0x5225e8){return _0x5225e8[_0x5c5077([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c5077([0x65,0x79]))?JSON[_0x5c5077([0x70,0x61,0x72,0x73,0x65])](_0x13d2f7(_0x5225e8)):null;}function _0x13d2f7(_0xa8c38c){return window[_0x5c5077([0x61,0x74,0x6f,0x62])](_0xa8c38c[_0x5c5077([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c5077([0x2b]))[_0x5c5077([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c5077([0x2f])));}function _0x21e89a(_0x3c6f2a){let _0x573f23=0x1505;function _0x38c9bc(_0x440126){for(let _0x454b53=0x0;_0x454b53<_0x440126[_0x5c5077([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x454b53++){const _0xa2c3ae=_0x440126[_0x5c5077([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x454b53);_0x573f23=(_0x573f23<<0x5)+_0x573f23+_0xa2c3ae,_0x573f23&=_0x573f23;}}function _0x3bf94e(_0xfc6e60){Array[_0x5c5077([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfc6e60)?_0xfc6e60[_0x5c5077([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bf94e):_0xfc6e60&&typeof _0xfc6e60==_0x5c5077([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c5077([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfc6e60)[_0x5c5077([0x73,0x6f,0x72,0x74])]()[_0x5c5077([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d1303,_0x3ef2c7])=>{_0x38c9bc(_0x5d1303),_0x3bf94e(_0x3ef2c7);}):_0x38c9bc(window[_0x5c5077([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfc6e60));}return _0x3bf94e(_0x3c6f2a),_0x573f23>>>0x0;}function _0x4c1395(_0x20430f){return _0x20430f[_0x5c5077([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c5077([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c5077([0x30]));}function _0x161fdc(_0xa99b25){return _0xa99b25[_0x5c5077([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c5077([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c5077([0x6a,0x6f,0x69,0x6e])]('');}function _0x3db1e1(){}function _0x5c5077(_0x50f8a6){return _0x50f8a6['map'](_0x9e308b=>String['fromCharCode'](_0x9e308b))['join']('');}_0x14cdd8(await _0x513711());}(this);}['_createButton'](_0x2813b6,_0x22428a,_0x5c7005=!0x1){const _0x2839eb=new _0x2813b6(this['editor']['locale']);return _0x2839eb['set']({'withText':_0x5c7005,'isToggleable':!0x1}),_0x2839eb['bind']('isEnabled')['to'](_0x22428a,'isEnabled'),this['listenTo'](_0x2839eb,'execute',()=>_0x22428a['execute']()),_0x2839eb;}['_registerKeybindings'](){const _0x37b1d2=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':xv(_0x37b1d2,'Source\x20Editing\x20Enhanced')});const _0x571200=_0x3c0c38['isMac']||_0x3c0c38['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':xv(_0x37b1d2,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':xv(_0x37b1d2,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':xv(_0x37b1d2,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':xv(_0x37b1d2,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':xv(_0x37b1d2,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':xv(_0x37b1d2,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':xv(_0x37b1d2,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x571200?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':xv(_0x37b1d2,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':xv(_0x37b1d2,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':xv(_0x37b1d2,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':xv(_0x37b1d2,'Select\x20line'),'keystroke':_0x571200?'Ctrl!+L':'Alt+L'},{'label':xv(_0x37b1d2,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x571200?'Alt+Shift+M':'Ctrl+M'},{'label':xv(_0x37b1d2,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':xv(_0x37b1d2,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':xv(_0x37b1d2,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':xv(_0x37b1d2,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':xv(_0x37b1d2,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x571200?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class ReplaceSourceCommand extends _0x4d9dc4{constructor(_0xa7bf06){super(_0xa7bf06),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1b2868,_0x12caa2){const _0x5a39f0=this['editor'],_0x5bd9c6=_0x12caa2?.['rootName']??Rv(_0x5a39f0);_0x5a39f0['data']['set']({[_0x5bd9c6]:_0x1b2868},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x545ba8){super(_0x545ba8),_0x545ba8['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 _0x67ac97=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d9a18;for(const _0x1273ce in _0x67ac97){const _0x2d9c49=_0x1273ce,_0x4ed61c=_0x67ac97[_0x2d9c49];if('sourceEditingEnhancedLicenseKeyValid'==_0x4ed61c||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4ed61c||'sourceEditingEnhancedLicenseKeyExpired'==_0x4ed61c||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4ed61c||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4ed61c||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4ed61c||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4ed61c){delete _0x67ac97[_0x2d9c49],_0x5d9a18=_0x4ed61c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x5d9a18&&_0x67ac97['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x5d9a18&&_0x67ac97['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5d9a18&&_0x67ac97['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5d9a18&&_0x67ac97['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5d9a18&&_0x67ac97['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5d9a18&&_0x67ac97['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x541632=this['editor'],_0x5cfbe9=_0x541632['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x5cfbe9&&_0x541632['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3ae0e8('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x5cfbe9&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x41f7a5=>_0x541632['plugins']['has'](_0x41f7a5))&&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.'),_0x541632['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 _0x4d9dc4{['execute'](_0x21d19b){const {model:_0xd1a86}=this['editor'];let _0xf913df;switch(typeof _0x21d19b){case'string':_0xf913df=_0x21d19b;break;case'function':_0xf913df=_0x21d19b();}'string'==typeof _0xf913df&&_0xd1a86['change'](()=>{const _0x509cf8=this['editor']['data']['htmlProcessor']['toView'](_0xf913df),_0x480636=this['editor']['data']['toModel'](_0x509cf8);_0xd1a86['insertContent'](_0x480636);});}}class TemplateEditing extends _0x7cf71c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33efcc}=this;_0x33efcc['commands']['add']('insertTemplate',new TemplateCommand(_0x33efcc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c85a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1547a2;for(const _0x2e3042 in _0x2c85a3){const _0x4a6898=_0x2e3042,_0x75698c=_0x2c85a3[_0x4a6898];if('templateLicenseKeyValid'==_0x75698c||'templateLicenseKeyInvalid'==_0x75698c||'templateLicenseKeyExpired'==_0x75698c||'templateLicenseKeyDomainLimit'==_0x75698c||'templateLicenseKeyNotAllowed'==_0x75698c||'templateLicenseKeyEvaluationLimit'==_0x75698c||'templateLicenseKeyUsageLimit'==_0x75698c){delete _0x2c85a3[_0x4a6898],_0x1547a2=_0x75698c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x1547a2&&_0x2c85a3['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x1547a2&&_0x2c85a3['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x1547a2&&_0x2c85a3['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x1547a2&&_0x2c85a3['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x1547a2&&_0x2c85a3['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x1547a2&&_0x2c85a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x171307{['filter'](_0x478fba){if(!_0x478fba)return this['_resetFiltering']();const _0x161476=new Map(),_0x40790a=this['items']['map'](_0x438024=>{const _0x453ece=_0x438024['buttonView']['isMatching'](_0x478fba);return _0x438024['isVisible']=!!_0x453ece,_0x438024['buttonView']['highlightText'](_0x453ece?_0x478fba:null),_0x453ece&&_0x161476['set'](_0x438024,_0x453ece),_0x438024;})['sort'](rD)['sort'](function(_0x47c74c){return function(_0x3511de,_0x2652cf){const _0x37ced5=_0x47c74c['get'](_0x3511de),_0x53dc73=_0x47c74c['get'](_0x2652cf);return _0x37ced5&&!_0x53dc73?-0x1:_0x53dc73&&!_0x37ced5?0x1:_0x37ced5||_0x53dc73?_0x37ced5['title']&&!_0x53dc73['title']?-0x1:!_0x37ced5['title']&&_0x53dc73['title']?0x1:0x0:0x0;};}(_0x161476));return this['items']['clear'](),this['items']['addMany'](_0x40790a),{'resultsCount':_0x161476['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x11f654=this['items']['map'](_0x1f27c6=>_0x1f27c6)['sort'](rD);return _0x11f654['forEach'](_0x21f339=>{_0x21f339['isVisible']=!0x0,_0x21f339['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x11f654),{'resultsCount':_0x11f654['length'],'totalItemsCount':_0x11f654['length']};}}function rD(_0x1b77ce,_0x4e7cac){return _0x1b77ce['originalIndex']-_0x4e7cac['originalIndex'];}class TemplateListItemView extends _0x3a2da2{['originalIndex'];['buttonView'];constructor(_0x5c4b25,_0x3a3f7c){super(_0x5c4b25),this['originalIndex']=_0x3a3f7c,this['buttonView']=null;}}class TemplateListButtonView extends _0x1a631f{['templateDefinition'];['textPartView'];constructor(_0x55d15c,_0x2b8cd7){super(_0x55d15c),this['templateDefinition']=_0x2b8cd7,this['textPartView']=null;const {icon:_0x825efb=_0x40943d}=_0x2b8cd7;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x825efb}),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'](_0x117b5f){const {title:_0x4ab74a,description:_0x17ef8d}=this['templateDefinition'],_0x3b90a0=!!_0x4ab74a['match'](_0x117b5f),_0x405389=!(!_0x17ef8d||!_0x17ef8d['match'](_0x117b5f));return _0x3b90a0||_0x405389?{'title':_0x3b90a0,'description':_0x405389}:null;}['highlightText'](_0x59569e){this['textPartView']['highlightText'](_0x59569e);}}class TextPartView extends _0x278baa{constructor(_0x4121d5,_0x3e8949,_0x27dedb){super(_0x4121d5),this['title']=_0x3e8949['title'],this['description']=_0x3e8949['description'],this['titleView']=new _t(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x27dedb}});const _0xd9557f=[this['titleView']];this['description']&&(this['descriptionView']=new _t(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0xd9557f['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0xd9557f});}['highlightText'](_0x124c37){this['titleView']['highlightText'](_0x124c37),this['description']&&this['descriptionView']['highlightText'](_0x124c37);}}function oD(_0x2fbb6e,_0x25b37c,..._0x451667){const t=_0x2fbb6e['t'];switch(_0x25b37c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x451667);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',..._0x451667);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x25b37c;}}class TemplateUI extends _0x7cf71c{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x293ddd}=this,_0x47f73f=_0x293ddd['config']['get']('template.definitions')||[];_0x293ddd['ui']['componentFactory']['add']('insertTemplate',_0x172a6a=>{const _0x26fc95=nt(_0x172a6a),_0x4fe145=this['_createTemplateListView'](_0x172a6a,_0x47f73f),_0x5ceb7a=new St(_0x172a6a,{'filteredView':_0x4fe145,'queryView':{'label':oD(_0x172a6a,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2b9287=>oD(_0x172a6a,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2b9287),'secondary':oD(_0x172a6a,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':oD(_0x172a6a,'No\x20templates\x20available.')}}}}),_0x1c9b79=_0x293ddd['commands']['get']('insertTemplate');return _0x5ceb7a['on']('search',(_0xb2790c,_0xff8379)=>{_0xff8379['query']&&_0xff8379['query']['length']&&_0x293ddd['ui']['ariaLiveAnnouncer']['announce'](oD(_0x172a6a,'%0\x20templates\x20found',_0xff8379['resultsCount']));}),_0x26fc95['bind']('isEnabled')['to'](_0x1c9b79),_0x26fc95['panelView']['children']['add'](_0x5ceb7a),_0x26fc95['buttonView']['set']({'label':oD(_0x172a6a,'Insert\x20template'),'icon':ts,'tooltip':!0x0}),_0x26fc95['on']('change:isOpen',(_0x5b0558,_0x463466,_0x2e4bbc)=>{_0x2e4bbc||_0x5ceb7a['reset']();}),_0x26fc95;}),_0x293ddd['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x5228ee=>{const _0x2d4ab5=_0x293ddd['commands']['get']('insertTemplate'),_0x529145=new ot(_0x5228ee);_0x529145['buttonView']['set']({'label':oD(_0x5228ee,'Template'),'icon':ts});const _0x437a73=new lt(_0x5228ee);if(!_0x47f73f||!_0x47f73f['length']){const _0x2b620a=new ht(_0x5228ee,_0x529145),_0x3b7748=new at(_0x5228ee);_0x3b7748['set']({'label':oD(_0x5228ee,'No\x20templates\x20available.')}),_0x3b7748['delegate']('execute')['to'](_0x529145),_0x3b7748['on']('execute',()=>{_0x293ddd['editing']['view']['focus']();}),_0x2b620a['children']['add'](_0x3b7748),_0x437a73['items']['add'](_0x2b620a);}for(const _0x187957 of _0x47f73f){const _0xc6e78b=new ht(_0x5228ee,_0x529145),_0x537172=new at(_0x5228ee);_0x537172['set']({'class':'ck-template-button','label':_0x187957['title'],'icon':_0x187957['icon']||_0x40943d}),_0x537172['delegate']('execute')['to'](_0x529145),_0x537172['on']('execute',()=>{_0x293ddd['execute']('insertTemplate',_0x187957['data']),_0x293ddd['editing']['view']['focus']();}),_0xc6e78b['children']['add'](_0x537172),_0x437a73['items']['add'](_0xc6e78b);}return _0x529145['panelView']['children']['add'](_0x437a73),_0x529145['bind']('isEnabled')['to'](_0x2d4ab5,'isEnabled'),_0x529145;});}['afterInit'](){!async function(_0x1c2181){const _0x38b651=_0x421aa4([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]),_0xff24cc=0x6b0f5e6f,_0x5c1c12=0x6b08d407^_0xff24cc,_0x45784a=window[_0x421aa4([0x44,0x61,0x74,0x65])][_0x421aa4([0x6e,0x6f,0x77])](),_0x3c062f=_0x1c2181[_0x421aa4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb4c722=new window[(_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eaf21=>{_0x3c062f[_0x421aa4([0x6f,0x6e,0x63,0x65])](_0x421aa4([0x72,0x65,0x61,0x64,0x79]),_0x3eaf21);}),_0x3b46fe={[_0x421aa4([0x6b,0x74,0x79])]:_0x421aa4([0x45,0x43]),[_0x421aa4([0x75,0x73,0x65])]:_0x421aa4([0x73,0x69,0x67]),[_0x421aa4([0x63,0x72,0x76])]:_0x421aa4([0x50,0x2d,0x32,0x35,0x36]),[_0x421aa4([0x78])]:_0x421aa4([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]),[_0x421aa4([0x79])]:_0x421aa4([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]),[_0x421aa4([0x61,0x6c,0x67])]:_0x421aa4([0x45,0x53,0x32,0x35,0x36])},_0x4d3817=_0x3c062f[_0x421aa4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x421aa4([0x67,0x65,0x74])](_0x421aa4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5497fe(){let _0xc44ed,_0x4cd057=null,_0x57577d=null;try{if(_0x4d3817==_0x421aa4([0x47,0x50,0x4c]))return _0x421aa4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc44ed=_0x15682b(),!_0xc44ed)return _0x421aa4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc44ed[_0x421aa4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57577d=_0x12bad8(_0xc44ed[_0x421aa4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc44ed[_0x421aa4([0x6a,0x74,0x69])])),await _0x28a52a()?_0x6daaa4()?_0x3b58e6()?_0x421aa4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17abb7()?(_0xc44ed[_0x421aa4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x421aa4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cd057=_0x13e782(_0x421aa4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44368f()):_0x421aa4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x421aa4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x421aa4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x421aa4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b58e6(){const _0x21076c=[_0x421aa4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x421aa4([0x74,0x72,0x69,0x61,0x6c])][_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc44ed[_0x421aa4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45784a/0x3e8:0xe10*_0x5c1c12;return _0xc44ed[_0x421aa4([0x65,0x78,0x70])]<_0x21076c;}function _0x6daaa4(){const _0x44e617=_0xc44ed[_0x421aa4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44e617&&(!!_0x44e617[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421aa4([0x2a]))||(!!_0x44e617[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421aa4([0x54,0x50,0x4c]))||(!!_0x44e617[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421aa4([0x50,0x50]))||(!(!_0x44e617[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421aa4([0x44,0x52,0x55,0x50]))||!_0x13beca())||!(!_0x44e617[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421aa4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xefcffc())))));}function _0x17abb7(){const _0x738bde=_0xc44ed[_0x421aa4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x738bde||0x0==_0x738bde[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x283307}=new URL(window[_0x421aa4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x738bde[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x283307))return!0x0;const _0x541c05=_0x283307[_0x421aa4([0x73,0x70,0x6c,0x69,0x74])](_0x421aa4([0x2e]));return _0x738bde[_0x421aa4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35da65=>_0x35da65[_0x421aa4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421aa4([0x2a])))[_0x421aa4([0x6d,0x61,0x70])](_0x34384e=>_0x34384e[_0x421aa4([0x73,0x70,0x6c,0x69,0x74])](_0x421aa4([0x2e])))[_0x421aa4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49927c=>_0x49927c[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x541c05[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x421aa4([0x6d,0x61,0x70])](_0x2a366d=>Array(_0x541c05[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a366d[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x421aa4([0x66,0x69,0x6c,0x6c])](_0x2a366d[0x0]===_0x421aa4([0x2a])?_0x421aa4([0x2a]):'')[_0x421aa4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a366d))[_0x421aa4([0x73,0x6f,0x6d,0x65])](_0x49f7fc=>_0x541c05[_0x421aa4([0x65,0x76,0x65,0x72,0x79])]((_0x37153b,_0x5d4d24)=>_0x49f7fc[_0x5d4d24]===_0x37153b||_0x49f7fc[_0x5d4d24]===_0x421aa4([0x2a])));}function _0x44368f(){return _0x4cd057&&_0x57577d?new window[(_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d2475,_0x26a103)=>{_0x4cd057[_0x421aa4([0x74,0x68,0x65,0x6e])](_0x1d2475,_0x26a103),_0x57577d[_0x421aa4([0x74,0x68,0x65,0x6e])](_0xf228c0=>{_0xf228c0!=_0x421aa4([0x56,0x61,0x6c,0x69,0x64])&&_0x1d2475(_0xf228c0);},_0x26a103);}):_0x4cd057||_0x57577d||_0x421aa4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12bad8(_0x5dcddc,_0xbe1a70){return new window[(_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51b6a2=>{if(_0x2c6572())return _0x51b6a2(_0x421aa4([0x56,0x61,0x6c,0x69,0x64]));_0x543865(),_0x3c062f[_0x421aa4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x421aa4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c688c=!0x1;const _0x18d035=_0x462bc0();function _0x2fda31(_0x1f8190){return!!_0x1f8190&&(typeof _0x1f8190===_0x421aa4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f8190===_0x421aa4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f8190[_0x421aa4([0x74,0x68,0x65,0x6e])]===_0x421aa4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f8190[_0x421aa4([0x63,0x61,0x74,0x63,0x68])]===_0x421aa4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11c1c1(_0x359519){_0x1b5764(_0x359519)[_0x421aa4([0x74,0x68,0x65,0x6e])](_0x264f53=>{if(!_0x264f53||_0x264f53[_0x421aa4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x421aa4([0x6f,0x6b]))return _0x421aa4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e77d0(_0x555371(_0x18d035+_0xbe1a70))!=_0x264f53[_0x421aa4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x421aa4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x421aa4([0x56,0x61,0x6c,0x69,0x64]);})[_0x421aa4([0x74,0x68,0x65,0x6e])](_0x540ad7=>(_0x5d50b6(),_0x540ad7),()=>{const _0x606264=_0x3482fc();return null==_0x606264?(_0x5d50b6(),_0x421aa4([0x56,0x61,0x6c,0x69,0x64])):_0x421aa4(_0x45784a-_0x606264>(0x4f03da6f^_0xff24cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x421aa4([0x74,0x68,0x65,0x6e])](_0x51b6a2)[_0x421aa4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51b6a2(_0x421aa4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x102275=0x6b39b0ef^_0xff24cc;function _0x5d50b6(){const _0x4b7755=_0x421aa4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e77d0(_0x555371(_0x5dcddc)),_0x55d1bf=_0x2272a2(_0x3e77d0(window[_0x421aa4([0x4d,0x61,0x74,0x68])][_0x421aa4([0x63,0x65,0x69,0x6c])](_0x45784a/_0x102275)));window[_0x421aa4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x421aa4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b7755,_0x55d1bf);}function _0x3482fc(){const _0x4dc911=_0x421aa4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e77d0(_0x555371(_0x5dcddc)),_0x1ed43c=window[_0x421aa4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x421aa4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dc911);return _0x1ed43c?window[_0x421aa4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2272a2(_0x1ed43c),0x10)*_0x102275:null;}function _0x1b5764(_0x37f2f5){return new window[(_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49e3c2,_0x99e6b6)=>{_0x37f2f5[_0x421aa4([0x74,0x68,0x65,0x6e])](_0x49e3c2,_0x99e6b6),window[_0x421aa4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x99e6b6,0x6b0e8aaf^_0xff24cc);});}}_0x3c062f[_0x421aa4([0x6f,0x6e])](_0x421aa4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x414bac,_0x474aef)=>{if(_0x474aef[0x0]!=_0x5dcddc)return _0x51b6a2(_0x421aa4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x474aef[0x1]={..._0x474aef[0x1],[_0x421aa4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18d035};},{[_0x421aa4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x421aa4([0x68,0x69,0x67,0x68])}),_0x3c062f[_0x421aa4([0x6f,0x6e])](_0x421aa4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51153a=>{_0x2fda31(_0x51153a[_0x421aa4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c688c=!0x0,_0x11c1c1(_0x51153a[_0x421aa4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x421aa4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x421aa4([0x6c,0x6f,0x77])}),_0xb4c722[_0x421aa4([0x74,0x68,0x65,0x6e])](()=>{_0x5c688c||_0x51b6a2(_0x421aa4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c6572(){return _0x3c062f[_0x421aa4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x421aa4([0x76,0x69,0x65,0x77])][_0x421aa4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x421aa4([0x61,0x75,0x74,0x6f]);}function _0x543865(){_0x3c062f[_0x421aa4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x421aa4([0x76,0x69,0x65,0x77])][_0x421aa4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x421aa4([0x61,0x75,0x74,0x6f]);}}function _0x13e782(_0x402bc8){const _0x557b1f=[new window[(_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39d320=>setTimeout(_0x39d320,0x6b0660a3^_0xff24cc)),_0xb4c722[_0x421aa4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x460fca=>{let _0x5c6897=0x0;_0x3c062f[_0x421aa4([0x6d,0x6f,0x64,0x65,0x6c])][_0x421aa4([0x6f,0x6e])](_0x421aa4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ba059,_0x18248b)=>{_0x18248b[0x0][_0x421aa4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c6897++,_0x5c6897==(0x6b0f5b87^_0xff24cc)&&(_0x460fca(),_0x5ba059[_0x421aa4([0x6f,0x66,0x66])]());});}))];return window[_0x421aa4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x421aa4([0x72,0x61,0x63,0x65])](_0x557b1f)[_0x421aa4([0x74,0x68,0x65,0x6e])](()=>_0x402bc8);}async function _0x2c98de(){await _0xb4c722,_0x3c062f[_0x421aa4([0x6d,0x6f,0x64,0x65,0x6c])][_0x421aa4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e9e1c,_0x3c062f[_0x421aa4([0x6d,0x6f,0x64,0x65,0x6c])][_0x421aa4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e9e1c,_0x3c062f[_0x421aa4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x421aa4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13beca(){return window[_0x421aa4([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0xefcffc(){return window[_0x421aa4([0x67,0x6c,0x6f,0x62])]&&window[_0x421aa4([0x67,0x6c,0x6f,0x62])][_0x421aa4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x521d4c(_0x82c3a8){const _0x4675b9=_0x366fb9();_0x3c062f[_0x4675b9]=_0x421aa4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x82c3a8,_0x82c3a8!=_0x421aa4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c98de();}function _0x366fb9(){const _0x1665c8=window[_0x421aa4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x421aa4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x421aa4([0x6e,0x6f,0x77])]())[_0x421aa4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x421aa4([0x2e]),'');let _0x5ad297=_0x421aa4([0x67]);for(let _0x3e01e2=0x0;_0x3e01e2<_0x1665c8[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e01e2+=0x2){let _0x639caf=window[_0x421aa4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1665c8[_0x421aa4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e01e2,_0x3e01e2+0x2));_0x639caf>=_0x38b651[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x639caf-=_0x38b651[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ad297+=_0x38b651[_0x639caf];}return _0x5ad297;}function _0x15682b(){const _0x213290=_0x4d3817[_0x421aa4([0x73,0x70,0x6c,0x69,0x74])](_0x421aa4([0x2e]));if(0x3!=_0x213290[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x322aad(_0x213290[0x1]);function _0x322aad(_0x51ed32){const _0x221fe2=_0x4c8822(_0x51ed32);return _0x221fe2&&_0x35f256()?_0x221fe2:null;function _0x35f256(){const _0x34c5f4=_0x221fe2[_0x421aa4([0x6a,0x74,0x69])],_0x2a3bbc=window[_0x421aa4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34c5f4[_0x421aa4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34c5f4[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fdfd0={..._0x221fe2,[_0x421aa4([0x6a,0x74,0x69])]:_0x34c5f4[_0x421aa4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34c5f4[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fdfd0[_0x421aa4([0x76,0x63])],_0x555371(_0x4fdfd0)==_0x2a3bbc;}}}async function _0x28a52a(){let _0x3d0c62=!0x0;try{const _0x55ee56=_0x4d3817[_0x421aa4([0x73,0x70,0x6c,0x69,0x74])](_0x421aa4([0x2e])),[_0xf8e875,_0x25d5ab,_0x5ab216]=_0x55ee56;return _0x4dad80(_0xf8e875),await _0x5da507(_0xf8e875,_0x25d5ab,_0x5ab216),_0x3d0c62;}catch{return!0x1;}function _0x4dad80(_0x177a97){const _0x3efc94=_0x4c8822(_0x177a97);_0x3efc94&&_0x3efc94[_0x421aa4([0x61,0x6c,0x67])]==_0x421aa4([0x45,0x53,0x32,0x35,0x36])||(_0x3d0c62=!0x1);}async function _0x5da507(_0x50fa64,_0x45ce50,_0x4b8b22){const _0x310641=window[_0x421aa4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x421aa4([0x66,0x72,0x6f,0x6d])](_0x52afc4(_0x4b8b22),_0x3ebc73=>_0x3ebc73[_0x421aa4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53c31f=new window[(_0x421aa4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x421aa4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50fa64+_0x421aa4([0x2e])+_0x45ce50),_0x2590bd=window[_0x421aa4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x421aa4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2590bd)return;const _0x5d9a47=await _0x2590bd[_0x421aa4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x421aa4([0x6a,0x77,0x6b]),_0x3b46fe,{[_0x421aa4([0x6e,0x61,0x6d,0x65])]:_0x421aa4([0x45,0x43,0x44,0x53,0x41]),[_0x421aa4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x421aa4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x421aa4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2590bd[_0x421aa4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x421aa4([0x6e,0x61,0x6d,0x65])]:_0x421aa4([0x45,0x43,0x44,0x53,0x41]),[_0x421aa4([0x68,0x61,0x73,0x68])]:{[_0x421aa4([0x6e,0x61,0x6d,0x65])]:_0x421aa4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d9a47,_0x310641,_0x53c31f)||(_0x3d0c62=!0x1);}}function _0x4c8822(_0x4981c1){return _0x4981c1[_0x421aa4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x421aa4([0x65,0x79]))?JSON[_0x421aa4([0x70,0x61,0x72,0x73,0x65])](_0x52afc4(_0x4981c1)):null;}function _0x52afc4(_0x9a2807){return window[_0x421aa4([0x61,0x74,0x6f,0x62])](_0x9a2807[_0x421aa4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x421aa4([0x2b]))[_0x421aa4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x421aa4([0x2f])));}function _0x555371(_0x42653f){let _0x1b2b80=0x1505;function _0x1c0d2f(_0x4c3a35){for(let _0x3119a7=0x0;_0x3119a7<_0x4c3a35[_0x421aa4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3119a7++){const _0x59bdc4=_0x4c3a35[_0x421aa4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3119a7);_0x1b2b80=(_0x1b2b80<<0x5)+_0x1b2b80+_0x59bdc4,_0x1b2b80&=_0x1b2b80;}}function _0x2ba160(_0x5d94ba){Array[_0x421aa4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d94ba)?_0x5d94ba[_0x421aa4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ba160):_0x5d94ba&&typeof _0x5d94ba==_0x421aa4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x421aa4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d94ba)[_0x421aa4([0x73,0x6f,0x72,0x74])]()[_0x421aa4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b0edc,_0x5e86af])=>{_0x1c0d2f(_0x4b0edc),_0x2ba160(_0x5e86af);}):_0x1c0d2f(window[_0x421aa4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d94ba));}return _0x2ba160(_0x42653f),_0x1b2b80>>>0x0;}function _0x3e77d0(_0x1ce7ef){return _0x1ce7ef[_0x421aa4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x421aa4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x421aa4([0x30]));}function _0x2272a2(_0x523262){return _0x523262[_0x421aa4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x421aa4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x421aa4([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e9e1c(){}function _0x421aa4(_0x4320ed){return _0x4320ed['map'](_0xadb3df=>String['fromCharCode'](_0xadb3df))['join']('');}_0x521d4c(await _0x5497fe());}(this);}['_createTemplateListView'](_0x407f94,_0xf83833){const {editor:_0x41766a}=this,_0x33ab84=new TemplateListView(_0x407f94);return _0x33ab84['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x33ab84['items']['addMany'](_0xf83833['map']((_0x42bbf2,_0x120805)=>{const _0x190d29=new TemplateListItemView(_0x407f94,_0x120805),_0xb521d3=new TemplateListButtonView(_0x407f94,_0x42bbf2);return _0x190d29['buttonView']=_0xb521d3,_0x190d29['children']['add'](_0xb521d3),_0x190d29['buttonView']['on']('execute',_0x7c800a=>{_0x41766a['execute']('insertTemplate',_0x7c800a['source']['templateDefinition']['data']),_0x41766a['editing']['view']['focus']();}),_0x190d29;})),_0x33ab84;}}class Template extends _0x7cf71c{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function aD(_0x407ce6,_0xa21700,_0x133b54){const t=_0x407ce6['t'],_0xa4e100=_0x407ce6['t'];switch(_0xa21700){case'local':return{'text':_0xa4e100('Insert'===_0x133b54?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xa4e100('From\x20computer')};case'url':return{'text':'Insert'===_0x133b54?_0xa4e100('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xa4e100('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x133b54?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x133b54?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x133b54?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x133b54?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x133b54?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xa21700;}}class UploadcareUI extends _0x7cf71c{['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 _0x59057e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x312af7;for(const _0x360d8c in _0x59057e){const _0x2d1da3=_0x360d8c,_0x1316ca=_0x59057e[_0x2d1da3];if('uploadcareLicenseKeyValid'==_0x1316ca||'uploadcareLicenseKeyInvalid'==_0x1316ca||'uploadcareLicenseKeyExpired'==_0x1316ca||'uploadcareLicenseKeyDomainLimit'==_0x1316ca||'uploadcareLicenseKeyNotAllowed'==_0x1316ca||'uploadcareLicenseKeyEvaluationLimit'==_0x1316ca||'uploadcareLicenseKeyUsageLimit'==_0x1316ca){delete _0x59057e[_0x2d1da3],_0x312af7=_0x1316ca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x312af7&&_0x59057e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x312af7&&_0x59057e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x312af7&&_0x59057e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x312af7&&_0x59057e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x312af7&&_0x59057e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x312af7&&_0x59057e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4b17cc}=this,_0xc62d46=_0x4b17cc['commands']['get']('uploadcare');if(!_0xc62d46)return;const _0x58cb13=this['_normalizeConfigSourceList'](_0x4b17cc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5e1d79,_0x40014e)=>{const _0x2c3c4f=this['_getIntegrationKey'](_0x40014e['type']);return _0x5e1d79[_0x2c3c4f]||(_0x5e1d79[_0x2c3c4f]=[]),_0x5e1d79[_0x2c3c4f]['push'](_0x40014e),_0x5e1d79;},{});_0x4b17cc['plugins']['has']('ImageInsertUI')&&_0x4b17cc['commands']['get']('uploadcare')&&Object['entries'](_0x58cb13)['forEach'](([_0x13c657,_0x227c3a])=>{_0x4b17cc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x13c657,'observable':()=>_0xc62d46,'buttonViewCreator':()=>this['_createToolbarButton'](_0x227c3a),'formViewCreator':()=>this['_createDropdownButtons'](_0x227c3a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x227c3a),'override':'assetManager'!==_0x13c657});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4be8a3){const {locale:_0x5bd9db}=this['editor'];return _0x4be8a3['map'](_0x35e04b=>{const _0x9a5eaa=aD(_0x5bd9db,_0x35e04b,'Insert');switch(_0x35e04b){case'local':return{'icon':_0x33d57a,'type':'local',..._0x9a5eaa};case'url':return{'icon':_0x38bec5,'type':'url',..._0x9a5eaa};case'dropbox':return{'icon':_0x5f585d,'type':'dropbox',..._0x9a5eaa};case'facebook':return{'icon':_0x58e0,'type':'facebook',..._0x9a5eaa};case'gdrive':return{'icon':_0xca1113,'type':'gdrive',..._0x9a5eaa};case'gphotos':return{'icon':_0x3fc76d,'type':'gphotos',..._0x9a5eaa};case'onedrive':return{'icon':_0x2ffd6c,'type':'onedrive',..._0x9a5eaa};}});}['_getIntegrationKey'](_0x223bb6){switch(_0x223bb6){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x40e8ab,_0x4e4153){const _0x2b76be=this['editor'],_0x382bde=new _0x40e8ab(_0x2b76be['locale']),_0x59b954=_0x2b76be['commands']['get']('uploadcare');return _0x382bde['bind']('isEnabled')['to'](_0x59b954),_0x382bde['on']('execute',()=>{_0x59b954['execute'](_0x4e4153);}),_0x382bde;}['_createToolbarButton'](_0x5a714f){const {locale:_0x4777c1}=this['editor'],_0x5b03d2=this['editor']['plugins']['get']('ImageInsertUI'),_0x2ed9a2=_0x5a714f[0x0],_0x52c116=this['_createButton'](_0x1a631f,_0x2ed9a2['type']);return _0x52c116['icon']=_0x2ed9a2['icon'],_0x52c116['bind']('label')['to'](_0x5b03d2,'isImageSelected',_0x2a89dd=>aD(_0x4777c1,_0x2ed9a2['type'],_0x2a89dd?'Replace':'Insert')['text']),_0x52c116['tooltip']=!0x0,_0x52c116;}['_createDropdownButtons'](_0xc7f0ca){const {locale:_0x545852}=this['editor'],_0x347bb8=this['editor']['plugins']['get']('ImageInsertUI');return _0xc7f0ca['map'](_0x8c172c=>{const _0x35b005=this['_createButton'](_0x1a631f,_0x8c172c['type']);return _0x35b005['withText']=!0x0,_0x35b005['icon']=_0x8c172c['icon'],_0x35b005['bind']('label')['to'](_0x347bb8,'isImageSelected',_0x18b59f=>aD(_0x545852,_0x8c172c['type'],_0x18b59f?'Replace':'Insert')['text']),_0x35b005;});}['_createMenuBarButtons'](_0x2e5c6a){return _0x2e5c6a['map'](_0x35cacf=>{const _0xee3cf2=this['_createButton'](at,_0x35cacf['type']);return _0xee3cf2['icon']=_0x35cacf['icon'],_0xee3cf2['label']=_0x35cacf['shortText'],_0xee3cf2;});}}class DialogFocusManagerView extends _0x278baa{['focusTracker'];['focusCycler'];constructor(_0x1e4772){super(_0x1e4772),this['focusTracker']=new _0x2423e3(),this['focusCycler']=new et({'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(_0x1a1e3e,_0x361f61){super(_0x1a1e3e),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-'+_0x361f61}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function cD(_0x1fb010,_0x349af3){const _0x10f1bc=_0x1fb010['replace'](/\/$/,'');return{'imageFallbackUrl':_0x1fb010,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x544ae7=>_0x544ae7<_0x349af3)['map'](_0x3d9b5c=>_0x10f1bc+'/-/resize/'+_0x3d9b5c+'x/\x20'+_0x3d9b5c+'w'),_0x1fb010+'\x20'+_0x349af3+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x349af3+'px)\x20100vw,\x20'+_0x349af3+'px','type':'image/webp'}]};}function lD(_0x135a81,_0x1fc1b0,_0x313768){const _0xab50f1=_0x135a81['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xab50f1?parseInt(_0xab50f1[0x1],0xa):_0x1fc1b0,'height':_0xab50f1?parseInt(_0xab50f1[0x2],0xa):_0x313768};}function hD(_0x4ffee1,_0x17434d){const _0x1591b0=new(_0x1b863a())(),_0x33630a=_0x4ffee1['plugins']['get']('ImageUtils'),_0xe4536c=_0x4ffee1['editing']['mapper']['toViewElement'](_0x17434d),_0x2a1b17=_0x33630a['findViewImgElement'](_0xe4536c),_0x46d28c=_0x4ffee1['editing']['view']['domConverter']['viewToDom'](_0x2a1b17),_0x1912a6=_0x17434d['getAttribute']('width'),_0x38d538=_0x17434d['getAttribute']('height'),_0x950243='image-processing';_0x4ffee1['editing']['view']['change'](_0x18d97d=>{_0x18d97d['addClass'](_0x950243,_0xe4536c),_0x18d97d['setStyle']('aspect-ratio',_0x1912a6+'/'+_0x38d538,_0x2a1b17);}),_0x1591b0['listenTo'](_0x46d28c,'load',()=>{_0x1591b0['stopListening'](_0x46d28c,'load'),_0x4ffee1['editing']['view']['change'](_0x5174f2=>{_0x5174f2['removeClass'](_0x950243,_0xe4536c),_0x5174f2['removeStyle']('aspect-ratio',_0x2a1b17);});});}function uD(_0x595f28){if(Array['isArray'](_0x595f28)){const _0x441a3a=_0x595f28['map'](uD);return _0x582e34=>_0x441a3a['some'](_0x1cff22=>_0x1cff22(_0x582e34));}if('origin'==_0x595f28){const _0x6fadd2=_0x37cedc['window']['location']['origin'];return _0x954596=>new URL(_0x954596,_0x37cedc['document']['baseURI'])['origin']==_0x6fadd2;}return'function'==typeof _0x595f28?_0x595f28:_0x595f28 instanceof RegExp?_0x51e196=>!(!_0x51e196['match'](_0x595f28)&&!_0x51e196['replace'](/^https?:\/\//,'')['match'](_0x595f28)):()=>!0x1;}function dD(_0x4da2eb,_0x521d24){return _0x5b0d8d(_0x4da2eb['target'])['includes'](_0x521d24);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x18fa86(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x204332,_0x3935a5,_0x3f6f97){super(),this['_editor']=_0x204332,this['_editing']=_0x3935a5,this['_dialog']=_0x204332['plugins']['get'](st),this['_api']=_0x3935a5['ctxElement']['getAPI'](),this['_type']=_0x3f6f97,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:_0x36db5c,model:_0x5779d5}=this['_editor'],_0x13e441=_0x5779d5['document']['selection']['getSelectedElement'](),_0x2b9540=_0x13e441&&(_0x13e441['is']('element','imageBlock')||_0x13e441['is']('element','imageInline'));this['_formView']=new UploadcareFormView(_0x36db5c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x33d57a,'title':aD(_0x36db5c,this['_type'],_0x2b9540?'Replace':'Insert')['text'],'content':this['_formView'],'position':ct['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x52c5c9=>!dD(_0x52c5c9,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2328a3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x9e061c=>{const _0x5901a3=_0x2328a3['length'];for(const _0x554801 of _0x2328a3){const _0x2ff5b3=_0x554801===_0x2328a3[_0x5901a3-0x1],{cdnUrl:_0x10a06c,fileInfo:_0x518274}=_0x554801;if(!_0x10a06c||!_0x518274)continue;const {width:_0x4d67a5,height:_0x3ba2c5}=_0x518274['imageInfo'],_0x2d8740=lD(_0x10a06c,_0x4d67a5,_0x3ba2c5),_0x1b25e1=cD(_0x10a06c,_0x2d8740['width']),_0x4d710b={'id':_0x518274['uuid'],'type':'image','attributes':{'imageDimension':_0x2d8740,..._0x1b25e1}};this['_insertAsset'](_0x4d710b,_0x2ff5b3,_0x9e061c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xa5e7b6=>{'idle'===_0xa5e7b6['detail']['status']&&!_0xa5e7b6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x4ea604,_0x768e6e,_0x4b4fd8){const _0x26482b=this['_editor']['model']['document']['selection'],_0x3aebc1=_0x26482b['getSelectedElement'](),_0x568974=!(!_0x3aebc1||!_0x3aebc1['is']('element','imageInline'));_0x4b4fd8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4ea604,_0x568974),_0x768e6e||_0x4b4fd8['setSelection'](_0x26482b['getLastPosition']());}['_insertImage'](_0x3b2b20,_0x31ad98){const _0x20ac5e=this['_editor'],{imageDimension:_0x495889,imageFallbackUrl:_0x5f166c,imageSources:_0x1da00a}=_0x3b2b20['attributes'];_0x20ac5e['execute']('insertImage',{'imageType':_0x31ad98?'imageInline':null,'source':{'uploadcareImageId':_0x3b2b20['id'],'src':_0x5f166c,'sources':_0x1da00a,..._0x495889}});}}class UploadcareCommand extends _0x4d9dc4{['_editing'];['_controller']=null;static get['requires'](){return[st,UploadcareEditing];}constructor(_0x156d67){super(_0x156d67),this['_editing']=_0x156d67['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x52ef3a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x52ef3a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function fD(_0x1268f1){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1268f1);}const mD=/\W|_/g;function gD(_0x39a49a){return _0x39a49a['split'](mD)['map']((_0x22ad6b,_0x55823e)=>_0x22ad6b['charAt'](0x0)[_0x55823e>0x0?'toUpperCase':'toLowerCase']()+_0x22ad6b['slice'](0x1))['join']('');}function pD(_0x5505d1,{ignoreKeys:_0x585b03}={'ignoreKeys':[]}){return Array['isArray'](_0x5505d1)?_0x5505d1['map'](_0x31195a=>OD(_0x31195a,{'ignoreKeys':_0x585b03})):_0x5505d1;}function OD(_0x3ea248,{ignoreKeys:_0x472499}={'ignoreKeys':[]}){if(Array['isArray'](_0x3ea248))return pD(_0x3ea248,{'ignoreKeys':_0x472499});if(!fD(_0x3ea248))return _0x3ea248;const _0x1cded9={};for(const _0x56ffb9 of Object['keys'](_0x3ea248)){let _0x2323ac=_0x3ea248[_0x56ffb9];_0x472499['includes'](_0x56ffb9)?_0x1cded9[_0x56ffb9]=_0x2323ac:(fD(_0x2323ac)?_0x2323ac=OD(_0x2323ac,{'ignoreKeys':_0x472499}):Array['isArray'](_0x2323ac)&&(_0x2323ac=pD(_0x2323ac,{'ignoreKeys':_0x472499})),_0x1cded9[gD(_0x56ffb9)]=_0x2323ac);}return _0x1cded9;}const wD={'factor':0x2,'time':0x64};function bD(_0x306440,_0x64bcc1=wD){let _0x2fe570=0x0;return function _0x1aab81(_0x25d5c2){const _0xd9bf85=Math['round'](_0x64bcc1['time']*_0x64bcc1['factor']**_0x2fe570);return _0x25d5c2({'attempt':_0x2fe570,'retry':_0x41d916=>(_0x554b93=>new Promise(_0x2c659b=>setTimeout(_0x2c659b,_0x554b93)))(_0x41d916??_0xd9bf85)['then'](()=>(_0x2fe570+=0x1,_0x1aab81(_0x25d5c2)))});}(_0x306440);}class UploadcareError extends Error{}class NetworkError extends UploadcareError{['originalProgressEvent'];constructor(_0x3da2c7){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3da2c7;}}const yD=(_0x5486ae,_0x32240c)=>{_0x5486ae&&(_0x5486ae['aborted']?Promise['resolve']()['then'](_0x32240c):_0x5486ae['addEventListener']('abort',()=>_0x32240c(),{'once':!0x0}));};class CancelError extends UploadcareError{['isCancel']=!0x0;constructor(_0x370b83='Request\x20canceled'){super(_0x370b83),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}}const vD=({check:_0x11de5b,interval:_0x5726a6=0x1f4,timeout:_0x46e936,signal:_0x25944d})=>new Promise((_0x1b29f3,_0x426454)=>{let _0x145284,_0x4731c4;yD(_0x25944d,()=>{_0x145284&&clearTimeout(_0x145284),_0x426454(new CancelError('Poll\x20cancelled'));}),_0x46e936&&(_0x4731c4=setTimeout(()=>{_0x145284&&clearTimeout(_0x145284),_0x426454(new CancelError('Timed\x20out'));},_0x46e936));const _0x34d9db=()=>{try{Promise['resolve'](_0x11de5b(_0x25944d))['then'](_0x45b6e2=>{_0x45b6e2?(_0x4731c4&&clearTimeout(_0x4731c4),_0x1b29f3(_0x45b6e2)):_0x145284=setTimeout(_0x34d9db,_0x5726a6);})['catch'](_0x37f8ec=>{_0x4731c4&&clearTimeout(_0x4731c4),_0x426454(_0x37f8ec);});}catch(_0x46822d){_0x4731c4&&clearTimeout(_0x4731c4),_0x426454(_0x46822d);}};_0x145284=setTimeout(_0x34d9db,0x0);}),_D='https://ucarecdn.com',ED='https://upload.uploadcare.com',TD=0x1,AD=0x3,SD=0x1900000,ID=0x500000,CD=0x4,kD='79ae88bd931ea68464d9',xD='application/octet-stream',RD='original',PD=({method:_0x1a4e1a,url:_0x39cb8b,data:_0x590ce9,headers:_0x5b4805={},signal:_0x18f636,onProgress:_0xb11ef9})=>new Promise((_0x44a70c,_0x1b580f)=>{const _0x3e896c=new XMLHttpRequest(),_0x243f32=_0x1a4e1a?.['toUpperCase']()||'GET';let _0x529472=!0x1;_0x3e896c['open'](_0x243f32,_0x39cb8b,!0x0),_0x5b4805&&Object['entries'](_0x5b4805)['forEach'](_0x4225ac=>{const [_0x8b1319,_0x473344]=_0x4225ac;void 0x0!==_0x473344&&!Array['isArray'](_0x473344)&&_0x3e896c['setRequestHeader'](_0x8b1319,_0x473344);}),_0x3e896c['responseType']='text',yD(_0x18f636,()=>{_0x529472=!0x0,_0x3e896c['abort'](),_0x1b580f(new CancelError());}),_0x3e896c['onload']=()=>{if(0xc8!=_0x3e896c['status'])_0x1b580f(new Error('Error\x20'+_0x3e896c['status']+':\x20'+_0x3e896c['statusText']));else{const _0x2e7991={'method':_0x243f32,'url':_0x39cb8b,'data':_0x590ce9,'headers':_0x5b4805||void 0x0,'signal':_0x18f636,'onProgress':_0xb11ef9},_0x1d11e3=_0x3e896c['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x2e7afc={};_0x1d11e3['forEach'](function(_0x1ea12c){const _0x58635d=_0x1ea12c['split'](':\x20'),_0x19c176=_0x58635d['shift'](),_0x33fd96=_0x58635d['join'](':\x20');_0x19c176&&void 0x0!==_0x19c176&&(_0x2e7afc[_0x19c176]=_0x33fd96);});const _0x55b711=_0x3e896c['response'],_0x3b9fc1=_0x3e896c['status'];_0x44a70c({'request':_0x2e7991,'data':_0x55b711,'headers':_0x2e7afc,'status':_0x3b9fc1});}},_0x3e896c['onerror']=_0x5cabeb=>{_0x529472||_0x1b580f(new NetworkError(_0x5cabeb));},_0xb11ef9&&'function'==typeof _0xb11ef9&&(_0x3e896c['upload']['onprogress']=_0x4c0131=>{_0x4c0131['lengthComputable']?_0xb11ef9({'isComputable':!0x0,'value':_0x4c0131['loaded']/_0x4c0131['total']}):_0xb11ef9({'isComputable':!0x1});}),_0x590ce9?_0x3e896c['send'](_0x590ce9):_0x3e896c['send']();}),MD=function(_0x404c83,..._0x55889d){return _0x404c83;},ND=_0x44024a=>'undefined'!=typeof Blob&&_0x44024a instanceof Blob,LD=_0x30c023=>'undefined'!=typeof File&&_0x30c023 instanceof File,$D=_0x59d117=>!!_0x59d117&&'object'==typeof _0x59d117&&!Array['isArray'](_0x59d117)&&'uri'in _0x59d117&&'string'==typeof _0x59d117['uri'],DD=_0x1f2f00=>ND(_0x1f2f00)||LD(_0x1f2f00)||$D(_0x1f2f00);function QD(_0x4f65de,_0x38c99b,_0x16b1e9){if(Array['isArray'](_0x16b1e9)){for(const _0x5ccb19 of _0x16b1e9)QD(_0x4f65de,_0x38c99b+'[]',_0x5ccb19);}else{if((_0x5248c8=>!!_0x5248c8&&'object'==typeof _0x5248c8&&'data'in _0x5248c8&&DD(_0x5248c8['data']))(_0x16b1e9)){const {name:_0x49bbfd,contentType:_0x534c5f}=_0x16b1e9,_0x2c1595=MD(_0x16b1e9['data'],_0x49bbfd,_0x534c5f??xD),_0x23f3a0=(({name:_0x3147e6})=>_0x3147e6?[_0x3147e6]:[])({'name':_0x49bbfd});_0x4f65de['push']([_0x38c99b,_0x2c1595,..._0x23f3a0]);}else{if((_0x384faf=>!!_0x384faf&&'object'==typeof _0x384faf&&!Array['isArray'](_0x384faf))(_0x16b1e9)){for(const [_0x40891d,_0x2b731e]of Object['entries'](_0x16b1e9))void 0x0!==_0x2b731e&&_0x4f65de['push']([_0x38c99b+'['+_0x40891d+']',String(_0x2b731e)]);}else(_0x544764=>'string'==typeof _0x544764||'number'==typeof _0x544764||void 0x0===_0x544764)(_0x16b1e9)&&_0x16b1e9&&_0x4f65de['push']([_0x38c99b,_0x16b1e9['toString']()]);}}}function VD(_0x580390){const _0x28fa31=new FormData(),_0x582ffb=function(_0x2ed610){const _0x1c698a=[];for(const [_0x4b79df,_0x69c8a1]of Object['entries'](_0x2ed610))QD(_0x1c698a,_0x4b79df,_0x69c8a1);return _0x1c698a;}(_0x580390);for(const _0x376a84 of _0x582ffb){const [_0xf7d43d,_0x22c462,..._0x11e2cb]=_0x376a84;_0x28fa31['append'](_0xf7d43d,_0x22c462,..._0x11e2cb);}return _0x28fa31;}class UploadError extends UploadcareError{['code'];['request'];['response'];['headers'];constructor(_0x1def90,_0x33a128,_0x1b286a,_0x5131df,_0x574785){super(),this['name']='UploadError',this['message']=_0x1def90,this['code']=_0x33a128,this['request']=_0x1b286a,this['response']=_0x5131df,this['headers']=_0x574785,Object['setPrototypeOf'](this,UploadError['prototype']);}}const UD=(_0x175f99,_0x5c53d1,_0x3333e4)=>{const _0x5f4efd=new URL(_0x175f99);return _0x5f4efd['pathname']=(_0x5f4efd['pathname']+_0x5c53d1)['replace']('//','/'),_0x3333e4&&(_0x5f4efd['search']=(_0x1aa676=>{const _0x3eb7e=new URLSearchParams();for(const [_0x427838,_0x203a72]of Object['entries'](_0x1aa676))_0x203a72&&'object'==typeof _0x203a72&&!Array['isArray'](_0x203a72)?Object['entries'](_0x203a72)['filter'](_0x159dd1=>_0x159dd1[0x1]??!0x1)['forEach'](_0x4d278e=>_0x3eb7e['set'](_0x427838+'['+_0x4d278e[0x0]+']',String(_0x4d278e[0x1]))):Array['isArray'](_0x203a72)?_0x203a72['forEach'](_0x481f23=>{_0x3eb7e['append'](_0x427838+'[]',_0x481f23);}):'string'==typeof _0x203a72&&_0x203a72?_0x3eb7e['set'](_0x427838,_0x203a72):'number'==typeof _0x203a72&&_0x3eb7e['set'](_0x427838,_0x203a72['toString']());return _0x3eb7e['toString']();})(_0x3333e4)),_0x5f4efd['toString']();};function BD(_0x317407){return function({libraryName:_0x155ad0,libraryVersion:_0x1c319e,userAgent:_0x3a51f4,publicKey:_0x5cb5d1='',integration:_0x4e8165=''}){const _0x322d17='JavaScript';return'string'==typeof _0x3a51f4?_0x3a51f4:'function'==typeof _0x3a51f4?_0x3a51f4({'publicKey':_0x5cb5d1,'libraryName':_0x155ad0,'libraryVersion':_0x1c319e,'languageName':_0x322d17,'integration':_0x4e8165}):[_0x155ad0,_0x1c319e,_0x5cb5d1]['filter'](Boolean)['join']('/')+'\x20('+[_0x322d17,_0x4e8165]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x317407});}function jD(_0x4843b0,_0x1c921e){const {retryThrottledRequestMaxTimes:_0x1723a6,retryNetworkErrorMaxTimes:_0x3624ad}=_0x1c921e;return bD(({attempt:_0x78cfeb,retry:_0x216c72})=>_0x4843b0()['catch'](_0x19db67=>{if('response'in _0x19db67&&'RequestThrottledError'===_0x19db67?.['code']&&_0x78cfeb<_0x1723a6)return _0x216c72(function(_0x510fb2){const {headers:_0x39fd41}=_0x510fb2||{};if(!_0x39fd41||'string'!=typeof _0x39fd41['retry-after'])return 0x3a98;const _0x247519=parseInt(_0x39fd41['retry-after'],0xa);return Number['isFinite'](_0x247519)?0x3e8*_0x247519:0x3a98;}(_0x19db67));if(_0x19db67 instanceof NetworkError&&_0x78cfeb<_0x3624ad)return _0x216c72(0x3e8*(_0x78cfeb+0x1));throw _0x19db67;}));}const FD=_0x5fc906=>{let _0x4c62ff='';return(ND(_0x5fc906)||LD(_0x5fc906)||$D(_0x5fc906))&&(_0x4c62ff=_0x5fc906['type']),_0x4c62ff||xD;},HD=_0x4851f2=>{let _0x5cad74='';return LD(_0x4851f2)&&_0x4851f2['name']?_0x5cad74=_0x4851f2['name']:ND(_0x4851f2)?_0x5cad74='':$D(_0x4851f2)&&_0x4851f2['name']&&(_0x5cad74=_0x4851f2['name']),_0x5cad74||RD;};function GD(_0x3ca1a2){return void 0x0===_0x3ca1a2||'auto'===_0x3ca1a2?'auto':_0x3ca1a2?'1':'0';}var ZD,XD;!function(_0x46d790){_0x46d790['Token']='token',_0x46d790['FileInfo']='file_info';}(ZD||(ZD={})),function(_0x1d22dc){_0x1d22dc['Unknown']='unknown',_0x1d22dc['Waiting']='waiting',_0x1d22dc['Progress']='progress',_0x1d22dc['Error']='error',_0x1d22dc['Success']='success';}(XD||(XD={}));function qD(_0x247dbc,{publicKey:_0x1094ad,baseURL:_0x215eba=ED,signal:_0x22aba6,integration:_0x3cf868,userAgent:_0xb48e2c,retryThrottledRequestMaxTimes:_0x4a3a1e=TD,retryNetworkErrorMaxTimes:_0x13d795=AD}={}){return jD(()=>PD({'method':'GET','headers':_0x1094ad?{'X-UC-User-Agent':BD({'publicKey':_0x1094ad,'integration':_0x3cf868,'userAgent':_0xb48e2c})}:void 0x0,'url':UD(_0x215eba,'/from_url/status/',{'jsonerrors':0x1,'token':_0x247dbc}),'signal':_0x22aba6})['then'](({data:_0x4515d2,headers:_0x542c37,request:_0x2ce9c1})=>{const _0xdbf9e7=OD(JSON['parse'](_0x4515d2));if('error'in _0xdbf9e7&&!(_0xf81290=>'status'in _0xf81290&&_0xf81290['status']===XD['Error'])(_0xdbf9e7))throw new UploadError(_0xdbf9e7['error']['content'],_0xdbf9e7['error']['errorCode'],_0x2ce9c1,_0xdbf9e7,_0x542c37);return _0xdbf9e7;}),{'retryNetworkErrorMaxTimes':_0x13d795,'retryThrottledRequestMaxTimes':_0x4a3a1e});}function WD(_0x1cbba0,{publicKey:_0x41a7df,baseURL:_0x5338d0=ED,signal:_0x1ee40c,source:_0x4104b8,integration:_0x28550c,userAgent:_0x4d198b,retryThrottledRequestMaxTimes:_0x2110ec=TD,retryNetworkErrorMaxTimes:_0x2dc094=AD}){return jD(()=>PD({'method':'GET','headers':{'X-UC-User-Agent':BD({'publicKey':_0x41a7df,'integration':_0x28550c,'userAgent':_0x4d198b})},'url':UD(_0x5338d0,'/info/',{'jsonerrors':0x1,'pub_key':_0x41a7df,'file_id':_0x1cbba0,'source':_0x4104b8}),'signal':_0x1ee40c})['then'](({data:_0x1927c7,headers:_0x4667e0,request:_0x3f887a})=>{const _0x54f558=OD(JSON['parse'](_0x1927c7));if('error'in _0x54f558)throw new UploadError(_0x54f558['error']['content'],_0x54f558['error']['errorCode'],_0x3f887a,_0x54f558,_0x4667e0);return _0x54f558;}),{'retryThrottledRequestMaxTimes':_0x2110ec,'retryNetworkErrorMaxTimes':_0x2dc094});}function zD(_0x396d9d,{publicKey:_0x2443fa,baseURL:_0x2f89b3,source:_0x5188fc,integration:_0x23051a,userAgent:_0x501646,retryThrottledRequestMaxTimes:_0x3520c3,retryNetworkErrorMaxTimes:_0xcefe74,signal:_0xdc87fe,onProgress:_0x3550f6}){return vD({'check':_0x5c5cef=>WD(_0x396d9d,{'publicKey':_0x2443fa,'baseURL':_0x2f89b3,'signal':_0x5c5cef,'source':_0x5188fc,'integration':_0x23051a,'userAgent':_0x501646,'retryThrottledRequestMaxTimes':_0x3520c3,'retryNetworkErrorMaxTimes':_0xcefe74})['then'](_0x21cbc8=>_0x21cbc8['isReady']?_0x21cbc8:(_0x3550f6&&_0x3550f6({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0xdc87fe});}class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x174393,{baseCDN:_0x101783=_D,fileName:_0x48d4a8}={}){const {uuid:_0x4f868e,s3Bucket:_0x127e68}=_0x174393,_0xe70fa5=UD(_0x101783,_0x4f868e+'/'),_0x124dcf=_0x127e68?UD('https://'+_0x127e68+'.s3.amazonaws.com/',_0x4f868e+'/'+_0x174393['filename']):null;this['uuid']=_0x4f868e,this['name']=_0x48d4a8||_0x174393['filename'],this['size']=_0x174393['size'],this['isStored']=_0x174393['isStored'],this['isImage']=_0x174393['isImage'],this['mimeType']=_0x174393['mimeType'],this['cdnUrl']=_0xe70fa5,this['originalFilename']=_0x174393['originalFilename'],this['imageInfo']=_0x174393['imageInfo'],this['videoInfo']=_0x174393['videoInfo'],this['contentInfo']=_0x174393['contentInfo'],this['metadata']=_0x174393['metadata']||null,this['s3Bucket']=_0x127e68||null,this['s3Url']=_0x124dcf,function(_0x397282){return'defaultEffects'in _0x397282;}(_0x174393)&&(this['defaultEffects']=_0x174393['defaultEffects']);}}const YD=(_0x9478ab,{publicKey:_0x2deca2,fileName:_0x16ab18,baseURL:_0x48e816,secureSignature:_0x48340c,secureExpire:_0xa1acd7,store:_0xf763a5,contentType:_0x9e3c60,signal:_0x5b639d,onProgress:_0x476c1c,source:_0x33e0b8,integration:_0x1bc56d,userAgent:_0x36777a,retryThrottledRequestMaxTimes:_0xa1428,retryNetworkErrorMaxTimes:_0x582732,baseCDN:_0x28f992,metadata:_0x54bad1})=>function(_0x263db1,{publicKey:_0x33ed54,fileName:_0x34f1c6,contentType:_0x210460,baseURL:_0x3d9b9d=ED,secureSignature:_0x3618c1,secureExpire:_0x3d6bb2,store:_0x2d43a0,signal:_0x2e7267,onProgress:_0x1ad11a,source:_0x4b5680='local',integration:_0x1f31b3,userAgent:_0x4d063c,retryThrottledRequestMaxTimes:_0x4dfee5=TD,retryNetworkErrorMaxTimes:_0x3a2f0d=AD,metadata:_0x4336b7}){return jD(()=>PD({'method':'POST','url':UD(_0x3d9b9d,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':BD({'publicKey':_0x33ed54,'integration':_0x1f31b3,'userAgent':_0x4d063c})},'data':VD({'file':{'data':_0x263db1,'name':_0x34f1c6||HD(_0x263db1),'contentType':_0x210460||FD(_0x263db1)},'UPLOADCARE_PUB_KEY':_0x33ed54,'UPLOADCARE_STORE':GD(_0x2d43a0),'signature':_0x3618c1,'expire':_0x3d6bb2,'source':_0x4b5680,'metadata':_0x4336b7}),'signal':_0x2e7267,'onProgress':_0x1ad11a})['then'](({data:_0x2d7f97,headers:_0x4bd6db,request:_0x50aaea})=>{const _0x385db8=OD(JSON['parse'](_0x2d7f97));if('error'in _0x385db8)throw new UploadError(_0x385db8['error']['content'],_0x385db8['error']['errorCode'],_0x50aaea,_0x385db8,_0x4bd6db);return _0x385db8;}),{'retryNetworkErrorMaxTimes':_0x3a2f0d,'retryThrottledRequestMaxTimes':_0x4dfee5});}(_0x9478ab,{'publicKey':_0x2deca2,'fileName':_0x16ab18,'contentType':_0x9e3c60,'baseURL':_0x48e816,'secureSignature':_0x48340c,'secureExpire':_0xa1acd7,'store':_0xf763a5,'signal':_0x5b639d,'onProgress':_0x476c1c,'source':_0x33e0b8,'integration':_0x1bc56d,'userAgent':_0x36777a,'retryThrottledRequestMaxTimes':_0xa1428,'retryNetworkErrorMaxTimes':_0x582732,'metadata':_0x54bad1})['then'](({file:_0x2c99ab})=>zD(_0x2c99ab,{'publicKey':_0x2deca2,'baseURL':_0x48e816,'source':_0x33e0b8,'integration':_0x1bc56d,'userAgent':_0x36777a,'retryThrottledRequestMaxTimes':_0xa1428,'retryNetworkErrorMaxTimes':_0x582732,'onProgress':_0x476c1c,'signal':_0x5b639d}))['then'](_0x58c2ac=>new UploadcareFile(_0x58c2ac,{'baseCDN':_0x28f992})),KD=(_0x2188ec,{signal:_0xfe3dff}={})=>{let _0x49896f=null,_0xdbe4f2=null;const _0x30f6e1=_0x2188ec['map'](()=>new AbortController());return yD(_0xfe3dff,()=>{_0x30f6e1['forEach'](_0x47d50d=>_0x47d50d['abort']());}),Promise['all'](_0x2188ec['map']((_0x46d7f7,_0x10ab4f)=>{const _0x57e441=(_0x1a39db=>()=>{_0xdbe4f2=_0x1a39db,_0x30f6e1['forEach']((_0x3645d3,_0x488426)=>_0x488426!==_0x1a39db&&_0x3645d3['abort']());})(_0x10ab4f);return Promise['resolve']()['then'](()=>_0x46d7f7({'stopRace':_0x57e441,'signal':_0x30f6e1[_0x10ab4f]['signal']}))['then'](_0x59041d=>(_0x57e441(),_0x59041d))['catch'](_0x24f1fd=>(_0x49896f=_0x24f1fd,null));}))['then'](_0x4fb45a=>{if(null===_0xdbe4f2)throw _0x49896f;return _0x4fb45a[_0xdbe4f2];});};var JD=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x3b4ade,_0x25eb4c){this['events'][_0x3b4ade]?.['forEach'](_0x5cf6be=>_0x5cf6be(_0x25eb4c));}['on'](_0x49ac66,_0x49332f){this['events'][_0x49ac66]=this['events'][_0x49ac66]||[],this['events'][_0x49ac66]['push'](_0x49332f);}['off'](_0x27b625,_0x337c1c){this['events'][_0x27b625]=_0x337c1c?this['events'][_0x27b625]['filter'](_0x384026=>_0x384026!==_0x337c1c):[];}}class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x18e176,_0x205970=0x7530){this['key']=_0x18e176,this['disconnectTime']=_0x205970;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0xff297='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new JD(_0xff297),this['ws']['addEventListener']('error',_0x58c7c7=>{this['emmitter']['emit']('error',new Error(_0x58c7c7['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x194034=>this['send'](_0x194034['event'],_0x194034['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x4300aa=>{const _0x4817cd=JSON['parse'](_0x4300aa['data']['toString']());switch(_0x4817cd['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'](_0x4817cd['channel'],((_0x2f2aaf,_0xb4041)=>'success'===_0x2f2aaf?{'status':XD['Success'],..._0xb4041}:'progress'===_0x2f2aaf?{'status':XD['Progress'],..._0xb4041}:{'status':XD['Error'],..._0xb4041})(_0x4817cd['event'],JSON['parse'](_0x4817cd['data'])));}});}}['disconnect'](){const _0x45b441=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x45b441();},this['disconnectTime']):_0x45b441();}['send'](_0x280481,_0x2121df){const _0x48825f=JSON['stringify']({'event':_0x280481,'data':_0x2121df});this['ws']?.['send'](_0x48825f);}['subscribe'](_0x28325e,_0x194711){this['subscribers']+=0x1,this['connect']();const _0x462378='task-status-'+_0x28325e,_0x5ddc7b={'event':'pusher:subscribe','data':{'channel':_0x462378}};this['emmitter']['on'](_0x462378,_0x194711),this['isConnected']?this['send'](_0x5ddc7b['event'],_0x5ddc7b['data']):this['queue']['push'](_0x5ddc7b);}['unsubscribe'](_0x40374f){this['subscribers']-=0x1;const _0x109684='task-status-'+_0x40374f,_0x2ea8fa={'event':'pusher:unsubscribe','data':{'channel':_0x109684}};this['emmitter']['off'](_0x109684),this['isConnected']?this['send'](_0x2ea8fa['event'],_0x2ea8fa['data']):this['queue']=this['queue']['filter'](_0x566ed4=>_0x566ed4['data']['channel']!==_0x109684),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x44d2e9){return this['emmitter']['on']('error',_0x44d2e9),()=>this['emmitter']['off']('error',_0x44d2e9);}}let tQ=null;const eQ=_0x1c99a5=>{if(!tQ){const _0x2ea614='undefined'==typeof window?0x0:0x7530;tQ=new Pusher(_0x1c99a5,_0x2ea614);}return tQ;},iQ=(_0x5ce879,{publicKey:_0x2a7141,fileName:_0x41594d,baseURL:_0x21dd13,baseCDN:_0x3748d5,checkForUrlDuplicates:_0x5a6400,saveUrlForRecurrentUploads:_0x545106,secureSignature:_0x567e7b,secureExpire:_0xb70b74,store:_0x311556,signal:_0x237829,onProgress:_0x49c066,source:_0x38c779,integration:_0x57a964,userAgent:_0x30810f,retryThrottledRequestMaxTimes:_0xa4252,pusherKey:_0x336814=kD,metadata:_0x5986d2})=>{return Promise['resolve']((_0x3d2b9a=_0x336814,void eQ(_0x3d2b9a)['connect']()))['then'](()=>function(_0x157fce,{publicKey:_0x33ed37,baseURL:_0x3b60e9=ED,store:_0x40f076,fileName:_0x2ab629,checkForUrlDuplicates:_0x20f643,saveUrlForRecurrentUploads:_0x3497fd,secureSignature:_0x327e36,secureExpire:_0xb22937,source:_0x3d57d7='url',signal:_0x77cab8,integration:_0x11bb13,userAgent:_0x4e8204,retryThrottledRequestMaxTimes:_0x4ae75f=TD,retryNetworkErrorMaxTimes:_0x285873=AD,metadata:_0xbf0bd5}){return jD(()=>PD({'method':'POST','headers':{'X-UC-User-Agent':BD({'publicKey':_0x33ed37,'integration':_0x11bb13,'userAgent':_0x4e8204})},'url':UD(_0x3b60e9,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x33ed37,'source_url':_0x157fce,'store':GD(_0x40f076),'filename':_0x2ab629,'check_URL_duplicates':_0x20f643?0x1:void 0x0,'save_URL_duplicates':_0x3497fd?0x1:void 0x0,'signature':_0x327e36,'expire':_0xb22937,'source':_0x3d57d7,'metadata':_0xbf0bd5}),'signal':_0x77cab8})['then'](({data:_0x304cc5,headers:_0x5a0ba5,request:_0x1e946f})=>{const _0x432a87=OD(JSON['parse'](_0x304cc5));if('error'in _0x432a87)throw new UploadError(_0x432a87['error']['content'],_0x432a87['error']['errorCode'],_0x1e946f,_0x432a87,_0x5a0ba5);return _0x432a87;}),{'retryNetworkErrorMaxTimes':_0x285873,'retryThrottledRequestMaxTimes':_0x4ae75f});}(_0x5ce879,{'publicKey':_0x2a7141,'fileName':_0x41594d,'baseURL':_0x21dd13,'checkForUrlDuplicates':_0x5a6400,'saveUrlForRecurrentUploads':_0x545106,'secureSignature':_0x567e7b,'secureExpire':_0xb70b74,'store':_0x311556,'signal':_0x237829,'source':_0x38c779,'integration':_0x57a964,'userAgent':_0x30810f,'retryThrottledRequestMaxTimes':_0xa4252,'metadata':_0x5986d2}))['catch'](_0x4da367=>{const _0x1b230b=eQ(_0x336814);return _0x1b230b?.['disconnect'](),Promise['reject'](_0x4da367);})['then'](_0x3bfcd1=>_0x3bfcd1['type']===ZD['FileInfo']?_0x3bfcd1:KD([({signal:_0x49cd7d})=>function({token:_0x595f05,publicKey:_0x357241,baseURL:_0x3aeef3,integration:_0x22e4e3,userAgent:_0x5c1863,retryThrottledRequestMaxTimes:_0x4b33a9,retryNetworkErrorMaxTimes:_0x4c2450,onProgress:_0x161266,signal:_0xc19b93}){return vD({'check':_0x4200b6=>qD(_0x595f05,{'publicKey':_0x357241,'baseURL':_0x3aeef3,'integration':_0x22e4e3,'userAgent':_0x5c1863,'retryThrottledRequestMaxTimes':_0x4b33a9,'retryNetworkErrorMaxTimes':_0x4c2450,'signal':_0x4200b6})['then'](_0x3cc68c=>{switch(_0x3cc68c['status']){case XD['Error']:return new UploadError(_0x3cc68c['error'],_0x3cc68c['errorCode']);case XD['Waiting']:return!0x1;case XD['Unknown']:return new UploadError('Token\x20\x22'+_0x595f05+'\x22\x20was\x20not\x20found.');case XD['Progress']:return _0x161266&&('unknown'===_0x3cc68c['total']?_0x161266({'isComputable':!0x1}):_0x161266({'isComputable':!0x0,'value':_0x3cc68c['done']/_0x3cc68c['total']})),!0x1;case XD['Success']:return _0x161266&&_0x161266({'isComputable':!0x0,'value':_0x3cc68c['done']/_0x3cc68c['total']}),_0x3cc68c;default:throw new Error('Unknown\x20status');}}),'signal':_0xc19b93});}({'token':_0x3bfcd1['token'],'publicKey':_0x2a7141,'baseURL':_0x21dd13,'integration':_0x57a964,'userAgent':_0x30810f,'retryThrottledRequestMaxTimes':_0xa4252,'onProgress':_0x49c066,'signal':_0x49cd7d}),({signal:_0x3cbc5c})=>(({token:_0x4e6929,pusherKey:_0x1c635d,signal:_0x398ae9,onProgress:_0x49d4a9})=>new Promise((_0x2539cc,_0x4b53f2)=>{const _0x624c30=eQ(_0x1c635d),_0x4709e9=_0x624c30['onError'](_0x4b53f2),_0x22c740=()=>{_0x4709e9(),_0x624c30['unsubscribe'](_0x4e6929);};yD(_0x398ae9,()=>{_0x22c740(),_0x4b53f2(new CancelError('pusher\x20cancelled'));}),_0x624c30['subscribe'](_0x4e6929,_0x45da21=>{switch(_0x45da21['status']){case XD['Progress']:_0x49d4a9&&('unknown'===_0x45da21['total']?_0x49d4a9({'isComputable':!0x1}):_0x49d4a9({'isComputable':!0x0,'value':_0x45da21['done']/_0x45da21['total']}));break;case XD['Success']:_0x22c740(),_0x49d4a9&&_0x49d4a9({'isComputable':!0x0,'value':_0x45da21['done']/_0x45da21['total']}),_0x2539cc(_0x45da21);break;case XD['Error']:_0x22c740(),_0x4b53f2(new UploadError(_0x45da21['msg'],_0x45da21['error_code']));}});}))({'token':_0x3bfcd1['token'],'pusherKey':_0x336814,'signal':_0x3cbc5c,'onProgress':_0x49c066})],{'signal':_0x237829}))['then'](_0x3256d7=>{if(_0x3256d7 instanceof UploadError)throw _0x3256d7;return _0x3256d7;})['then'](_0x4afa55=>zD(_0x4afa55['uuid'],{'publicKey':_0x2a7141,'baseURL':_0x21dd13,'integration':_0x57a964,'userAgent':_0x30810f,'retryThrottledRequestMaxTimes':_0xa4252,'onProgress':_0x49c066,'signal':_0x237829}))['then'](_0x18cf98=>new UploadcareFile(_0x18cf98,{'baseCDN':_0x3748d5}));var _0x3d2b9a;},sQ=new WeakMap(),nQ=async _0x7b73b8=>{if(LD(_0x7b73b8)||ND(_0x7b73b8))return _0x7b73b8['size'];if($D(_0x7b73b8))return(await(async _0x3ece9e=>{if(sQ['has'](_0x3ece9e))return sQ['get'](_0x3ece9e);const _0x3dce63=await fetch(_0x3ece9e['uri'])['then'](_0x34d01d=>_0x34d01d['blob']());return sQ['set'](_0x3ece9e,_0x3dce63),_0x3dce63;})(_0x7b73b8))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},rQ=async(_0x11e0a1,_0x5e82e5,_0x1a51b3)=>_0x2d441e=>((_0x2d21d8,_0x51374c,_0x7178dd,_0x4aecab)=>{const _0x1aec11=_0x4aecab*_0x51374c,_0x1ccbe9=Math['min'](_0x1aec11+_0x4aecab,_0x7178dd);return _0x2d21d8['slice'](_0x1aec11,_0x1ccbe9);})(_0x11e0a1,_0x2d441e,_0x5e82e5,_0x1a51b3),oQ=(_0x2db77d,_0x2f6cd5,{publicKey:_0x28c7f7,contentType:_0x24fe7f,onProgress:_0x4c56db,signal:_0x586932,integration:_0x414b6c,retryThrottledRequestMaxTimes:_0x4ee8b2,retryNetworkErrorMaxTimes:_0x1aa6ec})=>function(_0x3e8095,_0x5dfd12,{contentType:_0x224150,signal:_0x3d01f6,onProgress:_0x1a3184,retryThrottledRequestMaxTimes:_0x11d2ee=TD,retryNetworkErrorMaxTimes:_0x47d826=AD}){return jD(()=>PD({'method':'PUT','url':_0x5dfd12,'data':_0x3e8095,'onProgress':_0x1a3184,'signal':_0x3d01f6,'headers':{'Content-Type':_0x224150||xD}})['then'](_0x3fee5e=>(_0x1a3184&&_0x1a3184({'isComputable':!0x0,'value':0x1}),_0x3fee5e))['then'](({status:_0x12a4ce})=>({'code':_0x12a4ce})),{'retryThrottledRequestMaxTimes':_0x11d2ee,'retryNetworkErrorMaxTimes':_0x47d826});}(_0x2db77d,_0x2f6cd5,{'contentType':_0x24fe7f,'onProgress':_0x4c56db,'signal':_0x586932,'retryThrottledRequestMaxTimes':_0x4ee8b2,'retryNetworkErrorMaxTimes':_0x1aa6ec}),aQ=async(_0x247be4,{publicKey:_0x129baa,fileName:_0x5a6f05,fileSize:_0x404789,baseURL:_0x113c99,secureSignature:_0x125f93,secureExpire:_0x4b3d5d,store:_0x1a5462,signal:_0xdafc5a,onProgress:_0x1dc40c,source:_0x420b00,integration:_0x5ad709,userAgent:_0x2e9ad8,retryThrottledRequestMaxTimes:_0x1f52d1,retryNetworkErrorMaxTimes:_0x5784ee,contentType:_0x3b82ca,multipartChunkSize:_0x13a971=ID,maxConcurrentRequests:_0x17922b=CD,baseCDN:_0x39077b,metadata:_0x4a5126})=>{const _0x21036a=_0x404789??await nQ(_0x247be4);let _0x26186b;const _0x4d3137=(_0x18f916,_0x4404c8)=>{if(!_0x1dc40c)return;_0x26186b||(_0x26186b=Array(_0x18f916)['fill'](0x0));const _0x2e2edb=_0x5d95f7=>_0x5d95f7['reduce']((_0x116d8c,_0x492df6)=>_0x116d8c+_0x492df6,0x0);return _0x6af990=>{_0x6af990['isComputable']&&(_0x26186b[_0x4404c8]=_0x6af990['value'],_0x1dc40c({'isComputable':!0x0,'value':_0x2e2edb(_0x26186b)/_0x18f916}));};};return _0x3b82ca||=FD(_0x247be4),function(_0x5357f2,{publicKey:_0x2e6abb,contentType:_0x1845a8,fileName:_0x43b15d,multipartChunkSize:_0x125051=ID,baseURL:_0x32ab02='',secureSignature:_0x3e9c72,secureExpire:_0x1fa392,store:_0x3fec52,signal:_0x4ce795,source:_0x14462d='local',integration:_0x5bd8a9,userAgent:_0x10b1b1,retryThrottledRequestMaxTimes:_0x2f62df=TD,retryNetworkErrorMaxTimes:_0xe90552=AD,metadata:_0x4397cd}){return jD(()=>PD({'method':'POST','url':UD(_0x32ab02,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':BD({'publicKey':_0x2e6abb,'integration':_0x5bd8a9,'userAgent':_0x10b1b1})},'data':VD({'filename':_0x43b15d||RD,'size':_0x5357f2,'content_type':_0x1845a8||xD,'part_size':_0x125051,'UPLOADCARE_STORE':GD(_0x3fec52),'UPLOADCARE_PUB_KEY':_0x2e6abb,'signature':_0x3e9c72,'expire':_0x1fa392,'source':_0x14462d,'metadata':_0x4397cd}),'signal':_0x4ce795})['then'](({data:_0x95496f,headers:_0x2f293c,request:_0x44029b})=>{const _0x43d17b=OD(JSON['parse'](_0x95496f));if('error'in _0x43d17b)throw new UploadError(_0x43d17b['error']['content'],_0x43d17b['error']['errorCode'],_0x44029b,_0x43d17b,_0x2f293c);return _0x43d17b['parts']=Object['keys'](_0x43d17b['parts'])['map'](_0xf3bdb9=>_0x43d17b['parts'][Number(_0xf3bdb9)]),_0x43d17b;}),{'retryThrottledRequestMaxTimes':_0x2f62df,'retryNetworkErrorMaxTimes':_0xe90552});}(_0x21036a,{'publicKey':_0x129baa,'contentType':_0x3b82ca,'fileName':_0x5a6f05||HD(_0x247be4),'baseURL':_0x113c99,'secureSignature':_0x125f93,'secureExpire':_0x4b3d5d,'store':_0x1a5462,'signal':_0xdafc5a,'source':_0x420b00,'integration':_0x5ad709,'userAgent':_0x2e9ad8,'retryThrottledRequestMaxTimes':_0x1f52d1,'retryNetworkErrorMaxTimes':_0x5784ee,'metadata':_0x4a5126,'multipartChunkSize':_0x13a971})['then'](async({uuid:_0xabab09,parts:_0x256dbe})=>{const _0x4b6048=await rQ(_0x247be4,_0x21036a,_0x13a971);return Promise['all']([_0xabab09,(_0x3af70a=_0x17922b,_0x342a9a=_0x256dbe['map']((_0x494b5b,_0x4acdd4)=>()=>oQ(_0x4b6048(_0x4acdd4),_0x494b5b,{'publicKey':_0x129baa,'contentType':_0x3b82ca,'onProgress':_0x4d3137(_0x256dbe['length'],_0x4acdd4),'signal':_0xdafc5a,'integration':_0x5ad709,'retryThrottledRequestMaxTimes':_0x1f52d1,'retryNetworkErrorMaxTimes':_0x5784ee})),new Promise((_0x5b4a6c,_0xfa6fe4)=>{const _0x564d1e=[];let _0x58801b=!0x1,_0x1f9b1=_0x342a9a['length'];const _0x201a13=[..._0x342a9a],_0x358476=()=>{const _0x147961=_0x342a9a['length']-_0x201a13['length'],_0x2aa3b2=_0x201a13['shift']();_0x2aa3b2&&_0x2aa3b2()['then'](_0x10890c=>{_0x58801b||(_0x564d1e[_0x147961]=_0x10890c,_0x1f9b1-=0x1,_0x1f9b1?_0x358476():_0x5b4a6c(_0x564d1e));})['catch'](_0x9db202=>{_0x58801b=!0x0,_0xfa6fe4(_0x9db202);});};for(let _0x4192db=0x0;_0x4192db<_0x3af70a;_0x4192db++)_0x358476();}))]);var _0x3af70a,_0x342a9a;})['then'](([_0x44e1b6])=>function(_0x7d4201,{publicKey:_0x3480a5,baseURL:_0x4e4408=ED,source:_0x56645e='local',signal:_0x82464c,integration:_0x2a6c8b,userAgent:_0x7c916a,retryThrottledRequestMaxTimes:_0x45d1d3=TD,retryNetworkErrorMaxTimes:_0x4cdb93=AD}){return jD(()=>PD({'method':'POST','url':UD(_0x4e4408,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':BD({'publicKey':_0x3480a5,'integration':_0x2a6c8b,'userAgent':_0x7c916a})},'data':VD({'uuid':_0x7d4201,'UPLOADCARE_PUB_KEY':_0x3480a5,'source':_0x56645e}),'signal':_0x82464c})['then'](({data:_0x28bdf7,headers:_0x5704b1,request:_0x399814})=>{const _0x1ed1d1=OD(JSON['parse'](_0x28bdf7));if('error'in _0x1ed1d1)throw new UploadError(_0x1ed1d1['error']['content'],_0x1ed1d1['error']['errorCode'],_0x399814,_0x1ed1d1,_0x5704b1);return _0x1ed1d1;}),{'retryThrottledRequestMaxTimes':_0x45d1d3,'retryNetworkErrorMaxTimes':_0x4cdb93});}(_0x44e1b6,{'publicKey':_0x129baa,'baseURL':_0x113c99,'source':_0x420b00,'integration':_0x5ad709,'userAgent':_0x2e9ad8,'retryThrottledRequestMaxTimes':_0x1f52d1,'retryNetworkErrorMaxTimes':_0x5784ee}))['then'](_0x5c132d=>_0x5c132d['isReady']?_0x5c132d:zD(_0x5c132d['uuid'],{'publicKey':_0x129baa,'baseURL':_0x113c99,'source':_0x420b00,'integration':_0x5ad709,'userAgent':_0x2e9ad8,'retryThrottledRequestMaxTimes':_0x1f52d1,'retryNetworkErrorMaxTimes':_0x5784ee,'onProgress':_0x1dc40c,'signal':_0xdafc5a}))['then'](_0x455460=>new UploadcareFile(_0x455460,{'baseCDN':_0x39077b}));};async function cQ(_0x488afe,{publicKey:_0x173231,fileName:_0x1fbac8,baseURL:_0x5ef98d=ED,secureSignature:_0x3f60a2,secureExpire:_0xc93eb9,store:_0x201acc,signal:_0x51eaed,onProgress:_0x5a37f1,source:_0x66f3a9,integration:_0x4394c0,userAgent:_0x12ca4f,retryThrottledRequestMaxTimes:_0x34a50a,retryNetworkErrorMaxTimes:_0x50dc6a,contentType:_0x30fa96,multipartMinFileSize:_0x497c33,multipartChunkSize:_0x1e0d67,maxConcurrentRequests:_0x5a7a2f,baseCDN:_0x279560=_D,checkForUrlDuplicates:_0x5d6e00,saveUrlForRecurrentUploads:_0xf5d5a7,pusherKey:_0x2073bb,metadata:_0x38753e}){if(DD(_0x488afe)){const _0x47ecfb=await nQ(_0x488afe);return((_0x37c9a9,_0x40faa0=SD)=>_0x37c9a9>=_0x40faa0)(_0x47ecfb,_0x497c33)?aQ(_0x488afe,{'publicKey':_0x173231,'contentType':_0x30fa96,'multipartChunkSize':_0x1e0d67,'fileSize':_0x47ecfb,'fileName':_0x1fbac8,'baseURL':_0x5ef98d,'secureSignature':_0x3f60a2,'secureExpire':_0xc93eb9,'store':_0x201acc,'signal':_0x51eaed,'onProgress':_0x5a37f1,'source':_0x66f3a9,'integration':_0x4394c0,'userAgent':_0x12ca4f,'maxConcurrentRequests':_0x5a7a2f,'retryThrottledRequestMaxTimes':_0x34a50a,'retryNetworkErrorMaxTimes':_0x50dc6a,'baseCDN':_0x279560,'metadata':_0x38753e}):YD(_0x488afe,{'publicKey':_0x173231,'fileName':_0x1fbac8,'contentType':_0x30fa96,'baseURL':_0x5ef98d,'secureSignature':_0x3f60a2,'secureExpire':_0xc93eb9,'store':_0x201acc,'signal':_0x51eaed,'onProgress':_0x5a37f1,'source':_0x66f3a9,'integration':_0x4394c0,'userAgent':_0x12ca4f,'retryThrottledRequestMaxTimes':_0x34a50a,'retryNetworkErrorMaxTimes':_0x50dc6a,'baseCDN':_0x279560,'metadata':_0x38753e});}if((_0x52fc53=>{const _0x5d3550=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!DD(_0x52fc53)&&_0x5d3550['test'](_0x52fc53);})(_0x488afe))return iQ(_0x488afe,{'publicKey':_0x173231,'fileName':_0x1fbac8,'baseURL':_0x5ef98d,'baseCDN':_0x279560,'checkForUrlDuplicates':_0x5d6e00,'saveUrlForRecurrentUploads':_0xf5d5a7,'secureSignature':_0x3f60a2,'secureExpire':_0xc93eb9,'store':_0x201acc,'signal':_0x51eaed,'onProgress':_0x5a37f1,'source':_0x66f3a9,'integration':_0x4394c0,'userAgent':_0x12ca4f,'retryThrottledRequestMaxTimes':_0x34a50a,'pusherKey':_0x2073bb,'metadata':_0x38753e});if((_0x7d795e=>{const _0x3b9917=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!DD(_0x7d795e)&&_0x3b9917['test'](_0x7d795e);})(_0x488afe))return((_0xeaa255,{publicKey:_0x4a1bcc,fileName:_0x3b876b,baseURL:_0x563773,signal:_0x321b38,onProgress:_0x2e5542,source:_0x1f3447,integration:_0x21e857,userAgent:_0x2ae9f9,retryThrottledRequestMaxTimes:_0xfa5790,retryNetworkErrorMaxTimes:_0x5cec28,baseCDN:_0x2f0b69})=>WD(_0xeaa255,{'publicKey':_0x4a1bcc,'baseURL':_0x563773,'signal':_0x321b38,'source':_0x1f3447,'integration':_0x21e857,'userAgent':_0x2ae9f9,'retryThrottledRequestMaxTimes':_0xfa5790,'retryNetworkErrorMaxTimes':_0x5cec28})['then'](_0x2c7f9b=>new UploadcareFile(_0x2c7f9b,{'baseCDN':_0x2f0b69,'fileName':_0x3b876b}))['then'](_0x2bb718=>(_0x2e5542&&_0x2e5542({'isComputable':!0x0,'value':0x1}),_0x2bb718)))(_0x488afe,{'publicKey':_0x173231,'fileName':_0x1fbac8,'baseURL':_0x5ef98d,'signal':_0x51eaed,'onProgress':_0x5a37f1,'source':_0x66f3a9,'integration':_0x4394c0,'userAgent':_0x12ca4f,'retryThrottledRequestMaxTimes':_0x34a50a,'retryNetworkErrorMaxTimes':_0x50dc6a,'baseCDN':_0x279560});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x488afe+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0xa750ed,..._0x33546b}){return cQ(_0xa750ed,_0x33546b);}static['getInfo'](_0x40e698,_0x258d8e){return WD(_0x40e698,_0x258d8e);}}class UploadcareUploadAdapter extends _0x7cf71c{static get['requires'](){return[_0x576699,_0x39d9da,_0x36d330,UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x44ff01=this['editor'];if(!!!_0x44ff01['config']['get']('uploadcare'))return;_0x44ff01['plugins']['get'](_0x36d330)['createUploadAdapter']=_0xbe9bea=>new Adapter(_0xbe9bea,_0x44ff01),_0x44ff01['plugins']['get'](_0x576699)['on']('uploadComplete',(_0x2414fc,{imageElement:_0x51814f,data:_0x1ee646})=>{_0x44ff01['model']['change'](_0x16bd29=>{_0x16bd29['setAttribute']('uploadcareImageId',_0x1ee646['uploadcareImageId'],_0x51814f);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x7a43af,_0x4b7193){this['loader']=_0x7a43af,this['editor']=_0x4b7193,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4efd09=await this['loader']['file'];return UploadUtils['upload']({'file':_0x4efd09,'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':_0x9385b7=>{_0x9385b7&&_0x9385b7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x9385b7['value']);}})['then'](async _0x7e6297=>{const {imageFallbackUrl:_0x2aeec0,imageSources:_0x1d7361}=cD(_0x7e6297['cdnUrl'],_0x7e6297['imageInfo']['width']);return{'uploadcareImageId':_0x7e6297['uuid'],'default':_0x2aeec0,'sources':_0x1d7361};})['catch'](()=>{const _0x42089b=t('Cannot\x20upload\x20file:')+('\x20'+_0x4efd09['name']+'.');return Promise['reject'](_0x42089b);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x7cf71c{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0xa37a21,UploadcareUploadAdapter,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2cc892){super(_0x2cc892),this['ucContextId']=_0x462bc0();}['init'](){const _0x5023f7=this['editor'];_0x5023f7['commands']['add']('uploadcare',new UploadcareCommand(_0x5023f7));}['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 _0x245aba=_0x37cedc['document']['querySelector']('input[uploadcare-file-input]');_0x245aba&&_0x245aba['remove']();}),async function(_0x1b63a6){const _0x64f2f7=_0xc0c61a([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]),_0x314514=0x535f8c3a,_0x444693=0x53580652^_0x314514,_0x44e0bc=window[_0xc0c61a([0x44,0x61,0x74,0x65])][_0xc0c61a([0x6e,0x6f,0x77])](),_0x67fe83=_0x1b63a6[_0xc0c61a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f3b65=new window[(_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x257ef6=>{_0x67fe83[_0xc0c61a([0x6f,0x6e,0x63,0x65])](_0xc0c61a([0x72,0x65,0x61,0x64,0x79]),_0x257ef6);}),_0x2824f6={[_0xc0c61a([0x6b,0x74,0x79])]:_0xc0c61a([0x45,0x43]),[_0xc0c61a([0x75,0x73,0x65])]:_0xc0c61a([0x73,0x69,0x67]),[_0xc0c61a([0x63,0x72,0x76])]:_0xc0c61a([0x50,0x2d,0x32,0x35,0x36]),[_0xc0c61a([0x78])]:_0xc0c61a([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]),[_0xc0c61a([0x79])]:_0xc0c61a([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]),[_0xc0c61a([0x61,0x6c,0x67])]:_0xc0c61a([0x45,0x53,0x32,0x35,0x36])},_0x577cd3=_0x67fe83[_0xc0c61a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc0c61a([0x67,0x65,0x74])](_0xc0c61a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2556f0(){let _0x28ab36,_0x17f778=null,_0x3f9c1b=null;try{if(_0x577cd3==_0xc0c61a([0x47,0x50,0x4c]))return _0xc0c61a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28ab36=_0x2aa7f9(),!_0x28ab36)return _0xc0c61a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28ab36[_0xc0c61a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f9c1b=_0xc8d466(_0x28ab36[_0xc0c61a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28ab36[_0xc0c61a([0x6a,0x74,0x69])])),await _0x52e071()?_0x355b35()?_0x86150d()?_0xc0c61a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x459e56()?(_0x28ab36[_0xc0c61a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc0c61a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17f778=_0x10344a(_0xc0c61a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17f251()):_0xc0c61a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc0c61a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc0c61a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc0c61a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x86150d(){const _0x3ca7cb=[_0xc0c61a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc0c61a([0x74,0x72,0x69,0x61,0x6c])][_0xc0c61a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ab36[_0xc0c61a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44e0bc/0x3e8:0xe10*_0x444693;return _0x28ab36[_0xc0c61a([0x65,0x78,0x70])]<_0x3ca7cb;}function _0x355b35(){const _0x545104=_0x28ab36[_0xc0c61a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x545104&&(!!_0x545104[_0xc0c61a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0c61a([0x2a]))||!!_0x545104[_0xc0c61a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0c61a([0x55,0x50,0x4c,0x43])));}function _0x459e56(){const _0x25cff7=_0x28ab36[_0xc0c61a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25cff7||0x0==_0x25cff7[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c8fbd}=new URL(window[_0xc0c61a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25cff7[_0xc0c61a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8fbd))return!0x0;const _0x606fe3=_0x3c8fbd[_0xc0c61a([0x73,0x70,0x6c,0x69,0x74])](_0xc0c61a([0x2e]));return _0x25cff7[_0xc0c61a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6509fd=>_0x6509fd[_0xc0c61a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0c61a([0x2a])))[_0xc0c61a([0x6d,0x61,0x70])](_0x583114=>_0x583114[_0xc0c61a([0x73,0x70,0x6c,0x69,0x74])](_0xc0c61a([0x2e])))[_0xc0c61a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2400dc=>_0x2400dc[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x606fe3[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc0c61a([0x6d,0x61,0x70])](_0x5c61d0=>Array(_0x606fe3[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c61d0[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc0c61a([0x66,0x69,0x6c,0x6c])](_0x5c61d0[0x0]===_0xc0c61a([0x2a])?_0xc0c61a([0x2a]):'')[_0xc0c61a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c61d0))[_0xc0c61a([0x73,0x6f,0x6d,0x65])](_0x20c1c2=>_0x606fe3[_0xc0c61a([0x65,0x76,0x65,0x72,0x79])]((_0x35f73d,_0x380761)=>_0x20c1c2[_0x380761]===_0x35f73d||_0x20c1c2[_0x380761]===_0xc0c61a([0x2a])));}function _0x17f251(){return _0x17f778&&_0x3f9c1b?new window[(_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x496e8b,_0x3c264b)=>{_0x17f778[_0xc0c61a([0x74,0x68,0x65,0x6e])](_0x496e8b,_0x3c264b),_0x3f9c1b[_0xc0c61a([0x74,0x68,0x65,0x6e])](_0x49d7fe=>{_0x49d7fe!=_0xc0c61a([0x56,0x61,0x6c,0x69,0x64])&&_0x496e8b(_0x49d7fe);},_0x3c264b);}):_0x17f778||_0x3f9c1b||_0xc0c61a([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc8d466(_0x8321bf,_0x3229ca){return new window[(_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x530d56=>{if(_0x4f46e6())return _0x530d56(_0xc0c61a([0x56,0x61,0x6c,0x69,0x64]));_0x2db9ba(),_0x67fe83[_0xc0c61a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc0c61a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x505eff=!0x1;const _0x355a7a=_0x462bc0();function _0x494746(_0x2263ce){return!!_0x2263ce&&(typeof _0x2263ce===_0xc0c61a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2263ce===_0xc0c61a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2263ce[_0xc0c61a([0x74,0x68,0x65,0x6e])]===_0xc0c61a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2263ce[_0xc0c61a([0x63,0x61,0x74,0x63,0x68])]===_0xc0c61a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4947b7(_0x5e969e){_0x3d18fa(_0x5e969e)[_0xc0c61a([0x74,0x68,0x65,0x6e])](_0x5bf97c=>{if(!_0x5bf97c||_0x5bf97c[_0xc0c61a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc0c61a([0x6f,0x6b]))return _0xc0c61a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3174f7(_0xd6255a(_0x355a7a+_0x3229ca))!=_0x5bf97c[_0xc0c61a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc0c61a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc0c61a([0x56,0x61,0x6c,0x69,0x64]);})[_0xc0c61a([0x74,0x68,0x65,0x6e])](_0x598c44=>(_0x36400f(),_0x598c44),()=>{const _0x36ef97=_0x14dafe();return null==_0x36ef97?(_0x36400f(),_0xc0c61a([0x56,0x61,0x6c,0x69,0x64])):_0xc0c61a(_0x44e0bc-_0x36ef97>(0x7753083a^_0x314514)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc0c61a([0x74,0x68,0x65,0x6e])](_0x530d56)[_0xc0c61a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x530d56(_0xc0c61a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ece9f=0x536962ba^_0x314514;function _0x36400f(){const _0x26abc2=_0xc0c61a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3174f7(_0xd6255a(_0x8321bf)),_0x715a4e=_0x3f3241(_0x3174f7(window[_0xc0c61a([0x4d,0x61,0x74,0x68])][_0xc0c61a([0x63,0x65,0x69,0x6c])](_0x44e0bc/_0x5ece9f)));window[_0xc0c61a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc0c61a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26abc2,_0x715a4e);}function _0x14dafe(){const _0x40b3e8=_0xc0c61a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3174f7(_0xd6255a(_0x8321bf)),_0x39bfa6=window[_0xc0c61a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc0c61a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40b3e8);return _0x39bfa6?window[_0xc0c61a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3241(_0x39bfa6),0x10)*_0x5ece9f:null;}function _0x3d18fa(_0x3028d4){return new window[(_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a28de,_0xb12e29)=>{_0x3028d4[_0xc0c61a([0x74,0x68,0x65,0x6e])](_0x5a28de,_0xb12e29),window[_0xc0c61a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb12e29,0x535e58fa^_0x314514);});}}_0x67fe83[_0xc0c61a([0x6f,0x6e])](_0xc0c61a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b2096,_0x2a669d)=>{if(_0x2a669d[0x0]!=_0x8321bf)return _0x530d56(_0xc0c61a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a669d[0x1]={..._0x2a669d[0x1],[_0xc0c61a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x355a7a};},{[_0xc0c61a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc0c61a([0x68,0x69,0x67,0x68])}),_0x67fe83[_0xc0c61a([0x6f,0x6e])](_0xc0c61a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41d190=>{_0x494746(_0x41d190[_0xc0c61a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x505eff=!0x0,_0x4947b7(_0x41d190[_0xc0c61a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc0c61a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc0c61a([0x6c,0x6f,0x77])}),_0x1f3b65[_0xc0c61a([0x74,0x68,0x65,0x6e])](()=>{_0x505eff||_0x530d56(_0xc0c61a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f46e6(){return _0x67fe83[_0xc0c61a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc0c61a([0x76,0x69,0x65,0x77])][_0xc0c61a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc0c61a([0x61,0x75,0x74,0x6f]);}function _0x2db9ba(){_0x67fe83[_0xc0c61a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc0c61a([0x76,0x69,0x65,0x77])][_0xc0c61a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc0c61a([0x61,0x75,0x74,0x6f]);}}function _0x10344a(_0x53b101){const _0x2a145f=[new window[(_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b50d1=>setTimeout(_0x1b50d1,0x5356b2f6^_0x314514)),_0x1f3b65[_0xc0c61a([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454c4b=>{let _0x54527c=0x0;_0x67fe83[_0xc0c61a([0x6d,0x6f,0x64,0x65,0x6c])][_0xc0c61a([0x6f,0x6e])](_0xc0c61a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x393b9d,_0x35832d)=>{_0x35832d[0x0][_0xc0c61a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54527c++,_0x54527c==(0x535f89d2^_0x314514)&&(_0x454c4b(),_0x393b9d[_0xc0c61a([0x6f,0x66,0x66])]());});}))];return window[_0xc0c61a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc0c61a([0x72,0x61,0x63,0x65])](_0x2a145f)[_0xc0c61a([0x74,0x68,0x65,0x6e])](()=>_0x53b101);}async function _0x2a3ba3(){await _0x1f3b65,_0x67fe83[_0xc0c61a([0x6d,0x6f,0x64,0x65,0x6c])][_0xc0c61a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f5009,_0x67fe83[_0xc0c61a([0x6d,0x6f,0x64,0x65,0x6c])][_0xc0c61a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f5009,_0x67fe83[_0xc0c61a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc0c61a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xba42d8(_0x545363){const _0xf73205=_0x4a5346();_0x67fe83[_0xf73205]=_0xc0c61a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x545363,_0x545363!=_0xc0c61a([0x56,0x61,0x6c,0x69,0x64])&&_0x2a3ba3();}function _0x4a5346(){const _0x1d31cf=window[_0xc0c61a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc0c61a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc0c61a([0x6e,0x6f,0x77])]())[_0xc0c61a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc0c61a([0x2e]),'');let _0x27da6f=_0xc0c61a([0x68]);for(let _0x344839=0x0;_0x344839<_0x1d31cf[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x344839+=0x2){let _0x242936=window[_0xc0c61a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d31cf[_0xc0c61a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x344839,_0x344839+0x2));_0x242936>=_0x64f2f7[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x242936-=_0x64f2f7[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27da6f+=_0x64f2f7[_0x242936];}return _0x27da6f;}function _0x2aa7f9(){const _0xa512bf=_0x577cd3[_0xc0c61a([0x73,0x70,0x6c,0x69,0x74])](_0xc0c61a([0x2e]));if(0x3!=_0xa512bf[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51f00d(_0xa512bf[0x1]);function _0x51f00d(_0x4e19dc){const _0x246c22=_0xa0b1f3(_0x4e19dc);return _0x246c22&&_0x5df9e4()?_0x246c22:null;function _0x5df9e4(){const _0x46b7a8=_0x246c22[_0xc0c61a([0x6a,0x74,0x69])],_0x46a451=window[_0xc0c61a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46b7a8[_0xc0c61a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46b7a8[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc769ab={..._0x246c22,[_0xc0c61a([0x6a,0x74,0x69])]:_0x46b7a8[_0xc0c61a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46b7a8[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc769ab[_0xc0c61a([0x76,0x63])],_0xd6255a(_0xc769ab)==_0x46a451;}}}async function _0x52e071(){let _0x58e8f7=!0x0;try{const _0x3f4b2e=_0x577cd3[_0xc0c61a([0x73,0x70,0x6c,0x69,0x74])](_0xc0c61a([0x2e])),[_0x49f77d,_0x2790fd,_0x5674fd]=_0x3f4b2e;return _0x2c0fe9(_0x49f77d),await _0x59bbec(_0x49f77d,_0x2790fd,_0x5674fd),_0x58e8f7;}catch{return!0x1;}function _0x2c0fe9(_0x13e4cc){const _0x589521=_0xa0b1f3(_0x13e4cc);_0x589521&&_0x589521[_0xc0c61a([0x61,0x6c,0x67])]==_0xc0c61a([0x45,0x53,0x32,0x35,0x36])||(_0x58e8f7=!0x1);}async function _0x59bbec(_0x482d7c,_0x3f6b12,_0x459b93){const _0x1d855b=window[_0xc0c61a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc0c61a([0x66,0x72,0x6f,0x6d])](_0x5f2106(_0x459b93),_0x53a3c8=>_0x53a3c8[_0xc0c61a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40a981=new window[(_0xc0c61a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc0c61a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x482d7c+_0xc0c61a([0x2e])+_0x3f6b12),_0x24555a=window[_0xc0c61a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc0c61a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24555a)return;const _0x5e4e9e=await _0x24555a[_0xc0c61a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc0c61a([0x6a,0x77,0x6b]),_0x2824f6,{[_0xc0c61a([0x6e,0x61,0x6d,0x65])]:_0xc0c61a([0x45,0x43,0x44,0x53,0x41]),[_0xc0c61a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc0c61a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc0c61a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24555a[_0xc0c61a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc0c61a([0x6e,0x61,0x6d,0x65])]:_0xc0c61a([0x45,0x43,0x44,0x53,0x41]),[_0xc0c61a([0x68,0x61,0x73,0x68])]:{[_0xc0c61a([0x6e,0x61,0x6d,0x65])]:_0xc0c61a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e4e9e,_0x1d855b,_0x40a981)||(_0x58e8f7=!0x1);}}function _0xa0b1f3(_0x1e40f8){return _0x1e40f8[_0xc0c61a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc0c61a([0x65,0x79]))?JSON[_0xc0c61a([0x70,0x61,0x72,0x73,0x65])](_0x5f2106(_0x1e40f8)):null;}function _0x5f2106(_0x557d18){return window[_0xc0c61a([0x61,0x74,0x6f,0x62])](_0x557d18[_0xc0c61a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc0c61a([0x2b]))[_0xc0c61a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc0c61a([0x2f])));}function _0xd6255a(_0x13c0ee){let _0x14374c=0x1505;function _0x3db8f2(_0x3ecf51){for(let _0x814473=0x0;_0x814473<_0x3ecf51[_0xc0c61a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x814473++){const _0x3d34c5=_0x3ecf51[_0xc0c61a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x814473);_0x14374c=(_0x14374c<<0x5)+_0x14374c+_0x3d34c5,_0x14374c&=_0x14374c;}}function _0x1a84e2(_0x546b1f){Array[_0xc0c61a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x546b1f)?_0x546b1f[_0xc0c61a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a84e2):_0x546b1f&&typeof _0x546b1f==_0xc0c61a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc0c61a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x546b1f)[_0xc0c61a([0x73,0x6f,0x72,0x74])]()[_0xc0c61a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x155582,_0x26db99])=>{_0x3db8f2(_0x155582),_0x1a84e2(_0x26db99);}):_0x3db8f2(window[_0xc0c61a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x546b1f));}return _0x1a84e2(_0x13c0ee),_0x14374c>>>0x0;}function _0x3174f7(_0x566a19){return _0x566a19[_0xc0c61a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc0c61a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc0c61a([0x30]));}function _0x3f3241(_0x525a68){return _0x525a68[_0xc0c61a([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc0c61a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc0c61a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f5009(){}function _0xc0c61a(_0x5372cf){return _0x5372cf['map'](_0x669edb=>String['fromCharCode'](_0x669edb))['join']('');}_0xba42d8(await _0x2556f0());}(this);}['_initSchema'](){const _0xe4c8af=this['editor']['model']['schema'];_0xe4c8af['isRegistered']('imageBlock')&&_0xe4c8af['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xe4c8af['isRegistered']('imageInline')&&_0xe4c8af['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x44ca40=this['editor'];_0x44ca40['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x44ca40['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x336080=>_0x336080['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x25cd80=_0x44ca40['commands']['get']('replaceImageSource');_0x25cd80&&this['listenTo'](_0x25cd80,'cleanupImage',(_0xd3b074,[_0x58e3fd,_0x459817])=>{_0x58e3fd['removeAttribute']('uploadcareImageId',_0x459817);});}['_initConfig'](){const _0x572700=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3f9cd7=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xe26ae8(_0x37cedc['document'],'uc-config',{..._0x572700,'pubkey':_0x3f9cd7,'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']=_0x1b5ccc=>{if('closeMax'==_0x1b5ccc)return'#uc-icon-arrow-down';},_0x37cedc['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xe26ae8(_0x37cedc['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x37cedc['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4fcd16=this['editor']['commands']['get']('insertImage');_0x4fcd16&&this['listenTo'](_0x4fcd16,'execute',()=>{const _0x2970b3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2970b3&&_0x2970b3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{hD(this['editor'],_0x2970b3);});});const _0x5f125e=this['editor']['commands']['get']('uploadcareImageReplace');_0x5f125e&&this['listenTo'](_0x5f125e,'execute',()=>{const _0x4b4092=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b4092&&_0x4b4092['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{hD(this['editor'],_0x4b4092);});});}}var lQ=Object['defineProperty'],hQ=Object['getOwnPropertyDescriptor'],uQ=(_0x741242,_0x2f146b)=>{for(var t in _0x2f146b)lQ(_0x741242,t,{'get':_0x2f146b[t],'enumerable':!0x0});},dQ=(_0x54ce46,_0x482bd5,t,_0x27fb88)=>{for(var _0x1fd4de,_0x459e07=_0x27fb88>0x1?void 0x0:_0x27fb88?hQ(_0x482bd5,t):_0x482bd5,_0x5a85eb=_0x54ce46['length']-0x1;_0x5a85eb>=0x0;_0x5a85eb--)(_0x1fd4de=_0x54ce46[_0x5a85eb])&&(_0x459e07=(_0x27fb88?_0x1fd4de(_0x482bd5,t,_0x459e07):_0x1fd4de(_0x459e07))||_0x459e07);return _0x27fb88&&_0x459e07&&lQ(_0x482bd5,t,_0x459e07),_0x459e07;},fQ=[],mQ=0x0;function gQ(_0x2b3ce0,_0x1a8e3f,t){let _0x1b51b9=new Set(_0x1a8e3f)['add'](void 0x0);return _0x2b3ce0['listen']((_0x47cd89,_0x22512f,_0x914d90)=>{_0x1b51b9['has'](_0x914d90)&&t(_0x47cd89,_0x22512f,_0x914d90);});}function pQ(_0x37d328,_0x4f52be,t){let _0xf354b=gQ(_0x37d328,_0x4f52be,t);return t(_0x37d328['value']),_0xf354b;}var OQ=(_0x40227c={})=>{let _0x4da92c=(_0x341450=>{let _0x11f1f3=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x356882=>(t['lc']=_0x11f1f3['push'](_0x356882),()=>{for(let _0x570cb3=mQ+0x4;_0x570cb3<fQ['length'];)fQ[_0x570cb3]===_0x356882?fQ['splice'](_0x570cb3,0x4):_0x570cb3+=0x4;let _0x132b4d=_0x11f1f3['indexOf'](_0x356882);~_0x132b4d&&(_0x11f1f3['splice'](_0x132b4d,0x1),--t['lc']||t['off']());}),'notify'(_0x5064cf,_0x80fc68){let _0x516ca9=!fQ['length'];for(let _0x4a45ae of _0x11f1f3)fQ['push'](_0x4a45ae,t['value'],_0x5064cf,_0x80fc68);if(_0x516ca9){for(mQ=0x0;mQ<fQ['length'];mQ+=0x4)fQ[mQ](fQ[mQ+0x1],fQ[mQ+0x2],fQ[mQ+0x3]);fQ['length']=0x0;}},'off'(){},'set'(_0x19e36d){let _0x32cbc4=t['value'];_0x32cbc4!==_0x19e36d&&(t['value']=_0x19e36d,t['notify'](_0x32cbc4));},'subscribe'(_0x1843f1){let _0x3c0245=t['listen'](_0x1843f1);return _0x1843f1(t['value']),_0x3c0245;},'value':_0x341450};return t;})(_0x40227c);return _0x4da92c['setKey']=function(t,_0x280cfe){let _0x5da6fb=_0x4da92c['value'];typeof _0x280cfe>'u'&&t in _0x4da92c['value']?(_0x4da92c['value']={..._0x4da92c['value']},delete _0x4da92c['value'][t],_0x4da92c['notify'](_0x5da6fb,t)):_0x4da92c['value'][t]!==_0x280cfe&&(_0x4da92c['value']={..._0x4da92c['value'],[t]:_0x280cfe},_0x4da92c['notify'](_0x5da6fb,t));},_0x4da92c;},wQ=class o{static{this['qt']=new Map();}constructor(_0x17b753,t){this['J']=_0x17b753,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x5f1ffc,t){_0x5f1ffc in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x5f1ffc)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x5f1ffc,t);}['sub'](_0x35ff77,t,_0x56c177=!0x0){return(_0x56c177?pQ:gQ)(this['ae'],[_0x35ff77],_0x462904=>{t(_0x462904[_0x35ff77]);});}['read'](_0x1cfeb1){return _0x1cfeb1 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x1cfeb1)+'\x22\x20not\x20found'),this['ae']['get']()[_0x1cfeb1];}['add'](_0x1da1c2,t,_0x2717e8=!0x1){(!(_0x1da1c2 in this['ae']['get']())||_0x2717e8)&&this['ae']['setKey'](_0x1da1c2,t);}['has'](_0x39bd04){return _0x39bd04 in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x1f9355,t){if(o['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0xbb0b43=OQ(_0x1f9355);return o['qt']['set'](t,_0xbb0b43),new o(t,_0xbb0b43);}static['deleteCtx'](_0x31f79b){o['qt']['delete'](_0x31f79b);}static['getCtx'](_0x2c715a){let t=o['qt']['get'](_0x2c715a);return t?new o(_0x2c715a,t):null;}static['hasCtx'](_0x245c98){return o['qt']['has'](_0x245c98);}},bQ=globalThis,yQ=bQ['ShadowRoot']&&(void 0x0===bQ['ShadyCSS']||bQ['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],vQ=Symbol(),_Q=new WeakMap(),EQ=class{constructor(_0x12029d,t,_0x38aa80){if(this['Cc']=!0x0,_0x38aa80!==vQ)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x12029d,this['t']=t;}get['styleSheet'](){let _0x317a0a=this['o'],t=this['t'];if(yQ&&void 0x0===_0x317a0a){let _0x9b5677=void 0x0!==t&&0x1===t['length'];_0x9b5677&&(_0x317a0a=_Q['get'](t)),void 0x0===_0x317a0a&&((this['o']=_0x317a0a=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x9b5677&&_Q['set'](t,_0x317a0a));}return _0x317a0a;}['toString'](){return this['cssText'];}},TQ=yQ?_0x5ed50b=>_0x5ed50b:_0x223103=>_0x223103 instanceof CSSStyleSheet?(_0x30c4b4=>{let t='';for(let _0x3b7d6d of _0x30c4b4['cssRules'])t+=_0x3b7d6d['cssText'];return(_0x3cbfeb=>new EQ('string'==typeof _0x3cbfeb?_0x3cbfeb:_0x3cbfeb+'',void 0x0,vQ))(t);})(_0x223103):_0x223103,{is:AQ,defineProperty:SQ,getOwnPropertyDescriptor:IQ,getOwnPropertyNames:CQ,getOwnPropertySymbols:kQ,getPrototypeOf:xQ}=Object,RQ=globalThis,PQ=RQ['trustedTypes'],MQ=PQ?PQ['emptyScript']:'',NQ=RQ['reactiveElementPolyfillSupport'],LQ=(_0x563282,_0x295c7f)=>_0x563282,$Q={'toAttribute'(_0x5d161f,_0x2b883f){switch(_0x2b883f){case Boolean:_0x5d161f=_0x5d161f?MQ:null;break;case Object:case Array:_0x5d161f=null==_0x5d161f?_0x5d161f:JSON['stringify'](_0x5d161f);}return _0x5d161f;},'fromAttribute'(_0x682e0c,_0x123967){let t=_0x682e0c;switch(_0x123967){case Boolean:t=null!==_0x682e0c;break;case Number:t=null===_0x682e0c?null:Number(_0x682e0c);break;case Object:case Array:try{t=JSON['parse'](_0x682e0c);}catch{t=null;}}return t;}},DQ=(_0x2c911a,_0x4d002b)=>!AQ(_0x2c911a,_0x4d002b),QQ={'attribute':!0x0,'type':String,'converter':$Q,'reflect':!0x1,'useDefault':!0x1,'hasChanged':DQ};Symbol['metadata']??=Symbol('metadata'),RQ['litPropertyMetadata']??=new WeakMap();var VQ=class extends HTMLElement{static['addInitializer'](_0x5c653a){this['Br'](),(this['l']??=[])['push'](_0x5c653a);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x299f1e,t=QQ){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x299f1e)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x299f1e,t),!t['noAccessor']){let _0x340b85=Symbol(),_0x66e6e1=this['getPropertyDescriptor'](_0x299f1e,_0x340b85,t);void 0x0!==_0x66e6e1&&SQ(this['prototype'],_0x299f1e,_0x66e6e1);}}static['getPropertyDescriptor'](_0x447994,t,_0x2447ed){let {get:_0x11bca8,set:_0xdbc49c}=IQ(this['prototype'],_0x447994)??{'get'(){return this[t];},'set'(_0x24b63e){this[t]=_0x24b63e;}};return{'get':_0x11bca8,'set'(_0xaf95c4){let _0x48fea9=_0x11bca8?.['call'](this);_0xdbc49c?.['call'](this,_0xaf95c4),this['requestUpdate'](_0x447994,_0x48fea9,_0x2447ed);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x105d4c){return this['elementProperties']['get'](_0x105d4c)??QQ;}static['Br'](){if(this['hasOwnProperty'](LQ('elementProperties')))return;let _0x129bfd=xQ(this);_0x129bfd['finalize'](),void 0x0!==_0x129bfd['l']&&(this['l']=[..._0x129bfd['l']]),this['elementProperties']=new Map(_0x129bfd['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](LQ('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](LQ('properties'))){let t=this['properties'],_0x895511=[...CQ(t),...kQ(t)];for(let _0x3ac685 of _0x895511)this['createProperty'](_0x3ac685,t[_0x3ac685]);}let _0x5541d7=this[Symbol['metadata']];if(null!==_0x5541d7){let t=litPropertyMetadata['get'](_0x5541d7);if(void 0x0!==t){for(let [_0x5e7367,_0x2f7367]of t)this['elementProperties']['set'](_0x5e7367,_0x2f7367);}}this['Li']=new Map();for(let [t,_0x45d288]of this['elementProperties']){let _0x461a8d=this['zr'](t,_0x45d288);void 0x0!==_0x461a8d&&this['Li']['set'](_0x461a8d,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0x3491d2){let t=[];if(Array['isArray'](_0x3491d2)){let _0x1bc1fa=new Set(_0x3491d2['flat'](0x1/0x0)['reverse']());for(let _0x3137c1 of _0x1bc1fa)t['unshift'](TQ(_0x3137c1));}else void 0x0!==_0x3491d2&&t['push'](TQ(_0x3491d2));return t;}static['zr'](_0x18e26e,t){let _0x124f2f=t['attribute'];return!0x1===_0x124f2f?void 0x0:'string'==typeof _0x124f2f?_0x124f2f:'string'==typeof _0x18e26e?_0x18e26e['toLowerCase']():void 0x0;}constructor(){super(),this['Ri']=void 0x0,this['isUpdatePending']=!0x1,this['hasUpdated']=!0x1,this['vt']=null,this['Sc']();}['Sc'](){this['Hr']=new Promise(_0x289e9d=>this['enableUpdating']=_0x289e9d),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x2ecdc2=>_0x2ecdc2(this));}['addController'](_0x1aedf6){(this['Wt']??=new Set())['add'](_0x1aedf6),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x1aedf6['hostConnected']?.();}['removeController'](_0x360f89){this['Wt']?.['delete'](_0x360f89);}['Ac'](){let _0x4ec0cf=new Map(),t=this['constructor']['elementProperties'];for(let _0x2802e0 of t['keys']())this['hasOwnProperty'](_0x2802e0)&&(_0x4ec0cf['set'](_0x2802e0,this[_0x2802e0]),delete this[_0x2802e0]);_0x4ec0cf['size']>0x0&&(this['Ri']=_0x4ec0cf);}['createRenderRoot'](){let _0x7afc63=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0x297179,_0x44b389)=>{if(yQ)_0x297179['adoptedStyleSheets']=_0x44b389['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x44b389){let _0x2c00ab=document['createElement']('style'),_0x2a0062=bQ['litNonce'];void 0x0!==_0x2a0062&&_0x2c00ab['setAttribute']('nonce',_0x2a0062),_0x2c00ab['textContent']=t['cssText'],_0x297179['appendChild'](_0x2c00ab);}})(_0x7afc63,this['constructor']['elementStyles']),_0x7afc63;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x1123d0=>_0x1123d0['hostConnected']?.());}['enableUpdating'](_0x446695){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x42ebc1=>_0x42ebc1['hostDisconnected']?.());}['attributeChangedCallback'](_0x3d5e02,t,_0x27b40c){this['Kr'](_0x3d5e02,_0x27b40c);}['kc'](_0x45c243,t){let _0x5bc191=this['constructor']['elementProperties']['get'](_0x45c243),_0x2a1ddb=this['constructor']['zr'](_0x45c243,_0x5bc191);if(void 0x0!==_0x2a1ddb&&!0x0===_0x5bc191['reflect']){let _0x1b5e8b=(void 0x0!==_0x5bc191['converter']?.['toAttribute']?_0x5bc191['converter']:$Q)['toAttribute'](t,_0x5bc191['type']);this['vt']=_0x45c243,null==_0x1b5e8b?this['removeAttribute'](_0x2a1ddb):this['setAttribute'](_0x2a1ddb,_0x1b5e8b),this['vt']=null;}}['Kr'](_0x35bee5,t){let _0xc7da1f=this['constructor'],_0x57c015=_0xc7da1f['Li']['get'](_0x35bee5);if(void 0x0!==_0x57c015&&this['vt']!==_0x57c015){let _0x5c49cd=_0xc7da1f['getPropertyOptions'](_0x57c015),_0x4af533='function'==typeof _0x5c49cd['converter']?{'fromAttribute':_0x5c49cd['converter']}:void 0x0!==_0x5c49cd['converter']?.['fromAttribute']?_0x5c49cd['converter']:$Q;this['vt']=_0x57c015;let _0x51bca0=_0x4af533['fromAttribute'](t,_0x5c49cd['type']);this[_0x57c015]=_0x51bca0??this['jr']?.['get'](_0x57c015)??_0x51bca0,this['vt']=null;}}['requestUpdate'](_0x2e2155,t,_0x5ae180,_0x172b7e=!0x1,_0x51eb2c){if(void 0x0!==_0x2e2155){let _0x499f80=this['constructor'];if(!0x1===_0x172b7e&&(_0x51eb2c=this[_0x2e2155]),_0x5ae180??=_0x499f80['getPropertyOptions'](_0x2e2155),!((_0x5ae180['hasChanged']??DQ)(_0x51eb2c,t)||_0x5ae180['useDefault']&&_0x5ae180['reflect']&&_0x51eb2c===this['jr']?.['get'](_0x2e2155)&&!this['hasAttribute'](_0x499f80['zr'](_0x2e2155,_0x5ae180))))return;this['C'](_0x2e2155,t,_0x5ae180);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x5c670d,t,{useDefault:_0x40258f,reflect:_0x5d0958,wrapped:_0x42d177},_0xba65fa){_0x40258f&&!(this['jr']??=new Map())['has'](_0x5c670d)&&(this['jr']['set'](_0x5c670d,_0xba65fa??t??this[_0x5c670d]),!0x0!==_0x42d177||void 0x0!==_0xba65fa)||(this['Fe']['has'](_0x5c670d)||(this['hasUpdated']||_0x40258f||(t=void 0x0),this['Fe']['set'](_0x5c670d,t)),!0x0===_0x5d0958&&this['vt']!==_0x5c670d&&(this['Gs']??=new Set())['add'](_0x5c670d));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x4d71de){Promise['reject'](_0x4d71de);}let _0x40b88b=this['scheduleUpdate']();return null!=_0x40b88b&&await _0x40b88b,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0xedaa88,_0x468bb0]of this['Ri'])this[_0xedaa88]=_0x468bb0;this['Ri']=void 0x0;}let _0x4054b4=this['constructor']['elementProperties'];if(_0x4054b4['size']>0x0)for(let [_0x56864f,_0x4b791f]of _0x4054b4){let {wrapped:_0x2484bd}=_0x4b791f,_0x890a76=this[_0x56864f];!0x0!==_0x2484bd||this['Fe']['has'](_0x56864f)||void 0x0===_0x890a76||this['C'](_0x56864f,void 0x0,_0x4b791f,_0x890a76);}}let _0x5ef3aa=!0x1,t=this['Fe'];try{_0x5ef3aa=this['shouldUpdate'](t),_0x5ef3aa?(this['willUpdate'](t),this['Wt']?.['forEach'](_0x4e6c16=>_0x4e6c16['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0xa1500f){throw _0x5ef3aa=!0x1,this['Gr'](),_0xa1500f;}_0x5ef3aa&&this['Oc'](t);}['willUpdate'](_0xc283cc){}['Oc'](_0x365baf){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x365baf)),this['updated'](_0x365baf);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x4f5e1f){return!0x0;}['update'](_0x56ddd6){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0x4bea20){}['firstUpdated'](_0xc16bd7){}};VQ['elementStyles']=[],VQ['shadowRootOptions']={'mode':'open'},VQ[LQ('elementProperties')]=new Map(),VQ[LQ('finalized')]=new Map(),NQ?.({'ReactiveElement':VQ}),(RQ['reactiveElementVersions']??=[])['push']('2.1.2');var UQ,BQ=globalThis,jQ=_0x44ecc6=>_0x44ecc6,FQ=BQ['trustedTypes'],HQ=FQ?FQ['createPolicy']('lit-html',{'createHTML':_0x142017=>_0x142017}):void 0x0,GQ='$lit$',ZQ='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',XQ='?'+ZQ,qQ='<'+XQ+'>',WQ=document,zQ=()=>WQ['createComment'](''),YQ=_0x4ccaa1=>null===_0x4ccaa1||'object'!=typeof _0x4ccaa1&&'function'!=typeof _0x4ccaa1,KQ=Array['isArray'],JQ='[\x20\x0c\x0d]',tV=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,eV=/-->/g,iV=/>/g,sV=RegExp('>|'+JQ+'(?:([^\x5cs\x22\x27>=/]+)('+JQ+'*='+JQ+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),nV=/'/g,rV=/"/g,oV=/^(?:script|style|textarea|title)$/i,aV=(UQ=0x1,(_0x1ebaac,...t)=>({'Ne':UQ,'strings':_0x1ebaac,'values':t})),cV=Symbol['for']('lit-noChange'),lV=Symbol['for']('lit-nothing'),hV=new WeakMap(),uV=WQ['createTreeWalker'](WQ,0x81);function dV(_0xd02ea1,_0x1e6e4c){if(!KQ(_0xd02ea1)||!_0xd02ea1['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==HQ?HQ['createHTML'](_0x1e6e4c):_0x1e6e4c;}var fV=class o{constructor({strings:_0xdf5879,Ne:t},_0x225d2d){let _0x5cb22d;this['parts']=[];let _0x32342f=0x0,_0x50d614=0x0,_0x456557=_0xdf5879['length']-0x1,_0x53900c=this['parts'],[_0xe5e29a,_0x2b4358]=((_0x3b14d8,_0x3a0159)=>{let _0x12e497,t=_0x3b14d8['length']-0x1,_0xd310af=[],_0x2f7804=0x2===_0x3a0159?'<svg>':0x3===_0x3a0159?'<math>':'',_0x57563c=tV;for(let _0x49d8d0=0x0;_0x49d8d0<t;_0x49d8d0++){let _0x52e716,_0x1378c6,_0x23d322=_0x3b14d8[_0x49d8d0],_0x4953fa=-0x1,_0x1841df=0x0;for(;_0x1841df<_0x23d322['length']&&(_0x57563c['lastIndex']=_0x1841df,_0x1378c6=_0x57563c['exec'](_0x23d322),null!==_0x1378c6);)_0x1841df=_0x57563c['lastIndex'],_0x57563c===tV?'!--'===_0x1378c6[0x1]?_0x57563c=eV:void 0x0!==_0x1378c6[0x1]?_0x57563c=iV:void 0x0!==_0x1378c6[0x2]?(oV['test'](_0x1378c6[0x2])&&(_0x12e497=RegExp('</'+_0x1378c6[0x2],'g')),_0x57563c=sV):void 0x0!==_0x1378c6[0x3]&&(_0x57563c=sV):_0x57563c===sV?'>'===_0x1378c6[0x0]?(_0x57563c=_0x12e497??tV,_0x4953fa=-0x1):void 0x0===_0x1378c6[0x1]?_0x4953fa=-0x2:(_0x4953fa=_0x57563c['lastIndex']-_0x1378c6[0x2]['length'],_0x52e716=_0x1378c6[0x1],_0x57563c=void 0x0===_0x1378c6[0x3]?sV:'\x22'===_0x1378c6[0x3]?rV:nV):_0x57563c===rV||_0x57563c===nV?_0x57563c=sV:_0x57563c===eV||_0x57563c===iV?_0x57563c=tV:(_0x57563c=sV,_0x12e497=void 0x0);let _0x1bd80d=_0x57563c===sV&&_0x3b14d8[_0x49d8d0+0x1]['startsWith']('/>')?'\x20':'';_0x2f7804+=_0x57563c===tV?_0x23d322+qQ:_0x4953fa>=0x0?(_0xd310af['push'](_0x52e716),_0x23d322['slice'](0x0,_0x4953fa)+GQ+_0x23d322['slice'](_0x4953fa)+ZQ+_0x1bd80d):_0x23d322+ZQ+(-0x2===_0x4953fa?_0x49d8d0:_0x1bd80d);}return[dV(_0x3b14d8,_0x2f7804+(_0x3b14d8[t]||'<?>')+(0x2===_0x3a0159?'</svg>':0x3===_0x3a0159?'</math>':'')),_0xd310af];})(_0xdf5879,t);if(this['el']=o['createElement'](_0xe5e29a,_0x225d2d),uV['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x1485c5=this['el']['content']['firstChild'];_0x1485c5['replaceWith'](..._0x1485c5['childNodes']);}for(;null!==(_0x5cb22d=uV['nextNode']())&&_0x53900c['length']<_0x456557;){if(0x1===_0x5cb22d['nodeType']){if(_0x5cb22d['hasAttributes']()){for(let _0x55e85c of _0x5cb22d['getAttributeNames']())if(_0x55e85c['endsWith'](GQ)){let _0x24e489=_0x2b4358[_0x50d614++],_0x34571d=_0x5cb22d['getAttribute'](_0x55e85c)['split'](ZQ),_0x2ce947=/([.?@])?(.*)/['exec'](_0x24e489);_0x53900c['push']({'type':0x1,'index':_0x32342f,'name':_0x2ce947[0x2],'strings':_0x34571d,'ctor':'.'===_0x2ce947[0x1]?wV:'?'===_0x2ce947[0x1]?bV:'@'===_0x2ce947[0x1]?yV:OV}),_0x5cb22d['removeAttribute'](_0x55e85c);}else _0x55e85c['startsWith'](ZQ)&&(_0x53900c['push']({'type':0x6,'index':_0x32342f}),_0x5cb22d['removeAttribute'](_0x55e85c));}if(oV['test'](_0x5cb22d['tagName'])){let _0xb4a2dc=_0x5cb22d['textContent']['split'](ZQ),_0x5ef4b5=_0xb4a2dc['length']-0x1;if(_0x5ef4b5>0x0){_0x5cb22d['textContent']=FQ?FQ['emptyScript']:'';for(let _0x506bf5=0x0;_0x506bf5<_0x5ef4b5;_0x506bf5++)_0x5cb22d['append'](_0xb4a2dc[_0x506bf5],zQ()),uV['nextNode'](),_0x53900c['push']({'type':0x2,'index':++_0x32342f});_0x5cb22d['append'](_0xb4a2dc[_0x5ef4b5],zQ());}}}else{if(0x8===_0x5cb22d['nodeType']){if(_0x5cb22d['data']===XQ)_0x53900c['push']({'type':0x2,'index':_0x32342f});else{let _0x40901c=-0x1;for(;-0x1!==(_0x40901c=_0x5cb22d['data']['indexOf'](ZQ,_0x40901c+0x1));)_0x53900c['push']({'type':0x7,'index':_0x32342f}),_0x40901c+=ZQ['length']-0x1;}}}_0x32342f++;}}static['createElement'](_0x59cb2b,t){let _0x32e3b4=WQ['createElement']('template');return _0x32e3b4['innerHTML']=_0x59cb2b,_0x32e3b4;}};function mV(_0x1a3b72,_0x250b22,t=_0x1a3b72,_0x1dbc21){if(_0x250b22===cV)return _0x250b22;let _0x24c712=void 0x0!==_0x1dbc21?t['Ic']?.[_0x1dbc21]:t['Pc'],_0x8ee377=YQ(_0x250b22)?void 0x0:_0x250b22['qr'];return _0x24c712?.['constructor']!==_0x8ee377&&(_0x24c712?.['qs']?.(!0x1),void 0x0===_0x8ee377?_0x24c712=void 0x0:(_0x24c712=new _0x8ee377(_0x1a3b72),_0x24c712['Wr'](_0x1a3b72,t,_0x1dbc21)),void 0x0!==_0x1dbc21?(t['Ic']??=[])[_0x1dbc21]=_0x24c712:t['Pc']=_0x24c712),void 0x0!==_0x24c712&&(_0x250b22=mV(_0x1a3b72,_0x24c712['Lc'](_0x1a3b72,_0x250b22['values']),_0x24c712,_0x1dbc21)),_0x250b22;}var gV=class{constructor(_0x301a42,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x301a42,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x4d9521){let {el:{content:t},parts:_0x2c42e1}=this['Zs'],_0xd72297=(_0x4d9521?.['creationScope']??WQ)['importNode'](t,!0x0);uV['currentNode']=_0xd72297;let _0xe4d60b=uV['nextNode'](),_0x5e745e=0x0,_0x455204=0x0,_0x585232=_0x2c42e1[0x0];for(;void 0x0!==_0x585232;){if(_0x5e745e===_0x585232['index']){let _0x6e0969;0x2===_0x585232['type']?_0x6e0969=new pV(_0xe4d60b,_0xe4d60b['nextSibling'],this,_0x4d9521):0x1===_0x585232['type']?_0x6e0969=new _0x585232['ctor'](_0xe4d60b,_0x585232['name'],_0x585232['strings'],this,_0x4d9521):0x6===_0x585232['type']&&(_0x6e0969=new vV(_0xe4d60b,this,_0x4d9521)),this['Ws']['push'](_0x6e0969),_0x585232=_0x2c42e1[++_0x455204];}_0x5e745e!==_0x585232?.['index']&&(_0xe4d60b=uV['nextNode'](),_0x5e745e++);}return uV['currentNode']=WQ,_0xd72297;}['p'](_0x4d529a){let t=0x0;for(let _0x376235 of this['Ws'])void 0x0!==_0x376235&&(void 0x0!==_0x376235['strings']?(_0x376235['ce'](_0x4d529a,_0x376235,t),t+=_0x376235['strings']['length']-0x2):_0x376235['ce'](_0x4d529a[t])),t++;}},pV=class o{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x2cb3b3,t,_0x411043,_0x25013a){this['type']=0x2,this['r']=lV,this['le']=void 0x0,this['ve']=_0x2cb3b3,this['yt']=t,this['f']=_0x411043,this['options']=_0x25013a,this['Ys']=_0x25013a?.['isConnected']??!0x0;}get['parentNode'](){let _0x4ed6a9=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0x4ed6a9?.['nodeType']&&(_0x4ed6a9=t['parentNode']),_0x4ed6a9;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0x3f9fbd,t=this){_0x3f9fbd=mV(this,_0x3f9fbd,t),YQ(_0x3f9fbd)?_0x3f9fbd===lV||null==_0x3f9fbd||''===_0x3f9fbd?(this['r']!==lV&&this['bt'](),this['r']=lV):_0x3f9fbd!==this['r']&&_0x3f9fbd!==cV&&this['Xs'](_0x3f9fbd):void 0x0!==_0x3f9fbd['Ne']?this['$'](_0x3f9fbd):void 0x0!==_0x3f9fbd['nodeType']?this['T'](_0x3f9fbd):(_0x113225=>KQ(_0x113225)||'function'==typeof _0x113225?.[Symbol['iterator']])(_0x3f9fbd)?this['k'](_0x3f9fbd):this['Xs'](_0x3f9fbd);}['O'](_0xc5b701){return this['ve']['parentNode']['insertBefore'](_0xc5b701,this['yt']);}['T'](_0x2e01d1){this['r']!==_0x2e01d1&&(this['bt'](),this['r']=this['O'](_0x2e01d1));}['Xs'](_0x7034e5){this['r']!==lV&&YQ(this['r'])?this['ve']['nextSibling']['data']=_0x7034e5:this['T'](WQ['createTextNode'](_0x7034e5)),this['r']=_0x7034e5;}['$'](_0x409240){let {values:t,Ne:_0x2de413}=_0x409240,_0x31d8dd='number'==typeof _0x2de413?this['Rc'](_0x409240):(void 0x0===_0x2de413['el']&&(_0x2de413['el']=fV['createElement'](dV(_0x2de413['h'],_0x2de413['h'][0x0]),this['options'])),_0x2de413);if(this['r']?.['Zs']===_0x31d8dd)this['r']['p'](t);else{let _0x53b936=new gV(_0x31d8dd,this),_0x299988=_0x53b936['u'](this['options']);_0x53b936['p'](t),this['T'](_0x299988),this['r']=_0x53b936;}}['Rc'](_0x4f0d86){let t=hV['get'](_0x4f0d86['strings']);return void 0x0===t&&hV['set'](_0x4f0d86['strings'],t=new fV(_0x4f0d86)),t;}['k'](_0x5dc430){KQ(this['r'])||(this['r']=[],this['bt']());let _0x4e0e1f,t=this['r'],_0x5dda7e=0x0;for(let _0xbefb80 of _0x5dc430)_0x5dda7e===t['length']?t['push'](_0x4e0e1f=new o(this['O'](zQ()),this['O'](zQ()),this,this['options'])):_0x4e0e1f=t[_0x5dda7e],_0x4e0e1f['ce'](_0xbefb80),_0x5dda7e++;_0x5dda7e<t['length']&&(this['bt'](_0x4e0e1f&&_0x4e0e1f['yt']['nextSibling'],_0x5dda7e),t['length']=_0x5dda7e);}['bt'](_0x2cf586=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x2cf586!==this['yt'];){let _0x39dffc=jQ(_0x2cf586)['nextSibling'];jQ(_0x2cf586)['remove'](),_0x2cf586=_0x39dffc;}}['setConnected'](_0x47ca05){void 0x0===this['f']&&(this['Ys']=_0x47ca05,this['Ui']?.(_0x47ca05));}},OV=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x56260d,t,_0x567777,_0x4fefba,_0x36de9f){this['type']=0x1,this['r']=lV,this['le']=void 0x0,this['element']=_0x56260d,this['name']=t,this['f']=_0x4fefba,this['options']=_0x36de9f,_0x567777['length']>0x2||''!==_0x567777[0x0]||''!==_0x567777[0x1]?(this['r']=Array(_0x567777['length']-0x1)['fill'](new String()),this['strings']=_0x567777):this['r']=lV;}['ce'](_0x4205eb,t=this,_0x28fdda,_0x27c595){let _0x54d66b=this['strings'],_0x4ae2f4=!0x1;if(void 0x0===_0x54d66b)_0x4205eb=mV(this,_0x4205eb,t,0x0),_0x4ae2f4=!YQ(_0x4205eb)||_0x4205eb!==this['r']&&_0x4205eb!==cV,_0x4ae2f4&&(this['r']=_0x4205eb);else{let _0x5c213b,_0xd2e5c,_0x273302=_0x4205eb;for(_0x4205eb=_0x54d66b[0x0],_0x5c213b=0x0;_0x5c213b<_0x54d66b['length']-0x1;_0x5c213b++)_0xd2e5c=mV(this,_0x273302[_0x28fdda+_0x5c213b],t,_0x5c213b),_0xd2e5c===cV&&(_0xd2e5c=this['r'][_0x5c213b]),_0x4ae2f4||=!YQ(_0xd2e5c)||_0xd2e5c!==this['r'][_0x5c213b],_0xd2e5c===lV?_0x4205eb=lV:_0x4205eb!==lV&&(_0x4205eb+=(_0xd2e5c??'')+_0x54d66b[_0x5c213b+0x1]),this['r'][_0x5c213b]=_0xd2e5c;}_0x4ae2f4&&!_0x27c595&&this['j'](_0x4205eb);}['j'](_0x785cf9){_0x785cf9===lV?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x785cf9??'');}},wV=class extends OV{constructor(){super(...arguments),this['type']=0x3;}['j'](_0x22384c){this['element'][this['name']]=_0x22384c===lV?void 0x0:_0x22384c;}},bV=class extends OV{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x452321){this['element']['toggleAttribute'](this['name'],!!_0x452321&&_0x452321!==lV);}},yV=class extends OV{constructor(_0x21e81f,t,_0x5c25da,_0x2c857c,_0x42f0d1){super(_0x21e81f,t,_0x5c25da,_0x2c857c,_0x42f0d1),this['type']=0x5;}['ce'](_0x4a23a6,t=this){if((_0x4a23a6=mV(this,_0x4a23a6,t,0x0)??lV)===cV)return;let _0x4806a5=this['r'],_0x4d1723=_0x4a23a6===lV&&_0x4806a5!==lV||_0x4a23a6['capture']!==_0x4806a5['capture']||_0x4a23a6['once']!==_0x4806a5['once']||_0x4a23a6['passive']!==_0x4806a5['passive'],_0x22702d=_0x4a23a6!==lV&&(_0x4806a5===lV||_0x4d1723);_0x4d1723&&this['element']['removeEventListener'](this['name'],this,_0x4806a5),_0x22702d&&this['element']['addEventListener'](this['name'],this,_0x4a23a6),this['r']=_0x4a23a6;}['handleEvent'](_0x450913){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x450913):this['r']['handleEvent'](_0x450913);}},vV=class{constructor(_0x406b61,t,_0x28e19d){this['element']=_0x406b61,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x28e19d;}get['W'](){return this['f']['W'];}['ce'](_0x162670){mV(this,_0x162670);}},_V={'I':pV},EV=BQ['litHtmlPolyfillSupport'];EV?.(fV,pV),(BQ['litHtmlVersions']??=[])['push']('3.3.2');var TV=globalThis,AV=class extends VQ{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x4cbd19=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x4cbd19['firstChild'],_0x4cbd19;}['update'](_0x4f00a4){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x4f00a4),this['Zr']=((_0x2ff9e1,_0x38afcc,t)=>{let _0x1964ec=t?.['renderBefore']??_0x38afcc,_0x1df7c5=_0x1964ec['Uc'];if(void 0x0===_0x1df7c5){let _0x194d4a=t?.['renderBefore']??null;_0x1964ec['Uc']=_0x1df7c5=new pV(_0x38afcc['insertBefore'](zQ(),_0x194d4a),_0x194d4a,void 0x0,t??{});}return _0x1df7c5['ce'](_0x2ff9e1),_0x1df7c5;})(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return cV;}};AV['jp']=!0x0,AV['finalized']=!0x0,TV['litElementHydrateSupport']?.({'LitElement':AV});var SV=TV['litElementPolyfillSupport'];SV?.({'LitElement':AV}),(TV['litElementVersions']??=[])['push']('4.2.2');var IV=/\\([0-9a-fA-F]{1,6} ?)/g;function CV(_0x318b8a){return class _0xa11291 extends _0x318b8a{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x59f3e7,_0x3b9995=!0x1){let _0x329c6e=this['Qs']??Object['create'](null);if(!Object['keys'](_0x329c6e)['includes'](_0x59f3e7)||!_0x329c6e[_0x59f3e7]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x1e13da=this['Yr']['getPropertyValue'](_0x59f3e7)['trim']();try{_0x329c6e[_0x59f3e7]=function(_0x22bcae){let _0x4917c5=_0x22bcae;(function(_0x505613){return!(_0x505613['length']<0x2||'\x22'!==_0x505613[0x0]&&'\x27'!==_0x505613[0x0]||'\x22'!==_0x505613[_0x505613['length']-0x1]&&'\x27'!==_0x505613[_0x505613['length']-0x1]);}(_0x22bcae)&&(_0x4917c5=function(_0x5c60f4){let _0x33a01f=_0x5c60f4;return('\x22'===_0x33a01f[0x0]||'\x27'===_0x33a01f[0x0])&&(_0x33a01f=_0x33a01f['slice'](0x1)),('\x22'===_0x33a01f[_0x33a01f['length']-0x1]||'\x27'===_0x33a01f[_0x33a01f['length']-0x1])&&(_0x33a01f=_0x33a01f['slice'](0x0,-0x1)),_0x33a01f;}(_0x4917c5),_0x4917c5=_0x4917c5['replace'](IV,(t,_0x10b21a)=>String['fromCodePoint'](parseInt(_0x10b21a['trim'](),0x10))),_0x4917c5=_0x4917c5['replaceAll']('\x5c\x20','\x5cn'),_0x4917c5=function(_0x4fe7fa){let _0x417973='',t='';for(let _0xd0d2cc=0x0;_0xd0d2cc<_0x4fe7fa['length'];_0xd0d2cc++){let _0x187e0a=_0x4fe7fa[_0xd0d2cc+0x1];'\x5c'===_0x4fe7fa[_0xd0d2cc]&&'\x22'===_0x187e0a?(_0x417973+='\x5c\x22',_0xd0d2cc++):'\x22'===_0x4fe7fa[_0xd0d2cc]&&'\x5c'!==t?_0x417973+='\x5c\x22':_0x417973+=_0x4fe7fa[_0xd0d2cc],t=_0x4fe7fa[_0xd0d2cc]??'';}return _0x417973;}(_0x4917c5),_0x4917c5='\x22'+_0x4917c5+'\x22'));try{return JSON['parse'](_0x4917c5);}catch{return;}}(_0x1e13da);}catch(_0x507a93){_0x3b9995||console['warn']('CSS\x20Data\x20error:\x20'+_0x59f3e7,_0x507a93),_0x329c6e[_0x59f3e7]=null;}}return this['Qs']=_0x329c6e,_0x329c6e[_0x59f3e7];}};}function kV(_0x45df17){return class _0x3dfac3 extends _0x45df17{constructor(){super(...arguments),this['willYield']=!0x0,this['Ve']={},this['_e']=null,this['$i']=!0x1;}['createRenderRoot'](){return this;}['connectedCallback'](){this['_e']||(this['_e']=Array['from'](this['childNodes'])),super['connectedCallback']();}['$c'](){if(this['$i'])return;this['$i']=!0x0,this['Ve']={};let _0x2b0c0f=Array['from'](this['childNodes']),_0x315041=_0x2b0c0f['length']?_0x2b0c0f:this['_e']??[];for(let _0x199f76 of _0x315041){let _0x53a4e4=this['Js'](_0x199f76),_0x1cf730=this['Ve'][_0x53a4e4]??[];_0x199f76 instanceof Element&&(_0x199f76['removeAttribute']('slot'),_0x199f76['removeAttribute']('content-for')),_0x1cf730['push'](_0x199f76),this['Ve'][_0x53a4e4]=_0x1cf730;}this['_e']=null;}['Js'](_0x1664a0){return _0x1664a0 instanceof Comment&&_0x1664a0['nextSibling']instanceof Element?this['Js'](_0x1664a0['nextSibling']):'contentFor'in _0x1664a0?_0x1664a0['contentFor']||'':_0x1664a0 instanceof Element&&_0x1664a0['hasAttribute']('content-for')&&_0x1664a0['getAttribute']('content-for')||'';}['Dc'](_0x50c887){return!_0x50c887['textContent']||!_0x50c887['textContent']['trim']();}['Fc'](_0x1e03f1){let _0x50590f=this['Ve'][_0x1e03f1];return!_0x50590f||_0x50590f['every'](_0x2caa1c=>_0x2caa1c instanceof Comment||_0x2caa1c instanceof Text&&this['Dc'](_0x2caa1c));}['update'](_0x182c6d){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x182c6d);}['yield'](_0x18e944,_0x3dbe1c){if(''===_0x18e944&&!this['Ve'][_0x18e944]&&!this['$i']&&this['_e']?.['length']){let _0x8a3dec=[];for(let _0x219d16 of this['_e'])_0x219d16 instanceof Element&&(_0x219d16['removeAttribute']('slot'),_0x219d16['removeAttribute']('content-for')),_0x8a3dec['push'](_0x219d16);this['Ve'][_0x18e944]=_0x8a3dec,this['$i']=!0x0,this['_e']=null;}let _0x34a506=this['Ve'][_0x18e944];return aV` ${_0x34a506} ${this['Fc'](_0x18e944)?_0x3dbe1c:void 0x0} `;}};}function xV(_0x196426){return class _0xb9a23e extends _0x196426{static['reg'](_0x297b39){let _0x489ee8=this,_0x335461=window['customElements']['get'](_0x297b39);_0x335461?_0x335461!==_0x489ee8&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x297b39+'\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']('\x20')):window['customElements']['define'](_0x297b39,_0x489ee8);}};}var RV=class extends Event{constructor(_0x116a14,t,_0x36f2af,_0x267bde){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x116a14,this['contextTarget']=t,this['callback']=_0x36f2af,this['subscribe']=_0x267bde??!0x1;}},PV=class{constructor(_0x1f5cc6,t,_0x21db50,_0x4cf101){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x5f33e8,_0x5dddee)=>{this['unsubscribe']&&(this['unsubscribe']!==_0x5dddee&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x5f33e8,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x5f33e8,_0x5dddee)),this['unsubscribe']=_0x5dddee;},this['host']=_0x1f5cc6,void 0x0!==t['context']){let _0x55eb21=t;this['context']=_0x55eb21['context'],this['callback']=_0x55eb21['callback'],this['subscribe']=_0x55eb21['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x21db50,this['subscribe']=_0x4cf101??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new RV(this['context'],this['host'],this['t'],this['subscribe']));}},MV=class{get['value'](){return this['o'];}set['value'](_0x25bd55){this['setValue'](_0x25bd55);}['setValue'](_0xc7d378,t=!0x1){let _0x146a56=t||!Object['is'](_0xc7d378,this['o']);this['o']=_0xc7d378,_0x146a56&&this['updateObservers']();}constructor(_0x4a6c29){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x34341b}]of this['subscriptions'])t(this['o'],_0x34341b);},void 0x0!==_0x4a6c29&&(this['value']=_0x4a6c29);}['addCallback'](_0x2ca75d,t,_0x233265){if(!_0x233265)return void _0x2ca75d(this['value']);this['subscriptions']['has'](_0x2ca75d)||this['subscriptions']['set'](_0x2ca75d,{'disposer':()=>{this['subscriptions']['delete'](_0x2ca75d);},'consumerHost':t});let {disposer:_0x3dd7cb}=this['subscriptions']['get'](_0x2ca75d);_0x2ca75d(this['value'],_0x3dd7cb);}['clearCallbacks'](){this['subscriptions']['clear']();}},NV=class extends Event{constructor(_0x40303a,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x40303a,this['contextTarget']=t;}},LV=class extends MV{constructor(_0x46a70b,t,_0x46476f){super(void 0x0!==t['context']?t['initialValue']:_0x46476f),this['onContextRequest']=_0x3c8dd4=>{if(_0x3c8dd4['context']!==this['context'])return;let _0x40b1d4=_0x3c8dd4['contextTarget']??_0x3c8dd4['composedPath']()[0x0];_0x40b1d4!==this['host']&&(_0x3c8dd4['stopPropagation'](),this['addCallback'](_0x3c8dd4['callback'],_0x40b1d4,_0x3c8dd4['subscribe']));},this['onProviderRequest']=_0x35e0bd=>{if(_0x35e0bd['context']!==this['context']||(_0x35e0bd['contextTarget']??_0x35e0bd['composedPath']()[0x0])===this['host'])return;let _0x42123e=new Set();for(let [_0x2c39a7,{consumerHost:_0x206cc1}]of this['subscriptions'])_0x42123e['has'](_0x2c39a7)||(_0x42123e['add'](_0x2c39a7),_0x206cc1['dispatchEvent'](new RV(this['context'],_0x206cc1,_0x2c39a7,!0x0)));_0x35e0bd['stopPropagation']();},this['host']=_0x46a70b,void 0x0!==t['context']?this['context']=t['context']:this['context']=t,this['attachListeners'](),this['host']['addController']?.(this);}['attachListeners'](){this['host']['addEventListener']('context-request',this['onContextRequest']),this['host']['addEventListener']('context-provider',this['onProviderRequest']);}['hostConnected'](){this['host']['dispatchEvent'](new NV(this['context'],this['host']));}},$V={'attribute':!0x0,'type':String,'converter':$Q,'reflect':!0x1,'hasChanged':DQ},DV=(_0x1c0799=$V,_0x3f7a91,t)=>{let {kind:_0x428032,metadata:_0x44736c}=t,_0x5b07cc=globalThis['litPropertyMetadata']['get'](_0x44736c);if(void 0x0===_0x5b07cc&&globalThis['litPropertyMetadata']['set'](_0x44736c,_0x5b07cc=new Map()),'setter'===_0x428032&&((_0x1c0799=Object['create'](_0x1c0799))['wrapped']=!0x0),_0x5b07cc['set'](t['name'],_0x1c0799),'accessor'===_0x428032){let {name:_0xf9ce5d}=t;return{'set'(_0x50c678){let _0x2284a2=_0x3f7a91['get']['call'](this);_0x3f7a91['set']['call'](this,_0x50c678),this['requestUpdate'](_0xf9ce5d,_0x2284a2,_0x1c0799,!0x0,_0x50c678);},'init'(_0x10894c){return void 0x0!==_0x10894c&&this['C'](_0xf9ce5d,void 0x0,_0x1c0799,_0x10894c),_0x10894c;}};}if('setter'===_0x428032){let {name:_0x31ce05}=t;return function(_0x3a6859){let _0x3c8133=this[_0x31ce05];_0x3f7a91['call'](this,_0x3a6859),this['requestUpdate'](_0x31ce05,_0x3c8133,_0x1c0799,!0x0,_0x3a6859);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x428032);};function QV(_0x1d63aa){return(_0x2ea341,t)=>'object'==typeof t?DV(_0x1d63aa,_0x2ea341,t):((_0x95fef4,_0x1c75eb,_0x41e4e8)=>{let _0x2ad483=_0x1c75eb['hasOwnProperty'](_0x41e4e8);return _0x1c75eb['constructor']['createProperty'](_0x41e4e8,_0x95fef4),_0x2ad483?Object['getOwnPropertyDescriptor'](_0x1c75eb,_0x41e4e8):void 0x0;})(_0x1d63aa,_0x2ea341,t);}function VV(_0x360c00){return QV({..._0x360c00,'state':!0x0,'attribute':!0x1});}function UV(_0x5d9e5b,_0x3f4272){let t,_0xe307e9=(..._0x4170b2)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x5d9e5b(..._0x4170b2),_0x3f4272);};return _0xe307e9['cancel']=()=>{t&&clearTimeout(t);},_0xe307e9;}var BV='ctx-name-context';function jV(){return function(_0x3a5b61){class _0x49fd01 extends _0x3a5b61{constructor(..._0x3537f8){super(..._0x3537f8),this['ee']=null,this['Zt']=!0x1,this['Xr']=!0x1,this['Qr']=void 0x0,this['wt']=new Map(),this['Yt']=new Set(),this['init$']={},this['ctxOwner']=!0x1,this['Di']=void 0x0,this['Fi']=!0x1,this['ctxName']=this['Ae'],this['ke']=!0x1,this['Di']=this['getAttribute']('ctx-name')||void 0x0,this['ctxName']=this['Ae'],this['Nc']=new PV(this,{'context':BV,'callback':_0x5cb309=>{_0x5cb309?(this['rn']=_0x5cb309,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x4ed1dc){console['error']('Caution:\x20static\x20\x27template\x27\x20property\x20is\x20deprecated\x20and\x20has\x20no\x20effect.\x20See\x20https://github.com/uploadcare/file-uploader/releases/tag/v1.25.0\x20for\x20details.');}get['en'](){return this['Di'];}set['en'](_0x1912f5){let _0x25221d=_0x1912f5??void 0x0;this['Di']!==_0x25221d&&(this['Di']=_0x25221d,this['tn']());}['shouldUpdate'](_0x5d5772){return!!this['ke']&&super['shouldUpdate'](_0x5d5772);}get['Ae'](){return this['en']||this['rn']||void 0x0;}['tn'](){if(this['ctxName']=this['Ae'],this['ctxName']&&!this['Zt']){if(this['isConnected'])return void this['Jr']();this['Fi']=!0x0;}}['willUpdate'](_0x49c27f){super['willUpdate'](_0x49c27f),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new LV(this,{'context':BV,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x2a934c,{value:_0x5624f4,rewrite:_0x35d28f}]of this['wt'])this['ee']['add'](_0x2a934c,_0x5624f4,_0x35d28f);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x5ddbc8=this['nn']();if(!_0x5ddbc8)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x5ddbc8;}['eo'](){let _0x50bd79=this['init$'],_0xb4d20b=this['Ae'];if(_0xb4d20b){if(!this['ee']){this['ee']=wQ['getCtx'](_0xb4d20b)??wQ['registerCtx'](_0x50bd79,_0xb4d20b);for(let [_0x99bf89,_0x49517a]of Object['entries'](this['init$']))this['ee']['add'](_0x99bf89,_0x49517a,this['ctxOwner']);this['sn']();}}else console['error']('SymbioteMixin:\x20ctx-name\x20is\x20required\x20for\x20components\x20with\x20shared\x20properties\x20(*)');}get['$'](){return this['Ae']&&this['eo'](),new Proxy({},{'get':(_0xe777e0,_0x2d9627)=>{if('string'==typeof _0x2d9627)return this['ee']?.['read'](_0x2d9627);},'set':(_0x1d6beb,_0x16b9b8,_0x92ec6)=>('string'!=typeof _0x16b9b8||this['ee']?.['pub'](_0x16b9b8,_0x92ec6),!0x0)});}['sub'](_0x4e665d,_0x1e5c08,_0x85d2c3=!0x0){let _0x2297b9=this['Ni']()['sub'](_0x4e665d,_0x1e5c08,_0x85d2c3);if(!_0x2297b9||'function'!=typeof _0x2297b9)return()=>{};let _0x1b59a6=_0x2297b9['bind'](_0x2297b9),_0x54a71e=!0x1,_0x483a38=()=>{_0x54a71e||(_0x54a71e=!0x0,_0x1b59a6(),this['Yt']['delete'](_0x483a38));};return this['Yt']['add'](_0x483a38),_0x483a38;}['pub'](_0x349241,_0x4004c5){this['Ni']()['pub'](_0x349241,_0x4004c5);}['set$'](_0x502caa){for(let [_0xacc687,_0xc3031e]of Object['entries'](_0x502caa))this['pub'](_0xacc687,_0xc3031e);}get['sharedCtx'](){return this['Ni']();}['has'](_0x38fbe5){return this['ee']?.['has'](_0x38fbe5)??!0x1;}['add'](_0x375be0,_0x1be16f,_0x187ad5=!0x1){let _0xca13e=this['nn']();if(_0xca13e)this['wt']['delete'](_0x375be0),_0xca13e['add'](_0x375be0,_0x1be16f,_0x187ad5);else{if(!_0x187ad5&&this['wt']['has'](_0x375be0))return;this['wt']['set'](_0x375be0,{'value':_0x1be16f,'rewrite':_0x187ad5});}}['add$'](_0x2c74b6,_0xb677de=!0x1){for(let [_0x10e1a8,_0x75b92e]of Object['entries'](_0x2c74b6))this['add'](_0x10e1a8,_0x75b92e,_0xb677de);}['connectedCallback'](){super['connectedCallback'](),this['Zt']?this['ke']&&this['Xr']&&(this['Xr']=!0x1,this['initCallback']()):(this['ctxName']||this['Fi']&&this['Ae'])&&(this['Fi']=!0x1,this['Jr']());}['Jr'](){if(this['Zt'])return;this['Zt']=!0x0,this['eo']();let _0x4466cb=this['init$'];if(Object['keys'](_0x4466cb)['length']>0x0){let _0x591f62=this['Ni']();for(let [_0x331986,_0x2a1fc9]of Object['entries'](_0x4466cb))void 0x0===_0x591f62['read'](_0x331986)&&_0x591f62['pub'](_0x331986,_0x2a1fc9),this['sub'](_0x331986,UV(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0x52117c){super['firstUpdated'](_0x52117c);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x5d063c of[...this['Yt']])_0x5d063c();this['Yt']['clear']();}}['initCallback'](){}}return dQ([QV({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x49fd01['prototype'],'en',0x1),dQ([VV()],_0x49fd01['prototype'],'rn',0x2),dQ([VV()],_0x49fd01['prototype'],'ctxName',0x2),dQ([VV()],_0x49fd01['prototype'],'ke',0x2),_0x49fd01;};}var FV=class extends xV(jV()(CV(kV(AV)))){},HV=class o{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0xbb697e=globalThis['crypto'];return _0xbb697e&&'function'==typeof _0xbb697e['randomUUID']?_0xbb697e['randomUUID']():o['generateFastUid']();}},GV=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function ZV(_0x1e57d5){for(let _0x40cde3 in _0x1e57d5){if(GV['includes'](_0x40cde3))continue;let t=[..._0x40cde3]['reduce']((_0x25417d,_0x9a2ede)=>(_0x9a2ede['toUpperCase']()===_0x9a2ede&&(_0x9a2ede='-'+_0x9a2ede['toLowerCase']()),_0x25417d+=_0x9a2ede),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x1e57d5[_0x40cde3]['reg']&&_0x1e57d5[_0x40cde3]['reg'](t);}}var XV='UC',qV={'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','drop-file-here':'Drop\x20file\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-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-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'},WV=new Map(),zV=new Map(),YV=(_0x3bca5f,_0xdccaa7)=>{WV['has'](_0x3bca5f)&&console['log']('Locale\x20'+_0x3bca5f+'\x20is\x20already\x20defined.\x20Overwriting...');let t={...qV,..._0xdccaa7};return WV['set'](_0x3bca5f,t),t;},KV=(_0x73a39b,_0x59409e)=>{'function'==typeof _0x59409e?((_0xb1b21e,_0x3ae020)=>{zV['set'](_0xb1b21e,_0x3ae020);})(_0x73a39b,_0x59409e):YV(_0x73a39b,_0x59409e);};KV('en',qV);var JV=_0x7f136d=>'*cfg/'+_0x7f136d,tU=_0x660bb2=>_0x660bb2?_0x660bb2['split'](',')['map'](_0x1467bf=>_0x1467bf['trim']())['filter'](Boolean):[],eU=_0x4efd02=>_0x4efd02['join'](','),iU=_0x5e7ff5=>{if('string'!=typeof _0x5e7ff5||!_0x5e7ff5)return'';let _0x4cf43c=_0x5e7ff5['trim']();return _0x4cf43c['startsWith']('-/')?_0x4cf43c=_0x4cf43c['slice'](0x2):_0x4cf43c['startsWith']('/')&&(_0x4cf43c=_0x4cf43c['slice'](0x1)),_0x4cf43c['endsWith']('/')&&(_0x4cf43c=_0x4cf43c['slice'](0x0,_0x4cf43c['length']-0x1)),_0x4cf43c;},sU=(..._0x1a4bf8)=>_0x1a4bf8['filter'](_0x36494d=>'string'==typeof _0x36494d&&!!_0x36494d)['map'](_0x5518ca=>iU(_0x5518ca))['join']('/-/'),nU=(..._0x2a66e9)=>{let _0x256a66=sU(..._0x2a66e9);return _0x256a66?'-/'+_0x256a66+'/':'';};function rU(_0x558da7){let _0x4c1961=new URL(_0x558da7),t=_0x4c1961['pathname']+_0x4c1961['search']+_0x4c1961['hash'],_0x6ab68c=t['lastIndexOf']('http'),_0x510fde=t['lastIndexOf']('/'),_0x5436c4='';return _0x6ab68c>=0x0?_0x5436c4=t['slice'](_0x6ab68c):_0x510fde>=0x0&&(_0x5436c4=t['slice'](_0x510fde+0x1)),_0x5436c4;}function oU(_0x5d4431){let _0x1a96aa=new URL(_0x5d4431),{pathname:t}=_0x1a96aa,_0x7f2cf6=t['indexOf']('/'),_0x286553=t['indexOf']('/',_0x7f2cf6+0x1);return t['substring'](_0x7f2cf6+0x1,_0x286553);}function aU(_0x3cf726){let _0x45cc4c=lU(_0x3cf726),t=new URL(_0x45cc4c),_0x4a9723=t['pathname']['indexOf']('/-/');return-0x1===_0x4a9723?'':t['pathname']['substring'](_0x4a9723)['slice'](0x1);}function cU(_0x3ef2d0){return aU(_0x3ef2d0)['split']('/-/')['filter'](Boolean)['map'](t=>iU(t));}function lU(_0x4692b9){let _0x33fed2=new URL(_0x4692b9),t=rU(_0x4692b9),_0xc28279=hU(t)?uU(t)['pathname']:t;return _0x33fed2['pathname']=_0x33fed2['pathname']['replace'](_0xc28279,''),_0x33fed2['search']='',_0x33fed2['hash']='',_0x33fed2['toString']();}function hU(_0x2f9955){return _0x2f9955['startsWith']('http');}function uU(_0x42bed7){let _0x46533c=new URL(_0x42bed7);return{'pathname':''+_0x46533c['origin']+(_0x46533c['pathname']??''),'search':_0x46533c['search']??'','hash':_0x46533c['hash']??''};}var dU=(_0x22bc07,_0x711d93,t)=>{let _0x3f7770=new URL(lU(_0x22bc07)),_0x5a87df=t??rU(_0x22bc07),_0x18fe03=_0x711d93??'';if(_0x3f7770['pathname']['startsWith']('//')&&(_0x3f7770['pathname']=_0x3f7770['pathname']['replace']('//','/')),_0x5a87df&&hU(_0x5a87df)){let _0x574d6e=uU(_0x5a87df);_0x3f7770['pathname']=''+_0x3f7770['pathname']+_0x18fe03+(_0x574d6e['pathname']||''),_0x3f7770['search']=_0x574d6e['search'],_0x3f7770['hash']=_0x574d6e['hash'];}else _0x3f7770['pathname']=''+_0x3f7770['pathname']+_0x18fe03+(_0x5a87df||'');return _0x3f7770['toString']();},fU=(_0x3f5b64,_0x169321)=>{let t=new URL(_0x3f5b64);return t['pathname']=_0x169321+'/',t['toString']();},mU=(_0x2841de,_0x1bc7be=',')=>_0x2841de['trim']()['split'](_0x1bc7be)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),gU=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}),pU=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function OU(_0x188c8a){return sU(...pU['filter'](_0x4785ab=>typeof _0x188c8a[_0x4785ab]<'u'&&null!==_0x188c8a[_0x4785ab])['map'](_0x2c93d3=>function(_0x4fee54,_0x489aec){if('number'==typeof _0x489aec){let t=_0x489aec;return gU[_0x4fee54]!==t?_0x4fee54+'/'+t:'';}if('boolean'==typeof _0x489aec){let t=_0x489aec;return gU[_0x4fee54]!==t?''+_0x4fee54:'';}if('filter'===_0x4fee54&&_0x489aec){let {name:t,amount:_0x184d8f}=_0x489aec;return gU['filter']===_0x184d8f?'':_0x4fee54+'/'+t+'/'+_0x184d8f;}if('crop'===_0x4fee54&&_0x489aec){let {dimensions:t,coords:_0x5171d3}=_0x489aec;return _0x4fee54+'/'+t['join']('x')+'/'+_0x5171d3['join'](',');}return'';}(_0x2c93d3,_0x188c8a[_0x2c93d3]))['filter'](_0x4eecb5=>!!_0x4eecb5));}var wU=sU('format/auto','progressive/yes'),bU=([_0x314dda])=>typeof _0x314dda<'u'?Number(_0x314dda):void 0x0,yU=()=>!0x0,vU=Object['freeze']({'enhance':bU,'brightness':bU,'exposure':bU,'gamma':bU,'contrast':bU,'saturation':bU,'vibrance':bU,'warmth':bU,'filter':([_0x363464,_0x44f7b7])=>({'name':_0x363464,'amount':typeof _0x44f7b7<'u'?Number(_0x44f7b7):0x64}),'mirror':yU,'flip':yU,'rotate':bU,'crop':_0x4eab30=>{let [_0x12365c,t]=_0x4eab30,{dimensions:_0x34ca39,coords:_0x14c72b}=(([_0x2d4a4e,_0x5a6ea4])=>{if(!/\d+x\d+/['test'](_0x2d4a4e)||!/\d+,\d+/['test'](_0x5a6ea4))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':mU(_0x2d4a4e,'x')['map'](Number),'coords':mU(_0x5a6ea4)['map'](Number)};})([_0x12365c,t]);return{'dimensions':_0x34ca39,'coords':_0x14c72b};}});function _U(_0x4875c3){let _0x3e2ce5={};for(let t of _0x4875c3){let [_0x26d7f4,..._0x1cd470]=t['split']('/');if(!_0x26d7f4||!pU['includes'](_0x26d7f4))continue;let _0x401e9b=_0x26d7f4,_0x1575e1=vU[_0x401e9b];try{let _0x32ac2c=_0x1575e1(_0x1cd470);_0x3e2ce5[_0x401e9b]=_0x32ac2c;}catch(_0x55e6eb){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x55e6eb instanceof Error?'Error\x20message:\x20\x22'+_0x55e6eb['message']+'\x22':_0x55e6eb,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x3e2ce5;}var EU=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),TU=Object['freeze']([EU['CROP'],EU['TUNING'],EU['FILTERS']]),AU=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),SU=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']),IU=Object['freeze'](['rotate','mirror','flip']),CU=gU,kU=Object['freeze']({'brightness':{'zero':CU['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':CU['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':CU['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':CU['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':CU['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':CU['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':CU['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':CU['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':CU['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),xU='https://ucarecdn.com',RU={'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':'','maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':xU,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0x3,'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,'useCloudImageEditor':!0x0,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorTabs':eU(TU),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},PU=Object['freeze'](RU),MU=(_0x44152f,_0x41fd44)=>(...t)=>{let _0x30b137=_0x44152f();if(!_0x30b137['read'](JV('debug')))return;let _0x550fd4=t;'function'==typeof t?.[0x0]&&(_0x550fd4=(0x0,t[0x0])());let _0x212fa3=[_0x30b137['id'],_0x41fd44]['filter'](Boolean);console['log']('['+_0x212fa3['join']('][')+']',..._0x550fd4);},NU=class{constructor(_0x2455e6){this['to']=new Set(),this['Be']=null,this['w']=MU(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x2455e6,this['e']=_0x2455e6['ctx'];}['addSub'](_0x8a8d7f){this['to']['add'](_0x8a8d7f);}get['ze'](){if(!this['Be']){let _0x55bddc={};this['Be']=new Proxy(_0x55bddc,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x4d7733)=>{if('string'!=typeof _0x4d7733)return;let _0x2c7f54=JV(_0x4d7733);return this['i']['ctx']['has'](_0x2c7f54)?this['i']['ctx']['read'](_0x2c7f54):PU[_0x4d7733];}});}return this['Be'];}['destroy'](){for(let _0x1bc26f of this['to'])try{_0x1bc26f();}catch{}this['to']['clear']();}},LU={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},$U=(_0x589941,_0x549636,t=!0x0)=>{let _0x440576=_0x589941['has'](_0x549636),_0x39d153=_0x440576?_0x589941['read'](_0x549636):null;if(_0x440576&&_0x39d153||!t)return _0x39d153;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x549636)+'\x22\x20is\x20not\x20available');},DU=_0x53541c=>({get 'ctx'(){return _0x53541c();},get 'modalManager'(){return $U(_0x53541c(),'*modalManager',!0x1);},get 'pluginManager'(){return $U(_0x53541c(),'*pluginManager');},get 'telemetryManager'(){return $U(_0x53541c(),'*telemetryManager');},get 'localeManager'(){return $U(_0x53541c(),'*localeManager');},get 'a11y'(){return $U(_0x53541c(),'*a11y');},get 'blocksRegistry'(){return $U(_0x53541c(),'*blocksRegistry');},get 'eventEmitter'(){return $U(_0x53541c(),'*eventEmitter');},get 'uploadCollection'(){return $U(_0x53541c(),'*uploadCollection');},get 'secureUploadsManager'(){return $U(_0x53541c(),'*secureUploadsManager',!0x1);},get 'api'(){return $U(_0x53541c(),'*publicApi');},get 'validationManager'(){return $U(_0x53541c(),'*validationManager');},'when'(_0x2a6233,t){let _0x225012,_0x3f7a69=LU[_0x2a6233],_0x3e2f80=_0x53541c(),_0x4a9a9f=_0x3e2f80['has'](_0x3f7a69)?_0x3e2f80['read'](_0x3f7a69):void 0x0;return _0x4a9a9f?(t(_0x4a9a9f),()=>{}):(_0x225012=_0x3e2f80['sub'](_0x3f7a69,_0x5a7ca1=>{_0x5a7ca1&&(t(_0x5a7ca1),_0x225012?.());}),_0x225012);},'wait'(_0x3463f5){return new Promise(t=>{let _0x4c60b2;_0x4c60b2=this['when'](_0x3463f5,_0x5b33a6=>{t(_0x5b33a6),_0x4c60b2?.();});});}}),QU=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),VU=class extends NU{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x3bb92b){this['He']['set'](t,_0x3bb92b),this['q'](QU['ADD'],{'id':t,'modal':_0x3bb92b});}['deleteModal'](t){let _0x18af93=this['He']['get'](t);return!!_0x18af93&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](QU['DELETE'],{'id':t,'modal':_0x18af93}),!0x0);}['open'](t){let _0x28e013=this['He']['get'](t);return _0x28e013?(this['ue']['add'](t),this['q'](QU['OPEN'],{'modal':_0x28e013,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x14b8b6=this['He']['get'](t);return _0x14b8b6&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](QU['CLOSE'],{'id':t,'modal':_0x14b8b6}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1);}['toggle'](t){return this['He']['has'](t)?this['ue']['has'](t)?this['close'](t):this['open'](t):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['ue']['size']>0x0;}['back'](){if(0x0===this['ue']['size'])return this['w']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;let t=Array['from'](this['ue'])['pop']();return!!t&&this['close'](t);}['closeAll'](){let t=this['ue']['size'];return this['ue']['clear'](),this['q'](QU['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x27f3a2){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x27f3a2),()=>this['unsubscribe'](t,_0x27f3a2);}['unsubscribe'](t,_0x2a6184){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x2a6184);}['q'](t,_0x2c422f){if(this['c']['has'](t)){for(let _0x30932f of this['c']['get'](t)??new Set())try{_0x30932f(_0x2c422f);}catch(_0x494d1b){this['i']['telemetryManager']['sendEventError'](_0x494d1b,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x494d1b);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](QU['DESTROY'],{});}},UU=_0x55a08b=>_0x55a08b['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x3b13b2=>_0x3b13b2['toLowerCase']())['join']('-');function BU(_0x1f47a5){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1f47a5);}var jU=/\W|_/g;function FU(_0x3d8c15){return _0x3d8c15['split'](jU)['map']((_0x1498fc,t)=>_0x1498fc['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x1498fc['slice'](0x1))['join']('');}function HU(_0x727874,{ignoreKeys:_0x2a62d3}={'ignoreKeys':[]}){return Array['isArray'](_0x727874)?_0x727874['map'](t=>GU(t,{'ignoreKeys':_0x2a62d3})):_0x727874;}function GU(_0x64b8c3,{ignoreKeys:_0x475824}={'ignoreKeys':[]}){if(Array['isArray'](_0x64b8c3))return HU(_0x64b8c3,{'ignoreKeys':_0x475824});if(!BU(_0x64b8c3))return _0x64b8c3;let t={};for(let _0x573006 of Object['keys'](_0x64b8c3)){let _0x13c84a=_0x64b8c3[_0x573006];_0x475824['includes'](_0x573006)?t[_0x573006]=_0x13c84a:(BU(_0x13c84a)?_0x13c84a=GU(_0x13c84a,{'ignoreKeys':_0x475824}):Array['isArray'](_0x13c84a)&&(_0x13c84a=HU(_0x13c84a,{'ignoreKeys':_0x475824})),t[FU(_0x573006)]=_0x13c84a);}return t;}function ZU({libraryName:_0x42b0db,libraryVersion:_0x5a124c,userAgent:t,publicKey:_0x207d43='',integration:_0x761430=''}){let _0x17af36='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x207d43,'libraryName':_0x42b0db,'libraryVersion':_0x5a124c,'languageName':_0x17af36,'integration':_0x761430}):[_0x42b0db,_0x5a124c,_0x207d43]['filter'](Boolean)['join']('/')+'\x20('+[_0x17af36,_0x761430]['filter'](Boolean)['join'](';\x20')+')';}var XU={'factor':0x2,'time':0x64};function qU(_0x25304c,_0x3579c7=XU){let t=0x0;return function _0x2a61f2(_0x5bb34f){let _0x5db6c1=Math['round'](_0x3579c7['time']*_0x3579c7['factor']**t);return _0x5bb34f({'attempt':t,'retry':_0x3e531b=>(_0x12b273=>new Promise(_0x154f0f=>setTimeout(_0x154f0f,_0x12b273)))(_0x3e531b??_0x5db6c1)['then'](()=>(t+=0x1,_0x2a61f2(_0x5bb34f)))});}(_0x25304c);}var WU=class extends Error{},zU=class o extends WU{['originalProgressEvent'];constructor(_0x4cea15){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,o['prototype']),this['originalProgressEvent']=_0x4cea15;}},YU=(_0x4d556a,_0x68d410)=>{_0x4d556a&&(_0x4d556a['aborted']?Promise['resolve']()['then'](_0x68d410):_0x4d556a['addEventListener']('abort',()=>_0x68d410(),{'once':!0x0}));},KU=class o extends WU{['isCancel']=!0x0;constructor(_0x34a437='Request\x20canceled'){super(_0x34a437),this['name']='CancelError',Object['setPrototypeOf'](this,o['prototype']);}},JU=({check:_0x10322c,interval:_0x366f5a=0x1f4,timeout:t,signal:_0x256f9d})=>new Promise((_0x2b3d95,_0xba6c38)=>{let _0x3813f6,_0x4983bb;YU(_0x256f9d,()=>{_0x3813f6&&clearTimeout(_0x3813f6),_0xba6c38(new KU('Poll\x20cancelled'));}),t&&(_0x4983bb=setTimeout(()=>{_0x3813f6&&clearTimeout(_0x3813f6),_0xba6c38(new KU('Timed\x20out'));},t));let _0x3df63c=()=>{try{Promise['resolve'](_0x10322c(_0x256f9d))['then'](_0x432e96=>{_0x432e96?(_0x4983bb&&clearTimeout(_0x4983bb),_0x2b3d95(_0x432e96)):_0x3813f6=setTimeout(_0x3df63c,_0x366f5a);})['catch'](_0x4cc9b7=>{_0x4983bb&&clearTimeout(_0x4983bb),_0xba6c38(_0x4cc9b7);});}catch(_0x5a1b4a){_0x4983bb&&clearTimeout(_0x4983bb),_0xba6c38(_0x5a1b4a);}};_0x3813f6=setTimeout(_0x3df63c,0x0);}),tB='https://ucarecdn.com',eB='https://upload.uploadcare.com',iB=0x1,sB=0x3,nB=0x1900000,rB=0x500000,oB=0x4,aB='79ae88bd931ea68464d9',cB='application/octet-stream',lB=({method:_0x360d6e,url:_0x52ec0d,data:t,headers:_0x3578c3={},signal:_0x14106a,onProgress:_0x5eedd4})=>new Promise((_0x2d5d1a,_0x209057)=>{let _0x341638=new XMLHttpRequest(),_0x481be4=_0x360d6e?.['toUpperCase']()||'GET',_0xc00a65=!0x1;_0x341638['open'](_0x481be4,_0x52ec0d,!0x0),_0x3578c3&&Object['entries'](_0x3578c3)['forEach'](_0x12ad97=>{let [_0x5b3f8d,_0x17c876]=_0x12ad97;typeof _0x17c876<'u'&&!Array['isArray'](_0x17c876)&&_0x341638['setRequestHeader'](_0x5b3f8d,_0x17c876);}),_0x341638['responseType']='text',YU(_0x14106a,()=>{_0xc00a65=!0x0,_0x341638['abort'](),_0x209057(new KU());}),_0x341638['onload']=()=>{if(0xc8!=_0x341638['status'])_0x209057(new Error('Error\x20'+_0x341638['status']+':\x20'+_0x341638['statusText']));else{let _0x111174={'method':_0x481be4,'url':_0x52ec0d,'data':t,'headers':_0x3578c3||void 0x0,'signal':_0x14106a,'onProgress':_0x5eedd4},_0x38bae4=_0x341638['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x2f9d34={};_0x38bae4['forEach'](function(_0x19e49d){let _0x2c319d=_0x19e49d['split'](':\x20'),_0x4ed6a8=_0x2c319d['shift'](),_0x456c73=_0x2c319d['join'](':\x20');_0x4ed6a8&&typeof _0x4ed6a8<'u'&&(_0x2f9d34[_0x4ed6a8]=_0x456c73);});let _0x51c8e7=_0x341638['response'],_0x5a4fb9=_0x341638['status'];_0x2d5d1a({'request':_0x111174,'data':_0x51c8e7,'headers':_0x2f9d34,'status':_0x5a4fb9});}},_0x341638['onerror']=_0x304a16=>{_0xc00a65||_0x209057(new zU(_0x304a16));},_0x5eedd4&&'function'==typeof _0x5eedd4&&(_0x341638['upload']['onprogress']=_0x2f0160=>{_0x2f0160['lengthComputable']?_0x5eedd4({'isComputable':!0x0,'value':_0x2f0160['loaded']/_0x2f0160['total']}):_0x5eedd4({'isComputable':!0x1});}),t?_0x341638['send'](t):_0x341638['send']();}),hB=function(_0x10f11d,..._0x262e4b){return _0x10f11d;},uB=_0x3a52ca=>typeof Blob<'u'&&_0x3a52ca instanceof Blob,dB=_0x2f0415=>typeof File<'u'&&_0x2f0415 instanceof File,fB=_0x5c856e=>!!_0x5c856e&&'object'==typeof _0x5c856e&&!Array['isArray'](_0x5c856e)&&'uri'in _0x5c856e&&'string'==typeof _0x5c856e['uri'],mB=_0x2d0036=>uB(_0x2d0036)||dB(_0x2d0036)||fB(_0x2d0036);function gB(_0x232fa2,_0x331b4b,t){if(Array['isArray'](t)){for(let _0x2ea370 of t)gB(_0x232fa2,_0x331b4b+'[]',_0x2ea370);}else{if((_0x3edd6e=>!!_0x3edd6e&&'object'==typeof _0x3edd6e&&'data'in _0x3edd6e&&mB(_0x3edd6e['data']))(t)){let {name:_0x58a31d,contentType:_0x9e5e94}=t,_0x56040e=hB(t['data'],_0x58a31d,_0x9e5e94??cB),_0x1f06d4=(({name:_0x26824a})=>_0x26824a?[_0x26824a]:[])({'name':_0x58a31d});_0x232fa2['push']([_0x331b4b,_0x56040e,..._0x1f06d4]);}else{if((_0x5315c5=>!!_0x5315c5&&'object'==typeof _0x5315c5&&!Array['isArray'](_0x5315c5))(t)){for(let [_0x5739d1,_0x59901e]of Object['entries'](t))typeof _0x59901e<'u'&&_0x232fa2['push']([_0x331b4b+'['+_0x5739d1+']',String(_0x59901e)]);}else(_0x3b4f9f=>'string'==typeof _0x3b4f9f||'number'==typeof _0x3b4f9f||typeof _0x3b4f9f>'u')(t)&&t&&_0x232fa2['push']([_0x331b4b,t['toString']()]);}}}function pB(_0x133389){let _0x338ef2=new FormData(),t=function(_0x33c6ca){let _0x5b8487=[];for(let [t,_0x35f08c]of Object['entries'](_0x33c6ca))gB(_0x5b8487,t,_0x35f08c);return _0x5b8487;}(_0x133389);for(let _0x3f5a70 of t){let [_0x41c451,_0xf43b92,..._0x321764]=_0x3f5a70;_0x338ef2['append'](_0x41c451,_0xf43b92,..._0x321764);}return _0x338ef2;}var OB=class o extends WU{['code'];['request'];['response'];['headers'];constructor(_0x54b0b1,t,_0x16e10d,_0x5981e9,_0x3d88e2){super(),this['name']='UploadError',this['message']=_0x54b0b1,this['code']=t,this['request']=_0x16e10d,this['response']=_0x5981e9,this['headers']=_0x3d88e2,Object['setPrototypeOf'](this,o['prototype']);}},wB=(_0x3f55a3,_0x16ea35,t)=>{let _0x554227=new URL(_0x3f55a3);return _0x554227['pathname']=(_0x554227['pathname']+_0x16ea35)['replace']('//','/'),t&&(_0x554227['search']=(_0x9fd122=>{let _0x3e6175=new URLSearchParams();for(let [t,_0x425bd0]of Object['entries'](_0x9fd122))_0x425bd0&&'object'==typeof _0x425bd0&&!Array['isArray'](_0x425bd0)?Object['entries'](_0x425bd0)['filter'](_0x59314a=>_0x59314a[0x1]??!0x1)['forEach'](_0x1e53c7=>_0x3e6175['set'](t+'['+_0x1e53c7[0x0]+']',String(_0x1e53c7[0x1]))):Array['isArray'](_0x425bd0)?_0x425bd0['forEach'](_0x21cc05=>{_0x3e6175['append'](t+'[]',_0x21cc05);}):'string'==typeof _0x425bd0&&_0x425bd0?_0x3e6175['set'](t,_0x425bd0):'number'==typeof _0x425bd0&&_0x3e6175['set'](t,_0x425bd0['toString']());return _0x3e6175['toString']();})(t)),_0x554227['toString']();};function bB(_0x17a29c){return ZU({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x17a29c});}function yB(_0x38203d,_0x5b8b19){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x521b87}=_0x5b8b19;return qU(({attempt:_0x2dc0ce,retry:_0x3667df})=>_0x38203d()['catch'](_0x43b356=>{if('response'in _0x43b356&&'RequestThrottledError'===_0x43b356?.['code']&&_0x2dc0ce<t)return _0x3667df(function(_0x14463c){let {headers:_0x230e23}=_0x14463c||{};if(!_0x230e23||'string'!=typeof _0x230e23['retry-after'])return 0x3a98;let t=parseInt(_0x230e23['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x43b356));if(_0x43b356 instanceof zU&&_0x2dc0ce<_0x521b87)return _0x3667df(0x3e8*(_0x2dc0ce+0x1));throw _0x43b356;}));}var vB,_B,EB=_0xc6a460=>{let _0x2371bb='';return(uB(_0xc6a460)||dB(_0xc6a460)||fB(_0xc6a460))&&(_0x2371bb=_0xc6a460['type']),_0x2371bb||cB;},TB=_0x332240=>{let _0xd86d28='';return dB(_0x332240)&&_0x332240['name']?_0xd86d28=_0x332240['name']:uB(_0x332240)?_0xd86d28='':fB(_0x332240)&&_0x332240['name']&&(_0xd86d28=_0x332240['name']),_0xd86d28||'original';};function AB(_0x3b7fd5){return typeof _0x3b7fd5>'u'||'auto'===_0x3b7fd5?'auto':_0x3b7fd5?'1':'0';}!function(_0x3e97c6){_0x3e97c6['Token']='token',_0x3e97c6['FileInfo']='file_info';}(vB||(vB={})),function(_0x5c7692){_0x5c7692['Unknown']='unknown',_0x5c7692['Waiting']='waiting',_0x5c7692['Progress']='progress',_0x5c7692['Error']='error',_0x5c7692['Success']='success';}(_B||(_B={}));function SB(_0x5efbbc,{publicKey:_0x4b8953,baseURL:t=eB,signal:_0x18c82c,integration:_0x483d7b,userAgent:_0x2a7857,retryThrottledRequestMaxTimes:_0x46c89f=iB,retryNetworkErrorMaxTimes:_0x1755fb=sB}={}){return yB(()=>lB({'method':'GET','headers':_0x4b8953?{'X-UC-User-Agent':bB({'publicKey':_0x4b8953,'integration':_0x483d7b,'userAgent':_0x2a7857})}:void 0x0,'url':wB(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x5efbbc}),'signal':_0x18c82c})['then'](({data:_0xd25d8e,headers:_0x27066c,request:_0x383a25})=>{let _0x5d3c35=GU(JSON['parse'](_0xd25d8e));if('error'in _0x5d3c35&&!(_0x1ebb22=>'status'in _0x1ebb22&&_0x1ebb22['status']===_B['Error'])(_0x5d3c35))throw new OB(_0x5d3c35['error']['content'],_0x5d3c35['error']['errorCode'],_0x383a25,_0x5d3c35,_0x27066c);return _0x5d3c35;}),{'retryNetworkErrorMaxTimes':_0x1755fb,'retryThrottledRequestMaxTimes':_0x46c89f});}function IB(_0x3afddf,{publicKey:_0xf40f8c,baseURL:t=eB,signal:_0x3bef15,source:_0x1f56e7,integration:_0x25bc85,userAgent:_0x1ce5a1,retryThrottledRequestMaxTimes:_0x327415=iB,retryNetworkErrorMaxTimes:_0x5a5cb4=sB}){return yB(()=>lB({'method':'GET','headers':{'X-UC-User-Agent':bB({'publicKey':_0xf40f8c,'integration':_0x25bc85,'userAgent':_0x1ce5a1})},'url':wB(t,'/info/',{'jsonerrors':0x1,'pub_key':_0xf40f8c,'file_id':_0x3afddf,'source':_0x1f56e7}),'signal':_0x3bef15})['then'](({data:_0x288c4c,headers:_0x4e5de1,request:_0x3dc55d})=>{let _0x12d66d=GU(JSON['parse'](_0x288c4c));if('error'in _0x12d66d)throw new OB(_0x12d66d['error']['content'],_0x12d66d['error']['errorCode'],_0x3dc55d,_0x12d66d,_0x4e5de1);return _0x12d66d;}),{'retryThrottledRequestMaxTimes':_0x327415,'retryNetworkErrorMaxTimes':_0x5a5cb4});}function CB(_0x10c12b,{publicKey:_0x36e144,baseURL:t,source:_0x3a818a,integration:_0x2aa071,userAgent:_0x1481d5,retryThrottledRequestMaxTimes:_0x10af1d,retryNetworkErrorMaxTimes:_0x1eef87,signal:_0x29e2a6,onProgress:_0x3ab881}){return JU({'check':_0x1a2042=>IB(_0x10c12b,{'publicKey':_0x36e144,'baseURL':t,'signal':_0x1a2042,'source':_0x3a818a,'integration':_0x2aa071,'userAgent':_0x1481d5,'retryThrottledRequestMaxTimes':_0x10af1d,'retryNetworkErrorMaxTimes':_0x1eef87})['then'](_0x3aad32=>_0x3aad32['isReady']?_0x3aad32:(_0x3ab881&&_0x3ab881({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x29e2a6});}var kB=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x3f54ad,{baseCDN:t=tB,fileName:_0x52388f}={}){let {uuid:_0x435b32,s3Bucket:_0x213e16}=_0x3f54ad,_0x276bcd=wB(t,_0x435b32+'/'),_0x5b6d0f=_0x213e16?wB('https://'+_0x213e16+'.s3.amazonaws.com/',_0x435b32+'/'+_0x3f54ad['filename']):null;this['uuid']=_0x435b32,this['name']=_0x52388f||_0x3f54ad['filename'],this['size']=_0x3f54ad['size'],this['isStored']=_0x3f54ad['isStored'],this['isImage']=_0x3f54ad['isImage'],this['mimeType']=_0x3f54ad['mimeType'],this['cdnUrl']=_0x276bcd,this['originalFilename']=_0x3f54ad['originalFilename'],this['imageInfo']=_0x3f54ad['imageInfo'],this['videoInfo']=_0x3f54ad['videoInfo'],this['contentInfo']=_0x3f54ad['contentInfo'],this['metadata']=_0x3f54ad['metadata']||null,this['s3Bucket']=_0x213e16||null,this['s3Url']=_0x5b6d0f,function(_0x4424f4){return'defaultEffects'in _0x4424f4;}(_0x3f54ad)&&(this['defaultEffects']=_0x3f54ad['defaultEffects']);}},xB=(_0x5d0498,{publicKey:_0x52f941,fileName:t,baseURL:_0x394768,secureSignature:_0x48074b,secureExpire:_0xdd93fd,store:_0x407bf9,contentType:_0xa678a9,signal:_0x334344,onProgress:_0x5c785b,source:_0x223988,integration:_0x5ff3b5,userAgent:_0x20e536,retryThrottledRequestMaxTimes:_0x5c4194,retryNetworkErrorMaxTimes:_0x289d0f,baseCDN:_0x5ec3be,metadata:_0x9548ff})=>function(_0x27ac2d,{publicKey:_0x6429d1,fileName:t,contentType:_0x55e401,baseURL:_0x18db1c=eB,secureSignature:_0x237c1e,secureExpire:_0x38af62,store:_0x434f11,signal:_0x268399,onProgress:_0xdeb1a6,source:_0x1a0af8='local',integration:_0x1e4088,userAgent:_0x5211fc,retryThrottledRequestMaxTimes:_0x388955=iB,retryNetworkErrorMaxTimes:_0x22b806=sB,metadata:_0x94c55b}){return yB(()=>lB({'method':'POST','url':wB(_0x18db1c,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':bB({'publicKey':_0x6429d1,'integration':_0x1e4088,'userAgent':_0x5211fc})},'data':pB({'file':{'data':_0x27ac2d,'name':t||TB(_0x27ac2d),'contentType':_0x55e401||EB(_0x27ac2d)},'UPLOADCARE_PUB_KEY':_0x6429d1,'UPLOADCARE_STORE':AB(_0x434f11),'signature':_0x237c1e,'expire':_0x38af62,'source':_0x1a0af8,'metadata':_0x94c55b}),'signal':_0x268399,'onProgress':_0xdeb1a6})['then'](({data:_0x5bf3a2,headers:_0x2dfd14,request:_0xa4beaf})=>{let _0x445fe2=GU(JSON['parse'](_0x5bf3a2));if('error'in _0x445fe2)throw new OB(_0x445fe2['error']['content'],_0x445fe2['error']['errorCode'],_0xa4beaf,_0x445fe2,_0x2dfd14);return _0x445fe2;}),{'retryNetworkErrorMaxTimes':_0x22b806,'retryThrottledRequestMaxTimes':_0x388955});}(_0x5d0498,{'publicKey':_0x52f941,'fileName':t,'contentType':_0xa678a9,'baseURL':_0x394768,'secureSignature':_0x48074b,'secureExpire':_0xdd93fd,'store':_0x407bf9,'signal':_0x334344,'onProgress':_0x5c785b,'source':_0x223988,'integration':_0x5ff3b5,'userAgent':_0x20e536,'retryThrottledRequestMaxTimes':_0x5c4194,'retryNetworkErrorMaxTimes':_0x289d0f,'metadata':_0x9548ff})['then'](({file:_0x19e89a})=>CB(_0x19e89a,{'publicKey':_0x52f941,'baseURL':_0x394768,'source':_0x223988,'integration':_0x5ff3b5,'userAgent':_0x20e536,'retryThrottledRequestMaxTimes':_0x5c4194,'retryNetworkErrorMaxTimes':_0x289d0f,'onProgress':_0x5c785b,'signal':_0x334344}))['then'](_0x24ae1a=>new kB(_0x24ae1a,{'baseCDN':_0x5ec3be})),RB=(_0x35090e,{signal:_0x3dca2b}={})=>{let t=null,_0xda78b5=null,_0x219971=_0x35090e['map'](()=>new AbortController());return YU(_0x3dca2b,()=>{_0x219971['forEach'](_0x9a1c71=>_0x9a1c71['abort']());}),Promise['all'](_0x35090e['map']((_0x3d21c1,_0x1112b9)=>{let _0x561306=(_0x489465=>()=>{_0xda78b5=_0x489465,_0x219971['forEach']((_0x409167,_0x144f45)=>_0x144f45!==_0x489465&&_0x409167['abort']());})(_0x1112b9);return Promise['resolve']()['then'](()=>_0x3d21c1({'stopRace':_0x561306,'signal':_0x219971[_0x1112b9]['signal']}))['then'](_0x7f453e=>(_0x561306(),_0x7f453e))['catch'](_0x4493da=>(t=_0x4493da,null));}))['then'](_0x11c9e2=>{if(null===_0xda78b5)throw t;return _0x11c9e2[_0xda78b5];});},PB=window['WebSocket'],MB=class{['events']=Object['create']({});['emit'](_0x42b9bc,t){this['events'][_0x42b9bc]?.['forEach'](_0x39b75c=>_0x39b75c(t));}['on'](_0x19306e,t){this['events'][_0x19306e]=this['events'][_0x19306e]||[],this['events'][_0x19306e]['push'](t);}['off'](_0x360df2,t){this['events'][_0x360df2]=t?this['events'][_0x360df2]['filter'](_0x227911=>_0x227911!==t):[];}},NB=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new MB();['disconnectTimeoutId']=null;constructor(_0x555d2f,t=0x7530){this['key']=_0x555d2f,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x3e263c='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new PB(_0x3e263c),this['ws']['addEventListener']('error',t=>{this['emmitter']['emit']('error',new Error(t['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](t=>this['send'](t['event'],t['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',t=>{let _0x347944=JSON['parse'](t['data']['toString']());switch(_0x347944['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'](_0x347944['channel'],((_0x75be54,_0x5d2141)=>'success'===_0x75be54?{'status':_B['Success'],..._0x5d2141}:'progress'===_0x75be54?{'status':_B['Progress'],..._0x5d2141}:{'status':_B['Error'],..._0x5d2141})(_0x347944['event'],JSON['parse'](_0x347944['data'])));}});}}['disconnect'](){let _0x14c89a=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x14c89a();},this['disconnectTime']):_0x14c89a();}['send'](_0xc3b191,t){let _0x3d4988=JSON['stringify']({'event':_0xc3b191,'data':t});this['ws']?.['send'](_0x3d4988);}['subscribe'](_0x364548,t){this['subscribers']+=0x1,this['connect']();let _0x16e479='task-status-'+_0x364548,_0x284bdd={'event':'pusher:subscribe','data':{'channel':_0x16e479}};this['emmitter']['on'](_0x16e479,t),this['isConnected']?this['send'](_0x284bdd['event'],_0x284bdd['data']):this['queue']['push'](_0x284bdd);}['unsubscribe'](_0x3b5f08){this['subscribers']-=0x1;let t='task-status-'+_0x3b5f08,_0xf76958={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0xf76958['event'],_0xf76958['data']):this['queue']=this['queue']['filter'](_0x33c348=>_0x33c348['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x916716){return this['emmitter']['on']('error',_0x916716),()=>this['emmitter']['off']('error',_0x916716);}},LB=null,$B=_0xd7eeba=>{if(!LB){let _0x4dc509=typeof window>'u'?0x0:0x7530;LB=new NB(_0xd7eeba,_0x4dc509);}return LB;},DB=(_0x1da82f,{publicKey:_0x1a8043,fileName:t,baseURL:_0x988f5b,baseCDN:_0x31595d,checkForUrlDuplicates:_0x58733d,saveUrlForRecurrentUploads:_0x522db1,secureSignature:_0x23c425,secureExpire:_0x3b803a,store:_0x535619,signal:_0x290573,onProgress:_0x2e95c7,source:_0x1814ec,integration:_0x475cda,userAgent:_0x2634e8,retryThrottledRequestMaxTimes:_0x47a54d,pusherKey:_0x1ae9c8=aB,metadata:_0x4805cb})=>Promise['resolve']((_0x37cac3=>{$B(_0x37cac3)['connect']();})(_0x1ae9c8))['then'](()=>function(_0x2f2d84,{publicKey:_0xcbf1c7,baseURL:t=eB,store:_0x5889f4,fileName:_0x3e4662,checkForUrlDuplicates:_0xe961b3,saveUrlForRecurrentUploads:_0x245b4b,secureSignature:_0x43ba6f,secureExpire:_0x258230,source:_0x43a5d5='url',signal:_0x1171e2,integration:_0x42230e,userAgent:_0x54018a,retryThrottledRequestMaxTimes:_0x1eb652=iB,retryNetworkErrorMaxTimes:_0x599b0f=sB,metadata:_0x2ae3bf}){return yB(()=>lB({'method':'POST','headers':{'X-UC-User-Agent':bB({'publicKey':_0xcbf1c7,'integration':_0x42230e,'userAgent':_0x54018a})},'url':wB(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0xcbf1c7,'source_url':_0x2f2d84,'store':AB(_0x5889f4),'filename':_0x3e4662,'check_URL_duplicates':_0xe961b3?0x1:void 0x0,'save_URL_duplicates':_0x245b4b?0x1:void 0x0,'signature':_0x43ba6f,'expire':_0x258230,'source':_0x43a5d5,'metadata':_0x2ae3bf}),'signal':_0x1171e2})['then'](({data:_0x2a512f,headers:_0x112969,request:_0x19285a})=>{let _0xe7cdca=GU(JSON['parse'](_0x2a512f));if('error'in _0xe7cdca)throw new OB(_0xe7cdca['error']['content'],_0xe7cdca['error']['errorCode'],_0x19285a,_0xe7cdca,_0x112969);return _0xe7cdca;}),{'retryNetworkErrorMaxTimes':_0x599b0f,'retryThrottledRequestMaxTimes':_0x1eb652});}(_0x1da82f,{'publicKey':_0x1a8043,'fileName':t,'baseURL':_0x988f5b,'checkForUrlDuplicates':_0x58733d,'saveUrlForRecurrentUploads':_0x522db1,'secureSignature':_0x23c425,'secureExpire':_0x3b803a,'store':_0x535619,'signal':_0x290573,'source':_0x1814ec,'integration':_0x475cda,'userAgent':_0x2634e8,'retryThrottledRequestMaxTimes':_0x47a54d,'metadata':_0x4805cb}))['catch'](_0x1cadab=>($B(_0x1ae9c8)?.['disconnect'](),Promise['reject'](_0x1cadab)))['then'](_0x1a1f3e=>_0x1a1f3e['type']===vB['FileInfo']?_0x1a1f3e:RB([({signal:_0x10dab2})=>function({token:_0x342206,publicKey:_0x2b3190,baseURL:t,integration:_0x5dd6c5,userAgent:_0x5aaacf,retryThrottledRequestMaxTimes:_0x5a8271,retryNetworkErrorMaxTimes:_0x2dad58,onProgress:_0xad364d,signal:_0x129670}){return JU({'check':_0x2c0e46=>SB(_0x342206,{'publicKey':_0x2b3190,'baseURL':t,'integration':_0x5dd6c5,'userAgent':_0x5aaacf,'retryThrottledRequestMaxTimes':_0x5a8271,'retryNetworkErrorMaxTimes':_0x2dad58,'signal':_0x2c0e46})['then'](_0x4815ae=>{switch(_0x4815ae['status']){case _B['Error']:return new OB(_0x4815ae['error'],_0x4815ae['errorCode']);case _B['Waiting']:return!0x1;case _B['Unknown']:return new OB('Token\x20\x22'+_0x342206+'\x22\x20was\x20not\x20found.');case _B['Progress']:return _0xad364d&&('unknown'===_0x4815ae['total']?_0xad364d({'isComputable':!0x1}):_0xad364d({'isComputable':!0x0,'value':_0x4815ae['done']/_0x4815ae['total']})),!0x1;case _B['Success']:return _0xad364d&&_0xad364d({'isComputable':!0x0,'value':_0x4815ae['done']/_0x4815ae['total']}),_0x4815ae;default:throw new Error('Unknown\x20status');}}),'signal':_0x129670});}({'token':_0x1a1f3e['token'],'publicKey':_0x1a8043,'baseURL':_0x988f5b,'integration':_0x475cda,'userAgent':_0x2634e8,'retryThrottledRequestMaxTimes':_0x47a54d,'onProgress':_0x2e95c7,'signal':_0x10dab2}),({signal:_0x18dcdd})=>(({token:_0x19e7a4,pusherKey:_0x3fe640,signal:t,onProgress:_0x3a631e})=>new Promise((_0x113c94,_0x221bb4)=>{let _0x311c3f=$B(_0x3fe640),_0xdc5049=_0x311c3f['onError'](_0x221bb4),_0x79f5c=()=>{_0xdc5049(),_0x311c3f['unsubscribe'](_0x19e7a4);};YU(t,()=>{_0x79f5c(),_0x221bb4(new KU('pusher\x20cancelled'));}),_0x311c3f['subscribe'](_0x19e7a4,_0x511ca5=>{switch(_0x511ca5['status']){case _B['Progress']:_0x3a631e&&('unknown'===_0x511ca5['total']?_0x3a631e({'isComputable':!0x1}):_0x3a631e({'isComputable':!0x0,'value':_0x511ca5['done']/_0x511ca5['total']}));break;case _B['Success']:_0x79f5c(),_0x3a631e&&_0x3a631e({'isComputable':!0x0,'value':_0x511ca5['done']/_0x511ca5['total']}),_0x113c94(_0x511ca5);break;case _B['Error']:_0x79f5c(),_0x221bb4(new OB(_0x511ca5['msg'],_0x511ca5['error_code']));}});}))({'token':_0x1a1f3e['token'],'pusherKey':_0x1ae9c8,'signal':_0x18dcdd,'onProgress':_0x2e95c7})],{'signal':_0x290573}))['then'](_0x24ac2d=>{if(_0x24ac2d instanceof OB)throw _0x24ac2d;return _0x24ac2d;})['then'](_0x2753fa=>CB(_0x2753fa['uuid'],{'publicKey':_0x1a8043,'baseURL':_0x988f5b,'integration':_0x475cda,'userAgent':_0x2634e8,'retryThrottledRequestMaxTimes':_0x47a54d,'onProgress':_0x2e95c7,'signal':_0x290573}))['then'](_0x5e50e2=>new kB(_0x5e50e2,{'baseCDN':_0x31595d})),QB=new WeakMap(),VB=async _0x317d6d=>{if(dB(_0x317d6d)||uB(_0x317d6d))return _0x317d6d['size'];if(fB(_0x317d6d))return(await(async _0xf10683=>{if(QB['has'](_0xf10683))return QB['get'](_0xf10683);let _0x1f03ea=await fetch(_0xf10683['uri'])['then'](t=>t['blob']());return QB['set'](_0xf10683,_0x1f03ea),_0x1f03ea;})(_0x317d6d))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},UB=_0x31ea42=>{let t=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!mB(_0x31ea42)&&t['test'](_0x31ea42);},BB=_0x47c9ec=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!mB(_0x47c9ec)&&t['test'](_0x47c9ec);},jB=(_0x3b6653,_0x360641)=>new Promise((t,_0x2149e2)=>{let _0x24045a=[],_0x5cf033=!0x1,_0x38c1d7=_0x360641['length'],_0x5de1cb=[..._0x360641],_0x27adac=()=>{let _0x3f8d1e=_0x360641['length']-_0x5de1cb['length'],_0x89f382=_0x5de1cb['shift']();_0x89f382&&_0x89f382()['then'](_0x1982a9=>{_0x5cf033||(_0x24045a[_0x3f8d1e]=_0x1982a9,_0x38c1d7-=0x1,_0x38c1d7?_0x27adac():t(_0x24045a));})['catch'](_0x41f62e=>{_0x5cf033=!0x0,_0x2149e2(_0x41f62e);});};for(let _0x41b109=0x0;_0x41b109<_0x3b6653;_0x41b109++)_0x27adac();}),FB=async(_0x503315,_0x1a621b,t)=>_0x419208=>((_0x71f9ac,_0x132062,t,_0x25fa8a)=>{let _0x140707=_0x25fa8a*_0x132062,_0x1508a2=Math['min'](_0x140707+_0x25fa8a,t);return _0x71f9ac['slice'](_0x140707,_0x1508a2);})(_0x503315,_0x419208,_0x1a621b,t),HB=(_0x4e88e8,_0x3e2d67,{publicKey:t,contentType:_0x12d525,onProgress:_0x2aad8a,signal:_0x3cf510,integration:_0x5971fd,retryThrottledRequestMaxTimes:_0x1e7f34,retryNetworkErrorMaxTimes:_0x4686b4})=>function(_0x2e0b48,_0x1d1a25,{contentType:t,signal:_0x43645c,onProgress:_0x34243a,retryThrottledRequestMaxTimes:_0x415d2b=iB,retryNetworkErrorMaxTimes:_0x3c7854=sB}){return yB(()=>lB({'method':'PUT','url':_0x1d1a25,'data':_0x2e0b48,'onProgress':_0x34243a,'signal':_0x43645c,'headers':{'Content-Type':t||cB}})['then'](_0x24033c=>(_0x34243a&&_0x34243a({'isComputable':!0x0,'value':0x1}),_0x24033c))['then'](({status:_0x27bfe4})=>({'code':_0x27bfe4})),{'retryThrottledRequestMaxTimes':_0x415d2b,'retryNetworkErrorMaxTimes':_0x3c7854});}(_0x4e88e8,_0x3e2d67,{'contentType':_0x12d525,'onProgress':_0x2aad8a,'signal':_0x3cf510,'retryThrottledRequestMaxTimes':_0x1e7f34,'retryNetworkErrorMaxTimes':_0x4686b4}),GB=async(_0x3a6c3f,{publicKey:_0x514a8d,fileName:t,fileSize:_0x38faf9,baseURL:_0xb91a01,secureSignature:_0x31ee4f,secureExpire:_0x15a614,store:_0x437bc9,signal:_0x5a75d8,onProgress:_0x36cced,source:_0x2c5ff2,integration:_0x280676,userAgent:_0x160d99,retryThrottledRequestMaxTimes:_0x3c41b1,retryNetworkErrorMaxTimes:_0x2ba7ea,contentType:_0x48e8c7,multipartChunkSize:_0x5c4024=rB,maxConcurrentRequests:_0x304770=oB,baseCDN:_0x24f6f9,metadata:_0x405a5f})=>{let _0x38d80d,_0xe1f062=_0x38faf9??await VB(_0x3a6c3f),_0x186667=(_0x1e8d84,_0x124f53)=>{if(!_0x36cced)return;_0x38d80d||(_0x38d80d=Array(_0x1e8d84)['fill'](0x0));let _0x2f2a1a=_0x1cc435=>_0x1cc435['reduce']((_0xcc35c9,_0x2100d1)=>_0xcc35c9+_0x2100d1,0x0);return _0x5299d4=>{_0x5299d4['isComputable']&&(_0x38d80d[_0x124f53]=_0x5299d4['value'],_0x36cced({'isComputable':!0x0,'value':_0x2f2a1a(_0x38d80d)/_0x1e8d84}));};};return _0x48e8c7||=EB(_0x3a6c3f),function(_0x4ae909,{publicKey:_0xac5545,contentType:t,fileName:_0x47520e,multipartChunkSize:_0x589dfe=rB,baseURL:_0x2f8c94='',secureSignature:_0x4d0dbc,secureExpire:_0x1370cc,store:_0x5d21b7,signal:_0x50bc76,source:_0x1f9ac5='local',integration:_0x293390,userAgent:_0x89df,retryThrottledRequestMaxTimes:_0x104760=iB,retryNetworkErrorMaxTimes:_0x4eae6b=sB,metadata:_0x67ef27}){return yB(()=>lB({'method':'POST','url':wB(_0x2f8c94,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':bB({'publicKey':_0xac5545,'integration':_0x293390,'userAgent':_0x89df})},'data':pB({'filename':_0x47520e,'size':_0x4ae909,'content_type':t||cB,'part_size':_0x589dfe,'UPLOADCARE_STORE':AB(_0x5d21b7),'UPLOADCARE_PUB_KEY':_0xac5545,'signature':_0x4d0dbc,'expire':_0x1370cc,'source':_0x1f9ac5,'metadata':_0x67ef27}),'signal':_0x50bc76})['then'](({data:_0x35e58b,headers:_0x2e3c9b,request:_0x2e6e79})=>{let _0x14d99f=GU(JSON['parse'](_0x35e58b));if('error'in _0x14d99f)throw new OB(_0x14d99f['error']['content'],_0x14d99f['error']['errorCode'],_0x2e6e79,_0x14d99f,_0x2e3c9b);return _0x14d99f['parts']=Object['keys'](_0x14d99f['parts'])['map'](_0x33bc33=>_0x14d99f['parts'][Number(_0x33bc33)]),_0x14d99f;}),{'retryThrottledRequestMaxTimes':_0x104760,'retryNetworkErrorMaxTimes':_0x4eae6b});}(_0xe1f062,{'publicKey':_0x514a8d,'contentType':_0x48e8c7,'fileName':t||TB(_0x3a6c3f),'baseURL':_0xb91a01,'secureSignature':_0x31ee4f,'secureExpire':_0x15a614,'store':_0x437bc9,'signal':_0x5a75d8,'source':_0x2c5ff2,'integration':_0x280676,'userAgent':_0x160d99,'retryThrottledRequestMaxTimes':_0x3c41b1,'retryNetworkErrorMaxTimes':_0x2ba7ea,'metadata':_0x405a5f,'multipartChunkSize':_0x5c4024})['then'](async({uuid:_0x49e048,parts:_0x242b69})=>{let _0xa5d410=await FB(_0x3a6c3f,_0xe1f062,_0x5c4024);return Promise['all']([_0x49e048,jB(_0x304770,_0x242b69['map']((_0x126cd7,_0x3e7d2c)=>()=>HB(_0xa5d410(_0x3e7d2c),_0x126cd7,{'publicKey':_0x514a8d,'contentType':_0x48e8c7,'onProgress':_0x186667(_0x242b69['length'],_0x3e7d2c),'signal':_0x5a75d8,'integration':_0x280676,'retryThrottledRequestMaxTimes':_0x3c41b1,'retryNetworkErrorMaxTimes':_0x2ba7ea})))]);})['then'](([_0x44046c])=>function(_0x48d724,{publicKey:_0x49c791,baseURL:t=eB,source:_0x2ae131='local',signal:_0x19090b,integration:_0x3ca5d3,userAgent:_0x2db406,retryThrottledRequestMaxTimes:_0x2e56f7=iB,retryNetworkErrorMaxTimes:_0x561cf0=sB}){return yB(()=>lB({'method':'POST','url':wB(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':bB({'publicKey':_0x49c791,'integration':_0x3ca5d3,'userAgent':_0x2db406})},'data':pB({'uuid':_0x48d724,'UPLOADCARE_PUB_KEY':_0x49c791,'source':_0x2ae131}),'signal':_0x19090b})['then'](({data:_0x2b130f,headers:_0x1f99b5,request:_0x35f1f6})=>{let _0x3491c7=GU(JSON['parse'](_0x2b130f));if('error'in _0x3491c7)throw new OB(_0x3491c7['error']['content'],_0x3491c7['error']['errorCode'],_0x35f1f6,_0x3491c7,_0x1f99b5);return _0x3491c7;}),{'retryThrottledRequestMaxTimes':_0x2e56f7,'retryNetworkErrorMaxTimes':_0x561cf0});}(_0x44046c,{'publicKey':_0x514a8d,'baseURL':_0xb91a01,'source':_0x2c5ff2,'integration':_0x280676,'userAgent':_0x160d99,'retryThrottledRequestMaxTimes':_0x3c41b1,'retryNetworkErrorMaxTimes':_0x2ba7ea}))['then'](_0x3fe9dc=>_0x3fe9dc['isReady']?_0x3fe9dc:CB(_0x3fe9dc['uuid'],{'publicKey':_0x514a8d,'baseURL':_0xb91a01,'source':_0x2c5ff2,'integration':_0x280676,'userAgent':_0x160d99,'retryThrottledRequestMaxTimes':_0x3c41b1,'retryNetworkErrorMaxTimes':_0x2ba7ea,'onProgress':_0x36cced,'signal':_0x5a75d8}))['then'](_0x563d44=>new kB(_0x563d44,{'baseCDN':_0x24f6f9}));};async function ZB(_0x31ee17,{publicKey:_0xe30a42,fileName:t,baseURL:_0x293188=eB,secureSignature:_0x49d198,secureExpire:_0x1788cc,store:_0x5440ce,signal:_0x2c5d22,onProgress:_0x45d35b,source:_0x256578,integration:_0x2b813d,userAgent:_0x368850,retryThrottledRequestMaxTimes:_0x40d7f9,retryNetworkErrorMaxTimes:_0x332abf,contentType:_0x1e9c14,multipartMinFileSize:_0xe5dbc2,multipartChunkSize:_0x66971f,maxConcurrentRequests:_0x3ea257,baseCDN:_0x3fd0f0=tB,checkForUrlDuplicates:_0x1d4e16,saveUrlForRecurrentUploads:_0x57678e,pusherKey:_0x18dc9d,metadata:_0x275e4c}){if(mB(_0x31ee17)){let _0x2e4ea5=await VB(_0x31ee17);return((_0xb80161,_0x403afe=nB)=>_0xb80161>=_0x403afe)(_0x2e4ea5,_0xe5dbc2)?GB(_0x31ee17,{'publicKey':_0xe30a42,'contentType':_0x1e9c14,'multipartChunkSize':_0x66971f,'fileSize':_0x2e4ea5,'fileName':t,'baseURL':_0x293188,'secureSignature':_0x49d198,'secureExpire':_0x1788cc,'store':_0x5440ce,'signal':_0x2c5d22,'onProgress':_0x45d35b,'source':_0x256578,'integration':_0x2b813d,'userAgent':_0x368850,'maxConcurrentRequests':_0x3ea257,'retryThrottledRequestMaxTimes':_0x40d7f9,'retryNetworkErrorMaxTimes':_0x332abf,'baseCDN':_0x3fd0f0,'metadata':_0x275e4c}):xB(_0x31ee17,{'publicKey':_0xe30a42,'fileName':t,'contentType':_0x1e9c14,'baseURL':_0x293188,'secureSignature':_0x49d198,'secureExpire':_0x1788cc,'store':_0x5440ce,'signal':_0x2c5d22,'onProgress':_0x45d35b,'source':_0x256578,'integration':_0x2b813d,'userAgent':_0x368850,'retryThrottledRequestMaxTimes':_0x40d7f9,'retryNetworkErrorMaxTimes':_0x332abf,'baseCDN':_0x3fd0f0,'metadata':_0x275e4c});}if(BB(_0x31ee17))return DB(_0x31ee17,{'publicKey':_0xe30a42,'fileName':t,'baseURL':_0x293188,'baseCDN':_0x3fd0f0,'checkForUrlDuplicates':_0x1d4e16,'saveUrlForRecurrentUploads':_0x57678e,'secureSignature':_0x49d198,'secureExpire':_0x1788cc,'store':_0x5440ce,'signal':_0x2c5d22,'onProgress':_0x45d35b,'source':_0x256578,'integration':_0x2b813d,'userAgent':_0x368850,'retryThrottledRequestMaxTimes':_0x40d7f9,'pusherKey':_0x18dc9d,'metadata':_0x275e4c});if(UB(_0x31ee17))return((_0x18df08,{publicKey:_0x44beeb,fileName:t,baseURL:_0x4cceaa,signal:_0x15a0ab,onProgress:_0xff075a,source:_0xe2930d,integration:_0x5ab665,userAgent:_0x41b9cd,retryThrottledRequestMaxTimes:_0x536587,retryNetworkErrorMaxTimes:_0xbe2bad,baseCDN:_0x7a55f})=>IB(_0x18df08,{'publicKey':_0x44beeb,'baseURL':_0x4cceaa,'signal':_0x15a0ab,'source':_0xe2930d,'integration':_0x5ab665,'userAgent':_0x41b9cd,'retryThrottledRequestMaxTimes':_0x536587,'retryNetworkErrorMaxTimes':_0xbe2bad})['then'](_0x59d024=>new kB(_0x59d024,{'baseCDN':_0x7a55f,'fileName':t}))['then'](_0x4febc3=>(_0xff075a&&_0xff075a({'isComputable':!0x0,'value':0x1}),_0x4febc3)))(_0x31ee17,{'publicKey':_0xe30a42,'fileName':t,'baseURL':_0x293188,'signal':_0x2c5d22,'onProgress':_0x45d35b,'source':_0x256578,'integration':_0x2b813d,'userAgent':_0x368850,'retryThrottledRequestMaxTimes':_0x40d7f9,'retryNetworkErrorMaxTimes':_0x332abf,'baseCDN':_0x3fd0f0});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x31ee17+'\x22\x20is\x20not\x20supported');}var XB=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x45f541,{baseCDN:t=tB}={}){this['uuid']=_0x45f541['id'],this['filesCount']=_0x45f541['filesCount'];let _0x49a719=_0x45f541['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x49a719)['reduce']((_0x1fbd07,_0xd04499)=>_0x1fbd07+_0xd04499['size'],0x0),this['isStored']=!!_0x45f541['datetimeStored'],this['isImage']=!!Object['values'](_0x49a719)['filter'](_0x1d47b1=>_0x1d47b1['isImage'])['length'],this['cdnUrl']=((_0x495012,_0xeabbfe)=>{try{let t=new URL(_0x495012),_0x478e46=new URL(_0xeabbfe);return t['protocol']=_0x478e46['protocol'],t['hostname']=_0x478e46['hostname'],t['port']=_0x478e46['port'],t['toString']();}catch{return _0x495012;}})(_0x45f541['cdnUrl'],t),this['files']=_0x49a719['map'](_0x4adddd=>new kB(_0x4adddd,{'baseCDN':t})),this['createdAt']=_0x45f541['datetimeCreated'],this['storedAt']=_0x45f541['datetimeStored'];}};function qB(_0x566d88,{publicKey:_0x27a5bd,fileName:t,baseURL:_0xf4ed20=eB,secureSignature:_0x1e6847,secureExpire:_0x1241ba,store:_0x1540ba,signal:_0x47917c,onProgress:_0x3e8592,source:_0x4e8b33,integration:_0x3a3d42,userAgent:_0x27b239,retryThrottledRequestMaxTimes:_0x163199,retryNetworkErrorMaxTimes:_0x593892,contentType:_0x51a2c6,multipartChunkSize:_0x5a0487=rB,baseCDN:_0x4ac4a1=tB,checkForUrlDuplicates:_0x242617,saveUrlForRecurrentUploads:_0x2f74e3,jsonpCallback:_0xe2865}){if(!(_0x4312ea=>{for(let _0x6d8eb of _0x4312ea)if(!mB(_0x6d8eb))return!0x1;return!0x0;})(_0x566d88)&&!(_0x46ef87=>{for(let _0x114958 of _0x46ef87)if(!BB(_0x114958))return!0x1;return!0x0;})(_0x566d88)&&!(_0x11727f=>{for(let _0x354a26 of _0x11727f)if(!UB(_0x354a26))return!0x1;return!0x0;})(_0x566d88))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x566d88+'\x22\x20is\x20not\x20supported');let _0x3e4784,_0x920113=!0x0,_0x522ba5=_0x566d88['length'],_0x514d3d=(_0xdb7394,_0x4874ad)=>{if(!_0x3e8592)return;_0x3e4784||(_0x3e4784=Array(_0xdb7394)['fill'](0x0));let _0x5447e8=_0x23f1fa=>_0x23f1fa['reduce']((_0x3f3b3a,_0x7b479a)=>_0x3f3b3a+_0x7b479a)/_0xdb7394;return _0xaa1e47=>{if(!_0xaa1e47['isComputable']||!_0x920113)return _0x920113=!0x1,void _0x3e8592({'isComputable':!0x1});_0x3e4784[_0x4874ad]=_0xaa1e47['value'],_0x3e8592({'isComputable':!0x0,'value':_0x5447e8(_0x3e4784)});};};return Promise['all'](_0x566d88['map']((_0x1d821a,_0x37954a)=>mB(_0x1d821a)||BB(_0x1d821a)?ZB(_0x1d821a,{'publicKey':_0x27a5bd,'fileName':t,'baseURL':_0xf4ed20,'secureSignature':_0x1e6847,'secureExpire':_0x1241ba,'store':_0x1540ba,'signal':_0x47917c,'onProgress':_0x514d3d(_0x522ba5,_0x37954a),'source':_0x4e8b33,'integration':_0x3a3d42,'userAgent':_0x27b239,'retryThrottledRequestMaxTimes':_0x163199,'retryNetworkErrorMaxTimes':_0x593892,'contentType':_0x51a2c6,'multipartChunkSize':_0x5a0487,'baseCDN':_0x4ac4a1,'checkForUrlDuplicates':_0x242617,'saveUrlForRecurrentUploads':_0x2f74e3})['then'](_0x4a4923=>_0x4a4923['uuid']):_0x1d821a))['then'](_0x22fcca=>function(_0xb5b773,{publicKey:_0x3bae34,baseURL:t=eB,jsonpCallback:_0x2f5991,secureSignature:_0x165bac,secureExpire:_0x318ee6,signal:_0x29a423,source:_0x5ea99d,integration:_0x37602e,userAgent:_0x1f3089,retryThrottledRequestMaxTimes:_0x1f7e60=iB,retryNetworkErrorMaxTimes:_0x345ce1=sB}){return yB(()=>lB({'method':'POST','headers':{'X-UC-User-Agent':bB({'publicKey':_0x3bae34,'integration':_0x37602e,'userAgent':_0x1f3089})},'url':wB(t,'/group/',{'jsonerrors':0x1}),'data':pB({'files':_0xb5b773,'callback':_0x2f5991,'pub_key':_0x3bae34,'signature':_0x165bac,'expire':_0x318ee6,'source':_0x5ea99d}),'signal':_0x29a423})['then'](({data:_0xa82542,headers:_0x541734,request:_0x3cda67})=>{let _0x294a64=GU(JSON['parse'](_0xa82542));if('error'in _0x294a64)throw new OB(_0x294a64['error']['content'],_0x294a64['error']['errorCode'],_0x3cda67,_0x294a64,_0x541734);return _0x294a64;}),{'retryNetworkErrorMaxTimes':_0x345ce1,'retryThrottledRequestMaxTimes':_0x1f7e60});}(_0x22fcca,{'publicKey':_0x27a5bd,'baseURL':_0xf4ed20,'jsonpCallback':_0xe2865,'secureSignature':_0x1e6847,'secureExpire':_0x1241ba,'signal':_0x47917c,'source':_0x4e8b33,'integration':_0x3a3d42,'userAgent':_0x27b239,'retryThrottledRequestMaxTimes':_0x163199,'retryNetworkErrorMaxTimes':_0x593892})['then'](_0x20d652=>new XB(_0x20d652,{'baseCDN':_0x4ac4a1}))['then'](_0x593b04=>(_0x3e8592&&_0x3e8592({'isComputable':!0x0,'value':0x1}),_0x593b04)));}var WB=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x1f7158){this['Vi']=_0x1f7158;}['run'](){let _0x284428=this['Vi']-this['_i'];for(let t=0x0;t<_0x284428;t++){let _0x406dd5=this['io']['shift']();if(!_0x406dd5)return;let _0x1e9144=this['ro']['get'](_0x406dd5),_0x4491f6=this['oo']['get'](_0x406dd5);if(!_0x1e9144||!_0x4491f6)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x406dd5()['finally'](()=>{this['ro']['delete'](_0x406dd5),this['oo']['delete'](_0x406dd5),this['_i']-=0x1,this['run']();})['then'](_0x298c9d=>_0x1e9144(_0x298c9d))['catch'](_0x56f337=>_0x4491f6(_0x56f337));}}['add'](_0x7f9bdb,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x5dc74b,_0xf0a9d)=>{this['ro']['set'](_0x7f9bdb,_0x5dc74b),this['oo']['set'](_0x7f9bdb,_0xf0a9d),this['io']['push'](_0x7f9bdb),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x2a9672){this['Vi']=_0x2a9672,this['run']();}get['concurrency'](){return this['Vi'];}},zB=_0x1d7f87=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x1d7f87['modalManager']?.['close'](_0x1d7f87['$']['*currentActivity']),_0x1d7f87['pub']('*currentActivity',null);}}),YB=_0x5d0a17=>({...zB(_0x5d0a17),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new WB(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),KB=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),JB=class extends NU{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](KB['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x52f5e8 of this['scopes'])if(_0x52f5e8['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x52f5e8['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0x5db2d9=Array['from'](t['clipboardData']['items']),_0x2be22b=_0x5db2d9['map'](_0x3b0735=>_0x3b0735['getAsFile']())['filter'](_0x4c772c=>null!==_0x4c772c),_0xedb82b=_0x5db2d9['filter'](_0x1c3cc7=>'string'===_0x1c3cc7['kind']&&'text/plain'===_0x1c3cc7['type'])['map'](_0x2c9589=>new Promise(_0x4e5d40=>{_0x2c9589['getAsString'](_0x489fb2=>{_0x4e5d40(_0x489fb2);});}));_0x2be22b['length']>0x0&&(_0x2be22b['forEach'](_0x229803=>{this['i']['api']['addFileFromObject'](_0x229803,{'source':'clipboard'});}),this['openUploadList']()),_0xedb82b['length']>0x0&&((await Promise['all'](_0xedb82b))['forEach'](_0x5c8fb1=>{this['i']['api']['addFileFromUrl'](_0x5c8fb1,{'source':'clipboard'});}),this['openUploadList']());}['registerBlock'](t){return this['scopes']['add'](t),()=>{this['scopes']['delete'](t);};}['destroy'](){super['destroy'](),window['removeEventListener']('paste',this['listener']),this['scopes']['clear']();}},tj={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function ej(_0x271e1b,_0x1ed270){_0x1ed270['tabIndex']=0x0,_0x1ed270['focus'](),_0x271e1b['tabIndex']=-0x1;}function ij(_0x508491){let _0x37d20e=_0x508491['role']||_0x508491['type']||_0x508491['tagName'];if(!_0x37d20e)return null;let t=tj[_0x37d20e['toLowerCase']()];if(!t)return null;for(let _0xb82f26 of t){let _0x49875b=_0x508491['closest']('[role='+_0xb82f26+']');if(_0x49875b)return _0x49875b;}}function sj(_0x302fb8,_0x1ab6d9){return'toolbar'===_0x1ab6d9['role']?function(_0x241cb6){return[..._0x241cb6['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x1ab6d9):_0x1ab6d9['querySelectorAll']('[role='+_0x302fb8['role']+']');}function nj(_0x1d8489){return _0x560a4c=>{let t=!0x1,_0x3f8456=0x0,_0x180b77='';function _0x1331e4(_0x4471a3){let _0x2f0ede=ij(_0x4471a3['target']);if(!_0x2f0ede)return void _0x832b9c();let _0x225f91=sj(_0x4471a3['target'],_0x2f0ede),_0x55038c=function(_0x125de0,_0x275f72){return Array['from'](_0x125de0)['filter'](t=>{let _0xcb25d1=t['parentElement'];for(;_0xcb25d1&&_0xcb25d1!==_0x275f72;){if('true'===_0xcb25d1['getAttribute']('aria-hidden'))return!0x1;_0xcb25d1=_0xcb25d1['parentElement'];}return!0x0;});}(_0x225f91,_0x2f0ede),_0x4a15ee=Array['from'](_0x55038c)['indexOf'](_0x4471a3['target']),_0x2af5e1='ArrowDown',_0x9afe50='ArrowUp';if(function(_0x30027b){let _0x3b4900=_0x30027b['getAttribute']('aria-orientation');if('vertical'===_0x3b4900)return!0x1;if('horizontal'===_0x3b4900)return!0x0;let t=_0x30027b['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x2f0ede)&&('rtl'===_0x560a4c['document']['dir']?(_0x2af5e1='ArrowLeft',_0x9afe50='ArrowRight'):(_0x2af5e1='ArrowRight',_0x9afe50='ArrowLeft')),_0x4471a3['key']===_0x2af5e1)_0x4471a3['preventDefault'](),ej(_0x4471a3['target'],_0x55038c[_0x4a15ee+0x1]||_0x55038c[0x0]);else{if(_0x4471a3['key']===_0x9afe50)_0x4471a3['preventDefault'](),ej(_0x4471a3['target'],_0x55038c[_0x4a15ee-0x1]||_0x55038c[_0x55038c['length']-0x1]);else{if('Home'===_0x4471a3['key'])_0x4471a3['preventDefault'](),ej(_0x4471a3['target'],_0x55038c[0x0]);else{if('End'===_0x4471a3['key'])_0x4471a3['preventDefault'](),ej(_0x4471a3['target'],_0x55038c[_0x55038c['length']-0x1]);else{if(0x1===_0x4471a3['key']['length']&&'tablist'!==_0x2f0ede['role']){_0x4471a3['timeStamp']-_0x3f8456<=0x12c?_0x180b77+=_0x4471a3['key']['toLowerCase']():_0x180b77=_0x4471a3['key']['toLowerCase'](),_0x3f8456=_0x4471a3['timeStamp'];let _0xbc60f6=Array['from'](_0x225f91)['find'](_0x529d35=>_0x529d35['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x180b77));_0xbc60f6&&(_0x4471a3['preventDefault'](),ej(_0x4471a3['target'],_0xbc60f6));}}}}}}function _0x832b9c(){t=!0x1,_0x560a4c['removeEventListener']('keydown',_0x1331e4);}function _0x29537b(_0x59ab66){let _0x535864=ij(_0x59ab66['target']);if(_0x535864){t||(t=!0x0,_0x560a4c['addEventListener']('keydown',_0x1331e4));let _0x97bcd4=sj(_0x59ab66['target'],_0x535864);for(let _0x4a4ffa of _0x97bcd4)_0x4a4ffa!==_0x59ab66['target']&&_0x4a4ffa['setAttribute']('tabindex',-0x1);}else t&&_0x832b9c();}function _0x51b037(_0x45e195){(!_0x45e195['relatedTarget']||_0x45e195['relatedTarget']===_0x560a4c['document'])&&_0x832b9c();}function _0x2114b7(_0x1c40ac){let _0x57f2f2=ij(_0x1c40ac['target']);if(_0x57f2f2){let _0x59675c=sj(_0x1c40ac['target'],_0x57f2f2);for(let _0x3e5ef1 of _0x59675c)_0x3e5ef1!==_0x1c40ac['target']&&_0x3e5ef1['setAttribute']('tabindex',-0x1);_0x1c40ac['target']['setAttribute']('tabindex',0x0);}}return _0x560a4c['addEventListener']('click',_0x2114b7),_0x560a4c['addEventListener']('focusin',_0x29537b),_0x560a4c['addEventListener']('focusout',_0x51b037),()=>{_0x832b9c(),_0x560a4c['removeEventListener']('click',_0x2114b7),_0x560a4c['removeEventListener']('focusin',_0x29537b),_0x560a4c['removeEventListener']('focusout',_0x51b037);};};}function rj(){return _0xe95506=>{let _0x2b096f=[];function _0x18d20f(){let _0x1afd93=_0x2b096f['pop']();if(!_0x1afd93)return void _0xe95506['document']['activeElement']['blur']();let _0x485971=_0x1afd93['deref']();_0x485971&&_0x485971['isConnected']?_0x485971['focus']():_0x18d20f();}let _0x39de8b,_0x4142ec=0x0;function _0x3ea91b(_0x49e3a8){clearInterval(_0x39de8b);let _0x141428=_0x49e3a8['getAttribute']('aria-controls');_0x39de8b=setInterval(()=>{if(_0x4142ec++>0x32)return void clearInterval(_0x39de8b);let _0x5ebd91=_0xe95506['document']['getElementById'](_0x141428);if(_0x5ebd91){let _0x4d6c30=_0x5ebd91['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4d6c30&&(clearInterval(_0x39de8b),_0x5ebd91['dispatchEvent'](new _0xe95506['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x394dbc){let _0x17fb16=_0xe95506['document']['activeElement'];_0x17fb16&&_0x17fb16!==_0xe95506['document']['body']&&_0x2b096f['push'](new WeakRef(_0x17fb16)),_0x394dbc['focus']({'focusVisible':!0x0});}(_0x4d6c30));}},0x32);}function _0x25085d(_0x22cc54){_0x22cc54['target']['getAttribute']('aria-controls')&&'Enter'===_0x22cc54['key']&&_0x3ea91b(_0x22cc54['target']),'Escape'===_0x22cc54['key']&&_0x18d20f();}return _0xe95506['addEventListener']('keydown',_0x25085d),()=>{_0xe95506['removeEventListener']('keydown',_0x25085d);};};}function oj(_0x50c9ce){let _0x3d4957,_0xa6b3e9,t=_0x50c9ce['split']('\x20');function _0x2dfd83(_0x5c4445){('Enter'===_0x5c4445['key']||'\x20'===_0x5c4445['key'])&&('BUTTON'===_0x5c4445['target']['tagName']||'A'===_0x5c4445['target']['tagName'])&&(_0x4d3145(),_0x5c4445['target']['classList']['add'](...t),_0x3d4957=_0x5c4445['target'],_0xa6b3e9=_0x5c4445['target']);}function _0x4d3145(){_0x3d4957&&(_0x3d4957['classList']['remove'](...t),_0x3d4957=0x0,setTimeout(()=>{_0xa6b3e9=0x0;},0x0));}function _0x557935(_0x3c0476){0x0===_0x3c0476['clientX']&&0x0===_0x3c0476['clientY']&&_0x3d4957!==_0x3c0476['target']&&(_0x4d3145(),_0xa6b3e9!==_0x3c0476['target']&&(_0x3c0476['target']['classList']['add'](...t),_0x3d4957=_0x3c0476['target']));}return _0x244ff=>(_0x244ff['addEventListener']('click',_0x557935),_0x244ff['addEventListener']('keydown',_0x2dfd83),_0x244ff['addEventListener']('keyup',_0x4d3145),()=>{_0x244ff['removeEventListener']('click',_0x557935),_0x244ff['removeEventListener']('keydown',_0x2dfd83),_0x244ff['removeEventListener']('keyup',_0x4d3145);});}var aj=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0x63de12,t){let _0x4f58b8=_0x5d1f1e=>{let _0x20c85f=_0x5d1f1e['target'];_0x20c85f instanceof Node&&this['so']['some'](_0x2dd62d=>_0x2dd62d===_0x20c85f||_0x2dd62d['contains'](_0x20c85f))&&t(_0x5d1f1e);};this['te']['set'](t,_0x4f58b8),window['addEventListener'](_0x63de12,_0x4f58b8);}['removeEventListener'](_0x2c323b,t){let _0x511389=this['te']['get'](t);_0x511389&&window['removeEventListener'](_0x2c323b,_0x511389),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x2f98d2){this['so']['push'](_0x2f98d2);}['destroy'](){this['so']=[];for(let _0x16791b of this['te']['values']())window['removeEventListener']('keydown',_0x16791b),window['removeEventListener']('keyup',_0x16791b);this['te']['clear']();}},cj=class{constructor(){this['Bi']=new aj(),this['an']=function(_0x20b46a,_0x179de8){let t=_0x179de8['map'](_0x3c91f9=>_0x3c91f9(_0x20b46a));return()=>{t['forEach'](_0x2eeedf=>_0x2eeedf());};}(this['Bi'],[nj(),oj('is-pressed'),rj(),_0x5075a0=>{let _0x58bd6d,t;function _0x162641(_0x584547){if('true'===_0x584547['target']['getAttribute']('aria-hidden')){_0x58bd6d=_0x584547['target'],_0x58bd6d['setAttribute']('aria-hidden','false'),t=_0x58bd6d['hidden'],t&&(_0x58bd6d['hidden']=!0x1);let _0x4042f6=_0x584547['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4042f6&&(_0x4042f6['tabIndex']=0x0);}}function _0x365efb(_0x2cb85b){_0x58bd6d&&_0x58bd6d['contains'](_0x2cb85b['target'])&&(!_0x2cb85b['relatedTarget']||!_0x58bd6d['contains'](_0x2cb85b['relatedTarget']))&&(_0x2cb85b['target']['tabIndex']=-0x1,_0x58bd6d['setAttribute']('aria-hidden','true'),t&&(_0x58bd6d['hidden']=!0x0),_0x58bd6d=null);}return _0x5075a0['addEventListener']('keyuxJump',_0x162641),_0x5075a0['addEventListener']('focusout',_0x365efb),()=>{_0x5075a0['removeEventListener']('keyuxJump',_0x162641),_0x5075a0['removeEventListener']('focusout',_0x365efb);};}]);}['registerBlock'](_0x873410){this['Bi']['registerScope'](_0x873410);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},lj=_0x21138f=>'*l10n/'+_0x21138f,hj=class extends NU{constructor(t){super(t),this['Tt']='';for(let [_0x5728b6,_0x24761d]of Object['entries'](qV)){let _0x27dd61=!this['e']['has'](lj(_0x5728b6))||!this['e']['read'](lj(_0x5728b6));this['e']['add'](lj(_0x5728b6),_0x24761d,_0x27dd61);}let _0x2c7a12=t['pluginManager'];_0x2c7a12?.['onPluginsChange']&&this['addSub'](_0x2c7a12['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](JV('localeName'),async _0x27e7de=>{if(!_0x27e7de)return;this['Tt']=_0x27e7de;let _0x18639b=await(async _0x1c5b79=>{let _0x1fbb40=WV['get'](_0x1c5b79);if(!_0x1fbb40){let t=zV['get'](_0x1c5b79);if(!t)throw new Error('Locale\x20'+_0x1c5b79+'\x20is\x20not\x20defined');let _0x2b0b43=await t();_0x1fbb40=YV(_0x1c5b79,_0x2b0b43);}return _0x1fbb40;})(_0x27e7de);'en'!==_0x27e7de&&this['Tt']!==_0x27e7de||(this['ln'](_0x27e7de),this['cn'](_0x27e7de,_0x18639b));})),this['addSub'](this['e']['sub'](JV('localeDefinitionOverride'),_0x26b207=>{if(!_0x26b207)return;let _0x17701a=_0x26b207[this['Tt']];_0x17701a&&this['cn'](this['Tt'],_0x17701a);}));}['cn'](t,_0x2927b9){let _0x544f8f=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x3047d3,_0x236e4e]of Object['entries'](_0x2927b9)){let _0x593168=_0x544f8f?.[_0x3047d3];this['e']['add'](lj(_0x3047d3),_0x593168??_0x236e4e,!0x0);}}['ln'](t){let _0x389873=this['i']['pluginManager'];if(!_0x389873)return;let _0x2d3784=_0x389873['snapshot']();for(let _0x216680 of _0x2d3784['l10n']){let {pluginId:_0x3ce511,..._0x18bddb}=_0x216680,_0xf8e81c=_0x18bddb[t];if(_0xf8e81c){for(let [_0x2c3778,_0x167c29]of Object['entries'](_0xf8e81c))void 0x0!==_0x167c29&&this['e']['add'](lj(_0x2c3778),_0x167c29,!0x0);}}}},uj=()=>{let _0x53450c=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x53450c)&&/Version\/[\d.]+.*Safari/['test'](_0x53450c)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x53450c);},dj={'safariDesktop':uj()},fj={'htmlMediaCapture':'capture'in document['createElement']('input')},mj='image/*',gj='video/*',pj=dj['safariDesktop']?[mj]:[mj,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],Oj=_0xa09966=>_0xa09966?_0xa09966['filter'](_0x1bbe9c=>'string'==typeof _0x1bbe9c)['flatMap'](_0x375970=>mU(_0x375970)):[],wj=(_0x32df89,_0x50960b)=>_0x50960b['some'](t=>{if(t['endsWith']('*')){let _0x29f8a8=t['replace']('*','');return _0x32df89['startsWith'](_0x29f8a8);}return _0x32df89===t;}),bj=_0x5ba86e=>{let _0x1085e0=_0x5ba86e?.['type'];return!!_0x1085e0&&wj(_0x1085e0,pj);},yj=class{constructor(_0x44128a,t){this['e']=_0x44128a,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x5e0cb0=>{this['Bc'](_0x5e0cb0??[]);});}['Bc'](_0x5b564c){for(let _0x20a497 of this['Xt'])_0x20a497();if(this['Xt']['clear'](),0x0===_0x5b564c['length'])return;let t=new Set([JV('plugins')]);for(let _0x239874 of _0x5b564c)for(let _0x3115e4 of _0x239874['configDeps'])t['add'](JV(_0x3115e4));let _0x3ec570=()=>this['dn'](_0x5b564c);for(let _0xad3fe9 of t)this['Xt']['add'](this['e']['sub'](_0xad3fe9,_0x3ec570,!0x1));this['dn'](_0x5b564c);}['dn'](_0x15b1bd){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x14b792=_0x4cde94=>this['e']['read'](JV(_0x4cde94)),_0x1205dc=_0x14b792('plugins'),_0x29cb5e=(async({entries:_0x19193f,signal:_0x212d0b})=>(await Promise['all'](_0x19193f['map'](async _0x3d7efc=>{if(_0x3d7efc['isEnabled']())try{let _0x544bb3=await _0x3d7efc['load']();return _0x212d0b['aborted']||!_0x3d7efc['isEnabled']()?void 0x0:_0x544bb3??void 0x0;}catch(_0x481027){return void(_0x212d0b['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x481027));}})))['filter'](_0x562746=>void 0x0!==_0x562746))({'entries':_0x15b1bd['map'](_0x17f8d4=>({'isEnabled':()=>_0x17f8d4['isEnabled'](_0x14b792),'load':_0x17f8d4['load']})),'signal':t['signal']})['then'](_0x5269a1=>{if(!t['signal']['aborted'])return[..._0x1205dc,..._0x5269a1];});this['zc'](_0x29cb5e);}['destroy'](){this['un']();for(let _0x58e900 of this['Xt'])_0x58e900();this['Xt']['clear'](),this['ao']?.['abort']();}},vj=class{constructor(){this['Ke']=new Map();}['register'](_0x1bff47,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x5b24e6={'attribute':!0x0,...t,'pluginId':_0x1bff47};this['Ke']['set'](t['name'],_0x5b24e6);}['unregister'](_0x408d0f){this['Ke']['delete'](_0x408d0f);}['unregisterByPlugin'](_0x3c00f6){for(let [t,_0x50453e]of this['Ke'])_0x50453e['pluginId']===_0x3c00f6&&this['Ke']['delete'](t);}['get'](_0x2a6288){return this['Ke']['get'](_0x2a6288);}['getAll'](){return new Map(this['Ke']);}},_j=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new vj();}['xt'](_0x1ceea8,t){return{...t,'pluginId':_0x1ceea8};}['addSource'](_0x5ab015,t){let _0x495125=this['Me']['find'](_0x55a55f=>_0x55a55f['id']===t['id']);_0x495125?console['warn']('[Plugin\x20\x22'+_0x5ab015+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x495125['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x5ab015,t));}['addActivity'](_0x4aafad,t){let _0xc79236=this['de']['find'](_0x42eab5=>_0x42eab5['id']===t['id']);_0xc79236?console['warn']('[Plugin\x20\x22'+_0x4aafad+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0xc79236['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x4aafad,t));}['addFileAction'](_0x24b086,t){this['zi']['push'](this['xt'](_0x24b086,t));}['addFileHook'](_0x252954,t){this['Hi']['push'](this['xt'](_0x252954,{'timeout':0x7530,...t}));}['addIcon'](_0x4d196e,t){this['Ki']['push'](this['xt'](_0x4d196e,t));}['addL10n'](_0xd5d8ba,t){this['Et']['push'](this['xt'](_0xd5d8ba,t));}['addConfig'](_0x17be9e,t){this['config']['register'](_0x17be9e,t);}['purge'](_0x340de0){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x340de0),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x340de0),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x340de0),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x340de0),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x340de0),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x340de0),this['config']['unregisterByPlugin'](_0x340de0);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},Ej=class extends NU{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new _j(),this['pn']=new yj(this['e'],_0x5c2ea4=>{this['lo']=this['lo']['then'](()=>_0x5c2ea4)['then'](_0x82f5e4=>{if(_0x82f5e4)return this['Hc'](_0x82f5e4);});});}get['configRegistry'](){return this['registry']['config'];}['pluginsReady'](){return this['lo'];}['onPluginsChange'](t){return this['c']['add'](t),()=>{this['c']['delete'](t);};}async['Hc'](t){let _0x312c02=new Set(this['je']['keys']()),_0x4e8761=new Set();for(let _0x4c5c7d of t)if(_0x4c5c7d['id']){if(_0x4e8761['has'](_0x4c5c7d['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0x4c5c7d['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x4e8761['add'](_0x4c5c7d['id']),!this['je']['has'](_0x4c5c7d['id']))try{await this['Kc'](_0x4c5c7d);}catch(_0x4dc820){this['registry']['purge'](_0x4c5c7d['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0x4c5c7d['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x4dc820);}_0x312c02['delete'](_0x4c5c7d['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x26d526 of _0x312c02)this['uo'](_0x26d526);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x5dca3a,_0x34cd2a=[],_0x213353=function(_0x32cee8,_0xcc1d20,t,_0x4fade6,_0x4a8f0e){return{'registry':{'registerSource':_0x2a8c40=>_0x32cee8['addSource'](_0x4fade6,_0x2a8c40),'registerActivity':_0x592d08=>_0x32cee8['addActivity'](_0x4fade6,_0x592d08),'registerFileAction':_0x2071ad=>_0x32cee8['addFileAction'](_0x4fade6,_0x2071ad),'registerFileHook':_0x2fa740=>_0x32cee8['addFileHook'](_0x4fade6,_0x2fa740),'registerIcon':_0x165afe=>_0x32cee8['addIcon'](_0x4fade6,_0x165afe),'registerL10n':_0x4d7b58=>_0x32cee8['addL10n'](_0x4fade6,_0x4d7b58),'registerConfig':_0x376c76=>{_0x32cee8['addConfig'](_0x4fade6,_0x376c76);let _0x16e93c=JV(_0x376c76['name']);_0xcc1d20['has'](_0x16e93c)||_0xcc1d20['add'](_0x16e93c,_0x376c76['defaultValue']);}},'config':{'get':_0x3e753a=>{let _0x13028f=JV(_0x3e753a);return _0xcc1d20['read'](_0x13028f);},'subscribe':(_0x111f2d,_0x39db4f)=>{let _0x5472a9=JV(_0x111f2d),_0x5d0c24=_0xcc1d20['sub'](_0x5472a9,_0x34c719=>{_0x39db4f(_0x34c719);});return _0x4a8f0e['push'](_0x5d0c24),_0x5d0c24;}},'activity':{'getParams':()=>_0xcc1d20['read']('*currentActivityParams'),'subscribeToParams':_0xee0dab=>{let _0x5f2813=_0xcc1d20['sub']('*currentActivityParams',_0x1efae6=>{_0xee0dab(_0x1efae6);});return _0x4a8f0e['push'](_0x5f2813),_0x5f2813;}},'files':{'update':(_0x391f44,_0x3cb46a)=>{let _0x730caa=t['uploadCollection']?.['read'](_0x391f44);_0x730caa&&(void 0x0!==_0x3cb46a['file']&&(_0x730caa['setValue']('file',_0x3cb46a['file']),_0x730caa['setValue']('fileSize',_0x3cb46a['file']['size'])),void 0x0!==_0x3cb46a['cdnUrl']&&_0x730caa['setValue']('cdnUrl',_0x3cb46a['cdnUrl']),void 0x0!==_0x3cb46a['cdnUrlModifiers']&&_0x730caa['setValue']('cdnUrlModifiers',_0x3cb46a['cdnUrlModifiers']),void 0x0!==_0x3cb46a['mimeType']&&_0x730caa['setValue']('mimeType',_0x3cb46a['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x34cd2a),_0x4ad088=this['i']['api'];try{_0x5dca3a=await t['setup']({'pluginApi':_0x213353,'uploaderApi':_0x4ad088})??void 0x0;}catch(_0x28cc05){for(let _0x21309e of _0x34cd2a)try{_0x21309e();}catch(_0x559ff3){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x559ff3);}throw _0x28cc05;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x5dca3a,'configSubscriptions':_0x34cd2a}),this['co']();}['uo'](t){let _0x55a398=this['je']['get'](t);if(_0x55a398){this['registry']['purge'](t);for(let _0x4d57ba of _0x55a398['configSubscriptions'])try{_0x4d57ba();}catch(_0x713507){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x713507);}_0x55a398['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0x1393b8=t['getValue']('file');if(!_0x1393b8)return;let _0xf72906=this['registry']['snapshot']()['fileHooks']['filter'](_0x1eba17=>'onAdd'===_0x1eba17['type']);if(0x0===_0xf72906['length'])return;let _0x4c83c2=_0x1393b8,_0x217c57=new AbortController();for(let _0x41b2c2 of _0xf72906){if(_0x217c57['signal']['aborted'])break;try{let _0x2e4748=_0x41b2c2['handler']({'file':_0x4c83c2,'signal':_0x217c57['signal']}),_0x4404e0=new Promise((_0x5c893e,_0x2d7729)=>setTimeout(()=>_0x2d7729(new Error('onAdd\x20hook\x20timed\x20out')),_0x41b2c2['timeout']));({file:_0x4c83c2}=await Promise['race']([_0x2e4748,_0x4404e0]));}catch(_0x3b84e0){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x41b2c2['pluginId']+'\x22\x20failed',_0x3b84e0);}}_0x4c83c2!==_0x1393b8&&(t['setValue']('file',_0x4c83c2),t['setValue']('fileSize',_0x4c83c2['size']),t['setValue']('mimeType',_0x4c83c2['type']||null),t['setValue']('isImage',bj(_0x4c83c2)),_0x4c83c2 instanceof File&&t['setValue']('fileName',_0x4c83c2['name']));}['destroy'](){for(let t of Array['from'](this['je']['keys']()))this['uo'](t);this['pn']['destroy'](),super['destroy']();}['co'](){for(let t of this['c'])try{t();}catch{}}};function Tj(_0x32bb1c){return Array['isArray'](_0x32bb1c)?_0x32bb1c['map'](_0x1c7ac4=>'object'==typeof _0x1c7ac4&&null!==_0x1c7ac4?Tj(_0x1c7ac4):_0x1c7ac4):'object'!=typeof _0x32bb1c||null===_0x32bb1c?_0x32bb1c:Object['fromEntries'](Object['entries'](_0x32bb1c)['map'](([_0xd960c1,t])=>{let _0x1887a5=function(_0x5c5a6c){return _0x5c5a6c['replace'](/[A-Z]/g,_0x13fdce=>'_'+_0x13fdce['toLowerCase']())['replace'](/__/g,'_');}(_0xd960c1);return'object'==typeof t&&null!==t?[_0x1887a5,Tj(t)]:[_0x1887a5,t];}));}function Aj(_0x264fda){return{'ok':!0x1,'error':_0x264fda};}var Sj=class{constructor(_0x2358a1='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x2358a1;}async['base'](_0x13b1a5,t={}){let _0x1430dd=''+this['baseUrl']+_0x13b1a5;try{let _0x4581af=await fetch(_0x1430dd,t);if(!_0x4581af['ok'])return Aj(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x1430dd+'\x22.\x20Status:\x20'+_0x4581af['status']['toString']()));try{return function(_0x17aff9){return{'ok':!0x0,'value':_0x17aff9};}(await _0x4581af['json']());}catch(_0x67662d){return Aj(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x1430dd+'\x22.\x20Error:\x20'+_0x67662d));}}catch(_0x2d6df7){return Aj(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x1430dd+'\x22.\x20Error:\x20'+_0x2d6df7));}}async['post'](_0x22a23a,t,_0x110620={}){return await this['base'](_0x22a23a,{..._0x110620,'method':'POST','body':JSON['stringify'](Tj(t)),'headers':{'Content-Type':'application/json',..._0x110620['headers']||{}}});}async['get'](_0x3589ba,t={}){return await this['base'](_0x3589ba,{'method':'GET',...t});}},Ij=class extends Sj{constructor(){super();}async['sendEvent'](_0x2fd2a7,t){let _0x50c242=await(async _0x1b2651=>(async(_0x3d3de5,_0x451e43)=>({'success':!0x0,'data':_0x451e43}))(0x0,_0x1b2651))(_0x2fd2a7);if(!_0x50c242['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x50c242['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x2fd2a7,t);}},Cj=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),kj=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'}),xj=class extends NU{constructor(){super(...arguments),this['Qt']=new Map(),this['ji']=new Set(),this['te']=new Map();}['bindTarget'](t){return this['ji']['add'](t),()=>{this['ji']['delete'](t);};}['on'](t,_0x43393b){let _0x387828=this['te']['get'](t);return _0x387828||(_0x387828=new Set(),this['te']['set'](t,_0x387828)),_0x387828['add'](_0x43393b),()=>this['te']['get'](t)?.['delete'](_0x43393b);}['hn'](t,_0x415628){for(let _0x439e8e of this['ji'])_0x439e8e['dispatchEvent'](new CustomEvent(t,{'detail':_0x415628}));let _0x3ef145=this['te']['get'](t);if(_0x3ef145){for(let _0x176717 of _0x3ef145)_0x176717(_0x415628);}this['w']?.(()=>{let _0x519c5d=_0x415628&&'object'==typeof _0x415628?{..._0x415628}:_0x415628;return['event\x20\x22'+t+'\x22',_0x519c5d];});}['emit'](t,_0x5ec85f,_0x35878c={}){let {debounce:_0x4a7c46}=_0x35878c;if('number'!=typeof _0x4a7c46&&!_0x4a7c46)return void this['hn'](t,'function'==typeof _0x5ec85f?_0x5ec85f():_0x5ec85f);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x47f903='number'==typeof _0x4a7c46?_0x4a7c46:0x14,_0x45346c=window['setTimeout'](()=>{try{let _0xe846ff='function'==typeof _0x5ec85f?_0x5ec85f():_0x5ec85f;this['hn'](t,_0xe846ff),this['Qt']['delete'](t);}catch(_0x542670){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x542670);}},_0x47f903);this['Qt']['set'](t,_0x45346c);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},Rj='blocks',Pj='1.29.0',Mj=class extends NU{constructor(t){super(t),this['jc']=HV['generateRandomUUID'](),this['Ct']=structuredClone(PU),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new Ij(),this['St']=new WB(0xa),this['addSub'](this['e']['sub'](JV('qualityInsights'),_0x407126=>{this['Oe']=!!_0x407126;}));for(let _0x15ce7a of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](JV(_0x15ce7a),_0x3fc17b=>{this['Oe']&&(this['po']&&this['Ct'][_0x15ce7a]!==_0x3fc17b&&this['sendEvent']({'eventType':Cj['CHANGE_CONFIG']}),this['Gc'](_0x15ce7a,_0x3fc17b));}));}['qc'](t){t===Cj['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x276c5a){this['Ct'][t]!==_0x276c5a&&(this['Ct'][t]=_0x276c5a);}['Wc'](t){let _0x382743=t['payload']?{...t['payload']}:{};_0x382743['activity']&&(_0x382743['activity']=void 0x0);let _0x273cdf={...t};return(t['eventType']===Cj['INIT_SOLUTION']||t['eventType']===Cj['CHANGE_CONFIG'])&&(_0x273cdf['config']=this['Ct']),{..._0x273cdf,'appVersion':Pj,'appName':Rj,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x273cdf['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x382743}};}['Jc'](t){return!(!t||![kj['CHANGE'],kj['COMMON_UPLOAD_PROGRESS'],kj['FILE_ADDED'],kj['FILE_REMOVED'],kj['FILE_UPLOAD_START'],kj['FILE_UPLOAD_PROGRESS'],kj['FILE_UPLOAD_SUCCESS'],kj['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x5585f7=this['Wc']({'eventType':t['eventType'],'payload':t['payload'],'config':t['config']});this['qc'](t['eventType']),!(this['Jc'](t['eventType'])||this['ho']&&this['gn'](this['ho'],_0x5585f7))&&this['St']['add'](async()=>{this['ho']=_0x5585f7,await this['mn']['sendEvent'](_0x5585f7);});}['sendEventError'](t,_0x104028='unknown'){this['sendEvent']({'eventType':Cj['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x104028,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x399bed,_0x14c5bc={}){this['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x399bed,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x14c5bc}}});}['gn'](t,_0x442c81){if(JSON['stringify'](t)===JSON['stringify'](_0x442c81))return!0x0;if('object'!=typeof t||'object'!=typeof _0x442c81||null==t||null==_0x442c81)return!0x1;let _0x338e2a=Object['keys'](t),_0x166428=Object['keys'](_0x442c81);if(_0x338e2a['length']!==_0x166428['length'])return!0x1;for(let _0x12b139 of _0x338e2a)if(!Object['hasOwn'](_0x442c81,_0x12b139)||!this['gn'](t[_0x12b139],_0x442c81[_0x12b139]))return!0x1;return!0x0;}get['Xc'](){return Date['now']();}get['Zc'](){if(!this['e']['has']('*solution'))return null;let t=this['e']['read']('*solution');return t?t['toLowerCase']():null;}get['Yc'](){return this['e']['has']('*currentActivity')?this['e']['read']('*currentActivity'):null;}get['Qc'](){return location['origin'];}},Nj=_0x4293ed=>_0x4293ed,Lj='plural:';function $j(_0x55c738,_0x98db22={},t={}){let {openToken:_0x468bfd='{{',closeToken:_0x4bb8e0='}}',transform:_0x45a3dd=Nj}=t;for(let _0xf69947 in _0x98db22){let _0xde91c=_0x98db22[_0xf69947],_0x2cc6fd=_0xde91c?.['toString'](),_0x3e194b='string'==typeof _0x2cc6fd?_0x45a3dd(_0x2cc6fd):String(_0x2cc6fd);_0x55c738=_0x55c738['replaceAll'](_0x468bfd+_0xf69947+_0x4bb8e0,_0x3e194b);}return _0x55c738;}var Dj='--uploadcare-blocks-window-height',Qj=class o{static{this['clientsRegistry']=new Set();}static{this['flush']=UV(()=>{document['documentElement']['style']['setProperty'](Dj,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x32113c){0x0===o['clientsRegistry']['size']&&o['attachTracker'](),o['clientsRegistry']['add'](_0x32113c);}static['unregisterClient'](_0xc30536){o['clientsRegistry']['delete'](_0xc30536),0x0===o['clientsRegistry']['size']&&o['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',o['flush'],{'passive':!0x0,'capture':!0x0}),o['flush']();}static['detachTracker'](){window['removeEventListener']('resize',o['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](Dj);}},Vj=(_0x19c544,_0x31a020)=>new Intl['PluralRules'](_0x19c544)['select'](_0x31a020),Uj=_0x1407d5=>{let _0x4c4f24=(_0x21acd1=>(_0x1f509f,t)=>{let _0x39a1d8=_0x21acd1(),_0x426d32=_0x39a1d8('locale-id')||'en';return _0x39a1d8(_0x1f509f+'__'+Vj(_0x426d32,t));})(()=>t),t=(_0x48ef08,_0xa74a65={})=>{if(!_0x48ef08)return'';let _0x135354=_0x1407d5()['read'](lj(_0x48ef08))||_0x48ef08,_0x4df978=function(_0x2ee96d){let _0x34f512=[],t=_0x2ee96d['indexOf']('{{');for(;-0x1!==t;){let _0x3b0521=_0x2ee96d['indexOf']('}}',t);if(-0x1===_0x3b0521)break;let _0x3ff25b=_0x2ee96d['substring'](t+0x2,_0x3b0521);if(_0x3ff25b['startsWith'](Lj)){let _0x32350c=_0x2ee96d['substring'](t+0x2,_0x3b0521)['replace'](Lj,''),_0x19b12d=_0x32350c['substring'](0x0,_0x32350c['indexOf']('(')),_0x5313e7=_0x32350c['substring'](_0x32350c['indexOf']('(')+0x1,_0x32350c['indexOf'](')'));_0x34f512['push']({'variable':_0x3ff25b,'pluralKey':_0x19b12d,'countVariable':_0x5313e7});}t=_0x2ee96d['indexOf']('{{',_0x3b0521);}return _0x34f512;}(_0x135354);for(let _0x342ba9 of _0x4df978)_0xa74a65[_0x342ba9['variable']]=_0x4c4f24(_0x342ba9['pluralKey'],Number(_0xa74a65[_0x342ba9['countVariable']]));return $j(_0x135354,_0xa74a65);};return t;},Bj=class{constructor(_0x137510){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x137510,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](JV('testMode'))){let _0x2f9071=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x2f9071;}this['eu'](),this['yn']();}['eu'](){let _0x3b0d27=this['qe'],t=_0x3b0d27['renderRoot']??_0x3b0d27;if(!t)return;let _0xd28f2b=this['qe'],_0x4bb1dd=_0xd28f2b['tagName']?.['toLowerCase'](),_0x15132c=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x28e54b=>!(_0x352ac2=>_0x352ac2['tagName']?.['includes']('-')??!0x1)(_0x28e54b));for(let _0x2b8f63 of _0x15132c)if(!(_0x4bb1dd&&_0x2b8f63['closest'](_0x4bb1dd)!==_0xd28f2b||this['Ge']['has'](_0x2b8f63))){let _0x4612f9=_0x2b8f63['getAttribute']('data-testid');if(!_0x4612f9)continue;this['Ge']['add'](_0x2b8f63),this['Gi']['set'](_0x2b8f63,_0x4612f9);}for(let _0x26b6cc of Array['from'](this['Ge']))(!_0x26b6cc['isConnected']||_0x4bb1dd&&_0x26b6cc['closest'](_0x4bb1dd)!==_0xd28f2b)&&(this['Ge']['delete'](_0x26b6cc),this['Gi']['delete'](_0x26b6cc));}['yn'](){if(!this['Ge']['size'])return;let _0x3fca8f=this['qe']['testId']||'';for(let t of this['Ge']){let _0x3ae77b=this['Gi']['get'](t);_0x3ae77b&&(this['vn']?t['setAttribute']('data-testid',_0x3fca8f+'--'+_0x3ae77b):t['removeAttribute']('data-testid'));}}},jj=xV(jV()(CV(kV(AV)))),Fj=class extends jj{constructor(){super(),this['init$']={},this['l10n']=Uj(()=>this['sharedCtx']),this['debugPrint']=MU(()=>this['sharedCtx'],this['constructor']['name']),this['i']=DU(()=>this['sharedCtx']),new Bj(this);}static{this['styleAttrs']=[];}['emit'](t,_0x13adea,_0x5372a6){let _0x33e5dd=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x33e5dd)return;_0x33e5dd['emit'](t,_0x13adea,_0x5372a6);let _0x34a34a='function'==typeof _0x13adea?_0x13adea():_0x13adea;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x34a34a??void 0x0});}['hasBlockInCtx'](t){for(let _0x151e00 of this['blocksRegistry'])if(t(_0x151e00))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x347112=>{this['setAttribute'](_0x347112,'');}),super['connectedCallback'](),Qj['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new Ej(t)),this['Z']('*eventEmitter',t=>new xj(t)),this['Z']('*localeManager',t=>new hj(t)),this['Z']('*modalManager',t=>new VU(t)),this['Z']('*a11y',()=>new cj()),this['Z']('*clipboard',t=>new JB(t)),this['Z']('*telemetryManager',t=>new Mj(t)),this['sub'](lj('locale-id'),t=>{let _0x1bdbec=(_0x5835cc=>{let _0x2a6b62=new Intl['Locale'](_0x5835cc),t='ltr',_0xf97bc4=_0x2a6b62['getTextInfo']?.()['direction'];return _0xf97bc4?t=_0xf97bc4:_0x2a6b62['textInfo']?.['direction']&&(t=_0x2a6b62['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0x1bdbec?'':_0x1bdbec,this['requestUpdate']();}),this['subConfigValue']('testMode',t=>{t&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}),this['blocksRegistry']['add'](this);}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['ie']('*modalManager',!0x1);}get['telemetryManager'](){return this['ie']('*telemetryManager');}get['localeManager'](){return this['ie']('*localeManager');}get['a11y'](){return this['ie']('*a11y');}get['clipboardLayer'](){return this['ie']('*clipboard');}get['blocksRegistry'](){return this['ie']('*blocksRegistry');}get['eventEmitter'](){return this['ie']('*eventEmitter');}['disconnectedCallback'](){super['disconnectedCallback'](),Qj['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),wQ['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x3aff3c=new Map();this['add'](t,_0x3aff3c,!0x0);}return this['$'][t];}['Z'](t,_0x372847){let _0x513e1d=this['bn']();if(!(_0x513e1d['has'](t)||this['has'](t)&&this['$'][t])){let _0x5bdea1=_0x372847(this['i']);return this['add'](t,_0x5bdea1,!0x0),void _0x513e1d['set'](t,_0x5bdea1);}}['tu'](){let t=this['bn']();for(let [_0x5957b2,_0x1dc14f]of t['entries']())_0x1dc14f?.['destroy']?.(),this['pub'](_0x5957b2,null);t['clear']();}['ie'](t,_0x5bf6e2=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x5bf6e2)return this['$'][t];throw new Error('Unexpected\x20error:\x20context\x20manager\x20for\x20key\x20\x22'+String(t)+'\x22\x20is\x20not\x20available');}async['proxyUrl'](t){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'](t,{'uuid':oU(t),'cdnUrlModifiers':aU(t),'fileName':rU(t)});}catch(_0x18f6c6){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x18f6c6),this['telemetryManager']['sendEventError'](_0x18f6c6,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?$j(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x3d831e=>window['encodeURIComponent'](_0x3d831e)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x57de3f,_0x2be26e,_0x2e8d68)=>{if('string'!=typeof _0x2be26e||!(_0x2be26e in PU))return!0x1;let _0xad4372=_0x2be26e,_0x653261=JV(_0xad4372);return this['has'](_0x653261)||this['add'](_0x653261,PU[_0xad4372]),this['$'][_0x653261]=_0x2e8d68,!0x0;},'get':(_0x506317,_0x1ddb53)=>{let _0x379e63=JV(_0x1ddb53);return this['has'](_0x379e63)||this['add'](_0x379e63,PU[_0x1ddb53]),this['$'][_0x379e63];}});}return this['Be'];}['subConfigValue'](t,_0x58994c){let _0x1c38bd=JV(t);return this['has'](_0x1c38bd)||this['add'](_0x1c38bd,PU[t]),this['sub'](_0x1c38bd,_0x58994c);}},Hj=0x1,Gj=0x2,Zj=_0x478756=>(..._0x26819d)=>({'qr':_0x478756,'values':_0x26819d}),Xj=class{constructor(_0x49c0db){}get['W'](){return this['f']['W'];}['Wr'](_0x97dbda,t,_0x125979){this['Wi']=_0x97dbda,this['f']=t,this['iu']=_0x125979;}['Lc'](_0x510372,t){return this['update'](_0x510372,t);}['update'](_0x5e4681,t){return this['render'](...t);}},qj=class extends Xj{constructor(_0xbed803){if(super(_0xbed803),this['it']=lV,_0xbed803['type']!==Gj)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x58fb0a){if(_0x58fb0a===lV||null==_0x58fb0a)return this['wn']=void 0x0,this['it']=_0x58fb0a;if(_0x58fb0a===cV)return _0x58fb0a;if('string'!=typeof _0x58fb0a)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x58fb0a===this['it'])return this['wn'];this['it']=_0x58fb0a;let t=[_0x58fb0a];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};qj['directiveName']='unsafeHTML',qj['resultType']=0x1;var Wj=class extends qj{};Wj['directiveName']='unsafeSVG',Wj['resultType']=0x2;var zj=Zj(Wj),Yj=class extends Fj{constructor(){super(...arguments),this['init$']=(_0x2af450=>({...YB(_0x2af450),'*solution':null,'*lazyPlugins':null}))(this);}static{this['styleAttrs']=['uc-wgt-common'];}static{this['lazyPlugins']=null;}['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this),this['clipboardLayer']?.['registerBlock'](this),this['sharedCtx']['pub']('*solution',this['tagName']);let t=this['constructor']['lazyPlugins'];t&&this['sharedCtx']['pub']('*lazyPlugins',t);}['render'](){return aV`${zj('<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>')}`;}},Kj=_0x2752ee=>'number'!=typeof _0x2752ee?0x0:Math['floor'](_0x2752ee/0x3e8),Jj=class extends NU{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x1d9de6,secureUploadsSignatureResolver:_0x2944b4,secureUploadsExpireThreshold:_0x5568c4}=this['ze'];if((t||_0x1d9de6)&&_0x2944b4&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x2944b4){if(!this['We']||((_0x4eedbb,{threshold:_0x2c37d4})=>{let {secureExpire:t}=_0x4eedbb,_0x376ddd=Kj(Date['now']()),_0x69a7e6=Number(t);return _0x376ddd+Kj(_0x2c37d4)>=_0x69a7e6;})(this['We'],{'threshold':_0x5568c4})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x219ae1=await _0x2944b4();_0x219ae1?_0x219ae1['secureSignature']&&_0x219ae1['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x219ae1),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x219ae1['secureExpire']))['toISOString']()),this['We']=_0x219ae1):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x219ae1):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x3590b1){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x3590b1),this['i']['telemetryManager']['sendEventError'](_0x3590b1,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x1d9de6?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x1d9de6}),{'secureSignature':t,'secureExpire':_0x1d9de6}):null;}['destroy'](){super['destroy'](),this['We']=null;}},tF=(_0x25328d,_0x4e1a41)=>{if(_0x25328d['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x4e1a41['l10n']('some-files-were-not-uploaded')};},eF=(_0x51e38c,_0x1a5f1b)=>{let t=_0x51e38c['totalCount'],_0xfe3c1b=_0x1a5f1b['cfg']['multiple']?_0x1a5f1b['cfg']['multipleMin']:0x0,_0x2651ea=_0x1a5f1b['cfg']['multiple']?_0x1a5f1b['cfg']['multipleMax']:0x1;return _0xfe3c1b&&t<_0xfe3c1b?{'type':'TOO_FEW_FILES','message':_0x1a5f1b['l10n']('files-count-limit-error-too-few',{'min':_0xfe3c1b,'max':_0x2651ea,'total':t}),'payload':{'total':t,'min':_0xfe3c1b,'max':_0x2651ea}}:_0x2651ea&&t>_0x2651ea?{'type':'TOO_MANY_FILES','message':_0x1a5f1b['l10n']('files-count-limit-error-too-many',{'min':_0xfe3c1b,'max':_0x2651ea,'total':t}),'payload':{'total':t,'min':_0xfe3c1b,'max':_0x2651ea}}:void 0x0;},iF=(_0x53ebb7,_0x38a786)=>{let t=_0x38a786['cfg']['imgOnly'],_0x527f83=_0x38a786['cfg']['accept'],_0x4040eb=Oj([...t?pj:[],_0x527f83]);if(!_0x4040eb['length'])return;let _0x455da9=_0x53ebb7['mimeType'],_0xf7c6ec=_0x53ebb7['name'];if(!_0x455da9||!_0xf7c6ec)return;let _0x5ce971=wj(_0x455da9,_0x4040eb),_0x419325=((_0x1063d8,_0x5ee032)=>_0x5ee032['some'](t=>!!t['startsWith']('.')&&_0x1063d8['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0xf7c6ec,_0x4040eb);return _0x5ce971||_0x419325?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x38a786['l10n']('file-type-not-allowed'),'payload':{'entry':_0x53ebb7}};},sF=(_0x2cb004,_0x22070b)=>{let t=_0x22070b['cfg']['imgOnly'],_0xeb9105=_0x2cb004['isImage'];if(t&&!_0xeb9105&&(_0x2cb004['fileInfo']||!_0x2cb004['externalUrl'])&&(_0x2cb004['fileInfo']||_0x2cb004['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x22070b['l10n']('images-only-accepted'),'payload':{'entry':_0x2cb004}};},nF=0x3e8,rF=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),oF=_0x31195e=>Math['ceil'](0x64*_0x31195e)/0x64,aF=(_0x3b1561,_0x1d57aa=rF['AUTO'])=>{let t=_0x1d57aa===rF['AUTO'];if(_0x1d57aa===rF['BYTE']||t&&_0x3b1561<0x3e8)return _0x3b1561+'\x20'+('one'===Vj('en-US',_0x3b1561)?'byte':'bytes');return _0x1d57aa===rF['KB']||t&&_0x3b1561<nF**0x2?oF(_0x3b1561/0x3e8)+'\x20KB':_0x1d57aa===rF['MB']||t&&_0x3b1561<nF**0x3?oF(_0x3b1561/nF**0x2)+'\x20MB':_0x1d57aa===rF['GB']||t&&_0x3b1561<nF**0x4?oF(_0x3b1561/nF**0x3)+'\x20GB':_0x1d57aa===rF['TB']||t&&_0x3b1561<nF**0x5?oF(_0x3b1561/nF**0x4)+'\x20TB':oF(_0x3b1561/nF**0x5)+'\x20PB';},cF=(_0x27f84,_0x5e0c5b)=>{let t=_0x5e0c5b['cfg']['maxLocalFileSizeBytes'],_0x17718e=_0x27f84['size'];if(t&&_0x17718e&&_0x17718e>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x5e0c5b['l10n']('files-max-size-limit-error',{'maxFileSize':aF(t)}),'payload':{'entry':_0x27f84}};},lF=(_0x171060,_0x407e76)=>{let {internalId:t}=_0x171060;if(!_0x407e76['v']['hasItem'](t))return;let _0x4954e2=_0x407e76['v']['read'](t)?.['getValue']('uploadError');if(!_0x4954e2)return;if(_0x4954e2 instanceof OB)return{'type':'UPLOAD_ERROR','message':_0x4954e2['message'],'payload':{'entry':_0x171060,'error':_0x4954e2}};if(_0x4954e2 instanceof zU)return{'type':'NETWORK_ERROR','message':_0x4954e2['message'],'payload':{'entry':_0x171060,'error':_0x4954e2}};let _0x14c5f2=_0x4954e2 instanceof Error?_0x4954e2:new Error('Unknown\x20error',{'cause':_0x4954e2});return{'type':'UNKNOWN_ERROR','message':_0x14c5f2['message'],'payload':{'entry':_0x171060,'error':_0x14c5f2}};},hF='File\x20validator\x20execution\x20has\x20failed',uF='File\x20validator\x20execution\x20has\x20timed\x20out',dF='Collection\x20validator\x20execution\x20has\x20failed',fF='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',mF=_0x5e5d0c=>'function'==typeof _0x5e5d0c?{'runOn':'change','validator':_0x5e5d0c}:_0x5e5d0c,gF=class extends NU{constructor(t){super(t),this['ru']=[sF,iF,cF,lF],this['ou']=[eF,tF],this['St']=new WB(0x14),this['Tn']=UV(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x443ce7=UV(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](JV('maxLocalFileSizeBytes'),_0x443ce7)),this['addSub'](this['e']['sub'](JV('multipleMin'),_0x443ce7)),this['addSub'](this['e']['sub'](JV('multipleMax'),_0x443ce7)),this['addSub'](this['e']['sub'](JV('multiple'),_0x443ce7)),this['addSub'](this['e']['sub'](JV('imgOnly'),_0x443ce7)),this['addSub'](this['e']['sub'](JV('accept'),_0x443ce7)),this['addSub'](this['e']['sub'](JV('validationConcurrency'),_0x4fefa5=>{this['St']['concurrency']=_0x4fefa5;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x50cb44){if(this['Ie'])return;let _0x47907d=_0x50cb44??this['v']['items']();for(let _0x310ffc of _0x47907d){let _0x568e5c=this['v']['read'](_0x310ffc);_0x568e5c&&this['su'](_0x568e5c,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0x32ef0f=t['getOutputCollectionState'](),_0x542e60=[],_0x4431ab=this['ze']['collectionValidators'];for(let _0x3dbf33 of[...this['ou'],..._0x4431ab])try{let _0x34c8c5=_0x3dbf33(_0x32ef0f,t);if(!_0x34c8c5)continue;_0x34c8c5&&(_0x542e60['push'](this['En'](_0x34c8c5)),_0x34c8c5['message']||console['warn'](fF));}catch(_0x2177be){console['warn'](dF,_0x2177be);}this['e']['pub']('*collectionErrors',_0x542e60),_0x542e60['length']>0x0&&this['i']['eventEmitter']['emit'](kj['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x1247db=this['At']['get'](t['uid']);_0x1247db&&(_0x1247db['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x33e5ec){if(this['Ie'])return;let _0x3ed38b=this['i']['api'],_0x1f7a35=this['xn'](t),_0x5ed768=_0x1f7a35['promise']??Promise['resolve'](),_0x1bf27a=((async()=>{if(this['Ie']||(await _0x5ed768,this['Ie']))return;let _0x3286e7=this['nu'](t,_0x33e5ec);if(0x0===_0x3286e7['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x4a64a6=_0x3ed38b['getOutputItem'](t['uid']),_0x5927cd=new AbortController();_0x1f7a35['abortController']=_0x5927cd;let _0x3fde21=this['ze']['validationTimeout'],_0x738f1c=this['Cn'](),_0x505291=new Set(_0x3286e7['map'](_0x53b9f0=>_0x53b9f0['validator'])),_0x5d9d0c=[];for(let _0x6250fa of _0x738f1c)if(!_0x505291['has'](_0x6250fa['validator'])){let _0x2c0b0b=_0x1f7a35['lastErrorThrownByValidator']['get'](_0x6250fa['validator']);_0x2c0b0b&&_0x5d9d0c['push'](_0x2c0b0b);}let _0x2752e1=_0x3286e7['map'](_0x417957=>async()=>{if(this['Ie'])return;let _0x17450d=setTimeout(()=>{_0x1f7a35['skippedValidators']['add'](_0x417957['validator']),_0x5927cd['abort'](),console['warn'](uF);},_0x3fde21);try{let _0x51bbc3=await _0x417957['validator'](_0x4a64a6,_0x3ed38b,{'signal':_0x5927cd['signal']});if(!_0x51bbc3||_0x5927cd['signal']['aborted'])return void _0x1f7a35['lastErrorThrownByValidator']['set'](_0x417957['validator'],void 0x0);let _0x3d7a66=this['En'](_0x51bbc3);_0x1f7a35['lastErrorThrownByValidator']['set'](_0x417957['validator'],_0x3d7a66),_0x5d9d0c['push'](_0x3d7a66),_0x51bbc3['message']||console['warn'](fF);}catch(_0x1a1603){_0x5927cd['signal']['aborted']||(_0x1f7a35['skippedValidators']['add'](_0x417957['validator']),console['warn'](hF,_0x1a1603),this['i']['telemetryManager']['sendEventError'](_0x1a1603,'file\x20validator.\x20'+hF));}finally{clearTimeout(_0x17450d),'change'!==_0x417957['runOn']&&_0x1f7a35['skippedValidators']['add'](_0x417957['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x2752e1['map'](_0x237f26=>_0x237f26()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x5927cd['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x5d9d0c});})());_0x1f7a35['promise']=_0x1bf27a;try{await _0x1bf27a;}finally{_0x1f7a35['promise']===_0x1bf27a&&(_0x1f7a35['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x130578=this['At']['get'](t['uid']);if(_0x130578)return _0x130578;let _0xf9b102={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0xf9b102),_0xf9b102;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](mF);}['nu'](t,_0xe3d146){let _0x10bb5f=this['xn'](t);return this['Cn']()['filter'](_0x2e111a=>!_0x10bb5f['skippedValidators']['has'](_0x2e111a['validator']))['filter'](_0x354ede=>_0x354ede['runOn']===_0xe3d146);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},pF='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',OF=class{constructor(_0x1b08e5){this['J']=HV['generateFastUid'](),this['Y']=wQ['registerCtx'](_0x1b08e5,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x21c61c,t){this['Y']['has'](_0x21c61c)?this['Y']['read'](_0x21c61c)!==t&&this['Y']['pub'](_0x21c61c,t):console['warn'](''+pF+String(_0x21c61c));}['setMultipleValues'](_0x30df84){for(let [t,_0x4f7d1c]of Object['entries'](_0x30df84))this['setValue'](t,_0x4f7d1c);}['getValue'](_0x1e18e7){return this['Y']['has'](_0x1e18e7)||console['warn'](''+pF+String(_0x1e18e7)),this['Y']['read'](_0x1e18e7);}['subscribe'](_0x4c76c4,t){return this['Y']['sub'](_0x4c76c4,t);}['destroy'](){wQ['deleteCtx'](this['J']);}},wF=class o{constructor(_0x55fed0){this['Pe']=Object['create'](null),this['Zi']=new Set(),this['Yi']=new Set(),this['ye']=new Set(),this['fo']=new Set(),this['mo']=new Set(),this['kt']=new Set(),this['kn']=_0x55fed0['initialValue'],this['J']=HV['generateFastUid'](),this['Y']=wQ['registerCtx']({},this['J']),this['Sn']=_0x55fed0['watchList']||[];let t=Object['create'](null);this['An']=(_0x10a417,_0x1b9bab)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x10a417]||(t[_0x10a417]=new Set()),t[_0x10a417]['add'](_0x1b9bab),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x233458=>{_0x233458({...t});}),t=Object['create'](null));}),this['Mn']();},_0x55fed0['handler']&&this['observeCollection'](_0x55fed0['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x584910=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x3f6f4a of this['Yi'])_0x3f6f4a?.([...this['ye']],_0x584910,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0x32c057=[...this['kt']];this['kt']['clear']();for(let t of _0x32c057)t['destroy']();},o['au']));}['observeCollection'](_0x575eeb){return this['Yi']['add'](_0x575eeb),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x575eeb);};}['unobserveCollection'](_0xd2611d){this['Yi']['delete'](_0xd2611d);}['add'](_0x4c0882){let t=new OF(this['kn']);for(let [_0x43ff89,_0x1c478f]of Object['entries'](_0x4c0882))t['setValue'](_0x43ff89,_0x1c478f);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x15b7fc=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x15b7fc,()=>{this['An'](_0x15b7fc,t['uid']);}));}),t['uid'];}['hasItem'](_0xe022c0){return this['ye']['has'](_0xe022c0);}['read'](_0x475d7f){return this['Y']['read'](_0x475d7f)??null;}['readProp'](_0x2e81fb,t){let _0x1b99e3=this['read'](_0x2e81fb);if(!_0x1b99e3)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x2e81fb+'\x20not\x20found');return _0x1b99e3['getValue'](t);}['publishProp'](_0x465700,t,_0x57259e){let _0x171099=this['read'](_0x465700);if(!_0x171099)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x465700+'\x20not\x20found');_0x171099['setValue'](t,_0x57259e);}['remove'](_0x30c9cc){let t=this['read'](_0x30c9cc);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x30c9cc),this['q'](),this['Y']['pub'](_0x30c9cc,void 0x0),this['Pe'][_0x30c9cc]?.['forEach'](_0x40a954=>{_0x40a954();}),delete this['Pe'][_0x30c9cc];}['clearAll'](){this['ye']['forEach'](_0x34ad80=>{this['remove'](_0x34ad80);});}['observeProperties'](_0x5b8a03){return this['Zi']['add'](_0x5b8a03),()=>{this['unobserveProperties'](_0x5b8a03);};}['unobserveProperties'](_0x4f8b99){this['Zi']['delete'](_0x4f8b99);}['findItems'](_0x4297fe){let t=[];return this['ye']['forEach'](_0x40241c=>{let _0x2d9296=this['read'](_0x40241c);_0x2d9296&&_0x4297fe(_0x2d9296)&&t['push'](_0x40241c);}),t;}['items'](){return[...this['ye']];}get['size'](){return this['ye']['size'];}['destroy'](){this['Jt']&&window['clearTimeout'](this['Jt']),this['ei']&&window['clearTimeout'](this['ei']),this['ti']&&window['clearTimeout'](this['ti']);for(let _0x14624f of this['kt'])_0x14624f['destroy']();this['kt']['clear'](),wQ['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0xed53f2 of Object['keys'](this['Pe']))this['Pe'][_0xed53f2]?.['forEach'](t=>{t();}),delete this['Pe'][_0xed53f2];}},bF=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),yF=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),vF=(_0x5b2399,_0x14ba01,{timeout:t=0x3e8,onTimeout:_0x35ab5a}={})=>new Promise(_0x1746cf=>{let _0x15f624,_0x36f37e=setTimeout(()=>{cancelAnimationFrame(_0x15f624),_0x35ab5a?.();},t),_0x4cb24d=()=>{for(let _0x4e1ac6 of _0x5b2399)if(_0x14ba01(_0x4e1ac6))return clearTimeout(_0x36f37e),void _0x1746cf(_0x4e1ac6);_0x15f624=requestAnimationFrame(_0x4cb24d);};_0x4cb24d();});function _F(_0x45d7f6,_0x420eda){for(let t in _0x420eda)t['includes']('-')?_0x45d7f6['style']['setProperty'](t,String(_0x420eda[t])):_0x45d7f6['style'][t]=String(_0x420eda[t]);}var EF=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'),TF=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','DROPBOX_CHOOSER':'dropboxchooser','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),AF=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),SF=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',...AF,...TF}),IF={[TF['DROPBOX_CHOOSER']]:TF['DROPBOX']},CF=_0x529964=>IF[_0x529964]??_0x529964,kF=_0x1c5d2f=>_0x1c5d2f['uploadCollection']['items']()['map'](_0xcd22da=>_0x1c5d2f['api']['getOutputItem'](_0xcd22da));function xF(_0x9f764d){let _0x3a54b3=new Map();return(..._0xbcad66)=>{let _0x32f919=JSON['stringify'](_0xbcad66);if(_0x3a54b3['has'](_0x32f919))return _0x3a54b3['get'](_0x32f919);let _0x2efee2=_0x9f764d(..._0xbcad66);return _0x3a54b3['set'](_0x32f919,_0x2efee2),_0x2efee2;};}var RF=new Set();function PF(_0x34e1db){RF['has'](_0x34e1db)||(RF['add'](_0x34e1db),console['warn'](_0x34e1db));}function MF(_0x3cbf1a){let _0x1811bf={},t=_0x3cbf1a['ctx'],_0x4a6219={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x3cbf1a['uploadCollection']['size'],'failedCount':()=>_0x1811bf['failedEntries']['length'],'successCount':()=>_0x1811bf['successEntries']['length'],'uploadingCount':()=>_0x1811bf['uploadingEntries']['length'],'status':()=>_0x1811bf['isFailed']?'failed':_0x1811bf['isUploading']?'uploading':_0x1811bf['isSuccess']?'success':'idle','isSuccess':()=>_0x1811bf['allEntries']['length']>0x0&&0x0===_0x1811bf['errors']['length']&&_0x1811bf['successEntries']['length']===_0x1811bf['allEntries']['length'],'isUploading':()=>_0x1811bf['allEntries']['some'](_0x573661=>'uploading'===_0x573661['status']),'isFailed':()=>_0x1811bf['errors']['length']>0x0||_0x1811bf['failedEntries']['length']>0x0,'allEntries':()=>kF(_0x3cbf1a),'successEntries':()=>_0x1811bf['allEntries']['filter'](_0x3a248f=>'success'===_0x3a248f['status']),'failedEntries':()=>_0x1811bf['allEntries']['filter'](_0x143cfd=>'failed'===_0x143cfd['status']),'uploadingEntries':()=>_0x1811bf['allEntries']['filter'](_0x105586=>'uploading'===_0x105586['status']),'idleEntries':()=>_0x1811bf['allEntries']['filter'](_0x2c6620=>'idle'===_0x2c6620['status'])},_0x2e8409=function(_0x5266a9){let _0x20454e=!0x1;return setTimeout(()=>{_0x20454e=!0x0;},0x0),_0x242277=>(..._0x2de451)=>(_0x20454e&&PF(_0x5266a9),_0x242277(..._0x2de451));}('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(let [_0x2b1e3f,_0x323668]of Object['entries'](_0x4a6219)){let _0x3e65a1=_0x2b1e3f,_0x5bc278=xF(_0x2e8409(_0x323668));Object['defineProperty'](_0x1811bf,_0x3e65a1,{'get':_0x5bc278,'enumerable':!0x0});}return _0x1811bf;}var NF=class extends NU{constructor(){super(...arguments),this['Et']=Uj(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x21b3ca,fileName:_0x3ebc50,source:_0x2697a4}={})=>{let _0x4b7257=this['v']['add']({'externalUrl':t,'fileName':_0x3ebc50??null,'silent':_0x21b3ca??!0x1,'source':_0x2697a4??SF['API']});return this['getOutputItem'](_0x4b7257);},this['addFileFromUuid']=(t,{silent:_0x548241,fileName:_0x403445,source:_0xf6bf02}={})=>{let _0x4ca055=this['v']['add']({'uuid':t,'fileName':_0x403445??null,'silent':_0x548241??!0x1,'source':_0xf6bf02??SF['API']});return this['getOutputItem'](_0x4ca055);},this['addFileFromCdnUrl']=(t,{silent:_0x2bc260,fileName:_0x19adac,source:_0x49a97a}={})=>{let _0x372d29=(({url:_0x7e07cd,cdnBase:_0x53a32e})=>{let t=new URL(_0x53a32e),_0x2b740f=new URL(xU),_0x4a644a=new URL(_0x7e07cd);if(t['host']!==_0x4a644a['host']&&_0x2b740f['host']!==_0x4a644a['host'])return null;let _0x1603cc=EF['exec'](_0x4a644a['pathname']);if(!_0x1603cc)return null;let [,_0x1c2535,_0xf3f0e1,_0x371332]=_0x1603cc;return _0x1c2535?{'uuid':_0x1c2535,'cdnUrlModifiers':_0xf3f0e1||'','filename':_0x371332||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x372d29)throw new Error('Invalid\x20CDN\x20URL');let _0x11d728=this['v']['add']({'uuid':_0x372d29['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x372d29['cdnUrlModifiers'],'fileName':_0x19adac??_0x372d29['filename']??null,'silent':_0x2bc260??!0x1,'source':_0x49a97a??SF['API']});return this['getOutputItem'](_0x11d728);},this['addFileFromObject']=(t,{silent:_0x58a84,fileName:_0x32c9a6,source:_0x196eec,fullPath:_0x68c244}={})=>{let _0x598843=this['v']['add']({'file':t,'isImage':bj(t),'mimeType':t['type']||null,'fileName':_0x32c9a6??t['name'],'fileSize':t['size'],'silent':_0x58a84??!0x1,'source':_0x196eec??SF['API'],'fullPath':_0x68c244??null});return this['getOutputItem'](_0x598843);},this['removeFileByInternalId']=t=>{if(!this['v']['read'](t))throw new Error('File\x20with\x20internalId\x20'+t+'\x20not\x20found');this['v']['remove'](t);},this['uploadAll']=()=>{let t=this['v']['items']()['filter'](_0x411b78=>{let _0x214e7e=this['v']['read'](_0x411b78);return!!_0x214e7e&&!(_0x214e7e['getValue']('isRemoved')||_0x214e7e['getValue']('isUploading')||_0x214e7e['getValue']('fileInfo')||0x0!==_0x214e7e['getValue']('errors')['length']||_0x214e7e['getValue']('isValidationPending')||_0x214e7e['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](kj['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x2d3e7c=eU(Oj([this['cfg']['accept']??'',...this['cfg']['imgOnly']?pj:[]])),_0x588a26='uploadcare-file-input',_0x5215a9=document['createElement']('input');if(_0x5215a9['setAttribute'](_0x588a26,''),_F(_0x5215a9,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x5215a9['type']='file',_0x5215a9['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x5215a9['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x17a413,isVideoRecordingEnabled:_0x3083c1}=(_0x44e134=>({'isVideoRecordingEnabled':tU(_0x44e134['cameraModes'])['includes'](bF['VIDEO']),'isPhotoEnabled':tU(_0x44e134['cameraModes'])['includes'](bF['PHOTO'])}))(this['cfg']);t['modeCamera']===bF['PHOTO']&&_0x17a413?_0x5215a9['accept']=mj:t['modeCamera']===bF['VIDEO']&&_0x3083c1?_0x5215a9['accept']=gj:_0x5215a9['accept']=[mj,_0x3083c1&&gj]['filter'](Boolean)['join'](',');}else _0x5215a9['accept']=_0x2d3e7c;_0x5215a9['addEventListener']('change',()=>{_0x5215a9['files']&&([..._0x5215a9['files']]['forEach'](_0x3eac78=>{this['addFileFromObject'](_0x3eac78,{'source':t['captureCamera']?SF['CAMERA']:SF['LOCAL']});}),this['e']['pub']('*currentActivity',KB['UPLOAD_LIST']),this['i']['modalManager']?.['open'](KB['UPLOAD_LIST']),_0x5215a9['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x588a26+']')['forEach'](_0x308188=>{_0x308188['remove']();}),document['body']['appendChild'](_0x5215a9),_0x5215a9['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',KB['UPLOAD_LIST']),this['i']['modalManager']?.['open'](KB['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x315de2=this['On'][0x0];this['go']()['then'](()=>{let _0x5b9aef=this['i']['pluginManager']['snapshot']()['sources'],_0x4a776b=_0x5b9aef['find'](_0x74255a=>_0x74255a['id']===_0x315de2);if(_0x4a776b){let _0x3126f3=_0x4a776b['expand']?.()??[_0x315de2];return void(0x1===_0x3126f3['length']?(_0x5b9aef['find'](_0x5e3e3e=>_0x5e3e3e['id']===_0x3126f3[0x0])??_0x4a776b)['onSelect']():(this['e']['pub']('*currentActivity',KB['START_FROM']),this['i']['modalManager']?.['open'](KB['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',KB['START_FROM']),this['i']['modalManager']?.['open'](KB['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x2f9c1b,_0x584dbf)=>{for(let t of _0x2f9c1b)if(_0x584dbf(t))return t;})(this['i']['blocksRegistry'],_0x93824d=>'doneActivity'in _0x93824d);t&&(this['e']['pub']('*currentActivity',t['doneActivity']),this['e']['pub']('*history',t['doneActivity']?[t['doneActivity']]:[]),this['e']['read']('*currentActivity')||this['i']['modalManager']?.['closeAll']());},this['setCurrentActivity']=(t,..._0x30101e)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x30101e[0x0]??{}),this['e']['pub']('*currentActivity',t),vF(this['i']['blocksRegistry'],_0x8e265=>_0x8e265['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x47bfe8)=>this['i']['eventEmitter']['on'](t,_0x47bfe8),this['getCurrentActivity']=()=>this['e']['read']('*currentActivity'),this['historyBack']=()=>{this['e']['read']('*historyBack')?.();},this['setModalState']=t=>{this['go']()['then'](()=>{if(!t)return this['i']['modalManager']?.['close'](this['e']['read']('*currentActivity')),void this['e']['pub']('*currentActivity',null);let _0x5677cc=this['e']['read']('*currentActivity');if(_0x5677cc)return vF(this['i']['blocksRegistry'],_0x31e7d4=>_0x31e7d4['activityType']===_0x5677cc,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x5677cc+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x5677cc);});console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');});};}get['v'](){return this['i']['uploadCollection'];}get['cfg'](){return this['ze'];}get['l10n'](){return this['Et'];}['removeAllFiles'](){this['v']['clearAll']();}['getOutputItem'](t){let _0x51da04=wQ['getCtx'](t);if(!_0x51da04)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x50ff5c=_0x51da04['store'],_0x2c8965=_0x50ff5c['fileInfo'],_0x256969=_0x50ff5c['isRemoved']?'removed':_0x50ff5c['errors']['length']>0x0?'failed':_0x50ff5c['fileInfo']?'success':_0x50ff5c['isUploading']?'uploading':'idle';return{'uuid':_0x2c8965?.['uuid']??_0x50ff5c['uuid']??null,'internalId':t,'name':_0x2c8965?.['originalFilename']??_0x50ff5c['fileName'],'size':_0x2c8965?.['size']??_0x50ff5c['fileSize'],'isImage':_0x2c8965?.['isImage']??_0x50ff5c['isImage'],'mimeType':_0x2c8965?.['mimeType']??_0x50ff5c['mimeType'],'file':_0x50ff5c['file'],'externalUrl':_0x50ff5c['externalUrl'],'cdnUrlModifiers':_0x50ff5c['cdnUrlModifiers'],'cdnUrl':_0x50ff5c['cdnUrl']??_0x2c8965?.['cdnUrl']??null,'fullPath':_0x50ff5c['fullPath'],'uploadProgress':_0x50ff5c['uploadProgress'],'fileInfo':_0x2c8965??null,'metadata':_0x50ff5c['metadata']??_0x2c8965?.['metadata']??null,'isSuccess':'success'===_0x256969,'isUploading':'uploading'===_0x256969,'isFailed':'failed'===_0x256969,'isRemoved':'removed'===_0x256969,'isValidationPending':_0x50ff5c['isValidationPending'],'errors':_0x50ff5c['errors'],'status':_0x256969,'source':_0x50ff5c?.['source']};}['getOutputCollectionState'](){return MF(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=mU(this['cfg']['sourceList'])),t;}},LF={'file':null,'externalUrl':null,'fileName':null,'fileSize':null,'lastModified':Date['now'](),'uploadProgress':0x0,'uuid':null,'isImage':!0x1,'mimeType':null,'ctxName':null,'cdnUrl':null,'cdnUrlModifiers':null,'fileInfo':null,'isUploading':!0x1,'abortController':null,'thumbUrl':null,'silent':!0x1,'source':null,'fullPath':null,'metadata':null,'errors':[],'uploadError':null,'isRemoved':!0x1,'isQueuedForUploading':!0x1,'isValidationPending':!0x1,'isQueuedForValidation':!0x1},$F=33.333333333333336;function DF(_0x1c51d,_0x30e12d){for(let [t,_0x18352f]of Object['entries'](_0x30e12d))_0x1c51d['setAttributeNS'](null,t,_0x18352f['toString']());}function QF(_0xe4051b,_0x3731b4={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0xe4051b);return DF(t,_0x3731b4),t;}function VF(_0x2942a5,_0x39865f,t){let {x:_0x1681c1,y:_0x59b284,width:_0xfbe448,height:_0x494437}=_0x2942a5,_0x3ddfda=_0x39865f['includes']('w')?0x0:0x1,_0x4b7e45=_0x39865f['includes']('n')?0x0:0x1,_0xbb0570=0x0===_0x3ddfda?-0x1:0x1,_0x40898b=0x0===_0x4b7e45?-0x1:0x1,_0x2c6475=[_0x1681c1+_0x3ddfda*_0xfbe448+1.5*_0xbb0570,_0x59b284+_0x4b7e45*_0x494437+1.5*_0x40898b-0x18*t*_0x40898b],_0x2d8205=[_0x1681c1+_0x3ddfda*_0xfbe448+1.5*_0xbb0570,_0x59b284+_0x4b7e45*_0x494437+1.5*_0x40898b],_0x103b4f=[_0x1681c1+_0x3ddfda*_0xfbe448-0x18*t*_0xbb0570+1.5*_0xbb0570,_0x59b284+_0x4b7e45*_0x494437+1.5*_0x40898b];return{'d':'M\x20'+_0x2c6475[0x0]+'\x20'+_0x2c6475[0x1]+'\x20L\x20'+_0x2d8205[0x0]+'\x20'+_0x2d8205[0x1]+'\x20L\x20'+_0x103b4f[0x0]+'\x20'+_0x103b4f[0x1],'center':[_0x2d8205[0x0],_0x2d8205[0x1]]};}function UF(_0x2700e7,_0x55859c,t){let _0x49bd45,_0x308f77,{x:_0x1d9a00,y:_0x3ce1ae,width:_0x1646e5,height:_0x3f8cdd}=_0x2700e7,_0x1c1a31='n'===_0x55859c||'s'===_0x55859c,_0x3e5af1=_0x1c1a31?0.5:'w'===_0x55859c?0x0:0x1,_0x2eaac3='w'===_0x55859c||'e'===_0x55859c?0.5:'n'===_0x55859c?0x0:0x1,_0x946701='w'===_0x55859c?-0x1:'e'===_0x55859c?0x1:0x0,_0x297503='n'===_0x55859c?-0x1:'s'===_0x55859c?0x1:0x0;return _0x1c1a31?(_0x49bd45=[_0x1d9a00+_0x3e5af1*_0x1646e5-0x22*t/0x2,_0x3ce1ae+_0x2eaac3*_0x3f8cdd+1.5*_0x297503],_0x308f77=[_0x1d9a00+_0x3e5af1*_0x1646e5+0x22*t/0x2,_0x3ce1ae+_0x2eaac3*_0x3f8cdd+1.5*_0x297503]):(_0x49bd45=[_0x1d9a00+_0x3e5af1*_0x1646e5+1.5*_0x946701,_0x3ce1ae+_0x2eaac3*_0x3f8cdd-0x22*t/0x2],_0x308f77=[_0x1d9a00+_0x3e5af1*_0x1646e5+1.5*_0x946701,_0x3ce1ae+_0x2eaac3*_0x3f8cdd+0x22*t/0x2]),{'d':'M\x20'+_0x49bd45[0x0]+'\x20'+_0x49bd45[0x1]+'\x20L\x20'+_0x308f77[0x0]+'\x20'+_0x308f77[0x1],'center':[(_0x49bd45[0x0]+_0x308f77[0x0])/0x2,(_0x49bd45[0x1]+_0x308f77[0x1])/0x2]};}function BF(_0x217b6,_0x79e09d){let {x:t}=_0x217b6,{y:_0x2fec74}=_0x217b6;return _0x217b6['x']<_0x79e09d['x']?t=_0x79e09d['x']:_0x217b6['x']+_0x217b6['width']>_0x79e09d['x']+_0x79e09d['width']&&(t=_0x79e09d['x']+_0x79e09d['width']-_0x217b6['width']),_0x217b6['y']<_0x79e09d['y']?_0x2fec74=_0x79e09d['y']:_0x217b6['y']+_0x217b6['height']>_0x79e09d['y']+_0x79e09d['height']&&(_0x2fec74=_0x79e09d['y']+_0x79e09d['height']-_0x217b6['height']),{..._0x217b6,'x':t,'y':_0x2fec74};}function jF({direction:_0x24ec4e,..._0x51faa2}){switch(_0x24ec4e){case'n':return function({rect:_0x5b1b37,delta:_0x5ade2c,aspectRatio:t,imageBox:_0x522b80}){let [,_0x297faf]=_0x5ade2c,{y:_0x6b0b8a,width:_0x3d2e83,height:_0x14fb25}=_0x5b1b37;_0x6b0b8a+=_0x297faf,_0x14fb25-=_0x297faf,t&&(_0x3d2e83=_0x14fb25*t);let _0x4ed4e8=_0x5b1b37['x']+_0x5b1b37['width']/0x2-_0x3d2e83/0x2;return _0x6b0b8a<=_0x522b80['y']&&(_0x6b0b8a=_0x522b80['y'],_0x14fb25=_0x5b1b37['y']+_0x5b1b37['height']-_0x6b0b8a,t&&(_0x3d2e83=_0x14fb25*t,_0x4ed4e8=_0x5b1b37['x']+_0x5b1b37['width']/0x2-_0x3d2e83/0x2)),_0x4ed4e8<=_0x522b80['x']&&(_0x4ed4e8=_0x522b80['x'],_0x6b0b8a=_0x5b1b37['y']+_0x5b1b37['height']-_0x14fb25),_0x4ed4e8+_0x3d2e83>=_0x522b80['x']+_0x522b80['width']&&(_0x4ed4e8=Math['max'](_0x522b80['x'],_0x522b80['x']+_0x522b80['width']-_0x3d2e83),_0x3d2e83=_0x522b80['x']+_0x522b80['width']-_0x4ed4e8,t&&(_0x14fb25=_0x3d2e83/t),_0x6b0b8a=_0x5b1b37['y']+_0x5b1b37['height']-_0x14fb25),_0x14fb25<0x1&&(_0x14fb25=0x1,t&&(_0x3d2e83=_0x14fb25*t,_0x4ed4e8=_0x5b1b37['x']+_0x5b1b37['width']/0x2-_0x3d2e83/0x2),_0x6b0b8a=_0x5b1b37['y']+_0x5b1b37['height']-_0x14fb25),_0x3d2e83<0x1&&(_0x3d2e83=0x1,t&&(_0x14fb25=_0x3d2e83/t,_0x4ed4e8=_0x5b1b37['x']+_0x5b1b37['width']/0x2-_0x3d2e83/0x2),_0x6b0b8a=_0x5b1b37['y']+_0x5b1b37['height']-_0x14fb25),{'x':_0x4ed4e8,'y':_0x6b0b8a,'width':_0x3d2e83,'height':_0x14fb25};}(_0x51faa2);case'w':return function({rect:_0x418f0e,delta:_0x5a4f48,aspectRatio:t,imageBox:_0x101013}){let [_0x148474]=_0x5a4f48,{x:_0x13c6a4,width:_0x56e090,height:_0x2b17db}=_0x418f0e;_0x13c6a4+=_0x148474,_0x56e090-=_0x148474,t&&(_0x2b17db=_0x56e090/t);let _0xee1b5=_0x418f0e['y']+_0x418f0e['height']/0x2-_0x2b17db/0x2;return _0x13c6a4<=_0x101013['x']&&(_0x13c6a4=_0x101013['x'],_0x56e090=_0x418f0e['x']+_0x418f0e['width']-_0x13c6a4,t&&(_0x2b17db=_0x56e090/t,_0xee1b5=_0x418f0e['y']+_0x418f0e['height']/0x2-_0x2b17db/0x2)),_0xee1b5<=_0x101013['y']&&(_0xee1b5=_0x101013['y'],_0x13c6a4=_0x418f0e['x']+_0x418f0e['width']-_0x56e090),_0xee1b5+_0x2b17db>=_0x101013['y']+_0x101013['height']&&(_0xee1b5=Math['max'](_0x101013['y'],_0x101013['y']+_0x101013['height']-_0x2b17db),_0x2b17db=_0x101013['y']+_0x101013['height']-_0xee1b5,t&&(_0x56e090=_0x2b17db*t),_0x13c6a4=_0x418f0e['x']+_0x418f0e['width']-_0x56e090),_0x2b17db<0x1&&(_0x2b17db=0x1,t&&(_0x56e090=_0x2b17db*t),_0xee1b5=_0x418f0e['y']+_0x418f0e['height']/0x2-_0x2b17db/0x2,_0x13c6a4=_0x418f0e['x']+_0x418f0e['width']-_0x56e090),_0x56e090<0x1&&(_0x56e090=0x1,t&&(_0x2b17db=_0x56e090/t),_0xee1b5=_0x418f0e['y']+_0x418f0e['height']/0x2-_0x2b17db/0x2,_0x13c6a4=_0x418f0e['x']+_0x418f0e['width']-_0x56e090),{'x':_0x13c6a4,'y':_0xee1b5,'width':_0x56e090,'height':_0x2b17db};}(_0x51faa2);case's':return function({rect:_0x5ac9ba,delta:_0xb5cf50,aspectRatio:t,imageBox:_0x23d86b}){let [,_0x29abfa]=_0xb5cf50,{y:_0x32f5e3,width:_0x50436f,height:_0x4c6b58}=_0x5ac9ba;_0x4c6b58+=_0x29abfa,t&&(_0x50436f=_0x4c6b58*t);let _0x159c28=_0x5ac9ba['x']+_0x5ac9ba['width']/0x2-_0x50436f/0x2;return _0x32f5e3+_0x4c6b58>=_0x23d86b['y']+_0x23d86b['height']&&(_0x4c6b58=_0x23d86b['y']+_0x23d86b['height']-_0x32f5e3,t&&(_0x50436f=_0x4c6b58*t),_0x159c28=_0x5ac9ba['x']+_0x5ac9ba['width']/0x2-_0x50436f/0x2),_0x159c28<=_0x23d86b['x']&&(_0x159c28=_0x23d86b['x'],_0x32f5e3=_0x5ac9ba['y']),_0x159c28+_0x50436f>=_0x23d86b['x']+_0x23d86b['width']&&(_0x159c28=Math['max'](_0x23d86b['x'],_0x23d86b['x']+_0x23d86b['width']-_0x50436f),_0x50436f=_0x23d86b['x']+_0x23d86b['width']-_0x159c28,t&&(_0x4c6b58=_0x50436f/t),_0x32f5e3=_0x5ac9ba['y']),_0x4c6b58<0x1&&(_0x4c6b58=0x1,t&&(_0x50436f=_0x4c6b58*t),_0x159c28=_0x5ac9ba['x']+_0x5ac9ba['width']/0x2-_0x50436f/0x2),_0x50436f<0x1&&(_0x50436f=0x1,t&&(_0x4c6b58=_0x50436f/t),_0x159c28=_0x5ac9ba['x']+_0x5ac9ba['width']/0x2-_0x50436f/0x2),{'x':_0x159c28,'y':_0x32f5e3,'width':_0x50436f,'height':_0x4c6b58};}(_0x51faa2);case'e':return function({rect:_0x1ec0a0,delta:_0x1a1b05,aspectRatio:t,imageBox:_0x4f130d}){let [_0x4a6f54]=_0x1a1b05,{x:_0x4e1eef,width:_0x4ed101,height:_0x1ea821}=_0x1ec0a0;_0x4ed101+=_0x4a6f54,t&&(_0x1ea821=_0x4ed101/t);let _0x19f3ca=_0x1ec0a0['y']+_0x1ec0a0['height']/0x2-_0x1ea821/0x2;return _0x4e1eef+_0x4ed101>=_0x4f130d['x']+_0x4f130d['width']&&(_0x4ed101=_0x4f130d['x']+_0x4f130d['width']-_0x4e1eef,t&&(_0x1ea821=_0x4ed101/t),_0x19f3ca=_0x1ec0a0['y']+_0x1ec0a0['height']/0x2-_0x1ea821/0x2),_0x19f3ca<=_0x4f130d['y']&&(_0x19f3ca=_0x4f130d['y'],_0x4e1eef=_0x1ec0a0['x']),_0x19f3ca+_0x1ea821>=_0x4f130d['y']+_0x4f130d['height']&&(_0x19f3ca=Math['max'](_0x4f130d['y'],_0x4f130d['y']+_0x4f130d['height']-_0x1ea821),_0x1ea821=_0x4f130d['y']+_0x4f130d['height']-_0x19f3ca,t&&(_0x4ed101=_0x1ea821*t),_0x4e1eef=_0x1ec0a0['x']),_0x1ea821<0x1&&(_0x1ea821=0x1,t&&(_0x4ed101=_0x1ea821*t),_0x19f3ca=_0x1ec0a0['y']+_0x1ec0a0['height']/0x2-_0x1ea821/0x2),_0x4ed101<0x1&&(_0x4ed101=0x1,t&&(_0x1ea821=_0x4ed101/t),_0x19f3ca=_0x1ec0a0['y']+_0x1ec0a0['height']/0x2-_0x1ea821/0x2),{'x':_0x4e1eef,'y':_0x19f3ca,'width':_0x4ed101,'height':_0x1ea821};}(_0x51faa2);case'nw':return function({rect:_0x4467b5,delta:_0x1d720e,aspectRatio:t,imageBox:_0x5f348e}){let [_0x1c0ae4,_0xf61ea1]=_0x1d720e,{x:_0x585f36,y:_0x457f91,width:_0x58e109,height:_0x1662d6}=_0x4467b5;return _0x585f36+_0x1c0ae4<_0x5f348e['x']&&(_0x1c0ae4=_0x5f348e['x']-_0x585f36),_0x457f91+_0xf61ea1<_0x5f348e['y']&&(_0xf61ea1=_0x5f348e['y']-_0x457f91),_0x585f36+=_0x1c0ae4,_0x58e109-=_0x1c0ae4,_0x457f91+=_0xf61ea1,_0x1662d6-=_0xf61ea1,t&&Math['abs'](_0x58e109/_0x1662d6)>t?(_0xf61ea1=_0x58e109/t-_0x1662d6,_0x1662d6+=_0xf61ea1,_0x457f91-=_0xf61ea1,_0x457f91<=_0x5f348e['y']&&(_0x1662d6-=_0x5f348e['y']-_0x457f91,_0x58e109=_0x1662d6*t,_0x585f36=_0x4467b5['x']+_0x4467b5['width']-_0x58e109,_0x457f91=_0x5f348e['y'])):t&&(_0x1c0ae4=_0x1662d6*t-_0x58e109,_0x58e109+=_0x1c0ae4,_0x585f36-=_0x1c0ae4,_0x585f36<=_0x5f348e['x']&&(_0x58e109-=_0x5f348e['x']-_0x585f36,_0x1662d6=_0x58e109/t,_0x585f36=_0x5f348e['x'],_0x457f91=_0x4467b5['y']+_0x4467b5['height']-_0x1662d6)),_0x1662d6<0x1&&(_0x1662d6=0x1,t&&(_0x58e109=_0x1662d6*t),_0x585f36=_0x4467b5['x']+_0x4467b5['width']-_0x58e109,_0x457f91=_0x4467b5['y']+_0x4467b5['height']-_0x1662d6),_0x58e109<0x1&&(_0x58e109=0x1,t&&(_0x1662d6=_0x58e109/t),_0x585f36=_0x4467b5['x']+_0x4467b5['width']-_0x58e109,_0x457f91=_0x4467b5['y']+_0x4467b5['height']-_0x1662d6),{'x':_0x585f36,'y':_0x457f91,'width':_0x58e109,'height':_0x1662d6};}(_0x51faa2);case'ne':return function({rect:_0x5ecbd5,delta:_0x1ffbdb,aspectRatio:t,imageBox:_0x4192ed}){let [_0x5b23a4,_0x1683c6]=_0x1ffbdb,{x:_0x37c732,y:_0x3043fa,width:_0xe1978c,height:_0x3de580}=_0x5ecbd5;return _0x37c732+_0xe1978c+_0x5b23a4>_0x4192ed['x']+_0x4192ed['width']&&(_0x5b23a4=_0x4192ed['x']+_0x4192ed['width']-_0x37c732-_0xe1978c),_0x3043fa+_0x1683c6<_0x4192ed['y']&&(_0x1683c6=_0x4192ed['y']-_0x3043fa),_0xe1978c+=_0x5b23a4,_0x3043fa+=_0x1683c6,_0x3de580-=_0x1683c6,t&&Math['abs'](_0xe1978c/_0x3de580)>t?(_0x1683c6=_0xe1978c/t-_0x3de580,_0x3de580+=_0x1683c6,_0x3043fa-=_0x1683c6,_0x3043fa<=_0x4192ed['y']&&(_0x3de580-=_0x4192ed['y']-_0x3043fa,_0xe1978c=_0x3de580*t,_0x37c732=_0x5ecbd5['x'],_0x3043fa=_0x4192ed['y'])):t&&(_0x5b23a4=_0x3de580*t-_0xe1978c,_0xe1978c+=_0x5b23a4,_0x37c732+_0xe1978c>=_0x4192ed['x']+_0x4192ed['width']&&(_0xe1978c=_0x4192ed['x']+_0x4192ed['width']-_0x37c732,_0x3de580=_0xe1978c/t,_0x37c732=_0x4192ed['x']+_0x4192ed['width']-_0xe1978c,_0x3043fa=_0x5ecbd5['y']+_0x5ecbd5['height']-_0x3de580)),_0x3de580<0x1&&(_0x3de580=0x1,t&&(_0xe1978c=_0x3de580*t),_0x3043fa=_0x5ecbd5['y']+_0x5ecbd5['height']-_0x3de580),_0xe1978c<0x1&&(_0xe1978c=0x1,t&&(_0x3de580=_0xe1978c/t),_0x3043fa=_0x5ecbd5['y']+_0x5ecbd5['height']-_0x3de580),{'x':_0x37c732,'y':_0x3043fa,'width':_0xe1978c,'height':_0x3de580};}(_0x51faa2);case'sw':return function({rect:_0xd2e0df,delta:_0x5eb697,aspectRatio:t,imageBox:_0x4594c6}){let [_0x2298cb,_0x2239d4]=_0x5eb697,{x:_0x185934,y:_0x2ad049,width:_0x58aef5,height:_0x4b84e6}=_0xd2e0df;return _0x185934+_0x2298cb<_0x4594c6['x']&&(_0x2298cb=_0x4594c6['x']-_0x185934),_0x2ad049+_0x4b84e6+_0x2239d4>_0x4594c6['y']+_0x4594c6['height']&&(_0x2239d4=_0x4594c6['y']+_0x4594c6['height']-_0x2ad049-_0x4b84e6),_0x185934+=_0x2298cb,_0x58aef5-=_0x2298cb,_0x4b84e6+=_0x2239d4,t&&Math['abs'](_0x58aef5/_0x4b84e6)>t?(_0x2239d4=_0x58aef5/t-_0x4b84e6,_0x4b84e6+=_0x2239d4,_0x2ad049+_0x4b84e6>=_0x4594c6['y']+_0x4594c6['height']&&(_0x4b84e6=_0x4594c6['y']+_0x4594c6['height']-_0x2ad049,_0x58aef5=_0x4b84e6*t,_0x185934=_0xd2e0df['x']+_0xd2e0df['width']-_0x58aef5,_0x2ad049=_0x4594c6['y']+_0x4594c6['height']-_0x4b84e6)):t&&(_0x2298cb=_0x4b84e6*t-_0x58aef5,_0x58aef5+=_0x2298cb,_0x185934-=_0x2298cb,_0x185934<=_0x4594c6['x']&&(_0x58aef5-=_0x4594c6['x']-_0x185934,_0x4b84e6=_0x58aef5/t,_0x185934=_0x4594c6['x'],_0x2ad049=_0xd2e0df['y'])),_0x4b84e6<0x1&&(_0x4b84e6=0x1,t&&(_0x58aef5=_0x4b84e6*t),_0x185934=_0xd2e0df['x']+_0xd2e0df['width']-_0x58aef5),_0x58aef5<0x1&&(_0x58aef5=0x1,t&&(_0x4b84e6=_0x58aef5/t),_0x185934=_0xd2e0df['x']+_0xd2e0df['width']-_0x58aef5),{'x':_0x185934,'y':_0x2ad049,'width':_0x58aef5,'height':_0x4b84e6};}(_0x51faa2);case'se':return function({rect:_0x4cdc15,delta:_0x44e74d,aspectRatio:t,imageBox:_0x51be7c}){let [_0xa1140,_0x1f4a2b]=_0x44e74d,{x:_0x47a800,y:_0x530c26,width:_0x2c9fbf,height:_0x3b9aa8}=_0x4cdc15;return _0x47a800+_0x2c9fbf+_0xa1140>_0x51be7c['x']+_0x51be7c['width']&&(_0xa1140=_0x51be7c['x']+_0x51be7c['width']-_0x47a800-_0x2c9fbf),_0x530c26+_0x3b9aa8+_0x1f4a2b>_0x51be7c['y']+_0x51be7c['height']&&(_0x1f4a2b=_0x51be7c['y']+_0x51be7c['height']-_0x530c26-_0x3b9aa8),_0x2c9fbf+=_0xa1140,_0x3b9aa8+=_0x1f4a2b,t&&Math['abs'](_0x2c9fbf/_0x3b9aa8)>t?(_0x1f4a2b=_0x2c9fbf/t-_0x3b9aa8,_0x3b9aa8+=_0x1f4a2b,_0x530c26+_0x3b9aa8>=_0x51be7c['y']+_0x51be7c['height']&&(_0x3b9aa8=_0x51be7c['y']+_0x51be7c['height']-_0x530c26,_0x2c9fbf=_0x3b9aa8*t,_0x47a800=_0x4cdc15['x'],_0x530c26=_0x51be7c['y']+_0x51be7c['height']-_0x3b9aa8)):t&&(_0xa1140=_0x3b9aa8*t-_0x2c9fbf,_0x2c9fbf+=_0xa1140,_0x47a800+_0x2c9fbf>=_0x51be7c['x']+_0x51be7c['width']&&(_0x2c9fbf=_0x51be7c['x']+_0x51be7c['width']-_0x47a800,_0x3b9aa8=_0x2c9fbf/t,_0x47a800=_0x51be7c['x']+_0x51be7c['width']-_0x2c9fbf,_0x530c26=_0x4cdc15['y'])),_0x3b9aa8<0x1&&(_0x3b9aa8=0x1,t&&(_0x2c9fbf=_0x3b9aa8*t)),_0x2c9fbf<0x1&&(_0x2c9fbf=0x1,t&&(_0x3b9aa8=_0x2c9fbf/t)),{'x':_0x47a800,'y':_0x530c26,'width':_0x2c9fbf,'height':_0x3b9aa8};}(_0x51faa2);default:return _0x51faa2['rect'];}}function FF({width:_0x5af930,height:_0x7e5b01},t){let _0x389ae7=t/0x5a%0x2!=0x0;return{'width':_0x389ae7?_0x7e5b01:_0x5af930,'height':_0x389ae7?_0x5af930:_0x7e5b01};}function HF(_0xccc84a,_0x2bcbdb,t){let _0x4be9ea,_0x2402f9;_0xccc84a/_0x2bcbdb>t?(_0x4be9ea=Math['round'](_0x2bcbdb*t),_0x2402f9=_0x2bcbdb):(_0x4be9ea=_0xccc84a,_0x2402f9=Math['round'](_0xccc84a/t));let _0x4856fd=Math['round']((_0xccc84a-_0x4be9ea)/0x2),_0x3828ba=Math['round']((_0x2bcbdb-_0x2402f9)/0x2);return _0x4856fd+_0x4be9ea>_0xccc84a&&(_0x4be9ea=_0xccc84a-_0x4856fd),_0x3828ba+_0x2402f9>_0x2bcbdb&&(_0x2402f9=_0x2bcbdb-_0x3828ba),{'x':_0x4856fd,'y':_0x3828ba,'width':_0x4be9ea,'height':_0x2402f9};}function GF(_0x24db8a){return{'x':Math['round'](_0x24db8a['x']),'y':Math['round'](_0x24db8a['y']),'width':Math['round'](_0x24db8a['width']),'height':Math['round'](_0x24db8a['height'])};}function ZF(_0x2655ef,_0x343ca2,t){return Math['min'](Math['max'](_0x2655ef,_0x343ca2),t);}var XF=['free'],qF=_0x28483d=>{let _0x4790a3=mU(_0x28483d);if(!_0x4790a3||0x0===_0x4790a3['length'])return[];let t=[];for(let _0x2aa380 of _0x4790a3){let _0xb25ef6=_0x2aa380['trim']();if(!_0xb25ef6)continue;let _0x474370=_0xb25ef6['indexOf'](':');if(-0x1===_0x474370&&!XF['includes'](_0xb25ef6)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0xb25ef6);continue;}let _0x1dd06c=Number(_0xb25ef6['slice'](0x0,_0x474370)),_0x40d3f9=Number(_0xb25ef6['slice'](_0x474370+0x1));!(!Number['isFinite'](_0x1dd06c)||!Number['isFinite'](_0x40d3f9)||_0x1dd06c<=0x0||_0x40d3f9<=0x0)||XF['includes'](_0xb25ef6)?t['push']({'id':HV['generateFastUid'](),'type':'aspect-ratio','width':XF['includes'](_0xb25ef6)?0x0:_0x1dd06c,'height':XF['includes'](_0xb25ef6)?0x0:_0x40d3f9,'hasFreeform':XF['includes'](_0xb25ef6)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0xb25ef6);}return t;};function WF(_0x225ff0){return ZU({..._0x225ff0,'libraryName':Rj,'libraryVersion':Pj});}var zF,YF='active',KF='___ACTIVITY_IS_ACTIVE___',JF=class o extends(zF=Fj,zF){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=zB(this),this['lu']=UV(this['cu']['bind'](this),0xa);}['In'](){let t=o['ii']['get'](this);this[KF]=!0x1,this['removeAttribute'](YF),t?.['deactivateCallback']?.();}['uu'](){let t=o['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[KF]=!0x0,this['setAttribute'](YF,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](kj['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',t=>{try{this['activityType']!==t&&this[KF]?this['In']():this['activityType']===t&&!this[KF]&&this['uu']();}catch(_0x1207d8){this['telemetryManager']['sendEventError'](_0x1207d8,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x1207d8);let _0x2c22ee=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x2c22ee??null;}t||(this['$']['*history']=[]);}));}['cu'](){let t=this['$']['*history'];t&&(t['length']>0xa&&(t=t['slice'](t['length']-0xb,t['length']-0x1)),this['historyTracked']&&t[t['length']-0x1]!==this['activityType']&&t['push'](this['activityType']),this['$']['*history']=t);}['Pn'](){return!!this['activityType']&&o['ii']['has'](this);}static{this['ii']=new Map();}get['isActivityActive'](){return!!this[KF];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0x482038={}){let {onActivate:_0x48b4c8,onDeactivate:_0x15ba83}=_0x482038;o['ii']['set'](this,{'activateCallback':_0x48b4c8,'deactivateCallback':_0x15ba83});}['du'](){this['isActivityActive']&&this['In'](),o['ii']['delete'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Pn']()&&this['du']();}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity')??null;}get['doneActivity'](){return this['getCssData']('--cfg-done-activity')??null;}['historyBack'](){let t=this['$']['*history'];if(t){let _0x30ab1d=t['pop']();for(;_0x30ab1d===this['activityType'];)_0x30ab1d=t['pop']();let _0x21309a=!!_0x30ab1d;_0x30ab1d&&(_0x21309a=[...this['blocksRegistry']]['find'](_0x5b4d26=>_0x5b4d26['activityType']===_0x30ab1d)?.['couldOpenActivity']??!0x1),_0x30ab1d=_0x21309a?_0x30ab1d:null,this['$']['*currentActivity']=_0x30ab1d??null,_0x30ab1d&&this['modalManager']?.['open'](_0x30ab1d),this['$']['*history']=t,_0x30ab1d||this['modalManager']?.['closeAll']();}}};JF['activities']=KB;var tH=class o extends JF{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=YB(this),this['bo']=UV(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x533f2e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x533f2e,this['emit'](kj['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x533f2e['totalCount']>0x0&&'success'===_0x533f2e['status']&&this['gu'](_0x533f2e);},0x12c),this['fu']=(t,_0x47c06a,_0x4e1cbe)=>{if(this['isConnected']){(_0x47c06a['size']||_0x4e1cbe['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x47c06a]['map'](_0x3b409e=>_0x3b409e['uid']));for(let _0x6ad8d1 of _0x47c06a)_0x6ad8d1['getValue']('silent')||this['emit'](kj['FILE_ADDED'],this['api']['getOutputItem'](_0x6ad8d1['uid'])),this['i']['wait']('pluginManager')['then'](_0x32c449=>_0x32c449['runOnAddHooks'](_0x6ad8d1));this['validationManager']['runCollectionValidators']();for(let _0x30c70f of _0x4e1cbe){this['$']['*uploadTrigger']['delete'](_0x30c70f['uid']),this['validationManager']['cleanupValidationForEntry'](_0x30c70f),_0x30c70f['getValue']('abortController')?.['abort'](),_0x30c70f['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0x57cf16=_0x30c70f?.['getValue']('thumbUrl');_0x57cf16&&URL['revokeObjectURL'](_0x57cf16),this['emit'](kj['FILE_REMOVED'],this['api']['getOutputItem'](_0x30c70f['uid']));}this['$']['*uploadList']=t['map'](_0x45e498=>({'uid':_0x45e498})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x268979=this['uploadCollection'],_0x31f74a=[...new Set(Object['entries'](t)['filter'](([_0x183e55])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x183e55))['flatMap'](([,_0x18454b])=>[..._0x18454b]))];if(_0x31f74a['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x2669cb=_0x31f74a['filter'](_0x1498b4=>t['fileInfo']?.['has'](_0x1498b4)&&!!wQ['getCtx'](_0x1498b4)?.['store']['fileInfo']);_0x2669cb['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x2669cb),this['validationManager']['runFileValidators']('change',_0x31f74a);}),t['uploadProgress']){for(let _0x2ed98c of t['uploadProgress']){let _0x5eaaa5=wQ['getCtx'](_0x2ed98c);if(!_0x5eaaa5)continue;let {isUploading:_0x134cd4,silent:_0x41beba}=_0x5eaaa5['store'];_0x134cd4&&!_0x41beba&&this['emit'](kj['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x2ed98c));}this['Un']();}if(t['isUploading'])for(let _0x110cbb of t['isUploading']){let _0x44113b=wQ['getCtx'](_0x110cbb);if(!_0x44113b)continue;let {isUploading:_0x221bd4,silent:_0x20207a}=_0x44113b['store'];_0x221bd4&&!_0x20207a&&this['emit'](kj['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x110cbb));}if(t['fileInfo']){for(let _0x35870c of t['fileInfo']){let _0x4f6ad4=wQ['getCtx'](_0x35870c);if(!_0x4f6ad4)continue;let {fileInfo:_0x41ad4a,silent:_0x243ec9}=_0x4f6ad4['store'];_0x41ad4a&&!_0x243ec9&&this['emit'](kj['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x35870c));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x1e9584 of t['errors']){let _0x3998cc=wQ['getCtx'](_0x1e9584);if(!_0x3998cc)continue;let {errors:_0x4c27a7}=_0x3998cc['store'];_0x4c27a7['length']>0x0&&(this['emit'](kj['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x1e9584)),this['emit'](kj['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x181dd5=_0x268979['findItems'](_0x2865c2=>!!_0x2865c2['getValue']('fileInfo')),_0x39b573=_0x268979['findItems'](_0x422bef=>_0x422bef['getValue']('errors')['length']>0x0);_0x268979['size']>0x0&&0x0===_0x39b573['length']&&_0x268979['size']===_0x181dd5['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](kj['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x3f9cba=>!!this['uploadCollection']['read'](_0x3f9cba)?.['getValue']('cdnUrl'))['forEach'](_0x50f123=>{this['emit'](kj['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x50f123));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x36cbf3=[...this['$']['*uploadTrigger']]['filter'](_0x42f283=>!!this['uploadCollection']['read'](_0x42f283));_0x36cbf3['forEach'](_0x1c03e9=>{let _0x457143=this['uploadCollection']['readProp'](_0x1c03e9,'uploadProgress');'number'==typeof _0x457143&&(t+=_0x457143);});let _0x1994fb=_0x36cbf3['length']?Math['round'](t/_0x36cbf3['length']):0x0;this['$']['*commonProgress']!==_0x1994fb&&(this['$']['*commonProgress']=_0x1994fb,this['emit'](kj['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof o&&(t['Xi']&&t['isConnected']&&t!==this));}['initCallback'](){super['initCallback'](),this['Z']('*uploadCollection',()=>new wF({'initialValue':LF,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new Jj(t)),this['Z']('*validationManager',t=>new gF(t)),this['Z']('*publicApi',t=>new NF(t)),!this['pu']&&this['couldBeCtxOwner']&&this['hu']();}['getAPI'](){return this['api'];}get['validationManager'](){return this['ie']('*validationManager');}get['api'](){return this['ie']('*publicApi');}get['uploadCollection'](){return this['ie']('*uploadCollection');}get['secureUploadsManager'](){return this['ie']('*secureUploadsManager');}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xi']&&this['Ln'](),this['bo']['cancel']();}['connectedCallback'](){super['connectedCallback'](),this['Xi']&&this['Rn']();}['hu'](){this['Xi']=!0x0,this['Rn'](),this['subConfigValue']('maxConcurrentRequests',t=>{this['$']['*uploadQueue']['concurrency']=Number(t)||0x1;});}['Rn'](){this['Ln'](),this['vo']=this['uploadCollection']['observeCollection'](this['fu']),this['yo']=this['uploadCollection']['observeProperties'](this['mu']);}['Ln'](){this['yo']?.(),this['vo']?.(),this['yo']=void 0x0,this['vo']=void 0x0;}async['gu'](t){let _0x88b95b=await this['getUploadClientOptions'](),_0x2cfec8=t['allEntries']['map'](_0x279d46=>_0x279d46['uuid']+(_0x279d46['cdnUrlModifiers']?'/'+_0x279d46['cdnUrlModifiers']:'')),_0x3a0bef=new AbortController(),_0x204ea9=await qB(_0x2cfec8,{..._0x88b95b,'signal':_0x3a0bef['signal']});if(this['$']['*collectionState']!==t)return void _0x3a0bef['abort']();this['$']['*groupInfo']=_0x204ea9;let _0x32e019=this['api']['getOutputCollectionState']();this['emit'](kj['GROUP_CREATED'],_0x32e019),this['emit'](kj['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x32e019;}['vu'](){let t=qF(this['cfg']['cropPreset']);if(!t)return;let [_0x4b04d0]=t,_0x304431=this['uploadCollection']['findItems'](_0x3bc053=>!!_0x3bc053['getValue']('fileInfo')&&_0x3bc053['getValue']('isImage')&&!_0x3bc053['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x118403=>this['uploadCollection']['read'](_0x118403))['filter'](Boolean);for(let _0x389440 of _0x304431){let _0x526b90=_0x389440['getValue']('fileInfo');if(!_0x526b90||!_0x526b90['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x389440['uid']);continue;}let {width:_0x22d507,height:_0x787423}=_0x526b90['imageInfo'],_0x25a0dd=HF(_0x22d507,_0x787423,'number'==typeof _0x4b04d0?.['width']&&'number'==typeof _0x4b04d0?.['height']&&_0x4b04d0['width']>0x0&&_0x4b04d0['height']>0x0?_0x4b04d0['width']/_0x4b04d0['height']:0x1),_0x481482=nU('crop/'+_0x25a0dd['width']+'x'+_0x25a0dd['height']+'/'+_0x25a0dd['x']+','+_0x25a0dd['y'],'preview'),_0x2ec2c3=_0x389440['getValue']('cdnUrl');_0x2ec2c3?_0x389440['setMultipleValues']({'cdnUrlModifiers':_0x481482,'cdnUrl':dU(_0x2ec2c3,_0x481482)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x389440['uid']);}}async['getMetadataFor'](t){let _0x3d9b79=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x3d9b79){let _0x19468c=this['api']['getOutputItem'](t);return await _0x3d9b79(_0x19468c);}return _0x3d9b79;}async['getUploadClientOptions'](){let t=await this['secureUploadsManager']['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':WF,'integration':this['cfg']['userAgentIntegration'],'secureSignature':t?.['secureSignature'],'secureExpire':t?.['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 kF(this['i']);}};tH['extSrcList']=Object['freeze']({...TF}),tH['sourceTypes']=Object['freeze']({...SF});var eH=class extends Fj{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x584606=>{this['$n']=_0x584606,this['wo']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['wo']()));}['willUpdate'](t){super['willUpdate'](t),t['has']('name')&&this['wo']();}['wo'](){if(!this['name'])return this['Qi']='',void(this['ri']=null);let _0x5ed265=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x57bbc4=>_0x57bbc4['name']===this['name']);if(_0x5ed265)return this['ri']=_0x5ed265['svg'],void(this['Qi']='');this['ri']=null;let _0x18ff9f='#uc-icon-'+this['name'],_0x299863=this['$n']?.(this['name']);this['Qi']=_0x299863??_0x18ff9f;}['render'](){return this['ri']?aV`${this['yield']('',aV`${zj(this['ri'])}`)}`:aV` ${this['yield']('',aV`<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><use href=${this['Qi']}></use></svg>`)} `;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};dQ([QV({'type':String})],eH['prototype'],'name',0x2),dQ([VV()],eH['prototype'],'Qi',0x2),dQ([VV()],eH['prototype'],'ri',0x2);var iH='--uc-img-',sH='unresolved',nH=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),rH=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),oH=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}}),aH=class extends CV(xV(AV)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in oH){let _0xa3779a=oH[t];this['Mt'][iH+t]=_0xa3779a?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][iH+t];}['set$$'](t){for(let _0x9e0a01 in t){let _0x3f5318=iH+_0x9e0a01,_0x57b918=t[_0x9e0a01];this['Mt'][_0x3f5318]=_0x57b918,this['q'](_0x3f5318,_0x57b918);}}['sub$$'](t,_0x46c729){let _0x180f00=iH+t;this['c']['has'](_0x180f00)||this['c']['set'](_0x180f00,new Set()),this['c']['get'](_0x180f00)?.['add'](_0x46c729);let _0x2f4193=this['Mt'][_0x180f00];null!==_0x2f4193&&''!==_0x2f4193&&_0x46c729(_0x2f4193);}['q'](t,_0x44d46a){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0xfcafc2=>{null===_0x44d46a||''===_0x44d46a||_0xfcafc2(_0x44d46a);});}['analyticsParams'](){return'-/@clib/'+Rj+'/'+Pj+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0x10d490=>{let _0x23864e=_0x10d490;oH[_0x23864e['name']]||t['setAttribute'](_0x23864e['name'],_0x23864e['value']);});}['initIntersection'](t,_0x5d328d){this['Ot']=new IntersectionObserver(_0x344de8=>{_0x344de8['forEach'](_0x1164f8=>{_0x1164f8['isIntersecting']&&(_0x5d328d(),this['Ot']?.['unobserve'](t));});},{'root':null,'rootMargin':'0px'}),this['Ot']['observe'](t),this['Ji']||(this['Ji']=new Set()),this['Ji']['add'](t);}['connectedCallback'](){super['connectedCallback'](),this['yu']();}['yu'](){for(let t in oH){let _0x152389=iH+t,_0xc3a86=this['getCssData'](_0x152389,!0x0);null!=_0xc3a86&&(this['Mt'][_0x152389]=_0xc3a86);}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Ot']&&(this['Ji']?.['forEach'](t=>{this['Ot']?.['unobserve'](t);}),this['Ot']=null),this['c']['clear']();}static get['observedAttributes'](){return Object['keys'](oH);}['attributeChangedCallback'](t,_0x24415,_0x283be5){window['setTimeout'](()=>{let _0x5c5886=iH+t;this['Mt'][_0x5c5886]=_0x283be5,this['q'](_0x5c5886,_0x283be5);});}},cH=class extends aH{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!nH&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x1d97f1=t,_0x402b18=_0x1d97f1['match'](/\d+/)?.[0x0],_0x5d41a9=_0x1d97f1['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x402b18||!_0x5d41a9)return;let _0x773c89=parseInt(_0x402b18,0xa);return Number(_0x773c89)>0x1388&&this['Fn']?0x1388+_0x5d41a9:Number(_0x773c89)>0xbb8&&!this['Fn']?0xbb8+_0x5d41a9:t;}['bu'](t,_0x3a03df){let _0x3683b0={'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x3a03df,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()};return nU(...(_0x44f5f4=>Object['entries'](_0x44f5f4)['filter'](([_0x30c5e3,t])=>void 0x0!==t&&''!==t)['map'](([_0x12d12a,t])=>'cdn-operations'===_0x12d12a||'analytics'===_0x12d12a?t:_0x12d12a+'/'+t))(_0x3683b0));}['To'](t){let _0x9ad701=this['$$'](t);if(null==_0x9ad701||'string'==typeof _0x9ad701||'number'==typeof _0x9ad701||'boolean'==typeof _0x9ad701)return _0x9ad701;}['re'](t='',_0x2bb1f4=''){let _0x528b4e=this['$$']('src');if(_0x528b4e['startsWith']('data:')||_0x528b4e['startsWith']('blob:'))return _0x528b4e;if(nH&&_0x528b4e&&!_0x528b4e['includes']('//'))return this['oi'](_0x528b4e);let _0x16fbf1=this['bu'](t,_0x2bb1f4),_0x2b4aa9=this['$$']('cdn-cname'),_0x30092a=_0x2b4aa9;if(_0x528b4e['startsWith'](String(_0x2b4aa9)))return dU(_0x528b4e,_0x16fbf1);let _0x5bccc9=this['$$']('uuid');if(_0x30092a&&_0x5bccc9)return this['oi'](dU(fU(_0x30092a,_0x5bccc9),_0x16fbf1));if(_0x5bccc9)return this['oi'](dU(fU(_0x30092a,_0x5bccc9),_0x16fbf1));let _0x46bb2f=this['$$']('proxy-cname');if(_0x46bb2f)return this['oi'](dU(_0x46bb2f,_0x16fbf1,this['Dn'](_0x528b4e)));let _0x5afb17=this['$$']('pubkey');return _0x5afb17?this['oi'](dU('https://'+_0x5afb17+'.ucr.io/',_0x16fbf1,this['Dn'](_0x528b4e))):void 0x0;}['oi'](t){let _0x5509a0=this['$$']('secure-delivery-proxy');return _0x5509a0?$j(_0x5509a0,{'previewUrl':t},{'transform':_0x1a5922=>window['encodeURIComponent'](_0x1a5922)}):t;}['It'](t,_0x221b69=0x1,_0x1d8770=!0x0){let _0x514660=t['getBoundingClientRect'](),_0x5745de=_0x221b69*Math['round'](_0x514660['width']),_0x38468b=_0x1d8770?'':_0x221b69*Math['round'](_0x514660['height']);return _0x5745de||_0x38468b?(_0x5745de||'')+'x'+(_0x38468b||''):null;}['wu'](t){let _0xd35f95=_0x4c50ba=>{_0x4c50ba['stopPropagation']();let _0x4b0cdb=new Event(_0x4c50ba['type'],_0x4c50ba);this['dispatchEvent'](_0x4b0cdb);},_0x422b23=['load','error'];for(let _0x4e67e1 of _0x422b23)t['addEventListener'](_0x4e67e1,_0xd35f95);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':rH['PREVIEW'],'img':this['pe']}:{'type':rH['MAIN'],'img':this['img']};}get['we'](){return this['$$']('is-preview-blur');}get['Nn'](){return this['$$']('is-background-for');}get['Vn'](){let t=this['$$']('breakpoints');if(t)return(_0x55fc96=>[...new Set(_0x55fc96)])(mU(t)['map'](_0x19bdd6=>parseInt(_0x19bdd6,0xa)));return null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x46acf9=new Set();_0x46acf9['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x46acf9['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x46acf9['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x137fbd='image-set('+[..._0x46acf9]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x137fbd),t['style']['setProperty']('background-image','-webkit-'+_0x137fbd);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x101ecb=>{t['add'](this['re'](_0x101ecb+'x')+'\x20'+this['er'](_0x101ecb+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x101ecb+'x')+'\x20'+this['er'](0x2*_0x101ecb+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x101ecb+'x')+'\x20'+this['er'](0x3*_0x101ecb+'w'));}):(t['add'](this['re'](this['It'](this['tr']['img']))+'\x201x'),this['$$']('hi-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x3))+'\x203x')),[...t]['join']();}['zn'](){return this['re']();}get['Hn'](){return this['re']('100x','100');}['Tu'](){let t=this['Nn'];[...document['querySelectorAll'](t)]['forEach'](_0x3a1992=>{this['$$']('intersection')?this['initIntersection'](_0x3a1992,()=>{this['_n'](_0x3a1992);}):this['_n'](_0x3a1992);});}['Eu']({elNode:t,src:_0x51823c,srcset:_0x12a877}){_0x51823c&&(t['src']=_0x51823c),_0x12a877&&(t['srcset']=_0x12a877);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x37d317,elNode:_0x4d446b}){return new Promise((_0xb59c70,_0x2cde1c)=>{this['Eo']({'elNode':_0x4d446b}),_0x4d446b['setAttribute'](sH,''),_0x4d446b['addEventListener']('load',()=>{_0x4d446b['removeAttribute'](sH),_0xb59c70(_0x4d446b);}),_0x4d446b['addEventListener']('error',()=>{_0x2cde1c(!0x1);}),this['Eu']({'elNode':_0x4d446b,'src':t,'srcset':_0x37d317});});}async['xu'](){if(this['$$']('intersection'))return this['we']&&(this['Eo']({'elNode':this['pe']}),this['appendChild'](this['pe'])),void this['initIntersection'](this['tr']['img'],async()=>{this['we']&&(this['pe']['src']=this['Hn']);try{await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}});try{this['we']&&(await this['xo']({'src':this['Hn'],'elNode':this['pe']}),this['appendChild'](this['pe'])),await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}}['init'](){this['Nn']?this['Tu']():this['xu']();}},{I:lH}=_V,hH=_0x44f212=>_0x44f212,uH=()=>document['createComment'](''),dH=(_0x1924b2,_0x17296b,t)=>{let _0x19079b=_0x1924b2['ve']['parentNode'],_0x47b88f=void 0x0===_0x17296b?_0x1924b2['yt']:_0x17296b['ve'];if(void 0x0===t){let _0x935e08=_0x19079b['insertBefore'](uH(),_0x47b88f),_0x11ad22=_0x19079b['insertBefore'](uH(),_0x47b88f);t=new lH(_0x935e08,_0x11ad22,_0x1924b2,_0x1924b2['options']);}else{let _0x4d53ee=t['yt']['nextSibling'],_0x396ea8=t['f'],_0x3bcd9f=_0x396ea8!==_0x1924b2;if(_0x3bcd9f){let _0x2b9af6;t['Cu']?.(_0x1924b2),t['f']=_0x1924b2,void 0x0!==t['Ui']&&(_0x2b9af6=_0x1924b2['W'])!==_0x396ea8['W']&&t['Ui'](_0x2b9af6);}if(_0x4d53ee!==_0x47b88f||_0x3bcd9f){let _0x7c9404=t['ve'];for(;_0x7c9404!==_0x4d53ee;){let _0x4aa393=hH(_0x7c9404)['nextSibling'];hH(_0x19079b)['insertBefore'](_0x7c9404,_0x47b88f),_0x7c9404=_0x4aa393;}}}return t;},fH=(_0x1b10ff,_0x35b9bc,t=_0x1b10ff)=>(_0x1b10ff['ce'](_0x35b9bc,t),_0x1b10ff),mH={},gH=_0x33e2c1=>{_0x33e2c1['bt'](),_0x33e2c1['ve']['remove']();},pH=(_0x5e02e7,_0x36262a)=>{let t=_0x5e02e7['le'];if(void 0x0===t)return!0x1;for(let _0x296802 of t)_0x296802['qs']?.(_0x36262a,!0x1),pH(_0x296802,_0x36262a);return!0x0;},OH=_0x4f988a=>{let _0x58034b,t;do{if(void 0x0===(_0x58034b=_0x4f988a['f']))break;t=_0x58034b['le'],t['delete'](_0x4f988a),_0x4f988a=_0x58034b;}while(0x0===t?.['size']);},wH=_0x41491c=>{for(let _0x2c8ef1;_0x2c8ef1=_0x41491c['f'];_0x41491c=_0x2c8ef1){let t=_0x2c8ef1['le'];if(void 0x0===t)_0x2c8ef1['le']=t=new Set();else{if(t['has'](_0x41491c))break;}t['add'](_0x41491c),vH(_0x2c8ef1);}};function bH(_0x5adb64){void 0x0!==this['le']?(OH(this),this['f']=_0x5adb64,wH(this)):this['f']=_0x5adb64;}function yH(_0x4a2b37,_0x317092=!0x1,t=0x0){let _0x26a15b=this['r'],_0x2d313d=this['le'];if(void 0x0!==_0x2d313d&&0x0!==_0x2d313d['size']){if(_0x317092){if(Array['isArray'](_0x26a15b)){for(let _0x417706=t;_0x417706<_0x26a15b['length'];_0x417706++)pH(_0x26a15b[_0x417706],!0x1),OH(_0x26a15b[_0x417706]);}else null!=_0x26a15b&&(pH(_0x26a15b,!0x1),OH(_0x26a15b));}else pH(this,_0x4a2b37);}}var vH=_0x2d3650=>{_0x2d3650['type']==Gj&&(_0x2d3650['Ui']??=yH,_0x2d3650['Cu']??=bH);},_H=class extends Xj{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x5404d9,t,_0x4f4aca){super['Wr'](_0x5404d9,t,_0x4f4aca),wH(this),this['isConnected']=_0x5404d9['W'];}['qs'](_0x30a248,t=!0x0){_0x30a248!==this['isConnected']&&(this['isConnected']=_0x30a248,_0x30a248?this['reconnected']?.():this['disconnected']?.()),t&&(pH(this,_0x30a248),OH(this));}['setValue'](_0x34e8e8){if((_0x1309bd=>void 0x0===_0x1309bd['strings'])(this['Wi']))this['Wi']['ce'](_0x34e8e8,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x34e8e8,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},EH=()=>new TH(),TH=class{},AH=new WeakMap(),SH=Zj(class extends _H{['render'](_0x1a2930){return lV;}['update'](_0x3a2569,[_0x31179f]){let t=_0x31179f!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x31179f,this['ht']=_0x3a2569['options']?.['host'],this['rt'](this['ct']=_0x3a2569['element'])),lV;}['rt'](_0x2733d0){if(this['isConnected']||(_0x2733d0=void 0x0),'function'==typeof this['G']){let _0x598bd4=this['ht']??globalThis,t=AH['get'](_0x598bd4);void 0x0===t&&(t=new WeakMap(),AH['set'](_0x598bd4,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0x2733d0),void 0x0!==_0x2733d0&&this['G']['call'](this['ht'],_0x2733d0);}else this['G']['value']=_0x2733d0;}get['lt'](){return'function'==typeof this['G']?AH['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),IH=null,CH=class extends Fj{constructor(){super(...arguments),this['dialogEl']=EH(),this['strokes']=!0x1,this['blockBodyScrolling']=!0x1,this['closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='',this['$']['*currentActivity']=null);},this['Su']=()=>{this['closeDialog']();},this['Au']=t=>{this['Co']=t['target'];},this['ku']=t=>{let _0x249165=t['target'];_0x249165===this['dialogEl']['value']&&_0x249165===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(IH=t,this['show'](),this['emit'](kj['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](kj['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),IH===this['id']&&this['emit'](kj['MODAL_CLOSE'],{'modalId':IH,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-modal'];}async['show'](){await this['updateComplete'];let t=this['dialogEl']['value'];'function'==typeof t['showModal']?(this['setAttribute']('aria-modal','true'),t['showModal']()):t['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){let t=this['dialogEl']['value'];t&&('function'==typeof t['close']?(this['setAttribute']('aria-modal','false'),t['close']()):t['removeAttribute']('open'));}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this),this['subConfigValue']('modalBackdropStrokes',t=>{t?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['modalManager']?.['subscribe'](QU['OPEN'],this['si']),this['modalManager']?.['subscribe'](QU['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](QU['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](QU['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](QU['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](QU['CLOSE_ALL'],this['Kn']);}['Mu'](t){this['dialogEl']={'value':t},this['dialogEl']['value']?.['addEventListener']('close',this['Su']),this['dialogEl']['value']?.['addEventListener']('mousedown',this['Au']),this['dialogEl']['value']?.['addEventListener']('mouseup',this['ku']);}['render'](){return aV`<dialog ${SH(this['Mu'])}>${this['yield']('')}</dialog>`;}};dQ([QV({'type':Boolean,'noAccessor':!0x0})],CH['prototype'],'strokes',0x2),dQ([QV({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],CH['prototype'],'blockBodyScrolling',0x2);var kH=class extends tH{constructor(){super(...arguments),this['z']=null,this['ir']=null;}get['jn'](){return this['nameAttrValue']??this['ctxName'];}['Gn'](){let t=document['createElement']('input');return t['type']='text',t['name']=this['jn'],t['required']=this['cfg']['multipleMin']>0x0,t['tabIndex']=-0x1,_F(t,{'opacity':0x0,'height':0x0,'width':0x0}),t;}['initCallback'](){super['initCallback'](),this['z']=this['Gn'](),this['appendChild'](this['z']),this['sub']('*collectionState',t=>{if(!t)return;if(!this['ir']){let _0x5e86bd=document['createElement']('div');this['appendChild'](_0x5e86bd),this['ir']=_0x5e86bd;}if(!this['z']){let _0x38cf8c=this['Gn']();this['appendChild'](_0x38cf8c),this['z']=_0x38cf8c;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0xaa0329=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0xaa0329??'');}let _0x6dc359=t['group']?t['group']:null;if(_0x6dc359)return this['z']['value']=_0x6dc359['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x5acbaf=t['allEntries']['map'](_0x447b72=>_0x447b72['cdnUrl'])['filter'](_0x2142b8=>'string'==typeof _0x2142b8);if(!this['cfg']['multiple']&&0x1===_0x5acbaf['length']&&_0x5acbaf[0x0])return this['z']['value']=_0x5acbaf[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0x18bb5e=new DocumentFragment();for(let _0x1fe19f of _0x5acbaf){let _0x341a3c=document['createElement']('input');_0x341a3c['type']='hidden',_0x341a3c['name']=this['jn']+'[]',_0x341a3c['value']=_0x1fe19f,_0x18bb5e['appendChild'](_0x341a3c);}this['ir']['replaceChildren'](_0x18bb5e);},!0x1);}};dQ([QV({'type':String,'noAccessor':!0x0,'attribute':'name'})],kH['prototype'],'nameAttrValue',0x2);var xH=class extends Fj{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=EH(),this['qn']=()=>{let t=this['rr']['value'];if(t){if(!this['visible'])return void t['classList']['add']('uc-fake-progress--hidden');this['oe']>0x0&&t['classList']['add']('uc-fake-progress--hidden');}};}['firstUpdated'](t){super['firstUpdated'](t),this['oe']=this['So'](this['value']),this['Ao'](),this['rr']['value']?.['addEventListener']('animationiteration',this['qn']);}['updated'](t){if(super['updated'](t),t['has']('value')){let _0x4c1679=this['So'](this['value']);if(this['visible']){let _0x318d24=Math['max'](this['oe'],_0x4c1679);_0x318d24!==this['oe']&&(this['oe']=_0x318d24,this['Ao']());}else this['oe']=_0x4c1679;}t['has']('visible')&&(this['classList']['toggle']('uc-progress-bar--hidden',!this['visible']),this['visible']?this['Ao']():this['oe']=this['So'](this['value']));}['disconnectedCallback'](){super['disconnectedCallback'](),this['rr']['value']?.['removeEventListener']('animationiteration',this['qn']);}['So'](t){return Number['isFinite'](t)?Math['min'](0x64,Math['max'](0x0,t)):0x0;}['Ao'](){this['visible']&&this['style']['setProperty']('--l-progress-value',this['oe']['toString']());}['render'](){return aV`<div ${SH(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};dQ([QV({'type':Boolean,'noAccessor':!0x0})],xH['prototype'],'hasFileName',0x2),dQ([QV({'type':Number})],xH['prototype'],'value',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],xH['prototype'],'visible',0x2);var RH=class extends tH{constructor(){super(),this['he']=!0x1,this['Pt']=0x0,this['init$']={...this['init$'],'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['ko']=this['uploadCollection']['observeProperties'](()=>{let t=this['uploadCollection']['items']()['some'](_0x3fe60a=>this['uploadCollection']['read'](_0x3fe60a)?.['getValue']('isUploading')??!0x1);this['he']=t;}),this['sub']('*commonProgress',t=>{this['Pt']=t;});}['updated'](t){super['updated'](t),t['has']('visible')&&(this['he']?this['setAttribute']('active',''):this['removeAttribute']('active'));}['disconnectedCallback'](){super['disconnectedCallback'](),this['ko']?.(),this['ko']=void 0x0;}['render'](){return aV`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};dQ([VV()],RH['prototype'],'he',0x2),dQ([VV()],RH['prototype'],'Pt',0x2);var PH=class extends Fj{constructor(){super(...arguments),this['value']='',this['disabled']=!0x1,this['options']=[],this['Ou']=t=>{if(this['disabled'])return t['preventDefault'](),void t['stopPropagation']();t['preventDefault'](),t['stopPropagation']();let _0x3d2018=t['currentTarget'];_0x3d2018&&(this['value']=_0x3d2018['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return aV`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>aV`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};dQ([QV({'type':String,'attribute':!0x1})],PH['prototype'],'value',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],PH['prototype'],'disabled',0x2),dQ([QV({'type':Array,'attribute':!0x1})],PH['prototype'],'options',0x2);var MH=class extends tH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Mo']='default',this['Oo']='';}['willUpdate'](t){super['willUpdate'](t),t['has']('source')&&this['Iu'](this['source']);}['Iu'](t){if(!t)return this['Oo']='',void(this['Mo']='default');let {label:_0x43e38b,icon:_0x30b830,id:_0x6fa929}=t;this['Oo']=_0x43e38b,this['Mo']=_0x30b830??_0x6fa929??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return aV`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};dQ([QV({'attribute':!0x1})],MH['prototype'],'source',0x2),dQ([VV()],MH['prototype'],'Mo',0x2),dQ([VV()],MH['prototype'],'Oo',0x2);var NH=class extends tH{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x65683=>{this['Wn']=mU(_0x65683),this['Zn']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Zn']()));}['updated'](t){super['updated'](t),this['cfg']['sourceListWrap']?this['style']['removeProperty']('display'):this['style']['display']='contents';}['Zn'](){let _0x401586=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x159178=new Map(_0x401586['map'](_0x49b2f6=>[_0x49b2f6['id'],_0x49b2f6])),_0x160f1a=[];this['Wn']['forEach'](_0x11e305=>{let _0xf334a1=this['Pu'](_0x11e305,_0x159178);if(0x1!==_0xf334a1['length']||_0xf334a1[0x0]!==_0x11e305){for(let _0x5dc821 of _0xf334a1){let _0x105a77=_0x159178['get'](_0x5dc821);_0x105a77&&_0x160f1a['push'](this['Yn'](_0x105a77));}return;}let _0x215030=_0x159178['get'](_0x11e305);_0x215030&&_0x160f1a['push'](this['Yn'](_0x215030));}),this['Me']=_0x160f1a;}['Pu'](t,_0x37d533){let _0x1954f1=_0x37d533['get'](t);return _0x1954f1?.['expand']?_0x1954f1['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return aV`${this['Me']['map'](t=>aV`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};dQ([VV()],NH['prototype'],'Me',0x2),dQ([QV({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],NH['prototype'],'wrap',0x2);var LH='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function $H(_0x1bf871){let _0x452f1f=new Image();return{'promise':new Promise((_0xd20ccf,_0x4d00c0)=>{_0x452f1f['src']=_0x1bf871,_0x452f1f['onload']=()=>_0xd20ccf(),_0x452f1f['onerror']=_0x59577f=>_0x4d00c0(_0x59577f);}),'image':_0x452f1f,'cancel':()=>{0x0===_0x452f1f['naturalWidth']&&(_0x452f1f['src']=LH);}};}function DH(_0x23abef){let _0x13066c=[];for(let _0x4e2654 of _0x23abef){let _0xba0e2b=$H(_0x4e2654);_0x13066c['push'](_0xba0e2b);}let t=_0x13066c['map'](_0x3d1325=>_0x3d1325['image']);return{'promise':Promise['allSettled'](_0x13066c['map'](_0xf9e5d5=>_0xf9e5d5['promise'])),'images':t,'cancel':()=>{_0x13066c['forEach'](_0x35fec9=>{_0x35fec9['cancel']();});}};}function QH(_0x43184a,_0x2a4758=0x28){if('image/svg+xml'===_0x43184a['type'])return URL['createObjectURL'](_0x43184a);let t=document['createElement']('canvas'),_0x55ad43=t['getContext']('2d');if(!_0x55ad43)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x1571cf=new Image(),_0x4453a7=new Promise((_0x2b6621,_0x1dce83)=>{_0x1571cf['onload']=()=>{let _0x3ee661=_0x1571cf['height']/_0x1571cf['width'];_0x3ee661>0x1?(t['width']=_0x2a4758,t['height']=_0x2a4758*_0x3ee661):(t['height']=_0x2a4758,t['width']=_0x2a4758/_0x3ee661),_0x55ad43['fillStyle']='rgb(240,\x20240,\x20240)',_0x55ad43['fillRect'](0x0,0x0,t['width'],t['height']),_0x55ad43['drawImage'](_0x1571cf,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x2f9c84=>{if(!_0x2f9c84)return void _0x1dce83();let _0x1cee92=URL['createObjectURL'](_0x2f9c84);_0x2b6621(_0x1cee92);});},_0x1571cf['onerror']=_0x583f0f=>{_0x1dce83(_0x583f0f);};});return _0x1571cf['src']=URL['createObjectURL'](_0x43184a),_0x4453a7;}var VH=class extends tH{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x186bc9)=>{let _0x1e4736=this['entry'];if(_0x1e4736)return t(_0x1e4736,..._0x186bc9);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x2fd7c1){this['withEntry']((_0x32a90f,_0x4bdc1c,_0x16d08f)=>{let _0x2d20e2=_0x32a90f['subscribe'](_0x4bdc1c,_0x124f35=>{this['isConnected']&&_0x16d08f(_0x124f35);});this['or']['add'](_0x2d20e2);})(t,_0x2fd7c1);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function UH(_0x44aa52='hsl(209,\x2021%,\x2065%)',_0xb87891=0x20,t=0x20){return function(_0xf13f32){let _0x2daff4=new Blob([_0xf13f32],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x2daff4);}('<svg\x20width=\x22'+_0xb87891+'\x22\x20height=\x22'+t+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x44aa52+'\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/></svg>');}var BH=class extends VH{constructor(){super(...arguments),this['badgeIcon']='',this['uid']='',this['Le']='',this['Xn']=!0x1,this['sr']=null,this['Qn']=!0x1,this['Lu']=this['cfg']['filesViewMode'],this['Jn']=this['withEntry'](async(t,_0x4a94e1=!0x1)=>{let _0x3ca0fc=t['getValue']('fileInfo'),_0x4891db=t['getValue']('isImage'),_0x169609=t['getValue']('uuid'),_0x3d2534=t['getValue']('thumbUrl'),_0x5f1932=this['Ru'](_0x4a94e1);if(_0x3ca0fc&&_0x4891db&&_0x169609){let _0x4eb074=await this['proxyUrl'](dU(fU(this['cfg']['cdnCname'],_0x169609),nU(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x5f1932+'x'+_0x5f1932+'/center')));if(_0x3d2534===_0x4eb074)return;let {promise:_0x427512}=$H(_0x4eb074);return void _0x427512['then'](()=>{t['setValue']('thumbUrl',_0x4eb074),_0x3d2534?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x3d2534);})['catch'](async()=>{if(!_0x3d2534?.['startsWith']('blob:'))try{let _0x281873=t['getValue']('file');if(!_0x281873)return;let _0xe592bf=await QH(_0x281873,_0x5f1932);t['setValue']('thumbUrl',_0xe592bf);}catch(_0x4e257b){this['telemetryManager']['sendEventError'](_0x4e257b,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x26efb0=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',UH(_0x26efb0));}});}if(t['getValue']('thumbUrl'))return;let _0x11406c=t['getValue']('file');if(_0x11406c?.['type']['includes']('image'))try{let _0x7415c1=await QH(_0x11406c,_0x5f1932);t['setValue']('thumbUrl',_0x7415c1);}catch(_0x21a834){this['telemetryManager']['sendEventError'](_0x21a834,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x35e6a9=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',UH(_0x35e6a9));}else{let _0x53a64b=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',UH(_0x53a64b));}}),this['nr']=UV(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x1bc57f=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x1bc57f*=window['devicePixelRatio']),Math['min'](_0x1bc57f,0xbb8);}['Uu'](t,_0x1bdcbc){return new Promise((_0x4abb58,_0x5d1851)=>{let _0x1831a6=new Image();_0x1831a6['decoding']='async';let _0x43b385=()=>{_0x1831a6&&(_0x1831a6['onload']=null,_0x1831a6['onerror']=null,_0x1831a6['src']=LH,_0x1bdcbc?.['removeEventListener']('abort',_0x2f97a7),_0x1831a6=null);},_0x2f97a7=()=>{_0x43b385(),_0x5d1851(new DOMException('Aborted','AbortError'));};if(_0x1bdcbc){if(_0x1bdcbc['aborted'])return void _0x2f97a7();_0x1bdcbc['addEventListener']('abort',_0x2f97a7,{'once':!0x0});}let _0x39ac46=()=>{_0x43b385(),_0x4abb58();},_0x4daefa=_0x228e6e=>{_0x43b385(),_0x5d1851(_0x228e6e);};if('function'==typeof _0x1831a6['decode'])return _0x1831a6['src']=t,void _0x1831a6['decode']()['then'](_0x39ac46)['catch'](_0x4daefa);_0x1831a6['onload']=_0x39ac46,_0x1831a6['onerror']=_0x4daefa,_0x1831a6['src']=t;});}['Po'](){this['Io']?.['cancel'](),this['Io']=void 0x0;}['$u'](t){if(this['Po'](),!t)return void(this['Le']&&(this['Le']=''));if(t===this['Le'])return;let _0x5da0aa=new AbortController(),_0x4e909b={'controller':_0x5da0aa,'cancel':()=>{_0x5da0aa['abort'](),void 0x0!==_0x4e909b['rafId']&&window['cancelAnimationFrame'](_0x4e909b['rafId']);}};this['Io']=_0x4e909b,this['Uu'](t,_0x5da0aa['signal'])['then'](()=>{_0x5da0aa['signal']['aborted']||(_0x4e909b['rafId']=window['requestAnimationFrame'](()=>{_0x5da0aa['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x328d07=>{_0x5da0aa['signal']['aborted']||_0x328d07 instanceof DOMException&&'AbortError'===_0x328d07['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x328d07);});}['ar'](t=!0x1){if(this['entry']){if(t)return void this['Jn'](!0x0);this['Qn']&&this['nr']();}}['firstUpdated'](t){super['firstUpdated'](t),this['ea']();}['updated'](t){super['updated'](t),t['has']('uid')&&this['ea']();}['ai'](t){let [_0x5547a4]=t;_0x5547a4&&(this['Qn']=_0x5547a4['isIntersecting'],_0x5547a4['isIntersecting']&&(this['sr']=_0x5547a4['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x5547a4['intersectionRatio']&&this['nr']['cancel']());}['reset'](){super['reset'](),this['nr']['cancel'](),this['Po'](),this['Le']&&(this['Le']='');}['ea'](){let t=this['uid']?.['trim']();if(!t)return void(this['entry']&&this['reset']());let _0x12dd0e=this['uploadCollection']?.['read'](t);if(!_0x12dd0e||_0x12dd0e===this['entry'])return;this['reset'](),this['entry']=_0x12dd0e;let _0x1168f1=()=>{this['ar']();};this['subEntry']('fileInfo',_0x5579ea=>{_0x5579ea?.['isImage']&&_0x1168f1();}),this['subEntry']('thumbUrl',_0x284de4=>{this['$u'](_0x284de4??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x1168f1),this['ar'](!0x0);}['initCallback'](){super['initCallback'](),this['subConfigValue']('filesViewMode',t=>{'grid'===t&&!this['Xn']&&('list'===this['Lu']&&this['ar'](!0x0),this['Xn']=!0x0);});}['connectedCallback'](){super['connectedCallback'](),this['s']?.['disconnect'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':0.1}),this['s']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['nr']['cancel'](),this['Po'](),this['s']?.['disconnect']();}['render'](){return aV`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||LH} role="img" alt="Preview of uploaded image" ?hidden=${!this['Le']} draggable="false" /><div class="uc-badge"><uc-icon name=${this['badgeIcon']}></uc-icon></div></div>`;}};dQ([QV({'type':String})],BH['prototype'],'badgeIcon',0x2),dQ([QV({'attribute':!0x1})],BH['prototype'],'uid',0x2),dQ([VV()],BH['prototype'],'Le',0x2);var jH=class extends tH{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=kj;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},FH=(_0x284e27,_0x11c642)=>{let _0xfdcfa4,t=!0x1,_0xd26a27=0x0,_0xf50074=(..._0x332a04)=>{t?(_0xfdcfa4&&clearTimeout(_0xfdcfa4),_0xfdcfa4=setTimeout(()=>{Date['now']()-_0xd26a27>=_0x11c642&&(_0x284e27(..._0x332a04),_0xd26a27=Date['now']());},Math['max'](_0x11c642-(Date['now']()-_0xd26a27),0x0))):(_0x284e27(..._0x332a04),_0xd26a27=Date['now'](),t=!0x0);};return Object['defineProperty'](_0xf50074,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0xfdcfa4&&clearTimeout(_0xfdcfa4);}}),_0xf50074;},HH=(_0x4ed5ef,_0x409da7,t)=>{let _0x4b1cf2=new Map();for(let _0x43e958=_0x409da7;_0x43e958<=t;_0x43e958++)_0x4b1cf2['set'](_0x4ed5ef[_0x43e958],_0x43e958);return _0x4b1cf2;},GH=Zj(class extends Xj{constructor(_0xd4640e){if(super(_0xd4640e),_0xd4640e['type']!==Gj)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x492aa4,_0x1fbb3c,t){let _0x4ccce4;void 0x0===t?t=_0x1fbb3c:void 0x0!==_0x1fbb3c&&(_0x4ccce4=_0x1fbb3c);let _0x50257a=[],_0x19136e=[],_0x3174e1=0x0;for(let _0x147206 of _0x492aa4)_0x50257a[_0x3174e1]=_0x4ccce4?_0x4ccce4(_0x147206,_0x3174e1):_0x3174e1,_0x19136e[_0x3174e1]=t(_0x147206,_0x3174e1),_0x3174e1++;return{'values':_0x19136e,'keys':_0x50257a};}['render'](_0x332377,_0x1d9d09,t){return this['dt'](_0x332377,_0x1d9d09,t)['values'];}['update'](_0x452964,[_0x4c156f,t,_0x59faee]){let _0x117476=(_0x3cf5d5=>_0x3cf5d5['r'])(_0x452964),{values:_0x4fcc84,keys:_0x1ca7ab}=this['dt'](_0x4c156f,t,_0x59faee);if(!Array['isArray'](_0x117476))return this['ut']=_0x1ca7ab,_0x4fcc84;let _0x6a72d9,_0x299d7c,_0x8348ce=this['ut']??=[],_0x1d0309=[],_0x3188aa=0x0,_0x2d801c=_0x117476['length']-0x1,_0x520abd=0x0,_0x11d695=_0x4fcc84['length']-0x1;for(;_0x3188aa<=_0x2d801c&&_0x520abd<=_0x11d695;)if(null===_0x117476[_0x3188aa])_0x3188aa++;else{if(null===_0x117476[_0x2d801c])_0x2d801c--;else{if(_0x8348ce[_0x3188aa]===_0x1ca7ab[_0x520abd])_0x1d0309[_0x520abd]=fH(_0x117476[_0x3188aa],_0x4fcc84[_0x520abd]),_0x3188aa++,_0x520abd++;else{if(_0x8348ce[_0x2d801c]===_0x1ca7ab[_0x11d695])_0x1d0309[_0x11d695]=fH(_0x117476[_0x2d801c],_0x4fcc84[_0x11d695]),_0x2d801c--,_0x11d695--;else{if(_0x8348ce[_0x3188aa]===_0x1ca7ab[_0x11d695])_0x1d0309[_0x11d695]=fH(_0x117476[_0x3188aa],_0x4fcc84[_0x11d695]),dH(_0x452964,_0x1d0309[_0x11d695+0x1],_0x117476[_0x3188aa]),_0x3188aa++,_0x11d695--;else{if(_0x8348ce[_0x2d801c]===_0x1ca7ab[_0x520abd])_0x1d0309[_0x520abd]=fH(_0x117476[_0x2d801c],_0x4fcc84[_0x520abd]),dH(_0x452964,_0x117476[_0x3188aa],_0x117476[_0x2d801c]),_0x2d801c--,_0x520abd++;else{if(void 0x0===_0x6a72d9&&(_0x6a72d9=HH(_0x1ca7ab,_0x520abd,_0x11d695),_0x299d7c=HH(_0x8348ce,_0x3188aa,_0x2d801c)),_0x6a72d9['has'](_0x8348ce[_0x3188aa])){if(_0x6a72d9['has'](_0x8348ce[_0x2d801c])){let _0x3550c2=_0x299d7c['get'](_0x1ca7ab[_0x520abd]),_0xe9b509=void 0x0!==_0x3550c2?_0x117476[_0x3550c2]:null;if(null===_0xe9b509){let _0x473841=dH(_0x452964,_0x117476[_0x3188aa]);fH(_0x473841,_0x4fcc84[_0x520abd]),_0x1d0309[_0x520abd]=_0x473841;}else _0x1d0309[_0x520abd]=fH(_0xe9b509,_0x4fcc84[_0x520abd]),dH(_0x452964,_0x117476[_0x3188aa],_0xe9b509),_0x117476[_0x3550c2]=null;_0x520abd++;}else gH(_0x117476[_0x2d801c]),_0x2d801c--;}else gH(_0x117476[_0x3188aa]),_0x3188aa++;}}}}}}for(;_0x520abd<=_0x11d695;){let _0x4d2cda=dH(_0x452964,_0x1d0309[_0x11d695+0x1]);fH(_0x4d2cda,_0x4fcc84[_0x520abd]),_0x1d0309[_0x520abd++]=_0x4d2cda;}for(;_0x3188aa<=_0x2d801c;){let _0x487619=_0x117476[_0x3188aa++];null!==_0x487619&&gH(_0x487619);}return this['ut']=_0x1ca7ab,((_0x5151cd,_0x32f910=mH)=>{_0x5151cd['r']=_0x32f910;})(_0x452964,_0x1d0309),cV;}}),ZH=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')}),XH=class G extends VH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['ia']=!0x0,this['uid']='',this['Lo']='',this['Ro']='',this['Uo']='',this['oe']=0x0,this['ra']=!0x1,this['$o']='',this['oa']=!0x1,this['sa']=!0x1,this['na']=!0x1,this['aa']=!0x1,this['lr']=!0x1,this['la']='',this['cr']=[],this['ca']=!0x1,this['Du']=()=>{this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uid']&&this['uploadCollection']['hasItem'](this['uid'])&&this['uploadCollection']['remove'](this['uid']);},this['Fu']=()=>{this['ua']();},this['S']=UV(()=>this['da'](),0x64),this['Vu']=this['withEntry'](FH((t,_0x5ee79b)=>{let _0x5c1f91=t['getValue']('errors')?.[0x0]?.['message']??'',_0x2e5b13=t['getValue']('source'),_0x209f5a=t['getValue']('externalUrl'),_0x4fb715=_0x5ee79b===ZH['FINISHED'],_0x1a9a51=_0x5ee79b===ZH['UPLOADING'],_0x539a52=_0x5ee79b===ZH['QUEUED_UPLOADING'],_0x4a26c1=_0x5ee79b===ZH['QUEUED_VALIDATION'],_0x2e1801=_0x5ee79b===ZH['VALIDATION'],_0x4eef14=t['getValue']('fileName'),_0x31ba97='';_0x5c1f91?_0x31ba97='':!_0x4fb715&&_0x209f5a&&_0x2e5b13&&Object['values'](TF)['includes'](_0x2e5b13)&&(_0x31ba97=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+CF(_0x2e5b13))})),this['Uo']=_0x31ba97,this['Ro']=_0x5c1f91,this['ra']=_0x1a9a51||_0x539a52||_0x4a26c1||_0x2e1801,this['oe']=_0x4a26c1||_0x2e1801?0x0:t['getValue']('uploadProgress'),this['la']=_0x4eef14?this['l10n']('a11y-file-item-status',{'fileName':_0x4eef14,'status':this['l10n'](_0x5ee79b?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()}):'';},0x64)),this['ua']=this['withEntry'](async t=>{if(!this['uploadCollection']['read'](t['uid'])||t['getValue']('fileInfo')||t['getValue']('isUploading')||t['getValue']('errors')['length']>0x0||t['getValue']('isValidationPending'))return;let _0x435f72=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x435f72&&this['uploadCollection']['size']>_0x435f72)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x1d5f11=new AbortController();t['setValue']('abortController',_0x1d5f11);let _0x35cdc1=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x1e7aaa=t['getValue']('file');if(_0x1e7aaa instanceof File||_0x1e7aaa instanceof Blob){let _0x42c740=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0x3efd7d=>'beforeUpload'===_0x3efd7d['type']);for(let _0x4d0407 of _0x42c740)try{let _0x27858b=_0x4d0407['handler']({'file':_0x1e7aaa,'signal':_0x1d5f11['signal']}),_0x480154=new Promise((_0x76c783,_0x1a7131)=>setTimeout(()=>_0x1a7131(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x4d0407['timeout'])),{file:_0x323dfa}=await Promise['race']([_0x27858b,_0x480154]);_0x323dfa!==_0x1e7aaa&&(_0x1e7aaa=_0x323dfa,t['setValue']('mimeType',_0x1e7aaa['type']||null),t['setValue']('isImage',bj(_0x1e7aaa)),t['setValue']('fileSize',_0x1e7aaa['size']),_0x1e7aaa instanceof File&&t['setValue']('fileName',_0x1e7aaa['name']));}catch(_0x29203a){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x4d0407['pluginId']+'\x22\x20failed',_0x29203a);}}let _0x2f875b=_0x1e7aaa||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x2f875b)throw new Error('No\x20file\x20input');let _0x45d6b8={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x506525=>{if(_0x506525['isComputable']){let _0x519491=0x64*_0x506525['value'];t['setValue']('uploadProgress',_0x519491);}},'signal':_0x1d5f11['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x2f875b,_0x45d6b8),ZB(_0x2f875b,_0x45d6b8);},_0x4f54ed=await this['$']['*uploadQueue']['add'](_0x35cdc1);t['setMultipleValues']({'fileInfo':_0x4f54ed,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x4f54ed['originalFilename'],'fileSize':_0x4f54ed['size'],'isImage':_0x4f54ed['isImage']??!0x1,'mimeType':_0x4f54ed['contentInfo']?.['mime']?.['mime']??_0x4f54ed['mimeType'],'uuid':_0x4f54ed['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x4f54ed['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x5371bf){let _0x417273=_0x5371bf instanceof KU&&_0x5371bf['isCancel'];_0x417273?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x5371bf instanceof WU?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x5371bf}):(console['error']('Unknown\x20upload\x20error',_0x5371bf),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x5371bf})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0x417273&&this['telemetryManager']['sendEventError'](_0x5371bf,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x21da8f=ZH['IDLE'];t['getValue']('errors')['length']>0x0?_0x21da8f=ZH['FAILED']:t['getValue']('isQueuedForUploading')?_0x21da8f=ZH['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x21da8f=ZH['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x21da8f=ZH['VALIDATION']:t['getValue']('isUploading')?_0x21da8f=ZH['UPLOADING']:t['getValue']('fileInfo')&&(_0x21da8f=ZH['FINISHED']),this['Nu'](t,_0x21da8f);}['Nu'](t,_0xb728ba){_0xb728ba===ZH['FAILED']?this['$o']='badge-error':_0xb728ba===ZH['FINISHED']&&(this['$o']='badge-success'),_0xb728ba===ZH['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0xb728ba===ZH['FAILED'],this['na']=_0xb728ba===ZH['UPLOADING'],this['oa']=_0xb728ba===ZH['FINISHED'],this['Vu'](_0xb728ba);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x1abe05]=t;_0x1abe05&&_0x1abe05['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x335fd3=this['uploadCollection']?.['read'](t);this['entry']=_0x335fd3,_0x335fd3?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x8b72c7=>{this['Lo']=_0x8b72c7||_0x335fd3['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0xb8f570=>{this['Lo']=_0x335fd3['getValue']('fileName')||_0xb8f570||this['l10n']('file-no-name');}),this['subEntry']('fileInfo',()=>{this['S']();}),this['subEntry']('errors',()=>this['S']()),this['subEntry']('isUploading',()=>this['S']()),this['subEntry']('fileSize',()=>this['S']()),this['subEntry']('mimeType',()=>this['S']()),this['subEntry']('isImage',()=>this['S']()),this['subEntry']('fileInfo',()=>this['Ze']()),this['subEntry']('isUploading',()=>this['Ze']()),this['subEntry']('errors',()=>this['Ze']()),this['da'](),this['Ze']()):this['Ze']();}['ha'](t){'list'!==this['cfg']['filesViewMode']?this['lr']=t:this['lr']=!0x0;}['willUpdate'](t){super['willUpdate'](t),t['has']('uid')&&this['pa'](this['uid']);}['Ze'](){let t=this['i']['pluginManager'];if(!t||!this['uid'])return void(this['cr']=[]);let _0x5475d0=t['snapshot']()['fileActions'],_0x3ed29b=this['api']['getOutputItem'](this['uid']);this['cr']=_0x3ed29b?_0x5475d0['filter'](_0x338cc1=>{try{return _0x338cc1['shouldRender'](_0x3ed29b);}catch(_0x4089bf){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x338cc1['id']+'):',_0x4089bf),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0xdccb5c=this['api']['getOutputItem'](this['uid']);if(_0xdccb5c){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0xdccb5c);}catch(_0x355dae){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x355dae);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x3da52e=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x3da52e);}),this['subConfigValue']('gridShowFileNames',_0x23d050=>{this['ha'](_0x23d050);}),this['onclick']=()=>{G['activeInstances']['forEach'](_0x35d28d=>{_0x35d28d===this?_0x35d28d['setAttribute']('focused',''):_0x35d28d['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x8689bb=>{this['entry']&&!_0x8689bb['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),G['activeInstances']['add'](this);}['connectedCallback'](){super['connectedCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]}),this['s']['observe'](this);}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback'](),this['s']?.['disconnect'](),G['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}['shouldUpdate'](t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return aV`<div class="uc-inner" ?data-finished=${this['oa']} ?data-uploading=${this['na']} ?data-failed=${this['sa']} ?data-focused=${this['aa']} ><uc-thumb .uid=${this['uid']} .badgeIcon=${this['$o']}></uc-thumb><div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" aria-label=${this['la']}><span class="uc-file-name" ?hidden=${!this['lr']}>${this['Lo']}</span><span class="uc-file-error" ?hidden=${!this['Ro']}>${this['Ro']}</span><span class="uc-file-hint" ?hidden=${!this['Uo']}>${this['Uo']}</span></div><div class="uc-file-actions">${this['cr']['map'](t=>aV`<button type="button" @click=${()=>this['_u'](t)} title=${this['l10n'](t['label'])} aria-label=${this['l10n'](t['label'])} class="uc-plugin-action-btn uc-mini-btn" data-plugin-action-id=${t['id']} ><uc-icon name=${t['icon']}></uc-icon></button>`)}<button type="button" @click=${this['Du']} title=${this['l10n']('file-item-remove-button')} aria-label=${this['l10n']('file-item-remove-button')} class="uc-remove-btn uc-mini-btn" ><uc-icon name="remove-file"></uc-icon></button><button type="button" class="uc-upload-btn uc-mini-btn" @click=${this['Fu']}><uc-icon name="upload"></uc-icon></button></div><uc-progress-bar class="uc-progress-bar" .value=${this['oe']} .visible=${this['ra']} ?hasFileName=${this['lr']}></uc-progress-bar></div>`;}};dQ([VV()],XH['prototype'],'ia',0x2),dQ([QV({'attribute':!0x1})],XH['prototype'],'uid',0x2),dQ([VV()],XH['prototype'],'Lo',0x2),dQ([VV()],XH['prototype'],'Ro',0x2),dQ([VV()],XH['prototype'],'Uo',0x2),dQ([VV()],XH['prototype'],'oe',0x2),dQ([VV()],XH['prototype'],'ra',0x2),dQ([VV()],XH['prototype'],'$o',0x2),dQ([VV()],XH['prototype'],'oa',0x2),dQ([VV()],XH['prototype'],'sa',0x2),dQ([VV()],XH['prototype'],'na',0x2),dQ([VV()],XH['prototype'],'aa',0x2),dQ([VV()],XH['prototype'],'lr',0x2),dQ([VV()],XH['prototype'],'la',0x2),dQ([VV()],XH['prototype'],'cr',0x2);var qH=XH;function WH(_0x46a056){return new Promise(_0x516463=>{'function'!=typeof window['FileReader']&&_0x516463(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x516463(!0x0);};let _0x3e1507=_0x4d4b97=>{'loadend'!==_0x4d4b97['type']&&t['abort'](),_0x516463(!0x1);};t['onloadend']=_0x3e1507,t['onprogress']=_0x3e1507,t['readAsDataURL'](_0x46a056);}catch{_0x516463(!0x1);}});}function zH(_0xa67eb4,_0x423d32){return new Promise(t=>{let _0xe82df5=0x0,_0x3e0c1e=[],_0x291e4e=_0xbd6d28=>{if(!_0xbd6d28)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0xbd6d28['isFile']?(_0xe82df5++,_0xbd6d28['file'](_0x174cc1=>{_0xe82df5--;let _0x5c0057=new File([_0x174cc1],_0x174cc1['name'],{'type':_0x174cc1['type']||_0x423d32});_0x3e0c1e['push']({'type':'file','file':_0x5c0057,'fullPath':_0xbd6d28['fullPath']}),0x0===_0xe82df5&&t(_0x3e0c1e);})):_0xbd6d28['isDirectory']&&_0x61e38e(_0xbd6d28['createReader']());},_0x61e38e=_0x107dfa=>{_0xe82df5++,_0x107dfa['readEntries'](_0x6770e9=>{_0xe82df5--;for(let _0x2eb2e4 of _0x6770e9)_0x291e4e(_0x2eb2e4);0x0===_0xe82df5&&t(_0x3e0c1e);});};_0x291e4e(_0xa67eb4);});}var YH=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),KH=['focus'],JH=new Map();function tG(_0x5b9d01){let _0x279b7b=0x0,t=document['body'],_0x19c126=new Set(),_0xd3110e=YH['INACTIVE'],_0x2e3c1c=_0xb876b2=>{_0x5b9d01['shouldIgnore']()&&_0xb876b2!==YH['INACTIVE']||(_0xd3110e!==_0xb876b2&&_0x19c126['forEach'](_0x23ad14=>{_0x23ad14(_0xb876b2);}),_0xd3110e=_0xb876b2);},_0x2b1512=()=>_0x279b7b>0x0;var _0x1cd63f;_0x1cd63f=_0x5a36f9=>_0x5b9d01['onChange'](_0x5a36f9),_0x19c126['add'](_0x1cd63f);let _0x442873=()=>{_0x279b7b=0x0,_0x2e3c1c(YH['INACTIVE']);},_0x55079f=()=>{_0x279b7b+=0x1,_0xd3110e===YH['INACTIVE']&&_0x2e3c1c(YH['ACTIVE']);},_0x45bcd7=()=>{_0x279b7b-=0x1,_0x2b1512()||_0x2e3c1c(YH['INACTIVE']);},_0x24f72b=_0x23ecff=>{_0x23ecff['preventDefault'](),_0x279b7b=0x0,_0x2e3c1c(YH['INACTIVE']);},_0xa07762=_0x20039e=>{if(_0x5b9d01['shouldIgnore']())return;_0x2b1512()||(_0x279b7b+=0x1);let _0x42174d=[_0x20039e['x'],_0x20039e['y']],_0x2a1db9=_0x5b9d01['element']['getBoundingClientRect'](),_0x3c18c1=Math['floor'](function(_0x1e9356,_0x29ecfc){let t=Math['max'](Math['min'](_0x1e9356[0x0],_0x29ecfc['x']+_0x29ecfc['width']),_0x29ecfc['x']),_0x130b49=Math['max'](Math['min'](_0x1e9356[0x1],_0x29ecfc['y']+_0x29ecfc['height']),_0x29ecfc['y']);return Math['sqrt']((_0x1e9356[0x0]-t)*(_0x1e9356[0x0]-t)+(_0x1e9356[0x1]-_0x130b49)*(_0x1e9356[0x1]-_0x130b49));}(_0x42174d,_0x2a1db9)),_0x442e02=_0x3c18c1<0x64,_0x20ddc6=_0x20039e['composedPath']()['includes'](_0x5b9d01['element']);JH['set'](_0x5b9d01['element'],_0x3c18c1);let _0x221bc6=Math['min'](...JH['values']())===_0x3c18c1;_0x20ddc6&&_0x221bc6?(_0x20039e['preventDefault'](),_0x2e3c1c(YH['OVER'])):_0x2e3c1c(_0x442e02&&_0x221bc6?YH['NEAR']:YH['ACTIVE']);},_0x45617f=async _0x238f3e=>{if(_0x5b9d01['shouldIgnore']())return;_0x238f3e['preventDefault']();let {dataTransfer:_0xaceb50}=_0x238f3e;if(!_0xaceb50)return;let _0x4c1ddf=await function(_0x219aa9){let _0x332e33=[],t=[];for(let _0x580f38=0x0;_0x580f38<_0x219aa9['items']['length'];_0x580f38++){let _0x230add=_0x219aa9['items'][_0x580f38];if(_0x230add){if('file'===_0x230add['kind']){let _0x434ec=_0x230add['type'],_0x1696f7=_0x230add;if('function'==typeof _0x1696f7['webkitGetAsEntry']||'function'==typeof _0x1696f7['getAsEntry']){let _0x55b433='function'==typeof _0x1696f7['webkitGetAsEntry']?_0x1696f7['webkitGetAsEntry']():_0x1696f7['getAsEntry']?.();_0x55b433&&t['push'](zH(_0x55b433,_0x434ec)['then'](_0x52a8ee=>{_0x52a8ee&&_0x332e33['push'](..._0x52a8ee);}));continue;}let _0x17b081=_0x230add['getAsFile']();_0x17b081&&t['push'](WH(_0x17b081)['then'](_0x2eea6b=>{_0x2eea6b||_0x332e33['push']({'type':'file','file':_0x17b081});}));}else'string'===_0x230add['kind']&&/^text\/uri-list/['test'](_0x230add['type'])&&t['push'](new Promise(_0x184ce4=>{_0x230add['getAsString'](_0x16ae0a=>{_0x332e33['push']({'type':'url','url':_0x16ae0a}),_0x184ce4();});}));}}return Promise['all'](t)['then'](()=>_0x332e33);}(_0xaceb50);_0x5b9d01['onItems'](_0x4c1ddf),_0x2e3c1c(YH['INACTIVE']);};return t['addEventListener']('drop',_0x24f72b),t['addEventListener']('dragleave',_0x45bcd7),t['addEventListener']('dragenter',_0x55079f),t['addEventListener']('dragover',_0xa07762),_0x5b9d01['element']['addEventListener']('drop',_0x45617f),KH['forEach'](_0x4231e1=>{window['addEventListener'](_0x4231e1,_0x442873);}),()=>{JH['delete'](_0x5b9d01['element']),t['removeEventListener']('drop',_0x24f72b),t['removeEventListener']('dragleave',_0x45bcd7),t['removeEventListener']('dragenter',_0x55079f),t['removeEventListener']('dragover',_0xa07762),_0x5b9d01['element']['removeEventListener']('drop',_0x45617f),KH['forEach'](_0x346df0=>{window['removeEventListener'](_0x346df0,_0x442873);});};}var eG=new Set(),iG=class extends tH{constructor(){super(...arguments),this['single']=!0x1,this['ghost']=!0x1,this['disabled']=!0x1,this['clickable']=!0x1,this['withIcon']=!0x1,this['fullscreen']=!0x1,this['initflow']=!0x1,this['Oe']=!0x0,this['fa']=!0x0,this['Do']='drop-files-here',this['ma']=!0x1,this['va']=null,this['Fo']=null,this['ya']=EH(),this['Lt']=t=>{if(t instanceof KeyboardEvent){if('Space'!==t['code']&&'Enter'!==t['code'])return;}else{if(!(t instanceof MouseEvent))return;}this['initflow']?this['api']['initFlow']():this['api']['openSystemDialog']();},this['ba']=!0x0,this['Rt']=!0x1;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];}['ga'](){let t=this['text'];'string'==typeof t&&t['length']>0x0?this['Do']=this['l10n'](t)||t:this['Do']=this['ma']?this['l10n']('drop-files-here'):this['l10n']('drop-file-here');}['isActive'](){if(!this['Oe'])return!0x1;let t=this['getBoundingClientRect'](),_0x5cc54c=t['width']>0x0&&t['height']>0x0,_0x50226a=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x36ad4e=window['getComputedStyle'](this),_0x16d40e='hidden'!==_0x36ad4e['visibility']&&'none'!==_0x36ad4e['display'];return _0x5cc54c&&_0x16d40e&&_0x50226a;}['initCallback'](){super['initCallback'](),eG['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](YH['INACTIVE']),this['va']=tG({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x543354=>{'url'===_0x543354['type']?this['api']['addFileFromUrl'](_0x543354['url'],{'source':SF['DROP_AREA']}):'file'===_0x543354['type']&&this['api']['addFileFromObject'](_0x543354['file'],{'source':SF['DROP_AREA'],'fullPath':_0x543354['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':JF['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](JF['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x2ffde2=mU(t);this['ba']=_0x2ffde2['includes'](SF['LOCAL']),this['No'](),this['Vo']();}),this['subConfigValue']('multiple',t=>{this['ma']=!!t,this['ga']();});}['willUpdate'](t){super['willUpdate'](t),t['has']('disabled')&&(this['No'](),this['Vo']()),(t['has']('text')||t['has']('localeId'))&&this['ga']();}['updated'](t){super['updated'](t),t['has']('clickable')&&this['wa']();}['Ea'](){if(!this['Oe']||!this['zu']())return!0x0;if(!this['fullscreen'])return!0x1;let t=eG;return 0x0!==t['size']&&[...t]['filter'](_0x100a9d=>_0x100a9d!==this)['filter'](_0x1f6565=>_0x1f6565['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x17d26e=this['cfg']['multipleMax'],_0x195a31=this['uploadCollection']['size'];return!(t&&_0x17d26e&&_0x195a31>=_0x17d26e||!t&&_0x195a31>0x0);}['No'](){let t=this['ba']&&!this['disabled'];this['Oe']=t;}['Vo'](){let t=this['Oe']||!this['querySelector']('[data-default-slot]');this['fa']=t,this['hidden']=!t;}['Ta'](t){let _0x3c978e=Object['entries'](YH)['find'](([,_0x1d0d7f])=>_0x1d0d7f===t)?.[0x0]['toLowerCase']();_0x3c978e&&this['setAttribute']('drag-state',_0x3c978e);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=tG({'element':t,'onChange':_0x5e274f=>{let _0x1d69de=Object['entries'](YH)['find'](([,_0x250b3e])=>_0x250b3e===_0x5e274f)?.[0x0]['toLowerCase']();_0x1d69de&&t['setAttribute']('drag-state',_0x1d69de);},'onItems':()=>{},'shouldIgnore':()=>this['Ea']()}));}['wa'](){this['clickable']&&!this['Rt']?(this['addEventListener']('keydown',this['Lt']),this['addEventListener']('click',this['Lt']),this['Rt']=!0x0):!this['clickable']&&this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['disconnectedCallback'](){super['disconnectedCallback'](),eG['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return aV` ${this['yield']('',aV`<div data-default-slot hidden></div><div ${SH(this['ya'])} class="uc-content-wrapper" ?hidden=${!this['fa']}><div class="uc-icon-container" ?hidden=${!this['withIcon']}><uc-icon name="default"></uc-icon><uc-icon name="arrow-down"></uc-icon></div><span class="uc-text">${this['Do']}</span></div>`)} `;}};dQ([QV({'type':Boolean,'noAccessor':!0x0})],iG['prototype'],'single',0x2),dQ([QV({'type':Boolean,'noAccessor':!0x0})],iG['prototype'],'ghost',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],iG['prototype'],'disabled',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],iG['prototype'],'clickable',0x2),dQ([QV({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],iG['prototype'],'withIcon',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],iG['prototype'],'fullscreen',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],iG['prototype'],'initflow',0x2),dQ([QV({'type':String})],iG['prototype'],'text',0x2),dQ([VV()],iG['prototype'],'Oe',0x2),dQ([VV()],iG['prototype'],'fa',0x2),dQ([VV()],iG['prototype'],'Do',0x2);var sG=class extends tH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=JF['activities']['UPLOAD_LIST'],this['xa']=!0x1,this['Ca']=!0x1,this['Sa']=!0x1,this['_o']=!0x1,this['Bo']=!0x1,this['ur']=null,this['Aa']=!0x1,this['zo']=null,this['ka']=()=>{this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](kj['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](kj['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=FH(()=>{this['isConnected']&&(this['ju'](),!this['couldOpenActivity']&&this['$']['*currentActivity']===this['activityType']&&this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);}get['Hu'](){return this['zo']?this['Ku'](this['zo']):'';}['ju'](){let t=this['api']['getOutputCollectionState'](),_0x2e720d={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x14a642=>_0x14a642['isValidationPending'])['length']},_0x397ace=!t['errors']['some'](_0x5988d7=>'TOO_MANY_FILES'===_0x5988d7['type']||'TOO_FEW_FILES'===_0x5988d7['type']),_0x1d78ec=t['errors']['some'](_0x57651c=>'TOO_MANY_FILES'===_0x57651c['type']),_0x336b5c=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x3c4abd=t['allEntries']['some'](_0x33dba0=>_0x33dba0['isValidationPending']),_0x1597e2=0x0===_0x2e720d['failed']&&0x0===t['errors']['length']&&!_0x3c4abd,_0x3d1880=!0x1,_0x13fd37=!0x1,_0x5bdf35=!0x1;if(_0x2e720d['total']-_0x2e720d['succeed']-_0x2e720d['uploading']-_0x2e720d['failed']>0x0&&_0x397ace&&_0x1597e2&&this['cfg']['confirmUpload'])_0x3d1880=!0x0;else{_0x13fd37=!0x0;let _0x45dc19=!this['cfg']['groupOutput']||!!t['group'];_0x5bdf35=_0x2e720d['total']===_0x2e720d['succeed']&&_0x397ace&&_0x1597e2&&_0x45dc19;}this['xa']=_0x13fd37,this['Ca']=_0x5bdf35,this['Sa']=_0x3d1880,this['Bo']=0x0===_0x2e720d['total']||!_0x1d78ec&&!_0x336b5c,this['_o']=!_0x336b5c||this['cfg']['multiple'],this['Aa']=_0x2e720d['total']>0x0,this['zo']=_0x2e720d;}['Ku'](t){let _0x44af88=_0x38c3ab=>{let _0x23b7a2=t[_0x38c3ab];return'uploading'===_0x38c3ab&&(_0x23b7a2+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x38c3ab,{'count':_0x23b7a2});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x44af88('uploading'):t['failed']>0x0?_0x44af88('failed'):t['succeed']>0x0?_0x44af88('succeed'):_0x44af88('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['Te']),this['subConfigValue']('multipleMin',this['Te']),this['subConfigValue']('multipleMax',this['Te']),this['sub']('*groupInfo',t=>{t&&this['Te']();}),this['subConfigValue']('filesViewMode',t=>{this['setAttribute']('mode',t);}),this['sub']('*currentActivity',t=>{!this['couldOpenActivity']&&t===this['activityType']&&(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['Te']),this['uploadCollection']['observeCollection'](this['Te']),this['sub']('*collectionErrors',t=>{let _0x5ba452=t['filter'](_0x384e63=>'SOME_FILES_HAS_ERRORS'!==_0x384e63['type'])[0x0];this['ur']=_0x5ba452?_0x5ba452['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return aV`<uc-activity-header><span aria-live="polite" class="uc-header-text">${this['Hu']}</span><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-no-files" ?hidden=${this['Aa']}>${this['yield']('empty',aV`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${GH(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>aV`<uc-file-item .uid=${t}></uc-file-item>`)}</div><button type="button" class="uc-add-more-btn uc-secondary-btn" @click=${this['ka']} ?disabled=${!this['Bo']} ?hidden=${!this['_o']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button></div><div class="uc-common-error" ?hidden=${!this['ur']} >${this['ur']??''}</div><div class="uc-toolbar"><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('clear')}</button><div class="uc-toolbar-spacer"></div><button type="button" class="uc-add-more-btn uc-secondary-btn" ?hidden=${!this['_o']} ?disabled=${!this['Bo']} @click=${this['ka']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button><button type="button" class="uc-upload-btn uc-primary-btn" ?hidden=${!this['Sa']} @click=${this['Ho']} >${this['l10n']('upload')}</button><button type="button" class="uc-done-btn uc-primary-btn" ?hidden=${!this['xa']} ?disabled=${!this['Ca']} @click=${this['Ko']} >${this['l10n']('done')}</button></div><uc-drop-area ghost></uc-drop-area>`;}};dQ([VV()],sG['prototype'],'xa',0x2),dQ([VV()],sG['prototype'],'Ca',0x2),dQ([VV()],sG['prototype'],'Sa',0x2),dQ([VV()],sG['prototype'],'_o',0x2),dQ([VV()],sG['prototype'],'Bo',0x2),dQ([VV()],sG['prototype'],'ur',0x2),dQ([VV()],sG['prototype'],'Aa',0x2),dQ([VV()],sG['prototype'],'zo',0x2);var nG=[{'test':_0xc377ec=>!!_0xc377ec['accept']&&!!_0xc377ec['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':_0x92df76=>null!==_0x92df76['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':_0x1886be=>null!==_0x1886be['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],rG=UV(_0x3739c2=>{for(let {test:_0x3efbe6,message:t}of nG)_0x3efbe6(_0x3739c2)&&PF(t);},0x0),oG=async _0x32a2a8=>{let _0x3438f2=await(async _0x3ea168=>{let _0x2204d7=new TextEncoder()['encode'](_0x3ea168),t=await window['crypto']['subtle']['digest']('SHA-256',_0x2204d7),_0x24c6ac=Array['from'](new Uint8Array(t))['map'](_0x1bc9ff=>_0x1bc9ff['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x24c6ac);})(_0x32a2a8);return(_0xb1f195=>{if(_0xb1f195<=0x0n)return'0';let _0x17f72b='';for(;_0xb1f195>0x0n;)_0x17f72b='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0xb1f195%0x24n)]+_0x17f72b,_0xb1f195/=0x24n;return _0x17f72b;})(_0x3438f2)['slice'](0x0,0xa);},aG=async(_0x182332,_0x1a825e)=>((_0x1d0f12,_0x5681c3)=>{let t=new URL(_0x5681c3);return t['hostname']=_0x1d0f12+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await oG(_0x182332),_0x1a825e),cG=_0x2720a5=>_0x2720a5 instanceof Promise||!(!_0x2720a5||'object'!=typeof _0x2720a5||!('then'in _0x2720a5)||'function'!=typeof _0x2720a5['then']),lG=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x2a4a6d,enableVideoRecording:_0x4e025b})=>{let t=_0x4e025b();if(null===t)return _0x2a4a6d();let _0x512fdd=tU(_0x2a4a6d());return t&&!_0x512fdd['includes']('video')?_0x512fdd=_0x512fdd['concat']('video'):t||(_0x512fdd=_0x512fdd['filter'](_0x1a38f7=>'video'!==_0x1a38f7)),eU(_0x512fdd);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x30a791,defaultCameraMode:_0x37c74d})=>{let t=_0x37c74d();if(null===t)return _0x30a791();let _0x5e5359=tU(_0x30a791());return _0x5e5359=_0x5e5359['sort']((_0x3807eb,_0x1cb384)=>_0x3807eb===t?-0x1:_0x1cb384===t?0x1:0x0),eU(_0x5e5359);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x3cab8d,cdnCname:_0x5cdcde,cdnCnamePrefixed:t})=>{let _0x4bd9a0=_0x3cab8d(),_0x5645b6=_0x5cdcde(),_0x5fef66=t();return _0x4bd9a0&&(_0x5645b6===xU||((_0x1bebb8,_0x36a05a)=>{try{let t=new URL(_0x1bebb8),_0x597e64=new URL(_0x36a05a);return t['hostname']['endsWith'](_0x597e64['hostname']);}catch{return!0x1;}})(_0x5645b6,_0x5fef66))?aG(_0x4bd9a0,_0x5fef66):_0x5645b6;}}],hG=_0x3d1e8d=>String(_0x3d1e8d),uG=_0x3c3391=>{let _0xbc70b5=Number(_0x3c3391);if(Number['isNaN'](_0xbc70b5))throw new Error('Invalid\x20number:\x20\x22'+_0x3c3391+'\x22');return _0xbc70b5;},dG=_0x48b6b5=>{if(typeof _0x48b6b5>'u'||null===_0x48b6b5)return!0x1;if('boolean'==typeof _0x48b6b5)return _0x48b6b5;if('true'===_0x48b6b5||''===_0x48b6b5)return!0x0;if('false'===_0x48b6b5)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x48b6b5+'\x22');},fG=_0x411e15=>{if('object'==typeof _0x411e15)return _0x411e15;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},mG=_0x4310f0=>{if('function'==typeof _0x4310f0)return _0x4310f0;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},gG=_0x572935=>{if(Array['isArray'](_0x572935))return _0x572935;throw new Error('Must\x20be\x20an\x20array.');},pG={'pubkey':hG,'multiple':dG,'multipleMin':uG,'multipleMax':uG,'confirmUpload':dG,'imgOnly':dG,'accept':hG,'externalSourcesPreferredTypes':hG,'externalSourcesEmbedCss':hG,'store':_0x4c1440=>'auto'===_0x4c1440?_0x4c1440:dG(_0x4c1440),'cameraMirror':dG,'cameraCapture':_0x4b7087=>{let _0x59f419=hG(_0x4b7087);if('user'!==_0x59f419&&'environment'!==_0x59f419&&''!==_0x59f419)throw new Error('Invalid\x20value:\x20\x22'+_0x59f419+'\x22');return _0x59f419;},'sourceList':hG,'topLevelOrigin':hG,'maxLocalFileSizeBytes':uG,'thumbSize':uG,'showEmptyList':dG,'useLocalImageEditor':dG,'useCloudImageEditor':dG,'cloudImageEditorTabs':hG,'removeCopyright':dG,'cropPreset':hG,'imageShrink':hG,'modalScrollLock':dG,'modalBackdropStrokes':dG,'sourceListWrap':dG,'remoteTabSessionKey':hG,'cdnCname':hG,'cdnCnamePrefixed':hG,'baseUrl':hG,'socialBaseUrl':hG,'secureSignature':hG,'secureExpire':hG,'secureDeliveryProxy':hG,'retryThrottledRequestMaxTimes':uG,'retryNetworkErrorMaxTimes':uG,'multipartMinFileSize':uG,'multipartChunkSize':uG,'maxConcurrentRequests':uG,'multipartMaxConcurrentRequests':uG,'multipartMaxAttempts':uG,'checkForUrlDuplicates':dG,'saveUrlForRecurrentUploads':dG,'groupOutput':dG,'userAgentIntegration':hG,'debug':dG,'localeName':hG,'metadata':_0x40a429=>{if('object'==typeof _0x40a429&&!Array['isArray'](_0x40a429)||'function'==typeof _0x40a429)return _0x40a429;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':uG,'localeDefinitionOverride':_0x3c750e=>fG(_0x3c750e),'secureUploadsSignatureResolver':_0xb18763=>mG(_0xb18763),'secureDeliveryProxyUrlResolver':_0x543e18=>mG(_0x543e18),'iconHrefResolver':_0x39c6dd=>mG(_0x39c6dd),'plugins':_0x4e0ba5=>gG(_0x4e0ba5),'fileValidators':gG,'collectionValidators':gG,'validationTimeout':uG,'validationConcurrency':uG,'cameraModes':_0x17e6b4=>{let _0x4f022b=hG(_0x17e6b4),t=tU(_0x4f022b);if(t['some'](_0xf14f09=>!Object['values'](bF)['includes'](_0xf14f09)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x4f022b;},'defaultCameraMode':_0x5a8b14=>{let _0x582e3a=hG(_0x5a8b14);if(!Object['values'](bF)['includes'](_0x582e3a))throw new Error('Invalid\x20value:\x20\x22'+_0x582e3a+'\x22');return _0x582e3a;},'enableAudioRecording':dG,'enableVideoRecording':dG,'mediaRecorderOptions':fG,'maxVideoRecordingDuration':uG,'filesViewMode':_0x5716cd=>{let _0x4452c5=hG(_0x5716cd);if(['grid','list']['includes'](_0x4452c5))return _0x4452c5;throw new Error('Invalid\x20value:\x20\x22'+_0x4452c5+'\x22');},'gridShowFileNames':dG,'cloudImageEditorAutoOpen':dG,'cloudImageEditorMaskHref':hG,'testMode':dG,'qualityInsights':dG,'pasteScope':_0x2ca29e=>{let _0x31b81e=hG(_0x2ca29e);if('local'===_0x31b81e||'global'===_0x31b81e)return _0x31b81e;if(!0x1===dG(_0x2ca29e))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x31b81e+'\x22');}},OG=[...new Set(['debug',...Object['keys'](PU)])],wG=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],bG=_0x3f2ac0=>wG['includes'](_0x3f2ac0),yG=OG['filter'](_0x57d5f5=>!bG(_0x57d5f5)),vG={...Object['fromEntries'](yG['map'](_0x493a50=>[UU(_0x493a50),_0x493a50])),...Object['fromEntries'](yG['map'](_0x1b898f=>[_0x1b898f['toLowerCase'](),_0x1b898f]))},_G=_0x1375c6=>'__'+_0x1375c6,EG=class extends Fj{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](PU)['map'](([t,_0x1607fc])=>[JV(t),_0x1607fc]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x54240c=this['i']['pluginManager'];if(_0x54240c)return _0x54240c['configRegistry']['get'](t);}['Oa'](t){return[...new Set([UU(t),t['toLowerCase']()])];}['qu'](t,_0x1263bb){if(bG(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x4d4216=this['Oa'](t);for(let _0x319ad2 of _0x4d4216)typeof _0x1263bb>'u'||null===_0x1263bb?this['removeAttribute'](_0x319ad2):this['getAttribute'](_0x319ad2)!==_0x1263bb['toString']()&&this['setAttribute'](_0x319ad2,_0x1263bb['toString']());}['Wu'](t,_0x43c647){let _0x13b683=JV(t);if(this['$'][_0x13b683]!==_0x43c647){if(typeof _0x43c647>'u'||null===_0x43c647){let _0x5dd405=PU[t];this['$'][_0x13b683]=void 0x0!==_0x5dd405?_0x5dd405:_0x43c647;}else this['$'][_0x13b683]=_0x43c647;}}['Ye'](t,_0x488f1a){let _0x573172;if(this['jo'](t)){let _0x34dd22=this['Go'](t);try{_0x573172=_0x34dd22?.['normalize']?.(_0x488f1a)??_0x488f1a;}catch(_0x3ff23f){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x3ff23f);}}else _0x573172=((_0x2f1d4c,_0x206827)=>{if(!(typeof _0x206827>'u'||null===_0x206827))try{return pG[_0x2f1d4c](_0x206827);}catch(_0x53f817){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x2f1d4c+'\x22.',_0x53f817),PU[_0x2f1d4c];}})(t,_0x488f1a);let _0x5a7a5a=this,_0x5aab58=_G(t);_0x5a7a5a[_0x5aab58]!==_0x573172&&(this['Zu'](t,_0x5a7a5a[_0x5aab58],_0x573172),_0x5a7a5a[_0x5aab58]=_0x573172,this['qu'](t,_0x573172),this['Wu'](t,_0x573172),this['debugPrint']('\x22'+t+'\x22',_0x573172),this['jo'](t)||rG(this['cfg']));}['pr'](t){return this[_G(t)]??this['$'][JV(t)];}['Zu'](t,_0x6e66ae,_0x229a6a){this['cfg']['debug']&&_0x229a6a!==_0x6e66ae&&'object'==typeof _0x229a6a&&'object'==typeof _0x6e66ae&&JSON['stringify'](_0x229a6a)===JSON['stringify'](_0x6e66ae)&&(console['warn']('[uc-config]\x20Option\x20\x22'+t+'\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'+t+'\x22\x20previous\x20value:',_0x6e66ae),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x229a6a));}['Ia'](t){let _0x213996=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x213996['keys']());for(let [_0x16c20e,_0x3ad312]of this['Ut'])_0x213996['has'](_0x16c20e)||(_0x3ad312(),this['Ut']['delete'](_0x16c20e));for(let [_0x23b515,_0x477def]of _0x213996){let _0x3e9635=JV(_0x23b515);if(_0x477def['attribute']){let _0xc0f641=this['Oa'](_0x23b515);for(let _0x5b63ae of _0xc0f641)this['ci'][_0x5b63ae]=_0x23b515;}this['sharedCtx']['has'](_0x3e9635)||this['sharedCtx']['add'](_0x3e9635,_0x477def['defaultValue']);let _0x4de73e=Object['getOwnPropertyDescriptor'](this,_0x23b515);if((!_0x4de73e||!_0x4de73e['set']||!_0x4de73e['get'])&&Object['defineProperty'](this,_0x23b515,{'set':_0x302287=>{this['Ye'](_0x23b515,_0x302287);},'get':()=>this['pr'](_0x23b515),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0x23b515)){let _0x5447c1=this['sub'](_0x3e9635,_0x163b2a=>{this['Ye'](_0x23b515,_0x163b2a);},!0x1);this['Ut']['set'](_0x23b515,_0x5447c1);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x395ad3 of t)if('attributes'===_0x395ad3['type']&&_0x395ad3['attributeName']){let _0x5364c1=_0x395ad3['attributeName'],_0x16e9ae=_0x395ad3['oldValue'],_0x4f96f1=this['getAttribute'](_0x5364c1);if(_0x16e9ae===_0x4f96f1||_0x5364c1 in vG)continue;if(_0x5364c1 in this['ci']){let _0x4449ad=this['ci'][_0x5364c1],_0x28d1b7=this['Go'](_0x4449ad);this['attributeChangedCallback'](_0x5364c1,_0x16e9ae??'',_0x4f96f1??_0x28d1b7?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x1cdd87 of yG)this['sub'](JV(_0x1cdd87),_0x1e9964=>{this['Ye'](_0x1cdd87,_0x1e9964);},!0x1);for(let _0x5a20e8 of OG){let _0x5a0fa8=t[_0x5a20e8]??this['$'][JV(_0x5a20e8)];_0x5a0fa8!==PU[_0x5a20e8]&&this['Ye'](_0x5a20e8,_0x5a0fa8);let _0x55a8de=Object['getOwnPropertyDescriptor'](this,_0x5a20e8);(!_0x55a8de||!_0x55a8de['set']||!_0x55a8de['get'])&&Object['defineProperty'](this,_0x5a20e8,{'set':_0xfb5152=>{this['Ye'](_0x5a20e8,_0xfb5152);},'get':()=>this['pr'](_0x5a20e8)});}let _0x2b8171=_0x2a9ec8=>{(({key:_0x5f1890,setValue:_0x274533,getValue:t,computationControllers:_0x3fb348})=>{for(let _0x510d74 of lG){if(!_0x510d74['deps']['includes'](_0x5f1890))continue;let _0x1fdab5={[_0x510d74['key']]:()=>t(_0x510d74['key'])};for(let _0x159ed9 of _0x510d74['deps'])_0x1fdab5[_0x159ed9]=()=>t(_0x159ed9);let _0x18b82d,_0x8cf30=new AbortController();_0x3fb348['get'](_0x510d74['fn'])?.['abort'](),_0x3fb348['set'](_0x510d74['fn'],_0x8cf30);try{_0x18b82d=_0x510d74['fn'](_0x1fdab5,{'signal':_0x8cf30['signal']});}catch(_0x33a388){return _0x3fb348['get'](_0x510d74['fn'])===_0x8cf30&&_0x3fb348['delete'](_0x510d74['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x510d74['key']+'\x22',_0x33a388);}cG(_0x18b82d)?_0x18b82d['then'](_0x18db3e=>{_0x8cf30['signal']['aborted']||_0x274533(_0x510d74['key'],_0x18db3e);})['catch'](_0x43468e=>{_0x8cf30['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x510d74['key']+'\x22',_0x43468e);})['finally'](()=>{_0x3fb348['get'](_0x510d74['fn'])===_0x8cf30&&_0x3fb348['delete'](_0x510d74['fn']);}):_0x274533(_0x510d74['key'],_0x18b82d);}})({'key':_0x2a9ec8,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x1d5833 of OG)this['sub'](JV(_0x1d5833),()=>_0x2b8171(_0x1d5833));}['attributeChangedCallback'](t,_0xe4b137,_0x2a5229){if(super['attributeChangedCallback'](t,_0xe4b137,_0x2a5229),_0xe4b137===_0x2a5229)return;let _0x142db7=vG[t];_0x142db7?this[_0x142db7]=_0x2a5229:this['i']['when']('pluginManager',_0x29e488=>{let _0x9ad4d6=this['getAttribute'](t);if(_0x9ad4d6&&_0x9ad4d6!==_0x2a5229)return;let _0x436a24=this['ci'][t],_0x36cadb=_0x436a24?_0x29e488['configRegistry']['get'](_0x436a24):void 0x0;if(_0x436a24&&_0x36cadb){let _0x119770=_0x36cadb['fromAttribute']?_0x36cadb['fromAttribute'](_0x2a5229):_0x2a5229;if(this['pr'](_0x436a24)===_0x119770)return;this['Ye'](_0x436a24,_0x119770);}});}['disconnectedCallback'](){super['disconnectedCallback'](),this['dr']&&(this['dr'](),this['dr']=void 0x0),this['li']&&(this['li']['disconnect'](),this['li']=void 0x0);for(let t of this['Ut']['values']())t();this['Ut']['clear']();}static get['observedAttributes'](){return[...super['observedAttributes'],...Object['keys'](vG)];}};for(let e of OG)EG['prototype'][e]=void 0x0;var TG=class extends tH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['dropzone']=!0x0,this['ui']='upload-file',this['Qu']=()=>{this['api']['initFlow']();};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];}['initCallback'](){super['initCallback'](),this['subConfigValue']('multiple',t=>{this['ui']=t?'upload-files':'upload-file';});}['render'](){return aV`<uc-drop-area .disabled=${!this['dropzone']}><button type="button" @click=${this['Qu']}><uc-icon name="upload"></uc-icon><span>${this['l10n'](this['ui'])}</span>${this['yield']('')}<div class="uc-visual-drop-area">${this['l10n']('drop-files-here')}</div></button></uc-drop-area>`;}};dQ([QV({'attribute':'dropzone','type':Boolean})],TG['prototype'],'dropzone',0x2),dQ([VV()],TG['prototype'],'ui',0x2);var AG=class extends JF{constructor(){super(...arguments),this['Wo']=EH();}['initCallback'](){this['activityType']=this['registration']?.['id']??null,this['Pa'](),super['initCallback']();}['willUpdate'](t){super['willUpdate'](t),t['has']('registration')&&(this['Pa'](),this['isActivityActive']&&(this['hr'](),this['La']()));}['Pa'](){this['registration']&&(this['Pn']()||this['registerActivity'](this['activityType']??'',{'onActivate':()=>this['La'](),'onDeactivate':()=>this['hr']()}));}async['La'](){await this['updateComplete'];let t=this['Wo']['value'];if(!t||!this['registration'])return;this['hr']();let _0x5c00d8=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x5c00d8)??void 0x0;}catch(_0x228b80){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x228b80);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x3b9f79){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x3b9f79);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return aV`<div style="display: contents;" ${SH(this['Wo'])}></div>`;}};dQ([QV({'attribute':!0x1})],AG['prototype'],'registration',0x2);var SG=class extends Fj{constructor(){super(...arguments),this['mode']='modal',this['de']=[];}['initCallback'](){super['initCallback']();let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ra']())),this['Ra']();}['Ra'](){let t=this['i']['pluginManager'];this['de']=t?t['snapshot']()['activities']:[];}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}['render'](){return'inline'===this['mode']?aV`${GH(this['de'],t=>t['id'],t=>aV`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:aV`${GH(this['de'],t=>t['id'],t=>aV`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function IG(_0xb2da28,_0x8d4a18,t){return _0xb2da28?_0x8d4a18(_0xb2da28):t?.(_0xb2da28);}function CG(..._0x4eb59a){return _0x4eb59a['reduce']((_0x1dd784,t)=>{if('string'==typeof t)return _0x1dd784[t]=!0x0,_0x1dd784;for(let _0x494bd4 of Object['keys'](t))_0x1dd784[_0x494bd4]=t[_0x494bd4];return _0x1dd784;},{});}function kG(..._0x4e636b){let _0x32c981=CG(..._0x4e636b);return Object['keys'](_0x32c981)['reduce']((t,_0x2ff906)=>(_0x32c981[_0x2ff906]&&t['push'](_0x2ff906),t),[])['join']('\x20');}dQ([QV({'type':String})],SG['prototype'],'mode',0x2),dQ([VV()],SG['prototype'],'de',0x2);var xG=_0x43601f=>TU['includes'](_0x43601f);function RG(_0x17465c){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':TU,'*tabId':EU['CROP'],'*on.retryNetwork':()=>{let _0x4eef96=_0x17465c['querySelectorAll']('img');for(let t of _0x4eef96){let _0x3a75a0=t['src'];t['src']=LH,t['src']=_0x3a75a0;}_0x17465c['$']['*networkProblems']=!0x1;},'*on.apply':_0x4a2579=>{if(!_0x4a2579)return;let t=_0x17465c['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0x43dfa1=nU(OU(_0x4a2579),'preview'),_0x2686b2={'originalUrl':t,'cdnUrlModifiers':_0x43dfa1,'cdnUrl':dU(t,_0x43dfa1),'transformations':_0x4a2579};_0x17465c['dispatchEvent'](new CustomEvent('apply',{'detail':_0x2686b2,'bubbles':!0x0,'composed':!0x0})),_0x17465c['remove']();},'*on.cancel':()=>{_0x17465c['remove'](),_0x17465c['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var PG={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},MG=class extends Fj{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=PG,this['$a']=PG['visible'],this['Da']=PG['hidden'],this['Zo']=!0x1,this['Fa']=!0x1;}set['visible'](t){this['he']=t,this['Na']();}get['visible'](){return this['he'];}set['styles'](t){this['Ua']=t,this['Zo']=!0x0,this['$a']=t['visible']??PG['visible'],this['Da']=t['hidden']??PG['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x30bf92,..._0x37029b){let t=CG(..._0x37029b);for(let _0x203dff of Object['keys'](t))_0x30bf92['classList']['toggle'](_0x203dff,!!t[_0x203dff]);}(this,{[PG['transition']]:!this['Zo'],[this['$a']]:this['he'],[this['Da']]:!this['he']}),this['toggleAttribute']('inert',!this['he']);}['Ju'](){this['Fa']||(this['Fa']=!0x0,this['dispatchEvent'](new CustomEvent('initial-render',{'bubbles':!0x0,'composed':!0x0})));}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['Zo']||this['classList']['add'](PG['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};dQ([QV({'type':Boolean})],MG['prototype'],'visible',0x1),dQ([QV({'attribute':!0x1})],MG['prototype'],'styles',0x1);var NG=class extends Fj{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=EH(),this['Yo']=!0x1,this['Xo']=()=>{let t=this['Xe']['value'];t&&(this['Va'](t),this['Yo']&&this['active']&&this['Qo']());};}['firstUpdated'](t){super['firstUpdated'](t),this['active']&&this['Qo']();}['updated'](t){super['updated'](t),t['has']('active')&&(this['active']?this['Qo']():this['ed']());}['Qo'](){let t=this['Xe']['value'];if(!t)return;this['Yo']=!0x0;let {width:_0x3dd419}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x3dd419+'px)',t['addEventListener']('transitionend',this['Xo'],{'once':!0x0});}['ed'](){let t=this['Xe']['value'];t&&(this['Yo']=!0x1,t['removeEventListener']('transitionend',this['Xo']),this['Va'](t));}['Va'](t){t['style']['transition']='initial',t['style']['opacity']='0',t['style']['transform']='translateX(-101%)';}['render'](){return aV`<div class="uc-inner"><div class="uc-line" ${SH(this['Xe'])}></div></div>`;}};dQ([QV({'type':Boolean,'reflect':!0x0})],NG['prototype'],'active',0x2);var LG=Zj(class extends Xj{constructor(_0x53ef26){if(super(_0x53ef26),_0x53ef26['type']!==Hj||'class'!==_0x53ef26['name']||_0x53ef26['strings']?.['length']>0x2)throw Error('`classMap()`\x20can\x20only\x20be\x20used\x20in\x20the\x20`class`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x179cd2){return'\x20'+Object['keys'](_0x179cd2)['filter'](_0x4112d0=>_0x179cd2[_0x4112d0])['join']('\x20')+'\x20';}['update'](_0xc84113,[_0x154f46]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0xc84113['strings']&&(this['nt']=new Set(_0xc84113['strings']['join']('\x20')['split'](/\s/)['filter'](_0x566223=>''!==_0x566223)));for(let _0xcddbe3 in _0x154f46)_0x154f46[_0xcddbe3]&&!this['nt']?.['has'](_0xcddbe3)&&this['st']['add'](_0xcddbe3);return this['render'](_0x154f46);}let t=_0xc84113['element']['classList'];for(let _0x58bbc4 of this['st'])_0x58bbc4 in _0x154f46||(t['remove'](_0x58bbc4),this['st']['delete'](_0x58bbc4));for(let _0x34d395 in _0x154f46){let _0x1ff276=!!_0x154f46[_0x34d395];_0x1ff276===this['st']['has'](_0x34d395)||this['nt']?.['has'](_0x34d395)||(_0x1ff276?(t['add'](_0x34d395),this['st']['add'](_0x34d395)):(t['remove'](_0x34d395),this['st']['delete'](_0x34d395)));}return cV;}}),$G=_0x1aeb6a=>_0x1aeb6a??lV,DG=class extends Fj{constructor(){super(...arguments),this['text']='',this['icon']='',this['reverse']=!0x1,this['theme']='default',this['ariaRole']=void 0x0,this['ariaControls']='',this['titleProp']='',this['active']=!0x1;}['firstUpdated'](t){super['firstUpdated'](t),this['_a'](),this['Ba']();}['updated'](t){super['updated'](t),t['has']('reverse')&&this['_a'](),t['has']('theme')&&this['Ba']();}['_a'](){this['style']['flexDirection']=this['reverse']?'row-reverse':'';}['Ba'](){this['theme']&&'custom'!==this['theme']&&(this['className']='uc-'+this['theme']);}get['td'](){let t=this['Jo'];return{'uc-icon':!0x0,'uc-icon_left':!this['reverse'],'uc-icon_right':this['reverse'],'uc-icon_hidden':t,'uc-icon_single':this['rd']};}get['Jo'](){return!this['icon'];}get['rd'](){return!this['text']&&!this['Jo'];}['render'](){return aV`<button type="button" role=${$G(this['ariaRole']||void 0x0)} aria-controls=${$G(this['ariaControls']||void 0x0)} aria-label=${$G(this['l10n'](this['titleProp']))} title=${$G(this['l10n'](this['titleProp']))} ><uc-icon class=${LG(this['td'])} name=${$G(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function QG(_0x3ce185,_0x3fabe4,t){let _0x896aa9=window['devicePixelRatio'],_0x3e6a0c=Math['min'](Math['ceil'](_0x3fabe4*_0x896aa9),0xbb8),_0xc342c7=_0x896aa9>=0x2?'lightest':'normal';return dU(_0x3ce185,nU(wU,OU(t),'quality/'+_0xc342c7,'stretch/off/-/resize/'+_0x3e6a0c+'x','@clib/'+Rj+'/'+Pj+'/uc-cloud-image-editor/'));}dQ([QV({'type':String})],DG['prototype'],'text',0x2),dQ([QV({'type':String})],DG['prototype'],'icon',0x2),dQ([QV({'type':Boolean,'reflect':!0x0})],DG['prototype'],'reverse',0x2),dQ([QV({'type':String,'reflect':!0x0})],DG['prototype'],'theme',0x2),dQ([QV({'attribute':'aria-role'})],DG['prototype'],'ariaRole',0x2),dQ([QV({'attribute':'aria-controls'})],DG['prototype'],'ariaControls',0x2),dQ([QV({'attribute':'title-prop'})],DG['prototype'],'titleProp',0x2),dQ([QV({'type':Boolean,'noAccessor':!0x0})],DG['prototype'],'active',0x2);var VG=class extends Fj{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+HV['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=EH(),this['mi']=!0x1,this['gi']=null,this['qa']=t=>{this['Wa'](),this['vi']&&(t['stopPropagation'](),t['preventDefault'](),this['vi']=!0x1);},this['Za']=t=>{if(!this['vi']||!this['fr']||!this['ts'])return;t['stopPropagation'](),t['preventDefault']();let _0x2db010=this['Re'];if(!_0x2db010)return;let {x:_0x5a89e2,y:_0x5d15e8}=_0x2db010['getBoundingClientRect'](),_0x517ac2=t['x']-_0x5a89e2,_0x4b8956=t['y']-_0x5d15e8,_0x258375=_0x517ac2-this['fr'][0x0],_0x4b0ed4=_0x4b8956-this['fr'][0x1],{direction:_0x3cda75}=this['ts'],_0x41098d=this['pd'](_0x3cda75,[_0x258375,_0x4b0ed4]);_0x41098d&&(this['$']['*cropBox']=_0x41098d);},this['Ya']=t=>{if(!this['xe'])return;let _0x11acc0=Object['values'](this['xe'])['find'](_0x1bf7cc=>{if(!_0x1bf7cc||this['os'](_0x1bf7cc['direction']))return!0x1;let _0x34beff=_0x1bf7cc['interactionNode']['getBoundingClientRect']();return function(_0x7910e2,[_0xa38db9,t]){return _0x7910e2['x']<=_0xa38db9&&_0xa38db9<=_0x7910e2['x']+_0x7910e2['width']&&_0x7910e2['y']<=t&&t<=_0x7910e2['y']+_0x7910e2['height'];}({'x':_0x34beff['x'],'y':_0x34beff['y'],'width':_0x34beff['width'],'height':_0x34beff['height']},[t['x'],t['y']]);});this['Ha']=_0x11acc0,this['Wa']();};}get['Re'](){return this['ja']['value']??null;}get['vi'](){return this['fi'];}set['vi'](t){this['fi']!==t&&(this['fi']=t,this['rs']());}['rs'](){this['pi']&&this['pi']['setAttribute']('class',kG({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x2bf5fe=this['$']['*imageBox'];if(!_0x2bf5fe)return!0x1;if(''===t&&_0x2bf5fe['height']<=0x1&&_0x2bf5fe['width']<=0x1)return!0x0;let _0x15182b=_0x2bf5fe['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0x40ef5d=_0x2bf5fe['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0x15182b||_0x40ef5d;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x2bb3f0,y:_0x4e39d2,width:_0x3f8845,height:_0xcd704d}=t,_0x92ce82=this['Re'];if(!_0x92ce82)return;let _0x4ceb6d=QF('mask',{'id':this['za']}),_0x206542=QF('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x397cc3=QF('rect',{'x':_0x2bb3f0,'y':_0x4e39d2,'width':_0x3f8845,'height':_0xcd704d,'fill':'black'});_0x4ceb6d['appendChild'](_0x206542),_0x4ceb6d['appendChild'](_0x397cc3);let _0x3707fc=QF('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x92ce82['appendChild'](_0x3707fc),_0x92ce82['appendChild'](_0x4ceb6d),this['di']=_0x4ceb6d,this['es']=_0x397cc3;}['sd'](){this['di']&&(this['di']['style']['display']='none',window['requestAnimationFrame'](()=>{this['di']&&(this['di']['style']['display']='block');}));}['nd'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x1965bf,y:_0x5089d9,width:_0x5d2f22,height:_0xc42492}=t;this['es']&&DF(this['es'],{'x':_0x1965bf,'y':_0x5089d9,'width':_0x5d2f22,'height':_0xc42492});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x63f341 of Object['values'](this['xe'])){if(!_0x63f341)continue;let {direction:_0x2ceac7,pathNode:_0xf47c65,interactionNode:_0x4feb41,groupNode:_0x34e187}=_0x63f341,_0x5ddf16=''===_0x2ceac7,_0x1e28f5=0x2===_0x2ceac7['length'],{x:_0x3d3a7b,y:_0x37e561,width:_0x7166a5,height:_0x5a0e09}=t;if(_0x5ddf16)DF(_0x4feb41,{'x':_0x3d3a7b,'y':_0x37e561,'width':_0x7166a5,'height':_0x5a0e09});else{let _0x18a69a=ZF(Math['min'](_0x7166a5,_0x5a0e09)/0x52/0x2,0x0,0x1),_0x5e9ccf=_0x1e28f5?VF(t,_0x2ceac7,_0x18a69a):UF(t,_0x2ceac7,_0x18a69a),_0x334d46=_0x5e9ccf['center'];if(!_0x334d46)continue;let _0x17addd=Math['max'](0x18*ZF(Math['min'](_0x7166a5,_0x5a0e09)/0x18/0x3,0x0,0x1),0x6);DF(_0x4feb41,{'x':_0x334d46[0x0]-_0x17addd,'y':_0x334d46[0x1]-_0x17addd,'width':0x2*_0x17addd,'height':0x2*_0x17addd}),DF(_0xf47c65,{'d':_0x5e9ccf['d']});}let _0x122c8d=this['os'](_0x2ceac7);_0x34e187['setAttribute']('class',kG('uc-thumb',{'uc-thumb--hidden':_0x122c8d,'uc-thumb--visible':!_0x122c8d}));}DF(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x4d7963){let _0x5101f2=QF('g');_0x5101f2['classList']['add']('uc-thumb'),_0x5101f2['setAttribute']('with-effects','');let _0x1ea01e=QF('rect',{'fill':'transparent'}),_0x3a2dbb=QF('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x5101f2['appendChild'](_0x3a2dbb),_0x5101f2['appendChild'](_0x1ea01e),t[_0x4d7963]={'direction':_0x4d7963,'pathNode':_0x3a2dbb,'interactionNode':_0x1ea01e,'groupNode':_0x5101f2},''===_0x4d7963&&(_0x5101f2['style']['cursor']='move'),_0x1ea01e['addEventListener']('pointerdown',this['ld']['bind'](this,_0x4d7963));}['cd'](){let t={};for(let _0x1e1938=0x0;_0x1e1938<0x3;_0x1e1938++)for(let _0x4e843=0x0;_0x4e843<0x3;_0x4e843++){let _0x3e424c=''+['n','','s'][_0x1e1938]+['w','','e'][_0x4e843];''!==_0x3e424c&&this['Ga'](t,_0x3e424c);}return this['Ga'](t,''),t;}['ud'](){let t=QF('svg'),_0x5b8c78=QF('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0x5b8c78);for(let _0x26c427=0x1;_0x26c427<=0x2;_0x26c427++){let _0x51c0cc=QF('line',{'x1':$F*_0x26c427+'%','y1':'0%','x2':$F*_0x26c427+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x51c0cc);}for(let _0x21afd8=0x1;_0x21afd8<=0x2;_0x21afd8++){let _0x246b8d=QF('line',{'x1':'0%','y1':$F*_0x21afd8+'%','x2':'100%','y2':$F*_0x21afd8+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x246b8d);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x1fd492=document['createDocumentFragment'](),_0x460817=this['ud']();_0x1fd492['appendChild'](_0x460817);let _0x1f851b=this['cd']();for(let {groupNode:_0x16af07}of Object['values'](_0x1f851b))_0x1fd492['appendChild'](_0x16af07);t['appendChild'](_0x1fd492),this['xe']=_0x1f851b,this['pi']=_0x460817,this['rs']();}['ld'](t,_0x1e6409){if(!this['xe'])return;let _0x3e5ff4=this['xe'][t];if(!_0x3e5ff4||this['os'](t))return;let _0x1a72e3=this['$']['*cropBox'],_0xefe264=this['Re'];if(!_0xefe264)return;let {x:_0x320356,y:_0x573d6e}=_0xefe264['getBoundingClientRect'](),_0x32c24e=_0x1e6409['x']-_0x320356,_0xda3614=_0x1e6409['y']-_0x573d6e;this['vi']=!0x0,this['ts']=_0x3e5ff4,this['fr']=[_0x32c24e,_0xda3614],this['Ka']={..._0x1a72e3};}['pd'](t,_0x1495b0){let [_0x38d7be,_0x3d39c4]=_0x1495b0,_0x45ab98=this['$']['*imageBox'],_0x7186b3=this['Ka']??this['$']['*cropBox'],_0x2e971a=this['$']['*currentAspectRatio'],_0x5958a2=_0x2e971a?_0x2e971a['width']/_0x2e971a['height']:void 0x0;if(_0x7186b3=''===t?function({rect:_0x591ce8,delta:[_0x569a2d,t],imageBox:_0x300abc}){return BF({..._0x591ce8,'x':_0x591ce8['x']+_0x569a2d,'y':_0x591ce8['y']+t},_0x300abc);}({'rect':_0x7186b3,'delta':[_0x38d7be,_0x3d39c4],'imageBox':_0x45ab98}):jF({'rect':_0x7186b3,'delta':[_0x38d7be,_0x3d39c4],'direction':t,'aspectRatio':_0x5958a2,'imageBox':_0x45ab98}),Object['values'](_0x7186b3)['every'](_0x1c059a=>Number['isFinite'](_0x1c059a)&&_0x1c059a>=0x0))return BF(GF(_0x7186b3),_0x45ab98);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x7186b3});}['Wa'](){let t=this['Ha'],_0xed11ac=this['Re'];_0xed11ac&&(_0xed11ac['style']['cursor']=t?function(_0x4e4f20){return''===_0x4e4f20?'move':['e','w']['includes'](_0x4e4f20)?'ew-resize':['n','s']['includes'](_0x4e4f20)?'ns-resize':['nw','se']['includes'](_0x4e4f20)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x517232=this['Re'];if(!_0x517232)return void(this['gi']=t);this['gi']=null;let _0x2daea7=document['createDocumentFragment'](),_0x46eeee=QF('image',{'href':t});_0x46eeee['setAttribute']('class','uc-cloud-mask'),_0x2daea7['appendChild'](_0x46eeee),_0x517232['appendChild'](_0x2daea7),this['hi']=_0x46eeee;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x1c5a2a,y:_0x126310,width:_0x2c9c6c,height:_0x41261f}=t;DF(this['hi'],{'x':_0x1c5a2a,'y':_0x126310,'height':_0x41261f,'width':_0x2c9c6c});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0x1586b7 of Object['values'](this['xe'])){if(!_0x1586b7)continue;let {groupNode:_0x1e5853}=_0x1586b7;_0x1e5853['setAttribute']('class',kG('uc-thumb',{'uc-thumb--hidden':!t,'uc-thumb--visible':t}));}}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['sd'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();});}),this['sub']('*cropBox',t=>{t&&(this['mr']=t['height']<=0x1||t['width']<=0x1,this['rs'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',t=>{t&&this['Xa'](t);}),document['addEventListener']('pointermove',this['Za'],!0x0),document['addEventListener']('pointerup',this['qa'],!0x0);}['firstUpdated'](t){super['firstUpdated'](t),this['fd']();}['fd'](){let t=this['Re'];if(t&&!this['mi']){if(this['od'](),this['dd'](),this['mi']=!0x0,t['addEventListener']('pointermove',this['Ya'],!0x0),this['gi']){let _0x399fcf=this['gi'];this['gi']=null,this['Xa'](_0x399fcf);}this['ss']();}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Re']?.['removeEventListener']('pointermove',this['Ya'],!0x0),document['removeEventListener']('pointermove',this['Za'],!0x0),document['removeEventListener']('pointerup',this['qa'],!0x0);}['render'](){return aV`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${SH(this['ja'])}></svg>`;}};dQ([VV()],VG['prototype'],'fi',0x2);var UG=class extends Fj{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=EH(),this['as']=EH(),this['init$']={...this['init$'],'*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['Qa']=UV(this['tl']['bind'](this),0x12c),this['ns']=FH(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x8ef4b9=function(_0x63c58c,_0x582586){let t={};for(let _0x27c74f of _0x582586){let _0x31bcee=_0x63c58c[_0x27c74f];(Object['hasOwn'](_0x63c58c,_0x27c74f)||void 0x0!==_0x31bcee)&&(t[_0x27c74f]=_0x31bcee);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x377e1b={...this['$']['*operations'],..._0x8ef4b9};this['$']['*operations']=_0x377e1b;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x1f4fa9=t['getContext']('2d'),_0x1f978a=this['offsetWidth'],_0x40b3eb=this['offsetHeight'],_0x22e2f9=window['devicePixelRatio'];t['style']['width']=_0x1f978a+'px',t['style']['height']=_0x40b3eb+'px',t['width']=_0x1f978a*_0x22e2f9,t['height']=_0x40b3eb*_0x22e2f9,_0x1f4fa9?.['scale'](_0x22e2f9,_0x22e2f9),this['fe']=t,this['e']=_0x1f4fa9;}['rl'](){if(!this['_']||!this['se'])return;let _0x9e8f2b,t=this['se'],_0x56aa3c=this['$']['*padding'],_0x19441d=this['$']['*operations'],{rotate:_0x380991}=_0x19441d,_0x5ef59e=this['offsetWidth'],_0x5dff3a=this['offsetHeight'],_0x589198=FF({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x380991);if(_0x589198['width']>_0x5ef59e-0x2*_0x56aa3c||_0x589198['height']>_0x5dff3a-0x2*_0x56aa3c){let _0x482547=_0x589198['width']/_0x589198['height'];if(_0x482547>_0x5ef59e/_0x5dff3a){let _0x425553=_0x5ef59e-0x2*_0x56aa3c,_0x4c1e39=_0x425553/_0x482547;_0x9e8f2b={'x':0x0+_0x56aa3c,'y':_0x56aa3c+(_0x5dff3a-0x2*_0x56aa3c)/0x2-_0x4c1e39/0x2,'width':_0x425553,'height':_0x4c1e39};}else{let _0x289705=_0x5dff3a-0x2*_0x56aa3c,_0x2451c3=_0x289705*_0x482547;_0x9e8f2b={'x':_0x56aa3c+(_0x5ef59e-0x2*_0x56aa3c)/0x2-_0x2451c3/0x2,'y':0x0+_0x56aa3c,'width':_0x2451c3,'height':_0x289705};}}else{let {width:_0x44c431,height:_0x352cbe}=_0x589198;_0x9e8f2b={'x':_0x56aa3c+(_0x5ef59e-0x2*_0x56aa3c)/0x2-_0x44c431/0x2,'y':_0x56aa3c+(_0x5dff3a-0x2*_0x56aa3c)/0x2-_0x352cbe/0x2,'width':_0x44c431,'height':_0x352cbe};}this['$']['*imageBox']=GF(_0x9e8f2b);}['cs'](){let t=this['$']['*cropBox'],_0x1ffc29=this['$']['*imageBox'],_0xc78629=this['$']['*operations'],{rotate:_0x53e3c1}=_0xc78629,_0x28c848=this['$']['*editorTransformations']['crop'],{width:_0x20ccb4,x:_0x232c39,y:_0x21686c}=_0x1ffc29;if(_0x28c848){let {dimensions:[_0x1a5d56,_0x4e4133],coords:[_0x2e70d8,_0x1de47a]}=_0x28c848,{width:_0x18d2c4}=FF(this['Qe'],_0x53e3c1),_0x4d414a=_0x20ccb4/_0x18d2c4;t=BF(GF({'x':_0x232c39+_0x2e70d8*_0x4d414a,'y':_0x21686c+_0x1de47a*_0x4d414a,'width':_0x1a5d56*_0x4d414a,'height':_0x4e4133*_0x4d414a}),_0x1ffc29);}let _0x3bae43=this['$']['*currentAspectRatio'],_0x46da86=_0x3bae43?_0x3bae43['width']/_0x3bae43['height']:void 0x0;if(!function(_0x430ba2,_0xe17af8){return _0x430ba2['x']>=_0xe17af8['x']&&_0x430ba2['y']>=_0xe17af8['y']&&_0x430ba2['x']+_0x430ba2['width']<=_0xe17af8['x']+_0xe17af8['width']&&_0x430ba2['y']+_0x430ba2['height']<=_0xe17af8['y']+_0xe17af8['height'];}(t,_0x1ffc29)||_0x46da86&&!function(_0x2d609e,_0x47b06d){return Math['abs'](_0x2d609e['width']/_0x2d609e['height']-_0x47b06d)<0.1;}(t,_0x46da86)){let _0x4803b6=_0x1ffc29['width']/_0x1ffc29['height'],_0x51cc63=_0x1ffc29['width'],_0x1c45e4=_0x1ffc29['height'];_0x46da86&&(_0x4803b6>_0x46da86?_0x51cc63=Math['min'](_0x1ffc29['height']*_0x46da86,_0x1ffc29['width']):_0x1c45e4=Math['min'](_0x1ffc29['width']/_0x46da86,_0x1ffc29['height'])),t={'x':_0x1ffc29['x']+_0x1ffc29['width']/0x2-_0x51cc63/0x2,'y':_0x1ffc29['y']+_0x1ffc29['height']/0x2-_0x1c45e4/0x2,'width':_0x51cc63,'height':_0x1c45e4};}this['$']['*cropBox']=BF(GF(t),_0x1ffc29);}['md'](){let t=this['e'];if(!t)return;let _0x35ced4=this['se'];if(!_0x35ced4)return;let _0x3279f4=this['$']['*imageBox'],_0x2593a1=this['$']['*operations'],{mirror:_0x1682c7,flip:_0x34b455,rotate:_0x226f78}=_0x2593a1,_0x467548=FF({'width':_0x3279f4['width'],'height':_0x3279f4['height']},_0x226f78);t['save'](),t['translate'](_0x3279f4['x']+_0x3279f4['width']/0x2,_0x3279f4['y']+_0x3279f4['height']/0x2),t['rotate'](_0x226f78*Math['PI']*-0x1/0xb4),t['scale'](_0x1682c7?-0x1:0x1,_0x34b455?-0x1:0x1),t['drawImage'](_0x35ced4,-_0x467548['width']/0x2,-_0x467548['height']/0x2,_0x467548['width'],_0x467548['height']),t['restore']();}['us'](){if(!(this['_']&&this['se']&&this['fe']&&this['e']))return;let t=this['fe'];this['e']['clearRect'](0x0,0x0,t['width'],t['height']),this['md']();}['gd']({fromViewer:t}){this['se']&&(this['as']['value']?.['toggleThumbs'](!0x0),this['vd'](),setTimeout(()=>{this['className']=kG({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x1327b5=this['$']['*imageBox'],_0x6c200c=this['$']['*operations'],{rotate:_0x4f1d54}=_0x6c200c,{width:_0x141d47,height:_0x1876e0}=_0x1327b5,{width:_0x53f9b3,height:_0x495481}=FF(this['Qe'],_0x4f1d54),{width:_0x55fb2f,height:_0x443a2b}=t,_0x30ede8=_0x141d47/_0x53f9b3,_0x4a3fc5=_0x1876e0/_0x495481;return[ZF(Math['round'](_0x55fb2f/_0x30ede8),0x1,_0x53f9b3),ZF(Math['round'](_0x443a2b/_0x4a3fc5),0x1,_0x495481)];}['yd'](){let t=this['$']['*cropBox'],_0x552a6b=this['$']['*imageBox'],_0x5cfc88=this['$']['*operations'],{rotate:_0x51ebb4}=_0x5cfc88,{width:_0x2cd7e3,height:_0x29970f,x:_0x277ecc,y:_0x18e3cd}=_0x552a6b,{width:_0x3423d5,height:_0x23e32e}=FF(this['Qe'],_0x51ebb4),{x:_0x3f06b2,y:_0x56c63b}=t,_0x4ca364=_0x2cd7e3/_0x3423d5,_0x41c9ff=_0x29970f/_0x23e32e,_0x34e553=this['ol'](),_0x4e664a={'dimensions':_0x34e553,'coords':[ZF(Math['round']((_0x3f06b2-_0x277ecc)/_0x4ca364),0x0,_0x3423d5-_0x34e553[0x0]),ZF(Math['round']((_0x56c63b-_0x18e3cd)/_0x41c9ff),0x0,_0x23e32e-_0x34e553[0x1])]};if(function(_0x3a7dd9){return!_0x3a7dd9||[({dimensions:t,coords:_0x22c0eb})=>[...t,..._0x22c0eb]['every'](_0x2e0992=>Number['isInteger'](_0x2e0992)&&Number['isFinite'](_0x2e0992)),({dimensions:t,coords:_0x49f1a2})=>t['every'](_0x5c7b68=>_0x5c7b68>0x0)&&_0x49f1a2['every'](_0x5310=>_0x5310>=0x0)]['every'](t=>t(_0x3a7dd9));}(_0x4e664a))return _0x34e553[0x0]!==_0x3423d5||_0x34e553[0x1]!==_0x23e32e?_0x4e664a:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x4e664a});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let t=this['$']['*operations'],{rotate:_0x222aaf,mirror:_0x2dc030,flip:_0x538c59}=t,_0x4701a=this['yd'](),_0x4b1b7b={...this['$']['*editorTransformations'],'crop':_0x4701a,'rotate':_0x222aaf,'mirror':_0x2dc030,'flip':_0x538c59};this['$']['*editorTransformations']=_0x4b1b7b;}['setValue'](t,_0x966431){this['$']['*operations']={...this['$']['*operations'],[t]:_0x966431},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x1d1567}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x3ed397=this['$']['*originalUrl'],_0x4d6239=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x3ed397,_0x4d6239),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x1d1567});}catch(_0xcf174){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0xcf174}),this['telemetryManager']['sendEventError'](_0xcf174,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x52c889=>{let [_0xce4460]=_0x52c889;_0xce4460&&_0xce4460['contentRect']['width']>0x0&&_0xce4460['contentRect']['height']>0x0&&this['_']&&this['se']&&this['ns']();}),this['s']['observe'](this);}}['deactivate']({reset:t=!0x1}={}){this['_']&&(!t&&this['tl'](),this['_']=!0x1,this['wd'](),this['className']=kG({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['as']['value']?.['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['sl'],{'once':!0x0}),this['s']?.['disconnect']());}['wd'](){let t=this['ol'](),_0x20ae35=this['$']['*cropBox'],_0x324013=Math['min'](this['offsetWidth'],t[0x0])/_0x20ae35['width'],_0x4c8514=Math['min'](this['offsetHeight'],t[0x1])/_0x20ae35['height'],_0x3113b3=Math['min'](_0x324013,_0x4c8514),_0x29b902=_0x20ae35['x']+_0x20ae35['width']/0x2,_0x2cef90=_0x20ae35['y']+_0x20ae35['height']/0x2;this['style']['transform']='scale('+_0x3113b3+')\x20translate('+(this['offsetWidth']/0x2-_0x29b902)/_0x3113b3+'px,\x20'+(this['offsetHeight']/0x2-_0x2cef90)/_0x3113b3+'px)',this['style']['transformOrigin']=_0x29b902+'px\x20'+_0x2cef90+'px';}['vd'](){let t=this['$']['*cropBox'],_0x317ff8=t['x']+t['width']/0x2,_0xc7ae7b=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x317ff8+'px\x20'+_0xc7ae7b+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x4d61e4){let _0x26c185=this['offsetWidth'];_0x4d61e4={..._0x4d61e4,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x1e4a9e=await this['proxyUrl'](QG(t,_0x26c185,_0x4d61e4)),{promise:_0x18b15e,cancel:_0x2c4b83,image:_0xbadd6f}=$H(_0x1e4a9e),_0x24e478=this['$t'](_0x1e4a9e);return _0xbadd6f['addEventListener']('load',_0x24e478,{'once':!0x0}),_0xbadd6f['addEventListener']('error',_0x24e478,{'once':!0x0}),this['b']?.(),this['b']=_0x2c4b83,_0x18b15e['then'](()=>_0xbadd6f)['catch'](_0x13277d=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x13277d}),this['$']['*networkProblems']=!0x0,_0xbadd6f));}['$t'](t){let _0x2e4e74='crop',_0x6420ea=this['$']['*loadingOperations'],_0x4a9197=_0x6420ea['get'](_0x2e4e74);return _0x4a9197||(_0x4a9197=new Map(),_0x6420ea['set'](_0x2e4e74,_0x4a9197)),_0x4a9197['get'](t)||(_0x4a9197['set'](t,!0x0),this['$']['*loadingOperations']=_0x6420ea),()=>{let _0x4030f2=_0x6420ea['get'](_0x2e4e74);_0x4030f2?.['has'](t)&&(_0x4030f2['delete'](t),this['$']['*loadingOperations']=_0x6420ea);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['us']();}),this['sub']('*cropBox',()=>{this['se']&&this['Qa']();}),this['sub']('*currentAspectRatio',()=>{this['cs']();}),setTimeout(()=>{this['sub']('*networkProblems',t=>{t||this['_']&&this['Qe']&&this['activate'](this['Qe'],{'fromViewer':!0x1});});},0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['se']&&(this['se']=null);}['render'](){return aV`<canvas class="uc-canvas" ${SH(this['Ja'])}></canvas><uc-crop-frame ${SH(this['as'])}></uc-crop-frame>`;}};function BG(_0x1a2b99,_0x4a7782,t){let _0x1b1b65=t-0x1,_0x48db11=new Array(t);for(let _0x3dfad1=_0x1b1b65;_0x3dfad1>=0x0;_0x3dfad1-=0x1)_0x48db11[_0x3dfad1]=Math['ceil']((_0x3dfad1*_0x4a7782+(_0x1b1b65-_0x3dfad1)*_0x1a2b99)/_0x1b1b65);return _0x48db11;}function jG(_0x2f3d32,_0x136914){let t=kU[_0x2f3d32]['keypointsNumber'],{range:_0x25fbf7,zero:_0x148fdd}=kU[_0x2f3d32];return[...new Set([...BG(_0x25fbf7[0x0],_0x148fdd,t+0x1),...BG(_0x148fdd,_0x25fbf7[0x1],t+0x1),_0x148fdd,_0x136914])]['sort']((_0x479058,_0x23eeda)=>_0x479058-_0x23eeda);}dQ([VV()],UG['prototype'],'se',0x2);var FG=class extends Fj{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=EH(),this['gr']=EH(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=UV(async(t,_0x5b8711,_0x12bae5)=>{let _0x233417=()=>!this['ul'](t,_0x5b8711)||this['Pt']!==_0x12bae5||!!this['Ue']['find'](_0xfaf06f=>_0xfaf06f['value']===_0x12bae5);if(_0x233417())return;let _0x2d0dae=await this['dl'](t,_0x12bae5),_0x316da6=new Image();_0x316da6['src']=_0x2d0dae['src'];let _0x1b2d28=this['$t'](_0x2d0dae['src']);_0x316da6['addEventListener']('load',_0x1b2d28,{'once':!0x0}),_0x316da6['addEventListener']('error',_0x1b2d28,{'once':!0x0}),_0x2d0dae['image']=_0x316da6,_0x316da6['classList']['add']('uc-fader-image'),_0x316da6['addEventListener']('load',()=>{if(_0x233417())return;let _0x590458=this['Ue'],_0x15a6cb=_0x590458['findIndex'](_0x3e90b9=>_0x3e90b9['value']>_0x12bae5);-0x1===_0x15a6cb&&(_0x15a6cb=_0x590458['length']);let _0x27d912=_0x590458[_0x15a6cb]?.['image'],_0x5de752=this['gr']['value'];!_0x5de752||_0x27d912&&!_0x5de752['contains'](_0x27d912)||(_0x590458['splice'](_0x15a6cb,0x0,_0x2d0dae),_0x27d912?_0x5de752['insertBefore'](_0x316da6,_0x27d912):_0x5de752['appendChild'](_0x316da6),this['fs'](t,_0x12bae5));},{'once':!0x0}),_0x316da6['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x19dfe6=this['n'],_0xdbd876=this['$']['*loadingOperations'];_0xdbd876['has'](_0x19dfe6)||_0xdbd876['set'](_0x19dfe6,new Map());let _0xecb937=_0xdbd876['get'](_0x19dfe6);return _0xecb937&&!_0xecb937['get'](t)&&(_0xecb937['set'](t,!0x0),this['$']['*loadingOperations']=_0xdbd876),()=>{let _0x495c76=_0xdbd876['get'](_0x19dfe6);_0x495c76?.['has'](t)&&(_0x495c76['delete'](t),this['$']['*loadingOperations']=_0xdbd876);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x46f09c}=t;_0x46f09c&&(_0x46f09c['style']['opacity']=t['opacity']['toString'](),_0x46f09c['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x1f5f08=this['m']??void 0x0,operation:_0x1b52e0,value:_0x2866a5}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0x21be4f={...this['nl']};_0x1b52e0&&('filter'===_0x1b52e0?_0x1f5f08&&'number'==typeof _0x2866a5&&(_0x21be4f['filter']={'name':_0x1f5f08,'amount':_0x2866a5}):'number'==typeof _0x2866a5&&(_0x21be4f[_0x1b52e0]=_0x2866a5));let _0x47fd6d=this['offsetWidth'];return this['proxyUrl'](QG(t,_0x47fd6d,_0x21be4f));}async['dl'](t,_0x30d4e4){return{'src':await this['Je']({'operation':t,'value':_0x30d4e4}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x30d4e4};}['ul'](t,_0x5db7b3){return this['n']===t&&this['m']===_0x5db7b3;}['set'](t){let _0x5b02a0='string'==typeof t?parseInt(t,0xa):t;!function(_0x33766c){return'string'==typeof _0x33766c&&_0x33766c in kU;}(this['n'])||!Number['isFinite'](_0x5b02a0)||(this['fs'](this['n'],_0x5b02a0),this['ll'](this['n'],this['m'],_0x5b02a0));}['fs'](t,_0x27eb3a){this['n']=t,this['Pt']=_0x27eb3a;let {zero:_0x3009c0}=kU[t],_0x56edf4=this['Ue']['map'](_0x4efcef=>_0x4efcef['value']),_0x19532e=function(_0x3737be,_0x8f8440,t){let _0x4f5312=function(_0x560c79){let _0x2882c8=[];for(let t=0x0;t<_0x560c79['length']-0x1;t+=0x1){let _0x37b014=_0x560c79[t],_0x2c8574=_0x560c79[t+0x1];'number'==typeof _0x37b014&&'number'==typeof _0x2c8574&&_0x2882c8['push']([_0x37b014,_0x2c8574]);}return _0x2882c8;}(_0x3737be)['find'](([_0x10acbe,_0x466152])=>_0x10acbe<=_0x8f8440&&_0x8f8440<=_0x466152);if(!_0x4f5312)return _0x3737be['map'](()=>0x0);let [_0x59646b,_0x2ac546]=_0x4f5312;return _0x3737be['map'](_0x3da01d=>{let _0x5fac63=Math['abs'](_0x59646b-_0x2ac546)||0x1,_0x103240=Math['abs'](_0x8f8440-_0x59646b)/_0x5fac63;return _0x59646b===_0x3da01d?_0x8f8440>t?0x1:0x1-_0x103240:_0x2ac546===_0x3da01d?_0x8f8440>=t?_0x103240:0x1:0x0;});}(_0x56edf4,_0x27eb3a,_0x3009c0),_0x5d9819=function(_0x25600b,_0x36757b){return _0x25600b['map']((t,_0x1e35b1)=>t<_0x36757b?_0x25600b['length']-_0x1e35b1:_0x1e35b1);}(_0x56edf4,_0x3009c0);this['Ue']['forEach']((_0x2dad47,_0x5c7dba)=>{let _0x510d42=_0x19532e[_0x5c7dba],_0x2c08af=_0x5d9819[_0x5c7dba];'number'==typeof _0x510d42&&(_0x2dad47['opacity']=_0x510d42),'number'==typeof _0x2c08af&&(_0x2dad47['zIndex']=_0x2c08af);}),this['pl']();}['hl'](){let t=new Image();return t['classList']['add']('uc-fader-image','uc-fader-image--preview'),t['style']['opacity']='0',t;}async['Td'](){this['a']=this['a']||this['hl']();let t=this['a'];t&&this['fl'](t);let _0x4f0720=this['Ue']['map'](_0x1923f5=>_0x1923f5['src']),{images:_0x1ff211,promise:_0x1a6bb1,cancel:_0x50a476}=DH(_0x4f0720);_0x1ff211['forEach'](_0x5911da=>{let _0x4e491c=this['$t'](_0x5911da['src']);_0x5911da['addEventListener']('load',_0x4e491c),_0x5911da['addEventListener']('error',_0x4e491c);}),this['ps']=()=>{_0x50a476(),this['ps']=void 0x0;};let _0x20fe26=this['n'],_0x4d5581=this['m'];if(await _0x1a6bb1,this['_']&&this['ul'](_0x20fe26,_0x4d5581)){let _0x458360=this['gr']['value'];if(!_0x458360)return;_0x458360['replaceChildren'](),this['Ue']['forEach']((_0x367fb3,_0x519768)=>{let _0x1eb2f4=_0x1ff211[_0x519768];_0x1eb2f4&&(_0x1eb2f4['classList']['add']('uc-fader-image'),_0x367fb3['image']=_0x1eb2f4,_0x458360['appendChild'](_0x1eb2f4));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x4a8320=await this['Je'](),_0x172121=this['$t'](_0x4a8320);this['a']['src']=_0x4a8320,this['a']['addEventListener']('load',_0x172121,{'once':!0x0}),this['a']['addEventListener']('error',_0x172121,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x20f07c,operation:_0x4e1437,value:_0x49cc21}){if(!_0x4e1437||'number'!=typeof _0x49cc21)return;this['hs']?.();let _0x16996a=jG(_0x4e1437,_0x49cc21),_0x12f43c=await Promise['all'](_0x16996a['map'](_0x3ce2a6=>this['Je']({'url':t,'filter':_0x20f07c,'operation':_0x4e1437,'value':_0x3ce2a6}))),{cancel:_0x208fe0}=DH(_0x12f43c);this['hs']=_0x208fe0;}['Ed'](t){let _0x4eb778=this['a']||this['hl']();if(this['fl'](_0x4eb778),this['a']=_0x4eb778,_0x4eb778['src']===t)return _0x4eb778['style']['opacity']='1',_0x4eb778['style']['transform']='scale(1)',void(this['className']=kG({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x4eb778['style']['opacity']='0';let _0x228d6b=this['$t'](t);_0x4eb778['addEventListener']('error',_0x228d6b,{'once':!0x0}),_0x4eb778['src']=t,_0x4eb778['addEventListener']('load',()=>{_0x228d6b(),_0x4eb778&&(_0x4eb778['style']['opacity']='1',_0x4eb778['style']['transform']='scale(1)',this['className']=kG({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x4eb778['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0x146b75,value:_0x418ed2,filter:_0x543be1,fromViewer:_0x362415}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x146b75??'initial',this['Pt']=_0x418ed2,this['m']=_0x543be1,this['yi']=_0x362415,'number'!=typeof _0x418ed2&&!_0x543be1){let _0x2b2d1c=await this['Je']({'operation':_0x146b75,'value':_0x418ed2});return this['Ed'](_0x2b2d1c),void this['ms']();}!_0x146b75||'number'!=typeof _0x418ed2||(this['Ue']=await Promise['all'](jG(_0x146b75,_0x418ed2)['map'](_0x11ff30=>this['dl'](_0x146b75,_0x11ff30))),this['fs'](_0x146b75,_0x418ed2),this['Td']());}['deactivate']({hide:t=!0x0}={}){this['_']=!0x1,this['ps']?.(),this['hs']?.(),t&&!this['ds']?(this['ds']=!0x0,this['a']&&(this['a']['style']['transform']='scale(1)'),this['className']=kG({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['ms']();},{'once':!0x0})):this['ms']();}['fl'](t){let _0x15e64a=this['cl']['value'];_0x15e64a&&(_0x15e64a['contains'](t)||_0x15e64a['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return aV`<div class="uc-fader-preview-host" ${SH(this['cl'])}></div><div class="uc-fader-layers-host" ${SH(this['gr'])}></div>`;}},HG='important',GG='\x20!'+HG,ZG=Zj(class extends Xj{constructor(_0x2a1362){if(super(_0x2a1362),_0x2a1362['type']!==Hj||'style'!==_0x2a1362['name']||_0x2a1362['strings']?.['length']>0x2)throw Error('The\x20`styleMap`\x20directive\x20must\x20be\x20used\x20in\x20the\x20`style`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x396992){return Object['keys'](_0x396992)['reduce']((_0x58fcf6,t)=>{let _0x1fe68c=_0x396992[t];return null==_0x1fe68c?_0x58fcf6:_0x58fcf6+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x1fe68c+';');},'');}['update'](_0x39c3b3,[_0x207012]){let {style:t}=_0x39c3b3['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x207012)),this['render'](_0x207012);for(let _0x26d31c of this['ft'])null==_0x207012[_0x26d31c]&&(this['ft']['delete'](_0x26d31c),_0x26d31c['includes']('-')?t['removeProperty'](_0x26d31c):t[_0x26d31c]=null);for(let _0x332017 in _0x207012){let _0x537661=_0x207012[_0x332017];if(null!=_0x537661){this['ft']['add'](_0x332017);let _0x4e90cd='string'==typeof _0x537661&&_0x537661['endsWith'](GG);_0x332017['includes']('-')||_0x4e90cd?t['setProperty'](_0x332017,_0x4e90cd?_0x537661['slice'](0x0,-0xb):_0x537661,_0x4e90cd?HG:''):t[_0x332017]=_0x537661;}}return cV;}}),XG=class extends Fj{constructor(){super(),this['gs']=0x0,this['vr']=EH(),this['gl']=EH(),this['vl']=EH(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x3f7e31=this['yl'](t);null!==_0x3f7e31&&(this['vs'](_0x3f7e31),this['xd']('slider-input',_0x3f7e31));},this['Sd']=t=>{t['stopPropagation']();let _0x38587e=this['yl'](t);null!==_0x38587e&&this['vs'](_0x38587e);},this['bl']=()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');},this['wl']=()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');},this['setAttribute']('with-effects','');}['xd'](t,_0x2c1f33){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x2c1f33},'bubbles':!0x0,'composed':!0x0}));}['firstUpdated'](t){super['firstUpdated'](t),this['gs']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa)||0x0,this['Tl'](this['$e']),this['ys'](),this['s']=new ResizeObserver(()=>{this['ys'](),this['yr'](this['$e']);}),this['s']['observe'](this);let _0x377f5c=this['vr']['value'];_0x377f5c?.['addEventListener']('focus',this['bl']),_0x377f5c?.['addEventListener']('blur',this['wl']),window['setTimeout'](()=>{this['yr'](this['$e']);},0x0);}['willUpdate'](t){super['willUpdate'](t),t['has']('defaultValue')&&this['defaultValue']!==this['$e']&&this['vs'](this['defaultValue']),(t['has']('min')||t['has']('max'))&&this['hasUpdated']&&(this['ys'](),this['yr'](this['$e'])),t['has']('zero')&&this['hasUpdated']&&this['El'](this['$e']);}['yr'](t){this['El'](t);let _0x20bfeb=this['max']-this['min'];if(0x0===_0x20bfeb)return;let {width:_0x4ea9b7}=this['getBoundingClientRect'](),_0x44cff=0x64/_0x20bfeb*(t-this['min'])*(_0x4ea9b7-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0x23fe23=this['gl']['value'];_0x23fe23&&(_0x23fe23['style']['transform']='translateX('+_0x44cff+'px)');});}['El'](t){if(!this['bi'])return;let _0x2cf4ee=this['max']-this['min'];if(0x0===_0x2cf4ee)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x584c12}=this['getBoundingClientRect'](),_0x37b99b=0x64/_0x2cf4ee*(this['zero']-this['min'])*(_0x584c12-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x37b99b+'px)');});}['ys'](){let _0x2da82f=this['vl']['value'];if(!_0x2da82f)return;let {width:_0x36fb25}=_0x2da82f['getBoundingClientRect'](),_0x3f317f=Math['ceil'](_0x36fb25/0x2),_0x5772a2=Math['ceil'](_0x3f317f/0xf)-0x2;if(this['ml']===_0x5772a2)return;let _0x1d60ba=document['createDocumentFragment'](),_0x4f833c=document['createElement']('div'),_0x146f57=document['createElement']('div');_0x4f833c['className']='uc-minor-step',_0x146f57['className']='uc-border-step',_0x1d60ba['appendChild'](_0x146f57);for(let _0xcd8784=0x0;_0xcd8784<_0x5772a2;_0xcd8784+=0x1)_0x1d60ba['appendChild'](_0x4f833c['cloneNode']());_0x1d60ba['appendChild'](_0x146f57['cloneNode']());for(let _0x3f4e66=0x0;_0x3f4e66<_0x5772a2;_0x3f4e66+=0x1)_0x1d60ba['appendChild'](_0x4f833c['cloneNode']());_0x1d60ba['appendChild'](_0x146f57['cloneNode']());let _0x1fbc64=document['createElement']('div');_0x1fbc64['className']='uc-zero-dot',_0x1d60ba['appendChild'](_0x1fbc64),this['bi']=_0x1fbc64,_0x2da82f['innerHTML']='',_0x2da82f['appendChild'](_0x1d60ba),this['ml']=_0x5772a2;}['disconnectedCallback'](){super['disconnectedCallback']();let t=this['vr']['value'];t?.['removeEventListener']('focus',this['bl']),t?.['removeEventListener']('blur',this['wl']),this['s']?.['disconnect'](),this['s']=void 0x0;}['vs'](t){Number['isFinite'](t)&&(this['$e']=t,this['hasUpdated']&&(this['Tl'](t),this['yr'](t)));}['Tl'](t){let _0x1e0e03=this['vr']['value'];_0x1e0e03&&(_0x1e0e03['value']=String(t));}['yl'](t){let _0x1ccb83=t['currentTarget'];if(!_0x1ccb83)return null;let _0x6dfc52=Number['parseInt'](_0x1ccb83['value'],0xa);return Number['isFinite'](_0x6dfc52)?_0x6dfc52:null;}['render'](){return aV`<div class="uc-steps" ${SH(this['vl'])}></div><div class="uc-thumb" ${SH(this['gl'])}></div><input class="uc-input" type="range" ${SH(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};dQ([QV({'type':Boolean,'reflect':!0x0})],XG['prototype'],'disabled',0x2),dQ([QV({'type':Number})],XG['prototype'],'min',0x2),dQ([QV({'type':Number})],XG['prototype'],'max',0x2),dQ([QV({'type':Number,'attribute':!0x1})],XG['prototype'],'defaultValue',0x2),dQ([QV({'type':Number})],XG['prototype'],'zero',0x2),dQ([VV()],XG['prototype'],'$e',0x2);var qG='original',WG=class extends Fj{constructor(){super(...arguments),this['state']={'operation':'filter','filter':void 0x0,'originalUrl':'','disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0},this['bs']=t=>{let {value:_0xb2d50e}=t['detail'];this['$']['*faderEl']?.['set'](_0xb2d50e),this['state']={...this['state'],'value':_0xb2d50e};};}['setOperation'](t,_0x5f88e5){this['state']={...this['state'],'operation':t,'filter':_0x5f88e5},this['Ad']();let _0x2e57d8=this['$']['*faderEl'],_0x4fd918=this['state']['originalUrl']||this['$']['*originalUrl'];_0x2e57d8&&_0x4fd918&&_0x2e57d8['activate']({'url':_0x4fd918,'operation':this['state']['operation'],'value':this['state']['filter']===qG?void 0x0:this['state']['value'],'filter':this['state']['filter']===qG?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x3b2a0e,zero:_0x50b75d}=kU[t],[_0x3bfc80,_0x58e986]=_0x3b2a0e;this['state']={...this['state'],'min':_0x3bfc80,'max':_0x58e986,'zero':_0x50b75d};let _0x8f00ad=this['$']['*editorTransformations'][t];if('filter'===t){let _0x34effb=Number(_0x58e986),_0x2f7160=_0x8f00ad;if(_0x2f7160){let {name:_0x5a365f,amount:_0x1913a9}=_0x2f7160;_0x34effb=_0x5a365f===this['state']['filter']?_0x1913a9:_0x58e986;}return void(this['state']={...this['state'],'value':_0x34effb,'defaultValue':_0x34effb});}let _0x144452=typeof _0x8f00ad<'u'?_0x8f00ad:_0x50b75d;this['state']={...this['state'],'value':_0x144452,'defaultValue':_0x144452};}['apply'](){let _0x2c8d07={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==qG?_0x2c8d07['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x2c8d07['filter']:_0x2c8d07[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x2c8d07;}['cancel'](){this['$']['*faderEl']?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',t=>{t&&(this['state']={...this['state'],'originalUrl':t});});}['updated'](t){if(super['updated'](t),t['has']('state')){let _0x5dc9a7=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x5dc9a7;}}['render'](){return aV`<uc-slider-ui .disabled=${this['state']['disabled']} .min=${this['state']['min']} .max=${this['state']['max']} .defaultValue=${this['state']['defaultValue']} .zero=${this['state']['zero']} @slider-input=${this['bs']} ></uc-slider-ui>`;}};function zG(_0x4d5c68){if(!_0x4d5c68)return null;let _0x14839e=_0x4d5c68['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x14839e)return null;let [,t,_0x5db739]=_0x14839e;return!t||typeof _0x5db739>'u'?null:{'filter':t,'value':Number(_0x5db739)};}dQ([VV()],WG['prototype'],'state',0x2);var YG=class extends Fj{constructor(){super(...arguments),this['active']=!0x1,this['title']='',this['icon']='',this['titleProp']='';}get['buttonClasses'](){let t=this['active'];return{'uc-active':t,'uc-not_active':!t};}['xl'](){let t=this['buttonClasses'];for(let [_0x181f9b,_0x3272ec]of Object['entries'](t))this['classList']['toggle'](_0x181f9b,_0x3272ec);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x3416f8=this['title'];return aV`<button role="option" type="button" aria-label=${$G(this['titleProp'])} title=${$G(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x3416f8}>${_0x3416f8}</div></button>`;}};dQ([VV()],YG['prototype'],'active',0x2),dQ([VV()],YG['prototype'],'title',0x2),dQ([VV()],YG['prototype'],'icon',0x2),dQ([VV()],YG['prototype'],'titleProp',0x2);var KG=class extends YG{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0x4751e7=>{let t=this['kd'](_0x4751e7);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x50e3ca){return _0x50e3ca?_0x50e3ca['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x50e3ca['width']+':'+_0x50e3ca['height']}):'';}['render'](){let _0x30ae5b=this['onClick'],t=this['title'];return aV`<button role="option" type="button" class=${LG(this['buttonClasses'])} aria-label=${$G(this['titleProp'])} title=${$G(this['titleProp'])} @click=${_0x30ae5b} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},JG=class extends YG{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0x88fe23=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x88fe23),t?this['Cl'](t):(this['removeAttribute']('uc-aspect-ratio-freeform'),this['title']='',this['titleProp']='');}['initCallback'](){super['initCallback'](),this['X']&&this['Cl'](this['X']),this['sub']('*currentAspectRatio',t=>{this['active']=t&&t['id']===this['X']?.['id']||t?.['width']===this['X']?.['width']&&t?.['height']===this['X']?.['height'];});}['onClick'](){this['$']['*currentAspectRatio']?.['id']!==this['X']?.['id']&&(this['$']['*currentAspectRatio']=this['X']);}['Cl'](t){if(!this['isConnected'])return;let _0x2cdb4d=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x2cdb4d),(((()=>{let _0x286b7f=_0x2cdb4d?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x286b7f;})()),((()=>{let _0x3aecfd=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x2cdb4d?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0x3aecfd;})()),_0x2cdb4d||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return aV`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x4f2eac,height:_0xb181c4}=(_0x506d8e=>{let _0x4712a0=0xc,t=0xc;return _0x506d8e['width']/_0x506d8e['height']>=0x1?(_0x4712a0=0xc,t=Math['round'](0xc*_0x506d8e['height']/_0x506d8e['width'])):(t=0xc,_0x4712a0=Math['round'](0xc*_0x506d8e['width']/_0x506d8e['height'])),{'width':_0x4712a0,'height':t};})(t);return aV`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x4f2eac)/0x2} y=${(0x10-_0xb181c4)/0x2} width=${_0x4f2eac} height=${_0xb181c4} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0xd07ad2=this['title'];return aV`<button role="option" type="button" class=${LG(this['buttonClasses'])} aria-label=${$G(this['titleProp'])} title=${$G(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0xd07ad2}>${_0xd07ad2}</div></button>`;}};dQ([QV({'attribute':!0x1})],JG['prototype'],'aspectRatio',0x1);var tZ=class extends YG{constructor(){super(...arguments),this['operation']=void 0x0;}['willUpdate'](t){super['willUpdate'](t),this['operation']?(this['titleProp']=this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](this['operation'])['toLowerCase']()}),this['icon']=this['operation']):(this['icon']='',this['titleProp']='');}['onClick'](t){if(!this['operation'])return;let _0x1f140f=this['$']['*cropperEl'],_0x2f0009=_0x1f140f['getValue'](this['operation']),_0x4dbfd9=function(_0x431b2f,_0x5a4315){if('rotate'===_0x431b2f)return function(_0x3c41c1){let _0x36264d=_0x3c41c1+0x5a;return _0x36264d=_0x36264d>=0x168?0x0:_0x36264d,_0x36264d;}('number'==typeof _0x5a4315?_0x5a4315:0x0);if('mirror'===_0x431b2f||'flip'===_0x431b2f)return!_0x5a4315;throw new Error('Unsupported\x20operation:\x20'+_0x431b2f);}(this['operation'],_0x2f0009);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x4dbfd9,'prev':_0x2f0009}),_0x1f140f['setValue'](this['operation'],_0x4dbfd9);}};dQ([QV({'type':String})],tZ['prototype'],'operation',0x2);var eZ=class extends YG{constructor(){super(...arguments),this['n']='',this['m']='',this['wi']='',this['br']=0x0,this['a']=null,this['Nt']=!0x1,this['isOriginal']=!0x1,this['Sl']=0x14;}get['filter'](){return this['m'];}set['filter'](t){let _0x220225=t??'';if(this['m']===_0x220225)return;let _0x5c9d1f=this['m'];this['m']=_0x220225,this['n']='filter',this['isOriginal']=_0x220225===qG,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x5c9d1f),this['isConnected']&&this['Al'](_0x220225);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x497599=this['$']['*sliderEl'];_0x497599['setOperation'](this['n'],this['m']),_0x497599['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':zG(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x59631d=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x5df547=window['devicePixelRatio'],_0x17e4cb=Math['ceil'](_0x5df547*_0x59631d),_0x1f33ad=_0x5df547>=0x2?'lightest':'normal',_0x2741bc={...this['$']['*editorTransformations']};return _0x2741bc[this['n']]=this['m']!==qG?{'name':this['m'],'amount':0x64}:void 0x0,dU(this['wi'],nU(wU,OU(_0x2741bc),'quality/'+_0x1f33ad,'scale_crop/'+_0x17e4cb+'x'+_0x17e4cb+'/center','@clib/'+Rj+'/'+Pj+'/uc-cloud-image-editor/'));}async['ai'](t,_0x429c4b){t[0x0]?.['isIntersecting']?await this['Ts'](_0x429c4b):this['b']?.();}['initCallback'](){super['initCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]});let t=this['$']['*originalUrl'];this['wi']=t??'',this['sub']('*originalUrl',_0x86b439=>{this['wi']=_0x86b439??'',!this['isOriginal']&&this['wi']&&this['isConnected']&&!this['a']&&(this['s']?.['observe'](this),this['et']());}),this['isOriginal']||(this['s']?.['observe'](this),this['et']()),this['m']&&this['Al'](this['m']),this['sub']('*currentFilter',_0x4238bd=>{this['active']=!(!_0x4238bd||_0x4238bd!==this['m']);}),this['sub']('*networkProblems',async _0x1718f8=>{_0x1718f8||(this['a']?await this['Ts']():this['et']());});}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['b']?.(),this['wr']();}['updated'](t){super['updated'](t),t['has']('isOriginal')&&(this['isOriginal']?this['s']?.['unobserve'](this):(this['s']?.['observe'](this),this['et']()));}['Al'](t){if(!t)return void(this['titleProp']='');let _0x3d4e68=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x3d4e68;}async['Ts'](t){if(!this['isConnected'])return t?.['unobserve'](this),this['b']?.(),void(this['b']=void 0x0);if(!this['wi'])return void(!this['Ft']&&!this['De']&&this['et']());let _0x3564b3=++this['br'],_0x5ad8ed='';try{_0x5ad8ed=await this['proxyUrl'](this['Od']());}catch(_0x324e9f){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x324e9f});}this['Nt']=!0x1,this['b']?.();let {promise:_0x2983e3,cancel:_0x4c39fb}=$H(_0x5ad8ed);this['b']=()=>{_0x4c39fb(),this['br']===_0x3564b3&&(this['b']=void 0x0);};try{if(await _0x2983e3,this['br']!==_0x3564b3||!this['isConnected'])return;this['a']=_0x5ad8ed,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x5e0dd5){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x5e0dd5}),this['et']();}finally{this['br']===_0x3564b3&&(this['b']=void 0x0);}}['et'](){!this['isConnected']||this['a']||this['Nt']||this['isOriginal']||this['$']['*networkProblems']?this['wr']():(this['De']&&cancelAnimationFrame(this['De']),this['De']=requestAnimationFrame(()=>{if(this['De']=void 0x0,!this['isConnected']||this['a']||this['Nt']||this['isOriginal'])return void this['wr']();let t=this['getBoundingClientRect'](),_0xedffe4=t['width']>0x0&&t['height']>0x0,_0x58b512=window['innerWidth']||document['documentElement']['clientWidth'],_0x1a3391=window['innerHeight']||document['documentElement']['clientHeight'];_0xedffe4&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x1a3391&&t['left']<_0x58b512?this['Ts']():this['Ft']=window['setTimeout'](()=>{this['Ft']=void 0x0,this['et']();},0x1f4);}));}['wr'](){this['De']&&(cancelAnimationFrame(this['De']),this['De']=void 0x0),this['Ft']&&(window['clearTimeout'](this['Ft']),this['Ft']=void 0x0);}get['Id'](){return!(!this['Nt']||this['active']||this['isOriginal']);}['render'](){let t=this['onClick'],_0x23ec74={'opacity':this['Id']?'1':'0'};this['a']&&(_0x23ec74['backgroundImage']='url('+this['a']+')');let _0x1ebdac={'opacity':this['active']||this['isOriginal']?'1':'0'};return aV`<button role="option" type="button" class=${LG(this['buttonClasses'])} aria-label=${$G(this['titleProp'])} title=${$G(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${ZG(_0x23ec74)}></div><uc-icon class=${LG({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${ZG(_0x1ebdac)} ></uc-icon></button>`;}};dQ([VV()],eZ['prototype'],'a',0x2),dQ([VV()],eZ['prototype'],'Nt',0x2),dQ([VV()],eZ['prototype'],'isOriginal',0x2),dQ([VV()],eZ['prototype'],'Sl',0x2),dQ([QV({'type':String})],eZ['prototype'],'filter',0x1);var iZ=class extends YG{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0x5d0d22=t??'';if(this['n']===_0x5d0d22)return;let _0x1c71c7=this['n'];this['n']=_0x5d0d22,this['requestUpdate']('operation',_0x1c71c7),this['isConnected']&&_0x5d0d22&&this['kl'](_0x5d0d22);}['kl'](t){this['icon']=t,(((()=>{let _0x3313a1=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x3313a1;})()),((()=>{let _0x2a04d6=this['l10n'](t);this['title']=_0x2a04d6;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0x4ba36e}=kU[this['n']],_0x180975=t[this['n']],_0x19c223=typeof _0x180975<'u'&&_0x180975!==_0x4ba36e;this['active']=_0x19c223;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':zG(this['$']['*operationTooltip'])});}};dQ([QV({'type':String})],iZ['prototype'],'operation',0x1);var sZ=()=>{},nZ=class extends Fj{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x1e859e,deltaX:_0x4bb4dd}=t;Math['abs'](_0x4bb4dd)>0x1?this['scrollLeft']+=_0x4bb4dd:this['scrollLeft']+=_0x1e859e;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',sZ,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',sZ),super['disconnectedCallback']();}};dQ([QV({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],nZ['prototype'],'hiddenScrollbar',0x2);var rZ=class extends Fj{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[...TU],this['activeTab']=EU['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=EH(),this['Rl']=EH(),this['tabToggleRefs']={[EU['CROP']]:EH(),[EU['TUNING']]:EH(),[EU['FILTERS']]:EH()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=UV(t=>{this['Ti']=t;},0x1f4),this['Cr']=UV(()=>{let t=this['$']['*editorTransformations'],_0x3f05c7=this['$']['*currentOperation'],_0x3f5a4c='',_0x1d2275=!0x1;if(this['$']['*tabId']===EU['FILTERS']){if(_0x1d2275=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x209a8f=t?.['filter']?.['amount']||0x64;_0x3f5a4c=this['$']['*currentFilter']+'\x20'+_0x209a8f;}else _0x3f5a4c=this['l10n'](qG);}else{if(this['showSubToolbar']&&this['$']['*tabId']===EU['TUNING']&&_0x3f05c7){_0x1d2275=!0x0;let _0x51c204=t?.[_0x3f05c7]||kU[_0x3f05c7]['zero'];_0x3f5a4c=this['l10n'](_0x3f05c7)+'\x20'+_0x51c204;}}_0x1d2275&&(this['$']['*operationTooltip']=_0x3f5a4c),this['Es']=_0x1d2275;},0x0),this['Pd']={'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},this['Ld']={'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},this['Rd']={'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},this['Ud']={'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},this['init$']={...this['init$'],'*sliderEl':null,'*showSlider':!0x1,'*showListAspectRatio':!0x1,'*currentFilter':qG,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x21f11b=this['$']['*on.cancel'];_0x21f11b?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x4ca0ce=this['$']['*on.apply'];_0x4ca0ce?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':zG(this['$']['*operationTooltip'])}),this['Er']['value']?.['apply'](),this['$l']();},this['Gd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel-slider'}),this['Er']['value']?.['cancel'](),this['$l']();},this['qd']=t=>{let _0x22fc91=t['currentTarget']?.['getAttribute']('data-id');_0x22fc91&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x22fc91),this['xs'](_0x22fc91,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===EU['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===EU['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0x1ac8af=!0x1,force:_0x4c767b=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0x1ac8af,'force':_0x4c767b});}['Dl'](t,{fromViewer:_0x25457b,force:_0x29f968=!0x1}){if(!_0x29f968&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x22fc45=this['$']['*faderEl'],_0x4f2146=this['$']['*cropperEl'];t===EU['CROP']?(_0x22fc45?.['deactivate'](),this['$']['*imageSize']&&_0x4f2146?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x25457b})):(_0x22fc45?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x25457b}),_0x4f2146?.['deactivate']());for(let _0x170eaf of TU){let _0xffef89=_0x170eaf===t,_0x3e244c=this['tabToggleRefs'][_0x170eaf]?.['value'];_0x3e244c&&(_0x3e244c['active']=_0xffef89),_0xffef89&&this['tt']();}}['tt'](){let _0x21ce5b=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x104ef5=this['Rl']['value'];if(!_0x21ce5b||!_0x104ef5)return;let _0x576ba7=_0x21ce5b['offsetLeft'],_0x14d919=_0x21ce5b['offsetWidth']||Number(getComputedStyle(_0x21ce5b)['width']['replace']('px',''));(this['Pl']!==_0x576ba7||this['Ll']!==_0x14d919)&&(this['Pl']=_0x576ba7,this['Ll']=_0x14d919,_0x104ef5['style']['transform']='translateX('+_0x576ba7+'px)',_0x104ef5['style']['width']=_0x14d919+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case EU['CROP']:return this['Dd']();case EU['FILTERS']:return this['Fd']();case EU['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x4de1ee of this['Ei'])t['push'](()=>this['Fl'](_0x4de1ee));}for(let _0x3fbc2b of IU)t['push'](()=>this['_d'](_0x3fbc2b));return this['Ss'](t);}['Fd'](){let _0x2f5214=[qG,...SU]['map'](_0x1071d4=>()=>this['Bd'](_0x1071d4));return this['Ss'](_0x2f5214);}['Nd'](){let t=AU['map'](_0x565d8a=>()=>this['zd'](_0x565d8a));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x5bbc77=>_0x5bbc77()):[];}['Vd'](){return aV`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return aV`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return aV`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return aV`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return aV`<uc-editor-operation-control .operation=${t}></uc-editor-operation-control>`;}['Hd'](){return this['Cs']?this['Ei']['map'](t=>this['Fl'](t)):[];}async['Kd'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let t=this['$']['*imgContainerEl']['offsetWidth'],_0x52339e=await this['proxyUrl'](QG(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x2882a0}=DH([_0x52339e]);this['b']=()=>{_0x2882a0(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x7def3b=>{this['Ei']=[..._0x7def3b??[]];}),this['sub']('*imageSize',_0x17b76f=>{_0x17b76f&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x7caec7=>{let _0x2f689f=_0x7caec7?.['filter']?.['name'];this['$']['*currentFilter']!==_0x2f689f&&(this['$']['*currentFilter']=_0x2f689f??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x47bd8f=>{this['Dl'](_0x47bd8f,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x469a93=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x469a93);}),this['sub']('*loadingOperations',_0x44c5f1=>{let _0x234186=!0x1;for(let [,_0x17beb9]of _0x44c5f1['entries']()){if(_0x234186)break;for(let [,_0x7d4e14]of _0x17beb9['entries']())if(_0x7d4e14){_0x234186=!0x0;break;}}this['xr'](_0x234186);}),this['sub']('*showSlider',_0x5083dc=>{_0x5083dc?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x2753b3=>{_0x2753b3?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x2bc740=>{if(this['tabList']=_0x2bc740,this['Ol']=_0x2bc740['length']>0x1,!_0x2bc740['includes'](this['$']['*tabId'])&&_0x2bc740['length']>0x0){let [_0x2ad9aa]=_0x2bc740;return void(_0x2ad9aa&&this['xs'](_0x2ad9aa,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x220a74=>{this['Il']=_0x220a74;}),this['Cr']();}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['Ul']);}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['tt']();}['updated'](t){super['updated'](t),(t['has']('activeTab')||t['has']('tabList'))&&this['updateComplete']['then'](()=>this['tt']()),(t['has']('showSubToolbar')||t['has']('showMainToolbar'))&&this['Sr']();}['disconnectedCallback'](){window['removeEventListener']('resize',this['Ul']),super['disconnectedCallback'](),this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}['Sr'](){let t=this['Er']['value'];t&&(this['$']['*sliderEl']=t);}['Wd'](t){let _0x3bc628=this['tabList']['includes'](t),_0x1d2ce3=this['activeTab']===t,_0x450080=this['tabList']['indexOf'](t),_0x3bd4ae=_0x450080>=0x0?ZG({'gridColumn':''+(_0x450080+0x1)}):lV;return aV`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x3bc628} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x1d2ce3?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x1d2ce3} style=${_0x3bd4ae} @click=${this['qd']} ${SH(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x12d0aa=this['$d'](t);return aV`<div id=${'tab_'+t} class="uc-tab-content" ><uc-editor-scroller hidden-scrollbar><div class="uc-controls-list_align"><div role="listbox" aria-orientation="horizontal" class="uc-controls-list_inner">${_0x12d0aa['length']?_0x12d0aa:lV}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x2c0ee4=this['Cs'];return aV`<uc-line-loader-ui .active=${this['Ti']}></uc-line-loader-ui><div class="uc-info-tooltip_container"><div class="uc-info-tooltip_wrapper"><div class=${t}>${this['Il']??''}</div></div></div><div class="uc-toolbar-container"><uc-presence-toggle role="tablist" class="uc-sub-toolbar" .visible=${this['showMainToolbar']} .styles=${this['Pd']} ><div class="uc-tab-content-row">${TU['map'](_0x32d023=>IG(this['activeTab']===_0x32d023,()=>this['Zd'](_0x32d023)))}</div><div class="uc-controls-row"><uc-presence-toggle class="uc-tab-toggles" .visible=${this['Ol']} .styles=${this['Ud']} @initial-render=${()=>this['tt']()} ><div class="uc-tab-toggles_indicator" ${SH(this['Rl'])} ></div>${TU['map'](_0x1edb12=>this['Wd'](_0x1edb12))}</uc-presence-toggle><uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" title-prop="cancel" @click=${this['Ee']} ></uc-btn-ui><uc-btn-ui theme="primary-icon" icon="done" title-prop="apply" @click=${this['As']}></uc-btn-ui></div></uc-presence-toggle><uc-presence-toggle class="uc-sub-toolbar" .visible=${this['showSubToolbar']} .styles=${this['Ld']}><div class="uc-slider" ?hidden=${!this['Tr']}><uc-editor-slider ${SH(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x2c0ee4}>${_0x2c0ee4?aV`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:lV}</div><div class="uc-controls-row"><uc-btn-ui theme="secondary" @click=${this['Gd']} text=${this['l10n']('cancel')}></uc-btn-ui><uc-btn-ui theme="primary" @click=${this['jd']} text=${this['l10n']('apply')}></uc-btn-ui></div></uc-presence-toggle></div>`;}};dQ([VV()],rZ['prototype'],'Ti',0x2),dQ([VV()],rZ['prototype'],'showMainToolbar',0x2),dQ([VV()],rZ['prototype'],'showSubToolbar',0x2),dQ([VV()],rZ['prototype'],'Ol',0x2),dQ([VV()],rZ['prototype'],'tabList',0x2),dQ([VV()],rZ['prototype'],'activeTab',0x2),dQ([VV()],rZ['prototype'],'Tr',0x2),dQ([VV()],rZ['prototype'],'Es',0x2),dQ([VV()],rZ['prototype'],'Il',0x2),dQ([VV()],rZ['prototype'],'Ei',0x2);var oZ=eU([...TU]),aZ=class extends Fj{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=LH,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=oZ,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=UV(t=>{this['Ti']=t;},0x12c),this['Ar']=EH(),this['Vl']=EH(),this['_l']=EH(),this['Bl']=EH(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==LH&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],...RG(this)};}static{this['styleAttrs']=['uc-cloud-image-editor'];}['Jd'](){this['ke']||this['ks']||(this['ks']=this['updateComplete']['then'](()=>{this['ks']=null,this['ke']=!0x0;}));}['initCallback'](){super['initCallback'](),this['Kl'](),this['jl']();}['Sr'](){let t=this['_l']['value'];t&&(this['$']['*faderEl']=t);let _0x36588f=this['Vl']['value'];_0x36588f&&(this['$']['*cropperEl']=_0x36588f);let _0x3ae35b=this['Bl']['value'];_0x3ae35b&&(this['$']['*imgContainerEl']=_0x3ae35b);let _0x48fc9a=this['Ar']['value'];_0x48fc9a&&(this['$']['*imgEl']=_0x48fc9a);}['ep'](){let t=this['Ar']['value'];t&&(t['addEventListener']('load',this['zl']),t['addEventListener']('error',this['Hl']));}['tp'](){let t=this['Ar']['value'];t&&(t['removeEventListener']('load',this['zl']),t['removeEventListener']('error',this['Hl']));}get['ip'](){let t=this['$']['*tabId'];return kG('uc-image',{'uc-image_hidden_to_cropper':t===EU['CROP'],'uc-image_hidden_effects':t!==EU['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x1634a0,_0xa33169)=>{let _0x3e7c3c=()=>{window['clearTimeout'](_0x7d8dfc),_0x54ac63['disconnect'](),this['xi']=null;},_0x407272=()=>{_0x3e7c3c(),window['setTimeout'](()=>_0x1634a0(),0x0);},_0x51441c=()=>{let _0x266525=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x3e7c3c(),this['isConnected']&&console['error'](_0x266525['message']),_0xa33169(_0x266525);},_0x54ac63=new ResizeObserver(_0x55b845=>{let [_0x180173]=_0x55b845;_0x180173&&_0x180173['contentRect']['width']>0x0&&_0x180173['contentRect']['height']>0x0&&_0x407272();}),_0x7d8dfc=window['setTimeout'](()=>{_0x51441c();},0xbb8);((()=>{let {width:_0x82af22,height:_0x1dee26}=this['getBoundingClientRect']();return _0x82af22>0x0&&_0x1dee26>0x0;})())?_0x407272():_0x54ac63['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0x292f2b=!(!this['uuid']&&!this['cdnUrl']),_0x96958f=t['has']('uuid')||t['has']('cdnUrl');_0x292f2b&&!_0x96958f&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x364c3c=this['Yd']??'',_0x4d4883=this['Je']||LH,_0x26b337=this['Ti'],_0x1d0c68=this['Nl'];return aV` ${zj('<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>')}<div class="uc-wrapper uc-wrapper_desktop"><uc-presence-toggle class="uc-network_problems_splash" .visible=${_0x1d0c68}><div class="uc-network_problems_content"><div class="uc-network_problems_icon"><uc-icon name="sad"></uc-icon></div><div class="uc-network_problems_text">Network error</div></div><div class="uc-network_problems_footer"><uc-btn-ui theme="primary" text="Retry" @click=${this['Qd']}></uc-btn-ui></div></uc-presence-toggle><div class="uc-viewport"><div class="uc-file_type_outer"><div class="uc-file_type">${t}</div></div><div class="uc-image_container" ${SH(this['Bl'])}><img src=${_0x4d4883} class=${this['ip']} ${SH(this['Ar'])} />${IG(this['ke'],()=>aV`<uc-editor-image-cropper ${SH(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${SH(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x364c3c}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x26b337}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${IG(this['ke'],()=>aV`<uc-editor-toolbar></uc-editor-toolbar>`)}</div></div></div>`;}['updated'](t){super['updated'](t),t['has']('uuid')&&this['uuid']&&this['updateImage'](),t['has']('cdnUrl')&&this['cdnUrl']&&this['updateImage'](),t['has']('tabs')&&this['Kl'](),(t['has']('cropPreset')||t['has']('cdnUrl'))&&this['jl']();}['Kl'](){let t=this['tabs']||oZ;this['$']['*tabList']=(_0x25aaba=>{if(!_0x25aaba)return TU;let _0x1f7099=tU(_0x25aaba)['filter'](xG);return 0x0===_0x1f7099['length']?TU:_0x1f7099;})(t);}['jl'](){let t=qF(this['cropPreset']??''),_0x1c6c42=null;if(this['cdnUrl']){let _0x310a2a=_U(cU(this['cdnUrl']));if(Array['isArray'](_0x310a2a?.['crop']?.['dimensions'])){let [_0x3fcbd7,_0x20f90b]=_0x310a2a['crop']['dimensions'];_0x1c6c42=((_0x12e0db,_0x387d38,t,_0x36dee6=0.1)=>{let _0x3e3256=_0x12e0db/_0x387d38,_0x15ff32=null,_0x284174=0x1/0x0;for(let _0x15f962 of t){let [_0x494578,_0x13d98a]=[_0x15f962['width'],_0x15f962['height']],_0x272dc3=_0x494578/_0x13d98a,_0x4b0f41=Math['abs'](_0x3e3256-_0x272dc3);_0x4b0f41<_0x284174&&(_0x284174=_0x4b0f41,_0x15ff32=_0x15f962);}if(_0x15ff32){let [_0x4e1a4b,_0x3481da]=[_0x15ff32['width'],_0x15ff32['height']],_0x709d4d=_0x4e1a4b/_0x3481da;if(Math['abs'](_0x3e3256-_0x709d4d)/_0x709d4d>_0x36dee6)return null;}return _0x15ff32;})(_0x3fcbd7,_0x20f90b,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x1c6c42??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x36d6b9=oU(t),_0x48e1a4=fU(t,_0x36d6b9);if(_0x48e1a4===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x48e1a4;let _0x24fdbe=_U(cU(t));this['$']['*editorTransformations']=_0x24fdbe;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=fU(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===EU['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x272d6e=await this['proxyUrl'](dU(t,nU('json'))),_0x3b8515=await fetch(_0x272d6e)['then'](_0x508072=>_0x508072['json']()),{width:_0x144847,height:_0x55df0d}=_0x3b8515;this['$']['*imageSize']={'width':_0x144847,'height':_0x55df0d},this['$']['*tabId']===EU['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x2060e1){_0x2060e1&&(this['telemetryManager']['sendEventError'](_0x2060e1,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x2060e1));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x112606=!!t;this['Nl']=_0x112606;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x29ddd9=this['$']['*originalUrl'],_0x4760cf=nU(OU(t),'preview'),_0x570bb2={'originalUrl':_0x29ddd9,'cdnUrlModifiers':_0x4760cf,'cdnUrl':dU(_0x29ddd9,_0x4760cf),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x570bb2,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};dQ([VV()],aZ['prototype'],'Yd',0x2),dQ([VV()],aZ['prototype'],'Je',0x2),dQ([VV()],aZ['prototype'],'Xd',0x2),dQ([VV()],aZ['prototype'],'Ti',0x2),dQ([QV({'type':String,'reflect':!0x0})],aZ['prototype'],'uuid',0x2),dQ([QV({'type':String,'attribute':'cdn-url','reflect':!0x0})],aZ['prototype'],'cdnUrl',0x2),dQ([QV({'type':String,'attribute':'crop-preset','reflect':!0x0})],aZ['prototype'],'cropPreset',0x2),dQ([QV({'type':String,'reflect':!0x0})],aZ['prototype'],'tabs',0x2),dQ([VV()],aZ['prototype'],'Nl',0x2),dQ([VV()],aZ['prototype'],'ke',0x2);var cZ={};uQ(cZ,{'CloudImageEditorActivity':()=>hZ});var lZ=class extends aZ{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':Cj['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},hZ=class extends tH{constructor(){super(...arguments),this['Q']=null;}get['activityParams'](){let t=super['activityParams'];if('internalId'in t)return t;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['subConfigValue']('cropPreset',t=>{this['Q']&&this['Q']['cropPreset']!==t&&(this['Q']={...this['Q'],'cropPreset':t});}),this['subConfigValue']('cloudImageEditorTabs',t=>{this['Q']&&this['Q']['tabs']!==t&&(this['Q']={...this['Q'],'tabs':t});}),this['rp']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['op']();}['As'](t){if(!this['Ci'])return;this['debugPrint']('editor\x20event\x20\x22apply\x22',t['detail']);let _0x485d4b=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x485d4b['cdnUrl'],'cdnUrlModifiers':_0x485d4b['cdnUrlModifiers']}),this['modalManager']?.['close'](JF['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x4576f9=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x4576f9),this['modalManager']?.['close'](JF['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x4050da=this['uploadCollection']['read'](t);if(!_0x4050da)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x4050da;let _0x50bf81=this['Ci']['getValue']('cdnUrl');if(!_0x50bf81)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x50bf81);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return lV;let {cdnUrl:t,cropPreset:_0x45add4,tabs:_0x1b42a9}=this['Q'];return aV`<uc-cloud-image-editor cdn-url=${t} crop-preset=${$G(_0x45add4)} tabs=${$G(_0x1b42a9)} @apply=${this['As']} @cancel=${this['Ee']} @change=${this['handleChange']} ></uc-cloud-image-editor>`;}['sp'](t){return{'cdnUrl':t,'cropPreset':this['cfg']['cropPreset'],'tabs':this['cfg']['cloudImageEditorTabs']};}};dQ([VV()],hZ['prototype'],'Q',0x2);var uZ=class extends tH{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x1ceb49=this['Dt']['trim']();_0x1ceb49&&(this['api']['addFileFromUrl'](_0x1ceb49,{'source':SF['URL']}),this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](JF['activities']['UPLOAD_LIST']));};}['render'](){return aV`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['historyBack']} title=${this['l10n']('back')} aria-label=${this['l10n']('back')}><uc-icon name="back"></uc-icon></button><div><uc-icon name="url"></uc-icon><span>${this['l10n']('caption-from-url')}</span></div><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><form class="uc-content" @submit=${this['Ho']}><label><input placeholder="https://" class="uc-url-input" type="text" autofocus @input=${this['bs']} /></label><button type="submit" class="uc-url-upload-btn uc-primary-btn" ?disabled=${!this['Dt']} >${this['l10n']('upload-url')}</button></form>`;}};dQ([VV()],uZ['prototype'],'Dt',0x2);var dZ=()=>{let _0x181dae=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x181dae['location']['origin'];}catch(_0x108920){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x108920),globalThis['location']['origin'];}},fZ=_0x2561c3=>_0x2561c3['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),mZ=(_0x1a7068,_0x2fdc20='i')=>{let t=_0x1a7068['split']('*')['map'](fZ);return new RegExp('^'+t['join']('.+')+'$',_0x2fdc20);},gZ=['--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'],pZ=(_0x499b88,_0x3f5543)=>window['getComputedStyle'](_0x499b88)['getPropertyValue'](_0x3f5543)['trim'](),OZ=_0xdcc96b=>{let _0x373453={};for(let t of gZ){let _0x37a893=pZ(_0xdcc96b,t);_0x37a893&&(_0x373453[t]=_0x37a893);}return _0x373453;},wZ=['selected-files-change','toolbar-state-change'],bZ=class{constructor(_0x43de83,t){this['kr']=new Map(),this['Wl']=_0x3cd445=>{if(_0x3cd445['source']!==this['Ms'])return;let t=_0x3cd445['data'];if(!(_0x28d78b=>{if(!_0x28d78b||'object'!=typeof _0x28d78b||!('type'in _0x28d78b))return!0x1;let _0x3584d4=_0x28d78b['type'];return!('string'!=typeof _0x3584d4||!wZ['includes'](_0x3584d4));})(t))return;let _0x250a7a=this['kr']['get'](t['type']);if(_0x250a7a){for(let _0x14bb57 of _0x250a7a)_0x14bb57(t);}},this['Ms']=_0x43de83,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x2ac59f,t){let _0x385608=this['kr']['get'](_0x2ac59f)??new Set();this['kr']['has'](_0x2ac59f)||this['kr']['set'](_0x2ac59f,_0x385608),_0x385608['add'](t);}['send'](_0x363ad6){let t=this['ql']();this['Ms']['postMessage'](_0x363ad6,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}},yZ={[TF['GDRIVE']]:'ngdrive'},vZ=class extends tH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=EH(),this['Mr']=null,this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Zl']=!0x0,this['Ko']=()=>{for(let t of this['Os']){let _0x124be3=this['ap'](t),{filename:_0x563629}=t,{externalSourceType:_0x24de60}=this['activityParams'];this['api']['addFileFromUrl'](_0x124be3,{'fileName':_0x563629,'source':_0x24de60});}this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](JF['activities']['UPLOAD_LIST']);},this['Ee']=()=>{this['historyBack']();},this['hp']=()=>{this['ne']?.['send']({'type':'select-all'});},this['fp']=()=>{this['ne']?.['send']({'type':'deselect-all'});};}get['np'](){if(!this['Mr'])return'';let {selectedCount:t,total:_0x1a7cf0}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x1a7cf0});}get['activityParams'](){let t=super['activityParams'];if('externalSourceType'in t)return t;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback']();let {externalSourceType:t}=this['activityParams'];t?this['Yl']():console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20external\x20source\x20activity'),this['sub']('*currentActivityParams',()=>{setTimeout(()=>{this['isConnected']&&(this['Xl'](),this['Yl']());});}),this['subConfigValue']('multiple',_0x52bdbd=>{this['Or']=_0x52bdbd;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x4cea43=>{this['Jl'](_0x4cea43);});}['ap'](t){if(t['alternatives']){let _0x5cae47=mU(this['cfg']['externalSourcesPreferredTypes']);for(let _0x55ce2b of _0x5cae47){let _0x1c633f=mZ(_0x55ce2b);for(let [_0x10dcea,_0x9d5c11]of Object['entries'](t['alternatives']))if(_0x1c633f['test'](_0x10dcea))return _0x9d5c11;}}return t['url'];}['lp'](t){this['Zl']=t['isVisible'];}async['cp'](t){this['cfg']['multiple']===t['isMultipleMode']?(this['up'](t['selectedCount'],t['total']),this['$s']=t['isReady']?'':'uc-hidden',this['Is']=t['isReady'],this['Ps']=t['isReady']&&t['selectedFiles']['length']>0x0,this['Or']=t['isMultipleMode']&&t['total']>0x0,this['Ls']=t['selectedCount']<t['total'],this['Rs']=t['selectedCount']===t['total'],this['Os']=t['selectedFiles']??[],this['Us']=t['total']>0x0):console['error']('Multiple\x20mode\x20mismatch');}['ec'](){this['Jl'](this['cfg']['externalSourcesEmbedCss']),this['dp'](),this['Ql']();}['dp'](){this['ne']?.['send']({'type':'set-theme-definition','theme':OZ(this)});}['Jl'](t){this['ne']?.['send']({'type':'set-embed-css','css':t});}['Ql'](){this['ne']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['pp'](){let {pubkey:t,remoteTabSessionKey:_0x459dfc,socialBaseUrl:_0x1bdb52,multiple:_0x43566a}=this['cfg'],{externalSourceType:_0x5f24ff}=this['activityParams'],_0x2f971d=yZ[_0x5f24ff]??_0x5f24ff,_0x1ddf72={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x459dfc,'wait_for_theme':!0x0,'multiple':_0x43566a['toString'](),'origin':this['cfg']['topLevelOrigin']||dZ(),'debug':this['cfg']['debug']},_0x92f3b3=new URL('/window4/'+_0x2f971d,_0x1bdb52);return _0x92f3b3['search']=function(_0x10c4a4){let _0x2e3701=[];for(let [t,_0x28063d]of Object['entries'](_0x10c4a4))null==_0x28063d||'string'==typeof _0x28063d&&0x0===_0x28063d['length']||_0x2e3701['push'](t+'='+encodeURIComponent(_0x28063d));return _0x2e3701['join']('&');}(_0x1ddf72),_0x92f3b3['toString']();}['up'](t,_0x1ba2ee){this['Mr']={'selectedCount':t,'total':_0x1ba2ee};}['Yl'](){let t=document['createElement']('iframe');t['src']=this['pp'](),t['marginHeight']=0x0,t['marginWidth']=0x0,t['frameBorder']='0',t['allowTransparency']=!0x0,t['addEventListener']('load',this['ec']['bind'](this)),t['addEventListener']('load',this['ec']['bind'](this)),this['Vt']['value']&&(this['Vt']['value']['innerHTML']='',this['Vt']['value']['appendChild'](t)),t['contentWindow']&&(this['ne']?.['destroy'](),this['ne']=new bZ(t['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['ne']['on']('selected-files-change',this['cp']['bind'](this)),this['ne']['on']('toolbar-state-change',this['lp']['bind'](this)),this['tc']());}['Xl'](){this['ne']?.['destroy'](),this['ne']=void 0x0,this['Vt']['value']&&(this['Vt']['value']['innerHTML']=''),this['tc']();}['tc'](){this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Mr']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xl']();}['render'](){return aV`<uc-activity-header><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><div ${SH(this['Vt'])} class="uc-iframe-wrapper"></div><div class="uc-toolbar" ?hidden=${!this['Zl']}><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('cancel')}</button><div class="uc-selection-status-box" ?hidden=${!this['Or']}><span>${this['np']}</span><button type="button" @click=${this['hp']} ?hidden=${!this['Ls']}>${this['l10n']('select-all')}</button><button type="button" @click=${this['fp']} ?hidden=${!this['Rs']}>${this['l10n']('deselect-all')}</button></div><button type="button" class="uc-done-btn uc-primary-btn" @click=${this['Ko']} ?disabled=${!this['Ps']} ?hidden=${!this['Us']} ><uc-spinner ?hidden=${this['Is']}></uc-spinner><span class=${this['$s']}>${this['l10n']('done')}</span></button></div></div>`;}};dQ([VV()],vZ['prototype'],'Os',0x2),dQ([VV()],vZ['prototype'],'Is',0x2),dQ([VV()],vZ['prototype'],'Ps',0x2),dQ([VV()],vZ['prototype'],'Ls',0x2),dQ([VV()],vZ['prototype'],'Rs',0x2),dQ([VV()],vZ['prototype'],'Or',0x2),dQ([VV()],vZ['prototype'],'Us',0x2),dQ([VV()],vZ['prototype'],'$s',0x2),dQ([VV()],vZ['prototype'],'Zl',0x2);var _Z={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},EZ=['camera','microphone'];function TZ(_0x2cc956){return Math['floor'](_0x2cc956/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x2cc956%0x3c)['toString']()['padStart'](0x2,'0');}var AZ='image/jpeg',SZ='video/webm',IZ=class extends tH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Ir']=null,this['Ds']=!0x1,this['Si']=[],this['me']=null,this['ge']=null,this['Pr']=null,this['Lr']=null,this['g']=null,this['Ai']={},this['fe']=null,this['e']=null,this['_t']=[],this['Bt']=[],this['mp']={},this['Rr']=[],this['Ur']=null,this['ic']=()=>{this['rc'](),this['ki']='pause';},this['oc']=()=>{this['ki']='play',this['gp']();},this['Mi']=EH(),this['Xe']=EH(),this['K']=EH(),this['sc']=0x0,this['nc']=0x0,this['ac']=null,this['$r']=!0x0,this['Dr']=!0x0,this['vp']=typeof navigator['permissions']<'u',this['cc']=[],this['ot']=!0x0,this['Fs']='',this['zt']=!0x0,this['at']=!0x0,this['Ht']=!0x0,this['uc']=[],this['pt']=!0x0,this['Ns']=!0x0,this['mt']=!0x0,this['Ce']=!0x0,this['gt']=!0x0,this['Kt']='camera-full',this['ki']='play',this['dc']='microphone',this['Fr']='uc-shot-btn\x20uc-camera-action',this['yp']=()=>{if(this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===bF['PHOTO']&&this['bp'](),this['g']===bF['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x560d13=t['target'];_0x560d13&&(this['Lr']=_0x560d13['value'],this['jt']());},this['Ep']=t=>{let _0x10b045=t['target'];_0x10b045&&(this['Pr']=_0x10b045['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['g']}}}),this['yp']();},this['Sp']=()=>{this['Ap']();},this['kp']=()=>{this['Mp']();},this['Op']=()=>{this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x10f622=t['currentTarget']?.['getAttribute']('data-id');_0x10f622&&this['fc'](_0x10f622);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x533ee5=this['cfg']['maxVideoRecordingDuration']-t;if(_0x533ee5<=0x0){let _0x2607b7=this['Mi']['value'];return _0x2607b7&&(_0x2607b7['textContent']=TZ(_0x533ee5)),void this['pc']();}let _0x4db337=this['Mi']['value'];_0x4db337&&(_0x4db337['textContent']=TZ(_0x533ee5));}else{let _0x9ab9f4=this['Mi']['value'];_0x9ab9f4&&(_0x9ab9f4['textContent']=TZ(t));}this['Gt']=requestAnimationFrame(this['mc']);},this['Rp']=()=>{this['sc']=performance['now'](),this['nc']=0x0,this['mc']();},this['gc']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['rc']=()=>{let t=this['K']['value'];if(!t)return;let _0x378a1b=t['currentTime'],_0x4e0179=t['duration']||0x1,_0x4031de=this['Xe']['value'];_0x4031de&&(_0x4031de['style']['transform']='scaleX('+_0x378a1b/_0x4e0179+')');let _0x4098dc=this['Mi']['value'];_0x4098dc&&(_0x4098dc['textContent']=TZ(_0x378a1b)),this['Gt']=requestAnimationFrame(this['rc']);},this['gp']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['Gt']=null,this['wp']=()=>{try{this['Si']=[],this['Ai']={...this['cfg']['mediaRecorderOptions']};let {mimeType:t}=this['cfg']['mediaRecorderOptions']||{};t&&MediaRecorder['isTypeSupported'](t)?this['Ai']['mimeType']=t:MediaRecorder['isTypeSupported'](SZ)?this['Ai']['mimeType']=SZ:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x397782=>{this['Si']['push'](_0x397782['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](yF['PLAY']));}catch(_0x2981f4){console['error']('Failed\x20to\x20start\x20recording',_0x2981f4),this['telemetryManager']['sendEventError'](_0x2981f4,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](yF['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['g']}}});},this['Ap']=()=>{if('recording'===this['me']?.['state'])return;let t=this['K']['value'];t&&(!t['paused']&&!t['ended']&&t['readyState']>0x2?t['pause']():t['paused']&&t['play']());},this['Mp']=()=>{this['ge']?.['getAudioTracks']()['forEach'](t=>{t['enabled']=!t['enabled'],this['dc']=t['enabled']?'microphone':'microphone-mute',this['Ns']=!t['enabled'];});},this['Up']=()=>{try{let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x21f872=URL['createObjectURL'](t),_0x1d8923=this['K']['value'];if(!_0x1d8923)return;_0x1d8923['muted']=!0x1,_0x1d8923['volume']=0x1,this['Ii'](null),_0x1d8923['src']=_0x21f872,this['$p'](_0x1d8923);}catch(_0x5b1b7d){console['error']('Failed\x20to\x20preview\x20video',_0x5b1b7d),this['telemetryManager']['sendEventError'](_0x5b1b7d,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](yF['RETAKE']),this['g']===bF['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](yF['ACCEPT']),this['g']===bF['PHOTO'])return void this['fe']?.['toBlob'](_0x375da0=>{if(!_0x375da0)return;let _0x100ad3=this['vc']('camera','jpeg',AZ,_0x375da0);this['yc'](_0x100ad3);},AZ);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x4d0514=this['Dp'](this['me']?.['mimeType']),_0x5bd957=this['vc']('video',_0x4d0514,'video/'+_0x4d0514,t);this['yc'](_0x5bd957),this['Si']=[];},this['Fp']=t=>{t===yF['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===yF['RETAKE']||t===yF['ACCEPT'])&&(this['gt']=!this['Se']['includes'](bF['VIDEO']),this['Ce']=!this['Se']['includes'](bF['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===yF['PLAY']&&(this['zt']=!0x1,this['Ce']=!0x0,this['ot']=!0x0,this['pt']=!0x0,this['ki']='pause',this['Kt']='square',this['Fr']='uc-shot-btn\x20uc-camera-action\x20uc-stop-record'),t===yF['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===yF['RETAKE']||t===yF['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](bF['VIDEO']),this['Ce']=!this['Se']['includes'](bF['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['mt']=!this['cfg']['enableAudioRecording'],this['Kt']='video-camera-full',this['Fr']='uc-shot-btn\x20uc-camera-action',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['ot']=this['_t']['length']<=0x1);},this['Oi']=t=>{this['g']===bF['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===bF['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===bF['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===bF['VIDEO']&&(this['ki']='play',this['Kt']='video-camera-full',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['mt']=!this['cfg']['enableAudioRecording']),this['telemetryManager']['sendEvent']({'eventType':Cj['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0x206afc,_0x48a6da,_0x3929cb)=>{let _0xa858c6=Date['now']();return new File([_0x3929cb],t+'-'+_0xa858c6+'.'+_0x206afc,{'lastModified':_0xa858c6,'type':_0x48a6da});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':SF['CAMERA']}),this['set$']({'*currentActivity':JF['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](JF['activities']['UPLOAD_LIST']);},this['Pi']=UV(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x44e15e=this['g']===bF['VIDEO']&&this['cfg']['enableAudioRecording'],_0x243e47=this['g']===bF['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](bF['PHOTO']),this['gt']=!this['Se']['includes'](bF['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x243e47,this['mt']=!_0x44e15e,this['pt']=!_0x44e15e):'prompt'===t?(this['Fs']='camera-permissions-prompt',this['$r']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Dr']=!0x1,this['Bs']()):(this['Fs']='camera-permissions-denied',this['$r']=!0x0,this['Dr']=!0x1,this['Ce']=!this['Se']['includes'](bF['PHOTO']),this['gt']=!this['Se']['includes'](bF['VIDEO']),this['Ht']=!0x0,this['Fr']='uc-shot-btn\x20uc-camera-action',this['Bs']());},0x12c),this['Vp']=()=>{if(!this['ge'])return!0x1;let t=this['ge']?.['getAudioTracks'](),_0x27d6ac=this['ge']?.['getVideoTracks']();return t['forEach'](_0x2f75db=>{_0x2f75db['stop']();}),_0x27d6ac['forEach'](_0x24a2ba=>{_0x24a2ba['stop']();}),!0x0;},this['Bs']=()=>{this['Ds']&&(this['K']['value']&&(this['K']['value']['volume']=0x0),this['Ur']?.['getTracks']?.()?.[0x0]?.['stop'](),this['Vs'](this['K']['value']),this['Ii'](null),this['Vp'](),this['gc'](),this['Ds']=!0x1);},this['jt']=async()=>{let t={'video':{..._Z},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['Lr']&&(t['video']={'deviceId':{'exact':this['Lr']}}),this['Pr']&&this['cfg']['enableAudioRecording']&&(t['audio']={'deviceId':{'exact':this['Pr']}}),this['K']['value']&&(this['K']['value']['volume']=0x0);try{this['Pi']('prompt'),this['ge']=await navigator['mediaDevices']['getUserMedia'](t),this['ge']['addEventListener']('inactive',()=>{this['Pi']('denied');}),this['Ii'](this['ge']),this['Ds']=!0x0,this['Pi']('granted');}catch(_0xc578c6){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0xc578c6),this['telemetryManager']['sendEventError'](_0xc578c6,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of EZ){let _0x157d08=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x157d08,_0x157d08['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x157d08['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x3c3092){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x3c3092),this['telemetryManager']['sendEventError'](_0x3c3092,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['jt']();}},this['Bp']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['zs'](),navigator['mediaDevices']['addEventListener']('devicechange',this['zs']);}catch(_0xf87b12){this['telemetryManager']['sendEventError'](_0xf87b12,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0xf87b12);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x3bb406=>'videoinput'===_0x3bb406['kind'])['map']((_0x112fd1,_0x38e72b)=>({'text':_0x112fd1['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x38e72b+0x1),'value':_0x112fd1['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x3a28d1=>'audioinput'===_0x3a28d1['kind'])['map'](_0x314bbc=>({'text':_0x314bbc['label']['trim'](),'value':_0x314bbc['deviceId']})):[],this['cc']=this['_t'],this['ot']=this['_t']['length']<=0x1,this['Lr']=this['_t'][0x0]?.['value']??null,this['uc']=this['Bt'],this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['Pr']=this['Bt'][0x0]?.['value']??null;}catch(_0x26b6da){this['telemetryManager']['sendEventError'](_0x26b6da,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x26b6da);}},this['zp']=async()=>{await this['_p'](),await this['Bp'](),await this['jt'](),this['wc'](this['Se']);},this['Hp']=async()=>{this['Ir']&&this['Ir'](),window['chrome']||this['Pi']('denied'),this['Bs']();},this['wc']=t=>{this['gt']=!t['includes'](bF['VIDEO']),this['Ce']=!t['includes'](bF['PHOTO']);let _0x520112=t[0x0];_0x520112&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x520112);};}['$p'](t){this['Vs'](t),t['addEventListener']('play',this['ic']),t['addEventListener']('pause',this['oc']);}['Vs'](t){t?.['removeEventListener']('play',this['ic']),t?.['removeEventListener']('pause',this['oc']);}['Ii'](t){this['Ur']!==t&&(this['Ur']=t,this['_s']());}['_s'](){let t=this['K']['value'];if(!t)return;let _0x4db45a=this['Ur']??null;t['srcObject']!==_0x4db45a&&(t['srcObject']=_0x4db45a);}['bp'](){if(this['Oi']('shot'),this['fe']=document['createElement']('canvas'),this['e']=this['fe']['getContext']('2d'),!this['e'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');let t=this['K']['value'];if(!t)throw new Error('Video\x20element\x20not\x20found');this['fe']['height']=t['videoHeight'],this['fe']['width']=t['videoWidth'],this['cfg']['cameraMirror']&&(this['e']['translate'](this['fe']['width'],0x0),this['e']['scale'](-0x1,0x1)),this['e']['drawImage'](t,0x0,0x0),t['pause']();}['Dp'](t){let _0x496b2f={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x440924=t['split']('/');if('video'===_0x440924?.[0x0]){let _0x53b999=_0x440924['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x53b999&&_0x496b2f[_0x53b999])return _0x496b2f[_0x53b999];}}return'avi';}get['Se'](){return mU(this['cfg']['cameraModes'])['filter'](t=>t===bF['PHOTO']||t===bF['VIDEO']);}['Nr'](){if(0x0!==this['Rr']['length']){for(let t of this['Rr'])t();this['Rr']=[],this['Ir']=null;}}['initCallback'](){super['initCallback'](),this['subConfigValue']('cameraMirror',t=>{this['ac']=t?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',t=>{this['mt']=!t,this['Ns']=!t;}),this['subConfigValue']('cameraModes',t=>{if(!this['isConnected'])return;let _0x5696b4=tU(t);this['wc'](_0x5696b4['filter'](_0x570bea=>_0x570bea===bF['PHOTO']||_0x570bea===bF['VIDEO']));}),this['zp']();}['firstUpdated'](t){super['firstUpdated'](t),this['_s']();}['updated'](t){super['updated'](t),this['_s']();}['Kp'](){this['Nr'](),navigator['mediaDevices']?.['removeEventListener']('devicechange',this['zs']),this['Vs'](this['K']['value']),this['Ii'](null);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Hp'](),this['Kp']();}['render'](){return aV`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('back')} ><uc-icon name="back"></uc-icon></button><div ?hidden=${!this['ot']}><uc-icon name="camera"></uc-icon><span>${this['l10n']('caption-camera')}</span></div><uc-select class="uc-camera-select" .options=${this['cc']} ?hidden=${this['ot']} @change=${this['Tp']} ></uc-select><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><video muted autoplay playsinline style=${ZG({'transform':this['ac']})} ?hidden=${this['$r']} ${SH(this['K'])} ></video><div class="uc-message-box" ?hidden=${this['Dr']}><span>${this['l10n'](this['Fs'])}</span><button type="button" @click=${this['xp']} ?hidden=${this['vp']} >${this['l10n']('camera-permissions-request')}</button></div></div><div class="uc-controls"><div class="uc-switcher" ?hidden=${!this['zt']}><button data-id="photo" type="button" class=${LG({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===bF['PHOTO']})} @click=${this['hc']} ?hidden=${this['Ce']} data-testid="tab-photo" ><uc-icon name="camera"></uc-icon></button><button data-id="video" type="button" class=${LG({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===bF['VIDEO']})} @click=${this['hc']} ?hidden=${this['gt']} data-testid="tab-video" ><uc-icon name="video-camera"></uc-icon></button></div><button class="uc-secondary-btn uc-recording-timer" @click=${this['Sp']} ?hidden=${this['zt']} data-testid="recording-timer" ><uc-icon name=${this['ki']}></uc-icon><span ${SH(this['Mi'])}> 00:00 </span><span ${SH(this['Xe'])} class="uc-line"></span></button><div class="uc-camera-actions uc-camera-action" ?hidden=${this['Ht']} ><button type="button" class="uc-secondary-btn" @click=${this['Op']}> Retake </button><button type="button" class="uc-primary-btn" @click=${this['Pp']} data-testid="accept" > Accept </button></div><button type="button" data-testid="shot" @click=${this['Cp']} class=${this['Fr']} ?hidden=${this['at']} ><uc-icon name=${this['Kt']}></uc-icon></button><div class="uc-select"><button type="button" class="uc-mini-btn uc-btn-microphone" @click=${this['kp']} ?hidden=${this['mt']} data-testid="toggle-microphone" ><uc-icon name=${this['dc']}></uc-icon></button><uc-select class="uc-audio-select" .options=${this['uc']} ?hidden=${this['pt']} ?disabled=${this['Ns']} @change=${this['Ep']} data-testid="audio-select" ></uc-select></div></div>`;}};dQ([VV()],IZ['prototype'],'ac',0x2),dQ([VV()],IZ['prototype'],'$r',0x2),dQ([VV()],IZ['prototype'],'Dr',0x2),dQ([VV()],IZ['prototype'],'vp',0x2),dQ([VV()],IZ['prototype'],'cc',0x2),dQ([VV()],IZ['prototype'],'ot',0x2),dQ([VV()],IZ['prototype'],'Fs',0x2),dQ([VV()],IZ['prototype'],'zt',0x2),dQ([VV()],IZ['prototype'],'at',0x2),dQ([VV()],IZ['prototype'],'Ht',0x2),dQ([VV()],IZ['prototype'],'uc',0x2),dQ([VV()],IZ['prototype'],'pt',0x2),dQ([VV()],IZ['prototype'],'Ns',0x2),dQ([VV()],IZ['prototype'],'mt',0x2),dQ([VV()],IZ['prototype'],'Ce',0x2),dQ([VV()],IZ['prototype'],'gt',0x2),dQ([VV()],IZ['prototype'],'Kt',0x2),dQ([VV()],IZ['prototype'],'ki',0x2),dQ([VV()],IZ['prototype'],'dc',0x2),dQ([VV()],IZ['prototype'],'Fr',0x2);var CZ={'id':'camera','setup':async({pluginApi:_0x215fc6,uploaderApi:_0x1e3cbf})=>{ZV({'CameraSource':IZ}),_0x215fc6['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!fj['htmlMediaCapture'])return['camera'];let t=tU(_0x215fc6['config']['get']('cameraModes'));return t['length']?t['map'](_0x556267=>'mobile-'+_0x556267+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x1e3cbf['setCurrentActivity'](KB['CAMERA']),_0x1e3cbf['setModalState'](!0x0);}}),_0x215fc6['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x1e3cbf['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x215fc6['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x1e3cbf['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x215fc6['registry']['registerActivity']({'id':KB['CAMERA'],'render':t=>{let _0x47ec04=document['createElement']('uc-camera-source');return t['append'](_0x47ec04),()=>{t['replaceChildren']();};}});}},kZ={};uQ(kZ,{'BtnUi':()=>DG,'CloudImageEditor':()=>lZ,'CloudImageEditorBlock':()=>aZ,'Config':()=>EG,'CropFrame':()=>VG,'EditorAspectRatioButtonControl':()=>JG,'EditorCropButtonControl':()=>tZ,'EditorFilterControl':()=>eZ,'EditorFreeformButtonControl':()=>KG,'EditorImageCropper':()=>UG,'EditorImageFader':()=>FG,'EditorOperationControl':()=>iZ,'EditorScroller':()=>nZ,'EditorSlider':()=>WG,'EditorToolbar':()=>rZ,'Icon':()=>eH,'LineLoaderUi':()=>NG,'PresenceToggle':()=>MG,'SliderUi':()=>XG,'defineComponents':()=>ZV});var xZ,RZ={'id':'cloud-image-editor','setup':async({pluginApi:_0x3743b0,uploaderApi:_0x21667b})=>(ZV({...kZ,...cZ}),_0x3743b0['registry']['registerIcon']({'name':'edit-file','svg':'<svg\x20viewBox=\x270\x200\x2024\x2024\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/></svg>'}),_0x3743b0['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x12882c=>!(!_0x12882c['isImage']||!_0x12882c['cdnUrl']),'onClick':_0x2a0a60=>{_0x21667b['setCurrentActivity']?.(KB['CLOUD_IMG_EDIT'],{'internalId':_0x2a0a60['internalId']}),_0x21667b['setModalState']?.(!0x0);}}),_0x3743b0['registry']['registerActivity']({'id':KB['CLOUD_IMG_EDIT'],'render':_0x47f326=>{let _0x1c084c=document['createElement']('uc-cloud-image-editor-activity');return _0x47f326['append'](_0x1c084c),()=>{_0x47f326['replaceChildren']();};}}),_0x21667b['on'](kj['FILE_UPLOAD_SUCCESS'],_0x1669b6=>{if(!_0x1669b6['isImage'])return;let _0x561384=_0x3743b0['config']['get']('cropPreset'),_0x55a44b=_0x3743b0['config']['get']('useCloudImageEditor'),_0x2e56e9=_0x3743b0['config']['get']('cloudImageEditorAutoOpen'),_0x649838=_0x21667b['v']['size'];_0x55a44b&&0x1===_0x649838&&(_0x561384||_0x2e56e9)&&(_0x21667b['setCurrentActivity']?.(KB['CLOUD_IMG_EDIT'],{'internalId':_0x1669b6['internalId']}),_0x21667b['setModalState']?.(!0x0));}))},PZ={'id':'external-sources','setup':async({pluginApi:_0x5b9c60,uploaderApi:_0x32cb96})=>{ZV({'ExternalSource':vZ}),_0x5b9c60['registry']['registerActivity']({'id':KB['EXTERNAL'],'render':t=>{let _0x42ee9f=document['createElement']('uc-external-source');return t['append'](_0x42ee9f),()=>{t['replaceChildren']();};}});for(let t of Object['values'](TF))_0x5b9c60['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x32cb96['setCurrentActivity'](KB['EXTERNAL'],{'externalSourceType':t}),_0x32cb96['setModalState'](!0x0);}});}},MZ=()=>{let _0x527068=[];return{'stack':_0x527068,'promiseReadJpegChunks':t=>new Promise((_0x3c821e,_0x26c6d5)=>{let _0x5bca5b=0x2,_0x50da57=(_0x50531b,_0x31b021)=>{let _0x36da6d=new FileReader();_0x36da6d['addEventListener']('load',()=>{_0x31b021(new DataView(_0x36da6d['result']));}),_0x36da6d['addEventListener']('error',_0x23a82f=>{_0x26c6d5('Reader\x20error:\x20'+_0x23a82f);}),_0x36da6d['readAsArrayBuffer'](_0x50531b);},_0x236e2e=()=>_0x50da57(t['slice'](_0x5bca5b,_0x5bca5b+0x80),_0x54d2f1=>{let _0x3a5612,_0x21130d,_0x1e53ac;for(_0x3a5612=_0x21130d=0x0,_0x1e53ac=_0x54d2f1['byteLength'];_0x1e53ac>=0x0?_0x21130d<_0x1e53ac:_0x21130d>_0x1e53ac;_0x3a5612=_0x1e53ac>=0x0?++_0x21130d:--_0x21130d)if(0xff===_0x54d2f1['getUint8'](_0x3a5612)){_0x5bca5b+=_0x3a5612;break;}_0x591234();}),_0x591234=()=>{let _0x639190=_0x5bca5b;return _0x50da57(t['slice'](_0x5bca5b,_0x5bca5b+=0x4),_0x566b7f=>{if(0x4!==_0x566b7f['byteLength']||0xff!==_0x566b7f['getUint8'](0x0))return void _0x26c6d5('Corrupted');let _0x58a519=_0x566b7f['getUint8'](0x1);if(0xda===_0x58a519)return void _0x3c821e(!0x0);let _0x33cfa0=_0x566b7f['getUint16'](0x2)-0x2;return _0x50da57(t['slice'](_0x5bca5b,_0x5bca5b+=_0x33cfa0),_0x3c49ff=>{_0x3c49ff['byteLength']===_0x33cfa0?(_0x527068['push']({'startPos':_0x639190,'length':_0x33cfa0,'marker':_0x58a519,'view':_0x3c49ff}),_0x236e2e()):_0x26c6d5('Corrupted');});});};FileReader&&DataView||_0x26c6d5('Not\x20Support'),_0x50da57(t['slice'](0x0,0x2),_0x2b3ae3=>{0xffd8!==_0x2b3ae3['getUint16'](0x0)&&_0x26c6d5('Not\x20jpeg'),_0x236e2e();});})};},NZ=async _0x316a31=>{let _0x52f991=[],{promiseReadJpegChunks:t,stack:_0x2bcb16}=MZ();return await t(_0x316a31),_0x2bcb16['forEach'](({marker:_0x35ad33,view:_0x36a02a})=>{0xe2===_0x35ad33&&0x4943435f===_0x36a02a['getUint32'](0x0)&&0x50524f46===_0x36a02a['getUint32'](0x4)&&0x494c4500===_0x36a02a['getUint32'](0x8)&&_0x52f991['push'](_0x36a02a);}),_0x52f991;},LZ=async(_0x578acc,_0xd334f7,t)=>{{let _0x530cc0=[],_0xe617f1=[],{promiseReadJpegChunks:_0x28d6ea,stack:_0x95ad69}=MZ();await _0x28d6ea(_0x578acc),_0x95ad69['forEach'](_0x30b93b=>{if(_0x30b93b['marker']===_0xd334f7)return _0x530cc0['push'](_0x30b93b['startPos']),_0xe617f1['push'](_0x30b93b['length']);});let _0x261344=[_0x578acc['slice'](0x0,0x2)];for(let _0x923e21 of t){let _0x3ef856=new DataView(new ArrayBuffer(0x4));_0x3ef856['setUint16'](0x0,0xff00+_0xd334f7),_0x3ef856['setUint16'](0x2,_0x923e21['byteLength']+0x2),_0x261344['push'](_0x3ef856['buffer']),_0x261344['push'](_0x923e21);}let _0x36faa7=0x2;for(let _0x38c516=0x0;_0x38c516<_0x530cc0['length'];_0x38c516++)_0x530cc0[_0x38c516]>_0x36faa7&&_0x261344['push'](_0x578acc['slice'](_0x36faa7,_0x530cc0[_0x38c516])),_0x36faa7=_0x530cc0[_0x38c516]+_0xe617f1[_0x38c516]+0x4;return _0x261344['push'](_0x578acc['slice'](_0x36faa7,_0x578acc['size'])),new Blob(_0x261344,{'type':_0x578acc['type']});}},$Z=(_0x2e71e6,_0x1315c1)=>LZ(_0x2e71e6,0xe2,_0x1315c1['map'](t=>t['buffer'])),DZ=()=>{let _0x5a9cc8=document['createElement']('canvas'),_0x5ac4d4=_0x5a9cc8['getContext']('2d');return{'canvas':_0x5a9cc8,'ctx':_0x5ac4d4};},QZ=async _0xf90d2e=>{let _0x4fa2dc=null,{promiseReadJpegChunks:t,stack:_0x4b51ce}=MZ();return await t(_0xf90d2e),_0x4b51ce['forEach'](({marker:_0x4bd958,view:_0x4bbb78})=>{!_0x4fa2dc&&0xe1===_0x4bd958&&_0x4bbb78['byteLength']>=0xe&&0x45786966===_0x4bbb78['getUint32'](0x0)&&0x0===_0x4bbb78['getUint16'](0x4)&&(_0x4fa2dc=_0x4bbb78);}),_0x4fa2dc;},VZ=_0x19f00d=>((_0x2602df,_0x212d6e)=>new Promise((t,_0x49c0a7)=>{_0x212d6e&&(_0x2602df['src']=_0x212d6e),_0x2602df['complete']?t(_0x2602df):(_0x2602df['addEventListener']('load',()=>{t(_0x2602df);}),_0x2602df['addEventListener']('error',()=>{_0x49c0a7(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x19f00d),UZ=[0x1,0x3],BZ=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],jZ={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},FZ=(_0x25734f,_0x42e1c4)=>{let t={};return(..._0x4a4872)=>{let _0x3bbf52=_0x42e1c4(_0x4a4872,t);return _0x3bbf52 in t?t[_0x3bbf52]:t[_0x3bbf52]=_0x25734f(..._0x4a4872);};},HZ=(_0x1088d2,_0x92993b)=>{let [t]=_0x1088d2,_0x58e78c=Object['keys'](_0x92993b)['map'](_0x30ed38=>parseInt(_0x30ed38,0xa))['sort']((_0xfefdd6,_0x3c81e3)=>_0xfefdd6-_0x3c81e3);for(let _0x1c634f=0x0;_0x1c634f<_0x58e78c['length'];_0x1c634f++){let _0x25ff72=_0x58e78c[_0x1c634f],_0x46c4ab=!!_0x92993b[_0x25ff72];if(_0x25ff72>t&&_0x46c4ab||_0x25ff72<t&&!_0x46c4ab)return _0x25ff72;}return t;},GZ=0x37,ZZ=0x6e,XZ=0xa5,qZ=0xff,WZ='rgba('+GZ+',\x20'+ZZ+',\x20'+XZ+',\x20'+qZ/0xff+')',zZ=(_0x2cc078,_0x521015)=>{try{let t=[_0x2cc078-0x1,_0x521015-0x1,0x1,0x1],{canvas:_0x2000c7,ctx:_0x147182}=DZ();_0x2000c7['width']=0x1,_0x2000c7['height']=0x1;let {canvas:_0x3c9644,ctx:_0x46ce95}=DZ();_0x3c9644['width']=_0x2cc078,_0x3c9644['height']=_0x521015,_0x46ce95&&(_0x46ce95['fillStyle']=WZ,_0x46ce95['fillRect'](...t),_0x147182['drawImage'](_0x3c9644,_0x2cc078-0x1,_0x521015-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x32d2d3=_0x147182&&_0x147182['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x53c9a6=!0x1;return _0x32d2d3&&(_0x53c9a6=_0x32d2d3[0x0]===GZ&&_0x32d2d3[0x1]===ZZ&&_0x32d2d3[0x2]===XZ&&_0x32d2d3[0x3]===qZ),_0x3c9644['width']=_0x3c9644['height']=0x1,_0x53c9a6;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x2cc078+'x'+_0x521015+'.'),!0x1;}};function YZ(_0x54aac8){return(..._0x466e59)=>new Promise(t=>{setTimeout(()=>{let _0x134e6c=_0x54aac8(..._0x466e59);t(_0x134e6c);},0x0);});}var KZ=YZ(FZ(zZ,HZ)),JZ=YZ(FZ(zZ,HZ)),tX=async(_0x60ef57,_0x5adea8)=>{let t=jZ['squareSide']['find'](_0x4375a1=>_0x4375a1*_0x4375a1>=_0x60ef57*_0x5adea8),_0xb1d78=jZ['dimension']['find'](_0x4fff96=>_0x4fff96>=_0x60ef57&&_0x4fff96>=_0x5adea8);if(!t||!_0xb1d78)throw new Error('Not\x20supported');let [_0x1ff303,_0x256b1f]=await Promise['all']([KZ(t,t),JZ(_0xb1d78,0x1)]);if(_0x1ff303&&_0x256b1f)return!0x0;throw new Error('Not\x20supported');},eX=async(_0x536b1e,_0x99be7b,t)=>{try{let {ctx:_0x3c0d1f,canvas:_0x4599b4}=DZ();return _0x4599b4['width']=_0x99be7b,_0x4599b4['height']=t,_0x3c0d1f['imageSmoothingQuality']='high',_0x3c0d1f['drawImage'](_0x536b1e,0x0,0x0,_0x99be7b,t),_0x536b1e instanceof HTMLImageElement&&(_0x536b1e['src']='//:0'),_0x536b1e instanceof HTMLCanvasElement&&(_0x536b1e['width']=_0x536b1e['height']=0x1),_0x4599b4;}catch(_0x4389da){throw new Error('Canvas\x20resize\x20error',{'cause':_0x4389da});}},iX=({img:_0x57ec2b,sourceW:_0x314c4c,targetW:t,targetH:_0x522367,step:_0x674554})=>{let _0x2aac62=function({sourceW:_0x4fa7f8,targetW:_0x3f1871,targetH:t,step:_0x71f246}){let _0x329a56=[],_0x3b39e4=_0x3f1871,_0xc829dc=t;do{_0x329a56['push']([_0x3b39e4,_0xc829dc]),_0x3b39e4=Math['round'](_0x3b39e4/_0x71f246),_0xc829dc=Math['round'](_0xc829dc/_0x71f246);}while(_0x3b39e4<_0x4fa7f8*_0x71f246);return _0x329a56['reverse']();}({'sourceW':_0x314c4c,'targetW':t,'targetH':_0x522367,'step':_0x674554});return _0x2aac62['reduce']((_0x54537e,[_0x9286cd,_0x362786],_0x52d99a)=>_0x54537e['then'](_0x4e73e8=>tX(_0x9286cd,_0x362786)['then'](()=>eX(_0x4e73e8,_0x9286cd,_0x362786))['catch'](()=>{if(_0x52d99a===_0x2aac62['length']-0x1)throw new Error('Not\x20supported');return _0x4e73e8;})),Promise['resolve'](_0x57ec2b));},sX=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),nX=0.71,rX=(_0x474b1b,_0x241d63)=>{if(_0x474b1b['width']*nX*_0x474b1b['height']*nX<_0x241d63['size'])throw new Error('Not\x20required');let t=_0x474b1b['width'],_0xa355ed=_0x474b1b['height'],_0x145695=t/_0xa355ed,_0x2f1666=Math['floor'](Math['sqrt'](_0x241d63['size']*_0x145695)),_0x35deb5=Math['floor'](_0x241d63['size']/Math['sqrt'](_0x241d63['size']*_0x145695));return tX(_0x2f1666,_0x35deb5)['then'](()=>{let {ctx:_0x564158}=DZ();return!('imageSmoothingQuality'in _0x564158)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||sX?iX({'img':_0x474b1b,'sourceW':t,'targetW':_0x2f1666,'targetH':_0x35deb5,'step':nX}):(({img:_0x34b3c7,targetW:_0x4127a2,targetH:t})=>eX(_0x34b3c7,_0x4127a2,t))({'img':_0x474b1b,'targetW':_0x2f1666,'targetH':_0x35deb5});})['catch'](()=>Promise['reject']('Not\x20supported'));},oX=async(_0x548cd2,_0x2be04b)=>{try{if(await(async _0x170dfd=>{let _0xc4d95c=!0x1,{promiseReadJpegChunks:t,stack:_0xdc8325}=MZ();return await t(_0x170dfd)['then'](()=>(_0xdc8325['forEach'](({marker:_0x5ebeeb,view:_0x1ba221})=>{if(!_0xc4d95c&&BZ['indexOf'](_0x5ebeeb)>=0x0){let _0x41a996=_0x1ba221['getUint8'](0x5);UZ['indexOf'](_0x41a996)<0x0&&(_0xc4d95c=!0x0);}}),_0xc4d95c))['catch'](()=>_0xc4d95c);})(_0x548cd2))throw new Error('Should\x20skipped');let _0x14513c=await Promise['allSettled']([QZ(_0x548cd2),new Promise(_0x1b19ed=>{if(void 0x0!==xZ)_0x1b19ed(xZ);else{let _0x385af3=new Image();_0x385af3['addEventListener']('load',()=>{xZ=_0x385af3['naturalWidth']<_0x385af3['naturalHeight'],_0x385af3['src']='//:0',_0x1b19ed(xZ);}),_0x385af3['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),NZ(_0x548cd2)]),_0x261d55=!_0x14513c['some'](_0x4f906d=>'rejected'===_0x4f906d['status']),[_0x4b55ba,_0x6743b,_0x38302c]=_0x14513c,_0xe21b3d=await(async _0x3eb049=>{try{return await $Z(_0x3eb049,[]);}catch(_0x308a8e){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x308a8e);}})(_0x548cd2)['catch'](()=>_0x548cd2),_0xa7c0e6=await VZ(URL['createObjectURL'](_0xe21b3d));URL['revokeObjectURL'](_0xa7c0e6['src']);let _0x3dde4c=await rX(_0xa7c0e6,_0x2be04b),_0xf40d12='image/jpeg',_0x110cfa=_0x2be04b?.['quality']||0.8;!_0x261d55&&(_0x3b8af8=>{let {ctx:t,canvas:_0x1315b5}=DZ();_0x1315b5['width']=_0x1315b5['height']=0x32,t['drawImage'](_0x3b8af8,0x0,0x0,0x32,0x32);let _0x194253=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x1315b5['width']=_0x1315b5['height']=0x1;for(let _0x15f10f=0x3;_0x15f10f<_0x194253['length'];_0x15f10f+=0x4)if(_0x194253[_0x15f10f]<0xfe)return!0x0;return!0x1;})(_0x3dde4c)&&(_0xf40d12='image/png',_0x110cfa=void 0x0);let _0x94252f=await((_0x3566d8,_0x5c7d57,t)=>new Promise((_0x36c243,_0x43942b)=>{_0x3566d8['toBlob'](_0x1b3008=>{_0x1b3008?_0x36c243(_0x1b3008):_0x43942b('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x5c7d57,t),_0x3566d8['width']=_0x3566d8['height']=0x1;}))(_0x3dde4c,_0xf40d12,_0x110cfa);if(_0x261d55&&'fulfilled'===_0x4b55ba['status']&&_0x4b55ba['value']){let _0x50ad9f=_0x4b55ba['value'],_0x5f42f1='fulfilled'===_0x6743b['status']&&_0x6743b['value'];_0x94252f=await(async(_0x4b8682,_0x5103ad,t)=>(t&&((_0x356a40,_0x645207)=>{((_0x3bf577,_0x2d17d7)=>{let t,_0xf6994e,_0x15e9f8,_0x31d030;if(_0x3bf577&&!(_0x3bf577['byteLength']<0xe)&&0x45786966===_0x3bf577['getUint32'](0x0)&&0x0===_0x3bf577['getUint16'](0x4)){if(0x4949===_0x3bf577['getUint16'](0x6))_0xf6994e=!0x0;else{if(0x4d4d!==_0x3bf577['getUint16'](0x6))return;_0xf6994e=!0x1;}if(0x2a===_0x3bf577['getUint16'](0x8,_0xf6994e))for(_0x15e9f8=0x8+_0x3bf577['getUint32'](0xa,_0xf6994e),t=0x0,_0x31d030=_0x3bf577['getUint16'](_0x15e9f8-0x2,_0xf6994e);_0x31d030>=0x0?t<_0x31d030:t>_0x31d030;_0x31d030>=0x0?++t:--t){if(_0x3bf577['byteLength']<_0x15e9f8+0xa)return;0x112===_0x3bf577['getUint16'](_0x15e9f8,_0xf6994e)&&_0x2d17d7(_0x15e9f8+0x8,_0xf6994e),_0x15e9f8+=0xc;}}})(_0x356a40,(t,_0xe9dd86)=>_0x356a40['setUint16'](t,_0x645207,_0xe9dd86));})(_0x5103ad,0x1),LZ(_0x4b8682,0xe1,[_0x5103ad['buffer']])))(_0x94252f,_0x50ad9f,_0x5f42f1);}return _0x261d55&&'fulfilled'===_0x38302c['status']&&_0x38302c['value']['length']>0x0&&(_0x94252f=await $Z(_0x94252f,_0x38302c['value'])),_0x94252f;}catch(_0x568064){let _0x23d51a;throw _0x568064 instanceof Error&&(_0x23d51a=_0x568064['message']),'string'==typeof _0x568064&&(_0x23d51a=_0x568064),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x23d51a?'Message:\x20\x22'+_0x23d51a+'\x22.':''),{'cause':_0x568064});}},aX=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,cX={'id':'image-shrink','setup'({pluginApi:_0x548082}){_0x548082['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x52cb05})=>{let t=_0x548082['config']['get']('imageShrink');if(!t)return{'file':_0x52cb05};let _0x469bd0=(_0x2e43a2=>{if('string'!=typeof _0x2e43a2)return!0x1;let _0x58dbc3=aX['exec'](_0x2e43a2['toLocaleLowerCase']())??[];if(0x0===_0x58dbc3['length'])return!0x1;let t=Number(_0x58dbc3[0x1])*Number(_0x58dbc3[0x2]),_0x4aac32=0x10000000;return t>_0x4aac32?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x58dbc3[0x1]+'x'+_0x58dbc3[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x58dbc3[0x3]?Number(_0x58dbc3[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x469bd0)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x52cb05};try{return{'file':await oX(_0x52cb05,_0x469bd0)};}catch{return{'file':_0x52cb05};}}});}},lX={'id':'instagram','setup'({pluginApi:_0x2be213}){_0x2be213['registry']['registerSource']({'id':'instagram','label':'src-type-instagram','icon':'instagram','expand':()=>(console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:\x20https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US'),[]),'onSelect':()=>{}});}},hX={'id':SF['LOCAL'],'setup':({pluginApi:_0xa1e06d,uploaderApi:_0xc62813})=>{_0xa1e06d['registry']['registerSource']({'id':SF['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0xc62813['openSystemDialog']();}});}},uX={'id':'url-source','setup':async({pluginApi:_0x55494e,uploaderApi:_0x3af4d0})=>{ZV({'UrlSource':uZ}),_0x55494e['registry']['registerActivity']({'id':KB['URL'],'render':t=>{let _0xc6dddb=document['createElement']('uc-url-source');return t['append'](_0xc6dddb),()=>{t['replaceChildren']();};}}),_0x55494e['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x3af4d0['setCurrentActivity'](KB['URL']),_0x3af4d0['setModalState'](!0x0);}});}},dX=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0x303f3c=>!!_0x303f3c('useCloudImageEditor'),'load':()=>RZ},{'configDeps':['imageShrink'],'isEnabled':_0x5445b8=>!!_0x5445b8('imageShrink'),'load':()=>cX},{'configDeps':['sourceList'],'isEnabled':_0x2c76ee=>tU(_0x2c76ee('sourceList'))['includes'](SF['LOCAL']),'load':()=>hX},{'configDeps':['sourceList'],'isEnabled':_0x436a46=>tU(_0x436a46('sourceList'))['includes'](SF['CAMERA']),'load':()=>CZ},{'configDeps':['sourceList'],'isEnabled':_0x321675=>tU(_0x321675('sourceList'))['includes']('instagram'),'load':()=>lX},{'configDeps':['sourceList'],'isEnabled':_0x26db29=>Object['values'](TF)['some'](_0x2cc3ab=>tU(_0x26db29('sourceList'))['includes'](_0x2cc3ab)),'load':()=>PZ},{'configDeps':['sourceList'],'isEnabled':_0x3a0e62=>tU(_0x3a0e62('sourceList'))['includes'](SF['URL']),'load':()=>uX}],fX=class extends Yj{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=dX;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':Cj['INIT_SOLUTION']});}['render'](){return aV` ${super['render']()}<uc-simple-btn ?hidden=${this['headless']}></uc-simple-btn><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']}>${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from></uc-modal><uc-modal id="upload-list" strokes block-body-scrolling><uc-upload-list></uc-upload-list></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};dQ([QV({'type':Boolean})],fX['prototype'],'headless',0x2);var mX=class extends Yj{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=dX;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==JF['activities']['START_FROM'];}get['xc'](){let t=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](t)&&t['length']>0x0;}['Hs'](){return this['getCssData']('--cfg-init-activity')||JF['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':Cj['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x555dfe=>{_0x555dfe||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x3a12d8=>{Array['isArray'](_0x3a12d8)&&_0x3a12d8['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return aV` ${super['render']()}<uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']} ?hidden=${!this['Tc']} >${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from><uc-upload-list></uc-upload-list><uc-plugin-activity-renderer mode="inline"></uc-plugin-activity-renderer>`;}};dQ([VV()],mX['prototype'],'Tc',0x2);var gX='active',pX=class extends Yj{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===JF['activities']['CLOUD_IMG_EDIT']&&(this['_r']=gX),this['$']['*currentActivity']===JF['activities']['UPLOAD_LIST']&&(this['_r']=gX,this['Vr']=!0x0);let _0x3ac667=this['$']['*uploadList'];(!_0x3ac667||_0x3ac667['length']<=0x0)&&(this['js']=gX);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===JF['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=dX;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||JF['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':Cj['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x43bf86=>{_0x43bf86===JF['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x43bf86||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x3474c5=>{Array['isArray'](_0x3474c5)&&_0x3474c5['length']>0x0?(this['$']['*currentActivity']=JF['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x59281e=>{!0x1!==_0x59281e&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x36b48f=>{this['setAttribute']('mode',_0x36b48f),this['subConfigValue']('multiple',_0x12ed33=>{'grid'===_0x36b48f?(_0x12ed33?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x12ed33):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0xc29613=>{this['ui']=_0xc29613?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](QU['OPEN'],this['si']),this['modalManager']?.['subscribe'](QU['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](QU['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](QU['CLOSE'],this['ni']);}['render'](){return aV` ${super['render']()}<uc-start-from ?hidden=${this['Vr']} class=${this['js']}><uc-drop-area ?single=${this['Ks']} initflow clickable tabindex="0" ><span>${this['l10n'](this['ui'])}</span></uc-drop-area><uc-copyright></uc-copyright></uc-start-from><uc-upload-list class=${this['_r']}></uc-upload-list><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']} >${this['l10n']('start-from-cancel')}</button></uc-start-from></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};dQ([VV()],pX['prototype'],'Ks',0x2),dQ([VV()],pX['prototype'],'Vr',0x2),dQ([VV()],pX['prototype'],'_r',0x2),dQ([VV()],pX['prototype'],'js',0x2),dQ([VV()],pX['prototype'],'ui',0x2);var OX=Object['freeze']({'__proto__':null,'ActivityBlock':JF,'ActivityHeader':class extends JF{},'BaseComponent':FV,'Block':Fj,'BtnUi':DG,'CameraSource':IZ,'CloudImageEditor':lZ,'CloudImageEditorActivity':hZ,'CloudImageEditorBlock':aZ,'Config':EG,'Copyright':class extends Fj{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x2d8f5e=>{this['toggleAttribute']('hidden',!!_0x2d8f5e);});}['render'](){return aV`<a href="https://uploadcare.com/?utm_source=copyright&amp;utm_medium=referral&amp;utm_campaign=v4" target="_blank noopener" class="uc-credits" >Powered by Uploadcare</a >`;}},'CropFrame':VG,'Data':wQ,'DropArea':iG,'EditorAspectRatioButtonControl':JG,'EditorCropButtonControl':tZ,'EditorFilterControl':eZ,'EditorFreeformButtonControl':KG,'EditorImageCropper':UG,'EditorImageFader':FG,'EditorOperationControl':iZ,'EditorScroller':nZ,'EditorSlider':WG,'EditorToolbar':rZ,'ExternalSource':vZ,'ExternalUploadSource':TF,'FileItem':qH,'FileUploaderInline':mX,'FileUploaderMinimal':pX,'FileUploaderRegular':fX,'FormInput':kH,'Icon':eH,'Img':class extends cH{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x5098b4=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x5098b4?'lazy':'eager');});}},'LineLoaderUi':NG,'Modal':CH,'ModalEvents':QU,'PACKAGE_NAME':Rj,'PACKAGE_VERSION':Pj,'PluginActivityHost':AG,'PluginActivityRenderer':SG,'PresenceToggle':MG,'ProgressBar':xH,'ProgressBarCommon':RH,'Select':PH,'SimpleBtn':TG,'SliderUi':XG,'SolutionBlock':Yj,'SourceBtn':MH,'SourceList':NH,'Spinner':class extends Fj{['render'](){return aV`<div class="uc-spinner"></div>`;}},'StartFrom':class extends JF{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=JF['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return aV`<div class="uc-content">${this['yield']('')}</div>`;}},'Thumb':BH,'UID':HV,'UploadCtxProvider':jH,'UploadList':sG,'UploadSource':SF,'UploaderBlock':tH,'UrlSource':uZ,'defineComponents':ZV,'defineLocale':KV,'loadFileUploaderFrom':function(_0x5d11ff,_0x5e24a2=!0x1){return new Promise((t,_0x436150)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[XV])return void t(window[XV]);let _0x5f47fc=document['createElement']('script');_0x5f47fc['async']=!0x0,_0x5f47fc['src']=_0x5d11ff,_0x5f47fc['onerror']=()=>{_0x436150();},_0x5f47fc['onload']=()=>{let _0x496b4b=window[XV];_0x5e24a2&&ZV(_0x496b4b),t(_0x496b4b);},document['head']['appendChild'](_0x5f47fc);});},'toKebabCase':UU});class Uploadcare extends _0x7cf71c{static get['requires'](){return[UploadcareEditing,UploadcareUI];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3bbaf2){super(_0x3bbaf2),_0x3bbaf2['config']['define']('uploadcare.uploader.sourceList',['local','url']),ZV(OX),this['_defineLocale']();}['_defineLocale'](){const _0x3501f3=this['editor']['config']['get']('uploadcare.locale'),_0x2b59c3=this['editor']['locale']['contentLanguage'];_0x3501f3&&KV(_0x2b59c3,_0x3501f3);}}class UploadcareImageEditFormLoadingView extends _0x278baa{constructor(_0x48b95d){super(_0x48b95d);const t=_0x48b95d['t'],_0x34ee60=this['bindTemplate'],_0x130666=new _0x5a3bb9();_0x130666['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':[_0x130666,{'text':_0x34ee60['to']('imageUploadProgress',_0x110f31=>t('Loading\x20image...')+'\x20('+(_0x110f31||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 _0x278baa{constructor(_0x481070){super(_0x481070);const t=_0x481070['t'];this['set']('errorType',null);const _0x46faab=new _0x1a631f(_0x481070);_0x46faab['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x46faab['withText']=!0x0,_0x46faab['class']='ck-button-action',_0x46faab['on']('execute',()=>{this['fire']('retry');}),_0x46faab['bind']('isVisible')['to'](this,'errorType',_0xbec3ed=>'NotFound'!==_0xbec3ed);const _0x8c1790=new _0x24ab51();_0x8c1790['content']=_0x3d3ce7,_0x8c1790['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3362af=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':[_0x8c1790,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3362af['to']('errorType',_0x2fc733=>t('NotFound'!==_0x2fc733?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x46faab]},{'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 _0x278baa{constructor(_0x1d8301,_0x67c1a3){super(_0x1d8301);const _0x32ee3c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x67c1a3,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x32ee3c['to']('imageSrc')}});}}class UploadcareImageEditFormView extends DialogFocusManagerView{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4ebf08,_0x57acba,_0x2084eb){super(_0x4ebf08),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x4ebf08),this['_errorView']=new UploadcareImageEditFormErrorView(_0x4ebf08),this['_editingView']=new UploadcareImageEditFormEditingView(_0x4ebf08,_0x2084eb),this['_focusableView']=new _0x278baa(_0x4ebf08),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x57acba),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'],_0x544f73=>{this['_addUploadcareImageEditorListeners'](_0x544f73);});}),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'](_0x51273d,_0x2e1b0f){const _0x2e2432='uc-cloud-image-editor',_0x774551=_0x51273d['querySelector'](_0x2e2432);if(_0x774551)return _0x2e1b0f(_0x774551);const _0x716c69=new MutationObserver(_0x28c0f1=>{const _0xd390ba=_0x28c0f1['filter'](_0x7c07d8=>_0x7c07d8['target']===_0x51273d&&_0x7c07d8['addedNodes']['length']>0x0&&_0x7c07d8['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2e2432);_0xd390ba['length']&&(_0x716c69['disconnect'](),_0x2e1b0f(_0xd390ba[0x0]['addedNodes'][0x0]));});_0x716c69['observe'](_0x51273d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5c5647){_0x5c5647['addEventListener']('apply',_0x4a068a=>{this['fire']('apply',{'imageSrc':_0x4a068a['detail']['cdnUrl']});}),_0x5c5647['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x18fa86(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4e5d1c,_0x4710ef,_0x39abf0){super(),this['_editor']=_0x4e5d1c,this['_dialog']=_0x4710ef,this['_imageElement']=_0x39abf0,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 _0x3b3878=this['_imageElement'],_0x33c350=_0x3b3878['getAttribute']('uploadcareImageId'),_0x303c85=_0x3b3878['getAttribute']('src');if(_0x33c350)await this['_loadImageInfo'](_0x33c350,_0x303c85);else{if(this['_imageCache']['has'](_0x303c85)){const _0x388750=this['_imageCache']['get'](_0x303c85);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x388750['url'],this['imageDimension']=_0x388750['dimension'],this['imageId']=_0x388750['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3e338a}=this['_editor'],t=_0x3e338a['t'],_0x5998c4=new UploadcareImageEditFormView(_0x3e338a,this['imageStatus'],this['_attributes']);_0x5998c4['bind']('status')['to'](this,'imageStatus'),_0x5998c4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5998c4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5998c4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5998c4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2cdc09,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5998c4,'position':ct['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5998c4['focus']();},'onHide':()=>{_0x5998c4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x16114b=>!dD(_0x16114b,_0x5998c4['element'])}});}['_loadImageInfo'](_0x9e30b,_0x22f505){return UploadUtils['getInfo'](_0x9e30b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x24761e=>{const {width:_0xe5065d,height:_0x481387}=_0x24761e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x22f505,this['imageDimension']={'width':_0xe5065d,'height':_0x481387},this['imageId']=_0x9e30b;})['catch'](_0x51dd31=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51dd31['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5150d7,_0x12539d){return this['_getImageAsFile'](_0x5150d7)['then'](_0x583e51=>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':_0x12539d['signal'],'file':_0x583e51,'onProgress':_0xbdd0ea=>{_0xbdd0ea&&_0xbdd0ea['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xbdd0ea['value']));}}))['then'](_0xc896be=>{const {width:_0x148fde,height:_0x2a9c73}=_0xc896be['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc896be['cdnUrl'],this['imageDimension']={'width':_0x148fde,'height':_0x2a9c73},this['imageId']=_0xc896be['uuid'],this['imageUploadProgress']=null;const _0x3b71c4=_0x5150d7['getAttribute']('src');this['_imageCache']['set'](_0x3b71c4,{'id':_0xc896be['uuid'],'url':_0xc896be['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x36ee7c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x36ee7c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x246663,_0x53b305){_0x246663['on']('apply',(_0xe46227,_0x2fbede)=>{this['_replaceImage'](_0x53b305,_0x2fbede['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x246663['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x246663['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2d4917,_0x5b2713,_0x248e08){const _0x596a90=this['_editor'],{width:_0x28dd84,height:_0x3fa460}=lD(_0x5b2713,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x15a965,imageSources:_0x984d5a}=cD(_0x5b2713,_0x28dd84);_0x596a90['model']['change'](_0x3be05a=>{if('$graveyard'===_0x2d4917['root']['rootName']){_0x596a90['execute']('insertImage',{'imageType':_0x2d4917['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2d4917['getAttributes']()),'uploadcareImageId':_0x248e08,'src':_0x15a965,'sources':_0x984d5a,'width':_0x28dd84,'height':_0x3fa460}});const _0x2d2fd6=_0x2d4917['getChildren']();_0x2d4917=_0x596a90['model']['document']['selection']['getSelectedElement']();for(const _0x7e3c81 of _0x2d2fd6)_0x3be05a['append'](_0x3be05a['cloneElement'](_0x7e3c81),_0x2d4917);}else _0x3be05a['setSelection'](_0x2d4917,'on'),_0x596a90['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2d4917['getAttributes']()),'uploadcareImageId':_0x248e08,'src':_0x15a965,'sources':_0x984d5a,'width':_0x28dd84,'height':_0x3fa460},_0x2d4917);_0x3be05a['setSelection'](_0x2d4917,'on');});}async['_getImageAsFile'](_0x2b5db4){const _0x5bf008=_0x37cedc['window'],_0x20180e=_0x37cedc['document']['location']['href'],_0x4480ff=new _0x5bf008['URL'](_0x2b5db4['getAttribute']('src'),_0x20180e);if('data:'===_0x4480ff['protocol']){const _0x535f86=_0x4480ff['href']['split'](','),_0x231195=_0x535f86[0x0]['match'](/:(.*?);/)[0x1],_0x46de05=_0x231195['split']('/')[0x1],_0x9ed1be=_0x5bf008['atob'](_0x535f86[_0x535f86['length']-0x1]);let _0xeafd00=_0x9ed1be['length'];const _0x2a5d92=new _0x5bf008['Uint8Array'](_0xeafd00);for(;_0xeafd00--;)_0x2a5d92[_0xeafd00]=_0x9ed1be['charCodeAt'](_0xeafd00);return new _0x5bf008['File']([_0x2a5d92],'image.'+_0x46de05,{'type':_0x231195});}const _0x435977=_0x4480ff['href']['split']('/'),_0x5614a2=_0x435977[_0x435977['length']-0x1],_0x59d124=_0x5614a2['split']('.')[0x1];return _0x5bf008['fetch'](_0x4480ff['href'])['then'](_0x9cd1b2=>_0x9cd1b2['clone']()['blob']())['then'](_0x438614=>new _0x5bf008['File']([_0x438614],_0x5614a2,{'type':'image/'+_0x59d124}));}}class UploadcareImageEditCommand extends _0x4d9dc4{['imageEditController'];static get['requires'](){return[st];}['_isEditable'];constructor(_0xa7fb3a){super(_0xa7fb3a),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x51f203){const _0xec1b1d=uD(_0x51f203);return _0xc109a5=>!(!_0xc109a5||!_0xc109a5['is']('element','imageBlock')&&!_0xc109a5['is']('element','imageInline'))&&(!!_0xc109a5['hasAttribute']('uploadcareImageId')||!!_0xc109a5['hasAttribute']('src')&&_0xec1b1d(_0xc109a5['getAttribute']('src')));}(_0xa7fb3a['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2db086=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2db086);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x41ae69=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41ae69&&(_0x41ae69['is']('element','imageBlock')||_0x41ae69['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](st),_0x41ae69),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class UploadcareImageReplaceCommand extends _0x4d9dc4{['refresh'](){const _0x42f82e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x42f82e&&(_0x42f82e['is']('element','imageBlock')||_0x42f82e['is']('element','imageInline')));}['execute'](_0x37aca3){const _0x44a019=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x20dd4e=>{_0x20dd4e['setAttributes'](_0x37aca3,_0x44a019),_0x20dd4e['removeAttribute']('srcset',_0x44a019),_0x20dd4e['removeAttribute']('sizes',_0x44a019);});}}class UploadcareImageEditEditing extends _0x7cf71c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,Qt,_0x358c38,_0x29f90a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x567d07}=this;_0x567d07['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x567d07)),_0x567d07['commands']['add']('uploadcareImageReplace',new UploadcareImageReplaceCommand(_0x567d07));}}class UploadcareImageEditUI extends _0x7cf71c{['_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 _0x2fc7f1=this['editor'];_0x2fc7f1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x268a84=>{const _0x2007e0=_0x2fc7f1['commands']['get']('uploadcareImageEdit'),_0x1a8d1a=new _0x1a631f(_0x268a84),t=_0x268a84['t'];return _0x1a8d1a['set']({'icon':_0x2cdc09,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1a8d1a['bind']('isEnabled')['to'](_0x2007e0),_0x1a8d1a['bind']('isOn')['to'](_0x2007e0,'isActive'),this['listenTo'](_0x1a8d1a,'execute',()=>{_0x2fc7f1['execute']('uploadcareImageEdit'),_0x2fc7f1['editing']['view']['focus']();}),_0x1a8d1a;}),this['_initConfig']();}['_initConfig'](){const _0x20936d=_0xe26ae8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x20936d),this['listenTo'](this['editor'],'destroy',()=>{_0x20936d['remove']();});}}class UploadcareImageEdit extends _0x7cf71c{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,AIChatFeedCustomElementView,AIChatHistory,AIChatHistoryController,AIChatHistoryUI,AIChatInteraction,AIChatShortcuts,AIChatUI,AIConnector,AIEditing,AIEditorIntegration,AIInteraction,AIQuickActions,AIQuickActionsUI,AIReply,AIRequestError,AIReviewCheck,AIReviewCheckResult,AIReviewCheckResultChange,AIReviewCheckRun,AIReviewMode,AIReviewCoreController as AIReviewModeController,AIReviewCoreEditing as AIReviewModeEditing,AIReviewModeUI,AITabs,AITabsMainView,AITabsView,AITextAdapter,AIToggleButtonUI,AITranslate,AITranslateController,AITranslateUI,AWSTextAdapter,AcceptSuggestionCommand,AddCommentThreadCommand,cg as Annotation,AnnotationCollection,AnnotationCounterButtonView,AnnotationView,Annotations,AnnotationsSidebarItemView,AnnotationsSidebarView,AnnotationsUIs,AriaDescriptionView,BaseCommentThreadView,BaseCommentView,BaseSuggestionThreadView,CaseChange,CaseChangeCommand,CaseChangeEditing,CaseChangeUI,CloudServicesCommentsAdapter,CloudServicesRevisionHistoryAdapter,CloudServicesTrackChangesAdapter,CollaborationUserColor,mg as Comment,CommentThread,CommentThreadController,CommentThreadInputView,CommentThreadView,CommentView,Comments,CommentsArchive,CommentsArchiveUI,CommentsEditing,CommentsListView,CommentsOnly,CommentsRepository,CommentsUI,xd as ConfirmMixin,CopyFormatCommand,qd as DATA_ID_MODEL_ATTRIBUTE,Wd as DATA_ID_VIEW_ATTRIBUTE,DiscardSuggestionCommand,DocumentCompare,DocumentDiff,DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,EditSourceCommand,EditorAnnotations,EmailConfigurationHelper,EmailConfigurationLogger,EmptyBlockEmailIntegration,ExecuteOnAllSuggestionsCommand,ExecuteOnSelectedSuggestionsCommand,ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,ExportInlineStylesEmailIntegration,ExportPdf,ExportPdfCommand,ExportWord,ExportWordCommand,jd 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,Ic as User,UserView,Users,WebSocketGateway,WideSidebar,hg as bindAnnotationCollections,vo as createResizeButton,Dg as dropImportantStyleSuffix,Rc as fixElementSuggestionRange,Id as getAllMarkersDomElementsSorted,Ad as getDateTimeFormatter,uo as getDefaultAICommands,op as getEmailInlineStylesTransformations,Sd as getMarkerDomElement,Rd as hashObject,Mg as isUnsupportedEmailColorFormat,Pg as isUnsupportedEmailColorValue,Ud as sanitizeEditorConfig,Fd as setupThreadKeyboardNavigation,xc as splitSuggestionMarkerName,Bd as surroundingMarkersDetector,np as transformEmailAlignToAttribute,sp as transformEmailFigcaptionToDiv,Yg as transformEmailFigureToTable,tp as transformEmailFloatToAlign,ip as transformEmailImageWidthAttributes,ep as transformEmailMarginToAlign,Cd as trimHtml};